| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1f138f3 commit 850cb15
26 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -411,3 +411,4 @@ Ouyang Yadong <oyydoibh@gmail.com> | |||
| 411 | 411 | ZYSzys <zyszys98@gmail.com> | |
| 412 | 412 | Carl Lei <xecycle@gmail.com> | |
| 413 | 413 | Stefan Bender <stefan.bender@ntnu.no> | |
| 414 | + nia <nia@NetBSD.org> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -275,6 +275,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Android") | |||
| 275 | 275 | src/unix/linux-syscalls.c | |
| 276 | 276 | src/unix/procfs-exepath.c | |
| 277 | 277 | src/unix/pthread-fixes.c | |
| 278 | + src/unix/random-getrandom.c | ||
| 279 | + src/unix/random-sysctl-linux.c | ||
| 278 | 280 | src/unix/sysinfo-loadavg.c) | |
| 279 | 281 | endif() | |
| 280 | 282 | ||
@@ -320,7 +322,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux") | |||
| 320 | 322 | src/unix/linux-syscalls.c | |
| 321 | 323 | src/unix/procfs-exepath.c | |
| 322 | 324 | src/unix/random-getrandom.c | |
| 323 | - src/unix/random-sysctl.c | ||
| 325 | + src/unix/random-sysctl-linux.c | ||
| 324 | 326 | src/unix/sysinfo-loadavg.c) | |
| 325 | 327 | endif() | |
| 326 | 328 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,40 @@ | |||
| 1 | + 2019.12.05, Version 1.34.0 (Stable), 15ae750151ac9341e5945eb38f8982d59fb99201 | ||
| 2 | + | ||
| 3 | + Changes since version 1.33.1: | ||
| 4 | + | ||
| 5 | + * unix: move random-sysctl to random-sysctl-linux (nia) | ||
| 6 | + | ||
| 7 | + * netbsd: use KERN_ARND sysctl to get entropy (nia) | ||
| 8 | + | ||
| 9 | + * unix: refactor uv__fs_copyfile() logic (cjihrig) | ||
| 10 | + | ||
| 11 | + * build: fix android build, add missing sources (Ben Noordhuis) | ||
| 12 | + | ||
| 13 | + * build: fix android build, fix symbol redefinition (Ben Noordhuis) | ||
| 14 | + | ||
| 15 | + * build: fix android autotools build (Ben Noordhuis) | ||
| 16 | + | ||
| 17 | + * fs: handle non-functional statx system call (Milad Farazmand) | ||
| 18 | + | ||
| 19 | + * unix,win: add uv_sleep() (cjihrig) | ||
| 20 | + | ||
| 21 | + * doc: add richardlau to maintainers (Richard Lau) | ||
| 22 | + | ||
| 23 | + * aix: fix netmask for IPv6 (Richard Lau) | ||
| 24 | + | ||
| 25 | + * aix: clean up after errors in uv_interface_addresses() (Richard Lau) | ||
| 26 | + | ||
| 27 | + * aix: fix setting of physical addresses (Richard Lau) | ||
| 28 | + | ||
| 29 | + * fs: add uv_fs_mkstemp (Saúl Ibarra Corretgé) | ||
| 30 | + | ||
| 31 | + * unix: switch uv_sleep() to nanosleep() (Ben Noordhuis) | ||
| 32 | + | ||
| 33 | + * unix: retry on EINTR in uv_sleep() (Ben Noordhuis) | ||
| 34 | + | ||
| 35 | + * zos: fix nanosleep() emulation (Ben Noordhuis) | ||
| 36 | + | ||
| 37 | + | ||
| 1 | 38 | 2019.10.20, Version 1.33.1 (Stable), 07ad32138f4d2285ba2226b5e20462b27b091a59 | |
| 2 | 39 | ||
| 3 | 40 | Changes since version 1.33.0: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,6 +17,8 @@ libuv is currently managed by the following individuals: | |||
| 17 | 17 | - GPG key: 9DFE AA5F 481B BF77 2D90 03CE D592 4925 2F8E C41A (pubkey-iwuzhere) | |
| 18 | 18 | * **Jameson Nash** ([@vtjnash](https://github.com/vtjnash)) | |
| 19 | 19 | * **John Barboza** ([@jbarz](https://github.com/jbarz)) | |
| 20 | + * **Richard Lau** ([@richardlau](https://github.com/richardlau)) | ||
| 21 | + - GPG key: C82F A3AE 1CBE DC6B E46B 9360 C43C EC45 C17A B93C (pubkey-richardlau) | ||
| 20 | 22 | * **Santiago Gimeno** ([@santigimeno](https://github.com/santigimeno)) | |
| 21 | 23 | - GPG key: 612F 0EAD 9401 6223 79DF 4402 F28C 3C8D A33C 03BE (pubkey-santigimeno) | |
| 22 | 24 | * **Saúl Ibarra Corretgé** ([@saghul](https://github.com/saghul)) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -387,7 +387,14 @@ endif | |||
| 387 | 387 | if ANDROID | |
| 388 | 388 | uvinclude_HEADERS += include/uv/android-ifaddrs.h | |
| 389 | 389 | libuv_la_SOURCES += src/unix/android-ifaddrs.c \ | |
| 390 | - src/unix/pthread-fixes.c | ||
| 390 | + src/unix/linux-core.c \ | ||
| 391 | + src/unix/linux-inotify.c \ | ||
| 392 | + src/unix/linux-syscalls.c \ | ||
| 393 | + src/unix/procfs-exepath.c \ | ||
| 394 | + src/unix/pthread-fixes.c \ | ||
| 395 | + src/unix/random-getrandom.c \ | ||
| 396 | + src/unix/random-sysctl-linux.c \ | ||
| 397 | + src/unix/sysinfo-loadavg.c | ||
| 391 | 398 | endif | |
| 392 | 399 | ||
| 393 | 400 | if CYGWIN | |
@@ -467,7 +474,7 @@ libuv_la_SOURCES += src/unix/linux-core.c \ | |||
| 467 | 474 | src/unix/procfs-exepath.c \ | |
| 468 | 475 | src/unix/proctitle.c \ | |
| 469 | 476 | src/unix/random-getrandom.c \ | |
| 470 | - src/unix/random-sysctl.c \ | ||
| 477 | + src/unix/random-sysctl-linux.c \ | ||
| 471 | 478 | src/unix/sysinfo-loadavg.c | |
| 472 | 479 | test_run_tests_LDFLAGS += -lutil | |
| 473 | 480 | endif | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ | |||
| 13 | 13 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
| 14 | 14 | ||
| 15 | 15 | AC_PREREQ(2.57) | |
| 16 | - AC_INIT([libuv], [1.33.1], [https://github.com/libuv/libuv/issues]) | ||
| 16 | + AC_INIT([libuv], [1.34.0], [https://github.com/libuv/libuv/issues]) | ||
| 17 | 17 | AC_CONFIG_MACRO_DIR([m4]) | |
| 18 | 18 | m4_include([m4/libuv-extra-automake-flags.m4]) | |
| 19 | 19 | m4_include([m4/as_case.m4]) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -99,7 +99,8 @@ Data types | |||
| 99 | 99 | UV_FS_LCHOWN, | |
| 100 | 100 | UV_FS_OPENDIR, | |
| 101 | 101 | UV_FS_READDIR, | |
| 102 | - UV_FS_CLOSEDIR | ||
| 102 | + UV_FS_CLOSEDIR, | ||
| 103 | + UV_FS_MKSTEMP | ||
| 103 | 104 | } uv_fs_type; | |
| 104 | 105 | ||
| 105 | 106 | .. c:type:: uv_statfs_t | |
@@ -245,10 +246,14 @@ API | |||
| 245 | 246 | ||
| 246 | 247 | .. c:function:: int uv_fs_mkdtemp(uv_loop_t* loop, uv_fs_t* req, const char* tpl, uv_fs_cb cb) | |
| 247 | 248 | ||
| 248 | - Equivalent to :man:`mkdtemp(3)`. | ||
| 249 | + Equivalent to :man:`mkdtemp(3)`. The result can be found as a null terminated string at `req->path`. | ||
| 249 | 250 | ||
| 250 | - .. note:: | ||
| 251 | - The result can be found as a null terminated string at `req->path`. | ||
| 251 | + .. c:function:: int uv_fs_mkstemp(uv_loop_t* loop, uv_fs_t* req, const char* tpl, uv_fs_cb cb) | ||
| 252 | + | ||
| 253 | + Equivalent to :man:`mkstemp(3)`. The created file path can be found as a null terminated string at `req->path`. | ||
| 254 | + The file descriptor can be found as an integer at `req->result`. | ||
| 255 | + | ||
| 256 | + .. versionadded:: 1.34.0 | ||
| 252 | 257 | ||
| 253 | 258 | .. c:function:: int uv_fs_rmdir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) | |
| 254 | 259 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -679,6 +679,7 @@ API | |||
| 679 | 679 | :man:`sysctl(2)`. | |
| 680 | 680 | - FreeBSD: `getrandom(2) <https://www.freebsd.org/cgi/man.cgi?query=getrandom&sektion=2>_`, | |
| 681 | 681 | or `/dev/urandom` after reading from `/dev/random` once. | |
| 682 | + - NetBSD: `KERN_ARND` `sysctl(3) <https://netbsd.gw.com/cgi-bin/man-cgi?sysctl+3+NetBSD-current>_` | ||
| 682 | 683 | - macOS, OpenBSD: `getentropy(2) <https://man.openbsd.org/getentropy.2>_` | |
| 683 | 684 | if available, or `/dev/urandom` after reading from `/dev/random` once. | |
| 684 | 685 | - AIX: `/dev/random`. | |
@@ -693,3 +694,9 @@ API | |||
| 693 | 694 | are not used and can be set to `NULL`. | |
| 694 | 695 | ||
| 695 | 696 | .. versionadded:: 1.33.0 | |
| 697 | + | ||
| 698 | + .. c:function:: void uv_sleep(unsigned int msec) | ||
| 699 | + | ||
| 700 | + Causes the calling thread to sleep for `msec` milliseconds. | ||
| 701 | + | ||
| 702 | + .. versionadded:: 1.34.0 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1258,7 +1258,8 @@ typedef enum { | |||
| 1258 | 1258 | UV_FS_OPENDIR, | |
| 1259 | 1259 | UV_FS_READDIR, | |
| 1260 | 1260 | UV_FS_CLOSEDIR, | |
| 1261 | - UV_FS_STATFS | ||
| 1261 | + UV_FS_STATFS, | ||
| 1262 | + UV_FS_MKSTEMP | ||
| 1262 | 1263 | } uv_fs_type; | |
| 1263 | 1264 | ||
| 1264 | 1265 | struct uv_dir_s { | |
@@ -1349,6 +1350,10 @@ UV_EXTERN int uv_fs_mkdtemp(uv_loop_t* loop, | |||
| 1349 | 1350 | uv_fs_t* req, | |
| 1350 | 1351 | const char* tpl, | |
| 1351 | 1352 | uv_fs_cb cb); | |
| 1353 | + UV_EXTERN int uv_fs_mkstemp(uv_loop_t* loop, | ||
| 1354 | + uv_fs_t* req, | ||
| 1355 | + const char* tpl, | ||
| 1356 | + uv_fs_cb cb); | ||
| 1352 | 1357 | UV_EXTERN int uv_fs_rmdir(uv_loop_t* loop, | |
| 1353 | 1358 | uv_fs_t* req, | |
| 1354 | 1359 | const char* path, | |
@@ -1641,6 +1646,7 @@ UV_EXTERN uint64_t uv_get_total_memory(void); | |||
| 1641 | 1646 | UV_EXTERN uint64_t uv_get_constrained_memory(void); | |
| 1642 | 1647 | ||
| 1643 | 1648 | UV_EXTERN uint64_t uv_hrtime(void); | |
| 1649 | + UV_EXTERN void uv_sleep(unsigned int msec); | ||
| 1644 | 1650 | ||
| 1645 | 1651 | UV_EXTERN void uv_disable_stdio_inheritance(void); | |
| 1646 | 1652 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,8 +31,8 @@ | |||
| 31 | 31 | */ | |
| 32 | 32 | ||
| 33 | 33 | #define UV_VERSION_MAJOR 1 | |
| 34 | - #define UV_VERSION_MINOR 33 | ||
| 35 | - #define UV_VERSION_PATCH 1 | ||
| 34 | + #define UV_VERSION_MINOR 34 | ||
| 35 | + #define UV_VERSION_PATCH 0 | ||
| 36 | 36 | #define UV_VERSION_IS_RELEASE 1 | |
| 37 | 37 | #define UV_VERSION_SUFFIX "" | |
| 38 | 38 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments