| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
in atomic operations, we declare Interlock... functions in the namespace
That can confuse the compiler because they are also declared in another
header outside the namespace.
Same problem in clucene where we include windows.h from within the NS.
Task-number: 254214
Reviewed-by: ogoffart
(cherry picked from commit 7bc17b5b9ff9f2e3e04f36fec8ccbb546d9b7a31)
|
|
|
|
| |
(cherry picked from commit e8c6c0cf4d341572e4740940590b0301d208d239)
|
|
|
|
| |
(cherry picked from commit d69f28f00fe7efda12f9bb236ecd6a0de39232e4)
|
|
|
|
|
|
|
|
| |
The example SVG must be deployed on Windows CE devices to be used.
Reviewed-by: mauricek
BT: yes
(cherry picked from commit 0068bd9279b5f7a12f00ffea66cb264930f88138)
|
|
|
|
|
|
|
|
|
|
|
|
| |
QFont has a feature that you can pass a comma-separated list and it will
walk through the list and match the font that it hits first. There's a
nice static function that X11 and Windows uses, but the Mac was using an
older copied version of it. This old version didn't handle quoting which
is what happens in the style sheet. So, using the same code makes
everything work well. As a bonus, Creator looks correct again.
Reviewed-by: Simon Hausmann
(cherry picked from commit ad46e77420449ede2cb6c1ea2a810a2614520db9)
|
|
|
|
| |
(cherry picked from commit 4ae7a683217eb2a7e9fc2fe2ed173e7da277038b)
|
|
|
|
| |
(cherry picked from commit 9dc7a011e798c24b4dd8b19a74b42c61f52a1328)
|
|
|
|
|
|
|
|
| |
preserve some consistency. Also added a screenshot of the Object
Insepector displaying a form where its widget has no top level layout.
Reviewed-By: TrustMe
(cherry picked from commit 9b53bb583ca7e74c737683d85593e4a97107a777)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Mac, a widget with a NoFocus policy could still get focus
(if only temporarily) as the result of a native focus event.
In particular, a line edit with a completer should
not lose focus (if only for a brief moment) as a result of the
completer popup being shown. This will for example cause an
item delegate to think that the user has navigated away from
the cell and delete the line edit as a result. This will in turn
cause the completer to access a null pointer.
Reviewed-by: Richard Moe Gustavsen
Task-number: 254456 and 254460
(cherry picked from commit 7314c07a3e443b1d5349b419a03db8d41ca43f7e)
|
|
|
|
| |
(cherry picked from commit 8f16a4f1638fd661e74c6aa60822cd9ef17e5003)
|
|
|
|
|
| |
Better late than never.
(cherry picked from commit 5dca661dc78d8eb0489e7debf342a0869ae75a43)
|
|
|
|
|
|
|
|
|
| |
DirectFB and Qt treats these things rather differently so the mapping
just doesn't work very well. Only use DirectFB for SourceOver stuff
(which is the default mode anyway)
Reviewed-by: Donald <qt-info@nokia.com>
(cherry picked from commit 5f1ec2a20d13b9ca9bae1b7b40692925dcd99051)
|
|
|
|
|
|
|
|
|
|
| |
Previously we allowed RGB32 but forced fallbacks for all drawing
operations. It turns out blitting operations doesn't work right either
so we'll rather just disallow this format altogether. See also
36ae58e7a6a888d3ae7bd162d59daada550bbfb1
Reviewed-by: Donald <qt-info@nokia.com>
(cherry picked from commit 36bc35c451b6123b0e237430343a80db8a600b24)
|
|
|
|
| |
(cherry picked from commit 28305c37a1874be6919c316be03fff2aaf3d94cb)
|
|
|
|
|
|
|
|
|
| |
The new glyph cache may return null images for e.g. space characters.
Task-number: 253468
Reviewed-by: Samuel
BT: yes
(cherry picked from commit 13815a0768236982a025833497d3e2a2f3b6acf6)
|
|
|
|
|
|
|
| |
Task-number: 254451
Reviewed-by: trustme
BT: yes
(cherry picked from commit 87acb1722d9db66aa01d238b6e4ac90dfe095ff0)
|
|
|
|
|
|
|
| |
Task-number: 254451
Reviewed-by: eskil
BT: yes
(cherry picked from commit e08f3e7bf3dbae6036ab89248793b98330971269)
|
|
|
|
|
|
| |
Task-number: 254549
Reviewed-by: TrustMe
(cherry picked from commit f67bc13bc8e2d2c76d7d9f12abb1dbda85abe337)
|
|
|
|
|
| |
Reviewed-by: TrustMe
(cherry picked from commit 2a986b86f841b798cc754fe5c5390c6fee95ce71)
|
|
|
|
|
|
|
|
|
|
| |
We were adding two times in the QActionPrivate list the entry for
the current QGraphicsWidget if the action was existing before.
Task-number:KDE
Reviewed-by:bnilsen
BT:yes
(cherry picked from commit 4a82680736ace8abb46e6fb5e085e8622f154b2d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An optimization was made to the sorting of QFileDialog to sort only
the current root (meaning what the user see). This avoided slowness
when the model was big with lots of leafs. The problem here is
for the treeview, the root is always the same, we expands only
nodes. In that case, a recursive sorting is needed to ensure that
all expanded nodes are correctly sorted (and filtered). This will
be slower that's why i use an hidden flag in the d pointer to
deactivate the recursive sort for the QFileDialog.
Task-number:254701
Reviewed-by:olivier
BT:yes
(cherry picked from commit 8e4300e2866fd28881853509df6ff054e13f841b)
|
|
|
|
|
| |
Reviewed-by: Kim
(cherry picked from commit 8e2d3cc2e84b6d8109c30a853ea40ff9cfa29bcc)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a form is loaded, Designer will set the path to the resource as
an absolute path rather than the path actually stored in the file. There
is code to work around this to make file paths relative when saving the
file later on, but no work around for Qt Jambi. So when saving Qt Jambi
forms, you would get an absolute path to the resource which contains the
location of the resource file (.jar or on disk) This of course breaks
the concept of resources, as the .jui file was no longer portable. The
fix is to special case Qt Jambi resources and set the relative path
when loading them.
The patch has no effect on regular Designer.
Task-number: 254621
Reviewed-by: Kai Koehne
(cherry picked from commit 8ed5931925b4e8ed8f098b5c36e1378f95d7d25a)
|
|
|
|
|
|
|
|
|
|
| |
Additionally we turn -ltcg on by default on Windows CE.
See commit 56191830 for details.
Reviewed-by: mauricek
BT: yes
(cherry picked from commit b2a1e5938e1abf45d70cbfa7ec1ab0c21c01911d)
|
|
|
|
|
|
|
|
|
|
|
| |
Make use of setInformativeText in qmessagebox for aboutQt dialog for
now. Proper fix might be to add scrollable widget to the dialog, or
split the about info into several pieces, though it cannot be done in a
patch release.
Task-number: 254464
Reviewed-by: Trenton Schulz
(cherry picked from commit abed949f0de16c94a146a965a13b38493cde6671)
|
|
|
|
| |
(cherry picked from commit 695e49acfb34ffb5b61fddbd6afff9f1281e8299)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was already fix. But there was still a frame if there was a
stylesheet on the applicaiton.
The reason is that the frame's constructor call the style for some
hints. And later the combobox will query the style again for the frame
hint, before the view get polished.
The problem is that the StyleSheetStyle will fill the css cache with
wrong information on the first call.
This is not visible if there is no stylesheet as in the constructor, the
widget style is still the default application stylesheet if there is no
global applicaiton stylesheet.
Task-number: 254589
Reviewed-by: jbache
BT:
(cherry picked from commit d0bc0a26f8ac4c2f02819c262b8aa7c3dd1cad3b)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use a union instead of an unsafe cast when swapping the bytes in
the QDataStream streaming operators. The old seems to cause problems
with Link Time Code Generation optimizations with the MSVC compilers.
Task-number: 247708
Reviewed-by: Samuel
Reviewed-by: Thiago
BT: yes
(cherry picked from commit 2c1b11f2192fd48da01a1093a7cb4a848de43c8a)
|
|
|
|
|
|
|
|
|
| |
The problem was that we don't clear the selection model if the previous
selection was valid.
Task-number:251341
Reviewed-by:jasplin
(cherry picked from commit 8bf5a6986db852525582713cc2f2a760df4fdc60)
|
|
|
|
|
| |
Reviewed-by: Marcel Schuette
(cherry picked from commit f61056a556259c12a6de23f12756e45737345111)
|
|
|
|
| |
(cherry picked from commit 1164e61393349fc3d6bf06d0789fa6ea2cfb5909)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reworked the 85f98acaa3a38079071bea711e43c9a86edec1f6 fix, since
it broke glyph positioning in the GL engine under Windows.
Instead of changing the glyph cache margin, which impacts where
the glyph is positioned, we just make the image the glyph is drawn
into 4 pixels bigger in width/heigth.
The margin in QImageTextureGlyphCache needs to be reworked..
Task-number: 254450
Reviewed-by: Eskil
(cherry picked from commit 871b730da203cef773e159960532888522f16a0b)
|
|
|
|
|
|
|
| |
Correcting invalid padding values. none is not a valid padding value.
Rev-by: David Boddie
(cherry picked from commit 8a2ca9b0d8ed23cec44e40f61c0f4983fbc55282)
|
|
|
|
|
|
|
| |
That was a bug in the exemple.
Reviewed-by: Kavindra Palaraja
(cherry picked from commit 2c8348f5ccf62be31479dcd78282395a98eed76f)
|
|
|
|
| |
(cherry picked from commit aec18b0eea741da58a02f7ad95ab5ee9dccfce6c)
|
|
|
|
| |
(cherry picked from commit c37c8370e4897d2e6191df2d1ccde43830ffb8d0)
|
|
|
|
|
| |
Details: Work in progress
(cherry picked from commit 72ecfb3eb9b65ed2617942510fa0c9af5075f209)
|
|
|
|
|
|
|
|
|
|
|
| |
Adding docs to toHtml() and toPlainText()
Task-number: 253088
Rev-by: Ariya Hidayat
Rev-by: David Boddie
(cherry picked from commit 54f92419b23b425e32ad573db17f608a67936df1)
|
|
|
|
|
|
|
|
|
|
|
| |
When creating a UI based on double types we only assigned the
control pointer in certain cases. This would crash because the
tooltip did not check for the pointer, but the real issue was that
we didnt assign the control in the first place.
Task-number: 249710
Reviewed-by: Richard Moe Gustavsen
(cherry picked from commit 3037e466ebf21aa4a47a722a1e2ff497690cbef5)
|
|
|
|
|
| |
Reviewed-by: Maurice Kalinowski
(cherry picked from commit 337ffb38e35ca43e4119ac0634499b226137692e)
|
|
|
|
|
| |
Task-number: 245501
(cherry picked from commit 57df8bc3ddd2bc5aaf5c25cf3e311fe56ad50ffb)
|
|
|
|
|
|
|
|
| |
The example was installed in the wrong directory.
Task-number: 254452
Reviewed-by: Kim
(cherry picked from commit 86598234d8c055fe8dbc474d292619d453cc9f56)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the model initially
This was caused by two different bug:
- In the QSortFilterProxyModel, we need to re-sort when setting the
source model change the sorting column (happen when setting a model
initially)
- In the treeview, we need to activate the sorting even if there is no
column yet (because the initial model is empty
Task-number: 254234
Reviewed-by: Thierry
BT:
(cherry picked from commit 2a390bb481a2433a239a9198e463c9337a26db59)
|
|
|
|
|
| |
Task-number: 246789
(cherry picked from commit e7a607f0f1f7837a26bf95248504497b0534e357)
|
|
|
|
|
|
|
|
|
|
| |
Before adding a / to the path one should check if it doesn't end with
one already. Otherwise one might get paths like //My Documents on
WinCE causing the native call to crash the filesystem service on that
system.
Reviewed-by: alexis
(cherry picked from commit 5839b16a73c36ff7636c13f841d26e6a5e0c5435)
|
|
|
|
|
|
|
|
|
|
| |
If a QCursor with a predefined shape is declared static, it could be
destroyed after the application dtor has already cleaned up QCursor
memory.
Task-number: 254467
Reviewed-by: Rhys Weatherley
(cherry picked from commit 682b854872c26d7408d79131217825fb8ddace6a)
|
|
|
|
|
|
|
|
|
|
|
|
| |
to the socket connection. (Reviewed - see below.)
Also included corrections to the description of how to send SocketError
and SocketState values via signals. (Trust me - as part of an earlier
revision of the custom types documentation.)
Task-number: 222907
Reviewed-by: Andy Shaw
(cherry picked from commit a4ca38bab521e1f0095b9c90c4623ca9d41d219b)
|
|
|
|
|
|
|
|
| |
We need to resolve the issues around the use of Thumb code in Qt and
automate the building and comparison of libraries.
Reviewed-by: Trust Me
(cherry picked from commit bbefe9e67366151e2286a2ff6bee0d1009b2a12c)
|
|
|
|
|
|
|
|
| |
As reported on qt-interest:
http://lists.trolltech.com/pipermail/qt-interest/2009-May/007036.html
Reviewed-by: Trust Me
(cherry picked from commit 23820c30052ea23ecf2226c300fc4819dd294306)
|
|
|
|
|
| |
Reviewed-by: Trust Me
(cherry picked from commit 8b34bd541c6aa201c4d872210228bce8217a5e03)
|