aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/v8/qv8worker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year in license headers.Jason McDonald2012-01-051-1/+1
| | | | | Change-Id: I0a8d99909cac867dce72da70b1bbcb649989a51b Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fix crash in object serialization due to sequencesChris Adams2011-11-041-15/+17
| | | | | | | | | | Commit c177691118e4e2bace9b5c1f4f57343190e6ad64 added support for sequences, but in doing so, introduced a crash bug into worker thread object serialisation. This commit fixes the bug by ensuring that the object resource type is checked prior to serialisation. Change-Id: I4ef9e4d0865a337c4fe6e8f1cd40cf4462ca7a60 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Add support for more sequence typesChris Adams2011-11-021-1/+39
| | | | | | | | | | | | | | | | | | | | | | | This commit adds support for more sequence types by adding a sequence wrapper. This class enables conversion between v8::Array and C++ sequences of various types (currently just QList<int>, QList<qreal>, QList<bool>, QList<QString>, QList<QUrl> and QStringList), but more types can be added later if required). When a JavaScript object is created from such a sequence, its prototype object is set to the v8::Array prototype object. The indexed setter, indexed getter, length and toString methods are implemented directly or in terms of the underlying sequence resource. Note that currently, sequences of ValueTypes are NOT supported, due to the fact that operations like: someObj.someValueTypeSequence[i].x = 5; would not behave as required. Task-number: QTBUG-20826 Task-number: QTBUG-21770 Change-Id: I36deb448fb0e87a32084a900e70a2604ff369309 Reviewed-by: Chris Adams <christopher.adams@nokia.com>
* Fix outdated license headers.Jason McDonald2011-08-051-17/+17
| | | | | | | Change-Id: I81fd41433b03b13befe0b5c68ec248ea71e8c235 Reviewed-on: http://codereview.qt.nokia.com/2596 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Minor XXX fixupsAaron Kennedy2011-06-091-4/+6
|
* Implement ListModel in V8Aaron Kennedy2011-06-071-15/+43
|
* Initial V8 integrationAaron Kennedy2011-06-061-0/+322