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
5d5c8cf04a
Fix StatWatcher typo
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
d7efb0fdb2
Factor out TryCatch in ReallyEmit
15 years ago
Ryan Dahl
2c7cbbc1b0
Optimize event emitter for single listener
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
Ryan Dahl
c96b7e5ca0
Missing EOL semicolons
15 years ago
Ryan Dahl
dd857f9fdf
.addon -> .node
How'd that get in there?
15 years ago
Tim-Smart
0c17067d87
Add require.registerExtension
15 years ago
Ryan Dahl
6bd11f147a
Fix undefined reference in fs.js
15 years ago
Ryan Dahl
ff2457754c
Upgrade libeio
15 years ago
Jérémy Lal
c93bab141c
Add --system option to configure, so make uses V8, EV, UDNS system libraries and headers.
15 years ago
Ryan Dahl
6d9227b79a
Make relative ref to sys in fs module.
15 years ago
Ryan Dahl
358b7516c7
Adjust process.compile documentation
15 years ago
isaacs
976983960d
More ini parser features.
Update the ini parser to support some more whitespace cases, turn lines
without an equal sign into a "flag" that's just true if set, and support
comments.
15 years ago
Ryan Dahl
70b2a44579
Remove -Werror from V8
15 years ago
Ryan Dahl
073947c150
Upgrade V8 to 2.1.3
15 years ago
Standa Opichal
c2c0cfb75f
Making sure node-waf finds its real bindir even when executed through a symlinked path.
15 years ago
Ryan Dahl
dd21a4f4b9
Remove the 'Error: (no message)' exceptions print stack trace instead
15 years ago
Aaron Heckmann
f8eb163728
Add removeAllListeners
15 years ago
isaacs
b90d63b998
Change the include() message so that it doesn't recommend process.mixin.
15 years ago
isaacs
602d1861a1
Remove process.mixin from repl
15 years ago
Ryan Dahl
fb6dc11f11
Clean up some things in the benchmarks
15 years ago
Ryan Dahl
04999ef969
Remove -Werror from deps/v8/SConstruct
-_-
15 years ago
isaacs
c488e5775a
Remove process.mixin dependencies from benchmark scripts
15 years ago
isaacs
a38aa02f9f
Remove process.mixin dependency from fs
15 years ago
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
Ryan Dahl
74614c1bf1
Change libev/wscript for waf 1.5.14
15 years ago