- 27 Aug, 2019 9 commits
-
-
Eli Zaretskii authored
* src/gnutls.c (init_gnutls_functions) [WINDOWSNT]: Define and load gnutls_free by an explicit call to GetProcAddress. (gnutls_free) [WINDOWSNT]: Define as a macro that dereferences a function pointer. (Bug#31946) (Fgnutls_format_certificate): Use make_string_from_bytes instead of going through an intermediate malloc'ed buffer.
-
Alex Branham authored
* lisp/shell.el (shell-dynamic-complete-functions): Move pcomplete-completions-at-point down the list so that filename completion has a chance to complete before pcompletion. Fixes bug#34330
-
Michael Albinus authored
-
Lars Ingebrigtsen authored
* lisp/emacs-lisp/find-func.el (read-library-name): Only list .el/.el.gz files when completing (bug#36945).
-
Mauro Aranda authored
* lisp/wid-edit.el (widget-link-keymap): New variable, a keymap to use inside a link widget. ('link widget): Restore the :follow-link property and add widget-link-keymap as the :keymap property (bug#15682).
-
Mauro Aranda authored
* lisp/recentf.el (recentf-open-files-item): Stop overriding :follow-link property of the link widgets, since now it should work as expected (bug#15682).
-
Mauro Aranda authored
* lisp/epa.el (epa--select-keys): Make OK and Cancel into buttons (bug#15682).
-
Paul Eggert authored
* lisp/net/tramp-sh.el (tramp-perl-file-attributes) (tramp-perl-directory-files-and-attributes) (tramp-do-file-attributes-with-stat) (tramp-do-directory-files-and-attributes-with-stat): Format file sizes and inode numbers without trailing ".0", to avoid rounding errors when absolute values exceed 2**53 (Bug#36940#94). This fixes the problem for Emacs 27 and later, and doesn't hurt in earlier Emacs.
-
Stefan Kangas authored
* doc/misc/efaq.texi: Replace linum with display-line-numbers. * lisp/progmodes/prog-mode.el (prog-mode-hook): Replace linum-mode with display-line-numbers-mode in :options. (Bug#37120)
-
- 26 Aug, 2019 6 commits
-
-
Juri Linkov authored
while adding equivalent key binding to the tooltip. (Bug#36156)
-
Eli Zaretskii authored
* src/gnutls.c (init_gnutls_functions) [WINDOWSNT]: Define and load gnutls_free. (Fgnutls_format_certificate): Use gnutls_free instead of xfree. This prevents crashes on MS-Windows, since the memory being released was allocated inside GnuTLS. (Bug#31946)
-
Michael Albinus authored
* test/lisp/net/tramp-tests.el (tramp--test-file-attributes-equal-p): Handle link number. (tramp--test-check-files): Encode search string on macOS. (Bug#36940)
-
Lars Ingebrigtsen authored
* lisp/epg-config.el (epg-find-configuration): Allow finding a usable configuration even if the version string looks like "gpg (GnuPG) 2.2.15-unknown" (bug#35629).
-
Teemu Likonen authored
* lisp/epg-config.el (epg-required-version-p): New function (bug#37025). * lisp/gnus/mml-sec.el (mml-secure-epg-sign): * lisp/epg.el (epg-start-sign): (epg-start-encrypt): Use it to only use --sender when the gpg binary supports it.
-
Lars Ingebrigtsen authored
* lisp/cedet/ede/proj.el (ede-proj-project): Make class inherit from eieio-named to get object-name slot (bug#37181).
-
- 25 Aug, 2019 12 commits
-
-
Paul Eggert authored
Adapted from a fix by YAMAMOTO Mitsuharu (Bug#37153#77). * src/image.c (png_load_body): Fix bug with non-paletted transparent images.
-
Paul Eggert authored
Problem reported by Roland Winkler (Bug#37153). Derived from a patch suggested by YAMAMOTO Mitsuharu (Bug#37153#62). * src/image.c (png_get_valid) [WINDOWSNT]: Do not dynamically link this function. (png_get_tRNS) [WINDOWSNT && PNG_tRNS_SUPPORTED]: Dynamically link this function instead. (png_load_body): Do not assume that every paletted image supplies only transparency data. Fix typo in use of transparent_p.
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-perl-file-attributes) (tramp-perl-directory-files-and-attributes) (tramp-do-file-attributes-with-stat) (tramp-do-directory-files-and-attributes-with-stat): Return size and inode as floating number. (Bug#36940).
-
Alan Mackenzie authored
In particular, to prevent scrolling in a window lacking a left fringe. Instead, a visible arrow "=>" is inserted before column zero. This fixes bug #36832. * lisp/progmodes/compile.el (compilation-context-lines): Add the new value t. (compilation-set-window): Amend to handle compilation-context-lines being t. (overlay-arrow-overlay): New variable holding an overlay with before-string property "=>". (compilation-set-overlay-arrow): New function which manipulates overlay-arrow-overlay. (compilation-goto-locus, compilation-find-file): In addition to calling compilation-set-window, also call compilation-set-overlay-arrow. * doc/emacs/building.texi (Compilation Mode): Document the new value t which compilation-context-lines can take. * etc/NEWS: Add an entry for this change.
-
Alex Ott authored
This fixes wording and avoids visiting the tutorial in Ruby mode.
-
Eli Zaretskii authored
This partially reverts the changes in "extern function cleanup". * src/coding.c (encode_string_utf_8, decode_string_utf_8): Now extern again. They should NOT be static, as they are intended to be used by the likes of json.c, where we need highly-optimized code for processing UTF-8 strings. E.g., decode_string_utf_8 beats make_string_from_utf8 by a factor of 2 to 5 in a large number of scenarios.
-
Eli Zaretskii authored
* src/frame.c (Fx_parse_geometry): Improve the comment about non-initialization of some locals.
-
Lars Ingebrigtsen authored
-
Lars Ingebrigtsen authored
* lisp/files.el (auto-mode-alist): Use `autoconf-mode' (instead of `m4-mode') for acinclude.m4/aclocal.m4/acsite.m4 files (bug#37133).
-
Alex Branham authored
* lisp/gnus/gnus-start.el (gnus-no-server-1): This function shouldn't be interactive (bug#37022). (gnus-1): Ditto.
-
Lars Ingebrigtsen authored
* lisp/gnus/gnus-art.el (gnus-mime-replace-part): Don't replace the part if the file to replace it with doesn't exist (bug#36864).
-
Paul Eggert authored
* src/frame.c (Fx_parse_geometry): Clarify why local init isn’t needed.
-
- 24 Aug, 2019 10 commits
-
-
Paul Eggert authored
* src/timefns.c (time_arith): Prefer mpz_divexact to mpz_tdiv_q when either will do.
-
Paul Eggert authored
* src/data.c (integer_remainder): New function. When the numerator is a bignum and the denominator is small, this function uses mpz_tdiv_ui, which should be faster than mpz_tdiv_r. (Frem, Fmod): Use it.
-
Paul Eggert authored
* src/data.c (integer_mod): Use mpz_tdiv_r not mpz_mod, as that’s more similar to the fixnum case, is a bit more efficient, and otherwise the later ‘sgn_r < 0’ code is useless anyway.
-
Paul Eggert authored
* src/data.c (Fmod): Do not signal an error for (mod 1.0 0), for the same reason (/ 1.0 0) does not signal an error. * test/src/data-tests.el (data-tests-mod-0): New test.
-
Paul Eggert authored
Most of these functions can be static. A few are unused. * src/coding.c (encode_string_utf_8, decode_string_utf_8): Define only if ENABLE_UTF_8_CONVERTER_TEST, as they're not needed otherwise. * src/coding.c (encode_string_utf_8, decode_string_utf_8): * src/data.c (integer_mod): * src/fns.c (base64_encode_region_1, base64_encode_string_1): * src/ftfont.c (ftfont_get_fc_charset): Now static. * src/sysdep.c (verrprintf): Remove; unused.
-
Noam Postavsky authored
* test/src/process-tests.el (set-process-filter-t): Don't assume subprocess output will come in a single chunk, keep waiting for more data until next "prompt" is read from subprocess.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
This reverts commit bb5cd7c4. See bug#37173.
-
Robert Pluim authored
* test/src/process-tests.el: (lookup-family-specification, lookup-unicode-domains, unibyte-domain-name, lookup-google, non-existent-lookup-failure): Skip on Hydra, which doesn't have DNS. Fix buggy test condition. (Bug#37165)
-
Michael Albinus authored
* test/lisp/net/tramp-tests.el (tramp-test22-file-times): Do not compare time value lists by `equal'. (Bug#36940). (tramp-test30-make-process): Adapt "kill" message to match on macOS.
-
- 23 Aug, 2019 3 commits
-
-
Paul Eggert authored
* src/gnutls.c (Fgnutls_peer_status): Report :compression and :encrypt-then-mac only if the underlying GnuTLS library has the corresponding features. This give the Elisp caller a bit more information about the peer status. * lisp/net/nsm.el (nsm-protocol-check--compression): Don’t worry about compression in newer GnuTLS versions that do not support compression.
-
Lars Ingebrigtsen authored
* doc/lispref/errors.texi (Standard Errors): Document "trailing garbage" use of `invalid-read-syntax' (bug#24649).
-
Paul Eggert authored
* src/frame.c (Fx_parse_geometry): Pacify the compiler in a different way, so that the human reader can more easily see that the initializations are unnecessary.
-