| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
scaled
New manual test for QImageReader and jpeg image loader plugin
Task-number: 260192
|
| |/
|/|
| |
| | |
Reviewed-by: Trust Me
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
|
| | |
| | |
| | |
| | |
| | |
| | | |
making it into a bitmask. I'll add GeometryShader in the future
Reviewed-by: Rhys Weatherley
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Multiple database connections could have differing ideas on the return
value for defaultCase. The cost of the call is so minimal that caching
is unnecessary, and static caching is very very wrong.
Reviewed-by: Justin McPherson
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It used to be possible to derive the shader type from the file extension,
but this isn't very extensible and doesn't capture the usual extensions.
Change it so that the shader type must be supplied explicitly.
Also add the addShaderFromFile() function to QGLShaderProgram to
provide a convenient short-cut for file-based shader creation.
Reviewed-by: Sarah Smith
|
| | |
| | |
| | |
| | |
| | |
| | | |
No need to use a QDataStream here.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Neither grabWidget nor buffer is ever called from Qt and they're not
public API
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Allow applications to get a pointer to the surface of the window surface
for a given widget or a subsurface of the widget.
This function ignores whether or not the widget is fully or partially
obscured.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Commit 25e76959da84fe4c40f98cf32b7b8c69e5087681 changed it for the
interpreter, this commit makes it work with the JIT enabled as well.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since QScopedPointer can take a custom cleanup handler we can use this
instead of the original QDirectFBPointer.
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This just caused too much problems and must be solved another way.
In qfsfileengine_win.cpp we define FSCTL_GET_REPARSE_POINT and all
of the other stuff that's needed for NTFS symlink support, if
its not defined. This is the case if _WIN32_WINNT is less
than 0x0500.
All other changes in this commit are just reversions of commits
that were done for the infamous qglobal.h change.
Discussed with prasanth, tested by pulse.
|
| | |
| | |
| | |
| | | |
Reviewed-by: Kim
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since the GL 2 engine can't set/unset every single GL state that
a user might possibly change, we have to make a rule that if something
is changed from its default state, it needs to be reset before
the GL 2 engine can draw correctly.
Reviewed-by: Samuel
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This makes mixing GL and QPainter code safer. We need to be able to
assume default GL state in begin(), and set back whatever we change to
the default state in end() in the GL 2 paint engine.
Reviewed-by: Trond
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Only use bilinear filtering when SmoothPixmapTransform render hint is
used.
Reviewed-by: Kim
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The recommended specifiers are lowp for colors / normal vectors, mediump
for texture coordinates when a limited range is sufficient, and highp
for generic texture coordinates and vertex coordinates / transformation
matrices.
We used to use mediump for texture coordinate in some places, but
since we don't control the texturing scenarios we need to handle the
worst case, which is zooming in on part of a large texture (2048x2048)
with bilinear filtering. To properly handle this case without color
banding mediump is probably not sufficient, so we'll use highp for
texture coordinates.
Reviewed-by: Tom
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously we were using QPaintEngine::syncState() which is not ideal
naming-wise, since it actually prepares for native painting instead of
syncing the painter's state to native state.
Reviewed-by: Trond
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: ogoffart
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds the function beginMoveRows, endMoveRows, beginMoveColumns,
endMoveColumns
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
Acknowledged-by: Thierry
Merge-request: 972
|
| |/ /
| | |
| | |
| | |
| | | |
Task-number: 201882
Reviewed-by: Trust Me
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
belonged to a deleted script engine
When the engine is deleted, the JSValue is invalidated, but the
QScriptValue's type will still be QScriptValuePrivate::JSC.
Use a new helper function, isObject(), that checks both that the
value is of type JSC _and_ that it is valid, before calling
JSValue::isObject() (JSValue::isObject() assumes that the value
is valid).
|
| | | |
| | | |
| | | |
| | | |
| | | | |
It just ensures that the central widget gets its correct size
(ie. sizehint) when a menu bar is present.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If you do a selection with the mouse and react to selectionChanged by
changing the selection. Those changes would be overwritten by
QAbstractItemView::mouseReleaseEvent.
It is useless to set the selection on mouse release. We already do
that on mouse press.
Task-number: 250683
Reviewed-by: ogoffart
|
| | | |
| | | |
| | | |
| | | | |
Graphics effects are no longer in the Graphics View module.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This test would not pass if we sorted the signals by alphabetical order in the
moc (in order to do a binary search)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Kavindra
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If GetTextMetrics() should fail, the results are undefined. When the
undefined data are used, e.g. when painting text, this can cause a
crash. To avoid the crash and make it clear that the metrics cannot be
retrieved, we zero out the entire structure.
Task-number: 251172
Reviewed-by: gunnar
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit f7ebdd380d16a7be9713930b5ab41c32e996dcdb.
defining WINVER in qglobal.h is about to be reverted.
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
Task-number: 253749
Reviewed-by: Trust Me
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The extra ".data()" call is not needed here because QScopedPointer
overloads operator!() to do the right thing here.
Reviewed-by: Eskil Blomfeldt
|
| |/ /
| | |
| | |
| | |
| | | |
Task-number: 254511
Reviewed-by: Trust Me
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Column number in executed JS source code is correctly passed to
debugger. Few autotest were repaired.
Reviewed-by: Kent Hansen
|
| | |
| | |
| | |
| | | |
Reviewed-by: janarve
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously it wouldn't and the layout could appear to be broken.
Task-number: 248817
Reviewed-by: Gabriel De Dietrich
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Calling QScriptEngine::toStringHandle() is dead slow, so don't call it;
use JSC::Identifier directly.
This is the same issue as was fixed for setProperty() in commit
a8574172dd5e6bc11cf6f69b6fad5a063549e88d.
|