Commit Graph

793 Commits

Author SHA1 Message Date
efortuna@google.com 5662b4726e "Reverting 18090"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18091 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:22:50 +00:00
efortuna@google.com 58a4c28f5c Remove webkit prefix and annotate with experimental tag.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18090 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:17:28 +00:00
efortuna@google.com 7ef9e96865 Added constructor for touchlist.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18083 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 22:49:07 +00:00
antonm@google.com 42671b8291 Allow parsing of enum declarations.
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18064 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 19:09:27 +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
efortuna@google.com ce74c20fdb Add supported checks to the SVG library, and library cleanup.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17994 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:09:11 +00:00
antonm@google.com 044ade317e Better support for vector conversions.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17981 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 13:50:28 +00:00
amouravski@google.com fcccafdd33 Add even more documentation back to HTML.
Review URL: https://codereview.chromium.org//12093101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17955 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:30:22 +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
efortuna@google.com 473bbc0487 "Reverting 17940"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17941 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 19:48:36 +00:00
efortuna@google.com cab5d4cc51 SVG Library cleanups and adding supported tag.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17940 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 19:38:00 +00:00
blois@google.com de9fbf0e90 Renaming dart:html library from 'html' to 'dart.html'
This should be invisible to end users, but basically brings dart:html in-line with the core libraries.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17929 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:25:55 +00:00
antonm@google.com ed5c8a0fad Support for Crome roll 176827->179299.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17911 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:22:42 +00:00
blois@google.com 19450bf645 Renaming Clipboard to DataTransfer
This is the W3C name of the class:
http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransfer-interface

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17878 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 22:55:04 +00:00
blois@google.com 8cb540948f Adding supported checks for WebGL
Also fixed the getContext method to have the proper signature (bug 4883).

Also adding an easy accessor for context3d.

Not sure if additional Dartium changes will be needed, Anton?

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17860 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 17:45:13 +00:00
amouravski@google.com 6095e5065b Split the comment strings in docs extraction on newlines.
Review URL: https://codereview.chromium.org//12090035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17796 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 18:57:42 +00:00
antonm@google.com 8aebefcadf Allow null for optional strings in init event methods.
R=podivilov@chromium.org
BUG=8076

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17762 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 14:16:41 +00:00
antonm@google.com 5d50a592a3 Support overloaded constructors.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17754 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 12:18:28 +00:00
amouravski@google.com b1946849c6 Readded some more HTML docs!
Review URL: https://codereview.chromium.org//12094003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17738 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 00:28:29 +00:00
blois@google.com ef8128536a Revert "Adding supported checks for Element.matches."
This reverts commit 17670 which is causing problems for IE9.

For some reason IE9 is failing the matches test but passing the supported check. But I cannot repro on my machine.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 00:34:25 +00:00
blois@google.com 5e5505edf3 Adding supported checks for XsltProcessor.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17671 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:34:11 +00:00
blois@google.com 7936da179e Adding supported checks for Element.matches.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17670 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:29:05 +00:00
blois@google.com 01ede06509 Adding supported checks to websql.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17668 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:18:04 +00:00
blois@google.com 51dce2b072 Adding supported checks for CssMatrix and Point.
Also renaming Point to DomPoint to avoid any potential clashes with a future Point class.

I'm also trying to get a Point class in dart's SDK, once this is added then DomPoint should be removed.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17667 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:13:08 +00:00
amouravski@google.com 7d244f8eba Fixed some bugs in dom docs and recovered documentation of Canvas stuff.
Review URL: https://codereview.chromium.org//12087003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17665 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 22:59:26 +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
amouravski@google.com 33e91c55be Changed how Experimental annotation works. No longer is a constructor.
Review URL: https://codereview.chromium.org//12041090

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17619 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 23:50:59 +00:00
blois@google.com 732d362a32 Adding supported checks for HttpRequestProgressEvent.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17612 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 23:03:14 +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 6ade3fc5c9 Adding test & annotations for popstatevent.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17589 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 18:59:08 +00:00
antonm@google.com d3596d3377 Simplify hack to suppress overloaded constructors.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17555 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 12:58:38 +00:00
antonm@google.com f68706e4c4 Initial work on ImageData.data.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17526 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 08:25:37 +00:00
antonm@google.com abb2499b5a Some more refactorings of overload dispatcher generation.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17522 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 07:51:18 +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 edf1d5149f - Changing event constructors to use named parameters.
- Making more parameters optional.
- Converting remaining init*Event calls to constructors.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17488 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 19:43:21 +00:00
blois@google.com 7834eba896 Removing @DocsEditable from classes we have darttemplates for.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17436 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 00:35:17 +00:00
blois@google.com c63ae60625 Adding supported checks to media events.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17431 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:50:18 +00:00
blois@google.com 299ec70b31 Adding supported checks & test for SpeechRecognition APIs.
This is a re-submission of https://codereview.chromium.org/12026032/, the problem was that Dartium does not allow factory constructors with the same name as members.

Had to rename Event.type constructor to Event.eventType.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17430 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:42:01 +00:00
blois@google.com b0e5d99712 Reverting 17420 "Speech recognition APIs" which broke dartium.
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17427 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:55:12 +00:00
blois@google.com a492a08eb2 Adding supported checks & test for SpeechRecognition APIs.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17420 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 20:41:38 +00:00
antonm@google.com 2e73feb690 Minor unification with dart2js bindings.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17406 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 15:32:17 +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 049efc4fe8 Fixing cleanup of dart:html annotation generation.
This is an update of https://codereview.chromium.org/11968047/

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17323 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 22:11:21 +00:00
blois@google.com ccd052a508 Fixup of reverted CL- Fixing up Navigator.getUserMedia.
- Fixes Navigator.getUserMedia to be cross-platform.
- Adds supported checks.
- Dartifies the API.

First patch is the original, second is the fix.

Issue was that I used = for separating named parameters, rather than : (but it works on dart2js!). I think this distinction is lame, and opened a bug that these should use the same separator.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17311 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 20:54:05 +00:00
blois@google.com 9cca892004 Revert "Fixing up Navigator.getUserMedia."
This reverts commit 17304. It broke dartium.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17306 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 19:17:48 +00:00
blois@google.com b9b0ffd533 Fixing up Navigator.getUserMedia.
- Fixes Navigator.getUserMedia to be cross-platform.
- Adds supported checks.
- Dartifies the API.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17304 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 18:55:17 +00:00
blois@google.com e78e8b1cc1 Stubbing out the initial library for Chrome application support.
This adds the core skeleton of Chrome application support with a sample function that allows creating a new window (in dart2js).

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17299 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 18:05:19 +00:00
antonm@google.com a6222ed29e Remove now unused function.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17292 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 16:51:47 +00:00
antonm@google.com 56c3b90f06 Stop generating MutationCallback right way.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17290 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 16:35:36 +00:00
antonm@google.com e0f0682c01 Remove now unnecessary define.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17283 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 15:29:32 +00:00