summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve test coverage for declarative module.Michael Brasser2010-10-049-4/+76
| | | | Add additional autotests, and remove unreachable functions.
* Avoid potential null dereference.Martin Jones2010-10-042-2/+2
| | | | Task-number: QT-4030
* Add autotest for reserved words in QML.Michael Brasser2010-10-041-0/+76
|
* Prevent crash in XmlListModel when appending an empty role.Michael Brasser2010-10-043-1/+19
|
* Remove unused, unexported class.Michael Brasser2010-10-043-260/+0
|
* Fix clipping behavior for non-cached text.Michael Brasser2010-10-042-2/+1
|
* CompileAaron Kennedy2010-10-042-0/+55
| | | | Task-number: QTBUG-14050
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-10-0128-85/+470
|\ | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Only cache textlayout in paint engines that support transformations QmlDebugService: Fix compiler warning about cast from ascii Qt.openUrlExternally should resolve relative URLs. Doc: add missing image. Doc: typographical and spelling errors. Doc: remove unfinished and confusing mention to focus panels. Apply the QStaticText text-caching strategy for QML Documentation: input to Qt.rgba should be from 0-1, not 0-255.
| * Only cache textlayout in paint engines that support transformationsAaron Kennedy2010-10-011-1/+6
| | | | | | | | Task-number: QTBUG-14050
| * QmlDebugService: Fix compiler warning about cast from asciiKai Koehne2010-10-011-2/+2
| |
| * Qt.openUrlExternally should resolve relative URLs.Michael Brasser2010-10-015-9/+58
| | | | | | | | Reviewed-by: Aaron Kennedy
| * Doc: add missing image.Yann Bodson2010-10-012-7/+7
| |
| * Doc: typographical and spelling errors.Yann Bodson2010-10-0114-28/+28
| |
| * Doc: remove unfinished and confusing mention to focus panels.Yann Bodson2010-10-011-10/+0
| |
| * Apply the QStaticText text-caching strategy for QMLAaron Kennedy2010-10-016-28/+369
| | | | | | | | | | | | | | | | | | | | | | | | QML cannot use QStaticText directly as it doesn't support caching a QTextLayout. QDeclarativeTextLayout is basically a copy of QStaticText that adds this support. Currently this feature is disabled by default (enable with QML_DISABLE_IMAGE_CACHE=1) while we double check the perf consequences of this change. Task-number: QTBUG-14050
| * Documentation: input to Qt.rgba should be from 0-1, not 0-255.Michael Brasser2010-10-011-1/+1
| |
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-10-0115-3/+6514
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: (23 commits) hybrid heap improvement in the disabling of BTrace Further hybrid heap review changes hybrid heap further review changes lower case name for allocator support header hybrid allocator integration review updates hybrid allocator tuning removing need for u32std.h in s60main declaring fast allocation shrink hysteresis value fast allocator compiling for S60 3.2 moved fast allocator config to qt_hybridHeap_symbian_p.h getting fast allocator to compile on S60 5.0 SDK removing header use not in public SDKs added header to arch.pri added renamed header new allocator tidy up and winscw freeze Qt apps to use the Symbian^4 fast allocator in pre-Symbian^4 platforms Enable call stack tracing of allocs, for memory leak debugging Fix BTRACE logging Implement RNewAllocator::Available for Doug Lea section Fill in some of the missing functions ...
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-10-0115-3/+6514
| |\ |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: (23 commits) hybrid heap improvement in the disabling of BTrace Further hybrid heap review changes hybrid heap further review changes lower case name for allocator support header hybrid allocator integration review updates hybrid allocator tuning removing need for u32std.h in s60main declaring fast allocation shrink hysteresis value fast allocator compiling for S60 3.2 moved fast allocator config to qt_hybridHeap_symbian_p.h getting fast allocator to compile on S60 5.0 SDK removing header use not in public SDKs added header to arch.pri added renamed header new allocator tidy up and winscw freeze Qt apps to use the Symbian^4 fast allocator in pre-Symbian^4 platforms Enable call stack tracing of allocs, for memory leak debugging Fix BTRACE logging Implement RNewAllocator::Available for Doug Lea section Fill in some of the missing functions ...
| * hybrid heap improvement in the disabling of BTracemread2010-09-302-9/+1
| | | | | | | | | | | | | | | | Using an inline function for noBTrace() which can be optimised to nothing. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * Further hybrid heap review changesmread2010-09-301-2/+1
| | | | | | | | | | | | | | this time, adding a comment to explain a performance improvement Task-number: QT-3967 Reviewed-by: Shane Kearns
| * hybrid heap further review changesmread2010-09-303-18/+14
| | | | | | | | | | | | | | | | | | changing the way enums are declared and used. commenting and restricting export macro changes. improved flagging Task-number: QT-3967 Reviewed-by: Shane Kearns
| * lower case name for allocator support headermread2010-09-301-0/+0
| | | | | | | | | | | | | | Using lower case name, as recommended by review comment Task-number: QT-3967 Reviewed-by: Shane Kearns
| * hybrid allocator integration review updatesmread2010-09-304-12/+14
| | | | | | | | | | | | | | | | Disabling BTrace use in the heap checking macros without disabling any of the rest of the heap checking functionality. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * hybrid allocator tuningmread2010-09-302-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set various pragmas and defines to tune the hybrid allocator. Performance test was the time takes to allocate or deallocate as appropriate 1,000,000 times from a set of 100,000 pointers, selected at random, with sizes generated randomly with min 2, max 5960, avg 46. The function was exp(8 - log(2 + rand(0..1023))) * rand(1 or 4). The following parameters were chosen: * pragma arm, for ~1.2% * pragma Otime, for ~3% * pragma O2, already the compiler default, just to be sure * all possible slab sizes enabled, for ~1% NB Disabling BTrace would also gain ~1.5%, but that seems like a bad thing to do. Not done. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * removing need for u32std.h in s60mainmread2010-09-301-1/+2
| | | | | | | | | | | | | | | | | | | | newallocator_hook.cpp had #include <u32std.h> for the definition of SStdEpocThreadCreateInfo. This header is not available in earlier S60 platforms. But we do not need the full definition of SStdEpocThreadCreateInfo, so a forward declaration is used instead. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * declaring fast allocation shrink hysteresis valuemread2010-09-301-0/+2
| | | | | | | | | | | | | | | | | | The allocator code copied from 10.1 would have no default value set for KHeapShrinkHysRatio, since it's no longer a patchable constant. This change gives it a value of 0x800, to be tuned for performance. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * fast allocator compiling for S60 3.2mread2010-09-304-4/+19
| | | | | | | | | | | | | | | | The fast allocator on S60 3.2 can't use TChunkCreateInfo. Instead, RChunk::CreateDisconnectedLocal() has to be used Task-number: QT-3967 Reviewed-by: Shane Kearns
| * moved fast allocator config to qt_hybridHeap_symbian_p.hmread2010-09-302-6/+6
| | | | | | | | | | | | | | | | | | The fast allocator switch was in qglobal.h, which is unnessarily global. Instead it has been moved to qt_hybridHeap_symbian_p.h, where is has the minimum visibility required. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * getting fast allocator to compile on S60 5.0 SDKmread2010-09-306-14/+110
| | | | | | | | | | | | | | | | This change adds flagging and definitions necessary to get the fast allocator compiling on 5.0 Task-number: QT-3967 Reviewed-by: Shane Kearns
| * removing header use not in public SDKsmread2010-09-301-1/+5
| | | | | | | | | | | | | | | | u32exec.h was not available in the symbian^3 SDK, so it has been removed and other necessary headers are added. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * added header to arch.primread2010-09-301-1/+2
| | | | | | | | | | | | | | qt_hybridHeap_symbian_p.h was missing from arch.pri, added. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * added renamed headermread2010-09-301-0/+77
| | | | | | | | | | | | | | | | | | qt_hybridHeap_symbian_p.h was renamed from qt_hybridHeap_symbian.h to make it clear that it's private/internal. But it hadn't been added to git. Now it is. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * new allocator tidy up and winscw freezemread2010-09-307-87/+13
| | | | | | | | | | | | | | | | | | renamed headers diabaled new allocator for winscw builds, and froze the heap creation export Task-number: QT-3967 Reviewed-by: Shane Kearns
| * Qt apps to use the Symbian^4 fast allocator in pre-Symbian^4 platformsmread2010-09-3015-3618/+5626
| | | | | | | | | | | | | | | | | | The hybrid heap allocator has been copied from Symbian^4 (MCL wk36 initially) and is installed by qtmain.lib as the initial allocator for Qt apps. Task-number: QT-3967 Reviewed-by: Shane Kearns
| * Enable call stack tracing of allocs, for memory leak debuggingShane Kearns2010-09-303-21/+55
| | | | | | | | | | Task-number: QT-3967 Reviewed-by: mread
| * Fix BTRACE loggingShane Kearns2010-09-302-112/+77
| | | | | | | | | | Task-number: QT-3967 Reviewed-by: mread
| * Implement RNewAllocator::Available for Doug Lea sectionShane Kearns2010-09-302-7/+11
| | | | | | | | | | Task-number: QT-3967 Reviewed-by: mread
| * Fill in some of the missing functionsShane Kearns2010-09-301-5/+24
| | | | | | | | | | Task-number: QT-3967 Reviewed-by: mread
| * Fix bug where negative numbers are cast to unsigned and added as an offsetShane Kearns2010-09-301-1/+1
| | | | | | | | | | | | | | It worked, but relied on integer overflow and casting behaviour Task-number: QT-3967 Reviewed-by: mread
| * Code cleanupShane Kearns2010-09-304-19/+22
| | | | | | | | | | Task-number: QT-3967 Reviewed-by: mread
| * Add the new allocator to corelibShane Kearns2010-09-307-2/+4361
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New export in corelib that is called from the qtmain wrapper to setup the thread heap. This allows 7k of code to be shared, and makes it easier to disable or upgrade the allocator in future releases Task-number: QTBUG-4895 Enable new allocator by default Rename of headers as _p.h to avoid syncqt adding them to applications move inline functions from .inl -> .h, document & rename macros remove #if 0 from the dla header, implement getpagesize properly squashed after sanitisation Task-number: QT-3967 Reviewed-by: mread
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-09-301144-2042/+2831
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (31 commits) QDeclarativeDebug: Make autotests more robust Add sendParentChangeNotification to QGraphicsItem Use setParentItem() instead of setParentItemHelper if componentComplete is true QDeclarativeDebugClient: Make sure status is consistent Revert "QDeclarativeDebugService: Add bc autotest" to get changes through staging. Doc clarification. Fallback to A8 text rendering on Mac when LCD smoothing is disabled Recreate Qt 4.7 branch QtDeclarative def files on top of changes made to Qt 4.7.1 Autotest that new "import Qt 4.7"s aren't added accidentally Document "import QtQuick 1.0" change Replace "import Qt 4.7" with "import QtQuick 1.0" Add test for Qt 4.7 module Replace all occurances of "Qt 4.7" with "QtQuick 1.0" Correct property type of PathAttribute::value in the docs. Register QtQuick 1.0 module. Remove unused AST node destructors. Fix crash when trying to append a null transform to QDeclarativeItem. Documentation. Documentation fix for Flickable (mark content properties as real, not int). QDeclarativeDebugClient: Fix gcc warning ...
| * | QDeclarativeDebug: Make autotests more robustKai Koehne2010-09-304-13/+14
| | | | | | | | | | | | | | | | | | | | | Always flush sockets after sending data, and make autotests more robust by using busy wait. Reviewed-by: Christiaan Janssen
| * | Add sendParentChangeNotification to QGraphicsItemMarco Bubke2010-09-302-4/+16
| | | | | | | | | | | | | | | | | | | | | Fixes crash in creator. If flag is true notifications are sent. It is important that positioners work correctly and don't leak. Reviewed-By: Alexis Menard
| * | Use setParentItem() instead of setParentItemHelper if componentComplete is trueMarco Bubke2010-09-302-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that if the component has already been completed, itemChange() is called. This is required to modify QDeclarativePositions in the visual editor, while keeping a legal state. Without this patch notifications are missing and the Positioner keeps track of already deleted children. This resulted in a crash. Reviewed-by: Thomas Hartmann
| * | QDeclarativeDebugClient: Make sure status is consistentKai Koehne2010-09-303-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | When statusChanged() is called during handsake state() was not the same as the argument passed. Fix this by setting gotHello = true _before_ notifying the clients. Reviewed-by: Christiaan Janssen Task-number: QTBUG-14087
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-09-301142-2030/+2776
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (27 commits) Revert "QDeclarativeDebugService: Add bc autotest" to get changes through staging. Doc clarification. Fallback to A8 text rendering on Mac when LCD smoothing is disabled Recreate Qt 4.7 branch QtDeclarative def files on top of changes made to Qt 4.7.1 Autotest that new "import Qt 4.7"s aren't added accidentally Document "import QtQuick 1.0" change Replace "import Qt 4.7" with "import QtQuick 1.0" Add test for Qt 4.7 module Replace all occurances of "Qt 4.7" with "QtQuick 1.0" Correct property type of PathAttribute::value in the docs. Register QtQuick 1.0 module. Remove unused AST node destructors. Fix crash when trying to append a null transform to QDeclarativeItem. Documentation. Documentation fix for Flickable (mark content properties as real, not int). QDeclarativeDebugClient: Fix gcc warning QmlDebugService: Check that there is a receiver before sending messages If a type is registered under several names, share the attached property object QmlViewer: Fix typo in comment QmlViewer: Fix assert on exit (Windows) ...
| | * | Revert "QDeclarativeDebugService: Add bc autotest" to get changes through ↵Joona Petrell2010-09-303-95/+2
| | | | | | | | | | | | | | | | | | | | | | | | staging. This reverts commit 31dcf2b4028b1f76301fc69fccff0a9474a0a135.
| | * | Doc clarification.Michael Brasser2010-09-301-0/+2
| | | | | | | | | | | | | | | | Task-number: QTBUG-14053
| | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-09-292-181/+269
| | |\ \