| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Reviewed-by: Kavindra
|
|
|
|
|
|
|
|
|
|
| |
If GetTextMetrics() should fail, the results are undefined. When the
undefined data are used, e.g. when painting text, this can cause a
crash. To avoid the crash and make it clear that the metrics cannot be
retrieved, we zero out the entire structure.
Task-number: 251172
Reviewed-by: gunnar
|
|
|
|
|
| |
This reverts commit f7ebdd380d16a7be9713930b5ab41c32e996dcdb.
defining WINVER in qglobal.h is about to be reverted.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The extra ".data()" call is not needed here because QScopedPointer
overloads operator!() to do the right thing here.
Reviewed-by: Eskil Blomfeldt
|
|/
|
|
|
| |
Task-number: 254511
Reviewed-by: Trust Me
|
|
|
|
|
|
|
| |
Column number in executed JS source code is correctly passed to
debugger. Few autotest were repaired.
Reviewed-by: Kent Hansen
|
|
|
|
| |
Reviewed-by: janarve
|
|
|
|
|
|
|
| |
Previously it wouldn't and the layout could appear to be broken.
Task-number: 248817
Reviewed-by: Gabriel De Dietrich
|
|
|
|
|
|
|
| |
Calling QScriptEngine::toStringHandle() is dead slow, so don't call it;
use JSC::Identifier directly.
This is the same issue as was fixed for setProperty() in commit
a8574172dd5e6bc11cf6f69b6fad5a063549e88d.
|
|
|
|
|
|
| |
The precision specifiers need to be there on OpenGL ES 2.0.
Reviewed-by: Tom
|
|
|
|
|
|
| |
Otherwise the property is stored on the wrong object (the proxy).
This fix makes the Qt bindings generated by qtscriptgenerator work
again.
|
|
|
|
|
|
|
|
|
|
| |
That -no obsolete- tweak was mainly there because S60FontEngine was
originally not returning glyph outlines.
Task-number: 259979
Reviewed-by: jbarron
modified: demos/deform/pathdeform.cpp
|
|
|
|
|
| |
We replaced the convolution filter in the drop shadow effect with a
blur filter; we have to update the test accordingly.
|
|
|
|
|
|
| |
classes
Reviewed-By: TrustMe
|
|\ |
|
| |
| |
| |
| |
| |
| | |
The member need to be initialized in the same order as in which they are declared
Reviewed-by: Thierry
|
|/
|
|
| |
Reviewed-by: Trust Me
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This fixes the lifetime of the mutex locker, since before it would
already be destroyed on the next line.
Reviewed-by: Olivier Goffart <olivier.goffart@trolltech.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Lots of warnings in the qreal == float case.
Some Q_UNUSED added.
Reviewed-by: thartman
|
| |
| |
| |
| |
| |
| | |
These might work with the new JavaScriptCore-based back-end.
Will re-add any expected failures once the autotest results are in
from the platforms tested on Pulse.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Don't crash when parsing
"<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?><guid><http://www.foo.dk/artikel/8938</guid>"
(unmatched "< tag followed by "foo:") using QDomDocument::setContent
together with a QXmlSimpleReader with the
"http://xml.org/sax/features/namespaces" feature enabled.
Fixes task tracker issue 254700. See there for a test case.
Merge-request: 1322
Reviewed-by: Peter Hartmann <peter.hartmann@trolltech.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
All of the types supplied to qBound() must be the same and in the case
where qreal is typedef'ed to a float, this is not the case because the
outer 2 arguments are considered doubles. We explicitly cast them to
qreal to guarantee they are all the same type.
Reviewed-by: bnilsen
|
| |
| |
| |
| |
| |
| |
| | |
Add "requires(symbian)" to the .pro file so this test will not be
executed on other platforms.
Reviewed-by: Rohan McGovern
|
| |
| |
| |
| |
| |
| |
| | |
Auto-test submitted.
Task-number: 259503
Reviewed-by: bnilsen
|
| |
| |
| |
| | |
Reviewed-by: hjk
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QVectorPath::hints() is not a strict bit field, and thus can not be
anded with RectangleHint. Instead, QVectorPath::shape() should be
directly compared with RectangleHint to check if the vector path is a
rectangle or not. In this case the first four points of a regular
painter path were treated as a rectangle with dire consequences.
Reviewed-by: Tom
|
| |
| |
| |
| |
| |
| |
| | |
We now need to connect to the slot in the QLineControl and not to the
slot of the QLineEdit (the QLineEdit slot is now also removed).
Reviewed-by: Alan Alpert
|
| |
| |
| |
| | |
13 pairs missing...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Why this happends is a bit blurry. From before, I know that
cocoa is a bit buggy regarding setting a menu item
hidden or not. The solution back then resulted in the function
syncNSMenuItemEnabled in qmenu_mac.mm. This patch basically
applies the same (silly) trick; disabling the menuitem before
enabling it. This seems to force an update to the menu items
enabled state. For the record: this is not a fix that I
embrace. I hope we can remove it again some day. See
task for how to reproduce.
Task: 259600
Rev-By: alexis
|
|/
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
|
|
|
| |
Had left the cursor flash time as half the QApplication cursor flash
time by mistake. The new function sets the whole period and not just the
time between toggling cursor visibility.
Reviewed-by: Trust Me
|
|
|
|
|
|
|
| |
To prevent using IDirectFBImageProviders one can define
QT_NO_DIRECTFB_IMAGEPROVIDER
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
| |
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
|
|
| |
Some DFB implementations do not support rendering the cursor using the
intended interfaces. In these cases one can define
QT_DIRECTFB_WINDOW_AS_CURSOR and use a window to render the cursor.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
If you define QT_DIRECTFB_IMAGEPROVIDER_KEEPALIVE we make sure atleast
one IDirectFBImageProvider is alive at all times.
Apparently this is refcounted by DirectFB on atleast one implementation
and there's considerable overhead involved when releasing the
last/creating the first image provider.
Reviewed-by: TrustMe
|
|
|
|
|
|
|
|
|
| |
Reimplement QPixmapData::fromFile/fromData to load images using
IDirectFBImage providers. This functionality might be accelerated on
embedded boards and could have potentially large performance
enhancements.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
|
| |
If we actually need it locked we'll probably need it locked for
read|write.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
|
|
| |
Move format into QDirectFBPaintDevice.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
|
|
|
| |
Reviewed-By: TrustMe
|
|
|
|
| |
Reviewed-By: TrustMe
|
|
|
|
|
|
|
|
| |
The problem was that the mode was not emitting dataChanged.
Note: This still needs to be autotested.
Task-number: 234641
Reviewed-by: ogoffart
|
|
|
|
| |
Also include some spaces fix
|
|
|
|
|
|
| |
This will remove a false pmemleak under valgrind.
Reviewed-by: ogoffart
|
|
|
|
|
|
|
| |
The entry point has been changed to be customShader, taking source
image and texture coordinates as parameters.
Reviewed-by: Tom
|
|
|
|
| |
Reviewed-by: Tom
|