Commit Graph

5874 Commits

Author SHA1 Message Date
William Hesse 634e5a1d02 Refs #25328 Use a portable shebang
BSD systems don't place bash in /bin and a lot of the dart tools
hardcode a #!/bin/bash shebang that fails the 'all' target build
(not able to execute dart2js since the interpreter is not found).

Solve the issue by using #!/usr/bin/env as the shebang. For scripts
that need to pass arguments to bash modify the script to use the set
command as the first executed line of shell.

BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org/1552313002 .
2016-01-05 16:26:28 +01:00
William Hesse f6183a63e5 Move third_party/clang to cloud storage
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1542953002 .
2015-12-22 15:17:46 +01:00
William Hesse 9cb6e9657b Move third_party/WebCore to git
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1546603002 .
2015-12-22 13:55:55 +01:00
Alan Knight ced1e5d1e7 Allow Window.open to return null in dart2js
BUG=
R=sra@google.com

Review URL: https://codereview.chromium.org/1540333002 .
2015-12-21 13:32:29 -08:00
William Hesse b1e90f1c89 Dummy commit to trigger builds after all slaves rebooted, due to chrome infrastructure change.
BUG=

Review URL: https://codereview.chromium.org/1538413002 .
2015-12-21 19:53:43 +01:00
William Hesse 79b6d81dd2 Move third_party/firefox_jsshell dependency to cloud storage
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1544463002 .
2015-12-21 14:38:14 +01:00
Ryan Macnak 6b964b83ac Add ./tools/test.py -c precompiler -r dart_precompiled.
- Make --gen/run-precompiled-snapshot take a directory to use for the snapshot pieces.
 - Throw on Platform.executeable to prevent tests from becoming fork-bombs.
 - Update status files so 'dart_precompiled' is generally expected to behave the same as 'vm'.

Currently multitests will fail unless run with --jobs=1 because the test harness assigns them the same temporary directory.

Running this also requires a great deal of space. My out directory is 380G.

BUG=http://dartbug.com/24975
R=fschneider@google.com, srdjan@google.com

Review URL: https://codereview.chromium.org/1507943002 .
2015-12-18 12:08:10 -08:00
Alan Knight 168e9ee882 Remove ugly check for super.created call in constructor
BUG=
R=terry@google.com

Review URL: https://codereview.chromium.org/1537563006 .
2015-12-18 09:41:45 -08:00
William Hesse 890883076d Switch pub bots to use a 64-bit build of Dart.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1533903003 .
2015-12-17 17:44:32 +01:00
Ivan Posva b6781b656a - Implement Platform.packageRoot and Platform.packageConfig based
on the new specification.

BUG=
R=lrn@google.com

Review URL: https://codereview.chromium.org/1529063006 .
2015-12-17 07:48:41 -08:00
William Hesse 3afd7025d6 Remove outdated support for chrome-only apis
These scripts, which are no longer used, generated support for Chrome
web app apis.

BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1526973002 .
2015-12-17 14:50:19 +01:00
William Hesse 6485590527 Remove old java-based analyzer from test scripts and status files
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1537653002 .
2015-12-17 14:44:57 +01:00
John McCutchan 9f7440cde5 Bump observatory pub packages DEPS
Fixes #25262

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1524333003 .
2015-12-16 07:30:25 -08:00
William Hesse a74f54faf0 Remove fake_async from third_party/pkg.
BUG=
R=nweiz@google.com

Review URL: https://codereview.chromium.org//1330363002 .
2015-12-16 14:16:33 +01:00
Ivan Posva f5f035407f - Temporarily allow running with dart_bootstrap during the
Observatory build.

BUG=

Review URL: https://codereview.chromium.org/1526133002 .
2015-12-15 10:51:55 -08:00
Todd Turnidge 08ce763e26 Update observatory_pub_packages_rev.
I want to pick up the new version of charted to drop some build warnings.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1519183003 .
2015-12-14 10:36:40 -08:00
William Hesse 089a8a0647 Update the checked-in SDK to version 1.13.0.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1524693003 .
2015-12-14 13:28:01 +01:00
Ivan Posva 6d0453594a - Prevent running of the dart_bootstrap script by default.
- Fix argument handling in Python: argparse does not properly handle booleans.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1519063004 .
2015-12-11 13:23:12 -08:00
keertip c88841c041 use bot_utils.run to run dartdoc so that the bot will fail if there are errors when dartdoc is run. This will catch failures to generate docs.
BUG=https://github.com/dart-lang/sdk/issues/25015
R=whesse@google.com

