Merge from emacs--rel--22
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
c0ed4c23
CY
12007-06-12 Tom Tromey <tromey@redhat.com>
2
3 * url.el (url-configuration-directory): Use user-emacs-directory.
4
495fa7db
SM
52007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * url-cookie.el (url-cookie-name, url-cookie-value)
8 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
9 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
10 (url-cookie-set-expires, url-cookie-set-localpart)
11 (url-cookie-set-domain, url-cookie-set-secure)
12 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
13 (url-cookie): New struct.
14 (url-cookie-store): Use setf instead of url-cookie-set-*.
15
345c7f05
CY
162007-05-29 Chong Yidong <cyd@stupidchicken.com>
17
18 * url-mailto.el (url-mailto): Insert body after
de74fffc 19 mail-header-separator if present, so that it is before signature.
345c7f05
CY
20 Suggested by Leo <sdl.web@gmail.com>.
21
5cfdb0fb
CY
222007-04-15 Chong Yidong <cyd@stupidchicken.com>
23
24 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
25
f25a9946
CY
262007-04-13 Chong Yidong <cyd@stupidchicken.com>
27
28 * url-http.el (url-http-parse-headers): Stop after a set number of
29 redirections. Suggested by Diane Murray.
30
31 * url-vars.el (url-max-redirections): New var.
32
60df22cc 332007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
f3e30bd0
CY
34
35 * url-http.el (url-http-handle-cookies): Reverse list returned by
36 `mail-fetch-field', so that cookies are set in the correct order.
37
38 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
39 Deal with wildcard dots in domain values.
40
fd1e2cde
EZ
412007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
42
43 * url-http.el (url-http-mark-connection-as-busy)
44 (url-http-mark-connection-as-free): Clear query-on-exit flag on
45 idle connections.
46
b3cd7f61
CY
472007-02-04 Chong Yidong <cyd@stupidchicken.com>
48
49 * url-http.el (url-http-connection-opened): New variable.
50 (url-http): Initialize it.
51 (url-http-async-sentinel): Don't try changing sentinels.
52 Run url-http-end-of-document-sentinel if necessary.
53
8f77631e
JB
542007-01-29 Juanma Barranquero <lekktu@gmail.com>
55
56 * url-auth.el (url-get-authentication): Fix typo in docstring.
57
00d972eb
MH
582007-01-14 Magnus Henoch <mange@freemail.hu>
59
60 * url-proxy.el (url-proxy-object): Remove.
61 (url-proxy): Don't use `url-proxy-object'. Act according to type of
62 proxy (currently only HTTP supported).
63
64 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
65
66 * url-http.el (url-http-proxy): New variable.
67 (url-http-create-request): Use it. Don't use `url-proxy-object'.
68 (url-http): Treat `url' argument as resource to download, and
69 dynamic variable `url-using-proxy' as proxy to use. Set
70 `url-current-object' to actual URL, and `url-http-proxy' to proxy
71 used.
72 (url-http-handle-cookies): Assume that `url-current-object' does
73 not point to the proxy used.
74 (url-http-async-sentinel): Adapt error message.
75
28e86dc4
JB
762006-12-10 Juanma Barranquero <lekktu@gmail.com>
77
78 * url-gw.el (url-gateway-nslookup-program): Doc fix.
79
b8976ce0
MH
802006-12-08 Magnus Henoch <mange@freemail.hu>
81
82 * url-proxy.el (url-proxy-object): New variable.
83 (url-proxy): Bind it instead of `proxy-object'.
84
85 * url-http.el (url-http-create-request): Remove url argument, use
86 the buffer-local variable `url-http-target-url' instead. Both
87 callers updated. Simplify proxy handling.
88 (url-http): Don't make proxy-object buffer local.
89
90 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
91
57babe17
MH
922006-11-26 Magnus Henoch <mange@freemail.hu>
93
94 * url-http.el (url-http-wait-for-headers-change-function): Use
95 `when' instead of `if' when possible.
b9b172ac
MH
96 (url-http): Define url-http-response-version.
97 (url-http-parse-response): Set it.
98 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 99
60df22cc 1002006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
48d2bac4
MH
101
102 * url-http.el (url-http-content-length-after-change-function): Use
103 `url-lazy-message'.
104
105 * url-util.el (url-display-percentage): Only show a message if
106 `url-show-status' is non-nil.
107
d58fae84
MH
1082006-11-15 Magnus Henoch <mange@freemail.hu>
109
6e2988e6
MH
110 * url-http.el (url-http): Make proxy-object buffer-local, to
111 handle proxied asynchronous connections correctly.
112
d58fae84
MH
113 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
114
1ac3c910 1152006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 116
1ac3c910
JB
117 * url-http.el (url-http-wait-for-headers-change-function):
118 Defer detection of HTTP 0.9 until we have at least one line.
98325235 119
1ac3c910 1202006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
121
122 * url-http.el (url-http-mark-connection-as-free)
123 (url-http-find-free-connection): Don't treat process with status
124 `connect' as free.
125 (url-http-async-sentinel): Request correct url.
126
947612be
MH
1272006-11-08 Magnus Henoch <mange@freemail.hu>
128
385b64c5
MH
129 * url-http.el (url-http-handle-authentication): If there are
130 several authentication headers, use the strongest available
131 method.
132
947612be
MH
133 * url.el (url-retrieve-synchronously): Allow quitting when
134 inhibit-quit is t.
135
1ac3c910 1362006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
137
138 * url-http.el (url-http-handle-authentication): If there are
139 several authentication headers, use the first with a supported
140 method.
141
8ea88265
MH
1422006-11-01 Magnus Henoch <mange@freemail.hu>
143
144 * url-http.el (url-http-create-request): Use buffer-local
145 equivalents of dynamically bound variables.
146
080234b6
MH
1472006-10-29 Magnus Henoch <mange@freemail.hu>
148
149 * url-gw.el (url-open-stream): Really use asynchronous
150 connections (accidentally disabled during debugging).
151
ced20bfb
MH
1522006-10-28 Magnus Henoch <mange@freemail.hu>
153
154 * url-http.el (url-http-parse-headers): Fix misplaced paren.
155
5695d1dd
CY
1562006-10-27 Magnus Henoch <mange@freemail.hu>
157
158 * url-http.el (url-http-mark-connection-as-free): Verify that
159 connection is open before saving it.
160 (url-http-handle-authentication): Use url-retrieve-internal
161 instead of url-retrieve.
162 (url-http-parse-headers): Adapt to new callback interface.
163 (url-http): Handle non-blocking connections.
164 (url-http-async-sentinel): Create.
165
166 * url.el (url-retrieve): Update docstring for new callback interface.
167 Remove all code.
168 (url-retrieve-internal): Move code from url-retrieve here.
169
170 * url-gw.el (url-open-stream): Use a non-blocking socket for
171 `native' gateway method, if available.
172
784f5416
MH
1732006-10-16 Magnus Henoch <mange@freemail.hu>
174
1ac3c910
JB
175 * url-http.el (url-https-create-secure-wrapper):
176 Always use tls gateway method.
784f5416 177
dfea17e0
MH
1782006-10-12 Magnus Henoch <mange@freemail.hu>
179
1ac3c910
JB
180 * url-http.el (url-http-find-free-connection):
181 Handle url-open-stream returning nil.
dfea17e0 182
9c51663a
MH
1832006-10-11 Magnus Henoch <mange@freemail.hu>
184
185 * url-https.el: Remove (clashes with url-http on 8+3 systems).
186
187 * url-http.el: Move contents of url-https.el here. Add autoloads.
188
f6fb70fc
MH
1892006-10-09 Magnus Henoch <mange@freemail.hu>
190
191 * url-parse.el (url-generic-parse-url): Handle URLs with empty
192 path component and non-empty query component. Untangle path,
193 query and fragment parsing code. Add references to RFC 3986 in
194 comments.
4169c186 195 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 196
162fbe11
SM
1972006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * url-dav.el (url-dav-file-attributes): Simplify.
200
201 * url-http.el (url-http-head-file-attributes): Add device "info".
202
f316efd9
MB
2032006-09-18 Michael Olson <mwolson@gnu.org>
204
205 * url-methods.el (url-scheme-register-proxy): Handle case where
206 getenv returns an empty string for http_proxy. This prevents an
207 error when calling `format' later on.
208
60df22cc 2092006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
7660c02f 210
c2a7ddb1
SM
211 * url-parse.el (url-recreate-url-attributes): New function, code
212 simply moved from `url-recreate-url'.
213 (url-recreate-url): Use it.
214 Put the `url-target' at the end of the URL after the attributes.
215
216 * url-http.el (url-http-create-request):
217 Use `url-recreate-url-attributes' when setting real-fname.
218
60df22cc 2192006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
c2a7ddb1
SM
220
221 * url-cookie.el (url-cookie-write-file): Really don't use versioned
222 backups.
7660c02f 223
d0f891a7
SM
2242006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
227 dest file will already exist.
228
07e9b3f0
SM
2292006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * url-util.el (url-hexify-string): Only utf-8 encode if it's
232 a multibyte string.
233 (url-normalize-url): Remove unused var `grok'.
234 (url-truncate-url-for-viewing): Remove unused var `tail'.
235
ecfbb488
TTN
2362006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
237
238 * url-util.el (url-hexify-string): Rewrite.
239 Suggested by David Smith <davidsmith@acm.org>.
240
0b6bb130
MB
2412006-07-12 Michael Olson <mwolson@gnu.org>
242
243 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
244
bc684c16
SM
2452006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * url-cookie.el: Remove spurious * in docstrings.
248 (url-cookie-write-file): Don't use versioned backups.
249 (url-cookie-host-can-set-p): Remove unused var `tmp'.
250
3d3a26eb 2512006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
252
253 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
254 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
255
d10a6bf1
RS
2562006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
257
258 * url-http.el (url-http-file-exists-p): Test if status is integer.
259
3d3a26eb 2602006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
261
262 * url-http.el (url-http-parse-headers): Don't reuse connection if
263 "Connection: close" header was seen.
264
351b838f
SM
2652006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * url-gw.el (url-open-stream): Don't hide errors.
268 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
269
270 * url-handlers.el (url-insert): New function.
271 (url-insert-file-contents): Use it.
272
bdba217b
SM
2732006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * url-handlers.el (url-handler-directory-file-name): New handler.
276 (url-file-local-copy): Plug race condition security hole.
277
7608c40c
RF
2782006-03-27 Romain Francoise <romain@orebokech.com>
279
280 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
281 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
282 Default to rcirc, since ZenIRC isn't part of Emacs.
283
bedeb7fd
SM
2842006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
287
8dff56de
SM
2882006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * url-http.el (url-http-find-free-connection): Don't kill the process
291 when killing the temp buffer.
292 (url-http-symbol-value-in-buffer): Massage to make it clear to the
293 byte-compiler that the function is defined.
294
9b4cf231
SM
2952006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * url.el (url-redirect-buffer): New var.
298 (url-retrieve-synchronously): Use it to follow redirections.
299
300 * url-http.el: Require `url' rather than try to autoload parts of it.
301 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
302 (url-http-parse-headers): Set `url-redirect-buffer' when following
303 a redirection reply.
304
81cafdfe
SM
3052006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * url-news.el: Move defvars out of eval-when-compile.
308 (url-news-fetch-message-id, url-news-fetch-newsgroup):
309 Use with-current-buffer.
310
5dc3ceeb
SM
3112006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
312
e7ea7cac
SM
313 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
314 to stop in the middle of a redirection.
315
5dc3ceeb
SM
316 * url-vars.el (url-privacy-level): Add setter.
317
72a30be4
SM
3182006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
319
176c99dc
SM
320 * url-history.el (url-history-hash-table): Initialize in declaration.
321 (url-history-parse-history): Don't reset the history.
322 (url-history-save-history): Create parent dir if necessary.
323 (url-history-save-history): Don't write the initialization of
324 url-history-hash-table into the history file.
9b4cf231 325 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
326 (url-completion-function): Simplify.
327
72a30be4
SM
328 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
329 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
330 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
331 (url-cookie-setup-save-timer): Remove autoload cookies.
332 They're only called from files that require url-cookie anyway.
333
334 * url-history.el (url-history-setup-save-timer)
335 (url-history-parse-history, url-history-save-history):
336 Remove autoload cookies. They're only called from url.el which requires
337 url-history anyway.
338 (url-history-parse-history): Don't complain if the file is missing.
339
55262b16
SM
3402006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
343
344 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
345
346 * url-cache.el: Require `url'.
347
d476efde
SM
3482005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
349
32d5ce4d
SM
350 * url-cache.el (url-store-in-cache): Use save-current-buffer.
351
d476efde
SM
352 * url.el (url-configuration-directory): Don't autoload because the
353 default value needs to be computed at run-time, not dump-time.
354
32fa5844
SM
3552005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * url-cookie.el (url-cookie-write-file): Create parent dir.
358
359 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
360
0c069924
RS
3612005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
362
363 * url-cookie.el (url-cookie-save-interval): Simplify.
364 (url-cookie-setup-save-timer): Simplify.
365
8553120c
RS
3662005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
367
368 * url-history.el (url-history-list): Var deleted.
369 (url-history-save-interval): Simplify.
370 (url-history-setup-save-timer): Simplify.
371
b0ab1a06
KS
3722005-12-01 Kim F. Storm <storm@cua.dk>
373
374 * url-history.el (url-history-track): Fix last change.
375
1942d6cc
RS
3762005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
377
378 * url-history.el (url-history-track):
379 Call url-history-setup-save-timer in :set function.
380 :type allows three alternatives.
381 (url-history-setup-save-timer): Test url-history-track.
382 * url.el (url-retrieve): Test url-history-track.
383
12f1edc8
SM
3842005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
385
386 * url-http.el: Use with-current-buffer.
387 (url-http-target-url): Rename from url-http-cookies-sources.
388 (url-http-parse-headers): Use it.
389 (url-http-handle-authentication): Use subst-char-in-string.
390
77f05e24
SM
3912005-11-16 Juergen Hoetzel <emacs@hoetzel.info> (tiny change)
392
393 * url-handlers.el (url-insert-file-contents): Use the charset info
394 provided by the HTTP server, if any.
395
ce13796f
EZ
3962005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
397
77f05e24
SM
398 * url-nfs.el (top level):
399 * url-handlers.el (directory-files):
ce13796f 400 * url-file.el (top level):
77f05e24 401 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
402 * url-http.el (url-http-chunked-encoding-after-change-function):
403 Remove XEmacs support.
404
a4684cb0
RS
4052005-10-15 Richard M. Stallman <rms@gnu.org>
406
407 * url.el: Don't try to autoload hash table functions.
408
1430e7f9
SM
4092005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * url-http.el (url-http-create-request): Avoid incorrect implicit
412 unibyte->multibyte conversion.
413
8ccd3630
RS
4142005-09-17 Richard M. Stallman <rms@gnu.org>
415
416 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
417
418 * url-mailto.el (url-mailto): Special case `mail'.
419 Don't test fboundp of `compose-mail'.
420
b0742512
CY
4212005-09-15 Chong Yidong <cyd@stupidchicken.com>
422
423 * url-mailto.el (url-mailto): Delete mail buffer after sending
424 autogenerated mail.
8ded3f47 425 Call `compose-mail with `new' argument if possible.
b0742512 426
c8359e8f
CY
4272005-09-13 Chong Yidong <cyd@stupidchicken.com>
428
429 * url-mailto.el (url-mailto): Always use a new mail buffer.
430
6fd388f3
CY
4312005-09-01 Chong Yidong <cyd@stupidchicken.com>
432
433 * url-util.el (url-parse-query-string): New optional argument
434 allow-newlines allows decoding of newlines.
435
436 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
437 Don't lose original "to" value when there is a "to" header.
438 Remove carriage return characters in message body.
439
26d874b2
JB
4402005-08-24 Juanma Barranquero <lekktu@gmail.com>
441
442 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
443 * url-http.el (url-http-cookies-sources): Defvar at compile time.
444
dc524e8b
RS
4452005-07-15 Richard M. Stallman <rms@gnu.org>
446
447 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
448 when calling url-retrieve, to indicate a redirect.
449
450 * url.el (url-retrieve): The callback function can get an additional
451 keyword arg pair.
452
a0ec7a4a
LK
4532005-07-04 Lute Kamstra <lute@gnu.org>
454
455 Update FSF's address in GPL notices.
456
59fda2fa
JB
4572005-07-04 Juanma Barranquero <lekktu@gmail.com>
458
459 * url-history.el (url-history-track): Doc fix.
460 (url-history): Finish `defgroup' description with period.
461
462 * url-cookie.el (url-cookie):
463 * url-gw.el (url-gateway):
464 * url-news.el (url-news):
465 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
466 Finish `defgroup' description with period.
467
231add10
RS
4682005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
469
470 * url-http.el (url-http-create-request): Call url-recreate-url
471 in proxy case.
472
e893ce91
RS
4732005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
474
475 * url-http.el (url-http-create-request): When computing real-fname,
476 call url-filename in both cases.
477
4782005-06-27 Richard M. Stallman <rms@gnu.org>
479
480 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
481 (url-cookie-retrieve): Likewise.
482 (url-cookie-generate-header-lines): Likewise.
483 (url-cookie-handle-set-cookie): Likewise.
484 (url-cookie-create): Expect :localpart instead of :path.
485 (url-cookie-localpart): Renamed from url-cookie-path.
486 (url-cookie-set-localpart): Renamed from url-cookie-set-path.
487 (url-cookie-file): Doc fix.
488 (url-cookie-p): Add doc string.
489
528b6abc
RS
4902005-06-23 Richard M. Stallman <rms@gnu.org>
491
492 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
493
23873c96
JB
4942005-06-21 Juanma Barranquero <lekktu@gmail.com>
495
496 * url-gw.el (url-open-stream):
497 * url-vars.el (url-gateway-unplugged): Fix spellings.
498
0b46b379
JB
4992005-06-14 Juanma Barranquero <lekktu@gmail.com>
500
501 * url-history.el (url-completion-function): Follow error
502 conventions.
503
175384d1
SM
5042005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
507
7f954571
SM
5082005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
509
0090e048
SM
510 * url-dav.el: Remove most autoload cookies.
511 Don't hook into the url-file-handler since it currently breaks all
512 non-HTTP URLs.
513
7f954571
SM
514 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
515
516 * url.el (url-retrieve-synchronously): Don't exit precipitously when
517 fetching a file via ange-ftp.
518
466c78c0
JB
5192005-06-10 Juanma Barranquero <lekktu@gmail.com>
520
7f954571 521 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 522
93c8c9cd
JB
5232005-05-19 Juanma Barranquero <lekktu@gmail.com>
524
525 * url-cookie.el (url-cookie-multiple-line):
526 Specify group and type in defcustom.
527
216d3806
JB
5282005-05-06 Juanma Barranquero <lekktu@gmail.com>
529
530 * url-auth.el (url-register-auth-scheme):
531 * url-cookie.el (url-cookie-expired-p):
532 * url-dav.el (url-dav-process-date-property)
533 (url-dav-process-boolean-property, url-dav-process-DAV:status):
534 * url-http.el (url-http-chunked-encoding-after-change-function)
535 (url-http-wait-for-headers-change-function):
536 * url-ns.el (isInNet):
537 * url-parse.el (url-generic-parse-url):
538 * url-util.el (url-get-normalized-date): Replace `string-to-int'
539 by `string-to-number'.
540
799fba8f
SM
5412005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * url.el (url-retrieve-synchronously): Work around the fact that
544 url-http sometimes doesn't call the callback.
545
8c6ef2ca
LK
5462005-04-04 Lute Kamstra <lute@gnu.org>
547
548 * url-handlers.el (url-handler-mode): Specify :group.
549
a6efc2c2
EZ
5502005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
551
552 * url-history.el (url-have-visited-url): Don't barf if
553 url-history-hash-table is nil.
554
134948fc
RS
5552005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
556
557 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
558
1a8461d3
EZ
5592005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
560
557724a8
EZ
561 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
562 to nil, like for the 303 response.
1a8461d3 563
944b2ab6
SM
5642005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * url.el (url-retrieve-synchronously): Use accept-process-output rather
567 than sit-for.
568
e817f9a2
TTN
5692005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
570
571 * url-http.el (url-http-handle-authentication):
572 Don't kill the current buffer.
573
5007cdc9
SM
5742004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * url-handlers.el: Don't `require' everything eagerly.
577
cacfe88b
AS
5782004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
579
580 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
581 to `url-http-cookies-sources' so that cookies are attributed to
582 proper domain.
583 (url-http): Make local variable `url-http-cookies-sources'.
584
dc1a0a7a
AS
5852004-11-28 Andreas Schwab <schwab@suse.de>
586
587 * url-http.el (url-http-create-request): Don't add newline after
588 the request data.
589
14e25c87
MY
5902004-11-20 Masatake YAMATO <jet@gyve.org>
591
592 * url.el (url-mm-callback): Delay the invocation
1ac3c910 593 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
594 when the buffer is killed.
595
de0234ea
MY
5962004-11-12 Masatake YAMATO <jet@gyve.org>
597
5007cdc9 598 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 599
60b5eb78
MY
6002004-11-02 Masatake YAMATO <jet@gyve.org>
601
602 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 603 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
604 is expected to be an integer.
605
606 * url-irc.el (url-irc): Ditto.
607
608 * url-news.el (url-news-open-host): Ditto.
609
610 * url-nfs.el (url-nfs-build-filename): Ditto.
611
ed87225a
JPW
6122004-10-20 John Paul Wallington <jpw@gnu.org>
613
614 * url-gw.el (url-gateway-nslookup-host):
615 Use `set-process-query-on-exit-flag'.
616
2a6c7fe5
LH
6172004-10-10 Lars Hansen <larsh@math.ku.dk>
618
4169c186
KS
619 * url-auth.el:
620 * url-cache.el:
621 * url-cid.el:
622 * url-dired.el:
623 * url-expand.el:
624 * url-ftp.el:
625 * url-gw.el:
626 * url-imap.el:
627 * url-irc.el:
628 * url-misc.el:
629 * url-news.el:
630 * url-ns.el:
631 * url-privacy.el:
2a6c7fe5
LH
632 * url-proxy.el: Update header and footer.
633
634 * url-vars.el: Update header.
635
c2e2ede7
RS
6362004-10-16 Richard M. Stallman <rms@gnu.org>
637
638 * url.el (url-do-setup): Don't set url-passwd-entry-func.
639
640 * url-vars.el (url-passwd-entry-func): Var deleted.
641 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
642 (url-weekday-alist): Rename from weekday-alist.
643 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
644 (url-vars-unload-hook): Initialize hook var to hold the function.
645
5007cdc9
SM
646 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
647 url-monthabbrev-alist.
c2e2ede7
RS
648
649 * url-misc.el: Load cl at compile time.
650
651 * url-mailto.el: Don't load cl.
652 (url-mailto): Fix call to `push'.
653
654 * url-gw.el (url-open-telnet): Use read-passwd.
655
656 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
657
3bb53a84
SJ
6582004-10-12 Simon Josefsson <jas@extundo.com>
659
660 * url-vars.el (url-gateway-method): Add new method `tls'.
661
662 * url-news.el (url-snews): Use nntp-open-tls-stream if
663 url-gateway-method is tls.
664
5007cdc9
SM
665 * url-ldap.el (url-ldap-certificate-formatter):
666 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
667
668 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
669 is not available.
670
671 * url-gw.el (url-open-stream): Support tls url-gateway-method.
672 (url-open-stream): Likewise.
673
df41da5e
LH
6742004-10-10 Lars Hansen <larsh@math.ku.dk>
675
4169c186
KS
676 * url-auth.el:
677 * url-cache.el:
678 * url-cookie.el:
679 * url-dired.el:
680 * url-file.el:
681 * url-ftp.el:
682 * url-handlers.el:
683 * url-history.el:
684 * url-irc.el:
685 * url-mailto.el:
686 * url-methods.el:
687 * url-misc.el:
688 * url-news.el:
689 * url-nfs.el:
690 * url-parse.el:
691 * url-privacy.el:
692 * url-vars.el:
693 * url.el:
df41da5e
LH
694 * url-util.el: Fix copyright notice.
695
ccd59305
SM
6962004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
699 encoding, not the buffer-file-name (which might not even exist).
700
d4fdad60
SM
7012004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * url-handlers.el (url-insert-file-contents): Decode contents.
704
10a6e6ba
SM
7052004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * url-util.el (url-debug): Use with-current-buffer.
708
709 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
710 (url-nfs-create-wrapper): Use new backquote syntax.
711
712 * url-https.el (url-https-file-attributes): Add id-format param.
713
714 * url-http.el (url-http-head-file-attributes)
715 (url-http-file-attributes): Add id-format parameter.
716
717 * url-handlers.el: Use new find-file-hook.
718 (url-file-attributes): Add id-format parameter.
719
720 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
721 (url-file-file-attributes): Add id-format parameter.
722
723 * url-dav.el: Use with-current-buffer.
724 (url-dav-process-response): Fix regexps and spurious quote.
725 (url-dav-file-attributes): Add id-format param.
726
7272004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * url.el (url-retrieve): Use with-current-buffer.
730
731 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
732 Remove unused var `version'.
733
734 * url-handlers.el (url-handler-mode): New minor mode.
735 (url-setup-file-name-handlers): Remove.
736
7372004-04-12 John Paul Wallington <jpw@gnu.org>
738
739 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
740 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
741
7422004-04-11 Dave Love <fx@gnu.org>
743
744 * url-mailto.el (url-mailto):
745 * url-history.el (url-history-setup-save-timer):
746 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
747
748 * url-file.el (url-file-build-filename): Don't use
749 directory-sep-char.
750
751 * url-auth.el (url-register-auth-scheme): Fix `format' call.
752
753 * url-about.el (url-scheme-registry): Defvar.
754 (url-about): Use text/plain.
755
756 * url-vars.el (cl): Don't require.
757 (url): Add :version.
758 (url-bug-address): Use bug-gnu-emacs.
759
760 * url-util.el (url-hexify-string): Don't give multibyte error
761 for char <16.
762 (mail-header-extract): Autoload.
763
764 * url-parse.el: Doc fixes.
765
766 * url-ldap.el (ldap): Require.
767 (url-ldap): Fix `format' call.
768 (url-ldap-certificate-formatter): Avoid warning.
769
4dfde3dd 770 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
771
772 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
773 (url-intersection): New.
774 (url-dav-supported-p): Use it.
775 (url-dav-save-resource): Declare url-http-response-status special.
776
777 * url-cache.el (url-util): Require.
778
7792004-04-10 Miles Bader <miles@gnu.org>
780
781 RCS keyword removal (only non-comment changes are enumerated here):
782
783 * url-vars.el (url-version): Use the constant string "Emacs"
784 instead of calculating something from the RCS `State' keyword
785 [the latter is almost entirely useless anyway].
786
7872004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * url-methods.el:
790 * url-parse.el: Don't require url-auto.
791
7922004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * url: Imported the URL package from its own CVS repository into Emacs.
795
796===========================================================================
797===========================================================================
798 Copy of the ChangeLog file from URL's own CVS repository:
799===========================================================================
800===========================================================================
801
8022003-07-16 Dave Love <fx@gnu.org>
803
804 * lisp/url.el (url-retrieve-synchronously): Revert last change.
805 Should be revisited.
806
8072003-06-26 Sam Steingold <sds@gnu.org>
808
809 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
810 method on invalid urls.
811
8122003-05-29 Dave Love <fx@gnu.org>
813
814 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
815 sit-for. From monnier@gnu.org.
816
1ac3c910 8172002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 818
4dfde3dd
SM
819 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
820 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
821
8222002-10-29 William M. Perry <wmperry@gnu.org>
823
824 * lisp/url-http.el (url-http-parse-headers): When doing a
825 redirect, some broken software (sourceforge) sends a redirect to
826 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
827 specification). I wish we could deal with such lame software
828 appropriately (spank the authors), but this is the web, so we have
829 to kow-tow to the servers.
830
8312002-10-27 William M. Perry <wmperry@gnu.org>
832
833 * lisp/url-http.el (url-http-create-request): If we are talking to
834 the default port for a the selected protocol, do NOT send the port
835 in the HOST header. This fixes the login page at sourceforge.
836
8372002-09-17 William M. Perry <wmperry@gnu.org>
838
839 * lisp/url-http.el (url-http-handle-cookies): New function to deal
840 with cookie headers.
841 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
842 that cookie additions and deletions get handled immediately.
843 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
844 (my.yahoo.com, outlook web access, etc) work. This should also
845 fix sites that delete cookies on invalid access or other error
846 pages the user might not actually see.
847 (url-http-parse-headers): Silently convert non-HEAD and non-GET
848 methods to GET in redirects. Too many web sites do this now, and
849 it is just likely to confuse users.
850
8512002-05-17 Dave Love <fx@gnu.org>
852
853 * texi/url.txi: Start making it vaguely useful.
854
855 * texi/Makefile.in (install): Cope with Debian install-info.
856 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann).
857
8582002-04-22 Dave Love <fx@gnu.org>
859
860 * lisp/url-misc.el (man): Autoload to avoid warning.
861 (url-man): Don't require man here.
862 (url-data): Generalize in line with the RFC.
863
864 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
865
866 * lisp/url-vars.el: Doc fixes.
867 (url-mime-charset-string): New function.
868 (url-mime-charset-string): Use it to set the variable.
869 (url-set-mime-charset-string): New function.
870 (set-language-environment-hook): Use it.
871 (url-vars-unload-hook): New function.
872
4dfde3dd
SM
873 * lisp/url-cookie.el (url-header-comparison): Delete.
874 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
875 (url-cookie-save-interval): Make value agree with doc.
876
877 * lisp/url.el: Doc fixes.
878 (url-mm-callback): Don't call mm-destroy-parts immediately for
879 external viewing -- set up a process sentinel.
880
8812002-02-02 William M. Perry <wmperry@gnu.org>
882
4dfde3dd 883 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
884
8852001-12-12 William M. Perry <wmperry@gnu.org>
886
887 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
888 Monnier to use ` instead of ^ to match the relative link.
889
8902001-12-10 William M. Perry <wmperry@gnu.org>
891
892 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
893 plist-get (reversed args).
894
895 * lisp/url-file.el (url-file-build-filename): Make sure that we
896 have a parsed URL in this function.
897
8982002-01-22 Dave Love <fx@gnu.org>
899
900 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
901
4dfde3dd
SM
902 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
903 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
904
905 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
906
907 * lisp/mule-sysdp.el: Removed (obsolete).
908
9092001-12-09 William M. Perry <wmperry@gnu.org>
910
911 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
912 remove an arbitrary resource.
913 (url-dav-delete-directory): Use it.
914 (url-dav-delete-file): Ditto.
915 (url-dav-make-directory): New function.
916 (url-dav-rename-file): New function.
917 (url-dav-register-handler): New function to easily register a
918 WebDAV-specific file-name-handler operation.
919 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 920 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
921
9222001-12-08 William M. Perry <wmperry@gnu.org>
923
924 * lisp/url-dav.el (url-dav-directory-files): New function to
925 mimic `directory-files' for WebDAV.
926 (url-dav-delete-directory): New function to mimic
927 `delete-directory' for WebDAV.
928
9292001-12-06 William M. Perry <wmperry@gnu.org>
930
931 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
932 DAV:locktoken hrefs into a usable format.
933 (url-dav-process-response): Use an unwind-protect to make sure
934 that we clean up the buffer, even if there is a parsing error.
935 (url-dav-request): New function to act as the main entry point for
936 making DAV requests. Takes care of building the XML document with
937 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
938 (url-dav-get-properties): Use new url-dav-request function.
939 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
940 extra properties we are looking for.
941 (url-dav-unlock-resource): New function to release a lock given a
942 URL and a lock-token.
943 (url-dav-process-DAV:getlastmodified)
944 (url-dav-process-DAV:creationdate)
945 (url-dav-process-DAV:iscollection)
946 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
947 url-dave-*!
948 (url-dav-active-locks): New function to get a list of all the
949 active locks for a resource.
950 (url-dav-save-resource): New function to actually save a resource
951 using the PUT method. I can now successfully save files to an
4dfde3dd 952 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
953
954 * lisp/url-http.el (url-http-wait-for-headers-change-function):
955 Special case the 204/205 response codes. Some servers do not
956 send back a 0 content-length for these, and we would hang.
957 (url-http-parse-headers): Mark 204/205 response codes as
958 'successful' so that the callbacks get activated.
959 (url-http-options): Fix unbound variable usage.
960
961 * lisp/url-dav.el: Added full copyright information.
962 (url-dav-process-response): Make sure that we create a DAV:status
963 property when parsing a singleton response.
964 (url-dav-file-attributes): If the properties returned did not have
965 a succesful HTTP response code, then ignore them and use the
966 HEAD-based attributes.
967
968 * lisp/vc-dav.el: Added full copyright information.
969
4dfde3dd
SM
970 * lisp/url-dav.el (url-dav-process-supportedlock-property):
971 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
972 (url-dav-file-attributes-mode-string): This now gets the entire
973 property list instead of just the DAV:supportedlock node.
974 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 975 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
976 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
977 'executable' bit to set the 'x' mode. See `mod_dav's custom
978 properties' at http://www.webdav.org/mod_dav/ for more details.
979 (url-dav-find-parser): New function to find the proper parser for
980 a node-type. Looks for
981 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
982 back to using url-dav-node-text. Caches the results on the nodes
983 symbol name.
4dfde3dd
SM
984 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
985 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
986 use url-dav-dispatch-node where appropriate.
987 (url-dav-process-DAV:prop): Instead of using the dav-data-type
988 property to dispatch the node, now uses dav-dispatch-node so that
989 it is easy to add parsers for special nodes.
990 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
991 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
992 (url-dav-process-DAV:getcontentlength)
993 (url-dave-process-DAV:getlastmodified)
994 (url-dave-process-DAV:creationdate)
995 (url-dave-process-DAV:iscollection)
996 (url-dave-process-DAV:ishidden): Aliases for the generic
997 url-dav-process-foo-property routines.
998 (url-dav-process-DAV:activelock)
999 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1000 DAV:lockdiscovery nodes, so that we can find out who has a
1001 resource locked and properly parse the reponse to a LOCK request.
1002 (url-dav-process-DAV:status): Now parses ou the numeric status
1003 from the HTTP response line.
1004 (url-dav-process-response): New function to handle all the
1005 parsing of an XML response from WebDAV. This handles all the
1006 logic of checking the response content-type to make sure it is
1007 XML, parses the tree, and interprets the tree.
1008 (url-dav-process-response): Make sure that all responses look
1009 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 1010 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
1011 (url-dav-get-properties): New optional argument NAMESPACES that
1012 specifies what namespaces to use in the XML request.
1013 (url-dav-get-properties): Got rid of the D: namespace in
1014 requests. It doesn't save that much space. Just use DAV:
1015 (url-dav-lock-identifier): New variable that should hold a URI
1016 pointing to contact information for the user. This will be used
1017 as the contents of the DAV:owner/DAV:href tag to identify the
1018 owner of a LOCK when requesting it. This will be shown to other
1019 users when the DAV:lockdiscovery property is requested, so make
1020 sure you are comfortable with it leaking to the outside world.
1021 (url-dav-lock-resource): New function to LOCK a dav resource.
1022
10232001-12-05 William M. Perry <wmperry@gnu.org>
1024
1025 * lisp/url-dav.el (url-dav-get-properties): New argument
1026 ATTRIBUTES that allows you to ask for specific properties instead
1027 of getting all properties via DAV:allprop.
1028
4dfde3dd
SM
1029 * lisp/url-http.el (url-http-real-basic-auth-storage):
1030 New variable for normal HTTP basic authentication.
10a6e6ba
SM
1031 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1032 basic authentication.
1033 (url-http-handle-authentication): Follow new semantics for
1034 url-basic-auth-storage.
1035
4dfde3dd 1036 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
1037 this variable. It is now a symbol pointing to where we really
1038 want to store the authorization information. This fixes proxy
4dfde3dd
SM
1039 auth and normal basic auth because of some local bindings that were
1040 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
1041 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1042 everywhere.
1043
4dfde3dd 1044 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
1045 'retrieval to the customization list.
1046
1047 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1048 statements.
1049
4dfde3dd 1050 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
1051 url-http-file-attributes so that we can have a smarter one that
1052 tries WebDAV first, then HEAD.
4dfde3dd 1053 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
1054 (url-http-options): New function that returns information gleaned
1055 from an OPTIONS request for a URL. Returns a property list
1056 returning the methods supported for the resource, what DAV and
1057 DASL levels are supported, p3p information, and whether
1058 byte-ranges are supported or not.
1059 (url-http-wait-for-headers-change-function): If we got a 0-byte
1060 content-length, activate the callback immediately.
1061 (url-http-wait-for-headers-change-function): For content-length
1062 responses with actual body-data in the chunk we are handling, call
1063 url-http-content-length-after-change-function with the remaining
1064 data. Otherwise we can deadlock if the headers and the entire
1065 body exist arrive in one chunk.
1066
1067 * lisp/url-dav.el: New file to contain the WebDAV
1068 (http://www.webdav.org/) implementation.
1069 (url-dav-supported-p): Cheap way to figure out whether we will be
1070 able to do DAV at all. We rely on the XML parser expanding
1071 namespaces for us, and currently you need a patched version of
1072 xml.el to do this. Patch sent to author for consideration.
1073 (url-dav-file-attributes): Much more complete version of
1074 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1075 finds out whether something is a directory (a WebDAV collection),
1076 the last modification time, and permissions (based on the
1077 DAV:supportedlock information).
1078 (url-dav-get-properties): Generic interface to get WebDAV
1079 properties for a URL. Can specify an optional `depth' parameter
1080 to tell the web server how many directory (collection) levels to
1081 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 1082 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
1083 (url-dav-datatype-attribute): We support the XML-Data note
1084 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1085 datatypes of attributes are. Currently only date, dateTime, int,
1086 number, float, boolean, and uri are supported.
1087
10882001-12-04 William M. Perry <wmperry@gnu.org>
1089
1090 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1091 version. If the filename matches our regexp, then it is always
1092 absolute, so just return `t'.
1093 (expand-file-name): New hooked version. If the fragment is an
1094 absolute file or URL, then expand it relative to '/'.
1095 (url-handler-regexp): New regexp for specific schemes that we
1096 want the file-name-handlers to work off of.
4dfde3dd 1097 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
1098
1099 * lisp/url-http.el (url-http-find-free-connection): Better logging
1100 about whether we are reusing an existing connection or not.
1101
4dfde3dd 1102 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
1103 to string-match instead of match-string (and with reversed
1104 arguments even).
1105
4dfde3dd 1106 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
1107 generic url-debug function to do the actual logging. Still a
1108 separate function so that we can do our magic on the network
1109 connection if the user quits while we are downloading.
1110
1111 * lisp/url-handlers.el (url-file-handler): Now logs the result of
1112 the hooked or real call.
1113
4dfde3dd 1114 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
1115
11162001-11-28 William M. Perry <wmperry@gnu.org>
1117
1118 * lisp/url-imap.el (url-imap-open-host): Use backquote.
1119 (url-imap): Now switches to 'login as the imap authenticator if
1120 the URL provides a username and password.
1121
1122 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1123 push to replace some strange logic in here.
1124 (url-run-real-handler): New function to run the real hooks in
1125 case we get a false positive or an operation that we do not
1126 support. The old way disabled _ALL_ file-name-handlers when
1127 we hit something we didn't understand - this disables JUST us.
4dfde3dd 1128 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
1129 '/' off of the first argument... it may not be safe to always
1130 assume that the first argument is the one we are acting on -
4dfde3dd 1131 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
1132 (url-setup-file-name-handlers): Use url-nonrelative-link
1133 directly. This means that you must type in the URL directly
1134 without prefixing it with a '/'.
1135
1136 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1137
1138 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1139 which activates us (because 'nnml+mail' _is_ a valid scheme name
1140 for a URI). We get thoroughly confused and end up returning
1141 `nil' when we shouldn't.
1142
11432001-11-26 William M. Perry <wmperry@gnu.org>
1144
1145 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1146 this so that visiting a URL directly will work.
1147 (file-symlink-p): Ditto.
1148 (url-insert-file-contents): If `visit' is non-nil then make sure
1149 we set buffer-file-name. After these changes you can visit
1150 http://www.gnu.org/ directly from the minibuffer.
1151 (url-insert-file-contents): When inserting the file contents,
1152 use a save-excursion so that we behave just like the original.
1153
11542001-11-25 William M. Perry <wmperry@gnu.org>
1155
4dfde3dd 1156 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
1157
11582001-11-24 William M. Perry <wmperry@gnu.org>
1159
1160 * lisp/url-about.el (url-about): New loader scheme to handle
1161 about:foo URLs. Automatically tries to find a `url-about-foo'
1162 function to display the actual data.
1163 (url-about-protocols): Implement about:protocols
1164
1165 * lisp/url-http.el (url-http): Make sure that we signal an error
1166 when we cannot open a network connection for whatever reason.
1167 Before, it would just silently clean up after itself and the user
1168 got absolutely no indication that an error had occured. If the
1169 error should truly be ignored, the caller should do that for us.
1170 (url-http-chunked-encoding-after-change-function): Doh! Need to
1171 user marker-position in some log messages now that
1172 url-http-chunked-start is a marker.
1173
11742001-11-22 William M. Perry <wmperry@gnu.org>
1175
1176 * lisp/url-https.el: Fixed definition of url-https - was using the
1177 wrong signature. Too much cut & paste.
4dfde3dd 1178 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 1179 at all. Was not taking a null `method' into account when calling
4dfde3dd 1180 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
1181
1182 * lisp/url-http.el
4dfde3dd 1183 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
1184 feedback when not debugging about what content-type and chunk # we
1185 are reading.
1186 (url-http-chunked-encoding-after-change-function): Use a marker
1187 for url-http-chunked-start so that we can safely delete the
1188 chunk-tokens instead of just marking them as invisible.
1189 (url-http-chunked-encoding-after-change-function): Actually delete
1190 the chunk-tokens. Now that we are not run from 'real'
1191 after-change functions, this is safe, and the right thing to do.
1192 Otherwise the HTML parser still saw them and inferred all sorts of
1193 bad things about the document (ie: nothing had a title!)
1194
11952001-11-21 William M. Perry <wmperry@gnu.org>
1196
1197 * lisp/url-http.el (url-http-debug): Document this variable.
1198 People other than I might want to use it.
1199 (url-http-debug): Put some code in here to check quit-flag
1200 directly. When the chunked encoding went into a tight spin, your
1201 Emacs would be wedged forever. This short-circuits all the
1202 after-change functions and signals an error.
1203 (url-http-debug): If url-http-debug is non-nil and non-t, then log
1204 the debug messages using `message' as well as sending them to the
1205 buffer.
1206 (url-http-chunked-encoding-after-change-function): Got rid of the
1207 no-initial-crlf. Had an epiphany and I can just infer this from
1208 url-http-chunked-counter being 0.
4dfde3dd 1209 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
1210 statement about reading chunk #foo into the loop so that each
1211 chunk will have a log message associated with it.
1212 (url-http-chunked-encoding-after-change-function): Make sure to
1213 set read-next-chunk to nil when the regular expression match fails
1214 to fire. Otherwise we could loop forever.
4dfde3dd
SM
1215 (url-http-chunked-encoding-after-change-function): Tweak the
1216 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
1217 (url-http-wait-for-headers-change-function): Remove the last
1218 argument when calling
1219 url-http-chunked-encoding-after-change-function. It is no longer
1220 needed. I should use my brain sometime.
1221
4dfde3dd 1222 * lisp/url-vars.el (and): Fix feature test for xemacs and
10a6e6ba
SM
1223 coding-system-list behaviour.
1224
1225 * lisp/url-http.el
4dfde3dd
SM
1226 (url-http-chunked-encoding-after-change-function): Add optional
1227 no-initial-crlf flag that modifies the regular expression.
1228 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 1229 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 1230 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 1231 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 1232 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
1233 url-http-debug calls to help track down problems in the chunked
1234 encoding.
1235 (url-http-chunked-encoding-after-change-function): The chunk
1236 reading in here is now in a while loop so that if Emacs feeds us a
1237 chunk of data that happens to contain more than one 'chunk'
1238 delimiter, we behave correctly.
1239 (url-http-wait-for-headers-change-function): Make sure that we
1240 pass no-initial-crlf to
1241 url-http-chunked-encoding-after-change-function when passing
1242 initial data to the decoder.
1243 (url-http-generic-filter): url-http-debug statement so we can tell
1244 when/where our after-change-functions are being called.
1245
12462001-10-11 Dave Love <fx@gnu.org>
1247
1248 * lisp/url-handlers.el: Doc fixes.
1249 (string-match): Use (featurep 'xemacs).
1250
1251 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
1252
1253 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
1254
1255 * lisp/url-vars.el (url-running-xemacs): Delete.
1256 (url-gateway-unplugged): New variable.
1257
1258 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
1259 Comment out OS/2 stuff.
1260
12612001-10-05 Dave Love <fx@gnu.org>
1262
1263 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
1264 without confirmation.
1265
12662001-10-02 Dave Love <fx@gnu.org>
1267
1268 * lisp/url-http.el (url-http-create-request): Check cache for
1269 proxy-obj, if defined, rather than url.
1270 (url-http): Use dolist, not mapc (runtime cl dependency).
1271
1272 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
1273 (url-scheme-register-proxy): Fix fetching from environment.
1274 Don't concat a number.
10a6e6ba
SM
1275
12762001-10-01 Dave Love <fx@gnu.org>
1277
1278 * lisp/url-parse.el: Use modern backquote syntax.
1279
1280 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
1281 (url-mail-command): Prefer compose-mail.
1282 (tcp-binary-process-input-services): Comment out.
1283 (url-working-buffer): New constant.
1284
1285 * lisp/url-util.el (url-extract-mime-headers): New function.
1286
1287 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
1288 User-Agent.
1289
12902001-09-20 Dave Love <fx@gnu.org>
1291
4dfde3dd 1292 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
1293
12942001-06-05 Dave Love <fx@gnu.org>
1295
1296 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 1297 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
1298 (url-retrieve): Barf with sensible message if url-type is null.
1299
1300 * lisp/url-http.el (url-http): Don't try to set process
1301 coding-system here -- done in url-gw.
1302
1303 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
1304 (url-open-stream): Bind coding-system-for{read,write} when setting
1305 up the connexion. Don't call url-gw-inhibit-code-conversion.
1306
4dfde3dd
SM
13072001-05-24 William M. Perry <wmperry@gnu.org>
1308
1309 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
1310 in url-retrieve-synchronously.
1311
10a6e6ba
SM
13122001-05-23 William M. Perry <wmperry@gnu.org>
1313
1314 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
1315 accept-process-output. This is evidently causing hangs in Emacs
1316 21 when viewing complex pages with images or stylesheets.
1317 www.yahoo.com is now viewable.
1318
1319 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
1320 (mule-inhibit-code-conversion) and just have a local function that
1321 does this minimal cruft.
1322 (url-gw-inhibit-code-conversion): New function to turn off code
1323 conversion in a process.
1324
13252001-05-22 William M. Perry <wmperry@gnu.org>
1326
1327 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
1328 that we can allow multiple asynch retrievals to happen at once.
1329 (url-retrieve-synchronously): Use a much smaller timeout when
1330 doing the accept-process-output. This gets rid of the long delays
1331 if you are on a fast net connection and retrieve small documents
1332 that finish asynchronously before the first accept-process-output
1333 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 1334 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
1335 (url-retrieve): Ditto.
1336 (url-mm-url): Ditto.
1337
1338 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
1339 documentation strings. Ok, so I'm anal.
1340
1341 * lisp/url-methods.el (url-scheme-methods): Add default methods
1342 for file-directory-p and file-truename.
1343
13442001-05-22 Dave Love <fx@gnu.org>
1345
1346 * lisp/url-auth.el (url-warn): Autoload.
1347
1348 * lisp/url-proxy.el (url-warn): Autoload.
1349
1350 * lisp/url-nfs.el: Fix `file-truname' typo.
1351
1352 * lisp/url-news.el: Require cl when compiling.
1ac3c910 1353 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 1354 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
1355 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
1356
1357 * lisp/url-util.el (mule-decode-string): Don't autoload.
1358 (url-hexify-string): Just barf on multibyte characters.
1359 (url-generate-unique-filename): New function.
1360
1361 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
1362 not mm-generate-unique-filename.
1363
1364 * lisp/url-http.el: Declare things special in various places.
1365 (url-http-activate-callback): Don't set
1366 url-http-real-after-change-function.
1367
13682001-05-22 William M. Perry <wmperry@gnu.org>
1369
1370 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
1371 control whether we try to do keep-alives for our connections.
1372 (url-http-version): New variable to control whether we advertise
1373 ourselves as an HTTP/1.1 client or not. This can be useful for
1374 avoiding chunked encoding, and other 1.1 features we may not have
1375 fully implemented yet.
1376 (url-http-create-request): Honor the new variables.
1377
13782001-05-21 Dave Love <fx@gnu.org>
1379
1380 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
1381 in XEmacs.
1382 (url-mime-charset-string): Don't reverse the list before sorting.
1383
13842001-05-17 William M. Perry <wmperry@gnu.org>
1385
1386 * lisp/url-http.el (url-http-generic-filter): Avoid using
1387 after-change-functions natively. There are just too many ways
1388 that this screws up in Emacs 21. Use a filter function on the
1389 process instead, and call the hook on
1390 url-http-after-change-function manually. [Actually, it will work
1391 in Emacs 21, but one problem that has been fixed in Emacs 21
1392 exists in Emacs 20. -- fx]
1393
1394 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
1395 does not exist on older versions of Emacs, or any version of
1396 XEmacs. Do not call it unless it is bound.
1397
13982001-05-17 Dave Love <fx@gnu.org>
1399
1400 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
1401
14022001-05-16 Dave Love <fx@gnu.org>
1403
1404 * lisp/url-vars.el: Doc fixes. Require mm-util.
1405 (url-mime-charset-string): New variable.
1406
1407 * lisp/url-http.el: Doc fixes.
1408 (url-http-create-request): Rearrange how we assemble the request.
1409 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 1410 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
1411 (url-http): Call mm-disable-multibyte. Set process buffer's
1412 coding systems to binary.
1413
1414 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
1415
4dfde3dd 1416 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 1417 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 1418 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
1419
1420 * lisp/url-cache.el: Don't require mule-sysdp.
1421 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
1422
1423 * lisp/url.el: Don't require mule-sysdp.
1424 (url-retrieve): Only set text properties if url is a string.
1425
14262001-05-14 Dave Love <fx@gnu.org>
1427
4dfde3dd
SM
1428 * lisp/url-http.el (url-http-create-request):
1429 Declare proxy-object, proxy-info special.
10a6e6ba
SM
1430 (url-http-handle-authentication): Declare success special.
1431
14322001-05-12 Dave Love <fx@gnu.org>
1433
1434 * lisp/url-http.el: Revert last change.
1435
14362001-05-10 Dave Love <fx@gnu.org>
1437
4dfde3dd
SM
1438 * lisp/url-http.el (url-http-generic-after-change-function):
1439 Make it permanent-local.
10a6e6ba
SM
1440
14412001-05-05 Dave Love <fx@gnu.org>
1442
1443 * lisp/url-http.el: Autoload some functions.
1444 (cl): Require when compiling.
1445 (url-http-extra-headers): Defvar when compiling.
1446 (url-http): Treat after-change-functions as a local hook.
1447
1448 * lisp/url-history.el (url-parse): Require.
1449 (url-do-setup): Autoload.
1450
1451 * lisp/url-gw.el: Require url-vars. Autoload some functions.
1452
1453 * lisp/url-file.el: Require mailcap. Require cl when compiling.
1454 Use (featurep 'xemacs).
1455 (url-file-build-filename): Bind pos-index.
1456 (url-file): Call url-find-file-dired, not url-dired-find-file.
1457
4dfde3dd 1458 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
1459 (url-dired-minor-mode-map): Use (featurep 'xemacs).
1460 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 1461 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
1462
1463 * lisp/url-cid.el: Don't require widget. Require mm-decode
1464 unconditionally.
1465
1466 * lisp/url-util.el: Autoload mule-decode-string,
1467 timezone-parse-date, timezone-make-date-arpa-standard.
1468 (url-unreserved-chars): Fix list per RFC 2396.
1469 (url-hexify-string): Maybe string-make-unibyte.
1470
1471 * lisp/url-news.el: Require nntp.
1472
1473 * lisp/url-imap.el: Require cl when compiling. Require nnimap
1474 unconditionally.
1475
14762001-05-04 Dave Love <fx@gnu.org>
1477
1478 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
1479 not non-existent mailcap-generate-unique-filename.
1480
4dfde3dd 1481 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 1482
4dfde3dd
SM
1483 * lisp/url-parse.el: Require url-vars.
1484 Autoload url-scheme-get-property.
10a6e6ba
SM
1485
1486 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
1487 with featurep.
1488
1489 * lisp/url-mailto.el: Require cl when compiling.
1490
4dfde3dd
SM
1491 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
1492 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
1493
1494 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
1495
14962001-04-09 Dave Love <fx@gnu.org>
1497
1498 * lisp/mule-sysdp.el (mule-detect-coding-version)
1499 (mule-code-convert-region, mule-inhibit-code-conversion)
1500 (mule-write-region-no-coding-system, mule-encode-string)
1501 (mule-decode-string, mule-truncate-string)
1502 (mule-find-charset-region, mule-coding-system-name)
1503 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
1504 [There must be a better way.]
1505 (mule-coding-system-p, string-width): Use defalias.
1506
15072001-01-03 Sam Steingold <sds@gnu.org>
1508
1509 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1510 set `url-http-end-of-headers' to 0 for HTTP 0.9
1511
15122001-01-02 Sam Steingold <sds@gnu.org>
1513
1514 * lisp/url-auth.el (provide): `url-auth', not `urlauth'
1515
15162000-12-22 Dave Love <fx@gnu.org>
1517
1518 * lisp/url-history.el (url): Don't require (to avoid recursion).
1519 (cl): Require when compiling.
1520
1521 * lisp/url-http.el (url-auth): Require.
1522 (url-http-handle-authentication): Fix typo.
1523
1524 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
1525
15262000-12-20 Dave Love <fx@gnu.org>
1527
1528 * lisp/url.el: Require mm-decode, mm-view when compiling.
1529 <not (fboundp 'puthash)>: Define puthash and
1530 autoload other has functions rather than using cl-...hash.
1531 (url-warn): Define.
1532
4dfde3dd
SM
1533 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
1534 Avoid cl-...hash functions.
10a6e6ba
SM
1535
1536 * lisp/url-history.el: Avoid cl-...hash functions.
1537 (url): Require.
1538
1ac3c910 1539 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
1540
15412000-10-03 William M. Perry <wmperry@aventail.com>
1542
4dfde3dd 1543 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
1544 getting set to nil due to bad string matching. Subsequent matches
1545 would then choke because we passed string-match a nil.
1546
1547 * lisp/url-http.el (url-http-parse-headers): Need to make the
1548 connection as 'free' when we get a 304 response (found in cache),
1549 or when a keep-alive conneection timed out, it would re-parse the
1550 headers and dispatch to the callback again. Eek.
1551
15522000-10-02 William M. Perry <wmperry@aventail.com>
1553
1554 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 1555 implement chunked transfer-coding.
10a6e6ba
SM
1556 (url-http-create-request): We can now advertise ourselves as a 1.1
1557 compliant browser!
1558
15592000-07-28 Sam Steingold <sds@gnu.org>
1560
1561 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
1562 `cbargs' are optional args (for calling from w3).
4dfde3dd 1563 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
1564 with `string-match' and `protocol' with `scheme'.
1565
15662000-07-18 Sam Steingold <sds@gnu.org>
1567
4dfde3dd
SM
1568 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
1569 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
1570
15712000-07-10 William M. Perry <wmperry@aventail.com>
1572
1573 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
1574 mule, and the character requested is > 255, then return "~"
1575 instead of letting whoever call us signal an error when they try
1576 to insert the character.
1577 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 1578 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 1579
4dfde3dd 1580 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
1581 for cid parts.
1582
1583 * lisp/url-util.el (url-display-percentage): New routine that uses
1584 the progress bar under XEmacs if available. Looks very sexy under
1585 XEmacs/GTK hacked to use the GNOME statusbar.
1586
1587 * lisp/url-http.el
1588 (url-http-content-length-after-change-function): Use new function
1589 url-display-percentage instead of url-lazy-message.
1590
15912000-01-27 William M. Perry <wmperry@aventail.com>
1592
1593 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 1594 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
1595
15961999-12-24 William M. Perry <wmperry@aventail.com>
1597
1598 * lisp/url-irc.el: Added pointer to draft specification for the
1599 IRC URL so people don't think I'm crazy.
1600
1601 * configure.in: Checks to make sure that Gnus was found, since we
4dfde3dd 1602 HAVE to have it now. Removed conditional compilation of url-cid.el
10a6e6ba 1603
1ac3c910 16041999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
1605
1606 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
1607 () to have periods at the end of the chunk.
1608
16091999-12-14 William M. Perry <wmperry@aventail.com>
1610
4dfde3dd 1611 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
1612 (url-info): Autoload.
1613 (url-man): Ditto.
1614 (url-rlogin): Ditto.
1615 (url-telnet): Ditto.
1616 (url-tn3270): Ditto.
1617 (url-generic-emulator-loader): Ditto.
1618
1619 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
1620 to wrap arbitrary `http' methods with the appropriate magic to
1621 turn SSL on.
1622 (file-exists-p): Use it.
1623 (file-readable-p): Use it.
1624 (file-attributes): Use it.
1625
1626 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
1627 server spec for Gnus, make sure we set
1628 nntp-open-connection-function directly, so that other news-related
1629 functions above us can set it.
1630 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
1631 (url-nntp): Autoload.
1632 (url-snews): Ditto.
1633 (url-news): Ditto.
1634
16351999-12-12 William M. Perry <wmperry@aventail.com>
1636
1637 * lisp/url-http.el (url-http-parse-response): New function to
1638 parse just the HTTP response code out of the buffer, without
1639 taking any other actions.
1640 (url-http-wait-for-headers-change-function): Use it here when we
1641 know we have an HTTP/1.x response.
1642 (url-http-wait-for-headers-change-function): Special case a
1643 response code of '304' or there could be some delays waiting for
1644 keep-alives to time out on cached documents with no known
1645 content-length on the server.
1646
16471999-12-11 William M. Perry <wmperry@aventail.com>
1648
1649 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
1650 the Makefile does that for us. We just need to provide what files
1651 to load/functions to run.
1652
1653 * lisp/url-imap.el (url-imap-open-host): Need to bind
1654 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 1655 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 1656
1ac3c910 16571999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
1658
1659 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
1660
16611999-12-11 William M. Perry <wmperry@aventail.com>
1662
1663 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
1664 ange-ftp vs. efs calling semantics consistent, so that if someone
1665 has NEITHER of them loaded, everything should still work.
1666
1667 * lisp/url-handlers.el (url-copy-file): Autoload.
1668 (url-file-local-copy): Ditto.
1669 (url-insert-file-contents): Ditto.
1670 (url-setup-file-name-handlers): Ditto.
1671
16721999-12-10 William M. Perry <wmperry@aventail.com>
1673
1674 * lisp/url-http.el (mail-parse): Since we use functions from here,
1675 we should require it, eh?
1676
1ac3c910 16771999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
1678
1679 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
1680 if nil.
1681 (url-cookie-generate-header-lines): Use it.
1682
16831999-12-06 William M. Perry <wmperry@aventail.com>
1684
1685 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
1686 4.1 gracefully
1687
4dfde3dd
SM
1688 * lisp/url-news.el: Reimplemented news and nntp URL support.
1689 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
1690 will not work without them anyway.
1691
16921999-12-05 Dave Love <fx@gnu.org>
1693
1694 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
1695 lisp/url.el:
1696 Require url-parse.
1697
16981999-12-05 William M. Perry <wmperry@aventail.com>
1699
1700 * lisp/url-http.el (url-http-find-free-connection): Spit out a
1701 message when we have to contact a host so the user always gets
1702 at least some feedback.
1703
1704 * lisp/url-expand.el (url-expander-remove-relative-links): Moved and
1705 renamed function.
1706 (url-default-expander): Use it.
1707
4dfde3dd
SM
1708 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
1709 as well as efs.
1710 (url-file): Add default content-type of application/octet-stream if
1711 none known.
1712 (url-file): Correct bad call to url-host-is-local-p
10a6e6ba
SM
1713
1714 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
1715 like buffer-substring with nil arguments.
1716 (url-copy-file): Use mm-destroy-parts instead of just killing
1717 the buffer. Use defined interfaces when available!
1718 (url-insert-file-contents): Ditto.
1719
1720 * lisp/url-http.el (url-http-create-request): Lots of changes to
1721 get proxying working.
1722
1723 * lisp/url-methods.el (url-scheme-register-proxy): New function to
1724 find and register a proxy for a specific scheme.
1725 (url-scheme-get-property): Use it when we load a URL scheme for
1726 the first time.
1727
1728 * lisp/url-util.el (url-get-url-at-point): Re-integrated
1729
17301999-12-04 William M. Perry <wmperry@aventail.com>
1731
1732 * lisp/url-file.el (url-file): Signal an error if
1733 url-file-build-filename could not find the filename.
1734
17351999-12-01 William M. Perry <wmperry@aventail.com>
1736
1737 * lisp/url.el (url-retrieve): Use url-history-update-url instead
1738 of manipulating the hash table directly.
1739
1740 * lisp/url-history.el (url-completion-function): New function to
1741 use for reading a URL with completion.
1742 (url-history-update-url): New function to hide the hashtable
1743 implementation from people inserting things into the history.
1744
17451999-11-30 William M. Perry <wmperry@aventail.com>
1746
1747 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
1748 working.
1749
1750 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 1751 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
1752
1753 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
1754 (url-copy-file): Ditto.
1755
1756 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
1757 just killing the buffer. Use defined interfaces when available!
1758
1759 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
1760 AC_FD_CC so they show up in config.log
1761 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
1762 this always return 't' instead of 'yes' on successfully finding
1763 the library.
1764
4dfde3dd 1765 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
1766 DAV-specific error codes.
1767
4dfde3dd 1768 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
1769 (url-retrieve-synchronously): Duh, make this function actually
1770 work again. Numerous problems with it, including variable name
1771 collisions - I love dynamically scoped lisps!
1772
1773 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 1774 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba
SM
1775
1776 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it
1777 might get messy with file-name-handlers and things.
1778
1779 * lisp/url-http.el (url-http-clean-headers): Fix problem when
1780 using 'HEAD' requests. Thou shalt not change the length of the
1781 region during an after-change-function.
1782
1783 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 1784 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
1785 (url-scheme-get-property): Use it.
1786
17871999-11-29 William M. Perry <wmperry@aventail.com>
1788
4dfde3dd 1789 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
1790 (url-http-file-exists-p): Ditto.
1791
1792 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
1793
1794 * lisp/url-file.el (url-file-create-wrapper): New macro to create
1795 file-name-handler stubs for all the FTP/FILE stuff.
1796
1797 * lisp/url-handlers.el: New file to handle file-name-handler-alist
1798 cruft. Generic interface on top of functions that each URL
1799 loader provides, if capable.
1800
18011999-11-27 William M. Perry <wmperry@aventail.com>
1802
1803 * lisp/url-https.el: Implemented HTTPS support.
1804
18051999-11-26 William M. Perry <wmperry@aventail.com>
1806
1807 * url-privacy.el (url-setup-privacy-info): Don't rely on
1808 device-type being defined. Not going to bother redistributing
1809 devices.el for just one function.
1810
1811 * url-methods.el (url-scheme-get-property): Emacs does not have
1812 the 3rd-argument to plist-get to specify the default. *sigh*
1813
4dfde3dd 1814 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 1815
4dfde3dd
SM
1816 * url-http.el (url-http-generic-after-change-function):
1817 New function, since Emacs does not allow you to change the
10a6e6ba
SM
1818 after-change-functions variable from within a function run by
1819 said hook. This just hands it off to the REAL function.
1820 Side-effect is that this now works on Emacs at all. :)
1821
1822 * Initial checkin of rewritten URL library.
1823
1513a14b
GM
1824;; Local variables:
1825;; coding: utf-8
1826;; add-log-time-zone-rule: t
1827;; End:
1828
1829 Copyright (C) 1999, 2001, 2002, 2004, 2005,
d7a0267c 1830 2006, 2007 Free Software Foundation, Inc.
5b87ad55
GM
1831
1832 This file is part of GNU Emacs.
1833
1834 GNU Emacs is free software; you can redistribute it and/or modify
1835 it under the terms of the GNU General Public License as published by
1836 the Free Software Foundation; either version 2, or (at your option)
1837 any later version.
1838
1839 GNU Emacs is distributed in the hope that it will be useful,
1840 but WITHOUT ANY WARRANTY; without even the implied warranty of
1841 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1842 GNU General Public License for more details.
1843
1844 You should have received a copy of the GNU General Public License
1845 along with GNU Emacs; see the file COPYING. If not, write to the
1846 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1847 Boston, MA 02110-1301, USA.
cfceee1e
MB
1848
1849;; arch-tag: ac117078-3091-4533-be93-098162ac2926