1. 06 Aug, 2020 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 33b293b4
      Paul Eggert authored
      This incorporates:
      2020-08-06 libgmp: add <gmp/gmp.h> support
      2020-08-06 Consider that clang defines __OPTIMIZE__ like GCC does
      2020-08-06 Use __builtin_expect with clang everywhere
      2020-08-05 Use __builtin_clz{,l,ll} with clang, also on Windows
      2020-08-05 Use __builtin_ctz{,l,ll} and __builtin_ffs{,l,ll} with clang
      2020-07-31 _GL_CMP: Improve documentation
      2020-07-30 alloca, largefile: sync with Autoconf master
      * lib/c++defs.h, lib/cdefs.h, lib/count-leading-zeros.h:
      * lib/count-trailing-zeros.h, m4/alloca.m4, m4/gnulib-common.m4:
      * m4/largefile.m4, m4/libgmp.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      33b293b4
  2. 22 Feb, 2020 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · c87a1650
      Paul Eggert authored
      This incorporates:
      2020-02-21 largefile: remove _DARWIN_USE_64_BIT_INODE
      2020-02-21 Add ‘extern "C"’ to count-one-bits.h etc.
      * lib/count-leading-zeros.h, lib/count-one-bits.h:
      * lib/count-trailing-zeros.h, m4/largefile.m4: Copy from Gnulib.
      c87a1650
  3. 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.
      64d1b9fd
    • Paul Eggert's avatar
      Update copyright year to 2020 · 365e01cc
      Paul Eggert authored
      Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
      365e01cc
  4. 23 Sep, 2019 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 78669517
      Paul Eggert authored
      This incorporates:
      2019-09-22 Update some URLs
      2019-09-15 fcntl-h: fix compilation error of creat.c on MSVC
      2019-09-15 creat: new module
      2019-09-15 access: new module
      2019-09-09 Add option to assume best, not worst, when cross-compiling.
      * build-aux/config.guess, build-aux/config.sub, doc/misc/texinfo.tex:
      * lib/careadlinkat.c, lib/careadlinkat.h, lib/count-leading-zeros.h:
      * lib/count-trailing-zeros.h, lib/diffseq.h, lib/fcntl.in.h:
      * lib/ftoastr.c, lib/get-permissions.c:
      * lib/ieee754.in.h, lib/inttypes.in.h, lib/mktime.c, lib/open.c:
      * lib/pathmax.h, lib/pipe2.c, lib/stddef.in.h, lib/stdint.in.h:
      * lib/stdlib.in.h, lib/str-two-way.h, lib/string.in.h, lib/time.in.h:
      * lib/timegm.c, lib/unistd.in.h, m4/canonicalize.m4:
      * m4/extern-inline.m4, m4/fcntl_h.m4, m4/fdopendir.m4:
      * m4/getgroups.m4, m4/getopt.m4, m4/gettimeofday.m4:
      * m4/gnulib-common.m4, m4/largefile.m4:
      * m4/lstat.m4, m4/memmem.m4, m4/mktime.m4, m4/nocrash.m4, m4/open.m4:
      * m4/pselect.m4, m4/putenv.m4, m4/readlink.m4, m4/regex.m4:
      * m4/symlink.m4, m4/unistd_h.m4, m4/utimens.m4, m4/utimes.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * m4/open-slash.m4: New file, copied from Gnulib.
      78669517
  5. 01 Jan, 2019 1 commit
  6. 01 Jan, 2018 1 commit
    • Paul Eggert's avatar
      Merge from Gnulib · 220a9ecb
      Paul Eggert authored
      This incorporates:
      2018-01-01 maint: Run 'make update-copyright'
      2017-12-29 Add cross-compilation results for GNU/Hurd.
      2017-12-12 explicit_bzero: port to macOS + Clang 9.0.0
      220a9ecb
  7. 17 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Merge from Gnulib · 6bbbc38b
      Paul Eggert authored
      This incorporates:
      2017-09-16 manywarnings: port to GCC on 64-bit MS-Windows
      2017-09-13 all: Replace many more http URLs by https URLs
      * build-aux/config.guess, build-aux/config.sub:
      * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
      * lib/allocator.h, lib/count-leading-zeros.h:
      * lib/count-trailing-zeros.h, lib/dup2.c, lib/filevercmp.c:
      * lib/fstatat.c, lib/fsync.c, lib/ftoastr.c, lib/ftoastr.h:
      * lib/intprops.h, lib/signal.in.h, lib/stdio-impl.h, lib/stdio.in.h:
      * lib/unistd.in.h, lib/utimens.c, m4/alloca.m4, m4/extern-inline.m4:
      * m4/fstatat.m4, m4/gnulib-common.m4, m4/manywarnings.m4:
      * m4/std-gnu11.m4, m4/sys_types_h.m4, m4/vararrays.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
      6bbbc38b
  8. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Merge from Gnulib · a0202fdc
      Paul Eggert authored
      This incorporates:
      2017-09-13 all: prefer https: URLs
      This just changes http: to https: in comments,
      in files copied from Gnulib.
      a0202fdc
  9. 01 Jan, 2017 1 commit
  10. 19 Jan, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · cd19641e
      Paul Eggert authored
      This mostly just updates copyright dates of gnulib files.
      It also updates to the latest version of texinfo.tex.
      cd19641e
  11. 01 Jan, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 98253051
      Paul Eggert authored
      This mostly just updates copyright dates of gnulib files.
      It also updates to the latest version of texinfo.tex.
      98253051
  12. 01 Jan, 2015 2 commits
  13. 01 Jan, 2014 1 commit
  14. 07 Oct, 2013 1 commit
    • Paul Eggert's avatar
      Improve support for popcount and counting trailing zeros. · 595e113b
      Paul Eggert authored
      Do this by using the Gnulib modules for this.
      This should generate faster code on non-GCC, non-MSC platforms,
      and make the code a bit more portable, at least in theory.
      * admin/merge-gnulib (GNULIB_MODULES): Add count-one-bits
      and count-trailing-zeros.
      * lib/count-one-bits.c, lib/count-one-bits.h:
      * lib/count-trailing-zeros.c, lib/count-trailing-zeros.h:
      * m4/count-one-bits.m4, m4/count-trailing-zeros.m4:
      New files, copied from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * nt/gnulib.mk: Merge changes from lib/gnulib.mk.
      * src/data.c: Include <count-one-bits.h>, <count-trailing-zeros.h>.
      (USE_MSC_POPCOUNT, POPCOUNT_STATIC_INLINE)
      (NEED_GENERIC_POPCOUNT, popcount_size_t_generic)
      (popcount_size_t_msc, popcount_size_t_gcc):
      Remove; now done by Gnulib.
      (popcount_size_t): Now a macro that defers to Gnulib.
      (count_trailing_zero_bits): Return int, for consistency with
      Gnulib and because Emacs prefers signed to unsigned int.
      Don't assume that size_t is either unsigned int or unsigned long
      or unsigned long long.
      (size_t_to_host_endian): Do not assume that size_t is either
      exactly 32 or exactly 64 bits wide.
      * src/lisp.h (BITS_PER_SIZE_T): Define consistently with BITS_PER_LONG
      etc., so that it's now an enum constant, not a macro.
      No need to assume that it's either 32 or 64.
      
      Fixes: debbugs:15550
      595e113b