summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fixed qdoc warnings.v4.7.0-rc1Jesper Thomschutz2010-08-241-4/+4
| | | | | | | | | | | | | | Reviewed-by: Trust Me (cherry picked from commit cb086eb5340c4c41efaf45373aa05c37e8aa974a) Conflicts: doc/src/index.qdoc src/dbus/qdbusconnection.cpp src/declarative/util/qdeclarativeanimation.cpp src/gui/s60framework/qs60mainapplication.cpp src/gui/s60framework/qs60mainappui.cpp src/network/access/qnetworkrequest.cpp
* doc: The QML Qt element was missing from the documentation.Martin Smith2010-08-121-3/+4
| | | | | Either someone removed the QML: prefix, or it was never there. (cherry picked from commit a4d19eef86b07d670b8b2a3f9ad6b3448800bae5)
* Fix warning from whining complier.Martin Jones2010-08-081-1/+1
| | | | | | Task-number: QTBUG-12473 Reviewed-by: Aaron Kennedy (cherry picked from commit 1ca575eaf7c166f823b82132110ea066be819540)
* Fixed comment about all enums being accessible in QML. Fix for QTBUG-12527.Jerome Pasion2010-08-041-3/+2
| | | | (cherry picked from commit f0e49104a864b3f658e8cc0036b742b20ad84872)
* Component docsBea Lam2010-07-291-21/+9
| | | | | Task-number: QTBUG-12447 (cherry picked from commit dd871bf6208821ab9852680a338133accbfdedd7)
* Fixes for Dynamic Object Management docs. Also adds links toBea Lam2010-07-292-17/+13
| | | | | | | this page from other documentation. Task-number: QTBUG-12446 (cherry picked from commit ceeb0fc0327c99de55d4dd6114908ec389dc58eb)
* various doc fixesBea Lam2010-07-293-5/+4
| | | | (cherry picked from commit 9ea7bb34e4b41e1263acb8a175f61566046f9bf6)
* Improvements to Modules docsBea Lam2010-07-291-3/+3
| | | | | Task-number: QTBUG-12430 (cherry picked from commit 63920a41b8dde3b9fa2c47efe95fcbaf83a1178f)
* Copied Qt QML 4.7 branch to release.Toby Tomkins2010-07-2722-491/+745
| | | | Reviewed-by: MArtin Jones
* improvements to docs and examplesBea Lam2010-07-261-4/+12
| | | | (cherry picked from commit 07ebc9161263c04dc072b9fc2a922b9665cbe7be)
* Make rootContext and engine pointers in QDeclarativeView API constJoona Petrell2010-07-262-3/+3
| | | | | | Task-number: QTBUG-12322 Reviewed-by: Aaron Kennedy (cherry picked from commit 0b83a2161261be525f01359397ab1c8c34827749)
* font.letterSpacing used percentage rather than absolute values.Martin Jones2010-07-261-1/+1
| | | | | | | | ... and percentage is useless. Task-number: QTBUG-12282 Reviewed-by: Warwick Allison (cherry picked from commit 78a01438e5a37fd1778924f73ca8bfa55960b0d0)
* fix doc linksBea Lam2010-07-181-2/+3
| | | | (cherry picked from commit 2497d922f06404f6fd1c65c6c685fbce173303ae)
* Fixed debugger's evaluation of dynamic properties in contextLasse Holmstedt2010-07-171-1/+1
| | | | | Reviewed-by: Aaron Kennedy (cherry picked from commit ae39a510f86fd13d6d41bc85d4f5c243eca45eab)
* qdoc: Fixed a few links to QtObject (QML:QtObject)Martin Smith2010-07-161-3/+3
| | | | (cherry picked from commit 896de79554060aadf4963d8285ef3f5d8740428b)
* Resetting bindings through debugger interfaceLasse Holmstedt2010-07-152-0/+28
| | | | | Reviewed-by: Aaron Kennedy (cherry picked from commit e55781212532e2abcdd1cef8548b146fb14f0713)
* Fix inconsistent reporting of module import errors when using versions.Warwick Allison2010-07-131-3/+15
| | | | | Task-number: QTBUG-11936 (cherry picked from commit cabdb16f5ea6458dec9a2ec3b70a01e498b27dbc)
* Extend QDeclarativeImageProvider to support QPixmap loading andBea Lam2010-07-134-28/+196
| | | | | | | | | | | synchronous loading of QImages. (QPixmaps can only be created in the main thread so they will always be loaded synchronously). This changes request() to requestImage() and adds requestPixmap() for pixmap support. Task-number: QTBUG-11989 (cherry picked from commit a258456bcb35ec4211751a702ea94a1881d82a07)
* Allow the debugger to modify method bodiesAaron Kennedy2010-07-134-5/+83
| | | | | QTBUG-11933 (cherry picked from commit 76a1804b0fff9ffd092a551defe448d3e9d4346e)
* Remove a few more unnecessary exports.Martin Jones2010-07-011-1/+1
|
* Don't export declarative private classesMartin Jones2010-07-012-2/+2
| | | | | Those required by creator are still exported. Everything else is no longer exported.
* Added SET_BINDING message to QDeclarative debugger protocolLasse Holmstedt2010-06-302-2/+66
| | | | | | | The new message currently enables resetting bindings, literal values and signal handlers (onX: {...}) through the debugger. Reviewed-by: Roberto Raggi
* Docs - add more links to relevant examplesBea Lam2010-06-303-2/+4
| | | | Task-number: QTBUG-11754
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-06-2912-32/+118
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (46 commits) Ensure Loader item change listener is removed when Loader is destroyed Adapt all qmlviewer testcases to the code changes in the actual viewer. Stop QMLLauncher from crashing on exit on Mac when quitting app via the VisualDataModel hasModelChildren role shadowed user roles. Allow positioning of ListView items width sub-pixel precision. Examples clean up Docs Improve appearance when scaling Tweak Qt Demo Behaviour forget to rename the moc include when renaming deviceorientation_maemo.cpp fix namespace macros fix QML Viewer resize modes forgot to cleanup the code a bit after adding Maemo5 support Make the QML viewer usable on the N900 Test QTBUG-11222 Test ListElement type via type system, not string comparison. Test only on X11, not only on Linux (which includes embedded). Handle enums in method arguments in the same way as QtScript Allow custom parsers to handle attached properties Allow components to be created from .pragma library JS files ...
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7Martin Jones2010-06-285-31/+40
| |\ | | | | | | | | | | | | Conflicts: src/declarative/qml/qdeclarativeglobalscriptclass.cpp
| * \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-06-259-14/+82
| |\ \
| | * | Handle enums in method arguments in the same way as QtScriptAaron Kennedy2010-06-252-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | QML will now invoke methods with enums as arguments, in the same fashion as QtScript. QTBUG-11313
| | * | Allow custom parsers to handle attached propertiesAaron Kennedy2010-06-252-5/+20
| | | | | | | | | | | | | | | | QTBUG-11283
| | * | Allow components to be created from .pragma library JS filesAaron Kennedy2010-06-253-6/+23
| | | | | | | | | | | | | | | | QTBUG-11507
| | * | Fix assertAaron Kennedy2010-06-251-2/+2
| | | | | | | | | | | | | | | | QTBUG-11600
| | * | Disallow global object properties as property namesAaron Kennedy2010-06-252-0/+12
| | | | | | | | | | | | | | | | QTBUG-11605
| * | | Test ListElement type via type system, not string comparison.Warwick Allison2010-06-254-0/+25
| |/ / | | | | | | | | | | | | Task-number: QTBUG-11222 Reviewed-by: Aaron Kennedy
| * | References to undefined variables throws a ReferenceErrorAaron Kennedy2010-06-232-18/+11
| | | | | | | | | | | | This is consistent with normal JavaScript
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7David Boddie2010-06-285-28/+37
|\ \ \ | | |/ | |/|
| * | Use custom static scopes to improve QML/JavaScript performanceKent Hansen2010-06-255-28/+37
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a new internal JS object type, QScriptStaticScopeObject, that enables the JS compiler to make more aggressive optimizations of scoped property access. QScriptStaticScopeObject registers all its properties in a symbol table that the JS compiler has access to. If the compiler finds the property in the symbol table, it will generate the fast index-based op_{get,put}_scoped_var bytecodes, rather than the dynamic (slow) op_resolve and friends. If the compiler _doesn't_ find the property in the symbol table, it infers that it's safe to skip the scope object when later resolving the property, which will also improve performance (see op_resolve_skip bytecode). QScriptStaticScopeObject is only safe to use when all relevant properties are known at JS compile time; that is, when a function that has the static scope object in its scope chain is compiled. It's up to the user of the class (e.g. QtDeclarative) to ensure that this constraint is not violated. The API for constructing QScriptStaticScopeObject instances is not public; it lives in QScriptDeclarativeClass for now, an internal class exported for the purpose of QML. The instance is returned as a QScriptValue and can be manipulated like any other JS object (e.g. by QScriptValue::setProperty()). The other part of this commit utilizes QScriptStaticScopeObject in QtDeclarative in the two major places where it's currently possible: 1) QML disallows adding properties to the Global Object. Furthermore, it's not possible for QML IDs and properties to "shadow" global variables. Hence, a QScriptStaticScopeObject can be used to hold all the standard ECMA properties, and this scope object can come _before_ the QML component in the scope chain. This enables binding expressions and scripts to have optimized (direct) access to e.g. Math.sin. 2) Imported scripts can have their properties (resulting from variable declarations ("var" statements) and function declarations) added to a static scope object. This enables functions in the script to have optimized (direct) access to the script's own properties, as well as to global properties such as Math. With this change, it's no longer possible to delete properties of the Global Object, nor delete properties of an imported script. It's a compromise we make in order to make the optimization safe. Task-number: QTBUG-8576 Reviewed-by: Aaron Kennedy Reviewed-by: Olivier Goffart Reviewed-by: Jedrzej Nowacki
* | Merge branch '4.7' of /home/dboddie/git/oslo-staging-1 into 4.7David Boddie2010-06-251-1/+24
|\ \ | |/
| * DocAaron Kennedy2010-06-221-1/+24
| |
* | Doc: Changed links to explicitly refer to QML objects.David Boddie2010-06-181-11/+11
|/ | | | Reviewed-by: Trust Me
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-06-171-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: doc: Added more DITA output to the XML generator Usefully convert from QtScript object/array to QVariant document QSslSocket::systemCaCertificates() change in changelog Implement QIODevice::peek() using read() + ungetBlock(). Allocate the memory for QtFontSize when count > 1 doc: Added more DITA output to the XML generator Defer allocation of GIF decoding tables/stack. Make sure only started gestures can cause cancellations Updated JavaScriptCore from /home/khansen/dev/qtwebkit-qtscript-integration to javascriptcore-snapshot-16062010 ( 8b2d3443afca194f8ac50a63151dc9d19a150582 ) qmake: Fix CONFIG += exceptions_off with the MSVC project generator. Fix some kind of race condition while using remote commands. Work around ICE in Intel C++ Compiler 11.1.072 Reduce the memory consumption of QtFontStyle
| * Work around ICE in Intel C++ Compiler 11.1.072Thiago Macieira2010-06-161-1/+1
| | | | | | | | | | | | | | | | qml/qdeclarativecompiledbindings.cpp(1141) (col. 11): internal error: 0_1855 Intel reports that this bug has been fixed with release 12 of ICC Reviewed-By: Alan Alpert
* | Move knowledge of QGraphicsObject out of qml engineAaron Kennedy2010-06-165-15/+46
|/
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-06-126-13/+33
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (53 commits) ListView.onRemove animation is not played when the list has only one item. Move listview/itemlist.qml to a separate visualitemmodel example Make snapping work properly for highlight ranges > item size Fix test - sizeHint should not change after initial load. Also use Minor doc fixes Doc improvements, including snippet fixes, linking to examples, making Fix qmlviewer test failure on windows Do not keep flush timer running once no pixmaps are detached. Avoid recursive refill() in List/GridView Make snippet compile and pass license test, and add missing snippet file Remove accidentaly added characters. Update on color change. Update on color change. Add go button to webbrowser example. Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and Document attached properties Add 'on' prefix to documentation of signals Stablize qmlviewer test Improve test stability. qmlviewer: ensure that only clicks on the current file list are handled. ...
| * Minor doc fixesBea Lam2010-06-111-1/+4
| |
| * Doc improvements: move some example code to snippets, add screenshots,Bea Lam2010-06-092-6/+8
| | | | | | | | other minor doc fixes
| * Move some example code into snippets/ and add other doc fixesBea Lam2010-06-092-6/+7
| |
| * Keep reported point/pixel size in sync.Michael Brasser2010-06-072-0/+14
| | | | | | | | | | | | | | This allows you to, for example, bind to a Text's font.pixelSize, even if one was never explicitly set. Task-number: QTBUG-11111
* | small optimisationLars Knoll2010-06-091-2/+2
| | | | | | | | | | Don't use fromLocal8Bit() when comparing an ascii string to a QString, use QLatin1String.
* | Allow to build Qt in static with mingwThierry Bastian2010-06-071-1/+1
|/ | | | | | | | | | Some functions were marked with Q_DECL_IMPORT where they should just be Q_CORE_EXPORT. The reason is that this macro is expanded to nothing in case of static builds whereas Q_DECL_IMPORT isn't (it is a dllimport). That leads the linker to try to import it and it shouldn't. Task-number: QTBUG-10791 Reviewed-by: gabi
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-06-033-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (30 commits) Revert "Split Symbian bearer plugin into three platform specfic plugins" Don't poll non-polling engines when configurations are in use. Doc: updating images Fix a corner case where a gesture sometimes doesn't start. write PO files without duplicated message ids my changes Fix failing bypassShaping autotest on the Mac OS X More Pixmap cache key optimizations QNAM: Improve child deletion order QSslCertificate: support large serial numbers Split Symbian bearer plugin into three platform specfic plugins Doc: adding offline docs to assistant and Qt Creator. Improving small docs and adding highlighting Some optimizations for QImage::load() fix setRawData() Fix QML crashes on the N900 doc: Added DITA XML generator Fix build failure on Symbian 3.1. Add the Qt::TextBypassShaping flag. QTextEngine: skip an unnecessary call to GetDeviceCaps on Windows. Add my 4.7.0 changes ...
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-06-013-3/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: doc: Added DITA XML generator Fix build failure on Symbian 3.1. Add the Qt::TextBypassShaping flag. QTextEngine: skip an unnecessary call to GetDeviceCaps on Windows. Add my 4.7.0 changes qdoc: Added DITA XML generator doc: Fixed confusing ownership issue. update Russian translations for Qt tools update Russian translation for Qt libraries QXmlSchema documentation correction doc: Changed last breadcrumb to not be a link. doc: Fixed reference to setSize(), which is in QRectF. QNetworkCookie: do not accept cookies with non-alNum domain QtDeclarative: Remove trailing commas in enums Doc: MonotonicClock is obviously monotonic