]> code.delx.au - gnu-emacs/blob - lisp/url/ChangeLog
(url-cookie-save-interval): Simplify.
[gnu-emacs] / lisp / url / ChangeLog
1 2005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
2
3 * url-cookie.el (url-cookie-save-interval): Simplify.
4 (url-cookie-setup-save-timer): Simplify.
5
6 2005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
7
8 * url-history.el (url-history-list): Var deleted.
9 (url-history-save-interval): Simplify.
10 (url-history-setup-save-timer): Simplify.
11
12 2005-12-01 Kim F. Storm <storm@cua.dk>
13
14 * url-history.el (url-history-track): Fix last change.
15
16 2005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
17
18 * url-history.el (url-history-track):
19 Call url-history-setup-save-timer in :set function.
20 :type allows three alternatives.
21 (url-history-setup-save-timer): Test url-history-track.
22 * url.el (url-retrieve): Test url-history-track.
23
24 2005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * url-http.el: Use with-current-buffer.
27 (url-http-target-url): Rename from url-http-cookies-sources.
28 (url-http-parse-headers): Use it.
29 (url-http-handle-authentication): Use subst-char-in-string.
30
31 2005-11-16 Juergen Hoetzel <emacs@hoetzel.info> (tiny change)
32
33 * url-handlers.el (url-insert-file-contents): Use the charset info
34 provided by the HTTP server, if any.
35
36 2005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
37
38 * url-nfs.el (top level):
39 * url-handlers.el (directory-files):
40 * url-file.el (top level):
41 * url-dired.el (url-dired-minor-mode-map):
42 * url-http.el (url-http-chunked-encoding-after-change-function):
43 Remove XEmacs support.
44
45 2005-10-15 Richard M. Stallman <rms@gnu.org>
46
47 * url.el: Don't try to autoload hash table functions.
48
49 2005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * url-http.el (url-http-create-request): Avoid incorrect implicit
52 unibyte->multibyte conversion.
53
54 2005-09-17 Richard M. Stallman <rms@gnu.org>
55
56 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
57
58 * url-mailto.el (url-mailto): Special case `mail'.
59 Don't test fboundp of `compose-mail'.
60
61 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
62
63 * url-mailto.el (url-mailto): Delete mail buffer after sending
64 autogenerated mail.
65 Call `compose-mail with `new' argument if possible.
66
67 2005-09-13 Chong Yidong <cyd@stupidchicken.com>
68
69 * url-mailto.el (url-mailto): Always use a new mail buffer.
70
71 2005-09-01 Chong Yidong <cyd@stupidchicken.com>
72
73 * url-util.el (url-parse-query-string): New optional argument
74 allow-newlines allows decoding of newlines.
75
76 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
77 Don't lose original "to" value when there is a "to" header.
78 Remove carriage return characters in message body.
79
80 2005-08-24 Juanma Barranquero <lekktu@gmail.com>
81
82 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
83 * url-http.el (url-http-cookies-sources): Defvar at compile time.
84
85 2005-07-15 Richard M. Stallman <rms@gnu.org>
86
87 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
88 when calling url-retrieve, to indicate a redirect.
89
90 * url.el (url-retrieve): The callback function can get an additional
91 keyword arg pair.
92
93 2005-07-04 Lute Kamstra <lute@gnu.org>
94
95 Update FSF's address in GPL notices.
96
97 2005-07-04 Juanma Barranquero <lekktu@gmail.com>
98
99 * url-history.el (url-history-track): Doc fix.
100 (url-history): Finish `defgroup' description with period.
101
102 * url-cookie.el (url-cookie):
103 * url-gw.el (url-gateway):
104 * url-news.el (url-news):
105 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
106 Finish `defgroup' description with period.
107
108 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
109
110 * url-http.el (url-http-create-request): Call url-recreate-url
111 in proxy case.
112
113 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
114
115 * url-http.el (url-http-create-request): When computing real-fname,
116 call url-filename in both cases.
117
118 2005-06-27 Richard M. Stallman <rms@gnu.org>
119
120 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
121 (url-cookie-retrieve): Likewise.
122 (url-cookie-generate-header-lines): Likewise.
123 (url-cookie-handle-set-cookie): Likewise.
124 (url-cookie-create): Expect :localpart instead of :path.
125 (url-cookie-localpart): Renamed from url-cookie-path.
126 (url-cookie-set-localpart): Renamed from url-cookie-set-path.
127 (url-cookie-file): Doc fix.
128 (url-cookie-p): Add doc string.
129
130 2005-06-23 Richard M. Stallman <rms@gnu.org>
131
132 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
133
134 2005-06-21 Juanma Barranquero <lekktu@gmail.com>
135
136 * url-gw.el (url-open-stream):
137 * url-vars.el (url-gateway-unplugged): Fix spellings.
138
139 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
140
141 * url-history.el (url-completion-function): Follow error
142 conventions.
143
144 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
147
148 2005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
149
150 * url-dav.el: Remove most autoload cookies.
151 Don't hook into the url-file-handler since it currently breaks all
152 non-HTTP URLs.
153
154 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
155
156 * url.el (url-retrieve-synchronously): Don't exit precipitously when
157 fetching a file via ange-ftp.
158
159 2005-06-10 Juanma Barranquero <lekktu@gmail.com>
160
161 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
162
163 2005-05-19 Juanma Barranquero <lekktu@gmail.com>
164
165 * url-cookie.el (url-cookie-multiple-line):
166 Specify group and type in defcustom.
167
168 2005-05-06 Juanma Barranquero <lekktu@gmail.com>
169
170 * url-auth.el (url-register-auth-scheme):
171 * url-cookie.el (url-cookie-expired-p):
172 * url-dav.el (url-dav-process-date-property)
173 (url-dav-process-boolean-property, url-dav-process-DAV:status):
174 * url-http.el (url-http-chunked-encoding-after-change-function)
175 (url-http-wait-for-headers-change-function):
176 * url-ns.el (isInNet):
177 * url-parse.el (url-generic-parse-url):
178 * url-util.el (url-get-normalized-date): Replace `string-to-int'
179 by `string-to-number'.
180
181 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * url.el (url-retrieve-synchronously): Work around the fact that
184 url-http sometimes doesn't call the callback.
185
186 2005-04-04 Lute Kamstra <lute@gnu.org>
187
188 * url-handlers.el (url-handler-mode): Specify :group.
189
190 2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
191
192 * url-history.el (url-have-visited-url): Don't barf if
193 url-history-hash-table is nil.
194
195 2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
196
197 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
198
199 2005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
200
201 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
202 to nil, like for the 303 response.
203
204 2005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * url.el (url-retrieve-synchronously): Use accept-process-output rather
207 than sit-for.
208
209 2005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
210
211 * url-http.el (url-http-handle-authentication):
212 Don't kill the current buffer.
213
214 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * url-handlers.el: Don't `require' everything eagerly.
217
218 2004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
219
220 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
221 to `url-http-cookies-sources' so that cookies are attributed to
222 proper domain.
223 (url-http): Make local variable `url-http-cookies-sources'.
224
225 2004-11-28 Andreas Schwab <schwab@suse.de>
226
227 * url-http.el (url-http-create-request): Don't add newline after
228 the request data.
229
230 2004-11-20 Masatake YAMATO <jet@gyve.org>
231
232 * url.el (url-mm-callback): Delay the invocation
233 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
234 when the buffer is killed.
235
236 2004-11-12 Masatake YAMATO <jet@gyve.org>
237
238 * url-mailto.el (url-mailto): Fix a typo in the comment.
239
240 2004-11-02 Masatake YAMATO <jet@gyve.org>
241
242 * url-imap.el (url-imap-open-host): Don't use
243 `string-to-int'. The port returned by `url-port'
244 is expected to be an integer.
245
246 * url-irc.el (url-irc): Ditto.
247
248 * url-news.el (url-news-open-host): Ditto.
249
250 * url-nfs.el (url-nfs-build-filename): Ditto.
251
252 2004-10-20 John Paul Wallington <jpw@gnu.org>
253
254 * url-gw.el (url-gateway-nslookup-host):
255 Use `set-process-query-on-exit-flag'.
256
257 2004-10-10 Lars Hansen <larsh@math.ku.dk>
258
259 * url-auth.el: Update header and footer.
260
261 * url-cache.el: Update header and footer.
262
263 * url-cid.el: Update header and footer.
264
265 * url-dired.el: Update header and footer.
266
267 * url-expand.el: Update header and footer.
268
269 * url-ftp.el: Update header and footer.
270
271 * url-gw.el: Update header and footer.
272
273 * url-imap.el: Update header and footer.
274
275 * url-irc.el: Update header and footer.
276
277 * url-misc.el: Update header and footer.
278
279 * url-news.el: Update header and footer.
280
281 * url-ns.el: Update header and footer.
282
283 * url-privacy.el: Update header and footer.
284
285 * url-proxy.el: Update header and footer.
286
287 * url-vars.el: Update header.
288
289 2004-10-16 Richard M. Stallman <rms@gnu.org>
290
291 * url.el (url-do-setup): Don't set url-passwd-entry-func.
292
293 * url-vars.el (url-passwd-entry-func): Var deleted.
294 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
295 (url-weekday-alist): Rename from weekday-alist.
296 (url-monthabbrev-alist): Rename from monthabbrev-alist.
297 (url-vars-unload-hook): Initialize hook var to hold the function.
298
299 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
300 url-monthabbrev-alist.
301
302 * url-misc.el: Load cl at compile time.
303
304 * url-mailto.el: Don't load cl.
305 (url-mailto): Fix call to `push'.
306
307 * url-gw.el (url-open-telnet): Use read-passwd.
308
309 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
310
311 2004-10-12 Simon Josefsson <jas@extundo.com>
312
313 * url-vars.el (url-gateway-method): Add new method `tls'.
314
315 * url-news.el (url-snews): Use nntp-open-tls-stream if
316 url-gateway-method is tls.
317
318 * url-ldap.el (url-ldap-certificate-formatter):
319 Use tls-certificate-information if ssl.el is not available.
320
321 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
322 is not available.
323
324 * url-gw.el (url-open-stream): Support tls url-gateway-method.
325 (url-open-stream): Likewise.
326
327 2004-10-10 Lars Hansen <larsh@math.ku.dk>
328
329 * url-auth.el: Fix copyright notice.
330
331 * url-cache.el: Fix copyright notice.
332
333 * url-cookie.el: Fix copyright notice.
334
335 * url-dired.el: Fix copyright notice.
336
337 * url-file.el: Fix copyright notice.
338
339 * url-ftp.el: Fix copyright notice.
340
341 * url-handlers.el: Fix copyright notice.
342
343 * url-history.el: Fix copyright notice.
344
345 * url-irc.el: Fix copyright notice.
346
347 * url-mailto.el: Fix copyright notice.
348
349 * url-methods.el: Fix copyright notice.
350
351 * url-misc.el: Fix copyright notice.
352
353 * url-news.el: Fix copyright notice.
354
355 * url-nfs.el: Fix copyright notice.
356
357 * url-parse.el: Fix copyright notice.
358
359 * url-privacy.el: Fix copyright notice.
360
361 * url-vars.el: Fix copyright notice.
362
363 * url.el: Fix copyright notice.
364
365 * url-util.el: Fix copyright notice.
366
367 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
370 encoding, not the buffer-file-name (which might not even exist).
371
372 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * url-handlers.el (url-insert-file-contents): Decode contents.
375
376 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * url-util.el (url-debug): Use with-current-buffer.
379
380 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
381 (url-nfs-create-wrapper): Use new backquote syntax.
382
383 * url-https.el (url-https-file-attributes): Add id-format param.
384
385 * url-http.el (url-http-head-file-attributes)
386 (url-http-file-attributes): Add id-format parameter.
387
388 * url-handlers.el: Use new find-file-hook.
389 (url-file-attributes): Add id-format parameter.
390
391 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
392 (url-file-file-attributes): Add id-format parameter.
393
394 * url-dav.el: Use with-current-buffer.
395 (url-dav-process-response): Fix regexps and spurious quote.
396 (url-dav-file-attributes): Add id-format param.
397
398 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * url.el (url-retrieve): Use with-current-buffer.
401
402 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
403 Remove unused var `version'.
404
405 * url-handlers.el (url-handler-mode): New minor mode.
406 (url-setup-file-name-handlers): Remove.
407
408 2004-04-12 John Paul Wallington <jpw@gnu.org>
409
410 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
411 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
412
413 2004-04-11 Dave Love <fx@gnu.org>
414
415 * url-mailto.el (url-mailto):
416 * url-history.el (url-history-setup-save-timer):
417 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
418
419 * url-file.el (url-file-build-filename): Don't use
420 directory-sep-char.
421
422 * url-auth.el (url-register-auth-scheme): Fix `format' call.
423
424 * url-about.el (url-scheme-registry): Defvar.
425 (url-about): Use text/plain.
426
427 * url-vars.el (cl): Don't require.
428 (url): Add :version.
429 (url-bug-address): Use bug-gnu-emacs.
430
431 * url-util.el (url-hexify-string): Don't give multibyte error
432 for char <16.
433 (mail-header-extract): Autoload.
434
435 * url-parse.el: Doc fixes.
436
437 * url-ldap.el (ldap): Require.
438 (url-ldap): Fix `format' call.
439 (url-ldap-certificate-formatter): Avoid warning.
440
441 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
442
443 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
444 (url-intersection): New.
445 (url-dav-supported-p): Use it.
446 (url-dav-save-resource): Declare url-http-response-status special.
447
448 * url-cache.el (url-util): Require.
449
450 2004-04-10 Miles Bader <miles@gnu.org>
451
452 RCS keyword removal (only non-comment changes are enumerated here):
453
454 * url-vars.el (url-version): Use the constant string "Emacs"
455 instead of calculating something from the RCS `State' keyword
456 [the latter is almost entirely useless anyway].
457
458 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * url-methods.el:
461 * url-parse.el: Don't require url-auto.
462
463 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * url: Imported the URL package from its own CVS repository into Emacs.
466
467 ===========================================================================
468 ===========================================================================
469 Copy of the ChangeLog file from URL's own CVS repository:
470 ===========================================================================
471 ===========================================================================
472
473 2003-07-16 Dave Love <fx@gnu.org>
474
475 * lisp/url.el (url-retrieve-synchronously): Revert last change.
476 Should be revisited.
477
478 2003-06-26 Sam Steingold <sds@gnu.org>
479
480 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
481 method on invalid urls.
482
483 2003-05-29 Dave Love <fx@gnu.org>
484
485 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
486 sit-for. From monnier@gnu.org.
487
488 2002-11-04 Walter C. Pelissero <walter@pelissero.org>
489
490 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
491 port numbers to integers when creating the URL objects for proxies.
492
493 2002-10-29 William M. Perry <wmperry@gnu.org>
494
495 * lisp/url-http.el (url-http-parse-headers): When doing a
496 redirect, some broken software (sourceforge) sends a redirect to
497 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
498 specification). I wish we could deal with such lame software
499 appropriately (spank the authors), but this is the web, so we have
500 to kow-tow to the servers.
501
502 2002-10-27 William M. Perry <wmperry@gnu.org>
503
504 * lisp/url-http.el (url-http-create-request): If we are talking to
505 the default port for a the selected protocol, do NOT send the port
506 in the HOST header. This fixes the login page at sourceforge.
507
508 2002-09-17 William M. Perry <wmperry@gnu.org>
509
510 * lisp/url-http.el (url-http-handle-cookies): New function to deal
511 with cookie headers.
512 (url-http-parse-headers): Call `url-http-handle-cookies' here so
513 that cookie additions and deletions get handled immediately.
514 This is so that sites that set cookies while doing redirects
515 (my.yahoo.com, outlook web access, etc) work. This should also
516 fix sites that delete cookies on invalid access or other error
517 pages the user might not actually see.
518 (url-http-parse-headers): Silently convert non-HEAD and non-GET
519 methods to GET in redirects. Too many web sites do this now, and
520 it is just likely to confuse users.
521
522 2002-05-17 Dave Love <fx@gnu.org>
523
524 * texi/url.txi: Start making it vaguely useful.
525
526 * texi/Makefile.in (install): Cope with Debian install-info.
527 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann).
528
529 2002-04-22 Dave Love <fx@gnu.org>
530
531 * lisp/url-misc.el (man): Autoload to avoid warning.
532 (url-man): Don't require man here.
533 (url-data): Generalize in line with the RFC.
534
535 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
536
537 * lisp/url-vars.el: Doc fixes.
538 (url-mime-charset-string): New function.
539 (url-mime-charset-string): Use it to set the variable.
540 (url-set-mime-charset-string): New function.
541 (set-language-environment-hook): Use it.
542 (url-vars-unload-hook): New function.
543
544 * lisp/url-cookie.el (url-header-comparison): Delete.
545 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
546 (url-cookie-save-interval): Make value agree with doc.
547
548 * lisp/url.el: Doc fixes.
549 (url-mm-callback): Don't call mm-destroy-parts immediately for
550 external viewing -- set up a process sentinel.
551
552 2002-02-02 William M. Perry <wmperry@gnu.org>
553
554 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
555
556 2001-12-12 William M. Perry <wmperry@gnu.org>
557
558 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
559 Monnier to use ` instead of ^ to match the relative link.
560
561 2001-12-10 William M. Perry <wmperry@gnu.org>
562
563 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
564 plist-get (reversed args).
565
566 * lisp/url-file.el (url-file-build-filename): Make sure that we
567 have a parsed URL in this function.
568
569 2002-01-22 Dave Love <fx@gnu.org>
570
571 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
572
573 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
574 Bind coding-system-for-read. Require mm-util.
575
576 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
577
578 * lisp/mule-sysdp.el: Removed (obsolete).
579
580 2001-12-09 William M. Perry <wmperry@gnu.org>
581
582 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
583 remove an arbitrary resource.
584 (url-dav-delete-directory): Use it.
585 (url-dav-delete-file): Ditto.
586 (url-dav-make-directory): New function.
587 (url-dav-rename-file): New function.
588 (url-dav-register-handler): New function to easily register a
589 WebDAV-specific file-name-handler operation.
590 (url-dav-file-name-all-completions, url-dav-file-name-completion):
591 New functions that allow file-name completion for WebDAV resources.
592
593 2001-12-08 William M. Perry <wmperry@gnu.org>
594
595 * lisp/url-dav.el (url-dav-directory-files): New function to
596 mimic `directory-files' for WebDAV.
597 (url-dav-delete-directory): New function to mimic
598 `delete-directory' for WebDAV.
599
600 2001-12-06 William M. Perry <wmperry@gnu.org>
601
602 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
603 DAV:locktoken hrefs into a usable format.
604 (url-dav-process-response): Use an unwind-protect to make sure
605 that we clean up the buffer, even if there is a parsing error.
606 (url-dav-request): New function to act as the main entry point for
607 making DAV requests. Takes care of building the XML document with
608 appropriate namespaces, depth, etc, and parses the results.
609 (url-dav-get-properties): Use new url-dav-request function.
610 This is now just a thin wrapper around that to use PROPFIND and set any
611 extra properties we are looking for.
612 (url-dav-unlock-resource): New function to release a lock given a
613 URL and a lock-token.
614 (url-dav-process-DAV:getlastmodified)
615 (url-dav-process-DAV:creationdate)
616 (url-dav-process-DAV:iscollection)
617 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
618 url-dave-*!
619 (url-dav-active-locks): New function to get a list of all the
620 active locks for a resource.
621 (url-dav-save-resource): New function to actually save a resource
622 using the PUT method. I can now successfully save files to an
623 HTTP server with some manual steps from a lisp-interaction buffer.
624
625 * lisp/url-http.el (url-http-wait-for-headers-change-function):
626 Special case the 204/205 response codes. Some servers do not
627 send back a 0 content-length for these, and we would hang.
628 (url-http-parse-headers): Mark 204/205 response codes as
629 'successful' so that the callbacks get activated.
630 (url-http-options): Fix unbound variable usage.
631
632 * lisp/url-dav.el: Added full copyright information.
633 (url-dav-process-response): Make sure that we create a DAV:status
634 property when parsing a singleton response.
635 (url-dav-file-attributes): If the properties returned did not have
636 a succesful HTTP response code, then ignore them and use the
637 HEAD-based attributes.
638
639 * lisp/vc-dav.el: Added full copyright information.
640
641 * lisp/url-dav.el (url-dav-process-supportedlock-property):
642 Deal with text nodes in DAV:supportedlock nodes.
643 (url-dav-file-attributes-mode-string): This now gets the entire
644 property list instead of just the DAV:supportedlock node.
645 (url-dav-file-attributes): Make sure to pass the whole list in.
646 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
647 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
648 'executable' bit to set the 'x' mode. See `mod_dav's custom
649 properties' at http://www.webdav.org/mod_dav/ for more details.
650 (url-dav-find-parser): New function to find the proper parser for
651 a node-type. Looks for
652 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
653 back to using url-dav-node-text. Caches the results on the nodes
654 symbol name.
655 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
656 (url-dav-process-*): Rename most of the handlers and made them
657 use url-dav-dispatch-node where appropriate.
658 (url-dav-process-DAV:prop): Instead of using the dav-data-type
659 property to dispatch the node, now uses dav-dispatch-node so that
660 it is easy to add parsers for special nodes.
661 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
662 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
663 (url-dav-process-DAV:getcontentlength)
664 (url-dave-process-DAV:getlastmodified)
665 (url-dave-process-DAV:creationdate)
666 (url-dave-process-DAV:iscollection)
667 (url-dave-process-DAV:ishidden): Aliases for the generic
668 url-dav-process-foo-property routines.
669 (url-dav-process-DAV:activelock)
670 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
671 DAV:lockdiscovery nodes, so that we can find out who has a
672 resource locked and properly parse the reponse to a LOCK request.
673 (url-dav-process-DAV:status): Now parses ou the numeric status
674 from the HTTP response line.
675 (url-dav-process-response): New function to handle all the
676 parsing of an XML response from WebDAV. This handles all the
677 logic of checking the response content-type to make sure it is
678 XML, parses the tree, and interprets the tree.
679 (url-dav-process-response): Make sure that all responses look
680 like a DAV:multistatus response, even if we get a singleton
681 response back. This will just make the upper layer logic simpler.
682 (url-dav-get-properties): New optional argument NAMESPACES that
683 specifies what namespaces to use in the XML request.
684 (url-dav-get-properties): Got rid of the D: namespace in
685 requests. It doesn't save that much space. Just use DAV:
686 (url-dav-lock-identifier): New variable that should hold a URI
687 pointing to contact information for the user. This will be used
688 as the contents of the DAV:owner/DAV:href tag to identify the
689 owner of a LOCK when requesting it. This will be shown to other
690 users when the DAV:lockdiscovery property is requested, so make
691 sure you are comfortable with it leaking to the outside world.
692 (url-dav-lock-resource): New function to LOCK a dav resource.
693
694 2001-12-05 William M. Perry <wmperry@gnu.org>
695
696 * lisp/url-dav.el (url-dav-get-properties): New argument
697 ATTRIBUTES that allows you to ask for specific properties instead
698 of getting all properties via DAV:allprop.
699
700 * lisp/url-http.el (url-http-real-basic-auth-storage):
701 New variable for normal HTTP basic authentication.
702 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
703 basic authentication.
704 (url-http-handle-authentication): Follow new semantics for
705 url-basic-auth-storage.
706
707 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
708 this variable. It is now a symbol pointing to where we really
709 want to store the authorization information. This fixes proxy
710 auth and normal basic auth because of some local bindings that were
711 making it impossible to store the credentials in the global binding.
712 (url-basic-auth): Make sure we dereference url-basic-auth-storage
713 everywhere.
714
715 * lisp/url-util.el (url-debug): Add new types 'dav and
716 'retrieval to the customization list.
717
718 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
719 statements.
720
721 * lisp/url-http.el (url-http-head-file-attributes): Rename old
722 url-http-file-attributes so that we can have a smarter one that
723 tries WebDAV first, then HEAD.
724 (url-http-file-attributes): New smart version that tries WebDAV first.
725 (url-http-options): New function that returns information gleaned
726 from an OPTIONS request for a URL. Returns a property list
727 returning the methods supported for the resource, what DAV and
728 DASL levels are supported, p3p information, and whether
729 byte-ranges are supported or not.
730 (url-http-wait-for-headers-change-function): If we got a 0-byte
731 content-length, activate the callback immediately.
732 (url-http-wait-for-headers-change-function): For content-length
733 responses with actual body-data in the chunk we are handling, call
734 url-http-content-length-after-change-function with the remaining
735 data. Otherwise we can deadlock if the headers and the entire
736 body exist arrive in one chunk.
737
738 * lisp/url-dav.el: New file to contain the WebDAV
739 (http://www.webdav.org/) implementation.
740 (url-dav-supported-p): Cheap way to figure out whether we will be
741 able to do DAV at all. We rely on the XML parser expanding
742 namespaces for us, and currently you need a patched version of
743 xml.el to do this. Patch sent to author for consideration.
744 (url-dav-file-attributes): Much more complete version of
745 `file-attributes' using the WebDAV PROPFIND method. Now correctly
746 finds out whether something is a directory (a WebDAV collection),
747 the last modification time, and permissions (based on the
748 DAV:supportedlock information).
749 (url-dav-get-properties): Generic interface to get WebDAV
750 properties for a URL. Can specify an optional `depth' parameter
751 to tell the web server how many directory (collection) levels to
752 recurse when retrieving the property lists. Returns an assoc
753 list keyed off of the resource, the cdr of which is a property list.
754 (url-dav-datatype-attribute): We support the XML-Data note
755 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
756 datatypes of attributes are. Currently only date, dateTime, int,
757 number, float, boolean, and uri are supported.
758
759 2001-12-04 William M. Perry <wmperry@gnu.org>
760
761 * lisp/url-handlers.el (file-name-absolute-p): New hooked
762 version. If the filename matches our regexp, then it is always
763 absolute, so just return `t'.
764 (expand-file-name): New hooked version. If the fragment is an
765 absolute file or URL, then expand it relative to '/'.
766 (url-handler-regexp): New regexp for specific schemes that we
767 want the file-name-handlers to work off of.
768 (url-setup-file-name-handlers): Use it when installing the handlers.
769
770 * lisp/url-http.el (url-http-find-free-connection): Better logging
771 about whether we are reusing an existing connection or not.
772
773 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
774 to string-match instead of match-string (and with reversed
775 arguments even).
776
777 * lisp/url-http.el (url-http-debug): Change to now use the
778 generic url-debug function to do the actual logging. Still a
779 separate function so that we can do our magic on the network
780 connection if the user quits while we are downloading.
781
782 * lisp/url-handlers.el (url-file-handler): Now logs the result of
783 the hooked or real call.
784
785 * lisp/url-util.el (url-debug): New function for generic debug logging.
786
787 2001-11-28 William M. Perry <wmperry@gnu.org>
788
789 * lisp/url-imap.el (url-imap-open-host): Use backquote.
790 (url-imap): Now switches to 'login as the imap authenticator if
791 the URL provides a username and password.
792
793 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
794 push to replace some strange logic in here.
795 (url-run-real-handler): New function to run the real hooks in
796 case we get a false positive or an operation that we do not
797 support. The old way disabled _ALL_ file-name-handlers when
798 we hit something we didn't understand - this disables JUST us.
799 (url-file-handler): Remove the logic about removing the leading
800 '/' off of the first argument... it may not be safe to always
801 assume that the first argument is the one we are acting on -
802 `default' is the second argument for expand-file-name for example.
803 (url-setup-file-name-handlers): Use url-nonrelative-link
804 directly. This means that you must type in the URL directly
805 without prefixing it with a '/'.
806
807 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
808
809 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
810 which activates us (because 'nnml+mail' _is_ a valid scheme name
811 for a URI). We get thoroughly confused and end up returning
812 `nil' when we shouldn't.
813
814 2001-11-26 William M. Perry <wmperry@gnu.org>
815
816 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
817 this so that visiting a URL directly will work.
818 (file-symlink-p): Ditto.
819 (url-insert-file-contents): If `visit' is non-nil then make sure
820 we set buffer-file-name. After these changes you can visit
821 http://www.gnu.org/ directly from the minibuffer.
822 (url-insert-file-contents): When inserting the file contents,
823 use a save-excursion so that we behave just like the original.
824
825 2001-11-25 William M. Perry <wmperry@gnu.org>
826
827 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
828
829 2001-11-24 William M. Perry <wmperry@gnu.org>
830
831 * lisp/url-about.el (url-about): New loader scheme to handle
832 about:foo URLs. Automatically tries to find a `url-about-foo'
833 function to display the actual data.
834 (url-about-protocols): Implement about:protocols
835
836 * lisp/url-http.el (url-http): Make sure that we signal an error
837 when we cannot open a network connection for whatever reason.
838 Before, it would just silently clean up after itself and the user
839 got absolutely no indication that an error had occured. If the
840 error should truly be ignored, the caller should do that for us.
841 (url-http-chunked-encoding-after-change-function): Doh! Need to
842 user marker-position in some log messages now that
843 url-http-chunked-start is a marker.
844
845 2001-11-22 William M. Perry <wmperry@gnu.org>
846
847 * lisp/url-https.el: Fixed definition of url-https - was using the
848 wrong signature. Too much cut & paste.
849 (url-https-create-secure-wrapper): Fix so that url-https works
850 at all. Was not taking a null `method' into account when calling
851 the wrapped function so url-https tried to call url-http-nil. *sigh*
852
853 * lisp/url-http.el
854 (url-http-chunked-encoding-after-change-function): Add some
855 feedback when not debugging about what content-type and chunk # we
856 are reading.
857 (url-http-chunked-encoding-after-change-function): Use a marker
858 for url-http-chunked-start so that we can safely delete the
859 chunk-tokens instead of just marking them as invisible.
860 (url-http-chunked-encoding-after-change-function): Actually delete
861 the chunk-tokens. Now that we are not run from 'real'
862 after-change functions, this is safe, and the right thing to do.
863 Otherwise the HTML parser still saw them and inferred all sorts of
864 bad things about the document (ie: nothing had a title!)
865
866 2001-11-21 William M. Perry <wmperry@gnu.org>
867
868 * lisp/url-http.el (url-http-debug): Document this variable.
869 People other than I might want to use it.
870 (url-http-debug): Put some code in here to check quit-flag
871 directly. When the chunked encoding went into a tight spin, your
872 Emacs would be wedged forever. This short-circuits all the
873 after-change functions and signals an error.
874 (url-http-debug): If url-http-debug is non-nil and non-t, then log
875 the debug messages using `message' as well as sending them to the
876 buffer.
877 (url-http-chunked-encoding-after-change-function): Got rid of the
878 no-initial-crlf. Had an epiphany and I can just infer this from
879 url-http-chunked-counter being 0.
880 (url-http-chunked-encoding-after-change-function): Move the debug
881 statement about reading chunk #foo into the loop so that each
882 chunk will have a log message associated with it.
883 (url-http-chunked-encoding-after-change-function): Make sure to
884 set read-next-chunk to nil when the regular expression match fails
885 to fire. Otherwise we could loop forever.
886 (url-http-chunked-encoding-after-change-function): Tweak the
887 regular expression to be a little less greedy when looking for a chunk.
888 (url-http-wait-for-headers-change-function): Remove the last
889 argument when calling
890 url-http-chunked-encoding-after-change-function. It is no longer
891 needed. I should use my brain sometime.
892
893 * lisp/url-vars.el (and): Fix feature test for xemacs and
894 coding-system-list behaviour.
895
896 * lisp/url-http.el
897 (url-http-chunked-encoding-after-change-function): Add optional
898 no-initial-crlf flag that modifies the regular expression.
899 This is only set from url-http-wait-for-headers-change-function so that
900 the initial CRLF in the HTTP headers is not swallowed.
901 (url-http-chunked-encoding-after-change-function): Fix a few
902 off-by-one errors by using (match-end 0) instead of 1.
903 (url-http-chunked-encoding-after-change-function): Add a few
904 url-http-debug calls to help track down problems in the chunked
905 encoding.
906 (url-http-chunked-encoding-after-change-function): The chunk
907 reading in here is now in a while loop so that if Emacs feeds us a
908 chunk of data that happens to contain more than one 'chunk'
909 delimiter, we behave correctly.
910 (url-http-wait-for-headers-change-function): Make sure that we
911 pass no-initial-crlf to
912 url-http-chunked-encoding-after-change-function when passing
913 initial data to the decoder.
914 (url-http-generic-filter): url-http-debug statement so we can tell
915 when/where our after-change-functions are being called.
916
917 2001-10-11 Dave Love <fx@gnu.org>
918
919 * lisp/url-handlers.el: Doc fixes.
920 (string-match): Use (featurep 'xemacs).
921
922 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
923
924 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
925
926 * lisp/url-vars.el (url-running-xemacs): Delete.
927 (url-gateway-unplugged): New variable.
928
929 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
930 Comment out OS/2 stuff.
931
932 2001-10-05 Dave Love <fx@gnu.org>
933
934 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
935 without confirmation.
936
937 2001-10-02 Dave Love <fx@gnu.org>
938
939 * lisp/url-http.el (url-http-create-request): Check cache for
940 proxy-obj, if defined, rather than url.
941 (url-http): Use dolist, not mapc (runtime cl dependency).
942
943 * lisp/url-methods.el: Maybe require cl at runtime.
944 (url-scheme-register-proxy): Fix fetching from environment.
945 Don't concat a number.
946
947 2001-10-01 Dave Love <fx@gnu.org>
948
949 * lisp/url-parse.el: Use modern backquote syntax.
950
951 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
952 (url-mail-command): Prefer compose-mail.
953 (tcp-binary-process-input-services): Comment out.
954 (url-working-buffer): New constant.
955
956 * lisp/url-util.el (url-extract-mime-headers): New function.
957
958 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
959 User-Agent.
960
961 2001-09-20 Dave Love <fx@gnu.org>
962
963 * lisp/url-http.el (url-http-create-request): Don't concat a number.
964
965 2001-06-05 Dave Love <fx@gnu.org>
966
967 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
968 tcp-binary-process-input-services. Remove function wrapper for lambda.
969 (url-retrieve): Barf with sensible message if url-type is null.
970
971 * lisp/url-http.el (url-http): Don't try to set process
972 coding-system here -- done in url-gw.
973
974 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
975 (url-open-stream): Bind coding-system-for{read,write} when setting
976 up the connexion. Don't call url-gw-inhibit-code-conversion.
977
978 2001-05-24 William M. Perry <wmperry@gnu.org>
979
980 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
981 in url-retrieve-synchronously.
982
983 2001-05-23 William M. Perry <wmperry@gnu.org>
984
985 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
986 accept-process-output. This is evidently causing hangs in Emacs
987 21 when viewing complex pages with images or stylesheets.
988 www.yahoo.com is now viewable.
989
990 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
991 (mule-inhibit-code-conversion) and just have a local function that
992 does this minimal cruft.
993 (url-gw-inhibit-code-conversion): New function to turn off code
994 conversion in a process.
995
996 2001-05-22 William M. Perry <wmperry@gnu.org>
997
998 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
999 that we can allow multiple asynch retrievals to happen at once.
1000 (url-retrieve-synchronously): Use a much smaller timeout when
1001 doing the accept-process-output. This gets rid of the long delays
1002 if you are on a fast net connection and retrieve small documents
1003 that finish asynchronously before the first accept-process-output
1004 can be run. All hail broadband and 100Mb in the house!
1005 (url-retrieve-synchronously): Add documentation for this function.
1006 (url-retrieve): Ditto.
1007 (url-mm-url): Ditto.
1008
1009 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
1010 documentation strings. Ok, so I'm anal.
1011
1012 * lisp/url-methods.el (url-scheme-methods): Add default methods
1013 for file-directory-p and file-truename.
1014
1015 2001-05-22 Dave Love <fx@gnu.org>
1016
1017 * lisp/url-auth.el (url-warn): Autoload.
1018
1019 * lisp/url-proxy.el (url-warn): Autoload.
1020
1021 * lisp/url-nfs.el: Fix `file-truname' typo.
1022
1023 * lisp/url-news.el: Require cl when compiling.
1024 (url-warn, gnus-group-read-ephemeral-group): Autoload.
1025 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
1026 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
1027
1028 * lisp/url-util.el (mule-decode-string): Don't autoload.
1029 (url-hexify-string): Just barf on multibyte characters.
1030 (url-generate-unique-filename): New function.
1031
1032 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
1033 not mm-generate-unique-filename.
1034
1035 * lisp/url-http.el: Declare things special in various places.
1036 (url-http-activate-callback): Don't set
1037 url-http-real-after-change-function.
1038
1039 2001-05-22 William M. Perry <wmperry@gnu.org>
1040
1041 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
1042 control whether we try to do keep-alives for our connections.
1043 (url-http-version): New variable to control whether we advertise
1044 ourselves as an HTTP/1.1 client or not. This can be useful for
1045 avoiding chunked encoding, and other 1.1 features we may not have
1046 fully implemented yet.
1047 (url-http-create-request): Honor the new variables.
1048
1049 2001-05-21 Dave Love <fx@gnu.org>
1050
1051 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
1052 in XEmacs.
1053 (url-mime-charset-string): Don't reverse the list before sorting.
1054
1055 2001-05-17 William M. Perry <wmperry@gnu.org>
1056
1057 * lisp/url-http.el (url-http-generic-filter): Avoid using
1058 after-change-functions natively. There are just too many ways
1059 that this screws up in Emacs 21. Use a filter function on the
1060 process instead, and call the hook on
1061 url-http-after-change-function manually. [Actually, it will work
1062 in Emacs 21, but one problem that has been fixed in Emacs 21
1063 exists in Emacs 20. -- fx]
1064
1065 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
1066 does not exist on older versions of Emacs, or any version of
1067 XEmacs. Do not call it unless it is bound.
1068
1069 2001-05-17 Dave Love <fx@gnu.org>
1070
1071 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
1072
1073 2001-05-16 Dave Love <fx@gnu.org>
1074
1075 * lisp/url-vars.el: Doc fixes. Require mm-util.
1076 (url-mime-charset-string): New variable.
1077
1078 * lisp/url-http.el: Doc fixes.
1079 (url-http-create-request): Rearrange how we assemble the request.
1080 Avoid generating bogus requests with an empty real-fname.
1081 (url-http-handle-authentication): Declare status and success special.
1082 (url-http): Call mm-disable-multibyte. Set process buffer's
1083 coding systems to binary.
1084
1085 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
1086
1087 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
1088 (url-file-find-possibly-compressed-file): Doc fix.
1089 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
1090
1091 * lisp/url-cache.el: Don't require mule-sysdp.
1092 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
1093
1094 * lisp/url.el: Don't require mule-sysdp.
1095 (url-retrieve): Only set text properties if url is a string.
1096
1097 2001-05-14 Dave Love <fx@gnu.org>
1098
1099 * lisp/url-http.el (url-http-create-request):
1100 Declare proxy-object, proxy-info special.
1101 (url-http-handle-authentication): Declare success special.
1102
1103 2001-05-12 Dave Love <fx@gnu.org>
1104
1105 * lisp/url-http.el: Revert last change.
1106
1107 2001-05-10 Dave Love <fx@gnu.org>
1108
1109 * lisp/url-http.el (url-http-generic-after-change-function):
1110 Make it permanent-local.
1111
1112 2001-05-05 Dave Love <fx@gnu.org>
1113
1114 * lisp/url-http.el: Autoload some functions.
1115 (cl): Require when compiling.
1116 (url-http-extra-headers): Defvar when compiling.
1117 (url-http): Treat after-change-functions as a local hook.
1118
1119 * lisp/url-history.el (url-parse): Require.
1120 (url-do-setup): Autoload.
1121
1122 * lisp/url-gw.el: Require url-vars. Autoload some functions.
1123
1124 * lisp/url-file.el: Require mailcap. Require cl when compiling.
1125 Use (featurep 'xemacs).
1126 (url-file-build-filename): Bind pos-index.
1127 (url-file): Call url-find-file-dired, not url-dired-find-file.
1128
1129 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
1130 (url-dired-minor-mode-map): Use (featurep 'xemacs).
1131 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
1132 (url-find-file-dired): Rename from one version of url-dired-find-file.
1133
1134 * lisp/url-cid.el: Don't require widget. Require mm-decode
1135 unconditionally.
1136
1137 * lisp/url-util.el: Autoload mule-decode-string,
1138 timezone-parse-date, timezone-make-date-arpa-standard.
1139 (url-unreserved-chars): Fix list per RFC 2396.
1140 (url-hexify-string): Maybe string-make-unibyte.
1141
1142 * lisp/url-news.el: Require nntp.
1143
1144 * lisp/url-imap.el: Require cl when compiling. Require nnimap
1145 unconditionally.
1146
1147 2001-05-04 Dave Love <fx@gnu.org>
1148
1149 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
1150 not non-existent mailcap-generate-unique-filename.
1151
1152 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
1153
1154 * lisp/url-parse.el: Require url-vars.
1155 Autoload url-scheme-get-property.
1156
1157 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
1158 with featurep.
1159
1160 * lisp/url-mailto.el: Require cl when compiling.
1161
1162 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
1163 Call url-parse-args, not url-util-parse-args.
1164
1165 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
1166
1167 2001-04-09 Dave Love <fx@gnu.org>
1168
1169 * lisp/mule-sysdp.el (mule-detect-coding-version)
1170 (mule-code-convert-region, mule-inhibit-code-conversion)
1171 (mule-write-region-no-coding-system, mule-encode-string)
1172 (mule-decode-string, mule-truncate-string)
1173 (mule-find-charset-region, mule-coding-system-name)
1174 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
1175 [There must be a better way.]
1176 (mule-coding-system-p, string-width): Use defalias.
1177
1178 2001-01-03 Sam Steingold <sds@gnu.org>
1179
1180 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1181 set `url-http-end-of-headers' to 0 for HTTP 0.9
1182
1183 2001-01-02 Sam Steingold <sds@gnu.org>
1184
1185 * lisp/url-auth.el (provide): `url-auth', not `urlauth'
1186
1187 2000-12-22 Dave Love <fx@gnu.org>
1188
1189 * lisp/url-history.el (url): Don't require (to avoid recursion).
1190 (cl): Require when compiling.
1191
1192 * lisp/url-http.el (url-auth): Require.
1193 (url-http-handle-authentication): Fix typo.
1194
1195 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
1196
1197 2000-12-20 Dave Love <fx@gnu.org>
1198
1199 * lisp/url.el: Require mm-decode, mm-view when compiling.
1200 <not (fboundp 'puthash)>: Define puthash and
1201 autoload other has functions rather than using cl-...hash.
1202 (url-warn): Define.
1203
1204 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
1205 Avoid cl-...hash functions.
1206
1207 * lisp/url-history.el: Avoid cl-...hash functions.
1208 (url): Require.
1209
1210 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
1211
1212 2000-10-03 William M. Perry <wmperry@aventail.com>
1213
1214 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
1215 getting set to nil due to bad string matching. Subsequent matches
1216 would then choke because we passed string-match a nil.
1217
1218 * lisp/url-http.el (url-http-parse-headers): Need to make the
1219 connection as 'free' when we get a 304 response (found in cache),
1220 or when a keep-alive conneection timed out, it would re-parse the
1221 headers and dispatch to the callback again. Eek.
1222
1223 2000-10-02 William M. Perry <wmperry@aventail.com>
1224
1225 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
1226 implement chunked transfer-coding.
1227 (url-http-create-request): We can now advertise ourselves as a 1.1
1228 compliant browser!
1229
1230 2000-07-28 Sam Steingold <sds@gnu.org>
1231
1232 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
1233 `cbargs' are optional args (for calling from w3).
1234 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
1235 with `string-match' and `protocol' with `scheme'.
1236
1237 2000-07-18 Sam Steingold <sds@gnu.org>
1238
1239 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
1240 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
1241
1242 2000-07-10 William M. Perry <wmperry@aventail.com>
1243
1244 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
1245 mule, and the character requested is > 255, then return "~"
1246 instead of letting whoever call us signal an error when they try
1247 to insert the character.
1248 (mule-make-iso-character): Also wrap the whole thing in a
1249 condition case and return "~" on error, in case make-char bombs on us.
1250
1251 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
1252 for cid parts.
1253
1254 * lisp/url-util.el (url-display-percentage): New routine that uses
1255 the progress bar under XEmacs if available. Looks very sexy under
1256 XEmacs/GTK hacked to use the GNOME statusbar.
1257
1258 * lisp/url-http.el
1259 (url-http-content-length-after-change-function): Use new function
1260 url-display-percentage instead of url-lazy-message.
1261
1262 2000-01-27 William M. Perry <wmperry@aventail.com>
1263
1264 * lisp/url-file.el (url-file-build-filename): Work around for
1265 differences in ange-ftp / efs handling of port numbers other than 21.
1266
1267 1999-12-24 William M. Perry <wmperry@aventail.com>
1268
1269 * lisp/url-irc.el: Added pointer to draft specification for the
1270 IRC URL so people don't think I'm crazy.
1271
1272 * configure.in: Checks to make sure that Gnus was found, since we
1273 HAVE to have it now. Removed conditional compilation of url-cid.el
1274
1275 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
1276
1277 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
1278 () to have periods at the end of the chunk.
1279
1280 1999-12-14 William M. Perry <wmperry@aventail.com>
1281
1282 * lisp/url-misc.el (url-man): Implement `man' URL types.
1283 (url-info): Autoload.
1284 (url-man): Ditto.
1285 (url-rlogin): Ditto.
1286 (url-telnet): Ditto.
1287 (url-tn3270): Ditto.
1288 (url-generic-emulator-loader): Ditto.
1289
1290 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
1291 to wrap arbitrary `http' methods with the appropriate magic to
1292 turn SSL on.
1293 (file-exists-p): Use it.
1294 (file-readable-p): Use it.
1295 (file-attributes): Use it.
1296
1297 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
1298 server spec for Gnus, make sure we set
1299 nntp-open-connection-function directly, so that other news-related
1300 functions above us can set it.
1301 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
1302 (url-nntp): Autoload.
1303 (url-snews): Ditto.
1304 (url-news): Ditto.
1305
1306 1999-12-12 William M. Perry <wmperry@aventail.com>
1307
1308 * lisp/url-http.el (url-http-parse-response): New function to
1309 parse just the HTTP response code out of the buffer, without
1310 taking any other actions.
1311 (url-http-wait-for-headers-change-function): Use it here when we
1312 know we have an HTTP/1.x response.
1313 (url-http-wait-for-headers-change-function): Special case a
1314 response code of '304' or there could be some delays waiting for
1315 keep-alives to time out on cached documents with no known
1316 content-length on the server.
1317
1318 1999-12-11 William M. Perry <wmperry@aventail.com>
1319
1320 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
1321 the Makefile does that for us. We just need to provide what files
1322 to load/functions to run.
1323
1324 * lisp/url-imap.el (url-imap-open-host): Need to bind
1325 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
1326 the current buffer as the IMAP server buffer, which fails miserably.
1327
1328 1999-12-11 Simon Josefsson <jas@pdc.kth.se>
1329
1330 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
1331
1332 1999-12-11 William M. Perry <wmperry@aventail.com>
1333
1334 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
1335 ange-ftp vs. efs calling semantics consistent, so that if someone
1336 has NEITHER of them loaded, everything should still work.
1337
1338 * lisp/url-handlers.el (url-copy-file): Autoload.
1339 (url-file-local-copy): Ditto.
1340 (url-insert-file-contents): Ditto.
1341 (url-setup-file-name-handlers): Ditto.
1342
1343 1999-12-10 William M. Perry <wmperry@aventail.com>
1344
1345 * lisp/url-http.el (mail-parse): Since we use functions from here,
1346 we should require it, eh?
1347
1348 1999-12-10 01:57:01 Shenghuo ZHU <zsh@cs.rochester.edu>
1349
1350 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
1351 if nil.
1352 (url-cookie-generate-header-lines): Use it.
1353
1354 1999-12-06 William M. Perry <wmperry@aventail.com>
1355
1356 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
1357 4.1 gracefully
1358
1359 * lisp/url-news.el: Reimplemented news and nntp URL support.
1360 No longer bothers to check for outdated Gnus versions, since this
1361 will not work without them anyway.
1362
1363 1999-12-05 Dave Love <fx@gnu.org>
1364
1365 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
1366 lisp/url.el:
1367 Require url-parse.
1368
1369 1999-12-05 William M. Perry <wmperry@aventail.com>
1370
1371 * lisp/url-http.el (url-http-find-free-connection): Spit out a
1372 message when we have to contact a host so the user always gets
1373 at least some feedback.
1374
1375 * lisp/url-expand.el (url-expander-remove-relative-links): Moved and
1376 renamed function.
1377 (url-default-expander): Use it.
1378
1379 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
1380 as well as efs.
1381 (url-file): Add default content-type of application/octet-stream if
1382 none known.
1383 (url-file): Correct bad call to url-host-is-local-p
1384
1385 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
1386 like buffer-substring with nil arguments.
1387 (url-copy-file): Use mm-destroy-parts instead of just killing
1388 the buffer. Use defined interfaces when available!
1389 (url-insert-file-contents): Ditto.
1390
1391 * lisp/url-http.el (url-http-create-request): Lots of changes to
1392 get proxying working.
1393
1394 * lisp/url-methods.el (url-scheme-register-proxy): New function to
1395 find and register a proxy for a specific scheme.
1396 (url-scheme-get-property): Use it when we load a URL scheme for
1397 the first time.
1398
1399 * lisp/url-util.el (url-get-url-at-point): Re-integrated
1400
1401 1999-12-04 William M. Perry <wmperry@aventail.com>
1402
1403 * lisp/url-file.el (url-file): Signal an error if
1404 url-file-build-filename could not find the filename.
1405
1406 1999-12-01 William M. Perry <wmperry@aventail.com>
1407
1408 * lisp/url.el (url-retrieve): Use url-history-update-url instead
1409 of manipulating the hash table directly.
1410
1411 * lisp/url-history.el (url-completion-function): New function to
1412 use for reading a URL with completion.
1413 (url-history-update-url): New function to hide the hashtable
1414 implementation from people inserting things into the history.
1415
1416 1999-11-30 William M. Perry <wmperry@aventail.com>
1417
1418 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
1419 working.
1420
1421 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
1422 url-parse-args, which had changed the type of arguments it expects.
1423
1424 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
1425 (url-copy-file): Ditto.
1426
1427 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
1428 just killing the buffer. Use defined interfaces when available!
1429
1430 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
1431 AC_FD_CC so they show up in config.log
1432 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
1433 this always return 't' instead of 'yes' on successfully finding
1434 the library.
1435
1436 * lisp/url-http.el (url-http-parse-headers): Add some
1437 DAV-specific error codes.
1438
1439 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
1440 (url-retrieve-synchronously): Duh, make this function actually
1441 work again. Numerous problems with it, including variable name
1442 collisions - I love dynamically scoped lisps!
1443
1444 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
1445 wrappers onto the appropriate file-based URLs for file-name-handlers.
1446
1447 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it
1448 might get messy with file-name-handlers and things.
1449
1450 * lisp/url-http.el (url-http-clean-headers): Fix problem when
1451 using 'HEAD' requests. Thou shalt not change the length of the
1452 region during an after-change-function.
1453
1454 * lisp/url-methods.el (url-scheme-methods): New variable that
1455 holds a list of the methods/variables we look for in a URL scheme.
1456 (url-scheme-get-property): Use it.
1457
1458 1999-11-29 William M. Perry <wmperry@aventail.com>
1459
1460 * lisp/url-http.el (url-http-file-attributes): Reimplement.
1461 (url-http-file-exists-p): Ditto.
1462
1463 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
1464
1465 * lisp/url-file.el (url-file-create-wrapper): New macro to create
1466 file-name-handler stubs for all the FTP/FILE stuff.
1467
1468 * lisp/url-handlers.el: New file to handle file-name-handler-alist
1469 cruft. Generic interface on top of functions that each URL
1470 loader provides, if capable.
1471
1472 1999-11-27 William M. Perry <wmperry@aventail.com>
1473
1474 * lisp/url-https.el: Implemented HTTPS support.
1475
1476 1999-11-26 William M. Perry <wmperry@aventail.com>
1477
1478 * url-privacy.el (url-setup-privacy-info): Don't rely on
1479 device-type being defined. Not going to bother redistributing
1480 devices.el for just one function.
1481
1482 * url-methods.el (url-scheme-get-property): Emacs does not have
1483 the 3rd-argument to plist-get to specify the default. *sigh*
1484
1485 * url-dired.el (add-minor-mode): Add definition for Emacs.
1486
1487 * url-http.el (url-http-generic-after-change-function):
1488 New function, since Emacs does not allow you to change the
1489 after-change-functions variable from within a function run by
1490 said hook. This just hands it off to the REAL function.
1491 Side-effect is that this now works on Emacs at all. :)
1492
1493 * Initial checkin of rewritten URL library.
1494
1495 Local variables:
1496 coding: utf-8
1497 End:
1498
1499 ;; arch-tag: ac117078-3091-4533-be93-098162ac2926