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