1 2012-12-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3 * url-http.el (url-http-end-of-document-sentinel): Bind relevant
4 url-request-* variables around the call to url-http (Bug#11469).
6 * url-expand.el (url-default-expander): Don't calculate a default
7 url port before checking url-type (Bug#12374).
9 2012-12-22 Chong Yidong <cyd@gnu.org>
11 * url-parse.el (url-port): Doc fix.
13 2012-12-03 Chong Yidong <cyd@gnu.org>
15 * url-misc.el (url-do-terminal-emulator): Use make-term instead of
18 2012-10-13 Liam Stitt <stittl@cuug.ab.ca> (tiny change)
20 * url-vars.el (url-uncompressor-alist):
21 * url-file.el (url-file-find-possibly-compressed-file, url-file):
22 Recognize .xz compression (Bug#11839).
24 2012-10-13 Chong Yidong <cyd@gnu.org>
26 * url-http.el (url-http):
27 * url.el (url-retrieve-internal): Doc fix (Bug#6407).
29 2012-10-08 Glenn Morris <rgm@gnu.org>
31 * url-methods.el (url-scheme-get-property): url-https.el was
32 merged into url-http.el, so load the latter for https. (Bug#12599)
34 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
36 * url-http.el (url-http-user-agent-string): Leak less info.
37 (url-http, url-http-file-exists-p, url-http-file-readable-p)
38 (url-http-file-attributes, url-http-options, url-https-default-port)
39 (url-https-asynchronous-p): Don't autoload.
41 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
43 * url-handlers.el (url-file-handler): Don't assume any url-FOO function
44 is a good handler for FOO.
45 (url-copy-file, url-file-local-copy, url-insert-file-contents)
46 (url-file-name-completion, url-file-name-all-completions)
47 (url-handlers-create-wrapper): Explicitly register as handler.
49 2012-09-29 Bastien Guerry <bzg@gnu.org>
51 * url-util.el (url-insert-entities-in-string)
52 (url-build-query-string): Fix docstrings.
54 2012-09-25 Chong Yidong <cyd@gnu.org>
56 * url-parse.el (url-recreate-url-attributes):
57 * url-util.el (url-generate-unique-filename): Use declare to mark
60 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
62 * url-http.el (url-http-parse-headers): Re-enable file-name-handlers
65 2012-08-12 David Engster <deng@randomsample.de>
67 * url-util.el (url-file-directory, url-file-nondirectory): Avoid
68 file-name-directory and file-name-nondirectory internally (bug#11981).
70 2012-08-11 Jason Rumney <jasonr@gnu.org>
72 * url-http.el (url-http-create-request): Use url-http-proxy to
73 look up proxy credentials (Bug#12069).
75 2012-07-28 David Engster <deng@randomsample.de>
77 * url-dav.el (url-dav-supported-p): Add doc-string and remove
78 check for feature `xml' and function `xml-expand-namespace' which
79 never existed in Emacs proper.
80 (url-dav-process-response): Remove all indentation and newlines
81 from XML before parsing. Change call to `xml-parse-region' to do
82 namespace expansion with simple qualified names (Bug#11916).
83 (url-dav-request): Add autoload.
84 (url-dav-directory-files): Properly deal with empty directories.
85 Unhex URL before generating relative URLs.
86 (url-dav-file-directory-p): Fix check for 'DAV:collection.
88 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
90 * url.el, url-queue.el, url-parse.el, url-http.el, url-future.el:
91 * url-dav.el, url-cookie.el: Use cl-lib.
92 * url-util.el, url-privacy.el, url-nfs.el, url-misc.el, url-methods.el:
93 * url-gw.el, url-file.el, url-expand.el: Dont use CL.
95 2012-06-30 Glenn Morris <rgm@gnu.org>
97 * url-vars.el (mm-mime-mule-charset-alist, mm-coding-system-p):
100 2012-06-21 Chong Yidong <cyd@gnu.org>
102 * url.el (url-retrieve-internal): Fix last change (Bug#11627).
104 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
106 * url-handlers.el (url-handler-regexp): Declare.
108 2012-06-12 Chong Yidong <cyd@gnu.org>
110 * url-handlers.el: Re-order file to avoid recursive load.
112 2012-06-12 Chong Yidong <cyd@gnu.org>
114 * url-handlers.el (url-handler-regexp):
115 * url-nfs.el (url-nfs-automounter-directory-spec):
116 * url-vars.el (url-load-hook): Convert to defcustom.
118 2012-05-25 Leo Liu <sdl.web@gmail.com>
120 * url-http.el (url-http-codes): Fix mal-formed defconst.
122 2012-05-15 Ian Eure <ian@simplegeo.com>
124 * url-util.el (url-build-query-string): New function (Bug#8706).
125 (url-parse-query-string): Allow that '=' is not required and split
126 URL parameters on ';', not just '&'.
128 2012-05-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
130 * url-expand.el (url-default-expander): Copy over the fullness of
131 the new URL object based on the definition URL object.
133 2012-05-10 Chong Yidong <cyd@gnu.org>
135 * url-parse.el (url-path-and-query, url-port-if-non-default):
137 (url-generic-parse-url): Don't set the portspec slot if it is not
138 specified; that is what `url-port' is for.
139 (url-port): Only require the scheme to be specified to call
140 url-scheme-get-property.
142 * url-util.el (url-encode-url): Use url-path-and-query.
144 * url-vars.el (url-mime-charset-string): Load mm-util lazily.
146 2012-05-09 Chong Yidong <cyd@gnu.org>
148 * url-util.el (url-encode-url): New function for URL quoting.
149 (url-encoding-table, url-host-allowed-chars)
150 (url-path-allowed-chars): New constants.
151 (url--allowed-chars): New helper function. Use upper-case.
152 (url-hexify-string): Use them.
154 * url-parse.el: Improve RFC 3986 conformance.
155 (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
156 since this is not reliable for general RFC 3986 URIs. Keep the
157 whole path and query inside the FILENAME slot. Improve docstring.
158 (url-recreate-url-attributes): Mark as obsolete.
159 (url-recreate-url): Handle missing scheme and userinfo.
160 (url-path-and-query): New function.
162 * url-http.el (url-http-create-request): Ignore obsolete
163 attributes slot of url-object.
165 * url-vars.el (url-nonrelative-link): Make the regexp stricter.
167 * url.el (url-retrieve-internal): Use url-encode-url (Bug#7017).
169 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
171 * url.el (url-retrieve-synchronously): Replace lexical-let by
174 2012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
176 * url.el (url-retrieve-internal): Hexify multibye URL string first
177 when necessary (bug#7017).
179 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
181 * url.el (url-retrieve-internal): Mention utf-8 encoding.
182 (url-retrieve): Ditto.
184 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
186 * url-domsurf.el: New file (bug#1401).
188 * url-cookie.el (url-cookie-two-dot-domains): Remove.
189 (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
190 instead of the variable above.
192 2012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
194 * url-queue.el (url-queue-kill-job): Check whether the buffer has
195 been killed asynchronously before selecting it.
197 2012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
199 * url-queue.el (url-queue-kill-job): Make sure that the callback
200 is always called, even if we have a timeout.
202 2012-03-11 Chong Yidong <cyd@gnu.org>
204 * url-http.el (url-http-end-of-document-sentinel):
205 Handle keepalive expiry by calling url-http again (Bug#10223).
206 (url-http): New arg, for the above.
208 2012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
210 * url-http.el (url-http-find-free-connection): Don't pass a nil
211 argument to url-http-mark-connection-as-busy (bug#10891).
213 2012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
215 * url-queue.el (url-queue-kill-job): Delete the process sentinel
216 before killing the process to avoid a race condition between the
217 two processes killing off the process buffer.
219 * url.el (url-retrieve-internal): Warn about file errors when
220 pruning the cache instead of bugging out (bug#10831).
222 2012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
224 * url-queue.el (url-queue-callback-function): Remove the job from
225 the queue so that we don't kill the current buffer, which will
226 then make the callback function kill a random buffer.
228 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
230 * url-queue.el (url-queue-kill-job): Refactored out code.
231 (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
234 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
236 * url-future.el: Minor doc update.
238 2012-02-14 Leo Liu <sdl.web@gmail.com>
240 * url-future.el: Fix last change.
242 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
244 * url-future.el (url-future-test): Move to test/automated.
246 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
248 * url-http.el (url-http-parse-headers): When redirecting, pass on
249 the `inhibit-cookie' parameter.
251 2012-02-10 Glenn Morris <rgm@gnu.org>
253 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
255 2012-02-10 Andreas Schwab <schwab@linux-m68k.org>
257 * url-http.el (url-http-clean-headers): Return the number of
259 (url-http-wait-for-headers-change-function): Adjust end position
260 after cleaning the headers. (Bug#10768)
262 2012-02-10 Glenn Morris <rgm@gnu.org>
264 * url-queue.el (url-queue-retrieve): Doc fix.
266 2012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
268 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
269 to be able to keep track of whether to do cookies or not on a
272 * url-queue.el (url-queue-retrieve): Take an optional
273 `inhibit-cookies' parameter.
275 * url.el (url-retrieve): Ditto.
277 * url-http.el (url-http-create-request): Don't send cookies unless
279 (url-http-parse-headers): Don't store cookies unless requested.
281 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
283 * url-cache.el (url-cache-prune-cache): New function.
284 (url-cache-prune-cache): Check that the directory exists before
287 * url.el (url-retrieve-number-of-calls): New variable.
288 (url-retrieve-internal): Use it to expire the cache once in a
291 * url-queue.el (url-queue-setup-runners): New function that uses
292 `run-with-idle-timer' for extra asynchronicity.
293 (url-queue-remove-jobs-from-host): New function.
294 (url-queue-callback-function): Remove jobs from the same host if
297 2012-01-12 Glenn Morris <rgm@gnu.org>
299 * url-auth.el (url-basic-auth, url-digest-auth):
300 Allow reading usernames etc when the minibuffer is already in use,
301 eg in url-handler-mode. (Bug#10298)
303 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
305 * url-dav.el (url-dav-delete-file): Fix typo.
307 2011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
309 * url-http.el (url-http-async-sentinel): If the server hangs up
310 while we're talking to it, just `message' the error instead of
313 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
315 * url-cookie.el (url-cookie-expired-p): Protect against
316 zero-length cookie expiry dates.
318 2011-10-19 Chong Yidong <cyd@gnu.org>
320 * url-handlers.el (url-handler-mode): Doc fix.
322 2011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
324 * url-http.el (url-http-create-request): Avoid adding extra CRLF
327 2011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
329 * url-http.el (url-http-find-free-connection): If there was an
330 error on connect, make sure the user isn't bothered with
331 irrelevant questions.
333 2011-08-07 Chong Yidong <cyd@stupidchicken.com>
335 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
336 don't convert to a GET request (Bug#701).
338 2011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
340 * url-http.el (url-http): Copy over `url-show-status' to the async
341 buffer so that `url-display-percentage' does the right thing
344 2011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
346 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
349 2011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
351 * url-http.el (url-http-create-request): Remove double carriage
352 return and newline (bug#8931).
354 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
356 * url-http.el (url-http-wait-for-headers-change-function):
357 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
359 2011-06-04 Andreas Schwab <schwab@linux-m68k.org>
361 * url-future.el (url-future-test): Fix scope of `saver'.
363 2011-06-01 Glenn Morris <rgm@gnu.org>
365 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
366 Add :version tag for options that will be new in 24.1.
368 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
370 * url-queue.el (url-queue-parallel-processes): Increase the
371 default to 6, since 2 seems too conservative for normal usage.
373 2011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
375 * url-future.el: Add general futures facility.
377 2011-05-29 Leo Liu <sdl.web@gmail.com>
379 * url-cookie.el (url-cookie): Add option :named so that
380 url-cookie-p is defined. (Bug#8747)
382 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
384 * url-queue.el: New file.
385 (url-queue-run-queue): Pick the first waiting job, and not the last.
386 (url-queue-parallel-processes): Lower the concurrency level, since
387 Emacs doesn't seem to like too many async processes.
388 (url-queue-prune-old-entries): Fix up the pruning code.
390 2011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
392 * url-http.el (url-http-wait-for-headers-change-function):
393 Protect against malformed headerless responses from servers.
395 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
397 * url-gw.el (url-open-stream): Use new open-network-stream
398 functionality to perform encryption.
400 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
402 * url-cookie.el (url-cookie-handle-set-cookie):
403 Use `dolist' rather than `mapcar'.
405 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
407 * Version 23.3 released.
409 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
411 * url-parse.el (url-bit-for-url, url-user-for-url)
412 (url-password-for-url): Use `auto-source-search' instead of
413 `auto-source-user-or-password'.
415 * url-auth.el: Autoload `auto-source-search' instead of
416 `auto-source-user-or-password'.
417 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
419 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
421 * url-http.el (url-http-wait-for-headers-change-function):
422 Don't move point if the callback function has moved/changed/killed
425 2010-12-16 Miles Bader <miles@gnu.org>
427 * url-cookie.el: Require 'cl when compiling -- it's necessary for
430 2010-12-14 Glenn Morris <rgm@gnu.org>
432 * url-cookie.el: Don't require cl when compiling.
433 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
434 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
435 (url-cookie-handle-set-cookie): Simplify.
437 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
439 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
440 Suggested by Lennart Borgman (Bug#7543).
442 2010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
444 * url-file.el (url-file-build-filename): Avoid interpreting
445 file:/foo:/bar URLs via tramp.
447 2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
449 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
451 2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
453 * url-http.el (url-http-end-of-document-sentinel): Protect against
454 the process buffer being killed.
456 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
458 * url-http.el (url-http-wait-for-headers-change-function):
459 Protect against url-http-response-status for degenerate documents.
460 (url-http-wait-for-headers-change-function): Revert previous
461 change. It lead to really slow loads.
463 2010-10-03 Glenn Morris <rgm@gnu.org>
465 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
466 (url-get-url-at-point): Don't use eval-when-compile.
468 * url-cache.el (url-cache-create-filename-human-readable)
469 (url-cache-create-filename-using-md5):
470 * url-util.el (url-file-directory, url-file-nondirectory):
471 Don't use eval-when-compile and regexp-quote.
473 2010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
475 * url-vars.el (url-mime-charset-string): Change the default to
476 nil to avoid sending 1171 bytes of not very useful data to the
477 HTTP server every request.
479 2010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
481 * url-util.el (url-display-percentage): Don't message when the URL
483 (url-lazy-message): Ditto.
484 (url-lazy-message): Remove leftover debugging code.
486 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
487 back to the fetching function.
489 * url.el (url-retrieve): Add a silent parameter.
490 (url-retrieve-internal): Ditto.
492 * url-parse.el (url): Add a `silent' slot in the URL struct.
494 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
496 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
497 for the cookie warning, which isn't very interesting.
499 * url-http.el (url-http-async-sentinel): Check that the buffer is
500 still alive before switching to it.
502 2010-09-25 Julien Danjou <julien@danjou.info>
504 * url-cache.el (url-cache-create-filename): Ensure no-port and
505 default-port end up with the same cache file.
506 (url-cache-create-filename-human-readable)
507 (url-cache-create-filename-using-md5): Argument is always in the form of
510 2010-09-23 Glenn Morris <rgm@gnu.org>
512 * url-cache.el (url-is-cached): Doc fix.
514 2010-09-23 Glenn Morris <rgm@gnu.org>
516 * url-cache.el (url-cache-expired): Don't autoload.
517 Tweak previous change.
518 (url-cache-expire-time): Doc fix.
520 2010-09-23 Julien Danjou <julien@danjou.info>
522 * url-cache.el (url-cache-expire-time): New option.
523 (url-cache-expired): Rewrite.
525 2010-09-19 Julien Danjou <julien@danjou.info>
527 * url-cache.el (url-fetch-from-cache): New function.
529 2010-09-18 Julien Danjou <julien@danjou.info>
531 * url-vars.el (url-cache-expired): Remove unused variable.
533 2010-09-14 Julien Danjou <julien@danjou.info>
535 * url-cache.el (url-store-in-cache):
536 Make `buff' argument really optional.
538 2010-09-14 Glenn Morris <rgm@gnu.org>
540 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
542 2010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
544 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
546 2010-09-11 Glenn Morris <rgm@gnu.org>
548 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
549 * url-vars.el: Remove leading `*' from defcustom docs.
551 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
553 * url-http.el (url-http-parse-headers): Disable file name handlers at
554 all (not only Tramp). (Bug#6717)
556 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
558 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
560 2010-07-01 Mark A. Hershberger <mah@everybody.org>
562 * url-http.el (url-http-create-request): Add a CRLF on the end so
563 that POSTs with content to https URLs work.
564 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
566 2010-06-22 Mark A. Hershberger <mah@everybody.org>
568 * url-parse.el (url-user-for-url, url-password-for-url):
569 Convenience functions that get usernames and passwords for URLs
570 from auth-source functions.
572 2010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
574 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
576 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
578 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
580 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
582 * Version 23.2 released.
584 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
586 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
588 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
590 * url-http.el (url-http-parse-headers): Fix wrong variable name.
592 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
594 * url-http.el (url-http-codes): New variable to hold a mapping of
595 HTTP status codes' numbers, their symbolic name, and their text.
596 (url-http-parse-headers): Use it, leaving the original numeric
599 2010-03-19 Glenn Morris <rgm@gnu.org>
601 * url.el: Move mailcap require earlier in the file.
603 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
605 * url-vars.el (url): Put in comm group.
607 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
611 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
613 * url-util.el: Require url-vars (Bug#5459).
615 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
617 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
619 2009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
621 * url-http.el (url-http-handle-authentication): Use proxy server,
622 if any, for authentication (Bug#4883).
624 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
626 * url-util.el (url-insert-entities-in-string):
627 * url-nfs.el (url-nfs-unescape):
628 * url-ldap.el (url-ldap):
629 * url-imap.el (url-imap):
630 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
632 2009-10-01 Glenn Morris <rgm@gnu.org>
634 * url-http.el (url-dav-file-attributes): Fix declaration.
636 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
638 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
639 with 2005-06-25 change to copy-file (Bug#4410).
641 2009-09-13 Glenn Morris <rgm@gnu.org>
643 * url-file.el (url-file): Avoid assignment to free variable `filename'.
645 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
647 * url-methods.el (url-scheme--registering-proxy): New variable.
648 (url-scheme-register-proxy, url-scheme-get-property):
649 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
651 2009-08-22 Glenn Morris <rgm@gnu.org>
653 * url-file.el (url-file-build-filename):
654 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
655 system-types Apple-Macintosh, emx, ms-windows, next-mach.
657 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
661 2009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
663 * url-handlers.el (url-file-handler): Save match data.
665 2009-02-21 Jason Rumney <jasonr@gnu.org>
667 * url-expand.el (url-default-expander): Use concat to combine
670 2009-02-10 Glenn Morris <rgm@gnu.org>
672 * url-util.el (url-generate-unique-filename): Silence compiler.
674 2009-02-07 Chong Yidong <cyd@stupidchicken.com>
676 * url-file.el (url-file): Use make-temp-file.
678 * url-util.el (url-generate-unique-filename): Mark as obsolete.
680 * url-vars.el (url-temporary-directory): Mark as obsolete.
682 2009-01-15 Chong Yidong <cyd@stupidchicken.com>
684 * url-cookie.el (url-cookie-retrieve): Fix last change.
686 2009-01-14 Chong Yidong <cyd@stupidchicken.com>
688 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
690 2009-01-13 Juanma Barranquero <lekktu@gmail.com>
692 * url-util.el (url-truncate-url-for-viewing): Doc fix.
694 2009-01-09 Glenn Morris <rgm@gnu.org>
696 * url-cid.el (url-cid-gnus): Fix typo in header name.
698 2008-11-04 Chong Yidong <cyd@stupidchicken.com>
700 * url-util.el (url-basepath): Add url-basepath as an alias for
703 2008-10-24 Juanma Barranquero <lekktu@gmail.com>
705 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
707 2008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
709 * url-auth.el (url-basic-auth): Encode password string.
711 2008-08-30 Glenn Morris <rgm@gnu.org>
713 * url-http.el (url-https-expand-file-name): Resolve directly to
714 url-default-expander rather than via another alias.
715 (url-default-expander): Autoload an autoload. (Bug#825).
717 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
719 * url.el (url-do-setup):
720 * url-dired.el (url-dired-minor-mode):
721 * url-file.el (url-file-find-possibly-compressed-file):
722 * url-gw.el (url-gateway-broken-resolution):
723 * url-handlers.el (url-handler-regexp):
724 * url-imap.el (url-imap-default-port):
725 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
727 * url-auth.el (url-basic-auth-storage, url-digest-auth):
728 Fix typos in docstrings.
729 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
731 * url-cache.el (url-cache-prepare): Doc fix.
732 (url-cache-create-filename-human-readable, url-cache-extract):
733 Fix typos in docstrings.
735 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
736 (url-dav-delete-something): Fix typos in docstrings.
737 (url-dav-http-success-p, url-dav-file-name-all-completions)
738 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
740 * url-http.el (url-http-idle-sentinel): Doc fix.
742 * url-irc.el (url-irc-default-port): Fix typo in docstring.
743 (url-irc-function): Doc fix.
745 * url-util.el (url-get-url-filename-chars, url-unhex-string):
746 Fix typos in docstrings.
747 (url-file-extension): Doc fix.
749 * url-vars.el (url-current-object, url-current-mime-headers)
750 (url-privacy-level, url-mail-command, url-mime-language-string):
751 Fix typos in docstrings.
752 (url-honor-refresh-requests): Reflow docstring.
753 (url-using-proxy): Doc fix.
755 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
757 * vc-dav.el: Move to the parent directory to be together with the
758 rest of the VC backends.
760 2008-06-07 Glenn Morris <rgm@gnu.org>
762 * url-auth.el (auth-source-user-or-password): Remove unnecessary
765 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
767 * url-handlers.el (url-file-name-completion): Add missing argument.
769 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
771 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
772 (url-basic-auth, url-digest-auth): Use it with any realm,
773 overriding the user name and password before the prompt.
775 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
777 * url-vars.el (url-load-hook): Fix typo in docstring.
779 2008-03-09 Magnus Henoch <mange@freemail.hu>
781 * url-http.el (url-http-chunked-encoding-after-change-function):
782 Remove superfluous CRLF at end of file. (Bug #42)
784 2008-03-02 Andreas Schwab <schwab@suse.de>
786 * url-util.el: Require cl when compiling.
788 2008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
790 * url-util.el (url-get-normalized-date): Simplify to use
791 `format-time-string'. Always generate date in UTC, but
792 call it GMT for full compatibility with the RFCs.
794 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
796 * url-handlers.el (file-remote-p): Add handler.
797 (url-handler-file-remote-p): New fun.
799 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
801 * url-handlers.el (url-handler-unhandled-file-name-directory):
802 Handle `file' URLs specially. Return nil for non-local filenames.
804 2008-02-04 Magnus Henoch <mange@freemail.hu>
806 * url-expand.el: Require cl when compiling, for setf.
808 2008-01-29 John Wiegley <johnw@newartisans.com>
810 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
811 being used, don't add it to the response text. Also, changed an
812 if so that the interaction between the PROMPT and OVERWRITE
813 arguments can no longer result in the user being queried twice for
814 the same login and password information.
816 2008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
818 * url-handlers.el (unhandled-file-name-directory): Add handler.
819 (url-handler-unhandled-file-name-directory): New fun.
821 2008-01-07 Michael Albinus <michael.albinus@gmx.de>
823 * url-handlers.el (url-file-handler): Autoload.
825 2007-12-11 Glenn Morris <rgm@gnu.org>
827 * url.el (url-configuration-directory): Make it a defcustom.
829 * url-util.el (url-make-private-file): New function.
830 * url-cookie.el (url-cookie-write-file):
831 * url-history.el (url-history-save-history):
832 Use url-make-private-file and with-temp-buffer.
834 2007-12-06 Glenn Morris <rgm@gnu.org>
836 * url-file.el, url-mailto.el: Remove directory part from filenames
837 in function declarations.
839 2007-12-02 Glenn Morris <rgm@gnu.org>
841 * url-about.el, url-handlers.el: Don't require cl when compiling.
843 * url-dav.el (url-dav-delete-directory): Fix message typo.
845 * url-history.el (top-level): Don't require cl when compiling.
846 (url-history-setup-save-timer, url-history-save-history):
847 Use condition-case rather than ignore-errors.
849 * url-imap.el (top-level): Don't require cl when compiling.
850 (url-imap): Use signal rather than check-type.
852 * url-news.el (top-level): Don't require cl when compiling.
853 (gnus-group-buffer): Define for compiler.
854 (url-news-fetch-message-id): Don't use `declare'.
855 (nntp-open-tls-stream, nntp-open-ssl-stream):
856 No need to define for compiler.
857 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
858 Correct quoting of nntp-open-connection-function value.
860 2007-12-01 Glenn Morris <rgm@gnu.org>
862 * url-handlers.el (top-level): Always require url-parse, not just
865 2007-11-30 Glenn Morris <rgm@gnu.org>
867 * url-cookie.el (url-cookie-p): Declare as a function.
869 2007-11-29 Glenn Morris <rgm@gnu.org>
871 * url-file.el (url-file-build-filename, url-file): Wrap uses of
872 efs in (featurep 'xemacs) test.
874 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
876 2007-11-28 Diane Murray <disumu@x3y2z1.net>
878 * url-dired.el: Don't require w3-fetch and w3-open-local.
879 (url-dired-find-file): Use `find-file'. Doc fix.
880 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
882 2007-11-24 Glenn Morris <rgm@gnu.org>
884 * url-privacy.el (url-device-type): Fix typo.
886 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
888 * url-mailto.el (mail-send-and-exit):
889 * url-http.el (url-dav-file-attributes):
890 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
891 (url-generate-unique-filename): Declare as functions.
893 * url-privacy.el (url-device-type): Define unconditionally.
895 2007-11-15 Richard Stallman <rms@gnu.org>
897 * url.el (url-retrieve-synchronously): Call delete-process.
899 2007-10-31 Juanma Barranquero <lekktu@gmail.com>
901 * url-vars.el (url-vars-unload-hook): Remove function and variable.
902 Hooks are automatically removed by `unload-feature'.
904 2007-10-13 Richard Stallman <rms@gnu.org>
906 * url-util.el (url-basepath): Function deleted.
907 (url-file-directory, url-file-nondirectory): New functions
908 replacing url-basepath. Callers changed.
910 * url-expand.el (url-default-expander): Use `url-file-directory'.
912 * url-auth.el (url-digest-auth, url-basic-auth):
913 Rename `path' to `file'. Use `url-file-directory'.
915 2007-10-12 Diane Murray <disumu@x3y2z1.net>
917 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
918 empty string filename.
920 2007-10-09 Richard Stallman <rms@gnu.org>
922 * url-parse.el (url-type, url-user, url-password, url-host)
923 (url-port, url-filename, url-target, url-attributes)
924 (url-fullness, url-set-type, url-set-user, url-set-password)
925 (url-set-host, url-set-port, url-set-filename, url-set-target)
926 (url-set-attributes, url-set-full): Change macros to defuns.
928 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
931 * url-vars.el (top): Use `mapc' rather than `mapcar'.
933 2007-09-22 Diane Murray <disumu@x3y2z1.net>
935 * url-misc.el (url-generic-emulator-loader): Send the port as a
936 string to `url-do-terminal-emulator'.
938 2007-09-21 Diane Murray <disumu@x3y2z1.net>
940 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
942 * url-util.el (url-get-normalized-date): Pass full timezone
943 information to timezone-make-date-arpa-standard, since zone name
946 2007-09-03 Diane Murray <disumu@x3y2z1.net>
948 * url-http.el (url-http-parse-headers): Bind the current buffer
949 rather than calling `url-mark-buffer-as-dead' with
950 `current-buffer', so that the correct buffer is killed if
951 `url-retrieve-synchronously' gets redirected to a new URL.
953 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
955 * url-parse.el (url): Use defstruct rather than macros.
956 (url-generic-parse-url):
957 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
958 * url-methods.el (url-scheme-register-proxy):
959 * url-mailto.el (url-mailto):
960 * url-file.el (url-file-build-filename):
961 * url-expand.el (url-identity-expander, url-default-expander):
964 2007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
966 * url-auth.el (url-basic-auth): When prompting for username
967 and password, default to the username and password in the URL.
969 2007-08-08 Glenn Morris <rgm@gnu.org>
971 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
972 Replace `iff' in doc-strings and comments.
974 2007-07-25 Glenn Morris <rgm@gnu.org>
976 * Relicense all FSF files to GPLv3 or later.
978 2007-06-12 Tom Tromey <tromey@redhat.com>
980 * url.el (url-configuration-directory): Use user-emacs-directory.
982 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
984 * url-cookie.el (url-cookie-name, url-cookie-value)
985 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
986 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
987 (url-cookie-set-expires, url-cookie-set-localpart)
988 (url-cookie-set-domain, url-cookie-set-secure)
989 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
990 (url-cookie): New struct.
991 (url-cookie-store): Use setf instead of url-cookie-set-*.
993 2007-05-29 Chong Yidong <cyd@stupidchicken.com>
995 * url-mailto.el (url-mailto): Insert body after
996 mail-header-separator if present, so that it is before signature.
997 Suggested by Leo <sdl.web@gmail.com>.
999 2007-04-15 Chong Yidong <cyd@stupidchicken.com>
1001 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
1003 2007-04-13 Chong Yidong <cyd@stupidchicken.com>
1005 * url-http.el (url-http-parse-headers): Stop after a set number of
1006 redirections. Suggested by Diane Murray.
1008 * url-vars.el (url-max-redirections): New var.
1010 2007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
1012 * url-http.el (url-http-handle-cookies): Reverse list returned by
1013 `mail-fetch-field', so that cookies are set in the correct order.
1015 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
1016 Deal with wildcard dots in domain values.
1018 2007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
1020 * url-http.el (url-http-mark-connection-as-busy)
1021 (url-http-mark-connection-as-free): Clear query-on-exit flag on
1024 2007-02-04 Chong Yidong <cyd@stupidchicken.com>
1026 * url-http.el (url-http-connection-opened): New variable.
1027 (url-http): Initialize it.
1028 (url-http-async-sentinel): Don't try changing sentinels.
1029 Run url-http-end-of-document-sentinel if necessary.
1031 2007-01-29 Juanma Barranquero <lekktu@gmail.com>
1033 * url-auth.el (url-get-authentication): Fix typo in docstring.
1035 2007-01-14 Magnus Henoch <mange@freemail.hu>
1037 * url-proxy.el (url-proxy-object): Remove.
1038 (url-proxy): Don't use `url-proxy-object'. Act according to type of
1039 proxy (currently only HTTP supported).
1041 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
1043 * url-http.el (url-http-proxy): New variable.
1044 (url-http-create-request): Use it. Don't use `url-proxy-object'.
1045 (url-http): Treat `url' argument as resource to download, and
1046 dynamic variable `url-using-proxy' as proxy to use.
1047 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
1049 (url-http-handle-cookies): Assume that `url-current-object' does
1050 not point to the proxy used.
1051 (url-http-async-sentinel): Adapt error message.
1053 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
1055 * url-gw.el (url-gateway-nslookup-program): Doc fix.
1057 2006-12-08 Magnus Henoch <mange@freemail.hu>
1059 * url-proxy.el (url-proxy-object): New variable.
1060 (url-proxy): Bind it instead of `proxy-object'.
1062 * url-http.el (url-http-create-request): Remove url argument, use
1063 the buffer-local variable `url-http-target-url' instead.
1064 Both callers updated. Simplify proxy handling.
1065 (url-http): Don't make proxy-object buffer local.
1067 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
1069 2006-11-26 Magnus Henoch <mange@freemail.hu>
1071 * url-http.el (url-http-wait-for-headers-change-function):
1072 Use `when' instead of `if' when possible.
1073 (url-http): Define url-http-response-version.
1074 (url-http-parse-response): Set it.
1075 (url-http-parse-headers): Use it to determine keep-alive behavior.
1077 2006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
1079 * url-http.el (url-http-content-length-after-change-function):
1080 Use `url-lazy-message'.
1082 * url-util.el (url-display-percentage): Only show a message if
1083 `url-show-status' is non-nil.
1085 2006-11-15 Magnus Henoch <mange@freemail.hu>
1087 * url-http.el (url-http): Make proxy-object buffer-local, to
1088 handle proxied asynchronous connections correctly.
1090 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
1092 2006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
1094 * url-http.el (url-http-wait-for-headers-change-function):
1095 Defer detection of HTTP 0.9 until we have at least one line.
1097 2006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
1099 * url-http.el (url-http-mark-connection-as-free)
1100 (url-http-find-free-connection): Don't treat process with status
1102 (url-http-async-sentinel): Request correct url.
1104 2006-11-08 Magnus Henoch <mange@freemail.hu>
1106 * url-http.el (url-http-handle-authentication): If there are
1107 several authentication headers, use the strongest available
1110 * url.el (url-retrieve-synchronously): Allow quitting when
1113 2006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
1115 * url-http.el (url-http-handle-authentication): If there are
1116 several authentication headers, use the first with a supported
1119 2006-11-01 Magnus Henoch <mange@freemail.hu>
1121 * url-http.el (url-http-create-request): Use buffer-local
1122 equivalents of dynamically bound variables.
1124 2006-10-29 Magnus Henoch <mange@freemail.hu>
1126 * url-gw.el (url-open-stream): Really use asynchronous
1127 connections (accidentally disabled during debugging).
1129 2006-10-28 Magnus Henoch <mange@freemail.hu>
1131 * url-http.el (url-http-parse-headers): Fix misplaced paren.
1133 2006-10-27 Magnus Henoch <mange@freemail.hu>
1135 * url-http.el (url-http-mark-connection-as-free): Verify that
1136 connection is open before saving it.
1137 (url-http-handle-authentication): Use url-retrieve-internal
1138 instead of url-retrieve.
1139 (url-http-parse-headers): Adapt to new callback interface.
1140 (url-http): Handle non-blocking connections.
1141 (url-http-async-sentinel): Create.
1143 * url.el (url-retrieve): Update docstring for new callback interface.
1145 (url-retrieve-internal): Move code from url-retrieve here.
1147 * url-gw.el (url-open-stream): Use a non-blocking socket for
1148 `native' gateway method, if available.
1150 2006-10-16 Magnus Henoch <mange@freemail.hu>
1152 * url-http.el (url-https-create-secure-wrapper):
1153 Always use tls gateway method.
1155 2006-10-12 Magnus Henoch <mange@freemail.hu>
1157 * url-http.el (url-http-find-free-connection):
1158 Handle url-open-stream returning nil.
1160 2006-10-11 Magnus Henoch <mange@freemail.hu>
1162 * url-https.el: Remove (clashes with url-http on 8+3 systems).
1164 * url-http.el: Move contents of url-https.el here. Add autoloads.
1166 2006-10-09 Magnus Henoch <mange@freemail.hu>
1168 * url-parse.el (url-generic-parse-url): Handle URLs with empty
1169 path component and non-empty query component. Untangle path,
1170 query and fragment parsing code. Add references to RFC 3986 in
1172 (url-recreate-url-attributes): Start query string with "?", not ";".
1174 2006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1176 * url-dav.el (url-dav-file-attributes): Simplify.
1178 * url-http.el (url-http-head-file-attributes): Add device "info".
1180 2006-09-18 Michael Olson <mwolson@gnu.org>
1182 * url-methods.el (url-scheme-register-proxy): Handle case where
1183 getenv returns an empty string for http_proxy. This prevents an
1184 error when calling `format' later on.
1186 2006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
1188 * url-parse.el (url-recreate-url-attributes): New function, code
1189 simply moved from `url-recreate-url'.
1190 (url-recreate-url): Use it.
1191 Put the `url-target' at the end of the URL after the attributes.
1193 * url-http.el (url-http-create-request):
1194 Use `url-recreate-url-attributes' when setting real-fname.
1196 2006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
1198 * url-cookie.el (url-cookie-write-file): Really don't use versioned
1201 2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1203 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
1204 dest file will already exist.
1206 2006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1208 * url-util.el (url-hexify-string): Only utf-8 encode if it's
1210 (url-normalize-url): Remove unused var `grok'.
1211 (url-truncate-url-for-viewing): Remove unused var `tail'.
1213 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
1215 * url-util.el (url-hexify-string): Rewrite.
1216 Suggested by David Smith <davidsmith@acm.org>.
1218 2006-07-12 Michael Olson <mwolson@gnu.org>
1220 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
1222 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1224 * url-cookie.el: Remove spurious * in docstrings.
1225 (url-cookie-write-file): Don't use versioned backups.
1226 (url-cookie-host-can-set-p): Remove unused var `tmp'.
1228 2006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
1230 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
1231 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
1233 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
1235 * url-http.el (url-http-file-exists-p): Test if status is integer.
1237 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
1239 * url-http.el (url-http-parse-headers): Don't reuse connection if
1240 "Connection: close" header was seen.
1242 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1244 * url-gw.el (url-open-stream): Don't hide errors.
1245 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1247 * url-handlers.el (url-insert): New function.
1248 (url-insert-file-contents): Use it.
1250 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1252 * url-handlers.el (url-handler-directory-file-name): New handler.
1253 (url-file-local-copy): Plug race condition security hole.
1255 2006-03-27 Romain Francoise <romain@orebokech.com>
1257 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1258 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1259 Default to rcirc, since ZenIRC isn't part of Emacs.
1261 2006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1263 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1265 2006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1267 * url-http.el (url-http-find-free-connection): Don't kill the process
1268 when killing the temp buffer.
1269 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1270 byte-compiler that the function is defined.
1272 2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1274 * url.el (url-redirect-buffer): New var.
1275 (url-retrieve-synchronously): Use it to follow redirections.
1277 * url-http.el: Require `url' rather than try to autoload parts of it.
1278 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1279 (url-http-parse-headers): Set `url-redirect-buffer' when following
1280 a redirection reply.
1282 2006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1284 * url-news.el: Move defvars out of eval-when-compile.
1285 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1286 Use with-current-buffer.
1288 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1290 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1291 to stop in the middle of a redirection.
1293 * url-vars.el (url-privacy-level): Add setter.
1295 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * url-history.el (url-history-hash-table): Initialize in declaration.
1298 (url-history-parse-history): Don't reset the history.
1299 (url-history-save-history): Create parent dir if necessary.
1300 (url-history-save-history): Don't write the initialization of
1301 url-history-hash-table into the history file.
1302 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
1303 (url-completion-function): Simplify.
1305 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1306 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1307 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1308 (url-cookie-setup-save-timer): Remove autoload cookies.
1309 They're only called from files that require url-cookie anyway.
1311 * url-history.el (url-history-setup-save-timer)
1312 (url-history-parse-history, url-history-save-history):
1313 Remove autoload cookies. They're only called from url.el which requires
1315 (url-history-parse-history): Don't complain if the file is missing.
1317 2006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1319 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1321 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1323 * url-cache.el: Require `url'.
1325 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1327 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1329 * url.el (url-configuration-directory): Don't autoload because the
1330 default value needs to be computed at run-time, not dump-time.
1332 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1334 * url-cookie.el (url-cookie-write-file): Create parent dir.
1336 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1338 2005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1340 * url-cookie.el (url-cookie-save-interval): Simplify.
1341 (url-cookie-setup-save-timer): Simplify.
1343 2005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1345 * url-history.el (url-history-list): Var deleted.
1346 (url-history-save-interval): Simplify.
1347 (url-history-setup-save-timer): Simplify.
1349 2005-12-01 Kim F. Storm <storm@cua.dk>
1351 * url-history.el (url-history-track): Fix last change.
1353 2005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1355 * url-history.el (url-history-track):
1356 Call url-history-setup-save-timer in :set function.
1357 :type allows three alternatives.
1358 (url-history-setup-save-timer): Test url-history-track.
1359 * url.el (url-retrieve): Test url-history-track.
1361 2005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1363 * url-http.el: Use with-current-buffer.
1364 (url-http-target-url): Rename from url-http-cookies-sources.
1365 (url-http-parse-headers): Use it.
1366 (url-http-handle-authentication): Use subst-char-in-string.
1368 2005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
1370 * url-handlers.el (url-insert-file-contents): Use the charset info
1371 provided by the HTTP server, if any.
1373 2005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1375 * url-nfs.el (top level):
1376 * url-handlers.el (directory-files):
1377 * url-file.el (top level):
1378 * url-dired.el (url-dired-minor-mode-map):
1379 * url-http.el (url-http-chunked-encoding-after-change-function):
1380 Remove XEmacs support.
1382 2005-10-15 Richard M. Stallman <rms@gnu.org>
1384 * url.el: Don't try to autoload hash table functions.
1386 2005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1388 * url-http.el (url-http-create-request): Avoid incorrect implicit
1389 unibyte->multibyte conversion.
1391 2005-09-17 Richard M. Stallman <rms@gnu.org>
1393 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1395 * url-mailto.el (url-mailto): Special case `mail'.
1396 Don't test fboundp of `compose-mail'.
1398 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
1400 * url-mailto.el (url-mailto): Delete mail buffer after sending
1402 Call `compose-mail with `new' argument if possible.
1404 2005-09-13 Chong Yidong <cyd@stupidchicken.com>
1406 * url-mailto.el (url-mailto): Always use a new mail buffer.
1408 2005-09-01 Chong Yidong <cyd@stupidchicken.com>
1410 * url-util.el (url-parse-query-string): New optional argument
1411 allow-newlines allows decoding of newlines.
1413 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1414 Don't lose original "to" value when there is a "to" header.
1415 Remove carriage return characters in message body.
1417 2005-08-24 Juanma Barranquero <lekktu@gmail.com>
1419 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1420 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1422 2005-07-15 Richard M. Stallman <rms@gnu.org>
1424 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1425 when calling url-retrieve, to indicate a redirect.
1427 * url.el (url-retrieve): The callback function can get an additional
1430 2005-07-04 Lute Kamstra <lute@gnu.org>
1432 Update FSF's address in GPL notices.
1434 2005-07-04 Juanma Barranquero <lekktu@gmail.com>
1436 * url-history.el (url-history-track): Doc fix.
1437 (url-history): Finish `defgroup' description with period.
1439 * url-cookie.el (url-cookie):
1440 * url-gw.el (url-gateway):
1441 * url-news.el (url-news):
1442 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1443 Finish `defgroup' description with period.
1445 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1447 * url-http.el (url-http-create-request): Call url-recreate-url
1450 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1452 * url-http.el (url-http-create-request): When computing real-fname,
1453 call url-filename in both cases.
1455 2005-06-27 Richard M. Stallman <rms@gnu.org>
1457 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1458 (url-cookie-retrieve): Likewise.
1459 (url-cookie-generate-header-lines): Likewise.
1460 (url-cookie-handle-set-cookie): Likewise.
1461 (url-cookie-create): Expect :localpart instead of :path.
1462 (url-cookie-localpart): Rename from url-cookie-path.
1463 (url-cookie-set-localpart): Rename from url-cookie-set-path.
1464 (url-cookie-file): Doc fix.
1465 (url-cookie-p): Add doc string.
1467 2005-06-23 Richard M. Stallman <rms@gnu.org>
1469 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1471 2005-06-21 Juanma Barranquero <lekktu@gmail.com>
1473 * url-gw.el (url-open-stream):
1474 * url-vars.el (url-gateway-unplugged): Fix spellings.
1476 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
1478 * url-history.el (url-completion-function): Follow error conventions.
1480 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1482 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1484 2005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1486 * url-dav.el: Remove most autoload cookies.
1487 Don't hook into the url-file-handler since it currently breaks all
1490 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1492 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1493 fetching a file via ange-ftp.
1495 2005-06-10 Juanma Barranquero <lekktu@gmail.com>
1497 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
1499 2005-05-19 Juanma Barranquero <lekktu@gmail.com>
1501 * url-cookie.el (url-cookie-multiple-line):
1502 Specify group and type in defcustom.
1504 2005-05-06 Juanma Barranquero <lekktu@gmail.com>
1506 * url-auth.el (url-register-auth-scheme):
1507 * url-cookie.el (url-cookie-expired-p):
1508 * url-dav.el (url-dav-process-date-property)
1509 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1510 * url-http.el (url-http-chunked-encoding-after-change-function)
1511 (url-http-wait-for-headers-change-function):
1512 * url-ns.el (isInNet):
1513 * url-parse.el (url-generic-parse-url):
1514 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1515 by `string-to-number'.
1517 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1519 * url.el (url-retrieve-synchronously): Work around the fact that
1520 url-http sometimes doesn't call the callback.
1522 2005-04-04 Lute Kamstra <lute@gnu.org>
1524 * url-handlers.el (url-handler-mode): Specify :group.
1526 2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1528 * url-history.el (url-have-visited-url): Don't barf if
1529 url-history-hash-table is nil.
1531 2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1533 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1535 2005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1537 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1538 to nil, like for the 303 response.
1540 2005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1542 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1545 2005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1547 * url-http.el (url-http-handle-authentication):
1548 Don't kill the current buffer.
1550 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * url-handlers.el: Don't `require' everything eagerly.
1554 2004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1556 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1557 to `url-http-cookies-sources' so that cookies are attributed to
1559 (url-http): Make local variable `url-http-cookies-sources'.
1561 2004-11-28 Andreas Schwab <schwab@suse.de>
1563 * url-http.el (url-http-create-request): Don't add newline after
1566 2004-11-20 Masatake YAMATO <jet@gyve.org>
1568 * url.el (url-mm-callback): Delay the invocation
1569 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
1570 when the buffer is killed.
1572 2004-11-12 Masatake YAMATO <jet@gyve.org>
1574 * url-mailto.el (url-mailto): Fix a typo in the comment.
1576 2004-11-02 Masatake YAMATO <jet@gyve.org>
1578 * url-imap.el (url-imap-open-host): Don't use
1579 `string-to-int'. The port returned by `url-port'
1580 is expected to be an integer.
1582 * url-irc.el (url-irc): Ditto.
1584 * url-news.el (url-news-open-host): Ditto.
1586 * url-nfs.el (url-nfs-build-filename): Ditto.
1588 2004-10-20 John Paul Wallington <jpw@gnu.org>
1590 * url-gw.el (url-gateway-nslookup-host):
1591 Use `set-process-query-on-exit-flag'.
1593 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1608 * url-proxy.el: Update header and footer.
1610 * url-vars.el: Update header.
1612 2004-10-16 Richard M. Stallman <rms@gnu.org>
1614 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1616 * url-vars.el (url-passwd-entry-func): Var deleted.
1617 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
1618 (url-weekday-alist): Rename from weekday-alist.
1619 (url-monthabbrev-alist): Rename from monthabbrev-alist.
1620 (url-vars-unload-hook): Initialize hook var to hold the function.
1622 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1623 url-monthabbrev-alist.
1625 * url-misc.el: Load cl at compile time.
1627 * url-mailto.el: Don't load cl.
1628 (url-mailto): Fix call to `push'.
1630 * url-gw.el (url-open-telnet): Use read-passwd.
1632 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1634 2004-10-12 Simon Josefsson <jas@extundo.com>
1636 * url-vars.el (url-gateway-method): Add new method `tls'.
1638 * url-news.el (url-snews): Use nntp-open-tls-stream if
1639 url-gateway-method is tls.
1641 * url-ldap.el (url-ldap-certificate-formatter):
1642 Use tls-certificate-information if ssl.el is not available.
1644 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1647 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1648 (url-open-stream): Likewise.
1650 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1670 * url-util.el: Fix copyright notice.
1672 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1674 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1675 encoding, not the buffer-file-name (which might not even exist).
1677 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1679 * url-handlers.el (url-insert-file-contents): Decode contents.
1681 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * url-util.el (url-debug): Use with-current-buffer.
1685 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1686 (url-nfs-create-wrapper): Use new backquote syntax.
1688 * url-https.el (url-https-file-attributes): Add id-format param.
1690 * url-http.el (url-http-head-file-attributes)
1691 (url-http-file-attributes): Add id-format parameter.
1693 * url-handlers.el: Use new find-file-hook.
1694 (url-file-attributes): Add id-format parameter.
1696 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1697 (url-file-file-attributes): Add id-format parameter.
1699 * url-dav.el: Use with-current-buffer.
1700 (url-dav-process-response): Fix regexps and spurious quote.
1701 (url-dav-file-attributes): Add id-format param.
1703 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1705 * url.el (url-retrieve): Use with-current-buffer.
1707 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1708 Remove unused var `version'.
1710 * url-handlers.el (url-handler-mode): New minor mode.
1711 (url-setup-file-name-handlers): Remove.
1713 2004-04-12 John Paul Wallington <jpw@gnu.org>
1715 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1716 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1718 2004-04-11 Dave Love <fx@gnu.org>
1720 * url-mailto.el (url-mailto):
1721 * url-history.el (url-history-setup-save-timer):
1722 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1724 * url-file.el (url-file-build-filename): Don't use
1727 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1729 * url-about.el (url-scheme-registry): Defvar.
1730 (url-about): Use text/plain.
1732 * url-vars.el (cl): Don't require.
1733 (url): Add :version.
1734 (url-bug-address): Use bug-gnu-emacs.
1736 * url-util.el (url-hexify-string): Don't give multibyte error
1738 (mail-header-extract): Autoload.
1740 * url-parse.el: Doc fixes.
1742 * url-ldap.el (ldap): Require.
1743 (url-ldap): Fix `format' call.
1744 (url-ldap-certificate-formatter): Avoid warning.
1746 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
1748 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1749 (url-intersection): New.
1750 (url-dav-supported-p): Use it.
1751 (url-dav-save-resource): Declare url-http-response-status special.
1753 * url-cache.el (url-util): Require.
1755 2004-04-10 Miles Bader <miles@gnu.org>
1757 RCS keyword removal (only non-comment changes are enumerated here):
1759 * url-vars.el (url-version): Use the constant string "Emacs"
1760 instead of calculating something from the RCS `State' keyword
1761 [the latter is almost entirely useless anyway].
1763 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1766 * url-parse.el: Don't require url-auto.
1768 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1770 * url: Imported the URL package from its own CVS repository into Emacs.
1772 ===========================================================================
1773 ===========================================================================
1774 Copy of the ChangeLog file from URL's own CVS repository:
1775 ===========================================================================
1776 ===========================================================================
1778 2003-07-16 Dave Love <fx@gnu.org>
1780 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1781 Should be revisited.
1783 2003-06-26 Sam Steingold <sds@gnu.org>
1785 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1786 method on invalid urls.
1788 2003-05-29 Dave Love <fx@gnu.org>
1790 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1791 sit-for. From monnier@gnu.org.
1793 2002-11-04 Walter C. Pelissero <walter@pelissero.org>
1795 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1796 port numbers to integers when creating the URL objects for proxies.
1798 2002-10-29 William M. Perry <wmperry@gnu.org>
1800 * lisp/url-http.el (url-http-parse-headers): When doing a
1801 redirect, some broken software (sourceforge) sends a redirect to
1802 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1803 specification). I wish we could deal with such lame software
1804 appropriately (spank the authors), but this is the web, so we have
1805 to kow-tow to the servers.
1807 2002-10-27 William M. Perry <wmperry@gnu.org>
1809 * lisp/url-http.el (url-http-create-request): If we are talking to
1810 the default port for a the selected protocol, do NOT send the port
1811 in the HOST header. This fixes the login page at sourceforge.
1813 2002-09-17 William M. Perry <wmperry@gnu.org>
1815 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1816 with cookie headers.
1817 (url-http-parse-headers): Call `url-http-handle-cookies' here so
1818 that cookie additions and deletions get handled immediately.
1819 This is so that sites that set cookies while doing redirects
1820 (my.yahoo.com, outlook web access, etc) work. This should also
1821 fix sites that delete cookies on invalid access or other error
1822 pages the user might not actually see.
1823 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1824 methods to GET in redirects. Too many web sites do this now, and
1825 it is just likely to confuse users.
1827 2002-05-17 Dave Love <fx@gnu.org>
1829 * texi/url.txi: Start making it vaguely useful.
1831 * texi/Makefile.in (install): Cope with Debian install-info.
1832 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
1834 2002-04-22 Dave Love <fx@gnu.org>
1836 * lisp/url-misc.el (man): Autoload to avoid warning.
1837 (url-man): Don't require man here.
1838 (url-data): Generalize in line with the RFC.
1840 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1842 * lisp/url-vars.el: Doc fixes.
1843 (url-mime-charset-string): New function.
1844 (url-mime-charset-string): Use it to set the variable.
1845 (url-set-mime-charset-string): New function.
1846 (set-language-environment-hook): Use it.
1847 (url-vars-unload-hook): New function.
1849 * lisp/url-cookie.el (url-header-comparison): Delete.
1850 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
1851 (url-cookie-save-interval): Make value agree with doc.
1853 * lisp/url.el: Doc fixes.
1854 (url-mm-callback): Don't call mm-destroy-parts immediately for
1855 external viewing -- set up a process sentinel.
1857 2002-02-02 William M. Perry <wmperry@gnu.org>
1859 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
1861 2001-12-12 William M. Perry <wmperry@gnu.org>
1863 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1864 Monnier to use ` instead of ^ to match the relative link.
1866 2001-12-10 William M. Perry <wmperry@gnu.org>
1868 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1869 plist-get (reversed args).
1871 * lisp/url-file.el (url-file-build-filename): Make sure that we
1872 have a parsed URL in this function.
1874 2002-01-22 Dave Love <fx@gnu.org>
1876 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1878 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1879 Bind coding-system-for-read. Require mm-util.
1881 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1883 * lisp/mule-sysdp.el: Removed (obsolete).
1885 2001-12-09 William M. Perry <wmperry@gnu.org>
1887 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1888 remove an arbitrary resource.
1889 (url-dav-delete-directory): Use it.
1890 (url-dav-delete-file): Ditto.
1891 (url-dav-make-directory): New function.
1892 (url-dav-rename-file): New function.
1893 (url-dav-register-handler): New function to easily register a
1894 WebDAV-specific file-name-handler operation.
1895 (url-dav-file-name-all-completions, url-dav-file-name-completion):
1896 New functions that allow file-name completion for WebDAV resources.
1898 2001-12-08 William M. Perry <wmperry@gnu.org>
1900 * lisp/url-dav.el (url-dav-directory-files): New function to
1901 mimic `directory-files' for WebDAV.
1902 (url-dav-delete-directory): New function to mimic
1903 `delete-directory' for WebDAV.
1905 2001-12-06 William M. Perry <wmperry@gnu.org>
1907 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1908 DAV:locktoken hrefs into a usable format.
1909 (url-dav-process-response): Use an unwind-protect to make sure
1910 that we clean up the buffer, even if there is a parsing error.
1911 (url-dav-request): New function to act as the main entry point for
1912 making DAV requests. Takes care of building the XML document with
1913 appropriate namespaces, depth, etc, and parses the results.
1914 (url-dav-get-properties): Use new url-dav-request function.
1915 This is now just a thin wrapper around that to use PROPFIND and set any
1916 extra properties we are looking for.
1917 (url-dav-unlock-resource): New function to release a lock given a
1918 URL and a lock-token.
1919 (url-dav-process-DAV:getlastmodified)
1920 (url-dav-process-DAV:creationdate)
1921 (url-dav-process-DAV:iscollection)
1922 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1924 (url-dav-active-locks): New function to get a list of all the
1925 active locks for a resource.
1926 (url-dav-save-resource): New function to actually save a resource
1927 using the PUT method. I can now successfully save files to an
1928 HTTP server with some manual steps from a lisp-interaction buffer.
1930 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1931 Special case the 204/205 response codes. Some servers do not
1932 send back a 0 content-length for these, and we would hang.
1933 (url-http-parse-headers): Mark 204/205 response codes as
1934 'successful' so that the callbacks get activated.
1935 (url-http-options): Fix unbound variable usage.
1937 * lisp/url-dav.el: Added full copyright information.
1938 (url-dav-process-response): Make sure that we create a DAV:status
1939 property when parsing a singleton response.
1940 (url-dav-file-attributes): If the properties returned did not have
1941 a successful HTTP response code, then ignore them and use the
1942 HEAD-based attributes.
1944 * lisp/vc-dav.el: Added full copyright information.
1946 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1947 Deal with text nodes in DAV:supportedlock nodes.
1948 (url-dav-file-attributes-mode-string): This now gets the entire
1949 property list instead of just the DAV:supportedlock node.
1950 (url-dav-file-attributes): Make sure to pass the whole list in.
1951 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
1952 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1953 'executable' bit to set the 'x' mode. See `mod_dav's custom
1954 properties' at http://www.webdav.org/mod_dav/ for more details.
1955 (url-dav-find-parser): New function to find the proper parser for
1956 a node-type. Looks for
1957 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1958 back to using url-dav-node-text. Caches the results on the nodes
1960 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1961 (url-dav-process-*): Rename most of the handlers and made them
1962 use url-dav-dispatch-node where appropriate.
1963 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1964 property to dispatch the node, now uses dav-dispatch-node so that
1965 it is easy to add parsers for special nodes.
1966 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1967 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1968 (url-dav-process-DAV:getcontentlength)
1969 (url-dave-process-DAV:getlastmodified)
1970 (url-dave-process-DAV:creationdate)
1971 (url-dave-process-DAV:iscollection)
1972 (url-dave-process-DAV:ishidden): Aliases for the generic
1973 url-dav-process-foo-property routines.
1974 (url-dav-process-DAV:activelock)
1975 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1976 DAV:lockdiscovery nodes, so that we can find out who has a
1977 resource locked and properly parse the response to a LOCK request.
1978 (url-dav-process-DAV:status): Now parses out the numeric status
1979 from the HTTP response line.
1980 (url-dav-process-response): New function to handle all the
1981 parsing of an XML response from WebDAV. This handles all the
1982 logic of checking the response content-type to make sure it is
1983 XML, parses the tree, and interprets the tree.
1984 (url-dav-process-response): Make sure that all responses look
1985 like a DAV:multistatus response, even if we get a singleton
1986 response back. This will just make the upper layer logic simpler.
1987 (url-dav-get-properties): New optional argument NAMESPACES that
1988 specifies what namespaces to use in the XML request.
1989 (url-dav-get-properties): Got rid of the D: namespace in
1990 requests. It doesn't save that much space. Just use DAV:
1991 (url-dav-lock-identifier): New variable that should hold a URI
1992 pointing to contact information for the user. This will be used
1993 as the contents of the DAV:owner/DAV:href tag to identify the
1994 owner of a LOCK when requesting it. This will be shown to other
1995 users when the DAV:lockdiscovery property is requested, so make
1996 sure you are comfortable with it leaking to the outside world.
1997 (url-dav-lock-resource): New function to LOCK a dav resource.
1999 2001-12-05 William M. Perry <wmperry@gnu.org>
2001 * lisp/url-dav.el (url-dav-get-properties): New argument
2002 ATTRIBUTES that allows you to ask for specific properties instead
2003 of getting all properties via DAV:allprop.
2005 * lisp/url-http.el (url-http-real-basic-auth-storage):
2006 New variable for normal HTTP basic authentication.
2007 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
2008 basic authentication.
2009 (url-http-handle-authentication): Follow new semantics for
2010 url-basic-auth-storage.
2012 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
2013 this variable. It is now a symbol pointing to where we really
2014 want to store the authorization information. This fixes proxy
2015 auth and normal basic auth because of some local bindings that were
2016 making it impossible to store the credentials in the global binding.
2017 (url-basic-auth): Make sure we dereference url-basic-auth-storage
2020 * lisp/url-util.el (url-debug): Add new types 'dav and
2021 'retrieval to the customization list.
2023 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
2026 * lisp/url-http.el (url-http-head-file-attributes): Rename old
2027 url-http-file-attributes so that we can have a smarter one that
2028 tries WebDAV first, then HEAD.
2029 (url-http-file-attributes): New smart version that tries WebDAV first.
2030 (url-http-options): New function that returns information gleaned
2031 from an OPTIONS request for a URL. Returns a property list
2032 returning the methods supported for the resource, what DAV and
2033 DASL levels are supported, p3p information, and whether
2034 byte-ranges are supported or not.
2035 (url-http-wait-for-headers-change-function): If we got a 0-byte
2036 content-length, activate the callback immediately.
2037 (url-http-wait-for-headers-change-function): For content-length
2038 responses with actual body-data in the chunk we are handling, call
2039 url-http-content-length-after-change-function with the remaining
2040 data. Otherwise we can deadlock if the headers and the entire
2041 body exist arrive in one chunk.
2043 * lisp/url-dav.el: New file to contain the WebDAV
2044 (http://www.webdav.org/) implementation.
2045 (url-dav-supported-p): Cheap way to figure out whether we will be
2046 able to do DAV at all. We rely on the XML parser expanding
2047 namespaces for us, and currently you need a patched version of
2048 xml.el to do this. Patch sent to author for consideration.
2049 (url-dav-file-attributes): Much more complete version of
2050 `file-attributes' using the WebDAV PROPFIND method. Now correctly
2051 finds out whether something is a directory (a WebDAV collection),
2052 the last modification time, and permissions (based on the
2053 DAV:supportedlock information).
2054 (url-dav-get-properties): Generic interface to get WebDAV
2055 properties for a URL. Can specify an optional `depth' parameter
2056 to tell the web server how many directory (collection) levels to
2057 recurse when retrieving the property lists. Returns an assoc
2058 list keyed off of the resource, the cdr of which is a property list.
2059 (url-dav-datatype-attribute): We support the XML-Data note
2060 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
2061 datatypes of attributes are. Currently only date, dateTime, int,
2062 number, float, boolean, and uri are supported.
2064 2001-12-04 William M. Perry <wmperry@gnu.org>
2066 * lisp/url-handlers.el (file-name-absolute-p): New hooked
2067 version. If the filename matches our regexp, then it is always
2068 absolute, so just return `t'.
2069 (expand-file-name): New hooked version. If the fragment is an
2070 absolute file or URL, then expand it relative to '/'.
2071 (url-handler-regexp): New regexp for specific schemes that we
2072 want the file-name-handlers to work off of.
2073 (url-setup-file-name-handlers): Use it when installing the handlers.
2075 * lisp/url-http.el (url-http-find-free-connection): Better logging
2076 about whether we are reusing an existing connection or not.
2078 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
2079 to string-match instead of match-string (and with reversed
2082 * lisp/url-http.el (url-http-debug): Change to now use the
2083 generic url-debug function to do the actual logging. Still a
2084 separate function so that we can do our magic on the network
2085 connection if the user quits while we are downloading.
2087 * lisp/url-handlers.el (url-file-handler): Now logs the result of
2088 the hooked or real call.
2090 * lisp/url-util.el (url-debug): New function for generic debug logging.
2092 2001-11-28 William M. Perry <wmperry@gnu.org>
2094 * lisp/url-imap.el (url-imap-open-host): Use backquote.
2095 (url-imap): Now switches to 'login as the imap authenticator if
2096 the URL provides a username and password.
2098 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
2099 push to replace some strange logic in here.
2100 (url-run-real-handler): New function to run the real hooks in
2101 case we get a false positive or an operation that we do not
2102 support. The old way disabled _ALL_ file-name-handlers when
2103 we hit something we didn't understand - this disables JUST us.
2104 (url-file-handler): Remove the logic about removing the leading
2105 '/' off of the first argument... it may not be safe to always
2106 assume that the first argument is the one we are acting on -
2107 `default' is the second argument for expand-file-name for example.
2108 (url-setup-file-name-handlers): Use url-nonrelative-link
2109 directly. This means that you must type in the URL directly
2110 without prefixing it with a '/'.
2112 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
2114 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
2115 which activates us (because 'nnml+mail' _is_ a valid scheme name
2116 for a URI). We get thoroughly confused and end up returning
2117 `nil' when we shouldn't.
2119 2001-11-26 William M. Perry <wmperry@gnu.org>
2121 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
2122 this so that visiting a URL directly will work.
2123 (file-symlink-p): Ditto.
2124 (url-insert-file-contents): If `visit' is non-nil then make sure
2125 we set buffer-file-name. After these changes you can visit
2126 http://www.gnu.org/ directly from the minibuffer.
2127 (url-insert-file-contents): When inserting the file contents,
2128 use a save-excursion so that we behave just like the original.
2130 2001-11-25 William M. Perry <wmperry@gnu.org>
2132 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
2134 2001-11-24 William M. Perry <wmperry@gnu.org>
2136 * lisp/url-about.el (url-about): New loader scheme to handle
2137 about:foo URLs. Automatically tries to find a `url-about-foo'
2138 function to display the actual data.
2139 (url-about-protocols): Implement about:protocols.
2141 * lisp/url-http.el (url-http): Make sure that we signal an error
2142 when we cannot open a network connection for whatever reason.
2143 Before, it would just silently clean up after itself and the user
2144 got absolutely no indication that an error had occurred. If the
2145 error should truly be ignored, the caller should do that for us.
2146 (url-http-chunked-encoding-after-change-function): Doh! Need to
2147 user marker-position in some log messages now that
2148 url-http-chunked-start is a marker.
2150 2001-11-22 William M. Perry <wmperry@gnu.org>
2152 * lisp/url-https.el: Fixed definition of url-https - was using the
2153 wrong signature. Too much cut & paste.
2154 (url-https-create-secure-wrapper): Fix so that url-https works
2155 at all. Was not taking a null `method' into account when calling
2156 the wrapped function so url-https tried to call url-http-nil. *sigh*
2159 (url-http-chunked-encoding-after-change-function): Add some
2160 feedback when not debugging about what content-type and chunk # we
2162 (url-http-chunked-encoding-after-change-function): Use a marker
2163 for url-http-chunked-start so that we can safely delete the
2164 chunk-tokens instead of just marking them as invisible.
2165 (url-http-chunked-encoding-after-change-function): Actually delete
2166 the chunk-tokens. Now that we are not run from 'real'
2167 after-change functions, this is safe, and the right thing to do.
2168 Otherwise the HTML parser still saw them and inferred all sorts of
2169 bad things about the document (ie: nothing had a title!)
2171 2001-11-21 William M. Perry <wmperry@gnu.org>
2173 * lisp/url-http.el (url-http-debug): Document this variable.
2174 People other than I might want to use it.
2175 (url-http-debug): Put some code in here to check quit-flag
2176 directly. When the chunked encoding went into a tight spin, your
2177 Emacs would be wedged forever. This short-circuits all the
2178 after-change functions and signals an error.
2179 (url-http-debug): If url-http-debug is non-nil and non-t, then log
2180 the debug messages using `message' as well as sending them to the
2182 (url-http-chunked-encoding-after-change-function): Got rid of the
2183 no-initial-crlf. Had an epiphany and I can just infer this from
2184 url-http-chunked-counter being 0.
2185 (url-http-chunked-encoding-after-change-function): Move the debug
2186 statement about reading chunk #foo into the loop so that each
2187 chunk will have a log message associated with it.
2188 (url-http-chunked-encoding-after-change-function): Make sure to
2189 set read-next-chunk to nil when the regular expression match fails
2190 to fire. Otherwise we could loop forever.
2191 (url-http-chunked-encoding-after-change-function): Tweak the
2192 regular expression to be a little less greedy when looking for a chunk.
2193 (url-http-wait-for-headers-change-function): Remove the last
2194 argument when calling
2195 url-http-chunked-encoding-after-change-function. It is no longer
2196 needed. I should use my brain sometime.
2198 * lisp/url-vars.el (and): Fix feature test for xemacs and
2199 coding-system-list behavior.
2202 (url-http-chunked-encoding-after-change-function): Add optional
2203 no-initial-crlf flag that modifies the regular expression.
2204 This is only set from url-http-wait-for-headers-change-function so that
2205 the initial CRLF in the HTTP headers is not swallowed.
2206 (url-http-chunked-encoding-after-change-function): Fix a few
2207 off-by-one errors by using (match-end 0) instead of 1.
2208 (url-http-chunked-encoding-after-change-function): Add a few
2209 url-http-debug calls to help track down problems in the chunked
2211 (url-http-chunked-encoding-after-change-function): The chunk
2212 reading in here is now in a while loop so that if Emacs feeds us a
2213 chunk of data that happens to contain more than one 'chunk'
2214 delimiter, we behave correctly.
2215 (url-http-wait-for-headers-change-function): Make sure that we
2216 pass no-initial-crlf to
2217 url-http-chunked-encoding-after-change-function when passing
2218 initial data to the decoder.
2219 (url-http-generic-filter): url-http-debug statement so we can tell
2220 when/where our after-change-functions are being called.
2222 2001-10-11 Dave Love <fx@gnu.org>
2224 * lisp/url-handlers.el: Doc fixes.
2225 (string-match): Use (featurep 'xemacs).
2227 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
2229 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
2231 * lisp/url-vars.el (url-running-xemacs): Delete.
2232 (url-gateway-unplugged): New variable.
2234 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
2235 Comment out OS/2 stuff.
2237 2001-10-05 Dave Love <fx@gnu.org>
2239 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
2240 without confirmation.
2242 2001-10-02 Dave Love <fx@gnu.org>
2244 * lisp/url-http.el (url-http-create-request): Check cache for
2245 proxy-obj, if defined, rather than url.
2246 (url-http): Use dolist, not mapc (runtime cl dependency).
2248 * lisp/url-methods.el: Maybe require cl at runtime.
2249 (url-scheme-register-proxy): Fix fetching from environment.
2250 Don't concat a number.
2252 2001-10-01 Dave Love <fx@gnu.org>
2254 * lisp/url-parse.el: Use modern backquote syntax.
2256 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
2257 (url-mail-command): Prefer compose-mail.
2258 (tcp-binary-process-input-services): Comment out.
2259 (url-working-buffer): New constant.
2261 * lisp/url-util.el (url-extract-mime-headers): New function.
2263 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
2266 2001-09-20 Dave Love <fx@gnu.org>
2268 * lisp/url-http.el (url-http-create-request): Don't concat a number.
2270 2001-06-05 Dave Love <fx@gnu.org>
2272 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
2273 tcp-binary-process-input-services. Remove function wrapper for lambda.
2274 (url-retrieve): Barf with sensible message if url-type is null.
2276 * lisp/url-http.el (url-http): Don't try to set process
2277 coding-system here -- done in url-gw.
2279 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2280 (url-open-stream): Bind coding-system-for{read,write} when setting
2281 up the connection. Don't call url-gw-inhibit-code-conversion.
2283 2001-05-24 William M. Perry <wmperry@gnu.org>
2285 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2286 in url-retrieve-synchronously.
2288 2001-05-23 William M. Perry <wmperry@gnu.org>
2290 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2291 accept-process-output. This is evidently causing hangs in Emacs
2292 21 when viewing complex pages with images or stylesheets.
2293 www.yahoo.com is now viewable.
2295 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2296 (mule-inhibit-code-conversion) and just have a local function that
2297 does this minimal cruft.
2298 (url-gw-inhibit-code-conversion): New function to turn off code
2299 conversion in a process.
2301 2001-05-22 William M. Perry <wmperry@gnu.org>
2303 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2304 that we can allow multiple asynch retrievals to happen at once.
2305 (url-retrieve-synchronously): Use a much smaller timeout when
2306 doing the accept-process-output. This gets rid of the long delays
2307 if you are on a fast net connection and retrieve small documents
2308 that finish asynchronously before the first accept-process-output
2309 can be run. All hail broadband and 100Mb in the house!
2310 (url-retrieve-synchronously): Add documentation for this function.
2311 (url-retrieve): Ditto.
2312 (url-mm-url): Ditto.
2314 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2315 documentation strings. Ok, so I'm anal.
2317 * lisp/url-methods.el (url-scheme-methods): Add default methods
2318 for file-directory-p and file-truename.
2320 2001-05-22 Dave Love <fx@gnu.org>
2322 * lisp/url-auth.el (url-warn): Autoload.
2324 * lisp/url-proxy.el (url-warn): Autoload.
2326 * lisp/url-nfs.el: Fix `file-truname' typo.
2328 * lisp/url-news.el: Require cl when compiling.
2329 (url-warn, gnus-group-read-ephemeral-group): Autoload.
2330 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
2331 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2333 * lisp/url-util.el (mule-decode-string): Don't autoload.
2334 (url-hexify-string): Just barf on multibyte characters.
2335 (url-generate-unique-filename): New function.
2337 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2338 not mm-generate-unique-filename.
2340 * lisp/url-http.el: Declare things special in various places.
2341 (url-http-activate-callback): Don't set
2342 url-http-real-after-change-function.
2344 2001-05-22 William M. Perry <wmperry@gnu.org>
2346 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2347 control whether we try to do keep-alives for our connections.
2348 (url-http-version): New variable to control whether we advertise
2349 ourselves as an HTTP/1.1 client or not. This can be useful for
2350 avoiding chunked encoding, and other 1.1 features we may not have
2351 fully implemented yet.
2352 (url-http-create-request): Honor the new variables.
2354 2001-05-21 Dave Love <fx@gnu.org>
2356 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2358 (url-mime-charset-string): Don't reverse the list before sorting.
2360 2001-05-17 William M. Perry <wmperry@gnu.org>
2362 * lisp/url-http.el (url-http-generic-filter): Avoid using
2363 after-change-functions natively. There are just too many ways
2364 that this screws up in Emacs 21. Use a filter function on the
2365 process instead, and call the hook on
2366 url-http-after-change-function manually. [Actually, it will work
2367 in Emacs 21, but one problem that has been fixed in Emacs 21
2368 exists in Emacs 20. -- fx]
2370 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2371 does not exist on older versions of Emacs, or any version of
2372 XEmacs. Do not call it unless it is bound.
2374 2001-05-17 Dave Love <fx@gnu.org>
2376 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2378 2001-05-16 Dave Love <fx@gnu.org>
2380 * lisp/url-vars.el: Doc fixes. Require mm-util.
2381 (url-mime-charset-string): New variable.
2383 * lisp/url-http.el: Doc fixes.
2384 (url-http-create-request): Rearrange how we assemble the request.
2385 Avoid generating bogus requests with an empty real-fname.
2386 (url-http-handle-authentication): Declare status and success special.
2387 (url-http): Call mm-disable-multibyte. Set process buffer's
2388 coding systems to binary.
2390 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2392 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
2393 (url-file-find-possibly-compressed-file): Doc fix.
2394 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
2396 * lisp/url-cache.el: Don't require mule-sysdp.
2397 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2399 * lisp/url.el: Don't require mule-sysdp.
2400 (url-retrieve): Only set text properties if url is a string.
2402 2001-05-14 Dave Love <fx@gnu.org>
2404 * lisp/url-http.el (url-http-create-request):
2405 Declare proxy-object, proxy-info special.
2406 (url-http-handle-authentication): Declare success special.
2408 2001-05-12 Dave Love <fx@gnu.org>
2410 * lisp/url-http.el: Revert last change.
2412 2001-05-10 Dave Love <fx@gnu.org>
2414 * lisp/url-http.el (url-http-generic-after-change-function):
2415 Make it permanent-local.
2417 2001-05-05 Dave Love <fx@gnu.org>
2419 * lisp/url-http.el: Autoload some functions.
2420 (cl): Require when compiling.
2421 (url-http-extra-headers): Defvar when compiling.
2422 (url-http): Treat after-change-functions as a local hook.
2424 * lisp/url-history.el (url-parse): Require.
2425 (url-do-setup): Autoload.
2427 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2429 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2430 Use (featurep 'xemacs).
2431 (url-file-build-filename): Bind pos-index.
2432 (url-file): Call url-find-file-dired, not url-dired-find-file.
2434 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
2435 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2436 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
2437 (url-find-file-dired): Rename from one version of url-dired-find-file.
2439 * lisp/url-cid.el: Don't require widget. Require mm-decode
2442 * lisp/url-util.el: Autoload mule-decode-string,
2443 timezone-parse-date, timezone-make-date-arpa-standard.
2444 (url-unreserved-chars): Fix list per RFC 2396.
2445 (url-hexify-string): Maybe string-make-unibyte.
2447 * lisp/url-news.el: Require nntp.
2449 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2452 2001-05-04 Dave Love <fx@gnu.org>
2454 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2455 not non-existent mailcap-generate-unique-filename.
2457 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
2459 * lisp/url-parse.el: Require url-vars.
2460 Autoload url-scheme-get-property.
2462 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2465 * lisp/url-mailto.el: Require cl when compiling.
2467 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2468 Call url-parse-args, not url-util-parse-args.
2470 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2472 2001-04-09 Dave Love <fx@gnu.org>
2474 * lisp/mule-sysdp.el (mule-detect-coding-version)
2475 (mule-code-convert-region, mule-inhibit-code-conversion)
2476 (mule-write-region-no-coding-system, mule-encode-string)
2477 (mule-decode-string, mule-truncate-string)
2478 (mule-find-charset-region, mule-coding-system-name)
2479 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2480 [There must be a better way.]
2481 (mule-coding-system-p, string-width): Use defalias.
2483 2001-01-03 Sam Steingold <sds@gnu.org>
2485 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2486 set `url-http-end-of-headers' to 0 for HTTP 0.9.
2488 2001-01-02 Sam Steingold <sds@gnu.org>
2490 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
2492 2000-12-22 Dave Love <fx@gnu.org>
2494 * lisp/url-history.el (url): Don't require (to avoid recursion).
2495 (cl): Require when compiling.
2497 * lisp/url-http.el (url-auth): Require.
2498 (url-http-handle-authentication): Fix typo.
2500 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2502 2000-12-20 Dave Love <fx@gnu.org>
2504 * lisp/url.el: Require mm-decode, mm-view when compiling.
2505 <not (fboundp 'puthash)>: Define puthash and
2506 autoload other has functions rather than using cl-...hash.
2509 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2510 Avoid cl-...hash functions.
2512 * lisp/url-history.el: Avoid cl-...hash functions.
2515 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
2517 2000-10-03 William M. Perry <wmperry@aventail.com>
2519 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
2520 getting set to nil due to bad string matching. Subsequent matches
2521 would then choke because we passed string-match a nil.
2523 * lisp/url-http.el (url-http-parse-headers): Need to make the
2524 connection as 'free' when we get a 304 response (found in cache),
2525 or when a keep-alive connection timed out, it would re-parse the
2526 headers and dispatch to the callback again. Eek.
2528 2000-10-02 William M. Perry <wmperry@aventail.com>
2530 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
2531 implement chunked transfer-coding.
2532 (url-http-create-request): We can now advertise ourselves as a 1.1
2535 2000-07-28 Sam Steingold <sds@gnu.org>
2537 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2538 `cbargs' are optional args (for calling from w3).
2539 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
2540 with `string-match' and `protocol' with `scheme'.
2542 2000-07-18 Sam Steingold <sds@gnu.org>
2544 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2545 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
2547 2000-07-10 William M. Perry <wmperry@aventail.com>
2549 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2550 mule, and the character requested is > 255, then return "~"
2551 instead of letting whoever call us signal an error when they try
2552 to insert the character.
2553 (mule-make-iso-character): Also wrap the whole thing in a
2554 condition case and return "~" on error, in case make-char bombs on us.
2556 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
2559 * lisp/url-util.el (url-display-percentage): New routine that uses
2560 the progress bar under XEmacs if available. Looks very sexy under
2561 XEmacs/GTK hacked to use the GNOME statusbar.
2564 (url-http-content-length-after-change-function): Use new function
2565 url-display-percentage instead of url-lazy-message.
2567 2000-01-27 William M. Perry <wmperry@aventail.com>
2569 * lisp/url-file.el (url-file-build-filename): Work around for
2570 differences in ange-ftp / efs handling of port numbers other than 21.
2572 1999-12-24 William M. Perry <wmperry@aventail.com>
2574 * lisp/url-irc.el: Added pointer to draft specification for the
2575 IRC URL so people don't think I'm crazy.
2577 * configure.in: Checks to make sure that Gnus was found, since we
2578 HAVE to have it now. Removed conditional compilation of url-cid.el.
2580 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
2582 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2583 () to have periods at the end of the chunk.
2585 1999-12-14 William M. Perry <wmperry@aventail.com>
2587 * lisp/url-misc.el (url-man): Implement `man' URL types.
2588 (url-info): Autoload.
2590 (url-rlogin): Ditto.
2591 (url-telnet): Ditto.
2592 (url-tn3270): Ditto.
2593 (url-generic-emulator-loader): Ditto.
2595 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2596 to wrap arbitrary `http' methods with the appropriate magic to
2598 (file-exists-p): Use it.
2599 (file-readable-p): Use it.
2600 (file-attributes): Use it.
2602 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2603 server spec for Gnus, make sure we set
2604 nntp-open-connection-function directly, so that other news-related
2605 functions above us can set it.
2606 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2607 (url-nntp): Autoload.
2611 1999-12-12 William M. Perry <wmperry@aventail.com>
2613 * lisp/url-http.el (url-http-parse-response): New function to
2614 parse just the HTTP response code out of the buffer, without
2615 taking any other actions.
2616 (url-http-wait-for-headers-change-function): Use it here when we
2617 know we have an HTTP/1.x response.
2618 (url-http-wait-for-headers-change-function): Special case a
2619 response code of '304' or there could be some delays waiting for
2620 keep-alives to time out on cached documents with no known
2621 content-length on the server.
2623 1999-12-11 William M. Perry <wmperry@aventail.com>
2625 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2626 the Makefile does that for us. We just need to provide what files
2627 to load/functions to run.
2629 * lisp/url-imap.el (url-imap-open-host): Need to bind
2630 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
2631 the current buffer as the IMAP server buffer, which fails miserably.
2633 1999-12-11 Simon Josefsson <jas@pdc.kth.se>
2635 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2637 1999-12-11 William M. Perry <wmperry@aventail.com>
2639 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2640 ange-ftp vs. efs calling semantics consistent, so that if someone
2641 has NEITHER of them loaded, everything should still work.
2643 * lisp/url-handlers.el (url-copy-file): Autoload.
2644 (url-file-local-copy): Ditto.
2645 (url-insert-file-contents): Ditto.
2646 (url-setup-file-name-handlers): Ditto.
2648 1999-12-10 William M. Perry <wmperry@aventail.com>
2650 * lisp/url-http.el (mail-parse): Since we use functions from here,
2651 we should require it, eh?
2653 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
2655 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2657 (url-cookie-generate-header-lines): Use it.
2659 1999-12-06 William M. Perry <wmperry@aventail.com>
2661 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2664 * lisp/url-news.el: Reimplemented news and nntp URL support.
2665 No longer bothers to check for outdated Gnus versions, since this
2666 will not work without them anyway.
2668 1999-12-05 Dave Love <fx@gnu.org>
2670 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2674 1999-12-05 William M. Perry <wmperry@aventail.com>
2676 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2677 message when we have to contact a host so the user always gets
2678 at least some feedback.
2680 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
2682 (url-default-expander): Use it.
2684 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2686 (url-file): Add default content-type of application/octet-stream if
2688 (url-file): Correct bad call to url-host-is-local-p.
2690 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2691 like buffer-substring with nil arguments.
2692 (url-copy-file): Use mm-destroy-parts instead of just killing
2693 the buffer. Use defined interfaces when available!
2694 (url-insert-file-contents): Ditto.
2696 * lisp/url-http.el (url-http-create-request): Lots of changes to
2697 get proxying working.
2699 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2700 find and register a proxy for a specific scheme.
2701 (url-scheme-get-property): Use it when we load a URL scheme for
2704 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
2706 1999-12-04 William M. Perry <wmperry@aventail.com>
2708 * lisp/url-file.el (url-file): Signal an error if
2709 url-file-build-filename could not find the filename.
2711 1999-12-01 William M. Perry <wmperry@aventail.com>
2713 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2714 of manipulating the hash table directly.
2716 * lisp/url-history.el (url-completion-function): New function to
2717 use for reading a URL with completion.
2718 (url-history-update-url): New function to hide the hashtable
2719 implementation from people inserting things into the history.
2721 1999-11-30 William M. Perry <wmperry@aventail.com>
2723 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2726 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
2727 url-parse-args, which had changed the type of arguments it expects.
2729 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2730 (url-copy-file): Ditto.
2732 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2733 just killing the buffer. Use defined interfaces when available!
2735 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2736 AC_FD_CC so they show up in config.log
2737 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2738 this always return 't' instead of 'yes' on successfully finding
2741 * lisp/url-http.el (url-http-parse-headers): Add some
2742 DAV-specific error codes.
2744 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
2745 (url-retrieve-synchronously): Duh, make this function actually
2746 work again. Numerous problems with it, including variable name
2747 collisions - I love dynamically scoped lisps!
2749 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
2750 wrappers onto the appropriate file-based URLs for file-name-handlers.
2752 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
2753 might get messy with file-name-handlers and things.
2755 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2756 using 'HEAD' requests. Thou shalt not change the length of the
2757 region during an after-change-function.
2759 * lisp/url-methods.el (url-scheme-methods): New variable that
2760 holds a list of the methods/variables we look for in a URL scheme.
2761 (url-scheme-get-property): Use it.
2763 1999-11-29 William M. Perry <wmperry@aventail.com>
2765 * lisp/url-http.el (url-http-file-attributes): Reimplement.
2766 (url-http-file-exists-p): Ditto.
2768 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2770 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2771 file-name-handler stubs for all the FTP/FILE stuff.
2773 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2774 cruft. Generic interface on top of functions that each URL
2775 loader provides, if capable.
2777 1999-11-27 William M. Perry <wmperry@aventail.com>
2779 * lisp/url-https.el: Implemented HTTPS support.
2781 1999-11-26 William M. Perry <wmperry@aventail.com>
2783 * url-privacy.el (url-setup-privacy-info): Don't rely on
2784 device-type being defined. Not going to bother redistributing
2785 devices.el for just one function.
2787 * url-methods.el (url-scheme-get-property): Emacs does not have
2788 the 3rd-argument to plist-get to specify the default. *sigh*
2790 * url-dired.el (add-minor-mode): Add definition for Emacs.
2792 * url-http.el (url-http-generic-after-change-function):
2793 New function, since Emacs does not allow you to change the
2794 after-change-functions variable from within a function run by
2795 said hook. This just hands it off to the REAL function.
2796 Side-effect is that this now works on Emacs at all. :)
2798 * Initial checkin of rewritten URL library.
2804 Copyright (C) 1999, 2001-2002, 2004-2013 Free Software
2807 This file is part of GNU Emacs.
2809 GNU Emacs is free software: you can redistribute it and/or modify
2810 it under the terms of the GNU General Public License as published by
2811 the Free Software Foundation, either version 3 of the License, or
2812 (at your option) any later version.
2814 GNU Emacs is distributed in the hope that it will be useful,
2815 but WITHOUT ANY WARRANTY; without even the implied warranty of
2816 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2817 GNU General Public License for more details.
2819 You should have received a copy of the GNU General Public License
2820 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.