Review URL: https://codereview.chromium.org/1514193002 .
2015-12-11 08:03:48 -08:00
Sigmund Cherem 30c4c2b86e Change default dom.py to use ReleaseX64 (matching the default vm/dart2js arch)
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1514243002 .
2015-12-10 16:41:15 -08:00
Sigmund Cherem e6f6ce9743 fix safari test
Apparently my approach to use wss didn't work to exercise the error codepath. This change makes us excersize errors. After testing this in Safari though, I coudln't reproduce the issue, so I remove the note about this being a regression test for the original issue.

Review URL: https://codereview.chromium.org/1513363003 .
2015-12-10 16:02:27 -08:00
William Hesse ed9bb160de Revert "Copy entire api-docs directory to release GCloud directory in promote script."
This reverts commit f03279a7eb.
When there is only one file in the directory, this does not move the
file into the target directory, but moves it to replace the target
directory with a file.

Reverting to the old behavior, with a changed filename, since we are
now only copying one file. tools/bots/bot_utils.py:124 is changed to
use dartdocs_zipfilename() instead of the deleted apidocs_zipfilename().

BUG=https://github.com/dart-lang/www.dartlang.org/issues/1528
R=ricow@google.com

Review URL: https://codereview.chromium.org/1502253002 .
2015-12-09 10:29:34 +01:00
William Hesse 338bd5db79 Update collection to version 1.2.0 (f6135e6350c63eb3f4dd12953b8d4363faff16fc)
dartdoc 0.8.3 requires at least this version of collection.

BUG=

Review URL: https://codereview.chromium.org/1504813002 .
2015-12-07 13:42:45 +01:00
Ryan Macnak 08f443f540 Address clang warning regarding incorrect flag attempting to force non-executable stacks.
Cf. 6d018b8ce3

R=fschneider@google.com

Review URL: https://codereview.chromium.org/1498983002 .
2015-12-04 09:58:53 -08:00
Ivan Posva 6249c2bcf3 - Remove the legacy debug protocol.
BUG=
R=hausner@google.com

Review URL: https://codereview.chromium.org/1497033003 .
2015-12-03 17:46:02 -08:00
Rico Wind b1b1eb4864 Trigger bots after googlecode downtime
R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org/1493633002 .
2015-12-02 07:46:22 +01:00
Alan Knight 160355de42 Add the right type conversions for various postMessage methods
BUG=

Review URL: https://codereview.chromium.org/1490763005 .
2015-12-01 10:48:19 -08:00
Stephen Adams ceaa0bdcc4 Use proper type in _createElement_2
Without the annotation it is possible for a (small) program to tree-shake Element.

BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1486803002 .
2015-11-30 15:10:54 -08:00
Stephen Adams 0b9cdccf1c Tweak Document.createElement for better inlining
Single return statement lets the current optimizer inline the function.

R=alanknight@google.com

Review URL: https://codereview.chromium.org/1488793002 .
2015-11-30 13:36:19 -08:00
Harry Terkelsen a188e6c9fd Update Angular to e1d7bdcfe7f25156c8a462452db5367b68a02df6
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1465183004 .
2015-11-23 15:58:14 -08:00
Harry Terkelsen c8b1364c0b Update Angular to
R=sra@google.com

Review URL: https://codereview.chromium.org/1468293002 .
2015-11-23 15:47:24 -08:00
Ryan Macnak a984188def Remove dead functions at link time on Mac.
ReleaseX64 stripped
dart_precompiled 10.5MB -> 8.4MB (-20%)
dart 12.1MB -> 11.5MB (-5%)

R=iposva@google.com

Review URL: https://codereview.chromium.org/1471063003 .
2015-11-23 14:57:40 -08:00
Siva Annamalai 44a8ea7487 Update the DEPS file for dartium to pick up the latest blink change.
Review URL: https://codereview.chromium.org/1474523002 .
2015-11-23 14:34:41 -08:00
Alan Knight d2b1388ed1 Switch IDB Database.transaction to use a template to do the right type conversions
BUG=

Review URL: https://codereview.chromium.org/1473443003 .
2015-11-23 14:29:44 -08:00
Ryan Macnak 6d69da223d Don't ignore result of EnsureIsFinalized in Precompiler; update helper scripts to use dart_precompiled.
R=fschneider@google.com

Review URL: https://codereview.chromium.org/1464933002 .
2015-11-23 09:33:06 -08:00
Siva Annamalai 5c02b3d916 Update DEPS file.
Review URL: https://codereview.chromium.org/1464043002 .
2015-11-20 16:38:39 -08:00
Florian Schneider 64e71a0b2e VM: Make more globals constant where easily possible.
Remove -fdata-section again from the Linux build configuration: It prevented
some optimizations in gcc and clang - fewer things were recognized as constants.

