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