Commit Graph

1657 Commits

Author SHA1 Message Date
vsm@google.com cc032b9f80 Native entry point for spawnDomUri
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34337 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-24 21:56:40 +00:00
jacobr@google.com dbe9034387 Update dart:html/svg/etc files to reflect chrome34 idl changes.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34193 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 18:37:58 +00:00
vsm@google.com 52bf6601e4 Fix idlsync.py script to update IDL under Dart's third_party/WebCore.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34171 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 15:15:16 +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
sra@google.com d60b4be6bd Make the safe Console singleton be const
Partly addresses http://dartbug.com/17508

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34052 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 19:15:06 +00:00
efortuna@google.com 246a1af1e5 Mark addEventListeners as Unsupported when called for cross-frame window actions.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33615 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-12 21:24:14 +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
sra@google.com 246f07b5c8 Fix for FileReader.readAsArrayBuffer http://dartbug.com/17058
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33048 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-26 00:31:05 +00:00
blois@google.com 3550d8fadd Speeding up go.sh
Primary issue was resolving the media events (over and over and over). Tried to cache all resolved events but ran into complications with dart2js suppressions.

Takes it down to ~12-15s on my machine.

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32812 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 19:35:41 +00:00
efortuna@google.com 6649031aa6 Improve KeyEvent documentation.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32762 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 21:07:29 +00:00
lrn@google.com e314fc2671 Make Rectangle and MutableRectangle constructors handle negative lengths.
Now handles negative width/height so that it's equivalent to
   new Rectangle.fromPoints(new Point(left, top),
                            new Point(left + width, top + height))

BUG= http://dartbug.com/16167
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32736 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 10:12:23 +00:00
efortuna@google.com 4bf8e46dcc Remove the html warnings!
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32678 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 22:23:21 +00:00
efortuna@google.com f91b102ccb "Reverting 32641"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32642 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 05:52:21 +00:00
efortuna@google.com c1e36a1efe Reapply "remove html warnings."
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32641 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 01:43:25 +00:00
sethladd@google.com 763918f8df Additions to HttpRequest docs
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32635 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:58:13 +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
blois@google.com 8ef5a1d18b Adding supported check for HTML imports.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32626 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 21:48:07 +00:00
efortuna@google.com 450ed203ff Add back DocumentType error so that Dartium can build.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32625 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 21:32:19 +00:00
jacobr@google.com e9bcf2ddca Make the Dart code generators handle the Image constructor specified in the IDL without crashing or generating multiple constructors.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32621 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 20:47:13 +00:00
efortuna@google.com dd29511add Fix analyzer test failure.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32619 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 20:37:53 +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
blois@google.com bff7179948 Fixing issues from IDL upgrade
* CustomElement update to match new Element syntax fixes analyzer issue
* Document.createTreeWalker/createNodeIterator change to pass in last argument for IE11.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32513 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 19:39:50 +00:00
blois@google.com 9407a9ded2 Updating IDL files from Chrome roll.
Fixes include IDB conversion changes & NodeWalker & TreeIterator.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32508 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 18:26:58 +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
efortuna@google.com 0bfe426f18 Revert "Fix more warnings for dart:html". Appears to be causing dartium failures.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32408 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 07:56:06 +00:00
efortuna@google.com 6805a7850a Fix MOAR warnings for dart:html.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32403 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 02:20:25 +00:00
dgrove@google.com 6eaf449c1c Restore docs.json, which is used in the Dartium build process.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32401 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 01:35:54 +00:00
kevmoo@google.com b565b6296f pkg/unittest: Run tests in zones
Added a changelog to unittest
Deprecated a number of methods made extraneous by zone change
Fixed related issues in html and html tests

