Commit Graph

195 Commits

Author SHA1 Message Date
ahe@google.com 216289bcb1 dart2js has its own snapshot.
R=ngeoffray@google.com

Review URL: https://codereview.chromium.org//19795006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25344 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 14:58:28 +00:00
floitsch@google.com f601233af9 Remove dart:codec and move classes into dart:convert.
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//19941002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25267 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 12:25:16 +00:00
vsm@google.com a81a6fcce6 RFC: introduce dart:js
This is a port of js-interop with an optimized dart2js compilation.
It also gets rid of noSuchMethod.
I also made some renamings inspired by https://github.com/dart-lang/js-interop/issues/68

BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//15782009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25018 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 19:44:44 +00:00
floitsch@google.com f1e4310329 Add codec and convert to sdk-build script.
Review URL: https://codereview.chromium.org//19177002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25002 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 11:13:44 +00:00
jmesserly@google.com d6b9207588 Reorganize mdv and observe functionality
* keep correct dart:html APIs
* move implementation into package:mdv and package:observe
* remove dart:mdv_observe_impl
* remove getValueWorkaround/setValueWorkaround from package:observe

R=blois@google.com, floitsch@google.com, justinfagnani@google.com

Review URL: https://codereview.chromium.org//17552019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24498 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 23:25:47 +00:00
asiva@google.com 51651ee00b Split dart_api.h into multiple parts:
dart_api.h - Has the core API functions
dart_mirrors_api.h - Has API functions to support Mirrors or reflection
dart_native_api.h - Has parts which support the native message handling,
                    profilling and other internal tools

R=sgjesse@google.com, vsm@google.com

Review URL: https://codereview.chromium.org//16973003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24062 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 23:47:40 +00:00
ricow@google.com 65ea1ac106 Move lib from sdk/lib/_internal/compiler/implementation to _internal root.
I am doing this to enable me to move out the compiler from the sdk.

Review URL: https://codereview.chromium.org//16538002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23902 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 10:39:40 +00:00
dgrove@google.com 5ff2d92f61 No longer publish packages in the SDK. All of the tools in dart-sdk/bin
run from snapshots, and no longer need access to the package source.

We'll continue to publish packages to pub.dartlang.org .

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//16496002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23664 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 23:59:39 +00:00
ricow@google.com becacf241f Remove old analyzer from the sdk.
R=danrubel@google.com, kustermann@google.com

Review URL: https://codereview.chromium.org//15786006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23574 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 05:59:10 +00:00
sgjesse@google.com 9d6a64e81b Merge the dart:uri library into dart:core and update the Uri class
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.

* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization

R=floitsch@google.com, lrn@google.com, nweiz@google.com, scheglov@google.com
BUG=

Review URL: https://codereview.chromium.org//16019002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +00:00
jmesserly@google.com 9005b278e7 Implement Model-Driven-Views spec for Dart
This has code ported from a few different sources:
* a port of https://github.com/toolkitchen/mdv polyfill
* a port of the observable layer:  https://github.com/dart-lang/web-ui/tree/master/lib/observe
* a port of list change summary: https://github.com/rafaelw/ChangeSummary/blob/master/change_summary.js

The observePath/PathObserver code is written from scratch, but inspired by change_summary. I tried to keep it simpler; it does not support dirty checking. There's no good way to do that until we get dart:mirrors.

R=floitsch@google.com, sigmund@google.com

Committed: https://code.google.com/p/dart/source/detail?r=22561

Review URL: https://codereview.chromium.org//14732003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22570 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 21:39:03 +00:00
jmesserly@google.com 1cef1fbc55 "Reverting 22561"
need to investigate test failures

Review URL: https://codereview.chromium.org//14908005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22562 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:43:30 +00:00
jmesserly@google.com bf4f12c62b Implement Model-Driven-Views spec for Dart
This has code ported from a few different sources:
* a port of https://github.com/toolkitchen/mdv polyfill
* a port of the observable layer:  https://github.com/dart-lang/web-ui/tree/master/lib/observe
* a port of list change summary: https://github.com/rafaelw/ChangeSummary/blob/master/change_summary.js

