Ryan Dahl
b865f9e9c8
Merge branch 'master' into net2
15 years ago
Ryan Dahl
2d7e86ef58
Upgrade V8 to 2.1.5
15 years ago
pyrotechnick
8aaffe71ee
Fixing a typo in the fs.readFile example.
15 years ago
Ryan Dahl
04c06b9149
child process now use net.Socket
15 years ago
Krishna Rajendran
84277ea845
Check for callback argument in PTR lookup
15 years ago
isaacs
31ed37fdf0
evalcx shouldn't be too fancy
After getting some feedback from Mikeal Rogers and Tim Smart, it was decided
that evalcx should not try to do any fancy security stuff, and instead leave
that in the hands of the user. To comply more with spidermonkey, everything
is passed in, and objects are passed in by reference rather than being
cloned.
15 years ago
Ryan Dahl
217e4b40d4
Check for callback argument in DNS functions
15 years ago
Krishna Rajendran
3c97a4391a
Update test-dns.js to work with latest api
15 years ago
Krishna Rajendran
3847add943
Fix calls to dns bindings in dns.js
15 years ago
isaacs
943b2c61a8
Make evalcx work like it's supposed to.
1. Move the context->Enter() call so that the global obj is available for writing.
2. On success, copy the modified global out to the sandbox object.
3. Don't copy functions in either direction. They have scope and closures, and make for craziness when trying to keep contexts separate.
4. Only do the ->ToObject->Clone() on objects, so that simple values stay simple.
5. Update the test so that it tests all this stuff.
15 years ago
Ryan Dahl
953fa3a5f5
Move net2 bindings out of process
15 years ago
Ryan Dahl
5d5c8cf04a
Fix StatWatcher typo
15 years ago
Ryan Dahl
fdf46a65c9
Use streams for stdout and stdin
15 years ago
Ryan Dahl
cbfd4da818
Merge branch 'master' into net2
Conflicts:
src/node.cc
15 years ago
Ryan Dahl
6befc72f82
Add missing lib/events.js
15 years ago
Ryan Dahl
c90546f138
Move native js files into binding object
15 years ago
Ryan Dahl
8492c52e15
Use uniform watcher names
15 years ago
Ryan Dahl
627fb5adbb
Load c++ modules on demand
15 years ago
Ryan Dahl
3994340a45
Fix gcc warnings in node.cc
15 years ago
Ryan Dahl
5c712a7da5
Lazy load fs.readFile
15 years ago
Ryan Dahl
1256df76bc
remove whitespace
15 years ago
Ryan Dahl
d96c52694a
Upgrade V8 to 2.1.4
15 years ago
Ryan Dahl
a6f904cab7
Tests should use compiled-in modules not build-dir modules
15 years ago
Ryan Dahl
1395cba6ce
Remove require.paths from process object
15 years ago
Ryan Dahl
4ccdc501d4
Include lib/ directory in node executable. Compile on demand.
Instead of installing the files in /usr/lib/node/libraries and loading them
from the file system, the files are built-in to the node executable.
However, they are only compiled on demand.
The reasoning is:
1. Allow for more complex internal javascript. In particular,
process.stdout and process.stdin can be js implemented streams.
2. Ease system installs. Loading from disk each time is unnecessary
overhead. Note that there is no "system" path for modules anymore. Only
$HOME/.node_libraries.
15 years ago
Krishna Rajendran
0d5a1fed33
Use gai_strerror when tcp.Server fails to resolve its address or service.
15 years ago
Jed Schmidt
004faf3846
Added check to make sure writeHead() is called before write(), to prevent silent failure.
15 years ago
Herbert Vojčík
49d30c6478
Only Ref in idle watcher when wasn't already active.
15 years ago
Ryan Dahl
7be0d06238
FreeBsd->Solaris on homepage
15 years ago
Scott González
d2ec5c23cf
Fixed typo in comment for require.registerExtension().
15 years ago
Ryan Dahl
ffeb4722d4
small wscript error
15 years ago
Ryan Dahl
61c8014135
bump version
15 years ago
Ryan Dahl
96f08cf05c
Work on net2 http client
15 years ago
Ryan Dahl
c6ebfb0cc6
Merge branch 'master' into net2
15 years ago
Ryan Dahl
d7efb0fdb2
Factor out TryCatch in ReallyEmit
15 years ago
Ryan Dahl
2c7cbbc1b0
Optimize event emitter for single listener
15 years ago
Ryan Dahl
aa6eaae0aa
Simplify Socket constructor
15 years ago
Ryan Dahl
b571900d9c
Fix node_timer bug; sometimes was not initializing watcher
15 years ago
Ryan Dahl
c857d65dd3
Disable test-net-fd-passing for now
15 years ago
Ryan Dahl
28211519b6
Merge branch 'master' into HEAD
Conflicts:
lib/fs.js
wscript
15 years ago
Ryan Dahl
3adf7a3dcf
TCP timeout opt-in instead of opt-out
For speed, idle connections are super cheap.
15 years ago
Ryan Dahl
b94af8d6b1
Only print readyState deprication message once
15 years ago
Ryan Dahl
836e6a3fcb
Adjust object ref count after call to ev_timer_again
15 years ago
Ryan Dahl
177de8fefc
Fix some gcc warnings
15 years ago
Ryan Dahl
3d10852c33
Disable AsciiSliceExt
Seems faster and less buggy?
15 years ago
Ryan Dahl
c1613e6ebb
Deprecate process.mixin
15 years ago
Tim-Smart
ae10a48383
Initial implementation of process.evalcx
15 years ago
Ryan Dahl
6ec2f877c2
Depreciation -> Deprecation
15 years ago
Vanilla Hsu
b13081691e
use getpagesize() to get PAGE_SIZE on FreeBSD.
15 years ago
Vanilla Hsu
116dfb8740
1: sync wscript with libeio.m4 2: try to enable macosx's sendfile.
15 years ago