Commit Graph

46 Commits

Author SHA1 Message Date
danrubel@google.com 847ab391c5 Move 'revision' file creation from upload_sdk into create_sdk
Review URL: https://chromiumcodereview.appspot.com//10117031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6712 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 21:55:14 +00:00
zundel@google.com 4ce241dc76 Revert "Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk"
This reverts r6629.  Breaks the windows editor build in a different way.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6633 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 13:26:54 +00:00
zundel@google.com f209ea4140 Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk
Some now unused scripts and files were also removed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6629 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 12:59:39 +00:00
zundel@google.com 6115c5e824 Revert "Moves the 'import_*.config' files in dart-sdk into a new directory"
Review URL: https://chromiumcodereview.appspot.com//10083015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6545 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 23:02:36 +00:00
zundel@google.com 2ebe9b35b7 Moves the 'import_*.config' files in dart-sdk into a new directory
These files are used by the static analyzer and editor to target
different implementations of the system library.

This change moves these files from lib/config to lib/_internal/config so
that there will be no confusion that these might be intended to
be dart system library files.

http://code.google.com/p/dart/issues/detail?id=2510

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6543 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 22:17:48 +00:00
zundel@google.com 8cdd2f25cb Revert "Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk"
Was r6073

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6074 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 21:27:15 +00:00
zundel@google.com fdc069b8e4 Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk
Some now unused scripts and files were also removed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6073 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 17:19:32 +00:00
zundel@google.com aafda3eaa1 Conditionally create the lib/isolate/runtime directory
Review URL: https://chromiumcodereview.appspot.com//9837110

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5933 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 14:59:47 +00:00
zundel@google.com e5ca48a7d5 Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries
Adds a new cmdline flags

--dart-sdk to point it at a directory where the dart library files are staged
--platform the name of the platform {dartium, vm, frog, dart2js}
to target with the analyzer

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5930 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 14:20:29 +00:00
ahe@google.com a7b2cbc0f0 Fix the SDK build after frog/leg rename.
Review URL: https://chromiumcodereview.appspot.com//9877001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5927 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 10:40:28 +00:00
zundel@google.com 1486f2602d Revert "Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries"
This reverts commit r5885 which works locally, but not on the builder

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5886 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 17:04:03 +00:00
zundel@google.com b838d39acb Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries
Adds a new cmdline flags

--dart-sdk to point it at a directory where the dart library files are staged
--platform the name of the platform {dartium, vm, frog, dart2js}
to target with the analyzer

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5885 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 16:25:54 +00:00
dgrove@google.com 7d558789d6 Rename client/{dom,html} to lib/{dom,html} .
Review URL: http://codereview.chromium.org//9845043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5840 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 16:29:54 +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
ager@google.com 95d6b8e54a SDK: correct the type of the argument to 'print' to 'Object' for runtime version of core.
This avoids the needless type warnings that you get with something
like: print(new Map())

R=danrubel@google.com,kasperl@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5563 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 09:45:13 +00:00
danrubel@google.com 5326e5823c Move print from builtin to core in runtime SDK sources only
Review URL: https://chromiumcodereview.appspot.com//9704067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5547 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 22:05:36 +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
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
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
vsm@google.com e3502a1bdb Clean up dom/html files packaged by the sdk.
Review URL: https://chromiumcodereview.appspot.com//9569040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4839 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-01 23:38:29 +00:00
efortuna@google.com 06abb8d62c This is the same change as r4644 (that was reverted in 4646), but I had quotes around the final %script% variable in the bat scripts that was causing arguments to be passed to frog incorrectly.
Review URL: https://chromiumcodereview.appspot.com//9532001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4759 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-29 18:07:59 +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
efortuna@google.com 1126a319a0 Undo revision 4644 until I find fix.
TBR=dgrove@google.com
Review URL: https://chromiumcodereview.appspot.com//9475027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4646 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 22:43:26 +00:00
efortuna@google.com 4920df5af9 Prettified Windows frog scripts and allowed Windows scripts to handle paths that have spaces. Also moved frogc to be with the other scripts.
Addresses issues raised in Issue 1737.
Review URL: https://chromiumcodereview.appspot.com//9465034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4644 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 22:32:44 +00:00
dgrove@google.com 866eecc34a Move json to lib/json/{json.dart, json_frog.dart}
Review URL: http://codereview.chromium.org//9374030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4101 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 23:38:34 +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
dgrove@google.com 4088f8cbd0 Fix issue 1494.
Review URL: http://codereview.chromium.org//9325014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3882 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 00:42:00 +00:00
ager@google.com 8a59838677 Fix the dart:builtin and dart:io parts of the SDK.
- Deal with the newly introduced io.dart library.
- Fix the handling of builtin_runtime.dart so it does not contain
  multiple #library tags.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3641 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 06:54:16 +00:00
