Commit Graph

1321 Commits

Author SHA1 Message Date
johnniwinther@google.com fdbabb995e Dartdoc and Apidoc updated to use dart2js through the mirror system.
BUG=3414

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9584 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 08:52:19 +00:00
nweiz@google.com a6466ffe20 Make VersionSolver actually return PackageIds.
Review URL: https://chromiumcodereview.appspot.com//10701146

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9574 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-11 22:57:44 +00:00
nweiz@google.com b2ee421a78 Add support to the version solver for sources that only have a single version per package.
Review URL: https://chromiumcodereview.appspot.com//10690127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9567 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-11 19:14:35 +00:00
nweiz@google.com 97269ad9ac Make the Git source install to the system cache.
This is the same change as r9527, except it doesn't use the --progress flag
which is unsupported on the buildbot.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9540 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-11 00:37:27 +00:00
nweiz@google.com 5b3f06ec6f Reverting 9527
Review URL: https://chromiumcodereview.appspot.com//10695132

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9531 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-10 21:59:27 +00:00
nweiz@google.com 2927ef893c Make the Git source install to the system cache.
Review URL: https://chromiumcodereview.appspot.com//10736015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9527 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-10 21:33:01 +00:00
nweiz@google.com a818022964 Refactor Source to take the system cache as a parameter.
Review URL: https://chromiumcodereview.appspot.com//10749014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9519 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-10 18:14:05 +00:00
nweiz@google.com 42fe721087 Add a --trace flag to make Pub print a stack trace on error.
Review URL: https://chromiumcodereview.appspot.com//10752013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9491 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-09 23:38:21 +00:00
nweiz@google.com cefb44c63e Have Pub make use of the arg parser.
Also allow non-negatable flags in the arg parser.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9488 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-09 22:13:24 +00:00
nweiz@google.com 4957d72677 Allow asynchronous tests to explicitly register exceptions along with stack traces.
Review URL: https://chromiumcodereview.appspot.com//10766005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9487 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-09 22:10:13 +00:00
efortuna@google.com 2c23c203d1 Revert r9440. Turned the web-chrome-win7 bot red but I can't log
in to investigate.
TBR=kasperl
Review URL: https://chromiumcodereview.appspot.com//10735017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9450 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-06 21:25:57 +00:00
efortuna@google.com 967429f75c Print out browser version for the autoupdating browsers (ff and chrome) on
buildbot trace.
Review URL: https://chromiumcodereview.appspot.com//10703105

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9440 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-06 13:03:30 +00:00
efortuna@google.com fa16d7dd73 Have a "fast" ie-windows bot and a slower ie-windows bot.
Review URL: https://chromiumcodereview.appspot.com//10700113

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9418 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-05 12:02:07 +00:00
nweiz@google.com deda5a01fa Add numerous features to the Pub test infrastructure.
Review URL: https://chromiumcodereview.appspot.com//10699068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9368 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 18:04:47 +00:00
nweiz@google.com 8f53bf75f9 Make VersionSolver source- and description-aware.
Review URL: https://chromiumcodereview.appspot.com//10690032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9260 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 19:36:05 +00:00
efortuna@google.com 7be8e8fc12 Reapply r9192 and 9194, with the change of making locale a public field.
Review URL: https://chromiumcodereview.appspot.com//10692022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9206 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 17:00:58 +00:00
efortuna@google.com 02cbb9c9de revert 9192,9194
Review URL: https://chromiumcodereview.appspot.com//10700013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9195 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 23:52:40 +00:00
efortuna@google.com 57582bbd08 Add intl to apidoc, and some minor comment formatting cleanup.
Review URL: https://chromiumcodereview.appspot.com//10692018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9192 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 22:49:06 +00:00
nweiz@google.com 9d0be9e342 Don't try to look up the root package in the default source.
Review URL: https://chromiumcodereview.appspot.com//10674007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9184 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 18:14:59 +00:00
johnniwinther@google.com e7fea7af1b Copy of html_frog added to dartdoc/frog/lib
Build uses dart2js.bat on Windows

BUG=3775
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9149 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 06:44:24 +00:00
nweiz@google.com 5a6998d14e Add a Pub source for pub.dartlang.org.
This fixes a race condition in commit 9094.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9132 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 20:01:30 +00:00
johnniwinther@google.com a337f0e5a9 Dart2js called as 'dart2js.bat' on Windows
Bug 3568 also fixed.

BUG=3568

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9101 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 08:12:49 +00:00
nweiz@google.com d13116a711 Reverting 9094
Review URL: https://chromiumcodereview.appspot.com//10666042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9097 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 23:54:43 +00:00
nweiz@google.com 7af3fdfdfa Add a Pub source for pub.dartlang.org.
This fixes a couple typos in commit 9090.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9094 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 23:45:21 +00:00
nweiz@google.com 3a5c7b9dcc Reverting 9090
Review URL: https://chromiumcodereview.appspot.com//10659019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9093 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 23:23:39 +00:00
nweiz@google.com fffc9979fe Add a Pub source for pub.dartlang.org.
Review URL: https://chromiumcodereview.appspot.com//10628016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9090 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 22:52:32 +00:00
rnystrom@google.com 745ac9e752 Update pub.status file to fix build.
Review URL: https://chromiumcodereview.appspot.com//10642002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8990 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 16:48:21 +00:00
iposva@google.com 0fd25118b9 - Move the Timer interface to the dart:isolate library so that it
is accessible from both client and standalone program.
- Enable a way for the embedder to provide the implementation of
  the Timer interface.
