Commit Graph

20 Commits

Author SHA1 Message Date
antonm@google.com 3639e3ab3a Better support for the case of typed arrays inheriting from other typed arrays.
R=podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7580 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-12 08:52:09 +00:00
podivilov@google.com 5ab3ca32ef Merge wrapping system into native system.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7546 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 14:28:20 +00:00
podivilov@google.com 93e5b49bab Remove ParameterAdapters for bindings classes.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7325 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 13:45:56 +00:00
antonm@google.com e46a8f0d96 Properly count number of arguments for statics.
R=podivilov@chromium.org
TEST=dom/indexeddb_4_test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7324 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 13:44:40 +00:00
antonm@google.com 2806978be7 Rework static method support.
For now I just nuke them from all generators except for systemnative.

However, that remove two methods from DOMURL.  One of those should probably be a ctor.
The second one is funnier as it looks like legetimate static methods.

R=podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7320 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 11:05:29 +00:00
podivilov@google.com 4f4665ea97 Cleanup ParameterAdapter for bindings classes.
ParameterAdapters should have just one template parameter - Dart bindings class.

R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7271 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 09:12:39 +00:00
antonm@google.com 6f7c53bff4 Remove per interface getter/setter suppressions.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6958 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 17:16:22 +00:00
antonm@google.com 3b27f458fc Remove FileReader for custom getter suppression list.
R=podivilov@chromium.org
BUG=2723

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6949 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 15:32:23 +00:00
antonm@google.com 3fa53740a8 Remove now unnecessary custom getter suppressions.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6945 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 15:12:35 +00:00
podivilov@google.com 1b33610e67 Do not use overloaded toDartValue for bindings classes.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6904 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 17:39:29 +00:00
podivilov@google.com 44c3346fc4 Support custom to native conversions.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6898 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 16:48:57 +00:00
antonm@google.com 6b91daedad Fix Windows build.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6835 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 10:08:59 +00:00
podivilov@google.com e7f9fbc391 Do not use overloaded toDartValue for primitive types.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6797 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 13:50:48 +00:00
podivilov@google.com 2899757ad2 Move custom to dart conversion logic to IDLTypeInfo implementations.
This change is the first step towards removing overloaded toDartValue.

R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6736 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 11:45:31 +00:00
podivilov@google.com 1bce834627 Generate proper wrapper types for ActiveDOMObjects.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6688 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 14:17:47 +00:00
sra@google.com 4a81499920 Map IDBAny and IDBKey to Dynamic
Specialize printing of Dynamic depending on context.
Interfaces try to print it as /*IDLType*/ in operation signatures.
Generated C++ is unchanged.

Replace the arg_info tuple with a ParamInfo object.
Rename arg_infos to param_infos.

   void postMessage(Dynamic message, [List messagePorts]);
-> void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]);

   String createObjectURL(var blob_OR_stream);
-> String createObjectURL(blob_OR_stream);

   final Dynamic key;
-> final /*IDBKey*/ key;

   Dynamic strokeStyle;
-> var strokeStyle;

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6665 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 23:20:28 +00:00
podivilov@google.com 45f10a7f63 Remove EventListener attributes from Dart DOM API.
All idl interfaces that have EventListener attributes are EventTargets and implement
addEventListener/removeEventListener methods. We can safely drop this JavaScript legacy now.

The changes in dom and html libs are due to interfaces that are now treated as EventTargets
(the list of EventTargets in webkit-supplemental were not full).

R=sra@chromium.org,jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6519 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 13:26:49 +00:00
podivilov@google.com 9af05c07ee Auto-generate TimeoutHandler.dart.
R=antonm@chromium.org,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6317 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 11:31:08 +00:00
podivilov@google.com 2e9862c927 Add support for DOM node vs DOM object separation.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6214 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 09:30:45 +00:00
dgrove@google.com 7d558789d6 Rename client/{dom,html} to lib/{dom,html} .
Review URL: http://codereview.chromium.org//9845043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5840 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 16:29:54 +00:00