| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Task-number: 258964
Merge-request: 1382
Reviewed-by: Peter Hartmann <peter.hartmann@trolltech.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, retrieving an attribute value requires a two-stage lookup,
first in the XML attributes and (if it is found there) in the CSS
attributes. Both look-ups requires a number of iterations and
comparisons, which have to be carried out for every value look-up.
This patch changes it so that iterations and comparisons need to be done
only once, namely at the beginning. This requires us to store several
SVG attributes needed by the parsing routine, but since they are just
QStringRefs, the increase in the heap usage is really minimal and even
not reported by Valgrind's Massif.
Also, now we don't need to hold the XML attributes anymore.
The loading of tiger.svg (tests/benchmarks/qsvgrenderer) is reduced from
101.2 millions instructions to 96.5. The biggest gain is however obvious
from the time spent in QSvgAttributes::parseStyle(QSvgNode*,
QSvgAttributes, QSvgHandler*) which goes down from 16.7 millions
instructions to 6.9 millions, i.e. 2.4x faster.
Even with the new extra overhead in the QSvgAttributes constructor,
QSvgAttributes::parseStyle(QSvgNode*, QXmlStreamAttributes,
QSvgHandler*) goes down from 23.5 millions instructions to 18.4 millions,
i.e. 1.3x faster.
Reviewed-by: Kim
|
|
|
|
| |
Needed due to commit 3636e666528b72de79f8c7012690bb9e279f0863
|
|\ |
|
| |
| |
| |
| | |
AKA, enable it on platforms where it's supported.
|
| |
| |
| |
| |
| |
| |
| | |
Need to specify the OverridesHasInstance flag, otherwise the JIT will
do the standard hasInstance implementation instead of calling our
virtual function.
This makes the QScriptClass::extension() autotest pass.
|
| |
| |
| |
| |
| |
| | |
The return value is not reported (we need a separate callback for that,
just like in the interpreter), but that isn't important to get our
tools (i.e. the debugger) working.
|
| |
| |
| |
| |
| |
| |
| | |
We do not really use this function with proper namespace URI, so
let us get rid of the function.
Reviewed-by: Kim
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
tests/auto/xmlpatternsxqts/lib/tests/XMLWriterTest.cpp
|
| | |
| | |
| | |
| | | |
Reviewed-by: Trust Me
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a backport of commit 8ac7e81260
Reviewed-by: Peter Hartmann
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Simple misuse of QLatin1String. Use QString::fromLatin1 instead and
avoid the QByteArray temporary.
Reviewed-by: Andreas Aardal Hanssen
Tracking: CVE-2009-2700
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The text:
When the current size of the cache is greater then the
maximumCacheSize()
should read
When the current size of the cache is greater than the
maximumCacheSize()
Task-number: 260496
Reviewed-by: Zheng Liu (George)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
To use this, you must add #define QWEAKPOINTER_ENABLE_ARROW to your .cpp
before #including any headers. Be careful about adding this to .h files.
Reviewed-by: Olivier Goffart
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: TrustMe
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Before this change Qt did not install to device which had sqlite3
already in ROM. Since we now install the sqlite3 only if it is not on
any drive, the installation works also with preinstalled sqlite.
Even better appraoch would be to use embedded SIS file for sqlite,
since that would allow sqlite3 upgrade without upgrading the whole Qt.
However we yet don't have such SIS, but once we get one from Symbian
this needs to be further changed.
Task-number: 258858
Reviewed-by: Miikka Heikkinen
|
|/ / / |
|
|\ \ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changes opening of sqlite to open_v2, and adds a new connection option.
Reviewed-by: Justin McPherson
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The event construction without sending does nothing, sending constructed
event possibly dissappeared due to bad merge or something. So here it
comes again...
Task-number: 260222
Reviewed-by: TrustMe
|
| | |
| | |
| | |
| | | |
Reviewed-by: trustme
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original code was keeping it's own (out of date) copy of the handles.
It now includes a pointer to the driver private, and asks that what the
handles are instead.
|
|/ / /
| | |
| | |
| | | |
Reviewed-by: Samuel
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
OpenVG window surfaces were leaking because the QVGEGLWindowSurfaceDirect
destructor was previously not cleaning up the EGLSurface object.
Reviewed-by: trustme
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Reviewed-By: Trustme
|
| | |
| | |
| | |
| | | |
Reviewed-by: ogoffart
|
| | |
| | |
| | |
| | | |
Reviewed-By: Trustme
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
That ensures we don't create ambiguities. QSharedPointer shouldn't have
any implicit constructors.
Suggested-By: Olivier Goffart
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When using the keypad navigation, the focus state of a widget is
supposed to be well visible. So it makes much sense to use QFocusFrame,
which is able to paint a focus marker _around_ the widget.
This change should fix the issue that with some S60 themes, the focus
was invisible.
Also, a lot of code is removed by this change.
Task-number: 256470
Reviewed-by: Sami Merila
modified: src/gui/styles/qs60style.cpp
modified: src/gui/styles/qs60style.h
modified: src/gui/styles/qs60style_p.h
|
| | |
| | |
| | |
| | |
| | | |
We only have to do it when the opacity changes (in ::setOpacity).
Also, we cannot do the cut-off when the effect has an opacity mask set.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Opacity masks enable you to make portions of an element transparent.
More information about opacity masks here:
http://msdn.microsoft.com/en-us/library/ms743320.aspx
Reviewed-by: Samuel
|
| | |
| | |
| | |
| | |
| | | |
We are only interested in the difference between the original transform
and the transform set on the painter we're about to use.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently there are some differences in behavior and availability
of information between the interpreter and the JIT. This is now
documented as expected failures in the relevant autotests.
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Gunnar
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
QGLWidget::renderText() needs to respect the current depth and scissor
tests that the user has set. Therefore we needs some special casing in
the GL 2 paint engine to handle the custom depth testing. The private
setRenderTextActive() has been added for this purpose.
Reviewed-by: Samuel
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Samuel
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Symbian loader does not allow DLL import relocations in the data
section. To workaround this, added an accessor function which can be
used to get the class static metadata from the base class even if it is
in another DLL.
Changing the implementation for all platforms would cause a binary
break, so it is only used for Symbian. The Q_NO_DATA_RELOCATION macro
is used to configure this feature instead of Q_OS_SYMBIAN, because
it is possible another platform may need the same fix and Symbian may
eventually fix their DLL loader to support this feature.
Task-number: 258893
Reviewed-by: Kent Hansen
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: trustme
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ungrabKeyboard was called on an item without checking whether it was a
keyboard grabber.
Reviewed-by: bnilsen
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Trond
|
| |\ \ \ |
|
| | |\ \ \ |
|
| | | | | | |
|