Commit Graph

2071 Commits

Author SHA1 Message Date
rmacnak@google.com 42e8c08b3c Match existing expectation that delegate returns unwrapped values.
TBR

Review URL: https://codereview.chromium.org//181063025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33306 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 21:56:57 +00:00
rmacnak@google.com d515f61a35 Work around bug where closures are missing #call to support delegation of #call to closures.
BUG=http://dartbug.com/16995
R=iposva@google.com

Review URL: https://codereview.chromium.org//183923018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33303 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 21:10:04 +00:00
jwren@google.com 567f754dce Fix for 15001.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//179783007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33293 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 19:48:52 +00:00
rmacnak@google.com d3a92a0f3d Hoist hasReflectedType and reflectedType from ClassMirror to TypeMirror.
R=gbracha@google.com, regis@google.com

Review URL: https://codereview.chromium.org//183853022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33291 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 19:01:26 +00:00
rmacnak@google.com c4f989c768 Add TypeVariableMirror.isStatic to the API.
BUG=http://dartbug.com/16819
R=gbracha@google.com, regis@google.com

Review URL: https://codereview.chromium.org//182603003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33283 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 18:13:22 +00:00
sigurdm@google.com c62441401a Fix status file
R=floitsch@google.com

Review URL: https://codereview.chromium.org//185543013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33269 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 12:31:18 +00:00
sigurdm@google.com 28367869f8 Mark deferred test as flaky in IE9.
R=floitsch@google.com

Review URL: https://codereview.chromium.org//185403015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33263 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 10:16:34 +00:00
sigurdm@google.com 49f2c7c81f Status files merge sections
R=floitsch@google.com

Review URL: https://codereview.chromium.org//180633006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33261 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 08:05:34 +00:00
rmacnak@google.com 7c4a84d130 Remove LibraryMirror.topLevelMembers.
R=gbracha@google.com

Review URL: https://codereview.chromium.org//164823006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33256 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 01:35:07 +00:00
sigurdm@google.com 1852bb6566 Status files update.
Deferred loading does not work in csp mode.

Review URL: https://codereview.chromium.org//180633005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33218 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 15:22:21 +00:00
floitsch@google.com 7b49ffc729 Make stream_timeout_test less likely to flake.
R=lrn@google.com

Review URL: https://codereview.chromium.org//185543005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33214 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 13:18:29 +00:00
lrn@google.com 7d4d533114 Add validation of private symbols to the dart2js mirrors.
The mirrors.getSymbol function works for non-private symbols, and
validates private symbols (but still fail to create a Symbol object).

R=ahe@google.com

Review URL: https://codereview.chromium.org//177483002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33212 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 12:58:54 +00:00
sigurdm@google.com 3af598f554 Make deferred loading and meta-data play better.
BUG= http://dartbug.com/17110
R=floitsch@google.com

Review URL: https://codereview.chromium.org//180843012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33208 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 11:47:16 +00:00
karlklose@google.com 61ee600f61 Fix more analyzer test expectations.
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//184613002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33159 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 14:20:29 +00:00
karlklose@google.com 3110b630eb Update analyzer test expectations.
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//178193011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33158 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 13:16:28 +00:00
karlklose@google.com 51047b6c1b Implement Mirror.isSubclassOf.
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//172353003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33151 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 09:38:52 +00:00
rmacnak@google.com b49aa48f07 Fix VM crash when parsing what looks like a closure call during metadata evaluation.
BUG=http://dartbug.com/17141
R=gbracha@google.com, hausner@google.com

Review URL: https://codereview.chromium.org//180313003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33141 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 23:24:05 +00:00
floitsch@google.com 842be2c90d Use Date.getTime instead of Date.getMilliseconds in dart:js.
BUG= http://dartbug.com/14915
R=kasperl@google.com

Review URL: https://codereview.chromium.org//180723004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33116 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 15:13:44 +00:00
floitsch@google.com 5316f7bdfe Assign invalid name to globalized closures.
BUG= http://dartbug.com/16244
R=karlklose@google.com

Review URL: https://codereview.chromium.org//179803004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33061 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-26 13:46:50 +00:00
ricow@google.com 801c48c9b8 Remove suppression for lib/async/stream_transform_test checked mode on d8
The v8 bug:
https://code.google.com/p/v8/issues/detail?id=3084
has been fixed and we rolled a new version including the fix in r33016

R=kasperl@google.com

Review URL: https://codereview.chromium.org//179953002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33019 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 14:41:34 +00:00
karlklose@google.com 32ee534a3f Emit named parameter information in declaration order.
R=floitsch@google.com, kasperl@google.com

Committed: https://code.google.com/p/dart/source/detail?r=32880

