Commit Graph

2071 Commits

Author SHA1 Message Date
rmacnak@google.com e8d030b338 Do not hide membership of implementation classes in dart:core.
BUG=http://dartbuc.com/12141
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28695 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:15:10 +00:00
rmacnak@google.com 06e159f087 Add mirror tests for f-bounded mixin applications and generic mixins (not to be confused with mixin applications).
R=ahe@google.com, gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28664 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 17:22:48 +00:00
rmacnak@google.com 259c83c8d5 Add test for ClassMirror.mixin. Rename the mixin application test.
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28660 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:55:46 +00:00
rmacnak@google.com 9662a9ab58 Give dart2js partial coverage from the initializing formals test. (Mostly their types.)
BUG=http://dartbug.com/11281
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28656 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:40:31 +00:00
ajohnsen@google.com 732ab1ce4d Add factory-method for scheduleMicrotask, as well as a (failing) test.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28653 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:22:04 +00:00
floitsch@google.com 10e9a799d1 Make print interceptable.
BUG= http://dartbug.com/3486
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28650 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:02:07 +00:00
rmacnak@google.com d278f9f3c4 New mirror tests: basic types found in dart:core and member collections are immutable.
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28591 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 17:07:32 +00:00
floitsch@google.com 0f7a0bd7b1 Rename runAsync to scheduleMicrotask.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28569 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 15:52:17 +00:00
floitsch@google.com dc9c5f42ed Redo StreamTransformers so they work with Stack traces.
Since this involved a breaking change I cleaned up more of the
StreamTransformer API.

This CL also deprecates the getAttachedStackTrace method.

R=ajohnsen@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28562 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 12:34:34 +00:00
rmacnak@google.com 564fbb68dd Add proper API for creating private symbols wrt a library.
BUG=http://dartbug.com/13355
BUG=http://dartbug.com/12358
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28551 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 20:56:14 +00:00
scheglov@google.com 037710054d Issue 13703. Report CONFLICTING_TYPE_VARIABLE_AND_CLASS and CONFLICTING_TYPE_VARIABLE_AND_MEMBER.
https://code.google.com/p/dart/issues/detail?id=13703

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28541 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 19:17:04 +00:00
floitsch@google.com 3cdd1b2e72 Update status file with flaky stream_controller_async_test.
Review URL: https://codereview.chromium.org//26851006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28518 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 14:50:16 +00:00
floitsch@google.com 4be547c705 Adapt streams for additional stackTrace argument.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28511 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 12:02:20 +00:00
floitsch@google.com 956243966a Add second argument to Future error handlers.
R=lrn@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28510 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 11:42:39 +00:00
kustermann@google.com b24a73c137 Remove unittest-based wrapping from our testing scripts
The unittest-based wrapping of tests is completely broken and will be removed
with this CL. ('none-drt' is the last configuration where we currently still do
unittest-based wrapping.)

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28501 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 09:01:17 +00:00
rmacnak@google.com 8a0d62f5f9 Substitution for type variables in mirrors on instantiated generics.
BUG=http://dartbug.com/12282
BUG=http://dartbug.com/13808
R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28495 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 01:51:11 +00:00
rmacnak@google.com 2320d631c2 Mark constructor_kinds as failing on Mac Dartium.
Review URL: https://codereview.chromium.org//26273004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28494 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 01:31:38 +00:00
johnmccutchan@google.com 90895e8d39 Forward stores to loads for SIMD arrays
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28467 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 17:43:50 +00:00
karlklose@google.com fe699a2139 Update dart2dart test expectations.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28461 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 16:30:13 +00:00
ricow@google.com bebf082a9e Update crash suppression to include dartium timeout (for dartium)
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28447 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 11:54:06 +00:00
rmacnak@google.com 281980cb4d Mark generic bounds tests as failing the analyzer as well.
Review URL: https://codereview.chromium.org//26420003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28437 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 00:54:36 +00:00
rmacnak@google.com 90772b13b8 Mirror tests for type bounds.
R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28435 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 00:34:17 +00:00
rmacnak@google.com 6ed9f2c17f Implement constructor kinds in the VM mirrors.
BUG=http://dartbug.com/13798
R=asiva@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28416 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 20:40:11 +00:00
vsm@google.com 334fd6bf07 Mark spawnFunction tests as Fail on Dartium
See corresponding Dartium CL:
https://chromiumcodereview.appspot.com/26397003/

