1. 05 Aug, 2020 11 commits
  2. 04 Aug, 2020 28 commits
    • Juri Linkov's avatar
    • Alan Third's avatar
      Don't smooth images when scaling up (bug#38394) · 519a93e0
      Alan Third authored
      * src/image.c (image_set_transform [HAVE_XRENDER]): Use different filter
      when scaling up vs scaling down.
      * src/nsimage.m (ns_image_set_smoothing):
      ([EmacsImage setSmoothing:]): New functions.
      * src/nsterm.h: Add definitions.
      * src/nsterm.m (ns_dumpglyphs_image): Disable smoothing if requested.
      519a93e0
    • Lars Ingebrigtsen's avatar
      When decrypting non-decrypted files, make epa show the raw files · 6e70b379
      Lars Ingebrigtsen authored
      * lisp/epa-file.el (epa-file-insert-file-contents): When trying to
      decrypt a non-decrypted file, just show the bytes from the file
      instead (bug#3829).
      6e70b379
    • Arik Mitschang's avatar
      Add options for mode modern ciphers in smime-encrypt-cipher · 9c967e72
      Arik Mitschang authored
      * lisp/gnus/smime.el (smime-encrypt-cipher): Add support for more
      modern ciphers (bug#8474).
      
      Copyright-paperwork-exempt: yes
      9c967e72
    • Paul Eggert's avatar
      Drop support for -fcheck-pointer-bounds · fe264952
      Paul Eggert authored
      GCC has removed the -fcheck-pointer bounds option, and the Linux
      kernel has also removed support for Intel MPX, so there’s no point
      to keeping this debugging option within Emacs.
      * src/bytecode.c (BYTE_CODE_THREADED):
      * src/lisp.h (DEFINE_LISP_SYMBOL, XSYMBOL, make_lisp_symbol):
      Assume __CHKP__ is not defined.
      * src/ptr-bounds.h: Remove.  All uses of ptr_bounds_clip,
      ptr_bounds_copy, ptr_bounds_init, ptr_bounds_set removed.
      fe264952
    • Lars Ingebrigtsen's avatar
      Ignore test/data/mml-sec/random_seed · 1308587c
      Lars Ingebrigtsen authored
      The file is generated when mml-sec-tests is run.
      1308587c
    • Lars Ingebrigtsen's avatar
      cc41b36a
    • Lars Ingebrigtsen's avatar
      Tweak mml-sec test that sometimes fails · 34229d39
      Lars Ingebrigtsen authored
      * test/lisp/gnus/mml-sec-tests.el
      (mml-first-secure-en-decrypt-sign-1): mml-secure-en-decrypt-sign-1
      fail sometimes, on some machines, unless it's the first test.  I'm
      guessing there's a race condition somewhere in the test, but put
      it first now to avoid build reports.
      34229d39
    • Jens Lechtenbörger's avatar
      Add tests for mml-sec.el · 0c6d2f0f
      Jens Lechtenbörger authored
      0c6d2f0f
    • Lars Ingebrigtsen's avatar
      Fix two mml-sec minor bugs revealed by new test harness · 59243e9f
      Lars Ingebrigtsen authored
      * lisp/gnus/mml-sec.el
      (mml-secure-allow-signing-with-unknown-recipient): New variable
      (bug#18393) (but this should probably be fixed in a different way).
      (mml-secure-epg-sign): Use it.
      (mml-secure-check-user-id): Protect against recipients that aren't
      email addresses, like "No recipient".
      59243e9f
    • Lars Ingebrigtsen's avatar
      fbfa70f4
    • Lars Ingebrigtsen's avatar
      Mark unused Gnus util function as obsolete · 9eb04d87
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-util.el (gnus-test-list): Mark utility function
      as obsolete -- there are no in-tree usage.
      9eb04d87
    • Stefan Kangas's avatar
      Add new cconv-tests (Bug#28557) · b0e828da
      Stefan Kangas authored
      These tests are all written by Gemini Lasswell <gazally@runbox.com>.
      
      * test/lisp/emacs-lisp/cconv-tests.el
      (top-level): Add two commented out tests which the byte-compiler
      can't handle.
      (cconv-tests-lambda-:documentation)
      (cconv-tests-pcase-lambda-:documentation)
      (cconv-tests-defun-:documentation)
      (cconv-tests-cl-defun-:documentation)
      (cconv-tests-function-:documentation)
      (cconv-tests-cl-defgeneric-literal-:documentation)
      (cconv-tests-defsubst-:documentation)
      (cconv-tests-cl-defsubst-:documentation): New tests.
      (cconv-tests-cl-iter-defun-:documentation)
      (cconv-tests-iter-defun-:documentation)
      (cconv-tests-iter-lambda-:documentation)
      (cconv-tests-cl-function-:documentation)
      (cconv-tests-cl-defgeneric-:documentation): New failing tests.
      b0e828da
    • Lars Ingebrigtsen's avatar
      Fix viewing encrypted+signed messages from Outlook · 0a12d43e
      Lars Ingebrigtsen authored
      * lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Fix
      problem with CRLF-encoded encrypted+signed parts (bug#42637).
      0a12d43e
    • Lars Ingebrigtsen's avatar
      Fix previous network stream test · 89dbd083
      Lars Ingebrigtsen authored
      * test/lisp/net/network-stream-tests.el
      (network-test--resolve-system-name): There's only one ipv6
      localhost address.
      89dbd083
    • Lars Ingebrigtsen's avatar
      Make a network-stream test more robust · 99e9bdcd
      Lars Ingebrigtsen authored
      * test/lisp/net/network-stream-tests.el
      (network-test--resolve-system-name): New function.
      (echo-server-with-dns): Skip test if (system-name) doesn't look
      like it's going to resolve (bug#42535).
      99e9bdcd
    • Lars Ingebrigtsen's avatar
      Mark the end of file names correctly on Macos in wdired · ea9520a7
      Lars Ingebrigtsen authored
      * lisp/wdired.el (wdired--restore-dired-filename-prop): Fix
      problem with finding the end of the name on Macos.
      ea9520a7
    • Lars Ingebrigtsen's avatar
      1432cfd4
    • Lars Ingebrigtsen's avatar
      Fix svn tests on Macos · a3c870d7
      Lars Ingebrigtsen authored
      * test/lisp/vc/vc-tests.el (vc-test--svn-enabled): Macos machines
      may have a dummy svn program that helpfully just outputs "There's
      no svn program here", so also test for the svnadmin program
      (bug#42536).
      a3c870d7
    • Lars Ingebrigtsen's avatar
      dired-ls-F-marks-symlinks should be set under Macos · 934585a6
      Lars Ingebrigtsen authored
      * lisp/dired.el (dired-ls-F-marks-symlinks): Not that this should
      be set under Macos (bug#42537).
      934585a6
    • Lars Ingebrigtsen's avatar
      Fix wdired test for Macos · e208d67e
      Lars Ingebrigtsen authored
      * test/lisp/wdired-tests.el (wdired-test-bug34915): Macos adds "@"
      to the end of symlinks (bug#42537).
      e208d67e
    • Michael Albinus's avatar
    • Michael Albinus's avatar
      Add Tramp support of direct asynchronous process invocation · 83b1db04
      Michael Albinus authored
      * doc/misc/tramp.texi (Predefined connection information):
      Add "direct-async-process".
      (Remote processes): New subsection "Improving performance of
      asynchronous remote processes".
      
      * lisp/net/tramp-adb.el (tramp-methods) <adb>: Add `tramp-login-program'
      and `tramp-login-args'.
      (tramp-adb-handle-make-process): Use `tramp-handle-make-process'.
      (tramp-adb-maybe-open-connection): Add "set +o vi +o emacs" command.
      
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
      Use `tramp-handle-make-process'.
      (tramp-sh-file-name-handler-p, tramp-multi-hop-p): New defuns.
      (tramp-compute-multi-hops): Use `tramp-multi-hop-p'.
      
      * lisp/net/tramp.el (tramp-dissect-file-name, tramp-dissect-hop-name):
      Use `tramp-multi-hop-p'.
      (tramp-handle-insert-file-contents, tramp-local-host-p):
      Use `tramp-sh-file-name-handler-p'.
      (tramp-handle-make-process): New defun.
      
      * test/README: Add another example how to use SELECTOR.
      
      * test/lisp/net/tramp-tests.el (tramp-test03-file-name-method-rules):
      Adapt test.
      (tramp--test-sh-p): Use `tramp-sh-file-name-handler-p'.
      83b1db04
    • Theodor Thornhill's avatar
      Add sass @use rule to css-mode · b8b25400
      Theodor Thornhill authored
      * lisp/textmodes/css-mode.el (scss-at-ids): Add 'use' to scss-at-ids
      for autocompletion (bug#42700).
      b8b25400
    • Paul Eggert's avatar
      Use void * for pointers in with_echo_area_buffer · 19e76f61
      Paul Eggert authored
      * src/xdisp.c (with_echo_area_buffer): Pass void * instead of
      ptrdiff_t, since the values are typically pointers and this ports
      better to (mostly-theoretical) hosts where ptrdiff_t is narrower
      than intptr_t.  All uses changed.
      19e76f61
    • Paul Eggert's avatar
      Ignore another memory leak · fd50b3fc
      Paul Eggert authored
      * src/pdumper.c (dump_mmap_contiguous_heap):
      Ignore the heap control block when checking for leaks.
      fd50b3fc
    • Paul Eggert's avatar
      Simplify use of __lsan_ignore_object · a1436544
      Paul Eggert authored
      * configure.ac: Use AC_CHECK_FUNCS_ONCE for __lsan_ignore_object.
      * src/buffer.c, src/data.c, src/emacs-module.c, src/regex-emacs.c:
      * src/search.c: Use __lsan_ignore_object unconditionally, and don’t
      include sanitizer/lsan_interface.h.
      * src/lisp.h (__lsan_ignore_object): Provide a dummy in the
      typical case where leak sanitization is not available.
      a1436544
    • Paul Eggert's avatar
      Simplify pointer computation in mark_maybe_object · a4ed198e
      Paul Eggert authored
      * src/alloc.c (mark_maybe_object):
      Use simpler way to avoid -fsanitize=undefined false alarms,
      by converting the word tag to intptr_t first.
      Omit now-unnecessary runtime overflow check.
      (mark_memory): Work even if UINTPTR_MAX <= INT_MAX (!).
      a4ed198e
  3. 03 Aug, 2020 1 commit
    • Philipp Stephani's avatar
      Avoid duplicate Edebug symbols when backtracking (Bug#42701) · ca419812
      Philipp Stephani authored
      When Edebug backtracks, it nevertheless generates definitions for the
      non-matching branches, see Bug#41988 and Bug#42701.  This should be
      fixed eventually (probably by deferring the definition until a branch
      is known to match), but for now add a band-aid to avoid these
      duplicate symbols, at least for anonymous forms.
      
      * lisp/emacs-lisp/edebug.el (edebug-make-enter-wrapper): Regenerate
      anonymous names.
      
      * test/lisp/emacs-lisp/edebug-tests.el
      (edebug-tests-duplicate-symbol-backtrack): New regression test.
      ca419812