Merge changes made in No Gnus
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
b6ea20f3
LI
12012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2
1968bb1b 3 * url-cache.el (url-cache-prune-cache): New function.
7dd679eb
LI
4 (url-cache-prune-cache): Check that the directory exists before
5 trying to delete it.
1968bb1b
LI
6
7 * url.el (url-retrieve-number-of-calls): New variable.
8 (url-retrieve-internal): Use it to expire the cache once in a
9 while.
10
b6ea20f3
LI
11 * url-queue.el (url-queue-setup-runners): New function that uses
12 `run-with-idle-timer' for extra asynchronicity.
13 (url-queue-remove-jobs-from-host): New function.
14 (url-queue-callback-function): Remove jobs from the same host if
15 connection failed.
16
d8d469ef
GM
172012-01-12 Glenn Morris <rgm@gnu.org>
18
e7a8cb8f
GM
19 * url-auth.el (url-basic-auth, url-digest-auth):
20 Allow reading usernames etc when the minibuffer is already in use,
21 eg in url-handler-mode. (Bug#10298)
d8d469ef 22
c7015153
JB
232011-11-15 Juanma Barranquero <lekktu@gmail.com>
24
25 * url-dav.el (url-dav-delete-file): Fix typo.
26
122d9463
LMI
272011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
28
29 * url-http.el (url-http-async-sentinel): If the server hangs up
30 while we're talking to it, just `message' the error instead of
31 throwing an error.
32
14e1d9ea
LMI
332011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
34
35 * url-cookie.el (url-cookie-expired-p): Protect against
36 zero-length cookie expiry dates.
37
ac6c8639
CY
382011-10-19 Chong Yidong <cyd@gnu.org>
39
40 * url-handlers.el (url-handler-mode): Doc fix.
41
b02ba905
CW
422011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
43
44 * url-http.el (url-http-create-request): Avoid adding extra CRLF
45 (Bug#8931).
46
ad87170f
LMI
472011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
48
49 * url-http.el (url-http-find-free-connection): If there was an
50 error on connect, make sure the user isn't bothered with
51 irrelevant questions.
52
98fdd2b8
CY
532011-08-07 Chong Yidong <cyd@stupidchicken.com>
54
55 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
56 don't convert to a GET request (Bug#701).
57
b0c9af93
CN
582011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
59
60 * url-http.el (url-http): Copy over `url-show-status' to the async
61 buffer so that `url-display-percentage' does the right thing
62 (bug#4680).
63
53d21671
JD
642011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
65
66 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
67 nil (bug#8827).
68
3487ca85
NA
692011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
70
71 * url-http.el (url-http-create-request): Remove double carriage
72 return and newline (bug#8931).
73
9aec558a
LMI
742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
75
76 * url-http.el (url-http-wait-for-headers-change-function): Remove
77 pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
78
5993c059
AS
792011-06-04 Andreas Schwab <schwab@linux-m68k.org>
80
81 * url-future.el (url-future-test): Fix scope of `saver'.
82
3b7d5980
GM
832011-06-01 Glenn Morris <rgm@gnu.org>
84
85 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
86 Add :version tag for options that will be new in 24.1.
87
5a94384b
LMI
882011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
89
90 * url-queue.el (url-queue-parallel-processes): Increase the
91 default to 6, since 2 seems too conservative for normal usage.
92
e300a61b
TZ
932011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
94
95 * url-future.el: Add general futures facility.
96
b1c83d95
LL
972011-05-29 Leo Liu <sdl.web@gmail.com>
98
99 * url-cookie.el (url-cookie): Add option :named so that
100 url-cookie-p is defined. (Bug#8747)
101
5c77c3ed
LMI
1022011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
103
104 * url-queue.el: New file.
6df6ae42 105 (url-queue-run-queue): Pick the first waiting job, and not the last.
471129b1
LMI
106 (url-queue-parallel-processes): Lower the concurrency level, since
107 Emacs doesn't seem to like too many async processes.
108 (url-queue-prune-old-entries): Fix up the pruning code.
5c77c3ed 109
10472dd0
LMI
1102011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
111
6df6ae42
JB
112 * url-http.el (url-http-wait-for-headers-change-function):
113 Protect against malformed headerless responses from servers.
10472dd0 114
43c594f2
CY
1152011-04-02 Chong Yidong <cyd@stupidchicken.com>
116
117 * url-gw.el (url-open-stream): Use new open-network-stream
118 functionality to perform encryption.
119
9952e40b
JB
1202011-04-01 Juanma Barranquero <lekktu@gmail.com>
121
122 * url-cookie.el (url-cookie-handle-set-cookie):
123 Use `dolist' rather than `mapcar'.
124
33383987
JB
1252011-03-07 Chong Yidong <cyd@stupidchicken.com>
126
127 * Version 23.3 released.
128
563790b6
TZ
1292011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
130
131 * url-parse.el (url-bit-for-url, url-user-for-url)
132 (url-password-for-url): Use `auto-source-search' instead of
133 `auto-source-user-or-password'.
134
135 * url-auth.el: Autoload `auto-source-search' instead of
136 `auto-source-user-or-password'.
137 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
138
b301d174
LI
1392011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
140
6df6ae42
JB
141 * url-http.el (url-http-wait-for-headers-change-function):
142 Don't move point if the callback function has moved/changed/killed
143 the process buffer.
b301d174 144
10c1b751 1452010-12-16 Miles Bader <miles@gnu.org>
3cbc281e
MB
146
147 * url-cookie.el: Require 'cl when compiling -- it's necessary for
148 defstruct.
149
105a786f
GM
1502010-12-14 Glenn Morris <rgm@gnu.org>
151
152 * url-cookie.el: Don't require cl when compiling.
153 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
154 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
155 (url-cookie-handle-set-cookie): Simplify.
156
f49d1f52 1572010-12-13 Chong Yidong <cyd@stupidchicken.com>
37bf6ce2
CY
158
159 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
160 Suggested by Lennart Borgman (Bug#7543).
161
023ec128
LMI
1622010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
163
164 * url-file.el (url-file-build-filename): Avoid interpreting
165 file:/foo:/bar URLs via tramp.
166
7a9fc593
LMI
1672010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
168
169 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
170
b0e0b216
LMI
1712010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
172
173 * url-http.el (url-http-end-of-document-sentinel): Protect against
174 the process buffer being killed.
175
697ebdb0
LMI
1762010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
177
f49d1f52
SM
178 * url-http.el (url-http-wait-for-headers-change-function):
179 Protect against url-http-response-status for degenerate documents.
d23832a2
LMI
180 (url-http-wait-for-headers-change-function): Revert previous
181 change. It lead to really slow loads.
697ebdb0 182
5589b70e
GM
1832010-10-03 Glenn Morris <rgm@gnu.org>
184
185 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
186 (url-get-url-at-point): Don't use eval-when-compile.
187
188 * url-cache.el (url-cache-create-filename-human-readable)
189 (url-cache-create-filename-using-md5):
190 * url-util.el (url-file-directory, url-file-nondirectory):
191 Don't use eval-when-compile and regexp-quote.
192
b39e2446
LMI
1932010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
194
f49d1f52 195 * url-vars.el (url-mime-charset-string): Change the default to
b39e2446
LMI
196 nil to avoid sending 1171 bytes of not very useful data to the
197 HTTP server every request.
198
08b8ba9f
LMI
1992010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
200
201 * url-util.el (url-display-percentage): Don't message when the URL
202 is silent.
203 (url-lazy-message): Ditto.
573a83b8 204 (url-lazy-message): Remove leftover debugging code.
08b8ba9f
LMI
205
206 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
207 back to the fetching function.
208
209 * url.el (url-retrieve): Add a silent parameter.
210 (url-retrieve-internal): Ditto.
211
212 * url-parse.el (url): Add a `silent' slot in the URL struct.
213
6ca26f1d
LMI
2142010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
215
6df6ae42
JB
216 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
217 for the cookie warning, which isn't very interesting.
82b9f9f5 218
6ca26f1d
LMI
219 * url-http.el (url-http-async-sentinel): Check that the buffer is
220 still alive before switching to it.
221
cbdd0d58
JD
2222010-09-25 Julien Danjou <julien@danjou.info>
223
224 * url-cache.el (url-cache-create-filename): Ensure no-port and
225 default-port end up with the same cache file.
226 (url-cache-create-filename-human-readable)
227 (url-cache-create-filename-using-md5): Argument is always in the form of
228 a string now.
229
266a86bd 2302010-09-23 Glenn Morris <rgm@gnu.org>
7ee54def
GM
231
232 * url-cache.el (url-is-cached): Doc fix.
233
48ff1664
GM
2342010-09-23 Glenn Morris <rgm@gnu.org>
235
236 * url-cache.el (url-cache-expired): Don't autoload.
237 Tweak previous change.
97161df8 238 (url-cache-expire-time): Doc fix.
48ff1664 239
18d68e52
JD
2402010-09-23 Julien Danjou <julien@danjou.info>
241
242 * url-cache.el (url-cache-expire-time): New option.
243 (url-cache-expired): Rewrite.
244
50e4f0bf
JD
2452010-09-19 Julien Danjou <julien@danjou.info>
246
247 * url-cache.el (url-fetch-from-cache): New function.
248
b0fd24c8
JD
2492010-09-18 Julien Danjou <julien@danjou.info>
250
77413977 251 * url-vars.el (url-cache-expired): Remove unused variable.
b0fd24c8 252
6664fc59 2532010-09-14 Julien Danjou <julien@danjou.info>
6f6dc4da 254
2f5e7c6f
GM
255 * url-cache.el (url-store-in-cache):
256 Make `buff' argument really optional.
6f6dc4da 257
6664fc59 2582010-09-14 Glenn Morris <rgm@gnu.org>
c4ae64d1
GM
259
260 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
261
6664fc59 2622010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
966bb6c0 263
264 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
265
a5cda60e
GM
2662010-09-11 Glenn Morris <rgm@gnu.org>
267
268 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
269 * url-vars.el: Remove leading `*' from defcustom docs.
270
0ed082fe 2712010-07-27 Michael Albinus <michael.albinus@gmx.de>
c48763bb 272
2f5e7c6f 273 * url-http.el (url-http-parse-headers): Disable file name handlers at
c48763bb
MA
274 all (not only Tramp). (Bug#6717)
275
0ed082fe 2762010-07-27 Michael Albinus <michael.albinus@gmx.de>
4ac3a65c 277
2f5e7c6f 278 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
4ac3a65c 279
e4f6153f
MH
2802010-07-01 Mark A. Hershberger <mah@everybody.org>
281
282 * url-http.el (url-http-create-request): Add a CRLF on the end so
6df6ae42 283 that POSTs with content to https URLs work.
f49d1f52 284 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
e4f6153f 285
04c23739
MH
2862010-06-22 Mark A. Hershberger <mah@everybody.org>
287
288 * url-parse.el (url-user-for-url, url-password-for-url):
6df6ae42 289 Convenience functions that get usernames and passwords for URLs
04c23739
MH
290 from auth-source functions.
291
7fb277a9
Å N
2922010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
293
294 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
295
c3bb441d
SM
2962010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
299
61a808e8
CY
3002010-05-07 Chong Yidong <cyd@stupidchicken.com>
301
302 * Version 23.2 released.
303
56eb0904
SM
3042010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
307
89734fb6
TZ
3082010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
309
310 * url-http.el (url-http-parse-headers): Fix wrong variable name.
311
1e9d758c
TZ
3122010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
313
314 * url-http.el (url-http-codes): New variable to hold a mapping of
315 HTTP status codes' numbers, their symbolic name, and their text.
316 (url-http-parse-headers): Use it, leaving the original numeric
317 code in a comment.
318
aa8f8277
GM
3192010-03-19 Glenn Morris <rgm@gnu.org>
320
321 * url.el: Move mailcap require earlier in the file.
322
eba5b4dd
CY
3232010-03-12 Chong Yidong <cyd@stupidchicken.com>
324
26f4b8ab 325 * url-vars.el (url): Put in comm group.
eba5b4dd 326
288f9fc0
CY
3272010-03-10 Chong Yidong <cyd@stupidchicken.com>
328
329 * Branch for 23.2.
330
e17d428f
CY
3312010-01-23 Chong Yidong <cyd@stupidchicken.com>
332
333 * url-util.el: Require url-vars (Bug#5459).
334
c074ba4a
SM
3352009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
338
c98f55ca
CY
3392009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
340
341 * url-http.el (url-http-handle-authentication): Use proxy server,
342 if any, for authentication (Bug#4883).
343
937e6a56
SM
3442009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * url-util.el (url-insert-entities-in-string):
347 * url-nfs.el (url-nfs-unescape):
348 * url-ldap.el (url-ldap):
349 * url-imap.el (url-imap):
350 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
351
f9c9a239
GM
3522009-10-01 Glenn Morris <rgm@gnu.org>
353
354 * url-http.el (url-dav-file-attributes): Fix declaration.
355
120812a0
CY
3562009-09-13 Chong Yidong <cyd@stupidchicken.com>
357
358 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
359 with 2005-06-25 change to copy-file (Bug#4410).
360
4f0f48df
GM
3612009-09-13 Glenn Morris <rgm@gnu.org>
362
363 * url-file.el (url-file): Avoid assignment to free variable `filename'.
364
63255710
CY
3652009-09-12 Chong Yidong <cyd@stupidchicken.com>
366
367 * url-methods.el (url-scheme--registering-proxy): New variable.
0235128c
SM
368 (url-scheme-register-proxy, url-scheme-get-property):
369 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
63255710 370
3f12e3f4
GM
3712009-08-22 Glenn Morris <rgm@gnu.org>
372
373 * url-file.el (url-file-build-filename):
374 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
375 system-types Apple-Macintosh, emx, ms-windows, next-mach.
376
70243478
CY
3772009-06-21 Chong Yidong <cyd@stupidchicken.com>
378
379 * Branch for 23.1.
380
d696b0d5
SM
3812009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * url-handlers.el (url-file-handler): Save match data.
384
db922cc0
JR
3852009-02-21 Jason Rumney <jasonr@gnu.org>
386
387 * url-expand.el (url-default-expander): Use concat to combine
5ce6e4f4 388 parts. (Bug #1020)
db922cc0 389
f0cfa8f0
GM
3902009-02-10 Glenn Morris <rgm@gnu.org>
391
392 * url-util.el (url-generate-unique-filename): Silence compiler.
393
64594ef9
CY
3942009-02-07 Chong Yidong <cyd@stupidchicken.com>
395
396 * url-file.el (url-file): Use make-temp-file.
397
398 * url-util.el (url-generate-unique-filename): Mark as obsolete.
399
400 * url-vars.el (url-temporary-directory): Mark as obsolete.
401
200c0424
CY
4022009-01-15 Chong Yidong <cyd@stupidchicken.com>
403
68fe704b 404 * url-cookie.el (url-cookie-retrieve): Fix last change.
200c0424 405
26343c7f
CY
4062009-01-14 Chong Yidong <cyd@stupidchicken.com>
407
408 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
409
d9e52e92
JB
4102009-01-13 Juanma Barranquero <lekktu@gmail.com>
411
412 * url-util.el (url-truncate-url-for-viewing): Doc fix.
413
78892d1b
GM
4142009-01-09 Glenn Morris <rgm@gnu.org>
415
416 * url-cid.el (url-cid-gnus): Fix typo in header name.
417
92066e83
CY
4182008-11-04 Chong Yidong <cyd@stupidchicken.com>
419
420 * url-util.el (url-basepath): Add url-basepath as an alias for
421 url-file-directory.
422
d6c180c4
JB
4232008-10-24 Juanma Barranquero <lekktu@gmail.com>
424
425 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
426
3b4df550
CY
4272008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
428
429 * url-auth.el (url-basic-auth): Encode password string.
430
e77e9cf4
GM
4312008-08-30 Glenn Morris <rgm@gnu.org>
432
433 * url-http.el (url-https-expand-file-name): Resolve directly to
434 url-default-expander rather than via another alias.
435 (url-default-expander): Autoload an autoload. (Bug#825).
436
d1ce47b0
JB
4372008-07-02 Juanma Barranquero <lekktu@gmail.com>
438
439 * url.el (url-do-setup):
440 * url-dired.el (url-dired-minor-mode):
441 * url-file.el (url-file-find-possibly-compressed-file):
442 * url-gw.el (url-gateway-broken-resolution):
443 * url-handlers.el (url-handler-regexp):
444 * url-imap.el (url-imap-default-port):
445 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
446
447 * url-auth.el (url-basic-auth-storage, url-digest-auth):
448 Fix typos in docstrings.
449 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
450
451 * url-cache.el (url-cache-prepare): Doc fix.
452 (url-cache-create-filename-human-readable, url-cache-extract):
453 Fix typos in docstrings.
454
455 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
456 (url-dav-delete-something): Fix typos in docstrings.
457 (url-dav-http-success-p, url-dav-file-name-all-completions)
458 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
459
460 * url-http.el (url-http-idle-sentinel): Doc fix.
461
462 * url-irc.el (url-irc-default-port): Fix typo in docstring.
463 (url-irc-function): Doc fix.
464
465 * url-util.el (url-get-url-filename-chars, url-unhex-string):
466 Fix typos in docstrings.
467 (url-file-extension): Doc fix.
468
469 * url-vars.el (url-current-object, url-current-mime-headers)
470 (url-privacy-level, url-mail-command, url-mime-language-string):
471 Fix typos in docstrings.
472 (url-honor-refresh-requests): Reflow docstring.
473 (url-using-proxy): Doc fix.
474
0b5c4225
DN
4752008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
476
477 * vc-dav.el: Move to the parent directory to be together with the
478 rest of the VC backends.
479
8705576e
GM
4802008-06-07 Glenn Morris <rgm@gnu.org>
481
482 * url-auth.el (auth-source-user-or-password): Remove unnecessary
483 eval-and-compile.
484
a118b59b
SM
4852008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * url-handlers.el (url-file-name-completion): Add missing argument.
488
97d1c236
TZ
4892008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
490
ba60bd44 491 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
97d1c236
TZ
492 (url-basic-auth, url-digest-auth): Use it with any realm,
493 overriding the user name and password before the prompt.
494
c385aa1a
JB
4952008-04-28 Juanma Barranquero <lekktu@gmail.com>
496
497 * url-vars.el (url-load-hook): Fix typo in docstring.
498
84f089d3
MH
4992008-03-09 Magnus Henoch <mange@freemail.hu>
500
501 * url-http.el (url-http-chunked-encoding-after-change-function):
a628ad9d 502 Remove superfluous CRLF at end of file. (Bug #42)
84f089d3 503
26d72be8
AS
5042008-03-02 Andreas Schwab <schwab@suse.de>
505
506 * url-util.el: Require cl when compiling.
507
d626f888
TZ
5082008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
509
ba60bd44
JB
510 * url-util.el (url-get-normalized-date): Simplify to use
511 `format-time-string'. Always generate date in UTC, but
d626f888
TZ
512 call it GMT for full compatibility with the RFCs.
513
a9f31e3d
MA
5142008-02-06 Michael Albinus <michael.albinus@gmx.de>
515
516 * url-handlers.el (file-remote-p): Add handler.
517 (url-handler-file-remote-p): New fun.
518
791fe182
SM
5192008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * url-handlers.el (url-handler-unhandled-file-name-directory):
522 Handle `file' URLs specially. Return nil for non-local filenames.
523
b72ef564
MH
5242008-02-04 Magnus Henoch <mange@freemail.hu>
525
526 * url-expand.el: Require cl when compiling, for setf.
527
e652840b
JW
5282008-01-29 John Wiegley <johnw@newartisans.com>
529
530 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
531 being used, don't add it to the response text. Also, changed an
532 if so that the interaction between the PROMPT and OVERWRITE
533 arguments can no longer result in the user being queried twice for
534 the same login and password information.
535
ce4059ee
SM
5362008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * url-handlers.el (unhandled-file-name-directory): Add handler.
539 (url-handler-unhandled-file-name-directory): New fun.
540
80e4b01d
MA
5412008-01-07 Michael Albinus <michael.albinus@gmx.de>
542
543 * url-handlers.el (url-file-handler): Autoload.
544
9824ded5
GM
5452007-12-11 Glenn Morris <rgm@gnu.org>
546
547 * url.el (url-configuration-directory): Make it a defcustom.
548
549 * url-util.el (url-make-private-file): New function.
550 * url-cookie.el (url-cookie-write-file):
551 * url-history.el (url-history-save-history):
552 Use url-make-private-file and with-temp-buffer.
553
40234eaf
GM
5542007-12-06 Glenn Morris <rgm@gnu.org>
555
556 * url-file.el, url-mailto.el: Remove directory part from filenames
557 in function declarations.
558
24030ea3
GM
5592007-12-02 Glenn Morris <rgm@gnu.org>
560
e05b1e72
GM
561 * url-about.el, url-handlers.el: Don't require cl when compiling.
562
563 * url-dav.el (url-dav-delete-directory): Fix message typo.
564
565 * url-history.el (top-level): Don't require cl when compiling.
566 (url-history-setup-save-timer, url-history-save-history):
567 Use condition-case rather than ignore-errors.
568
569 * url-imap.el (top-level): Don't require cl when compiling.
570 (url-imap): Use signal rather than check-type.
571
24030ea3
GM
572 * url-news.el (top-level): Don't require cl when compiling.
573 (gnus-group-buffer): Define for compiler.
574 (url-news-fetch-message-id): Don't use `declare'.
575 (nntp-open-tls-stream, nntp-open-ssl-stream):
576 No need to define for compiler.
577 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
c2bf6d2c 578 Correct quoting of nntp-open-connection-function value.
24030ea3 579
29c7eba8
GM
5802007-12-01 Glenn Morris <rgm@gnu.org>
581
582 * url-handlers.el (top-level): Always require url-parse, not just
583 when compiling.
584
36176341
GM
5852007-11-30 Glenn Morris <rgm@gnu.org>
586
587 * url-cookie.el (url-cookie-p): Declare as a function.
588
0bd90741
GM
5892007-11-29 Glenn Morris <rgm@gnu.org>
590
591 * url-file.el (url-file-build-filename, url-file): Wrap uses of
592 efs in (featurep 'xemacs) test.
593
594 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
595
7ba1d5ae
GM
5962007-11-28 Diane Murray <disumu@x3y2z1.net>
597
598 * url-dired.el: Don't require w3-fetch and w3-open-local.
c385aa1a 599 (url-dired-find-file): Use `find-file'. Doc fix.
7ba1d5ae
GM
600 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
601
9f34397d
GM
6022007-11-24 Glenn Morris <rgm@gnu.org>
603
604 * url-privacy.el (url-device-type): Fix typo.
605
153ef845
DN
6062007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
607
608 * url-mailto.el (mail-send-and-exit):
609 * url-http.el (url-dav-file-attributes):
d4aa48db 610 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6d00e226
DN
611 (url-generate-unique-filename): Declare as functions.
612
153ef845
DN
613 * url-privacy.el (url-device-type): Define unconditionally.
614
9ffb9521
RS
6152007-11-15 Richard Stallman <rms@gnu.org>
616
617 * url.el (url-retrieve-synchronously): Call delete-process.
618
3a47bb3e
JB
6192007-10-31 Juanma Barranquero <lekktu@gmail.com>
620
621 * url-vars.el (url-vars-unload-hook): Remove function and variable.
622 Hooks are automatically removed by `unload-feature'.
623
4148f522
RS
6242007-10-13 Richard Stallman <rms@gnu.org>
625
626 * url-util.el (url-basepath): Function deleted.
627 (url-file-directory, url-file-nondirectory): New functions
628 replacing url-basepath. Callers changed.
629
630 * url-expand.el (url-default-expander): Use `url-file-directory'.
631
632 * url-auth.el (url-digest-auth, url-basic-auth):
633 Rename `path' to `file'. Use `url-file-directory'.
634
3aa491bc
GM
6352007-10-12 Diane Murray <disumu@x3y2z1.net>
636
637 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
2a5be7dc 638 empty string filename.
3aa491bc 639
d1d80b80
RS
6402007-10-09 Richard Stallman <rms@gnu.org>
641
642 * url-parse.el (url-type, url-user, url-password, url-host)
643 (url-port, url-filename, url-target, url-attributes)
644 (url-fullness, url-set-type, url-set-user, url-set-password)
645 (url-set-host, url-set-port, url-set-filename, url-set-target)
646 (url-set-attributes, url-set-full): Change macros to defuns.
647
259b63b4
JB
6482007-09-26 Juanma Barranquero <lekktu@gmail.com>
649
650 * url-dav.el (top):
651 * url-vars.el (top): Use `mapc' rather than `mapcar'.
652
8a35aa36
GM
6532007-09-22 Diane Murray <disumu@x3y2z1.net>
654
655 * url-misc.el (url-generic-emulator-loader): Send the port as a
2a5be7dc 656 string to `url-do-terminal-emulator'.
8a35aa36 657
965d1f0e
GM
6582007-09-21 Diane Murray <disumu@x3y2z1.net>
659
3a47bb3e 660 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
d01b3550 661
965d1f0e
GM
662 * url-util.el (url-get-normalized-date): Pass full timezone
663 information to timezone-make-date-arpa-standard, since zone name
664 may be unknown.
665
72f25299
GM
6662007-09-03 Diane Murray <disumu@x3y2z1.net>
667
0f71f9da 668 * url-http.el (url-http-parse-headers): Bind the current buffer
72f25299
GM
669 rather than calling `url-mark-buffer-as-dead' with
670 `current-buffer', so that the correct buffer is killed if
671 `url-retrieve-synchronously' gets redirected to a new URL.
672
d18ec89f
SM
6732007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
674
675 * url-parse.el (url): Use defstruct rather than macros.
676 (url-generic-parse-url):
677 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
678 * url-methods.el (url-scheme-register-proxy):
679 * url-mailto.el (url-mailto):
680 * url-file.el (url-file-build-filename):
681 * url-expand.el (url-identity-expander, url-default-expander):
682 Update all callers.
683
0f71f9da
JB
6842007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
685
686 * url-auth.el (url-basic-auth): When prompting for username
687 and password, default to the username and password in the URL.
688
df26688b
GM
6892007-08-08 Glenn Morris <rgm@gnu.org>
690
691 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
692 Replace `iff' in doc-strings and comments.
693
cacc7b51
GM
6942007-07-25 Glenn Morris <rgm@gnu.org>
695
696 * Relicense all FSF files to GPLv3 or later.
697
c0ed4c23
CY
6982007-06-12 Tom Tromey <tromey@redhat.com>
699
700 * url.el (url-configuration-directory): Use user-emacs-directory.
701
495fa7db
SM
7022007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * url-cookie.el (url-cookie-name, url-cookie-value)
705 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
706 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
707 (url-cookie-set-expires, url-cookie-set-localpart)
708 (url-cookie-set-domain, url-cookie-set-secure)
709 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
710 (url-cookie): New struct.
711 (url-cookie-store): Use setf instead of url-cookie-set-*.
712
345c7f05
CY
7132007-05-29 Chong Yidong <cyd@stupidchicken.com>
714
715 * url-mailto.el (url-mailto): Insert body after
de74fffc 716 mail-header-separator if present, so that it is before signature.
345c7f05
CY
717 Suggested by Leo <sdl.web@gmail.com>.
718
5cfdb0fb
CY
7192007-04-15 Chong Yidong <cyd@stupidchicken.com>
720
721 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
722
f25a9946
CY
7232007-04-13 Chong Yidong <cyd@stupidchicken.com>
724
725 * url-http.el (url-http-parse-headers): Stop after a set number of
726 redirections. Suggested by Diane Murray.
727
728 * url-vars.el (url-max-redirections): New var.
729
60df22cc 7302007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
731
732 * url-http.el (url-http-handle-cookies): Reverse list returned by
733 `mail-fetch-field', so that cookies are set in the correct order.
734
735 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
736 Deal with wildcard dots in domain values.
737
fd1e2cde
EZ
7382007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
739
740 * url-http.el (url-http-mark-connection-as-busy)
741 (url-http-mark-connection-as-free): Clear query-on-exit flag on
742 idle connections.
743
b3cd7f61
CY
7442007-02-04 Chong Yidong <cyd@stupidchicken.com>
745
746 * url-http.el (url-http-connection-opened): New variable.
747 (url-http): Initialize it.
748 (url-http-async-sentinel): Don't try changing sentinels.
749 Run url-http-end-of-document-sentinel if necessary.
750
8f77631e
JB
7512007-01-29 Juanma Barranquero <lekktu@gmail.com>
752
753 * url-auth.el (url-get-authentication): Fix typo in docstring.
754
00d972eb
MH
7552007-01-14 Magnus Henoch <mange@freemail.hu>
756
757 * url-proxy.el (url-proxy-object): Remove.
758 (url-proxy): Don't use `url-proxy-object'. Act according to type of
759 proxy (currently only HTTP supported).
760
761 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
762
763 * url-http.el (url-http-proxy): New variable.
764 (url-http-create-request): Use it. Don't use `url-proxy-object'.
765 (url-http): Treat `url' argument as resource to download, and
f49d1f52
SM
766 dynamic variable `url-using-proxy' as proxy to use.
767 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
00d972eb
MH
768 used.
769 (url-http-handle-cookies): Assume that `url-current-object' does
770 not point to the proxy used.
771 (url-http-async-sentinel): Adapt error message.
772
28e86dc4
JB
7732006-12-10 Juanma Barranquero <lekktu@gmail.com>
774
775 * url-gw.el (url-gateway-nslookup-program): Doc fix.
776
b8976ce0
MH
7772006-12-08 Magnus Henoch <mange@freemail.hu>
778
779 * url-proxy.el (url-proxy-object): New variable.
780 (url-proxy): Bind it instead of `proxy-object'.
781
782 * url-http.el (url-http-create-request): Remove url argument, use
f49d1f52
SM
783 the buffer-local variable `url-http-target-url' instead.
784 Both callers updated. Simplify proxy handling.
b8976ce0
MH
785 (url-http): Don't make proxy-object buffer local.
786
787 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
788
57babe17
MH
7892006-11-26 Magnus Henoch <mange@freemail.hu>
790
f49d1f52
SM
791 * url-http.el (url-http-wait-for-headers-change-function):
792 Use `when' instead of `if' when possible.
b9b172ac
MH
793 (url-http): Define url-http-response-version.
794 (url-http-parse-response): Set it.
795 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 796
60df22cc 7972006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4 798
f49d1f52
SM
799 * url-http.el (url-http-content-length-after-change-function):
800 Use `url-lazy-message'.
48d2bac4
MH
801
802 * url-util.el (url-display-percentage): Only show a message if
803 `url-show-status' is non-nil.
804
d58fae84
MH
8052006-11-15 Magnus Henoch <mange@freemail.hu>
806
6e2988e6
MH
807 * url-http.el (url-http): Make proxy-object buffer-local, to
808 handle proxied asynchronous connections correctly.
809
d58fae84
MH
810 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
811
1ac3c910 8122006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 813
1ac3c910
JB
814 * url-http.el (url-http-wait-for-headers-change-function):
815 Defer detection of HTTP 0.9 until we have at least one line.
98325235 816
1ac3c910 8172006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
818
819 * url-http.el (url-http-mark-connection-as-free)
820 (url-http-find-free-connection): Don't treat process with status
821 `connect' as free.
822 (url-http-async-sentinel): Request correct url.
823
947612be
MH
8242006-11-08 Magnus Henoch <mange@freemail.hu>
825
385b64c5
MH
826 * url-http.el (url-http-handle-authentication): If there are
827 several authentication headers, use the strongest available
828 method.
829
947612be
MH
830 * url.el (url-retrieve-synchronously): Allow quitting when
831 inhibit-quit is t.
832
1ac3c910 8332006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
834
835 * url-http.el (url-http-handle-authentication): If there are
836 several authentication headers, use the first with a supported
837 method.
838
8ea88265
MH
8392006-11-01 Magnus Henoch <mange@freemail.hu>
840
841 * url-http.el (url-http-create-request): Use buffer-local
842 equivalents of dynamically bound variables.
843
080234b6
MH
8442006-10-29 Magnus Henoch <mange@freemail.hu>
845
846 * url-gw.el (url-open-stream): Really use asynchronous
847 connections (accidentally disabled during debugging).
848
ced20bfb
MH
8492006-10-28 Magnus Henoch <mange@freemail.hu>
850
851 * url-http.el (url-http-parse-headers): Fix misplaced paren.
852
5695d1dd
CY
8532006-10-27 Magnus Henoch <mange@freemail.hu>
854
855 * url-http.el (url-http-mark-connection-as-free): Verify that
856 connection is open before saving it.
857 (url-http-handle-authentication): Use url-retrieve-internal
858 instead of url-retrieve.
859 (url-http-parse-headers): Adapt to new callback interface.
860 (url-http): Handle non-blocking connections.
861 (url-http-async-sentinel): Create.
862
863 * url.el (url-retrieve): Update docstring for new callback interface.
864 Remove all code.
865 (url-retrieve-internal): Move code from url-retrieve here.
866
867 * url-gw.el (url-open-stream): Use a non-blocking socket for
868 `native' gateway method, if available.
869
784f5416
MH
8702006-10-16 Magnus Henoch <mange@freemail.hu>
871
1ac3c910
JB
872 * url-http.el (url-https-create-secure-wrapper):
873 Always use tls gateway method.
784f5416 874
dfea17e0
MH
8752006-10-12 Magnus Henoch <mange@freemail.hu>
876
1ac3c910
JB
877 * url-http.el (url-http-find-free-connection):
878 Handle url-open-stream returning nil.
dfea17e0 879
9c51663a
MH
8802006-10-11 Magnus Henoch <mange@freemail.hu>
881
882 * url-https.el: Remove (clashes with url-http on 8+3 systems).
883
884 * url-http.el: Move contents of url-https.el here. Add autoloads.
885
f6fb70fc
MH
8862006-10-09 Magnus Henoch <mange@freemail.hu>
887
888 * url-parse.el (url-generic-parse-url): Handle URLs with empty
889 path component and non-empty query component. Untangle path,
890 query and fragment parsing code. Add references to RFC 3986 in
891 comments.
c385aa1a 892 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 893
162fbe11
SM
8942006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * url-dav.el (url-dav-file-attributes): Simplify.
897
898 * url-http.el (url-http-head-file-attributes): Add device "info".
899
f316efd9
MB
9002006-09-18 Michael Olson <mwolson@gnu.org>
901
902 * url-methods.el (url-scheme-register-proxy): Handle case where
903 getenv returns an empty string for http_proxy. This prevents an
904 error when calling `format' later on.
905
60df22cc 9062006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 907
c2a7ddb1
SM
908 * url-parse.el (url-recreate-url-attributes): New function, code
909 simply moved from `url-recreate-url'.
910 (url-recreate-url): Use it.
911 Put the `url-target' at the end of the URL after the attributes.
912
913 * url-http.el (url-http-create-request):
914 Use `url-recreate-url-attributes' when setting real-fname.
915
60df22cc 9162006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
917
918 * url-cookie.el (url-cookie-write-file): Really don't use versioned
919 backups.
7660c02f 920
d0f891a7
SM
9212006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
924 dest file will already exist.
925
07e9b3f0
SM
9262006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * url-util.el (url-hexify-string): Only utf-8 encode if it's
929 a multibyte string.
930 (url-normalize-url): Remove unused var `grok'.
931 (url-truncate-url-for-viewing): Remove unused var `tail'.
932
ecfbb488
TTN
9332006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
934
935 * url-util.el (url-hexify-string): Rewrite.
936 Suggested by David Smith <davidsmith@acm.org>.
937
0b6bb130
MB
9382006-07-12 Michael Olson <mwolson@gnu.org>
939
940 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
941
bc684c16
SM
9422006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * url-cookie.el: Remove spurious * in docstrings.
945 (url-cookie-write-file): Don't use versioned backups.
946 (url-cookie-host-can-set-p): Remove unused var `tmp'.
947
3d3a26eb 9482006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
949
950 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
951 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
952
d10a6bf1
RS
9532006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
954
955 * url-http.el (url-http-file-exists-p): Test if status is integer.
956
3d3a26eb 9572006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
958
959 * url-http.el (url-http-parse-headers): Don't reuse connection if
960 "Connection: close" header was seen.
961
351b838f
SM
9622006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * url-gw.el (url-open-stream): Don't hide errors.
965 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
966
967 * url-handlers.el (url-insert): New function.
968 (url-insert-file-contents): Use it.
969
bdba217b
SM
9702006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * url-handlers.el (url-handler-directory-file-name): New handler.
973 (url-file-local-copy): Plug race condition security hole.
974
7608c40c
RF
9752006-03-27 Romain Francoise <romain@orebokech.com>
976
977 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
978 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
979 Default to rcirc, since ZenIRC isn't part of Emacs.
980
bedeb7fd
SM
9812006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
984
8dff56de
SM
9852006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * url-http.el (url-http-find-free-connection): Don't kill the process
988 when killing the temp buffer.
989 (url-http-symbol-value-in-buffer): Massage to make it clear to the
990 byte-compiler that the function is defined.
991
9b4cf231
SM
9922006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * url.el (url-redirect-buffer): New var.
995 (url-retrieve-synchronously): Use it to follow redirections.
996
997 * url-http.el: Require `url' rather than try to autoload parts of it.
998 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
999 (url-http-parse-headers): Set `url-redirect-buffer' when following
1000 a redirection reply.
1001
81cafdfe
SM
10022006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * url-news.el: Move defvars out of eval-when-compile.
1005 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1006 Use with-current-buffer.
1007
5dc3ceeb
SM
10082006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1009
e7ea7cac
SM
1010 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1011 to stop in the middle of a redirection.
1012
5dc3ceeb
SM
1013 * url-vars.el (url-privacy-level): Add setter.
1014
72a30be4
SM
10152006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1016
176c99dc
SM
1017 * url-history.el (url-history-hash-table): Initialize in declaration.
1018 (url-history-parse-history): Don't reset the history.
1019 (url-history-save-history): Create parent dir if necessary.
1020 (url-history-save-history): Don't write the initialization of
1021 url-history-hash-table into the history file.
9b4cf231 1022 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
1023 (url-completion-function): Simplify.
1024
72a30be4
SM
1025 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1026 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1027 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1028 (url-cookie-setup-save-timer): Remove autoload cookies.
1029 They're only called from files that require url-cookie anyway.
1030
1031 * url-history.el (url-history-setup-save-timer)
1032 (url-history-parse-history, url-history-save-history):
1033 Remove autoload cookies. They're only called from url.el which requires
1034 url-history anyway.
1035 (url-history-parse-history): Don't complain if the file is missing.
1036
55262b16
SM
10372006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1040
1041 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1042
1043 * url-cache.el: Require `url'.
1044
d476efde
SM
10452005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1046
32d5ce4d
SM
1047 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1048
d476efde
SM
1049 * url.el (url-configuration-directory): Don't autoload because the
1050 default value needs to be computed at run-time, not dump-time.
1051
32fa5844
SM
10522005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * url-cookie.el (url-cookie-write-file): Create parent dir.
1055
1056 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1057
0c069924
RS
10582005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1059
1060 * url-cookie.el (url-cookie-save-interval): Simplify.
1061 (url-cookie-setup-save-timer): Simplify.
1062
8553120c
RS
10632005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1064
1065 * url-history.el (url-history-list): Var deleted.
1066 (url-history-save-interval): Simplify.
1067 (url-history-setup-save-timer): Simplify.
1068
b0ab1a06
KS
10692005-12-01 Kim F. Storm <storm@cua.dk>
1070
1071 * url-history.el (url-history-track): Fix last change.
1072
1942d6cc
RS
10732005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1074
1075 * url-history.el (url-history-track):
1076 Call url-history-setup-save-timer in :set function.
1077 :type allows three alternatives.
1078 (url-history-setup-save-timer): Test url-history-track.
1079 * url.el (url-retrieve): Test url-history-track.
1080
12f1edc8
SM
10812005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * url-http.el: Use with-current-buffer.
1084 (url-http-target-url): Rename from url-http-cookies-sources.
1085 (url-http-parse-headers): Use it.
1086 (url-http-handle-authentication): Use subst-char-in-string.
1087
2b1b005c 10882005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
77f05e24
SM
1089
1090 * url-handlers.el (url-insert-file-contents): Use the charset info
1091 provided by the HTTP server, if any.
1092
ce13796f
EZ
10932005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1094
77f05e24
SM
1095 * url-nfs.el (top level):
1096 * url-handlers.el (directory-files):
ce13796f 1097 * url-file.el (top level):
77f05e24 1098 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
1099 * url-http.el (url-http-chunked-encoding-after-change-function):
1100 Remove XEmacs support.
1101
a4684cb0
RS
11022005-10-15 Richard M. Stallman <rms@gnu.org>
1103
1104 * url.el: Don't try to autoload hash table functions.
1105
1430e7f9
SM
11062005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * url-http.el (url-http-create-request): Avoid incorrect implicit
1109 unibyte->multibyte conversion.
1110
8ccd3630
RS
11112005-09-17 Richard M. Stallman <rms@gnu.org>
1112
1113 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1114
1115 * url-mailto.el (url-mailto): Special case `mail'.
1116 Don't test fboundp of `compose-mail'.
1117
b0742512
CY
11182005-09-15 Chong Yidong <cyd@stupidchicken.com>
1119
1120 * url-mailto.el (url-mailto): Delete mail buffer after sending
1121 autogenerated mail.
8ded3f47 1122 Call `compose-mail with `new' argument if possible.
b0742512 1123
c8359e8f
CY
11242005-09-13 Chong Yidong <cyd@stupidchicken.com>
1125
1126 * url-mailto.el (url-mailto): Always use a new mail buffer.
1127
6fd388f3
CY
11282005-09-01 Chong Yidong <cyd@stupidchicken.com>
1129
1130 * url-util.el (url-parse-query-string): New optional argument
1131 allow-newlines allows decoding of newlines.
1132
1133 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1134 Don't lose original "to" value when there is a "to" header.
1135 Remove carriage return characters in message body.
1136
26d874b2
JB
11372005-08-24 Juanma Barranquero <lekktu@gmail.com>
1138
1139 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1140 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1141
dc524e8b
RS
11422005-07-15 Richard M. Stallman <rms@gnu.org>
1143
1144 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1145 when calling url-retrieve, to indicate a redirect.
1146
1147 * url.el (url-retrieve): The callback function can get an additional
1148 keyword arg pair.
1149
a0ec7a4a
LK
11502005-07-04 Lute Kamstra <lute@gnu.org>
1151
1152 Update FSF's address in GPL notices.
1153
59fda2fa
JB
11542005-07-04 Juanma Barranquero <lekktu@gmail.com>
1155
1156 * url-history.el (url-history-track): Doc fix.
1157 (url-history): Finish `defgroup' description with period.
1158
1159 * url-cookie.el (url-cookie):
1160 * url-gw.el (url-gateway):
1161 * url-news.el (url-news):
1162 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1163 Finish `defgroup' description with period.
1164
231add10
RS
11652005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1166
1167 * url-http.el (url-http-create-request): Call url-recreate-url
1168 in proxy case.
1169
e893ce91
RS
11702005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1171
1172 * url-http.el (url-http-create-request): When computing real-fname,
1173 call url-filename in both cases.
1174
11752005-06-27 Richard M. Stallman <rms@gnu.org>
1176
1177 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1178 (url-cookie-retrieve): Likewise.
1179 (url-cookie-generate-header-lines): Likewise.
1180 (url-cookie-handle-set-cookie): Likewise.
1181 (url-cookie-create): Expect :localpart instead of :path.
f49d1f52
SM
1182 (url-cookie-localpart): Rename from url-cookie-path.
1183 (url-cookie-set-localpart): Rename from url-cookie-set-path.
e893ce91
RS
1184 (url-cookie-file): Doc fix.
1185 (url-cookie-p): Add doc string.
1186
528b6abc
RS
11872005-06-23 Richard M. Stallman <rms@gnu.org>
1188
1189 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1190
23873c96
JB
11912005-06-21 Juanma Barranquero <lekktu@gmail.com>
1192
1193 * url-gw.el (url-open-stream):
1194 * url-vars.el (url-gateway-unplugged): Fix spellings.
1195
0b46b379
JB
11962005-06-14 Juanma Barranquero <lekktu@gmail.com>
1197
d6c180c4 1198 * url-history.el (url-completion-function): Follow error conventions.
0b46b379 1199
175384d1
SM
12002005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1203
7f954571
SM
12042005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1205
0090e048
SM
1206 * url-dav.el: Remove most autoload cookies.
1207 Don't hook into the url-file-handler since it currently breaks all
1208 non-HTTP URLs.
1209
7f954571
SM
1210 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1211
1212 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1213 fetching a file via ange-ftp.
1214
466c78c0
JB
12152005-06-10 Juanma Barranquero <lekktu@gmail.com>
1216
7f954571 1217 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 1218
93c8c9cd
JB
12192005-05-19 Juanma Barranquero <lekktu@gmail.com>
1220
1221 * url-cookie.el (url-cookie-multiple-line):
1222 Specify group and type in defcustom.
1223
216d3806
JB
12242005-05-06 Juanma Barranquero <lekktu@gmail.com>
1225
1226 * url-auth.el (url-register-auth-scheme):
1227 * url-cookie.el (url-cookie-expired-p):
1228 * url-dav.el (url-dav-process-date-property)
1229 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1230 * url-http.el (url-http-chunked-encoding-after-change-function)
1231 (url-http-wait-for-headers-change-function):
1232 * url-ns.el (isInNet):
1233 * url-parse.el (url-generic-parse-url):
1234 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1235 by `string-to-number'.
1236
799fba8f
SM
12372005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * url.el (url-retrieve-synchronously): Work around the fact that
1240 url-http sometimes doesn't call the callback.
1241
8c6ef2ca
LK
12422005-04-04 Lute Kamstra <lute@gnu.org>
1243
1244 * url-handlers.el (url-handler-mode): Specify :group.
1245
a6efc2c2
EZ
12462005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1247
1248 * url-history.el (url-have-visited-url): Don't barf if
1249 url-history-hash-table is nil.
1250
134948fc
RS
12512005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1252
1253 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1254
1a8461d3
EZ
12552005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1256
557724a8
EZ
1257 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1258 to nil, like for the 303 response.
1a8461d3 1259
944b2ab6
SM
12602005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1263 than sit-for.
1264
e817f9a2
TTN
12652005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1266
1267 * url-http.el (url-http-handle-authentication):
1268 Don't kill the current buffer.
1269
5007cdc9
SM
12702004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * url-handlers.el: Don't `require' everything eagerly.
1273
cacfe88b
AS
12742004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1275
1276 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1277 to `url-http-cookies-sources' so that cookies are attributed to
1278 proper domain.
1279 (url-http): Make local variable `url-http-cookies-sources'.
1280
dc1a0a7a
AS
12812004-11-28 Andreas Schwab <schwab@suse.de>
1282
1283 * url-http.el (url-http-create-request): Don't add newline after
1284 the request data.
1285
14e25c87
MY
12862004-11-20 Masatake YAMATO <jet@gyve.org>
1287
1288 * url.el (url-mm-callback): Delay the invocation
1ac3c910 1289 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
1290 when the buffer is killed.
1291
de0234ea
MY
12922004-11-12 Masatake YAMATO <jet@gyve.org>
1293
5007cdc9 1294 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 1295
60b5eb78
MY
12962004-11-02 Masatake YAMATO <jet@gyve.org>
1297
1298 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 1299 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
1300 is expected to be an integer.
1301
1302 * url-irc.el (url-irc): Ditto.
1303
1304 * url-news.el (url-news-open-host): Ditto.
1305
1306 * url-nfs.el (url-nfs-build-filename): Ditto.
1307
ed87225a
JPW
13082004-10-20 John Paul Wallington <jpw@gnu.org>
1309
1310 * url-gw.el (url-gateway-nslookup-host):
1311 Use `set-process-query-on-exit-flag'.
1312
2a6c7fe5
LH
13132004-10-10 Lars Hansen <larsh@math.ku.dk>
1314
4169c186
KS
1315 * url-auth.el:
1316 * url-cache.el:
1317 * url-cid.el:
1318 * url-dired.el:
1319 * url-expand.el:
1320 * url-ftp.el:
1321 * url-gw.el:
1322 * url-imap.el:
1323 * url-irc.el:
1324 * url-misc.el:
1325 * url-news.el:
1326 * url-ns.el:
1327 * url-privacy.el:
2a6c7fe5
LH
1328 * url-proxy.el: Update header and footer.
1329
1330 * url-vars.el: Update header.
1331
c2e2ede7
RS
13322004-10-16 Richard M. Stallman <rms@gnu.org>
1333
1334 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1335
1336 * url-vars.el (url-passwd-entry-func): Var deleted.
1337 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
1338 (url-weekday-alist): Rename from weekday-alist.
1339 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
1340 (url-vars-unload-hook): Initialize hook var to hold the function.
1341
5007cdc9
SM
1342 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1343 url-monthabbrev-alist.
c2e2ede7
RS
1344
1345 * url-misc.el: Load cl at compile time.
1346
1347 * url-mailto.el: Don't load cl.
1348 (url-mailto): Fix call to `push'.
1349
1350 * url-gw.el (url-open-telnet): Use read-passwd.
1351
1352 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1353
3bb53a84
SJ
13542004-10-12 Simon Josefsson <jas@extundo.com>
1355
1356 * url-vars.el (url-gateway-method): Add new method `tls'.
1357
1358 * url-news.el (url-snews): Use nntp-open-tls-stream if
1359 url-gateway-method is tls.
1360
5007cdc9
SM
1361 * url-ldap.el (url-ldap-certificate-formatter):
1362 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
1363
1364 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1365 is not available.
1366
1367 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1368 (url-open-stream): Likewise.
1369
df41da5e
LH
13702004-10-10 Lars Hansen <larsh@math.ku.dk>
1371
4169c186
KS
1372 * url-auth.el:
1373 * url-cache.el:
1374 * url-cookie.el:
1375 * url-dired.el:
1376 * url-file.el:
1377 * url-ftp.el:
1378 * url-handlers.el:
1379 * url-history.el:
1380 * url-irc.el:
1381 * url-mailto.el:
1382 * url-methods.el:
1383 * url-misc.el:
1384 * url-news.el:
1385 * url-nfs.el:
1386 * url-parse.el:
1387 * url-privacy.el:
1388 * url-vars.el:
1389 * url.el:
df41da5e
LH
1390 * url-util.el: Fix copyright notice.
1391
ccd59305
SM
13922004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1395 encoding, not the buffer-file-name (which might not even exist).
1396
d4fdad60
SM
13972004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * url-handlers.el (url-insert-file-contents): Decode contents.
1400
10a6e6ba
SM
14012004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 * url-util.el (url-debug): Use with-current-buffer.
1404
1405 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1406 (url-nfs-create-wrapper): Use new backquote syntax.
1407
1408 * url-https.el (url-https-file-attributes): Add id-format param.
1409
1410 * url-http.el (url-http-head-file-attributes)
1411 (url-http-file-attributes): Add id-format parameter.
1412
1413 * url-handlers.el: Use new find-file-hook.
1414 (url-file-attributes): Add id-format parameter.
1415
1416 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1417 (url-file-file-attributes): Add id-format parameter.
1418
1419 * url-dav.el: Use with-current-buffer.
1420 (url-dav-process-response): Fix regexps and spurious quote.
1421 (url-dav-file-attributes): Add id-format param.
1422
14232004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * url.el (url-retrieve): Use with-current-buffer.
1426
1427 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1428 Remove unused var `version'.
1429
1430 * url-handlers.el (url-handler-mode): New minor mode.
1431 (url-setup-file-name-handlers): Remove.
1432
14332004-04-12 John Paul Wallington <jpw@gnu.org>
1434
1435 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1436 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1437
14382004-04-11 Dave Love <fx@gnu.org>
1439
1440 * url-mailto.el (url-mailto):
1441 * url-history.el (url-history-setup-save-timer):
1442 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1443
1444 * url-file.el (url-file-build-filename): Don't use
1445 directory-sep-char.
1446
1447 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1448
1449 * url-about.el (url-scheme-registry): Defvar.
1450 (url-about): Use text/plain.
1451
1452 * url-vars.el (cl): Don't require.
1453 (url): Add :version.
1454 (url-bug-address): Use bug-gnu-emacs.
1455
1456 * url-util.el (url-hexify-string): Don't give multibyte error
1457 for char <16.
1458 (mail-header-extract): Autoload.
1459
1460 * url-parse.el: Doc fixes.
1461
1462 * url-ldap.el (ldap): Require.
1463 (url-ldap): Fix `format' call.
1464 (url-ldap-certificate-formatter): Avoid warning.
1465
4dfde3dd 1466 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
1467
1468 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1469 (url-intersection): New.
1470 (url-dav-supported-p): Use it.
1471 (url-dav-save-resource): Declare url-http-response-status special.
1472
1473 * url-cache.el (url-util): Require.
1474
14752004-04-10 Miles Bader <miles@gnu.org>
1476
1477 RCS keyword removal (only non-comment changes are enumerated here):
1478
1479 * url-vars.el (url-version): Use the constant string "Emacs"
1480 instead of calculating something from the RCS `State' keyword
1481 [the latter is almost entirely useless anyway].
1482
14832004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * url-methods.el:
1486 * url-parse.el: Don't require url-auto.
1487
14882004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * url: Imported the URL package from its own CVS repository into Emacs.
1491
1492===========================================================================
1493===========================================================================
1494 Copy of the ChangeLog file from URL's own CVS repository:
1495===========================================================================
1496===========================================================================
1497
14982003-07-16 Dave Love <fx@gnu.org>
1499
1500 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1501 Should be revisited.
1502
15032003-06-26 Sam Steingold <sds@gnu.org>
1504
1505 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1506 method on invalid urls.
1507
15082003-05-29 Dave Love <fx@gnu.org>
1509
1510 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1511 sit-for. From monnier@gnu.org.
1512
1ac3c910 15132002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 1514
4dfde3dd
SM
1515 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1516 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
1517
15182002-10-29 William M. Perry <wmperry@gnu.org>
1519
1520 * lisp/url-http.el (url-http-parse-headers): When doing a
1521 redirect, some broken software (sourceforge) sends a redirect to
1522 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1523 specification). I wish we could deal with such lame software
1524 appropriately (spank the authors), but this is the web, so we have
1525 to kow-tow to the servers.
1526
15272002-10-27 William M. Perry <wmperry@gnu.org>
1528
1529 * lisp/url-http.el (url-http-create-request): If we are talking to
1530 the default port for a the selected protocol, do NOT send the port
1531 in the HOST header. This fixes the login page at sourceforge.
1532
15332002-09-17 William M. Perry <wmperry@gnu.org>
1534
1535 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1536 with cookie headers.
1537 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
1538 that cookie additions and deletions get handled immediately.
1539 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
1540 (my.yahoo.com, outlook web access, etc) work. This should also
1541 fix sites that delete cookies on invalid access or other error
1542 pages the user might not actually see.
1543 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1544 methods to GET in redirects. Too many web sites do this now, and
1545 it is just likely to confuse users.
1546
15472002-05-17 Dave Love <fx@gnu.org>
1548
1549 * texi/url.txi: Start making it vaguely useful.
1550
1551 * texi/Makefile.in (install): Cope with Debian install-info.
2a5be7dc 1552 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
10a6e6ba
SM
1553
15542002-04-22 Dave Love <fx@gnu.org>
1555
1556 * lisp/url-misc.el (man): Autoload to avoid warning.
1557 (url-man): Don't require man here.
1558 (url-data): Generalize in line with the RFC.
1559
1560 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1561
1562 * lisp/url-vars.el: Doc fixes.
1563 (url-mime-charset-string): New function.
1564 (url-mime-charset-string): Use it to set the variable.
1565 (url-set-mime-charset-string): New function.
1566 (set-language-environment-hook): Use it.
1567 (url-vars-unload-hook): New function.
1568
4dfde3dd
SM
1569 * lisp/url-cookie.el (url-header-comparison): Delete.
1570 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
1571 (url-cookie-save-interval): Make value agree with doc.
1572
1573 * lisp/url.el: Doc fixes.
1574 (url-mm-callback): Don't call mm-destroy-parts immediately for
1575 external viewing -- set up a process sentinel.
1576
15772002-02-02 William M. Perry <wmperry@gnu.org>
1578
4dfde3dd 1579 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
1580
15812001-12-12 William M. Perry <wmperry@gnu.org>
1582
1583 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1584 Monnier to use ` instead of ^ to match the relative link.
1585
15862001-12-10 William M. Perry <wmperry@gnu.org>
1587
1588 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1589 plist-get (reversed args).
1590
1591 * lisp/url-file.el (url-file-build-filename): Make sure that we
1592 have a parsed URL in this function.
1593
15942002-01-22 Dave Love <fx@gnu.org>
1595
1596 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1597
4dfde3dd
SM
1598 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1599 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
1600
1601 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1602
1603 * lisp/mule-sysdp.el: Removed (obsolete).
1604
16052001-12-09 William M. Perry <wmperry@gnu.org>
1606
1607 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1608 remove an arbitrary resource.
1609 (url-dav-delete-directory): Use it.
1610 (url-dav-delete-file): Ditto.
1611 (url-dav-make-directory): New function.
1612 (url-dav-rename-file): New function.
1613 (url-dav-register-handler): New function to easily register a
1614 WebDAV-specific file-name-handler operation.
1615 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 1616 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
1617
16182001-12-08 William M. Perry <wmperry@gnu.org>
1619
1620 * lisp/url-dav.el (url-dav-directory-files): New function to
1621 mimic `directory-files' for WebDAV.
1622 (url-dav-delete-directory): New function to mimic
1623 `delete-directory' for WebDAV.
1624
16252001-12-06 William M. Perry <wmperry@gnu.org>
1626
1627 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1628 DAV:locktoken hrefs into a usable format.
1629 (url-dav-process-response): Use an unwind-protect to make sure
1630 that we clean up the buffer, even if there is a parsing error.
1631 (url-dav-request): New function to act as the main entry point for
1632 making DAV requests. Takes care of building the XML document with
1633 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
1634 (url-dav-get-properties): Use new url-dav-request function.
1635 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
1636 extra properties we are looking for.
1637 (url-dav-unlock-resource): New function to release a lock given a
1638 URL and a lock-token.
1639 (url-dav-process-DAV:getlastmodified)
1640 (url-dav-process-DAV:creationdate)
1641 (url-dav-process-DAV:iscollection)
1642 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1643 url-dave-*!
1644 (url-dav-active-locks): New function to get a list of all the
1645 active locks for a resource.
1646 (url-dav-save-resource): New function to actually save a resource
1647 using the PUT method. I can now successfully save files to an
4dfde3dd 1648 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
1649
1650 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1651 Special case the 204/205 response codes. Some servers do not
1652 send back a 0 content-length for these, and we would hang.
1653 (url-http-parse-headers): Mark 204/205 response codes as
1654 'successful' so that the callbacks get activated.
1655 (url-http-options): Fix unbound variable usage.
1656
1657 * lisp/url-dav.el: Added full copyright information.
1658 (url-dav-process-response): Make sure that we create a DAV:status
1659 property when parsing a singleton response.
1660 (url-dav-file-attributes): If the properties returned did not have
10d1d0af 1661 a successful HTTP response code, then ignore them and use the
10a6e6ba
SM
1662 HEAD-based attributes.
1663
1664 * lisp/vc-dav.el: Added full copyright information.
1665
4dfde3dd
SM
1666 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1667 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
1668 (url-dav-file-attributes-mode-string): This now gets the entire
1669 property list instead of just the DAV:supportedlock node.
1670 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 1671 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
1672 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1673 'executable' bit to set the 'x' mode. See `mod_dav's custom
1674 properties' at http://www.webdav.org/mod_dav/ for more details.
1675 (url-dav-find-parser): New function to find the proper parser for
1676 a node-type. Looks for
1677 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1678 back to using url-dav-node-text. Caches the results on the nodes
1679 symbol name.
4dfde3dd
SM
1680 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1681 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
1682 use url-dav-dispatch-node where appropriate.
1683 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1684 property to dispatch the node, now uses dav-dispatch-node so that
1685 it is easy to add parsers for special nodes.
1686 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1687 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1688 (url-dav-process-DAV:getcontentlength)
1689 (url-dave-process-DAV:getlastmodified)
1690 (url-dave-process-DAV:creationdate)
1691 (url-dave-process-DAV:iscollection)
1692 (url-dave-process-DAV:ishidden): Aliases for the generic
1693 url-dav-process-foo-property routines.
1694 (url-dav-process-DAV:activelock)
1695 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1696 DAV:lockdiscovery nodes, so that we can find out who has a
c80e3b4a 1697 resource locked and properly parse the response to a LOCK request.
10d1d0af 1698 (url-dav-process-DAV:status): Now parses out the numeric status
10a6e6ba
SM
1699 from the HTTP response line.
1700 (url-dav-process-response): New function to handle all the
1701 parsing of an XML response from WebDAV. This handles all the
1702 logic of checking the response content-type to make sure it is
1703 XML, parses the tree, and interprets the tree.
1704 (url-dav-process-response): Make sure that all responses look
1705 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 1706 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
1707 (url-dav-get-properties): New optional argument NAMESPACES that
1708 specifies what namespaces to use in the XML request.
1709 (url-dav-get-properties): Got rid of the D: namespace in
1710 requests. It doesn't save that much space. Just use DAV:
1711 (url-dav-lock-identifier): New variable that should hold a URI
1712 pointing to contact information for the user. This will be used
1713 as the contents of the DAV:owner/DAV:href tag to identify the
1714 owner of a LOCK when requesting it. This will be shown to other
1715 users when the DAV:lockdiscovery property is requested, so make
1716 sure you are comfortable with it leaking to the outside world.
1717 (url-dav-lock-resource): New function to LOCK a dav resource.
1718
17192001-12-05 William M. Perry <wmperry@gnu.org>
1720
1721 * lisp/url-dav.el (url-dav-get-properties): New argument
1722 ATTRIBUTES that allows you to ask for specific properties instead
1723 of getting all properties via DAV:allprop.
1724
4dfde3dd
SM
1725 * lisp/url-http.el (url-http-real-basic-auth-storage):
1726 New variable for normal HTTP basic authentication.
10a6e6ba
SM
1727 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1728 basic authentication.
1729 (url-http-handle-authentication): Follow new semantics for
1730 url-basic-auth-storage.
1731
4dfde3dd 1732 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
1733 this variable. It is now a symbol pointing to where we really
1734 want to store the authorization information. This fixes proxy
4dfde3dd
SM
1735 auth and normal basic auth because of some local bindings that were
1736 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
1737 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1738 everywhere.
1739
4dfde3dd 1740 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
1741 'retrieval to the customization list.
1742
1743 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1744 statements.
1745
4dfde3dd 1746 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
1747 url-http-file-attributes so that we can have a smarter one that
1748 tries WebDAV first, then HEAD.
4dfde3dd 1749 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
1750 (url-http-options): New function that returns information gleaned
1751 from an OPTIONS request for a URL. Returns a property list
1752 returning the methods supported for the resource, what DAV and
1753 DASL levels are supported, p3p information, and whether
1754 byte-ranges are supported or not.
1755 (url-http-wait-for-headers-change-function): If we got a 0-byte
1756 content-length, activate the callback immediately.
1757 (url-http-wait-for-headers-change-function): For content-length
1758 responses with actual body-data in the chunk we are handling, call
1759 url-http-content-length-after-change-function with the remaining
1760 data. Otherwise we can deadlock if the headers and the entire
1761 body exist arrive in one chunk.
1762
1763 * lisp/url-dav.el: New file to contain the WebDAV
1764 (http://www.webdav.org/) implementation.
1765 (url-dav-supported-p): Cheap way to figure out whether we will be
1766 able to do DAV at all. We rely on the XML parser expanding
1767 namespaces for us, and currently you need a patched version of
1768 xml.el to do this. Patch sent to author for consideration.
1769 (url-dav-file-attributes): Much more complete version of
1770 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1771 finds out whether something is a directory (a WebDAV collection),
1772 the last modification time, and permissions (based on the
1773 DAV:supportedlock information).
1774 (url-dav-get-properties): Generic interface to get WebDAV
1775 properties for a URL. Can specify an optional `depth' parameter
1776 to tell the web server how many directory (collection) levels to
1777 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 1778 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
1779 (url-dav-datatype-attribute): We support the XML-Data note
1780 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1781 datatypes of attributes are. Currently only date, dateTime, int,
1782 number, float, boolean, and uri are supported.
1783
17842001-12-04 William M. Perry <wmperry@gnu.org>
1785
1786 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1787 version. If the filename matches our regexp, then it is always
1788 absolute, so just return `t'.
1789 (expand-file-name): New hooked version. If the fragment is an
1790 absolute file or URL, then expand it relative to '/'.
1791 (url-handler-regexp): New regexp for specific schemes that we
1792 want the file-name-handlers to work off of.
4dfde3dd 1793 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
1794
1795 * lisp/url-http.el (url-http-find-free-connection): Better logging
1796 about whether we are reusing an existing connection or not.
1797
4dfde3dd 1798 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
1799 to string-match instead of match-string (and with reversed
1800 arguments even).
1801
4dfde3dd 1802 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
1803 generic url-debug function to do the actual logging. Still a
1804 separate function so that we can do our magic on the network
1805 connection if the user quits while we are downloading.
1806
1807 * lisp/url-handlers.el (url-file-handler): Now logs the result of
1808 the hooked or real call.
1809
4dfde3dd 1810 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
1811
18122001-11-28 William M. Perry <wmperry@gnu.org>
1813
1814 * lisp/url-imap.el (url-imap-open-host): Use backquote.
1815 (url-imap): Now switches to 'login as the imap authenticator if
1816 the URL provides a username and password.
1817
1818 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1819 push to replace some strange logic in here.
1820 (url-run-real-handler): New function to run the real hooks in
1821 case we get a false positive or an operation that we do not
1822 support. The old way disabled _ALL_ file-name-handlers when
1823 we hit something we didn't understand - this disables JUST us.
4dfde3dd 1824 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
1825 '/' off of the first argument... it may not be safe to always
1826 assume that the first argument is the one we are acting on -
4dfde3dd 1827 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
1828 (url-setup-file-name-handlers): Use url-nonrelative-link
1829 directly. This means that you must type in the URL directly
1830 without prefixing it with a '/'.
1831
1832 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1833
1834 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1835 which activates us (because 'nnml+mail' _is_ a valid scheme name
1836 for a URI). We get thoroughly confused and end up returning
1837 `nil' when we shouldn't.
1838
18392001-11-26 William M. Perry <wmperry@gnu.org>
1840
1841 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1842 this so that visiting a URL directly will work.
1843 (file-symlink-p): Ditto.
1844 (url-insert-file-contents): If `visit' is non-nil then make sure
1845 we set buffer-file-name. After these changes you can visit
1846 http://www.gnu.org/ directly from the minibuffer.
1847 (url-insert-file-contents): When inserting the file contents,
1848 use a save-excursion so that we behave just like the original.
1849
18502001-11-25 William M. Perry <wmperry@gnu.org>
1851
4dfde3dd 1852 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
1853
18542001-11-24 William M. Perry <wmperry@gnu.org>
1855
1856 * lisp/url-about.el (url-about): New loader scheme to handle
1857 about:foo URLs. Automatically tries to find a `url-about-foo'
1858 function to display the actual data.
2941ce4b 1859 (url-about-protocols): Implement about:protocols.
10a6e6ba
SM
1860
1861 * lisp/url-http.el (url-http): Make sure that we signal an error
1862 when we cannot open a network connection for whatever reason.
1863 Before, it would just silently clean up after itself and the user
183080b6 1864 got absolutely no indication that an error had occurred. If the
10a6e6ba
SM
1865 error should truly be ignored, the caller should do that for us.
1866 (url-http-chunked-encoding-after-change-function): Doh! Need to
1867 user marker-position in some log messages now that
1868 url-http-chunked-start is a marker.
1869
18702001-11-22 William M. Perry <wmperry@gnu.org>
1871
1872 * lisp/url-https.el: Fixed definition of url-https - was using the
1873 wrong signature. Too much cut & paste.
4dfde3dd 1874 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 1875 at all. Was not taking a null `method' into account when calling
4dfde3dd 1876 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
1877
1878 * lisp/url-http.el
4dfde3dd 1879 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
1880 feedback when not debugging about what content-type and chunk # we
1881 are reading.
1882 (url-http-chunked-encoding-after-change-function): Use a marker
1883 for url-http-chunked-start so that we can safely delete the
1884 chunk-tokens instead of just marking them as invisible.
1885 (url-http-chunked-encoding-after-change-function): Actually delete
1886 the chunk-tokens. Now that we are not run from 'real'
1887 after-change functions, this is safe, and the right thing to do.
1888 Otherwise the HTML parser still saw them and inferred all sorts of
1889 bad things about the document (ie: nothing had a title!)
1890
18912001-11-21 William M. Perry <wmperry@gnu.org>
1892
1893 * lisp/url-http.el (url-http-debug): Document this variable.
1894 People other than I might want to use it.
1895 (url-http-debug): Put some code in here to check quit-flag
1896 directly. When the chunked encoding went into a tight spin, your
1897 Emacs would be wedged forever. This short-circuits all the
1898 after-change functions and signals an error.
1899 (url-http-debug): If url-http-debug is non-nil and non-t, then log
1900 the debug messages using `message' as well as sending them to the
1901 buffer.
1902 (url-http-chunked-encoding-after-change-function): Got rid of the
1903 no-initial-crlf. Had an epiphany and I can just infer this from
1904 url-http-chunked-counter being 0.
4dfde3dd 1905 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
1906 statement about reading chunk #foo into the loop so that each
1907 chunk will have a log message associated with it.
1908 (url-http-chunked-encoding-after-change-function): Make sure to
1909 set read-next-chunk to nil when the regular expression match fails
1910 to fire. Otherwise we could loop forever.
4dfde3dd
SM
1911 (url-http-chunked-encoding-after-change-function): Tweak the
1912 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
1913 (url-http-wait-for-headers-change-function): Remove the last
1914 argument when calling
1915 url-http-chunked-encoding-after-change-function. It is no longer
1916 needed. I should use my brain sometime.
1917
4dfde3dd 1918 * lisp/url-vars.el (and): Fix feature test for xemacs and
fffa137c 1919 coding-system-list behavior.
10a6e6ba
SM
1920
1921 * lisp/url-http.el
4dfde3dd
SM
1922 (url-http-chunked-encoding-after-change-function): Add optional
1923 no-initial-crlf flag that modifies the regular expression.
1924 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 1925 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 1926 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 1927 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 1928 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
1929 url-http-debug calls to help track down problems in the chunked
1930 encoding.
1931 (url-http-chunked-encoding-after-change-function): The chunk
1932 reading in here is now in a while loop so that if Emacs feeds us a
1933 chunk of data that happens to contain more than one 'chunk'
1934 delimiter, we behave correctly.
1935 (url-http-wait-for-headers-change-function): Make sure that we
1936 pass no-initial-crlf to
1937 url-http-chunked-encoding-after-change-function when passing
1938 initial data to the decoder.
1939 (url-http-generic-filter): url-http-debug statement so we can tell
1940 when/where our after-change-functions are being called.
1941
19422001-10-11 Dave Love <fx@gnu.org>
1943
1944 * lisp/url-handlers.el: Doc fixes.
1945 (string-match): Use (featurep 'xemacs).
1946
1947 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
1948
1949 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
1950
1951 * lisp/url-vars.el (url-running-xemacs): Delete.
1952 (url-gateway-unplugged): New variable.
1953
1954 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
1955 Comment out OS/2 stuff.
1956
19572001-10-05 Dave Love <fx@gnu.org>
1958
1959 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
1960 without confirmation.
1961
19622001-10-02 Dave Love <fx@gnu.org>
1963
1964 * lisp/url-http.el (url-http-create-request): Check cache for
1965 proxy-obj, if defined, rather than url.
1966 (url-http): Use dolist, not mapc (runtime cl dependency).
1967
1968 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
1969 (url-scheme-register-proxy): Fix fetching from environment.
1970 Don't concat a number.
10a6e6ba
SM
1971
19722001-10-01 Dave Love <fx@gnu.org>
1973
1974 * lisp/url-parse.el: Use modern backquote syntax.
1975
1976 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
1977 (url-mail-command): Prefer compose-mail.
1978 (tcp-binary-process-input-services): Comment out.
1979 (url-working-buffer): New constant.
1980
1981 * lisp/url-util.el (url-extract-mime-headers): New function.
1982
1983 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
1984 User-Agent.
1985
19862001-09-20 Dave Love <fx@gnu.org>
1987
4dfde3dd 1988 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
1989
19902001-06-05 Dave Love <fx@gnu.org>
1991
1992 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 1993 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
1994 (url-retrieve): Barf with sensible message if url-type is null.
1995
1996 * lisp/url-http.el (url-http): Don't try to set process
1997 coding-system here -- done in url-gw.
1998
1999 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2000 (url-open-stream): Bind coding-system-for{read,write} when setting
e4769531 2001 up the connection. Don't call url-gw-inhibit-code-conversion.
10a6e6ba 2002
4dfde3dd
SM
20032001-05-24 William M. Perry <wmperry@gnu.org>
2004
2005 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2006 in url-retrieve-synchronously.
2007
10a6e6ba
SM
20082001-05-23 William M. Perry <wmperry@gnu.org>
2009
2010 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2011 accept-process-output. This is evidently causing hangs in Emacs
2012 21 when viewing complex pages with images or stylesheets.
2013 www.yahoo.com is now viewable.
2014
2015 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2016 (mule-inhibit-code-conversion) and just have a local function that
2017 does this minimal cruft.
2018 (url-gw-inhibit-code-conversion): New function to turn off code
2019 conversion in a process.
2020
20212001-05-22 William M. Perry <wmperry@gnu.org>
2022
2023 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2024 that we can allow multiple asynch retrievals to happen at once.
2025 (url-retrieve-synchronously): Use a much smaller timeout when
2026 doing the accept-process-output. This gets rid of the long delays
2027 if you are on a fast net connection and retrieve small documents
2028 that finish asynchronously before the first accept-process-output
2029 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 2030 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
2031 (url-retrieve): Ditto.
2032 (url-mm-url): Ditto.
2033
2034 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2035 documentation strings. Ok, so I'm anal.
2036
2037 * lisp/url-methods.el (url-scheme-methods): Add default methods
2038 for file-directory-p and file-truename.
2039
20402001-05-22 Dave Love <fx@gnu.org>
2041
2042 * lisp/url-auth.el (url-warn): Autoload.
2043
2044 * lisp/url-proxy.el (url-warn): Autoload.
2045
2046 * lisp/url-nfs.el: Fix `file-truname' typo.
2047
2048 * lisp/url-news.el: Require cl when compiling.
1ac3c910 2049 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 2050 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
2051 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2052
2053 * lisp/url-util.el (mule-decode-string): Don't autoload.
2054 (url-hexify-string): Just barf on multibyte characters.
2055 (url-generate-unique-filename): New function.
2056
2057 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2058 not mm-generate-unique-filename.
2059
2060 * lisp/url-http.el: Declare things special in various places.
2061 (url-http-activate-callback): Don't set
2062 url-http-real-after-change-function.
2063
20642001-05-22 William M. Perry <wmperry@gnu.org>
2065
2066 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2067 control whether we try to do keep-alives for our connections.
2068 (url-http-version): New variable to control whether we advertise
2069 ourselves as an HTTP/1.1 client or not. This can be useful for
2070 avoiding chunked encoding, and other 1.1 features we may not have
2071 fully implemented yet.
2072 (url-http-create-request): Honor the new variables.
2073
20742001-05-21 Dave Love <fx@gnu.org>
2075
2076 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2077 in XEmacs.
2078 (url-mime-charset-string): Don't reverse the list before sorting.
2079
20802001-05-17 William M. Perry <wmperry@gnu.org>
2081
2082 * lisp/url-http.el (url-http-generic-filter): Avoid using
2083 after-change-functions natively. There are just too many ways
2084 that this screws up in Emacs 21. Use a filter function on the
2085 process instead, and call the hook on
2086 url-http-after-change-function manually. [Actually, it will work
2087 in Emacs 21, but one problem that has been fixed in Emacs 21
2088 exists in Emacs 20. -- fx]
2089
2090 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2091 does not exist on older versions of Emacs, or any version of
2092 XEmacs. Do not call it unless it is bound.
2093
20942001-05-17 Dave Love <fx@gnu.org>
2095
2096 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2097
20982001-05-16 Dave Love <fx@gnu.org>
2099
2100 * lisp/url-vars.el: Doc fixes. Require mm-util.
2101 (url-mime-charset-string): New variable.
2102
2103 * lisp/url-http.el: Doc fixes.
2104 (url-http-create-request): Rearrange how we assemble the request.
2105 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 2106 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
2107 (url-http): Call mm-disable-multibyte. Set process buffer's
2108 coding systems to binary.
2109
2110 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2111
4dfde3dd 2112 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 2113 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 2114 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
2115
2116 * lisp/url-cache.el: Don't require mule-sysdp.
2117 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2118
2119 * lisp/url.el: Don't require mule-sysdp.
2120 (url-retrieve): Only set text properties if url is a string.
2121
21222001-05-14 Dave Love <fx@gnu.org>
2123
4dfde3dd
SM
2124 * lisp/url-http.el (url-http-create-request):
2125 Declare proxy-object, proxy-info special.
10a6e6ba
SM
2126 (url-http-handle-authentication): Declare success special.
2127
21282001-05-12 Dave Love <fx@gnu.org>
2129
2130 * lisp/url-http.el: Revert last change.
2131
21322001-05-10 Dave Love <fx@gnu.org>
2133
4dfde3dd
SM
2134 * lisp/url-http.el (url-http-generic-after-change-function):
2135 Make it permanent-local.
10a6e6ba
SM
2136
21372001-05-05 Dave Love <fx@gnu.org>
2138
2139 * lisp/url-http.el: Autoload some functions.
2140 (cl): Require when compiling.
2141 (url-http-extra-headers): Defvar when compiling.
2142 (url-http): Treat after-change-functions as a local hook.
2143
2144 * lisp/url-history.el (url-parse): Require.
2145 (url-do-setup): Autoload.
2146
2147 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2148
2149 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2150 Use (featurep 'xemacs).
2151 (url-file-build-filename): Bind pos-index.
2152 (url-file): Call url-find-file-dired, not url-dired-find-file.
2153
4dfde3dd 2154 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
2155 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2156 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 2157 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
2158
2159 * lisp/url-cid.el: Don't require widget. Require mm-decode
2160 unconditionally.
2161
2162 * lisp/url-util.el: Autoload mule-decode-string,
2163 timezone-parse-date, timezone-make-date-arpa-standard.
2164 (url-unreserved-chars): Fix list per RFC 2396.
2165 (url-hexify-string): Maybe string-make-unibyte.
2166
2167 * lisp/url-news.el: Require nntp.
2168
2169 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2170 unconditionally.
2171
21722001-05-04 Dave Love <fx@gnu.org>
2173
2174 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2175 not non-existent mailcap-generate-unique-filename.
2176
4dfde3dd 2177 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 2178
4dfde3dd
SM
2179 * lisp/url-parse.el: Require url-vars.
2180 Autoload url-scheme-get-property.
10a6e6ba
SM
2181
2182 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2183 with featurep.
2184
2185 * lisp/url-mailto.el: Require cl when compiling.
2186
4dfde3dd
SM
2187 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2188 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
2189
2190 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2191
21922001-04-09 Dave Love <fx@gnu.org>
2193
2194 * lisp/mule-sysdp.el (mule-detect-coding-version)
2195 (mule-code-convert-region, mule-inhibit-code-conversion)
2196 (mule-write-region-no-coding-system, mule-encode-string)
2197 (mule-decode-string, mule-truncate-string)
2198 (mule-find-charset-region, mule-coding-system-name)
2199 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2200 [There must be a better way.]
2201 (mule-coding-system-p, string-width): Use defalias.
2202
22032001-01-03 Sam Steingold <sds@gnu.org>
2204
2205 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2941ce4b 2206 set `url-http-end-of-headers' to 0 for HTTP 0.9.
10a6e6ba
SM
2207
22082001-01-02 Sam Steingold <sds@gnu.org>
2209
2941ce4b 2210 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
10a6e6ba
SM
2211
22122000-12-22 Dave Love <fx@gnu.org>
2213
2214 * lisp/url-history.el (url): Don't require (to avoid recursion).
2215 (cl): Require when compiling.
2216
2217 * lisp/url-http.el (url-auth): Require.
2218 (url-http-handle-authentication): Fix typo.
2219
2220 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2221
22222000-12-20 Dave Love <fx@gnu.org>
2223
2224 * lisp/url.el: Require mm-decode, mm-view when compiling.
2225 <not (fboundp 'puthash)>: Define puthash and
2226 autoload other has functions rather than using cl-...hash.
2227 (url-warn): Define.
2228
4dfde3dd
SM
2229 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2230 Avoid cl-...hash functions.
10a6e6ba
SM
2231
2232 * lisp/url-history.el: Avoid cl-...hash functions.
2233 (url): Require.
2234
1ac3c910 2235 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
2236
22372000-10-03 William M. Perry <wmperry@aventail.com>
2238
4dfde3dd 2239 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
2240 getting set to nil due to bad string matching. Subsequent matches
2241 would then choke because we passed string-match a nil.
2242
2243 * lisp/url-http.el (url-http-parse-headers): Need to make the
2244 connection as 'free' when we get a 304 response (found in cache),
10d1d0af 2245 or when a keep-alive connection timed out, it would re-parse the
10a6e6ba
SM
2246 headers and dispatch to the callback again. Eek.
2247
22482000-10-02 William M. Perry <wmperry@aventail.com>
2249
2250 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 2251 implement chunked transfer-coding.
10a6e6ba
SM
2252 (url-http-create-request): We can now advertise ourselves as a 1.1
2253 compliant browser!
2254
22552000-07-28 Sam Steingold <sds@gnu.org>
2256
2257 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2258 `cbargs' are optional args (for calling from w3).
4dfde3dd 2259 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
2260 with `string-match' and `protocol' with `scheme'.
2261
22622000-07-18 Sam Steingold <sds@gnu.org>
2263
4dfde3dd
SM
2264 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2265 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
2266
22672000-07-10 William M. Perry <wmperry@aventail.com>
2268
2269 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2270 mule, and the character requested is > 255, then return "~"
2271 instead of letting whoever call us signal an error when they try
2272 to insert the character.
2273 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 2274 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 2275
4dfde3dd 2276 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
2277 for cid parts.
2278
2279 * lisp/url-util.el (url-display-percentage): New routine that uses
2280 the progress bar under XEmacs if available. Looks very sexy under
2281 XEmacs/GTK hacked to use the GNOME statusbar.
2282
2283 * lisp/url-http.el
2284 (url-http-content-length-after-change-function): Use new function
2285 url-display-percentage instead of url-lazy-message.
2286
22872000-01-27 William M. Perry <wmperry@aventail.com>
2288
2289 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 2290 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
2291
22921999-12-24 William M. Perry <wmperry@aventail.com>
2293
2294 * lisp/url-irc.el: Added pointer to draft specification for the
2295 IRC URL so people don't think I'm crazy.
2296
2297 * configure.in: Checks to make sure that Gnus was found, since we
2941ce4b 2298 HAVE to have it now. Removed conditional compilation of url-cid.el.
10a6e6ba 2299
1ac3c910 23001999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
2301
2302 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2303 () to have periods at the end of the chunk.
2304
23051999-12-14 William M. Perry <wmperry@aventail.com>
2306
4dfde3dd 2307 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
2308 (url-info): Autoload.
2309 (url-man): Ditto.
2310 (url-rlogin): Ditto.
2311 (url-telnet): Ditto.
2312 (url-tn3270): Ditto.
2313 (url-generic-emulator-loader): Ditto.
2314
2315 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2316 to wrap arbitrary `http' methods with the appropriate magic to
2317 turn SSL on.
2318 (file-exists-p): Use it.
2319 (file-readable-p): Use it.
2320 (file-attributes): Use it.
2321
2322 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2323 server spec for Gnus, make sure we set
2324 nntp-open-connection-function directly, so that other news-related
2325 functions above us can set it.
2326 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2327 (url-nntp): Autoload.
2328 (url-snews): Ditto.
2329 (url-news): Ditto.
2330
23311999-12-12 William M. Perry <wmperry@aventail.com>
2332
2333 * lisp/url-http.el (url-http-parse-response): New function to
2334 parse just the HTTP response code out of the buffer, without
2335 taking any other actions.
2336 (url-http-wait-for-headers-change-function): Use it here when we
2337 know we have an HTTP/1.x response.
2338 (url-http-wait-for-headers-change-function): Special case a
2339 response code of '304' or there could be some delays waiting for
2340 keep-alives to time out on cached documents with no known
2341 content-length on the server.
2342
23431999-12-11 William M. Perry <wmperry@aventail.com>
2344
2345 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2346 the Makefile does that for us. We just need to provide what files
2347 to load/functions to run.
2348
2349 * lisp/url-imap.el (url-imap-open-host): Need to bind
2350 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 2351 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 2352
1ac3c910 23531999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
2354
2355 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2356
23571999-12-11 William M. Perry <wmperry@aventail.com>
2358
2359 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2360 ange-ftp vs. efs calling semantics consistent, so that if someone
2361 has NEITHER of them loaded, everything should still work.
2362
2363 * lisp/url-handlers.el (url-copy-file): Autoload.
2364 (url-file-local-copy): Ditto.
2365 (url-insert-file-contents): Ditto.
2366 (url-setup-file-name-handlers): Ditto.
2367
23681999-12-10 William M. Perry <wmperry@aventail.com>
2369
2370 * lisp/url-http.el (mail-parse): Since we use functions from here,
2371 we should require it, eh?
2372
1ac3c910 23731999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
2374
2375 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2376 if nil.
2377 (url-cookie-generate-header-lines): Use it.
2378
23791999-12-06 William M. Perry <wmperry@aventail.com>
2380
2381 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2941ce4b 2382 4.1 gracefully.
10a6e6ba 2383
4dfde3dd
SM
2384 * lisp/url-news.el: Reimplemented news and nntp URL support.
2385 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
2386 will not work without them anyway.
2387
23881999-12-05 Dave Love <fx@gnu.org>
2389
2390 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2391 lisp/url.el:
2392 Require url-parse.
2393
23941999-12-05 William M. Perry <wmperry@aventail.com>
2395
2396 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2397 message when we have to contact a host so the user always gets
2398 at least some feedback.
2399
f49d1f52 2400 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
10a6e6ba
SM
2401 renamed function.
2402 (url-default-expander): Use it.
2403
4dfde3dd
SM
2404 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2405 as well as efs.
2406 (url-file): Add default content-type of application/octet-stream if
2407 none known.
2941ce4b 2408 (url-file): Correct bad call to url-host-is-local-p.
10a6e6ba
SM
2409
2410 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2411 like buffer-substring with nil arguments.
2412 (url-copy-file): Use mm-destroy-parts instead of just killing
2413 the buffer. Use defined interfaces when available!
2414 (url-insert-file-contents): Ditto.
2415
2416 * lisp/url-http.el (url-http-create-request): Lots of changes to
2417 get proxying working.
2418
2419 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2420 find and register a proxy for a specific scheme.
2421 (url-scheme-get-property): Use it when we load a URL scheme for
2422 the first time.
2423
2941ce4b 2424 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
10a6e6ba
SM
2425
24261999-12-04 William M. Perry <wmperry@aventail.com>
2427
2428 * lisp/url-file.el (url-file): Signal an error if
2429 url-file-build-filename could not find the filename.
2430
24311999-12-01 William M. Perry <wmperry@aventail.com>
2432
2433 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2434 of manipulating the hash table directly.
2435
2436 * lisp/url-history.el (url-completion-function): New function to
2437 use for reading a URL with completion.
2438 (url-history-update-url): New function to hide the hashtable
2439 implementation from people inserting things into the history.
2440
24411999-11-30 William M. Perry <wmperry@aventail.com>
2442
2443 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2444 working.
2445
2446 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 2447 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
2448
2449 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2450 (url-copy-file): Ditto.
2451
2452 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2453 just killing the buffer. Use defined interfaces when available!
2454
2455 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2456 AC_FD_CC so they show up in config.log
2457 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2458 this always return 't' instead of 'yes' on successfully finding
2459 the library.
2460
4dfde3dd 2461 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
2462 DAV-specific error codes.
2463
4dfde3dd 2464 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
2465 (url-retrieve-synchronously): Duh, make this function actually
2466 work again. Numerous problems with it, including variable name
2467 collisions - I love dynamically scoped lisps!
2468
2469 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 2470 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba 2471
a98edce9 2472 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
10a6e6ba
SM
2473 might get messy with file-name-handlers and things.
2474
2475 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2476 using 'HEAD' requests. Thou shalt not change the length of the
2477 region during an after-change-function.
2478
2479 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 2480 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
2481 (url-scheme-get-property): Use it.
2482
24831999-11-29 William M. Perry <wmperry@aventail.com>
2484
4dfde3dd 2485 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
2486 (url-http-file-exists-p): Ditto.
2487
2488 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2489
2490 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2491 file-name-handler stubs for all the FTP/FILE stuff.
2492
2493 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2494 cruft. Generic interface on top of functions that each URL
2495 loader provides, if capable.
2496
24971999-11-27 William M. Perry <wmperry@aventail.com>
2498
2499 * lisp/url-https.el: Implemented HTTPS support.
2500
25011999-11-26 William M. Perry <wmperry@aventail.com>
2502
2503 * url-privacy.el (url-setup-privacy-info): Don't rely on
2504 device-type being defined. Not going to bother redistributing
2505 devices.el for just one function.
2506
2507 * url-methods.el (url-scheme-get-property): Emacs does not have
2508 the 3rd-argument to plist-get to specify the default. *sigh*
2509
4dfde3dd 2510 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 2511
4dfde3dd
SM
2512 * url-http.el (url-http-generic-after-change-function):
2513 New function, since Emacs does not allow you to change the
10a6e6ba
SM
2514 after-change-functions variable from within a function run by
2515 said hook. This just hands it off to the REAL function.
2516 Side-effect is that this now works on Emacs at all. :)
2517
2518 * Initial checkin of rewritten URL library.
2519
1513a14b
GM
2520;; Local variables:
2521;; coding: utf-8
1513a14b
GM
2522;; End:
2523
acaf905b 2524 Copyright (C) 1999, 2001-2002, 2004-2012 Free Software Foundation, Inc.
5b87ad55
GM
2525
2526 This file is part of GNU Emacs.
2527
4936186e 2528 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 2529 it under the terms of the GNU General Public License as published by
4936186e
GM
2530 the Free Software Foundation, either version 3 of the License, or
2531 (at your option) any later version.
5b87ad55
GM
2532
2533 GNU Emacs is distributed in the hope that it will be useful,
2534 but WITHOUT ANY WARRANTY; without even the implied warranty of
2535 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2536 GNU General Public License for more details.
2537
2538 You should have received a copy of the GNU General Public License
4936186e 2539 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.