Commit Graph

6631 Commits

Author SHA1 Message Date
blois@google.com d3b9ed080e Removing the exclusion of all NamedNodeMap members as they were being used.
I opened bug http://code.google.com/p/dart/issues/detail?id=7916 to make NamedNodeMap internal.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17097 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 21:57:30 +00:00
blois@google.com 1ebf1939d8 Changing htmlrenamer to use DOM names rather than Dart names.
A number of issues-
- Changed entries to be keyed off of DOM names (like the rest of our lists)
- Fixed up incorrectly named entries (a couple of typos in member names)
- Added support for the Class.* catch-all. Cases were using it, but it wasn't actually supported.
- Fixed up static const members not being suppressed
- Removed entries which are no longer occurring (after validating that they are correct).
- Added logging to help keep the lists up to date.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17093 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 21:04:10 +00:00
devoncarew@google.com 22d98f48d7 Fix an issue with the setupDevWorkspace target on windows.
Review URL: https://codereview.chromium.org//11908004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17088 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 20:26:33 +00:00
amouravski@google.com 7291e60d30 Removing dependency on dart binary from go.sh.
This at the same time kills all of the generated HTML lib documentation.
This documentation will be restored when the new HTML JSON docs are done.
ETA: 2 weeks

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17086 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 20:06:45 +00:00
kustermann@google.com 09690f9393 Fix in testing scripts, decodeUtf8->encodeUtf8
TBR=ricow

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17058 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 11:09:03 +00:00
kustermann@google.com ecf1cdeeb8 Fixed utf8 encoding/decoding issues in the testing scripts
Review URL: https://codereview.chromium.org//11883033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17057 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 10:59:24 +00:00
antonm@google.com 5872442f32 Use proper default values for flags.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17052 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 10:17:27 +00:00
blois@google.com a152bc270c Adding support checks for FileSystem APIs and making APIs not webkit-specific.
This is an updated version of https://codereview.chromium.org/11856014/ which was failing because the test was causing a timeout when file APIs are not supported.

The first patch is the original, second is the updated version.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17037 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 23:53:22 +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
whesse@google.com 747f79ce1f Upload new Dart binaries and re-enable unit tests for test scripts.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17031 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 20:45:42 +00:00
blois@google.com a4977979c4 Adding streams to dart:html.
This exposes all DOM events as streams. This keeps the current DOM event syntax as well, I'd like to make sure this API is stable before deprecating the old syntax, then we'll remove it a while after that.

I made an initial stab at getting the event types correct for the streams, though it's not documented very well and frequently inconsistent between browsers. Hopefully it's close, and I imagine there will be changes to come.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17028 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 20:19:28 +00:00
whesse@google.com 3696154a8e Default constructor for dart:io Path now handles native Windows paths. Path() now does the same as Path.fromNative(). Path.fromNative() is removed, and all uses of it replaced by Path().
BUG=https://code.google.com/p/dart/issues/detail?id=7872

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17026 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 19:46:13 +00:00
efortuna@google.com 7bc4cb245e Delete debugging change that slipped in.
Review URL: https://codereview.chromium.org//11889002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17008 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-13 01:42:58 +00:00
efortuna@google.com 4622dc3e76 Make browser tests all run from a server instead of the local filesystem.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17007 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-13 01:11:07 +00:00
blois@google.com fa191811a7 Revert "Adding support checks for FileSystem APIs and making APIs not webkit-specific."
This reverts commit 16987.

