isaacs
5f2e90934e
Support octal strings for modes
This allows the various fs utilities and process.umask to be used in
ECMAScript 5 Strict Mode, where the octal literal format is verboten,
without requiring users to litter their code with a bunch of parseInt
calls.
14 years ago
Konstantin Käfer
9e101f2b01
UCS-2 support
Closes GH-644.
14 years ago
Ryan Dahl
aa95e5708f
Expose errno with a string.
14 years ago
Ryan Dahl
068b733583
Land Cantrill's DTrace patch
only works on solaris
14 years ago
Bert Belder
2ce0961de1
Improve error reporting on windows
14 years ago
Bert Belder
0eb4c2157d
Define winsock error numbers
14 years ago
Bert Belder
e0f47be9d0
Clean up the way windows headers are included
Plus make inclusion order a little more consistent in general
14 years ago
Ryan Dahl
4fa712c48f
debugger: error out without script
TODO:
debug> run script.js
14 years ago
Ryan Dahl
3770462ee3
Fix process.platform
14 years ago
Bert Belder
b7b0c92ac1
Don't attempt to capture SIGUSR1
14 years ago
Ryan Dahl
cd1ec27268
Add openssl version to process.versions
14 years ago
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
0dcbe3f74a
Fork out to debugger on debugger statements
Also implement continue in Client.
14 years ago
Ryan Dahl
0df804b9e7
start debug agent on SIGUSR1
14 years ago
Brian White
d75c338dd6
Add more functionality to the os module
14 years ago
Ryan Dahl
4227e9d79d
process.kill coerces args to integers
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
4a2cb07808
Fix whitespace errors introduced by porting efforts
14 years ago
Bert Belder
30bab52741
Disable node.cc functions that are not supported on windows
14 years ago
Bert Belder
dcc3508890
There's no SIGCHLD on windows
14 years ago
Bert Belder
4a42e408d2
Properly intialize winsock
14 years ago
Bert Belder
a177d60e2b
Fix headers for node.cc
14 years ago
Ryan Dahl
d0beac70f4
Revert "Simplify next tick logic by looping around ev_loop"
This reverts commit 241ea7e595
.
Fixes GH-511: https://github.com/ry/node/issues/issue/511
14 years ago
Ryan Dahl
ea9006a5bc
print warning on process.ENV
14 years ago
Ryan Dahl
81afb54c0a
Fix comment
14 years ago
Ryan Dahl
711196cafa
Don't call exit() from the signal handler
Fixes issue #457
14 years ago
Ryan Dahl
b57c1f51b9
Saner, yet still ugly, fix to displaying syntax errors
14 years ago
Tom Hughes
446beebd79
Add cmake build support.
Squashed commit of ca128f7dcd28cbcfba154c8577ed54d4aa71dd02 with
contributions from Mark Constable (markc@renta.net ) and Daniel Gröber
(darklord@darkboxed.org ).
14 years ago
Ryan Dahl
f6479f2fb6
Print deprecation warning on process.compile
14 years ago
Ryan Dahl
2320497992
Revert "Merge branch 'writev'"
This reverts commit cd9515efd9
, reversing
changes made to df46c8e698
.
Too slow. Needs more work.
14 years ago
Ryan Dahl
42357645cb
Dump after ev_loop
14 years ago
Ryan Dahl
241ea7e595
Simplify next tick logic by looping around ev_loop
This is also in preparation for the writev patch, which needs to dump
remaining data after ev_loop ends.
14 years ago
Ryan Dahl
00a1d61cc8
Fix OS::GetExecutablePath for platform_none
14 years ago
Ryan Dahl
c7b24efd21
Move ev_loop out of javascript
14 years ago
Ben Noordhuis
b4def4806c
Make writes to process.env update the real environment. Tests included.
14 years ago
Ryan Dahl
b2969a9155
Don't call AtExit twice
14 years ago
Ryan Dahl
ceb5331a64
Force exit on SIGINT but still reset flags on stdio fds
Add test that one can ctrl+c out of a script spinning infinitely.
14 years ago
Tom Hughes
78da9cb052
Add --max-stack-size flag.
v8 doesn't expose a command-line flag to set the stack size, so this
adds a new flag that node understands how to handle and uses v8's
ResourceConstraints API.
14 years ago
Tom Hughes
f61b110cf6
Add signal handlers so we clean up before exiting.
Add SIGTERM and SIGINT signal handlers so that we run the exit handlers
before exiting when getting these signals. Fixes an issue where we
couldn't run vi after CTRL+C'ing node because the stdin fd was left
non-blocking.
14 years ago
Ryan Dahl
c4636a578c
Dynamically load native scripts
14 years ago
Micheil Smith
83db91be41
Removed deprecated alias to lib/fs.js
14 years ago
Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
14 years ago
Rasmus Andersson
50443f08e0
environ symbol fix for Mac OS X
14 years ago
Ryan Dahl
cdd1d675a7
Remove old tcp module
14 years ago
Ryan Dahl
bc695475b9
Add Stream base class with stream.pipe
14 years ago
Ryan Dahl
5dd08c6c71
Ugly fix for clang
14 years ago
Ryan Dahl
783f5019b0
Add flag to disable colors in REPL
14 years ago
TJ Holowaychuk
9481bc1009
Added -e, --eval
14 years ago