Nathan Rajlich
e746bbdc2b
debugger: don't set the repl.prompt string
...
It wasn't doing anything, and actually due to
3ae0b17c76 , it was causing
the readline `prompt()` function to be overwritten
which throws an error in the REPL shortly after.
2014-02-21 09:43:06 -08:00
Fedor Indutny
e0c5302590
installer: copy node.d only with node_use_dtrace
2014-02-21 01:03:03 +04:00
Fedor Indutny
a6f89ccd76
dtrace: workaround linker bug on FreeBSD
2014-02-21 00:56:17 +04:00
Fedor Indutny
b7776fb192
configure: allow --with-dtrace on freebsd
2014-02-21 00:46:26 +04:00
Fedor Indutny
b940e0fd86
gyp: specialize node.d for freebsd
...
`node.d` should use `psinfo.d` instead of `procfs.d` and have statically
defined architecture on FreeBSD.
2014-02-21 00:46:26 +04:00
David Björklund
b105997193
http: avoid duplicate keys in writeHead
...
Use setHeader in writeHead to avoid sending duplicate headers
Fixes #5036
2014-02-19 09:24:16 -08:00
Timothy J Fontaine
845e5d3458
Merge remote-tracking branch 'upstream/v0.10'
...
Conflicts:
AUTHORS
ChangeLog
deps/uv/AUTHORS
deps/uv/ChangeLog
deps/uv/build.mk
deps/uv/src/unix/linux-core.c
deps/uv/src/unix/stream.c
deps/uv/src/unix/sunos.c
deps/uv/src/version.c
src/node_version.h
2014-02-19 09:12:32 -08:00
Timothy J Fontaine
085db9dd6c
tools: update to support separate website repo
2014-02-18 18:57:45 -08:00
Timothy J Fontaine
ae418f974d
Now working on v0.10.27
2014-02-18 16:43:12 -08:00
Timothy J Fontaine
0206925b0d
Merge branch 'v0.10.26-release' into v0.10
2014-02-18 16:40:23 -08:00
Timothy J Fontaine
cc56c62ed8
build: readd missing installer resources
...
This were accidentally moved during the website refactor
v0.10.26
2014-02-18 15:34:29 -08:00
Timothy J Fontaine
31c510ca88
2014.02.18, Version 0.10.26 (Stable)
...
* uv: Upgrade to v0.10.25 (Timothy J Fontaine)
* npm: upgrade to 1.4.3 (isaacs)
* v8: support compiling with VS2013 (Fedor Indutny)
* cares: backport TXT parsing fix (Fedor Indutny)
* crypto: throw on SignFinal failure (Fedor Indutny)
* crypto: update root certificates (Ben Noordhuis)
* debugger: Fix breakpoint not showing after restart (Farid Neshat)
* fs: make unwatchFile() insensitive to path (iamdoron)
* net: do not re-emit stream errors (Fedor Indutny)
* net: make Socket destroy() re-entrance safe (Jun Ma)
* net: reset `endEmitted` on reconnect (Fedor Indutny)
* node: do not close stdio implicitly (Fedor Indutny)
* zlib: avoid assertion in close (Fedor Indutny)
2014-02-18 14:55:58 -08:00
Anton Khlynovskiy
1fa5cff4f2
docs: clarify process.stdin and old mode
2014-02-18 13:52:14 -08:00
Pedro Ballesteros
1d734a75b5
doc: stdout blocking or non-blocking behaviour
...
Makes clear that the behaviour of stdout is blocking
in Linux/Unix even when they refer to pipes.
2014-02-18 13:36:00 -08:00
Timothy J Fontaine
3e6e63406d
test: make test-net-error-twice less racey
2014-02-18 13:10:09 -08:00
Timothy J Fontaine
c2aea3747d
uv: Upgrade to v0.10.25
2014-02-18 13:04:29 -08:00
Raynos
abbde2fafa
doc: mention objectMode for Writable streams
2014-02-18 10:29:04 -08:00
Xidorn Quan
ae02992872
os: networkInterfaces include scopeid for ipv6
2014-02-18 10:10:30 -08:00
Timothy J Fontaine
937e2e351b
child_process: execFileSync stderr should inherit
...
If you don't set your options.stdio for execSync and execFileSync
capture and write to stderr of the parent process by default.
Fixes #7110
2014-02-18 16:03:13 +04:00
Timothy J Fontaine
59baab2776
net: add localPort to connect options
...
Expose localPort for binding to a specific port for outbound
connections.
If localAddress is not specified '0.0.0.0' is used for ip4 and '::'
for ip6 connections.
Fixes #7092
2014-02-18 15:55:04 +04:00
Brian White
a226be4f76
crypto: allow custom generator for DiffieHellman
2014-02-18 15:49:23 +04:00
Timothy J Fontaine
466a9b5c78
Merge remote-tracking branch 'upstream/v0.10'
...
Conflicts:
src/node_zlib.cc
2014-02-17 20:57:53 -08:00
Farid Neshat
562b015170
debugger: Fix breakpoint not showing after restart
...
The reason this wasn't working was because after restart, when restoring
breakpoints the scripts wasn't loaded, so the breakpoint.script was
undefined. As a fix I added another check to use breakpoint.scriptReq
instead of breakpoint.script, which is the same except when the
breakpoint is a function.
fixes #7027
2014-02-17 20:47:46 -08:00
Timothy J Fontaine
e5eadcfa19
build: don't enable gc-sections
...
In some scenarios this will strip the DOF sections for DTrace, and in a
future world where we re-export all static libraries it would defeat
that purpose.
2014-02-17 20:29:30 -08:00
isaacs
217bb0c964
npm: upgrade to 1.4.3
2014-02-17 19:37:33 -08:00
Timothy J Fontaine
c0d73e6de1
lint: fix missing semi colon in repl
2014-02-17 16:21:38 -08:00
Yazhong Liu
cfe0bab85b
readline: fix line event, if input emit 'end'
...
If an input stream would emit `end` event, like
`fs.createReadStream`, then readline need to get the last line
correctly even though that line isnt ended with `\n`.
2014-02-17 16:21:29 -08:00
Yazhong Liu
c980280159
repl: remove a unnecessary concatenation
2014-02-17 16:04:36 -08:00
Yazhong Liu
3ae0b17c76
repl: REPLServer inherits from readline.Interface
...
This exposes a setPrompt for and other readline features
2014-02-17 16:04:36 -08:00
Fedor Indutny
7589a0007c
crypto: make NewSessionDoneCb public
...
Generic friend classes do not work well with old compiler versions (and
MSVC).
2014-02-18 03:22:18 +04:00
Fedor Indutny
829a9b8cba
zlib: introduce pending close state
...
zlib should not crash in `close()` if the write is still in progress.
fix #7101
2014-02-18 01:11:05 +04:00
Fedor Indutny
75ea11fc08
tls: introduce asynchronous newSession
...
fix #7105
2014-02-18 01:07:09 +04:00
Timothy J Fontaine
a4436bab7b
dgram: pass the bytes sent to the send callback
...
Fixes #6953
2014-02-15 19:24:42 -08:00
Ben Noordhuis
3421d29d63
v8: unbreak freebsd build
...
reland de8c0a5
Fixes #7020 and #7021
2014-02-15 18:54:40 -08:00
Fedor Indutny
940abd0b19
test: fix tls-honorcipherorder slowness
...
End accepted stream to prevent client fd from hanging in FIN_WAIT_1
state. The 30 second delay was caused by default non-zero SO_LINGER.
2014-02-16 01:19:54 +04:00
Timothy J Fontaine
0f40eac366
Merge remote-tracking branch 'upstream/v0.10'
2014-02-14 11:05:27 -08:00
Timothy J Fontaine
86b8d84811
doc: re-add node.1 man page
...
The man page was accidentally removed in 37376de for the website
refactor, bring it back.
Fixes #7117
2014-02-14 11:01:49 -08:00
Alexis Campailla
bb2af7dd4d
test: give repl-timeout-throw more time to run
...
Short timeout was causing the test to fail on Windows debug builds.
2014-02-13 16:49:15 -08:00
Alexis Campailla
0f10dd4cb2
test: increase timeout in readable stream test
...
A slightly higher timeout is needed for the test to pass on
Windows debug builds.
2014-02-13 16:49:08 -08:00
Alexis Campailla
8f94ef46b7
test: fix assert in test-http-outgoing-finish
...
Given the assert message, and the fact that endCb is always true
in the assert, I am pretty sure the test author was intending
to test for finishEvent, not endCb.
2014-02-13 16:46:04 -08:00
Alexis Campailla
527cabefcb
test: fix connection reset in http test
...
In this test, an HTTP server was ending the response before
consuming all the data sent in the PUT request.
Ending the response would cause the socket to be destroyed,
and since there is some data still to be read, an ECONNRESET is
surfaced on the client side, event though the client has already
ended its side and even seen a 'finish' event.
See:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.2
While it is certainly admissible for the server to send a response
before consuming the entire request, it seems reasonable to
expect that the server would close the connection afterwards
and that the ECONNRESET would be raised on the client.
So I have changed the test to wait until the entire request has been
consumed before sending the response.
2014-02-13 16:46:04 -08:00
Alexis Campailla
3da36fe00e
cluster: handle bind errors on Windows
...
Before sending a socket from a cluster master to a worker,
we would call listen in UV but not handle the error.
I made createServerHandle call listen on Windows so we get a chance
the handle any bind/listen errors early.
This fix is 100% windows specific.
It fixes test-cluster-bind-twice and
test-cluster-shared-handle-bind-error on Windows.
2014-02-13 16:41:59 -08:00
orangemocha@github.com
e7a03f1c62
test: fix test-child-process-double-pipe
...
On Windows, grep and sed were stripping the CR character out of CRLF.
Passing --binary will force them to preserve the CR.
2014-02-13 16:41:31 -08:00
Timothy J Fontaine
6b4f72b7ac
Merge remote-tracking branch 'upstream/v0.10'
...
Conflicts:
doc/blog/feature/streams2.md
2014-02-13 16:40:38 -08:00
isaacs
55543d3c45
npm: Upgrade to v1.4.0
...
- Removes 'npm publish -f'
- Documentation
- Bug-fixes
- Update license etc to refer to npm, Inc. rather than @isaacs personally
2014-02-13 16:35:41 -08:00
Timothy J Fontaine
37376debe5
website: move website to joyent/node-website
...
The website will no longer be living in the source repository instead
it can be found at http://github.com/joyent/node-website
2014-02-13 15:54:07 -08:00
Christian
b222374b07
doc: changed timer id to object
...
fix #7074
2014-02-13 02:18:10 +04:00
Timothy J Fontaine
e8df267674
child_process: js bits for spawnSync/execSync
...
This implements the user-facing APIs that lets one run a child process
and block until it exits.
Logic shared with the async counterpart of each function was refactored
to enable code reuse.
Docs and tests are included.
2014-02-10 13:35:37 -08:00
Bert Belder
fa4eb47caa
bindings: add spawn_sync bindings
...
This implements a nested event loop that makes it possible to control
a child process, while blocking the main loop until the process exits.
2014-02-10 21:22:06 +01:00
Timothy J Fontaine
d58c206862
Merge remote-tracking branch 'upstream/v0.10'
...
Conflicts:
lib/_stream_writable.js
2014-02-10 11:21:09 -08:00