Commit Graph

3226 Commits

Author SHA1 Message Date
whesse@google.com 3430239194 Add additional check to vmservice/websocket_client test.
Fix type errors in update_homebrew script.

BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41166 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 12:11:27 +00:00
paulberry@google.com b9116653bd Modify dartanalyzer scripts to look more like dart2js scripts.
The dartanalyzer script (and its Windows companion, dartanalyzer.bat)
now support:

- Executing from snapshot if present, otherwise from source (needed
  for buildbot tests).
- Passing in the appropriate package root when executind from source.
- Passing in VM tuning parameters to speed up analysis.
- Passing through extra DART_VM_OPTIONS to the VM.

Also, the old editor/tools/analyzer script has been removed and
the test infrastructure now uses sdk/bin/dartanalyzer, in the
same way that it works for dart2js.

R=ahe@google.com, johnniwinther@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41150 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 14:21:37 +00:00
ricow@google.com 33c65f8fc6 Update bleeding edge VERSION file
Review URL: https://codereview.chromium.org//658143002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41149 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 13:20:26 +00:00
rmacnak@google.com f310862906 Revert "Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises."
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41138 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 02:54:14 +00:00
rmacnak@google.com 5178314123 Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41136 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 01:17:45 +00:00
whesse@google.com b98c02e1b8 Change update_homebrew script to work with single-file homebrew formulas.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41125 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-15 12:45:57 +00:00
vsm@google.com 8a39ccb8df Fix for web_gl statics
This was fixed on trunk / 1.7 separately.  Here's the same for bleeding_edge:

BUG=https://code.google.com/p/dart/issues/detail?id=21173
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41045 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-10 16:40:01 +00:00
whesse@google.com 6650aeb3d6 Clean up test_runner Command subclass hash/equality.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41037 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-10 12:05:52 +00:00
ricow@google.com b9b91a55ba Make sure bots are in good state
TBR=whesse

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41007 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-09 08:33:59 +00:00
ricow@google.com ff8919e776 Testing svn server
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41002 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-09 05:33:15 +00:00
whesse@google.com b21c902607 Add support in test scripts backend for simple HTML tests.
BUG=dartbug.com/20698
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40956 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-07 15:29:39 +00:00
whesse@google.com 7514534b79 Fix update_homebrew script for releasing Dart on Mac using homebrew.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40837 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-01 14:23:37 +00:00
whesse@google.com 33e51a5295 Update co19 test suite to r786.
R=kustermann@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40832 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-01 09:36:32 +00:00
sra@google.com be78d098a0 Make Node.nodes.insertAll work for an end-positioned index.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40819 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-30 17:54:03 +00:00
whesse@google.com 84679c0055 Add tools script to update homebrew, the MacOS SDK updating solution.
BUG=dartbug.com/20210
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40801 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-30 09:14:43 +00:00
terry@google.com 905ee314e0 Starting cleanup
Reviewers=vsm@google.com,leafp@google.com

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40784 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 20:11:59 +00:00
paulberry@google.com 7efd38d195 Start implementing checked mode compile time errors in analyzer.
This enables the Java-based command-line analyzer to accept the
"--enable_type_checks" flag so that it can be told whether to report
type checking errors during constant evaluation.  Also it fixes the
tests language/compile_time_constant_checked2_test and
language/compile_time_constant_checked3_test in unchecked mode, by
causing CONST_FIELD_INITIALIZER_NOT_ASSIGNABLE to be escalated to an
error only in checked mode.

Note: in order to test this properly, I had to remove a hack from
test_runner.dart which caused it to effectively ignore the "checked
mode compile-time error" test annotation when testing analyzer.  With
this hack removed, several new lines needed to be added to the .status
files.

BUG=dartbug.com/16391
R=jwren@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40780 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 18:59:14 +00:00
vsm@google.com 94095d64a2 Merge 38 changes to bleeding edge
TBR=terry@google.com,leafp@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40774 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 15:56:25 +00:00
zra@google.com 210085919e Allows arm cpu feature detection to detect arm64 cpus.
This is probalby of limited utility since we have an
arm64 port, but it could be interesting for performance
experiments, etc.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40678 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-25 14:37:57 +00:00
terry@google.com 5e96fad938 Fixing treeshaking problem with 37 roll
Reviewers=vsm@google.com, sra@google.com

R=sra@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40665 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-25 02:40:36 +00:00
ricow@google.com 524dbb486d Don't run optimization-threshold-counter=5 tests on the pub bot
Review URL: https://codereview.chromium.org//598073002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40633 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-24 17:03:05 +00:00
kevmoo@google.com 1b1534967c Fix mac build for XCode v6.0
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40616 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-23 23:27:04 +00:00
vsm@google.com 1c4bb5f363 Revert "Chrome 38 script changes from integration branch"
This reverts commit r40567.

