1. 01 Aug, 2020 4 commits
    • Philipp Stephani's avatar
      Suppress leak sanitizer in a few more places · 91d539b0
      Philipp Stephani authored
      * src/regex-emacs.c (regex_compile):
      src/search.c (newline_cache_on_off): Suppress leak sanitizer.
      91d539b0
    • Eli Zaretskii's avatar
      Fix last change · 4ea90a71
      Eli Zaretskii authored
      * src/emacs-module.c (initialize_environment): Call
      __lsan_ignore_object only if HAVE_SANITIZER_LSAN_INTERFACE_H is
      undefined.  This fixes compilation on systems that don't have
      __lsan_* functions.
      4ea90a71
    • Philipp Stephani's avatar
      Suppress leak detector in some cases · c3b53559
      Philipp Stephani authored
      We intentionally leak some objects.  Prevent the ASan leak detector
      from raising false alarms in these cases.
      
      * configure.ac: Search for lsan_interface.h header.
      
      * src/data.c (make_blv): Allow leaking of buffer-local values.
      
      * src/buffer.c (enlarge_buffer_text): Allow leaking of buffer text.
      
      * src/emacs-module.c (Fmodule_load, initialize_environment): Allow
      intentional leak of runtime and environment objects if module
      assertions are enabled.
      c3b53559
    • Philipp Stephani's avatar
  2. 31 Jul, 2020 5 commits
    • Glenn Morris's avatar
      ; Maintainer header updates · fbe363f5
      Glenn Morris authored
      fbe363f5
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/byte-opt.el: Minor simplifications · 450b50df
      Stefan Monnier authored
      (byte-optimize-form-code-walker): Use `byte-optimize-form` after
      inlining, so optimizations are also applied to the top level call.
      Simplify the code for `pure` functions using `byte-optimize-constant-args`.
      (byte-optimize-all-constp): Remove, not used any more.
      (byte-optimize-1+, byte-optimize-1-): Remove, they are redundant
      with the `pure` annotation.
      450b50df
    • Stefan Kangas's avatar
      Declare some ancient compat aliases obsolete (Bug#41328) · 7899fa43
      Stefan Kangas authored
      * lisp/comint.el (comint-read-noecho):
      * lisp/emacs-lisp/edebug.el (edebug-all-defuns):
      * lisp/man.el (manual-entry):
      * lisp/vc/log-edit.el (vc-log-mode-map, vc-log-entry-mode): Declare
      ancient backwards-compatibility aliases and functions obsolete.  The
      oldest in this list was added in 1992, and the most recent in 2004.
      
      * lisp/net/telnet.el (telnet-initial-filter): Don't use
      `comint-read-noecho'.
      7899fa43
    • Lars Ingebrigtsen's avatar
      Minor dns.el clean up · f7a916a6
      Lars Ingebrigtsen authored
      * lisp/net/dns.el (dns-query-asynchronous, dns-query): Adjust some
      parameter names to not end with "p", as these are not predicates.
      f7a916a6
    • Lars Ingebrigtsen's avatar
      Make gravatar-build-url respect dynamically bound variables again · 50a12de8
      Lars Ingebrigtsen authored
      * lisp/image/gravatar.el (gravatar-build-url): Compute
      query-string first, so that dynamically bound values of
      `gravatar-rating' (etc.) are respected, instead of computing it
      when the callback happens.
      50a12de8
  3. 30 Jul, 2020 9 commits
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Update from Gnulib · 5d89a9c2
      Paul Eggert authored
      This incorporates:
      2020-07-30 work around some Oracle Studio attribute bugs
      2020-07-29 fsusage, regex, stat-size: remove Cray support
      2020-07-26 inttypes: remove support for AIX 4
      2020-07-26 gettimeofday: remove workaround for Mac OS X 10.0
      2020-07-26 don't require gl_LOCALTIME_BUFFER_DEFAULTS
      2020-07-26 alloca: remove Cray-2 and Cray Y-MP support
      2020-07-26 libgmp: remove dependency on havelib
      2020-07-26 libgmp: remove HAVE_GMP, LIB_GMP
      2020-07-25 multiarch: prepare for x86_64+arm64 universal in macOS 11
      2020-07-25 sigprocmask: small autoconf macro improvement
      2020-07-25 small autoconf macro improvements
      2020-07-24 timespec: remove dependence on ‘verify’
      2020-07-24 optimize a few more three-valued comparisons
      2020-07-24 fix _GL_CMP parenthesization typo
      2020-07-23 optimize three-valued comparison between integers
      2020-07-24 doc: update for Mac OS X 10.13
      2020-07-23 fchmodat, lchmod: use /proc on Cygwin
      2020-07-21 inttypes: fix PRI*PTR and SCN*PTR on 64-bit native Windows
      2020-07-12 libgmp: avoid warning when --without-libgmp is used
      2020-07-12 libgmp: link to the correct shared library
      * lib/mini-gmp-gnulib.c: Ignore -Wsuggest-attribute=malloc only for
      * build-aux/config.guess, build-aux/config.sub:
      * build-aux/install-sh, doc/misc/texinfo.tex, lib/c-strcasecmp.c:
      * lib/c-strncasecmp.c, lib/fchmodat.c, lib/fsusage.c:
      * lib/gettimeofday.c, lib/inttypes.in.h, lib/lchmod.c:
      * lib/mini-gmp-gnulib.c, lib/nstrftime.c, lib/regex.h, lib/timespec.h:
      * m4/alloca.m4, m4/getgroups.m4, m4/gettimeofday.m4:
      * m4/gnulib-common.m4, m4/inttypes.m4, m4/libgmp.m4, m4/mktime.m4:
      * m4/multiarch.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * src/Makefile.in, test/Makefile.in (LIBGMP):
      Rename from LIB_GMP for compatibility with Gnulib.
      All uses changed.
      5d89a9c2
    • Paul Eggert's avatar
      Port to Oracle Studio 12.6 (sparc) · 88b4516c
      Paul Eggert authored
      * src/alloc.c (__builtin_unwind_init) [!HAVE___BUILTIN_UNWIND_INIT]:
      Move from here ...
      * src/lisp.h: ... to here, since flush_stack_call_func uses it.
      * src/pdumper.c (dump_off_from_lisp): Avoid ‘return n;;’ to pacify
      Oracle Studio.
      88b4516c
    • Eli Zaretskii's avatar
      Fix face extension past EOL in overlay strings · 35564bea
      Eli Zaretskii authored
      * src/xdisp.c (face_at_pos): Pass ATTR_FILTER to
      face_for_overlay_string.
      * src/xfaces.c (face_for_overlay_string): Accept an additional
      argument ATTR_INDEX and pass it to merge_face_ref for merging the
      face at POS.  This ensures a face from buffer text will not be
      merged unless it specifies the :extend attribute.  (Bug#42552)
      * src/dispextern.h (face_for_overlay_string): Adjust prototype.
      35564bea
    • Michael Albinus's avatar
      Fix Tramp bug#42538 · 50ea5b87
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-set-remote-path): Send the command
      in several chunks if it is too large.  (Bug#42538)
      50ea5b87
    • Lars Ingebrigtsen's avatar
      Make libravatar lookups asynchronous · a0b18d3c
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-gravatar.el (gnus-gravatar-insert): Fix check for
      repeated gravatars, which is now easier to trigger now that things
      are more asynchronous.
      
      * lisp/image/gravatar.el (gravatar--service-libravatar): Fetch the
      data asynchronously (bug#40676).
      (gravatar-service-alist): Adjust all providers so they are
      asynchronous.
      (gravatar-build-url): Adjust caller to be asynchronous.
      (gravatar-retrieve): Ditto.
      (gravatar-retrieve-synchronously): Ditto.
      a0b18d3c
    • Lars Ingebrigtsen's avatar
      Add the new function dns-query-asynchronous · ef7f569c
      Lars Ingebrigtsen authored
      * lisp/net/dns.el (dns-query-asynchronous): New function.
      (dns--lookup, dns--filter): New internal functions.
      (dns-query): Reimplement on top of dns-query-asynchronous.
      ef7f569c
    • Lars Ingebrigtsen's avatar
      Use lexical binding in dns.el · 78919704
      Lars Ingebrigtsen authored
      * lisp/net/dns.el: Use lexical-binding.
      (dns-write-bytes, dns-read): Adjust for lexical-binding.
      78919704
    • Lars Ingebrigtsen's avatar
      Small dns.el code cleanup · 18a5e52e
      Lars Ingebrigtsen authored
      * lisp/net/dns.el (dns-query): Clean up code slightly by removing
      a macro and moving the code into the function itself.
      18a5e52e
  4. 29 Jul, 2020 17 commits
  5. 28 Jul, 2020 5 commits