Commit graph

15748 commits

Author SHA1 Message Date
karlklose@google.com c3d24e1eaf Rename Type to DartType to avoid conflicts with the class Type in the core library.
BUG=http://code.google.com/p/dart/issues/detail?id=4810

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11619 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 15:13:29 +00:00
kasperl@google.com 0af11bc9c4 More uses of the new try-catch syntax.
With this change, the VM can run all tests (except co19) without
allowing the use of the old try-catch syntax.

R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11600 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 11:14:39 +00:00
kasperl@google.com 5cdf2f11d6 Change a few more uses of the old try-catch syntax.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11594 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 09:51:52 +00:00
sgjesse@google.com 686bd7b5a1 Disable failing test
R=kmillikin@google.com

BUG=dart:4838

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11582 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 08:09:06 +00:00
lrn@google.com 78f404baca Remove library_map.dart.
Review URL: https://chromiumcodereview.appspot.com//10894005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11519 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 12:57:32 +00:00
johnniwinther@google.com e1e9e5e9dc Fix bad merge
Review URL: https://chromiumcodereview.appspot.com//10892031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11510 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 10:50:31 +00:00
johnniwinther@google.com c57b7b0a3a 'Find-as-you-type'-search in dartdoc/apidoc.
Review URL: https://chromiumcodereview.appspot.com//10829361

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11508 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 10:35:30 +00:00
bak@google.com 040a759e13 Removed syntax error from example.dart.
Review URL: https://chromiumcodereview.appspot.com//10896034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11506 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 10:18:52 +00:00
ahe@google.com 25139ee7e5 Support unary - operator.
Committed: https://code.google.com/p/dart/source/detail?r=11444 (first attempt failed)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11496 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 08:39:02 +00:00
ahe@google.com 8a347d7bcd Revert "Support unary - operator."
This reverts r11444.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11446 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 14:15:16 +00:00
ahe@google.com 11e4924af4 Support unary - operator.
Review URL: https://chromiumcodereview.appspot.com//10870066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11444 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 13:55:11 +00:00
brianwilkerson@google.com 4154c44a1c Add support for the metadata we currently support in comments
Review URL: https://chromiumcodereview.appspot.com//10877024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11230 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 14:43:36 +00:00
johnniwinther@google.com 7c61b110d8 Const variables handled as final
Review URL: https://chromiumcodereview.appspot.com//10879003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11170 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 16:15:15 +00:00
ager@google.com 722c1a3ce6 Deprecate Math object in corelib in favor of dart:math library.
Review URL: https://chromiumcodereview.appspot.com//10829459

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11155 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 14:33:01 +00:00
ager@google.com 0a55fa5f3b Deal with the JS helper separately from the 'native' keyword.
Another change to prepare for the removal of the corelib Math
object in favor of the dart:math library.