Review URL: https://codereview.chromium.org//163773003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33017 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 13:17:54 +00:00
karlklose@google.com 19a522a25b Revert "Emit named parameter information in declaration order."
This reverts commit 32880.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//179583002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33008 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 09:35:30 +00:00
lrn@google.com 8ae4728a4f Update documentation on Symbol. Make validation match.
Changed documentation of the Symbol constructor to correctly state
which inputs are accepted.
Changed validation to match.
Disallow keywords as identifiers.
No longer accepts "x.y=" symbols which are not the name of anything
in the source.

BUG= http://dartbug.com/13716
R=ahe@google.com

Review URL: https://codereview.chromium.org//140643006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32952 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-24 08:11:16 +00:00
sigurdm@google.com d807878bbd Add prefix constraints for deferred imports.
R=floitsch@google.com

Review URL: https://codereview.chromium.org//169703003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32881 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 09:39:50 +00:00
karlklose@google.com c2f4610b3b Emit named parameter information in declaration order.
R=floitsch@google.com, kasperl@google.com

Review URL: https://codereview.chromium.org//163773003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32880 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 09:31:09 +00:00
johnmccutchan@google.com 8cb3c530e8 Use the correct value offset for Float64x2 on ARM
BUG=

Review URL: https://codereview.chromium.org//174353003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32874 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 23:05:50 +00:00
johnmccutchan@google.com ed5894d0cf Unbox/Box Float64x2 and inline typed array loads and stores
R=fschneider@google.com

Review URL: https://codereview.chromium.org//172653002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32869 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 20:41:54 +00:00
lrn@google.com b27ccf41e3 Add toIso8601String to DateTime.
BUG= http://dartbug.com/16902
R=floitsch@google.com

Review URL: https://codereview.chromium.org//165723005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32786 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 13:00:09 +00:00
lrn@google.com e314fc2671 Make Rectangle and MutableRectangle constructors handle negative lengths.
Now handles negative width/height so that it's equivalent to
   new Rectangle.fromPoints(new Point(left, top),
                            new Point(left + width, top + height))

BUG= http://dartbug.com/16167
R=efortuna@google.com

Review URL: https://codereview.chromium.org//135273009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32736 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 10:12:23 +00:00
fschneider@google.com 5f58066c65 MIPS: Fix bug in allocation stub's slow path.
The CL r32697 that changed the argument count of the AllocateObject
runtime function from 3 to 2 did not correctly adjust SP before
the runtime call.

BUG=dartbug.com/16873
R=regis@google.com

Review URL: https://codereview.chromium.org//167893006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32735 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 10:10:06 +00:00
floitsch@google.com d743dd6513 Mark lib/async/deferred/deferred_in_isolate_test as failing in csp mode.
Review URL: https://codereview.chromium.org//164333015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32728 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-17 16:38:33 +00:00
sgjesse@google.com 6edd2d5bff Update status file
Add SIMMIPS pass, crash for lib/mirrors/immutable_collections_test

R=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org//169283003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32719 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-17 11:40:55 +00:00
sigurdm@google.com d6e8f9c47f Fix status files for deferred loading-tests.
They do not run on dart2dart nor ie9.

Review URL: https://codereview.chromium.org//166913002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32703 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 14:54:31 +00:00
sigurdm@google.com 5c95691ada Let deferred load work from worker isolates.
If we try to load a deferred library from a worker-isolate we cannot
inject a script tag because we do not have access to the dom. Instead we
make an XMLHttpRequest object and load the code with that.

I tried to take some care of error handling introducing a new exception.

R=floitsch@google.com

Committed: https://code.google.com/p/dart/source/detail?r=32693

Committed: https://code.google.com/p/dart/source/detail?r=32695

Committed: https://code.google.com/p/dart/source/detail?r=32698

Review URL: https://codereview.chromium.org//163733003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32700 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 14:04:22 +00:00
sigurdm@google.com 99e4bef0a2 Let deferred load work from worker isolates.
If we try to load a deferred library from a worker-isolate we cannot
inject a script tag because we do not have access to the dom. Instead we
make an XMLHttpRequest object and load the code with that.

I tried to take some care of error handling introducing a new exception.

R=floitsch@google.com

Committed: https://code.google.com/p/dart/source/detail?r=32693

Committed: https://code.google.com/p/dart/source/detail?r=32695

Review URL: https://codereview.chromium.org//163733003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32698 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 13:10:16 +00:00
sigurdm@google.com b2c93ff65d Let deferred load work from worker isolates.
If we try to load a deferred library from a worker-isolate we cannot
inject a script tag because we do not have access to the dom. Instead we
make an XMLHttpRequest object and load the code with that.

I tried to take some care of error handling introducing a new exception.

R=floitsch@google.com

Committed: https://code.google.com/p/dart/source/detail?r=32693

Review URL: https://codereview.chromium.org//163733003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32695 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 12:44:21 +00:00
sigurdm@google.com 0b1fee8131 Let deferred load work from worker isolates.
If we try to load a deferred library from a worker-isolate we cannot
inject a script tag because we do not have access to the dom. Instead we
make an XMLHttpRequest object and load the code with that.

