Commit Graph

1657 Commits

Author SHA1 Message Date
jacobr@google.com 59785a2e0a Rename some classes where names changed for 1916
BUG=
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36338 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 23:19:05 +00:00
leafp@google.com 2115a4ffa8 Add additional constructor renames
Fixed native_DOMImplementation resolver strings

BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36336 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 23:07:51 +00:00
leafp@google.com 23e2bc42a1 Add explicit resolver string map to dart:html generator
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36328 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 21:32:29 +00:00
leafp@google.com 1828e5c693 Roll back explicit cross frame object until M35 lands
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36323 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 20:58:06 +00:00
leafp@google.com 93eec7ba80 Make custom constructors use uniform resolvers
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36273 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-16 20:18:09 +00:00
leafp@google.com 2adf307b27 Fix custom constructor bindings
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36259 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-16 16:52:53 +00:00
leafp@google.com 33f2e85e12 Bindings fixes
TBR=jacobr@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36252 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-16 00:32:19 +00:00
leafp@google.com 27751f8cf1 More native binding match up fixes
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36251 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-16 00:02:18 +00:00
leafp@google.com a80f7bb4a4 Fix native bindings in _blink
TBR=jacobr@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36249 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-15 22:19:10 +00:00
leafp@google.com 0025a295d7 Make resolver strings match up better
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36244 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-15 21:48:14 +00:00
jacobr@google.com 63a67b68d1 Check for Dartium 35 string indicating that an eval call occurs on the console.
BUG=
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36231 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-15 17:14:34 +00:00
leafp@google.com 640ad70e58 Canonicalize dart:_blink resolver names
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36196 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 23:27:59 +00:00
efortuna@google.com 2a9588d03d Reapply "Fix analyzer errors in html Dartium."
BUG=
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36195 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 23:09:04 +00:00
efortuna@google.com 462ca6ea1e "Reverting 36191"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36193 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 22:23:07 +00:00
efortuna@google.com 78a040990d Fix analyzer errors in html Dartium.
BUG=
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36191 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 21:54:38 +00:00
vsm@google.com b8464a3dde Suppress cloning EventTarget methods in subtypes when using blink
I have an forthcoming Blink CL to safely cast to EventTarget*.

Not sure this is the right path long term.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36166 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 13:46:10 +00:00
vsm@google.com 4b52765d4e Add builtin types to the blink type map
TBR=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36161 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 12:19:55 +00:00
vsm@google.com d1003c11f6 Show web_audio type map
This was throwing as the symbol wasn't available in _getType.

TBR=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36155 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 11:07:02 +00:00
efortuna@google.com 0e1022a6f7 Make fill parameter in context2d default to 'nonzero' as per the spec.
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36134 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-13 21:04:17 +00:00
vsm@google.com 7f7635fa5c Add type maps from blink name to html name
TBR=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36107 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-13 15:48:29 +00:00
efortuna@google.com c0235e93ab "Reverting 36054"
TBR

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36071 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-12 21:17:14 +00:00
efortuna@google.com 4599791901 Make fill parameter default to empty String.
BUG=
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36054 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-12 19:30:48 +00:00
efortuna@google.com 4862f5b718 Fix DataTransfer object for Drag and Drop in Chrome 35.
Fix for https://code.google.com/p/dart/issues/detail?id=18664

BUG=
R=cbracken@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35873 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-07 22:35:26 +00:00
jmesserly@google.com 1102849f15 [dart:html] rename register to registerElement per spec
BUG= https://code.google.com/p/dart/issues/detail?id=18621
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35829 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-06 20:41:07 +00:00
asiva@google.com a0ad457bd8 Set up some of the webgl native functions as leaf calls
(Note: We need a better way of doing this, maybe some way of specifying
this in the IDL itself)

The webgl bindings benchmark score goes up from 363 to 473

