summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Don't seg-fault when printing error message in shader managerTom Cooksey2009-09-011-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's very likely that some of the shader objects in required program will be null, as not all are manditory. Check to see if they exist before de-referencing them and asking for their log string. Reviewed-by: Trustme
| * | | | | | Merge branch '4.5' into 4.6Thiago Macieira2009-09-014-24/+32
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/network/access/qnetworkaccessbackend.cpp src/network/access/qnetworkreplyimpl.cpp tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
| | * | | | | Re-add check for saving to cache, which was removed by accident.Thiago Macieira2009-09-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Discussed with Ben Meyer.
| | * | | | | QNetworkAccessManager can delete the QAbstractNetworkCache pointer atBenjamin C Meyer2009-09-014-21/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | any point. Rather then keep a separate pointer to the cache in the reply use the pointer kept by the manager so the reply never tries to access a cache pointer that has already been deleted. Autotest: included Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| | * | | | | Initialize QNetworkAccessBackend's private variables to 0 in the constructorBenjamin C Meyer2009-09-011-2/+7
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and when creating a CacheBackend set the manager pointer. Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| * | | | | QNAM HTTP Code: Removed unnecessary legacy loopMarkus Goetz2009-09-011-23/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thank you Coverity! Thank you Biochemist! Reviewed-by: joao
| * | | | | Speed-up parsing of SVG path data.Ariya Hidayat2009-09-011-117/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using operations that shuffle the array of numbers, just use pointer to iterate the numbers. This reduced the amount of memory operations during the parsing. In addition, parse the numbers to QVarLengthArray instead of QVector. This works well because usually a path element is typically followed by a short list of numbers. Loading tiger.svg (tests/benchmarks/qsvgrenderer) is now 8% faster, mostly due to the time spent in parsePathDataFast is reduced from 26.1 millions instructions to just 20.5 millions (27% speed-up). Reviewed-by: Kim
| * | | | | Use QStringRef when parsing SVG transformation matrix.Ariya Hidayat2009-09-011-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is really no need to use QString for parsing the matrix, hence use QStringRef. In a complex SVG, this cuts significantly the time spent in parseTransform(). Reviewed-by: Kim
| * | | | | Doc: Fixed typos in QGraphicsItem and Diagram Scene ExampleGeir Vattekar2009-09-011-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: 257292 Reviewed-by: Trust Me
| * | | | | Doc: Fixed outdated docs in QStyle::styleHint().Geir Vattekar2009-09-011-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: 256745 Reviewed-by: Trust Me
| * | | | | Unambiguated QGLFramebufferObject constructor on Mac OS X.Samuel Rødal2009-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trond
| * | | | | Define QT_NO_EXCEPTIONS if we detect that we are building without exceptions ↵Olivier Goffart2009-09-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on gcc This is necessary to compile applications that are compiled without exception support (many KDE applications) Reviewed-by: Thiago
| * | | | | QtNetwork: More Coverity fixesMarkus Goetz2009-09-013-1/+9
| | | | | |
| * | | | | Create exceptionCatch eventsJedrzej Nowacki2009-09-013-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call to JSC::Debugger::exceptionCatch when exception is catched were added for JIT enabled. Few XFAIL were moved. Reviewed-by: Kent Hansen
| * | | | | Fix column number in QScriptEngineAgentJedrzej Nowacki2009-09-011-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix column number in QScriptEngineAgent with JIT enabled and in the same time with QT_BUILD_SCRIPT_LIB disabled Reviewed-by: Kent Hansen
| * | | | | QTreeView: exapnding nodes just after replacing the model wouldn't workThierry Bastian2009-09-012-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that deleting the previous model would triggera delayed reset. This reset could happen after the model has changed and nodes are expanded. We can now cancel a reset when reset is called from another place (like when we set a new model). Note: autotest included Task-number: 245654 Reviewed-by: ogoffart
| * | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6David Boddie2009-09-011-4/+13
| |\ \ \ \ \
| | * | | | | Socket code: Do not use magic buffer size valueMarkus Goetz2009-09-011-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have seen a performance increase of around 30% for big file transfers on Linux when having high bandwidth and higher latency. Reviewed-by: Thiago
| * | | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6David Boddie2009-09-018-19/+37
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Coverity: Small fix for QIODeviceMarkus Goetz2009-09-011-1/+6
| | | | | | |
| | * | | | | Fix rounding bug in QGraphicsOpacityEffect.Bjørn Erik Nilsen2009-09-011-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The pixmap was painted at wrong offset.
| | * | | | | Make sure the BSP is updated when a graphics effect changes bounding rect.Bjørn Erik Nilsen2009-09-014-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of applying an effect to a QGraphicsItem, we have to notify the scene's BSP that the item's bounding rect has changed. We do this by calling prepareGeometryChange(). In the case of QWidget, it's sub-optimal that we update its parent, but there's no other way to solve it at the moment.
| | * | | | | Fix reversed progress bars on VistaJens Bache-Wiig2009-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This issue seems to be caused by change a6782030 and was caused by incorrectly applying paranthesis to the expression. Task-number: 259515 Reviewed-by: joao
| | * | | | | Make QIconloader use resource directory as fallbackJens Bache-Wiig2009-08-112-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using different paths on Mac and Windows we now simply use ":\icons" on all platforms. It is a little more effort to create resources but it is certainly the Qt way to do it. :) Reviewed-by: ogoffart
| * | | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6David Boddie2009-09-0171-1107/+2000
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | fix Windows CE compile failure in qatomic_windows.hJoerg Bornemann2009-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: joao
| | * | | | | Fixes the gif plugin's rendering for some animated gif files.Pierre Rossi2009-09-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of optimized animated gifs, we don't want to discard the contents of the previous frame, this is handled if needed in the disposal process. Task-number: 247365 Reviewed-by: Samuel
| | * | | | | Fixed toImage() not working on a multisample QGLFramebufferObject.Samuel Rødal2009-09-011-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need to blit into a regular QGLFramebufferObject first to force a multisample resolve. Reviewed-by: Trond
| | * | | | | Fixed QGLFramebufferObject::toImage() releasing the FBO if bound.Samuel Rødal2009-09-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trond
| | * | | | | Compilation fixes for Windows CE on ARMJoão Abecasis2009-09-011-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My earlier cleanup/refactoring of qatomic_windows.h broke things on this platform. Should be fixed now. Reviewed-by: Joerg Bornemann
| | * | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Geir Vattekar2009-09-012-2/+61
| | |\ \ \ \ \
| | | * | | | | QGraphicsDropShadowEffect convenience; setXOffset() and setYOffset().Bjørn Erik Nilsen2009-09-012-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Andreas
| | | * | | | | Make sure graphics effects updates properly when changing their properties.Bjørn Erik Nilsen2009-09-012-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Leo
| | * | | | | | Doc: Said what happens when setFocus() is called on a widget in anGeir Vattekar2009-09-011-0/+2
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inactive window. Task-number: 78707 Reviewed-by: Morten Engvoldsen
| | * | | | | Fixed warnings (just 2 Q_Q() that are not used any moreThierry Bastian2009-09-011-2/+0
| | | | | | |
| | * | | | | QMargins doesn't need to be exported as it is fully inlineThierry Bastian2009-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: ogoffart
| | * | | | | Fix compile error for WinCEPrasanth Ullattil2009-09-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not use LockWindowUpdate() in Win CE Reviewed-by: Trust Me
| | * | | | | Microoptimizations in QCleanLooksStyleThorbjørn Lindeijer2009-09-011-140/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shaved 4K off the size of a release build of libQtGui. Reviewed-by: Jens Bache-Wiig
| | * | | | | doc: Also mention HSLThorbjørn Lindeijer2009-09-011-1/+1
| | | | | | |
| | * | | | | QNAM HTTP Code: Pipelining used queue from wrong sideMarkus Goetz2009-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do it as it was done in dequeueAndSendRequest. Reviewed-by: TrustMe
| | * | | | | Fixed poor utilization of depth buffer range in GL 2 paint engine.Samuel Rødal2009-09-012-29/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this patch we were only able to do 20 or so IntersectClips before failing, this patch instead adapts to the fixed point nature of typical depth buffer implementations and lets us do ~2^15 IntersectClip operations before failing, which should be a reasonable limit for any real-world application. Using the following mapping of old floating point depths to integer depths: -1.0 -> 0, -0.5 -> 1, 0.0 -> 2, 0.25 -> 3, 0.5 -> 4, 0.625 -> 5, etc.. Reviewed-by: Tom
| | * | | | | Reduce the flickering caused by QAxClientSite::EnableModelessPrasanth Ullattil2009-09-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lock the updates during this call from the activex control. Task-number: 257593 Reviewed-by: Trust Me
| | * | | | | qlist.h uses memcpy() without including <string.h> or <cstring>Bernhard Rosenkraenzer2009-09-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempting to make use of the inlined QList::node_copy without including <string.h> or <cstring> with gcc 4.4 results in (e.g.) /usr/lib64/qt4/include/QtCore/qlist.h: In member function "void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = net::Port]": /usr/lib64/qt4/include/QtCore/qlist.h:600: instantiated from "void QList<T>::detach_helper() [with T = net::Port]" /usr/lib64/qt4/include/QtCore/qlist.h:121: instantiated from "void QList<T>::detach() [with T = net::Port]" /usr/lib64/qt4/include/QtCore/qlist.h:462: instantiated from "void QList<T>::append(const T&) [with T = net::Port]" /usr/src/ark/BUILD/kdenetwork/kget/transfer-plugins/bittorrent/libbtcore/net/portlist.cpp:54: instantiated from here /usr/lib64/qt4/include/QtCore/qlist.h:388: error: "memcpy" was not declared in this scope Task-number: reported, but not yet assigned a number Merge-request: 1388 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| | * | | | | Merge branch '4.6' of git:qt/qt into 4.6Thiago Macieira2009-09-011-3/+3
| | |\ \ \ \ \
| | | * | | | | QSslCertificate: fix previous patch, add autotest and documentationPeter Hartmann2009-09-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The +1 must be added to the version, not the serial number. Reviewed-by: trustme
| | * | | | | | Merge branch '4.6' of git:qt/qt into 4.6Thiago Macieira2009-09-0127-165/+293
| | |\ \ \ \ \ \ | | | |/ / / / /
| | | * | | | | QSslCertificate: Add + 1 to serialNumberRaul Metsma2009-09-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: 1383 Reviewed-by: Peter Hartmann <peter.hartmann@trolltech.com>
| | | * | | | | Implement QSslCertificate::version() and QSslCertificate::serialNumber()Raul Metsma2009-09-013-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: 251830 Merge-request: 1383 Reviewed-by: Peter Hartmann <peter.hartmann@trolltech.com>
| | | * | | | | QMetaObject::normalizeType: fix out-of-bound access.Olivier Goffart2009-09-011-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As reported in merge request 1375 Also use QVarLenghtArray instead of manually allocated char* Reviewed-by: Thierry
| | | * | | | | doc: Fixed several qdoc errors.Martin Smith2009-09-012-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also removed four function declarations from QMargins that had no definitions.