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
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
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
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
efortuna@google.com
f81052f2c8
Reapply expanding overloaded functions into separate functions.
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//18577002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24709 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 22:32:44 +00:00
efortuna@google.com
3629744086
"Reverting 24655"
...
BUG=
Review URL: https://codereview.chromium.org//18277003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24656 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 21:09:19 +00:00
efortuna@google.com
fc0df10d8b
Expand overloaded methods and optional parameters in the html library.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//16494002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24655 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 20:49:07 +00:00
blois@google.com
f191d0d4de
Fixing DateTime values in serialized script values.
...
This allows Dart's DateTime objects to be passed as serialized script values. Especially useful for DB values.
BUG=11449
R=sra@google.com
Review URL: https://codereview.chromium.org//17574008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24608 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 20:55:23 +00:00
sra@google.com
4d9098cb0e
Move some native type dispatch tags from runtime into class definitions.
...
R=blois@google.com
Review URL: https://codereview.chromium.org//17893009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24488 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 20:40:02 +00:00
blois@google.com
c0f342adcd
Fixing up previous CL to fix Dartium issues.
...
patch from issue 17453003
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//17550014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24354 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 17:49:25 +00:00
blois@google.com
9a55dad88e
This is causing a build error on Dartium (conversion from unsigned long to GLenum).
...
TBR
BUG=
Review URL: https://codereview.chromium.org//17141011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24298 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 18:18:17 +00:00
blois@google.com
7b4bd8fef5
Fixing an issue where EXTDrawBuffers.drawBuffersEXT was not getting generated.
...
Core issue is that sequences of typedefs aren't getting resolved properly, so it was treated as an unknown type.
Did a workaround, opened bug 11395 to track the core IDL parser issue.
BUG=11029
R=vsm@google.com
Review URL: https://codereview.chromium.org//17453003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24296 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 17:34:21 +00:00
blois@google.com
b206fa4a34
We always had this class in the hierarchy for Dartium but had hidden it for Dart2js, this caused problems because the actual runtime hierarchy was different than the Dart expressed one.
...
BUG=9907
R=sra@google.com
Review URL: https://codereview.chromium.org//16770003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23999 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 17:17:54 +00:00
blois@google.com
f016e7af84
Fixing CSS Animations cross-platform issues.
...
BUG=
R=jacobr@google.com
Review URL: https://codereview.chromium.org//16365020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23926 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 19:18:59 +00:00
blois@google.com
b61e864617
Fix RtcDataChannel for Firefox nightly
...
BUG= http://dartbug.com/11067
R=blois@google.com
Review URL: https://codereview.chromium.org//16323007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23922 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 17:38:54 +00:00
blois@google.com
0956f1c314
Fixing HttpRequest.upload.onProgress.
...
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//16376006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23658 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 21:09:59 +00:00
blois@google.com
58a92ac603
Fixing a number of Dart2JS compiler warnings.
...
BUG=11039
R=efortuna@google.com
Review URL: https://codereview.chromium.org//16336022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23569 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 21:11:14 +00:00
blois@google.com
5bbd582932
Fixing some of the tests disabled from the chrome IDL roll.
...
Basically some native constructors were added which are not yet cross-platform, so skipping them for now.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//16335012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23564 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 20:10:48 +00:00
vsm@google.com
b85b97cbe6
Fixes for Blink roll to r151189
...
TBR=antonm
Review URL: https://codereview.chromium.org//16308002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23511 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-02 18:34:36 +00:00
efortuna@google.com
34b6083654
Fix up other RTC family mozilla names.
...
BUG=
Review URL: https://codereview.chromium.org//15879008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23313 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 00:26:47 +00:00
efortuna@google.com
c89a0c73c0
Add mozRTCPeerConnection to JS names.
...
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//15901006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23312 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 23:48:14 +00:00
antonm@google.com
fd3c7da1ee
Verify that correct number of arguments was passed.
...
R=amouravski@google.com
Review URL: https://codereview.chromium.org//15850004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23296 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:42:13 +00:00
blois@google.com
c590177644
Map lists back to typed arrays
...
This is the reverse of https://codereview.chromium.org//12646004 which was temporarily mapping typed arrays to lists.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//14985010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22537 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-08 23:12:00 +00:00
blois@google.com
72cf63c068
Refactoring DOM annotations and comment generation, adding DOM API triage list
...
This pulls the annotation and comment code out of generator.py and into a Metadata class, which is also tracking new APIs from the IDLs.
Right now the API triage list is being updated when new members appear, but is not adding any metadata to the Dart APIs. Of note for the triage list is that there are currently 437 untriaged members- these are all of the APIs which have either been introduced, renamed or moved in the past week.
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//14455007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22193 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 18:35:30 +00:00
antonm@google.com
7291f59cdc
Some more cleanups.
...
R=ager@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//14367047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22026 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 12:14:26 +00:00
antonm@google.com
28c1b7c9ef
WebKit IDL roll.
...
Review URL: https://codereview.chromium.org//13843029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22013 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 08:03:17 +00:00
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
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
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
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
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
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
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
blois@google.com
1b585cb07b
Attempting to remove ArrayBufferView.buffer penalty.
...
BUG=
Review URL: https://codereview.chromium.org//12447016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19939 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 15:38:30 +00:00
antonm@google.com
2cbf579f6d
Mark ArrayBuffer and ArrayBufferView converters as custom.
...
R=ager@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12518008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19799 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 15:45:51 +00:00
antonm@google.com
e67788f35f
Temporary map ArrayBuffer/ArrayBufferView to dynamic.
...
For some amount of time we're going to allow both
DOM's and dart:typeddata implementations.
R=ager@google.com ,blois@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12440016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19797 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 15:19:57 +00:00
antonm@google.com
255995eee2
Map typed arrays to lists for now.
...
This is temporary while proper bindings to
typed data are in works.
R=ager@google.com ,blois@google.com
Review URL: https://codereview.chromium.org//12646004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19783 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 12:36:31 +00:00
blois@google.com
2fcae75253
Exposing Point & Rect types
...
This exposes ClientRects as Rects and exposes UIEvent.clientX/Y properties as Points.
This also deprecates the UIEvent.clientX/Y properties.
BUG=
Review URL: https://codereview.chromium.org//12493003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19659 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 22:17:04 +00:00
efortuna@google.com
58b10f811e
Reapply Futureification.
...
BUG=
Review URL: https://codereview.chromium.org//12543014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19590 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 00:13:57 +00:00
efortuna@google.com
60a5ed7215
"Reverting 19586"
...
BUG=
Review URL: https://codereview.chromium.org//12463028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19587 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:43:47 +00:00
efortuna@google.com
18f08c3a4c
Future-ify All the methods!
...
(with a few exceptions we've planned).
Also added some tests to test these apis.
BUG=
Review URL: https://codereview.chromium.org//12380046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19586 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:32:54 +00:00
blois@google.com
0ae18dedcd
Updating annotations for shadow dom types.
...
Needed to add an annotation for CssHostRule and updated Chrome supported version (it was a flag on Chrome 25, is now on by default in Chrome 26).
BUG=8239
Review URL: https://codereview.chromium.org//12386059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19442 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:13:11 +00:00