Commit Graph

37 Commits

Author SHA1 Message Date
antonm@google.com f7eb436167 Provide proper Dartium support for _getNewIsolateId().
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9555 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-11 17:33:32 +00:00
antonm@google.com b462d8dbd4 Support timers in DOM isolates.
R=podivilov@chromium.org
BUG=4013

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9511 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-10 15:06:13 +00:00
podivilov@google.com c3977d7b22 Get rid of DOMWrapperBase and DOMTypeBase.
These types are not needed anymore.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9242 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 10:21:25 +00:00
antonm@google.com 4df59f7e15 Restore implementation class for DOMStringMap.
We still use it from custom code.

R=podivilov@chromium.org
BUG=3881
TEST=TODO

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9167 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 13:58:51 +00:00
podivilov@google.com 088d36e93b Remove other occurencies of _unwrap from dart:html.
TBR=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8160 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 15:44:14 +00:00
podivilov@google.com aa58f2ceee Wrapperless dart:html for Dartium.
R=antonm@google.com,sra@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8113 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 16:19:05 +00:00
podivilov@google.com 9b936e6283 Native wrappers should implement dart:html interfaces.
This is the next step towards wrapperless dart:html.

R=antonm@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8063 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 14:52:26 +00:00
podivilov@google.com 66914f8bd2 Remove unused code and templates.
R=antonm@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8030 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-28 13:26:37 +00:00
podivilov@google.com 4e27003551 Generate default constructors instead of factories.
This is needed to instantiate wrappers using Dart_New.
See http://codereview.chromium.org/10453030/.

R=antonm@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8027 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-28 09:51:36 +00:00
podivilov@google.com 1df52df3ed Move dart:dom implementation classes to dart:html library.
Rename dom implementation classes to _<Interface>DOMImpl to avoid clashes with html
implementation classes, and import dom implementation classes directly into dart:html.
Temporary introduce fake dom interfaces for overload dispatching (dom implementation classes
don't implement html interfaces yet).

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7954 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 17:05:23 +00:00
vsm@google.com 36c948b349 Fix for postMessage on dart2js
This will unblock dromaeo

BUG=dartbug.com/3175

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7881 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 22:25:59 +00:00
antonm@google.com e165ffc778 Adjust postMessage signature.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7735 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 11:18:58 +00:00
podivilov@google.com c5a1152664 Move html events generation to domimpl.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7692 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-16 15:20:55 +00:00
antonm@google.com 60f941c87f Reapply support for new Uint8ClampedArray in dart:dom.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7356 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-05 10:15:29 +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
antonm@google.com eb256510f9 Revert last CL.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7249 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 18:00:58 +00:00
antonm@google.com 6806147c26 Supper Uint8Clamped in manually written factories.
R=podivilov@chromium.org
BUG=2791

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7247 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 17:04:24 +00:00
vsm@google.com 94344cd762 Rename getTEMPNAME to get
BUG=2584
TEST=xhr_test.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7212 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 04:20:45 +00:00
antonm@google.com c28fcff8f2 Add LayoutTestController.display method.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7133 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 13:19:33 +00:00
podivilov@google.com 119f9d56e7 Build fix: rename dom.spawnDomIsolateImpl to spawnDomIsolate.
TBR=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7130 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 12:58:40 +00:00
podivilov@google.com 09bffead91 Migrate dom tests to dart:html.
R=antonm@chromium.org,jacobr@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7076 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 12:27:53 +00:00
podivilov@google.com db43d3cc2c Generate DartDOMStringList binding.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6950 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 15:38:12 +00:00
sra@google.com f0ff872d3f Revert "Revert "Revert "Revert "Constructors for IDBKeyRange""""
Re-apply "Constructors for IDBKeyRange" with more status file changes.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6775 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 22:18:47 +00:00
sra@google.com d86ae6c3ff Revert "Revert "Revert "Constructors for IDBKeyRange"""
This reverts commit b673ffb43044b403332fbd116bfbfc371c3fdeaf.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6773 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 22:07:31 +00:00
sra@google.com 97f2aa5ed2 Revert "Revert "Constructors for IDBKeyRange""
Fix status file and missing 'native' keyword.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6772 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 21:44:18 +00:00
sra@google.com 0ad7fde830 Revert "Constructors for IDBKeyRange"
Review URL: https://chromiumcodereview.appspot.com//10142001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6771 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 21:26:55 +00:00
sra@google.com d1d09e822c Constructors for IDBKeyRange
Removed static methods on interface and replaced with constructors.

This is dom only, html to come later.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6770 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 21:05:00 +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
antonm@google.com 43e8440b4a Some additional Utils functions.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6520 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 13:31:51 +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 3cc89e4a5e Support 3-arg versions of .fromBuffer.
BUG=2362
TEST=TypedArrays2Test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6104 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 19:18:29 +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
podivilov@google.com a1a7f30d01 Adjust native field wrapper field count.
See corresponding change in WebKit: http://codereview.chromium.org/9837116/.

R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6034 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 13:39:27 +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