| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 58ca66a commit 06038a4
221 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -548,3 +548,15 @@ liuxiang88 <94350585+liuxiang88@users.noreply.github.com> | |||
| 548 | 548 | Jeffrey H. Johnson <trnsz@pobox.com> | |
| 549 | 549 | Abdirahim Musse <33973272+abmusse@users.noreply.github.com> | |
| 550 | 550 | 小明 <7737673+caobug@users.noreply.github.com> | |
| 551 | + Shuduo Sang <sangshuduo@gmail.com> | ||
| 552 | + Keith Winstein <keithw@cs.stanford.edu> | ||
| 553 | + michalbiesek <michalbiesek@gmail.com> | ||
| 554 | + Alois Klink <alois@aloisklink.com> | ||
| 555 | + SmorkalovG <smorkalov.g@gmail.com> | ||
| 556 | + Pleuvens <pleuvens.fervil@gmail.com> | ||
| 557 | + jolai <58589285+laijonathan@users.noreply.github.com> | ||
| 558 | + Julien Roncaglia <fox@vbfox.net> | ||
| 559 | + prubel <paul@rubels.net> | ||
| 560 | + Per Allansson <65364157+per-allansson@users.noreply.github.com> | ||
| 561 | + Matheus Izvekov <mizvekov@gmail.com> | ||
| 562 | + Christian Heimlich <chris@pcserenity.com> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - cmake_minimum_required(VERSION 3.4) | ||
| 1 | + cmake_minimum_required(VERSION 3.9) | ||
| 2 | 2 | ||
| 3 | 3 | if(POLICY CMP0091) | |
| 4 | 4 | cmake_policy(SET CMP0091 NEW) # Enable MSVC_RUNTIME_LIBRARY setting | |
@@ -186,7 +186,8 @@ if(WIN32) | |||
| 186 | 186 | ws2_32 | |
| 187 | 187 | dbghelp | |
| 188 | 188 | ole32 | |
| 189 | - uuid) | ||
| 189 | + uuid | ||
| 190 | + shell32) | ||
| 190 | 191 | list(APPEND uv_sources | |
| 191 | 192 | src/win/async.c | |
| 192 | 193 | src/win/core.c | |
@@ -477,7 +478,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "OS390") | |||
| 477 | 478 | endif() | |
| 478 | 479 | target_link_libraries(uv_a ${uv_libraries}) | |
| 479 | 480 | set_target_properties(uv_a PROPERTIES OUTPUT_NAME "uv") | |
| 480 | - if(MSVC) | ||
| 481 | + if(WIN32) | ||
| 481 | 482 | set_target_properties(uv_a PROPERTIES PREFIX "lib") | |
| 482 | 483 | endif() | |
| 483 | 484 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,113 @@ | |||
| 1 | - 2023.06.30, Version 1.46.0 (Stable) | ||
| 1 | + 2023.11.06, Version 1.47.0 (Stable) | ||
| 2 | + | ||
| 3 | + Changes since version 1.46.0: | ||
| 4 | + | ||
| 5 | + * test: fix license blurb (Ben Noordhuis) | ||
| 6 | + | ||
| 7 | + * linux: fix harmless warn_unused_result warning (Shuduo Sang) | ||
| 8 | + | ||
| 9 | + * darwin: fix build warnings (小明) | ||
| 10 | + | ||
| 11 | + * linux: don't use io_uring on pre-5.10.186 kernels (Ben Noordhuis) | ||
| 12 | + | ||
| 13 | + * fs: fix WTF-8 decoding issue (Jameson Nash) | ||
| 14 | + | ||
| 15 | + * test: enable disabled tcp_connect6_error_fault (Ben Noordhuis) | ||
| 16 | + | ||
| 17 | + * test: enable disabled fs_link (Ben Noordhuis) | ||
| 18 | + | ||
| 19 | + * test: enable disabled spawn_same_stdout_stderr (Ben Noordhuis) | ||
| 20 | + | ||
| 21 | + * linux: handle UNAME26 personality (Ben Noordhuis) | ||
| 22 | + | ||
| 23 | + * build: move cmake_minimum_required version to 3.9 (Keith Winstein) | ||
| 24 | + | ||
| 25 | + * unix: set ipv6 scope id for link-local addresses (Ben Noordhuis) | ||
| 26 | + | ||
| 27 | + * unix: match kqueue and epoll code (Trevor Norris) | ||
| 28 | + | ||
| 29 | + * win,spawn: allow `%PATH%` to be unset (Kyle Edwards) | ||
| 30 | + | ||
| 31 | + * doc: switch to Furo, a more modern Sphinx theme (Saúl Ibarra Corretgé) | ||
| 32 | + | ||
| 33 | + * darwin: make TCP_KEEPINTVL and TCP_KEEPCNT available (小明) | ||
| 34 | + | ||
| 35 | + * win,fs: avoid winapi macro redefinition (Brad King) | ||
| 36 | + | ||
| 37 | + * linux: add missing riscv syscall numbers (michalbiesek) | ||
| 38 | + | ||
| 39 | + * doc: fix broken "Shared library" Wikipedia link (Alois Klink) | ||
| 40 | + | ||
| 41 | + * unix: get mainline kernel version in Ubuntu (Santiago Gimeno) | ||
| 42 | + | ||
| 43 | + * unix: get mainline kernel version in Debian (Ben Noordhuis) | ||
| 44 | + | ||
| 45 | + * build: fix qemu install in CI-unix workflow (Santiago Gimeno) | ||
| 46 | + | ||
| 47 | + * unix: disable io_uring close on selected kernels (Santiago Gimeno) | ||
| 48 | + | ||
| 49 | + * test: skip tests when ipv6 is not available (Santiago Gimeno) | ||
| 50 | + | ||
| 51 | + * ibmi: implement ifaddrs, getifaddrs, freeifaddrs (Abdirahim Musse) | ||
| 52 | + | ||
| 53 | + * unix: reset signal counters after fork (SmorkalovG) | ||
| 54 | + | ||
| 55 | + * win,process: avoid assert after spawning Store app (Jameson Nash) | ||
| 56 | + | ||
| 57 | + * unix: remove pread/preadv conditionals (Ben Noordhuis) | ||
| 58 | + | ||
| 59 | + * unix: remove pwrite/pwritev conditionals (Ben Noordhuis) | ||
| 60 | + | ||
| 61 | + * darwin: remove workaround for data corruption bug (Ben Noordhuis) | ||
| 62 | + | ||
| 63 | + * src: default to stream=stderr in handle printer (Ben Noordhuis) | ||
| 64 | + | ||
| 65 | + * test: switch to new-style ASSERT_EQ macros (Pleuvens) | ||
| 66 | + | ||
| 67 | + * zos: correctly get cpu model in uv_cpu_info() (jolai) | ||
| 68 | + | ||
| 69 | + * test: fix get_passwd2 on IBM i (Abdirahim Musse) | ||
| 70 | + | ||
| 71 | + * unix: don't malloc on sync uv_fs_read (Ben Noordhuis) | ||
| 72 | + | ||
| 73 | + * freebsd: get fs event path with fcntl(F_KINFO) (David Carlier) | ||
| 74 | + | ||
| 75 | + * test: switch from ASSERT_* to ASSERT_PTR_* (Pleuvens) | ||
| 76 | + | ||
| 77 | + * darwin: workaround apple pthread_cond_wait bug (Julien Roncaglia) | ||
| 78 | + | ||
| 79 | + * doc: uv_close should be called after exit callback (Pleuvens) | ||
| 80 | + | ||
| 81 | + * test: 192.0.2.0/24 is the actual -TEST-NET-1 (prubel) | ||
| 82 | + | ||
| 83 | + * unix: add back preadv/pwritev fallback (Ben Noordhuis) | ||
| 84 | + | ||
| 85 | + * unix: rename variable for consistency (Ben Noordhuis) | ||
| 86 | + | ||
| 87 | + * unix: merge read/write code into single functions (Ben Noordhuis) | ||
| 88 | + | ||
| 89 | + * doc: filename arg to uv_fs_event_cb can be NULL (Ben Noordhuis) | ||
| 90 | + | ||
| 91 | + * build,win: we need to link against shell32.lib (Per Allansson) | ||
| 92 | + | ||
| 93 | + * unix: no preadv/pwritev workaround if not needed (Jeffrey H. Johnson) | ||
| 94 | + | ||
| 95 | + * build: add CI for Windows ARM64 (build only) (Per Allansson) | ||
| 96 | + | ||
| 97 | + * linux: disable io_uring on 32 bits arm systems (Ben Noordhuis) | ||
| 98 | + | ||
| 99 | + * build: run sanitizers on macos ci (Ben Noordhuis) | ||
| 100 | + | ||
| 101 | + * misc: export WTF8 conversion utilities (Jameson Nash) | ||
| 102 | + | ||
| 103 | + * build: fix libuv.a file name for cmake (Jameson Nash) | ||
| 104 | + | ||
| 105 | + * build: add windows ubsan and clang ci (Matheus Izvekov) | ||
| 106 | + | ||
| 107 | + * win: improve accuracy of ProductName between arch (Christian Heimlich) | ||
| 108 | + | ||
| 109 | + | ||
| 110 | + 2023.06.30, Version 1.46.0 (Stable), f0bb7e40f0508bedf6fad33769b3f87bb8aedfa6 | ||
| 2 | 111 | ||
| 3 | 112 | Changes since version 1.45.0: | |
| 4 | 113 | ||
| 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.46.0], [https://github.com/libuv/libuv/issues]) | ||
| 16 | + AC_INIT([libuv], [1.47.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]) | |
@@ -74,7 +74,7 @@ AM_CONDITIONAL([OS400], [AS_CASE([$host_os],[os400], [true], [false]) | |||
| 74 | 74 | AM_CONDITIONAL([SUNOS], [AS_CASE([$host_os],[solaris*], [true], [false])]) | |
| 75 | 75 | AM_CONDITIONAL([WINNT], [AS_CASE([$host_os],[mingw*], [true], [false])]) | |
| 76 | 76 | AS_CASE([$host_os],[mingw*], [ | |
| 77 | - LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv -luser32 -ldbghelp -lole32 -luuid" | ||
| 77 | + LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv -luser32 -ldbghelp -lole32 -luuid -lshell32" | ||
| 78 | 78 | ]) | |
| 79 | 79 | AS_CASE([$host_os], [solaris2.10], [ | |
| 80 | 80 | CFLAGS="$CFLAGS -DSUNOS_NO_IFADDRS" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,27 +1,36 @@ | |||
| 1 | 1 | # primary | |
| 2 | - sphinx==6.1.3 | ||
| 2 | + furo==2023.5.20 | ||
| 3 | + Sphinx==6.1.3 | ||
| 3 | 4 | ||
| 4 | 5 | # dependencies | |
| 5 | 6 | alabaster==0.7.13 | |
| 6 | 7 | Babel==2.11.0 | |
| 8 | + beautifulsoup4==4.12.2 | ||
| 7 | 9 | certifi==2022.12.7 | |
| 8 | 10 | charset-normalizer==3.0.1 | |
| 11 | + colorama==0.4.6 | ||
| 9 | 12 | docutils==0.19 | |
| 10 | 13 | idna==3.4 | |
| 11 | 14 | imagesize==1.4.1 | |
| 12 | 15 | importlib-metadata==6.0.0 | |
| 13 | 16 | Jinja2==3.1.2 | |
| 17 | + livereload==2.6.3 | ||
| 14 | 18 | MarkupSafe==2.1.2 | |
| 15 | 19 | packaging==23.0 | |
| 16 | 20 | Pygments==2.14.0 | |
| 17 | 21 | pytz==2022.7.1 | |
| 18 | 22 | requests==2.28.2 | |
| 23 | + six==1.16.0 | ||
| 19 | 24 | snowballstemmer==2.2.0 | |
| 20 | - sphinxcontrib-applehelp==1.0.3 | ||
| 25 | + soupsieve==2.4.1 | ||
| 26 | + sphinx-autobuild==2021.3.14 | ||
| 27 | + sphinx-basic-ng==1.0.0b2 | ||
| 21 | 28 | sphinxcontrib-devhelp==1.0.2 | |
| 22 | 29 | sphinxcontrib-htmlhelp==2.0.0 | |
| 23 | 30 | sphinxcontrib-jsmath==1.0.1 | |
| 24 | 31 | sphinxcontrib-qthelp==1.0.3 | |
| 25 | 32 | sphinxcontrib-serializinghtml==1.1.5 | |
| 33 | + sphinxcontrib.applehelp==1.0.3 | ||
| 34 | + tornado==6.3.2 | ||
| 26 | 35 | urllib3==1.26.14 | |
| 27 | 36 | zipp==3.11.0 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -118,7 +118,7 @@ def get_libuv_version(): | |||
| 118 | 118 | ||
| 119 | 119 | # The theme to use for HTML and HTML Help pages. See the documentation for | |
| 120 | 120 | # a list of builtin themes. | |
| 121 | - html_theme = 'nature' | ||
| 121 | + html_theme = 'furo' | ||
| 122 | 122 | ||
| 123 | 123 | # Theme options are theme-specific and customize the look and feel of a theme | |
| 124 | 124 | # further. For a list of options available for each theme, see the | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,8 +39,12 @@ Data types | |||
| 39 | 39 | .. c:type:: void (*uv_fs_event_cb)(uv_fs_event_t* handle, const char* filename, int events, int status) | |
| 40 | 40 | ||
| 41 | 41 | Callback passed to :c:func:`uv_fs_event_start` which will be called repeatedly | |
| 42 | - after the handle is started. If the handle was started with a directory the | ||
| 43 | - `filename` parameter will be a relative path to a file contained in the directory. | ||
| 42 | + after the handle is started. | ||
| 43 | + | ||
| 44 | + If the handle was started with a directory the `filename` parameter will | ||
| 45 | + be a relative path to a file contained in the directory, or `NULL` if the | ||
| 46 | + file name cannot be determined. | ||
| 47 | + | ||
| 44 | 48 | The `events` parameter is an ORed mask of :c:type:`uv_fs_event` elements. | |
| 45 | 49 | ||
| 46 | 50 | .. c:type:: uv_fs_event | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -839,3 +839,50 @@ API | |||
| 839 | 839 | Causes the calling thread to sleep for `msec` milliseconds. | |
| 840 | 840 | ||
| 841 | 841 | .. versionadded:: 1.34.0 | |
| 842 | + | ||
| 843 | + String manipulation functions | ||
| 844 | + ----------------------------- | ||
| 845 | + | ||
| 846 | + These string utilities are needed internally for dealing with Windows, and are | ||
| 847 | + exported to allow clients to work uniformly with this data when the libuv API | ||
| 848 | + is not complete. | ||
| 849 | + | ||
| 850 | + .. c:function:: size_t uv_utf16_length_as_wtf8(const uint16_t* utf16, ssize_t utf16_len) | ||
| 851 | + | ||
| 852 | + Get the length of a UTF-16 (or UCS-2) `utf16` value after converting it to | ||
| 853 | + WTF-8. If `utf16` is NUL terminated, `utf16_len` can be set to -1, | ||
| 854 | + otherwise it must be specified. | ||
| 855 | + | ||
| 856 | + .. versionadded:: 1.47.0 | ||
| 857 | + | ||
| 858 | + .. c:function:: int uv_utf16_to_wtf8(const uint16_t* utf16, ssize_t utf16_len, char** wtf8_ptr, size_t* wtf8_len_ptr) | ||
| 859 | + | ||
| 860 | + Convert UTF-16 (or UCS-2) data in `utf16` to WTF-8 data in `*wtf8_ptr`. The | ||
| 861 | + `utf16_len` count (in characters) gives the length of `utf16`. If `utf16` | ||
| 862 | + is NUL terminated, `utf16_len` can be set to -1, otherwise it must be | ||
| 863 | + specified. If `wtf8_ptr` is `NULL`, no result will be computed, but the | ||
| 864 | + length (equal to `uv_utf16_length_as_wtf8`) will be stored in `wtf8_ptr`. | ||
| 865 | + If `*wtf8_ptr` is `NULL`, space for the conversion will be allocated and | ||
| 866 | + returned in `wtf8_ptr` and the length will be returned in `wtf8_len_ptr`. | ||
| 867 | + Otherwise, the length of `*wtf8_ptr` must be passed in `wtf8_len_ptr`. The | ||
| 868 | + `wtf8_ptr` must contain an extra space for an extra NUL after the result. | ||
| 869 | + If the result is truncated, `UV_ENOBUFS` will be returned and | ||
| 870 | + `wtf8_len_ptr` will be the length of the required `wtf8_ptr` to contain the | ||
| 871 | + whole result. | ||
| 872 | + | ||
| 873 | + .. versionadded:: 1.47.0 | ||
| 874 | + | ||
| 875 | + .. c:function:: ssize_t uv_wtf8_length_as_utf16(const char* wtf8) | ||
| 876 | + | ||
| 877 | + Get the length in characters of a NUL-terminated WTF-8 `wtf8` value | ||
| 878 | + after converting it to UTF-16 (or UCS-2), including NUL terminator. | ||
| 879 | + | ||
| 880 | + .. versionadded:: 1.47.0 | ||
| 881 | + | ||
| 882 | + .. c:function:: void uv_wtf8_to_utf16(const char* utf8, uint16_t* utf16, size_t utf16_len) | ||
| 883 | + | ||
| 884 | + Convert NUL-terminated WTF-8 data in `wtf8` to UTF-16 (or UCS-2) data | ||
| 885 | + in `utf16`. The `utf16_len` count (in characters) must include space | ||
| 886 | + for the NUL terminator. | ||
| 887 | + | ||
| 888 | + .. versionadded:: 1.47.0 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1885,6 +1885,18 @@ struct uv_loop_s { | |||
| 1885 | 1885 | UV_EXTERN void* uv_loop_get_data(const uv_loop_t*); | |
| 1886 | 1886 | UV_EXTERN void uv_loop_set_data(uv_loop_t*, void* data); | |
| 1887 | 1887 | ||
| 1888 | + /* String utilities needed internally for dealing with Windows. */ | ||
| 1889 | + size_t uv_utf16_length_as_wtf8(const uint16_t* utf16, | ||
| 1890 | + ssize_t utf16_len); | ||
| 1891 | + int uv_utf16_to_wtf8(const uint16_t* utf16, | ||
| 1892 | + ssize_t utf16_len, | ||
| 1893 | + char** wtf8_ptr, | ||
| 1894 | + size_t* wtf8_len_ptr); | ||
| 1895 | + ssize_t uv_wtf8_length_as_utf16(const char* wtf8); | ||
| 1896 | + void uv_wtf8_to_utf16(const char* wtf8, | ||
| 1897 | + uint16_t* utf16, | ||
| 1898 | + size_t utf16_len); | ||
| 1899 | + | ||
| 1888 | 1900 | /* Don't export the private CPP symbols. */ | |
| 1889 | 1901 | #undef UV_HANDLE_TYPE_PRIVATE | |
| 1890 | 1902 | #undef UV_REQ_TYPE_PRIVATE | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,7 +31,7 @@ | |||
| 31 | 31 | */ | |
| 32 | 32 | ||
| 33 | 33 | #define UV_VERSION_MAJOR 1 | |
| 34 | - #define UV_VERSION_MINOR 46 | ||
| 34 | + #define UV_VERSION_MINOR 47 | ||
| 35 | 35 | #define UV_VERSION_PATCH 0 | |
| 36 | 36 | #define UV_VERSION_IS_RELEASE 1 | |
| 37 | 37 | #define UV_VERSION_SUFFIX "" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments