Commit Graph

6631 Commits

Author SHA1 Message Date
kustermann@google.com 7e1503cff0 Bugfix in tools/build.py: Error -> Exception rename
Review URL: https://codereview.chromium.org//11440014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15770 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 08:54:40 +00:00
kustermann@google.com 42813dffe6 Move runtime/tools/make_version.py to tools/ and use GetVersion from utils.py
Currently runtime/tools/make_version.py creates the version string itself.
Since this is already done in tools/release/version.dart, we should use
that. tools/utils.py provides a python wrapper around it with GetVersion().

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15769 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 08:52:32 +00:00
vsm@google.com 0d47b57c8d Hack to get the android bot going
Review URL: https://codereview.chromium.org//11442026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15767 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 01:18:14 +00:00
vsm@google.com a66019b87c Fix build step on android bot
It had been failing because os was "android dart" instead of "android".

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15745 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 19:35:31 +00:00
blois@google.com e3850aa591 Adding dart:indexed_db.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15719 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 02:55:59 +00:00
whesse@google.com ca260ce79e Reduce debug printing from test script when testing --build-directory option.
Cleanup fix to mkdirRecursive.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15686 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 14:25:04 +00:00
whesse@google.com 54a7829c3f Fix test scripts to work with an absolute build directory path on Windows.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15683 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 11:01:42 +00:00
antonm@google.com 86ce280398 Another try.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15675 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 01:49:59 +00:00
antonm@google.com 25f9de94b0 Some more diagnostics.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15672 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 01:16:44 +00:00
antonm@google.com b46a5b2b41 Properly create paths.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15671 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 00:11:49 +00:00
antonm@google.com 80ce8347ac Use Directory, not a string.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15669 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 23:20:26 +00:00
alanknight@google.com 56f0b7da28 create_sdk should not copy packages directories for things under pkg
Review URL: https://codereview.chromium.org//11411335

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15666 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 22:38:44 +00:00
antonm@google.com 7526c02dab Fix string concatenation.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15659 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 21:46:52 +00:00
antonm@google.com a229522c74 Hacky fix for paths with drive names on Windows.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15654 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 20:52:41 +00:00
antonm@google.com 0522fc0442 Add some diagnostics to understand what goes on.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15651 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 20:23:27 +00:00
antonm@google.com ac192a1c52 Add some diagnostics to understand what goes on.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15650 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 19:19:45 +00:00
whesse@google.com 2b929563ed Fix test.dart's --build-directory option to accept absolute paths.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15632 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 12:35:00 +00:00
blois@google.com b125775b2b Include dart:html_common in the Dartium snapshot.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15621 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-02 20:10:08 +00:00
dgrove@google.com 2d5afca66c Add gen_snapshot to SDK.
Review URL: https://codereview.chromium.org//11416255

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15611 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 23:11:12 +00:00
dgrove@google.com 030e9e267f Don't add "+0" when SDK version number's patch is 0.
Review URL: https://codereview.chromium.org//11411293

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15600 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 21:14:25 +00:00
ahe@google.com 05ad7990ab Ensure the packages directory exists.
Review URL: https://codereview.chromium.org//11416281

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15580 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 12:18:37 +00:00
blois@google.com 967537f037 Revert "Creating a common library for all DOM types."
This reverts commit 11316113.

