* url-http.el (url-http-parse-headers): Stop after a set number of
[emacs.git] / lisp / url / ChangeLog
bloba9ecd3e5d9ad35a0e5ad127ce82954dea883c7ca
1 2007-04-13  Chong Yidong  <cyd@stupidchicken.com>
3         * url-http.el (url-http-parse-headers): Stop after a set number of
4         redirections.  Suggested by Diane Murray.
6         * url-vars.el (url-max-redirections): New var.
8 2007-04-01  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
10         * url-http.el (url-http-handle-cookies): Reverse list returned by
11         `mail-fetch-field', so that cookies are set in the correct order.
13         * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
14         Deal with wildcard dots in domain values.
16 2007-03-31  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>
18         * url-http.el (url-http-mark-connection-as-busy)
19         (url-http-mark-connection-as-free): Clear query-on-exit flag on
20         idle connections.
22 2007-02-04  Chong Yidong  <cyd@stupidchicken.com>
24         * url-http.el (url-http-connection-opened): New variable.
25         (url-http): Initialize it.
26         (url-http-async-sentinel): Don't try changing sentinels.
27         Run url-http-end-of-document-sentinel if necessary.
29 2007-01-29  Juanma Barranquero  <lekktu@gmail.com>
31         * url-auth.el (url-get-authentication): Fix typo in docstring.
33 2007-01-14  Magnus Henoch  <mange@freemail.hu>
35         * url-proxy.el (url-proxy-object): Remove.
36         (url-proxy): Don't use `url-proxy-object'.  Act according to type of
37         proxy (currently only HTTP supported).
39         * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
41         * url-http.el (url-http-proxy): New variable.
42         (url-http-create-request): Use it.  Don't use `url-proxy-object'.
43         (url-http): Treat `url' argument as resource to download, and
44         dynamic variable `url-using-proxy' as proxy to use.  Set
45         `url-current-object' to actual URL, and `url-http-proxy' to proxy
46         used.
47         (url-http-handle-cookies): Assume that `url-current-object' does
48         not point to the proxy used.
49         (url-http-async-sentinel): Adapt error message.
51 2006-12-10  Juanma Barranquero  <lekktu@gmail.com>
53         * url-gw.el (url-gateway-nslookup-program): Doc fix.
55 2006-12-08  Magnus Henoch  <mange@freemail.hu>
57         * url-proxy.el (url-proxy-object): New variable.
58         (url-proxy): Bind it instead of `proxy-object'.
60         * url-http.el (url-http-create-request): Remove url argument, use
61         the buffer-local variable `url-http-target-url' instead.  Both
62         callers updated.  Simplify proxy handling.
63         (url-http): Don't make proxy-object buffer local.
65         * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
67 2006-11-26  Magnus Henoch  <mange@freemail.hu>
69         * url-http.el (url-http-wait-for-headers-change-function): Use
70         `when' instead of `if' when possible.
71         (url-http): Define url-http-response-version.
72         (url-http-parse-response): Set it.
73         (url-http-parse-headers): Use it to determine keep-alive behavior.
75 2006-11-23  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
77         * url-http.el (url-http-content-length-after-change-function): Use
78         `url-lazy-message'.
80         * url-util.el (url-display-percentage): Only show a message if
81         `url-show-status' is non-nil.
83 2006-11-15  Magnus Henoch  <mange@freemail.hu>
85         * url-http.el (url-http): Make proxy-object buffer-local, to
86         handle proxied asynchronous connections correctly.
88         * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
90 2006-11-15  Shun-ichi GOTO  <gotoh@taiyo.co.jp>  (tiny change)
92         * url-http.el (url-http-wait-for-headers-change-function):
93         Defer detection of HTTP 0.9 until we have at least one line.
95 2006-11-10  Shun-ichi GOTO  <gotoh@taiyo.co.jp>  (tiny change)
97         * url-http.el (url-http-mark-connection-as-free)
98         (url-http-find-free-connection): Don't treat process with status
99         `connect' as free.
100         (url-http-async-sentinel): Request correct url.
102 2006-11-08  Magnus Henoch  <mange@freemail.hu>
104         * url-http.el (url-http-handle-authentication): If there are
105         several authentication headers, use the strongest available
106         method.
108         * url.el (url-retrieve-synchronously): Allow quitting when
109         inhibit-quit is t.
111 2006-11-03  Shun-ichi GOTO  <gotoh@taiyo.co.jp>  (tiny change)
113         * url-http.el (url-http-handle-authentication): If there are
114         several authentication headers, use the first with a supported
115         method.
117 2006-11-01  Magnus Henoch  <mange@freemail.hu>
119         * url-http.el (url-http-create-request): Use buffer-local
120         equivalents of dynamically bound variables.
122 2006-10-29  Magnus Henoch  <mange@freemail.hu>
124         * url-gw.el (url-open-stream): Really use asynchronous
125         connections (accidentally disabled during debugging).
127 2006-10-28  Magnus Henoch  <mange@freemail.hu>
129         * url-http.el (url-http-parse-headers): Fix misplaced paren.
131 2006-10-27  Magnus Henoch  <mange@freemail.hu>
133         * url-http.el (url-http-mark-connection-as-free): Verify that
134         connection is open before saving it.
135         (url-http-handle-authentication): Use url-retrieve-internal
136         instead of url-retrieve.
137         (url-http-parse-headers): Adapt to new callback interface.
138         (url-http): Handle non-blocking connections.
139         (url-http-async-sentinel): Create.
141         * url.el (url-retrieve): Update docstring for new callback interface.
142         Remove all code.
143         (url-retrieve-internal): Move code from url-retrieve here.
145         * url-gw.el (url-open-stream): Use a non-blocking socket for
146         `native' gateway method, if available.
148 2006-10-16  Magnus Henoch  <mange@freemail.hu>
150         * url-http.el (url-https-create-secure-wrapper):
151         Always use tls gateway method.
153 2006-10-12  Magnus Henoch  <mange@freemail.hu>
155         * url-http.el (url-http-find-free-connection):
156         Handle url-open-stream returning nil.
158 2006-10-11  Magnus Henoch  <mange@freemail.hu>
160         * url-https.el: Remove (clashes with url-http on 8+3 systems).
162         * url-http.el: Move contents of url-https.el here.  Add autoloads.
164 2006-10-09  Magnus Henoch  <mange@freemail.hu>
166         * url-parse.el (url-generic-parse-url): Handle URLs with empty
167         path component and non-empty query component.  Untangle path,
168         query and fragment parsing code.  Add references to RFC 3986 in
169         comments.
170         (url-recreate-url-attributes): Start query string with "?", not ";".
172 2006-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
174         * url-dav.el (url-dav-file-attributes): Simplify.
176         * url-http.el (url-http-head-file-attributes): Add device "info".
178 2006-09-18  Michael Olson  <mwolson@gnu.org>
180         * url-methods.el (url-scheme-register-proxy): Handle case where
181         getenv returns an empty string for http_proxy.  This prevents an
182         error when calling `format' later on.
184 2006-08-31  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
186         * url-parse.el (url-recreate-url-attributes): New function, code
187         simply moved from `url-recreate-url'.
188         (url-recreate-url): Use it.
189         Put the `url-target' at the end of the URL after the attributes.
191         * url-http.el (url-http-create-request):
192         Use `url-recreate-url-attributes' when setting real-fname.
194 2006-08-29  Diane Murray  <disumu@x3y2z1.net>  (tiny change)
196         * url-cookie.el (url-cookie-write-file): Really don't use versioned
197         backups.
199 2006-08-25  Stefan Monnier  <monnier@iro.umontreal.ca>
201         * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
202         dest file will already exist.
204 2006-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>
206         * url-util.el (url-hexify-string): Only utf-8 encode if it's
207         a multibyte string.
208         (url-normalize-url): Remove unused var `grok'.
209         (url-truncate-url-for-viewing): Remove unused var `tail'.
211 2006-07-30  Thien-Thi Nguyen  <ttn@gnu.org>
213         * url-util.el (url-hexify-string): Rewrite.
214         Suggested by David Smith <davidsmith@acm.org>.
216 2006-07-12  Michael Olson  <mwolson@gnu.org>
218         * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
220 2006-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
222         * url-cookie.el: Remove spurious * in docstrings.
223         (url-cookie-write-file): Don't use versioned backups.
224         (url-cookie-host-can-set-p): Remove unused var `tmp'.
226 2006-07-04  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>
228         * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
229         (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
231 2006-05-12  Reiner Steib  <Reiner.Steib@gmx.de>
233         * url-http.el (url-http-file-exists-p): Test if status is integer.
235 2006-05-05  Andreas Seltenreich  <seltenreich@gmx.de>
237         * url-http.el (url-http-parse-headers): Don't reuse connection if
238         "Connection: close" header was seen.
240 2006-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
242         * url-gw.el (url-open-stream): Don't hide errors.
243         (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
245         * url-handlers.el (url-insert): New function.
246         (url-insert-file-contents): Use it.
248 2006-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
250         * url-handlers.el (url-handler-directory-file-name): New handler.
251         (url-file-local-copy): Plug race condition security hole.
253 2006-03-27  Romain Francoise  <romain@orebokech.com>
255         * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
256         (url-irc-function): Add rcirc and ERC to the list of IRC clients.
257         Default to rcirc, since ZenIRC isn't part of Emacs.
259 2006-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
261         * url-http.el (url-http-find-free-connection): Fix braino in last fix.
263 2006-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
265         * url-http.el (url-http-find-free-connection): Don't kill the process
266         when killing the temp buffer.
267         (url-http-symbol-value-in-buffer): Massage to make it clear to the
268         byte-compiler that the function is defined.
270 2006-02-20  Stefan Monnier  <monnier@iro.umontreal.ca>
272         * url.el (url-redirect-buffer): New var.
273         (url-retrieve-synchronously): Use it to follow redirections.
275         * url-http.el: Require `url' rather than try to autoload parts of it.
276         (url-http-find-free-connection): `url-open-stream' needs a real buffer.
277         (url-http-parse-headers): Set `url-redirect-buffer' when following
278         a redirection reply.
280 2006-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
282         * url-news.el: Move defvars out of eval-when-compile.
283         (url-news-fetch-message-id, url-news-fetch-newsgroup):
284         Use with-current-buffer.
286 2006-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
288         * url.el (url-retrieve-synchronously): Adjust the workaround so as not
289         to stop in the middle of a redirection.
291         * url-vars.el (url-privacy-level): Add setter.
293 2006-01-05  Stefan Monnier  <monnier@iro.umontreal.ca>
295         * url-history.el (url-history-hash-table): Initialize in declaration.
296         (url-history-parse-history): Don't reset the history.
297         (url-history-save-history): Create parent dir if necessary.
298         (url-history-save-history): Don't write the initialization of
299         url-history-hash-table into the history file.
300         (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
301         (url-completion-function): Simplify.
303         * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
304         (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
305         (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
306         (url-cookie-setup-save-timer): Remove autoload cookies.
307         They're only called from files that require url-cookie anyway.
309         * url-history.el (url-history-setup-save-timer)
310         (url-history-parse-history, url-history-save-history):
311         Remove autoload cookies.  They're only called from url.el which requires
312         url-history anyway.
313         (url-history-parse-history): Don't complain if the file is missing.
315 2006-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
317         * url-handlers.el (url-retrieve-synchronously): Don't autoload.
319         * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
321         * url-cache.el: Require `url'.
323 2005-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
325         * url-cache.el (url-store-in-cache): Use save-current-buffer.
327         * url.el (url-configuration-directory): Don't autoload because the
328         default value needs to be computed at run-time, not dump-time.
330 2005-12-21  Stefan Monnier  <monnier@iro.umontreal.ca>
332         * url-cookie.el (url-cookie-write-file): Create parent dir.
334         * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
336 2005-12-07  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)
338         * url-cookie.el (url-cookie-save-interval): Simplify.
339         (url-cookie-setup-save-timer): Simplify.
341 2005-12-04  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)
343         * url-history.el (url-history-list): Var deleted.
344         (url-history-save-interval): Simplify.
345         (url-history-setup-save-timer): Simplify.
347 2005-12-01  Kim F. Storm  <storm@cua.dk>
349         * url-history.el (url-history-track): Fix last change.
351 2005-12-01  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)
353         * url-history.el (url-history-track):
354         Call url-history-setup-save-timer in :set function.
355         :type allows three alternatives.
356         (url-history-setup-save-timer): Test url-history-track.
357         * url.el (url-retrieve): Test url-history-track.
359 2005-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
361         * url-http.el: Use with-current-buffer.
362         (url-http-target-url): Rename from url-http-cookies-sources.
363         (url-http-parse-headers): Use it.
364         (url-http-handle-authentication): Use subst-char-in-string.
366 2005-11-16  Juergen Hoetzel  <emacs@hoetzel.info>  (tiny change)
368         * url-handlers.el (url-insert-file-contents): Use the charset info
369         provided by the HTTP server, if any.
371 2005-10-20  CHENG Gao  <chenggao@gmail.com>  (tiny change)
373         * url-nfs.el (top level):
374         * url-handlers.el (directory-files):
375         * url-file.el (top level):
376         * url-dired.el (url-dired-minor-mode-map):
377         * url-http.el (url-http-chunked-encoding-after-change-function):
378         Remove XEmacs support.
380 2005-10-15  Richard M. Stallman  <rms@gnu.org>
382         * url.el: Don't try to autoload hash table functions.
384 2005-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
386         * url-http.el (url-http-create-request): Avoid incorrect implicit
387         unibyte->multibyte conversion.
389 2005-09-17  Richard M. Stallman  <rms@gnu.org>
391         * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
393         * url-mailto.el (url-mailto): Special case `mail'.
394         Don't test fboundp of `compose-mail'.
396 2005-09-15  Chong Yidong  <cyd@stupidchicken.com>
398         * url-mailto.el (url-mailto): Delete mail buffer after sending
399         autogenerated mail.
400         Call `compose-mail with `new' argument if possible.
402 2005-09-13  Chong Yidong  <cyd@stupidchicken.com>
404         * url-mailto.el (url-mailto): Always use a new mail buffer.
406 2005-09-01  Chong Yidong  <cyd@stupidchicken.com>
408         * url-util.el (url-parse-query-string): New optional argument
409         allow-newlines allows decoding of newlines.
411         * url-mailto.el (url-mailto): Allow newlines in URL arguments.
412         Don't lose original "to" value when there is a "to" header.
413         Remove carriage return characters in message body.
415 2005-08-24  Juanma Barranquero  <lekktu@gmail.com>
417         * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
418         * url-http.el (url-http-cookies-sources): Defvar at compile time.
420 2005-07-15  Richard M. Stallman  <rms@gnu.org>
422         * url-http.el (url-http-parse-headers): Add :redirect arg-pair
423         when calling url-retrieve, to indicate a redirect.
425         * url.el (url-retrieve): The callback function can get an additional
426         keyword arg pair.
428 2005-07-04  Lute Kamstra  <lute@gnu.org>
430         Update FSF's address in GPL notices.
432 2005-07-04  Juanma Barranquero  <lekktu@gmail.com>
434         * url-history.el (url-history-track): Doc fix.
435         (url-history): Finish `defgroup' description with period.
437         * url-cookie.el (url-cookie):
438         * url-gw.el (url-gateway):
439         * url-news.el (url-news):
440         * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
441         Finish `defgroup' description with period.
443 2005-06-28  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)
445         * url-http.el (url-http-create-request): Call url-recreate-url
446         in proxy case.
448 2005-06-27  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)
450         * url-http.el (url-http-create-request): When computing real-fname,
451         call url-filename in both cases.
453 2005-06-27  Richard M. Stallman  <rms@gnu.org>
455         * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
456         (url-cookie-retrieve): Likewise.
457         (url-cookie-generate-header-lines): Likewise.
458         (url-cookie-handle-set-cookie): Likewise.
459         (url-cookie-create): Expect :localpart instead of :path.
460         (url-cookie-localpart): Renamed from url-cookie-path.
461         (url-cookie-set-localpart): Renamed from url-cookie-set-path.
462         (url-cookie-file): Doc fix.
463         (url-cookie-p): Add doc string.
465 2005-06-23  Richard M. Stallman  <rms@gnu.org>
467         * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
469 2005-06-21  Juanma Barranquero  <lekktu@gmail.com>
471         * url-gw.el (url-open-stream):
472         * url-vars.el (url-gateway-unplugged): Fix spellings.
474 2005-06-14  Juanma Barranquero  <lekktu@gmail.com>
476         * url-history.el (url-completion-function): Follow error
477         conventions.
479 2005-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
481         * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
483 2005-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
485         * url-dav.el: Remove most autoload cookies.
486         Don't hook into the url-file-handler since it currently breaks all
487         non-HTTP URLs.
489         * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
491         * url.el (url-retrieve-synchronously): Don't exit precipitously when
492         fetching a file via ange-ftp.
494 2005-06-10  Juanma Barranquero  <lekktu@gmail.com>
496         * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
498 2005-05-19  Juanma Barranquero  <lekktu@gmail.com>
500         * url-cookie.el (url-cookie-multiple-line):
501         Specify group and type in defcustom.
503 2005-05-06  Juanma Barranquero  <lekktu@gmail.com>
505         * url-auth.el (url-register-auth-scheme):
506         * url-cookie.el (url-cookie-expired-p):
507         * url-dav.el (url-dav-process-date-property)
508         (url-dav-process-boolean-property, url-dav-process-DAV:status):
509         * url-http.el (url-http-chunked-encoding-after-change-function)
510         (url-http-wait-for-headers-change-function):
511         * url-ns.el (isInNet):
512         * url-parse.el (url-generic-parse-url):
513         * url-util.el (url-get-normalized-date): Replace `string-to-int'
514         by `string-to-number'.
516 2005-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
518         * url.el (url-retrieve-synchronously): Work around the fact that
519         url-http sometimes doesn't call the callback.
521 2005-04-04  Lute Kamstra  <lute@gnu.org>
523         * url-handlers.el (url-handler-mode): Specify :group.
525 2005-02-26  James Cloos  <cloos@jhcloos.com>  (tiny change)
527         * url-history.el (url-have-visited-url): Don't barf if
528         url-history-hash-table is nil.
530 2005-02-14  Michael Welsh Duggan  <md5i@cs.cmu.edu>
532         * url-http.el (url-http-parse-headers): Test url-automatic-caching.
534 2005-01-22  Klaus Straubinger  <KSNetz@Arcor.DE>  (tiny change)
536         * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
537         to nil, like for the 303 response.
539 2005-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
541         * url.el (url-retrieve-synchronously): Use accept-process-output rather
542         than sit-for.
544 2005-01-03  Klaus Straubinger  <ksnetz@arcor.de>  (tiny change)
546         * url-http.el (url-http-handle-authentication):
547         Don't kill the current buffer.
549 2004-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
551         * url-handlers.el: Don't `require' everything eagerly.
553 2004-11-30  Paul Pogonyshev  <pogonyshev@gmx.net>
555         * url-http.el (url-http-handle-cookies): Bind `url-current-object'
556         to `url-http-cookies-sources' so that cookies are attributed to
557         proper domain.
558         (url-http): Make local variable `url-http-cookies-sources'.
560 2004-11-28  Andreas Schwab  <schwab@suse.de>
562         * url-http.el (url-http-create-request): Don't add newline after
563         the request data.
565 2004-11-20  Masatake YAMATO  <jet@gyve.org>
567         * url.el (url-mm-callback): Delay the invocation
568         of `mm-destroy-parts'.  Invoke `mm-destroy-parts'
569         when the buffer is killed.
571 2004-11-12  Masatake YAMATO  <jet@gyve.org>
573         * url-mailto.el (url-mailto): Fix a typo in the comment.
575 2004-11-02  Masatake YAMATO  <jet@gyve.org>
577         * url-imap.el (url-imap-open-host): Don't use
578         `string-to-int'.  The port returned by `url-port'
579         is expected to be an integer.
581         * url-irc.el (url-irc): Ditto.
583         * url-news.el (url-news-open-host): Ditto.
585         * url-nfs.el (url-nfs-build-filename): Ditto.
587 2004-10-20  John Paul Wallington  <jpw@gnu.org>
589         * url-gw.el (url-gateway-nslookup-host):
590         Use `set-process-query-on-exit-flag'.
592 2004-10-10  Lars Hansen  <larsh@math.ku.dk>
594         * url-auth.el:
595         * url-cache.el:
596         * url-cid.el:
597         * url-dired.el:
598         * url-expand.el:
599         * url-ftp.el:
600         * url-gw.el:
601         * url-imap.el:
602         * url-irc.el:
603         * url-misc.el:
604         * url-news.el:
605         * url-ns.el:
606         * url-privacy.el:
607         * url-proxy.el: Update header and footer.
609         * url-vars.el: Update header.
611 2004-10-16  Richard M. Stallman  <rms@gnu.org>
613         * url.el (url-do-setup): Don't set url-passwd-entry-func.
615         * url-vars.el (url-passwd-entry-func): Var deleted.
616         (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
617         (url-weekday-alist): Rename from weekday-alist.
618         (url-monthabbrev-alist): Rename from monthabbrev-alist.
619         (url-vars-unload-hook): Initialize hook var to hold the function.
621         * url-util.el (url-get-normalized-date): Use url-weekday-alist and
622         url-monthabbrev-alist.
624         * url-misc.el: Load cl at compile time.
626         * url-mailto.el: Don't load cl.
627         (url-mailto): Fix call to `push'.
629         * url-gw.el (url-open-telnet): Use read-passwd.
631         * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
633 2004-10-12  Simon Josefsson  <jas@extundo.com>
635         * url-vars.el (url-gateway-method): Add new method `tls'.
637         * url-news.el (url-snews): Use nntp-open-tls-stream if
638         url-gateway-method is tls.
640         * url-ldap.el (url-ldap-certificate-formatter):
641         Use tls-certificate-information if ssl.el is not available.
643         * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
644         is not available.
646         * url-gw.el (url-open-stream): Support tls url-gateway-method.
647         (url-open-stream): Likewise.
649 2004-10-10  Lars Hansen  <larsh@math.ku.dk>
651         * url-auth.el:
652         * url-cache.el:
653         * url-cookie.el:
654         * url-dired.el:
655         * url-file.el:
656         * url-ftp.el:
657         * url-handlers.el:
658         * url-history.el:
659         * url-irc.el:
660         * url-mailto.el:
661         * url-methods.el:
662         * url-misc.el:
663         * url-news.el:
664         * url-nfs.el:
665         * url-parse.el:
666         * url-privacy.el:
667         * url-vars.el:
668         * url.el:
669         * url-util.el: Fix copyright notice.
671 2004-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
673         * url-handlers.el (url-insert-file-contents): Use the URL to decide the
674         encoding, not the buffer-file-name (which might not even exist).
676 2004-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
678         * url-handlers.el (url-insert-file-contents): Decode contents.
680 2004-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
682         * url-util.el (url-debug): Use with-current-buffer.
684         * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
685         (url-nfs-create-wrapper): Use new backquote syntax.
687         * url-https.el (url-https-file-attributes): Add id-format param.
689         * url-http.el (url-http-head-file-attributes)
690         (url-http-file-attributes): Add id-format parameter.
692         * url-handlers.el: Use new find-file-hook.
693         (url-file-attributes): Add id-format parameter.
695         * url-file.el (url-file-create-wrapper): Use new backquote syntax.
696         (url-file-file-attributes): Add id-format parameter.
698         * url-dav.el: Use with-current-buffer.
699         (url-dav-process-response): Fix regexps and spurious quote.
700         (url-dav-file-attributes): Add id-format param.
702 2004-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
704         * url.el (url-retrieve): Use with-current-buffer.
706         * url-http.el (url-http-parse-headers, url-http-file-exists-p):
707         Remove unused var `version'.
709         * url-handlers.el (url-handler-mode): New minor mode.
710         (url-setup-file-name-handlers): Remove.
712 2004-04-12  John Paul Wallington  <jpw@gnu.org>
714         * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
715         to obsolete `assoc-ignore-case' with calls to `assoc-string'.
717 2004-04-11  Dave Love  <fx@gnu.org>
719         * url-mailto.el (url-mailto):
720         * url-history.el (url-history-setup-save-timer):
721         * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
723         * url-file.el (url-file-build-filename): Don't use
724         directory-sep-char.
726         * url-auth.el (url-register-auth-scheme): Fix `format' call.
728         * url-about.el (url-scheme-registry): Defvar.
729         (url-about): Use text/plain.
731         * url-vars.el (cl): Don't require.
732         (url): Add :version.
733         (url-bug-address): Use bug-gnu-emacs.
735         * url-util.el (url-hexify-string): Don't give multibyte error
736         for char <16.
737         (mail-header-extract): Autoload.
739         * url-parse.el: Doc fixes.
741         * url-ldap.el (ldap): Require.
742         (url-ldap): Fix `format' call.
743         (url-ldap-certificate-formatter): Avoid warning.
745         * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
747         * url-dav.el (url-dav-rename-file): Fix args of `signal'.
748         (url-intersection): New.
749         (url-dav-supported-p): Use it.
750         (url-dav-save-resource): Declare url-http-response-status special.
752         * url-cache.el (url-util): Require.
754 2004-04-10  Miles Bader  <miles@gnu.org>
756         RCS keyword removal (only non-comment changes are enumerated here):
758         * url-vars.el (url-version): Use the constant string "Emacs"
759         instead of calculating something from the RCS `State' keyword
760         [the latter is almost entirely useless anyway].
762 2004-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
764         * url-methods.el:
765         * url-parse.el: Don't require url-auto.
767 2004-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
769         * url: Imported the URL package from its own CVS repository into Emacs.
771 ===========================================================================
772 ===========================================================================
773         Copy of the ChangeLog file from URL's own CVS repository:
774 ===========================================================================
775 ===========================================================================
777 2003-07-16  Dave Love  <fx@gnu.org>
779         * lisp/url.el (url-retrieve-synchronously): Revert last change.
780         Should be revisited.
782 2003-06-26  Sam Steingold  <sds@gnu.org>
784         * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
785         method on invalid urls.
787 2003-05-29  Dave Love  <fx@gnu.org>
789         * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
790         sit-for.  From monnier@gnu.org.
792 2002-11-04  Walter C. Pelissero  <walter@pelissero.org>
794         * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
795         port numbers to integers when creating the URL objects for proxies.
797 2002-10-29  William M. Perry  <wmperry@gnu.org>
799         * lisp/url-http.el (url-http-parse-headers): When doing a
800         redirect, some broken software (sourceforge) sends a redirect to
801         '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
802         specification).  I wish we could deal with such lame software
803         appropriately (spank the authors), but this is the web, so we have
804         to kow-tow to the servers.
806 2002-10-27  William M. Perry  <wmperry@gnu.org>
808         * lisp/url-http.el (url-http-create-request): If we are talking to
809         the default port for a the selected protocol, do NOT send the port
810         in the HOST header.  This fixes the login page at sourceforge.
812 2002-09-17  William M. Perry  <wmperry@gnu.org>
814         * lisp/url-http.el (url-http-handle-cookies): New function to deal
815         with cookie headers.
816         (url-http-parse-headers): Call `url-http-handle-cookies' here so
817         that cookie additions and deletions get handled immediately.
818         This is so that sites that set cookies while doing redirects
819         (my.yahoo.com, outlook web access, etc) work.  This should also
820         fix sites that delete cookies on invalid access or other error
821         pages the user might not actually see.
822         (url-http-parse-headers): Silently convert non-HEAD and non-GET
823         methods to GET in redirects.  Too many web sites do this now, and
824         it is just likely to confuse users.
826 2002-05-17  Dave Love  <fx@gnu.org>
828         * texi/url.txi: Start making it vaguely useful.
830         * texi/Makefile.in (install): Cope with Debian install-info.
831         From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann).
833 2002-04-22  Dave Love  <fx@gnu.org>
835         * lisp/url-misc.el (man): Autoload to avoid warning.
836         (url-man): Don't require man here.
837         (url-data): Generalize in line with the RFC.
839         * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
841         * lisp/url-vars.el: Doc fixes.
842         (url-mime-charset-string): New function.
843         (url-mime-charset-string): Use it to set the variable.
844         (url-set-mime-charset-string): New function.
845         (set-language-environment-hook): Use it.
846         (url-vars-unload-hook): New function.
848         * lisp/url-cookie.el (url-header-comparison): Delete.
849         (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
850         (url-cookie-save-interval): Make value agree with doc.
852         * lisp/url.el: Doc fixes.
853         (url-mm-callback): Don't call mm-destroy-parts immediately for
854         external viewing -- set up a process sentinel.
856 2002-02-02  William M. Perry  <wmperry@gnu.org>
858         * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
860 2001-12-12  William M. Perry  <wmperry@gnu.org>
862         * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
863         Monnier to use ` instead of ^ to match the relative link.
865 2001-12-10  William M. Perry  <wmperry@gnu.org>
867         * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
868         plist-get (reversed args).
870         * lisp/url-file.el (url-file-build-filename): Make sure that we
871         have a parsed URL in this function.
873 2002-01-22  Dave Love  <fx@gnu.org>
875         * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
877         * lisp/url-imap.el (url-imap): Maybe disable multibyte.
878         Bind coding-system-for-read.  Require mm-util.
880         * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
882         * lisp/mule-sysdp.el: Removed (obsolete).
884 2001-12-09  William M. Perry  <wmperry@gnu.org>
886         * lisp/url-dav.el (url-dav-delete-something): Utility macro to
887         remove an arbitrary resource.
888         (url-dav-delete-directory): Use it.
889         (url-dav-delete-file): Ditto.
890         (url-dav-make-directory): New function.
891         (url-dav-rename-file): New function.
892         (url-dav-register-handler): New function to easily register a
893         WebDAV-specific file-name-handler operation.
894         (url-dav-file-name-all-completions, url-dav-file-name-completion):
895         New functions that allow file-name completion for WebDAV resources.
897 2001-12-08  William M. Perry  <wmperry@gnu.org>
899         * lisp/url-dav.el (url-dav-directory-files): New function to
900         mimic `directory-files' for WebDAV.
901         (url-dav-delete-directory): New function to mimic
902         `delete-directory' for WebDAV.
904 2001-12-06  William M. Perry  <wmperry@gnu.org>
906         * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
907         DAV:locktoken hrefs into a usable format.
908         (url-dav-process-response): Use an unwind-protect to make sure
909         that we clean up the buffer, even if there is a parsing error.
910         (url-dav-request): New function to act as the main entry point for
911         making DAV requests.  Takes care of building the XML document with
912         appropriate namespaces, depth, etc, and parses the results.
913         (url-dav-get-properties): Use new url-dav-request function.
914         This is now just a thin wrapper around that to use PROPFIND and set any
915         extra properties we are looking for.
916         (url-dav-unlock-resource): New function to release a lock given a
917         URL and a lock-token.
918         (url-dav-process-DAV:getlastmodified)
919         (url-dav-process-DAV:creationdate)
920         (url-dav-process-DAV:iscollection)
921         (url-dav-process-DAV:ishidden): Fix typos!  Its url-dav-*, not
922         url-dave-*!
923         (url-dav-active-locks): New function to get a list of all the
924         active locks for a resource.
925         (url-dav-save-resource): New function to actually save a resource
926         using the PUT method.  I can now successfully save files to an
927         HTTP server with some manual steps from a lisp-interaction buffer.
929         * lisp/url-http.el (url-http-wait-for-headers-change-function):
930         Special case the 204/205 response codes.  Some servers do not
931         send back a 0 content-length for these, and we would hang.
932         (url-http-parse-headers): Mark 204/205 response codes as
933         'successful' so that the callbacks get activated.
934         (url-http-options): Fix unbound variable usage.
936         * lisp/url-dav.el: Added full copyright information.
937         (url-dav-process-response): Make sure that we create a DAV:status
938         property when parsing a singleton response.
939         (url-dav-file-attributes): If the properties returned did not have
940         a succesful HTTP response code, then ignore them and use the
941         HEAD-based attributes.
943         * lisp/vc-dav.el: Added full copyright information.
945         * lisp/url-dav.el (url-dav-process-supportedlock-property):
946         Deal with text nodes in DAV:supportedlock nodes.
947         (url-dav-file-attributes-mode-string): This now gets the entire
948         property list instead of just the DAV:supportedlock node.
949         (url-dav-file-attributes): Make sure to pass the whole list in.
950         (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
951         (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
952         'executable' bit to set the 'x' mode.  See `mod_dav's custom
953         properties' at http://www.webdav.org/mod_dav/ for more details.
954         (url-dav-find-parser): New function to find the proper parser for
955         a node-type.  Looks for
956         url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
957         back to using url-dav-node-text.  Caches the results on the nodes
958         symbol name.
959         (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
960         (url-dav-process-*): Rename most of the handlers and made them
961         use url-dav-dispatch-node where appropriate.
962         (url-dav-process-DAV:prop): Instead of using the dav-data-type
963         property to dispatch the node, now uses dav-dispatch-node so that
964         it is easy to add parsers for special nodes.
965         (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
966         (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
967         (url-dav-process-DAV:getcontentlength)
968         (url-dave-process-DAV:getlastmodified)
969         (url-dave-process-DAV:creationdate)
970         (url-dave-process-DAV:iscollection)
971         (url-dave-process-DAV:ishidden): Aliases for the generic
972         url-dav-process-foo-property routines.
973         (url-dav-process-DAV:activelock)
974         (url-dav-process-DAV:lockdiscovery): Can now correctly parse
975         DAV:lockdiscovery nodes, so that we can find out who has a
976         resource locked and properly parse the reponse to a LOCK request.
977         (url-dav-process-DAV:status): Now parses ou the numeric status
978         from the HTTP response line.
979         (url-dav-process-response): New function to handle all the
980         parsing of an XML response from WebDAV.  This handles all the
981         logic of checking the response content-type to make sure it is
982         XML, parses the tree, and interprets the tree.
983         (url-dav-process-response): Make sure that all responses look
984         like a DAV:multistatus response, even if we get a singleton
985         response back.  This will just make the upper layer logic simpler.
986         (url-dav-get-properties): New optional argument NAMESPACES that
987         specifies what namespaces to use in the XML request.
988         (url-dav-get-properties): Got rid of the D: namespace in
989         requests.  It doesn't save that much space.  Just use DAV:
990         (url-dav-lock-identifier): New variable that should hold a URI
991         pointing to contact information for the user.  This will be used
992         as the contents of the DAV:owner/DAV:href tag to identify the
993         owner of a LOCK when requesting it.  This will be shown to other
994         users when the DAV:lockdiscovery property is requested, so make
995         sure you are comfortable with it leaking to the outside world.
996         (url-dav-lock-resource): New function to LOCK a dav resource.
998 2001-12-05  William M. Perry  <wmperry@gnu.org>
1000         * lisp/url-dav.el (url-dav-get-properties): New argument
1001         ATTRIBUTES that allows you to ask for specific properties instead
1002         of getting all properties via DAV:allprop.
1004         * lisp/url-http.el (url-http-real-basic-auth-storage):
1005         New variable for normal HTTP basic authentication.
1006         (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1007         basic authentication.
1008         (url-http-handle-authentication): Follow new semantics for
1009         url-basic-auth-storage.
1011         * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
1012         this variable.  It is now a symbol pointing to where we really
1013         want to store the authorization information.  This fixes proxy
1014         auth and normal basic auth because of some local bindings that were
1015         making it impossible to store the credentials in the global binding.
1016         (url-basic-auth): Make sure we dereference url-basic-auth-storage
1017         everywhere.
1019         * lisp/url-util.el (url-debug): Add new types 'dav and
1020         'retrieval to the customization list.
1022         * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1023         statements.
1025         * lisp/url-http.el (url-http-head-file-attributes): Rename old
1026         url-http-file-attributes so that we can have a smarter one that
1027         tries WebDAV first, then HEAD.
1028         (url-http-file-attributes): New smart version that tries WebDAV first.
1029         (url-http-options): New function that returns information gleaned
1030         from an OPTIONS request for a URL.  Returns a property list
1031         returning the methods supported for the resource, what DAV and
1032         DASL levels are supported, p3p information, and whether
1033         byte-ranges are supported or not.
1034         (url-http-wait-for-headers-change-function): If we got a 0-byte
1035         content-length, activate the callback immediately.
1036         (url-http-wait-for-headers-change-function): For content-length
1037         responses with actual body-data in the chunk we are handling, call
1038         url-http-content-length-after-change-function with the remaining
1039         data.  Otherwise we can deadlock if the headers and the entire
1040         body exist arrive in one chunk.
1042         * lisp/url-dav.el: New file to contain the WebDAV
1043         (http://www.webdav.org/) implementation.
1044         (url-dav-supported-p): Cheap way to figure out whether we will be
1045         able to do DAV at all.  We rely on the XML parser expanding
1046         namespaces for us, and currently you need a patched version of
1047         xml.el to do this.  Patch sent to author for consideration.
1048         (url-dav-file-attributes): Much more complete version of
1049         `file-attributes' using the WebDAV PROPFIND method.  Now correctly
1050         finds out whether something is a directory (a WebDAV collection),
1051         the last modification time, and permissions (based on the
1052         DAV:supportedlock information).
1053         (url-dav-get-properties): Generic interface to get WebDAV
1054         properties for a URL.  Can specify an optional `depth' parameter
1055         to tell the web server how many directory (collection) levels to
1056         recurse when retrieving the property lists.  Returns an assoc
1057         list keyed off of the resource, the cdr of which is a property list.
1058         (url-dav-datatype-attribute): We support the XML-Data note
1059         (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1060         datatypes of attributes are.  Currently only date, dateTime, int,
1061         number, float, boolean, and uri are supported.
1063 2001-12-04  William M. Perry  <wmperry@gnu.org>
1065         * lisp/url-handlers.el (file-name-absolute-p): New hooked
1066         version.  If the filename matches our regexp, then it is always
1067         absolute, so just return `t'.
1068         (expand-file-name): New hooked version.  If the fragment is an
1069         absolute file or URL, then expand it relative to '/'.
1070         (url-handler-regexp): New regexp for specific schemes that we
1071         want the file-name-handlers to work off of.
1072         (url-setup-file-name-handlers): Use it when installing the handlers.
1074         * lisp/url-http.el (url-http-find-free-connection): Better logging
1075         about whether we are reusing an existing connection or not.
1077         * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
1078         to string-match instead of match-string (and with reversed
1079         arguments even).
1081         * lisp/url-http.el (url-http-debug): Change to now use the
1082         generic url-debug function to do the actual logging.  Still a
1083         separate function so that we can do our magic on the network
1084         connection if the user quits while we are downloading.
1086         * lisp/url-handlers.el (url-file-handler): Now logs the result of
1087         the hooked or real call.
1089         * lisp/url-util.el (url-debug): New function for generic debug logging.
1091 2001-11-28  William M. Perry  <wmperry@gnu.org>
1093         * lisp/url-imap.el (url-imap-open-host): Use backquote.
1094         (url-imap): Now switches to 'login as the imap authenticator if
1095         the URL provides a username and password.
1097         * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1098         push to replace some strange logic in here.
1099         (url-run-real-handler): New function to run the real hooks in
1100         case we get a false positive or an operation that we do not
1101         support.  The old way disabled _ALL_ file-name-handlers when
1102         we hit something we didn't understand - this disables JUST us.
1103         (url-file-handler): Remove the logic about removing the leading
1104         '/' off of the first argument... it may not be safe to always
1105         assume that the first argument is the one we are acting on -
1106         `default' is the second argument for expand-file-name for example.
1107         (url-setup-file-name-handlers): Use url-nonrelative-link
1108         directly.  This means that you must type in the URL directly
1109         without prefixing it with a '/'.
1111         (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1113         Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1114         which activates us (because 'nnml+mail' _is_ a valid scheme name
1115         for a URI).  We get thoroughly confused and end up returning
1116         `nil' when we shouldn't.
1118 2001-11-26  William M. Perry  <wmperry@gnu.org>
1120         * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1121         this so that visiting a URL directly will work.
1122         (file-symlink-p): Ditto.
1123         (url-insert-file-contents): If `visit' is non-nil then make sure
1124         we set buffer-file-name.  After these changes you can visit
1125         http://www.gnu.org/ directly from the minibuffer.
1126         (url-insert-file-contents): When inserting the file contents,
1127         use a save-excursion so that we behave just like the original.
1129 2001-11-25  William M. Perry  <wmperry@gnu.org>
1131         * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
1133 2001-11-24  William M. Perry  <wmperry@gnu.org>
1135         * lisp/url-about.el (url-about): New loader scheme to handle
1136         about:foo URLs.  Automatically tries to find a `url-about-foo'
1137         function to display the actual data.
1138         (url-about-protocols): Implement about:protocols
1140         * lisp/url-http.el (url-http): Make sure that we signal an error
1141         when we cannot open a network connection for whatever reason.
1142         Before, it would just silently clean up after itself and the user
1143         got absolutely no indication that an error had occured.  If the
1144         error should truly be ignored, the caller should do that for us.
1145         (url-http-chunked-encoding-after-change-function): Doh!  Need to
1146         user marker-position in some log messages now that
1147         url-http-chunked-start is a marker.
1149 2001-11-22  William M. Perry  <wmperry@gnu.org>
1151         * lisp/url-https.el: Fixed definition of url-https - was using the
1152         wrong signature.  Too much cut & paste.
1153         (url-https-create-secure-wrapper): Fix so that url-https works
1154         at all.  Was not taking a null `method' into account when calling
1155         the wrapped function so url-https tried to call url-http-nil.  *sigh*
1157         * lisp/url-http.el
1158         (url-http-chunked-encoding-after-change-function): Add some
1159         feedback when not debugging about what content-type and chunk # we
1160         are reading.
1161         (url-http-chunked-encoding-after-change-function): Use a marker
1162         for url-http-chunked-start so that we can safely delete the
1163         chunk-tokens instead of just marking them as invisible.
1164         (url-http-chunked-encoding-after-change-function): Actually delete
1165         the chunk-tokens.  Now that we are not run from 'real'
1166         after-change functions, this is safe, and the right thing to do.
1167         Otherwise the HTML parser still saw them and inferred all sorts of
1168         bad things about the document (ie: nothing had a title!)
1170 2001-11-21  William M. Perry  <wmperry@gnu.org>
1172         * lisp/url-http.el (url-http-debug): Document this variable.
1173         People other than I might want to use it.
1174         (url-http-debug): Put some code in here to check quit-flag
1175         directly.  When the chunked encoding went into a tight spin, your
1176         Emacs would be wedged forever.  This short-circuits all the
1177         after-change functions and signals an error.
1178         (url-http-debug): If url-http-debug is non-nil and non-t, then log
1179         the debug messages using `message' as well as sending them to the
1180         buffer.
1181         (url-http-chunked-encoding-after-change-function): Got rid of the
1182         no-initial-crlf.  Had an epiphany and I can just infer this from
1183         url-http-chunked-counter being 0.
1184         (url-http-chunked-encoding-after-change-function): Move the debug
1185         statement about reading chunk #foo into the loop so that each
1186         chunk will have a log message associated with it.
1187         (url-http-chunked-encoding-after-change-function): Make sure to
1188         set read-next-chunk to nil when the regular expression match fails
1189         to fire.  Otherwise we could loop forever.
1190         (url-http-chunked-encoding-after-change-function): Tweak the
1191         regular expression to be a little less greedy when looking for a chunk.
1192         (url-http-wait-for-headers-change-function): Remove the last
1193         argument when calling
1194         url-http-chunked-encoding-after-change-function.  It is no longer
1195         needed.  I should use my brain sometime.
1197         * lisp/url-vars.el (and): Fix feature test for xemacs and
1198         coding-system-list behaviour.
1200         * lisp/url-http.el
1201         (url-http-chunked-encoding-after-change-function): Add optional
1202         no-initial-crlf flag that modifies the regular expression.
1203         This is only set from url-http-wait-for-headers-change-function so that
1204         the initial CRLF in the HTTP headers is not swallowed.
1205         (url-http-chunked-encoding-after-change-function): Fix a few
1206         off-by-one errors by using (match-end 0) instead of 1.
1207         (url-http-chunked-encoding-after-change-function): Add a few
1208         url-http-debug calls to help track down problems in the chunked
1209         encoding.
1210         (url-http-chunked-encoding-after-change-function): The chunk
1211         reading in here is now in a while loop so that if Emacs feeds us a
1212         chunk of data that happens to contain more than one 'chunk'
1213         delimiter, we behave correctly.
1214         (url-http-wait-for-headers-change-function): Make sure that we
1215         pass no-initial-crlf to
1216         url-http-chunked-encoding-after-change-function when passing
1217         initial data to the decoder.
1218         (url-http-generic-filter): url-http-debug statement so we can tell
1219         when/where our after-change-functions are being called.
1221 2001-10-11  Dave Love  <fx@gnu.org>
1223         * lisp/url-handlers.el: Doc fixes.
1224         (string-match): Use (featurep 'xemacs).
1226         * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
1228         * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
1230         * lisp/url-vars.el (url-running-xemacs): Delete.
1231         (url-gateway-unplugged): New variable.
1233         * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
1234         Comment out OS/2 stuff.
1236 2001-10-05  Dave Love  <fx@gnu.org>
1238         * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
1239         without confirmation.
1241 2001-10-02  Dave Love  <fx@gnu.org>
1243         * lisp/url-http.el (url-http-create-request): Check cache for
1244         proxy-obj, if defined, rather than url.
1245         (url-http): Use dolist, not mapc (runtime cl dependency).
1247         * lisp/url-methods.el: Maybe require cl at runtime.
1248         (url-scheme-register-proxy): Fix fetching from environment.
1249         Don't concat a number.
1251 2001-10-01  Dave Love  <fx@gnu.org>
1253         * lisp/url-parse.el: Use modern backquote syntax.
1255         * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
1256         (url-mail-command): Prefer compose-mail.
1257         (tcp-binary-process-input-services): Comment out.
1258         (url-working-buffer): New constant.
1260         * lisp/url-util.el (url-extract-mime-headers): New function.
1262         * lisp/url-mailto.el (url-mailto): Set source-url.  Don't add
1263         User-Agent.
1265 2001-09-20  Dave Love  <fx@gnu.org>
1267         * lisp/url-http.el (url-http-create-request): Don't concat a number.
1269 2001-06-05  Dave Love  <fx@gnu.org>
1271         * lisp/url.el (url-do-setup): Doc fix.  Don't try to frob
1272         tcp-binary-process-input-services.  Remove function wrapper for lambda.
1273         (url-retrieve): Barf with sensible message if url-type is null.
1275         * lisp/url-http.el (url-http): Don't try to set process
1276         coding-system here -- done in url-gw.
1278         * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
1279         (url-open-stream): Bind coding-system-for{read,write} when setting
1280         up the connexion.  Don't call url-gw-inhibit-code-conversion.
1282 2001-05-24  William M. Perry  <wmperry@gnu.org>
1284         * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
1285         in url-retrieve-synchronously.
1287 2001-05-23  William M. Perry  <wmperry@gnu.org>
1289         * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
1290         accept-process-output.  This is evidently causing hangs in Emacs
1291         21 when viewing complex pages with images or stylesheets.
1292         www.yahoo.com is now viewable.
1294         * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
1295         (mule-inhibit-code-conversion) and just have a local function that
1296         does this minimal cruft.
1297         (url-gw-inhibit-code-conversion): New function to turn off code
1298         conversion in a process.
1300 2001-05-22  William M. Perry  <wmperry@gnu.org>
1302         * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
1303         that we can allow multiple asynch retrievals to happen at once.
1304         (url-retrieve-synchronously): Use a much smaller timeout when
1305         doing the accept-process-output.  This gets rid of the long delays
1306         if you are on a fast net connection and retrieve small documents
1307         that finish asynchronously before the first accept-process-output
1308         can be run.  All hail broadband and 100Mb in the house!
1309         (url-retrieve-synchronously): Add documentation for this function.
1310         (url-retrieve): Ditto.
1311         (url-mm-url): Ditto.
1313         * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
1314         documentation strings.  Ok, so I'm anal.
1316         * lisp/url-methods.el (url-scheme-methods): Add default methods
1317         for file-directory-p and file-truename.
1319 2001-05-22  Dave Love  <fx@gnu.org>
1321         * lisp/url-auth.el (url-warn): Autoload.
1323         * lisp/url-proxy.el (url-warn): Autoload.
1325         * lisp/url-nfs.el: Fix `file-truname' typo.
1327         * lisp/url-news.el: Require cl when compiling.
1328         (url-warn, gnus-group-read-ephemeral-group): Autoload.
1329         (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
1330         (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
1332         * lisp/url-util.el (mule-decode-string): Don't autoload.
1333         (url-hexify-string): Just barf on multibyte characters.
1334         (url-generate-unique-filename): New function.
1336         * lisp/url-file.el (url-file): Use url-generate-unique-filename,
1337         not mm-generate-unique-filename.
1339         * lisp/url-http.el: Declare things special in various places.
1340         (url-http-activate-callback): Don't set
1341         url-http-real-after-change-function.
1343 2001-05-22  William M. Perry  <wmperry@gnu.org>
1345         * lisp/url-http.el (url-http-attempt-keepalives): New variable to
1346         control whether we try to do keep-alives for our connections.
1347         (url-http-version): New variable to control whether we advertise
1348         ourselves as an HTTP/1.1 client or not.  This can be useful for
1349         avoiding chunked encoding, and other 1.1 features we may not have
1350         fully implemented yet.
1351         (url-http-create-request): Honor the new variables.
1353 2001-05-21  Dave Love  <fx@gnu.org>
1355         * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
1356         in XEmacs.
1357         (url-mime-charset-string): Don't reverse the list before sorting.
1359 2001-05-17  William M. Perry  <wmperry@gnu.org>
1361         * lisp/url-http.el (url-http-generic-filter): Avoid using
1362         after-change-functions natively.  There are just too many ways
1363         that this screws up in Emacs 21.  Use a filter function on the
1364         process instead, and call the hook on
1365         url-http-after-change-function manually.  [Actually, it will work
1366         in Emacs 21, but one problem that has been fixed in Emacs 21
1367         exists in Emacs 20.  -- fx]
1369         * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
1370         does not exist on older versions of Emacs, or any version of
1371         XEmacs.  Do not call it unless it is bound.
1373 2001-05-17  Dave Love  <fx@gnu.org>
1375         * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
1377 2001-05-16  Dave Love  <fx@gnu.org>
1379         * lisp/url-vars.el: Doc fixes.  Require mm-util.
1380         (url-mime-charset-string): New variable.
1382         * lisp/url-http.el: Doc fixes.
1383         (url-http-create-request): Rearrange how we assemble the request.
1384         Avoid generating bogus requests with an empty real-fname.
1385         (url-http-handle-authentication): Declare status and success special.
1386         (url-http): Call mm-disable-multibyte.  Set process buffer's
1387         coding systems to binary.
1389         * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
1391         * lisp/url-file.el: Don't require mule-sysdp.  Fix `file-truname' typo.
1392         (url-file-find-possibly-compressed-file): Doc fix.
1393         (url-file): Bind coding-system-for-read.  Call mm-disable-multibyte.
1395         * lisp/url-cache.el: Don't require mule-sysdp.
1396         (url-store-in-cache): Avoid mule-write-region-no-coding-system.
1398         * lisp/url.el: Don't require mule-sysdp.
1399         (url-retrieve): Only set text properties if url is a string.
1401 2001-05-14  Dave Love  <fx@gnu.org>
1403         * lisp/url-http.el (url-http-create-request):
1404         Declare proxy-object, proxy-info special.
1405         (url-http-handle-authentication): Declare success special.
1407 2001-05-12  Dave Love  <fx@gnu.org>
1409         * lisp/url-http.el: Revert last change.
1411 2001-05-10  Dave Love  <fx@gnu.org>
1413         * lisp/url-http.el (url-http-generic-after-change-function):
1414         Make it permanent-local.
1416 2001-05-05  Dave Love  <fx@gnu.org>
1418         * lisp/url-http.el: Autoload some functions.
1419         (cl): Require when compiling.
1420         (url-http-extra-headers): Defvar when compiling.
1421         (url-http): Treat after-change-functions as a local hook.
1423         * lisp/url-history.el (url-parse): Require.
1424         (url-do-setup): Autoload.
1426         * lisp/url-gw.el: Require url-vars.  Autoload some functions.
1428         * lisp/url-file.el: Require mailcap.  Require cl when compiling.
1429         Use (featurep 'xemacs).
1430         (url-file-build-filename): Bind pos-index.
1431         (url-file): Call url-find-file-dired, not url-dired-find-file.
1433         * lisp/url-dired.el: Add copyright notice.  Autoload some functions.
1434         (url-dired-minor-mode-map): Use (featurep 'xemacs).
1435         (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
1436         (url-find-file-dired): Rename from one version of url-dired-find-file.
1438         * lisp/url-cid.el: Don't require widget.  Require mm-decode
1439         unconditionally.
1441         * lisp/url-util.el: Autoload mule-decode-string,
1442         timezone-parse-date, timezone-make-date-arpa-standard.
1443         (url-unreserved-chars): Fix list per RFC 2396.
1444         (url-hexify-string): Maybe string-make-unibyte.
1446         * lisp/url-news.el: Require nntp.
1448         * lisp/url-imap.el: Require cl when compiling.  Require nnimap
1449         unconditionally.
1451 2001-05-04  Dave Love  <fx@gnu.org>
1453         * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
1454         not non-existent mailcap-generate-unique-filename.
1456         * lisp/url-privacy.el: Require url-vars.  Require cl when compiling.
1458         * lisp/url-parse.el: Require url-vars.
1459         Autoload url-scheme-get-property.
1461         * lisp/url-nfs.el: Require cl when compiling.  Test for XEmacs
1462         with featurep.
1464         * lisp/url-mailto.el: Require cl when compiling.
1466         * lisp/url-cookie.el (url-cookie-handle-set-cookie):
1467         Call url-parse-args, not url-util-parse-args.
1469         * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
1471 2001-04-09  Dave Love  <fx@gnu.org>
1473         * lisp/mule-sysdp.el (mule-detect-coding-version)
1474         (mule-code-convert-region, mule-inhibit-code-conversion)
1475         (mule-write-region-no-coding-system, mule-encode-string)
1476         (mule-decode-string, mule-truncate-string)
1477         (mule-find-charset-region, mule-coding-system-name)
1478         (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
1479         [There must be a better way.]
1480         (mule-coding-system-p, string-width): Use defalias.
1482 2001-01-03  Sam Steingold  <sds@gnu.org>
1484         * lisp/url-http.el (url-http-wait-for-headers-change-function):
1485         set `url-http-end-of-headers' to 0 for HTTP 0.9
1487 2001-01-02  Sam Steingold  <sds@gnu.org>
1489         * lisp/url-auth.el (provide): `url-auth', not `urlauth'
1491 2000-12-22  Dave Love  <fx@gnu.org>
1493         * lisp/url-history.el (url): Don't require (to avoid recursion).
1494         (cl): Require when compiling.
1496         * lisp/url-http.el (url-auth): Require.
1497         (url-http-handle-authentication): Fix typo.
1499         * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
1501 2000-12-20  Dave Love  <fx@gnu.org>
1503         * lisp/url.el: Require mm-decode, mm-view when compiling.
1504         <not (fboundp 'puthash)>: Define puthash and
1505         autoload other has functions rather than using cl-...hash.
1506         (url-warn): Define.
1508         * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
1509         Avoid cl-...hash functions.
1511         * lisp/url-history.el: Avoid cl-...hash functions.
1512         (url): Require.
1514         * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
1516 2000-10-03  William M. Perry  <wmperry@aventail.com>
1518         * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
1519         getting set to nil due to bad string matching.  Subsequent matches
1520         would then choke because we passed string-match a nil.
1522         * lisp/url-http.el (url-http-parse-headers): Need to make the
1523         connection as 'free' when we get a 304 response (found in cache),
1524         or when a keep-alive conneection timed out, it would re-parse the
1525         headers and dispatch to the callback again.  Eek.
1527 2000-10-02  William M. Perry  <wmperry@aventail.com>
1529         * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
1530         implement chunked transfer-coding.
1531         (url-http-create-request): We can now advertise ourselves as a 1.1
1532         compliant browser!
1534 2000-07-28  Sam Steingold  <sds@gnu.org>
1536         * lisp/url-methods.el (url-scheme-default-loader): `callback' and
1537         `cbargs' are optional args (for calling from w3).
1538         (url-scheme-register-proxy): Typos fixes: `url-match' replaced
1539         with `string-match' and `protocol' with `scheme'.
1541 2000-07-18  Sam Steingold  <sds@gnu.org>
1543         * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
1544         * lisp/url-history.el (url-history-save-interval): Avoid circularity.
1546 2000-07-10  William M. Perry  <wmperry@aventail.com>
1548         * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
1549         mule, and the character requested is > 255, then return "~"
1550         instead of letting whoever call us signal an error when they try
1551         to insert the character.
1552         (mule-make-iso-character): Also wrap the whole thing in a
1553         condition case and return "~" on error, in case make-char bombs on us.
1555         * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
1556         for cid parts.
1558         * lisp/url-util.el (url-display-percentage): New routine that uses
1559         the progress bar under XEmacs if available.  Looks very sexy under
1560         XEmacs/GTK hacked to use the GNOME statusbar.
1562         * lisp/url-http.el
1563         (url-http-content-length-after-change-function): Use new function
1564         url-display-percentage instead of url-lazy-message.
1566 2000-01-27  William M. Perry  <wmperry@aventail.com>
1568         * lisp/url-file.el (url-file-build-filename): Work around for
1569         differences in ange-ftp / efs handling of port numbers other than 21.
1571 1999-12-24  William M. Perry  <wmperry@aventail.com>
1573         * lisp/url-irc.el: Added pointer to draft specification for the
1574         IRC URL so people don't think I'm crazy.
1576         * configure.in: Checks to make sure that Gnus was found, since we
1577         HAVE to have it now.  Removed conditional compilation of url-cid.el
1579 1999-12-16  Eric Marsden  <emarsden@mail.dotcom.fr>
1581         * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
1582         () to have periods at the end of the chunk.
1584 1999-12-14  William M. Perry  <wmperry@aventail.com>
1586         * lisp/url-misc.el (url-man): Implement `man' URL types.
1587         (url-info): Autoload.
1588         (url-man): Ditto.
1589         (url-rlogin): Ditto.
1590         (url-telnet): Ditto.
1591         (url-tn3270): Ditto.
1592         (url-generic-emulator-loader): Ditto.
1594         * lisp/url-https.el (url-https-create-secure-wrapper): New macro
1595         to wrap arbitrary `http' methods with the appropriate magic to
1596         turn SSL on.
1597         (file-exists-p): Use it.
1598         (file-readable-p): Use it.
1599         (file-attributes): Use it.
1601         * lisp/url-news.el (url-news-fetch-newsgroup): When building the
1602         server spec for Gnus, make sure we set
1603         nntp-open-connection-function directly, so that other news-related
1604         functions above us can set it.
1605         (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
1606         (url-nntp): Autoload.
1607         (url-snews): Ditto.
1608         (url-news): Ditto.
1610 1999-12-12  William M. Perry  <wmperry@aventail.com>
1612         * lisp/url-http.el (url-http-parse-response): New function to
1613         parse just the HTTP response code out of the buffer, without
1614         taking any other actions.
1615         (url-http-wait-for-headers-change-function): Use it here when we
1616         know we have an HTTP/1.x response.
1617         (url-http-wait-for-headers-change-function): Special case a
1618         response code of '304' or there could be some delays waiting for
1619         keep-alives to time out on cached documents with no known
1620         content-length on the server.
1622 1999-12-11  William M. Perry  <wmperry@aventail.com>
1624         * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
1625         the Makefile does that for us.  We just need to provide what files
1626         to load/functions to run.
1628         * lisp/url-imap.el (url-imap-open-host): Need to bind
1629         nnimap-server-buffer or `nnimap-open-server' chokes trying to use
1630         the current buffer as the IMAP server buffer, which fails miserably.
1632 1999-12-11  Simon Josefsson  <jas@pdc.kth.se>
1634         * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
1636 1999-12-11  William M. Perry  <wmperry@aventail.com>
1638         * lisp/url-file.el (url-file-asynch-callback): Make the checks for
1639         ange-ftp vs. efs calling semantics consistent, so that if someone
1640         has NEITHER of them loaded, everything should still work.
1642         * lisp/url-handlers.el (url-copy-file): Autoload.
1643         (url-file-local-copy): Ditto.
1644         (url-insert-file-contents): Ditto.
1645         (url-setup-file-name-handlers): Ditto.
1647 1999-12-10  William M. Perry  <wmperry@aventail.com>
1649         * lisp/url-http.el (mail-parse): Since we use functions from here,
1650         we should require it, eh?
1652 1999-12-10  Shenghuo ZHU  <zsh@cs.rochester.edu>
1654         * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
1655         if nil.
1656         (url-cookie-generate-header-lines): Use it.
1658 1999-12-06  William M. Perry  <wmperry@aventail.com>
1660         * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
1661         4.1 gracefully
1663         * lisp/url-news.el: Reimplemented news and nntp URL support.
1664         No longer bothers to check for outdated Gnus versions, since this
1665         will not work without them anyway.
1667 1999-12-05  Dave Love  <fx@gnu.org>
1669         * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
1670         lisp/url.el:
1671         Require url-parse.
1673 1999-12-05  William M. Perry  <wmperry@aventail.com>
1675         * lisp/url-http.el (url-http-find-free-connection): Spit out a
1676         message when we have to contact a host so the user always gets
1677         at least some feedback.
1679         * lisp/url-expand.el (url-expander-remove-relative-links): Moved and
1680         renamed function.
1681         (url-default-expander): Use it.
1683         * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
1684         as well as efs.
1685         (url-file): Add default content-type of application/octet-stream if
1686         none known.
1687         (url-file): Correct bad call to url-host-is-local-p
1689         * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
1690         like buffer-substring with nil arguments.
1691         (url-copy-file): Use mm-destroy-parts instead of just killing
1692         the buffer.  Use defined interfaces when available!
1693         (url-insert-file-contents): Ditto.
1695         * lisp/url-http.el (url-http-create-request): Lots of changes to
1696         get proxying working.
1698         * lisp/url-methods.el (url-scheme-register-proxy): New function to
1699         find and register a proxy for a specific scheme.
1700         (url-scheme-get-property): Use it when we load a URL scheme for
1701         the first time.
1703         * lisp/url-util.el (url-get-url-at-point): Re-integrated
1705 1999-12-04  William M. Perry  <wmperry@aventail.com>
1707         * lisp/url-file.el (url-file): Signal an error if
1708         url-file-build-filename could not find the filename.
1710 1999-12-01  William M. Perry  <wmperry@aventail.com>
1712         * lisp/url.el (url-retrieve): Use url-history-update-url instead
1713         of manipulating the hash table directly.
1715         * lisp/url-history.el (url-completion-function): New function to
1716         use for reading a URL with completion.
1717         (url-history-update-url): New function to hide the hashtable
1718         implementation from people inserting things into the history.
1720 1999-11-30  William M. Perry  <wmperry@aventail.com>
1722         * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
1723         working.
1725         * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
1726         url-parse-args, which had changed the type of arguments it expects.
1728         * lisp/url-handlers.el (url-insert-file-contents): Ditto.
1729         (url-copy-file): Ditto.
1731         * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
1732         just killing the buffer.  Use defined interfaces when available!
1734         * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
1735         AC_FD_CC so they show up in config.log
1736         (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
1737         this always return 't' instead of 'yes' on successfully finding
1738         the library.
1740         * lisp/url-http.el (url-http-parse-headers): Add some
1741         DAV-specific error codes.
1743         * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
1744         (url-retrieve-synchronously): Duh, make this function actually
1745         work again.  Numerous problems with it, including variable name
1746         collisions - I love dynamically scoped lisps!
1748         * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
1749         wrappers onto the appropriate file-based URLs for file-name-handlers.
1751         * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it
1752         might get messy with file-name-handlers and things.
1754         * lisp/url-http.el (url-http-clean-headers): Fix problem when
1755         using 'HEAD' requests.  Thou shalt not change the length of the
1756         region during an after-change-function.
1758         * lisp/url-methods.el (url-scheme-methods): New variable that
1759         holds a list of the methods/variables we look for in a URL scheme.
1760         (url-scheme-get-property): Use it.
1762 1999-11-29  William M. Perry  <wmperry@aventail.com>
1764         * lisp/url-http.el (url-http-file-attributes): Reimplement.
1765         (url-http-file-exists-p): Ditto.
1767         * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
1769         * lisp/url-file.el (url-file-create-wrapper): New macro to create
1770         file-name-handler stubs for all the FTP/FILE stuff.
1772         * lisp/url-handlers.el: New file to handle file-name-handler-alist
1773         cruft.  Generic interface on top of functions that each URL
1774         loader provides, if capable.
1776 1999-11-27  William M. Perry  <wmperry@aventail.com>
1778         * lisp/url-https.el: Implemented HTTPS support.
1780 1999-11-26  William M. Perry  <wmperry@aventail.com>
1782         * url-privacy.el (url-setup-privacy-info): Don't rely on
1783         device-type being defined.  Not going to bother redistributing
1784         devices.el for just one function.
1786         * url-methods.el (url-scheme-get-property): Emacs does not have
1787         the 3rd-argument to plist-get to specify the default.  *sigh*
1789         * url-dired.el (add-minor-mode): Add definition for Emacs.
1791         * url-http.el (url-http-generic-after-change-function):
1792         New function, since Emacs does not allow you to change the
1793         after-change-functions variable from within a function run by
1794         said hook.  This just hands it off to the REAL function.
1795         Side-effect is that this now works on Emacs at all. :)
1797         * Initial checkin of rewritten URL library.
1799 ;; Local variables:
1800 ;; coding: utf-8
1801 ;; add-log-time-zone-rule: t
1802 ;; End:
1804     Copyright (C) 1999, 2001, 2002, 2004, 2005,
1805         2006, 2007  Free Software Foundation, Inc.
1807   This file is part of GNU Emacs.
1809   GNU Emacs is free software; you can redistribute it and/or modify
1810   it under the terms of the GNU General Public License as published by
1811   the Free Software Foundation; either version 2, or (at your option)
1812   any later version.
1814   GNU Emacs is distributed in the hope that it will be useful,
1815   but WITHOUT ANY WARRANTY; without even the implied warranty of
1816   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1817   GNU General Public License for more details.
1819   You should have received a copy of the GNU General Public License
1820   along with GNU Emacs; see the file COPYING.  If not, write to the
1821   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1822   Boston, MA 02110-1301, USA.
1824 ;; arch-tag: ac117078-3091-4533-be93-098162ac2926