Commit Graph

25510 Commits

Author SHA1 Message Date
lrn@google.com 3395a69db1 Update test expectations for dartc/dartium.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14327 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 11:30:29 +00:00
johnniwinther@google.com 32b27bd498 Update MirrorSystem
Review URL: https://codereview.chromium.org//11366004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14326 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:59:03 +00:00
johnniwinther@google.com ec9e32f669 ObjectMirror => ContainerMirror
declaredMembers => members

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14325 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:51:10 +00:00
lrn@google.com a8720a6d9c Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

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

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14324 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:32:54 +00:00
johnniwinther@google.com e3363ca49e ParameterMirror extends VariableMirror
Review URL: https://codereview.chromium.org//11358005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14322 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:14:03 +00:00
johnniwinther@google.com 9f771438ef TypeVariableMirror and TypedefMirror updated.
Review URL: https://codereview.chromium.org//11345035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14318 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 08:02:23 +00:00
johnniwinther@google.com 9dd3795cca FieldMirror => VariableMirror
+ member access methods

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14317 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 07:58:01 +00:00
johnniwinther@google.com e314b3f21b Member functions added to ClassMirror
Review URL: https://codereview.chromium.org//11338036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14283 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 14:31:11 +00:00
johnniwinther@google.com fba7570f65 Alignments for the ClassMirror interface.
Review URL: https://codereview.chromium.org//11348036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14282 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 14:25:26 +00:00
johnniwinther@google.com f3cd95e744 LibraryMirror interface updated to match dart:mirrors.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14276 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 13:34:52 +00:00
johnniwinther@google.com ab5d5b9200 isPrivate, isTopLevel moved to DeclarationMirror
Review URL: https://codereview.chromium.org//11347035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14270 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 12:12:06 +00:00
johnniwinther@google.com bad0f22863 Change surroundingDeclaration to DeclarationMirror.owner
Review URL: https://codereview.chromium.org//11337021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14264 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:36:44 +00:00
johnniwinther@google.com 72a529d5fc Move location to DeclarationMirror
Review URL: https://codereview.chromium.org//11345026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14262 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:12:26 +00:00
lrn@google.com 895d155ab1 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14260 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:47:42 +00:00
johnniwinther@google.com 1c222724d8 Introduce DeclarationMirror
Review URL: https://codereview.chromium.org//11338031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14257 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:25:27 +00:00
johnniwinther@google.com a9ec3ff87b Rename InterfaceMirror to ClassMirror
Review URL: https://codereview.chromium.org//11341037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14256 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:21:18 +00:00
lrn@google.com 4a24ddc1d4 Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14254 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:04:12 +00:00
ricow@google.com 318798e48c Add additional test harness error handling to test_controller.
We are seeing messed up output on firefox and the existing
eventhandler listinging for error is not sufficient for getting full
error output on firefox.
Review URL: https://codereview.chromium.org//11339039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14253 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:02:46 +00:00
scheglov@google.com 2e574c8c14 Issue 5887. Parts must start with 'part of'.
Second attempt.
Now only DartC changes, and status updates.
So, should not break anyone else.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 19:17:28 +00:00
lrn@google.com 778b0dc5e5 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14199 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 14:07:10 +00:00
lrn@google.com 0bcd2f4f7b Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14198 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 13:34:58 +00:00
scheglov@google.com dce51bf910 Using 'interface' and 'abstract' for methods should produce error
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14165 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-27 16:22:18 +00:00
gram@google.com 0b097d118e Fixed unittest documentation to use new import syntax.
See https://codereview.chromium.org/11229063/

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14160 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 23:14:28 +00:00
gram@google.com f7d27f2c64 Modified unittest to use new argument syntax.
Fix affected unit tests.
Clean up unit tests that are using Expect instead of expect.
Get rid of warnings about duplicated library names.
Review URL: https://codereview.chromium.org//11275054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14158 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 22:52:03 +00:00
lrn@google.com b8b5632148 Convert NoMoreElementsException and EmptyQueueException to StateError.
Review URL: https://codereview.chromium.org//11269045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14122 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 08:28:33 +00:00
gram@google.com 7e1fc337c7 Fix break.
Review URL: https://codereview.chromium.org//11265041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14116 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 00:22:41 +00:00
gram@google.com da30d37bcb Added a new Matcher, FeatureMatcher, that is a useful abstract base class
for creating custom matchers.
Review URL: https://codereview.chromium.org//11189040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14114 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 00:04:04 +00:00
amouravski@google.com b24c823d54 Add logic to exclude certain libraries from API doc.
Review URL: https://codereview.chromium.org//11260045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14108 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 22:28:26 +00:00
alanknight@google.com 03e97181bc Reinstate skipping of http_request_test on dartium
Review URL: https://codereview.chromium.org//11263056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14102 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 21:29:10 +00:00
alanknight@google.com 583697cae9 Tolerate null from finding browser locale, re-enable tests
Review URL: https://codereview.chromium.org//11265028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14097 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 20:07:02 +00:00
floitsch@google.com 9cc9214b58 Rename regexp methods to getters.
Review URL: https://codereview.chromium.org//11266050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14094 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:31:56 +00:00
floitsch@google.com 2e778387b3 Make getKeys, getValues getters (keys, values).
Review URL: https://codereview.chromium.org//11267018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14093 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:22:11 +00:00
efortuna@google.com 5df1c2a7ad Enable Opera tests.
Review URL: https://codereview.chromium.org//11271016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14091 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 18:05:43 +00:00
floitsch@google.com 3300f91153 Make first and last getters.
Review URL: https://codereview.chromium.org//11273041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14082 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 15:19:31 +00:00
floitsch@google.com e7c5e69beb Make String.charCodes a getter.
Review URL: https://codereview.chromium.org//11263040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14078 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 14:25:43 +00:00
amouravski@google.com 3b5d04dc95 Fixes documentation generation for dart:html.
Specifically, this looks at the canonical URI for a library, and if it begins
with dart:, then use the canonical path as the printed name, otherwise use the
simpleName, which is generally the library name.

