1. 01 Jan, 2020 2 commits
    • Paul Eggert's avatar
      Update from gnulib · 64d1b9fd
      Paul Eggert authored
      This incorporates:
      2019-12-23 mktime, nstrftime: tweak division performance
      2019-12-22 count-leading-zeros: assume 'long long'
      2019-12-22 count-one-bits: assume 'long long'
      2019-12-22 count-trailing-zeros: assume 'long long'
      2019-12-12 inttypes-incomplete: assume 'long long'
      2019-12-22 malloca: assume 'long long'
      2019-12-22 stdint: assume 'long long'
      2019-12-22 strtoll, strtoimax, strtoumax: assume 'long long'
      2019-12-22 prefer lib_SOURCES to unconditional AC_LIBOBJ
      2019-12-19 nstrftime: avoid a shadowing warning
      2019-12-18 improve port of AC_C_RESTRICT to Oracle C++
      2019-12-12 stdalign: port to xlclang 16.01
      2019-12-11 stddef, unistd: fix compilation error in C++ mode on MSVC
      2019-12-08 fix compilation errors in C++ mode on Haiku
      2019-12-08 fix compilation errors in 32-bit C++ mode on HP-UX 11/ia64
      2019-12-08 fix compilation error in C++ mode on OpenBSD
      * build-aux/config.guess, doc/misc/texinfo.tex:
      * lib/count-leading-zeros.h, lib/count-one-bits.h:
      * lib/count-trailing-zeros.h, lib/inttypes.in.h, lib/malloca.h:
      * lib/mktime.c, lib/nstrftime.c, lib/signal.in.h, lib/stdalign.in.h:
      * lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/stdlib.in.h:
      * lib/strtoimax.c, lib/unistd.in.h, m4/gnulib-common.m4:
      * m4/inttypes.m4, m4/largefile.m4, m4/malloca.m4, m4/strtoimax.m4:
      * m4/strtoll.m4:
      Copy from Gnulib.  Also, change copyright notices in some other
      Gnulib-copied files to exactly match Gnulib, as Gnulib updated
      them in a trivially different way.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
    • Paul Eggert's avatar
      Update copyright year to 2020 · 365e01cc
      Paul Eggert authored
      Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
  2. 01 Jan, 2019 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 11549870
      Paul Eggert authored
      This incorporates mostly just copyright-year changes, plus
      recent minor updates from glibc for the non-Emacs regular
      expression code.
  3. 06 Aug, 2018 1 commit
    • Paul Eggert's avatar
      Use Gnulib regex for lib-src · d904cc83
      Paul Eggert authored
      Emacs regular expressions forked from everyone else long ago.
      This makes it official and should allow simplification later.
      etags.c now uses the glibc regex API, falling back on a
      Gnulib-supplied substitute lib/regex.c if necessary.
      Emacs proper now uses its own regular expression module.
      Although this patch may look dauntingly large, most of it
      was generated automatically by admin/merge-gnulib
      and contains an exact copy of the glibc regex source,
      and the by-hand changes do not grow the Emacs source code.
      * admin/merge-gnulib (GNULIB_MODULES): Add regex.
      (AVOIDED_MODULES): Add btowc, langinfo, lock, mbrtowc, mbsinit,
      nl_langinfo, wchar, wcrtomb, wctype-h.
      * lib-src/Makefile.in (regex-emacs.o): Remove; Gnulib does it now.
      (etags_deps, etags_libs): Remove regex-emacs.o.
      * lib-src/etags.c: Go back to including regex.h.
      (add_regex): Use unsigned char translation array,
      since glibc regex requires that.
      * lib/Makefile.in (not_emacs_OBJECTS, for_emacs_OBJECTS): New macros.
      (libegnu_a_OBJECTS): Use them, to avoid building e-regex.o.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/regcomp.c, lib/regex.c, lib/regex.h, lib/regex_internal.c:
      * lib/regex_internal.h, lib/regexec.c, m4/builtin-expect.m4:
      * m4/eealloc.m4, m4/glibc21.m4, m4/mbstate_t.m4, m4/regex.m4:
      New files, copied from Gnulib.
      * src/regex-emacs.h, src/conf_post.h:
      Move from src/conf_post.h to src/regex-emacs.h,
      so that they don’t interfere with compiling lib/regex.c.