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