I tried to take some care of error handling introducing a new exception.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//163733003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32693 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 12:12:58 +00:00
floitsch@google.com 22ab27256e Fix null.runtimeType, reflect(null).type.superinterfaces, and reflect(null).getField.
null.runtimeType.toString() returned "JSNull".
reflect(null).type.superInterfaces mirrored on the interceptor and contained Null in the list.
reflect(null).getField was trying to cache the getters on the object and failed.

BUG= http://dartbug.com/16741
BUG= http://dartbug.com/12482
R=karlklose@google.com, kasperl@google.com

Committed: https://code.google.com/p/dart/source/detail?r=32650

Reverted: https://code.google.com/p/dart/source/detail?r=32652

Committed: https://code.google.com/p/dart/source/detail?r=32654

Reverted: https://code.google.com/p/dart/source/detail?r=32665

Review URL: https://codereview.chromium.org//161333002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32692 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 12:08:18 +00:00
floitsch@google.com 4b184d887a Revert "Fix null.runtimeType, reflect(null).type.superinterfaces, and reflect(null).getField."
Revert "Update status file."

This reverts commit r32654 and r32661.

Review URL: https://codereview.chromium.org//163853004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32665 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 18:36:46 +00:00
floitsch@google.com 69b2710ae4 Update status file.
Review URL: https://codereview.chromium.org//164143002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32661 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 17:41:50 +00:00
floitsch@google.com dfaf149d7e Fix null.runtimeType, reflect(null).type.superinterfaces, and reflect(null).getField.
null.runtimeType.toString() returned "JSNull".
reflect(null).type.superInterfaces mirrored on the interceptor and contained Null in the list.
reflect(null).getField was trying to cache the getters on the object and failed.

BUG= http://dartbug.com/16741
BUG= http://dartbug.com/12482
R=karlklose@google.com, kasperl@google.com

Committed: https://code.google.com/p/dart/source/detail?r=32650
Reverted: https://code.google.com/p/dart/source/detail?r=32652

Review URL: https://codereview.chromium.org//161333002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32654 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 15:10:12 +00:00
floitsch@google.com 9cbc78cd36 Revert "Fix null.runtimeType, reflect(null).type.superinterfaces, and reflect(null).getField."
This reverts commit r32650.

Review URL: https://codereview.chromium.org//163513003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32652 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 13:46:37 +00:00
floitsch@google.com 6e0b2d61c4 Fix null.runtimeType, reflect(null).type.superinterfaces, and reflect(null).getField.
null.runtimeType.toString() returned "JSNull".
reflect(null).type.superInterfaces mirrored on the interceptor and contained Null in the list.
reflect(null).getField was trying to cache the getters on the object and failed.

BUG= http://dartbug.com/16741
BUG= http://dartbug.com/12482
R=karlklose@google.com, kasperl@google.com

Review URL: https://codereview.chromium.org//161333002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32650 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 12:39:28 +00:00
rmacnak@google.com 0c821b2457 Fix getField/setField optimization for private members.
BUG=http://dartbug.com/16773
R=hausner@google.com

Review URL: https://codereview.chromium.org//160843003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32634 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:44:34 +00:00
karlklose@google.com 2ea953bd76 Implement reflection on annotations of parameters.
R=floitsch@google.com
BUG= http://dartbug.com/15820

Review URL: https://codereview.chromium.org//160343002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32600 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 14:28:33 +00:00
kasperl@google.com aca2f3ebe8 The tests affected by issue 16719 pass in CSP mode.
R=ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//160233003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32595 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 07:58:07 +00:00
rmacnak@google.com 1c7fecac7e Add TypeMirror.isSubtypeOf, TypeMirror.isAssignableTo, ClassMirror.isSubclassOf to the API, the VM runtime mirrors and the source mirrors.
BUG=http://dartbug.com/12439
BUG=http://dartbug.com/13856
R=gbracha@google.com, johnniwinther@google.com, regis@google.com

Review URL: https://codereview.chromium.org//126823004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32577 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 20:41:32 +00:00
ricow@google.com 199621ba71 Mark lib/async/stream_transform_test and pkg/async/test/stream_zip_test as failing on drt
These started failing after the roll to chrome 33

Review URL: https://codereview.chromium.org//140483007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32556 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 13:43:12 +00:00
kustermann@google.com 1626736d2c Remove flaky markers from status file for tests that are not flaky.
R=ricow@google.com

Review URL: https://codereview.chromium.org//135243005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32553 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 11:55:55 +00:00
floitsch@google.com f5e2b355f7 Improve Json constructor.
R=lrn@google.com

Review URL: https://codereview.chromium.org//133923004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32502 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 15:51:30 +00:00