Commit Graph

2501 Commits

Author SHA1 Message Date
lrn@google.com 64553c2774 Fix expectation for 53-bit-overflow.
Make variable in error private.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24274 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 09:11:14 +00:00
ajohnsen@google.com 4624420914 Add NetworkAdaptor to dart:io.
NetworkAdaptor contains a static method, list, that will query the
underlaying system for active network adaptors.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24267 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 07:58:48 +00:00
lrn@google.com 0c90061029 Move FiftythreeBitOverflowError to VM-only patch file.
The class is not meaningful in the core library, and should go away once
dart2js has integers.

R=floitsch@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24265 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 07:31:48 +00:00
ajohnsen@google.com 37e42318e6 Only remove 'PATH' from environment in process_environment_test.
This allows the test to run on Windows.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24264 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 07:11:56 +00:00
ajohnsen@google.com e01bcbaa0d Include parent environment by default, add option to not, for Process.
BUG=https://code.google.com/p/dart/issues/detail?id=9294,https://code.google.com/p/dart/issues/detail?id=9295
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24262 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 06:44:55 +00:00
sgjesse@google.com 52329d346c dart:io | Add cache and getters to Platform
Cache the static part of the Platform object. Add boolean getters for operating system.

R=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24219 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 12:05:41 +00:00
devoncarew@google.com 762d86296b Fix for an issue w/ breakpointResolved events not being sent.
Added tests for breakpointResolved events.
Added tests for handling toString() invocations throwing exceptions, and extended debug_lib.dart to supported verifying values of local variables.

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24164 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 21:56:00 +00:00
ajohnsen@google.com 875b5c066a Use sync controller for directory listing.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24128 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 08:59:56 +00:00
ajohnsen@google.com 4a53caed71 Fix raw_socket_test off-by-one issue.
BUG=http://code.google.com/p/dart/issues/detail?id=8901

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24127 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 08:29:26 +00:00
ajohnsen@google.com 7c35150f84 Increase test size of directory_list_pause_test, to avoid flakyness on Windows.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24126 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 08:05:26 +00:00
ajohnsen@google.com 04f805ccd2 Use directories with content, to avoid very large folder and flakyness.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24124 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 07:10:23 +00:00
ajohnsen@google.com e8aeec7f19 Avoid double-// on directory listing.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24123 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 06:56:19 +00:00
zra@google.com 96d9a84693 Skips standalone tests for arm, simarm.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24119 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 00:48:20 +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 c3e6b58c0d Mark standalone/io/test_runner_test failing on unchecked mode dart2js only
Filed issue 11306

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24090 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 11:23:11 +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
ajohnsen@google.com 041c4e0cec Increase number of files created, to avoid flakyness on linux.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24084 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 10:22:24 +00:00
sgjesse@google.com 99667d9a0a Update status file
R=fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24079 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 09:15:58 +00:00
ajohnsen@google.com 1b83d3b52e Make Directory.list pull-based, making it possible to pause, resume and cancel directory listing.
BUG=https://code.google.com/p/dart/issues/detail?id=10163,
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24074 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 07:27:19 +00:00
floitsch@google.com ab953a1610 Update status file. Test is flaky.
Review URL: https://codereview.chromium.org//17152002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24066 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-15 12:05:36 +00:00
floitsch@google.com 63d3e4281b Update status file.
Review URL: https://codereview.chromium.org//17151002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24065 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-15 11:51:22 +00:00
floitsch@google.com 2ae198d527 Reapply "Zone support for Futures, Timer, Streams."
This reapplies commit r24034.
This reapplies commit r24035.
This reapplies commit r24036.
This reapplies commit r24037.

+ some status file updates and fixes.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24064 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-15 11:28:38 +00:00
floitsch@google.com 98b131e119 Revert "Update status file."
This reverts commit r24040.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24041 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 17:07:46 +00:00
floitsch@google.com 91362998b2 Update status file.
Review URL: https://codereview.chromium.org//17055005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24040 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 17:00:30 +00:00
regis@google.com fc08ce1aa4 Fix left shift with constant on ARM.
Implement float array store on ARM.
Update status files.

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24033 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 16:22:00 +00:00
iposva@google.com 2751c183b7 - Skip IO tests on ARM as they are still flaky.
R=kustermann@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24032 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 15:30:00 +00:00
sgjesse@google.com 7ce40aa3a0 dart:io | Add File.rename
R=ajohnsen@google.com
BUG=