dgrove@google.com c2bf7a2524 remove dartdoc from sdk until it actually works there.
TBR=efortuna
Review URL: http://codereview.chromium.org//9147005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3099 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 15:40:58 +00:00
efortuna@google.com 994839e3d9 Fix build to create Windows SDK.
(Resubmission of http://codereview.chromium.org/9004001/ with jmesserly's
suggestions and update fix.)

TBR=jmesserly
Review URL: http://codereview.chromium.org//8989020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2649 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 18:04:45 +00:00
sigmund@google.com f392b25a55 Revert "Fix build so we can make a Windows SDK!" (tbr)
Review URL: http://codereview.chromium.org//9005002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2613 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:26:16 +00:00
efortuna@google.com 03a9b0a828 Fix build so we can make a Windows SDK!
Review URL: http://codereview.chromium.org//9004001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2612 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:22:08 +00:00
danrubel@google.com 9ca720176f Rename and fix json frog library in SDK
Review URL: http://codereview.chromium.org//8972004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2558 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-17 03:33:50 +00:00
efortuna@google.com 89fc7ef53e Fix paths in build process so we can build dartc (and then frog) on Windows.
Review URL: http://codereview.chromium.org//8972011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2538 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 19:36:40 +00:00
devoncarew@google.com 6684be82f9 Add frog/server/frog_server.dart and related files to the dart-sdk build.
Review URL: http://codereview.chromium.org//8911009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2442 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 20:27:35 +00:00
dgrove@google.com 317425483d Build and upload SDK in both debug and release.
Make move from sdk tmp directory to sdk atomic.
Review URL: http://codereview.chromium.org//8932009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2404 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 23:34:41 +00:00
dgrove@google.com 6bdf9443fc Create lib/core/core_compiler.dart and lib/coreimpl/coreimpl_compiler.dart .
Review URL: http://codereview.chromium.org//8839002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2162 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 05:55:49 +00:00
dgrove@google.com a7b867c302 Add frogc shell script for SDK. ≈
Review URL: http://codereview.chromium.org//8825011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2155 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 00:12:26 +00:00
dgrove@google.com 9d53adf599 Create the SDK in a temporary directory and copy it as a final step.
Review URL: http://codereview.chromium.org//8819030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2137 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 19:38:54 +00:00
zundel@google.com b6fa88ca14 The last change to create_sdk.py failed if the 'sdk' dir already existed
BUG=
TEST=

Review URL: http://codereview.chromium.org//8820017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2125 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 15:03:02 +00:00
zundel@google.com 1417eedeb7 Gets past broken build for --mode debug
Review URL: http://codereview.chromium.org//8815011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2122 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 14:43:03 +00:00
dgrove@google.com 7bde487aac Add runtime's dart:builtin to SDK.
Review URL: http://codereview.chromium.org//8805012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2081 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 18:28:35 +00:00
dgrove@google.com 332f6c640b Skip building SDK in Debug mode.
Review URL: http://codereview.chromium.org//8784007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2045 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-03 01:07:49 +00:00
dgrove@google.com 88e6204578 Move JSON to its own lib directory in sdk.
Review URL: http://codereview.chromium.org//8786009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2044 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-03 00:29:18 +00:00
dgrove@google.com 35ed89198b Build the sdk in PRODUCT_DIR.
Review URL: http://codereview.chromium.org//8784005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2042 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-02 23:56:16 +00:00
dgrove@google.com d83560fb0d Initial CL to create SDK directory (this will be done via the usual gyp and tools/build.py process).
Proposed top-level structure:
..sdk/
....bin/
......dart or dart.exe (executable)
......frogc.dart
......frogsh (coming later)
....lib/
......core/
........core_{compiler, frog, runtime}.dart
........{compiler, frog, runtime}/ 
......coreimpl/
........coreimpl_{compiler, frog, runtime}.dart
........{compiler, frog, runtime}/ 
......dom/
........dom.dart
......frog/
......html/ 
........html.dart
......htmlimpl/ 
........htmlimpl.dart
......(more will come here - io, etc)
....tools/
......dartdoc/
......(more will come here)
Review URL: http://codereview.chromium.org//8619005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2040 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-02 23:20:35 +00:00