Ryan Dahl
124fbedc2f
Add node::Start()
first step towards building a libnode.a
15 years ago
Ryan Dahl
776754c33f
Remove process._byteLength
15 years ago
Ryan Dahl
01b3418e2e
Move IOWatcher and Timer to process.binding
15 years ago
Ryan Dahl
5a801d63d1
Finally remove process.unloop
15 years ago
Ryan Dahl
f8ce848d9b
Remove process.global
15 years ago
Ryan Dahl
31f8fa222e
Add require('constants')
15 years ago
Ryan Dahl
6eca948ca2
Move constants out of process object
15 years ago
Paul Querna
5a00d9d50f
Use the Apple recommended way of detecting OSX Versions
to enable KQueue, rather than deciding based on the compiler version.
15 years ago
Ryan Dahl
17f3ffa633
Call Tick() after coming out of select()
Previously we would only call it before going into select(). This is needed
to fix test/simple/test-next-tick-ordering2.js.
15 years ago
Ryan Dahl
5bce8ed118
Fix process.platform
15 years ago
Ryan Dahl
39b432e42a
Add process.versions
15 years ago
Ryan Dahl
5185c15ef7
Stub out process.title
15 years ago
Ryan Dahl
d408de87fc
Remove module.js - put code into src/node.js
15 years ago
Ryan Dahl
adec544fdd
Revert "Expose the V8 debug object process.debug"
This reverts commit d9fbb8a580
.
15 years ago
Ryan Dahl
d9fbb8a580
Expose the V8 debug object process.debug
Add one duplicate test from V8, just to make sure it works.
15 years ago
Danny Coates
dc8c079d90
remove node::CheckBreak in favor of using the v8 debugger js object
15 years ago
Ben Noordhuis
95638c9b0d
Buffer: adjust buffer size so the base64-decoded input fits snugly.
Stops Valgrind from complaining about uninitialized memory access.
15 years ago
Ryan Dahl
b3c0359b56
Only one line break before stacktrace
15 years ago
Ryan Dahl
d489555553
Use kqueue on recent macintosh builds
15 years ago
Ryan Dahl
5f30377bbc
Load modules in individual contexts
Add NODE_MODULE_CONTEXTS env var
Only one test was modified to check that this works. NEED to go through all
tests and modify them so that
NODE_MODULE_CONTEXTS=1 make test
passes.
15 years ago
Paul Querna
870aa3d97f
Move evals to extension module.
15 years ago
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
Paul Querna
367b87d26d
Add support for the module structure to process.dlopen.
15 years ago
Peter Griess
ac2404283e
Coverity stack size warnings in DefineConstants().
15 years ago
Peter Griess
4e3c5d88b3
Coverity fixes: src/node.cc
15 years ago
Ryan Dahl
8a52fb7aeb
Revert "Fix 'uncaughtException' for top level exceptions"
This reverts commit 8f8dcf8ed6
.
15 years ago
Ryan Dahl
8f8dcf8ed6
Fix 'uncaughtException' for top level exceptions
Done by not evaluating the code in the first tick.
This breaks one test in test-error-reporting.js but I believe this to be a
V8 error and I have reported it in
http://code.google.com/p/v8/issues/detail?id=764
15 years ago
Blake Mizerany
8c8534046c
fix whitespace errors
15 years ago
Ryan Dahl
e2db605308
Use EVBACKEND_POLL on Solaris; select() is just a wrapper anyway
15 years ago
Ruben Rodriguez
242161bef2
Added new API to Script, and implemented it in the REPL
15 years ago
Ryan Dahl
f541043618
Remove ini.js
15 years ago
Ryan Dahl
fc175a089d
Remove mjsunit from repo
15 years ago
Marshall Culpepper
ca35ba640a
Initial implementation of process.execPath
Darwin, Linux, Solaris. FreeBSD still needs testing.
TODO: Amend the tests where we use spawn with argv[0].
15 years ago
Ryan Dahl
01a8d270cf
Add platform files, move getmem to node::OS class.
15 years ago
Ryan Dahl
6bed15e074
Refactor: Utf8Decoder -> StringDecoder
Instead of just decoding Utf8, this will proxy requests to buffer.toString()
for other encodings. This makes for a simpler interface.
15 years ago
Paul Querna
02da5ed4a1
Implement datagram sockets
- Adds new dgram module, for all data-gram type transports
- Supports both UDP client and servers
- Supports Unix Daemon sockets in DGRAM mode too (think syslog)
- Uses a shared Buffer and slices that as needed to be reasonably
performant.
- One supplied test program so far, test-dgram-pingpong
- Passes test cases on osx 10.6 and ubuntu 9.10u
15 years ago
isaacs
94be898fbc
Remove "uri" module.
The deprecation warning was broken, so clearly no one is using this thing.
15 years ago
Raffaele Sena
b3b81d67ff
Port to cygwin
15 years ago
Ryan Dahl
0c3b6aba7a
Do not output \n on stderr on output, breaks tests
15 years ago
Ryan Dahl
6056d2ea2c
node without arguments starts the REPL
15 years ago
Ryan Dahl
41f213be18
Add binding to termios, implement readline for repl
15 years ago
Ryan Dahl
9e8df0e836
More dynamic linking options (again)
Original commit: 75f0cf471a
15 years ago