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