floitsch@google.com
0672317bec
Remove deprecated mappedBy.
...
Committed: https://code.google.com/p/dart/source/detail?r=18575
Reverted: http://code.google.com/p/dart/source/detail?r=18576
Review URL: https://codereview.chromium.org//12212213
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18579 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:57:18 +00:00
floitsch@google.com
ad839e6957
Revert "Remove deprecated mappedBy."
...
This reverts commit 18575.
Review URL: https://codereview.chromium.org//12207205
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18576 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:23:22 +00:00
floitsch@google.com
b37100770b
Remove deprecated mappedBy.
...
Review URL: https://codereview.chromium.org//12212213
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18575 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:18:17 +00:00
lrn@google.com
349cd9eae0
Add unmodifiable list view.
...
Avoid using list.take(list.length), which no longer gives a list.
Review URL: https://codereview.chromium.org//12259045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18572 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 12:42:27 +00:00
lrn@google.com
b7f36d0d11
Make List.skip, List.take and List.reversed return Iterables, not Lists.
...
Removes ListView. It was premature optimization to have classes that combined any sequence of reverse, skip and take instead of just wrapping iterables.
Review URL: https://codereview.chromium.org//12262037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18570 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 10:43:21 +00:00
efortuna@google.com
d7057b2d8c
Reapply setTimeout change.
...
This CL is identical to 18555. The reason it will work now is the corresponding
dartium change has been checked in.
TBR-blois
BUG=
Review URL: https://codereview.chromium.org//12254046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18562 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 07:40:51 +00:00
kustermann@google.com
6e15e3eff7
Revert "Reapply remove setTimeout, take 3."
...
Review URL: https://codereview.chromium.org//12207198
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18559 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 04:25:18 +00:00
efortuna@google.com
adf0fadd0d
Reapply remove setTimeout, take 3.
...
BUG=
Review URL: https://codereview.chromium.org//12259037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18555 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 02:42:13 +00:00
blois@google.com
fd2c1cbf89
Adding supported checks and flags to FormData
...
Also fixing the test to pass on IE10.
BUG=4793
Review URL: https://codereview.chromium.org//12230033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18554 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 02:23:52 +00:00
blois@google.com
8123bf9175
Fixing node.nodes.addAll to accept node lists.
...
Had two options- change the iterators or do a defensive copy. I believe this is a fairly performance-critical area, so tried to optimize for that.
BUG=6684
Review URL: https://codereview.chromium.org//12271004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18545 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 22:07:05 +00:00
efortuna@google.com
2b86a542a3
"Reverting 18531"
...
BUG=
Review URL: https://codereview.chromium.org//12212200
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18542 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 21:33:33 +00:00
blois@google.com
87867a746c
Fixing DOM's EventStream.isBroadcast
...
BUG=8457
Review URL: https://codereview.chromium.org//12263046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18541 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 21:30:31 +00:00
blois@google.com
432aa0994c
Renaming Element.dataAttributes to Element.dataset.
...
Element.dataset is the DOM version of the API, so we should have ours named the same.
Opened bug #8545 that we should optimize Element.dataset to use the native functionality if present.
BUG=5963
Review URL: https://codereview.chromium.org//12262048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18533 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:12:38 +00:00
efortuna@google.com
8da959b722
Reapply remove setInterval.
...
BUG=
Review URL: https://codereview.chromium.org//12253011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18531 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:08:45 +00:00
blois@google.com
1c3fc640c9
Adding monitoring to a number of DOM generation scripts.
...
Also fixing a bunch of issues uncovered.
BUG=
Review URL: https://codereview.chromium.org//12252019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18499 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 00:43:30 +00:00
blois@google.com
b4fa823142
Updating Element.scrollIntoView to be platform independent.
...
BUG=
Review URL: https://codereview.chromium.org//12226129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18498 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 00:40:03 +00:00
johnmccutchan@google.com
9fb0984c9d
SSE Assembler + Linux build fixes
...
Review URL: https://codereview.chromium.org//12223115
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18493 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 23:05:17 +00:00
blois@google.com
5871625004
Adding the ability for the test server to listen on non-loopback addrs.
...
BUG=
Review URL: https://codereview.chromium.org//12220068
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18489 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 22:27:30 +00:00
blois@google.com
cb8af97da5
Fixing IndexedDB Dartium Checked Mode tests
...
A type check for the Stream<Cursor> was failing on Dartium. Basically the helper method is intended to work for both Cursor and CursorWithValue, but it was creating a StreamController<Cursor>. Just removed the type so it works acceptably with both.
BUG=
Review URL: https://codereview.chromium.org//12258022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18486 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 21:55:25 +00:00
vsm@google.com
fbe58ddefc
Import chrome idl into third_party
...
This is the result of:
./idlsync -u all
in tools/dom/scripts.
This also includes a simple script fix suggested by Anton.
TBR=antonm
Review URL: https://codereview.chromium.org//12261015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18483 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 21:14:39 +00:00
efortuna@google.com
3b0c52f47f
Reverting setTimeout removal.
...
BUG=
Review URL: https://codereview.chromium.org//12258020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18478 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 21:06:31 +00:00
blois@google.com
8eb3de4f72
Fixing Indexed DB's CursorWithValue.value
...
CursorWithValue.value was not getting converted from a JS type to a Dart type.
BUG=8254
Review URL: https://codereview.chromium.org//12226134
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18476 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 20:50:12 +00:00
efortuna@google.com
71a32af213
Combine window.setTimeout/setInterval with Timer and Timer.repeating. Also
...
Stream-and-future-ified some of the Window methods that used to take callbacks.
BUG=
Review URL: https://codereview.chromium.org//12218131
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18475 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 20:32:30 +00:00
blois@google.com
a5b027f79b
Fixing Dartium from events removal.
...
Missed a second arg which was lingering on the window.on[].listen call.
BUG=
Review URL: https://codereview.chromium.org//12212167
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18473 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 19:53:44 +00:00
vsm@google.com
1e2dc5828f
Refactor idlsync.py to update chrome apps idl/tools.
...
Note, by default, idlsync.py will only update webkit IDL. Use:
idlsync.py -u chrome
to update chrome only or:
idlsync.py -u all
to update both.
Sasha: can you verify that the WHITELIST (*.py, *.idl, *.json) matches the files you need? Everything else will be pruned. Also, note, I've slightly changed the directories to not conflict with the existing ones pulled in by DEPS. I will remove those existing ones in a separate CL (the DEPS is a slightly different repo path).
Emily/Anton: can you review the rest? If this looks good, the intent is to run and check-in the files under third_party/chrome.
BUG=http://code.google.com/p/dart/issues/detail?id=8173
Review URL: https://codereview.chromium.org//12225151
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18467 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 18:53:39 +00:00
blois@google.com
d959bee481
Fixing Dartium after removing deprecated events.
...
Missed a case in dartium's _callPortSync where it used the old event syntax.
BUG=
Review URL: https://codereview.chromium.org//12257012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18462 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 18:25:46 +00:00
blois@google.com
6735b55710
Removing deprecated events syntax.
...
BUG=
Review URL: https://codereview.chromium.org//12217124
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18459 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 17:43:57 +00:00
jacobr@google.com
71cace784b
Generate separate json files for each library and include the version #.
...
BUG=
Review URL: https://codereview.chromium.org//12217077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18432 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 06:01:27 +00:00
sethladd@google.com
ab17470bcc
adding docs to HRElement, testing HTML doc process
...
BUG=
Review URL: https://codereview.chromium.org//12250022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18422 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 00:36:36 +00:00
blois@google.com
da161d6ab1
Sample test for custom elements.
...
BUG=
Review URL: https://codereview.chromium.org//12212056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18421 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 00:30:20 +00:00
blois@google.com
1b01a2f5a0
Making NamedNodeMap private
...
It's an internally used class which we wrap for all public APIs.
BUG=7916
Review URL: https://codereview.chromium.org//12218107
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18417 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 00:00:18 +00:00
sashab@google.com
e72ed01842
Initial commit of generated dart:chrome app_window and app_runtime
...
Contains a working version of app_window.idl and app_runtime.idl, and can be run by importing the dart:chrome library.
Build with JSON Schema Compiler from Chromium.
Review URL: https://codereview.chromium.org//12209045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18415 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 23:42:37 +00:00
podivilov@google.com
31b9a09a76
EventTarget was marked as EventTarget upstream.
...
See https://bugs.webkit.org/show_bug.cgi?id=108441 .
R=antonm@google.com
Review URL: https://codereview.chromium.org//12217130
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18374 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 10:19:18 +00:00
efortuna@google.com
32ede3b24f
Remove Webkit prefix from all members and make experimental.
...
BUG=
Review URL: https://codereview.chromium.org//12220099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18351 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 23:02:59 +00:00
blois@google.com
e780a771d3
Dartifying some IndexedDB APIs.
...
BUG=
Review URL: https://codereview.chromium.org//12159005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18338 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 21:24:50 +00:00
efortuna@google.com
200870d42d
Move RTCPeerConnection to correct location to generate the supported check for
...
dartium.
Review URL: https://codereview.chromium.org//12224101
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18328 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 19:38:19 +00:00
efortuna@google.com
0ea0b1ef63
Allow non-primitive-value dictionaries to be passed to constructors for html
...
types.
BUG=
Review URL: https://codereview.chromium.org//12217089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18320 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 18:31:20 +00:00
efortuna@google.com
c6179a50c0
Revert "Change the location of the output directory" plus one other fix.
...
BUG=
Review URL: https://codereview.chromium.org//12225109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18295 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-09 02:07:19 +00:00
blois@google.com
bf6831ecdd
Removing MouseEvent.x & y
...
They are non-standard and not supported on FireFox.
BUG=7826
Review URL: https://codereview.chromium.org//12217080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18293 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-09 00:56:02 +00:00
blois@google.com
5fbee6d62f
Fixes for TransitionEvent changes.
...
Two changes-
Removed the extends clause for _WebKitTransitionEvent which caused an issues with dartc.
Platform-independent changes for firing the event broke element_test on non-Chrome browsers. This test is actually quite useless.
BUG=
Review URL: https://codereview.chromium.org//12224080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18278 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 21:47:49 +00:00
blois@google.com
d2802398c6
Fixing TransitionEnd event.
...
A number of related changes-
Bug 8340 is that we previously had WebKitTransitionEnd renamed to TransitionEnd, but had to remove that when Chrome added a new TransitionEnd.
Changes-
- Made WebKitTransitionEnd implement TransitionEnd and made it private.
- Added a test for the TransitionEnd event.
- Fixed the TransitionEnd event not working on non-Chrome browsers.
- Added support check for CSS transitions.
- Added annotations for CSS transition support.
BUG=8340
Review URL: https://codereview.chromium.org//12211099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18276 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 21:09:21 +00:00
blois@google.com
74909211e7
Adding event type getter to EventStreamProvider.
...
This makes it easier to dispatch custom events for a particular event.
BUG=8244
Review URL: https://codereview.chromium.org//12247002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18273 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 20:44:45 +00:00
blois@google.com
f990128e6c
Fixing typo in Node.remove
...
Was supposed to check that the node is not the same as its parent (as occurs with window), but it had a typo.
BUG=8295
Review URL: https://codereview.chromium.org//12211086
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18268 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 19:44:42 +00:00
jmesserly@google.com
47bf8ce91d
fix publish for analyzer-experimental
...
Review URL: https://codereview.chromium.org//12225059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18239 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 04:09:38 +00:00
blois@google.com
15a2c6d91f
Re-submit of 12213058 to fix CharacterData.remove
...
Original was hanging on Dartium as it was missing useHtmlConfiguration in the test.
patch from issue 12213058
BUG=
Review URL: https://codereview.chromium.org//12210073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18237 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 23:38:37 +00:00
blois@google.com
53d00496f8
Converting XHR from onLoad to onReadyStateChange
...
Thought that onLoad was sufficient, but it's causing issues for loading files from file:// URIs (from a Chrome extension).
BUG=8401
Review URL: https://codereview.chromium.org//12224055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18233 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 21:11:41 +00:00
amouravski@google.com
80ebd1f841
Delete the old html_json docs stuff.
...
Explainer for the new docs forthcoming.
Review URL: https://codereview.chromium.org//12220056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18228 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 19:24:55 +00:00
blois@google.com
eed368b8f0
Revert "Fixing CharacterData.remove not working on FireFox."
...
This reverts commit 18201.
BUG=
Review URL: https://codereview.chromium.org//12212058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18202 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 01:49:30 +00:00
blois@google.com
72753e01e1
Fixing CharacterData.remove not working on FireFox.
...
CharacterData was overriding remove, but was not supported on FF, so just removed the override.
BUG=7173
Review URL: https://codereview.chromium.org//12213058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18201 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 01:13:53 +00:00
kustermann@google.com
5e292868f0
Fixed path issue on windows
...
TBR=ricow
Review URL: https://codereview.chromium.org//12218039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18187 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 21:05:40 +00:00