Link to info manual in `defgroup'.
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
ed85dee6
RS
12014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2
3 * url-vars.el (url): Link to info manual.
4
a129f1df 52014-01-08 Jarosław Rzeszótko <sztywny@gmail.com> (tiny change)
e3e52a01
JR
6
7 * url-http.el (url-http-create-request): Don't add extra \r\n after
8 http data (bug#16220).
9
9c61f806
GM
102013-12-28 Glenn Morris <rgm@gnu.org>
11
12 * url-history.el (url-history-track):
13 * url-vars.el (url-honor-refresh-requests): Fix custom types.
14
d506bc1d
LL
152013-12-20 Leo Liu <sdl.web@gmail.com>
16
17 * url.el (url-retrieve-synchronously): Add optional arg SILENT and
18 INHIBIT-COOKIES.
19
0bf29ba6
LL
202013-09-29 Leo Liu <sdl.web@gmail.com>
21
22 * url-util.el (url-pretty-length): Make obsolete and all uses
23 changed to file-size-human-readable.
24
35cc4737
GM
252013-09-18 Glenn Morris <rgm@gnu.org>
26
27 * url-http.el (zlib-decompress-region): Declare.
28
a19f6c63
GM
292013-09-16 Glenn Morris <rgm@gnu.org>
30
31 * url-misc.el (url-data): Avoid match-data mix-up with base64 case.
32 Use Content-Transfer-Encoding rather than Content-Encoding. (Bug#15285)
33
d6a04266
GM
342013-09-13 Glenn Morris <rgm@gnu.org>
35
36 * url-http.el (url-handle-content-transfer-encoding):
37 * url-vars.el (url-mime-encoding-string): Silence compiler.
38
6c195442
LMI
392013-08-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
40
41 * url-http.el (url-http-parse-headers): Always place point at the
42 start of the buffer instead of just 80% of the time.
43
8a44a184
LMI
442013-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
45
46 * url-http.el (url-handle-content-transfer-encoding): Renamed
47 `zlib-decompress-gzipped-region' and check whether it's available,
48 too.
7699d09e
LMI
49 (url-handle-content-transfer-encoding): Renamed
50 `zlib-decompress-region' again.
8a44a184 51
6edea0a5
LMI
522013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
53
54 * url-vars.el (url-mime-encoding-string): If we have built-in gzip
55 support, say that we accept gzipped content.
56
57 * url-http.el (url-handle-content-transfer-encoding): Support
58 decompressing gzipped content.
59
42d43952
SM
602013-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * url-handlers.el (url-file-name-completion)
63 (url-file-name-all-completions): Don't signal errors (bug#14806).
64
3a3f390d
SM
652013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * url-http.el (status): Remove, unused.
68 (success): Remove var.
69 (url-http-handle-authentication): Return the value that `success'
70 should take instead of setting `success' directly. Don't set `status'
71 since it's not used.
72 (url-http-parse-headers): Avoid unneeded setq.
73 Move the `setq success'.
74 (url-http): Use pcase.
75 (url-http-file-exists-p): Simplify.
76
843571cb
LMI
772013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
78
79 * url-cookie.el: Implement a command and mode for displaying and
80 editing cookies.
2b4f0506 81 (url-cookie-mode): Fix mode name.
843571cb 82
6bfd7cd0
GM
832013-06-21 Glenn Morris <rgm@gnu.org>
84
85 * url-future.el (url-future-call): Remove useless value call.
86
be32a13f
GM
872013-05-23 Glenn Morris <rgm@gnu.org>
88
89 * url.el (mm-dissect-buffer, mm-display-part): Declare.
90
af742248
GM
912013-05-22 Glenn Morris <rgm@gnu.org>
92
93 * url-handlers.el (mm-save-part-to-file, mm-destroy-parts)
94 (mm-decode-string, mail-content-type-get): Declare.
95
f440830d
GM
962013-05-21 Glenn Morris <rgm@gnu.org>
97
98 * url-dav.el (url-http): Require it.
99 (url-http-head-file-attributes): Don't autoload it.
100
101 * url-proxy.el (url-http): Autoload it.
102
ed8be7ff
GM
1032013-05-15 Glenn Morris <rgm@gnu.org>
104
105 * url-news.el (url-news): Remove empty custom group.
106
fe2219e2
GM
1072013-02-16 Glenn Morris <rgm@gnu.org>
108
109 * url-http.el (url-http-wait-for-headers-change-function):
110 Avoid prematurely finding the end of headers when they arrive
111 line-by-line. (Bug#13598)
112
37a56656
SM
1132013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * url-cache.el (url-cache-create-filename-using-md5): Don't waste your
116 time `requiring' a builtin feature.
117
33d35987
TA
1182012-12-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
119
120 * url-http.el (url-http-end-of-document-sentinel): Bind relevant
121 url-request-* variables around the call to url-http (Bug#11469).
122
123 * url-expand.el (url-default-expander): Don't calculate a default
124 url port before checking url-type (Bug#12374).
125
1262012-12-22 Chong Yidong <cyd@gnu.org>
127
128 * url-parse.el (url-port): Doc fix.
129
1c960c45
CY
1302012-12-03 Chong Yidong <cyd@gnu.org>
131
132 * url-misc.el (url-do-terminal-emulator): Use make-term instead of
133 terminal-emulator.
134
076a4db2
LS
1352012-10-13 Liam Stitt <stittl@cuug.ab.ca> (tiny change)
136
137 * url-vars.el (url-uncompressor-alist):
138 * url-file.el (url-file-find-possibly-compressed-file, url-file):
139 Recognize .xz compression (Bug#11839).
140
b1367cba
CY
1412012-10-13 Chong Yidong <cyd@gnu.org>
142
143 * url-http.el (url-http):
144 * url.el (url-retrieve-internal): Doc fix (Bug#6407).
145
97fbed87
GM
1462012-10-08 Glenn Morris <rgm@gnu.org>
147
148 * url-methods.el (url-scheme-get-property): url-https.el was
149 merged into url-http.el, so load the latter for https. (Bug#12599)
150
e79186e5
SM
1512012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * url-http.el (url-http-user-agent-string): Leak less info.
154 (url-http, url-http-file-exists-p, url-http-file-readable-p)
155 (url-http-file-attributes, url-http-options, url-https-default-port)
156 (url-https-asynchronous-p): Don't autoload.
157
23855148
SM
1582012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * url-handlers.el (url-file-handler): Don't assume any url-FOO function
161 is a good handler for FOO.
162 (url-copy-file, url-file-local-copy, url-insert-file-contents)
163 (url-file-name-completion, url-file-name-all-completions)
164 (url-handlers-create-wrapper): Explicitly register as handler.
165
04558d31
BG
1662012-09-29 Bastien Guerry <bzg@gnu.org>
167
168 * url-util.el (url-insert-entities-in-string)
169 (url-build-query-string): Fix docstrings.
170
59f7af81
CY
1712012-09-25 Chong Yidong <cyd@gnu.org>
172
173 * url-parse.el (url-recreate-url-attributes):
174 * url-util.el (url-generate-unique-filename): Use declare to mark
175 obsolete.
176
89534796
SM
1772012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * url-http.el (url-http-parse-headers): Re-enable file-name-handlers
180 (bug#11981).
181
577d5eea
DE
1822012-08-12 David Engster <deng@randomsample.de>
183
184 * url-util.el (url-file-directory, url-file-nondirectory): Avoid
185 file-name-directory and file-name-nondirectory internally (bug#11981).
186
4ed1626d
JR
1872012-08-11 Jason Rumney <jasonr@gnu.org>
188
189 * url-http.el (url-http-create-request): Use url-http-proxy to
46fab912 190 look up proxy credentials (Bug#12069).
4ed1626d 191
7fa20d96
DE
1922012-07-28 David Engster <deng@randomsample.de>
193
577d5eea 194 * url-dav.el (url-dav-supported-p): Add doc-string and remove
7fa20d96
DE
195 check for feature `xml' and function `xml-expand-namespace' which
196 never existed in Emacs proper.
197 (url-dav-process-response): Remove all indentation and newlines
198 from XML before parsing. Change call to `xml-parse-region' to do
199 namespace expansion with simple qualified names (Bug#11916).
200 (url-dav-request): Add autoload.
201 (url-dav-directory-files): Properly deal with empty directories.
202 Unhex URL before generating relative URLs.
203 (url-dav-file-directory-p): Fix check for 'DAV:collection.
204
a464a6c7
SM
2052012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * url.el, url-queue.el, url-parse.el, url-http.el, url-future.el:
208 * url-dav.el, url-cookie.el: Use cl-lib.
209 * url-util.el, url-privacy.el, url-nfs.el, url-misc.el, url-methods.el:
210 * url-gw.el, url-file.el, url-expand.el: Dont use CL.
211
938beca4
GM
2122012-06-30 Glenn Morris <rgm@gnu.org>
213
214 * url-vars.el (mm-mime-mule-charset-alist, mm-coding-system-p):
215 Declare.
216
a3f10d3e
CY
2172012-06-21 Chong Yidong <cyd@gnu.org>
218
219 * url.el (url-retrieve-internal): Fix last change (Bug#11627).
220
22c4001c
JB
2212012-06-13 Juanma Barranquero <lekktu@gmail.com>
222
223 * url-handlers.el (url-handler-regexp): Declare.
224
47fc1d6b
CY
2252012-06-12 Chong Yidong <cyd@gnu.org>
226
227 * url-handlers.el: Re-order file to avoid recursive load.
228
f1a4e679
CY
2292012-06-12 Chong Yidong <cyd@gnu.org>
230
231 * url-handlers.el (url-handler-regexp):
232 * url-nfs.el (url-nfs-automounter-directory-spec):
233 * url-vars.el (url-load-hook): Convert to defcustom.
234
9979ea1c
LL
2352012-05-25 Leo Liu <sdl.web@gmail.com>
236
237 * url-http.el (url-http-codes): Fix mal-formed defconst.
238
530e968e
TZ
2392012-05-15 Ian Eure <ian@simplegeo.com>
240
4f0f72be 241 * url-util.el (url-build-query-string): New function (Bug#8706).
530e968e
TZ
242 (url-parse-query-string): Allow that '=' is not required and split
243 URL parameters on ';', not just '&'.
244
ac9f0b75
LMI
2452012-05-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
246
247 * url-expand.el (url-default-expander): Copy over the fullness of
248 the new URL object based on the definition URL object.
249
9f9aa044
CY
2502012-05-10 Chong Yidong <cyd@gnu.org>
251
577d5eea
DE
252 * url-parse.el (url-path-and-query, url-port-if-non-default):
253 New functions.
9f9aa044
CY
254 (url-generic-parse-url): Don't set the portspec slot if it is not
255 specified; that is what `url-port' is for.
256 (url-port): Only require the scheme to be specified to call
257 url-scheme-get-property.
258
259 * url-util.el (url-encode-url): Use url-path-and-query.
260
261 * url-vars.el (url-mime-charset-string): Load mm-util lazily.
262
ce7b18ec
CY
2632012-05-09 Chong Yidong <cyd@gnu.org>
264
265 * url-util.el (url-encode-url): New function for URL quoting.
266 (url-encoding-table, url-host-allowed-chars)
267 (url-path-allowed-chars): New constants.
bdac2d37 268 (url--allowed-chars): New helper function. Use upper-case.
ce7b18ec
CY
269 (url-hexify-string): Use them.
270
271 * url-parse.el: Improve RFC 3986 conformance.
272 (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
273 since this is not reliable for general RFC 3986 URIs. Keep the
274 whole path and query inside the FILENAME slot. Improve docstring.
275 (url-recreate-url-attributes): Mark as obsolete.
276 (url-recreate-url): Handle missing scheme and userinfo.
9f9aa044 277 (url-path-and-query): New function.
ce7b18ec
CY
278
279 * url-http.el (url-http-create-request): Ignore obsolete
280 attributes slot of url-object.
281
282 * url-vars.el (url-nonrelative-link): Make the regexp stricter.
283
284 * url.el (url-retrieve-internal): Use url-encode-url (Bug#7017).
285
e95a67dc
SM
2862012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * url.el (url-retrieve-synchronously): Replace lexical-let by
289 lexical-binding.
290
a967e26b
WX
2912012-04-10 William Xu <william.xwl@gmail.com> (tiny change)
292
293 * url.el (url-retrieve-internal): Hexify multibye URL string first
294 when necessary (bug#7017).
295
2962012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
297
298 * url.el (url-retrieve-internal): Mention utf-8 encoding.
299 (url-retrieve): Ditto.
300
9ea49b28
LMI
3012012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
302
a12bf61e 303 * url-domsuf.el: New file (bug#1401).
9ea49b28
LMI
304
305 * url-cookie.el (url-cookie-two-dot-domains): Remove.
306 (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
307 instead of the variable above.
308
e0fe1d55
LMI
3092012-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
310
311 * url-queue.el (url-queue-kill-job): Check whether the buffer has
312 been killed asynchronously before selecting it.
313
cc2ab732
LMI
3142012-03-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
315
316 * url-queue.el (url-queue-kill-job): Make sure that the callback
317 is always called, even if we have a timeout.
318
09100633
CY
3192012-03-11 Chong Yidong <cyd@gnu.org>
320
e95a67dc
SM
321 * url-http.el (url-http-end-of-document-sentinel):
322 Handle keepalive expiry by calling url-http again (Bug#10223).
09100633
CY
323 (url-http): New arg, for the above.
324
179f6911
DSM
3252012-03-11 Devon Sean McCullough <emacs-hacker2012@jovi.net>
326
327 * url-http.el (url-http-find-free-connection): Don't pass a nil
328 argument to url-http-mark-connection-as-busy (bug#10891).
329
1e54a73b
LI
3302012-02-20 Lars Ingebrigtsen <larsi@gnus.org>
331
27e7172c
LI
332 * url-queue.el (url-queue-kill-job): Delete the process sentinel
333 before killing the process to avoid a race condition between the
334 two processes killing off the process buffer.
335
1e54a73b
LI
336 * url.el (url-retrieve-internal): Warn about file errors when
337 pruning the cache instead of bugging out (bug#10831).
338
55645c67
LI
3392012-02-19 Lars Ingebrigtsen <larsi@gnus.org>
340
341 * url-queue.el (url-queue-callback-function): Remove the job from
342 the queue so that we don't kill the current buffer, which will
343 then make the callback function kill a random buffer.
344
f15bcb40
LI
3452012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
346
347 * url-queue.el (url-queue-kill-job): Refactored out code.
348 (url-queue-remove-jobs-from-host): Use it to kill jobs that are in
349 flight.
350
e72a771d
TZ
3512012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
352
353 * url-future.el: Minor doc update.
354
1deeb569
LL
3552012-02-14 Leo Liu <sdl.web@gmail.com>
356
357 * url-future.el: Fix last change.
358
6c0c7cfc
TZ
3592012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
360
361 * url-future.el (url-future-test): Move to test/automated.
362
3b8eb822
LI
3632012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
364
365 * url-http.el (url-http-parse-headers): When redirecting, pass on
366 the `inhibit-cookie' parameter.
367
a48ec60c
GM
3682012-02-10 Glenn Morris <rgm@gnu.org>
369
370 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
371
d7c5e162
AS
3722012-02-10 Andreas Schwab <schwab@linux-m68k.org>
373
374 * url-http.el (url-http-clean-headers): Return the number of
375 removed characters.
376 (url-http-wait-for-headers-change-function): Adjust end position
377 after cleaning the headers. (Bug#10768)
378
b74c9672
GM
3792012-02-10 Glenn Morris <rgm@gnu.org>
380
381 * url-queue.el (url-queue-retrieve): Doc fix.
382
aacaa419
LI
3832012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
384
385 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
386 to be able to keep track of whether to do cookies or not on a
387 per-URL basis.
388
389 * url-queue.el (url-queue-retrieve): Take an optional
390 `inhibit-cookies' parameter.
391
ed9265fc 392 * url.el (url-retrieve): Ditto.
aacaa419
LI
393
394 * url-http.el (url-http-create-request): Don't send cookies unless
395 requested.
396 (url-http-parse-headers): Don't store cookies unless requested.
397
b6ea20f3
LI
3982012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
399
1968bb1b 400 * url-cache.el (url-cache-prune-cache): New function.
7dd679eb
LI
401 (url-cache-prune-cache): Check that the directory exists before
402 trying to delete it.
1968bb1b
LI
403
404 * url.el (url-retrieve-number-of-calls): New variable.
405 (url-retrieve-internal): Use it to expire the cache once in a
406 while.
407
b6ea20f3
LI
408 * url-queue.el (url-queue-setup-runners): New function that uses
409 `run-with-idle-timer' for extra asynchronicity.
410 (url-queue-remove-jobs-from-host): New function.
411 (url-queue-callback-function): Remove jobs from the same host if
412 connection failed.
413
d8d469ef
GM
4142012-01-12 Glenn Morris <rgm@gnu.org>
415
e7a8cb8f
GM
416 * url-auth.el (url-basic-auth, url-digest-auth):
417 Allow reading usernames etc when the minibuffer is already in use,
418 eg in url-handler-mode. (Bug#10298)
d8d469ef 419
c7015153
JB
4202011-11-15 Juanma Barranquero <lekktu@gmail.com>
421
422 * url-dav.el (url-dav-delete-file): Fix typo.
423
122d9463
LMI
4242011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
425
426 * url-http.el (url-http-async-sentinel): If the server hangs up
427 while we're talking to it, just `message' the error instead of
428 throwing an error.
429
14e1d9ea
LMI
4302011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
431
432 * url-cookie.el (url-cookie-expired-p): Protect against
433 zero-length cookie expiry dates.
434
ac6c8639
CY
4352011-10-19 Chong Yidong <cyd@gnu.org>
436
437 * url-handlers.el (url-handler-mode): Doc fix.
438
b02ba905
CW
4392011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
440
441 * url-http.el (url-http-create-request): Avoid adding extra CRLF
442 (Bug#8931).
443
ad87170f
LMI
4442011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
445
446 * url-http.el (url-http-find-free-connection): If there was an
447 error on connect, make sure the user isn't bothered with
448 irrelevant questions.
449
98fdd2b8
CY
4502011-08-07 Chong Yidong <cyd@stupidchicken.com>
451
452 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
453 don't convert to a GET request (Bug#701).
454
b0c9af93
CN
4552011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
456
457 * url-http.el (url-http): Copy over `url-show-status' to the async
458 buffer so that `url-display-percentage' does the right thing
459 (bug#4680).
460
53d21671
JD
4612011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
462
463 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
464 nil (bug#8827).
465
3487ca85
NA
4662011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
467
468 * url-http.el (url-http-create-request): Remove double carriage
469 return and newline (bug#8931).
470
9aec558a
LMI
4712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
472
e95a67dc
SM
473 * url-http.el (url-http-wait-for-headers-change-function):
474 Remove pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
9aec558a 475
5993c059
AS
4762011-06-04 Andreas Schwab <schwab@linux-m68k.org>
477
478 * url-future.el (url-future-test): Fix scope of `saver'.
479
3b7d5980
GM
4802011-06-01 Glenn Morris <rgm@gnu.org>
481
482 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
483 Add :version tag for options that will be new in 24.1.
484
5a94384b
LMI
4852011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
486
487 * url-queue.el (url-queue-parallel-processes): Increase the
488 default to 6, since 2 seems too conservative for normal usage.
489
e300a61b
TZ
4902011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
491
492 * url-future.el: Add general futures facility.
493
b1c83d95
LL
4942011-05-29 Leo Liu <sdl.web@gmail.com>
495
496 * url-cookie.el (url-cookie): Add option :named so that
497 url-cookie-p is defined. (Bug#8747)
498
5c77c3ed
LMI
4992011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
500
501 * url-queue.el: New file.
6df6ae42 502 (url-queue-run-queue): Pick the first waiting job, and not the last.
471129b1
LMI
503 (url-queue-parallel-processes): Lower the concurrency level, since
504 Emacs doesn't seem to like too many async processes.
505 (url-queue-prune-old-entries): Fix up the pruning code.
5c77c3ed 506
10472dd0
LMI
5072011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
508
6df6ae42
JB
509 * url-http.el (url-http-wait-for-headers-change-function):
510 Protect against malformed headerless responses from servers.
10472dd0 511
43c594f2
CY
5122011-04-02 Chong Yidong <cyd@stupidchicken.com>
513
514 * url-gw.el (url-open-stream): Use new open-network-stream
515 functionality to perform encryption.
516
9952e40b
JB
5172011-04-01 Juanma Barranquero <lekktu@gmail.com>
518
519 * url-cookie.el (url-cookie-handle-set-cookie):
520 Use `dolist' rather than `mapcar'.
521
33383987
JB
5222011-03-07 Chong Yidong <cyd@stupidchicken.com>
523
524 * Version 23.3 released.
525
563790b6
TZ
5262011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
527
528 * url-parse.el (url-bit-for-url, url-user-for-url)
529 (url-password-for-url): Use `auto-source-search' instead of
530 `auto-source-user-or-password'.
531
532 * url-auth.el: Autoload `auto-source-search' instead of
533 `auto-source-user-or-password'.
534 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
535
b301d174
LI
5362011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
537
6df6ae42
JB
538 * url-http.el (url-http-wait-for-headers-change-function):
539 Don't move point if the callback function has moved/changed/killed
540 the process buffer.
b301d174 541
10c1b751 5422010-12-16 Miles Bader <miles@gnu.org>
3cbc281e
MB
543
544 * url-cookie.el: Require 'cl when compiling -- it's necessary for
545 defstruct.
546
105a786f
GM
5472010-12-14 Glenn Morris <rgm@gnu.org>
548
549 * url-cookie.el: Don't require cl when compiling.
550 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
551 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
552 (url-cookie-handle-set-cookie): Simplify.
553
f49d1f52 5542010-12-13 Chong Yidong <cyd@stupidchicken.com>
37bf6ce2
CY
555
556 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
557 Suggested by Lennart Borgman (Bug#7543).
558
023ec128
LMI
5592010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
560
561 * url-file.el (url-file-build-filename): Avoid interpreting
562 file:/foo:/bar URLs via tramp.
563
7a9fc593
LMI
5642010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
565
566 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
567
b0e0b216
LMI
5682010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
569
570 * url-http.el (url-http-end-of-document-sentinel): Protect against
571 the process buffer being killed.
572
697ebdb0
LMI
5732010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
574
f49d1f52
SM
575 * url-http.el (url-http-wait-for-headers-change-function):
576 Protect against url-http-response-status for degenerate documents.
d23832a2
LMI
577 (url-http-wait-for-headers-change-function): Revert previous
578 change. It lead to really slow loads.
697ebdb0 579
5589b70e
GM
5802010-10-03 Glenn Morris <rgm@gnu.org>
581
582 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
583 (url-get-url-at-point): Don't use eval-when-compile.
584
585 * url-cache.el (url-cache-create-filename-human-readable)
586 (url-cache-create-filename-using-md5):
587 * url-util.el (url-file-directory, url-file-nondirectory):
588 Don't use eval-when-compile and regexp-quote.
589
b39e2446
LMI
5902010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
591
f49d1f52 592 * url-vars.el (url-mime-charset-string): Change the default to
b39e2446
LMI
593 nil to avoid sending 1171 bytes of not very useful data to the
594 HTTP server every request.
595
08b8ba9f
LMI
5962010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
597
598 * url-util.el (url-display-percentage): Don't message when the URL
599 is silent.
600 (url-lazy-message): Ditto.
573a83b8 601 (url-lazy-message): Remove leftover debugging code.
08b8ba9f
LMI
602
603 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
604 back to the fetching function.
605
606 * url.el (url-retrieve): Add a silent parameter.
607 (url-retrieve-internal): Ditto.
608
609 * url-parse.el (url): Add a `silent' slot in the URL struct.
610
6ca26f1d
LMI
6112010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
612
6df6ae42
JB
613 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
614 for the cookie warning, which isn't very interesting.
82b9f9f5 615
6ca26f1d
LMI
616 * url-http.el (url-http-async-sentinel): Check that the buffer is
617 still alive before switching to it.
618
cbdd0d58
JD
6192010-09-25 Julien Danjou <julien@danjou.info>
620
621 * url-cache.el (url-cache-create-filename): Ensure no-port and
622 default-port end up with the same cache file.
623 (url-cache-create-filename-human-readable)
624 (url-cache-create-filename-using-md5): Argument is always in the form of
625 a string now.
626
266a86bd 6272010-09-23 Glenn Morris <rgm@gnu.org>
7ee54def
GM
628
629 * url-cache.el (url-is-cached): Doc fix.
630
48ff1664
GM
6312010-09-23 Glenn Morris <rgm@gnu.org>
632
633 * url-cache.el (url-cache-expired): Don't autoload.
634 Tweak previous change.
97161df8 635 (url-cache-expire-time): Doc fix.
48ff1664 636
18d68e52
JD
6372010-09-23 Julien Danjou <julien@danjou.info>
638
639 * url-cache.el (url-cache-expire-time): New option.
640 (url-cache-expired): Rewrite.
641
50e4f0bf
JD
6422010-09-19 Julien Danjou <julien@danjou.info>
643
644 * url-cache.el (url-fetch-from-cache): New function.
645
b0fd24c8
JD
6462010-09-18 Julien Danjou <julien@danjou.info>
647
77413977 648 * url-vars.el (url-cache-expired): Remove unused variable.
b0fd24c8 649
6664fc59 6502010-09-14 Julien Danjou <julien@danjou.info>
6f6dc4da 651
2f5e7c6f
GM
652 * url-cache.el (url-store-in-cache):
653 Make `buff' argument really optional.
6f6dc4da 654
6664fc59 6552010-09-14 Glenn Morris <rgm@gnu.org>
c4ae64d1
GM
656
657 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
658
6664fc59 6592010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
966bb6c0 660
661 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
662
a5cda60e
GM
6632010-09-11 Glenn Morris <rgm@gnu.org>
664
665 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
666 * url-vars.el: Remove leading `*' from defcustom docs.
667
0ed082fe 6682010-07-27 Michael Albinus <michael.albinus@gmx.de>
c48763bb 669
2f5e7c6f 670 * url-http.el (url-http-parse-headers): Disable file name handlers at
c48763bb
MA
671 all (not only Tramp). (Bug#6717)
672
0ed082fe 6732010-07-27 Michael Albinus <michael.albinus@gmx.de>
4ac3a65c 674
2f5e7c6f 675 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
4ac3a65c 676
e4f6153f
MH
6772010-07-01 Mark A. Hershberger <mah@everybody.org>
678
679 * url-http.el (url-http-create-request): Add a CRLF on the end so
6df6ae42 680 that POSTs with content to https URLs work.
f49d1f52 681 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
e4f6153f 682
04c23739
MH
6832010-06-22 Mark A. Hershberger <mah@everybody.org>
684
685 * url-parse.el (url-user-for-url, url-password-for-url):
6df6ae42 686 Convenience functions that get usernames and passwords for URLs
04c23739
MH
687 from auth-source functions.
688
7fb277a9
ŠN
6892010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
690
691 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
692
c3bb441d
SM
6932010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
696
61a808e8
CY
6972010-05-07 Chong Yidong <cyd@stupidchicken.com>
698
699 * Version 23.2 released.
700
56eb0904
SM
7012010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
704
89734fb6
TZ
7052010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
706
707 * url-http.el (url-http-parse-headers): Fix wrong variable name.
708
1e9d758c
TZ
7092010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
710
711 * url-http.el (url-http-codes): New variable to hold a mapping of
712 HTTP status codes' numbers, their symbolic name, and their text.
713 (url-http-parse-headers): Use it, leaving the original numeric
714 code in a comment.
715
aa8f8277
GM
7162010-03-19 Glenn Morris <rgm@gnu.org>
717
718 * url.el: Move mailcap require earlier in the file.
719
eba5b4dd
CY
7202010-03-12 Chong Yidong <cyd@stupidchicken.com>
721
26f4b8ab 722 * url-vars.el (url): Put in comm group.
eba5b4dd 723
288f9fc0
CY
7242010-03-10 Chong Yidong <cyd@stupidchicken.com>
725
726 * Branch for 23.2.
727
e17d428f
CY
7282010-01-23 Chong Yidong <cyd@stupidchicken.com>
729
730 * url-util.el: Require url-vars (Bug#5459).
731
c074ba4a
SM
7322009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
735
c98f55ca
CY
7362009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
737
738 * url-http.el (url-http-handle-authentication): Use proxy server,
739 if any, for authentication (Bug#4883).
740
937e6a56
SM
7412009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * url-util.el (url-insert-entities-in-string):
744 * url-nfs.el (url-nfs-unescape):
745 * url-ldap.el (url-ldap):
746 * url-imap.el (url-imap):
747 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
748
f9c9a239
GM
7492009-10-01 Glenn Morris <rgm@gnu.org>
750
751 * url-http.el (url-dav-file-attributes): Fix declaration.
752
120812a0
CY
7532009-09-13 Chong Yidong <cyd@stupidchicken.com>
754
755 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
756 with 2005-06-25 change to copy-file (Bug#4410).
757
4f0f48df
GM
7582009-09-13 Glenn Morris <rgm@gnu.org>
759
760 * url-file.el (url-file): Avoid assignment to free variable `filename'.
761
63255710
CY
7622009-09-12 Chong Yidong <cyd@stupidchicken.com>
763
764 * url-methods.el (url-scheme--registering-proxy): New variable.
0235128c
SM
765 (url-scheme-register-proxy, url-scheme-get-property):
766 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
63255710 767
3f12e3f4
GM
7682009-08-22 Glenn Morris <rgm@gnu.org>
769
770 * url-file.el (url-file-build-filename):
771 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
772 system-types Apple-Macintosh, emx, ms-windows, next-mach.
773
70243478
CY
7742009-06-21 Chong Yidong <cyd@stupidchicken.com>
775
776 * Branch for 23.1.
777
d696b0d5
SM
7782009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * url-handlers.el (url-file-handler): Save match data.
781
db922cc0
JR
7822009-02-21 Jason Rumney <jasonr@gnu.org>
783
784 * url-expand.el (url-default-expander): Use concat to combine
5ce6e4f4 785 parts. (Bug #1020)
db922cc0 786
f0cfa8f0
GM
7872009-02-10 Glenn Morris <rgm@gnu.org>
788
789 * url-util.el (url-generate-unique-filename): Silence compiler.
790
64594ef9
CY
7912009-02-07 Chong Yidong <cyd@stupidchicken.com>
792
793 * url-file.el (url-file): Use make-temp-file.
794
795 * url-util.el (url-generate-unique-filename): Mark as obsolete.
796
797 * url-vars.el (url-temporary-directory): Mark as obsolete.
798
200c0424
CY
7992009-01-15 Chong Yidong <cyd@stupidchicken.com>
800
68fe704b 801 * url-cookie.el (url-cookie-retrieve): Fix last change.
200c0424 802
26343c7f
CY
8032009-01-14 Chong Yidong <cyd@stupidchicken.com>
804
805 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
806
d9e52e92
JB
8072009-01-13 Juanma Barranquero <lekktu@gmail.com>
808
809 * url-util.el (url-truncate-url-for-viewing): Doc fix.
810
78892d1b
GM
8112009-01-09 Glenn Morris <rgm@gnu.org>
812
813 * url-cid.el (url-cid-gnus): Fix typo in header name.
814
92066e83
CY
8152008-11-04 Chong Yidong <cyd@stupidchicken.com>
816
817 * url-util.el (url-basepath): Add url-basepath as an alias for
818 url-file-directory.
819
d6c180c4
JB
8202008-10-24 Juanma Barranquero <lekktu@gmail.com>
821
822 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
823
3b4df550
CY
8242008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
825
826 * url-auth.el (url-basic-auth): Encode password string.
827
e77e9cf4
GM
8282008-08-30 Glenn Morris <rgm@gnu.org>
829
830 * url-http.el (url-https-expand-file-name): Resolve directly to
831 url-default-expander rather than via another alias.
832 (url-default-expander): Autoload an autoload. (Bug#825).
833
d1ce47b0
JB
8342008-07-02 Juanma Barranquero <lekktu@gmail.com>
835
836 * url.el (url-do-setup):
837 * url-dired.el (url-dired-minor-mode):
838 * url-file.el (url-file-find-possibly-compressed-file):
839 * url-gw.el (url-gateway-broken-resolution):
840 * url-handlers.el (url-handler-regexp):
841 * url-imap.el (url-imap-default-port):
842 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
843
844 * url-auth.el (url-basic-auth-storage, url-digest-auth):
845 Fix typos in docstrings.
846 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
847
848 * url-cache.el (url-cache-prepare): Doc fix.
849 (url-cache-create-filename-human-readable, url-cache-extract):
850 Fix typos in docstrings.
851
852 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
853 (url-dav-delete-something): Fix typos in docstrings.
854 (url-dav-http-success-p, url-dav-file-name-all-completions)
855 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
856
857 * url-http.el (url-http-idle-sentinel): Doc fix.
858
859 * url-irc.el (url-irc-default-port): Fix typo in docstring.
860 (url-irc-function): Doc fix.
861
862 * url-util.el (url-get-url-filename-chars, url-unhex-string):
863 Fix typos in docstrings.
864 (url-file-extension): Doc fix.
865
866 * url-vars.el (url-current-object, url-current-mime-headers)
867 (url-privacy-level, url-mail-command, url-mime-language-string):
868 Fix typos in docstrings.
869 (url-honor-refresh-requests): Reflow docstring.
870 (url-using-proxy): Doc fix.
871
0b5c4225
DN
8722008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
873
874 * vc-dav.el: Move to the parent directory to be together with the
875 rest of the VC backends.
876
8705576e
GM
8772008-06-07 Glenn Morris <rgm@gnu.org>
878
879 * url-auth.el (auth-source-user-or-password): Remove unnecessary
880 eval-and-compile.
881
a118b59b
SM
8822008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * url-handlers.el (url-file-name-completion): Add missing argument.
885
97d1c236
TZ
8862008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
887
ba60bd44 888 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
97d1c236
TZ
889 (url-basic-auth, url-digest-auth): Use it with any realm,
890 overriding the user name and password before the prompt.
891
c385aa1a
JB
8922008-04-28 Juanma Barranquero <lekktu@gmail.com>
893
894 * url-vars.el (url-load-hook): Fix typo in docstring.
895
84f089d3
MH
8962008-03-09 Magnus Henoch <mange@freemail.hu>
897
898 * url-http.el (url-http-chunked-encoding-after-change-function):
a628ad9d 899 Remove superfluous CRLF at end of file. (Bug #42)
84f089d3 900
26d72be8
AS
9012008-03-02 Andreas Schwab <schwab@suse.de>
902
903 * url-util.el: Require cl when compiling.
904
d626f888
TZ
9052008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
906
ba60bd44
JB
907 * url-util.el (url-get-normalized-date): Simplify to use
908 `format-time-string'. Always generate date in UTC, but
d626f888
TZ
909 call it GMT for full compatibility with the RFCs.
910
a9f31e3d
MA
9112008-02-06 Michael Albinus <michael.albinus@gmx.de>
912
913 * url-handlers.el (file-remote-p): Add handler.
914 (url-handler-file-remote-p): New fun.
915
791fe182
SM
9162008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
917
918 * url-handlers.el (url-handler-unhandled-file-name-directory):
919 Handle `file' URLs specially. Return nil for non-local filenames.
920
b72ef564
MH
9212008-02-04 Magnus Henoch <mange@freemail.hu>
922
923 * url-expand.el: Require cl when compiling, for setf.
924
e652840b
JW
9252008-01-29 John Wiegley <johnw@newartisans.com>
926
927 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
928 being used, don't add it to the response text. Also, changed an
929 if so that the interaction between the PROMPT and OVERWRITE
930 arguments can no longer result in the user being queried twice for
931 the same login and password information.
932
ce4059ee
SM
9332008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * url-handlers.el (unhandled-file-name-directory): Add handler.
936 (url-handler-unhandled-file-name-directory): New fun.
937
80e4b01d
MA
9382008-01-07 Michael Albinus <michael.albinus@gmx.de>
939
940 * url-handlers.el (url-file-handler): Autoload.
941
9824ded5
GM
9422007-12-11 Glenn Morris <rgm@gnu.org>
943
944 * url.el (url-configuration-directory): Make it a defcustom.
945
946 * url-util.el (url-make-private-file): New function.
947 * url-cookie.el (url-cookie-write-file):
948 * url-history.el (url-history-save-history):
949 Use url-make-private-file and with-temp-buffer.
950
40234eaf
GM
9512007-12-06 Glenn Morris <rgm@gnu.org>
952
953 * url-file.el, url-mailto.el: Remove directory part from filenames
954 in function declarations.
955
24030ea3
GM
9562007-12-02 Glenn Morris <rgm@gnu.org>
957
e05b1e72
GM
958 * url-about.el, url-handlers.el: Don't require cl when compiling.
959
960 * url-dav.el (url-dav-delete-directory): Fix message typo.
961
962 * url-history.el (top-level): Don't require cl when compiling.
963 (url-history-setup-save-timer, url-history-save-history):
964 Use condition-case rather than ignore-errors.
965
966 * url-imap.el (top-level): Don't require cl when compiling.
967 (url-imap): Use signal rather than check-type.
968
24030ea3
GM
969 * url-news.el (top-level): Don't require cl when compiling.
970 (gnus-group-buffer): Define for compiler.
971 (url-news-fetch-message-id): Don't use `declare'.
972 (nntp-open-tls-stream, nntp-open-ssl-stream):
973 No need to define for compiler.
974 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
c2bf6d2c 975 Correct quoting of nntp-open-connection-function value.
24030ea3 976
29c7eba8
GM
9772007-12-01 Glenn Morris <rgm@gnu.org>
978
979 * url-handlers.el (top-level): Always require url-parse, not just
980 when compiling.
981
36176341
GM
9822007-11-30 Glenn Morris <rgm@gnu.org>
983
984 * url-cookie.el (url-cookie-p): Declare as a function.
985
0bd90741
GM
9862007-11-29 Glenn Morris <rgm@gnu.org>
987
988 * url-file.el (url-file-build-filename, url-file): Wrap uses of
989 efs in (featurep 'xemacs) test.
990
991 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
992
7ba1d5ae
GM
9932007-11-28 Diane Murray <disumu@x3y2z1.net>
994
995 * url-dired.el: Don't require w3-fetch and w3-open-local.
c385aa1a 996 (url-dired-find-file): Use `find-file'. Doc fix.
7ba1d5ae
GM
997 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
998
9f34397d
GM
9992007-11-24 Glenn Morris <rgm@gnu.org>
1000
1001 * url-privacy.el (url-device-type): Fix typo.
1002
153ef845
DN
10032007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
1004
1005 * url-mailto.el (mail-send-and-exit):
1006 * url-http.el (url-dav-file-attributes):
d4aa48db 1007 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6d00e226
DN
1008 (url-generate-unique-filename): Declare as functions.
1009
153ef845
DN
1010 * url-privacy.el (url-device-type): Define unconditionally.
1011
9ffb9521
RS
10122007-11-15 Richard Stallman <rms@gnu.org>
1013
1014 * url.el (url-retrieve-synchronously): Call delete-process.
1015
3a47bb3e
JB
10162007-10-31 Juanma Barranquero <lekktu@gmail.com>
1017
1018 * url-vars.el (url-vars-unload-hook): Remove function and variable.
1019 Hooks are automatically removed by `unload-feature'.
1020
4148f522
RS
10212007-10-13 Richard Stallman <rms@gnu.org>
1022
1023 * url-util.el (url-basepath): Function deleted.
1024 (url-file-directory, url-file-nondirectory): New functions
1025 replacing url-basepath. Callers changed.
1026
1027 * url-expand.el (url-default-expander): Use `url-file-directory'.
1028
1029 * url-auth.el (url-digest-auth, url-basic-auth):
1030 Rename `path' to `file'. Use `url-file-directory'.
1031
3aa491bc
GM
10322007-10-12 Diane Murray <disumu@x3y2z1.net>
1033
1034 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
2a5be7dc 1035 empty string filename.
3aa491bc 1036
d1d80b80
RS
10372007-10-09 Richard Stallman <rms@gnu.org>
1038
1039 * url-parse.el (url-type, url-user, url-password, url-host)
1040 (url-port, url-filename, url-target, url-attributes)
1041 (url-fullness, url-set-type, url-set-user, url-set-password)
1042 (url-set-host, url-set-port, url-set-filename, url-set-target)
1043 (url-set-attributes, url-set-full): Change macros to defuns.
1044
259b63b4
JB
10452007-09-26 Juanma Barranquero <lekktu@gmail.com>
1046
1047 * url-dav.el (top):
1048 * url-vars.el (top): Use `mapc' rather than `mapcar'.
1049
8a35aa36
GM
10502007-09-22 Diane Murray <disumu@x3y2z1.net>
1051
1052 * url-misc.el (url-generic-emulator-loader): Send the port as a
2a5be7dc 1053 string to `url-do-terminal-emulator'.
8a35aa36 1054
965d1f0e
GM
10552007-09-21 Diane Murray <disumu@x3y2z1.net>
1056
3a47bb3e 1057 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
d01b3550 1058
965d1f0e
GM
1059 * url-util.el (url-get-normalized-date): Pass full timezone
1060 information to timezone-make-date-arpa-standard, since zone name
1061 may be unknown.
1062
72f25299
GM
10632007-09-03 Diane Murray <disumu@x3y2z1.net>
1064
0f71f9da 1065 * url-http.el (url-http-parse-headers): Bind the current buffer
72f25299
GM
1066 rather than calling `url-mark-buffer-as-dead' with
1067 `current-buffer', so that the correct buffer is killed if
1068 `url-retrieve-synchronously' gets redirected to a new URL.
1069
d18ec89f
SM
10702007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 * url-parse.el (url): Use defstruct rather than macros.
1073 (url-generic-parse-url):
1074 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
1075 * url-methods.el (url-scheme-register-proxy):
1076 * url-mailto.el (url-mailto):
1077 * url-file.el (url-file-build-filename):
1078 * url-expand.el (url-identity-expander, url-default-expander):
1079 Update all callers.
1080
0f71f9da
JB
10812007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
1082
1083 * url-auth.el (url-basic-auth): When prompting for username
1084 and password, default to the username and password in the URL.
1085
df26688b
GM
10862007-08-08 Glenn Morris <rgm@gnu.org>
1087
1088 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
1089 Replace `iff' in doc-strings and comments.
1090
cacc7b51
GM
10912007-07-25 Glenn Morris <rgm@gnu.org>
1092
1093 * Relicense all FSF files to GPLv3 or later.
1094
c0ed4c23
CY
10952007-06-12 Tom Tromey <tromey@redhat.com>
1096
1097 * url.el (url-configuration-directory): Use user-emacs-directory.
1098
495fa7db
SM
10992007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * url-cookie.el (url-cookie-name, url-cookie-value)
1102 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
1103 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
1104 (url-cookie-set-expires, url-cookie-set-localpart)
1105 (url-cookie-set-domain, url-cookie-set-secure)
1106 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
1107 (url-cookie): New struct.
1108 (url-cookie-store): Use setf instead of url-cookie-set-*.
1109
345c7f05
CY
11102007-05-29 Chong Yidong <cyd@stupidchicken.com>
1111
1112 * url-mailto.el (url-mailto): Insert body after
de74fffc 1113 mail-header-separator if present, so that it is before signature.
345c7f05
CY
1114 Suggested by Leo <sdl.web@gmail.com>.
1115
5cfdb0fb
CY
11162007-04-15 Chong Yidong <cyd@stupidchicken.com>
1117
1118 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
1119
f25a9946
CY
11202007-04-13 Chong Yidong <cyd@stupidchicken.com>
1121
1122 * url-http.el (url-http-parse-headers): Stop after a set number of
1123 redirections. Suggested by Diane Murray.
1124
1125 * url-vars.el (url-max-redirections): New var.
1126
60df22cc 11272007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
1128
1129 * url-http.el (url-http-handle-cookies): Reverse list returned by
1130 `mail-fetch-field', so that cookies are set in the correct order.
1131
1132 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
1133 Deal with wildcard dots in domain values.
1134
fd1e2cde
EZ
11352007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
1136
1137 * url-http.el (url-http-mark-connection-as-busy)
1138 (url-http-mark-connection-as-free): Clear query-on-exit flag on
1139 idle connections.
1140
b3cd7f61
CY
11412007-02-04 Chong Yidong <cyd@stupidchicken.com>
1142
1143 * url-http.el (url-http-connection-opened): New variable.
1144 (url-http): Initialize it.
1145 (url-http-async-sentinel): Don't try changing sentinels.
1146 Run url-http-end-of-document-sentinel if necessary.
1147
8f77631e
JB
11482007-01-29 Juanma Barranquero <lekktu@gmail.com>
1149
1150 * url-auth.el (url-get-authentication): Fix typo in docstring.
1151
00d972eb
MH
11522007-01-14 Magnus Henoch <mange@freemail.hu>
1153
1154 * url-proxy.el (url-proxy-object): Remove.
1155 (url-proxy): Don't use `url-proxy-object'. Act according to type of
1156 proxy (currently only HTTP supported).
1157
1158 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
1159
1160 * url-http.el (url-http-proxy): New variable.
1161 (url-http-create-request): Use it. Don't use `url-proxy-object'.
1162 (url-http): Treat `url' argument as resource to download, and
f49d1f52
SM
1163 dynamic variable `url-using-proxy' as proxy to use.
1164 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
00d972eb
MH
1165 used.
1166 (url-http-handle-cookies): Assume that `url-current-object' does
1167 not point to the proxy used.
1168 (url-http-async-sentinel): Adapt error message.
1169
28e86dc4
JB
11702006-12-10 Juanma Barranquero <lekktu@gmail.com>
1171
1172 * url-gw.el (url-gateway-nslookup-program): Doc fix.
1173
b8976ce0
MH
11742006-12-08 Magnus Henoch <mange@freemail.hu>
1175
1176 * url-proxy.el (url-proxy-object): New variable.
1177 (url-proxy): Bind it instead of `proxy-object'.
1178
1179 * url-http.el (url-http-create-request): Remove url argument, use
f49d1f52
SM
1180 the buffer-local variable `url-http-target-url' instead.
1181 Both callers updated. Simplify proxy handling.
b8976ce0
MH
1182 (url-http): Don't make proxy-object buffer local.
1183
1184 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
1185
57babe17
MH
11862006-11-26 Magnus Henoch <mange@freemail.hu>
1187
f49d1f52
SM
1188 * url-http.el (url-http-wait-for-headers-change-function):
1189 Use `when' instead of `if' when possible.
b9b172ac
MH
1190 (url-http): Define url-http-response-version.
1191 (url-http-parse-response): Set it.
1192 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 1193
60df22cc 11942006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4 1195
f49d1f52
SM
1196 * url-http.el (url-http-content-length-after-change-function):
1197 Use `url-lazy-message'.
48d2bac4
MH
1198
1199 * url-util.el (url-display-percentage): Only show a message if
1200 `url-show-status' is non-nil.
1201
d58fae84
MH
12022006-11-15 Magnus Henoch <mange@freemail.hu>
1203
6e2988e6
MH
1204 * url-http.el (url-http): Make proxy-object buffer-local, to
1205 handle proxied asynchronous connections correctly.
1206
d58fae84
MH
1207 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
1208
1ac3c910 12092006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 1210
1ac3c910
JB
1211 * url-http.el (url-http-wait-for-headers-change-function):
1212 Defer detection of HTTP 0.9 until we have at least one line.
98325235 1213
1ac3c910 12142006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
1215
1216 * url-http.el (url-http-mark-connection-as-free)
1217 (url-http-find-free-connection): Don't treat process with status
1218 `connect' as free.
1219 (url-http-async-sentinel): Request correct url.
1220
947612be
MH
12212006-11-08 Magnus Henoch <mange@freemail.hu>
1222
385b64c5
MH
1223 * url-http.el (url-http-handle-authentication): If there are
1224 several authentication headers, use the strongest available
1225 method.
1226
947612be
MH
1227 * url.el (url-retrieve-synchronously): Allow quitting when
1228 inhibit-quit is t.
1229
1ac3c910 12302006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
1231
1232 * url-http.el (url-http-handle-authentication): If there are
1233 several authentication headers, use the first with a supported
1234 method.
1235
8ea88265
MH
12362006-11-01 Magnus Henoch <mange@freemail.hu>
1237
1238 * url-http.el (url-http-create-request): Use buffer-local
1239 equivalents of dynamically bound variables.
1240
080234b6
MH
12412006-10-29 Magnus Henoch <mange@freemail.hu>
1242
1243 * url-gw.el (url-open-stream): Really use asynchronous
1244 connections (accidentally disabled during debugging).
1245
ced20bfb
MH
12462006-10-28 Magnus Henoch <mange@freemail.hu>
1247
1248 * url-http.el (url-http-parse-headers): Fix misplaced paren.
1249
5695d1dd
CY
12502006-10-27 Magnus Henoch <mange@freemail.hu>
1251
1252 * url-http.el (url-http-mark-connection-as-free): Verify that
1253 connection is open before saving it.
1254 (url-http-handle-authentication): Use url-retrieve-internal
1255 instead of url-retrieve.
1256 (url-http-parse-headers): Adapt to new callback interface.
1257 (url-http): Handle non-blocking connections.
1258 (url-http-async-sentinel): Create.
1259
1260 * url.el (url-retrieve): Update docstring for new callback interface.
1261 Remove all code.
1262 (url-retrieve-internal): Move code from url-retrieve here.
1263
1264 * url-gw.el (url-open-stream): Use a non-blocking socket for
1265 `native' gateway method, if available.
1266
784f5416
MH
12672006-10-16 Magnus Henoch <mange@freemail.hu>
1268
1ac3c910
JB
1269 * url-http.el (url-https-create-secure-wrapper):
1270 Always use tls gateway method.
784f5416 1271
dfea17e0
MH
12722006-10-12 Magnus Henoch <mange@freemail.hu>
1273
1ac3c910
JB
1274 * url-http.el (url-http-find-free-connection):
1275 Handle url-open-stream returning nil.
dfea17e0 1276
9c51663a
MH
12772006-10-11 Magnus Henoch <mange@freemail.hu>
1278
1279 * url-https.el: Remove (clashes with url-http on 8+3 systems).
1280
1281 * url-http.el: Move contents of url-https.el here. Add autoloads.
1282
f6fb70fc
MH
12832006-10-09 Magnus Henoch <mange@freemail.hu>
1284
1285 * url-parse.el (url-generic-parse-url): Handle URLs with empty
1286 path component and non-empty query component. Untangle path,
1287 query and fragment parsing code. Add references to RFC 3986 in
1288 comments.
c385aa1a 1289 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 1290
162fbe11
SM
12912006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1292
1293 * url-dav.el (url-dav-file-attributes): Simplify.
1294
1295 * url-http.el (url-http-head-file-attributes): Add device "info".
1296
f316efd9
MB
12972006-09-18 Michael Olson <mwolson@gnu.org>
1298
1299 * url-methods.el (url-scheme-register-proxy): Handle case where
1300 getenv returns an empty string for http_proxy. This prevents an
1301 error when calling `format' later on.
1302
60df22cc 13032006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 1304
c2a7ddb1
SM
1305 * url-parse.el (url-recreate-url-attributes): New function, code
1306 simply moved from `url-recreate-url'.
1307 (url-recreate-url): Use it.
1308 Put the `url-target' at the end of the URL after the attributes.
1309
1310 * url-http.el (url-http-create-request):
1311 Use `url-recreate-url-attributes' when setting real-fname.
1312
60df22cc 13132006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
1314
1315 * url-cookie.el (url-cookie-write-file): Really don't use versioned
1316 backups.
7660c02f 1317
d0f891a7
SM
13182006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
1321 dest file will already exist.
1322
07e9b3f0
SM
13232006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * url-util.el (url-hexify-string): Only utf-8 encode if it's
1326 a multibyte string.
1327 (url-normalize-url): Remove unused var `grok'.
1328 (url-truncate-url-for-viewing): Remove unused var `tail'.
1329
ecfbb488
TTN
13302006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
1331
1332 * url-util.el (url-hexify-string): Rewrite.
1333 Suggested by David Smith <davidsmith@acm.org>.
1334
0b6bb130
MB
13352006-07-12 Michael Olson <mwolson@gnu.org>
1336
1337 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
1338
bc684c16
SM
13392006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * url-cookie.el: Remove spurious * in docstrings.
1342 (url-cookie-write-file): Don't use versioned backups.
1343 (url-cookie-host-can-set-p): Remove unused var `tmp'.
1344
3d3a26eb 13452006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
1346
1347 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
1348 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
1349
d10a6bf1
RS
13502006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
1351
1352 * url-http.el (url-http-file-exists-p): Test if status is integer.
1353
3d3a26eb 13542006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
1355
1356 * url-http.el (url-http-parse-headers): Don't reuse connection if
1357 "Connection: close" header was seen.
1358
351b838f
SM
13592006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * url-gw.el (url-open-stream): Don't hide errors.
1362 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1363
1364 * url-handlers.el (url-insert): New function.
1365 (url-insert-file-contents): Use it.
1366
bdba217b
SM
13672006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * url-handlers.el (url-handler-directory-file-name): New handler.
1370 (url-file-local-copy): Plug race condition security hole.
1371
7608c40c
RF
13722006-03-27 Romain Francoise <romain@orebokech.com>
1373
1374 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1375 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1376 Default to rcirc, since ZenIRC isn't part of Emacs.
1377
bedeb7fd
SM
13782006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1381
8dff56de
SM
13822006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * url-http.el (url-http-find-free-connection): Don't kill the process
1385 when killing the temp buffer.
1386 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1387 byte-compiler that the function is defined.
1388
9b4cf231
SM
13892006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * url.el (url-redirect-buffer): New var.
1392 (url-retrieve-synchronously): Use it to follow redirections.
1393
1394 * url-http.el: Require `url' rather than try to autoload parts of it.
1395 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1396 (url-http-parse-headers): Set `url-redirect-buffer' when following
1397 a redirection reply.
1398
81cafdfe
SM
13992006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * url-news.el: Move defvars out of eval-when-compile.
1402 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1403 Use with-current-buffer.
1404
5dc3ceeb
SM
14052006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1406
e7ea7cac
SM
1407 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1408 to stop in the middle of a redirection.
1409
5dc3ceeb
SM
1410 * url-vars.el (url-privacy-level): Add setter.
1411
72a30be4
SM
14122006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1413
176c99dc
SM
1414 * url-history.el (url-history-hash-table): Initialize in declaration.
1415 (url-history-parse-history): Don't reset the history.
1416 (url-history-save-history): Create parent dir if necessary.
1417 (url-history-save-history): Don't write the initialization of
1418 url-history-hash-table into the history file.
9b4cf231 1419 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
1420 (url-completion-function): Simplify.
1421
72a30be4
SM
1422 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1423 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1424 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1425 (url-cookie-setup-save-timer): Remove autoload cookies.
1426 They're only called from files that require url-cookie anyway.
1427
1428 * url-history.el (url-history-setup-save-timer)
1429 (url-history-parse-history, url-history-save-history):
1430 Remove autoload cookies. They're only called from url.el which requires
1431 url-history anyway.
1432 (url-history-parse-history): Don't complain if the file is missing.
1433
55262b16
SM
14342006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1435
1436 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1437
1438 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1439
1440 * url-cache.el: Require `url'.
1441
d476efde
SM
14422005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1443
32d5ce4d
SM
1444 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1445
d476efde
SM
1446 * url.el (url-configuration-directory): Don't autoload because the
1447 default value needs to be computed at run-time, not dump-time.
1448
32fa5844
SM
14492005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1450
1451 * url-cookie.el (url-cookie-write-file): Create parent dir.
1452
1453 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1454
0c069924
RS
14552005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1456
1457 * url-cookie.el (url-cookie-save-interval): Simplify.
1458 (url-cookie-setup-save-timer): Simplify.
1459
8553120c
RS
14602005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1461
1462 * url-history.el (url-history-list): Var deleted.
1463 (url-history-save-interval): Simplify.
1464 (url-history-setup-save-timer): Simplify.
1465
b0ab1a06
KS
14662005-12-01 Kim F. Storm <storm@cua.dk>
1467
1468 * url-history.el (url-history-track): Fix last change.
1469
1942d6cc
RS
14702005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1471
1472 * url-history.el (url-history-track):
1473 Call url-history-setup-save-timer in :set function.
1474 :type allows three alternatives.
1475 (url-history-setup-save-timer): Test url-history-track.
1476 * url.el (url-retrieve): Test url-history-track.
1477
12f1edc8
SM
14782005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * url-http.el: Use with-current-buffer.
1481 (url-http-target-url): Rename from url-http-cookies-sources.
1482 (url-http-parse-headers): Use it.
1483 (url-http-handle-authentication): Use subst-char-in-string.
1484
2b1b005c 14852005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
77f05e24
SM
1486
1487 * url-handlers.el (url-insert-file-contents): Use the charset info
1488 provided by the HTTP server, if any.
1489
ce13796f
EZ
14902005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1491
77f05e24
SM
1492 * url-nfs.el (top level):
1493 * url-handlers.el (directory-files):
ce13796f 1494 * url-file.el (top level):
77f05e24 1495 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
1496 * url-http.el (url-http-chunked-encoding-after-change-function):
1497 Remove XEmacs support.
1498
a4684cb0
RS
14992005-10-15 Richard M. Stallman <rms@gnu.org>
1500
1501 * url.el: Don't try to autoload hash table functions.
1502
1430e7f9
SM
15032005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1504
1505 * url-http.el (url-http-create-request): Avoid incorrect implicit
1506 unibyte->multibyte conversion.
1507
8ccd3630
RS
15082005-09-17 Richard M. Stallman <rms@gnu.org>
1509
1510 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1511
1512 * url-mailto.el (url-mailto): Special case `mail'.
1513 Don't test fboundp of `compose-mail'.
1514
b0742512
CY
15152005-09-15 Chong Yidong <cyd@stupidchicken.com>
1516
1517 * url-mailto.el (url-mailto): Delete mail buffer after sending
1518 autogenerated mail.
8ded3f47 1519 Call `compose-mail with `new' argument if possible.
b0742512 1520
c8359e8f
CY
15212005-09-13 Chong Yidong <cyd@stupidchicken.com>
1522
1523 * url-mailto.el (url-mailto): Always use a new mail buffer.
1524
6fd388f3
CY
15252005-09-01 Chong Yidong <cyd@stupidchicken.com>
1526
1527 * url-util.el (url-parse-query-string): New optional argument
1528 allow-newlines allows decoding of newlines.
1529
1530 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1531 Don't lose original "to" value when there is a "to" header.
1532 Remove carriage return characters in message body.
1533
26d874b2
JB
15342005-08-24 Juanma Barranquero <lekktu@gmail.com>
1535
1536 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1537 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1538
dc524e8b
RS
15392005-07-15 Richard M. Stallman <rms@gnu.org>
1540
1541 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1542 when calling url-retrieve, to indicate a redirect.
1543
1544 * url.el (url-retrieve): The callback function can get an additional
1545 keyword arg pair.
1546
a0ec7a4a
LK
15472005-07-04 Lute Kamstra <lute@gnu.org>
1548
1549 Update FSF's address in GPL notices.
1550
59fda2fa
JB
15512005-07-04 Juanma Barranquero <lekktu@gmail.com>
1552
1553 * url-history.el (url-history-track): Doc fix.
1554 (url-history): Finish `defgroup' description with period.
1555
1556 * url-cookie.el (url-cookie):
1557 * url-gw.el (url-gateway):
1558 * url-news.el (url-news):
1559 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1560 Finish `defgroup' description with period.
1561
231add10
RS
15622005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1563
1564 * url-http.el (url-http-create-request): Call url-recreate-url
1565 in proxy case.
1566
e893ce91
RS
15672005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1568
1569 * url-http.el (url-http-create-request): When computing real-fname,
1570 call url-filename in both cases.
1571
15722005-06-27 Richard M. Stallman <rms@gnu.org>
1573
1574 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1575 (url-cookie-retrieve): Likewise.
1576 (url-cookie-generate-header-lines): Likewise.
1577 (url-cookie-handle-set-cookie): Likewise.
1578 (url-cookie-create): Expect :localpart instead of :path.
f49d1f52
SM
1579 (url-cookie-localpart): Rename from url-cookie-path.
1580 (url-cookie-set-localpart): Rename from url-cookie-set-path.
e893ce91
RS
1581 (url-cookie-file): Doc fix.
1582 (url-cookie-p): Add doc string.
1583
528b6abc
RS
15842005-06-23 Richard M. Stallman <rms@gnu.org>
1585
1586 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1587
23873c96
JB
15882005-06-21 Juanma Barranquero <lekktu@gmail.com>
1589
1590 * url-gw.el (url-open-stream):
1591 * url-vars.el (url-gateway-unplugged): Fix spellings.
1592
0b46b379
JB
15932005-06-14 Juanma Barranquero <lekktu@gmail.com>
1594
d6c180c4 1595 * url-history.el (url-completion-function): Follow error conventions.
0b46b379 1596
175384d1
SM
15972005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1600
7f954571
SM
16012005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1602
0090e048
SM
1603 * url-dav.el: Remove most autoload cookies.
1604 Don't hook into the url-file-handler since it currently breaks all
1605 non-HTTP URLs.
1606
7f954571
SM
1607 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1608
1609 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1610 fetching a file via ange-ftp.
1611
466c78c0
JB
16122005-06-10 Juanma Barranquero <lekktu@gmail.com>
1613
7f954571 1614 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 1615
1bf6ecf2
GM
16162005-06-04 David Reitter <david.reitter@gmail.com> (tiny change)
1617
1618 * url-http.el (url-http-chunked-encoding-after-change-function):
1619 Use `url-http-debug' instead of `message'.
1620
16212005-06-04 Thierry Emery <thierry.emery@free.fr> (tiny change)
1622
1623 * url-http.el (url-http-parse-headers): Pass redirected URL
1624 as a callback argument.
1625
93c8c9cd
JB
16262005-05-19 Juanma Barranquero <lekktu@gmail.com>
1627
1628 * url-cookie.el (url-cookie-multiple-line):
1629 Specify group and type in defcustom.
1630
216d3806
JB
16312005-05-06 Juanma Barranquero <lekktu@gmail.com>
1632
1633 * url-auth.el (url-register-auth-scheme):
1634 * url-cookie.el (url-cookie-expired-p):
1635 * url-dav.el (url-dav-process-date-property)
1636 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1637 * url-http.el (url-http-chunked-encoding-after-change-function)
1638 (url-http-wait-for-headers-change-function):
1639 * url-ns.el (isInNet):
1640 * url-parse.el (url-generic-parse-url):
1641 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1642 by `string-to-number'.
1643
799fba8f
SM
16442005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * url.el (url-retrieve-synchronously): Work around the fact that
1647 url-http sometimes doesn't call the callback.
1648
1bf6ecf2
GM
16492005-04-10 Chong Yidong <cyd@stupidchicken.com>
1650
1651 * url-ldap.el (url-ldap): Add docstring. Fix call to
1652 `ldap-search-internal'.
1653
8c6ef2ca
LK
16542005-04-04 Lute Kamstra <lute@gnu.org>
1655
1656 * url-handlers.el (url-handler-mode): Specify :group.
1657
a6efc2c2
EZ
16582005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1659
1660 * url-history.el (url-have-visited-url): Don't barf if
1661 url-history-hash-table is nil.
1662
134948fc
RS
16632005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1664
1665 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1666
1a8461d3
EZ
16672005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1668
557724a8
EZ
1669 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1670 to nil, like for the 303 response.
1a8461d3 1671
944b2ab6
SM
16722005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1675 than sit-for.
1676
e817f9a2
TTN
16772005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1678
1679 * url-http.el (url-http-handle-authentication):
1680 Don't kill the current buffer.
1681
5007cdc9
SM
16822004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * url-handlers.el: Don't `require' everything eagerly.
1685
cacfe88b
AS
16862004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1687
1688 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1689 to `url-http-cookies-sources' so that cookies are attributed to
1690 proper domain.
1691 (url-http): Make local variable `url-http-cookies-sources'.
1692
dc1a0a7a
AS
16932004-11-28 Andreas Schwab <schwab@suse.de>
1694
1695 * url-http.el (url-http-create-request): Don't add newline after
1696 the request data.
1697
14e25c87
MY
16982004-11-20 Masatake YAMATO <jet@gyve.org>
1699
1700 * url.el (url-mm-callback): Delay the invocation
1ac3c910 1701 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
1702 when the buffer is killed.
1703
de0234ea
MY
17042004-11-12 Masatake YAMATO <jet@gyve.org>
1705
5007cdc9 1706 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 1707
60b5eb78
MY
17082004-11-02 Masatake YAMATO <jet@gyve.org>
1709
1710 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 1711 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
1712 is expected to be an integer.
1713
1714 * url-irc.el (url-irc): Ditto.
1715
1716 * url-news.el (url-news-open-host): Ditto.
1717
1718 * url-nfs.el (url-nfs-build-filename): Ditto.
1719
ed87225a
JPW
17202004-10-20 John Paul Wallington <jpw@gnu.org>
1721
1722 * url-gw.el (url-gateway-nslookup-host):
1723 Use `set-process-query-on-exit-flag'.
1724
2a6c7fe5
LH
17252004-10-10 Lars Hansen <larsh@math.ku.dk>
1726
4169c186
KS
1727 * url-auth.el:
1728 * url-cache.el:
1729 * url-cid.el:
1730 * url-dired.el:
1731 * url-expand.el:
1732 * url-ftp.el:
1733 * url-gw.el:
1734 * url-imap.el:
1735 * url-irc.el:
1736 * url-misc.el:
1737 * url-news.el:
1738 * url-ns.el:
1739 * url-privacy.el:
2a6c7fe5
LH
1740 * url-proxy.el: Update header and footer.
1741
1742 * url-vars.el: Update header.
1743
c2e2ede7
RS
17442004-10-16 Richard M. Stallman <rms@gnu.org>
1745
1746 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1747
1748 * url-vars.el (url-passwd-entry-func): Var deleted.
1749 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
1750 (url-weekday-alist): Rename from weekday-alist.
1751 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
1752 (url-vars-unload-hook): Initialize hook var to hold the function.
1753
5007cdc9
SM
1754 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1755 url-monthabbrev-alist.
c2e2ede7
RS
1756
1757 * url-misc.el: Load cl at compile time.
1758
1759 * url-mailto.el: Don't load cl.
1760 (url-mailto): Fix call to `push'.
1761
1762 * url-gw.el (url-open-telnet): Use read-passwd.
1763
1764 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1765
3bb53a84
SJ
17662004-10-12 Simon Josefsson <jas@extundo.com>
1767
1768 * url-vars.el (url-gateway-method): Add new method `tls'.
1769
1770 * url-news.el (url-snews): Use nntp-open-tls-stream if
1771 url-gateway-method is tls.
1772
5007cdc9
SM
1773 * url-ldap.el (url-ldap-certificate-formatter):
1774 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
1775
1776 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1777 is not available.
1778
1779 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1780 (url-open-stream): Likewise.
1781
df41da5e
LH
17822004-10-10 Lars Hansen <larsh@math.ku.dk>
1783
4169c186
KS
1784 * url-auth.el:
1785 * url-cache.el:
1786 * url-cookie.el:
1787 * url-dired.el:
1788 * url-file.el:
1789 * url-ftp.el:
1790 * url-handlers.el:
1791 * url-history.el:
1792 * url-irc.el:
1793 * url-mailto.el:
1794 * url-methods.el:
1795 * url-misc.el:
1796 * url-news.el:
1797 * url-nfs.el:
1798 * url-parse.el:
1799 * url-privacy.el:
1800 * url-vars.el:
1801 * url.el:
df41da5e
LH
1802 * url-util.el: Fix copyright notice.
1803
ccd59305
SM
18042004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1807 encoding, not the buffer-file-name (which might not even exist).
1808
d4fdad60
SM
18092004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * url-handlers.el (url-insert-file-contents): Decode contents.
1812
10a6e6ba
SM
18132004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * url-util.el (url-debug): Use with-current-buffer.
1816
1817 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1818 (url-nfs-create-wrapper): Use new backquote syntax.
1819
1820 * url-https.el (url-https-file-attributes): Add id-format param.
1821
1822 * url-http.el (url-http-head-file-attributes)
1823 (url-http-file-attributes): Add id-format parameter.
1824
1825 * url-handlers.el: Use new find-file-hook.
1826 (url-file-attributes): Add id-format parameter.
1827
1828 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1829 (url-file-file-attributes): Add id-format parameter.
1830
1831 * url-dav.el: Use with-current-buffer.
1832 (url-dav-process-response): Fix regexps and spurious quote.
1833 (url-dav-file-attributes): Add id-format param.
1834
18352004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * url.el (url-retrieve): Use with-current-buffer.
1838
1839 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1840 Remove unused var `version'.
1841
1842 * url-handlers.el (url-handler-mode): New minor mode.
1843 (url-setup-file-name-handlers): Remove.
1844
18452004-04-12 John Paul Wallington <jpw@gnu.org>
1846
1847 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1848 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1849
18502004-04-11 Dave Love <fx@gnu.org>
1851
1852 * url-mailto.el (url-mailto):
1853 * url-history.el (url-history-setup-save-timer):
1854 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1855
1856 * url-file.el (url-file-build-filename): Don't use
1857 directory-sep-char.
1858
1859 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1860
1861 * url-about.el (url-scheme-registry): Defvar.
1862 (url-about): Use text/plain.
1863
1864 * url-vars.el (cl): Don't require.
1865 (url): Add :version.
1866 (url-bug-address): Use bug-gnu-emacs.
1867
1868 * url-util.el (url-hexify-string): Don't give multibyte error
1869 for char <16.
1870 (mail-header-extract): Autoload.
1871
1872 * url-parse.el: Doc fixes.
1873
1874 * url-ldap.el (ldap): Require.
1875 (url-ldap): Fix `format' call.
1876 (url-ldap-certificate-formatter): Avoid warning.
1877
4dfde3dd 1878 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
1879
1880 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1881 (url-intersection): New.
1882 (url-dav-supported-p): Use it.
1883 (url-dav-save-resource): Declare url-http-response-status special.
1884
1885 * url-cache.el (url-util): Require.
1886
18872004-04-10 Miles Bader <miles@gnu.org>
1888
1889 RCS keyword removal (only non-comment changes are enumerated here):
1890
1891 * url-vars.el (url-version): Use the constant string "Emacs"
1892 instead of calculating something from the RCS `State' keyword
1893 [the latter is almost entirely useless anyway].
1894
18952004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * url-methods.el:
1898 * url-parse.el: Don't require url-auto.
1899
19002004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * url: Imported the URL package from its own CVS repository into Emacs.
1903
1904===========================================================================
1905===========================================================================
1906 Copy of the ChangeLog file from URL's own CVS repository:
1907===========================================================================
1908===========================================================================
1909
19102003-07-16 Dave Love <fx@gnu.org>
1911
c6c863df 1912 * url.el (url-retrieve-synchronously): Revert last change.
10a6e6ba
SM
1913 Should be revisited.
1914
19152003-06-26 Sam Steingold <sds@gnu.org>
1916
c6c863df 1917 * url-handlers.el (url-handlers-create-wrapper): Do not call
10a6e6ba
SM
1918 method on invalid urls.
1919
19202003-05-29 Dave Love <fx@gnu.org>
1921
c6c863df 1922 * url.el (url-retrieve-synchronously): Use sleep-for, not
10a6e6ba
SM
1923 sit-for. From monnier@gnu.org.
1924
1ac3c910 19252002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 1926
c6c863df 1927 * url-methods.el (url-scheme-register-proxy): Make sure to convert
4dfde3dd 1928 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
1929
19302002-10-29 William M. Perry <wmperry@gnu.org>
1931
c6c863df 1932 * url-http.el (url-http-parse-headers): When doing a
10a6e6ba
SM
1933 redirect, some broken software (sourceforge) sends a redirect to
1934 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1935 specification). I wish we could deal with such lame software
1936 appropriately (spank the authors), but this is the web, so we have
1937 to kow-tow to the servers.
1938
19392002-10-27 William M. Perry <wmperry@gnu.org>
1940
c6c863df 1941 * url-http.el (url-http-create-request): If we are talking to
10a6e6ba
SM
1942 the default port for a the selected protocol, do NOT send the port
1943 in the HOST header. This fixes the login page at sourceforge.
1944
19452002-09-17 William M. Perry <wmperry@gnu.org>
1946
c6c863df 1947 * url-http.el (url-http-handle-cookies): New function to deal
10a6e6ba
SM
1948 with cookie headers.
1949 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
1950 that cookie additions and deletions get handled immediately.
1951 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
1952 (my.yahoo.com, outlook web access, etc) work. This should also
1953 fix sites that delete cookies on invalid access or other error
1954 pages the user might not actually see.
1955 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1956 methods to GET in redirects. Too many web sites do this now, and
1957 it is just likely to confuse users.
1958
10a6e6ba
SM
19592002-04-22 Dave Love <fx@gnu.org>
1960
c6c863df 1961 * url-misc.el (man): Autoload to avoid warning.
10a6e6ba
SM
1962 (url-man): Don't require man here.
1963 (url-data): Generalize in line with the RFC.
1964
c6c863df 1965 * url-gw.el (url-open-stream): Remove obsolete `tcp' case.
10a6e6ba 1966
c6c863df 1967 * url-vars.el: Doc fixes.
10a6e6ba
SM
1968 (url-mime-charset-string): New function.
1969 (url-mime-charset-string): Use it to set the variable.
1970 (url-set-mime-charset-string): New function.
1971 (set-language-environment-hook): Use it.
1972 (url-vars-unload-hook): New function.
1973
c6c863df 1974 * url-cookie.el (url-header-comparison): Delete.
4dfde3dd 1975 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
1976 (url-cookie-save-interval): Make value agree with doc.
1977
c6c863df 1978 * url.el: Doc fixes.
10a6e6ba
SM
1979 (url-mm-callback): Don't call mm-destroy-parts immediately for
1980 external viewing -- set up a process sentinel.
1981
10a6e6ba
SM
19822001-12-12 William M. Perry <wmperry@gnu.org>
1983
c6c863df 1984 * url-vars.el (url-nonrelative-link): Patch from Stefan
10a6e6ba
SM
1985 Monnier to use ` instead of ^ to match the relative link.
1986
19872001-12-10 William M. Perry <wmperry@gnu.org>
1988
c6c863df 1989 * url-dav.el (url-dav-file-attributes): Fix bad call to
10a6e6ba
SM
1990 plist-get (reversed args).
1991
c6c863df 1992 * url-file.el (url-file-build-filename): Make sure that we
10a6e6ba
SM
1993 have a parsed URL in this function.
1994
19952002-01-22 Dave Love <fx@gnu.org>
1996
c6c863df 1997 * url-cache.el (url-cache-file-writable-p): Doc fix.
10a6e6ba 1998
c6c863df 1999 * url-imap.el (url-imap): Maybe disable multibyte.
4dfde3dd 2000 Bind coding-system-for-read. Require mm-util.
10a6e6ba 2001
c6c863df 2002 * url.el (url-do-setup): Use (featurep 'xemacs).
10a6e6ba 2003
c6c863df 2004 * mule-sysdp.el: Removed (obsolete).
10a6e6ba
SM
2005
20062001-12-09 William M. Perry <wmperry@gnu.org>
2007
c6c863df 2008 * url-dav.el (url-dav-delete-something): Utility macro to
10a6e6ba
SM
2009 remove an arbitrary resource.
2010 (url-dav-delete-directory): Use it.
2011 (url-dav-delete-file): Ditto.
2012 (url-dav-make-directory): New function.
2013 (url-dav-rename-file): New function.
2014 (url-dav-register-handler): New function to easily register a
2015 WebDAV-specific file-name-handler operation.
2016 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 2017 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
2018
20192001-12-08 William M. Perry <wmperry@gnu.org>
2020
c6c863df 2021 * url-dav.el (url-dav-directory-files): New function to
10a6e6ba
SM
2022 mimic `directory-files' for WebDAV.
2023 (url-dav-delete-directory): New function to mimic
2024 `delete-directory' for WebDAV.
2025
20262001-12-06 William M. Perry <wmperry@gnu.org>
2027
c6c863df 2028 * url-dav.el (url-dav-process-DAV:locktoken): Parse the
10a6e6ba
SM
2029 DAV:locktoken hrefs into a usable format.
2030 (url-dav-process-response): Use an unwind-protect to make sure
2031 that we clean up the buffer, even if there is a parsing error.
2032 (url-dav-request): New function to act as the main entry point for
2033 making DAV requests. Takes care of building the XML document with
2034 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
2035 (url-dav-get-properties): Use new url-dav-request function.
2036 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
2037 extra properties we are looking for.
2038 (url-dav-unlock-resource): New function to release a lock given a
2039 URL and a lock-token.
2040 (url-dav-process-DAV:getlastmodified)
2041 (url-dav-process-DAV:creationdate)
2042 (url-dav-process-DAV:iscollection)
2043 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
2044 url-dave-*!
2045 (url-dav-active-locks): New function to get a list of all the
2046 active locks for a resource.
2047 (url-dav-save-resource): New function to actually save a resource
2048 using the PUT method. I can now successfully save files to an
4dfde3dd 2049 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba 2050
c6c863df 2051 * url-http.el (url-http-wait-for-headers-change-function):
10a6e6ba
SM
2052 Special case the 204/205 response codes. Some servers do not
2053 send back a 0 content-length for these, and we would hang.
2054 (url-http-parse-headers): Mark 204/205 response codes as
2055 'successful' so that the callbacks get activated.
2056 (url-http-options): Fix unbound variable usage.
2057
c6c863df 2058 * url-dav.el: Added full copyright information.
10a6e6ba
SM
2059 (url-dav-process-response): Make sure that we create a DAV:status
2060 property when parsing a singleton response.
2061 (url-dav-file-attributes): If the properties returned did not have
10d1d0af 2062 a successful HTTP response code, then ignore them and use the
10a6e6ba
SM
2063 HEAD-based attributes.
2064
c6c863df 2065 * vc-dav.el: Added full copyright information.
10a6e6ba 2066
c6c863df 2067 * url-dav.el (url-dav-process-supportedlock-property):
4dfde3dd 2068 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
2069 (url-dav-file-attributes-mode-string): This now gets the entire
2070 property list instead of just the DAV:supportedlock node.
2071 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 2072 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
2073 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
2074 'executable' bit to set the 'x' mode. See `mod_dav's custom
2075 properties' at http://www.webdav.org/mod_dav/ for more details.
2076 (url-dav-find-parser): New function to find the proper parser for
2077 a node-type. Looks for
2078 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
2079 back to using url-dav-node-text. Caches the results on the nodes
2080 symbol name.
4dfde3dd
SM
2081 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
2082 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
2083 use url-dav-dispatch-node where appropriate.
2084 (url-dav-process-DAV:prop): Instead of using the dav-data-type
2085 property to dispatch the node, now uses dav-dispatch-node so that
2086 it is easy to add parsers for special nodes.
2087 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
2088 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
2089 (url-dav-process-DAV:getcontentlength)
2090 (url-dave-process-DAV:getlastmodified)
2091 (url-dave-process-DAV:creationdate)
2092 (url-dave-process-DAV:iscollection)
2093 (url-dave-process-DAV:ishidden): Aliases for the generic
2094 url-dav-process-foo-property routines.
2095 (url-dav-process-DAV:activelock)
2096 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
2097 DAV:lockdiscovery nodes, so that we can find out who has a
c80e3b4a 2098 resource locked and properly parse the response to a LOCK request.
10d1d0af 2099 (url-dav-process-DAV:status): Now parses out the numeric status
10a6e6ba
SM
2100 from the HTTP response line.
2101 (url-dav-process-response): New function to handle all the
2102 parsing of an XML response from WebDAV. This handles all the
2103 logic of checking the response content-type to make sure it is
2104 XML, parses the tree, and interprets the tree.
2105 (url-dav-process-response): Make sure that all responses look
2106 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 2107 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
2108 (url-dav-get-properties): New optional argument NAMESPACES that
2109 specifies what namespaces to use in the XML request.
2110 (url-dav-get-properties): Got rid of the D: namespace in
2111 requests. It doesn't save that much space. Just use DAV:
2112 (url-dav-lock-identifier): New variable that should hold a URI
2113 pointing to contact information for the user. This will be used
2114 as the contents of the DAV:owner/DAV:href tag to identify the
2115 owner of a LOCK when requesting it. This will be shown to other
2116 users when the DAV:lockdiscovery property is requested, so make
2117 sure you are comfortable with it leaking to the outside world.
2118 (url-dav-lock-resource): New function to LOCK a dav resource.
2119
21202001-12-05 William M. Perry <wmperry@gnu.org>
2121
c6c863df 2122 * url-dav.el (url-dav-get-properties): New argument
10a6e6ba
SM
2123 ATTRIBUTES that allows you to ask for specific properties instead
2124 of getting all properties via DAV:allprop.
2125
c6c863df 2126 * url-http.el (url-http-real-basic-auth-storage):
4dfde3dd 2127 New variable for normal HTTP basic authentication.
10a6e6ba
SM
2128 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
2129 basic authentication.
2130 (url-http-handle-authentication): Follow new semantics for
2131 url-basic-auth-storage.
2132
c6c863df 2133 * url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
2134 this variable. It is now a symbol pointing to where we really
2135 want to store the authorization information. This fixes proxy
4dfde3dd
SM
2136 auth and normal basic auth because of some local bindings that were
2137 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
2138 (url-basic-auth): Make sure we dereference url-basic-auth-storage
2139 everywhere.
2140
c6c863df 2141 * url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
2142 'retrieval to the customization list.
2143
c6c863df 2144 * url.el (url-retrieve-synchronously): Put in some debugging
10a6e6ba
SM
2145 statements.
2146
c6c863df 2147 * url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
2148 url-http-file-attributes so that we can have a smarter one that
2149 tries WebDAV first, then HEAD.
4dfde3dd 2150 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
2151 (url-http-options): New function that returns information gleaned
2152 from an OPTIONS request for a URL. Returns a property list
2153 returning the methods supported for the resource, what DAV and
2154 DASL levels are supported, p3p information, and whether
2155 byte-ranges are supported or not.
2156 (url-http-wait-for-headers-change-function): If we got a 0-byte
2157 content-length, activate the callback immediately.
2158 (url-http-wait-for-headers-change-function): For content-length
2159 responses with actual body-data in the chunk we are handling, call
2160 url-http-content-length-after-change-function with the remaining
2161 data. Otherwise we can deadlock if the headers and the entire
2162 body exist arrive in one chunk.
2163
c6c863df 2164 * url-dav.el: New file to contain the WebDAV
10a6e6ba
SM
2165 (http://www.webdav.org/) implementation.
2166 (url-dav-supported-p): Cheap way to figure out whether we will be
2167 able to do DAV at all. We rely on the XML parser expanding
2168 namespaces for us, and currently you need a patched version of
2169 xml.el to do this. Patch sent to author for consideration.
2170 (url-dav-file-attributes): Much more complete version of
2171 `file-attributes' using the WebDAV PROPFIND method. Now correctly
2172 finds out whether something is a directory (a WebDAV collection),
2173 the last modification time, and permissions (based on the
2174 DAV:supportedlock information).
2175 (url-dav-get-properties): Generic interface to get WebDAV
2176 properties for a URL. Can specify an optional `depth' parameter
2177 to tell the web server how many directory (collection) levels to
2178 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 2179 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
2180 (url-dav-datatype-attribute): We support the XML-Data note
2181 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
2182 datatypes of attributes are. Currently only date, dateTime, int,
2183 number, float, boolean, and uri are supported.
2184
21852001-12-04 William M. Perry <wmperry@gnu.org>
2186
c6c863df 2187 * url-handlers.el (file-name-absolute-p): New hooked
10a6e6ba
SM
2188 version. If the filename matches our regexp, then it is always
2189 absolute, so just return `t'.
2190 (expand-file-name): New hooked version. If the fragment is an
2191 absolute file or URL, then expand it relative to '/'.
2192 (url-handler-regexp): New regexp for specific schemes that we
2193 want the file-name-handlers to work off of.
4dfde3dd 2194 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba 2195
c6c863df 2196 * url-http.el (url-http-find-free-connection): Better logging
10a6e6ba
SM
2197 about whether we are reusing an existing connection or not.
2198
c6c863df 2199 * url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
2200 to string-match instead of match-string (and with reversed
2201 arguments even).
2202
c6c863df 2203 * url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
2204 generic url-debug function to do the actual logging. Still a
2205 separate function so that we can do our magic on the network
2206 connection if the user quits while we are downloading.
2207
c6c863df 2208 * url-handlers.el (url-file-handler): Now logs the result of
10a6e6ba
SM
2209 the hooked or real call.
2210
c6c863df 2211 * url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
2212
22132001-11-28 William M. Perry <wmperry@gnu.org>
2214
c6c863df 2215 * url-imap.el (url-imap-open-host): Use backquote.
10a6e6ba
SM
2216 (url-imap): Now switches to 'login as the imap authenticator if
2217 the URL provides a username and password.
2218
c6c863df 2219 * url-handlers.el (url-setup-file-name-handlers): Use cl &
10a6e6ba
SM
2220 push to replace some strange logic in here.
2221 (url-run-real-handler): New function to run the real hooks in
2222 case we get a false positive or an operation that we do not
2223 support. The old way disabled _ALL_ file-name-handlers when
2224 we hit something we didn't understand - this disables JUST us.
4dfde3dd 2225 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
2226 '/' off of the first argument... it may not be safe to always
2227 assume that the first argument is the one we are acting on -
4dfde3dd 2228 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
2229 (url-setup-file-name-handlers): Use url-nonrelative-link
2230 directly. This means that you must type in the URL directly
2231 without prefixing it with a '/'.
2232
2233 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
2234
2235 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
2236 which activates us (because 'nnml+mail' _is_ a valid scheme name
2237 for a URI). We get thoroughly confused and end up returning
2238 `nil' when we shouldn't.
2239
22402001-11-26 William M. Perry <wmperry@gnu.org>
2241
c6c863df 2242 * url-handlers.el (file-writable-p): Add NULL handler for
10a6e6ba
SM
2243 this so that visiting a URL directly will work.
2244 (file-symlink-p): Ditto.
2245 (url-insert-file-contents): If `visit' is non-nil then make sure
2246 we set buffer-file-name. After these changes you can visit
2247 http://www.gnu.org/ directly from the minibuffer.
2248 (url-insert-file-contents): When inserting the file contents,
2249 use a save-excursion so that we behave just like the original.
2250
22512001-11-25 William M. Perry <wmperry@gnu.org>
2252
c6c863df 2253 * url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
2254
22552001-11-24 William M. Perry <wmperry@gnu.org>
2256
c6c863df 2257 * url-about.el (url-about): New loader scheme to handle
10a6e6ba
SM
2258 about:foo URLs. Automatically tries to find a `url-about-foo'
2259 function to display the actual data.
2941ce4b 2260 (url-about-protocols): Implement about:protocols.
10a6e6ba 2261
c6c863df 2262 * url-http.el (url-http): Make sure that we signal an error
10a6e6ba
SM
2263 when we cannot open a network connection for whatever reason.
2264 Before, it would just silently clean up after itself and the user
183080b6 2265 got absolutely no indication that an error had occurred. If the
10a6e6ba
SM
2266 error should truly be ignored, the caller should do that for us.
2267 (url-http-chunked-encoding-after-change-function): Doh! Need to
2268 user marker-position in some log messages now that
2269 url-http-chunked-start is a marker.
2270
22712001-11-22 William M. Perry <wmperry@gnu.org>
2272
c6c863df 2273 * url-https.el: Fixed definition of url-https - was using the
10a6e6ba 2274 wrong signature. Too much cut & paste.
4dfde3dd 2275 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 2276 at all. Was not taking a null `method' into account when calling
4dfde3dd 2277 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba 2278
c6c863df 2279 * url-http.el
4dfde3dd 2280 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
2281 feedback when not debugging about what content-type and chunk # we
2282 are reading.
2283 (url-http-chunked-encoding-after-change-function): Use a marker
2284 for url-http-chunked-start so that we can safely delete the
2285 chunk-tokens instead of just marking them as invisible.
2286 (url-http-chunked-encoding-after-change-function): Actually delete
2287 the chunk-tokens. Now that we are not run from 'real'
2288 after-change functions, this is safe, and the right thing to do.
2289 Otherwise the HTML parser still saw them and inferred all sorts of
2290 bad things about the document (ie: nothing had a title!)
2291
22922001-11-21 William M. Perry <wmperry@gnu.org>
2293
c6c863df 2294 * url-http.el (url-http-debug): Document this variable.
10a6e6ba
SM
2295 People other than I might want to use it.
2296 (url-http-debug): Put some code in here to check quit-flag
2297 directly. When the chunked encoding went into a tight spin, your
2298 Emacs would be wedged forever. This short-circuits all the
2299 after-change functions and signals an error.
2300 (url-http-debug): If url-http-debug is non-nil and non-t, then log
2301 the debug messages using `message' as well as sending them to the
2302 buffer.
2303 (url-http-chunked-encoding-after-change-function): Got rid of the
2304 no-initial-crlf. Had an epiphany and I can just infer this from
2305 url-http-chunked-counter being 0.
4dfde3dd 2306 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
2307 statement about reading chunk #foo into the loop so that each
2308 chunk will have a log message associated with it.
2309 (url-http-chunked-encoding-after-change-function): Make sure to
2310 set read-next-chunk to nil when the regular expression match fails
2311 to fire. Otherwise we could loop forever.
4dfde3dd
SM
2312 (url-http-chunked-encoding-after-change-function): Tweak the
2313 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
2314 (url-http-wait-for-headers-change-function): Remove the last
2315 argument when calling
2316 url-http-chunked-encoding-after-change-function. It is no longer
2317 needed. I should use my brain sometime.
2318
c6c863df 2319 * url-vars.el (and): Fix feature test for xemacs and
fffa137c 2320 coding-system-list behavior.
10a6e6ba 2321
c6c863df 2322 * url-http.el
4dfde3dd
SM
2323 (url-http-chunked-encoding-after-change-function): Add optional
2324 no-initial-crlf flag that modifies the regular expression.
2325 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 2326 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 2327 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 2328 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 2329 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
2330 url-http-debug calls to help track down problems in the chunked
2331 encoding.
2332 (url-http-chunked-encoding-after-change-function): The chunk
2333 reading in here is now in a while loop so that if Emacs feeds us a
2334 chunk of data that happens to contain more than one 'chunk'
2335 delimiter, we behave correctly.
2336 (url-http-wait-for-headers-change-function): Make sure that we
2337 pass no-initial-crlf to
2338 url-http-chunked-encoding-after-change-function when passing
2339 initial data to the decoder.
2340 (url-http-generic-filter): url-http-debug statement so we can tell
2341 when/where our after-change-functions are being called.
2342
23432001-10-11 Dave Love <fx@gnu.org>
2344
c6c863df 2345 * url-handlers.el: Doc fixes.
10a6e6ba
SM
2346 (string-match): Use (featurep 'xemacs).
2347
c6c863df 2348 * url-methods.el (url-scheme-get-property): Avoid `mapc'.
10a6e6ba 2349
c6c863df 2350 * url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
10a6e6ba 2351
c6c863df 2352 * url-vars.el (url-running-xemacs): Delete.
10a6e6ba
SM
2353 (url-gateway-unplugged): New variable.
2354
c6c863df 2355 * url-gw.el (url-open-stream): Use url-gateway-unplugged.
10a6e6ba
SM
2356 Comment out OS/2 stuff.
2357
23582001-10-05 Dave Love <fx@gnu.org>
2359
c6c863df 2360 * url-mailto.el (url-mailto): Don't send auto-generated mail
10a6e6ba
SM
2361 without confirmation.
2362
23632001-10-02 Dave Love <fx@gnu.org>
2364
c6c863df 2365 * url-http.el (url-http-create-request): Check cache for
10a6e6ba
SM
2366 proxy-obj, if defined, rather than url.
2367 (url-http): Use dolist, not mapc (runtime cl dependency).
2368
c6c863df 2369 * url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
2370 (url-scheme-register-proxy): Fix fetching from environment.
2371 Don't concat a number.
10a6e6ba
SM
2372
23732001-10-01 Dave Love <fx@gnu.org>
2374
c6c863df 2375 * url-parse.el: Use modern backquote syntax.
10a6e6ba 2376
c6c863df 2377 * url-vars.el (url-uncompressor-alist): Add bzip2.
10a6e6ba
SM
2378 (url-mail-command): Prefer compose-mail.
2379 (tcp-binary-process-input-services): Comment out.
2380 (url-working-buffer): New constant.
2381
c6c863df 2382 * url-util.el (url-extract-mime-headers): New function.
10a6e6ba 2383
c6c863df 2384 * url-mailto.el (url-mailto): Set source-url. Don't add
10a6e6ba
SM
2385 User-Agent.
2386
23872001-09-20 Dave Love <fx@gnu.org>
2388
c6c863df 2389 * url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
2390
23912001-06-05 Dave Love <fx@gnu.org>
2392
c6c863df 2393 * url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 2394 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
2395 (url-retrieve): Barf with sensible message if url-type is null.
2396
c6c863df 2397 * url-http.el (url-http): Don't try to set process
10a6e6ba
SM
2398 coding-system here -- done in url-gw.
2399
c6c863df 2400 * url-gw.el (url-gw-inhibit-code-conversion): Remove.
10a6e6ba 2401 (url-open-stream): Bind coding-system-for{read,write} when setting
e4769531 2402 up the connection. Don't call url-gw-inhibit-code-conversion.
10a6e6ba 2403
4dfde3dd
SM
24042001-05-24 William M. Perry <wmperry@gnu.org>
2405
c6c863df 2406 * url.el (url-retrieve-synchronously): Avoid accept-process-output
4dfde3dd
SM
2407 in url-retrieve-synchronously.
2408
10a6e6ba
SM
24092001-05-23 William M. Perry <wmperry@gnu.org>
2410
c6c863df 2411 * url.el (url-retrieve-synchronously): Don't put a timeout on
10a6e6ba
SM
2412 accept-process-output. This is evidently causing hangs in Emacs
2413 21 when viewing complex pages with images or stylesheets.
2414 www.yahoo.com is now viewable.
2415
c6c863df 2416 * url-gw.el (url-open-stream): Avoid using mule-sysdp
10a6e6ba
SM
2417 (mule-inhibit-code-conversion) and just have a local function that
2418 does this minimal cruft.
2419 (url-gw-inhibit-code-conversion): New function to turn off code
2420 conversion in a process.
2421
24222001-05-22 William M. Perry <wmperry@gnu.org>
2423
c6c863df 2424 * url.el (url-retrieve-synchronously): Use lexical-let so
10a6e6ba
SM
2425 that we can allow multiple asynch retrievals to happen at once.
2426 (url-retrieve-synchronously): Use a much smaller timeout when
2427 doing the accept-process-output. This gets rid of the long delays
2428 if you are on a fast net connection and retrieve small documents
2429 that finish asynchronously before the first accept-process-output
2430 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 2431 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
2432 (url-retrieve): Ditto.
2433 (url-mm-url): Ditto.
2434
c6c863df 2435 * url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
10a6e6ba
SM
2436 documentation strings. Ok, so I'm anal.
2437
c6c863df 2438 * url-methods.el (url-scheme-methods): Add default methods
10a6e6ba
SM
2439 for file-directory-p and file-truename.
2440
24412001-05-22 Dave Love <fx@gnu.org>
2442
c6c863df 2443 * url-auth.el (url-warn): Autoload.
10a6e6ba 2444
c6c863df 2445 * url-proxy.el (url-warn): Autoload.
10a6e6ba 2446
c6c863df 2447 * url-nfs.el: Fix `file-truname' typo.
10a6e6ba 2448
c6c863df 2449 * url-news.el: Require cl when compiling.
1ac3c910 2450 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 2451 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
2452 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2453
c6c863df 2454 * url-util.el (mule-decode-string): Don't autoload.
10a6e6ba
SM
2455 (url-hexify-string): Just barf on multibyte characters.
2456 (url-generate-unique-filename): New function.
2457
c6c863df 2458 * url-file.el (url-file): Use url-generate-unique-filename,
10a6e6ba
SM
2459 not mm-generate-unique-filename.
2460
c6c863df 2461 * url-http.el: Declare things special in various places.
10a6e6ba
SM
2462 (url-http-activate-callback): Don't set
2463 url-http-real-after-change-function.
2464
24652001-05-22 William M. Perry <wmperry@gnu.org>
2466
c6c863df 2467 * url-http.el (url-http-attempt-keepalives): New variable to
10a6e6ba
SM
2468 control whether we try to do keep-alives for our connections.
2469 (url-http-version): New variable to control whether we advertise
2470 ourselves as an HTTP/1.1 client or not. This can be useful for
2471 avoiding chunked encoding, and other 1.1 features we may not have
2472 fully implemented yet.
2473 (url-http-create-request): Honor the new variables.
2474
24752001-05-21 Dave Love <fx@gnu.org>
2476
c6c863df 2477 * url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
10a6e6ba
SM
2478 in XEmacs.
2479 (url-mime-charset-string): Don't reverse the list before sorting.
2480
24812001-05-17 William M. Perry <wmperry@gnu.org>
2482
c6c863df 2483 * url-http.el (url-http-generic-filter): Avoid using
10a6e6ba
SM
2484 after-change-functions natively. There are just too many ways
2485 that this screws up in Emacs 21. Use a filter function on the
2486 process instead, and call the hook on
2487 url-http-after-change-function manually. [Actually, it will work
2488 in Emacs 21, but one problem that has been fixed in Emacs 21
2489 exists in Emacs 20. -- fx]
2490
c6c863df 2491 * url-vars.el (url-mime-charset-string): sort-coding-systems
10a6e6ba
SM
2492 does not exist on older versions of Emacs, or any version of
2493 XEmacs. Do not call it unless it is bound.
2494
24952001-05-17 Dave Love <fx@gnu.org>
2496
c6c863df 2497 * url-http.el (url-http-create-request): Fix non-GET requests.
10a6e6ba
SM
2498
24992001-05-16 Dave Love <fx@gnu.org>
2500
c6c863df 2501 * url-vars.el: Doc fixes. Require mm-util.
10a6e6ba
SM
2502 (url-mime-charset-string): New variable.
2503
c6c863df 2504 * url-http.el: Doc fixes.
10a6e6ba
SM
2505 (url-http-create-request): Rearrange how we assemble the request.
2506 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 2507 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
2508 (url-http): Call mm-disable-multibyte. Set process buffer's
2509 coding systems to binary.
2510
c6c863df 2511 * url-misc.el (url-data): Call mm-disable-multibyte.
10a6e6ba 2512
c6c863df 2513 * url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 2514 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 2515 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba 2516
c6c863df 2517 * url-cache.el: Don't require mule-sysdp.
10a6e6ba
SM
2518 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2519
c6c863df 2520 * url.el: Don't require mule-sysdp.
10a6e6ba
SM
2521 (url-retrieve): Only set text properties if url is a string.
2522
25232001-05-14 Dave Love <fx@gnu.org>
2524
c6c863df 2525 * url-http.el (url-http-create-request):
4dfde3dd 2526 Declare proxy-object, proxy-info special.
10a6e6ba
SM
2527 (url-http-handle-authentication): Declare success special.
2528
25292001-05-12 Dave Love <fx@gnu.org>
2530
c6c863df 2531 * url-http.el: Revert last change.
10a6e6ba
SM
2532
25332001-05-10 Dave Love <fx@gnu.org>
2534
c6c863df 2535 * url-http.el (url-http-generic-after-change-function):
4dfde3dd 2536 Make it permanent-local.
10a6e6ba
SM
2537
25382001-05-05 Dave Love <fx@gnu.org>
2539
c6c863df 2540 * url-http.el: Autoload some functions.
10a6e6ba
SM
2541 (cl): Require when compiling.
2542 (url-http-extra-headers): Defvar when compiling.
2543 (url-http): Treat after-change-functions as a local hook.
2544
c6c863df 2545 * url-history.el (url-parse): Require.
10a6e6ba
SM
2546 (url-do-setup): Autoload.
2547
c6c863df 2548 * url-gw.el: Require url-vars. Autoload some functions.
10a6e6ba 2549
c6c863df 2550 * url-file.el: Require mailcap. Require cl when compiling.
10a6e6ba
SM
2551 Use (featurep 'xemacs).
2552 (url-file-build-filename): Bind pos-index.
2553 (url-file): Call url-find-file-dired, not url-dired-find-file.
2554
c6c863df 2555 * url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
2556 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2557 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 2558 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba 2559
c6c863df 2560 * url-cid.el: Don't require widget. Require mm-decode
10a6e6ba
SM
2561 unconditionally.
2562
c6c863df 2563 * url-util.el: Autoload mule-decode-string,
10a6e6ba
SM
2564 timezone-parse-date, timezone-make-date-arpa-standard.
2565 (url-unreserved-chars): Fix list per RFC 2396.
2566 (url-hexify-string): Maybe string-make-unibyte.
2567
c6c863df 2568 * url-news.el: Require nntp.
10a6e6ba 2569
c6c863df 2570 * url-imap.el: Require cl when compiling. Require nnimap
10a6e6ba
SM
2571 unconditionally.
2572
25732001-05-04 Dave Love <fx@gnu.org>
2574
c6c863df 2575 * url-handlers.el (url-file-local-copy): Use make-temp-file,
10a6e6ba
SM
2576 not non-existent mailcap-generate-unique-filename.
2577
c6c863df 2578 * url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 2579
c6c863df 2580 * url-parse.el: Require url-vars.
4dfde3dd 2581 Autoload url-scheme-get-property.
10a6e6ba 2582
c6c863df 2583 * url-nfs.el: Require cl when compiling. Test for XEmacs
10a6e6ba
SM
2584 with featurep.
2585
c6c863df 2586 * url-mailto.el: Require cl when compiling.
10a6e6ba 2587
c6c863df 2588 * url-cookie.el (url-cookie-handle-set-cookie):
4dfde3dd 2589 Call url-parse-args, not url-util-parse-args.
10a6e6ba 2590
c6c863df 2591 * url-cache.el (url-cache-expired): Remove bogus `return'.
10a6e6ba
SM
2592
25932001-04-09 Dave Love <fx@gnu.org>
2594
c6c863df 2595 * mule-sysdp.el (mule-detect-coding-version)
10a6e6ba
SM
2596 (mule-code-convert-region, mule-inhibit-code-conversion)
2597 (mule-write-region-no-coding-system, mule-encode-string)
2598 (mule-decode-string, mule-truncate-string)
2599 (mule-find-charset-region, mule-coding-system-name)
2600 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2601 [There must be a better way.]
2602 (mule-coding-system-p, string-width): Use defalias.
2603
26042001-01-03 Sam Steingold <sds@gnu.org>
2605
c6c863df 2606 * url-http.el (url-http-wait-for-headers-change-function):
2941ce4b 2607 set `url-http-end-of-headers' to 0 for HTTP 0.9.
10a6e6ba
SM
2608
26092001-01-02 Sam Steingold <sds@gnu.org>
2610
c6c863df 2611 * url-auth.el (provide): `url-auth', not `urlauth'.
10a6e6ba
SM
2612
26132000-12-22 Dave Love <fx@gnu.org>
2614
c6c863df 2615 * url-history.el (url): Don't require (to avoid recursion).
10a6e6ba
SM
2616 (cl): Require when compiling.
2617
c6c863df 2618 * url-http.el (url-auth): Require.
10a6e6ba
SM
2619 (url-http-handle-authentication): Fix typo.
2620
c6c863df 2621 * url-cookie.el (url-cookie-setup-save-timer): Fix typo.
10a6e6ba
SM
2622
26232000-12-20 Dave Love <fx@gnu.org>
2624
c6c863df 2625 * url.el: Require mm-decode, mm-view when compiling.
10a6e6ba
SM
2626 <not (fboundp 'puthash)>: Define puthash and
2627 autoload other has functions rather than using cl-...hash.
2628 (url-warn): Define.
2629
c6c863df 2630 * url-ns.el, url-methods.el, url-http.el:
4dfde3dd 2631 Avoid cl-...hash functions.
10a6e6ba 2632
c6c863df 2633 * url-history.el: Avoid cl-...hash functions.
10a6e6ba
SM
2634 (url): Require.
2635
c6c863df 2636 * url-gw.el, url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
2637
26382000-10-03 William M. Perry <wmperry@aventail.com>
2639
c6c863df 2640 * url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
2641 getting set to nil due to bad string matching. Subsequent matches
2642 would then choke because we passed string-match a nil.
2643
c6c863df 2644 * url-http.el (url-http-parse-headers): Need to make the
10a6e6ba 2645 connection as 'free' when we get a 304 response (found in cache),
10d1d0af 2646 or when a keep-alive connection timed out, it would re-parse the
10a6e6ba
SM
2647 headers and dispatch to the callback again. Eek.
2648
26492000-10-02 William M. Perry <wmperry@aventail.com>
2650
c6c863df 2651 * url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 2652 implement chunked transfer-coding.
10a6e6ba
SM
2653 (url-http-create-request): We can now advertise ourselves as a 1.1
2654 compliant browser!
2655
26562000-07-28 Sam Steingold <sds@gnu.org>
2657
c6c863df 2658 * url-methods.el (url-scheme-default-loader): `callback' and
10a6e6ba 2659 `cbargs' are optional args (for calling from w3).
4dfde3dd 2660 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
2661 with `string-match' and `protocol' with `scheme'.
2662
26632000-07-18 Sam Steingold <sds@gnu.org>
2664
c6c863df
GM
2665 * url-handlers.el (require 'url): For url-retrieve-synchronously.
2666 * url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
2667
26682000-07-10 William M. Perry <wmperry@aventail.com>
2669
c6c863df 2670 * mule-sysdp.el (mule-make-iso-character): If we are not in
10a6e6ba
SM
2671 mule, and the character requested is > 255, then return "~"
2672 instead of letting whoever call us signal an error when they try
2673 to insert the character.
2674 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 2675 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 2676
c6c863df 2677 * url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
2678 for cid parts.
2679
c6c863df 2680 * url-util.el (url-display-percentage): New routine that uses
10a6e6ba
SM
2681 the progress bar under XEmacs if available. Looks very sexy under
2682 XEmacs/GTK hacked to use the GNOME statusbar.
2683
c6c863df 2684 * url-http.el
10a6e6ba
SM
2685 (url-http-content-length-after-change-function): Use new function
2686 url-display-percentage instead of url-lazy-message.
2687
26882000-01-27 William M. Perry <wmperry@aventail.com>
2689
c6c863df 2690 * url-file.el (url-file-build-filename): Work around for
4dfde3dd 2691 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
2692
26931999-12-24 William M. Perry <wmperry@aventail.com>
2694
c6c863df 2695 * url-irc.el: Added pointer to draft specification for the
10a6e6ba
SM
2696 IRC URL so people don't think I'm crazy.
2697
1ac3c910 26981999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba 2699
c6c863df 2700 * url-util.el (url-get-url-at-point): Allow URLs wrapped in
10a6e6ba
SM
2701 () to have periods at the end of the chunk.
2702
27031999-12-14 William M. Perry <wmperry@aventail.com>
2704
c6c863df 2705 * url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
2706 (url-info): Autoload.
2707 (url-man): Ditto.
2708 (url-rlogin): Ditto.
2709 (url-telnet): Ditto.
2710 (url-tn3270): Ditto.
2711 (url-generic-emulator-loader): Ditto.
2712
c6c863df 2713 * url-https.el (url-https-create-secure-wrapper): New macro
10a6e6ba
SM
2714 to wrap arbitrary `http' methods with the appropriate magic to
2715 turn SSL on.
2716 (file-exists-p): Use it.
2717 (file-readable-p): Use it.
2718 (file-attributes): Use it.
2719
c6c863df 2720 * url-news.el (url-news-fetch-newsgroup): When building the
10a6e6ba
SM
2721 server spec for Gnus, make sure we set
2722 nntp-open-connection-function directly, so that other news-related
2723 functions above us can set it.
2724 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2725 (url-nntp): Autoload.
2726 (url-snews): Ditto.
2727 (url-news): Ditto.
2728
27291999-12-12 William M. Perry <wmperry@aventail.com>
2730
c6c863df 2731 * url-http.el (url-http-parse-response): New function to
10a6e6ba
SM
2732 parse just the HTTP response code out of the buffer, without
2733 taking any other actions.
2734 (url-http-wait-for-headers-change-function): Use it here when we
2735 know we have an HTTP/1.x response.
2736 (url-http-wait-for-headers-change-function): Special case a
2737 response code of '304' or there could be some delays waiting for
2738 keep-alives to time out on cached documents with no known
2739 content-length on the server.
2740
27411999-12-11 William M. Perry <wmperry@aventail.com>
2742
c6c863df 2743 * url-imap.el (url-imap-open-host): Need to bind
10a6e6ba 2744 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 2745 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 2746
1ac3c910 27471999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba 2748
c6c863df 2749 * url-imap.el: Initial (rough) implementation for IMAP urls.
10a6e6ba
SM
2750
27511999-12-11 William M. Perry <wmperry@aventail.com>
2752
c6c863df 2753 * url-file.el (url-file-asynch-callback): Make the checks for
10a6e6ba
SM
2754 ange-ftp vs. efs calling semantics consistent, so that if someone
2755 has NEITHER of them loaded, everything should still work.
2756
c6c863df 2757 * url-handlers.el (url-copy-file): Autoload.
10a6e6ba
SM
2758 (url-file-local-copy): Ditto.
2759 (url-insert-file-contents): Ditto.
2760 (url-setup-file-name-handlers): Ditto.
2761
27621999-12-10 William M. Perry <wmperry@aventail.com>
2763
c6c863df 2764 * url-http.el (mail-parse): Since we use functions from here,
10a6e6ba
SM
2765 we should require it, eh?
2766
1ac3c910 27671999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba 2768
c6c863df 2769 * url-cookie.el (url-cookie-multiple-line): One line cookie
10a6e6ba
SM
2770 if nil.
2771 (url-cookie-generate-header-lines): Use it.
2772
27731999-12-06 William M. Perry <wmperry@aventail.com>
2774
c6c863df 2775 * mule-sysdp.el (mule-code-convert-region): Deal with Mule
2941ce4b 2776 4.1 gracefully.
10a6e6ba 2777
c6c863df 2778 * url-news.el: Reimplemented news and nntp URL support.
4dfde3dd 2779 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
2780 will not work without them anyway.
2781
27821999-12-05 Dave Love <fx@gnu.org>
2783
c6c863df
GM
2784 * url-methods.el, url-proxy.el, url-util.el,
2785 url.el:
10a6e6ba
SM
2786 Require url-parse.
2787
27881999-12-05 William M. Perry <wmperry@aventail.com>
2789
c6c863df 2790 * url-http.el (url-http-find-free-connection): Spit out a
10a6e6ba
SM
2791 message when we have to contact a host so the user always gets
2792 at least some feedback.
2793
c6c863df 2794 * url-expand.el (url-expander-remove-relative-links): Move and
10a6e6ba
SM
2795 renamed function.
2796 (url-default-expander): Use it.
2797
c6c863df 2798 * url-file.el (url-file-asynch-callback): Deal with just efs-auto
4dfde3dd
SM
2799 as well as efs.
2800 (url-file): Add default content-type of application/octet-stream if
2801 none known.
2941ce4b 2802 (url-file): Correct bad call to url-host-is-local-p.
10a6e6ba 2803
c6c863df 2804 * url-handlers.el (url-insert-file-contents): Emacs doesn't
10a6e6ba
SM
2805 like buffer-substring with nil arguments.
2806 (url-copy-file): Use mm-destroy-parts instead of just killing
2807 the buffer. Use defined interfaces when available!
2808 (url-insert-file-contents): Ditto.
2809
c6c863df 2810 * url-http.el (url-http-create-request): Lots of changes to
10a6e6ba
SM
2811 get proxying working.
2812
c6c863df 2813 * url-methods.el (url-scheme-register-proxy): New function to
10a6e6ba
SM
2814 find and register a proxy for a specific scheme.
2815 (url-scheme-get-property): Use it when we load a URL scheme for
2816 the first time.
2817
c6c863df 2818 * url-util.el (url-get-url-at-point): Re-integrated.
10a6e6ba
SM
2819
28201999-12-04 William M. Perry <wmperry@aventail.com>
2821
c6c863df 2822 * url-file.el (url-file): Signal an error if
10a6e6ba
SM
2823 url-file-build-filename could not find the filename.
2824
28251999-12-01 William M. Perry <wmperry@aventail.com>
2826
c6c863df 2827 * url.el (url-retrieve): Use url-history-update-url instead
10a6e6ba
SM
2828 of manipulating the hash table directly.
2829
c6c863df 2830 * url-history.el (url-completion-function): New function to
10a6e6ba
SM
2831 use for reading a URL with completion.
2832 (url-history-update-url): New function to hide the hashtable
2833 implementation from people inserting things into the history.
2834
28351999-11-30 William M. Perry <wmperry@aventail.com>
2836
c6c863df 2837 * url-proxy.el (url-proxy): Minor tweaks to get proxy support
10a6e6ba
SM
2838 working.
2839
c6c863df 2840 * url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 2841 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba 2842
c6c863df 2843 * url-handlers.el (url-insert-file-contents): Ditto.
10a6e6ba
SM
2844 (url-copy-file): Ditto.
2845
c6c863df 2846 * url.el (url-mm-callback): Use mm-destroy-parts instead of
10a6e6ba
SM
2847 just killing the buffer. Use defined interfaces when available!
2848
c6c863df 2849 * url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
2850 DAV-specific error codes.
2851
c6c863df 2852 * url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
2853 (url-retrieve-synchronously): Duh, make this function actually
2854 work again. Numerous problems with it, including variable name
2855 collisions - I love dynamically scoped lisps!
2856
c6c863df 2857 * url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 2858 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba 2859
c6c863df 2860 * url-ftp.el: Moved the FTP stuff into its own file - it
10a6e6ba
SM
2861 might get messy with file-name-handlers and things.
2862
c6c863df 2863 * url-http.el (url-http-clean-headers): Fix problem when
10a6e6ba
SM
2864 using 'HEAD' requests. Thou shalt not change the length of the
2865 region during an after-change-function.
2866
c6c863df 2867 * url-methods.el (url-scheme-methods): New variable that
4dfde3dd 2868 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
2869 (url-scheme-get-property): Use it.
2870
28711999-11-29 William M. Perry <wmperry@aventail.com>
2872
c6c863df 2873 * url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
2874 (url-http-file-exists-p): Ditto.
2875
c6c863df 2876 * url-nfs.el: Reimplemented the `nfs' URL scheme.
10a6e6ba 2877
c6c863df 2878 * url-file.el (url-file-create-wrapper): New macro to create
10a6e6ba
SM
2879 file-name-handler stubs for all the FTP/FILE stuff.
2880
c6c863df 2881 * url-handlers.el: New file to handle file-name-handler-alist
10a6e6ba
SM
2882 cruft. Generic interface on top of functions that each URL
2883 loader provides, if capable.
2884
28851999-11-27 William M. Perry <wmperry@aventail.com>
2886
c6c863df 2887 * url-https.el: Implemented HTTPS support.
10a6e6ba
SM
2888
28891999-11-26 William M. Perry <wmperry@aventail.com>
2890
2891 * url-privacy.el (url-setup-privacy-info): Don't rely on
2892 device-type being defined. Not going to bother redistributing
2893 devices.el for just one function.
2894
2895 * url-methods.el (url-scheme-get-property): Emacs does not have
2896 the 3rd-argument to plist-get to specify the default. *sigh*
2897
4dfde3dd 2898 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 2899
4dfde3dd
SM
2900 * url-http.el (url-http-generic-after-change-function):
2901 New function, since Emacs does not allow you to change the
10a6e6ba
SM
2902 after-change-functions variable from within a function run by
2903 said hook. This just hands it off to the REAL function.
2904 Side-effect is that this now works on Emacs at all. :)
2905
2906 * Initial checkin of rewritten URL library.
2907
1513a14b
GM
2908;; Local variables:
2909;; coding: utf-8
1513a14b
GM
2910;; End:
2911
c6c863df 2912 Copyright (C) 1999, 2001-2002, 2004-2014 Free Software Foundation, Inc.
5b87ad55
GM
2913
2914 This file is part of GNU Emacs.
2915
4936186e 2916 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 2917 it under the terms of the GNU General Public License as published by
4936186e
GM
2918 the Free Software Foundation, either version 3 of the License, or
2919 (at your option) any later version.
5b87ad55
GM
2920
2921 GNU Emacs is distributed in the hope that it will be useful,
2922 but WITHOUT ANY WARRANTY; without even the implied warranty of
2923 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2924 GNU General Public License for more details.
2925
2926 You should have received a copy of the GNU General Public License
4936186e 2927 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.