summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test: removed obsolete tst_maketestselftest::tests_auto_proRohan McGovern2011-08-291-26/+0
| | | | | | | | | | | | | | | | | This test attempted to ensure that tests/auto/auto.pro would only refer to other .pro files, attempting to guarantee that the set of all tests could be cleanly broken up. The purpose of this was to enable CI optimizations (e.g. running the autotests for different modules on different machines in parallel). This test is invalidated by pending commits which rearrange the autotests, and we never made use of this property for optimization anyway, so drop this part of the test. Change-Id: I23e712fb8ec1dbe7ac65fe66015e1f060f3dcd41 Reviewed-on: http://codereview.qt.nokia.com/3681 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jo Asplin <jo.asplin@nokia.com>
* QWindow::mapToGlobal/mapFromGlobal and move()Gunnar Sletta2011-08-295-0/+131
| | | | | | | Change-Id: If1909b9ce468a8708cb25d5a2fbe8ebd90bd958a Reviewed-on: http://codereview.qt.nokia.com/3702 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* directfb: Follow coding standards, add hints of memleaks, remove varsHolger Hans Peter Freyther2011-08-265-36/+36
| | | | | | | | | Use m_ for all member variables, document some classes that appear to lack proper destruction, remove unused variables from classes. Change-Id: Icec451149fa5d562d8d5f54cbe9a1aa1518bfc48 Reviewed-on: http://codereview.qt.nokia.com/3667 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* directfb: Convert the directfb plugin, disable the OpenGL supportHolger Hans Peter Freyther2011-08-2611-84/+57
| | | | | | | | | | OpenGL was never tested and the platform integration has changed, remove it from the build and re-enable it once one can test it. Change-Id: I70d5b5b11de06e6e999d3aae44660f11d2dbc719 Reviewed-on: http://codereview.qt.nokia.com/3666 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* xcb: Disable GLX when xcb-xlib is not present due xlib usageHolger Hans Peter Freyther2011-08-262-2/+2
| | | | | | | | | | The GLX and EGL code is using DISPLAY_FROM_XCB which requires xlib support, disable GLX when when xlib is not present. Change-Id: I55126e48e52390fdcfb1348a11fbf9628d32b13c Reviewed-on: http://codereview.qt.nokia.com/3665 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* xcb: Be able to compile without xlib supportHolger Hans Peter Freyther2011-08-261-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use XCB types for events instead of indirectly depending on Xlib includes because of the GLX includes. Manually verified the right values. ButtonPressMask (1L<<2) XCB_EVENT_MASK_BUTTON_PRESS = 4, define ButtonReleaseMask (1L<<3) XCB_EVENT_MASK_BUTTON_RELEASE = 8, ButtonMotionMask (1L<<13) XCB_EVENT_MASK_BUTTON_MOTION = 8192, EnterWindowMask (1L<<4) XCB_EVENT_MASK_ENTER_WINDOW = 16, LeaveWindowMask (1L<<5) XCB_EVENT_MASK_LEAVE_WINDOW = 32, PointerMotionMask (1L<<6) XCB_EVENT_MASK_POINTER_MOTION = 64, GrabModeAsync 1 XCB_GRAB_MODE_ASYNC = 1 Change-Id: I1fade68947b1e2f39ca3514573c10fae7ee2dfb1 Reviewed-on: http://codereview.qt.nokia.com/3664 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Temporarily disable printers on Windows, fix export.Friedemann Kleint2011-08-263-1/+5
| | | | | | | Change-Id: I351692b53cf559cd3be64cec8907bd544ba41593 Reviewed-on: http://codereview.qt.nokia.com/3653 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* Introduce new test macro for GUI applications.Friedemann Kleint2011-08-262-2/+14
| | | | | | | | | Fixing linkage of the coreanimation examples on Windows. Change-Id: Ic34cab329577b2ba430ca8a510b356c424d574af Reviewed-on: http://codereview.qt.nokia.com/3605 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Fix some compiler warnings, shut up QIbusPlatformInputContext.Friedemann Kleint2011-08-265-18/+33
| | | | | | Change-Id: Idadf40b2bbe53928d8577a099f38a2be0a2d6e16 Reviewed-on: http://codereview.qt.nokia.com/3640 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Introduce new platform capability ThreadedOpenGL.Samuel Rødal2011-08-267-1/+18
| | | | | | | | | | | | | Lets the platform plugin advertise whether it's safe to use OpenGL from a different thread. With XCB we only advertise this if we have a reasonably new XCB libary, as older versions suffer from the xcb_wait_for_reply() blocking bug, which cause GL rendering in a separate to stall when using Mesa drivers. Change-Id: I4829df7e583a1c8aed218ae13a159d21266cc594 Reviewed-on: http://codereview.qt.nokia.com/3613 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Move XCB event reading to a separate thread.Samuel Rødal2011-08-266-20/+212
| | | | | | | | | | | | | | Work-around for bug in XCB which causes a xcb_wait_for_reply to block if xcb_poll_for_events() is called simultaneously from a different thread. If the XCB version is too old this work-around causes even more problems, so we kill two birds with one stone by only using the work-around if the XCB version has the recent xcb_poll_for_queue_event() function, which we also need to read events from a separate thread with reasonable efficiency. Change-Id: I8a899dad6ded381ce42cba0112e77da3c8aa6887 Reviewed-on: http://codereview.qt.nokia.com/3612 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Moving relevant tests to corelib/codecsHolger Ihrig2011-08-2613-2/+5
| | | | | | | | | | | Task-number: QTBUG-21066 Change-Id: If33bda9622bbfdac2b72ec2bf8489b0f62bae6e2 Reviewed-on: http://codereview.qt.nokia.com/3469 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Fix building of examples.Friedemann Kleint2011-08-2524-16/+38
| | | | | | Change-Id: Iebb56c81fd13deaa82d8883e3f1529f1a78ebea8 Reviewed-on: http://codereview.qt.nokia.com/3603 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Fix exports for widgets.Friedemann Kleint2011-08-253-4/+8
| | | | | | | Change-Id: Id505aa13dfd3b34659961e44473abae99d18ee4c Reviewed-on: http://codereview.qt.nokia.com/3597 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Fix compilation/use correct data type for qt_lastx,y.Friedemann Kleint2011-08-254-19/+14
| | | | | | | Change-Id: I6fdc8dcfb19d7498a1eb8013f75113537ce7a213 Reviewed-on: http://codereview.qt.nokia.com/3594 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Merge "Merge branch 'master' into refactor" into refactorGunnar Sletta2011-08-25176-6879/+5594
|\
| * Merge branch 'master' into refactorGunnar Sletta2011-08-25176-6879/+5594
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/kernel/qapplication_qpa.cpp src/gui/kernel/qcursor_qpa.cpp src/gui/kernel/qwindowsysteminterface_qpa.cpp src/gui/kernel/qwindowsysteminterface_qpa.h src/gui/kernel/qwindowsysteminterface_qpa_p.h src/gui/text/qtextcontrol.cpp src/plugins/platforms/wayland/wayland.pro src/widgets/accessible/qaccessible2.h src/widgets/widgets/qwidgetlinecontrol_p.h Change-Id: I5e6f4eb184159dccc67e8f13673edb884d179c74
| | * update .gitignoreCharles Yin2011-08-241-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. generated module def files 2. generated version headers 3. unit test executables Change-Id: Ibce72e89882e646ff0a450d68031e8e3a5cea085 Reviewed-on: http://codereview.qt.nokia.com/3346 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Ling Hu <ling.hu@nokia.com>
| | * Add operator== and operator!= to qsqlerror classAntonis Tsiapaliokas2011-08-243-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: 44 Task-number: QTBUG-20543 Change-Id: I7b88985fe095ffd2e48ac05c82dc3f3a92dbb091 Reviewed-on: http://codereview.qt.nokia.com/3425 Reviewed-by: Charles Yin <charles.yin@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
| | * Do not expose text when echo mode is not Normal.José Millán Soto2011-08-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Frederik Gladhorn (cherry picked from commit 636b7088eb3740800f54a7c1634d3e041e688270) Change-Id: I82b2e02af74dc43268d2b6613fe31e2875fd132f Reviewed-on: http://codereview.qt.nokia.com/3038 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * Check validator when changing text using accessibility functions.José Millán Soto2011-08-232-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Frederik Gladhorn (cherry picked from commit 731d843b52b0a0bc387c50c2af37a71f87804f4d) Change-Id: Ieef71cea5b44f288f2f95a0765ec0b3f6d47c042 Reviewed-on: http://codereview.qt.nokia.com/3037 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * Implemented QAccessibleTextEdit::attributes()Frederik Gladhorn2011-08-232-5/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handling font properties and colors Created test: tst_QAccessibility::textAttributes Merge-request: 2626 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com> (cherry picked from commit f1a6766432f66220275aa7902e4c2414a3069cd1) Change-Id: I388bc660af20149934110d7894840eccecf81f2a Reviewed-on: http://codereview.qt.nokia.com/3036 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * test: really marked tst_qtcpsocket autotest as unstableRohan McGovern2011-08-232-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15575fb280e1489157d0be44d00ab57aecc19320 edited the wrong .pro file :( Task-number: QTBUG-21043 Change-Id: I7b52fb7ea8669856b359523b278142c763bfb978 Reviewed-on: http://codereview.qt.nokia.com/3341 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Keith Isdale <keith.isdale@nokia.com>
| | * Add IAccessible2 table2 implementation.Frederik Gladhorn2011-08-2218-37/+2055
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the IAccessible table2 interface for itemviews. This is simpler than what we have in complexwidgets. For now it is only used on Linux. The new table2 interface is ifdef'ed to only be used on X11. Improve handling of accessible events and clean up. There are two xfails for the Table and Tree where sibling navigation is not implemented yet. Reviewed-by: Gabi (cherry picked from commit e797ba558dddd45522b5a317316e497e9efc44a8) (cherry picked from commit eff5ecc5d8f65fa25d6cfd6ed96a9d2a00d0c663) (cherry picked from commit d29876008fad400bca8d6b37e5d5f61dd1bcb39d) (cherry picked from commit 2a326fdc8f8bf2bd2c5764394616100906d9db2d) (cherry picked from commit 9b72e79e20d0d3560e0b064b8b0d75e35feb720e) (cherry picked from commit 075b0f744363842ed4179c644d933d461389544f) Change-Id: I654f74991830ae1fc7df7cc91d930390fb88b2a4 Reviewed-on: http://codereview.qt.nokia.com/3274 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
| | * test: marked tst_qtcpsocket autotest as unstableRohan McGovern2011-08-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-21043 Change-Id: Idefb79bf64eb746e82ebf2980c628f2e37dcf6c3 Reviewed-on: http://codereview.qt.nokia.com/3279 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Keith Isdale <keith.isdale@nokia.com>
| | * test: Fix `tst_qfiledialog' in a namespaced buildSergio Ahumada2011-08-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Pierre Rossi (cherry picked from commit 3be7f871f07041477b5bca0182623b36afd2b3e6) Change-Id: Ib24d837ef8f47435cc0a505233e77f1104537cae Reviewed-on: http://codereview.qt.nokia.com/3263 Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
| | * Enablers for using QGlyphRun in SceneGraphEskil Abrahamsen Blomfeldt2011-08-1910-39/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several required fixes and changes to fix problems that arose when porting SceneGraph's QSGTextInput and QSGTextEdit to use QSGTextNode, especially related to having selections on the text. Also fixes crashes with the threaded renderer on Mac OS X when using the TextEdit or TextInput elements. Task-number: QTBUG-18019, QTBUG-20017 Change-Id: I67f24465352daa1d2cb12b6d2f378feb676c9804 Reviewed-on: http://codereview.qt.nokia.com/2864 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com> Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
| | * Fixed broken lookup of fallback fonts on qpaRohan McGovern2011-08-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loading of fallback fonts from the font cache was broken. While iterating through fallback fonts, we would incorrectly skip any fonts which were already in the cache. This would cause unstable lookup results for some fonts, depending on the order in which fonts were loaded during the current process. Change-Id: I56a6a07e93196ed14f33f4cc181e41c5b8f19498 Reviewed-on: http://codereview.qt.nokia.com/3059 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
| | * Use name for combobox on Unix.Frederik Gladhorn2011-08-182-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more conforming to the AT-SPI specs. Also we have working relations for the label when a buddy is set. Reviewed-by: Gabi (cherry picked from commit 8be3168aa2f300f9a93a53b417704f3f10b1dc8b) Change-Id: I1831d5063b003df2d209aba99d54558b6493a3e9 Reviewed-on: http://codereview.qt.nokia.com/3027 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * Rename textBeforeOffsetFromString to start with q.Frederik Gladhorn2011-08-182-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exported functions should start with q. Reviewed-by: TrustMe (cherry picked from commit 4fcb7c233c3c8d748d66bf698df059ad7546ae88) Change-Id: Idc53d3ec49f73227a9fd12b6b88aade35c7cdf25 Reviewed-on: http://codereview.qt.nokia.com/3026 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * Implement text interface for QLineEdit.Frederik Gladhorn2011-08-183-13/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add boundary helper functions to the QAccessibleTextInterface. Move LineEdit over to use QTextBoundaryFinder. Reviewed-by: Jan-Arve (cherry picked from commit c1ec1a95806cda54d5b4e9f8ed159a611bd75964) Change-Id: Ib93599c49110aab50debe1e3fb0073dd34071c87 Reviewed-on: http://codereview.qt.nokia.com/3025 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * Fix compilation with thumb2.Eike Ziller2011-08-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-16402 Rubber-stamped-by: Thiago Macieira (cherry picked from commit 6be1b235f7db38146f7080a4bfcfe3051ae54699) Change-Id: I6f60f1d3079395e765a183961db5c8543cf58cdc Reviewed-on: http://codereview.qt.nokia.com/3078 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eckhart Koppen <eckhart.koppen@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
| | * Fix bidi reordering of RTL text with embedded imagesEskil Abrahamsen Blomfeldt2011-08-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the UBA, the object replacement character should be considered ON. There's no reason to special case its directionality, as the bidi algorithm will already have given it an implicit directionality. Task-number: QTBUG-20910 Reviewed-by: Lars (cherry picked from commit 2657bfa7c4de9f114331d1714a306b3999ae30d8) Change-Id: I1c8e45d67ef44b1b6f96edb2f5074331b5422eb7 Reviewed-on: http://codereview.qt.nokia.com/2999 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
| | * Minor optimizations for QTextEngineRitt Konstantin2011-08-181-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimize script assignment, skip calls to QUnicodeTables::script() for the codepoints handled explicitly. Make the helper functions of QTextEngine::elidedText() inlined Merge-request: 1298 Reviewed-by: yoann (cherry picked from commit 857202824e7d6083eeb87fc52d3770f8fd82b559) Change-Id: I1afc6405a800dbc2b5f63a2f98c63e607e3ee255 Reviewed-on: http://codereview.qt.nokia.com/2998 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
| | * Add DBus VirtualObject to handle multiple paths.Frederik Gladhorn2011-08-1810-11/+553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a virtual object is registered with the SubPath option it will handle all dbus calls to itself and all child paths. It needs to reimplement handleMessage for that purpose. Introspection needs to be implemented manually in the introspect function. Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com> (cherry picked from commit b07919b3de8cff3e44b7271062372b14bcda5b83) (cherry picked from commit 997c2dfed7a04da2fac577f1c29b89bda4939e2d) (cherry picked from commit c676b7095d826dc2d006f52a4b234546af5e2137) Change-Id: I003007604b286af8000959756ce9d25c17306f5b Reviewed-on: http://codereview.qt.nokia.com/3051 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * Update changelog with Accessibility fixes.Frederik Gladhorn2011-08-181-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit b955efd392d2c1ec82a043df7b364af71e464078) Change-Id: I4a2c4f0abf5c9bef10fe0ce0f071473d9b3a3397 Reviewed-on: http://codereview.qt.nokia.com/3024 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * Fix a11y crash: dock doesn't always have a widget.Frederik Gladhorn2011-08-181-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also return dock widget title. Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> (cherry picked from commit 276d16583b80da2838f9af47e15fe3a83cdb0485) Change-Id: I8d66bec4212cc2b1df8c9b041375d7455c6a76a3 Reviewed-on: http://codereview.qt.nokia.com/3023 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * Fix typo in comment.Frederik Gladhorn2011-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit f067c2b3016182862e82805b13c7944ebe8671a9) Change-Id: Iac3673db666e53f5e1a20f95a59df15a6ad9c137 Reviewed-on: http://codereview.qt.nokia.com/3022 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * Avoid bogus accessibility focus events from menus.Frederik Gladhorn2011-08-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not send accessibility focus events when menus are involved. There are focus events to preserve the old focus when showing a new popup window. Reviewed-by: Jan-Arve (cherry picked from commit 32079bb0b348ef5f7126e69be9bcfb249c1a6412) Change-Id: Id4838a3aede1d60a1850385e97660d085f055d64 Reviewed-on: http://codereview.qt.nokia.com/3021 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| | * test: marked tst_qfocusevent as insignificant on all platformsRohan McGovern2011-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was known to be unstable on mac, but appears to be unstable on Linux also. Task-number: QTBUG-20987 Change-Id: I760533c32cf13d24f8428f120813eb590b202182 Reviewed-on: http://codereview.qt.nokia.com/3131 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| | * test: fixed failure of tst_qstylesheetstyle on qpaRohan McGovern2011-08-181-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wait for window shown on _all_ platforms, not just X11. QEXPECT_FAIL a test which relies on QCursor::setPos, which is currently unimplemented for qpa (QTBUG-20753). Change-Id: I72412476afc7e52ccb6cab4306ff791b7e7d8d93 Reviewed-on: http://codereview.qt.nokia.com/3118 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| | * test: fixed tst_qeventloop and removed CONFIG+=insignificant_testRohan McGovern2011-08-182-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Throwing C++ exceptions through the event loop doesn't work if the Glib event loop is used, so conditionally skip that part of the test. Change-Id: Ic27ebf4eb75bd1cf7c7e35f371f29bcfc0e1844a Reviewed-on: http://codereview.qt.nokia.com/2471 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| | * test: skipped unstable portion of tst_qcssparser on qpaRohan McGovern2011-08-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test unstably fails because font lookup is somewhat broken for qpa. Task-number: QTBUG-20986 Change-Id: Id4ebd35e979d8837d32b58e5ed9c1df3ac15827a Reviewed-on: http://codereview.qt.nokia.com/3130 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| | * test: mark tst_qrawfont as expected failure on qpaRohan McGovern2011-08-181-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The necessary font handling code for qrawfont currently seems to be unimplemented for all qpa backends. Task-number: QTBUG-20976 Change-Id: I2b5c511936892e2754c0ee809b7a558f44d1d132 Reviewed-on: http://codereview.qt.nokia.com/3116 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| | * test: fixed XPASS from tst_qstatictext on qpaRohan McGovern2011-08-181-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests were written to compare two different methods of drawing text, to ensure the result was the same. However, if _both_ methods turned out to be complete no-ops, the test would unexpectedly pass, as it never verified that anything was painted. Add additional verification steps and QEXPECT_FAIL them on qpa for now. Task-number: QTBUG-20977 Change-Id: I1ce1b7c2bcd683fc9eeaeb8d1483268e56f5cf08 Reviewed-on: http://codereview.qt.nokia.com/3117 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| | * test: mark tst_qsystemtrayicon as expected failure for qpaRohan McGovern2011-08-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QSystemTrayIcon is unimplemented for qpa. Task-number: QTBUG-20978 Change-Id: I63703b96e3d4572bae722120774de1565d475414 Reviewed-on: http://codereview.qt.nokia.com/3119 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| | * test: mark tst_qtextlayout as insignificant for qpa, xcbRohan McGovern2011-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This autotest segfaults in this configuration. Task-number: QTBUG-20979 Change-Id: I7f038416d9333b690695f48e4ad01d52767f45cd Reviewed-on: http://codereview.qt.nokia.com/3120 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| | * tests: disabled failing qsharedmemory, qsystemsemaphore testsRohan McGovern2011-08-181-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `lackey' helper app was disabled by ccd5228a9380fbfa308a57365e4075f90010da00, but the tests which depend on it weren't disabled - so, of course, they fail. None of these tests will work until the circular dependency is fixed (the tests are in qtbase and they depend on qtscript which depends on qtbase). Change-Id: I8e41b4182f5ea57a71ec810a30a21ba1c7217db3 Reviewed-on: http://codereview.qt.nokia.com/3122 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| | * test: fixed failure of tst_qhostinfoRohan McGovern2011-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing an async exit of the test event loop is unsafe - it means that a call to exitLoop may be left pending from one testfunction, causing future testfunctions to fail. This in fact was happening for the multipleDifferentLookups testfunction, which was running the event loop for two milliseconds at a time until a certain amount of lookups was done. It was common for the loop to timeout after the lookup had completed but before the async exitLoop had been processed. Make it simple, do a synchronous exitLoop. Change-Id: I2ffe6989bddc091ddd42b218a75f7a8ff160cf53 Reviewed-on: http://codereview.qt.nokia.com/3124 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| | * test: marked tst_macgui as insignificantRohan McGovern2011-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This autotest sometimes passes and sometimes fails, making its result insignificant for the purpose of detecting regressions. Task-number: QTBUG-20984 Change-Id: I1454649384b60501be0bec238dfb18cfc85d5f54 Reviewed-on: http://codereview.qt.nokia.com/3129 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>