R=ahe@google.com,johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11151 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 13:57:56 +00:00
alanknight@google.com 53fd510bcb Allow multiple patterns for date formats
Review URL: https://chromiumcodereview.appspot.com//10832430

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11114 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 23:49:35 +00:00
sethladd@google.com 1eb5340ceb add comments for dart:io and dart:intl library
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11100 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 21:32:12 +00:00
dgrove@google.com bacdd20e96 Continued deletion of frog.
Review URL: https://chromiumcodereview.appspot.com//10860071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11098 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 21:09:52 +00:00
alanknight@google.com 96c3872ffe Rename i18n to intl
Review URL: https://chromiumcodereview.appspot.com//10829442

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11076 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 17:30:21 +00:00
efortuna@google.com 742e1ffcbe Rename XMLHttpRequest to HttpRequest.
Review URL: https://chromiumcodereview.appspot.com//10823352

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11070 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 16:39:35 +00:00
johnniwinther@google.com 647498e74c Full typedef support in dartdoc.
Review URL: https://chromiumcodereview.appspot.com//10823390

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11024 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 09:31:18 +00:00
johnniwinther@google.com 7052f733b7 Fix dartdoc to dart2js path in SDK
BUG=4566,4627

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11015 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 07:46:20 +00:00
alanknight@google.com eeb2d72971 Improve i18n date/time test performance
Review URL: https://chromiumcodereview.appspot.com//10836319

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10986 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 16:42:06 +00:00
dgrove@google.com 196afa584c Add pubspec files to args and dartdoc .
Review URL: https://chromiumcodereview.appspot.com//10823399

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10928 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 22:16:15 +00:00
dgrove@google.com f76b3e0ac8 Fix syntax error in args.dart, reenable args tests.
Review URL: https://chromiumcodereview.appspot.com//10837315

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10920 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 20:15:29 +00:00
dgrove@google.com a71d1a3b93 Skip args tests to get gots green.
TBR=efortuna@google.com
Review URL: https://chromiumcodereview.appspot.com//10829393

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10917 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 19:51:18 +00:00
dgrove@google.com de531b234a Move args from lib/ to pkg/ .
Review URL: https://chromiumcodereview.appspot.com//10831371

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10910 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 17:57:10 +00:00
ahe@google.com 027e95f898 Fix dart2js_mirror breakage.
Review URL: https://chromiumcodereview.appspot.com//10831369

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10897 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 13:52:49 +00:00
johnniwinther@google.com d1cdeaf426 Change line endings from Windows to Unix
Review URL: https://chromiumcodereview.appspot.com//10827394

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10881 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 11:21:55 +00:00
johnniwinther@google.com ac5a4808d8 Skeleton typedef type implementation
Review URL: https://chromiumcodereview.appspot.com//10832136

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10880 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 11:15:44 +00:00
ager@google.com 59df4e7735 Add a couple of workarounds for issues caused by current dart2js patch
support.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10878 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 10:45:08 +00:00
regis@google.com d9b0276a4c Require two type arguments for map literals (issue 4522).
Spec has been changed back.
VM temporarily accepts a single type argument and emits a warning.
Update tests, dart2js source, dartdoc, etc...
Disable failing co19 tests (issue 175 filed).
Review URL: https://chromiumcodereview.appspot.com//10854191

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10861 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 20:44:32 +00:00
alanknight@google.com 9927daed4b Add library tag to number_format_test
Review URL: https://chromiumcodereview.appspot.com//10857038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10848 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 17:38:53 +00:00
alanknight@google.com f4b51357d9 First iteration on number formatting
Review URL: https://chromiumcodereview.appspot.com//10834318

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10834 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 16:41:04 +00:00
kasperl@google.com db90e62daa Get rid of obsolete call.
R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10806 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 12:02:35 +00:00
alanknight@google.com 2f05a496cc One more place that needs a "test" prefix in skipped
Review URL: https://chromiumcodereview.appspot.com//10824320

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10777 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 23:09:09 +00:00
dgrove@google.com 39889f6270 Move dartdoc from lib/ to pkg/ .
Reviewed at desk by rnystrom, since gcl upload fails when there
are binary images in the change.

TBR=rnystrom@google.com



git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10776 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 22:59:55 +00:00
alanknight@google.com 38f1abc22c Missing "test" prefix on skipped fixnum test
Review URL: https://chromiumcodereview.appspot.com//10834347

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10773 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 22:12:51 +00:00
alanknight@google.com 3122c09799 Move status file entries from tests/lib to pkg so as not to run known failing tests on the moved li…
Review URL: https://chromiumcodereview.appspot.com//10836272

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10772 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 22:02:27 +00:00
alanknight@google.com 6fc8369fb6 Rename "tests" directories under /pkg to the singular "test"
Review URL: https://chromiumcodereview.appspot.com//10837268

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10771 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 21:38:41 +00:00
alanknight@google.com 2e5ddeab23 Move unittest tests underneath it in /pkg
Review URL: https://chromiumcodereview.appspot.com//10823332

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10770 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 21:12:43 +00:00
dgrove@google.com 747b22d3bc Move fixnum to from lib/ to pkg/ . Once pub.dartlang.org
is available, this package will likely be moved there.
Review URL: https://chromiumcodereview.appspot.com//10854162

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10769 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 20:33:16 +00:00
efortuna@google.com 2cf286df4f Fix Opera's red build status.
Review URL: https://chromiumcodereview.appspot.com//10855180

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10755 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 17:41:00 +00:00
antonm@google.com b007847441 First step in switching to testRunner instead of layoutTestController.
Recently WebKit migrated to testRunner from layoutTestController. Follow the lead.

TBR=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10736 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 15:08:15 +00:00
antonm@google.com da9404127f Update suppressions.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10712 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 11:50:51 +00:00
alanknight@google.com ce28be9d2f Move tests for things in /pkg into the right places for packages
Review URL: https://chromiumcodereview.appspot.com//10828310

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10688 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 23:05:20 +00:00
dgrove@google.com c265902bea Move unittest from lib to pkg.
Review URL: https://chromiumcodereview.appspot.com//10836241

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10685 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 22:36:59 +00:00
dgrove@google.com 8998e74536 Start moving non-platform libraries from lib/ to pkg/ .
Review URL: https://chromiumcodereview.appspot.com//10827227

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10655 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 16:26:41 +00:00