This was necessary because the new import syntax changed the simpleName from
say "dart:html" to "html". This should work for all other libraries, too, which
will be updated to the new import syntax in following CLs.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14040 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 21:25:17 +00:00
floitsch@google.com 09f6d09d88 Make isEmpty a getter.
Review URL: https://codereview.chromium.org//11238035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14022 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 15:04:32 +00:00
floitsch@google.com 0e47b363ae Make hasNext a getter instead of a method.
Review URL: https://codereview.chromium.org//11230011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14015 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 13:05:11 +00:00
lrn@google.com a083c1a108 Removed IllegalAccessException and UnsupportedOperationException.
Both were converted to StateError.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14012 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:36:10 +00:00
efortuna@google.com ce3543f212 Reapply ie to ie9 rename.
Review URL: https://codereview.chromium.org//11231081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13978 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 17:17:30 +00:00
efortuna@google.com 920589055f Revert rename ie to ie9.
Review URL: https://codereview.chromium.org//11249003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13976 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:28:33 +00:00
floitsch@google.com 27cadf2b66 isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue.
Review URL: https://codereview.chromium.org//11227042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13974 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:15:36 +00:00
ahe@google.com 6254729761 Revert "Parts must start with 'part of'" and "Attempt to fix VM build"
This reverts r13961 and r13963.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13967 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 14:24:04 +00:00
scheglov@google.com 50b5b6e1a8 Parts must start with 'part of'
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13961 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:20:50 +00:00
efortuna@google.com aced5af6e3 Intl browser locale status on IE.
Review URL: https://codereview.chromium.org//11236058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13918 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 01:26:35 +00:00
efortuna@google.com 5c11640be1 Fix pkg.status with ie9 rename.
Review URL: https://codereview.chromium.org//11225049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13916 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 23:53:50 +00:00
floitsch@google.com 9074fd0178 Make hashCode a getter and not a method.
Review URL: https://codereview.chromium.org//11191078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13866 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 12:41:04 +00:00
scheglov@google.com 09b22d5b46 Issue 6073. Fixes for 'export'.
http://code.google.com/p/dart/issues/detail?id=6073

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13853 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-20 20:47:58 +00:00
jmesserly@google.com 42eb359010 fix warning in Logger
(setter type must be "void" or "Dynamic")

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13848 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 23:43:48 +00:00
ahe@google.com 5e0c331388 Turns out that dartc didn't implement export.
Review URL: https://codereview.chromium.org//11194079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13811 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 08:35:00 +00:00