59222bcc957d3babe0dfb78a5ab62b29d77e615e
[bpt/emacs.git] / lisp / url / ChangeLog
1 2012-10-13 Liam Stitt <stittl@cuug.ab.ca> (tiny change)
2
3 * url-vars.el (url-uncompressor-alist):
4 * url-file.el (url-file-find-possibly-compressed-file, url-file):
5 Recognize .xz compression (Bug#11839).
6
7 2012-10-13 Chong Yidong <cyd@gnu.org>
8
9 * url-http.el (url-http):
10 * url.el (url-retrieve-internal): Doc fix (Bug#6407).
11
12 2012-10-08 Glenn Morris <rgm@gnu.org>
13
14 * url-methods.el (url-scheme-get-property): url-https.el was
15 merged into url-http.el, so load the latter for https. (Bug#12599)
16
17 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * url-http.el (url-http-user-agent-string): Leak less info.
20 (url-http, url-http-file-exists-p, url-http-file-readable-p)
21 (url-http-file-attributes, url-http-options, url-https-default-port)
22 (url-https-asynchronous-p): Don't autoload.
23
24 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * url-handlers.el (url-file-handler): Don't assume any url-FOO function
27 is a good handler for FOO.
28 (url-copy-file, url-file-local-copy, url-insert-file-contents)
29 (url-file-name-completion, url-file-name-all-completions)
30 (url-handlers-create-wrapper): Explicitly register as handler.
31
32 2012-09-29 Bastien Guerry <bzg@gnu.org>
33
34 * url-util.el (url-insert-entities-in-string)
35 (url-build-query-string): Fix docstrings.
36
37 2012-09-25 Chong Yidong <cyd@gnu.org>
38
39 * url-parse.el (url-recreate-url-attributes):
40 * url-util.el (url-generate-unique-filename): Use declare to mark
41 obsolete.
42
43 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * url-http.el (url-http-parse-headers): Re-enable file-name-handlers
46 (bug#11981).
47
48 2012-08-12 David Engster <deng@randomsample.de>
49
50 * url-util.el (url-file-directory, url-file-nondirectory): Avoid
51 file-name-directory and file-name-nondirectory internally (bug#11981).
52
53 2012-08-11 Jason Rumney <jasonr@gnu.org>
54
55 * url-http.el (url-http-create-request): Use url-http-proxy to
56 look up proxy credentials (Bug#12069).
57
58 2012-07-28 David Engster <deng@randomsample.de>
59
60 * url-dav.el (url-dav-supported-p): Add doc-string and remove
61 check for feature `xml' and function `xml-expand-namespace' which
62 never existed in Emacs proper.
63 (url-dav-process-response): Remove all indentation and newlines
64 from XML before parsing. Change call to `xml-parse-region' to do
65 namespace expansion with simple qualified names (Bug#11916).
66 (url-dav-request): Add autoload.
67 (url-dav-directory-files): Properly deal with empty directories.
68 Unhex URL before generating relative URLs.
69 (url-dav-file-directory-p): Fix check for 'DAV:collection.
70
71 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * url.el, url-queue.el, url-parse.el, url-http.el, url-future.el:
74 * url-dav.el, url-cookie.el: Use cl-lib.
75 * url-util.el, url-privacy.el, url-nfs.el, url-misc.el, url-methods.el:
76 * url-gw.el, url-file.el, url-expand.el: Dont use CL.
77
78 2012-06-30 Glenn Morris <rgm@gnu.org>
79
80 * url-vars.el (mm-mime-mule-charset-alist, mm-coding-system-p):
81 Declare.
82
83 2012-06-21 Chong Yidong <cyd@gnu.org>
84
85 * url.el (url-retrieve-internal): Fix last change (Bug#11627).
86
87 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
88
89 * url-handlers.el (url-handler-regexp): Declare.
90
91 2012-06-12 Chong Yidong <cyd@gnu.org>
92
93 * url-handlers.el: Re-order file to avoid recursive load.
94
95 2012-06-12 Chong Yidong <cyd@gnu.org>
96
97 * url-handlers.el (url-handler-regexp):
98 * url-nfs.el (url-nfs-automounter-directory-spec):
99 * url-vars.el (url-load-hook): Convert to defcustom.
100
101 2012-05-25 Leo Liu <sdl.web@gmail.com>
102
103 * url-http.el (url-http-codes): Fix mal-formed defconst.
104
105 2012-05-15 Ian Eure <ian@simplegeo.com>
106
107 * url-util.el (url-build-query-string): New function (Bug#8706).
108 (url-parse-query-string): Allow that '=' is not required and split
109 URL parameters on ';', not just '&'.
110
111 2012-05-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
112
113 * url-expand.el (url-default-expander): Copy over the fullness of
114 the new URL object based on the definition URL object.
115
116 2012-05-10 Chong Yidong <cyd@gnu.org>
117
118 * url-parse.el (url-path-and-query, url-port-if-non-default):
119 New functions.
120 (url-generic-parse-url): Don't set the portspec slot if it is not
121 specified; that is what `url-port' is for.
122 (url-port): Only require the scheme to be specified to call
123 url-scheme-get-property.
124
125 * url-util.el (url-encode-url): Use url-path-and-query.
126
127 * url-vars.el (url-mime-charset-string): Load mm-util lazily.
128
129 2012-05-09 Chong Yidong <cyd@gnu.org>
130
131 * url-util.el (url-encode-url): New function for URL quoting.
132 (url-encoding-table, url-host-allowed-chars)
133 (url-path-allowed-chars): New constants.
134 (url--allowed-chars): New helper function. Use upper-case.
135 (url-hexify-string): Use them.
136
137 * url-parse.el: Improve RFC 3986 conformance.
138 (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
139 since this is not reliable for general RFC 3986 URIs. Keep the
140 whole path and query inside the FILENAME slot. Improve docstring.
141 (url-recreate-url-attributes): Mark as obsolete.
142 (url-recreate-url): Handle missing scheme and userinfo.
143 (url-path-and-query): New function.
144
145 * url-http.el (url-http-create-request): Ignore obsolete
146 attributes slot of url-object.
147
148 * url-vars.el (url-nonrelative-link): Make the regexp stricter.
149
150 * url.el (url-retrieve-internal): Use url-encode-url (Bug#7017).
151
152 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * url.el (url-retrieve-synchronously): Replace lexical-let by
155 lexical-binding.
156
157 2012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
158
159 * url.el (url-retrieve-internal): Hexify multibye URL string first
160 when necessary (bug#7017).
161
162 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
163
164 * url.el (url-retrieve-internal): Mention utf-8 encoding.
165 (url-retrieve): Ditto.
166
167 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
168
169 * url-domsurf.el: New file (bug#1401).
170
171 * url-cookie.el (url-cookie-two-dot-domains): Remove.
172 (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
173 instead of the variable above.
174
175 2012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
176
177 * url-queue.el (url-queue-kill-job): Check whether the buffer has
178 been killed asynchronously before selecting it.
179
180 2012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
181
182 * url-queue.el (url-queue-kill-job): Make sure that the callback
183 is always called, even if we have a timeout.
184
185 2012-03-11 Chong Yidong <cyd@gnu.org>
186
187 * url-http.el (url-http-end-of-document-sentinel):
188 Handle keepalive expiry by calling url-http again (Bug#10223).
189 (url-http): New arg, for the above.
190
191 2012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
192
193 * url-http.el (url-http-find-free-connection): Don't pass a nil
194 argument to url-http-mark-connection-as-busy (bug#10891).
195
196 2012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
197
198 * url-queue.el (url-queue-kill-job): Delete the process sentinel
199 before killing the process to avoid a race condition between the
200 two processes killing off the process buffer.
201
202 * url.el (url-retrieve-internal): Warn about file errors when
203 pruning the cache instead of bugging out (bug#10831).
204
205 2012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
206
207 * url-queue.el (url-queue-callback-function): Remove the job from
208 the queue so that we don't kill the current buffer, which will
209 then make the callback function kill a random buffer.
210
211 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
212
213 * url-queue.el (url-queue-kill-job): Refactored out code.
214 (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
215 flight.
216
217 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
218
219 * url-future.el: Minor doc update.
220
221 2012-02-14 Leo Liu <sdl.web@gmail.com>
222
223 * url-future.el: Fix last change.
224
225 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
226
227 * url-future.el (url-future-test): Move to test/automated.
228
229 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
230
231 * url-http.el (url-http-parse-headers): When redirecting, pass on
232 the `inhibit-cookie' parameter.
233
234 2012-02-10 Glenn Morris <rgm@gnu.org>
235
236 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
237
238 2012-02-10 Andreas Schwab <schwab@linux-m68k.org>
239
240 * url-http.el (url-http-clean-headers): Return the number of
241 removed characters.
242 (url-http-wait-for-headers-change-function): Adjust end position
243 after cleaning the headers. (Bug#10768)
244
245 2012-02-10 Glenn Morris <rgm@gnu.org>
246
247 * url-queue.el (url-queue-retrieve): Doc fix.
248
249 2012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
250
251 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
252 to be able to keep track of whether to do cookies or not on a
253 per-URL basis.
254
255 * url-queue.el (url-queue-retrieve): Take an optional
256 `inhibit-cookies' parameter.
257
258 * url.el (url-retrieve): Ditto.
259
260 * url-http.el (url-http-create-request): Don't send cookies unless
261 requested.
262 (url-http-parse-headers): Don't store cookies unless requested.
263
264 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
265
266 * url-cache.el (url-cache-prune-cache): New function.
267 (url-cache-prune-cache): Check that the directory exists before
268 trying to delete it.
269
270 * url.el (url-retrieve-number-of-calls): New variable.
271 (url-retrieve-internal): Use it to expire the cache once in a
272 while.
273
274 * url-queue.el (url-queue-setup-runners): New function that uses
275 `run-with-idle-timer' for extra asynchronicity.
276 (url-queue-remove-jobs-from-host): New function.
277 (url-queue-callback-function): Remove jobs from the same host if
278 connection failed.
279
280 2012-01-12 Glenn Morris <rgm@gnu.org>
281
282 * url-auth.el (url-basic-auth, url-digest-auth):
283 Allow reading usernames etc when the minibuffer is already in use,
284 eg in url-handler-mode. (Bug#10298)
285
286 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
287
288 * url-dav.el (url-dav-delete-file): Fix typo.
289
290 2011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
291
292 * url-http.el (url-http-async-sentinel): If the server hangs up
293 while we're talking to it, just `message' the error instead of
294 throwing an error.
295
296 2011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
297
298 * url-cookie.el (url-cookie-expired-p): Protect against
299 zero-length cookie expiry dates.
300
301 2011-10-19 Chong Yidong <cyd@gnu.org>
302
303 * url-handlers.el (url-handler-mode): Doc fix.
304
305 2011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
306
307 * url-http.el (url-http-create-request): Avoid adding extra CRLF
308 (Bug#8931).
309
310 2011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
311
312 * url-http.el (url-http-find-free-connection): If there was an
313 error on connect, make sure the user isn't bothered with
314 irrelevant questions.
315
316 2011-08-07 Chong Yidong <cyd@stupidchicken.com>
317
318 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
319 don't convert to a GET request (Bug#701).
320
321 2011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
322
323 * url-http.el (url-http): Copy over `url-show-status' to the async
324 buffer so that `url-display-percentage' does the right thing
325 (bug#4680).
326
327 2011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
328
329 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
330 nil (bug#8827).
331
332 2011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
333
334 * url-http.el (url-http-create-request): Remove double carriage
335 return and newline (bug#8931).
336
337 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
338
339 * url-http.el (url-http-wait-for-headers-change-function):
340 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
341
342 2011-06-04 Andreas Schwab <schwab@linux-m68k.org>
343
344 * url-future.el (url-future-test): Fix scope of `saver'.
345
346 2011-06-01 Glenn Morris <rgm@gnu.org>
347
348 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
349 Add :version tag for options that will be new in 24.1.
350
351 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
352
353 * url-queue.el (url-queue-parallel-processes): Increase the
354 default to 6, since 2 seems too conservative for normal usage.
355
356 2011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
357
358 * url-future.el: Add general futures facility.
359
360 2011-05-29 Leo Liu <sdl.web@gmail.com>
361
362 * url-cookie.el (url-cookie): Add option :named so that
363 url-cookie-p is defined. (Bug#8747)
364
365 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
366
367 * url-queue.el: New file.
368 (url-queue-run-queue): Pick the first waiting job, and not the last.
369 (url-queue-parallel-processes): Lower the concurrency level, since
370 Emacs doesn't seem to like too many async processes.
371 (url-queue-prune-old-entries): Fix up the pruning code.
372
373 2011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
374
375 * url-http.el (url-http-wait-for-headers-change-function):
376 Protect against malformed headerless responses from servers.
377
378 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
379
380 * url-gw.el (url-open-stream): Use new open-network-stream
381 functionality to perform encryption.
382
383 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
384
385 * url-cookie.el (url-cookie-handle-set-cookie):
386 Use `dolist' rather than `mapcar'.
387
388 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
389
390 * Version 23.3 released.
391
392 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
393
394 * url-parse.el (url-bit-for-url, url-user-for-url)
395 (url-password-for-url): Use `auto-source-search' instead of
396 `auto-source-user-or-password'.
397
398 * url-auth.el: Autoload `auto-source-search' instead of
399 `auto-source-user-or-password'.
400 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
401
402 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
403
404 * url-http.el (url-http-wait-for-headers-change-function):
405 Don't move point if the callback function has moved/changed/killed
406 the process buffer.
407
408 2010-12-16 Miles Bader <miles@gnu.org>
409
410 * url-cookie.el: Require 'cl when compiling -- it's necessary for
411 defstruct.
412
413 2010-12-14 Glenn Morris <rgm@gnu.org>
414
415 * url-cookie.el: Don't require cl when compiling.
416 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
417 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
418 (url-cookie-handle-set-cookie): Simplify.
419
420 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
421
422 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
423 Suggested by Lennart Borgman (Bug#7543).
424
425 2010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
426
427 * url-file.el (url-file-build-filename): Avoid interpreting
428 file:/foo:/bar URLs via tramp.
429
430 2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
431
432 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
433
434 2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
435
436 * url-http.el (url-http-end-of-document-sentinel): Protect against
437 the process buffer being killed.
438
439 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
440
441 * url-http.el (url-http-wait-for-headers-change-function):
442 Protect against url-http-response-status for degenerate documents.
443 (url-http-wait-for-headers-change-function): Revert previous
444 change. It lead to really slow loads.
445
446 2010-10-03 Glenn Morris <rgm@gnu.org>
447
448 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
449 (url-get-url-at-point): Don't use eval-when-compile.
450
451 * url-cache.el (url-cache-create-filename-human-readable)
452 (url-cache-create-filename-using-md5):
453 * url-util.el (url-file-directory, url-file-nondirectory):
454 Don't use eval-when-compile and regexp-quote.
455
456 2010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
457
458 * url-vars.el (url-mime-charset-string): Change the default to
459 nil to avoid sending 1171 bytes of not very useful data to the
460 HTTP server every request.
461
462 2010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
463
464 * url-util.el (url-display-percentage): Don't message when the URL
465 is silent.
466 (url-lazy-message): Ditto.
467 (url-lazy-message): Remove leftover debugging code.
468
469 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
470 back to the fetching function.
471
472 * url.el (url-retrieve): Add a silent parameter.
473 (url-retrieve-internal): Ditto.
474
475 * url-parse.el (url): Add a `silent' slot in the URL struct.
476
477 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
478
479 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
480 for the cookie warning, which isn't very interesting.
481
482 * url-http.el (url-http-async-sentinel): Check that the buffer is
483 still alive before switching to it.
484
485 2010-09-25 Julien Danjou <julien@danjou.info>
486
487 * url-cache.el (url-cache-create-filename): Ensure no-port and
488 default-port end up with the same cache file.
489 (url-cache-create-filename-human-readable)
490 (url-cache-create-filename-using-md5): Argument is always in the form of
491 a string now.
492
493 2010-09-23 Glenn Morris <rgm@gnu.org>
494
495 * url-cache.el (url-is-cached): Doc fix.
496
497 2010-09-23 Glenn Morris <rgm@gnu.org>
498
499 * url-cache.el (url-cache-expired): Don't autoload.
500 Tweak previous change.
501 (url-cache-expire-time): Doc fix.
502
503 2010-09-23 Julien Danjou <julien@danjou.info>
504
505 * url-cache.el (url-cache-expire-time): New option.
506 (url-cache-expired): Rewrite.
507
508 2010-09-19 Julien Danjou <julien@danjou.info>
509
510 * url-cache.el (url-fetch-from-cache): New function.
511
512 2010-09-18 Julien Danjou <julien@danjou.info>
513
514 * url-vars.el (url-cache-expired): Remove unused variable.
515
516 2010-09-14 Julien Danjou <julien@danjou.info>
517
518 * url-cache.el (url-store-in-cache):
519 Make `buff' argument really optional.
520
521 2010-09-14 Glenn Morris <rgm@gnu.org>
522
523 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
524
525 2010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
526
527 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
528
529 2010-09-11 Glenn Morris <rgm@gnu.org>
530
531 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
532 * url-vars.el: Remove leading `*' from defcustom docs.
533
534 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
535
536 * url-http.el (url-http-parse-headers): Disable file name handlers at
537 all (not only Tramp). (Bug#6717)
538
539 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
540
541 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
542
543 2010-07-01 Mark A. Hershberger <mah@everybody.org>
544
545 * url-http.el (url-http-create-request): Add a CRLF on the end so
546 that POSTs with content to https URLs work.
547 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
548
549 2010-06-22 Mark A. Hershberger <mah@everybody.org>
550
551 * url-parse.el (url-user-for-url, url-password-for-url):
552 Convenience functions that get usernames and passwords for URLs
553 from auth-source functions.
554
555 2010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
556
557 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
558
559 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
562
563 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
564
565 * Version 23.2 released.
566
567 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
570
571 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
572
573 * url-http.el (url-http-parse-headers): Fix wrong variable name.
574
575 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
576
577 * url-http.el (url-http-codes): New variable to hold a mapping of
578 HTTP status codes' numbers, their symbolic name, and their text.
579 (url-http-parse-headers): Use it, leaving the original numeric
580 code in a comment.
581
582 2010-03-19 Glenn Morris <rgm@gnu.org>
583
584 * url.el: Move mailcap require earlier in the file.
585
586 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
587
588 * url-vars.el (url): Put in comm group.
589
590 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
591
592 * Branch for 23.2.
593
594 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
595
596 * url-util.el: Require url-vars (Bug#5459).
597
598 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
599
600 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
601
602 2009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
603
604 * url-http.el (url-http-handle-authentication): Use proxy server,
605 if any, for authentication (Bug#4883).
606
607 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * url-util.el (url-insert-entities-in-string):
610 * url-nfs.el (url-nfs-unescape):
611 * url-ldap.el (url-ldap):
612 * url-imap.el (url-imap):
613 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
614
615 2009-10-01 Glenn Morris <rgm@gnu.org>
616
617 * url-http.el (url-dav-file-attributes): Fix declaration.
618
619 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
620
621 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
622 with 2005-06-25 change to copy-file (Bug#4410).
623
624 2009-09-13 Glenn Morris <rgm@gnu.org>
625
626 * url-file.el (url-file): Avoid assignment to free variable `filename'.
627
628 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
629
630 * url-methods.el (url-scheme--registering-proxy): New variable.
631 (url-scheme-register-proxy, url-scheme-get-property):
632 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
633
634 2009-08-22 Glenn Morris <rgm@gnu.org>
635
636 * url-file.el (url-file-build-filename):
637 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
638 system-types Apple-Macintosh, emx, ms-windows, next-mach.
639
640 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
641
642 * Branch for 23.1.
643
644 2009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * url-handlers.el (url-file-handler): Save match data.
647
648 2009-02-21 Jason Rumney <jasonr@gnu.org>
649
650 * url-expand.el (url-default-expander): Use concat to combine
651 parts. (Bug #1020)
652
653 2009-02-10 Glenn Morris <rgm@gnu.org>
654
655 * url-util.el (url-generate-unique-filename): Silence compiler.
656
657 2009-02-07 Chong Yidong <cyd@stupidchicken.com>
658
659 * url-file.el (url-file): Use make-temp-file.
660
661 * url-util.el (url-generate-unique-filename): Mark as obsolete.
662
663 * url-vars.el (url-temporary-directory): Mark as obsolete.
664
665 2009-01-15 Chong Yidong <cyd@stupidchicken.com>
666
667 * url-cookie.el (url-cookie-retrieve): Fix last change.
668
669 2009-01-14 Chong Yidong <cyd@stupidchicken.com>
670
671 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
672
673 2009-01-13 Juanma Barranquero <lekktu@gmail.com>
674
675 * url-util.el (url-truncate-url-for-viewing): Doc fix.
676
677 2009-01-09 Glenn Morris <rgm@gnu.org>
678
679 * url-cid.el (url-cid-gnus): Fix typo in header name.
680
681 2008-11-04 Chong Yidong <cyd@stupidchicken.com>
682
683 * url-util.el (url-basepath): Add url-basepath as an alias for
684 url-file-directory.
685
686 2008-10-24 Juanma Barranquero <lekktu@gmail.com>
687
688 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
689
690 2008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
691
692 * url-auth.el (url-basic-auth): Encode password string.
693
694 2008-08-30 Glenn Morris <rgm@gnu.org>
695
696 * url-http.el (url-https-expand-file-name): Resolve directly to
697 url-default-expander rather than via another alias.
698 (url-default-expander): Autoload an autoload. (Bug#825).
699
700 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
701
702 * url.el (url-do-setup):
703 * url-dired.el (url-dired-minor-mode):
704 * url-file.el (url-file-find-possibly-compressed-file):
705 * url-gw.el (url-gateway-broken-resolution):
706 * url-handlers.el (url-handler-regexp):
707 * url-imap.el (url-imap-default-port):
708 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
709
710 * url-auth.el (url-basic-auth-storage, url-digest-auth):
711 Fix typos in docstrings.
712 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
713
714 * url-cache.el (url-cache-prepare): Doc fix.
715 (url-cache-create-filename-human-readable, url-cache-extract):
716 Fix typos in docstrings.
717
718 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
719 (url-dav-delete-something): Fix typos in docstrings.
720 (url-dav-http-success-p, url-dav-file-name-all-completions)
721 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
722
723 * url-http.el (url-http-idle-sentinel): Doc fix.
724
725 * url-irc.el (url-irc-default-port): Fix typo in docstring.
726 (url-irc-function): Doc fix.
727
728 * url-util.el (url-get-url-filename-chars, url-unhex-string):
729 Fix typos in docstrings.
730 (url-file-extension): Doc fix.
731
732 * url-vars.el (url-current-object, url-current-mime-headers)
733 (url-privacy-level, url-mail-command, url-mime-language-string):
734 Fix typos in docstrings.
735 (url-honor-refresh-requests): Reflow docstring.
736 (url-using-proxy): Doc fix.
737
738 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
739
740 * vc-dav.el: Move to the parent directory to be together with the
741 rest of the VC backends.
742
743 2008-06-07 Glenn Morris <rgm@gnu.org>
744
745 * url-auth.el (auth-source-user-or-password): Remove unnecessary
746 eval-and-compile.
747
748 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * url-handlers.el (url-file-name-completion): Add missing argument.
751
752 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
753
754 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
755 (url-basic-auth, url-digest-auth): Use it with any realm,
756 overriding the user name and password before the prompt.
757
758 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
759
760 * url-vars.el (url-load-hook): Fix typo in docstring.
761
762 2008-03-09 Magnus Henoch <mange@freemail.hu>
763
764 * url-http.el (url-http-chunked-encoding-after-change-function):
765 Remove superfluous CRLF at end of file. (Bug #42)
766
767 2008-03-02 Andreas Schwab <schwab@suse.de>
768
769 * url-util.el: Require cl when compiling.
770
771 2008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
772
773 * url-util.el (url-get-normalized-date): Simplify to use
774 `format-time-string'. Always generate date in UTC, but
775 call it GMT for full compatibility with the RFCs.
776
777 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
778
779 * url-handlers.el (file-remote-p): Add handler.
780 (url-handler-file-remote-p): New fun.
781
782 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
783
784 * url-handlers.el (url-handler-unhandled-file-name-directory):
785 Handle `file' URLs specially. Return nil for non-local filenames.
786
787 2008-02-04 Magnus Henoch <mange@freemail.hu>
788
789 * url-expand.el: Require cl when compiling, for setf.
790
791 2008-01-29 John Wiegley <johnw@newartisans.com>
792
793 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
794 being used, don't add it to the response text. Also, changed an
795 if so that the interaction between the PROMPT and OVERWRITE
796 arguments can no longer result in the user being queried twice for
797 the same login and password information.
798
799 2008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * url-handlers.el (unhandled-file-name-directory): Add handler.
802 (url-handler-unhandled-file-name-directory): New fun.
803
804 2008-01-07 Michael Albinus <michael.albinus@gmx.de>
805
806 * url-handlers.el (url-file-handler): Autoload.
807
808 2007-12-11 Glenn Morris <rgm@gnu.org>
809
810 * url.el (url-configuration-directory): Make it a defcustom.
811
812 * url-util.el (url-make-private-file): New function.
813 * url-cookie.el (url-cookie-write-file):
814 * url-history.el (url-history-save-history):
815 Use url-make-private-file and with-temp-buffer.
816
817 2007-12-06 Glenn Morris <rgm@gnu.org>
818
819 * url-file.el, url-mailto.el: Remove directory part from filenames
820 in function declarations.
821
822 2007-12-02 Glenn Morris <rgm@gnu.org>
823
824 * url-about.el, url-handlers.el: Don't require cl when compiling.
825
826 * url-dav.el (url-dav-delete-directory): Fix message typo.
827
828 * url-history.el (top-level): Don't require cl when compiling.
829 (url-history-setup-save-timer, url-history-save-history):
830 Use condition-case rather than ignore-errors.
831
832 * url-imap.el (top-level): Don't require cl when compiling.
833 (url-imap): Use signal rather than check-type.
834
835 * url-news.el (top-level): Don't require cl when compiling.
836 (gnus-group-buffer): Define for compiler.
837 (url-news-fetch-message-id): Don't use `declare'.
838 (nntp-open-tls-stream, nntp-open-ssl-stream):
839 No need to define for compiler.
840 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
841 Correct quoting of nntp-open-connection-function value.
842
843 2007-12-01 Glenn Morris <rgm@gnu.org>
844
845 * url-handlers.el (top-level): Always require url-parse, not just
846 when compiling.
847
848 2007-11-30 Glenn Morris <rgm@gnu.org>
849
850 * url-cookie.el (url-cookie-p): Declare as a function.
851
852 2007-11-29 Glenn Morris <rgm@gnu.org>
853
854 * url-file.el (url-file-build-filename, url-file): Wrap uses of
855 efs in (featurep 'xemacs) test.
856
857 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
858
859 2007-11-28 Diane Murray <disumu@x3y2z1.net>
860
861 * url-dired.el: Don't require w3-fetch and w3-open-local.
862 (url-dired-find-file): Use `find-file'. Doc fix.
863 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
864
865 2007-11-24 Glenn Morris <rgm@gnu.org>
866
867 * url-privacy.el (url-device-type): Fix typo.
868
869 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
870
871 * url-mailto.el (mail-send-and-exit):
872 * url-http.el (url-dav-file-attributes):
873 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
874 (url-generate-unique-filename): Declare as functions.
875
876 * url-privacy.el (url-device-type): Define unconditionally.
877
878 2007-11-15 Richard Stallman <rms@gnu.org>
879
880 * url.el (url-retrieve-synchronously): Call delete-process.
881
882 2007-10-31 Juanma Barranquero <lekktu@gmail.com>
883
884 * url-vars.el (url-vars-unload-hook): Remove function and variable.
885 Hooks are automatically removed by `unload-feature'.
886
887 2007-10-13 Richard Stallman <rms@gnu.org>
888
889 * url-util.el (url-basepath): Function deleted.
890 (url-file-directory, url-file-nondirectory): New functions
891 replacing url-basepath. Callers changed.
892
893 * url-expand.el (url-default-expander): Use `url-file-directory'.
894
895 * url-auth.el (url-digest-auth, url-basic-auth):
896 Rename `path' to `file'. Use `url-file-directory'.
897
898 2007-10-12 Diane Murray <disumu@x3y2z1.net>
899
900 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
901 empty string filename.
902
903 2007-10-09 Richard Stallman <rms@gnu.org>
904
905 * url-parse.el (url-type, url-user, url-password, url-host)
906 (url-port, url-filename, url-target, url-attributes)
907 (url-fullness, url-set-type, url-set-user, url-set-password)
908 (url-set-host, url-set-port, url-set-filename, url-set-target)
909 (url-set-attributes, url-set-full): Change macros to defuns.
910
911 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
912
913 * url-dav.el (top):
914 * url-vars.el (top): Use `mapc' rather than `mapcar'.
915
916 2007-09-22 Diane Murray <disumu@x3y2z1.net>
917
918 * url-misc.el (url-generic-emulator-loader): Send the port as a
919 string to `url-do-terminal-emulator'.
920
921 2007-09-21 Diane Murray <disumu@x3y2z1.net>
922
923 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
924
925 * url-util.el (url-get-normalized-date): Pass full timezone
926 information to timezone-make-date-arpa-standard, since zone name
927 may be unknown.
928
929 2007-09-03 Diane Murray <disumu@x3y2z1.net>
930
931 * url-http.el (url-http-parse-headers): Bind the current buffer
932 rather than calling `url-mark-buffer-as-dead' with
933 `current-buffer', so that the correct buffer is killed if
934 `url-retrieve-synchronously' gets redirected to a new URL.
935
936 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
937
938 * url-parse.el (url): Use defstruct rather than macros.
939 (url-generic-parse-url):
940 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
941 * url-methods.el (url-scheme-register-proxy):
942 * url-mailto.el (url-mailto):
943 * url-file.el (url-file-build-filename):
944 * url-expand.el (url-identity-expander, url-default-expander):
945 Update all callers.
946
947 2007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
948
949 * url-auth.el (url-basic-auth): When prompting for username
950 and password, default to the username and password in the URL.
951
952 2007-08-08 Glenn Morris <rgm@gnu.org>
953
954 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
955 Replace `iff' in doc-strings and comments.
956
957 2007-07-25 Glenn Morris <rgm@gnu.org>
958
959 * Relicense all FSF files to GPLv3 or later.
960
961 2007-06-12 Tom Tromey <tromey@redhat.com>
962
963 * url.el (url-configuration-directory): Use user-emacs-directory.
964
965 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * url-cookie.el (url-cookie-name, url-cookie-value)
968 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
969 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
970 (url-cookie-set-expires, url-cookie-set-localpart)
971 (url-cookie-set-domain, url-cookie-set-secure)
972 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
973 (url-cookie): New struct.
974 (url-cookie-store): Use setf instead of url-cookie-set-*.
975
976 2007-05-29 Chong Yidong <cyd@stupidchicken.com>
977
978 * url-mailto.el (url-mailto): Insert body after
979 mail-header-separator if present, so that it is before signature.
980 Suggested by Leo <sdl.web@gmail.com>.
981
982 2007-04-15 Chong Yidong <cyd@stupidchicken.com>
983
984 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
985
986 2007-04-13 Chong Yidong <cyd@stupidchicken.com>
987
988 * url-http.el (url-http-parse-headers): Stop after a set number of
989 redirections. Suggested by Diane Murray.
990
991 * url-vars.el (url-max-redirections): New var.
992
993 2007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
994
995 * url-http.el (url-http-handle-cookies): Reverse list returned by
996 `mail-fetch-field', so that cookies are set in the correct order.
997
998 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
999 Deal with wildcard dots in domain values.
1000
1001 2007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
1002
1003 * url-http.el (url-http-mark-connection-as-busy)
1004 (url-http-mark-connection-as-free): Clear query-on-exit flag on
1005 idle connections.
1006
1007 2007-02-04 Chong Yidong <cyd@stupidchicken.com>
1008
1009 * url-http.el (url-http-connection-opened): New variable.
1010 (url-http): Initialize it.
1011 (url-http-async-sentinel): Don't try changing sentinels.
1012 Run url-http-end-of-document-sentinel if necessary.
1013
1014 2007-01-29 Juanma Barranquero <lekktu@gmail.com>
1015
1016 * url-auth.el (url-get-authentication): Fix typo in docstring.
1017
1018 2007-01-14 Magnus Henoch <mange@freemail.hu>
1019
1020 * url-proxy.el (url-proxy-object): Remove.
1021 (url-proxy): Don't use `url-proxy-object'. Act according to type of
1022 proxy (currently only HTTP supported).
1023
1024 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
1025
1026 * url-http.el (url-http-proxy): New variable.
1027 (url-http-create-request): Use it. Don't use `url-proxy-object'.
1028 (url-http): Treat `url' argument as resource to download, and
1029 dynamic variable `url-using-proxy' as proxy to use.
1030 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
1031 used.
1032 (url-http-handle-cookies): Assume that `url-current-object' does
1033 not point to the proxy used.
1034 (url-http-async-sentinel): Adapt error message.
1035
1036 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
1037
1038 * url-gw.el (url-gateway-nslookup-program): Doc fix.
1039
1040 2006-12-08 Magnus Henoch <mange@freemail.hu>
1041
1042 * url-proxy.el (url-proxy-object): New variable.
1043 (url-proxy): Bind it instead of `proxy-object'.
1044
1045 * url-http.el (url-http-create-request): Remove url argument, use
1046 the buffer-local variable `url-http-target-url' instead.
1047 Both callers updated. Simplify proxy handling.
1048 (url-http): Don't make proxy-object buffer local.
1049
1050 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
1051
1052 2006-11-26 Magnus Henoch <mange@freemail.hu>
1053
1054 * url-http.el (url-http-wait-for-headers-change-function):
1055 Use `when' instead of `if' when possible.
1056 (url-http): Define url-http-response-version.
1057 (url-http-parse-response): Set it.
1058 (url-http-parse-headers): Use it to determine keep-alive behavior.
1059
1060 2006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
1061
1062 * url-http.el (url-http-content-length-after-change-function):
1063 Use `url-lazy-message'.
1064
1065 * url-util.el (url-display-percentage): Only show a message if
1066 `url-show-status' is non-nil.
1067
1068 2006-11-15 Magnus Henoch <mange@freemail.hu>
1069
1070 * url-http.el (url-http): Make proxy-object buffer-local, to
1071 handle proxied asynchronous connections correctly.
1072
1073 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
1074
1075 2006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
1076
1077 * url-http.el (url-http-wait-for-headers-change-function):
1078 Defer detection of HTTP 0.9 until we have at least one line.
1079
1080 2006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
1081
1082 * url-http.el (url-http-mark-connection-as-free)
1083 (url-http-find-free-connection): Don't treat process with status
1084 `connect' as free.
1085 (url-http-async-sentinel): Request correct url.
1086
1087 2006-11-08 Magnus Henoch <mange@freemail.hu>
1088
1089 * url-http.el (url-http-handle-authentication): If there are
1090 several authentication headers, use the strongest available
1091 method.
1092
1093 * url.el (url-retrieve-synchronously): Allow quitting when
1094 inhibit-quit is t.
1095
1096 2006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
1097
1098 * url-http.el (url-http-handle-authentication): If there are
1099 several authentication headers, use the first with a supported
1100 method.
1101
1102 2006-11-01 Magnus Henoch <mange@freemail.hu>
1103
1104 * url-http.el (url-http-create-request): Use buffer-local
1105 equivalents of dynamically bound variables.
1106
1107 2006-10-29 Magnus Henoch <mange@freemail.hu>
1108
1109 * url-gw.el (url-open-stream): Really use asynchronous
1110 connections (accidentally disabled during debugging).
1111
1112 2006-10-28 Magnus Henoch <mange@freemail.hu>
1113
1114 * url-http.el (url-http-parse-headers): Fix misplaced paren.
1115
1116 2006-10-27 Magnus Henoch <mange@freemail.hu>
1117
1118 * url-http.el (url-http-mark-connection-as-free): Verify that
1119 connection is open before saving it.
1120 (url-http-handle-authentication): Use url-retrieve-internal
1121 instead of url-retrieve.
1122 (url-http-parse-headers): Adapt to new callback interface.
1123 (url-http): Handle non-blocking connections.
1124 (url-http-async-sentinel): Create.
1125
1126 * url.el (url-retrieve): Update docstring for new callback interface.
1127 Remove all code.
1128 (url-retrieve-internal): Move code from url-retrieve here.
1129
1130 * url-gw.el (url-open-stream): Use a non-blocking socket for
1131 `native' gateway method, if available.
1132
1133 2006-10-16 Magnus Henoch <mange@freemail.hu>
1134
1135 * url-http.el (url-https-create-secure-wrapper):
1136 Always use tls gateway method.
1137
1138 2006-10-12 Magnus Henoch <mange@freemail.hu>
1139
1140 * url-http.el (url-http-find-free-connection):
1141 Handle url-open-stream returning nil.
1142
1143 2006-10-11 Magnus Henoch <mange@freemail.hu>
1144
1145 * url-https.el: Remove (clashes with url-http on 8+3 systems).
1146
1147 * url-http.el: Move contents of url-https.el here. Add autoloads.
1148
1149 2006-10-09 Magnus Henoch <mange@freemail.hu>
1150
1151 * url-parse.el (url-generic-parse-url): Handle URLs with empty
1152 path component and non-empty query component. Untangle path,
1153 query and fragment parsing code. Add references to RFC 3986 in
1154 comments.
1155 (url-recreate-url-attributes): Start query string with "?", not ";".
1156
1157 2006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * url-dav.el (url-dav-file-attributes): Simplify.
1160
1161 * url-http.el (url-http-head-file-attributes): Add device "info".
1162
1163 2006-09-18 Michael Olson <mwolson@gnu.org>
1164
1165 * url-methods.el (url-scheme-register-proxy): Handle case where
1166 getenv returns an empty string for http_proxy. This prevents an
1167 error when calling `format' later on.
1168
1169 2006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
1170
1171 * url-parse.el (url-recreate-url-attributes): New function, code
1172 simply moved from `url-recreate-url'.
1173 (url-recreate-url): Use it.
1174 Put the `url-target' at the end of the URL after the attributes.
1175
1176 * url-http.el (url-http-create-request):
1177 Use `url-recreate-url-attributes' when setting real-fname.
1178
1179 2006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
1180
1181 * url-cookie.el (url-cookie-write-file): Really don't use versioned
1182 backups.
1183
1184 2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
1187 dest file will already exist.
1188
1189 2006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * url-util.el (url-hexify-string): Only utf-8 encode if it's
1192 a multibyte string.
1193 (url-normalize-url): Remove unused var `grok'.
1194 (url-truncate-url-for-viewing): Remove unused var `tail'.
1195
1196 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
1197
1198 * url-util.el (url-hexify-string): Rewrite.
1199 Suggested by David Smith <davidsmith@acm.org>.
1200
1201 2006-07-12 Michael Olson <mwolson@gnu.org>
1202
1203 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
1204
1205 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1206
1207 * url-cookie.el: Remove spurious * in docstrings.
1208 (url-cookie-write-file): Don't use versioned backups.
1209 (url-cookie-host-can-set-p): Remove unused var `tmp'.
1210
1211 2006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
1212
1213 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
1214 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
1215
1216 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
1217
1218 * url-http.el (url-http-file-exists-p): Test if status is integer.
1219
1220 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
1221
1222 * url-http.el (url-http-parse-headers): Don't reuse connection if
1223 "Connection: close" header was seen.
1224
1225 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * url-gw.el (url-open-stream): Don't hide errors.
1228 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1229
1230 * url-handlers.el (url-insert): New function.
1231 (url-insert-file-contents): Use it.
1232
1233 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * url-handlers.el (url-handler-directory-file-name): New handler.
1236 (url-file-local-copy): Plug race condition security hole.
1237
1238 2006-03-27 Romain Francoise <romain@orebokech.com>
1239
1240 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1241 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1242 Default to rcirc, since ZenIRC isn't part of Emacs.
1243
1244 2006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1245
1246 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1247
1248 2006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * url-http.el (url-http-find-free-connection): Don't kill the process
1251 when killing the temp buffer.
1252 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1253 byte-compiler that the function is defined.
1254
1255 2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * url.el (url-redirect-buffer): New var.
1258 (url-retrieve-synchronously): Use it to follow redirections.
1259
1260 * url-http.el: Require `url' rather than try to autoload parts of it.
1261 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1262 (url-http-parse-headers): Set `url-redirect-buffer' when following
1263 a redirection reply.
1264
1265 2006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * url-news.el: Move defvars out of eval-when-compile.
1268 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1269 Use with-current-buffer.
1270
1271 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1274 to stop in the middle of a redirection.
1275
1276 * url-vars.el (url-privacy-level): Add setter.
1277
1278 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * url-history.el (url-history-hash-table): Initialize in declaration.
1281 (url-history-parse-history): Don't reset the history.
1282 (url-history-save-history): Create parent dir if necessary.
1283 (url-history-save-history): Don't write the initialization of
1284 url-history-hash-table into the history file.
1285 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
1286 (url-completion-function): Simplify.
1287
1288 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1289 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1290 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1291 (url-cookie-setup-save-timer): Remove autoload cookies.
1292 They're only called from files that require url-cookie anyway.
1293
1294 * url-history.el (url-history-setup-save-timer)
1295 (url-history-parse-history, url-history-save-history):
1296 Remove autoload cookies. They're only called from url.el which requires
1297 url-history anyway.
1298 (url-history-parse-history): Don't complain if the file is missing.
1299
1300 2006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1303
1304 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1305
1306 * url-cache.el: Require `url'.
1307
1308 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1311
1312 * url.el (url-configuration-directory): Don't autoload because the
1313 default value needs to be computed at run-time, not dump-time.
1314
1315 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * url-cookie.el (url-cookie-write-file): Create parent dir.
1318
1319 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1320
1321 2005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1322
1323 * url-cookie.el (url-cookie-save-interval): Simplify.
1324 (url-cookie-setup-save-timer): Simplify.
1325
1326 2005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1327
1328 * url-history.el (url-history-list): Var deleted.
1329 (url-history-save-interval): Simplify.
1330 (url-history-setup-save-timer): Simplify.
1331
1332 2005-12-01 Kim F. Storm <storm@cua.dk>
1333
1334 * url-history.el (url-history-track): Fix last change.
1335
1336 2005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1337
1338 * url-history.el (url-history-track):
1339 Call url-history-setup-save-timer in :set function.
1340 :type allows three alternatives.
1341 (url-history-setup-save-timer): Test url-history-track.
1342 * url.el (url-retrieve): Test url-history-track.
1343
1344 2005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * url-http.el: Use with-current-buffer.
1347 (url-http-target-url): Rename from url-http-cookies-sources.
1348 (url-http-parse-headers): Use it.
1349 (url-http-handle-authentication): Use subst-char-in-string.
1350
1351 2005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
1352
1353 * url-handlers.el (url-insert-file-contents): Use the charset info
1354 provided by the HTTP server, if any.
1355
1356 2005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1357
1358 * url-nfs.el (top level):
1359 * url-handlers.el (directory-files):
1360 * url-file.el (top level):
1361 * url-dired.el (url-dired-minor-mode-map):
1362 * url-http.el (url-http-chunked-encoding-after-change-function):
1363 Remove XEmacs support.
1364
1365 2005-10-15 Richard M. Stallman <rms@gnu.org>
1366
1367 * url.el: Don't try to autoload hash table functions.
1368
1369 2005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * url-http.el (url-http-create-request): Avoid incorrect implicit
1372 unibyte->multibyte conversion.
1373
1374 2005-09-17 Richard M. Stallman <rms@gnu.org>
1375
1376 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1377
1378 * url-mailto.el (url-mailto): Special case `mail'.
1379 Don't test fboundp of `compose-mail'.
1380
1381 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
1382
1383 * url-mailto.el (url-mailto): Delete mail buffer after sending
1384 autogenerated mail.
1385 Call `compose-mail with `new' argument if possible.
1386
1387 2005-09-13 Chong Yidong <cyd@stupidchicken.com>
1388
1389 * url-mailto.el (url-mailto): Always use a new mail buffer.
1390
1391 2005-09-01 Chong Yidong <cyd@stupidchicken.com>
1392
1393 * url-util.el (url-parse-query-string): New optional argument
1394 allow-newlines allows decoding of newlines.
1395
1396 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1397 Don't lose original "to" value when there is a "to" header.
1398 Remove carriage return characters in message body.
1399
1400 2005-08-24 Juanma Barranquero <lekktu@gmail.com>
1401
1402 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1403 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1404
1405 2005-07-15 Richard M. Stallman <rms@gnu.org>
1406
1407 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1408 when calling url-retrieve, to indicate a redirect.
1409
1410 * url.el (url-retrieve): The callback function can get an additional
1411 keyword arg pair.
1412
1413 2005-07-04 Lute Kamstra <lute@gnu.org>
1414
1415 Update FSF's address in GPL notices.
1416
1417 2005-07-04 Juanma Barranquero <lekktu@gmail.com>
1418
1419 * url-history.el (url-history-track): Doc fix.
1420 (url-history): Finish `defgroup' description with period.
1421
1422 * url-cookie.el (url-cookie):
1423 * url-gw.el (url-gateway):
1424 * url-news.el (url-news):
1425 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1426 Finish `defgroup' description with period.
1427
1428 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1429
1430 * url-http.el (url-http-create-request): Call url-recreate-url
1431 in proxy case.
1432
1433 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1434
1435 * url-http.el (url-http-create-request): When computing real-fname,
1436 call url-filename in both cases.
1437
1438 2005-06-27 Richard M. Stallman <rms@gnu.org>
1439
1440 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1441 (url-cookie-retrieve): Likewise.
1442 (url-cookie-generate-header-lines): Likewise.
1443 (url-cookie-handle-set-cookie): Likewise.
1444 (url-cookie-create): Expect :localpart instead of :path.
1445 (url-cookie-localpart): Rename from url-cookie-path.
1446 (url-cookie-set-localpart): Rename from url-cookie-set-path.
1447 (url-cookie-file): Doc fix.
1448 (url-cookie-p): Add doc string.
1449
1450 2005-06-23 Richard M. Stallman <rms@gnu.org>
1451
1452 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1453
1454 2005-06-21 Juanma Barranquero <lekktu@gmail.com>
1455
1456 * url-gw.el (url-open-stream):
1457 * url-vars.el (url-gateway-unplugged): Fix spellings.
1458
1459 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
1460
1461 * url-history.el (url-completion-function): Follow error conventions.
1462
1463 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1464
1465 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1466
1467 2005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * url-dav.el: Remove most autoload cookies.
1470 Don't hook into the url-file-handler since it currently breaks all
1471 non-HTTP URLs.
1472
1473 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1474
1475 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1476 fetching a file via ange-ftp.
1477
1478 2005-06-10 Juanma Barranquero <lekktu@gmail.com>
1479
1480 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
1481
1482 2005-05-19 Juanma Barranquero <lekktu@gmail.com>
1483
1484 * url-cookie.el (url-cookie-multiple-line):
1485 Specify group and type in defcustom.
1486
1487 2005-05-06 Juanma Barranquero <lekktu@gmail.com>
1488
1489 * url-auth.el (url-register-auth-scheme):
1490 * url-cookie.el (url-cookie-expired-p):
1491 * url-dav.el (url-dav-process-date-property)
1492 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1493 * url-http.el (url-http-chunked-encoding-after-change-function)
1494 (url-http-wait-for-headers-change-function):
1495 * url-ns.el (isInNet):
1496 * url-parse.el (url-generic-parse-url):
1497 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1498 by `string-to-number'.
1499
1500 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * url.el (url-retrieve-synchronously): Work around the fact that
1503 url-http sometimes doesn't call the callback.
1504
1505 2005-04-04 Lute Kamstra <lute@gnu.org>
1506
1507 * url-handlers.el (url-handler-mode): Specify :group.
1508
1509 2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1510
1511 * url-history.el (url-have-visited-url): Don't barf if
1512 url-history-hash-table is nil.
1513
1514 2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1515
1516 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1517
1518 2005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1519
1520 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1521 to nil, like for the 303 response.
1522
1523 2005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1526 than sit-for.
1527
1528 2005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1529
1530 * url-http.el (url-http-handle-authentication):
1531 Don't kill the current buffer.
1532
1533 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * url-handlers.el: Don't `require' everything eagerly.
1536
1537 2004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1538
1539 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1540 to `url-http-cookies-sources' so that cookies are attributed to
1541 proper domain.
1542 (url-http): Make local variable `url-http-cookies-sources'.
1543
1544 2004-11-28 Andreas Schwab <schwab@suse.de>
1545
1546 * url-http.el (url-http-create-request): Don't add newline after
1547 the request data.
1548
1549 2004-11-20 Masatake YAMATO <jet@gyve.org>
1550
1551 * url.el (url-mm-callback): Delay the invocation
1552 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
1553 when the buffer is killed.
1554
1555 2004-11-12 Masatake YAMATO <jet@gyve.org>
1556
1557 * url-mailto.el (url-mailto): Fix a typo in the comment.
1558
1559 2004-11-02 Masatake YAMATO <jet@gyve.org>
1560
1561 * url-imap.el (url-imap-open-host): Don't use
1562 `string-to-int'. The port returned by `url-port'
1563 is expected to be an integer.
1564
1565 * url-irc.el (url-irc): Ditto.
1566
1567 * url-news.el (url-news-open-host): Ditto.
1568
1569 * url-nfs.el (url-nfs-build-filename): Ditto.
1570
1571 2004-10-20 John Paul Wallington <jpw@gnu.org>
1572
1573 * url-gw.el (url-gateway-nslookup-host):
1574 Use `set-process-query-on-exit-flag'.
1575
1576 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1577
1578 * url-auth.el:
1579 * url-cache.el:
1580 * url-cid.el:
1581 * url-dired.el:
1582 * url-expand.el:
1583 * url-ftp.el:
1584 * url-gw.el:
1585 * url-imap.el:
1586 * url-irc.el:
1587 * url-misc.el:
1588 * url-news.el:
1589 * url-ns.el:
1590 * url-privacy.el:
1591 * url-proxy.el: Update header and footer.
1592
1593 * url-vars.el: Update header.
1594
1595 2004-10-16 Richard M. Stallman <rms@gnu.org>
1596
1597 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1598
1599 * url-vars.el (url-passwd-entry-func): Var deleted.
1600 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
1601 (url-weekday-alist): Rename from weekday-alist.
1602 (url-monthabbrev-alist): Rename from monthabbrev-alist.
1603 (url-vars-unload-hook): Initialize hook var to hold the function.
1604
1605 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1606 url-monthabbrev-alist.
1607
1608 * url-misc.el: Load cl at compile time.
1609
1610 * url-mailto.el: Don't load cl.
1611 (url-mailto): Fix call to `push'.
1612
1613 * url-gw.el (url-open-telnet): Use read-passwd.
1614
1615 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1616
1617 2004-10-12 Simon Josefsson <jas@extundo.com>
1618
1619 * url-vars.el (url-gateway-method): Add new method `tls'.
1620
1621 * url-news.el (url-snews): Use nntp-open-tls-stream if
1622 url-gateway-method is tls.
1623
1624 * url-ldap.el (url-ldap-certificate-formatter):
1625 Use tls-certificate-information if ssl.el is not available.
1626
1627 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1628 is not available.
1629
1630 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1631 (url-open-stream): Likewise.
1632
1633 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1634
1635 * url-auth.el:
1636 * url-cache.el:
1637 * url-cookie.el:
1638 * url-dired.el:
1639 * url-file.el:
1640 * url-ftp.el:
1641 * url-handlers.el:
1642 * url-history.el:
1643 * url-irc.el:
1644 * url-mailto.el:
1645 * url-methods.el:
1646 * url-misc.el:
1647 * url-news.el:
1648 * url-nfs.el:
1649 * url-parse.el:
1650 * url-privacy.el:
1651 * url-vars.el:
1652 * url.el:
1653 * url-util.el: Fix copyright notice.
1654
1655 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1658 encoding, not the buffer-file-name (which might not even exist).
1659
1660 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1661
1662 * url-handlers.el (url-insert-file-contents): Decode contents.
1663
1664 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1665
1666 * url-util.el (url-debug): Use with-current-buffer.
1667
1668 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1669 (url-nfs-create-wrapper): Use new backquote syntax.
1670
1671 * url-https.el (url-https-file-attributes): Add id-format param.
1672
1673 * url-http.el (url-http-head-file-attributes)
1674 (url-http-file-attributes): Add id-format parameter.
1675
1676 * url-handlers.el: Use new find-file-hook.
1677 (url-file-attributes): Add id-format parameter.
1678
1679 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1680 (url-file-file-attributes): Add id-format parameter.
1681
1682 * url-dav.el: Use with-current-buffer.
1683 (url-dav-process-response): Fix regexps and spurious quote.
1684 (url-dav-file-attributes): Add id-format param.
1685
1686 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * url.el (url-retrieve): Use with-current-buffer.
1689
1690 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1691 Remove unused var `version'.
1692
1693 * url-handlers.el (url-handler-mode): New minor mode.
1694 (url-setup-file-name-handlers): Remove.
1695
1696 2004-04-12 John Paul Wallington <jpw@gnu.org>
1697
1698 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1699 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1700
1701 2004-04-11 Dave Love <fx@gnu.org>
1702
1703 * url-mailto.el (url-mailto):
1704 * url-history.el (url-history-setup-save-timer):
1705 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1706
1707 * url-file.el (url-file-build-filename): Don't use
1708 directory-sep-char.
1709
1710 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1711
1712 * url-about.el (url-scheme-registry): Defvar.
1713 (url-about): Use text/plain.
1714
1715 * url-vars.el (cl): Don't require.
1716 (url): Add :version.
1717 (url-bug-address): Use bug-gnu-emacs.
1718
1719 * url-util.el (url-hexify-string): Don't give multibyte error
1720 for char <16.
1721 (mail-header-extract): Autoload.
1722
1723 * url-parse.el: Doc fixes.
1724
1725 * url-ldap.el (ldap): Require.
1726 (url-ldap): Fix `format' call.
1727 (url-ldap-certificate-formatter): Avoid warning.
1728
1729 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
1730
1731 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1732 (url-intersection): New.
1733 (url-dav-supported-p): Use it.
1734 (url-dav-save-resource): Declare url-http-response-status special.
1735
1736 * url-cache.el (url-util): Require.
1737
1738 2004-04-10 Miles Bader <miles@gnu.org>
1739
1740 RCS keyword removal (only non-comment changes are enumerated here):
1741
1742 * url-vars.el (url-version): Use the constant string "Emacs"
1743 instead of calculating something from the RCS `State' keyword
1744 [the latter is almost entirely useless anyway].
1745
1746 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * url-methods.el:
1749 * url-parse.el: Don't require url-auto.
1750
1751 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * url: Imported the URL package from its own CVS repository into Emacs.
1754
1755 ===========================================================================
1756 ===========================================================================
1757 Copy of the ChangeLog file from URL's own CVS repository:
1758 ===========================================================================
1759 ===========================================================================
1760
1761 2003-07-16 Dave Love <fx@gnu.org>
1762
1763 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1764 Should be revisited.
1765
1766 2003-06-26 Sam Steingold <sds@gnu.org>
1767
1768 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1769 method on invalid urls.
1770
1771 2003-05-29 Dave Love <fx@gnu.org>
1772
1773 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1774 sit-for. From monnier@gnu.org.
1775
1776 2002-11-04 Walter C. Pelissero <walter@pelissero.org>
1777
1778 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1779 port numbers to integers when creating the URL objects for proxies.
1780
1781 2002-10-29 William M. Perry <wmperry@gnu.org>
1782
1783 * lisp/url-http.el (url-http-parse-headers): When doing a
1784 redirect, some broken software (sourceforge) sends a redirect to
1785 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1786 specification). I wish we could deal with such lame software
1787 appropriately (spank the authors), but this is the web, so we have
1788 to kow-tow to the servers.
1789
1790 2002-10-27 William M. Perry <wmperry@gnu.org>
1791
1792 * lisp/url-http.el (url-http-create-request): If we are talking to
1793 the default port for a the selected protocol, do NOT send the port
1794 in the HOST header. This fixes the login page at sourceforge.
1795
1796 2002-09-17 William M. Perry <wmperry@gnu.org>
1797
1798 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1799 with cookie headers.
1800 (url-http-parse-headers): Call `url-http-handle-cookies' here so
1801 that cookie additions and deletions get handled immediately.
1802 This is so that sites that set cookies while doing redirects
1803 (my.yahoo.com, outlook web access, etc) work. This should also
1804 fix sites that delete cookies on invalid access or other error
1805 pages the user might not actually see.
1806 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1807 methods to GET in redirects. Too many web sites do this now, and
1808 it is just likely to confuse users.
1809
1810 2002-05-17 Dave Love <fx@gnu.org>
1811
1812 * texi/url.txi: Start making it vaguely useful.
1813
1814 * texi/Makefile.in (install): Cope with Debian install-info.
1815 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
1816
1817 2002-04-22 Dave Love <fx@gnu.org>
1818
1819 * lisp/url-misc.el (man): Autoload to avoid warning.
1820 (url-man): Don't require man here.
1821 (url-data): Generalize in line with the RFC.
1822
1823 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1824
1825 * lisp/url-vars.el: Doc fixes.
1826 (url-mime-charset-string): New function.
1827 (url-mime-charset-string): Use it to set the variable.
1828 (url-set-mime-charset-string): New function.
1829 (set-language-environment-hook): Use it.
1830 (url-vars-unload-hook): New function.
1831
1832 * lisp/url-cookie.el (url-header-comparison): Delete.
1833 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
1834 (url-cookie-save-interval): Make value agree with doc.
1835
1836 * lisp/url.el: Doc fixes.
1837 (url-mm-callback): Don't call mm-destroy-parts immediately for
1838 external viewing -- set up a process sentinel.
1839
1840 2002-02-02 William M. Perry <wmperry@gnu.org>
1841
1842 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
1843
1844 2001-12-12 William M. Perry <wmperry@gnu.org>
1845
1846 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1847 Monnier to use ` instead of ^ to match the relative link.
1848
1849 2001-12-10 William M. Perry <wmperry@gnu.org>
1850
1851 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1852 plist-get (reversed args).
1853
1854 * lisp/url-file.el (url-file-build-filename): Make sure that we
1855 have a parsed URL in this function.
1856
1857 2002-01-22 Dave Love <fx@gnu.org>
1858
1859 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1860
1861 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1862 Bind coding-system-for-read. Require mm-util.
1863
1864 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1865
1866 * lisp/mule-sysdp.el: Removed (obsolete).
1867
1868 2001-12-09 William M. Perry <wmperry@gnu.org>
1869
1870 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1871 remove an arbitrary resource.
1872 (url-dav-delete-directory): Use it.
1873 (url-dav-delete-file): Ditto.
1874 (url-dav-make-directory): New function.
1875 (url-dav-rename-file): New function.
1876 (url-dav-register-handler): New function to easily register a
1877 WebDAV-specific file-name-handler operation.
1878 (url-dav-file-name-all-completions, url-dav-file-name-completion):
1879 New functions that allow file-name completion for WebDAV resources.
1880
1881 2001-12-08 William M. Perry <wmperry@gnu.org>
1882
1883 * lisp/url-dav.el (url-dav-directory-files): New function to
1884 mimic `directory-files' for WebDAV.
1885 (url-dav-delete-directory): New function to mimic
1886 `delete-directory' for WebDAV.
1887
1888 2001-12-06 William M. Perry <wmperry@gnu.org>
1889
1890 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1891 DAV:locktoken hrefs into a usable format.
1892 (url-dav-process-response): Use an unwind-protect to make sure
1893 that we clean up the buffer, even if there is a parsing error.
1894 (url-dav-request): New function to act as the main entry point for
1895 making DAV requests. Takes care of building the XML document with
1896 appropriate namespaces, depth, etc, and parses the results.
1897 (url-dav-get-properties): Use new url-dav-request function.
1898 This is now just a thin wrapper around that to use PROPFIND and set any
1899 extra properties we are looking for.
1900 (url-dav-unlock-resource): New function to release a lock given a
1901 URL and a lock-token.
1902 (url-dav-process-DAV:getlastmodified)
1903 (url-dav-process-DAV:creationdate)
1904 (url-dav-process-DAV:iscollection)
1905 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1906 url-dave-*!
1907 (url-dav-active-locks): New function to get a list of all the
1908 active locks for a resource.
1909 (url-dav-save-resource): New function to actually save a resource
1910 using the PUT method. I can now successfully save files to an
1911 HTTP server with some manual steps from a lisp-interaction buffer.
1912
1913 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1914 Special case the 204/205 response codes. Some servers do not
1915 send back a 0 content-length for these, and we would hang.
1916 (url-http-parse-headers): Mark 204/205 response codes as
1917 'successful' so that the callbacks get activated.
1918 (url-http-options): Fix unbound variable usage.
1919
1920 * lisp/url-dav.el: Added full copyright information.
1921 (url-dav-process-response): Make sure that we create a DAV:status
1922 property when parsing a singleton response.
1923 (url-dav-file-attributes): If the properties returned did not have
1924 a successful HTTP response code, then ignore them and use the
1925 HEAD-based attributes.
1926
1927 * lisp/vc-dav.el: Added full copyright information.
1928
1929 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1930 Deal with text nodes in DAV:supportedlock nodes.
1931 (url-dav-file-attributes-mode-string): This now gets the entire
1932 property list instead of just the DAV:supportedlock node.
1933 (url-dav-file-attributes): Make sure to pass the whole list in.
1934 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
1935 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1936 'executable' bit to set the 'x' mode. See `mod_dav's custom
1937 properties' at http://www.webdav.org/mod_dav/ for more details.
1938 (url-dav-find-parser): New function to find the proper parser for
1939 a node-type. Looks for
1940 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1941 back to using url-dav-node-text. Caches the results on the nodes
1942 symbol name.
1943 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1944 (url-dav-process-*): Rename most of the handlers and made them
1945 use url-dav-dispatch-node where appropriate.
1946 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1947 property to dispatch the node, now uses dav-dispatch-node so that
1948 it is easy to add parsers for special nodes.
1949 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1950 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1951 (url-dav-process-DAV:getcontentlength)
1952 (url-dave-process-DAV:getlastmodified)
1953 (url-dave-process-DAV:creationdate)
1954 (url-dave-process-DAV:iscollection)
1955 (url-dave-process-DAV:ishidden): Aliases for the generic
1956 url-dav-process-foo-property routines.
1957 (url-dav-process-DAV:activelock)
1958 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1959 DAV:lockdiscovery nodes, so that we can find out who has a
1960 resource locked and properly parse the response to a LOCK request.
1961 (url-dav-process-DAV:status): Now parses out the numeric status
1962 from the HTTP response line.
1963 (url-dav-process-response): New function to handle all the
1964 parsing of an XML response from WebDAV. This handles all the
1965 logic of checking the response content-type to make sure it is
1966 XML, parses the tree, and interprets the tree.
1967 (url-dav-process-response): Make sure that all responses look
1968 like a DAV:multistatus response, even if we get a singleton
1969 response back. This will just make the upper layer logic simpler.
1970 (url-dav-get-properties): New optional argument NAMESPACES that
1971 specifies what namespaces to use in the XML request.
1972 (url-dav-get-properties): Got rid of the D: namespace in
1973 requests. It doesn't save that much space. Just use DAV:
1974 (url-dav-lock-identifier): New variable that should hold a URI
1975 pointing to contact information for the user. This will be used
1976 as the contents of the DAV:owner/DAV:href tag to identify the
1977 owner of a LOCK when requesting it. This will be shown to other
1978 users when the DAV:lockdiscovery property is requested, so make
1979 sure you are comfortable with it leaking to the outside world.
1980 (url-dav-lock-resource): New function to LOCK a dav resource.
1981
1982 2001-12-05 William M. Perry <wmperry@gnu.org>
1983
1984 * lisp/url-dav.el (url-dav-get-properties): New argument
1985 ATTRIBUTES that allows you to ask for specific properties instead
1986 of getting all properties via DAV:allprop.
1987
1988 * lisp/url-http.el (url-http-real-basic-auth-storage):
1989 New variable for normal HTTP basic authentication.
1990 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1991 basic authentication.
1992 (url-http-handle-authentication): Follow new semantics for
1993 url-basic-auth-storage.
1994
1995 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
1996 this variable. It is now a symbol pointing to where we really
1997 want to store the authorization information. This fixes proxy
1998 auth and normal basic auth because of some local bindings that were
1999 making it impossible to store the credentials in the global binding.
2000 (url-basic-auth): Make sure we dereference url-basic-auth-storage
2001 everywhere.
2002
2003 * lisp/url-util.el (url-debug): Add new types 'dav and
2004 'retrieval to the customization list.
2005
2006 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
2007 statements.
2008
2009 * lisp/url-http.el (url-http-head-file-attributes): Rename old
2010 url-http-file-attributes so that we can have a smarter one that
2011 tries WebDAV first, then HEAD.
2012 (url-http-file-attributes): New smart version that tries WebDAV first.
2013 (url-http-options): New function that returns information gleaned
2014 from an OPTIONS request for a URL. Returns a property list
2015 returning the methods supported for the resource, what DAV and
2016 DASL levels are supported, p3p information, and whether
2017 byte-ranges are supported or not.
2018 (url-http-wait-for-headers-change-function): If we got a 0-byte
2019 content-length, activate the callback immediately.
2020 (url-http-wait-for-headers-change-function): For content-length
2021 responses with actual body-data in the chunk we are handling, call
2022 url-http-content-length-after-change-function with the remaining
2023 data. Otherwise we can deadlock if the headers and the entire
2024 body exist arrive in one chunk.
2025
2026 * lisp/url-dav.el: New file to contain the WebDAV
2027 (http://www.webdav.org/) implementation.
2028 (url-dav-supported-p): Cheap way to figure out whether we will be
2029 able to do DAV at all. We rely on the XML parser expanding
2030 namespaces for us, and currently you need a patched version of
2031 xml.el to do this. Patch sent to author for consideration.
2032 (url-dav-file-attributes): Much more complete version of
2033 `file-attributes' using the WebDAV PROPFIND method. Now correctly
2034 finds out whether something is a directory (a WebDAV collection),
2035 the last modification time, and permissions (based on the
2036 DAV:supportedlock information).
2037 (url-dav-get-properties): Generic interface to get WebDAV
2038 properties for a URL. Can specify an optional `depth' parameter
2039 to tell the web server how many directory (collection) levels to
2040 recurse when retrieving the property lists. Returns an assoc
2041 list keyed off of the resource, the cdr of which is a property list.
2042 (url-dav-datatype-attribute): We support the XML-Data note
2043 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
2044 datatypes of attributes are. Currently only date, dateTime, int,
2045 number, float, boolean, and uri are supported.
2046
2047 2001-12-04 William M. Perry <wmperry@gnu.org>
2048
2049 * lisp/url-handlers.el (file-name-absolute-p): New hooked
2050 version. If the filename matches our regexp, then it is always
2051 absolute, so just return `t'.
2052 (expand-file-name): New hooked version. If the fragment is an
2053 absolute file or URL, then expand it relative to '/'.
2054 (url-handler-regexp): New regexp for specific schemes that we
2055 want the file-name-handlers to work off of.
2056 (url-setup-file-name-handlers): Use it when installing the handlers.
2057
2058 * lisp/url-http.el (url-http-find-free-connection): Better logging
2059 about whether we are reusing an existing connection or not.
2060
2061 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
2062 to string-match instead of match-string (and with reversed
2063 arguments even).
2064
2065 * lisp/url-http.el (url-http-debug): Change to now use the
2066 generic url-debug function to do the actual logging. Still a
2067 separate function so that we can do our magic on the network
2068 connection if the user quits while we are downloading.
2069
2070 * lisp/url-handlers.el (url-file-handler): Now logs the result of
2071 the hooked or real call.
2072
2073 * lisp/url-util.el (url-debug): New function for generic debug logging.
2074
2075 2001-11-28 William M. Perry <wmperry@gnu.org>
2076
2077 * lisp/url-imap.el (url-imap-open-host): Use backquote.
2078 (url-imap): Now switches to 'login as the imap authenticator if
2079 the URL provides a username and password.
2080
2081 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
2082 push to replace some strange logic in here.
2083 (url-run-real-handler): New function to run the real hooks in
2084 case we get a false positive or an operation that we do not
2085 support. The old way disabled _ALL_ file-name-handlers when
2086 we hit something we didn't understand - this disables JUST us.
2087 (url-file-handler): Remove the logic about removing the leading
2088 '/' off of the first argument... it may not be safe to always
2089 assume that the first argument is the one we are acting on -
2090 `default' is the second argument for expand-file-name for example.
2091 (url-setup-file-name-handlers): Use url-nonrelative-link
2092 directly. This means that you must type in the URL directly
2093 without prefixing it with a '/'.
2094
2095 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
2096
2097 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
2098 which activates us (because 'nnml+mail' _is_ a valid scheme name
2099 for a URI). We get thoroughly confused and end up returning
2100 `nil' when we shouldn't.
2101
2102 2001-11-26 William M. Perry <wmperry@gnu.org>
2103
2104 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
2105 this so that visiting a URL directly will work.
2106 (file-symlink-p): Ditto.
2107 (url-insert-file-contents): If `visit' is non-nil then make sure
2108 we set buffer-file-name. After these changes you can visit
2109 http://www.gnu.org/ directly from the minibuffer.
2110 (url-insert-file-contents): When inserting the file contents,
2111 use a save-excursion so that we behave just like the original.
2112
2113 2001-11-25 William M. Perry <wmperry@gnu.org>
2114
2115 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
2116
2117 2001-11-24 William M. Perry <wmperry@gnu.org>
2118
2119 * lisp/url-about.el (url-about): New loader scheme to handle
2120 about:foo URLs. Automatically tries to find a `url-about-foo'
2121 function to display the actual data.
2122 (url-about-protocols): Implement about:protocols.
2123
2124 * lisp/url-http.el (url-http): Make sure that we signal an error
2125 when we cannot open a network connection for whatever reason.
2126 Before, it would just silently clean up after itself and the user
2127 got absolutely no indication that an error had occurred. If the
2128 error should truly be ignored, the caller should do that for us.
2129 (url-http-chunked-encoding-after-change-function): Doh! Need to
2130 user marker-position in some log messages now that
2131 url-http-chunked-start is a marker.
2132
2133 2001-11-22 William M. Perry <wmperry@gnu.org>
2134
2135 * lisp/url-https.el: Fixed definition of url-https - was using the
2136 wrong signature. Too much cut & paste.
2137 (url-https-create-secure-wrapper): Fix so that url-https works
2138 at all. Was not taking a null `method' into account when calling
2139 the wrapped function so url-https tried to call url-http-nil. *sigh*
2140
2141 * lisp/url-http.el
2142 (url-http-chunked-encoding-after-change-function): Add some
2143 feedback when not debugging about what content-type and chunk # we
2144 are reading.
2145 (url-http-chunked-encoding-after-change-function): Use a marker
2146 for url-http-chunked-start so that we can safely delete the
2147 chunk-tokens instead of just marking them as invisible.
2148 (url-http-chunked-encoding-after-change-function): Actually delete
2149 the chunk-tokens. Now that we are not run from 'real'
2150 after-change functions, this is safe, and the right thing to do.
2151 Otherwise the HTML parser still saw them and inferred all sorts of
2152 bad things about the document (ie: nothing had a title!)
2153
2154 2001-11-21 William M. Perry <wmperry@gnu.org>
2155
2156 * lisp/url-http.el (url-http-debug): Document this variable.
2157 People other than I might want to use it.
2158 (url-http-debug): Put some code in here to check quit-flag
2159 directly. When the chunked encoding went into a tight spin, your
2160 Emacs would be wedged forever. This short-circuits all the
2161 after-change functions and signals an error.
2162 (url-http-debug): If url-http-debug is non-nil and non-t, then log
2163 the debug messages using `message' as well as sending them to the
2164 buffer.
2165 (url-http-chunked-encoding-after-change-function): Got rid of the
2166 no-initial-crlf. Had an epiphany and I can just infer this from
2167 url-http-chunked-counter being 0.
2168 (url-http-chunked-encoding-after-change-function): Move the debug
2169 statement about reading chunk #foo into the loop so that each
2170 chunk will have a log message associated with it.
2171 (url-http-chunked-encoding-after-change-function): Make sure to
2172 set read-next-chunk to nil when the regular expression match fails
2173 to fire. Otherwise we could loop forever.
2174 (url-http-chunked-encoding-after-change-function): Tweak the
2175 regular expression to be a little less greedy when looking for a chunk.
2176 (url-http-wait-for-headers-change-function): Remove the last
2177 argument when calling
2178 url-http-chunked-encoding-after-change-function. It is no longer
2179 needed. I should use my brain sometime.
2180
2181 * lisp/url-vars.el (and): Fix feature test for xemacs and
2182 coding-system-list behavior.
2183
2184 * lisp/url-http.el
2185 (url-http-chunked-encoding-after-change-function): Add optional
2186 no-initial-crlf flag that modifies the regular expression.
2187 This is only set from url-http-wait-for-headers-change-function so that
2188 the initial CRLF in the HTTP headers is not swallowed.
2189 (url-http-chunked-encoding-after-change-function): Fix a few
2190 off-by-one errors by using (match-end 0) instead of 1.
2191 (url-http-chunked-encoding-after-change-function): Add a few
2192 url-http-debug calls to help track down problems in the chunked
2193 encoding.
2194 (url-http-chunked-encoding-after-change-function): The chunk
2195 reading in here is now in a while loop so that if Emacs feeds us a
2196 chunk of data that happens to contain more than one 'chunk'
2197 delimiter, we behave correctly.
2198 (url-http-wait-for-headers-change-function): Make sure that we
2199 pass no-initial-crlf to
2200 url-http-chunked-encoding-after-change-function when passing
2201 initial data to the decoder.
2202 (url-http-generic-filter): url-http-debug statement so we can tell
2203 when/where our after-change-functions are being called.
2204
2205 2001-10-11 Dave Love <fx@gnu.org>
2206
2207 * lisp/url-handlers.el: Doc fixes.
2208 (string-match): Use (featurep 'xemacs).
2209
2210 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
2211
2212 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
2213
2214 * lisp/url-vars.el (url-running-xemacs): Delete.
2215 (url-gateway-unplugged): New variable.
2216
2217 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
2218 Comment out OS/2 stuff.
2219
2220 2001-10-05 Dave Love <fx@gnu.org>
2221
2222 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
2223 without confirmation.
2224
2225 2001-10-02 Dave Love <fx@gnu.org>
2226
2227 * lisp/url-http.el (url-http-create-request): Check cache for
2228 proxy-obj, if defined, rather than url.
2229 (url-http): Use dolist, not mapc (runtime cl dependency).
2230
2231 * lisp/url-methods.el: Maybe require cl at runtime.
2232 (url-scheme-register-proxy): Fix fetching from environment.
2233 Don't concat a number.
2234
2235 2001-10-01 Dave Love <fx@gnu.org>
2236
2237 * lisp/url-parse.el: Use modern backquote syntax.
2238
2239 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
2240 (url-mail-command): Prefer compose-mail.
2241 (tcp-binary-process-input-services): Comment out.
2242 (url-working-buffer): New constant.
2243
2244 * lisp/url-util.el (url-extract-mime-headers): New function.
2245
2246 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
2247 User-Agent.
2248
2249 2001-09-20 Dave Love <fx@gnu.org>
2250
2251 * lisp/url-http.el (url-http-create-request): Don't concat a number.
2252
2253 2001-06-05 Dave Love <fx@gnu.org>
2254
2255 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
2256 tcp-binary-process-input-services. Remove function wrapper for lambda.
2257 (url-retrieve): Barf with sensible message if url-type is null.
2258
2259 * lisp/url-http.el (url-http): Don't try to set process
2260 coding-system here -- done in url-gw.
2261
2262 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2263 (url-open-stream): Bind coding-system-for{read,write} when setting
2264 up the connection. Don't call url-gw-inhibit-code-conversion.
2265
2266 2001-05-24 William M. Perry <wmperry@gnu.org>
2267
2268 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2269 in url-retrieve-synchronously.
2270
2271 2001-05-23 William M. Perry <wmperry@gnu.org>
2272
2273 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2274 accept-process-output. This is evidently causing hangs in Emacs
2275 21 when viewing complex pages with images or stylesheets.
2276 www.yahoo.com is now viewable.
2277
2278 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2279 (mule-inhibit-code-conversion) and just have a local function that
2280 does this minimal cruft.
2281 (url-gw-inhibit-code-conversion): New function to turn off code
2282 conversion in a process.
2283
2284 2001-05-22 William M. Perry <wmperry@gnu.org>
2285
2286 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2287 that we can allow multiple asynch retrievals to happen at once.
2288 (url-retrieve-synchronously): Use a much smaller timeout when
2289 doing the accept-process-output. This gets rid of the long delays
2290 if you are on a fast net connection and retrieve small documents
2291 that finish asynchronously before the first accept-process-output
2292 can be run. All hail broadband and 100Mb in the house!
2293 (url-retrieve-synchronously): Add documentation for this function.
2294 (url-retrieve): Ditto.
2295 (url-mm-url): Ditto.
2296
2297 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2298 documentation strings. Ok, so I'm anal.
2299
2300 * lisp/url-methods.el (url-scheme-methods): Add default methods
2301 for file-directory-p and file-truename.
2302
2303 2001-05-22 Dave Love <fx@gnu.org>
2304
2305 * lisp/url-auth.el (url-warn): Autoload.
2306
2307 * lisp/url-proxy.el (url-warn): Autoload.
2308
2309 * lisp/url-nfs.el: Fix `file-truname' typo.
2310
2311 * lisp/url-news.el: Require cl when compiling.
2312 (url-warn, gnus-group-read-ephemeral-group): Autoload.
2313 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
2314 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2315
2316 * lisp/url-util.el (mule-decode-string): Don't autoload.
2317 (url-hexify-string): Just barf on multibyte characters.
2318 (url-generate-unique-filename): New function.
2319
2320 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2321 not mm-generate-unique-filename.
2322
2323 * lisp/url-http.el: Declare things special in various places.
2324 (url-http-activate-callback): Don't set
2325 url-http-real-after-change-function.
2326
2327 2001-05-22 William M. Perry <wmperry@gnu.org>
2328
2329 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2330 control whether we try to do keep-alives for our connections.
2331 (url-http-version): New variable to control whether we advertise
2332 ourselves as an HTTP/1.1 client or not. This can be useful for
2333 avoiding chunked encoding, and other 1.1 features we may not have
2334 fully implemented yet.
2335 (url-http-create-request): Honor the new variables.
2336
2337 2001-05-21 Dave Love <fx@gnu.org>
2338
2339 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2340 in XEmacs.
2341 (url-mime-charset-string): Don't reverse the list before sorting.
2342
2343 2001-05-17 William M. Perry <wmperry@gnu.org>
2344
2345 * lisp/url-http.el (url-http-generic-filter): Avoid using
2346 after-change-functions natively. There are just too many ways
2347 that this screws up in Emacs 21. Use a filter function on the
2348 process instead, and call the hook on
2349 url-http-after-change-function manually. [Actually, it will work
2350 in Emacs 21, but one problem that has been fixed in Emacs 21
2351 exists in Emacs 20. -- fx]
2352
2353 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2354 does not exist on older versions of Emacs, or any version of
2355 XEmacs. Do not call it unless it is bound.
2356
2357 2001-05-17 Dave Love <fx@gnu.org>
2358
2359 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2360
2361 2001-05-16 Dave Love <fx@gnu.org>
2362
2363 * lisp/url-vars.el: Doc fixes. Require mm-util.
2364 (url-mime-charset-string): New variable.
2365
2366 * lisp/url-http.el: Doc fixes.
2367 (url-http-create-request): Rearrange how we assemble the request.
2368 Avoid generating bogus requests with an empty real-fname.
2369 (url-http-handle-authentication): Declare status and success special.
2370 (url-http): Call mm-disable-multibyte. Set process buffer's
2371 coding systems to binary.
2372
2373 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2374
2375 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
2376 (url-file-find-possibly-compressed-file): Doc fix.
2377 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
2378
2379 * lisp/url-cache.el: Don't require mule-sysdp.
2380 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2381
2382 * lisp/url.el: Don't require mule-sysdp.
2383 (url-retrieve): Only set text properties if url is a string.
2384
2385 2001-05-14 Dave Love <fx@gnu.org>
2386
2387 * lisp/url-http.el (url-http-create-request):
2388 Declare proxy-object, proxy-info special.
2389 (url-http-handle-authentication): Declare success special.
2390
2391 2001-05-12 Dave Love <fx@gnu.org>
2392
2393 * lisp/url-http.el: Revert last change.
2394
2395 2001-05-10 Dave Love <fx@gnu.org>
2396
2397 * lisp/url-http.el (url-http-generic-after-change-function):
2398 Make it permanent-local.
2399
2400 2001-05-05 Dave Love <fx@gnu.org>
2401
2402 * lisp/url-http.el: Autoload some functions.
2403 (cl): Require when compiling.
2404 (url-http-extra-headers): Defvar when compiling.
2405 (url-http): Treat after-change-functions as a local hook.
2406
2407 * lisp/url-history.el (url-parse): Require.
2408 (url-do-setup): Autoload.
2409
2410 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2411
2412 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2413 Use (featurep 'xemacs).
2414 (url-file-build-filename): Bind pos-index.
2415 (url-file): Call url-find-file-dired, not url-dired-find-file.
2416
2417 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
2418 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2419 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
2420 (url-find-file-dired): Rename from one version of url-dired-find-file.
2421
2422 * lisp/url-cid.el: Don't require widget. Require mm-decode
2423 unconditionally.
2424
2425 * lisp/url-util.el: Autoload mule-decode-string,
2426 timezone-parse-date, timezone-make-date-arpa-standard.
2427 (url-unreserved-chars): Fix list per RFC 2396.
2428 (url-hexify-string): Maybe string-make-unibyte.
2429
2430 * lisp/url-news.el: Require nntp.
2431
2432 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2433 unconditionally.
2434
2435 2001-05-04 Dave Love <fx@gnu.org>
2436
2437 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2438 not non-existent mailcap-generate-unique-filename.
2439
2440 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
2441
2442 * lisp/url-parse.el: Require url-vars.
2443 Autoload url-scheme-get-property.
2444
2445 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2446 with featurep.
2447
2448 * lisp/url-mailto.el: Require cl when compiling.
2449
2450 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2451 Call url-parse-args, not url-util-parse-args.
2452
2453 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2454
2455 2001-04-09 Dave Love <fx@gnu.org>
2456
2457 * lisp/mule-sysdp.el (mule-detect-coding-version)
2458 (mule-code-convert-region, mule-inhibit-code-conversion)
2459 (mule-write-region-no-coding-system, mule-encode-string)
2460 (mule-decode-string, mule-truncate-string)
2461 (mule-find-charset-region, mule-coding-system-name)
2462 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2463 [There must be a better way.]
2464 (mule-coding-system-p, string-width): Use defalias.
2465
2466 2001-01-03 Sam Steingold <sds@gnu.org>
2467
2468 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2469 set `url-http-end-of-headers' to 0 for HTTP 0.9.
2470
2471 2001-01-02 Sam Steingold <sds@gnu.org>
2472
2473 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
2474
2475 2000-12-22 Dave Love <fx@gnu.org>
2476
2477 * lisp/url-history.el (url): Don't require (to avoid recursion).
2478 (cl): Require when compiling.
2479
2480 * lisp/url-http.el (url-auth): Require.
2481 (url-http-handle-authentication): Fix typo.
2482
2483 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2484
2485 2000-12-20 Dave Love <fx@gnu.org>
2486
2487 * lisp/url.el: Require mm-decode, mm-view when compiling.
2488 <not (fboundp 'puthash)>: Define puthash and
2489 autoload other has functions rather than using cl-...hash.
2490 (url-warn): Define.
2491
2492 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2493 Avoid cl-...hash functions.
2494
2495 * lisp/url-history.el: Avoid cl-...hash functions.
2496 (url): Require.
2497
2498 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
2499
2500 2000-10-03 William M. Perry <wmperry@aventail.com>
2501
2502 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
2503 getting set to nil due to bad string matching. Subsequent matches
2504 would then choke because we passed string-match a nil.
2505
2506 * lisp/url-http.el (url-http-parse-headers): Need to make the
2507 connection as 'free' when we get a 304 response (found in cache),
2508 or when a keep-alive connection timed out, it would re-parse the
2509 headers and dispatch to the callback again. Eek.
2510
2511 2000-10-02 William M. Perry <wmperry@aventail.com>
2512
2513 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
2514 implement chunked transfer-coding.
2515 (url-http-create-request): We can now advertise ourselves as a 1.1
2516 compliant browser!
2517
2518 2000-07-28 Sam Steingold <sds@gnu.org>
2519
2520 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2521 `cbargs' are optional args (for calling from w3).
2522 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
2523 with `string-match' and `protocol' with `scheme'.
2524
2525 2000-07-18 Sam Steingold <sds@gnu.org>
2526
2527 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2528 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
2529
2530 2000-07-10 William M. Perry <wmperry@aventail.com>
2531
2532 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2533 mule, and the character requested is > 255, then return "~"
2534 instead of letting whoever call us signal an error when they try
2535 to insert the character.
2536 (mule-make-iso-character): Also wrap the whole thing in a
2537 condition case and return "~" on error, in case make-char bombs on us.
2538
2539 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
2540 for cid parts.
2541
2542 * lisp/url-util.el (url-display-percentage): New routine that uses
2543 the progress bar under XEmacs if available. Looks very sexy under
2544 XEmacs/GTK hacked to use the GNOME statusbar.
2545
2546 * lisp/url-http.el
2547 (url-http-content-length-after-change-function): Use new function
2548 url-display-percentage instead of url-lazy-message.
2549
2550 2000-01-27 William M. Perry <wmperry@aventail.com>
2551
2552 * lisp/url-file.el (url-file-build-filename): Work around for
2553 differences in ange-ftp / efs handling of port numbers other than 21.
2554
2555 1999-12-24 William M. Perry <wmperry@aventail.com>
2556
2557 * lisp/url-irc.el: Added pointer to draft specification for the
2558 IRC URL so people don't think I'm crazy.
2559
2560 * configure.in: Checks to make sure that Gnus was found, since we
2561 HAVE to have it now. Removed conditional compilation of url-cid.el.
2562
2563 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
2564
2565 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2566 () to have periods at the end of the chunk.
2567
2568 1999-12-14 William M. Perry <wmperry@aventail.com>
2569
2570 * lisp/url-misc.el (url-man): Implement `man' URL types.
2571 (url-info): Autoload.
2572 (url-man): Ditto.
2573 (url-rlogin): Ditto.
2574 (url-telnet): Ditto.
2575 (url-tn3270): Ditto.
2576 (url-generic-emulator-loader): Ditto.
2577
2578 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2579 to wrap arbitrary `http' methods with the appropriate magic to
2580 turn SSL on.
2581 (file-exists-p): Use it.
2582 (file-readable-p): Use it.
2583 (file-attributes): Use it.
2584
2585 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2586 server spec for Gnus, make sure we set
2587 nntp-open-connection-function directly, so that other news-related
2588 functions above us can set it.
2589 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2590 (url-nntp): Autoload.
2591 (url-snews): Ditto.
2592 (url-news): Ditto.
2593
2594 1999-12-12 William M. Perry <wmperry@aventail.com>
2595
2596 * lisp/url-http.el (url-http-parse-response): New function to
2597 parse just the HTTP response code out of the buffer, without
2598 taking any other actions.
2599 (url-http-wait-for-headers-change-function): Use it here when we
2600 know we have an HTTP/1.x response.
2601 (url-http-wait-for-headers-change-function): Special case a
2602 response code of '304' or there could be some delays waiting for
2603 keep-alives to time out on cached documents with no known
2604 content-length on the server.
2605
2606 1999-12-11 William M. Perry <wmperry@aventail.com>
2607
2608 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2609 the Makefile does that for us. We just need to provide what files
2610 to load/functions to run.
2611
2612 * lisp/url-imap.el (url-imap-open-host): Need to bind
2613 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
2614 the current buffer as the IMAP server buffer, which fails miserably.
2615
2616 1999-12-11 Simon Josefsson <jas@pdc.kth.se>
2617
2618 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2619
2620 1999-12-11 William M. Perry <wmperry@aventail.com>
2621
2622 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2623 ange-ftp vs. efs calling semantics consistent, so that if someone
2624 has NEITHER of them loaded, everything should still work.
2625
2626 * lisp/url-handlers.el (url-copy-file): Autoload.
2627 (url-file-local-copy): Ditto.
2628 (url-insert-file-contents): Ditto.
2629 (url-setup-file-name-handlers): Ditto.
2630
2631 1999-12-10 William M. Perry <wmperry@aventail.com>
2632
2633 * lisp/url-http.el (mail-parse): Since we use functions from here,
2634 we should require it, eh?
2635
2636 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
2637
2638 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2639 if nil.
2640 (url-cookie-generate-header-lines): Use it.
2641
2642 1999-12-06 William M. Perry <wmperry@aventail.com>
2643
2644 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2645 4.1 gracefully.
2646
2647 * lisp/url-news.el: Reimplemented news and nntp URL support.
2648 No longer bothers to check for outdated Gnus versions, since this
2649 will not work without them anyway.
2650
2651 1999-12-05 Dave Love <fx@gnu.org>
2652
2653 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2654 lisp/url.el:
2655 Require url-parse.
2656
2657 1999-12-05 William M. Perry <wmperry@aventail.com>
2658
2659 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2660 message when we have to contact a host so the user always gets
2661 at least some feedback.
2662
2663 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
2664 renamed function.
2665 (url-default-expander): Use it.
2666
2667 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2668 as well as efs.
2669 (url-file): Add default content-type of application/octet-stream if
2670 none known.
2671 (url-file): Correct bad call to url-host-is-local-p.
2672
2673 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2674 like buffer-substring with nil arguments.
2675 (url-copy-file): Use mm-destroy-parts instead of just killing
2676 the buffer. Use defined interfaces when available!
2677 (url-insert-file-contents): Ditto.
2678
2679 * lisp/url-http.el (url-http-create-request): Lots of changes to
2680 get proxying working.
2681
2682 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2683 find and register a proxy for a specific scheme.
2684 (url-scheme-get-property): Use it when we load a URL scheme for
2685 the first time.
2686
2687 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
2688
2689 1999-12-04 William M. Perry <wmperry@aventail.com>
2690
2691 * lisp/url-file.el (url-file): Signal an error if
2692 url-file-build-filename could not find the filename.
2693
2694 1999-12-01 William M. Perry <wmperry@aventail.com>
2695
2696 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2697 of manipulating the hash table directly.
2698
2699 * lisp/url-history.el (url-completion-function): New function to
2700 use for reading a URL with completion.
2701 (url-history-update-url): New function to hide the hashtable
2702 implementation from people inserting things into the history.
2703
2704 1999-11-30 William M. Perry <wmperry@aventail.com>
2705
2706 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2707 working.
2708
2709 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
2710 url-parse-args, which had changed the type of arguments it expects.
2711
2712 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2713 (url-copy-file): Ditto.
2714
2715 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2716 just killing the buffer. Use defined interfaces when available!
2717
2718 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2719 AC_FD_CC so they show up in config.log
2720 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2721 this always return 't' instead of 'yes' on successfully finding
2722 the library.
2723
2724 * lisp/url-http.el (url-http-parse-headers): Add some
2725 DAV-specific error codes.
2726
2727 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
2728 (url-retrieve-synchronously): Duh, make this function actually
2729 work again. Numerous problems with it, including variable name
2730 collisions - I love dynamically scoped lisps!
2731
2732 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
2733 wrappers onto the appropriate file-based URLs for file-name-handlers.
2734
2735 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
2736 might get messy with file-name-handlers and things.
2737
2738 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2739 using 'HEAD' requests. Thou shalt not change the length of the
2740 region during an after-change-function.
2741
2742 * lisp/url-methods.el (url-scheme-methods): New variable that
2743 holds a list of the methods/variables we look for in a URL scheme.
2744 (url-scheme-get-property): Use it.
2745
2746 1999-11-29 William M. Perry <wmperry@aventail.com>
2747
2748 * lisp/url-http.el (url-http-file-attributes): Reimplement.
2749 (url-http-file-exists-p): Ditto.
2750
2751 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2752
2753 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2754 file-name-handler stubs for all the FTP/FILE stuff.
2755
2756 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2757 cruft. Generic interface on top of functions that each URL
2758 loader provides, if capable.
2759
2760 1999-11-27 William M. Perry <wmperry@aventail.com>
2761
2762 * lisp/url-https.el: Implemented HTTPS support.
2763
2764 1999-11-26 William M. Perry <wmperry@aventail.com>
2765
2766 * url-privacy.el (url-setup-privacy-info): Don't rely on
2767 device-type being defined. Not going to bother redistributing
2768 devices.el for just one function.
2769
2770 * url-methods.el (url-scheme-get-property): Emacs does not have
2771 the 3rd-argument to plist-get to specify the default. *sigh*
2772
2773 * url-dired.el (add-minor-mode): Add definition for Emacs.
2774
2775 * url-http.el (url-http-generic-after-change-function):
2776 New function, since Emacs does not allow you to change the
2777 after-change-functions variable from within a function run by
2778 said hook. This just hands it off to the REAL function.
2779 Side-effect is that this now works on Emacs at all. :)
2780
2781 * Initial checkin of rewritten URL library.
2782
2783 ;; Local variables:
2784 ;; coding: utf-8
2785 ;; End:
2786
2787 Copyright (C) 1999, 2001-2002, 2004-2012 Free Software Foundation, Inc.
2788
2789 This file is part of GNU Emacs.
2790
2791 GNU Emacs is free software: you can redistribute it and/or modify
2792 it under the terms of the GNU General Public License as published by
2793 the Free Software Foundation, either version 3 of the License, or
2794 (at your option) any later version.
2795
2796 GNU Emacs is distributed in the hope that it will be useful,
2797 but WITHOUT ANY WARRANTY; without even the implied warranty of
2798 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2799 GNU General Public License for more details.
2800
2801 You should have received a copy of the GNU General Public License
2802 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.