Commit Graph

2071 Commits

Author SHA1 Message Date
whesse@google.com 265c25a4a2 Add fields to platform library, implement them on runtime dart.
BUG=
R=ahe@google.com, ajohnsen@google.com, floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29244 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 11:48:28 +00:00
lrn@google.com 3a01260611 Remove dart:json
BUG= http://dartbug.com/12843
R=floitsch@google.com, fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29240 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 10:30:34 +00:00
zarah@google.com 32814d4233 Substitute types in instances of generic classes.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29235 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 07:52:21 +00:00
efortuna@google.com 4a8d13f0f6 Fix Rectangle test with method name.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29205 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:48:44 +00:00
asiva@google.com 10eac518ef Fix analyzer test status.
Review URL: https://codereview.chromium.org//40703003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29188 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:40:26 +00:00
ajohnsen@google.com 28efa85e19 Add empty dart:platform library.
dart:platform will be a library that contains information about the runtime
platform. While it's not written in stones, this is examples of properties that
may be queried:

- OS
- Browser
- Browser version
- Dart Version
- numberOfProcessors
- pathSeparator
- Native or JS VM

BUG=
R=ahe@google.com, asiva@google.com, floitsch@google.com, iposva@google.com, kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29154 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 06:56:36 +00:00
rmacnak@google.com ccfaa29881 Make type variables belong to the original declaration in VM.
BUG=http://dartbug.com/14240
R=gbracha@google.com, zarah@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29106 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 18:28:46 +00:00
floitsch@google.com e00ecda482 Update status file.
Review URL: https://codereview.chromium.org//32193009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29071 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 11:14:46 +00:00
floitsch@google.com d8ebf58a39 Remove default value in factory constructor.
BUG= http://dartbug.com/14284
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29064 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 08:27:15 +00:00
zra@google.com d507fb5197 Updates status files for fixed ARM builder.
Review URL: https://codereview.chromium.org//36223002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29046 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 23:19:38 +00:00
rmacnak@google.com 9ea114a17d Mark mirrors/immutable_collections_test as still failing on Dartium.
Review URL: https://codereview.chromium.org//34503008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29044 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 22:20:28 +00:00
rmacnak@google.com cfa80041e9 VM: Always return immutable collections from the mirrors.
Fix assert in partial demangling. Fix inappropriate compilation when handling parameters.

BUG=http://dartbug.com/14027
R=ahe@google.com, asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29030 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:53:14 +00:00
rmacnak@google.com a3cd93fa15 Cover an example of equality and hashCode for each type of mirror.
BUG=http://dartbug.com/6680
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29015 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:16:39 +00:00
zarah@google.com c065deea46 Update lib.status.
Review URL: https://codereview.chromium.org//32673009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28995 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 11:39:47 +00:00
zarah@google.com 8dcc56c7d6 Update lib.status.
Review URL: https://codereview.chromium.org//34933003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28994 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 11:05:34 +00:00
zarah@google.com 00585d9dac Fix class_mirror_type_variable_test.
Review URL: https://codereview.chromium.org//34723003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28993 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 10:39:37 +00:00
zarah@google.com 6da04e04e2 Support reflection on recursive upper bounds of type variables.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28991 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 10:20:16 +00:00
rmacnak@google.com bd284f7262 Generic typedefs and their referents.
BUG=http://dartbug.com/12282
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28972 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 00:00:08 +00:00
kustermann@google.com d71c26f94d Status file update for ARM
TBR=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28955 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 21:47:55 +00:00
rmacnak@google.com a5fd049d73 Hide MirroredCompilationErrror behind a flag until post-1.0. Remove VM reference to MirroredUncaughtExceptionError.
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28946 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 20:12:49 +00:00
brianwilkerson@google.com d5b1b38557 Fix issue 13664
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28941 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 19:13:03 +00:00
rmacnak@google.com addba00bd7 Fix VM crash when ClosureMirror.findInContext operates on a fake function.
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28937 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 17:10:21 +00:00
rmacnak@google.com d5931765f3 Add test for type variable ownership.
R=gbracha@google.com, zarah@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28936 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 16:56:13 +00:00
ajohnsen@google.com a969c5297b Don't use non-0 Timers for async tests.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28930 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 13:03:52 +00:00
ajohnsen@google.com eb64b2486f Let StreamSubscription.cancel return a Future.
This gives the ability mark a subscription cancel as asynchrouns. Thiw
now means that StreamController's onCancel takes either a value (null in
    most cases) and a Future, just like 'new Future(() => value)'.

