| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
The default widget size is normally calculated from the root window size, but when running on an X server with Xinerama enabled, the root window spans all screens, making the widget far to large.
Use the default screen's size instead to give the widget a size that
should fit on a single screen.
|
|
|
|
|
| |
compiler mangles "struct" and "class" differently, so make sure that
QTestCharBuffer is always forward declared as "struct".
|
|
|
|
|
|
|
| |
this line was dragged in from the Xml schema branch, but there is no
schematron in Qt.
Reviewed-by: TrustMe
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The code block associated with QBENCHMARK_ONCE macro will only be executed once,
whether the backend returns a valid result or not. The "-iterations" command line
argument is also ignored.
This is useful for benchmarking code that has side effects.
Revby: jasplin
|
|
|
|
|
|
|
|
|
| |
The documentation implies that start restarts. Which it did, but only if the
timeline was finished _and_ the duration hadn't been changed meanwhile.
So after a setDuration(), start() would do nothing, which was unexpected.
Merge-request: 1145
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
|
|\ |
|
| |
| |
| |
| | |
Reviewed-by: Aaron Kennedy
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
isn't available.
Reviewed-by: Michael Goddard
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
The docs said that the default axis was (0, 0, 1), but the code
and unit tests were using (0, 0, 0). Modify the code to match the
docs because (0, 0, 0) is not very useful. Also optimize the
calculation of sin/cos values for 90, 180, and 270 degrees.
Reviewed-by: Aaron Kennedy
|
| |
| |
| |
| |
| |
| |
| |
| | |
Custom OpenVG pixmap filters written by users will need to access
the VGImage form of a QPixmap. The qPixmapToVGImage() function
is provided for this purpose, as a private API.
Reviewed-by: Sarah Smith
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in a tree-like model with one of its grand-children being selected.
Added recursive deselection for the model.
Task-number: 232634
Reviewed-by: thierry
|
| |
| |
| |
| |
| |
| |
| | |
Before this patch gcc would fail with this message:
internal compiler error: in add_virtual_operand, at tree-ssa-operands.c:1317
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@nokia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
gcc was complaining about format string not being a string literal.
Also fixes the small chance that error messages would be bogus if
they contain printf control characters.
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
|
| |
| |
| |
| | |
Reviewed-by: gunnar
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use a static buffer for small strings, and making it oom safe.
We can now see messages up to 512 bytes even if we run out of memory
(important for OOM tests). Also, testlogging (< 512 bytes per line)
should again work without a single allocation.
Reviewed-By: Rohan McGovern <rohan.mcgovern@nokia.com>
|
| |
| |
| |
| | |
Reviewed-By: TrustMe
|
| |
| |
| |
| | |
Reviewed-By: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the code out of qapplication_x11.cpp, and qcommonstyle.cpp
to qkde.cpp into the QKde namespace.
This removes few of the code duplication, and is much cleaner.
This will also let us install hook easily later.
Reviewed-by: Jens Bache-Wiig
|
| |
| |
| |
| | |
Task-number: 258459
|
| |
| |
| |
| |
| | |
In preparation of making the old QtScript back-end a separate
package/solution.
|
| |
| |
| |
| | |
Reviewed-by: Kent Hansen
|
| |
| |
| |
| |
| |
| |
| |
| | |
If the current index is invalid, start would be (0,0) but would be
skiped
Task-number: 220195
Reviewed-by: thierry
|
| |
| |
| |
| |
| |
| | |
This does not change the behavior of the method.
Reviewed-by: andreas
|
| |
| |
| |
| |
| |
| | |
... by prepending SRCDIR to the loaded files.
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If files for deployment for windows ce are missing we get an error
message now. Wilcards have to behandled special because
QFileInfo::exists() does not work with wildcards.
QFileInfo::absoluteFilePath() does work with wildcards
Reviewed-by: Mauricek
|
| |
| |
| |
| |
| |
| |
| | |
On windows mobile with native menubar integration the menubar is not
a child of the mainwindow
Reviewed-by: Joerg
|
| |
| |
| |
| |
| |
| | |
This extra check prevents a crash if plugin loading fails
Reviewed-by: Joerg
|
| |
| |
| |
| |
| |
| | |
Windows CE is sometimes a little bit slow
Reviewed-by: Joerg
|
| |
| |
| |
| | |
Reviewed-by: Joerg
|
| |
| |
| |
| |
| |
| |
| |
| | |
Rather than requiring an allocation of the "shared data" region,
QObject *'s should be stored directly in the data structure. This very
marginally, but measurably, improves QVariant performance.
Reviewed-by: Thiago Macieira
|
| |
| |
| |
| |
| |
| | |
We cannot remove a file that's still opened.
Reviewed-by: ossi
|
| |
| |
| |
| |
| |
| | |
There's no time() on Windows CE.
Reviewed-by: Daniel Molkentin
|
| |
| |
| |
| |
| |
| |
| | |
Win CE doesn't support real file permissions (FAT only).
Further, we don't have pagefile.sys.
Reviewed-by: thartman
|
| |
| |
| |
| |
| |
| |
| |
| | |
These tests run against domain names in troll.no and to allow shorter
names the machine has to be in this domain.
Removing them since this specific case test the OS more than Qt itself.
Reviewed-by: Thiago
|
| |
| |
| |
| | |
Reviewed-by: thartman
|
| |
| |
| |
| |
| |
| |
| |
| | |
There's a restriction to output only 255 characters per line.
The loop we had before was wrong and did some read operations somewhere
behinde the end of the message string.
Reviewed-by: thartman
|
| |
| |
| |
| |
| |
| |
| | |
The TCP socket must get the chance to read data into its read buffer
after the first read operation emptied it.
Reviewed-by: thartman
|
| |
| |
| |
| | |
Reviewed-by: thartman
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QProcess is supposed to be reentrant but was not on Unix. The
constructor of QProcessManager could be exectued several time when
QProcess is created. The construction is now protected by a mutex.
Task-number: 254246
Reviewed-by: Olivier Goffart
|
| |
| |
| |
| | |
mingw doesn't support format with %llu or %ll. So I used a QString
|
| |
| |
| |
| |
| | |
moved static CRITICAL_SECTIONs to cpp files. In header they would be
declared more than once depending on what file includes those headers.
|
| |
| |
| |
| | |
getQApplicationPrivateInternal was not declared
|
| |
| |
| |
| | |
Reviewed-by: jesper
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | | |
Cocoa: Add support for native gestures
|