summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the QMenu to open submenus even if the pointing device is movingThierry Bastian2009-06-031-5/+7
| | | | | | | but the current highlighted item doesn't change Task-number: 254238 Reviewed-by: ogoffart
* Removed a warning (qreal should be used, and not float)Thierry Bastian2009-06-031-1/+1
|
* fix silly typoKent Hansen2009-06-032-2/+14
| | | | | | | | | | Yeesh. The function worked for the common case of the argument being a plain script object (obviously, otherwise this would have been discovered sooner), but it would never pick the less expensive path when replacing the QObject pointer of an existing proxy. And if you passed in a QVariant proxy (now who would ever do something like that...?), it would assert.
* force activation of minimized windows on Windows mobileJoerg Bornemann2009-06-031-1/+5
| | | | | | | | | | | When pressing the <- key on a Windows mobile device, the window gets a minimized event (no other soft keys behave like that). Restoring the window via the app menu isn't possible, because the window get a WM_ACTIVATE but its internal state is still minimized. It makes sense to unminimize activated apps on Windows mobile. Task-number: 254673 Reviewed-by: thartman
* Fix webkit import from the trunk.Simon Hausmann2009-06-031-5/+1
| | | | | | Updated the file list, the SVG filters have been removed. Reviewed-by: Trust me
* qdoc: Fixed some spacing problems.Martin Smith2009-06-032-13/+20
|
* qdoc: Fixed constructor position in summary lists.Martin Smith2009-06-031-1/+1
| | | | | | | | | | | The constructors had been displayed in the left column of the table in the summary list, because there was no type. It was caused by a strange test of the match index for 0, which was true for constructors and destructors, anything without a type. I removed that test, since I couldn't figure out what it was for. We might see problems elsewhere in the docs because of this, so beware. I didn't see any, but that test must have been there for some reason.
* fix signal signature bug in debug outputKent Hansen2009-06-031-2/+2
| | | | | The signal code (first character of const char *signal) is stripped internally, so the debug output code should not skip any characters.
* don't require use of SIGNAL macro in calls to addTransition()Kent Hansen2009-06-032-2/+31
| | | | | Just as with the QSignalTransition::signal property, this makes it possible to use the function from language bindings (e.g. QtScript).
* fix qdoc warningKent Hansen2009-06-031-1/+1
| | | | No need to link to the class in its own doc page.
* fix typosKent Hansen2009-06-032-2/+2
| | | | Copy&paste error; the classes are in Gui, not Core.
* use of QMutexPool to reduce the number of Q_GLOBAL_STATIC in theThierry Bastian2009-06-032-36/+40
| | | | animation framework
* missing opening paragraph tagFrederik Schwarzer2009-06-031-1/+1
| | | | | Merge-request: 578 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Implemented QGLTextureGlyphCache to avoid wasting glyph cache memory.Samuel Rødal2009-06-037-58/+255
| | | | | | | | | Now there's only a copy of the texture glyph cache in graphics memory, avoiding the system memory copy that we used earlier. In addition the texture will use the GL_ALPHA texture format when possible, making it consume less graphics memory as well. Reviewed-by: Tom
* Doc: Modified the property documentation to relax the restriction onDavid Boddie2009-06-021-4/+4
| | | | | | | const getter functions. Task-number: 254722 Reviewed-by: Trust Me
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-06-0210-31/+65
|\
| * Revert "Avoid a crash when setting a focus in a widget hierarchy containing"Denis Dzyubenko2009-06-021-3/+2
| | | | | | | | | | | | This reverts commit a5b11b9031f9a2a97b65e9a6134244249845491a. The proper fix is 1a7da7096bbda17197738061902f4489af234bc0.
| * Merge branch '4.5'Denis Dzyubenko2009-06-0211-33/+68
| |\
| | * Avoid a crash when setting a focus in a widget hierarchy containingDenis Dzyubenko2009-06-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | both visible and invisible widgets. This is a quick hack to avoid a crash in Qt when setting a focus on a visible widget that has invisible parent. Proper fix was committed into master 1a7da7096bbda17197738061902f4489af234bc0, see it's description for more details. Task-number: 254563 Reviewed-by: Thierry Bastian
| | * BT: Remove duplicate code and fix font parsing.Norwegian Rock Cat2009-06-022-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Correct invalid font.Norwegian Rock Cat2009-06-021-1/+1
| | | | | | | | | | | | QFont() returns the app font, not an invalid font.
| | * Fixed aspect ratio on WindowsThierry Bastian2009-06-022-0/+3
| | | | | | | | | | | | | | | | | | - When changing the aspect ratio, the video wouldn't update. - The VMR9 can in some cases try to manage the aspect ratio itself and then fights our system. This is now disabled.
| | * Use a QVarLengthArray instead of some hacky self-made containerHarald Fernengel2009-06-021-12/+3
| | | | | | | | | | | | | | | | | | | | | This won't leak on error case, and will work with arbitrary sizes. Also changed from int to short as instructed by Samuel. Reviewed-by: Samuel <qt-info@nokia.com>
| | * My Changelog for 4.5.2Peter Hartmann2009-06-021-0/+10
| | |
| | * Changelog for 4.5.2Denis Dzyubenko2009-06-021-0/+5
| | |
| | * Doc - changing the "main layout" term to "top level widget's layout" toKavindra Devi Palaraja2009-06-022-7/+12
| | | | | | | | | | | | | | | | | | | | | 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
| | * BT: Fixed crash on Mac caused by erroneous handling of native focus events.jasplin2009-06-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * My 4.5.2 changes for the changelog.Samuel Rødal2009-06-021-1/+25
| | |
* | | Merged changes to the string builder class.David Boddie2009-06-021-3/+3
|/ / | | | | | | Reviewed-by: Trust Me
* | Setting a focus on a widget hierarchy which contains both visible andDenis Dzyubenko2009-06-022-1/+45
| | | | | | | | | | | | | | | | | | | | | | invisible widgets could cause a crash. Also, when there is a widget hierarchy A->B->C and A and C are marked as visible but B is hidden, when the user gives focus explicitely to C, we should remember that and respect it when B becomes visible. Task-number: 254563 Reviewed-by: Thierry Bastian
* | Ensure small and mini headers aren't bigger than "large" ones.Norwegian Rock Cat2009-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | We were only "constraining" headers if they were large, but ignoring the small and mini ones. This resulted in the small and mini headers looking bigger than their normal ones which looked strange. Since the headers have no real small or mini size for a header, we'll make sure to constrain them all the same. Task-number: 221115 Reviewed-by: Richard Moe Gustavsen
* | qdoc: Changed the css to make more people happy.Martin Smith2009-06-022-11/+11
| | | | | | | | | | | | | | No more fonts less than 100%. Toned down the green lines separating table rows, now gray (or we can try a softer green). Made the table widt 100%. More coming. the constructors still aren't aligned properly.
* | Removed an ifdef in QLocale that breaks the One Definition Rule.Denis Dzyubenko2009-06-022-3/+0
| | | | | | | | | | | | | | | | | | | | | | From a merge request #553 by Gordon Schumacher: During a build internal to Qt, if a header included by qlocale.cpp itself includes qlocale.h, then QLOCALE_CPP will never be set. If you attempt to build qmake from its own .pro file, qmake_pch.h includes qtextstream.h, which (now) includes qlocale.h, thus causing a compile error trying to call the QSystemLocale(bool) function Inspired-by: Gordon Schumacher <gordon@rebit.com>
* | Integrate merge-request #564 into branch 'master'Denis Dzyubenko2009-06-021-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | Thiago Marcos P. Santos (1): Fixed sub-attaq example build Request-url: http://qt.gitorious.org/qt/qt/merge_requests/564 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
| * | Fixed sub-attaq example buildThiago Marcos P. Santos2009-05-291-0/+2
| | |
* | | Improve detection of monotonic timer supportBradley T. Hughes2009-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some older systems support monotonic timers, but not POSIX.1-2001. The sysconf() function is documented to return -1 if a feature is not supported, otherwise it returns a value that's dependent on it's argument. For POSIX.1-2001 compliant system, the value is 200112L, but on other systems it may just return 1, for example. Because of this, we check for the -1 return value (feature missing), instead of relying on a specific (positive) return value.
* | | Integrate merge-request #573 into branch 'master'Eskil Abrahamsen Blomfeldt2009-06-021-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | jieshuzheng (1): Remove the redundant timer kill and start when the two Request-url: http://qt.gitorious.org/qt/qt/merge_requests/573 Reviewed-by: Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>
| * | | Remove the redundant timer kill and start when the twojieshuzheng2009-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QTimer::start(int) is made in succession If you restart the QTimer like the following code snippet shows, the timer will get killed and started twice. QTimer timer; timer.start(100); timer.start(1000); Since QTimer::start(int msec) calls QTimer::setInterval(int msec), and QTimer::setInterval(int msec) will kill the timer and start another one if there is already a timer running. And QTimer::start() will do the same thing again. It is a performance penalty here. Under Windows, it will result in one extra call of SetTimer(). And under Symbian, it will result in one extra new and delete of CPeriodic and adding and removing it from AS.
* | | | Change QDesktopServices::TempLocation on Mac to be the same as QDir.Norwegian Rock Cat2009-06-021-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the past, TempLocation would return something like: /private/var/folders/4k/4k97GBy2Ha46D3DAWSLbQE+++TI/TemporaryItems Now it returns something like: /var/folders/4k/4k97GBy2Ha46D3DAWSLbQE+++TI/-Tmp- This isn't that different and it's a temporary location so it shouldn't effect many people (and it will be gone once the system reboots anyway), but the issue could be that TemporaryItems isn't there and that it's a bit more "Carbon" to use TemporaryItems. Also our own documentation claims they are equivalent and I'm happy to do that. I also enforced the Qt-style of if-statements and got rid of the extra qualifiers to make the code look nicer. Task-number: 253806 Reviewed-by: Morten Sørvig
* | | | Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-06-0225-252/+335
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp tests/auto/selftests/expected_skip.txt tests/auto/selftests/tst_selftests.cpp
| * | | Fixes possible infinite loop in QApplication::topLevelAtJoão Abecasis2009-06-021-4/+4
| | | | | | | | | | | | | | | | | | | | KDE Bug: https://bugs.kde.org/show_bug.cgi?id=191759 Reviewed-by: Bradley T. Hughes
| * | | My changes for Qt 4.5.2.Norwegian Rock Cat2009-06-021-0/+18
| | | | | | | | | | | | | | | | Better late than never.
| * | | Improve readability of QDFBWindowSurface::scrollAnders Bakken2009-06-011-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | The batch-blits buys us nothing and this is much more readable. Reviewed-by: TrustMe
| * | | Fixed failure of tst_Selftests::checkXML.Rohan McGovern2009-06-013-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick of 548da9a5434d615456a7a6efda3380b7138c6000 and some earlier changes predating public repo. Note that this test is not failing if using Qt 4.5 only. However, it fails if using Qt 4.5 selftests against Qt master testlib. We want to be able to use master testlib to run 4.5 testcases, and this change does no harm when using Qt 4.5 testlib, so backport it to 4.5 for convenience. Original change description follows: A few tests use printf, which means they interfere with the XML test logging. Blacklist them for the XML test. Note that these tests happened to pass under the old test logger implementation. That was because the test logger always printed XML tags on a single line, and the printf calls contained no special XML characters. The test logs generated were technically valid XML but contained extraneous text.
| * | | Don't support porter duff |= source overAnders Bakken2009-05-291-96/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | Removed nested comment signature in the doc to fix a warning.Denis Dzyubenko2009-05-291-1/+1
| | | | | | | | | | | | | | | | Reviewed-by: David Boddie
| * | | Remove unused variable.Alexis Menard2009-05-291-1/+0
| | | |
| * | | Fixed a crash in the GL 2 paintengine when drawing text.Trond Kjernåsen2009-05-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new glyph cache may return null images for e.g. space characters. Task-number: 253468 Reviewed-by: Samuel BT: yes
| * | | Remove the fixFilename() usage from the solution generatorMarius Storm-Olsen2009-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the Solution Generator was using the fixFilename() function, so under some circumstances the solution filename wouldn't find the correct vcproj file to include. This created a problem with network-chat.vcproj. Task-number: 254772 Reviewed-by: joao
| * | | New configure.exe binaryMarius Storm-Olsen2009-05-291-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: 254451 Reviewed-by: trustme BT: yes