This broke snapshotting on Dartium (which I'm quite sure that I tested).

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15566 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 02:51:07 +00:00
blois@google.com 78035ede07 Creating a common library for all DOM types.
BUG=6810

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15564 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 02:27:33 +00:00
gram@google.com e247b60bcd Shared library for embedding VM in Android apps.
Review URL: https://codereview.chromium.org//11419237

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15556 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 00:10:27 +00:00
dgrove@google.com 5f45c65973 Add ability to publish package without a pubspec.
Review URL: https://codereview.chromium.org//11280238

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15544 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 21:56:53 +00:00
rnystrom@google.com 13b463479e Fix curl path-munging in create_sdk.py.
The string literals in the Dart code are using " not ', so the
patterns didn't match. :(
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15534 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 19:01:53 +00:00
blois@google.com 76b1800cd6 Splitting the Audio types out of the HTML library.
BUG=3108

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15529 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 17:58:26 +00:00
ricow@google.com 3f9aaca941 Don't run pub and pkg as default, explicitly add these to the test command for running
Review URL: https://codereview.chromium.org//11428084

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15520 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 15:22:04 +00:00
ahe@google.com c17990a886 Call dart2js directly from sdk/bin.
Review URL: https://codereview.chromium.org//11299206

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15512 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 12:15:29 +00:00
iposva@google.com a308615d5d Fix issue 7005:
- Preserve exported symbols when call strip on Mac OS X.
- Do not call GuessOS() repeatedly.
Review URL: https://codereview.chromium.org//11348295

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15504 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 09:18:37 +00:00
ricow@google.com a799a7e402 Add --checked or --minified to test directory name when generating output.
Currently the compiled output will simply be overwritten if you run
non-checked mode followed by checked mode.
Review URL: https://codereview.chromium.org//11280085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15503 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 09:12:10 +00:00
dgrove@google.com e5bd12b67f Add a tool to publish packages in the repo to pub.
Review URL: https://codereview.chromium.org//11415191

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15490 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 01:24:22 +00:00
nweiz@google.com 748bbee8e7 Add http and oauth2 as SDK packages.
Review URL: https://codereview.chromium.org//11419207

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15466 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 19:35:59 +00:00
ahe@google.com b54782a0fc Enable debugging from a single console.
Review URL: https://codereview.chromium.org//11421121

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15442 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 08:53:20 +00:00
ahe@google.com dd76d416c2 Make the PackageRoot test file option relative to the test file.
BUG=http://dartbug.com/6817

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15387 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 12:30:30 +00:00
ahe@google.com 438a21c698 Allow passing in command-line options to co19_test.dart.
Review URL: https://codereview.chromium.org//11299161

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15372 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 09:14:08 +00:00
amouravski@google.com ed22abc961 HTML human writable docs working end to end!... mostly...
Included is the first bit of hand-written HTML docs in MenuElement (since it
was first on the list of files.)

Note that this CL is a super set of https://codereview.chromium.org/11280133/

Things are still very, very fragile, but it works!

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15360 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 00:38:46 +00:00
whesse@google.com 6220720429 Add --build-directory option to test.py.
Fix problem when no --step-name option is present.

BUG=dart:6885

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15280 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 12:54:04 +00:00
aprelev@gmail.com 991a4c587c Enabled snapshot generation in SDK creation for Windows platform.
This is a follow-up to https://chromiumcodereview.appspot.com/11339005/

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15268 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 16:50:48 +00:00
ager@google.com 2ab635e6c7 Remove output directory from library path on Linux.
Move the setting of -rdynamic to the two executables that need
it (dart, dart_no_snapshot). It is needed to allow dynamically
loaded libraries to lookup the API symbols in the binary. We
use that for native extensions.

R=whesse@google.com,iposva@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15258 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 14:41:34 +00:00
efortuna@google.com f68a385ec8 Allow force revert for git users as well.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15172 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 18:58:42 +00:00
kustermann@google.com 8f86ec778d Remove the legacy --additional-compiler-flags option from test.py
The --additional-compiler-flags option is no longer used. The buildbots
use the --minified option now.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15148 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 13:24:37 +00:00
kustermann@google.com 072625732c Pass --minify to dart2dart if --minified was specified on test.py
Currently --minified on test.py has only an effect on dart2js commands.
The dart2dart commands use the legacy --additional-compiler-flags="--minify"
option.

This change is the first one of two CLs, where we pass --minify to dart2dart
if --minified was specified on test.py.

The second change will then remove the --additional-compiler-flags option
as soon as the build bots have been updated to use the new scheme for dart2dart.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15144 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 12:21:04 +00:00
kustermann@google.com cc3ef5ed38 Make SummaryReport.addCompileErrorSkipTest() depend on --report
Review URL: https://codereview.chromium.org//11316100

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15138 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 09:29:13 +00:00
lrn@google.com 22309b260c Remove NullPointerException.
Accessing non-existing members on null now throws NoSuchMethodError.
Throwing a null value fails by throwing a NullThrownError.
Methods checking for null now generally throw new ArgumentError(null).

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15136 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 09:21:52 +00:00
nweiz@google.com 500db0fb88 Enable CurlClient tests on Windows by bundling curl.exe.
BUG=6777

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15117 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 22:55:30 +00:00
ahe@google.com 8693dca092 Build package root directory on Pub.
Review URL: https://codereview.chromium.org//11316082

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15097 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 18:25:58 +00:00
kustermann@google.com 52077af7fa Revert "Added support for skipping redundant dart2js compilations."
We must disable this feature until we've made sure that the boolean
dart2js flags (e.g. --checked) are included in the directory names.

TBR=ahe

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15087 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 15:47:59 +00:00
kustermann@google.com f4bc6a5f3f Added support for skipping redundant dart2js compilations.
Currently, the buildbots run tests on every commit. But often neither
the tests nor the dart2js compiler did change (e.g. on status file updates).

The added code will check if the dependencies (i.e. files listed in
test.js.deps) or the dart2js snapshot did change. If not, the output
of the previous dart2js compilation is up to date and the compilation
step is skipped.
The skipping of redundant dart2js compilations works only if the '--use-sdk'
option was specified (because in this case the dart2js snapshot is used).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15080 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 13:56:11 +00:00
ahe@google.com bbddb15ea2 Pass package-root option to dart2js in browser tests.
Review URL: https://codereview.chromium.org//11414056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15076 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 13:08:17 +00:00