summaryrefslogtreecommitdiffstats
path: root/src/corelib
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Minor corrections and additions to i18n documentation.David Boddie2009-10-121-1/+1
| | | | Reviewed-by: Trust Me
* Doc: Gesture API documentation review.David Boddie2009-10-121-5/+5
| | | | Reviewed-by: Trust Me
* Fix for poor performance during screen orientation switchShane Kearns2009-10-121-2/+2
| | | | | | | | | | | Processing the relayout takes longer than 100ms. Setting priority to low makes the app wait until all other apps have been processed before it gets scheduled again (over 3 seconds). By setting priority to background, the app is round-robin scheduled with the other apps (in 20ms timeslices) Task-number: QT-1030 Reviewed-by: axis
* Added documentation for the Gesture API.Denis Dzyubenko2009-10-121-1/+40
| | | | Reviewed-by: trustme
* Fixed warnings autotest.Denis Dzyubenko2009-10-121-1/+1
| | | | Reviewed-by: Olivier Goffart
* Fixed enum values in Qt::GestureContext.Denis Dzyubenko2009-10-121-2/+2
| | | | | | | | | | The only reason to refer to values from the Qt::ShortcutContext enum is to avoid confusing people since enum value names look similar so we want to avoid weird behaviour when mixing them. But referring to another enum value makes the documentation look weird as it mentions different unrelated enum value in the GestureContext doc. Reviewed-by: trustme
* QUuid::createUuid() not unique when using threads on UnixBradley T. Hughes2009-10-122-4/+37
| | | | | | | | | | | | | | | QUuid::createUuid() only seeds the PRNG on the first entry, but since it's using qsrand() and qrand(), all other threads will use the default seed, and thus generate the exact same UUIDs. Fix this by adding an internal function (qsrand() overload with no args) which seeds the PRNG if it hasn't been done already, and use a seed that is based on current time, a stack address and a global serial counter (so that the chances of 2 threads using the same seed are as low as possible). Task-number: QTBUG-3543 Reviewed-by: Marius Storm-Olsen
* A new implementation of the Gesture API.Denis Dzyubenko2009-10-094-8/+29
| | | | | | | Implemented gestures using gesture events and separate QGesture/QGestureRecognizer classes. Reviewed-by: trustme
* Revert "Workaround for OpenC daylight saving cache issue when using ↵Aleksandar Sasha Babic2009-10-091-30/+2
| | | | | | localtime_r." This reverts commit 2f7d1318d2dc63322a468d8c301ae718eaba0d03.
* Fix for tst_qfile::map auto test in Symbian OS 3.1.Janne Anttila2009-10-091-2/+13
| | | | | | | | | | The map test case panic with E32User-Cbase 66 in N95 without this fix. This happens sisnce Open C bug where mmap may leave and trap handler is not inside OpenC. The workaround is to install the necessary TRAP handler in Qt, before calling mmap. AutoTests: tst_qfile::map passes Reviewed-by: Janne Koskinen
* Workaround for OpenC daylight saving cache issue when using localtime_r.Janne Anttila2009-10-081-2/+30
| | | | | | | | | | | | | | | | OpenC incorrectly caches DST information between localtime_r calls, i.e. if previous call to localtime_r has been called for DST affected date, also the second call will be affected by DST even the date is such that DST should not be applied. The workaround is to call mktime with non-DST affected date before calling localtime_r. mktime call resets the OpenC internal DST cache to right value and localtime_r will return correct values. This commit can be reverted once Open C bug 9525 has been reverted. AutoTest: Fixes tst_QDateTime::totime_t Reviewed-by: Aleksandar Sasha Babic
* Fix Qt Designer startup warnings about Qt::DropAction propertiesFriedemann Kleint2009-10-081-2/+2
| | | | | Add Q_ENUMS/Q_FLAGS accordingly. Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* Documented the NoOpaqueDetection enum value in ImageConversionFlags.Samuel Rødal2009-10-071-1/+7
| | | | | | This might be useful for some people, so we should document it. Reviewed-by: Bjørn Erik Nilsen
* Fixed initialization of the system locale on Symbian.Denis Dzyubenko2009-10-071-2/+8
| | | | | | | Made it thread-safe and actually make sure that we don't initialize the data several times. Reviewed-by: axis
* Revert "There's no need to include qstringmatcher.h in qstringlist.h"Marius Storm-Olsen2009-10-072-1/+1
| | | | | | | | Source-incompatible change This reverts commit 8714892977269591bb9b348c6eb549a7f2c45cbc. Rev-by: Trustme
* Only a character but could still be interrupted by a signalJoão Abecasis2009-10-071-1/+1
| | | | Reviewed-by: Brad
* Fixing more GCC warningsJoão Abecasis2009-10-071-2/+2
| | | | Reviewed-by: Marius Storm-Olsen
* Fixing some GCC warningsJoão Abecasis2009-10-071-0/+1
| | | | Reviewed-by: Markus Goetz
* add missing includeKent Hansen2009-10-061-0/+1
| | | | Necessary since the SignalEvent class was moved to qstatemachine.h.
* QParallelAnimationGroup: set the correct state for the animationsThierry Bastian2009-10-062-29/+49
| | | | | | | There were cases (now covered by autotests) where the state of the animations could be wrong. Reviewed-by: janarve
* The threshold for system basic timers has changed on windowsThierry Bastian2009-10-062-3/+7
| | | | | | | | This breaks the animations in main window because dragging a dock widget when it is undocked creates another event loop and the Qt events are not processed any more. Reviewed-by: Trust Me
* Fix regression in QUrl: IPv6 hosts should be lowercased like in Qt-4.5.David Faure2009-10-061-0/+2
| | | | | Merge-Request: 1709 Reviewed-By: Thiago Macieira <thiago.macieira@nokia.com>
* Faster case-insensitive comparison to "file" in QUrl::toLocalFileDavid Faure2009-10-061-1/+1
| | | | | Merge-Request: 1709 Reviewed-By: Thiago Macieira <thiago.macieira@nokia.com>
* Partially revert e58293b3b, re-adding the #ifdef for Qt 4.7Thiago Macieira2009-10-061-0/+4
|
* Fix typo in QtCore license headers.Jason McDonald2009-10-0611-11/+11
| | | | Reviewed-by: Trust Me
* Add documentation for WA_DontShowOnScreen.Peter Yard2009-10-061-0/+3
|
* Added QT_VERSION_CHECK to docs.Peter Yard2009-10-061-0/+11
|
* move doc next to implementationOswald Buddenhagen2009-10-051-23/+20
|
* Added qtextcodec_p.h to the project file.Denis Dzyubenko2009-10-051-0/+1
| | | | Reviewed-by: trustme
* Stopped using bitfields for S60 and Symbian versions.axis2009-10-051-8/+8
| | | | | | | | There is no reason for it, since they will never overlap. Left a little space between numbers in case of patch releases. RevBy: Iain
* QPropertyAnimation now uses QMetaObject::metacall instead of qt_metacallThierry Bastian2009-10-051-2/+2
| | | | | | | This allows the animations to work with the newly integrated dynamic metaobject Reviewed-by: Michael Brasser
* Make QEventTransition works with QGraphicsObject.Alexis Menard2009-10-051-1/+0
| | | | | | | | | | | QStateMachine framework installs QObject event filters to catch events in order to triggers the proper transition. But installing a QObject event filter on a QGraphicsObject gives nothing because QGraphicsView events filters works differently. In order to make this works we now post events using QApplication::postEvent in addition to the QGraphicsView events. Reviewed-by:andreas
* Compile on Visual Studio 2003Eskil Abrahamsen Blomfeldt2009-10-051-1/+1
| | | | | | Don't add export declaration for the definition of the variable. Reviewed-by: Gunnar
* Doc: silence more qdoc warnings.Volker Hilsheimer2009-10-031-1/+1
| | | | | Mark QGraphicsAnchor::unsetSpacing as reset function of the spacing property.
* Added qFastSin() and qFastCos() functions.Kim Motoyoshi Kalland2009-10-023-2/+333
| | | | | | The new functions use a lookup table. Reviewed-by: Trond
* Add prefix to statemachine-specific event typesKent Hansen2009-10-025-9/+9
| | | | | | "Signal" and "Wrapped" is too generic; prefix with StateMachine. Reviewed-by: Eskil Abrahamsen Blomfeldt
* Adds a bool to QAbstractAnimationPrivate to keep track of top-level animationsLeonardo Sobral Cunha2009-10-022-9/+16
| | | | | | | | Also refactored the timer verifications on (un)registerAnimation: we should never register an animation that has a registeredTimer, but we can unregister an animation several times. Reviewed-by: thierry
* Use multimedia timers on Windows for timers less than 16msBradley T. Hughes2009-10-021-1/+1
| | | | | | | According to http://msdn.microsoft.com/en-us/library/ms725496(VS.85).aspx, the system time resolution is 10-16ms, so we should use multimedia timers for anything less than 16ms (the worst case).
* doc: Fixed numerous qdoc errors.Martin Smith2009-10-021-6/+0
|
* Renamed the values in the Qt::TileRule enum.Trond Kjernåsen2009-10-022-14/+14
| | | | | | | Stretch, Repeat and Round are too generic. Renamed to StretchTile, RepeatTile and RoundTile. Reviewed-by: Gunnar
* Use "if (1) {} else" instead of "if (1); else" to silence compiler.Volker Hilsheimer2009-10-011-2/+2
| | | | Rev-by: Thiago
* Add input method hint for URL input widgets.Volker Hilsheimer2009-10-012-0/+2
| | | | Rev-by: Axis
* Compilation with pedantic or when QtCore is not specified in the include pathOlivier Goffart2009-10-011-5/+1
| | | | | | Note that i also removed the #error since the enum is already updated in master Reviewed-by: Gabi
* optimize read() and readAll()Oswald Buddenhagen2009-09-301-20/+24
| | | | | | | | factor out a dedicated private::read() function based on private::scan(). this avoids making the latter even more complex in the process of optimizing it. Reviewed-By: mariusSO
* optimize scan()Oswald Buddenhagen2009-09-301-2/+1
| | | | | | lastChar needs to be set only when in line mode Reviewed-By: mariusSO
* improve condition nestingOswald Buddenhagen2009-09-301-11/+23
| | | | | | | compilers might or might not have been clever enough to optimize it. better safe than sorry. Reviewed-By: mariusSO
* Doc: Remaining pieces of the Graphics effect documentation.Bjørn Erik Nilsen2009-09-301-0/+13
|
* Add Qt::RenderHint to control rendering operations.Bjørn Erik Nilsen2009-09-302-0/+20
| | | | | | | | | | | We need a way to control various rendering operations. For example, whether quality is more important than performance, or the other way around. This change also replaces occurences of QPixmapFilter/QGraphicsEffect::BlurHint (introduced in 1a431e850893b6b162c833f4f148f090e2427dda) with Qt::RenderHint. Reviewed-by: Samuel
* Merge branch 'focusFixes' into 4.6axis2009-09-303-6/+3
|\ | | | | | | | | | | Conflicts: src/gui/kernel/qwidget_p.h src/gui/kernel/qwidget_s60.cpp
| * Fixed some uncommon codepaths to compile.axis2009-09-301-2/+2
| | | | | | | | RevBy: Trust me