| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Imported from http://github.com/icefox/guessurlfromstring
Licensed under the 3-clause BSD license by the copyright holder.
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-By: Trust Me
|
|
|
|
| |
Reviewed-by: Daniel Molkentin
|
|
|
|
|
|
| |
This is the QtCore part of the timebomb.
Reviewed-by: Daniel Molkentin
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QAbstractState::parentState() is called heavily by the state machine
algorithm. The parent state is obtained by qobject_cast'ing
QObject::parent(). qobject_cast() is expensive. This commit introduces
caching of the result in order to improve performance.
We expect that the cache won't be invalidated much since the parent-child
relationship of states usually doesn't change after the state machine is
started.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|
|
|
|
|
|
|
| |
This function is useful for debugging, if nothing else, and has been
requested by users. We also refer to it in one of our blog posts, so
there's little point in trying to hide it any longer.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|
|
|
|
|
|
|
| |
By popular demand on the Qt Labs blog.
This makes it possible to readily use QStateMachine with e.g. worker
threads that post events to the machine.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the same type of optimization as that done for transitions in
commit 5d8dcd57cd13fdd9c8643fa3bdda9f197a4351ff. The idea is to avoid
calling qobject_cast() because it's very expensive.
Obtaining child states needs to be as fast as possible because it's in
the critical path of the state machine algorithm; it's called by a ton
of internal functions, like isCompound(), isAtomic(), isInFinalState().
It's also called heavily for parallel state groups.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|
|
|
|
|
| |
Since QStateMachine inherits QState now.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Transitions are children of their source state. We use
QObject::children() and qobject_cast() each child to a
QAbstractTransition to see if it is indeed a transition. However,
calling qobject_cast() is very expensive. This commit introduces
a cached list of transitions. The list is invalidated after a
child object has been added or removed.
In the typical case we expect the object hierarchy to remain fairly
constant once the state machine has been started (states, child states
and transitions are usually "static"), in other words the cached list
is not likely to be invalidated much.
Obtaining a state's transitions needs to be as fast as possible
because it's in the critical path of the state machine algorithm.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|
|
|
|
| |
Task: 262677
Reviewed-by: joao
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
|
| |
These macros are available since GCC 2.95.
Reviewed-by: Olivier Goffart
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
|
|
|
|
| |
A problem occurred related to the createUUid function on Windows Mobile.
Calling rand() before srand() resulted in identical pseudo random
sequences for different threads.
Reviewed-by: Joerg
|
|\ |
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-4867
Reviewed-by: Aleksandar Sasha Babic
|
| |
| |
| |
| |
| |
| |
| | |
It could happen that an animation would be unregistered when it
shouldn't.
Reviewed-by: Leo Cunha
|
| |
| |
| |
| |
| |
| |
| | |
We avoid stopping/starting the timer over and over again
Patch suggested by Aaron.
Reviewed-by: Aaron Kennedy
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
This will be handled differently (QTBUG-4751)
This reverts commit b12fb5861ce09539c04cd51db12a9bfbe32a4774.
|
|
|
|
|
|
|
| |
Some of the methods used in QDate/QTime/QDateTime have been
reimplemented to use native Symbian calls.
Reviewed-by: Janne Anttila
|
|
|
|
|
| |
Task: QT-987
RevBy: mread
|
|
|
|
|
|
|
|
|
| |
Task: QT-2265
RevBy: Janne Anttila
Compiles on all three Symbian compilers. Strictly speaking GCCE
wasn't able to link QtGui, but that seemed to be unrelated to this
change.
|
|\ |
|
| |\ |
|
| | |\ |
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
toEncoded was returning an empty host instead of [::ffff:129.144.52.38]
Merge-request: 1735
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Always call the callbacks unlocked to avoid deadlocks.
(The others call to the callback ar unlocked)
Reviewed-by: Olivier Goffart
Merge-request: 1744
|
| | |_|/
| |/| |
| | | |
| | | | |
Task-number: QTBUG-4443
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/corelib/kernel/qcoreevent.cpp
src/corelib/kernel/qcoreevent.h
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
It wasn't necessary to have a Symbian specific include in qprocess.h,
as 64-bit integer will work as pid also in Symbian.
Task-number: QT-2266
Reviewed-by: Janne Anttila
|
| |\ \
| | |/ |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is needed in case we change consistentTime while the animation is
running.
Reviewed-by: thierry
|
| | |\ \ |
|
| | |\ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The previous code was settingCurrentTime on all animatios, even on those
that had already finished long ago.
Reviewed-by: thierry
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When there are only pause animations running, the timer will stop and
restart when the closest pause animation finishes. While there are only
pause animations running, there are no additional timer ticks, but
if there is at least one animation running that is not a group or a pause,
then the global animation timer will restore it's update interval.
Includes a new auto-test for the QPauseAnimation class.
Task-number: QT-941
Reviewed-by: thierry
Reviewed-by: janarve
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reviewed-by: thierry
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If we want to avoid timer ticks in QPauseAnimation, We need to update the
current time when an animation pauses, for being able to resume correctly.
Reviewed-by: thierry
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|