Commit Graph

1657 Commits

Author SHA1 Message Date
amouravski@google.com f05f2c77cc 'Moved all documentation from old .dartdoc files.'
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18111 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 03:04:59 +00:00
blois@google.com 164e568e62 Fixing the status of element_types_test/supported_object on IE.
It should be supported, but was previously failing because of incorrect supported check which was fixed earlier. Updating annotations to match test as well.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18110 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 02:20:45 +00:00
amouravski@google.com 0f4a3a7c44 Finished porting code from the old html-json docs.
Review URL: https://codereview.chromium.org//12186024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18109 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 02:00:13 +00:00
blois@google.com cc0c8e4c31 Fixing element_types_test/supported_object
Typo had it checking meter instead which was masking a FF failure.

BUG=8293

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18107 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 01:24:56 +00:00
efortuna@google.com 845e5ac77e Touch list test removal.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18092 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:46:29 +00:00
efortuna@google.com 5662b4726e "Reverting 18090"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18091 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:22:50 +00:00
efortuna@google.com 58a4c28f5c Remove webkit prefix and annotate with experimental tag.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18090 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:17:28 +00:00
efortuna@google.com 7ef9e96865 Added constructor for touchlist.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18083 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 22:49:07 +00:00
efortuna@google.com 2c655f469e Revert IDB optional mode parameter.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18080 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 21:41:44 +00:00
efortuna@google.com 88128b91d5 Fix Console.timerEnd signature in dart2js.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18079 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 21:14:28 +00:00
efortuna@google.com 63e4979413 Make mode argument optional for IDB transaction.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18076 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 20:44:43 +00:00
antonm@google.com 42671b8291 Allow parsing of enum declarations.
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18064 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 19:09:27 +00:00
amouravski@google.com b615b83236 Change the way that events are annotated.
Review URL: https://codereview.chromium.org//12092118

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18053 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 16:04:17 +00:00
amouravski@google.com 93a1b6edae Added Area Element class doc.
Review URL: https://codereview.chromium.org//12163006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18052 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 16:01:30 +00:00
lrn@google.com 0d91963a1c Added MappedListIterable/Iterator to implement map() on Lists.
Review URL: https://codereview.chromium.org//12094103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18036 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 09:30:36 +00:00
blois@google.com b551238b34 Fixing case of IE polyfill using deprecated syntax
I missed this case when removing the APIs deprecated from M2, it's an IE polyfill.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18003 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 21:19:16 +00:00
blois@google.com c128c06326 Removing dart:html APIs which were deprecated in M2.
This removes:
- innerHTML (changed to innerHtml)
- Element.elements (changed to Element.children)

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17999 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 20:51:17 +00:00
efortuna@google.com ce74c20fdb Add supported checks to the SVG library, and library cleanup.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17994 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:09:11 +00:00
amouravski@google.com ad62fa5ad3 A bunch more documentation.
Review URL: https://codereview.chromium.org//12156002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17987 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 17:53:16 +00:00
antonm@google.com 044ade317e Better support for vector conversions.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17981 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 13:50:28 +00:00
blois@google.com 1d982e1198 Fixing dartium xhr issue
Dartium-only type check issue in XHR.request.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17960 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 01:12:24 +00:00
amouravski@google.com fcccafdd33 Add even more documentation back to HTML.
Review URL: https://codereview.chromium.org//12093101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17955 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:30:22 +00:00
amouravski@google.com 956d645a0f Can now correctly add documentation to constructors.
Review URL: https://codereview.chromium.org//12087112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17954 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:11:31 +00:00
blois@google.com 1fb79cdb28 Resubmit "Adding ease-of-use methods to HttpRequest."
Fixing the dependent pkg/intl code.

This is the same as my previous CL, but with the modification to pkg/intl/lib/src/http_request_data_reader.dart

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17949 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 22:40:04 +00:00
blois@google.com 07200209ab Revert "Adding ease-of-use methods to HttpRequest."
This reverts commit 17942, it broke some pkg tests that I need a few more moments than I have right now to fix.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17944 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 21:10:46 +00:00
blois@google.com b1cc462093 Adding ease-of-use methods to HttpRequest.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17942 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 20:52:58 +00:00
efortuna@google.com 473bbc0487 "Reverting 17940"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17941 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 19:48:36 +00:00
efortuna@google.com cab5d4cc51 SVG Library cleanups and adding supported tag.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17940 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 19:38:00 +00:00
blois@google.com de9fbf0e90 Renaming dart:html library from 'html' to 'dart.html'
This should be invisible to end users, but basically brings dart:html in-line with the core libraries.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17929 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:25:55 +00:00
lrn@google.com 9b23dff467 Reapply "Rename mappedBy to map."
This reverts commit r17907.

