Bert Belder
9364699be1
Revert "Windows: support non-ansi command line arguments"
CommandLineToArgvW doesn't behave exactly the same as the crt, which makes it useless.
This reverts commit ef032cbe85
.
13 years ago
Bert Belder
d91bc7cb09
Windows: get rid of process._cwdForDrive()
13 years ago
Bert Belder
077f9d7293
Windows: use unicode environment
13 years ago
Bert Belder
ef032cbe85
Windows: support non-ansi command line arguments
13 years ago
Ben Noordhuis
7543c38dca
Revert "Add explicit v8 locker"
This reverts commit 11d1eca9f3
.
It sporadically (but reproducibly) triggers an assert inside V8:
Fatal error in /path/to/node/deps/v8/src/isolate.cc, line 1857
CHECK(CurrentPerIsolateThreadData()->isolate_ == this) failed
Needs further investigation.
13 years ago
Marcel Laverdet
11d1eca9f3
Add explicit v8 locker
v8 requires a lock of each thread using the vm, but if none is
explicitly is created it will implicitly create one for you. This
creates issues when trying to build modules which use v8's
multi-threading features because there's no lock to unlock.
14 years ago
Bert Belder
68db20656e
Rename some occurrences of `process_1` back to `process`
13 years ago
Ben Noordhuis
9a79bb694e
Avoid unnecessary buffer to string conversion.
Speeds up the benchmark below by about 680% (0.5s versus 3.4s on my Core 2 Duo).
var crypto = require('crypto');
var hash = crypto.createHash('sha1');
var data = new Buffer(1024);
for (var i = 0; i < 128 * 1024; ++i) hash.update(data);
Fixes #2494 .
13 years ago
Ben Noordhuis
4b455bafd0
module: improve process.dlopen() error messages
On Windows, that is. On Unices, we don't have a good way to translate dlopen()
and dlsym() errors (yet).
13 years ago
Ryan Dahl
7547c7df1a
Deshadow, denamespace variables in node.cc
Prep for isolates.
13 years ago
Ben Noordhuis
fdf180f9ce
cli: fix output of --help
13 years ago
Bert Belder
641f2bedf3
Fix UVException errno bug
13 years ago
Bert Belder
ded97eb892
Exclude getbuf from the windows build
It's not used.
13 years ago
Bert Belder
e84edd2593
Win: make process.cwd and chdir support non-ansi characters
Closes GH-2215
13 years ago
Bert Belder
823a443321
Rename FSError to UVException and move to node.cc
13 years ago
Ben Noordhuis
3d22dbf27b
cli: add -p switch, print result of --eval
13 years ago
Russ Bradberry
754e23db27
fixed problem with rss memory reporting incorrect number over 4 gigs
13 years ago
Ben Noordhuis
216019b72d
modules: fix error message for native add-ons without entry points
Trying to load an add-on without "init" or "modname_module" symbols would raise
an "Out of memory" exception. Let's improve that error message.
13 years ago
Bert Belder
86fba381fd
Windows: correctly resolve drive-relative paths
13 years ago
Bert Belder
cbcf4fe768
Don't die when arguments are passed to process.cwd()
13 years ago
Bert Belder
829735e738
Implement process._debugProcess
13 years ago
Bert Belder
35f4182cee
Make error reporting from node::DLOpen more consistent
13 years ago
Bert Belder
6ee73a2fee
Windows: ErrnoException shouldn't mix up crt and win32 errors
13 years ago
Igor Zinkovsky
24a69d22a0
process.kill to use uv_kill
13 years ago
Maciej Małecki
b4afe605f4
node: remove `process.compile`
It was deprecated before v0.4.
13 years ago
Ben Noordhuis
a1fa3efd2b
core: fix off-by-one error in node::DLOpen()
Fixes loading of modules that use the NODE_MODULE macro on POSIX platforms.
13 years ago
Bert Belder
dd93c53c4e
Make node::DLOpen use uv_dlopen
13 years ago
Bert Belder
889620dcd2
Wrap long lines, strip trailing whitespace
13 years ago
Igor Zinkovsky
f35a396c54
Revert "remove node_io_watcher"
This reverts commit cc2ac1ccc7
.
13 years ago
Igor Zinkovsky
cc2ac1ccc7
remove node_io_watcher
13 years ago
Ryan Dahl
c5d54010bc
node cluster is now a module instead of CLI interface
This is to make room for master process plugins instead of adding CLI
options as proposed in #1879 .
13 years ago
Ryan Dahl
b3ddb895d2
Don't compile in node_dtrace.cc when not supported
13 years ago
Ryan Dahl
6cc42927d8
Display sys_errno when UV_UNKNOWN is returned
13 years ago
Ryan Dahl
5783a52a9c
Remove process.memoryUsage().vsize
Not meaningful cross platform; unused.
13 years ago
Ryan Dahl
d77ce4b998
Fixes #1860 . Remove process.writeError
Breaks a few tests in "make test-message"
13 years ago
Igor Zinkovsky
971c3d90eb
win: remove pthread-win32 init code
13 years ago
Ben Noordhuis
e0297ca59b
node: fix use of potentially uninitialized variable
13 years ago
Ben Noordhuis
dc0b7364b5
node: fix arguments to uv_timer_start()
13 years ago
Ryan Dahl
08cb8fce67
Remove process.ARGV
Use process.argv instead.
13 years ago
Ben Noordhuis
752571c7ba
Remove --use-legacy switch from --help section.
13 years ago
Ryan Dahl
87339a22b1
introduce node cluster
13 years ago
Ryan Dahl
e0b59e7dbc
Remove more dead code
13 years ago
Ryan Dahl
7085a04a1e
Remove process.ENV
13 years ago
Ryan Dahl
83fce75700
Remove stdio binding source - somehow this was missed in cdf5d91
13 years ago
Ryan Dahl
c8dbaf579c
Remove --use-legacy and --use-uv
13 years ago
Ryan Dahl
4f59041990
Fix windows build
13 years ago
Ryan Dahl
cdf5d91fe5
Remove tty_legacy
13 years ago
Ryan Dahl
58e892dadd
Remove dns_legacy
13 years ago
Ryan Dahl
96e423a665
Remove child_process_legacy
13 years ago
Ryan Dahl
be0bb2dc13
Remove net_legacy timers_legacy
13 years ago