Ryan Dahl
8141448fe5
Don't use promises internally in DNS module
15 years ago
Ryan Dahl
48452838b3
Clean up context creation
15 years ago
Ryan Dahl
7538e70767
Expose versionMajor versionMinor to http messages
15 years ago
Rhys Jones
5b1a535cd8
Add HTTP client TLS support
15 years ago
Ryan Dahl
38e425d9bf
Add V8 heap info to process.memoryUsage()
15 years ago
choonkeat
44d5f212fe
Stat::Callback has 2 arguments for callback: current stat info and previous stat info
http://groups.google.com/group/nodejs/msg/f8e51a8e0c74bd85
15 years ago
Ryan Dahl
dc093ef833
Add process.loop() process.unloop()!!!
Move the event loop calls into javascript.
Makes life so much easier.
15 years ago
Friedemann Altrock
0433d828cf
add process.umask()
15 years ago
Friedemann Altrock
2d54d664ff
Promises should not be able to be canceled more than once.
15 years ago
Rhys Jones
b6dda61249
Initial TLS support
15 years ago
Ryan Dahl
1cacb50f2b
Fix memory leak on fs.write()
Reported by onne@onnlucky.com .
15 years ago
Ryan Dahl
39a12b2a22
Remove debug message
15 years ago
Ryan Dahl
7719ce33db
New http-parser
No longer based on Ragel, but hand-written.
Had to add HTTPConnection.resetParser() because the parser is stricter and
will error out when you try to give it a message after the previous had
"Connection: close". The HTTP client was doing that. Thus we reset the
parser manually after each new connection.
15 years ago
Ryan Dahl
686bec4f35
Only detach timers when active.
15 years ago
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