R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35717 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-02 23:17:26 +00:00
jmesserly@google.com 459738a631 [dart:html] rename custom elements callbacks to match spec
Dartium side is forthcoming. Tests still using attached/detached until we have it in Dartium.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35673 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-02 00:22:09 +00:00
blois@google.com d72ebc7af3 Fix for bug 18596- analyzer warning in dart:html under Dartium
BUG=18596
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35671 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-01 23:52:11 +00:00
leafp@google.com 333cd2ad67 MediaStream/Source fix
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35667 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-01 23:02:26 +00:00
leafp@google.com d1f0594840 Initial overloading implementation in _blink
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35662 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-01 22:03:06 +00:00
vsm@google.com 201fc559bf Provide table of wrapper types for dart:blink
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35502 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-28 22:12:03 +00:00
leafp@google.com 970367e227 Rename blink -> _blink
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35499 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-28 21:56:19 +00:00
leafp@google.com 36a629367e Generate dart:blink in the SDK
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35439 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-25 18:29:01 +00:00
leafp@google.com 5e0688e1ec This CL contains all of the changes for splitting off all of the native
calls from dart:html into dart:blink.  As currently configured, the
dart:blink library will be empty and unused.  The only changes in the
idl generated dart and C++ code in the default configuration should
be cosmetic.  The global variable "dart_use_blink" in systemnative.py
currently controls whether or not the real blink library is
generated.  Enabling this requires as yet unchecked in changes to
blink.  These changes are expected to land as part of the chrome
35 roll.

Support for building with/without blink
DOM changes for checked receivers
Dartium native call generation refactor

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35430 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-25 16:22:08 +00:00
blois@google.com edf9910602 Re-apply "Adding a mechanism to 'upgrade' the Dart type of elements"
With fixes for:
- Expected analyzer static error in the unittest.
- Added browser/interop.js to the HTML file

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35080 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-15 20:50:46 +00:00
blois@google.com fd6f27f790 Exposing Node.baseURL
Polymer uses it quite a bit, seems like Dart should expose it. It's primarily useful in Polymer because with HTMLImports it's easy to load content with different base URIs.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35041 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-14 21:37:51 +00:00
sra@google.com 47f25a390c Validate native tags
Fix dart:html problem where tag is used by two classes.  (Current IDL now has correct inheritance.)

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34990 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 19:42:04 +00:00
sra@google.com 022ab4f64f Remove _LocationWrapper
Use dispatch tags to avoid touching Location.prototype instead of wrapping.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34946 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-10 21:45:40 +00:00
asiva@google.com 98ba7c124a Refactor the class id generation code a bit to make it possible to have toActiveDOMObject, ToEventTarget and toNode functions for each webkit type.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34840 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 20:27:57 +00:00
efortuna@google.com bce070e7cc Change HtmlCollection to appear as List<Node> and getElementsByX return ListNode|HtmlCollection (depending on browser).
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34799 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 22:22:55 +00:00
blois@google.com 2596425027 Fix for bug 14923
Make sure that completeError is not called with null.

BUG=14923
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34797 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 21:19:10 +00:00
blois@google.com b4a3e6ced6 Revert "Adding a mechanism to 'upgrade' the Dart type of elements"
This reverts commit 34615 because it's breaking some bots (not sure why).

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34622 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-01 22:59:54 +00:00
blois@google.com 0e64dc971c Adding a mechanism to 'upgrade' the Dart type of elements
This is to allow custom Dart wrappers for Polymer elements to provide improved JS custom element integration.

The Dartium portion of this is at https://codereview.chromium.org/188083002

BUG=
R=jmesserly@google.com, sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34615 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-01 20:17:31 +00:00
vsm@google.com 1a9d688491 Re-enable a couple events
This is need to get https://chromiumcodereview.appspot.com/221233005/ to link.

R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34609 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-01 18:50:27 +00:00
asiva@google.com 2dd7dcecb9 Remove one version of DartDOMWrapper::createWrapper and have all call sites
directly call the class id version

R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34599 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-01 15:00:42 +00:00
blois@google.com c163cc3524 Speeding up ElementList.clear & NodeList.clear.
Changes elements.clear() to no longer remove nodes- but this seems like the correct behavior.

Can use the nodes.clear() logic for elements if not.

BUG=17892
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34532 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-28 22:16:38 +00:00
vsm@google.com 8f11ff5abd Strip out gcc preprocessor support
Blink IDL no longer uses #if-style syntax for enabling features.

R=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34447 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-26 20:22:00 +00:00
vsm@google.com adcaea49a4 Restore these deprecated types for now
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34404 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-26 03:16:47 +00:00
vsm@google.com a1f53ce2c0 Remove queryUsageAndQuota API
This is gone in Chrome 34.  It's breaking the dart2js analyze_api test.

TBR'ing to get the bots green.

TBR=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34376 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-25 18:06:31 +00:00
vsm@google.com 8231c546a1 spawnDomUri stub for dart2js
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34370 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-25 16:54:54 +00:00
vsm@google.com 1192f128cf Regenerate dart:html for dart2js using Chrome 34 IDL
(This is just a go.sh run.)

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34368 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-25 16:29:24 +00:00