Commit Graph

77 Commits

Author SHA1 Message Date
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
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
amouravski@google.com a3f57b00ab Fixed old docs for WebSocket.
Bug: https://code.google.com/p/dart/issues/detail?id=10507

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24451 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 06:17:09 +00:00
amouravski@google.com 304a2c477b Fix typo in documentation of CanvasElement.toDataUrl.
Bug: https://code.google.com/p/dart/issues/detail?id=10994

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24449 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 06:12:21 +00:00
blois@google.com a1f522165f Modernizing HttpRequest documentation.
Also fixing docs so they get applied to Dartium.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23303 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 19:33:06 +00:00
jmesserly@google.com 9920deeb51 add doc for Node.append
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22657 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-13 23:32:29 +00:00
amouravski@google.com d6d7b02ff7 Fixed broken link in documentation.
BUG 9489 (dartbug.com/9489)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21842 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:39:07 +00:00
blois@google.com 16ba7bbc02 Documenting misleading DataTransfer API.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21216 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 16:22:14 +00:00
blois@google.com 3f82bebebe Fixing dartdoc generation.
Went out of date with my last CL.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21013 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:24:43 +00:00
efortuna@google.com ae82b45193 Rename context2d to context2D.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21006 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 23:16:48 +00:00
amouravski@google.com ac5ad0afce Fix docs.dart, which has been sad and neglected.
Review URL: https://codereview.chromium.org//13116021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20587 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 21:47:06 +00:00
blois@google.com 30764d4a5b Was benchmarking the differences between document.query and using the native DOM methods when available, and document.query is significantly worse in almost all scenarios.
Our current document.query can be optimized about 2x by caching the RegExps being used, but this is still not enough to get close to what they should be.

We special-cased a couple of queries to optimize those, but it appears that the browsers are optimizing those now as well and our optimizations are getting in the way, overall.

From my tests so far, this CL brings a speed improvement to document.query for all scenarios except for the name test:
document.queryAll('[name="test"]') which takes a fairly significant performance hit (runs close to 1/2 speed with this CL). This is mitigated by exposing getElementsByName which if used brings a 2x performance gain over queryAll.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19831 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 00:39:38 +00:00
amouravski@google.com 5d07be1a6c Added Web SQL to the docs.json generation.
Review URL: https://codereview.chromium.org//12334086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19062 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 17:54:28 +00:00
sethladd@google.com ab17470bcc adding docs to HRElement, testing HTML doc process
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18422 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 00:36:36 +00:00
amouravski@google.com f05f2c77cc 'Moved all documentation from old .dartdoc files.'
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18111 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 03:04:59 +00:00
amouravski@google.com 0f4a3a7c44 Finished porting code from the old html-json docs.
Review URL: https://codereview.chromium.org//12186024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18109 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 02:00:13 +00:00
amouravski@google.com 93a1b6edae Added Area Element class doc.
Review URL: https://codereview.chromium.org//12163006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18052 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 16:01:30 +00:00
amouravski@google.com ad62fa5ad3 A bunch more documentation.
Review URL: https://codereview.chromium.org//12156002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17987 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 17:53:16 +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
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
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
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 f46672cb73 Converting tests over to using event streams.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17735 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 23:31:15 +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 d2a79c9bdd First half of the new HTML json docs.
This half produces the JSON file by going through each of the HTML libraries
and pulling out the @DomName annotations as keys for the map.
This means that even though member names may change, the map still works.

Currently creates a blank json file because I have not hooked up the other half
that puts the docs into the libraries to begin with.

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

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