BUG=
R=floitsch@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28925 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 12:09:41 +00:00
sra@google.com 49a3c1a6ea Revert "Revert "Resolve metadata on library tags""
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28887 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 22:09:58 +00:00
sra@google.com a8f349dbaf Revert "Resolve metadata on library tags"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28883 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 21:55:32 +00:00
sra@google.com 64f8f67333 Resolve metadata on library tags
Preemptively resolving metadata on library tags ensures they are resolved when queried from back end.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28882 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 21:48:40 +00:00
rmacnak@google.com 0d23dbc1e2 Make TypedefMirror a direct descendant of TypeMirror.
BUG=http://dartbug.com/11616
R=ahe@google.com, asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28862 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 16:59:55 +00:00
johnniwinther@google.com 09116b857b Force resolution on metadata of static members
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28847 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 09:15:47 +00:00
scheglov@google.com 581b368515 New analyzer_experimental snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28831 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 22:14:19 +00:00
rmacnak@google.com c64d749f49 Remove conflict between type parameter and method/field from typevariable_mirror_metadata_test. Remove irregularity in metadata lookup naming that dealt with allow their co-existence.
BUG=http://dartbug.com/13327
BUG=http://dartbug.com/14016

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28815 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 18:49:27 +00:00
hausner@google.com 0e099ff048 Check that class member names do not conflict with type parameters
Implement check that member names do not conflict with type
parameters. Simplify name checks in class namespace.
Mark typevariable_mirror_metadata_test as failing now that we
report the proper compile time errors. (The test expects no errors.)
Some co19 tests expect a name conflict between a setter X= and type
parameter X. This is still in flux from a language perspective. This
change list does not introduce an compile error for this case.

Fix for issue 13701.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28808 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 17:39:08 +00:00
zarah@google.com 440e6729be Reapply "Reapply "Add TypeVariable object on runtime to support reflection on type variables." and "Fix type of Iterable.".""
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28797 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 11:16:14 +00:00
kustermann@google.com 5de78ae149 Remove status file entries referring to non-existent tests
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28795 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 10:03:14 +00:00
floitsch@google.com af06e8ba5a Fix scheduleImmediate in Dartium.
BUG= http://dartbug.com/14146
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28792 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 08:59:32 +00:00
rmacnak@google.com 58c1759454 Generic instantiations of mixins and interfaces. Equality of type parameters.
BUG=http://dartbug.com/14113
BUG=http://dartbug.com/14114
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28768 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 00:16:34 +00:00
rmacnak@google.com c7211b51c4 Re-enable constructor kinds test on Mac Dartium following fix to initializion of the redirection bit in r28736.
BUG=http://dartbug.com/13999
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28761 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 23:18:09 +00:00
blois@google.com c1996cc17f Updating microtask test status
I believe that https://codereview.chromium.org/27565003 had a typo (does not include DRT).

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28748 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 20:42:14 +00:00
rmacnak@google.com de9bfaa347 Update mirror tests to new mixin application syntax.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28742 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 18:22:12 +00:00
ajohnsen@google.com 4bd615fa32 Fix status-file for schedule_microtask_test on dart2js-drt.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28738 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 17:41:25 +00:00
zarah@google.com 5ad0b1da0a Revert "Reapply "Add TypeVariable object on runtime to support reflection on type variables." and "Fix type of Iterable."."
This reverts commit r28726.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28730 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 16:13:14 +00:00
kustermann@google.com 962511d688 Skip zoned tests on dartium/drt
Review URL: https://codereview.chromium.org//27197008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28728 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 15:53:49 +00:00
zarah@google.com 9ed673286a Reapply "Add TypeVariable object on runtime to support reflection on type variables." and "Fix type of Iterable.".
This reverts r28717.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28726 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 15:15:09 +00:00
lrn@google.com a2e03e5463 Fix flaky stream_controller_async_test.
BUG= http://dartbug.com/163608
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28719 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 11:29:13 +00:00
zarah@google.com ea215826f9 Revert "Add TypeVariable object on runtime to support reflection on type variables." and "Fix type of Iterable.".
This reverts commit r28708 and r28713.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28717 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 09:47:13 +00:00
ajohnsen@google.com 762ac7f511 Add support for micro-tasks in Dartium.
We are using the MutationObserver to schedule immediate events.

BUG=
R=blois@google.com, floitsch@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28715 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 09:16:22 +00:00
lrn@google.com 8b1d5720f7 Change "typedef" to "class" in core library and related tests.
R=floitsch@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28712 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 09:02:46 +00:00
zarah@google.com a741237b80 Add TypeVariable object on runtime to support reflection on type variables.
R=ahe@google.com, karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28708 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 08:17:16 +00:00
rmacnak@google.com 15bc17777f Add mirror tests for generic interfaces. Add base-language test for malbounded interfaces.
B=http://dartbug.com/14118
R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28703 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 01:06:56 +00:00