Commit Graph

217 Commits

Author SHA1 Message Date
antonm@google.com 12d5e65894 Chrome roll.
TBR=ager@google.com, podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21967 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 18:02:30 +00:00
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
sra@google.com 600bcf9339 Make RadioNodeList be NodeList
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21858 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 00:18:39 +00:00
sra@google.com 15e8e0d70a Revert "Revert "Allow multiple tags in native clause.""
WebKit with a 'K', not 'k'

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21853 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 22:57:06 +00:00
sra@google.com 4d02ad5c16 Revert "Allow multiple tags in native clause."
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21846 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 22:07:13 +00:00
sra@google.com fb5b910c07 Allow multiple tags in native clause.
This simplifies, but does not allow us to get rid of, the typeNameOf
functions.

The '*' is no longer necessary, so
  native "*DOMWindow"
becomes
  native  "Window,DOMWindow".

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21843 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:41:35 +00:00
jmesserly@google.com 0b46496995 unhide nodeType constants
Node.nodeType is not very useful without these :)

See also:
https://code.google.com/p/dart/issues/detail?id=4754

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21840 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:30:15 +00:00
ager@google.com ee0f44baff Update code generator for dartium dart:html with typeddata.
R=antonm@google.com, vsm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21790 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:24:41 +00:00
ager@google.com 7f79491c06 Move to new dart:typeddata types
Mads: if you land this, please rerun go.sh from tools/dom/scripts to regenerate html_dart2js.dart.  I didn't include it here to make this patchable.

Stephen: I still need to run the perf tests we talked about to sanity check.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21789 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:22:51 +00:00
antonm@google.com 4520cca2b5 Drop raises annotations support.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21725 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 08:59:39 +00:00
antonm@google.com 8784188d40 Remove BLOB conditional.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21724 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 08:48:10 +00:00
vsm@google.com ca7b684f04 Add Supported class to dart:html
This is only used by typeddata for now.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21717 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 05:54:02 +00:00
amouravski@google.com 51535c4a8e Regenerated to put SQL database back.
Review URL: https://codereview.chromium.org//14232015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21657 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 20:31:00 +00:00
antonm@google.com 8af52be78a Roll IDLs.
TBR=ager@google.com, blois@google.com, podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21643 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 18:30:23 +00:00
antonm@google.com b693f3e1ea Changes for the roll.
TBR=ager@google.com, blois@google.com, podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21627 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 16:15:01 +00:00
antonm@google.com 7db2784f62 Allow spaces around conditions.
R=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21495 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:56:06 +00:00
antonm@google.com 766fcede4e Enable user timing.
R=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21493 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:29:46 +00:00
antonm@google.com 739426925e Enable resource timing.
R=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21491 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:14:57 +00:00
antonm@google.com 92e80c8404 Enable navigator content utils.
R=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21488 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:01:29 +00:00
antonm@google.com 021a1ef818 Triage feature defines.
R=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21487 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 17:45:07 +00:00
antonm@google.com 0ef5bc0c64 Enable canvas features.
R=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21485 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 17:34:53 +00:00
antonm@google.com 6283a48f86 Distinguish between common and dart2js specific monitored.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21483 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 17:25:30 +00:00
antonm@google.com 0aa3e138a9 Cleanup now unused event names.
R=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21480 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 17:19:08 +00:00
antonm@google.com 06b08dae28 Enables necessary for Dartium.
TBR=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21422 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 08:58:36 +00:00
antonm@google.com 4fd23f8c65 Check for conditionals used.
There should be nor unused conditionals, nor
unknown ones.

R=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21421 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 08:28:37 +00:00
antonm@google.com c2bd9ac62c Blacklist directories to be skipped while searching for IDLs.
Otherwise we risk missing newly added modules.

R=ager@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21365 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 15:42:12 +00:00
whesse@google.com 266bada744 Remove use of Expect from test scripts and idlparser_test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21287 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 15:53:44 +00:00
ager@google.com 9bd8f2db46 Use name to sort IDB interfaces into the indexed_db library.
R=antonm@google.com,blois@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21214 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 16:10:21 +00:00
podivilov@google.com 468fc08f93 Fix the build with WEB_AUDIO disabled.
Make sure web_audio_DartResolver.cpp is generated even if WEB_AUDIO is disabled
because our gyps depend on it.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21182 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 08:01:28 +00:00
blois@google.com 575512855b Fixing SVGColor DartC break
The base class for SVGColor was removed, but we still had an auto-generated constructor trying to call it, which broke dartc.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21124 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 23:49:16 +00:00
blois@google.com 8afa069ae4 These APIs were introduced in the CSS DOM 2 spec and have been removed from the CSS DOM 3 spec. We should remove them as well.
http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21121 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 23:25:11 +00:00
blois@google.com 93566b8a35 Making supressed DOM types abstract
This clears up a number of dart analyzer issues for the suppressed types.

