Commit Graph

2501 Commits

Author SHA1 Message Date
whesse@google.com 9981feb28b dart:io | Enable connection cache for secure networking clients.
BUG=dartbug.com/7230

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27875 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 11:20:05 +00:00
ajohnsen@google.com 40339eb127 Don't test writing 1 byte 65k times.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27867 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 09:10:46 +00:00
ajohnsen@google.com 17212e799f Skip process_sync_test on Windows for now.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27828 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 16:47:39 +00:00
ajohnsen@google.com c85e7f452d Mark process_sync_test as slow on windows.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27823 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 15:00:02 +00:00
ajohnsen@google.com d11df78618 Make stdout and stderr async.
This required some minor changes to the Windows eventhandler, as we now spawn a new thread for writes (just like we do for reads).

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27811 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 11:47:53 +00:00
kustermann@google.com ed3fe0161c test.py: Support for CompileTimeError,RuntimeError,MissingRuntimeError,MissingCompiletimeError markers in status files
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27804 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 10:21:15 +00:00
fschneider@google.com ab3e735f11 Fix range checks for typed data in native code and the optimizer.
TEST=tests/standalone/typed_data_test.dart
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27801 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 08:21:48 +00:00
sgjesse@google.com d1037c4493 Fix bugs in SocketAddress
The formatting of IPv6 strings was wrong on Linux and Mac OS - used
the IPv4 structure.

The fixed socket addresses for any and loopback for IPv6 was mixed up.

R=whesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27703 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 12:46:50 +00:00
johnmccutchan@google.com ff8d411331 Fix checked mode failure
Review URL: https://codereview.chromium.org//23531078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27686 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 02:27:04 +00:00
johnmccutchan@google.com c86bdc5bcf Expose field data, use class id, and merge all collections into "objects"
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27684 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 00:59:42 +00:00
whesse@google.com 4fc5c84809 Recommit add FileSystemEntity.resolveSymbolicLinks
This was reverted in r27481 because of a failure on the debug Windows VM buildbot.

BUG=dartbug.com/1016

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27612 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 12:29:47 +00:00
whesse@google.com c809653d9a dart:io | Change creation of symbolic links with relative targets on Windows.
A relative path to a target directory on Windows is changed to an absolute path,
joining the relative path to the directory the link is contained in.

BUG=dartbug.com/13279
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27566 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 12:21:05 +00:00
whesse@google.com 31c85401eb Revert "dart:io | Change File.fullPath to FileSystemEntity.resolveSymbolicLinks."
This reverts commit r27475.

BUG=dartbug.com/1016

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27481 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 15:00:26 +00:00
whesse@google.com c73be76dd4 Fix error in Fix of Windows test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27479 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 13:02:59 +00:00
whesse@google.com 31d2dc5947 Fix Windows test of resolveSymbolicLinks
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27477 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 12:33:56 +00:00
whesse@google.com f9ba5f494d dart:io | Change File.fullPath to FileSystemEntity.resolveSymbolicLinks.
BUG=dartbug.com/1016
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27475 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 11:15:12 +00:00
whesse@google.com ca27ddeafe Add FileSystemEntity.absolutePath and .isAbsolute properties.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27467 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 08:56:16 +00:00
whesse@google.com 27600274c8 Fix error handling when current working directory is deleted.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27433 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 14:30:23 +00:00
sra@google.com 21fdcce9b9 dart:typed_data type hierarchy changes try 3
Review URL: https://codereview.chromium.org//23618043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27413 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 23:05:27 +00:00
johnmccutchan@google.com bc987abea7 Revert type hierarchy changes
Review URL: https://codereview.chromium.org//23533046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27374 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 11:05:10 +00:00
ricow@google.com 0032257d32 Mark standalone/io/file_system_watcher_test as flaky timing out
Filed issue 13228

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27369 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 09:02:47 +00:00
johnmccutchan@google.com a2c4cf0896 Uint8ClampedList no longer inherits from Uint8List
Review URL: https://codereview.chromium.org//23464052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27366 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 08:06:22 +00:00
iposva@google.com 09a1a3824b - Add missing AddProperty function, which was lost during reformatting.
- Reenable vmservice tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27348 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 18:11:29 +00:00
iposva@google.com 3d5e47acfc - Disable vmservice/ tests temporarily.
Review URL: https://codereview.chromium.org//23983022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27347 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 17:57:28 +00:00
kustermann@google.com 5bb79cdda5 Followup CL after co19-roll to r576
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27340 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 15:55:07 +00:00
ajohnsen@google.com c04ce303ce Fix file_test after changing exception throw from readAsStringSync in File.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27330 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 11:37:35 +00:00
ajohnsen@google.com b57176ef54 Throw FileExceptions when in File when reading as String and decoding fails.
BUG=https://code.google.com/p/dart/issues/detail?id=13199
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27329 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 11:14:31 +00:00
ajohnsen@google.com 8fdf9b8ee6 Use correct output encoding in Process.runSync.
BUG=https://code.google.com/p/dart/issues/detail?id=13149
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27283 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 10:33:53 +00:00
ajohnsen@google.com d49e9b1bd3 Make sure we always have an 'open' asyncStart, while running tests in file_test.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27188 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 10:58:51 +00:00
ajohnsen@google.com f55580a137 Relax expectations for events on mac, and allow move events to not have a destination.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27184 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 09:31:35 +00:00
ajohnsen@google.com 1b9e2e8160 Run testReadAsText wrapped in createTempDirectory, as it uses the shared temp directory.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27180 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 08:53:08 +00:00
ajohnsen@google.com b8d9214b2c Be sure to enter monitor before notifying, in file_system_watcher_macos.
BUG=https://code.google.com/p/dart/issues/detail?id=13065
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27178 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 08:14:48 +00:00
ricow@google.com 0c4afa04b0 Mark standalone/io/file_system_watcher_test flaky on mac
Filed: issue 13065 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27176 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 07:03:54 +00:00
ricow@google.com 0a73c90237 Mark standalone/io/test_runner_test as flaky on simmips
We already have issue 12413 to track this.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27103 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 08:54:06 +00:00
ajohnsen@google.com 58e5923de2 Run file system operations in file_system_watcher_test after a runAsync delay.
This fixes the flakyness seen on Windows.

