Nathan Rajlich
35043ad8ac
process: use NODE_STRINGIFY macro to set process.versions.uv
13 years ago
isaacs
bda08bfa04
Now working on 0.7.7
13 years ago
isaacs
73c874698b
Merge branch 'v0.7.6-release'
13 years ago
isaacs
f06abda6f5
2012.03.13, Version 0.7.6 (unstable)
* Upgrade v8 to 3.9.17
* Upgrade npm to 1.1.8
- Add support for os/cpu fields in package.json (Adam Blackburn)
- Automatically node-gyp packages containing a binding.gyp
- Fix failures unpacking in UNC shares
- Never create un-listable directories
- Handle cases where an optionalDependency fails to build
* events: newListener emit correct fn when using 'once' (Roly Fentanes)
* url: Ignore empty port component (Łukasz Walukiewicz)
* module: replace 'children' array (isaacs)
* tls: parse multiple values of a key in ssl certificate (Sambasiva Suda)
* cluster: support passing of named pipes (Ben Noordhuis)
* Windows: include syscall in fs errors (Bert Belder)
* http: #2888 Emit end event only once (Igor Zinkovsky)
* readline: add multiline support (Rlidwka)
* process: add `process.hrtime()` (Nathan Rajlich)
* net, http, https: add localAddress option (Dmitry Nizovtsev)
* addon improvements (Nathan Rajlich)
* build improvements (Ben Noordhuis, Sadique Ali, T.C. Hollingsworth, Nathan Rajlich)
* add support for "SEARCH" request methods (Nathan Rajlich)
* expose the zlib and http_parser version in process.versions (Nathan Rajlich)
13 years ago
isaacs
10dc129a4b
Update npm to 1.1.8
13 years ago
Nathan Rajlich
884a209ccf
docs: document the repl "exit" event
13 years ago
Nathan Rajlich
f9da776b33
process: listen for the "exit" even on the main repl
13 years ago
Nathan Rajlich
f214758dd1
repl: better SIGINT handling behavior
Before:
☮ ~ (master) ⚡ node
> asdf
(^C again to quit)
> sdcasd☮ ~ (master) ⚡
Now:
☮ ~/node (repl) ⚡ ./node
> asfs
> sda
>
(^C again to quit)
> scdsdc
> sdcsdc
>
(^C again to quit)
> sdc
>
(^C again to quit)
>
☮ ~/node (repl) ⚡
^ note that each new line above is a ctrl+c sequence
13 years ago
Nathan Rajlich
6b5a34cdf3
repl: remove redundant check of rli.rine.length
It get's set to '' 1 line above, so we know that that's always 0.
13 years ago
Nathan Rajlich
b7ddd30181
repl: make sure the REPL always flushes with a newline
13 years ago
Nathan Rajlich
659d449460
repl: make REPLServer emit an "exit" event
This can happen when "SIGINT" is processed by the readline interface,
or when the user types ".exit" into the REPL.
13 years ago
Nathan Rajlich
4f63f9f327
repl: make REPLServer inherit from EventEmitter
This is because it should emit an "exit" event when "SIGINT" is received
from the readline interface, or when ".exit" is typed by the user.
13 years ago
Nathan Rajlich
109b16d488
repl: use path.resolve() for the module.filename
Windows was seeing: "C:\\path\\to\\cwd/repl"
13 years ago
isaacs
8b79a31333
shebang should make file executable as well
13 years ago
Trent Mick
1cdadb1e3b
issue #2697 : have 'make install' set npm shebang to use its node
13 years ago
Artur Adib
1cecfee634
Doc highlight fix
13 years ago
isaacs
943c396b86
Fix merge conflict in doc/api/readline.markdown
13 years ago
Christian Ress
c15e6905c4
Added destroy method to Zlib object in zlib.js module
13 years ago
isaacs
4e85257c6e
Patches floating on V8
13 years ago
isaacs
e4fc2cbfd3
Upgrade v8 to 3.9.17
13 years ago
isaacs
bcb0cc0b18
Upgrade npm to 1.1.6
* Fix #472 Adds support for os/cpu fields in package.json (Adam Blackburn)
* Don't use existing pkg if explicit
* Install missing deps, even if they are in bundleDependencies
* bundle node-gyp
* Automatically node-gyp build stuff with a bindings.gyp
* Fix #2230 Unpack in place. No folder renaming malarky
* Never create un-listable directories
* Fix cases where an optionalDependency fails to build
* Always ignore .wafpickle-7 files
* fix shrinkwrap test
* Fix: bundleDependencies being re-installed unnecessarily
13 years ago
Nathan Rajlich
9701f1c4b2
process: expose the zlib version in use in process.versions
13 years ago
Ben Noordhuis
531eba18a6
zlib: fix include of zlib.h
Including <zlib.h> may lead to false positives when the user specifies a bad
path in `./configure --shared-zlib --shared-zlib-includes=/path/to/zlib`. If
a zlib.h exists somewhere on the system include path (common on UNIX systems),
the compiler will include that instead, possibly leading to header mismatch
errors that are hard to debug.
13 years ago
Łukasz Walukiewicz
677c2c112c
Ignore an empty port component when parsing URLs.
13 years ago
isaacs
a10cfba766
module: remove 'exited', replace 'children' array
13 years ago
Yoshihiro Kikuchi
c450ac343f
docs: fix using legacy api in the buffer doc
13 years ago
Nao Iizuka
f8ce384446
docs: correct the description of assert.ok()
13 years ago
Ben Noordhuis
4472f7bbc3
http: use HTTP_METHOD_MAP macro
13 years ago
Ben Noordhuis
79cbe1fdbb
deps: upgrade http_parser to 8bec3ea
13 years ago
Ben Noordhuis
407ecc6b5f
docs: console.dir() prints to stdout, not stderr
13 years ago
ssuda
9b672bcaa2
tls: parsing multiple values of a key in ssl certificate
Fixes #2864 .
13 years ago
Nathan Rajlich
36761b2055
process: expose the http_parser version in process.versions
13 years ago
Ben Noordhuis
ff4a9d381d
core: use proper #include directives
13 years ago
Ben Noordhuis
8c02f9b7c8
buffer: throw from constructor if length > kMaxLength
Throw, don't abort. `new Buffer(0x3fffffff + 1)` used to bring down the process
with the following error message:
FATAL ERROR: v8::Object::SetIndexedPropertiesToExternalArrayData() length
exceeds max acceptable value
Fixes #2280 .
13 years ago
Ben Noordhuis
2589d55611
core: add ThrowError(), ThrowTypeError(), ThrowRangeError()
13 years ago
Ben Noordhuis
296b7a580b
cluster: support passing of named pipes
Fixes triggered assertion:
Assertion failed: (0 && "bad address family"), function GetPeerName,
file ../src/tcp_wrap.cc, line 237.
Fixes #2870 .
13 years ago
Ben Noordhuis
9d72a742e3
uv: upgrade 8c78cb4
13 years ago
Igor Zinkovsky
0c68604823
add jslint to vcbuild.bat
13 years ago
Bert Belder
31ad1d29c7
Merge branch 'v0.6'
13 years ago
Bert Belder
3733a85d8d
Windows: include syscall in fs errors
13 years ago
Bert Belder
daaccc7cb7
uv: upgrade to 1ac71a31
13 years ago
Igor Zinkovsky
5ad0140f48
Emit end event only once
fixes #2888
Previously a pair of end events would be emitted if a response was
paused/resumed, and the underlying socket was closed while the
response was paused
13 years ago
Yoshihiro Kikuchi
f82ef0f7c3
http: remove ClientRequest.prototype.pause()
ClientRequest.prototype.pause() is not needed. ClientRequest is a writable
stream and deferring to OutgoingMessage.prototype.pause() is broken, the method
does not exist.
13 years ago
Shea Levy
024451c65c
fork: don't clear environment by default
- Set options.env to process.env instead of {} by default.
- Shallow clone the passed options.env in case the user passed process.env directly.
13 years ago
Colton Baker
c84b3c4b73
readline: ignore stray escape sequence
Fixes #2876 .
13 years ago
Bert Belder
408f450286
client latency benchmark: don't require('request')
13 years ago
isaacs
150053b3fa
Typo in http_server_lag.js script
Thanks, @mscdex
13 years ago
isaacs
fb53986a80
Bash script for running http-simple benchmarks
13 years ago
isaacs
17da4242b0
A server with configurable lag for testing
13 years ago
isaacs
d5fca08da4
A benchmark script for measuring client latency
13 years ago