summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added changes-4.7.5 file.v4.7.5Marko Valtanen2012-01-311-0/+257
|
* Test didn't work after fixed bug QTBUG-17873.Olli Kauppila2012-01-311-1/+1
| | | | | | Error received from application didn't match with expected error from baseline file. Fix removes lines "QPixmap: Cannot create a QPixmap when no GUI is being used" from received error message.
* fix tst_qscriptengine after merging MR-1149Zeno Albisser2012-01-311-0/+2
| | | | Reviewed-by: Olivier Goffart
* Fixed auto-test failures caused by a3a79fefe65ec12.Samuel Rødal2012-01-311-2/+5
| | | | | | | | | QPixmaps might be unintentionally created through QVariant streaming for example, so to prevent breaking existing applications we should just use a warning instead, when creating a QPixmap in a non-GUI application. Task-number: QTBUG-17873 Reviewed-by: aavit
* Fixed failure of tst_qxmlquery::evaluateToReceiverRohan McGovern2012-01-311-1/+1
| | | | | | | | | | Commit 8f95a19d330480bd86650c3d2e4e147d3bca5789 fixed the "missing Z" of QDateTime::toString for Qt::ISODate (see QTBUG-9698). The testdata for this test should have been updated at the same time, but it was forgotten. Reviewed-by: Jason McDonald Change-Id: I9b03519805533665afac15e0c970ac1c9e5d9ab4
* Revert "Don't destroy Qt's internal pthread_key_t if it was not initialized"Marko Valtanen2012-01-311-9/+8
| | | | | | | | This reverts commit 8c31c6529935cd9ee6f99bc38cfd182d5b3182e2 due to a regression in the QThreadStorage autotest. Fix the problem another way: call pthread_once() in the destructor function to ensure that we always call pthread_key_delete() on a key we created.
* Fix regression that caused waitForXXX(-1) to fail.Thiago Macieira2012-01-313-5/+48
| | | | | | | | | | | | | Regression was introduced by 8d4cd52b6981a4e6deea7fdb77f56e40c4f3e6ba when it failed to check when msecs == -1. This manifested visibly in KDE failing to connect to any SSL site -- kioslaves are synchronous and use waitForXXX(-1) (in this particular case, waitForEncrypted, which calls waitForReadyRead). Also, take the opportunity to convert these tests in QTcpSocket to use port 80 (a defined service in the test server) instead of port 22. Reviewed-by: Martin Petersson
* Don't get stuck in a loop while trying to close the active popup widgetAndy Shaw2012-01-311-1/+1
| | | | | | | | | When the application is deactivated then it will try to close down the active popup widget. However, the popup widget can prevent a close from occuring and Qt should respect this without causing problems when the application is reactivated later on. Task-number: QTBUG-23448-fix
* Designer example plugins build behaviour on debug and releaseSamuli Piippo2012-01-314-4/+24
| | | | | | | Change the building of designer example plugins so, that only release version is build when trying to build both. Designer itself is similarly build only as release version and it won't load debug plugins.
* Concurrent example not included when QtConcurrent is not supportedSamuli Piippo2012-01-311-1/+1
|
* Ensure that the type is not registered as a typedefAndy Shaw2012-01-311-1/+1
| | | | | | | | | | When qRegisterMetaType() is given a dummy parameter as 0 then it will try to register it as a typedef and not a type. Changing it to be -1 for the dummy parameter will ensure that it is not registered as a typedef. Task-number: QTBUG-18555 Reviewed-by: Martin Petersson
* Fix set/paperSize(QPrinter::PaperSize) on MacAndy Shaw2012-01-312-11/+18
| | | | | | | | | | This fixes the paper size setting on Mac as it would not return the same paper size that was set with setPaperSize() when calling paperSize(). Test is included. Task-number: QTBUG-20882
* Ensure that QSqlDatabase::database() is still thread-safeAndy Shaw2012-01-311-4/+1
| | | | | | | | | | | | | QSqlDatabase::database() is documented to be thread-safe and when the driver is queried for the numericalPrecisionPolicy set then it can comprimise the thread-safety. Since the driver itself (if one is set) will be queried for the numericalPrecisionPolicy when numericalPrecisionPolicy() is called on the QSqlDatabase then we can have it fallback to the default instead rather than taking the driver's own setting. Task-number: QTBUG-13423
* libpng config for WEC7jaanttil2012-01-311-0/+2
| | | | | | | WEC7 is missing some time conversion related functions -> configured libpng for WinCE accordingly. Task-number: QTBUG-22506
* Hide png symbols in a namespace for -qt-libpngDaniel Teske2012-01-3124-39/+88
| | | | | | | | | If qt is compiled with -qt-libpng then the png symbols prevent a loading of another libpng. With this patch the png symbols are hidden and thus it is possible to load another libpng. Reviewed-by: hjk <qtc-committer@nokia.com>
* Fixes: libpng symbols exported from QtGui.dll on Windowsaavit2012-01-311-0/+5
| | | | | | | | | The upgrade of the bundled libpng to version 1.5 had the side effect of causing the png functions to be exported from the QtGUi DLL when built with the MS Visual C++ compiler. Task-number: QTBUG-21455 Reviewed-by: Kim
* Ensure that using multiple GridViews with the same model source worksAndy Shaw2012-01-311-2/+6
| | | | | | | | | | | | When the same model source is used in multiple GridViews then it can get into a state where items that have been inserted are removed from a list which it then later tries to access to emit signals for. This patch ensures that a list of the items that the signal is emitted for is kept before any of the wrapper items are potentially deleted so that the signals can be emitted as expected correctly. Task-number: QTBUG-22271
* Various qt documentation fixes (wk 44)artoka2012-01-3112-17/+28
| | | | | | Fixes for bugs: QTBUG-13362, QTBUG-15738, QTBUG-15921, QTBUG-18356, QTBUG-18417, QTBUG-18664, QTBUG-21562, QTBUG-22094, and QTBUG-18741.
* Various qt documentation fixes (wk 43)artoka2012-01-3120-121/+169
| | | | | | | Fixes for bugs: QTBUG-21073, QTBUG-8625, QTBUG-1231, QTBUG-19808, QTBUG-8939, QTBUG-20399, QTBUG-20944, QTBUG-12096, QTBUG-12389, QTBUG-6151, QTBUG-16667, QTBUG-7542, QTBUG-22095, QTBUG-11278 and QTBUG-15653
* Various qt documentation fixes (wk 42)artoka2012-01-3114-21/+32
| | | | | | | Fixes for bugs: QTBUG-8673, QTBUG-18101, QTBUG-14194, QTBUG-9109, QTBUG-8331, QTBUG-8329, QTBUG-8786, QTBUG-8787, QTBUG-21295, QTBUG-14554, QTBUG-19367, QTBUG-8323, QTBUG-9466, QTBUG-7924 and QTBUG-20355.
* Various qt documentation fixes (wk 40&41)artoka2012-01-3121-46/+56
| | | | | | | | Fixes for bugs: QTBUG-21067, QTBUG-17025, QTBUG-11489, QTBUG-20069, QTBUG-3563, QTBUG-20089, QTBUG-13983, QTBUG-11820, QTBUG-14732, QTBUG-14521, QTBUG-9675, QTBUG-18313, QTBUG-18313, QTBUG-11312, QTBUG-17739, QTBUG-7678, QTBUG-14759, QTBUG-14756, QTBUG-14677, QTBUG-16164, QTBUG-20721, QTBUG-15562, QTBUG-17029 and QTBUG-18544.
* Fix QProgressBar causing timer event spamTero Ahola2012-01-312-23/+37
| | | | | | | | | | | On Windows you will get a lot of timer events if you use QProgressBar widget. This is because QWindowsStyle uses a timer to animate a progress bar with unknown state (min and max values both zero). The issue was fixed by starting the timer only if needed. Task-number: QTBUG-10501 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Fixed resource leak when setting QProgressBar style sheetTero Ahola2012-01-311-1/+2
| | | | | | | Task-number: QTBUG-19110 Merge-request: 2687 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Prevent stroking zero length lines in qstroker.cppSamuel Rødal2012-01-311-19/+21
| | | | | | | | | If several consecutive points are the same, we should just skip until we get a unique point. This prevents stroking artifacts in the miter join for example. Task-number: QTBUG-5331 Reviewed-by: Kim
* Fixes the double spinbox not updating geometry when suffix is changedThierry Bastian2012-01-311-0/+3
| | | | | | patch was found in the task and looks good. Task-number: QTBUG-9530
* Add an app icon.Thiago Macieira2012-01-311-0/+2
| | | | | | | Thanks to Mario Carrion for the patch. Task-number: QTBUG-10099 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Designer/QFormBuilder::save(): Fix traversal of QGridLayout/QFormLayoutFriedemann Kleint2012-01-312-56/+95
| | | | | | | Remove redundant code in qdesigner_resource ass well. Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com> Task-number: QTBUG-13683
* HTTP internals: send password even if no username is setRobert Hogan2012-01-311-2/+2
| | | | | | | | | | | Setting only a password (no username) for HTTP requests does not result in the password being sent. Only cancel authentication if neither a username nor a password is set. Requiring a username was preventing user-less logins. Merge-request: 1250 Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com> Task-number: QTBUG-15566
* Assistant: Get rid of bogus warning.Christian Kandeler2012-01-311-1/+2
| | | | Task-number: QTBUG-16096
* Designer: Set dirty correctly in case resource paths were changed.Friedemann Kleint2012-01-313-1/+5
| | | | | Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com> Task-number: QTBUG-17918
* Designer: Do not translate page object names of QMdiArea.Friedemann Kleint2012-01-311-2/+2
| | | | | | and page-based containers. Task-number: QTBUG-18244
* Designer: Allow promoted QWidget's to be buddies.Friedemann Kleint2012-01-311-1/+3
| | | | | | Extend check for focusPolicy by promoted check. Task-number: QTBUG-18631
* Designer: Specify 'notr' attribute for buttongroup name.Friedemann Kleint2012-01-311-0/+1
| | | | Such that the name does not show up in lupdate.
* Designer: Check for 0-spacing when loading grid settings.Friedemann Kleint2012-01-311-6/+14
| | | | Task-number: QTBUG-17542
* Add version attributes as per ODF specificationTomas Straupis2012-01-311-0/+2
| | | | | Merge-request: 1120 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
* Fixed the combobox just adjusting their size without relayoutingThierry Bastian2012-01-311-0/+1
| | | | | | | When adjustSize() is called, we nned to call updateGeometry to notify the layout in which the combobox is to redo the layout. Task-number: QTBUG-2559
* Fix a bug with menu overflowing from a lower resolution second screen.Pierre Rossi2012-01-312-14/+51
| | | | | | | | | The menu needs to take into account the screen geometry of the screen it's about to be shown on (not the last screen it was shown on) when updating its actions rects Task-number: QTBUG-2748 Reviewed-by: Thierry
* Small fix in iteviews for sizeHintForColumn/RowThierry Bastian2012-01-311-3/+3
| | | | | | | We were trying to check the column/row count but always from the root of the model insteal of the root that can be defined in the view. Task-number: QTBUG-5773
* add auto test for SSL certificates containing utf8 charactersPierre Rossi2012-01-314-5/+58
| | | | | Task-number: QTBUG-7912 Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
* fix coding style for merge request re. utf8 characters in SSL certsPierre Rossi2012-01-311-7/+6
| | | | | | | | fixes minor coding issues for "Use OpenSSL X509_NAME_ENTRY API to parse UTF8 subjectName/issuerName" Task-number: QTBUG-7912 Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
* Use OpenSSL X509_NAME_ENTRY API to parse UTF8 subjectName/issuerNameRaul Metsma2012-01-313-36/+29
| | | | | | | | ... to be able to display non-ASCII names from subject and issuerInfo. Task-number: QTBUG-7912 Merge-request: 922 Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
* Don't destroy Qt's internal pthread_key_t if it was not initializedBradley T. Hughes2012-01-311-7/+9
| | | | | | | | | | | | | The destructor function destroy_current_thread_data_key() was always called on library unload, even if the pthread_key_t was not initialized. This can cause us to destroy a key that doesn't belong to us, as pointed out in the task below. Fix this by creating a function static instance of a class whose destructor will destroy the key. Task-number: QTBUG-10861 Reviewed-by: Morten Sørvig
* Fixed a problem with toolbars not relayoutingThierry Bastian2012-01-311-4/+4
| | | | | | | | This could happen when dragging an extended toolbar from a mainwindow PAtch was provided on IRC by ravek (#dev) Task-number: QTBUG-10920 Reviewed-by: Trust-Me
* Fixed the itemviews so that the editor is not considered opaque any moreThierry Bastian2012-01-313-26/+3
| | | | | | | The editor was always considered opaque and clipping was set on the painter. This assumption can't be verified. Task-number: QTBUG-11367
* Use packagesExist() macro to bail if a nonexistant package is requested.Robin Burchell2012-01-311-0/+4
| | | | | | | | | | | | | | | This will solve problematic cases with large projects, lots of required packages, and no configure scripts failing to build partway through. Previously, PKGCONFIG processing would error to stdout, but continue the compilation. This should not affect existing code overly much, apart from projects who added nonexistent packages they didn't use to PKGCONFIG (but let's face it, that's a bit of a stupid thing to do.) Task-number: QTBUG-11418 Merge-request: 1022 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* QListView: speedup QListView::setRowHidden()Olivier Goffart2012-01-312-7/+13
| | | | | | | | | Basically the same optimisation that had been made long ago in the tree view: Use the right data structure for QListViewPrivate::hiddenRows (QSet instead of QVector) Task-number: QTBUG-11438 Reviewed-by: Gabriel
* Fixed partial update on QLineEditThierry Bastian2012-01-313-8/+19
| | | | | | | | | QLineControl passes a QRect to tell when a partial update is needed. We used to connect this slot to update. This made the whole lineedit update when the cursor blinked. Task-number: QTBUG-12709 Reviewed-by: gabi
* QGroupBox: Fix the focus rect of the title when using stylesheetMartin Pejcoch2012-01-311-0/+7
| | | | | Task-number: QTBUG-13015 Reviewed-by: Olivier Goffart
* Take Xft.hintstyle by default to match the behavior of GTK+Jiang Jiang2012-01-312-1/+10
| | | | | | | | For Qt apps running in GNOME, we use the GTK+ settings by default (instead of fontconfig settings). Task-number: QTBUG-13800 Reviewed-by: Samuel
* Fix fontconfig pattern mergingJiang Jiang2012-01-311-0/+7
| | | | | | | | | | | | | When merging fontconfig patterns, we need to clean up existing object first, otherwise the added object will be appended instead of replacing the existing object. When multiple font engines are using shaping, if fontconfig patterns are not correctly merged, it will result using the old font. For instance, in "<b>Fake Bold</b> Normal", "Normal" text will continue using the font for "Fake Bold" (that only happen with fallback fonts). Task-number: QTBUG-14455 Reviewed-by: Eskil