antonm@google.com
|
589e3ab811
|
Move common logic into the base class.
R=cshapiro@google.com
Review URL: https://codereview.chromium.org//11694009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16915 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-10 11:55:02 +00:00 |
|
floitsch@google.com
|
4a7dfd2da3
|
Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-07 11:23:16 +00:00 |
|
ager@google.com
|
81ea12b120
|
Fix unresolved classes issues in dart:io.
R=sgjesse@google.com
BUG=dartbug.com/7299
Review URL: https://codereview.chromium.org//11553020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16026 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-12-12 09:23:57 +00:00 |
|
srdjan@google.com
|
a9a187ce7a
|
Fix failures in byte array tests, reenabled test.
Review URL: https://codereview.chromium.org//11471014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15821 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-12-06 23:27:01 +00:00 |
|
srdjan@google.com
|
93dd217564
|
Added Uint8ClampedList. COmpielr optimziations to follow in next CL.
Review URL: https://codereview.chromium.org//11437028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15806 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-12-06 21:53:51 +00:00 |
|
lrn@google.com
|
04769f543c
|
Change List.sort to not have a default parameter value.
The list implementations in the system now default to
Comparable.compare if the compare argument is null.
BUG=http://code.google.com/p/dart/issues/detail?id=7148
Review URL: https://codereview.chromium.org//11269004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15771 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-12-06 08:55:22 +00:00 |
|
johnmccutchan@google.com
|
1120befff4
|
s/transferrable/transferable
Review URL: https://codereview.chromium.org//11434077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15636 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-12-03 15:25:07 +00:00 |
|
johnmccutchan@google.com
|
5642ee09f1
|
Expose transferable constructor to Int8List
Review URL: https://codereview.chromium.org//11414211
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15598 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-30 20:35:22 +00:00 |
|
hausner@google.com
|
65bf9cbb2a
|
Remove abstract from class members in dart libraries
Add VM flag to produce compile error for explicitly
defined abstract class members.
Review URL: https://codereview.chromium.org//11299121
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15210 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-21 17:23:35 +00:00 |
|
ajohnsen@google.com
|
9de0ffac98
|
Use coreSort in bytearrays..
BUG=
Review URL: https://codereview.chromium.org//11280049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15133 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-20 06:42:23 +00:00 |
|
floitsch@google.com
|
f6fa33d28b
|
Add List.first.
BUG=http://dartbug.com/1790
Committed: https://code.google.com/p/dart/source/detail?r=15036
Review URL: https://codereview.chromium.org//11316059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15040 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-16 21:58:01 +00:00 |
|
floitsch@google.com
|
7382cc8756
|
Revert "Add List.first."
This reverts commit r15036.
Review URL: https://codereview.chromium.org//11299048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15038 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-16 21:33:49 +00:00 |
|
floitsch@google.com
|
7f5ac55b45
|
Add List.first.
BUG=http://dartbug.com/1790
Review URL: https://codereview.chromium.org//11316059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15036 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-16 21:15:02 +00:00 |
|
floitsch@google.com
|
3e2f323981
|
Dynamic -> dynamic.
Review URL: https://codereview.chromium.org//11312237
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14898 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-14 15:33:25 +00:00 |
|
ajohnsen@google.com
|
970cc5ba68
|
Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl.
After this cleanup, RegExp no longer have a const constructor. Use 'new
RegExp(...)' from now on.
BUG=
Review URL: https://codereview.chromium.org//11365196
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14838 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-13 10:41:37 +00:00 |
|
floitsch@google.com
|
8e6f238f86
|
a === b -> identical(a, b)
Replace === null with == null.
BUG=http://dartbug.com/6380
Review URL: https://codereview.chromium.org//11361190
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-12 17:19:58 +00:00 |
|
lrn@google.com
|
7e6ae8ea09
|
Renaming IndexOutOfRangeException to RangeError.
It now extends ArgumentError.
Review URL: https://codereview.chromium.org//11275042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14405 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-01 13:46:30 +00:00 |
|
lrn@google.com
|
b8b5632148
|
Convert NoMoreElementsException and EmptyQueueException to StateError.
Review URL: https://codereview.chromium.org//11269045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14122 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-26 08:28:33 +00:00 |
|
floitsch@google.com
|
3300f91153
|
Make first and last getters.
Review URL: https://codereview.chromium.org//11273041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14082 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-25 15:19:31 +00:00 |
|
floitsch@google.com
|
09f6d09d88
|
Make isEmpty a getter.
Review URL: https://codereview.chromium.org//11238035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14022 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-24 15:04:32 +00:00 |
|
floitsch@google.com
|
0e47b363ae
|
Make hasNext a getter instead of a method.
Review URL: https://codereview.chromium.org//11230011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14015 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-24 13:05:11 +00:00 |
|
lrn@google.com
|
a083c1a108
|
Removed IllegalAccessException and UnsupportedOperationException.
Both were converted to StateError.
Review URL: https://codereview.chromium.org//11235054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14012 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-24 12:36:10 +00:00 |
|
ajohnsen@google.com
|
7983141903
|
Move DualPivotQuicksort from coreimpl to core as _Sort.
I've added a tempoary coreSort method in core, to coreimpl and other
uses, until the move is done.
BUG=
Review URL: https://codereview.chromium.org//11239004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13993 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-24 07:17:18 +00:00 |
|
lrn@google.com
|
9f32f0674a
|
Add "contains" method to Collection.
This versions does not implement "contains" on DOM lists.
Review URL: https://codereview.chromium.org//11195039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13806 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-19 06:58:19 +00:00 |
|
lrn@google.com
|
ae9664a9cc
|
Revert "Add "contains" method to Collection."
Review URL: https://codereview.chromium.org//11186045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13769 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-18 10:55:02 +00:00 |
|
lrn@google.com
|
c3c2ae61c6
|
Add "contains" method to Collection.
Also added a Sequence interface to capture things with a length and
integer indexing. List and String implement that interface, and
there is a base skeleton class for collections that are Sequences.
BUG=1030
Review URL: https://codereview.chromium.org//11169004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13766 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-18 08:48:11 +00:00 |
|
lrn@google.com
|
5a4236c0af
|
Change sort on scalar arrays to take optional comparison function.
TBR=floitsch@google.com
Review URL: https://codereview.chromium.org//11186017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13720 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-17 08:05:49 +00:00 |
|
lrn@google.com
|
fbc14bdfdb
|
Fix bug in ByteArray.subByteArray implementation for omitted length.
If length is omitted, it defaulted to the length of the byte array,
even if the start was greater than zero. It now subtracts the start
from the length to get "the length of the rest of the byte array".
Review URL: https://codereview.chromium.org//11098065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13522 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-11 08:26:01 +00:00 |
|
ager@google.com
|
abee5139e5
|
Reapply change to hide VM-only List implementation classes.
The performance issue was that I had not updated the method
recognizer.
BUG=
Review URL: https://codereview.chromium.org//10990083
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13003 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-09-28 11:08:38 +00:00 |
|
ager@google.com
|
fe66a0af1a
|
Revert hiding of VM-only coreimpl list implementation types. While I
investigate performance regression (even after fixing constructors
in the intrinsifier).
R=iposva@google.com,srdjan@google.com,fschneider@google.com
BUG=
Review URL: https://codereview.chromium.org//11000025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12963 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-09-27 14:07:56 +00:00 |
|
ager@google.com
|
8e6a2c8345
|
Hide VM-only coreimpl List implementation types. These should not be
exposed as visible parts of coreimpl.
Review URL: https://codereview.chromium.org//10990055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12952 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-09-27 12:37:30 +00:00 |
|
lrn@google.com
|
a1faa6f135
|
Change IllegalArgumentException to ArgumentError.
Review URL: https://codereview.chromium.org//10989013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12841 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-09-25 12:27:52 +00:00 |
|
ager@google.com
|
e676e88f81
|
Introduce a VM-only dart:scalarlist library for byte arrays.
Include it in the SDK so users can use it. Create a dummy
implementation and patch file for the library for dart2js so it can be
documented. Johnni, can you think of a nicer way of making
documentation generation work for a VM only library? Also, it seems that
patching kills the documentation comments and they do not show up in
the generated docs.
R=iposva@google.com,johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//10919267
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12616 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-09-20 07:08:10 +00:00 |
|
kasperl@google.com
|
9beb871852
|
Get rid of a lot of () for getters.
R=bak@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10919146
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12017 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-09-07 11:50:07 +00:00 |
|
iposva@google.com
|
327ff5d70e
|
- Change "static final" to "static const" in the runtime/ directory.
- Fixed parsing of top-level static const.
Review URL: https://chromiumcodereview.appspot.com//10883071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11425 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-27 23:51:37 +00:00 |
|
ajohnsen@google.com
|
8f50fb32fd
|
Reapply 'Add reduce to Collection.'
Implemented JS array's reduce and fix a template error that made snapshotting crash.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10832060
Review URL: https://chromiumcodereview.appspot.com//10827293
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10557 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-13 09:19:53 +00:00 |
|
cshapiro@google.com
|
9c0c15ea7c
|
Improve the error messages for IndexOutOfRangeException.
Review URL: https://chromiumcodereview.appspot.com//10786045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9729 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-18 00:33:23 +00:00 |
|
regis@google.com
|
b86a40f48f
|
Fix type checking of void type.
Fix library and tests accordingly.
Add new test.
Disable new test for dart2js.
Disable some now failing co19 tests (new issue 158 filed).
Hide internal VM String types from user (not complete).
Review URL: https://chromiumcodereview.appspot.com//10787021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9681 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-16 21:34:07 +00:00 |
|
regis@google.com
|
dc96874999
|
Revert fix for type checking of void type, because some top level tests fail.
Review URL: https://chromiumcodereview.appspot.com//10784020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9673 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-16 19:05:38 +00:00 |
|
regis@google.com
|
a8ceb243f6
|
Fix type checking of void type.
Fix library and tests accordingly.
Add new test.
Disable new test for dart2js.
Disable some now failing co19 tests (new issue 158 filed).
Hide internal VM String types from user (not complete).
Review URL: https://chromiumcodereview.appspot.com//10704216
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9672 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-16 18:05:55 +00:00 |
|
ajohnsen@google.com
|
acc78cebae
|
Use native copy between internal/external bytearrays.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10703118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9510 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-10 13:58:30 +00:00 |
|
cshapiro@google.com
|
00b6963338
|
Fix some warnings in the core library identified by the static analyzer.
This foray uncovered a latent bug in the byte array view constructor and
its use of default arguments. That bug has been corrected and new tests
have been added to the test suite.
BUG=2136
Review URL: https://chromiumcodereview.appspot.com//10653002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9013 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-06-22 04:27:57 +00:00 |
|
cshapiro@google.com
|
fdb1c60bf1
|
Document the ByteArray types and reconcile with the implementation.
BUG=1499
Review URL: https://chromiumcodereview.appspot.com//10535178
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8738 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-06-15 20:16:58 +00:00 |
|
iposva@google.com
|
3d4d4d71a7
|
- Typed arrays should implement all methods from Collection and List interfaces.
Review URL: https://chromiumcodereview.appspot.com//10391056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7512 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-10 19:17:54 +00:00 |
|
ajohnsen@google.com
|
c815a502a7
|
Add indexOf to Int/Float-List's.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10386039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7439 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-09 07:13:00 +00:00 |
|
cshapiro@google.com
|
4ad6942ef1
|
Fix breakage in the JavaScript compilers.
This change adds a mock "Uint8List" to dart2js, suppresses the new byte
array test on Frog, and renames interface parameters for dartc.
Review URL: https://chromiumcodereview.appspot.com//10383023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7355 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-05 00:07:25 +00:00 |
|
cshapiro@google.com
|
1472427af8
|
Revert "Revert "Implement {Int,Uint}{8,16,32,64} and Float{32,64} typed arrays.""
This reverts commit 63480a81fccbde001494dd535cd06a8fa02ed261.
Review URL: https://chromiumcodereview.appspot.com//10379018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7352 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-04 23:16:09 +00:00 |
|
cshapiro@google.com
|
3a14326da4
|
Revert "Implement {Int,Uint}{8,16,32,64} and Float{32,64} typed arrays."
This reverts commit 747dbeaa8f9c0dc1f49d6d6a369c6a3fe2d8b7c9.
Review URL: https://chromiumcodereview.appspot.com//10375007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7313 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-04 05:28:10 +00:00 |
|
cshapiro@google.com
|
537010ea16
|
Implement {Int,Uint}{8,16,32,64} and Float{32,64} typed arrays.
Internal and external representations of each array are provided. A
single interface type implementing the ByteArray and List interfaces
is shared among the internal and external implementation type.
Review URL: https://chromiumcodereview.appspot.com//9958046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7311 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-04 05:12:19 +00:00 |
|
cshapiro@google.com
|
0282e0745b
|
Use named constants for the mask values used to narrow byte array values.
Review URL: https://chromiumcodereview.appspot.com//9839071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5796 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-03-23 22:26:13 +00:00 |
|