1. 22 Apr, 2019 7 commits
    • Paul Eggert's avatar
      Mention AddressSanitizer etc. in etc/DEBUG · b20d8a93
      Paul Eggert authored
      * etc/DEBUG: Modernize for AddressSanitizer etc.
      * etc/NEWS: Defer to etc/DEBUG for this.
    • Paul Eggert's avatar
      Remove --enable-checking=xmallocoverrun · 1ea048f6
      Paul Eggert authored
      It doesn’t work anymore, and these days ‘gcc -fsanitize=address’
      does a better job anyway.
      * configure.ac: Remove the option.
      * configure.ac (ac_xmalloc_overrun, XMALLOC_OVERRUN_CHECK):
      (xmalloc_overrun_check_header, xmalloc_overrun_check_trailer)
      (xmalloc_put_size, xmalloc_get_size, overrun_check_malloc)
      (overrun_check_realloc, overrun_check_free):
      Remove.  All uses removed.
      * etc/NEWS: Mention this.
    • Paul Eggert's avatar
      Remove --enablechecking=conslist configure option · 72067661
      Paul Eggert authored
      * configure.ac: Remove the option.
      * configure.ac (ac_gc_check_cons_list, GC_CHECK_CONS_LIST):
      * src/alloc.c (check_cons_list) [GC_CHECK_CONS_LIST]:
      * src/lisp.h (lisp_h_check_cons_list, check_cons_list):
      Remove.  All uses removed.
      * etc/NEWS: Mention this.
    • Paul Eggert's avatar
      Simplify XPNTR · 418400ab
      Paul Eggert authored
      it can be simplified.
      * src/alloc.c (macro_PNTR_ADD, PNTR_ADD, macro_XPNTR): Remove.
      (XPNTR): Open-code rather than using the removed macros and
      functions.  Also, simplify by using LISP_WORD_TAG.
    • Paul Eggert's avatar
      Fix drain_reloc_list alignment bug · e85bff0b
      Paul Eggert authored
      * src/pdumper.c (dump_charset): Use alignof (struct charset),
      not alignof (int), since struct charset might be more strictly
      aligned than int.  I think this is just a minor performance
      issue, but we might as well use the correct alignment.
      (drain_reloc_list): Use an alignment instead of a size for the
      output alignment.  This prevents undefined behavior when
      alignof (struct emacs_reloc) == 8 and sizeof (dump_off) == 4
      when building on x86-64 with gcc -fsanitize=undefined.
    • Paul Eggert's avatar
      Port dump_bitset_clear to -fsanitize=undefined · 4a5ed6b0
      Paul Eggert authored
      * src/pdumper.c (dump_bitset_clear):
      Pacify -fsanitize=undefined by avoiding memset (NULL, x, 0),
      which strictly speaking has undefined behavior although it
      works on all production platforms I know.
    • Paul Eggert's avatar
      Port to recent gcc -fsanitize=undefined · f67bc3f1
      Paul Eggert authored
      * src/alloc.c (XPNTR): Add ATTRIBUTE_NO_SANITIZE_UNDEFINED and
      remove ATTRIBUTE_UNUSED.  Do not define as a macro, so that
      * src/lisp.h (lisp_h_XSYMBOL): Remove.  All uses removed.
      With recent GCC the macro does not work with -fsanitize=undefined,
      and the macro can be omitted as its only function is to optimize -O0.
  2. 21 Apr, 2019 20 commits
  3. 20 Apr, 2019 13 commits
    • Dmitry Gutov's avatar
      Support amending the last commit using VC-Hg · 70f31757
      Dmitry Gutov authored
      * lisp/vc/log-edit.el (log-edit--toggle-amend): Extract from
      vc-git-log-edit-toggle-amend (bug#34944).
      * lisp/vc/vc-hg.el (vc-hg-log-edit-toggle-amend): New function.
      Use the aforementioned.
      (vc-hg-log-edit-mode-map): New variable.
      (vc-hg-log-edit-mode): New major mode.
    • Michael Albinus's avatar
      Mark different-diagnostic-types as failed on emba. · 6d1025f9
      Michael Albinus authored
      * test/lisp/progmodes/flymake-tests.el (different-diagnostic-types):
      Expect also failure on emba.gnu.org.
    • Glenn Morris's avatar
      Add a package: line to c-submit-bug-report. · cd2204f0
      Glenn Morris authored
      * lisp/progmodes/cc-mode.el (c-submit-bug-report):
      Add a Package: line for mail clients that do not support X- headers.
    • Glenn Morris's avatar
      ; Remove empty NEWS sections · a992dcab
      Glenn Morris authored
    • Glenn Morris's avatar
      ; Add NEWS sections for 26.3 · ea672707
      Glenn Morris authored
    • Glenn Morris's avatar
      ; Bump Emacs version to 26.2.50 · 45b09460
      Glenn Morris authored
    • Glenn Morris's avatar
    • Paul Eggert's avatar
      Improve XDG_RUNTIME_DIR diagnostic · b3a12c62
      Paul Eggert authored
      * lib-src/emacsclient.c (set_local_socket):
      If there appears to be an XDG runtime directory for the user
      but XDG_RUNTIME_DIR is unset, suggest setting it while warning
      about potential security issues (Bug#35300).
    • Alan Mackenzie's avatar
      Fix Pike Mode's autodoc doc comments style's continued lines. · a85befa4
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-forward-sws, c-backward-sws): Recognize
      matches of c-doc-line-join-re as syntactic whitespace.
      (c-find-decl-prefix-search): Recognize and move over matches of
      c-doc-line-join-re as whitespace.
      (c-find-decl-spots): Before moving backward a char, check (bobp).  Before
      moving forward over a comment, check it isn't possibly a "bright" comment.
      * lisp/progmodes/cc-fonts.el (c-get-doc-comment-style): New function,
      extracted from c-compose-keywords-list.
      (c-compose-keywords-list): Call the above new function.
      (pike-font-lock-keywords, pike-font-lock-keywords-2)
      (pike-font-lock-keywords-3): Call c-set-doc-comment-res.
      (c-doc-line-join-re, c-doc-bright-comment-start-re, c-doc-line-join-end-ch):
      New variables.
      (c-set-doc-comment-re-element, c-set-doc-comment-char-list): New macros.
      (c-set-doc-comment-res): New function.
      (c-font-lock-doc-comments): For consistency and repeatability, in a sequence
      of C++ style doc comments, don't fontify the region between BOL and the
      comment marker.
      (autodoc-line-join-re, autodoc-bright-comment-start-re)
      (autodoc-line-join-end-ch): New variables.
      * lisp/progmodes/cc-mode.el (c-doc-fl-decl-start, c-doc-fl-decl-end): New
      (c-change-expand-fl-region, c-context-expand-fl-region): Call the above two
      new functions for extra possibilities for the start and end of a construct.
      * doc/misc/cc-mode.texi (Doc Comments): Add a sentence drawing attention to
      the possibility of fontifying constructs within a doc comment.
    • Eli Zaretskii's avatar
      Backport doc improvement in ELisp manual · f90a3360
      Eli Zaretskii authored
      * doc/lispref/processes.texi (Accepting Output): Backport:
      document how do avoid race conditions while waiting for all of
      the process's output to arrive.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/smie.el (smie-indent-comment-continue): Single-char case. · 6f334b6b
      Stefan Monnier authored
      Make it so the comment-continue is aligned with the comment-start when
      comment-start is a single-char.
    • YAMAMOTO Mitsuharu's avatar
    • YAMAMOTO Mitsuharu's avatar
      Use bitmap strikes as fallbacks for ftcr font backend · d1dde7d0
      YAMAMOTO Mitsuharu authored
      * src/ftfont.h (struct font_info): New member bitmap_strike_index.
      * src/ftfont.c (ftfont_open2): Try bitmap strikes as fallbacks.
      (ftfont_open): Discard bitmap strikes.
      * src/ftcrfont.c (ftcrfont_open): Recalculate metrics for bitmap strikes.
      (ftcrfont_get_bitmap, ftcrfont_anchor_point, ftcrfont_shape): New functions.
      (struct font_driver): Use them.