| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
When premultiplying a color with the opacity, the color's alpha channel
was not set correcly.
Reviewed-by: Tom
|
|
|
|
|
|
|
| |
Texture filtering was set before binding the texture, so the gradient
spread was not set correctly.
Reviewed-by: Tom
|
|
|
|
| |
Reviewed-by: Tom
|
|
|
|
| |
Reviewed-by: Tom
|
|
|
|
| |
Reviewed-by: Tom
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I added a QGLContextResource class which can be used internally in Qt
for sharing resources between contexts. The QGLContextResource is a
hash map where the context is used as 'key', and the resource is the
'value'. All the sharing contexts point to the same resource, and the
resource is automatically deleted when it is not referenced any more.
Now, the shader manager uses the QGLContextResource class.
I also added a pointer to a struct in the QGLContextPrivate class. The
struct is shared between all the sharing contexts and is deleted
automatically. Currently, the struct only contains the resolved OpenGL
function pointers.
The shared context register code has been simplified.
Reviewed-by: Tom
|
|
|
|
|
|
|
|
|
| |
Inheritence of fill attributes was implemented by copying attributes
from the parent node. This approach wouldn't work if the node is
referenced by a 'use' element. Now, only the fill attributes which have
been explicitly set are applied on the painter while drawing.
Reviewed-by: Tor Arne
|
|
|
|
|
| |
This gives a 5% improvement in performance by avoiding iterating over
the contents more than once.
|
| |
|
|
|
|
|
|
| |
Avoid calling functions that may have other side effects, like
QString::utf16(). Use pointers whenever possible when iterating over
the string.
|
|
|
|
|
| |
Use qt_nameprep after all since it's extremely fast for ASCII only and
it does in-place replacement.
|
|
|
|
|
|
|
| |
Since we're going to do nameprepping anyways, avoid the lowercasing
step at the function entry (and thus, one extra temporary). The
nameprepping step is also faster than QString::toLower for the ASCII
case.
|
|
|
|
|
|
| |
Unfortunately, I can't do it all inline because the punycode encoding
and decoding requires reading the source several times. (Maybe the
decoding can be done with some effort in the future)
|
|
|
|
| |
This will allow to do less allocations in qt_ACE_do.
|
|
|
|
|
| |
This way, we can improve QUrl parsing performance by avoiding
unnecessary copies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Made the toPunycodeHelper function write to a QString.
Renamed qt_from_ACE to qt_ACE_do to indicate what it actually
does. Added the STD3 rules for hostnames, forcing hostnames to have to
strictly comply to STD3. Also, execute nameprep in the correct order
(before trying to encode to Punycode).
Validate hostnames when QUrlPrivate::canonicalHost() called, including
validation of IP Literals. Validation of IPv4 is missing.
Adapted other functions to use qt_ACE_do, notably QUrl::toAce (avoid
code duplication).
|
|
|
|
| |
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
| |
|
|
|
|
|
|
|
|
| |
Using qglobal.h and checking the compiler version with the
preprocessor has the side-effect that moc won't generate proper code
since it doesn't know about the compiler version.
Enable both modules under Sun CC 5.9 and IBM xlC 7.0.
|
|
|
|
|
|
|
|
|
| |
qIsForwardIteratorEnd with QString
This is used in other places too, so move the definition to the
header.
Reviewed-By: Trust Me
|
|
|
|
|
|
|
|
|
|
| |
expansions.
parser/qmaintainingreader.cpp", line 175.40: 1540-0274 (S) The name lookup for "formatKeyword" did not find a declaration.
parser/qmaintainingreader.cpp", line 175.40: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.
Reviewed-By: Peter Hartmann
Reviewed-By: Frans Englich
|
|
|
|
|
|
|
| |
Make sure that the function is found properly. It can't be static, for
whatever reason.
Reviewed-By: Peter Hartmann
|
| |
|
|
|
|
|
|
| |
understand what to delete
Reviewed-By: Trust Me
|
|
|
|
| |
QWebSecurityOrigin and QWebDatabase.
|
|
|
|
|
|
|
|
| |
These compilers compile this code fine, but this warning shows up
*everywhere* when building Qt (or used to, since qstringlist.h
included qstringmatcher.h).
Move the structure definition to outside the union.
|
| |
|
| |
|
|
|
|
|
| |
We don't use all of them. I also changed the typedefs for the touch
related functions to follow the same naming convention.
|
|
|
|
|
|
| |
Feature define logic was wrong
Reviewed-by: Robert Griebl
|
|
|
|
|
| |
Don't use easing too much. Also add an explanation of what "ease in"
and "ease out" is.
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove some references to QAnimation. QAnimation does not exist.
* Clarify the documentation for QEasingCurve::Linear. (avoid "tweening"
and "no easing")
* In the diagrams, change "ease" to "value".
* Change the diagram generation code to use antialiased drawing
(just as we do in the easingcurve example)
Reviewed-by: leo
|
|
|
|
| |
reviewed-by: Kim Motoyoshi Kalland
|
| |
|
|
|
|
|
| |
Task-number: related to 253013
Reviewed-by: João Abecasis
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The reason was that ROLE_SYSTEM_IPADDRESS = 0x3F has been added to MSAA
at one point in time. (Can be found in recent versions of OleAcc.idl).
Since the MSAA bridge used a direct mapping between QAccessible::Role
and MSAA roles this lead to that LayeredPane was interpreted to be an
IP address edit control, affecting QStackedWidget (and some relatives).
This caused some screen readers to be confused when the
same accessible interface had children such as push buttons. I also
discussed this change with Harald.
Task-number: 257958
|
|
|
|
|
|
|
| |
They are expensive - which is why QImage::setALphaChannel had been
obsoleted in Qt 4.5.
Reviewed-by: Gunnar
|
|
|
|
|
|
|
|
|
|
|
| |
wich can not be stat'ed in a natural way.
FindFirstFile solves this problem.
Task-number: 167099
Task-number: 189202
Merge-request: 880
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Vista PNG format icons
Merge-request: 431
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Function setupGtkFileChooser is modified to optionally build a
map of GtkFileFilters. File dialog methods then use
gtk_file_chooser_get_filename to get the current GtkFileFilter
and look it up in the map produced by setupGtkFileChooser.
This value is then saved in the selectedFilter pointer.
Merge-request: 846
Reviewed-by: Jens Bache-Wiig <jbache@trolltech.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
Reviewed-by: trustme
|
|
|
|
| |
Reviewed-by: Joerg
|
|
|
|
| |
The base function was \internal pr private.
|