This disables spawnFunction on DOM enabled isolate (i.e., where
dart:html is available).  spawnFunction should continue to work on
non-DOM enabled isolated.  spawnUri should be unaffected.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28406 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 16:25:28 +00:00
rmacnak@google.com 41f0d0e0f1 Correctly report the type of initializing formals declared without an explicit type to be the type of the corresponding field.
BUG=http://dartbug.com/11281
R=gbracha@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28349 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 01:08:59 +00:00
rmacnak@google.com 27d8969f33 Add test coverage for InstanceMirror.type in the face of a reflectee that overrides runtimeType.
R=gbracha@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28311 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 16:38:43 +00:00
ricow@google.com 478e651c90 Mark lib/mirrors/delegate_test as failing in csp mode
Filed issue 13864 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28303 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 11:21:08 +00:00
kustermann@google.com ac254a8633 Status file update for builders runnig none-dartium tests
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28297 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-06 21:10:25 +00:00
scheglov@google.com 59fd8f58c8 New analyzer_experimental snapshot.
1. "catch (Exception e)" is translated into "on JavaException catch (e)".
2. Java exceptions now extend JavaException.
3. MemberMap moved into resolver, because it is not a generic collection and has references to elements.

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28296 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-06 05:11:15 +00:00
rmacnak@google.com b297840078 Also mark new tests as failing on the full browser.
Review URL: https://codereview.chromium.org//26047002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28285 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 22:06:56 +00:00
efortuna@google.com eaa854b258 Move Rectangle and Point into dart:math.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28272 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:47:39 +00:00
rmacnak@google.com 4691c007bf More mirror tests: initializing formals and substituted types in instantiated generics.
BUG=
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28271 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:41:51 +00:00
rmacnak@google.com b444bb86a9 Add missing test coverage for constructor kinds, generic function typedefs, generic mixin applications, delegate, type arguments are type variables.
BUG=
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28270 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:32:21 +00:00
rmacnak@google.com 3cbf9141ae Make reflectClass in dart2js behave appropriately when passed bad arguments.
BUG=http://dartbug.com/13145
R=zarah@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28269 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:25:08 +00:00
kustermann@google.com 2375d10c36 Mark two tests as flaky on none-dartium
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28267 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 16:41:59 +00:00
kustermann@google.com edacf33810 Status file update for none-dartium
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28254 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 09:25:26 +00:00
scheglov@google.com f9a1508351 Symbol literal is constant.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28249 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 22:21:53 +00:00
scheglov@google.com 8f245c156c Issue 13510. Fix for parsing symbol literal with built-in identifiers.
https://code.google.com/p/dart/issues/detail?id=13510

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28247 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 22:17:21 +00:00
floitsch@google.com 33317348ae Skip unicode test on IE. Just too slow.
Review URL: https://codereview.chromium.org//25660013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28228 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 16:35:06 +00:00
floitsch@google.com c542047285 Update status file.
Review URL: https://codereview.chromium.org//25859003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28223 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 15:47:07 +00:00
floitsch@google.com 15f15c7c89 Mark utf85_test as slow on simarm.
Review URL: https://codereview.chromium.org//25683008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28220 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 13:31:34 +00:00
floitsch@google.com 79e82f80ce Reapply utf85_test.
Bug in VM has been fixed. It shouldn't take that long anymore.

This test was originally LGTMed in https://chromiumcodereview.appspot.com/25463003/

R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28198 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 08:51:43 +00:00
efortuna@google.com 0b53b15b7d "Reverting 28184"
TBR=blois

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28186 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 22:13:16 +00:00
efortuna@google.com 837c6b6ee3 Move Point and Rect over to dart:math, to be re-exported by dart:html.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28184 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 21:54:02 +00:00
kustermann@google.com 22d20313b4 Implement testing support for "--compiler=none --runtime=dartium"
This is implemented without the broken unittest-based wrapping of tests.

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28141 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 07:37:50 +00:00
rmacnak@google.com cd5ca9a0ec Rework redirection_type_shuffling_test to not require status override for analyzer.
R=brianwilkerson@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28116 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 20:48:46 +00:00
rmacnak@google.com 82a61d437c Mark "failure" for analyzer on mirrors/redirection_type_shuffling. Multitest cannot express a situtation where something should fail in checked mode on the VM or dart2js but not in the analyzer.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28113 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 19:46:42 +00:00
rmacnak@google.com ab2d2fc25b Make ClassMirror.newInstance deal with reordered etc type arguments for redirecting factories.
BUG=http://dartbug.com/11781
BUG=http://dartbug.com/13365
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28106 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 18:23:24 +00:00
floitsch@google.com 37b31bcbd6 Remove utf85_test for now. It's too slow.
Review URL: https://codereview.chromium.org//25548003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28098 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 15:41:36 +00:00
floitsch@google.com c1460894d6 Fix UTF8 encoder for Unicode runes > 0xFFFF.
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28095 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 12:11:02 +00:00