1. 04 Aug, 2017 4 commits
    • Eli Zaretskii's avatar
      Fix dired-test-bug25609 on MS-Windows · bc6ab636
      Eli Zaretskii authored
      * test/lisp/dired-tests.el (dired-test-bug25609): On MS-Windows,
      pass temporary files through file-truename, to avoid bogus
      failures due to file-name comparison as strings.
      bc6ab636
    • Tino Calancha's avatar
      Fix 2 tests that fail in MS-Windows · db5d38dd
      Tino Calancha authored
      https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00018.html
      * test/lisp/vc/ediff-ptch-tests.el (ediff-ptch-test-bug26084):
      Add comments to explain the test logic.
      Pass '--binary' option to 'patch' program in windows environments.
      Check explicitely that a backup is created before compare file contents.
      
      * test/lisp/dired-tests.el (dired-test-bug25609):
      Declare variable 'dired-dwim-target' right before the test.
      Add comments to explain the test logic.
      Ensure, before test the bug condition, that we are displaying the
      2 dired buffers created in this test, and no other dired buffer
      is shown.
      db5d38dd
    • Stefan Monnier's avatar
      * lisp/shell.el (explicit-shell-file-name): Mention shell-file-name · 28e00043
      Stefan Monnier authored
      * lisp/files.el (insert-directory): Don't hardcode "-c".
      * lisp/term.el (term, ansi-term): Use shell-file-name.
      28e00043
    • Paul Eggert's avatar
      Fix version numbers for some GnuTLS features · e8ca0c5e
      Paul Eggert authored
      Problem reported by Glenn Morris (Bug#27708#58).
      * src/gnutls.c (HAVE_GNUTLS_X509_SYSTEM_TRUST):
      New macro.  Use it instead of low-level version number checks.
      (HAVE_GNUTLS_AEAD): Move here from gnutls.h, and rename from
      HAVE_GNUTLS3_AEAD.  All uses changed.  Indent preprocessor lines.
      * src/gnutls.h (HAVE_GNUTLS3_CIPHER, HAVE_GNUTLS3_DIGEST)
      (HAVE_GNUTLS3_HMAC): Remove, since these were available
      before GnuTLS 3.0.0 and the code checks them only if HAVE_GNUTLS3
      is defined.  Remove all uses; this simplifies the code a bit.
      e8ca0c5e
  2. 03 Aug, 2017 4 commits
  3. 02 Aug, 2017 14 commits
  4. 01 Aug, 2017 7 commits
    • Tino Calancha's avatar
      Fix misalignment in Dired when dired-directory is a cons · f74164a8
      Tino Calancha authored
      * lisp/dired.el (dired--need-align-p, dired--align-all-files):
      New defuns.
      (dired-internal-noselect): Call dired--align-all-files when
      dired-directory is a cons (Bug#27762).
      * test/lisp/dired-tests.el (dired-test-bug27762): Test should pass.
      f74164a8
    • Eli Zaretskii's avatar
      Fix some dired-tests.el on MS-Windows · 21375a29
      Eli Zaretskii authored
      * test/lisp/dired-tests.el (dired-test-bug27243-01)
      (dired-test-bug27243-02): On MS-Windows, pass test-dir through
      file-truename, to avoid bogus failures due to file-name comparison
      as strings.
      21375a29
    • Tino Calancha's avatar
      Insert subdir content if dir-or-list is a string w/o wildcards · f3ad1593
      Tino Calancha authored
      * lisp/eshell/em-ls.el (eshell-ls--insert-directory):
      Append '("-d") into 'eshell-ls-dired-initial-args'
      if 'dired-directory' is a cons or there are wildcars (Bug#27843).
      * test/lisp/dired-tests.el (dired-test-bug27843): Add test.
      f3ad1593
    • Stephen Berman's avatar
      Update todo-mode defcustoms in a less hideous way · 4ddc5645
      Stephen Berman authored
      * lisp/calendar/todo-mode.el (todo-reevaluate-filelist-defcustoms)
      (todo-reevaluate-default-file-defcustom)
      (todo-reevaluate-category-completions-files-defcustom)
      (todo-reevaluate-filter-files-defcustom): Delete these functions.
      (todo-update-filelist-defcustoms): New function.  This replaces
      todo-reevaluate-filelist-defcustoms, using the 'custom-type'
      property instead of re-evaluating the defcustoms.
      (todo-add-file, todo-rename-file, todo-delete-file)
      (todo-delete-category, todo-move-category)
      (todo-convert-legacy-files, todo-check-file): Replace call of
      todo-reevaluate-filelist-defcustoms by
      todo-update-filelist-defcustoms.
      (todo-show, todo-category-completions): Replace call of
      todo-reevaluate-* function by use of 'custom-type' property.
      4ddc5645
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · cb764acc
      Glenn Morris authored
      cb764acc
    • Tino Calancha's avatar
      Add more should form calls in a failing dired test · c5305ff6
      Tino Calancha authored
      Some dired tests fail intermittently in hydra.  Add few
      more should form calls for debugging.
      See:
      https://lists.gnu.org/archive/html/emacs-devel/2017-07/msg01092.html
      * test/lisp/dired-tests.el (dired-test-bug27243-01): Add few more should
      forms for debugging.
      c5305ff6
    • Michael Albinus's avatar
      Follow SAUNA recommendations for display-line-numbers-type · ef7a18a0
      Michael Albinus authored
      * lisp/display-line-numbers.el (display-line-numbers-type): Do not autoload.
      
      * lisp/menu-bar.el (display-line-numbers-type): Declare.
      ef7a18a0
  5. 31 Jul, 2017 6 commits
    • Paul Eggert's avatar
      Avoid most stat calls when completing file names · 3a8d0cc8
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add d-type.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * m4/d-type.m4: New file, copied from gnulib.
      * src/dired.c (DT_UNKNOWN, DT_DIR, DT_LINK)
      [!HAVE_STRUCT_DIRENT_D_TYPE]: New constants.
      (dirent_type): New function.
      (file_name_completion): Use it, to avoid unnecessary calls to
      stat-like functions on GNU/Linux and other platforms with d_type.
      (file_name_completion_stat): Just follow the link; there is no
      need to try first with AT_SYMLINK_NOFOLLOW since the directory
      entry was already checked to exist.
      3a8d0cc8
    • Tino Calancha's avatar
      dired-tests: Unload tested features after test them · 192342a3
      Tino Calancha authored
      Some tests are for Dired with ls-lisp or eshell-ls.
      Requiring these features add an advice on `dired' and
      might affect other tests.
      Do not require these features at the top of the file; require
      then inside the tests and unload then at the end.
      * test/lisp/dired-tests.el (dired-test-bug27693)
      (dired-test-bug7131, dired-test-bug27817, dired-test-bug27631):
      require ls-lisp and/or eshell-ls inside the test; unload the
      features at the end.
      192342a3
    • Michael Albinus's avatar
      Small adaptions for directory wildcards · 3d58ea1c
      Michael Albinus authored
      * lisp/dired.el (dired-insert-directory): Remove "--dired"
      when there are wildcards, and the directory is remote.
      
      * test/lisp/net/tramp-tests.el (tramp--test-make-temp-name):
      Adapt docstring.
      (tramp-test17-dired-with-wildcards): Skip for all methods but
      those from tamp-sh.p.
      3d58ea1c
    • Michael Albinus's avatar
      55d62d34
    • Tino Calancha's avatar
    • Paul Eggert's avatar
      Merge from gnulib · ebce9c24
      Paul Eggert authored
      This incorporates:
      2017-07-30 Don't interpret EOVERFLOW to mean nonexistence
      * lib/tempname.c: Copy from gnulib.
      ebce9c24
  6. 30 Jul, 2017 5 commits