node: register modules from DSO constructors
authorKeith M Wesolowski <wesolows@foobazco.org>
Tue, 17 Dec 2013 00:00:44 +0000 (00:00 +0000)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Mon, 27 Jan 2014 23:52:50 +0000 (15:52 -0800)
commit76b98462e589a69d9fd48ccb9fb5f6e96b539715
tree7e14eb4c89cdb4a913ca6f9976cf6b62da8b59df
parentf4c8020d1068ffba57458b327c62b61b1f29ec63
node: register modules from DSO constructors

Built-in modules should be automatically registered, replacing the
static module list.  Add-on modules should also be automatically
registered via DSO constructors.  This improves flexibility in adding
built-in modules and is also a prerequisite to pure-C addon modules.
25 files changed:
node.gyp
src/cares_wrap.cc
src/fs_event_wrap.cc
src/node.cc
src/node.h
src/node_buffer.cc
src/node_contextify.cc
src/node_crypto.cc
src/node_extensions.cc [deleted file]
src/node_extensions.h [deleted file]
src/node_file.cc
src/node_http_parser.cc
src/node_os.cc
src/node_version.h
src/node_zlib.cc
src/pipe_wrap.cc
src/process_wrap.cc
src/signal_wrap.cc
src/smalloc.cc
src/tcp_wrap.cc
src/timer_wrap.cc
src/tls_wrap.cc
src/tty_wrap.cc
src/udp_wrap.cc
src/uv.cc