Commit Graph

6631 Commits

Author SHA1 Message Date
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
efortuna@google.com 274ac61643 Reverting everything because package root + dartium is causing serious problems.
DART_PACKAGE_ROOT environment variable is set for drt, but not dartium, and is location is problematic with respect to serving the files in the dartium checkout.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 05:20:06 +00:00
efortuna@google.com 06ea3385ff Fix dartc testing.
TBR=sra,

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16675 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 03:41:15 +00:00
efortuna@google.com 1d3b0c4b3b Add cross-origin test with credentials. I modified the test framework slightly
as well to Enable Cross-origin requests while testing from local files.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16671 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 02:43:31 +00:00
rnystrom@google.com 95cb97091e Don't run the "pkg" tests on the dart binary in the SDK.
The VM bots are apparently running the pkg tests again, and don't
build the SDK.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16655 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-04 22:48:04 +00:00
rnystrom@google.com c450776e7e Make the "pub" and "pkg" test suites run Dart from the built SDK.
I'm not using a test.dart command-line argument for this because
I want to enforce that they *always* run out of the built SDK
directory. This will be needed in a later patch so that the pub
test code can find the SDK directory easily relative to the
currently running Dart executable.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16652 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-04 22:30:11 +00:00
amouravski@google.com e6cbc6ef77 Removed all the deprecated attributes.
Review URL: https://codereview.chromium.org//11761024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16618 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 22:52:59 +00:00
amouravski@google.com 4b6a0d9a8e Sorted htmlrenamer.
Review URL: https://codereview.chromium.org//11734024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16616 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 22:35:14 +00:00
blois@google.com eb74d2868d - Adding supported flags to web components types
- Adding support annotations to web components types
- Removed webkit prefix from Element.createShadowRoot

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16594 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 02:25:17 +00:00
blois@google.com 84d87ac1e1 Fixing ArrayBuffer et al on IE.
- Added ArrayBuffer.supported check to see if typed arrays are supported.
- Added annotations to ArrayBufferView to indicate platform support.
- Updated tests to check for support.
- Added polyfill for ArrayBuffer.slice to allow more tests to pass.
- Fixed DataView on IE.
- Fixed class annotations not being emitted on Dartium.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16592 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 02:06:00 +00:00
antonm@google.com 91cc0fb62e Start unification of overload dispatcher generation.
Refactor checks generation and share it across backends.

R=blois@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16570 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-29 12:03:02 +00:00
antonm@google.com 2537279745 Generate static factories with optional arguments.
R=blois@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16568 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-29 09:42:48 +00:00
blois@google.com 910e7b04fb Fixing up history test to pass properly on supported platforms.
The primary problem was that on some browsers the state change doesn't take effect until the popState event has been called, so I added a check for that.

