1. 28 May, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-delete-file): Use · eba082a2
      Michael Albinus authored
      `symbol-value' for backward compatibility.
      
      * net/tramp.el (tramp-handle-make-symbolic-link)
      (tramp-handle-load)
      (tramp-do-copy-or-rename-file-via-buffer)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-handle-process-file, tramp-handle-call-process-region)
      (tramp-handle-shell-command, tramp-handle-file-local-copy)
      (tramp-handle-insert-file-contents, tramp-handle-write-region)
      (tramp-delete-temp-file-function): Use `delete-file' instead
      of `tramp-compat-delete-file'.
      
      * net/tramp-fish.el (tramp-fish-handle-delete-directory)
      (tramp-fish-handle-make-symbolic-link)
      (tramp-fish-handle-process-file): Use `delete-file' instead
      of `tramp-compat-delete-file'.
      
      * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
      `delete-file' instead of `tramp-compat-delete-file'.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
      (tramp-gvfs-handle-write-region): Use `delete-file' instead of
      `tramp-compat-delete-file'.
      
      * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
      `delete-file' instead of `tramp-compat-delete-file'.
      
      * net/tramp-smb.el (tramp-smb-handle-copy-file)
      (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
      (tramp-smb-handle-write-region): Use `delete-file' instead of
      `tramp-compat-delete-file'.
      (tramp-smb-handle-delete-directory): Use 'trash as arg.
      eba082a2
  2. 27 May, 2010 1 commit
    • Chong Yidong's avatar
      Change delete-by-moving-to-trash so Lisp calls explicitly request trashing. · f1a5d776
      Chong Yidong authored
      * src/fileio.c (Fdelete_file): Change meaning of optional arg to mean
      whether to trash.
      (internal_delete_file, Frename_file): Callers changed.
      (delete_by_moving_to_trash): Doc fix.
      (Fdelete_directory_internal): Don't move to trash.
      
      * src/callproc.c (delete_temp_file):
      * src/buffer.c (Fkill_buffer): Callers changed.
      
      * src/lisp.h: Update prototype.
      
      * lisp/diff.el (diff-sentinel):
      * lisp/epg.el (epg--make-temp-file, epg-decrypt-string)
      (epg-verify-string, epg-sign-string, epg-encrypt-string):
      * lisp/jka-compr.el (jka-compr-partial-uncompress)
      (jka-compr-call-process, jka-compr-write-region):
      * lisp/server.el (server-sentinel): Remove optional arg from
      delete-file, reverting 2010-05-03 change.
      
      * lisp/dired.el (dired-delete-file): New arg TRASH.
      (dired-internal-do-deletions): New arg TRASH.  Use progress
      reporter.
      (dired-do-flagged-delete, dired-do-delete): Use trash.
      
      * lisp/files.el (delete-directory): New arg TRASH.
      
      * lisp/speedbar.el (speedbar-item-delete): Allow trashing.
      
      * lisp/net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
      (ange-ftp-rename-remote-to-remote)
      (ange-ftp-rename-local-to-remote)
      (ange-ftp-rename-remote-to-local, ange-ftp-load)
      (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
      `delete-file'.
      (ange-ftp-delete-directory): Add optional arg to `delete-file', to
      allow trashing.
      
      * lisp/net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
      handle new TRASH arg of `delete-file'.
      
      * lisp/net/tramp-fish.el (tramp-fish-handle-delete-directory)
      (tramp-fish-handle-delete-file)
      (tramp-fish-handle-make-symbolic-link)
      (tramp-fish-handle-process-file): Use null TRASH arg in
      `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
      arg in `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
      (tramp-gvfs-handle-write-region): Use null TRASH arg in
      `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
      (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
      `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-file)
      (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
      (tramp-smb-handle-write-region): Use null TRASH arg in
      tramp-compat-delete-file call.
      (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
      (tramp-smb-handle-delete-file): Rename arg.
      
      * lisp/net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
      (tramp-handle-make-symbolic-link, tramp-handle-load)
      (tramp-do-copy-or-rename-file-via-buffer)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-handle-process-file, tramp-handle-call-process-region)
      (tramp-handle-shell-command, tramp-handle-file-local-copy)
      (tramp-handle-insert-file-contents, tramp-handle-write-region)
      (tramp-delete-temp-file-function): Use null TRASH arg in
      tramp-compat-delete-file call.
      f1a5d776
  3. 25 May, 2010 1 commit
  4. 21 May, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-do-copy-or-rename-file) · 655bded0
      Michael Albinus authored
      (tramp-handle-file-local-copy, tramp-maybe-open-connection): Tune
      `with-progress-reporter' messages.
      (tramp-handle-vc-registered):
      * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
      (tramp-fish-handle-insert-file-contents)
      (tramp-fish-maybe-open-connection):
      * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
      * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
      (tramp-imap-handle-insert-file-contents)
      (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
      655bded0
  5. 09 May, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if · 0d5852cf
      Michael Albinus authored
      not bound.
      (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
      (tramp-compat-funcall): New defmacro.
      (tramp-compat-line-beginning-position)
      (tramp-compat-line-end-position)
      (tramp-compat-temporary-file-directory)
      (tramp-compat-make-temp-file, tramp-compat-file-attributes)
      (tramp-compat-copy-file, tramp-compat-copy-directory)
      (tramp-compat-delete-file, tramp-compat-delete-directory)
      (tramp-compat-number-sequence, tramp-compat-process-running-p)
      * net/tramp.el (top, with-progress-reporter)
      (tramp-rfn-eshadow-setup-minibuffer)
      (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
      (tramp-handle-dired-compress-file, tramp-handle-shell-command)
      (tramp-completion-mode-p, tramp-check-for-regexp)
      (tramp-open-connection-setup-interactive-shell)
      (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
      (tramp-time-diff, tramp-coding-system-change-eol-conversion)
      (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
      * net/tramp-cmds.el (tramp-cleanup-all-connections)
      (tramp-reporter-dump-variable, tramp-load-report-modules)
      (tramp-append-tramp-buffers)
      * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
      
      * net/tramp-imap.el (top): Autoload `epg-make-context'.
      0d5852cf
  6. 06 May, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (top, with-progress-reporter): Use · 9566840f
      Michael Albinus authored
      `symbol-function' inside `funcall'.
      
      * net/tramp-compat.el (tramp-compat-file-attributes)
      (tramp-compat-delete-file, tramp-compat-delete-directory): Handle
      only `wrong-number-of-arguments' error.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
      (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
      inside `funcall'.
      9566840f
  7. 05 May, 2010 1 commit
    • Michael Albinus's avatar
      Add FORCE argument to `delete-file'. · 66bdc868
      Michael Albinus authored
      * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
      forcing to delete the temporary file.
      (ange-ftp-delete-file): Add FORCE arg.
      (ange-ftp-rename-remote-to-remote)
      (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
      (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress): Force
      file deletion.
      
      * net/tramp-compat.el (tramp-compat-delete-file): New defun.
      
      * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
      (tramp-handle-make-symbolic-link, tramp-handle-load)
      (tramp-do-copy-or-rename-file-via-buffer)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-handle-process-file, tramp-handle-call-process-region)
      (tramp-handle-shell-command, tramp-handle-file-local-copy)
      (tramp-handle-insert-file-contents, tramp-handle-write-region)
      (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
      
      * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
      (tramp-fish-handle-make-symbolic-link)
      (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
      
      * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
      `tramp-compat-delete-file'.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
      (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
      
      * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
      (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
      
      * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
      (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
      (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
      `tramp-compat-delete-file'.
      66bdc868
  8. 23 Apr, 2010 1 commit
    • Michael Albinus's avatar
      Implement SELINUX backends. · 632c5478
      Michael Albinus authored
      * net/tramp.el (tramp-file-name-handler-alist): Add
      `file-selinux-context' and `set-file-selinux-context'.
      (tramp-handle-file-selinux-context)
      (tramp-handle-set-file-selinux-context): New defuns.
      (tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
      PRESERVE-SELINUX-CONTEXT.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
      `file-selinux-context' and `set-file-selinux-context'.
      (tramp-gvfs-handle-file-selinux-context)
      (tramp-gvfs-handle-set-file-selinux-context): New defuns.
      (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
      
      * net/ange-ftp.el (ange-ftp-copy-file):
      * net/tramp-fish.el (tramp-fish-handle-copy-file):
      * net/tramp-imap.el (tramp-imap-handle-copy-file):
      * net/tramp-smb.el (tramp-smb-handle-copy-file): Add
      PRESERVE-SELINUX-CONTEXT.
      632c5478
  9. 15 Feb, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-process-actions, tramp-read-passwd): · 7540f029
      Michael Albinus authored
      * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
      instead of PROC for caching "first-password-request".  Otherwise,
      new processes would not profit from passwords already entered.
      
      * net/tramp-cache.el (tramp-dump-connection-properties): Don't
      save "first-password-request" property.
      7540f029
  10. 13 Jan, 2010 1 commit
  11. 17 Nov, 2009 1 commit
  12. 16 Nov, 2009 1 commit
  13. 07 Nov, 2009 1 commit
  14. 01 Oct, 2009 1 commit
  15. 25 Aug, 2009 1 commit
  16. 04 Aug, 2009 1 commit
  17. 03 Jul, 2009 1 commit
    • Michael Albinus's avatar
      * net/tramp-gvfs.el (tramp-gvfs-methods) · f0dbdc25
      Michael Albinus authored
      (tramp-gvfs-zeroconf-domain)
      (tramp-bluez-discover-devices-timeout): Add version flag.
      (tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-connection-mounted-p): Polish handling of
      incompatibilities between GVFS 0.2 and 1.0.
      f0dbdc25
  18. 02 Jul, 2009 2 commits
  19. 01 Jul, 2009 1 commit
    • Michael Albinus's avatar
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add · 99278f8a
      Michael Albinus authored
      handler for `process-file', `shell-command' and
      `start-file-process'.
      (tramp-gvfs-handle-shell-command)
      (tramp-gvfs-handle-start-file-process)
      (tramp-gvfs-handle-process-file): New defuns.
      (tramp-synce-list-devices): Simplify check for existence of
      property.
      99278f8a
  20. 30 Jun, 2009 2 commits
  21. 24 Jun, 2009 1 commit
  22. 23 Jun, 2009 2 commits
  23. 22 Jun, 2009 1 commit