BUG= https://code.google.com/p/dart/issues/detail?id=13277
BUG= https://code.google.com/p/dart/issues/detail?id=16541
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32400 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 01:34:20 +00:00
dgrove@google.com ed59ab7a67 Remove more tests which depend on dartdoc, which has been deleted.
Review URL: https://codereview.chromium.org//156903004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32393 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 23:41:13 +00:00
efortuna@google.com 5f3f5b9631 First pass at cleaning up html lib warnings from the analyzer.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32377 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 19:12:28 +00:00
jmesserly@google.com 6d319d8cc9 move workaround from CE polyfill to custom elements createdCallback
github changes: https://github.com/dart-lang/CustomElements/pull/5

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32307 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-05 04:15:35 +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
johnniwinther@google.com 7b52480b56 Align source mirrors with runtime mirrors.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32195 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 14:15:26 +00:00
jmesserly@google.com 0f277224e8 update custom elements and shadow dom
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32171 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 20:56:22 +00:00
sra@google.com 9f09fcbaac Redo "Make dart2js typed_data implementation classes private"
This time with analyzer suppression for new library/

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31935 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-17 23:01:26 +00:00
sra@google.com 9ceaef9d73 Revert "Redo "Make dart2js typed_data implementation classes private""
Revert while I figure out the correct analyzer suppression.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31933 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-17 21:54:18 +00:00
sra@google.com 42b1721927 Redo "Make dart2js typed_data implementation classes private"
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31930 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-17 21:08:40 +00:00
blois@google.com 192df7e88b Fixing TouchEvent.supported
It was reporting as not being supported because there's no Window.ontouch, but the constructor is now working.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31907 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-17 02:49:43 +00:00
blois@google.com 93b7001172 Making readonly fields on interfaces be readonly
This will be causing compilation warnings once https://codereview.chromium.org/140803002 is landed.

BUG=16105
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31892 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 18:13:48 +00:00
lrn@google.com 3b3e87cabc Revert "Rename internal library dart:_collection-dev to dart:_internal."
Dartium needs updating too.

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

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31877 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 12:06:38 +00:00
sra@google.com 8ffab76c82 Revert "Redo "Make dart2js typed_data implementation classes private""
Review URL: https://codereview.chromium.org//140543002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31866 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 05:03:02 +00:00
sra@google.com 83ae5cfabf Redo "Make dart2js typed_data implementation classes private"
The main library is now private, with the user visible library as small re-export library.

R=blois@google.com, floitsch@google.com, johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31865 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 04:27:50 +00:00
lrn@google.com ead87f47e9 Revert "Rename internal library dart:_collection-dev to dart:_internal."
Dartium needs updating too.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31827 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 12:27:44 +00:00
lrn@google.com 0098710559 Rename internal library dart:_collection-dev to dart:_internal.
BUG= http://dartbug.com/14140
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31823 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 09:24:46 +00:00
vsm@google.com e86b75260b Add special case templates to handle Global/WindowEventHandlers
TBR=blois@google.com

BUG=15954

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31714 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 21:59:38 +00:00
vsm@google.com eebdf4ccf9 Revert "Revert "Revert "Fix dart2js type warnings"""
Hitting layout test failures in Dartium now....

TBR=blois@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31702 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 19:27:09 +00:00
vsm@google.com f236af9969 Revert "Revert "Fix dart2js type warnings""
Retrying with a fix.  Patch 1 is initial change.

BUG=15954
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31699 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 19:00:03 +00:00
blois@google.com 1820da3a53 Fixing Window.animationFrame timing issue
Was using async completer which changes the timing.

Additional Dartium changes are from https://codereview.chromium.org//111613002 which did not re-gen the Dartium file.

BUG=15848
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31590 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 23:33:46 +00:00
vsm@google.com 0a7a4e8646 Revert "Fix dart2js type warnings"
This is breaking the Dartium build.  Will investigate and hopefully resubmit.

TBR=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31588 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 23:13:20 +00:00
vsm@google.com 5755d7d28a Fix dart2js type warnings
This should fix the errors reported here:

http://chromegw.corp.google.com/i/client.dart/builders/dart2js-linux-release-checked-5-5-be/builds/2126/steps/dart2js_unit%20tests%20--checked/logs/stdio

Should we make these types private?

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31587 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 22:49:38 +00:00