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