isaacs [Sat, 7 Jul 2012 19:40:06 +0000 (12:40 -0700)]
npm: Upgrade to 1.1.36
isaacs [Sat, 7 Jul 2012 16:53:33 +0000 (09:53 -0700)]
doc: Formatting and grammar on stream api doc
Dominic Tarr [Sat, 7 Jul 2012 00:25:13 +0000 (12:25 +1200)]
correct documentation of Stream#destroy
Nathan Rajlich [Sat, 7 Jul 2012 02:41:01 +0000 (19:41 -0700)]
readline: don't use Function#call()
It wasn't necessary.
Jonas Westerlund [Thu, 5 Jul 2012 16:46:09 +0000 (18:46 +0200)]
Forgotten commit: add arguments to handleGroup
Jonas Westerlund [Wed, 4 Jul 2012 21:19:09 +0000 (23:19 +0200)]
Assign to property of global, instead of implicit global variable
Fixes crash in strict mode.
Jonas Westerlund [Wed, 4 Jul 2012 21:18:33 +0000 (23:18 +0200)]
Use unicode escape sequences instead of octal
The latter is illegal in strict mode.
Jonas Westerlund [Wed, 4 Jul 2012 21:17:14 +0000 (23:17 +0200)]
Inline timeout function, avoiding declaration in conditional
Moving it out would require an anonymous function, or bind(), anyway.
Luckily It's a tiny function. Fixes crash in strict mode.
Jonas Westerlund [Wed, 4 Jul 2012 21:14:27 +0000 (23:14 +0200)]
Move function declaration out of conditional
Also avoid using eval as identifier.
Fixes crashes in strict mode.
Jonas Westerlund [Wed, 4 Jul 2012 21:01:03 +0000 (23:01 +0200)]
Move function declaration to top-level
Gets rid of a strict mode error and a few levels of indentation.
Jonas Westerlund [Wed, 4 Jul 2012 20:59:23 +0000 (22:59 +0200)]
Do not assign to properties that only have getters
It is an error in strict mode, and silent failure otherwise.
Jonas Westerlund [Wed, 4 Jul 2012 20:57:48 +0000 (22:57 +0200)]
Avoid redeclaring variable
Capitalize the constructor to avoid redeclaration.
Fixes strict mode error.
Jonas Westerlund [Wed, 4 Jul 2012 20:55:54 +0000 (22:55 +0200)]
Remove octal escape sequences and avoid reserved keyword
Both are errors in strict mode.
TJ Holowaychuk [Fri, 6 Jul 2012 22:26:41 +0000 (15:26 -0700)]
module: add filename to require() json errors
Otherwise it can be quite difficult to figure out which file is busted.
Closes #3580.
Tim Macfarlane [Fri, 29 Jun 2012 09:33:58 +0000 (10:33 +0100)]
readline: fix for unicode prompts
prompt length is char length, not byte length
Ben Noordhuis [Sun, 1 Jul 2012 20:58:22 +0000 (22:58 +0200)]
timers: fix handling of large timeouts
Don't use the double-negate trick to coalesce the timeout argument into a
number, it produces the wrong result for very large timeouts.
Example:
setTimeout(cb, 1e10); // doesn't work, ~~1e10 ==
1410065408
Nathan Rajlich [Wed, 4 Jul 2012 18:51:24 +0000 (11:51 -0700)]
repl: fix passing an empty line inserting "undefined" into the buffer
There was a possiblity of insering the string "undefined" into the repl's
command buffer, which would cause interesting results while evaluating.
Maciej Małecki [Tue, 3 Jul 2012 02:13:24 +0000 (04:13 +0200)]
repl: fix crashes when buffering command
Wrong order of operands was causing problems while trying to use command
buffering:
> {
... a: 3,
...
repl.js:284
if (cmd.trim().match(/^npm /) && !self.bufferedCommand) {
^
TypeError: Cannot call method 'trim' of undefined
at finish (repl.js:284:17)
at REPLServer.self.eval (repl.js:118:5)
at rli.on.e (repl.js:260:20)
at REPLServer.self.eval (repl.js:118:5)
at Interface.<anonymous> (repl.js:250:12)
at Interface.EventEmitter.emit (events.js:88:17)
at Interface._onLine (readline.js:183:10)
at Interface._line (readline.js:502:8)
at Interface._ttyWrite (readline.js:720:14)
at ReadStream.<anonymous> (readline.js:105:12)
Test included.
Closes #3515.
Closes #3517.
Closes #3621.
Ben Noordhuis [Wed, 4 Jul 2012 12:08:07 +0000 (14:08 +0200)]
deps: upgrade libuv to be09be7
Ben Noordhuis [Tue, 3 Jul 2012 18:56:06 +0000 (20:56 +0200)]
tools: update gyp to r1426
Ben Noordhuis [Tue, 3 Jul 2012 18:54:19 +0000 (20:54 +0200)]
deps: upgrade libuv to 5031a5b
Ben Noordhuis [Tue, 3 Jul 2012 13:28:06 +0000 (15:28 +0200)]
build: rename strict_aliasing to node_no_strict_aliasing
Make the variable naming consistent with the other strict aliasing var,
v8_no_strict_aliasing.
Ben Noordhuis [Tue, 3 Jul 2012 13:19:08 +0000 (15:19 +0200)]
build: disable -fstrict-aliasing for any gcc < 4.6.0
It has been conclusively demonstrated that the -fstrict-aliasing bugs in gcc's
optimizer are not limited to the 4.5.x releases only.
Fixes #3601 among others.
Ben Noordhuis [Tue, 3 Jul 2012 13:14:33 +0000 (15:14 +0200)]
build: detect cc version with -dumpversion
The heuristic introduced in f78ce08 ("build: handle output of localized gcc or
clang") does not handle "branded" versions of gcc, i.e. a gcc whose output has
been customized by the distro vendor.
Fixes #3601.
Ben Noordhuis [Sun, 1 Jul 2012 22:07:11 +0000 (00:07 +0200)]
deps: upgrade libuv to cc1b3de
Ben Noordhuis [Sun, 1 Jul 2012 18:09:55 +0000 (20:09 +0200)]
doc: document setTimeout / setInterval behavior
Ben Noordhuis [Sat, 30 Jun 2012 15:49:31 +0000 (17:49 +0200)]
build: handle output of localized gcc or clang
Before this commit, we used to scan the output of `$CC -v` for strings like
"gcc version x.y.z".
It was pointed out that this approach fails with localized versions of gcc
because those print (for example) "gcc versión x.y.z".
Use the output of `$CC --version` instead and only look at the first line.
Ben Noordhuis [Sat, 30 Jun 2012 02:27:29 +0000 (04:27 +0200)]
build: rename openssl configure switches
For consistency's sake, rename:
--openssl-use-sys
--openssl-includes
--openssl-libpath
To:
--shared-openssl
--shared-openssl-includes
--shared-openssl-libpath
And add --shared-openssl-libname while we're at it.
The old switches still work but `./configure --help` won't print them.
Fixes #3591.
Ben Noordhuis [Sat, 30 Jun 2012 01:27:54 +0000 (03:27 +0200)]
deps: upgrade libuv to 3b8c0da
Ben Noordhuis [Sat, 30 Jun 2012 00:23:03 +0000 (02:23 +0200)]
doc: fs.lchmod() is only available on OS X
isaacs [Fri, 29 Jun 2012 17:15:40 +0000 (10:15 -0700)]
Blog post about 0.8.1
isaacs [Fri, 29 Jun 2012 17:14:58 +0000 (10:14 -0700)]
Merge branch 'v0.8.1-release' into v0.8
isaacs [Fri, 29 Jun 2012 02:28:00 +0000 (19:28 -0700)]
2012.06.29, Version 0.8.1 (stable)
* V8: upgrade to v3.11.10.12
* npm: upgrade to v1.1.33
- Support for parallel use of the cache folder
- Retry on registry timeouts or network failures (Trent Mick)
- Reduce 'engines' failures to a warning
- Use new zsh completion if aviailable (Jeremy Cantrell)
* Fix #3577 Un-break require('sys')
* util: speed up formatting of large arrays/objects (Ben Noordhuis)
* windows: make fs.realpath(Sync) work with UNC paths (Bert Belder)
* build: fix --shared-v8 option (Ben Noordhuis)
* doc: `detached` is a boolean (Andreas Madsen)
* build: use proper python interpreter (Ben Noordhuis)
* build: expand ~ in `./configure --prefix=~/a/b/c` (Ben Noordhuis)
* build: handle CC env var with spaces (Gabriel de Perthuis)
* build: fix V8 build when compiling with gcc 4.5 (Ben Noordhuis)
* build: fix --shared-v8 option (Ben Noordhuis)
* windows msi: Fix icon issue which caused huge file size (Bert Belder)
* unix: assume that dlopen() may clobber dlerror() (Ben Noordhuis)
* sunos: fix memory corruption bugs (Ben Noordhuis)
* windows: better (f)utimes and (f)stat (Bert Belder)
isaacs [Fri, 29 Jun 2012 08:22:10 +0000 (01:22 -0700)]
blog: Require posts to have a date
isaacs [Fri, 29 Jun 2012 08:20:59 +0000 (01:20 -0700)]
blog: Direct bugs/feature feedback to issues
isaacs [Fri, 29 Jun 2012 08:20:13 +0000 (01:20 -0700)]
blog: Don't print 'undefined' for missing author/category
isaacs [Fri, 29 Jun 2012 07:45:55 +0000 (00:45 -0700)]
blog css: Styling of nested lists
isaacs [Fri, 29 Jun 2012 05:23:53 +0000 (22:23 -0700)]
homepage: Update Claudio's title/link
isaacs [Fri, 29 Jun 2012 05:06:53 +0000 (22:06 -0700)]
lint
isaacs [Fri, 29 Jun 2012 02:10:56 +0000 (19:10 -0700)]
uv: upgrade to 5b8a112
isaacs [Fri, 29 Jun 2012 02:08:32 +0000 (19:08 -0700)]
npm: Upgrade to 1.1.33
Support for parallel use of the cache folder
Retry on registry timeouts or network failures
Reduce 'engines' failures to a warning
Use new zsh completion if aviailable
isaacs [Thu, 28 Jun 2012 17:13:28 +0000 (10:13 -0700)]
Fix #3577 Un-break require('sys')
Bert Belder [Thu, 28 Jun 2012 14:17:30 +0000 (16:17 +0200)]
uv: upgrade to 4a88b3b
isaacs [Thu, 28 Jun 2012 06:32:43 +0000 (23:32 -0700)]
blog: Show 0.8.0 even after 0.8.1 ships
The 0.(even).0 releases typically have benchmarks and other interesting
stuff, since that's a milestone.
Ben Noordhuis [Wed, 27 Jun 2012 17:15:28 +0000 (19:15 +0200)]
util: speed up formatting of large arrays/objects
Don't .indexOf() into the keys array. V8 is smart but not so smart that it
knows how to turn the linear scan into a O(1) lookup.
Fixes #3562.
Ben Noordhuis [Thu, 28 Jun 2012 01:47:40 +0000 (03:47 +0200)]
doc: remove references to deprecated fs api
The string-based versions of fs.read() and fs.write() have been deprecated
since before v0.2.0.
Ben Noordhuis [Wed, 27 Jun 2012 23:07:42 +0000 (01:07 +0200)]
build: use proper python interpreter
Make configure start gyp with the same python interpreter that is used to
run configure itself.
Fixes an issue where configure fails with a SyntaxError because the user
has multiple python binaries on his $PATH and the default one is too old.
Gabriel [Tue, 26 Jun 2012 17:45:13 +0000 (19:45 +0200)]
build: handle CC env var with spaces
For example:
CC='ccache gcc' ./configure
Bert Belder [Tue, 26 Jun 2012 23:59:25 +0000 (01:59 +0200)]
windows: make fs.realpath(Sync) work with UNC paths
Closes #3542
Ben Noordhuis [Tue, 26 Jun 2012 22:33:50 +0000 (00:33 +0200)]
build: fix --shared-v8 option
isaacs [Tue, 26 Jun 2012 22:20:26 +0000 (15:20 -0700)]
realpath: No sync cb() calling allowed.
Ben Noordhuis [Tue, 26 Jun 2012 21:38:35 +0000 (23:38 +0200)]
deps: upgrade libuv to 4d42af2
Tim Oxley [Mon, 25 Jun 2012 18:14:10 +0000 (04:14 +1000)]
Added % difference for perf benchmarks in 0.8 post
Bert Belder [Tue, 26 Jun 2012 17:23:24 +0000 (19:23 +0200)]
configure: don't fail if compiler_version() doesn't work
This fixes the Windows build.
Andreas Madsen [Mon, 25 Jun 2012 16:53:35 +0000 (18:53 +0200)]
doc: `detached` is a boolean
Ben Noordhuis [Tue, 26 Jun 2012 14:34:07 +0000 (16:34 +0200)]
build: expand ~ in `./configure --prefix=~/a/b/c`
Ben Noordhuis [Tue, 26 Jun 2012 00:54:11 +0000 (02:54 +0200)]
build: disable strict aliasing in v8 with gcc 4.5.x
The gcc 4.5.x have various bugs that make V8 crash in various and interesting
ways when -fstrict-aliasing is in effect.
Bert Belder [Wed, 13 Jun 2012 13:37:15 +0000 (15:37 +0200)]
v8: reapply floating patches
Bert Belder [Tue, 26 Jun 2012 00:03:24 +0000 (02:03 +0200)]
v8: upgrade to version 3.11.10.12
Andreas Madsen [Mon, 25 Jun 2012 16:53:35 +0000 (18:53 +0200)]
doc: replace references to cluster.autoFork
Bert Belder [Mon, 25 Jun 2012 16:40:48 +0000 (18:40 +0200)]
windows: remove 256x256 version of the icon
Nobody needs that anyway, it's just eating up space.
Bert Belder [Mon, 25 Jun 2012 16:40:12 +0000 (18:40 +0200)]
windows msi: don't use .exe file as icon
This makes the installer nice and small again.
koichik [Sat, 26 May 2012 04:56:41 +0000 (13:56 +0900)]
docs: add punycode to TOC
Refs #3301.
isaacs [Mon, 25 Jun 2012 06:02:00 +0000 (23:02 -0700)]
blog post for v0.8.0
isaacs [Mon, 25 Jun 2012 14:58:03 +0000 (07:58 -0700)]
Now working on 0.8.1
isaacs [Mon, 25 Jun 2012 14:57:45 +0000 (07:57 -0700)]
Merge branch 'v0.8.0-release' into v0.8
isaacs [Wed, 20 Jun 2012 17:44:15 +0000 (10:44 -0700)]
2012.06.25, Version 0.8.0 (stable)
* V8: upgrade to v3.11.10.10
* npm: Upgrade to 1.1.32
* Deprecate iowatcher (Ben Noordhuis)
* windows: update icon (Bert Belder)
* http: Hush 'MUST NOT have a body' warnings to debug() (isaacs)
* Move blog.nodejs.org content into repository (isaacs)
* Fix #3503: stdin: resume() on pipe(dest) (isaacs)
* crypto: fix error reporting in SetKey() (Fedor Indutny)
* Add --no-deprecation and --trace-deprecation command-line flags
* (isaacs)
* fs: fix fs.watchFile() (Ben Noordhuis)
* fs: Fix fs.readfile() on pipes (isaacs)
* Rename GYP variable node_use_system_openssl to be consistent (Ryan
* Dahl)
isaacs [Mon, 25 Jun 2012 14:37:07 +0000 (07:37 -0700)]
Hotfix for #3528 Add strdup in uv_cpu_info
Mathias Bynens [Sat, 23 Jun 2012 09:31:26 +0000 (11:31 +0200)]
docs: Switch to the asynchronous Google Analytics snippet
The old snippet needlessly uses `document.write`. Let’s use the
optimized version of the most recent, asynchronous GA snippet:
http://mathiasbynens.be/notes/async-analytics-snippet
isaacs [Fri, 22 Jun 2012 22:13:11 +0000 (15:13 -0700)]
npm: Upgrade to 1.1.32
Bert Belder [Fri, 22 Jun 2012 18:51:21 +0000 (20:51 +0200)]
uv: upgrade to 0387c23
isaacs [Fri, 22 Jun 2012 16:04:14 +0000 (09:04 -0700)]
blog: add RSS link tag for discovery
isaacs [Fri, 22 Jun 2012 15:49:20 +0000 (08:49 -0700)]
blog: Generate RSS feeds
isaacs [Thu, 21 Jun 2012 23:44:22 +0000 (16:44 -0700)]
npm: Upgrade to 1.1.31
isaacs [Fri, 22 Jun 2012 14:44:40 +0000 (07:44 -0700)]
uv: Upgrade to
171e2f71b9
Bert Belder [Fri, 22 Jun 2012 13:15:44 +0000 (15:15 +0200)]
windows msi: use .url files for documentation and website shortcuts
Bert Belder [Fri, 22 Jun 2012 13:13:28 +0000 (15:13 +0200)]
windows msi: add npm dir to user PATH only
The NPM folder is personal to the user. It shouldn't be added to the
system-wide path.
Bert Belder [Fri, 22 Jun 2012 13:11:38 +0000 (15:11 +0200)]
windows msi: set icon for add/remove programs dialog
Bert Belder [Fri, 22 Jun 2012 13:11:17 +0000 (15:11 +0200)]
windows: fix/improve nodejsvars.bat
- Fix: it didn't work for the x86 version of node
- Also add NPM to path
- Also print node version
- Don't change dir to home dir if not started from the start menu
isaacs [Fri, 22 Jun 2012 02:44:58 +0000 (19:44 -0700)]
blog: Show category in post metadata
isaacs [Fri, 22 Jun 2012 02:36:17 +0000 (19:36 -0700)]
stdin.pipe: Replace forgotten opts member
isaacs [Fri, 22 Jun 2012 02:20:09 +0000 (19:20 -0700)]
blog: Missing title tag
isaacs [Fri, 22 Jun 2012 02:15:03 +0000 (19:15 -0700)]
blog: Minor tweaks to style and some data conversion cleanup
Joe Shaw [Thu, 21 Jun 2012 23:46:31 +0000 (20:46 -0300)]
authors: update email address
Closes #3507.
isaacs [Thu, 21 Jun 2012 23:19:56 +0000 (16:19 -0700)]
Merge branch 'blog'
isaacs [Wed, 20 Jun 2012 17:14:45 +0000 (10:14 -0700)]
Generate static HTML blog content out of markdown
isaacs [Wed, 20 Jun 2012 05:13:22 +0000 (22:13 -0700)]
Initial blog source
Exported from WP and cleaned up a bit.
isaacs [Thu, 21 Jun 2012 23:18:00 +0000 (16:18 -0700)]
Merge branch 'stdin-resume-pipe'
isaacs [Thu, 21 Jun 2012 23:03:48 +0000 (16:03 -0700)]
Fix #3503: stdin: resume() on pipe(dest)
Fedor Indutny [Thu, 21 Jun 2012 23:02:43 +0000 (03:02 +0400)]
crypto: fix error reporting in SetKey()
isaacs [Thu, 21 Jun 2012 21:47:25 +0000 (14:47 -0700)]
test: add deprecation fixture
isaacs [Thu, 21 Jun 2012 20:39:54 +0000 (13:39 -0700)]
Externalize node::no_deprecation
isaacs [Thu, 21 Jun 2012 19:20:23 +0000 (12:20 -0700)]
Apply --no-deprecation to C++ warnings as well
isaacs [Thu, 21 Jun 2012 18:42:33 +0000 (11:42 -0700)]
Add --no-deprecation and --trace-deprecation flags
isaacs [Thu, 21 Jun 2012 17:04:21 +0000 (10:04 -0700)]
http: Hush 'MUST NOT have a body' warnings to debug()
Bert Belder [Thu, 21 Jun 2012 18:52:11 +0000 (20:52 +0200)]
Fix bug in io benchmark
Ben Noordhuis [Thu, 21 Jun 2012 15:55:05 +0000 (17:55 +0200)]
iowatcher: add deprecation warning
Ben Noordhuis [Thu, 21 Jun 2012 13:03:49 +0000 (15:03 +0200)]
doc: update fs.watchFile() docs
Ben Noordhuis [Thu, 21 Jun 2012 13:03:21 +0000 (15:03 +0200)]
fs: make fs.watchFile() interval default to 5007
Ben Noordhuis [Sat, 16 Jun 2012 20:41:37 +0000 (22:41 +0200)]
fs: make fs.watchFile() work on windows