Commit Graph

23 Commits

Author SHA1 Message Date
lrn@google.com a1faa6f135 Change IllegalArgumentException to ArgumentError.
Review URL: https://codereview.chromium.org//10989013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12841 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 12:27:52 +00:00
danrubel@google.com e3ad38a535 migrate raw string to new syntax in core
Review URL: https://codereview.chromium.org//10964046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12747 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-22 14:53:11 +00:00
rnystrom@google.com b81b2cd656 If transformException() returns a future, act like chain().
Review URL: https://codereview.chromium.org//10958021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12661 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 22:35:04 +00:00
lrn@google.com ee569ce10a Reapply conversion of most core interfaces to abstract classes.
Previous commit was reverted due to hitting an unrelated error.

TBR=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12551 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 10:48:14 +00:00
johnniwinther@google.com 4bb37a7a90 Normalization of patch signatures.
This is the second part of the patch refactoring which will require identical signatures on patches and their origins.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12542 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 09:00:47 +00:00
ricow@google.com 055ca720df Revert 12494.
This is causing failures in checked mode

TBR
Review URL: https://codereview.chromium.org//10948009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12501 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 14:52:10 +00:00
lrn@google.com 60bfeadcf6 Convert most interfaces in dart:core to abstract classes.
Review URL: https://codereview.chromium.org//10950006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12494 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 12:43:10 +00:00
lrn@google.com 26fab5183a Move parseInt parseDouble to int/double classes as a static method.
Remove math dependency from core/coreimpl in dart2js.
The existing Math.parseInt and Math.parseDouble are kept *for now*, but
simply redirect to the static methods.
They will be removed in time (when library code is ready for it).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12417 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-17 07:25:38 +00:00
ager@google.com 665aaf939f Patch print directly in corelib instead of going through coreimpl.
R=ajohnsen@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10928145

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12316 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 11:50:19 +00:00
kasperl@google.com 997e534c28 Change Duration to take proper named optional parameters.
R=bak@google.com,lrn@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10905255

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12314 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 11:17:31 +00:00
ager@google.com 2e49065159 Reapply changes to Expando patching.
R=ajohnsen@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10911201

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12181 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 11:03:50 +00:00
ager@google.com 1adc0b35a2 Revert Expando changes. There are checked-mode errors that I need
to sort out.

Revert "Patch expando directly in corelib instead of going through coreimpl."

Revert "Fix merge error."

R=ajohnsen@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10918163

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12158 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 05:39:05 +00:00
ager@google.com e3f4f6696e Patch expando directly in corelib instead of going through coreimpl.
R=ajohnsen@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10908173

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12156 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 05:27:31 +00:00
lrn@google.com 9ae63b5684 Revert "Remove dart2js specific core.dart and coreimpl.dart files."
TBR=johnniwinter@google.com

Review URL: https://chromiumcodereview.appspot.com//10911179

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12101 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 08:50:40 +00:00
lrn@google.com d47489ba3c Remove dart2js specific core.dart and coreimpl.dart files.
Review URL: https://chromiumcodereview.appspot.com//10908167

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12100 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 08:05:49 +00:00
srdjan@google.com 362f2b538b Fixed exception text.
Review URL: https://chromiumcodereview.appspot.com//10905149

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12044 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 16:27:50 +00:00
kasperl@google.com 9beb871852 Get rid of a lot of () for getters.
R=bak@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10919146

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12017 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 11:50:07 +00:00
rnystrom@google.com 2f2df82784 Support transforming the exception in Future.transform().
Review URL: https://chromiumcodereview.appspot.com//10908040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11844 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-04 21:52:31 +00:00
bak@google.com 5782b0beba - Removed named constructor Stopwatch.start() due to conflict with instance methods start().
This change reduces errors reported by dart_analyser when cheking corelib.
- Change comment format in newissues.dart.
Review URL: https://chromiumcodereview.appspot.com//10908066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11801 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-04 10:56:29 +00:00
ager@google.com 5e0098f34e Fix lib/core/core.dart and lib/coreimpl/coreimpl.dart files.
Where did these files come from?

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

Review URL: https://chromiumcodereview.appspot.com//10918053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11788 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-04 07:42:53 +00:00
ager@google.com 156e6a71b5 First corelib cleanup patch after unification.
Do not go through coreimpl for object implementation. Instead, use patching
in core directly.

This leads to error message issues in dart2js which I have patched up
the best way I could find.

R=ajohnsen@google.com,johnniwinther@google.com,lrn@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10918047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11784 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-04 07:26:02 +00:00
iposva@google.com 387a2fbcae - Change "static final" to "static const" in the lib/coreimpl/ directory.
Review URL: https://chromiumcodereview.appspot.com//10910037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11705 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-31 17:58:26 +00:00
ajohnsen@google.com 3cf5d6531d Move core and coreimpl from corelib/ to lib/core and lib/coreimpl.
BUG=

Review URL: https://chromiumcodereview.appspot.com//10890030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11606 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 11:45:40 +00:00