Commit Graph

149 Commits

Author SHA1 Message Date
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
rnystrom@google.com d2ca275165 Generate API docs during build.
Review URL: https://chromiumcodereview.appspot.com//9705088

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6065 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 20:24:06 +00:00
sethladd@google.com 3734d65be1 add disqus comments
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6055 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 18:00:53 +00:00
rnystrom@google.com a1c9d82292 Skip pub tests on dartium.
Review URL: https://chromiumcodereview.appspot.com//9951002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6011 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 23:54:48 +00:00
rnystrom@google.com 26947913d9 Add DirectoryTestSuite.
Review URL: https://chromiumcodereview.appspot.com//9863057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6010 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 23:37:31 +00:00
dgrove@google.com ca61f09608 Move unittest into lib, and put it into the SDK.
Review URL: http://codereview.chromium.org//9802015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5956 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 22:26:14 +00:00
vsm@google.com 59d574c599 Move copy_dart.py from client to tools
Review URL: https://chromiumcodereview.appspot.com//9789004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5941 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 17:51:20 +00:00
ahe@google.com d03830349f Add library mapping.
Review URL: https://chromiumcodereview.appspot.com//9866006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5935 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 16:07:58 +00:00
ahe@google.com dc099c4a00 Move frog/leg to lib/compiler/implementation.
Review URL: https://chromiumcodereview.appspot.com//9873021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5926 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 08:54:01 +00:00
efortuna@google.com 4294145085 Can't use != in status files.
Review URL: https://chromiumcodereview.appspot.com//9791038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5910 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 21:12:35 +00:00
efortuna@google.com 46bfc8551f CSS status file fix.
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//9791037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5909 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 21:08:43 +00:00
terry@google.com 5dc87ce1d6 Fixed bug with template control statements as first node of template (each, with, call, etc.).
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5900 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 19:53:25 +00:00
efortuna@google.com c8e35dbeb1 Rename test.dart component to specify compiler + runtime.
Review URL: https://chromiumcodereview.appspot.com//9838068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5893 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 18:40:41 +00:00
ahe@google.com 9f6630e8a1 Unbreak SDK frogc.
Review URL: https://chromiumcodereview.appspot.com//9808102

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5806 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-25 01:03:44 +00:00
ahe@google.com e7186f0fd9 Use SourceFile from utils/compiler.
Review URL: https://chromiumcodereview.appspot.com//9834012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5771 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-23 10:06:46 +00:00
terry@google.com cea0d08c1d Template bug fixes and new features.
Fixed textnode bug, whitespace was being removed. Added added local name for #with and #each.  Form of ${#each list [localName]} and ${#with object [localNme]} Added ability to call another template (located in the same tmpl file).  Form is ${#templateName(parms)}

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5665 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 23:12:37 +00:00
rnystrom@google.com 1ab996e50f Get rid of bash for dartdoc and do the whole thing in dart.
Review URL: https://chromiumcodereview.appspot.com//9722012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5659 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 21:30:34 +00:00
ahe@google.com dd96f32250 Rename leg -> dart2js.
Review URL: https://chromiumcodereview.appspot.com//9717033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5636 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 08:36:39 +00:00
ahe@google.com a5b46f33fa More GYP tweaking.
Review URL: https://chromiumcodereview.appspot.com//9720033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5634 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 23:18:50 +00:00
ahe@google.com 1e9d1477a7 Don't build dart2js on Windows.
Review URL: https://chromiumcodereview.appspot.com//9717042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5633 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 23:11:30 +00:00
ahe@google.com 5b79681b93 Use .exe suffix on Windows.
Review URL: https://chromiumcodereview.appspot.com//9718026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5632 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 23:01:58 +00:00
ahe@google.com 34cb21fce4 Launch Leg independently of Frog.
Review URL: https://chromiumcodereview.appspot.com//9719019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5630 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 22:22:43 +00:00
ahe@google.com 9f7cd35728 Copy files I'll use in a git-based CL.
Review URL: https://chromiumcodereview.appspot.com//9717026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5615 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 17:27:21 +00:00
ahe@google.com 18c3dd33c5 Add build rules for dart2js.
Review URL: https://chromiumcodereview.appspot.com//9704098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5613 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 16:25:41 +00:00
rnystrom@google.com eb1e4c84ab Allow specifying output directory for dartdoc and apidoc.
Review URL: https://chromiumcodereview.appspot.com//9705078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5578 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 17:35:58 +00:00
terry@google.com 91dd628bd8 More changes for CSS to run under VM.
Need unique name for library collision with template parser.

