- Jul 08, 2012
-
-
isaacs authored
-
Bert Belder authored
-
isaacs authored
-
Bert Belder authored
-
Bert Belder authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
Dominic Tarr authored
-
- Jul 07, 2012
-
-
Nathan Rajlich authored
It wasn't necessary.
-
Jonas Westerlund authored
-
Jonas Westerlund authored
Fixes crash in strict mode.
-
Jonas Westerlund authored
The latter is illegal in strict mode.
-
Jonas Westerlund authored
Moving it out would require an anonymous function, or bind(), anyway. Luckily It's a tiny function. Fixes crash in strict mode.
-
Jonas Westerlund authored
Also avoid using eval as identifier. Fixes crashes in strict mode.
-
Jonas Westerlund authored
Gets rid of a strict mode error and a few levels of indentation.
-
Jonas Westerlund authored
It is an error in strict mode, and silent failure otherwise.
-
Jonas Westerlund authored
Capitalize the constructor to avoid redeclaration. Fixes strict mode error.
-
Jonas Westerlund authored
Both are errors in strict mode.
-
TJ Holowaychuk authored
Otherwise it can be quite difficult to figure out which file is busted. Closes #3580.
-
- Jul 06, 2012
-
-
Tim Macfarlane authored
prompt length is char length, not byte length
-
Ben Noordhuis authored
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
-
- Jul 05, 2012
-
-
Nathan Rajlich authored
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 authored
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.
-
- Jul 04, 2012
-
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
- Jul 03, 2012
-
-
Ben Noordhuis authored
Make the variable naming consistent with the other strict aliasing var, v8_no_strict_aliasing.
-
Ben Noordhuis authored
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 authored
The heuristic introduced in f78ce087 ("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.
-
- Jul 02, 2012
-
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
- Jun 30, 2012
-
-
Ben Noordhuis authored
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 authored
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 authored
-
Ben Noordhuis authored
-
isaacs authored
-
isaacs authored
-
- Jun 29, 2012
-
-
isaacs authored
* 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 Noordhui... -
isaacs authored
-