| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reviewed-by: Takumi Asaki
Will-also-be-applied-to: 4.5
|
|
|
|
|
|
|
|
|
|
|
| |
When loading binary files as text, QTextCursor did not check for
beginning and end of frame (QChar(0xfdd0) and QChar(0xfdd1)), while
QTextDocument asserted that those characters were absent.
The patch makes QTextCursor::insertText() treat frame bounderies like
paragraph separators.
Reviewed-by: ck
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QFontMetrics::boundingRect() that takes a string needs to account for
the right bearing of the last glyph, as it is documented to be the
rectangle that contains the pixels of the text. I've added a test for
this, and fixed tst_QFontMetrics::elidedText() to use boundingRect() to
find the actual width of the text drawn (width() will return the advance
of the text, which is larger than the actual width of the pixels.)
I've also fixed a small typo in the "len" -> "ilen".
Reviewed-by: Simon Hausmann
|
|
|
|
|
| |
Task-number: 260920
Reviewed-by: Trustme
|
|
|
|
|
|
|
|
| |
Removes dangling subFocusItem pointers when changing focus after
reparenting. This change also includes a mini-optimization when adding
focusable items to an inactive scene.
Reviewed-by: brad
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change ensures that only active scenes can have active input
focus items. If you try to set input focus on items that are in an
inactive scene, these items will gain input focus only when the scene
is activated.
For scenes attached to a view, this change should only fix the bug that
you could have a blinking line edit in a scene when the view is inactive,
meaning you couldn't type into the line edit.
For scenes that have no view, you now must activate the scene in order
to give the items active input focus. This will affect those who use
QGraphicsScene with custom key and focus handling.
Reviewed-by: brad
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change partially reverts f68fed388dcdba6ab6dad3af4933bcd3aa123cf8,
which was an attempt at getting FocusRealms working. Turns out this
approach is wrong. The flag behaves badly when reparenting, and the
feature conflicts with plain old setting focus.
Discussed with Aaron; this change was already reverted in the
kinetic-declarativeui branch.
Reviewed-by: TrustMe
|
|
|
|
|
|
|
|
|
|
| |
Previously, QtOpenGL assumed that by linking against QtGui, it would
automatically also be linked against EGL. However, this is no longer the
case after 83940f25dba51a9942ab55ed8475fc7fc8a8da84 which makes sure
only QtGui links against EGL and not other libs/apps linking against
QtGui.
Reviewed-by: Rhys Weatherley
|
| |
|
|
|
|
| |
Reviewed-by: TrustMe
|
|
|
|
|
|
| |
Added begin/endNativePainting() calls.
Reviewed-by: Trond
|
|
|
|
|
|
|
| |
This bug was exposed by a change in the QSvg module, and it
fixes the framebufferobject and pbuffers2 GL examples.
Reviewed-by: Kim
|
|
|
|
|
|
| |
Currently the QScriptEngineDebugger uses far too much memory.
Until task 261062 is resolved, we skip these test cases.
Discussed with Kent.
|
|
|
|
|
|
| |
QGLPixmapData needs to be #define'd out for OpenGL ES 1.x
Reviewed-by: Trustme
|
|
|
|
|
|
|
|
|
| |
When compiling on 10.4 but running on 10.5 the flags passed to vm_map cause
it to crash.
For now fall back to the use of mmap() as allocator instead.
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
|
| |
It fails on some platforms because of a bug in the autotest.
There might be more platforms also, but these are the ones
that currently report the problem.
Reviewed-by: paul
|
|
|
|
| |
This test would crash once in while.
|
|
|
|
| |
Reviewed-by: Olivier
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
| |
This is due to the fact that it receives a mousemoveevent.
But as it doesn't receive a mousepress event, we can detect whether it
should popup or not.
Task-number: 260873
Reviewed-by: prasanth
|
|
|
|
|
|
|
| |
Previous fix introduced an unresolved reference in the lib
Merge-request: 1409
Reviewed-by: Peter Hartmann <peter.hartmann@trolltech.com>
|
|
|
|
|
|
|
|
|
| |
The recent addition of sk_pop_free to
src/network/ssl/qsslsocket_openssl_symbols.cpp
broke the build with openssl 1.0.0 betas; this commit fixes it
Merge-request: 1409
Reviewed-by: Peter Hartmann <peter.hartmann@trolltech.com>
|
|
|
|
|
|
|
|
| |
It can happen that an item is still a gap and could then be deleted
twice. We now check that to avoid double deletion.
Note: it doesn't fix the bug but avoids the crash.
Task-number: 260873
|
|
|
|
|
|
|
| |
Relates to changes introduced in
6d87a01f2d3108bbee5b9995f20edfc26a01cd57.
Reviewed-by: Marius Storm-Olsen
|
|
|
|
| |
The resource compiler still generates files that don't have the LPGL header.
|
|
|
|
|
| |
Reviewed-by: mauricek
Reviewed-by: thartman
|
|
|
|
|
|
|
|
| |
beginthread() is not reliable when the new thread exits fast. So we are
changing this to use _beginthreadex() instead.
Reviewed-by: Trond
Reviewed-by: Bradley T. Hughes
|
|
|
|
| |
The resource compiler still generates files that don't have the LPGL header.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is one actual bug fix, checking for null pointer return.
The exception safety test code now initialises the fonts system.
The S60 fonts system does not survive OOM testing
without this.
Otherwise some duplicate tests are removed and code tidied up.
Reviewed-by: Liang Qi
Reviewed-by: Harald Fernengel
Reviewed-by: Alessandro Portale
|
|\ |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When trying to determine if there is a handler for an exception, determine
the returnPC for the call frame traversal frmo the corrent CallFrame object.
Reviewed-by: Kent Hansen
|
| | |
| | |
| | |
| | |
| | |
| | | |
Give it another spin through the event loop, to make sure that all
the painting gets done. (This is not connected to the glib timer
event test failure.)
|
| | |
| | |
| | |
| | | |
Reviewed-by: Tom
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/opengl/qgl.cpp
src/opengl/qgl_p.h
src/opengl/qpaintengine_opengl.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A new QGLFramebufferObject constructor was added after the
QGLPaintDevice was branched which therefore didn't get patched.
Reviewed-by: Trustme
|
| | |
| | |
| | |
| | | |
Reviewed-by: Trustme
|
| | | |
|
| | |
| | |
| | |
| | | |
Reviewed-by: Trond
|
| | |
| | |
| | |
| | |
| | | |
This fix gets rid of warnings/errors such as:
QWARN : cannot call unresolved function sk_pop_free
|
| |/
|/|
| |
| | |
Reviewed-by: Janne Koskinen
|
|\ \ |
|
| | | |
|
| |\ \ |
|