Commit Graph

1458 Commits

Author SHA1 Message Date
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
kasperl@google.com 99a82e6444 Update the buildbot name patterns (for generalized sharding on web bots).
R=ricow@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8093 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 10:26:56 +00:00
ngeoffray@google.com 2f1bfc25ba Update status files now that issue 2615 is fixed.
Review URL: https://chromiumcodereview.appspot.com//10440085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8090 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 09:02:13 +00:00
ngeoffray@google.com 895ee59084 Use drt instead of chrome in dart2js/chrome/linux.
Review URL: https://chromiumcodereview.appspot.com//10446060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8059 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 14:11:02 +00:00
kasperl@google.com 3e42d60c80 Simplify TestCompiler and avoid running dart2js_unit in too
many configurations.

R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8055 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:11:51 +00:00
ahe@google.com 857a7108d9 Improve annotated steps output:
* Make sure a step is started before anything is printed (this removes the "preamble" section).

* Create a "failures" step before printing the failures again. This makes it easier to find the failures (especially, from a mobile browser).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8054 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:01:22 +00:00
kasperl@google.com 141a55b1c3 Use -j1 when testing IE and use the general sharding mechanism to shard the tests across web-ie-win7 and web-ie-win7-2.
R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8052 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 12:20:06 +00:00
ngeoffray@google.com 00441ed147 Get firefox green.
Review URL: https://chromiumcodereview.appspot.com//10440070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8047 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 10:31:16 +00:00
ngeoffray@google.com a574d1e7b9 Get opera green.
Review URL: https://chromiumcodereview.appspot.com//10454052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8040 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:15:16 +00:00
kasperl@google.com 83c00cb725 We're building the SDK -- not frog.
R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8034 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 07:29:29 +00:00
kasperl@google.com 925b8a1d65 Update the script that we run on the buildbot to test dart2js rather than frog across the different browsers.
R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8032 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 07:13:56 +00:00
kasperl@google.com 61cb3e6ad5 Use utils/compiler/buildbot.py instead of the script in frog/scripts.
R=ngeoffray@google.com,ahe@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8031 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 06:33:52 +00:00
rnystrom@google.com e4ce65ae8f Get rid of #source in pub.
Review URL: https://chromiumcodereview.appspot.com//10442023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7967 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 23:29:18 +00:00
nweiz@google.com d56327e507 Re-enable Yaml tests on dart2js and dartc.
Also fix a couple warnings in dart2js.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7966 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 22:58:45 +00:00