TBR.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 15:12:56 +00:00
antonm@google.com ed5c8a0fad Support for Crome roll 176827->179299.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17911 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:22:42 +00:00
floitsch@google.com b1a118d5ce Revert "Rename mappedBy to map."
This reverts commit 17899.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17907 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:02:27 +00:00
lrn@google.com 0dc2f4b1ba Rename mappedBy to map.
Retain a deprecated mappedBy for now.
Change return type of mappedBy, skip and take on List to Iterable.

BUG= http://dartbug.com/8063
BUG= http://dartbug.com/8064
BUG= http://dartbug.com/6739
BUG= http://dartbug.com/7982

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17899 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 12:37:13 +00:00
blois@google.com 19450bf645 Renaming Clipboard to DataTransfer
This is the W3C name of the class:
http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransfer-interface

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17878 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 22:55:04 +00:00
blois@google.com 8cb540948f Adding supported checks for WebGL
Also fixed the getContext method to have the proper signature (bug 4883).

Also adding an easy accessor for context3d.

Not sure if additional Dartium changes will be needed, Anton?

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17860 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 17:45:13 +00:00
floitsch@google.com 1b65d1175b Remove import of collection-dev.
Review URL: https://codereview.chromium.org//12096042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17802 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 19:29:54 +00:00
blois@google.com 67c686c584 Adding supported checks for touch event.
BUG=6519

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17797 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 18:58:18 +00:00
amouravski@google.com 6095e5065b Split the comment strings in docs extraction on newlines.
Review URL: https://codereview.chromium.org//12090035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17796 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 18:57:42 +00:00
floitsch@google.com e6ae2deb0a Don't use ReversedListView from outside core and collection.
Review URL: https://codereview.chromium.org//12089023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17772 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 16:24:53 +00:00
antonm@google.com 8aebefcadf Allow null for optional strings in init event methods.
R=podivilov@chromium.org
BUG=8076

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17762 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 14:16:41 +00:00
antonm@google.com 5d50a592a3 Support overloaded constructors.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17754 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 12:18:28 +00:00
sashab@google.com 08bc0350f6 Initial commit for Chrome.* APIs in Dart
Added the initial wrappings for the Chrome.* APIs that use the JS() function. Only chrome.app.window and chrome.app.runtime are wrapped for now.

Also added "dart:chrome" to the compiler's list of libraries allowed to use convertDartClosureToJS(), and other internal library functions.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17743 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 06:52:51 +00:00
amouravski@google.com b1946849c6 Readded some more HTML docs!
Review URL: https://codereview.chromium.org//12094003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17738 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 00:28:29 +00:00
blois@google.com f46672cb73 Converting tests over to using event streams.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17735 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 23:31:15 +00:00
blois@google.com ffc85c7428 Fixing type check error using Stream.take in dart2js checked mode.
Encountered this issue converting dart:html tests over to streams.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17719 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 16:58:31 +00:00
lrn@google.com eb272bd53c Fix bug in html element remove.
BUG=http://dartbug.com/8142

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17715 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 15:29:20 +00:00
blois@google.com 165c6ec133 A couple of changes to change Window.requestLayoutFrame into a microtask API.
- Renamed window.requestLayoutFrame to window.setImmediate.
- Added support for IE's window.setImmediate
- Converted Element.getComputedStyle to be synchronous
- Removed Element.computedStyle, should use Element.getComputedStyle.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17681 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 01:02:48 +00:00
blois@google.com ef8128536a Revert "Adding supported checks for Element.matches."
This reverts commit 17670 which is causing problems for IE9.

For some reason IE9 is failing the matches test but passing the supported check. But I cannot repro on my machine.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 00:34:25 +00:00
blois@google.com e731f909bd Making Element.matches correctly fail on IE9.
The API is unsupported (and the supported check returns false), but it was just falling through when it should have thrown.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17675 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 00:08:21 +00:00
blois@google.com 5e5505edf3 Adding supported checks for XsltProcessor.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17671 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:34:11 +00:00