The observePath/PathObserver code is written from scratch, but inspired by change_summary. I tried to keep it simpler; it does not support dirty checking. There's no good way to do that until we get dart:mirrors.

R=floitsch@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//14732003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22561 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:29:14 +00:00
nweiz@google.com cc6e2f7b93 Put a snapshot of pub in the SDK.
BUG=9117

Review URL: https://codereview.chromium.org//13966011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21979 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:43:39 +00:00
nweiz@google.com 24213beff5 Move pub into sdk/lib/_internal.
This also converts pub to a more package-like layout, which will help in the
eventual exposing of pub internals as a library. Since pub's sources are now in
lib/src, this also makes them importable from the tests and entrypoint using
"package:" imports.

BUG=6619

Review URL: https://codereview.chromium.org//14297021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21907 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 21:44:26 +00:00
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

Review URL: https://codereview.chromium.org//14426006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
devoncarew@google.com 15f2818c43 Add the new dart analyzer to the SDK.
Review URL: https://codereview.chromium.org//14110004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21479 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 17:05:52 +00:00
ricow@google.com 0a657bfda5 Pass in arguments to create_sdk instead of using positional command line arguments
Review URL: https://codereview.chromium.org//13979006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21272 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 12:19:35 +00:00
ricow@google.com 9fd1680aa5 Fix apidoc dependencies and reenable editor test
Add back full copy of lib/_internal
Also fix snapshot dependency on old dart2js snapshot location
Review URL: https://codereview.chromium.org//14155002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21257 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:47:18 +00:00
ricow@google.com 00da866b33 Move the dart2js snapshot into bin directory of sdk root.
This is the first step in eliminating lib/_internal.
Review URL: https://codereview.chromium.org//13945008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21247 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 05:47:24 +00:00
nweiz@google.com afe21ca1b4 Include analyzer_experimental in the SDK.
Review URL: https://codereview.chromium.org//13841024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21173 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 22:10:18 +00:00
blois@google.com 50e1cf4927 Adding web_gl library.
BUG=

Review URL: https://codereview.chromium.org//12851013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20833 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 00:45:20 +00:00
asiva@google.com b038bb085d Remove scalarlist creation step from sdk.
Review URL: https://codereview.chromium.org//13322007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20683 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 18:42:11 +00:00
nweiz@google.com c590e8ae0c Switch pkg packages, pub, and dartdoc to use package: imports.
This also changes the SDK layout by replacing the "pkg" directory, which
contained the full source of all the packages needed by pub and dartdoc, with a
"packages" directory that contains only their lib directories. This directory is
used as the package root for pub and dartdoc when run from the SDK.

BUG=6745

Review URL: https://codereview.chromium.org//12782016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20640 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 20:27:28 +00:00
amouravski@google.com e3192492c9 Fix dart-editor build breaks.
Review URL: https://codereview.chromium.org//12667015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19823 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 21:46:13 +00:00
asiva@google.com ec72cee8d7 Fix dartc build breakage.
Review URL: https://codereview.chromium.org//12714002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19713 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 19:15:16 +00:00
amouravski@google.com 7b7799dbad Fix for editor tests (and everything else that uses dartdoc from build dir.)
Review URL: https://codereview.chromium.org//12499003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19531 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 00:04:49 +00:00
devoncarew@google.com f6d7f5251c Remove r09 of guava; make sure all the dartc files are updated to use r13.
Review URL: https://codereview.chromium.org//12326093

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18989 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 18:26:34 +00:00
nweiz@google.com c8f6014ae7 Move pkg/path to pkg/pathos.
Review URL: https://codereview.chromium.org//12316056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18906 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:45:55 +00:00
blois@google.com 51cd64501d Separating Web SQL into dart:web_sql.
These APIs are essentially deprecated as standardization as ceased for them, but they are also the only DBs available for mobile devices.

Separating out so it's easier to disable later.

BUG=

Review URL: https://codereview.chromium.org//12218185

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18782 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-20 21:05:24 +00:00
floitsch@google.com e1efa71761 Hide collection-dev library.
Committed: https://code.google.com/p/dart/source/detail?r=18167
Reverted: https://code.google.com/p/dart/source/detail?r=18169

