Commit Graph

1458 Commits

Author SHA1 Message Date
eub@google.com 020123ce0f Repair bitrot in the utils/apidoc/mdn/ code. It now runs all the way through,
though it currently doesn't seem to be getting any docs for members.
Review URL: https://chromiumcodereview.appspot.com//10889017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11539 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 19:49:39 +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
kasperl@google.com 72e668595d Use new try-catch syntax in runtime/, tools/, and utils/.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11514 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 11:58:58 +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
lrn@google.com a7cc80dd7c Get library data from lib/_internal/libraries.dart.
Review URL: https://chromiumcodereview.appspot.com//10874030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11435 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 10:23:22 +00:00
johnniwinther@google.com 887a1eb8f7 Fix apidoc generation of pkg on Windows
Review URL: https://chromiumcodereview.appspot.com//10867082

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11431 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 07:52:07 +00:00
nweiz@google.com 18f8f5a72f Add a note to Source#install explaining that it should be very light-weight.
Review URL: https://chromiumcodereview.appspot.com//10883072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11421 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-27 22:21:37 +00:00
nweiz@google.com 89b1f5ec12 Support removing dead packages with pub install.
Review URL: https://chromiumcodereview.appspot.com//10867070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11356 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-25 00:18:48 +00:00
nweiz@google.com af2d533d41 Fix some compilation errors and warnings in Pub.
Review URL: https://chromiumcodereview.appspot.com//10880055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11355 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 23:57:42 +00:00
nweiz@google.com 4b76d74d5d Properly handle Git URLs with trailing slashes.
BUG=3493

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11343 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 21:11:28 +00:00
nweiz@google.com 36575ab9ef Add a missing semicolon to a file in pub.
Review URL: https://chromiumcodereview.appspot.com//10878059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11342 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 21:01:34 +00:00
nweiz@google.com 562860c6c3 Skip the new pub tests on platforms where they don't belong.
Review URL: https://chromiumcodereview.appspot.com//10879071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11338 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 19:55:02 +00:00
nweiz@google.com e74b871e92 Support self-referential package: imports with Pub.
Review URL: https://chromiumcodereview.appspot.com//10874051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11334 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 18:48:00 +00:00
rnystrom@google.com 0ca2c3fee4 Add new pub test suites to status file.
Review URL: https://chromiumcodereview.appspot.com//10883019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11284 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 01:48:53 +00:00
rnystrom@google.com 172e5cfae4 Split pub tests into separate suites.
Review URL: https://chromiumcodereview.appspot.com//10876058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11283 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 01:42:51 +00:00
nweiz@google.com 12c59d9112 Don't print Git output when running Pub.
BUG=4412

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11281 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 01:04:12 +00:00
nweiz@google.com 20a9094704 Use ephemeral ports for serving stuff during the pub tests.
BUG=4531

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11274 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 23:18:10 +00:00
nweiz@google.com 523bb86491 Add a number of convenience methods to test_pub.
This changelist has two goals. The first is to simply clean up pub_test by
factoring out repeated patterns, removing the use of raw YAML, and making the
commands more semantic. The second goal is to set the stage for the use of
ephemeral ports for the mock package server, which will allow multiple instances
of the tests to be run simultaneously.

This was originally submitted as r11261, but that caused test errors due to a
race condition that were then fixed. Then it was submitted as r11266, which
caused further test errors that are now completely fixed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11273 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 23:10:01 +00:00
rnystrom@google.com 17a941e040 Update pub to new getter syntax.
Review URL: https://chromiumcodereview.appspot.com//10869033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11270 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:41:47 +00:00
nweiz@google.com 66950a48d0 Reverting 11266
Review URL: https://chromiumcodereview.appspot.com//10872050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11268 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:38:29 +00:00
nweiz@google.com b0511b4d58 Add a number of convenience methods to test_pub.
This changelist has two goals. The first is to simply clean up pub_test by
factoring out repeated patterns, removing the use of raw YAML, and making the
commands more semantic. The second goal is to set the stage for the use of
ephemeral ports for the mock package server, which will allow multiple instances
of the tests to be run simultaneously.

