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
jacobr@google.com
4dd740e2de
Fix bug 15417
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//103933005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31032 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 18:25:41 +00:00
lrn@google.com
9923bb4916
Fix static-ness of const fields in timer.
...
Use shift instead of multiply/div. It's only running on the VM.
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//111613002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31019 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 13:06:14 +00:00
lrn@google.com
6836ea2ad8
Revert "Reduce footprint of HTML Timer by not creating a "cancel" closure."
...
This may be causing timeouts.
Committed: https://code.google.com/p/dart/source/detail?r=30986
R=floitsch@google.com
Review URL: https://codereview.chromium.org//110233002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31013 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 10:36:31 +00:00
blois@google.com
0a3b261b7c
Fixing DataTransferItemList List<> behavior
...
BUG=15056
R=efortuna@google.com
Review URL: https://codereview.chromium.org//104503007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31006 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 00:47:23 +00:00
lrn@google.com
a8fb75af2f
Revert "Reduce footprint of HTML Timer by not creating a "cancel" closure."
...
This may be causing timeouts.
Review URL: https://codereview.chromium.org//110233002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30986 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-09 13:13:09 +00:00
lrn@google.com
4abe4daf0f
Reduce footprint of HTML Timer by not creating a "cancel" closure.
...
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30982
Review URL: https://codereview.chromium.org//108213003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30984 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-09 11:39:39 +00:00
lrn@google.com
68a28094f5
Change the zone that late-added stream subscription callbacks are registered in.
...
They are always called in the subscription's zone, but they were
registered in the current zone.
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30896
Review URL: https://codereview.chromium.org//104543002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30983 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-09 11:25:29 +00:00
lrn@google.com
e36b8eb4f4
Reduce footprint of HTML Timer by not creating a "cancel" closure.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//108213003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30982 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-09 10:40:35 +00:00
jmesserly@google.com
d700bba3e4
fix custom elements that extend tags like "section"
...
Some tags don't have their own HTMLElement subclass (because they lack unique DOM properties), but it should still be possible to extend them.
R=blois@google.com
Review URL: https://codereview.chromium.org//90113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30833 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 23:46:43 +00:00
rmacnak@google.com
7ef9a46139
Remove another use of deprecated mirror API from dart:html.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//100913002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30816 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 17:47:07 +00:00
rmacnak@google.com
314da361f0
Add demangle utility to Dartium's dart:html. Demangle typedef names in UserVisibleName.
...
BUG=http://dartbug.com/14892
R=asiva@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//79023010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30636 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 18:31:20 +00:00
amouravski@google.com
275499f168
Clean up logging.conf file.
...
R=blois@google.com
Review URL: https://codereview.chromium.org//66073005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30371 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 19:30:32 +00:00
rmacnak@google.com
c146776aa4
Remove now-dead stack parsing code from Dartium's dart:html.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//75463002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30368 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 19:07:03 +00:00
amouravski@google.com
621242e4b8
Fill in blanks for Event docs.
...
Review URL: https://codereview.chromium.org//63883006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30319 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 22:17:44 +00:00
amouravski@google.com
ea80298177
Added docs to canvaselement. Giving it docs for all members.
...
Review URL: https://codereview.chromium.org//74013003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30309 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 18:55:30 +00:00
amouravski@google.com
71e4e96699
Finished off HTML Window blurb + link for every member.
...
Review URL: https://codereview.chromium.org//64553010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30307 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 18:40:56 +00:00
amouravski@google.com
8b22b0eba0
Even more docs changes.
...
Review URL: https://codereview.chromium.org//66843009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30298 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 02:20:22 +00:00
rmacnak@google.com
3ed4c8dfd7
Remove use of deprecated mirror functions from Dartium's dart:html.
...
BUG=http://dartbug.com/14931
R=vsm@google.com
Review URL: https://codereview.chromium.org//71453008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30259 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 23:50:05 +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
whesse@google.com
82c29cbb7a
Avoid regenerating unchanged bindings files for Dartium.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//69343006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30192 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 12:44:24 +00:00
amouravski@google.com
fce5971f4f
o/~ Y muchos maaaaaaas... o/~
...
Review URL: https://codereview.chromium.org//68513006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30175 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 22:10:12 +00:00
amouravski@google.com
239d152949
Way more documentation blanks filled in.
...
Review URL: https://codereview.chromium.org//66193010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30134 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-09 01:19:44 +00:00
amouravski@google.com
caea84057c
Fill in some canvas doc blanks.
...
Review URL: https://codereview.chromium.org//65703003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30082 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 23:21:50 +00:00
efortuna@google.com
581ff321fa
Properly resolve qualified names in documenation (possibly from other libraries).
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org//65403002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30073 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 21:44:54 +00:00
amouravski@google.com
82fb93d181
Update selector docs.
...
Review URL: https://codereview.chromium.org//65333002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30069 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 20:49:32 +00:00
amouravski@google.com
0501dcf90b
Fix typo parameter name.
...
querySelector and querySelectorAll should take one parameter called
"selectors" to follow along with the spec.
R=efortuna@google.com
Review URL: https://codereview.chromium.org//65183003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30068 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 20:34:29 +00:00
whesse@google.com
e7afc18bb9
Print more information when Dartium IDL bindings processing fails during build.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//63173005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30053 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 16:00:25 +00:00
iposva@google.com
d27c33b5b2
- Reverting mirror changes.
...
Review URL: https://codereview.chromium.org//61873007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30028 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:57:18 +00:00
rmacnak@google.com
c3cf0dde46
Fix some users of removed mirror API.
...
R=gbracha@google.com , jmesserly@google.com
Review URL: https://codereview.chromium.org//63483002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30016 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 00:24:53 +00:00
amouravski@google.com
5b034362b2
Updated with comments from kathyw.
...
Review URL: https://codereview.chromium.org//61593005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29996 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 21:09:59 +00:00
amouravski@google.com
11c6fce3d9
Even more docs, filling in many of the gaps.
...
Review URL: https://codereview.chromium.org//62703002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29993 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 20:39:27 +00:00
amouravski@google.com
016d5cd0fd
Updated some more documentation to be more clear.
...
Review URL: https://codereview.chromium.org//62023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29975 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 14:28:47 +00:00
amouravski@google.com
28317f520c
Update CanvasImageSource docs to better reflect proper style.
...
Review URL: https://codereview.chromium.org//61263003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29948 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 00:24:45 +00:00
amouravski@google.com
57c3e7f9d2
A few more Element method docs.
...
Review URL: https://codereview.chromium.org//60563002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29922 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 18:24:42 +00:00
amouravski@google.com
3e9937eae4
More Element method docs.
...
Review URL: https://codereview.chromium.org//56533006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29844 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 21:08:05 +00:00
floitsch@google.com
5375bc79ad
Remove SendPortSync and ReceivePortSync.
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//56153005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29778 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 23:13:21 +00:00
blois@google.com
768e147559
Fixing comment constructor not functioning on IE
...
BUG=13943
R=efortuna@google.com
Review URL: https://codereview.chromium.org//56603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29777 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 22:45:11 +00:00
amouravski@google.com
e4c863e338
Added even more documentation to Element.
...
Review URL: https://codereview.chromium.org//56533002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29774 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 22:10:34 +00:00
blois@google.com
cb0fa66a9b
Fixing BeforeUnloadEvent.returnValue
...
This is an update of https://codereview.chromium.org/54913005/ which was failing on the Dartium bots.
Original is patch #1 , fix is #2 (re-ordering the parts in html_dartium).
Issue with the original appears to be that parts have some order-dependency in the VM when executing with --error_on_bad_type, which is used in snapshotting.
Opened bug https://code.google.com/p/dart/issues/detail?id=14721
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//55903004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29766 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 19:53:45 +00:00
amouravski@google.com
a1efaac69c
Added links and blurb for drag stuff.
...
Review URL: https://codereview.chromium.org//56423002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29764 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 18:54:47 +00:00
amouravski@google.com
37947804ca
Added helpful information on all event getters and static members.
...
R=blois@google.com
Review URL: https://codereview.chromium.org//46143004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29755 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:59:07 +00:00
blois@google.com
7046fc201e
Revert "Fixing the BeforeUnloadEvent"
...
Causing problems with build on Dartium:
class _CustomEventStreamImpl<T extends Event> extends Stream<T>
^
'file:///mnt/data/b/build/slave/dartium-lucid32-full-be/build/src/dart/tools/dom/src/EventStreamProvider.dart': Error: line 334 pos 41: type '_CustomEventStreamImpl<KeyEvent>' has an out of bound type argument
class _CustomKeyEventStreamImpl extends _CustomEventStreamImpl<KeyEvent>
TBR
BUG=
Review URL: https://codereview.chromium.org//54923006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29754 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:37:33 +00:00
blois@google.com
a948d4384a
Fixing the BeforeUnloadEvent
...
Basically the last Blink upgrade introduced the BeforeUnloadEvent which conflicted with our previous polyfill. Our definition was removed, but the suppression remained for Event.returnValue.
The suppression is still needed since that's the incorrect type and on the wrong class, so I modified our metadata lookup to allow it to only target exact class matches (and not super classes).
BUG=
R=efortuna@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//54913005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29752 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:17:38 +00:00
amouravski@google.com
fb475209a8
Reproducing changes from https://chromiumcodereview.appspot.com/23556009/
...
Review URL: https://codereview.chromium.org//54183007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29709 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 22:13:43 +00:00
sgjesse@google.com
c38de04d0c
Change dart:io Platform.script to return a Uri.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//46063010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29651 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:29:01 +00:00
whesse@google.com
4f08151090
Revert "Change dart:io Platform.script to return a Uri."
...
This reverts r29619 and r29624. The changes look fine on the buildbot,
but need review before adding to the repository.
BUG=
TBR=sgjesse@google.com
Review URL: https://codereview.chromium.org//52723007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29627 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:17:37 +00:00