comparison lisp/ChangeLog @ 49659:68d45eb4df69

Rework entries for Tramp. Still not summarized, but only reformatted.
author Kai Großjohann <kgrossjo@eu.uu.net>
date Sun, 09 Feb 2003 14:43:55 +0000
parents 9ae045dbc337
children 794b46b14a17
comparison
equal deleted inserted replaced
49658:b4b0014862b1 49659:68d45eb4df69
66 * ido.el (ido-define-mode-map): Interact with Viper. 66 * ido.el (ido-define-mode-map): Interact with Viper.
67 67
68 2003-02-05 Kai Gro,A_(Bjohann <kai.grossjohann@uni-duisburg.de> 68 2003-02-05 Kai Gro,A_(Bjohann <kai.grossjohann@uni-duisburg.de>
69 69
70 * net/tramp.el: Version 2.0.29 released. 70 * net/tramp.el: Version 2.0.29 released.
71 71 (tramp-send-region): Protect against tramp-chunksize being nil.
72 * net/tramp.el (tramp-send-region): Protect against 72 (tramp-chunksize): Set default to 500 as workaround for some ssh
73 tramp-chunksize being nil. 73 connections.
74 (tramp-handle-directory-file-name): New implementation. Not sure
75 if it works.
76 (tramp-md5-function): Require md5 before checking function md5.
77 If using md5-encode, put wrapper around it that converts vector of
78 bytes to ascii text.
79 (top-level): Avoid byte-compiler warnings of unused variables if
80 the byte-compiler supports this. This is for the
81 with-parsed-tramp-file-name macro which is wont to produce such
82 stuff.
74 83
75 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de> 84 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
76 85
77 * net/tramp.el (tramp-handle-directory-file-name): Handle the case 86 * net/tramp.el (tramp-handle-directory-file-name): Handle the case
78 PATH is "". 87 PATH is "".
79 (tramp-completion-handle-file-name-all-completions): 88 (tramp-completion-handle-file-name-all-completions): Define
80 Define `tramp-current-user' locally. See `tramp-parse-passwd'. 89 `tramp-current-user' locally. See `tramp-parse-passwd'.
81 (tramp-parse-passwd): For su-alike methods it would be desirable 90 (tramp-parse-passwd): For su-alike methods it would be desirable
82 to return "root@localhost" as default. Unfortunately, we have no 91 to return "root@localhost" as default. Unfortunately, we have no
83 information whether any user name has been typed already. So we 92 information whether any user name has been typed already. So we
84 (mis-)use tramp-current-user as indication, assuming it is set in 93 (mis-)use tramp-current-user as indication, assuming it is set in
85 `tramp-completion-handle-file-name-all-completions'. 94 `tramp-completion-handle-file-name-all-completions'.
86 (tramp-send-region): Handle the case `tramp-chunksize' is equal 95 (tramp-send-region): Handle the case `tramp-chunksize' is equal 0.
87 0. I did it accidently. Infinite loop ... 96 I did it accidently. Infinite loop ...
88 97 (tramp-get-device): `tramp-make-tramp-file-name' must not be
89 * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp" 98 called with NIL path. It fails in case of multi-method.
90 '(tramp-disable-ange-ftp). Suggested by Kai. 99 (tramp-file-name-for-operation): Apply `expand-file-name' for
91 (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed 100 relative file names only. Otherwise there might be problems if
92 any longer. 101 the default directory is another Tramp directory as the directory
93 102 the file is based on.
94 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
95 Apply `tramp-handle-directory-file-name' in order to profit from Kai's
96 yesterday changes.
97
98 2003-02-05 Kai Gro,A_(Bjohann <kai.grossjohann@uni-duisburg.de>
99
100 * net/tramp.el (tramp-chunksize): Set default to 500 as workaround
101 for some ssh connections.
102 (tramp-handle-directory-file-name): New implementation. Not sure
103 if it works.
104
105 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
106
107 * net/tramp.el (tramp-get-device): `tramp-make-tramp-file-name'
108 must not be called with NIL path. It fails in case of multi-method.
109
110 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
111
112 * net/tramp.el (tramp-file-name-for-operation):
113 Apply `expand-file-name' for relative file names only. Otherwise there
114 might be problems if the default directory is another Tramp
115 directory as the directory the file is based on.
116 (tramp-find-foreign-file-name-handler): Check whether FILENAME is 103 (tramp-find-foreign-file-name-handler): Check whether FILENAME is
117 a Tramp file name. It isn't if it comes from an expanded file 104 a Tramp file name. It isn't if it comes from an expanded file
118 name (like "/xx:yy//zz"). 105 name (like "/xx:yy//zz").
119 106 (tramp-devices): New variable. Keeps virtual device numbers.
120 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de> 107 Devices must distinguish physical file systems. The device
121 108 numbers provided by "lstat" aren't unique, because we operate on
122 * net/tramp.el (tramp-devices): New variable. Keeps virtual 109 different hosts. So we use virtual device numbers, generated by
123 device numbers. Devices must distinguish physical file systems. 110 `tramp-get-device'. Both Ange-FTP and EFS use device number -1.
124 The device numbers provided by "lstat" aren't unique, because we 111 In order to be different, we use device number (-1 x), whereby "x"
125 operate on different hosts. So we use virtual device numbers, 112 is unique for a given (multi-method method user host). Suggested
126 generated by `tramp-get-device'. Both Ange-FTP and EFS use device 113 by Kai.
127 number -1. In order to be different, we use device number (-1 x),
128 whereby "x" is unique for a given (multi-method method user host).
129 Suggested by Kai.
130 (tramp-perl-file-attributes): Always return device number -1. 114 (tramp-perl-file-attributes): Always return device number -1.
131 There will be a virtual device number set in 115 There will be a virtual device number set in
132 `tramp-handle-file-attributes', which replaces this one. 116 `tramp-handle-file-attributes', which replaces this one.
133 (tramp-handle-file-attributes): Set virtual device number. 117 (tramp-handle-file-attributes): Set virtual device number.
134 (tramp-get-device): New function. Returns the virtual device 118 (tramp-get-device): New function. Returns the virtual device
135 number. If it doesn't exist, generate a new one. 119 number. If it doesn't exist, generate a new one.
136 (tramp-handle-file-regular-p): Use Emacs file name primitives 120 (tramp-handle-file-regular-p): Use Emacs file name primitives
137 instead of calling tramp-handle-* equivalents directly. 121 instead of calling tramp-handle-* equivalents directly. Needed
138 Needed for tramp-smb. 122 for tramp-smb.
139 123 (tramp-completion-function-alist-ssh): Add parsing of
140 * net/tramp-smb.el (tramp-smb-devices, tramp-smb-get-device): Removed. 124 "/etc/ssh_config" and "~/.ssh/config". Suggested by Kai.
141 Functionality moved to tramp.el.
142 (tramp-smb-handle-file-attributes):
143 Apply `tramp-get-device'. ATIME and CTIME are (0 0) now (= "don't
144 know"), which is more honest.
145 (tramp-smb-handle-make-directory): Use Emacs file name primitives
146 instead of calling tramp-smb-handle-* equivalents directly.
147 (tramp-smb-read-file-entry): Return size as a number but a string.
148
149 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
150
151 * net/tramp.el (tramp-completion-function-alist-ssh): Add parsing
152 of "/etc/ssh_config" and "~/.ssh/config". Suggested by Kai.
153 (tramp-completion-function-alist, tramp-set-completion-function): 125 (tramp-completion-function-alist, tramp-set-completion-function):
154 Doc string update. 126 Doc string update.
155 (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions. 127 (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions.
156 Provide parsing of "~/.ssh/config" style files. 128 Provide parsing of "~/.ssh/config" style files.
157 129 (tramp-completion-handle-expand-file-name): Apply
158 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de> 130 `tramp-drop-volume-letter'. Otherwise, there are problems on W32
159
160 * net/tramp.el (tramp-completion-handle-expand-file-name):
161 Apply `tramp-drop-volume-letter'. Otherwise, there are problems on W32
162 systems. 131 systems.
163 132 (tramp-completion-mode): Perform check (integerp last-input-event)
164 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de> 133 before (event-modifiers last-input-event) -- there might be
165 134 problems if `last-input-event' is a mouse event.
166 * net/tramp-smb.el (tramp-smb-get-device, tramp-smb-get-inode): 135 (tramp-parse-rhosts, tramp-parse-shosts)
167 New functions. Device number and inode number don't exist for SMB 136 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc): Use
168 files. Therefore we must generate virtual ones. 137 `file-readable-p' instead of `file-exists-p'. Otherwise these
138 functions might block. Reported by <kin@neoscale.com>.
139
140 * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp"
141 '(tramp-disable-ange-ftp). Suggested by Kai.
142 (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed
143 any longer.
144 (top-level): Defaults for `tramp-default-method-alist' must be a
145 list.
146
147 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Apply
148 `tramp-handle-directory-file-name'.
149 (tramp-smb-devices, tramp-smb-get-device): Removed. Functionality
150 moved to tramp.el.
151 (tramp-smb-handle-file-attributes): Apply `tramp-get-device'.
152 ATIME and CTIME are (0 0) now (= "don't know"), which is more
153 honest.
154 (tramp-smb-handle-make-directory): Use Emacs file name primitives
155 instead of calling tramp-smb-handle-* equivalents directly.
156 (tramp-smb-read-file-entry): Return size as a number but a string.
157 (tramp-smb-get-device, tramp-smb-get-inode): New functions.
158 Device number and inode number don't exist for SMB files.
159 Therefore we must generate virtual ones.
169 (tramp-smb-devices, tramp-smb-inodes): New variables. Keep 160 (tramp-smb-devices, tramp-smb-inodes): New variables. Keep
170 generated virtual device numbers and inodes numbers for SMB files. 161 generated virtual device numbers and inodes numbers for SMB files.
171 (tramp-smb-handle-file-attributes): Apply them. 162 (tramp-smb-handle-file-attributes): Apply them.
172 163 (top-level): Defaults for `tramp-default-method-alist' must be a
173 2003-02-05 Kai Gro,A_(Bjohann <kai.grossjohann@uni-duisburg.de> 164 list.
174
175 * net/tramp.el (tramp-md5-function): Require md5 before checking
176 function md5. If using md5-encode, put wrapper around it that
177 converts vector of bytes to ascii text.
178
179 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
180
181 * net/tramp.el (tramp-completion-mode): Perform check (integerp
182 last-input-event) before (event-modifiers last-input-event) -
183 there might be problems if `last-input-event' is a mouse event.
184
185 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
186
187 * net/tramp.el (tramp-parse-rhosts, tramp-parse-shosts)
188 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc):
189 Use `file-readable-p' instead of `file-exists-p'. Otherwise these
190 functions might block. Reported by <kin@neoscale.com>.
191
192 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
193
194 * net/tramp-ftp.el (top-level): Defaults for
195 `tramp-default-method-alist' must be a list.
196
197 * net/tramp-smb.el (top-level): Defaults for
198 `tramp-default-method-alist' must be a list.
199
200 2003-02-05 Kai Gro,A_(Bjohann <kai.grossjohann@uni-duisburg.de>
201
202 * net/tramp.el (top-level): Avoid byte-compiler warnings of unused
203 variables if the byte-compiler supports this. This is for the
204 with-parsed-tramp-file-name macro which is wont to produce such stuff.
205 165
206 2003-02-05 Stefan Monnier <monnier@cs.yale.edu> 166 2003-02-05 Stefan Monnier <monnier@cs.yale.edu>
207 167
208 * completion.el (eval-when-compile-load-eval, completion-eval-when) 168 * completion.el (eval-when-compile-load-eval, completion-eval-when)
209 (cmpl-read-time-eval, minibuffer-window-selected-p): Remove. 169 (cmpl-read-time-eval, minibuffer-window-selected-p): Remove.