Qt Declarative (Quick 2)
Go to file
Glenn Watson ec51952908 Support JS Array.sort() function for sequence wrappers.
The V8 natve sort implementation calls some functions that are
incompatible with the way sequence wrappers work. In particular,
it calls an internal length() function which does not pass through
the length accessor provided by sequence wrappers, so the sort
function always thinks the array is zero length. Instead, clone the
array prototype and override the sort function with one that is
specific to sequence wrappers.

Task-number: QTBUG-25269
Change-Id: Ic83b9ee0bd3a0707e512f28057f0f99b432fded4
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
2012-08-08 00:34:22 +02:00
bin Do not modify 'declarative' in file paths 2012-05-30 00:46:14 +02:00
doc Fix various broken links in documentation 2012-08-03 09:47:47 +02:00
examples Restore QML/C++ extensions tutorial and fix plugin docs and examples 2012-08-07 02:32:17 +02:00
src Support JS Array.sort() function for sequence wrappers. 2012-08-08 00:34:22 +02:00
tests Support JS Array.sort() function for sequence wrappers. 2012-08-08 00:34:22 +02:00
tools qmlscene: fixed dependency on QtWidgets 2012-07-30 07:19:13 +02:00
.gitattributes Fix rewrite of multiline string literals. 2012-02-23 10:43:44 +01:00
.gitignore nicer gitignore 2012-07-10 19:51:29 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:50 +02:00
qtdeclarative.pro use centralized handling of QT_BUILD_PARTS 2012-07-10 19:52:15 +02:00
sync.profile build system cleanups 2012-06-26 14:59:01 +02:00