1 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3 * url-http.el (url-http-parse-headers): Re-enable file-name-handlers
6 2012-08-12 David Engster <deng@randomsample.de>
8 * url-util.el (url-file-directory, url-file-nondirectory): Avoid
9 file-name-directory and file-name-nondirectory internally (bug#11981).
11 2012-08-11 Jason Rumney <jasonr@gnu.org>
13 * url-http.el (url-http-create-request): Use url-http-proxy to
14 look up proxy credentials (Bug#12069).
16 2012-07-28 David Engster <deng@randomsample.de>
18 * url-dav.el (url-dav-supported-p): Add doc-string and remove
19 check for feature `xml' and function `xml-expand-namespace' which
20 never existed in Emacs proper.
21 (url-dav-process-response): Remove all indentation and newlines
22 from XML before parsing. Change call to `xml-parse-region' to do
23 namespace expansion with simple qualified names (Bug#11916).
24 (url-dav-request): Add autoload.
25 (url-dav-directory-files): Properly deal with empty directories.
26 Unhex URL before generating relative URLs.
27 (url-dav-file-directory-p): Fix check for 'DAV:collection.
29 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
31 * url.el, url-queue.el, url-parse.el, url-http.el, url-future.el:
32 * url-dav.el, url-cookie.el: Use cl-lib.
33 * url-util.el, url-privacy.el, url-nfs.el, url-misc.el, url-methods.el:
34 * url-gw.el, url-file.el, url-expand.el: Dont use CL.
36 2012-06-30 Glenn Morris <rgm@gnu.org>
38 * url-vars.el (mm-mime-mule-charset-alist, mm-coding-system-p):
41 2012-06-21 Chong Yidong <cyd@gnu.org>
43 * url.el (url-retrieve-internal): Fix last change (Bug#11627).
45 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
47 * url-handlers.el (url-handler-regexp): Declare.
49 2012-06-12 Chong Yidong <cyd@gnu.org>
51 * url-handlers.el: Re-order file to avoid recursive load.
53 2012-06-12 Chong Yidong <cyd@gnu.org>
55 * url-handlers.el (url-handler-regexp):
56 * url-nfs.el (url-nfs-automounter-directory-spec):
57 * url-vars.el (url-load-hook): Convert to defcustom.
59 2012-05-25 Leo Liu <sdl.web@gmail.com>
61 * url-http.el (url-http-codes): Fix mal-formed defconst.
63 2012-05-15 Ian Eure <ian@simplegeo.com>
65 * url-util.el (url-build-query-string): New function (Bug#8706).
66 (url-parse-query-string): Allow that '=' is not required and split
67 URL parameters on ';', not just '&'.
69 2012-05-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
71 * url-expand.el (url-default-expander): Copy over the fullness of
72 the new URL object based on the definition URL object.
74 2012-05-10 Chong Yidong <cyd@gnu.org>
76 * url-parse.el (url-path-and-query, url-port-if-non-default):
78 (url-generic-parse-url): Don't set the portspec slot if it is not
79 specified; that is what `url-port' is for.
80 (url-port): Only require the scheme to be specified to call
81 url-scheme-get-property.
83 * url-util.el (url-encode-url): Use url-path-and-query.
85 * url-vars.el (url-mime-charset-string): Load mm-util lazily.
87 2012-05-09 Chong Yidong <cyd@gnu.org>
89 * url-util.el (url-encode-url): New function for URL quoting.
90 (url-encoding-table, url-host-allowed-chars)
91 (url-path-allowed-chars): New constants.
92 (url--allowed-chars): New helper function. Use upper-case.
93 (url-hexify-string): Use them.
95 * url-parse.el: Improve RFC 3986 conformance.
96 (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
97 since this is not reliable for general RFC 3986 URIs. Keep the
98 whole path and query inside the FILENAME slot. Improve docstring.
99 (url-recreate-url-attributes): Mark as obsolete.
100 (url-recreate-url): Handle missing scheme and userinfo.
101 (url-path-and-query): New function.
103 * url-http.el (url-http-create-request): Ignore obsolete
104 attributes slot of url-object.
106 * url-vars.el (url-nonrelative-link): Make the regexp stricter.
108 * url.el (url-retrieve-internal): Use url-encode-url (Bug#7017).
110 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
112 * url.el (url-retrieve-synchronously): Replace lexical-let by
115 2012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
117 * url.el (url-retrieve-internal): Hexify multibye URL string first
118 when necessary (bug#7017).
120 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
122 * url.el (url-retrieve-internal): Mention utf-8 encoding.
123 (url-retrieve): Ditto.
125 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
127 * url-domsurf.el: New file (bug#1401).
129 * url-cookie.el (url-cookie-two-dot-domains): Remove.
130 (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
131 instead of the variable above.
133 2012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
135 * url-queue.el (url-queue-kill-job): Check whether the buffer has
136 been killed asynchronously before selecting it.
138 2012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
140 * url-queue.el (url-queue-kill-job): Make sure that the callback
141 is always called, even if we have a timeout.
143 2012-03-11 Chong Yidong <cyd@gnu.org>
145 * url-http.el (url-http-end-of-document-sentinel):
146 Handle keepalive expiry by calling url-http again (Bug#10223).
147 (url-http): New arg, for the above.
149 2012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
151 * url-http.el (url-http-find-free-connection): Don't pass a nil
152 argument to url-http-mark-connection-as-busy (bug#10891).
154 2012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
156 * url-queue.el (url-queue-kill-job): Delete the process sentinel
157 before killing the process to avoid a race condition between the
158 two processes killing off the process buffer.
160 * url.el (url-retrieve-internal): Warn about file errors when
161 pruning the cache instead of bugging out (bug#10831).
163 2012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
165 * url-queue.el (url-queue-callback-function): Remove the job from
166 the queue so that we don't kill the current buffer, which will
167 then make the callback function kill a random buffer.
169 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
171 * url-queue.el (url-queue-kill-job): Refactored out code.
172 (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
175 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
177 * url-future.el: Minor doc update.
179 2012-02-14 Leo Liu <sdl.web@gmail.com>
181 * url-future.el: Fix last change.
183 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
185 * url-future.el (url-future-test): Move to test/automated.
187 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
189 * url-http.el (url-http-parse-headers): When redirecting, pass on
190 the `inhibit-cookie' parameter.
192 2012-02-10 Glenn Morris <rgm@gnu.org>
194 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
196 2012-02-10 Andreas Schwab <schwab@linux-m68k.org>
198 * url-http.el (url-http-clean-headers): Return the number of
200 (url-http-wait-for-headers-change-function): Adjust end position
201 after cleaning the headers. (Bug#10768)
203 2012-02-10 Glenn Morris <rgm@gnu.org>
205 * url-queue.el (url-queue-retrieve): Doc fix.
207 2012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
209 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
210 to be able to keep track of whether to do cookies or not on a
213 * url-queue.el (url-queue-retrieve): Take an optional
214 `inhibit-cookies' parameter.
216 * url.el (url-retrieve): Ditto.
218 * url-http.el (url-http-create-request): Don't send cookies unless
220 (url-http-parse-headers): Don't store cookies unless requested.
222 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
224 * url-cache.el (url-cache-prune-cache): New function.
225 (url-cache-prune-cache): Check that the directory exists before
228 * url.el (url-retrieve-number-of-calls): New variable.
229 (url-retrieve-internal): Use it to expire the cache once in a
232 * url-queue.el (url-queue-setup-runners): New function that uses
233 `run-with-idle-timer' for extra asynchronicity.
234 (url-queue-remove-jobs-from-host): New function.
235 (url-queue-callback-function): Remove jobs from the same host if
238 2012-01-12 Glenn Morris <rgm@gnu.org>
240 * url-auth.el (url-basic-auth, url-digest-auth):
241 Allow reading usernames etc when the minibuffer is already in use,
242 eg in url-handler-mode. (Bug#10298)
244 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
246 * url-dav.el (url-dav-delete-file): Fix typo.
248 2011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
250 * url-http.el (url-http-async-sentinel): If the server hangs up
251 while we're talking to it, just `message' the error instead of
254 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
256 * url-cookie.el (url-cookie-expired-p): Protect against
257 zero-length cookie expiry dates.
259 2011-10-19 Chong Yidong <cyd@gnu.org>
261 * url-handlers.el (url-handler-mode): Doc fix.
263 2011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
265 * url-http.el (url-http-create-request): Avoid adding extra CRLF
268 2011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
270 * url-http.el (url-http-find-free-connection): If there was an
271 error on connect, make sure the user isn't bothered with
272 irrelevant questions.
274 2011-08-07 Chong Yidong <cyd@stupidchicken.com>
276 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
277 don't convert to a GET request (Bug#701).
279 2011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
281 * url-http.el (url-http): Copy over `url-show-status' to the async
282 buffer so that `url-display-percentage' does the right thing
285 2011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
287 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
290 2011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
292 * url-http.el (url-http-create-request): Remove double carriage
293 return and newline (bug#8931).
295 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
297 * url-http.el (url-http-wait-for-headers-change-function):
298 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
300 2011-06-04 Andreas Schwab <schwab@linux-m68k.org>
302 * url-future.el (url-future-test): Fix scope of `saver'.
304 2011-06-01 Glenn Morris <rgm@gnu.org>
306 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
307 Add :version tag for options that will be new in 24.1.
309 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
311 * url-queue.el (url-queue-parallel-processes): Increase the
312 default to 6, since 2 seems too conservative for normal usage.
314 2011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
316 * url-future.el: Add general futures facility.
318 2011-05-29 Leo Liu <sdl.web@gmail.com>
320 * url-cookie.el (url-cookie): Add option :named so that
321 url-cookie-p is defined. (Bug#8747)
323 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
325 * url-queue.el: New file.
326 (url-queue-run-queue): Pick the first waiting job, and not the last.
327 (url-queue-parallel-processes): Lower the concurrency level, since
328 Emacs doesn't seem to like too many async processes.
329 (url-queue-prune-old-entries): Fix up the pruning code.
331 2011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
333 * url-http.el (url-http-wait-for-headers-change-function):
334 Protect against malformed headerless responses from servers.
336 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
338 * url-gw.el (url-open-stream): Use new open-network-stream
339 functionality to perform encryption.
341 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
343 * url-cookie.el (url-cookie-handle-set-cookie):
344 Use `dolist' rather than `mapcar'.
346 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
348 * Version 23.3 released.
350 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
352 * url-parse.el (url-bit-for-url, url-user-for-url)
353 (url-password-for-url): Use `auto-source-search' instead of
354 `auto-source-user-or-password'.
356 * url-auth.el: Autoload `auto-source-search' instead of
357 `auto-source-user-or-password'.
358 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
360 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
362 * url-http.el (url-http-wait-for-headers-change-function):
363 Don't move point if the callback function has moved/changed/killed
366 2010-12-16 Miles Bader <miles@gnu.org>
368 * url-cookie.el: Require 'cl when compiling -- it's necessary for
371 2010-12-14 Glenn Morris <rgm@gnu.org>
373 * url-cookie.el: Don't require cl when compiling.
374 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
375 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
376 (url-cookie-handle-set-cookie): Simplify.
378 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
380 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
381 Suggested by Lennart Borgman (Bug#7543).
383 2010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
385 * url-file.el (url-file-build-filename): Avoid interpreting
386 file:/foo:/bar URLs via tramp.
388 2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
390 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
392 2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
394 * url-http.el (url-http-end-of-document-sentinel): Protect against
395 the process buffer being killed.
397 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
399 * url-http.el (url-http-wait-for-headers-change-function):
400 Protect against url-http-response-status for degenerate documents.
401 (url-http-wait-for-headers-change-function): Revert previous
402 change. It lead to really slow loads.
404 2010-10-03 Glenn Morris <rgm@gnu.org>
406 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
407 (url-get-url-at-point): Don't use eval-when-compile.
409 * url-cache.el (url-cache-create-filename-human-readable)
410 (url-cache-create-filename-using-md5):
411 * url-util.el (url-file-directory, url-file-nondirectory):
412 Don't use eval-when-compile and regexp-quote.
414 2010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
416 * url-vars.el (url-mime-charset-string): Change the default to
417 nil to avoid sending 1171 bytes of not very useful data to the
418 HTTP server every request.
420 2010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
422 * url-util.el (url-display-percentage): Don't message when the URL
424 (url-lazy-message): Ditto.
425 (url-lazy-message): Remove leftover debugging code.
427 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
428 back to the fetching function.
430 * url.el (url-retrieve): Add a silent parameter.
431 (url-retrieve-internal): Ditto.
433 * url-parse.el (url): Add a `silent' slot in the URL struct.
435 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
437 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
438 for the cookie warning, which isn't very interesting.
440 * url-http.el (url-http-async-sentinel): Check that the buffer is
441 still alive before switching to it.
443 2010-09-25 Julien Danjou <julien@danjou.info>
445 * url-cache.el (url-cache-create-filename): Ensure no-port and
446 default-port end up with the same cache file.
447 (url-cache-create-filename-human-readable)
448 (url-cache-create-filename-using-md5): Argument is always in the form of
451 2010-09-23 Glenn Morris <rgm@gnu.org>
453 * url-cache.el (url-is-cached): Doc fix.
455 2010-09-23 Glenn Morris <rgm@gnu.org>
457 * url-cache.el (url-cache-expired): Don't autoload.
458 Tweak previous change.
459 (url-cache-expire-time): Doc fix.
461 2010-09-23 Julien Danjou <julien@danjou.info>
463 * url-cache.el (url-cache-expire-time): New option.
464 (url-cache-expired): Rewrite.
466 2010-09-19 Julien Danjou <julien@danjou.info>
468 * url-cache.el (url-fetch-from-cache): New function.
470 2010-09-18 Julien Danjou <julien@danjou.info>
472 * url-vars.el (url-cache-expired): Remove unused variable.
474 2010-09-14 Julien Danjou <julien@danjou.info>
476 * url-cache.el (url-store-in-cache):
477 Make `buff' argument really optional.
479 2010-09-14 Glenn Morris <rgm@gnu.org>
481 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
483 2010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
485 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
487 2010-09-11 Glenn Morris <rgm@gnu.org>
489 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
490 * url-vars.el: Remove leading `*' from defcustom docs.
492 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
494 * url-http.el (url-http-parse-headers): Disable file name handlers at
495 all (not only Tramp). (Bug#6717)
497 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
499 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
501 2010-07-01 Mark A. Hershberger <mah@everybody.org>
503 * url-http.el (url-http-create-request): Add a CRLF on the end so
504 that POSTs with content to https URLs work.
505 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
507 2010-06-22 Mark A. Hershberger <mah@everybody.org>
509 * url-parse.el (url-user-for-url, url-password-for-url):
510 Convenience functions that get usernames and passwords for URLs
511 from auth-source functions.
513 2010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
515 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
517 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
519 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
521 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
523 * Version 23.2 released.
525 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
527 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
529 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
531 * url-http.el (url-http-parse-headers): Fix wrong variable name.
533 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
535 * url-http.el (url-http-codes): New variable to hold a mapping of
536 HTTP status codes' numbers, their symbolic name, and their text.
537 (url-http-parse-headers): Use it, leaving the original numeric
540 2010-03-19 Glenn Morris <rgm@gnu.org>
542 * url.el: Move mailcap require earlier in the file.
544 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
546 * url-vars.el (url): Put in comm group.
548 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
552 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
554 * url-util.el: Require url-vars (Bug#5459).
556 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
558 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
560 2009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
562 * url-http.el (url-http-handle-authentication): Use proxy server,
563 if any, for authentication (Bug#4883).
565 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
567 * url-util.el (url-insert-entities-in-string):
568 * url-nfs.el (url-nfs-unescape):
569 * url-ldap.el (url-ldap):
570 * url-imap.el (url-imap):
571 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
573 2009-10-01 Glenn Morris <rgm@gnu.org>
575 * url-http.el (url-dav-file-attributes): Fix declaration.
577 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
579 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
580 with 2005-06-25 change to copy-file (Bug#4410).
582 2009-09-13 Glenn Morris <rgm@gnu.org>
584 * url-file.el (url-file): Avoid assignment to free variable `filename'.
586 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
588 * url-methods.el (url-scheme--registering-proxy): New variable.
589 (url-scheme-register-proxy, url-scheme-get-property):
590 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
592 2009-08-22 Glenn Morris <rgm@gnu.org>
594 * url-file.el (url-file-build-filename):
595 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
596 system-types Apple-Macintosh, emx, ms-windows, next-mach.
598 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
602 2009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
604 * url-handlers.el (url-file-handler): Save match data.
606 2009-02-21 Jason Rumney <jasonr@gnu.org>
608 * url-expand.el (url-default-expander): Use concat to combine
611 2009-02-10 Glenn Morris <rgm@gnu.org>
613 * url-util.el (url-generate-unique-filename): Silence compiler.
615 2009-02-07 Chong Yidong <cyd@stupidchicken.com>
617 * url-file.el (url-file): Use make-temp-file.
619 * url-util.el (url-generate-unique-filename): Mark as obsolete.
621 * url-vars.el (url-temporary-directory): Mark as obsolete.
623 2009-01-15 Chong Yidong <cyd@stupidchicken.com>
625 * url-cookie.el (url-cookie-retrieve): Fix last change.
627 2009-01-14 Chong Yidong <cyd@stupidchicken.com>
629 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
631 2009-01-13 Juanma Barranquero <lekktu@gmail.com>
633 * url-util.el (url-truncate-url-for-viewing): Doc fix.
635 2009-01-09 Glenn Morris <rgm@gnu.org>
637 * url-cid.el (url-cid-gnus): Fix typo in header name.
639 2008-11-04 Chong Yidong <cyd@stupidchicken.com>
641 * url-util.el (url-basepath): Add url-basepath as an alias for
644 2008-10-24 Juanma Barranquero <lekktu@gmail.com>
646 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
648 2008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
650 * url-auth.el (url-basic-auth): Encode password string.
652 2008-08-30 Glenn Morris <rgm@gnu.org>
654 * url-http.el (url-https-expand-file-name): Resolve directly to
655 url-default-expander rather than via another alias.
656 (url-default-expander): Autoload an autoload. (Bug#825).
658 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
660 * url.el (url-do-setup):
661 * url-dired.el (url-dired-minor-mode):
662 * url-file.el (url-file-find-possibly-compressed-file):
663 * url-gw.el (url-gateway-broken-resolution):
664 * url-handlers.el (url-handler-regexp):
665 * url-imap.el (url-imap-default-port):
666 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
668 * url-auth.el (url-basic-auth-storage, url-digest-auth):
669 Fix typos in docstrings.
670 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
672 * url-cache.el (url-cache-prepare): Doc fix.
673 (url-cache-create-filename-human-readable, url-cache-extract):
674 Fix typos in docstrings.
676 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
677 (url-dav-delete-something): Fix typos in docstrings.
678 (url-dav-http-success-p, url-dav-file-name-all-completions)
679 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
681 * url-http.el (url-http-idle-sentinel): Doc fix.
683 * url-irc.el (url-irc-default-port): Fix typo in docstring.
684 (url-irc-function): Doc fix.
686 * url-util.el (url-get-url-filename-chars, url-unhex-string):
687 Fix typos in docstrings.
688 (url-file-extension): Doc fix.
690 * url-vars.el (url-current-object, url-current-mime-headers)
691 (url-privacy-level, url-mail-command, url-mime-language-string):
692 Fix typos in docstrings.
693 (url-honor-refresh-requests): Reflow docstring.
694 (url-using-proxy): Doc fix.
696 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
698 * vc-dav.el: Move to the parent directory to be together with the
699 rest of the VC backends.
701 2008-06-07 Glenn Morris <rgm@gnu.org>
703 * url-auth.el (auth-source-user-or-password): Remove unnecessary
706 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
708 * url-handlers.el (url-file-name-completion): Add missing argument.
710 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
712 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
713 (url-basic-auth, url-digest-auth): Use it with any realm,
714 overriding the user name and password before the prompt.
716 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
718 * url-vars.el (url-load-hook): Fix typo in docstring.
720 2008-03-09 Magnus Henoch <mange@freemail.hu>
722 * url-http.el (url-http-chunked-encoding-after-change-function):
723 Remove superfluous CRLF at end of file. (Bug #42)
725 2008-03-02 Andreas Schwab <schwab@suse.de>
727 * url-util.el: Require cl when compiling.
729 2008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
731 * url-util.el (url-get-normalized-date): Simplify to use
732 `format-time-string'. Always generate date in UTC, but
733 call it GMT for full compatibility with the RFCs.
735 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
737 * url-handlers.el (file-remote-p): Add handler.
738 (url-handler-file-remote-p): New fun.
740 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
742 * url-handlers.el (url-handler-unhandled-file-name-directory):
743 Handle `file' URLs specially. Return nil for non-local filenames.
745 2008-02-04 Magnus Henoch <mange@freemail.hu>
747 * url-expand.el: Require cl when compiling, for setf.
749 2008-01-29 John Wiegley <johnw@newartisans.com>
751 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
752 being used, don't add it to the response text. Also, changed an
753 if so that the interaction between the PROMPT and OVERWRITE
754 arguments can no longer result in the user being queried twice for
755 the same login and password information.
757 2008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
759 * url-handlers.el (unhandled-file-name-directory): Add handler.
760 (url-handler-unhandled-file-name-directory): New fun.
762 2008-01-07 Michael Albinus <michael.albinus@gmx.de>
764 * url-handlers.el (url-file-handler): Autoload.
766 2007-12-11 Glenn Morris <rgm@gnu.org>
768 * url.el (url-configuration-directory): Make it a defcustom.
770 * url-util.el (url-make-private-file): New function.
771 * url-cookie.el (url-cookie-write-file):
772 * url-history.el (url-history-save-history):
773 Use url-make-private-file and with-temp-buffer.
775 2007-12-06 Glenn Morris <rgm@gnu.org>
777 * url-file.el, url-mailto.el: Remove directory part from filenames
778 in function declarations.
780 2007-12-02 Glenn Morris <rgm@gnu.org>
782 * url-about.el, url-handlers.el: Don't require cl when compiling.
784 * url-dav.el (url-dav-delete-directory): Fix message typo.
786 * url-history.el (top-level): Don't require cl when compiling.
787 (url-history-setup-save-timer, url-history-save-history):
788 Use condition-case rather than ignore-errors.
790 * url-imap.el (top-level): Don't require cl when compiling.
791 (url-imap): Use signal rather than check-type.
793 * url-news.el (top-level): Don't require cl when compiling.
794 (gnus-group-buffer): Define for compiler.
795 (url-news-fetch-message-id): Don't use `declare'.
796 (nntp-open-tls-stream, nntp-open-ssl-stream):
797 No need to define for compiler.
798 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
799 Correct quoting of nntp-open-connection-function value.
801 2007-12-01 Glenn Morris <rgm@gnu.org>
803 * url-handlers.el (top-level): Always require url-parse, not just
806 2007-11-30 Glenn Morris <rgm@gnu.org>
808 * url-cookie.el (url-cookie-p): Declare as a function.
810 2007-11-29 Glenn Morris <rgm@gnu.org>
812 * url-file.el (url-file-build-filename, url-file): Wrap uses of
813 efs in (featurep 'xemacs) test.
815 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
817 2007-11-28 Diane Murray <disumu@x3y2z1.net>
819 * url-dired.el: Don't require w3-fetch and w3-open-local.
820 (url-dired-find-file): Use `find-file'. Doc fix.
821 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
823 2007-11-24 Glenn Morris <rgm@gnu.org>
825 * url-privacy.el (url-device-type): Fix typo.
827 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
829 * url-mailto.el (mail-send-and-exit):
830 * url-http.el (url-dav-file-attributes):
831 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
832 (url-generate-unique-filename): Declare as functions.
834 * url-privacy.el (url-device-type): Define unconditionally.
836 2007-11-15 Richard Stallman <rms@gnu.org>
838 * url.el (url-retrieve-synchronously): Call delete-process.
840 2007-10-31 Juanma Barranquero <lekktu@gmail.com>
842 * url-vars.el (url-vars-unload-hook): Remove function and variable.
843 Hooks are automatically removed by `unload-feature'.
845 2007-10-13 Richard Stallman <rms@gnu.org>
847 * url-util.el (url-basepath): Function deleted.
848 (url-file-directory, url-file-nondirectory): New functions
849 replacing url-basepath. Callers changed.
851 * url-expand.el (url-default-expander): Use `url-file-directory'.
853 * url-auth.el (url-digest-auth, url-basic-auth):
854 Rename `path' to `file'. Use `url-file-directory'.
856 2007-10-12 Diane Murray <disumu@x3y2z1.net>
858 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
859 empty string filename.
861 2007-10-09 Richard Stallman <rms@gnu.org>
863 * url-parse.el (url-type, url-user, url-password, url-host)
864 (url-port, url-filename, url-target, url-attributes)
865 (url-fullness, url-set-type, url-set-user, url-set-password)
866 (url-set-host, url-set-port, url-set-filename, url-set-target)
867 (url-set-attributes, url-set-full): Change macros to defuns.
869 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
872 * url-vars.el (top): Use `mapc' rather than `mapcar'.
874 2007-09-22 Diane Murray <disumu@x3y2z1.net>
876 * url-misc.el (url-generic-emulator-loader): Send the port as a
877 string to `url-do-terminal-emulator'.
879 2007-09-21 Diane Murray <disumu@x3y2z1.net>
881 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
883 * url-util.el (url-get-normalized-date): Pass full timezone
884 information to timezone-make-date-arpa-standard, since zone name
887 2007-09-03 Diane Murray <disumu@x3y2z1.net>
889 * url-http.el (url-http-parse-headers): Bind the current buffer
890 rather than calling `url-mark-buffer-as-dead' with
891 `current-buffer', so that the correct buffer is killed if
892 `url-retrieve-synchronously' gets redirected to a new URL.
894 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
896 * url-parse.el (url): Use defstruct rather than macros.
897 (url-generic-parse-url):
898 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
899 * url-methods.el (url-scheme-register-proxy):
900 * url-mailto.el (url-mailto):
901 * url-file.el (url-file-build-filename):
902 * url-expand.el (url-identity-expander, url-default-expander):
905 2007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
907 * url-auth.el (url-basic-auth): When prompting for username
908 and password, default to the username and password in the URL.
910 2007-08-08 Glenn Morris <rgm@gnu.org>
912 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
913 Replace `iff' in doc-strings and comments.
915 2007-07-25 Glenn Morris <rgm@gnu.org>
917 * Relicense all FSF files to GPLv3 or later.
919 2007-06-12 Tom Tromey <tromey@redhat.com>
921 * url.el (url-configuration-directory): Use user-emacs-directory.
923 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
925 * url-cookie.el (url-cookie-name, url-cookie-value)
926 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
927 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
928 (url-cookie-set-expires, url-cookie-set-localpart)
929 (url-cookie-set-domain, url-cookie-set-secure)
930 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
931 (url-cookie): New struct.
932 (url-cookie-store): Use setf instead of url-cookie-set-*.
934 2007-05-29 Chong Yidong <cyd@stupidchicken.com>
936 * url-mailto.el (url-mailto): Insert body after
937 mail-header-separator if present, so that it is before signature.
938 Suggested by Leo <sdl.web@gmail.com>.
940 2007-04-15 Chong Yidong <cyd@stupidchicken.com>
942 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
944 2007-04-13 Chong Yidong <cyd@stupidchicken.com>
946 * url-http.el (url-http-parse-headers): Stop after a set number of
947 redirections. Suggested by Diane Murray.
949 * url-vars.el (url-max-redirections): New var.
951 2007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
953 * url-http.el (url-http-handle-cookies): Reverse list returned by
954 `mail-fetch-field', so that cookies are set in the correct order.
956 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
957 Deal with wildcard dots in domain values.
959 2007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
961 * url-http.el (url-http-mark-connection-as-busy)
962 (url-http-mark-connection-as-free): Clear query-on-exit flag on
965 2007-02-04 Chong Yidong <cyd@stupidchicken.com>
967 * url-http.el (url-http-connection-opened): New variable.
968 (url-http): Initialize it.
969 (url-http-async-sentinel): Don't try changing sentinels.
970 Run url-http-end-of-document-sentinel if necessary.
972 2007-01-29 Juanma Barranquero <lekktu@gmail.com>
974 * url-auth.el (url-get-authentication): Fix typo in docstring.
976 2007-01-14 Magnus Henoch <mange@freemail.hu>
978 * url-proxy.el (url-proxy-object): Remove.
979 (url-proxy): Don't use `url-proxy-object'. Act according to type of
980 proxy (currently only HTTP supported).
982 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
984 * url-http.el (url-http-proxy): New variable.
985 (url-http-create-request): Use it. Don't use `url-proxy-object'.
986 (url-http): Treat `url' argument as resource to download, and
987 dynamic variable `url-using-proxy' as proxy to use.
988 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
990 (url-http-handle-cookies): Assume that `url-current-object' does
991 not point to the proxy used.
992 (url-http-async-sentinel): Adapt error message.
994 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
996 * url-gw.el (url-gateway-nslookup-program): Doc fix.
998 2006-12-08 Magnus Henoch <mange@freemail.hu>
1000 * url-proxy.el (url-proxy-object): New variable.
1001 (url-proxy): Bind it instead of `proxy-object'.
1003 * url-http.el (url-http-create-request): Remove url argument, use
1004 the buffer-local variable `url-http-target-url' instead.
1005 Both callers updated. Simplify proxy handling.
1006 (url-http): Don't make proxy-object buffer local.
1008 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
1010 2006-11-26 Magnus Henoch <mange@freemail.hu>
1012 * url-http.el (url-http-wait-for-headers-change-function):
1013 Use `when' instead of `if' when possible.
1014 (url-http): Define url-http-response-version.
1015 (url-http-parse-response): Set it.
1016 (url-http-parse-headers): Use it to determine keep-alive behavior.
1018 2006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
1020 * url-http.el (url-http-content-length-after-change-function):
1021 Use `url-lazy-message'.
1023 * url-util.el (url-display-percentage): Only show a message if
1024 `url-show-status' is non-nil.
1026 2006-11-15 Magnus Henoch <mange@freemail.hu>
1028 * url-http.el (url-http): Make proxy-object buffer-local, to
1029 handle proxied asynchronous connections correctly.
1031 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
1033 2006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
1035 * url-http.el (url-http-wait-for-headers-change-function):
1036 Defer detection of HTTP 0.9 until we have at least one line.
1038 2006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
1040 * url-http.el (url-http-mark-connection-as-free)
1041 (url-http-find-free-connection): Don't treat process with status
1043 (url-http-async-sentinel): Request correct url.
1045 2006-11-08 Magnus Henoch <mange@freemail.hu>
1047 * url-http.el (url-http-handle-authentication): If there are
1048 several authentication headers, use the strongest available
1051 * url.el (url-retrieve-synchronously): Allow quitting when
1054 2006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
1056 * url-http.el (url-http-handle-authentication): If there are
1057 several authentication headers, use the first with a supported
1060 2006-11-01 Magnus Henoch <mange@freemail.hu>
1062 * url-http.el (url-http-create-request): Use buffer-local
1063 equivalents of dynamically bound variables.
1065 2006-10-29 Magnus Henoch <mange@freemail.hu>
1067 * url-gw.el (url-open-stream): Really use asynchronous
1068 connections (accidentally disabled during debugging).
1070 2006-10-28 Magnus Henoch <mange@freemail.hu>
1072 * url-http.el (url-http-parse-headers): Fix misplaced paren.
1074 2006-10-27 Magnus Henoch <mange@freemail.hu>
1076 * url-http.el (url-http-mark-connection-as-free): Verify that
1077 connection is open before saving it.
1078 (url-http-handle-authentication): Use url-retrieve-internal
1079 instead of url-retrieve.
1080 (url-http-parse-headers): Adapt to new callback interface.
1081 (url-http): Handle non-blocking connections.
1082 (url-http-async-sentinel): Create.
1084 * url.el (url-retrieve): Update docstring for new callback interface.
1086 (url-retrieve-internal): Move code from url-retrieve here.
1088 * url-gw.el (url-open-stream): Use a non-blocking socket for
1089 `native' gateway method, if available.
1091 2006-10-16 Magnus Henoch <mange@freemail.hu>
1093 * url-http.el (url-https-create-secure-wrapper):
1094 Always use tls gateway method.
1096 2006-10-12 Magnus Henoch <mange@freemail.hu>
1098 * url-http.el (url-http-find-free-connection):
1099 Handle url-open-stream returning nil.
1101 2006-10-11 Magnus Henoch <mange@freemail.hu>
1103 * url-https.el: Remove (clashes with url-http on 8+3 systems).
1105 * url-http.el: Move contents of url-https.el here. Add autoloads.
1107 2006-10-09 Magnus Henoch <mange@freemail.hu>
1109 * url-parse.el (url-generic-parse-url): Handle URLs with empty
1110 path component and non-empty query component. Untangle path,
1111 query and fragment parsing code. Add references to RFC 3986 in
1113 (url-recreate-url-attributes): Start query string with "?", not ";".
1115 2006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1117 * url-dav.el (url-dav-file-attributes): Simplify.
1119 * url-http.el (url-http-head-file-attributes): Add device "info".
1121 2006-09-18 Michael Olson <mwolson@gnu.org>
1123 * url-methods.el (url-scheme-register-proxy): Handle case where
1124 getenv returns an empty string for http_proxy. This prevents an
1125 error when calling `format' later on.
1127 2006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
1129 * url-parse.el (url-recreate-url-attributes): New function, code
1130 simply moved from `url-recreate-url'.
1131 (url-recreate-url): Use it.
1132 Put the `url-target' at the end of the URL after the attributes.
1134 * url-http.el (url-http-create-request):
1135 Use `url-recreate-url-attributes' when setting real-fname.
1137 2006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
1139 * url-cookie.el (url-cookie-write-file): Really don't use versioned
1142 2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
1145 dest file will already exist.
1147 2006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1149 * url-util.el (url-hexify-string): Only utf-8 encode if it's
1151 (url-normalize-url): Remove unused var `grok'.
1152 (url-truncate-url-for-viewing): Remove unused var `tail'.
1154 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
1156 * url-util.el (url-hexify-string): Rewrite.
1157 Suggested by David Smith <davidsmith@acm.org>.
1159 2006-07-12 Michael Olson <mwolson@gnu.org>
1161 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
1163 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * url-cookie.el: Remove spurious * in docstrings.
1166 (url-cookie-write-file): Don't use versioned backups.
1167 (url-cookie-host-can-set-p): Remove unused var `tmp'.
1169 2006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
1171 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
1172 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
1174 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
1176 * url-http.el (url-http-file-exists-p): Test if status is integer.
1178 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
1180 * url-http.el (url-http-parse-headers): Don't reuse connection if
1181 "Connection: close" header was seen.
1183 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1185 * url-gw.el (url-open-stream): Don't hide errors.
1186 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1188 * url-handlers.el (url-insert): New function.
1189 (url-insert-file-contents): Use it.
1191 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1193 * url-handlers.el (url-handler-directory-file-name): New handler.
1194 (url-file-local-copy): Plug race condition security hole.
1196 2006-03-27 Romain Francoise <romain@orebokech.com>
1198 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1199 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1200 Default to rcirc, since ZenIRC isn't part of Emacs.
1202 2006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1206 2006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1208 * url-http.el (url-http-find-free-connection): Don't kill the process
1209 when killing the temp buffer.
1210 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1211 byte-compiler that the function is defined.
1213 2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1215 * url.el (url-redirect-buffer): New var.
1216 (url-retrieve-synchronously): Use it to follow redirections.
1218 * url-http.el: Require `url' rather than try to autoload parts of it.
1219 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1220 (url-http-parse-headers): Set `url-redirect-buffer' when following
1221 a redirection reply.
1223 2006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1225 * url-news.el: Move defvars out of eval-when-compile.
1226 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1227 Use with-current-buffer.
1229 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1231 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1232 to stop in the middle of a redirection.
1234 * url-vars.el (url-privacy-level): Add setter.
1236 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * url-history.el (url-history-hash-table): Initialize in declaration.
1239 (url-history-parse-history): Don't reset the history.
1240 (url-history-save-history): Create parent dir if necessary.
1241 (url-history-save-history): Don't write the initialization of
1242 url-history-hash-table into the history file.
1243 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
1244 (url-completion-function): Simplify.
1246 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1247 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1248 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1249 (url-cookie-setup-save-timer): Remove autoload cookies.
1250 They're only called from files that require url-cookie anyway.
1252 * url-history.el (url-history-setup-save-timer)
1253 (url-history-parse-history, url-history-save-history):
1254 Remove autoload cookies. They're only called from url.el which requires
1256 (url-history-parse-history): Don't complain if the file is missing.
1258 2006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1260 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1262 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1264 * url-cache.el: Require `url'.
1266 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1268 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1270 * url.el (url-configuration-directory): Don't autoload because the
1271 default value needs to be computed at run-time, not dump-time.
1273 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1275 * url-cookie.el (url-cookie-write-file): Create parent dir.
1277 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1279 2005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1281 * url-cookie.el (url-cookie-save-interval): Simplify.
1282 (url-cookie-setup-save-timer): Simplify.
1284 2005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1286 * url-history.el (url-history-list): Var deleted.
1287 (url-history-save-interval): Simplify.
1288 (url-history-setup-save-timer): Simplify.
1290 2005-12-01 Kim F. Storm <storm@cua.dk>
1292 * url-history.el (url-history-track): Fix last change.
1294 2005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1296 * url-history.el (url-history-track):
1297 Call url-history-setup-save-timer in :set function.
1298 :type allows three alternatives.
1299 (url-history-setup-save-timer): Test url-history-track.
1300 * url.el (url-retrieve): Test url-history-track.
1302 2005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1304 * url-http.el: Use with-current-buffer.
1305 (url-http-target-url): Rename from url-http-cookies-sources.
1306 (url-http-parse-headers): Use it.
1307 (url-http-handle-authentication): Use subst-char-in-string.
1309 2005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
1311 * url-handlers.el (url-insert-file-contents): Use the charset info
1312 provided by the HTTP server, if any.
1314 2005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1316 * url-nfs.el (top level):
1317 * url-handlers.el (directory-files):
1318 * url-file.el (top level):
1319 * url-dired.el (url-dired-minor-mode-map):
1320 * url-http.el (url-http-chunked-encoding-after-change-function):
1321 Remove XEmacs support.
1323 2005-10-15 Richard M. Stallman <rms@gnu.org>
1325 * url.el: Don't try to autoload hash table functions.
1327 2005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1329 * url-http.el (url-http-create-request): Avoid incorrect implicit
1330 unibyte->multibyte conversion.
1332 2005-09-17 Richard M. Stallman <rms@gnu.org>
1334 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1336 * url-mailto.el (url-mailto): Special case `mail'.
1337 Don't test fboundp of `compose-mail'.
1339 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
1341 * url-mailto.el (url-mailto): Delete mail buffer after sending
1343 Call `compose-mail with `new' argument if possible.
1345 2005-09-13 Chong Yidong <cyd@stupidchicken.com>
1347 * url-mailto.el (url-mailto): Always use a new mail buffer.
1349 2005-09-01 Chong Yidong <cyd@stupidchicken.com>
1351 * url-util.el (url-parse-query-string): New optional argument
1352 allow-newlines allows decoding of newlines.
1354 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1355 Don't lose original "to" value when there is a "to" header.
1356 Remove carriage return characters in message body.
1358 2005-08-24 Juanma Barranquero <lekktu@gmail.com>
1360 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1361 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1363 2005-07-15 Richard M. Stallman <rms@gnu.org>
1365 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1366 when calling url-retrieve, to indicate a redirect.
1368 * url.el (url-retrieve): The callback function can get an additional
1371 2005-07-04 Lute Kamstra <lute@gnu.org>
1373 Update FSF's address in GPL notices.
1375 2005-07-04 Juanma Barranquero <lekktu@gmail.com>
1377 * url-history.el (url-history-track): Doc fix.
1378 (url-history): Finish `defgroup' description with period.
1380 * url-cookie.el (url-cookie):
1381 * url-gw.el (url-gateway):
1382 * url-news.el (url-news):
1383 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1384 Finish `defgroup' description with period.
1386 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1388 * url-http.el (url-http-create-request): Call url-recreate-url
1391 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1393 * url-http.el (url-http-create-request): When computing real-fname,
1394 call url-filename in both cases.
1396 2005-06-27 Richard M. Stallman <rms@gnu.org>
1398 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1399 (url-cookie-retrieve): Likewise.
1400 (url-cookie-generate-header-lines): Likewise.
1401 (url-cookie-handle-set-cookie): Likewise.
1402 (url-cookie-create): Expect :localpart instead of :path.
1403 (url-cookie-localpart): Rename from url-cookie-path.
1404 (url-cookie-set-localpart): Rename from url-cookie-set-path.
1405 (url-cookie-file): Doc fix.
1406 (url-cookie-p): Add doc string.
1408 2005-06-23 Richard M. Stallman <rms@gnu.org>
1410 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1412 2005-06-21 Juanma Barranquero <lekktu@gmail.com>
1414 * url-gw.el (url-open-stream):
1415 * url-vars.el (url-gateway-unplugged): Fix spellings.
1417 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
1419 * url-history.el (url-completion-function): Follow error conventions.
1421 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1423 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1425 2005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * url-dav.el: Remove most autoload cookies.
1428 Don't hook into the url-file-handler since it currently breaks all
1431 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1433 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1434 fetching a file via ange-ftp.
1436 2005-06-10 Juanma Barranquero <lekktu@gmail.com>
1438 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
1440 2005-05-19 Juanma Barranquero <lekktu@gmail.com>
1442 * url-cookie.el (url-cookie-multiple-line):
1443 Specify group and type in defcustom.
1445 2005-05-06 Juanma Barranquero <lekktu@gmail.com>
1447 * url-auth.el (url-register-auth-scheme):
1448 * url-cookie.el (url-cookie-expired-p):
1449 * url-dav.el (url-dav-process-date-property)
1450 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1451 * url-http.el (url-http-chunked-encoding-after-change-function)
1452 (url-http-wait-for-headers-change-function):
1453 * url-ns.el (isInNet):
1454 * url-parse.el (url-generic-parse-url):
1455 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1456 by `string-to-number'.
1458 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1460 * url.el (url-retrieve-synchronously): Work around the fact that
1461 url-http sometimes doesn't call the callback.
1463 2005-04-04 Lute Kamstra <lute@gnu.org>
1465 * url-handlers.el (url-handler-mode): Specify :group.
1467 2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1469 * url-history.el (url-have-visited-url): Don't barf if
1470 url-history-hash-table is nil.
1472 2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1474 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1476 2005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1478 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1479 to nil, like for the 303 response.
1481 2005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1483 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1486 2005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1488 * url-http.el (url-http-handle-authentication):
1489 Don't kill the current buffer.
1491 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1493 * url-handlers.el: Don't `require' everything eagerly.
1495 2004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1497 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1498 to `url-http-cookies-sources' so that cookies are attributed to
1500 (url-http): Make local variable `url-http-cookies-sources'.
1502 2004-11-28 Andreas Schwab <schwab@suse.de>
1504 * url-http.el (url-http-create-request): Don't add newline after
1507 2004-11-20 Masatake YAMATO <jet@gyve.org>
1509 * url.el (url-mm-callback): Delay the invocation
1510 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
1511 when the buffer is killed.
1513 2004-11-12 Masatake YAMATO <jet@gyve.org>
1515 * url-mailto.el (url-mailto): Fix a typo in the comment.
1517 2004-11-02 Masatake YAMATO <jet@gyve.org>
1519 * url-imap.el (url-imap-open-host): Don't use
1520 `string-to-int'. The port returned by `url-port'
1521 is expected to be an integer.
1523 * url-irc.el (url-irc): Ditto.
1525 * url-news.el (url-news-open-host): Ditto.
1527 * url-nfs.el (url-nfs-build-filename): Ditto.
1529 2004-10-20 John Paul Wallington <jpw@gnu.org>
1531 * url-gw.el (url-gateway-nslookup-host):
1532 Use `set-process-query-on-exit-flag'.
1534 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1549 * url-proxy.el: Update header and footer.
1551 * url-vars.el: Update header.
1553 2004-10-16 Richard M. Stallman <rms@gnu.org>
1555 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1557 * url-vars.el (url-passwd-entry-func): Var deleted.
1558 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
1559 (url-weekday-alist): Rename from weekday-alist.
1560 (url-monthabbrev-alist): Rename from monthabbrev-alist.
1561 (url-vars-unload-hook): Initialize hook var to hold the function.
1563 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1564 url-monthabbrev-alist.
1566 * url-misc.el: Load cl at compile time.
1568 * url-mailto.el: Don't load cl.
1569 (url-mailto): Fix call to `push'.
1571 * url-gw.el (url-open-telnet): Use read-passwd.
1573 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1575 2004-10-12 Simon Josefsson <jas@extundo.com>
1577 * url-vars.el (url-gateway-method): Add new method `tls'.
1579 * url-news.el (url-snews): Use nntp-open-tls-stream if
1580 url-gateway-method is tls.
1582 * url-ldap.el (url-ldap-certificate-formatter):
1583 Use tls-certificate-information if ssl.el is not available.
1585 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1588 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1589 (url-open-stream): Likewise.
1591 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1611 * url-util.el: Fix copyright notice.
1613 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1616 encoding, not the buffer-file-name (which might not even exist).
1618 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1620 * url-handlers.el (url-insert-file-contents): Decode contents.
1622 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * url-util.el (url-debug): Use with-current-buffer.
1626 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1627 (url-nfs-create-wrapper): Use new backquote syntax.
1629 * url-https.el (url-https-file-attributes): Add id-format param.
1631 * url-http.el (url-http-head-file-attributes)
1632 (url-http-file-attributes): Add id-format parameter.
1634 * url-handlers.el: Use new find-file-hook.
1635 (url-file-attributes): Add id-format parameter.
1637 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1638 (url-file-file-attributes): Add id-format parameter.
1640 * url-dav.el: Use with-current-buffer.
1641 (url-dav-process-response): Fix regexps and spurious quote.
1642 (url-dav-file-attributes): Add id-format param.
1644 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1646 * url.el (url-retrieve): Use with-current-buffer.
1648 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1649 Remove unused var `version'.
1651 * url-handlers.el (url-handler-mode): New minor mode.
1652 (url-setup-file-name-handlers): Remove.
1654 2004-04-12 John Paul Wallington <jpw@gnu.org>
1656 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1657 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1659 2004-04-11 Dave Love <fx@gnu.org>
1661 * url-mailto.el (url-mailto):
1662 * url-history.el (url-history-setup-save-timer):
1663 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1665 * url-file.el (url-file-build-filename): Don't use
1668 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1670 * url-about.el (url-scheme-registry): Defvar.
1671 (url-about): Use text/plain.
1673 * url-vars.el (cl): Don't require.
1674 (url): Add :version.
1675 (url-bug-address): Use bug-gnu-emacs.
1677 * url-util.el (url-hexify-string): Don't give multibyte error
1679 (mail-header-extract): Autoload.
1681 * url-parse.el: Doc fixes.
1683 * url-ldap.el (ldap): Require.
1684 (url-ldap): Fix `format' call.
1685 (url-ldap-certificate-formatter): Avoid warning.
1687 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
1689 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1690 (url-intersection): New.
1691 (url-dav-supported-p): Use it.
1692 (url-dav-save-resource): Declare url-http-response-status special.
1694 * url-cache.el (url-util): Require.
1696 2004-04-10 Miles Bader <miles@gnu.org>
1698 RCS keyword removal (only non-comment changes are enumerated here):
1700 * url-vars.el (url-version): Use the constant string "Emacs"
1701 instead of calculating something from the RCS `State' keyword
1702 [the latter is almost entirely useless anyway].
1704 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1707 * url-parse.el: Don't require url-auto.
1709 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * url: Imported the URL package from its own CVS repository into Emacs.
1713 ===========================================================================
1714 ===========================================================================
1715 Copy of the ChangeLog file from URL's own CVS repository:
1716 ===========================================================================
1717 ===========================================================================
1719 2003-07-16 Dave Love <fx@gnu.org>
1721 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1722 Should be revisited.
1724 2003-06-26 Sam Steingold <sds@gnu.org>
1726 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1727 method on invalid urls.
1729 2003-05-29 Dave Love <fx@gnu.org>
1731 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1732 sit-for. From monnier@gnu.org.
1734 2002-11-04 Walter C. Pelissero <walter@pelissero.org>
1736 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1737 port numbers to integers when creating the URL objects for proxies.
1739 2002-10-29 William M. Perry <wmperry@gnu.org>
1741 * lisp/url-http.el (url-http-parse-headers): When doing a
1742 redirect, some broken software (sourceforge) sends a redirect to
1743 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1744 specification). I wish we could deal with such lame software
1745 appropriately (spank the authors), but this is the web, so we have
1746 to kow-tow to the servers.
1748 2002-10-27 William M. Perry <wmperry@gnu.org>
1750 * lisp/url-http.el (url-http-create-request): If we are talking to
1751 the default port for a the selected protocol, do NOT send the port
1752 in the HOST header. This fixes the login page at sourceforge.
1754 2002-09-17 William M. Perry <wmperry@gnu.org>
1756 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1757 with cookie headers.
1758 (url-http-parse-headers): Call `url-http-handle-cookies' here so
1759 that cookie additions and deletions get handled immediately.
1760 This is so that sites that set cookies while doing redirects
1761 (my.yahoo.com, outlook web access, etc) work. This should also
1762 fix sites that delete cookies on invalid access or other error
1763 pages the user might not actually see.
1764 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1765 methods to GET in redirects. Too many web sites do this now, and
1766 it is just likely to confuse users.
1768 2002-05-17 Dave Love <fx@gnu.org>
1770 * texi/url.txi: Start making it vaguely useful.
1772 * texi/Makefile.in (install): Cope with Debian install-info.
1773 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
1775 2002-04-22 Dave Love <fx@gnu.org>
1777 * lisp/url-misc.el (man): Autoload to avoid warning.
1778 (url-man): Don't require man here.
1779 (url-data): Generalize in line with the RFC.
1781 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1783 * lisp/url-vars.el: Doc fixes.
1784 (url-mime-charset-string): New function.
1785 (url-mime-charset-string): Use it to set the variable.
1786 (url-set-mime-charset-string): New function.
1787 (set-language-environment-hook): Use it.
1788 (url-vars-unload-hook): New function.
1790 * lisp/url-cookie.el (url-header-comparison): Delete.
1791 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
1792 (url-cookie-save-interval): Make value agree with doc.
1794 * lisp/url.el: Doc fixes.
1795 (url-mm-callback): Don't call mm-destroy-parts immediately for
1796 external viewing -- set up a process sentinel.
1798 2002-02-02 William M. Perry <wmperry@gnu.org>
1800 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
1802 2001-12-12 William M. Perry <wmperry@gnu.org>
1804 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1805 Monnier to use ` instead of ^ to match the relative link.
1807 2001-12-10 William M. Perry <wmperry@gnu.org>
1809 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1810 plist-get (reversed args).
1812 * lisp/url-file.el (url-file-build-filename): Make sure that we
1813 have a parsed URL in this function.
1815 2002-01-22 Dave Love <fx@gnu.org>
1817 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1819 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1820 Bind coding-system-for-read. Require mm-util.
1822 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1824 * lisp/mule-sysdp.el: Removed (obsolete).
1826 2001-12-09 William M. Perry <wmperry@gnu.org>
1828 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1829 remove an arbitrary resource.
1830 (url-dav-delete-directory): Use it.
1831 (url-dav-delete-file): Ditto.
1832 (url-dav-make-directory): New function.
1833 (url-dav-rename-file): New function.
1834 (url-dav-register-handler): New function to easily register a
1835 WebDAV-specific file-name-handler operation.
1836 (url-dav-file-name-all-completions, url-dav-file-name-completion):
1837 New functions that allow file-name completion for WebDAV resources.
1839 2001-12-08 William M. Perry <wmperry@gnu.org>
1841 * lisp/url-dav.el (url-dav-directory-files): New function to
1842 mimic `directory-files' for WebDAV.
1843 (url-dav-delete-directory): New function to mimic
1844 `delete-directory' for WebDAV.
1846 2001-12-06 William M. Perry <wmperry@gnu.org>
1848 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1849 DAV:locktoken hrefs into a usable format.
1850 (url-dav-process-response): Use an unwind-protect to make sure
1851 that we clean up the buffer, even if there is a parsing error.
1852 (url-dav-request): New function to act as the main entry point for
1853 making DAV requests. Takes care of building the XML document with
1854 appropriate namespaces, depth, etc, and parses the results.
1855 (url-dav-get-properties): Use new url-dav-request function.
1856 This is now just a thin wrapper around that to use PROPFIND and set any
1857 extra properties we are looking for.
1858 (url-dav-unlock-resource): New function to release a lock given a
1859 URL and a lock-token.
1860 (url-dav-process-DAV:getlastmodified)
1861 (url-dav-process-DAV:creationdate)
1862 (url-dav-process-DAV:iscollection)
1863 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1865 (url-dav-active-locks): New function to get a list of all the
1866 active locks for a resource.
1867 (url-dav-save-resource): New function to actually save a resource
1868 using the PUT method. I can now successfully save files to an
1869 HTTP server with some manual steps from a lisp-interaction buffer.
1871 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1872 Special case the 204/205 response codes. Some servers do not
1873 send back a 0 content-length for these, and we would hang.
1874 (url-http-parse-headers): Mark 204/205 response codes as
1875 'successful' so that the callbacks get activated.
1876 (url-http-options): Fix unbound variable usage.
1878 * lisp/url-dav.el: Added full copyright information.
1879 (url-dav-process-response): Make sure that we create a DAV:status
1880 property when parsing a singleton response.
1881 (url-dav-file-attributes): If the properties returned did not have
1882 a successful HTTP response code, then ignore them and use the
1883 HEAD-based attributes.
1885 * lisp/vc-dav.el: Added full copyright information.
1887 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1888 Deal with text nodes in DAV:supportedlock nodes.
1889 (url-dav-file-attributes-mode-string): This now gets the entire
1890 property list instead of just the DAV:supportedlock node.
1891 (url-dav-file-attributes): Make sure to pass the whole list in.
1892 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
1893 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1894 'executable' bit to set the 'x' mode. See `mod_dav's custom
1895 properties' at http://www.webdav.org/mod_dav/ for more details.
1896 (url-dav-find-parser): New function to find the proper parser for
1897 a node-type. Looks for
1898 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1899 back to using url-dav-node-text. Caches the results on the nodes
1901 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1902 (url-dav-process-*): Rename most of the handlers and made them
1903 use url-dav-dispatch-node where appropriate.
1904 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1905 property to dispatch the node, now uses dav-dispatch-node so that
1906 it is easy to add parsers for special nodes.
1907 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1908 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1909 (url-dav-process-DAV:getcontentlength)
1910 (url-dave-process-DAV:getlastmodified)
1911 (url-dave-process-DAV:creationdate)
1912 (url-dave-process-DAV:iscollection)
1913 (url-dave-process-DAV:ishidden): Aliases for the generic
1914 url-dav-process-foo-property routines.
1915 (url-dav-process-DAV:activelock)
1916 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1917 DAV:lockdiscovery nodes, so that we can find out who has a
1918 resource locked and properly parse the response to a LOCK request.
1919 (url-dav-process-DAV:status): Now parses out the numeric status
1920 from the HTTP response line.
1921 (url-dav-process-response): New function to handle all the
1922 parsing of an XML response from WebDAV. This handles all the
1923 logic of checking the response content-type to make sure it is
1924 XML, parses the tree, and interprets the tree.
1925 (url-dav-process-response): Make sure that all responses look
1926 like a DAV:multistatus response, even if we get a singleton
1927 response back. This will just make the upper layer logic simpler.
1928 (url-dav-get-properties): New optional argument NAMESPACES that
1929 specifies what namespaces to use in the XML request.
1930 (url-dav-get-properties): Got rid of the D: namespace in
1931 requests. It doesn't save that much space. Just use DAV:
1932 (url-dav-lock-identifier): New variable that should hold a URI
1933 pointing to contact information for the user. This will be used
1934 as the contents of the DAV:owner/DAV:href tag to identify the
1935 owner of a LOCK when requesting it. This will be shown to other
1936 users when the DAV:lockdiscovery property is requested, so make
1937 sure you are comfortable with it leaking to the outside world.
1938 (url-dav-lock-resource): New function to LOCK a dav resource.
1940 2001-12-05 William M. Perry <wmperry@gnu.org>
1942 * lisp/url-dav.el (url-dav-get-properties): New argument
1943 ATTRIBUTES that allows you to ask for specific properties instead
1944 of getting all properties via DAV:allprop.
1946 * lisp/url-http.el (url-http-real-basic-auth-storage):
1947 New variable for normal HTTP basic authentication.
1948 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1949 basic authentication.
1950 (url-http-handle-authentication): Follow new semantics for
1951 url-basic-auth-storage.
1953 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
1954 this variable. It is now a symbol pointing to where we really
1955 want to store the authorization information. This fixes proxy
1956 auth and normal basic auth because of some local bindings that were
1957 making it impossible to store the credentials in the global binding.
1958 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1961 * lisp/url-util.el (url-debug): Add new types 'dav and
1962 'retrieval to the customization list.
1964 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1967 * lisp/url-http.el (url-http-head-file-attributes): Rename old
1968 url-http-file-attributes so that we can have a smarter one that
1969 tries WebDAV first, then HEAD.
1970 (url-http-file-attributes): New smart version that tries WebDAV first.
1971 (url-http-options): New function that returns information gleaned
1972 from an OPTIONS request for a URL. Returns a property list
1973 returning the methods supported for the resource, what DAV and
1974 DASL levels are supported, p3p information, and whether
1975 byte-ranges are supported or not.
1976 (url-http-wait-for-headers-change-function): If we got a 0-byte
1977 content-length, activate the callback immediately.
1978 (url-http-wait-for-headers-change-function): For content-length
1979 responses with actual body-data in the chunk we are handling, call
1980 url-http-content-length-after-change-function with the remaining
1981 data. Otherwise we can deadlock if the headers and the entire
1982 body exist arrive in one chunk.
1984 * lisp/url-dav.el: New file to contain the WebDAV
1985 (http://www.webdav.org/) implementation.
1986 (url-dav-supported-p): Cheap way to figure out whether we will be
1987 able to do DAV at all. We rely on the XML parser expanding
1988 namespaces for us, and currently you need a patched version of
1989 xml.el to do this. Patch sent to author for consideration.
1990 (url-dav-file-attributes): Much more complete version of
1991 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1992 finds out whether something is a directory (a WebDAV collection),
1993 the last modification time, and permissions (based on the
1994 DAV:supportedlock information).
1995 (url-dav-get-properties): Generic interface to get WebDAV
1996 properties for a URL. Can specify an optional `depth' parameter
1997 to tell the web server how many directory (collection) levels to
1998 recurse when retrieving the property lists. Returns an assoc
1999 list keyed off of the resource, the cdr of which is a property list.
2000 (url-dav-datatype-attribute): We support the XML-Data note
2001 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
2002 datatypes of attributes are. Currently only date, dateTime, int,
2003 number, float, boolean, and uri are supported.
2005 2001-12-04 William M. Perry <wmperry@gnu.org>
2007 * lisp/url-handlers.el (file-name-absolute-p): New hooked
2008 version. If the filename matches our regexp, then it is always
2009 absolute, so just return `t'.
2010 (expand-file-name): New hooked version. If the fragment is an
2011 absolute file or URL, then expand it relative to '/'.
2012 (url-handler-regexp): New regexp for specific schemes that we
2013 want the file-name-handlers to work off of.
2014 (url-setup-file-name-handlers): Use it when installing the handlers.
2016 * lisp/url-http.el (url-http-find-free-connection): Better logging
2017 about whether we are reusing an existing connection or not.
2019 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
2020 to string-match instead of match-string (and with reversed
2023 * lisp/url-http.el (url-http-debug): Change to now use the
2024 generic url-debug function to do the actual logging. Still a
2025 separate function so that we can do our magic on the network
2026 connection if the user quits while we are downloading.
2028 * lisp/url-handlers.el (url-file-handler): Now logs the result of
2029 the hooked or real call.
2031 * lisp/url-util.el (url-debug): New function for generic debug logging.
2033 2001-11-28 William M. Perry <wmperry@gnu.org>
2035 * lisp/url-imap.el (url-imap-open-host): Use backquote.
2036 (url-imap): Now switches to 'login as the imap authenticator if
2037 the URL provides a username and password.
2039 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
2040 push to replace some strange logic in here.
2041 (url-run-real-handler): New function to run the real hooks in
2042 case we get a false positive or an operation that we do not
2043 support. The old way disabled _ALL_ file-name-handlers when
2044 we hit something we didn't understand - this disables JUST us.
2045 (url-file-handler): Remove the logic about removing the leading
2046 '/' off of the first argument... it may not be safe to always
2047 assume that the first argument is the one we are acting on -
2048 `default' is the second argument for expand-file-name for example.
2049 (url-setup-file-name-handlers): Use url-nonrelative-link
2050 directly. This means that you must type in the URL directly
2051 without prefixing it with a '/'.
2053 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
2055 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
2056 which activates us (because 'nnml+mail' _is_ a valid scheme name
2057 for a URI). We get thoroughly confused and end up returning
2058 `nil' when we shouldn't.
2060 2001-11-26 William M. Perry <wmperry@gnu.org>
2062 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
2063 this so that visiting a URL directly will work.
2064 (file-symlink-p): Ditto.
2065 (url-insert-file-contents): If `visit' is non-nil then make sure
2066 we set buffer-file-name. After these changes you can visit
2067 http://www.gnu.org/ directly from the minibuffer.
2068 (url-insert-file-contents): When inserting the file contents,
2069 use a save-excursion so that we behave just like the original.
2071 2001-11-25 William M. Perry <wmperry@gnu.org>
2073 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
2075 2001-11-24 William M. Perry <wmperry@gnu.org>
2077 * lisp/url-about.el (url-about): New loader scheme to handle
2078 about:foo URLs. Automatically tries to find a `url-about-foo'
2079 function to display the actual data.
2080 (url-about-protocols): Implement about:protocols.
2082 * lisp/url-http.el (url-http): Make sure that we signal an error
2083 when we cannot open a network connection for whatever reason.
2084 Before, it would just silently clean up after itself and the user
2085 got absolutely no indication that an error had occurred. If the
2086 error should truly be ignored, the caller should do that for us.
2087 (url-http-chunked-encoding-after-change-function): Doh! Need to
2088 user marker-position in some log messages now that
2089 url-http-chunked-start is a marker.
2091 2001-11-22 William M. Perry <wmperry@gnu.org>
2093 * lisp/url-https.el: Fixed definition of url-https - was using the
2094 wrong signature. Too much cut & paste.
2095 (url-https-create-secure-wrapper): Fix so that url-https works
2096 at all. Was not taking a null `method' into account when calling
2097 the wrapped function so url-https tried to call url-http-nil. *sigh*
2100 (url-http-chunked-encoding-after-change-function): Add some
2101 feedback when not debugging about what content-type and chunk # we
2103 (url-http-chunked-encoding-after-change-function): Use a marker
2104 for url-http-chunked-start so that we can safely delete the
2105 chunk-tokens instead of just marking them as invisible.
2106 (url-http-chunked-encoding-after-change-function): Actually delete
2107 the chunk-tokens. Now that we are not run from 'real'
2108 after-change functions, this is safe, and the right thing to do.
2109 Otherwise the HTML parser still saw them and inferred all sorts of
2110 bad things about the document (ie: nothing had a title!)
2112 2001-11-21 William M. Perry <wmperry@gnu.org>
2114 * lisp/url-http.el (url-http-debug): Document this variable.
2115 People other than I might want to use it.
2116 (url-http-debug): Put some code in here to check quit-flag
2117 directly. When the chunked encoding went into a tight spin, your
2118 Emacs would be wedged forever. This short-circuits all the
2119 after-change functions and signals an error.
2120 (url-http-debug): If url-http-debug is non-nil and non-t, then log
2121 the debug messages using `message' as well as sending them to the
2123 (url-http-chunked-encoding-after-change-function): Got rid of the
2124 no-initial-crlf. Had an epiphany and I can just infer this from
2125 url-http-chunked-counter being 0.
2126 (url-http-chunked-encoding-after-change-function): Move the debug
2127 statement about reading chunk #foo into the loop so that each
2128 chunk will have a log message associated with it.
2129 (url-http-chunked-encoding-after-change-function): Make sure to
2130 set read-next-chunk to nil when the regular expression match fails
2131 to fire. Otherwise we could loop forever.
2132 (url-http-chunked-encoding-after-change-function): Tweak the
2133 regular expression to be a little less greedy when looking for a chunk.
2134 (url-http-wait-for-headers-change-function): Remove the last
2135 argument when calling
2136 url-http-chunked-encoding-after-change-function. It is no longer
2137 needed. I should use my brain sometime.
2139 * lisp/url-vars.el (and): Fix feature test for xemacs and
2140 coding-system-list behavior.
2143 (url-http-chunked-encoding-after-change-function): Add optional
2144 no-initial-crlf flag that modifies the regular expression.
2145 This is only set from url-http-wait-for-headers-change-function so that
2146 the initial CRLF in the HTTP headers is not swallowed.
2147 (url-http-chunked-encoding-after-change-function): Fix a few
2148 off-by-one errors by using (match-end 0) instead of 1.
2149 (url-http-chunked-encoding-after-change-function): Add a few
2150 url-http-debug calls to help track down problems in the chunked
2152 (url-http-chunked-encoding-after-change-function): The chunk
2153 reading in here is now in a while loop so that if Emacs feeds us a
2154 chunk of data that happens to contain more than one 'chunk'
2155 delimiter, we behave correctly.
2156 (url-http-wait-for-headers-change-function): Make sure that we
2157 pass no-initial-crlf to
2158 url-http-chunked-encoding-after-change-function when passing
2159 initial data to the decoder.
2160 (url-http-generic-filter): url-http-debug statement so we can tell
2161 when/where our after-change-functions are being called.
2163 2001-10-11 Dave Love <fx@gnu.org>
2165 * lisp/url-handlers.el: Doc fixes.
2166 (string-match): Use (featurep 'xemacs).
2168 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
2170 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
2172 * lisp/url-vars.el (url-running-xemacs): Delete.
2173 (url-gateway-unplugged): New variable.
2175 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
2176 Comment out OS/2 stuff.
2178 2001-10-05 Dave Love <fx@gnu.org>
2180 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
2181 without confirmation.
2183 2001-10-02 Dave Love <fx@gnu.org>
2185 * lisp/url-http.el (url-http-create-request): Check cache for
2186 proxy-obj, if defined, rather than url.
2187 (url-http): Use dolist, not mapc (runtime cl dependency).
2189 * lisp/url-methods.el: Maybe require cl at runtime.
2190 (url-scheme-register-proxy): Fix fetching from environment.
2191 Don't concat a number.
2193 2001-10-01 Dave Love <fx@gnu.org>
2195 * lisp/url-parse.el: Use modern backquote syntax.
2197 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
2198 (url-mail-command): Prefer compose-mail.
2199 (tcp-binary-process-input-services): Comment out.
2200 (url-working-buffer): New constant.
2202 * lisp/url-util.el (url-extract-mime-headers): New function.
2204 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
2207 2001-09-20 Dave Love <fx@gnu.org>
2209 * lisp/url-http.el (url-http-create-request): Don't concat a number.
2211 2001-06-05 Dave Love <fx@gnu.org>
2213 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
2214 tcp-binary-process-input-services. Remove function wrapper for lambda.
2215 (url-retrieve): Barf with sensible message if url-type is null.
2217 * lisp/url-http.el (url-http): Don't try to set process
2218 coding-system here -- done in url-gw.
2220 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2221 (url-open-stream): Bind coding-system-for{read,write} when setting
2222 up the connection. Don't call url-gw-inhibit-code-conversion.
2224 2001-05-24 William M. Perry <wmperry@gnu.org>
2226 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2227 in url-retrieve-synchronously.
2229 2001-05-23 William M. Perry <wmperry@gnu.org>
2231 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2232 accept-process-output. This is evidently causing hangs in Emacs
2233 21 when viewing complex pages with images or stylesheets.
2234 www.yahoo.com is now viewable.
2236 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2237 (mule-inhibit-code-conversion) and just have a local function that
2238 does this minimal cruft.
2239 (url-gw-inhibit-code-conversion): New function to turn off code
2240 conversion in a process.
2242 2001-05-22 William M. Perry <wmperry@gnu.org>
2244 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2245 that we can allow multiple asynch retrievals to happen at once.
2246 (url-retrieve-synchronously): Use a much smaller timeout when
2247 doing the accept-process-output. This gets rid of the long delays
2248 if you are on a fast net connection and retrieve small documents
2249 that finish asynchronously before the first accept-process-output
2250 can be run. All hail broadband and 100Mb in the house!
2251 (url-retrieve-synchronously): Add documentation for this function.
2252 (url-retrieve): Ditto.
2253 (url-mm-url): Ditto.
2255 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2256 documentation strings. Ok, so I'm anal.
2258 * lisp/url-methods.el (url-scheme-methods): Add default methods
2259 for file-directory-p and file-truename.
2261 2001-05-22 Dave Love <fx@gnu.org>
2263 * lisp/url-auth.el (url-warn): Autoload.
2265 * lisp/url-proxy.el (url-warn): Autoload.
2267 * lisp/url-nfs.el: Fix `file-truname' typo.
2269 * lisp/url-news.el: Require cl when compiling.
2270 (url-warn, gnus-group-read-ephemeral-group): Autoload.
2271 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
2272 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2274 * lisp/url-util.el (mule-decode-string): Don't autoload.
2275 (url-hexify-string): Just barf on multibyte characters.
2276 (url-generate-unique-filename): New function.
2278 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2279 not mm-generate-unique-filename.
2281 * lisp/url-http.el: Declare things special in various places.
2282 (url-http-activate-callback): Don't set
2283 url-http-real-after-change-function.
2285 2001-05-22 William M. Perry <wmperry@gnu.org>
2287 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2288 control whether we try to do keep-alives for our connections.
2289 (url-http-version): New variable to control whether we advertise
2290 ourselves as an HTTP/1.1 client or not. This can be useful for
2291 avoiding chunked encoding, and other 1.1 features we may not have
2292 fully implemented yet.
2293 (url-http-create-request): Honor the new variables.
2295 2001-05-21 Dave Love <fx@gnu.org>
2297 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2299 (url-mime-charset-string): Don't reverse the list before sorting.
2301 2001-05-17 William M. Perry <wmperry@gnu.org>
2303 * lisp/url-http.el (url-http-generic-filter): Avoid using
2304 after-change-functions natively. There are just too many ways
2305 that this screws up in Emacs 21. Use a filter function on the
2306 process instead, and call the hook on
2307 url-http-after-change-function manually. [Actually, it will work
2308 in Emacs 21, but one problem that has been fixed in Emacs 21
2309 exists in Emacs 20. -- fx]
2311 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2312 does not exist on older versions of Emacs, or any version of
2313 XEmacs. Do not call it unless it is bound.
2315 2001-05-17 Dave Love <fx@gnu.org>
2317 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2319 2001-05-16 Dave Love <fx@gnu.org>
2321 * lisp/url-vars.el: Doc fixes. Require mm-util.
2322 (url-mime-charset-string): New variable.
2324 * lisp/url-http.el: Doc fixes.
2325 (url-http-create-request): Rearrange how we assemble the request.
2326 Avoid generating bogus requests with an empty real-fname.
2327 (url-http-handle-authentication): Declare status and success special.
2328 (url-http): Call mm-disable-multibyte. Set process buffer's
2329 coding systems to binary.
2331 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2333 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
2334 (url-file-find-possibly-compressed-file): Doc fix.
2335 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
2337 * lisp/url-cache.el: Don't require mule-sysdp.
2338 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2340 * lisp/url.el: Don't require mule-sysdp.
2341 (url-retrieve): Only set text properties if url is a string.
2343 2001-05-14 Dave Love <fx@gnu.org>
2345 * lisp/url-http.el (url-http-create-request):
2346 Declare proxy-object, proxy-info special.
2347 (url-http-handle-authentication): Declare success special.
2349 2001-05-12 Dave Love <fx@gnu.org>
2351 * lisp/url-http.el: Revert last change.
2353 2001-05-10 Dave Love <fx@gnu.org>
2355 * lisp/url-http.el (url-http-generic-after-change-function):
2356 Make it permanent-local.
2358 2001-05-05 Dave Love <fx@gnu.org>
2360 * lisp/url-http.el: Autoload some functions.
2361 (cl): Require when compiling.
2362 (url-http-extra-headers): Defvar when compiling.
2363 (url-http): Treat after-change-functions as a local hook.
2365 * lisp/url-history.el (url-parse): Require.
2366 (url-do-setup): Autoload.
2368 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2370 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2371 Use (featurep 'xemacs).
2372 (url-file-build-filename): Bind pos-index.
2373 (url-file): Call url-find-file-dired, not url-dired-find-file.
2375 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
2376 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2377 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
2378 (url-find-file-dired): Rename from one version of url-dired-find-file.
2380 * lisp/url-cid.el: Don't require widget. Require mm-decode
2383 * lisp/url-util.el: Autoload mule-decode-string,
2384 timezone-parse-date, timezone-make-date-arpa-standard.
2385 (url-unreserved-chars): Fix list per RFC 2396.
2386 (url-hexify-string): Maybe string-make-unibyte.
2388 * lisp/url-news.el: Require nntp.
2390 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2393 2001-05-04 Dave Love <fx@gnu.org>
2395 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2396 not non-existent mailcap-generate-unique-filename.
2398 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
2400 * lisp/url-parse.el: Require url-vars.
2401 Autoload url-scheme-get-property.
2403 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2406 * lisp/url-mailto.el: Require cl when compiling.
2408 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2409 Call url-parse-args, not url-util-parse-args.
2411 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2413 2001-04-09 Dave Love <fx@gnu.org>
2415 * lisp/mule-sysdp.el (mule-detect-coding-version)
2416 (mule-code-convert-region, mule-inhibit-code-conversion)
2417 (mule-write-region-no-coding-system, mule-encode-string)
2418 (mule-decode-string, mule-truncate-string)
2419 (mule-find-charset-region, mule-coding-system-name)
2420 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2421 [There must be a better way.]
2422 (mule-coding-system-p, string-width): Use defalias.
2424 2001-01-03 Sam Steingold <sds@gnu.org>
2426 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2427 set `url-http-end-of-headers' to 0 for HTTP 0.9.
2429 2001-01-02 Sam Steingold <sds@gnu.org>
2431 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
2433 2000-12-22 Dave Love <fx@gnu.org>
2435 * lisp/url-history.el (url): Don't require (to avoid recursion).
2436 (cl): Require when compiling.
2438 * lisp/url-http.el (url-auth): Require.
2439 (url-http-handle-authentication): Fix typo.
2441 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2443 2000-12-20 Dave Love <fx@gnu.org>
2445 * lisp/url.el: Require mm-decode, mm-view when compiling.
2446 <not (fboundp 'puthash)>: Define puthash and
2447 autoload other has functions rather than using cl-...hash.
2450 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2451 Avoid cl-...hash functions.
2453 * lisp/url-history.el: Avoid cl-...hash functions.
2456 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
2458 2000-10-03 William M. Perry <wmperry@aventail.com>
2460 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
2461 getting set to nil due to bad string matching. Subsequent matches
2462 would then choke because we passed string-match a nil.
2464 * lisp/url-http.el (url-http-parse-headers): Need to make the
2465 connection as 'free' when we get a 304 response (found in cache),
2466 or when a keep-alive connection timed out, it would re-parse the
2467 headers and dispatch to the callback again. Eek.
2469 2000-10-02 William M. Perry <wmperry@aventail.com>
2471 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
2472 implement chunked transfer-coding.
2473 (url-http-create-request): We can now advertise ourselves as a 1.1
2476 2000-07-28 Sam Steingold <sds@gnu.org>
2478 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2479 `cbargs' are optional args (for calling from w3).
2480 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
2481 with `string-match' and `protocol' with `scheme'.
2483 2000-07-18 Sam Steingold <sds@gnu.org>
2485 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2486 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
2488 2000-07-10 William M. Perry <wmperry@aventail.com>
2490 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2491 mule, and the character requested is > 255, then return "~"
2492 instead of letting whoever call us signal an error when they try
2493 to insert the character.
2494 (mule-make-iso-character): Also wrap the whole thing in a
2495 condition case and return "~" on error, in case make-char bombs on us.
2497 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
2500 * lisp/url-util.el (url-display-percentage): New routine that uses
2501 the progress bar under XEmacs if available. Looks very sexy under
2502 XEmacs/GTK hacked to use the GNOME statusbar.
2505 (url-http-content-length-after-change-function): Use new function
2506 url-display-percentage instead of url-lazy-message.
2508 2000-01-27 William M. Perry <wmperry@aventail.com>
2510 * lisp/url-file.el (url-file-build-filename): Work around for
2511 differences in ange-ftp / efs handling of port numbers other than 21.
2513 1999-12-24 William M. Perry <wmperry@aventail.com>
2515 * lisp/url-irc.el: Added pointer to draft specification for the
2516 IRC URL so people don't think I'm crazy.
2518 * configure.in: Checks to make sure that Gnus was found, since we
2519 HAVE to have it now. Removed conditional compilation of url-cid.el.
2521 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
2523 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2524 () to have periods at the end of the chunk.
2526 1999-12-14 William M. Perry <wmperry@aventail.com>
2528 * lisp/url-misc.el (url-man): Implement `man' URL types.
2529 (url-info): Autoload.
2531 (url-rlogin): Ditto.
2532 (url-telnet): Ditto.
2533 (url-tn3270): Ditto.
2534 (url-generic-emulator-loader): Ditto.
2536 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2537 to wrap arbitrary `http' methods with the appropriate magic to
2539 (file-exists-p): Use it.
2540 (file-readable-p): Use it.
2541 (file-attributes): Use it.
2543 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2544 server spec for Gnus, make sure we set
2545 nntp-open-connection-function directly, so that other news-related
2546 functions above us can set it.
2547 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2548 (url-nntp): Autoload.
2552 1999-12-12 William M. Perry <wmperry@aventail.com>
2554 * lisp/url-http.el (url-http-parse-response): New function to
2555 parse just the HTTP response code out of the buffer, without
2556 taking any other actions.
2557 (url-http-wait-for-headers-change-function): Use it here when we
2558 know we have an HTTP/1.x response.
2559 (url-http-wait-for-headers-change-function): Special case a
2560 response code of '304' or there could be some delays waiting for
2561 keep-alives to time out on cached documents with no known
2562 content-length on the server.
2564 1999-12-11 William M. Perry <wmperry@aventail.com>
2566 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2567 the Makefile does that for us. We just need to provide what files
2568 to load/functions to run.
2570 * lisp/url-imap.el (url-imap-open-host): Need to bind
2571 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
2572 the current buffer as the IMAP server buffer, which fails miserably.
2574 1999-12-11 Simon Josefsson <jas@pdc.kth.se>
2576 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2578 1999-12-11 William M. Perry <wmperry@aventail.com>
2580 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2581 ange-ftp vs. efs calling semantics consistent, so that if someone
2582 has NEITHER of them loaded, everything should still work.
2584 * lisp/url-handlers.el (url-copy-file): Autoload.
2585 (url-file-local-copy): Ditto.
2586 (url-insert-file-contents): Ditto.
2587 (url-setup-file-name-handlers): Ditto.
2589 1999-12-10 William M. Perry <wmperry@aventail.com>
2591 * lisp/url-http.el (mail-parse): Since we use functions from here,
2592 we should require it, eh?
2594 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
2596 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2598 (url-cookie-generate-header-lines): Use it.
2600 1999-12-06 William M. Perry <wmperry@aventail.com>
2602 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2605 * lisp/url-news.el: Reimplemented news and nntp URL support.
2606 No longer bothers to check for outdated Gnus versions, since this
2607 will not work without them anyway.
2609 1999-12-05 Dave Love <fx@gnu.org>
2611 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2615 1999-12-05 William M. Perry <wmperry@aventail.com>
2617 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2618 message when we have to contact a host so the user always gets
2619 at least some feedback.
2621 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
2623 (url-default-expander): Use it.
2625 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2627 (url-file): Add default content-type of application/octet-stream if
2629 (url-file): Correct bad call to url-host-is-local-p.
2631 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2632 like buffer-substring with nil arguments.
2633 (url-copy-file): Use mm-destroy-parts instead of just killing
2634 the buffer. Use defined interfaces when available!
2635 (url-insert-file-contents): Ditto.
2637 * lisp/url-http.el (url-http-create-request): Lots of changes to
2638 get proxying working.
2640 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2641 find and register a proxy for a specific scheme.
2642 (url-scheme-get-property): Use it when we load a URL scheme for
2645 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
2647 1999-12-04 William M. Perry <wmperry@aventail.com>
2649 * lisp/url-file.el (url-file): Signal an error if
2650 url-file-build-filename could not find the filename.
2652 1999-12-01 William M. Perry <wmperry@aventail.com>
2654 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2655 of manipulating the hash table directly.
2657 * lisp/url-history.el (url-completion-function): New function to
2658 use for reading a URL with completion.
2659 (url-history-update-url): New function to hide the hashtable
2660 implementation from people inserting things into the history.
2662 1999-11-30 William M. Perry <wmperry@aventail.com>
2664 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2667 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
2668 url-parse-args, which had changed the type of arguments it expects.
2670 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2671 (url-copy-file): Ditto.
2673 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2674 just killing the buffer. Use defined interfaces when available!
2676 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2677 AC_FD_CC so they show up in config.log
2678 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2679 this always return 't' instead of 'yes' on successfully finding
2682 * lisp/url-http.el (url-http-parse-headers): Add some
2683 DAV-specific error codes.
2685 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
2686 (url-retrieve-synchronously): Duh, make this function actually
2687 work again. Numerous problems with it, including variable name
2688 collisions - I love dynamically scoped lisps!
2690 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
2691 wrappers onto the appropriate file-based URLs for file-name-handlers.
2693 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
2694 might get messy with file-name-handlers and things.
2696 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2697 using 'HEAD' requests. Thou shalt not change the length of the
2698 region during an after-change-function.
2700 * lisp/url-methods.el (url-scheme-methods): New variable that
2701 holds a list of the methods/variables we look for in a URL scheme.
2702 (url-scheme-get-property): Use it.
2704 1999-11-29 William M. Perry <wmperry@aventail.com>
2706 * lisp/url-http.el (url-http-file-attributes): Reimplement.
2707 (url-http-file-exists-p): Ditto.
2709 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2711 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2712 file-name-handler stubs for all the FTP/FILE stuff.
2714 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2715 cruft. Generic interface on top of functions that each URL
2716 loader provides, if capable.
2718 1999-11-27 William M. Perry <wmperry@aventail.com>
2720 * lisp/url-https.el: Implemented HTTPS support.
2722 1999-11-26 William M. Perry <wmperry@aventail.com>
2724 * url-privacy.el (url-setup-privacy-info): Don't rely on
2725 device-type being defined. Not going to bother redistributing
2726 devices.el for just one function.
2728 * url-methods.el (url-scheme-get-property): Emacs does not have
2729 the 3rd-argument to plist-get to specify the default. *sigh*
2731 * url-dired.el (add-minor-mode): Add definition for Emacs.
2733 * url-http.el (url-http-generic-after-change-function):
2734 New function, since Emacs does not allow you to change the
2735 after-change-functions variable from within a function run by
2736 said hook. This just hands it off to the REAL function.
2737 Side-effect is that this now works on Emacs at all. :)
2739 * Initial checkin of rewritten URL library.
2745 Copyright (C) 1999, 2001-2002, 2004-2012 Free Software Foundation, Inc.
2747 This file is part of GNU Emacs.
2749 GNU Emacs is free software: you can redistribute it and/or modify
2750 it under the terms of the GNU General Public License as published by
2751 the Free Software Foundation, either version 3 of the License, or
2752 (at your option) any later version.
2754 GNU Emacs is distributed in the hope that it will be useful,
2755 but WITHOUT ANY WARRANTY; without even the implied warranty of
2756 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2757 GNU General Public License for more details.
2759 You should have received a copy of the GNU General Public License
2760 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.