1 2011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
3 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
6 2011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
8 * url-http.el (url-http-create-request): Remove double carriage
9 return and newline (bug#8931).
11 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13 * url-http.el (url-http-wait-for-headers-change-function): Remove
14 pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
16 2011-06-04 Andreas Schwab <schwab@linux-m68k.org>
18 * url-future.el (url-future-test): Fix scope of `saver'.
20 2011-06-01 Glenn Morris <rgm@gnu.org>
22 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
23 Add :version tag for options that will be new in 24.1.
25 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
27 * url-queue.el (url-queue-parallel-processes): Increase the
28 default to 6, since 2 seems too conservative for normal usage.
30 2011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
32 * url-future.el: Add general futures facility.
34 2011-05-29 Leo Liu <sdl.web@gmail.com>
36 * url-cookie.el (url-cookie): Add option :named so that
37 url-cookie-p is defined. (Bug#8747)
39 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
41 * url-queue.el: New file.
42 (url-queue-run-queue): Pick the first waiting job, and not the
44 (url-queue-parallel-processes): Lower the concurrency level, since
45 Emacs doesn't seem to like too many async processes.
46 (url-queue-prune-old-entries): Fix up the pruning code.
48 2011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
50 * url-http.el (url-http-wait-for-headers-change-function): Protect
51 against malformed headerless responses from servers.
53 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
55 * url-gw.el (url-open-stream): Use new open-network-stream
56 functionality to perform encryption.
58 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
60 * url-cookie.el (url-cookie-handle-set-cookie):
61 Use `dolist' rather than `mapcar'.
63 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
65 * Version 23.3 released.
67 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
69 * url-parse.el (url-bit-for-url, url-user-for-url)
70 (url-password-for-url): Use `auto-source-search' instead of
71 `auto-source-user-or-password'.
73 * url-auth.el: Autoload `auto-source-search' instead of
74 `auto-source-user-or-password'.
75 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
77 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
79 * url-http.el (url-http-wait-for-headers-change-function): Don't
80 move point if the callback function has moved changed/killed the
83 2010-12-16 Miles Bader <miles@gnu.org>
85 * url-cookie.el: Require 'cl when compiling -- it's necessary for
88 2010-12-14 Glenn Morris <rgm@gnu.org>
90 * url-cookie.el: Don't require cl when compiling.
91 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
92 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
93 (url-cookie-handle-set-cookie): Simplify.
95 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
97 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
98 Suggested by Lennart Borgman (Bug#7543).
100 2010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
102 * url-file.el (url-file-build-filename): Avoid interpreting
103 file:/foo:/bar URLs via tramp.
105 2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
107 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
109 2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
111 * url-http.el (url-http-end-of-document-sentinel): Protect against
112 the process buffer being killed.
114 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
116 * url-http.el (url-http-wait-for-headers-change-function):
117 Protect against url-http-response-status for degenerate documents.
118 (url-http-wait-for-headers-change-function): Revert previous
119 change. It lead to really slow loads.
121 2010-10-03 Glenn Morris <rgm@gnu.org>
123 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
124 (url-get-url-at-point): Don't use eval-when-compile.
126 * url-cache.el (url-cache-create-filename-human-readable)
127 (url-cache-create-filename-using-md5):
128 * url-util.el (url-file-directory, url-file-nondirectory):
129 Don't use eval-when-compile and regexp-quote.
131 2010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
133 * url-vars.el (url-mime-charset-string): Change the default to
134 nil to avoid sending 1171 bytes of not very useful data to the
135 HTTP server every request.
137 2010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
139 * url-util.el (url-display-percentage): Don't message when the URL
141 (url-lazy-message): Ditto.
142 (url-lazy-message): Remove leftover debugging code.
144 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
145 back to the fetching function.
147 * url.el (url-retrieve): Add a silent parameter.
148 (url-retrieve-internal): Ditto.
150 * url-parse.el (url): Add a `silent' slot in the URL struct.
152 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
154 * url-cookie.el (url-cookie-handle-set-cookie): Use
155 url-lazy-message for the cookie warning, which isn't very interesting.
157 * url-http.el (url-http-async-sentinel): Check that the buffer is
158 still alive before switching to it.
160 2010-09-25 Julien Danjou <julien@danjou.info>
162 * url-cache.el (url-cache-create-filename): Ensure no-port and
163 default-port end up with the same cache file.
164 (url-cache-create-filename-human-readable)
165 (url-cache-create-filename-using-md5): Argument is always in the form of
168 2010-09-23 Glenn Morris <rgm@gnu.org>
170 * url-cache.el (url-is-cached): Doc fix.
172 2010-09-23 Glenn Morris <rgm@gnu.org>
174 * url-cache.el (url-cache-expired): Don't autoload.
175 Tweak previous change.
176 (url-cache-expire-time): Doc fix.
178 2010-09-23 Julien Danjou <julien@danjou.info>
180 * url-cache.el (url-cache-expire-time): New option.
181 (url-cache-expired): Rewrite.
183 2010-09-19 Julien Danjou <julien@danjou.info>
185 * url-cache.el (url-fetch-from-cache): New function.
187 2010-09-18 Julien Danjou <julien@danjou.info>
189 * url-vars.el (url-cache-expired): Remove unused variable.
191 2010-09-14 Julien Danjou <julien@danjou.info>
193 * url-cache.el (url-store-in-cache):
194 Make `buff' argument really optional.
196 2010-09-14 Glenn Morris <rgm@gnu.org>
198 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
200 2010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
202 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
204 2010-09-11 Glenn Morris <rgm@gnu.org>
206 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
207 * url-vars.el: Remove leading `*' from defcustom docs.
209 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
211 * url-http.el (url-http-parse-headers): Disable file name handlers at
212 all (not only Tramp). (Bug#6717)
214 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
216 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
218 2010-07-01 Mark A. Hershberger <mah@everybody.org>
220 * url-http.el (url-http-create-request): Add a CRLF on the end so
221 that POSTs with content to https urls work.
222 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
224 2010-06-22 Mark A. Hershberger <mah@everybody.org>
226 * url-parse.el (url-user-for-url, url-password-for-url):
227 Convenience functions that get usernames and passwords for urls
228 from auth-source functions.
230 2010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
232 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
234 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
236 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
238 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
240 * Version 23.2 released.
242 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
244 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
246 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
248 * url-http.el (url-http-parse-headers): Fix wrong variable name.
250 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
252 * url-http.el (url-http-codes): New variable to hold a mapping of
253 HTTP status codes' numbers, their symbolic name, and their text.
254 (url-http-parse-headers): Use it, leaving the original numeric
257 2010-03-19 Glenn Morris <rgm@gnu.org>
259 * url.el: Move mailcap require earlier in the file.
261 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
263 * url-vars.el (url): Put in comm group.
265 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
269 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
271 * url-util.el: Require url-vars (Bug#5459).
273 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
275 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
277 2009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
279 * url-http.el (url-http-handle-authentication): Use proxy server,
280 if any, for authentication (Bug#4883).
282 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
284 * url-util.el (url-insert-entities-in-string):
285 * url-nfs.el (url-nfs-unescape):
286 * url-ldap.el (url-ldap):
287 * url-imap.el (url-imap):
288 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
290 2009-10-01 Glenn Morris <rgm@gnu.org>
292 * url-http.el (url-dav-file-attributes): Fix declaration.
294 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
296 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
297 with 2005-06-25 change to copy-file (Bug#4410).
299 2009-09-13 Glenn Morris <rgm@gnu.org>
301 * url-file.el (url-file): Avoid assignment to free variable `filename'.
303 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
305 * url-methods.el (url-scheme--registering-proxy): New variable.
306 (url-scheme-register-proxy, url-scheme-get-property):
307 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
309 2009-08-22 Glenn Morris <rgm@gnu.org>
311 * url-file.el (url-file-build-filename):
312 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
313 system-types Apple-Macintosh, emx, ms-windows, next-mach.
315 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
319 2009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
321 * url-handlers.el (url-file-handler): Save match data.
323 2009-02-21 Jason Rumney <jasonr@gnu.org>
325 * url-expand.el (url-default-expander): Use concat to combine
328 2009-02-10 Glenn Morris <rgm@gnu.org>
330 * url-util.el (url-generate-unique-filename): Silence compiler.
332 2009-02-07 Chong Yidong <cyd@stupidchicken.com>
334 * url-file.el (url-file): Use make-temp-file.
336 * url-util.el (url-generate-unique-filename): Mark as obsolete.
338 * url-vars.el (url-temporary-directory): Mark as obsolete.
340 2009-01-15 Chong Yidong <cyd@stupidchicken.com>
342 * url-cookie.el (url-cookie-retrieve): Fix last change.
344 2009-01-14 Chong Yidong <cyd@stupidchicken.com>
346 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
348 2009-01-13 Juanma Barranquero <lekktu@gmail.com>
350 * url-util.el (url-truncate-url-for-viewing): Doc fix.
352 2009-01-09 Glenn Morris <rgm@gnu.org>
354 * url-cid.el (url-cid-gnus): Fix typo in header name.
356 2008-11-04 Chong Yidong <cyd@stupidchicken.com>
358 * url-util.el (url-basepath): Add url-basepath as an alias for
361 2008-10-24 Juanma Barranquero <lekktu@gmail.com>
363 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
365 2008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
367 * url-auth.el (url-basic-auth): Encode password string.
369 2008-08-30 Glenn Morris <rgm@gnu.org>
371 * url-http.el (url-https-expand-file-name): Resolve directly to
372 url-default-expander rather than via another alias.
373 (url-default-expander): Autoload an autoload. (Bug#825).
375 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
377 * url.el (url-do-setup):
378 * url-dired.el (url-dired-minor-mode):
379 * url-file.el (url-file-find-possibly-compressed-file):
380 * url-gw.el (url-gateway-broken-resolution):
381 * url-handlers.el (url-handler-regexp):
382 * url-imap.el (url-imap-default-port):
383 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
385 * url-auth.el (url-basic-auth-storage, url-digest-auth):
386 Fix typos in docstrings.
387 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
389 * url-cache.el (url-cache-prepare): Doc fix.
390 (url-cache-create-filename-human-readable, url-cache-extract):
391 Fix typos in docstrings.
393 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
394 (url-dav-delete-something): Fix typos in docstrings.
395 (url-dav-http-success-p, url-dav-file-name-all-completions)
396 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
398 * url-http.el (url-http-idle-sentinel): Doc fix.
400 * url-irc.el (url-irc-default-port): Fix typo in docstring.
401 (url-irc-function): Doc fix.
403 * url-util.el (url-get-url-filename-chars, url-unhex-string):
404 Fix typos in docstrings.
405 (url-file-extension): Doc fix.
407 * url-vars.el (url-current-object, url-current-mime-headers)
408 (url-privacy-level, url-mail-command, url-mime-language-string):
409 Fix typos in docstrings.
410 (url-honor-refresh-requests): Reflow docstring.
411 (url-using-proxy): Doc fix.
413 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
415 * vc-dav.el: Move to the parent directory to be together with the
416 rest of the VC backends.
418 2008-06-07 Glenn Morris <rgm@gnu.org>
420 * url-auth.el (auth-source-user-or-password): Remove unnecessary
423 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
425 * url-handlers.el (url-file-name-completion): Add missing argument.
427 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
429 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
430 (url-basic-auth, url-digest-auth): Use it with any realm,
431 overriding the user name and password before the prompt.
433 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
435 * url-vars.el (url-load-hook): Fix typo in docstring.
437 2008-03-09 Magnus Henoch <mange@freemail.hu>
439 * url-http.el (url-http-chunked-encoding-after-change-function):
440 Remove superfluous CRLF at end of file. (Bug #42)
442 2008-03-02 Andreas Schwab <schwab@suse.de>
444 * url-util.el: Require cl when compiling.
446 2008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
448 * url-util.el (url-get-normalized-date): Simplify to use
449 `format-time-string'. Always generate date in UTC, but
450 call it GMT for full compatibility with the RFCs.
452 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
454 * url-handlers.el (file-remote-p): Add handler.
455 (url-handler-file-remote-p): New fun.
457 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
459 * url-handlers.el (url-handler-unhandled-file-name-directory):
460 Handle `file' URLs specially. Return nil for non-local filenames.
462 2008-02-04 Magnus Henoch <mange@freemail.hu>
464 * url-expand.el: Require cl when compiling, for setf.
466 2008-01-29 John Wiegley <johnw@newartisans.com>
468 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
469 being used, don't add it to the response text. Also, changed an
470 if so that the interaction between the PROMPT and OVERWRITE
471 arguments can no longer result in the user being queried twice for
472 the same login and password information.
474 2008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
476 * url-handlers.el (unhandled-file-name-directory): Add handler.
477 (url-handler-unhandled-file-name-directory): New fun.
479 2008-01-07 Michael Albinus <michael.albinus@gmx.de>
481 * url-handlers.el (url-file-handler): Autoload.
483 2007-12-11 Glenn Morris <rgm@gnu.org>
485 * url.el (url-configuration-directory): Make it a defcustom.
487 * url-util.el (url-make-private-file): New function.
488 * url-cookie.el (url-cookie-write-file):
489 * url-history.el (url-history-save-history):
490 Use url-make-private-file and with-temp-buffer.
492 2007-12-06 Glenn Morris <rgm@gnu.org>
494 * url-file.el, url-mailto.el: Remove directory part from filenames
495 in function declarations.
497 2007-12-02 Glenn Morris <rgm@gnu.org>
499 * url-about.el, url-handlers.el: Don't require cl when compiling.
501 * url-dav.el (url-dav-delete-directory): Fix message typo.
503 * url-history.el (top-level): Don't require cl when compiling.
504 (url-history-setup-save-timer, url-history-save-history):
505 Use condition-case rather than ignore-errors.
507 * url-imap.el (top-level): Don't require cl when compiling.
508 (url-imap): Use signal rather than check-type.
510 * url-news.el (top-level): Don't require cl when compiling.
511 (gnus-group-buffer): Define for compiler.
512 (url-news-fetch-message-id): Don't use `declare'.
513 (nntp-open-tls-stream, nntp-open-ssl-stream):
514 No need to define for compiler.
515 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
516 Correct quoting of nntp-open-connection-function value.
518 2007-12-01 Glenn Morris <rgm@gnu.org>
520 * url-handlers.el (top-level): Always require url-parse, not just
523 2007-11-30 Glenn Morris <rgm@gnu.org>
525 * url-cookie.el (url-cookie-p): Declare as a function.
527 2007-11-29 Glenn Morris <rgm@gnu.org>
529 * url-file.el (url-file-build-filename, url-file): Wrap uses of
530 efs in (featurep 'xemacs) test.
532 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
534 2007-11-28 Diane Murray <disumu@x3y2z1.net>
536 * url-dired.el: Don't require w3-fetch and w3-open-local.
537 (url-dired-find-file): Use `find-file'. Doc fix.
538 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
540 2007-11-24 Glenn Morris <rgm@gnu.org>
542 * url-privacy.el (url-device-type): Fix typo.
544 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
546 * url-mailto.el (mail-send-and-exit):
547 * url-http.el (url-dav-file-attributes):
548 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
549 (url-generate-unique-filename): Declare as functions.
551 * url-privacy.el (url-device-type): Define unconditionally.
553 2007-11-15 Richard Stallman <rms@gnu.org>
555 * url.el (url-retrieve-synchronously): Call delete-process.
557 2007-10-31 Juanma Barranquero <lekktu@gmail.com>
559 * url-vars.el (url-vars-unload-hook): Remove function and variable.
560 Hooks are automatically removed by `unload-feature'.
562 2007-10-13 Richard Stallman <rms@gnu.org>
564 * url-util.el (url-basepath): Function deleted.
565 (url-file-directory, url-file-nondirectory): New functions
566 replacing url-basepath. Callers changed.
568 * url-expand.el (url-default-expander): Use `url-file-directory'.
570 * url-auth.el (url-digest-auth, url-basic-auth):
571 Rename `path' to `file'. Use `url-file-directory'.
573 2007-10-12 Diane Murray <disumu@x3y2z1.net>
575 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
576 empty string filename.
578 2007-10-09 Richard Stallman <rms@gnu.org>
580 * url-parse.el (url-type, url-user, url-password, url-host)
581 (url-port, url-filename, url-target, url-attributes)
582 (url-fullness, url-set-type, url-set-user, url-set-password)
583 (url-set-host, url-set-port, url-set-filename, url-set-target)
584 (url-set-attributes, url-set-full): Change macros to defuns.
586 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
589 * url-vars.el (top): Use `mapc' rather than `mapcar'.
591 2007-09-22 Diane Murray <disumu@x3y2z1.net>
593 * url-misc.el (url-generic-emulator-loader): Send the port as a
594 string to `url-do-terminal-emulator'.
596 2007-09-21 Diane Murray <disumu@x3y2z1.net>
598 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
600 * url-util.el (url-get-normalized-date): Pass full timezone
601 information to timezone-make-date-arpa-standard, since zone name
604 2007-09-03 Diane Murray <disumu@x3y2z1.net>
606 * url-http.el (url-http-parse-headers): Bind the current buffer
607 rather than calling `url-mark-buffer-as-dead' with
608 `current-buffer', so that the correct buffer is killed if
609 `url-retrieve-synchronously' gets redirected to a new URL.
611 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
613 * url-parse.el (url): Use defstruct rather than macros.
614 (url-generic-parse-url):
615 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
616 * url-methods.el (url-scheme-register-proxy):
617 * url-mailto.el (url-mailto):
618 * url-file.el (url-file-build-filename):
619 * url-expand.el (url-identity-expander, url-default-expander):
622 2007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
624 * url-auth.el (url-basic-auth): When prompting for username
625 and password, default to the username and password in the URL.
627 2007-08-08 Glenn Morris <rgm@gnu.org>
629 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
630 Replace `iff' in doc-strings and comments.
632 2007-07-25 Glenn Morris <rgm@gnu.org>
634 * Relicense all FSF files to GPLv3 or later.
636 2007-06-12 Tom Tromey <tromey@redhat.com>
638 * url.el (url-configuration-directory): Use user-emacs-directory.
640 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
642 * url-cookie.el (url-cookie-name, url-cookie-value)
643 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
644 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
645 (url-cookie-set-expires, url-cookie-set-localpart)
646 (url-cookie-set-domain, url-cookie-set-secure)
647 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
648 (url-cookie): New struct.
649 (url-cookie-store): Use setf instead of url-cookie-set-*.
651 2007-05-29 Chong Yidong <cyd@stupidchicken.com>
653 * url-mailto.el (url-mailto): Insert body after
654 mail-header-separator if present, so that it is before signature.
655 Suggested by Leo <sdl.web@gmail.com>.
657 2007-04-15 Chong Yidong <cyd@stupidchicken.com>
659 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
661 2007-04-13 Chong Yidong <cyd@stupidchicken.com>
663 * url-http.el (url-http-parse-headers): Stop after a set number of
664 redirections. Suggested by Diane Murray.
666 * url-vars.el (url-max-redirections): New var.
668 2007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
670 * url-http.el (url-http-handle-cookies): Reverse list returned by
671 `mail-fetch-field', so that cookies are set in the correct order.
673 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
674 Deal with wildcard dots in domain values.
676 2007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
678 * url-http.el (url-http-mark-connection-as-busy)
679 (url-http-mark-connection-as-free): Clear query-on-exit flag on
682 2007-02-04 Chong Yidong <cyd@stupidchicken.com>
684 * url-http.el (url-http-connection-opened): New variable.
685 (url-http): Initialize it.
686 (url-http-async-sentinel): Don't try changing sentinels.
687 Run url-http-end-of-document-sentinel if necessary.
689 2007-01-29 Juanma Barranquero <lekktu@gmail.com>
691 * url-auth.el (url-get-authentication): Fix typo in docstring.
693 2007-01-14 Magnus Henoch <mange@freemail.hu>
695 * url-proxy.el (url-proxy-object): Remove.
696 (url-proxy): Don't use `url-proxy-object'. Act according to type of
697 proxy (currently only HTTP supported).
699 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
701 * url-http.el (url-http-proxy): New variable.
702 (url-http-create-request): Use it. Don't use `url-proxy-object'.
703 (url-http): Treat `url' argument as resource to download, and
704 dynamic variable `url-using-proxy' as proxy to use.
705 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
707 (url-http-handle-cookies): Assume that `url-current-object' does
708 not point to the proxy used.
709 (url-http-async-sentinel): Adapt error message.
711 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
713 * url-gw.el (url-gateway-nslookup-program): Doc fix.
715 2006-12-08 Magnus Henoch <mange@freemail.hu>
717 * url-proxy.el (url-proxy-object): New variable.
718 (url-proxy): Bind it instead of `proxy-object'.
720 * url-http.el (url-http-create-request): Remove url argument, use
721 the buffer-local variable `url-http-target-url' instead.
722 Both callers updated. Simplify proxy handling.
723 (url-http): Don't make proxy-object buffer local.
725 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
727 2006-11-26 Magnus Henoch <mange@freemail.hu>
729 * url-http.el (url-http-wait-for-headers-change-function):
730 Use `when' instead of `if' when possible.
731 (url-http): Define url-http-response-version.
732 (url-http-parse-response): Set it.
733 (url-http-parse-headers): Use it to determine keep-alive behavior.
735 2006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
737 * url-http.el (url-http-content-length-after-change-function):
738 Use `url-lazy-message'.
740 * url-util.el (url-display-percentage): Only show a message if
741 `url-show-status' is non-nil.
743 2006-11-15 Magnus Henoch <mange@freemail.hu>
745 * url-http.el (url-http): Make proxy-object buffer-local, to
746 handle proxied asynchronous connections correctly.
748 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
750 2006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
752 * url-http.el (url-http-wait-for-headers-change-function):
753 Defer detection of HTTP 0.9 until we have at least one line.
755 2006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
757 * url-http.el (url-http-mark-connection-as-free)
758 (url-http-find-free-connection): Don't treat process with status
760 (url-http-async-sentinel): Request correct url.
762 2006-11-08 Magnus Henoch <mange@freemail.hu>
764 * url-http.el (url-http-handle-authentication): If there are
765 several authentication headers, use the strongest available
768 * url.el (url-retrieve-synchronously): Allow quitting when
771 2006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
773 * url-http.el (url-http-handle-authentication): If there are
774 several authentication headers, use the first with a supported
777 2006-11-01 Magnus Henoch <mange@freemail.hu>
779 * url-http.el (url-http-create-request): Use buffer-local
780 equivalents of dynamically bound variables.
782 2006-10-29 Magnus Henoch <mange@freemail.hu>
784 * url-gw.el (url-open-stream): Really use asynchronous
785 connections (accidentally disabled during debugging).
787 2006-10-28 Magnus Henoch <mange@freemail.hu>
789 * url-http.el (url-http-parse-headers): Fix misplaced paren.
791 2006-10-27 Magnus Henoch <mange@freemail.hu>
793 * url-http.el (url-http-mark-connection-as-free): Verify that
794 connection is open before saving it.
795 (url-http-handle-authentication): Use url-retrieve-internal
796 instead of url-retrieve.
797 (url-http-parse-headers): Adapt to new callback interface.
798 (url-http): Handle non-blocking connections.
799 (url-http-async-sentinel): Create.
801 * url.el (url-retrieve): Update docstring for new callback interface.
803 (url-retrieve-internal): Move code from url-retrieve here.
805 * url-gw.el (url-open-stream): Use a non-blocking socket for
806 `native' gateway method, if available.
808 2006-10-16 Magnus Henoch <mange@freemail.hu>
810 * url-http.el (url-https-create-secure-wrapper):
811 Always use tls gateway method.
813 2006-10-12 Magnus Henoch <mange@freemail.hu>
815 * url-http.el (url-http-find-free-connection):
816 Handle url-open-stream returning nil.
818 2006-10-11 Magnus Henoch <mange@freemail.hu>
820 * url-https.el: Remove (clashes with url-http on 8+3 systems).
822 * url-http.el: Move contents of url-https.el here. Add autoloads.
824 2006-10-09 Magnus Henoch <mange@freemail.hu>
826 * url-parse.el (url-generic-parse-url): Handle URLs with empty
827 path component and non-empty query component. Untangle path,
828 query and fragment parsing code. Add references to RFC 3986 in
830 (url-recreate-url-attributes): Start query string with "?", not ";".
832 2006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
834 * url-dav.el (url-dav-file-attributes): Simplify.
836 * url-http.el (url-http-head-file-attributes): Add device "info".
838 2006-09-18 Michael Olson <mwolson@gnu.org>
840 * url-methods.el (url-scheme-register-proxy): Handle case where
841 getenv returns an empty string for http_proxy. This prevents an
842 error when calling `format' later on.
844 2006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
846 * url-parse.el (url-recreate-url-attributes): New function, code
847 simply moved from `url-recreate-url'.
848 (url-recreate-url): Use it.
849 Put the `url-target' at the end of the URL after the attributes.
851 * url-http.el (url-http-create-request):
852 Use `url-recreate-url-attributes' when setting real-fname.
854 2006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
856 * url-cookie.el (url-cookie-write-file): Really don't use versioned
859 2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
861 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
862 dest file will already exist.
864 2006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
866 * url-util.el (url-hexify-string): Only utf-8 encode if it's
868 (url-normalize-url): Remove unused var `grok'.
869 (url-truncate-url-for-viewing): Remove unused var `tail'.
871 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
873 * url-util.el (url-hexify-string): Rewrite.
874 Suggested by David Smith <davidsmith@acm.org>.
876 2006-07-12 Michael Olson <mwolson@gnu.org>
878 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
880 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
882 * url-cookie.el: Remove spurious * in docstrings.
883 (url-cookie-write-file): Don't use versioned backups.
884 (url-cookie-host-can-set-p): Remove unused var `tmp'.
886 2006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
888 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
889 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
891 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
893 * url-http.el (url-http-file-exists-p): Test if status is integer.
895 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
897 * url-http.el (url-http-parse-headers): Don't reuse connection if
898 "Connection: close" header was seen.
900 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
902 * url-gw.el (url-open-stream): Don't hide errors.
903 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
905 * url-handlers.el (url-insert): New function.
906 (url-insert-file-contents): Use it.
908 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
910 * url-handlers.el (url-handler-directory-file-name): New handler.
911 (url-file-local-copy): Plug race condition security hole.
913 2006-03-27 Romain Francoise <romain@orebokech.com>
915 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
916 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
917 Default to rcirc, since ZenIRC isn't part of Emacs.
919 2006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
921 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
923 2006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
925 * url-http.el (url-http-find-free-connection): Don't kill the process
926 when killing the temp buffer.
927 (url-http-symbol-value-in-buffer): Massage to make it clear to the
928 byte-compiler that the function is defined.
930 2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
932 * url.el (url-redirect-buffer): New var.
933 (url-retrieve-synchronously): Use it to follow redirections.
935 * url-http.el: Require `url' rather than try to autoload parts of it.
936 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
937 (url-http-parse-headers): Set `url-redirect-buffer' when following
940 2006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
942 * url-news.el: Move defvars out of eval-when-compile.
943 (url-news-fetch-message-id, url-news-fetch-newsgroup):
944 Use with-current-buffer.
946 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
948 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
949 to stop in the middle of a redirection.
951 * url-vars.el (url-privacy-level): Add setter.
953 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
955 * url-history.el (url-history-hash-table): Initialize in declaration.
956 (url-history-parse-history): Don't reset the history.
957 (url-history-save-history): Create parent dir if necessary.
958 (url-history-save-history): Don't write the initialization of
959 url-history-hash-table into the history file.
960 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
961 (url-completion-function): Simplify.
963 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
964 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
965 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
966 (url-cookie-setup-save-timer): Remove autoload cookies.
967 They're only called from files that require url-cookie anyway.
969 * url-history.el (url-history-setup-save-timer)
970 (url-history-parse-history, url-history-save-history):
971 Remove autoload cookies. They're only called from url.el which requires
973 (url-history-parse-history): Don't complain if the file is missing.
975 2006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
977 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
979 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
981 * url-cache.el: Require `url'.
983 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
985 * url-cache.el (url-store-in-cache): Use save-current-buffer.
987 * url.el (url-configuration-directory): Don't autoload because the
988 default value needs to be computed at run-time, not dump-time.
990 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
992 * url-cookie.el (url-cookie-write-file): Create parent dir.
994 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
996 2005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
998 * url-cookie.el (url-cookie-save-interval): Simplify.
999 (url-cookie-setup-save-timer): Simplify.
1001 2005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1003 * url-history.el (url-history-list): Var deleted.
1004 (url-history-save-interval): Simplify.
1005 (url-history-setup-save-timer): Simplify.
1007 2005-12-01 Kim F. Storm <storm@cua.dk>
1009 * url-history.el (url-history-track): Fix last change.
1011 2005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1013 * url-history.el (url-history-track):
1014 Call url-history-setup-save-timer in :set function.
1015 :type allows three alternatives.
1016 (url-history-setup-save-timer): Test url-history-track.
1017 * url.el (url-retrieve): Test url-history-track.
1019 2005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1021 * url-http.el: Use with-current-buffer.
1022 (url-http-target-url): Rename from url-http-cookies-sources.
1023 (url-http-parse-headers): Use it.
1024 (url-http-handle-authentication): Use subst-char-in-string.
1026 2005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
1028 * url-handlers.el (url-insert-file-contents): Use the charset info
1029 provided by the HTTP server, if any.
1031 2005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1033 * url-nfs.el (top level):
1034 * url-handlers.el (directory-files):
1035 * url-file.el (top level):
1036 * url-dired.el (url-dired-minor-mode-map):
1037 * url-http.el (url-http-chunked-encoding-after-change-function):
1038 Remove XEmacs support.
1040 2005-10-15 Richard M. Stallman <rms@gnu.org>
1042 * url.el: Don't try to autoload hash table functions.
1044 2005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * url-http.el (url-http-create-request): Avoid incorrect implicit
1047 unibyte->multibyte conversion.
1049 2005-09-17 Richard M. Stallman <rms@gnu.org>
1051 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1053 * url-mailto.el (url-mailto): Special case `mail'.
1054 Don't test fboundp of `compose-mail'.
1056 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
1058 * url-mailto.el (url-mailto): Delete mail buffer after sending
1060 Call `compose-mail with `new' argument if possible.
1062 2005-09-13 Chong Yidong <cyd@stupidchicken.com>
1064 * url-mailto.el (url-mailto): Always use a new mail buffer.
1066 2005-09-01 Chong Yidong <cyd@stupidchicken.com>
1068 * url-util.el (url-parse-query-string): New optional argument
1069 allow-newlines allows decoding of newlines.
1071 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1072 Don't lose original "to" value when there is a "to" header.
1073 Remove carriage return characters in message body.
1075 2005-08-24 Juanma Barranquero <lekktu@gmail.com>
1077 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1078 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1080 2005-07-15 Richard M. Stallman <rms@gnu.org>
1082 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1083 when calling url-retrieve, to indicate a redirect.
1085 * url.el (url-retrieve): The callback function can get an additional
1088 2005-07-04 Lute Kamstra <lute@gnu.org>
1090 Update FSF's address in GPL notices.
1092 2005-07-04 Juanma Barranquero <lekktu@gmail.com>
1094 * url-history.el (url-history-track): Doc fix.
1095 (url-history): Finish `defgroup' description with period.
1097 * url-cookie.el (url-cookie):
1098 * url-gw.el (url-gateway):
1099 * url-news.el (url-news):
1100 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1101 Finish `defgroup' description with period.
1103 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1105 * url-http.el (url-http-create-request): Call url-recreate-url
1108 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1110 * url-http.el (url-http-create-request): When computing real-fname,
1111 call url-filename in both cases.
1113 2005-06-27 Richard M. Stallman <rms@gnu.org>
1115 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1116 (url-cookie-retrieve): Likewise.
1117 (url-cookie-generate-header-lines): Likewise.
1118 (url-cookie-handle-set-cookie): Likewise.
1119 (url-cookie-create): Expect :localpart instead of :path.
1120 (url-cookie-localpart): Rename from url-cookie-path.
1121 (url-cookie-set-localpart): Rename from url-cookie-set-path.
1122 (url-cookie-file): Doc fix.
1123 (url-cookie-p): Add doc string.
1125 2005-06-23 Richard M. Stallman <rms@gnu.org>
1127 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1129 2005-06-21 Juanma Barranquero <lekktu@gmail.com>
1131 * url-gw.el (url-open-stream):
1132 * url-vars.el (url-gateway-unplugged): Fix spellings.
1134 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
1136 * url-history.el (url-completion-function): Follow error conventions.
1138 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1140 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1142 2005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * url-dav.el: Remove most autoload cookies.
1145 Don't hook into the url-file-handler since it currently breaks all
1148 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1150 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1151 fetching a file via ange-ftp.
1153 2005-06-10 Juanma Barranquero <lekktu@gmail.com>
1155 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
1157 2005-05-19 Juanma Barranquero <lekktu@gmail.com>
1159 * url-cookie.el (url-cookie-multiple-line):
1160 Specify group and type in defcustom.
1162 2005-05-06 Juanma Barranquero <lekktu@gmail.com>
1164 * url-auth.el (url-register-auth-scheme):
1165 * url-cookie.el (url-cookie-expired-p):
1166 * url-dav.el (url-dav-process-date-property)
1167 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1168 * url-http.el (url-http-chunked-encoding-after-change-function)
1169 (url-http-wait-for-headers-change-function):
1170 * url-ns.el (isInNet):
1171 * url-parse.el (url-generic-parse-url):
1172 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1173 by `string-to-number'.
1175 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1177 * url.el (url-retrieve-synchronously): Work around the fact that
1178 url-http sometimes doesn't call the callback.
1180 2005-04-04 Lute Kamstra <lute@gnu.org>
1182 * url-handlers.el (url-handler-mode): Specify :group.
1184 2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1186 * url-history.el (url-have-visited-url): Don't barf if
1187 url-history-hash-table is nil.
1189 2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1191 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1193 2005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1195 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1196 to nil, like for the 303 response.
1198 2005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1200 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1203 2005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1205 * url-http.el (url-http-handle-authentication):
1206 Don't kill the current buffer.
1208 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1210 * url-handlers.el: Don't `require' everything eagerly.
1212 2004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1214 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1215 to `url-http-cookies-sources' so that cookies are attributed to
1217 (url-http): Make local variable `url-http-cookies-sources'.
1219 2004-11-28 Andreas Schwab <schwab@suse.de>
1221 * url-http.el (url-http-create-request): Don't add newline after
1224 2004-11-20 Masatake YAMATO <jet@gyve.org>
1226 * url.el (url-mm-callback): Delay the invocation
1227 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
1228 when the buffer is killed.
1230 2004-11-12 Masatake YAMATO <jet@gyve.org>
1232 * url-mailto.el (url-mailto): Fix a typo in the comment.
1234 2004-11-02 Masatake YAMATO <jet@gyve.org>
1236 * url-imap.el (url-imap-open-host): Don't use
1237 `string-to-int'. The port returned by `url-port'
1238 is expected to be an integer.
1240 * url-irc.el (url-irc): Ditto.
1242 * url-news.el (url-news-open-host): Ditto.
1244 * url-nfs.el (url-nfs-build-filename): Ditto.
1246 2004-10-20 John Paul Wallington <jpw@gnu.org>
1248 * url-gw.el (url-gateway-nslookup-host):
1249 Use `set-process-query-on-exit-flag'.
1251 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1266 * url-proxy.el: Update header and footer.
1268 * url-vars.el: Update header.
1270 2004-10-16 Richard M. Stallman <rms@gnu.org>
1272 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1274 * url-vars.el (url-passwd-entry-func): Var deleted.
1275 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
1276 (url-weekday-alist): Rename from weekday-alist.
1277 (url-monthabbrev-alist): Rename from monthabbrev-alist.
1278 (url-vars-unload-hook): Initialize hook var to hold the function.
1280 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1281 url-monthabbrev-alist.
1283 * url-misc.el: Load cl at compile time.
1285 * url-mailto.el: Don't load cl.
1286 (url-mailto): Fix call to `push'.
1288 * url-gw.el (url-open-telnet): Use read-passwd.
1290 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1292 2004-10-12 Simon Josefsson <jas@extundo.com>
1294 * url-vars.el (url-gateway-method): Add new method `tls'.
1296 * url-news.el (url-snews): Use nntp-open-tls-stream if
1297 url-gateway-method is tls.
1299 * url-ldap.el (url-ldap-certificate-formatter):
1300 Use tls-certificate-information if ssl.el is not available.
1302 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1305 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1306 (url-open-stream): Likewise.
1308 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1328 * url-util.el: Fix copyright notice.
1330 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1332 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1333 encoding, not the buffer-file-name (which might not even exist).
1335 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1337 * url-handlers.el (url-insert-file-contents): Decode contents.
1339 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1341 * url-util.el (url-debug): Use with-current-buffer.
1343 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1344 (url-nfs-create-wrapper): Use new backquote syntax.
1346 * url-https.el (url-https-file-attributes): Add id-format param.
1348 * url-http.el (url-http-head-file-attributes)
1349 (url-http-file-attributes): Add id-format parameter.
1351 * url-handlers.el: Use new find-file-hook.
1352 (url-file-attributes): Add id-format parameter.
1354 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1355 (url-file-file-attributes): Add id-format parameter.
1357 * url-dav.el: Use with-current-buffer.
1358 (url-dav-process-response): Fix regexps and spurious quote.
1359 (url-dav-file-attributes): Add id-format param.
1361 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1363 * url.el (url-retrieve): Use with-current-buffer.
1365 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1366 Remove unused var `version'.
1368 * url-handlers.el (url-handler-mode): New minor mode.
1369 (url-setup-file-name-handlers): Remove.
1371 2004-04-12 John Paul Wallington <jpw@gnu.org>
1373 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1374 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1376 2004-04-11 Dave Love <fx@gnu.org>
1378 * url-mailto.el (url-mailto):
1379 * url-history.el (url-history-setup-save-timer):
1380 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1382 * url-file.el (url-file-build-filename): Don't use
1385 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1387 * url-about.el (url-scheme-registry): Defvar.
1388 (url-about): Use text/plain.
1390 * url-vars.el (cl): Don't require.
1391 (url): Add :version.
1392 (url-bug-address): Use bug-gnu-emacs.
1394 * url-util.el (url-hexify-string): Don't give multibyte error
1396 (mail-header-extract): Autoload.
1398 * url-parse.el: Doc fixes.
1400 * url-ldap.el (ldap): Require.
1401 (url-ldap): Fix `format' call.
1402 (url-ldap-certificate-formatter): Avoid warning.
1404 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
1406 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1407 (url-intersection): New.
1408 (url-dav-supported-p): Use it.
1409 (url-dav-save-resource): Declare url-http-response-status special.
1411 * url-cache.el (url-util): Require.
1413 2004-04-10 Miles Bader <miles@gnu.org>
1415 RCS keyword removal (only non-comment changes are enumerated here):
1417 * url-vars.el (url-version): Use the constant string "Emacs"
1418 instead of calculating something from the RCS `State' keyword
1419 [the latter is almost entirely useless anyway].
1421 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1424 * url-parse.el: Don't require url-auto.
1426 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1428 * url: Imported the URL package from its own CVS repository into Emacs.
1430 ===========================================================================
1431 ===========================================================================
1432 Copy of the ChangeLog file from URL's own CVS repository:
1433 ===========================================================================
1434 ===========================================================================
1436 2003-07-16 Dave Love <fx@gnu.org>
1438 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1439 Should be revisited.
1441 2003-06-26 Sam Steingold <sds@gnu.org>
1443 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1444 method on invalid urls.
1446 2003-05-29 Dave Love <fx@gnu.org>
1448 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1449 sit-for. From monnier@gnu.org.
1451 2002-11-04 Walter C. Pelissero <walter@pelissero.org>
1453 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1454 port numbers to integers when creating the URL objects for proxies.
1456 2002-10-29 William M. Perry <wmperry@gnu.org>
1458 * lisp/url-http.el (url-http-parse-headers): When doing a
1459 redirect, some broken software (sourceforge) sends a redirect to
1460 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1461 specification). I wish we could deal with such lame software
1462 appropriately (spank the authors), but this is the web, so we have
1463 to kow-tow to the servers.
1465 2002-10-27 William M. Perry <wmperry@gnu.org>
1467 * lisp/url-http.el (url-http-create-request): If we are talking to
1468 the default port for a the selected protocol, do NOT send the port
1469 in the HOST header. This fixes the login page at sourceforge.
1471 2002-09-17 William M. Perry <wmperry@gnu.org>
1473 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1474 with cookie headers.
1475 (url-http-parse-headers): Call `url-http-handle-cookies' here so
1476 that cookie additions and deletions get handled immediately.
1477 This is so that sites that set cookies while doing redirects
1478 (my.yahoo.com, outlook web access, etc) work. This should also
1479 fix sites that delete cookies on invalid access or other error
1480 pages the user might not actually see.
1481 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1482 methods to GET in redirects. Too many web sites do this now, and
1483 it is just likely to confuse users.
1485 2002-05-17 Dave Love <fx@gnu.org>
1487 * texi/url.txi: Start making it vaguely useful.
1489 * texi/Makefile.in (install): Cope with Debian install-info.
1490 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
1492 2002-04-22 Dave Love <fx@gnu.org>
1494 * lisp/url-misc.el (man): Autoload to avoid warning.
1495 (url-man): Don't require man here.
1496 (url-data): Generalize in line with the RFC.
1498 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1500 * lisp/url-vars.el: Doc fixes.
1501 (url-mime-charset-string): New function.
1502 (url-mime-charset-string): Use it to set the variable.
1503 (url-set-mime-charset-string): New function.
1504 (set-language-environment-hook): Use it.
1505 (url-vars-unload-hook): New function.
1507 * lisp/url-cookie.el (url-header-comparison): Delete.
1508 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
1509 (url-cookie-save-interval): Make value agree with doc.
1511 * lisp/url.el: Doc fixes.
1512 (url-mm-callback): Don't call mm-destroy-parts immediately for
1513 external viewing -- set up a process sentinel.
1515 2002-02-02 William M. Perry <wmperry@gnu.org>
1517 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
1519 2001-12-12 William M. Perry <wmperry@gnu.org>
1521 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1522 Monnier to use ` instead of ^ to match the relative link.
1524 2001-12-10 William M. Perry <wmperry@gnu.org>
1526 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1527 plist-get (reversed args).
1529 * lisp/url-file.el (url-file-build-filename): Make sure that we
1530 have a parsed URL in this function.
1532 2002-01-22 Dave Love <fx@gnu.org>
1534 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1536 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1537 Bind coding-system-for-read. Require mm-util.
1539 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1541 * lisp/mule-sysdp.el: Removed (obsolete).
1543 2001-12-09 William M. Perry <wmperry@gnu.org>
1545 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1546 remove an arbitrary resource.
1547 (url-dav-delete-directory): Use it.
1548 (url-dav-delete-file): Ditto.
1549 (url-dav-make-directory): New function.
1550 (url-dav-rename-file): New function.
1551 (url-dav-register-handler): New function to easily register a
1552 WebDAV-specific file-name-handler operation.
1553 (url-dav-file-name-all-completions, url-dav-file-name-completion):
1554 New functions that allow file-name completion for WebDAV resources.
1556 2001-12-08 William M. Perry <wmperry@gnu.org>
1558 * lisp/url-dav.el (url-dav-directory-files): New function to
1559 mimic `directory-files' for WebDAV.
1560 (url-dav-delete-directory): New function to mimic
1561 `delete-directory' for WebDAV.
1563 2001-12-06 William M. Perry <wmperry@gnu.org>
1565 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1566 DAV:locktoken hrefs into a usable format.
1567 (url-dav-process-response): Use an unwind-protect to make sure
1568 that we clean up the buffer, even if there is a parsing error.
1569 (url-dav-request): New function to act as the main entry point for
1570 making DAV requests. Takes care of building the XML document with
1571 appropriate namespaces, depth, etc, and parses the results.
1572 (url-dav-get-properties): Use new url-dav-request function.
1573 This is now just a thin wrapper around that to use PROPFIND and set any
1574 extra properties we are looking for.
1575 (url-dav-unlock-resource): New function to release a lock given a
1576 URL and a lock-token.
1577 (url-dav-process-DAV:getlastmodified)
1578 (url-dav-process-DAV:creationdate)
1579 (url-dav-process-DAV:iscollection)
1580 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1582 (url-dav-active-locks): New function to get a list of all the
1583 active locks for a resource.
1584 (url-dav-save-resource): New function to actually save a resource
1585 using the PUT method. I can now successfully save files to an
1586 HTTP server with some manual steps from a lisp-interaction buffer.
1588 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1589 Special case the 204/205 response codes. Some servers do not
1590 send back a 0 content-length for these, and we would hang.
1591 (url-http-parse-headers): Mark 204/205 response codes as
1592 'successful' so that the callbacks get activated.
1593 (url-http-options): Fix unbound variable usage.
1595 * lisp/url-dav.el: Added full copyright information.
1596 (url-dav-process-response): Make sure that we create a DAV:status
1597 property when parsing a singleton response.
1598 (url-dav-file-attributes): If the properties returned did not have
1599 a successful HTTP response code, then ignore them and use the
1600 HEAD-based attributes.
1602 * lisp/vc-dav.el: Added full copyright information.
1604 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1605 Deal with text nodes in DAV:supportedlock nodes.
1606 (url-dav-file-attributes-mode-string): This now gets the entire
1607 property list instead of just the DAV:supportedlock node.
1608 (url-dav-file-attributes): Make sure to pass the whole list in.
1609 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
1610 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1611 'executable' bit to set the 'x' mode. See `mod_dav's custom
1612 properties' at http://www.webdav.org/mod_dav/ for more details.
1613 (url-dav-find-parser): New function to find the proper parser for
1614 a node-type. Looks for
1615 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1616 back to using url-dav-node-text. Caches the results on the nodes
1618 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1619 (url-dav-process-*): Rename most of the handlers and made them
1620 use url-dav-dispatch-node where appropriate.
1621 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1622 property to dispatch the node, now uses dav-dispatch-node so that
1623 it is easy to add parsers for special nodes.
1624 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1625 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1626 (url-dav-process-DAV:getcontentlength)
1627 (url-dave-process-DAV:getlastmodified)
1628 (url-dave-process-DAV:creationdate)
1629 (url-dave-process-DAV:iscollection)
1630 (url-dave-process-DAV:ishidden): Aliases for the generic
1631 url-dav-process-foo-property routines.
1632 (url-dav-process-DAV:activelock)
1633 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1634 DAV:lockdiscovery nodes, so that we can find out who has a
1635 resource locked and properly parse the reponse to a LOCK request.
1636 (url-dav-process-DAV:status): Now parses out the numeric status
1637 from the HTTP response line.
1638 (url-dav-process-response): New function to handle all the
1639 parsing of an XML response from WebDAV. This handles all the
1640 logic of checking the response content-type to make sure it is
1641 XML, parses the tree, and interprets the tree.
1642 (url-dav-process-response): Make sure that all responses look
1643 like a DAV:multistatus response, even if we get a singleton
1644 response back. This will just make the upper layer logic simpler.
1645 (url-dav-get-properties): New optional argument NAMESPACES that
1646 specifies what namespaces to use in the XML request.
1647 (url-dav-get-properties): Got rid of the D: namespace in
1648 requests. It doesn't save that much space. Just use DAV:
1649 (url-dav-lock-identifier): New variable that should hold a URI
1650 pointing to contact information for the user. This will be used
1651 as the contents of the DAV:owner/DAV:href tag to identify the
1652 owner of a LOCK when requesting it. This will be shown to other
1653 users when the DAV:lockdiscovery property is requested, so make
1654 sure you are comfortable with it leaking to the outside world.
1655 (url-dav-lock-resource): New function to LOCK a dav resource.
1657 2001-12-05 William M. Perry <wmperry@gnu.org>
1659 * lisp/url-dav.el (url-dav-get-properties): New argument
1660 ATTRIBUTES that allows you to ask for specific properties instead
1661 of getting all properties via DAV:allprop.
1663 * lisp/url-http.el (url-http-real-basic-auth-storage):
1664 New variable for normal HTTP basic authentication.
1665 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1666 basic authentication.
1667 (url-http-handle-authentication): Follow new semantics for
1668 url-basic-auth-storage.
1670 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
1671 this variable. It is now a symbol pointing to where we really
1672 want to store the authorization information. This fixes proxy
1673 auth and normal basic auth because of some local bindings that were
1674 making it impossible to store the credentials in the global binding.
1675 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1678 * lisp/url-util.el (url-debug): Add new types 'dav and
1679 'retrieval to the customization list.
1681 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1684 * lisp/url-http.el (url-http-head-file-attributes): Rename old
1685 url-http-file-attributes so that we can have a smarter one that
1686 tries WebDAV first, then HEAD.
1687 (url-http-file-attributes): New smart version that tries WebDAV first.
1688 (url-http-options): New function that returns information gleaned
1689 from an OPTIONS request for a URL. Returns a property list
1690 returning the methods supported for the resource, what DAV and
1691 DASL levels are supported, p3p information, and whether
1692 byte-ranges are supported or not.
1693 (url-http-wait-for-headers-change-function): If we got a 0-byte
1694 content-length, activate the callback immediately.
1695 (url-http-wait-for-headers-change-function): For content-length
1696 responses with actual body-data in the chunk we are handling, call
1697 url-http-content-length-after-change-function with the remaining
1698 data. Otherwise we can deadlock if the headers and the entire
1699 body exist arrive in one chunk.
1701 * lisp/url-dav.el: New file to contain the WebDAV
1702 (http://www.webdav.org/) implementation.
1703 (url-dav-supported-p): Cheap way to figure out whether we will be
1704 able to do DAV at all. We rely on the XML parser expanding
1705 namespaces for us, and currently you need a patched version of
1706 xml.el to do this. Patch sent to author for consideration.
1707 (url-dav-file-attributes): Much more complete version of
1708 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1709 finds out whether something is a directory (a WebDAV collection),
1710 the last modification time, and permissions (based on the
1711 DAV:supportedlock information).
1712 (url-dav-get-properties): Generic interface to get WebDAV
1713 properties for a URL. Can specify an optional `depth' parameter
1714 to tell the web server how many directory (collection) levels to
1715 recurse when retrieving the property lists. Returns an assoc
1716 list keyed off of the resource, the cdr of which is a property list.
1717 (url-dav-datatype-attribute): We support the XML-Data note
1718 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1719 datatypes of attributes are. Currently only date, dateTime, int,
1720 number, float, boolean, and uri are supported.
1722 2001-12-04 William M. Perry <wmperry@gnu.org>
1724 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1725 version. If the filename matches our regexp, then it is always
1726 absolute, so just return `t'.
1727 (expand-file-name): New hooked version. If the fragment is an
1728 absolute file or URL, then expand it relative to '/'.
1729 (url-handler-regexp): New regexp for specific schemes that we
1730 want the file-name-handlers to work off of.
1731 (url-setup-file-name-handlers): Use it when installing the handlers.
1733 * lisp/url-http.el (url-http-find-free-connection): Better logging
1734 about whether we are reusing an existing connection or not.
1736 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
1737 to string-match instead of match-string (and with reversed
1740 * lisp/url-http.el (url-http-debug): Change to now use the
1741 generic url-debug function to do the actual logging. Still a
1742 separate function so that we can do our magic on the network
1743 connection if the user quits while we are downloading.
1745 * lisp/url-handlers.el (url-file-handler): Now logs the result of
1746 the hooked or real call.
1748 * lisp/url-util.el (url-debug): New function for generic debug logging.
1750 2001-11-28 William M. Perry <wmperry@gnu.org>
1752 * lisp/url-imap.el (url-imap-open-host): Use backquote.
1753 (url-imap): Now switches to 'login as the imap authenticator if
1754 the URL provides a username and password.
1756 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1757 push to replace some strange logic in here.
1758 (url-run-real-handler): New function to run the real hooks in
1759 case we get a false positive or an operation that we do not
1760 support. The old way disabled _ALL_ file-name-handlers when
1761 we hit something we didn't understand - this disables JUST us.
1762 (url-file-handler): Remove the logic about removing the leading
1763 '/' off of the first argument... it may not be safe to always
1764 assume that the first argument is the one we are acting on -
1765 `default' is the second argument for expand-file-name for example.
1766 (url-setup-file-name-handlers): Use url-nonrelative-link
1767 directly. This means that you must type in the URL directly
1768 without prefixing it with a '/'.
1770 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1772 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1773 which activates us (because 'nnml+mail' _is_ a valid scheme name
1774 for a URI). We get thoroughly confused and end up returning
1775 `nil' when we shouldn't.
1777 2001-11-26 William M. Perry <wmperry@gnu.org>
1779 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1780 this so that visiting a URL directly will work.
1781 (file-symlink-p): Ditto.
1782 (url-insert-file-contents): If `visit' is non-nil then make sure
1783 we set buffer-file-name. After these changes you can visit
1784 http://www.gnu.org/ directly from the minibuffer.
1785 (url-insert-file-contents): When inserting the file contents,
1786 use a save-excursion so that we behave just like the original.
1788 2001-11-25 William M. Perry <wmperry@gnu.org>
1790 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
1792 2001-11-24 William M. Perry <wmperry@gnu.org>
1794 * lisp/url-about.el (url-about): New loader scheme to handle
1795 about:foo URLs. Automatically tries to find a `url-about-foo'
1796 function to display the actual data.
1797 (url-about-protocols): Implement about:protocols.
1799 * lisp/url-http.el (url-http): Make sure that we signal an error
1800 when we cannot open a network connection for whatever reason.
1801 Before, it would just silently clean up after itself and the user
1802 got absolutely no indication that an error had occurred. If the
1803 error should truly be ignored, the caller should do that for us.
1804 (url-http-chunked-encoding-after-change-function): Doh! Need to
1805 user marker-position in some log messages now that
1806 url-http-chunked-start is a marker.
1808 2001-11-22 William M. Perry <wmperry@gnu.org>
1810 * lisp/url-https.el: Fixed definition of url-https - was using the
1811 wrong signature. Too much cut & paste.
1812 (url-https-create-secure-wrapper): Fix so that url-https works
1813 at all. Was not taking a null `method' into account when calling
1814 the wrapped function so url-https tried to call url-http-nil. *sigh*
1817 (url-http-chunked-encoding-after-change-function): Add some
1818 feedback when not debugging about what content-type and chunk # we
1820 (url-http-chunked-encoding-after-change-function): Use a marker
1821 for url-http-chunked-start so that we can safely delete the
1822 chunk-tokens instead of just marking them as invisible.
1823 (url-http-chunked-encoding-after-change-function): Actually delete
1824 the chunk-tokens. Now that we are not run from 'real'
1825 after-change functions, this is safe, and the right thing to do.
1826 Otherwise the HTML parser still saw them and inferred all sorts of
1827 bad things about the document (ie: nothing had a title!)
1829 2001-11-21 William M. Perry <wmperry@gnu.org>
1831 * lisp/url-http.el (url-http-debug): Document this variable.
1832 People other than I might want to use it.
1833 (url-http-debug): Put some code in here to check quit-flag
1834 directly. When the chunked encoding went into a tight spin, your
1835 Emacs would be wedged forever. This short-circuits all the
1836 after-change functions and signals an error.
1837 (url-http-debug): If url-http-debug is non-nil and non-t, then log
1838 the debug messages using `message' as well as sending them to the
1840 (url-http-chunked-encoding-after-change-function): Got rid of the
1841 no-initial-crlf. Had an epiphany and I can just infer this from
1842 url-http-chunked-counter being 0.
1843 (url-http-chunked-encoding-after-change-function): Move the debug
1844 statement about reading chunk #foo into the loop so that each
1845 chunk will have a log message associated with it.
1846 (url-http-chunked-encoding-after-change-function): Make sure to
1847 set read-next-chunk to nil when the regular expression match fails
1848 to fire. Otherwise we could loop forever.
1849 (url-http-chunked-encoding-after-change-function): Tweak the
1850 regular expression to be a little less greedy when looking for a chunk.
1851 (url-http-wait-for-headers-change-function): Remove the last
1852 argument when calling
1853 url-http-chunked-encoding-after-change-function. It is no longer
1854 needed. I should use my brain sometime.
1856 * lisp/url-vars.el (and): Fix feature test for xemacs and
1857 coding-system-list behavior.
1860 (url-http-chunked-encoding-after-change-function): Add optional
1861 no-initial-crlf flag that modifies the regular expression.
1862 This is only set from url-http-wait-for-headers-change-function so that
1863 the initial CRLF in the HTTP headers is not swallowed.
1864 (url-http-chunked-encoding-after-change-function): Fix a few
1865 off-by-one errors by using (match-end 0) instead of 1.
1866 (url-http-chunked-encoding-after-change-function): Add a few
1867 url-http-debug calls to help track down problems in the chunked
1869 (url-http-chunked-encoding-after-change-function): The chunk
1870 reading in here is now in a while loop so that if Emacs feeds us a
1871 chunk of data that happens to contain more than one 'chunk'
1872 delimiter, we behave correctly.
1873 (url-http-wait-for-headers-change-function): Make sure that we
1874 pass no-initial-crlf to
1875 url-http-chunked-encoding-after-change-function when passing
1876 initial data to the decoder.
1877 (url-http-generic-filter): url-http-debug statement so we can tell
1878 when/where our after-change-functions are being called.
1880 2001-10-11 Dave Love <fx@gnu.org>
1882 * lisp/url-handlers.el: Doc fixes.
1883 (string-match): Use (featurep 'xemacs).
1885 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
1887 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
1889 * lisp/url-vars.el (url-running-xemacs): Delete.
1890 (url-gateway-unplugged): New variable.
1892 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
1893 Comment out OS/2 stuff.
1895 2001-10-05 Dave Love <fx@gnu.org>
1897 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
1898 without confirmation.
1900 2001-10-02 Dave Love <fx@gnu.org>
1902 * lisp/url-http.el (url-http-create-request): Check cache for
1903 proxy-obj, if defined, rather than url.
1904 (url-http): Use dolist, not mapc (runtime cl dependency).
1906 * lisp/url-methods.el: Maybe require cl at runtime.
1907 (url-scheme-register-proxy): Fix fetching from environment.
1908 Don't concat a number.
1910 2001-10-01 Dave Love <fx@gnu.org>
1912 * lisp/url-parse.el: Use modern backquote syntax.
1914 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
1915 (url-mail-command): Prefer compose-mail.
1916 (tcp-binary-process-input-services): Comment out.
1917 (url-working-buffer): New constant.
1919 * lisp/url-util.el (url-extract-mime-headers): New function.
1921 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
1924 2001-09-20 Dave Love <fx@gnu.org>
1926 * lisp/url-http.el (url-http-create-request): Don't concat a number.
1928 2001-06-05 Dave Love <fx@gnu.org>
1930 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
1931 tcp-binary-process-input-services. Remove function wrapper for lambda.
1932 (url-retrieve): Barf with sensible message if url-type is null.
1934 * lisp/url-http.el (url-http): Don't try to set process
1935 coding-system here -- done in url-gw.
1937 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
1938 (url-open-stream): Bind coding-system-for{read,write} when setting
1939 up the connexion. Don't call url-gw-inhibit-code-conversion.
1941 2001-05-24 William M. Perry <wmperry@gnu.org>
1943 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
1944 in url-retrieve-synchronously.
1946 2001-05-23 William M. Perry <wmperry@gnu.org>
1948 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
1949 accept-process-output. This is evidently causing hangs in Emacs
1950 21 when viewing complex pages with images or stylesheets.
1951 www.yahoo.com is now viewable.
1953 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
1954 (mule-inhibit-code-conversion) and just have a local function that
1955 does this minimal cruft.
1956 (url-gw-inhibit-code-conversion): New function to turn off code
1957 conversion in a process.
1959 2001-05-22 William M. Perry <wmperry@gnu.org>
1961 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
1962 that we can allow multiple asynch retrievals to happen at once.
1963 (url-retrieve-synchronously): Use a much smaller timeout when
1964 doing the accept-process-output. This gets rid of the long delays
1965 if you are on a fast net connection and retrieve small documents
1966 that finish asynchronously before the first accept-process-output
1967 can be run. All hail broadband and 100Mb in the house!
1968 (url-retrieve-synchronously): Add documentation for this function.
1969 (url-retrieve): Ditto.
1970 (url-mm-url): Ditto.
1972 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
1973 documentation strings. Ok, so I'm anal.
1975 * lisp/url-methods.el (url-scheme-methods): Add default methods
1976 for file-directory-p and file-truename.
1978 2001-05-22 Dave Love <fx@gnu.org>
1980 * lisp/url-auth.el (url-warn): Autoload.
1982 * lisp/url-proxy.el (url-warn): Autoload.
1984 * lisp/url-nfs.el: Fix `file-truname' typo.
1986 * lisp/url-news.el: Require cl when compiling.
1987 (url-warn, gnus-group-read-ephemeral-group): Autoload.
1988 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
1989 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
1991 * lisp/url-util.el (mule-decode-string): Don't autoload.
1992 (url-hexify-string): Just barf on multibyte characters.
1993 (url-generate-unique-filename): New function.
1995 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
1996 not mm-generate-unique-filename.
1998 * lisp/url-http.el: Declare things special in various places.
1999 (url-http-activate-callback): Don't set
2000 url-http-real-after-change-function.
2002 2001-05-22 William M. Perry <wmperry@gnu.org>
2004 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2005 control whether we try to do keep-alives for our connections.
2006 (url-http-version): New variable to control whether we advertise
2007 ourselves as an HTTP/1.1 client or not. This can be useful for
2008 avoiding chunked encoding, and other 1.1 features we may not have
2009 fully implemented yet.
2010 (url-http-create-request): Honor the new variables.
2012 2001-05-21 Dave Love <fx@gnu.org>
2014 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2016 (url-mime-charset-string): Don't reverse the list before sorting.
2018 2001-05-17 William M. Perry <wmperry@gnu.org>
2020 * lisp/url-http.el (url-http-generic-filter): Avoid using
2021 after-change-functions natively. There are just too many ways
2022 that this screws up in Emacs 21. Use a filter function on the
2023 process instead, and call the hook on
2024 url-http-after-change-function manually. [Actually, it will work
2025 in Emacs 21, but one problem that has been fixed in Emacs 21
2026 exists in Emacs 20. -- fx]
2028 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2029 does not exist on older versions of Emacs, or any version of
2030 XEmacs. Do not call it unless it is bound.
2032 2001-05-17 Dave Love <fx@gnu.org>
2034 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2036 2001-05-16 Dave Love <fx@gnu.org>
2038 * lisp/url-vars.el: Doc fixes. Require mm-util.
2039 (url-mime-charset-string): New variable.
2041 * lisp/url-http.el: Doc fixes.
2042 (url-http-create-request): Rearrange how we assemble the request.
2043 Avoid generating bogus requests with an empty real-fname.
2044 (url-http-handle-authentication): Declare status and success special.
2045 (url-http): Call mm-disable-multibyte. Set process buffer's
2046 coding systems to binary.
2048 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2050 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
2051 (url-file-find-possibly-compressed-file): Doc fix.
2052 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
2054 * lisp/url-cache.el: Don't require mule-sysdp.
2055 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2057 * lisp/url.el: Don't require mule-sysdp.
2058 (url-retrieve): Only set text properties if url is a string.
2060 2001-05-14 Dave Love <fx@gnu.org>
2062 * lisp/url-http.el (url-http-create-request):
2063 Declare proxy-object, proxy-info special.
2064 (url-http-handle-authentication): Declare success special.
2066 2001-05-12 Dave Love <fx@gnu.org>
2068 * lisp/url-http.el: Revert last change.
2070 2001-05-10 Dave Love <fx@gnu.org>
2072 * lisp/url-http.el (url-http-generic-after-change-function):
2073 Make it permanent-local.
2075 2001-05-05 Dave Love <fx@gnu.org>
2077 * lisp/url-http.el: Autoload some functions.
2078 (cl): Require when compiling.
2079 (url-http-extra-headers): Defvar when compiling.
2080 (url-http): Treat after-change-functions as a local hook.
2082 * lisp/url-history.el (url-parse): Require.
2083 (url-do-setup): Autoload.
2085 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2087 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2088 Use (featurep 'xemacs).
2089 (url-file-build-filename): Bind pos-index.
2090 (url-file): Call url-find-file-dired, not url-dired-find-file.
2092 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
2093 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2094 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
2095 (url-find-file-dired): Rename from one version of url-dired-find-file.
2097 * lisp/url-cid.el: Don't require widget. Require mm-decode
2100 * lisp/url-util.el: Autoload mule-decode-string,
2101 timezone-parse-date, timezone-make-date-arpa-standard.
2102 (url-unreserved-chars): Fix list per RFC 2396.
2103 (url-hexify-string): Maybe string-make-unibyte.
2105 * lisp/url-news.el: Require nntp.
2107 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2110 2001-05-04 Dave Love <fx@gnu.org>
2112 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2113 not non-existent mailcap-generate-unique-filename.
2115 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
2117 * lisp/url-parse.el: Require url-vars.
2118 Autoload url-scheme-get-property.
2120 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2123 * lisp/url-mailto.el: Require cl when compiling.
2125 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2126 Call url-parse-args, not url-util-parse-args.
2128 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2130 2001-04-09 Dave Love <fx@gnu.org>
2132 * lisp/mule-sysdp.el (mule-detect-coding-version)
2133 (mule-code-convert-region, mule-inhibit-code-conversion)
2134 (mule-write-region-no-coding-system, mule-encode-string)
2135 (mule-decode-string, mule-truncate-string)
2136 (mule-find-charset-region, mule-coding-system-name)
2137 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2138 [There must be a better way.]
2139 (mule-coding-system-p, string-width): Use defalias.
2141 2001-01-03 Sam Steingold <sds@gnu.org>
2143 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2144 set `url-http-end-of-headers' to 0 for HTTP 0.9.
2146 2001-01-02 Sam Steingold <sds@gnu.org>
2148 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
2150 2000-12-22 Dave Love <fx@gnu.org>
2152 * lisp/url-history.el (url): Don't require (to avoid recursion).
2153 (cl): Require when compiling.
2155 * lisp/url-http.el (url-auth): Require.
2156 (url-http-handle-authentication): Fix typo.
2158 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2160 2000-12-20 Dave Love <fx@gnu.org>
2162 * lisp/url.el: Require mm-decode, mm-view when compiling.
2163 <not (fboundp 'puthash)>: Define puthash and
2164 autoload other has functions rather than using cl-...hash.
2167 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2168 Avoid cl-...hash functions.
2170 * lisp/url-history.el: Avoid cl-...hash functions.
2173 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
2175 2000-10-03 William M. Perry <wmperry@aventail.com>
2177 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
2178 getting set to nil due to bad string matching. Subsequent matches
2179 would then choke because we passed string-match a nil.
2181 * lisp/url-http.el (url-http-parse-headers): Need to make the
2182 connection as 'free' when we get a 304 response (found in cache),
2183 or when a keep-alive connection timed out, it would re-parse the
2184 headers and dispatch to the callback again. Eek.
2186 2000-10-02 William M. Perry <wmperry@aventail.com>
2188 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
2189 implement chunked transfer-coding.
2190 (url-http-create-request): We can now advertise ourselves as a 1.1
2193 2000-07-28 Sam Steingold <sds@gnu.org>
2195 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2196 `cbargs' are optional args (for calling from w3).
2197 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
2198 with `string-match' and `protocol' with `scheme'.
2200 2000-07-18 Sam Steingold <sds@gnu.org>
2202 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2203 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
2205 2000-07-10 William M. Perry <wmperry@aventail.com>
2207 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2208 mule, and the character requested is > 255, then return "~"
2209 instead of letting whoever call us signal an error when they try
2210 to insert the character.
2211 (mule-make-iso-character): Also wrap the whole thing in a
2212 condition case and return "~" on error, in case make-char bombs on us.
2214 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
2217 * lisp/url-util.el (url-display-percentage): New routine that uses
2218 the progress bar under XEmacs if available. Looks very sexy under
2219 XEmacs/GTK hacked to use the GNOME statusbar.
2222 (url-http-content-length-after-change-function): Use new function
2223 url-display-percentage instead of url-lazy-message.
2225 2000-01-27 William M. Perry <wmperry@aventail.com>
2227 * lisp/url-file.el (url-file-build-filename): Work around for
2228 differences in ange-ftp / efs handling of port numbers other than 21.
2230 1999-12-24 William M. Perry <wmperry@aventail.com>
2232 * lisp/url-irc.el: Added pointer to draft specification for the
2233 IRC URL so people don't think I'm crazy.
2235 * configure.in: Checks to make sure that Gnus was found, since we
2236 HAVE to have it now. Removed conditional compilation of url-cid.el.
2238 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
2240 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2241 () to have periods at the end of the chunk.
2243 1999-12-14 William M. Perry <wmperry@aventail.com>
2245 * lisp/url-misc.el (url-man): Implement `man' URL types.
2246 (url-info): Autoload.
2248 (url-rlogin): Ditto.
2249 (url-telnet): Ditto.
2250 (url-tn3270): Ditto.
2251 (url-generic-emulator-loader): Ditto.
2253 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2254 to wrap arbitrary `http' methods with the appropriate magic to
2256 (file-exists-p): Use it.
2257 (file-readable-p): Use it.
2258 (file-attributes): Use it.
2260 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2261 server spec for Gnus, make sure we set
2262 nntp-open-connection-function directly, so that other news-related
2263 functions above us can set it.
2264 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2265 (url-nntp): Autoload.
2269 1999-12-12 William M. Perry <wmperry@aventail.com>
2271 * lisp/url-http.el (url-http-parse-response): New function to
2272 parse just the HTTP response code out of the buffer, without
2273 taking any other actions.
2274 (url-http-wait-for-headers-change-function): Use it here when we
2275 know we have an HTTP/1.x response.
2276 (url-http-wait-for-headers-change-function): Special case a
2277 response code of '304' or there could be some delays waiting for
2278 keep-alives to time out on cached documents with no known
2279 content-length on the server.
2281 1999-12-11 William M. Perry <wmperry@aventail.com>
2283 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2284 the Makefile does that for us. We just need to provide what files
2285 to load/functions to run.
2287 * lisp/url-imap.el (url-imap-open-host): Need to bind
2288 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
2289 the current buffer as the IMAP server buffer, which fails miserably.
2291 1999-12-11 Simon Josefsson <jas@pdc.kth.se>
2293 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2295 1999-12-11 William M. Perry <wmperry@aventail.com>
2297 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2298 ange-ftp vs. efs calling semantics consistent, so that if someone
2299 has NEITHER of them loaded, everything should still work.
2301 * lisp/url-handlers.el (url-copy-file): Autoload.
2302 (url-file-local-copy): Ditto.
2303 (url-insert-file-contents): Ditto.
2304 (url-setup-file-name-handlers): Ditto.
2306 1999-12-10 William M. Perry <wmperry@aventail.com>
2308 * lisp/url-http.el (mail-parse): Since we use functions from here,
2309 we should require it, eh?
2311 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
2313 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2315 (url-cookie-generate-header-lines): Use it.
2317 1999-12-06 William M. Perry <wmperry@aventail.com>
2319 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2322 * lisp/url-news.el: Reimplemented news and nntp URL support.
2323 No longer bothers to check for outdated Gnus versions, since this
2324 will not work without them anyway.
2326 1999-12-05 Dave Love <fx@gnu.org>
2328 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2332 1999-12-05 William M. Perry <wmperry@aventail.com>
2334 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2335 message when we have to contact a host so the user always gets
2336 at least some feedback.
2338 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
2340 (url-default-expander): Use it.
2342 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2344 (url-file): Add default content-type of application/octet-stream if
2346 (url-file): Correct bad call to url-host-is-local-p.
2348 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2349 like buffer-substring with nil arguments.
2350 (url-copy-file): Use mm-destroy-parts instead of just killing
2351 the buffer. Use defined interfaces when available!
2352 (url-insert-file-contents): Ditto.
2354 * lisp/url-http.el (url-http-create-request): Lots of changes to
2355 get proxying working.
2357 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2358 find and register a proxy for a specific scheme.
2359 (url-scheme-get-property): Use it when we load a URL scheme for
2362 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
2364 1999-12-04 William M. Perry <wmperry@aventail.com>
2366 * lisp/url-file.el (url-file): Signal an error if
2367 url-file-build-filename could not find the filename.
2369 1999-12-01 William M. Perry <wmperry@aventail.com>
2371 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2372 of manipulating the hash table directly.
2374 * lisp/url-history.el (url-completion-function): New function to
2375 use for reading a URL with completion.
2376 (url-history-update-url): New function to hide the hashtable
2377 implementation from people inserting things into the history.
2379 1999-11-30 William M. Perry <wmperry@aventail.com>
2381 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2384 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
2385 url-parse-args, which had changed the type of arguments it expects.
2387 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2388 (url-copy-file): Ditto.
2390 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2391 just killing the buffer. Use defined interfaces when available!
2393 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2394 AC_FD_CC so they show up in config.log
2395 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2396 this always return 't' instead of 'yes' on successfully finding
2399 * lisp/url-http.el (url-http-parse-headers): Add some
2400 DAV-specific error codes.
2402 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
2403 (url-retrieve-synchronously): Duh, make this function actually
2404 work again. Numerous problems with it, including variable name
2405 collisions - I love dynamically scoped lisps!
2407 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
2408 wrappers onto the appropriate file-based URLs for file-name-handlers.
2410 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it
2411 might get messy with file-name-handlers and things.
2413 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2414 using 'HEAD' requests. Thou shalt not change the length of the
2415 region during an after-change-function.
2417 * lisp/url-methods.el (url-scheme-methods): New variable that
2418 holds a list of the methods/variables we look for in a URL scheme.
2419 (url-scheme-get-property): Use it.
2421 1999-11-29 William M. Perry <wmperry@aventail.com>
2423 * lisp/url-http.el (url-http-file-attributes): Reimplement.
2424 (url-http-file-exists-p): Ditto.
2426 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2428 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2429 file-name-handler stubs for all the FTP/FILE stuff.
2431 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2432 cruft. Generic interface on top of functions that each URL
2433 loader provides, if capable.
2435 1999-11-27 William M. Perry <wmperry@aventail.com>
2437 * lisp/url-https.el: Implemented HTTPS support.
2439 1999-11-26 William M. Perry <wmperry@aventail.com>
2441 * url-privacy.el (url-setup-privacy-info): Don't rely on
2442 device-type being defined. Not going to bother redistributing
2443 devices.el for just one function.
2445 * url-methods.el (url-scheme-get-property): Emacs does not have
2446 the 3rd-argument to plist-get to specify the default. *sigh*
2448 * url-dired.el (add-minor-mode): Add definition for Emacs.
2450 * url-http.el (url-http-generic-after-change-function):
2451 New function, since Emacs does not allow you to change the
2452 after-change-functions variable from within a function run by
2453 said hook. This just hands it off to the REAL function.
2454 Side-effect is that this now works on Emacs at all. :)
2456 * Initial checkin of rewritten URL library.
2462 Copyright (C) 1999, 2001-2002, 2004-2011 Free Software Foundation, Inc.
2464 This file is part of GNU Emacs.
2466 GNU Emacs is free software: you can redistribute it and/or modify
2467 it under the terms of the GNU General Public License as published by
2468 the Free Software Foundation, either version 3 of the License, or
2469 (at your option) any later version.
2471 GNU Emacs is distributed in the hope that it will be useful,
2472 but WITHOUT ANY WARRANTY; without even the implied warranty of
2473 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2474 GNU General Public License for more details.
2476 You should have received a copy of the GNU General Public License
2477 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.