amouravski@google.com
fce5971f4f
o/~ Y muchos maaaaaaas... o/~
...
Review URL: https://codereview.chromium.org//68513006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30175 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 22:10:12 +00:00
amouravski@google.com
37947804ca
Added helpful information on all event getters and static members.
...
R=blois@google.com
Review URL: https://codereview.chromium.org//46143004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29755 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:59:07 +00:00
jmesserly@google.com
360ea42322
Rename mdv -> template_binding, remove experiemntal apis from dart:html
...
essentially, we trade off reduce dart:html API surface area for more annoying usage of these APIs. Since Polymer hides most of this, I suspect it won't be too annoying in practice.
Sample usage:
nodeBind(node).bind(...)
templateBind(node).model = ...;
R=sigmund@google.com
Review URL: https://codereview.chromium.org//34453003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29057 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 02:11:49 +00:00
blois@google.com
3d20b78608
Fixing experimental annotation on HtmlDocument.register
...
Not sure why this just started failing on the bots, but it's an issue.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//35543004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29039 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 21:27:33 +00:00
blois@google.com
811147da98
Removing redirections of deprecated members
...
The members were deprecated and removed, but these redirections were missing
TBR
BUG=
Review URL: https://codereview.chromium.org//34683003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29024 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:00:31 +00:00
blois@google.com
354c4dd5ad
Revert "Revert "Start of dartium custom element lifecycle event support.""
...
Primary changes are that a fast-path has been added for the single-argument Document.createElement and the systemnative.py changes were split out to CL https://codereview.chromium.org/24661002/ .
This is dependent on https://codereview.chromium.org/24677002/
First patch is the original, second is the updates.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//24491003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27921 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 23:15:09 +00:00
blois@google.com
3fd115d5e3
Revert "Start of dartium custom element lifecycle event support."
...
This reverts commit 27718 to see if it gets performance back down.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//24479002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27897 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 17:56:53 +00:00
blois@google.com
34f58a8209
Start of dartium custom element lifecycle event support.
...
These are the Dart repo changes paired with https://codereview.chromium.org/24294002/
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//23817006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27718 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 18:40:11 +00:00
blois@google.com
b904bf81ba
Revert "Revert "Tag extensions""
...
Original CL is the first patch, changes follow. Includes fixes for Chrome test failures and Firefox type check issues.
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//23442011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27313 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 22:03:43 +00:00
blois@google.com
43d28b5ffd
Fixing visibilityState APIs in Dart
...
The event was not being exposed because it does not appear in the IDL and the associated property was not working cross-platform.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//23987002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27206 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 18:01:46 +00:00
blois@google.com
6570db562c
Revert "Basic functionality is working with JS native support and polyfill, still some issues with dart2js typechecking."
...
This reverts commit r26935. Failing in FF checked on type extension and IE9 on synchronous constructor upgrading, need to investigate.
TBR
BUG=
Review URL: https://codereview.chromium.org//23567006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26938 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:37:23 +00:00
blois@google.com
5607d75eca
Basic functionality is working with JS native support and polyfill, still some issues with dart2js typechecking.
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//23190026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26935 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:08:19 +00:00
efortuna@google.com
90873051ad
Making almost all dom_ methods private. Exceptions will be addressed in a later CL.
...
Current ones that still remain to be made private include createElement(NS),
createRange, all the Element properties, and childNodes.
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//23055008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26605 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 18:25:40 +00:00
sra@google.com
1ffafc705d
Additional code to https://codereview.chromium.org/15026006
...
to enable user classes extending DOM classes to be registered.
Review URL: https://codereview.chromium.org//22642002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26221 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 21:18:07 +00:00
vsm@google.com
4d51b41ff8
Initial Dartium custom element support
...
This will need to be rebased with Stephen's CL or vice versa. The test mod is taken from his CL.
R=blois@google.com
Review URL: https://codereview.chromium.org//22912004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26141 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 19:47:07 +00:00
amouravski@google.com
c0a39d0412
Make html metadata follow the spec.
...
Per https://code.google.com/p/dart/issues/detail?id=11568
R=scheglov@google.com
Review URL: https://codereview.chromium.org//18182010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24638 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 18:34:30 +00:00
blois@google.com
9dd81d94a7
Fixing up DOM constructors.
...
This is a continuation of https://codereview.chromium.org/17063007/
Basically I changed it so factory constructors are only added if the class derives from a native type. Otherwise the native type now extends Interceptor.
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//18054021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24619 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-29 00:14:23 +00:00
blois@google.com
6b44f65407
Revert "Making all DOM types abstract and removing superfluous Dartium constructors."
...
This reverts commit http://code.google.com/p/dart/source/detail?r=24241 .
Compiler error, not sure of best fix.
BUG=
Review URL: https://codereview.chromium.org//17508002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24245 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 19:37:47 +00:00
blois@google.com
c3547d4e9b
Making all DOM types abstract and removing superfluous Dartium constructors.
...
Adding factory constructors to all classes to suppress missing generative constructor warnings.
Adding a throw to Dartium's base DOM class to prevent construction of native objects.
This also includes the changes necessary to make all DOM types abstract, but I'm running into a dart2js issue which is preventing that.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//17063007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24241 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 17:31:36 +00:00
jmesserly@google.com
9005b278e7
Implement Model-Driven-Views spec for Dart
...
This has code ported from a few different sources:
* a port of https://github.com/toolkitchen/mdv polyfill
* a port of the observable layer: https://github.com/dart-lang/web-ui/tree/master/lib/observe
* a port of list change summary: https://github.com/rafaelw/ChangeSummary/blob/master/change_summary.js
The observePath/PathObserver code is written from scratch, but inspired by change_summary. I tried to keep it simpler; it does not support dirty checking. There's no good way to do that until we get dart:mirrors.
R=floitsch@google.com , sigmund@google.com
Committed: https://code.google.com/p/dart/source/detail?r=22561
Review URL: https://codereview.chromium.org//14732003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22570 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 21:39:03 +00:00
jmesserly@google.com
1cef1fbc55
"Reverting 22561"
...
need to investigate test failures
Review URL: https://codereview.chromium.org//14908005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22562 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:43:30 +00:00
jmesserly@google.com
bf4f12c62b
Implement Model-Driven-Views spec for Dart
...
This has code ported from a few different sources:
* a port of https://github.com/toolkitchen/mdv polyfill
* a port of the observable layer: https://github.com/dart-lang/web-ui/tree/master/lib/observe
* a port of list change summary: https://github.com/rafaelw/ChangeSummary/blob/master/change_summary.js
The observePath/PathObserver code is written from scratch, but inspired by change_summary. I tried to keep it simpler; it does not support dirty checking. There's no good way to do that until we get dart:mirrors.
R=floitsch@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//14732003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22561 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:29:14 +00:00
sra@google.com
9882afba1d
Tighten type of 'document' to HtmlDocument
...
reviewed as https://codereview.chromium.org/13686004/
Review URL: https://codereview.chromium.org//13868003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21130 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 01:44:53 +00:00
blois@google.com
de3717f58c
Fixing HtmlDocument overloads
...
This had a bunch of unnecessary/problematic redirections to the global document.
BUG=
Review URL: https://codereview.chromium.org//13727004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21018 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:57:20 +00:00
efortuna@google.com
5f94cbc6af
Remove last of webkit prefixes from HTMLDocument.
...
BUG=
Review URL: https://codereview.chromium.org//12678013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20296 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 22:07:04 +00:00
antonm@google.com
a118f08856
Chrome roll 181864->184590.
...
TBR=ager@google.com ,podivivlov@chromium.org
Review URL: https://codereview.chromium.org//12315128
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19129 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 12:53:40 +00:00
blois@google.com
da161d6ab1
Sample test for custom elements.
...
BUG=
Review URL: https://codereview.chromium.org//12212056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18421 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 00:30:20 +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
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
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
bda6df30df
Revert "Fixing formatting of dart:html's dart2js annotations."
...
This reverts commit 11508.
BUG=
Review URL: https://codereview.chromium.org//11962049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17239 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 22:16:31 +00:00
blois@google.com
b6f3ecaa2c
Fixing formatting of dart:html's dart2js annotations.
...
Also unifying formatting of attributes.
BUG=7808
Review URL: https://codereview.chromium.org//11968047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17238 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 22:12:36 +00:00
amouravski@google.com
038af964dc
Changed @domName annotation in comment to full fledge @DomName annotation.
...
Review URL: https://codereview.chromium.org//11887006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17154 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 19:01:07 +00:00
blois@google.com
8523bcfcf8
Adding supported checks for getCssCanvasContext.
...
This originally broke Dartium because of a typo in the support check, fixing.
First patch is the original, second is the fix.
BUG=
Review URL: https://codereview.chromium.org//11846003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16978 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 17:39:49 +00:00
blois@google.com
d1bdb81d08
Revert "Adding supported checks for getCssCanvasContext."
...
This reverts commit 16947, it has an error on Dartium.
TBR=efortuna
BUG=
Review URL: https://codereview.chromium.org//11847004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16948 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 02:10:10 +00:00
blois@google.com
028cb5c4fa
Adding supported checks for getCssCanvasContext.
...
BUG=
Review URL: https://codereview.chromium.org//11823035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16947 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 01:39:17 +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