Commit Graph

6631 Commits

Author SHA1 Message Date
dgrove@google.com 8998e74536 Start moving non-platform libraries from lib/ to pkg/ .
Review URL: https://chromiumcodereview.appspot.com//10827227

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10655 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 16:26:41 +00:00
antonm@google.com 0bdef30a5b Do not force checked mode on VM.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10635 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 11:47:35 +00:00
ricow@google.com 5f0160badc Add python script for clobbering the output directory of a build on any platform given the mode and architecture.
Review URL: https://chromiumcodereview.appspot.com//10830302

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10629 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 10:59:29 +00:00
efortuna@google.com d0639b090e Fix get_archive to deal with ranges of numbers that appear in the
dartium_archive (see issue # 4484).
Review URL: https://chromiumcodereview.appspot.com//10828291

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10614 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 23:16:48 +00:00
scheglov@google.com ba4c0b4a2b Fix test_suite.dart to fix dartc tests
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10580 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 15:03:56 +00:00
antonm@google.com b5afc18701 Speculative fix for dartc problem.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10576 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 14:43:26 +00:00
antonm@google.com 553cfe80b6 Proper support for VMOptions declarations for dart2dart.
Plus remove suppressions for now passing tests and retriage ones
for which we hoped the reason was in VMOptions.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10563 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 12:05:58 +00:00
jackpal@google.com 106e96f420 Filter out _android.(cc|h) files for non-Android OS targets
This change allows us to add _android.(cc|h) files to the
source tree without affecting other OSs.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10526 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 18:42:10 +00:00
efortuna@google.com 5072b18d98 Enable Opera testing (!!!).
Review URL: https://chromiumcodereview.appspot.com//10832239

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10513 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 16:50:34 +00:00
sigmund@google.com 26eed674ba Fix layout tests.
Review URL: https://chromiumcodereview.appspot.com//10854075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10462 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 21:52:07 +00:00
vsm@google.com 7a5a9ecc63 More robust exit test for Dromaeo
This should fix the immediate close in Safari.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10423 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 22:02:31 +00:00
sethladd@google.com 82487ff3b2 get svn rev num even if using git svn
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10389 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 14:55:01 +00:00
ricow@google.com 8af43b1439 Revert 10374 - clobbering did not help.
Review URL: https://chromiumcodereview.appspot.com//10834225

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10375 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 11:37:44 +00:00
ricow@google.com bd3018976d Relanding 10366 - expecting a clobber to resolve the linking issue.
Review URL: https://chromiumcodereview.appspot.com//10831209

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10374 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 11:19:42 +00:00
ricow@google.com cb8c30393c Revert 10366, this breaks the windows builders
Review URL: https://chromiumcodereview.appspot.com//10830212

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10372 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 09:06:51 +00:00
ricow@google.com 525627c2ba Fix gyp settings for builds within Visual Studio.
This is landing of a community patch from  Don J. Olmstead, see: http://code.google.com/p/dart/issues/detail?id=4296
Review URL: https://chromiumcodereview.appspot.com//10854036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10366 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 07:49:32 +00:00
gram@google.com 04addcf452 Fix break.
Review URL: https://chromiumcodereview.appspot.com//10834195

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10317 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 22:57:17 +00:00
gram@google.com 8532a6349d Clean up the test wrapper code so that it does not use reportTestError, and made that private.
The HTML configs still need a way of reporting errors so I added a method to Config which can be used for this purpose. This seems a bit cleaner and more flexible, as configs can now override this.
Review URL: https://chromiumcodereview.appspot.com//10854013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10311 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 22:00:59 +00:00
jackpal@google.com 5e62db3e6a Make code follow the Python style guidelines
+ Use a doc string for the whole file.

+ Lower case function names.

+ Consistently use single-quotes for quoted strings.

+ align wrapped elements with opening delimiter.

+ use a main() function
Review URL: https://chromiumcodereview.appspot.com//10837127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10307 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 21:02:28 +00:00
jackpal@google.com d51cff04c0 Update gyp, keep VS 2008 default for Windows builds.
Use the environment variable GYP_MSVS_VERSION to override
the default.

all.deps/DEPS now calls tools/gyp_dart.py to generate
the build files. (Previously it called gyp directly.)

tools/gyp_dart.py adds the logic to make VS 2008 the
default build file format on Win32 systems.

The same logic was added to tools/generate_projects.py
which is called by all-deps/DEPS to generate build files
for dart vm sub-projects. These sub-project build files
aren't used in official builds, but apparenlty are used
by some engineers. I don't know how many of those engineers
are building on Windows, but we might as well keep the
two build systems compatible.
Review URL: https://chromiumcodereview.appspot.com//10836101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10299 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 18:56:48 +00:00
efortuna@google.com df9944faad Update script to switch through revision history successfully.
Review URL: https://chromiumcodereview.appspot.com//10832149

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10271 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-04 20:37:24 +00:00
pquitslund@google.com f40b57b1d8 Textmate dart bundle updates (more keywords and some reorg).
Merge of http://codereview.chromium.org/10831139/ with some refactoring towards more consistent nomenclature.
Review URL: https://chromiumcodereview.appspot.com//10829172

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10249 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 20:41:32 +00:00
ager@google.com 4531c0c770 Remove old isolate API and update all code in the repository to use
the new API.

R=kasperl@google.com,sigmund@google.com,turnidge@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10210 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 07:24:29 +00:00
cshapiro@google.com 9a3c881d10 Make the debug optimization level configurable through a variable.
Review URL: https://chromiumcodereview.appspot.com//10832125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10205 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 00:18:47 +00:00
efortuna@google.com 44d192d551 Properly update chromedriver.
Review URL: https://chromiumcodereview.appspot.com//10826125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10200 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 22:22:47 +00:00
pquitslund@google.com aa6b0540c2 Vim support for 'external'.
Review URL: https://chromiumcodereview.appspot.com//10843054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10190 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 18:31:58 +00:00
pquitslund@google.com a3064d44bf Dart textmate bundle updates (support for 'external' and 'as').
Review URL: https://chromiumcodereview.appspot.com//10831131

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10188 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 18:20:53 +00:00
pquitslund@google.com 533b03bc78 User-submitted patch to dart textmate bundle.
Alan's patch: https://chromiumcodereview.appspot.com/10836068/
Review URL: https://chromiumcodereview.appspot.com//10829145

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10179 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 16:28:18 +00:00
sgjesse@google.com ae32cbae6f Disable C++ exceptions in std libraries on Windows
As Dart C++ code cannot use C++ exceptions make sure that the C++ libraries on Windows does not try to use C++ exceptions.

This gets rid of the warning

  warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc

when compiling on Windows.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10167 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 13:41:06 +00:00
efortuna@google.com ee6d5ce9fd Rerun each CL 10 times to smooth out noise in perf testing.
Review URL: https://chromiumcodereview.appspot.com//10828077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10086 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 20:17:05 +00:00
nweiz@google.com efffe44f7f Include the args library in the SDK.
Review URL: https://chromiumcodereview.appspot.com//10824098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10032 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 00:30:06 +00:00
devoncarew@google.com ed571f33cc Add dart:math to the sdk.
Review URL: https://chromiumcodereview.appspot.com//10827091

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10030 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 22:59:41 +00:00
antonm@google.com 74d17a16f9 dart2dart compiler support.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9880 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 11:20:41 +00:00
dgrove@google.com 89dd99fdd0 Convert DOM and HTML frog to dart2js.
Review URL: https://chromiumcodereview.appspot.com//10800104

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9871 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 22:45:59 +00:00
johnniwinther@google.com c6d70857e4 Several new features and improvements for dartdoc.
* Dartdoc now works on multiple libraries and entrypoints.
* A dartdoc/dartdoc.bat script is generated into dart-sdk/bin
* The API libraries recognized by dart2js using the 'dart:' prefix
  have been updated to use the 'dart:*' name in their library tags.
  This makes the libraries show up with the correct prefix in the API docs.
* The processed libraries can be selected or limited, API
  libraries are not processed by default, and links to api.dartlang.org
  can be generated for API libraries.

  Because of the changed library tags on API libraries, the generated
  links don't current match the addresses on api.dartlang.org.
  For instance, the docs for Object is currently located in
  api.dartlang.org/core/Object.html, but with the new library
  tag 'dart:core', the address will be api.dartlang.org/dart_core/Object.html.
  The links will thus not work until api.dartlang.org have been updated with
  this patch.
* Code and pre blocks use overflow-x:auto to support wide lines.

BUG=2656,2686,3533,4029,4145,3555

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9843 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 09:16:33 +00:00
hausner@google.com 67191621a4 Debugger API to enable/disable debugging of libraries
Review URL: https://chromiumcodereview.appspot.com//10797033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9772 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 22:51:09 +00:00
johnniwinther@google.com 50f9d4ff31 Dartdoc and apidoc updated to use Path.
Review URL: https://chromiumcodereview.appspot.com//10780030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9759 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 14:15:16 +00:00
hausner@google.com 373d313af3 Add multibyte string support to debugger
Issue 4110.

Had to extend the JSON protocol to support code points > 0xffff. The debugger client (editor) needs to support this new escape sequence'
format as well.
Review URL: https://chromiumcodereview.appspot.com//10801002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9751 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-18 23:27:59 +00:00
hausner@google.com e3b118f88e Don't return private fields from imported libs
Fix for issue 4098 (dartbug.com/4098)
Review URL: https://chromiumcodereview.appspot.com//10783038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9722 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-17 21:18:44 +00:00
johnniwinther@google.com 7403284e4e Frog removed from dartdoc.
Review URL: https://chromiumcodereview.appspot.com//10696191

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9590 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 11:12:53 +00:00
johnniwinther@google.com fdbabb995e Dartdoc and Apidoc updated to use dart2js through the mirror system.
BUG=3414

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9584 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 08:52:19 +00:00
lrn@google.com 655a65060e Include new corelib/unified dir in sdk for dart2js
TBR=floitsch

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9545 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-11 09:36:12 +00:00
vsm@google.com 6c344183fc Initial tests for JS interop
BUG=625

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9384 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-04 07:45:41 +00:00
antonm@google.com 2b5662a8de Try to speed up output piping.
Chances are that leads to mysterious timeouts.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9366 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 17:56:58 +00:00
zundel@google.com 1ab5009ca2 The file isolte_runtime.dart was only used by the analyzer, and now it is no longer in use
Review URL: https://chromiumcodereview.appspot.com//10700062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9301 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-02 17:00:02 +00:00
whesse@google.com 139a410f1c Test Scripts: Fix Windows path error in layout tests.
BUG=3942
TEST=tools/test.py -c none -r drt html/shadow_dom_layout

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9283 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-02 10:51:52 +00:00
whesse@google.com 28a43a2280 Add test for native extensions that copies the extension to a test directory and runs it.
BUG=dart:1817
TEST=standalone/io/test_extension_test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9247 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 12:45:28 +00:00
hausner@google.com d9ba32f258 Support for lists in debugger wire protocol
Review URL: https://chromiumcodereview.appspot.com//10698039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9235 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 00:52:51 +00:00
sigmund@google.com be52d28a66 fixing drt-trampoline
BUG=http://dartbug.com/3917

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9230 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 21:55:40 +00:00
sigmund@google.com 25a24b69a5 Adds support for layout tests.
Review URL: https://chromiumcodereview.appspot.com//10683009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9207 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 17:05:10 +00:00