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
isaacs
e9b6b0b327
Report "weird" errors a little better.
There are a few kinds of errors that are very confusing.
1. Errors raised in nextTick
2. Errors emitted on the "error" event
3. RangeErrors that crash the program (or anything without a stack trace)
Long traces will make make these better, of course. In the meantime, this
adds a few handy signposts (in the form of better error reporting and
comments on the otherwise inscrutable code printed to the terminal) that can
help new users find the cause, or at least, ask for help more effectively.
14 years ago
Ben Noordhuis
55c65cc2d5
Safe constructor for ObjectWrapped classes
New() methods should be invoked as constructors, not regular functions.
Corner cases like Script::New() may cause a SIGSEGV when the GC is run.
More details: http://groups.google.com/group/nodejs/browse_thread/thread/a7e5db68d4cd6356
14 years ago
Ryan Dahl
124fbedc2f
Add node::Start()
first step towards building a libnode.a
14 years ago
Ryan Dahl
776754c33f
Remove process._byteLength
14 years ago
Ryan Dahl
01b3418e2e
Move IOWatcher and Timer to process.binding
14 years ago
Ryan Dahl
5a801d63d1
Finally remove process.unloop
14 years ago
Ryan Dahl
f8ce848d9b
Remove process.global
14 years ago
Ryan Dahl
31f8fa222e
Add require('constants')
14 years ago
Ryan Dahl
6eca948ca2
Move constants out of process object
14 years ago
Paul Querna
5a00d9d50f
Use the Apple recommended way of detecting OSX Versions
to enable KQueue, rather than deciding based on the compiler version.
14 years ago
Ryan Dahl
17f3ffa633
Call Tick() after coming out of select()
Previously we would only call it before going into select(). This is needed
to fix test/simple/test-next-tick-ordering2.js.
15 years ago
Ryan Dahl
5bce8ed118
Fix process.platform
15 years ago
Ryan Dahl
39b432e42a
Add process.versions
15 years ago
Ryan Dahl
5185c15ef7
Stub out process.title
15 years ago