|
|
Implement typed array constructors.
This change implements a set of three constructors for each of TypedArrays, e.g:
Float32Array(int len);
Float32Array.fromList(List<num> list);
Float32Array.fromBuffer(ArrayBuffer buffer);
Implemented for both Dartc and Frog.
Test case coming in a different CL.
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=2220
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1612 lines, -46 lines) |
Patch |
 |
M |
client/dom/frog/frog_dom.dart
|
View
|
1
|
12 chunks |
+256 lines, -8 lines |
0 comments
|
Download
|
 |
M |
client/dom/frog_dom.dart
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/monkey_dom.js
|
View
|
|
8 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/CanvasPixelArray.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/Float32Array.dart
|
View
|
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/Float64Array.dart
|
View
|
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/HTMLCollection.dart
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/Int16Array.dart
|
View
|
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/Int32Array.dart
|
View
|
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/Int8Array.dart
|
View
|
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/MediaList.dart
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/NamedNodeMap.dart
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/NodeList.dart
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/StyleSheetList.dart
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/TouchList.dart
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/Uint16Array.dart
|
View
|
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/Uint32Array.dart
|
View
|
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/frog/Uint8Array.dart
|
View
|
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/interface/Float32Array.dart
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/interface/Float64Array.dart
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/interface/Int16Array.dart
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/interface/Int32Array.dart
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/interface/Int8Array.dart
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/interface/Uint16Array.dart
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/interface/Uint32Array.dart
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/interface/Uint8Array.dart
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/wrapping/_Float32ArrayWrappingImplementation.dart
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/wrapping/_Float64ArrayWrappingImplementation.dart
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/wrapping/_Int16ArrayWrappingImplementation.dart
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/wrapping/_Int32ArrayWrappingImplementation.dart
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/wrapping/_Int8ArrayWrappingImplementation.dart
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/wrapping/_Uint16ArrayWrappingImplementation.dart
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/wrapping/_Uint32ArrayWrappingImplementation.dart
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/src/wrapping/_Uint8ArrayWrappingImplementation.dart
|
View
|
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/generated/wrapping_dom.js
|
View
|
|
9 chunks |
+193 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/idl/dart/dart.idl
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/scripts/dartgenerator.py
|
View
|
1
2
|
9 chunks |
+120 lines, -22 lines |
0 comments
|
Download
|
 |
M |
client/dom/scripts/template_frog_dom.darttemplate
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/scripts/template_wrapping_dom.js
|
View
|
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
M |
client/dom/src/_FactoryProviders.dart
|
View
|
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|