| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We know the type of the transformation in these methods, so there is no
point in setting a dirty flag for the type.
Reviewed-by: Samuel
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code so far was converting the rect to a painterpath, mapping
that one and then taking the bounding rect. It is actually sufficient
to simply map the four corners of the rectangle and take the bounding
rect of these four points even in the projective case.
Fix the MAP macro to be more correct for degenerated projective
transformations.
Reviewed-By: Samuel
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When typing directly text cursor is always visible (and if it isn't,
the widget automatically scrolls to make it visible). It should work
the same when typing using input methods.
Task-number: 254766
Reviewed-by: trustme
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
That was wrong to reset environment variable returned with a putenv
since getenv returns a value only. This fix reverts to old behavior
when unsetenv is not available and will leak 20 bytes once on
qapplication initialization.
This fixes 2f4ca8e06be0477503acf2a4bf38a1c76f52e5b1.
Reviewed-by: Bradley T. Hughes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
origin/qtwebkit-4.6-staging ( 751940f0f1fb2599250632d7f0a3ead3930466af )
Changes in WebKit since the last update:
++ b/WebKit/qt/ChangeLog
2009-06-16 David Boddie <dboddie@trolltech.com>
Reviewed by Simon Hausmann.
Doc: Fixed QWebPage::forwardUnsupportedContent documentation and added
more information about Web plugins.
* Api/qwebpage.cpp:
* Api/qwebsettings.cpp:
* docs/qtwebkit.qdoc:
2009-06-16 Morten Engvoldsen <morten.engvoldsen@nokia.com>
Reviewed by Ariya Hidayat.
Clearifying QWebFrame docs
Adding docs to toHtml() and toPlainText()
* Api/qwebframe.cpp:
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The QGraphicsItem::ItemHasNoContents flag ensures that we don't have
to ever paint this item. So let's not mark it as dirty at all (items
are marked as dirty when updated, moved, or transformed).
This is a minor optimization.
Reviewed-by: bnilsen
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Don't waste cycles with constructing a vector with rectangles if
there is only one rectangle in the source region.
Same as 36ff1b507bf2d509019ae8ddd638922b09755c6b, but for
QRegion::intersects(QRect).
Reviewed-by: bnilsen
|
| |
| |
| |
| |
| |
| |
| |
| | |
Don't waste cycles with constructing two vectors with rectangles if
there is only one rectangle in each of the two regions.
Reviewed-by: Lars
Reviewed-by: bnilsen
|
|/
|
|
|
|
|
|
|
|
| |
Hide duplicate separators and separators at the beginning and end of the
menu. The main challenge here is that separators and "normal" menu items
can be added in any order, for example add all the separators first
and then fill in the items. This means that we have to redo the visibility
decision for separators above and below when adding normal items.
Reviewed-by: Prasanth Ullattil
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the item either sets the ItemHasNoContents flag, or if it's invisible
but has child items that are not (and ignore parent opacity), then don't
bother calculating the item's exposed view rect as the item will not get
drawn anyway.
This carves down the number of QTransform::mapRect operations by 25%
when running the Declarative UI calculator transition. We'll proceed
to removing such operations from the markDirty step as well.
Reviewed-by: bnilsen
|
|
|
|
|
|
|
| |
Using QSQLLEN instead of SQLINTEGER, similar to the one used in
qGetIntData().
Reviewed-by: Jens Bache-Wiig
|
|
|
|
|
|
|
|
|
|
| |
The locals model is technically part of the debugger front-end. When it's
deleted we will have detached (or are in the process of detaching) from
the debugger target anyway, which means that the object snapshots will
be cleaned up by the back-end itself. In any case we shouldn't be sending
debugger commands from a destructor, since we're not in a stable state.
For in-process debugging, we were lucky and this magically worked, but
for out-of-process debugging it caused the debugger to crash.
|
|
|
|
|
|
| |
This is a compilation fix reported by pulse agent on HPUXi.
Reviewed-by: Samuel
|
|
|
|
| |
Preparing to make it work with remote debugging.
|
| |
|
|
|
|
| |
Reviewed-by: TrustMe
|
|
|
|
| |
Reviewed-by:TrustMe
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using qFuzzyCompare for checking whether two transformations
are equal doesn't give us too much and is inconsistent with
our other matrix classes. Using simple floating point
equality is a lot faster as well.
Added qFuzzyCompare overloads for QMatrix and QTransform to still
allow for fuzzy comparisons.
Reviewed-By: Samuel Rødal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch basically avoid to call too often currentFileInfo in
QDirIterator. It replaces the QHash that was overkill in QFileInfo for
caching filenames. The last part is reordering the matchesFilter
to avoid stat as much as possible by using the power of && and filters
that are set on QDirIterator. And it fixes some random "mistake".
I have added a benchmark in QDir which test some use case with
10000 files in a dir.
Written-with: Benjamin
Reviewed-by: phartman
|
|
|
|
|
|
|
| |
Switching multisampling is not supported in GLES 2.0, but it's supported
in GL 2.0 so we should do it on desktop at least.
Reviewed-by: Trond
|
|
|
|
|
|
|
| |
GL window surface and GL pixmap backend should work with old GL engine
as well, though not supported to the same degree.
Reviewed-by: Trond
|
| |
|
|
|
|
| |
qtwebkit-4.6-snapshot-15062009 ( 65232bf00dc494ebfd978f998c88f58d18ecce1e )
|
|
|
|
|
|
|
| |
When idc fails to dump IDL, the input executable name is now displayed
on the commnad line.
Reviewed-by:TrustMe
|
|
|
|
|
| |
Width 0 was used as magic value to optimize the widget's startup and initial resize. We
now use the illegal value -1 as magic value insetad.
|
|
|
|
| |
Reviewed-by: TrustMe
|
|
|
|
|
|
|
|
| |
Queries now ask the database object what precision they should be,
allows for setting precision policies on sql models, where previously
this was not available. Also fixes some failing precisionpolicy implementations,
as well as working around the fact qstring can't convert from "123.00" to
an int based type.
|
|
|
|
|
|
|
|
| |
s/y2/bottom()/
Compile.
Reviewed-by: TrustMe
|
|
|
|
|
|
|
| |
Fixes compile error:
debugging\qscriptdebuggercommand.cpp(567) : error C2664: 'QScriptDebuggerCommand::setAttribute' : cannot convert parameter 2 from 'const QStringList' to 'const QVariant &'
Reason: cannot convert from 'const QStringList' to 'const QVariant'
Source or target has incomplete type
|
|
|
|
|
|
|
| |
Fixes compile error:
kernel/qapplication_qws.cpp: In static member function 'static bool QApplicationPrivate::qws_apply_settings()':
kernel/qapplication_qws.cpp:2014: error: no match for 'operator!' in '!QApplicationPrivate::styleOverride'
kernel/qapplication_qws.cpp:2014: note: candidates are: operator!(bool) <built-in>
|
|
|
|
|
| |
MSVC requires the same linkage specifiers to be provided at both the
declaration and definition.
|
|
|
|
| |
Make it possible to reuse more code in remote debugger.
|
|
|
|
|
|
|
|
|
| |
We shouldn't put static variable into the environment since it will
crash if someone tries to access environment after Qt has been
unloaded.
Task-number: related to 217782
Reviewed-by: Bradley T. Hughes
|
|
|
|
|
|
|
|
|
| |
QPixmap shouldn't return true in hasAlphaChannel() for bitmaps, instead
the paint engine should check whether the pixmap is a bitmap or not. In
addition, QBrush::isOpaque() returned true for bitmap brushes, which is
wrong according to the documentation.
Reviewed-by: Trond
|
|
|
|
|
|
| |
Adding missing files for proxy style after commit
4d0cc0b9600f8530bb0e8712b4bb109d1810c4a7
Reviewed-by: trust me
|
|
|
|
| |
Needed for remote debugging.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This class adds convenient support for proxy styles in Qt.
Note that to support proper proxying, styles now
call their functions through proxy() so that the proxy regains control
over subcomponents. Note that there is a small price to be payed
by the extra function call which can at the cost of readability
be redirected to the private class member in the future.
Task-number: 229556
Reviewed-by: trond
|
|
|
|
|
|
| |
Do nothing if both sh and sv is 0.
Reviewed-by: Samuel
|
|
|
|
|
|
| |
Do as little as possible and avoid premulitplication :)
Reviewed-by: Samuel
|
|
|
|
|
| |
Calling premultiplyColor() with a red channel of 255, alpha channel of
255, and opacity 1 would result in a color with red channel of 254.
|
|
|
|
| |
Needed for remote debugging.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The pen color should be used when drawPixmap is called with a bitmap,
and the brush color should be used for texture patterns that are
bitmaps.
Task-number: 245802
Reviewed-by: Trond
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The window surface has been modified to track widget deletion to make
sure it doesn't try to access the widget's context data after deletion.
QGLPixmapData now also uses GL_RGB instead of GL_RGBA when appropriate,
and hasAlphaChannel() has been modified in view of this.
A number of other issues have been fixed in QGLPixmapData, and the
autotest has been modified to use a more lenient pixmap compare function
due to off-by-one pixel errors here and there.
Reviewed-by: Trond
|