Commit Graph

34 Commits

Author SHA1 Message Date
vsm@google.com 0bcfad872a Update fremontcut with current chrome feature defines
This will bring dart2js / html up to date with Chrome generated dom.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6714 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 22:19:12 +00:00
vsm@google.com 2a115d4420 Roll WebCore IDL to multivm@418
TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6704 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 17:56:36 +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
antonm@google.com 593ac870ad Refresh libs.
Review URL: https://chromiumcodereview.appspot.com//10089002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6529 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 16:03:29 +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
jacobr@google.com af8e09788d Fix ApiDoc to work with new dart:html code. Tweak dart:html generator to generate clearer @domName annotations.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6505 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 09:27:20 +00:00
vsm@google.com 84ae71ef30 Roll IDL to multivm@375
TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6376 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 18:45:21 +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
jacobr@google.com 5771e2c98d Add touchenter event even though it doesn't have an ontouchenter method in the DOM.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6289 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 18:12:35 +00:00
vsm@google.com c5338dc38c Add accidently omitted IDL files from last roll (to multivm@358)
This explains the inconsistencies we were hitting yesterday.  My fault!

This workflow should generally work to roll IDL forward if you're using git-cl:

./idlsync.py && git add ../../../third_party/WebCore/ && ./fremontcutbuilder.py && ./dartdomgenerator.py

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6287 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 17:25:52 +00:00
jacobr@google.com 4c1c8becf3 Add back @domName annotations to dart:html
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6248 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 21:32:39 +00:00
vsm@google.com cc87d5f312 Roll IDL forward to multivm@358
This is the result of:
./idlsync.py && ./fremontcutbuilder.py && ./dartdomgenerator.py

TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6238 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 18:45:22 +00:00
sra@google.com 3914d0b543 Delete lib/html/release/html.dart
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6227 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 16:34:29 +00:00
sra@google.com e0804ebae7 Update lib/html/release/html.dart
This file is identical to lib/html/dartium/html_dartium.dart. It really
should be deleted and places point to this file should pick one of the
implementations.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6212 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 01:14:01 +00:00
sra@google.com 090925494c Revert "Delete now-unused copy of dart:html"
This reverts commit 0d23941aad7771605911e6a3beeb4bef544f613f.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6208 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 23:22:17 +00:00
sra@google.com 9e910ed1ce Delete now-unused copy of dart:html
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6207 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 23:10:34 +00:00
sra@google.com d702be0b8f Fix Issue 2362
The wrapping constructor needs to call the correct underlying constructor.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6200 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 22:24:57 +00:00
sra@google.com a0187f8928 Fix for Issue 2399 - broken []= on dartium dart:html typed arrays.
Also fix buggy lastIndexOf and add test.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6153 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 23:38:35 +00:00
vsm@google.com dbb18a8335 Remove obsolete version of dromaeo
BUG=http://code.google.com/p/dart/issues/detail?id=2314

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6138 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 19:01:34 +00:00
floitsch@google.com 9d3ea53f2b Fix some warnings.
Partially fixes Issue 2142

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6119 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 09:42:27 +00:00
nweiz@google.com 6cabc53f79 Make Storage implement Map.
Review URL: https://chromiumcodereview.appspot.com//9956076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 22:51:57 +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
sra@google.com 1c23709150 Fix factory dart:html typed array providers for dartium.
Revert "Revert "Typed array constructors with optional buffer offset and length.""

This reverts commit 70b6f43f35d3c022187cdb0ce4d516811a2a5dd1.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6071 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 01:01:08 +00:00
sra@google.com 66fad61228 Revert "Typed array constructors with optional buffer offset and length."
This reverts commit aaa5353b16edf040e21fff712757cc14001b2562.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6070 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 00:00:52 +00:00
sra@google.com cf763cf868 Typed array constructors with optional buffer offset and length.
A fix for Issue 2331

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6069 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 23:36:52 +00:00
jacobr@google.com dfbb12458f Use the new syntax for native methods that are just renames of other native methods.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6053 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 17:50:54 +00:00
jacobr@google.com 8d54f883d1 Fix typo in dartium query selector code.
TBR

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6021 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 03:29:24 +00:00
jacobr@google.com d3bc39272e Another dartium fix. I swear this is the last one.
TBR... Fix a Dartium bug that was uncaught because we weren't really using the latest version of dart:html on dartium

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6020 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 03:07:35 +00:00
jacobr@google.com be923d25e5 TBR... Fix a Dartium bug that was uncaught because we weren't really using the latest version of dart:html on dartium
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6019 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 02:45:03 +00:00
jacobr@google.com 7e4f7c9238 Looks like dartium is using this file instead of lib/html/?\016dartium/html_dartium.dart to decide when a new build of dart:html should be used.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6017 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 02:21:46 +00:00
jacobr@google.com f68c5edb14 Fix issue http://code.google.com/p/dart/issues/detail?id=1877 without degrading performance. Improved performance by removing harmful caching logic.
BUG=1877
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6015 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 01:00:08 +00:00
jacobr@google.com dd9bdb5ece dart:html perf optimization based on runing Dromaeo benchmarks
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5955 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 22:23:39 +00:00
vsm@google.com cdabba74ef Regen dom/html from IDL
Note, this is just a regen other than the path fix in dartdomgenerator.py due to the client to lib move.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5851 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 20:06:09 +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