nweiz@google.com
d4ef73e116
Make "pub update" update all packages.
...
Review URL: https://chromiumcodereview.appspot.com//10809057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9825 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-23 20:13:33 +00:00
nweiz@google.com
7b72bd1b8d
Use a lockfile to persist Pub's installed version constellation.
...
This fixes a race condition in r9767 caused by issue 4155.
Review URL: https://chromiumcodereview.appspot.com//10790079
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9824 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-23 19:36:22 +00:00
nweiz@google.com
20b75854d1
Reverting 9767.
...
Review URL: https://chromiumcodereview.appspot.com//10803042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9768 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 19:44:30 +00:00
nweiz@google.com
915c6be38b
Use a lockfile to persist Pub's installed version constellation.
...
Review URL: https://chromiumcodereview.appspot.com//10796021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9767 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 19:37:09 +00:00
nweiz@google.com
0db73f5236
Add a "help" command to Pub.
...
Review URL: https://chromiumcodereview.appspot.com//10805017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9765 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 18:10:39 +00:00
johnniwinther@google.com
50f9d4ff31
Dartdoc and apidoc updated to use Path.
...
Review URL: https://chromiumcodereview.appspot.com//10780030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9759 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 14:15:16 +00:00
johnniwinther@google.com
1dda757cf0
Parameters with function types supported + Added features in mirrors implementation
...
VariableListElement.computeType now handles function types.
Default value and function typed parameters supported in the mirror system.
Review URL: https://chromiumcodereview.appspot.com//10779010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9756 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 13:17:10 +00:00
nweiz@google.com
38add2cf87
Allow the Git source to depend on a specific revision.
...
Review URL: https://chromiumcodereview.appspot.com//10790021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9693 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-17 02:36:06 +00:00
nweiz@google.com
b4f3327e2b
pub: treat a pubspec with just comments as empty
...
BUG= http://dartbug.com/3483
TEST=
Review URL: https://chromiumcodereview.appspot.com//10534081
Patch from Kevin Moore <kevmoo@j832.com >.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9686 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-16 22:44:43 +00:00
regis@google.com
b86a40f48f
Fix type checking of void type.
...
Fix library and tests accordingly.
Add new test.
Disable new test for dart2js.
Disable some now failing co19 tests (new issue 158 filed).
Hide internal VM String types from user (not complete).
Review URL: https://chromiumcodereview.appspot.com//10787021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9681 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-16 21:34:07 +00:00
nweiz@google.com
223195ba79
Use environment variables to find the Dart SDK and the Pub cache directory.
...
Review URL: https://chromiumcodereview.appspot.com//10689169
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9615 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 21:44:17 +00:00
nweiz@google.com
2c2583e304
Hook in the version solver to pub install.
...
Review URL: https://chromiumcodereview.appspot.com//10704172
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9604 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 18:47:31 +00:00
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