aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Create a forwarding declarative module.Matthew Vogt2012-02-272-0/+34
| | | | | | | | | | | | | | | | | | | | The declarative module has been replaced by the qml module. To allow existing projects which depend on the old declarative module to build, add a new declarative module which forwards dependencies on to the new qml module. This module contains only redefinitions of old symbol names to their new replacements, and creates forwarding headers that include the replacement headers provided by the qml module. This is a temporary change to prevent breaking existing projects that depend on the declarative module. After clients have had an opportunity to update their code to the use the new interfaces, it can be removed. Task-number: QTBUG-23737 Change-Id: I3cec5ceec4f9725c258e3672360a05ea87d3ca2f Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Rename QDeclarative symbols to QQuick and QQmlMatthew Vogt2012-02-24642-16250/+16411
| | | | | | | | | | | | | Symbols beginning with QDeclarative are already exported by the quick1 module. Users can apply the bin/rename-qtdeclarative-symbols.sh script to modify client code using the previous names of the renamed symbols. Task-number: QTBUG-23737 Change-Id: Ifaa482663767634931e8711a8e9bf6e404859e66 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* QML_RUNTIME_TESTING should be disabled by default.Michael Brasser2012-02-231-1/+1
| | | | | Change-Id: I67e0dae6f21162b962c1ce4454dc3d82e4e40049 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Update number of reserved bits.Michael Brasser2012-02-231-1/+1
| | | | | Change-Id: I38e112c2493abd9ec79b97e6e28334a3ba66543c Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Remove the last sql dependency in declarativeMartin Jones2012-02-221-2/+1
| | | | | Change-Id: Ib2410e1b32e2cc5216d5fc9659bc45fb46a1da61 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* DebugMessageService: Remove unneeded dataAurindam Jana2012-02-221-1/+1
| | | | | | | Do not send version info of QMessageLogContext. Change-Id: I32dd4a548ee2b918e5d04dcdffd4d5545fd2f54f Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* CodeCoverage: Fixes regression.Caroline Chao2012-02-223-34/+11
| | | | | | | | | | | | | | | | Fixes segmentation fault introduced by qtbase change: 36f5cc848de2525 Coverage data are now saved in QTestLog::stopLogging. Also the current application name needs to be set for a quick test as well. Remove also code coverage call to installCodeCoverage from quicktest due to refactor of the code coverage setup in qtestlib. This should be less error-prone. See qtbase change: 949b7452e0d2402 Change-Id: I13566cc43dfb3af264d3b2be2e5f2617128f4801 Reviewed-by: Caroline Chao <caroline.chao@nokia.com>
* Positioners cleanupAlan Alpert2012-02-223-88/+100
| | | | | | | | Use qreal for positions and spacing instead of ints, and make the positionedItems list take care of filtering out invisible items. Change-Id: Icad93ad89c848e40a70bd7a9539bd810e27020df Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Doc improvements for positionersBea Lam2012-02-221-220/+161
| | | | | | | | | | | - Fix docs that say opacity changes can trigger an add transition since this is no longer the case - Be more clear about when the move transition is applied - Be more clear about which anchors are allowed/disallowed in which positioners - Add example to Positioner attached property Change-Id: I78417ac5b8eba1af5587955121b7fd4e2ca21169 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Whitespace fixes for positionersAlan Alpert2012-02-222-23/+23
| | | | | Change-Id: I53a8a023e218cd41b2c01a7c931c95edfbaee780 Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Reduce the size of QQuickTextInputPrivate.Andrew den Exter2012-02-223-110/+69
| | | | | | | | Remove some redundant or obsolete member and reorder members to minimise padding for alignment. Change-Id: I2660007baa07bea076e9ad307061af87c07e37cf Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* Implement String.localeCompare() using QString::localeAwareCompare()Martin Jones2012-02-223-0/+35
| | | | | | | | v8's localeCompare() implementation is not locale aware, so we use Qt's locale aware compare. Change-Id: Ia9092b3d6754545bb797adac26080ac7a29dcd92 Reviewed-by: Glenn Watson <glenn.watson@nokia.com>
* DebugMessageService: Also pass Debug Context InfoAurindam Jana2012-02-212-10/+18
| | | | | | | | Use QMessageHandler which provides context information such as line, file and function for the debug output. Change-Id: I475faf4a1363d8419dec910b8a23cc44666c1908 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* v8profiler: Actually submit dataKai Koehne2012-02-211-0/+2
| | | | | | | Fix regression introduced in 82dfecab3. Change-Id: Icd90c483b9b2fde8d4cf522f3a35368cd395b120 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Reduce size of QQuickItemPrivateAaron Kennedy2012-02-217-306/+363
| | | | | Change-Id: I02653536f68cfef3dfc06acaf30e2565a97dc194 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Release resources on shutdown..Gunnar Sletta2012-02-211-3/+11
| | | | | Change-Id: I7758f5ba1f58e19d92e394133cccd449ce5a1756 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Flicking a pathview with large delegate spacing is inconsistentMartin Jones2012-02-213-17/+92
| | | | | | | | | | | | The deceleration is inconsistent and dragging slowly is jerky. This was largely due to the poor resolution of the path points. pointAt() now interpolates, and the dragging logic is more accurate. Also removed the rounding of item positioning so that side-by-side items don't bounce around. Task-number: QTBUG-24312 Change-Id: I956aff0b83c3c1211d5657159c3de1e4ef0b5171 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* fix typo error in documentationCharles Yin2012-02-211-1/+1
| | | | | Change-Id: Ic3706b0920b8a50f994e0627bda6baf0fd04b81c Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Renames QAnimation2ChangeListener to QAnimationJobChangeListenerCharles Yin2012-02-215-11/+11
| | | | | Change-Id: I921b252380d095fb878b4e5d36df0b5a13a3888f Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Remove sql dependency from declarative.proCharles Yin2012-02-211-1/+1
| | | | | Change-Id: I43aa11e948a498796788587e03a699f121308d1b Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fix condition check against wrong variableBea Lam2012-02-211-1/+1
| | | | | Change-Id: I0857166e666e886077e4b0eda2d8b00b13f99ba6 Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Reduce the size of QTextPrivate.Andrew den Exter2012-02-213-83/+91
| | | | | | | | Remove some unnecessary members, store colors as QRgb values instead of QColor, and reorder members to minimise alignment padding. Change-Id: Id3958429008c97a5714734a529250fe881e2161b Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* cacheBuffer makes delegates appear briefly in wrong positionMartin Jones2012-02-211-0/+2
| | | | | | | | | Set delegates that are created asynchronously to non-visible. This would have happened the next time addVisibleItems() was called. Task-number: QTBUG-24364 Change-Id: I4b628bef186c8c41bd6a4d9e4ac402d59bcb4972 Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Remove the callback facility from context node.Justin McPherson2012-02-213-33/+3
| | | | | | | | | | | - It's not really necessary. - It's probably a mis-use of QSGNode::preprocess() - Because it triggers a race between object deletion in the main thread and preprocess() in the render thread. Change-Id: I51433f508db306aab53398f8c3d1d8c9d9e986fd Reviewed-by: Michael Brasser <michael.brasser@nokia.com> Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
* DeclarativeEngineDebugService: Fix CrashAurindam Jana2012-02-211-0/+13
| | | | | | | | Iterate through contents of QVariantMap to convert QObjects to streamable type. Change-Id: I2cb64a84aef674904de43f9a0c0fee539b87a59a Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Fix gcc compiler warnings.Friedemann Kleint2012-02-212-2/+3
| | | | | | Change-Id: I22d0a45bdcf68c454af0aab9fa62dd2d126d63c2 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com> Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Make compile.Michael Brasser2012-02-213-0/+3
| | | | | | | Fix compile after 054114a459580b71e170dc6bf356e8943d0ed068 in qtbase. Change-Id: Ibeea6b4b2e3c5f420446b15edd1df7bf88535dcd Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Remove commit headersAaron Kennedy2012-02-2053-53/+0
| | | | | | | | These were used when we were porting from QtQuick 1 to QtQuick 2 but are no longer necessary. Change-Id: I0eeb7e13b4affdd6ab6c6dddea760afcdf38ee4f Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Console API: Pass context information from js to qt logging frameworkKai Koehne2012-02-201-36/+87
| | | | | | | | Log the file, line, function context from the original calls in js. Also print the stack trace as part of one multi-line message. Change-Id: I53836df081f3ce06e9b52ebb647ba172ff6bdbef Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* Delete v8methods array at destructionAaron Kennedy2012-02-201-0/+1
| | | | | Change-Id: I6412ad352ad23db4100fffc9285532eb7e0b3a71 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Don't store source after script data is createdAaron Kennedy2012-02-202-6/+1
| | | | | Change-Id: I84fd61893db3578b80beb85b9a88ed325ea7584f Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Reduce memory by not calling QUrl::toString() multiple timesAaron Kennedy2012-02-2013-20/+52
| | | | | Change-Id: I57ce25f4e20cac048ff507a8c195b83adc30040d Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Don't store object and property in QDeclarativeAbstractBindingAaron Kennedy2012-02-2012-61/+175
| | | | | Change-Id: Ia164655f6329ec80dc466a1a3a5613a73e1c23ac Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Reduce size of QV8BindingsAaron Kennedy2012-02-206-44/+82
| | | | | Change-Id: I4bd8fed3f38aa358fb42e21b5cf19ff1aa61c138 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Reduce size of QDeclarativeJavaScriptExpressionAaron Kennedy2012-02-205-45/+78
| | | | | Change-Id: Ie1242d18ef10e5cbd9c1cab27c31ad3f6d9281fd Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Reduce size of QV8Bindings::BindingAaron Kennedy2012-02-203-38/+46
| | | | | | | Use the instruction ptr instead of copying data Change-Id: I2e9c8ce2fcf5d664ac98d8d58b5733b60e8bf548 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Reduce the size of QDeclarativeAbstractBindingAaron Kennedy2012-02-202-10/+21
| | | | | | | | The weak pointer in every binding is rarely used, so we can store it in the same memory as the me ptr. Change-Id: I3ce7d767fa25cf5b6e6d30c4f022d0e94fc3ffbb Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Reduce the size of QDeclarative*ExpressionAaron Kennedy2012-02-209-94/+225
| | | | | | | | Reduces the size of QDeclarativeAbstractExpression and QDeclarativeJavaScriptExpression. Change-Id: I39386e5a45f8bd12bfb2d80b47dfec37f2f05479 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Update ftw classesAaron Kennedy2012-02-205-9/+695
| | | | | | | This is for the benefit of subsequent changes. Change-Id: Ib494efb1474d069c067194008c9832653d5d8eb4 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Fix Screen::AngleBetweenAlan Alpert2012-02-202-3/+6
| | | | | | | | | | | Enum values in invokables don't worry currently, so use ints. Also AngleBetween is no longer static, so it has to be initialized before the function can be used. Change-Id: I4a6748fef6920bab6f08f22ce68911c3af6ce821 Reviewed-by: Martin Jones <martin.jones@nokia.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Added QSGRenderNode class.Kim Motoyoshi Kalland2012-02-2011-164/+576
| | | | | Change-Id: I8c903cae490158b864af60f53c10c10f2faea7c0 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Use Utf8 for javascript source codeAaron Kennedy2012-02-2015-41/+170
| | | | | | | This saves a surprising amount of memory. Change-Id: I16f7bde8d11fe11703d4e441060fd52e9632248c Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Use the existing endpoint object to connect alias notify signalsAaron Kennedy2012-02-201-17/+17
| | | | | Change-Id: I891ea5e3854a4fc92ba59e98417ad72774bd7adb Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Reduce size of QDeclarativePropertyDataAaron Kennedy2012-02-202-23/+29
| | | | | | | | Accessors cannot overload properties and are not available on value types so can be safely union'd together. Change-Id: Iae34f8b2935d010ca43365238a7514c0e26953f0 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Use an enum rather than a string to represent state event types.Michael Brasser2012-02-2010-27/+23
| | | | | Change-Id: Iad230b610f35b1c1faa6ce60615551f293d4745d Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Improve test coverage for AnchorChanges.Michael Brasser2012-02-201-7/+0
| | | | | Change-Id: If6d62febed093a07d75a6125a920aac628c35e54 Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* Take QDeclarativeTransition::enabled() into accountBea Lam2012-02-174-51/+61
| | | | | | | Don't run transitions if enabled() is false Change-Id: I1df5479f8415b12837df8d54aa3902e072c73037 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Add velocity data to TouchPointMichael Brasser2012-02-172-0/+20
| | | | | Change-Id: I0555b3ad41e8c08563188e1ba9190e54d4bb3784 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Make QLocale::uiLanguages() available in Qt.locale() objectMartin Jones2012-02-171-0/+25
| | | | | | | Available as uiLanguages property returning an array of strings. Change-Id: Ic698bbaff2eb0f9f6720ae06952c12a987298964 Reviewed-by: Glenn Watson <glenn.watson@nokia.com>
* Remove QAccessibleInterface::navigate()Jan-Arve Saether2012-02-174-19/+0
| | | | | | | | Hierarchical navigation has been moved to parent() and child(), relationships have been moved to relations() Change-Id: I4313eb3a6ed8b4812a347bb27b4d62f4f62ee9d5 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>