summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Stabilize more testOlivier Goffart2009-09-226-20/+21
|
* Fixed crash in QFileSystemWatcher for addPath(nonExistingFile)gunnar2009-09-222-0/+16
| | | | Reviewed-by: Eskil
* Fix QFileInfo autotest to run from a shadow buildJoão Abecasis2009-09-222-35/+90
| | | | | | Also, don't depend on the existence of ~/.qt/ Reviewed-by: Olivier Goffart
* Add a test for the first ::processEvents() on QApplicationBenjamin Poulain2009-09-221-0/+27
| | | | | | | | The test of ea0c0dfa64f5c614bfd728f323d9b6731ee4898c is not valid for the change introduced in that commit. QCoreApplication does not use the event loop of Cocoa. This is the same test in QApplication.
* Fix the test tst_QCoreApplication::sendEventsOnProcessEvents()Benjamin Poulain2009-09-221-3/+1
| | | | | The test is failing when Qt is compiled with Qt 3 support. Qt 3 support send events for the insertion of the new child.
* fix QPixmap::fromWinHICON for Windows CE mobileJoerg Bornemann2009-09-221-3/+20
| | | | | | On WinCE GetIconInfo returns a 0 hotspot for the system icons, thus we cannot use this value to determine width / height of the icon. Instead, we use the icon's bitmap to get this information.
* QPixMap::fromWinHICON compile fix for Windows CEJoerg Bornemann2009-09-221-11/+12
| | | | Reviewed-by: thartman
* Fix "make sis" target for -xplatform symbian-sbsv2Shane Kearns2009-09-221-2/+3
| | | | | | | | CFG_PATH evaluates as "udeb", not "UDEB" when building the debug-armv5 target. So changed the FLM to check for that. Also changed the variable redefinition to ifeq/else/endif. Reviewed-by: Iain
* Docs: Fix spelling and reword docs about S60 specifics.Daniel Molkentin2009-09-222-6/+8
| | | | Reviewed-By: TrustMe
* Fix tst_QFileInfo::isHidden_data() with /bin on Mac OS XBenjamin Poulain2009-09-221-1/+4
| | | | | On Mac OS X, the directory /bin is hidden because it does not have the "Visible" attribute in the filesystem.
* Inverts the SortOrder in graphics scene to reflect the stacking orderLeonardo Sobral Cunha2009-09-228-37/+37
| | | | | | | | Inverted all references of Qt::AscendingiOrder <-> Qt::DescendingOrder to make the order parameter consistent with the stacking order, as stated in the docs. The graphics scene index was using the wrong ordering convention. Reviewed-by: andreas
* make sure the engine's currentFrame is in sync when calling out to public APIKent Hansen2009-09-223-1/+32
| | | | | | | The currentFrame pointer is used e.g. by QScriptValue::toString(). It needs to be in sync, otherwise we will crash. Reviewed-by: Olivier Goffart
* Fixed background gradients in ObjectBoundingModeGunnar Sletta2009-09-221-2/+8
| | | | Reviewed-by: Samuel
* fix failing qdir autotestShane Kearns2009-09-221-1/+1
| | | | | | | | File engine was adding '/' to the result of QDir::cleanPath(), which is correct for everything except root directories, where it caused a path like "c://" Reviewed-by: axis
* Fix crashes in QApplication autotestShane Kearns2009-09-222-6/+10
| | | | | | | | 1) Input methods caused crash due to using CCoeEnv::Fep() without checking for NULL pointer 2) Autotest itself had Q_ASSERT where it should have used Q_VERIFY Reviewed-by: axis
* Fix "... may return wrong private dir if application is on Z:, not C:"Shane Kearns2009-09-221-32/+31
| | | | | | | | | | | | | | | | | QT-805 QCoreApplication::applicationDirPath() may return wrong private dir if application is on Z:, not C: Remove the emulator ifdef, instead RFs::Drive is used to get the drive attributes (to see if it is ROM / read only) RFs::SystemDrive is used to get the system drive, which is C: on S60 phones, but in theory configurable. It is not needed to call Open() on RProcess to call functions on the current process - this eliminates some code. Elimated some unneeded code to check for Z: before creating prvate path (now, the if statement would always have evaluated the same) Task-number: QT-805 Reviewed-by: Miikka Heikkinen
* Doc: Moved the note about QFileSystemModel to the start of the document.David Boddie2009-09-221-4/+4
| | | | Reviewed-by: Alexis Ménard
* Fix focus scope bugs, verified against examples in kinetic-declarativeui.Andreas Aardal Hanssen2009-09-223-36/+25
| | | | | | | The C++ autotests have been updated to match the expected behavior of the examples that broke (e.g., listview.qml) in kinetic-declarativeui. Reviewed-by: Alexis
* Missing mouse release event on toolbars on Mac OS XPrasanth Ullattil2009-09-221-0/+2
| | | | | | | The mouse move events were eaten regardless of the dragging state. Task-number: 238004 Reviewed-by: Thierry
* Fix a regression in 4.6 in icon mode for QListViewThierry Bastian2009-09-221-1/+1
| | | | | | We were not restoring the hidden rows correctly. Reviewed-by: Jan-Arve
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-09-221-1/+1
|\
| * work around another set of duplicated symbols between webkit and scriptLars Knoll2009-09-221-1/+1
| | | | | | | | | | | | jscyyerror/parse/lex where exported on some platforms. Reviewed-By: Simon Hausmann
* | Fixed ellipsedrawing in raser engine for rects over 2^15 in sizeGunnar Sletta2009-09-221-0/+1
|/ | | | Reviewed-by: Samuel
* Prevented export of some internal functions.axis2009-09-222-4/+4
| | | | | | These should not be exported anymore after commit c13b97f2. RevBy: Jason Barron
* Fix to the autotests of Animations to spit less warningsThierry Bastian2009-09-223-67/+77
|
* Fix a possible warning on animations used with statesThierry Bastian2009-09-221-7/+11
| | | | | | The problem is that sometimes timerevents get compressed. So in the unified timer, we need to make sure that some time has passed between 2 ticks.
* Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-09-222-1/+5
|\
| * Fix memleak in tst_qhttpnetworkconnectionMarkus Goetz2009-09-222-1/+5
| | | | | | | | Reviewed-by: TrustMe
* | Added explicit casts to make QScriptValue autotest compile with NokiaX86Miikka Heikkinen2009-09-221-2/+2
| | | | | | | | | | | | | | NokiaX86 compiler has problems with implicit casts and templates, so worked around this problem with explicit casts. Reviewed-by: Janne Koskinen
* | Set maximum heap to 32MB for Symbian autotests.Miikka Heikkinen2009-09-221-1/+1
|/ | | | | | | Several script and webkit tests require increased maximum heap in emulator, so just increase the maximum heap for all autotests. Reviewed-by: Janne Koskinen
* QNetworkReplyImpl: Delete the outgoingDataBuffer in destructorMarkus Goetz2009-09-221-0/+2
| | | | | | Fixes a memleak Reviewed-by: Peter Hartmann
* Saved some space by using bitfields instead of bools.axis2009-09-221-4/+4
| | | | RevBy: Shane Kearns
* Workaround a bug in QDirModel in tst_QDirModel::task196768_sortingOlivier Goffart2009-09-221-8/+5
| | | | | | | | | | | | | | The test was reported failing by pulse on many platform, but noone of us was able to reproduce it locally. The problem was that pulse runs the tests in a hidden dirrectory. And this exposed a bug in the QDirModel. We decided anyway that the bug was not worth fixing considered that QDirModel is kind of deprecated in favor of QFileSystemModel. (The bug is the one reported in task 255066) Reviewed-by: mbm Reviewed-by: Thierry
* Fix breaking on fixed column width when text has tabsEskil Abrahamsen Blomfeldt2009-09-222-2/+43
| | | | | | | | | | | | When a text in QTextLayout contained tabs, these would be counted as single glyphs when breaking the text on a fixed number of columns, rather than the number of characters they span. The patch calculates the number of characters represented by a tab by using the average character width of the font engine. Task-number: QTBUG-4468 Reviewed-by: Simon Hausmann
* Fixed incorrect warning when unable to detect GTK themeJens Bache-Wiig2009-09-221-20/+25
| | | | | | | | | If for some reason the theme name was not detectable, Qt would incorrectly print "QGtkStyle cannot be used together with the GTK_QT engine." I now added a separate "QGtkSTyle was unable to detect the current GTK+ theme." warning instead. Reviewed-by: Trust Me
* Fix autotest failure on combo box with Gtk+Jens Bache-Wiig2009-09-221-2/+2
| | | | | | | We were not respecting the rect offset on combo box arrows. This was preventing the autotest from happily completing with GTK+ style. Reviewed-by: joao
* tst_qnetworkreply: Increased timeout of uploadPerformance()Markus Goetz2009-09-221-1/+1
|
* Fixed a warning.Trond Kjernåsen2009-09-221-0/+2
| | | | Reviewed-by: Kim
* Fixed text drawing in the GL2 engine after sub-pixel hinting was added.Trond Kjernåsen2009-09-223-19/+35
| | | | | | | | | | 1. The mono format was not handled at all. 2. We really, really wanted to use sub-pixel hinted glyphs even when they were not available. 3. The glyphFormat type in the FT font engine wasn't updated to reflect the correct system glyph type. Reviewed-by: Kim
* Compile on all non-windows platformsEskil Abrahamsen Blomfeldt2009-09-221-0/+2
| | | | Function is only used from within Q_OS_WIN or Q_WS_WIN-blocks.
* Make the test fail in a nicer way if it failsPaul Olav Tvete2009-09-221-7/+7
| | | | | | | By default, waitForSignal() will block the entire test if it fails, adding 20 false autotest failures. Reviewed-by: TrustMe
* Make QDialog, and QTreeView test more robustOlivier Goffart2009-09-222-6/+10
|
* Fixes some warning in headersOlivier Goffart2009-09-225-26/+26
| | | | | | | | | such as margins.h:90: warning: declaration of ???bottom??? shadows a member of _this_" 'a' stands for argument Reviewed-by: jbache
* Fixes warnings in QMapOlivier Goffart2009-09-221-5/+4
| | | | | | | | | | Get rid of the pages of warning you get when compiling code that uses QtConcurrent::map for instance. qmap.h:607: warning: dereferencing pointer 'y' does break strict-aliasing rules qmap.h:605: note: initialized from here Reviewed-by: Peter Hartmann
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Jason McDonald2009-09-2243-234/+867
|\
| * Fix QScriptValue::strictlyEqualsSimon Hausmann2009-09-221-1/+8
| | | | | | | | | | | | | | | | strictlyEquals has to continue to work if one of the values has an engine and the other one doesn't. Use the other value's engine to construct a JSValue if possible and use JSC::JSValue::strictEqual. Reviewed-by: Kent Hansen
| * Fix QScriptValue constructors without a QScriptEngineSimon Hausmann2009-09-221-36/+9
| | | | | | | | | | | | | | Don't create JSC types as the conversion back to a string now requires an ExecState. Reviewed-by: Kent Hansen
| * Merge branch '4.6' of git@scm.dev-nokia.troll.no:qt/qt into 4.6Andreas Aardal Hanssen2009-09-221-0/+187
| |\
| | * Added helper script to import src/3rdparty/javascriptcoreSimon Hausmann2009-09-221-0/+187
| | | | | | | | | | | | | | | | | | Based on mkdist-webkit Reviewed-by: Kent Hansen
| * | Merge commit 'origin/4.5' into 4.6Andreas Aardal Hanssen2009-09-226-5/+196
| |\ \ | | |/ | |/| | | | | | | | | | Conflicts: src/corelib/kernel/qcoreapplication.cpp tests/auto/windowsmobile/test/tst_windowsmobile.cpp