TBR=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40570 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 21:11:34 +00:00
vsm@google.com 9e25106514 Chrome 38 script changes from integration branch
TBR=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40567 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 20:45:57 +00:00
turnidge@google.com ae1efb2e73 ddbg_service changes.
Make a CommandList class and move command matching and completion
logic into it.  Rework command completion to begin to allow for
recursive completion of subcommands.

BUG=
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40564 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 20:10:07 +00:00
sgjesse@google.com 050a164b3c Update chroot creation script
* Java is no longer needed for building the SDK so don't install OpenJDK the chroot.

* Don't checkout the full repository if not checkout is specified

R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40533 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 07:33:10 +00:00
whesse@google.com e0c621e9fc Avoid undefined variable in gyp files.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40490 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 08:35:58 +00:00
whesse@google.com 8280a3a09f Set the minimum supported version of Mac OS X when building Dart.
BUG=
R=iposva@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40488 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 08:01:13 +00:00
collinsn@google.com 086555fd0d Make 'tools/build.py -h' warn the user to run it from the repo root.
The script by default runs 'make all' in the current directory. Since it's common to have a Makefile with an 'all' rule, this can lead to silent failure when a user runs the script from outside the repo root while intending
to do a default build. That behavior is error prone: in my case it made my regression tests pass when they should fail, because I was not actually rebuilding when I thought I was.

It turns out that the build script is sometimes run outside the repo root on purpose, so we can't simply require it be run from the repo root.  So, we document the relative nature of the build script.

R=ricow@google.com, jwren@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=20958

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40465 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 21:22:43 +00:00
turnidge@google.com 16343fa13f Add tools/ddbg_service.
This is the directory where we will work on a version of ddbg that
uses the vm service.

Not yet functional.

BUG=
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40334 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-16 18:16:28 +00:00
ricow@google.com 94e1160661 Add PKGTestSuite that will be used for package waterfall testers.
This is based on the standard test suite but we specialcase html files.

There is another html file aproach currently being done by whesse@ that we may be able to utilize when it is done instead.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40255 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-15 17:16:35 +00:00
terry@google.com 42a229cbb7 Fixed removing of pure interface (implements) operations
Reviewers:vsm@google.com,leafp@google.com

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40227 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 23:50:35 +00:00
vsm@google.com 2b9b3a132f Temporary fix for CanvasRenderingContext2D.arc
TBR=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40221 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 21:42:36 +00:00
vsm@google.com e379d380bc Migrate to Chrome 37 IDL
This enables terry's new scripts with fixes from vsm and leafp (tested in the dartium_integration branch).

R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40219 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 21:18:06 +00:00
rnystrom@google.com 4acbe3d75a Find pub status file in right directory.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40123 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 22:38:24 +00:00
terry@google.com 9fa7c2cff9 Suppport DartCustom for proper native callback
Reviews:vsm,leafp

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40096 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 16:22:08 +00:00
sigmund@google.com 13e1c5d54b Allow trailing / in directory paths
I run into errors as soon as I use tab completion and include a trailing slash
in the suite_dir, this help a bit.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40093 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 15:37:49 +00:00
terry@google.com ddf659197c Reviewers=vsm,leafp
Fixed emitting problems with default/optional.

R=leafp@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40054 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 20:59:03 +00:00
jacobr@google.com 44f894457b Fix src_path now that deploy_aar has moved directories.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40053 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 20:56:06 +00:00
rnystrom@google.com 17c1642748 Store the async-await compiled pub code directly in the repo.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40041 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 16:55:16 +00:00
terry@google.com ecceb75d35 Begin hookup of Blink IDL parser for dart:* libraries.
BUG=
R=vsm@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40026 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 13:18:24 +00:00
zra@google.com 3dfb90f59f Checks snapshot validity using a hash of source file instead of a version string.
R=asiva@google.com, iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40009 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 01:44:48 +00:00
leafp@google.com 8e3aaa4e75 Blink uses types in entry points
This CL changes the way that blink entry points are named to
use the type signature uniformly.  This makes us somewhat
more robust against changes in the idl.

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40006 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 00:17:15 +00:00
terry@google.com ac72bce2f1 "Reverting 39948"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39999 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 20:58:19 +00:00
ricow@google.com 8bfaae17ea Add package-root option to the testing scripts
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39971 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 15:44:45 +00:00
sgjesse@google.com e0f76533c2 Don't depend on openjdk for building Debian packages
R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39958 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 12:43:04 +00:00
whesse@google.com 5c337416c0 Revert change r37732, using hashes rather than revision numbers for archived chromium builds. Remove copies of scripts from old location.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39950 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 10:34:10 +00:00
terry@google.com cf0c6a3565 Begin hookup of Blink IDL parser for dart:* libraries.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39948 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 02:33:50 +00:00
whesse@google.com f9b0a27ee9 test.dart: Serve the browser test driver page from the test file HTTP server.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39907 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-05 11:01:26 +00:00
floitsch@google.com 46043093af Move js library back into compiler directory.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39870 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 13:49:30 +00:00