summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Document QAction::MenuRole not working on submenus.Norwegian Rock Cat2009-08-141-0/+5
| | | | | | | We could do it or we couldn't. It's simply a judgement call and I think the comments in the task are a good argument for NOT doing it. Task-number: 227875
* Fix the painting of QComboBox on Mac when the rect is not at the originBenjamin Poulain2009-08-142-42/+104
| | | | | | | | | | | | The style was assuming that the combo box is painted at (0,0). This is not the case when the painting is done in the delegate of an item view. The offset of the rect is now taken into account to paint the style. HIRect has been replaced by QRect when it make sense. Task-number: 00026815 Reviewed-by: Richard Moe Gustavsen
* On Mac, hitTestComplexControl() return an incorrect value for comboboxBenjamin Poulain2009-08-141-2/+0
| | | | | | | | The function hitTestComplexControl() of the mac style returned SC_ComboBoxArrow when the point is not over an element of the widget. Task-number: 252857 Reviewed-by: Richard Moe Gustavsen
* Fix crash/assert on Mac when painting "small" QPushButtons.Morten Sorvig2009-08-131-0/+7
| | | | | | | | | A QPushButton with a height if (say) three pixels would cause HIThemeGetButtonContentBounds ot return a rect with dimentions {int_min, int_min, 0, 0}. Detect that case and return the button rect instead. Reviewed-by: Trust Me
* Fix Menu icons are too large on CocoaDean Dettman2009-08-131-2/+2
| | | | | | | | The magic number 22 was based on windows sized icons, a size of 16 should be correct for mac Task-number: 259289 Reviewed-by: NRC
* Wrapped the XInput include with an ifdef.Denis Dzyubenko2009-08-121-0/+4
| | | | | | | | That should fix compilation on platforms that do not have xinput headers installed. Reviewed-by: Thiago Macieira (cherry picked from commit 0a13188468997d6c3253db5b29f05a119945f131)
* don't test dbus stuff where no dbus isJoerg Bornemann2009-08-121-3/+3
| | | | Reviewed-by: Leo
* tst_qurl fixed after the great URL replacement spreeJoerg Bornemann2009-08-121-15/+15
| | | | | Reviewed-By: mauricek Reviewed-By: thartman
* fix tst_QWidget::showAndMoveChild for Windows mobileJoerg Bornemann2009-08-121-0/+1
| | | | | | | | This test created a widget at position (0,0) and grabbed the screen. That's a bad idea on Windows mobile because the upper task bar will cover the widget. Reviewed-by: thartman
* fix tst_QWidget::inputFocus_task257832 on WindowsJoerg Bornemann2009-08-121-0/+1
| | | | | | | | The widget must be created before calling QInputContext::setFocusWidget. Otherwise we run into an assertion. Yes, this only occurs in debug configuration but its still annoying... Reviewed-by: thartman
* indentation fixed in tst_QWidget::inputFocus_task257832Joerg Bornemann2009-08-121-10/+10
| | | | Reviewed-by: TrustMe
* respect QAbstractSpinBox::NoButtons in windowsce / windowsmobile stylesJoerg Bornemann2009-08-122-1/+9
| | | | | | | Code is adapted from QCommonStyle which handles this case for other styles. Reviewed-by: thartman
* fix QTextFormat::doubleProperty where qreal is floatJoerg Bornemann2009-08-121-3/+4
| | | | | | | | This function was too strict. It returned 0 if the property wasn't of type QVariant::Double. Now it tests for QMetaType::Float too. Reviewed-by: kh1 Reviewed-by: mauricek
* fix decoration of DontShowOnScreen widgets on Windows CEJoerg Bornemann2009-08-121-1/+1
| | | | | | | | Widgets with the WA_DontShowOnScreen attribute must not have a window decoration. Autotest: tst_QWidget::initialPosForDontShowOnScreenWidgets Reviewed-by: thartman
* Test naming convention fixes.Rohan McGovern2009-08-129-8/+8
| | | | | Make sure the testcase and directory name are the same (excluding `tst_').
* Update embedded copyright headers.Jason McDonald2009-08-124-30/+84
| | | | Reviewed-by: Trust Me
* Revert "Frame property for QDateTimeEdit can be set independently of"Matthew Cattell2009-08-111-1/+0
| | | | | | This reverts commit 6844dea0cb583a86bc72e7f008720ab76deef040. added to wrong branch. should be in 4.6 but this was added to 4.5
* Frame property for QDateTimeEdit can be set independently ofMatthew Cattell2009-08-111-0/+1
| | | | | | | | | | | calendar popup A frame was always drawn around the QDateTimeEdit editor if a popup calendar had been set. QStyleOptionsComboBox options are being set in paintEvent and initialised from the properties of QStyleOptionsSpinBox but were missing the frame bool property. Now, if the user sets a frame on the QDateTimeEdit, this property will be consistent with setFrame() property of the QDateTimeEdit widget.
* Phonon: improve locking to make it safer to load a sourceThierry Bastian2009-08-112-17/+25
| | | | Task-number: 259482
* Update URL for Qt FTP site.Jason McDonald2009-08-1111-38/+38
| | | | Reviewed-by: Trust Me
* Update URL for Qt Labs.Jason McDonald2009-08-113-6/+6
| | | | Reviewed-by: Trust Me
* Update URL for mailing list server.Jason McDonald2009-08-114-4/+4
| | | | Reviewed-by: Trust Me
* Update URL for Qt web site.Jason McDonald2009-08-11101-171/+171
| | | | Reviewed-by: Trust Me
* Update URL of online documentation.Jason McDonald2009-08-1158-100/+100
| | | | Reviewed-by: Trust Me
* Update old email address.Jason McDonald2009-08-11321-568/+568
| | | | Reviewed-by: Trust Me
* Eliminate some mentions of Trolltech.Jason McDonald2009-08-1182-218/+229
| | | | Reviewed-by: Trust Me
* Qt's domain name is now qt.nokia.com.Jason McDonald2009-08-11108-282/+279
| | | | Reviewed-by: Trust Me
* Update license headers.Jason McDonald2009-08-117115-7215/+7215
| | | | Reviewed-by: Trust Me
* Fixes formatting of date strings in psql driverBill King2009-08-101-1/+1
| | | | | After the coverity fix, the proper code path executed, which failed to enquote the date field properly, so this fix fixes that issue.
* Missing break when formatting from a time valueBill King2009-08-101-0/+1
| | | | Found by coverity.
* Doc: Our webdomain has changed.Volker Hilsheimer2009-08-1013-51/+51
|
* Doc: Fix a typoBenjamin Poulain2009-08-101-1/+1
| | | | Genarated->generated
* Fixed an assert that could happen when the mediaSource is deletedThierry Bastian2009-08-103-30/+21
| | | | | | | | | | | | When using streaming, it could happen that the last reference to the MediaSource is in another thread. So the objects are destroyed from another thread. In which case we would delete QObject (ioDevice) in another thread. That is fixed by calling deleteLater which will ensure that they are deleted in their own thread. Note: there was a nother assert that could happen due to a race condition in the worker thread. That is also fixed with this patch. Reviewed-by: jbache
* Fix autotest for qtwidgets::snapshotJens Bache-Wiig2009-08-101-3/+3
| | | | | | Kramer is no longer accessible from the pulse test system Reviewed-by: jesperht
* Prevent a crash when there is no QTest::logger when calling warn()Andy Shaw2009-08-101-1/+3
| | | | | | | Also, the info() function was modified to use an assert rather than an pointer check with an if to make it consistent with the rest of the file. Reviewed-by: jesperht
* remove useles QT += networkOswald Buddenhagen2009-08-071-2/+1
|
* Fix compilation with xlC 7: operands to ?: must match.Thiago Macieira2009-08-071-2/+2
| | | | | | | See 3ae2cab9c8bd1790a00da2755ac036143a3a35f4 for another similar fix. Reviewed-by: Trust Me (cherry picked from commit 18fbfdf0f774198e2e1277e064cc3a8eb9dbb29d)
* Fix compilation with xlC 7: operands to ?: must match.Thiago Macieira2009-08-071-1/+1
| | | | | | | "../shared/qm.cpp", line 556.45: 1540-0207 (S) No common type found for operands with type "const char [7]" and "QByteArray". Reviewed-by: Trust Me (cherry picked from commit 3ae2cab9c8bd1790a00da2755ac036143a3a35f4)
* xlC 7 cannot compile QtConcurrent with these templates hereThiago Macieira2009-08-071-1/+1
| | | | (cherry picked from commit cb64ac587249f5dc6563a035e2ef5a3ad2bc5d13)
* Add functionality tests for XSync.Thiago Macieira2009-08-073-1/+49
| | | | | | | | It was reported to be auto-detected, but wasn't. Apparently, AIX 6's X11 doesn't have this. Reviewed-By: Denis Dzyubenko <denis.dzyubenko@nokia.com> (cherry picked from commit 0a63875d787e1b035ace2c76fa1d0de6329127d7)
* Autotest: ensure we don't mishandle SSL certificates with NULsThiago Macieira2009-08-072-0/+98
| | | | | | This is a vulnerability in some implementations. Qt isn't affected because... well, we never implemented the decoding of escape sequences :-)
* Avoid compiling imageformats if you configure with -no-lib*Marius Storm-Olsen2009-08-071-3/+9
| | | | | Task-number: 239108 Reviewed-by: Andy Shaw
* Use QFile instead of QTemporaryFile in compilerwarning testcaseMarius Storm-Olsen2009-08-061-5/+9
| | | | | | | | | | | | | | QTemporaryFile on Windows doesn't open the file as a sharable, and doens't close the file when you call .close(). So the testcase fails on Windows with a Sharing Violation when the compiler tries to compile the file. By switching to QFile we can at least close the file before letting the compiler chew on it, and remove it at the end when the testcase is done. Open the file with Truncate, in case the testcase fails to remove the file. Reviewed-by: trustme
* Fix crash in QX11Data::xdndHandleEnter when XGetWindowProperty failsOctavian Voicu2009-08-061-6/+7
| | | | | | | Task-number: 259143 Merge-request: 1119 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Tests: Make uic/uic3 use QLibraryInfo paths as do the linguist tests.Friedemann Kleint2009-08-062-2/+4
|
* Mac: fix autotestRichard Moe Gustavsen2009-08-061-1/+1
| | | | | | | | On mac, we prefer testing with mp3 rather than ogg, Because in the latter case, you must install perian to make it work. And the test machines dont. Reviewed-by: brad
* Tests: Make tools tests (rcc/moc/uic/uic3) run without X11-connection.Friedemann Kleint2009-08-064-4/+4
|
* Make the test pass by setting a path where you have dirs.Alexis Menard2009-08-061-1/+2
| | | | | | | | The test was failing because the goal of the test expect to get only directories displayed. But if you don't have some in the current dir then it fails. home dir should be enough. Reviewed-by:TrustMe
* Cleaned up test naming and platform-specific tests.Rohan McGovern2009-08-0632-201/+194
| | | | | | | | | | | | | | When an autotest fails to compile, there's no way to determine which testcase(s) have been prevented from running. Our results parsing tools have been guessing, under the assumption that a directory called `qdogwalker' always contains a testcase named `tst_qdogwalker'. That wasn't true for all our tests, so let's make it true. Also changed the platform-specific tests so that qmake will simply skip those tests on unsupported platforms, instead of wasting time compiling a useless QTEST_NOOP_MAIN test.
* Fix a bug when activating HideNameFilterDetails on Windows filedialog.Alexis Menard2009-08-052-11/+19
| | | | | | | | | | The HideNameFilterDetails was not taken in account for windows file dialog. This patch fix that. For Windows Vista and later we use now the new COMMON_ITEM_DIALOG API (in master) where it add always the filter extension like *.txt so no point to take that flag in account. Task-number: None, during testing Reviewed-by: prasanth