zundel@google.com
42b28f0329
fix build break for running vm tests.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8227031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@355 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 23:09:07 +00:00
sgjesse@google.com
b00030ff38
Disable SocketManyConnectionsTest test on Mac OS
...
The Mac OS buildbot did not like the test - failed with "Too many open files".
TBR=ager@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8233012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@332 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 15:21:59 +00:00
sgjesse@google.com
74e4e46c2f
Fix wrong pointer arithmetic when extending the file descripter list in the eventhandler
...
This caused random crashes due to memory corruption when the file descripter list in the eventhandler needed to be extended.
R=ager@google.com
BUG=none
TEST=tests/dart/src/SocketManyConnectionsTest.dart
Review URL: http://codereview.chromium.org//8231005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@331 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 15:05:32 +00:00
ager@google.com
cf136a7685
Use isolates for directory listing.
...
Use isolates to make directory listing asynchroneous from the point
of view of the main Dart isolate. Each listing operation will spawn
a new heavy isolate to perform the actually directory listing using
the synchroneous OS primitives.
R=sgjesse@google.com ,iposva@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8232005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@327 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 13:12:14 +00:00
sgjesse@google.com
b7485553a2
Fix deadlock in process exit handling
...
As glibc allocation routines are not re-entrant avoid calling delete in signal handler.
Instead the message send from the signal handler on process exit contains both the pid and the exit code. The internal _Process object always installs a data handler for the exit message and calls back into C++ to cleanup the resources allocated for running a process.
Changed the ActiveProcess (renamed to ProcessInfo) to form an explicitly linked list.
R=ager@google.com
BUG=dart:1
TEST=
Review URL: http://codereview.chromium.org//8227010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@325 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 11:26:12 +00:00
ager@google.com
f56cef3d57
Skip directory tests when not running on the VM.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8220004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@300 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-10 15:19:44 +00:00
ager@google.com
c123e91ddd
Add simple directory listing test.
...
For now, just test that we list something and that no errors occur.
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8222006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@299 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-10 15:06:28 +00:00
ngeoffray@google.com
96303f1dab
Use import directives instead of --expose_core_impl.
...
Review URL: https://chromereviews.googleplex.com/3561018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@227 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:56:12 +00:00
ager@google.com
4914d6c9c6
Windows Sockets: handle client socket close correctly.
...
When the client closes the socket on which it is listening
GetQueuedCompletionsStatus can return with the error
ERROR_NETNAME_DELETED.
R=sgjesse@google.com
BUG=2
TEST=EchoServerTest.dart
Review URL: https://chromereviews.googleplex.com/3573014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@209 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 11:17:58 +00:00
ager@google.com
6fe04a2202
Mark EchoServerTests as Pass || Crash on Windows while we investigate.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3564014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@197 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:56:01 +00:00
asiva@google.com
0b30a49971
5419598: Add a setjmp around the isolate spawning code so that parse errors
...
are caught and reported as errors.
5417103: Add a setjmp around Dart_Run_Loop so that parse errors
are caught and reported as errors.
Review URL: https://chromereviews.googleplex.com/3553012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@140 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 18:33:36 +00:00
sgjesse@google.com
63782c5c50
Disable process tests on Linux
...
They can cause timeout once in a while.
R=ager@google.com
BUG=dart:1
TEST=
Review URL: https://chromereviews.googleplex.com/3531019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@130 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:25:30 +00:00
sgjesse@google.com
6abaad8aa1
Restructured socket tests and fixed readUntil on InputStream
...
Most of the socket tests where written with closing both the server and client ends of the socket. However on Windows this can lead to errors once in a while (WSAECONNRESET). The tests now closes the socket in the client and and waits for a close event on the server side.
The readUntil on InputStream did not take data in the internal buffer into account. This has been fixed and the related test have been rewritten to check for two patterns which together will match all the input.
R=ager@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3536016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@126 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:47:49 +00:00
floitsch@google.com
15727ed074
Rename DateTime to Date.
...
Review URL: https://chromereviews.googleplex.com/3529013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@107 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 10:14:49 +00:00
zundel@google.com
78d16cca6c
Create a directory for python package, move 'testing' in there
...
Review URL: https://chromereviews.googleplex.com/3514028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:01:12 +00:00
sgjesse@google.com
f4b71c573b
First step in enabling the process tests
...
This will enable the process tests for debug mode on Linux and Mac OS.
When access to command line options becomes available I will pass the full path to the process_test executable on the command line instead of hard-coding a relative path.
R=ager@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3524014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 10:31:37 +00:00
dgrove@google.com
4c0f559d23
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:20:07 +00:00