mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Merge branch 'v0.11.5-release'
This commit is contained in:
commit
7aa4242844
15 files changed
+158
-8
No files matched your search
@@ -466,3 +466,11 @@ Krzysztof Chrapka <chrapka.k@gmail.com>
|
||||
Linus Mårtensson <linus.martensson@sonymobile.com>
|
||||
Peter Rust <peter@cornerstonenw.com>
|
||||
Shuan Wang <shuanwang@gmail.com>
|
||||
Wyatt Preul <wpreul@gmail.com>
|
||||
David Björklund <david.bjorklund@gmail.com>
|
||||
Dav Glass <davglass@gmail.com>
|
||||
Andrew Chilton <andychilton@gmail.com>
|
||||
Antony Bailey <support@antonybailey.net>
|
||||
Forrest L Norvell <ogd@aoaioxxysz.net>
|
||||
Evan Solomon <evan@evanalyze.com>
|
||||
Eran Hammer <eran@hueniverse.com>
|
||||
@@ -1,4 +1,39 @@
|
||||
2013.07.12, Version 0.11.4 (Unstable)
|
||||
2013.08.06, Version 0.11.5 (Unstable)
|
||||
|
||||
* v8: upgrade to 3.20.11
|
||||
|
||||
* uv: upgrade to v0.11.7
|
||||
|
||||
* buffer: return offset for end of last write (Trevor Norris)
|
||||
|
||||
* build: embed the mdb_v8.so into the binary (Timothy J Fontaine)
|
||||
|
||||
* build: fix --without-ssl build (Ben Noordhuis)
|
||||
|
||||
* child_process: add 'shell' option to .exec() (Ben Noordhuis)
|
||||
|
||||
* dgram: report send errors to cb, don't pass bytes (Ben Noordhuis)
|
||||
|
||||
* fs: write strings directly to disk (Trevor Norris)
|
||||
|
||||
* https: fix default port (Koichi Kobayashi)
|
||||
|
||||
* openssl: use asm for sha, md5, rmd (Fedor Indutny)
|
||||
|
||||
* os: add mac address to networkInterfaces() output (Brian White)
|
||||
|
||||
* smalloc: introduce smalloc module (Trevor Norris)
|
||||
|
||||
* stream: Simplify flowing, passive data listening (streams3) (isaacs)
|
||||
|
||||
* tls: asynchronous SNICallback (Fedor Indutny)
|
||||
|
||||
* tls: share tls tickets key between cluster workers (Fedor Indutny)
|
||||
|
||||
* util: don't throw on circular %j input to format() (Ben Noordhuis)
|
||||
|
||||
|
||||
2013.07.12, Version 0.11.4 (Unstable), b5b84197ed037918fd1a26e5cb87cce7c812ca55
|
||||
|
||||
* npm: Upgrade to 1.3.4
|
||||
|
||||
|
||||
Vendored
+47
@@ -1,3 +1,50 @@
|
||||
2013.08.07, Version 0.11.7 (Unstable)
|
||||
|
||||
Changes since version 0.11.6:
|
||||
|
||||
* unix, windows: fix uv_fs_chown() function prototype (Ben Noordhuis)
|
||||
|
||||
* unix, windows: remove unused variables (Brian White)
|
||||
|
||||
* test: fix signed/unsigned comparison warnings (Ben Noordhuis)
|
||||
|
||||
* build: dtrace shouldn't break out of tree builds (Timothy J. Fontaine)
|
||||
|
||||
* unix, windows: don't read/recv if buf.len==0 (Ben Noordhuis)
|
||||
|
||||
* build: add mingw makefile (Ben Noordhuis)
|
||||
|
||||
* unix, windows: add MAC to uv_interface_addresses() (Brian White)
|
||||
|
||||
* build: enable AM_INIT_AUTOMAKE([subdir-objects]) (Ben Noordhuis)
|
||||
|
||||
* unix, windows: make buf arg to uv_fs_write const (Ben Noordhuis)
|
||||
|
||||
* sunos: fix build breakage introduced in e3a657c (Ben Noordhuis)
|
||||
|
||||
* aix: fix build breakage introduced in 3ee4d3f (Ben Noordhuis)
|
||||
|
||||
* windows: fix mingw32 build, define JOB_OBJECT_XXX (Yasuhiro Matsumoto)
|
||||
|
||||
* windows: fix mingw32 build, include limits.h (Yasuhiro Matsumoto)
|
||||
|
||||
* test: replace sprintf() with snprintf() (Ben Noordhuis)
|
||||
|
||||
* test: replace strcpy() with strncpy() (Ben Noordhuis)
|
||||
|
||||
* openbsd: fix uv_ip6_addr() unused variable warnings (Ben Noordhuis)
|
||||
|
||||
* openbsd: fix dlerror() const correctness warning (Ben Noordhuis)
|
||||
|
||||
* openbsd: fix uv_fs_sendfile() unused variable warnings (Ben Noordhuis)
|
||||
|
||||
* build: disable parallel automake tests (Ben Noordhuis)
|
||||
|
||||
* test: add windows-only snprintf() function (Ben Noordhuis)
|
||||
|
||||
* build: add automake serial-tests version check (Ben Noordhuis)
|
||||
|
||||
|
||||
2013.07.26, Version 0.10.13 (Stable), 381312e1fe6fecbabc943ccd56f0e7d114b3d064
|
||||
|
||||
Changes since version 0.10.12:
|
||||
|
||||
Vendored
+5
-1
@@ -14,7 +14,11 @@
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT([libuv], [0.11.5], [https://github.com/joyent/libuv/issues])
|
||||
AM_INIT_AUTOMAKE([foreign subdir-objects -Wall -Werror])
|
||||
# Use AM_SILENT_RULES as an ad-hoc version check to find out if it's safe
|
||||
# to use the serial-tests directive. Both were added in automake v0.11.
|
||||
AM_INIT_AUTOMAKE(m4_ifdef([AM_SILENT_RULES],
|
||||
[-Wall -Werror foreign subdir-objects serial-tests],
|
||||
[-Wall -Werror foreign subdir-objects]))
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CANONICAL_HOST
|
||||
AC_ENABLE_SHARED
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Ignore libtoolize-generated files.
|
||||
*.m4
|
||||
Vendored
+1
-1
@@ -65,7 +65,7 @@ const char* uv_dlerror(uv_lib_t* lib) {
|
||||
|
||||
|
||||
static int uv__dlerror(uv_lib_t* lib) {
|
||||
char* errmsg;
|
||||
const char* errmsg;
|
||||
|
||||
if (lib->errmsg)
|
||||
free(lib->errmsg);
|
||||
|
||||
Vendored
+4
@@ -468,6 +468,10 @@ static ssize_t uv__fs_sendfile(uv_fs_t* req) {
|
||||
return -1;
|
||||
}
|
||||
#else
|
||||
/* Squelch compiler warnings. */
|
||||
(void) &in_fd;
|
||||
(void) &out_fd;
|
||||
|
||||
return uv__fs_sendfile_emul(req);
|
||||
#endif
|
||||
}
|
||||
|
||||
Vendored
+2
@@ -140,9 +140,11 @@ struct sockaddr_in uv_ip4_addr(const char* ip, int port) {
|
||||
|
||||
struct sockaddr_in6 uv_ip6_addr(const char* ip, int port) {
|
||||
struct sockaddr_in6 addr;
|
||||
#if defined(UV_PLATFORM_HAS_IP6_LINK_LOCAL_ADDRESS)
|
||||
char address_part[40];
|
||||
size_t address_part_size;
|
||||
const char* zone_index;
|
||||
#endif
|
||||
|
||||
memset(&addr, 0, sizeof(struct sockaddr_in6));
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -32,7 +32,7 @@
|
||||
#define UV_VERSION_MAJOR 0
|
||||
#define UV_VERSION_MINOR 11
|
||||
#define UV_VERSION_PATCH 7
|
||||
#define UV_VERSION_IS_RELEASE 0
|
||||
#define UV_VERSION_IS_RELEASE 1
|
||||
|
||||
|
||||
#define UV_VERSION ((UV_VERSION_MAJOR << 16) | \
|
||||
|
||||
Vendored
+1
@@ -24,6 +24,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "uv.h"
|
||||
#include "internal.h"
|
||||
|
||||
Vendored
+19
@@ -4073,6 +4073,25 @@
|
||||
((NTSTATUS) (error)) : ((NTSTATUS) (((error) & 0x0000FFFF) | \
|
||||
(FACILITY_NTWIN32 << 16) | ERROR_SEVERITY_WARNING)))
|
||||
|
||||
#ifndef JOB_OBJECT_LIMIT_PROCESS_MEMORY
|
||||
# define JOB_OBJECT_LIMIT_PROCESS_MEMORY 0x00000100
|
||||
#endif
|
||||
#ifndef JOB_OBJECT_LIMIT_JOB_MEMORY
|
||||
# define JOB_OBJECT_LIMIT_JOB_MEMORY 0x00000200
|
||||
#endif
|
||||
#ifndef JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION
|
||||
# define JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION 0x00000400
|
||||
#endif
|
||||
#ifndef JOB_OBJECT_LIMIT_BREAKAWAY_OK
|
||||
# define JOB_OBJECT_LIMIT_BREAKAWAY_OK 0x00000800
|
||||
#endif
|
||||
#ifndef JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK
|
||||
# define JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK 0x00001000
|
||||
#endif
|
||||
#ifndef JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE
|
||||
# define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE 0x00002000
|
||||
#endif
|
||||
|
||||
/* from ntifs.h */
|
||||
/* MinGW already has it, mingw-w64 does not. */
|
||||
#if defined(_MSC_VER) || defined(__MINGW64_VERSION_MAJOR)
|
||||
|
||||
Vendored
+1
-1
@@ -49,7 +49,7 @@ void platform_init(int argc, char **argv) {
|
||||
/* Disable stdio output buffering. */
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
setvbuf(stderr, NULL, _IONBF, 0);
|
||||
strcpy(executable_path, argv[0]);
|
||||
strncpy(executable_path, argv[0], sizeof(executable_path) - 1);
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
}
|
||||
|
||||
|
||||
Vendored
+28
@@ -153,4 +153,32 @@ enum test_status {
|
||||
return TEST_SKIP; \
|
||||
} while (0)
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
/* Emulate snprintf() on Windows, _snprintf() doesn't zero-terminate the buffer
|
||||
* on overflow...
|
||||
*/
|
||||
static int snprintf(char* buf, size_t len, const char* fmt, ...) {
|
||||
va_list ap;
|
||||
int n;
|
||||
|
||||
va_start(ap, fmt);
|
||||
n = _vsprintf_p(buf, len, fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
/* It's a sad fact of life that no one ever checks the return value of
|
||||
* snprintf(). Zero-terminating the buffer hopefully reduces the risk
|
||||
* of gaping security holes.
|
||||
*/
|
||||
if (n < 0)
|
||||
if (len > 0)
|
||||
buf[0] = '\0';
|
||||
|
||||
return n;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* TASK_H_ */
|
||||
Vendored
+2
-2
@@ -76,9 +76,9 @@ void test_ip6_addr_scope(const char* ip6_addr,
|
||||
if (strncmp(ip6_addr, "fe80::", 6) != 0) return;
|
||||
|
||||
#ifdef _WIN32
|
||||
sprintf(scoped_addr, "%s%%%d", ip6_addr, iface_index);
|
||||
snprintf(scoped_addr, sizeof(scoped_addr), "%s%%%d", ip6_addr, iface_index);
|
||||
#else
|
||||
sprintf(scoped_addr, "%s%%%s", ip6_addr, device_name);
|
||||
snprintf(scoped_addr, sizeof(scoped_addr), "%s%%%s", ip6_addr, device_name);
|
||||
#endif
|
||||
|
||||
LOGF("Testing link-local address %s (iface_index: 0x%02x, device_name: %s)\n",
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@
|
||||
#define NODE_MINOR_VERSION 11
|
||||
#define NODE_PATCH_VERSION 5
|
||||
|
||||
#define NODE_VERSION_IS_RELEASE 0
|
||||
#define NODE_VERSION_IS_RELEASE 1
|
||||
|
||||
#ifndef NODE_TAG
|
||||
# define NODE_TAG ""
|
||||
|
||||
Reference in new issue
Block a user