TBR=efortuna
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16995 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 22:56:13 +00:00
sigmund@google.com 603f5b678e Add again useVmConfiguration for deprecation purposes. This requires adding a
reference to the meta package fixing publish_pkg to rewrite imports correctly.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16991 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 22:35:34 +00:00
blois@google.com 638568dc80 Adding support checks for FileSystem APIs and making APIs not webkit-specific.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16987 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 21:48:27 +00:00
blois@google.com e28e124ef0 Adding supported checks and flags to window.performance.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16986 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 21:30:23 +00:00
devoncarew@google.com 986bbc0de0 Make the editor build callable from tools/build.py
Review URL: https://codereview.chromium.org//11343027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16979 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 18:54:09 +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
lrn@google.com bfd9b37484 Undo changes to tools-scripts.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16956 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 09:56:36 +00:00
lrn@google.com 4868ee2110 Remove Futures class, move methods to Future.
Optimize Future.forEach, Future.delay.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16954 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 09:46:45 +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
blois@google.com 9dc76bccbe Updating IDL for WebSocket to cover latest IDL updates.
Previously the IDL only had one send function, now they've added the missing ones.

This fixes a browser compat issue and an analyzer issue.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16946 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 01:28:34 +00:00
amouravski@google.com ba1f89e2b0 Fix for go.sh breaking because the dart binary in /testing hasn't been updated.
Review URL: https://codereview.chromium.org//11825012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16937 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 22:54:16 +00:00
amouravski@google.com bfb624a5a9 Reverted https://codereview.chromium.org/11734022
Review URL: https://codereview.chromium.org//11783102

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16933 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 21:11:18 +00:00
vsm@google.com 24db24cd7c Implement port equality on SendPortSync
This should fix https://github.com/dart-lang/js-interop/issues/37

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16932 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 19:18:53 +00:00
amouravski@google.com 81f2d3d70a Fixed build break. Oops.
Review URL: https://codereview.chromium.org//11821058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16931 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 18:39:55 +00:00
amouravski@google.com acb7073519 Added simple functionality to remove interfaces from HTML lib.
Includes one example removed interface for good measure.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16929 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 18:21:56 +00:00
kustermann@google.com 96574ee329 Status file updates for jsshell
Review URL: https://codereview.chromium.org//11833035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16920 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 14:16:37 +00:00
antonm@google.com 8a23b874b7 Next step in overload dispatcher refactoring.
R=blois@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 12:18:21 +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
antonm@google.com 4598eaead3 No need in require_v8_scope flag any more.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16913 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 11:24:26 +00:00
ngeoffray@google.com e05cedaddb Cleanup the isolate library to pave the way for web worker support.
Review URL: https://codereview.chromium.org//11778064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16911 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 10:45:43 +00:00
blois@google.com f2684ae979 Adding support checks for WebSocket.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16883 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 21:08:15 +00:00
kustermann@google.com 59a12b72c9 Migration of testing scripts in tools/ to libv2
Review URL: https://codereview.chromium.org//11817012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16867 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 18:31:28 +00:00
ahe@google.com b4fe3203b1 Add a hashCode to Command so reporting timings is 400 faster.
Review URL: https://codereview.chromium.org//11824028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16859 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 15:38:20 +00:00
kustermann@google.com 02d33cbafe Print exception information in run_selenium.py.
Review URL: https://codereview.chromium.org//11826023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16845 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 10:55:35 +00:00
ager@google.com 75c8f427cc Update remaining usages of Completer.completeException.
R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16840 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 09:29:39 +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 125975f0e8 Re-generating generated DOM files.
The experimental merge broke json_to_html and we've just been doing manual modifications.

Also took the opportunity to fix up some whitespace issues.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16813 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 18:36:41 +00:00
vsm@google.com 8eacd88652 Create an sdk package to host dart.js
Devon: I think we'd need corresponding editor changes.  The editor could use either pub or just replace the path (as mentioned in the bug).

BUG=6723

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16812 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 18:35:22 +00:00
kustermann@google.com 0145562a7c Small improvement on the "delete temp dir on windows"-hack in the annotated steps script
Review URL: https://codereview.chromium.org//11783027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16787 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 11:26:37 +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
ager@google.com db4503ea37 Do not pass VMOptions to dartc
R=kustermann@google.com,sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16719 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 15:59:21 +00:00
kustermann@google.com ee3e000d63 Revert changes in tools/testing, since we use the checked-in version for the testing scripts
Review URL: https://codereview.chromium.org//11783010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16688 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:43:36 +00:00