Commit Graph

6631 Commits

Author SHA1 Message Date
amouravski@google.com 07b92a1f2f "Reverting 14361" to fix a break.
Review URL: https://codereview.chromium.org//11360015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14370 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 20:20:05 +00:00
ahe@google.com 884734f677 Revert "remove text editor plugins, they are now on github"
This reverts revision 14231.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14348 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 15:50:22 +00:00
ahe@google.com d7d7a89b07 Add bot. prefix to unbreak build bots.
Review URL: https://codereview.chromium.org//11345028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14267 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:49:13 +00:00
ahe@google.com 9ed60805f4 Don't depend on V8 when creating the SDK.
Review URL: https://codereview.chromium.org//11301019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14266 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:42:42 +00:00
ager@google.com aac030e777 Use patching for dart:io.
This allows the tools such as dartdoc to operate on dart:io
in the same way as it does with other code and allows the
implemenation of parts of dart:io for dart2js if we ever
want to do that.

The current patching is very VM specific. I have only moved
stuff to patch files when they actually need to be. For
Process and Socket everything has to be moved because they
use native fields. For the rest, only the individual native
calls have been put in patch files.

R=sgjesse@google.com,ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14259 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:32:30 +00:00
rnystrom@google.com c606bbda99 Fix copyright for bot scripts.
Review URL: https://codereview.chromium.org//11260052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14238 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 01:17:38 +00:00
sethladd@google.com 09ac607b20 remove text editor plugins, they are now on github
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14231 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 23:15:26 +00:00
sgjesse@google.com db3d6358f2 Remove public SocketInputStream and SocketOutputStream clases
The socket streams only implement the streams interfaces so no
explicit classes are needed for these.

R=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14204 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 15:04:54 +00:00
ager@google.com 83f2cfa4c1 Get rid of 'close' on process. It is very easy to use incorrectly and cut off data from your streams.
When using an interactive process started with Process.start you have
to drain the stdout and stderr streams to make sure that all resources
are freed. If you do that the dart:io library will make sure to free
all system resources for you.

R=sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14187 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 11:59:09 +00:00
ager@google.com 7f04c40b2d Land update to tools directory with new binaries.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14176 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 09:21:14 +00:00
ajohnsen@google.com e925b5591e Move Arrays, Collections and Maps into a new library, dart:collections.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14173 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 08:38:15 +00:00
devoncarew@google.com 6507587eb0 Fix the version.dart script on windows - the script path was being calculated as "", not "tools".
Review URL: https://codereview.chromium.org//11320008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14153 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 19:33:20 +00:00
floitsch@google.com 7041a6bbf1 Make methods in Stopwatch getters and rename to be more consistent.
Includes:
- Stopwatch.frequency.
- Stopwatch.elapsedInMs() -> Stopwatch.elapsedMilliseconds
- Stopwatch.elapsedInUs() -> Stopwatch.elapsedMicroseconds
- Stopwatch.elapsed() -> Stopwatch.elapsedTicks

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14140 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 14:25:23 +00:00
lrn@google.com b8b5632148 Convert NoMoreElementsException and EmptyQueueException to StateError.
Review URL: https://codereview.chromium.org//11269045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14122 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 08:28:33 +00:00
efortuna@google.com 7df114a8f1 Revert 14110 "Fix usesWebDriver check"
Review URL: https://codereview.chromium.org//11275052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14111 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 23:26:23 +00:00
efortuna@google.com d1aff197ae Fix usesWebDriver check, and the usage of config['browser'] vs config['runtime']
Review URL: https://codereview.chromium.org//11275025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14110 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 23:14:55 +00:00
amouravski@google.com ce9513affe Added API docs build target to the Pub buildbot.
See issue: http://code.google.com/p/dart/issues/detail?id=4989

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14107 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 22:22:08 +00:00
efortuna@google.com 8ea5741261 Set up Android build config.
Review URL: https://codereview.chromium.org//11264019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14105 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 22:14:43 +00:00
ricow@google.com 252f09bc40 Testing support for running tests minified in dart2js.
Review URL: https://codereview.chromium.org//11262028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14071 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 12:18:30 +00:00
ager@google.com 01e373bef0 Fix CCTestSuite in test.dart.
R=sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14064 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 09:38:51 +00:00
efortuna@google.com 63870a3ab3 Fix return code on Windows 8 machines.
Review URL: https://codereview.chromium.org//11272022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14056 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 00:44:07 +00:00
efortuna@google.com e304efa6d6 Update status file for ie10 html tests.
Review URL: https://codereview.chromium.org//11262017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14044 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 22:03:48 +00:00
efortuna@google.com 7f5dd8e8d0 Expand buildbot checks for both ie9 and ie10.
Review URL: https://codereview.chromium.org//11272017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14037 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 20:42:40 +00:00
rnystrom@google.com 9049103355 Add script for pub buildbots.
Also modify annotated_steps to invoke it on the right bots.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14032 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 17:53:06 +00:00
ager@google.com 61e7010693 Fix issue that cases the usesWebDriver getter in TestCase to always return false.
Remove newly added code for timeout handling.

