summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove the unnecessary (and broken) tst_QMouseEvent::checkMouseMoveEvent() testBradley T. Hughes2009-10-301-75/+0
| | | | | | According to people responsible for the test, it is not necessary. This partially reverts commit b1f9882fa52745c922eb0109daa011908214dcf7.
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-platform-team into 4.6Bradley T. Hughes2009-10-306-16/+301
|\
| * Ensure that button returns 0 for mouse move eventsDean Dettman2009-10-291-0/+75
| | | | | | | | | | | | This was a platform regression for the cocoa platform Reviewed-by: Prasanth
| * Fixed the scrollarea gesture manual test.Denis Dzyubenko2009-10-282-2/+2
| | | | | | | | Reviewed-by: trustme
| * Follow refactor; use QApplication:: instead of qApp->Thomas Zander2009-10-282-25/+25
| | | | | | | | | | Our tests now call the recently converted registerRecognizer using a proper static method.
| * Introduce QGesture::GestureCancelPolicy, a way to auto-cancel gesturesThomas Zander2009-10-281-0/+62
| | | | | | | | | | | | | | | | | | On accepting one gesture Qt can automatically cancel other gestures that belong to other targets. The policy is normally set to not cancel any other gestures and can be set to cancel all active gestures in the context. For example for all child widgets. Reviewed-By: Denis Dzyubenko
| * add empty test method, should implement it fully when more important things ↵Thomas Zander2009-10-281-0/+16
| | | | | | | | are done
| * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-platform-team into ↵Bradley T. Hughes2009-10-282-1/+133
| |\ | | | | | | | | | 4.6-WM_NULL-driven
| | * Implemented QGestureRecognizer::ConsumeEventHintDenis Dzyubenko2009-10-271-1/+20
| | | | | | | | | | | | Reviewed-By: trustme
| | * Improved gesture autotest reliability on X11.Denis Dzyubenko2009-10-271-0/+5
| | | | | | | | | | | | Reviewed-by: trustme
| | * Add QWidget::ungrabGestureThomas Zander2009-10-261-0/+71
| | | | | | | | | | | | Reviewed-by: Denis Dzyubenko
| | * Unregister the temporary gesture recognizer in the gestures autotest.Denis Dzyubenko2009-10-261-0/+15
| | | | | | | | | | | | Reviewed-by: trustme
| | * Merge branch '4.6' into 4.6-platformDenis Dzyubenko2009-10-2624-107/+1070
| | |\
| | * | Remove internal widgets from QApplication::topLevelWidgets()Prasanth Ullattil2009-10-231-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have some internal hidden widgets which should not come up in the QApplication::topLevelWidgets() list. So the known ones are being removed from the QWidgetPrivate::allWidgets set. Task-number: QTBUG-739 Reviewed-by: Denis Dzyubenko Reviewed-by: Bradley T. Hughes
* | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-3011-24/+386
|\ \ \ \
| * | | | do not crashOswald Buddenhagen2009-10-292-0/+27
| | | | |
| * | | | Autotest: add a few more tests for Unicode (IDN) supportThiago Macieira2009-10-291-2/+5
| | | | |
| * | | | Autotest: add one test that was in the previous implementation but missing hereThiago Macieira2009-10-291-0/+1
| | | | |
| * | | | Autotest: use example.org and example.netThiago Macieira2009-10-291-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No need to publicise real sites and email addresses. Also, don't use 8-bit data. C escape sequences are ok.
| * | | | Import a new implementation of fromUserInput.Thiago Macieira2009-10-291-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Imported from http://github.com/icefox/guessurlfromstring Licensed under the 3-clause BSD license by the copyright holder.
| * | | | Remove the fromUserInput implementation and tests.Thiago Macieira2009-10-291-55/+0
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| * | | | Cache a state's parent stateKent Hansen2009-10-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QAbstractState::parentState() is called heavily by the state machine algorithm. The parent state is obtained by qobject_cast'ing QObject::parent(). qobject_cast() is expensive. This commit introduces caching of the result in order to improve performance. We expect that the cache won't be invalidated much since the parent-child relationship of states usually doesn't change after the state machine is started. Reviewed-by: Eskil Abrahamsen Blomfeldt
| * | | | Make QStateMachine event posting functions thread-safeKent Hansen2009-10-291-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By popular demand on the Qt Labs blog. This makes it possible to readily use QStateMachine with e.g. worker threads that post events to the machine. Reviewed-by: Eskil Abrahamsen Blomfeldt
| * | | | Test that we gracefully handle event posting after the state machine is stoppedKent Hansen2009-10-291-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | The internal slot _q_process() should never be called if the machine is not in the Running state.
| * | | | Change all valid Task-Tracker references to bugreports.qt.nokia.com reference.Warwick Allison2009-10-294-4/+4
| | | | |
| * | | | Say hello to QScriptProgram :-)Kent Hansen2009-10-283-1/+253
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QScriptProgram encapsulates a Qt Script program (AKA a script). It retains the compiled representation of the script, so that repeated evaluation of the same script becomes faster. An overload of QScriptEngine::evaluate() that takes a QScriptProgram has been added. Reviewed-by: Olivier Goffart
* | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-284-8/+87
|\ \ \ \ | |/ / /
| * | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6axis2009-10-274-8/+87
| |\ \ \
| | * \ \ Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6axis2009-10-274-9/+151
| | |\ \ \
| | * | | | Removed the need for extra Symbian traps after QApp construction.axis2009-10-261-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was achieved by putting back the old trap handler after the S60 framework construction has finished. Task: QTBUG-4960 AutoTest: Included and passed RevBy: Shane Kearns
| | * | | | Fix QCompleter autotest for case insensitive filesystemsShane Kearns2009-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The directory completion test case was constructing a case insensitive name completer, but doing a case sensitive string comparison of the test result. After this change, it uses the same case sensitivity the QCompleter was constructed with to perform the comparison - which varies according to the test case. Reviewed-by: axis
| | * | | | Make network self test fail instead of crashing in case of DNS errorShane Kearns2009-10-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Liang QI Reviewed-by: Aleksandar Sasha Babic
| | * | | | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt-s60-public into 4.6Janne Anttila2009-10-2312-99/+786
| | |\ \ \ \
| | * | | | | Fixed softkey autotest build after 5370e5ff.Janne Anttila2009-10-231-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: axis
* | | | | | | Updated testcase to match new boundingRect logicGunnar Sletta2009-10-281-1/+1
| | | | | | |
* | | | | | | Adapt testcase to updates in QGraphicsPixmapItemGunnar Sletta2009-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: TrustMe
* | | | | | | Got tst_qpixmapfilter.cpp compiling againGunnar Sletta2009-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trustme
* | | | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-275-24/+92
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Fix integer overflow in string.remove len parameterMarkus Goetz2009-10-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task: 262677 Reviewed-by: joao
| * | | | | | Implement support for wheel delta with finer resolution than 15 deg.Richard Moe Gustavsen2009-10-271-16/+0
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment, Qt, in many places, does not really understand that a mouse wheel, or touch pad, might operate on a much higher granularity than 15 degrees (that is, a delta of 120). This is clear disadvantage on mac, since the mighty mouse, and track pad, got a resolution that is close to 1 degree. This is called pixel scrolling. This patch first and formost changes the implementation of QAbstractSlider::wheelEvent to _really_ understand what to do when delta is less than 120. Rather than accumulate delta until 120 is reached, then scroll with a value equal to: offset * step * QApplication::wheelScrollLines (default = 3), we multiply offset directly, before waiting for 120. This means that event tough offset is below 120, multiplying it with wheelScrollLines and step will very often give a value over 120, menaing we can scroll much earlier and _much more_ fined grained. This also fixes some auto tests that was ifdeffed out because of specialised mac code written inside this function from before. (NB: we still plan to introduce a new event for pixel scrolling, perhaps for Qt-4.7) Rev-By: Andreas Rev-By: denis
| * | | | | Fixes Oracle batchExec using strings as out params.Bill King2009-10-271-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reserve() affects capacity(), not length(). Task-number: QTBUG-551
| * | | | | Autotest: fix building tst_qsqlquery.Thiago Macieira2009-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'का' is not valid, since it encodes to more than 1 byte. Reviewed-by: Trust Me
| * | | | | tst_qtcpsocket: Increased some of the timeouts to increase stabilityMarkus Goetz2009-10-261-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| * | | | | QPixmap::loadFromData: Do not crash on empty/invalid data/lengthMarkus Goetz2009-10-261-0/+21
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Task-number: 262636 Reviewed-by: gunnar
* | | | | Fixed compilation of QGraphicsEffectSource autotest.Samuel Rødal2009-10-271-3/+3
| | | | |
* | | | | Made graphics effects autotest compile.Samuel Rødal2009-10-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no grayscale effect anymore, use colorize effect. Reviewed-by: Gunnar Sletta
* | | | | Options on how to get a pixmap from an effect sourceGunnar Sletta2009-10-271-0/+99
|/ / / / | | | | | | | | | | | | | | | | | | | | Usable for future optimizations. Reviewed-by: Samuel
* | | | Optimize QGraphicsRotation's use of QMatrix4x4Rhys Weatherley2009-10-261-1/+68
| |/ / |/| | | | | | | | | | | | | | | | | | | | Previous code was creating a full 3D rotation matrix and then projecting back to 2D. This change combines the two steps into one to avoid calculating matrix components that will be dropped. Reviewed-by: Sarah Smith
* | | Better sql unicode tests (still not working correctly tho).Bill King2009-10-232-11/+9
| | |
* | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Kurt Korbatits2009-10-2220-94/+992
|\ \ \