Commit Graph

6631 Commits

Author SHA1 Message Date
blois@google.com c0f342adcd Fixing up previous CL to fix Dartium issues.
patch from issue 17453003

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24354 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 17:49:25 +00:00
floitsch@google.com 48b1656690 Allow Object when doing lookups.
According to our typing rules a Set<Apple> is a Set<Fruit>. However, before this change, we couldn't use it as a Set<Fruit>:

===
bool foo(Set<Fruit> fruits) {
  // Would yield a type-error since we actually got a Set<Apple>.
  return fruits.contains(new Banana());
}

foo(new Set<Apple>());
===

R=ajohnsen@google.com, blois@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24326 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 12:45:10 +00:00
ngeoffray@google.com 04f294a73d Remove =List in JS, use JSExtendableArray instead.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24319 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 10:09:14 +00:00
ricow@google.com 302fbd5174 Add two additional directories to safari cache clearing.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24317 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 09:47:37 +00:00
blois@google.com 9a55dad88e This is causing a build error on Dartium (conversion from unsigned long to GLenum).
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24298 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 18:18:17 +00:00
blois@google.com 7b4bd8fef5 Fixing an issue where EXTDrawBuffers.drawBuffersEXT was not getting generated.
Core issue is that sequences of typedefs aren't getting resolved properly, so it was treated as an unknown type.

Did a workaround, opened bug 11395 to track the core IDL parser issue.

BUG=11029
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24296 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 17:34:21 +00:00
kustermann@google.com 0d8293ef34 Initial support for mac installers. Currently only on our editor builders on FYI
R=devoncarew@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24271 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 08:37:25 +00:00
blois@google.com 6b44f65407 Revert "Making all DOM types abstract and removing superfluous Dartium constructors."
This reverts commit http://code.google.com/p/dart/source/detail?r=24241.

Compiler error, not sure of best fix.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24245 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 19:37:47 +00:00
blois@google.com c3547d4e9b Making all DOM types abstract and removing superfluous Dartium constructors.
Adding factory constructors to all classes to suppress missing generative constructor warnings.

Adding a throw to Dartium's base DOM class to prevent construction of native objects.

This also includes the changes necessary to make all DOM types abstract, but I'm running into a dart2js issue which is preventing that.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24241 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 17:31:36 +00:00
ricow@google.com 568e86f4a1 Also remove Library/Safari from users home dir if --clear_safari_cache is set
Additionally, actually handle errors on deletion correctly by checking for existense first and actually failing if we fail to delete the directory.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24238 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 16:01:41 +00:00
kustermann@google.com 8984694c97 Print out experimental test.py reproduction command
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24231 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 14:19:11 +00:00
ricow@google.com dcb2d0096a Pass in clear_safari_flag on the bots
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24228 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 14:03:36 +00:00
ricow@google.com ecb4dea649 Add safari cache clearing browser functionality to the safari browser.
Also, add flag to test.dart to enable this feature.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24215 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 10:30:04 +00:00
ricow@google.com 12682d3bc7 Add timing information for the individual steps of a failing test.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24213 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 09:03:23 +00:00
kustermann@google.com e2bae5305b Bugfix for tools/utils.py: Inherit environment to cmd.exe.
On windows we run "svn" in a shell. But the shell cannot find svn.exe if PATH is
not set.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24212 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 08:22:25 +00:00
jmesserly@google.com 66398e12b5 Move PathObserver to mdv_observe package
(Since it doesn't actually depend on dart:html, didn't seem the right place for it)

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24166 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 02:21:54 +00:00
ricow@google.com 756c5de9aa Remove special casing of number of dart compilation processes on mac.
I want to know if this actually has an effect or not.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24136 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 11:51:37 +00:00
asiva@google.com da491fce35 Fix compilation flag that was inadvertently changed
in https://codereview.chromium.org/16973003/

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24113 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 22:39:14 +00:00
ricow@google.com 4c5b2ac2ab Revert 24086 Update checked in binary to version 0.5.19.0
This is causing crashes in http server.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24096 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 13:22:15 +00:00
ricow@google.com 1523157e2e Fix missing underscore for maxBrowserProcesses
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24095 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 13:04:20 +00:00
ricow@google.com b814373e75 Change number of started browser processes to the max number of browser processes.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24094 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 12:45:12 +00:00
ricow@google.com 8ebb5cd61a Limit number of safari process to 1 (or num processes -3)
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24092 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 12:21:55 +00:00
ricow@google.com 1970fc7afb Update checked in binary to version 0.5.19.0
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24086 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 10:47:02 +00:00
kustermann@google.com 7ac44d347f Reduce the number of browser processes on safari
This is a temporary measure until we figure out what's wrong with the new
browser_controller.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24082 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 09:40:24 +00:00
ricow@google.com df4bf922fa Make version generation functionallity work on non english locale.
Landing patch supplied by David Gomez - see http://dartbug.com/11119

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24072 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 06:42:29 +00:00
asiva@google.com 51651ee00b Split dart_api.h into multiple parts:
dart_api.h - Has the core API functions
dart_mirrors_api.h - Has API functions to support Mirrors or reflection
dart_native_api.h - Has parts which support the native message handling,
                    profilling and other internal tools

