summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* QNetworkAccessManager can delete the QAbstractNetworkCache pointer atBenjamin C Meyer2009-09-015-21/+40
| | | | | | | | | | any point. Rather then keep a separate pointer to the cache in the reply use the pointer kept by the manager so the reply never tries to access a cache pointer that has already been deleted. Autotest: included Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Use the QDesktopServices::CacheLocation to determine the location to store ↵Benjamin C Meyer2009-09-011-2/+2
| | | | | | | the temporary cache rather than QDesktopServices::DataLocation Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Initialize QNetworkAccessBackend's private variables to 0 in the constructorBenjamin C Meyer2009-09-011-2/+7
| | | | | | | and when creating a CacheBackend set the manager pointer. Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Fix #error line not to have a ' as it's not correctAlbert Astals Cid2009-08-311-1/+1
| | | | | Merge-request: 753 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* Reset QTemporaryFile's state after failed open() on WindowsJoão Abecasis2009-08-312-8/+112
| | | | | | | | | | | | | | | | | This fixes a regression introduced in 4.5.2 where QTemporaryFile would no longer attempt to generate a random name after a failed open. Under certain situations, this led to a non-random file being left behind in QDir::tempPath when using the fallback implementation of QFile::copy. Avoid calling QFSFileEngine::setFileName() on a template, so as not to process it as file name. By consistently not calling setFileTemplate in the constructor, we also delay allocation of the fileEngine. Changes made to that function also keep it from unnecessarily allocating the fileEngine. Task-number: 260165 Reviewed-by: Thiago Macieira
* QNAM HTTP Code: Some tests where failingMarkus Goetz2009-08-312-4/+10
| | | | | | | ietf.org changed their server to use gzip, therefore our check for the content-length reply header was bogus. Rev-By: Peter Hartmann
* Don't crash when convert Indexed8 without colortable to QPixmapGunnar Sletta2009-08-312-0/+35
| | | | | | | | This implicitly adds "grayscale" support for indexed 8, but only for the conversion. The alternative would be leave the pixels uninitialized which would be less nice... Reviewed-by: Samuel
* Invalidate cached QVectorPath when QPainterPath changesGunnar Sletta2009-08-311-0/+2
| | | | Reviewed-by: Samuel
* Update tech preview license and LGPL Exception.Jason McDonald2009-08-312-407/+411
| | | | Reviewed-by: Trust Me
* Update tech preview license header.Jason McDonald2009-08-317707-100428/+100383
| | | | Reviewed-by: Trust Me
* Autotest: add some D-Bus tests sending complex structs and lists of themThiago Macieira2009-08-312-0/+53
|
* Fix license headers.Jason McDonald2009-08-315-102/+123
| | | | Reviewed-by: Trust Me
* Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Keith Isdale2009-08-31694-3089/+24515
|\
| * Fixes: Crash when double-clicking a tab in a QTabBar with movable tabsOlivier Goffart2009-08-281-1/+2
| | | | | | | | | | | | This is a backport of commit 8ac7e81260 Reviewed-by: Peter Hartmann
| * Fix parsing of Subject Alternate Names in Qt.Thiago Macieira2009-08-283-1/+105
| | | | | | | | | | | | | | | | Simple misuse of QLatin1String. Use QString::fromLatin1 instead and avoid the QByteArray temporary. Reviewed-by: Andreas Aardal Hanssen Tracking: CVE-2009-2700
| * Add missing license headers.Jason McDonald2009-08-28433-13/+17758
| | | | | | | | Reviewed-by: Trust Me
| * Add missing license headers.Jason McDonald2009-08-2812-55/+516
| | | | | | | | Reviewed-by: Trust Me
| * Add missing license headers.Jason McDonald2009-08-2869-2/+2831
| | | | | | | | Reviewed-by: Trust Me
| * Add missing license headers.Jason McDonald2009-08-2822-71/+812
| | | | | | | | Reviewed-by: Trust Me
| * Fix more duplicated license headers.Jason McDonald2009-08-2845-1804/+41
| | | | | | | | Reviewed-by: Trust Me
| * QSslSocket: Clarified doc about QSslSocket::systemCaCertificatesMarkus Goetz2009-08-271-4/+2
| | | | | | | | | | | | This function only returns the certificates bundled with Qt. Reviewed-by: TrustMe
| * Add missing license headers and adjust test data to match.Jason McDonald2009-08-2786-236/+2448
| | | | | | | | Reviewed-by: Trust Me
| * Fix duplicated license headers.Jason McDonald2009-08-278-328/+0
| | | | | | | | Reviewed-by: Trust Me
| * Fix some duplicated license headers.Jason McDonald2009-08-2714-574/+0
| | | | | | | | Reviewed-by: Trust Me
* | Correct grammatical in documentation for QNetworkDiskCache::expire()Keith Isdale2009-08-311-1/+1
|/ | | | | | | | | | | | The text: When the current size of the cache is greater then the maximumCacheSize() should read When the current size of the cache is greater than the maximumCacheSize() Task-number: 260496 Reviewed-by: Zheng Liu (George)
* QImageReader via JPEG image load plugin fails to load correctly a CMYKKeith Isdale2009-08-271-1/+10
| | | | | | | | | encoded JPEG CMKY encoded JPEG code missing from scaled image JPEG loading Task-number: 260192 Reviewed-by: Stian Sandvik Thomassen
* Adjusting ftp server address for Nokia network.Jesper Thomschütz2009-08-261-1/+1
|
* Fix subControlRect of the Mac style for the QComboBoxBenjamin Poulain2009-08-252-3/+60
| | | | | | | | The subControlRect of the arrow and the listBoxPopup where assuming the widget rect is at the origin. Reviewed-by: Richard Moe Gustavsen Reviewed-by: Pierre Rossi
* Fix QPlainTextEdit painting errorsmae2009-08-241-2/+3
| | | | | | | | With line wrapping enabled and very large text blocks, painting errors could occur. Reviewed-by: hjk (cherry picked from commit 82dba1d346a6f4a5d2602d930e0aed75c13bcafb)
* Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Morten Sørvig2009-08-247370-9190/+9760
|\
| * Fixed compile error with gcc 4.3.3Thorbjørn Lindeijer2009-08-241-1/+1
| | | | | | | | | | | | | | Don't initialize the members of BasicNodeData. They don't need to be initialized, and m_kind has no sane default value anyway. Reviewed-by: Frans Englich <frans.englich@nokia.com>
| * Fixed commentThorbjørn Lindeijer2009-08-241-1/+1
| | | | | | | | | | | | See commit ff86781b9b18ba376a8983fcb83847a09820ef79, where it becomes clear that it was meant to say 7 bits, which explains the bit about the padding bit.
| * Designer Preview window title not setKeith Isdale2009-08-241-0/+1
| | | | | | | | | | | | | | Set the Designer preview widget title for the default case Task-number: 259621 Reviewed-by: Stian Sandvik Thomassen
| * Make assorted constructors follow good coding practiceKeith Isdale2009-08-2416-36/+35
| | | | | | | | | | | | | | Ensure that class members are initialized Moved some value assignment from constructor body into the the constructor's intializer list Reviewed-by: Jason McDonald
| * Prevented crash when parsing viewBox attribute valueStian Sandvik Thomassen2009-08-241-9/+9
| | | | | | | | | | | | | | | | | | The old code assumed viewBox value of the form "x y w h" or "x,y,w,h", and would crash when parsing "x,y w,h" (when accessing the fourth list item which would be out-of-bounds). Reviewed-by: Trond Reviewed-by: Kim
| * Fix the size returned by QCommonStylePrivate::viewItemSize() for textBenjamin Poulain2009-08-211-1/+1
| | | | | | | | | | | | | | | | The size of the text, computed in qreal, was rounded. If the decimal part of the size was < 0.5, a pixel was missing in the size returned. Reviewed-by: Samuel Rødal Reviewed-by: Olivier Goffart
| * Fix the painting of QSpinBox on Mac when the buttons are disabledBenjamin Poulain2009-08-201-0/+1
| | | | | | | | | | | | | | The edit area of the spinbox should take complete surface of the widget when the button symbol is QAbstractSpinBox::NoButtons. Reviewed-by: Richard Moe Gustavsen
| * Fix the painting of QSpinBox on Mac when the buttons are disabledBenjamin Poulain2009-08-201-3/+8
| | | | | | | | | | | | | | The edit area of the spinbox should take complete surface of the widget when the button symbol is QAbstractSpinBox::NoButtons. Reviewed-by: Richard Moe Gustavsen
| * Fixed crash in QtSvg caused by division by zero in animation code.Kim Motoyoshi Kalland2009-08-191-4/+7
| | | | | | | | Reviewed-by: Trond
| * Fixed usage of the MITSHM extension for 16 bit X servers.Trond Kjernåsen2009-08-191-3/+6
| | | | | | | | | | | | | | | | The server color layout test was a bit to harsh, since it excluded 16 bit X11 servers with RGB layout. Task-number: 259846 Reviewed-by: Gunnar
| * Fixed rounding error in fillRect() in the raster paint engineEskil Abrahamsen Blomfeldt2009-08-181-11/+7
| | | | | | | | | | | | | | | | | | | | | | Problem introduced by 7661126bc86ed105c02fd9b084ac5a91f12f10c4, which introduced always rounding up when converting the rectangle's coordinates to integers. This would e.g. cause off-by-one errors for the cursor in QTextDocument. Some code paths depended on the ceiling of the coordinates, and these have been reverted. Task-number: 257914 Reviewed-by: Samuel
| * don't test tst_QMenu::mouseActivation on Windows mobileJoerg Bornemann2009-08-181-0/+3
| | | | | | | | | | | | | | | | We integrate QMenu into the native menu system. Thus it doesn't make sense to click at position (5,5) or so. We have the windowsmobile auto test for this. Reviewed-by: thartman
| * fix tst_QMainWindow::menuBar for Windows mobileJoerg Bornemann2009-08-181-0/+8
| | | | | | | | Reviewed-by: thartman
| * Fix regression in clip path calculation for QGraphicsWidget.Alexis Menard2009-08-182-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression when computing the clip path for a QGraphicsWidget that clip its children to its shape. The clip path cache use the bounding rect which has a null width and height the very first time on a QGraphicsWidget. This might happen as well for any item that have a null width and height (e.g. QGraphicsRectItem before you set the rect). We should do better in mainline by refactoring this clip path cache and calling it in prepareGeometryChange which should be called when you update the shape and the boundingRect of the item. Do we really need also in 4.6/mainline the clip path as it is now? This should be investigate also. The auto-test cover the problem so we can use it after for refactoring the cached clip path. Task-number: 257232 Reviewed-by: andreas Reviewed-by: bnilsen
| * QSslSocket: Clear readBuffer and writeBuffer on close()Markus Goetz2009-08-182-0/+38
| | | | | | | | | | | | Fixes https://bugs.webkit.org/show_bug.cgi?id=28016 Reviewed-by: andreas
| * Fix a SQLITE whitespace in identifiers issue.Derick Hawcroft2009-08-181-8/+13
| | | | | | | | | | | | Whitespaces in identifiers now past autotests Reviewed-by:Bill King
| * Fix qsqltablemodel autotestDerick Hawcroft2009-08-171-6/+7
| | | | | | | | | | | | test was broken Reviewed-by:Bill King
| * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5David Boddie2009-08-172-1/+4
| |\
| | * skip tst_QScriptEngineDebugger::multithreadedDebugging on Windows CEJoerg Bornemann2009-08-171-0/+3
| | | | | | | | | | | | | | | | | | We run out of memory on the test system in this test. Reviewed-by: mauricek
| | * fix WA_DontShowOnScreen bug on Windows CEJoerg Bornemann2009-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | We must not retrieve the initial window geometry for WA_DontShowOnScreen widgets with GetClientRect. Reviewed-by: thartman