1. 27 Aug, 2019 9 commits
  2. 26 Aug, 2019 6 commits
  3. 25 Aug, 2019 12 commits
    • Paul Eggert's avatar
      Fix bug with non-paletted transparent PNGs · fffefeec
      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's avatar
      Fix misdisplay of PNG paletted images · 8826beaf
      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's avatar
      Fix a further part of Bug#36940 · ae7ab3b6
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-perl-file-attributes)
      (tramp-do-directory-files-and-attributes-with-stat): Return size
      and inode as floating number.  (Bug#36940).
    • Alan Mackenzie's avatar
      Introduce new value t for compilation-context-lines to eliminate scrolling · 29d1c72d
      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
      (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's avatar
      Fix minor problems in TUTORIAL.ru · 50980ba7
      Alex Ott authored
      This fixes wording and avoids visiting the tutorial in
      Ruby mode.
    • Eli Zaretskii's avatar
      Fix a recent change in coding.c · 543ae99f
      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's avatar
      ; Improve a recent change. · 26703b98
      Eli Zaretskii authored
      * src/frame.c (Fx_parse_geometry): Improve the comment about
      non-initialization of some locals.
    • Lars Ingebrigtsen's avatar
      Use ' instead of ` in NEWS · 9b10ec06
      Lars Ingebrigtsen authored
    • Lars Ingebrigtsen's avatar
      Use `autoconf-mode' for Autoconf .m4 files · 9459c4c1
      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's avatar
      The `gnus*-1' functions shouldn't be interactive · 16cae184
      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's avatar
      Disallow just hitting RET in gnus-mime-replace-part · 2e6e2505
      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's avatar
      Clarify Fx_parse_geometry initialization · 84f1674e
      Paul Eggert authored
      * src/frame.c (Fx_parse_geometry): Clarify why local init
      isn’t needed.
  4. 24 Aug, 2019 10 commits
    • Paul Eggert's avatar
      Tweak time arithmetic performance · 63906ab4
      Paul Eggert authored
      * src/timefns.c (time_arith): Prefer mpz_divexact to mpz_tdiv_q
      when either will do.
    • Paul Eggert's avatar
      Speed up % and mod with fixnum denom · a050cf80
      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's avatar
      Tweak integer mod performance · 2f7ca402
      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's avatar
      Make (mod 1.0 0) consistent with (/ 1.0 0) · 575179f7
      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's avatar
      extern function cleanup · b62eac0f
      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's avatar
      Fix non-deterministic process test · aa49aa88
      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's avatar
    • Eli Zaretskii's avatar
      Revert "Recompute user-emacs-directory-relative defcustoms one more time" · 6d70161d
      Eli Zaretskii authored
      This reverts commit bb5cd7c4.
      See bug#37173.
    • Robert Pluim's avatar
      Fix DNS tests · 649fb174
      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's avatar
      Fix some problems of Bug#36940 · 42f8fa80
      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.
  5. 23 Aug, 2019 3 commits
    • Paul Eggert's avatar
      Tweak gnutls-peer-status reporting · 80376945
      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's avatar
      Mention new usage of `invalid-read-syntax' in the manual · c5210fd0
      Lars Ingebrigtsen authored
      * doc/lispref/errors.texi (Standard Errors): Document "trailing
      garbage" use of `invalid-read-syntax' (bug#24649).
    • Paul Eggert's avatar
      Clarify compiler-pacifier in frame.c · 6cd56787
      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.