summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* normalize file namesOswald Buddenhagen2009-04-012-2/+2
| | | | | | makes tool tips less ugly Task-number: 246114
* do not crash upon dnd-ing text into non-focused lineeditOswald Buddenhagen2009-04-011-0/+2
| | | | Task-number: 249519
* one more bogus trolltech => qtsoftware renameOswald Buddenhagen2009-04-011-1/+1
|
* Subject: Added platform spec. note about type convertionMorten Engvoldsen2009-04-011-0/+8
| | | | | | | | Details: Added a note to the description about using POSIX functions for converting between data types such as floats and strings Task-number: 244600 Reviewed-by: Denis Dzyubenko Reviewed-by: Geir Vattekar
* Changes: Clearifying docs on qInstallMsgHandlerMorten Engvoldsen2009-04-011-2/+4
| | | | | | Details: Added comment about QT_NO_WARNING_OUTPUT and/or QT_NO_DEBUG_OUTPUT on http://doc.trolltech.com/4.5/qtglobal.html#qInstallMsgHandler Review-by: Geir Vattekar
* Adding note to the qFuzzyCompare docMorten Engvoldsen2009-04-012-1/+14
| | | | | | | | Adding note about how comparing using 0.0 will fail, and an example on how to do it. Reviewed-by: David Boddie Reviewed-by: Geir Vattekar
* Subject: Replaced comment with a better one.Morten Engvoldsen2009-04-011-1/+1
| | | | | | Details: Replaced the comment for QButton::setDown(bool). It was kind of narrow. Reviewed-by: Geir Vattekar
* Subject: added options to CONFIG in qmakeMorten Engvoldsen2009-04-011-1/+6
| | | | | | | | | Details: added some non documented options for COFIG in the qmake manual Fields Reviewed-by: Geir Vattekar Reviewed-by: Marius Storm-Olsen Task-number: 248432
* Subject: Mention setProxy() should be called before setHost() in the docAndy Shaw2009-04-011-1/+5
| | | | Reviewed-by: Kavindra Devi Palaraja <kavindra.palaraja@nokia.com>
* Subject: A couple of minor doc fixesAndy Shaw2009-04-012-2/+1
| | | | Reviewed-by: Morten Engvoldsen
* DB Autotest cleanupBill King2009-04-017-292/+182
| | | | | | Make db autotest data set generation more consistent, slightly faster. Also, add ability to easily generate a set of a single databases entries worth of criteria to test.
* Subject: Compile fix on WindowsAndy Shaw2009-03-311-2/+2
| | | | Reviewed-by: Anders Bakken <anders.bakken@nokia.com>
* Doc: Fixed the screenshots and example description to match the code.David Boddie2009-03-313-6/+5
| | | | | Task-number: 242369 Reviewed-by: TrustMe
* CompileAnders Bakken2009-03-311-1/+0
| | | | | | I messed up the cherry-pick merge and left one of these in. Reviewed-by: TrustMe
* Remove these convenience functions.Anders Bakken2009-03-311-22/+12
| | | | | | | They only make sense under the assumption that there most of the time is no transform. With Falcon this isn't really the case. Reviewed-by: Tom Cooksey <thomas.cooksey@nokia.com>
* No sense in detecting the format twiceAnders Bakken2009-03-311-6/+2
| | | | | | | Use the format passed in to the function rather than detecting it again based on hasAlphaChannel(). Reviewed-by: Tom Cooksey <thomas.cooksey@nokia.com>
* Prevent crash on resizingAnders Bakken2009-03-311-4/+16
| | | | | | | | | | The crash was caused by out-of-bounds reading on the raster engine's clipping structures since our size had changed size last lock. This code makes sure the clipData structures are atleast as tall as the current height of the paint device. Reviewed-by: Tom Cooksey <thomas.cooksey@nokia.com>
* Doc: Made it clearer that QProcess::start() only starts a new process if one ↵David Boddie2009-03-311-9/+16
| | | | | | | is not already running. Task-number: 231513 Reviewed-by: TrustMe
* Doc: Noted the difference between the qLowerBound() functions.David Boddie2009-03-311-1/+4
| | | | | Task-number: 160621 Reviewed-by: TrustMe
* Doc: Clarified that the main use case for QRegion is as a clipping primitive ↵David Boddie2009-03-311-9/+13
| | | | | | | not as a rendering primitive. Task-number: 183493 Reviewed-by: TrustMe
* Doc: Removed a reference to a deprecated function.David Boddie2009-03-311-4/+4
| | | | | | Reported by a former Doc Manager. Reviewed-by: TrustMe
* Get the qt7 phonon plugin to minimally compile on 10.6Norwegian Rock Cat2009-03-313-7/+11
| | | | | | | | | | We need to protect some overridden type and that is done in qmacdefines_mac.h, so just include that. To top this off, a function has changed that was introduced in 10.5. In order to use it properly, we would need to do lots of version checking and shuffling between types and it seems like more trouble that it's worth at the moment. We may have to do that in the future, but we'll deal with that then.
* QProcess::start() segfaults on empty programBradley T. Hughes2009-03-312-0/+35
| | | | | | | | Handle cases where QProcess::start() and startDetached() are passed a null, empty, or "invalid" program string instead of crashing. Task-number: 247865 Reviewed-by: Andreas Aardal Hanssen
* Fix bug in QDirIterator that clear the cache of the fileinfoAlexis Menard2009-03-311-17/+17
| | | | | | | | We basically store the currentFileInfo and use another one to continue moving into the dir. Task-number: 247645 Reviewed-by: Olivier
* Detailed description of QMetaType contradicts documentation of QMetaType::type()Bradley T. Hughes2009-03-311-1/+1
| | | | | | | QMetaType::type() returns 0 for unknown types, not -1. Task-number: 248890 Reviewed By: Kavindra Devi Palaraja <kavindra.palaraja@nokia.com>
* Add Windows7 and Snow Leopard as values QSysInfo.Norwegian Rock Cat2009-03-312-7/+20
| | | | | | | | It's likely these OS's will show up before we are done with 4.5, so it is worthwhile to have these values here, so that both we and other developers can do nice things with them. Reviewed-by: Prasanth Ullattil
* Doc - marking QPrintDialog::printer(), setPrinter() and addButton() asKavindra Devi Palaraja2009-03-311-12/+20
| | | | | | | Unix only functions, part of Qt 3 Support. Task-number: 248752 and 245244 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* fixes search for non latin1 characterskh2009-03-313-55/+482
| | | | | | | | | while parsing html files, we removed some entities the should have been converted to there native representation, thus we were not able to find them Task-number: 247732 Reviewed-by: hjk
* Fix text drawing and perspective transforms for the Windows, PDF andTrond Kjernåsen2009-03-314-3/+17
| | | | | | | | | | | | PostScript print engines. The PDF/PostScript does not support perspective transforms, so it has to be emulated through our draw_helper() fallback. PostScript doesn't support alpha blending, so all perspective drawing needs to be forced through the alpha print engine. Task-number: 249754 Reviewed-by: Samuel
* compile on Linux.jasplin2009-03-311-1/+1
| | | | Reviewed-by: Samuel
* Add missing copyright headers and the "we mean it" section.Thiago Macieira2009-03-313-0/+93
| | | | | | These were reported by mkdist Reviewed-by: TrustMe
* Fixes: QPSQL: datetime or time fields with negative time zoneBill King2009-03-312-5/+41
| | | | | | | | | offsets not handled correctly Now also removes negative timestamps. Task-number: 249059 Reviewed-by: Justin McPherson
* Take out todos that have been doneAnders Bakken2009-03-301-5/+0
| | | | | | Clipping for drawLines works fine. textureBrushes are now accelerated Reviewed-by: TrustMe
* Fix the parsing of October dates.Benjamin C Meyer2009-03-301-3/+4
| | | | | | | The code was looking for a 't' to detect GMT-nnnn. It should really be checking for 'gmt'. Signed-off-by: Thiago Macieira <thiago.macieira@nokia.com>
* Doc: Added a code snippet to illustrate the opening of local files.David Boddie2009-03-302-1/+9
| | | | | Task-number: 223087 Reviewed-by: TrustMe
* Doc: Swapping \a with \c to fix a qdoc warningKavindra Devi Palaraja2009-03-301-1/+1
|
* Compile with QT_NO_DIRECTFB_PREALLOCATEDAnders Bakken2009-03-301-2/+2
| | | | | | Use the right surface for locking/unlocking. Reviewed-by: TrustMe
* Compile with QT_NO_DIRECTFB_WMAnders Bakken2009-03-301-1/+1
| | | | | | s/QDirectFBSurface/QDirectFBScreen/g Reviewed-by: TrustMe
* Fix parsing of multiple cookies that are separated by a newlineThiago Macieira2009-03-302-1/+21
| | | | Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Autotest: more date-time parsing tests for QNetworkCookieBenjamin C Meyer2009-03-301-0/+264
| | | | | | Signoff-by: Thiago Macieira <thiago.macieira@nokia.com> Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Fix accesses past-the-end of the byte arrayThiago Macieira2009-03-301-2/+3
| | | | Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Fix parsing of dates: if the month is followed by a dash, it's not the ↵Thiago Macieira2009-03-301-0/+2
| | | | | | | | negative sign. I don't know why, but this only triggers for the month of October Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* When doing date comparisons, force to the same timezone.Thiago Macieira2009-03-301-1/+1
| | | | | | It's the logical time that matters, not the exact date representation. Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Fix a few issues introduced by Ben's last patch.Thiago Macieira2009-03-302-21/+29
| | | | | | | | | | | | | | Test if we're not past the end of the array before we attempt to read it. Dates without timezone information are taken to be UTC, so merge the code. If the date parsing failed, don't add a malformed cookie. Better to have no cookie than to have it for past its expiration date. Also update the autotests, since we now can cope with some of the invalid cookies seen on the net. Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Change cookie expiration reading to match the behavior of Firefox. Rather ↵Benjamin C Meyer2009-03-301-53/+384
| | | | | | | | | then only allowing the three date formats that are in the rfc allow a much wider set of date strings. Because many browsers support this many websites send dates strings that are not in the rfc format. See documentation in parseDateString for more details about the implementation. Signed-off-by: Thiago Macieira <thiago.macieira@nokia.com> Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Fix bug introduced by last patch.Thiago Macieira2009-03-301-1/+1
| | | | | | Make sure that we can handle two Set-Cookie headers. Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* When parsing a cookie string the ',' character is special because it is used ↵Benjamin C Meyer2009-03-302-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | in the date and to differentiate between multiple cookies. When there are multiple set-cookie headers rather then combining them with ', ' use '\n' like Firefox because we are 100% sure that we have multiple cookies and using , can result in cases where the , is interpreted as as part of the date such as the following set-cookie:a=b; expires=2009 mar 10 set-cookie:c=d Combined the old way they result in the second cookie being ignored a=b; expires=2009 mar 10, c=d Using '\n' moves our cookie parser closer to Firefox's algorithm which will result in more behavior and bug for bug compatibility. Attempting to be smarter about the , will result in incompatibility with Firefox's implementation (as my first attempt at fixing this bug resulted). Also when parsing multiple cookies when we have an error don't return an empty list of cookies, but return the list of cookies we were able to parse successfully so far. Signed-off-by: Thiago Macieira <thiago.macieira@nokia.com> Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Check for a redirection after setting the headers. If there is a redirection ↵Benjamin C Meyer2009-03-301-2/+2
| | | | | | | the location header will be used to determine where to go. Signed-off-by: Thiago Macieira <thiago.macieira@nokia.com> Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* When loading a url straight from cache call finished so the ↵Benjamin C Meyer2009-03-301-1/+3
| | | | | | | QNetworkReply::finished() signal is emited. Signed-off-by: Thiago Macieira <thiago.macieira@nokia.com> Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>
* Improvements to follow the behavior of web servers and other browsers, ↵Benjamin C Meyer2009-03-301-3/+17
| | | | | | | | | | specifically match the behavior of Firefox which servers test against. - When updating the cache metadata don't update content-* headers - Don't lowercase headers names when updating them - Fixed a typo in QNETWORKACCESSHTTPBACKEND_DEBUG code Originally seen on http://www.bibelbund.de/htm/99-4-306.htm where on refresh the 304 will set the content type of text/plain. Signed-off-by: Thiago Macieira <thiago.macieira@nokia.com> Signed-off-by: Peter Hartmann <peter.hartmann@trolltech.com>