Committed: https://code.google.com/p/dart/source/detail?r=24029

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24030 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 13:34:54 +00:00
sgjesse@google.com 000875ca45 dart:io | Add File.rename
R=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24029 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 12:58:21 +00:00
ricow@google.com 3e0e165a22 Update sim arm status for flaky io test
standalone/io/stream_pipe_test is flaking

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24018 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 07:25:19 +00:00
zra@google.com 826b6ce267 Fix status files for SIMARM, SIMMIPS.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24014 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 22:28:34 +00:00
sgjesse@google.com 7b98ebcfeb Update status file
TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24003 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 18:34:33 +00:00
sgjesse@google.com 96c3d48746 Update status file
TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23997 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 16:39:13 +00:00
whesse@google.com b5af633ff8 dart:io | Rename optional carryOverData argument to SecureSocket.secureServer to bufferedData.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23992 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 15:59:44 +00:00
sgjesse@google.com 4260f435eb Update status file
TBR=ricow@google.com

Update status file

TBR=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23991 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 15:59:33 +00:00
sgjesse@google.com 1b96fae1a3 Update status file
TBR=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23990 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 15:54:33 +00:00
ajohnsen@google.com 199937ce45 Clean up quotes in imports.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23985 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 14:41:06 +00:00
ajohnsen@google.com 80a28e9f12 Import dart:collection in dart:io unit-tests.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23982 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 14:24:02 +00:00
sgjesse@google.com 0cd11fcdc3 Remove Encoding.BINARY
THe Encoding.BINARY was a bad idea. It is now removed and null is used to indicate binary result from Process.run.

R=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23977 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 13:06:11 +00:00
sgjesse@google.com b7260126ca Make some HTTP utility functions public
Added a new static function splitQueryString to the URI class to expose parsing of a query string without constructing a URI.

Added class HttpDate in dart:io with a few HTTP date parsing and formatting methods.

Also turned some Uri comments into dartdoc.

I have not remove the parseQueryString and decodeUrlEncodedString from _HttpUtils as they still do some non standard things that I am not sure we want to add to the URI class. These are:

* Supporting semi-colon as separator in query strings (see http://www.w3.org/TR/REC-html40/appendix/notes.html#ampersands-in-uris)
* Supporting other encodings than UTF-8 for percent encoded strings

R=ajohnsen@google.com
BUG=http://dartbug.com/9888

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23972 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 12:19:09 +00:00
sgjesse@google.com c2d41fb1ba Add support for binary stdout/stderr data when using Process.run
R=ajohnsen@google.com
BUG=http://dartbug.com/9167

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23962 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 10:27:54 +00:00
sgjesse@google.com b534c7fdf3 Update status file
There is no longer a crypty sub-directori in standalone.

R=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23961 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 10:22:45 +00:00
srdjan@google.com 1affede0be Fix broken Mac SIMARM by adapting the status files. We need to find a better way to handle this :-).
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23947 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 00:36:12 +00:00
regis@google.com d6b41b2f56 Mark tests as timing out.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23921 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 17:35:59 +00:00
regis@google.com 264d28744f Fix decoding of object pool access in code patching on ARM.
Fix shift by zero and divide by one on ARM.
Update test status files.

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23920 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 16:57:06 +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
sgjesse@google.com 55709f1f43 Ensure that only byte values are sent by sockets and web sockets
R=ajohnsen@google.com
BUG=http://dartbug.com/11007

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23896 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 08:33:16 +00:00
zra@google.com 4d7d27c8c1 Fix status file for ARM.
Review URL: https://codereview.chromium.org//16791002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23880 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 20:52:38 +00:00
kustermann@google.com b13c4123b9 Don't skip vm/corelib/isolate/lib/standalone tests on ARM
TBR=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23860 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 15:57:21 +00:00
kustermann@google.com f73188d127 Use gnueabihf for ARM + enabled corelib/isolate/lib/standalone tests on ARM again
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23854 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 14:21:28 +00:00
ajohnsen@google.com 5ce3b9ddea Clean up dart:io exceptions.
- Introduce IOException.
- Remove HttpParserException.
- Merge RedirectLimitExceededException and RedirectLoopException into
RedirectException.
- Remove 'IO' from FileIOException, DirectoryIOException, LinkIOException
and SocketIOException.

BUG=https://code.google.com/p/dart/issues/detail?id=9955
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23848 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 13:15:46 +00:00