- Dec 05, 2014
-
-
Alexis Campailla authored
Adding --flaky-tests option, to allow regarding flaky tests failures as non-fatal. Currently only observed by the TapProgressIndicator, which will add a # TODO directive to tests classified as flaky. According to the TAP specification, the test harness is supposed to treat failures that have a # TODO directive as non-fatal.
-
- Dec 04, 2014
-
-
Trevor Norris authored
It was my mistake to change an assert check. This changes it back to how the assert was originally done. Fixes: c131c1f9 "modules: adding load linked modules feature" Signed-off-by:
Trevor Norris <trev.norris@gmail.com>
-
- Dec 03, 2014
-
-
Carlos Campderrós authored
0644 seems to be the desired mode for new files (as it is a very weird umask), and to achieve that the correct umask would be 0022. PR-URL: https://github.com/joyent/node/pull/8039 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Jonathan Johnson authored
Regarding joyent/node#8520 This changes hostname validation from a whitelist regex approach to a blacklist regex approach as described in https://url.spec.whatwg.org/#host-parsing. url.parse misinterpreted `https://good.com+.evil.org/` as `https://good.com/+.evil.org/`. If we use url.parse to check the validity of the hostname, the test passes, but in the browser the user is redirected to the evil.org website.
-
Trevor Norris authored
Couple code style fixes to pass cpplint Fixes: 304c0b43 "crypto: store thread id as pointer-sized"
-
Yazhong Liu authored
this adds support for a "path" field that overrides "query", "search", and "pathname" if given. Fixes: https://github.com/joyent/node/issues/8722 PR-URL: https://github.com/joyent/node/pull/8755 Reviewed-by:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
- Dec 02, 2014
-
-
Thorsten Lorenz authored
- introduced NM_F_LINKED flag to identify linked modules - setting node_is_initialized after calling V8::Initialize in order to make the right decision during initial module registration - introduced modlist_linked in order to track modules that were pre-registered in order to complete it once node is initialized - completing registration of linked module similarly to the way it's done inside DLOpen PR-URL: https://github.com/joyent/node/pull/8386 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Nov 28, 2014
-
-
Alexis Campailla authored
In https://github.com/MSOpenTech/libuv/commit/59658a8de7cc05a58327a164fd2ed4b050f8b4f4 the return of uv_thread_self() was changed from unsigned long to uv_thread_t. uv_thread_t is a HANDLE (pointer-sized) on Windows, which means that on Win64 it cannot be stored with CRYPTO_THREADID_set_numeric without data loss. Furthermore, without this change there will be a build break on Windows when the libuv change is integrated into Node, because of the conversion from HANDLE to unsigned long. Other related commits: https://github.com/joyent/node/commit/5845a6bcd5b36168bdddeb85da8d8d9d36de7642 https://github.com/MSOpenTech/libuv/commit/919d8ec63ac53566ad1f090058ec15966bd0e960
-
Alexis Campailla authored
This reverts commit 0308ad2c.
-
- Nov 27, 2014
-
-
Saúl Ibarra Corretgé authored
Should work in all platforms and it fixes this compilation problem on OSX: ../src/node_crypto.cc:154:3: error: no matching function for call to 'CRYPTO_THREADID_set_numeric' CRYPTO_THREADID_set_numeric(tid, uv_thread_self()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/openssl/openssl/include/openssl/../../crypto/crypto.h:435:6: note: candidate function not viable: no known conversion from 'uv_thread_t' (aka '_opaque_pthread_t *') to 'unsigned long' for 2nd argument void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID *id, unsigned long val); ^ 1 error generated. PR-URL: https://github.com/joyent/node/pull/8785 Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-
Saúl Ibarra Corretgé authored
PR-URL: https://github.com/joyent/node/pull/8785 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Vladimir Kurchatkin authored
PR-URL: https://github.com/joyent/node/pull/8743 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Nathan Woltman authored
The normalizeArray() function now avoids using the slow Array#splice() method to improve performance and now also filters out empty path parts. Code that pre-filtered empty parts has been removed. PR-URL: https://github.com/joyent/node/pull/8724 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Saúl Ibarra Corretgé authored
PR-URL: https://github.com/joyent/node/pull/8762 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Nov 21, 2014
-
-
Rory Bradford authored
The parse() function splits a path and returns an object with the different elements. The format() function is the reverse of this and adds an objects corresponding path elements to make up a string. Fixes #6976. Fixes: https://github.com/joyent/node/issues/6976 PR-URL: https://github.com/joyent/node/pull/8750 Reviewed-by:
Julien Gilli <julien.gilli@joyent.com>
-
Timothy J Fontaine authored
Add path.posix and path.win32 which have the specific methods like resolve and normalize so you can specifically normalize or resolve based on the target platform. PR-URL: https://github.com/joyent/node/pull/5661 Reviewed-by:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Steve Sharp authored
Fixes broken link to Readable Stream documentation. Fixes: https://github.com/joyent/node/issues/8464 PR-URL: https://github.com/joyent/node/pull/8756 Reviewed-by:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
- Nov 20, 2014
-
-
MK Safi authored
PR-URL: https://github.com/joyent/node/pull/6054 Reviewed-by:
Isaac Z. Schlueter <i@izs.me> Reviewed-by:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
- Nov 18, 2014
-
-
Artur Cistov authored
PR-URL: https://github.com/joyent/node/pull/4784 Reviewed-by:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Chris Dickinson authored
Fixes: https://github.com/joyent/node/issues/5471 PR-URL: https://github.com/joyent/node/pull/8732 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Sam Roberts authored
Not allowing string was a change from v0.10 behaviour, commented on in joyent/node#7991. Allow them again, but still check that argument is numberish. Also, simplify the fragile and non-portable test code introduced in 832ec1cd that required fixups 2a415358, and ef3c4ed3. PR-URL: https://github.com/joyent/node/pull/8531 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Nov 16, 2014
-
-
Vladimir Kurchatkin authored
the arguments were swapped, so fs.symlink{Sync,} would report that the wrong file EEXIST'd in error. Fixes: https://github.com/joyent/node/issues/8651 Fixes: https://github.com/joyent/node/issues/4314 Fixes: https://github.com/joyent/node/issues/5381 PR-URL: https://github.com/joyent/node/pull/8657 Reviewed-by:Chris Dickinson <christopher.s.dickinson@gmail.com>
-
- Nov 14, 2014
-
-
haoxin authored
this puts the type-checking assertions in require into proper order. PR-URL: https://github.com/joyent/node/pull/8333 Reviewed-by:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-by:
Fedor Indutny <fedor@indutny.com>
-
Steven Loomis authored
Note that this may not affect anything until powerpc support lands in v8. Related: https://github.com/srl295/node/issues/7 Related: https://github.com/srl295/node/commit/ba8ab91bc4762ade646474276c4a4b8cdaf83115 PR-URL: https://github.com/joyent/node/pull/8712 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Nov 12, 2014
-
-
Steven R. Loomis authored
So what I did here is to make the icutools library actually contain the entire ICU dependencies needed for host-side tools. Sadly, this will build ICU twice, but avoids conflicts between host and target side. This all seems like a gyp bug of some sort, but without docs for toolsets, who’s to say? I removed the icuio library as a separate target, because it was only used by the host-side tools. PR-URL: https://github.com/joyent/node/pull/8681 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Steven R. Loomis authored
Fix config option that doesn't work with OSX. Fixes: https://github.com/joyent/node/issues/8521 PR-URL: https://github.com/joyent/node/pull/8602 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Nov 10, 2014
-
-
sudodoki authored
Adding note to api/modules.markdown about ability to load arbitrary path from modules from node_module path by adding reference to path after module name in call to require() PR-URL: https://github.com/joyent/node/pull/7794 Reviewed-by:
Trevor Norris <trev.norris@gmail.com> Reviewed-by:
Fedor Indutny <fedor@indutny.com> Reviewed-by:
Timothy J Fontaine <tjfontaine@gmail.com>
-
Jackson Tian authored
In https://github.com/joyent/node/pulls/8695, the deprecation was removed from doc. This removes the deprecation from the code. PR-URL: https://github.com/joyent/node/pull/8700 Reviewed-by:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
- Nov 08, 2014
-
-
Chris Dickinson authored
pending tls.TLSSocket growing the ability to work with streams, createSecurePair will remain. PR-URL: https://github.com/joyent/node/pull/8695 Reviewed-by:
Fedor Indutny <fedor@indutny.com>
-
Trevor Norris authored
Revert uv_thread_self() to return unsigned long instead of uv_thread_t. This was causing a build failure on Windows and is only a temporary fix until the proper patch lands upstream. Reverts: https://github.com/joyent/libuv/commit/59658a8 Fixes: ce112c27 "deps: update uv to v1.0.0-rc2"
-
- Nov 06, 2014
-
-
Saúl Ibarra Corretgé authored
It was modified in libuv to be consistent with uv_exepath and not include the trailing NULL byte in the returned size. PR-URL: https://github.com/joyent/node/pull/8566 Reviewed-by:
Fedor Indutny <fedor@indutny.com> Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Saúl Ibarra Corretgé authored
PR-URL: https://github.com/joyent/node/pull/8566 Reviewed-by:
Fedor Indutny <fedor@indutny.com> Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Saúl Ibarra Corretgé authored
PR-URL: https://github.com/joyent/node/pull/8566 Reviewed-by:
Fedor Indutny <fedor@indutny.com> Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Timothy J Fontaine authored
-
Forrest L Norvell authored
-
Julien Gilli authored
This change in V8: https://code.google.com/p/v8/source/detail?r=22210 has introduced a method named OS::GetCurrentThreadId which fails to compile on OSes where a "gettid" syscall does not exist. This build issue has been fixed upstream by several changes: - https://code.google.com/p/v8/source/detail?r=23459. - https://codereview.chromium.org/649553002 - https://codereview.chromium.org/642223003 Another minor fix to the upstream changes was also necessary. See https://code.google.com/p/v8/issues/detail?id=3620 for more information. The other build issue was due to the fact that alloca.h is not included by other system includes on SmartOS, which is assumed by V8. Built and tested on Linux, MacOS X, Windows and SmartOS.
-
- Nov 05, 2014
-
-
Vladimir Kurchatkin authored
PR-URL: https://github.com/joyent/node/pull/8655 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Oct 31, 2014
-
-
Vladimir Kurchatkin authored
copyOnto is broken when one argument has 1 byte size and the other > 1 byte. PR-URL: https://github.com/joyent/node/pull/8637 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Oct 28, 2014
-
-
cjihrig authored
Currently when a server receives a new connection the underlying socket handle begins reading data immediately. This causes problems when sockets are passed between processes, as data can be read by the first process and thus never read by the second process. This commit allows sockets that are constructed with a handle to be paused initially. PR-URL: https://github.com/joyent/node/pull/8576 Fixes: https://github.com/joyent/node/issues/7905 Fixes: https://github.com/joyent/node/issues/7784 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Vladimir Kurchatkin authored
Also couple of additions about dispose and limitations of smalloc'ed objects. Fixes: https://github.com/joyent/node/pull/8625 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-