nweiz@google.com
a811209d78
Add a script to generate HTML and DOM docs with cross-links to one another.
...
This entails adding callbacks to dartdoc for injecting additional
comments, as well as adding somewhat deeper support for hashing and
equality testing of Frog objects.
The next step is to inject the annotations into the HTML and DOM library source itself.
Review URL: http://codereview.chromium.org//8771054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2199 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 22:15:12 +00:00
sigmund@google.com
d45d3596c5
frog: better errors/warnigns about type annotations in map literals.
...
Using 2, instead of 1 type arguments is only a warning (this matches the vm)
Review URL: http://codereview.chromium.org//8856004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2189 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 19:10:37 +00:00
sigmund@google.com
cb86ec8e6a
buildfix: not use type annotation in map literals within htmllib
...
Review URL: http://codereview.chromium.org//8855001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2187 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 17:43:52 +00:00
sigmund@google.com
b0d4e767fc
frog: use type annotation in map and list literals
...
BUG= http://code.google.com/p/dart/issues/detail?id=220 http://code.google.com/p/dart/issues/detail?id=221
Review URL: http://codereview.chromium.org//8849001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2186 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 17:37:00 +00:00
jacobr@google.com
770a6a6c0a
New version of the bindings.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8839010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2168 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 12:31:46 +00:00
nweiz@google.com
c485674382
Get html-diff running again.
...
TBR
Review URL: http://codereview.chromium.org//8769021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1998 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-01 22:51:54 +00:00
jacobr@google.com
1ea93e5f9f
Fixes to the html library matching vsm's changes to the generated code.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8659025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1901 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-29 18:59:47 +00:00
vsm@google.com
1d2dbb040b
Temporary build fix in generated code
...
TBR=jacobr
Review URL: http://codereview.chromium.org//8659020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1880 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-28 22:47:27 +00:00
jacobr@google.com
2dbe767ed6
Split html library into html and html_impl
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8548007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1879 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-28 22:16:54 +00:00
jacobr@google.com
5b31d3d00f
This class wasn't used anyway. Removing as it causes errors due to recent VM changes.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8673005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1771 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-23 01:12:10 +00:00
nweiz@google.com
4b756816ea
Add a script for determining which DOM methods correspond to which HTML methods.
...
Ultimately, this will be used for generating documentation. Currently, though,
it just prints out information to the console.
This also includes some annotations to the HTML library, where the DOM
correspondence couldn't be auto-detected.
Review URL: http://codereview.chromium.org//8548019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1767 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-22 23:39:59 +00:00
jmesserly@google.com
c21417ef6e
Revert "Fix some type warnings in html library."
...
The factory change seems to have broken tests on Dartium.
Review URL: http://codereview.chromium.org//8561002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1642 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-17 23:58:43 +00:00
jmesserly@google.com
0c187847e4
Fix some type warnings in html library.
...
Two changes:
* factories for Element are typed to return Element. That way we know they're downcastable to things like CanvasElement.
* switch "final" to an explicit "dom.HTMLElement", so we know it has innerHTML on it. (from looking at the static tpes, it thought "temp" was just an dom.Element. You're probably familiar with this "feature" of the DOM... ;-) )
Review URL: http://codereview.chromium.org//8591031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1637 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-17 22:22:34 +00:00
antonm@google.com
b869b81c1d
Mirgate dart:html to initWebKitWheelEvent.
...
Recently Dartium code generator started to follow more closely JS-specific
stuff in IDLs. And, as an example, for JS we have WheelEvent.initWebKitWheelEvent, not
WheelEvent.initWheelEvent as for other languages. Hence the change.
Review URL: http://codereview.chromium.org//8581002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1582 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-16 19:26:40 +00:00
jacobr@google.com
157b35983a
Implement measurement using promises
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8363040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1050 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-01 23:17:47 +00:00
nweiz@google.com
7ac8255b44
Add constructors to all the event classes.
...
Review URL: http://codereview.chromium.org//8404013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@914 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 19:48:50 +00:00
vsm@google.com
e95572dd87
Missing parens
...
Frog is breaking on this when compiling swarm.
Review URL: http://codereview.chromium.org//8390039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@750 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-26 14:19:16 +00:00
nweiz@google.com
5ff2269189
Move the individual property definitions from client/base/Css to CSSStyleDeclaration.
...
Review URL: http://codereview.chromium.org//8360025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@651 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 20:44:30 +00:00
nweiz@google.com
c1ca81a9e4
Make DocumentFragment implement Element.
...
Review URL: http://codereview.chromium.org//8355019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@587 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 19:55:58 +00:00
nweiz@google.com
260693a55e
Rename cloneNode to clone and move it into the Node interface.
...
Review URL: http://codereview.chromium.org//8330003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@563 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-19 18:03:24 +00:00
vsm@google.com
50ae8ae116
Repackage html lib.
...
This is just regen:
- cd .../client/html
- rm -rf release
- ../tools/copy_dart.py release html.dart
Review URL: http://codereview.chromium.org//8234030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@370 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-12 18:10:51 +00:00
kasperl@google.com
c9f9ba04f2
Stop using the old syntax for default argument values in more places.
...
The code in client/html/generated/ will be regenerated shortly
but for now I want to get to a point where we can remove the
support for the old syntax.
TBR'ed.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3564013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@193 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 05:46:15 +00:00
vsm@google.com
71197ca222
Package html lib into single (2 for now) files
...
To generate:
(1) cd into client/html
(2) run: ../tools/copy_dart.py release html.dart
Review URL: https://chromereviews.googleplex.com/3565013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@190 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 02:55:41 +00:00