Commit Graph

6631 Commits

Author SHA1 Message Date
sigurdm@google.com 8e65452aa9 Revert "Fixes for the test framework multitests."
This reverts commit r32892.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32894 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 12:54:11 +00:00
sigurdm@google.com 48b2d4f50b Fixes for the test framework multitests.
Allow imports with a metadata annotation.
Allow test keys to be alphanumeric instead of just two digits.

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32892 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 12:41:49 +00:00
blois@google.com 3550d8fadd Speeding up go.sh
Primary issue was resolving the media events (over and over and over). Tried to cache all resolved events but ran into complications with dart2js suppressions.

Takes it down to ~12-15s on my machine.

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32812 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 19:35:41 +00:00
efortuna@google.com 6649031aa6 Improve KeyEvent documentation.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32762 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 21:07:29 +00:00
lrn@google.com e314fc2671 Make Rectangle and MutableRectangle constructors handle negative lengths.
Now handles negative width/height so that it's equivalent to
   new Rectangle.fromPoints(new Point(left, top),
                            new Point(left + width, top + height))

BUG= http://dartbug.com/16167
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32736 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 10:12:23 +00:00
sgjesse@google.com 8a4e91c0bd Make building from bleeding edge tarball possible without Subversion installed
Look for the svn revision in tools/SVN_REVISION before event trying to
run svn. The SVN_REVISIOn file is only created when building a tarball
from a bleeding edge revision.

R=kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32713 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-17 08:09:47 +00:00
kustermann@google.com 19e74c6272 Added tools/status_clean.dart script
This script supports two commands:
  deflake:
    This command will go through all status file entries and check if the actual
    testoutcomes we've observed on our buildbots match the status file entries.

    If we have tests marked as flaky which are in fact not flaky, it will write
    a *.status.deflaked file which contains the fixes to the status file.

  fix:
    This command will go through all status files and ensures that all the
    status file lines correspond to existing tests.

    If we have lines that refer to non-existent tests, it will write a
    *.status.fixed file which contains the fixes to the status file.

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32694 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 12:21:37 +00:00
sigurdm@google.com 0b1fee8131 Let deferred load work from worker isolates.
If we try to load a deferred library from a worker-isolate we cannot
inject a script tag because we do not have access to the dom. Instead we
make an XMLHttpRequest object and load the code with that.

I tried to take some care of error handling introducing a new exception.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32693 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-14 12:12:58 +00:00
efortuna@google.com 4bf8e46dcc Remove the html warnings!
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32678 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 22:23:21 +00:00
efortuna@google.com f91b102ccb "Reverting 32641"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32642 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 05:52:21 +00:00
efortuna@google.com c1e36a1efe Reapply "remove html warnings."
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32641 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 01:43:25 +00:00
sethladd@google.com 763918f8df Additions to HttpRequest docs
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32635 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:58:13 +00:00
efortuna@google.com 7acd2cc7c7 Revert all html warning changes.
For the sake of ease of cherry-picking, I'm going to back this change out to
apply all at once, once I fix this postMessage test failure on Dartium.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32630 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 22:12:18 +00:00
blois@google.com 8ef5a1d18b Adding supported check for HTML imports.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32626 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 21:48:07 +00:00
efortuna@google.com 450ed203ff Add back DocumentType error so that Dartium can build.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32625 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 21:32:19 +00:00
jacobr@google.com e9bcf2ddca Make the Dart code generators handle the Image constructor specified in the IDL without crashing or generating multiple constructors.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32621 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 20:47:13 +00:00
efortuna@google.com dd29511add Fix analyzer test failure.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32619 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 20:37:53 +00:00
efortuna@google.com 9f1b31b001 Fix more warnings for dart:html.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32618 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 20:12:09 +00:00
ricow@google.com 9c5986c69e Add back swarm to our tests by adding a samples-dev status file and enabling the path in the test driver
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32551 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 11:31:44 +00:00
sgjesse@google.com 3b353731f6 Add script to build Debian packages
The script create_debian_packages.py will build source and binary
Debian packages from the generated tarball.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32550 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 11:08:26 +00:00
blois@google.com bff7179948 Fixing issues from IDL upgrade
* CustomElement update to match new Element syntax fixes analyzer issue
* Document.createTreeWalker/createNodeIterator change to pass in last argument for IE11.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32513 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 19:39:50 +00:00
pquitslund@google.com f3e7bc78fb R=danrubel@google.com, kustermann@google.com, ricow@google.com
Review URL: https://codereview.chromium.org//63363007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32512 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 19:03:08 +00:00
blois@google.com 9407a9ded2 Updating IDL files from Chrome roll.
Fixes include IDB conversion changes & NodeWalker & TreeIterator.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32508 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 18:26:58 +00:00
sgjesse@google.com 8974a5c7fe Don't include the builddir in the source tarball
A previous change invalidated the check for skipping the builddir when
creating the source tarball.

