(url-http): Define url-http-response-version.
[bpt/emacs.git] / lisp / url / ChangeLog
CommitLineData
57babe17
MH
12006-11-26 Magnus Henoch <mange@freemail.hu>
2
3 * url-http.el (url-http-wait-for-headers-change-function): Use
4 `when' instead of `if' when possible.
b9b172ac
MH
5 (url-http): Define url-http-response-version.
6 (url-http-parse-response): Set it.
7 (url-http-parse-headers): Use it to determine keep-alive behavior.
57babe17 8
48d2bac4
MH
92006-11-23 Diane Murray <disumu@x3y2z1.net>
10
11 * url-http.el (url-http-content-length-after-change-function): Use
12 `url-lazy-message'.
13
14 * url-util.el (url-display-percentage): Only show a message if
15 `url-show-status' is non-nil.
16
d58fae84
MH
172006-11-15 Magnus Henoch <mange@freemail.hu>
18
6e2988e6
MH
19 * url-http.el (url-http): Make proxy-object buffer-local, to
20 handle proxied asynchronous connections correctly.
21
d58fae84
MH
22 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
23
1ac3c910 242006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
98325235 25
1ac3c910
JB
26 * url-http.el (url-http-wait-for-headers-change-function):
27 Defer detection of HTTP 0.9 until we have at least one line.
98325235 28
1ac3c910 292006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8529c21d
CY
30
31 * url-http.el (url-http-mark-connection-as-free)
32 (url-http-find-free-connection): Don't treat process with status
33 `connect' as free.
34 (url-http-async-sentinel): Request correct url.
35
947612be
MH
362006-11-08 Magnus Henoch <mange@freemail.hu>
37
385b64c5
MH
38 * url-http.el (url-http-handle-authentication): If there are
39 several authentication headers, use the strongest available
40 method.
41
947612be
MH
42 * url.el (url-retrieve-synchronously): Allow quitting when
43 inhibit-quit is t.
44
1ac3c910 452006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
8917392a
MH
46
47 * url-http.el (url-http-handle-authentication): If there are
48 several authentication headers, use the first with a supported
49 method.
50
8ea88265
MH
512006-11-01 Magnus Henoch <mange@freemail.hu>
52
53 * url-http.el (url-http-create-request): Use buffer-local
54 equivalents of dynamically bound variables.
55
080234b6
MH
562006-10-29 Magnus Henoch <mange@freemail.hu>
57
58 * url-gw.el (url-open-stream): Really use asynchronous
59 connections (accidentally disabled during debugging).
60
ced20bfb
MH
612006-10-28 Magnus Henoch <mange@freemail.hu>
62
63 * url-http.el (url-http-parse-headers): Fix misplaced paren.
64
5695d1dd
CY
652006-10-27 Magnus Henoch <mange@freemail.hu>
66
67 * url-http.el (url-http-mark-connection-as-free): Verify that
68 connection is open before saving it.
69 (url-http-handle-authentication): Use url-retrieve-internal
70 instead of url-retrieve.
71 (url-http-parse-headers): Adapt to new callback interface.
72 (url-http): Handle non-blocking connections.
73 (url-http-async-sentinel): Create.
74
75 * url.el (url-retrieve): Update docstring for new callback interface.
76 Remove all code.
77 (url-retrieve-internal): Move code from url-retrieve here.
78
79 * url-gw.el (url-open-stream): Use a non-blocking socket for
80 `native' gateway method, if available.
81
784f5416
MH
822006-10-16 Magnus Henoch <mange@freemail.hu>
83
1ac3c910
JB
84 * url-http.el (url-https-create-secure-wrapper):
85 Always use tls gateway method.
784f5416 86
dfea17e0
MH
872006-10-12 Magnus Henoch <mange@freemail.hu>
88
1ac3c910
JB
89 * url-http.el (url-http-find-free-connection):
90 Handle url-open-stream returning nil.
dfea17e0 91
9c51663a
MH
922006-10-11 Magnus Henoch <mange@freemail.hu>
93
94 * url-https.el: Remove (clashes with url-http on 8+3 systems).
95
96 * url-http.el: Move contents of url-https.el here. Add autoloads.
97
f6fb70fc
MH
982006-10-09 Magnus Henoch <mange@freemail.hu>
99
100 * url-parse.el (url-generic-parse-url): Handle URLs with empty
101 path component and non-empty query component. Untangle path,
102 query and fragment parsing code. Add references to RFC 3986 in
103 comments.
4169c186 104 (url-recreate-url-attributes): Start query string with "?", not ";".
f6fb70fc 105
162fbe11
SM
1062006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * url-dav.el (url-dav-file-attributes): Simplify.
109
110 * url-http.el (url-http-head-file-attributes): Add device "info".
111
f316efd9
MB
1122006-09-18 Michael Olson <mwolson@gnu.org>
113
114 * url-methods.el (url-scheme-register-proxy): Handle case where
115 getenv returns an empty string for http_proxy. This prevents an
116 error when calling `format' later on.
117
c2a7ddb1 1182006-08-31 Diane Murray <disumu@x3y2z1.net>
7660c02f 119
c2a7ddb1
SM
120 * url-parse.el (url-recreate-url-attributes): New function, code
121 simply moved from `url-recreate-url'.
122 (url-recreate-url): Use it.
123 Put the `url-target' at the end of the URL after the attributes.
124
125 * url-http.el (url-http-create-request):
126 Use `url-recreate-url-attributes' when setting real-fname.
127
1282006-08-29 Diane Murray <disumu@x3y2z1.net>
129
130 * url-cookie.el (url-cookie-write-file): Really don't use versioned
131 backups.
7660c02f 132
d0f891a7
SM
1332006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
136 dest file will already exist.
137
07e9b3f0
SM
1382006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * url-util.el (url-hexify-string): Only utf-8 encode if it's
141 a multibyte string.
142 (url-normalize-url): Remove unused var `grok'.
143 (url-truncate-url-for-viewing): Remove unused var `tail'.
144
ecfbb488
TTN
1452006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
146
147 * url-util.el (url-hexify-string): Rewrite.
148 Suggested by David Smith <davidsmith@acm.org>.
149
0b6bb130
MB
1502006-07-12 Michael Olson <mwolson@gnu.org>
151
152 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
153
bc684c16
SM
1542006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * url-cookie.el: Remove spurious * in docstrings.
157 (url-cookie-write-file): Don't use versioned backups.
158 (url-cookie-host-can-set-p): Remove unused var `tmp'.
159
3d3a26eb 1602006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
bc684c16
SM
161
162 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
163 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
164
d10a6bf1
RS
1652006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
166
167 * url-http.el (url-http-file-exists-p): Test if status is integer.
168
3d3a26eb 1692006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
3dfed653
EZ
170
171 * url-http.el (url-http-parse-headers): Don't reuse connection if
172 "Connection: close" header was seen.
173
351b838f
SM
1742006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * url-gw.el (url-open-stream): Don't hide errors.
177 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
178
179 * url-handlers.el (url-insert): New function.
180 (url-insert-file-contents): Use it.
181
bdba217b
SM
1822006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
183
184 * url-handlers.el (url-handler-directory-file-name): New handler.
185 (url-file-local-copy): Plug race condition security hole.
186
7608c40c
RF
1872006-03-27 Romain Francoise <romain@orebokech.com>
188
189 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
190 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
191 Default to rcirc, since ZenIRC isn't part of Emacs.
192
bedeb7fd
SM
1932006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
196
8dff56de
SM
1972006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * url-http.el (url-http-find-free-connection): Don't kill the process
200 when killing the temp buffer.
201 (url-http-symbol-value-in-buffer): Massage to make it clear to the
202 byte-compiler that the function is defined.
203
9b4cf231
SM
2042006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * url.el (url-redirect-buffer): New var.
207 (url-retrieve-synchronously): Use it to follow redirections.
208
209 * url-http.el: Require `url' rather than try to autoload parts of it.
210 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
211 (url-http-parse-headers): Set `url-redirect-buffer' when following
212 a redirection reply.
213
81cafdfe
SM
2142006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * url-news.el: Move defvars out of eval-when-compile.
217 (url-news-fetch-message-id, url-news-fetch-newsgroup):
218 Use with-current-buffer.
219
5dc3ceeb
SM
2202006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
221
e7ea7cac
SM
222 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
223 to stop in the middle of a redirection.
224
5dc3ceeb
SM
225 * url-vars.el (url-privacy-level): Add setter.
226
72a30be4
SM
2272006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
228
176c99dc
SM
229 * url-history.el (url-history-hash-table): Initialize in declaration.
230 (url-history-parse-history): Don't reset the history.
231 (url-history-save-history): Create parent dir if necessary.
232 (url-history-save-history): Don't write the initialization of
233 url-history-hash-table into the history file.
9b4cf231 234 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
176c99dc
SM
235 (url-completion-function): Simplify.
236
72a30be4
SM
237 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
238 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
239 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
240 (url-cookie-setup-save-timer): Remove autoload cookies.
241 They're only called from files that require url-cookie anyway.
242
243 * url-history.el (url-history-setup-save-timer)
244 (url-history-parse-history, url-history-save-history):
245 Remove autoload cookies. They're only called from url.el which requires
246 url-history anyway.
247 (url-history-parse-history): Don't complain if the file is missing.
248
55262b16
SM
2492006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
252
253 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
254
255 * url-cache.el: Require `url'.
256
d476efde
SM
2572005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
258
32d5ce4d
SM
259 * url-cache.el (url-store-in-cache): Use save-current-buffer.
260
d476efde
SM
261 * url.el (url-configuration-directory): Don't autoload because the
262 default value needs to be computed at run-time, not dump-time.
263
32fa5844
SM
2642005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * url-cookie.el (url-cookie-write-file): Create parent dir.
267
268 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
269
0c069924
RS
2702005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
271
272 * url-cookie.el (url-cookie-save-interval): Simplify.
273 (url-cookie-setup-save-timer): Simplify.
274
8553120c
RS
2752005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
276
277 * url-history.el (url-history-list): Var deleted.
278 (url-history-save-interval): Simplify.
279 (url-history-setup-save-timer): Simplify.
280
b0ab1a06
KS
2812005-12-01 Kim F. Storm <storm@cua.dk>
282
283 * url-history.el (url-history-track): Fix last change.
284
1942d6cc
RS
2852005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
286
287 * url-history.el (url-history-track):
288 Call url-history-setup-save-timer in :set function.
289 :type allows three alternatives.
290 (url-history-setup-save-timer): Test url-history-track.
291 * url.el (url-retrieve): Test url-history-track.
292
12f1edc8
SM
2932005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * url-http.el: Use with-current-buffer.
296 (url-http-target-url): Rename from url-http-cookies-sources.
297 (url-http-parse-headers): Use it.
298 (url-http-handle-authentication): Use subst-char-in-string.
299
77f05e24
SM
3002005-11-16 Juergen Hoetzel <emacs@hoetzel.info> (tiny change)
301
302 * url-handlers.el (url-insert-file-contents): Use the charset info
303 provided by the HTTP server, if any.
304
ce13796f
EZ
3052005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
306
77f05e24
SM
307 * url-nfs.el (top level):
308 * url-handlers.el (directory-files):
ce13796f 309 * url-file.el (top level):
77f05e24 310 * url-dired.el (url-dired-minor-mode-map):
ce13796f
EZ
311 * url-http.el (url-http-chunked-encoding-after-change-function):
312 Remove XEmacs support.
313
a4684cb0
RS
3142005-10-15 Richard M. Stallman <rms@gnu.org>
315
316 * url.el: Don't try to autoload hash table functions.
317
1430e7f9
SM
3182005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
319
320 * url-http.el (url-http-create-request): Avoid incorrect implicit
321 unibyte->multibyte conversion.
322
8ccd3630
RS
3232005-09-17 Richard M. Stallman <rms@gnu.org>
324
325 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
326
327 * url-mailto.el (url-mailto): Special case `mail'.
328 Don't test fboundp of `compose-mail'.
329
b0742512
CY
3302005-09-15 Chong Yidong <cyd@stupidchicken.com>
331
332 * url-mailto.el (url-mailto): Delete mail buffer after sending
333 autogenerated mail.
8ded3f47 334 Call `compose-mail with `new' argument if possible.
b0742512 335
c8359e8f
CY
3362005-09-13 Chong Yidong <cyd@stupidchicken.com>
337
338 * url-mailto.el (url-mailto): Always use a new mail buffer.
339
6fd388f3
CY
3402005-09-01 Chong Yidong <cyd@stupidchicken.com>
341
342 * url-util.el (url-parse-query-string): New optional argument
343 allow-newlines allows decoding of newlines.
344
345 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
346 Don't lose original "to" value when there is a "to" header.
347 Remove carriage return characters in message body.
348
26d874b2
JB
3492005-08-24 Juanma Barranquero <lekktu@gmail.com>
350
351 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
352 * url-http.el (url-http-cookies-sources): Defvar at compile time.
353
dc524e8b
RS
3542005-07-15 Richard M. Stallman <rms@gnu.org>
355
356 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
357 when calling url-retrieve, to indicate a redirect.
358
359 * url.el (url-retrieve): The callback function can get an additional
360 keyword arg pair.
361
a0ec7a4a
LK
3622005-07-04 Lute Kamstra <lute@gnu.org>
363
364 Update FSF's address in GPL notices.
365
59fda2fa
JB
3662005-07-04 Juanma Barranquero <lekktu@gmail.com>
367
368 * url-history.el (url-history-track): Doc fix.
369 (url-history): Finish `defgroup' description with period.
370
371 * url-cookie.el (url-cookie):
372 * url-gw.el (url-gateway):
373 * url-news.el (url-news):
374 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
375 Finish `defgroup' description with period.
376
231add10
RS
3772005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
378
379 * url-http.el (url-http-create-request): Call url-recreate-url
380 in proxy case.
381
e893ce91
RS
3822005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
383
384 * url-http.el (url-http-create-request): When computing real-fname,
385 call url-filename in both cases.
386
3872005-06-27 Richard M. Stallman <rms@gnu.org>
388
389 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
390 (url-cookie-retrieve): Likewise.
391 (url-cookie-generate-header-lines): Likewise.
392 (url-cookie-handle-set-cookie): Likewise.
393 (url-cookie-create): Expect :localpart instead of :path.
394 (url-cookie-localpart): Renamed from url-cookie-path.
395 (url-cookie-set-localpart): Renamed from url-cookie-set-path.
396 (url-cookie-file): Doc fix.
397 (url-cookie-p): Add doc string.
398
528b6abc
RS
3992005-06-23 Richard M. Stallman <rms@gnu.org>
400
401 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
402
23873c96
JB
4032005-06-21 Juanma Barranquero <lekktu@gmail.com>
404
405 * url-gw.el (url-open-stream):
406 * url-vars.el (url-gateway-unplugged): Fix spellings.
407
0b46b379
JB
4082005-06-14 Juanma Barranquero <lekktu@gmail.com>
409
410 * url-history.el (url-completion-function): Follow error
411 conventions.
412
175384d1
SM
4132005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
416
7f954571
SM
4172005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
418
0090e048
SM
419 * url-dav.el: Remove most autoload cookies.
420 Don't hook into the url-file-handler since it currently breaks all
421 non-HTTP URLs.
422
7f954571
SM
423 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
424
425 * url.el (url-retrieve-synchronously): Don't exit precipitously when
426 fetching a file via ange-ftp.
427
466c78c0
JB
4282005-06-10 Juanma Barranquero <lekktu@gmail.com>
429
7f954571 430 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
466c78c0 431
93c8c9cd
JB
4322005-05-19 Juanma Barranquero <lekktu@gmail.com>
433
434 * url-cookie.el (url-cookie-multiple-line):
435 Specify group and type in defcustom.
436
216d3806
JB
4372005-05-06 Juanma Barranquero <lekktu@gmail.com>
438
439 * url-auth.el (url-register-auth-scheme):
440 * url-cookie.el (url-cookie-expired-p):
441 * url-dav.el (url-dav-process-date-property)
442 (url-dav-process-boolean-property, url-dav-process-DAV:status):
443 * url-http.el (url-http-chunked-encoding-after-change-function)
444 (url-http-wait-for-headers-change-function):
445 * url-ns.el (isInNet):
446 * url-parse.el (url-generic-parse-url):
447 * url-util.el (url-get-normalized-date): Replace `string-to-int'
448 by `string-to-number'.
449
799fba8f
SM
4502005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
451
452 * url.el (url-retrieve-synchronously): Work around the fact that
453 url-http sometimes doesn't call the callback.
454
8c6ef2ca
LK
4552005-04-04 Lute Kamstra <lute@gnu.org>
456
457 * url-handlers.el (url-handler-mode): Specify :group.
458
a6efc2c2
EZ
4592005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
460
461 * url-history.el (url-have-visited-url): Don't barf if
462 url-history-hash-table is nil.
463
134948fc
RS
4642005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
465
466 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
467
1a8461d3
EZ
4682005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
469
557724a8
EZ
470 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
471 to nil, like for the 303 response.
1a8461d3 472
944b2ab6
SM
4732005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * url.el (url-retrieve-synchronously): Use accept-process-output rather
476 than sit-for.
477
e817f9a2
TTN
4782005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
479
480 * url-http.el (url-http-handle-authentication):
481 Don't kill the current buffer.
482
5007cdc9
SM
4832004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * url-handlers.el: Don't `require' everything eagerly.
486
cacfe88b
AS
4872004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
488
489 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
490 to `url-http-cookies-sources' so that cookies are attributed to
491 proper domain.
492 (url-http): Make local variable `url-http-cookies-sources'.
493
dc1a0a7a
AS
4942004-11-28 Andreas Schwab <schwab@suse.de>
495
496 * url-http.el (url-http-create-request): Don't add newline after
497 the request data.
498
14e25c87
MY
4992004-11-20 Masatake YAMATO <jet@gyve.org>
500
501 * url.el (url-mm-callback): Delay the invocation
1ac3c910 502 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
14e25c87
MY
503 when the buffer is killed.
504
de0234ea
MY
5052004-11-12 Masatake YAMATO <jet@gyve.org>
506
5007cdc9 507 * url-mailto.el (url-mailto): Fix a typo in the comment.
de0234ea 508
60b5eb78
MY
5092004-11-02 Masatake YAMATO <jet@gyve.org>
510
511 * url-imap.el (url-imap-open-host): Don't use
1ac3c910 512 `string-to-int'. The port returned by `url-port'
60b5eb78
MY
513 is expected to be an integer.
514
515 * url-irc.el (url-irc): Ditto.
516
517 * url-news.el (url-news-open-host): Ditto.
518
519 * url-nfs.el (url-nfs-build-filename): Ditto.
520
ed87225a
JPW
5212004-10-20 John Paul Wallington <jpw@gnu.org>
522
523 * url-gw.el (url-gateway-nslookup-host):
524 Use `set-process-query-on-exit-flag'.
525
2a6c7fe5
LH
5262004-10-10 Lars Hansen <larsh@math.ku.dk>
527
4169c186
KS
528 * url-auth.el:
529 * url-cache.el:
530 * url-cid.el:
531 * url-dired.el:
532 * url-expand.el:
533 * url-ftp.el:
534 * url-gw.el:
535 * url-imap.el:
536 * url-irc.el:
537 * url-misc.el:
538 * url-news.el:
539 * url-ns.el:
540 * url-privacy.el:
2a6c7fe5
LH
541 * url-proxy.el: Update header and footer.
542
543 * url-vars.el: Update header.
544
c2e2ede7
RS
5452004-10-16 Richard M. Stallman <rms@gnu.org>
546
547 * url.el (url-do-setup): Don't set url-passwd-entry-func.
548
549 * url-vars.el (url-passwd-entry-func): Var deleted.
550 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
5007cdc9
SM
551 (url-weekday-alist): Rename from weekday-alist.
552 (url-monthabbrev-alist): Rename from monthabbrev-alist.
c2e2ede7
RS
553 (url-vars-unload-hook): Initialize hook var to hold the function.
554
5007cdc9
SM
555 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
556 url-monthabbrev-alist.
c2e2ede7
RS
557
558 * url-misc.el: Load cl at compile time.
559
560 * url-mailto.el: Don't load cl.
561 (url-mailto): Fix call to `push'.
562
563 * url-gw.el (url-open-telnet): Use read-passwd.
564
565 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
566
3bb53a84
SJ
5672004-10-12 Simon Josefsson <jas@extundo.com>
568
569 * url-vars.el (url-gateway-method): Add new method `tls'.
570
571 * url-news.el (url-snews): Use nntp-open-tls-stream if
572 url-gateway-method is tls.
573
5007cdc9
SM
574 * url-ldap.el (url-ldap-certificate-formatter):
575 Use tls-certificate-information if ssl.el is not available.
3bb53a84
SJ
576
577 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
578 is not available.
579
580 * url-gw.el (url-open-stream): Support tls url-gateway-method.
581 (url-open-stream): Likewise.
582
df41da5e
LH
5832004-10-10 Lars Hansen <larsh@math.ku.dk>
584
4169c186
KS
585 * url-auth.el:
586 * url-cache.el:
587 * url-cookie.el:
588 * url-dired.el:
589 * url-file.el:
590 * url-ftp.el:
591 * url-handlers.el:
592 * url-history.el:
593 * url-irc.el:
594 * url-mailto.el:
595 * url-methods.el:
596 * url-misc.el:
597 * url-news.el:
598 * url-nfs.el:
599 * url-parse.el:
600 * url-privacy.el:
601 * url-vars.el:
602 * url.el:
df41da5e
LH
603 * url-util.el: Fix copyright notice.
604
ccd59305
SM
6052004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
608 encoding, not the buffer-file-name (which might not even exist).
609
d4fdad60
SM
6102004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
611
612 * url-handlers.el (url-insert-file-contents): Decode contents.
613
10a6e6ba
SM
6142004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * url-util.el (url-debug): Use with-current-buffer.
617
618 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
619 (url-nfs-create-wrapper): Use new backquote syntax.
620
621 * url-https.el (url-https-file-attributes): Add id-format param.
622
623 * url-http.el (url-http-head-file-attributes)
624 (url-http-file-attributes): Add id-format parameter.
625
626 * url-handlers.el: Use new find-file-hook.
627 (url-file-attributes): Add id-format parameter.
628
629 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
630 (url-file-file-attributes): Add id-format parameter.
631
632 * url-dav.el: Use with-current-buffer.
633 (url-dav-process-response): Fix regexps and spurious quote.
634 (url-dav-file-attributes): Add id-format param.
635
6362004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * url.el (url-retrieve): Use with-current-buffer.
639
640 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
641 Remove unused var `version'.
642
643 * url-handlers.el (url-handler-mode): New minor mode.
644 (url-setup-file-name-handlers): Remove.
645
6462004-04-12 John Paul Wallington <jpw@gnu.org>
647
648 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
649 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
650
6512004-04-11 Dave Love <fx@gnu.org>
652
653 * url-mailto.el (url-mailto):
654 * url-history.el (url-history-setup-save-timer):
655 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
656
657 * url-file.el (url-file-build-filename): Don't use
658 directory-sep-char.
659
660 * url-auth.el (url-register-auth-scheme): Fix `format' call.
661
662 * url-about.el (url-scheme-registry): Defvar.
663 (url-about): Use text/plain.
664
665 * url-vars.el (cl): Don't require.
666 (url): Add :version.
667 (url-bug-address): Use bug-gnu-emacs.
668
669 * url-util.el (url-hexify-string): Don't give multibyte error
670 for char <16.
671 (mail-header-extract): Autoload.
672
673 * url-parse.el: Doc fixes.
674
675 * url-ldap.el (ldap): Require.
676 (url-ldap): Fix `format' call.
677 (url-ldap-certificate-formatter): Avoid warning.
678
4dfde3dd 679 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
10a6e6ba
SM
680
681 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
682 (url-intersection): New.
683 (url-dav-supported-p): Use it.
684 (url-dav-save-resource): Declare url-http-response-status special.
685
686 * url-cache.el (url-util): Require.
687
6882004-04-10 Miles Bader <miles@gnu.org>
689
690 RCS keyword removal (only non-comment changes are enumerated here):
691
692 * url-vars.el (url-version): Use the constant string "Emacs"
693 instead of calculating something from the RCS `State' keyword
694 [the latter is almost entirely useless anyway].
695
6962004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * url-methods.el:
699 * url-parse.el: Don't require url-auto.
700
7012004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * url: Imported the URL package from its own CVS repository into Emacs.
704
705===========================================================================
706===========================================================================
707 Copy of the ChangeLog file from URL's own CVS repository:
708===========================================================================
709===========================================================================
710
7112003-07-16 Dave Love <fx@gnu.org>
712
713 * lisp/url.el (url-retrieve-synchronously): Revert last change.
714 Should be revisited.
715
7162003-06-26 Sam Steingold <sds@gnu.org>
717
718 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
719 method on invalid urls.
720
7212003-05-29 Dave Love <fx@gnu.org>
722
723 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
724 sit-for. From monnier@gnu.org.
725
1ac3c910 7262002-11-04 Walter C. Pelissero <walter@pelissero.org>
10a6e6ba 727
4dfde3dd
SM
728 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
729 port numbers to integers when creating the URL objects for proxies.
10a6e6ba
SM
730
7312002-10-29 William M. Perry <wmperry@gnu.org>
732
733 * lisp/url-http.el (url-http-parse-headers): When doing a
734 redirect, some broken software (sourceforge) sends a redirect to
735 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
736 specification). I wish we could deal with such lame software
737 appropriately (spank the authors), but this is the web, so we have
738 to kow-tow to the servers.
739
7402002-10-27 William M. Perry <wmperry@gnu.org>
741
742 * lisp/url-http.el (url-http-create-request): If we are talking to
743 the default port for a the selected protocol, do NOT send the port
744 in the HOST header. This fixes the login page at sourceforge.
745
7462002-09-17 William M. Perry <wmperry@gnu.org>
747
748 * lisp/url-http.el (url-http-handle-cookies): New function to deal
749 with cookie headers.
750 (url-http-parse-headers): Call `url-http-handle-cookies' here so
4dfde3dd
SM
751 that cookie additions and deletions get handled immediately.
752 This is so that sites that set cookies while doing redirects
10a6e6ba
SM
753 (my.yahoo.com, outlook web access, etc) work. This should also
754 fix sites that delete cookies on invalid access or other error
755 pages the user might not actually see.
756 (url-http-parse-headers): Silently convert non-HEAD and non-GET
757 methods to GET in redirects. Too many web sites do this now, and
758 it is just likely to confuse users.
759
7602002-05-17 Dave Love <fx@gnu.org>
761
762 * texi/url.txi: Start making it vaguely useful.
763
764 * texi/Makefile.in (install): Cope with Debian install-info.
765 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann).
766
7672002-04-22 Dave Love <fx@gnu.org>
768
769 * lisp/url-misc.el (man): Autoload to avoid warning.
770 (url-man): Don't require man here.
771 (url-data): Generalize in line with the RFC.
772
773 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
774
775 * lisp/url-vars.el: Doc fixes.
776 (url-mime-charset-string): New function.
777 (url-mime-charset-string): Use it to set the variable.
778 (url-set-mime-charset-string): New function.
779 (set-language-environment-hook): Use it.
780 (url-vars-unload-hook): New function.
781
4dfde3dd
SM
782 * lisp/url-cookie.el (url-header-comparison): Delete.
783 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
10a6e6ba
SM
784 (url-cookie-save-interval): Make value agree with doc.
785
786 * lisp/url.el: Doc fixes.
787 (url-mm-callback): Don't call mm-destroy-parts immediately for
788 external viewing -- set up a process sentinel.
789
7902002-02-02 William M. Perry <wmperry@gnu.org>
791
4dfde3dd 792 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
10a6e6ba
SM
793
7942001-12-12 William M. Perry <wmperry@gnu.org>
795
796 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
797 Monnier to use ` instead of ^ to match the relative link.
798
7992001-12-10 William M. Perry <wmperry@gnu.org>
800
801 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
802 plist-get (reversed args).
803
804 * lisp/url-file.el (url-file-build-filename): Make sure that we
805 have a parsed URL in this function.
806
8072002-01-22 Dave Love <fx@gnu.org>
808
809 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
810
4dfde3dd
SM
811 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
812 Bind coding-system-for-read. Require mm-util.
10a6e6ba
SM
813
814 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
815
816 * lisp/mule-sysdp.el: Removed (obsolete).
817
8182001-12-09 William M. Perry <wmperry@gnu.org>
819
820 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
821 remove an arbitrary resource.
822 (url-dav-delete-directory): Use it.
823 (url-dav-delete-file): Ditto.
824 (url-dav-make-directory): New function.
825 (url-dav-rename-file): New function.
826 (url-dav-register-handler): New function to easily register a
827 WebDAV-specific file-name-handler operation.
828 (url-dav-file-name-all-completions, url-dav-file-name-completion):
4dfde3dd 829 New functions that allow file-name completion for WebDAV resources.
10a6e6ba
SM
830
8312001-12-08 William M. Perry <wmperry@gnu.org>
832
833 * lisp/url-dav.el (url-dav-directory-files): New function to
834 mimic `directory-files' for WebDAV.
835 (url-dav-delete-directory): New function to mimic
836 `delete-directory' for WebDAV.
837
8382001-12-06 William M. Perry <wmperry@gnu.org>
839
840 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
841 DAV:locktoken hrefs into a usable format.
842 (url-dav-process-response): Use an unwind-protect to make sure
843 that we clean up the buffer, even if there is a parsing error.
844 (url-dav-request): New function to act as the main entry point for
845 making DAV requests. Takes care of building the XML document with
846 appropriate namespaces, depth, etc, and parses the results.
4dfde3dd
SM
847 (url-dav-get-properties): Use new url-dav-request function.
848 This is now just a thin wrapper around that to use PROPFIND and set any
10a6e6ba
SM
849 extra properties we are looking for.
850 (url-dav-unlock-resource): New function to release a lock given a
851 URL and a lock-token.
852 (url-dav-process-DAV:getlastmodified)
853 (url-dav-process-DAV:creationdate)
854 (url-dav-process-DAV:iscollection)
855 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
856 url-dave-*!
857 (url-dav-active-locks): New function to get a list of all the
858 active locks for a resource.
859 (url-dav-save-resource): New function to actually save a resource
860 using the PUT method. I can now successfully save files to an
4dfde3dd 861 HTTP server with some manual steps from a lisp-interaction buffer.
10a6e6ba
SM
862
863 * lisp/url-http.el (url-http-wait-for-headers-change-function):
864 Special case the 204/205 response codes. Some servers do not
865 send back a 0 content-length for these, and we would hang.
866 (url-http-parse-headers): Mark 204/205 response codes as
867 'successful' so that the callbacks get activated.
868 (url-http-options): Fix unbound variable usage.
869
870 * lisp/url-dav.el: Added full copyright information.
871 (url-dav-process-response): Make sure that we create a DAV:status
872 property when parsing a singleton response.
873 (url-dav-file-attributes): If the properties returned did not have
874 a succesful HTTP response code, then ignore them and use the
875 HEAD-based attributes.
876
877 * lisp/vc-dav.el: Added full copyright information.
878
4dfde3dd
SM
879 * lisp/url-dav.el (url-dav-process-supportedlock-property):
880 Deal with text nodes in DAV:supportedlock nodes.
10a6e6ba
SM
881 (url-dav-file-attributes-mode-string): This now gets the entire
882 property list instead of just the DAV:supportedlock node.
883 (url-dav-file-attributes): Make sure to pass the whole list in.
4dfde3dd 884 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
10a6e6ba
SM
885 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
886 'executable' bit to set the 'x' mode. See `mod_dav's custom
887 properties' at http://www.webdav.org/mod_dav/ for more details.
888 (url-dav-find-parser): New function to find the proper parser for
889 a node-type. Looks for
890 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
891 back to using url-dav-node-text. Caches the results on the nodes
892 symbol name.
4dfde3dd
SM
893 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
894 (url-dav-process-*): Rename most of the handlers and made them
10a6e6ba
SM
895 use url-dav-dispatch-node where appropriate.
896 (url-dav-process-DAV:prop): Instead of using the dav-data-type
897 property to dispatch the node, now uses dav-dispatch-node so that
898 it is easy to add parsers for special nodes.
899 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
900 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
901 (url-dav-process-DAV:getcontentlength)
902 (url-dave-process-DAV:getlastmodified)
903 (url-dave-process-DAV:creationdate)
904 (url-dave-process-DAV:iscollection)
905 (url-dave-process-DAV:ishidden): Aliases for the generic
906 url-dav-process-foo-property routines.
907 (url-dav-process-DAV:activelock)
908 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
909 DAV:lockdiscovery nodes, so that we can find out who has a
910 resource locked and properly parse the reponse to a LOCK request.
911 (url-dav-process-DAV:status): Now parses ou the numeric status
912 from the HTTP response line.
913 (url-dav-process-response): New function to handle all the
914 parsing of an XML response from WebDAV. This handles all the
915 logic of checking the response content-type to make sure it is
916 XML, parses the tree, and interprets the tree.
917 (url-dav-process-response): Make sure that all responses look
918 like a DAV:multistatus response, even if we get a singleton
4dfde3dd 919 response back. This will just make the upper layer logic simpler.
10a6e6ba
SM
920 (url-dav-get-properties): New optional argument NAMESPACES that
921 specifies what namespaces to use in the XML request.
922 (url-dav-get-properties): Got rid of the D: namespace in
923 requests. It doesn't save that much space. Just use DAV:
924 (url-dav-lock-identifier): New variable that should hold a URI
925 pointing to contact information for the user. This will be used
926 as the contents of the DAV:owner/DAV:href tag to identify the
927 owner of a LOCK when requesting it. This will be shown to other
928 users when the DAV:lockdiscovery property is requested, so make
929 sure you are comfortable with it leaking to the outside world.
930 (url-dav-lock-resource): New function to LOCK a dav resource.
931
9322001-12-05 William M. Perry <wmperry@gnu.org>
933
934 * lisp/url-dav.el (url-dav-get-properties): New argument
935 ATTRIBUTES that allows you to ask for specific properties instead
936 of getting all properties via DAV:allprop.
937
4dfde3dd
SM
938 * lisp/url-http.el (url-http-real-basic-auth-storage):
939 New variable for normal HTTP basic authentication.
10a6e6ba
SM
940 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
941 basic authentication.
942 (url-http-handle-authentication): Follow new semantics for
943 url-basic-auth-storage.
944
4dfde3dd 945 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
10a6e6ba
SM
946 this variable. It is now a symbol pointing to where we really
947 want to store the authorization information. This fixes proxy
4dfde3dd
SM
948 auth and normal basic auth because of some local bindings that were
949 making it impossible to store the credentials in the global binding.
10a6e6ba
SM
950 (url-basic-auth): Make sure we dereference url-basic-auth-storage
951 everywhere.
952
4dfde3dd 953 * lisp/url-util.el (url-debug): Add new types 'dav and
10a6e6ba
SM
954 'retrieval to the customization list.
955
956 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
957 statements.
958
4dfde3dd 959 * lisp/url-http.el (url-http-head-file-attributes): Rename old
10a6e6ba
SM
960 url-http-file-attributes so that we can have a smarter one that
961 tries WebDAV first, then HEAD.
4dfde3dd 962 (url-http-file-attributes): New smart version that tries WebDAV first.
10a6e6ba
SM
963 (url-http-options): New function that returns information gleaned
964 from an OPTIONS request for a URL. Returns a property list
965 returning the methods supported for the resource, what DAV and
966 DASL levels are supported, p3p information, and whether
967 byte-ranges are supported or not.
968 (url-http-wait-for-headers-change-function): If we got a 0-byte
969 content-length, activate the callback immediately.
970 (url-http-wait-for-headers-change-function): For content-length
971 responses with actual body-data in the chunk we are handling, call
972 url-http-content-length-after-change-function with the remaining
973 data. Otherwise we can deadlock if the headers and the entire
974 body exist arrive in one chunk.
975
976 * lisp/url-dav.el: New file to contain the WebDAV
977 (http://www.webdav.org/) implementation.
978 (url-dav-supported-p): Cheap way to figure out whether we will be
979 able to do DAV at all. We rely on the XML parser expanding
980 namespaces for us, and currently you need a patched version of
981 xml.el to do this. Patch sent to author for consideration.
982 (url-dav-file-attributes): Much more complete version of
983 `file-attributes' using the WebDAV PROPFIND method. Now correctly
984 finds out whether something is a directory (a WebDAV collection),
985 the last modification time, and permissions (based on the
986 DAV:supportedlock information).
987 (url-dav-get-properties): Generic interface to get WebDAV
988 properties for a URL. Can specify an optional `depth' parameter
989 to tell the web server how many directory (collection) levels to
990 recurse when retrieving the property lists. Returns an assoc
4dfde3dd 991 list keyed off of the resource, the cdr of which is a property list.
10a6e6ba
SM
992 (url-dav-datatype-attribute): We support the XML-Data note
993 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
994 datatypes of attributes are. Currently only date, dateTime, int,
995 number, float, boolean, and uri are supported.
996
9972001-12-04 William M. Perry <wmperry@gnu.org>
998
999 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1000 version. If the filename matches our regexp, then it is always
1001 absolute, so just return `t'.
1002 (expand-file-name): New hooked version. If the fragment is an
1003 absolute file or URL, then expand it relative to '/'.
1004 (url-handler-regexp): New regexp for specific schemes that we
1005 want the file-name-handlers to work off of.
4dfde3dd 1006 (url-setup-file-name-handlers): Use it when installing the handlers.
10a6e6ba
SM
1007
1008 * lisp/url-http.el (url-http-find-free-connection): Better logging
1009 about whether we are reusing an existing connection or not.
1010
4dfde3dd 1011 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
10a6e6ba
SM
1012 to string-match instead of match-string (and with reversed
1013 arguments even).
1014
4dfde3dd 1015 * lisp/url-http.el (url-http-debug): Change to now use the
10a6e6ba
SM
1016 generic url-debug function to do the actual logging. Still a
1017 separate function so that we can do our magic on the network
1018 connection if the user quits while we are downloading.
1019
1020 * lisp/url-handlers.el (url-file-handler): Now logs the result of
1021 the hooked or real call.
1022
4dfde3dd 1023 * lisp/url-util.el (url-debug): New function for generic debug logging.
10a6e6ba
SM
1024
10252001-11-28 William M. Perry <wmperry@gnu.org>
1026
1027 * lisp/url-imap.el (url-imap-open-host): Use backquote.
1028 (url-imap): Now switches to 'login as the imap authenticator if
1029 the URL provides a username and password.
1030
1031 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1032 push to replace some strange logic in here.
1033 (url-run-real-handler): New function to run the real hooks in
1034 case we get a false positive or an operation that we do not
1035 support. The old way disabled _ALL_ file-name-handlers when
1036 we hit something we didn't understand - this disables JUST us.
4dfde3dd 1037 (url-file-handler): Remove the logic about removing the leading
10a6e6ba
SM
1038 '/' off of the first argument... it may not be safe to always
1039 assume that the first argument is the one we are acting on -
4dfde3dd 1040 `default' is the second argument for expand-file-name for example.
10a6e6ba
SM
1041 (url-setup-file-name-handlers): Use url-nonrelative-link
1042 directly. This means that you must type in the URL directly
1043 without prefixing it with a '/'.
1044
1045 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1046
1047 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1048 which activates us (because 'nnml+mail' _is_ a valid scheme name
1049 for a URI). We get thoroughly confused and end up returning
1050 `nil' when we shouldn't.
1051
10522001-11-26 William M. Perry <wmperry@gnu.org>
1053
1054 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1055 this so that visiting a URL directly will work.
1056 (file-symlink-p): Ditto.
1057 (url-insert-file-contents): If `visit' is non-nil then make sure
1058 we set buffer-file-name. After these changes you can visit
1059 http://www.gnu.org/ directly from the minibuffer.
1060 (url-insert-file-contents): When inserting the file contents,
1061 use a save-excursion so that we behave just like the original.
1062
10632001-11-25 William M. Perry <wmperry@gnu.org>
1064
4dfde3dd 1065 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
10a6e6ba
SM
1066
10672001-11-24 William M. Perry <wmperry@gnu.org>
1068
1069 * lisp/url-about.el (url-about): New loader scheme to handle
1070 about:foo URLs. Automatically tries to find a `url-about-foo'
1071 function to display the actual data.
1072 (url-about-protocols): Implement about:protocols
1073
1074 * lisp/url-http.el (url-http): Make sure that we signal an error
1075 when we cannot open a network connection for whatever reason.
1076 Before, it would just silently clean up after itself and the user
1077 got absolutely no indication that an error had occured. If the
1078 error should truly be ignored, the caller should do that for us.
1079 (url-http-chunked-encoding-after-change-function): Doh! Need to
1080 user marker-position in some log messages now that
1081 url-http-chunked-start is a marker.
1082
10832001-11-22 William M. Perry <wmperry@gnu.org>
1084
1085 * lisp/url-https.el: Fixed definition of url-https - was using the
1086 wrong signature. Too much cut & paste.
4dfde3dd 1087 (url-https-create-secure-wrapper): Fix so that url-https works
10a6e6ba 1088 at all. Was not taking a null `method' into account when calling
4dfde3dd 1089 the wrapped function so url-https tried to call url-http-nil. *sigh*
10a6e6ba
SM
1090
1091 * lisp/url-http.el
4dfde3dd 1092 (url-http-chunked-encoding-after-change-function): Add some
10a6e6ba
SM
1093 feedback when not debugging about what content-type and chunk # we
1094 are reading.
1095 (url-http-chunked-encoding-after-change-function): Use a marker
1096 for url-http-chunked-start so that we can safely delete the
1097 chunk-tokens instead of just marking them as invisible.
1098 (url-http-chunked-encoding-after-change-function): Actually delete
1099 the chunk-tokens. Now that we are not run from 'real'
1100 after-change functions, this is safe, and the right thing to do.
1101 Otherwise the HTML parser still saw them and inferred all sorts of
1102 bad things about the document (ie: nothing had a title!)
1103
11042001-11-21 William M. Perry <wmperry@gnu.org>
1105
1106 * lisp/url-http.el (url-http-debug): Document this variable.
1107 People other than I might want to use it.
1108 (url-http-debug): Put some code in here to check quit-flag
1109 directly. When the chunked encoding went into a tight spin, your
1110 Emacs would be wedged forever. This short-circuits all the
1111 after-change functions and signals an error.
1112 (url-http-debug): If url-http-debug is non-nil and non-t, then log
1113 the debug messages using `message' as well as sending them to the
1114 buffer.
1115 (url-http-chunked-encoding-after-change-function): Got rid of the
1116 no-initial-crlf. Had an epiphany and I can just infer this from
1117 url-http-chunked-counter being 0.
4dfde3dd 1118 (url-http-chunked-encoding-after-change-function): Move the debug
10a6e6ba
SM
1119 statement about reading chunk #foo into the loop so that each
1120 chunk will have a log message associated with it.
1121 (url-http-chunked-encoding-after-change-function): Make sure to
1122 set read-next-chunk to nil when the regular expression match fails
1123 to fire. Otherwise we could loop forever.
4dfde3dd
SM
1124 (url-http-chunked-encoding-after-change-function): Tweak the
1125 regular expression to be a little less greedy when looking for a chunk.
10a6e6ba
SM
1126 (url-http-wait-for-headers-change-function): Remove the last
1127 argument when calling
1128 url-http-chunked-encoding-after-change-function. It is no longer
1129 needed. I should use my brain sometime.
1130
4dfde3dd 1131 * lisp/url-vars.el (and): Fix feature test for xemacs and
10a6e6ba
SM
1132 coding-system-list behaviour.
1133
1134 * lisp/url-http.el
4dfde3dd
SM
1135 (url-http-chunked-encoding-after-change-function): Add optional
1136 no-initial-crlf flag that modifies the regular expression.
1137 This is only set from url-http-wait-for-headers-change-function so that
10a6e6ba 1138 the initial CRLF in the HTTP headers is not swallowed.
4dfde3dd 1139 (url-http-chunked-encoding-after-change-function): Fix a few
10a6e6ba 1140 off-by-one errors by using (match-end 0) instead of 1.
4dfde3dd 1141 (url-http-chunked-encoding-after-change-function): Add a few
10a6e6ba
SM
1142 url-http-debug calls to help track down problems in the chunked
1143 encoding.
1144 (url-http-chunked-encoding-after-change-function): The chunk
1145 reading in here is now in a while loop so that if Emacs feeds us a
1146 chunk of data that happens to contain more than one 'chunk'
1147 delimiter, we behave correctly.
1148 (url-http-wait-for-headers-change-function): Make sure that we
1149 pass no-initial-crlf to
1150 url-http-chunked-encoding-after-change-function when passing
1151 initial data to the decoder.
1152 (url-http-generic-filter): url-http-debug statement so we can tell
1153 when/where our after-change-functions are being called.
1154
11552001-10-11 Dave Love <fx@gnu.org>
1156
1157 * lisp/url-handlers.el: Doc fixes.
1158 (string-match): Use (featurep 'xemacs).
1159
1160 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
1161
1162 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
1163
1164 * lisp/url-vars.el (url-running-xemacs): Delete.
1165 (url-gateway-unplugged): New variable.
1166
1167 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
1168 Comment out OS/2 stuff.
1169
11702001-10-05 Dave Love <fx@gnu.org>
1171
1172 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
1173 without confirmation.
1174
11752001-10-02 Dave Love <fx@gnu.org>
1176
1177 * lisp/url-http.el (url-http-create-request): Check cache for
1178 proxy-obj, if defined, rather than url.
1179 (url-http): Use dolist, not mapc (runtime cl dependency).
1180
1181 * lisp/url-methods.el: Maybe require cl at runtime.
4dfde3dd
SM
1182 (url-scheme-register-proxy): Fix fetching from environment.
1183 Don't concat a number.
10a6e6ba
SM
1184
11852001-10-01 Dave Love <fx@gnu.org>
1186
1187 * lisp/url-parse.el: Use modern backquote syntax.
1188
1189 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
1190 (url-mail-command): Prefer compose-mail.
1191 (tcp-binary-process-input-services): Comment out.
1192 (url-working-buffer): New constant.
1193
1194 * lisp/url-util.el (url-extract-mime-headers): New function.
1195
1196 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
1197 User-Agent.
1198
11992001-09-20 Dave Love <fx@gnu.org>
1200
4dfde3dd 1201 * lisp/url-http.el (url-http-create-request): Don't concat a number.
10a6e6ba
SM
1202
12032001-06-05 Dave Love <fx@gnu.org>
1204
1205 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
4dfde3dd 1206 tcp-binary-process-input-services. Remove function wrapper for lambda.
10a6e6ba
SM
1207 (url-retrieve): Barf with sensible message if url-type is null.
1208
1209 * lisp/url-http.el (url-http): Don't try to set process
1210 coding-system here -- done in url-gw.
1211
1212 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
1213 (url-open-stream): Bind coding-system-for{read,write} when setting
1214 up the connexion. Don't call url-gw-inhibit-code-conversion.
1215
4dfde3dd
SM
12162001-05-24 William M. Perry <wmperry@gnu.org>
1217
1218 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
1219 in url-retrieve-synchronously.
1220
10a6e6ba
SM
12212001-05-23 William M. Perry <wmperry@gnu.org>
1222
1223 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
1224 accept-process-output. This is evidently causing hangs in Emacs
1225 21 when viewing complex pages with images or stylesheets.
1226 www.yahoo.com is now viewable.
1227
1228 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
1229 (mule-inhibit-code-conversion) and just have a local function that
1230 does this minimal cruft.
1231 (url-gw-inhibit-code-conversion): New function to turn off code
1232 conversion in a process.
1233
12342001-05-22 William M. Perry <wmperry@gnu.org>
1235
1236 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
1237 that we can allow multiple asynch retrievals to happen at once.
1238 (url-retrieve-synchronously): Use a much smaller timeout when
1239 doing the accept-process-output. This gets rid of the long delays
1240 if you are on a fast net connection and retrieve small documents
1241 that finish asynchronously before the first accept-process-output
1242 can be run. All hail broadband and 100Mb in the house!
4dfde3dd 1243 (url-retrieve-synchronously): Add documentation for this function.
10a6e6ba
SM
1244 (url-retrieve): Ditto.
1245 (url-mm-url): Ditto.
1246
1247 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
1248 documentation strings. Ok, so I'm anal.
1249
1250 * lisp/url-methods.el (url-scheme-methods): Add default methods
1251 for file-directory-p and file-truename.
1252
12532001-05-22 Dave Love <fx@gnu.org>
1254
1255 * lisp/url-auth.el (url-warn): Autoload.
1256
1257 * lisp/url-proxy.el (url-warn): Autoload.
1258
1259 * lisp/url-nfs.el: Fix `file-truname' typo.
1260
1261 * lisp/url-news.el: Require cl when compiling.
1ac3c910 1262 (url-warn, gnus-group-read-ephemeral-group): Autoload.
4dfde3dd 1263 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
10a6e6ba
SM
1264 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
1265
1266 * lisp/url-util.el (mule-decode-string): Don't autoload.
1267 (url-hexify-string): Just barf on multibyte characters.
1268 (url-generate-unique-filename): New function.
1269
1270 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
1271 not mm-generate-unique-filename.
1272
1273 * lisp/url-http.el: Declare things special in various places.
1274 (url-http-activate-callback): Don't set
1275 url-http-real-after-change-function.
1276
12772001-05-22 William M. Perry <wmperry@gnu.org>
1278
1279 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
1280 control whether we try to do keep-alives for our connections.
1281 (url-http-version): New variable to control whether we advertise
1282 ourselves as an HTTP/1.1 client or not. This can be useful for
1283 avoiding chunked encoding, and other 1.1 features we may not have
1284 fully implemented yet.
1285 (url-http-create-request): Honor the new variables.
1286
12872001-05-21 Dave Love <fx@gnu.org>
1288
1289 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
1290 in XEmacs.
1291 (url-mime-charset-string): Don't reverse the list before sorting.
1292
12932001-05-17 William M. Perry <wmperry@gnu.org>
1294
1295 * lisp/url-http.el (url-http-generic-filter): Avoid using
1296 after-change-functions natively. There are just too many ways
1297 that this screws up in Emacs 21. Use a filter function on the
1298 process instead, and call the hook on
1299 url-http-after-change-function manually. [Actually, it will work
1300 in Emacs 21, but one problem that has been fixed in Emacs 21
1301 exists in Emacs 20. -- fx]
1302
1303 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
1304 does not exist on older versions of Emacs, or any version of
1305 XEmacs. Do not call it unless it is bound.
1306
13072001-05-17 Dave Love <fx@gnu.org>
1308
1309 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
1310
13112001-05-16 Dave Love <fx@gnu.org>
1312
1313 * lisp/url-vars.el: Doc fixes. Require mm-util.
1314 (url-mime-charset-string): New variable.
1315
1316 * lisp/url-http.el: Doc fixes.
1317 (url-http-create-request): Rearrange how we assemble the request.
1318 Avoid generating bogus requests with an empty real-fname.
4dfde3dd 1319 (url-http-handle-authentication): Declare status and success special.
10a6e6ba
SM
1320 (url-http): Call mm-disable-multibyte. Set process buffer's
1321 coding systems to binary.
1322
1323 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
1324
4dfde3dd 1325 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
10a6e6ba 1326 (url-file-find-possibly-compressed-file): Doc fix.
4dfde3dd 1327 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
10a6e6ba
SM
1328
1329 * lisp/url-cache.el: Don't require mule-sysdp.
1330 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
1331
1332 * lisp/url.el: Don't require mule-sysdp.
1333 (url-retrieve): Only set text properties if url is a string.
1334
13352001-05-14 Dave Love <fx@gnu.org>
1336
4dfde3dd
SM
1337 * lisp/url-http.el (url-http-create-request):
1338 Declare proxy-object, proxy-info special.
10a6e6ba
SM
1339 (url-http-handle-authentication): Declare success special.
1340
13412001-05-12 Dave Love <fx@gnu.org>
1342
1343 * lisp/url-http.el: Revert last change.
1344
13452001-05-10 Dave Love <fx@gnu.org>
1346
4dfde3dd
SM
1347 * lisp/url-http.el (url-http-generic-after-change-function):
1348 Make it permanent-local.
10a6e6ba
SM
1349
13502001-05-05 Dave Love <fx@gnu.org>
1351
1352 * lisp/url-http.el: Autoload some functions.
1353 (cl): Require when compiling.
1354 (url-http-extra-headers): Defvar when compiling.
1355 (url-http): Treat after-change-functions as a local hook.
1356
1357 * lisp/url-history.el (url-parse): Require.
1358 (url-do-setup): Autoload.
1359
1360 * lisp/url-gw.el: Require url-vars. Autoload some functions.
1361
1362 * lisp/url-file.el: Require mailcap. Require cl when compiling.
1363 Use (featurep 'xemacs).
1364 (url-file-build-filename): Bind pos-index.
1365 (url-file): Call url-find-file-dired, not url-dired-find-file.
1366
4dfde3dd 1367 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
10a6e6ba
SM
1368 (url-dired-minor-mode-map): Use (featurep 'xemacs).
1369 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
4dfde3dd 1370 (url-find-file-dired): Rename from one version of url-dired-find-file.
10a6e6ba
SM
1371
1372 * lisp/url-cid.el: Don't require widget. Require mm-decode
1373 unconditionally.
1374
1375 * lisp/url-util.el: Autoload mule-decode-string,
1376 timezone-parse-date, timezone-make-date-arpa-standard.
1377 (url-unreserved-chars): Fix list per RFC 2396.
1378 (url-hexify-string): Maybe string-make-unibyte.
1379
1380 * lisp/url-news.el: Require nntp.
1381
1382 * lisp/url-imap.el: Require cl when compiling. Require nnimap
1383 unconditionally.
1384
13852001-05-04 Dave Love <fx@gnu.org>
1386
1387 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
1388 not non-existent mailcap-generate-unique-filename.
1389
4dfde3dd 1390 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
10a6e6ba 1391
4dfde3dd
SM
1392 * lisp/url-parse.el: Require url-vars.
1393 Autoload url-scheme-get-property.
10a6e6ba
SM
1394
1395 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
1396 with featurep.
1397
1398 * lisp/url-mailto.el: Require cl when compiling.
1399
4dfde3dd
SM
1400 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
1401 Call url-parse-args, not url-util-parse-args.
10a6e6ba
SM
1402
1403 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
1404
14052001-04-09 Dave Love <fx@gnu.org>
1406
1407 * lisp/mule-sysdp.el (mule-detect-coding-version)
1408 (mule-code-convert-region, mule-inhibit-code-conversion)
1409 (mule-write-region-no-coding-system, mule-encode-string)
1410 (mule-decode-string, mule-truncate-string)
1411 (mule-find-charset-region, mule-coding-system-name)
1412 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
1413 [There must be a better way.]
1414 (mule-coding-system-p, string-width): Use defalias.
1415
14162001-01-03 Sam Steingold <sds@gnu.org>
1417
1418 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1419 set `url-http-end-of-headers' to 0 for HTTP 0.9
1420
14212001-01-02 Sam Steingold <sds@gnu.org>
1422
1423 * lisp/url-auth.el (provide): `url-auth', not `urlauth'
1424
14252000-12-22 Dave Love <fx@gnu.org>
1426
1427 * lisp/url-history.el (url): Don't require (to avoid recursion).
1428 (cl): Require when compiling.
1429
1430 * lisp/url-http.el (url-auth): Require.
1431 (url-http-handle-authentication): Fix typo.
1432
1433 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
1434
14352000-12-20 Dave Love <fx@gnu.org>
1436
1437 * lisp/url.el: Require mm-decode, mm-view when compiling.
1438 <not (fboundp 'puthash)>: Define puthash and
1439 autoload other has functions rather than using cl-...hash.
1440 (url-warn): Define.
1441
4dfde3dd
SM
1442 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
1443 Avoid cl-...hash functions.
10a6e6ba
SM
1444
1445 * lisp/url-history.el: Avoid cl-...hash functions.
1446 (url): Require.
1447
1ac3c910 1448 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
10a6e6ba
SM
1449
14502000-10-03 William M. Perry <wmperry@aventail.com>
1451
4dfde3dd 1452 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
10a6e6ba
SM
1453 getting set to nil due to bad string matching. Subsequent matches
1454 would then choke because we passed string-match a nil.
1455
1456 * lisp/url-http.el (url-http-parse-headers): Need to make the
1457 connection as 'free' when we get a 304 response (found in cache),
1458 or when a keep-alive conneection timed out, it would re-parse the
1459 headers and dispatch to the callback again. Eek.
1460
14612000-10-02 William M. Perry <wmperry@aventail.com>
1462
1463 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
4dfde3dd 1464 implement chunked transfer-coding.
10a6e6ba
SM
1465 (url-http-create-request): We can now advertise ourselves as a 1.1
1466 compliant browser!
1467
14682000-07-28 Sam Steingold <sds@gnu.org>
1469
1470 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
1471 `cbargs' are optional args (for calling from w3).
4dfde3dd 1472 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
10a6e6ba
SM
1473 with `string-match' and `protocol' with `scheme'.
1474
14752000-07-18 Sam Steingold <sds@gnu.org>
1476
4dfde3dd
SM
1477 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
1478 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
10a6e6ba
SM
1479
14802000-07-10 William M. Perry <wmperry@aventail.com>
1481
1482 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
1483 mule, and the character requested is > 255, then return "~"
1484 instead of letting whoever call us signal an error when they try
1485 to insert the character.
1486 (mule-make-iso-character): Also wrap the whole thing in a
4dfde3dd 1487 condition case and return "~" on error, in case make-char bombs on us.
10a6e6ba 1488
4dfde3dd 1489 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
10a6e6ba
SM
1490 for cid parts.
1491
1492 * lisp/url-util.el (url-display-percentage): New routine that uses
1493 the progress bar under XEmacs if available. Looks very sexy under
1494 XEmacs/GTK hacked to use the GNOME statusbar.
1495
1496 * lisp/url-http.el
1497 (url-http-content-length-after-change-function): Use new function
1498 url-display-percentage instead of url-lazy-message.
1499
15002000-01-27 William M. Perry <wmperry@aventail.com>
1501
1502 * lisp/url-file.el (url-file-build-filename): Work around for
4dfde3dd 1503 differences in ange-ftp / efs handling of port numbers other than 21.
10a6e6ba
SM
1504
15051999-12-24 William M. Perry <wmperry@aventail.com>
1506
1507 * lisp/url-irc.el: Added pointer to draft specification for the
1508 IRC URL so people don't think I'm crazy.
1509
1510 * configure.in: Checks to make sure that Gnus was found, since we
4dfde3dd 1511 HAVE to have it now. Removed conditional compilation of url-cid.el
10a6e6ba 1512
1ac3c910 15131999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
10a6e6ba
SM
1514
1515 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
1516 () to have periods at the end of the chunk.
1517
15181999-12-14 William M. Perry <wmperry@aventail.com>
1519
4dfde3dd 1520 * lisp/url-misc.el (url-man): Implement `man' URL types.
10a6e6ba
SM
1521 (url-info): Autoload.
1522 (url-man): Ditto.
1523 (url-rlogin): Ditto.
1524 (url-telnet): Ditto.
1525 (url-tn3270): Ditto.
1526 (url-generic-emulator-loader): Ditto.
1527
1528 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
1529 to wrap arbitrary `http' methods with the appropriate magic to
1530 turn SSL on.
1531 (file-exists-p): Use it.
1532 (file-readable-p): Use it.
1533 (file-attributes): Use it.
1534
1535 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
1536 server spec for Gnus, make sure we set
1537 nntp-open-connection-function directly, so that other news-related
1538 functions above us can set it.
1539 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
1540 (url-nntp): Autoload.
1541 (url-snews): Ditto.
1542 (url-news): Ditto.
1543
15441999-12-12 William M. Perry <wmperry@aventail.com>
1545
1546 * lisp/url-http.el (url-http-parse-response): New function to
1547 parse just the HTTP response code out of the buffer, without
1548 taking any other actions.
1549 (url-http-wait-for-headers-change-function): Use it here when we
1550 know we have an HTTP/1.x response.
1551 (url-http-wait-for-headers-change-function): Special case a
1552 response code of '304' or there could be some delays waiting for
1553 keep-alives to time out on cached documents with no known
1554 content-length on the server.
1555
15561999-12-11 William M. Perry <wmperry@aventail.com>
1557
1558 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
1559 the Makefile does that for us. We just need to provide what files
1560 to load/functions to run.
1561
1562 * lisp/url-imap.el (url-imap-open-host): Need to bind
1563 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
4dfde3dd 1564 the current buffer as the IMAP server buffer, which fails miserably.
10a6e6ba 1565
1ac3c910 15661999-12-11 Simon Josefsson <jas@pdc.kth.se>
10a6e6ba
SM
1567
1568 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
1569
15701999-12-11 William M. Perry <wmperry@aventail.com>
1571
1572 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
1573 ange-ftp vs. efs calling semantics consistent, so that if someone
1574 has NEITHER of them loaded, everything should still work.
1575
1576 * lisp/url-handlers.el (url-copy-file): Autoload.
1577 (url-file-local-copy): Ditto.
1578 (url-insert-file-contents): Ditto.
1579 (url-setup-file-name-handlers): Ditto.
1580
15811999-12-10 William M. Perry <wmperry@aventail.com>
1582
1583 * lisp/url-http.el (mail-parse): Since we use functions from here,
1584 we should require it, eh?
1585
1ac3c910 15861999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
10a6e6ba
SM
1587
1588 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
1589 if nil.
1590 (url-cookie-generate-header-lines): Use it.
1591
15921999-12-06 William M. Perry <wmperry@aventail.com>
1593
1594 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
1595 4.1 gracefully
1596
4dfde3dd
SM
1597 * lisp/url-news.el: Reimplemented news and nntp URL support.
1598 No longer bothers to check for outdated Gnus versions, since this
10a6e6ba
SM
1599 will not work without them anyway.
1600
16011999-12-05 Dave Love <fx@gnu.org>
1602
1603 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
1604 lisp/url.el:
1605 Require url-parse.
1606
16071999-12-05 William M. Perry <wmperry@aventail.com>
1608
1609 * lisp/url-http.el (url-http-find-free-connection): Spit out a
1610 message when we have to contact a host so the user always gets
1611 at least some feedback.
1612
1613 * lisp/url-expand.el (url-expander-remove-relative-links): Moved and
1614 renamed function.
1615 (url-default-expander): Use it.
1616
4dfde3dd
SM
1617 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
1618 as well as efs.
1619 (url-file): Add default content-type of application/octet-stream if
1620 none known.
1621 (url-file): Correct bad call to url-host-is-local-p
10a6e6ba
SM
1622
1623 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
1624 like buffer-substring with nil arguments.
1625 (url-copy-file): Use mm-destroy-parts instead of just killing
1626 the buffer. Use defined interfaces when available!
1627 (url-insert-file-contents): Ditto.
1628
1629 * lisp/url-http.el (url-http-create-request): Lots of changes to
1630 get proxying working.
1631
1632 * lisp/url-methods.el (url-scheme-register-proxy): New function to
1633 find and register a proxy for a specific scheme.
1634 (url-scheme-get-property): Use it when we load a URL scheme for
1635 the first time.
1636
1637 * lisp/url-util.el (url-get-url-at-point): Re-integrated
1638
16391999-12-04 William M. Perry <wmperry@aventail.com>
1640
1641 * lisp/url-file.el (url-file): Signal an error if
1642 url-file-build-filename could not find the filename.
1643
16441999-12-01 William M. Perry <wmperry@aventail.com>
1645
1646 * lisp/url.el (url-retrieve): Use url-history-update-url instead
1647 of manipulating the hash table directly.
1648
1649 * lisp/url-history.el (url-completion-function): New function to
1650 use for reading a URL with completion.
1651 (url-history-update-url): New function to hide the hashtable
1652 implementation from people inserting things into the history.
1653
16541999-11-30 William M. Perry <wmperry@aventail.com>
1655
1656 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
1657 working.
1658
1659 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
4dfde3dd 1660 url-parse-args, which had changed the type of arguments it expects.
10a6e6ba
SM
1661
1662 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
1663 (url-copy-file): Ditto.
1664
1665 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
1666 just killing the buffer. Use defined interfaces when available!
1667
1668 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
1669 AC_FD_CC so they show up in config.log
1670 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
1671 this always return 't' instead of 'yes' on successfully finding
1672 the library.
1673
4dfde3dd 1674 * lisp/url-http.el (url-http-parse-headers): Add some
10a6e6ba
SM
1675 DAV-specific error codes.
1676
4dfde3dd 1677 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
10a6e6ba
SM
1678 (url-retrieve-synchronously): Duh, make this function actually
1679 work again. Numerous problems with it, including variable name
1680 collisions - I love dynamically scoped lisps!
1681
1682 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
4dfde3dd 1683 wrappers onto the appropriate file-based URLs for file-name-handlers.
10a6e6ba
SM
1684
1685 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it
1686 might get messy with file-name-handlers and things.
1687
1688 * lisp/url-http.el (url-http-clean-headers): Fix problem when
1689 using 'HEAD' requests. Thou shalt not change the length of the
1690 region during an after-change-function.
1691
1692 * lisp/url-methods.el (url-scheme-methods): New variable that
4dfde3dd 1693 holds a list of the methods/variables we look for in a URL scheme.
10a6e6ba
SM
1694 (url-scheme-get-property): Use it.
1695
16961999-11-29 William M. Perry <wmperry@aventail.com>
1697
4dfde3dd 1698 * lisp/url-http.el (url-http-file-attributes): Reimplement.
10a6e6ba
SM
1699 (url-http-file-exists-p): Ditto.
1700
1701 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
1702
1703 * lisp/url-file.el (url-file-create-wrapper): New macro to create
1704 file-name-handler stubs for all the FTP/FILE stuff.
1705
1706 * lisp/url-handlers.el: New file to handle file-name-handler-alist
1707 cruft. Generic interface on top of functions that each URL
1708 loader provides, if capable.
1709
17101999-11-27 William M. Perry <wmperry@aventail.com>
1711
1712 * lisp/url-https.el: Implemented HTTPS support.
1713
17141999-11-26 William M. Perry <wmperry@aventail.com>
1715
1716 * url-privacy.el (url-setup-privacy-info): Don't rely on
1717 device-type being defined. Not going to bother redistributing
1718 devices.el for just one function.
1719
1720 * url-methods.el (url-scheme-get-property): Emacs does not have
1721 the 3rd-argument to plist-get to specify the default. *sigh*
1722
4dfde3dd 1723 * url-dired.el (add-minor-mode): Add definition for Emacs.
10a6e6ba 1724
4dfde3dd
SM
1725 * url-http.el (url-http-generic-after-change-function):
1726 New function, since Emacs does not allow you to change the
10a6e6ba
SM
1727 after-change-functions variable from within a function run by
1728 said hook. This just hands it off to the REAL function.
1729 Side-effect is that this now works on Emacs at all. :)
1730
1731 * Initial checkin of rewritten URL library.
1732
1733Local variables:
1734coding: utf-8
33462dfa 1735add-log-time-zone-rule: t
10a6e6ba 1736End:
cfceee1e
MB
1737
1738;; arch-tag: ac117078-3091-4533-be93-098162ac2926