(gnutls-trustfiles): Add Cygwin location.
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
1deeb569
LL
12012-02-14 Leo Liu <sdl.web@gmail.com>
2
3 * url-future.el: Fix last change.
4
6c0c7cfc
TZ
52012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6
7 * url-future.el (url-future-test): Move to test/automated.
8
3b8eb822
LI
92012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10
11 * url-http.el (url-http-parse-headers): When redirecting, pass on
12 the `inhibit-cookie' parameter.
13
a48ec60c
GM
142012-02-10 Glenn Morris <rgm@gnu.org>
15
16 * url-queue.el (url-queue-retrieve): Fic previous doc fix.
17
d7c5e162
AS
182012-02-10 Andreas Schwab <schwab@linux-m68k.org>
19
20 * url-http.el (url-http-clean-headers): Return the number of
21 removed characters.
22 (url-http-wait-for-headers-change-function): Adjust end position
23 after cleaning the headers. (Bug#10768)
24
b74c9672
GM
252012-02-10 Glenn Morris <rgm@gnu.org>
26
27 * url-queue.el (url-queue-retrieve): Doc fix.
28
aacaa419
LI
292012-02-08 Lars Ingebrigtsen <larsi@gnus.org>
30
31 * url-parse.el (url): Add the `use-cookies' slot to the URL struct
32 to be able to keep track of whether to do cookies or not on a
33 per-URL basis.
34
35 * url-queue.el (url-queue-retrieve): Take an optional
36 `inhibit-cookies' parameter.
37
38 * url.el (url-retrieve): Ditto
39
40 * url-http.el (url-http-create-request): Don't send cookies unless
41 requested.
42 (url-http-parse-headers): Don't store cookies unless requested.
43
b6ea20f3
LI
442012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
45
1968bb1b 46 * url-cache.el (url-cache-prune-cache): New function.
7dd679eb
LI
47 (url-cache-prune-cache): Check that the directory exists before
48 trying to delete it.
1968bb1b
LI
49
50 * url.el (url-retrieve-number-of-calls): New variable.
51 (url-retrieve-internal): Use it to expire the cache once in a
52 while.
53
b6ea20f3
LI
54 * url-queue.el (url-queue-setup-runners): New function that uses
55 `run-with-idle-timer' for extra asynchronicity.
56 (url-queue-remove-jobs-from-host): New function.
57 (url-queue-callback-function): Remove jobs from the same host if
58 connection failed.
59
d8d469ef
GM
602012-01-12 Glenn Morris <rgm@gnu.org>
61
e7a8cb8f
GM
62 * url-auth.el (url-basic-auth, url-digest-auth):
63 Allow reading usernames etc when the minibuffer is already in use,
64 eg in url-handler-mode. (Bug#10298)
d8d469ef 65
c7015153
JB
662011-11-15 Juanma Barranquero <lekktu@gmail.com>
67
68 * url-dav.el (url-dav-delete-file): Fix typo.
69
122d9463
LMI
702011-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
71
72 * url-http.el (url-http-async-sentinel): If the server hangs up
73 while we're talking to it, just `message' the error instead of
74 throwing an error.
75
14e1d9ea
LMI
762011-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
77
78 * url-cookie.el (url-cookie-expired-p): Protect against
79 zero-length cookie expiry dates.
80
ac6c8639
CY
812011-10-19 Chong Yidong <cyd@gnu.org>
82
83 * url-handlers.el (url-handler-mode): Doc fix.
84
b02ba905
CW
852011-09-24 Christopher J. White <chris@grierwhite.com> (tiny change)
86
87 * url-http.el (url-http-create-request): Avoid adding extra CRLF
88 (Bug#8931).
89
ad87170f
LMI
902011-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
91
92 * url-http.el (url-http-find-free-connection): If there was an
93 error on connect, make sure the user isn't bothered with
94 irrelevant questions.
95
98fdd2b8
CY
962011-08-07 Chong Yidong <cyd@stupidchicken.com>
97
98 * url-http.el (url-http-parse-headers): For HTTP 301/302/307,
99 don't convert to a GET request (Bug#701).
100
b0c9af93
CN
1012011-07-13 Chris Newton <redshodan@gmail.com> (tiny change)
102
103 * url-http.el (url-http): Copy over `url-show-status' to the async
104 buffer so that `url-display-percentage' does the right thing
105 (bug#4680).
106
53d21671
JD
1072011-07-06 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
108
109 * url-cache.el (url-cache-extract): Set buffer multibyte flag to
110 nil (bug#8827).
111
3487ca85
NA
1122011-07-03 Nicolas Avrutin <nicolasavru@gmail.com> (tiny change)
113
114 * url-http.el (url-http-create-request): Remove double carriage
115 return and newline (bug#8931).
116
9aec558a
LMI
1172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
118
119 * url-http.el (url-http-wait-for-headers-change-function): Remove
120 pointless "HTTP/0.9 How I hate thee!" message (bug#6735).
121
5993c059
AS
1222011-06-04 Andreas Schwab <schwab@linux-m68k.org>
123
124 * url-future.el (url-future-test): Fix scope of `saver'.
125
3b7d5980
GM
1262011-06-01 Glenn Morris <rgm@gnu.org>
127
128 * url-queue.el (url-queue-parallel-processes, url-queue-timeout):
129 Add :version tag for options that will be new in 24.1.
130
5a94384b
LMI
1312011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
132
133 * url-queue.el (url-queue-parallel-processes): Increase the
134 default to 6, since 2 seems too conservative for normal usage.
135
e300a61b
TZ
1362011-05-31 Teodor Zlatanov <tzz@lifelogs.com>
137
138 * url-future.el: Add general futures facility.
139
b1c83d95
LL
1402011-05-29 Leo Liu <sdl.web@gmail.com>
141
142 * url-cookie.el (url-cookie): Add option :named so that
143 url-cookie-p is defined. (Bug#8747)
144
5c77c3ed
LMI
1452011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
146
147 * url-queue.el: New file.
6df6ae42 148 (url-queue-run-queue): Pick the first waiting job, and not the last.
471129b1
LMI
149 (url-queue-parallel-processes): Lower the concurrency level, since
150 Emacs doesn't seem to like too many async processes.
151 (url-queue-prune-old-entries): Fix up the pruning code.
5c77c3ed 152
10472dd0
LMI
1532011-04-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
154
6df6ae42
JB
155 * url-http.el (url-http-wait-for-headers-change-function):
156 Protect against malformed headerless responses from servers.
10472dd0 157
43c594f2
CY
1582011-04-02 Chong Yidong <cyd@stupidchicken.com>
159
160 * url-gw.el (url-open-stream): Use new open-network-stream
161 functionality to perform encryption.
162
9952e40b
JB
1632011-04-01 Juanma Barranquero <lekktu@gmail.com>
164
165 * url-cookie.el (url-cookie-handle-set-cookie):
166 Use `dolist' rather than `mapcar'.
167
33383987
JB
1682011-03-07 Chong Yidong <cyd@stupidchicken.com>
169
170 * Version 23.3 released.
171
563790b6
TZ
1722011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
173
174 * url-parse.el (url-bit-for-url, url-user-for-url)
175 (url-password-for-url): Use `auto-source-search' instead of
176 `auto-source-user-or-password'.
177
178 * url-auth.el: Autoload `auto-source-search' instead of
179 `auto-source-user-or-password'.
180 (url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
181
b301d174
LI
1822011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
183
6df6ae42
JB
184 * url-http.el (url-http-wait-for-headers-change-function):
185 Don't move point if the callback function has moved/changed/killed
186 the process buffer.
b301d174 187
10c1b751 1882010-12-16 Miles Bader <miles@gnu.org>
3cbc281e
MB
189
190 * url-cookie.el: Require 'cl when compiling -- it's necessary for
191 defstruct.
192
105a786f
GM
1932010-12-14 Glenn Morris <rgm@gnu.org>
194
195 * url-cookie.el: Don't require cl when compiling.
196 (url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
197 (url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
198 (url-cookie-handle-set-cookie): Simplify.
199
f49d1f52 2002010-12-13 Chong Yidong <cyd@stupidchicken.com>
37bf6ce2
CY
201
202 * url-cookie.el (url-cookie-retrieve): Handle null LOCALPART.
203 Suggested by Lennart Borgman (Bug#7543).
204
023ec128
LMI
2052010-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
206
207 * url-file.el (url-file-build-filename): Avoid interpreting
208 file:/foo:/bar URLs via tramp.
209
7a9fc593
LMI
2102010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
211
212 * url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
213
b0e0b216
LMI
2142010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
215
216 * url-http.el (url-http-end-of-document-sentinel): Protect against
217 the process buffer being killed.
218
697ebdb0
LMI
2192010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
220
f49d1f52
SM
221 * url-http.el (url-http-wait-for-headers-change-function):
222 Protect against url-http-response-status for degenerate documents.
d23832a2
LMI
223 (url-http-wait-for-headers-change-function): Revert previous
224 change. It lead to really slow loads.
697ebdb0 225
5589b70e
GM
2262010-10-03 Glenn Morris <rgm@gnu.org>
227
228 * url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
229 (url-get-url-at-point): Don't use eval-when-compile.
230
231 * url-cache.el (url-cache-create-filename-human-readable)
232 (url-cache-create-filename-using-md5):
233 * url-util.el (url-file-directory, url-file-nondirectory):
234 Don't use eval-when-compile and regexp-quote.
235
b39e2446
LMI
2362010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
237
f49d1f52 238 * url-vars.el (url-mime-charset-string): Change the default to
b39e2446
LMI
239 nil to avoid sending 1171 bytes of not very useful data to the
240 HTTP server every request.
241
08b8ba9f
LMI
2422010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
243
244 * url-util.el (url-display-percentage): Don't message when the URL
245 is silent.
246 (url-lazy-message): Ditto.
573a83b8 247 (url-lazy-message): Remove leftover debugging code.
08b8ba9f
LMI
248
249 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
250 back to the fetching function.
251
252 * url.el (url-retrieve): Add a silent parameter.
253 (url-retrieve-internal): Ditto.
254
255 * url-parse.el (url): Add a `silent' slot in the URL struct.
256
6ca26f1d
LMI
2572010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
258
6df6ae42
JB
259 * url-cookie.el (url-cookie-handle-set-cookie): Use url-lazy-message
260 for the cookie warning, which isn't very interesting.
82b9f9f5 261
6ca26f1d
LMI
262 * url-http.el (url-http-async-sentinel): Check that the buffer is
263 still alive before switching to it.
264
cbdd0d58
JD
2652010-09-25 Julien Danjou <julien@danjou.info>
266
267 * url-cache.el (url-cache-create-filename): Ensure no-port and
268 default-port end up with the same cache file.
269 (url-cache-create-filename-human-readable)
270 (url-cache-create-filename-using-md5): Argument is always in the form of
271 a string now.
272
266a86bd 2732010-09-23 Glenn Morris <rgm@gnu.org>
7ee54def
GM
274
275 * url-cache.el (url-is-cached): Doc fix.
276
48ff1664
GM
2772010-09-23 Glenn Morris <rgm@gnu.org>
278
279 * url-cache.el (url-cache-expired): Don't autoload.
280 Tweak previous change.
97161df8 281 (url-cache-expire-time): Doc fix.
48ff1664 282
18d68e52
JD
2832010-09-23 Julien Danjou <julien@danjou.info>
284
285 * url-cache.el (url-cache-expire-time): New option.
286 (url-cache-expired): Rewrite.
287
50e4f0bf
JD
2882010-09-19 Julien Danjou <julien@danjou.info>
289
290 * url-cache.el (url-fetch-from-cache): New function.
291
b0fd24c8
JD
2922010-09-18 Julien Danjou <julien@danjou.info>
293
77413977 294 * url-vars.el (url-cache-expired): Remove unused variable.
b0fd24c8 295
6664fc59 2962010-09-14 Julien Danjou <julien@danjou.info>
6f6dc4da 297
2f5e7c6f
GM
298 * url-cache.el (url-store-in-cache):
299 Make `buff' argument really optional.
6f6dc4da 300
6664fc59 3012010-09-14 Glenn Morris <rgm@gnu.org>
c4ae64d1
GM
302
303 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
304
6664fc59 3052010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
966bb6c0 306
307 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
308
a5cda60e
GM
3092010-09-11 Glenn Morris <rgm@gnu.org>
310
311 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
312 * url-vars.el: Remove leading `*' from defcustom docs.
313
0ed082fe 3142010-07-27 Michael Albinus <michael.albinus@gmx.de>
c48763bb 315
2f5e7c6f 316 * url-http.el (url-http-parse-headers): Disable file name handlers at
c48763bb
MA
317 all (not only Tramp). (Bug#6717)
318
0ed082fe 3192010-07-27 Michael Albinus <michael.albinus@gmx.de>
4ac3a65c 320
2f5e7c6f 321 * url-http.el (url-http-parse-headers): Disable Tramp. (Bug#6717)
4ac3a65c 322
e4f6153f
MH
3232010-07-01 Mark A. Hershberger <mah@everybody.org>
324
325 * url-http.el (url-http-create-request): Add a CRLF on the end so
6df6ae42 326 that POSTs with content to https URLs work.
f49d1f52 327 See <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
e4f6153f 328
04c23739
MH
3292010-06-22 Mark A. Hershberger <mah@everybody.org>
330
331 * url-parse.el (url-user-for-url, url-password-for-url):
6df6ae42 332 Convenience functions that get usernames and passwords for URLs
04c23739
MH
333 from auth-source functions.
334
7fb277a9
Å N
3352010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
336
337 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
338
c3bb441d
SM
3392010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
342
61a808e8
CY
3432010-05-07 Chong Yidong <cyd@stupidchicken.com>
344
345 * Version 23.2 released.
346
56eb0904
SM
3472010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
350
89734fb6
TZ
3512010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
352
353 * url-http.el (url-http-parse-headers): Fix wrong variable name.
354
1e9d758c
TZ
3552010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
356
357 * url-http.el (url-http-codes): New variable to hold a mapping of
358 HTTP status codes' numbers, their symbolic name, and their text.
359 (url-http-parse-headers): Use it, leaving the original numeric
360 code in a comment.
361
aa8f8277
GM
3622010-03-19 Glenn Morris <rgm@gnu.org>
363
364 * url.el: Move mailcap require earlier in the file.
365
eba5b4dd
CY
3662010-03-12 Chong Yidong <cyd@stupidchicken.com>
367
26f4b8ab 368 * url-vars.el (url): Put in comm group.
eba5b4dd 369
288f9fc0
CY
3702010-03-10 Chong Yidong <cyd@stupidchicken.com>
371
372 * Branch for 23.2.
373
e17d428f
CY
3742010-01-23 Chong Yidong <cyd@stupidchicken.com>
375
376 * url-util.el: Require url-vars (Bug#5459).
377
c074ba4a
SM
3782009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
381
c98f55ca
CY
3822009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
383
384 * url-http.el (url-http-handle-authentication): Use proxy server,
385 if any, for authentication (Bug#4883).
386
937e6a56
SM
3872009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * url-util.el (url-insert-entities-in-string):
390 * url-nfs.el (url-nfs-unescape):
391 * url-ldap.el (url-ldap):
392 * url-imap.el (url-imap):
393 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
394
f9c9a239
GM
3952009-10-01 Glenn Morris <rgm@gnu.org>
396
397 * url-http.el (url-dav-file-attributes): Fix declaration.
398
120812a0
CY
3992009-09-13 Chong Yidong <cyd@stupidchicken.com>
400
401 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
402 with 2005-06-25 change to copy-file (Bug#4410).
403
4f0f48df
GM
4042009-09-13 Glenn Morris <rgm@gnu.org>
405
406 * url-file.el (url-file): Avoid assignment to free variable `filename'.
407
63255710
CY
4082009-09-12 Chong Yidong <cyd@stupidchicken.com>
409
410 * url-methods.el (url-scheme--registering-proxy): New variable.
0235128c
SM
411 (url-scheme-register-proxy, url-scheme-get-property):
412 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
63255710 413
3f12e3f4
GM
4142009-08-22 Glenn Morris <rgm@gnu.org>
415
416 * url-file.el (url-file-build-filename):
417 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
418 system-types Apple-Macintosh, emx, ms-windows, next-mach.
419
70243478
CY
4202009-06-21 Chong Yidong <cyd@stupidchicken.com>
421
422 * Branch for 23.1.
423
d696b0d5
SM
4242009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 * url-handlers.el (url-file-handler): Save match data.
427
db922cc0
JR
4282009-02-21 Jason Rumney <jasonr@gnu.org>
429
430 * url-expand.el (url-default-expander): Use concat to combine
5ce6e4f4 431 parts. (Bug #1020)
db922cc0 432
f0cfa8f0
GM
4332009-02-10 Glenn Morris <rgm@gnu.org>
434
435 * url-util.el (url-generate-unique-filename): Silence compiler.
436
64594ef9
CY
4372009-02-07 Chong Yidong <cyd@stupidchicken.com>
438
439 * url-file.el (url-file): Use make-temp-file.
440
441 * url-util.el (url-generate-unique-filename): Mark as obsolete.
442
443 * url-vars.el (url-temporary-directory): Mark as obsolete.
444
200c0424
CY
4452009-01-15 Chong Yidong <cyd@stupidchicken.com>
446
68fe704b 447 * url-cookie.el (url-cookie-retrieve): Fix last change.
200c0424 448
26343c7f
CY
4492009-01-14 Chong Yidong <cyd@stupidchicken.com>
450
451 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
452
d9e52e92
JB
4532009-01-13 Juanma Barranquero <lekktu@gmail.com>
454
455 * url-util.el (url-truncate-url-for-viewing): Doc fix.
456
78892d1b
GM
4572009-01-09 Glenn Morris <rgm@gnu.org>
458
459 * url-cid.el (url-cid-gnus): Fix typo in header name.
460
92066e83
CY
4612008-11-04 Chong Yidong <cyd@stupidchicken.com>
462
463 * url-util.el (url-basepath): Add url-basepath as an alias for
464 url-file-directory.
465
d6c180c4
JB
4662008-10-24 Juanma Barranquero <lekktu@gmail.com>
467
468 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
469
3b4df550
CY
4702008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
471
472 * url-auth.el (url-basic-auth): Encode password string.
473
e77e9cf4
GM
4742008-08-30 Glenn Morris <rgm@gnu.org>
475
476 * url-http.el (url-https-expand-file-name): Resolve directly to
477 url-default-expander rather than via another alias.
478 (url-default-expander): Autoload an autoload. (Bug#825).
479
d1ce47b0
JB
4802008-07-02 Juanma Barranquero <lekktu@gmail.com>
481
482 * url.el (url-do-setup):
483 * url-dired.el (url-dired-minor-mode):
484 * url-file.el (url-file-find-possibly-compressed-file):
485 * url-gw.el (url-gateway-broken-resolution):
486 * url-handlers.el (url-handler-regexp):
487 * url-imap.el (url-imap-default-port):
488 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
489
490 * url-auth.el (url-basic-auth-storage, url-digest-auth):
491 Fix typos in docstrings.
492 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
493
494 * url-cache.el (url-cache-prepare): Doc fix.
495 (url-cache-create-filename-human-readable, url-cache-extract):
496 Fix typos in docstrings.
497
498 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
499 (url-dav-delete-something): Fix typos in docstrings.
500 (url-dav-http-success-p, url-dav-file-name-all-completions)
501 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
502
503 * url-http.el (url-http-idle-sentinel): Doc fix.
504
505 * url-irc.el (url-irc-default-port): Fix typo in docstring.
506 (url-irc-function): Doc fix.
507
508 * url-util.el (url-get-url-filename-chars, url-unhex-string):
509 Fix typos in docstrings.
510 (url-file-extension): Doc fix.
511
512 * url-vars.el (url-current-object, url-current-mime-headers)
513 (url-privacy-level, url-mail-command, url-mime-language-string):
514 Fix typos in docstrings.
515 (url-honor-refresh-requests): Reflow docstring.
516 (url-using-proxy): Doc fix.
517
0b5c4225
DN
5182008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
519
520 * vc-dav.el: Move to the parent directory to be together with the
521 rest of the VC backends.
522
8705576e
GM
5232008-06-07 Glenn Morris <rgm@gnu.org>
524
525 * url-auth.el (auth-source-user-or-password): Remove unnecessary
526 eval-and-compile.
527
a118b59b
SM
5282008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * url-handlers.el (url-file-name-completion): Add missing argument.
531
97d1c236
TZ
5322008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
533
ba60bd44 534 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
97d1c236
TZ
535 (url-basic-auth, url-digest-auth): Use it with any realm,
536 overriding the user name and password before the prompt.
537
c385aa1a
JB
5382008-04-28 Juanma Barranquero <lekktu@gmail.com>
539
540 * url-vars.el (url-load-hook): Fix typo in docstring.
541
84f089d3
MH
5422008-03-09 Magnus Henoch <mange@freemail.hu>
543
544 * url-http.el (url-http-chunked-encoding-after-change-function):
a628ad9d 545 Remove superfluous CRLF at end of file. (Bug #42)
84f089d3 546
26d72be8
AS
5472008-03-02 Andreas Schwab <schwab@suse.de>
548
549 * url-util.el: Require cl when compiling.
550
d626f888
TZ
5512008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
552
ba60bd44
JB
553 * url-util.el (url-get-normalized-date): Simplify to use
554 `format-time-string'. Always generate date in UTC, but
d626f888
TZ
555 call it GMT for full compatibility with the RFCs.
556
a9f31e3d
MA
5572008-02-06 Michael Albinus <michael.albinus@gmx.de>
558
559 * url-handlers.el (file-remote-p): Add handler.
560 (url-handler-file-remote-p): New fun.
561
791fe182
SM
5622008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * url-handlers.el (url-handler-unhandled-file-name-directory):
565 Handle `file' URLs specially. Return nil for non-local filenames.
566
b72ef564
MH
5672008-02-04 Magnus Henoch <mange@freemail.hu>
568
569 * url-expand.el: Require cl when compiling, for setf.
570
e652840b
JW
5712008-01-29 John Wiegley <johnw@newartisans.com>
572
573 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
574 being used, don't add it to the response text. Also, changed an
575 if so that the interaction between the PROMPT and OVERWRITE
576 arguments can no longer result in the user being queried twice for
577 the same login and password information.
578
ce4059ee
SM
5792008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * url-handlers.el (unhandled-file-name-directory): Add handler.
582 (url-handler-unhandled-file-name-directory): New fun.
583
80e4b01d
MA
5842008-01-07 Michael Albinus <michael.albinus@gmx.de>
585
586 * url-handlers.el (url-file-handler): Autoload.
587
9824ded5
GM
5882007-12-11 Glenn Morris <rgm@gnu.org>
589
590 * url.el (url-configuration-directory): Make it a defcustom.
591
592 * url-util.el (url-make-private-file): New function.
593 * url-cookie.el (url-cookie-write-file):
594 * url-history.el (url-history-save-history):
595 Use url-make-private-file and with-temp-buffer.
596
40234eaf
GM
5972007-12-06 Glenn Morris <rgm@gnu.org>
598
599 * url-file.el, url-mailto.el: Remove directory part from filenames
600 in function declarations.
601
24030ea3
GM
6022007-12-02 Glenn Morris <rgm@gnu.org>
603
e05b1e72
GM
604 * url-about.el, url-handlers.el: Don't require cl when compiling.
605
606 * url-dav.el (url-dav-delete-directory): Fix message typo.
607
608 * url-history.el (top-level): Don't require cl when compiling.
609 (url-history-setup-save-timer, url-history-save-history):
610 Use condition-case rather than ignore-errors.
611
612 * url-imap.el (top-level): Don't require cl when compiling.
613 (url-imap): Use signal rather than check-type.
614
24030ea3
GM
615 * url-news.el (top-level): Don't require cl when compiling.
616 (gnus-group-buffer): Define for compiler.
617 (url-news-fetch-message-id): Don't use `declare'.
618 (nntp-open-tls-stream, nntp-open-ssl-stream):
619 No need to define for compiler.
620 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
c2bf6d2c 621 Correct quoting of nntp-open-connection-function value.
24030ea3 622
29c7eba8
GM
6232007-12-01 Glenn Morris <rgm@gnu.org>
624
625 * url-handlers.el (top-level): Always require url-parse, not just
626 when compiling.
627
36176341
GM
6282007-11-30 Glenn Morris <rgm@gnu.org>
629
630 * url-cookie.el (url-cookie-p): Declare as a function.
631
0bd90741
GM
6322007-11-29 Glenn Morris <rgm@gnu.org>
633
634 * url-file.el (url-file-build-filename, url-file): Wrap uses of
635 efs in (featurep 'xemacs) test.
636
637 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
638
7ba1d5ae
GM
6392007-11-28 Diane Murray <disumu@x3y2z1.net>
640
641 * url-dired.el: Don't require w3-fetch and w3-open-local.
c385aa1a 642 (url-dired-find-file): Use `find-file'. Doc fix.
7ba1d5ae
GM
643 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
644
9f34397d
GM
6452007-11-24 Glenn Morris <rgm@gnu.org>
646
647 * url-privacy.el (url-device-type): Fix typo.
648
153ef845
DN
6492007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
650
651 * url-mailto.el (mail-send-and-exit):
652 * url-http.el (url-dav-file-attributes):
d4aa48db 653 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6d00e226
DN
654 (url-generate-unique-filename): Declare as functions.
655
153ef845
DN
656 * url-privacy.el (url-device-type): Define unconditionally.
657
9ffb9521
RS
6582007-11-15 Richard Stallman <rms@gnu.org>
659
660 * url.el (url-retrieve-synchronously): Call delete-process.
661
3a47bb3e
JB
6622007-10-31 Juanma Barranquero <lekktu@gmail.com>
663
664 * url-vars.el (url-vars-unload-hook): Remove function and variable.
665 Hooks are automatically removed by `unload-feature'.
666
4148f522
RS
6672007-10-13 Richard Stallman <rms@gnu.org>
668
669 * url-util.el (url-basepath): Function deleted.
670 (url-file-directory, url-file-nondirectory): New functions
671 replacing url-basepath. Callers changed.
672
673 * url-expand.el (url-default-expander): Use `url-file-directory'.
674
675 * url-auth.el (url-digest-auth, url-basic-auth):
676 Rename `path' to `file'. Use `url-file-directory'.
677
3aa491bc
GM
6782007-10-12 Diane Murray <disumu@x3y2z1.net>
679
680 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
2a5be7dc 681 empty string filename.
3aa491bc 682
d1d80b80
RS
6832007-10-09 Richard Stallman <rms@gnu.org>
684
685 * url-parse.el (url-type, url-user, url-password, url-host)
686 (url-port, url-filename, url-target, url-attributes)
687 (url-fullness, url-set-type, url-set-user, url-set-password)
688 (url-set-host, url-set-port, url-set-filename, url-set-target)
689 (url-set-attributes, url-set-full): Change macros to defuns.
690
259b63b4
JB
6912007-09-26 Juanma Barranquero <lekktu@gmail.com>
692
693 * url-dav.el (top):
694 * url-vars.el (top): Use `mapc' rather than `mapcar'.
695
8a35aa36
GM
6962007-09-22 Diane Murray <disumu@x3y2z1.net>
697
698 * url-misc.el (url-generic-emulator-loader): Send the port as a
2a5be7dc 699 string to `url-do-terminal-emulator'.
8a35aa36 700
965d1f0e
GM
7012007-09-21 Diane Murray <disumu@x3y2z1.net>
702
3a47bb3e 703 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
d01b3550 704
965d1f0e
GM
705 * url-util.el (url-get-normalized-date): Pass full timezone
706 information to timezone-make-date-arpa-standard, since zone name
707 may be unknown.
708
72f25299
GM
7092007-09-03 Diane Murray <disumu@x3y2z1.net>
710
0f71f9da 711 * url-http.el (url-http-parse-headers): Bind the current buffer
72f25299
GM
712 rather than calling `url-mark-buffer-as-dead' with
713 `current-buffer', so that the correct buffer is killed if
714 `url-retrieve-synchronously' gets redirected to a new URL.
715
d18ec89f
SM
7162007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * url-parse.el (url): Use defstruct rather than macros.
719 (url-generic-parse-url):
720 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
721 * url-methods.el (url-scheme-register-proxy):
722 * url-mailto.el (url-mailto):
723 * url-file.el (url-file-build-filename):
724 * url-expand.el (url-identity-expander, url-default-expander):
725 Update all callers.
726
0f71f9da
JB
7272007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
728
729 * url-auth.el (url-basic-auth): When prompting for username
730 and password, default to the username and password in the URL.
731
df26688b
GM
7322007-08-08 Glenn Morris <rgm@gnu.org>
733
734 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
735 Replace `iff' in doc-strings and comments.
736
cacc7b51
GM
7372007-07-25 Glenn Morris <rgm@gnu.org>
738
739 * Relicense all FSF files to GPLv3 or later.
740
c0ed4c23
CY
7412007-06-12 Tom Tromey <tromey@redhat.com>
742
743 * url.el (url-configuration-directory): Use user-emacs-directory.
744
495fa7db
SM
7452007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * url-cookie.el (url-cookie-name, url-cookie-value)
748 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
749 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
750 (url-cookie-set-expires, url-cookie-set-localpart)
751 (url-cookie-set-domain, url-cookie-set-secure)
752 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
753 (url-cookie): New struct.
754 (url-cookie-store): Use setf instead of url-cookie-set-*.
755
345c7f05
CY
7562007-05-29 Chong Yidong <cyd@stupidchicken.com>
757
758 * url-mailto.el (url-mailto): Insert body after
de74fffc 759 mail-header-separator if present, so that it is before signature.
345c7f05
CY
760 Suggested by Leo <sdl.web@gmail.com>.
761
5cfdb0fb
CY
7622007-04-15 Chong Yidong <cyd@stupidchicken.com>
763
764 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
765
f25a9946
CY
7662007-04-13 Chong Yidong <cyd@stupidchicken.com>
767
768 * url-http.el (url-http-parse-headers): Stop after a set number of
769 redirections. Suggested by Diane Murray.
770
771 * url-vars.el (url-max-redirections): New var.
772
60df22cc 7732007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
774
775 * url-http.el (url-http-handle-cookies): Reverse list returned by
776 `mail-fetch-field', so that cookies are set in the correct order.
777
778 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
779 Deal with wildcard dots in domain values.
780
fd1e2cde
EZ
7812007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
782
783 * url-http.el (url-http-mark-connection-as-busy)
784 (url-http-mark-connection-as-free): Clear query-on-exit flag on
785 idle connections.
786
b3cd7f61
CY
7872007-02-04 Chong Yidong <cyd@stupidchicken.com>
788
789 * url-http.el (url-http-connection-opened): New variable.
790 (url-http): Initialize it.
791 (url-http-async-sentinel): Don't try changing sentinels.
792 Run url-http-end-of-document-sentinel if necessary.
793
8f77631e
JB
7942007-01-29 Juanma Barranquero <lekktu@gmail.com>
795
796 * url-auth.el (url-get-authentication): Fix typo in docstring.
797
00d972eb
MH
7982007-01-14 Magnus Henoch <mange@freemail.hu>
799
800 * url-proxy.el (url-proxy-object): Remove.
801 (url-proxy): Don't use `url-proxy-object'. Act according to type of
802 proxy (currently only HTTP supported).
803
804 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
805
806 * url-http.el (url-http-proxy): New variable.
807 (url-http-create-request): Use it. Don't use `url-proxy-object'.
808 (url-http): Treat `url' argument as resource to download, and
f49d1f52
SM
809 dynamic variable `url-using-proxy' as proxy to use.
810 Set `url-current-object' to actual URL, and `url-http-proxy' to proxy
00d972eb
MH
811 used.
812 (url-http-handle-cookies): Assume that `url-current-object' does
813 not point to the proxy used.
814 (url-http-async-sentinel): Adapt error message.
815
28e86dc4
JB
8162006-12-10 Juanma Barranquero <lekktu@gmail.com>
817
818 * url-gw.el (url-gateway-nslookup-program): Doc fix.
819
b8976ce0
MH
8202006-12-08 Magnus Henoch <mange@freemail.hu>
821
822 * url-proxy.el (url-proxy-object): New variable.
823 (url-proxy): Bind it instead of `proxy-object'.
824
825 * url-http.el (url-http-create-request): Remove url argument, use
f49d1f52
SM
826 the buffer-local variable `url-http-target-url' instead.
827 Both callers updated. Simplify proxy handling.
b8976ce0
MH
828 (url-http): Don't make proxy-object buffer local.
829
830 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
831
57babe17
MH
8322006-11-26 Magnus Henoch <mange@freemail.hu>
833
f49d1f52
SM
834 * url-http.el (url-http-wait-for-headers-change-function):
835 Use `when' instead of `if' when possible.
b9b172ac
MH
836 (url-http): Define url-http-response-version.
837 (url-http-parse-response): Set it.
838 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 839
60df22cc 8402006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4 841
f49d1f52
SM
842 * url-http.el (url-http-content-length-after-change-function):
843 Use `url-lazy-message'.
48d2bac4
MH
844
845 * url-util.el (url-display-percentage): Only show a message if
846 `url-show-status' is non-nil.
847
d58fae84
MH
8482006-11-15 Magnus Henoch <mange@freemail.hu>
849
6e2988e6
MH
850 * url-http.el (url-http): Make proxy-object buffer-local, to
851 handle proxied asynchronous connections correctly.
852
d58fae84
MH
853 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
854
1ac3c910 8552006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 856
1ac3c910
JB
857 * url-http.el (url-http-wait-for-headers-change-function):
858 Defer detection of HTTP 0.9 until we have at least one line.
98325235 859
1ac3c910 8602006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
861
862 * url-http.el (url-http-mark-connection-as-free)
863 (url-http-find-free-connection): Don't treat process with status
864 `connect' as free.
865 (url-http-async-sentinel): Request correct url.
866
947612be
MH
8672006-11-08 Magnus Henoch <mange@freemail.hu>
868
385b64c5
MH
869 * url-http.el (url-http-handle-authentication): If there are
870 several authentication headers, use the strongest available
871 method.
872
947612be
MH
873 * url.el (url-retrieve-synchronously): Allow quitting when
874 inhibit-quit is t.
875
1ac3c910 8762006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
877
878 * url-http.el (url-http-handle-authentication): If there are
879 several authentication headers, use the first with a supported
880 method.
881
8ea88265
MH
8822006-11-01 Magnus Henoch <mange@freemail.hu>
883
884 * url-http.el (url-http-create-request): Use buffer-local
885 equivalents of dynamically bound variables.
886
080234b6
MH
8872006-10-29 Magnus Henoch <mange@freemail.hu>
888
889 * url-gw.el (url-open-stream): Really use asynchronous
890 connections (accidentally disabled during debugging).
891
ced20bfb
MH
8922006-10-28 Magnus Henoch <mange@freemail.hu>
893
894 * url-http.el (url-http-parse-headers): Fix misplaced paren.
895
5695d1dd
CY
8962006-10-27 Magnus Henoch <mange@freemail.hu>
897
898 * url-http.el (url-http-mark-connection-as-free): Verify that
899 connection is open before saving it.
900 (url-http-handle-authentication): Use url-retrieve-internal
901 instead of url-retrieve.
902 (url-http-parse-headers): Adapt to new callback interface.
903 (url-http): Handle non-blocking connections.
904 (url-http-async-sentinel): Create.
905
906 * url.el (url-retrieve): Update docstring for new callback interface.
907 Remove all code.
908 (url-retrieve-internal): Move code from url-retrieve here.
909
910 * url-gw.el (url-open-stream): Use a non-blocking socket for
911 `native' gateway method, if available.
912
784f5416
MH
9132006-10-16 Magnus Henoch <mange@freemail.hu>
914
1ac3c910
JB
915 * url-http.el (url-https-create-secure-wrapper):
916 Always use tls gateway method.
784f5416 917
dfea17e0
MH
9182006-10-12 Magnus Henoch <mange@freemail.hu>
919
1ac3c910
JB
920 * url-http.el (url-http-find-free-connection):
921 Handle url-open-stream returning nil.
dfea17e0 922
9c51663a
MH
9232006-10-11 Magnus Henoch <mange@freemail.hu>
924
925 * url-https.el: Remove (clashes with url-http on 8+3 systems).
926
927 * url-http.el: Move contents of url-https.el here. Add autoloads.
928
f6fb70fc
MH
9292006-10-09 Magnus Henoch <mange@freemail.hu>
930
931 * url-parse.el (url-generic-parse-url): Handle URLs with empty
932 path component and non-empty query component. Untangle path,
933 query and fragment parsing code. Add references to RFC 3986 in
934 comments.
c385aa1a 935 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 936
162fbe11
SM
9372006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * url-dav.el (url-dav-file-attributes): Simplify.
940
941 * url-http.el (url-http-head-file-attributes): Add device "info".
942
f316efd9
MB
9432006-09-18 Michael Olson <mwolson@gnu.org>
944
945 * url-methods.el (url-scheme-register-proxy): Handle case where
946 getenv returns an empty string for http_proxy. This prevents an
947 error when calling `format' later on.
948
60df22cc 9492006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 950
c2a7ddb1
SM
951 * url-parse.el (url-recreate-url-attributes): New function, code
952 simply moved from `url-recreate-url'.
953 (url-recreate-url): Use it.
954 Put the `url-target' at the end of the URL after the attributes.
955
956 * url-http.el (url-http-create-request):
957 Use `url-recreate-url-attributes' when setting real-fname.
958
60df22cc 9592006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
960
961 * url-cookie.el (url-cookie-write-file): Really don't use versioned
962 backups.
7660c02f 963
d0f891a7
SM
9642006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
967 dest file will already exist.
968
07e9b3f0
SM
9692006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
970
971 * url-util.el (url-hexify-string): Only utf-8 encode if it's
972 a multibyte string.
973 (url-normalize-url): Remove unused var `grok'.
974 (url-truncate-url-for-viewing): Remove unused var `tail'.
975
ecfbb488
TTN
9762006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
977
978 * url-util.el (url-hexify-string): Rewrite.
979 Suggested by David Smith <davidsmith@acm.org>.
980
0b6bb130
MB
9812006-07-12 Michael Olson <mwolson@gnu.org>
982
983 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
984
bc684c16
SM
9852006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * url-cookie.el: Remove spurious * in docstrings.
988 (url-cookie-write-file): Don't use versioned backups.
989 (url-cookie-host-can-set-p): Remove unused var `tmp'.
990
3d3a26eb 9912006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
992
993 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
994 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
995
d10a6bf1
RS
9962006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
997
998 * url-http.el (url-http-file-exists-p): Test if status is integer.
999
3d3a26eb 10002006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
1001
1002 * url-http.el (url-http-parse-headers): Don't reuse connection if
1003 "Connection: close" header was seen.
1004
351b838f
SM
10052006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * url-gw.el (url-open-stream): Don't hide errors.
1008 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
1009
1010 * url-handlers.el (url-insert): New function.
1011 (url-insert-file-contents): Use it.
1012
bdba217b
SM
10132006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * url-handlers.el (url-handler-directory-file-name): New handler.
1016 (url-file-local-copy): Plug race condition security hole.
1017
7608c40c
RF
10182006-03-27 Romain Francoise <romain@orebokech.com>
1019
1020 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
1021 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
1022 Default to rcirc, since ZenIRC isn't part of Emacs.
1023
bedeb7fd
SM
10242006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
1027
8dff56de
SM
10282006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * url-http.el (url-http-find-free-connection): Don't kill the process
1031 when killing the temp buffer.
1032 (url-http-symbol-value-in-buffer): Massage to make it clear to the
1033 byte-compiler that the function is defined.
1034
9b4cf231
SM
10352006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * url.el (url-redirect-buffer): New var.
1038 (url-retrieve-synchronously): Use it to follow redirections.
1039
1040 * url-http.el: Require `url' rather than try to autoload parts of it.
1041 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
1042 (url-http-parse-headers): Set `url-redirect-buffer' when following
1043 a redirection reply.
1044
81cafdfe
SM
10452006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * url-news.el: Move defvars out of eval-when-compile.
1048 (url-news-fetch-message-id, url-news-fetch-newsgroup):
1049 Use with-current-buffer.
1050
5dc3ceeb
SM
10512006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1052
e7ea7cac
SM
1053 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
1054 to stop in the middle of a redirection.
1055
5dc3ceeb
SM
1056 * url-vars.el (url-privacy-level): Add setter.
1057
72a30be4
SM
10582006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1059
176c99dc
SM
1060 * url-history.el (url-history-hash-table): Initialize in declaration.
1061 (url-history-parse-history): Don't reset the history.
1062 (url-history-save-history): Create parent dir if necessary.
1063 (url-history-save-history): Don't write the initialization of
1064 url-history-hash-table into the history file.
9b4cf231 1065 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
1066 (url-completion-function): Simplify.
1067
72a30be4
SM
1068 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
1069 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
1070 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
1071 (url-cookie-setup-save-timer): Remove autoload cookies.
1072 They're only called from files that require url-cookie anyway.
1073
1074 * url-history.el (url-history-setup-save-timer)
1075 (url-history-parse-history, url-history-save-history):
1076 Remove autoload cookies. They're only called from url.el which requires
1077 url-history anyway.
1078 (url-history-parse-history): Don't complain if the file is missing.
1079
55262b16
SM
10802006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
1083
1084 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
1085
1086 * url-cache.el: Require `url'.
1087
d476efde
SM
10882005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1089
32d5ce4d
SM
1090 * url-cache.el (url-store-in-cache): Use save-current-buffer.
1091
d476efde
SM
1092 * url.el (url-configuration-directory): Don't autoload because the
1093 default value needs to be computed at run-time, not dump-time.
1094
32fa5844
SM
10952005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * url-cookie.el (url-cookie-write-file): Create parent dir.
1098
1099 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
1100
0c069924
RS
11012005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1102
1103 * url-cookie.el (url-cookie-save-interval): Simplify.
1104 (url-cookie-setup-save-timer): Simplify.
1105
8553120c
RS
11062005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1107
1108 * url-history.el (url-history-list): Var deleted.
1109 (url-history-save-interval): Simplify.
1110 (url-history-setup-save-timer): Simplify.
1111
b0ab1a06
KS
11122005-12-01 Kim F. Storm <storm@cua.dk>
1113
1114 * url-history.el (url-history-track): Fix last change.
1115
1942d6cc
RS
11162005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1117
1118 * url-history.el (url-history-track):
1119 Call url-history-setup-save-timer in :set function.
1120 :type allows three alternatives.
1121 (url-history-setup-save-timer): Test url-history-track.
1122 * url.el (url-retrieve): Test url-history-track.
1123
12f1edc8
SM
11242005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1125
1126 * url-http.el: Use with-current-buffer.
1127 (url-http-target-url): Rename from url-http-cookies-sources.
1128 (url-http-parse-headers): Use it.
1129 (url-http-handle-authentication): Use subst-char-in-string.
1130
2b1b005c 11312005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
77f05e24
SM
1132
1133 * url-handlers.el (url-insert-file-contents): Use the charset info
1134 provided by the HTTP server, if any.
1135
ce13796f
EZ
11362005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
1137
77f05e24
SM
1138 * url-nfs.el (top level):
1139 * url-handlers.el (directory-files):
ce13796f 1140 * url-file.el (top level):
77f05e24 1141 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
1142 * url-http.el (url-http-chunked-encoding-after-change-function):
1143 Remove XEmacs support.
1144
a4684cb0
RS
11452005-10-15 Richard M. Stallman <rms@gnu.org>
1146
1147 * url.el: Don't try to autoload hash table functions.
1148
1430e7f9
SM
11492005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * url-http.el (url-http-create-request): Avoid incorrect implicit
1152 unibyte->multibyte conversion.
1153
8ccd3630
RS
11542005-09-17 Richard M. Stallman <rms@gnu.org>
1155
1156 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
1157
1158 * url-mailto.el (url-mailto): Special case `mail'.
1159 Don't test fboundp of `compose-mail'.
1160
b0742512
CY
11612005-09-15 Chong Yidong <cyd@stupidchicken.com>
1162
1163 * url-mailto.el (url-mailto): Delete mail buffer after sending
1164 autogenerated mail.
8ded3f47 1165 Call `compose-mail with `new' argument if possible.
b0742512 1166
c8359e8f
CY
11672005-09-13 Chong Yidong <cyd@stupidchicken.com>
1168
1169 * url-mailto.el (url-mailto): Always use a new mail buffer.
1170
6fd388f3
CY
11712005-09-01 Chong Yidong <cyd@stupidchicken.com>
1172
1173 * url-util.el (url-parse-query-string): New optional argument
1174 allow-newlines allows decoding of newlines.
1175
1176 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
1177 Don't lose original "to" value when there is a "to" header.
1178 Remove carriage return characters in message body.
1179
26d874b2
JB
11802005-08-24 Juanma Barranquero <lekktu@gmail.com>
1181
1182 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
1183 * url-http.el (url-http-cookies-sources): Defvar at compile time.
1184
dc524e8b
RS
11852005-07-15 Richard M. Stallman <rms@gnu.org>
1186
1187 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
1188 when calling url-retrieve, to indicate a redirect.
1189
1190 * url.el (url-retrieve): The callback function can get an additional
1191 keyword arg pair.
1192
a0ec7a4a
LK
11932005-07-04 Lute Kamstra <lute@gnu.org>
1194
1195 Update FSF's address in GPL notices.
1196
59fda2fa
JB
11972005-07-04 Juanma Barranquero <lekktu@gmail.com>
1198
1199 * url-history.el (url-history-track): Doc fix.
1200 (url-history): Finish `defgroup' description with period.
1201
1202 * url-cookie.el (url-cookie):
1203 * url-gw.el (url-gateway):
1204 * url-news.el (url-news):
1205 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
1206 Finish `defgroup' description with period.
1207
231add10
RS
12082005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1209
1210 * url-http.el (url-http-create-request): Call url-recreate-url
1211 in proxy case.
1212
e893ce91
RS
12132005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1214
1215 * url-http.el (url-http-create-request): When computing real-fname,
1216 call url-filename in both cases.
1217
12182005-06-27 Richard M. Stallman <rms@gnu.org>
1219
1220 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
1221 (url-cookie-retrieve): Likewise.
1222 (url-cookie-generate-header-lines): Likewise.
1223 (url-cookie-handle-set-cookie): Likewise.
1224 (url-cookie-create): Expect :localpart instead of :path.
f49d1f52
SM
1225 (url-cookie-localpart): Rename from url-cookie-path.
1226 (url-cookie-set-localpart): Rename from url-cookie-set-path.
e893ce91
RS
1227 (url-cookie-file): Doc fix.
1228 (url-cookie-p): Add doc string.
1229
528b6abc
RS
12302005-06-23 Richard M. Stallman <rms@gnu.org>
1231
1232 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
1233
23873c96
JB
12342005-06-21 Juanma Barranquero <lekktu@gmail.com>
1235
1236 * url-gw.el (url-open-stream):
1237 * url-vars.el (url-gateway-unplugged): Fix spellings.
1238
0b46b379
JB
12392005-06-14 Juanma Barranquero <lekktu@gmail.com>
1240
d6c180c4 1241 * url-history.el (url-completion-function): Follow error conventions.
0b46b379 1242
175384d1
SM
12432005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1246
7f954571
SM
12472005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1248
0090e048
SM
1249 * url-dav.el: Remove most autoload cookies.
1250 Don't hook into the url-file-handler since it currently breaks all
1251 non-HTTP URLs.
1252
7f954571
SM
1253 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1254
1255 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1256 fetching a file via ange-ftp.
1257
466c78c0
JB
12582005-06-10 Juanma Barranquero <lekktu@gmail.com>
1259
7f954571 1260 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 1261
93c8c9cd
JB
12622005-05-19 Juanma Barranquero <lekktu@gmail.com>
1263
1264 * url-cookie.el (url-cookie-multiple-line):
1265 Specify group and type in defcustom.
1266
216d3806
JB
12672005-05-06 Juanma Barranquero <lekktu@gmail.com>
1268
1269 * url-auth.el (url-register-auth-scheme):
1270 * url-cookie.el (url-cookie-expired-p):
1271 * url-dav.el (url-dav-process-date-property)
1272 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1273 * url-http.el (url-http-chunked-encoding-after-change-function)
1274 (url-http-wait-for-headers-change-function):
1275 * url-ns.el (isInNet):
1276 * url-parse.el (url-generic-parse-url):
1277 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1278 by `string-to-number'.
1279
799fba8f
SM
12802005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1281
1282 * url.el (url-retrieve-synchronously): Work around the fact that
1283 url-http sometimes doesn't call the callback.
1284
8c6ef2ca
LK
12852005-04-04 Lute Kamstra <lute@gnu.org>
1286
1287 * url-handlers.el (url-handler-mode): Specify :group.
1288
a6efc2c2
EZ
12892005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1290
1291 * url-history.el (url-have-visited-url): Don't barf if
1292 url-history-hash-table is nil.
1293
134948fc
RS
12942005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1295
1296 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1297
1a8461d3
EZ
12982005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1299
557724a8
EZ
1300 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1301 to nil, like for the 303 response.
1a8461d3 1302
944b2ab6
SM
13032005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1306 than sit-for.
1307
e817f9a2
TTN
13082005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1309
1310 * url-http.el (url-http-handle-authentication):
1311 Don't kill the current buffer.
1312
5007cdc9
SM
13132004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * url-handlers.el: Don't `require' everything eagerly.
1316
cacfe88b
AS
13172004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1318
1319 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1320 to `url-http-cookies-sources' so that cookies are attributed to
1321 proper domain.
1322 (url-http): Make local variable `url-http-cookies-sources'.
1323
dc1a0a7a
AS
13242004-11-28 Andreas Schwab <schwab@suse.de>
1325
1326 * url-http.el (url-http-create-request): Don't add newline after
1327 the request data.
1328
14e25c87
MY
13292004-11-20 Masatake YAMATO <jet@gyve.org>
1330
1331 * url.el (url-mm-callback): Delay the invocation
1ac3c910 1332 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
1333 when the buffer is killed.
1334
de0234ea
MY
13352004-11-12 Masatake YAMATO <jet@gyve.org>
1336
5007cdc9 1337 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 1338
60b5eb78
MY
13392004-11-02 Masatake YAMATO <jet@gyve.org>
1340
1341 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 1342 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
1343 is expected to be an integer.
1344
1345 * url-irc.el (url-irc): Ditto.
1346
1347 * url-news.el (url-news-open-host): Ditto.
1348
1349 * url-nfs.el (url-nfs-build-filename): Ditto.
1350
ed87225a
JPW
13512004-10-20 John Paul Wallington <jpw@gnu.org>
1352
1353 * url-gw.el (url-gateway-nslookup-host):
1354 Use `set-process-query-on-exit-flag'.
1355
2a6c7fe5
LH
13562004-10-10 Lars Hansen <larsh@math.ku.dk>
1357
4169c186
KS
1358 * url-auth.el:
1359 * url-cache.el:
1360 * url-cid.el:
1361 * url-dired.el:
1362 * url-expand.el:
1363 * url-ftp.el:
1364 * url-gw.el:
1365 * url-imap.el:
1366 * url-irc.el:
1367 * url-misc.el:
1368 * url-news.el:
1369 * url-ns.el:
1370 * url-privacy.el:
2a6c7fe5
LH
1371 * url-proxy.el: Update header and footer.
1372
1373 * url-vars.el: Update header.
1374
c2e2ede7
RS
13752004-10-16 Richard M. Stallman <rms@gnu.org>
1376
1377 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1378
1379 * url-vars.el (url-passwd-entry-func): Var deleted.
1380 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
1381 (url-weekday-alist): Rename from weekday-alist.
1382 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
1383 (url-vars-unload-hook): Initialize hook var to hold the function.
1384
5007cdc9
SM
1385 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1386 url-monthabbrev-alist.
c2e2ede7
RS
1387
1388 * url-misc.el: Load cl at compile time.
1389
1390 * url-mailto.el: Don't load cl.
1391 (url-mailto): Fix call to `push'.
1392
1393 * url-gw.el (url-open-telnet): Use read-passwd.
1394
1395 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1396
3bb53a84
SJ
13972004-10-12 Simon Josefsson <jas@extundo.com>
1398
1399 * url-vars.el (url-gateway-method): Add new method `tls'.
1400
1401 * url-news.el (url-snews): Use nntp-open-tls-stream if
1402 url-gateway-method is tls.
1403
5007cdc9
SM
1404 * url-ldap.el (url-ldap-certificate-formatter):
1405 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
1406
1407 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1408 is not available.
1409
1410 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1411 (url-open-stream): Likewise.
1412
df41da5e
LH
14132004-10-10 Lars Hansen <larsh@math.ku.dk>
1414
4169c186
KS
1415 * url-auth.el:
1416 * url-cache.el:
1417 * url-cookie.el:
1418 * url-dired.el:
1419 * url-file.el:
1420 * url-ftp.el:
1421 * url-handlers.el:
1422 * url-history.el:
1423 * url-irc.el:
1424 * url-mailto.el:
1425 * url-methods.el:
1426 * url-misc.el:
1427 * url-news.el:
1428 * url-nfs.el:
1429 * url-parse.el:
1430 * url-privacy.el:
1431 * url-vars.el:
1432 * url.el:
df41da5e
LH
1433 * url-util.el: Fix copyright notice.
1434
ccd59305
SM
14352004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1438 encoding, not the buffer-file-name (which might not even exist).
1439
d4fdad60
SM
14402004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1441
1442 * url-handlers.el (url-insert-file-contents): Decode contents.
1443
10a6e6ba
SM
14442004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * url-util.el (url-debug): Use with-current-buffer.
1447
1448 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1449 (url-nfs-create-wrapper): Use new backquote syntax.
1450
1451 * url-https.el (url-https-file-attributes): Add id-format param.
1452
1453 * url-http.el (url-http-head-file-attributes)
1454 (url-http-file-attributes): Add id-format parameter.
1455
1456 * url-handlers.el: Use new find-file-hook.
1457 (url-file-attributes): Add id-format parameter.
1458
1459 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1460 (url-file-file-attributes): Add id-format parameter.
1461
1462 * url-dav.el: Use with-current-buffer.
1463 (url-dav-process-response): Fix regexps and spurious quote.
1464 (url-dav-file-attributes): Add id-format param.
1465
14662004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * url.el (url-retrieve): Use with-current-buffer.
1469
1470 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1471 Remove unused var `version'.
1472
1473 * url-handlers.el (url-handler-mode): New minor mode.
1474 (url-setup-file-name-handlers): Remove.
1475
14762004-04-12 John Paul Wallington <jpw@gnu.org>
1477
1478 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1479 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1480
14812004-04-11 Dave Love <fx@gnu.org>
1482
1483 * url-mailto.el (url-mailto):
1484 * url-history.el (url-history-setup-save-timer):
1485 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1486
1487 * url-file.el (url-file-build-filename): Don't use
1488 directory-sep-char.
1489
1490 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1491
1492 * url-about.el (url-scheme-registry): Defvar.
1493 (url-about): Use text/plain.
1494
1495 * url-vars.el (cl): Don't require.
1496 (url): Add :version.
1497 (url-bug-address): Use bug-gnu-emacs.
1498
1499 * url-util.el (url-hexify-string): Don't give multibyte error
1500 for char <16.
1501 (mail-header-extract): Autoload.
1502
1503 * url-parse.el: Doc fixes.
1504
1505 * url-ldap.el (ldap): Require.
1506 (url-ldap): Fix `format' call.
1507 (url-ldap-certificate-formatter): Avoid warning.
1508
4dfde3dd 1509 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
1510
1511 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1512 (url-intersection): New.
1513 (url-dav-supported-p): Use it.
1514 (url-dav-save-resource): Declare url-http-response-status special.
1515
1516 * url-cache.el (url-util): Require.
1517
15182004-04-10 Miles Bader <miles@gnu.org>
1519
1520 RCS keyword removal (only non-comment changes are enumerated here):
1521
1522 * url-vars.el (url-version): Use the constant string "Emacs"
1523 instead of calculating something from the RCS `State' keyword
1524 [the latter is almost entirely useless anyway].
1525
15262004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * url-methods.el:
1529 * url-parse.el: Don't require url-auto.
1530
15312004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1532
1533 * url: Imported the URL package from its own CVS repository into Emacs.
1534
1535===========================================================================
1536===========================================================================
1537 Copy of the ChangeLog file from URL's own CVS repository:
1538===========================================================================
1539===========================================================================
1540
15412003-07-16 Dave Love <fx@gnu.org>
1542
1543 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1544 Should be revisited.
1545
15462003-06-26 Sam Steingold <sds@gnu.org>
1547
1548 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1549 method on invalid urls.
1550
15512003-05-29 Dave Love <fx@gnu.org>
1552
1553 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1554 sit-for. From monnier@gnu.org.
1555
1ac3c910 15562002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 1557
4dfde3dd
SM
1558 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1559 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
1560
15612002-10-29 William M. Perry <wmperry@gnu.org>
1562
1563 * lisp/url-http.el (url-http-parse-headers): When doing a
1564 redirect, some broken software (sourceforge) sends a redirect to
1565 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1566 specification). I wish we could deal with such lame software
1567 appropriately (spank the authors), but this is the web, so we have
1568 to kow-tow to the servers.
1569
15702002-10-27 William M. Perry <wmperry@gnu.org>
1571
1572 * lisp/url-http.el (url-http-create-request): If we are talking to
1573 the default port for a the selected protocol, do NOT send the port
1574 in the HOST header. This fixes the login page at sourceforge.
1575
15762002-09-17 William M. Perry <wmperry@gnu.org>
1577
1578 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1579 with cookie headers.
1580 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
1581 that cookie additions and deletions get handled immediately.
1582 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
1583 (my.yahoo.com, outlook web access, etc) work. This should also
1584 fix sites that delete cookies on invalid access or other error
1585 pages the user might not actually see.
1586 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1587 methods to GET in redirects. Too many web sites do this now, and
1588 it is just likely to confuse users.
1589
15902002-05-17 Dave Love <fx@gnu.org>
1591
1592 * texi/url.txi: Start making it vaguely useful.
1593
1594 * texi/Makefile.in (install): Cope with Debian install-info.
2a5be7dc 1595 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
10a6e6ba
SM
1596
15972002-04-22 Dave Love <fx@gnu.org>
1598
1599 * lisp/url-misc.el (man): Autoload to avoid warning.
1600 (url-man): Don't require man here.
1601 (url-data): Generalize in line with the RFC.
1602
1603 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1604
1605 * lisp/url-vars.el: Doc fixes.
1606 (url-mime-charset-string): New function.
1607 (url-mime-charset-string): Use it to set the variable.
1608 (url-set-mime-charset-string): New function.
1609 (set-language-environment-hook): Use it.
1610 (url-vars-unload-hook): New function.
1611
4dfde3dd
SM
1612 * lisp/url-cookie.el (url-header-comparison): Delete.
1613 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
1614 (url-cookie-save-interval): Make value agree with doc.
1615
1616 * lisp/url.el: Doc fixes.
1617 (url-mm-callback): Don't call mm-destroy-parts immediately for
1618 external viewing -- set up a process sentinel.
1619
16202002-02-02 William M. Perry <wmperry@gnu.org>
1621
4dfde3dd 1622 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
1623
16242001-12-12 William M. Perry <wmperry@gnu.org>
1625
1626 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1627 Monnier to use ` instead of ^ to match the relative link.
1628
16292001-12-10 William M. Perry <wmperry@gnu.org>
1630
1631 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1632 plist-get (reversed args).
1633
1634 * lisp/url-file.el (url-file-build-filename): Make sure that we
1635 have a parsed URL in this function.
1636
16372002-01-22 Dave Love <fx@gnu.org>
1638
1639 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1640
4dfde3dd
SM
1641 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1642 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
1643
1644 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1645
1646 * lisp/mule-sysdp.el: Removed (obsolete).
1647
16482001-12-09 William M. Perry <wmperry@gnu.org>
1649
1650 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1651 remove an arbitrary resource.
1652 (url-dav-delete-directory): Use it.
1653 (url-dav-delete-file): Ditto.
1654 (url-dav-make-directory): New function.
1655 (url-dav-rename-file): New function.
1656 (url-dav-register-handler): New function to easily register a
1657 WebDAV-specific file-name-handler operation.
1658 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 1659 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
1660
16612001-12-08 William M. Perry <wmperry@gnu.org>
1662
1663 * lisp/url-dav.el (url-dav-directory-files): New function to
1664 mimic `directory-files' for WebDAV.
1665 (url-dav-delete-directory): New function to mimic
1666 `delete-directory' for WebDAV.
1667
16682001-12-06 William M. Perry <wmperry@gnu.org>
1669
1670 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1671 DAV:locktoken hrefs into a usable format.
1672 (url-dav-process-response): Use an unwind-protect to make sure
1673 that we clean up the buffer, even if there is a parsing error.
1674 (url-dav-request): New function to act as the main entry point for
1675 making DAV requests. Takes care of building the XML document with
1676 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
1677 (url-dav-get-properties): Use new url-dav-request function.
1678 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
1679 extra properties we are looking for.
1680 (url-dav-unlock-resource): New function to release a lock given a
1681 URL and a lock-token.
1682 (url-dav-process-DAV:getlastmodified)
1683 (url-dav-process-DAV:creationdate)
1684 (url-dav-process-DAV:iscollection)
1685 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1686 url-dave-*!
1687 (url-dav-active-locks): New function to get a list of all the
1688 active locks for a resource.
1689 (url-dav-save-resource): New function to actually save a resource
1690 using the PUT method. I can now successfully save files to an
4dfde3dd 1691 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
1692
1693 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1694 Special case the 204/205 response codes. Some servers do not
1695 send back a 0 content-length for these, and we would hang.
1696 (url-http-parse-headers): Mark 204/205 response codes as
1697 'successful' so that the callbacks get activated.
1698 (url-http-options): Fix unbound variable usage.
1699
1700 * lisp/url-dav.el: Added full copyright information.
1701 (url-dav-process-response): Make sure that we create a DAV:status
1702 property when parsing a singleton response.
1703 (url-dav-file-attributes): If the properties returned did not have
10d1d0af 1704 a successful HTTP response code, then ignore them and use the
10a6e6ba
SM
1705 HEAD-based attributes.
1706
1707 * lisp/vc-dav.el: Added full copyright information.
1708
4dfde3dd
SM
1709 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1710 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
1711 (url-dav-file-attributes-mode-string): This now gets the entire
1712 property list instead of just the DAV:supportedlock node.
1713 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 1714 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
1715 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1716 'executable' bit to set the 'x' mode. See `mod_dav's custom
1717 properties' at http://www.webdav.org/mod_dav/ for more details.
1718 (url-dav-find-parser): New function to find the proper parser for
1719 a node-type. Looks for
1720 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1721 back to using url-dav-node-text. Caches the results on the nodes
1722 symbol name.
4dfde3dd
SM
1723 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1724 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
1725 use url-dav-dispatch-node where appropriate.
1726 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1727 property to dispatch the node, now uses dav-dispatch-node so that
1728 it is easy to add parsers for special nodes.
1729 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1730 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1731 (url-dav-process-DAV:getcontentlength)
1732 (url-dave-process-DAV:getlastmodified)
1733 (url-dave-process-DAV:creationdate)
1734 (url-dave-process-DAV:iscollection)
1735 (url-dave-process-DAV:ishidden): Aliases for the generic
1736 url-dav-process-foo-property routines.
1737 (url-dav-process-DAV:activelock)
1738 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1739 DAV:lockdiscovery nodes, so that we can find out who has a
c80e3b4a 1740 resource locked and properly parse the response to a LOCK request.
10d1d0af 1741 (url-dav-process-DAV:status): Now parses out the numeric status
10a6e6ba
SM
1742 from the HTTP response line.
1743 (url-dav-process-response): New function to handle all the
1744 parsing of an XML response from WebDAV. This handles all the
1745 logic of checking the response content-type to make sure it is
1746 XML, parses the tree, and interprets the tree.
1747 (url-dav-process-response): Make sure that all responses look
1748 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 1749 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
1750 (url-dav-get-properties): New optional argument NAMESPACES that
1751 specifies what namespaces to use in the XML request.
1752 (url-dav-get-properties): Got rid of the D: namespace in
1753 requests. It doesn't save that much space. Just use DAV:
1754 (url-dav-lock-identifier): New variable that should hold a URI
1755 pointing to contact information for the user. This will be used
1756 as the contents of the DAV:owner/DAV:href tag to identify the
1757 owner of a LOCK when requesting it. This will be shown to other
1758 users when the DAV:lockdiscovery property is requested, so make
1759 sure you are comfortable with it leaking to the outside world.
1760 (url-dav-lock-resource): New function to LOCK a dav resource.
1761
17622001-12-05 William M. Perry <wmperry@gnu.org>
1763
1764 * lisp/url-dav.el (url-dav-get-properties): New argument
1765 ATTRIBUTES that allows you to ask for specific properties instead
1766 of getting all properties via DAV:allprop.
1767
4dfde3dd
SM
1768 * lisp/url-http.el (url-http-real-basic-auth-storage):
1769 New variable for normal HTTP basic authentication.
10a6e6ba
SM
1770 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1771 basic authentication.
1772 (url-http-handle-authentication): Follow new semantics for
1773 url-basic-auth-storage.
1774
4dfde3dd 1775 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
1776 this variable. It is now a symbol pointing to where we really
1777 want to store the authorization information. This fixes proxy
4dfde3dd
SM
1778 auth and normal basic auth because of some local bindings that were
1779 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
1780 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1781 everywhere.
1782
4dfde3dd 1783 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
1784 'retrieval to the customization list.
1785
1786 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1787 statements.
1788
4dfde3dd 1789 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
1790 url-http-file-attributes so that we can have a smarter one that
1791 tries WebDAV first, then HEAD.
4dfde3dd 1792 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
1793 (url-http-options): New function that returns information gleaned
1794 from an OPTIONS request for a URL. Returns a property list
1795 returning the methods supported for the resource, what DAV and
1796 DASL levels are supported, p3p information, and whether
1797 byte-ranges are supported or not.
1798 (url-http-wait-for-headers-change-function): If we got a 0-byte
1799 content-length, activate the callback immediately.
1800 (url-http-wait-for-headers-change-function): For content-length
1801 responses with actual body-data in the chunk we are handling, call
1802 url-http-content-length-after-change-function with the remaining
1803 data. Otherwise we can deadlock if the headers and the entire
1804 body exist arrive in one chunk.
1805
1806 * lisp/url-dav.el: New file to contain the WebDAV
1807 (http://www.webdav.org/) implementation.
1808 (url-dav-supported-p): Cheap way to figure out whether we will be
1809 able to do DAV at all. We rely on the XML parser expanding
1810 namespaces for us, and currently you need a patched version of
1811 xml.el to do this. Patch sent to author for consideration.
1812 (url-dav-file-attributes): Much more complete version of
1813 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1814 finds out whether something is a directory (a WebDAV collection),
1815 the last modification time, and permissions (based on the
1816 DAV:supportedlock information).
1817 (url-dav-get-properties): Generic interface to get WebDAV
1818 properties for a URL. Can specify an optional `depth' parameter
1819 to tell the web server how many directory (collection) levels to
1820 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 1821 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
1822 (url-dav-datatype-attribute): We support the XML-Data note
1823 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1824 datatypes of attributes are. Currently only date, dateTime, int,
1825 number, float, boolean, and uri are supported.
1826
18272001-12-04 William M. Perry <wmperry@gnu.org>
1828
1829 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1830 version. If the filename matches our regexp, then it is always
1831 absolute, so just return `t'.
1832 (expand-file-name): New hooked version. If the fragment is an
1833 absolute file or URL, then expand it relative to '/'.
1834 (url-handler-regexp): New regexp for specific schemes that we
1835 want the file-name-handlers to work off of.
4dfde3dd 1836 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
1837
1838 * lisp/url-http.el (url-http-find-free-connection): Better logging
1839 about whether we are reusing an existing connection or not.
1840
4dfde3dd 1841 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
1842 to string-match instead of match-string (and with reversed
1843 arguments even).
1844
4dfde3dd 1845 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
1846 generic url-debug function to do the actual logging. Still a
1847 separate function so that we can do our magic on the network
1848 connection if the user quits while we are downloading.
1849
1850 * lisp/url-handlers.el (url-file-handler): Now logs the result of
1851 the hooked or real call.
1852
4dfde3dd 1853 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
1854
18552001-11-28 William M. Perry <wmperry@gnu.org>
1856
1857 * lisp/url-imap.el (url-imap-open-host): Use backquote.
1858 (url-imap): Now switches to 'login as the imap authenticator if
1859 the URL provides a username and password.
1860
1861 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1862 push to replace some strange logic in here.
1863 (url-run-real-handler): New function to run the real hooks in
1864 case we get a false positive or an operation that we do not
1865 support. The old way disabled _ALL_ file-name-handlers when
1866 we hit something we didn't understand - this disables JUST us.
4dfde3dd 1867 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
1868 '/' off of the first argument... it may not be safe to always
1869 assume that the first argument is the one we are acting on -
4dfde3dd 1870 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
1871 (url-setup-file-name-handlers): Use url-nonrelative-link
1872 directly. This means that you must type in the URL directly
1873 without prefixing it with a '/'.
1874
1875 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1876
1877 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1878 which activates us (because 'nnml+mail' _is_ a valid scheme name
1879 for a URI). We get thoroughly confused and end up returning
1880 `nil' when we shouldn't.
1881
18822001-11-26 William M. Perry <wmperry@gnu.org>
1883
1884 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1885 this so that visiting a URL directly will work.
1886 (file-symlink-p): Ditto.
1887 (url-insert-file-contents): If `visit' is non-nil then make sure
1888 we set buffer-file-name. After these changes you can visit
1889 http://www.gnu.org/ directly from the minibuffer.
1890 (url-insert-file-contents): When inserting the file contents,
1891 use a save-excursion so that we behave just like the original.
1892
18932001-11-25 William M. Perry <wmperry@gnu.org>
1894
4dfde3dd 1895 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
1896
18972001-11-24 William M. Perry <wmperry@gnu.org>
1898
1899 * lisp/url-about.el (url-about): New loader scheme to handle
1900 about:foo URLs. Automatically tries to find a `url-about-foo'
1901 function to display the actual data.
2941ce4b 1902 (url-about-protocols): Implement about:protocols.
10a6e6ba
SM
1903
1904 * lisp/url-http.el (url-http): Make sure that we signal an error
1905 when we cannot open a network connection for whatever reason.
1906 Before, it would just silently clean up after itself and the user
183080b6 1907 got absolutely no indication that an error had occurred. If the
10a6e6ba
SM
1908 error should truly be ignored, the caller should do that for us.
1909 (url-http-chunked-encoding-after-change-function): Doh! Need to
1910 user marker-position in some log messages now that
1911 url-http-chunked-start is a marker.
1912
19132001-11-22 William M. Perry <wmperry@gnu.org>
1914
1915 * lisp/url-https.el: Fixed definition of url-https - was using the
1916 wrong signature. Too much cut & paste.
4dfde3dd 1917 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 1918 at all. Was not taking a null `method' into account when calling
4dfde3dd 1919 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
1920
1921 * lisp/url-http.el
4dfde3dd 1922 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
1923 feedback when not debugging about what content-type and chunk # we
1924 are reading.
1925 (url-http-chunked-encoding-after-change-function): Use a marker
1926 for url-http-chunked-start so that we can safely delete the
1927 chunk-tokens instead of just marking them as invisible.
1928 (url-http-chunked-encoding-after-change-function): Actually delete
1929 the chunk-tokens. Now that we are not run from 'real'
1930 after-change functions, this is safe, and the right thing to do.
1931 Otherwise the HTML parser still saw them and inferred all sorts of
1932 bad things about the document (ie: nothing had a title!)
1933
19342001-11-21 William M. Perry <wmperry@gnu.org>
1935
1936 * lisp/url-http.el (url-http-debug): Document this variable.
1937 People other than I might want to use it.
1938 (url-http-debug): Put some code in here to check quit-flag
1939 directly. When the chunked encoding went into a tight spin, your
1940 Emacs would be wedged forever. This short-circuits all the
1941 after-change functions and signals an error.
1942 (url-http-debug): If url-http-debug is non-nil and non-t, then log
1943 the debug messages using `message' as well as sending them to the
1944 buffer.
1945 (url-http-chunked-encoding-after-change-function): Got rid of the
1946 no-initial-crlf. Had an epiphany and I can just infer this from
1947 url-http-chunked-counter being 0.
4dfde3dd 1948 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
1949 statement about reading chunk #foo into the loop so that each
1950 chunk will have a log message associated with it.
1951 (url-http-chunked-encoding-after-change-function): Make sure to
1952 set read-next-chunk to nil when the regular expression match fails
1953 to fire. Otherwise we could loop forever.
4dfde3dd
SM
1954 (url-http-chunked-encoding-after-change-function): Tweak the
1955 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
1956 (url-http-wait-for-headers-change-function): Remove the last
1957 argument when calling
1958 url-http-chunked-encoding-after-change-function. It is no longer
1959 needed. I should use my brain sometime.
1960
4dfde3dd 1961 * lisp/url-vars.el (and): Fix feature test for xemacs and
fffa137c 1962 coding-system-list behavior.
10a6e6ba
SM
1963
1964 * lisp/url-http.el
4dfde3dd
SM
1965 (url-http-chunked-encoding-after-change-function): Add optional
1966 no-initial-crlf flag that modifies the regular expression.
1967 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 1968 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 1969 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 1970 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 1971 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
1972 url-http-debug calls to help track down problems in the chunked
1973 encoding.
1974 (url-http-chunked-encoding-after-change-function): The chunk
1975 reading in here is now in a while loop so that if Emacs feeds us a
1976 chunk of data that happens to contain more than one 'chunk'
1977 delimiter, we behave correctly.
1978 (url-http-wait-for-headers-change-function): Make sure that we
1979 pass no-initial-crlf to
1980 url-http-chunked-encoding-after-change-function when passing
1981 initial data to the decoder.
1982 (url-http-generic-filter): url-http-debug statement so we can tell
1983 when/where our after-change-functions are being called.
1984
19852001-10-11 Dave Love <fx@gnu.org>
1986
1987 * lisp/url-handlers.el: Doc fixes.
1988 (string-match): Use (featurep 'xemacs).
1989
1990 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
1991
1992 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
1993
1994 * lisp/url-vars.el (url-running-xemacs): Delete.
1995 (url-gateway-unplugged): New variable.
1996
1997 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
1998 Comment out OS/2 stuff.
1999
20002001-10-05 Dave Love <fx@gnu.org>
2001
2002 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
2003 without confirmation.
2004
20052001-10-02 Dave Love <fx@gnu.org>
2006
2007 * lisp/url-http.el (url-http-create-request): Check cache for
2008 proxy-obj, if defined, rather than url.
2009 (url-http): Use dolist, not mapc (runtime cl dependency).
2010
2011 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
2012 (url-scheme-register-proxy): Fix fetching from environment.
2013 Don't concat a number.
10a6e6ba
SM
2014
20152001-10-01 Dave Love <fx@gnu.org>
2016
2017 * lisp/url-parse.el: Use modern backquote syntax.
2018
2019 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
2020 (url-mail-command): Prefer compose-mail.
2021 (tcp-binary-process-input-services): Comment out.
2022 (url-working-buffer): New constant.
2023
2024 * lisp/url-util.el (url-extract-mime-headers): New function.
2025
2026 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
2027 User-Agent.
2028
20292001-09-20 Dave Love <fx@gnu.org>
2030
4dfde3dd 2031 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
2032
20332001-06-05 Dave Love <fx@gnu.org>
2034
2035 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 2036 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
2037 (url-retrieve): Barf with sensible message if url-type is null.
2038
2039 * lisp/url-http.el (url-http): Don't try to set process
2040 coding-system here -- done in url-gw.
2041
2042 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
2043 (url-open-stream): Bind coding-system-for{read,write} when setting
e4769531 2044 up the connection. Don't call url-gw-inhibit-code-conversion.
10a6e6ba 2045
4dfde3dd
SM
20462001-05-24 William M. Perry <wmperry@gnu.org>
2047
2048 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
2049 in url-retrieve-synchronously.
2050
10a6e6ba
SM
20512001-05-23 William M. Perry <wmperry@gnu.org>
2052
2053 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
2054 accept-process-output. This is evidently causing hangs in Emacs
2055 21 when viewing complex pages with images or stylesheets.
2056 www.yahoo.com is now viewable.
2057
2058 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
2059 (mule-inhibit-code-conversion) and just have a local function that
2060 does this minimal cruft.
2061 (url-gw-inhibit-code-conversion): New function to turn off code
2062 conversion in a process.
2063
20642001-05-22 William M. Perry <wmperry@gnu.org>
2065
2066 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
2067 that we can allow multiple asynch retrievals to happen at once.
2068 (url-retrieve-synchronously): Use a much smaller timeout when
2069 doing the accept-process-output. This gets rid of the long delays
2070 if you are on a fast net connection and retrieve small documents
2071 that finish asynchronously before the first accept-process-output
2072 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 2073 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
2074 (url-retrieve): Ditto.
2075 (url-mm-url): Ditto.
2076
2077 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
2078 documentation strings. Ok, so I'm anal.
2079
2080 * lisp/url-methods.el (url-scheme-methods): Add default methods
2081 for file-directory-p and file-truename.
2082
20832001-05-22 Dave Love <fx@gnu.org>
2084
2085 * lisp/url-auth.el (url-warn): Autoload.
2086
2087 * lisp/url-proxy.el (url-warn): Autoload.
2088
2089 * lisp/url-nfs.el: Fix `file-truname' typo.
2090
2091 * lisp/url-news.el: Require cl when compiling.
1ac3c910 2092 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 2093 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
2094 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
2095
2096 * lisp/url-util.el (mule-decode-string): Don't autoload.
2097 (url-hexify-string): Just barf on multibyte characters.
2098 (url-generate-unique-filename): New function.
2099
2100 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
2101 not mm-generate-unique-filename.
2102
2103 * lisp/url-http.el: Declare things special in various places.
2104 (url-http-activate-callback): Don't set
2105 url-http-real-after-change-function.
2106
21072001-05-22 William M. Perry <wmperry@gnu.org>
2108
2109 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
2110 control whether we try to do keep-alives for our connections.
2111 (url-http-version): New variable to control whether we advertise
2112 ourselves as an HTTP/1.1 client or not. This can be useful for
2113 avoiding chunked encoding, and other 1.1 features we may not have
2114 fully implemented yet.
2115 (url-http-create-request): Honor the new variables.
2116
21172001-05-21 Dave Love <fx@gnu.org>
2118
2119 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
2120 in XEmacs.
2121 (url-mime-charset-string): Don't reverse the list before sorting.
2122
21232001-05-17 William M. Perry <wmperry@gnu.org>
2124
2125 * lisp/url-http.el (url-http-generic-filter): Avoid using
2126 after-change-functions natively. There are just too many ways
2127 that this screws up in Emacs 21. Use a filter function on the
2128 process instead, and call the hook on
2129 url-http-after-change-function manually. [Actually, it will work
2130 in Emacs 21, but one problem that has been fixed in Emacs 21
2131 exists in Emacs 20. -- fx]
2132
2133 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
2134 does not exist on older versions of Emacs, or any version of
2135 XEmacs. Do not call it unless it is bound.
2136
21372001-05-17 Dave Love <fx@gnu.org>
2138
2139 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
2140
21412001-05-16 Dave Love <fx@gnu.org>
2142
2143 * lisp/url-vars.el: Doc fixes. Require mm-util.
2144 (url-mime-charset-string): New variable.
2145
2146 * lisp/url-http.el: Doc fixes.
2147 (url-http-create-request): Rearrange how we assemble the request.
2148 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 2149 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
2150 (url-http): Call mm-disable-multibyte. Set process buffer's
2151 coding systems to binary.
2152
2153 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
2154
4dfde3dd 2155 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 2156 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 2157 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
2158
2159 * lisp/url-cache.el: Don't require mule-sysdp.
2160 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
2161
2162 * lisp/url.el: Don't require mule-sysdp.
2163 (url-retrieve): Only set text properties if url is a string.
2164
21652001-05-14 Dave Love <fx@gnu.org>
2166
4dfde3dd
SM
2167 * lisp/url-http.el (url-http-create-request):
2168 Declare proxy-object, proxy-info special.
10a6e6ba
SM
2169 (url-http-handle-authentication): Declare success special.
2170
21712001-05-12 Dave Love <fx@gnu.org>
2172
2173 * lisp/url-http.el: Revert last change.
2174
21752001-05-10 Dave Love <fx@gnu.org>
2176
4dfde3dd
SM
2177 * lisp/url-http.el (url-http-generic-after-change-function):
2178 Make it permanent-local.
10a6e6ba
SM
2179
21802001-05-05 Dave Love <fx@gnu.org>
2181
2182 * lisp/url-http.el: Autoload some functions.
2183 (cl): Require when compiling.
2184 (url-http-extra-headers): Defvar when compiling.
2185 (url-http): Treat after-change-functions as a local hook.
2186
2187 * lisp/url-history.el (url-parse): Require.
2188 (url-do-setup): Autoload.
2189
2190 * lisp/url-gw.el: Require url-vars. Autoload some functions.
2191
2192 * lisp/url-file.el: Require mailcap. Require cl when compiling.
2193 Use (featurep 'xemacs).
2194 (url-file-build-filename): Bind pos-index.
2195 (url-file): Call url-find-file-dired, not url-dired-find-file.
2196
4dfde3dd 2197 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
2198 (url-dired-minor-mode-map): Use (featurep 'xemacs).
2199 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 2200 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
2201
2202 * lisp/url-cid.el: Don't require widget. Require mm-decode
2203 unconditionally.
2204
2205 * lisp/url-util.el: Autoload mule-decode-string,
2206 timezone-parse-date, timezone-make-date-arpa-standard.
2207 (url-unreserved-chars): Fix list per RFC 2396.
2208 (url-hexify-string): Maybe string-make-unibyte.
2209
2210 * lisp/url-news.el: Require nntp.
2211
2212 * lisp/url-imap.el: Require cl when compiling. Require nnimap
2213 unconditionally.
2214
22152001-05-04 Dave Love <fx@gnu.org>
2216
2217 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
2218 not non-existent mailcap-generate-unique-filename.
2219
4dfde3dd 2220 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 2221
4dfde3dd
SM
2222 * lisp/url-parse.el: Require url-vars.
2223 Autoload url-scheme-get-property.
10a6e6ba
SM
2224
2225 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
2226 with featurep.
2227
2228 * lisp/url-mailto.el: Require cl when compiling.
2229
4dfde3dd
SM
2230 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
2231 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
2232
2233 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
2234
22352001-04-09 Dave Love <fx@gnu.org>
2236
2237 * lisp/mule-sysdp.el (mule-detect-coding-version)
2238 (mule-code-convert-region, mule-inhibit-code-conversion)
2239 (mule-write-region-no-coding-system, mule-encode-string)
2240 (mule-decode-string, mule-truncate-string)
2241 (mule-find-charset-region, mule-coding-system-name)
2242 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2243 [There must be a better way.]
2244 (mule-coding-system-p, string-width): Use defalias.
2245
22462001-01-03 Sam Steingold <sds@gnu.org>
2247
2248 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2941ce4b 2249 set `url-http-end-of-headers' to 0 for HTTP 0.9.
10a6e6ba
SM
2250
22512001-01-02 Sam Steingold <sds@gnu.org>
2252
2941ce4b 2253 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
10a6e6ba
SM
2254
22552000-12-22 Dave Love <fx@gnu.org>
2256
2257 * lisp/url-history.el (url): Don't require (to avoid recursion).
2258 (cl): Require when compiling.
2259
2260 * lisp/url-http.el (url-auth): Require.
2261 (url-http-handle-authentication): Fix typo.
2262
2263 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2264
22652000-12-20 Dave Love <fx@gnu.org>
2266
2267 * lisp/url.el: Require mm-decode, mm-view when compiling.
2268 <not (fboundp 'puthash)>: Define puthash and
2269 autoload other has functions rather than using cl-...hash.
2270 (url-warn): Define.
2271
4dfde3dd
SM
2272 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2273 Avoid cl-...hash functions.
10a6e6ba
SM
2274
2275 * lisp/url-history.el: Avoid cl-...hash functions.
2276 (url): Require.
2277
1ac3c910 2278 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
2279
22802000-10-03 William M. Perry <wmperry@aventail.com>
2281
4dfde3dd 2282 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
2283 getting set to nil due to bad string matching. Subsequent matches
2284 would then choke because we passed string-match a nil.
2285
2286 * lisp/url-http.el (url-http-parse-headers): Need to make the
2287 connection as 'free' when we get a 304 response (found in cache),
10d1d0af 2288 or when a keep-alive connection timed out, it would re-parse the
10a6e6ba
SM
2289 headers and dispatch to the callback again. Eek.
2290
22912000-10-02 William M. Perry <wmperry@aventail.com>
2292
2293 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 2294 implement chunked transfer-coding.
10a6e6ba
SM
2295 (url-http-create-request): We can now advertise ourselves as a 1.1
2296 compliant browser!
2297
22982000-07-28 Sam Steingold <sds@gnu.org>
2299
2300 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2301 `cbargs' are optional args (for calling from w3).
4dfde3dd 2302 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
2303 with `string-match' and `protocol' with `scheme'.
2304
23052000-07-18 Sam Steingold <sds@gnu.org>
2306
4dfde3dd
SM
2307 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2308 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
2309
23102000-07-10 William M. Perry <wmperry@aventail.com>
2311
2312 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2313 mule, and the character requested is > 255, then return "~"
2314 instead of letting whoever call us signal an error when they try
2315 to insert the character.
2316 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 2317 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 2318
4dfde3dd 2319 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
2320 for cid parts.
2321
2322 * lisp/url-util.el (url-display-percentage): New routine that uses
2323 the progress bar under XEmacs if available. Looks very sexy under
2324 XEmacs/GTK hacked to use the GNOME statusbar.
2325
2326 * lisp/url-http.el
2327 (url-http-content-length-after-change-function): Use new function
2328 url-display-percentage instead of url-lazy-message.
2329
23302000-01-27 William M. Perry <wmperry@aventail.com>
2331
2332 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 2333 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
2334
23351999-12-24 William M. Perry <wmperry@aventail.com>
2336
2337 * lisp/url-irc.el: Added pointer to draft specification for the
2338 IRC URL so people don't think I'm crazy.
2339
2340 * configure.in: Checks to make sure that Gnus was found, since we
2941ce4b 2341 HAVE to have it now. Removed conditional compilation of url-cid.el.
10a6e6ba 2342
1ac3c910 23431999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
2344
2345 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2346 () to have periods at the end of the chunk.
2347
23481999-12-14 William M. Perry <wmperry@aventail.com>
2349
4dfde3dd 2350 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
2351 (url-info): Autoload.
2352 (url-man): Ditto.
2353 (url-rlogin): Ditto.
2354 (url-telnet): Ditto.
2355 (url-tn3270): Ditto.
2356 (url-generic-emulator-loader): Ditto.
2357
2358 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2359 to wrap arbitrary `http' methods with the appropriate magic to
2360 turn SSL on.
2361 (file-exists-p): Use it.
2362 (file-readable-p): Use it.
2363 (file-attributes): Use it.
2364
2365 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2366 server spec for Gnus, make sure we set
2367 nntp-open-connection-function directly, so that other news-related
2368 functions above us can set it.
2369 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2370 (url-nntp): Autoload.
2371 (url-snews): Ditto.
2372 (url-news): Ditto.
2373
23741999-12-12 William M. Perry <wmperry@aventail.com>
2375
2376 * lisp/url-http.el (url-http-parse-response): New function to
2377 parse just the HTTP response code out of the buffer, without
2378 taking any other actions.
2379 (url-http-wait-for-headers-change-function): Use it here when we
2380 know we have an HTTP/1.x response.
2381 (url-http-wait-for-headers-change-function): Special case a
2382 response code of '304' or there could be some delays waiting for
2383 keep-alives to time out on cached documents with no known
2384 content-length on the server.
2385
23861999-12-11 William M. Perry <wmperry@aventail.com>
2387
2388 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2389 the Makefile does that for us. We just need to provide what files
2390 to load/functions to run.
2391
2392 * lisp/url-imap.el (url-imap-open-host): Need to bind
2393 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 2394 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 2395
1ac3c910 23961999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
2397
2398 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2399
24001999-12-11 William M. Perry <wmperry@aventail.com>
2401
2402 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2403 ange-ftp vs. efs calling semantics consistent, so that if someone
2404 has NEITHER of them loaded, everything should still work.
2405
2406 * lisp/url-handlers.el (url-copy-file): Autoload.
2407 (url-file-local-copy): Ditto.
2408 (url-insert-file-contents): Ditto.
2409 (url-setup-file-name-handlers): Ditto.
2410
24111999-12-10 William M. Perry <wmperry@aventail.com>
2412
2413 * lisp/url-http.el (mail-parse): Since we use functions from here,
2414 we should require it, eh?
2415
1ac3c910 24161999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
2417
2418 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2419 if nil.
2420 (url-cookie-generate-header-lines): Use it.
2421
24221999-12-06 William M. Perry <wmperry@aventail.com>
2423
2424 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2941ce4b 2425 4.1 gracefully.
10a6e6ba 2426
4dfde3dd
SM
2427 * lisp/url-news.el: Reimplemented news and nntp URL support.
2428 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
2429 will not work without them anyway.
2430
24311999-12-05 Dave Love <fx@gnu.org>
2432
2433 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2434 lisp/url.el:
2435 Require url-parse.
2436
24371999-12-05 William M. Perry <wmperry@aventail.com>
2438
2439 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2440 message when we have to contact a host so the user always gets
2441 at least some feedback.
2442
f49d1f52 2443 * lisp/url-expand.el (url-expander-remove-relative-links): Move and
10a6e6ba
SM
2444 renamed function.
2445 (url-default-expander): Use it.
2446
4dfde3dd
SM
2447 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2448 as well as efs.
2449 (url-file): Add default content-type of application/octet-stream if
2450 none known.
2941ce4b 2451 (url-file): Correct bad call to url-host-is-local-p.
10a6e6ba
SM
2452
2453 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2454 like buffer-substring with nil arguments.
2455 (url-copy-file): Use mm-destroy-parts instead of just killing
2456 the buffer. Use defined interfaces when available!
2457 (url-insert-file-contents): Ditto.
2458
2459 * lisp/url-http.el (url-http-create-request): Lots of changes to
2460 get proxying working.
2461
2462 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2463 find and register a proxy for a specific scheme.
2464 (url-scheme-get-property): Use it when we load a URL scheme for
2465 the first time.
2466
2941ce4b 2467 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
10a6e6ba
SM
2468
24691999-12-04 William M. Perry <wmperry@aventail.com>
2470
2471 * lisp/url-file.el (url-file): Signal an error if
2472 url-file-build-filename could not find the filename.
2473
24741999-12-01 William M. Perry <wmperry@aventail.com>
2475
2476 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2477 of manipulating the hash table directly.
2478
2479 * lisp/url-history.el (url-completion-function): New function to
2480 use for reading a URL with completion.
2481 (url-history-update-url): New function to hide the hashtable
2482 implementation from people inserting things into the history.
2483
24841999-11-30 William M. Perry <wmperry@aventail.com>
2485
2486 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2487 working.
2488
2489 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 2490 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
2491
2492 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2493 (url-copy-file): Ditto.
2494
2495 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2496 just killing the buffer. Use defined interfaces when available!
2497
2498 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2499 AC_FD_CC so they show up in config.log
2500 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2501 this always return 't' instead of 'yes' on successfully finding
2502 the library.
2503
4dfde3dd 2504 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
2505 DAV-specific error codes.
2506
4dfde3dd 2507 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
2508 (url-retrieve-synchronously): Duh, make this function actually
2509 work again. Numerous problems with it, including variable name
2510 collisions - I love dynamically scoped lisps!
2511
2512 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 2513 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba 2514
a98edce9 2515 * lisp/url-ftp.el: Moved the FTP stuff into its own file - it
10a6e6ba
SM
2516 might get messy with file-name-handlers and things.
2517
2518 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2519 using 'HEAD' requests. Thou shalt not change the length of the
2520 region during an after-change-function.
2521
2522 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 2523 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
2524 (url-scheme-get-property): Use it.
2525
25261999-11-29 William M. Perry <wmperry@aventail.com>
2527
4dfde3dd 2528 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
2529 (url-http-file-exists-p): Ditto.
2530
2531 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2532
2533 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2534 file-name-handler stubs for all the FTP/FILE stuff.
2535
2536 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2537 cruft. Generic interface on top of functions that each URL
2538 loader provides, if capable.
2539
25401999-11-27 William M. Perry <wmperry@aventail.com>
2541
2542 * lisp/url-https.el: Implemented HTTPS support.
2543
25441999-11-26 William M. Perry <wmperry@aventail.com>
2545
2546 * url-privacy.el (url-setup-privacy-info): Don't rely on
2547 device-type being defined. Not going to bother redistributing
2548 devices.el for just one function.
2549
2550 * url-methods.el (url-scheme-get-property): Emacs does not have
2551 the 3rd-argument to plist-get to specify the default. *sigh*
2552
4dfde3dd 2553 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 2554
4dfde3dd
SM
2555 * url-http.el (url-http-generic-after-change-function):
2556 New function, since Emacs does not allow you to change the
10a6e6ba
SM
2557 after-change-functions variable from within a function run by
2558 said hook. This just hands it off to the REAL function.
2559 Side-effect is that this now works on Emacs at all. :)
2560
2561 * Initial checkin of rewritten URL library.
2562
1513a14b
GM
2563;; Local variables:
2564;; coding: utf-8
1513a14b
GM
2565;; End:
2566
acaf905b 2567 Copyright (C) 1999, 2001-2002, 2004-2012 Free Software Foundation, Inc.
5b87ad55
GM
2568
2569 This file is part of GNU Emacs.
2570
4936186e 2571 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 2572 it under the terms of the GNU General Public License as published by
4936186e
GM
2573 the Free Software Foundation, either version 3 of the License, or
2574 (at your option) any later version.
5b87ad55
GM
2575
2576 GNU Emacs is distributed in the hope that it will be useful,
2577 but WITHOUT ANY WARRANTY; without even the implied warranty of
2578 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2579 GNU General Public License for more details.
2580
2581 You should have received a copy of the GNU General Public License
4936186e 2582 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.