R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32497 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 13:22:03 +00:00
sgjesse@google.com 52a792b2b1 Update Debian build dependencies
subversion is not needed for building from source in tarball. g++ is implied by the build-essential package

R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32495 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 13:18:17 +00:00
sgjesse@google.com 0ce6644b69 Remove the embedded license copy in tarball creation script
R=ricow@google.com
BUG=http://dartbug.com/16582

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32486 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 08:49:22 +00:00
vsm@google.com ad353d440b Fixes for 1750 roll
TBR=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32477 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 01:38:01 +00:00
sgjesse@google.com d9c1b07b6c Address additional comments to tarball creation script
R=kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32418 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 12:03:47 +00:00
ricow@google.com c13ee60761 Add annotated steps for src tarball creation bot
This will also include building the debian package, but this is just to get us going.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32410 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 08:13:15 +00:00
efortuna@google.com 0bfe426f18 Revert "Fix more warnings for dart:html". Appears to be causing dartium failures.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32408 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 07:56:06 +00:00
rmacnak@google.com 2cb20b54cc Fairly partition work in tools/full-coverage.dart.
BUG=http://dartbug.com/16505
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32404 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 02:28:22 +00:00
efortuna@google.com 6805a7850a Fix MOAR warnings for dart:html.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32403 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 02:20:25 +00:00
dgrove@google.com 6eaf449c1c Restore docs.json, which is used in the Dartium build process.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32401 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 01:35:54 +00:00
kevmoo@google.com b565b6296f pkg/unittest: Run tests in zones
Added a changelog to unittest
Deprecated a number of methods made extraneous by zone change
Fixed related issues in html and html tests

BUG= https://code.google.com/p/dart/issues/detail?id=13277
BUG= https://code.google.com/p/dart/issues/detail?id=16541
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32400 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 01:34:20 +00:00
dgrove@google.com ed59ab7a67 Remove more tests which depend on dartdoc, which has been deleted.
Review URL: https://codereview.chromium.org//156903004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32393 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 23:41:13 +00:00
dgrove@google.com 7240d26028 Remove dartdoc from pub.py .
Review URL: https://codereview.chromium.org//157013005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32390 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 23:02:36 +00:00
dgrove@google.com 7bed1bc4e9 Remove dartdoc.
R=alanknight@google.com, efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32388 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 22:47:26 +00:00
efortuna@google.com 5f3f5b9631 First pass at cleaning up html lib warnings from the analyzer.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32377 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 19:12:28 +00:00
sgjesse@google.com 71f0e080cb Fix last minute change in last commit
Never commit without testing.

TBR=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32360 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 14:44:07 +00:00
sgjesse@google.com 8128bd9373 Add script for generating a source tarball and rules for bilding a Debian package
R=ricow@google.com, kusternamm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32359 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 14:37:45 +00:00
jmesserly@google.com ae365d94aa big update to observe, template_binding, polymer
The biggest changes are in pkg:observe where we picked up a lot of optimizations to PathObserver/CompoundObserver.