- Update tests.
Review URL: https://chromiumcodereview.appspot.com//10532123

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8987 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 16:17:21 +00:00
rnystrom@google.com bfe7935124 First pass at version constraint solver.
It does:
- Walk dependency graphs.
- Unify shared constraints.
- Go through Source to get dependency and version information.
- Handle the fact that everything is async.
- Find best versions that match all constraints.
- Error out if it can't find a match or gets stuck in a loop.
- Have an OK amount of tests.

It does not:
- Handle dependencies from different sources.
- Integrate with the rest of pub.
- Implement an actual "pub update" command.
- Do very much to minimize server traffic.
  (Though it does cache pubspecs it has requested.)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8985 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 15:50:57 +00:00
nweiz@google.com 3aa0e8b141 Give cached sources control over their cache directories.
Review URL: https://chromiumcodereview.appspot.com//10577009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8832 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 23:45:36 +00:00
iposva@google.com 14ffe89349 Cleanup CL 10565036:
- Remove unnecessary options wrapping.
Review URL: https://chromiumcodereview.appspot.com//10532208

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8813 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 18:24:27 +00:00
iposva@google.com 831422d53d - Remove passing of obsolete parameter in dart2js.
Review URL: https://chromiumcodereview.appspot.com//10565036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8812 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 18:19:08 +00:00
lrn@google.com e2284fb7c4 Reapply "Add dart:web to dart2js and editor, containing only htmlEscape."
This reverts commit r8785

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8789 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 13:12:44 +00:00
kasperl@google.com 80d3863ba8 Revert "Add dart:web to dart2js and editor, containing only htmlEscape."
This reverts r8772.

R=lrn@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8785 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 12:30:09 +00:00
lrn@google.com 71f06bea93 Add dart:web to dart2js and editor, containing only htmlEscape.
Review URL: https://chromiumcodereview.appspot.com//10557005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8772 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 09:38:20 +00:00
whesse@google.com bef1d32f6b Remove uses of string + from API document generator.
BUG=3708
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8768 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 09:09:50 +00:00
kasperl@google.com 04b217c6d2 Remove frog from the repository.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8709 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-15 07:01:39 +00:00
kasperl@google.com 53b8295d32 Give lib/dartdoc its own copy of frog.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8657 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 13:27:59 +00:00
kasperl@google.com 3eec57a270 Move frog/tests/{leg,leg_only,frog_native} to tests/compiler/.
This may not be the final resting place for these tests, but I want 
to get them out of the frog directory because they really are very
valuable as tests for dart2js.
Review URL: https://chromiumcodereview.appspot.com//10536169

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8646 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 11:28:50 +00:00
scheglov@google.com c88461077a Issue 3528. Additional checks for 'case expressions'
http://code.google.com/p/dart/issues/detail?id=3528

R=brianwilkerson@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8573 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 20:21:34 +00:00
ahe@google.com 91e2b7794c Resolution based tree-shaking.
Review URL: https://chromiumcodereview.appspot.com//10542073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8543 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 12:35:34 +00:00
vsm@google.com e042b19b96 Modify apidoc to prefer handwritten HTML5 docs over those in MDN or generated code.
Review URL: https://chromiumcodereview.appspot.com//10540085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8516 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 20:51:12 +00:00
rnystrom@google.com 9636d43bf4 "pubspec" -> "pubspec.yaml".
Review URL: https://chromiumcodereview.appspot.com//10544041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8405 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 18:32:16 +00:00
ngeoffray@google.com bb2b3bca56 Fixes for checked mode and change buildbot script to run dart2js tests in checked mode also.
Review URL: https://chromiumcodereview.appspot.com//10543027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8382 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 09:03:16 +00:00
rnystrom@google.com c7c597108e Update pub to new expect API.
Review URL: https://chromiumcodereview.appspot.com//10541039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8367 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 22:41:58 +00:00
rnystrom@google.com 76b5e0ab98 Skip lock file pub tests on all but the VM.
Review URL: https://chromiumcodereview.appspot.com//10536038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8364 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 21:13:24 +00:00
rnystrom@google.com 8a87698968 Start adding support for lock files.
Lock files can be parsed (from strings) with tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8362 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 20:48:41 +00:00
kasperl@google.com e4b4574863 Fix apidoc after r8231.
R=johnniwinther@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8232 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 06:57:16 +00:00
ahe@google.com d5bcfd7249 Update dependencies for apidoc.
Review URL: https://chromiumcodereview.appspot.com//10454090

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8189 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-01 10:54:26 +00:00
kasperl@google.com ac5e45d8c7 Fix "typo".
Update the buildbot name patterns (for generalized sharding on web bots).

R=ricow@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8094 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 10:31:04 +00:00