aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Prefer display-line-numbers over linum in docs and one defcustomStefan Kangas2019-08-272-6/+17
| | | | | | | | | | | | | | | | | | * 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)
| * | * src/keyboard.c (parse_tool_bar_item): Use CAPTION when HELP is unavailableJuri Linkov2019-08-271-0/+4
| | | | | | | | | | | | while adding equivalent key binding to the tooltip. (Bug#36156)
| * | Fix crashes in networking with GnuTLS on MS-WindowsEli Zaretskii2019-08-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | * 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)
| * | ; Continued attempt to fix Bug#36940Michael Albinus2019-08-261-4/+15
| | | | | | | | | | | | | | | | | | * 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)
| * | Allow finding gpg2 binaries when gpg2 has an "unknown" version stringLars Ingebrigtsen2019-08-261-1/+5
| | | | | | | | | | | | | | | | | | * 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).
| * | Only use --sender for gpg when gpg supports itTeemu Likonen2019-08-263-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | Fix ede-proj-project classLars Ingebrigtsen2019-08-261-1/+1
| | | | | | | | | | | | | | | * lisp/cedet/ede/proj.el (ede-proj-project): Make class inherit from eieio-named to get object-name slot (bug#37181).
| * | Fix bug with non-paletted transparent PNGsPaul Eggert2019-08-251-8/+9
| | | | | | | | | | | | | | | | | | Adapted from a fix by YAMAMOTO Mitsuharu (Bug#37153#77). * src/image.c (png_load_body): Fix bug with non-paletted transparent images.
| * | Fix misdisplay of PNG paletted imagesPaul Eggert2019-08-251-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix a further part of Bug#36940Michael Albinus2019-08-251-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | * 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).
| * | Introduce new value t for compilation-context-lines to eliminate scrollingAlan Mackenzie2019-08-253-27/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix minor problems in TUTORIAL.ruAlex Ott2019-08-251-1/+2
| | | | | | | | | | | | | | | This fixes wording and avoids visiting the tutorial in Ruby mode.
| * | Fix a recent change in coding.cEli Zaretskii2019-08-252-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | ; Improve a recent change.Eli Zaretskii2019-08-251-1/+2
| | | | | | | | | | | | | | | * src/frame.c (Fx_parse_geometry): Improve the comment about non-initialization of some locals.
| * | Use ' instead of ` in NEWSLars Ingebrigtsen2019-08-251-3/+3
| | |
| * | Use `autoconf-mode' for Autoconf .m4 filesLars Ingebrigtsen2019-08-252-0/+6
| | | | | | | | | | | | | | | * lisp/files.el (auto-mode-alist): Use `autoconf-mode' (instead of `m4-mode') for acinclude.m4/aclocal.m4/acsite.m4 files (bug#37133).
| * | The `gnus*-1' functions shouldn't be interactiveAlex Branham2019-08-251-3/+0
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-start.el (gnus-no-server-1): This function shouldn't be interactive (bug#37022). (gnus-1): Ditto.
| * | Disallow just hitting RET in gnus-mime-replace-partLars Ingebrigtsen2019-08-251-1/+4
| | | | | | | | | | | | | | | * 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).
| * | Clarify Fx_parse_geometry initializationPaul Eggert2019-08-241-5/+6
| | | | | | | | | | | | | | | * src/frame.c (Fx_parse_geometry): Clarify why local init isn’t needed.
| * | Tweak time arithmetic performancePaul Eggert2019-08-241-4/+4
| | | | | | | | | | | | | | | * src/timefns.c (time_arith): Prefer mpz_divexact to mpz_tdiv_q when either will do.
| * | Speed up % and mod with fixnum denomPaul Eggert2019-08-241-48/+52
| | | | | | | | | | | | | | | | | | | | | * 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.
| * | Tweak integer mod performancePaul Eggert2019-08-241-1/+1
| | | | | | | | | | | | | | | | | | * 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.
| * | Make (mod 1.0 0) consistent with (/ 1.0 0)Paul Eggert2019-08-242-1/+10
| | | | | | | | | | | | | | | | | | * 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.
| * | extern function cleanupPaul Eggert2019-08-249-38/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix non-deterministic process testNoam Postavsky2019-08-241-10/+16
| | | | | | | | | | | | | | | | | | * 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.
| * | Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2019-08-241-5/+13
| |\ \
| | * | Fix DNS testsRobert Pluim2019-08-241-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
| * | | Revert "Recompute user-emacs-directory-relative defcustoms one more time"Eli Zaretskii2019-08-241-10/+2
| |/ / | | | | | | | | | | | | This reverts commit bb5cd7c4caf415e40836edbbc4e62b0dd411d73f. See bug#37173.
| * | Fix some problems of Bug#36940Michael Albinus2019-08-241-5/+7
| | | | | | | | | | | | | | | | | | * 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.
| * | Tweak gnutls-peer-status reportingPaul Eggert2019-08-232-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | Mention new usage of `invalid-read-syntax' in the manualLars Ingebrigtsen2019-08-231-2/+4
| | | | | | | | | | | | | | | * doc/lispref/errors.texi (Standard Errors): Document "trailing garbage" use of `invalid-read-syntax' (bug#24649).
| * | Clarify compiler-pacifier in frame.cPaul Eggert2019-08-231-1/+1
| | | | | | | | | | | | | | | | | | * 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.
| * | Fix compilation --without--xEli Zaretskii2019-08-231-1/+2
| | | | | | | | | | | | | | | | | | * src/xdisp.c (extend_face_to_end_of_line): Fix a recent change that moved the initialization of default_face. Reported by Glenn Morris <rgm@gnu.org>.
| * | Avoid a compilation warning in w32.cEli Zaretskii2019-08-231-1/+1
| | | | | | | | | | | | | | | * src/w32.c (logon_network_drive): Avoid compilation warning about strncpy arguments.
| * | Avoid compilation warning in frame.cEli Zaretskii2019-08-231-1/+1
| | | | | | | | | | | | | | | * src/frame.c (Fx_parse_geometry): Avoid compilation warning about x and y being used without initializing them.
| * | ; Fix references to log-edit-generate-changelog-from-diffNoam Postavsky2019-08-232-6/+6
| | | | | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (Log Buffer): * etc/NEWS: Replace log-edit-generate-changelog (an old name which was changed during editing) to log-edit-generate-changelog-from-diff.
| * | Print macro modified macro keys as characters not integersNoam Postavsky2019-08-231-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/macros.el (macros--insert-vector-macro): Pass all elements to 'prin1-char', not just those that satisfy characterp (because characters which have modifier bits set wouldn't qualify otherwise). 'prin1-char' will return nil if it can't handle the argument (e.g., for symbols representing function keys).
| * | ; Fix last change.Eli Zaretskii2019-08-231-1/+1
| | | | | | | | | | | | | | | * src/process.c (network_lookup_address_info_1): A better fix for compilation on platforms without HAVE_GAI_STRERROR. (Bug#37158)
| * | Fix compilation of process.cRobert Pluim2019-08-231-1/+1
| | | | | | | | | | | | | | | * src/process.c (network_lookup_address_info_1): [!HAVE_GAI_STRERROR]: Use make_fixnum instead of make_number. (Bug#37158).
| * | Hi-lock lines up to right margin (Bug#15934)Michael Heerdegen2019-08-231-1/+1
| | | | | | | | | | | | | | | * lisp/hi-lock.el (hi-lock-line-face-buffer): Change used regexp so that a line terminating newline character is included in the match.
| * | Rename renamed nsm.el variables and functions backLars Ingebrigtsen2019-08-232-57/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/misc.texi (Network Security): Start working on updating the NSM bits, but it's unclear how much of the new stuff to document. * lisp/net/nsm.el: Rename all nsm-tls-check-* functions to nsm-protocol-check--* to bring them back into line with the documentation. (network-security-protocol-checks): Renamed back again from `nsm-tls-checks', as this variable is documented and can't just go away.
| * | Move all NSM tests away from the `low' levelLars Ingebrigtsen2019-08-231-11/+11
| | | | | | | | | | | | | | | | | | * lisp/net/nsm.el (network-security-level, nsm-tls-checks): Make `low' a "check nothing" setting again, and move all the `low' checks back to `medium'. This makes the test suite work again.
| * | Tweak previous tar-mode time stamp codeLars Ingebrigtsen2019-08-231-1/+1
| | | | | | | | | | | | | | | | | | * lisp/tar-mode.el (tar-header-block-summarize): Tweak previous commit to output the time stamp in the exact same way that GNU tar does.
| * | ; * lisp/emacs-lisp/cl-lib.el (cl-pushnew): Doc fix.Eli Zaretskii2019-08-231-3/+3
| | |
| * | Get the Gnutls code compiling on Fedora 30Paul Eggert2019-08-232-38/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The recent changes caused the build to fail on Fedora 30 when built with --enable-gcc-warnings, among other things with diagnostics that gnutls_compression_get and gnutls_compression_get_name are deprecated (this started with GnuTLS 3.6). Fix this by refusing to call these obsolescent and now-dummy functions in GnuTLS 3.6 and later. However, this is just a temporary workaround to get the build working; a real fix is needed, as network-stream-tests fail. * src/gnutls.c (HAVE_GNUTLS_COMPRESSION_GET): New macro. (gnutls_compression_get, gnutls_compression_get_name): Define only if HAVE_GNUTLS_COMPRESSION_GET. (init_gnutls_functions): Load the two functions only if HAVE_GNUTLS_COMPRESSION_GET. (emacs_gnutls_certificate_export_pem): Use alloca instead of xmalloc. (Fgnutls_peer_status): Just return "NULL" if the functions are deprecated. (Fgnutls_format_certificate): Fix pointer signedness glitches. * src/process.c: Fix spacing.
| * | Put error output from M-! at the end of the error bufferLars Ingebrigtsen2019-08-231-9/+8
| | | | | | | | | | | | | | | | | | * lisp/simple.el (shell-command-on-region): Put the error output at the end of the buffer instead of wherever point is (bug#7513). This avoids interleaving error output.
| * | Move default face lookupRobert Pluim2019-08-231-5/+7
| | | | | | | | | | | | | | | * src/xdisp.c (extend_face_to_end_of_line): Move default face lookup lower.
| * | Correct description of network-lookup-address-infoRobert Pluim2019-08-231-1/+1
| | | | | | | | | | | | | | | * doc/lispref/processes.texi (Misc Network): Remove erroneous text about port numbers
| * | Remove debugging from previous shr.el patchLars Ingebrigtsen2019-08-231-1/+0
| | |
| * | Fix recent changes in gnutls.cEli Zaretskii2019-08-231-4/+4
| | | | | | | | | | | | | | | | | | * src/gnutls.c: Fix typos that broke the MS-Windows build. (Fgnutls_peer_status_warning_describe): Fix incomplete error message string.