blois@google.com
7936da179e
Adding supported checks for Element.matches.
...
BUG=
Review URL: https://codereview.chromium.org//12040101
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17670 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:29:05 +00:00
amouravski@google.com
33e91c55be
Changed how Experimental annotation works. No longer is a constructor.
...
Review URL: https://codereview.chromium.org//12041090
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17619 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 23:50:59 +00:00
blois@google.com
457e364487
Removing many Element APIs from DocumentFragment
...
Many Element APIs made no sense on DocumentFragment since it no longer derives from Element (as of M2).
BUG=7858
Review URL: https://codereview.chromium.org//12039072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17609 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 22:50:03 +00:00
blois@google.com
d2aa044d2b
Deprecating old DOM event APIs.
...
This also exposes EventTarget.dispatchEvent. We had discussed naming this as 'dispatch', but it seems a bit safer to use 'dispatchEvent' to avoid potential name conflicts.
BUG=
Review URL: https://codereview.chromium.org//12047054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17595 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:42:02 +00:00
blois@google.com
4047adfea6
Fixing bunch of analyzer issues in DOM libs.
...
Basic changes:
- missing references to collections-dev,
- missing implementation of abstract methods
- Couple of incorrect generic arguments (which cause ugly dart2js warnings for users)
- Removed more references to Collections
BUG=
Review URL: https://codereview.chromium.org//12036071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17582 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 17:11:24 +00:00
floitsch@google.com
fb7b9e3c5c
Rename Date to DateTime.
...
BUG=http://dartbug.com/1424
Review URL: https://codereview.chromium.org//11770004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17549 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 12:16:37 +00:00
lrn@google.com
09051ebf15
Fix bugs in GrowableList.remove*.
...
Add generic removeMatchingList functionality in IterableMixinWorkaround.
BUG=http://dartbug.com/8018 , http://dartbug.com/8075
Review URL: https://codereview.chromium.org//12049065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17534 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 10:34:45 +00:00
antonm@google.com
f68706e4c4
Initial work on ImageData.data.
...
R=blois@google.com ,efortuna@google.com ,podivilov@chromium.org ,sra@google.com
Review URL: https://codereview.chromium.org//12036013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17526 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 08:25:37 +00:00
blois@google.com
edf1d5149f
- Changing event constructors to use named parameters.
...
- Making more parameters optional.
- Converting remaining init*Event calls to constructors.
BUG=
Review URL: https://codereview.chromium.org//12025027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17488 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 19:43:21 +00:00
blois@google.com
c63ae60625
Adding supported checks to media events.
...
BUG=
Review URL: https://codereview.chromium.org//12047020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17431 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:50:18 +00:00
blois@google.com
299ec70b31
Adding supported checks & test for SpeechRecognition APIs.
...
This is a re-submission of https://codereview.chromium.org/12026032/ , the problem was that Dartium does not allow factory constructors with the same name as members.
Had to rename Event.type constructor to Event.eventType.
BUG=
Review URL: https://codereview.chromium.org//12045033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17430 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:42:01 +00:00
blois@google.com
b0e5d99712
Reverting 17420 "Speech recognition APIs" which broke dartium.
...
TBR
BUG=
Review URL: https://codereview.chromium.org//12039026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17427 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:55:12 +00:00
blois@google.com
23b8686f50
Fixing Dartium build issue with speechrecognition API.
...
Dartium doesn't like params with same name as constructor.
TBR
BUG=
Review URL: https://codereview.chromium.org//12047028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17422 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:04:16 +00:00
blois@google.com
a492a08eb2
Adding supported checks & test for SpeechRecognition APIs.
...
BUG=
Review URL: https://codereview.chromium.org//12026032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17420 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 20:41:38 +00:00
floitsch@google.com
383dce1b4e
Remove collection-dev from the html and js-helper library.
...
Review URL: https://codereview.chromium.org//11859037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17358 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 14:41:30 +00:00
blois@google.com
049efc4fe8
Fixing cleanup of dart:html annotation generation.
...
This is an update of https://codereview.chromium.org/11968047/
BUG=
Review URL: https://codereview.chromium.org//12024002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17323 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 22:11:21 +00:00
blois@google.com
ccd052a508
Fixup of reverted CL- Fixing up Navigator.getUserMedia.
...
- Fixes Navigator.getUserMedia to be cross-platform.
- Adds supported checks.
- Dartifies the API.
First patch is the original, second is the fix.
Issue was that I used = for separating named parameters, rather than : (but it works on dart2js!). I think this distinction is lame, and opened a bug that these should use the same separator.
Review URL: https://codereview.chromium.org//12022027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17311 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 20:54:05 +00:00
blois@google.com
9cca892004
Revert "Fixing up Navigator.getUserMedia."
...
This reverts commit 17304. It broke dartium.
TBR
BUG=
Review URL: https://codereview.chromium.org//11871018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17306 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 19:17:48 +00:00
blois@google.com
b9b0ffd533
Fixing up Navigator.getUserMedia.
...
- Fixes Navigator.getUserMedia to be cross-platform.
- Adds supported checks.
- Dartifies the API.
BUG=
Review URL: https://codereview.chromium.org//11818066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17304 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 18:55:17 +00:00
lrn@google.com
0e934a631e
Add methods to Collection.
...
Methods are:
- void add(E)
- void addAll(Iterable<E>)
- void remove(Object)
- void removeAll(Iterable)
- void retainAll(Iterable)
- void removeMatching(bool test(E))
- void retainMatching(bool test(E))
They have been implemented for List and Set only.
Default implementations of removeX methods in Collections assume an efficient
remove method, which Lists won't have.
Review URL: https://codereview.chromium.org//11931034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17257 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 10:13:51 +00:00
blois@google.com
bda6df30df
Revert "Fixing formatting of dart:html's dart2js annotations."
...
This reverts commit 11508.
BUG=
Review URL: https://codereview.chromium.org//11962049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17239 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 22:16:31 +00:00
blois@google.com
b6f3ecaa2c
Fixing formatting of dart:html's dart2js annotations.
...
Also unifying formatting of attributes.
BUG=7808
Review URL: https://codereview.chromium.org//11968047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17238 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 22:12:36 +00:00
floitsch@google.com
6dcfe3ca41
Create IterableMixinWorkaround and move most of the Collections methods there.
...
Committed: https://code.google.com/p/dart/source/detail?r=17207
Reverted: https://code.google.com/p/dart/source/detail?r=17210
Review URL: https://codereview.chromium.org//11971016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17213 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 14:36:40 +00:00
floitsch@google.com
7ca573ae90
Revert "Create IterableMixinWorkaround and move most of the Collections methods there."
...
This reverts commit 17207.
Review URL: https://codereview.chromium.org//11956039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17210 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 14:19:47 +00:00
floitsch@google.com
e0459f6d6e
Create IterableMixinWorkaround and move most of the Collections methods there.
...
Review URL: https://codereview.chromium.org//11971016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17207 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 14:01:52 +00:00
efortuna@google.com
4a6c2ca155
Regenerate libs for case sensitive file systems. (Why is mac case
...
insensitive?!?)
BUG=
Review URL: https://codereview.chromium.org//11983004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17181 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 01:33:57 +00:00
blois@google.com
a4fd4b1888
Fixing dartc error about not using ~/ operator and FF test error.
...
TBR=siggi
BUG=
Review URL: https://codereview.chromium.org//11956030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17173 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:31:18 +00:00
blois@google.com
b97af1c4f3
Adding support for the MouseWheel event in Streams.
...
In order to test this I also needed to add a constructor for the MouseWheel event, which complicated things.
In general, wheel events are incredibly fragmented across browsers.
BUG=7919
Review URL: https://codereview.chromium.org//11931009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17172 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:06:35 +00:00
amouravski@google.com
9da44d6aed
Change /// @docsEditable to @DocsEditable annotation.
...
Review URL: https://codereview.chromium.org//11970019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17171 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:51:43 +00:00
amouravski@google.com
038af964dc
Changed @domName annotation in comment to full fledge @DomName annotation.
...
Review URL: https://codereview.chromium.org//11887006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17154 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 19:01:07 +00:00
efortuna@google.com
a99e64011f
Fix git rebase fail on my part that merged the status files poorly.
...
BUG=
Review URL: https://codereview.chromium.org//11946006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17109 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 00:21:42 +00:00
jmesserly@google.com
ab1536427a
Fix new Element.html with tables in IE
...
http://dartbug.com/7902
Review URL: https://codereview.chromium.org//11888019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17104 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 23:17:34 +00:00
blois@google.com
e723b69be9
Fixes for a number of dart analyzer issues in dart:html.
...
These are mostly just adding missing methods fixing a few typos from the experimental merge.
BUG=
Review URL: https://codereview.chromium.org//11817059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17035 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 23:36:14 +00:00
blois@google.com
8523bcfcf8
Adding supported checks for getCssCanvasContext.
...
This originally broke Dartium because of a typo in the support check, fixing.
First patch is the original, second is the fix.
BUG=
Review URL: https://codereview.chromium.org//11846003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16978 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 17:39:49 +00:00
blois@google.com
d1bdb81d08
Revert "Adding supported checks for getCssCanvasContext."
...
This reverts commit 16947, it has an error on Dartium.
TBR=efortuna
BUG=
Review URL: https://codereview.chromium.org//11847004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16948 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 02:10:10 +00:00
blois@google.com
028cb5c4fa
Adding supported checks for getCssCanvasContext.
...
BUG=
Review URL: https://codereview.chromium.org//11823035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16947 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 01:39:17 +00:00
antonm@google.com
dae2d52af7
Nuke custom factory providers.
...
R=blois@google.com ,podivilov@chromium.org ,sra@google.com
Review URL: https://codereview.chromium.org//11719003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16917 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 12:11:59 +00:00
blois@google.com
12dbb6aa18
Fixing Element.matches to be cross-platform and follow latest spec.
...
BUG=4401
Review URL: https://codereview.chromium.org//11665030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16829 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 01:30:44 +00:00
blois@google.com
a014168309
Type check fixes for Dartium tests.
...
Note: I'm seeing the following in checked mode:
FAIL Expectation: queryAll-where. Caught type 'WhereIterable<Element>' is not a subtype of type 'Iterable<CanvasElement>' of 'canvases'.
I only fixed what's necessary to get the tests green (I hope), but
perhaps other allocation sites should be fixed to remove the generic.
Review URL: https://codereview.chromium.org//11788023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16773 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 00:40:18 +00:00
blois@google.com
247816a253
Fixing SelectElement.options to return a read-only list.
...
This got lost in the new collections change.
BUG=
Review URL: https://codereview.chromium.org//11783017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16753 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 21:45:01 +00:00
blois@google.com
54922dcc9e
This was causing the number of items returned from document.query to be shortened.
...
Unfortunately I had to manually edit the file, so plenty of whitespace changes.
BUG=
Review URL: https://codereview.chromium.org//11794031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16748 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 20:29:53 +00:00
floitsch@google.com
acc2c51502
Fix FrozenElementListIterator.
...
Review URL: https://codereview.chromium.org//11779024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16726 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 16:37:35 +00:00
floitsch@google.com
4a7dfd2da3
Big merge from experimental to bleeding edge.
...
Review URL: https://codereview.chromium.org//11783009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
blois@google.com
eb74d2868d
- Adding supported flags to web components types
...
- Adding support annotations to web components types
- Removed webkit prefix from Element.createShadowRoot
BUG=
Review URL: https://codereview.chromium.org//11748003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16594 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 02:25:17 +00:00
blois@google.com
910e7b04fb
Fixing up history test to pass properly on supported platforms.
...
The primary problem was that on some browsers the state change doesn't take effect until the popState event has been called, so I added a check for that.
Also added a support flag for IE9.
BUG=
Review URL: https://codereview.chromium.org//11697011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16562 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 23:23:00 +00:00
efortuna@google.com
01fb2bbc86
Moved most of html lib generating scripts into tools.
...
BUG=
Review URL: https://codereview.chromium.org//11691009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16557 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 22:26:48 +00:00