Also making SVGGradientElement not be suppressed since it is used.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21111 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 20:45:32 +00:00
efortuna@google.com 5c0ae732b4 Add back localName and improve toString for Html nodes.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21105 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 19:29:10 +00:00
blois@google.com 21ce609108 Fixing up a number of go.sh warnings
Tables have been falling out of date with IDL changes.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21016 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:39:27 +00:00
blois@google.com ef7bf8964d Removing all Worker-related APIs
Need to revisit these once WebWorkers and Isolates are worked out.

BUG=8932

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21011 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:05:05 +00:00
blois@google.com 4456d77285 Allowing Window.onBeforeUnload event to work properly.
There are a couple of issues here, fixing some of them, but not quite all.

Background- the beforeunload event is used to present a dialog to the user after they have clicked a window/tab close button, usually to indicate unsaved changes. This is effectively the only mechanism available to preempt the close action.

In WebKit, the user must return a string value from the beforeunload event and that string will be displayed in an alert dialog prompting the user if they are sure they want to leave the page.

In FireFox, IE & the W3C spec, the beforeunload event is of type BeforeUnloadEvent. The string used to prompt the user is specified by the 'returnValue' field. Furthermore, WebKit exposes 'returnValue' as a bool on Event, where the spec does not have it on Event at all.

With this change, a user can utilize the beforeunload event on all platforms:
  window.onBeforeUnload.listen((e) {
    e.returnValue = "foo!";
  });

BUG=2350

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21003 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 22:30:31 +00:00
antonm@google.com 115ff4b40b Map enums to strings.
R=blois@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20984 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:00:25 +00:00
antonm@google.com 613746189b Allow empty strings as enum values.
R=blois@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20977 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:00:21 +00:00
blois@google.com 94e75dfda4 Renaming WebGLVertexArrayObject
This one is special cased and skips the bulk prefix removal.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20920 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 16:00:11 +00:00
blois@google.com 93f3ca932f Fixing some dart2js annotation issues in web_gl lib.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20835 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 00:59:28 +00:00
blois@google.com 50e1cf4927 Adding web_gl library.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20833 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 00:45:20 +00:00
antonm@google.com 55b39086a5 Support nullable attributes and return types in Dartium.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20660 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 15:13:00 +00:00
antonm@google.com 6eb7f1eb90 Save all version control dirs.
TBR=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20614 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 13:56:21 +00:00
ager@google.com 2c3d35ec54 Bring in new IDL files and generated code. Update the script that syncs the idl files to deal with the new third_party setup.
R=antonm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20378 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 13:22:29 +00:00
blois@google.com 639cab021b Changing the IDL DartName= annotation to only operate on a per-member basis, allowing overloaded methods to be renamed independently.
This also includes a change to rename one overload of CanvasRenderingContext2D.createImageData as a test case.

The remaining changes are to address differences between old semantics of DartName and new semantics, as well as some ordering differences of generated code.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20355 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 21:50:15 +00:00
blois@google.com 8e5fc0091b Undeprecating some Element position APIs.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20347 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 20:54:23 +00:00
efortuna@google.com 0109262fd2 Rename RtcdtmfSender class.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20298 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 22:51:24 +00:00
blois@google.com 30f857fa7f Adding support flags to Event.clipboardData
It's only supported by webkit, but it's not easy to check for support as it only works off of a paste operation invoked by the browser.

BUG=8975

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20297 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 22:49:00 +00:00
antonm@google.com b162613b8b Support for callbacks on ScriptProcessNode.
R=efortuna@google.com,podivilov@chromium.org
BUG=9094

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20280 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 18:12:20 +00:00
amouravski@google.com 85c959e6c3 Update drawImage to create more fast paths.
Review URL: https://codereview.chromium.org//12774014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20256 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 22:53:19 +00:00