This was originally submitted as r11261, but that caused test errors due to a race condition that's fixed in this CL.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11266 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:28:23 +00:00
nweiz@google.com 06c640c763 Actually hook server creation into the pub test schedule.
Review URL: https://chromiumcodereview.appspot.com//10873003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11265 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:09:43 +00:00
nweiz@google.com dfefb08fab Reverting 11261
Review URL: https://chromiumcodereview.appspot.com//10873051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11264 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:05:45 +00:00
nweiz@google.com 258cd65f18 Add a number of convenience methods to test_pub.
This changelist has two goals. The first is to simply clean up pub_test by
factoring out repeated patterns, removing the use of raw YAML, and making the
commands more semantic. The second goal is to set the stage for the use of
ephemeral ports for the mock package server, which will allow multiple instances
of the tests to be run simultaneously.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11261 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 21:38:38 +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
nweiz@google.com 8a0aabe483 Allow pub install and pub update to update dependers.
If the pubspec has a new dependency which causes an incompatibility with the
locked packages' version constraints, `pub install` will now unlock packages
one by one until a compatible version graph can be found.

`pub update <package>` will now always update the given package to its latest
version, even if that requires updating locked packages that depend on it
transitively. If no amount of updating will make the latest version valid, an
exception will be thrown.

This was originally submitted as r10779

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11119 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 00:25:45 +00:00
jmesserly@google.com 695f892ed1 Add all api docs from pkg. Right now we only have "intl" and "unittest". This changes the code to find all of them.
Review URL: https://chromiumcodereview.appspot.com//10824367

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11090 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 19:28:02 +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
ahe@google.com d1af3e7465 Copy all frog/native tests to dart2js_foreign.
Review URL: https://chromiumcodereview.appspot.com//10855248

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11020 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 08:56:36 +00:00
rnystrom@google.com 952230068c Don't pollute repo with temp dirs for pub tests.
Review URL: https://chromiumcodereview.appspot.com//10825422

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10997 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 20:02:36 +00:00
ahe@google.com 36dfc00144 Disable colors on Windows and non-ttys.
Review URL: https://chromiumcodereview.appspot.com//10860041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10980 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 15:25:56 +00:00
rnystrom@google.com 180df4ec25 Look for SDK packages in "pkg" in addition to "lib".
Review URL: https://chromiumcodereview.appspot.com//10857059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10912 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 18:04:42 +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
scheglov@google.com ca5e0d567c Issue 4553. Any constant is valid for 'case'.
Also check for 'operator =='.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10899 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 14:28:48 +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
efortuna@google.com 1a5e39d4eb Remove dysfunctional "always clobber" from Windows build.
Review URL: https://chromiumcodereview.appspot.com//10837269

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10836 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 16:51:09 +00:00
nweiz@google.com 30dc5566d8 Reverting 10779
Review URL: https://chromiumcodereview.appspot.com//10825375

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10781 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 23:32:43 +00:00
nweiz@google.com 8b8f1af9dc Allow pub install and pub update to update dependers.
If the pubspec has a new dependency which causes an incompatibility with the
locked packages' version constraints, `pub install` will now unlock packages
one by one until a compatible version graph can be found.

`pub update <package>` will now always update the given package to its latest
version, even if that requires updating locked packages that depend on it
transitively. If no amount of updating will make the latest version valid, an
exception will be thrown.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10779 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 23:24:24 +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
ricow@google.com 13cafea03d Address additional review comments for annotated steps in r10644
TBR=ahe
Review URL: https://chromiumcodereview.appspot.com//10855169

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10701 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 07:21:40 +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
nweiz@google.com ef953a51be Actually enable the pub update tests.
Review URL: https://chromiumcodereview.appspot.com//10825142

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10669 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 19:26:16 +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
ricow@google.com 78438e2b83 Change clobbering to use the new script inside the dart tools directory.
This is the first step in unifying our clobbering functionality, I will change the vm and dartc bots to use this in another cl (the current scripts reside in another repository).

Also, I will do another follow up for browser bot clobbering later, including changing the current wrong clobber for windows 7 bots (which uses the old naming scheme for output directories)
Review URL: https://chromiumcodereview.appspot.com//10826301

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10644 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 13:20:35 +00:00
ricow@google.com 306b08740e Enable clobber functionality for the dart2js buildbots
Review URL: https://chromiumcodereview.appspot.com//10831304

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10621 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 08:28:45 +00:00
ricow@google.com 7fff3965a5 Remove frog support from the annotated steps for dart2js and in browser testing.
Review URL: https://chromiumcodereview.appspot.com//10829313

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10620 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 07:41:26 +00:00
antonm@google.com beda26dd25 Adjust suppressions.
R=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10592 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 18:13:32 +00:00
johnniwinther@google.com 43ae6fb081 Refactored accessors in mirrors from methods to properties.
Review URL: https://chromiumcodereview.appspot.com//10823257

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10544 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-11 00:04:34 +00:00
nweiz@google.com 0cbfef976d Fix the archive code so that it compiles in a stricter mode.
Review URL: https://chromiumcodereview.appspot.com//10824210

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10362 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-07 23:19:12 +00:00