Tim-Smart
df8164c1c3
node.cc: EvalCX: Third argument as filename
2010-03-18 07:51:32 -07:00
Ryan Dahl
2d7e86ef58
Upgrade V8 to 2.1.5
2010-03-17 15:52:57 -07:00
pyrotechnick
8aaffe71ee
Fixing a typo in the fs.readFile example.
2010-03-17 14:44:15 -07:00
Krishna Rajendran
84277ea845
Check for callback argument in PTR lookup
2010-03-17 00:46:44 -07:00
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.
2010-03-16 20:09:13 -07:00
Ryan Dahl
217e4b40d4
Check for callback argument in DNS functions
2010-03-16 10:48:14 -07:00
Krishna Rajendran
3c97a4391a
Update test-dns.js to work with latest api
2010-03-16 10:29:43 -07:00
Krishna Rajendran
3847add943
Fix calls to dns bindings in dns.js
2010-03-16 10:29:16 -07:00
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.
2010-03-16 10:27:47 -07:00
Ryan Dahl
5d5c8cf04a
Fix StatWatcher typo
2010-03-15 15:53:44 -07:00
Ryan Dahl
6befc72f82
Add missing lib/events.js
2010-03-15 14:25:06 -07:00
Ryan Dahl
c90546f138
Move native js files into binding object
2010-03-15 14:24:15 -07:00
Ryan Dahl
8492c52e15
Use uniform watcher names
2010-03-15 14:24:15 -07:00
Ryan Dahl
627fb5adbb
Load c++ modules on demand
2010-03-15 14:24:15 -07:00
Ryan Dahl
3994340a45
Fix gcc warnings in node.cc
2010-03-15 12:50:00 -07:00
Ryan Dahl
5c712a7da5
Lazy load fs.readFile
2010-03-15 10:41:58 -07:00
Ryan Dahl
1256df76bc
remove whitespace
2010-03-15 09:02:52 -07:00
Ryan Dahl
d96c52694a
Upgrade V8 to 2.1.4
2010-03-15 08:39:56 -07:00
Ryan Dahl
a6f904cab7
Tests should use compiled-in modules not build-dir modules
2010-03-15 08:14:51 -07:00
Ryan Dahl
1395cba6ce
Remove require.paths from process object
2010-03-15 08:07:33 -07:00
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.
2010-03-15 08:04:35 -07:00
Krishna Rajendran
0d5a1fed33
Use gai_strerror when tcp.Server fails to resolve its address or service.
2010-03-14 23:08:45 -07:00
Jed Schmidt
004faf3846
Added check to make sure writeHead() is called before write(), to prevent silent failure.
2010-03-13 22:27:51 -08:00
Herbert Vojčík
49d30c6478
Only Ref in idle watcher when wasn't already active.
2010-03-13 20:45:26 -08:00
Ryan Dahl
7be0d06238
FreeBsd->Solaris on homepage
2010-03-13 12:47:41 -08:00
Scott González
d2ec5c23cf
Fixed typo in comment for require.registerExtension().
2010-03-13 12:29:33 -08:00
Ryan Dahl
ffeb4722d4
small wscript error
2010-03-13 12:20:09 -08:00
Ryan Dahl
61c8014135
bump version
2010-03-12 18:50:46 -08:00
Ryan Dahl
d7efb0fdb2
Factor out TryCatch in ReallyEmit
2010-03-12 13:48:03 -08:00
Ryan Dahl
2c7cbbc1b0
Optimize event emitter for single listener
2010-03-12 13:47:56 -08:00
Ryan Dahl
c1613e6ebb
Deprecate process.mixin
2010-03-12 09:23:05 -08:00
Tim-Smart
ae10a48383
Initial implementation of process.evalcx
2010-03-12 08:22:48 -08:00
Ryan Dahl
6ec2f877c2
Depreciation -> Deprecation
2010-03-11 23:50:41 -08:00
Vanilla Hsu
b13081691e
use getpagesize() to get PAGE_SIZE on FreeBSD.
2010-03-11 23:32:13 -08:00
Vanilla Hsu
116dfb8740
1: sync wscript with libeio.m4 2: try to enable macosx's sendfile.
2010-03-11 22:07:50 -08:00
Ryan Dahl
c96b7e5ca0
Missing EOL semicolons
2010-03-11 22:05:09 -08:00
Ryan Dahl
dd857f9fdf
.addon -> .node
...
How'd that get in there?
2010-03-11 22:04:00 -08:00
Tim-Smart
0c17067d87
Add require.registerExtension
2010-03-11 22:00:55 -08:00
Ryan Dahl
6bd11f147a
Fix undefined reference in fs.js
2010-03-11 14:32:10 -08:00
Ryan Dahl
ff2457754c
Upgrade libeio
2010-03-11 14:31:51 -08:00
Jérémy Lal
c93bab141c
Add --system option to configure, so make uses V8, EV, UDNS system libraries and headers.
2010-03-11 14:00:19 -08:00
Ryan Dahl
6d9227b79a
Make relative ref to sys in fs module.
2010-03-11 12:48:47 -08:00
Ryan Dahl
358b7516c7
Adjust process.compile documentation
2010-03-11 10:27:20 -08:00
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.
2010-03-10 21:44:59 -08:00
Ryan Dahl
70b2a44579
Remove -Werror from V8
2010-03-10 11:03:26 -08:00
Ryan Dahl
073947c150
Upgrade V8 to 2.1.3
2010-03-10 10:50:46 -08:00
Standa Opichal
c2c0cfb75f
Making sure node-waf finds its real bindir even when executed through a symlinked path.
2010-03-09 13:05:44 -08:00
Ryan Dahl
dd21a4f4b9
Remove the 'Error: (no message)' exceptions print stack trace instead
2010-03-09 11:21:19 -08:00
Aaron Heckmann
f8eb163728
Add removeAllListeners
2010-03-09 09:30:14 -08:00
isaacs
b90d63b998
Change the include() message so that it doesn't recommend process.mixin.
2010-03-09 09:05:20 -08:00