blois@google.com
1c3fc640c9
Adding monitoring to a number of DOM generation scripts.
...
Also fixing a bunch of issues uncovered.
BUG=
Review URL: https://codereview.chromium.org//12252019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18499 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 00:43:30 +00:00
blois@google.com
6735b55710
Removing deprecated events syntax.
...
BUG=
Review URL: https://codereview.chromium.org//12217124
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18459 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 17:43:57 +00:00
antonm@google.com
6de3b1f6a6
Follow up to IDL roll.
...
TBR=blois@google.com ,efortuna@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12233003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18141 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 15:14:38 +00:00
amouravski@google.com
b615b83236
Change the way that events are annotated.
...
Review URL: https://codereview.chromium.org//12092118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18053 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 16:04:17 +00:00
amouravski@google.com
956d645a0f
Can now correctly add documentation to constructors.
...
Review URL: https://codereview.chromium.org//12087112
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17954 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:11:31 +00:00
amouravski@google.com
87e86c1f8d
Second half of HTML json docs. This reads the json file and inserts the docs.
...
The format should match what was hand-written, but the order of annotations may
have changed. This does not effect anything, but it's worth noting.
Review URL: https://codereview.chromium.org//12045076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17649 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 19:24:25 +00:00
blois@google.com
d2aa044d2b
Deprecating old DOM event APIs.
...
This also exposes EventTarget.dispatchEvent. We had discussed naming this as 'dispatch', but it seems a bit safer to use 'dispatchEvent' to avoid potential name conflicts.
BUG=
Review URL: https://codereview.chromium.org//12047054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17595 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:42:02 +00:00
blois@google.com
51ed22e712
Adding supported flag to HashChangeEvent.
...
Also had to change the event type of the hashChange event as it is supported everywhere, but the type may or may not be a HashChangeEvent.
BUG=
Review URL: https://codereview.chromium.org//12041053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17507 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 22:22:28 +00:00
blois@google.com
759e9b6706
Adding annotations to event streams.
...
I need to add supported annotations to some events, splitting out this part since it makes the other CL quite unwieldy.
BUG=
Review URL: https://codereview.chromium.org//12025035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17329 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 23:35:23 +00:00
blois@google.com
764b68db02
Removing redundant event streams.
...
Basically removing the event stream providers from Document and Window for events which are also declared on Element. The streams themselves are still exposed, just that a single provider is now on Element.
Also removed MediaElement events from Window, as they are duplicative and should be accessed via the MediaElement provider.
I was also hoping that this would have some JS size benefits, but I'm not seeing any.
BUG=7860
Review URL: https://codereview.chromium.org//11956021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17229 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 18:29:00 +00:00
amouravski@google.com
9da44d6aed
Change /// @docsEditable to @DocsEditable annotation.
...
Review URL: https://codereview.chromium.org//11970019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17171 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:51:43 +00:00
blois@google.com
a4977979c4
Adding streams to dart:html.
...
This exposes all DOM events as streams. This keeps the current DOM event syntax as well, I'd like to make sure this API is stable before deprecating the old syntax, then we'll remove it a while after that.
I made an initial stab at getting the event types correct for the streams, though it's not documented very well and frequently inconsistent between browsers. Hopefully it's close, and I imagine there will be changes to come.
BUG=
Review URL: https://codereview.chromium.org//11824072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17028 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 20:19:28 +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