1. 31 Jul, 2020 1 commit
  2. 30 Jul, 2020 1 commit
  3. 29 Jul, 2020 1 commit
  4. 28 Jul, 2020 2 commits
    • NicolasPetton's avatar
      Update authors.el · 24391f51
      NicolasPetton authored
      * admin/authors.el (authors-aliases): Add author aliases.
    • NicolasPetton's avatar
      Update authors.el · 6c23b1a1
      NicolasPetton authored
      * admin/authors.el (authors-aliases): Add author aliases.
      (authors-renamed-files-alist): Update file lists.
  5. 09 Jul, 2020 1 commit
    • Paul Eggert's avatar
      Use Gnulib libgmp module · c8b6006d
      Paul Eggert authored
      Instead of doing GMP by hand, use the Gnulib libgmp module.
      * .gitignore: Add lib/gmp.h.
      * admin/merge-gnulib (GNULIB_MODULES): Add libgmp.
      * configure.ac (GMP_LIB, GMP_OBJ): Remove.  Gnulib uses the name
      LIB_GMP, so all uses changed.  All uses of GMP_OBJ removed.
      (HAVE_GMP): Set this from Gnulib’s variables.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/mini-gmp-gnulib.c, lib/mini-gmp.c, lib/mini-gmp.h, m4/libgmp.m4:
      New files, copied from Gnulib.
      * src/bignum.h, test/data/emacs-module/mod-test.c:
      Include gmp.h unconditionally.
      * src/mini-gmp-emacs.c, src/mini-gmp.c, src/mini-gmp.h:
      Remove.  This moves these files from src to lib, and
      updates them to the current GMP version.
      * test/Makefile.in (GMP_H): New macro.
      ($(test_module)): Use it to decide whether to compile
      mini-gmp-gnulib.c too.
  6. 02 Jul, 2020 1 commit
  7. 27 Jun, 2020 1 commit
    • Paul Eggert's avatar
      Use getrandom syscall for nonces · 5ce5cf64
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add getrandom.
      * doc/lispref/text.texi (Format of GnuTLS Cryptography Inputs):
      Don’t say that iv-auto uses GNUTLS_RND_NONCE.  Also, don’t say
      that it returns the IV’s actual value, as it never has done that.
      * src/fns.c, src/sysdep.c: Include sys/random.h, for getrandom.
      * src/fns.c (Fsecure_hash_algorithms): Use getrandom so that this
      function does not depend on HAVE_GNUTLS3.
      * src/sysdep.c: Do not include <gnutls/crypto.h>.
      (random_seed) [HAVE_LRAND48]: Can be long int now.
      (init_random) [!WINDOWSNT]: Use getrandom syscall instead
      of opening /dev/urandom, as this works even on GNU/Linux
      hosts that lack /dev/urandom.  Don’t bother with gnutls_rnd
      as it’s not needed now that we have getrandom.
  8. 22 Jun, 2020 1 commit
  9. 17 May, 2020 1 commit
    • Paul Eggert's avatar
      Don’t attempt to modify constant conses · c7bc28bf
      Paul Eggert authored
      From a patch privately suggested by Mattias Engdegård on 2020-05-11
      in a followup to Bug#40671.
      * admin/charsets/cp51932.awk:
      * admin/charsets/eucjp-ms.awk:
      Generate code that does not modify constant conses.
      * doc/misc/emacs-mime.texi (Encoding Customization):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-side-effect-free-ops):
      * lisp/frameset.el (frameset-persistent-filter-alist):
      * lisp/gnus/gnus-sum.el (gnus-article-mode-line-format-alist):
      Use append instead of nconc.
      * lisp/language/japanese.el (japanese-ucs-cp932-to-jis-map)
      Use mapcar instead of mapc.
      * lisp/language/lao-util.el (lao-transcription-consonant-alist)
      * lisp/language/tibetan.el (tibetan-subjoined-transcription-alist):
      Use copy-sequence.
      * test/src/fns-tests.el (fns-tests-nreverse):
      (fns-tests-sort, fns-tests-collate-sort)
      (fns-tests-string-version-lessp, fns-tests-mapcan):
      Use copy-sequence, vector, and list.
  10. 15 May, 2020 1 commit
    • Stefan Kangas's avatar
      Delete libraries obsolete since 23.1 and 23.2 · b76cdd0c
      Stefan Kangas authored
      Emacs 23.2 was released 10 years ago.  old-whitespace.el has a
      replacement in whitespace.el and is no longer relevant.  The other
      libraries implement compatibility with Lucid Emacs, a modified version
      of Emacs last released in the 1990s.
      * lisp/obsolete/ledit.el:
      * lisp/obsolete/lmenu.el:
      * lisp/obsolete/lucid.el:
      * lisp/obsolete/old-whitespace.el: Delete files.  These libraries have
      been obsolete since Emacs 23.1 or 23.2.
      * etc/NEWS: Announce their deletion.
      * admin/authors.el (authors-ignored-files)
      (authors-fixed-entries, authors-valid-file-names):
      * lisp/emulation/viper.el (viper-mode):
      * lisp/ffap.el (ffap-menu-ask): Remove references to deleted files.
  11. 03 May, 2020 2 commits
  12. 18 Apr, 2020 1 commit
  13. 16 Apr, 2020 1 commit
  14. 15 Apr, 2020 1 commit
  15. 14 Apr, 2020 2 commits
    • NicolasPetton's avatar
    • Mattias Engdegård's avatar
      Fix edge case errors in filename-matching regexps · 4acdd7fe
      Mattias Engdegård authored
      These changes fix actual or latent bugs in regexps that match
      file names, such as PATTERN arguments to 'directory-files'.  See
      * admin/authors.el (authors-obsolete-files-regexps)
      * lisp/auth-source-pass.el (auth-source-pass-entries):
      * lisp/calendar/todo-mode.el (todo-show, todo-find-filtered-items-file)
      (todo-filter-items, todo-reset-nondiary-marker, todo-reset-done-string)
      (todo-reset-comment-string, todo-reset-highlight-item):
      * lisp/cedet/semantic/db-ebrowse.el (semanticdb-load-ebrowse-caches):
      * lisp/cedet/semantic/texi.el (semantic-texi-associated-files):
      * lisp/cedet/srecode/map.el (srecode-map-update-map):
      * lisp/dired.el (dired-re-no-dot):
      * lisp/emacs-lisp/autoload.el (update-directory-autoloads):
      * lisp/emacs-lisp/shadow.el (load-path-shadows-find):
      * lisp/files.el (auto-mode-alist, directory-files-no-dot-files-regexp):
      * lisp/finder.el (finder-compile-keywords):
      * lisp/generic-x.el (inetd-conf-generic-mode, named-boot-generic-mode)
      (resolve-conf-generic-mode, etc-modules-conf-generic-mode):
      * lisp/gnus/gnus-agent.el (gnus-agent-read-agentview)
      (gnus-agent-regenerate-group, gnus-agent-update-files-total-fetched-for):
      * lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group):
      * lisp/gnus/gnus-score.el (gnus-score-search-global-directories):
      * lisp/gnus/gnus-util.el (gnus-delete-directory):
      * lisp/gnus/gnus-uu.el (gnus-uu-dir-files):
      * lisp/gnus/nndraft.el (nndraft-request-group):
      * lisp/gnus/nnmh.el (nnmh-request-group, nnmh-request-create-group):
      (nnmh-request-delete-group, nnmh-active-number, nnmh-update-gnus-unreads):
      * lisp/gnus/nnspool.el (nnspool-request-group):
      * lisp/gnus/spam-stat.el (spam-stat-process-directory)
      * lisp/help-fns.el (help-fns--first-release):
      * lisp/help.el (view-emacs-news):
      * lisp/international/quail.el (quail-update-leim-list-file):
      * lisp/international/titdic-cnv.el (batch-titdic-convert):
      * lisp/mail/mspools.el (mspools-set-vm-spool-files)
      * lisp/mail/rmail.el (rmail-secondary-file-regexp)
      * lisp/net/ange-ftp.el (ange-ftp-delete-directory):
      * lisp/net/tramp.el (tramp-use-absolute-autoload-file-names):
      * lisp/obsolete/gulp.el (gulp-send-requests):
      * lisp/obsolete/vc-arch.el (vc-arch-trim-revlib):
      * lisp/org/ob-core.el (org-babel-remove-temporary-directory):
      * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp, ebnf-style-database):
      * lisp/progmodes/executable.el (executable-command-find-posix-p):
      * lisp/startup.el (command-line):
      * lisp/textmodes/refer.el (refer-get-bib-files):
      * lisp/url/url-about.el (url-probe-protocols):
      * lisp/vc/vc-rcs.el (vc-rcs-register, vc-rcs-unregister):
      * test/lisp/net/tramp-archive-tests.el
      * test/lisp/net/tramp-tests.el (tramp-test19-directory-files-and-attributes):
      Replace ^ and $ with \` and \', respectively.
      Use (rx (or (not ".") "...")), translated into "[^.]\\|\\.\\.\\.",
      to match anything but "." and "..", instead of several incorrect
  16. 28 Mar, 2020 1 commit
    • Paul Eggert's avatar
      Stop using newly-deprecated dosname Gnulib module · 4f41188a
      Paul Eggert authored
      Code is supposed to use the filename module now.
      * admin/merge-gnulib (GNULIB_MODULES): Replace dosname with filename.
      * lib/dosname.h: Remove this forwarding stub.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib-src/emacsclient.c, src/fileio.c:
      Include filename.h instead of dosname.h.
  17. 23 Mar, 2020 1 commit
  18. 14 Mar, 2020 1 commit
    • Eli Zaretskii's avatar
      Support Unicode 13.0 · 5beb2695
      Eli Zaretskii authored
      * admin/unidata/BidiBrackets.txt:
      * admin/unidata/BidiMirroring.txt:
      * admin/unidata/Blocks.txt:
      * admin/unidata/NormalizationTest.txt:
      * admin/unidata/SpecialCasing.txt:
      * admin/unidata/UnicodeData.txt:
      * admin/unidata/copyright.html:
      * test/manual/BidiCharacterTest.txt: Updated files imported from
      Unicode v13.0.
      * admin/unidata/blocks.awk: Add "Symbols for Legacy Computing" to
      known aliases.
      * lisp/international/fontset.el (script-representative-chars)
      (setup-default-fontset): Add new scripts.
      * lisp/international/characters.el: Set syntax for Symbols for
      Legacy Computing characters.  Update setting of char-width-table.
      * lisp/international/mule-cmds.el (ucs-names): Update ranges of
      characters for which we want names in 'ucs-names'.
      * test/lisp/international/ucs-normalize-tests.el
      (ucs-normalize-tests--failing-lines-part2): Update according to
  19. 07 Mar, 2020 1 commit
    • Paul Eggert's avatar
      Add ‘nofollow’ flag to set-file-times · 5d4cf1fe
      Paul Eggert authored
      This is a companion to the recent set-file-modes patch.
      It adds support for a ‘nofollow’ flag to set-file-times (Bug#39773).
      Like the set-file-modes patch, it needs work in the w32 port.
      * admin/merge-gnulib (GNULIB_MODULES): Add futimens, utimensat.
      Remove utimens.
      * doc/lispref/files.texi (Changing Files):
      * etc/NEWS: Mention the change.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lisp/files.el (copy-directory):
      * lisp/gnus/gnus-cloud.el (gnus-cloud-replace-file):
      * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-file):
      * lisp/tar-mode.el (tar-copy):
      * test/lisp/filenotify-tests.el (file-notify-test03-events):
      * test/lisp/files-tests.el:
      * test/lisp/net/tramp-tests.el (tramp-test22-file-times):
      When setting file times, avoid following symbolic links
      when the file is not supposed to be a symbolic link.
      * lib/futimens.c, lib/utimensat.c, m4/futimens.m4, m4/utimensat.m4:
      New files, copied from Gnulib.
      * lisp/gnus/gnus-cloud.el (gnus-cloud-replace-file):
      When creating a file that is not supposed to exist already,
      use the excl flag to check this.
      * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times):
      * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-set-file-times):
      Accept an optional FLAG arg that is currently ignored,
      and add a FIXME comment for it.
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-set-file-times):
      * src/fileio.c (Fset_file_times):
      Support an optional FLAG arg.
      * src/fileio.c (Fcopy_file): Use futimens instead of set_file_times,
      as it’s simpler and is a POSIX API.
      * src/sysdep.c (set_file_times): Move from here ...
      * src/w32.c (set_file_times): ... to here, and make it static,
      since it is now used only in w32.c.  Presumably w32.c should also
      add support for futimens and utimensat (the POSIX APIs, which
      Emacs now uses) and it can remove fdutimens (the Gnulib API,
      which Emacs no longer uses).
  20. 27 Feb, 2020 1 commit
  21. 26 Feb, 2020 1 commit
  22. 25 Feb, 2020 1 commit
  23. 24 Feb, 2020 1 commit
    • Paul Eggert's avatar
      Add 'nofollow' flag to set-file-modes etc. · 9d626dff
      Paul Eggert authored
      This avoids some race conditions (Bug#39683).  E.g., if some other
      program changes a file to a symlink between the time Emacs creates
      the file and the time it changes the file’s permissions, using the
      new flag prevents Emacs from inadvertently changing the
      permissions of a victim in some completely unrelated directory.
      * admin/merge-gnulib (GNULIB_MODULES): Add fchmodat.
      * doc/lispref/files.texi (Testing Accessibility, Changing Files):
      * doc/lispref/os.texi (File Notifications):
      * etc/NEWS:
      Adjust documentation accordingly.
      * lib/chmodat.c, lib/fchmodat.c, lib/lchmod.c, m4/fchmodat.m4:
      * m4/lchmod.m4: New files, copied from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
      * lisp/dired-aux.el (dired-do-chmod):
      * lisp/doc-view.el (doc-view-make-safe-dir):
      * lisp/emacs-lisp/autoload.el (autoload--save-buffer):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file):
      * lisp/eshell/em-pred.el (eshell-pred-file-mode):
      * lisp/files.el (backup-buffer-copy, copy-directory):
      * lisp/gnus/mail-source.el (mail-source-movemail):
      * lisp/gnus/mm-decode.el (mm-display-external):
      * lisp/gnus/nnmail.el (nnmail-write-region):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy)
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-directly):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-write-region):
      * lisp/net/tramp.el (tramp-handle-write-region)
      * lisp/server.el (server-ensure-safe-dir):
      * lisp/url/url-util.el (url-make-private-file):
      When getting or setting file modes, avoid following symbolic links
      when the file is not supposed to be a symbolic link.
      * lisp/doc-view.el (doc-view-make-safe-dir):
      Omit no-longer-needed separate symlink test.
      * lisp/gnus/gnus-util.el (gnus-set-file-modes):
      * lisp/net/tramp.el (tramp-handle-file-modes):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-set-file-modes):
      * src/fileio.c (symlink_nofollow_flag): New function.
      (Ffile_modes, Fset_file_modes):
      Support an optional FLAG arg.  All C callers changed.
      * lisp/net/ange-ftp.el (ange-ftp-set-file-modes):
      * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes):
      * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes):
      * lisp/net/tramp-smb.el (tramp-smb-handle-set-file-modes):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-set-file-modes):
      Accept an optional FLAG arg that is currently ignored,
      and add a FIXME comment for it.
      * m4/gnulib-comp.m4: Regenerate.
  24. 29 Jan, 2020 1 commit
  25. 20 Jan, 2020 1 commit
  26. 19 Jan, 2020 1 commit
    • Paul Eggert's avatar
      Remove Gnulib putenv code · 35a1a007
      Paul Eggert authored
      It’s not needed, since Emacs always uses the system putenv and all
      platforms have putenv.  This improves on the fix for Bug#19874.
      Suggested by Bruno Haible.
      * admin/merge-gnulib (GNULIB_MODULES): Remove putenv.
      * configure.ac: Remove workarounds for Gnulib putenv module.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/putenv.c, m4/putenv.m4: Remove.
  27. 18 Jan, 2020 1 commit
    • bandali's avatar
      ERC: New maintainer. · 36a40681
      bandali authored
      * admin/MAINTAINERS: Add entries for Amin Bandali, new maintainer for
      ERC, and interested in maintaining Eshell.
      * lisp/erc/*: New maintainer.
  28. 16 Jan, 2020 1 commit
  29. 15 Jan, 2020 3 commits
    • Stefan Monnier's avatar
      * admin/unidata/unidata-gen.el: Use lexical-binding · a70feb0d
      Stefan Monnier authored
      (unidata-prop): Use defstruct to define the 6 accessor functions.
      (unidata-gen-table-character, unidata-gen-table, unidata-gen-table-name)
      (unidata-check): Move common code out of `if`.
      (unidata-word-list-diff, unidata-split-decomposition):
      Move common code out of `if`; use `push`.
    • Stefan Kangas's avatar
    • Stefan Kangas's avatar
      Remove unused ftx font backend driver · 576dfc8a
      Stefan Kangas authored
      * src/ftxfont.c: Remove file.
      * admin/notes/font-backend:
      * configure.ac:
      * src/Makefile.in:
      * src/deps.mk (ftxfont.o):
      * src/font.c (syms_of_font):
      * src/font.h (top-level, font_property_index):
      * src/xfns.c (Fx_create_frame, x_create_tip_frame): Remove unused ftx
      font backend driver.  Thanks to Glenn Morris for pointing out that it
      can be removed.  (Bug#34663)
  30. 05 Jan, 2020 1 commit
  31. 01 Jan, 2020 3 commits
    • Phillip Lord's avatar
      Update distribution documentation · 138e9051
      Phillip Lord authored
      * admin/nt/README-ftp-server: Remove as obsolete
      * admin/nt/dist-build/README-windows-binaries: Add information
        about installer
    • Paul Eggert's avatar
      Assume C99-style ‘long long’ · 12d004d6
      Paul Eggert authored
      Now that Gnulib assumes ‘long long’, it is a good time to clean
      out old cruft porting to pre-C99 compilers that lack it.
      * src/data.c (ULL_WIDTH, ULL_MAX): Remove.
      All uses replaced by ULLONG_WIDTH, ULLONG_MAX.
      (bits_word_to_host_endian): Assume ‘unsigned long long’.
      By the way, the old code had a performance typo: it used
      HAVE_UNSIGNED_LONG_LONG where it should have used
      * src/sysdep.c (ULLONG_MAX): Remove, as lib/limits.h does this now.
      (time_from_jiffies) [GNU_LINUX]: Assume ‘long long’.
    • Paul Eggert's avatar
      Update copyright year to 2020 · 365e01cc
      Paul Eggert authored
      Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
  32. 30 Dec, 2019 1 commit
  33. 26 Dec, 2019 1 commit
    • Phillip Lord's avatar
      Fix installer build · 8aad80d6
      Phillip Lord authored
      * admin/nt/dist-build/build-zips.sh: Ensure that NSIS build always
        uses the actual build number to locate its files.