summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | fix potential crash in QProcessEnvironment::systemEnvironment() on windowsOswald Buddenhagen2011-05-101-10/+11
| | | | | | | | | | | | | | | GetEnvironmentStrings() can theoretically return null (cherry picked from commit 443608952d7df9a5146317be992320ba232d2cf9)
| * | Only cleanup share widget if it has been created.Armin Berres2011-05-101-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this change a not yet created share widget is created once qt_destroy_gl_share_widget() is called. As creating the widget also triggers a call to qt_cleanup_gl_share_widget() once QApplication is destroyed a QApplication created afterwards cannot use a share widget anymore. This functionality is needed for Harmattan. Merge-request: 2609 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com> (cherry picked from commit 8680d831fb7066feae07690a4a6bc8e908a84e5a)
| * | Fix the build of configure.exe.Liang Qi2011-05-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | qlocale functions were splitted in severl files, just add them back. Task-number: QTBUG-18932 Reviewed-by: TrustMe (cherry picked from commit 3782dc6d92210e9ae5fb7ee27cc7cd78dee79ebf)
| * | Update the source file of configure.exe to enable QtConcurrent for SymbianLiang Qi2011-05-101-2/+0
| | | | | | | | | | | | (cherry picked from commit 8769c84663943fda853f5aa248fa95391594347e)
| * | Get rid of "typename, typename" for TEMPLATE_TEMPLATE_PARAMETERS.Liang Qi2011-05-101-18/+0
| | | | | | | | | | | | | | | Because Qt doesn't support that feature before. (cherry picked from commit c12ed14fb38ae77be194e19a27545190aded830b)
| * | Compile with msvcOlivier Goffart2011-05-101-4/+16
| | | | | | | | | | | | | | | msvc tries to instenties the return type of overloads that are not chosen by overload resolution (cherry picked from commit 7307d712e10783b57c4c95c8390a9455b69f473a)
| * | compile with windowsOlivier Goffart2011-05-101-4/+4
| | | | | | | | | | | | | | | MSVC doesn't pick up the right template partial specialisation. (cherry picked from commit 0188f5ee18d00ae18e65a03c712d3f701e84fa80)
| * | get rid of the DisableIfSame hackOlivier Goffart2011-05-102-16/+4
| | | | | | | | | | | | | | | By changing the order of the parametters, in a way it is unlikely to clash (cherry picked from commit e9d198b5928e1adf678796c098113bc307ef53f5)
| * | Rewrite the interfaces of QtConcurrent.Liang Qi2011-05-103-1057/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least make RVCT 2.2 work. Task-number: QTBUG-5182 Task-number: QTBUG-9070 Reviewed-by: Olivier Goffart Reviewed-by: joao (cherry picked from commit 0ba0c374fe055623381e3795daa6743c5c995bbc)
| * | Fix namespace issue with the global staticmae2011-05-101-2/+2
| | | | | | | | | | | | (cherry picked from commit c99be6bf73dce10fc706764b72a8dacc1c6589a0)
| * | Fixed bug in QPdfEngine::addImage causing mono images to be made 32 bitMatthew Cattell2011-05-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Regression from 4.5 causing performance and size degradation. Task-number: QTBUG-18997 Reviewed-by: Samuel (cherry picked from commit 18122b473ecbd85ba953f70743b1756358bf7c0c)
| * | Fix regression with QSettings patchmae2011-05-103-13/+12
| | | | | | | | | | | | | | | | | | The plugin loader is used without QCoreApplication. This fixes 31ef8fa6abc2ea23c6f0a996b36494d88aafb0b5 (cherry picked from commit 988871dabf3c949ffc71d126131281a3ae641ebf)
| * | Fix trailing whitespacesJani Hautakangas2011-05-102-2/+2
| | | | | | | | | | | | | | | Reviewed-by: TRUSTME (cherry picked from commit d4fd21f746b536eaddbdd7a07f1d717ef18278e7)
| * | Fix for native child widget performance issue.Jani Hautakangas2011-05-102-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flushing native child widgets in VG and GL window surfaces caused performance downgrade because unnecessary swapBuffers calls. On Symbian we must not support flushing native child widgets in VG and GL window surfaces because it causes GPU memory overhead and performance issues. Symbian graphics architecture allows us to render native child widgets to TLW EGL surface correctly in most of the cases. Task-number: QTMOBILITY-1570 Reviewed-by: Samuel Rødal (cherry picked from commit 6a92de7c89764848f7a85b1aa412a07bedc72b1a)
| * | fix build on symbianOswald Buddenhagen2011-05-101-62/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | Error: #793: explicit specialization of class "QTypeInfo<QProcessEnvironmentPrivate::Key>" must precede its first use just un-nest QProcessEnvironmentPrivate::{Key,Value} Reviewed-by: thiago (cherry picked from commit 167044693cc1d16684a5732b05e3926d0af61960)
| * | fix build on macOswald Buddenhagen2011-05-101-0/+12
| | | | | | | | | | | | | | | environ needs to be declared properly (cherry picked from commit aae6ef391d2ee2fa5b91c834ea65f14fd61e5af6)
| * | make QProcessEnvironment on Unix cache converted valuesOswald Buddenhagen2011-05-102-4/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | values are converted between byte arrays and qstrings on demand. this makes it feasible to use the class as a generic environment container with fast reading and writing access. Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit 7aa4ecdedba60ac4cbc07a774ae9d834677002e9)
| * | make QProcessEnvironment::systemEnvironment() encoding-safeOswald Buddenhagen2011-05-103-15/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on unix, don't do the roundtrip over unicode. on windows, use the WinAPI unicode environment instead of the 8-bit CRT environment. Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit 60194ad0ea68d7c82b4729119d122dcfeb909842)
| * | make QProcessEnvironment on Unix cache converted variable namesOswald Buddenhagen2011-05-103-11/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | the converted keys also cache their hash, as they are used only for the purpose of looking up in a qhash. Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit 18f1613aa8ece72d24ac10e28f06e3db1d8ce400)
| * | move key/value converters to the private classOswald Buddenhagen2011-05-102-24/+15
| | | | | | | | | | | | | | | | | | | | | | | | this will enable them to access other members later Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit a2d70d71c8c7652ded41d5d603672c3927df44e6)
| * | make QProcessEnvironment on Windows preserve variable name caseOswald Buddenhagen2011-05-104-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | while windows itself does not care which case the variable names are in, they may be passed to unix tools which *do* care. note that this uses true case folding for string comparisons while windows uses uppercasing. this means that "ess" and "eß" will be considered the same by us, while not by windows. this is not expected to have real-world impact, particularly because non-ascii variable names are not used much. Task-number: QTCREATORBUG-3110 Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit f3db5603871928ebed43a085a496397e65952b39)
| * | split QProcessEnvironmentPrivate::Unit into Key and ValueOswald Buddenhagen2011-05-102-11/+14
| | | | | | | | | | | | | | | | | | Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit 11a79c65ea992be0e2ede7dc8f60660c9190291f)
| * | remove unused functionsOswald Buddenhagen2011-05-101-12/+0
| | | | | | | | | | | | | | | | | | Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit e989a4d375b279b3ea61139cb07596e0e4b79e28)
| * | minor optimization: use QList::reserve()Oswald Buddenhagen2011-05-101-0/+2
| | | | | | | | | | | | | | | | | | Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit 6a53f17c7039f1a5405912a4a645572e215410bb)
| * | use the Hash typedefOswald Buddenhagen2011-05-103-13/+13
| | | | | | | | | | | | | | | | | | Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit 10fd0d3e5c88c7b0265db3acdd75cb3d6f35ee63)
| * | Reduce open and stat system calls for QSettingsmae2011-05-105-35/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch moves the global static QSettings object from QLibrary to QCoreApplication and reduces a few stat and open calls. Without the patch, a large Trolltech.conf was pushed out of the unused settings cache during startup, meaning Trolltech.conf was parsed more than once. Reviewed-by: Liang Qi (cherry picked from commit 31ef8fa6abc2ea23c6f0a996b36494d88aafb0b5)
| * | Add missing license headersJan-Arve Sæther2011-05-103-0/+123
| | | | | | | | | | | | (cherry picked from commit d5ee1bc752dc8aed717776a80e9e15972dd98065)
| * | Fixed off-by-one in radial gradient color table index computation.Samuel Rødal2011-05-101-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | Clamp to GRADIENT_COLOR_TABLE-1, not GRADIENT_COLOR_TABLE-2. Fixes visible error in gradients.qps Reviewed-by: Kim Motoyoshi Kalland <kim.kalland@nokia.com> (cherry picked from commit af9d20680c91f587f4791aa68f3a8b03d3a42be0)
| * | Revert "Added QStringRef::toLatin1 and QStringRef::toUtf8"Thorbjørn Lindeijer2011-05-102-43/+0
| | | | | | | | | | | | | | | | | | | | | This reverts commit feabda665de62a0f6a82d831b45926697f30b45b. They were already added by Denis Dzyubenko in commit 2916b074. (cherry picked from commit ffe0a2ec7c1f4412792a977401bdc4dbf6c76acd)
| * | Fixes warnings about unused variablesOlivier Goffart2011-05-109-18/+6
| | | | | | | | | | | | | | | Reviewed-by: Samuel (cherry picked from commit 28061caa38d94de85db9aec743d1efba33c1e46f)
| * | Fixes warnings about unused variablesOlivier Goffart2011-05-1011-65/+1
| | | | | | | | | | | | | | | Reviewed-by: jbache (cherry picked from commit e8019cf8feb402303e6d253f5ca58bebfda42679)
| * | Fixes warnings about unused variablesOlivier Goffart2011-05-101-0/+1
| | | | | | | | | | | | | | | Reviewed-by: Peter Hartmann (cherry picked from commit 61c6d66b7efd8de4a83b021e7c4ef2b1a803ece2)
| * | Fixes warningsOlivier Goffart2011-05-103-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In QString, it would comlain that: assuming signed overflow does not occur when assuming that (X - c) > X is always false Changing to unsigned comparison fix the warning Others are about unused variables Reviewed-by: Thiago (cherry picked from commit 5e5485809e8c6f8339bb9f19ad71ed623a8b23c7)
| * | Fixes warnings about unused variablesOlivier Goffart2011-05-105-17/+2
| | | | | | | | | | | | | | | Reviewed-by: Samuel (cherry picked from commit ddd253e14318af45e5c56df736028b88257068c4)
| * | Added QStringRef::toLatin1 and QStringRef::toUtf8Thorbjørn Lindeijer2011-05-102-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These helper functions make it convenient to avoid making an unnecessary copy of the string before converting it to a QByteArray. The current most obvious way to do this would be: // QStringRef text QByteArray latin1 = text.toString().toLatin1(); Though the copy can also be avoided by doing: const QString textData = QString::fromRawData(text.unicode(), text.size()); QByteArray latin1 = textData.toLatin1(); Now the faster method can be achieved using the new obvious way: QByteArray latin1 = text.toLatin1(); Reviewed-by: Thiago Macieira Reviewed-by: Robin Burchell (cherry picked from commit feabda665de62a0f6a82d831b45926697f30b45b)
| * | Make translucent windows working properly with OpenVG.Laszlo Agocs2011-05-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OpenVG engine correctly uses vgClear() to fill the surface with transparent pixels whenever the window has the WA_TranslucentBackground attribute enabled. However both scissoring and masking affects the operation of vgClear(). Drawing artifacts were previously visible due this, simply because scissoring was left enabled by the VG paint engine, and the filling with transparent pixels happens in the window surface's beginPaint() that is called between the paint engine's end() (for the previous paint) and begin() (for the next paint). Task-number: QT-4907 Reviewed-by: Jani Hautakangas (cherry picked from commit 4a1ae3d1b4e8e032b1c978fcc7e1812e37e1f047)
| * | Fix warning (unused variable) in QAccessibility test.Frederik Gladhorn2011-05-101-2/+2
| | | | | | | | | | | | | | | Reviewed-by: Morten Sorvig (cherry picked from commit c3ebd1d38826739cb989e65770d2a22b9a39dcc4)
| * | Add accessible events as defined by IAccessible2.Frederik Gladhorn2011-05-101-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | Additional events from: http://accessibility.linuxfoundation.org/a11yspecs/ia2/docs/html/_accessible_event_i_d_8idl.html Reviewed-by: Morten Sorvig (cherry picked from commit 6bd74d66b418cad30ed5a448e657a7a5097eed4a)
| * | Return name and allow actions for invisible accessible items.Frederik Gladhorn2011-05-101-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | There is no reason not to report the name or allow actions when a widget is invisible. Reviewed-by: Morten Sorvig (cherry picked from commit b88b2cb05c56a4c936a073ccf53c9fb3ad50d5d8)
| * | Add test for ISODate change in QDateTime::toStringJens Georg2011-05-101-0/+32
| | | | | | | | | | | | | | | | | | Merge-request: 1149 Reviewed-by: Zeno Albisser <zeno.albisser@nokia.com> (cherry picked from commit d9e0c2ea4d64b8fdfb31b28e71373735be38101b)
| * | Update documentation of QDateTime::toStringJens Georg2011-05-101-1/+5
| | | | | | | | | | | | | | | | | | Merge-request: 1149 Reviewed-by: Zeno Albisser <zeno.albisser@nokia.com> (cherry picked from commit 3d4149afe62b4fc5d519a2a155b8f8c32e7e95c4)
| * | Fix QDateTime::toString for Qt::ISODateJens Georg2011-05-101-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | Fixes QTBUG-18290 and the "missing Z" from QTBUG-9698 Merge-request: 1149 Reviewed-by: Zeno Albisser <zeno.albisser@nokia.com> (cherry picked from commit 8f95a19d330480bd86650c3d2e4e147d3bca5789)
| * | Fix BlendBench::unalignedBlendArgb32 test caseMiikka Heikkinen2011-05-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The test case freed the wrong pointer, causing crash in Symbian devices. Task-number: QTBUG-17489 Reviewed-by: Janne Koskinen (cherry picked from commit 02bb8e4c5f4584f3c0a7ed16bcba20c7f43456cd)
| * | Skip child count test on Intel compiler.Frederik Gladhorn2011-05-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason this test is sometimes giving false results with intel compilers. The child count is most likely style dependent. For now ignore it in the test. Reviewed-by: Thierry (cherry picked from commit 0ddecd383c91afb18ce2776eed5608bb1a0c2129)
| * | Specify swap behavior preserved bit in openvg engine.Laszlo Agocs2011-05-101-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike OpenGL, the EGL_SWAP_BEHAVIOR_PRESERVED_BIT was not set for the EGL configuration used with OpenVG. Yet the preserved swap was enabled still, which, according to the EGL spec, should fail. To make sure it still works with other EGL implementations, the bit is now set in the configuration. Reviewed-by: Jani Hautakangas (cherry picked from commit 710aa7f8fbd72ee303c3348aa3aaf12d6984964d)
| * | Fixed QTBUG-11935 : "With MySQL version > 50000 the QMYSQLDriver::Emmanuel BOURGERIE2011-05-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tables() returns tables in all databases on the server" This bugfix has been rewritten to match contributors advise. Change-Id: I3a9cf900ff7eae47c9ffdbcf34bcb1b4396d9837 Merge-request: 1010 Reviewed-by: Charles Yin <charles.yin@nokia.com> (cherry picked from commit c0ca29efdeb442a6b88ccadff409e3f7ef828ce8)
| * | Fixed QTBUG-11935Emmanuel BOURGERIE2011-05-101-2/+6
| | | | | | | | | | | | | | | | | | | | | Change-Id: Ia7bdb0ceecf2892f6be73d1816764a2bab6275f1 Merge-request: 1010 Reviewed-by: Charles Yin <charles.yin@nokia.com> (cherry picked from commit a18f36048aa23fb088527c26274e49ce626ddf4d)
| * | Removed warning from QPixmap::handle().Samuel Rødal2011-05-101-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | With the new fromX11Pixmap function there are valid use-cases where checking the handle() is useful also with the raster graphicssystem. Reviewed-by: Thiago Macieira (cherry picked from commit 1124f41253edd0e03704db72b0e1b6b4b518bd0f)
| * | Removing the "resetInternalData" slot in QAbstractProxyModelGabriel de Dietrich2011-05-104-198/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commits 0916a68056154ecb60e4ea2c79726ab2e49b1532 and 6f1384fcbeea993d5be47590c696de60215b7608. This effectively reverts most of MR 694. Reviewed-by: Olivier (cherry picked from commit 06e104b9c305d3db0dd1848e6e633ee3888fd1de)
| * | Fix warnings on unused parameters and variablesThiago Macieira2011-05-102-2/+1
| | | | | | | | | | | | (cherry picked from commit 940f16babab76b328b7c9bfdb5435102c689b76b)