1. 25 Feb, 2019 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 0d49078a
      Paul Eggert authored
      This incorporates:
      2019-02-24 nstrftime: support the ‘+’ flag
      2019-02-24 stat, lstat: fix conflict with relocatable-prog-wrapper
      2019-02-23 nstrftime: tweak arg order
      2019-02-21 nstrftime: merge glibc strftime changes
      2019-02-02 vla: add commentary about VLA_ELEMS
      * build-aux/config.guess, doc/misc/texinfo.tex, lib/fstatat.c:
      * lib/lstat.c, lib/nstrftime.c, lib/vla.h:
      Copy from Gnulib.
      0d49078a
  2. 01 Jan, 2019 1 commit
  3. 13 Nov, 2018 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · 7e2a1543
      Paul Eggert authored
      This incorporates:
      2018-11-03 nstrftime: simplify test for mktime failure
      2018-11-02 gnulib-common.m4: port _Noreturn to C++
      2018-10-22 std-gnu11: Support Autoconf versions < 2.64
      2018-10-22 Assume Autoconf >= 2.63
      2018-10-16 Remove support for Ultrix
      2018-10-16 getloadavg: Remove support for ConvexOS
      2018-10-16 getloadavg: Remove support for Sony NEWS
      2018-10-16 Remove support for Dynix/ptx
      2018-10-16 fsusage: Remove support for AIX 3
      2018-10-16 fsusage, stat-size, getloadavg: Remove support for AIX PS/2
      2018-10-16 getloadavg: Remove support for HP-UX on m68k
      2018-10-16 fsusage, mountlist: Remove support for DolphinOS
      2018-10-16 getloadavg: Remove support for Alliant FX/2800
      2018-10-16 getloadavg: Remove support for tek4300
      2018-10-16 getloadavg: Remove support for Ardent
      * build-aux/config.guess, build-aux/config.sub, lib/_Noreturn.h:
      * lib/fsusage.c, lib/getgroups.c, lib/getloadavg.c:
      * lib/nstrftime.c, lib/time.in.h, m4/errno_h.m4:
      * m4/fsusage.m4, m4/getgroups.m4, m4/gnulib-common.m4, m4/longlong.m4:
      * m4/std-gnu11.m4, m4/stdint.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate:
      7e2a1543
  4. 01 Feb, 2018 1 commit
    • Paul Eggert's avatar
      Update from gnulib · 100e3397
      Paul Eggert authored
      This includes:
      2018-01-31 environ: Fix link error on 64-bit Cygwin
      2018-01-27 Fix malfunction of socket functions on HP-UX in 64-bit mode
      2018-01-26 manywarnings: fix maintainer comment
      2018-01-23 Merge strftime.c changes from glibc
      * build-aux/config.guess, build-aux/config.sub, doc/misc/texinfo.tex:
      * lib/gnulib.mk.in, lib/nstrftime.c, lib/unistd.in.h, m4/extensions.m4:
      * m4/manywarnings.m4: Update.
      100e3397
  5. 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
  6. 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
  7. 24 Jul, 2017 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 9b971bdd
      Paul Eggert authored
      This incorporates:
      2017-07-23 Rename module 'strftime' to 'nstrftime'
      * admin/merge-gnulib (GNULIB_MODULES): Add nstrftime, remove strftime.
      * build-aux/config.guess: Copy from gnulib.
      * lib/nstrftime.c: Rename from lib/strftime.c.
      * m4/nstrftime.m4: Rename from m4/strftime.m4.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      9b971bdd
  8. 15 Jun, 2017 1 commit
    • Paul Eggert's avatar
      Pacify clang without munging C source · 21d10e59
      Paul Eggert authored
      * configure.ac (WARN_CFLAGS): With Clang, use
      -Wno-tautological-compare regardless of --enable-gcc-warnings.
      (WERROR_CFLAGS): Simplify assignments, and guarantee it’s always set.
      * lib/strftime.c: Copy from gnulib, reverting Clang-specific
      change which I hope is no longer needed.
      * src/emacs.c (main): Revert rlim_t change, as rlim_t is signed on
      some older non-POSIX hosts.
      21d10e59
  9. 13 Jun, 2017 1 commit
  10. 16 May, 2017 1 commit
    • Paul Eggert's avatar
      Merge with gnulib, pacifying GCC 7 · 2e1bebe2
      Paul Eggert authored
      This incorporates:
      2017-05-16 manywarnings: update for GCC 7
      2017-05-15 sys_select: Avoid "was expanded before it was required"
      * configure.ac (nw): Suppress GCC 7’s new -Wduplicated-branches and
      -Wformat-overflow=2 options, due to too many false alarms.
      * doc/misc/texinfo.tex, lib/strftime.c, m4/manywarnings.m4:
      Copy from gnulib.
      * m4/gnulib-comp.m4: Regenerate.
      * src/coding.c (decode_coding_iso_2022):
      Fix bug uncovered by -Wimplicit-fallthrough.
      * src/conf_post.h (FALLTHROUGH): New macro.
      Use it to mark all switch cases that fall through.
      * src/editfns.c (styled_format): Use !, not ~, on bool.
      * src/gtkutil.c (xg_check_special_colors):
      When using sprintf, don’t trust Gtk to output colors in [0, 1] range.
      (xg_update_scrollbar_pos): Avoid use of possibly-uninitialized bool;
      this bug was actually caught by Clang.
      * src/search.c (boyer_moore):
      Tell GCC that CHAR_BASE, if nonzero, must be a non-ASCII character.
      * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
      Tell GCC that glyph->u.glyphless.ch must be a character.
      2e1bebe2
  11. 02 Feb, 2017 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 46aa9a30
      Paul Eggert authored
      2017-01-30 Port to PGI 16.10 x86-64
      2017-01-20 time_rz: fix comment typo
      2017-01-14 strftime: %z is -00 if unknown
      This incorporates:
      * doc/misc/texinfo.tex, lib/c-ctype.h, lib/strftime.c:
      * lib/time-internal.h, lib/verify.h:
      Copy from gnulib.
      46aa9a30
  12. 01 Jan, 2017 2 commits
    • Paul Eggert's avatar
      Merge from gnulib · 5a59e28d
      Paul Eggert authored
      This incorporates:
      2016-12-19 stdint: Fix WINT_MAX to match wint_t on mingw
      2016-12-18 getopt: Fix link error for users of getopt() in <unistd.h>
      2016-12-17 getlogin: Port to newer mingw
      2016-12-17 stdint: Fix WINT_MAX to match wint_t on MSVC
      2016-12-17 Avoid redefinition errors on MSVC
      * lib/getopt.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/unistd.in.h:
      * m4/stdint.m4, m4/unistd_h.m4:
      Copy from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      Plus, this commit updates the indenting on copyright notices to
      match that of gnulib.
      5a59e28d
    • Paul Eggert's avatar
      Update copyright year to 2017 · 5badc81c
      Paul Eggert authored
      Run admin/update-copyright.
      5badc81c
  13. 20 Nov, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · bbd84f86
      Paul Eggert authored
      This incorporates:
      2016-11-15 sys_time: add gnulib::timeval for C++
      2016-11-14 snippet/c++defs: fix real-floating arg functions in C++ mode
      2016-11-13 strftime: don't use __THROW
      2016-11-12 strftime: tune %q
      2016-11-12 Merge strftime.c changes from glibc
      2016-11-09 manywarnings: fix -Wno-missing-field-initializers detection
      2016-11-05 strftime,strptime: support %q to represent the quarter
      
      The glibc changes in turn incorporate the following strftime.c changes:
      2015-10-20 Convert misc function definitions to prototype style
      2015-09-26 [BZ #18985] out of range data to strftime() causes segfault
      2010-01-09 Add support for XPG7 testing
      2009-10-30 Implement Burmese language locale for Myanmar
      2008-06-13 [BZ #6612] pass reference to tzset_called around
      2007-10-16 [BZ #5184] Add tzset_called argument
      
      * build-aux/snippet/c++defs.h, lib/strftime.c, lib/sys_time.in.h:
      * m4/manywarnings.m4: Copy from gnulib.
      bbd84f86
  14. 25 Jan, 2016 1 commit
    • Alan Mackenzie's avatar
      Expunge "allow" + infinitive from source and doc, part 2. · ec90220a
      Alan Mackenzie authored
      Do the same for "permit", "enable", "prevent", and (where appropriate)
      "require".
      
      doc/misc/reftex.texi:
      doc/misc/url.texi:
      lib/get-permissions.c:
      lib/strftime.c:
      lisp/org/org-element.el:
      lisp/org/org-mobile.el:
      lisp/textmodes/reftex-vars.el:
      src/bidi.c:
      src/emacs.c:
      src/xdisp.c:
      test/etags/c-src/emacs/src/lisp.h:
      
      Expunge the likes of "This allows to do something" from the above files.
      ec90220a
  15. 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
  16. 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
  17. 27 Jul, 2015 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 2856b1dd
      Paul Eggert authored
      This incorporates:
      2015-07-27 time_rz: port better to MinGW
      2015-07-27 time: port __need_time_t to MinGW
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
      * lib/time-internal.h: New file, from gnulib.
      2856b1dd
  18. 26 Jul, 2015 1 commit
    • Paul Eggert's avatar
      New optional ZONE arg for format-time-string etc. · af32fa95
      Paul Eggert authored
      This simplifies time conversions in other time zones.
      It also prevents display-time-world tampering with TZ (Bug#21020).
      * admin/admin.el (add-release-logs):
      Use improved add-log-time-format API.
      * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
      (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
      * configure.ac (tzalloc): Remove test for this, since
      Emacs no longer uses HAVE_TZALLOC directly.
      * doc/lispref/os.texi (Time of Day, Time Conversion)
      (Time Parsing):
      * etc/NEWS: Document the new behavior.
      Merge from gnulib, incorporating:
      2015-07-25 strftime: fix newly-introduced bug on Solaris
      2015-07-23 fprintftime, strftime: use timezone_t args
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
      * m4/time_h.m4:
      Update from gnulib.
      * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
      New files from gnulib.
      * lisp/time-stamp.el (time-stamp-string):
      * lisp/time.el (display-time-world-list)
      (display-time-world-display):
      Use new API, with time zone arg.
      * lisp/time.el (display-time-world-display):
      Fix race when current-time advances while we're running.
      * lisp/vc/add-log.el (add-log-iso8601-time-zone)
      (add-log-iso8601-time-string): Accept optional time zone arg.
      * lisp/vc/add-log.el (add-change-log-entry):
      * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
      * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
      Add rules for the time module, since they're now needed
      for tzalloc etc.
      * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
      (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
      * src/editfns.c: Include errno.h.
      (set_time_zone_rule): Omit unnecessary forward decl.
      (initial_tz): Remove, replacing with ...
      (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
      (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
      (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
      (tzlookup): New static functions.
      (init_editfns): New arg DUMPING.  All uses changed.
      (init_editfns): Omit most initialization if dumping, not if
      !initialized.  Initialize wall_clock_tz and local_tz.
      (emacs_nmemftime, format_time_string): Time zone argument can now
      be any time zone, not just a boolean for UTC or local time.  All
      callers changed.
      (Fformat_time_string, Fencode_time, Fcurrent_time_string)
      (Fcurrent_time_zone): New optional arg ZONE.
      (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
      the same form as with the other new additions.
      (decode_time_zone): Remove; no longer needed.
      (tzvalbuf): Now file-scope.
      (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
      (syms_of_editfns): Define Qwall.
      * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
      * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
      [!HAVE_TZALLOC]:
      Remove; now supplied by gnulib.
      * src/emacs.c (main):
      * src/lisp.h (init_editfns): Adjust to init_editfns API change.
      af32fa95
  19. 28 Jan, 2015 1 commit
    • Paul Eggert's avatar
      Merge from gnulib and try to repair bad merge · 39c2fa3f
      Paul Eggert authored
      This attempts to repair problems introduced by the bad merge
      5491fd10.  The easiest way for me
      to fix the badly-merged gnulib files was to run
      'admin/merge-gnulib', so I did that, which also imported the
      following changes:
      * build-aux/update-copyright, m4/gnulib.m4:
      Update from gnulib, incorporating:
      2015-01-15 time: port to MinGW32 3.21
      2015-01-15 update-copyright: apply to self
      2015-01-11 update-copyright: recognize groff's \(co marker
      39c2fa3f
  20. 01 Jan, 2015 2 commits
  21. 26 Mar, 2014 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · cefcfbcc
      Paul Eggert authored
      This incorporates:
      2014-03-26 strftime: wrap macros in "do {...} while(0)"
      * lib/strftime.c, doc/misc/texinfo.tex: Update from gnulib.
      cefcfbcc
  22. 01 Jan, 2014 1 commit
  23. 09 Jan, 2013 1 commit
  24. 08 Jan, 2013 1 commit
  25. 04 Jan, 2013 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · ee0d3938
      Paul Eggert authored
      This incorporates:
      2013-01-04 stdio: remove now-unnecessary stdio.c
      2013-01-04 fprintftime: depend on stdio, not ignore-value
      2013-01-04 fwrite: silence __wur only for older glibc versions
      2013-01-04 fwrite: silence __wur without using inline
      * lib/stdio.c: Remove.
      * lib/stdio.in.h, lib/strftime.c: Update from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      ee0d3938
  26. 01 Jan, 2013 1 commit
  27. 26 May, 2012 1 commit
  28. 21 Mar, 2011 1 commit
  29. 30 Jan, 2011 1 commit