summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* add qph autotestOswald Buddenhagen2009-11-252-0/+22
|
* Merge commit '0d20ec8604b318ceafd6c35dfe1d73519bf024d3' of oslo-staging-1 ↵Simon Hausmann2009-11-255-21/+45
|\ | | | | | | into 4.6
| * QNetworkCookieJar: don't do path checking when receiving cookiesPeter Hartmann2009-11-241-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | Actually, the RFC 2109 says cookies should not be stored if the path attribute is not a prefix of the request URI the cookie comes from. However, all browsers allow it anyway; with the demo browser e.g. logging in to wordpress.com was not possible. We still do path checking when sending cookies, i.e. in QNetworkCookieJar::cookiesForUrl(). Reviewed-by: Markus Goetz Task-number: QTBUG-5815
| * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Simon Hausmann2009-11-244-1/+77
| |\
| * | update autotest to match 4.6 behaviorKent Hansen2009-11-231-9/+14
| | | | | | | | | | | | | | | In 4.6 the Global Object no longer has an arguments property with undefined value; there should be no such property.
| * | Add reference to JIRA task for expected test failureKent Hansen2009-11-231-1/+1
| | |
| * | Add references to JIRA tasks for expected test failuresKent Hansen2009-11-234-9/+9
| | | | | | | | | | | | | | | | | | These are behavioral differences between QtScript in 4.6 and 4.5, and so should have tasks to figure out whether anyone actually depend on the behavior.
| * | Don't crash in eval() function when QtScript debugger is attachedKent Hansen2009-11-231-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The built-in eval() function bypasses the script registration performed by QScriptEngine::evaluate(), so if we get an atStatement() callback from JSC from that script, the scriptID-to-sourceProvider lookup will fail. In this case, just return from atStatement() without delivering the positionChange() callback to the QScriptEngineAgent, since the agent will not have received the scriptLoad() callback for that script anyway. This is a change in behavior from 4.5, but we consider it the minimum-impact fix at this point to keep 4.6.0 from crashing. The only downside is that debugging will effectively be "disabled" for the script passed to eval(), but that's a lot better than crashing. Task-number: QTBUG-6108 Reviewed-by: Jedrzej Nowacki
* | | Fix softkeys for QDialogButtonBoxes created without a parent.Jason Barron2009-11-241-16/+44
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | Inthe case where a QDialogButtonBox was created without a parent, for example in the FTP example, the softkeys that are automatically created inside the button box were not being added to the right widget when the button box was given a parent (or added to a layout) later. This patch resolves that issue by handling the ParentChange event and then adding the softkeys at this point. Task-number: QTBUG-6086 Reviewed-by: axis
* | Don't crash in eval() function when QtScript debugger is attachedKent Hansen2009-11-241-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The built-in eval() function bypasses the script registration performed by QScriptEngine::evaluate(), so if we get an atStatement() callback from JSC from that script, the scriptID-to-sourceProvider lookup will fail. In this case, just return from atStatement() without delivering the positionChange() callback to the QScriptEngineAgent, since the agent will not have received the scriptLoad() callback for that script anyway. This is a change in behavior from 4.5, but we consider it the minimum-impact fix at this point to keep 4.6.0 from crashing. The only downside is that debugging will effectively be "disabled" for the script passed to eval(), but that's a lot better than crashing. Task-number: QTBUG-6108 Reviewed-by: Jedrzej Nowacki (cherry picked from commit 23002374d11598b26b6585e78dc073071a13f0ec)
* | Merge oslo-staging-2/4.6 into upstream/4.6Olivier Goffart2009-11-234-1/+77
|\ \ | |/ |/|
| * Fixes painting issues when scaling a QGraphicsView.Yoann Lopes2009-11-201-0/+39
| | | | | | | | | | | | | | | | | | The problem was that the 'exposed rectangle' passed to the Item's paint() function was rounded to Int values, whereas the one passed to drawBackground and drawForeground was not. Autotest included. Task-number: QTBUG-5859 Reviewed-by: bnilsen
| * Merge commit 'origin/4.6' into 4.6Olivier Goffart2009-11-2013-84/+109
| |\
| * | Q_ASSERT failure when resizing a span to (1,1) in 1st cellGabriel de Dietrich2009-11-201-0/+8
| | | | | | | | | | | | | | | Reviewed-by: Olivier Task-number: QTBUG-6004
| * | avoid possible crash when showing a modal dialog from a widget destructorThierry Bastian2009-11-201-0/+25
| | | | | | | | | | | | | | | Task-number: QTBUG-5804 Reviewed-by: denis
| * | Fix for tabwidget usesScrollButton being overriden by stylesheetOlivier Goffart2009-11-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting a stylesheet or reparenting a widget into a widget using style sheet would cause the usesScrollButtons to be reset. Instead we now keep the flag whenever it has been explicitly set by the user rather than querying from the style again. Task-number: QTBUG-3370 Reviewed-by: jbache
* | | Merge commit 'b7692016f282251002b3e85dfcb5567bd91a12c0' of oslo-staging-1 ↵Simon Hausmann2009-11-231-0/+112
|\ \ \ | | | | | | | | | | | | into 4.6
| * | | Fix regression introduced in 1e6b424b692b20dcfec920f8d3563e520ec1ff05João Abecasis2009-11-201-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When processing the result of QIODevice::readLine, forgot to take into account that a '\0' is appended to the array. The terminating character is not accounted for in the number of bytes returned. By pre-allocating a byte for the terminating null character, we make sure we'll actually read 16k bytes on each and every iteration. Task-number: QTBUG-6019 Reviewed-by: Thiago Macieira
* | | | Merge remote branch 'staging/4.6' into 4.6Oswald Buddenhagen2009-11-237-15/+60
|\ \ \ \ | |_|_|/ |/| | |
| * | | fix encodings, take NOswald Buddenhagen2009-11-207-15/+60
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-4499 Task-number: QTBUG-5276
* | | | Merge commit 'd9fa92' into origin-4.6Olivier Goffart2009-11-206-11/+70
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵axis2009-11-201-0/+13
| |\ \ | | | | | | | | | | | | 4.6-staging2
| | * | Fix crash when using splash screen, or QPixmap::copy()Shane Kearns2009-11-191-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Missing virtual function now implemented Task-number: QTBUG-5977 Reviewed-by: axis
| * | | Add a QTest::qWaitForWindowShown for a failing qlistview autotestLeonardo Sobral Cunha2009-11-191-0/+2
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| * | | On main window, the sizegrip visibility was not correctly updatedThierry Bastian2009-11-191-0/+14
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-4334 Reviewed-by: ogoffart
| * | | Fixes: QCommandLinkButton crop large icons.Olivier Goffart2009-11-191-7/+37
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-1976 Reviewed-by: Gabi
| * | | Merge upstream/4.6 into oslo-staging-2/4.6Olivier Goffart2009-11-1911-6/+2214
| |\ \ \
| * \ \ \ Merge branch '4.6' of git@scm.dev.troll.no:qt/oslo-staging-2 into 4.6Jan-Arve Sæther2009-11-191-3/+3
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵axis2009-11-191-3/+3
| | |\ \ \ | | | | | | | | | | | | | | | | | | 4.6-staging2
| | | * | | Fix tst_QTextLayout::testTabDPIScale on Symbian hardwareAlessandro Portale2009-11-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increased the sample positions of the tabs a bit in order to pass also un high DPI devices such as the XpressMusic 5800. The former positions were too narrow under high DPI, and overlapped by the text. Reviewed-By: Liang Qi
| * | | | | Convert pointer to string properly on 64 bit systems too.Jan-Arve Sæther2009-11-191-1/+1
| |/ / / /
* | | | | Merge commit 'b345b96dc14cc0da3a9ff44216d447e6f2c8ad97' from oslo-staging-1 ↵Simon Hausmann2009-11-201-5/+7
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | into 4.6
| * | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Simon Hausmann2009-11-1911-101/+240
| |\ \ \ \
| * | | | | Autotest: Change the service name we're testing between tests.Thiago Macieira2009-11-191-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, we get errors from one test to the next, due to the cleanup unregistering the name again. Task-number: QT-5588
* | | | | | Merge remote branch 'mainline/4.6' into 4.6Oswald Buddenhagen2009-11-1923-178/+355
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch '4.6' of oslo-staging-1 into 4.6Simon Hausmann2009-11-1911-75/+100
| |\ \ \ \ \ | | |/ / / / | | | | | / | | |_|_|/ | |/| | |
| | * | | tst_qtcpsocket: Stabilize by increasing timeoutsMarkus Goetz2009-11-181-7/+7
| | | | | | | | | | | | | | | | | | | | Reviewed-by: TrustMe
| | * | | Added missing autotests to the tests/auto.proDenis Dzyubenko2009-11-188-64/+66
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Olivier Goffart
| | * | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Simon Hausmann2009-11-1818-22/+2297
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe
| | * | | | upgraded harfbuzz to lastest versionLars Knoll2009-11-181-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade harfbuzz to b0d396aa88b3cdf8cea896bfeeba197656e1cdb1. This fixes a text rendering problem in Malayalam. Task-number: QTBUG-1887 Reviewed-by: Simon Hausmann
| | * | | | Fix regression introduced in 98a05681851db9d88b1364af52be543715fbe306João Abecasis2009-11-182-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some network tests were set up to ignore a qWarning that was removed. Fixed those tests. Made warning from QIODevice::getChar have the right function name. Reviewed-by: Thiago Macieira
| * | | | | Merge oslo-staging-2/4.6 into upstream/4.6Olivier Goffart2009-11-1910-99/+228
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| | * | | | Fixed tst_QTableView::changeHeaderData auto-test on MacGabriel de Dietrich2009-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Olivier
| | * | | | Fixed tst_QTableView::mouseWheel auto-test on MacGabriel de Dietrich2009-11-181-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix reverts some changes from 1f4e378ca0f9c63bb99a92f3e98b104a0baa408a. Reviewed-by: Olivier
| | * | | | QListView: fixes skipping one item in pageDown(Up)Leonardo Sobral Cunha2009-11-181-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous implementation was scrolling down (number of visible items in viewport) + 1 and this was leading to one item being skipped while doing page down (the same also happened for page up). Now we are scrolling (number of visible items in viewport) - 1 for each page down(up) (the '-1' is for keeping the context, so the last item will turn into the first in case of a page down, for example). Task-number: QTBUG-5877 Reviewed-by: thierry
| | * | | | QListView: cleaning up whitespacesLeonardo Sobral Cunha2009-11-181-10/+0
| | | | | |
| | * | | | QMenu: make the menu follow its parent/caused layout directionThierry Bastian2009-11-181-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autotest are included Task-number: QTBUG-5884 Reviewed-by: ogoffart
| | * | | | Crash when rendering a scene using DeviceCoordinateCacheGabriel de Dietrich2009-11-181-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The execution flow would allow the widget the scene would be rendered on to be null. However this very widget was being used when using DeviceCoordinateCache to get the desktop size. We now skip this optimisation when no widget is given. Auto-test included. Reviewed-by: bnilsen Task-number: QTBUG-5904
| | * | | | Fix tst_QAlgorithms::test_qBinaryFind on solarisOlivier Goffart2009-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comparison between const and non-const iterator is not safe Reviewed-by: Joao
| | * | | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6Eskil Abrahamsen Blomfeldt2009-11-182-66/+99
| | |\ \ \ \ | | | | |_|/ | | | |/| |