OSDN Git Service

Prepare and publish MinGW.org WSL-5.3.3 release.
[mingw/mingw-org-wsl.git] / mingwrt / ChangeLog
index db03c25..919eacd 100644 (file)
@@ -1,3 +1,146 @@
+2020-06-03  Keith Marshall  <keith@users.osdn.me>
+
+       Prepare and publish MinGW.org WSL-5.3.3 release.
+
+       * All files (wsl-5.3.3-release): Tag assigned.
+
+2020-06-03  Keith Marshall  <keith@users.osdn.me>
+
+       Revert 2020-05-27 changes relating to issue #40438.
+
+       * Makefile.in (libmingw32.a): Remove, and relocate...
+       (codeset.$OBJEXT, mbrscan.$OBJEXT): ...each of these, back to...
+       (libmingwex.a): ...here; the previous relocation created more problems
+       than it solved, and indeed, I can no longer reproduce the issue which
+       prompted the earlier relocation.
+
+2020-05-28  Keith Marshall  <keith@users.osdn.me>
+
+       Prepare and publish MinGW.org WSL-5.3.2 release.
+
+       * All files (wsl-5.3.2-release): Tag assigned.
+
+2020-05-28  Keith Marshall  <keith@users.osdn.me>
+
+       Avoid recursive optional DLL import library linking.
+
+       * Makefile.in (%.dll.a): Remove target before generation; if it
+       pre-exists, the DLL may appear to recursively depend on itself.
+
+2020-05-27  Keith Marshall  <keith@users.osdn.me>
+
+       Fix libmingwex-n.dll dependencies; cf. Issue #40438.
+
+       * Makefile.in (libmingwex.a): Remove...
+       (mbrscan.$OBJEEXT, wcharmap.$OBJEXT): ...these; relocate them to...
+       (libmingw32.a): ...here.
+
+2020-04-30  Keith Marshall  <keith@users.osdn.me>
+
+       Prepare and publish MinGW.org WSL-5.3.1 release.
+
+       * All files (wsl-5.3.1-release): Tag assigned.
+
+2020-04-19  Keith Marshall  <keith@users.osdn.me>
+
+       Implement POSIX.1-2001 posix_memalign() function.
+
+       * include/stdlib.h [_POSIX_C_SOURCE >= 200112L] (posix_memalign):
+       Implement as inline alias, with libmemalign.a stub, in terms of...
+       (__mingw_aligned_offset_malloc): ...this; duplicate declaration.
+
+2020-04-18  Keith Marshall  <keith@users.osdn.me>
+
+       Implement ISO-C11/C++17 aligned_alloc() function.
+
+       * include/stdlib.h (free, realloc): Define as inline aliases for...
+       (__mingw_free, __mingw_realloc): ...these replacements, respectively.
+       [__STDC_VERSION__>=201112L || __cplusplus >=201703L] (aligned_alloc):
+       Implement as inline alias, with libmemalign.a stub, in terms of...
+       (__mingw_aligned_offset_malloc): ...this; duplicate declaration.
+       (_GLIBCXX_HAVE_ALIGNED_ALLOC): Define it.
+
+2020-04-11  Keith Marshall  <keith@users.osdn.me>
+
+       Manpage stylistic consistency updates.
+
+       * man/dirname.3.man man/getline.3.man: Miscellaneous stylistic
+       formatting changes.
+
+2020-04-08  Keith Marshall  <keith@users.osdn.me>
+
+       Ensure PDF manpages are generated from local sources.
+
+       * Makefile.in (%.$man3ext.pdf): Specify explicit path to $<.$man3ext
+       file, when invoking the 'man -t' command; without it, the command may
+       refer to the build host's native copy, instead of our local version.
+
+2020-04-08  Keith Marshall  <keith@users.osdn.me>
+
+       Automatically enumerate manpages for publication.
+
+       * Makefile.in (manpages): New macro; define, and use it...
+       (mingwrt-man3): ...for this, to enumerate associated manpage sources.
+       (manpage_copy, mancopy, manpage_ref): New macros; define them, and...
+       (basename.3, getdelim.3): ...use them.
+
+2020-04-07  Keith Marshall  <keith@users.osdn.me>
+
+       Document MinGW MBCS/wide character conversion functions.
+
+       * man/btowc.3.man man/mbrlen.3.man man/mbrtowc.3.man
+       * man/mbsinit.3.man man/mbsrtowcs.3.man man/wcrtomb.3.man
+       * man/wcsrtombs.3.man man/wctob.3.man: New files.
+
+2020-04-02  Keith Marshall  <keith@users.osdn.me>
+
+       Handle wcsrtombs() initial surrogate completion.
+
+       * mingwex/wcsrtombs.c (__mingw_wcsrtombs_fallback)
+       [*ps -> high surrogate && **wcs -> low surrogate]: Complete surrogate
+       pair, and evaluate conversion; compute its length, and account for its
+       effect on alloted conversion buffer size.  Reset *ps to initial state.
+
+2020-04-02  Keith Marshall  <keith@users.osdn.me>
+
+       Correct wchar_t to MBCS unpaired surrogate handling.
+
+       * mingwex/wcharmap.c (__mingw_wctomb_convert) [codeset >= CP_UTF7]:
+       Scan source wchar_t sequence, prior to conversion, checking it for...
+       [high surrogate]: Abort unless immediately followed by low surrogate.
+       [low surrogate]: Likewise, if not preceded by high surrogate.
+
+2020-03-19  Keith Marshall  <keith@users.osdn.me>
+
+       Correct a potential mbsrtowcs() surrogate pair overrun.
+
+       * mingwex/mbrscan.c (__mingw_mbtowc_copy) [(count + 1) == len)]: Stop,
+       without storing current multibyte conversion, if surrogate pair.
+
+2020-03-12  Keith Marshall  <keith@users.osdn.me>
+
+       Rationalize implementations of fwide() and mbsinit() functions.
+
+       * include/wchar.h (mbsinit): Mark as __LIBIMPL__; reimplement its
+       inline definition, to evaluate its mbstate_t reference argument.
+       (fwide): Mark as __LIBIMPL__.
+
+       * Makefile.in (libmingwex.a): Remove explicit dependencies on...
+       (fwide, mbsinit): ...these; they are implied by __LIBIMPL__ marks.
+
+       * mingwex/fwide.c mingwex/mbsinit.c: Redundant files; delete them.
+
+2020-03-11  Keith Marshall  <keith@users.osdn.me>
+
+       Correct a defect in detection of failed btowc() conversions.
+
+       * mingwex/btowc.c (__mingw_btowc_fallback): Use...
+       (__mingw_mbtowc_convert): ...this; verify successful conversion of
+       exactly one byte, to equivalent wchar, otherwise return WEOF.
+       (__mingw_btowc, __msvcrt_btowc): Delegate codeset initialization to...
+       (__mingw_mbrtowc_codeset_init): ...this, so delegating its management
+       externally; remove local provision.
+
 2020-03-10  Keith Marshall  <keith@users.osdn.me>
 
        Correct defects in mbrtowc() invalid conversion state handling.