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
Paul Querna
82daa46e26
Move Buffer to extension model.
15 years ago
Paul Querna
4f7f43762d
Move child process to extension model.
15 years ago
Paul Querna
e65c27062f
Move http parser to extension model.
15 years ago
Paul Querna
e51aef7f3c
Move signal_watcher to extension model.
15 years ago
Paul Querna
208290b524
Move cares to extension model
15 years ago
Paul Querna
e5bb8abc9d
Move stdio to extension model.
15 years ago
Paul Querna
8dbfe5ea8f
Use the top level check for the bindings cache
(rather than each potential module having its own if check)
15 years ago
Paul Querna
30dadfc033
Register builtin extensions via a macro, rather than a manual strcmp
Set the stage for making the builtin modules more dynamic.
Note: this only converts crypto and net, I will add more extensions in a
later commit.
* node.h: Add utility macro for converting macro values to strings.
* node.h: Include the actual module name inside the module structure, not
just the file it was built from.
* node.h: New Macro, NODE_MODULE_DECL, for declaring an external reference
to a module structure.
* node_extensions.cc: New File, implements get_builtin_module, which
iterates over the module structures that are compiled into node.
* node.cc(node::Binding): Use the new module lookup function to find
modules.
* node_{net,crypto}.c: Add NODE_MODULEs to generate the module structure.
15 years ago
isaacs
781d51285d
Use execPath for default NODE_PATH, not installPrefix
15 years ago
Jérémy Lal
fb645f75fb
Update ronnjs (fix rendering of html self-closing tags)
15 years ago
Ryan Dahl
50c38dec70
Update README, remove ref to Ronn
15 years ago
Mikeal Rogers
16cb45103f
Adds "pause" and "resume" events to pump and it's readable argument.
15 years ago
David Siegel
2085909aeb
fix corner-case bug in Module
and added a test to expose it
15 years ago
Ryan Dahl
6bf294d71a
JSON is %j not %f
15 years ago
Paul Querna
367b87d26d
Add support for the module structure to process.dlopen.
15 years ago
Paul Querna
49066042a2
Add basic structure and macros for node modules.
15 years ago
Paul Querna
480164f923
Move node version to a single static header file.
Some compile time variables like the cflags and prefix have been moved to
the node_config.h.in, in the anticipation that they will be removed at
somepoint.
15 years ago
Peter Griess
99a5d1e293
Free kbuf[] in Verify::VerifyFinal().
15 years ago
Peter Griess
ac2404283e
Coverity stack size warnings in DefineConstants().
15 years ago
rick
c9e505791a
use delete for removing events after removing the final listener
15 years ago
Jérémy Lal
abd3f8a02a
make node.1 depend on make all
15 years ago
Jérémy Lal
4be4b5f6f4
lib/node, not lib/nodejs !
15 years ago
Brian
554b02a14c
Improve docs
Added default values for many parameters, missing properties and methods,
and slight reorganization of the Child Process section.
15 years ago
Ryan Dahl
d700a6f74a
Return child from execFile
15 years ago
Peter Griess
7a706e4206
Coverity fixes: src/platform_linux.cc
15 years ago
Peter Griess
6eb0b6ac27
Coverity fixes: src/node_net
15 years ago
Peter Griess
760fb17bbf
Coverity fixes: src/node_file
15 years ago
Peter Griess
792c7caf40
Coverity fixes: src/node_crypto
15 years ago
Peter Griess
4e3c5d88b3
Coverity fixes: src/node.cc
15 years ago
Adam Wiggins
c8dba94ff6
docs for dgram module (UDP and unix sockets)
15 years ago
Jérémy Lal
a7763d55e4
Fix spelling error
15 years ago
Jérémy Lal
2b8a9a8358
Use ronnjs 0.2 to generate docs. Small cosmetic change.
15 years ago
Jérémy Lal
a7e1efc5bd
Environment variables NODE_PREFIX, NODE_PATH in node-waf
Those variables have following defaults :
- NODE_PREFIX is relative to the current path of the node_addon.py file
It is used as the base path of node include files.
- NODE_PATH is ~/.node_libraries
It's where modules are installed when calling `node-waf install`
Note .js files must be explicitely installed by the module's wscript.
Usage :
NODE_PREFIX=/usr/local NODE_PATH=~/.node_libraries node-waf configure
15 years ago
Ryan Dahl
b1901cd5a5
hack fix to v8 2.2.23
15 years ago
Ryan Dahl
facb904c5d
Upgrade V8 to 2.2.23
15 years ago
Dmitriy Shalashov
70a8fb3763
Fix headers with empty value.
15 years ago
Brian
1191ca052f
Fix docs
Added consistency to the representation of optional parameters and separated
out multiple functions that were in a single heading.
15 years ago
Jerome Etienne
8e9f59a452
Support of console.dir + console.assert
15 years ago
Ryan Dahl
0bceaaa3d4
Fix addon example in docs
15 years ago
Ryan Dahl
3d948d85ce
Remove a bunch of useless waf files
15 years ago
Ryan Dahl
0315251d01
Use 'on' in the docs
15 years ago
Ryan Dahl
515dc2161b
Experimental: 'on' as alias to 'addListener'
15 years ago
Ryan Dahl
a6b8586e94
bump version
15 years ago
Ryan Dahl
2072925f12
Upgrade V8 to 2.2.21
15 years ago
Peter Griess
94cd83ef34
Doc fixes for FD related features, upgrade.
- Add docs for 'fd' events, Server.listenFD(), Stream.write(...[, fd])
and http.Client 'upgrade' event.
15 years ago
Ryan Dahl
82ce3481fe
Fix undefined_reference_in_new_context test
15 years ago
Ryan Dahl
192234c689
Remove unnecessary defines in node_events.cc
15 years ago
Ryan Dahl
2998e3bafa
Add my awk script to update AUTHORS file
15 years ago
Ryan Dahl
24de2bd58c
Amend .gitignore
15 years ago