Commit Graph

1321 Commits

Author SHA1 Message Date
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
rnystrom@google.com 6eb0081153 Make dartdoc and apidoc run on the VM instead of node.
Review URL: https://chromiumcodereview.appspot.com//9453031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4558 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 23:56:02 +00:00
rnystrom@google.com 3a4b7e9d16 Fix apidoc to work with latest frog.
Review URL: https://chromiumcodereview.appspot.com//9452037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4553 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 22:48:27 +00:00
ahe@google.com cbcba131eb Explicitly use node.js in the cases where it is needed.
Review URL: https://chromiumcodereview.appspot.com//9430046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4450 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 13:57:25 +00:00
dcarlson@google.com 7c1ae41e25 restructure string decoding to support iterable use and include benchmarks for UTF-8 decoding.
R=jat@google.com,ahe@google.com,sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4366 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 19:00:19 +00:00
efortuna@google.com eb41cb3c9e Don't run any tests on Opera (yet).
TBR=jmesserly@google.com,
Review URL: https://chromiumcodereview.appspot.com//9398015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4242 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 01:07:41 +00:00
nweiz@google.com 8c29c1e0c8 When dumping JSON for html_diff, don't list renames where the member name
remains the same.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4196 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-13 20:57:39 +00:00
nweiz@google.com 2d1381dec6 Add a script to parse and dump DOM -> HTML mapping information as JSON.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4160 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-11 01:13:41 +00:00
rnystrom@google.com 7b5e67b5d6 First prototype of import map generator.
Review URL: https://chromiumcodereview.appspot.com//9369006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4106 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:09:49 +00:00
whesse@google.com 9f27aa3a69 Remove unused support files for old version of tools/test.py.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4033 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:11:42 +00:00
jacobr@google.com b3416ac83a cleanup postProcess step and output obsolete.json file
Split postProcess.dart into
util.dart, postProcess.dart and prettyPrint.dart
so it is clear which code should be high quality and which is just debugging
pretty print logic.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4018 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 01:20:57 +00:00
dgrove@google.com 641f078329 Move utils/{uri, utf8} to lib/{uri, utf8} .
Fixes issue 1562 .
Review URL: http://codereview.chromium.org//9325085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4010 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:31:10 +00:00
ahe@google.com dca37f7f22 Use production mode when running on debug VM.
Review URL: https://chromiumcodereview.appspot.com//9332008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3981 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 09:18:11 +00:00
dcarlson@google.com 4e438222b0 Optimize special cases in utf8 and utf16 where input can be copied to output.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3974 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 23:44:42 +00:00
ahe@google.com 994b7e3a90 Skip tests that times out in debug mode
Review URL: https://chromiumcodereview.appspot.com//9331010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3967 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 20:45:25 +00:00
ahe@google.com bb39ff705f Increase timeout limit in frog-debug
Review URL: https://chromiumcodereview.appspot.com//9328043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3950 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 16:12:55 +00:00
ahe@google.com cefacc0a90 Skip tests in debug mode that times out
Review URL: https://chromiumcodereview.appspot.com//9323080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3946 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 15:35:02 +00:00
jacobr@google.com 5825741150 Cleanup mdn scripts
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3920 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 22:01:58 +00:00
rnystrom@google.com 83f745ae61 Correctly sort libraries by name, not key.
Review URL: https://chromiumcodereview.appspot.com//9316050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3825 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 00:44:20 +00:00
rnystrom@google.com 9f1bc6d2a6 Remove unused #import from postProcess and check in regenerated MDN docs.
Review URL: https://chromiumcodereview.appspot.com//9310036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3818 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:40:57 +00:00
dcarlson@google.com 9da015d58b Fix mac/git renaming case failure. Aaarrrrgggghhhh.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3816 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:38:38 +00:00
dcarlson@google.com db17ef4ea3 String encoding utility methods and tests for Unicode, UTF-8, -16 and -32.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3814 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:25:46 +00:00
rnystrom@google.com 47f98dc1b3 Don't check for Member.
Fixes broken correspondences between html and htmlimpl. That in turn fixes
a bunch of missing MDN docs.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3813 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:17:11 +00:00
rnystrom@google.com cfe03739c2 Integrate VM IO libraries and search box into apidoc.
Review URL: https://chromiumcodereview.appspot.com//9319001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3766 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:35:45 +00:00
rnystrom@google.com a60cd8608d Fix build break in dartdoc.
Review URL: https://chromiumcodereview.appspot.com//9318013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3763 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 23:33:46 +00:00
rnystrom@google.com 7abda05053 Integrate MDN content into API documentation.
Most of the code under mdn/ is Jacob's magic with a little extra hackery
on my part.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3750 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 21:33:41 +00:00
ahe@google.com 3ddd2d6b03 Two different classes may have the same *name*.
Review URL: https://chromiumcodereview.appspot.com//9303033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3725 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 13:31:17 +00:00
ahe@google.com 26d232679d Create a URI class in utils/ (based on client/util/).
Review URL: https://chromiumcodereview.appspot.com//9295043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3722 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 12:11:10 +00:00
ahe@google.com f1de6231e5 Copy dart/client/util/Uri.dart to dart/utils/uri/uri.dart
Review URL: https://chromiumcodereview.appspot.com//9159032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3692 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-30 17:03:38 +00:00