summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headersAkseli Salovaara2015-03-311-13/+13
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I7e3e96183e073877b46bc8071b2ccae19e69426b Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Updated year in copyright headerKai Koehne2014-03-261-1/+1
| | | | | | | | | | | | | | | | | | find . -path '*/3rdparty/*' -prune -o -type f -print | xargs -L1 sed -i -E 's/Copyright(.*) 2013 Digia/Copyright\1 2014 Digia/g' Manually patched files: demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h demos/spectrum/3rdparty/fftreal/fftreal_wrapper.cpp src/3rdparty/s60/eiksoftkeyimage.h tools/qdoc3/test/qt-project.qdocconf tests/auto/qsharedpointer/nontracked.h tests/auto/qsharedpointer/nontracked.cpp Change-Id: I3f9074923b4d6bd4666258ab04f01476cc6e901c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Backport some enum optimizations from Qt 5Alan Alpert2013-03-271-11/+33
| | | | | | | | | | | (backport of 108b9bbe2ff2f5f31525408a08d248499d95a49f in qtquick1) Saving the int when we check the enum is valid allows us to make it a literal assignment instead of a binding, which is much faster on object creation. Change-Id: Ieb174289438a17574c4716df372b04d4dee6d0db Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-131-1/+1
| | | | | | Change-Id: I52bf8ef0447b701b4ebf7d7d240013a72adb9425 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fix g++/MinGW compiler warnings.Friedemann Kleint2012-09-291-3/+3
| | | | | | | | | | - Assigned/Unused variables. - Unsigned comparison >= 0 is always true. - Constructor initialization order. - Signed/Unsigned comparisons. Change-Id: I1f9edab0506573420ed0bf3055252ba48625c8eb Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-291-24/+24
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I280c0a575987d1770e354b4948f1d4d767d711ea Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update contact information in license headers.Sergio Ahumada2012-08-011-2/+2
| | | | | | | | | | | | | - Replace Nokia contact email address with Qt Project website. - Remove "All rights reserved" line from license headers. As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Create property cache in case of Component{} rootAaron Kennedy2011-06-101-0/+6
| | | | | Change-Id: I36f969d09d8ce5e0b68b657b514586990e88ebe4 Task-number: QTBUG-19354
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Fix compilation on INTEGRITYRolland Dudemaine2011-02-221-17/+17
| | | | | | | "Value" and "Object" are reserved words on INTEGRITY Merge-request: 1101 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* Correct error messageAaron Kennedy2011-02-031-2/+10
| | | | Task-number: QTBUG-17091
* Implement property versioning inside the declarative engineAaron Kennedy2011-01-271-50/+124
| | | | Task-number: QTBUG-13451
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-191-1/+1
|\
| * Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | Support property/method versions in QMLMartin Jones2011-01-051-1/+16
| | | | | | | | | | | | | | | | Use metaobject revisioning to exclude properties/revisions added in later versions from interfering with earlier versions. Task-number: QTBUG-13451 Reviewed-by: Aaron Kennedy
* | Fix PropertyChange's binding rewriting for 'dot' properties.Michael Brasser2010-12-171-1/+1
| | | | | | | | | | | | | | For cases like PropertyChanges { font.pixelSize: myPixelSize } it was attempting to rewrite the function name as font.pixelSize, which is not syntactically correct. We now rewrite the function name as pixelSize.
* | Rewrite/cache bindings created by PropertyChanges.Michael Brasser2010-12-171-0/+29
| | | | | | | | | | | | | | This provides a significant optimization for initial evaluation of bindings specified in a PropertyChanges. Reviewed-by: Aaron Kennedy
* | QmlDebugger: Instantiation of deferred objects moved to the debugger engineChristiaan Janssen2010-12-101-5/+1
| | | | | | | | Reviewed-by: Kai Koehne
* | QmlDebugger: avoid deferring properties when compiling in a debug environmentChristiaan Janssen2010-12-091-1/+5
| | | | | | | | Reviewed-by: Kai Koehne
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2010-12-011-26/+93
|\ \ | |/
| * Improve consistency in handling of aliases, bindings and value typesAaron Kennedy2010-11-291-26/+93
| | | | | | | | Task-number: QTBUG-13719
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Yann Bodson2010-11-231-2/+0
|\ \ | |/
| * Don't leak QML compiled data objectsAaron Kennedy2010-11-191-2/+0
| | | | | | | | Task-number: QTBUG-14761
* | Optimize binding rewrites.Michael Brasser2010-11-191-1/+1
| | | | | | | | | | | | | | Use the existing AST rather than recreating it. Task-number: QTBUG-15331 Reviewed-by: Aaron Kennedy
* | Optimize test for sharable bindings.Michael Brasser2010-11-161-5/+2
| | | | | | | | Reviewed-by: Martin Jones
* | Treat easing.type: Easing.InOutQuad as a literal assignment, not bindingMichael Brasser2010-11-161-9/+25
|/ | | | | | | | This was already being done for most enum assignments, but wasn't being done for value types. This patch extends the optimization for enums in a value type. Reviewed-by: Martin Jones
* Optimization: Don't generate intermediate QDeclarativeComponent'sAaron Kennedy2010-10-141-4/+4
|
* Allow aliases to value type propertiesAaron Kennedy2010-10-081-4/+23
| | | | Task-number: QTBUG-14254
* Don't allow multiple values to be assigned to a singular propertyAaron Kennedy2010-10-081-0/+3
| | | | Task-number: QTBUG-14005
* Connect property alias change signals on useAaron Kennedy2010-10-071-2/+4
| | | | Task-number: QTBUG-14089
* Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-291-1/+1
| | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* If a type is registered under several names, share the attached property objectAaron Kennedy2010-09-281-1/+1
| | | | Task-number: QTBUG-13799
* Small cleanupAaron Kennedy2010-09-061-7/+5
|
* Don't modify the signal order on the second dynamic meta object passAaron Kennedy2010-09-031-4/+8
| | | | QTBUG-13374
* Ignore non-scriptable properties in QMLAaron Kennedy2010-08-311-3/+11
| | | | QTBUG-13043
* Don't double call classBegin()Aaron Kennedy2010-08-311-1/+1
| | | | QTBUG-13114
* Simplify type management codeAaron Kennedy2010-08-271-43/+32
|
* CleanupAaron Kennedy2010-08-271-4/+5
|
* Internal QML API cleanupAaron Kennedy2010-08-271-11/+7
|
* Remove some warningsMartin Jones2010-08-051-6/+9
| | | | Reviewed-by: Aaron Kennedy
* QtDeclarative: Give name to function bindings and signals.Olivier Goffart2010-07-281-0/+2
| | | | | | | | Currently, bindings and signals are annonymous javascript functions. If one give them a name, a proper name is then shown in the javascript debugger. Reviewed-by: Aaron Kennedy
* Fix QT_NO_DATESTRINGTasuku Suzuki2010-07-271-4/+4
| | | | | Merge-request: 730 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* QML: Let the debugger now the name of embedded functions within a QML functionOlivier Goffart2010-07-071-1/+1
| | | | | | | | | if you have stuff like Rectangle { function foo() {... } } We let QtScript, and hence the debugger know the function name. Reviewed-by: Roberto Raggi
* Make autotests work with qreal == float (in addition to double).Warwick Allison2010-07-021-2/+2
| | | | Task-number: QTBUG-11853
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-06-251-4/+17
|\
| * Allow custom parsers to handle attached propertiesAaron Kennedy2010-06-251-4/+9
| | | | | | | | QTBUG-11283
| * Disallow global object properties as property namesAaron Kennedy2010-06-251-0/+8
| | | | | | | | QTBUG-11605
* | Test ListElement type via type system, not string comparison.Warwick Allison2010-06-251-0/+12
|/ | | | | Task-number: QTBUG-11222 Reviewed-by: Aaron Kennedy
* Fix QT_NO_TEXTDATE compilation errors.Andreas Aardal Hanssen2010-05-311-0/+4
|\ | | | | | | | | Merge-request: 649 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>