summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Stabilize tst_QGraphicsView::moveItemWhileScrolling.Bjørn Erik Nilsen2009-06-251-1/+1
|
* Merge commit 'qt/master' into graphicssceneindexBjørn Erik Nilsen2009-06-2316-219/+1200
|\ | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene.cpp src/gui/graphicsview/qgraphicsscene_p.h
| * 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-232-0/+50
| |\ | | | | | | | | | | | | 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
| * | 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
| | |
| * | 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).
* | | More work on getting autotests to pass.Andreas Aardal Hanssen2009-06-232-5/+24
| | |
* | | Remove unused code / delay in this autotest.Andreas Aardal Hanssen2009-06-221-5/+0
| | |
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Alexis Menard2009-06-1820-106/+337
|\ \ \ | |/ / | | | | | | qt-main/qgraphicssceneindex
| * | 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.
* | | Make the autotests compile again.Andreas Aardal Hanssen2009-06-181-5/+18
| | | | | | | | | | | | Reviewed-by: Alexis
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Alexis Menard2009-06-17904-2694/+132102
|\ \ \ | |/ / | | | | | | qt-main/qgraphicssceneindex
| * | 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.
| * | add tests for QAbstractState::{entered,exited}() signalsKent Hansen2009-06-171-0/+9
| | |
| * | Fix QGraphicsItem::ItemHasNoContents rendering of children.Andreas Aardal Hanssen2009-06-171-0/+27
| | | | | | | | | | | | | | | | | | | | | The ItemHasNoContents flag was preventing items that clip their children from rendering their children at all. Fixed now. Reviewed-by: bnilsen
| * | Update license headers in files that are new in 4.6.Jason McDonald2009-06-1721-41/+41
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtVolker Hilsheimer2009-06-1653-187/+187
| |\ \
| | * | Made uic generate QLayout::setContentsMargin instead of setMargin.Friedemann Kleint2009-06-1653-187/+187
| | | | | | | | | | | | | | | | | | | | With the exception of layout functions, which is too weird. Task-number: 255846
| * | | Merge license header changes from 4.5Volker Hilsheimer2009-06-16830-2466/+131836
| |\ \ \ | | |/ / | |/| / | | |/