Commit Graph

6631 Commits

Author SHA1 Message Date
regis@google.com 350fa57800 Add mips and simmips build targets.
Review URL: https://codereview.chromium.org//11859034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17319 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 21:34:53 +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
blois@google.com e78e8b1cc1 Stubbing out the initial library for Chrome application support.
This adds the core skeleton of Chrome application support with a sample function that allows creating a new window (in dart2js).

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17299 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 18:05:19 +00:00
floitsch@google.com 44a224926b Move list helper-classes from core to collection-dev.
Review URL: https://codereview.chromium.org//11983005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17293 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 17:02:46 +00:00
antonm@google.com a6222ed29e Remove now unused function.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17292 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 16:51:47 +00:00
kustermann@google.com d71f8ff86f Added DebugLogger to testing scripts.
Review URL: https://codereview.chromium.org//11962042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17291 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 16:45:20 +00:00
antonm@google.com 56c3b90f06 Stop generating MutationCallback right way.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17290 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 16:35:36 +00:00
antonm@google.com e0f0682c01 Remove now unnecessary define.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17283 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 15:29:32 +00:00
kustermann@google.com f9a76d5672 Simplify the enqueuing of tests from all test suites
TBR=foo

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17273 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 13:50:24 +00:00
floitsch@google.com fb1632180e Add dart:collection_dev library.
Committed: https://code.google.com/p/dart/source/detail?r=17263
Reverted: https://code.google.com/p/dart/source/detail?r=17265

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17269 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 13:07:27 +00:00
kustermann@google.com 5d083443f8 Don't exit() in test_progress but rather set io.exitCode
Review URL: https://codereview.chromium.org//12026013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17264 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 12:28:08 +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
amouravski@google.com bd8be55838 Remove the old hand-written HTML doc format, which has not worked for months.
Personal TODO has been made to extract the useful bits of documentation from
this CL into the new hand-written HTML doc format.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17231 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 18:54:18 +00:00
blois@google.com 764b68db02 Removing redundant event streams.
Basically removing the event stream providers from Document and Window for events which are also declared on Element. The streams themselves are still exposed, just that a single provider is now on Element.

Also removed MediaElement events from Window, as they are duplicative and should be accessed via the MediaElement provider.

I was also hoping that this would have some JS size benefits, but I'm not seeing any.

BUG=7860

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17229 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 18:29:00 +00:00
devoncarew@google.com 50d731bd00 Rev the version of apache ant in third_party to 1.8.4. This will fix an issue with
windows build failures not being reported correctly (older versions of ant didn't 
properly return process eit codes). It will also let us use some newer features of
ant.
Review URL: https://codereview.chromium.org//11973012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17228 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 17:56:34 +00:00
antonm@google.com d6daea40d4 Remove debug print.
TBR=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17221 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 16:34:03 +00:00
antonm@google.com fc0633a4ba Adjust to recent move.
TBR=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17220 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 16:26:39 +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
kustermann@google.com b8349d39b6 Added optional sharding for browser builders in the annotated steps scripts
Review URL: https://codereview.chromium.org//11946044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17206 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 13:45:34 +00:00
ahe@google.com f42b735a0e Correctly implement co19 test suite.
Review URL: https://codereview.chromium.org//11881053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17204 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 13:40:21 +00:00
antonm@google.com 962da4c790 Add Uint8ClampedArray to the list of typed arrays.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17203 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 13:34:57 +00:00
antonm@google.com b90237932f Changes to support Chrome roll.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17194 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 11:45:48 +00:00
kustermann@google.com 9ee5fc4b53 Revert "Removed the 'we don't run multitests on browsers'-hack"
There is an issue with path names on dartium builders.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17185 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 10:20:12 +00:00
kustermann@google.com 442e7fc3b9 Removed the 'we don't run multitests on browsers'-hack
Review URL: https://codereview.chromium.org//11886064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17183 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 08:59:05 +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
efortuna@google.com 0345368d65 Unbreak local browser testing.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17176 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 00:35:23 +00:00
amouravski@google.com 722cde16a7 Remove more classes and members by making them private.
Review URL: https://codereview.chromium.org//11934004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17175 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:58:58 +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
regis@google.com d8e322afad Fix test harness for running vm tests in runtime directory.
Review URL: https://codereview.chromium.org//11984002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17158 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 20:51:35 +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
alanknight@google.com 6bc130fc66 Update ddbg.dart for async and json changes
Review URL: https://codereview.chromium.org//11928002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17151 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 18:11:04 +00:00
kustermann@google.com 494b8e5d56 Revert "Removed unused StandardTestSuite.cachedTests field"
The variable actually as a side effect, so this was broken.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17147 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 17:20:32 +00:00
antonm@google.com 740434e2a3 Move ugly hack out of the loop.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17143 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 16:15:17 +00:00
ahe@google.com 0aa3c7b35f Make test.dart self-contained again.
Review URL: https://codereview.chromium.org//11961017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17139 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 15:21:22 +00:00
kustermann@google.com 8e4757a782 Removed unused StandardTestSuite.cachedTests field
Review URL: https://codereview.chromium.org//11962012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17133 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 11:35:48 +00:00
ricow@google.com 6f53169ec1 Don't exit test script on an error in the http server.
This often happens if the client closes the connection unexpectedly
Review URL: https://codereview.chromium.org//11971012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17128 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 09:57:35 +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
efortuna@google.com e1109ed077 Detect if webkitNotifications is available and remove webkit prefix (replaced
with "experimental").

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17105 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 23:54:58 +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 ce18845e42 Adding support checks for ApplicationCache.
Also fixed it to work on Opera.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17101 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 22:55:41 +00:00
amouravski@google.com c9e8cbc1d1 Removing HTML elements by making them private.
Review URL: https://codereview.chromium.org//11880036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17099 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 22:32:55 +00:00
blois@google.com 9b61abf6ee Adding types to dart:html's dartium files where possible.
We were omitting parameter types more often than we should have been.

BUG=7529

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17098 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 22:28:51 +00:00