srdjan@google.com
|
81eb689947
|
Implement a tryParseSmi function in Dart for quick and frequent parsing of Smis.
Review URL: https://codereview.chromium.org//14484003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22041 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-25 17:30:21 +00:00 |
|
iposva@google.com
|
2fb7cf7220
|
- Print "top-level" instead of "class '::'" in
NoSuchMethodErrors.
Review URL: https://codereview.chromium.org//13982018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22005 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-25 07:29:06 +00:00 |
|
iposva@google.com
|
7ce7e98194
|
- Do not include unneeded platform/json.h.
Review URL: https://codereview.chromium.org//14476002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21949 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-24 14:04:13 +00:00 |
|
lrn@google.com
|
e0e13fe852
|
Fix missing concurrency check in [].forEach.
Also fix a bad range check for List.setRange.
Added more tests.
BUG=http://dartbug.com/10045
Review URL: https://codereview.chromium.org//14468004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21935 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-24 09:34:17 +00:00 |
|
johnniwinther@google.com
|
f721629103
|
Change libraries map to use Uri.
Review URL: https://codereview.chromium.org//14178010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21929 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-24 08:19:24 +00:00 |
|
ager@google.com
|
431954b584
|
Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=
Review URL: https://codereview.chromium.org//14426006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-23 11:54:54 +00:00 |
|
lrn@google.com
|
554a845e4f
|
Make List.remove return boolean.
Remove Queue implementations' remove methods, which are not in the
interface.
Added more tests for list operations.
Fixed bugs and omissions found by tests.
http://dartbug.com/10042
http://dartbug.com/10112
Review URL: https://codereview.chromium.org//14425003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21867 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-23 11:13:17 +00:00 |
|
floitsch@google.com
|
f74e8a023b
|
Revert "- Do not keep growing when creating Lists from Iterables."
This reverts commit r21531.
BUG= http://dartbug.com/10070
Review URL: https://codereview.chromium.org//14402013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21817 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-22 16:52:03 +00:00 |
|
johnniwinther@google.com
|
b6b309de52
|
Change url to uri on LibraryMirror.
Review URL: https://codereview.chromium.org//14251005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21803 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-22 10:27:41 +00:00 |
|
kustermann@google.com
|
e2216f61bf
|
Fast copy between TypedData and ExternalTypedData
Until now, copying data from TypedData to TypedData and from ExternalTypedData
to ExternalTypedData was fast. But copying between TypedData and
ExternalTypedData was not handled in a fast way.
Review URL: https://codereview.chromium.org//14296006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21791 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-22 08:27:15 +00:00 |
|
srdjan@google.com
|
fc40a8c721
|
Allow leading + when parsing integers in fast case (it is allowed per library implementation, only Dart syntax disallows it).
Review URL: https://codereview.chromium.org//14064019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21779 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-19 23:19:15 +00:00 |
|
srdjan@google.com
|
cc94080d4d
|
Fix performance of parsing Mints.
Review URL: https://codereview.chromium.org//13852044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21767 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-19 20:22:26 +00:00 |
|
asiva@google.com
|
92d18bc9ef
|
Use identical instead of === and !identical instead of !==
Review URL: https://codereview.chromium.org//14352013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21710 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-18 23:13:59 +00:00 |
|
ahe@google.com
|
2abb5be5ec
|
Implement Symbol correctly in dart2js.
Review URL: https://codereview.chromium.org//14079003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21694 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-18 19:25:22 +00:00 |
|
asiva@google.com
|
6955ed0244
|
Add endian parameter to the get/set functions in ByteData.
Review URL: https://codereview.chromium.org//14332002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21688 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-18 18:19:43 +00:00 |
|
ahe@google.com
|
5d8b1a1d8c
|
Move invokeOn to InstanceMirror.
Review URL: https://codereview.chromium.org//14251021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21636 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-17 16:39:19 +00:00 |
|
ahe@google.com
|
ddbc806aab
|
Remove redundant type check.
Review URL: https://codereview.chromium.org//13963007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21616 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-17 11:49:06 +00:00 |
|
iposva@google.com
|
5b369cc1c4
|
- Implement reflectClass.
Review URL: https://codereview.chromium.org//14118011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21610 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-17 10:11:21 +00:00 |
|
ahe@google.com
|
89be2ccac8
|
Change memberName and namedArguments in Invocation to use Symbol.
Review URL: https://codereview.chromium.org//14066019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21602 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-17 07:54:48 +00:00 |
|
iposva@google.com
|
023d6edaf3
|
- Fix build: Move parameter to where it belongs.
Review URL: https://codereview.chromium.org//13921005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21594 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-16 23:49:56 +00:00 |
|
iposva@google.com
|
54d56ca5d8
|
- Add synchronous mirror API. Resurrects invoke, apply, newInstance,
getField and setField as synchronous calls that accept isolate-local
object as arguments.
Originally reviewed as https://codereview.chromium.org/14044007/
Review URL: https://codereview.chromium.org//13942008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21591 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-16 23:19:30 +00:00 |
|
vsm@google.com
|
b29a528fc6
|
Revert "Revert "Remove typeddata transferable constructors""
Take #2. The only change here is the additional test fix under runtime that I missed.
Review URL: https://codereview.chromium.org//14119004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21586 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-16 22:36:04 +00:00 |
|
vsm@google.com
|
5a7d2854fa
|
Revert "Remove typeddata transferable constructors"
This reverts commit r21576. Looks like I missed some tests.
TBR=siva
Review URL: https://codereview.chromium.org//14130010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21580 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-16 21:22:07 +00:00 |
|
vsm@google.com
|
36d8fd9882
|
Remove typeddata transferable constructors
These constructors are not in the public/shared typeddata.dart. Tests
updated accordingly.
Review URL: https://codereview.chromium.org//14205004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21576 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-16 20:55:08 +00:00 |
|
iposva@google.com
|
6adbe1b84f
|
- Do not keep growing when creating Lists from Iterables.
Review URL: https://codereview.chromium.org//14210006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21531 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 23:55:48 +00:00 |
|
srdjan@google.com
|
2e0bba73fe
|
Do not set growable array length unnecessarily.
Review URL: https://codereview.chromium.org//14265015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21526 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 23:00:06 +00:00 |
|
floitsch@google.com
|
466d6670c1
|
Refactor Future constructors.
BUG=
Review URL: https://codereview.chromium.org//14070010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21517 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 21:24:27 +00:00 |
|
floitsch@google.com
|
5431a5af54
|
Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 18:58:32 +00:00 |
|
floitsch@google.com
|
1049521aaa
|
Add setAll, insertAll, replaceRange and fillRange.
BUG=
Review URL: https://codereview.chromium.org//14175013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21471 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 16:25:21 +00:00 |
|
ahe@google.com
|
5b6c0ba820
|
Rename InvocationMirror to Invocation.
Review URL: https://codereview.chromium.org//14049009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21465 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 15:42:44 +00:00 |
|
floitsch@google.com
|
759a366cea
|
Remove insertRange.
Review URL: https://codereview.chromium.org//13956006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21464 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 15:20:16 +00:00 |
|
floitsch@google.com
|
9bfc844930
|
Refactor removeRange.
Review URL: https://codereview.chromium.org//13872007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21462 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 15:10:23 +00:00 |
|
ahe@google.com
|
45ad548837
|
Update dart:mirrors to use Symbol.
Review URL: https://codereview.chromium.org//14173005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21460 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 15:00:45 +00:00 |
|
lrn@google.com
|
485c8a5999
|
Move Iterable implementation to collection.
Add IterableMixin and IterableBase to dart:collection.
For now, the implementation is duplicated, because mixins and const
constructors don't mix. We hope that mixins will be improved in the
future to allow using the mixin to define the base class.
Review URL: https://codereview.chromium.org//14022007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21457 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 14:32:16 +00:00 |
|
floitsch@google.com
|
bebe3ac2cd
|
Refactor List.setRange function.
Review URL: https://codereview.chromium.org//13863012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21452 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 13:52:29 +00:00 |
|
ahe@google.com
|
601686b901
|
Update Function.apply to use Symbol.
Review URL: https://codereview.chromium.org//14107006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21451 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 13:48:25 +00:00 |
|
floitsch@google.com
|
07b02a845c
|
Remove String.slice. Too much overlap with String.substring.
Review URL: https://codereview.chromium.org//13874008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21442 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 12:20:07 +00:00 |
|
lrn@google.com
|
0f607e459c
|
Remove methods on StackTrace class.
The API is not ready for finalization, so we remove it for further
development after M4.
Makes dart2js's StackTrace object implement dart:core's StackTrace.
Marks dart2js stack-trace tests as Fail instead of Skip.
Review URL: https://codereview.chromium.org//14009004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21437 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 11:44:30 +00:00 |
|
floitsch@google.com
|
1743496bc2
|
Rename DAYS_IN_WEEK to DAYS_PER_WEEK. Add MONTHS_PER_YEAR.
BUG= http://dartbug.com/9812
Review URL: https://codereview.chromium.org//14065003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21434 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 11:29:10 +00:00 |
|
ager@google.com
|
ace27bbc85
|
Add curly braces in typeddata implementation.
R=iposva@google.com
BUG=
Review URL: https://codereview.chromium.org//14196005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21414 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 06:00:03 +00:00 |
|
ajohnsen@google.com
|
044f0d02eb
|
Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove.
BUG=
Review URL: https://codereview.chromium.org//14173003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21338 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-12 09:34:52 +00:00 |
|
ager@google.com
|
aed9246124
|
Add fromList constructor to typeddata typed lists.
It seems that creating a typed array from a normal
list is something that is done fairly frequently.
It therefore seems to make sense to add the fromList
convenience constructor.
R=asiva@google.com,iposva@google.com
BUG=
Review URL: https://codereview.chromium.org//13834008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21325 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-12 06:07:55 +00:00 |
|
hausner@google.com
|
8b71446903
|
Remove legacy debugger API stuff. The removed functions do not appear to be used in Dartium.
Review URL: https://codereview.chromium.org//14029016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21305 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-11 19:26:25 +00:00 |
|
floitsch@google.com
|
aecbeabcac
|
Implement getRange (returning an Iterable).
Review URL: https://codereview.chromium.org//14065011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21281 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-11 14:14:29 +00:00 |
|
ahe@google.com
|
bdce382768
|
Add Symbol class.
Review URL: https://codereview.chromium.org//14142003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21273 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-11 12:46:16 +00:00 |
|
lrn@google.com
|
f41508d33b
|
Added new version of reduce.
Removed min/max and uses of min/max.
Review URL: https://codereview.chromium.org//14071002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21258 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-11 08:32:31 +00:00 |
|
gbracha@google.com
|
e08647bfd3
|
BREAKING CHANGE: Rename InstanceMIrror.invoke, .getField, .setField to invokeAsync, getFieldAsync, setFieldAsync. Likewise ClosureMirror.apply and ClassMIrror.newInstance. This is in preparation of new synchronous versions of the originals.
Review URL: https://codereview.chromium.org//13967003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21242 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-10 23:58:22 +00:00 |
|
floitsch@google.com
|
62358bf5e2
|
Make default argument to Iterable.join be "".
Review URL: https://codereview.chromium.org//13945009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21193 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-10 11:28:32 +00:00 |
|
floitsch@google.com
|
0a26d0e20b
|
Rename DateTime constants to full names.
BUG= http://dartbug.com/9441
Review URL: https://codereview.chromium.org//13841005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21189 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-10 09:23:26 +00:00 |
|
lrn@google.com
|
f8efe5b278
|
Fix typo in type parameter.
Review URL: https://codereview.chromium.org//14037002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21185 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-10 08:14:40 +00:00 |
|