- Mar 21, 2015
-
-
Michaël Zasso authored
Previously, the minimal argument to require the current directory was require('./'). This commits allows to skip the trailing slash. Fixes: https://github.com/iojs/io.js/issues/1178 PR-URL: https://github.com/iojs/io.js/pull/1185 Reviewed-By:Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Christian Tellnes <christian@tellnes.no> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
- Mar 20, 2015
-
-
Rod Vagg authored
-
Rod Vagg authored
Notable Changes: * path: New type-checking on path.resolve() <https://github.com/iojs/io.js/pull/1153> uncovered some edge-cases being relied upon in the wild, most notably path.dirname(undefined). Type-checking has been loosened for path.dirname(), path.basename(), and path.extname(), (Colin Ihrig) <https://github.com/iojs/io.js/pull/1216>. * querystring: Internal optimizations in querystring.parse() and querystring.stringify() <https://github.com/iojs/io.js/pull/847> prevented Number literals from being properly converted via querystring.escape() <https://github.com/iojs/io.js/pull/1208>, exposing a blind-spot in the test suite. The bug and the tests have now been fixed (Jeremiah Senkpiel) <https://github.com/iojs/io.js/pull/1213>.
-
Jeremiah Senkpiel authored
stringifyPrimitive has always failed to stringify numbers since its introduction in 422d3c93. This went uncaught due to encodeURIComponent's string coercion. Fixes: https://github.com/iojs/io.js/issues/1208 PR-URL: https://github.com/iojs/io.js/pull/1213 Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Brian White <mscdex@mscdex.net>
-
Jeremiah Senkpiel authored
Fixes a number parsing regression introduced in 85a92a37 Fixes: https://github.com/iojs/io.js/issues/1208 PR-URL: https://github.com/iojs/io.js/pull/1213 Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Brian White <mscdex@mscdex.net>
-
cjihrig authored
a465840313f548b913eb2bd8ea3d26c2ab5dcebb added strict type checking for the methods in the path module. However, dirname(), basename(), and extname() actually had some undocumented uses in the wild. This commit loosens the type checking on those methods. Fixes: https://github.com/iojs/io.js/issues/1215 PR-URL: https://github.com/iojs/io.js/pull/1216 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Johan Bergström authored
A common convention in auto* is to call make check rather than make test. Let one alias the other PR-URL: https://github.com/iojs/io.js/pull/1211 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
Commit 8b2363d2 ("configure: use gcc and g++ as CC and CXX defaults") switches the CC and CXX defaults but it turns out that GYP uses cc and c++ as defaults on OS X. It also made the configure script complain about old compilers because the xcode gcc identifies as v4.2.1, whereas cc is less ambiguous about it being a clang hybrid. PR-URL: https://github.com/iojs/io.js/pull/1210 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Ben Noordhuis authored
It's technically undefined behavior to mix malloc with delete[] and new char[] with free(). smalloc was using new char[] in one place and malloc() in another but in both cases the memory was freed with free(). PR-URL: https://github.com/iojs/io.js/pull/1205 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Chris Dickinson authored
-
Chris Dickinson authored
Notable Changes: * node: a new -r or --require command-line option can be used to pre-load modules at start-up (Ali Ijaz Sheikh) * querystring: parse() and stringify() are now faster (Brian White) * http: the http.ClientRequest#flush() method has been deprecated and replaced with http.ClientRequest#flushHeaders() to match the same change now in Node.js v0.12 as per https://github.com/joyent/node/pull/9048 (Yosuke Furukawa) * net: allow server.listen() to accept a String option for port, e.g. { port: "1234" }, to match the same option being accepted in net.connect() as of https://github.com/joyent/node/pull/9268 (Ben Noordhuis) * tls: further work on the reported memory leak although there appears to be a minor leak remaining for the use-case in question, track progress at https://github.com/iojs/io.js/issues/1075. * v8: backport a fix for an integer overflow when --max_old_space_size values above 4096 are used (Ben Noordhuis) * platforms: the io.js CI system now reports passes on FreeBSD and SmartOS (_Solaris_). * npm: upgrade npm to 2.7.1. See the npm CHANGELOG.md for details. https://github.com/npm/npm/blob/master/CHANGELOG.md#v271-2015-03-05
-
Shigeki Ohtsu authored
All sources are just extracted from tarball into deps/openssl/openssl. change all openssl/include/openssl/*.h to include resolved symbolic links and openssl/crypto/opensslconf.h to refer config/opensslconf.h sha256-x86_64.pl does not exist in the origin openssl distribution. It was copied from sha512-x86_64.pl and both sha256/sha512 scripts were modified so as to generates only one asm file specified as its key hash length. `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and perhaps others) are requiring .686. removed vpaesni-x86_64.asm in x64-win32-masm - it is no longer used. Fixes: https://github.com/iojs/io.js/issues/1186 PR-URL: https://github.com/iojs/io.js/pull/1206 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Aleksanteri Negru-Vode authored
PR-URL: https://github.com/iojs/io.js/pull/1204 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- Mar 19, 2015
-
-
Thorsten Lorenz authored
- using an overload of Alloc that does the same that was being done inside `Buffer::New` The overload we now call inside `smalloc.cc` takes care of the same as the code that was removed: if (length == 0) return Alloc(env, obj, nullptr, length, type); char* data = static_cast<char*>(malloc(length)); if (data == nullptr) { FatalError("node::smalloc::Alloc(v8::Handle<v8::Object>, size_t," " v8::ExternalArrayType)", "Out Of Memory"); } Alloc(env, obj, data, length, type); PR-URL: https://github.com/iojs/io.js/pull/1144 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ali Ijaz Sheikh authored
This patch adds a command line option (-r/--require) that allows one to provide modules on the command line that will be 'required' during node startup. This can be useful for debugging, tracing, memory leak analysis etc. to be preloaded without explicit changes to the user script. The option can be repeated to preload multiple modules. PR-URL: https://github.com/iojs/io.js/pull/881 Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Rod Vagg authored
inFreeBSDJail involves an execSync() and is used by localhost_ipv4 so will be unnecessarily expensive, so cache both values and reuse rather than re-evaluate each time. Renamed localhost_ipv4 to localhostIPv4 for style consistency. PR-URL: https://github.com/iojs/io.js/pull/1196 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Fedor Indutny authored
The test is timing dependent, ensure that it won't fail on the busy CI boxes. Fix: https://github.com/iojs/io.js/issues/1200 PR-URL: https://github.com/iojs/io.js/pull/1201 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Jeremiah Senkpiel authored
This change had been incorrectly committed in f19e9b6a PR-URL: https://github.com/iojs/io.js/pull/1198 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
The current working directory may not exist when the REPL starts up. Don't treat that as an error because it's still possible to do many useful things. This is like the previous commit but for the REPL. Fixes: https://github.com/iojs/io.js/issues/1184 PR-URL: https://github.com/iojs/io.js/pull/1194 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
The current working directory may not exist when iojs starts up. Don't treat that as an error because it's still possible to do many useful things, like evaluating a command line script or starting a REPL. This commit also fixes an age-old Windows bug where process.argv[0] was not properly expanded, that's why the parallel/test-process-argv-0 test gets an update as well. Fixes: https://github.com/iojs/io.js/issues/1184 PR-URL: https://github.com/iojs/io.js/pull/1194 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Johan Bergström authored
FreeBSD jails act differently than your average vm or similar application container. All routing passes through one ip address, which makes things like localhost or 0.0.0.0 resolve differently. Introduce a helper that allows us to verify if we're in a jail and another one for returning an ip address for localhost. Also, skip one test instead of trading additional complexity in common.js for one specific user scenario. PR-URL: https://github.com/iojs/io.js/pull/1167 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
Fix a bug where a size_t was negated and passed to a function that takes an int64_t. It works by accident when sizeof(size_t) == sizeof(int64_t) but it causes the value to underflow when size_t is a 32 bits type. v8::Isolate::AdjustAmountOfExternalAllocatedMemory() is the function I'm talking about. The goal of that call is to tell V8 that some memory has been freed but due to that underflow, we were actually reporting that we had just allocated gigabytes of memory. It set off a garbage collector frenzy and essentially brought the VM to a standstill. Fixes: https://github.com/iojs/io.js/issues/1188 PR-URL: https://github.com/iojs/io.js/pull/1192 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
- Mar 18, 2015
-
-
Yosuke Furukawa authored
PR-URL: https://github.com/iojs/io.js/pull/1183 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
Ben Noordhuis authored
test/simple no longer exists, tell contributors to add their tests to test/parallel. PR-URL: https://github.com/iojs/io.js/pull/1181 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Petka Antonov authored
PR-URL: https://github.com/iojs/io.js/pull/1179 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
cjihrig <cjihrig@gmail.com>
-
Roman Reiss authored
PR-URL: https://github.com/iojs/io.js/pull/1176 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Johan Bergström authored
PR-URL: https://github.com/iojs/io.js/pull/1175 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Ben Noordhuis authored
It matches what GYP's Makefile generator does and it should improve compiler detection because cc and c++ are not always gcc and g++. Fixes: https://github.com/iojs/io.js/issues/1173 PR-URL: https://github.com/iojs/io.js/pull/1174 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
- Mar 17, 2015
-
-
Alex Yursha authored
PR-URL: https://github.com/iojs/io.js/pull/1169 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Brendan Ashworth authored
This commit adds an `OUTPUT_FORMAT` environment variable option for all benchmark tests that allow either 'csv' or 'default' output. Default output has been left unchanged, and csv output prints out the csv headers along with the csv formatted per-test output, each test also seperated by a newline. It can be used like the following: $ OUTPUT_FORMAT=csv iojs benchmark/common.js http Not specifying the OUTPUT_FORMAT env var will default to 'default'. Specifying a bad value will throw an error. PR-URL: https://github.com/iojs/io.js/pull/777 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Brendan Ashworth authored
This commit adds a graphing script (in R) for graphing the CSV output of a benchmark. It can be run like this: ``` $ OUTPUT_FORMAT=csv iojs benchmark/http/client-request-body.js > data.csv $ ./benchmark/plot_csv.R data.csv graph.png bytes type ``` This will graph the output to `graph.png`, using the output's `bytes` value as X and the result value for each as Y. Output will be grouped by `type`. Running as the example yields a beautiful graph like this: http://pbrd.co/1vBhUfy. PR-URL: https://github.com/iojs/io.js/pull/777 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
See https://code.google.com/p/v8/issues/detail?id=3857 for the bug report and https://codereview.chromium.org/897543002 for the CL. PR-URL: https://github.com/iojs/io.js/pull/1166 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Yosuke Furukawa authored
PR-URL: https://github.com/iojs/io.js/pull/1156 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Christian Tellnes <christian@tellnes.no> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Julien Gilli authored
PR-URL: https://github.com/joyent/node/pull/8741 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
James Hartig authored
Allows socket.remote* properties to still be accessed even after the socket is closed. Fixes: https://github.com/joyent/node/issues/9287 PR-URL: https://github.com/joyent/node/pull/9366 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Steven Vercruysse authored
This commit changes the Windows examples in path.markdown to correctly display '\\'. PR-URL: https://github.com/joyent/node/pull/9412 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Julien Gilli authored
Make PACKAGEMAKER customizable because PackageMaker is not necessarily installed in /Developer on OSX anymore. PR-URL: https://github.com/joyent/node/pull/9377 Reviewed-By:
Timothy J Fontaine <tjfontaine@gmail.com>
-
Ben Noordhuis authored
This feature has no tests and has been broken for ages, see for example https://github.com/iojs/io.js/pull/1160. Don't bother fixing it, it's pretty much broken by design and there can't be too many users because it's almost undocumented. A quick Google search suggests that it causes more grief than joy to the few that do use it. Remove it. PR-URL: https://github.com/iojs/io.js/pull/1162 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Ben Noordhuis authored
With --max_old_space_size=12345 it's possible to create a JS heap that is larger than what fits in an unsigned int so use Number::New() rather than Integer::NewFromUnsigned(). Performance-wise, it doesn't matter much. If V8 can fit the double in a SMI, it will. PR-URL: https://github.com/iojs/io.js/pull/1148 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Rewrite ErrnoException() so that it doesn't turn the file path into a string twice. PR-URL: https://github.com/iojs/io.js/pull/1148 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-