summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin/4.5'Bill King2009-07-084-17/+70
|\ | | | | | | | | | | | | | | | | | | Conflicts: src/sql/drivers/ibase/qsql_ibase.cpp tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp tests/auto/qsqldatabase/tst_databases.h tests/auto/qsqldatabase/tst_qsqldatabase.cpp translations/qt_ru.ts
| * make test behave like othersDerick Hawcroft2009-07-081-1/+1
| |
| * Make the table actually delete before the autotestBill King2009-07-081-1/+1
| |
| * Cleanup more SQL autotest failures.Bill King2009-07-083-12/+28
| |
| * safely drop tables.Derick Hawcroft2009-07-081-1/+3
| |
| * Auto test for task 233829Derick Hawcroft2009-07-071-1/+29
| | | | | | | | | | | | - postgreSQL specific autotest. Task-number:233829
| * Fix more sql autotest failures.Bill King2009-07-061-3/+4
| | | | | | | | | | | | Sql server fails at numeric field calculations. (Confirmed by running against MySql via odbc). Also, quote fields properly. The drivers know how to do it correctly, so let them handle it.
| * Fix precision autotest for SqlServerBill King2009-07-061-6/+7
| | | | | | | | | | Sql Server can't count. Reduce the expected length of string when we're on sql server.
| * Fix up two more qsqldatabase autotests.Bill King2009-07-031-1/+8
| |
* | Make test pass when executed from debug/release directory.Volker Hilsheimer2009-07-081-0/+3
| |
* | Compile fix for the qapplication autotest.Denis Dzyubenko2009-07-081-25/+43
| | | | | | | | Reviewed-by: TrustMe
* | autotest compile fix for MacOSXThierry Bastian2009-07-081-1/+1
| |
* | added auto test tst_QLocalSocket::readBufferOverflowJoerg Bornemann2009-07-081-0/+33
| | | | | | | | | | | | | | This test handles the case when one limits the size of the socket's read buffer and more data than the buffer size is available. Reviewed-by: ossi
* | Tables aren't deleting properly. Send the correct name .Bill King2009-07-081-4/+4
| |
* | On Mac OS X, translate the wrect to the coordinates on screenBenjamin Poulain2009-07-071-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the following configuration, wrect was off-screen and the widget was not painted: -scroll area "A" -contains another scrollarea "B" with 2*WRECT_MAX < size < XCOORD_MAX -the widget contained in B has size > XCOORD_MAX -A is scrolled to the the bottom To fix the issue, wrect is moved to the area where the top level window is in the widget coordinate. Task-number: 144779 Reviewed-by: nrc
* | QColumnView: didn't react to addition of rows/cols in the current viewThierry Bastian2009-07-071-7/+35
| | | | | | | | Task-number: 246999
* | improve the QScriptEngine::importExtension() autotestKent Hansen2009-07-073-0/+15
| | | | | | | | Error messages and __postInit__.
* | Make sure we send a ValueChanged event if the spinbox value has changedJan-Arve Sæther2009-07-071-0/+7
| | | | | | | | | | | | | | | | | | Unfortunately the codepath for keyPressEvent does not call updateState, so we have to add the same line in two places. Note that updateState() is only called from mousePressEvent() and mouseMoveEvent(). Task-number: 254053
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtck2009-07-071-1/+5
|\ \
| * | QFontComboBox: used to emit currentFontChanged twice when setting it.Thierry Bastian2009-07-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting the current font would change the current font and then it would try to select the right model index and get the font only from the text of the combobox. This was resetting the point size of the font, resulting in emitting the signal a second time. In the case of the user, it was also causing signals to be called in a loop. Task-number: 229731
* | | Added wildcard support for file lists in help projects.ck2009-07-071-4/+3
|/ / | | | | | | | | | | The qhelpgenerator auto test was also updated to test the new feature. Reviewed-by: kh
* | general wording change for some file type namesFrederik Schwarzer2009-07-065-5/+5
| | | | | | | | | | | | | | | | | | | | | | - .ts file -> TS file - .qm file -> QM file - .ui file -> UI file + a handfull of typos I stumbled over Merge-request: 802 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | support for id-based translationsOswald Buddenhagen2009-07-063-0/+43
| | | | | | | | | | | | | | | | | | | | | | unlike in an earlier attempt, ids are textual this time. the developer is able to provide a template for the string. when lupdate and lrelease are integrated into the build process, this makes it possible to avoid a round-trip to a dedicated string designer during the early development stage. Requirement-id: QT-435
* | Improved the support for input methods in Graphics View.jasplin2009-07-033-2/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch improves the graphics view support for input methods in several ways: * A new ItemAcceptsInputMethod flag is introduced to serve the same purpose for graphics items as WA_InputMethodEnabled does for widgets: Input method support can be controlled individually for each item. * The input method sensitivity of a view (i.e. the value of the WA_InputMethodEnabled flag) is updated dynamically whenever the input method support of the current focus item may change. * Input contexts are reset whenever an item that supports input methods loses focus. Reviewed-by: janarve Task-number: 254492
* | Refactored gesture apiDenis Dzyubenko2009-07-021-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewritten the api almost from scratch, making it simplier and more flexible at the same time. The current implementation will not have complex gseturemanager class inside Qt, but the QGesture base class, which represents both a gesture recognizer and a gesture itself with a set of properties. A set of common gestures that can use used in third-party applications (and in Qt itself internally) is supposed to be found in qstandardgestures.h, and a base class for user-defined gestures is in qgesture.h Gesture implementation for Pan on Windows7 has also been added as a reference implementation for platform gestures.
* | Revert "Add support for creating the object alongside the Data structure in ↵Thiago Macieira2009-07-021-100/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QSharedPointer" This reverts commit fb51a10ee0451274a430227566ae26efb2ac4474. Sorry, it didn't work. I can fix the MSVC error, but the problem is that older GCC versions (4.2) fail with the following code: template<typename T> struct Buffer { char buffer[128] __attribute__((aligned(__alignof__(T)))); }; The same works fine in GCC 4.4.
* | Experimental: allow QSharedPointer to be used with forward declarations that ↵Thiago Macieira2009-07-028-12/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | are declared in this file. The one-definition rule allows the forward declaration appearing below to apply to code that was earlier. Therefore, if the compiler finds out how to delete the object, we can allow a QSharedPointer of a forward- declared-type. This means the actual problem is just a warning with g++. To catch the error, we need a separate .cpp file and I'd rather run this as an external test.
* | Add support for creating the object alongside the Data structure inThiago Macieira2009-07-021-2/+100
| | | | | | | | | | | | | | | | | | one go. This avoids one memory allocation. Currently, we only support calling the default constructors. I will *NOT* implement argument passing for C++03. I will implement it with rvalue references for C++0x-capable compilers.
* | Add qobject_cast for QSharedPointer.Thiago Macieira2009-07-021-0/+123
| | | | | | | | | | | | | | | | | | This obviously only works for classes that derive from QObject. And you must remember that QSharedPointer controls the QObject's lifetime, not the QObject parent-child relationship. Reviewed-by: dt Reviewed-by: Bradley T. Hughes
* | Merge branch 'research/qdbus-improvements'Thiago Macieira2009-07-0211-16/+1315
|\ \
| * | Implement a support for getting return arguments out of invokeMethodThiago Macieira2009-07-021-1/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with QDBusInterface. The problem was that I didn't know how to implement the operator= for all types. But it turns out that this was possible all along: the only types I have to implement the operator= for are the basic types, which are already demarshalled. The complex types are left in QDBusArgument semi-demarshalling, but we have QDBusMetaType::demarshall, which takes a void* to an already-constructed type and demarshalls into it. That's exactly what the doctor ordered. Task-number: 206765 Reviewed-By: Marius Bugge Monsen
| * | Replace internalPropGet and internalPropSet with the QObject versions in ↵Thiago Macieira2009-07-021-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | QDBusAbstractInterface. They're now good enough and as fast. Reviewed-By: Marius Bugge Monsen
| * | Autotest: add tests for checking variant propertiesThiago Macieira2009-07-024-2/+60
| | |
| * | Autotest: Add property-setting and getting tests to QDBusInterfaceThiago Macieira2009-07-021-2/+100
| | |
| * | Autotest: Add testing of QDBusAbstractInterfaceThiago Macieira2009-07-028-0/+937
| | |
| * | Autotest: add tests for method call errorsThiago Macieira2009-07-021-2/+103
| | |
| * | Autotest: make sure we create the QDBusInterface after the object exists.Thiago Macieira2009-07-021-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | The current code allows making calls to QDBusInterface objects that failed to introspect. It's technically a valid condition. You won't be able to connect to signals, get or set properties, but making calls was possible. I don't know if I want to keep this change in behaviour.
| * | Adapt the message-sending code to return error messages from theThiago Macieira2009-07-021-2/+14
| |/ | | | | | | | | | | marshalling code. Reviewed-By: Harald Fernengel
* | add support for attaching meta data to translatable messagesOswald Buddenhagen2009-07-022-0/+40
| | | | | | | | Requirement: QT-457
* | Merge branch '4.5'Thiago Macieira2009-07-026-2/+216
|\ \ | |/
| * add license headersOswald Buddenhagen2009-07-025-0/+205
| |
| * Get more autotests passing/fixed up.Bill King2009-07-022-2/+16
| |
* | add a few QObject binding testsKent Hansen2009-07-021-0/+23
| |
* | QAnimation: fix a jump in values when restarting an animationThierry Bastian2009-07-011-0/+5
| |
* | Animations: adding an autotest for jumping values when restartingThierry Bastian2009-07-011-0/+52
| | | | | | | | | | The problem is that when restarting, the time is at the end. So the current value changes to the end value instead of the initial value.
* | Fixed inheritance of some attributes in SVG.Suneel BS2009-07-011-0/+124
| | | | | | | | | | | | | | Fixed inheritance of stroke attributes, the font-size and text-anchor attribute. Autotest added by Kim. Reviewed-by: Kim
* | tests: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT supportminiak2009-07-0117-235/+122
| | | | | | | | | | Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* | Added QGraphicsScene::sendEvent().J-P Nurmi2009-07-011-1/+28
| | | | | | | | | | Merge-request: 787 Reviewed-by: Bjørn Erik Nilsen <bjorn.nilsen@nokia.com>
* | ItemViews: Fixed signal entered not being emitted when using the mouseThierry Bastian2009-07-011-0/+19
| | | | | | | | | | | | | | | | | | | | wheel The solution is to check the the current "entered item" hasn't change also when the scrollbars change values Task-number: 200665 Reviewed-by: janarve
* | Set the focus to a child widget when set on a QGroupBoxBenjamin Poulain2009-06-301-0/+11
| | | | | | | | | | | | | | | | | | When the focus is set on a QGroupBox with the policy NoFocus, the focus should be propagated to one of the child if it accepts the focus. This was failing because QWidget::focusWidget() returns the QGroupBox itself. Task-number: 257158 Reviewed-by: Denis