- Jul 20, 2012
-
-
Fedor Indutny authored
-
Fedor Indutny authored
It's useful for passing some additional options of request object to the underlying API
-
Fedor Indutny authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* V8: upgrade to 3.11.10.15 * npm: Upgrade to 1.1.43 * net: fix net.Server.listen({fd:x}) error reporting (Ben Noordhuis) * net: fix bogus errno reporting (Ben Noordhuis) * build: Move npm shebang logic into an npm script (isaacs) * build: fix add-on loading on freebsd (Ben Noordhuis) * build: disable unsafe optimizations (Ben Noordhuis) * build: fix spurious mksnapshot crashes for good (Ben Noordhuis) * build: speed up genv8constants (Dave Pacheco) * fs: make unwatchFile() remove a specific listener (Ben Noordhuis) * domain: Remove first arg from intercepted fn (Toshihiro Nakamura) * domain: Fix memory leak on error (isaacs) * events: Fix memory leak from removeAllListeners (Nathan Rajlich) * zlib: Fix memory leak in Unzip class. (isaacs) * crypto: Fix memory leak in DecipherUpdate() (Ben Noordhuis) -
isaacs authored
-
isaacs authored
-
Ben Noordhuis authored
I disabled the -ffunction-sections and -fdata-sections switches in 202df30a because they're horribly buggy with some gcc/binutils combos. However, it turns out that the dtrace/ustack post-processing tool requires that V8 is compiled with said switches and was broken because of it. This commit turns them on again on SunOS systems. Let's hope for the best.
-
- Jul 19, 2012
-
-
Ben Noordhuis authored
The system linker on SunOS doesn't understand --export-dynamic.
-
Ben Noordhuis authored
Unconditionally compile V8 with -fno-strict-aliasing on all platforms. gcc 4.5.2 on sunos generates bad code when -fstrict-aliasing is enabled, which undoubtedly means that there are more buggy versions of gcc out there. -fstrict-aliasing does not give a significant performance boost so let's just disable it. Fixes #3736.
-
- Jul 18, 2012
-
-
Ben Noordhuis authored
-
Ben Noordhuis authored
Explicitly cast double to int64_t, it was making add-ons that compile with `-Wall -Wextra -Werror` fail to build. Don't use fully variadic macros, gcc in uber-strict mode rejects them.
-
Ben Noordhuis authored
-
isaacs authored
-
Dave Pacheco authored
genv8constants was much slower than necessary due to lack of pipe buffering.
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
- Jul 17, 2012
-
-
isaacs authored
-
- Jul 16, 2012
-
-
Mike Morearty authored
-
- Jul 14, 2012
-
-
Bert Belder authored
-
George Shank authored
Replace 'Fork me at Github' ribbon with a new one fitting the website's color scheme.
-
isaacs authored
This allows us to run npm's scripts/relocate.sh script whenever necessary, if for example node has been 'make install'ed into one folder, and then you wish to move it into another one.
-
isaacs authored
-
- Jul 13, 2012
-
-
Ben Noordhuis authored
Link with -Wl,--export-dynamic, makes symbols from the node binary visible to binary add-ons. Fixes "undefined symbol: _ZN2v811HandleScopeC1Ev" errors when loading add-ons on FreeBSD and likely other BSDs. Fixes #3623.
-
Nathan Rajlich authored
This reverts commit 928ea564. Keeping the original Array instance in-place essentially causes a memory leak on EventEmitters that use an infinite number of event names (an incrementing counter, for example), which isn't an unreasonable thing to want to do. Fixes #3702.
-
Ben Noordhuis authored
* don't assert when fd isn't an open file descriptor * don't die with a ReferenceError when fd isn't a file descriptor you can listen() on Fixes #3699.
-
- Jul 12, 2012
-
-
Ben Noordhuis authored
_listen2() emits the error on the next tick. The errno value may have changed by then.
-
Ben Noordhuis authored
V8 on ARM requires that armv7 is set. We don't have a good way to detect the CPU model right now so we pick a default and hope that it works okay for the majority of people. Non-scientific sampling - the ARM hardware I have lying around the house - suggests that ARMv5 and ARMv6 are still most common so armv7=0 it is. This obviously needs to be revisited sometime in the future.
-
Ben Noordhuis authored
Compile at -O2 and disable optimizations that trigger gcc bugs. Some people still reported mksnapshot crashes after commit b40f813b ("build: fix spurious mksnapshot crashes for good" - so much for that). Average performance of the -O2 binary is on par with the -O3 binary. Variance on the http_simple bytes/8 benchmark appears to be slightly greater but small enough that the possibly of it being noise cannot be excluded. The new binary very slightly but consistently outperforms the -O3 binary (by about 0.5%) on the mostly CPU-bound bytes/102400 benchmark. That could be an artifact of the system I benchmarked it on, a Core 2 Duo with a puny 32 kB of L1 instruction cache. The smaller binary seems to play nicer with the cache.
-
Bert Belder authored
-
isaacs authored
-
- Jul 11, 2012
-
-
Philipp Hagemeister authored
-
Ben Noordhuis authored
A variety of gcc bugs made mksnapshot crash with either a segmentation fault or a 'pure virtual method callled' run-time error. After much wailing and gnashing of teeth I managed to deduce that the bugs show up when: 1. gcc 4.5.2 for i386-pc-solaris2.11 is used and -fstrict-aliasing is enabled, or 2. gcc version 4.4.6 for x86_64-redhat-linux is used and -ffunction-sections -finline-functions at -O2 or higher is enabled Therefore, disable -ffunction-sections and -fdata-sections unconditionally and disable -fstrict-aliasing only on Solaris. The -ffunction-sections and -fdata-sections switches were nonsense anyway because we don't link with -Wl,--gc-sections. -
isaacs authored
-
isaacs authored
* npm: Upgrade to 1.1.37 (isaacs) * benchmark: Backport improvements made in master (isaacs) * build: always link with -lz (Trent Mick) * core: use proper #include directives (Ben Noordhuis) * cluster: don't silently drop messages when the write queue gets big (Bert Belder) * windows: don't print error when GetConsoleTitleW returns an empty string (Bert Belder)
-