Make sure that timeout handling actually works so that dart2js
timing out will actually cause a timeout even when retrying
browser tests.

R=ahe@google.com,efortuna@google.com,ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14014 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:58:40 +00:00
lrn@google.com a083c1a108 Removed IllegalAccessException and UnsupportedOperationException.
Both were converted to StateError.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14012 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:36:10 +00:00
lrn@google.com bc7f07ae86 Move ObjectNotClosureException and ClosureArgumentMismatchException to patch file.
They are no longer available in the core library, and are only used by the VM.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13992 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 06:17:21 +00:00
efortuna@google.com 6100654dcf Don't replicate timeout calculation for browser tests. They do their own timing
from the time that the browser is actually opened.
Review URL: https://codereview.chromium.org//11189150

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13989 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 23:12:54 +00:00
efortuna@google.com 1407ec08f3 Increase timeout to see if "timeout" errors on Windows bot goes away. Otherwise,
the test framework  is incorrectly calculating "timeouts"
Review URL: https://codereview.chromium.org//11229067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13986 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 21:41:00 +00:00
devoncarew@google.com 898ec40c27 Add a version file to the SDK (in preparation for eventually removing the revision file).
Review URL: https://codereview.chromium.org//11238047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13983 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 19:45:24 +00:00
efortuna@google.com 48a9e653c8 Mark ie10 + Windows as an acceptable browser + OS combo.
Review URL: https://codereview.chromium.org//11175043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13979 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 17:24:24 +00:00
efortuna@google.com ce3543f212 Reapply ie to ie9 rename.
Review URL: https://codereview.chromium.org//11231081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13978 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 17:17:30 +00:00
efortuna@google.com 920589055f Revert rename ie to ie9.
Review URL: https://codereview.chromium.org//11249003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13976 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:28:33 +00:00
antonm@google.com 89ec5f443e Properly filter out platform libs.
Due to wrong group, URI were in quotes and weirdly named files
like 'dart:json' (quotes belonged to file name!) were created.

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13975 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:22:41 +00:00
antonm@google.com bf0085caf7 Remove unused function.
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13970 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 15:51:28 +00:00
antonm@google.com e524049060 Switch to new library syntax.
R=podivilov@chromium.org,kasperl@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13962 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:52:27 +00:00
ricow@google.com 28c853b761 Create temp directory for sdk inside the dart directory.
Review URL: https://codereview.chromium.org//11226059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13957 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 12:53:58 +00:00
ahe@google.com 7f0ec1cf6e Update dart2js co19 status after bad merge.
Review URL: https://codereview.chromium.org//11231071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13944 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 10:42:21 +00:00
ahe@google.com 8fafabe175 Update co19 to r397.
Review URL: https://codereview.chromium.org//11233058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13935 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 09:28:31 +00:00
ricow@google.com 8d38bd7a68 Revert r13932, sys.stdout is not available.
Review URL: https://codereview.chromium.org//11189137

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13934 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 09:20:03 +00:00
ricow@google.com d3fa9bf981 Redirect stderr to sys.stdout for build output.
The stderr is currently not being displayed on the buildbot.
Review URL: https://codereview.chromium.org//11228050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13932 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 09:05:57 +00:00
efortuna@google.com 31fb4a0c74 Complete renaming of ie bots to ie9, to add ie10.
Review URL: https://codereview.chromium.org//11189101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13908 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 20:59:01 +00:00
scheglov@google.com 4a41088d8d Restore 'samples' in test.dart
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13906 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 20:14:17 +00:00
efortuna@google.com 4a3571e368 Add Opera to the "webdriver_test_setup" script.
Review URL: https://codereview.chromium.org//11232026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13905 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 20:01:55 +00:00
lrn@google.com aa78cf0c87 Remove unused WrongArgumentCountException.
Review URL: https://codereview.chromium.org//11236020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13863 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 11:52:48 +00:00
scheglov@google.com 09b22d5b46 Issue 6073. Fixes for 'export'.
http://code.google.com/p/dart/issues/detail?id=6073

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13853 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-20 20:47:58 +00:00
lrn@google.com 89f5daea9e Rename OutOfMemoryException to OutOfMemoryError.
This is a reapply with missing status file changes.

TBR=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13822 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 14:01:24 +00:00
kasperl@google.com f7a56d3f70 Revert "Rename OutOfMemoryException to OutOfMemoryError."
This reverts r13818.

TBR'ed.

R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13820 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 13:11:15 +00:00
lrn@google.com 58f3453267 Rename OutOfMemoryException to OutOfMemoryError.
Also move ExceptionImplementation to core.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13818 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 12:20:52 +00:00
ahe@google.com 755abed9dc Generate snapshot for dartj2s; use it in the SDK.
Review URL: https://codereview.chromium.org//11187028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13773 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 11:25:11 +00:00