Commit Graph

49 Commits

Author SHA1 Message Date
dgrove@google.com 779357bcad get rid of dependency on htmlconverter for everything but swarm.
move htmlconverter.py to swarm .
Review URL: https://chromiumcodereview.appspot.com//9977011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6201 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 22:29:52 +00:00
dgrove@google.com 8b9f7fe6d0 Move update.py to samples/swarm, remove a bunch of deprecated files for
measuring coverage (they worked with dartc's codegen).
Review URL: https://chromiumcodereview.appspot.com//9837113

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5946 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 18:42:27 +00:00
kasperl@google.com 5c664f9e2a Move the DOMContentLoaded logic into the generated JavaScript
code thus simplifying htmlconverter.py.
Review URL: https://chromiumcodereview.appspot.com//9877008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5942 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 17:55:00 +00:00
vsm@google.com 59d574c599 Move copy_dart.py from client to tools
Review URL: https://chromiumcodereview.appspot.com//9789004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5941 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 17:51:20 +00:00
vsm@google.com 2f0ff2fb17 Bring htmlconverter back up to date:
- Remove dartc path.
- Use dom or html for DOMContentLoaded depending on the compiled source.
- Fix up tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4851 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 02:03:01 +00:00
vsm@google.com 0862d9d62e Fix htmlconverter to pick up frog from top-level out
Review URL: https://chromiumcodereview.appspot.com//9517007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4727 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 22:27:28 +00:00
jmesserly@google.com 24aebd0d3d repurpose dart_client bots for browser testing
I also refactored the buildbot_annotated_steps in client to remove the now-dead code.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4057 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 01:41:43 +00:00
efortuna@google.com 9f58ccf764 Fix dartc tests, and second half of r3585 for Windows.
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9298028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3669 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 21:29:34 +00:00
efortuna@google.com a84c69a064 Reverting r3585. Unclear how this broke dartc...
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9290006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3588 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 02:45:41 +00:00
efortuna@google.com 0d150af08d More fixes for test.dart to run browser tests on Windows!
Review URL: https://chromiumcodereview.appspot.com//9146049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3585 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:57:09 +00:00
efortuna@google.com 5a5677b37c Missed file in previous checkin.
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//9160013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3523 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 23:39:04 +00:00
efortuna@google.com c8e620d663 Fix frogsh + Windows + test.dart take 2
Review URL: https://chromiumcodereview.appspot.com//9117010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3522 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 23:34:13 +00:00
sigmund@google.com 036f2cdbd3 Revert "Make changes to test.dart and frogsh for Windows."
Review URL: https://chromiumcodereview.appspot.com//9193021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3510 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 19:59:06 +00:00
efortuna@google.com 9bd7f7722f Make changes to test.dart and frogsh for Windows.
This should enable frogsh to build correctly and function properly on Windows. 
test.dart is waiting on a fix in the VM before it will be fully ready.
Review URL: https://chromiumcodereview.appspot.com//9233015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3506 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 19:09:32 +00:00
vsm@google.com d7697e4281 Set htmlconverter to executable
This makes it consistent with copy_dart and other scripts.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3304 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 19:39:04 +00:00
whesse@google.com 84fc2e6305 Use test.dart for dartc buildbot. Ensure that test.dart creates the build directory.
BUG=
TEST=rm -rf out; tools/test.dart -cdartium

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3100 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 15:47:43 +00:00
mrrussell@google.com 663199cbc5 add JDK/bin to the path
Review URL: http://codereview.chromium.org//8894025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2333 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-10 06:12:46 +00:00
mrrussell@google.com 44289a6689 add the JAVA_HOME to the environment for the call to build.py when running on the dart-editor-linux bot
Review URL: http://codereview.chromium.org//8896015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2332 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-10 05:36:54 +00:00
mrrussell@google.com 14e41988e1 Pass all builders starting with dart-editor to the dart builder
Review URL: http://codereview.chromium.org//8829001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2145 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 21:58:06 +00:00
ngeoffray@google.com 8c8ffbac52 Only build 'compiler' (ie dartc) when running chromium tests.
Review URL: http://codereview.chromium.org//8776005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1980 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-01 13:17:53 +00:00
dgrove@google.com 9ccef48844 Add libdir when invoking frog.
Review URL: http://codereview.chromium.org//8590039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1628 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-17 21:03:51 +00:00
terry@google.com 17fc5c5060 Fixed update to correctly call htmlconverter.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1557 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-16 02:47:20 +00:00
sigmund@google.com ca197c42c3 Support --frog flag in htmlconverter.py
Review URL: http://codereview.chromium.org//8495002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1280 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 01:41:08 +00:00
sigmund@google.com 48e1091e98 Small fix to buildbot_annotated_steps.py to find correctly the latest version of
dartium.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1122 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 20:57:26 +00:00
ngeoffray@google.com 33c83c7c03 Cleanup buildbot_annotated_steps.py to run and test at the top level.
Review URL: http://codereview.chromium.org//8341112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1091 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 14:21:23 +00:00
ngeoffray@google.com 33ec29bf11 Add a new variable environment for testing, to replace the misusage of 'arch'.
Review URL: http://codereview.chromium.org//8408002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@993 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-01 09:12:55 +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
sigmund@google.com a23f6229f0 Archive dartserver code
Review URL: http://codereview.chromium.org//8341078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@853 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 19:51:13 +00:00
scheglov@google.com b06998634f Use onError()
R=codefu@google.com,zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@851 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 19:35:14 +00:00
sigmund@google.com df0fe640ad Fixes to allow natives in copy_dart.py.
Review URL: http://codereview.chromium.org//8394065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@774 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-26 20:03:42 +00:00
sigmund@google.com b9dc2feb98 Allow running frog tests on bot
Review URL: http://codereview.chromium.org//8387017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@674 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-25 01:41:19 +00:00
terry@google.com 770a1c9d60 Remove the --disable-type-optimizations when --optimize is used.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@482 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 20:10:00 +00:00
terry@google.com 40310a05ad Support layout metrics in CSS.
- Needed a little more CSS grammar:
       - repeat syntax
       - #elemId regEx was wrong at least 1 character not 2.
  - Changed emitted Dart code for stylets.
  - Changed layout sample code to use CSS stylets.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@447 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 17:54:07 +00:00
codefu@google.com 92e3b133c1 Missing unitCompiled()
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@443 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 15:54:17 +00:00
dgrove@google.com cab9ea690f 1. fix broken htmlconverter.py
2. add back js as target for htmlconverter.py
Review URL: https://chromereviews.googleplex.com/3568018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@273 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-08 07:37:52 +00:00
eub@google.com 7fb89bc64e Add --verbose and --dartc_extra_flags flags to update.py.
Review URL: https://chromereviews.googleplex.com/3577021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@269 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-08 00:12:06 +00:00
sigmund@google.com 4505632927 build bot: fixing pattern so that version of dartium + vm shows correctly in waterfall.
Review URL: https://chromereviews.googleplex.com/3572016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@262 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 21:26:59 +00:00
sigmund@google.com 755cd7ec8b htmlconverter.py: allow .html + .htm file extensions, disallow all others.
Review URL: https://chromereviews.googleplex.com/3567016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@261 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 21:17:04 +00:00
sigmund@google.com 05b0b0ba29 get_drt + client bots: fix google-storage source location for archives
Review URL: https://chromereviews.googleplex.com/3583012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@248 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 18:27:18 +00:00
sigmund@google.com 338a9b507a htmlconverter: fixing the use of optimized output.
Review URL: https://chromereviews.googleplex.com/3532021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@178 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:26:48 +00:00
jmesserly@google.com 50e675ca46 Fix for Swarm on iPad from static file server.
Also add parallel downloading to our offline image script.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@176 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:15:18 +00:00
sigmund@google.com 3c6d685a05 Use new file names for downloading dartium archives.
Review URL: https://chromereviews.googleplex.com/3561012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@175 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:04:57 +00:00
sigmund@google.com 6c03d06c5d htmlconverter: allow imports in inlined code, including imports to dom/html
Review URL: https://chromereviews.googleplex.com/3530016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@174 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:48:20 +00:00
terry@google.com acd85abe79 Fixed --optimize not working.
- Output files are different file names.
    - And -optimize requires --disable-type-optimizations for code to work.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@162 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:07:55 +00:00
eub@google.com 0c2c6482b8 Modify the OfflineHTMLConverter's behavior when it fails to download
an image: instead of silently emitting a non-local URL that will fail
offline, rewrite to a blank image.

Add an arg and use it to save images as local files, rather than
embedding them in the HTML as data://.
Review URL: https://chromereviews.googleplex.com/3535014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@159 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 21:45:42 +00:00
sigmund@google.com 06ec980f3f get_drt.py: renamed from get_dartium, tries to get the latest DumpRenderTree
from the most recent archive location that the user has access to.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@157 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 21:43:51 +00:00
sigmund@google.com ebd67ed258 htmlconverter: suggestions from dstockwell
Review URL: https://chromereviews.googleplex.com/3532012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@76 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:01:57 +00:00
sigmund@google.com b4be3ca2fe htmlconverter: support DOMContentLoaded and more:
- adds support for running code on DOMContentLoaded, but only for chromium
- fix errors in tests after rename to List
- fix test due to bug in dartium importing dart:json
- add flag to htmlconverter_test to keep temporary files (for debugging)
- adds a test that relies on DOMCOntentLoaded (this will fail in dartium)
- make htmlconverter.py use the dartc build in the top-level directory

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@69 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:31:50 +00:00
dgrove@google.com 4bc64b8c2b Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 04:52:33 +00:00