Commit Graph

563 Commits

Author SHA1 Message Date
rmacnak@google.com f310862906 Revert "Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises."
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41138 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 02:54:14 +00:00
rmacnak@google.com 5178314123 Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41136 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 01:17:45 +00:00
vsm@google.com 8a39ccb8df Fix for web_gl statics
This was fixed on trunk / 1.7 separately.  Here's the same for bleeding_edge:

BUG=https://code.google.com/p/dart/issues/detail?id=21173
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41045 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-10 16:40:01 +00:00
terry@google.com 905ee314e0 Starting cleanup
Reviewers=vsm@google.com,leafp@google.com

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40784 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 20:11:59 +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
terry@google.com 5e96fad938 Fixing treeshaking problem with 37 roll
Reviewers=vsm@google.com, sra@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40665 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-25 02:40:36 +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 42a229cbb7 Fixed removing of pure interface (implements) operations
Reviewers:vsm@google.com,leafp@google.com

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40227 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 23:50:35 +00:00
vsm@google.com e379d380bc Migrate to Chrome 37 IDL
This enables terry's new scripts with fixes from vsm and leafp (tested in the dartium_integration branch).

R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40219 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 21:18:06 +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
terry@google.com ecceb75d35 Begin hookup of Blink IDL parser for dart:* libraries.
BUG=
R=vsm@google.com

Committed: https://code.google.com/p/dart/source/detail?r=39948

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40026 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 13:18:24 +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
terry@google.com ac72bce2f1 "Reverting 39948"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39999 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 20:58:19 +00:00
terry@google.com cf0c6a3565 Begin hookup of Blink IDL parser for dart:* libraries.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39948 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 02:33:50 +00:00
vsm@google.com c67d8ea77f Update idlsync to pull in bindings python scripts
R=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39830 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 20:24:54 +00:00
leafp@google.com 61fe00cb78 Round Touch attributes back to int for backwards compatibility
Most of the attributes in the Touch interface (clientX/Y, screenX/Y, pageX/Y, webkitRadiusX/Y) have changed to use double instead of int.  Since we are generating dart:html from old idl, this immediately breaks for us as soon as these are used.  This CL wraps calls to these with a round to retain the old API.

BUG=http://dartbug.com/20587
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39426 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-20 20:29:36 +00:00
efortuna@google.com 7cbe70fb2c Deprecate MouseEvent.elementTo and elementFrom since they have the same
functionality as relatedTarget.

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39050 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 21:07:24 +00:00
efortuna@google.com 43063f3ad8 Do regular expression for camelCase CSS processing in JS.
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39018 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 00:50:20 +00:00
efortuna@google.com 672bb377bc Make camelcasing use a regular expression for CSS properties.
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39012 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 23:00:52 +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
efortuna@google.com b8ab793a1b Reapply 38999. Third time's the charm! The issue was supportsTransitions was a
static method,and with my change I was calling an instance method. I've tested
all of the other html tests (before I was just testing on Dartium).

BUG=
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39003 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 18:36:23 +00:00
efortuna@google.com c8d48f89a9 t cl dcommi# Enter a description of the change.
"Reverting 38998"
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38999 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 17:50:26 +00:00
efortuna@google.com c7dd285314 Reapplication of revision 38996 (dart side edits to make CSS Properties
accessible with and without prefixes), with the addition of CSSPropertyNames.in
which will be deleted once https://codereview.chromium.org/444453006/
is committed.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38998 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 17:21:06 +00:00
efortuna@google.com ceea5ab278 "Reverting 38996"
TBR because we need CSSPropertyNames.in from DEPS

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38997 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 17:12:12 +00:00
efortuna@google.com 19c379afd9 This is the dart side edits to make this happen.
Fix for https://code.google.com/p/dart/issues/detail?id=19932

BUG=
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38996 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 17:09:40 +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
vsm@google.com 3aff966aa6 Fix broken FileReader API in _blink_dartium
TBR=leafp@google.com,terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38926 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 11:27:47 +00:00
whesse@google.com 4b9def5115 Fix merge problems in r38573, a cleanup of build scripts.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38574 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 12:47:48 +00:00
sra@google.com 7516e95066 Redo "Use @Native annotation on dart2js DOM native classes"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38488 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 04:27:48 +00:00
sra@google.com 9a4f73207e Revert "Use @Native annotation on dart2js DOM native classes"
TBR=blois@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38486 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 01:44:13 +00:00
sra@google.com 11a19d95be Use @Native annotation on dart2js DOM native classes
This is one of many steps to removing non-standard syntax from the dart2js libraries.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38484 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 00:23:17 +00:00
efortuna@google.com 8e07c04649 Update supported browser annotations for Firefox Web Audio.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38244 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 18:06:35 +00:00
efortuna@google.com 51dbc85367 Fix allow DOMRectList as well as ClientRectList.
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38171 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-11 20:56:58 +00:00
efortuna@google.com e0672a319d Add ClipboardEvent for Firefox.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38138 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-10 22:34:07 +00:00
leafp@google.com 851e41a408 Fix overloading for IDBDatabase transaction
Use the underlying dart implementation class in overloading resolution
checks, rather than the dart interface which is presented to the
user.  This resolves an issue with IDBDatabase in which DOMStringList
and sequence<DOMString> have the same Dart interface type
(List<String>), even though the underlying implementation types differ
(List<String> vs DomStringList).

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37883 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-01 17:24:47 +00:00
efortuna@google.com c5327131d8 Deal with ImputEvent in Firefox.
BUG=
R=blois@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37838 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-30 22:07:09 +00:00
vsm@google.com 5267857888 Modify blink type map to finalize lazily
Ivan suggested altering our type maps to add a level of indirection - to avoid eagerly finalizing all classes.

Siva: not sure how you're instrumenting startup - can you test this out?

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37222 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-11 05:48:33 +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 5fc33c9533 Deprecate ShadowRoot.applyAuthorStyles
This is gone in Chrome 36 as well.

TBR=blois@google.com,jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36634 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 12:33:58 +00:00
vsm@google.com c36c9df390 Change Element offset/client/scroll attributes to be num instead of int
Note, these attributes have changed from int to double in Chrome 36. On Dartium, this breaks us in checked mode. Unfortunately, I cannot easily change the dart.idl to mark these as double - that will break Chrome 34 and 35.

For now, I need custom code to mark these as num. We need a better solution.

TBR=blois@google.com,jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36627 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 10:49:31 +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