1 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3 * url-cookie.el (url-cookie-expired-p): Protect against
4 zero-length cookie expiry dates.
6 2011-10-19 Chong Yidong <cyd@gnu.org>
8 * url-handlers.el (url-handler-mode): Doc fix.
10 2011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
12 * url-http.el (url-http-create-request): Avoid adding extra CRLF
15 2011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17 * url-http.el (url-http-find-free-connection): If there was an
18 error on connect, make sure the user isn't bothered with
21 2011-08-07 Chong Yidong <cyd@stupidchicken.com>
23 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
24 don't convert to a GET request (Bug#701).
26 2011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
28 * url-http.el (url-http): Copy over `url-show-status' to the async
29 buffer so that `url-display-percentage' does the right thing
32 2011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
34 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
37 2011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
39 * url-http.el (url-http-create-request): Remove double carriage
40 return and newline (bug#8931).
42 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
44 * url-http.el (url-http-wait-for-headers-change-function): Remove
45 pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
47 2011-06-04 Andreas Schwab <schwab@linux-m68k.org>
49 * url-future.el (url-future-test): Fix scope of `saver'.
51 2011-06-01 Glenn Morris <rgm@gnu.org>
53 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
54 Add :version tag for options that will be new in 24.1.
56 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
58 * url-queue.el (url-queue-parallel-processes): Increase the
59 default to 6, since 2 seems too conservative for normal usage.
61 2011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
63 * url-future.el: Add general futures facility.
65 2011-05-29 Leo Liu <sdl.web@gmail.com>
67 * url-cookie.el (url-cookie): Add option :named so that
68 url-cookie-p is defined. (Bug#8747)
70 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
72 * url-queue.el: New file.
73 (url-queue-run-queue): Pick the first waiting job, and not the
75 (url-queue-parallel-processes): Lower the concurrency level, since
76 Emacs doesn't seem to like too many async processes.
77 (url-queue-prune-old-entries): Fix up the pruning code.
79 2011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
81 * url-http.el (url-http-wait-for-headers-change-function): Protect
82 against malformed headerless responses from servers.
84 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
86 * url-gw.el (url-open-stream): Use new open-network-stream
87 functionality to perform encryption.
89 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
91 * url-cookie.el (url-cookie-handle-set-cookie):
92 Use `dolist' rather than `mapcar'.
94 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
96 * Version 23.3 released.
98 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
100 * url-parse.el (url-bit-for-url, url-user-for-url)
101 (url-password-for-url): Use `auto-source-search' instead of
102 `auto-source-user-or-password'.
104 * url-auth.el: Autoload `auto-source-search' instead of
105 `auto-source-user-or-password'.
106 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
108 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
110 * url-http.el (url-http-wait-for-headers-change-function): Don't
111 move point if the callback function has moved changed/killed the
114 2010-12-16 Miles Bader <miles@gnu.org>
116 * url-cookie.el: Require 'cl when compiling -- it's necessary for
119 2010-12-14 Glenn Morris <rgm@gnu.org>
121 * url-cookie.el: Don't require cl when compiling.
122 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
123 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
124 (url-cookie-handle-set-cookie): Simplify.
126 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
128 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
129 Suggested by Lennart Borgman (Bug#7543).
131 2010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
133 * url-file.el (url-file-build-filename): Avoid interpreting
134 file:/foo:/bar URLs via tramp.
136 2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
138 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
140 2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
142 * url-http.el (url-http-end-of-document-sentinel): Protect against
143 the process buffer being killed.
145 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
147 * url-http.el (url-http-wait-for-headers-change-function):
148 Protect against url-http-response-status for degenerate documents.
149 (url-http-wait-for-headers-change-function): Revert previous
150 change. It lead to really slow loads.
152 2010-10-03 Glenn Morris <rgm@gnu.org>
154 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
155 (url-get-url-at-point): Don't use eval-when-compile.
157 * url-cache.el (url-cache-create-filename-human-readable)
158 (url-cache-create-filename-using-md5):
159 * url-util.el (url-file-directory, url-file-nondirectory):
160 Don't use eval-when-compile and regexp-quote.
162 2010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
164 * url-vars.el (url-mime-charset-string): Change the default to
165 nil to avoid sending 1171 bytes of not very useful data to the
166 HTTP server every request.
168 2010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
170 * url-util.el (url-display-percentage): Don't message when the URL
172 (url-lazy-message): Ditto.
173 (url-lazy-message): Remove leftover debugging code.
175 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
176 back to the fetching function.
178 * url.el (url-retrieve): Add a silent parameter.
179 (url-retrieve-internal): Ditto.
181 * url-parse.el (url): Add a `silent' slot in the URL struct.
183 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
185 * url-cookie.el (url-cookie-handle-set-cookie): Use
186 url-lazy-message for the cookie warning, which isn't very interesting.
188 * url-http.el (url-http-async-sentinel): Check that the buffer is
189 still alive before switching to it.
191 2010-09-25 Julien Danjou <julien@danjou.info>
193 * url-cache.el (url-cache-create-filename): Ensure no-port and
194 default-port end up with the same cache file.
195 (url-cache-create-filename-human-readable)
196 (url-cache-create-filename-using-md5): Argument is always in the form of
199 2010-09-23 Glenn Morris <rgm@gnu.org>
201 * url-cache.el (url-is-cached): Doc fix.
203 2010-09-23 Glenn Morris <rgm@gnu.org>
205 * url-cache.el (url-cache-expired): Don't autoload.
206 Tweak previous change.
207 (url-cache-expire-time): Doc fix.
209 2010-09-23 Julien Danjou <julien@danjou.info>
211 * url-cache.el (url-cache-expire-time): New option.
212 (url-cache-expired): Rewrite.
214 2010-09-19 Julien Danjou <julien@danjou.info>
216 * url-cache.el (url-fetch-from-cache): New function.
218 2010-09-18 Julien Danjou <julien@danjou.info>
220 * url-vars.el (url-cache-expired): Remove unused variable.
222 2010-09-14 Julien Danjou <julien@danjou.info>
224 * url-cache.el (url-store-in-cache):
225 Make `buff' argument really optional.
227 2010-09-14 Glenn Morris <rgm@gnu.org>
229 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
231 2010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
233 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
235 2010-09-11 Glenn Morris <rgm@gnu.org>
237 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
238 * url-vars.el: Remove leading `*' from defcustom docs.
240 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
242 * url-http.el (url-http-parse-headers): Disable file name handlers at
243 all (not only Tramp). (Bug#6717)
245 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
247 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
249 2010-07-01 Mark A. Hershberger <mah@everybody.org>
251 * url-http.el (url-http-create-request): Add a CRLF on the end so
252 that POSTs with content to https urls work.
253 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
255 2010-06-22 Mark A. Hershberger <mah@everybody.org>
257 * url-parse.el (url-user-for-url, url-password-for-url):
258 Convenience functions that get usernames and passwords for urls
259 from auth-source functions.
261 2010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
263 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
265 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
267 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
269 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
271 * Version 23.2 released.
273 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
275 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
277 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
279 * url-http.el (url-http-parse-headers): Fix wrong variable name.
281 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
283 * url-http.el (url-http-codes): New variable to hold a mapping of
284 HTTP status codes' numbers, their symbolic name, and their text.
285 (url-http-parse-headers): Use it, leaving the original numeric
288 2010-03-19 Glenn Morris <rgm@gnu.org>
290 * url.el: Move mailcap require earlier in the file.
292 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
294 * url-vars.el (url): Put in comm group.
296 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
300 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
302 * url-util.el: Require url-vars (Bug#5459).
304 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
306 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
308 2009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
310 * url-http.el (url-http-handle-authentication): Use proxy server,
311 if any, for authentication (Bug#4883).
313 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
315 * url-util.el (url-insert-entities-in-string):
316 * url-nfs.el (url-nfs-unescape):
317 * url-ldap.el (url-ldap):
318 * url-imap.el (url-imap):
319 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
321 2009-10-01 Glenn Morris <rgm@gnu.org>
323 * url-http.el (url-dav-file-attributes): Fix declaration.
325 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
327 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
328 with 2005-06-25 change to copy-file (Bug#4410).
330 2009-09-13 Glenn Morris <rgm@gnu.org>
332 * url-file.el (url-file): Avoid assignment to free variable `filename'.
334 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
336 * url-methods.el (url-scheme--registering-proxy): New variable.
337 (url-scheme-register-proxy, url-scheme-get-property):
338 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
340 2009-08-22 Glenn Morris <rgm@gnu.org>
342 * url-file.el (url-file-build-filename):
343 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
344 system-types Apple-Macintosh, emx, ms-windows, next-mach.
346 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
350 2009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
352 * url-handlers.el (url-file-handler): Save match data.
354 2009-02-21 Jason Rumney <jasonr@gnu.org>
356 * url-expand.el (url-default-expander): Use concat to combine
359 2009-02-10 Glenn Morris <rgm@gnu.org>
361 * url-util.el (url-generate-unique-filename): Silence compiler.
363 2009-02-07 Chong Yidong <cyd@stupidchicken.com>
365 * url-file.el (url-file): Use make-temp-file.
367 * url-util.el (url-generate-unique-filename): Mark as obsolete.
369 * url-vars.el (url-temporary-directory): Mark as obsolete.
371 2009-01-15 Chong Yidong <cyd@stupidchicken.com>
373 * url-cookie.el (url-cookie-retrieve): Fix last change.
375 2009-01-14 Chong Yidong <cyd@stupidchicken.com>
377 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
379 2009-01-13 Juanma Barranquero <lekktu@gmail.com>
381 * url-util.el (url-truncate-url-for-viewing): Doc fix.
383 2009-01-09 Glenn Morris <rgm@gnu.org>
385 * url-cid.el (url-cid-gnus): Fix typo in header name.
387 2008-11-04 Chong Yidong <cyd@stupidchicken.com>
389 * url-util.el (url-basepath): Add url-basepath as an alias for
392 2008-10-24 Juanma Barranquero <lekktu@gmail.com>
394 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
396 2008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
398 * url-auth.el (url-basic-auth): Encode password string.
400 2008-08-30 Glenn Morris <rgm@gnu.org>
402 * url-http.el (url-https-expand-file-name): Resolve directly to
403 url-default-expander rather than via another alias.
404 (url-default-expander): Autoload an autoload. (Bug#825).
406 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
408 * url.el (url-do-setup):
409 * url-dired.el (url-dired-minor-mode):
410 * url-file.el (url-file-find-possibly-compressed-file):
411 * url-gw.el (url-gateway-broken-resolution):
412 * url-handlers.el (url-handler-regexp):
413 * url-imap.el (url-imap-default-port):
414 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
416 * url-auth.el (url-basic-auth-storage, url-digest-auth):
417 Fix typos in docstrings.
418 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
420 * url-cache.el (url-cache-prepare): Doc fix.
421 (url-cache-create-filename-human-readable, url-cache-extract):
422 Fix typos in docstrings.
424 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
425 (url-dav-delete-something): Fix typos in docstrings.
426 (url-dav-http-success-p, url-dav-file-name-all-completions)
427 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
429 * url-http.el (url-http-idle-sentinel): Doc fix.
431 * url-irc.el (url-irc-default-port): Fix typo in docstring.
432 (url-irc-function): Doc fix.
434 * url-util.el (url-get-url-filename-chars, url-unhex-string):
435 Fix typos in docstrings.
436 (url-file-extension): Doc fix.
438 * url-vars.el (url-current-object, url-current-mime-headers)
439 (url-privacy-level, url-mail-command, url-mime-language-string):
440 Fix typos in docstrings.
441 (url-honor-refresh-requests): Reflow docstring.
442 (url-using-proxy): Doc fix.
444 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
446 * vc-dav.el: Move to the parent directory to be together with the
447 rest of the VC backends.
449 2008-06-07 Glenn Morris <rgm@gnu.org>
451 * url-auth.el (auth-source-user-or-password): Remove unnecessary
454 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
456 * url-handlers.el (url-file-name-completion): Add missing argument.
458 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
460 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
461 (url-basic-auth, url-digest-auth): Use it with any realm,
462 overriding the user name and password before the prompt.
464 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
466 * url-vars.el (url-load-hook): Fix typo in docstring.
468 2008-03-09 Magnus Henoch <mange@freemail.hu>
470 * url-http.el (url-http-chunked-encoding-after-change-function):
471 Remove superfluous CRLF at end of file. (Bug #42)
473 2008-03-02 Andreas Schwab <schwab@suse.de>
475 * url-util.el: Require cl when compiling.
477 2008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
479 * url-util.el (url-get-normalized-date): Simplify to use
480 `format-time-string'. Always generate date in UTC, but
481 call it GMT for full compatibility with the RFCs.
483 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
485 * url-handlers.el (file-remote-p): Add handler.
486 (url-handler-file-remote-p): New fun.
488 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
490 * url-handlers.el (url-handler-unhandled-file-name-directory):
491 Handle `file' URLs specially. Return nil for non-local filenames.
493 2008-02-04 Magnus Henoch <mange@freemail.hu>
495 * url-expand.el: Require cl when compiling, for setf.
497 2008-01-29 John Wiegley <johnw@newartisans.com>
499 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
500 being used, don't add it to the response text. Also, changed an
501 if so that the interaction between the PROMPT and OVERWRITE
502 arguments can no longer result in the user being queried twice for
503 the same login and password information.
505 2008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
507 * url-handlers.el (unhandled-file-name-directory): Add handler.
508 (url-handler-unhandled-file-name-directory): New fun.
510 2008-01-07 Michael Albinus <michael.albinus@gmx.de>
512 * url-handlers.el (url-file-handler): Autoload.
514 2007-12-11 Glenn Morris <rgm@gnu.org>
516 * url.el (url-configuration-directory): Make it a defcustom.
518 * url-util.el (url-make-private-file): New function.
519 * url-cookie.el (url-cookie-write-file):
520 * url-history.el (url-history-save-history):
521 Use url-make-private-file and with-temp-buffer.
523 2007-12-06 Glenn Morris <rgm@gnu.org>
525 * url-file.el, url-mailto.el: Remove directory part from filenames
526 in function declarations.
528 2007-12-02 Glenn Morris <rgm@gnu.org>
530 * url-about.el, url-handlers.el: Don't require cl when compiling.
532 * url-dav.el (url-dav-delete-directory): Fix message typo.
534 * url-history.el (top-level): Don't require cl when compiling.
535 (url-history-setup-save-timer, url-history-save-history):
536 Use condition-case rather than ignore-errors.
538 * url-imap.el (top-level): Don't require cl when compiling.
539 (url-imap): Use signal rather than check-type.
541 * url-news.el (top-level): Don't require cl when compiling.
542 (gnus-group-buffer): Define for compiler.
543 (url-news-fetch-message-id): Don't use `declare'.
544 (nntp-open-tls-stream, nntp-open-ssl-stream):
545 No need to define for compiler.
546 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
547 Correct quoting of nntp-open-connection-function value.
549 2007-12-01 Glenn Morris <rgm@gnu.org>
551 * url-handlers.el (top-level): Always require url-parse, not just
554 2007-11-30 Glenn Morris <rgm@gnu.org>
556 * url-cookie.el (url-cookie-p): Declare as a function.
558 2007-11-29 Glenn Morris <rgm@gnu.org>
560 * url-file.el (url-file-build-filename, url-file): Wrap uses of
561 efs in (featurep 'xemacs) test.
563 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
565 2007-11-28 Diane Murray <disumu@x3y2z1.net>
567 * url-dired.el: Don't require w3-fetch and w3-open-local.
568 (url-dired-find-file): Use `find-file'. Doc fix.
569 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
571 2007-11-24 Glenn Morris <rgm@gnu.org>
573 * url-privacy.el (url-device-type): Fix typo.
575 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
577 * url-mailto.el (mail-send-and-exit):
578 * url-http.el (url-dav-file-attributes):
579 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
580 (url-generate-unique-filename): Declare as functions.
582 * url-privacy.el (url-device-type): Define unconditionally.
584 2007-11-15 Richard Stallman <rms@gnu.org>
586 * url.el (url-retrieve-synchronously): Call delete-process.
588 2007-10-31 Juanma Barranquero <lekktu@gmail.com>
590 * url-vars.el (url-vars-unload-hook): Remove function and variable.
591 Hooks are automatically removed by `unload-feature'.
593 2007-10-13 Richard Stallman <rms@gnu.org>
595 * url-util.el (url-basepath): Function deleted.
596 (url-file-directory, url-file-nondirectory): New functions
597 replacing url-basepath. Callers changed.
599 * url-expand.el (url-default-expander): Use `url-file-directory'.
601 * url-auth.el (url-digest-auth, url-basic-auth):
602 Rename `path' to `file'. Use `url-file-directory'.
604 2007-10-12 Diane Murray <disumu@x3y2z1.net>
606 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
607 empty string filename.
609 2007-10-09 Richard Stallman <rms@gnu.org>
611 * url-parse.el (url-type, url-user, url-password, url-host)
612 (url-port, url-filename, url-target, url-attributes)
613 (url-fullness, url-set-type, url-set-user, url-set-password)
614 (url-set-host, url-set-port, url-set-filename, url-set-target)
615 (url-set-attributes, url-set-full): Change macros to defuns.
617 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
620 * url-vars.el (top): Use `mapc' rather than `mapcar'.
622 2007-09-22 Diane Murray <disumu@x3y2z1.net>
624 * url-misc.el (url-generic-emulator-loader): Send the port as a
625 string to `url-do-terminal-emulator'.
627 2007-09-21 Diane Murray <disumu@x3y2z1.net>
629 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
631 * url-util.el (url-get-normalized-date): Pass full timezone
632 information to timezone-make-date-arpa-standard, since zone name
635 2007-09-03 Diane Murray <disumu@x3y2z1.net>
637 * url-http.el (url-http-parse-headers): Bind the current buffer
638 rather than calling `url-mark-buffer-as-dead' with
639 `current-buffer', so that the correct buffer is killed if
640 `url-retrieve-synchronously' gets redirected to a new URL.
642 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
644 * url-parse.el (url): Use defstruct rather than macros.
645 (url-generic-parse-url):
646 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
647 * url-methods.el (url-scheme-register-proxy):
648 * url-mailto.el (url-mailto):
649 * url-file.el (url-file-build-filename):
650 * url-expand.el (url-identity-expander, url-default-expander):
653 2007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
655 * url-auth.el (url-basic-auth): When prompting for username
656 and password, default to the username and password in the URL.
658 2007-08-08 Glenn Morris <rgm@gnu.org>
660 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
661 Replace `iff' in doc-strings and comments.
663 2007-07-25 Glenn Morris <rgm@gnu.org>
665 * Relicense all FSF files to GPLv3 or later.
667 2007-06-12 Tom Tromey <tromey@redhat.com>
669 * url.el (url-configuration-directory): Use user-emacs-directory.
671 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
673 * url-cookie.el (url-cookie-name, url-cookie-value)
674 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
675 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
676 (url-cookie-set-expires, url-cookie-set-localpart)
677 (url-cookie-set-domain, url-cookie-set-secure)
678 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
679 (url-cookie): New struct.
680 (url-cookie-store): Use setf instead of url-cookie-set-*.
682 2007-05-29 Chong Yidong <cyd@stupidchicken.com>
684 * url-mailto.el (url-mailto): Insert body after
685 mail-header-separator if present, so that it is before signature.
686 Suggested by Leo <sdl.web@gmail.com>.
688 2007-04-15 Chong Yidong <cyd@stupidchicken.com>
690 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
692 2007-04-13 Chong Yidong <cyd@stupidchicken.com>
694 * url-http.el (url-http-parse-headers): Stop after a set number of
695 redirections. Suggested by Diane Murray.
697 * url-vars.el (url-max-redirections): New var.
699 2007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
701 * url-http.el (url-http-handle-cookies): Reverse list returned by
702 `mail-fetch-field', so that cookies are set in the correct order.
704 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
705 Deal with wildcard dots in domain values.
707 2007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
709 * url-http.el (url-http-mark-connection-as-busy)
710 (url-http-mark-connection-as-free): Clear query-on-exit flag on
713 2007-02-04 Chong Yidong <cyd@stupidchicken.com>
715 * url-http.el (url-http-connection-opened): New variable.
716 (url-http): Initialize it.
717 (url-http-async-sentinel): Don't try changing sentinels.
718 Run url-http-end-of-document-sentinel if necessary.
720 2007-01-29 Juanma Barranquero <lekktu@gmail.com>
722 * url-auth.el (url-get-authentication): Fix typo in docstring.
724 2007-01-14 Magnus Henoch <mange@freemail.hu>
726 * url-proxy.el (url-proxy-object): Remove.
727 (url-proxy): Don't use `url-proxy-object'. Act according to type of
728 proxy (currently only HTTP supported).
730 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
732 * url-http.el (url-http-proxy): New variable.
733 (url-http-create-request): Use it. Don't use `url-proxy-object'.
734 (url-http): Treat `url' argument as resource to download, and
735 dynamic variable `url-using-proxy' as proxy to use.
736 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
738 (url-http-handle-cookies): Assume that `url-current-object' does
739 not point to the proxy used.
740 (url-http-async-sentinel): Adapt error message.
742 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
744 * url-gw.el (url-gateway-nslookup-program): Doc fix.
746 2006-12-08 Magnus Henoch <mange@freemail.hu>
748 * url-proxy.el (url-proxy-object): New variable.
749 (url-proxy): Bind it instead of `proxy-object'.
751 * url-http.el (url-http-create-request): Remove url argument, use
752 the buffer-local variable `url-http-target-url' instead.
753 Both callers updated. Simplify proxy handling.
754 (url-http): Don't make proxy-object buffer local.
756 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
758 2006-11-26 Magnus Henoch <mange@freemail.hu>
760 * url-http.el (url-http-wait-for-headers-change-function):
761 Use `when' instead of `if' when possible.
762 (url-http): Define url-http-response-version.
763 (url-http-parse-response): Set it.
764 (url-http-parse-headers): Use it to determine keep-alive behavior.
766 2006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
768 * url-http.el (url-http-content-length-after-change-function):
769 Use `url-lazy-message'.
771 * url-util.el (url-display-percentage): Only show a message if
772 `url-show-status' is non-nil.
774 2006-11-15 Magnus Henoch <mange@freemail.hu>
776 * url-http.el (url-http): Make proxy-object buffer-local, to
777 handle proxied asynchronous connections correctly.
779 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
781 2006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
783 * url-http.el (url-http-wait-for-headers-change-function):
784 Defer detection of HTTP 0.9 until we have at least one line.
786 2006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
788 * url-http.el (url-http-mark-connection-as-free)
789 (url-http-find-free-connection): Don't treat process with status
791 (url-http-async-sentinel): Request correct url.
793 2006-11-08 Magnus Henoch <mange@freemail.hu>
795 * url-http.el (url-http-handle-authentication): If there are
796 several authentication headers, use the strongest available
799 * url.el (url-retrieve-synchronously): Allow quitting when
802 2006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
804 * url-http.el (url-http-handle-authentication): If there are
805 several authentication headers, use the first with a supported
808 2006-11-01 Magnus Henoch <mange@freemail.hu>
810 * url-http.el (url-http-create-request): Use buffer-local
811 equivalents of dynamically bound variables.
813 2006-10-29 Magnus Henoch <mange@freemail.hu>
815 * url-gw.el (url-open-stream): Really use asynchronous
816 connections (accidentally disabled during debugging).
818 2006-10-28 Magnus Henoch <mange@freemail.hu>
820 * url-http.el (url-http-parse-headers): Fix misplaced paren.
822 2006-10-27 Magnus Henoch <mange@freemail.hu>
824 * url-http.el (url-http-mark-connection-as-free): Verify that
825 connection is open before saving it.
826 (url-http-handle-authentication): Use url-retrieve-internal
827 instead of url-retrieve.
828 (url-http-parse-headers): Adapt to new callback interface.
829 (url-http): Handle non-blocking connections.
830 (url-http-async-sentinel): Create.
832 * url.el (url-retrieve): Update docstring for new callback interface.
834 (url-retrieve-internal): Move code from url-retrieve here.
836 * url-gw.el (url-open-stream): Use a non-blocking socket for
837 `native' gateway method, if available.
839 2006-10-16 Magnus Henoch <mange@freemail.hu>
841 * url-http.el (url-https-create-secure-wrapper):
842 Always use tls gateway method.
844 2006-10-12 Magnus Henoch <mange@freemail.hu>
846 * url-http.el (url-http-find-free-connection):
847 Handle url-open-stream returning nil.
849 2006-10-11 Magnus Henoch <mange@freemail.hu>
851 * url-https.el: Remove (clashes with url-http on 8+3 systems).
853 * url-http.el: Move contents of url-https.el here. Add autoloads.
855 2006-10-09 Magnus Henoch <mange@freemail.hu>
857 * url-parse.el (url-generic-parse-url): Handle URLs with empty
858 path component and non-empty query component. Untangle path,
859 query and fragment parsing code. Add references to RFC 3986 in
861 (url-recreate-url-attributes): Start query string with "?", not ";".
863 2006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
865 * url-dav.el (url-dav-file-attributes): Simplify.
867 * url-http.el (url-http-head-file-attributes): Add device "info".
869 2006-09-18 Michael Olson <mwolson@gnu.org>
871 * url-methods.el (url-scheme-register-proxy): Handle case where
872 getenv returns an empty string for http_proxy. This prevents an
873 error when calling `format' later on.
875 2006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
877 * url-parse.el (url-recreate-url-attributes): New function, code
878 simply moved from `url-recreate-url'.
879 (url-recreate-url): Use it.
880 Put the `url-target' at the end of the URL after the attributes.
882 * url-http.el (url-http-create-request):
883 Use `url-recreate-url-attributes' when setting real-fname.
885 2006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
887 * url-cookie.el (url-cookie-write-file): Really don't use versioned
890 2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
892 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
893 dest file will already exist.
895 2006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
897 * url-util.el (url-hexify-string): Only utf-8 encode if it's
899 (url-normalize-url): Remove unused var `grok'.
900 (url-truncate-url-for-viewing): Remove unused var `tail'.
902 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
904 * url-util.el (url-hexify-string): Rewrite.
905 Suggested by David Smith <davidsmith@acm.org>.
907 2006-07-12 Michael Olson <mwolson@gnu.org>
909 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
911 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
913 * url-cookie.el: Remove spurious * in docstrings.
914 (url-cookie-write-file): Don't use versioned backups.
915 (url-cookie-host-can-set-p): Remove unused var `tmp'.
917 2006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
919 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
920 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
922 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
924 * url-http.el (url-http-file-exists-p): Test if status is integer.
926 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
928 * url-http.el (url-http-parse-headers): Don't reuse connection if
929 "Connection: close" header was seen.
931 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
933 * url-gw.el (url-open-stream): Don't hide errors.
934 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
936 * url-handlers.el (url-insert): New function.
937 (url-insert-file-contents): Use it.
939 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
941 * url-handlers.el (url-handler-directory-file-name): New handler.
942 (url-file-local-copy): Plug race condition security hole.
944 2006-03-27 Romain Francoise <romain@orebokech.com>
946 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
947 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
948 Default to rcirc, since ZenIRC isn't part of Emacs.
950 2006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
952 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
954 2006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
956 * url-http.el (url-http-find-free-connection): Don't kill the process
957 when killing the temp buffer.
958 (url-http-symbol-value-in-buffer): Massage to make it clear to the
959 byte-compiler that the function is defined.
961 2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
963 * url.el (url-redirect-buffer): New var.
964 (url-retrieve-synchronously): Use it to follow redirections.
966 * url-http.el: Require `url' rather than try to autoload parts of it.
967 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
968 (url-http-parse-headers): Set `url-redirect-buffer' when following
971 2006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
973 * url-news.el: Move defvars out of eval-when-compile.
974 (url-news-fetch-message-id, url-news-fetch-newsgroup):
975 Use with-current-buffer.
977 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
979 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
980 to stop in the middle of a redirection.
982 * url-vars.el (url-privacy-level): Add setter.
984 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
986 * url-history.el (url-history-hash-table): Initialize in declaration.
987 (url-history-parse-history): Don't reset the history.
988 (url-history-save-history): Create parent dir if necessary.
989 (url-history-save-history): Don't write the initialization of
990 url-history-hash-table into the history file.
991 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
992 (url-completion-function): Simplify.
994 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
995 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
996 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
997 (url-cookie-setup-save-timer): Remove autoload cookies.
998 They're only called from files that require url-cookie anyway.
1000 * url-history.el (url-history-setup-save-timer)
1001 (url-history-parse-history, url-history-save-history):
1002 Remove autoload cookies. They're only called from url.el which requires
1004 (url-history-parse-history): Don't complain if the file is missing.
1006 2006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1008 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1010 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1012 * url-cache.el: Require `url'.
1014 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1016 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1018 * url.el (url-configuration-directory): Don't autoload because the
1019 default value needs to be computed at run-time, not dump-time.
1021 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1023 * url-cookie.el (url-cookie-write-file): Create parent dir.
1025 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1027 2005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1029 * url-cookie.el (url-cookie-save-interval): Simplify.
1030 (url-cookie-setup-save-timer): Simplify.
1032 2005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1034 * url-history.el (url-history-list): Var deleted.
1035 (url-history-save-interval): Simplify.
1036 (url-history-setup-save-timer): Simplify.
1038 2005-12-01 Kim F. Storm <storm@cua.dk>
1040 * url-history.el (url-history-track): Fix last change.
1042 2005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1044 * url-history.el (url-history-track):
1045 Call url-history-setup-save-timer in :set function.
1046 :type allows three alternatives.
1047 (url-history-setup-save-timer): Test url-history-track.
1048 * url.el (url-retrieve): Test url-history-track.
1050 2005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1052 * url-http.el: Use with-current-buffer.
1053 (url-http-target-url): Rename from url-http-cookies-sources.
1054 (url-http-parse-headers): Use it.
1055 (url-http-handle-authentication): Use subst-char-in-string.
1057 2005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
1059 * url-handlers.el (url-insert-file-contents): Use the charset info
1060 provided by the HTTP server, if any.
1062 2005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1064 * url-nfs.el (top level):
1065 * url-handlers.el (directory-files):
1066 * url-file.el (top level):
1067 * url-dired.el (url-dired-minor-mode-map):
1068 * url-http.el (url-http-chunked-encoding-after-change-function):
1069 Remove XEmacs support.
1071 2005-10-15 Richard M. Stallman <rms@gnu.org>
1073 * url.el: Don't try to autoload hash table functions.
1075 2005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * url-http.el (url-http-create-request): Avoid incorrect implicit
1078 unibyte->multibyte conversion.
1080 2005-09-17 Richard M. Stallman <rms@gnu.org>
1082 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1084 * url-mailto.el (url-mailto): Special case `mail'.
1085 Don't test fboundp of `compose-mail'.
1087 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
1089 * url-mailto.el (url-mailto): Delete mail buffer after sending
1091 Call `compose-mail with `new' argument if possible.
1093 2005-09-13 Chong Yidong <cyd@stupidchicken.com>
1095 * url-mailto.el (url-mailto): Always use a new mail buffer.
1097 2005-09-01 Chong Yidong <cyd@stupidchicken.com>
1099 * url-util.el (url-parse-query-string): New optional argument
1100 allow-newlines allows decoding of newlines.
1102 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1103 Don't lose original "to" value when there is a "to" header.
1104 Remove carriage return characters in message body.
1106 2005-08-24 Juanma Barranquero <lekktu@gmail.com>
1108 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1109 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1111 2005-07-15 Richard M. Stallman <rms@gnu.org>
1113 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1114 when calling url-retrieve, to indicate a redirect.
1116 * url.el (url-retrieve): The callback function can get an additional
1119 2005-07-04 Lute Kamstra <lute@gnu.org>
1121 Update FSF's address in GPL notices.
1123 2005-07-04 Juanma Barranquero <lekktu@gmail.com>
1125 * url-history.el (url-history-track): Doc fix.
1126 (url-history): Finish `defgroup' description with period.
1128 * url-cookie.el (url-cookie):
1129 * url-gw.el (url-gateway):
1130 * url-news.el (url-news):
1131 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1132 Finish `defgroup' description with period.
1134 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1136 * url-http.el (url-http-create-request): Call url-recreate-url
1139 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1141 * url-http.el (url-http-create-request): When computing real-fname,
1142 call url-filename in both cases.
1144 2005-06-27 Richard M. Stallman <rms@gnu.org>
1146 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1147 (url-cookie-retrieve): Likewise.
1148 (url-cookie-generate-header-lines): Likewise.
1149 (url-cookie-handle-set-cookie): Likewise.
1150 (url-cookie-create): Expect :localpart instead of :path.
1151 (url-cookie-localpart): Rename from url-cookie-path.
1152 (url-cookie-set-localpart): Rename from url-cookie-set-path.
1153 (url-cookie-file): Doc fix.
1154 (url-cookie-p): Add doc string.
1156 2005-06-23 Richard M. Stallman <rms@gnu.org>
1158 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1160 2005-06-21 Juanma Barranquero <lekktu@gmail.com>
1162 * url-gw.el (url-open-stream):
1163 * url-vars.el (url-gateway-unplugged): Fix spellings.
1165 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
1167 * url-history.el (url-completion-function): Follow error conventions.
1169 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1171 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1173 2005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1175 * url-dav.el: Remove most autoload cookies.
1176 Don't hook into the url-file-handler since it currently breaks all
1179 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1181 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1182 fetching a file via ange-ftp.
1184 2005-06-10 Juanma Barranquero <lekktu@gmail.com>
1186 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
1188 2005-05-19 Juanma Barranquero <lekktu@gmail.com>
1190 * url-cookie.el (url-cookie-multiple-line):
1191 Specify group and type in defcustom.
1193 2005-05-06 Juanma Barranquero <lekktu@gmail.com>
1195 * url-auth.el (url-register-auth-scheme):
1196 * url-cookie.el (url-cookie-expired-p):
1197 * url-dav.el (url-dav-process-date-property)
1198 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1199 * url-http.el (url-http-chunked-encoding-after-change-function)
1200 (url-http-wait-for-headers-change-function):
1201 * url-ns.el (isInNet):
1202 * url-parse.el (url-generic-parse-url):
1203 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1204 by `string-to-number'.
1206 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1208 * url.el (url-retrieve-synchronously): Work around the fact that
1209 url-http sometimes doesn't call the callback.
1211 2005-04-04 Lute Kamstra <lute@gnu.org>
1213 * url-handlers.el (url-handler-mode): Specify :group.
1215 2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1217 * url-history.el (url-have-visited-url): Don't barf if
1218 url-history-hash-table is nil.
1220 2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1222 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1224 2005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1226 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1227 to nil, like for the 303 response.
1229 2005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1231 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1234 2005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1236 * url-http.el (url-http-handle-authentication):
1237 Don't kill the current buffer.
1239 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1241 * url-handlers.el: Don't `require' everything eagerly.
1243 2004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1245 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1246 to `url-http-cookies-sources' so that cookies are attributed to
1248 (url-http): Make local variable `url-http-cookies-sources'.
1250 2004-11-28 Andreas Schwab <schwab@suse.de>
1252 * url-http.el (url-http-create-request): Don't add newline after
1255 2004-11-20 Masatake YAMATO <jet@gyve.org>
1257 * url.el (url-mm-callback): Delay the invocation
1258 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
1259 when the buffer is killed.
1261 2004-11-12 Masatake YAMATO <jet@gyve.org>
1263 * url-mailto.el (url-mailto): Fix a typo in the comment.
1265 2004-11-02 Masatake YAMATO <jet@gyve.org>
1267 * url-imap.el (url-imap-open-host): Don't use
1268 `string-to-int'. The port returned by `url-port'
1269 is expected to be an integer.
1271 * url-irc.el (url-irc): Ditto.
1273 * url-news.el (url-news-open-host): Ditto.
1275 * url-nfs.el (url-nfs-build-filename): Ditto.
1277 2004-10-20 John Paul Wallington <jpw@gnu.org>
1279 * url-gw.el (url-gateway-nslookup-host):
1280 Use `set-process-query-on-exit-flag'.
1282 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1297 * url-proxy.el: Update header and footer.
1299 * url-vars.el: Update header.
1301 2004-10-16 Richard M. Stallman <rms@gnu.org>
1303 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1305 * url-vars.el (url-passwd-entry-func): Var deleted.
1306 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
1307 (url-weekday-alist): Rename from weekday-alist.
1308 (url-monthabbrev-alist): Rename from monthabbrev-alist.
1309 (url-vars-unload-hook): Initialize hook var to hold the function.
1311 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1312 url-monthabbrev-alist.
1314 * url-misc.el: Load cl at compile time.
1316 * url-mailto.el: Don't load cl.
1317 (url-mailto): Fix call to `push'.
1319 * url-gw.el (url-open-telnet): Use read-passwd.
1321 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1323 2004-10-12 Simon Josefsson <jas@extundo.com>
1325 * url-vars.el (url-gateway-method): Add new method `tls'.
1327 * url-news.el (url-snews): Use nntp-open-tls-stream if
1328 url-gateway-method is tls.
1330 * url-ldap.el (url-ldap-certificate-formatter):
1331 Use tls-certificate-information if ssl.el is not available.
1333 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1336 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1337 (url-open-stream): Likewise.
1339 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1359 * url-util.el: Fix copyright notice.
1361 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1363 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1364 encoding, not the buffer-file-name (which might not even exist).
1366 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1368 * url-handlers.el (url-insert-file-contents): Decode contents.
1370 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1372 * url-util.el (url-debug): Use with-current-buffer.
1374 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1375 (url-nfs-create-wrapper): Use new backquote syntax.
1377 * url-https.el (url-https-file-attributes): Add id-format param.
1379 * url-http.el (url-http-head-file-attributes)
1380 (url-http-file-attributes): Add id-format parameter.
1382 * url-handlers.el: Use new find-file-hook.
1383 (url-file-attributes): Add id-format parameter.
1385 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1386 (url-file-file-attributes): Add id-format parameter.
1388 * url-dav.el: Use with-current-buffer.
1389 (url-dav-process-response): Fix regexps and spurious quote.
1390 (url-dav-file-attributes): Add id-format param.
1392 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * url.el (url-retrieve): Use with-current-buffer.
1396 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1397 Remove unused var `version'.
1399 * url-handlers.el (url-handler-mode): New minor mode.
1400 (url-setup-file-name-handlers): Remove.
1402 2004-04-12 John Paul Wallington <jpw@gnu.org>
1404 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1405 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1407 2004-04-11 Dave Love <fx@gnu.org>
1409 * url-mailto.el (url-mailto):
1410 * url-history.el (url-history-setup-save-timer):
1411 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1413 * url-file.el (url-file-build-filename): Don't use
1416 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1418 * url-about.el (url-scheme-registry): Defvar.
1419 (url-about): Use text/plain.
1421 * url-vars.el (cl): Don't require.
1422 (url): Add :version.
1423 (url-bug-address): Use bug-gnu-emacs.
1425 * url-util.el (url-hexify-string): Don't give multibyte error
1427 (mail-header-extract): Autoload.
1429 * url-parse.el: Doc fixes.
1431 * url-ldap.el (ldap): Require.
1432 (url-ldap): Fix `format' call.
1433 (url-ldap-certificate-formatter): Avoid warning.
1435 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
1437 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1438 (url-intersection): New.
1439 (url-dav-supported-p): Use it.
1440 (url-dav-save-resource): Declare url-http-response-status special.
1442 * url-cache.el (url-util): Require.
1444 2004-04-10 Miles Bader <miles@gnu.org>
1446 RCS keyword removal (only non-comment changes are enumerated here):
1448 * url-vars.el (url-version): Use the constant string "Emacs"
1449 instead of calculating something from the RCS `State' keyword
1450 [the latter is almost entirely useless anyway].
1452 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1455 * url-parse.el: Don't require url-auto.
1457 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1459 * url: Imported the URL package from its own CVS repository into Emacs.
1461 ===========================================================================
1462 ===========================================================================
1463 Copy of the ChangeLog file from URL's own CVS repository:
1464 ===========================================================================
1465 ===========================================================================
1467 2003-07-16 Dave Love <fx@gnu.org>
1469 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1470 Should be revisited.
1472 2003-06-26 Sam Steingold <sds@gnu.org>
1474 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1475 method on invalid urls.
1477 2003-05-29 Dave Love <fx@gnu.org>
1479 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1480 sit-for. From monnier@gnu.org.
1482 2002-11-04 Walter C. Pelissero <walter@pelissero.org>
1484 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1485 port numbers to integers when creating the URL objects for proxies.
1487 2002-10-29 William M. Perry <wmperry@gnu.org>
1489 * lisp/url-http.el (url-http-parse-headers): When doing a
1490 redirect, some broken software (sourceforge) sends a redirect to
1491 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1492 specification). I wish we could deal with such lame software
1493 appropriately (spank the authors), but this is the web, so we have
1494 to kow-tow to the servers.
1496 2002-10-27 William M. Perry <wmperry@gnu.org>
1498 * lisp/url-http.el (url-http-create-request): If we are talking to
1499 the default port for a the selected protocol, do NOT send the port
1500 in the HOST header. This fixes the login page at sourceforge.
1502 2002-09-17 William M. Perry <wmperry@gnu.org>
1504 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1505 with cookie headers.
1506 (url-http-parse-headers): Call `url-http-handle-cookies' here so
1507 that cookie additions and deletions get handled immediately.
1508 This is so that sites that set cookies while doing redirects
1509 (my.yahoo.com, outlook web access, etc) work. This should also
1510 fix sites that delete cookies on invalid access or other error
1511 pages the user might not actually see.
1512 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1513 methods to GET in redirects. Too many web sites do this now, and
1514 it is just likely to confuse users.
1516 2002-05-17 Dave Love <fx@gnu.org>
1518 * texi/url.txi: Start making it vaguely useful.
1520 * texi/Makefile.in (install): Cope with Debian install-info.
1521 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
1523 2002-04-22 Dave Love <fx@gnu.org>
1525 * lisp/url-misc.el (man): Autoload to avoid warning.
1526 (url-man): Don't require man here.
1527 (url-data): Generalize in line with the RFC.
1529 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1531 * lisp/url-vars.el: Doc fixes.
1532 (url-mime-charset-string): New function.
1533 (url-mime-charset-string): Use it to set the variable.
1534 (url-set-mime-charset-string): New function.
1535 (set-language-environment-hook): Use it.
1536 (url-vars-unload-hook): New function.
1538 * lisp/url-cookie.el (url-header-comparison): Delete.
1539 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
1540 (url-cookie-save-interval): Make value agree with doc.
1542 * lisp/url.el: Doc fixes.
1543 (url-mm-callback): Don't call mm-destroy-parts immediately for
1544 external viewing -- set up a process sentinel.
1546 2002-02-02 William M. Perry <wmperry@gnu.org>
1548 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
1550 2001-12-12 William M. Perry <wmperry@gnu.org>
1552 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1553 Monnier to use ` instead of ^ to match the relative link.
1555 2001-12-10 William M. Perry <wmperry@gnu.org>
1557 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1558 plist-get (reversed args).
1560 * lisp/url-file.el (url-file-build-filename): Make sure that we
1561 have a parsed URL in this function.
1563 2002-01-22 Dave Love <fx@gnu.org>
1565 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1567 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1568 Bind coding-system-for-read. Require mm-util.
1570 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1572 * lisp/mule-sysdp.el: Removed (obsolete).
1574 2001-12-09 William M. Perry <wmperry@gnu.org>
1576 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1577 remove an arbitrary resource.
1578 (url-dav-delete-directory): Use it.
1579 (url-dav-delete-file): Ditto.
1580 (url-dav-make-directory): New function.
1581 (url-dav-rename-file): New function.
1582 (url-dav-register-handler): New function to easily register a
1583 WebDAV-specific file-name-handler operation.
1584 (url-dav-file-name-all-completions, url-dav-file-name-completion):
1585 New functions that allow file-name completion for WebDAV resources.
1587 2001-12-08 William M. Perry <wmperry@gnu.org>
1589 * lisp/url-dav.el (url-dav-directory-files): New function to
1590 mimic `directory-files' for WebDAV.
1591 (url-dav-delete-directory): New function to mimic
1592 `delete-directory' for WebDAV.
1594 2001-12-06 William M. Perry <wmperry@gnu.org>
1596 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1597 DAV:locktoken hrefs into a usable format.
1598 (url-dav-process-response): Use an unwind-protect to make sure
1599 that we clean up the buffer, even if there is a parsing error.
1600 (url-dav-request): New function to act as the main entry point for
1601 making DAV requests. Takes care of building the XML document with
1602 appropriate namespaces, depth, etc, and parses the results.
1603 (url-dav-get-properties): Use new url-dav-request function.
1604 This is now just a thin wrapper around that to use PROPFIND and set any
1605 extra properties we are looking for.
1606 (url-dav-unlock-resource): New function to release a lock given a
1607 URL and a lock-token.
1608 (url-dav-process-DAV:getlastmodified)
1609 (url-dav-process-DAV:creationdate)
1610 (url-dav-process-DAV:iscollection)
1611 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1613 (url-dav-active-locks): New function to get a list of all the
1614 active locks for a resource.
1615 (url-dav-save-resource): New function to actually save a resource
1616 using the PUT method. I can now successfully save files to an
1617 HTTP server with some manual steps from a lisp-interaction buffer.
1619 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1620 Special case the 204/205 response codes. Some servers do not
1621 send back a 0 content-length for these, and we would hang.
1622 (url-http-parse-headers): Mark 204/205 response codes as
1623 'successful' so that the callbacks get activated.
1624 (url-http-options): Fix unbound variable usage.
1626 * lisp/url-dav.el: Added full copyright information.
1627 (url-dav-process-response): Make sure that we create a DAV:status
1628 property when parsing a singleton response.
1629 (url-dav-file-attributes): If the properties returned did not have
1630 a successful HTTP response code, then ignore them and use the
1631 HEAD-based attributes.
1633 * lisp/vc-dav.el: Added full copyright information.
1635 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1636 Deal with text nodes in DAV:supportedlock nodes.
1637 (url-dav-file-attributes-mode-string): This now gets the entire
1638 property list instead of just the DAV:supportedlock node.
1639 (url-dav-file-attributes): Make sure to pass the whole list in.
1640 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
1641 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1642 'executable' bit to set the 'x' mode. See `mod_dav's custom
1643 properties' at http://www.webdav.org/mod_dav/ for more details.
1644 (url-dav-find-parser): New function to find the proper parser for
1645 a node-type. Looks for
1646 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1647 back to using url-dav-node-text. Caches the results on the nodes
1649 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1650 (url-dav-process-*): Rename most of the handlers and made them
1651 use url-dav-dispatch-node where appropriate.
1652 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1653 property to dispatch the node, now uses dav-dispatch-node so that
1654 it is easy to add parsers for special nodes.
1655 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1656 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1657 (url-dav-process-DAV:getcontentlength)
1658 (url-dave-process-DAV:getlastmodified)
1659 (url-dave-process-DAV:creationdate)
1660 (url-dave-process-DAV:iscollection)
1661 (url-dave-process-DAV:ishidden): Aliases for the generic
1662 url-dav-process-foo-property routines.
1663 (url-dav-process-DAV:activelock)
1664 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1665 DAV:lockdiscovery nodes, so that we can find out who has a
1666 resource locked and properly parse the reponse to a LOCK request.
1667 (url-dav-process-DAV:status): Now parses out the numeric status
1668 from the HTTP response line.
1669 (url-dav-process-response): New function to handle all the
1670 parsing of an XML response from WebDAV. This handles all the
1671 logic of checking the response content-type to make sure it is
1672 XML, parses the tree, and interprets the tree.
1673 (url-dav-process-response): Make sure that all responses look
1674 like a DAV:multistatus response, even if we get a singleton
1675 response back. This will just make the upper layer logic simpler.
1676 (url-dav-get-properties): New optional argument NAMESPACES that
1677 specifies what namespaces to use in the XML request.
1678 (url-dav-get-properties): Got rid of the D: namespace in
1679 requests. It doesn't save that much space. Just use DAV:
1680 (url-dav-lock-identifier): New variable that should hold a URI
1681 pointing to contact information for the user. This will be used
1682 as the contents of the DAV:owner/DAV:href tag to identify the
1683 owner of a LOCK when requesting it. This will be shown to other
1684 users when the DAV:lockdiscovery property is requested, so make
1685 sure you are comfortable with it leaking to the outside world.
1686 (url-dav-lock-resource): New function to LOCK a dav resource.
1688 2001-12-05 William M. Perry <wmperry@gnu.org>
1690 * lisp/url-dav.el (url-dav-get-properties): New argument
1691 ATTRIBUTES that allows you to ask for specific properties instead
1692 of getting all properties via DAV:allprop.
1694 * lisp/url-http.el (url-http-real-basic-auth-storage):
1695 New variable for normal HTTP basic authentication.
1696 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1697 basic authentication.
1698 (url-http-handle-authentication): Follow new semantics for
1699 url-basic-auth-storage.
1701 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
1702 this variable. It is now a symbol pointing to where we really
1703 want to store the authorization information. This fixes proxy
1704 auth and normal basic auth because of some local bindings that were
1705 making it impossible to store the credentials in the global binding.
1706 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1709 * lisp/url-util.el (url-debug): Add new types 'dav and
1710 'retrieval to the customization list.
1712 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1715 * lisp/url-http.el (url-http-head-file-attributes): Rename old
1716 url-http-file-attributes so that we can have a smarter one that
1717 tries WebDAV first, then HEAD.
1718 (url-http-file-attributes): New smart version that tries WebDAV first.
1719 (url-http-options): New function that returns information gleaned
1720 from an OPTIONS request for a URL. Returns a property list
1721 returning the methods supported for the resource, what DAV and
1722 DASL levels are supported, p3p information, and whether
1723 byte-ranges are supported or not.
1724 (url-http-wait-for-headers-change-function): If we got a 0-byte
1725 content-length, activate the callback immediately.
1726 (url-http-wait-for-headers-change-function): For content-length
1727 responses with actual body-data in the chunk we are handling, call
1728 url-http-content-length-after-change-function with the remaining
1729 data. Otherwise we can deadlock if the headers and the entire
1730 body exist arrive in one chunk.
1732 * lisp/url-dav.el: New file to contain the WebDAV
1733 (http://www.webdav.org/) implementation.
1734 (url-dav-supported-p): Cheap way to figure out whether we will be
1735 able to do DAV at all. We rely on the XML parser expanding
1736 namespaces for us, and currently you need a patched version of
1737 xml.el to do this. Patch sent to author for consideration.
1738 (url-dav-file-attributes): Much more complete version of
1739 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1740 finds out whether something is a directory (a WebDAV collection),
1741 the last modification time, and permissions (based on the
1742 DAV:supportedlock information).
1743 (url-dav-get-properties): Generic interface to get WebDAV
1744 properties for a URL. Can specify an optional `depth' parameter
1745 to tell the web server how many directory (collection) levels to
1746 recurse when retrieving the property lists. Returns an assoc
1747 list keyed off of the resource, the cdr of which is a property list.
1748 (url-dav-datatype-attribute): We support the XML-Data note
1749 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1750 datatypes of attributes are. Currently only date, dateTime, int,
1751 number, float, boolean, and uri are supported.
1753 2001-12-04 William M. Perry <wmperry@gnu.org>
1755 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1756 version. If the filename matches our regexp, then it is always
1757 absolute, so just return `t'.
1758 (expand-file-name): New hooked version. If the fragment is an
1759 absolute file or URL, then expand it relative to '/'.
1760 (url-handler-regexp): New regexp for specific schemes that we
1761 want the file-name-handlers to work off of.
1762 (url-setup-file-name-handlers): Use it when installing the handlers.
1764 * lisp/url-http.el (url-http-find-free-connection): Better logging
1765 about whether we are reusing an existing connection or not.
1767 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
1768 to string-match instead of match-string (and with reversed
1771 * lisp/url-http.el (url-http-debug): Change to now use the
1772 generic url-debug function to do the actual logging. Still a
1773 separate function so that we can do our magic on the network
1774 connection if the user quits while we are downloading.
1776 * lisp/url-handlers.el (url-file-handler): Now logs the result of
1777 the hooked or real call.
1779 * lisp/url-util.el (url-debug): New function for generic debug logging.
1781 2001-11-28 William M. Perry <wmperry@gnu.org>
1783 * lisp/url-imap.el (url-imap-open-host): Use backquote.
1784 (url-imap): Now switches to 'login as the imap authenticator if
1785 the URL provides a username and password.
1787 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1788 push to replace some strange logic in here.
1789 (url-run-real-handler): New function to run the real hooks in
1790 case we get a false positive or an operation that we do not
1791 support. The old way disabled _ALL_ file-name-handlers when
1792 we hit something we didn't understand - this disables JUST us.
1793 (url-file-handler): Remove the logic about removing the leading
1794 '/' off of the first argument... it may not be safe to always
1795 assume that the first argument is the one we are acting on -
1796 `default' is the second argument for expand-file-name for example.
1797 (url-setup-file-name-handlers): Use url-nonrelative-link
1798 directly. This means that you must type in the URL directly
1799 without prefixing it with a '/'.
1801 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1803 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1804 which activates us (because 'nnml+mail' _is_ a valid scheme name
1805 for a URI). We get thoroughly confused and end up returning
1806 `nil' when we shouldn't.
1808 2001-11-26 William M. Perry <wmperry@gnu.org>
1810 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1811 this so that visiting a URL directly will work.
1812 (file-symlink-p): Ditto.
1813 (url-insert-file-contents): If `visit' is non-nil then make sure
1814 we set buffer-file-name. After these changes you can visit
1815 http://www.gnu.org/ directly from the minibuffer.
1816 (url-insert-file-contents): When inserting the file contents,
1817 use a save-excursion so that we behave just like the original.
1819 2001-11-25 William M. Perry <wmperry@gnu.org>
1821 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
1823 2001-11-24 William M. Perry <wmperry@gnu.org>
1825 * lisp/url-about.el (url-about): New loader scheme to handle
1826 about:foo URLs. Automatically tries to find a `url-about-foo'
1827 function to display the actual data.
1828 (url-about-protocols): Implement about:protocols.
1830 * lisp/url-http.el (url-http): Make sure that we signal an error
1831 when we cannot open a network connection for whatever reason.
1832 Before, it would just silently clean up after itself and the user
1833 got absolutely no indication that an error had occurred. If the
1834 error should truly be ignored, the caller should do that for us.
1835 (url-http-chunked-encoding-after-change-function): Doh! Need to
1836 user marker-position in some log messages now that
1837 url-http-chunked-start is a marker.
1839 2001-11-22 William M. Perry <wmperry@gnu.org>
1841 * lisp/url-https.el: Fixed definition of url-https - was using the
1842 wrong signature. Too much cut & paste.
1843 (url-https-create-secure-wrapper): Fix so that url-https works
1844 at all. Was not taking a null `method' into account when calling
1845 the wrapped function so url-https tried to call url-http-nil. *sigh*
1848 (url-http-chunked-encoding-after-change-function): Add some
1849 feedback when not debugging about what content-type and chunk # we
1851 (url-http-chunked-encoding-after-change-function): Use a marker
1852 for url-http-chunked-start so that we can safely delete the
1853 chunk-tokens instead of just marking them as invisible.
1854 (url-http-chunked-encoding-after-change-function): Actually delete
1855 the chunk-tokens. Now that we are not run from 'real'
1856 after-change functions, this is safe, and the right thing to do.
1857 Otherwise the HTML parser still saw them and inferred all sorts of
1858 bad things about the document (ie: nothing had a title!)
1860 2001-11-21 William M. Perry <wmperry@gnu.org>
1862 * lisp/url-http.el (url-http-debug): Document this variable.
1863 People other than I might want to use it.
1864 (url-http-debug): Put some code in here to check quit-flag
1865 directly. When the chunked encoding went into a tight spin, your
1866 Emacs would be wedged forever. This short-circuits all the
1867 after-change functions and signals an error.
1868 (url-http-debug): If url-http-debug is non-nil and non-t, then log
1869 the debug messages using `message' as well as sending them to the
1871 (url-http-chunked-encoding-after-change-function): Got rid of the
1872 no-initial-crlf. Had an epiphany and I can just infer this from
1873 url-http-chunked-counter being 0.
1874 (url-http-chunked-encoding-after-change-function): Move the debug
1875 statement about reading chunk #foo into the loop so that each
1876 chunk will have a log message associated with it.
1877 (url-http-chunked-encoding-after-change-function): Make sure to
1878 set read-next-chunk to nil when the regular expression match fails
1879 to fire. Otherwise we could loop forever.
1880 (url-http-chunked-encoding-after-change-function): Tweak the
1881 regular expression to be a little less greedy when looking for a chunk.
1882 (url-http-wait-for-headers-change-function): Remove the last
1883 argument when calling
1884 url-http-chunked-encoding-after-change-function. It is no longer
1885 needed. I should use my brain sometime.
1887 * lisp/url-vars.el (and): Fix feature test for xemacs and
1888 coding-system-list behavior.
1891 (url-http-chunked-encoding-after-change-function): Add optional
1892 no-initial-crlf flag that modifies the regular expression.
1893 This is only set from url-http-wait-for-headers-change-function so that
1894 the initial CRLF in the HTTP headers is not swallowed.
1895 (url-http-chunked-encoding-after-change-function): Fix a few
1896 off-by-one errors by using (match-end 0) instead of 1.
1897 (url-http-chunked-encoding-after-change-function): Add a few
1898 url-http-debug calls to help track down problems in the chunked
1900 (url-http-chunked-encoding-after-change-function): The chunk
1901 reading in here is now in a while loop so that if Emacs feeds us a
1902 chunk of data that happens to contain more than one 'chunk'
1903 delimiter, we behave correctly.
1904 (url-http-wait-for-headers-change-function): Make sure that we
1905 pass no-initial-crlf to
1906 url-http-chunked-encoding-after-change-function when passing
1907 initial data to the decoder.
1908 (url-http-generic-filter): url-http-debug statement so we can tell
1909 when/where our after-change-functions are being called.
1911 2001-10-11 Dave Love <fx@gnu.org>
1913 * lisp/url-handlers.el: Doc fixes.
1914 (string-match): Use (featurep 'xemacs).
1916 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
1918 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
1920 * lisp/url-vars.el (url-running-xemacs): Delete.
1921 (url-gateway-unplugged): New variable.
1923 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
1924 Comment out OS/2 stuff.
1926 2001-10-05 Dave Love <fx@gnu.org>
1928 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
1929 without confirmation.
1931 2001-10-02 Dave Love <fx@gnu.org>
1933 * lisp/url-http.el (url-http-create-request): Check cache for
1934 proxy-obj, if defined, rather than url.
1935 (url-http): Use dolist, not mapc (runtime cl dependency).
1937 * lisp/url-methods.el: Maybe require cl at runtime.
1938 (url-scheme-register-proxy): Fix fetching from environment.
1939 Don't concat a number.
1941 2001-10-01 Dave Love <fx@gnu.org>
1943 * lisp/url-parse.el: Use modern backquote syntax.
1945 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
1946 (url-mail-command): Prefer compose-mail.
1947 (tcp-binary-process-input-services): Comment out.
1948 (url-working-buffer): New constant.
1950 * lisp/url-util.el (url-extract-mime-headers): New function.
1952 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
1955 2001-09-20 Dave Love <fx@gnu.org>
1957 * lisp/url-http.el (url-http-create-request): Don't concat a number.
1959 2001-06-05 Dave Love <fx@gnu.org>
1961 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
1962 tcp-binary-process-input-services. Remove function wrapper for lambda.
1963 (url-retrieve): Barf with sensible message if url-type is null.
1965 * lisp/url-http.el (url-http): Don't try to set process
1966 coding-system here -- done in url-gw.
1968 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
1969 (url-open-stream): Bind coding-system-for{read,write} when setting
1970 up the connexion. Don't call url-gw-inhibit-code-conversion.
1972 2001-05-24 William M. Perry <wmperry@gnu.org>
1974 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
1975 in url-retrieve-synchronously.
1977 2001-05-23 William M. Perry <wmperry@gnu.org>
1979 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
1980 accept-process-output. This is evidently causing hangs in Emacs
1981 21 when viewing complex pages with images or stylesheets.
1982 www.yahoo.com is now viewable.
1984 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
1985 (mule-inhibit-code-conversion) and just have a local function that
1986 does this minimal cruft.
1987 (url-gw-inhibit-code-conversion): New function to turn off code
1988 conversion in a process.
1990 2001-05-22 William M. Perry <wmperry@gnu.org>
1992 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
1993 that we can allow multiple asynch retrievals to happen at once.
1994 (url-retrieve-synchronously): Use a much smaller timeout when
1995 doing the accept-process-output. This gets rid of the long delays
1996 if you are on a fast net connection and retrieve small documents
1997 that finish asynchronously before the first accept-process-output
1998 can be run. All hail broadband and 100Mb in the house!
1999 (url-retrieve-synchronously): Add documentation for this function.
2000 (url-retrieve): Ditto.
2001 (url-mm-url): Ditto.
2003 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2004 documentation strings. Ok, so I'm anal.
2006 * lisp/url-methods.el (url-scheme-methods): Add default methods
2007 for file-directory-p and file-truename.
2009 2001-05-22 Dave Love <fx@gnu.org>
2011 * lisp/url-auth.el (url-warn): Autoload.
2013 * lisp/url-proxy.el (url-warn): Autoload.
2015 * lisp/url-nfs.el: Fix `file-truname' typo.
2017 * lisp/url-news.el: Require cl when compiling.
2018 (url-warn, gnus-group-read-ephemeral-group): Autoload.
2019 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
2020 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2022 * lisp/url-util.el (mule-decode-string): Don't autoload.
2023 (url-hexify-string): Just barf on multibyte characters.
2024 (url-generate-unique-filename): New function.
2026 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2027 not mm-generate-unique-filename.
2029 * lisp/url-http.el: Declare things special in various places.
2030 (url-http-activate-callback): Don't set
2031 url-http-real-after-change-function.
2033 2001-05-22 William M. Perry <wmperry@gnu.org>
2035 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2036 control whether we try to do keep-alives for our connections.
2037 (url-http-version): New variable to control whether we advertise
2038 ourselves as an HTTP/1.1 client or not. This can be useful for
2039 avoiding chunked encoding, and other 1.1 features we may not have
2040 fully implemented yet.
2041 (url-http-create-request): Honor the new variables.
2043 2001-05-21 Dave Love <fx@gnu.org>
2045 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2047 (url-mime-charset-string): Don't reverse the list before sorting.
2049 2001-05-17 William M. Perry <wmperry@gnu.org>
2051 * lisp/url-http.el (url-http-generic-filter): Avoid using
2052 after-change-functions natively. There are just too many ways
2053 that this screws up in Emacs 21. Use a filter function on the
2054 process instead, and call the hook on
2055 url-http-after-change-function manually. [Actually, it will work
2056 in Emacs 21, but one problem that has been fixed in Emacs 21
2057 exists in Emacs 20. -- fx]
2059 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2060 does not exist on older versions of Emacs, or any version of
2061 XEmacs. Do not call it unless it is bound.
2063 2001-05-17 Dave Love <fx@gnu.org>
2065 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2067 2001-05-16 Dave Love <fx@gnu.org>
2069 * lisp/url-vars.el: Doc fixes. Require mm-util.
2070 (url-mime-charset-string): New variable.
2072 * lisp/url-http.el: Doc fixes.
2073 (url-http-create-request): Rearrange how we assemble the request.
2074 Avoid generating bogus requests with an empty real-fname.
2075 (url-http-handle-authentication): Declare status and success special.
2076 (url-http): Call mm-disable-multibyte. Set process buffer's
2077 coding systems to binary.
2079 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2081 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
2082 (url-file-find-possibly-compressed-file): Doc fix.
2083 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
2085 * lisp/url-cache.el: Don't require mule-sysdp.
2086 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2088 * lisp/url.el: Don't require mule-sysdp.
2089 (url-retrieve): Only set text properties if url is a string.
2091 2001-05-14 Dave Love <fx@gnu.org>
2093 * lisp/url-http.el (url-http-create-request):
2094 Declare proxy-object, proxy-info special.
2095 (url-http-handle-authentication): Declare success special.
2097 2001-05-12 Dave Love <fx@gnu.org>
2099 * lisp/url-http.el: Revert last change.
2101 2001-05-10 Dave Love <fx@gnu.org>
2103 * lisp/url-http.el (url-http-generic-after-change-function):
2104 Make it permanent-local.
2106 2001-05-05 Dave Love <fx@gnu.org>
2108 * lisp/url-http.el: Autoload some functions.
2109 (cl): Require when compiling.
2110 (url-http-extra-headers): Defvar when compiling.
2111 (url-http): Treat after-change-functions as a local hook.
2113 * lisp/url-history.el (url-parse): Require.
2114 (url-do-setup): Autoload.
2116 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2118 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2119 Use (featurep 'xemacs).
2120 (url-file-build-filename): Bind pos-index.
2121 (url-file): Call url-find-file-dired, not url-dired-find-file.
2123 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
2124 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2125 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
2126 (url-find-file-dired): Rename from one version of url-dired-find-file.
2128 * lisp/url-cid.el: Don't require widget. Require mm-decode
2131 * lisp/url-util.el: Autoload mule-decode-string,
2132 timezone-parse-date, timezone-make-date-arpa-standard.
2133 (url-unreserved-chars): Fix list per RFC 2396.
2134 (url-hexify-string): Maybe string-make-unibyte.
2136 * lisp/url-news.el: Require nntp.
2138 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2141 2001-05-04 Dave Love <fx@gnu.org>
2143 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2144 not non-existent mailcap-generate-unique-filename.
2146 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
2148 * lisp/url-parse.el: Require url-vars.
2149 Autoload url-scheme-get-property.
2151 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2154 * lisp/url-mailto.el: Require cl when compiling.
2156 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2157 Call url-parse-args, not url-util-parse-args.
2159 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2161 2001-04-09 Dave Love <fx@gnu.org>
2163 * lisp/mule-sysdp.el (mule-detect-coding-version)
2164 (mule-code-convert-region, mule-inhibit-code-conversion)
2165 (mule-write-region-no-coding-system, mule-encode-string)
2166 (mule-decode-string, mule-truncate-string)
2167 (mule-find-charset-region, mule-coding-system-name)
2168 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2169 [There must be a better way.]
2170 (mule-coding-system-p, string-width): Use defalias.
2172 2001-01-03 Sam Steingold <sds@gnu.org>
2174 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2175 set `url-http-end-of-headers' to 0 for HTTP 0.9.
2177 2001-01-02 Sam Steingold <sds@gnu.org>
2179 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
2181 2000-12-22 Dave Love <fx@gnu.org>
2183 * lisp/url-history.el (url): Don't require (to avoid recursion).
2184 (cl): Require when compiling.
2186 * lisp/url-http.el (url-auth): Require.
2187 (url-http-handle-authentication): Fix typo.
2189 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2191 2000-12-20 Dave Love <fx@gnu.org>
2193 * lisp/url.el: Require mm-decode, mm-view when compiling.
2194 <not (fboundp 'puthash)>: Define puthash and
2195 autoload other has functions rather than using cl-...hash.
2198 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2199 Avoid cl-...hash functions.
2201 * lisp/url-history.el: Avoid cl-...hash functions.
2204 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
2206 2000-10-03 William M. Perry <wmperry@aventail.com>
2208 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
2209 getting set to nil due to bad string matching. Subsequent matches
2210 would then choke because we passed string-match a nil.
2212 * lisp/url-http.el (url-http-parse-headers): Need to make the
2213 connection as 'free' when we get a 304 response (found in cache),
2214 or when a keep-alive connection timed out, it would re-parse the
2215 headers and dispatch to the callback again. Eek.
2217 2000-10-02 William M. Perry <wmperry@aventail.com>
2219 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
2220 implement chunked transfer-coding.
2221 (url-http-create-request): We can now advertise ourselves as a 1.1
2224 2000-07-28 Sam Steingold <sds@gnu.org>
2226 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2227 `cbargs' are optional args (for calling from w3).
2228 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
2229 with `string-match' and `protocol' with `scheme'.
2231 2000-07-18 Sam Steingold <sds@gnu.org>
2233 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2234 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
2236 2000-07-10 William M. Perry <wmperry@aventail.com>
2238 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2239 mule, and the character requested is > 255, then return "~"
2240 instead of letting whoever call us signal an error when they try
2241 to insert the character.
2242 (mule-make-iso-character): Also wrap the whole thing in a
2243 condition case and return "~" on error, in case make-char bombs on us.
2245 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
2248 * lisp/url-util.el (url-display-percentage): New routine that uses
2249 the progress bar under XEmacs if available. Looks very sexy under
2250 XEmacs/GTK hacked to use the GNOME statusbar.
2253 (url-http-content-length-after-change-function): Use new function
2254 url-display-percentage instead of url-lazy-message.
2256 2000-01-27 William M. Perry <wmperry@aventail.com>
2258 * lisp/url-file.el (url-file-build-filename): Work around for
2259 differences in ange-ftp / efs handling of port numbers other than 21.
2261 1999-12-24 William M. Perry <wmperry@aventail.com>
2263 * lisp/url-irc.el: Added pointer to draft specification for the
2264 IRC URL so people don't think I'm crazy.
2266 * configure.in: Checks to make sure that Gnus was found, since we
2267 HAVE to have it now. Removed conditional compilation of url-cid.el.
2269 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
2271 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2272 () to have periods at the end of the chunk.
2274 1999-12-14 William M. Perry <wmperry@aventail.com>
2276 * lisp/url-misc.el (url-man): Implement `man' URL types.
2277 (url-info): Autoload.
2279 (url-rlogin): Ditto.
2280 (url-telnet): Ditto.
2281 (url-tn3270): Ditto.
2282 (url-generic-emulator-loader): Ditto.
2284 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2285 to wrap arbitrary `http' methods with the appropriate magic to
2287 (file-exists-p): Use it.
2288 (file-readable-p): Use it.
2289 (file-attributes): Use it.
2291 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2292 server spec for Gnus, make sure we set
2293 nntp-open-connection-function directly, so that other news-related
2294 functions above us can set it.
2295 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2296 (url-nntp): Autoload.
2300 1999-12-12 William M. Perry <wmperry@aventail.com>
2302 * lisp/url-http.el (url-http-parse-response): New function to
2303 parse just the HTTP response code out of the buffer, without
2304 taking any other actions.
2305 (url-http-wait-for-headers-change-function): Use it here when we
2306 know we have an HTTP/1.x response.
2307 (url-http-wait-for-headers-change-function): Special case a
2308 response code of '304' or there could be some delays waiting for
2309 keep-alives to time out on cached documents with no known
2310 content-length on the server.
2312 1999-12-11 William M. Perry <wmperry@aventail.com>
2314 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2315 the Makefile does that for us. We just need to provide what files
2316 to load/functions to run.
2318 * lisp/url-imap.el (url-imap-open-host): Need to bind
2319 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
2320 the current buffer as the IMAP server buffer, which fails miserably.
2322 1999-12-11 Simon Josefsson <jas@pdc.kth.se>
2324 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2326 1999-12-11 William M. Perry <wmperry@aventail.com>
2328 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2329 ange-ftp vs. efs calling semantics consistent, so that if someone
2330 has NEITHER of them loaded, everything should still work.
2332 * lisp/url-handlers.el (url-copy-file): Autoload.
2333 (url-file-local-copy): Ditto.
2334 (url-insert-file-contents): Ditto.
2335 (url-setup-file-name-handlers): Ditto.
2337 1999-12-10 William M. Perry <wmperry@aventail.com>
2339 * lisp/url-http.el (mail-parse): Since we use functions from here,
2340 we should require it, eh?
2342 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
2344 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2346 (url-cookie-generate-header-lines): Use it.
2348 1999-12-06 William M. Perry <wmperry@aventail.com>
2350 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2353 * lisp/url-news.el: Reimplemented news and nntp URL support.
2354 No longer bothers to check for outdated Gnus versions, since this
2355 will not work without them anyway.
2357 1999-12-05 Dave Love <fx@gnu.org>
2359 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2363 1999-12-05 William M. Perry <wmperry@aventail.com>
2365 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2366 message when we have to contact a host so the user always gets
2367 at least some feedback.
2369 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
2371 (url-default-expander): Use it.
2373 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2375 (url-file): Add default content-type of application/octet-stream if
2377 (url-file): Correct bad call to url-host-is-local-p.
2379 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2380 like buffer-substring with nil arguments.
2381 (url-copy-file): Use mm-destroy-parts instead of just killing
2382 the buffer. Use defined interfaces when available!
2383 (url-insert-file-contents): Ditto.
2385 * lisp/url-http.el (url-http-create-request): Lots of changes to
2386 get proxying working.
2388 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2389 find and register a proxy for a specific scheme.
2390 (url-scheme-get-property): Use it when we load a URL scheme for
2393 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
2395 1999-12-04 William M. Perry <wmperry@aventail.com>
2397 * lisp/url-file.el (url-file): Signal an error if
2398 url-file-build-filename could not find the filename.
2400 1999-12-01 William M. Perry <wmperry@aventail.com>
2402 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2403 of manipulating the hash table directly.
2405 * lisp/url-history.el (url-completion-function): New function to
2406 use for reading a URL with completion.
2407 (url-history-update-url): New function to hide the hashtable
2408 implementation from people inserting things into the history.
2410 1999-11-30 William M. Perry <wmperry@aventail.com>
2412 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2415 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
2416 url-parse-args, which had changed the type of arguments it expects.
2418 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2419 (url-copy-file): Ditto.
2421 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2422 just killing the buffer. Use defined interfaces when available!
2424 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2425 AC_FD_CC so they show up in config.log
2426 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2427 this always return 't' instead of 'yes' on successfully finding
2430 * lisp/url-http.el (url-http-parse-headers): Add some
2431 DAV-specific error codes.
2433 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
2434 (url-retrieve-synchronously): Duh, make this function actually
2435 work again. Numerous problems with it, including variable name
2436 collisions - I love dynamically scoped lisps!
2438 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
2439 wrappers onto the appropriate file-based URLs for file-name-handlers.
2441 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it
2442 might get messy with file-name-handlers and things.
2444 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2445 using 'HEAD' requests. Thou shalt not change the length of the
2446 region during an after-change-function.
2448 * lisp/url-methods.el (url-scheme-methods): New variable that
2449 holds a list of the methods/variables we look for in a URL scheme.
2450 (url-scheme-get-property): Use it.
2452 1999-11-29 William M. Perry <wmperry@aventail.com>
2454 * lisp/url-http.el (url-http-file-attributes): Reimplement.
2455 (url-http-file-exists-p): Ditto.
2457 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2459 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2460 file-name-handler stubs for all the FTP/FILE stuff.
2462 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2463 cruft. Generic interface on top of functions that each URL
2464 loader provides, if capable.
2466 1999-11-27 William M. Perry <wmperry@aventail.com>
2468 * lisp/url-https.el: Implemented HTTPS support.
2470 1999-11-26 William M. Perry <wmperry@aventail.com>
2472 * url-privacy.el (url-setup-privacy-info): Don't rely on
2473 device-type being defined. Not going to bother redistributing
2474 devices.el for just one function.
2476 * url-methods.el (url-scheme-get-property): Emacs does not have
2477 the 3rd-argument to plist-get to specify the default. *sigh*
2479 * url-dired.el (add-minor-mode): Add definition for Emacs.
2481 * url-http.el (url-http-generic-after-change-function):
2482 New function, since Emacs does not allow you to change the
2483 after-change-functions variable from within a function run by
2484 said hook. This just hands it off to the REAL function.
2485 Side-effect is that this now works on Emacs at all. :)
2487 * Initial checkin of rewritten URL library.
2493 Copyright (C) 1999, 2001-2002, 2004-2011 Free Software Foundation, Inc.
2495 This file is part of GNU Emacs.
2497 GNU Emacs is free software: you can redistribute it and/or modify
2498 it under the terms of the GNU General Public License as published by
2499 the Free Software Foundation, either version 3 of the License, or
2500 (at your option) any later version.
2502 GNU Emacs is distributed in the hope that it will be useful,
2503 but WITHOUT ANY WARRANTY; without even the implied warranty of
2504 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2505 GNU General Public License for more details.
2507 You should have received a copy of the GNU General Public License
2508 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.