Ryan Dahl
4593c04959
Implement net.Server.maxConnections
Simplify EMFILE behavior.
14 years ago
Illarionov Oleg
cde80d9859
Fix OpenSSL 100% CPU usage on error
14 years ago
Herbert Vojčík
ff953dccf1
Refactor of resolveModulePath to make it clearer.
14 years ago
Herbert Vojčík
13a3bf5b7d
Clean up findModulePath
Separating "what to traverse" from "how to traverse and what to do with it "
in findModulePath. It may also fix one not-yet-found bug (absolute ids
weren't loaded when dirs.length = 0).
14 years ago
Herbert Vojčík
361759d179
Using Array.isArray for Array testing in findModulePath.
14 years ago
Ryan Dahl
1b589be1d6
Remove TODO item
14 years ago
Vanilla Hsu
49cd211dff
Add freebsd's process.title support.
14 years ago
Ryan Dahl
b14dd49222
bump version
14 years ago
Ryan Dahl
a8c2bb41af
Fix tests
14 years ago
Ryan Dahl
03123435e0
Remove platform specific asserts
14 years ago
Ryan Dahl
4bbab14346
Revert "Upgrade V8 to 2.3.7"
This reverts commit 083ee0f8b7
.
V8 build broken on cygwin:
./deps/v8/src/handles.h:62: instantiated from `T*
v8::internal::Handle<T>::operator->() const [with T = v8::internal::Code]'
./deps/v8/src/accessors.cc:396: instantiated from here
./deps/v8/src/handles-inl.h:50:
error: call of overloaded `BitCast(v8::internal::Code** const&)' is
ambiguous
./deps/v8/src/utils.h:732: note: candidates are: Dest
v8::internal::BitCast(const Source&) [with Dest = v8::internal::Code**,
Source = v8::internal::Code**]
./deps/v8/src/utils.h:743:
note: Dest v8::internal::BitCast(Source* const&) [with Dest
= v8::internal::Code**, Source = v8::internal::Code*]
scons: *** [obj/release/accessors.o] Error 1
14 years ago
Bert Belder
0e8d858aba
One more test with a race condition fixed
14 years ago
Bert Belder
d8642a8aa6
Implement process.title for cygwin
14 years ago
Rasmus Andersson
cf909e8725
added dns.getHostByAddr() -- resolve an external IP address to hostname(s)
14 years ago
Rasmus Andersson
758f12f34c
added read and write support for process.title Darwin
This will only manipulate the OS X-level process name, not the title shown
in e.g. ps.
14 years ago
Ryan Dahl
083ee0f8b7
Upgrade V8 to 2.3.7
14 years ago
Ryan Dahl
9acd76ed6e
Don't throw on HEAD requests
14 years ago
Trent Mick
72e4a49cac
repl completion: multi-column display of completions
14 years ago
Rasmus Andersson
8d5e05668b
Added support for multiple listeners to DNS multicast datagrams.
Some platforms require SO_REUSEPORT to be set for the socket.
14 years ago
Bert Belder
7059be19ec
Fix http and net tests failing due to race condition
Plus some minor cosmetic corrections
14 years ago
Trent Mick
1c9a85b9a6
First pass at tab-completion in the REPL
14 years ago
Ryan Dahl
06634f48eb
Implement process.title for linux
14 years ago
Ryan Dahl
5185c15ef7
Stub out process.title
15 years ago
Fedor Indutny
49888a01c3
Cygwin: process.execPath fix
14 years ago
Ryan Dahl
883b3e2873
Remove -Werror from v8 SConstruct
14 years ago
Rasmus Andersson
fd3cd755d1
[dgram] only look up hostname for the requested address family
- [lib/dns.js] dns.lookup takes a new optional argument "family" which
should be the integer 4, 6, dns.AF_INET or dns.AF_INET6. Passing a
non-false "family" argument makes c-ares explicitly look up addresses for
the specified family.
- [test/simple/test-c-ares.js] test explicit address family lookups
14 years ago
Ryan Dahl
9395786d11
Fix race conditions in tests
14 years ago
Ryan Dahl
3d551e5538
Close fd on readFile(emptyfile)
14 years ago
Ryan Dahl
a5be730906
Upgrade V8 to 2.3.6
14 years ago
Ryan Dahl
1c5d5e0b72
uppercase request methods
14 years ago
Bert Belder
7d4e8a9a71
If no options are given to child_process.spawn, env should default to process.env
Regression.
14 years ago
Ryan Dahl
f4f05a8851
Unset CLOEXEC on spawn's customFds
14 years ago
Rasmus Andersson
e07f568230
ignore test/fixtures/hello.txt created by some test(s)
14 years ago
Brian
3aa5cfde10
Misc. corrections and consistency changes to documentation.
14 years ago
Ryan Dahl
5033da733d
Add TODO list items
14 years ago
Ryan Dahl
cf5ae13f85
Remove completed TODO task
14 years ago
Ryan Dahl
7068912fbb
Export Interface from readline.js
14 years ago
Trent Mick
e8c2453f6d
spelling correction
14 years ago
Bert Belder
aaa1f451e6
Expose cwd option to child_process.exec()
14 years ago
Bert Belder
94914135df
New api for child_process.spawn; ability to set cwd for spawn()ed process
Tests for child_process.spawn() use new API
Test for deprecated child_process.spawn() API
14 years ago
Ryan Dahl
d408de87fc
Remove module.js - put code into src/node.js
14 years ago
Tj Holowaychuk
e8795cea30
Added console.trace()
14 years ago
Tj Holowaychuk
a8e1e8d057
Added console.{time,timeEnd}()
14 years ago
Tj Holowaychuk
e15221a8de
console formatter appends extra arguments
This makes the console methods more "browser-like",
for example:
console.log("foo", "bar", "baz");
// foo bar baz
but still works with formatting
console.log("hey %s", "tj", "whats up");
// hey tj whats up
14 years ago
cloudhead
fe3e419687
querystring.parse: handle undefined value properly
14 years ago
Felix Geisendörfer
ffbbc465d3
Support inspecting objects with console.log
If the first parameter passed into console.log() is not a string, all
parameters will be printed as formated by sys.inspect. This change
also affects console.info and console.warn.
14 years ago
Ryan Dahl
6cd32fb62e
Update AUTHORS
14 years ago
Ryan Dahl
a4906c7c83
Print warning when OpenSSL not found
14 years ago
Nick Stenning
0a3eff8021
Standardise module load order for native and registered file extensions.
This patch standardises the load order for modules. Highest priority is trying to load exactly the file the user specified, followed by native extensions, followed by registered extra extensions, etc.
In full, if we require('foo') having registered '.coffee' as an alternative extension, we try and load the following files in order:
foo
foo.js
foo.node
foo.coffee
foo/index.js
foo/index.node
foo/index.coffee
14 years ago
Nick Stenning
78520ba482
Don't attempt to load a directory.
This patch replaces the path.exists check for module loading with a call to
fs.statSync (or fs.stat for require.async) which ensures that it's not trying
to load a directory.
14 years ago