summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Show text even if maximum == 0Olivier Goffart2009-07-221-1/+1
|
* Support for very large range in QProgressBarOlivier Goffart2009-07-224-9/+8
| | | | | | Regression since my last commit. Task-number: 152227
* Simplify the computation of the QProgressBar progress.Olivier Goffart2009-07-223-8/+7
| | | | | | | This is also a work around for a bug in gcc on powerpc (embedded-linux) Task-number: 258358 Reviewed-by: jbache
* qdoc: Reported links to obsolete things that appear in non-obsolete things.Martin Smith2009-07-221-0/+3
| | | | Also marked the other QHttpXxx classes as \obsolete.
* delete incorrect documentationKent Hansen2009-07-221-12/+0
|
* Fix Warning saying that signal cannot be made virtualOlivier Goffart2009-07-221-11/+9
| | | | | | | | The test for virtual signal did not work. But we cannot make an error right now or it might break existing code (exemple in task 210879) Reviewed-by: Kent Hansen
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtRhys Weatherley2009-07-2250-601/+925
|\
| * Fixed compile with -qtnamespace and MSVC.Rohan McGovern2009-07-222-5/+8
| | | | | | | | | | When an extern function is declared in the scope of another function, MSVC sometimes ignores the enclosing namespace {}.
| * Fixed valgrind warnings related to sigaction from every testcase.Rohan McGovern2009-07-211-1/+1
| | | | | | | | Whoops, don't do sigaction for (nonexistent) signal 0.
| * Doc: documentation for boolean properties should say what happens whenVolker Hilsheimer2009-07-211-5/+7
| | | | | | | | the property is set, not what doesn't happen when the property is not set.
| * Doc: make potentially incorrect overloads obsolete.Volker Hilsheimer2009-07-212-3/+25
| | | | | | | | | | | | Also add additional overload. Reviewed-by: Andreas
| * Silence compiler warnings on shadowing of member functions.Volker Hilsheimer2009-07-211-11/+11
| |
| * Doc: document reimplementations of internal functions as internal.Volker Hilsheimer2009-07-214-8/+8
| |
| * Fixed opacity bug in the GL2 paint engine.Kim Motoyoshi Kalland2009-07-211-0/+1
| | | | | | | | | | | | | | When premultiplying a color with the opacity, the color's alpha channel was not set correcly. Reviewed-by: Tom
| * Fixed gradient bug in the GL2 paint engine.Kim Motoyoshi Kalland2009-07-211-3/+3
| | | | | | | | | | | | | | Texture filtering was set before binding the texture, so the gradient spread was not set correctly. Reviewed-by: Tom
| * Corrected the value of GL_MAX_SAMPLES_EXT.Kim Motoyoshi Kalland2009-07-211-1/+1
| | | | | | | | Reviewed-by: Tom
| * Fixed crash in the GL2 engine's texture glyph cache.Kim Motoyoshi Kalland2009-07-211-4/+12
| | | | | | | | Reviewed-by: Tom
| * Used QGLContextResource for the gradient cache in the GL2 paint engine.Kim Motoyoshi Kalland2009-07-213-30/+31
| | | | | | | | Reviewed-by: Tom
| * Fixed GL2 engine shader manager to work with more than one context.Kim Motoyoshi Kalland2009-07-216-63/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fixed inheritence of SVG 'use' element fill attributes.Kim Motoyoshi Kalland2009-07-213-28/+36
| | | | | | | | | | | | | | | | | | 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
| * Merge the memcpy with the lowercasing and the non-ASCII detection.Thiago Macieira2009-07-211-13/+17
| | | | | | | | | | This gives a 5% improvement in performance by avoiding iterating over the contents more than once.
| * Slight performance improvement by caching the label size.Thiago Macieira2009-07-211-7/+14
| |
| * Minor performance improvements in nameprepping.Thiago Macieira2009-07-212-25/+28
| | | | | | | | | | | | Avoid calling functions that may have other side effects, like QString::utf16(). Use pointers whenever possible when iterating over the string.
| * Fix bug in locating non-lowercase TLDs: must lowercase.Thiago Macieira2009-07-211-2/+6
| | | | | | | | | | Use qt_nameprep after all since it's extremely fast for ASCII only and it does in-place replacement.
| * One more improvement in QUrl: avoid an extra lowercasing step.Thiago Macieira2009-07-211-17/+13
| | | | | | | | | | | | | | 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.
| * Improve performance in QUrl parsing by doing in-line operations.Thiago Macieira2009-07-211-31/+32
| | | | | | | | | | | | 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)
| * Change qt_nameprep to do in-line namepreppingThiago Macieira2009-07-211-26/+24
| | | | | | | | This will allow to do less allocations in qt_ACE_do.
| * Add qt_string_normalize to do in-place Unicode normalization.Thiago Macieira2009-07-212-37/+37
| | | | | | | | | | This way, we can improve QUrl parsing performance by avoiding unnecessary copies.
| * Implement strict STD3 checking of hostnames in URLs.Thiago Macieira2009-07-211-69/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * Fix memory leak with wrapped eventsKent Hansen2009-07-211-0/+3
| | | | | | | | Reviewed-by: Eskil Abrahamsen Blomfeldt
| * Doc: More docu for the QPixmapCache::KeyVolker Hilsheimer2009-07-211-1/+13
| |
| * Use the configure script to enable/disable QtConcurrent and QtXmlPatternsThiago Macieira2009-07-211-18/+5
| | | | | | | | | | | | | | | | 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.
| * Fix compilation with xlC 7: the compiler tries to expand ↵Thiago Macieira2009-07-212-14/+14
| | | | | | | | | | | | | | | | | | qIsForwardIteratorEnd with QString This is used in other places too, so move the definition to the header. Reviewed-By: Trust Me
| * Fix compilation with xlC 7: the compiler doesn't find statics in template ↵Thiago Macieira2009-07-211-1/+2
| | | | | | | | | | | | | | | | | | | | 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
| * Fix compilation of QHash<QUrl, ...> with xlC 7.Thiago Macieira2009-07-211-11/+13
| | | | | | | | | | | | | | Make sure that the function is found properly. It can't be static, for whatever reason. Reviewed-By: Peter Hartmann
| * xlC 7 cannot compile QtConcurrent with these templates hereThiago Macieira2009-07-211-1/+1
| |
| * Fix compilation with xlC 7: the cast is necessary to get delete[] to ↵Thiago Macieira2009-07-211-1/+1
| | | | | | | | | | | | understand what to delete Reviewed-By: Trust Me
| * Doc: Updated link and a bit more documentation forVolker Hilsheimer2009-07-212-10/+26
| | | | | | | | QWebSecurityOrigin and QWebDatabase.
| * Fix warning with Sun CC 5.9 and xlC 7: no new types inside anonymous unions.Thiago Macieira2009-07-211-5/+6
| | | | | | | | | | | | | | | | 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.
| * There's no need to include qstringmatcher.h in qstringlist.hThiago Macieira2009-07-212-1/+1
| |
| * Disable visibility on CC 5.9 since the compiler doesn't like itThiago Macieira2009-07-211-1/+2
| |
| * Remove unused gesture related defines and structuresBradley T. Hughes2009-07-212-101/+56
| | | | | | | | | | We don't use all of them. I also changed the typedefs for the touch related functions to follow the same naming convention.
| * Compile with QT_NO_PROCESS or QT_NO_SETTINGSHarald Fernengel2009-07-211-3/+3
| | | | | | | | | | | | Feature define logic was wrong Reviewed-by: Robert Griebl
| * Try to express ourselves better in the explanation for the curve types.Jan-Arve Sæther2009-07-211-81/+84
| | | | | | | | | | Don't use easing too much. Also add an explanation of what "ease in" and "ease out" is.
| * Doc fixes to QEasingCurve.Jan-Arve Sæther2009-07-211-7/+8
| | | | | | | | | | | | | | | | | | | | | | * 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
| * Fix compiler warning about initialization orderhjk2009-07-211-2/+2
| | | | | | | | reviewed-by: Kim Motoyoshi Kalland
| * Compile fix with namespaced Qthjk2009-07-213-0/+12
| |
| * Fixes memory leak of global data.Denis Dzyubenko2009-07-211-1/+5
| | | | | | | | | | Task-number: related to 253013 Reviewed-by: João Abecasis
| * LayeredPane should not be reported as an IP address edit control to MSAAJan-Arve Sæther2009-07-212-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Doc: mark QImage/QPixmap alphaChannel and setAlphaChannel as obsolete.Volker Hilsheimer2009-07-212-41/+38
| | | | | | | | | | | | | | They are expensive - which is why QImage::setALphaChannel had been obsoleted in Qt 4.5. Reviewed-by: Gunnar