summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Michael Brasser2009-06-2420-171/+220
|\ | | | | | | | | | | | | | | kinetic-declarativeui Conflicts: mkspecs/features/qt.prf src/corelib/global/qglobal.h
| * More culling of Panther Code.Norwegian Rock Cat2009-06-231-4/+0
| | | | | | | | | | | | Removed lots of places where we check for Tiger. Now we can assume it. Reviewed-by: Morten Sørvig
| * Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-06-232-0/+13
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebKit/qt/ChangeLog tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
| | * Regression against 4.4 in QRectF::operator|.Bjørn Erik Nilsen2009-06-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 4.4 QRectF handled flat rectangles in the same fashion as QRect does, but that changed with Lars' and Jo's optmizations done in the falcon branch. The difference is that the optimized version only checks whether the width or height is 0, whereas in 4.4 both had to be 0 (isNull()) before we bailed out. This regression also introduced a regression in QGraphicsItem::childrenBoundingRect(). Auto-test included. Task-number: 254995 Reviewed-by: Lars
| | * Add new auto-test QGraphicsItem::childrenBoundingRect2().Bjørn Erik Nilsen2009-06-231-0/+11
| | | | | | | | | | | | Reviewed-by: Andreas
| * | QHttpNetworkReply autotest: fix build on WindowsPeter Hartmann2009-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | build was failing because of a wrong include path set, and the test requires zlib Reviewed-by: Jesper Thomschütz
| * | Merge commit 'origin/4.5'Oswald Buddenhagen2009-06-234-0/+65
| |\ \ | | |/ | | | | | | | | | Conflicts: src/sql/drivers/psql/qsql_psql.cpp
| | * Prevented QWizard from crashing upon removing a page after deleting a field ↵jasplin2009-06-221-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object. QWizard crashed when removing a page after deleting an object that was already registered as a field for the page. This patch prevents such a crash by doing the necessary cleanup immediately when the object is deleted. QWizard::removePage() will then see a consistent state in this case. Reviewed-by: janarve Task-number: 255350
| | * Moving a child widget right after show() does not work as expected.Bjørn Erik Nilsen2009-06-221-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that we did an accelerated move, i.e. scrolled the widget's contents in the backing store and repainted the old area. We cannot do this trick when the widget has been invalidated (show(), resize()). In this case the widget had never been painted, so we basically scrolled the content of its parent and the widget itself appeared as invisible. Auto-test included. Task-number: 255117 Reviewed-by: Paul
| | * Fixed wrong painting when doing IntersectClip after setClipping(false).Samuel Rødal2009-06-222-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation is a bit ambiguous on what the expected behavior here is, but the behavior was consistent across paint engines before 4.5. QPaintEngineEx introduced inconsistencies in the raster and OpenGL paint engines, so this patch reverts the behavior back to what it was in 4.4. Task-number: 256549 Reviewed-by: Trond
| * | Remove default error stateEskil Abrahamsen Blomfeldt2009-06-231-38/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | Having an implicit default error state in the graph which the user has not added is unintuitive and ugly. Rather than have a default error state, we stop execution of the machine and print an error message when the machine has run-time errors. If a user wishes to prevent errors from stopping the machine, you can set one or more error states explicitly.
| * | Fix tests on WindowsEskil Abrahamsen Blomfeldt2009-06-231-16/+16
| | | | | | | | | | | | | | | | | | Formatting of pointers in sprintf() is platform dependent. Use QString::sprintf() instead to make sure warnings match the actual warnings emitted.
| * | Cleanup of db test cases.Bill King2009-06-239-105/+62
| | | | | | | | | | | | | | | Mostly cleanup of dropping of tables to a consistent place. Also enable itemmodel tests.
| * | Mark tests as XFail until they can be investigated further.Bill King2009-06-231-7/+13
| | |
| * | Integrate the OpenVG graphics system into Qt 4.6Rhys Weatherley2009-06-221-0/+1
| | | | | | | | | | | | | | | This change also moves the EGL support classes from QtOpenGL to QtGui so they can be shared between OpenGL and OpenVG.
* | | Merge branch 'kinetic-declarativeui' of ↵Martin Jones2009-06-239-76/+1034
|\ \ \ | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * \ \ Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Michael Brasser2009-06-229-76/+1034
| |\ \ \ | | |/ / | | | | | | | | kinetic-declarativeui
| | * | Fixed bug in the SVG module where display="none" was not respected.Suneel BS2009-06-221-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Elements with display="none" should not be rendered. Modified and autotest added by Kim. Reviewed-by: Kim
| | * | Fixed forward gradient reference in the SVG module.Suneel BS2009-06-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Autotest added by Kim. Task-number: 204686 Reviewed-by: Kim
| | * | Fixed path bug in the SVG module.Suneel BS2009-06-221-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In path, if 'moveto' is followed by multiple pairs of coordinates, those pairs shall be treated as 'lineto'. Autotest added by Kim. Reviewed-by: Kim
| | * | Clamped opacity to the range [0, 1] in the SVG module.Suneel BS2009-06-221-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | Modified and autotest added by Kim. Reviewed-by: Kim
| | * | Fixed fill-rule for polygon SVG element.Suneel BS2009-06-221-14/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Polygon element should apply the fill rule which is specified in its fill-rule attribute. Default fill rule is 'WindingFill' (nonzero). Modified and autotest added by Kim. Reviewed-by: Kim
| | * | perform normalization of signatures for signal transitionsKent Hansen2009-06-221-0/+25
| | | | | | | | | | | | | | | | Make state->addTransition(foo, SIGNAL( bar( ) ), ...) work.
| | * | add test for parallel root state (which currently isn't supported)Kent Hansen2009-06-221-0/+24
| | | |
| | * | Fixed rounding bug in raster paint engine rect / image drawing.Samuel Rødal2009-06-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change 855aa89e0ba99f8a0f75d7b31930bab2cefb93f8 incorrectly changed toNormalizedFillRect to use int truncation instead of qRound. This fixes the autotest failure in tst_QPainter::drawRect2 as well. Reviewed-by: Trond
| | * | Fix the behaviour of sql classes regarding quoted identifiersBill King2009-06-225-60/+678
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If no quotes around identifiers are provided by the programmer, identifiers are treated identically to how the underlying engine would behave. i.e. some engines uppercase the identifiers others lowercase them. If the programmer wants case sensitivty and/or use whitespaces they will need to quote their identifiers. The previous (incorrect) behaviour always quoted the identifiers. Originally committed to 4.5, but removed due to BC concerns, this is a reintegration into mainline for inclusion in 4.6 Reviewed-by: Bill King
| | * | Stage 2 of incorporating database level precision policy.Bill King2009-06-212-7/+23
| | | | | | | | | | | | | | | | All autotests pass now for all databases except DB2 (untested).
* | | | Merge branch 'kinetic-declarativeui' of ↵Martin Jones2009-06-221-0/+26
|\ \ \ \ | |/ / / | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * | | Fix anchor resetting and prevent illegal anchors.Michael Brasser2009-06-221-0/+26
| | | |
* | | | Merge branch 'kinetic-declarativeui' of ↵Martin Jones2009-06-211010-3067/+134228
|\ \ \ \ | |/ / / | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Aaron Kennedy2009-06-19998-3018/+133298
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | kinetic-declarativeui Conflicts: configure.exe tools/qdoc3/htmlgenerator.cpp
| | * | Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-06-185-10/+133
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe tests/auto/qpainter/tst_qpainter.cpp translations/qt_ru.ts
| | | * QItemEditorFactory: made sure the ownership is taken on theThierry Bastian2009-06-181-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QItemEditorCreator The creators were not deleted i nthe destructor of QItemEditorFactory and they could not be safely used for more than one type. Task-number: 228255 Reviewed-by: jasplin
| | | * Made QInputDialog::getText() return null QString when rejectedStian Sandvik Thomassen2009-06-181-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts a behavior change introduced with Qt 4.5.0 where QInputDialog::getText() returned the line edit's text when the dialog was rejected. However, the behavior since Qt 4.0 has been to return a null QString when the dialog is rejected. Task-number: 256299 Reviewed-by: Andy Shaw
| | | * Fixed bugs in QPainterPath::united().Samuel Rødal2009-06-171-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change from a relative to an absolute fuzzy compare as was the case pre-4.4. With a relative fuzzy compare points that have an x or y coordinate of 0 will never be merged with points that are very close to 0, for example (1e-15, 0). Task-number: 251909 Reviewed-by: Trond
| | | * Fixed segmentation fault caused by empty clip.Samuel Rødal2009-06-171-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure not to use the broken QRect constructor, and do an early check on whether the clip rect is empty in QRasterizer::rasterizeLine(). Task-number: 254105 Reviewed-by: Trond
| | | * add SqlQuery unit test for task: 234422Derick Hawcroft2009-06-161-1/+40
| | | |
| | * | QFontDialog: fixed the current font not being updatedThierry Bastian2009-06-181-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could happen when the list of styles depending on the font is different from the font you selected before. It then is not updated and the style of the font returned by the QFontDialog is wrong. Task-number: 256466
| | * | On Mac OS X 10.4, dsable a couple of accessibility tests that hang.Morten Sørvig2009-06-181-6/+12
| | | | | | | | | | | | | | | | | | | | Ideally these should be investigated at some point. For now disable them so that the test can be completed.
| | * | QMenuBar: fixed highlight problem on actions without menuThierry Bastian2009-06-181-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An item without menu could stay highlighted even when the mouse left the menu bar. Task-number: 256322 Reviewed-by: alexis
| | * | Autotests: fix compile issue on hpuxThierry Bastian2009-06-186-8/+12
| | | |
| | * | Compile fix on HP-UXAndreas Aardal Hanssen2009-06-171-1/+1
| | | | | | | | | | | | | | | | Explicit casts make aCC happy.
| | * | make sure __FILE__ and __LINE__ properties are restored correctlyKent Hansen2009-06-171-4/+2
| | | | | | | | | | | | | | | | Task-number: 256184
| | * | Autotests: fix compile issues on HPUXThierry Bastian2009-06-172-45/+44
| | | |
| | * | reset debugger's state correctly when previous engine was deletedKent Hansen2009-06-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | If the engine was deleted, the agent will be 0, but we still want to fall through rather than return immediately, so that the other variables are reset correctly.
| | * | Autotest: fixed compile issues on hp compilerThierry Bastian2009-06-172-25/+23
| | | |
| | * | fix the QScriptEngineDebugger::state() logic, add test, improve docsKent Hansen2009-06-171-0/+2
| | | |
| | * | Phonon::VolumeSlider: Fixed the isMuteVisiblefunctionThierry Bastian2009-06-171-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that it was relying on button->isVisible whereas it should rely on isHidden. isVisible returns false initially when the whole widget is not yet shown. I also added an autotest for it. Task-number: 256331
| | * | perform all property assignments of initial state that's nestedKent Hansen2009-06-171-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | If the machine's initial state is nested, a set of states will be entered, and we need to do the property assignments of all of them.
| | * | bring back QAbstractTransition::triggered() signalKent Hansen2009-06-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | It's been requested by several users. Since we have QAbstractState::{entered,exited}() signals, we should have this one as well.