1. 08 Sep, 2019 4 commits
  2. 07 Sep, 2019 11 commits
  3. 06 Sep, 2019 2 commits
  4. 05 Sep, 2019 7 commits
  5. 04 Sep, 2019 16 commits
    • Robert Pluim's avatar
      Don't check for :safe-renegotiation with TLS1.3 · 95becaaf
      Robert Pluim authored
      * lisp/net/nsm.el (nsm-protocol-check--renegotiation-info-ext): Don't
      check when using TLS1.3, renegotiation has been removed from TLS.
      Reported in
      <https://lists.gnu.org/archive/html/help-gnu-emacs/2019-09/msg00005.html>
      95becaaf
    • Paul Eggert's avatar
      Don’t mention :safe-renegotiation in TLS 1.3 · a8432661
      Paul Eggert authored
      * src/gnutls.c (Fgnutls_peer_status): Don’t put the
      safe-renegotiation indication into the status in TLS 1.3, which
      removed support for renegotiation.
      a8432661
    • Robert Pluim's avatar
      Fix nsm for unencrypted connections · fc9ed61a
      Robert Pluim authored
      When connecting using a cleartext connection, nsm was erroring out and
      tearing down the connection because it was trying to display
      nonexistent certificate information.
      
      * lisp/net/nsm.el (nsm-query-user): Only format certificate status
      when it is valid.  (Bug#37221)
      fc9ed61a
    • Paul Eggert's avatar
      Port pdumper mmap to AIX · d607067d
      Paul Eggert authored
      * src/pdumper.c (needs_mmap_retry_p) [_AIX]: Return true.
      Problem observed on AIX 7.1 and 7.2 in GCC compile farm.
      d607067d
    • Paul Eggert's avatar
      Port to platforms with Xrender lib but not header · d5d6772d
      Paul Eggert authored
      * configure.ac (HAVE_XRENDER): Also require ‘#include
      <X11/extensions/Xrender.h>’ to work.  Problem found
      on gcc119 in GCC compile farm.
      d5d6772d
    • Mattias Engdegård's avatar
      Correct arguments to `skip-syntax-forward' · 2aee20fb
      Mattias Engdegård authored
      * lisp/wid-edit.el (widget-sexp-validate): Fix bad calls to
      `skip-syntax-forward', whose argument is not a regexp.
      2aee20fb
    • Lars Ingebrigtsen's avatar
      Make the NSM not pop up an X dialogue on non-mouse actions · 4c3a40a9
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/rmc.el (read-multiple-choice): Don't pop up X
      dialogues on (url-retrieve "https://expired.badssl.com/" #'ignore)
      and the like.
      4c3a40a9
    • Lars Ingebrigtsen's avatar
      Preserve more markers when reverting .gpg files · 9df72ecb
      Lars Ingebrigtsen authored
      * lisp/epa-file.el (epa-file--replace-text): Gingerly replace the
      text in the buffer to preserve as many markers as possible
      (bug#34720).  This emulates the behaviour of Finsert_file_contents
      more accurately.
      (epa-file-decode-and-insert): Remove compat code.
      (epa-file-insert-file-contents): Use the new function.
      
      * lisp/emacs-lisp/cl-lib.el (cl-incf): Add autoload cookie.
      9df72ecb
    • Mattias Engdegård's avatar
      Repair change to compilation-context-lines (bug#36832) · 3f30d98a
      Mattias Engdegård authored
      * lisp/progmodes/compile.el (compilation-set-window):
      Restore proper behaviour when compilation-context-lines is nil,
      which is the default.
      3f30d98a
    • Michael Albinus's avatar
      Further work on Bug#37202 · ed80d6d8
      Michael Albinus authored
      * test/lisp/shadowfile-tests.el (shadow-debug): Set to t.
      (shadow--tests-cleanup): Simplify.
      (shadow-test*): Call `shadow-initialize'.
      (shadow-test08-shadow-todo, shadow-test09-shadow-copy-files):
      In cleanup, kill buffers used for test.
      (top): Do not initialize.
      ed80d6d8
    • Michael Albinus's avatar
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Prefer functions to macros in buffer.h · d84b4f83
      Paul Eggert authored
      In buffer.h, prefer inline functions to function-like macros
      when either will do.  This helps avoid confusion about how
      many times an arg is evaluated.  On my platform, this patch
      improves performance of ‘make compile-always’ by 5.7%.
      Also, prefer enum constants to object-like macros
      when either will do.
      * src/buffer.h (BEG, BEG_BYTE, GAP_BYTES_DFL, GAP_BYTES_MIN)
      (MAX_PER_BUFFER_VARS, NONEXISTENT_MODTIME_NSECS)
      (UNKNOWN_MODTIME_NSECS, BUFFER_LISP_SIZE, BUFFER_REST_SIZE):
      Now enum constants, instead of macros.
      (BUFFER_CEILING_OF, BUFFER_FLOOR_OF, BUF_BEG, BUF_BEG_BYTE)
      (BUF_BEGV, BUF_BEGV_BYTE, BUF_PT, BUF_PT_BYTE, BUF_ZV)
      (BUF_ZV_BYTE, BUF_GPT_ADDR, BUF_Z_ADDR, BUF_GAP_END_ADDR)
      (BUF_COMPUTE_UNCHANGED, SET_PT, TEMP_SET_PT, SET_PT_BOTH)
      (TEMP_SET_PT_BOTH, BUF_TEMP_SET_PT, SET_BUF_BEGV, SET_BUF_ZV)
      (SET_BUF_BEGV_BOTH, SET_BUF_ZV_BOTH, SET_BUF_PT_BOTH)
      (BYTE_POS_ADDR, CHAR_POS_ADDR, CHAR_TO_BYTE, BYTE_TO_CHAR)
      (PTR_BYTE_POS, FETCH_CHAR, FETCH_CHAR_AS_MULTIBYTE)
      (BUF_BYTE_ADDRESS, BUF_CHAR_ADDRESS, BUF_PTR_BYTE_POS)
      (BUF_FETCH_CHAR, BUF_FETCH_CHAR_AS_MULTIBYTE, BUF_FETCH_BYTE)
      (BUFFER_PVEC_INIT, BUFFER_LIVE_P, BUFFER_HIDDEN_P)
      (BUFFER_CHECK_INDIRECTION, OVERLAY_POSITION, PER_BUFFER_VALUE_P)
      (SET_PER_BUFFER_VALUE_P, PER_BUFFER_IDX):
      Now inline functions instead of macros.
      d84b4f83
    • Paul Eggert's avatar
      bbe45091
    • Paul Eggert's avatar
      Take last_per_buffer_idx private · 97cfda26
      Paul Eggert authored
      This will simplify future changes.  Turn the runtime check
      into an eassert, since it’s not needed in production.
      * src/buffer.c (last_per_buffer_idx): Now static.
      (valid_per_buffer_idx): New function.
      * src/buffer.h (PER_BUFFER_VALUE_P, SET_PER_BUFFER_VALUE_P): Use it.
      97cfda26
    • Paul Eggert's avatar
      Avoid macros in pdumper.c when it’s easy · 9117a667
      Paul Eggert authored
      Problem with DUMP_SET_REFERRER mentioned by Pip Cet at end of:
      https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00548.html
      * src/pdumper.c (DANGEROUS, EMACS_RELOC_TYPE_BITS)
      (EMACS_RELOC_LENGTH_BITS, DUMP_RELOC_TYPE_BITS)
      (DUMP_RELOC_ALIGNMENT_BITS, DUMP_RELOC_OFFSET_BITS)
      (DUMP_RELOCATION_ALIGNMENT, DUMP_ALIGNMENT)
      (WEIGHT_NONE, WEIGHT_NORMAL, WEIGHT_STRONG)
      (PDUMPER_MAX_OBJECT_SIZE):
      Now a constant, not a macro.
      (divide_round_up): Now a function, not a macro DIVIDE_ROUND_UP.
      All uses changed.
      (enum link_weight_enum, WEIGHT_NONE_VALUE)
      (WEIGHT_NORMAL_VALUE, WEIGHT_STRONG_VALUE): Remove.
      (struct link_weight): Just use an int.
      (dump_set_referrer): New function, replacing DUMP_SET_REFERRER
      macro with a different API.  All uses changed.
      (dump_clear_referrer): Rename from DUMP_CLEAR_REFERRER.
      All uses changed.
      (DEFINE_FROMLISP_FUNC, DEFINE_TOLISP_FUNC): Remove.
      (intmax_t_from_lisp, intmax_t_to_lisp, dump_off_from_lisp)
      (dump_off_to_lisp): Define without using macros,
      (dump_off_from_lisp): Add an eassert range check.
      (DUMP_FIELD_COPY): Simplify.
      9117a667