Commit Graph

47 Commits

Author SHA1 Message Date
devoncarew@google.com e02e973635 Fix one more spaces in path problem with dart_analyzer.
Review URL: https://codereview.chromium.org//11572054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16216 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 17:40:59 +00:00
devoncarew@google.com f1d18492de Fix a spaces-in-path problem with the dart_analyzer.bat script.
Add another place where we have to set target and source when compiling dart_analyzer.
Review URL: https://codereview.chromium.org//11583003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16178 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 19:31:28 +00:00
jmesserly@google.com c2a919a25f Fix dart_analyzer after core_runtime.dart rename--it was having trouble finding the SDK if you didn't name your folder "dart-sdk". So it worked in the Editor, but not on buildbots that use the SDK like https://drone.io/.
Also uses the same techique as "pub" to get the script directory. I think they had to harden it to handle symlinks and such.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15563 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 01:39:06 +00:00
devoncarew@google.com 6ee84d5e7f Removed a -d32 flag to dart_analyzer (fix for http://code.google.com/p/dart/issues/detail?id=5836)
Quoted input to tr in dart_analyzer.sh (http://code.google.com/p/dart/issues/detail?id=6051)
Changed dart_analyzer --version to report the new version format (not the old build revision format).
Review URL: https://codereview.chromium.org//11234069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14028 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 16:53:46 +00:00
aprelev@gmail.com 680cb56d8c Fixed dartc test/build setup, so test can run on Windows. Might be related to dart:2623
BUG=dart:2623
TEST=run "tools\test.py -mrelease -cdartc -rnone" on windows and observe all test pass.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11674 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-31 04:19:09 +00:00
zundel@google.com 6c9c84dc6e The dart_analyzer launch script was a bit tangled up. It needs to be able
to run either in the production mode where installed in the dart-sdk dir or
in development mode where it might not be installed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8443 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-08 15:26:01 +00:00
zundel@google.com 8574e3abdf Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk
Some now unused scripts and files were also removed.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8392 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 12:39:38 +00:00
zundel@google.com a45703b87a Reverts r8373 "Renamed the 'dartc' launch script to 'dart_analysis'"
Not all linux builders have same Java configuration.  Browser builds on
windows invoke dart_analyzer build.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8377 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:57:19 +00:00
zundel@google.com 629ad67b51 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@8373 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:16:04 +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 c9190bd33e Removes remants of precompiled .jar files from dartc build
Review URL: https://chromiumcodereview.appspot.com//10005005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6217 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 13:15:56 +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 6495d33d2a Adds -client flag to non-mac builds if not running in batch mode (tests)
This speeds up analysis on small programs significantly, from 5 seconds
down to 3 seconds.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5943 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 17:55:27 +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
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
zundel@google.com 46cfefcfed Here is the -d32 -client change for mac
Review URL: https://chromiumcodereview.appspot.com//9648027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5239 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 16:53:36 +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
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
zundel@google.com 1d6d0fc624 Removes dependency on d8/v8 from dartc
Review URL: https://chromiumcodereview.appspot.com//9466041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4616 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 14:32:11 +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
ahe@google.com 41f0492cf0 Remove dartc optimizing backend.
Review URL: https://chromiumcodereview.appspot.com//9353015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4025 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:22:07 +00:00
vsm@google.com 9c064586b3 Remove deps on deleted files
Tbr'ing to fix the build.

TBR=mmendez

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3917 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 18:07:51 +00:00
scheglov@google.com 0b61628ce3 Fix for extra memory consumption.
Especially in the big List.sort() test.

R=zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3846 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 14:57:23 +00:00
scheglov@google.com ec1c9714df Use appropriate heap limit
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3806 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 20:33:27 +00:00
scheglov@google.com b2725b7068 Raise heap limit
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3802 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 18:35:26 +00:00
zundel@google.com e2d6d49290 Adds extra measure of safety to dartc.sh and dartc_test.sh
Adding set -e will cause the script to exit with non-zero status if a
shell command exits with non-zero and the status is not checked.  We found
a case where a problem wasn't being caught and the script kept going in another
change.  This might help prevent similar problems from going uncaught in the
future.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3148 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 15:30:42 +00:00
whesse@google.com edcf12235f Fix an error on the buildbots where the dartc shell script was throwing an error.
Also, improve error output from test.dart.

Add verbose output from the dartc bash script, and separators between compilation and execution phase output in the test.dart browser tests.

BUG=dart:1104
TEST=tools/test.dart -cchromium language

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3143 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 14:14:49 +00:00
codefu@google.com bde6167ce4 Issue 1097: Optimized builds running out of stack on linux machines
http://code.google.com/p/dart/issues/detail?id=1097
This change only makes Linux builds match Mac for stack size.

R=mmendez
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3096 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 15:06:53 +00:00
codefu@google.com 2afd27cbf6 Increase Mac stack size
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2552 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:28:23 +00:00
jacobr@google.com 770a6a6c0a New version of the bindings.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2168 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 12:31:46 +00:00
mmendez@google.com 7500c61126 64 bit JVMs need a higher heap now.
TBR=fabiomfv

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2078 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 16:43:15 +00:00
mmendez@google.com 19270d9547 Fixes OOME for tests/co19/src/LibTest/core/List/sort/List_sort_A01_t06.dart
When tree shaking is enabled we need a little more memory to prevent OOMEs on tests/co19/src/LibTest/core/List/sort/List_sort_A01_t06.dart.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2071 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 14:16:47 +00:00
mmendez@google.com 98f6bb8259 More memory for tests...
Until we can do something about http://code.google.com/p/dart/issues/detail?id=670.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2033 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-02 21:17:11 +00:00
zundel@google.com b721a2962a Puts JsScope on a diet
Lazy initialization of the names field and interning the description field
reduces memory consumption from > 128M to < 64 M in a unit test that was
suffering from OOM problems.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1986 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-01 15:42:32 +00:00
jacobr@google.com 2dbe767ed6 Split html library into html and html_impl
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1879 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-28 22:16:54 +00:00
codefu@google.com 0a1c3461a8 New location for dartc_*.sh is Release_ia32 now that --mode is removed from
build.py

R=mmendez,ngeoffray
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@952 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 15:43:58 +00:00
ngeoffray@google.com 9acb7d6610 build.py will not accept --arch=dartc soon, so removing references and uses of --arch=dartc in the repo.
Review URL: http://codereview.chromium.org//8341103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@882 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 10:39:30 +00:00
codefu@google.com b145d2784b Cleanup the build for perf script
R=mmendez
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@579 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 14:22:41 +00:00
zundel@google.com 0294b62be1 remove TestRunner and revector callers to DartRunner
It only had a few methods in it that all ended up delegating to DartRunner.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@306 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-10 19:11:41 +00:00
jbrosenberg@google.com 7f4d06ec8d Fixed args passed to metrics scripts
R=codefu

Review URL: https://chromereviews.googleplex.com/3573019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@250 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 19:06:02 +00:00
jbrosenberg@google.com 115edafe88 update compiler_compare.sh to point to new repo
Review URL: https://chromereviews.googleplex.com/3568012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@232 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 16:02:07 +00:00
codefu@google.com fa4590de77 Make the system libraries less brittle to recompile
BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3508015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@153 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 20:21:04 +00:00
dgrove@google.com 977977e6ea Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:00:35 +00:00