simonw
516874f4a1
Documented repl.scope for explicitly exposing variables within the repl.
15 years ago
Friedemann Altrock
0433d828cf
add process.umask()
15 years ago
Rhys Jones
b6dda61249
Initial TLS support
15 years ago
Felix Geisendörfer
528c449901
Multipart improvements
Multipart parts now have a name and filename property. Those are the
same as:
part.headers['content-disposition'].name
part.headers['content-disposition'].filename
This patch also updates and improves the docs for the multipart module.
15 years ago
Ryan Dahl
6de2173d7c
Add options to process.watchFile()
15 years ago
Ryan Dahl
027829d285
bump version
15 years ago
Ryan Dahl
8d2f9e83a4
Add process.watchFile() process.unwatchFile()
This is an interface to libev's ev_stat watcher.
15 years ago
Ryan Dahl
ca2c7d1745
Add doc for uncaughtException
15 years ago
fwg
bd6c08a984
Add EventEmitter.removeListener
15 years ago
Ryan Dahl
2ca788e6e2
Add 'drain' event to tcp.Connection
15 years ago
Ryan Dahl
d1f69ef35d
bump version
15 years ago
Ryan Dahl
726865af7b
bump version
15 years ago
Ryan Dahl
3a70129a9c
Add sys.memoryUsage()
15 years ago
Ryan Dahl
f481183140
Add process.platform
15 years ago
Ryan Dahl
f97d339ce7
Add requires to google example in docs.
15 years ago
Ryan Dahl
f683867b98
module.name renamed to module.id for commonjs compat
15 years ago
Ryan Dahl
f5c95c388c
Fix search-replace errors in api.txt
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
57890465bd
A few more node->process changes
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
7b2fdc098b
Clean up posix module docs
15 years ago
Ryan Dahl
c536728335
Move node.dns.* into /dns.js
15 years ago
Ryan Dahl
3d8b14e6f7
node.fs.* moved into "/posix.js"
use require("/posix.js") to access them.
15 years ago
Ryan Dahl
eca2de73ed
bump version
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
04e53cab90
Rename node.libraryPaths to require.paths
to be more inline with CommonJS.
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
Felix Geisendörfer
f09d0cd93c
Documentation for Promise.timeout() and Promise.cancel()
15 years ago
Ryan Dahl
d79b6e9f7f
bump version
15 years ago
Ryan Dahl
335d9af71f
Update docs to use sys.js and not so much mixin().
15 years ago
Ryan Dahl
82465fc4b1
Do not use /bin/sh to create child processes.
Instead directly call execvp(). This change is needed for the
soon-to-be-added signal handlers because the /bin/sh parent process does not
pass all signals to it's children, particularly SIGUSR1 on Linux.
The parameters of createChildProcess had to be changed slightly.
utils.exec() also has a changed implementation. A bug involving quoted
arguments was knowingly introduced into utils.exec(). Will fix later.
15 years ago
Ryan Dahl
d67288b643
Add __module to reference current node.Module object.
15 years ago
Ryan Dahl
8185e1fd25
Remove include() add node.mixin()
include() should not be used by libraries because it will pollute the global
namespace. To discourage this behavior and bring Node more in-line with
the current CommonJS module system, include() is removed.
Small scripts like unit tests often times do want to pollute the global
namespace for ease. To avoid the boiler plate code of
var x = require("/x.js");
var foo = x.foo;
var bar = x.bar;
The function node.mixin() is stolen from jQuery's jQuery.extend. So that it
can be written:
node.mixin(require("/x.js"));
Reference:
http://docs.jquery.com/Utilities/jQuery.extend
http://groups.google.com/group/nodejs/browse_thread/thread/f9ac83e5c11e7e87
15 years ago
Ryan Dahl
522909bcbf
Parse queryString into req.uri.params
15 years ago
Ryan Dahl
4c51af882d
Fix typo
15 years ago
Ryan Dahl
e2b7902469
Don't use parseUri for HTTP server
The big parseUri RE was showing up often in profiles - this is simpler and
yields better performance by taking advantage of the C http parser.
15 years ago
Ryan Dahl
7b8842b619
Modify node_addon configure api
15 years ago
Ryan Dahl
5c9fe1fce1
Update addon documentation
15 years ago
Felix Geisendörfer
eeaa267cbe
Documentation for Multipart parser
Also added multipart.parse as a convenience function
15 years ago
Ryan Dahl
9c9d67eb6c
bump version
15 years ago
Ryan Dahl
a8c0211e73
Bugfix: require() and include() should work in callbacks.
Removing requireAsync and includeAsync from global scope for now as a
temporary fix. Reported by Yuffster.
15 years ago
Ryan Dahl
1ae69a68a4
Clean up some text in documentation.
15 years ago
Ryan Dahl
4ba5b7e24b
Add doc for node.compile()
15 years ago
Ryan Dahl
e972add0ea
Update module loading docs
15 years ago
Ryan Dahl
9f07a690c6
docs: Reference node.libraryPaths in helpers section.
15 years ago
Ryan Dahl
27738d8e60
Clean up some things in the repl, add docs.
15 years ago
Ryan Dahl
23c7f472d0
API: Move node.exit() to process.exit().
15 years ago
Ryan Dahl
095470854b
Move tcp library to /tcp.js
15 years ago