Alan Knight
a98388886a
Wrap DomStringList, but don't wrap DomString[] as return types
...
BUG=
Review URL: https://codereview.chromium.org/1410853005 .
2015-11-03 11:22:37 -08:00
Alan Knight
c92a2450b4
Switch dart:html objects not to be NativeFieldWrapper subclasses with JsInterop
...
BUG=
Review URL: https://codereview.chromium.org/1392723003 .
2015-10-07 17:42:39 -07:00
Alan Knight
aebb870b13
Start using the dart2js type conversions in Dartium as well.
...
BUG=
Review URL: https://codereview.chromium.org//1349293006 .
2015-09-18 12:44:36 -07:00
Terry L. Lucas
7b322c246c
Dartium JS Enabled take 2
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1348173002 .
2015-09-16 07:13:53 -07:00
Terry L. Lucas
09c804aa78
Revert "Dartium JS Interop enabled."
...
This reverts commit 403bd1698d .
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1345083002 .
2015-09-15 19:44:26 -07:00
Terry L. Lucas
403bd1698d
Dartium JS Interop enabled.
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1349493003 .
2015-09-15 17:36:47 -07:00
Terry L. Lucas
9b0d2582fc
Revert "Dartium w/ JsInterop enabled"
...
This reverts commit 346af54711 .
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1330163010 .
2015-09-09 17:33:24 -07:00
Terry L. Lucas
346af54711
Dartium w/ JsInterop enabled
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1321613005 .
2015-09-09 17:01:40 -07:00
Terry L. Lucas
012c998f64
Revert "Patched in Dartium JsInterop"
...
This reverts commit 4bb2e617db .
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1327083002 .
2015-09-08 13:35:03 -07:00
Terry L. Lucas
4bb2e617db
Patched in Dartium JsInterop
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1310363006 .
2015-09-08 12:46:41 -07:00
Terry L. Lucas
5e52d8dc5d
Updates for dart:js fixes after initial --gen-interop
...
TBR=vsm@google.com ,alanknight@google.com
Review URL: https://codereview.chromium.org//1228093007 .
2015-07-16 09:52:44 -07:00
Terry L. Lucas
cec5812335
Fixed Dictionary and Event hookup w/o --gen-interop
...
TBR=vsm@google.com
Review URL: https://codereview.chromium.org//1233083004 .
2015-07-14 14:18:48 -07:00
Terry L. Lucas
4947e570d4
Changed to use JSInterop
...
Review URL: https://codereview.chromium.org//1173403004 .
2015-07-13 12:38:16 -07:00
alanknight@google.com
5397482fcc
Make dartj2s do type conversions on constructor arguments
...
BUG=
R=terry@google.com
Review URL: https://codereview.chromium.org//1023363002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44688 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-25 17:39:49 +00:00
terry@google.com
e0fff4e457
Changes to support roll 39 IDLs
...
Reviewers=vsm@google.com ,asiva@google.com
Review URL: https://codereview.chromium.org//952133004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44099 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-27 18:10:08 +00:00
lrn@google.com
42dac4c7b4
Add some ArgumentError and RangeError constructors that capture more information.
...
Switch some uses of RangeError.range to RangeError.index.
Fix bug in Queue where elementAt allowed `length` as input.
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//711003002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41653 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 07:55:47 +00:00
leafp@google.com
be08f872c5
Redirect blink calls through instance
...
Use a singleton instance object for dispatching calls from dart:html to dart:blink to make code more resilient against changes in web idl.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//684783005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41379 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-28 23:11:51 +00:00
leafp@google.com
e7dfea4301
Stop generating dart:blink from dart scripts
...
This removes the dart:blink generation code from the dart html scripts. The _blink_dartium template is removed, and the blink_nativeDOMImplementation html_nativeDOMImplementation split is eliminated, with the code for the former in the dartium generated code, and the latter moved back to native_DOMImplementation.dart.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//680913006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41346 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 23:59:26 +00:00
leafp@google.com
78e328a2f2
More dart:html and dart:blink tweaks
...
Methods with no arguments mangled properly (python None and 0 are both false...).
Abstract classes generated from pure interfaces have no method bodies.
Add missing pure interfaces.
Emit dart:blink methods in sorted order.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//671023003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41288 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-24 17:47:14 +00:00
leafp@google.com
6de1786199
Arity indexing in dart:blink entry points
...
This CL replaces type mangling on the blink entry points with arity indexing. So overloaded methods or methods with optional arguments now dispatch to blink entries specific to their number of arguments (but not their types). This relies on C++ overload resolution being in place on the blink side (see https://codereview.chromium.org/668733002/ ). For the time being, the dart side overload resolution code is left in place.
Resolver strings now have no type or arity info as well.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//667983002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41236 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-21 20:46:55 +00:00
vsm@google.com
94095d64a2
Merge 38 changes to bleeding edge
...
TBR=terry@google.com ,leafp@google.com
BUG=
Review URL: https://codereview.chromium.org//605083004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40774 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 15:56:25 +00:00
vsm@google.com
1c4bb5f363
Revert "Chrome 38 script changes from integration branch"
...
This reverts commit r40567.
TBR=leafp@google.com
Review URL: https://codereview.chromium.org//589253002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40570 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 21:11:34 +00:00
vsm@google.com
9e25106514
Chrome 38 script changes from integration branch
...
TBR=leafp@google.com
Review URL: https://codereview.chromium.org//593853002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40567 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 20:45:57 +00:00
terry@google.com
9fa7c2cff9
Suppport DartCustom for proper native callback
...
Reviews:vsm,leafp
R=vsm@google.com
Review URL: https://codereview.chromium.org//558173002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40096 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 16:22:08 +00:00
terry@google.com
ddf659197c
Reviewers=vsm,leafp
...
Fixed emitting problems with default/optional.
R=leafp@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//551713003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40054 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 20:59:03 +00:00
leafp@google.com
8e3aaa4e75
Blink uses types in entry points
...
This CL changes the way that blink entry points are named to
use the type signature uniformly. This makes us somewhat
more robust against changes in the idl.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//552533004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40006 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 00:17:15 +00:00
leafp@google.com
445e8fda3d
Eliminate the old non blink code paths from idl generation
...
During the transition to the dart:html dart:blink split, we needed to support generating the old style and the new style. This CL eliminates the code paths for the old style generation now that they're no longer needed.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//450693005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39005 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 20:04:18 +00:00
leafp@google.com
a20d4b09d2
Remove dart:blink dependency on dart:html. This CL moves all of the
...
overload resolution (dependent on dart specific types) over to the
dart:html side, along with the type resolution maps. This is a first
step to generating dart:blink from the dartium idl. There is a paired
blink CL which switches the type map lookup from dart:blink to dart:html.
BUG=
R=jacobr@google.com
Review URL: https://codereview.chromium.org//446193002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38993 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 16:12:50 +00:00
leafp@google.com
476278985c
Refactor dart:_blink into classes to improve startup time.
...
This CL reduces the snapshot size by about 20% (580kb).
BUG=
R=jacobr@google.com
Review URL: https://codereview.chromium.org//319283003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37189 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-10 17:38:29 +00:00
jacobr@google.com
c4e40bb34d
Native method name mismatch cleanups for Dartium 36 roll.
...
BUG=
R=efortuna@google.com , leafp@google.com
Review URL: https://codereview.chromium.org//321043003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37142 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-09 22:31:05 +00:00
vsm@google.com
593f3fddf5
Revert "Revert 2 CLs to get one last Dartium 34."
...
This reapplies Jacob's CLs for Dartium 35 / 1916.
For landing after:
https://codereview.chromium.org/298823004/
R=ricow@google.com
Review URL: https://codereview.chromium.org//294043009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36419 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-21 11:13:35 +00:00
vsm@google.com
8c33955982
Revert 2 CLs to get one last Dartium 34.
...
I will re-apply these after the next trunk push.
Revert "patch from issue 294853002"
This reverts commit r36395.
Revert "Fix Path"
This reverts commit r36401.
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//295913006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36409 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-21 07:20:42 +00:00
jacobr@google.com
0b11d0040f
Fix Path
...
BUG=
Review URL: https://codereview.chromium.org//291843006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36401 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-21 00:24:43 +00:00
jacobr@google.com
19c563446e
patch from issue 294853002
...
BUG=
R=leafp@google.com
Review URL: https://codereview.chromium.org//294993002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36395 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-20 22:21:01 +00:00
leafp@google.com
6ebdf0dec9
Resolver fixes
...
BUG=
R=jacobr@google.com
Review URL: https://codereview.chromium.org//295073002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36385 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-20 21:37:35 +00:00
vsm@google.com
96b622e72d
Dartium 35: Suppress type signature on custom constructors
...
TBR=terry@google.com ,leafp@google.com
Review URL: https://codereview.chromium.org//293023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36357 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-20 14:16:42 +00:00
vsm@google.com
59bde80b10
Remove mangling for custom methods in dart:_blink
...
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//292953002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36353 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-20 12:45:12 +00:00
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
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
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
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
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