Also added a support flag for IE9.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16562 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 23:23:00 +00:00
efortuna@google.com 01fb2bbc86 Moved most of html lib generating scripts into tools.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16557 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 22:26:48 +00:00
blois@google.com d14fcf38fd Adding test for validating that formdata is sent.
BUG=7152

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16524 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-27 22:28:00 +00:00
kustermann@google.com 33df53e3b1 Created a bug for the 'cannot open display' issue and made it independend of display number
TBR=ricow

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16442 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 14:27:32 +00:00
kustermann@google.com a4c24dae42 Ignore exit-code of DRT and only trust stdout
Review URL: https://codereview.chromium.org//11660007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16441 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 13:34:09 +00:00
kustermann@google.com 062bfe5c3d Removed debugging information in the testing infrastructure and added a warning
Review URL: https://codereview.chromium.org//11668005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16434 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 10:33:13 +00:00
rnystrom@google.com c5c575290e Don't use relativeTo() since it barfs on some arguments.
Review URL: https://codereview.chromium.org//11645057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16411 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 01:06:48 +00:00
rnystrom@google.com bfb9f427ee Convert unittest to use "package:" imports.
Use consistent path to "unittest" in browser test wrapper.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16408 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 23:51:22 +00:00
rnystrom@google.com a76646fafa Revert "Convert unittest to use "package:" imports."
This reverts commit 6f77df43a437af7076ee154bc06ade261d6e32a0.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16407 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 22:41:02 +00:00
rnystrom@google.com 58c56eacd1 Convert unittest to use "package:" imports.
Review URL: https://codereview.chromium.org//11644055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16403 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 21:53:37 +00:00
efortuna@google.com 5db3ffe35d Adjust test logging output so what we can separate logging failure explanations from actual test failures.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16387 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 18:57:11 +00:00
rnystrom@google.com 12b11b4cc0 Convert /** comments to /// in pub.
Previously, it was a mix of both styles. Now it's consistent. :)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16354 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 02:04:28 +00:00
kustermann@google.com 52a7dd6a9d Added debugging information in the testing infrastructure.
We've experienced some flakyness on the build bots and want to find the reason
for that. Therefore we print some debugging information in case a browser test
fails.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16315 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 12:25:09 +00:00
rnystrom@google.com 747a3f83f5 Move path ("pathos") to pkg/.
Review URL: https://codereview.chromium.org//11647003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16297 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 00:04:37 +00:00
dgrove@google.com 338335ae1c Add LICENSE if none exists, and skip .svn directories.
Review URL: https://codereview.chromium.org//11617022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16281 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 19:40:16 +00:00
kustermann@google.com e8323c2d0b Fixed bug in r16247: variable naming issues
Review URL: https://codereview.chromium.org//11573061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16249 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 10:15:32 +00:00
kustermann@google.com a18994679b Call DumpRenderTree directly from test.dart instead of using the drt-trampoline.py indirection
Currently drt-trampoline.py is used to call DRT. Unfortunately this causes
problems on Windows: If drt-trampoline.py times out, it is killed by test.dart.
But drt-trampoline.py has no way of installing a signal handler on Windows which
would kill the actual DumpRenderTree process. So sometimes we're left with one
hanging DumpRenderTree process on the Windows buildbots.

This change removes the drt-trampoline.py indirection and calls DRT directly
from test.dart.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16247 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 09:52:54 +00:00
jmesserly@google.com da58614e53 move libraries.dart into the package if needed
Review URL: https://codereview.chromium.org//11628004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16243 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 05:13:54 +00:00
kustermann@google.com 0be2cb3fa5 Revert "Call DumpRenderTree directly from test.dart instead of using the drt-trampoline.py indirection"
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16215 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 17:21:48 +00:00
kustermann@google.com 8071e88618 Call DumpRenderTree directly from test.dart instead of using the drt-trampoline.py indirection
Currently drt-trampoline.py is used to call DRT. Unfortunately this causes
problems on Windows: If drt-trampoline.py times out, it is killed by test.dart.
But drt-trampoline.py has no way of installing a signal handler on Windows which
would kill the actual DumpRenderTree process. So sometimes we're left with one
hanging DumpRenderTree process on the Windows buildbots.

This change removes the drt-trampoline.py indirection and calls DRT directly
from test.dart.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16214 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 16:27:11 +00:00
kustermann@google.com e87e99992d Enable the "skip command compilation if output is already up-to-date" feature in dart2dart
Review URL: https://codereview.chromium.org//11593008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16209 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 14:26:41 +00:00
efortuna@google.com 51262e74cc "Fix" up library names in dromaeo tests so dart2js doesn't complain. Also fix up get_archive.py for windows.
Review URL: https://codereview.chromium.org//11567059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16192 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-15 01:48:18 +00:00
sigmund@google.com 14de8ec666 Avoid timeouts when DRT fails to find a file.
Review URL: https://codereview.chromium.org//11565018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16177 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 19:15:00 +00:00
kustermann@google.com 62c83a4443 Moved the testing scripts to the new import/library/part syntax
Review URL: https://codereview.chromium.org//11575028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16163 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 14:19:01 +00:00
kustermann@google.com c01e393aa5 Added support for skipping redundant dart2js compilations.
Currently, the buildbots run tests on every commit. But often neither
the tests nor the dart2js compiler did change (e.g. on status file updates).

The added code will check if the dependencies (i.e. files listed in
test.js.deps) or the dart2js snapshot did change. If not, the output
of the previous dart2js compilation is up to date and the compilation
step is skipped.
The skipping of redundant dart2js compilations works only if the '--use-sdk'
option was specified (because in this case the dart2js snapshot is used).

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16158 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 11:56:00 +00:00
devoncarew@google.com 2bc92c7390 Add the dart_analyzer tool to the sdk for Windows.
https://code.google.com/p/dart/issues/detail?id=2623
Review URL: https://codereview.chromium.org//11527010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16146 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 23:52:22 +00:00
ager@google.com ce0c5e350d Revert drt-trampoline.py
That was completely broken. :)

However, the worst problem is that it doesn't actually
work for the problem that we have.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16115 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 14:50:17 +00:00
ager@google.com 873746a904 Handle timeouts in drt-trampoline on Windows.
This will make timeout of drt tests work on Windows. Killing
dtr-trampoline did not kill DumpRenderTree on Windows.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16110 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 14:14:08 +00:00
kustermann@google.com ca73e0eb3e Make sure the '--append_flaky_log' flag is set on all test.py calls except for the first one
Review URL: https://codereview.chromium.org//11442051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16034 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 13:11:27 +00:00
kustermann@google.com 33a5ef535f Safari hack to run tests in --nobatch mode.
Review URL: https://codereview.chromium.org//11519030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16027 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 10:08:53 +00:00
kustermann@google.com 8ca8ebd67a Removed the 'touch_version.py' runhook in the DEPS file
Review URL: https://codereview.chromium.org//11469030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15887 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 09:15:28 +00:00
vsm@google.com 787f007ca4 Build samples on android bot
Reverting the revert.  The bot has the proper version of ant now.  See
https://chromiumcodereview.appspot.com/11465017/

TBR=gram

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15852 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 18:30:29 +00:00
ahe@google.com 46c1741645 Have list_pkg_directories.py print something.
Review URL: https://codereview.chromium.org//11478021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15840 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 09:54:26 +00:00
vsm@google.com 0997aeffed Revert "Build samples on android bot"
I'll investigate why the bot is failing tomorrow.

TBR=gram@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15836 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 05:52:10 +00:00
vsm@google.com 2763d45db9 Build samples on android bot
Review URL: https://codereview.chromium.org//11465017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15835 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 05:47:27 +00:00
amouravski@google.com 344435c45b Alphabetize json output.
This is just a stopgap until the new tool is built.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15824 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:07:52 +00:00
alanknight@google.com a6c56f84cb Create mock pub links for all packages under pkg, not a hard-coded list
Review URL: https://codereview.chromium.org//11444015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15811 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 22:09:34 +00:00
alanknight@google.com 5df2b86dff Initial version of a serialization framework
Review URL: https://codereview.chromium.org//11293283

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15796 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 18:13:36 +00:00