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
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
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
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
jacobr@google.com
1ea29a21d7
Fixes for Chrome 34 merge
...
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//204033002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34069 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 22:08:44 +00:00
leafp@google.com
6370348c37
Script changes for ChangeXXX -> Change=XXX
...
Move CustomSetter to Custom=Setter in dart.idl
BUG=17248
R=vsm@google.com
Review URL: https://codereview.chromium.org//187693008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33359 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 00:17:12 +00:00
efortuna@google.com
7acd2cc7c7
Revert all html warning changes.
...
For the sake of ease of cherry-picking, I'm going to back this change out to
apply all at once, once I fix this postMessage test failure on Dartium.
BUG=
Review URL: https://codereview.chromium.org//160963004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32630 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 22:12:18 +00:00
efortuna@google.com
9f1b31b001
Fix more warnings for dart:html.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//153823007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32618 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 20:12:09 +00:00
vsm@google.com
ad353d440b
Fixes for 1750 roll
...
TBR=jacobr@google.com
Review URL: https://codereview.chromium.org//150783005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32477 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 01:38:01 +00:00
asiva@google.com
d3eb344f08
Do not generate code to create a CallStack in the ConsoleBase calls as that
...
variable is not used at all.
R=jacobr@google.com
Review URL: https://codereview.chromium.org//153183002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32265 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 22:47:46 +00:00
asiva@google.com
7ea7adfe16
Add more functions to the list of leaf functions which do not need an
...
auto generated dart scope. Resulting improvements in the Dromaeo benchmarks
getAttribute 1072.0 1529.0
element_property_access 1304.0 1987.0
setAttribute 305.38922155688624 422.1556886227545
element_property_assignment 509.4905094905095 668.0
getElementById 1012.0 1523.0
getElementById (not in document) 2440.0 3279.0
getElementsByTagName(div) 119232.0 155037.0
getElementsByTagName(p) 109280.0 148015.0
getElementsByTagName(a) 119869.0 156460.0
getElementsByTagName(*) 114050.0 146375.0
getElementsByTagName (not in document) 172848.0 238313.0
getElementsByName 1356.0 1724.0
getElementsByName (not in document) 2657.0 2891.0
R=rmacnak@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//113743003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31582 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 21:48:17 +00:00
vsm@google.com
6994ac20bb
Fix compile warning on mac
...
Chrome 32 flags appear to be stricter.
TBR=asiva@google.com
Review URL: https://codereview.chromium.org//115523003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31493 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 18:01:32 +00:00
vsm@google.com
5e3937addf
Changes for Chrome 32
...
Once we're ready to switch ... some paths have changed from 31.
R=jacobr@google.com
Review URL: https://codereview.chromium.org//93933014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31486 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 17:12:25 +00:00
asiva@google.com
1f9f8ecf7a
- Setup infrastructure to white list some native methods as not requiring
...
auto setup of Dart API scopes
- List some functions in the list to check out the infrastructure. Performance
gains from listing these:
firstChild 222.33 to 309.6903096903097
lastChild 217.56 to 306.0
nextSibling 363.00 to 514.0
previousSibling 357.64 to 506.0
nextSiblingDynamic 348.01 to 511.0
childNodes 309.38 to 444.5554445554446
R=rmacnak@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//119543002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31342 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 19:02:04 +00:00
asiva@google.com
3b1902e54a
Add auto scope setup parameter to the native resolvers in preparation for
...
https://codereview.chromium.org/117723002/
R=vsm@google.com
Review URL: https://codereview.chromium.org//113913010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31287 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 17:48:14 +00:00
rmacnak@google.com
b149db19e3
Changes to generated code for templatized DartDOMWrapper::lookupWrapper.
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//100923004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31050 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 00:21:46 +00:00
asiva@google.com
dd18f8d84f
Change generator to pass in domData in calls to createWrapper.
...
R=rmacnak@google.com
Review URL: https://codereview.chromium.org//110513002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31034 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 18:36:10 +00:00
whesse@google.com
7010c7b798
Don't write generated C++ bindings twice, only once.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//70453002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30198 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 17:16:17 +00:00
jacobr@google.com
fa8b243f62
Add JsArray
...
BUG=
R=jacobr@google.com
Review URL: https://codereview.chromium.org//41163005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29393 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 20:46:36 +00:00