Ryan Dahl
bfb6a67d60
Another fix for process.assert
14 years ago
Ryan Dahl
f9f0e5c75c
Pre-process out assert()
14 years ago
Greg Hughes
1a5e513084
Fix style issues with ext_key_usage patch
Closes GH-586.
14 years ago
Greg Hughes
6c32e155d3
Add ext_key_usage to getPeerCertificate
14 years ago
Bert Belder
f9fea12555
Fix windows build
14 years ago
Ryan Dahl
068b733583
Land Cantrill's DTrace patch
only works on solaris
14 years ago
Felix Geisendörfer
91cc2d8c4b
Restructure src/node.js startup code
This patch introduces a logical structure and sequence for the
bootstrap code found src/node.js.
14 years ago
Ryan Dahl
cc5e9130bb
fs.open should set FD_CLOEXEC
14 years ago
Ryan Dahl
9e976abad9
lint
14 years ago
Bert Belder
f263b29141
Windows: better net support
14 years ago
Bert Belder
25d0e38048
Workaround for libev handle caching bug on windows
The windows socket api uses handles, not fds. Libev caches the handle
associated with an fd, and uses this handle when updating the (also cached)
handle set that goes into select(). When an fd is closed and subsequently
re-used before the event loop returns to libev, libev fails to detect
properly that the handle changed. And even if it does, the cached handle of
the closed socket is overwritten by the new handle, so by the time libev
tries to update the select fdset it has forgotten which handle to remove
from it. This is solved by a simple hook ev_fd_closed that makes it clear
its caches before the fd is re-used.
14 years ago
Felix Geisendörfer
5a49f96505
Move commonjs module system into lib/module.js
This de-couples NativeModule from the module system and completes the
main objective of this refactoring.
14 years ago
Ryan Dahl
7892918353
Now working on v0.3.7
14 years ago
Ryan Dahl
bb3e71466e
Bump version to v0.3.6
14 years ago
Ryan Dahl
0866ecaf3f
...
14 years ago
Bert Belder
a763a4f4d9
Fix memory corruption bug on Windows
14 years ago
Bert Belder
8ca0b9a3c5
Fix ev_async misuse in node_child_process_win32.cc
14 years ago
Bert Belder
e6e6e87463
Windows: fix window size getter bug
14 years ago
Bert Belder
0b5bf70bff
Use tty.ReadStream and tty.WriteStream for stdio when appropriate
14 years ago
Bert Belder
4fddca09f1
New stdio functions to aid new readline interface
14 years ago
Bert Belder
b0eed65584
Windows: watcher for tty events
14 years ago
Ryan Dahl
4f8dd28f7e
wscript chooses win32 source files, not cpp
14 years ago
Bert Belder
6ad629895d
Make child_process.kill always work on windows
14 years ago
Bert Belder
bb3bf091d4
Fix several child process bugs on windows
14 years ago
Bert Belder
5087c62f18
Fix detection of socket errors
14 years ago
Bert Belder
2ce0961de1
Improve error reporting on windows
14 years ago
Bert Belder
0eb4c2157d
Define winsock error numbers
14 years ago
Bert Belder
c99962e4cd
Misc. cleanups
casts, unused vars, function ordering, /* within comment, etc.
14 years ago
Bert Belder
e0f47be9d0
Clean up the way windows headers are included
Plus make inclusion order a little more consistent in general
14 years ago
Bert Belder
43d75952ff
Windows: get rid of most NO_IMPL related macros
14 years ago
Bert Belder
dc99aa0c8c
Windows: implement missing stdio methods
14 years ago
Ryan Dahl
082a4b6033
Now working on v0.3.6
14 years ago
Ryan Dahl
b622bc6305
Bump version to v0.3.5
14 years ago
Felix Geisendörfer
0263f01475
Fix test-require-cache-without-stat.js
This path adds an additional cache to the module system for caching the
location of previously required modules. Since it is embedded in the
loop that iterates over all require.paths, this patch also handles the
case where require.paths is being modified.
The patch also cleans up some code around it.
See: https://groups.google.com/forum/#!topic/nodejs-dev/QGGlrvLDHVs
14 years ago
Felix Geisendörfer
f39fdf2610
Isolate native module system again
See: 2e5dfafcb0 (commitcomment-239719)
14 years ago
Ryan Dahl
d9087c10ad
style
14 years ago
Ryan Dahl
9bcfc0745c
Revert "Implement os.isWindows"
This reverts commit 9e31e0837e
.
Use process.platform == 'win32'
14 years ago
Ryan Dahl
496be457b6
Allow third party hooks before main module load
Just put a file lib/_third_party_main.js into the build directory and take
it from there.
14 years ago
Ryan Dahl
4fa712c48f
debugger: error out without script
TODO:
debug> run script.js
14 years ago
Felix Geisendörfer
f5fbb707b2
Fix NODE_PATH, was broken after cleanup
14 years ago
Felix Geisendörfer
f61277ecb0
Always init module paths
The previous cleanup patch broke module loading in the the REPL by
not initializing require.paths.
14 years ago
Felix Geisendörfer
2e5dfafcb0
Cleanup node module system code
14 years ago
isaacs
435ece5058
child_process: Support setting uid/gid by name
14 years ago
isaacs
6f5d95de6d
child_process: Add gid/uid flags to spawn config
This is mostly working, but not completely ideal for two reasons.
1. Rather than emitting an error on the ChildProcess object when the
setgid/setuid fails, it is simply printing the error to stderr and
exiting. The same happens with the cwd, so that's not completely
terrible.
2. I don't have a good test for this. It fails with an EPERM if you try
to change the uid or gid as a non-root user.
14 years ago
Ryan Dahl
b9cfd9527a
getWindowSize/setWindowSize
14 years ago
Ryan Dahl
63bd237892
typo setuid -> setsid
14 years ago
Ryan Dahl
202dd8387f
Add setsid option to child_process
14 years ago
Ryan Dahl
5342e3e925
expose module wrapper to native modules
14 years ago
Ryan Dahl
318b1a0a03
Now working on v0.3.5-pre
14 years ago
Ryan Dahl
73f53e12e4
Bump version to v0.3.4
14 years ago