Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Conflicts:
lib/tls.js
lib/url.js
src/node_version.h
test/simple/test-buffer.js
test/simple/test-url.js
|
|
fixes #897.
|
|
For greater flexibility in controlling node's initialization and startup, the
following new functions are exported.
- node::Init()
- node::SetupProcessObject()
- node::Load()
- node::EmitExit()
These are some of the major steps involved in node::Setup(). Exporting these
functions allows an embedding program to write a replacement for node::Start(),
and to have access to the node process object after it's created.
|
|
Conflicts:
src/node_version.h
|
|
|
|
|
|
|
|
Closes GH-644.
|
|
|
|
|
|
New() methods should be invoked as constructors, not regular functions.
Corner cases like Script::New() may cause a SIGSEGV when the GC is run.
More details: http://groups.google.com/group/nodejs/browse_thread/thread/a7e5db68d4cd6356
|
|
first step towards building a libnode.a
|
|
|
|
Stops Valgrind from complaining about uninitialized memory access.
|
|
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.
|
|
|
|
|
|
The child process 'exit' was returning the status of the process, rather than
the exit code. This patch properly deconstructs the status into the exit code
and the term signal a process may have received.
See:
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Watcher_Specific_Functions_and_Data_-5
and waitpid(2)
|
|
|
|
|
|
|
|
~7% improvement in hello world HTTP response bench.
|
|
stat info
http://groups.google.com/group/nodejs/msg/f8e51a8e0c74bd85
|
|
|
|
|
|
Deprecation warnings have been added to help the conversion to this new API.
|
|
|
|
This allows you to have binary data imported into your application via
strings instead of arrays of numbers! This needs testing before release.
|
|
This does not (should not) change behavior. Pulls those two functions
(encode/decode) out into node.cc.
|
|
|
|
Not necessary to build dll modules after all.
|
|
node --cflags
node --libs
At the expense of some WAF nastiness.
|
|
Compiled first working 'hello world' module with this config
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Simplify and inline ObjectWrap::Wrap
Inline and clean up ObjectWrap::Unwrap
Move ObjectWrap into its own file.
Remove handle from ObjectWrap constructor. add obj->Wrap(handle)
Simplify Attach/Detach in ObjectWrap
Remove ObjectWrap::InformV8ofAllocation. (Too messy/complex.)
|
|
|