Few more changes to work under VM.

More changes for lang.dart seperation.

Seperation from lang.dart (tokenizer can't access private fields of base class in another library).  This was allowed in frog but not in the VM.  VM is right so need to sever dependency.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5544 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 21:19:54 +00:00
rnystrom@google.com 337b2da0cb Add new core ("dart:") libraries to frog so that apidoc can find them.
Review URL: https://chromiumcodereview.appspot.com//9705037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5530 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 17:48:41 +00:00
rnystrom@google.com a3c9e7a418 Get apidoc working with latest frog.
Note: even after this fix, the DOM/HTML correspondences seem to be broken,
but at least this allows apidoc to run to completion.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5494 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 22:43:11 +00:00
dgrove@google.com 98302c85df Unify most of our utf8 implementations. This takes the implementation
from utils/string_encoding and moves it to utils/utf . utils/utf8
goes away.
Review URL: https://chromiumcodereview.appspot.com//9462001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5169 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 13:28:40 +00:00
ngeoffray@google.com 4ec5057271 More skips on legium.
Review URL: https://chromiumcodereview.appspot.com//9635013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5164 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 11:51:49 +00:00
mattsh@google.com d8af601ce4 removed unused 'prefix' line from status files
Review URL: https://chromiumcodereview.appspot.com//9621003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5101 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:10:57 +00:00
jacobr@google.com de1d525459 Enable new dart:html wrapperless frog bindings and wrapper dartium bindings.
Split unittest.dart into unittest_html and unittest_dom

Bug fixes to the new dart:html bindings to compile with dartc.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4998 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 00:30:09 +00:00
ager@google.com b2b123d24b Update Timer API to take the callback as the last parameter.
This makes the code easier to read when the callback actually does
work:

  new Timer(1000, (t) {
    // do
    // lots
    // of
    // stuff
  });

Also, it is more consistent with the rest of the APIs.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4945 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 12:43:41 +00:00
rnystrom@google.com 458908f549 Get dartdoc in the SDK and working correctly.
Review URL: https://chromiumcodereview.appspot.com//9555013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4905 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 22:28:00 +00:00
sigmund@google.com ee6a907611 isolates refactor: this change introduces 'dart:isolate' as a library. This is a
big global change, so let me explain in more detail. This refactoring CL does
the following:
- moves all the dart code for isolates in a common library (lib/isolate)

- changes frog to understand 'dart:isolate' imoprts by loading the code from the
  location above.

- changes the vm to undernstand 'dart:isolate' imports by creating a separate
  library that is part of the bootstrap. This follows the same code-structure
  that Todd suggested in his CL introducing the mirror library

- changes dartc to use the shared isolate library as the source of truth for
  type checking. I left around some of the internal js code in dartc so that the
  backend continues to work for apps that don't use isolates.

- changes all tests that use isolates to import the library explicitly (this is a large bulk of the files in this CL)

- changes test status for tests we can't fix in this repo (e.g. co19)

- splits the isolate library code to make it possible to preserve some tests
  without exposing internal types (e.g. tests about
  serialization/deserialization)

- changes the create_sdk script to copy the isolate library to the sdk

- includes the isolate library in dartdoc

I'll wait for at least one lgtm from each area (dartc, vm, frog, sdk)

There is one important pending thing this CL doesn't do:
- update test_runner.dart: This should be updated next time we upload the new
  binaries to tool/testing/bin
- dartium specific changes: Vijay, is there anything I need to do for dartium?

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4647 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 22:50:44 +00:00
rnystrom@google.com fd8583197c Hook up dartdoc tests to the frog buildbot.
Review URL: https://chromiumcodereview.appspot.com//9447045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4578 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 18:40:45 +00:00
rnystrom@google.com f4ba5a7cd5 Fix dartdoc tests.
Review URL: https://chromiumcodereview.appspot.com//9455034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4559 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 00:33:43 +00:00