Commit Graph

3786 Commits

Author SHA1 Message Date
Alan Knight 87c1bb4b39 Add autofocus to the Html5NodeValidator list of standard attributes for <input>
BUG=

Review URL: https://codereview.chromium.org/1588773002 .
2016-01-13 17:19:00 -08:00
William Hesse cd21da1d98 Disable taskkill failure when killing dart processes on windows.
There is an outstanding issue with pub hanging and being unkillable on
windows.  Make the taskkill step pass on windows, even if there are
dart processes, until we fix this issue.

BUG=https://github.com/dart-lang/sdk/issues/24086
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1582773002 .
2016-01-13 11:17:18 +01:00
Jacob Richman 7c80c30848 DEPS AutoUpdate: webkit to 202748 (2016-01-12 18:20:36 -0800) rmacnak@google.com
Adjust to changed isolate creation callback signature.
https://src.chromium.org/viewvc/blink?view=rev&revision=202748
2016-01-12 18:26:23 -08:00
Alan Knight 7f80dbbbe1 Revert "Mark supportsPointConversions deprecated and always true rather than testing DOMPoint"
This reverts commit 2dfdfe554e.

BUG=

Review URL: https://codereview.chromium.org/1583673002 .
2016-01-12 16:24:12 -08:00
Alan Knight 2dfdfe554e Mark supportsPointConversions deprecated and always true rather than testing DOMPoint
BUG=

Review URL: https://codereview.chromium.org/1580203002 .
2016-01-12 13:52:38 -08:00
Alan Knight a5ba7a7db6 Add an Unstable comment/annotation on caretRangeFromPoint
BUG=

Review URL: https://codereview.chromium.org/1578103003 .
2016-01-12 11:12:47 -08:00
Alan Knight 914bf02cde Switch to using HashChangeEvent constructor instead of initHashChangeEvent
BUG=

Review URL: https://codereview.chromium.org/1582443003 .
2016-01-12 09:42:06 -08:00
Jacob Richman 7761675eec Update update_deps.py to use https as it is now required.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1577173002 .
2016-01-11 16:15:28 -08:00
Jacob Richman 47f03b7bf8 DEPS AutoUpdate: webkit to 202732 (2015-12-16 12:47:24 -0800) johnmccutchan@chromium.org
Support compressed observatory assets
https://src.chromium.org/viewvc/blink?view=rev&revision=202732
2016-01-11 15:39:30 -08:00
Natalie Weizenbaum b33dcfdaad Remove the Dromaeo and TodoMVC samples.
No one was maintaining or using these, and they were stale to the point
that they were breaking pkgbuild tests because their dependencies
weren't compatible with the latest SDK.

This also removes tools/testing/perf_testing, which only tested these
two samples.

R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1576153002 .
2016-01-11 13:09:26 -08:00
Ryan Macnak 642f754219 Note that R19 is a C preserved register, fixing crash returning from the first Dart entry on Linux ARM64.
Bug was introduced by 91bc8005fe.

 - Move the Dart stack pointer from R19 (C preserved) to R15 (C volatile) so it isn't among the registers saved by the InvokeDartCode stub.
 - Set a default cross compiler for ARM64.
 - Use ARM32 instead of IA32 binary to build Observatory on ARM64 hosts.

R=regis@google.com

Review URL: https://codereview.chromium.org/1559223003 .
2016-01-07 09:30:17 -08:00
Natalie Weizenbaum 6f3168ad47 Fix some broken pkgbuild tests.
This brings in the latest version of http and shelf, and stops the
pkgbuild dependency override mechanism from making packages depend on
the pub package.

R=whesse@google.com

Review URL: https://codereview.chromium.org/1560513002 .
2016-01-05 13:24:12 -08:00
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