Commit Graph

1115 Commits

Author SHA1 Message Date
rmacnak@google.com fdeb88dda0 Remove implementation of deprecated mirror API from the VM.
(Redo of r30005)

BUG=http://dartbug.com/14931

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30805 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 00:34:09 +00:00
floitsch@google.com 4b316431fa Implement scheduleImmediate for the VM.
BUG= http://dartbug.com/9001
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30797 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-02 16:27:07 +00:00
zarah@google.com b1635b0bd6 Update status file.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30785 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 14:32:35 +00:00
zarah@google.com 8aa0a2cd04 Substitute type variables as type arguments.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30769 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 08:45:43 +00:00
lrn@google.com e0314a6117 Add Future.timeout.
R=floitsch@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30745 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-28 08:16:01 +00:00
lrn@google.com b6f12eb784 Don't expect timer to work on dart2js-d8.
Review URL: https://codereview.chromium.org//91423002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30714 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 12:57:14 +00:00
zarah@google.com f7dd88c13e Support reflection on generics with dynamic types.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30700 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 09:09:26 +00:00
ngeoffray@google.com 79cd61ea07 Mark test as failing on dart2js.
Review URL: https://codereview.chromium.org//90903002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30695 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 07:52:02 +00:00
zarah@google.com d997b51cf3 Change type of parameter with 'var' as modifier in initializing formals to the static type of the field.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30617 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 11:43:58 +00:00
regis@google.com d1e945994e Improve type test and type equality for generics (issue 15148).
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30546 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 21:30:51 +00:00
floitsch@google.com a1f8bd4fb9 Update status file.
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30475 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 16:01:23 +00:00
rmacnak@google.com bc39a8afe8 When ClassMirrors are created by enumerating members of a LibraryMirror, have the ClassMirror use that LibraryMirror as its owner.
BUG=http://dartbug.com/14449
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30291 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 20:35:59 +00:00
rmacnak@google.com 5e310f4e31 Update mirror tests for removed API and other analyzer warnings.
BUG=http://dartbug.com/14695
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30290 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 19:55:05 +00:00
sra@google.com 7938b72e38 Reapply "Fix issues with field names by ensuring that fields have exactly one name regardless of how the class is extended or mixed."
One additional test started passing, two tests were failing because we generated a gibberish JavaScript property.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30265 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 03:02:02 +00:00
zarah@google.com cf17a98d70 Reapply "Retain types of toplevel and instance variables for reflection."
This reverts commit r30222.

