| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
| |
Reviewed-by: Olivier Goffart
|
|
|
|
|
|
|
|
|
|
| |
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() 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
|
|
|
|
|
|
|
| |
Implemented gestures using gesture events and separate
QGesture/QGestureRecognizer classes.
Reviewed-by: trustme
|
|
|
|
|
|
| |
localtime_r."
This reverts commit 2f7d1318d2dc63322a468d8c301ae718eaba0d03.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Add Q_ENUMS/Q_FLAGS accordingly.
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
|
|
|
|
|
|
| |
This might be useful for some people, so we should document it.
Reviewed-by: Bjørn Erik Nilsen
|
|
|
|
|
|
|
| |
Made it thread-safe and actually make sure that we don't initialize the
data several times.
Reviewed-by: axis
|
|
|
|
|
|
|
|
| |
Source-incompatible change
This reverts commit 8714892977269591bb9b348c6eb549a7f2c45cbc.
Rev-by: Trustme
|
|
|
|
| |
Reviewed-by: Brad
|
|
|
|
| |
Reviewed-by: Marius Storm-Olsen
|
|
|
|
| |
Reviewed-by: Markus Goetz
|
|
|
|
| |
Necessary since the SignalEvent class was moved to qstatemachine.h.
|
|
|
|
|
|
|
| |
There were cases (now covered by autotests) where the state of the
animations could be wrong.
Reviewed-by: janarve
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Merge-Request: 1709
Reviewed-By: Thiago Macieira <thiago.macieira@nokia.com>
|
|
|
|
|
| |
Merge-Request: 1709
Reviewed-By: Thiago Macieira <thiago.macieira@nokia.com>
|
| |
|
|
|
|
| |
Reviewed-by: Trust Me
|
| |
|
| |
|
| |
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
|
|
|
|
| |
There is no reason for it, since they will never overlap.
Left a little space between numbers in case of patch releases.
RevBy: Iain
|
|
|
|
|
|
|
| |
This allows the animations to work with the newly integrated dynamic
metaobject
Reviewed-by: Michael Brasser
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Don't add export declaration for the definition of the variable.
Reviewed-by: Gunnar
|
|
|
|
|
| |
Mark QGraphicsAnchor::unsetSpacing as reset function of the spacing
property.
|
|
|
|
|
|
| |
The new functions use a lookup table.
Reviewed-by: Trond
|
|
|
|
|
|
| |
"Signal" and "Wrapped" is too generic; prefix with StateMachine.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
| |
Stretch, Repeat and Round are too generic. Renamed to StretchTile,
RepeatTile and RoundTile.
Reviewed-by: Gunnar
|
|
|
|
| |
Rev-by: Thiago
|
|
|
|
| |
Rev-by: Axis
|
|
|
|
|
|
| |
Note that i also removed the #error since the enum is already updated in master
Reviewed-by: Gabi
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
lastChar needs to be set only when in line mode
Reviewed-By: mariusSO
|
|
|
|
|
|
|
| |
compilers might or might not have been clever enough to optimize it.
better safe than sorry.
Reviewed-By: mariusSO
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/gui/kernel/qwidget_p.h
src/gui/kernel/qwidget_s60.cpp
|
| |
| |
| |
| | |
RevBy: Trust me
|