Basic support for typed arrays
authorLars Knoll <lars.knoll@digia.com>
Thu, 11 Sep 2014 13:37:31 +0000 (15:37 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Wed, 29 Oct 2014 08:07:36 +0000 (09:07 +0100)
commita3a44fc16417edfe09fca757f4ab1fb8fdaff00d
treecce2b9d011b1e70736af2dab901247d9dcb2244e
parent868478e92afaa9d0823f3a65ff3d7b44216087ea
Basic support for typed arrays

This implements most of the spec required for the
Khronos typed array specification.

It tries to follow ECMAScript 6 as closely as possible,
but currently only implements a subset of the ECMAScript
6 specification.

Addes a test script in tests/manual/v4 to test our
implementation.

Change-Id: I8ec63869500358e088b73240e1f37120ae3cf59a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/jsruntime.pri
src/qml/jsruntime/qv4arraybuffer.cpp
src/qml/jsruntime/qv4engine.cpp
src/qml/jsruntime/qv4engine_p.h
src/qml/jsruntime/qv4managed_p.h
src/qml/jsruntime/qv4typedarray.cpp [new file with mode: 0644]
src/qml/jsruntime/qv4typedarray_p.h [new file with mode: 0644]
tests/auto/qml/qjsengine/tst_qjsengine.cpp
tests/manual/v4/typedarray.js [new file with mode: 0644]
tests/manual/v4/typedarrays.js [new file with mode: 0644]