summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix build on windows 7Oswald Buddenhagen2011-06-101-1/+0
| | | | remove pointless epocroot.pri inclusion
* Fix autotest on WindowsHarald Fernengel2011-06-081-6/+2
|
* Compile on Mac OS XHarald Fernengel2011-06-081-3/+5
|
* Ammend last commitHarald Fernengel2011-06-061-1/+1
| | | | Squelch coding style warnings
* Implemented QAccessibleTextEdit::attributes()José Millán Soto2011-06-062-5/+161
| | | | | | | | Handling font properties and colors Created test: tst_QAccessibility::textAttributes Merge-request: 2626 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* Changing cursor position in all boundariesJosé Millán Soto2011-06-062-1/+9
| | | | | Merge-request: 1242 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* code clean-up for QSystemSemaphoreRitt Konstantin2011-06-064-61/+65
| | | | | Merge-request: 1248 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* simplify QSharedMemoryPrivate::cleanHandle()Ritt Konstantin2011-06-065-14/+10
| | | | | | | | by making it return nothing as it's result should be ignored anyways (initKey() and detach() could return false because of it - which is wrong) Merge-request: 1248 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* minor improvements for QSharedMemoryRitt Konstantin2011-06-065-80/+81
| | | | | | | | | | | remove unused includes; generate error string if error occurred only; make some error strings equal on different platforms; avoid code duplication; minor code simlifications and clean-ups Merge-request: 1248 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* fix potential keyfile leakingRitt Konstantin2011-06-061-1/+1
| | | | | | | | according to close(2) manpages, it could return with EINTR; use EINTR-safe version of close() from qcore_unix_p.h Merge-request: 1248 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* refactoring of the QWSSharedMemory classRitt Konstantin2011-06-062-107/+47
| | | | | | | | | | | | drop old/unused API and obsolete code; improve attach() for comon case; cache the shm size at the first call; fix the includes; better debug strings; minor code clean-ups Merge-request: 1247 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* allow the user to averride QT_QWS_TEMP_DIR in qplatformdefs.hRitt Konstantin2011-06-061-1/+1
| | | | | Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* minor typo fixRitt Konstantin2011-06-061-1/+1
| | | | | Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* minor code simplificationRitt Konstantin2011-06-061-5/+3
| | | | | | | there is no need in non-const object as we don't change it anyways Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* minor code simplificationRitt Konstantin2011-06-062-21/+14
| | | | | | | `ascii` wasn't used Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* avoid the QT_NO_ASCII warningRitt Konstantin2011-06-061-1/+1
| | | | | Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* remove an unused headersRitt Konstantin2011-06-061-13/+0
| | | | | | | | these headers weren't used anymore since QLock, QWSLock and QWSSharedMemory classes had been introduced Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* nano optimizationRitt Konstantin2011-06-061-9/+5
| | | | | | | allocate uninitialized QByteArray as it will be initialized few lines later Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* don't reallocate memory if the old buffer has sufficient capacityRitt Konstantin2011-06-061-8/+11
| | | | | Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* fix potential memory leakingRitt Konstantin2011-06-061-8/+19
| | | | | | | | | | the `memsize` member was never set with anything but 0; so, the memory newer was freed neither in destructor, neither in releaseSurface(). for the first one it was non-critical because of the memory was freed indirectly - by hiding widget before closing (which is why the issue wasn't catched-up until now) Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* don't delete the lock if it was not created by this surfaceRitt Konstantin2011-06-061-2/+6
| | | | | | | and don't forget about it otherwise Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* QSessionManager: fix build on QWSRitt Konstantin2011-06-061-0/+3
| | | | | Merge-request: 2627 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* "fix" license headersOswald Buddenhagen2011-06-029-126/+207
| | | | our policy and even more its implementation is mildly braindead ...
* need no qlibraryinfo any moreOswald Buddenhagen2011-06-012-21/+0
| | | | we call qmake now
* remove dead variablesOswald Buddenhagen2011-06-011-17/+3
|
* optimization: avoid creating unnecessary temporariesOswald Buddenhagen2011-06-011-35/+29
| | | | | erase messages instead of building a new list of non-dropped ones. modify messages instead of replacing them with modified copies.
* add hash-based indexing to Translator for fast find()Oswald Buddenhagen2011-06-012-26/+92
|
* remove Translator::translatedMessages()Oswald Buddenhagen2011-06-013-13/+1
| | | | | it's inefficient to construct a new list. on top of that, the only user actually checks the message state again.
* remove Translator::contains()Oswald Buddenhagen2011-06-013-10/+1
| | | | it's redundant with find() now, as the latter is cheap now
* optimization: make the Translator::find() api index-basedOswald Buddenhagen2011-06-013-35/+38
|
* fix misnomer: MainWindow::closePhraseBooks() => maybeSavePhraseBooks()Oswald Buddenhagen2011-06-012-3/+3
|
* nuke Translator::release(), make saveQM() non-static insteadOswald Buddenhagen2011-06-015-14/+5
| | | | this "factory" served only to obfuscate the code
* synchronize qmake project parser with qt creatorOswald Buddenhagen2011-06-0114-2580/+4708
| | | | | qt creator as of ddb918f. not feeling like replaying the whole history ...
* drop the SysV semaphores -specific code out from QWSSignalHandlerRitt Konstantin2011-06-014-54/+54
| | | | | | | | | | it is safe to call the QLock/QWSLock desctructors instead on normal exit where both lists should be empty; on crash, we don't care about semi-alive objects and the only important thing is to unregister the system semaphores. Merge-request: 1237 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* minor refactoring of the QWSLock classRitt Konstantin2011-06-012-68/+47
| | | | | | | | unify both constructors in a single one; make the code cleaner and cheaper Merge-request: 1237 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* simplify the code by using the EINTR_LOOP macroRitt Konstantin2011-06-011-36/+36
| | | | | | | the sembuf structure now initializes out of the loop (nano-opt) Merge-request: 1237 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* simplify the semaphores initializationRitt Konstantin2011-06-011-17/+6
| | | | | | | | there is no need in 3 separate tests since, for local semaphores, semctl(2) always works. if it's not, well, 1 test is completely enough to check that Merge-request: 1237 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* minor refactoring of the QLock classRitt Konstantin2011-06-011-82/+46
| | | | | | | | | | use EINTR_LOOP macro to simplify the code; code cleanups; minor optimizations; more informative debug strings Merge-request: 1237 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* add a warning on an incorrect usage of QLockRitt Konstantin2011-06-011-0/+2
| | | | | Merge-request: 1237 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* make sure we really clear all locksRitt Konstantin2011-06-011-1/+1
| | | | | Merge-request: 1237 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* fix build with QT_NO_QWS_SIGNALHANDLERRitt Konstantin2011-06-014-5/+29
| | | | | Merge-request: 1237 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* Merge remote-tracking branch 'mainline/4.8'Oswald Buddenhagen2011-06-018518-143214/+153955
|\
| * Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-earth-staging into ↵Qt Continuous Integration System2011-05-313-8/+8
| |\ | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-earth-staging: Fix build in C++0x mode
| | * Fix build in C++0x modeBernhard Rosenkraenzer2011-05-313-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes compiler errors (gcc 4.6 -std=gnu++0x on x86_64 Linux): embedded/qwslock.cpp: In function `bool forceLock(int, int, int)': embedded/qwslock.cpp:121:39: error: narrowing conversion of `semNum' from `int' to `short unsigned int' inside { } [-fpermissive] (and equivalent errors in other lines/files) See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf Section 8.5.4/6 Change-Id: I2cbac5482b87f33287a416af5a5c9bde621720bc Reviewed-By: Olivier Goffart Merge-Request: 1240 Reviewed-on: http://codereview.qt.nokia.com/275 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com> (cherry picked from commit 15871d606a0a85cfcd2b68b95c0891165f61e402)
| * | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-earth-staging into ↵Qt Continuous Integration System2011-05-2748-330/+1298
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-earth-staging: (25 commits) Added some of my Qt 4.8 changes to the changelog Update bearer startup code in network autotests symbian socket engine: share ip address conversion code license header check: fix exception for URL TLD table QUrl TLD: fix documentation file for "Add QUrl::topLevelDomain() ..." Add QUrl::topLevelDomain() and move TLD table from QtNetwork to QtCore fix Symbian ordinals for merge request re. utf8 characters in SSL certs add auto test for SSL certificates containing utf8 characters fix coding style for merge request re. utf8 characters in SSL certs Use OpenSSL X509_NAME_ENTRY API to parse UTF8 subjectName/issuerName Fix the build for QUuid Improved performance of the QLocale::name() function. Optimize QUuid::QUuid(const char *) QDataStream: speedup steaming of QUuid. Add QUuid::toRfc4122() and fromRfc4122() Add QUuid::toByteArray() and relevant Optimize QUuid::toString() and relevant Add some autotests and benchmarks for QUuid tst_qhostinfo: Fix IPv6 lookup detection on Windows. Fix typo in comment ...
| | * Added some of my Qt 4.8 changes to the changelogOlivier Goffart2011-05-261-0/+22
| | | | | | | | | | | | | | | | | | | | | Change-Id: I8913c88e5bd68145e0587d51ee9896fd5d21054a Reviewed-on: http://codereview.qt.nokia.com/140 Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com> (cherry picked from commit bc7ea289ea84dcff22aeea78c01a5447ccf076f7)
| | * Merge remote-tracking branch 'earth-staging/master'Olivier Goffart2011-05-2611-51/+110
| | |\
| | | * Update bearer startup code in network autotestsShane Kearns2011-05-258-33/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bearer startup code I added to some of the network autotests to ensure the network was up before testing caused test failures on some linux configurations due to there being no default network defined. I've changed it to follow these steps: 1. update the configuration list & wait for update completed signal - due to the polling engines not having any config defined on the first run before the initial poll happens 2. check default configuration is valid before attempting to start it 3a. for valid configuration, start it and wait for started as before 3b. for invalid configuration, fail if bearer is mandatory, otherwise ignore - on symbian bearer use is "mandatory", on desktop platforms it is optional Reviewed-by: Markus Goetz
| | | * symbian socket engine: share ip address conversion codeShane Kearns2011-05-253-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The helper function for converting TInetAddr -> QHostAddress is now used in qhostinfo_symbian.cpp as well. This should slightly improve performance by avoiding conversion to/from strings, and also remove some duplicated code. Reviewed-by: Markus Goetz
| | * | Merge remote-tracking branch 'origin/4.8'Olivier Goffart2011-05-269-77/+53
| | |\ \