Commit Graph

21 Commits

Author SHA1 Message Date
efortuna@google.com d20462a58b Finish Listifying html classes.
Review URL: https://codereview.chromium.org//11044023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13270 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 00:30:38 +00:00
podivilov@google.com 87cda6aa97 Move Dart type narrowing to TypeRegistry.
R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13248 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 17:55:30 +00:00
podivilov@google.com f892f55ecb Refactor idl to dart renaming logic for interfaces.
Make sure all types that comes to TypeRegistry.TypeInfo are either registered
or present in database. That is to fix the mess with idl vs. dart types.
Also, InterfaceIDLTypeInfo.dart_type now returns an already renamed type.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13247 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 17:54:04 +00:00
podivilov@google.com 97255190cd Get rid of webkit renames.
R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13244 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 17:33:06 +00:00
podivilov@google.com 4f396585c4 Remove global DartType function.
R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13241 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 16:13:57 +00:00
blois@google.com f36360ec8b Converting NodeList to List<Node>.
This keeps the NodeList class because other classes depend on it (notably RadioNodeList), but converts all APIs over to List<Node>.

BUG=2712

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13188 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 17:47:48 +00:00
efortuna@google.com e73afc3647 Reapply FooList -> List<Foo> with Gamepad fix for dartium.
Review URL: https://codereview.chromium.org//10982053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12939 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 23:23:54 +00:00
vsm@google.com 700da179e7 Roll IDL to multivm@910, Take #2
I had to suppress the Window.indexedDB and Element.remove methods in favor of the existing custom code.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12937 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 23:05:10 +00:00
efortuna@google.com 3f3417c68d Revert r12808.
Review URL: https://codereview.chromium.org//10981005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12810 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 21:43:42 +00:00
efortuna@google.com 42a03cb5a3 Reapply 12799.
Review URL: https://codereview.chromium.org//10957066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12808 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 21:23:36 +00:00
efortuna@google.com 23a4b72d67 Revert 12799.
Review URL: https://codereview.chromium.org//10957064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12802 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 19:54:37 +00:00
efortuna@google.com a41389ac03 Don't generate FooList if it behaves like List<Foo> exactly.
Review URL: https://codereview.chromium.org//10941047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12799 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 19:42:16 +00:00
blois@google.com e5caa173b5 Removing interfaces.
This converts all interfaces in dart:html to abstract classes and changes the factory providers from factory methods to static methods.

This CL represents the minimal initial change to remove interfaces, but there's quite a bit of further cleanup which can be done after this (eliminating the factory providers in favor of redirecting factory constructors).

Also I'll be splitting the dartdoc changes out to a separate CL since that's a fairly large change in itself.

BUG=4525

Review URL: https://chromiumcodereview.appspot.com//10915245

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12580 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 17:30:49 +00:00
antonm@google.com 1ce3d9003a Support sequence<T> as return type.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12389 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 15:30:31 +00:00
antonm@google.com 5d81898a10 Support sequence<T> as native bindings arguments.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12381 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 12:36:21 +00:00
antonm@google.com 48876ada8d Support proper parsing of sequence<T>.
And minor refactoring.

R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12337 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 16:18:56 +00:00
antonm@google.com 5661fd2288 Also require v8 scope for ScriptValue.
For now only for any, will get added for others too.

TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12325 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 13:06:37 +00:00
antonm@google.com 708d060ab8 Map any to ScriptValue.
At least that's the way IDB in WebKit does it.

TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12324 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 12:58:19 +00:00
antonm@google.com d8c1c3a830 Rework overloads/optionals dispatch to use new ?a syntax.
Also remove all the ugly hacks we used to have.

R=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10913167

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12118 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 14:58:55 +00:00
antonm@google.com f41e803c91 Render rest of arguments optional once met first optional argument.
Plus refactorings to signature generation.

R=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10909127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12112 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 13:38:00 +00:00
efortuna@google.com 880f4d814a Remove lib/dom directory!
Review URL: https://chromiumcodereview.appspot.com//10913125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12082 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 23:52:00 +00:00