summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | 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
|\ \ \ | |/ / |/| / | |/
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-16816-1767/+1767
| | | | | | | | Reviewed-by: Trust Me
| * Fixes to get some MS Sql Server tests running again + new db definitions.Bill King2009-06-162-1/+10
| |
| * Add Qt 4.4.0 linux-gcc-ia32 testdata to bic test and make the bic testRohan McGovern2009-06-1614-33/+129891
| | | | | | | | | | | | | | | | | | code more maintainable. Stop hardcoding the list of versions to test. Note that this test currenty FAILS because QGraphicsProxyWidget vtable size has changed from 4.4 -> 4.5.
| * Fix wrong comparator in QSslCertificatePrivate::QByteArray_from_X509Markus Goetz2009-06-151-0/+38
| | | | | | | | | | | | | | | | | | Because less-than instead of less-or-equal-than was used, the last line of a PEM encoding was not built when the raw length was multiple of 64. Task-number: 256066 Reviewed-by: mariusSO
| * make qscript unit tests not crash when test files are not foundKent Hansen2009-06-152-16/+18
| |
| * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Derick Hawcroft2009-06-155-673/+50
| |\
| | * BT Revert "Fix the behaviour of sql classes regarding quoted identifiers"Bill King2009-06-155-673/+50
| | | | | | | | | | | | | | | This reverts commit bb7bddc47dd0748b45d22180d9e3c8e5209010b3 due to forward binary compatibility issues in a point release.
| * | unit test for task 229811Derick Hawcroft2009-06-151-7/+55
| |/
| * Adds unit test for task: 180617Derick Hawcroft2009-06-151-4/+41
| | | | | | | | | | Tests to see if QSqlQueryModel inserts extra empty gridlines into a view for a specific SQL query statement that should return no data.
* | add test for task 256184Kent Hansen2009-06-151-0/+14
| |
* | add a bunch of qtscript autotestsKent Hansen2009-06-156-2/+232
| | | | | | | | Get that code coverage up.
* | implement equality operator in a more sane wayLars Knoll2009-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Using qFuzzyCompare for checking whether two transformations are equal doesn't give us too much and is inconsistent with our other matrix classes. Using simple floating point equality is a lot faster as well. Added qFuzzyCompare overloads for QMatrix and QTransform to still allow for fuzzy comparisons. Reviewed-By: Samuel Rødal
* | Added new qwebkit autotests.Simon Hausmann2009-06-157-1/+121
| | | | | | | | Reviewed-by: Tor Arne
* | Stage 1 of incorporating database level precision policy.Bill King2009-06-151-10/+16
| | | | | | | | | | | | | | | | Queries now ask the database object what precision they should be, allows for setting precision policies on sql models, where previously this was not available. Also fixes some failing precisionpolicy implementations, as well as working around the fact qstring can't convert from "123.00" to an int based type.
* | Fixed bitmap drawing in GL 2 engine when not using GL pixmap backend.Samuel Rødal2009-06-121-0/+11
| | | | | | | | | | | | | | | | | | QPixmap shouldn't return true in hasAlphaChannel() for bitmaps, instead the paint engine should check whether the pixmap is a bitmap or not. In addition, QBrush::isOpaque() returned true for bitmap brushes, which is wrong according to the documentation. Reviewed-by: Trond
* | Integrating QProxyStyleJens Bache-Wiig2009-06-121-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | This class adds convenient support for proxy styles in Qt. Note that to support proper proxying, styles now call their functions through proxy() so that the proxy regains control over subcomponents. Note that there is a small price to be payed by the extra function call which can at the cost of readability be redirected to the private class member in the future. Task-number: 229556 Reviewed-by: trond
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBjørn Erik Nilsen2009-06-121-32/+73
|\ \
| * | Made QPixmap autotest pass with -graphicssystem openglSamuel Rødal2009-06-121-32/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The window surface has been modified to track widget deletion to make sure it doesn't try to access the widget's context data after deletion. QGLPixmapData now also uses GL_RGB instead of GL_RGBA when appropriate, and hasAlphaChannel() has been modified in view of this. A number of other issues have been fixed in QGLPixmapData, and the autotest has been modified to use a more lenient pixmap compare function due to off-by-one pixel errors here and there. Reviewed-by: Trond
* | | Merge commit 'origin/4.5'Bjørn Erik Nilsen2009-06-126-17/+82
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | Conflicts: demos/boxes/glshaders.cpp src/gui/graphicsview/qgraphicsitem.cpp tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp tools/linguist/shared/cpp.cpp translations/linguist_ja.qm translations/qt_ru.qm
| * QGraphicsItem::setOpacity(0.0) does not trigger an update of child itemsLeonardo Sobral Cunha2009-06-121-1/+50
| | | | | | | | | | | | | | | | Forwarding the ignoreOpacity flag to children in QGraphicsItemPrivate::fullUpdateHelper. This is a complementary fix to task 252913, partly fixed in commit 2e3a5ea44... Reviewed-by: bnilsen BT: yes
| * Fix the qitemdelgate test.Olivier Goffart2009-06-091-14/+14
| | | | | | | | the line edit was deleted when we press enter
| * Fixed intermittent failure of tst_selftests.Rohan McGovern2009-06-091-1/+1
| | | | | | | | Allow more variance for the benchlibtickcounter selftest.
| * Fixed crash in tst_qcombobox when Qt is built in debug mode.Rohan McGovern2009-06-091-1/+1
| | | | | | | | | | "QTableWidget::setModel() - Changing the model of the QTableWidget is not allowed."
| * Fixed tst_qmake failing to compile when QMAKE_CROSS_COMPILED is defined.Rohan McGovern2009-06-091-1/+2
| |
| * Change order of functions in QInputDialog::getDouble()Markus Goetz2009-06-081-0/+15
| | | | | | | | | | | | | | Fixes issue with decimals in the spinbox used for the double Task-number: 255502 Reviewed-by: mbm