lrn@google.com
662c2a8262
Rename RuntimeError to CyclicIntializationError, as per spec.
...
The RuntimeError has been used to report cyclic initialization errors in
dart2js.
It has also been used for other, unrelated, uses, where it makes
little to no sense.
The RuntimeError type has been removed, but added in js_helper.dart,
where dart2js uses it.
Uses of new RuntimeError("some message") have been converted to
other errors (Argument/State/Unsupported). In some cases, just
throwing a String might have been just as good.
BUG=http://dartbug.com/11040
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//16154017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23584 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 10:33:11 +00:00
tball@google.com
969cfa4e03
Added dart2js-generated vmstats.dart, to support non-Dartium browsers.
...
Review URL: https://codereview.chromium.org//14191002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21631 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 16:30:26 +00:00
tball@google.com
ee8ce4a2d3
Resubmission of 21573, with corrected strndup call.
...
Review URL: https://codereview.chromium.org//14308006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21579 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 21:05:37 +00:00
tball@google.com
bffac5979d
Rolled back due to missing Windows strndup.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21575 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 20:47:32 +00:00
tball@google.com
56b980f2aa
Fixed stack trace for isolates without any Dart frames. Updated
...
stats display to display empty stack dumps, and reduced screen
update time.
Review URL: https://codereview.chromium.org//13939003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21573 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 20:40:56 +00:00
efortuna@google.com
ae82b45193
Rename context2d to context2D.
...
BUG=
Review URL: https://codereview.chromium.org//13726010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21006 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 23:16:48 +00:00
floitsch@google.com
bef8ebb5f6
Add Iterable.fold (and Stream.fold) which replace reduce.
...
For now this is just a copy. In a next step we will change the behavior of
`reduce`.
BUG= http://dartbug.com/9536
Review URL: https://codereview.chromium.org//13548002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20978 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:12:40 +00:00
tball@google.com
c457f6e145
Client-side support for stacktrace VM status.
...
Review URL: https://codereview.chromium.org//13008025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20899 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 22:03:20 +00:00
floitsch@google.com
c8f2a81f07
Rename Timer.repeating to Timer.periodic.
...
Review URL: https://codereview.chromium.org//12793003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19925 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 13:02:13 +00:00
tball@google.com
9e3a61f149
Added support for "bin-ified" resources, used to link the vmstats
...
web app files into the VM binary. create_resources.py takes a list
of resources and writes each as a byte array, then builds a resource
table. resources.h defines a simple lookup for these arrays, which
vmstats uses.
Review URL: https://codereview.chromium.org//12377099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19569 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 17:48:53 +00:00