| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Missed qdatastream_p.h in last commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A frequent bug when using QDataStream across platforms where the size
of qreal is different (such as any desktop platform and an ARM device)
is that you end up using different overloads for streaming the value
in and out (e.g. operator>>(double) on desktop and operator<<(float) on
ARM.)
This can leads to crashes and data corruption. To avoid the problem,
we define a single floating point precision for the entire data stream
and allow this to be set by the user. The default is to use 64-bit
precision for all floating point numbers.
Reviewed-by: Samuel
Reviewed-by: Thiago
|
|
|
|
| |
Reviewed-by: thiago
|
|
|
|
| |
Reviewed-by: Thiago Macieira
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Otherwise the events might creep into the event loop if the state
machine is restarted.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The priority specifies whether the event should be posted to what the
SCXML spec refers to as the "external" (NormalPriority) queue, or the
"internal" (HighPriority) queue.
Delayed events are now posted through a separate function,
postDelayedEvent(). That function returns an id that can be passed to
cancelDelayedEvent() to cancel it.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Avoid delayed scheduling in the cases where there's no need to
delay it (e.g. when the state machine intercepts a signal or event).
Task-number: QTBUG-4491
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
If this option is given, Qt will load a plugin called "qttestability"
and run an initialisation function from it. This allows one to just
install the plugin in a non-debug device in order to enable testing.
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This new QFSEventsFileSystemWatcherEngine was introduced in 4.6 in order
to speed up Qt, but we have experienced dead lock and auto-tests
regressions (QFilesystemModel).
Task-number:QT-2217
Reviewed-by:brad
Reviewed-by:denis
Reviewed-by:richard
|
| |
| |
| |
| | |
Reviewed-by: Trust Me
|
| | |
|
| |
| |
| |
| |
| |
| | |
This line was a left-over from commit 86f5a63b018441
Reviewed-by: thierry
|
| |
| |
| |
| |
| |
| |
| |
| | |
getMacPreferredLanguageAndCountry can crash when called e.g. as a
root user because CFPreferencesCopyValue will return 0.
Reviewed-by: denis
Task-number: 261664
|
| |
| |
| |
| | |
Reviewed-by: thierry
|
| |
| |
| |
| | |
Reviewed-by: Leo
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Those two classes are specific to the state machine framework, but
their names were so generic that we felt they were polluting the
Q-namespace. They are now QStateMachine::SignalEvent and
QStateMachine::WrappedEvent.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
| |
| |
| |
| |
| |
| |
| |
| | |
qdoc was giving attitude about this undocumented event type so mark it
as omitted in the documentation.
Task-number: QTBUG-4601
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These types of input events are not handled by the normal mouse and
key event handlers on X11 and Windows. Add special cases for them to
make sure that they are not delivered while ExcludeUserInputEvents is
set.
Task-number: QTBUG-4242
Reviewed-by: Simon Hausmann
|
| |
| |
| |
| |
| |
| |
| | |
RVCT has problems with scoping, the similar workaround has been used
in qhash.h also.
Reviewed-by: Janne Koskinen
|
| |\ |
|
| | |
| | |
| | |
| | | |
Reviewed-by: Trust Me
|
| | |
| | |
| | |
| | | |
Reviewed-by: thierry
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Commit ed375675d4a4f6fd63edeb242e23c87b3de4be6f triggers a behavior in
Glib's mainloop implementation where some event sources are not
"serviced" every iteration of the mainloop context. This breaks an
invariant that many tests relied on, so we need to solve the problem.
The invariant is that a newly added timer that would normally fire on
the next pass of the event loop (liker a zero timer) SHOULD actually
fire. We do this by registering 2 timer event sources with Glib's
mainloop: one normal priority source and one idle priority source. The
idle priority source is the one that will send events most of the
time, with the normal priority one taking over only when
processEvents() is called manually.
Task-number: QT-877
Reviewed-by: jbache
Reviewed-by: thiago
Reviewed-by: denis
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
S60 version check for emulator was hardcoded, which caused problems
for users of our binary packages, which deploy same binaries to all
environments.
Changed the check to look for platform .sis files also in emulator and
use the hardcoded version only as a fallback option for those SDKs
that do not provide these files.
Task-number: QTBUG-4579
Reviewed-by: axis
|
| |/
| |
| |
| | |
Reviewed-by: Paul
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On Mac OS X, when the keyboard UI mode specifies "text boxes and lists
only", the tab key should only focus lists and text edit.
The previous implementation was using the focus policy to exclude the
buttons. This does not respect the configuration.
The change fixes tst_QApplication::focusChanged() with the Keyboard
mode "text boxes and lists only".
Reviewed-by: Richard Moe Gustavsen
|
| |
| |
| |
| |
| |
| |
| |
| | |
It seems the problem is no longer there (maybe it was related to when
we used --no_hide_all?), but anyway, it seems to be fine to use
Q_CORE_EXPORT so reverted to that.
Reviewed-by: axis
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
The errorCode member was uninitialised, this caused the watcher thread
startup to fail.
Reviewed-by: Miikka Heikkinen
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RFs::GetSystemDrive doesn't exist in 3.1 (even though it is in the
symbian documentation). Moved it to a new function in the S60 plugins.
For 3.1, it returns EDriveC, for all other versions the RFs API is used
Task-number: QT-805
Reviewed-by: Iain
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The advanced pointer events are only available on Symbian^3 and higher
so we need to make sure these are protected by an #ifdef. We might have
to re-factor this later into a plugin in order to get this running on
older versions.
Reviewed-by: axis
|
| |
| |
| |
| |
| |
| |
| | |
- Added missing docs for some flags.
- Rearranged the values by type.
RevBy: Trust me
|
| |
| |
| |
| | |
RevBy: Trust me
|
| |
| |
| |
| |
| |
| |
| |
| | |
We're not taking a parameter in updateCurrentTime any more
because that parameter was the total currenttime. So it was taking into
account the currenttime and the currentloop at once. This was inconsistent
Reviewed-by: Leo
|
| |
| |
| |
| | |
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| | |
The QTextCodec::codecForHtml used to expect http-equiv attribute before
the charset attribute in the meta header, which is not always the case.
Reviewed-by: Simon Hausmann
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
demos/embedded/fluidlauncher/config_s60/config.xml
demos/embedded/fluidlauncher/fluidlauncher.pro
src/corelib/io/io.pri
src/gui/kernel/qapplication_s60.cpp
src/gui/kernel/qwidget_s60.cpp
src/s60installs/qt_libs.pro
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Try not to hold an unused 4k QByteArray. This may introduce a
performance regression e.g. for QNetworkReply in exchange for lower
memory usage.
We will see if this is really the case.
Reviewed-by: Thiago
|
| |
| |
| |
| | |
Reviewed-by: Eskil
|
| |
| |
| |
| |
| |
| |
| |
| | |
File engine was adding '/' to the result of QDir::cleanPath(),
which is correct for everything except root directories, where it caused
a path like "c://"
Reviewed-by: axis
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QT-805 QCoreApplication::applicationDirPath() may return wrong private
dir if application is on Z:, not C:
Remove the emulator ifdef, instead RFs::Drive is used to get the drive
attributes (to see if it is ROM / read only)
RFs::SystemDrive is used to get the system drive, which is C:
on S60 phones, but in theory configurable.
It is not needed to call Open() on RProcess to call functions on the
current process - this eliminates some code.
Elimated some unneeded code to check for Z: before creating prvate path
(now, the if statement would always have evaluated the same)
Task-number: QT-805
Reviewed-by: Miikka Heikkinen
|
| |
| |
| |
| |
| |
| | |
The problem is that sometimes timerevents get compressed. So in the
unified timer, we need to make sure that some time has passed between 2
ticks.
|
| |
| |
| |
| | |
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
such as
margins.h:90: warning: declaration of ???bottom??? shadows a member of _this_"
'a' stands for argument
Reviewed-by: jbache
|