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
Ryan Dahl
d408de87fc
Remove module.js - put code into src/node.js
15 years ago
Ryan Dahl
adec544fdd
Revert "Expose the V8 debug object process.debug"
This reverts commit d9fbb8a580
.
15 years ago
Ryan Dahl
d9fbb8a580
Expose the V8 debug object process.debug
Add one duplicate test from V8, just to make sure it works.
15 years ago
Danny Coates
dc8c079d90
remove node::CheckBreak in favor of using the v8 debugger js object
15 years ago
Ben Noordhuis
95638c9b0d
Buffer: adjust buffer size so the base64-decoded input fits snugly.
Stops Valgrind from complaining about uninitialized memory access.
15 years ago
Ryan Dahl
b3c0359b56
Only one line break before stacktrace
15 years ago
Ryan Dahl
d489555553
Use kqueue on recent macintosh builds
15 years ago
Ryan Dahl
5f30377bbc
Load modules in individual contexts
Add NODE_MODULE_CONTEXTS env var
Only one test was modified to check that this works. NEED to go through all
tests and modify them so that
NODE_MODULE_CONTEXTS=1 make test
passes.
15 years ago
Paul Querna
870aa3d97f
Move evals to extension module.
15 years ago
Paul Querna
ace2be8aa6
Move the Stat structure functions to node_file.cc
from node.cc, so we can convert fs to a module.
15 years ago