aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/ftw
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of QDeclarativeUtilsKent Hansen2011-09-192-92/+0
| | | | | | | | | | | All the QChar methods needed by QtDeclarative have now been optimized to achieve at least as good performance as the QDeclarativeUtils versions. Change-Id: I5b8dd58f9b597f716b53563d07d39d894c5dd666 Reviewed-on: http://codereview.qt-project.org/5059 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Merge branch 'master' into refactorGunnar Sletta2011-09-125-71/+75
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/declarative/cppextensions/qwidgets/qwidgets.pro examples/declarative/minehunt/main.cpp examples/declarative/minehunt/minehunt.pro src/declarative/items/context2d/qsgcontext2d.cpp src/declarative/items/qsgflickable.cpp src/declarative/items/qsgtextedit.cpp src/declarative/items/qsgtextinput.cpp src/declarative/particles/qsgangleddirection.cpp src/declarative/particles/qsgcumulativedirection.cpp src/declarative/particles/qsgcumulativedirection_p.h src/declarative/particles/qsgfollowemitter.cpp src/declarative/particles/qsgmodelparticle.cpp src/declarative/particles/qsgparticlesystem.cpp src/qtquick1/util/qdeclarativeview.h tests/auto/declarative/examples/examples.pro tests/auto/declarative/qsgfocusscope/tst_qsgfocusscope.cpp Change-Id: Ib4be2a5e742dee1a399d73da97161736f77448e5
| * Fix missing and outdated license headers.Jason McDonald2011-09-094-68/+68
| | | | | | | | | | | | Change-Id: I940ced2e84a86daabc5158d348b05b7532cb1c22 Reviewed-on: http://codereview.qt-project.org/4314 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
| * Allow reference to signals using 'on' handler syntax.Michael Brasser2011-09-011-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | This will allow APIs like the following: trigger: mouseArea.onClicked However, signal handlers will not be callable from QML: mouseArea.onClicked() //throws exception Change-Id: I2ef5cb4e1f3ed4814ef590962391e1b14e3f0c43 Reviewed-on: http://codereview.qt.nokia.com/3683 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* | Fix export symbols for QtDeclarative and QtQuick1.Friedemann Kleint2011-08-313-4/+5
|/ | | | | | | | | | | Fix build on Windows and compiler warnings. Requires 090ee21eac7257644422e35395194e5fd7fb8efa in qtbase. Change-Id: Ief8da504ccd3e2c2e78644cc9943d685c4302019 Reviewed-on: http://codereview.qt.nokia.com/3988 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Fix wrong assertion in StringRef::load.Roberto Raggi2011-08-301-1/+1
| | | | | | | Change-Id: Ib39804b87027bda8cc6694b26e98e18bbc3a159f Reviewed-on: http://codereview.qt.nokia.com/3798 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Fix comparison.Roberto Raggi2011-08-301-1/+1
| | | | | | | Change-Id: I58ae5237f3458ee4bada89d1d676645e575d681f Reviewed-on: http://codereview.qt.nokia.com/3777 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Reduce allocationsAaron Kennedy2011-08-301-0/+40
| | | | | | Change-Id: I230424147ad195239d725359fcd6dc5568f102a7 Reviewed-on: http://codereview.qt.nokia.com/3772 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Optimize default property resolution in compilerAaron Kennedy2011-08-303-0/+70
| | | | | | Change-Id: I90b677a190c0c59ba681a7643a9b13cfb938d5a1 Reviewed-on: http://codereview.qt.nokia.com/3769 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Introduce QHashField for use in "contains" tests.Aaron Kennedy2011-08-302-0/+121
| | | | | | Change-Id: I35aadace15b71b44c1b9e30a76eadf79fe03afad Reviewed-on: http://codereview.qt.nokia.com/3767 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Calculate the hash inside QHashedStringAaron Kennedy2011-08-301-3/+89
| | | | | | | | | This avoids calling into V8 to calculate the hash. This improves performance and removes the dependency on V8. Change-Id: I8ccb405cba15c7eda51a1d56652784164789de7f Reviewed-on: http://codereview.qt.nokia.com/3765 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Use strings more conservativelyAaron Kennedy2011-08-304-20/+330
| | | | | | | | | Also adds the ability to efficiently estimate the length of, and write out to, UTF8 from QHashedStringRef. Change-Id: I8b6226ba41d855246ddf7d6268f8045c92ae219e Reviewed-on: http://codereview.qt.nokia.com/3764 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Add QFastMetaBuilderAaron Kennedy2011-08-303-1/+569
| | | | | | | | | | | This is a faster, but less convenient, version of QMetaObjectBuilder. The aim is to reduce allocations made during building the meta object by doing it in two passes - first you reserve all the strings needed and then you provide their data. Change-Id: Id9caf9c9c6c2ab6a5219e5cea9363463a4ebf822 Reviewed-on: http://codereview.qt.nokia.com/3763 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Some lexer improvement, mostly by avoiding QChar::isWhatever()Martin Jones2011-08-302-1/+92
| | | | | | | Change-Id: I330a45a2f611a594d9b0e9bb24ebef028654a8d8 Reviewed-on: http://codereview.qt.nokia.com/3756 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Clearing a hash makes its length 0.Martin Jones2011-08-301-0/+1
| | | | | | | Change-Id: Ie5b1251212b504d7a7621abdd7fe4e9305790846 Reviewed-on: http://codereview.qt.nokia.com/3752 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Remove invalid assertMartin Jones2011-08-301-1/+0
| | | | | | | Change-Id: Ia0544cf8c1d236977f193ad4c5726217035cabcb Reviewed-on: http://codereview.qt.nokia.com/3749 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* QStringHash improvementsAaron Kennedy2011-08-302-165/+295
| | | | | | Change-Id: I1844460095f4de4980d458dc696c0aab8b504c23 Reviewed-on: http://codereview.qt.nokia.com/3746 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Improve QStringHashAaron Kennedy2011-08-302-52/+334
| | | | | | | | We now support reserving nodes, and keys that are ASCII strings. Change-Id: I9cc04438a1e9ceee1081cb1216e0273227551222 Reviewed-on: http://codereview.qt.nokia.com/3745 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Use memory more conservatively during QML compilationAaron Kennedy2011-08-304-0/+505
| | | | | | Change-Id: I63af79e575345bce00d724f1e7c87606156d1479 Reviewed-on: http://codereview.qt.nokia.com/3744 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* Move tools classes into their own directoryAaron Kennedy2011-08-3011-0/+4717
Change-Id: Ic8a3a35f36259659cb83b5e11641af47bd8b18a9 Reviewed-on: http://codereview.qt.nokia.com/3743 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>