Commit Graph

14 Commits

Author SHA1 Message Date
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 d80b32703f Introduce CompositeIDLTypeInfo and clean up the code that deals with sequences.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6735 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 11:26:22 +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 009efe078a Do not delete DOMStringMap and DOMStringList types from idl database.
R=antonm@chromium.org,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6623 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 10:30:34 +00:00
sra@google.com c3a9e3d08c Remove unused tables from generator.
Review URL: https://chromiumcodereview.appspot.com//10010048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6471 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 20:01:10 +00:00
podivilov@google.com d27d59080e Remove unnecessary renames from fremontcutbuilder.
R=sra@chromium.org,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6411 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-11 12:48:24 +00:00
podivilov@google.com 23d913005e Build fix: add DOMStringMap.h conversion include where needed.
TBR=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6410 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-11 12:37:32 +00:00
podivilov@google.com c6f2a29238 Get rid of _idl_to_dart_type_conversions map.
This info is already contained in _idl_type_registry.

R=antonm@chromium.org,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6408 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-11 11:58:16 +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
antonm@google.com 81ccfbd823 Generate DOMStringMap implementation.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6314 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 10:10:48 +00:00
antonm@google.com 886c1a356c IDBKey requires special ParameterAdapter handling.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6276 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 15:31:17 +00:00
antonm@google.com 7193fcd474 Support DOMStringMap in generators.
R=podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6267 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 12:10:52 +00:00
sra@google.com bdb9cffa89 Remove unused typed array factory constructors.
Remove unused typed array factory constructors in the class as the
arrays are actually constructed in the factory constructor provider.

Use native renaming to get rid of hand generated code for typed array
'setElements' method.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6072 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 04:15:15 +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