BUG=
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27065 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 16:07:06 +00:00
ajohnsen@google.com 7c53dfaf3f Make file system watcher compile on Mac OS 106, and add a runtime-call to test if the system supports the feature.
BUG=
R=kustermann@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27064 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 15:42:02 +00:00
sgjesse@google.com b1a115db63 Fix errors in dart:io tests found by the analyzer
TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27057 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 14:02:21 +00:00
ajohnsen@google.com 7f25bcad1a Make multi-test less strict, to avoid oddly-delayed errors on Windows.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27055 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 13:49:49 +00:00
sgjesse@google.com 18c75d3dc2 Update dart:io tests to use asyncStart/asyncEnd
R=ajohnsen@google.com
BUG=http://dartbug.com/12977

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27054 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 13:42:56 +00:00
ajohnsen@google.com 82e0b66a40 Remove unused line from file_system_watcher_test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27052 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 13:21:09 +00:00
ajohnsen@google.com 38bae0af02 Add FileSystemWatcher class to dart:io.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27048 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 12:43:08 +00:00
ajohnsen@google.com d47d589e92 Make sure to never report SocketExceptions on HttpResponse.
This fixes a case where the system might not fail on sending data, but first fail on closing the socket.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27039 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 11:05:08 +00:00
sgjesse@google.com 25d25afbd6 Use the same IP address for both server and client in web_socket_pipe_test
On Mac OS and Windows localhost by default resolve to IPv6 address ::1.

Also improve web_socket_pipe_test code and style as previously suggested.

R=whesse@google.com
BUG=http://dartbug.com/12974

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27012 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 12:00:56 +00:00
floitsch@google.com 57b38d163e Mark http_server_early_client_close_test as flaky.
Review URL: https://codereview.chromium.org//23545018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27007 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 10:36:21 +00:00
ajohnsen@google.com 5b151dafac Add library tag to web_socket_ping_test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27000 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 08:58:03 +00:00
ajohnsen@google.com 092a50623d Fix web_socket_ping_test to not use any timeouts longer than 100 ms.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26998 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 08:46:14 +00:00
ajohnsen@google.com 687d009cdb Increase timeout for http_response_deadline_test, to make it stable on DebugSIMARM.
BUG=https://code.google.com/p/dart/issues/detail?id=12850
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26997 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 08:43:31 +00:00
sgjesse@google.com 207c3d82e6 Skip newly added failing test
The test standalone/io/web_socket_pipe_test is failing on Mac OS and
Windows.

TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26994 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 08:12:29 +00:00
sgjesse@google.com c02b3dd335 Fix piping to a WebSocket
R=lrn@google.com
BUG=http://dartbug.com/12923

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26991 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 07:33:04 +00:00
whesse@google.com 887523c613 Add passing status for standalone/oom_error_stacktrace_test on dart2js with runtime=none.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26842 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 08:36:55 +00:00