Commit Graph

185 Commits

Author SHA1 Message Date
sethladd@google.com 18476ae8ff turn off app cache, print generation date at bottom
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7466 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-09 16:24:37 +00:00
nweiz@google.com 7a92bade41 Rely on dart:io to deal with symlinks in pub.
Now that issue 2516 is solved, we don't need these hacks.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7428 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 18:43:33 +00:00
nweiz@google.com 3085912d01 Add support for pub install.
This CL does several things:

* Adds explicit infrastructure for package sources.
* Adds the Dart SDK as such a source.
* Adds an explicit class for managing the packages/ directory (AppCache, as
  opposed to SystemCache).
* Adds an "install" command that installs to packages/, backed up by the system
  cache.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7398 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 19:58:32 +00:00
sethladd@google.com ba3d26178f add appcache generation to apidocs
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7338 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 17:43:26 +00:00
rnystrom@google.com 7b9089417a Add pub (and by extension YAML) to the SDK.
Review URL: https://chromiumcodereview.appspot.com//10171019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7301 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 20:56:07 +00:00
ager@google.com e6b2635059 Change Platform members to getters instead of methods.
R=sgjesse@google.com
BUG=dartbug.com/1668
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7282 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 13:16:33 +00:00
nweiz@google.com 3e83522697 Move Yaml into utils/pub.
Review URL: https://chromiumcodereview.appspot.com//10339009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7264 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 23:37:17 +00:00
ahe@google.com 2b5fd1ca69 Share a tool for listing dependencies thus fixing a dependency problem on Windows.
Review URL: https://chromiumcodereview.appspot.com//10308006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7227 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 11:30:28 +00:00
vsm@google.com 94344cd762 Rename getTEMPNAME to get
BUG=2584
TEST=xhr_test.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7212 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 04:20:45 +00:00
rnystrom@google.com 96398f47bb Sort packages before listing them.
Review URL: https://chromiumcodereview.appspot.com//10137015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7112 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 23:52:51 +00:00
rnystrom@google.com 1fc4fff43d Fix checked mode bugs in pub (and try enabling on bots again).
Review URL: https://chromiumcodereview.appspot.com//10253015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7107 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 22:08:46 +00:00
rnystrom@google.com 5fbc8b3603 Skip pub tests.
Review URL: https://chromiumcodereview.appspot.com//10255010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7093 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:40:00 +00:00
rnystrom@google.com ead0c23db5 Disable broken pub tests for now.
Review URL: https://chromiumcodereview.appspot.com//10259001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7090 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:12:47 +00:00
rnystrom@google.com f7a1480c4e Fix a couple of minor issues and try to resolve #2740.
Review URL: https://chromiumcodereview.appspot.com//10230016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7087 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 16:00:13 +00:00
ahe@google.com 492b47da99 Turn dart2js into a shell script.
Review URL: https://chromiumcodereview.appspot.com//10257004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7083 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 14:57:45 +00:00
sigmund@google.com daef678742 test renaming overhaul: step 4 client tests
Review URL: https://chromiumcodereview.appspot.com//10191033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7041 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 20:09:35 +00:00
ricow@google.com 7d097ce080 Disable pub/pub_test on the vm, it is failing when running from the top level directory.
Bug here:
dartbug.com/2740
Review URL: https://chromiumcodereview.appspot.com//10222022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7012 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 12:19:02 +00:00
ahe@google.com 8957d98859 Copy frog/scripts/buildbot_annotated_steps.py to utils/compiler/buildbot.py.
Review URL: https://chromiumcodereview.appspot.com//10222021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7002 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 11:01:23 +00:00
rnystrom@google.com 36371653f4 Refactor command code and add support for --help and --version.
Review URL: https://chromiumcodereview.appspot.com//10214006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6985 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 00:45:24 +00:00
sigmund@google.com f1d72ac4f9 rename _tests.dart to _test.dart
Review URL: https://chromiumcodereview.appspot.com//10154010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6984 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 00:23:45 +00:00
nweiz@google.com 35b7a697bb Use YAML as the format for the pubspec file.
Review URL: https://chromiumcodereview.appspot.com//10174029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6982 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 23:09:32 +00:00
rnystrom@google.com 8c913b10fc First pass at "pub update" implementation.
This will create a "packages" directory next to the current
package's entrypoint and populate it with symlinks to packages
in the pub package cache. Transitive dependencies are handled.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6979 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 22:18:15 +00:00
rnystrom@google.com 4c6865d7d8 Sort packages by name before listing them.
Review URL: https://chromiumcodereview.appspot.com//10191027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6978 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 21:44:05 +00:00
nweiz@google.com 6d2b52bb73 Add a basic YAML processor. Much of the language is still unimplemented.
Review URL: https://chromiumcodereview.appspot.com//10153004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6971 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 19:58:56 +00:00
sigmund@google.com ba197a8cfa test rename overhaul: step 2 css tests.
Review URL: https://chromiumcodereview.appspot.com//10209016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6961 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 18:23:21 +00:00
sigmund@google.com a54a1c8355 remove tests from code that was recently deleted.
Review URL: https://chromiumcodereview.appspot.com//10207032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6956 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 17:07:48 +00:00
ahe@google.com de60d8d9b8 Add dart2js.bat for running dart2js on Windows.
Review URL: https://chromiumcodereview.appspot.com//10197009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6931 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 09:41:22 +00:00
dgrove@google.com d89730791c Remove many things that depend on frog.
Review URL: https://chromiumcodereview.appspot.com//10204007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6919 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 00:41:38 +00:00
ahe@google.com 2156d586b7 Make dart2js work on Windows.
Review URL: https://chromiumcodereview.appspot.com//10207010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6889 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 15:24:00 +00:00
ahe@google.com 3deac3dc36 Use 'frog' in apidoc. Also fix broken dependencies.
Second attempt, now with Windows support.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6873 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 12:55:39 +00:00
ahe@google.com 1f05ed8c0e Revert "Use 'frog' in apidoc. Also fix broken dependencies."
Review URL: https://chromiumcodereview.appspot.com//10140021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6872 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 10:54:18 +00:00
ahe@google.com f86a50b4fb Use 'frog' in apidoc. Also fix broken dependencies.
Review URL: https://chromiumcodereview.appspot.com//10174006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6870 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 10:38:21 +00:00
sigmund@google.com cedda7fc36 fixes css tests, now they can also run in browsers too.
Review URL: https://chromiumcodereview.appspot.com//10170008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6857 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 18:39:11 +00:00
ahe@google.com 9eac6a5748 Remove frogsh.
Review URL: https://chromiumcodereview.appspot.com//10164004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6840 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 13:26:06 +00:00
sigmund@google.com d25fe08396 test rename overhaul: step 1 peg.
The overhaul consists of:
- use _tests.dart notation, instead of xTest.dart
- use the directory setup (no more test_config, yay!)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6815 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 22:57:03 +00:00
rnystrom@google.com 9c5e4a2ec2 Start implementing pub object model. Rudimentary package cache class, and a simple pub command to list its contents.
Review URL: https://chromiumcodereview.appspot.com//10091014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6779 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 00:00:05 +00:00
ager@google.com 37b82247ac Remove need to instantiate Platform and make methods static.
This will require an update of the stable test binary. I will upload
a new build when done with the review process.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6682 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 11:39:16 +00:00
mattsh@google.com 56d677eb49 added printWarnings option to HtmlDiff
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6653 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 19:03:58 +00:00
ahe@google.com 49f9fb1425 Make dart2js executable.
Review URL: https://chromiumcodereview.appspot.com//9969209

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6643 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 15:42:37 +00:00
ahe@google.com 56f34d7514 Move cygwin_dir to shared gypi file.
Review URL: https://chromiumcodereview.appspot.com//9877003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6626 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 11:53:56 +00:00
rnystrom@google.com e34a368125 Fix apidoc build step on Windows.
Review URL: https://chromiumcodereview.appspot.com//10091010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6603 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-16 20:58:18 +00:00
jacobr@google.com af8e09788d Fix ApiDoc to work with new dart:html code. Tweak dart:html generator to generate clearer @domName annotations.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6505 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 09:27:20 +00:00
sigmund@google.com 18d120acdc update status of a couple tests: some configurations are run, but should be
skipped.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6481 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 21:50:23 +00:00
sigmund@google.com 656e98150b unittest step2: bye bye to multiple entrypoints for unittest
Review URL: https://chromiumcodereview.appspot.com//10037027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6480 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 21:38:25 +00:00
sigmund@google.com cca364ce76 change status files to make it possible to run test.py -c frog,dart2js -r none.
Except for standalone, this mostly skips all other tests. The configurations
frog_none and dart2js_none these have been ignored for now by the bots, enabling
those tests should be done as needed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6382 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 20:56:37 +00:00
terry@google.com e5f4921ecb Fixed bb break.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6235 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 18:04:20 +00:00
terry@google.com 5ec89a199a Calculator App for ChromeOS with fixes for templates/CSS to support this application.
TBR=jacobr@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6231 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 16:59:38 +00:00
efortuna@google.com 673bb8ce02 Revert "Simplify tests under utils/tests to follow StandardTestSuite
convention."
Review URL: https://chromiumcodereview.appspot.com//9990009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6210 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 00:27:34 +00:00
rnystrom@google.com fb5b9f3570 Simplify tests under utils/tests to follow StandardTestSuite convention.
Review URL: https://chromiumcodereview.appspot.com//9956037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6209 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 23:50:06 +00:00
rnystrom@google.com 139b211f7d First check in for pub package manager.
It doesn't do anything more than show usage and version, but the test
infrastructure is there.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6066 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 20:48:32 +00:00