ahe@google.com
f0224cdc36
Implement:
...
JsClassMirror.methods, JsClassMirror.getters,
JsClassMirror.setters, JsMethodMirror.isGetter,
JsMethodMirror.isGetter, JsMethodMirror.isStatic,
and JsMethodMirror.isPrivate.
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//16780003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23892 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 06:51:35 +00:00
ahe@google.com
eeac55f800
Expose default constructors through ClassElement.localMembers.
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//15906010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23891 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 06:37:59 +00:00
ahe@google.com
9b87d9f7e3
lib/mirrors/disable_tree_shaking_test doesn't work in minified mode on dart2dart either.
...
Review URL: https://codereview.chromium.org//16347015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23869 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 17:06:38 +00:00
kustermann@google.com
b13c4123b9
Don't skip vm/corelib/isolate/lib/standalone tests on ARM
...
TBR=zra@google.com
Review URL: https://codereview.chromium.org//16775004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23860 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 15:57:21 +00:00
ahe@google.com
7b0467ef19
Add compileAll internal compiler flag.
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//16162005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23858 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 15:43:21 +00:00
kustermann@google.com
f73188d127
Use gnueabihf for ARM + enabled corelib/isolate/lib/standalone tests on ARM again
...
R=regis@google.com
Review URL: https://codereview.chromium.org//16638009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23854 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 14:21:28 +00:00
sgjesse@google.com
db4897b844
Move the crypto expectations to the pkg status file
...
TBR=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//15855013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23810 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 13:52:41 +00:00
ahe@google.com
7e904f541d
Preliminary support for reflecting on generic types.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//16645002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23809 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 13:24:36 +00:00
lrn@google.com
df6b4b13f8
Make _FutureImpl._chain do path shortening on listeners.
...
A chained future is one that will give exactly the same result as another
future. It is used to handle, e.g., futures returned by .then handlers.
Currently we chaing futures by simply making the future itself a listener
on the future it is chained to.
This change makes the future move all its listeners to the future it is
chained to, and forward future listeners as well. It avoids long chains of
futures depending on each other.
Effectively, chained futures form equivalence classes. This makes the
equivalence classess all be represented by the future that every other element
depends on, and it applies path shortening to make the dependency graph as
flat as possible.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//15942010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23807 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 12:27:46 +00:00
sgjesse@google.com
58293681e5
Move the crypto tests into the pkg directory
...
R=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//16627002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23805 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 12:07:24 +00:00
ahe@google.com
d318c99bb1
Implement ClassMirror.superclass.
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//16644002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23797 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 06:47:53 +00:00
zra@google.com
0f70ba59e5
Adds a test to a status file for the analyzer.
...
Tests in tests/standalone/ that use the multitest feature and which are listed
as failing must also be listed in lib/analyzer/analyze_tests.status without
the standalone prefix.
R=asiva@google.com
Review URL: https://codereview.chromium.org//15774022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23780 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 23:38:34 +00:00
mdakin@google.com
d28ccdc143
Remove ignoreIllegalInput parameter from decoder.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23738 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 11:29:13 +00:00
antonm@google.com
ae1393fcdc
Revert "Try out 15 ms safety margin."
...
TBR=floitsch@google.com , iposva@google.com
Review URL: https://codereview.chromium.org//16310006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23732 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 08:38:09 +00:00
scheglov@google.com
80fea8fd8e
More fixes for java2dart and status files.
...
Now DDA passes/fails the same tests as Java version.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//15675016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23705 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 18:13:44 +00:00
antonm@google.com
5d90793a87
Try out 15 ms safety margin.
...
If tests start to pass on Windows, it might be a notable clue
that Stopwatch implementation on this platform is not precise
enough.
R=floitsch@google.com
BUG=10982
Review URL: https://codereview.chromium.org//16568002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23696 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 16:43:16 +00:00
sgjesse@google.com
b07ee334c4
Fix crypto tests
...
TBR=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//16306009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23694 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 16:32:30 +00:00
ahe@google.com
0598d208c7
Implement InstanceMirror.getField/setField (minified).
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//15934017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23676 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 11:55:51 +00:00
ngeoffray@google.com
318add67e7
Add a JS AST null value to the generated field metadata instead of null when a field does not have metadata.
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//16109009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23669 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 09:43:30 +00:00
ahe@google.com
90651648af
Implement InstanceMirror.invoke (minified).
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//15979020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23596 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 14:21:34 +00:00
ahe@google.com
237bd988a8
dart2dart doesn't support reflection in minified mode.
...
Review URL: https://codereview.chromium.org//16359007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23595 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 14:04:13 +00:00
ahe@google.com
1afe9e9325
Update CSP status.
...
Review URL: https://codereview.chromium.org//16359006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23594 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 13:53:36 +00:00
ahe@google.com
e199977d0e
Implement reflecting on uninstantiated classes.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//16154021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23589 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 13:14:37 +00:00
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
ahe@google.com
00d1a0664c
Implement metadata for instance fields.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//16156013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23580 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 08:07:53 +00:00
antonm@google.com
3264ecdd1b
Cleanup suppressions.
...
TBR=vsm@google.com
Review URL: https://codereview.chromium.org//15969012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23548 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 15:44:39 +00:00
ahe@google.com
0a7a5c58f8
Implement MethodMirror.metadata.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//15861028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23529 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 09:12:31 +00:00
vsm@google.com
7e4902c886
More expectations fixes
...
Hopefully, this gets everything green.
TBR=blois, antonm
Review URL: https://codereview.chromium.org//15937019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23522 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 04:07:19 +00:00
vsm@google.com
d5da0f0c0d
Adjusted expectations from last Blink roll
...
TBR=antonm, blois
Review URL: https://codereview.chromium.org//15795004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23513 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-02 20:30:14 +00:00
floitsch@google.com
13e9039973
Remove int64 lists from test.
...
Review URL: https://codereview.chromium.org//15647012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23471 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 16:10:26 +00:00
floitsch@google.com
d9af7d902c
Fix usage of many iterable functions on floating point typed lists.
...
BUG= http://dartbug.com/10823
R=lrn@google.com
Review URL: https://codereview.chromium.org//16135003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23469 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 15:06:34 +00:00
ahe@google.com
4e17f7dca7
Implement ClassMirror.metadata.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//15821011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23457 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 08:04:20 +00:00
lrn@google.com
faa7227cec
Make new StreamController be async by default.
...
Change all instances, except some tests, to be sync still.
Rename Multiplex to Broadcast everywhere.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//16125005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23453 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 06:07:39 +00:00
regis@google.com
b7eb5aedbe
Cleanup various test status files.
...
R=zra@google.com
Review URL: https://codereview.chromium.org//16232012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23450 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 00:39:37 +00:00
antonm@google.com
9568b50e76
Add some more suppressions.
...
TBR=vsm@google.com
Review URL: https://codereview.chromium.org//15854007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23430 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 17:57:22 +00:00
ahe@google.com
cb3e022248
Implement LibraryMirror.metadata.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//16101007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23406 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 13:06:22 +00:00
kasperl@google.com
b98746963d
Fix dart2dart status in minified mode.
...
R=ricow@google.com
BUG=
Review URL: https://codereview.chromium.org//15740033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23405 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 12:53:19 +00:00
kasperl@google.com
16a23f3528
Update ie9 status -- doesn't support typed arrays.
...
R=ricow@google.com
BUG=
Review URL: https://codereview.chromium.org//15930005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23396 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 12:07:47 +00:00
kasperl@google.com
8796dbf76d
Fix dart2dart status for tests/lib.
...
R=ricow@google.com
BUG=
Review URL: https://codereview.chromium.org//15919008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23394 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 11:17:14 +00:00
kasperl@google.com
29aeb5bf00
Fix issue 10898 by fixing the ByteData constructor to implicitly create an ArrayBuffer.
...
R=ngeoffray@google.com
BUG=http://dartbug.com/10898
Review URL: https://codereview.chromium.org//16137009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23393 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 10:37:23 +00:00
lrn@google.com
79a0a652d0
Implement asBroadcast using a _MultiplexStreamController.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//15673006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23342 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 10:39:35 +00:00
ngeoffray@google.com
14e320d109
More status file changes.
...
Review URL: https://codereview.chromium.org//15824005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23323 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 07:39:49 +00:00
sgjesse@google.com
bb6d8c6d20
Remove library dart:crypto
...
Moved the contnet of dart:crypto to the package pkg/crypto.
R=dgrove@google.com , floitsch@google.com , iposva@google.com , nweiz@google.com
BUG=
Review URL: https://codereview.chromium.org//15820008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23322 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 07:29:29 +00:00
ngeoffray@google.com
5e39dd88f7
Enqueue fields for resolution in the enqueuer, instead of doing it in the resolver.
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//16001006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23320 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 06:53:45 +00:00
iposva@google.com
4271b30c89
- Extend the coin test for slightly different scenarios.
...
- Crank the generator a couple of times before returning
a newly allocated one.
Review URL: https://codereview.chromium.org//15356003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23309 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 22:15:07 +00:00
sgjesse@google.com
8b81e4432b
Update status file
...
TBR=podivilov@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=10910
Address review comments
Review URL: https://codereview.chromium.org//16126005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23284 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:30:32 +00:00
podivilov@google.com
5adef4e9bd
Fix bug in VM timer implementation.
...
Timers stop working after exception in callback.
R=floitsch@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//15823008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23271 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:54:10 +00:00
sgjesse@google.com
9d6a64e81b
Merge the dart:uri library into dart:core and update the Uri class
...
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.
* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization
R=floitsch@google.com , lrn@google.com , nweiz@google.com , scheglov@google.com
BUG=
Review URL: https://codereview.chromium.org//16019002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +00:00
floitsch@google.com
5982226109
Revert "Mark periodic4-test as flaky and add debug information."
...
This reverts commit 20868.
BUG= http://dartbug.com/9619
R=lrn@google.com
Review URL: https://codereview.chromium.org//15665005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23262 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:01:13 +00:00
lrn@google.com
37b1cd3b3f
Optimize internals of multiplex-streams.
...
Make the multiplex streams broadcast streams.
This allows you to listen twice on the same stream, instead of having to get
a new stream each time.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//16007003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23256 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 12:06:34 +00:00