Commit Graph

6631 Commits

Author SHA1 Message Date
vsm@google.com 22aeb0a3e6 Fix compilation error
This should fix the compile on the dart2js bots.  The hierarchy around
Workers has changed.  AbstractWorker has an event handler but isn't an
EventTarget, which is confusing our scripts.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25459 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 01:05:34 +00:00
vsm@google.com a439ba51c0 Fix dartium build breakage
TBR=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25458 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 00:47:17 +00:00
vsm@google.com 28541ed31f Regenerate dart:html from new Blink IDL files
This includes some script updates.  See:

https://codereview.chromium.org/19605006

for the IDL roll.

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25456 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 00:08:44 +00:00
rnystrom@google.com b39c2a5b60 Fix paths in DOM doc test.
BUG=
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25428 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 17:37:42 +00:00
ricow@google.com 7861a23db8 Add support for passing in vm options to the testing script.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25407 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 12:23:06 +00:00
vsm@google.com 992776552a Fixes for Blink roll.
TBR=jacobr@google.com,asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25395 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 04:46:29 +00:00
jmesserly@google.com 6774f0db6b Custom Syntax's are now enabled via template.bindingDelegate =
port of https://github.com/Polymer/mdv/commit/d4c97a94fe565b07eec174ab27994e67a514ce4b
(except the expression syntax bits -- that's covered in fancy_syntax)
BUG=
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25371 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 21:48:53 +00:00
jmesserly@google.com aea4a202cc fix parsing of semantic template interation w/ shadowdom polyfill
port of https://github.com/Polymer/mdv/commit/05ae24466ea7b2cdd41d879169e95b00a6bf4a8e
BUG=
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25369 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 21:17:34 +00:00
ahe@google.com 216289bcb1 dart2js has its own snapshot.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25344 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 14:58:28 +00:00
jmesserly@google.com 8f3ff7d471 [mdv] template.ref must recursive to find the original source template
port of https://github.com/Polymer/mdv/commit/86040735c2973c8cc078677e3dabb56b5bfc70c0

R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25327 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 03:08:34 +00:00
dgrove@google.com bdcb770310 Switch docs to path package (away from dart:io Path).
Review URL: https://codereview.chromium.org//19705015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25322 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 23:57:27 +00:00
floitsch@google.com f601233af9 Remove dart:codec and move classes into dart:convert.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25267 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 12:25:16 +00:00
kustermann@google.com 4fd637523f test.py: Add 'Cache-Control' header to http responses: enable browsers to cache resources
BUG=http://dartbug.com/10697
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25265 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 11:52:50 +00:00
efortuna@google.com 8c07849c11 Only Firefox needs the vendor prefix. All other browsers have both (webkit browsers) or the unprefixed (IE).
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25243 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 20:50:18 +00:00
efortuna@google.com 69a4edc59a Update HttpRequest.request documentation to mention ByteBuffer instead of ArrayBuffer.
BUG=https://code.google.com/p/dart/issues/detail?id=10299
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25240 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 20:16:33 +00:00
efortuna@google.com 61a5b196c2 Update dom script with analyzer changes.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25236 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 19:48:46 +00:00
efortuna@google.com ffd476be53 Reapply Box Model convenience classes
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25235 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 19:46:36 +00:00
dgrove@google.com e980aaf833 Stop publishing compiler_unsupported.
Start publishing fixnum.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25217 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 15:11:46 +00:00
efortuna@google.com 73429941fe Reverting 25196, 25195, 25192.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25197 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 02:02:06 +00:00
efortuna@google.com a092805a58 Adjust FF test status for moz-box-sizing, and fix type error.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25196 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 01:29:59 +00:00
efortuna@google.com 6d09432cb6 Added part of to Dimension class.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25195 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 01:08:28 +00:00
efortuna@google.com ef1cb88f26 Provide cross-browser Rects for box model dimensions for Elements.
Also added Dimensions class to reduce dealing with Strings for CSS.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25192 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 00:40:52 +00:00
sigmund@google.com 0ee769261b Add spacing and colors to publish_all_pkgs.py to make it easier to see the
result of the 'pub upload'

R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25171 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 19:59:03 +00:00
hausner@google.com 44f73c7428 Enable coverage tool to handle multiple files and libraries
Coverage tool now enables stepping for all libraries with a
url other than "dart:" and "package:"

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25167 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 19:00:39 +00:00
kustermann@google.com a5cd38ed41 Bugfix in multitest.dart: Make sure we copy imported files to the generated_tests directory
The regular expression was no longer valid after import statements have changed.
Furthermore the guard against cyclic imports was not working because of missing
hashCode/operator== on the Path class.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25155 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 17:11:37 +00:00
ahe@google.com 10bf1ba7ac Diagnose unresolved constructors in platform libraries.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25145 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 12:50:07 +00:00
devoncarew@google.com 7624d0b038 Fix for running the tests on the dart-editor-win bot.
Review URL: https://codereview.chromium.org//19552002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25104 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 16:30:17 +00:00
kustermann@google.com 03f7b209b2 test.py: Report timings by adding up the time of all commands
BUT=http://dartbug.com/11847
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25096 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 13:15:22 +00:00
kustermann@google.com 2ba4d3c758 Use a utils.TempDir() context manager for temporary files, to make sure we clean up even in case of exceptions
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25091 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 11:40:49 +00:00
scheglov@google.com 41d8e6ee39 Test running changes.
1. Change in the test runner to consider any warning as warning.

After this following was required:

2. Triage language tests.

3. Triage co19 tests.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25069 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-16 20:35:51 +00:00
devoncarew@google.com cd82c36a37 Change how the editor tests run on the buildbots to use the --test option.
R=pquitslund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25061 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-16 17:45:35 +00:00
jacobr@google.com 1fdd1a34b2 Utility methods used for dartium debugger integration.
In addition, added back two DOM methods required by the chrome dev tools that had been removed from dart:html
I'm not thrilled about adding back className but the devtools use className in 495 places so figuring out which places are actually talking about classNames of inspected objects and which ones are just internal uses of className inside the devtools would be a pain.
As the browser has a String "class" attribute I do think it is natural to provide at least a read only className in addition to classes.

This changes goes along with the larger CL
https://codereview.chromium.org/18169002/
which I will be sending out for general review in a little bit.

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25032 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 22:57:04 +00:00
vsm@google.com a81a6fcce6 RFC: introduce dart:js
This is a port of js-interop with an optimized dart2js compilation.
It also gets rid of noSuchMethod.
I also made some renamings inspired by https://github.com/dart-lang/js-interop/issues/68

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25018 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 19:44:44 +00:00
floitsch@google.com f1e4310329 Add codec and convert to sdk-build script.
Review URL: https://codereview.chromium.org//19177002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25002 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 11:13:44 +00:00
kustermann@google.com 88d1ae1957 Run bots/editor.py commands in xvfb-run to make ensure a valid DISPLAY
TBR=ricow@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24990 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 07:38:13 +00:00
kustermann@google.com 7336453338 Run bots/editor.py commands in xvfb-run to make ensure a valid DISPLAY
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24989 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 07:30:32 +00:00
benwells@google.com 4fe143407c Update dart:chrome APIs and include chrome.fileSystem
chrome.fileSystem is needed to do integration testing.

BUG=None
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24988 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 01:09:52 +00:00
efortuna@google.com 2a070f0c72 Add point to Window class and Window polyfills of screen.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24987 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-13 00:40:26 +00:00
efortuna@google.com f160335229 Updated with ArrayBuffer => ByteBuffer rename in HttpRequest docs.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24985 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-13 00:08:53 +00:00
rnystrom@google.com a9d24edd0f Rename "pathos" package to "path".
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24964 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 17:54:48 +00:00
devoncarew@google.com d296980e56 Trying to resurrect the linux editor FYI bot.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24963 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 17:50:37 +00:00
efortuna@google.com 7c20ac6514 Added boolean to toggle.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24938 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 02:00:38 +00:00
amouravski@google.com 5d432a75a9 Added some more documentation to top level Window.
R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24933 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 23:04:05 +00:00
efortuna@google.com a9ea9a28ad Convert decodeAudioData to return a Future.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24893 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 22:58:33 +00:00
blois@google.com f50bfde69f Fixing CustomEvent.detail leaks.
Basically CustomEvent.detail does no conversion of objects and will pass JS objects through unmodified.

This fix restricts CustomEvent.detail for Dart down to serialized script values, but JS allows anything (which can lead to memory leaks).

With this fix, CustomEvent.detail is essentially handled similar to MessageEvent.data.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24884 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 20:12:25 +00:00
benwells@google.com 71d6d11712 Update idlsync.py to work with chrome generator.
BUG=None
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24871 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 00:29:19 +00:00
blois@google.com 875d28e015 Fixing mapping of attribute maps on FireFox.
Not sure when/why this broke (most likely FF change), but one of the MDV tests started failing because of it:
http://chromegw.corp.google.com/i/client.dart/builders/dart2js-ff-win7-1-2/builds/5798/steps/dart2js%20tests/logs/stdio

Closest thing I can find in reference to this type refers to it going away in WebKit:
http://trac.webkit.org/changeset/42107

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24870 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 00:25:30 +00:00
iposva@google.com 2229450865 - Use TCP_NODELAY when using the coverage tool and ddbg.
- Use IPPROTO_TCP instead of SOL_TCP for increased portability.

R=asiva@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24865 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 21:14:31 +00:00
efortuna@google.com cc9f39dfba Add back appendBlob and send variants in WebSocket.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24854 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 17:26:51 +00:00
kustermann@google.com e7de55b945 Revert "When using content_shell to run tests, run them with '--single-process'"
This reverts r24840.

r24840 revealed quite a few issues. Unfortunatly it seems like we cannot run all
tests in single-process mode. In particular indexeddb tests are timing out. The
issue seems to be this chromium bug:
  https://code.google.com/p/chromium/issues/detail?id=229684

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24846 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 15:34:59 +00:00