summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Initial import of kinetic-dui branch from the old kineticMichael Brasser2009-04-221209-1732/+138782
|
* Make sure tooltips are shown properly in popups.Jan-Arve Sæther2009-04-172-4/+30
| | | | | | | | | | | | | | | | | | The problem was that if you had child widgets of a popup, only child widgets that had hasMouseTracking() == true received the ToolTip event. This was because in order for a widget to receive a ToolTip, it relied on the MouseMove event. It still relies on the MouseMove event, but the problem with the previous code was that it did not even *try* to deliver the MouseMove event to the widget that did not have mousetracking. And it was the code that "tried" to deliver (QApplication::notify()) the event that also was responsible of finding which widget it should get the tooltip from. Unfortunately the previous code did not even enter QApplication::notify() because of that early cut-off. The result was that the event was propagated up to the parent widget (which was the popup) and consumed by the popup. (Nothing would happen unless the popup itself had a tooltip). This is also how translateMouseEvent() is implemented in qapplication_x11.cpp.
* Merge commit 'remotes/tb-optim/qvariant-optimizations'Thierry Bastian2009-04-173-60/+88
|\
| * make construction for known type fasterThierry Bastian2009-03-312-23/+34
| | | | | | | | There is one less test thanks to usage of reference instead of pointers
| * make the float constructor inline (improves construction/destruction ↵Thierry Bastian2009-03-312-3/+1
| | | | | | | | performance by 20%)
| * small change wrt to destruction (patch suggested by ogoffart)Thierry Bastian2009-03-311-5/+9
| |
| * add proper support for floats to QVariantThierry Bastian2009-03-262-7/+21
| |
| * Improved qVariantSetValue by reusing the internals if possibleThierry Bastian2009-03-261-1/+12
| | | | | | | | | | This is possible if the type is the same of type < Char (simple types)
| * small simplification in internals of QVariantThierry Bastian2009-03-261-25/+4
| | | | | | | | constDataHelper dones't need to know about the type if the variant
| * Added template to the private classes to avoid double allocation in QVariantThierry Bastian2009-03-261-7/+18
| |
| * Avoids calling function pointer in constructor of QVariantThierry Bastian2009-03-261-23/+23
| | | | | | | | Instead, it calls directly the v_construct template function.
* | Fix QGraphicsView::mapToScene(QRect) to avoid extra adjustments.Andreas Aardal Hanssen2009-04-172-18/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The QGraphicsView::mapToScene(QRect) function assumes that QRect and QRectF share semantics for ::bottomRight(). However, since QRect follows Qt 3 semantics (the rect is based on viewport pixels and (0,0,1,1) is equivalent to one pixel, topleft = bottomright), this function gives unexpected behavior: map(0,0,1,1) gives you an empty polygon! To work around this, users of the function need to adjust their rectangles with (0,0,1,1) to get the correct behavior, matching what QRectF does. QRectF(0,0,1,1).bottomRight() == QPointF(1,1) QRect(0,0,1,1).bottomRight() == QPoint(0,0) Reviewed-by: TrustMe
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-04-17179-2194/+917
|\ \ | | | | | | | | | | | | Conflicts: tests/auto/qpainterpath/tst_qpainterpath.cpp
| * | Fix obsolete version number in docs.Jason McDonald2009-04-171-3/+1
| | | | | | | | | | | | | | | | | | | | | Use %VERSION% so that we don't have to fix this for every release. Task-number: 251418 Reviewed-by: Trust Me
| * | Wrong version number in windows installation doc.Jason McDonald2009-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Doc still referred to 4.4.0-rc1 - replace with %VERSION% so we don't have to keep updating this. Task-number: 251419 Reviewed-by: Trust Me
| * | Remove out-of-date Cocoa known issues page.Jason McDonald2009-04-171-168/+0
| | | | | | | | | | | | | | | | | | | | | | | | This page is not linked from anywhere, and its content is horribly out-of-date. Task-number: 251420 Reviewed-by: nrc
| * | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Jason McDonald2009-04-171-1/+4
| |\ \
| | * | Line edit displays garbage when pressing up or down arrow keys (Cocoa).Prasanth Ullattil2009-04-171-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unicode characters between 0xF700 & 0xF8FF are special function-key code characters used by the NSEvent. These characters have to be ignored when converting to a QString. Task-number:244486 Reviewed-by:nrc
| * | | Fix incorrect year and version number in assistant docs.Jason McDonald2009-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | Task: 251421 Reviewed-by: Trust Me
| * | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Jason McDonald2009-04-179-21/+42
| |\ \ \ | | |/ /
| | * | Updated WebKit from /home/shausman/src/webkit/trunk to origin/qtwebkit-4.5 ( ↵Simon Hausmann2009-04-175-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 450331808bfe11b1472c213a8cb311190355c2de ) Changes in WebKit since the last update: ++ b/WebCore/ChangeLog 2009-02-04 Simon Hausmann <simon.hausmann@nokia.com> Unreviewed Qt build fix. Changed ASSERT(image) to ASSERT(!image.isNull()). * platform/graphics/qt/ImageBufferQt.cpp: (WebCore::ImageBuffer::getImageData): ++ b/WebKit/qt/ChangeLog 2009-03-07 Adam Treat <adam.treat@torchmobile.com> Reviewed by Cameron Zwarich. These methods are clearly returning the wrong values as the two were returning swapped information. * Api/qwebpage.cpp: (QWebPage::totalBytes): (QWebPage::bytesReceived):
| | * | Add my bugfix.Ariya Hidayat2009-04-171-0/+1
| | | |
| | * | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Jarek Kobus2009-04-17210-2891/+3388
| | |\ \
| | * | | Fix management of svg iconsJarek Kobus2009-04-173-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | Task: 251248 Revieved-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
| * | | | BT: Fix version number in FAQ.txt.Jason McDonald2009-04-171-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Don't state a specific version number, or we'll keep forgetting to update it. Task-number: 251338 Reviewed-by: Trust Me
| * | | Allow -help to be used in a non-eval package.Lincoln Ramsay2009-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous logic caused a license check when the eval license file was missing. Reviewed-by: Jason McDonald Task-number: 251339
| * | | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Rhys Weatherley2009-04-171-5/+4
| |\ \ \
| | * | | BT: Whats new doc page has a link to changes-4.5.0 file instead of 4.5.1Jason McDonald2009-04-171-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restore the text that is omitted for a minor release but included in patch releases. Also fixes obsolete link to changes files. Reviewed-by: Trust Me
| * | | | Document my QGLFramebufferObject changeRhys Weatherley2009-04-171-0/+3
| |/ / /
| * | | Fixes long strings getting truncated by the ODBC Driver.Bill King2009-04-162-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This test has always been wrong/confusing. Fix it to work, and make sense. Task-number: 250026 Revby: Lincoln Ramsay
| * | | Document my changes for 4.5.1Rhys Weatherley2009-04-161-0/+6
| | | |
| * | | Use setContentsMargins() instead of setMargin().Jan-Arve Sæther2009-04-161-2/+2
| | | | | | | | | | | | | | | | setMargin() is deprecated.
| * | | CompileOlivier Goffart2009-04-161-1/+1
| | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| * | | QSortFilterProxyModel: In dynamic filter model, childs of temporarlyOlivier Goffart2009-04-162-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filtered items are not correctly updated. when filtering away a row, we should remove all the mapping of the children Task-number: 251296 Reviewed-by: Marius Bugge Monsen
| * | | BT:Stop widgets disappearing in unified when clicking the toolbar buttonNorwegian Rock Cat2009-04-161-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The comment in the code pretty much says it all, so I'll repeat it: This is a workaround for NSToolbar. When a widget is hidden by clicking the toolbar button, Cocoa reparents the widgets to another window (but Qt doesn't know about it). When we start showing them, it reparents back, but at this point it's window is nil, but the window it's being brought into (the Qt one) is for sure created. This stops the hierarchy moving under our feet. Task-number: 251294 Reviewed-by: Prasanth Ullattil
| * | | Remove some warningsNorwegian Rock Cat2009-04-161-2/+2
| | | | | | | | | | | | | | | | These aren't used in Carbon, so don't reference them.
| * | | First round of change log cleanups.Kavindra Devi Palaraja2009-04-161-35/+46
| | | | | | | | | | | | | | | | | | | | Reviewed-by: TrustMe BT: Yes
| * | | Phonon autotest - checking if the backend plugin is actually deployedThomas Hartmann2009-04-161-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In tst_mediaobject we check now explicitly if the backend plugin is deployed to the device. Since this check is done in initTestCase we also avoid a crash if the check fails. Reviewed-by: Maurice
| * | | log my changesOswald Buddenhagen2009-04-161-2/+14
| | | |
| * | | Doc - Changed the namespace in the qdocconf file to reflect Qt 4.5.1Kavindra Devi Palaraja2009-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: 251346 Reviewed-by: TrustMe BT: Yes
| * | | Doc - Changed the link provided in the README file to one that does notKavindra Devi Palaraja2009-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | have a version number, so we do not have to update it each release. Task-number: 251352 Reviewed-by: TrustMe
| * | | Doc - Some minor cleanups in the documentation of QInputDialog. AlsoKavindra Devi Palaraja2009-04-162-88/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | marked getInt() as since Qt 4.5 and finally modified the StandardDialogs example to reflect the fact that getInteger() is deprecated. Task-number: 251288 Reviewed-by: nrc <qt-info@nokia.com> BT: Yes
| * | | Fix QPrinter::setPrinterName()/QPrinter::printerName() on the Mac.Trond Kjernåsen2009-04-162-28/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QPrinter::printerName() used to return the CUPS printer queue name instead of the user-set printer name, which was wrong. In addition, if trying to set the printer name to a non-valid printer, the default printer was still used internally, which is not correct. As sonn as an invalid name is set, the printer now enters an invalid state, which it can only get out of by setting a valid printer name. Task-number: 199271 Reviewed-by: Gunnar
| * | | fix reading problem on 64-bit machines in QProcess and socket enginePeter Hartmann2009-04-163-22/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QProcessPrivate and QNativeSocketEnginePrivate were reporting a wrong number of bytes available on 64-bit machines, due to use of size_t in ioctl. That was required by Irix, which we dropped support for, so we can also drop size_t Reviewed-by: Thiago Task-number: 249537
| * | | Add a warning for trying to connectToHost() when disconnecting.Thiago Macieira2009-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now, we print this warning if connectToHost() is called when we're in ConnectingState (waiting for remote to SYN,ACK) or in ConnectedState. This also means connectToHost() allows interruption of the HostLookupState cleanly (I think). But if you called connectToHost() right after disconnectFromHost() and there were data to write, the connectToHost() could discard the pending outgoing data and reconnect. Or not, depending on whether the DNS resolution ended first. In other words, race condition. Reviewed-by: Peter Hartmann
| * | | change log updated for 4.5.1Joerg Bornemann2009-04-161-0/+1
| | | |
| * | | ChangelogRichard Moe Gustavsen2009-04-161-0/+17
| | | | | | | | | | | | | | | | Changelog
| * | | BT: Mac: QtDemo is really sluggish when opening menusRichard Moe Gustavsen2009-04-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has to do with coalesced updates. The easy fix for now is to fix QtDemo itself, meaning: always use a steady timer for redrawing the viewport of the graphics view (as opposed to let each item on screen calling update whenever they move) Task-number: 250667 Reviewed-by: Trenton Schulz
| * | | Fix crash in the SQLQueryModel testsOlivier Goffart2009-04-162-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Amend fd5f83e612729cebc5395c992bd98628bb9ea25f calling fetchMore in create_mapping was a bad idea bacause it may lead to infinite recurtion Make a special case for hasChildren instead Task-number: 250023 Reviewed-by: Marius Bugge Monsen BT: yes
| * | | Remove obsolete code.Jason McDonald2009-04-162-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the last few unnecessary directives using obsolete values of QT_VERSION. There are a few references to old QT_VERSION's left, but they are legitimate and should not be removed. Reviewed-by: Trust Me