Commit Graph

6631 Commits

Author SHA1 Message Date
whesse@google.com c7fdd3b521 Add testing script to test Dartium on Android devices.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32103 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 06:14:34 +00:00
ricow@google.com 1252f88cff Give default value for builder_tag in test options
Remove now passing test pkgbuild/samples/third_party/angular_todo suppression

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32068 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 14:47:25 +00:00
ricow@google.com 8b959be6fe Add builder_tag option to tools/test.dart
This will allow us to pass in machine specific tags that describes the setup of a given machine.

Use this to pass in the locale on the pub russian bot and to suppress the two failures we have due to issue 16356

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32061 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-28 09:55:49 +00:00
alanknight@google.com 3730236bdf Add a snapshot for docgen and use it in the build
R=efortuna@google.com, ricow@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32025 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 18:40:34 +00:00
sra@google.com 9f09fcbaac Redo "Make dart2js typed_data implementation classes private"
This time with analyzer suppression for new library/

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31935 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-17 23:01:26 +00:00
sra@google.com 9ceaef9d73 Revert "Redo "Make dart2js typed_data implementation classes private""
Revert while I figure out the correct analyzer suppression.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31933 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-17 21:54:18 +00:00
sra@google.com 42b1721927 Redo "Make dart2js typed_data implementation classes private"
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31930 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-17 21:08:40 +00:00
blois@google.com 192df7e88b Fixing TouchEvent.supported
It was reporting as not being supported because there's no Window.ontouch, but the constructor is now working.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31907 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-17 02:49:43 +00:00
kustermann@google.com d4bfaaafd6 Change bleeding_edge version to 1.2.0-edge.REV
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31903 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 23:13:40 +00:00
blois@google.com 93b7001172 Making readonly fields on interfaces be readonly
This will be causing compilation warnings once https://codereview.chromium.org/140803002 is landed.

BUG=16105
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31892 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 18:13:48 +00:00
lrn@google.com 3b3e87cabc Revert "Rename internal library dart:_collection-dev to dart:_internal."
Dartium needs updating too.

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

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31877 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 12:06:38 +00:00
iposva@google.com adcb051df3 - Undo inadvertent change to test_runner.dart
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31869 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 05:13:41 +00:00
iposva@google.com 39eec505e1 - Update svn:ignore.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31868 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 05:09:35 +00:00
iposva@google.com 781f737c6a First round of http://dartbug.com/15922:
- Address warnings about 64-bit to 32-bit conversions.
- Remove heap profiler.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31867 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 05:05:35 +00:00
sra@google.com 8ffab76c82 Revert "Redo "Make dart2js typed_data implementation classes private""
Review URL: https://codereview.chromium.org//140543002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31866 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 05:03:02 +00:00
sra@google.com 83ae5cfabf Redo "Make dart2js typed_data implementation classes private"
The main library is now private, with the user visible library as small re-export library.

R=blois@google.com, floitsch@google.com, johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31865 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 04:27:50 +00:00
ahe@google.com bd2ad26d7a Don't eat non-empty chunks.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31838 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 17:05:05 +00:00
ahe@google.com 974911e404 Update build.py to handle tweaked Xcode output in newer versions of Xcode.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31832 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 14:57:58 +00:00
lrn@google.com ead87f47e9 Revert "Rename internal library dart:_collection-dev to dart:_internal."
Dartium needs updating too.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31827 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 12:27:44 +00:00
lrn@google.com 0098710559 Rename internal library dart:_collection-dev to dart:_internal.
BUG= http://dartbug.com/14140
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31823 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 09:24:46 +00:00
kustermann@google.com db052838a1 Run out.precompiled.js for commandline JS runtimes instead of out.js
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31735 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-13 12:26:32 +00:00
vsm@google.com e86b75260b Add special case templates to handle Global/WindowEventHandlers
TBR=blois@google.com

BUG=15954

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31714 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 21:59:38 +00:00
vsm@google.com eebdf4ccf9 Revert "Revert "Revert "Fix dart2js type warnings"""
Hitting layout test failures in Dartium now....

TBR=blois@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31702 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 19:27:09 +00:00
vsm@google.com f236af9969 Revert "Revert "Fix dart2js type warnings""
Retrying with a fix.  Patch 1 is initial change.

BUG=15954
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31699 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 19:00:03 +00:00
kustermann@google.com 54b71bdbe2 Reaply "Use a real package-root for all of our samples (and tests inside a package) instead of buildDir/packages/"
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31694 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 15:15:37 +00:00
kustermann@google.com 8afb1d4844 Revert "Use a real package-root for all of our samples (and tests inside a package) instead of buildDir/packages/"
Review URL: https://codereview.chromium.org//130743005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31693 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 12:58:33 +00:00
kustermann@google.com 76e4bdeb0c Use a real package-root for all of our samples (and tests inside a package) instead of buildDir/packages/
For all tests that depend on other packages (e.g. samples) we can
 - use packages from pub.dartlang.org
 - use packages from pub.dartlang.org with overrides for the packages we have
   in the dart repository.

This CL does NOT include test-specific package-roots for dartium. Dartium will request a URL containing
"packages" when it encounters a package import. Our HTTP server will then serve from buildDir/packages.
This needs to change when we have test specific VMOptions for dartium.

For normal tests (without a pubspec.yaml on the path to dart/, we still use buildDir/packages).

R=ricow@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31691 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 12:29:55 +00:00
kustermann@google.com 6b219869ec Add content_shell to the list of processes that get killed in the task_kill.py step
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31656 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 14:07:20 +00:00
kustermann@google.com 338fabdb6c Cancel stdout/stderr subscriptions once subprocesses are dead, add more debugging information in case the debug timer expires
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31649 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-09 09:04:46 +00:00
blois@google.com 1820da3a53 Fixing Window.animationFrame timing issue
Was using async completer which changes the timing.

