qt:staging.git
7 years agoMerge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into maste... air-team/4.8 earth-team/4.8
Qt Continuous Integration System [Mon, 2 May 2011 21:28:17 +0000 (07:28 +1000)]
Merge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration

* 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration:
  Fix trailing whitespaces
  Fix for native child widget performance issue.

7 years agoMerge branch 4.7 into qt-4.8-from-4.7
Qt Continuous Integration System [Mon, 2 May 2011 16:05:08 +0000 (02:05 +1000)]
Merge branch 4.7 into qt-4.8-from-4.7

7 years agoMerge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into maste...
Qt Continuous Integration System [Mon, 2 May 2011 13:29:26 +0000 (23:29 +1000)]
Merge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration

* 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration:
  Fix another case where QVariant::Invalid should be QVariant::UserType
  Fix missing glyphs for large fonts with QStaticText/GL/Freetype
  Fix crash in raster on X11 when text contains unsupported characters
  Made the autotest for drawing pixmaps with painter open more fail safe.
  Upload VGImage data when drawing pixmaps that are being painted into.
  Make translucent windows working properly with OpenVG.

7 years agoMerge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7
Olivier Goffart [Mon, 2 May 2011 12:20:42 +0000 (14:20 +0200)]
Merge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7

Conflicts:
src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp
src/s60installs/bwins/QtGuiu.def
src/s60installs/eabi/QtGuiu.def

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Mon, 2 May 2011 10:05:31 +0000 (20:05 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Fix trailing whitespaces
  Fix for native child widget performance issue.

7 years agoFix trailing whitespaces
Jani Hautakangas [Mon, 2 May 2011 09:47:34 +0000 (12:47 +0300)]
Fix trailing whitespaces

Reviewed-by: TRUSTME
7 years agoFix for native child widget performance issue.
Jani Hautakangas [Mon, 2 May 2011 09:22:24 +0000 (12:22 +0300)]
Fix for native child widget performance issue.

Flushing native child widgets in VG and GL window
surfaces caused performance downgrade because unnecessary
swapBuffers calls. On Symbian we must not support flushing
native child widgets in VG and GL window surfaces because
it causes GPU memory overhead and performance issues. Symbian
graphics architecture allows us to render native child widgets
to TLW EGL surface correctly in most of the cases.

Task-number: QTMOBILITY-1570
Reviewed-by: Samuel Rødal
7 years agoMerge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into maste...
Qt Continuous Integration System [Fri, 29 Apr 2011 12:08:09 +0000 (22:08 +1000)]
Merge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration

* 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration:
  Legal: add the license header to the hand-edits
  Clear the root index when the model is reset.
  Fixed QTBUG-11935 : "With MySQL version > 50000 the QMYSQLDriver::
  Fixed QTBUG-11935

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
Qt Continuous Integration System [Fri, 29 Apr 2011 11:56:49 +0000 (21:56 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
  Fix another case where QVariant::Invalid should be QVariant::UserType

7 years agoFix another case where QVariant::Invalid should be QVariant::UserType
Andy Shaw [Fri, 29 Apr 2011 11:48:34 +0000 (13:48 +0200)]
Fix another case where QVariant::Invalid should be QVariant::UserType

Due to the QMetaType change before 4.7.0, if the typename of the variant
is QVariant then the type itself is of UserType and not Invalid as it
was previously.

Reviewed-by: Martin Petersson
7 years agoMerge branch 'master' of scm.dev.nokia.troll.no:qt/qt-fire-staging into master-integr...
Qt Continuous Integration System [Fri, 29 Apr 2011 08:06:01 +0000 (18:06 +1000)]
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-fire-staging into master-integration

* 'master' of scm.dev.nokia.troll.no:qt/qt-fire-staging:
  Fixed off-by-one in radial gradient color table index computation.
  Support more items for QTextCharFormat::VerticalAlignment enum for custom text objects.

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Fri, 29 Apr 2011 06:24:08 +0000 (16:24 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
  Fix missing glyphs for large fonts with QStaticText/GL/Freetype

7 years agoFix missing glyphs for large fonts with QStaticText/GL/Freetype
Eskil Abrahamsen Blomfeldt [Fri, 29 Apr 2011 05:47:36 +0000 (07:47 +0200)]
Fix missing glyphs for large fonts with QStaticText/GL/Freetype

When rendering fonts that are so large the Freetype engine will fall
back to outline rendering, we would sometimes lose glyphs that were
at the edge of the texture, because the width of the image returned
by QFontEngine::alphaMapForGlyph() includes a margin (which the other
font engines do not) and thus it would sometimes be wider than the
available area in the cache's texture. This would in turn cause the
GL call to copy the glyph into the cache to fail.

The correct fix would probably be to make the algorithm used to
calculate the width in QFontEngine::alphaMapForGlyph() the same as
the algorithm used by the glyph cache (which would mean to remove
the margin there), but to minimize the impact in a patch release,
we fix the symptom and move the correct fix to next minor release
instead.

Task-number: QT-4876
Reviewed-by: Jørgen
7 years agoMerge branch 'master' of scm.dev.nokia.troll.no:qt/qt-water-staging into master-integ...
Qt Continuous Integration System [Fri, 29 Apr 2011 01:28:54 +0000 (11:28 +1000)]
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-water-staging into master-integration

* 'master' of scm.dev.nokia.troll.no:qt/qt-water-staging: (49 commits)
  Make QLineControl send accessibility updates.
  Fix warning (unused variable) in QAccessibility test.
  Add accessible events as defined by IAccessible2.
  Return name and allow actions for invisible accessible items.
  Skip child count test on Intel compiler.
  Removing the "resetInternalData" slot in QAbstractProxyModel
  Typos in internal api docs.
  Fix tst_QTableWidget::task219380_removeLastRow
  Fix tst_QTableWidget::task219380_removeLastRow
  Fixed a crash on Windows XP with mingw in threaded-code
  Totally kill MR 916
  Fix licence headers again for MR 900
  Reverting merge request 916
  Reverting merge request 916
  Build fix on QMenuBar
  Fix licence headers again for MR 900
  Fix copyright and a few codestyle mistakes
  Renamed QAbstractMenuBarImpl to QAbstractMenuBarInterface
  Make ctor and dtor of QAbstractMenuBarImpl inline
  QAbstractMenuBarImpl::allowSetVisible => setVisible
  ...

7 years agoMerge remote branch 'qt-fire-review/master'
aavit [Thu, 28 Apr 2011 19:03:59 +0000 (21:03 +0200)]
Merge remote branch 'qt-fire-review/master'

7 years agoMerge branch 'master' of scm.dev.nokia.troll.no:qt/qt-fire-staging into master-integr...
Qt Continuous Integration System [Thu, 28 Apr 2011 18:47:18 +0000 (04:47 +1000)]
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-fire-staging into master-integration

* 'master' of scm.dev.nokia.troll.no:qt/qt-fire-staging: (31 commits)
  Make QtQuick2 compile on QPA
  Use maximum ascent/descent/leading from fallback fonts in shaping
  Another ugly hack to make bidi cursor work with Core Text
  Make sure layoutData exist before checking for string direction
  Removed warning from QPixmap::handle().
  Take leading space width into account for painting and selection
  doc: Simplify language in QGlyphs docs
  doc: Minor cleanup in QGlyphs docs
  Remove extra comma at the end of enum list
  Fix compilation with Qt3Support
  Don't transform glyph positions for Core Graphics paint engine
  Skip linearGradientSymmetry test on QWS.
  Turn on HarfBuzz support for Mac/Cocoa
  Support visual cursor movement for BIDI text
  Disable tst_QPixmap::onlyNullPixmapsOutsideGuiThread on Mac
  Revert "Switch the default graphics system to raster on Mac."
  Fix an race condition in the auto test.
  Made linearGradientSymmetry test pass on qreal=float platforms.
  Make sure #ifdef'd tests still have main() function
  Long live QRawFont!
  ...

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Thu, 28 Apr 2011 16:28:08 +0000 (02:28 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
  Fix crash in raster on X11 when text contains unsupported characters

7 years agoMerge branch 4.7 into qt-4.8-from-4.7
Qt Continuous Integration System [Thu, 28 Apr 2011 16:09:05 +0000 (02:09 +1000)]
Merge branch 4.7 into qt-4.8-from-4.7

7 years agoMerge branch 'master-review' into master-staging
Thierry Bastian [Thu, 28 Apr 2011 15:46:13 +0000 (17:46 +0200)]
Merge branch 'master-review' into master-staging

7 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team
Qt Continuous Integration System [Thu, 28 Apr 2011 14:34:00 +0000 (00:34 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team

* 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team:
  Fixed off-by-one in radial gradient color table index computation.

7 years agoFix crash in raster on X11 when text contains unsupported characters
Eskil Abrahamsen Blomfeldt [Thu, 28 Apr 2011 13:05:08 +0000 (15:05 +0200)]
Fix crash in raster on X11 when text contains unsupported characters

We would assume the font engine was a FT engine and do a static cast
here, which would cause a crash if the box engine was in use instead.

Task-number: QTBUG-17443
Reviewed-by: Samuel
7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Thu, 28 Apr 2011 12:27:27 +0000 (22:27 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Made the autotest for drawing pixmaps with painter open more fail safe.
  Upload VGImage data when drawing pixmaps that are being painted into.
  Make translucent windows working properly with OpenVG.

7 years agoMade the autotest for drawing pixmaps with painter open more fail safe.
Laszlo Agocs [Thu, 28 Apr 2011 12:07:47 +0000 (14:07 +0200)]
Made the autotest for drawing pixmaps with painter open more fail safe.

The autotest relies on QPixmap::grabWindow() which causes random CI
failures because it may capture bogus content if some other window
comes to foreground, focus is changed, etc. To overcome these false
positives the pixmap content comparison is now only done when the
captured content is one of the three possible images. If it is
anything else, we cannot verify so the case is skipped.

Task-number: QT-4002
Reviewed-by: TRUSTME
7 years agoMerge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration
Qt Continuous Integration System [Thu, 28 Apr 2011 11:52:51 +0000 (21:52 +1000)]
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration

* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
  Revert "Added QStringRef::toLatin1 and QStringRef::toUtf8"
  Added QStringRef::toLatin1 and QStringRef::toUtf8

7 years agoFixed off-by-one in radial gradient color table index computation.
Samuel Rødal [Thu, 28 Apr 2011 10:56:35 +0000 (12:56 +0200)]
Fixed off-by-one in radial gradient color table index computation.

Clamp to GRADIENT_COLOR_TABLE-1, not GRADIENT_COLOR_TABLE-2. Fixes
visible error in gradients.qps

Reviewed-by: Kim Motoyoshi Kalland <kim.kalland@nokia.com>
7 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team
Qt Continuous Integration System [Thu, 28 Apr 2011 10:03:12 +0000 (20:03 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team

* 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team:
  Support more items for QTextCharFormat::VerticalAlignment enum for custom text objects.

7 years agoSupport more items for QTextCharFormat::VerticalAlignment enum for custom text objects.
Dmitry Zelenkovsky [Thu, 28 Apr 2011 09:49:13 +0000 (11:49 +0200)]
Support more items for QTextCharFormat::VerticalAlignment enum for custom text objects.

 * QTextCharFormat::AlignNormal - support text format descent, place text object bottom on (baseline - descent).
 * QTextCharFormat::AlignBottom - place text object bottom on baseline.
 * QTextCharFormat::AlignTop - Still not supported.
 * Any other vertical alignment is mapped QTextCharFormat::AlignBottom.

Add new enum AlignBaseline for custom inline objects to take into account font baseline.

Merge-request: 2578
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
7 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team
Qt Continuous Integration System [Thu, 28 Apr 2011 09:16:02 +0000 (19:16 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team

* 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team: (304 commits)
  Make QLineControl send accessibility updates.
  Fix warning (unused variable) in QAccessibility test.
  Add accessible events as defined by IAccessible2.
  Return name and allow actions for invisible accessible items.
  Skip child count test on Intel compiler.
  Specify swap behavior preserved bit in openvg engine.
  Ignore changes to selectByMouse during a selection.
  PathView offset out of sync with currentIndex when items are removed.
  Move the TextInput cursor delegate when the preedit position changes.
  Removing the "resetInternalData" slot in QAbstractProxyModel
  Fix warning about ASCII cast in calling QString::contains
  Fix warnings on unused parameters and variables
  Add new exported symbol to QtGuiu.def
  Input method hints are not correct if using proxy widget
  Cleaned up benchmark project files.
  Fix for GL graphcics system orientation which
  Update Symbian platform notes documentation
  Set QPixmapCache default limit to 10MB on Symbian.
  Use binary search to speed up findChildFrame()
  Document section behavior when not ordered by section
  ...

7 years agoMerge branch '4.8-upstream'
Thierry Bastian [Thu, 28 Apr 2011 09:11:42 +0000 (11:11 +0200)]
Merge branch '4.8-upstream'

7 years agoRevert "Added QStringRef::toLatin1 and QStringRef::toUtf8"
Thorbjørn Lindeijer [Thu, 28 Apr 2011 09:10:24 +0000 (11:10 +0200)]
Revert "Added QStringRef::toLatin1 and QStringRef::toUtf8"

This reverts commit feabda665de62a0f6a82d831b45926697f30b45b.

They were already added by Denis Dzyubenko in commit 2916b074.

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7
Laszlo Agocs [Thu, 28 Apr 2011 07:59:43 +0000 (09:59 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7

Conflicts:
src/s60installs/eabi/QtGuiu.def

7 years agoMerge remote branch 'qt-fire-review/master'
aavit [Thu, 28 Apr 2011 07:24:15 +0000 (09:24 +0200)]
Merge remote branch 'qt-fire-review/master'

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Wed, 27 Apr 2011 19:39:10 +0000 (05:39 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
  Clear the root index when the model is reset.

7 years agoMerge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into maste...
Qt Continuous Integration System [Wed, 27 Apr 2011 16:36:40 +0000 (02:36 +1000)]
Merge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration

* 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration:
  Specify swap behavior preserved bit in openvg engine.
  Ignore changes to selectByMouse during a selection.
  PathView offset out of sync with currentIndex when items are removed.
  Move the TextInput cursor delegate when the preedit position changes.
  Add new exported symbol to QtGuiu.def
  Input method hints are not correct if using proxy widget
  Fix for GL graphcics system orientation which
  Update Symbian platform notes documentation
  Handle uppercase 'E' when parsing numbers in SVGs.
  Let QTextLine decide its own x position in QPainter
  Support text decoration in QML when using static text back-end
  Fix missing color in text when using static text back-end in QML

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Wed, 27 Apr 2011 16:11:52 +0000 (02:11 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
  Fixed QTBUG-11935 : "With MySQL version > 50000 the QMYSQLDriver::
  Fixed QTBUG-11935

7 years agoMerge branch 4.7 into qt-4.8-from-4.7
Qt Continuous Integration System [Wed, 27 Apr 2011 16:09:29 +0000 (02:09 +1000)]
Merge branch 4.7 into qt-4.8-from-4.7

7 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team
Qt Continuous Integration System [Wed, 27 Apr 2011 15:46:58 +0000 (01:46 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team

* 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team:
  Make QtQuick2 compile on QPA
  Use maximum ascent/descent/leading from fallback fonts in shaping
  Another ugly hack to make bidi cursor work with Core Text

7 years agoAdded QStringRef::toLatin1 and QStringRef::toUtf8
Thorbjørn Lindeijer [Wed, 27 Apr 2011 13:53:28 +0000 (15:53 +0200)]
Added QStringRef::toLatin1 and QStringRef::toUtf8

These helper functions make it convenient to avoid making an unnecessary
copy of the string before converting it to a QByteArray. The current
most obvious way to do this would be:

  // QStringRef text
  QByteArray latin1 = text.toString().toLatin1();

Though the copy can also be avoided by doing:

  const QString textData =
      QString::fromRawData(text.unicode(), text.size());
  QByteArray latin1 = textData.toLatin1();

Now the faster method can be achieved using the new obvious way:

  QByteArray latin1 = text.toLatin1();

Reviewed-by: Thiago Macieira
Reviewed-by: Robin Burchell
7 years agoMake QtQuick2 compile on QPA
Eskil Abrahamsen Blomfeldt [Wed, 27 Apr 2011 12:21:54 +0000 (14:21 +0200)]
Make QtQuick2 compile on QPA

Moved the logic to set pixel size into the font engines to avoid
making the platform plugin interface too complex, and added a function
in QPA to make an isolated font engine based on font data. Currently
none of the QPA back-ends supports it, but it compiles and spits out
a warning if you try to create a QRawFont from data there. This isn't
used in QtQuick2 anyway.

Reviewed-by: Jiang Jiang
7 years agoUse maximum ascent/descent/leading from fallback fonts in shaping
Jiang Jiang [Wed, 27 Apr 2011 14:05:09 +0000 (16:05 +0200)]
Use maximum ascent/descent/leading from fallback fonts in shaping

When shaping a QScriptItem with a multi font engine, currently we
only take the ascent/descent/leading from the primary (first) font
engine in that multi font engine, however, subsequent engines used
during shaping may have larger ascent/descent/leading, disregarding
them may cause clipping issues in some cases.

It's fixed by checking each font engine used in the shaping process
and take the maximum value instead of the first one. On ATSUI we
merely make it compile.

Task-number: QTBUG-16719
Reviewed-by: Eskil
7 years agoUpload VGImage data when drawing pixmaps that are being painted into.
Laszlo Agocs [Wed, 27 Apr 2011 13:02:32 +0000 (15:02 +0200)]
Upload VGImage data when drawing pixmaps that are being painted into.

When a painter is open on a pixmap's underlying QVolatileImage, it is
better to upload the VGImage content every time the pixmap is drawn
on the screen, in order to enable showing animations that are created
by continously rendering into the same pixmap and keeping the same
painter open.

Task-number: QT-4002
Reviewed-by: Jason Barron
7 years agoMake translucent windows working properly with OpenVG.
Laszlo Agocs [Wed, 27 Apr 2011 13:18:58 +0000 (15:18 +0200)]
Make translucent windows working properly with OpenVG.

The OpenVG engine correctly uses vgClear() to fill the surface with
transparent pixels whenever the window has the WA_TranslucentBackground
attribute enabled. However both scissoring and masking affects
the operation of vgClear(). Drawing artifacts were previously
visible due this, simply because scissoring was left enabled by
the VG paint engine, and the filling with transparent pixels
happens in the window surface's beginPaint() that is called
between the paint engine's end() (for the previous paint) and
begin() (for the next paint).

Task-number: QT-4907
Reviewed-by: Jani Hautakangas
7 years agoMake QLineControl send accessibility updates.
Frederik Gladhorn [Tue, 26 Apr 2011 16:41:15 +0000 (18:41 +0200)]
Make QLineControl send accessibility updates.

To make it emit the signals for the right object, it needs its parent to
be the QGraphicsItem/SGItem/QLineEdit.
According to IA2 it should emit TextUpdated and CursorMoved signals.
TextChanged is deprecated.
More fine grained signals would be desireable but this makes changes work at all.

Reviewed-by: Morten Sorvig
7 years agoFix warning (unused variable) in QAccessibility test.
Frederik Gladhorn [Fri, 22 Apr 2011 14:39:00 +0000 (16:39 +0200)]
Fix warning (unused variable) in QAccessibility test.

Reviewed-by: Morten Sorvig
7 years agoAdd accessible events as defined by IAccessible2.
Frederik Gladhorn [Fri, 22 Apr 2011 13:56:48 +0000 (15:56 +0200)]
Add accessible events as defined by IAccessible2.

Additional events from:
http://accessibility.linuxfoundation.org/a11yspecs/ia2/docs/html/_accessible_event_i_d_8idl.html

Reviewed-by: Morten Sorvig
7 years agoReturn name and allow actions for invisible accessible items.
Frederik Gladhorn [Fri, 22 Apr 2011 13:21:35 +0000 (15:21 +0200)]
Return name and allow actions for invisible accessible items.

There is no reason not to report the name or allow actions
when a widget is invisible.

Reviewed-by: Morten Sorvig
7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
Qt Continuous Integration System [Wed, 27 Apr 2011 12:28:34 +0000 (22:28 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
  Legal: add the license header to the hand-edits

7 years agoSkip child count test on Intel compiler.
Frederik Gladhorn [Wed, 27 Apr 2011 11:03:09 +0000 (13:03 +0200)]
Skip child count test on Intel compiler.

For some reason this test is sometimes giving false results
with intel compilers.
The child count is most likely style dependent.
For now ignore it in the test.

Reviewed-by: Thierry
7 years agoLegal: add the license header to the hand-edits
Thiago Macieira [Wed, 27 Apr 2011 10:56:58 +0000 (12:56 +0200)]
Legal: add the license header to the hand-edits

Reviewed-by: Trust Me
7 years agoAnother ugly hack to make bidi cursor work with Core Text
Jiang Jiang [Wed, 27 Apr 2011 09:39:09 +0000 (11:39 +0200)]
Another ugly hack to make bidi cursor work with Core Text

If the text is wrapped with LRE/LRO/RLE/RLO override/embed marks,
Core Text in Mac OS X 10.5 doesn't produce an empty glyph at the
beginning of the glyphs (while it does in Mac OS X 10.6), thus
we need to prepend an empty glyph here, otherwise cursor position
calculation will consider the first two characters as a ligature
of the same glyph.

Reviewed-by: Eskil
7 years agoMerge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7
Olivier Goffart [Wed, 27 Apr 2011 09:27:52 +0000 (11:27 +0200)]
Merge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7

Conflicts:
src/opengl/qwindowsurface_gl.cpp
src/s60installs/eabi/QtGuiu.def

7 years agoMerge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration
Qt Continuous Integration System [Wed, 27 Apr 2011 09:17:03 +0000 (19:17 +1000)]
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration

* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
  Fix warning about ASCII cast in calling QString::contains
  Fix warnings on unused parameters and variables
  Cleaned up benchmark project files.

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Wed, 27 Apr 2011 09:05:47 +0000 (19:05 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Specify swap behavior preserved bit in openvg engine.

7 years agoSpecify swap behavior preserved bit in openvg engine.
Laszlo Agocs [Wed, 27 Apr 2011 08:05:25 +0000 (10:05 +0200)]
Specify swap behavior preserved bit in openvg engine.

Unlike OpenGL, the EGL_SWAP_BEHAVIOR_PRESERVED_BIT was not set for
the EGL configuration used with OpenVG. Yet the preserved swap was
enabled still, which, according to the EGL spec, should fail. To
make sure it still works with other EGL implementations, the bit
is now set in the configuration.

Reviewed-by: Jani Hautakangas
7 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team
Qt Continuous Integration System [Wed, 27 Apr 2011 06:58:41 +0000 (16:58 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team

* 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team:
  Make sure layoutData exist before checking for string direction
  Removed warning from QPixmap::handle().
  Take leading space width into account for painting and selection

7 years agoMake sure layoutData exist before checking for string direction
Jiang Jiang [Wed, 27 Apr 2011 06:47:46 +0000 (08:47 +0200)]
Make sure layoutData exist before checking for string direction

Otherwise accessing that through QTextEngine::alignLine may cause crash.

Reviewed-by: Samuel Rødal
7 years agoClear the root index when the model is reset.
Girish Ramakrishnan [Wed, 27 Apr 2011 05:53:43 +0000 (15:53 +1000)]
Clear the root index when the model is reset.

Task-number: QTBUG-18839

Change-Id: I46608d7481d820fa74a9be60df1e018e70a761c6
Merge-request: 2598
Reviewed-by: Martin Jones <martin.jones@nokia.com>
7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Wed, 27 Apr 2011 05:43:57 +0000 (15:43 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
  Ignore changes to selectByMouse during a selection.
  PathView offset out of sync with currentIndex when items are removed.

7 years agoMerge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt into 4.7
Martin Jones [Wed, 27 Apr 2011 05:22:20 +0000 (15:22 +1000)]
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt into 4.7

7 years agoFixed QTBUG-11935 : "With MySQL version > 50000 the QMYSQLDriver::
Emmanuel BOURGERIE [Wed, 27 Apr 2011 04:04:02 +0000 (14:04 +1000)]
Fixed QTBUG-11935 : "With MySQL version > 50000 the QMYSQLDriver::

tables() returns tables in all databases on the server"

This bugfix has been rewritten to match contributors advise.

Change-Id: I3a9cf900ff7eae47c9ffdbcf34bcb1b4396d9837
Merge-request: 1010
Reviewed-by: Charles Yin <charles.yin@nokia.com>
7 years agoFixed QTBUG-11935
Emmanuel BOURGERIE [Wed, 27 Apr 2011 04:04:00 +0000 (14:04 +1000)]
Fixed QTBUG-11935

Change-Id: Ia7bdb0ceecf2892f6be73d1816764a2bab6275f1
Merge-request: 1010
Reviewed-by: Charles Yin <charles.yin@nokia.com>
7 years agoIgnore changes to selectByMouse during a selection.
Andrew den Exter [Wed, 27 Apr 2011 03:57:04 +0000 (13:57 +1000)]
Ignore changes to selectByMouse during a selection.

Use the value of selectByMouse at the time of a mouse press event in
all subsequent mouse events in a sequence.  This is the same as
ignoring the intial mouse press except mouse events for other actions
are still accepted.

Change-Id: I59b50bf95d26c6320e6e74eeb679b4153e0edf4d
Task-number: QTBUG-18887
Reviewed-by: Martin Jones
7 years agoPathView offset out of sync with currentIndex when items are removed.
Martin Jones [Wed, 27 Apr 2011 03:10:34 +0000 (13:10 +1000)]
PathView offset out of sync with currentIndex when items are removed.

If the view is animating due to currentIndex change and items are
removed the target offset must be recalculated.

Change-Id: Iee105712488070c086a24561a49daf17bcf14076
Task-number: QTBUG-18825
Reviewed-by: Michael Brasser
7 years agoMerge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into maste...
Qt Continuous Integration System [Wed, 27 Apr 2011 02:04:40 +0000 (12:04 +1000)]
Merge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration

* 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration:
  Set QPixmapCache default limit to 10MB on Symbian.

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Wed, 27 Apr 2011 01:47:10 +0000 (11:47 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
  Move the TextInput cursor delegate when the preedit position changes.

7 years agoMove the TextInput cursor delegate when the preedit position changes.
Andrew den Exter [Wed, 27 Apr 2011 01:16:04 +0000 (11:16 +1000)]
Move the TextInput cursor delegate when the preedit position changes.

Change-Id: Ia7150122444e465ffbcc02e921d42d01c2dfdac1
Task-number: QTBUG-18892
Reviewed-by: Martin Jones
7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Tue, 26 Apr 2011 17:48:55 +0000 (03:48 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
  Add new exported symbol to QtGuiu.def
  Handle uppercase 'E' when parsing numbers in SVGs.
  Let QTextLine decide its own x position in QPainter
  Support text decoration in QML when using static text back-end
  Fix missing color in text when using static text back-end in QML

7 years agoMerge branch 4.7 into qt-4.8-from-4.7
Qt Continuous Integration System [Tue, 26 Apr 2011 16:06:10 +0000 (02:06 +1000)]
Merge branch 4.7 into qt-4.8-from-4.7

7 years agoRemoved warning from QPixmap::handle().
Samuel Rødal [Tue, 26 Apr 2011 15:20:11 +0000 (17:20 +0200)]
Removed warning from QPixmap::handle().

With the new fromX11Pixmap function there are valid use-cases where
checking the handle() is useful also with the raster graphicssystem.

Reviewed-by: Thiago Macieira
7 years agoRemoving the "resetInternalData" slot in QAbstractProxyModel
Gabriel de Dietrich [Tue, 26 Apr 2011 14:20:39 +0000 (16:20 +0200)]
Removing the "resetInternalData" slot in QAbstractProxyModel

This reverts commits 0916a68056154ecb60e4ea2c79726ab2e49b1532 and
6f1384fcbeea993d5be47590c696de60215b7608.

This effectively reverts most of MR 694.

Reviewed-by: Olivier
7 years agoFix warning about ASCII cast in calling QString::contains
Thiago Macieira [Tue, 26 Apr 2011 13:50:49 +0000 (15:50 +0200)]
Fix warning about ASCII cast in calling QString::contains

7 years agoFix warnings on unused parameters and variables
Thiago Macieira [Tue, 26 Apr 2011 13:28:34 +0000 (15:28 +0200)]
Fix warnings on unused parameters and variables

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Tue, 26 Apr 2011 13:49:59 +0000 (23:49 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Input method hints are not correct if using proxy widget
  Fix for GL graphcics system orientation which
  Update Symbian platform notes documentation

7 years agoAdd new exported symbol to QtGuiu.def
Eskil Abrahamsen Blomfeldt [Tue, 26 Apr 2011 13:06:32 +0000 (15:06 +0200)]
Add new exported symbol to QtGuiu.def

Fix build on Symbian

Reviewed-by: Jason Barron
7 years agoInput method hints are not correct if using proxy widget
Sami Merila [Tue, 26 Apr 2011 11:58:34 +0000 (14:58 +0300)]
Input method hints are not correct if using proxy widget

Input context should prefer focus proxy over regular focus widget.

Task-number: QTBUG-18873
Reviewed-by: Miikka Heikkinen
7 years agoMerge remote-tracking branch 'origin/master' into HEAD
Thiago Macieira [Tue, 26 Apr 2011 11:52:02 +0000 (13:52 +0200)]
Merge remote-tracking branch 'origin/master' into HEAD

7 years agoCleaned up benchmark project files.
jasplin [Tue, 26 Apr 2011 10:37:50 +0000 (12:37 +0200)]
Cleaned up benchmark project files.

Reviewed-by: Sergio Ahumada
7 years agoMerge remote branch 'qt-mainline/master'
aavit [Tue, 26 Apr 2011 08:28:04 +0000 (10:28 +0200)]
Merge remote branch 'qt-mainline/master'

Conflicts:
configure

7 years agoTake leading space width into account for painting and selection
Jiang Jiang [Tue, 19 Apr 2011 12:40:19 +0000 (14:40 +0200)]
Take leading space width into account for painting and selection

When painting horizontally centered RTL text and selection with
trailing spaces, we need to take that space width into account
because line.textAdvance doesn't include it.

Task-number: QTBUG-18612
Reviewed-by: Eskil
7 years agoFix for GL graphcics system orientation which
Jani Hautakangas [Thu, 21 Apr 2011 11:07:09 +0000 (14:07 +0300)]
Fix for GL graphcics system orientation which

OpenGL context needs to be recreated on Symbian
when orientation changes. Previously only the EGL
surface was recreated which wasn't enough.

Task-number: QTBUG-18850
Reviewed-by: Samuel Rødal
7 years agoUpdate Symbian platform notes documentation
Jani Hautakangas [Fri, 15 Apr 2011 07:55:48 +0000 (10:55 +0300)]
Update Symbian platform notes documentation

Task-number: QTBUG-17357
Reviewed-by: Jason Barron
7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Tue, 26 Apr 2011 07:35:03 +0000 (17:35 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Set QPixmapCache default limit to 10MB on Symbian.

7 years agoSet QPixmapCache default limit to 10MB on Symbian.
Jani Hautakangas [Thu, 21 Apr 2011 11:11:01 +0000 (14:11 +0300)]
Set QPixmapCache default limit to 10MB on Symbian.

Cache limit can be changed to 10MB since QPixmaps
on Symbian are not consuming process heap anymore.
QPixmaps are reserved from FBServ heap.

Task-number: QTBUG-18568
Reviewed-by: Laszlo Agocs
7 years agoMerge branch 'master' of scm.dev.troll.no:qt/qt-fire-review
Eskil Abrahamsen Blomfeldt [Sat, 23 Apr 2011 09:35:30 +0000 (11:35 +0200)]
Merge branch 'master' of scm.dev.troll.no:qt/qt-fire-review

Conflicts:
src/gui/text/qglyphs.cpp

7 years agoMerge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into maste...
Qt Continuous Integration System [Fri, 22 Apr 2011 16:14:11 +0000 (02:14 +1000)]
Merge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration

* 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration:
  Document section behavior when not ordered by section
  Fix TextInput cursor position unchanged when selection length is 0.
  Fix TextInput echoMode clearing inputMethodHints set by the user.
  Elide has unexpected effect on Text's implicitWidth

7 years agoMerge branch 4.7 into qt-4.8-from-4.7
Qt Continuous Integration System [Fri, 22 Apr 2011 16:04:19 +0000 (02:04 +1000)]
Merge branch 4.7 into qt-4.8-from-4.7

7 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team
Qt Continuous Integration System [Fri, 22 Apr 2011 13:03:05 +0000 (23:03 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team

* 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team:
  Typos in internal api docs.

7 years agoTypos in internal api docs.
Frederik Gladhorn [Tue, 21 Sep 2010 10:33:30 +0000 (12:33 +0200)]
Typos in internal api docs.

7 years agoFix tst_QTableWidget::task219380_removeLastRow
Gabriel de Dietrich [Thu, 21 Apr 2011 11:25:23 +0000 (13:25 +0200)]
Fix tst_QTableWidget::task219380_removeLastRow

Again, dure to the fix to QTBUG-18551.

Reviewed-by: Olivier
7 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team
Qt Continuous Integration System [Fri, 22 Apr 2011 09:24:06 +0000 (19:24 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team

* 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team: (25 commits)
  doc: Simplify language in QGlyphs docs
  doc: Minor cleanup in QGlyphs docs
  Remove extra comma at the end of enum list
  Fix compilation with Qt3Support
  Don't transform glyph positions for Core Graphics paint engine
  Skip linearGradientSymmetry test on QWS.
  Turn on HarfBuzz support for Mac/Cocoa
  Support visual cursor movement for BIDI text
  Disable tst_QPixmap::onlyNullPixmapsOutsideGuiThread on Mac
  Revert "Switch the default graphics system to raster on Mac."
  Fix an race condition in the auto test.
  Made linearGradientSymmetry test pass on qreal=float platforms.
  Make sure #ifdef'd tests still have main() function
  Long live QRawFont!
  Fix an race condition in the auto test.
  Another attempt at fixing the MSVC2005 build.
  Compile fix in qdrawhelper_sse2.cpp for MSVC 2005.
  Compile fix in qdrawhelper_sse2.cpp.
  Added support for six-parameter radial gradients.
  Improved gradient table generation performance for two-stop gradients.
  ...

7 years agodoc: Simplify language in QGlyphs docs
Eskil Abrahamsen Blomfeldt [Fri, 22 Apr 2011 09:20:37 +0000 (11:20 +0200)]
doc: Simplify language in QGlyphs docs

Mainly to trigger CI.

Reviewed-by: TrustMe
7 years agoMerge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into maste...
Qt Continuous Integration System [Thu, 21 Apr 2011 16:42:52 +0000 (02:42 +1000)]
Merge branch 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration

* 'qt-4.8-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration:
  remove exec bit ... again ...
  Add Korean translation
  QDeclarativeDebug: Fix typo in warning
  QDeclarativeDebug: Fix endless loop for property with SCRITABLE false
  Fix Symbian/Linux compilation breakage in plugins/qmltooling
  Build break fix for simulated QS60Style
  fix unititialized value use when timestamping qconfig.h
  Drift correction and better accuracy for repeating timers in Symbian
  Make QMLViewer startup animation stop after a while
  Fix excessive scrolling in TextInput with mid string pre-edit text.

7 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Thu, 21 Apr 2011 13:18:20 +0000 (23:18 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
  Document section behavior when not ordered by section
  Fix TextInput cursor position unchanged when selection length is 0.
  Fix TextInput echoMode clearing inputMethodHints set by the user.
  Elide has unexpected effect on Text's implicitWidth

7 years agoMerge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration
Qt Continuous Integration System [Thu, 21 Apr 2011 12:33:24 +0000 (22:33 +1000)]
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration

* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
  Use binary search to speed up findChildFrame()

7 years agoMerge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team
Qt Continuous Integration System [Thu, 21 Apr 2011 11:33:06 +0000 (21:33 +1000)]
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team

* 'master' of git://scm.dev.nokia.troll.no/qt/qt-water-team: (819 commits)
  Fix tst_QTableWidget::task219380_removeLastRow
  Make sure #ifdef'd tests still have main() function
  Long live QRawFont!
  QtDBus: Add unit tests for QDBusAbstractAdaptor
  QtDBus: Add unit tests for QDBusInterface
  QtDBus: Add unit tests for QDBusAbstractInterface
  QtDBus: Register QDBusServer connection name in QDBusConnectionManager
  QtDBus: Skip bus name check for peer-to-peer connection
  QtDBus: Fix minor coding style issues
  QtDBus: Add default constructor to QDBusServer
  QtDBus: Add unit tests for peer-to-peer connection
  QtDBus: Add method QDBusConnection::disconnectFromPeer()
  QtDBus: Add method QDBusConnection::connectToPeer()
  QtDBus: Fix QDBusConnection::disconnectFromBus() for peer-to-peer connections
  QtDBus: Fix bus in peer-to-peer connections should not be used
  QtDBus: Fix empty service name in peer-to-peer connections
  QtDBus: Fix registering objects using path '/' in peer-to-peer connections
  QtDBus: Fix QDBusServer to handle correctly new dbus connections
  QtDBus: Cleaning comments, spacing, etc.
  Use s/static/Q_GLOBAL_STATIC/g in QScroller
  ...

7 years agoFix tst_QTableWidget::task219380_removeLastRow
Gabriel de Dietrich [Thu, 21 Apr 2011 11:25:23 +0000 (13:25 +0200)]
Fix tst_QTableWidget::task219380_removeLastRow

Again, dure to the fix to QTBUG-18551.

Reviewed-by: Olivier
7 years agoMerge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7
Olivier Goffart [Thu, 21 Apr 2011 11:12:18 +0000 (13:12 +0200)]
Merge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7

Conflicts:
src/plugins/qmltooling/qmldbg_ost/qostdevice.h

7 years agodoc: Minor cleanup in QGlyphs docs
Eskil Abrahamsen Blomfeldt [Thu, 21 Apr 2011 09:50:11 +0000 (11:50 +0200)]
doc: Minor cleanup in QGlyphs docs

Just a minor clean-up in the QGlyphs docs. Mainly to try to trigger
CI.

Reviewed-by: TrustMe
7 years agoMerge remote-tracking branch 'mainline/master'
Oswald Buddenhagen [Thu, 21 Apr 2011 09:45:03 +0000 (11:45 +0200)]
Merge remote-tracking branch 'mainline/master'

7 years agoUse binary search to speed up findChildFrame()
Steffen Hansen [Wed, 20 Apr 2011 10:45:42 +0000 (12:45 +0200)]
Use binary search to speed up findChildFrame()

Merge-request: 2595
Reviewed-by: mae