summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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 '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-1726-50/+50
| | | | | | | | 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-16905-2615/+131985
|\ \ \ | |/ / |/| / | |/
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-16891-1916/+1916
| | | | | | | | 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.
* | Deactivate the low level POSIX bench on WindowsAlexis Menard2009-06-151-0/+2
| |
* | 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
* | Improve the speed of QDir, QFileInfo and QDirIterator.Alexis Menard2009-06-152-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch basically avoid to call too often currentFileInfo in QDirIterator. It replaces the QHash that was overkill in QFileInfo for caching filenames. The last part is reordering the matchesFilter to avoid stat as much as possible by using the power of && and filters that are set on QDirIterator. And it fixes some random "mistake". I have added a benchmark in QDir which test some use case with 10000 files in a dir. Written-with: Benjamin Reviewed-by: phartman
* | Added new qwebkit autotests.Simon Hausmann2009-06-157-1/+121
| | | | | | | | Reviewed-by: Tor Arne