Ryan Dahl
8195e0f723
Fix default value for persistent in watchFile()
15 years ago
Ryan Dahl
6de2173d7c
Add options to process.watchFile()
15 years ago
Ryan Dahl
8d2f9e83a4
Add process.watchFile() process.unwatchFile()
This is an interface to libev's ev_stat watcher.
15 years ago
Felix Geisendörfer
2b252acea4
Implement process "uncaughtException" event
This event can be used to overwrite the default exception mechanism which
reports the exception and kills the node process.
See google group post:
http://groups.google.com/group/nodejs/browse_thread/thread/9721dc3a2638446f
15 years ago
fwg
bd6c08a984
Add EventEmitter.removeListener
15 years ago
Johan Sørensen
04f9c9fb09
Supply the strerror as a second arg to the tcp.Connection close event
15 years ago
Ryan Dahl
06d493e7e3
Remove debug message
15 years ago
Felix Geisendörfer
bb8f0725da
Bugfix, Promise.timeout() blocked the event loop
Promise.timeout() was blocking the event loop from shutting down while it
was waiting for an internal timer to fire. This timer is now cleared when
it is no longer needed, causing the event loop to shut down as fast as
possible.
15 years ago
Felix Geisendörfer
7371fcb312
Temporary function to determine str byte length
Will need a better place later on
15 years ago
Felix Geisendörfer
1026ffea40
Proper deprecation message for process.inherits
15 years ago
Ryan Dahl
2ca788e6e2
Add 'drain' event to tcp.Connection
15 years ago
Ryan Dahl
cff1df1f9b
Fix ev_unref error in signal handler
15 years ago
Ryan Dahl
42dd629c16
deprecation error for process.inherits()
15 years ago
Ryan Dahl
1020efb6f7
Create require.main, remove process.cat()
15 years ago
Ryan Dahl
43121c15be
API: rename process.inherits to sys.inherits
15 years ago
Ryan Dahl
d737a060c8
Combine all compiled javascript files into src/node.js
15 years ago
Ryan Dahl
51c1526b6a
Revert "Upgrade http parser, change node as needed."
Something is broken in how keep-alive is working. Reverting until I can fix
it.
This reverts commit b893859c34
.
15 years ago
Ryan Dahl
c6bd0e56cb
Fix regexp in file extension checking
15 years ago
Ryan Dahl
711774c1f0
Remove unreachable lines
15 years ago
Brandon Beacher
47fcf785ac
Added process.chdir()
15 years ago
Ryan Dahl
b3b3cfe007
Move memoryUsage() into C on Linux
15 years ago
Ryan Dahl
3a70129a9c
Add sys.memoryUsage()
15 years ago
Ryan Dahl
f481183140
Add process.platform
15 years ago
Felix Geisendörfer
43d651daef
The return of relative module loading
15 years ago
Felix Geisendörfer
7069bee982
The return of absolute Module loading
15 years ago
Felix Geisendörfer
8fd472b9a1
The return of remote module loading
15 years ago
Ryan Dahl
9bd2717e74
require.paths aliased as process.path
15 years ago
Ryan Dahl
f230e45183
Update deprecation errors.
15 years ago
Ryan Dahl
9a7321ebb0
Don't call process.exit() on missing module.
Just raise exception naturally.
15 years ago
Ryan Dahl
f683867b98
module.name renamed to module.id for commonjs compat
15 years ago
Ryan Dahl
7a2e784ad7
Module refactor - almost CommonJS compatible now
API change summary:
* require("/sys.js") becomes require("sys")
* require("circle.js") becomes require("./circle")
* process.path.join() becomes require("path").join()
15 years ago
Ryan Dahl
ad0a4cefb8
Namespace EVERYTHING under process; introduce GLOBAL
http://groups.google.com/group/nodejs/browse_thread/thread/1034fd2ad2cd93e8
15 years ago
Felix Geisendörfer
659954d842
The return of Promise.cancel() with some additional tests & docs
15 years ago
Ryan Dahl
3d8b14e6f7
node.fs.* moved into "/posix.js"
use require("/posix.js") to access them.
15 years ago
Ryan Dahl
ae7c9909be
fix error from v8 upgrade
15 years ago
Ryan Dahl
efe34f5023
Only allow a promise to fire once, remove promise.cancel()
promise.cancel() is due to return at some point.
15 years ago
Ryan Dahl
a5df0f6a65
Prefix all source files with node_
15 years ago
Ryan Dahl
2bac299aed
Remove unused macro
15 years ago
Ryan Dahl
04e53cab90
Rename node.libraryPaths to require.paths
to be more inline with CommonJS.
15 years ago
Ryan Dahl
cfe5876350
Add v8 patch to fix mac x64 build.
http://codereview.chromium.org/284012
15 years ago
Ryan Dahl
b893859c34
Upgrade http parser, change node as needed.
The latest version of http-parser is a bit more stringent EOF semantics.
15 years ago
Ryan Dahl
3456a16f71
Accept string representations of signals in node.kill and child.kill
15 years ago
Brandon Beacher
334d56d2be
Added external interface for signal handlers.
Also process.pid and node.kill().
15 years ago
Connor Dunn
2dbd0d3806
Add node.fs.sendfile()
15 years ago
Ryan Dahl
a1e5089d9b
Add connection.fd getter.
15 years ago
Timothy Caswell
8bf9a42c70
Cleanup node.fs.cat to follow the newer style to match the code of file.writeFile
15 years ago
Ryan Dahl
2b8ab7e24f
utils.js links to sys.js instead of other way around
15 years ago
Felix Geisendörfer
0329468e73
Fix for confusing deprecation message
15 years ago
Ryan Dahl
12c2ea05ca
Bugfix: 'data' event for stdio should emit a string
Was emitting a single element array where array[0] was the input.
15 years ago
Ryan Dahl
d949074014
Add some code comments to net.cc
15 years ago