Skip to content

Commit f1996ff

Browse files
committed
Merge remote branch 'origin/v0.4'
Conflicts: AUTHORS ChangeLog doc/api/stdio.markdown doc/index.html doc/template.html lib/net.js src/node_version.h test/simple/test-child-process-customfd-bounded.js test/simple/test-console-not-call-toString.js
2 parents 028908a + 0c91a83 commit f1996ff

File tree

5 files changed

+60
-8
lines changed

5 files changed

+60
-8
lines changed

AUTHORS

+5
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,8 @@ Igor Zinkovsky <[email protected]>
197197
Shigeki Ohtsu <[email protected]>
198198
199199
Pierre-Alexandre St-Jean <[email protected]>
200+
Vicente Jimenez Aguilar <[email protected]>
201+
SAWADA Tadashi <[email protected]>
202+
Logan Smyth <[email protected]>
203+
Christopher Wright <[email protected]>
204+
Mickaël Delahaye <[email protected]>

ChangeLog

+26
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,32 @@
166166
* DTrace probes: support X-Forwarded-For (Dave Pacheco)
167167

168168

169+
2011.08.17, Version 0.4.11 (stable)
170+
171+
* #738 Fix crypto encryption/decryption with Base64. (SAWADA Tadashi)
172+
173+
* #1202 net.createConnection defer DNS lookup error events to next tick
174+
(Ben Noordhuis)
175+
176+
* #1374 fix setting ServerResponse.statusCode in writeHead (Trent Mick)
177+
178+
* #1417 Fix http.ClientRequest crashes if end() was called twice
179+
180+
* #1497 querystring: Replace 'in' test with 'hasOwnProperty' (isaacs)
181+
182+
* #1546 http perf improvement
183+
184+
* fix memleak in libeio (Tom Hughes)
185+
186+
* cmake improvements (Tom Hughes)
187+
188+
* node_net.cc: fix incorrect sizeof() (Tom Hughes)
189+
190+
* Windows/cygwin: no more GetConsoleTitleW errors on XP (Bert Belder)
191+
192+
* Doc improvments (koichik, Logan Smyth, Ben Noordhuis, Arnout Kazemier)
193+
194+
169195
2011.07.19, Version 0.4.10 (stable)
170196

171197
* #394 Fix Buffer drops last null character in UTF-8

doc/api/stdio.markdown

+24-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,30 @@ Prints to stdout with newline. This function can take multiple arguments in a
99

1010
console.log('count: %d', count);
1111

12-
If formating elements are not found in the first string then `util.inspect`
13-
is used on each argument.
14-
See [util.format()](util.html#util.format) for more infomation.
12+
The first argument is a string that contains zero or more *placeholders*.
13+
Each placeholder is replaced with the converted value from its corresponding
14+
argument. Supported placeholders are:
15+
16+
* `%s` - String.
17+
* `%d` - Number (both integer and float).
18+
* `%j` - JSON.
19+
20+
If the placeholder does not have a corresponding argument, `undefined` is used.
21+
22+
console.log('%s:%s', 'foo'); // 'foo:undefined'
23+
24+
If there are more arguments than placeholders, the extra arguments are
25+
converted to strings with `util.inspect()` and these strings are concatenated,
26+
delimited by a space.
27+
28+
console.log('%s:%s', 'foo', 'bar', 'baz'); // 'foo:bar baz'
29+
30+
If the first argument is not a format string then `console.log()` prints
31+
a string that is the concatenation of all its arguments separated by spaces.
32+
Each argument is converted to a string with `util.inspect()`.
33+
34+
console.log(1, 2, 3); // '1 2 3'
35+
1536

1637
### console.info()
1738

doc/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<li><a href="#download">Download</a></li>
2727
<li><a href="https://github.com/joyent/node/wiki/ChangeLog">ChangeLog</a></li>
2828
<li><a href="#about">About</a></li>
29-
<li><a href="http://nodejs.org/docs/v0.4.10/api">v0.4.10 docs</a></li>
29+
<li><a href="http://nodejs.org/docs/v0.4.11/api">v0.4.11 docs</a></li>
3030
<li><a href="http://nodejs.org/docs/v0.5.4/api">v0.5.4 docs</a></li>
3131
<br/>
3232
<li><a href="https://github.com/joyent/node/wiki">Wiki</a></li>
@@ -110,10 +110,10 @@ <h2 id="download">Download</h2>
110110
<a href="http://github.com/joyent/node/tree/master">git repo</a>
111111
</p>
112112

113-
<p>2011.07.19 v0.4.10 (stable)
113+
<p>2011.08.17 v0.4.11 (stable)
114114
<ul class="release">
115-
<li><a href="http://nodejs.org/dist/node-v0.4.10.tar.gz"><code>node-v0.4.10.tar.gz</code> Source Code</a>
116-
<li><a href="http://nodejs.org/docs/v0.4.10/api/index.html">Documentation</a>
115+
<li><a href="http://nodejs.org/dist/node-v0.4.11.tar.gz"><code>node-v0.4.11.tar.gz</code> Source Code</a>
116+
<li><a href="http://nodejs.org/docs/v0.4.11/api/index.html">Documentation</a>
117117
</ul>
118118

119119
<p>2011.08.12 v0.5.4 (unstable)
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
var common = require('../common');
2+
23
var bigish = Array(200);
34

45
for (var i = 0, il = bigish.length; i < il; ++i)
56
bigish[i] = -1;
67

78
common.spawnPwd({ customFds: bigish });
8-

0 commit comments

Comments
 (0)