Ben Noordhuis
56c5806da3
doc: document os.loadavg() behavior on windows
...
The load average is a very UNIX-y concept. That's why os.loadavg()
always returns zeros on Windows. Mention that in the documentation.
2013-10-14 12:14:51 +02:00
Dave Pacheco
720675e7db
test: use proper findjsobjects output format
...
Closes #6329
2013-10-10 15:45:25 -07:00
Ben Noordhuis
ff1efdd6ee
doc: net: remove bad net.Server description
...
net.Server is not an instance of net.Socket so don't say it is.
2013-10-10 14:34:16 +02:00
Ben Noordhuis
51cdce8322
doc: addon: fix object instantiation examples
...
* Extend examples to show how to handle non-constructor invocation in
constructor callback functions.
* Fix up examples to initialize member variables at object construction.
* Fix up a few naming inconsistencies.
Fixes #5701 .
2013-10-10 14:09:39 +02:00
isaacs
9c65387673
blog: Remove wp-to-markdown script
2013-10-09 14:00:32 -07:00
Ben Noordhuis
9777890f5d
tls: fix premature connection termination
...
Destroying the TLS session implies destroying the underlying socket but
before this commit, that was done with net.Socket#destroy() rather than
net.Socket#destroySoon(). The former closes the connection right away,
even when there is still data to write. In other words, sometimes the
final TLS record got truncated.
Fixes #6107 .
2013-10-09 19:25:47 +02:00
Dave Pacheco
98c57c7c07
dtrace: backport two byte string fix
...
This is a partial backport of 5921158
Re #6309
Closes #6319
2013-10-09 08:49:39 -07:00
Ben Noordhuis
b011811a9f
fs: fix fs.truncate() file content zeroing bug
...
fs.truncate() and its synchronous sibling are implemented in terms of
open() + ftruncate(). Unfortunately, it opened the target file with
mode 'w' a.k.a. 'write-only and create or truncate at open'.
The subsequent call to ftruncate() then moved the end-of-file pointer
from zero to the requested offset with the net result of a file that's
neatly truncated at the right offset and filled with zero bytes only.
This bug was introduced in commit 168a5557
but in fairness, before that
commit fs.truncate() worked like fs.ftruncate() so it seems we've never
had a working fs.truncate() until now.
Fixes #6233 .
2013-10-08 11:35:12 +02:00
Ben Noordhuis
d97ea06d88
doc: add warning to fs.exists() documentation
...
Warn against the open-if-exists anti-pattern, it's susceptible to
race conditions.
2013-10-05 14:54:57 +02:00
Ben Noordhuis
b7f36e187d
doc: link to pre-built binaries, add install note
...
lLnk to http://nodejs.org/download/ and add a short primer on how to
extract the tarballs.
Fixes #6292 .
2013-10-01 08:37:32 +02:00
Timothy J Fontaine
a63079f34c
blog: Post for v0.10.20
2013-09-30 15:06:14 -07:00
Timothy J Fontaine
d537992d57
Now working on 0.10.21
2013-09-30 15:06:14 -07:00
Timothy J Fontaine
451497c81e
Merge branch 'v0.10.20-release' into v0.10
2013-09-30 15:06:02 -07:00
Timothy J Fontaine
d7234c8d50
2013.09.30, Version 0.10.20 (Stable)
...
* tls: fix sporadic hang and partial reads (Fedor Indutny)
- fixes "npm ERR! cb() never called!"
2013-09-30 13:52:48 -07:00
Ben Noordhuis
994ce4c99f
src: turn uv_pipe_open() failures into exceptions
...
uv_pipe_open() is unlikely to fail but when it does, the failure should
not be quietly ignored. Raise the error as an exception.
See joyent/libuv#941 .
2013-09-28 10:35:57 +02:00
Fedor Indutny
671b5be6e9
tls: fix sporadic hang and partial reads
...
Do not decrement size in read loop, its used later, when comparing to
`bytesRead`.
fix #6270
NOTE: Original patch contributed by @roadrunner2
2013-09-27 23:47:13 +04:00
Timothy J Fontaine
cfa03ad2e3
blog: add missing shasums for v0.10.19 release
2013-09-24 15:16:44 -07:00
Timothy J Fontaine
9135c7fea8
blog: Post for v0.10.19
2013-09-24 15:10:22 -07:00
Timothy J Fontaine
093efafce3
Now working on 0.10.20
2013-09-24 15:10:22 -07:00
Timothy J Fontaine
cb150406c8
Merge branch 'v0.10.19-release' into v0.10
2013-09-24 15:10:10 -07:00
Timothy J Fontaine
6b5e6a5a3e
2013.09.24, Version 0.10.19 (Stable)
...
* uv: Upgrade to v0.10.17
* npm: upgrade to 1.3.11
* readline: handle input starting with control chars (Eric Schrock)
* configure: add mips-float-abi (soft, hard) option (Andrei Sedoi)
* stream: objectMode transforms allow falsey values (isaacs)
* tls: prevent duplicate values returned from read (Nathan Rajlich)
* tls: NPN protocols are now local to connections (Fedor Indutny)
2013-09-24 14:10:33 -07:00
Timothy J Fontaine
55546f55d4
uv: Upgrade to v0.10.17
2013-09-24 13:46:19 -07:00
Eric Schrock
35ae696822
readline: handle input starting with control chars
...
Handle control characters only when there is a single byte in the
stream, otherwise fall through to the standard multibyte handling.
2013-09-23 14:22:37 -07:00
Ben Noordhuis
7c554a5cd0
doc: document reserved status of SIGUSR1
...
Fixes #1212 .
2013-09-19 12:31:52 +02:00
Nathan Rajlich
5bda2bed37
doc: fix typos in the tls NPNProtocols
option
2013-09-16 13:57:34 -07:00
Nathan Rajlich
afabdf0e15
doc: specify the format of the ca
tls option
2013-09-16 13:57:00 -07:00
Nathan Rajlich
7196742852
tls: don't push() incoming data when ondata is set
...
Otherwise the data ends up "on the wire" twice, and
switching between consuming the stream using `ondata`
vs. `read()` would yield duplicate data, which was bad.
2013-09-13 10:08:35 -07:00
Ben Noordhuis
9fad8e5dc4
doc: fix blog link in blog posts and README
...
Apparently Joyent decommissioned joyeur.com but at least they saved the
contents of the blog. Update the links in the README and the nodejs.org
blog posts.
Hat tip to Eugen Pirogoff (@eugenpirogoff) for pointing it out.
Fixes #6224 .
2013-09-13 14:55:08 +02:00
Fedor Indutny
1c3863abfd
tls: fix setting NPN protocols
...
The NPN protocols was set on `require('tls')` or `global` object instead
of being a local property. This fact lead to strange persistence of NPN
protocols, and sometimes incorrect protocol selection (when no NPN
protocols were passed in client options).
fix #6168
2013-09-09 18:18:05 +04:00
Andrei Sedoi
3546825b14
configure: add mips-float-abi (soft, hard) option
2013-09-07 22:25:50 +02:00
isaacs
ebeae2df51
npm: upgrade to 1.3.11
2013-09-07 14:31:04 -05:00
isaacs
1be09dfc25
npm: upgrade to v1.3.10
2013-09-05 17:13:50 -07:00
isaacs
1da7bcc22c
stream: objectMode transforms allow falsey values
...
Closes #6183
2013-09-05 13:19:23 -07:00
Bert Belder
6301613ff5
uv: upgrade to v0.10.16
2013-09-05 16:50:47 +02:00
Timothy J Fontaine
8b05206665
blog: Post for v0.11.7
2013-09-04 15:27:06 -07:00
Timothy J Fontaine
9c19c1e19c
blog: Post for v0.10.18
2013-09-04 11:25:19 -07:00
Timothy J Fontaine
65ed79a6dc
Now working on 0.10.19
2013-09-04 11:25:19 -07:00
Timothy J Fontaine
86d881f888
Merge branch 'v0.10.18-release' into v0.10
2013-09-04 11:25:04 -07:00
Timothy J Fontaine
67a1f0c52e
2013.09.04, Version 0.10.18 (Stable)
...
* uv: Upgrade to v0.10.15
* stream: Don't crash on unset _events property (isaacs)
* stream: Pass 'buffer' encoding with decoded writable chunks (isaacs)
2013-09-04 10:51:53 -07:00
Kyle Robinson Young
95794641d2
doc: fix writable.write link
2013-09-04 10:25:51 +02:00
isaacs
00a1d3633c
benchmark: Fix execArgv handling
...
Bug in 01f3b46
causes the same benchmark to be run repeatedly.
Not so useful for the compare scripts.
2013-08-31 17:58:17 -07:00
isaacs
01f3b468a9
benchmark: Support passing v8 flags to benchmarks
...
The better to test --use-strict effects on performance.
(Spoiler: it has no measurable effect on performance.)
2013-08-31 10:36:44 -07:00
isaacs
fbb963b5d5
stream: check _events before _events.error
...
This fixes the regression introduced by 5458079
, which breaks the
net/net-pipe benchmark script.
Closes #6145
2013-08-28 09:35:39 -07:00
isaacs
02eb9c834a
doc: Adjust util stability index to 'API Frozen'
...
Closes #6087
2013-08-27 19:52:49 -07:00
isaacs
a3da3e7312
stream: Pass 'buffer' encoding to decoded writables
...
Since the encoding is no longer relevant once it is decoded to a Buffer,
it is confusing and incorrect to pass the encoding as 'utf8' or whatever
in those cases.
Closes #6119
2013-08-27 14:53:06 -07:00
Bert Belder
5508236c49
uv: update to v0.10.15
2013-08-23 19:02:14 +02:00
Timothy J Fontaine
3f1dba18b2
tools: script release steps after jenkins build
2013-08-21 16:59:15 -07:00
Timothy J Fontaine
92e4375173
tools: script to report [un]stable build
2013-08-21 16:55:27 -07:00
Timothy J Fontaine
1d27987dab
blog: Post for v0.10.17
2013-08-21 16:38:30 -07:00
Timothy J Fontaine
3c66b15789
Now working on 0.10.18
2013-08-21 16:37:43 -07:00