Additional Dartium changes are from https://codereview.chromium.org//111613002 which did not re-gen the Dartium file.

BUG=15848
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31590 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 23:33:46 +00:00
vsm@google.com 0a7a4e8646 Revert "Fix dart2js type warnings"
This is breaking the Dartium build.  Will investigate and hopefully resubmit.

TBR=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31588 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 23:13:20 +00:00
vsm@google.com 5755d7d28a Fix dart2js type warnings
This should fix the errors reported here:

http://chromegw.corp.google.com/i/client.dart/builders/dart2js-linux-release-checked-5-5-be/builds/2126/steps/dart2js_unit%20tests%20--checked/logs/stdio

Should we make these types private?

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31587 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 22:49:38 +00:00
vsm@google.com f119db9dfb Fix unknown type error in html_*.dart
The type Matrix is used unqualified in html_*.dart (CanvasRenderingContext2D.currentTransform).  This imports that type only unqualified.

Is there a better way to do this?

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31585 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 22:10:52 +00:00
asiva@google.com 7ea7adfe16 Add more functions to the list of leaf functions which do not need an
auto generated dart scope. Resulting improvements in the Dromaeo benchmarks

getAttribute 1072.0 1529.0
element_property_access 1304.0 1987.0
setAttribute 305.38922155688624 422.1556886227545
element_property_assignment 509.4905094905095 668.0
getElementById 1012.0 1523.0
getElementById (not in document) 2440.0 3279.0
getElementsByTagName(div) 119232.0 155037.0
getElementsByTagName(p) 109280.0 148015.0
getElementsByTagName(a) 119869.0 156460.0
getElementsByTagName(*) 114050.0 146375.0
getElementsByTagName (not in document) 172848.0 238313.0
getElementsByName 1356.0 1724.0
getElementsByName (not in document) 2657.0 2891.0

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31582 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 21:48:17 +00:00
blois@google.com dd84eacad7 Suppressing media events from list of global events.
Fixes analyzer issue

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31563 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 18:40:30 +00:00
blois@google.com 0e62a20627 Removing media events from Document and Element.
We were already doing this for Window, but they just got added to Element & Document in Chrome 32. Suppressing them as they aren't needed and can be used from MediaElement already.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31562 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 18:34:37 +00:00
vsm@google.com 1436645a1b Rerun go.sh
Regenerating with Chrome 32 IDL.

TBR=blois@google.com,efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31558 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 17:58:22 +00:00
kustermann@google.com 2dca82b247 Make TestUtils.copyDirectory() more robust by ensureing arguments are a native path
Review URL: https://codereview.chromium.org//126053003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31550 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 15:38:15 +00:00
kustermann@google.com 704fa7b241 Convert statusfile path to native path
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31544 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 14:05:30 +00:00
kustermann@google.com ba8e16e806 Write testoutcomelog on pub builders + append to logfiles on later test.py runs
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31542 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 13:21:28 +00:00
kustermann@google.com 82d9dca9dd Run pkbuild with public packages from pub.dartlang.org as well
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31538 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 10:23:27 +00:00
kustermann@google.com e363ffb931 Enable pkgbuild testsuite on pub builders
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31537 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 10:12:10 +00:00
kustermann@google.com dc24212755 Added PkgBuildTestSuite (aka 'pkgbuild')
This CL adds
 - support for fetching dependencies via 'pub get' of samples/packages
 - support for building applications/samples via 'pub build' (or a custom
   build.dart file)
 - pkg/pkgbuild.status: Status files for all package checkouts/builds
 - the '--use-public-packages' option to test.dart
 - the CleanDirectoryCopyCommand, PubCommand, ModifyPubspecYamlCommand commands

The test suite can be executed with:
 $ ./tools/test.py -mrelease --use-sdk pkgbuild
 $ ./tools/test.py -mrelease --use-sdk --use-public-packages pkgbuild

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31535 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 09:36:27 +00:00
vsm@google.com 6994ac20bb Fix compile warning on mac
Chrome 32 flags appear to be stricter.

TBR=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31493 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 18:01:32 +00:00
vsm@google.com 5e3937addf Changes for Chrome 32
Once we're ready to switch ... some paths have changed from 31.

R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31486 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 17:12:25 +00:00
kustermann@google.com 97e4f770dc Added ScriptCommand,ScriptCommandOutputImpl classes
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31477 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 15:52:51 +00:00
kustermann@google.com b395778f71 Extended ProcessCommand/RunningProcess with Command specific working directory.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31476 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 15:27:13 +00:00
kustermann@google.com c3793cc8c5 Added convenience function for reading status file expectations
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31472 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 13:56:39 +00:00
sgjesse@google.com a89aa53071 Make the Platform.environment return value an unmodifiable map
R=ajohnsen@google.com, kustemann@google.com
BUG=http://dartbug.com/15872

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31468 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 10:18:22 +00:00
johnmccutchan@google.com 7da1f4f3ba Build map of code regions and address ticks for profile report.
Profile pauses should be less than 500 ms even when handling 120,000 samples (2 minutes @ 1000 hz).
Code objects are referenced by hex address: "code/cafebabe".
Test for retrieving code objects over the service.
Remove old profile tool scripts. Replaced by dprof (https://github.com/dart-lang/dprof) and Observatory UI for profiler.
Support for stable service refs to implicit closures and dispatcher functions.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31447 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-03 19:55:50 +00:00