template_binding gets one-time bindings, synchronous expansion, and lightweight "bindable" objects.

The tests are heavily refactored to use Future instead of the hacky observeTest/performMicrotaskCheckpoint pattern (I have been slowly changing the style for new tests, but observe-js made the change for all of them. yay!). Oh and the performMC stuff is gone from pkg:observe now.

There's also a new pkg:polymer feature for observation, which was ported so we are at a consistent baseline. (http://www.polymer-project.org/polymer.html#observeblock)

R=justinfagnani@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32342 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-05 22:23:00 +00:00
jmesserly@google.com 6d319d8cc9 move workaround from CE polyfill to custom elements createdCallback
github changes: https://github.com/dart-lang/CustomElements/pull/5

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32307 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-05 04:15:35 +00:00
asiva@google.com d3eb344f08 Do not generate code to create a CallStack in the ConsoleBase calls as that
variable is not used at all.

R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32265 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 22:47:46 +00:00
rmacnak@google.com 3364d3f78a Adapt tools/full-coverage.dart to changes in the isolate API and coverage output format.
BUG=http://dartbug.com/16352
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32256 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 18:33:02 +00:00
johnniwinther@google.com 7b52480b56 Align source mirrors with runtime mirrors.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32195 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 14:15:26 +00:00
jmesserly@google.com 0f277224e8 update custom elements and shadow dom
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32171 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 20:56:22 +00:00
sigmund@google.com fdc6d43083 Improve how we handle packages/ HTML imports. This improves resolution of URLs containing
"package/" under the web/ directory. Resolution under 'lib' is the same, but it and gives better suggestions if the path looks wrong. This summarizes what changed:

- source file: lib/b.html

  import to "packages/c/d.html" was error, now is error + suggestion
  import to "../packages/c/d.html" was error, now is error + suggestion
  import to "../../packages/c/d.html" was resolved, now is resolved too

- source file: lib/a/b.html

  import to "packages/c/d.html" was error, now is error + suggestion
  import to "../packages/c/d.html" was error, now is error + suggestion
  import to "../../packages/c/d.html" was error, now is error + suggestion
  import to "../../../packages/c/d.html" was resolved, now is resolved too

- source file: web/b.html

  import to "packages/c/d.html" was and continues to be resolved
  import to "../packages/c/d.html" was error, now is resolved

- source file: web/a/b.html

  import to "packages/c/d.html" was error, now is resolved
  import to "../packages/c/d.html" was and continues to be resolved
  import to "../../packages/c/d.html" was and continues to be resolved

Note: polymer-build and development mode are slightly different: polymer-build
detects and issues an error for bad paths inside lib/. These are not detected by
our package-resolution in loader.dart, but as long as users are not creating
symlinks by hand, Dartium should detect if the paths are wrong.

When we switch to start using pub-serve by default, we should be able to go back
to the web-ui style of using "package:" urls directly in HTML.

R=jmesserly@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32170 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 20:51:28 +00:00
ricow@google.com 0306e06b5f Allow copy_coredumps flag on all platforms.
This will have not effect on winodws/mac yet, since the core file will not be there.

Don't try to archive on non linux platforms

I will apply this flag on all vm bots - setting this up on system basis is harder, and this is a no-op on mac/windows

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32117 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 11:45:36 +00:00
ricow@google.com b89331831e Fix static warnings introduced by not having pid in base CommandOutput class.
Review URL: https://codereview.chromium.org//137823008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32116 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 10:51:53 +00:00
ricow@google.com c2f12c4da6 Add support for copying coredumps to /tmp
This will be used on the bots to be able to archive dumps from unexpectec crashes.

The tools/archive_crash.py tool will be used to actually archive the dumps to gcs and delete the local copies. The reason for the split is to enable developers to actually utilize this locally as well (run tools/test.py in a loop but don't archive the expected crashes). Additionally, this puts the bot specific code in the small python script.

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32111 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 09:41:47 +00:00