R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30224 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 12:43:19 +00:00
zarah@google.com 7e41b9a3ec Revert "Retain types of toplevel and instance variables for reflection."
This reverts commit r30220.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30222 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 10:04:56 +00:00
zarah@google.com 210f198e8e Retain types of toplevel and instance variables for reflection.
R=johnniwinther@google.com, karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30220 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 09:21:36 +00:00
rmacnak@google.com 1dcc9ea681 Ensure constructorName symbols include private manglings.
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30178 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 23:08:38 +00:00
rmacnak@google.com cc3e05ea99 Implement VariableMirror.isConst in the VM and ParameterMirror.isConst in dart2js.
BUG=http://dartbug.com/14671
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30161 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 17:54:58 +00:00
rmacnak@google.com 93d342b42e Use the runtime for generic subsitution of variable types, return types, parameter types.
BUG=http://dartbug.com/14613
BUG=http://dartbug.com/14156
R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30120 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 17:54:59 +00:00
iposva@google.com 1cae21b556 - Reverting mirror changes.
Review URL: https://codereview.chromium.org//62373008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30029 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 02:07:37 +00:00
iposva@google.com d27c33b5b2 - Reverting mirror changes.
Review URL: https://codereview.chromium.org//61873007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30028 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:57:18 +00:00
iposva@google.com a2d280501e - Reverting mirror changes.
Review URL: https://codereview.chromium.org//63563003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30027 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:48:45 +00:00
rmacnak@google.com bc897425e1 Cascaded mirror removal revert.
Review URL: https://codereview.chromium.org//63363003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30024 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:20:51 +00:00
rmacnak@google.com 8113397b88 Revert removed mirror API from VM.
Review URL: https://codereview.chromium.org//62373006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30023 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:15:17 +00:00
rmacnak@google.com 1caa73df59 Remove implementations of mirror methods not in the API from the VM. Update tests.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30005 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 22:30:45 +00:00
scheglov@google.com 24e318c4a6 Issue 14688. Resolve more annotation variants.
https://code.google.com/p/dart/issues/detail?id=14688

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29819 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 16:59:34 +00:00
floitsch@google.com 5e2def02a1 Mark timer test as flaky on IE9.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29783 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-02 00:37:43 +00:00
floitsch@google.com 35e9ae50d9 Fix warnings in library-tests.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29756 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 17:01:11 +00:00
zarah@google.com 48818779ea Reapply "Substitute types in generic superclasses and interfaces." .
This reverts commit r29553.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29725 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 07:51:27 +00:00
rmacnak@google.com 9a41994d31 Handle metadata with qualified identifiers.
BUG=http://dartbug.com/11857
BUG=http://dartbug.com/14652
R=gbracha@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29720 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 01:19:31 +00:00
rmacnak@google.com b674d13ef1 Mark findInContext as failing on dartium, but not drt.
Review URL: https://codereview.chromium.org//51893006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29719 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 01:03:09 +00:00
rmacnak@google.com dcdeab580c Mark findInContext tests as failing on Dartium (can't pass VM flag).
Review URL: https://codereview.chromium.org//55213003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29706 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 21:49:13 +00:00
scheglov@google.com 5ebcad09e8 Issue 14653. It is compile-time error to use unresolved identifier for annotation.
https://code.google.com/p/dart/issues/detail?id=14653

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29700 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 21:08:26 +00:00
rmacnak@google.com 07c3de9310 Mirror implementation removals: async invoke, mirrorSystemOf(port), Mirror.mirrors.
(API was removed in r29492)

R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29698 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 21:01:59 +00:00
rmacnak@google.com f3384bf0eb Hide ClosureMirror.findInContext behind a flag for 1.0.
Test findInContext does not wildcard privates. Fix confused test and implementation that expected inheritance of static members.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29697 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 20:50:17 +00:00
rmacnak@google.com 05bd81f872 Align behavior of VM's ObjectMirror.setField with language semantics.
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29692 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 20:21:01 +00:00
zra@google.com 413cc1a24d Fixing fingerprint.
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29683 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 17:32:06 +00:00
ricow@google.com cc19fd66b7 Mark lib/typed_data/uint32x4_list_test as flaky crashing on sim-mips
BUG: 14644

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29655 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 08:18:03 +00:00
johnmccutchan@google.com 3f95f0894e Mark uint32x4_list as crashing on SIMMIPS
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29649 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:07:33 +00:00
rmacnak@google.com 4f580969d8 Tests and docs for instanceMembers, staticMembers, toplevelMembers.
BUG=http://dartbug.com/14632
BUG=http://dartbug.com/14633
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29593 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 22:09:54 +00:00
scheglov@google.com 890aeb7afa Issue 14524. Support for function type alias as a type literal.
https://code.google.com/p/dart/issues/detail?id=14524

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29585 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 20:57:50 +00:00
rmacnak@google.com de5ab09605 Implement ObjectMirror.[] the VM.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29578 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 19:02:46 +00:00
scheglov@google.com 9903368cef Issue 14580. Fix for extra type arguments applying.
https://code.google.com/p/dart/issues/detail?id=14580

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29571 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 17:50:22 +00:00
zarah@google.com 537464fb50 Revert "Substitute types in generic superclasses and interfaces."
This reverts commit r29545.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29553 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 15:18:52 +00:00
ahe@google.com 36e2df1a1d Mirrors overhaul.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29551 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 14:58:58 +00:00
zarah@google.com ca06578fa2 Substitute types in generic superclasses and interfaces.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29545 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 14:01:28 +00:00
rmacnak@google.com 0abc881d9e Mirror API removals: async invocations, mirrorSystemOf(port), Mirror.mirrors.
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29492 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 21:14:19 +00:00
whesse@google.com 3b54950144 Remove dart:platform library.
This reverts commits r29154, r29244, r29251, r29268, and r29272.
The dart:io Platform class will not be moved to a dart:platform library.

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29435 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 11:33:34 +00:00
rmacnak@google.com 56ce946cbf Re-triage mirror test failures on the analyzer.
R=kustermann@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29407 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 00:15:57 +00:00