Commit Graph

6631 Commits

Author SHA1 Message Date
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
nweiz@google.com 752c1ea485 Remove cURL from the SDK.
BUG=7395

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18011 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 23:23:35 +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
kustermann@google.com 0a5a3306f7 Added '--package-root' to http_server.dart.
Review URL: https://codereview.chromium.org//12087130

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17968 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 10:22:55 +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
kustermann@google.com 7b19966623 If we made progress, add testCases to the front of the queue in test_runner.dart
Review URL: https://codereview.chromium.org//12114027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17913 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:44:38 +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
efortuna@google.com 532b0a7e0e Fix Safari "multitest" failure.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17882 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 23:53:42 +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
dgrove@google.com a248562917 Add script to publish all packages in repo to pub.
Review URL: https://codereview.chromium.org//12088059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17868 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 19:28:46 +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
ricow@google.com 746d3664db Revert revision 17848 - this is breaking dartium testing
Review URL: https://codereview.chromium.org//12087086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17850 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 15:27:52 +00:00
ricow@google.com 5947bba6cc Change the location of the output directory of generated tests to be inside output directory, but not relative to the dart root.
This is causing issues on dartium builders where we actually only run because there is a build/Release (and out/Release or xcodebuild/Release for mac/linux) on the bot that has been created inside src/dart.

Also, fix the http server in the testing script to serve files from the output directory - otherwise the tests will not be accessible if an alternative build directory is used.
Review URL: https://codereview.chromium.org//11896031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17848 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 14:38:47 +00:00
ricow@google.com f4bc3b8d09 Speculative fix for flakines on browser bots
Review URL: https://codereview.chromium.org//12090067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17827 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 10:00:38 +00:00
kustermann@google.com 7ccd6f2c68 Bugfix in test_runner: in certain cases tests did not get rerun
Review URL: https://codereview.chromium.org//12086048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17824 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 09:05:02 +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
kustermann@google.com 2e1839e0cf Utilize all cores on IE bots
Review URL: https://codereview.chromium.org//12093044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17771 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 16:20:36 +00:00
kustermann@google.com a418c4f27f Only print stdout/stderr if we've got an unexpected output
TBR=ricow

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17767 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 15:44:27 +00:00
kustermann@google.com 22da1e1fc8 Support for running a limited amount of browser tests in parallel
Patch Set 1:
  Refactored test_runner.dart to execute "Command after Command" instead of
  "TestCase after TestCase". By doing so, we don't couple the execution of
  compilation commands to the execution of the browser (or test) command.

Patch Set 2:
  Introduce a limitation on the number of parallel browser executions. By doing
  so we can run 'NumCores' compilation commands in parallel but only a single
  browser test command at any given time (necessary for IE).
  This way we can significantly reduce the cycle time on IE bots.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17764 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 15:16:44 +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
ricow@google.com 03bdded77e Fix selenium to detect and handle browser crashes.
Some context:
On windows, selenium will be hanging a chrome browser
crashes and additional to this we would actually not get information
that the browser crashed, we would get this as a failing test.

This change basically sets up a python timer that will trigger us to
close the browser using browser.service.stop() (I suspect that when
the browser crashes and does not respond in time selenium will call
browser.quit which will be blocking on trying to kill the remote
service).

In addition, this changes the test_runner to handle a crash exitcode
correctly (we will set it to -10 in the bacth runner, I don't know
why, but I dont want to change that in this cl). The current
hasCrashed getter will mask out errors that it does not recognize as
valid windows crashes (of which -10 is not one since it will have a
bunch of set bits in the middle of the bit pattern). I changed this to
explictily recognize the -10 value.
Input on why we have that value is welcome
Review URL: https://codereview.chromium.org//12051037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17752 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 10:20:11 +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