Ryan Dahl
2a7e7b1c46
start debug agent on SIGUSR1
14 years ago
Ryan Dahl
90e55c3357
Rather have the debugger be parent process
14 years ago
Ryan Dahl
0adc6b29bd
Start on frame zero - don't do extra break
14 years ago
Ryan Dahl
8874c51d04
Disable OPOST
Helps when sharing a tty with non-raw mode processes
14 years ago
Ryan Dahl
0dcbe3f74a
Fork out to debugger on debugger statements
Also implement continue in Client.
14 years ago
Ryan Dahl
8d82ec2130
Add beginning of build-in debugger
+ test-debugger-client (which is currently broken)
14 years ago
Ryan Dahl
0df804b9e7
start debug agent on SIGUSR1
14 years ago
Tom Hughes
54b1f8028a
Free (ref-counted) private key.
14 years ago
Brian White
8275d7cd34
Fix Cygwin compatibility in the os module
14 years ago
Brian White
d75c338dd6
Add more functionality to the os module
14 years ago
Tom Hughes
b38f4712c4
Fix memory leak in node_crypto.cc.
Both HexDecode and unbase64 allocate buffers, which weren't being freed.
14 years ago
Tom Hughes
4b555091e4
Fix memory corruption with unnamed AF_UNIX sockets.
AF_UNIX sockets can have a pathname, be unnamed, or abstract (Linux
only). If an unnamed socket is returned by getsockname, getpeername, or
accept, sun_path should not be inspected.
14 years ago
Ryan Dahl
4227e9d79d
process.kill coerces args to integers
14 years ago
Theo Schlossnagle
b202483e47
The following error can be thrown from accept on ECONNABORT. Instead, it should be ignored.
net:1100
if (e.errno != EMFILE) throw e;
^
Error: ECONNABORTED, Software caused connection abort
at IOWatcher.callback (net:1098:24)
at node.js:773:9
14 years ago
Bert Belder
86518c3b11
Port GetHostName
14 years ago
Bert Belder
a6f2082b33
Fixes to child process
14 years ago
Bert Belder
0a2f1cb334
Child processes
14 years ago
Bert Belder
0b96c5bc3b
Make using winsock extension functions possible
14 years ago
Bert Belder
bd62203d13
Support for non-overlapped sockets
By default windows creates sockets with the WSA_FLAG_OVERLAPPED flag set.
Because child processes don't expect to have overlapped stdio (it never happens)
it won't work with them.
14 years ago
Bert Belder
fe804d9bc7
_Partial_ backslash support in node.js argv directory munging
Doesn't do it when node is started from another drive using a drive-relative path.
E.g:
d:
cd nodejs
c:
d:node.exe d:test.js
14 years ago
Bert Belder
ad41e778b4
Port socketerror
14 years ago
Bert Belder
dd3308851d
Fix connect bug
14 years ago
Bert Belder
4a2cb07808
Fix whitespace errors introduced by porting efforts
14 years ago
Bert Belder
46dc393ff1
node_net: IsIP and CreateErrnoException just work
14 years ago
Bert Belder
a807ac6660
Bugfixes, more consistency in node_net error handling
14 years ago
Bert Belder
2d39e1341c
Make node_net Connect work
14 years ago
Bert Belder
cecc351303
Make node_net Shutdown work on windows
14 years ago
Bert Belder
bea5e6eff6
Re-enable stat watchers on windows
This reverts commit b8a99f94167a25f63ae096d9d5e2cc9cf70cecef.
14 years ago
Bert Belder
f48c36f74f
Use unicode and bigfile aware stat/fstat
14 years ago
Bert Belder
1361e87e80
Fix error reporting and EAGAIN handling bug in net Write
Clarify some comments as well
14 years ago
Bert Belder
03a74efb16
Don't break the linux build
14 years ago
Bert Belder
8b9f7c6eb2
Make Read and Write in node_net.cc actually work on sockets
14 years ago
Bert Belder
13fb6f7fa1
Make Socket, Bind, Listen, Accept work for windows
14 years ago
Bert Belder
51300f36d6
Make SetNonBlock and SetSockFlags work on FDs instead of sockets
However, don't use _get_osfhandle in Close()
14 years ago
Bert Belder
6e522fb27b
Use the c-ares pton/ntop hack in node_net.cc as well
14 years ago
Bert Belder
3947269f97
Mingw32 has no inet_pton/inet_ntop; import them from c-ares (hack)
14 years ago
Bert Belder
d7de459b80
Use ares_socket_t instead of int for sockets
14 years ago
Bert Belder
6e54f416ad
Fix header files for node_cares.cc
14 years ago
Bert Belder
1937c5e3c1
On windows, there's no support (yet) for chown and symlink functions
14 years ago
Bert Belder
51c6867280
On windows, stat() doesn't give you block (size) info
14 years ago
Bert Belder
f9a74a2327
On windows, mkdir() doesn't take a mode parameter
14 years ago
Bert Belder
8fc3bac868
Fix fsync/fdatasync for windows
14 years ago
Bert Belder
fae7b81589
On windows use eio__pread and eio__pwrite (hack)
14 years ago
Bert Belder
c7f0341d88
Include windows.h in node_file.cc
14 years ago
Bert Belder
a85a776268
Most of node_net is not yet available on windows
14 years ago
Bert Belder
7a1917d86f
Make SetNonBlock and SetSockFlags work on mingw
14 years ago
Bert Belder
cbf73fcccd
Fix headers for node_net.cc
14 years ago
Bert Belder
cd921c2c62
S_IFLNK, S_IFSOCK and SIGCHLD are not available on windows
14 years ago
Bert Belder
81b26dc555
Stat watchers don't work on windows yet
14 years ago
Bert Belder
b4510d57dc
There is no child process support for windows yet
14 years ago