Review URL: https://codereview.chromium.org//11938036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18172 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 15:11:47 +00:00
floitsch@google.com 8762c41590 Revert "Hide collection-dev library."
This reverts commit 18167.

Review URL: https://codereview.chromium.org//12221044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18169 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 13:08:29 +00:00
floitsch@google.com 2a56791380 Hide collection-dev library.
Review URL: https://codereview.chromium.org//11938036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18167 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 12:43:07 +00:00
nweiz@google.com 752c1ea485 Remove cURL from the SDK.
BUG=7395

Review URL: https://codereview.chromium.org//12088120

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18011 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 23:23:35 +00:00
asiva@google.com d313a1243f 1. Change option --use_script_snapshot to --use-script-snapshot (easier to type).
2. Use dart binary with the --generate-script-snapshot option to generate dart2js snapshot
Review URL: https://codereview.chromium.org//12084010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17686 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 05:47:56 +00:00
jmesserly@google.com 61c97e7325 Restructure YAML package suitable for pub lish
After this I can use tools/publish_pkg.py upload script to fix dartbug.com/4126

Review URL: https://codereview.chromium.org//11622011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17685 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 02:25:43 +00:00
blois@google.com e78e8b1cc1 Stubbing out the initial library for Chrome application support.
This adds the core skeleton of Chrome application support with a sample function that allows creating a new window (in dart2js).

BUG=

Review URL: https://codereview.chromium.org//11958026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17299 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 18:05:19 +00:00
floitsch@google.com fb1632180e Add dart:collection_dev library.
Committed: https://code.google.com/p/dart/source/detail?r=17263
Reverted: https://code.google.com/p/dart/source/detail?r=17265

Review URL: https://codereview.chromium.org//11959012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17269 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 13:07:27 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
rnystrom@google.com 747a3f83f5 Move path ("pathos") to pkg/.
Review URL: https://codereview.chromium.org//11647003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16297 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 00:04:37 +00:00
devoncarew@google.com 2bc92c7390 Add the dart_analyzer tool to the sdk for Windows.
https://code.google.com/p/dart/issues/detail?id=2623
Review URL: https://codereview.chromium.org//11527010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16146 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 23:52:22 +00:00
alanknight@google.com 5df2b86dff Initial version of a serialization framework
Review URL: https://codereview.chromium.org//11293283

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15796 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 18:13:36 +00:00
blois@google.com e3850aa591 Adding dart:indexed_db.
BUG=

Review URL: https://codereview.chromium.org//11434079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15719 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 02:55:59 +00:00
alanknight@google.com 56f0b7da28 create_sdk should not copy packages directories for things under pkg
Review URL: https://codereview.chromium.org//11411335

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15666 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 22:38:44 +00:00
blois@google.com b125775b2b Include dart:html_common in the Dartium snapshot.
BUG=

Review URL: https://codereview.chromium.org//11316264

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15621 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-02 20:10:08 +00:00
dgrove@google.com 2d5afca66c Add gen_snapshot to SDK.
Review URL: https://codereview.chromium.org//11416255

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15611 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 23:11:12 +00:00
blois@google.com 967537f037 Revert "Creating a common library for all DOM types."
This reverts commit 11316113.

This broke snapshotting on Dartium (which I'm quite sure that I tested).

BUG=

Review URL: https://codereview.chromium.org//11348313

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15566 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 02:51:07 +00:00
blois@google.com 78035ede07 Creating a common library for all DOM types.
BUG=6810

Review URL: https://codereview.chromium.org//11316113

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15564 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 02:27:33 +00:00
rnystrom@google.com 13b463479e Fix curl path-munging in create_sdk.py.
The string literals in the Dart code are using " not ', so the
patterns didn't match. :(
BUG=

Review URL: https://codereview.chromium.org//11308279

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15534 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 19:01:53 +00:00
blois@google.com 76b1800cd6 Splitting the Audio types out of the HTML library.
BUG=3108

Review URL: https://codereview.chromium.org//11280103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15529 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 17:58:26 +00:00