rnystrom@google.com
1cae12abdc
Switch dartfmt in the SDK to run dart_style.
...
BUG=https://code.google.com/p/dart/issues/detail?id=22400
R=pquitslund@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//950483002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44108 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-27 23:00:35 +00:00
rnystrom@google.com
25f3f6733d
Remove heap settings from pub scripts for SDK too.
...
r43821 only does it for the scripts used to run pub from within the source repo.
Also add support to the Windows shell script for passing VM flags to pub similar to
what dart2js and the bash pub scripts allow.
BUG=https://code.google.com/p/dart/issues/detail?id=22461
R=ahe@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//943993005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43925 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-20 20:15:25 +00:00
nweiz@google.com
c8de060c54
Revert "Revert "Use native async/await support in pub.""
...
The VM now fully supports all the weird async stuff pub is doing, and all the
tests pass with native async/await!
Previous CLs were r43484 and r43483.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//937243002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43897 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-19 22:28:54 +00:00
nweiz@google.com
0c78059186
Remove --old_gen_heap_size from the pub scripts.
...
This was added because it used to be necessary to load dart2js, but
dart2js itself no longer uses it and it's limiting the VM's overall
ability to allocate memory.
R=rnystrom@google.com
BUG=22413
Review URL: https://codereview.chromium.org//931113006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43821 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-17 21:46:13 +00:00
nweiz@google.com
bbe0d9325c
Revert "Use native async/await support in pub."
...
This caused SDK compilation issues that may have obscured pub test failures as
well.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//887223007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43484 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 21:15:44 +00:00
nweiz@google.com
1835c63d0a
Use native async/await support in pub.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//896623005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43483 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 20:45:49 +00:00
floitsch@google.com
05c54a2ab3
dart2js: Remove heap-growth-flag that was passed to the VM.
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//892233003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43441 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 22:24:47 +00:00
nweiz@google.com
c3ab5d7d7d
Don't use pub_packages for running the Windows pub script.
...
R=rnystrom@google.com
TBR
Review URL: https://codereview.chromium.org//815473003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42473 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 19:41:00 +00:00
nweiz@google.com
80e6b5be2c
Remove the http package from the repo.
...
This also does away with the pub_packages build target.
R=ahe@google.com , rnystrom@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//810223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42469 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 19:04:04 +00:00
rnystrom@google.com
379ee11f6d
Don't run async/await compiler from bin/pub.
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//761173003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42051 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 22:26:11 +00:00
alanknight@google.com
48ff3ccd27
Rename snapshot, other user-visible parts of docgen to dartdocgen.
...
BUG=
R=ricow@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41529
Committed: https://code.google.com/p/dart/source/detail?r=41571
Review URL: https://codereview.chromium.org//696123005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41573 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:41:25 +00:00
alanknight@google.com
57aede2e75
"Reverting 41571"
...
BUG=
Review URL: https://codereview.chromium.org//703203002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41572 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:27:52 +00:00
alanknight@google.com
b9be0df603
Rename snapshot, other user-visible parts of docgen to dartdocgen.
...
BUG=
R=ricow@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41529
Review URL: https://codereview.chromium.org//696123005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41571 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:15:10 +00:00
alanknight@google.com
844c55185c
"Reverting 41529"
...
BUG=
Review URL: https://codereview.chromium.org//707503003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41531 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 21:08:12 +00:00
alanknight@google.com
935058524b
Rename snapshot, other user-visible parts of docgen to dartdocgen.
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//696123005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41529 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 20:23:08 +00:00
johnniwinther@google.com
09fbe78e71
Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
...
BUG=
Review URL: https://codereview.chromium.org//694353007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41514 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:51:01 +00:00
johnniwinther@google.com
8637cfd322
Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler"
...
This reverts commit r41512.
BUG=
Review URL: https://codereview.chromium.org//693183006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41513 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:15:26 +00:00
johnniwinther@google.com
2b336e17f0
Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
...
BUG=
Review URL: https://codereview.chromium.org//690103004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41512 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 07:09:04 +00:00
paulberry@google.com
f7db779401
Clean up scripts to run Java-based analyzer.
...
sdk/bin/dartanalyzer_developer is renamed sdk/bin/dartanalyzer_java
(replacing the old sdk/bin/dartanalyzer_java, which was unused), and
the test infrastructure is modified to use sdk/bin/dartanalyzer_java
to start the Java-based analyzer.
This frees up sdk/bin/dartanallyzer_developer to be the --host-checked
version of sdk/bin/dartanalyzer (paralleling what we do for
/sdk/bin/dart2js_developer).
R=ricow@google.com
Review URL: https://codereview.chromium.org//668743003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41227 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-21 13:02:37 +00:00
paulberry@google.com
b9116653bd
Modify dartanalyzer scripts to look more like dart2js scripts.
...
The dartanalyzer script (and its Windows companion, dartanalyzer.bat)
now support:
- Executing from snapshot if present, otherwise from source (needed
for buildbot tests).
- Passing in the appropriate package root when executind from source.
- Passing in VM tuning parameters to speed up analysis.
- Passing through extra DART_VM_OPTIONS to the VM.
Also, the old editor/tools/analyzer script has been removed and
the test infrastructure now uses sdk/bin/dartanalyzer, in the
same way that it works for dart2js.
R=ahe@google.com , johnniwinther@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//628363002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41150 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 14:21:37 +00:00
rnystrom@google.com
80a6e8270c
Get binstubs working on Windows.
...
Review URL: https://codereview.chromium.org//599343003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40667 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-25 05:43:21 +00:00
rnystrom@google.com
17c1642748
Store the async-await compiled pub code directly in the repo.
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//557563002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40041 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 16:55:16 +00:00
rnystrom@google.com
dafe5c5ee4
Run async compiler in pub Windows batch files.
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//500253002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39533 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-25 21:56:13 +00:00
rnystrom@google.com
5167458d68
Skeleton code for running the forthcoming async/await compiler on pub.
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//472173004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39530 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-25 20:38:58 +00:00
ricow@google.com
46738fbe54
Increase vm memory for docgen.
...
We are running out of memory on the bots generating the docs, see e.g.
http://build.chromium.org/p/client.dart/builders/new_analyzer-linux-release-be/builds/9085/steps/build/logs/stdio
I have filed issue 20308 to track this
R=whesse@google.com
Review URL: https://codereview.chromium.org//435883003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38825 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 08:43:19 +00:00
alanknight@google.com
06ca853a8a
Make docgen script work for directories with spaces in their names
...
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//418223008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38587 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 19:58:24 +00:00
nweiz@google.com
d8663eeeda
Create a separate packages directory for running pub.
...
Once issue 6943 is fixed, the http package will start using pub's
cross-platform library support to work with both dart:io and
dart:html. However, this package is also used *within* pub, so we need
a way for pub to import it that doesn't require it being run through
pub.
This change supports this by stripping out and dart:html imports from
the http package and creating a special packages directory only used
by pub that uses this modified version.
BUG=20068
R=floitsch@google.com
Review URL: https://codereview.chromium.org//397773002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38255 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 20:28:08 +00:00
whesse@google.com
dce5bc1322
Allow space in path in some dartanalyzer wrappers.
...
BUG=dartbug.com/17272
R=danrubel@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//291183002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36490 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-22 12:31:13 +00:00
ricow@google.com
d0e8a0b8a6
Add dart-sdk argument when calling the dart based analyzer in the created sdk
...
I am not even sure why we need to pass in this argument, but the tool requires this or it will exit with "Usage: dartanalyzer: no Dart SDK found."
This is a fix so that we can get a release out, I will leave it to the analyzer people to figure out if this is needed after all.
R=kasperl@google.com
Review URL: https://codereview.chromium.org//273863002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35889 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-08 08:18:48 +00:00
danrubel@google.com
521aef0d96
Replace Java based analyzer with Dart based analyzer when building SDK
...
* include analyzer dart files and snapshot in SDK
* modified bin/dartanalyzer to call dart based analyzer
* removed jar files in utils directory
BUG=dartbug.com/18289
R=ricow@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//240723006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35604 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-30 23:09:14 +00:00
aprelev@gmail.com
e70eb98773
Process docgen command-line parameter correctly.
...
BUGS=dartbug.com/16964
R=kasperl@google.com
Review URL: https://codereview.chromium.org//165113003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32848 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 11:18:26 +00:00
rnystrom@google.com
3cefa1c834
Bump VM heap size in pub batch files.
...
BUG=https://code.google.com/p/dart/issues/detail?id=16837
R=ahe@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//170003003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32804 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 18:42:33 +00:00
rnystrom@google.com
13ae4b64cb
Give the VM more heap in pub (on Mac/Linux).
...
BUG=https://code.google.com/p/dart/issues/detail?id=14730
R=ahe@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//168013003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32803 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 18:36:12 +00:00
dgrove@google.com
22d649cf9a
Automatically pass SDK into docgen.dart, and use the SDK for running
...
pub and the Dart binary. This removes the need to have the SDK in the
PATH when running docgen.
R=efortuna@google.com
Review URL: https://codereview.chromium.org//161893002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32632 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:23:25 +00:00
dgrove@google.com
1b705cbdf0
Remove a few more vestiges of dartdoc.
...
R=alanknight@google.com
Review URL: https://codereview.chromium.org//161433002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32631 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:05:52 +00:00
johnniwinther@google.com
385e45d5c1
dart2js.bat/ Receive DART_VM_OPTION string properly.
...
BUG=https://code.google.com/p/dart/issues/detail?id=16594
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//153743007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32364 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 15:58:32 +00:00
aprelev@gmail.com
b5f91066fd
Fix docgen.bat so it can start docgen from snapshot.
...
R=alanknight@google.com
Review URL: https://codereview.chromium.org//149723004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32145 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 22:09:02 +00:00
pquitslund@google.com
36da390ffe
dartfmt SDK executables.
...
R=danrubel@google.com , kustermann@google.com
Review URL: https://codereview.chromium.org//98043005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32040 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 23:10:34 +00:00
alanknight@google.com
3730236bdf
Add a snapshot for docgen and use it in the build
...
R=efortuna@google.com , ricow@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//116043013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32025 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 18:40:34 +00:00
rnystrom@google.com
bb58a1b4ad
Fix pub batch files on Windows.
...
They should handle spaces in paths correctly now.
BUG=https://code.google.com/p/dart/issues/detail?id=10104
R=nweiz@google.com
Review URL: https://codereview.chromium.org//100623012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31150 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-14 00:09:27 +00:00
nweiz@google.com
326891de60
Support symlinking to dart-sdk executables on Linux and Mac.
...
R=ahe@google.com , brianwilkerson@google.com , rnystrom@google.com
BUG=9409
Review URL: https://codereview.chromium.org//68503004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30287 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 19:28:07 +00:00
rnystrom@google.com
21963801ae
Revert "Make Dart heap size bigger when running pub."
...
Reverts commit r29866.
BUG=
Review URL: https://codereview.chromium.org//58513005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29869 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 01:49:27 +00:00
rnystrom@google.com
f90d34df2e
Make Dart heap size bigger when running pub.
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//51353011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29866 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 01:13:43 +00:00
ricow@google.com
3ec954521e
Fix dart2js bat to support paths with parenthesis in
...
Review URL: https://chromiumcodereview.appspot.com//57483004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29799 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 11:29:32 +00:00
ricow@google.com
c0c636652c
Add support for passing in vm options to the dart2js scripts.
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//23618063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27690 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 08:25:05 +00:00
scheglov@google.com
077821f3ca
Polymer tests require more heap.
...
R=devoncarew@google.com
BUG=
Review URL: https://codereview.chromium.org//23361029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26618 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-24 19:22:43 +00:00
ricow@google.com
eedbf0ccfc
Fix a few issues in the dartanalyzer shell scripts.
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//22577003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25923 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 11:31:54 +00:00
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
rnystrom@google.com
aa6ccd2d17
Don't run pub in checked mode in the built SDK.
...
BUG=https://code.google.com/p/dart/issues/detail?id=11083
R=ahe@google.com
Review URL: https://codereview.chromium.org//17063019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24372 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 22:20:16 +00:00
rnystrom@google.com
4bea84958e
Make pub.bat work from within the repo.
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//16990005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24043 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 17:18:42 +00:00