1. 11 Dec, 2019 1 commit
  2. 06 Dec, 2019 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · c4cd2a0b
      Paul Eggert authored
      This incorporates:
      2019-12-06 nstrftime: better width support for %N, %z
      2019-12-03 Avoid hassles caused by [[noreturn]] in C++
      2019-12-02 Fix mistakes in --enable-threads=isoc fixes from 2019-12-01
      * admin/merge-gnulib (AVOIDED_MODULES): Avoid pthread-h.
      * lib/_Noreturn.h, lib/nstrftime.c, m4/gnulib-common.m4:
      * m4/timer_time.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
  3. 26 Nov, 2019 1 commit
    • Paul Eggert's avatar
      etags: remove some arbitrary limits · cffa5703
      Paul Eggert authored
      etags had undefined behavior if input files, lines, tags, etc.,
      had more than INT_MAX bytes.  Clean up the usage of integer types
      to fix the overflow errors I found.
      * admin/merge-gnulib (GNULIB_MODULES): Add mempcpy.
      * lib-src/etags.c: Include inttypes.h, intprops.h.
      (memcpyz): New function.  Use it to simplify several occurrences
      of memcpy followed by storing a trailing '\0'.
      (xnew): Use xnmalloc, to catch overflow on integer multiplication.
      (xrnew): Change last arg to multiplier.  The type is not needed.
      All callers changed.
      (node, lineno, charno, linecharno, invalidcharno, make_tag):
      (pfnote, add_node, number_len, C_symtype, lbz, Makefile_targets)
      Use intmax_t for line numbers and character positions, instead of
      int or long.
      (linebuffer, make_tag, pfnote, total_size_of_entries, put_entry)
      (in_word_set, C_symtype, token, cstack, pushclass_above):
      (popclass_above, write_classname, consider_token, C_entries)
      (Ruby_functions, Makefile_targets, Lua_functions, TeX_commands)
      (TeX_decode_env, erlang_func, erlang_attribute, erlang_atom)
      (substitute, regex_tag_multiline, nocase_tail, readline_interval)
      (readline, savenstr, concat, etags_getcwd, relative_filename)
      Use ptrdiff_t for object sizes, instead of int or long or unsigned
      or size_t.
      (write_classname, C_entries):
      Avoid sprintf, as the result could exceed INT_MAX bytes
      and then behavior goes haywire.
      (main): Use int, instead of unsigned, for argv counts.
      (get_language_from_filename): Use bool for boolean.
      (Ruby_functions): Prefer strcpy to memcpy when copying "=".
      (linebuffer_setlen): Use ‘if’ instead of ‘while’.
      (memory_full, xnmalloc, xnrealloc): New functions.
      (xmalloc): Use memory_full, and take a ptrdiff_t instead of a size_t.
      (xrealloc): Remove; no longer needed.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/mempcpy.c, m4/mempcpy.m4: New files, copied from Gnulib.
  4. 05 Nov, 2019 1 commit
  5. 14 Oct, 2019 1 commit
  6. 23 Sep, 2019 2 commits
    • Paul Eggert's avatar
      Bring back mention of NNTP gmane · d56f9c2b
      Paul Eggert authored
      Problem reported by Michael Albinus at:
      * admin/notes/emba: Reintroduce mention of nttp+news.gmane.org,
      since that still works.
    • Paul Eggert's avatar
      Update some URLs · 946a56a1
      Paul Eggert authored
      This mostly changes http: to https: in URLs.  It also updates
      some URLs that have moved, removes some URLs that no longer
      work, recommends against using procmail (procmail.org no
      longer works), and removes some mentions of the
      no-longer-existing Gmane, LPF and VTW.
      It doesn't update all URLs, just the ones I had time for.
      * GNUmakefile (help):
      * admin/admin.el (manual-doctype-string):
      * admin/charsets/Makefile.in (${charsetdir}/ALTERNATIVNYJ.map):
      * admin/charsets/mapconv:
      * lisp/net/soap-client.el (soap-create-envelope):
      * lisp/org/org.el (org-doi-server-url):
      * lisp/textmodes/bibtex.el (bibtex-generate-url-list):
      Prefer https: to http: un URLs.
  7. 18 Sep, 2019 1 commit
  8. 15 Sep, 2019 1 commit
  9. 01 Sep, 2019 1 commit
  10. 18 Aug, 2019 1 commit
    • Eli Zaretskii's avatar
      Support the new Japanese era name · 190565b2
      Eli Zaretskii authored
      * admin/unidata/NormalizationTest.txt:
      * admin/unidata/UnicodeData.txt: Add U+32FF SQUARE ERA NAME REIWA.
      Do not merge to master.
      * test/lisp/international/ucs-normalize-tests.el
      (ucs-normalize-tests--failing-lines-part2): Update.  Do not
      merge to master.
      * etc/NEWS: Mention the change.
  11. 17 Aug, 2019 1 commit
  12. 03 Aug, 2019 1 commit
    • Paul Eggert's avatar
      Remove stale .pdmp files with ‘make clean’ · da03988d
      Paul Eggert authored
      Problem reported by Sven Joachim (Bug#36907).
      * admin/make-emacs: Simplify, now that clean does versionclean.
      * src/Makefile.in ($(etc)/DOC, versionclean, extraclean):
      Don’t ignore rm -f failures.
      (versionclean): Also remove emacs-*.*.*[0-9].pdmp and ../etc/DOC*.
      (clean): Depend on versionclean and simplify.
  13. 28 Jul, 2019 1 commit
  14. 24 Jul, 2019 1 commit
    • Paul Eggert's avatar
      Port double-slash test to z/OS · 50126f20
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add double-slash-root.
      Emacs was already using this Gnulib module indirectly, so this
      is merely noting that there is now a direct dependency.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * src/fileio.c (search_embedded_absfilename):
  15. 14 Jul, 2019 1 commit
  16. 10 Jul, 2019 1 commit
  17. 06 Jul, 2019 2 commits
    • Paul Eggert's avatar
      Fix [[:xdigit:]] glitch on Solaris · 3a1fa9ed
      Paul Eggert authored
      * admin/charsets/mapconv: Revert this [[:xdigit:]] change.
      Solaris 10 ‘sed’ does not support [[:xdigit:]].
    • Konstantin Kharlamov's avatar
      Replace manually crafted hex regexes with [:xdigit:] · dfc322d7
      Konstantin Kharlamov authored
      * admin/charsets/mapconv:
      * build-aux/gitlog-to-changelog (parse_amend_file, git_dir_option):
      * lisp/progmodes/verilog-mode.el (verilog-delay-re):
      (verilog-type-font-keywords, verilog-read-always-signals-recurse):
      * lisp/progmodes/vera-mode.el (vera-font-lock-keywords):
      * test/src/emacs-module-tests.el (mod-test-sum-test):
      * lisp/xml.el: (xml--entity-replacement-text):
      * lisp/version.el (emacs-repository-version-git):
      * lisp/textmodes/sgml-mode.el (sgml-quote):
      * lisp/textmodes/css-mode.el (css-escapes-re)
      * lisp/progmodes/prolog.el (prolog-syntax-propertize-function):
      * lisp/progmodes/hideif.el (hif-token-regexp, hif-tokenize):
      * lisp/progmodes/ebnf-dtd.el: (ebnf-dtd-attlistdecl)
      (ebnf-dtd-entitydecl, ebnf-dtd-lex):
      * lisp/progmodes/ebnf-ebx.el (ebnf-ebx-hex-character):
      * lisp/progmodes/ebnf-abn.el (ebnf-abn-character):
      * lisp/progmodes/cperl-mode.el (cperl-highlight-charclass)
      * lisp/progmodes/cc-mode.el (c-maybe-quoted-number-head)
      (c-maybe-quoted-number, c-parse-quotes-before-change)
      (c-parse-quotes-after-change, c-quoted-number-head-before-point)
      * lisp/progmodes/ada-mode.el (featurep, ada-in-numeric-literal-p)
      * lisp/org/org-mobile.el (org-mobile-copy-agenda-files)
      * lisp/org/org-table.el (org-table-number-regexp):
      * lisp/nxml/xsd-regexp.el (xsdre-gen-categories):
      * lisp/nxml/xmltok.el (let*):
      * lisp/nxml/rng-xsd.el (rng-xsd-convert-hex-binary)
      * lisp/nxml/rng-uri.el (rng-uri-file-name-1)
      (rng-uri-unescape-multibyte, rng-uri-unescape-unibyte)
      * lisp/nxml/rng-cmpct.el (rng-c-process-escapes):
      * lisp/nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * lisp/net/shr-color.el (shr-color->hexadecimal):
      * lisp/mail/rfc2231.el (rfc2231-decode-encoded-string):
      * lisp/international/mule-cmds.el (read-char-by-name):
      * lisp/htmlfontify.el (hfy-hex-regex):
      * lisp/gnus/nneething.el (nneething-decode-file-name):
      * lisp/gnus/mml-sec.el (mml-secure-find-usable-keys):
      * lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist):
      * lisp/faces.el (read-color):
      * lisp/epg.el (epg--status-ERRSIG, epg--status-VALIDSIG)
      (epg--status-SIG_CREATED, epg--decode-percent-escape)
      (epg--decode-hexstring, epg--decode-quotedstring)
      * lisp/emulation/cua-rect.el (cua-incr-rectangle):
      * lisp/dnd.el (dnd-unescape-uri):
      * lisp/cedet/semantic/lex.el (semantic-lex-number-expression):
      * lisp/cedet/semantic/java.el (semantic-java-number-regexp):
      * lisp/calc/calc-lang.el (pascal):
      * lisp/calc/calc-ext.el (math-read-number-fancy):
      * lisp/calc/calc-aent.el (math-read-token):
      Replace various combinations of [0-9a-fA-F] with [[:xdigit:]].
  18. 25 Jun, 2019 3 commits
    • Paul Eggert's avatar
      Prefer PATH_MAX to MAXPATHLEN · 824f7841
      Paul Eggert authored
      PATH_MAX is standardized, MAXPATHLEN is not.
      Also, the Gnulib pathmax module fixes some rare bugs with PATH_MAX.
      So prefer PATH_MAX to MAXPATHLEN unless we know the latter is
      also correct (for some platform-specific code).
      * admin/merge-gnulib (GNULIB_MODULES): Add pathmax.
      This module was already present, as a dependency of canonicalize-lgpl,
      but now Emacs is using it directly.  Sort.
      * lib-src/emacsclient.c: Include stdint.h, pathmax.h.
      (get_current_dir_name): Sync to current src/sysdep.c.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * src/sysdep.c: Include pathmax.h.
      Use PATH_MAX instead of MAXPATHLEN.
    • Paul Eggert's avatar
      Avoid some strlen work, primarily via strnlen · d7c68362
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add strnlen.
      * lib-src/etags.c (find_entries):
      * src/emacs.c (main):
      * src/nsmenu.m (parseKeyEquiv:):
      * src/nsterm.m (ns_xlfd_to_fontname):
      * src/term.c (vfatal):
      Prefer !*X to !strlen (X).
      * lib-src/etags.c (pfnote, add_regex):
      * lib-src/pop.c (pop_open):
      * lib-src/update-game-score.c (main):
      * lwlib/lwlib.c (lw_separator_p):
      * src/doprnt.c (doprnt):
      * src/emacs.c (main):
      * src/inotify.c (inotifyevent_to_event):
      * src/keyboard.c (menu_separator_name_p, parse_tool_bar_item):
      * src/sysdep.c (get_current_dir_name_or_unreachable):
      * src/xdisp.c (store_mode_line_string):
      Use strnlen to avoid unnecessary work with strlen.
      * lib-src/etags.c (Prolog_functions, prolog_pr)
      (Erlang_functions, erlang_func):
      Prefer ptrdiff_t to size_t when either will do.
      (prolog_pr, erlang_func): New arg LASTLEN, to avoid
      unnecessary strlen call. All callers changed.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/strnlen.c, m4/strnlen.m4: New files, copied from Gnulib.
      * lwlib/lwlib.c (lw_separator_p):
      * src/json.c (json_has_prefix):
      Use strncmp to avoid unecessary work with strlen + memcmp.
      * src/process.c (set_socket_option): Use SBYTES instead of strlen.
    • Lars Ingebrigtsen's avatar
      Don't delete macuvs.h in extraclean · b060c81b
      Lars Ingebrigtsen authored
      * admin/unidata/Makefile.in (extraclean): Don't delete macuvs.h,
      because it's a checked-in file, and make targets altering
      checked-in files is confusing.
  19. 24 Jun, 2019 1 commit
    • Daniel Colascione's avatar
      Fix locating pdump by symlink · b9ac4f81
      Daniel Colascione authored
      * admin/merge-gnulib (GNULIB_MODULES): Add canonicalize-lgpl module
      * build-aux/config.guess, build-aux/gitlog-to-changelog,
      build-aux/update-copyright, lib/canonicalize-lgpl.c,
      lib/gnulib.mk.in, lib/malloca.c, lib/malloca.h, lib/pathmax.h,
      m4/canonicalize.m4, m4/double-slash-root.m4, m4/gnulib-comp.m4,
      m4/malloca.m4, my/pathmax.4: copy from GNUlib or regenerate from
      * src/emacs.c: find dump by canonical path
  20. 22 Jun, 2019 1 commit
    • Paul Eggert's avatar
      Bring macuvs.h back under Git control · f4f165f7
      Paul Eggert authored
      * admin/unidata/Makefile.in (maintainer-clean):
      Instead of removing macuvs.h here ...
      (extraclean): ... Remove it here.
      * admin/unidata/uvs.el (uvs-print-table-ivd):
      Add to comment explaining why macuvs.h is in Git.
      * src/macuvs.h: Regenerate and re-add to Git.
  21. 21 Jun, 2019 1 commit
    • Paul Eggert's avatar
      Remove src/macuvs.h from Git repository · 7555f932
      Paul Eggert authored
      It can be generated automatically and easily during a normal
      bootstrap, so there’s no need to keep it in the repository.
      * admin/unidata/Makefile.in (maintainer-clean):
      Behave like extraclean and remove macuvs.h etc.
      * src/macuvs.h: Remove.
  22. 20 Jun, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Make extraclean return tree to pristine state by deleting more · de4e1bdd
      Lars Ingebrigtsen authored
      * src/Makefile.in (extraclean): Remove TAGS and config.in.
      * Makefile.in (extraclean): Remove info, configure and
      emacsver.texi in extraclean.
      * admin/unidata/Makefile.in (extraclean): Make it depend on
      distclean to remove .elc files.
      * leim/Makefile.in (extraclean): Depend on bootstrap-clean to
      remove generated .el files.
      * lib/Makefile.in (extraclean): Added target to remove sys
      directory and run distclean.
      * lisp/Makefile.in (extraclean): Also remove loaddefs*.el~ files.
  23. 19 Jun, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Allow specifying the expected number of shift/reduce conflicts · 390b4bc1
      Lars Ingebrigtsen authored
      * admin/grammars/grammar.wy: Add %expectedconflicts.
      * lisp/cedet/semantic/grammar-wy.el
      (semantic-grammar-wy--keyword-table): Ditto.
      * lisp/cedet/semantic/grammar.el
      (semantic-grammar-expected-conflicts): New function.
      (semantic-grammar-insert-defconst-with-eval): New function.
      (semantic-grammar-create-package): Output the number of expected
      shift/reduce conflicts.
      * lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts):
      Don't output the warning if the number of shift/reduce conflicts
      is expected.
      (wisent-expected-conflicts): Made obsolete.
  24. 18 Jun, 2019 7 commits
  25. 16 Jun, 2019 1 commit
  26. 08 Jun, 2019 1 commit
    • Paul Eggert's avatar
      Fix out-of-source make-dist problems · 1043cd30
      Paul Eggert authored
      Problem with jisx2131-filter reported by Phillip Lord in:
      * admin/charsets/Makefile.in (SED_SCRIPT):
      Put it in $(srcdir), which is not necessarily the working directory.
      ($(SED_SCRIPT)): Rename from jisx2131-filter.  All uses changed.
      (clean): Do not remove SED_SCRIPT.
      (extraclean): Remove it here instead.
      * make-dist (possibly_non_vc_files): Remove src/emacs-module.h.
      Although it is portable and could be distributed in the tarball,
      it's too much hassle to do that, so let each builder make it.
  27. 07 Jun, 2019 1 commit
    • Paul Eggert's avatar
      Use copy_file_range to copy files · 486a81f3
      Paul Eggert authored
      The copy_file_range syscall (introduced in Linux kernel
      version 4.5) can copy files more efficiently via server-side
      copy etc.
      * admin/merge-gnulib (GNULIB_MODULES): Add copy-file-range.
      * lib/copy-file-range.c, m4/copy-file-range.m4:
      New files, copied from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * src/fileio.c (Fcopy_file): Try copy_file_range first,
      falling back on read+write only if copy_file_range failed or
      if the input is empty and so could be a /proc file.
  28. 05 Jun, 2019 1 commit
  29. 03 Jun, 2019 1 commit
  30. 26 May, 2019 1 commit