| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed-by: sroedal
|
|
|
|
|
|
|
|
|
|
| |
Use qpen_ and qbrush_ accessors for slightly better performance
and avoid calling for the same value again and again. Secondly,
the engine doesn't use its pen and brush states so there is
no point in maintaining them, so don't reset old brush all the
time.
Reviewed-by: Samuel
|
|
|
|
| |
Reviewed-by: Samuel
|
|
|
|
|
|
|
|
|
| |
When swapping the alphachannel we need to make sure we create proper
premultiplied pixels. When setting alpha to 0, that means also setting
the other pixel values to 0. This bug was made visible by the gl
graphics system.
Reviewed-by: MariusSO
|
|
|
|
| |
Reviewed-by: trustme
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The handling for the current QGLContext was looking up the same
TLS data several times per call (hasLocalData() and localData()
calls particularly).
This change also refactors the code a little so that the
setting of the QGLContext within makeCurrent() and doneCurrent()
is in one location in the code instead of six (one per platform).
Reviewed-by: Michael Brasser
Reviewed-by: Sarah Smith
|
| |
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
examples/multimedia/audio/audiodevices/audiodevicesbase.ui
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-put example audiodevices in layout.
-added more checking to testSettings() in win32 implementation.
-disabled objects in example audiodevices that are not editable.
-added more checking to alsa implementation for preferredFormat().
-changed internal strings from tr to QLatin1String.
Reviewed-by:Justin Mcpherson
|
| | |
| | |
| | |
| | | |
Reviewed-by: Sarah Smith
|
| |/
|/|
| |
| |
| |
| |
| | |
OpenGL/ES 2.0 systems were giving a GL error when GL_TEXTURE_2D
was enabled and disabled.
Reviewed-by: trustme
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Update documentation and #ifdef out the implementation.
Reviewed-by: trustme
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The renderText() function is only for legacy desktop systems,
so revert the previous attempts to port it to OpenGL/ES.
Documentation note added to direct users to QPainter::drawText()
for the correct way to render text onto an OpenGL paint device.
Reviewed-by: trustme
|
| |
| |
| |
| |
| | |
Merge-request: 1421
Reviewed-By: Thiago Macieira <thiago.macieira@nokia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order to detect "int foo = myQReal" mistakes, one needs to compile with -Wconversion.
However that flag triggers many warnings inside Qt. This commit fixes many of them, like
qchar.h:295: warning: conversion to 'ushort' from 'unsigned int' may alter its value
qglobal.h:1026: warning: conversion to 'qreal' from 'qint64' may alter its value
qbytearray.h:441: warning: conversion to 'char' from 'int' may alter its value
Other warnings remain (such as those coming from bitfields)
Merge-request: 1460
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
| |
| |
| |
| |
| |
| | |
Use the Introspect call's return value to determine whether the
service exists or not. That way, a call to a non-existing service may
activate it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When calling a method of a service, qdbus tool will not check
whether the service exists nor if the interface is valid. This
allows DBus try to activate the service when we call the method.
Merge-request: 1472
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit 098be4ff adds a check for MAC_OS_X_VERSION_MAX_ALLOWED and
MAC_OS_X_VERSION_10_5, which do not exist on FreeBSD. Therefore, both
evaluate to 0 and a Mac-specific header ends up included.
This commit properly verifies that Q_OS_MAC is defined before performing
that check.
Merge-request: 1477
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Conflicts:
tests/auto/qhttpnetworkconnection/qhttpnetworkconnection.pro
tests/auto/qhttpnetworkreply/qhttpnetworkreply.pro
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The deleteLater was beeing created with loopLevel of 1, causing
it to be defferd until QApplication::exec() returned.
Add a QScopedLoopLevelCounter to increase the loopLevel while
triggering the action.
RevBy: Brad
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the Qt package contains one of x86 and x86_64, pick that one. If it
contains both then use the compiler default. Make a similiar decision for
PowerPC-based systems. Note that this logic assumes that Qt has been
configured with an architecture that is usable on the system.
Reviewed-by: Marius Storm-Olsen
|
| | |
| | |
| | |
| | |
| | | |
_HIViewScrollRectWithOptions needs to be declared as a weak-linked
symbol in order to make static linking work.
|
| | |
| | |
| | |
| | | |
HIViewSetNeedsDisplayInRect was added in 10.4.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
After restoring a minimized window we only saw the window decoration.
All content was missing. That's because we don't get a WM_SIZE message
for restoring the window. We must react on WM_ACTIVATE in this case.
This fixes the issue for Windows mobile too.
Task-number: 260702
Reviewed-by: thartman
|
| | |
| | |
| | |
| | |
| | |
| | | |
test was not building
Reviewed-by: Trust Me
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since 925912ebf552417306a5bd20fd986afda6a582be QNetworkReplyImplPrivate
no longer holds its own pointer to the network cache and relies on the
backend to get it. Since the cache is used in our call to finished, we
must reset the backend only after that.
This fixes a crash I was seeing in Arora...
Reviewed-by: Markus Goetz
Reviewed-by: Peter Hartmann
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Stops the license checker failing each time the file is re-generated.
Also added "_P" to the generated header guard, as it's a private header.
Reviewed-by: Gunnar Sletta
|
| | |
| | |
| | |
| | | |
Merging fix back into 4.5 tree
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ported this fix backwards from 4.6 to 4.5
Adds some cleanups (using QVarLengthArray), and reverting to the
initial and correct calculation (when the driver doesn't deem fit to
return SQL_NO_DATA).
|
| | |
| | |
| | |
| | |
| | | |
Reviewed-by: Takumi Asaki
Also-applied-as: 3f257dcf8c8ca812d60d4a6a4c2cd2da96bba526
|
| | |
| | |
| | |
| | | |
Reviewed-by: Marius Bugge Monsen
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the Windows print engine, we try to send a text item as a raw string
of characters to the printer driver if this is possible. This is to
facilitate using PDF-printers as much as possible, allowing them to
save the text in the document so for searching etc. We can only safely
do this if all the characters in the string are ASCII-compatible, i.e.
in the 7 bit range, since this is the only part of the set which is
guaranteed to be compatible across code pages.
Task-number: 180655
Reviewed-by: Trond
|
| | |
| | |
| | |
| | |
| | |
| | | |
test was not building
Reviewed-by: Trust Me
|
| | |
| | |
| | |
| | |
| | |
| | | |
Hopefully this helps clarify the use of beginNativePainting().
Reviewed-by: Trond
|
| | |
| | |
| | |
| | | |
Reviewed-by: Jason Barron
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When cross-compiling and shadow building Makefiles are not generated for
designer and libQtUiTools. For this reason designer usually doesn't
build for people trying to compile the browser example on QWS due to
unresolved externals or weird link errors when the build tries to pick
up the system Qt libraries instead. The mechanism to fix this is already
in place for S60.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Need to unbind the window surface FBO and re-bind it in the child
widget's context before doing a blit.
Reviewed-by: Kim
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a layoutDirection autotest, and sprinkle some of the tests
with checkReverseDirection()
Reviewed-by: Eduardo M. Fleury
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There are too many platform regressions when using the FBO as a backend
for the opengl engine. We need to find whether it's possible to work
around them, but for the time being, to preserve compatibility, we
only use FBOs when using the opengl2 engine.
Example of issue: Smudged text and smudged diagonal lines on Windows XP
when running with opengl engine and latest nvidia driver.
Reviewed-by: Trond
|