Add const to pointers/arrays in some places to help compilers with determining
what is a constant.  A common pattern is strlen of a string literal const char*,
or an array of function pointers.

Tested with gcc 4.8.4 / clang 3.4 and improves code qualtiy + reduces binary size.

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

Review URL: https://codereview.chromium.org/1462953002 .
2015-11-20 10:52:07 +01:00
pq 9ae1265ff5 analyzer_cli move to SDK.
Tracking bug: https://github.com/dart-lang/sdk/issues/24731

Note, dartium build changes are in a separate CL: https://codereview.chromium.org/1453413006/

Some tests had to be disabled for want of mockito in the SDK; tracking their reimplementation is here: https://github.com/dart-lang/sdk/issues/24994

BUG=24731
R=whesse@google.com

Review URL: https://codereview.chromium.org/1459683003 .
2015-11-19 14:52:54 -08:00
Florian Schneider f0a35b3260 VM: Add dart_precompiled build target, a standalone VM without the JIT compiler.
This removes most of the compiler-related code from dart_precompiled:
x64 stripped binary size 13M -> 9.1M
ARM stripped binary size 12M -> 8.3M

The precompiled build defines the DART_PRECOMPILED macro. This
stubs out the public interface to the compiler/parser with empty
function bodies.

Use gcc options -ffunction-sections and --gc-sections to make the linker remove
unused functions/symbols.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1459443002 .
2015-11-19 10:13:16 +01:00
William Hesse f0242f10cd Start working on version 1.14 of Dart, now that 1.13 is released.
BUG=

Review URL: https://codereview.chromium.org/1459643003 .
2015-11-18 17:27:32 -08:00
Florian Loitsch 31c73aef7c Fix ambigous typos.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1443723004 .
2015-11-16 22:06:44 +01:00
Sam Rawlins 931ceef9b2 Fixing dart:html links _not_ found in docs.json
BUG= https://github.com/dart-lang/sdk/issues/23601
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1448963002 .
2015-11-16 10:18:23 -08:00
Sam Rawlins 974b461235 Update 145 DOM doc links to use proper Markdown; fix 56 broken links
BUG= https://github.com/dart-lang/sdk/issues/23601

Tested with dartdoc package at HEAD with new markdown package 0.9. Looks great.

R=alanknight@google.com

Review URL: https://codereview.chromium.org/1440183003 .
2015-11-13 14:43:49 -05:00
Alan Knight d3abcbaae0 Make GlobalEventHandlers not inherit from EventTarget
BUG=

Committed: https://github.com/dart-lang/sdk/commit/4d2191990e45240e9d9cb5cb31257c3b93f252a4

Review URL: https://codereview.chromium.org/1437033002 .
2015-11-13 10:19:23 -08:00
Alan Knight 65dfa74dd4 Revert "Make GlobalEventHandlers not inherit from EventTarget"
This reverts commit 4d2191990e.

BUG=

Review URL: https://codereview.chromium.org/1442463005 .
2015-11-12 15:29:46 -08:00
Harry Terkelsen 9a56c7ee56 dart2js: report output unit imports to dump-info
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1434103004 .
2015-11-12 14:10:49 -08:00
Alan Knight 4d2191990e Make GlobalEventHandlers not inherit from EventTarget
BUG=

Review URL: https://codereview.chromium.org/1437033002 .
2015-11-12 13:35:30 -08:00
Lasse R.H. Nielsen ed0b187d58 Add data-URI support class to dart:core (next to Uri).
R=floitsch@google.com, fschneider@google.com

Committed: https://github.com/dart-lang/sdk/commit/bbc66c2c41e61d82d6b85fdd16e2b0f1204c2a33

Review URL: https://codereview.chromium.org/1381033002 .
2015-11-12 13:02:20 +01:00
William Hesse d524cf4076 Update co19 test suite to commit Oct 1 2015 1d96fbbf94c534c9076f90bd4ebce6226169da48
Update co19-co19.status

Update co19 to tot.

Rename co19 language tests in status files, and roll co19 version.

BUG=
R=ricow@google.com, sgjesse@google.com

Review URL: https://codereview.chromium.org/1390533003 .
2015-11-11 10:47:46 +01:00
Harry Terkelsen da40ef9749 Update Angular to 64bd9639a14afd83bf3f03ffe82825be2c8e940c
R=sra@google.com

Review URL: https://codereview.chromium.org/1418453016 .
2015-11-10 16:47:25 -08:00