R=sgjesse@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24062 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 23:47:40 +00:00
ricow@google.com 62f8da0bdf More debug info on the browser controller.
Add timing info on actual requests to the http server.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24017 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 06:22:07 +00:00
blois@google.com 28560f4a06 Adding WebGL context events to Canvas.
BUG=9482
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24006 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 20:12:01 +00:00
blois@google.com 25178b1217 Adding Range constructor for document.caretRangeFromPoint.
BUG=9227
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24004 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 18:41:48 +00:00
blois@google.com b206fa4a34 We always had this class in the hierarchy for Dartium but had hidden it for Dart2js, this caused problems because the actual runtime hierarchy was different than the Dart expressed one.
BUG=9907
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23999 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 17:17:54 +00:00
ricow@google.com a3902a74f4 Add debug info for how long it takes to handle the output from the browser.
Review URL: https://codereview.chromium.org//16881006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23998 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 17:15:54 +00:00
ricow@google.com 4eff75f62d Write browser timings on the debug log
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23984 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 14:30:35 +00:00
ricow@google.com 5c08a32f86 Use request.response.done instead of getting future from close()
The checked in binary does not return a future on close()

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23980 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 14:01:37 +00:00
ricow@google.com 786b0b7f1c Fix error handling on errorReportingServer
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23978 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 13:53:25 +00:00
ricow@google.com e97215e045 Add error reporting server to the browser controller
This is used to send back errors from the browsers if we see any issues with getting resources.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23973 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 12:40:37 +00:00
kustermann@google.com 4efd9609a5 Moving timing info to utils.dart:DebugLogger
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23967 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 11:20:21 +00:00
ricow@google.com c0c48e23ef Add correct timing collection for new browser controller
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23957 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 09:14:39 +00:00
ricow@google.com 0e1472b570 Fix id in browser testing status map
This was wrongly set to the old id.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23952 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 08:20:55 +00:00
kustermann@google.com 73b8c4adc6 Fixed bug in browser_controller.dart
If a browser crashed on it's own, then the driving page running in it will not
post a result. So the test will eventually time out. The testing server will
then call 'browser.close()' and after the browser was closed, it will start a
new one.

Previously the 'browser.close()' future did not complete in this scenario, since
the '_browserClosed' callback was not set.

Note that with the new browser controller, browser crashes will currently be
reported as timeouts.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23951 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 08:08:34 +00:00
ricow@google.com 96272613d5 Add timing information to browser controller logging.
Review URL: https://codereview.chromium.org//16843009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23950 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 06:59:58 +00:00
efortuna@google.com 06f0514367 Improve documentation for animationFrame.
BUG=
R=amouravski@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23946 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 00:20:52 +00:00
efortuna@google.com c3636dc560 Mark canPlayType as unstable.
BUG=
R=amouravski@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23928 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 19:43:15 +00:00
blois@google.com f016e7af84 Fixing CSS Animations cross-platform issues.
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23926 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 19:18:59 +00:00
blois@google.com b61e864617 Fix RtcDataChannel for Firefox nightly
BUG= http://dartbug.com/11067
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23922 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 17:38:54 +00:00
kustermann@google.com b0f2c1f54e Increase timeout for simarm
TBR=zra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23919 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 16:56:10 +00:00
kustermann@google.com 8ea94854e3 Second round of status file updates for simarm/arm
TBR=zra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23915 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 16:04:39 +00:00
kustermann@google.com 659b81f7bb Fixed sdk/bin/dart2analyzer to use package-root
R=ahe@google.com, ricow@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23905 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 13:37:46 +00:00
ricow@google.com ee8ddfd2d4 Add debugging info to browser controller.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23903 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 12:54:39 +00:00
ricow@google.com 65ea1ac106 Move lib from sdk/lib/_internal/compiler/implementation to _internal root.
I am doing this to enable me to move out the compiler from the sdk.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23902 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 10:39:40 +00:00
ricow@google.com 57838491b2 Remove leftover static varibles for old kill functionality in the browser controller.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23898 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 09:10:04 +00:00