| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Task-number: 258404
Reviewed-by: Trust Me
|
|
|
|
| |
"*/ outside of comment"
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
We do it when compiling JavaScriptCore as part of QtWebKit, so do it
when compiling it as part of QtScript as well, otherwise the excess
warning output is just ridiculous.
Adopted from patch at https://bugs.webkit.org/show_bug.cgi?id=27709
|
| |
| |
| |
| |
| |
| |
| |
| | |
For some types, an empty string is the correct and complete
conversion of the type. If the result is an empty string, use
QVariant::canConvert() to determine if that is indeed correct,
before falling back to the "string-conversion-not-available"
path.
|
| |
| |
| |
| |
| | |
For mobile devices with high latency network it does not make sense to
have 6 HTTP connections per host:port. Reduced it to 3.
|
| |
| |
| |
| |
| |
| |
| |
| | |
When the paint engine used by QGLWidgets was the GL 2 paint engine the
backing store assumed partial update support, which is not the case. We
need to check for both QPaintEngine::OpenGL and QPaintEngine::OpenGL2.
Reviewed-by: Trond
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Windows IME supports reconversion of text. e.g. On a Japanese layout,
up on pressing the HENKAN key a list of choices for the current word are
shown in a popup. This patch adds that support to Qt. We will select the
current word in the widget and the choices are shown as in the editing
mode.
Task-number:225588
Reviewed-by: axis
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
i'm a garbage collector :)
AutoTest: Passed
RevBy: Miikka Heikkinen
Signed-off-by: axis <qt-info@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
simply use ifdef to point which implementation should be compiled
AutoTest: Passed
Signed-off-by: axis <qt-info@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* crash fixed ( d->filePath.at(0).isLetter() )
* warning removed in QFSFileEngine::copy ( unused param )
* minor optimisations
* styling fixes
* needless header include removed ( qregexp.h )
AutoTest: Passed
Signed-off-by: axis <qt-info@nokia.com>
|
| | |
| | |
| | |
| | |
| | | |
Task-number: 182860
Reviewed-by: Trust Me
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This means it should respect the order that was defined with
insertItem() and addItem().
Note that this is not strictly necessary (as now explicitly written in
the docs for QGraphicsLayout::itemAt()), but commit
2ec56d158dc140f68efb45e2e0613f0e4026ddf6 broke the order and for people
that relied on this that commit caused a regression.
In addition, after commit 2ec56d158dc140f68efb45e2e0613f0e4026ddf6 it
was not longer possible to query the "item at visual index". Thus,
instead of adding another function (like QGGL::itemAt(int,int)) we make
sure that itemAt() also returns the "item at visual index".
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
It was initialized correctly though, just that some compilers could not
see that.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Check if QTabBarPrivate's movingTab member is 0 before dereferencing it.
This fixes a crash when double-clicking a tab. New unit test included.
http://bugs.kde.org/show_bug.cgi?id=202767
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
Merge-Request: 1337
|
| |\ \ |
|
| | |\ \ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
and y-axis inversion and overall less conversion, making significantly faster
for plain usecases
Reviewed-by: Trond
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: Trust Me
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: Trust Me
|
| |/ / /
|/| | |
| | | |
| | | | |
Reviewed-by: Trust Me
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
|