summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed qmdiarea autotest regression on CocoaDenis Dzyubenko2010-03-181-1/+2
| | | | | | | | This is an addition to 4256bd2141fef53f9e69a51b966bd85f67a6cf54 - when Cocoa asks as to become first responder we should only tell Qt about it if we are embedded into Cocoa app and there is no Qt widget being focused. Reviewed-by: Prasanth
* Fix JSC export macrosKent Hansen2010-03-182-2/+2
| | | | | | If we're building QtScript, we want the JS_EXPORTDATA and JS_EXPORTCLASS to expand to nothing. This avoids the macros being redefined (incorrectly) on MSVC.
* Minor update for f3f979cbd37f47892cd0c0a9fc23b802ed6f7890Prasanth Ullattil2010-03-181-0/+2
| | | | | | | The function is needed only on Mac. Task-number: QTBUG-4463 Reviewed-by: TrustMe
* Incorrect translation for Application menu items in Mac.Prasanth Ullattil2010-03-1814-18/+179
| | | | | | | | | | | | | A behavior change was introduced by the commit 97b8727635a73197fac4f5edb8a1122733933db4. The menu items with menuRoles will now be translated like Native Mac applications. Translations/merging of menu items are done as follows: 1) AboutRole ==> "About <Application>" 2) PreferencesRole ==> "Preferences..." 3) QuitRole ==> "Quit <Application>" Task-number: QTBUG-4463 Reviewed-by: mortens
* doc: Fixed use of Qt 3 support function in QIcon doc snippetThorbjørn Lindeijer2010-03-181-2/+2
| | | | | isOn() is an Qt 3 support member of QAbstractButton, isChecked() should be used instead.
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-03-1889-548/+2472
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (46 commits) Build and run QElapsedTimer test. Fix license headers. Add flag to indicate that network sessions are expected on a platform. Don't fail unit test when there is no default network configuration. Make destructor virtual. Optimized QLocale to access system locale on demand. Remove unwanted code in f8d5f2594a9b268b9eeecf95b24b23fc940c71ce Compile fix on keypad-navigation systems Force qt-zlib to be used for host system when cross compiling. qmake: fix to create proper install target in Makefile at first run compile fix for Windows Fixed focus handling when Qt is embedded into Cocoa app. Do not beep on Mac when pressing some keys. Do not deliver the same key event multiple times in Cocoa. Implement Idle-priority threads for Linux. Improved qt_x11_wait_for_window_manager Doc: document QElapsedTimer Added missing "const" for mac. qdoc3: Fixed some ifdef typos and removed some whitespace. Manual test for QTBUG-8933. ...
| * Build and run QElapsedTimer test.Aaron McCarthy2010-03-181-0/+1
| |
| * Fix license headers.Aaron McCarthy2010-03-184-0/+164
| |
| * Add flag to indicate that network sessions are expected on a platform.Aaron McCarthy2010-03-188-20/+15
| |
| * Don't fail unit test when there is no default network configuration.Aaron McCarthy2010-03-181-5/+3
| |
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-03-1880-523/+2289
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (42 commits) Make destructor virtual. Optimized QLocale to access system locale on demand. Remove unwanted code in f8d5f2594a9b268b9eeecf95b24b23fc940c71ce Compile fix on keypad-navigation systems Force qt-zlib to be used for host system when cross compiling. qmake: fix to create proper install target in Makefile at first run compile fix for Windows Fixed focus handling when Qt is embedded into Cocoa app. Do not beep on Mac when pressing some keys. Do not deliver the same key event multiple times in Cocoa. Implement Idle-priority threads for Linux. Improved qt_x11_wait_for_window_manager Doc: document QElapsedTimer Added missing "const" for mac. qdoc3: Fixed some ifdef typos and removed some whitespace. Manual test for QTBUG-8933. Cocoa: minisplitter has only 1px wide grab area "Strictly" Fullscreen Application in Mac OS Bugfix the Symbian implementation Add QDateTime::currentDateTimeUtc and QDateTime::currentMsecsSinceEpoch ...
| | * Make destructor virtual.Aaron McCarthy2010-03-181-1/+1
| | |
| | * Optimized QLocale to access system locale on demand.Denis Dzyubenko2010-03-174-54/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the initialization of the system locale to make construction of the QLocale object as lightweight as possible. So now the default contructor just creates a QLocale and QSystemLocale objects, but doesn't try to fill the cache in the latter with data from the system and postpones it until it is actually requested (most applications create QLocale objects on the stack and might not even use the data from the system locale, so we don't need to initialize system locale right away). This is an improved version of an already reverted change 8911ed8bfe7f918b93c758f9b5d93274b37739e6, 8911ed8bfe7f918b93c758f9b5d93274b37739e6 and 8911ed8bfe7f918b93c758f9b5d93274b37739e6. Reviewed-by: Thiago Macieira
| | * Remove unwanted code in f8d5f2594a9b268b9eeecf95b24b23fc940c71cePrasanth Ullattil2010-03-171-3/+1
| | | | | | | | | | | | Reviewed-by: Trust Me
| | * Compile fix on keypad-navigation systemsThiago Macieira2010-03-171-1/+1
| | |
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-03-1775-469/+2106
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (38 commits) Force qt-zlib to be used for host system when cross compiling. qmake: fix to create proper install target in Makefile at first run compile fix for Windows Fixed focus handling when Qt is embedded into Cocoa app. Do not beep on Mac when pressing some keys. Do not deliver the same key event multiple times in Cocoa. Implement Idle-priority threads for Linux. Improved qt_x11_wait_for_window_manager Doc: document QElapsedTimer Added missing "const" for mac. qdoc3: Fixed some ifdef typos and removed some whitespace. Manual test for QTBUG-8933. Cocoa: minisplitter has only 1px wide grab area "Strictly" Fullscreen Application in Mac OS Bugfix the Symbian implementation Add QDateTime::currentDateTimeUtc and QDateTime::currentMsecsSinceEpoch remove, fixup Change the 32-bit rollover on Windows and Symbian to be more efficient. Add a couple of extra functions to QElapsedTimer Autotest: Rename the test to match the new class name ...
| | | * Force qt-zlib to be used for host system when cross compiling.Zeno Albisser2010-03-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no possibility to define which zlib should be used for the bootstrapped tools when cross compiling. Therefor we will force qt-zlib to be used for bootstrapped tools. Reviewed-by: Marius Storm-Olsen Task-number: QTBUG-8678
| | | * qmake: fix to create proper install target in Makefile at first runZeno Albisser2010-03-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously when qmake was executed the first time, or when no previously compiled binary target was available for some reason, qmake just created an empty install target in the Makefile. So in fact for a target to be installed properly you needed to run something like "qmake && make && qmake && make install". This should now be fixed with this patch. Reviewed-by: Marius Storm-Olsen Task-number:QTBUG-5558
| | | * compile fix for WindowsThomas Hartmann2010-03-171-0/+1
| | | | | | | | | | | | | | | | Reviewed-by: Kai Koehne
| | | * Fixed focus handling when Qt is embedded into Cocoa app.Denis Dzyubenko2010-03-171-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When a Qt widget gets focus we should call setFocus() on it to make sure the focus chain is properly set. Reviewed-by: Prasanth
| | | * Do not beep on Mac when pressing some keys.Denis Dzyubenko2010-03-174-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a key event is delivered to widgets, we should accept the event if the widget reacted to it in any way - if either the current item has changed or if the widget scrolled. Task-number: QTBUG-6444 Reviewed-by: Prasanth
| | | * Do not deliver the same key event multiple times in Cocoa.Denis Dzyubenko2010-03-173-28/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When QCocoaView receives a keyDown or keyUp event, we translate it to QKeyEvent and deliver it to qt widgets, propagating if necessary. However if none of Qt widgets accepted the event we should propagate it back to cocoa - to get a beep from it, or for example if Qt widget is embedded into a native widget. Task-number: related to QTBUG-6444 Task-number: QTCREATORBUG-698 Reviewed-by: Richard Moe Gustavsen
| | | * Implement Idle-priority threads for Linux.Thiago Macieira2010-03-172-46/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't know of any other systems that define SCHED_IDLE, but if any do, they'll use this code too Task-number: related to QTBUG-9032 Reviewed-by: Bradley T. Hughes
| | | * Improved qt_x11_wait_for_window_managerDenis Dzyubenko2010-03-171-28/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We shouldn't really care about ReparentNotify when waiting for a window to be "managed" by the window manager. We only need to wait until the window is Mapped and Exposed for the first time, then we (most likely) can safely assume that the window manager has finished managing the window. Task-number: QTBUG-9097 Reviewed-by: Bradley T. Hughes
| | | * Doc: document QElapsedTimerThiago Macieira2010-03-174-0/+382
| | | | | | | | | | | | | | | | Task-Number: QT-2965
| | | * Added missing "const" for mac.Martin Smith2010-03-171-1/+1
| | | |
| | | * Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7Martin Smith2010-03-1763-342/+1584
| | | |\
| | | | * Manual test for QTBUG-8933.Carlos Manuel Duclos Vergara2010-03-176-0/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See the readme file. Reviewed-by: TrustMe
| | | | * Cocoa: minisplitter has only 1px wide grab areaCarlos Manuel Duclos Vergara2010-03-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that in Cocoa we were ignoring the WA_MouseNoMask attribute, therefore the mask was being applied to the mouse movements. This in turn caused the cursor not to change accordingly. Task-number: QTCREATORBUG-361 Reviewed-by: Prasanth
| | | | * "Strictly" Fullscreen Application in Mac OSCarlos Manuel Duclos Vergara2010-03-171-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Full screen in OSX is achieved by using the Kiosk Mode. Therefore it is not a real full screen but an emulation since we basically disable the dock and the menubar. Previous to this patch we were autoshowing the menubar all the time even when we didn't have a menubar. The problem with that is the fact that in OSX there is always a system menubar, so the menubar appeared the moment somebody hovered over the menubar region. With this patch we check if we have created a menubar and if so we autoshow the menubar, otherwise the menubar will remain hidden in full screen mode. Task-number: QTBUG-8933 Reviewed-by: Richard Moe Gustavsen
| | | | * Bugfix the Symbian implementationThiago Macieira2010-03-174-6/+24
| | | | |
| | | | * Add QDateTime::currentDateTimeUtc and QDateTime::currentMsecsSinceEpochThiago Macieira2010-03-175-116/+328
| | | | |
| | | | * remove, fixupThiago Macieira2010-03-172-12/+3
| | | | |
| | | | * Change the 32-bit rollover on Windows and Symbian to be more efficient.Thiago Macieira2010-03-172-34/+27
| | | | | | | | | | | | | | | | | | | | | | | | | If it rolls over, then the newer value will be lower than the older one. So just add 2^32 to the value and we'll have proper calculations.
| | | | * Add a couple of extra functions to QElapsedTimerThiago Macieira2010-03-177-17/+103
| | | | |
| | | | * Autotest: Rename the test to match the new class nameThiago Macieira2010-03-172-13/+13
| | | | |
| | | | * Rename the files tooThiago Macieira2010-03-179-0/+0
| | | | |
| | | | * Rename QTimestamp to QElapsedTimerThiago Macieira2010-03-1744-153/+153
| | | | |
| | | | * Remove unnecessary functions from the QTimestamp API.Thiago Macieira2010-03-176-76/+0
| | | | | | | | | | | | | | | | | | | | | | | | | If necesary, we can add them back later. But let's not add functions we don't need right now.
| | | | * Add support for 32-bit rollovers on WindowsThiago Macieira2010-03-171-5/+21
| | | | |
| | | | * Port QTest::qWait also to use QTimestamp.Thiago Macieira2010-03-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | To avoid using QTimestamp to test QTimestamp, use QTest::qSleep in QTimestamp's own testcase.
| | | | * Port QtMultimedia uses of QTime as a stopwatch to QTimestamp (unix code only)Thiago Macieira2010-03-172-4/+6
| | | | |
| | | | * Port QtGui uses of QTime as a stopwatch to QTimestampThiago Macieira2010-03-1720-62/+60
| | | | |
| | | | * Port QtNetwork uses of QTime as a stopwatch to QTimestamp.Thiago Macieira2010-03-176-26/+26
| | | | |
| | | | * Port QtCore uses of QTime as a stopwatch to QTimestamp.Thiago Macieira2010-03-176-66/+14
| | | | | | | | | | | | | | | | | | | | tst_qtimeline improvement: from 56187446 to 53915928 (callgrind)
| | | | * Add a qtimestamp.cpp with some common functions.Thiago Macieira2010-03-178-16/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Had to add invalidate() and isValid() functions because that's what QUnifiedTimer expects (QAbstractAnimation). Also move restart() to each implementation for efficiency. Task-number: QT-2965
| | | | * Make qcore_unix.cpp share code with QTimestampThiago Macieira2010-03-175-97/+68
| | | | |
| | | | * Add the Symbian version of QTimestamp.Thiago Macieira2010-03-171-0/+117
| | | | | | | | | | | | | | | | | | | | This code is disabled
| | | | * Add the Windows implementation of QTimestampThiago Macieira2010-03-172-0/+121
| | | | | | | | | | | | | | | | | | | | Task-number: QT-2965
| | | | * Add the non-Mac Unix implementation of QTimestamp.Thiago Macieira2010-03-172-0/+150
| | | | | | | | | | | | | | | | | | | | Task-number: QT-2965