1. 15 Aug, 2013 2 commits
    • Michael Albinus's avatar
      Declare external variables. · b74f0d96
      Michael Albinus authored
      b74f0d96
    • Michael Albinus's avatar
      Remove byte compiler warnings, visible when compiling with · 5d89d9d2
      Michael Albinus authored
      `byte-compile-force-lexical-warnings' set to t.
      
      * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
      (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
      (tramp-handle-unhandled-file-name-directory)
      (tramp-handle-file-notify-add-watch, tramp-action-login)
      (tramp-action-succeed, tramp-action-permission-denied)
      (tramp-action-terminal, tramp-action-process-alive): Prefix unused
      arguments with "_".
      
      * net/tramp-adb.el (tramp-adb-parse-device-names)
      (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
      (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
      (tramp-adb-handle-file-truename): Remove unused arguments.
      
      * net/tramp-cache.el (tramp-flush-directory-property)
      (tramp-flush-connection-property, tramp-list-connections)
      (tramp-parse-connection-properties): Prefix unused arguments with "_".
      
      * net/tramp-compat.el (tramp-compat-make-temp-file): Rename
      FILENAME to F.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
      (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
      (tramp-zeroconf-parse-workstation-device-names)
      (tramp-zeroconf-parse-webdav-device-names)
      (tramp-synce-parse-device-names): Prefix unused arguments with "_".
      
      * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
      (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
      
      * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
      arguments.
      (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
      (tramp-sh-handle-insert-file-contents-literally)
      (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
      with "_".
      (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
      Remove unused variables.
      
      * net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
      (tramp-smb-read-file-entry): Prefix unused arguments with "_".
      
      * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
      Make them a defconst.
      (tramp-uuencode-region): Remove unused variable.
      5d89d9d2
  2. 01 Aug, 2013 1 commit
    • Michael Albinus's avatar
      Complete file name handlers. · a43dc424
      Michael Albinus authored
      * net/tramp.el (tramp-handle-set-visited-file-modtime)
      (tramp-handle-verify-visited-file-modtime)
      (tramp-handle-file-notify-rm-watch): New functions.
      (tramp-call-process): Do not bind `default-directory'.
      
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Order
      alphabetically.
      [access-file, add-name-to-file, dired-call-process]:
      [dired-compress-file, file-acl, file-notify-rm-watch]:
      [file-ownership-preserved-p, file-selinux-context]:
      [make-directory-internal, make-symbolic-link, set-file-acl]:
      [set-file-selinux-context, set-visited-file-modtime]:
      [verify-visited-file-modtime]: Add handler.
      (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
      [file-notify-add-watch, file-notify-rm-watch]:
      [set-file-times, set-visited-file-modtime]:
      [verify-visited-file-modtime]: Add handler.
      (with-tramp-gvfs-error-message)
      (tramp-gvfs-handle-set-visited-file-modtime)
      (tramp-gvfs-fuse-file-name): Remove.
      (tramp-gvfs-handle-file-notify-add-watch)
      (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
      (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
      
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Order
      alphabetically.
      [file-notify-rm-watch ]: Use default Tramp handler.
      [executable-find]: Remove private handler.
      (tramp-do-copy-or-rename-file-out-of-band): Do not bind
      `default-directory'.
      (tramp-sh-handle-executable-find)
      (tramp-sh-handle-file-notify-rm-watch): Remove functions.
      (tramp-sh-file-gvfs-monitor-dir-process-filter)
      (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
      Do not use `format' in `tramp-message'.
      
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
      [file-notify-rm-watch, set-visited-file-modtime]:
      [verify-visited-file-modtime]: Add handler.
      (tramp-smb-call-winexe): Do not bind `default-directory'.
      a43dc424
  3. 24 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * filenotify.el (file-notify-supported-p): · d5d3c58a
      Michael Albinus authored
      * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
      Remove functions.
      
      * autorevert.el (auto-revert-use-notify):
      (auto-revert-notify-add-watch):
      * net/tramp.el (tramp-file-name-for-operation):
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Remove `file-notify-supported-p' entry.
      d5d3c58a
  4. 23 Jul, 2013 1 commit
  5. 18 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * filenotify.el (file-notify--library): Renamed from · e06ec67f
      Michael Albinus authored
      `file-notify-support'.  Do not autoload.  Adapt all uses.
      (file-notify-supported-p): New defun.
      
      * autorevert.el (auto-revert-use-notify): Use
      `file-notify-supported-p' instead of `file-notify-support'.  Adapt
      docstring.
      (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
      
      * net/tramp.el (tramp-file-name-for-operation):
      Add `file-notify-supported-p'.
      
      * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
      New defun.
      (tramp-sh-file-name-handler-alist): Add it as handler for
      `file-notify-supported-p '.
      
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Add `ignore' as handler for `file-notify-*' functions.
      e06ec67f
  6. 11 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-methods): Extend docstring. · 88f6a933
      Michael Albinus authored
      (tramp-connection-timeout): New defcustom.
      (tramp-error-with-buffer): Reset timestamp only when appropriate.
      (with-tramp-progress-reporter): Simplify.
      (tramp-process-actions): Improve messages.
      
      * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
      * net/tramp-sh.el (tramp-maybe-open-connection):
      Use `tramp-connection-timeout'.
      (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.  (Bug#14808)
      88f6a933
  7. 24 May, 2013 1 commit
  8. 23 May, 2013 1 commit
  9. 22 Apr, 2013 1 commit
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-call-process): Move function ... · d0853629
      Michael Albinus authored
      * net/tramp.el (tramp-call-process): ... here
      (tramp-set-completion-function, tramp-parse-putty):
      * net/tramp-adb.el (tramp-adb-execute-adb-command):
      * net/tramp-gvfs.el (tramp-gvfs-send-command):
      * net/tramp-sh.el (tramp-sh-handle-set-file-times)
      (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
      (tramp-call-local-coding-command): Use `tramp-call-process'
      instead of `tramp-compat-call-process'.
      
      * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
      (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
      (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
      (tramp-find-inline-compress):Improve traces.
      (tramp-maybe-send-script): Check for Perl binary.
      (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
      d0853629
  10. 18 Mar, 2013 1 commit
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-user-error): New defun. · 64ab82d1
      Michael Albinus authored
      * net/tramp-adb.el (tramp-adb-handle-shell-command):
      * net/tramp-gvfs.el (top):
      * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
      (tramp-handle-shell-command): Use it.
      (tramp-dissect-file-name): Raise an error when hostname is a
      method name, and neither method nor user is specified.
      
      * net/trampver.el: Update release number.
      64ab82d1
  11. 09 Mar, 2013 1 commit
    • Michael Albinus's avatar
      Major rewrite due to changed D-Bus interface of GVFS 1.14. · 3675b169
      Michael Albinus authored
      * net/tramp-gvfs.el (top): Extend check for gvfs availability.
      (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
      (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
      New defconst.
      (tramp-gvfs-file-name-handler-alist) [directory-files]:
      [directory-files-and-attributes, file-exists-p, file-modes]: Use
      Tramp default handler.
      [file-acl, file-selinux-context, process-file, set-file-acl]:
      [set-file-modes, set-file-selinux-context, shell-command]:
      [start-file-process ]: Remove handler.
      [verify-visited-file-modtime]: New handler.
      (tramp-gvfs-dbus-string-to-byte-array)
      (tramp-gvfs-dbus-byte-array-to-string): New defuns.  Replace all
      calls of `dbus-string-to-byte-array' and
      `tramp-gvfs-dbus-byte-array-to-string'.
      (tramp-gvfs-handle-copy-file)
      (tramp-gvfs-handle-delete-directory)
      (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
      (tramp-gvfs-handle-file-directory-p)
      (tramp-gvfs-handle-file-executable-p)
      (tramp-gvfs-handle-file-name-all-completions)
      (tramp-gvfs-handle-file-readable-p)
      (tramp-gvfs-handle-file-writable-p)
      (tramp-gvfs-handle-insert-directory)
      (tramp-gvfs-handle-insert-file-contents)
      (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
      (tramp-gvfs-handle-set-visited-file-modtime)
      (tramp-gvfs-handle-write-region): Rewrite.
      (tramp-gvfs-handle-file-acl)
      (tramp-gvfs-handle-file-selinux-context)
      (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
      (tramp-gvfs-handle-set-file-modes)
      (tramp-gvfs-handle-set-file-selinux-context)
      (tramp-gvfs-handle-shell-command)
      (tramp-gvfs-handle-start-file-process)
      (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
      (tramp-gvfs-url-file-name): Do not use `file-truename', we work
      over the symlinks.  Fix user handling.
      (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
      of the D-Bus signals.
      (tramp-gvfs-connection-mounted-p): Handle different names of the
      D-Bus methods.
      (tramp-gvfs-mount-spec-entry): New defun.
      (tramp-gvfs-mount-spec): Use it.
      (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
      there is a share name.  Handle different names of the D-Bus
      signals and methods.
      (tramp-gvfs-maybe-open-connection): Set connection properties
      needed for `tramp-check-cached-permissions'.
      (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
      Return t or nil.
      
      * net/tramp.el (tramp-backtrace): Move up.
      (tramp-error): Apply a backtrace into the debug buffer when
      `tramp-verbose > 9.
      (tramp-file-mode-type-map, tramp-file-mode-from-int)
      (tramp-file-mode-permissions, tramp-get-local-uid)
      (tramp-get-local-gid, tramp-check-cached-permissions): Move from
      tramp-sh.el.
      
      * net/tramp-sh.el (tramp-file-mode-type-map)
      (tramp-check-cached-permissions, tramp-file-mode-from-int)
      (tramp-file-mode-permissions, tramp-get-local-uid)
      (tramp-get-local-gid): Move to tramp.el.
      3675b169
  12. 01 Jan, 2013 1 commit
  13. 27 Dec, 2012 1 commit
  14. 17 Dec, 2012 1 commit
    • Michael Albinus's avatar
      Add support for preserving ACL entries of files. · 53b6a8b1
      Michael Albinus authored
      * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
      `set-file-acl' handlers.
      
      * net/tramp-adb.el (tramp-adb-handle-copy-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      
      * net/tramp-compat.el (tramp-compat-copy-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
      `file-acl' and `set-file-acl' handlers.
      (tramp-gvfs-handle-copy-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl): New
      defuns.
      
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add
      `file-acl' and `set-file-acl' handlers.
      (tramp-remote-acl-p, tramp-sh-handle-file-acl)
      (tramp-sh-handle-set-file-acl): New defuns.
      (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
      `file-acl' and `set-file-acl' handlers.
      (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
      53b6a8b1
  15. 14 Dec, 2012 1 commit
  16. 06 Dec, 2012 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-replace-environment-variables): Hide · 5504e2c7
      Michael Albinus authored
      compiler warning.
      (tramp-file-name-for-operation): Remove `executable-find',
      `start-process', `call-process' and `call-process-region'.
      
      * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
      
      * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
      compatibility.
      
      * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
      5504e2c7
  17. 13 Nov, 2012 1 commit
    • Glenn Morris's avatar
      Use new names for hooks rather than obsolete aliases · 7b1bf173
      Glenn Morris authored
      * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
      * lisp/cedet/semantic/util.el (semantic-describe-buffer):
      * lisp/cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token)
      (semantic-default-c-setup):
      * lisp/emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
      * lisp/gnus/gnus-diary.el (nndiary-request-create-group-functions)
      (nndiary-request-update-info-functions)
      (gnus-subscribe-newsgroup-functions)
      (nndiary-request-accept-article-functions):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
      Use new names for hooks rather than obsolete aliases.
      
      * lisp/arc-mode.el:
      * lisp/emacs-lisp/checkdoc.el: Related comments.
      
      * etc/NEWS: Related markup.
      7b1bf173
  18. 09 Oct, 2012 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-debug-message): Remove · 1d51f99c
      Michael Albinus authored
      "tramp-with-progress-reporter" from regexp of ignored functions.
      (with-tramp-progress-reporter): Rename from
      `tramp-with-progress-reporter'.
      (with-tramp-file-property, with-tramp-connection-property): Move
      from tramp-cache.el, rename from `with-file-property' and
      `with-connection-property', respectively.
      
      * net/tramp-cache.el: Remove `with-file-property' and
      `with-connection-property'.
      
      * net/tramp.el:
      * net/tramp-gvfs.el:
      * net/tramp-sh.el:
      * net/tramp-smb.el: Adapt callees.
      
      * net/trampver.el: Update release number.
      1d51f99c
  19. 30 Jun, 2012 1 commit
  20. 11 Jun, 2012 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.2.6-pre. · 2fe4b125
      Michael Albinus authored
      * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
        `print-length' and `print-level' to nil, in order to avoid
        truncation.  Reported by Christopher Schmidt
        <christopher@ristopher.com>.
      
      * net/tramp-cmds.el (tramp-cleanup-connection): Delete also
      process.
      
      * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
      New defmacro.
      (tramp-compat-copy-directory): Add optional argument
      COPY-CONTENTS.  It is not handled yet.
      
      * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
      (tramp-ftp-file-name-p): Simplify.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
      * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
      connection vector.
      
      * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
      (tramp-methods): Do not use `tramp-password-end-of-line'.
      (tramp-completion-function-alist-putty): Handle
      UNIX case.
      (tramp-remote-path): Add "/opt/bin", "/opt/sbin"
      and "/opt/local/bin".
      (tramp-do-file-attributes-with-stat)
      (tramp-do-directory-files-and-attributes-with-stat)
      Return uid and gid as real numbers.  They could run out of
      integer range on cygwin.
      (tramp-do-copy-or-rename-file-out-of-band): Better
      trace format.
      (tramp-sh-handle-expand-file-name): Handle hops.
      (tramp-open-connection-setup-interactive-shell):
      Use `tramp-cleanup'.  Move check for busyboxes ...
      (tramp-find-shell): ... here.  Simplify
      implementation.  Set "remote-shell" property also for alternative
      shells.
      (tramp-remote-coding-commands): Check "test -c
      /dev/stdout".  If failing, a regular file would be written
      otherwise.  Reported by
      Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
      (tramp-find-inline-encoding): Cache the coding
      commands in the process cache.  Apply test command on the remote
      side, if defined.
      (tramp-find-inline-compress): Cache the compress
      commands in the process cache.
      (tramp-compute-multi-hops): Save
      `tramp-default-proxies-alist'
      when requested.  Handle hops.
      (tramp-current-connection): New defvar.
      (tramp-maybe-open-connection): Use
      `tramp-cleanup'.  Throw
      `suppress', if there was a failed connection
      shortly before.  Handle user interrupt.  (Bug#10187)
      (tramp-get-inline-compress,
      tramp-get-inline-coding): Read
      connection properties from the process cache.
      
      * net/tramp-smb.el (tramp-smb-server-version)
      (tramp-smb-wrong-passwd-regexp,
      tramp-smb-actions-with-tar): New defconsts.
      (tramp-smb-prompt): Extend for powershell prompt.
      (tramp-smb-file-name-handler-alist): Add handlers for
      `process-file', `shell-command' and
      `start-file-process'.
      (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
      (tramp-smb-winexe-shell-command-switch): New
      defcustoms.
      (tramp-smb-file-name-p): Simplify.
      (tramp-smb-action-with-tar,
      tramp-smb-handle-process-file)
      (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
      (tramp-smb-shell-quote-argument): New defuns.
      (tramp-smb-handle-copy-directory): Add
      COPY-CONTENTS argument.
      Implement using "tar".  By this, time-stamps are
      preserved.
      (tramp-smb-handle-copy-file): Handle also the case
      of directories.
      (tramp-smb-do-file-attributes-with-stat)
      (tramp-smb-get-file-entries,
      tramp-smb-get-cifs-capabilities): Use
      `tramp-get-connection-buffer').
      (tramp-smb-handle-rename-file): Use "rename", when source and
      target are on the same share.
      (tramp-smb-maybe-open-connection): Handle wrong passwords.  Use
      `tramp-smb-server-version'.
      (tramp-smb-wait-for-output): Remove prompt.
      
      * net/tramp.el (top): Require 'cl.
      (tramp-methods, tramp-rsh-end-of-line): Remove
      `tramp-password-end-of-line' from docstring.
      (tramp-save-ad-hoc-proxies): New defcustom.
      (tramp-completion-function-alist): Adapt docstring.
      (tramp-default-password-end-of-line): Remove defcustom.
      (tramp-shell-prompt-pattern): Allow "[]" style
      prompts.  (Bug#11065)
      (tramp-user-regexp, tramp-file-name-regexp-unified)
      (tramp-file-name-regexp-url): Extend regexp by hop
      separator.
      (tramp-postfix-hop-format,
      tramp-postfix-hop-regexp) 
      (tramp-remote-file-name-spec-regexp): New defconst.
      (tramp-file-name-structure): Extend structure for
      hops.
      (tramp-get-method-parameter): Move up.
      (tramp-file-name-p, tramp-dissect-file-name)
      (with-parsed-tramp-file-name): Handle hops.
      (tramp-file-name-hop): New defun.
      (tramp-make-tramp-file-name): New optional arg HOP.
      (tramp-message-show-progress-reporter-message):
      New defvar.
      (tramp-with-progress-reporter): Use it.  We cannot use
      `tramp-message-show-message' here, because this
      suppresses also error buffers.
      (tramp-error-with-buffer): Suppress buffer view, if
      `tramp-message-show-message' is nil.  Use
      `tramp-get-connection-buffer'.
      (tramp-cleanup): New defun.
      (tramp-rfn-eshadow-update-overlay): Let-bind
      `non-essential' to `t'.
      (tramp-file-name-handler): If `debug-on-error' is
      set, propagate an error unchanged.
      (tramp-completion-handle-file-name-all-completions):
      Handle hops.  Fix an error when called from ido.
      (tramp-completion-dissect-file-name): Use better
      local variable name.  Add hop to the vector.
      (tramp-handle-insert-file-contents): Use
      progress-reporter for the whole scenario.
      (tramp-action-password): Let-bind
      `enable-recursive-minibuffers' to `t'.
      (tramp-check-for-regexp): Simplify search.
      (tramp-enter-password): Remove it.  Move
      implementation ...
      (tramp-action-password): ... here.
      (tramp-mode-string-to-int, tramp-local-host-p)
      (tramp-make-tramp-temp-file, tramp-read-passwd)
      (tramp-clear-passwd, tramp-time-less-p,
      tramp-time-diff): Set tramp-autoload cookie.
      
      * net/trampver.el: Update release number.
      
      * net/tramp.el (tramp-set-completion-function): Fix
      docstring.
      (tramp-parse-group, tramp-parse-file)
      (tramp-parse-shostkeys-sknownhosts): New defuns.
      (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
      (tramp-parse-shosts-group, tramp-parse-sconfig)
      (tramp-parse-sconfig-group, tramp-parse-shostkeys)
      (tramp-parse-sknownhosts, tramp-parse-hosts)
      (tramp-parse-hosts-group, tramp-parse-passwd,
      tramp-parse-netrc): Use them.
      (tramp-parse-passwd-group, tramp-parse-netrc-group)
      (tramp-parse-putty-group): Don't narrow.
      (tramp-parse-putty): Make a loop.
      (tramp-file-name-handler): Catch the `suppress'
      signal.
      2fe4b125
  21. 09 Apr, 2012 1 commit
  22. 02 Apr, 2012 1 commit
  23. 11 Jan, 2012 1 commit
  24. 05 Jan, 2012 1 commit
  25. 31 Dec, 2011 1 commit
  26. 05 Dec, 2011 1 commit
  27. 25 Nov, 2011 1 commit
  28. 19 Nov, 2011 1 commit
  29. 02 Jun, 2011 1 commit
  30. 23 Feb, 2011 1 commit
  31. 05 Feb, 2011 1 commit
  32. 25 Jan, 2011 1 commit
  33. 02 Jan, 2011 1 commit
  34. 30 Dec, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-default-method-alist) · b191c9d9
      Michael Albinus authored
      (tramp-default-user-alist)
      (tramp-local-host-regexp, tramp-prefix-domain-format)
      (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
      
      * net/tramp-ftp.el:
      * net/tramp-gvfs.el:
      * net/tramp-gw.el:
      * net/tramp-imap.el:
      * net/tramp-sh.el:
      * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
      code of `tramp-default-method-alist' and `tramp-default-user-alist'.
      b191c9d9
  35. 02 Dec, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-local-host-regexp): Add "localhost6". · 66feec8b
      Michael Albinus authored
      (tramp-file-name-port): Check also for `tramp-default-port'.
      (tramp-get-connection-name): New defun.
      (tramp-get-connection-process): Use it.
      (tramp-debug-message): Extend function exclude list.
      (tramp-drop-volume-letter): Fix doc string.
      
      * net/tramp-cmds.el: Remove solved todo item.
      
      * net/tramp-efs.el:
      * net/tramp-ftp.el:
      * net/tramp-gvfs.el:
      * net/tramp-gw.el:
      * net/tramp-imap.el:
      * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
      and `tramp-default-user-alist', respectively.
      
      * net/tramp-gw.el (tramp-gw-open-connection): Use
      `tramp-get-connection-name' and `tramp-get-connection-buffer'.
      
      * net/tramp-imap.el (tramp-imap-make-iht): Use just
      `tramp-file-name-port'.
      
      * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
      and "psftp".  Exchange "%k" marker with options.
      (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
      Compute size of link target.
      (tramp-do-copy-or-rename-file-out-of-band). Move setting of
      `tramp-current-*' up due to gateway methods.  Optimze computing of
      copy arguments.  Use `tramp-get-connection-name' and
      `tramp-get-connection-buffer'.  Improve debug messages.
      (tramp-compute-multi-hops): Remove port determination.
      (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
      
      * net/trampver.el: Update release number.
      66feec8b
  36. 05 Oct, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-handle-directory-files-and-attributes) · bd8fadca
      Michael Albinus authored
      (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
      New defuns, taken from tramp-smb.el.
      (tramp-coding-system-change-eol-conversion)
      (tramp-set-process-query-on-exit-flag): Removed.
      
      * net/tramp-compat.el (top): Do not check for byte-compiler
      objects.
      (tramp-compat-coding-system-change-eol-conversion)
      (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
      from tramp.el.
      
      * net/tramp-gvfs.el:
      * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
      by `tramp-compat-set-process-query-on-exit-flag'.
      
      * net/tramp-imap.el (tramp-imap-file-name-handler-alist): Use
      `tramp-handle-directory-files-and-attributes',
      `tramp-handle-file-exists-p' and
      `tramp-handle-file-newer-than-file-p'.
      (tramp-imap-handle-file-exists-p)
      (tramp-imap-handle-file-executable-p)
      (tramp-imap-handle-file-readable-p)
      (tramp-imap-handle-directory-files-and-attributes)
      (tramp-imap-handle-file-newer-than-file-p): Removed.
      
      * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
      by `tramp-compat-set-process-query-on-exit-flag' and
      `tramp-coding-system-change-eol-conversion' by
      `tramp-compat-coding-system-change-eol-conversion'.
      
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use
      `tramp-handle-directory-files-and-attributes',
      `tramp-handle-file-exists-p' and
      `tramp-handle-file-newer-than-file-p'.
      (tramp-smb-handle-directory-files-and-attributes)
      (tramp-smb-handle-file-exists-p)
      (tramp-smb-handle-file-newer-than-file-p): Removed.
      (tramp-smb-maybe-open-connection): Replace
      `tramp-set-process-query-on-exit-flag' by
      `tramp-compat-set-process-query-on-exit-flag'.
      bd8fadca
  37. 04 Oct, 2010 1 commit
    • Michael Albinus's avatar
      Continue reorganization of load dependencies. (Bug#7156) · 4a93e698
      Michael Albinus authored
      * net/tramp.el (tramp-handle-file-local-copy-hook)
      (tramp-delete-temp-file-function): Move down.
      (tramp-exists-file-name-handler): Move up.
      (tramp-register-file-name-handlers): Simplify autoload.
      (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
      (tramp-handle-directory-files, tramp-handle-dired-uncache)
      (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
      (tramp-handle-file-name-completion)
      (tramp-handle-file-name-directory)
      (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
      (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
      (tramp-handle-find-backup-file-name)
      (tramp-handle-insert-file-contents, tramp-handle-load)
      (tramp-handle-substitute-in-file-name)
      (tramp-handle-unhandled-file-name-directory)
      (tramp-mode-string-to-int, tramp-local-host-p)
      (tramp-make-tramp-temp-file): Moved from tramp-sh.el.
      
      * net/tramp-gvfs.el (top):
      * net/tramp-smb.el (top): Do not require 'tramp-sh.
      
      * net/tramp-sh.el (all): Move several objects to tramp.el, see
      there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
      4a93e698
  38. 02 Oct, 2010 1 commit
    • Michael Albinus's avatar
      * files.el (remote-file-name-inhibit-cache): New defcustom. · 4bc3c53d
      Michael Albinus authored
      * time.el (display-time-file-nonempty-p): Use
      `remote-file-name-inhibit-cache'.
      
      * net/tramp.el (tramp-completion-reread-directory-timeout): Fix
      docstring.
      
      * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
      (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
      `remote-file-name-inhibit-cache'.  Check also for an integer
      value.  Add/increase counter when `tramp-verbose' >= 10.
      (tramp-set-file-property): Add/increase counter when
      `tramp-verbose' >= 10.
      
      * net/tramp-cmds.el (tramp-cleanup-all-connections)
      (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
      (tramp-bug): Set tramp-autoload cookie.  Report all interned
      tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
      (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
      characters only in strings.
      
      * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
      to backward compatibility.
      
      * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
      (tramp-handle-file-name-all-completions)
      (tramp-handle-vc-registered): Use
      `remote-file-name-inhibit-cache'.
      (tramp-open-connection-setup-interactive-shell): Call
      `tramp-cleanup-connection' directly.
      4bc3c53d
  39. 15 Sep, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-with-temp-message) · 6139f995
      Michael Albinus authored
      (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
      (tramp-compat-process-put): New defuns.
      
      * net/tramp.el (top):
      * net/tramp-gvfs.el (top):
      * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
      
      * net/tramp.el (tramp-progress-reporter-update): Use
      `tramp-compat-funcall.
      
      * net/tramp.el (tramp-process-actions):
      * net/tramp-gvfs.el (tramp-handle-vc-registered):
      * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
      (tramp-get-remote-stat, tramp-get-remote-readlink): Use
      `tramp-compat-with-temp-message'.
      
      * net/tramp-sh.el (top): Require 'cl.
      (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
      (tramp-open-connection-setup-interactive-shell): Use
      `tramp-compat-process-put'.
      6139f995