Commit Graph

27 Commits

Author SHA1 Message Date
ajohnsen@google.com 0d078037e2 Re-apply 'Unify dart:isolate.' with fixes for autogenerated dart2js and dartium html files.
Old Review URL: https://chromiumcodereview.appspot.com//10828410

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11084 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 18:47:43 +00:00
ajohnsen@google.com 8f80365139 Revert "Unify dart:isolate."
This reverts commit 73190457cfff717e2706dd4715841f23a35d9ce7.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11017 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 08:22:05 +00:00
ajohnsen@google.com 5f4a0a2696 Unify dart:isolate.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11016 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 07:52:51 +00:00
regis@google.com d9b0276a4c Require two type arguments for map literals (issue 4522).
Spec has been changed back.
VM temporarily accepts a single type argument and emits a warning.
Update tests, dart2js source, dartdoc, etc...
Disable failing co19 tests (issue 175 filed).
Review URL: https://chromiumcodereview.appspot.com//10854191

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10861 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 20:44:32 +00:00
ager@google.com 652415daaf Cleanup of math sources.
Get rid of temporary unified directory version. Move back into
lib/math where it should be.

Rename patch files from the for math.dartp to the form
math_patch.dart.  They are just dart files and I don't like the new
dartp extension.

R=ajohnsen@google.com,lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10709 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 11:25:40 +00:00
ajohnsen@google.com 6fd7569718 Revert "Port the remaining of dart:coreimpl to the unified corelib."
This reverts commit 62ae23aac0ad5657980c0aac21bfed62cb6633d5.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10572 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 13:45:01 +00:00
ajohnsen@google.com 83d00caf5e Port the remaining of dart:coreimpl to the unified corelib.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10569 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 13:14:51 +00:00
ajohnsen@google.com fe4570dcc5 Create 'unified' version of Date, with a dart2js implementation.
VM implementation is pending.

This also fixes dart2js, so it correctly handles getters and setters in
patches.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10116 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 13:35:28 +00:00
ager@google.com 250b0b6e87 Cleanup isolate library after frog removal.
Remove parts only used by frog and rename.

R=kasperl@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10051 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 11:17:48 +00:00
dgrove@google.com 89dd99fdd0 Convert DOM and HTML frog to dart2js.
Review URL: https://chromiumcodereview.appspot.com//10800104

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9871 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 22:45:59 +00:00
johnniwinther@google.com c6d70857e4 Several new features and improvements for dartdoc.
* Dartdoc now works on multiple libraries and entrypoints.
* A dartdoc/dartdoc.bat script is generated into dart-sdk/bin
* The API libraries recognized by dart2js using the 'dart:' prefix
  have been updated to use the 'dart:*' name in their library tags.
  This makes the libraries show up with the correct prefix in the API docs.
* The processed libraries can be selected or limited, API
  libraries are not processed by default, and links to api.dartlang.org
  can be generated for API libraries.

  Because of the changed library tags on API libraries, the generated
  links don't current match the addresses on api.dartlang.org.
  For instance, the docs for Object is currently located in
  api.dartlang.org/core/Object.html, but with the new library
  tag 'dart:core', the address will be api.dartlang.org/dart_core/Object.html.
  The links will thus not work until api.dartlang.org have been updated with
  this patch.
* Code and pre blocks use overflow-x:auto to support wide lines.

BUG=2656,2686,3533,4029,4145,3555

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9843 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 09:16:33 +00:00
lrn@google.com 42f353fad1 Patch methods in classes.
Add math library in corelib/unified. Location subject to change.
Made _Random's implementation external and patched it to use JS random.
Made "external" marking acually work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9544 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-11 08:47:24 +00:00
lrn@google.com d1da93a393 Reapply "Make patch file import declarations apply to the patched library too."
This reapplies r9346 with the following fix:
Adds #library tag to tests containing #import.
The test web-driver tries to source the file if it doesn't contain
a #library declaration, which isn't valid if it contains #import.

R=floitsch

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9401 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-04 12:02:28 +00:00
lrn@google.com b5ce02776b Revert "Make patch file import declarations apply to the patched library too."
This reverts commit r9346.

TBR=floitsch

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9354 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 14:25:50 +00:00
lrn@google.com c86ce92f07 Make patch file import declarations apply to the patched library too.
Add a math library and apply patching to that, instead of to the web library.
We still have a default Math class with the same functionality, which isn't patched.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9346 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 13:01:15 +00:00
lrn@google.com 642b7d8a05 Revert "Revert "First step towards having patch files for generic libraries.""
This reapplies r9246 without the (known) bugs.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9282 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-02 09:04:42 +00:00
lrn@google.com 83ce2f9f6e Revert "First step towards having patch files for generic libraries."
This reverts commit r9246.

TBR: floitsch

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9249 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 13:49:13 +00:00
lrn@google.com 1fad321449 First step towards having patch files for generic libraries.
As proof of concept, it patches a non-functional htmlEscape from web.dart.

Still has lots of restrictions:
- Only loads a normal library (no syntax extension to mark patches as
separate from additions). Assumes every element is a patch.
- Only handles top-level functions (probably won't handle getters/setters
or constructors), and not classes.
- Doesn't check that the patched function is marked external (no syntax for
that in the spec yet, doesn't even require it to be abstract).
- Doesn't check that the signature of the patch function matches the original
function.
- Probably won't work for 'coreimpl', as loaded from 'js_helper', since it's not
loaded using the 'dart:' scheme.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9246 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 12:32:40 +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
ager@google.com b6e35655cf Make the crypto library an official dart:crypto library.
The library now works on dart2js and on the VM.

Add the library to the API docs and to the sdk.

R=iposva@google.com,dgrove@google.com,kasperl@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7604 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 11:20:56 +00:00
vsm@google.com 9be4ac00ed Move dart:dom to dart:dom_deprecated
Brian: Can you please look at the editor / dartc changes?

Bob: Can you look at the apidoc changes?

Stephen/Pavel: Can you guys look at the rest?

Pavel: I will update, test, and land your Dartium CL along with this change.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7587 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-13 04:10:43 +00:00
kasperl@google.com 90796f084c Move all the builtin$ interceptors to a new interceptors library and shorten the names of them.
This re-lands r7187 with a few fixes for VM tests and leg tests.

R=floitsch@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7191 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 15:18:39 +00:00
kasperl@google.com 29ad15f8e3 Revert "Move all the builtin$ interceptors to a new interceptors library and shorten the names of them."
This reverts r7187.

R=floitsch@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7189 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 14:51:21 +00:00
kasperl@google.com 8031e3043a Move all the builtin$ interceptors to a new interceptors library and shorten the names of them.
R=ngeoffray@google.com,floitsch@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7187 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 14:44:12 +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