Commit | Line | Data |
---|---|---|
07e9b3f0 SM |
1 | 2006-07-31 Stefan Monnier <monnier@iro.umontreal.ca> |
2 | ||
3 | * url-util.el (url-hexify-string): Only utf-8 encode if it's | |
4 | a multibyte string. | |
5 | (url-normalize-url): Remove unused var `grok'. | |
6 | (url-truncate-url-for-viewing): Remove unused var `tail'. | |
7 | ||
ecfbb488 TTN |
8 | 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org> |
9 | ||
10 | * url-util.el (url-hexify-string): Rewrite. | |
11 | Suggested by David Smith <davidsmith@acm.org>. | |
12 | ||
0b6bb130 MB |
13 | 2006-07-12 Michael Olson <mwolson@gnu.org> |
14 | ||
15 | * url-irc.el (url-irc-erc): Call erc-handle-irc-url. | |
16 | ||
bc684c16 SM |
17 | 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
18 | ||
19 | * url-cookie.el: Remove spurious * in docstrings. | |
20 | (url-cookie-write-file): Don't use versioned backups. | |
21 | (url-cookie-host-can-set-p): Remove unused var `tmp'. | |
22 | ||
3d3a26eb | 23 | 2006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> |
bc684c16 SM |
24 | |
25 | * url-cookie.el (url-cookie-save-interval): Move to url-cookie group. | |
26 | (url-cookie-write-file): Reset url-cookies-changed-since-last-save. | |
27 | ||
d10a6bf1 RS |
28 | 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de> |
29 | ||
30 | * url-http.el (url-http-file-exists-p): Test if status is integer. | |
31 | ||
3d3a26eb | 32 | 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de> |
3dfed653 EZ |
33 | |
34 | * url-http.el (url-http-parse-headers): Don't reuse connection if | |
35 | "Connection: close" header was seen. | |
36 | ||
351b838f SM |
37 | 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca> |
38 | ||
39 | * url-gw.el (url-open-stream): Don't hide errors. | |
40 | (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer. | |
41 | ||
42 | * url-handlers.el (url-insert): New function. | |
43 | (url-insert-file-contents): Use it. | |
44 | ||
bdba217b SM |
45 | 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca> |
46 | ||
47 | * url-handlers.el (url-handler-directory-file-name): New handler. | |
48 | (url-file-local-copy): Plug race condition security hole. | |
49 | ||
7608c40c RF |
50 | 2006-03-27 Romain Francoise <romain@orebokech.com> |
51 | ||
52 | * url-irc.el (url-irc-rcirc, url-irc-erc): New functions. | |
53 | (url-irc-function): Add rcirc and ERC to the list of IRC clients. | |
54 | Default to rcirc, since ZenIRC isn't part of Emacs. | |
55 | ||
bedeb7fd SM |
56 | 2006-03-07 Stefan Monnier <monnier@iro.umontreal.ca> |
57 | ||
58 | * url-http.el (url-http-find-free-connection): Fix braino in last fix. | |
59 | ||
8dff56de SM |
60 | 2006-03-05 Stefan Monnier <monnier@iro.umontreal.ca> |
61 | ||
62 | * url-http.el (url-http-find-free-connection): Don't kill the process | |
63 | when killing the temp buffer. | |
64 | (url-http-symbol-value-in-buffer): Massage to make it clear to the | |
65 | byte-compiler that the function is defined. | |
66 | ||
9b4cf231 SM |
67 | 2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca> |
68 | ||
69 | * url.el (url-redirect-buffer): New var. | |
70 | (url-retrieve-synchronously): Use it to follow redirections. | |
71 | ||
72 | * url-http.el: Require `url' rather than try to autoload parts of it. | |
73 | (url-http-find-free-connection): `url-open-stream' needs a real buffer. | |
74 | (url-http-parse-headers): Set `url-redirect-buffer' when following | |
75 | a redirection reply. | |
76 | ||
81cafdfe SM |
77 | 2006-01-18 Stefan Monnier <monnier@iro.umontreal.ca> |
78 | ||
79 | * url-news.el: Move defvars out of eval-when-compile. | |
80 | (url-news-fetch-message-id, url-news-fetch-newsgroup): | |
81 | Use with-current-buffer. | |
82 | ||
5dc3ceeb SM |
83 | 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
84 | ||
e7ea7cac SM |
85 | * url.el (url-retrieve-synchronously): Adjust the workaround so as not |
86 | to stop in the middle of a redirection. | |
87 | ||
5dc3ceeb SM |
88 | * url-vars.el (url-privacy-level): Add setter. |
89 | ||
72a30be4 SM |
90 | 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca> |
91 | ||
176c99dc SM |
92 | * url-history.el (url-history-hash-table): Initialize in declaration. |
93 | (url-history-parse-history): Don't reset the history. | |
94 | (url-history-save-history): Create parent dir if necessary. | |
95 | (url-history-save-history): Don't write the initialization of | |
96 | url-history-hash-table into the history file. | |
9b4cf231 | 97 | (url-have-visited-url): Simplify since url-history-hash-table isn't nil. |
176c99dc SM |
98 | (url-completion-function): Simplify. |
99 | ||
72a30be4 SM |
100 | * url-cookie.el (url-cookie-parse-file): Don't complain of missing file. |
101 | (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve) | |
102 | (url-cookie-generate-header-lines, url-cookie-handle-set-cookie) | |
103 | (url-cookie-setup-save-timer): Remove autoload cookies. | |
104 | They're only called from files that require url-cookie anyway. | |
105 | ||
106 | * url-history.el (url-history-setup-save-timer) | |
107 | (url-history-parse-history, url-history-save-history): | |
108 | Remove autoload cookies. They're only called from url.el which requires | |
109 | url-history anyway. | |
110 | (url-history-parse-history): Don't complain if the file is missing. | |
111 | ||
55262b16 SM |
112 | 2006-01-02 Stefan Monnier <monnier@iro.umontreal.ca> |
113 | ||
114 | * url-handlers.el (url-retrieve-synchronously): Don't autoload. | |
115 | ||
116 | * url.el (url-retrieve, url-retrieve-synchronously): Autoload. | |
117 | ||
118 | * url-cache.el: Require `url'. | |
119 | ||
d476efde SM |
120 | 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca> |
121 | ||
32d5ce4d SM |
122 | * url-cache.el (url-store-in-cache): Use save-current-buffer. |
123 | ||
d476efde SM |
124 | * url.el (url-configuration-directory): Don't autoload because the |
125 | default value needs to be computed at run-time, not dump-time. | |
126 | ||
32fa5844 SM |
127 | 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca> |
128 | ||
129 | * url-cookie.el (url-cookie-write-file): Create parent dir. | |
130 | ||
131 | * url.el (url-configuration-directory): Use ~/.emacs.d if possible. | |
132 | ||
0c069924 RS |
133 | 2005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change) |
134 | ||
135 | * url-cookie.el (url-cookie-save-interval): Simplify. | |
136 | (url-cookie-setup-save-timer): Simplify. | |
137 | ||
8553120c RS |
138 | 2005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change) |
139 | ||
140 | * url-history.el (url-history-list): Var deleted. | |
141 | (url-history-save-interval): Simplify. | |
142 | (url-history-setup-save-timer): Simplify. | |
143 | ||
b0ab1a06 KS |
144 | 2005-12-01 Kim F. Storm <storm@cua.dk> |
145 | ||
146 | * url-history.el (url-history-track): Fix last change. | |
147 | ||
1942d6cc RS |
148 | 2005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change) |
149 | ||
150 | * url-history.el (url-history-track): | |
151 | Call url-history-setup-save-timer in :set function. | |
152 | :type allows three alternatives. | |
153 | (url-history-setup-save-timer): Test url-history-track. | |
154 | * url.el (url-retrieve): Test url-history-track. | |
155 | ||
12f1edc8 SM |
156 | 2005-11-18 Stefan Monnier <monnier@iro.umontreal.ca> |
157 | ||
158 | * url-http.el: Use with-current-buffer. | |
159 | (url-http-target-url): Rename from url-http-cookies-sources. | |
160 | (url-http-parse-headers): Use it. | |
161 | (url-http-handle-authentication): Use subst-char-in-string. | |
162 | ||
77f05e24 SM |
163 | 2005-11-16 Juergen Hoetzel <emacs@hoetzel.info> (tiny change) |
164 | ||
165 | * url-handlers.el (url-insert-file-contents): Use the charset info | |
166 | provided by the HTTP server, if any. | |
167 | ||
ce13796f EZ |
168 | 2005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change) |
169 | ||
77f05e24 SM |
170 | * url-nfs.el (top level): |
171 | * url-handlers.el (directory-files): | |
ce13796f | 172 | * url-file.el (top level): |
77f05e24 | 173 | * url-dired.el (url-dired-minor-mode-map): |
ce13796f EZ |
174 | * url-http.el (url-http-chunked-encoding-after-change-function): |
175 | Remove XEmacs support. | |
176 | ||
a4684cb0 RS |
177 | 2005-10-15 Richard M. Stallman <rms@gnu.org> |
178 | ||
179 | * url.el: Don't try to autoload hash table functions. | |
180 | ||
1430e7f9 SM |
181 | 2005-10-03 Stefan Monnier <monnier@iro.umontreal.ca> |
182 | ||
183 | * url-http.el (url-http-create-request): Avoid incorrect implicit | |
184 | unibyte->multibyte conversion. | |
185 | ||
8ccd3630 RS |
186 | 2005-09-17 Richard M. Stallman <rms@gnu.org> |
187 | ||
188 | * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'. | |
189 | ||
190 | * url-mailto.el (url-mailto): Special case `mail'. | |
191 | Don't test fboundp of `compose-mail'. | |
192 | ||
b0742512 CY |
193 | 2005-09-15 Chong Yidong <cyd@stupidchicken.com> |
194 | ||
195 | * url-mailto.el (url-mailto): Delete mail buffer after sending | |
196 | autogenerated mail. | |
8ded3f47 | 197 | Call `compose-mail with `new' argument if possible. |
b0742512 | 198 | |
c8359e8f CY |
199 | 2005-09-13 Chong Yidong <cyd@stupidchicken.com> |
200 | ||
201 | * url-mailto.el (url-mailto): Always use a new mail buffer. | |
202 | ||
6fd388f3 CY |
203 | 2005-09-01 Chong Yidong <cyd@stupidchicken.com> |
204 | ||
205 | * url-util.el (url-parse-query-string): New optional argument | |
206 | allow-newlines allows decoding of newlines. | |
207 | ||
208 | * url-mailto.el (url-mailto): Allow newlines in URL arguments. | |
209 | Don't lose original "to" value when there is a "to" header. | |
210 | Remove carriage return characters in message body. | |
211 | ||
26d874b2 JB |
212 | 2005-08-24 Juanma Barranquero <lekktu@gmail.com> |
213 | ||
214 | * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream): | |
215 | * url-http.el (url-http-cookies-sources): Defvar at compile time. | |
216 | ||
dc524e8b RS |
217 | 2005-07-15 Richard M. Stallman <rms@gnu.org> |
218 | ||
219 | * url-http.el (url-http-parse-headers): Add :redirect arg-pair | |
220 | when calling url-retrieve, to indicate a redirect. | |
221 | ||
222 | * url.el (url-retrieve): The callback function can get an additional | |
223 | keyword arg pair. | |
224 | ||
a0ec7a4a LK |
225 | 2005-07-04 Lute Kamstra <lute@gnu.org> |
226 | ||
227 | Update FSF's address in GPL notices. | |
228 | ||
59fda2fa JB |
229 | 2005-07-04 Juanma Barranquero <lekktu@gmail.com> |
230 | ||
231 | * url-history.el (url-history-track): Doc fix. | |
232 | (url-history): Finish `defgroup' description with period. | |
233 | ||
234 | * url-cookie.el (url-cookie): | |
235 | * url-gw.el (url-gateway): | |
236 | * url-news.el (url-news): | |
237 | * url-vars.el (url, url-file, url-cache, url-mime, url-hairy): | |
238 | Finish `defgroup' description with period. | |
239 | ||
231add10 RS |
240 | 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change) |
241 | ||
242 | * url-http.el (url-http-create-request): Call url-recreate-url | |
243 | in proxy case. | |
244 | ||
e893ce91 RS |
245 | 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change) |
246 | ||
247 | * url-http.el (url-http-create-request): When computing real-fname, | |
248 | call url-filename in both cases. | |
249 | ||
250 | 2005-06-27 Richard M. Stallman <rms@gnu.org> | |
251 | ||
252 | * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART. | |
253 | (url-cookie-retrieve): Likewise. | |
254 | (url-cookie-generate-header-lines): Likewise. | |
255 | (url-cookie-handle-set-cookie): Likewise. | |
256 | (url-cookie-create): Expect :localpart instead of :path. | |
257 | (url-cookie-localpart): Renamed from url-cookie-path. | |
258 | (url-cookie-set-localpart): Renamed from url-cookie-set-path. | |
259 | (url-cookie-file): Doc fix. | |
260 | (url-cookie-p): Add doc string. | |
261 | ||
528b6abc RS |
262 | 2005-06-23 Richard M. Stallman <rms@gnu.org> |
263 | ||
264 | * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie. | |
265 | ||
23873c96 JB |
266 | 2005-06-21 Juanma Barranquero <lekktu@gmail.com> |
267 | ||
268 | * url-gw.el (url-open-stream): | |
269 | * url-vars.el (url-gateway-unplugged): Fix spellings. | |
270 | ||
0b46b379 JB |
271 | 2005-06-14 Juanma Barranquero <lekktu@gmail.com> |
272 | ||
273 | * url-history.el (url-completion-function): Follow error | |
274 | conventions. | |
275 | ||
175384d1 SM |
276 | 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca> |
277 | ||
278 | * url-file.el (url-file, url-file-asynch-callback): with-current-buffer. | |
279 | ||
7f954571 SM |
280 | 2005-06-10 Stefan Monnier <monnier@iro.umontreal.ca> |
281 | ||
0090e048 SM |
282 | * url-dav.el: Remove most autoload cookies. |
283 | Don't hook into the url-file-handler since it currently breaks all | |
284 | non-HTTP URLs. | |
285 | ||
7f954571 SM |
286 | * url-handlers.el (vc-registered): Explicitly disable VC for URL files. |
287 | ||
288 | * url.el (url-retrieve-synchronously): Don't exit precipitously when | |
289 | fetching a file via ange-ftp. | |
290 | ||
466c78c0 JB |
291 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
292 | ||
7f954571 | 293 | * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring. |
466c78c0 | 294 | |
93c8c9cd JB |
295 | 2005-05-19 Juanma Barranquero <lekktu@gmail.com> |
296 | ||
297 | * url-cookie.el (url-cookie-multiple-line): | |
298 | Specify group and type in defcustom. | |
299 | ||
216d3806 JB |
300 | 2005-05-06 Juanma Barranquero <lekktu@gmail.com> |
301 | ||
302 | * url-auth.el (url-register-auth-scheme): | |
303 | * url-cookie.el (url-cookie-expired-p): | |
304 | * url-dav.el (url-dav-process-date-property) | |
305 | (url-dav-process-boolean-property, url-dav-process-DAV:status): | |
306 | * url-http.el (url-http-chunked-encoding-after-change-function) | |
307 | (url-http-wait-for-headers-change-function): | |
308 | * url-ns.el (isInNet): | |
309 | * url-parse.el (url-generic-parse-url): | |
310 | * url-util.el (url-get-normalized-date): Replace `string-to-int' | |
311 | by `string-to-number'. | |
312 | ||
799fba8f SM |
313 | 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca> |
314 | ||
315 | * url.el (url-retrieve-synchronously): Work around the fact that | |
316 | url-http sometimes doesn't call the callback. | |
317 | ||
8c6ef2ca LK |
318 | 2005-04-04 Lute Kamstra <lute@gnu.org> |
319 | ||
320 | * url-handlers.el (url-handler-mode): Specify :group. | |
321 | ||
a6efc2c2 EZ |
322 | 2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change) |
323 | ||
324 | * url-history.el (url-have-visited-url): Don't barf if | |
325 | url-history-hash-table is nil. | |
326 | ||
134948fc RS |
327 | 2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu> |
328 | ||
329 | * url-http.el (url-http-parse-headers): Test url-automatic-caching. | |
330 | ||
1a8461d3 EZ |
331 | 2005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change) |
332 | ||
557724a8 EZ |
333 | * url-http.el (url-http-parse-headers) <302>: Reset url-http-data |
334 | to nil, like for the 303 response. | |
1a8461d3 | 335 | |
944b2ab6 SM |
336 | 2005-01-13 Stefan Monnier <monnier@iro.umontreal.ca> |
337 | ||
338 | * url.el (url-retrieve-synchronously): Use accept-process-output rather | |
339 | than sit-for. | |
340 | ||
e817f9a2 TTN |
341 | 2005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change) |
342 | ||
343 | * url-http.el (url-http-handle-authentication): | |
344 | Don't kill the current buffer. | |
345 | ||
5007cdc9 SM |
346 | 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca> |
347 | ||
348 | * url-handlers.el: Don't `require' everything eagerly. | |
349 | ||
cacfe88b AS |
350 | 2004-11-30 Paul Pogonyshev <pogonyshev@gmx.net> |
351 | ||
352 | * url-http.el (url-http-handle-cookies): Bind `url-current-object' | |
353 | to `url-http-cookies-sources' so that cookies are attributed to | |
354 | proper domain. | |
355 | (url-http): Make local variable `url-http-cookies-sources'. | |
356 | ||
dc1a0a7a AS |
357 | 2004-11-28 Andreas Schwab <schwab@suse.de> |
358 | ||
359 | * url-http.el (url-http-create-request): Don't add newline after | |
360 | the request data. | |
361 | ||
14e25c87 MY |
362 | 2004-11-20 Masatake YAMATO <jet@gyve.org> |
363 | ||
364 | * url.el (url-mm-callback): Delay the invocation | |
365 | of `mm-destroy-parts'. Invoke `mm-destroy-parts' | |
366 | when the buffer is killed. | |
367 | ||
de0234ea MY |
368 | 2004-11-12 Masatake YAMATO <jet@gyve.org> |
369 | ||
5007cdc9 | 370 | * url-mailto.el (url-mailto): Fix a typo in the comment. |
de0234ea | 371 | |
60b5eb78 MY |
372 | 2004-11-02 Masatake YAMATO <jet@gyve.org> |
373 | ||
374 | * url-imap.el (url-imap-open-host): Don't use | |
375 | `string-to-int'. The port returned by `url-port' | |
376 | is expected to be an integer. | |
377 | ||
378 | * url-irc.el (url-irc): Ditto. | |
379 | ||
380 | * url-news.el (url-news-open-host): Ditto. | |
381 | ||
382 | * url-nfs.el (url-nfs-build-filename): Ditto. | |
383 | ||
ed87225a JPW |
384 | 2004-10-20 John Paul Wallington <jpw@gnu.org> |
385 | ||
386 | * url-gw.el (url-gateway-nslookup-host): | |
387 | Use `set-process-query-on-exit-flag'. | |
388 | ||
2a6c7fe5 LH |
389 | 2004-10-10 Lars Hansen <larsh@math.ku.dk> |
390 | ||
391 | * url-auth.el: Update header and footer. | |
392 | ||
393 | * url-cache.el: Update header and footer. | |
394 | ||
395 | * url-cid.el: Update header and footer. | |
396 | ||
397 | * url-dired.el: Update header and footer. | |
398 | ||
399 | * url-expand.el: Update header and footer. | |
400 | ||
401 | * url-ftp.el: Update header and footer. | |
402 | ||
403 | * url-gw.el: Update header and footer. | |
404 | ||
405 | * url-imap.el: Update header and footer. | |
406 | ||
407 | * url-irc.el: Update header and footer. | |
408 | ||
409 | * url-misc.el: Update header and footer. | |
410 | ||
411 | * url-news.el: Update header and footer. | |
412 | ||
413 | * url-ns.el: Update header and footer. | |
414 | ||
415 | * url-privacy.el: Update header and footer. | |
416 | ||
417 | * url-proxy.el: Update header and footer. | |
418 | ||
419 | * url-vars.el: Update header. | |
420 | ||
c2e2ede7 RS |
421 | 2004-10-16 Richard M. Stallman <rms@gnu.org> |
422 | ||
423 | * url.el (url-do-setup): Don't set url-passwd-entry-func. | |
424 | ||
425 | * url-vars.el (url-passwd-entry-func): Var deleted. | |
426 | (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus. | |
5007cdc9 SM |
427 | (url-weekday-alist): Rename from weekday-alist. |
428 | (url-monthabbrev-alist): Rename from monthabbrev-alist. | |
c2e2ede7 RS |
429 | (url-vars-unload-hook): Initialize hook var to hold the function. |
430 | ||
5007cdc9 SM |
431 | * url-util.el (url-get-normalized-date): Use url-weekday-alist and |
432 | url-monthabbrev-alist. | |
c2e2ede7 RS |
433 | |
434 | * url-misc.el: Load cl at compile time. | |
435 | ||
436 | * url-mailto.el: Don't load cl. | |
437 | (url-mailto): Fix call to `push'. | |
438 | ||
439 | * url-gw.el (url-open-telnet): Use read-passwd. | |
440 | ||
441 | * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd. | |
442 | ||
3bb53a84 SJ |
443 | 2004-10-12 Simon Josefsson <jas@extundo.com> |
444 | ||
445 | * url-vars.el (url-gateway-method): Add new method `tls'. | |
446 | ||
447 | * url-news.el (url-snews): Use nntp-open-tls-stream if | |
448 | url-gateway-method is tls. | |
449 | ||
5007cdc9 SM |
450 | * url-ldap.el (url-ldap-certificate-formatter): |
451 | Use tls-certificate-information if ssl.el is not available. | |
3bb53a84 SJ |
452 | |
453 | * url-https.el (url-https-create-secure-wrapper): Use tls if ssl | |
454 | is not available. | |
455 | ||
456 | * url-gw.el (url-open-stream): Support tls url-gateway-method. | |
457 | (url-open-stream): Likewise. | |
458 | ||
df41da5e LH |
459 | 2004-10-10 Lars Hansen <larsh@math.ku.dk> |
460 | ||
461 | * url-auth.el: Fix copyright notice. | |
462 | ||
463 | * url-cache.el: Fix copyright notice. | |
464 | ||
465 | * url-cookie.el: Fix copyright notice. | |
466 | ||
467 | * url-dired.el: Fix copyright notice. | |
468 | ||
469 | * url-file.el: Fix copyright notice. | |
470 | ||
471 | * url-ftp.el: Fix copyright notice. | |
472 | ||
473 | * url-handlers.el: Fix copyright notice. | |
474 | ||
475 | * url-history.el: Fix copyright notice. | |
476 | ||
477 | * url-irc.el: Fix copyright notice. | |
478 | ||
479 | * url-mailto.el: Fix copyright notice. | |
480 | ||
481 | * url-methods.el: Fix copyright notice. | |
482 | ||
483 | * url-misc.el: Fix copyright notice. | |
484 | ||
485 | * url-news.el: Fix copyright notice. | |
486 | ||
487 | * url-nfs.el: Fix copyright notice. | |
488 | ||
489 | * url-parse.el: Fix copyright notice. | |
490 | ||
491 | * url-privacy.el: Fix copyright notice. | |
492 | ||
493 | * url-vars.el: Fix copyright notice. | |
494 | ||
495 | * url.el: Fix copyright notice. | |
496 | ||
497 | * url-util.el: Fix copyright notice. | |
498 | ||
ccd59305 SM |
499 | 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca> |
500 | ||
501 | * url-handlers.el (url-insert-file-contents): Use the URL to decide the | |
502 | encoding, not the buffer-file-name (which might not even exist). | |
503 | ||
d4fdad60 SM |
504 | 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca> |
505 | ||
506 | * url-handlers.el (url-insert-file-contents): Decode contents. | |
507 | ||
10a6e6ba SM |
508 | 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca> |
509 | ||
510 | * url-util.el (url-debug): Use with-current-buffer. | |
511 | ||
512 | * url-nfs.el (url-nfs-file-attributes): Add id-format parameter. | |
513 | (url-nfs-create-wrapper): Use new backquote syntax. | |
514 | ||
515 | * url-https.el (url-https-file-attributes): Add id-format param. | |
516 | ||
517 | * url-http.el (url-http-head-file-attributes) | |
518 | (url-http-file-attributes): Add id-format parameter. | |
519 | ||
520 | * url-handlers.el: Use new find-file-hook. | |
521 | (url-file-attributes): Add id-format parameter. | |
522 | ||
523 | * url-file.el (url-file-create-wrapper): Use new backquote syntax. | |
524 | (url-file-file-attributes): Add id-format parameter. | |
525 | ||
526 | * url-dav.el: Use with-current-buffer. | |
527 | (url-dav-process-response): Fix regexps and spurious quote. | |
528 | (url-dav-file-attributes): Add id-format param. | |
529 | ||
530 | 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
531 | ||
532 | * url.el (url-retrieve): Use with-current-buffer. | |
533 | ||
534 | * url-http.el (url-http-parse-headers, url-http-file-exists-p): | |
535 | Remove unused var `version'. | |
536 | ||
537 | * url-handlers.el (url-handler-mode): New minor mode. | |
538 | (url-setup-file-name-handlers): Remove. | |
539 | ||
540 | 2004-04-12 John Paul Wallington <jpw@gnu.org> | |
541 | ||
542 | * url-cookie.el (url-cookie-handle-set-cookie): Replace calls | |
543 | to obsolete `assoc-ignore-case' with calls to `assoc-string'. | |
544 | ||
545 | 2004-04-11 Dave Love <fx@gnu.org> | |
546 | ||
547 | * url-mailto.el (url-mailto): | |
548 | * url-history.el (url-history-setup-save-timer): | |
549 | * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings. | |
550 | ||
551 | * url-file.el (url-file-build-filename): Don't use | |
552 | directory-sep-char. | |
553 | ||
554 | * url-auth.el (url-register-auth-scheme): Fix `format' call. | |
555 | ||
556 | * url-about.el (url-scheme-registry): Defvar. | |
557 | (url-about): Use text/plain. | |
558 | ||
559 | * url-vars.el (cl): Don't require. | |
560 | (url): Add :version. | |
561 | (url-bug-address): Use bug-gnu-emacs. | |
562 | ||
563 | * url-util.el (url-hexify-string): Don't give multibyte error | |
564 | for char <16. | |
565 | (mail-header-extract): Autoload. | |
566 | ||
567 | * url-parse.el: Doc fixes. | |
568 | ||
569 | * url-ldap.el (ldap): Require. | |
570 | (url-ldap): Fix `format' call. | |
571 | (url-ldap-certificate-formatter): Avoid warning. | |
572 | ||
4dfde3dd | 573 | * url-https.el (url-https-create-secure-wrapper): Use modern backquotes. |
10a6e6ba SM |
574 | |
575 | * url-dav.el (url-dav-rename-file): Fix args of `signal'. | |
576 | (url-intersection): New. | |
577 | (url-dav-supported-p): Use it. | |
578 | (url-dav-save-resource): Declare url-http-response-status special. | |
579 | ||
580 | * url-cache.el (url-util): Require. | |
581 | ||
582 | 2004-04-10 Miles Bader <miles@gnu.org> | |
583 | ||
584 | RCS keyword removal (only non-comment changes are enumerated here): | |
585 | ||
586 | * url-vars.el (url-version): Use the constant string "Emacs" | |
587 | instead of calculating something from the RCS `State' keyword | |
588 | [the latter is almost entirely useless anyway]. | |
589 | ||
590 | 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca> | |
591 | ||
592 | * url-methods.el: | |
593 | * url-parse.el: Don't require url-auto. | |
594 | ||
595 | 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca> | |
596 | ||
597 | * url: Imported the URL package from its own CVS repository into Emacs. | |
598 | ||
599 | =========================================================================== | |
600 | =========================================================================== | |
601 | Copy of the ChangeLog file from URL's own CVS repository: | |
602 | =========================================================================== | |
603 | =========================================================================== | |
604 | ||
605 | 2003-07-16 Dave Love <fx@gnu.org> | |
606 | ||
607 | * lisp/url.el (url-retrieve-synchronously): Revert last change. | |
608 | Should be revisited. | |
609 | ||
610 | 2003-06-26 Sam Steingold <sds@gnu.org> | |
611 | ||
612 | * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call | |
613 | method on invalid urls. | |
614 | ||
615 | 2003-05-29 Dave Love <fx@gnu.org> | |
616 | ||
617 | * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not | |
618 | sit-for. From monnier@gnu.org. | |
619 | ||
620 | 2002-11-04 Walter C. Pelissero <walter@pelissero.org> | |
621 | ||
4dfde3dd SM |
622 | * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert |
623 | port numbers to integers when creating the URL objects for proxies. | |
10a6e6ba SM |
624 | |
625 | 2002-10-29 William M. Perry <wmperry@gnu.org> | |
626 | ||
627 | * lisp/url-http.el (url-http-parse-headers): When doing a | |
628 | redirect, some broken software (sourceforge) sends a redirect to | |
629 | '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1 | |
630 | specification). I wish we could deal with such lame software | |
631 | appropriately (spank the authors), but this is the web, so we have | |
632 | to kow-tow to the servers. | |
633 | ||
634 | 2002-10-27 William M. Perry <wmperry@gnu.org> | |
635 | ||
636 | * lisp/url-http.el (url-http-create-request): If we are talking to | |
637 | the default port for a the selected protocol, do NOT send the port | |
638 | in the HOST header. This fixes the login page at sourceforge. | |
639 | ||
640 | 2002-09-17 William M. Perry <wmperry@gnu.org> | |
641 | ||
642 | * lisp/url-http.el (url-http-handle-cookies): New function to deal | |
643 | with cookie headers. | |
644 | (url-http-parse-headers): Call `url-http-handle-cookies' here so | |
4dfde3dd SM |
645 | that cookie additions and deletions get handled immediately. |
646 | This is so that sites that set cookies while doing redirects | |
10a6e6ba SM |
647 | (my.yahoo.com, outlook web access, etc) work. This should also |
648 | fix sites that delete cookies on invalid access or other error | |
649 | pages the user might not actually see. | |
650 | (url-http-parse-headers): Silently convert non-HEAD and non-GET | |
651 | methods to GET in redirects. Too many web sites do this now, and | |
652 | it is just likely to confuse users. | |
653 | ||
654 | 2002-05-17 Dave Love <fx@gnu.org> | |
655 | ||
656 | * texi/url.txi: Start making it vaguely useful. | |
657 | ||
658 | * texi/Makefile.in (install): Cope with Debian install-info. | |
659 | From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann). | |
660 | ||
661 | 2002-04-22 Dave Love <fx@gnu.org> | |
662 | ||
663 | * lisp/url-misc.el (man): Autoload to avoid warning. | |
664 | (url-man): Don't require man here. | |
665 | (url-data): Generalize in line with the RFC. | |
666 | ||
667 | * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case. | |
668 | ||
669 | * lisp/url-vars.el: Doc fixes. | |
670 | (url-mime-charset-string): New function. | |
671 | (url-mime-charset-string): Use it to set the variable. | |
672 | (url-set-mime-charset-string): New function. | |
673 | (set-language-environment-hook): Use it. | |
674 | (url-vars-unload-hook): New function. | |
675 | ||
4dfde3dd SM |
676 | * lisp/url-cookie.el (url-header-comparison): Delete. |
677 | (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*. | |
10a6e6ba SM |
678 | (url-cookie-save-interval): Make value agree with doc. |
679 | ||
680 | * lisp/url.el: Doc fixes. | |
681 | (url-mm-callback): Don't call mm-destroy-parts immediately for | |
682 | external viewing -- set up a process sentinel. | |
683 | ||
684 | 2002-02-02 William M. Perry <wmperry@gnu.org> | |
685 | ||
4dfde3dd | 686 | * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules. |
10a6e6ba SM |
687 | |
688 | 2001-12-12 William M. Perry <wmperry@gnu.org> | |
689 | ||
690 | * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan | |
691 | Monnier to use ` instead of ^ to match the relative link. | |
692 | ||
693 | 2001-12-10 William M. Perry <wmperry@gnu.org> | |
694 | ||
695 | * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to | |
696 | plist-get (reversed args). | |
697 | ||
698 | * lisp/url-file.el (url-file-build-filename): Make sure that we | |
699 | have a parsed URL in this function. | |
700 | ||
701 | 2002-01-22 Dave Love <fx@gnu.org> | |
702 | ||
703 | * lisp/url-cache.el (url-cache-file-writable-p): Doc fix. | |
704 | ||
4dfde3dd SM |
705 | * lisp/url-imap.el (url-imap): Maybe disable multibyte. |
706 | Bind coding-system-for-read. Require mm-util. | |
10a6e6ba SM |
707 | |
708 | * lisp/url.el (url-do-setup): Use (featurep 'xemacs). | |
709 | ||
710 | * lisp/mule-sysdp.el: Removed (obsolete). | |
711 | ||
712 | 2001-12-09 William M. Perry <wmperry@gnu.org> | |
713 | ||
714 | * lisp/url-dav.el (url-dav-delete-something): Utility macro to | |
715 | remove an arbitrary resource. | |
716 | (url-dav-delete-directory): Use it. | |
717 | (url-dav-delete-file): Ditto. | |
718 | (url-dav-make-directory): New function. | |
719 | (url-dav-rename-file): New function. | |
720 | (url-dav-register-handler): New function to easily register a | |
721 | WebDAV-specific file-name-handler operation. | |
722 | (url-dav-file-name-all-completions, url-dav-file-name-completion): | |
4dfde3dd | 723 | New functions that allow file-name completion for WebDAV resources. |
10a6e6ba SM |
724 | |
725 | 2001-12-08 William M. Perry <wmperry@gnu.org> | |
726 | ||
727 | * lisp/url-dav.el (url-dav-directory-files): New function to | |
728 | mimic `directory-files' for WebDAV. | |
729 | (url-dav-delete-directory): New function to mimic | |
730 | `delete-directory' for WebDAV. | |
731 | ||
732 | 2001-12-06 William M. Perry <wmperry@gnu.org> | |
733 | ||
734 | * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the | |
735 | DAV:locktoken hrefs into a usable format. | |
736 | (url-dav-process-response): Use an unwind-protect to make sure | |
737 | that we clean up the buffer, even if there is a parsing error. | |
738 | (url-dav-request): New function to act as the main entry point for | |
739 | making DAV requests. Takes care of building the XML document with | |
740 | appropriate namespaces, depth, etc, and parses the results. | |
4dfde3dd SM |
741 | (url-dav-get-properties): Use new url-dav-request function. |
742 | This is now just a thin wrapper around that to use PROPFIND and set any | |
10a6e6ba SM |
743 | extra properties we are looking for. |
744 | (url-dav-unlock-resource): New function to release a lock given a | |
745 | URL and a lock-token. | |
746 | (url-dav-process-DAV:getlastmodified) | |
747 | (url-dav-process-DAV:creationdate) | |
748 | (url-dav-process-DAV:iscollection) | |
749 | (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not | |
750 | url-dave-*! | |
751 | (url-dav-active-locks): New function to get a list of all the | |
752 | active locks for a resource. | |
753 | (url-dav-save-resource): New function to actually save a resource | |
754 | using the PUT method. I can now successfully save files to an | |
4dfde3dd | 755 | HTTP server with some manual steps from a lisp-interaction buffer. |
10a6e6ba SM |
756 | |
757 | * lisp/url-http.el (url-http-wait-for-headers-change-function): | |
758 | Special case the 204/205 response codes. Some servers do not | |
759 | send back a 0 content-length for these, and we would hang. | |
760 | (url-http-parse-headers): Mark 204/205 response codes as | |
761 | 'successful' so that the callbacks get activated. | |
762 | (url-http-options): Fix unbound variable usage. | |
763 | ||
764 | * lisp/url-dav.el: Added full copyright information. | |
765 | (url-dav-process-response): Make sure that we create a DAV:status | |
766 | property when parsing a singleton response. | |
767 | (url-dav-file-attributes): If the properties returned did not have | |
768 | a succesful HTTP response code, then ignore them and use the | |
769 | HEAD-based attributes. | |
770 | ||
771 | * lisp/vc-dav.el: Added full copyright information. | |
772 | ||
4dfde3dd SM |
773 | * lisp/url-dav.el (url-dav-process-supportedlock-property): |
774 | Deal with text nodes in DAV:supportedlock nodes. | |
10a6e6ba SM |
775 | (url-dav-file-attributes-mode-string): This now gets the entire |
776 | property list instead of just the DAV:supportedlock node. | |
777 | (url-dav-file-attributes): Make sure to pass the whole list in. | |
4dfde3dd | 778 | (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode. |
10a6e6ba SM |
779 | (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav |
780 | 'executable' bit to set the 'x' mode. See `mod_dav's custom | |
781 | properties' at http://www.webdav.org/mod_dav/ for more details. | |
782 | (url-dav-find-parser): New function to find the proper parser for | |
783 | a node-type. Looks for | |
784 | url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls | |
785 | back to using url-dav-node-text. Caches the results on the nodes | |
786 | symbol name. | |
4dfde3dd SM |
787 | (url-dav-dispatch-node): Utility routine to call a nodes handler easily. |
788 | (url-dav-process-*): Rename most of the handlers and made them | |
10a6e6ba SM |
789 | use url-dav-dispatch-node where appropriate. |
790 | (url-dav-process-DAV:prop): Instead of using the dav-data-type | |
791 | property to dispatch the node, now uses dav-dispatch-node so that | |
792 | it is easy to add parsers for special nodes. | |
793 | (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype) | |
794 | (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope) | |
795 | (url-dav-process-DAV:getcontentlength) | |
796 | (url-dave-process-DAV:getlastmodified) | |
797 | (url-dave-process-DAV:creationdate) | |
798 | (url-dave-process-DAV:iscollection) | |
799 | (url-dave-process-DAV:ishidden): Aliases for the generic | |
800 | url-dav-process-foo-property routines. | |
801 | (url-dav-process-DAV:activelock) | |
802 | (url-dav-process-DAV:lockdiscovery): Can now correctly parse | |
803 | DAV:lockdiscovery nodes, so that we can find out who has a | |
804 | resource locked and properly parse the reponse to a LOCK request. | |
805 | (url-dav-process-DAV:status): Now parses ou the numeric status | |
806 | from the HTTP response line. | |
807 | (url-dav-process-response): New function to handle all the | |
808 | parsing of an XML response from WebDAV. This handles all the | |
809 | logic of checking the response content-type to make sure it is | |
810 | XML, parses the tree, and interprets the tree. | |
811 | (url-dav-process-response): Make sure that all responses look | |
812 | like a DAV:multistatus response, even if we get a singleton | |
4dfde3dd | 813 | response back. This will just make the upper layer logic simpler. |
10a6e6ba SM |
814 | (url-dav-get-properties): New optional argument NAMESPACES that |
815 | specifies what namespaces to use in the XML request. | |
816 | (url-dav-get-properties): Got rid of the D: namespace in | |
817 | requests. It doesn't save that much space. Just use DAV: | |
818 | (url-dav-lock-identifier): New variable that should hold a URI | |
819 | pointing to contact information for the user. This will be used | |
820 | as the contents of the DAV:owner/DAV:href tag to identify the | |
821 | owner of a LOCK when requesting it. This will be shown to other | |
822 | users when the DAV:lockdiscovery property is requested, so make | |
823 | sure you are comfortable with it leaking to the outside world. | |
824 | (url-dav-lock-resource): New function to LOCK a dav resource. | |
825 | ||
826 | 2001-12-05 William M. Perry <wmperry@gnu.org> | |
827 | ||
828 | * lisp/url-dav.el (url-dav-get-properties): New argument | |
829 | ATTRIBUTES that allows you to ask for specific properties instead | |
830 | of getting all properties via DAV:allprop. | |
831 | ||
4dfde3dd SM |
832 | * lisp/url-http.el (url-http-real-basic-auth-storage): |
833 | New variable for normal HTTP basic authentication. | |
10a6e6ba SM |
834 | (url-http-proxy-basic-auth-storage): New variable for HTTP proxy |
835 | basic authentication. | |
836 | (url-http-handle-authentication): Follow new semantics for | |
837 | url-basic-auth-storage. | |
838 | ||
4dfde3dd | 839 | * lisp/url-auth.el (url-basic-auth-storage): Change meaning of |
10a6e6ba SM |
840 | this variable. It is now a symbol pointing to where we really |
841 | want to store the authorization information. This fixes proxy | |
4dfde3dd SM |
842 | auth and normal basic auth because of some local bindings that were |
843 | making it impossible to store the credentials in the global binding. | |
10a6e6ba SM |
844 | (url-basic-auth): Make sure we dereference url-basic-auth-storage |
845 | everywhere. | |
846 | ||
4dfde3dd | 847 | * lisp/url-util.el (url-debug): Add new types 'dav and |
10a6e6ba SM |
848 | 'retrieval to the customization list. |
849 | ||
850 | * lisp/url.el (url-retrieve-synchronously): Put in some debugging | |
851 | statements. | |
852 | ||
4dfde3dd | 853 | * lisp/url-http.el (url-http-head-file-attributes): Rename old |
10a6e6ba SM |
854 | url-http-file-attributes so that we can have a smarter one that |
855 | tries WebDAV first, then HEAD. | |
4dfde3dd | 856 | (url-http-file-attributes): New smart version that tries WebDAV first. |
10a6e6ba SM |
857 | (url-http-options): New function that returns information gleaned |
858 | from an OPTIONS request for a URL. Returns a property list | |
859 | returning the methods supported for the resource, what DAV and | |
860 | DASL levels are supported, p3p information, and whether | |
861 | byte-ranges are supported or not. | |
862 | (url-http-wait-for-headers-change-function): If we got a 0-byte | |
863 | content-length, activate the callback immediately. | |
864 | (url-http-wait-for-headers-change-function): For content-length | |
865 | responses with actual body-data in the chunk we are handling, call | |
866 | url-http-content-length-after-change-function with the remaining | |
867 | data. Otherwise we can deadlock if the headers and the entire | |
868 | body exist arrive in one chunk. | |
869 | ||
870 | * lisp/url-dav.el: New file to contain the WebDAV | |
871 | (http://www.webdav.org/) implementation. | |
872 | (url-dav-supported-p): Cheap way to figure out whether we will be | |
873 | able to do DAV at all. We rely on the XML parser expanding | |
874 | namespaces for us, and currently you need a patched version of | |
875 | xml.el to do this. Patch sent to author for consideration. | |
876 | (url-dav-file-attributes): Much more complete version of | |
877 | `file-attributes' using the WebDAV PROPFIND method. Now correctly | |
878 | finds out whether something is a directory (a WebDAV collection), | |
879 | the last modification time, and permissions (based on the | |
880 | DAV:supportedlock information). | |
881 | (url-dav-get-properties): Generic interface to get WebDAV | |
882 | properties for a URL. Can specify an optional `depth' parameter | |
883 | to tell the web server how many directory (collection) levels to | |
884 | recurse when retrieving the property lists. Returns an assoc | |
4dfde3dd | 885 | list keyed off of the resource, the cdr of which is a property list. |
10a6e6ba SM |
886 | (url-dav-datatype-attribute): We support the XML-Data note |
887 | (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the | |
888 | datatypes of attributes are. Currently only date, dateTime, int, | |
889 | number, float, boolean, and uri are supported. | |
890 | ||
891 | 2001-12-04 William M. Perry <wmperry@gnu.org> | |
892 | ||
893 | * lisp/url-handlers.el (file-name-absolute-p): New hooked | |
894 | version. If the filename matches our regexp, then it is always | |
895 | absolute, so just return `t'. | |
896 | (expand-file-name): New hooked version. If the fragment is an | |
897 | absolute file or URL, then expand it relative to '/'. | |
898 | (url-handler-regexp): New regexp for specific schemes that we | |
899 | want the file-name-handlers to work off of. | |
4dfde3dd | 900 | (url-setup-file-name-handlers): Use it when installing the handlers. |
10a6e6ba SM |
901 | |
902 | * lisp/url-http.el (url-http-find-free-connection): Better logging | |
903 | about whether we are reusing an existing connection or not. | |
904 | ||
4dfde3dd | 905 | * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call |
10a6e6ba SM |
906 | to string-match instead of match-string (and with reversed |
907 | arguments even). | |
908 | ||
4dfde3dd | 909 | * lisp/url-http.el (url-http-debug): Change to now use the |
10a6e6ba SM |
910 | generic url-debug function to do the actual logging. Still a |
911 | separate function so that we can do our magic on the network | |
912 | connection if the user quits while we are downloading. | |
913 | ||
914 | * lisp/url-handlers.el (url-file-handler): Now logs the result of | |
915 | the hooked or real call. | |
916 | ||
4dfde3dd | 917 | * lisp/url-util.el (url-debug): New function for generic debug logging. |
10a6e6ba SM |
918 | |
919 | 2001-11-28 William M. Perry <wmperry@gnu.org> | |
920 | ||
921 | * lisp/url-imap.el (url-imap-open-host): Use backquote. | |
922 | (url-imap): Now switches to 'login as the imap authenticator if | |
923 | the URL provides a username and password. | |
924 | ||
925 | * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl & | |
926 | push to replace some strange logic in here. | |
927 | (url-run-real-handler): New function to run the real hooks in | |
928 | case we get a false positive or an operation that we do not | |
929 | support. The old way disabled _ALL_ file-name-handlers when | |
930 | we hit something we didn't understand - this disables JUST us. | |
4dfde3dd | 931 | (url-file-handler): Remove the logic about removing the leading |
10a6e6ba SM |
932 | '/' off of the first argument... it may not be safe to always |
933 | assume that the first argument is the one we are acting on - | |
4dfde3dd | 934 | `default' is the second argument for expand-file-name for example. |
10a6e6ba SM |
935 | (url-setup-file-name-handlers): Use url-nonrelative-link |
936 | directly. This means that you must type in the URL directly | |
937 | without prefixing it with a '/'. | |
938 | ||
939 | (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel") | |
940 | ||
941 | Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...) | |
942 | which activates us (because 'nnml+mail' _is_ a valid scheme name | |
943 | for a URI). We get thoroughly confused and end up returning | |
944 | `nil' when we shouldn't. | |
945 | ||
946 | 2001-11-26 William M. Perry <wmperry@gnu.org> | |
947 | ||
948 | * lisp/url-handlers.el (file-writable-p): Add NULL handler for | |
949 | this so that visiting a URL directly will work. | |
950 | (file-symlink-p): Ditto. | |
951 | (url-insert-file-contents): If `visit' is non-nil then make sure | |
952 | we set buffer-file-name. After these changes you can visit | |
953 | http://www.gnu.org/ directly from the minibuffer. | |
954 | (url-insert-file-contents): When inserting the file contents, | |
955 | use a save-excursion so that we behave just like the original. | |
956 | ||
957 | 2001-11-25 William M. Perry <wmperry@gnu.org> | |
958 | ||
4dfde3dd | 959 | * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat. |
10a6e6ba SM |
960 | |
961 | 2001-11-24 William M. Perry <wmperry@gnu.org> | |
962 | ||
963 | * lisp/url-about.el (url-about): New loader scheme to handle | |
964 | about:foo URLs. Automatically tries to find a `url-about-foo' | |
965 | function to display the actual data. | |
966 | (url-about-protocols): Implement about:protocols | |
967 | ||
968 | * lisp/url-http.el (url-http): Make sure that we signal an error | |
969 | when we cannot open a network connection for whatever reason. | |
970 | Before, it would just silently clean up after itself and the user | |
971 | got absolutely no indication that an error had occured. If the | |
972 | error should truly be ignored, the caller should do that for us. | |
973 | (url-http-chunked-encoding-after-change-function): Doh! Need to | |
974 | user marker-position in some log messages now that | |
975 | url-http-chunked-start is a marker. | |
976 | ||
977 | 2001-11-22 William M. Perry <wmperry@gnu.org> | |
978 | ||
979 | * lisp/url-https.el: Fixed definition of url-https - was using the | |
980 | wrong signature. Too much cut & paste. | |
4dfde3dd | 981 | (url-https-create-secure-wrapper): Fix so that url-https works |
10a6e6ba | 982 | at all. Was not taking a null `method' into account when calling |
4dfde3dd | 983 | the wrapped function so url-https tried to call url-http-nil. *sigh* |
10a6e6ba SM |
984 | |
985 | * lisp/url-http.el | |
4dfde3dd | 986 | (url-http-chunked-encoding-after-change-function): Add some |
10a6e6ba SM |
987 | feedback when not debugging about what content-type and chunk # we |
988 | are reading. | |
989 | (url-http-chunked-encoding-after-change-function): Use a marker | |
990 | for url-http-chunked-start so that we can safely delete the | |
991 | chunk-tokens instead of just marking them as invisible. | |
992 | (url-http-chunked-encoding-after-change-function): Actually delete | |
993 | the chunk-tokens. Now that we are not run from 'real' | |
994 | after-change functions, this is safe, and the right thing to do. | |
995 | Otherwise the HTML parser still saw them and inferred all sorts of | |
996 | bad things about the document (ie: nothing had a title!) | |
997 | ||
998 | 2001-11-21 William M. Perry <wmperry@gnu.org> | |
999 | ||
1000 | * lisp/url-http.el (url-http-debug): Document this variable. | |
1001 | People other than I might want to use it. | |
1002 | (url-http-debug): Put some code in here to check quit-flag | |
1003 | directly. When the chunked encoding went into a tight spin, your | |
1004 | Emacs would be wedged forever. This short-circuits all the | |
1005 | after-change functions and signals an error. | |
1006 | (url-http-debug): If url-http-debug is non-nil and non-t, then log | |
1007 | the debug messages using `message' as well as sending them to the | |
1008 | buffer. | |
1009 | (url-http-chunked-encoding-after-change-function): Got rid of the | |
1010 | no-initial-crlf. Had an epiphany and I can just infer this from | |
1011 | url-http-chunked-counter being 0. | |
4dfde3dd | 1012 | (url-http-chunked-encoding-after-change-function): Move the debug |
10a6e6ba SM |
1013 | statement about reading chunk #foo into the loop so that each |
1014 | chunk will have a log message associated with it. | |
1015 | (url-http-chunked-encoding-after-change-function): Make sure to | |
1016 | set read-next-chunk to nil when the regular expression match fails | |
1017 | to fire. Otherwise we could loop forever. | |
4dfde3dd SM |
1018 | (url-http-chunked-encoding-after-change-function): Tweak the |
1019 | regular expression to be a little less greedy when looking for a chunk. | |
10a6e6ba SM |
1020 | (url-http-wait-for-headers-change-function): Remove the last |
1021 | argument when calling | |
1022 | url-http-chunked-encoding-after-change-function. It is no longer | |
1023 | needed. I should use my brain sometime. | |
1024 | ||
4dfde3dd | 1025 | * lisp/url-vars.el (and): Fix feature test for xemacs and |
10a6e6ba SM |
1026 | coding-system-list behaviour. |
1027 | ||
1028 | * lisp/url-http.el | |
4dfde3dd SM |
1029 | (url-http-chunked-encoding-after-change-function): Add optional |
1030 | no-initial-crlf flag that modifies the regular expression. | |
1031 | This is only set from url-http-wait-for-headers-change-function so that | |
10a6e6ba | 1032 | the initial CRLF in the HTTP headers is not swallowed. |
4dfde3dd | 1033 | (url-http-chunked-encoding-after-change-function): Fix a few |
10a6e6ba | 1034 | off-by-one errors by using (match-end 0) instead of 1. |
4dfde3dd | 1035 | (url-http-chunked-encoding-after-change-function): Add a few |
10a6e6ba SM |
1036 | url-http-debug calls to help track down problems in the chunked |
1037 | encoding. | |
1038 | (url-http-chunked-encoding-after-change-function): The chunk | |
1039 | reading in here is now in a while loop so that if Emacs feeds us a | |
1040 | chunk of data that happens to contain more than one 'chunk' | |
1041 | delimiter, we behave correctly. | |
1042 | (url-http-wait-for-headers-change-function): Make sure that we | |
1043 | pass no-initial-crlf to | |
1044 | url-http-chunked-encoding-after-change-function when passing | |
1045 | initial data to the decoder. | |
1046 | (url-http-generic-filter): url-http-debug statement so we can tell | |
1047 | when/where our after-change-functions are being called. | |
1048 | ||
1049 | 2001-10-11 Dave Love <fx@gnu.org> | |
1050 | ||
1051 | * lisp/url-handlers.el: Doc fixes. | |
1052 | (string-match): Use (featurep 'xemacs). | |
1053 | ||
1054 | * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'. | |
1055 | ||
1056 | * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'. | |
1057 | ||
1058 | * lisp/url-vars.el (url-running-xemacs): Delete. | |
1059 | (url-gateway-unplugged): New variable. | |
1060 | ||
1061 | * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged. | |
1062 | Comment out OS/2 stuff. | |
1063 | ||
1064 | 2001-10-05 Dave Love <fx@gnu.org> | |
1065 | ||
1066 | * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail | |
1067 | without confirmation. | |
1068 | ||
1069 | 2001-10-02 Dave Love <fx@gnu.org> | |
1070 | ||
1071 | * lisp/url-http.el (url-http-create-request): Check cache for | |
1072 | proxy-obj, if defined, rather than url. | |
1073 | (url-http): Use dolist, not mapc (runtime cl dependency). | |
1074 | ||
1075 | * lisp/url-methods.el: Maybe require cl at runtime. | |
4dfde3dd SM |
1076 | (url-scheme-register-proxy): Fix fetching from environment. |
1077 | Don't concat a number. | |
10a6e6ba SM |
1078 | |
1079 | 2001-10-01 Dave Love <fx@gnu.org> | |
1080 | ||
1081 | * lisp/url-parse.el: Use modern backquote syntax. | |
1082 | ||
1083 | * lisp/url-vars.el (url-uncompressor-alist): Add bzip2. | |
1084 | (url-mail-command): Prefer compose-mail. | |
1085 | (tcp-binary-process-input-services): Comment out. | |
1086 | (url-working-buffer): New constant. | |
1087 | ||
1088 | * lisp/url-util.el (url-extract-mime-headers): New function. | |
1089 | ||
1090 | * lisp/url-mailto.el (url-mailto): Set source-url. Don't add | |
1091 | User-Agent. | |
1092 | ||
1093 | 2001-09-20 Dave Love <fx@gnu.org> | |
1094 | ||
4dfde3dd | 1095 | * lisp/url-http.el (url-http-create-request): Don't concat a number. |
10a6e6ba SM |
1096 | |
1097 | 2001-06-05 Dave Love <fx@gnu.org> | |
1098 | ||
1099 | * lisp/url.el (url-do-setup): Doc fix. Don't try to frob | |
4dfde3dd | 1100 | tcp-binary-process-input-services. Remove function wrapper for lambda. |
10a6e6ba SM |
1101 | (url-retrieve): Barf with sensible message if url-type is null. |
1102 | ||
1103 | * lisp/url-http.el (url-http): Don't try to set process | |
1104 | coding-system here -- done in url-gw. | |
1105 | ||
1106 | * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove. | |
1107 | (url-open-stream): Bind coding-system-for{read,write} when setting | |
1108 | up the connexion. Don't call url-gw-inhibit-code-conversion. | |
1109 | ||
4dfde3dd SM |
1110 | 2001-05-24 William M. Perry <wmperry@gnu.org> |
1111 | ||
1112 | * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output | |
1113 | in url-retrieve-synchronously. | |
1114 | ||
10a6e6ba SM |
1115 | 2001-05-23 William M. Perry <wmperry@gnu.org> |
1116 | ||
1117 | * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on | |
1118 | accept-process-output. This is evidently causing hangs in Emacs | |
1119 | 21 when viewing complex pages with images or stylesheets. | |
1120 | www.yahoo.com is now viewable. | |
1121 | ||
1122 | * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp | |
1123 | (mule-inhibit-code-conversion) and just have a local function that | |
1124 | does this minimal cruft. | |
1125 | (url-gw-inhibit-code-conversion): New function to turn off code | |
1126 | conversion in a process. | |
1127 | ||
1128 | 2001-05-22 William M. Perry <wmperry@gnu.org> | |
1129 | ||
1130 | * lisp/url.el (url-retrieve-synchronously): Use lexical-let so | |
1131 | that we can allow multiple asynch retrievals to happen at once. | |
1132 | (url-retrieve-synchronously): Use a much smaller timeout when | |
1133 | doing the accept-process-output. This gets rid of the long delays | |
1134 | if you are on a fast net connection and retrieve small documents | |
1135 | that finish asynchronously before the first accept-process-output | |
1136 | can be run. All hail broadband and 100Mb in the house! | |
4dfde3dd | 1137 | (url-retrieve-synchronously): Add documentation for this function. |
10a6e6ba SM |
1138 | (url-retrieve): Ditto. |
1139 | (url-mm-url): Ditto. | |
1140 | ||
1141 | * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some | |
1142 | documentation strings. Ok, so I'm anal. | |
1143 | ||
1144 | * lisp/url-methods.el (url-scheme-methods): Add default methods | |
1145 | for file-directory-p and file-truename. | |
1146 | ||
1147 | 2001-05-22 Dave Love <fx@gnu.org> | |
1148 | ||
1149 | * lisp/url-auth.el (url-warn): Autoload. | |
1150 | ||
1151 | * lisp/url-proxy.el (url-warn): Autoload. | |
1152 | ||
1153 | * lisp/url-nfs.el: Fix `file-truname' typo. | |
1154 | ||
1155 | * lisp/url-news.el: Require cl when compiling. | |
1156 | (url-warn, gnus-group-read-ephemeral-group): Autoload. | |
4dfde3dd | 1157 | (url-nntp-default-port, url-news-default-port, url-nntp): Delete. |
10a6e6ba SM |
1158 | (url-news-fetch-newsgroup): Declare gnus-group-buffer special. |
1159 | ||
1160 | * lisp/url-util.el (mule-decode-string): Don't autoload. | |
1161 | (url-hexify-string): Just barf on multibyte characters. | |
1162 | (url-generate-unique-filename): New function. | |
1163 | ||
1164 | * lisp/url-file.el (url-file): Use url-generate-unique-filename, | |
1165 | not mm-generate-unique-filename. | |
1166 | ||
1167 | * lisp/url-http.el: Declare things special in various places. | |
1168 | (url-http-activate-callback): Don't set | |
1169 | url-http-real-after-change-function. | |
1170 | ||
1171 | 2001-05-22 William M. Perry <wmperry@gnu.org> | |
1172 | ||
1173 | * lisp/url-http.el (url-http-attempt-keepalives): New variable to | |
1174 | control whether we try to do keep-alives for our connections. | |
1175 | (url-http-version): New variable to control whether we advertise | |
1176 | ourselves as an HTTP/1.1 client or not. This can be useful for | |
1177 | avoiding chunked encoding, and other 1.1 features we may not have | |
1178 | fully implemented yet. | |
1179 | (url-http-create-request): Honor the new variables. | |
1180 | ||
1181 | 2001-05-21 Dave Love <fx@gnu.org> | |
1182 | ||
1183 | * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it | |
1184 | in XEmacs. | |
1185 | (url-mime-charset-string): Don't reverse the list before sorting. | |
1186 | ||
1187 | 2001-05-17 William M. Perry <wmperry@gnu.org> | |
1188 | ||
1189 | * lisp/url-http.el (url-http-generic-filter): Avoid using | |
1190 | after-change-functions natively. There are just too many ways | |
1191 | that this screws up in Emacs 21. Use a filter function on the | |
1192 | process instead, and call the hook on | |
1193 | url-http-after-change-function manually. [Actually, it will work | |
1194 | in Emacs 21, but one problem that has been fixed in Emacs 21 | |
1195 | exists in Emacs 20. -- fx] | |
1196 | ||
1197 | * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems | |
1198 | does not exist on older versions of Emacs, or any version of | |
1199 | XEmacs. Do not call it unless it is bound. | |
1200 | ||
1201 | 2001-05-17 Dave Love <fx@gnu.org> | |
1202 | ||
1203 | * lisp/url-http.el (url-http-create-request): Fix non-GET requests. | |
1204 | ||
1205 | 2001-05-16 Dave Love <fx@gnu.org> | |
1206 | ||
1207 | * lisp/url-vars.el: Doc fixes. Require mm-util. | |
1208 | (url-mime-charset-string): New variable. | |
1209 | ||
1210 | * lisp/url-http.el: Doc fixes. | |
1211 | (url-http-create-request): Rearrange how we assemble the request. | |
1212 | Avoid generating bogus requests with an empty real-fname. | |
4dfde3dd | 1213 | (url-http-handle-authentication): Declare status and success special. |
10a6e6ba SM |
1214 | (url-http): Call mm-disable-multibyte. Set process buffer's |
1215 | coding systems to binary. | |
1216 | ||
1217 | * lisp/url-misc.el (url-data): Call mm-disable-multibyte. | |
1218 | ||
4dfde3dd | 1219 | * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo. |
10a6e6ba | 1220 | (url-file-find-possibly-compressed-file): Doc fix. |
4dfde3dd | 1221 | (url-file): Bind coding-system-for-read. Call mm-disable-multibyte. |
10a6e6ba SM |
1222 | |
1223 | * lisp/url-cache.el: Don't require mule-sysdp. | |
1224 | (url-store-in-cache): Avoid mule-write-region-no-coding-system. | |
1225 | ||
1226 | * lisp/url.el: Don't require mule-sysdp. | |
1227 | (url-retrieve): Only set text properties if url is a string. | |
1228 | ||
1229 | 2001-05-14 Dave Love <fx@gnu.org> | |
1230 | ||
4dfde3dd SM |
1231 | * lisp/url-http.el (url-http-create-request): |
1232 | Declare proxy-object, proxy-info special. | |
10a6e6ba SM |
1233 | (url-http-handle-authentication): Declare success special. |
1234 | ||
1235 | 2001-05-12 Dave Love <fx@gnu.org> | |
1236 | ||
1237 | * lisp/url-http.el: Revert last change. | |
1238 | ||
1239 | 2001-05-10 Dave Love <fx@gnu.org> | |
1240 | ||
4dfde3dd SM |
1241 | * lisp/url-http.el (url-http-generic-after-change-function): |
1242 | Make it permanent-local. | |
10a6e6ba SM |
1243 | |
1244 | 2001-05-05 Dave Love <fx@gnu.org> | |
1245 | ||
1246 | * lisp/url-http.el: Autoload some functions. | |
1247 | (cl): Require when compiling. | |
1248 | (url-http-extra-headers): Defvar when compiling. | |
1249 | (url-http): Treat after-change-functions as a local hook. | |
1250 | ||
1251 | * lisp/url-history.el (url-parse): Require. | |
1252 | (url-do-setup): Autoload. | |
1253 | ||
1254 | * lisp/url-gw.el: Require url-vars. Autoload some functions. | |
1255 | ||
1256 | * lisp/url-file.el: Require mailcap. Require cl when compiling. | |
1257 | Use (featurep 'xemacs). | |
1258 | (url-file-build-filename): Bind pos-index. | |
1259 | (url-file): Call url-find-file-dired, not url-dired-find-file. | |
1260 | ||
4dfde3dd | 1261 | * lisp/url-dired.el: Add copyright notice. Autoload some functions. |
10a6e6ba SM |
1262 | (url-dired-minor-mode-map): Use (featurep 'xemacs). |
1263 | (url-dired-find-file-mouse): Use mouse-set-point, not event-point. | |
4dfde3dd | 1264 | (url-find-file-dired): Rename from one version of url-dired-find-file. |
10a6e6ba SM |
1265 | |
1266 | * lisp/url-cid.el: Don't require widget. Require mm-decode | |
1267 | unconditionally. | |
1268 | ||
1269 | * lisp/url-util.el: Autoload mule-decode-string, | |
1270 | timezone-parse-date, timezone-make-date-arpa-standard. | |
1271 | (url-unreserved-chars): Fix list per RFC 2396. | |
1272 | (url-hexify-string): Maybe string-make-unibyte. | |
1273 | ||
1274 | * lisp/url-news.el: Require nntp. | |
1275 | ||
1276 | * lisp/url-imap.el: Require cl when compiling. Require nnimap | |
1277 | unconditionally. | |
1278 | ||
1279 | 2001-05-04 Dave Love <fx@gnu.org> | |
1280 | ||
1281 | * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file, | |
1282 | not non-existent mailcap-generate-unique-filename. | |
1283 | ||
4dfde3dd | 1284 | * lisp/url-privacy.el: Require url-vars. Require cl when compiling. |
10a6e6ba | 1285 | |
4dfde3dd SM |
1286 | * lisp/url-parse.el: Require url-vars. |
1287 | Autoload url-scheme-get-property. | |
10a6e6ba SM |
1288 | |
1289 | * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs | |
1290 | with featurep. | |
1291 | ||
1292 | * lisp/url-mailto.el: Require cl when compiling. | |
1293 | ||
4dfde3dd SM |
1294 | * lisp/url-cookie.el (url-cookie-handle-set-cookie): |
1295 | Call url-parse-args, not url-util-parse-args. | |
10a6e6ba SM |
1296 | |
1297 | * lisp/url-cache.el (url-cache-expired): Remove bogus `return'. | |
1298 | ||
1299 | 2001-04-09 Dave Love <fx@gnu.org> | |
1300 | ||
1301 | * lisp/mule-sysdp.el (mule-detect-coding-version) | |
1302 | (mule-code-convert-region, mule-inhibit-code-conversion) | |
1303 | (mule-write-region-no-coding-system, mule-encode-string) | |
1304 | (mule-decode-string, mule-truncate-string) | |
1305 | (mule-find-charset-region, mule-coding-system-name) | |
1306 | (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0. | |
1307 | [There must be a better way.] | |
1308 | (mule-coding-system-p, string-width): Use defalias. | |
1309 | ||
1310 | 2001-01-03 Sam Steingold <sds@gnu.org> | |
1311 | ||
1312 | * lisp/url-http.el (url-http-wait-for-headers-change-function): | |
1313 | set `url-http-end-of-headers' to 0 for HTTP 0.9 | |
1314 | ||
1315 | 2001-01-02 Sam Steingold <sds@gnu.org> | |
1316 | ||
1317 | * lisp/url-auth.el (provide): `url-auth', not `urlauth' | |
1318 | ||
1319 | 2000-12-22 Dave Love <fx@gnu.org> | |
1320 | ||
1321 | * lisp/url-history.el (url): Don't require (to avoid recursion). | |
1322 | (cl): Require when compiling. | |
1323 | ||
1324 | * lisp/url-http.el (url-auth): Require. | |
1325 | (url-http-handle-authentication): Fix typo. | |
1326 | ||
1327 | * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo. | |
1328 | ||
1329 | 2000-12-20 Dave Love <fx@gnu.org> | |
1330 | ||
1331 | * lisp/url.el: Require mm-decode, mm-view when compiling. | |
1332 | <not (fboundp 'puthash)>: Define puthash and | |
1333 | autoload other has functions rather than using cl-...hash. | |
1334 | (url-warn): Define. | |
1335 | ||
4dfde3dd SM |
1336 | * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el: |
1337 | Avoid cl-...hash functions. | |
10a6e6ba SM |
1338 | |
1339 | * lisp/url-history.el: Avoid cl-...hash functions. | |
1340 | (url): Require. | |
1341 | ||
4dfde3dd | 1342 | * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling. |
10a6e6ba SM |
1343 | |
1344 | 2000-10-03 William M. Perry <wmperry@aventail.com> | |
1345 | ||
4dfde3dd | 1346 | * lisp/url-util.el (url-get-url-at-point): Guard against 'url' |
10a6e6ba SM |
1347 | getting set to nil due to bad string matching. Subsequent matches |
1348 | would then choke because we passed string-match a nil. | |
1349 | ||
1350 | * lisp/url-http.el (url-http-parse-headers): Need to make the | |
1351 | connection as 'free' when we get a 304 response (found in cache), | |
1352 | or when a keep-alive conneection timed out, it would re-parse the | |
1353 | headers and dispatch to the callback again. Eek. | |
1354 | ||
1355 | 2000-10-02 William M. Perry <wmperry@aventail.com> | |
1356 | ||
1357 | * lisp/url-http.el (url-http-chunked-encoding-after-change-function): | |
4dfde3dd | 1358 | implement chunked transfer-coding. |
10a6e6ba SM |
1359 | (url-http-create-request): We can now advertise ourselves as a 1.1 |
1360 | compliant browser! | |
1361 | ||
1362 | 2000-07-28 Sam Steingold <sds@gnu.org> | |
1363 | ||
1364 | * lisp/url-methods.el (url-scheme-default-loader): `callback' and | |
1365 | `cbargs' are optional args (for calling from w3). | |
4dfde3dd | 1366 | (url-scheme-register-proxy): Typos fixes: `url-match' replaced |
10a6e6ba SM |
1367 | with `string-match' and `protocol' with `scheme'. |
1368 | ||
1369 | 2000-07-18 Sam Steingold <sds@gnu.org> | |
1370 | ||
4dfde3dd SM |
1371 | * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously. |
1372 | * lisp/url-history.el (url-history-save-interval): Avoid circularity. | |
10a6e6ba SM |
1373 | |
1374 | 2000-07-10 William M. Perry <wmperry@aventail.com> | |
1375 | ||
1376 | * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in | |
1377 | mule, and the character requested is > 255, then return "~" | |
1378 | instead of letting whoever call us signal an error when they try | |
1379 | to insert the character. | |
1380 | (mule-make-iso-character): Also wrap the whole thing in a | |
4dfde3dd | 1381 | condition case and return "~" on error, in case make-char bombs on us. |
10a6e6ba | 1382 | |
4dfde3dd | 1383 | * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader |
10a6e6ba SM |
1384 | for cid parts. |
1385 | ||
1386 | * lisp/url-util.el (url-display-percentage): New routine that uses | |
1387 | the progress bar under XEmacs if available. Looks very sexy under | |
1388 | XEmacs/GTK hacked to use the GNOME statusbar. | |
1389 | ||
1390 | * lisp/url-http.el | |
1391 | (url-http-content-length-after-change-function): Use new function | |
1392 | url-display-percentage instead of url-lazy-message. | |
1393 | ||
1394 | 2000-01-27 William M. Perry <wmperry@aventail.com> | |
1395 | ||
1396 | * lisp/url-file.el (url-file-build-filename): Work around for | |
4dfde3dd | 1397 | differences in ange-ftp / efs handling of port numbers other than 21. |
10a6e6ba SM |
1398 | |
1399 | 1999-12-24 William M. Perry <wmperry@aventail.com> | |
1400 | ||
1401 | * lisp/url-irc.el: Added pointer to draft specification for the | |
1402 | IRC URL so people don't think I'm crazy. | |
1403 | ||
1404 | * configure.in: Checks to make sure that Gnus was found, since we | |
4dfde3dd | 1405 | HAVE to have it now. Removed conditional compilation of url-cid.el |
10a6e6ba SM |
1406 | |
1407 | 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr> | |
1408 | ||
1409 | * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in | |
1410 | () to have periods at the end of the chunk. | |
1411 | ||
1412 | 1999-12-14 William M. Perry <wmperry@aventail.com> | |
1413 | ||
4dfde3dd | 1414 | * lisp/url-misc.el (url-man): Implement `man' URL types. |
10a6e6ba SM |
1415 | (url-info): Autoload. |
1416 | (url-man): Ditto. | |
1417 | (url-rlogin): Ditto. | |
1418 | (url-telnet): Ditto. | |
1419 | (url-tn3270): Ditto. | |
1420 | (url-generic-emulator-loader): Ditto. | |
1421 | ||
1422 | * lisp/url-https.el (url-https-create-secure-wrapper): New macro | |
1423 | to wrap arbitrary `http' methods with the appropriate magic to | |
1424 | turn SSL on. | |
1425 | (file-exists-p): Use it. | |
1426 | (file-readable-p): Use it. | |
1427 | (file-attributes): Use it. | |
1428 | ||
1429 | * lisp/url-news.el (url-news-fetch-newsgroup): When building the | |
1430 | server spec for Gnus, make sure we set | |
1431 | nntp-open-connection-function directly, so that other news-related | |
1432 | functions above us can set it. | |
1433 | (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'. | |
1434 | (url-nntp): Autoload. | |
1435 | (url-snews): Ditto. | |
1436 | (url-news): Ditto. | |
1437 | ||
1438 | 1999-12-12 William M. Perry <wmperry@aventail.com> | |
1439 | ||
1440 | * lisp/url-http.el (url-http-parse-response): New function to | |
1441 | parse just the HTTP response code out of the buffer, without | |
1442 | taking any other actions. | |
1443 | (url-http-wait-for-headers-change-function): Use it here when we | |
1444 | know we have an HTTP/1.x response. | |
1445 | (url-http-wait-for-headers-change-function): Special case a | |
1446 | response code of '304' or there could be some delays waiting for | |
1447 | keep-alives to time out on cached documents with no known | |
1448 | content-length on the server. | |
1449 | ||
1450 | 1999-12-11 William M. Perry <wmperry@aventail.com> | |
1451 | ||
1452 | * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here - | |
1453 | the Makefile does that for us. We just need to provide what files | |
1454 | to load/functions to run. | |
1455 | ||
1456 | * lisp/url-imap.el (url-imap-open-host): Need to bind | |
1457 | nnimap-server-buffer or `nnimap-open-server' chokes trying to use | |
4dfde3dd | 1458 | the current buffer as the IMAP server buffer, which fails miserably. |
10a6e6ba SM |
1459 | |
1460 | 1999-12-11 Simon Josefsson <jas@pdc.kth.se> | |
1461 | ||
1462 | * lisp/url-imap.el: Initial (rough) implementation for IMAP urls. | |
1463 | ||
1464 | 1999-12-11 William M. Perry <wmperry@aventail.com> | |
1465 | ||
1466 | * lisp/url-file.el (url-file-asynch-callback): Make the checks for | |
1467 | ange-ftp vs. efs calling semantics consistent, so that if someone | |
1468 | has NEITHER of them loaded, everything should still work. | |
1469 | ||
1470 | * lisp/url-handlers.el (url-copy-file): Autoload. | |
1471 | (url-file-local-copy): Ditto. | |
1472 | (url-insert-file-contents): Ditto. | |
1473 | (url-setup-file-name-handlers): Ditto. | |
1474 | ||
1475 | 1999-12-10 William M. Perry <wmperry@aventail.com> | |
1476 | ||
1477 | * lisp/url-http.el (mail-parse): Since we use functions from here, | |
1478 | we should require it, eh? | |
1479 | ||
1480 | 1999-12-10 01:57:01 Shenghuo ZHU <zsh@cs.rochester.edu> | |
1481 | ||
1482 | * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie | |
1483 | if nil. | |
1484 | (url-cookie-generate-header-lines): Use it. | |
1485 | ||
1486 | 1999-12-06 William M. Perry <wmperry@aventail.com> | |
1487 | ||
1488 | * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule | |
1489 | 4.1 gracefully | |
1490 | ||
4dfde3dd SM |
1491 | * lisp/url-news.el: Reimplemented news and nntp URL support. |
1492 | No longer bothers to check for outdated Gnus versions, since this | |
10a6e6ba SM |
1493 | will not work without them anyway. |
1494 | ||
1495 | 1999-12-05 Dave Love <fx@gnu.org> | |
1496 | ||
1497 | * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el, | |
1498 | lisp/url.el: | |
1499 | Require url-parse. | |
1500 | ||
1501 | 1999-12-05 William M. Perry <wmperry@aventail.com> | |
1502 | ||
1503 | * lisp/url-http.el (url-http-find-free-connection): Spit out a | |
1504 | message when we have to contact a host so the user always gets | |
1505 | at least some feedback. | |
1506 | ||
1507 | * lisp/url-expand.el (url-expander-remove-relative-links): Moved and | |
1508 | renamed function. | |
1509 | (url-default-expander): Use it. | |
1510 | ||
4dfde3dd SM |
1511 | * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto |
1512 | as well as efs. | |
1513 | (url-file): Add default content-type of application/octet-stream if | |
1514 | none known. | |
1515 | (url-file): Correct bad call to url-host-is-local-p | |
10a6e6ba SM |
1516 | |
1517 | * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't | |
1518 | like buffer-substring with nil arguments. | |
1519 | (url-copy-file): Use mm-destroy-parts instead of just killing | |
1520 | the buffer. Use defined interfaces when available! | |
1521 | (url-insert-file-contents): Ditto. | |
1522 | ||
1523 | * lisp/url-http.el (url-http-create-request): Lots of changes to | |
1524 | get proxying working. | |
1525 | ||
1526 | * lisp/url-methods.el (url-scheme-register-proxy): New function to | |
1527 | find and register a proxy for a specific scheme. | |
1528 | (url-scheme-get-property): Use it when we load a URL scheme for | |
1529 | the first time. | |
1530 | ||
1531 | * lisp/url-util.el (url-get-url-at-point): Re-integrated | |
1532 | ||
1533 | 1999-12-04 William M. Perry <wmperry@aventail.com> | |
1534 | ||
1535 | * lisp/url-file.el (url-file): Signal an error if | |
1536 | url-file-build-filename could not find the filename. | |
1537 | ||
1538 | 1999-12-01 William M. Perry <wmperry@aventail.com> | |
1539 | ||
1540 | * lisp/url.el (url-retrieve): Use url-history-update-url instead | |
1541 | of manipulating the hash table directly. | |
1542 | ||
1543 | * lisp/url-history.el (url-completion-function): New function to | |
1544 | use for reading a URL with completion. | |
1545 | (url-history-update-url): New function to hide the hashtable | |
1546 | implementation from people inserting things into the history. | |
1547 | ||
1548 | 1999-11-30 William M. Perry <wmperry@aventail.com> | |
1549 | ||
1550 | * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support | |
1551 | working. | |
1552 | ||
1553 | * lisp/url-parse.el (url-generic-parse-url): Fix bad call to | |
4dfde3dd | 1554 | url-parse-args, which had changed the type of arguments it expects. |
10a6e6ba SM |
1555 | |
1556 | * lisp/url-handlers.el (url-insert-file-contents): Ditto. | |
1557 | (url-copy-file): Ditto. | |
1558 | ||
1559 | * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of | |
1560 | just killing the buffer. Use defined interfaces when available! | |
1561 | ||
1562 | * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to | |
1563 | AC_FD_CC so they show up in config.log | |
1564 | (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make | |
1565 | this always return 't' instead of 'yes' on successfully finding | |
1566 | the library. | |
1567 | ||
4dfde3dd | 1568 | * lisp/url-http.el (url-http-parse-headers): Add some |
10a6e6ba SM |
1569 | DAV-specific error codes. |
1570 | ||
4dfde3dd | 1571 | * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in. |
10a6e6ba SM |
1572 | (url-retrieve-synchronously): Duh, make this function actually |
1573 | work again. Numerous problems with it, including variable name | |
1574 | collisions - I love dynamically scoped lisps! | |
1575 | ||
1576 | * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create | |
4dfde3dd | 1577 | wrappers onto the appropriate file-based URLs for file-name-handlers. |
10a6e6ba SM |
1578 | |
1579 | * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it | |
1580 | might get messy with file-name-handlers and things. | |
1581 | ||
1582 | * lisp/url-http.el (url-http-clean-headers): Fix problem when | |
1583 | using 'HEAD' requests. Thou shalt not change the length of the | |
1584 | region during an after-change-function. | |
1585 | ||
1586 | * lisp/url-methods.el (url-scheme-methods): New variable that | |
4dfde3dd | 1587 | holds a list of the methods/variables we look for in a URL scheme. |
10a6e6ba SM |
1588 | (url-scheme-get-property): Use it. |
1589 | ||
1590 | 1999-11-29 William M. Perry <wmperry@aventail.com> | |
1591 | ||
4dfde3dd | 1592 | * lisp/url-http.el (url-http-file-attributes): Reimplement. |
10a6e6ba SM |
1593 | (url-http-file-exists-p): Ditto. |
1594 | ||
1595 | * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme. | |
1596 | ||
1597 | * lisp/url-file.el (url-file-create-wrapper): New macro to create | |
1598 | file-name-handler stubs for all the FTP/FILE stuff. | |
1599 | ||
1600 | * lisp/url-handlers.el: New file to handle file-name-handler-alist | |
1601 | cruft. Generic interface on top of functions that each URL | |
1602 | loader provides, if capable. | |
1603 | ||
1604 | 1999-11-27 William M. Perry <wmperry@aventail.com> | |
1605 | ||
1606 | * lisp/url-https.el: Implemented HTTPS support. | |
1607 | ||
1608 | 1999-11-26 William M. Perry <wmperry@aventail.com> | |
1609 | ||
1610 | * url-privacy.el (url-setup-privacy-info): Don't rely on | |
1611 | device-type being defined. Not going to bother redistributing | |
1612 | devices.el for just one function. | |
1613 | ||
1614 | * url-methods.el (url-scheme-get-property): Emacs does not have | |
1615 | the 3rd-argument to plist-get to specify the default. *sigh* | |
1616 | ||
4dfde3dd | 1617 | * url-dired.el (add-minor-mode): Add definition for Emacs. |
10a6e6ba | 1618 | |
4dfde3dd SM |
1619 | * url-http.el (url-http-generic-after-change-function): |
1620 | New function, since Emacs does not allow you to change the | |
10a6e6ba SM |
1621 | after-change-functions variable from within a function run by |
1622 | said hook. This just hands it off to the REAL function. | |
1623 | Side-effect is that this now works on Emacs at all. :) | |
1624 | ||
1625 | * Initial checkin of rewritten URL library. | |
1626 | ||
1627 | Local variables: | |
1628 | coding: utf-8 | |
1629 | End: | |
cfceee1e MB |
1630 | |
1631 | ;; arch-tag: ac117078-3091-4533-be93-098162ac2926 |