]> code.delx.au - gnu-emacs/blob - lisp/url/ChangeLog
(url-lazy-message): Remove leftover debugging code.
[gnu-emacs] / lisp / url / ChangeLog
1 2010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * url-util.el (url-display-percentage): Don't message when the URL
4 is silent.
5 (url-lazy-message): Ditto.
6 (url-lazy-message): Remove leftover debugging code.
7
8 * url-http.el (url-http-parse-headers): Pass the SILENT parameter
9 back to the fetching function.
10
11 * url.el (url-retrieve): Add a silent parameter.
12 (url-retrieve-internal): Ditto.
13
14 * url-parse.el (url): Add a `silent' slot in the URL struct.
15
16 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17
18 * url-cookie.el (url-cookie-handle-set-cookie): Use
19 url-lazy-message for the cookie warning, which isn't very interesting.
20
21 * url-http.el (url-http-async-sentinel): Check that the buffer is
22 still alive before switching to it.
23
24 2010-09-25 Julien Danjou <julien@danjou.info>
25
26 * url-cache.el (url-cache-create-filename): Ensure no-port and
27 default-port end up with the same cache file.
28 (url-cache-create-filename-human-readable)
29 (url-cache-create-filename-using-md5): Argument is always in the form of
30 a string now.
31
32 2010-09-23 Glenn Morris <rgm@gnu.org>
33
34 * url-cache.el (url-is-cached): Doc fix.
35
36 2010-09-23 Glenn Morris <rgm@gnu.org>
37
38 * url-cache.el (url-cache-expired): Don't autoload.
39 Tweak previous change.
40 (url-cache-expire-time): Doc fix.
41
42 2010-09-23 Julien Danjou <julien@danjou.info>
43
44 * url-cache.el (url-cache-expire-time): New option.
45 (url-cache-expired): Rewrite.
46
47 2010-09-19 Julien Danjou <julien@danjou.info>
48
49 * url-cache.el (url-fetch-from-cache): New function.
50
51 2010-09-18 Julien Danjou <julien@danjou.info>
52
53 * url-vars.el (url-cache-expired): Remove unused variable.
54
55 2010-09-14 Julien Danjou <julien@danjou.info>
56
57 * url-cache (url-store-in-cache): Make `buff' argument really optional.
58
59 2010-09-14 Glenn Morris <rgm@gnu.org>
60
61 * url-cookie.el (url-cookie-expired-p): Tweak previous change.
62
63 2010-09-14 shawn boles <shawn.boles@gmail.com> (tiny change)
64
65 * url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
66
67 2010-09-11 Glenn Morris <rgm@gnu.org>
68
69 * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
70 * url-vars.el: Remove leading `*' from defcustom docs.
71
72 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
73
74 * url-http (url-http-parse-headers): Disable file name handlers at
75 all (not only Tramp). (Bug#6717)
76
77 2010-07-27 Michael Albinus <michael.albinus@gmx.de>
78
79 * url-http (url-http-parse-headers): Disable Tramp. (Bug#6717)
80
81 2010-07-01 Mark A. Hershberger <mah@everybody.org>
82
83 * url-http.el (url-http-create-request): Add a CRLF on the end so
84 that POSTs with content to https urls work. See
85 <https://bugs.launchpad.net/mediawiki-el/+bug/540759>
86
87 2010-06-22 Mark A. Hershberger <mah@everybody.org>
88
89 * url-parse.el (url-user-for-url, url-password-for-url):
90 Convenience functions that get usernames and passwords for urls
91 from auth-source functions.
92
93 2010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
94
95 * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)
96
97 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
100
101 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
102
103 * Version 23.2 released.
104
105 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * url-dired.el (url-dired-minor-mode): Use define-minor-mode.
108
109 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
110
111 * url-http.el (url-http-parse-headers): Fix wrong variable name.
112
113 2010-03-24 Teodor Zlatanov <tzz@lifelogs.com>
114
115 * url-http.el (url-http-codes): New variable to hold a mapping of
116 HTTP status codes' numbers, their symbolic name, and their text.
117 (url-http-parse-headers): Use it, leaving the original numeric
118 code in a comment.
119
120 2010-03-19 Glenn Morris <rgm@gnu.org>
121
122 * url.el: Move mailcap require earlier in the file.
123
124 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
125
126 * url-vars.el (url): Put in comm group.
127
128 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
129
130 * Branch for 23.2.
131
132 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
133
134 * url-util.el: Require url-vars (Bug#5459).
135
136 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * url-parse.el (url-generic-parse-url): Bind deactivate-mark.
139
140 2009-11-08 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
141
142 * url-http.el (url-http-handle-authentication): Use proxy server,
143 if any, for authentication (Bug#4883).
144
145 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * url-util.el (url-insert-entities-in-string):
148 * url-nfs.el (url-nfs-unescape):
149 * url-ldap.el (url-ldap):
150 * url-imap.el (url-imap):
151 * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
152
153 2009-10-01 Glenn Morris <rgm@gnu.org>
154
155 * url-http.el (url-dav-file-attributes): Fix declaration.
156
157 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
158
159 * url-handlers.el (url-copy-file): Add fifth arg for compatibility
160 with 2005-06-25 change to copy-file (Bug#4410).
161
162 2009-09-13 Glenn Morris <rgm@gnu.org>
163
164 * url-file.el (url-file): Avoid assignment to free variable `filename'.
165
166 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
167
168 * url-methods.el (url-scheme--registering-proxy): New variable.
169 (url-scheme-register-proxy, url-scheme-get-property):
170 Avoid calling url-scheme-register-proxy in an infloop (Bug#4191).
171
172 2009-08-22 Glenn Morris <rgm@gnu.org>
173
174 * url-file.el (url-file-build-filename):
175 * url-privacy.el (url-setup-privacy-info): Remove code for defunct
176 system-types Apple-Macintosh, emx, ms-windows, next-mach.
177
178 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
179
180 * Branch for 23.1.
181
182 2009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
183
184 * url-handlers.el (url-file-handler): Save match data.
185
186 2009-02-21 Jason Rumney <jasonr@gnu.org>
187
188 * url-expand.el (url-default-expander): Use concat to combine
189 parts. (Bug #1020)
190
191 2009-02-10 Glenn Morris <rgm@gnu.org>
192
193 * url-util.el (url-generate-unique-filename): Silence compiler.
194
195 2009-02-07 Chong Yidong <cyd@stupidchicken.com>
196
197 * url-file.el (url-file): Use make-temp-file.
198
199 * url-util.el (url-generate-unique-filename): Mark as obsolete.
200
201 * url-vars.el (url-temporary-directory): Mark as obsolete.
202
203 2009-01-15 Chong Yidong <cyd@stupidchicken.com>
204
205 * url-cookie.el (url-cookie-retrieve): Fix last change.
206
207 2009-01-14 Chong Yidong <cyd@stupidchicken.com>
208
209 * url-cookie.el (url-cookie-retrieve): Handle null localpart.
210
211 2009-01-13 Juanma Barranquero <lekktu@gmail.com>
212
213 * url-util.el (url-truncate-url-for-viewing): Doc fix.
214
215 2009-01-09 Glenn Morris <rgm@gnu.org>
216
217 * url-cid.el (url-cid-gnus): Fix typo in header name.
218
219 2008-11-04 Chong Yidong <cyd@stupidchicken.com>
220
221 * url-util.el (url-basepath): Add url-basepath as an alias for
222 url-file-directory.
223
224 2008-10-24 Juanma Barranquero <lekktu@gmail.com>
225
226 * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
227
228 2008-10-20 İsmail Dönmez <ismail@namtrac.org> (tiny change)
229
230 * url-auth.el (url-basic-auth): Encode password string.
231
232 2008-08-30 Glenn Morris <rgm@gnu.org>
233
234 * url-http.el (url-https-expand-file-name): Resolve directly to
235 url-default-expander rather than via another alias.
236 (url-default-expander): Autoload an autoload. (Bug#825).
237
238 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
239
240 * url.el (url-do-setup):
241 * url-dired.el (url-dired-minor-mode):
242 * url-file.el (url-file-find-possibly-compressed-file):
243 * url-gw.el (url-gateway-broken-resolution):
244 * url-handlers.el (url-handler-regexp):
245 * url-imap.el (url-imap-default-port):
246 * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
247
248 * url-auth.el (url-basic-auth-storage, url-digest-auth):
249 Fix typos in docstrings.
250 (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
251
252 * url-cache.el (url-cache-prepare): Doc fix.
253 (url-cache-create-filename-human-readable, url-cache-extract):
254 Fix typos in docstrings.
255
256 * url-dav.el (url-intersection, url-dav-iso8601-regexp)
257 (url-dav-delete-something): Fix typos in docstrings.
258 (url-dav-http-success-p, url-dav-file-name-all-completions)
259 (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
260
261 * url-http.el (url-http-idle-sentinel): Doc fix.
262
263 * url-irc.el (url-irc-default-port): Fix typo in docstring.
264 (url-irc-function): Doc fix.
265
266 * url-util.el (url-get-url-filename-chars, url-unhex-string):
267 Fix typos in docstrings.
268 (url-file-extension): Doc fix.
269
270 * url-vars.el (url-current-object, url-current-mime-headers)
271 (url-privacy-level, url-mail-command, url-mime-language-string):
272 Fix typos in docstrings.
273 (url-honor-refresh-requests): Reflow docstring.
274 (url-using-proxy): Doc fix.
275
276 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
277
278 * vc-dav.el: Move to the parent directory to be together with the
279 rest of the VC backends.
280
281 2008-06-07 Glenn Morris <rgm@gnu.org>
282
283 * url-auth.el (auth-source-user-or-password): Remove unnecessary
284 eval-and-compile.
285
286 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * url-handlers.el (url-file-name-completion): Add missing argument.
289
290 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
291
292 * url-auth.el: Add autoload cookie for `auth-source-user-or-password'.
293 (url-basic-auth, url-digest-auth): Use it with any realm,
294 overriding the user name and password before the prompt.
295
296 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
297
298 * url-vars.el (url-load-hook): Fix typo in docstring.
299
300 2008-03-09 Magnus Henoch <mange@freemail.hu>
301
302 * url-http.el (url-http-chunked-encoding-after-change-function):
303 Remove superfluous CRLF at end of file. (Bug #42)
304
305 2008-03-02 Andreas Schwab <schwab@suse.de>
306
307 * url-util.el: Require cl when compiling.
308
309 2008-02-28 Teodor Zlatanov <tzz@lifelogs.com>
310
311 * url-util.el (url-get-normalized-date): Simplify to use
312 `format-time-string'. Always generate date in UTC, but
313 call it GMT for full compatibility with the RFCs.
314
315 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
316
317 * url-handlers.el (file-remote-p): Add handler.
318 (url-handler-file-remote-p): New fun.
319
320 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * url-handlers.el (url-handler-unhandled-file-name-directory):
323 Handle `file' URLs specially. Return nil for non-local filenames.
324
325 2008-02-04 Magnus Henoch <mange@freemail.hu>
326
327 * url-expand.el: Require cl when compiling, for setf.
328
329 2008-01-29 John Wiegley <johnw@newartisans.com>
330
331 * url-auth.el (url-digest-auth): If the 'opaque' argument is not
332 being used, don't add it to the response text. Also, changed an
333 if so that the interaction between the PROMPT and OVERWRITE
334 arguments can no longer result in the user being queried twice for
335 the same login and password information.
336
337 2008-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * url-handlers.el (unhandled-file-name-directory): Add handler.
340 (url-handler-unhandled-file-name-directory): New fun.
341
342 2008-01-07 Michael Albinus <michael.albinus@gmx.de>
343
344 * url-handlers.el (url-file-handler): Autoload.
345
346 2007-12-11 Glenn Morris <rgm@gnu.org>
347
348 * url.el (url-configuration-directory): Make it a defcustom.
349
350 * url-util.el (url-make-private-file): New function.
351 * url-cookie.el (url-cookie-write-file):
352 * url-history.el (url-history-save-history):
353 Use url-make-private-file and with-temp-buffer.
354
355 2007-12-06 Glenn Morris <rgm@gnu.org>
356
357 * url-file.el, url-mailto.el: Remove directory part from filenames
358 in function declarations.
359
360 2007-12-02 Glenn Morris <rgm@gnu.org>
361
362 * url-about.el, url-handlers.el: Don't require cl when compiling.
363
364 * url-dav.el (url-dav-delete-directory): Fix message typo.
365
366 * url-history.el (top-level): Don't require cl when compiling.
367 (url-history-setup-save-timer, url-history-save-history):
368 Use condition-case rather than ignore-errors.
369
370 * url-imap.el (top-level): Don't require cl when compiling.
371 (url-imap): Use signal rather than check-type.
372
373 * url-news.el (top-level): Don't require cl when compiling.
374 (gnus-group-buffer): Define for compiler.
375 (url-news-fetch-message-id): Don't use `declare'.
376 (nntp-open-tls-stream, nntp-open-ssl-stream):
377 No need to define for compiler.
378 (url-snews): Use nntp-open-tls-stream unless ssl is requested.
379 Correct quoting of nntp-open-connection-function value.
380
381 2007-12-01 Glenn Morris <rgm@gnu.org>
382
383 * url-handlers.el (top-level): Always require url-parse, not just
384 when compiling.
385
386 2007-11-30 Glenn Morris <rgm@gnu.org>
387
388 * url-cookie.el (url-cookie-p): Declare as a function.
389
390 2007-11-29 Glenn Morris <rgm@gnu.org>
391
392 * url-file.el (url-file-build-filename, url-file): Wrap uses of
393 efs in (featurep 'xemacs) test.
394
395 * url-irc.el (zenirc, zenirc-send-line): Declare as functions.
396
397 2007-11-28 Diane Murray <disumu@x3y2z1.net>
398
399 * url-dired.el: Don't require w3-fetch and w3-open-local.
400 (url-dired-find-file): Use `find-file'. Doc fix.
401 (url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
402
403 2007-11-24 Glenn Morris <rgm@gnu.org>
404
405 * url-privacy.el (url-device-type): Fix typo.
406
407 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu>
408
409 * url-mailto.el (mail-send-and-exit):
410 * url-http.el (url-dav-file-attributes):
411 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
412 (url-generate-unique-filename): Declare as functions.
413
414 * url-privacy.el (url-device-type): Define unconditionally.
415
416 2007-11-15 Richard Stallman <rms@gnu.org>
417
418 * url.el (url-retrieve-synchronously): Call delete-process.
419
420 2007-10-31 Juanma Barranquero <lekktu@gmail.com>
421
422 * url-vars.el (url-vars-unload-hook): Remove function and variable.
423 Hooks are automatically removed by `unload-feature'.
424
425 2007-10-13 Richard Stallman <rms@gnu.org>
426
427 * url-util.el (url-basepath): Function deleted.
428 (url-file-directory, url-file-nondirectory): New functions
429 replacing url-basepath. Callers changed.
430
431 * url-expand.el (url-default-expander): Use `url-file-directory'.
432
433 * url-auth.el (url-digest-auth, url-basic-auth):
434 Rename `path' to `file'. Use `url-file-directory'.
435
436 2007-10-12 Diane Murray <disumu@x3y2z1.net>
437
438 * url-auth.el (url-basic-auth): Set path to "/" when URL has an
439 empty string filename.
440
441 2007-10-09 Richard Stallman <rms@gnu.org>
442
443 * url-parse.el (url-type, url-user, url-password, url-host)
444 (url-port, url-filename, url-target, url-attributes)
445 (url-fullness, url-set-type, url-set-user, url-set-password)
446 (url-set-host, url-set-port, url-set-filename, url-set-target)
447 (url-set-attributes, url-set-full): Change macros to defuns.
448
449 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
450
451 * url-dav.el (top):
452 * url-vars.el (top): Use `mapc' rather than `mapcar'.
453
454 2007-09-22 Diane Murray <disumu@x3y2z1.net>
455
456 * url-misc.el (url-generic-emulator-loader): Send the port as a
457 string to `url-do-terminal-emulator'.
458
459 2007-09-21 Diane Murray <disumu@x3y2z1.net>
460
461 * url-news.el (url-news-fetch-newsgroup): Fix formatting of Gnus method.
462
463 * url-util.el (url-get-normalized-date): Pass full timezone
464 information to timezone-make-date-arpa-standard, since zone name
465 may be unknown.
466
467 2007-09-03 Diane Murray <disumu@x3y2z1.net>
468
469 * url-http.el (url-http-parse-headers): Bind the current buffer
470 rather than calling `url-mark-buffer-as-dead' with
471 `current-buffer', so that the correct buffer is killed if
472 `url-retrieve-synchronously' gets redirected to a new URL.
473
474 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * url-parse.el (url): Use defstruct rather than macros.
477 (url-generic-parse-url):
478 * url-util.el (url-normalize-url, url-truncate-url-for-viewing):
479 * url-methods.el (url-scheme-register-proxy):
480 * url-mailto.el (url-mailto):
481 * url-file.el (url-file-build-filename):
482 * url-expand.el (url-identity-expander, url-default-expander):
483 Update all callers.
484
485 2007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
486
487 * url-auth.el (url-basic-auth): When prompting for username
488 and password, default to the username and password in the URL.
489
490 2007-08-08 Glenn Morris <rgm@gnu.org>
491
492 * url-auth.el, url-cache.el, url-dav.el, url-file.el, vc-dav.el:
493 Replace `iff' in doc-strings and comments.
494
495 2007-07-25 Glenn Morris <rgm@gnu.org>
496
497 * Relicense all FSF files to GPLv3 or later.
498
499 2007-06-12 Tom Tromey <tromey@redhat.com>
500
501 * url.el (url-configuration-directory): Use user-emacs-directory.
502
503 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * url-cookie.el (url-cookie-name, url-cookie-value)
506 (url-cookie-expires, url-cookie-localpart, url-cookie-domain)
507 (url-cookie-secure, url-cookie-set-name, url-cookie-set-value)
508 (url-cookie-set-expires, url-cookie-set-localpart)
509 (url-cookie-set-domain, url-cookie-set-secure)
510 (url-cookie-retrieve-arg, url-cookie-create, url-cookie-p): Remove.
511 (url-cookie): New struct.
512 (url-cookie-store): Use setf instead of url-cookie-set-*.
513
514 2007-05-29 Chong Yidong <cyd@stupidchicken.com>
515
516 * url-mailto.el (url-mailto): Insert body after
517 mail-header-separator if present, so that it is before signature.
518 Suggested by Leo <sdl.web@gmail.com>.
519
520 2007-04-15 Chong Yidong <cyd@stupidchicken.com>
521
522 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes.
523
524 2007-04-13 Chong Yidong <cyd@stupidchicken.com>
525
526 * url-http.el (url-http-parse-headers): Stop after a set number of
527 redirections. Suggested by Diane Murray.
528
529 * url-vars.el (url-max-redirections): New var.
530
531 2007-04-01 Diane Murray <disumu@x3y2z1.net> (tiny change)
532
533 * url-http.el (url-http-handle-cookies): Reverse list returned by
534 `mail-fetch-field', so that cookies are set in the correct order.
535
536 * url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
537 Deal with wildcard dots in domain values.
538
539 2007-03-31 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
540
541 * url-http.el (url-http-mark-connection-as-busy)
542 (url-http-mark-connection-as-free): Clear query-on-exit flag on
543 idle connections.
544
545 2007-02-04 Chong Yidong <cyd@stupidchicken.com>
546
547 * url-http.el (url-http-connection-opened): New variable.
548 (url-http): Initialize it.
549 (url-http-async-sentinel): Don't try changing sentinels.
550 Run url-http-end-of-document-sentinel if necessary.
551
552 2007-01-29 Juanma Barranquero <lekktu@gmail.com>
553
554 * url-auth.el (url-get-authentication): Fix typo in docstring.
555
556 2007-01-14 Magnus Henoch <mange@freemail.hu>
557
558 * url-proxy.el (url-proxy-object): Remove.
559 (url-proxy): Don't use `url-proxy-object'. Act according to type of
560 proxy (currently only HTTP supported).
561
562 * url.el (url-retrieve-internal): Don't use `url-proxy-object'.
563
564 * url-http.el (url-http-proxy): New variable.
565 (url-http-create-request): Use it. Don't use `url-proxy-object'.
566 (url-http): Treat `url' argument as resource to download, and
567 dynamic variable `url-using-proxy' as proxy to use. Set
568 `url-current-object' to actual URL, and `url-http-proxy' to proxy
569 used.
570 (url-http-handle-cookies): Assume that `url-current-object' does
571 not point to the proxy used.
572 (url-http-async-sentinel): Adapt error message.
573
574 2006-12-10 Juanma Barranquero <lekktu@gmail.com>
575
576 * url-gw.el (url-gateway-nslookup-program): Doc fix.
577
578 2006-12-08 Magnus Henoch <mange@freemail.hu>
579
580 * url-proxy.el (url-proxy-object): New variable.
581 (url-proxy): Bind it instead of `proxy-object'.
582
583 * url-http.el (url-http-create-request): Remove url argument, use
584 the buffer-local variable `url-http-target-url' instead. Both
585 callers updated. Simplify proxy handling.
586 (url-http): Don't make proxy-object buffer local.
587
588 * url.el (url-retrieve-internal): Bind url-proxy-object to nil.
589
590 2006-11-26 Magnus Henoch <mange@freemail.hu>
591
592 * url-http.el (url-http-wait-for-headers-change-function): Use
593 `when' instead of `if' when possible.
594 (url-http): Define url-http-response-version.
595 (url-http-parse-response): Set it.
596 (url-http-parse-headers): Use it to determine keep-alive behavior.
597
598 2006-11-23 Diane Murray <disumu@x3y2z1.net> (tiny change)
599
600 * url-http.el (url-http-content-length-after-change-function): Use
601 `url-lazy-message'.
602
603 * url-util.el (url-display-percentage): Only show a message if
604 `url-show-status' is non-nil.
605
606 2006-11-15 Magnus Henoch <mange@freemail.hu>
607
608 * url-http.el (url-http): Make proxy-object buffer-local, to
609 handle proxied asynchronous connections correctly.
610
611 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
612
613 2006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
614
615 * url-http.el (url-http-wait-for-headers-change-function):
616 Defer detection of HTTP 0.9 until we have at least one line.
617
618 2006-11-10 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
619
620 * url-http.el (url-http-mark-connection-as-free)
621 (url-http-find-free-connection): Don't treat process with status
622 `connect' as free.
623 (url-http-async-sentinel): Request correct url.
624
625 2006-11-08 Magnus Henoch <mange@freemail.hu>
626
627 * url-http.el (url-http-handle-authentication): If there are
628 several authentication headers, use the strongest available
629 method.
630
631 * url.el (url-retrieve-synchronously): Allow quitting when
632 inhibit-quit is t.
633
634 2006-11-03 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
635
636 * url-http.el (url-http-handle-authentication): If there are
637 several authentication headers, use the first with a supported
638 method.
639
640 2006-11-01 Magnus Henoch <mange@freemail.hu>
641
642 * url-http.el (url-http-create-request): Use buffer-local
643 equivalents of dynamically bound variables.
644
645 2006-10-29 Magnus Henoch <mange@freemail.hu>
646
647 * url-gw.el (url-open-stream): Really use asynchronous
648 connections (accidentally disabled during debugging).
649
650 2006-10-28 Magnus Henoch <mange@freemail.hu>
651
652 * url-http.el (url-http-parse-headers): Fix misplaced paren.
653
654 2006-10-27 Magnus Henoch <mange@freemail.hu>
655
656 * url-http.el (url-http-mark-connection-as-free): Verify that
657 connection is open before saving it.
658 (url-http-handle-authentication): Use url-retrieve-internal
659 instead of url-retrieve.
660 (url-http-parse-headers): Adapt to new callback interface.
661 (url-http): Handle non-blocking connections.
662 (url-http-async-sentinel): Create.
663
664 * url.el (url-retrieve): Update docstring for new callback interface.
665 Remove all code.
666 (url-retrieve-internal): Move code from url-retrieve here.
667
668 * url-gw.el (url-open-stream): Use a non-blocking socket for
669 `native' gateway method, if available.
670
671 2006-10-16 Magnus Henoch <mange@freemail.hu>
672
673 * url-http.el (url-https-create-secure-wrapper):
674 Always use tls gateway method.
675
676 2006-10-12 Magnus Henoch <mange@freemail.hu>
677
678 * url-http.el (url-http-find-free-connection):
679 Handle url-open-stream returning nil.
680
681 2006-10-11 Magnus Henoch <mange@freemail.hu>
682
683 * url-https.el: Remove (clashes with url-http on 8+3 systems).
684
685 * url-http.el: Move contents of url-https.el here. Add autoloads.
686
687 2006-10-09 Magnus Henoch <mange@freemail.hu>
688
689 * url-parse.el (url-generic-parse-url): Handle URLs with empty
690 path component and non-empty query component. Untangle path,
691 query and fragment parsing code. Add references to RFC 3986 in
692 comments.
693 (url-recreate-url-attributes): Start query string with "?", not ";".
694
695 2006-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * url-dav.el (url-dav-file-attributes): Simplify.
698
699 * url-http.el (url-http-head-file-attributes): Add device "info".
700
701 2006-09-18 Michael Olson <mwolson@gnu.org>
702
703 * url-methods.el (url-scheme-register-proxy): Handle case where
704 getenv returns an empty string for http_proxy. This prevents an
705 error when calling `format' later on.
706
707 2006-08-31 Diane Murray <disumu@x3y2z1.net> (tiny change)
708
709 * url-parse.el (url-recreate-url-attributes): New function, code
710 simply moved from `url-recreate-url'.
711 (url-recreate-url): Use it.
712 Put the `url-target' at the end of the URL after the attributes.
713
714 * url-http.el (url-http-create-request):
715 Use `url-recreate-url-attributes' when setting real-fname.
716
717 2006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
718
719 * url-cookie.el (url-cookie-write-file): Really don't use versioned
720 backups.
721
722 2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * url-handlers.el (url-file-local-copy): Tell url-copy-file that the
725 dest file will already exist.
726
727 2006-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * url-util.el (url-hexify-string): Only utf-8 encode if it's
730 a multibyte string.
731 (url-normalize-url): Remove unused var `grok'.
732 (url-truncate-url-for-viewing): Remove unused var `tail'.
733
734 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org>
735
736 * url-util.el (url-hexify-string): Rewrite.
737 Suggested by David Smith <davidsmith@acm.org>.
738
739 2006-07-12 Michael Olson <mwolson@gnu.org>
740
741 * url-irc.el (url-irc-erc): Call erc-handle-irc-url.
742
743 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * url-cookie.el: Remove spurious * in docstrings.
746 (url-cookie-write-file): Don't use versioned backups.
747 (url-cookie-host-can-set-p): Remove unused var `tmp'.
748
749 2006-07-04 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
750
751 * url-cookie.el (url-cookie-save-interval): Move to url-cookie group.
752 (url-cookie-write-file): Reset url-cookies-changed-since-last-save.
753
754 2006-05-12 Reiner Steib <Reiner.Steib@gmx.de>
755
756 * url-http.el (url-http-file-exists-p): Test if status is integer.
757
758 2006-05-05 Andreas Seltenreich <seltenreich@gmx.de>
759
760 * url-http.el (url-http-parse-headers): Don't reuse connection if
761 "Connection: close" header was seen.
762
763 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
764
765 * url-gw.el (url-open-stream): Don't hide errors.
766 (url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
767
768 * url-handlers.el (url-insert): New function.
769 (url-insert-file-contents): Use it.
770
771 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * url-handlers.el (url-handler-directory-file-name): New handler.
774 (url-file-local-copy): Plug race condition security hole.
775
776 2006-03-27 Romain Francoise <romain@orebokech.com>
777
778 * url-irc.el (url-irc-rcirc, url-irc-erc): New functions.
779 (url-irc-function): Add rcirc and ERC to the list of IRC clients.
780 Default to rcirc, since ZenIRC isn't part of Emacs.
781
782 2006-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
783
784 * url-http.el (url-http-find-free-connection): Fix braino in last fix.
785
786 2006-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
787
788 * url-http.el (url-http-find-free-connection): Don't kill the process
789 when killing the temp buffer.
790 (url-http-symbol-value-in-buffer): Massage to make it clear to the
791 byte-compiler that the function is defined.
792
793 2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * url.el (url-redirect-buffer): New var.
796 (url-retrieve-synchronously): Use it to follow redirections.
797
798 * url-http.el: Require `url' rather than try to autoload parts of it.
799 (url-http-find-free-connection): `url-open-stream' needs a real buffer.
800 (url-http-parse-headers): Set `url-redirect-buffer' when following
801 a redirection reply.
802
803 2006-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * url-news.el: Move defvars out of eval-when-compile.
806 (url-news-fetch-message-id, url-news-fetch-newsgroup):
807 Use with-current-buffer.
808
809 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
810
811 * url.el (url-retrieve-synchronously): Adjust the workaround so as not
812 to stop in the middle of a redirection.
813
814 * url-vars.el (url-privacy-level): Add setter.
815
816 2006-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * url-history.el (url-history-hash-table): Initialize in declaration.
819 (url-history-parse-history): Don't reset the history.
820 (url-history-save-history): Create parent dir if necessary.
821 (url-history-save-history): Don't write the initialization of
822 url-history-hash-table into the history file.
823 (url-have-visited-url): Simplify since url-history-hash-table isn't nil.
824 (url-completion-function): Simplify.
825
826 * url-cookie.el (url-cookie-parse-file): Don't complain of missing file.
827 (url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
828 (url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
829 (url-cookie-setup-save-timer): Remove autoload cookies.
830 They're only called from files that require url-cookie anyway.
831
832 * url-history.el (url-history-setup-save-timer)
833 (url-history-parse-history, url-history-save-history):
834 Remove autoload cookies. They're only called from url.el which requires
835 url-history anyway.
836 (url-history-parse-history): Don't complain if the file is missing.
837
838 2006-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * url-handlers.el (url-retrieve-synchronously): Don't autoload.
841
842 * url.el (url-retrieve, url-retrieve-synchronously): Autoload.
843
844 * url-cache.el: Require `url'.
845
846 2005-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * url-cache.el (url-store-in-cache): Use save-current-buffer.
849
850 * url.el (url-configuration-directory): Don't autoload because the
851 default value needs to be computed at run-time, not dump-time.
852
853 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
854
855 * url-cookie.el (url-cookie-write-file): Create parent dir.
856
857 * url.el (url-configuration-directory): Use ~/.emacs.d if possible.
858
859 2005-12-07 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
860
861 * url-cookie.el (url-cookie-save-interval): Simplify.
862 (url-cookie-setup-save-timer): Simplify.
863
864 2005-12-04 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
865
866 * url-history.el (url-history-list): Var deleted.
867 (url-history-save-interval): Simplify.
868 (url-history-setup-save-timer): Simplify.
869
870 2005-12-01 Kim F. Storm <storm@cua.dk>
871
872 * url-history.el (url-history-track): Fix last change.
873
874 2005-12-01 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
875
876 * url-history.el (url-history-track):
877 Call url-history-setup-save-timer in :set function.
878 :type allows three alternatives.
879 (url-history-setup-save-timer): Test url-history-track.
880 * url.el (url-retrieve): Test url-history-track.
881
882 2005-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * url-http.el: Use with-current-buffer.
885 (url-http-target-url): Rename from url-http-cookies-sources.
886 (url-http-parse-headers): Use it.
887 (url-http-handle-authentication): Use subst-char-in-string.
888
889 2005-11-16 Jürgen Hötzel <emacs@hoetzel.info> (tiny change)
890
891 * url-handlers.el (url-insert-file-contents): Use the charset info
892 provided by the HTTP server, if any.
893
894 2005-10-20 CHENG Gao <chenggao@gmail.com> (tiny change)
895
896 * url-nfs.el (top level):
897 * url-handlers.el (directory-files):
898 * url-file.el (top level):
899 * url-dired.el (url-dired-minor-mode-map):
900 * url-http.el (url-http-chunked-encoding-after-change-function):
901 Remove XEmacs support.
902
903 2005-10-15 Richard M. Stallman <rms@gnu.org>
904
905 * url.el: Don't try to autoload hash table functions.
906
907 2005-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * url-http.el (url-http-create-request): Avoid incorrect implicit
910 unibyte->multibyte conversion.
911
912 2005-09-17 Richard M. Stallman <rms@gnu.org>
913
914 * url-vars.el (url-mail-command): Don't test fboundp of `compose-mail'.
915
916 * url-mailto.el (url-mailto): Special case `mail'.
917 Don't test fboundp of `compose-mail'.
918
919 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
920
921 * url-mailto.el (url-mailto): Delete mail buffer after sending
922 autogenerated mail.
923 Call `compose-mail with `new' argument if possible.
924
925 2005-09-13 Chong Yidong <cyd@stupidchicken.com>
926
927 * url-mailto.el (url-mailto): Always use a new mail buffer.
928
929 2005-09-01 Chong Yidong <cyd@stupidchicken.com>
930
931 * url-util.el (url-parse-query-string): New optional argument
932 allow-newlines allows decoding of newlines.
933
934 * url-mailto.el (url-mailto): Allow newlines in URL arguments.
935 Don't lose original "to" value when there is a "to" header.
936 Remove carriage return characters in message body.
937
938 2005-08-24 Juanma Barranquero <lekktu@gmail.com>
939
940 * url-news.el (nntp-open-tls-stream, nntp-open-ssl-stream):
941 * url-http.el (url-http-cookies-sources): Defvar at compile time.
942
943 2005-07-15 Richard M. Stallman <rms@gnu.org>
944
945 * url-http.el (url-http-parse-headers): Add :redirect arg-pair
946 when calling url-retrieve, to indicate a redirect.
947
948 * url.el (url-retrieve): The callback function can get an additional
949 keyword arg pair.
950
951 2005-07-04 Lute Kamstra <lute@gnu.org>
952
953 Update FSF's address in GPL notices.
954
955 2005-07-04 Juanma Barranquero <lekktu@gmail.com>
956
957 * url-history.el (url-history-track): Doc fix.
958 (url-history): Finish `defgroup' description with period.
959
960 * url-cookie.el (url-cookie):
961 * url-gw.el (url-gateway):
962 * url-news.el (url-news):
963 * url-vars.el (url, url-file, url-cache, url-mime, url-hairy):
964 Finish `defgroup' description with period.
965
966 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
967
968 * url-http.el (url-http-create-request): Call url-recreate-url
969 in proxy case.
970
971 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
972
973 * url-http.el (url-http-create-request): When computing real-fname,
974 call url-filename in both cases.
975
976 2005-06-27 Richard M. Stallman <rms@gnu.org>
977
978 * url-cookie.el (url-cookie-store): Rename arg PATH to LOCALPART.
979 (url-cookie-retrieve): Likewise.
980 (url-cookie-generate-header-lines): Likewise.
981 (url-cookie-handle-set-cookie): Likewise.
982 (url-cookie-create): Expect :localpart instead of :path.
983 (url-cookie-localpart): Renamed from url-cookie-path.
984 (url-cookie-set-localpart): Renamed from url-cookie-set-path.
985 (url-cookie-file): Doc fix.
986 (url-cookie-p): Add doc string.
987
988 2005-06-23 Richard M. Stallman <rms@gnu.org>
989
990 * url-cookie.el (url-cookie-generate-header-lines): Fix autoload cookie.
991
992 2005-06-21 Juanma Barranquero <lekktu@gmail.com>
993
994 * url-gw.el (url-open-stream):
995 * url-vars.el (url-gateway-unplugged): Fix spellings.
996
997 2005-06-14 Juanma Barranquero <lekktu@gmail.com>
998
999 * url-history.el (url-completion-function): Follow error conventions.
1000
1001 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * url-file.el (url-file, url-file-asynch-callback): with-current-buffer.
1004
1005 2005-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * url-dav.el: Remove most autoload cookies.
1008 Don't hook into the url-file-handler since it currently breaks all
1009 non-HTTP URLs.
1010
1011 * url-handlers.el (vc-registered): Explicitly disable VC for URL files.
1012
1013 * url.el (url-retrieve-synchronously): Don't exit precipitously when
1014 fetching a file via ange-ftp.
1015
1016 2005-06-10 Juanma Barranquero <lekktu@gmail.com>
1017
1018 * url-cookie.el (url-cookie-multiple-line): Fix spelling in docstring.
1019
1020 2005-05-19 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * url-cookie.el (url-cookie-multiple-line):
1023 Specify group and type in defcustom.
1024
1025 2005-05-06 Juanma Barranquero <lekktu@gmail.com>
1026
1027 * url-auth.el (url-register-auth-scheme):
1028 * url-cookie.el (url-cookie-expired-p):
1029 * url-dav.el (url-dav-process-date-property)
1030 (url-dav-process-boolean-property, url-dav-process-DAV:status):
1031 * url-http.el (url-http-chunked-encoding-after-change-function)
1032 (url-http-wait-for-headers-change-function):
1033 * url-ns.el (isInNet):
1034 * url-parse.el (url-generic-parse-url):
1035 * url-util.el (url-get-normalized-date): Replace `string-to-int'
1036 by `string-to-number'.
1037
1038 2005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * url.el (url-retrieve-synchronously): Work around the fact that
1041 url-http sometimes doesn't call the callback.
1042
1043 2005-04-04 Lute Kamstra <lute@gnu.org>
1044
1045 * url-handlers.el (url-handler-mode): Specify :group.
1046
1047 2005-02-26 James Cloos <cloos@jhcloos.com> (tiny change)
1048
1049 * url-history.el (url-have-visited-url): Don't barf if
1050 url-history-hash-table is nil.
1051
1052 2005-02-14 Michael Welsh Duggan <md5i@cs.cmu.edu>
1053
1054 * url-http.el (url-http-parse-headers): Test url-automatic-caching.
1055
1056 2005-01-22 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change)
1057
1058 * url-http.el (url-http-parse-headers) <302>: Reset url-http-data
1059 to nil, like for the 303 response.
1060
1061 2005-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1062
1063 * url.el (url-retrieve-synchronously): Use accept-process-output rather
1064 than sit-for.
1065
1066 2005-01-03 Klaus Straubinger <ksnetz@arcor.de> (tiny change)
1067
1068 * url-http.el (url-http-handle-authentication):
1069 Don't kill the current buffer.
1070
1071 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * url-handlers.el: Don't `require' everything eagerly.
1074
1075 2004-11-30 Paul Pogonyshev <pogonyshev@gmx.net>
1076
1077 * url-http.el (url-http-handle-cookies): Bind `url-current-object'
1078 to `url-http-cookies-sources' so that cookies are attributed to
1079 proper domain.
1080 (url-http): Make local variable `url-http-cookies-sources'.
1081
1082 2004-11-28 Andreas Schwab <schwab@suse.de>
1083
1084 * url-http.el (url-http-create-request): Don't add newline after
1085 the request data.
1086
1087 2004-11-20 Masatake YAMATO <jet@gyve.org>
1088
1089 * url.el (url-mm-callback): Delay the invocation
1090 of `mm-destroy-parts'. Invoke `mm-destroy-parts'
1091 when the buffer is killed.
1092
1093 2004-11-12 Masatake YAMATO <jet@gyve.org>
1094
1095 * url-mailto.el (url-mailto): Fix a typo in the comment.
1096
1097 2004-11-02 Masatake YAMATO <jet@gyve.org>
1098
1099 * url-imap.el (url-imap-open-host): Don't use
1100 `string-to-int'. The port returned by `url-port'
1101 is expected to be an integer.
1102
1103 * url-irc.el (url-irc): Ditto.
1104
1105 * url-news.el (url-news-open-host): Ditto.
1106
1107 * url-nfs.el (url-nfs-build-filename): Ditto.
1108
1109 2004-10-20 John Paul Wallington <jpw@gnu.org>
1110
1111 * url-gw.el (url-gateway-nslookup-host):
1112 Use `set-process-query-on-exit-flag'.
1113
1114 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1115
1116 * url-auth.el:
1117 * url-cache.el:
1118 * url-cid.el:
1119 * url-dired.el:
1120 * url-expand.el:
1121 * url-ftp.el:
1122 * url-gw.el:
1123 * url-imap.el:
1124 * url-irc.el:
1125 * url-misc.el:
1126 * url-news.el:
1127 * url-ns.el:
1128 * url-privacy.el:
1129 * url-proxy.el: Update header and footer.
1130
1131 * url-vars.el: Update header.
1132
1133 2004-10-16 Richard M. Stallman <rms@gnu.org>
1134
1135 * url.el (url-do-setup): Don't set url-passwd-entry-func.
1136
1137 * url-vars.el (url-passwd-entry-func): Var deleted.
1138 (mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
1139 (url-weekday-alist): Rename from weekday-alist.
1140 (url-monthabbrev-alist): Rename from monthabbrev-alist.
1141 (url-vars-unload-hook): Initialize hook var to hold the function.
1142
1143 * url-util.el (url-get-normalized-date): Use url-weekday-alist and
1144 url-monthabbrev-alist.
1145
1146 * url-misc.el: Load cl at compile time.
1147
1148 * url-mailto.el: Don't load cl.
1149 (url-mailto): Fix call to `push'.
1150
1151 * url-gw.el (url-open-telnet): Use read-passwd.
1152
1153 * url-auth.el (url-basic-auth, url-digest-auth): Use read-passwd.
1154
1155 2004-10-12 Simon Josefsson <jas@extundo.com>
1156
1157 * url-vars.el (url-gateway-method): Add new method `tls'.
1158
1159 * url-news.el (url-snews): Use nntp-open-tls-stream if
1160 url-gateway-method is tls.
1161
1162 * url-ldap.el (url-ldap-certificate-formatter):
1163 Use tls-certificate-information if ssl.el is not available.
1164
1165 * url-https.el (url-https-create-secure-wrapper): Use tls if ssl
1166 is not available.
1167
1168 * url-gw.el (url-open-stream): Support tls url-gateway-method.
1169 (url-open-stream): Likewise.
1170
1171 2004-10-10 Lars Hansen <larsh@math.ku.dk>
1172
1173 * url-auth.el:
1174 * url-cache.el:
1175 * url-cookie.el:
1176 * url-dired.el:
1177 * url-file.el:
1178 * url-ftp.el:
1179 * url-handlers.el:
1180 * url-history.el:
1181 * url-irc.el:
1182 * url-mailto.el:
1183 * url-methods.el:
1184 * url-misc.el:
1185 * url-news.el:
1186 * url-nfs.el:
1187 * url-parse.el:
1188 * url-privacy.el:
1189 * url-vars.el:
1190 * url.el:
1191 * url-util.el: Fix copyright notice.
1192
1193 2004-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * url-handlers.el (url-insert-file-contents): Use the URL to decide the
1196 encoding, not the buffer-file-name (which might not even exist).
1197
1198 2004-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * url-handlers.el (url-insert-file-contents): Decode contents.
1201
1202 2004-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1203
1204 * url-util.el (url-debug): Use with-current-buffer.
1205
1206 * url-nfs.el (url-nfs-file-attributes): Add id-format parameter.
1207 (url-nfs-create-wrapper): Use new backquote syntax.
1208
1209 * url-https.el (url-https-file-attributes): Add id-format param.
1210
1211 * url-http.el (url-http-head-file-attributes)
1212 (url-http-file-attributes): Add id-format parameter.
1213
1214 * url-handlers.el: Use new find-file-hook.
1215 (url-file-attributes): Add id-format parameter.
1216
1217 * url-file.el (url-file-create-wrapper): Use new backquote syntax.
1218 (url-file-file-attributes): Add id-format parameter.
1219
1220 * url-dav.el: Use with-current-buffer.
1221 (url-dav-process-response): Fix regexps and spurious quote.
1222 (url-dav-file-attributes): Add id-format param.
1223
1224 2004-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * url.el (url-retrieve): Use with-current-buffer.
1227
1228 * url-http.el (url-http-parse-headers, url-http-file-exists-p):
1229 Remove unused var `version'.
1230
1231 * url-handlers.el (url-handler-mode): New minor mode.
1232 (url-setup-file-name-handlers): Remove.
1233
1234 2004-04-12 John Paul Wallington <jpw@gnu.org>
1235
1236 * url-cookie.el (url-cookie-handle-set-cookie): Replace calls
1237 to obsolete `assoc-ignore-case' with calls to `assoc-string'.
1238
1239 2004-04-11 Dave Love <fx@gnu.org>
1240
1241 * url-mailto.el (url-mailto):
1242 * url-history.el (url-history-setup-save-timer):
1243 * url-cookie.el (url-cookie-setup-save-timer): Avoid warnings.
1244
1245 * url-file.el (url-file-build-filename): Don't use
1246 directory-sep-char.
1247
1248 * url-auth.el (url-register-auth-scheme): Fix `format' call.
1249
1250 * url-about.el (url-scheme-registry): Defvar.
1251 (url-about): Use text/plain.
1252
1253 * url-vars.el (cl): Don't require.
1254 (url): Add :version.
1255 (url-bug-address): Use bug-gnu-emacs.
1256
1257 * url-util.el (url-hexify-string): Don't give multibyte error
1258 for char <16.
1259 (mail-header-extract): Autoload.
1260
1261 * url-parse.el: Doc fixes.
1262
1263 * url-ldap.el (ldap): Require.
1264 (url-ldap): Fix `format' call.
1265 (url-ldap-certificate-formatter): Avoid warning.
1266
1267 * url-https.el (url-https-create-secure-wrapper): Use modern backquotes.
1268
1269 * url-dav.el (url-dav-rename-file): Fix args of `signal'.
1270 (url-intersection): New.
1271 (url-dav-supported-p): Use it.
1272 (url-dav-save-resource): Declare url-http-response-status special.
1273
1274 * url-cache.el (url-util): Require.
1275
1276 2004-04-10 Miles Bader <miles@gnu.org>
1277
1278 RCS keyword removal (only non-comment changes are enumerated here):
1279
1280 * url-vars.el (url-version): Use the constant string "Emacs"
1281 instead of calculating something from the RCS `State' keyword
1282 [the latter is almost entirely useless anyway].
1283
1284 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * url-methods.el:
1287 * url-parse.el: Don't require url-auto.
1288
1289 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * url: Imported the URL package from its own CVS repository into Emacs.
1292
1293 ===========================================================================
1294 ===========================================================================
1295 Copy of the ChangeLog file from URL's own CVS repository:
1296 ===========================================================================
1297 ===========================================================================
1298
1299 2003-07-16 Dave Love <fx@gnu.org>
1300
1301 * lisp/url.el (url-retrieve-synchronously): Revert last change.
1302 Should be revisited.
1303
1304 2003-06-26 Sam Steingold <sds@gnu.org>
1305
1306 * lisp/url-handlers.el (url-handlers-create-wrapper): Do not call
1307 method on invalid urls.
1308
1309 2003-05-29 Dave Love <fx@gnu.org>
1310
1311 * lisp/url.el (url-retrieve-synchronously): Use sleep-for, not
1312 sit-for. From monnier@gnu.org.
1313
1314 2002-11-04 Walter C. Pelissero <walter@pelissero.org>
1315
1316 * lisp/url-methods.el (url-scheme-register-proxy): Make sure to convert
1317 port numbers to integers when creating the URL objects for proxies.
1318
1319 2002-10-29 William M. Perry <wmperry@gnu.org>
1320
1321 * lisp/url-http.el (url-http-parse-headers): When doing a
1322 redirect, some broken software (sourceforge) sends a redirect to
1323 '/', which is blatantly illegal (see section 14.30 of the HTTP/1.1
1324 specification). I wish we could deal with such lame software
1325 appropriately (spank the authors), but this is the web, so we have
1326 to kow-tow to the servers.
1327
1328 2002-10-27 William M. Perry <wmperry@gnu.org>
1329
1330 * lisp/url-http.el (url-http-create-request): If we are talking to
1331 the default port for a the selected protocol, do NOT send the port
1332 in the HOST header. This fixes the login page at sourceforge.
1333
1334 2002-09-17 William M. Perry <wmperry@gnu.org>
1335
1336 * lisp/url-http.el (url-http-handle-cookies): New function to deal
1337 with cookie headers.
1338 (url-http-parse-headers): Call `url-http-handle-cookies' here so
1339 that cookie additions and deletions get handled immediately.
1340 This is so that sites that set cookies while doing redirects
1341 (my.yahoo.com, outlook web access, etc) work. This should also
1342 fix sites that delete cookies on invalid access or other error
1343 pages the user might not actually see.
1344 (url-http-parse-headers): Silently convert non-HEAD and non-GET
1345 methods to GET in redirects. Too many web sites do this now, and
1346 it is just likely to confuse users.
1347
1348 2002-05-17 Dave Love <fx@gnu.org>
1349
1350 * texi/url.txi: Start making it vaguely useful.
1351
1352 * texi/Makefile.in (install): Cope with Debian install-info.
1353 From Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Grossjohann).
1354
1355 2002-04-22 Dave Love <fx@gnu.org>
1356
1357 * lisp/url-misc.el (man): Autoload to avoid warning.
1358 (url-man): Don't require man here.
1359 (url-data): Generalize in line with the RFC.
1360
1361 * lisp/url-gw.el (url-open-stream): Remove obsolete `tcp' case.
1362
1363 * lisp/url-vars.el: Doc fixes.
1364 (url-mime-charset-string): New function.
1365 (url-mime-charset-string): Use it to set the variable.
1366 (url-set-mime-charset-string): New function.
1367 (set-language-environment-hook): Use it.
1368 (url-vars-unload-hook): New function.
1369
1370 * lisp/url-cookie.el (url-header-comparison): Delete.
1371 (url-cookie-handle-set-cookie): Use assoc-ignore-case to avoid assoc*.
1372 (url-cookie-save-interval): Make value agree with doc.
1373
1374 * lisp/url.el: Doc fixes.
1375 (url-mm-callback): Don't call mm-destroy-parts immediately for
1376 external viewing -- set up a process sentinel.
1377
1378 2002-02-02 William M. Perry <wmperry@gnu.org>
1379
1380 * lisp/Makefile.in (SOURCES): Remove mule-sysdp.el from the build rules.
1381
1382 2001-12-12 William M. Perry <wmperry@gnu.org>
1383
1384 * lisp/url-vars.el (url-nonrelative-link): Patch from Stefan
1385 Monnier to use ` instead of ^ to match the relative link.
1386
1387 2001-12-10 William M. Perry <wmperry@gnu.org>
1388
1389 * lisp/url-dav.el (url-dav-file-attributes): Fix bad call to
1390 plist-get (reversed args).
1391
1392 * lisp/url-file.el (url-file-build-filename): Make sure that we
1393 have a parsed URL in this function.
1394
1395 2002-01-22 Dave Love <fx@gnu.org>
1396
1397 * lisp/url-cache.el (url-cache-file-writable-p): Doc fix.
1398
1399 * lisp/url-imap.el (url-imap): Maybe disable multibyte.
1400 Bind coding-system-for-read. Require mm-util.
1401
1402 * lisp/url.el (url-do-setup): Use (featurep 'xemacs).
1403
1404 * lisp/mule-sysdp.el: Removed (obsolete).
1405
1406 2001-12-09 William M. Perry <wmperry@gnu.org>
1407
1408 * lisp/url-dav.el (url-dav-delete-something): Utility macro to
1409 remove an arbitrary resource.
1410 (url-dav-delete-directory): Use it.
1411 (url-dav-delete-file): Ditto.
1412 (url-dav-make-directory): New function.
1413 (url-dav-rename-file): New function.
1414 (url-dav-register-handler): New function to easily register a
1415 WebDAV-specific file-name-handler operation.
1416 (url-dav-file-name-all-completions, url-dav-file-name-completion):
1417 New functions that allow file-name completion for WebDAV resources.
1418
1419 2001-12-08 William M. Perry <wmperry@gnu.org>
1420
1421 * lisp/url-dav.el (url-dav-directory-files): New function to
1422 mimic `directory-files' for WebDAV.
1423 (url-dav-delete-directory): New function to mimic
1424 `delete-directory' for WebDAV.
1425
1426 2001-12-06 William M. Perry <wmperry@gnu.org>
1427
1428 * lisp/url-dav.el (url-dav-process-DAV:locktoken): Parse the
1429 DAV:locktoken hrefs into a usable format.
1430 (url-dav-process-response): Use an unwind-protect to make sure
1431 that we clean up the buffer, even if there is a parsing error.
1432 (url-dav-request): New function to act as the main entry point for
1433 making DAV requests. Takes care of building the XML document with
1434 appropriate namespaces, depth, etc, and parses the results.
1435 (url-dav-get-properties): Use new url-dav-request function.
1436 This is now just a thin wrapper around that to use PROPFIND and set any
1437 extra properties we are looking for.
1438 (url-dav-unlock-resource): New function to release a lock given a
1439 URL and a lock-token.
1440 (url-dav-process-DAV:getlastmodified)
1441 (url-dav-process-DAV:creationdate)
1442 (url-dav-process-DAV:iscollection)
1443 (url-dav-process-DAV:ishidden): Fix typos! Its url-dav-*, not
1444 url-dave-*!
1445 (url-dav-active-locks): New function to get a list of all the
1446 active locks for a resource.
1447 (url-dav-save-resource): New function to actually save a resource
1448 using the PUT method. I can now successfully save files to an
1449 HTTP server with some manual steps from a lisp-interaction buffer.
1450
1451 * lisp/url-http.el (url-http-wait-for-headers-change-function):
1452 Special case the 204/205 response codes. Some servers do not
1453 send back a 0 content-length for these, and we would hang.
1454 (url-http-parse-headers): Mark 204/205 response codes as
1455 'successful' so that the callbacks get activated.
1456 (url-http-options): Fix unbound variable usage.
1457
1458 * lisp/url-dav.el: Added full copyright information.
1459 (url-dav-process-response): Make sure that we create a DAV:status
1460 property when parsing a singleton response.
1461 (url-dav-file-attributes): If the properties returned did not have
1462 a successful HTTP response code, then ignore them and use the
1463 HEAD-based attributes.
1464
1465 * lisp/vc-dav.el: Added full copyright information.
1466
1467 * lisp/url-dav.el (url-dav-process-supportedlock-property):
1468 Deal with text nodes in DAV:supportedlock nodes.
1469 (url-dav-file-attributes-mode-string): This now gets the entire
1470 property list instead of just the DAV:supportedlock node.
1471 (url-dav-file-attributes): Make sure to pass the whole list in.
1472 (url-dav-file-attributes-mode-string): Now properly sets do 'd' mode.
1473 (url-dav-file-attributes-mode-string): Now uses the Apache mod_dav
1474 'executable' bit to set the 'x' mode. See `mod_dav's custom
1475 properties' at http://www.webdav.org/mod_dav/ for more details.
1476 (url-dav-find-parser): New function to find the proper parser for
1477 a node-type. Looks for
1478 url-dav-process-XXX (url-dav-process-DAV:prop), otherwise falls
1479 back to using url-dav-node-text. Caches the results on the nodes
1480 symbol name.
1481 (url-dav-dispatch-node): Utility routine to call a nodes handler easily.
1482 (url-dav-process-*): Rename most of the handlers and made them
1483 use url-dav-dispatch-node where appropriate.
1484 (url-dav-process-DAV:prop): Instead of using the dav-data-type
1485 property to dispatch the node, now uses dav-dispatch-node so that
1486 it is easy to add parsers for special nodes.
1487 (url-dav-process-DAV:depth, url-dav-process-DAV:resourcetype)
1488 (url-dav-process-DAV:locktype, url-dav-process-DAV:lockscope)
1489 (url-dav-process-DAV:getcontentlength)
1490 (url-dave-process-DAV:getlastmodified)
1491 (url-dave-process-DAV:creationdate)
1492 (url-dave-process-DAV:iscollection)
1493 (url-dave-process-DAV:ishidden): Aliases for the generic
1494 url-dav-process-foo-property routines.
1495 (url-dav-process-DAV:activelock)
1496 (url-dav-process-DAV:lockdiscovery): Can now correctly parse
1497 DAV:lockdiscovery nodes, so that we can find out who has a
1498 resource locked and properly parse the reponse to a LOCK request.
1499 (url-dav-process-DAV:status): Now parses out the numeric status
1500 from the HTTP response line.
1501 (url-dav-process-response): New function to handle all the
1502 parsing of an XML response from WebDAV. This handles all the
1503 logic of checking the response content-type to make sure it is
1504 XML, parses the tree, and interprets the tree.
1505 (url-dav-process-response): Make sure that all responses look
1506 like a DAV:multistatus response, even if we get a singleton
1507 response back. This will just make the upper layer logic simpler.
1508 (url-dav-get-properties): New optional argument NAMESPACES that
1509 specifies what namespaces to use in the XML request.
1510 (url-dav-get-properties): Got rid of the D: namespace in
1511 requests. It doesn't save that much space. Just use DAV:
1512 (url-dav-lock-identifier): New variable that should hold a URI
1513 pointing to contact information for the user. This will be used
1514 as the contents of the DAV:owner/DAV:href tag to identify the
1515 owner of a LOCK when requesting it. This will be shown to other
1516 users when the DAV:lockdiscovery property is requested, so make
1517 sure you are comfortable with it leaking to the outside world.
1518 (url-dav-lock-resource): New function to LOCK a dav resource.
1519
1520 2001-12-05 William M. Perry <wmperry@gnu.org>
1521
1522 * lisp/url-dav.el (url-dav-get-properties): New argument
1523 ATTRIBUTES that allows you to ask for specific properties instead
1524 of getting all properties via DAV:allprop.
1525
1526 * lisp/url-http.el (url-http-real-basic-auth-storage):
1527 New variable for normal HTTP basic authentication.
1528 (url-http-proxy-basic-auth-storage): New variable for HTTP proxy
1529 basic authentication.
1530 (url-http-handle-authentication): Follow new semantics for
1531 url-basic-auth-storage.
1532
1533 * lisp/url-auth.el (url-basic-auth-storage): Change meaning of
1534 this variable. It is now a symbol pointing to where we really
1535 want to store the authorization information. This fixes proxy
1536 auth and normal basic auth because of some local bindings that were
1537 making it impossible to store the credentials in the global binding.
1538 (url-basic-auth): Make sure we dereference url-basic-auth-storage
1539 everywhere.
1540
1541 * lisp/url-util.el (url-debug): Add new types 'dav and
1542 'retrieval to the customization list.
1543
1544 * lisp/url.el (url-retrieve-synchronously): Put in some debugging
1545 statements.
1546
1547 * lisp/url-http.el (url-http-head-file-attributes): Rename old
1548 url-http-file-attributes so that we can have a smarter one that
1549 tries WebDAV first, then HEAD.
1550 (url-http-file-attributes): New smart version that tries WebDAV first.
1551 (url-http-options): New function that returns information gleaned
1552 from an OPTIONS request for a URL. Returns a property list
1553 returning the methods supported for the resource, what DAV and
1554 DASL levels are supported, p3p information, and whether
1555 byte-ranges are supported or not.
1556 (url-http-wait-for-headers-change-function): If we got a 0-byte
1557 content-length, activate the callback immediately.
1558 (url-http-wait-for-headers-change-function): For content-length
1559 responses with actual body-data in the chunk we are handling, call
1560 url-http-content-length-after-change-function with the remaining
1561 data. Otherwise we can deadlock if the headers and the entire
1562 body exist arrive in one chunk.
1563
1564 * lisp/url-dav.el: New file to contain the WebDAV
1565 (http://www.webdav.org/) implementation.
1566 (url-dav-supported-p): Cheap way to figure out whether we will be
1567 able to do DAV at all. We rely on the XML parser expanding
1568 namespaces for us, and currently you need a patched version of
1569 xml.el to do this. Patch sent to author for consideration.
1570 (url-dav-file-attributes): Much more complete version of
1571 `file-attributes' using the WebDAV PROPFIND method. Now correctly
1572 finds out whether something is a directory (a WebDAV collection),
1573 the last modification time, and permissions (based on the
1574 DAV:supportedlock information).
1575 (url-dav-get-properties): Generic interface to get WebDAV
1576 properties for a URL. Can specify an optional `depth' parameter
1577 to tell the web server how many directory (collection) levels to
1578 recurse when retrieving the property lists. Returns an assoc
1579 list keyed off of the resource, the cdr of which is a property list.
1580 (url-dav-datatype-attribute): We support the XML-Data note
1581 (http://www.w3.org/TR/1998/NOTE-XML-data) to figure out what the
1582 datatypes of attributes are. Currently only date, dateTime, int,
1583 number, float, boolean, and uri are supported.
1584
1585 2001-12-04 William M. Perry <wmperry@gnu.org>
1586
1587 * lisp/url-handlers.el (file-name-absolute-p): New hooked
1588 version. If the filename matches our regexp, then it is always
1589 absolute, so just return `t'.
1590 (expand-file-name): New hooked version. If the fragment is an
1591 absolute file or URL, then expand it relative to '/'.
1592 (url-handler-regexp): New regexp for specific schemes that we
1593 want the file-name-handlers to work off of.
1594 (url-setup-file-name-handlers): Use it when installing the handlers.
1595
1596 * lisp/url-http.el (url-http-find-free-connection): Better logging
1597 about whether we are reusing an existing connection or not.
1598
1599 * lisp/url-methods.el (url-scheme-register-proxy): Fix bad call
1600 to string-match instead of match-string (and with reversed
1601 arguments even).
1602
1603 * lisp/url-http.el (url-http-debug): Change to now use the
1604 generic url-debug function to do the actual logging. Still a
1605 separate function so that we can do our magic on the network
1606 connection if the user quits while we are downloading.
1607
1608 * lisp/url-handlers.el (url-file-handler): Now logs the result of
1609 the hooked or real call.
1610
1611 * lisp/url-util.el (url-debug): New function for generic debug logging.
1612
1613 2001-11-28 William M. Perry <wmperry@gnu.org>
1614
1615 * lisp/url-imap.el (url-imap-open-host): Use backquote.
1616 (url-imap): Now switches to 'login as the imap authenticator if
1617 the URL provides a username and password.
1618
1619 * lisp/url-handlers.el (url-setup-file-name-handlers): Use cl &
1620 push to replace some strange logic in here.
1621 (url-run-real-handler): New function to run the real hooks in
1622 case we get a false positive or an operation that we do not
1623 support. The old way disabled _ALL_ file-name-handlers when
1624 we hit something we didn't understand - this disables JUST us.
1625 (url-file-handler): Remove the logic about removing the leading
1626 '/' off of the first argument... it may not be safe to always
1627 assume that the first argument is the one we are acting on -
1628 `default' is the second argument for expand-file-name for example.
1629 (url-setup-file-name-handlers): Use url-nonrelative-link
1630 directly. This means that you must type in the URL directly
1631 without prefixing it with a '/'.
1632
1633 (gnus-cache-articles-in-group "nnml+mail:comp.emacs-devel")
1634
1635 Ends up calling (expand-file-name "nnml+mail:comp.emacs-devel" ...)
1636 which activates us (because 'nnml+mail' _is_ a valid scheme name
1637 for a URI). We get thoroughly confused and end up returning
1638 `nil' when we shouldn't.
1639
1640 2001-11-26 William M. Perry <wmperry@gnu.org>
1641
1642 * lisp/url-handlers.el (file-writable-p): Add NULL handler for
1643 this so that visiting a URL directly will work.
1644 (file-symlink-p): Ditto.
1645 (url-insert-file-contents): If `visit' is non-nil then make sure
1646 we set buffer-file-name. After these changes you can visit
1647 http://www.gnu.org/ directly from the minibuffer.
1648 (url-insert-file-contents): When inserting the file contents,
1649 use a save-excursion so that we behave just like the original.
1650
1651 2001-11-25 William M. Perry <wmperry@gnu.org>
1652
1653 * lisp/url-util.el (url-hexify-string): Fix bad use of mapconcat.
1654
1655 2001-11-24 William M. Perry <wmperry@gnu.org>
1656
1657 * lisp/url-about.el (url-about): New loader scheme to handle
1658 about:foo URLs. Automatically tries to find a `url-about-foo'
1659 function to display the actual data.
1660 (url-about-protocols): Implement about:protocols.
1661
1662 * lisp/url-http.el (url-http): Make sure that we signal an error
1663 when we cannot open a network connection for whatever reason.
1664 Before, it would just silently clean up after itself and the user
1665 got absolutely no indication that an error had occurred. If the
1666 error should truly be ignored, the caller should do that for us.
1667 (url-http-chunked-encoding-after-change-function): Doh! Need to
1668 user marker-position in some log messages now that
1669 url-http-chunked-start is a marker.
1670
1671 2001-11-22 William M. Perry <wmperry@gnu.org>
1672
1673 * lisp/url-https.el: Fixed definition of url-https - was using the
1674 wrong signature. Too much cut & paste.
1675 (url-https-create-secure-wrapper): Fix so that url-https works
1676 at all. Was not taking a null `method' into account when calling
1677 the wrapped function so url-https tried to call url-http-nil. *sigh*
1678
1679 * lisp/url-http.el
1680 (url-http-chunked-encoding-after-change-function): Add some
1681 feedback when not debugging about what content-type and chunk # we
1682 are reading.
1683 (url-http-chunked-encoding-after-change-function): Use a marker
1684 for url-http-chunked-start so that we can safely delete the
1685 chunk-tokens instead of just marking them as invisible.
1686 (url-http-chunked-encoding-after-change-function): Actually delete
1687 the chunk-tokens. Now that we are not run from 'real'
1688 after-change functions, this is safe, and the right thing to do.
1689 Otherwise the HTML parser still saw them and inferred all sorts of
1690 bad things about the document (ie: nothing had a title!)
1691
1692 2001-11-21 William M. Perry <wmperry@gnu.org>
1693
1694 * lisp/url-http.el (url-http-debug): Document this variable.
1695 People other than I might want to use it.
1696 (url-http-debug): Put some code in here to check quit-flag
1697 directly. When the chunked encoding went into a tight spin, your
1698 Emacs would be wedged forever. This short-circuits all the
1699 after-change functions and signals an error.
1700 (url-http-debug): If url-http-debug is non-nil and non-t, then log
1701 the debug messages using `message' as well as sending them to the
1702 buffer.
1703 (url-http-chunked-encoding-after-change-function): Got rid of the
1704 no-initial-crlf. Had an epiphany and I can just infer this from
1705 url-http-chunked-counter being 0.
1706 (url-http-chunked-encoding-after-change-function): Move the debug
1707 statement about reading chunk #foo into the loop so that each
1708 chunk will have a log message associated with it.
1709 (url-http-chunked-encoding-after-change-function): Make sure to
1710 set read-next-chunk to nil when the regular expression match fails
1711 to fire. Otherwise we could loop forever.
1712 (url-http-chunked-encoding-after-change-function): Tweak the
1713 regular expression to be a little less greedy when looking for a chunk.
1714 (url-http-wait-for-headers-change-function): Remove the last
1715 argument when calling
1716 url-http-chunked-encoding-after-change-function. It is no longer
1717 needed. I should use my brain sometime.
1718
1719 * lisp/url-vars.el (and): Fix feature test for xemacs and
1720 coding-system-list behavior.
1721
1722 * lisp/url-http.el
1723 (url-http-chunked-encoding-after-change-function): Add optional
1724 no-initial-crlf flag that modifies the regular expression.
1725 This is only set from url-http-wait-for-headers-change-function so that
1726 the initial CRLF in the HTTP headers is not swallowed.
1727 (url-http-chunked-encoding-after-change-function): Fix a few
1728 off-by-one errors by using (match-end 0) instead of 1.
1729 (url-http-chunked-encoding-after-change-function): Add a few
1730 url-http-debug calls to help track down problems in the chunked
1731 encoding.
1732 (url-http-chunked-encoding-after-change-function): The chunk
1733 reading in here is now in a while loop so that if Emacs feeds us a
1734 chunk of data that happens to contain more than one 'chunk'
1735 delimiter, we behave correctly.
1736 (url-http-wait-for-headers-change-function): Make sure that we
1737 pass no-initial-crlf to
1738 url-http-chunked-encoding-after-change-function when passing
1739 initial data to the decoder.
1740 (url-http-generic-filter): url-http-debug statement so we can tell
1741 when/where our after-change-functions are being called.
1742
1743 2001-10-11 Dave Love <fx@gnu.org>
1744
1745 * lisp/url-handlers.el: Doc fixes.
1746 (string-match): Use (featurep 'xemacs).
1747
1748 * lisp/url-methods.el (url-scheme-get-property): Avoid `mapc'.
1749
1750 * lisp/url-proxy.el (url-find-proxy-for-url): Avoid `pop'.
1751
1752 * lisp/url-vars.el (url-running-xemacs): Delete.
1753 (url-gateway-unplugged): New variable.
1754
1755 * lisp/url-gw.el (url-open-stream): Use url-gateway-unplugged.
1756 Comment out OS/2 stuff.
1757
1758 2001-10-05 Dave Love <fx@gnu.org>
1759
1760 * lisp/url-mailto.el (url-mailto): Don't send auto-generated mail
1761 without confirmation.
1762
1763 2001-10-02 Dave Love <fx@gnu.org>
1764
1765 * lisp/url-http.el (url-http-create-request): Check cache for
1766 proxy-obj, if defined, rather than url.
1767 (url-http): Use dolist, not mapc (runtime cl dependency).
1768
1769 * lisp/url-methods.el: Maybe require cl at runtime.
1770 (url-scheme-register-proxy): Fix fetching from environment.
1771 Don't concat a number.
1772
1773 2001-10-01 Dave Love <fx@gnu.org>
1774
1775 * lisp/url-parse.el: Use modern backquote syntax.
1776
1777 * lisp/url-vars.el (url-uncompressor-alist): Add bzip2.
1778 (url-mail-command): Prefer compose-mail.
1779 (tcp-binary-process-input-services): Comment out.
1780 (url-working-buffer): New constant.
1781
1782 * lisp/url-util.el (url-extract-mime-headers): New function.
1783
1784 * lisp/url-mailto.el (url-mailto): Set source-url. Don't add
1785 User-Agent.
1786
1787 2001-09-20 Dave Love <fx@gnu.org>
1788
1789 * lisp/url-http.el (url-http-create-request): Don't concat a number.
1790
1791 2001-06-05 Dave Love <fx@gnu.org>
1792
1793 * lisp/url.el (url-do-setup): Doc fix. Don't try to frob
1794 tcp-binary-process-input-services. Remove function wrapper for lambda.
1795 (url-retrieve): Barf with sensible message if url-type is null.
1796
1797 * lisp/url-http.el (url-http): Don't try to set process
1798 coding-system here -- done in url-gw.
1799
1800 * lisp/url-gw.el (url-gw-inhibit-code-conversion): Remove.
1801 (url-open-stream): Bind coding-system-for{read,write} when setting
1802 up the connexion. Don't call url-gw-inhibit-code-conversion.
1803
1804 2001-05-24 William M. Perry <wmperry@gnu.org>
1805
1806 * lisp/url.el (url-retrieve-synchronously): Avoid accept-process-output
1807 in url-retrieve-synchronously.
1808
1809 2001-05-23 William M. Perry <wmperry@gnu.org>
1810
1811 * lisp/url.el (url-retrieve-synchronously): Don't put a timeout on
1812 accept-process-output. This is evidently causing hangs in Emacs
1813 21 when viewing complex pages with images or stylesheets.
1814 www.yahoo.com is now viewable.
1815
1816 * lisp/url-gw.el (url-open-stream): Avoid using mule-sysdp
1817 (mule-inhibit-code-conversion) and just have a local function that
1818 does this minimal cruft.
1819 (url-gw-inhibit-code-conversion): New function to turn off code
1820 conversion in a process.
1821
1822 2001-05-22 William M. Perry <wmperry@gnu.org>
1823
1824 * lisp/url.el (url-retrieve-synchronously): Use lexical-let so
1825 that we can allow multiple asynch retrievals to happen at once.
1826 (url-retrieve-synchronously): Use a much smaller timeout when
1827 doing the accept-process-output. This gets rid of the long delays
1828 if you are on a fast net connection and retrieve small documents
1829 that finish asynchronously before the first accept-process-output
1830 can be run. All hail broadband and 100Mb in the house!
1831 (url-retrieve-synchronously): Add documentation for this function.
1832 (url-retrieve): Ditto.
1833 (url-mm-url): Ditto.
1834
1835 * lisp/url-vars.el: Replaced `HTTP/1.0' with just `HTTP' in some
1836 documentation strings. Ok, so I'm anal.
1837
1838 * lisp/url-methods.el (url-scheme-methods): Add default methods
1839 for file-directory-p and file-truename.
1840
1841 2001-05-22 Dave Love <fx@gnu.org>
1842
1843 * lisp/url-auth.el (url-warn): Autoload.
1844
1845 * lisp/url-proxy.el (url-warn): Autoload.
1846
1847 * lisp/url-nfs.el: Fix `file-truname' typo.
1848
1849 * lisp/url-news.el: Require cl when compiling.
1850 (url-warn, gnus-group-read-ephemeral-group): Autoload.
1851 (url-nntp-default-port, url-news-default-port, url-nntp): Delete.
1852 (url-news-fetch-newsgroup): Declare gnus-group-buffer special.
1853
1854 * lisp/url-util.el (mule-decode-string): Don't autoload.
1855 (url-hexify-string): Just barf on multibyte characters.
1856 (url-generate-unique-filename): New function.
1857
1858 * lisp/url-file.el (url-file): Use url-generate-unique-filename,
1859 not mm-generate-unique-filename.
1860
1861 * lisp/url-http.el: Declare things special in various places.
1862 (url-http-activate-callback): Don't set
1863 url-http-real-after-change-function.
1864
1865 2001-05-22 William M. Perry <wmperry@gnu.org>
1866
1867 * lisp/url-http.el (url-http-attempt-keepalives): New variable to
1868 control whether we try to do keep-alives for our connections.
1869 (url-http-version): New variable to control whether we advertise
1870 ourselves as an HTTP/1.1 client or not. This can be useful for
1871 avoiding chunked encoding, and other 1.1 features we may not have
1872 fully implemented yet.
1873 (url-http-create-request): Honor the new variables.
1874
1875 2001-05-21 Dave Love <fx@gnu.org>
1876
1877 * lisp/url-vars.el (mm-mime-mule-charset-alist): Don't readjust it
1878 in XEmacs.
1879 (url-mime-charset-string): Don't reverse the list before sorting.
1880
1881 2001-05-17 William M. Perry <wmperry@gnu.org>
1882
1883 * lisp/url-http.el (url-http-generic-filter): Avoid using
1884 after-change-functions natively. There are just too many ways
1885 that this screws up in Emacs 21. Use a filter function on the
1886 process instead, and call the hook on
1887 url-http-after-change-function manually. [Actually, it will work
1888 in Emacs 21, but one problem that has been fixed in Emacs 21
1889 exists in Emacs 20. -- fx]
1890
1891 * lisp/url-vars.el (url-mime-charset-string): sort-coding-systems
1892 does not exist on older versions of Emacs, or any version of
1893 XEmacs. Do not call it unless it is bound.
1894
1895 2001-05-17 Dave Love <fx@gnu.org>
1896
1897 * lisp/url-http.el (url-http-create-request): Fix non-GET requests.
1898
1899 2001-05-16 Dave Love <fx@gnu.org>
1900
1901 * lisp/url-vars.el: Doc fixes. Require mm-util.
1902 (url-mime-charset-string): New variable.
1903
1904 * lisp/url-http.el: Doc fixes.
1905 (url-http-create-request): Rearrange how we assemble the request.
1906 Avoid generating bogus requests with an empty real-fname.
1907 (url-http-handle-authentication): Declare status and success special.
1908 (url-http): Call mm-disable-multibyte. Set process buffer's
1909 coding systems to binary.
1910
1911 * lisp/url-misc.el (url-data): Call mm-disable-multibyte.
1912
1913 * lisp/url-file.el: Don't require mule-sysdp. Fix `file-truname' typo.
1914 (url-file-find-possibly-compressed-file): Doc fix.
1915 (url-file): Bind coding-system-for-read. Call mm-disable-multibyte.
1916
1917 * lisp/url-cache.el: Don't require mule-sysdp.
1918 (url-store-in-cache): Avoid mule-write-region-no-coding-system.
1919
1920 * lisp/url.el: Don't require mule-sysdp.
1921 (url-retrieve): Only set text properties if url is a string.
1922
1923 2001-05-14 Dave Love <fx@gnu.org>
1924
1925 * lisp/url-http.el (url-http-create-request):
1926 Declare proxy-object, proxy-info special.
1927 (url-http-handle-authentication): Declare success special.
1928
1929 2001-05-12 Dave Love <fx@gnu.org>
1930
1931 * lisp/url-http.el: Revert last change.
1932
1933 2001-05-10 Dave Love <fx@gnu.org>
1934
1935 * lisp/url-http.el (url-http-generic-after-change-function):
1936 Make it permanent-local.
1937
1938 2001-05-05 Dave Love <fx@gnu.org>
1939
1940 * lisp/url-http.el: Autoload some functions.
1941 (cl): Require when compiling.
1942 (url-http-extra-headers): Defvar when compiling.
1943 (url-http): Treat after-change-functions as a local hook.
1944
1945 * lisp/url-history.el (url-parse): Require.
1946 (url-do-setup): Autoload.
1947
1948 * lisp/url-gw.el: Require url-vars. Autoload some functions.
1949
1950 * lisp/url-file.el: Require mailcap. Require cl when compiling.
1951 Use (featurep 'xemacs).
1952 (url-file-build-filename): Bind pos-index.
1953 (url-file): Call url-find-file-dired, not url-dired-find-file.
1954
1955 * lisp/url-dired.el: Add copyright notice. Autoload some functions.
1956 (url-dired-minor-mode-map): Use (featurep 'xemacs).
1957 (url-dired-find-file-mouse): Use mouse-set-point, not event-point.
1958 (url-find-file-dired): Rename from one version of url-dired-find-file.
1959
1960 * lisp/url-cid.el: Don't require widget. Require mm-decode
1961 unconditionally.
1962
1963 * lisp/url-util.el: Autoload mule-decode-string,
1964 timezone-parse-date, timezone-make-date-arpa-standard.
1965 (url-unreserved-chars): Fix list per RFC 2396.
1966 (url-hexify-string): Maybe string-make-unibyte.
1967
1968 * lisp/url-news.el: Require nntp.
1969
1970 * lisp/url-imap.el: Require cl when compiling. Require nnimap
1971 unconditionally.
1972
1973 2001-05-04 Dave Love <fx@gnu.org>
1974
1975 * lisp/url-handlers.el (url-file-local-copy): Use make-temp-file,
1976 not non-existent mailcap-generate-unique-filename.
1977
1978 * lisp/url-privacy.el: Require url-vars. Require cl when compiling.
1979
1980 * lisp/url-parse.el: Require url-vars.
1981 Autoload url-scheme-get-property.
1982
1983 * lisp/url-nfs.el: Require cl when compiling. Test for XEmacs
1984 with featurep.
1985
1986 * lisp/url-mailto.el: Require cl when compiling.
1987
1988 * lisp/url-cookie.el (url-cookie-handle-set-cookie):
1989 Call url-parse-args, not url-util-parse-args.
1990
1991 * lisp/url-cache.el (url-cache-expired): Remove bogus `return'.
1992
1993 2001-04-09 Dave Love <fx@gnu.org>
1994
1995 * lisp/mule-sysdp.el (mule-detect-coding-version)
1996 (mule-code-convert-region, mule-inhibit-code-conversion)
1997 (mule-write-region-no-coding-system, mule-encode-string)
1998 (mule-decode-string, mule-truncate-string)
1999 (mule-find-charset-region, mule-coding-system-name)
2000 (mule-find-coding-system, mule-make-iso-character): Grok Mule 5.0.
2001 [There must be a better way.]
2002 (mule-coding-system-p, string-width): Use defalias.
2003
2004 2001-01-03 Sam Steingold <sds@gnu.org>
2005
2006 * lisp/url-http.el (url-http-wait-for-headers-change-function):
2007 set `url-http-end-of-headers' to 0 for HTTP 0.9.
2008
2009 2001-01-02 Sam Steingold <sds@gnu.org>
2010
2011 * lisp/url-auth.el (provide): `url-auth', not `urlauth'.
2012
2013 2000-12-22 Dave Love <fx@gnu.org>
2014
2015 * lisp/url-history.el (url): Don't require (to avoid recursion).
2016 (cl): Require when compiling.
2017
2018 * lisp/url-http.el (url-auth): Require.
2019 (url-http-handle-authentication): Fix typo.
2020
2021 * lisp/url-cookie.el (url-cookie-setup-save-timer): Fix typo.
2022
2023 2000-12-20 Dave Love <fx@gnu.org>
2024
2025 * lisp/url.el: Require mm-decode, mm-view when compiling.
2026 <not (fboundp 'puthash)>: Define puthash and
2027 autoload other has functions rather than using cl-...hash.
2028 (url-warn): Define.
2029
2030 * lisp/url-ns.el, lisp/url-methods.el, lisp/url-http.el:
2031 Avoid cl-...hash functions.
2032
2033 * lisp/url-history.el: Avoid cl-...hash functions.
2034 (url): Require.
2035
2036 * lisp/url-gw.el, lisp/url-cookie.el: Require cl only when compiling.
2037
2038 2000-10-03 William M. Perry <wmperry@aventail.com>
2039
2040 * lisp/url-util.el (url-get-url-at-point): Guard against 'url'
2041 getting set to nil due to bad string matching. Subsequent matches
2042 would then choke because we passed string-match a nil.
2043
2044 * lisp/url-http.el (url-http-parse-headers): Need to make the
2045 connection as 'free' when we get a 304 response (found in cache),
2046 or when a keep-alive connection timed out, it would re-parse the
2047 headers and dispatch to the callback again. Eek.
2048
2049 2000-10-02 William M. Perry <wmperry@aventail.com>
2050
2051 * lisp/url-http.el (url-http-chunked-encoding-after-change-function):
2052 implement chunked transfer-coding.
2053 (url-http-create-request): We can now advertise ourselves as a 1.1
2054 compliant browser!
2055
2056 2000-07-28 Sam Steingold <sds@gnu.org>
2057
2058 * lisp/url-methods.el (url-scheme-default-loader): `callback' and
2059 `cbargs' are optional args (for calling from w3).
2060 (url-scheme-register-proxy): Typos fixes: `url-match' replaced
2061 with `string-match' and `protocol' with `scheme'.
2062
2063 2000-07-18 Sam Steingold <sds@gnu.org>
2064
2065 * lisp/url-handlers.el (require 'url): For url-retrieve-synchronously.
2066 * lisp/url-history.el (url-history-save-interval): Avoid circularity.
2067
2068 2000-07-10 William M. Perry <wmperry@aventail.com>
2069
2070 * lisp/mule-sysdp.el (mule-make-iso-character): If we are not in
2071 mule, and the character requested is > 255, then return "~"
2072 instead of letting whoever call us signal an error when they try
2073 to insert the character.
2074 (mule-make-iso-character): Also wrap the whole thing in a
2075 condition case and return "~" on error, in case make-char bombs on us.
2076
2077 * lisp/url-cid.el (url-cid): Fix stupid mistake in the loader
2078 for cid parts.
2079
2080 * lisp/url-util.el (url-display-percentage): New routine that uses
2081 the progress bar under XEmacs if available. Looks very sexy under
2082 XEmacs/GTK hacked to use the GNOME statusbar.
2083
2084 * lisp/url-http.el
2085 (url-http-content-length-after-change-function): Use new function
2086 url-display-percentage instead of url-lazy-message.
2087
2088 2000-01-27 William M. Perry <wmperry@aventail.com>
2089
2090 * lisp/url-file.el (url-file-build-filename): Work around for
2091 differences in ange-ftp / efs handling of port numbers other than 21.
2092
2093 1999-12-24 William M. Perry <wmperry@aventail.com>
2094
2095 * lisp/url-irc.el: Added pointer to draft specification for the
2096 IRC URL so people don't think I'm crazy.
2097
2098 * configure.in: Checks to make sure that Gnus was found, since we
2099 HAVE to have it now. Removed conditional compilation of url-cid.el.
2100
2101 1999-12-16 Eric Marsden <emarsden@mail.dotcom.fr>
2102
2103 * lisp/url-util.el (url-get-url-at-point): Allow URLs wrapped in
2104 () to have periods at the end of the chunk.
2105
2106 1999-12-14 William M. Perry <wmperry@aventail.com>
2107
2108 * lisp/url-misc.el (url-man): Implement `man' URL types.
2109 (url-info): Autoload.
2110 (url-man): Ditto.
2111 (url-rlogin): Ditto.
2112 (url-telnet): Ditto.
2113 (url-tn3270): Ditto.
2114 (url-generic-emulator-loader): Ditto.
2115
2116 * lisp/url-https.el (url-https-create-secure-wrapper): New macro
2117 to wrap arbitrary `http' methods with the appropriate magic to
2118 turn SSL on.
2119 (file-exists-p): Use it.
2120 (file-readable-p): Use it.
2121 (file-attributes): Use it.
2122
2123 * lisp/url-news.el (url-news-fetch-newsgroup): When building the
2124 server spec for Gnus, make sure we set
2125 nntp-open-connection-function directly, so that other news-related
2126 functions above us can set it.
2127 (url-snews): Implement `snews' URLs using `nntp-open-ssl-stream'.
2128 (url-nntp): Autoload.
2129 (url-snews): Ditto.
2130 (url-news): Ditto.
2131
2132 1999-12-12 William M. Perry <wmperry@aventail.com>
2133
2134 * lisp/url-http.el (url-http-parse-response): New function to
2135 parse just the HTTP response code out of the buffer, without
2136 taking any other actions.
2137 (url-http-wait-for-headers-change-function): Use it here when we
2138 know we have an HTTP/1.x response.
2139 (url-http-wait-for-headers-change-function): Special case a
2140 response code of '304' or there could be some delays waiting for
2141 keep-alives to time out on cached documents with no known
2142 content-length on the server.
2143
2144 1999-12-11 William M. Perry <wmperry@aventail.com>
2145
2146 * aclocal.m4 (AC_CHECK_CUSTOMLOADS): Don't use $(EMACS) in here -
2147 the Makefile does that for us. We just need to provide what files
2148 to load/functions to run.
2149
2150 * lisp/url-imap.el (url-imap-open-host): Need to bind
2151 nnimap-server-buffer or `nnimap-open-server' chokes trying to use
2152 the current buffer as the IMAP server buffer, which fails miserably.
2153
2154 1999-12-11 Simon Josefsson <jas@pdc.kth.se>
2155
2156 * lisp/url-imap.el: Initial (rough) implementation for IMAP urls.
2157
2158 1999-12-11 William M. Perry <wmperry@aventail.com>
2159
2160 * lisp/url-file.el (url-file-asynch-callback): Make the checks for
2161 ange-ftp vs. efs calling semantics consistent, so that if someone
2162 has NEITHER of them loaded, everything should still work.
2163
2164 * lisp/url-handlers.el (url-copy-file): Autoload.
2165 (url-file-local-copy): Ditto.
2166 (url-insert-file-contents): Ditto.
2167 (url-setup-file-name-handlers): Ditto.
2168
2169 1999-12-10 William M. Perry <wmperry@aventail.com>
2170
2171 * lisp/url-http.el (mail-parse): Since we use functions from here,
2172 we should require it, eh?
2173
2174 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
2175
2176 * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
2177 if nil.
2178 (url-cookie-generate-header-lines): Use it.
2179
2180 1999-12-06 William M. Perry <wmperry@aventail.com>
2181
2182 * lisp/mule-sysdp.el (mule-code-convert-region): Deal with Mule
2183 4.1 gracefully.
2184
2185 * lisp/url-news.el: Reimplemented news and nntp URL support.
2186 No longer bothers to check for outdated Gnus versions, since this
2187 will not work without them anyway.
2188
2189 1999-12-05 Dave Love <fx@gnu.org>
2190
2191 * lisp/url-methods.el, lisp/url-proxy.el, lisp/url-util.el,
2192 lisp/url.el:
2193 Require url-parse.
2194
2195 1999-12-05 William M. Perry <wmperry@aventail.com>
2196
2197 * lisp/url-http.el (url-http-find-free-connection): Spit out a
2198 message when we have to contact a host so the user always gets
2199 at least some feedback.
2200
2201 * lisp/url-expand.el (url-expander-remove-relative-links): Moved and
2202 renamed function.
2203 (url-default-expander): Use it.
2204
2205 * lisp/url-file.el (url-file-asynch-callback): Deal with just efs-auto
2206 as well as efs.
2207 (url-file): Add default content-type of application/octet-stream if
2208 none known.
2209 (url-file): Correct bad call to url-host-is-local-p.
2210
2211 * lisp/url-handlers.el (url-insert-file-contents): Emacs doesn't
2212 like buffer-substring with nil arguments.
2213 (url-copy-file): Use mm-destroy-parts instead of just killing
2214 the buffer. Use defined interfaces when available!
2215 (url-insert-file-contents): Ditto.
2216
2217 * lisp/url-http.el (url-http-create-request): Lots of changes to
2218 get proxying working.
2219
2220 * lisp/url-methods.el (url-scheme-register-proxy): New function to
2221 find and register a proxy for a specific scheme.
2222 (url-scheme-get-property): Use it when we load a URL scheme for
2223 the first time.
2224
2225 * lisp/url-util.el (url-get-url-at-point): Re-integrated.
2226
2227 1999-12-04 William M. Perry <wmperry@aventail.com>
2228
2229 * lisp/url-file.el (url-file): Signal an error if
2230 url-file-build-filename could not find the filename.
2231
2232 1999-12-01 William M. Perry <wmperry@aventail.com>
2233
2234 * lisp/url.el (url-retrieve): Use url-history-update-url instead
2235 of manipulating the hash table directly.
2236
2237 * lisp/url-history.el (url-completion-function): New function to
2238 use for reading a URL with completion.
2239 (url-history-update-url): New function to hide the hashtable
2240 implementation from people inserting things into the history.
2241
2242 1999-11-30 William M. Perry <wmperry@aventail.com>
2243
2244 * lisp/url-proxy.el (url-proxy): Minor tweaks to get proxy support
2245 working.
2246
2247 * lisp/url-parse.el (url-generic-parse-url): Fix bad call to
2248 url-parse-args, which had changed the type of arguments it expects.
2249
2250 * lisp/url-handlers.el (url-insert-file-contents): Ditto.
2251 (url-copy-file): Ditto.
2252
2253 * lisp/url.el (url-mm-callback): Use mm-destroy-parts instead of
2254 just killing the buffer. Use defined interfaces when available!
2255
2256 * aclocal.m4 (AC_EMACS_LISP): Correctly redirect things out to
2257 AC_FD_CC so they show up in config.log
2258 (AC_EMACS_CHECK_LIB): Duh, fixed stupid mistake that would make
2259 this always return 't' instead of 'yes' on successfully finding
2260 the library.
2261
2262 * lisp/url-http.el (url-http-parse-headers): Add some
2263 DAV-specific error codes.
2264
2265 * lisp/url.el (url-retrieve): Allow pre-parsed URLs to be passed in.
2266 (url-retrieve-synchronously): Duh, make this function actually
2267 work again. Numerous problems with it, including variable name
2268 collisions - I love dynamically scoped lisps!
2269
2270 * lisp/url-nfs.el (url-nfs-create-wrapper): New function to create
2271 wrappers onto the appropriate file-based URLs for file-name-handlers.
2272
2273 * lisp/url-ftp.el: Moved the FTP stuff into it's own file - it
2274 might get messy with file-name-handlers and things.
2275
2276 * lisp/url-http.el (url-http-clean-headers): Fix problem when
2277 using 'HEAD' requests. Thou shalt not change the length of the
2278 region during an after-change-function.
2279
2280 * lisp/url-methods.el (url-scheme-methods): New variable that
2281 holds a list of the methods/variables we look for in a URL scheme.
2282 (url-scheme-get-property): Use it.
2283
2284 1999-11-29 William M. Perry <wmperry@aventail.com>
2285
2286 * lisp/url-http.el (url-http-file-attributes): Reimplement.
2287 (url-http-file-exists-p): Ditto.
2288
2289 * lisp/url-nfs.el: Reimplemented the `nfs' URL scheme.
2290
2291 * lisp/url-file.el (url-file-create-wrapper): New macro to create
2292 file-name-handler stubs for all the FTP/FILE stuff.
2293
2294 * lisp/url-handlers.el: New file to handle file-name-handler-alist
2295 cruft. Generic interface on top of functions that each URL
2296 loader provides, if capable.
2297
2298 1999-11-27 William M. Perry <wmperry@aventail.com>
2299
2300 * lisp/url-https.el: Implemented HTTPS support.
2301
2302 1999-11-26 William M. Perry <wmperry@aventail.com>
2303
2304 * url-privacy.el (url-setup-privacy-info): Don't rely on
2305 device-type being defined. Not going to bother redistributing
2306 devices.el for just one function.
2307
2308 * url-methods.el (url-scheme-get-property): Emacs does not have
2309 the 3rd-argument to plist-get to specify the default. *sigh*
2310
2311 * url-dired.el (add-minor-mode): Add definition for Emacs.
2312
2313 * url-http.el (url-http-generic-after-change-function):
2314 New function, since Emacs does not allow you to change the
2315 after-change-functions variable from within a function run by
2316 said hook. This just hands it off to the REAL function.
2317 Side-effect is that this now works on Emacs at all. :)
2318
2319 * Initial checkin of rewritten URL library.
2320
2321 ;; Local variables:
2322 ;; coding: utf-8
2323 ;; add-log-time-zone-rule: t
2324 ;; End:
2325
2326 Copyright (C) 1999, 2001, 2002, 2004, 2005,
2327 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
2328
2329 This file is part of GNU Emacs.
2330
2331 GNU Emacs is free software: you can redistribute it and/or modify
2332 it under the terms of the GNU General Public License as published by
2333 the Free Software Foundation, either version 3 of the License, or
2334 (at your option) any later version.
2335
2336 GNU Emacs is distributed in the hope that it will be useful,
2337 but WITHOUT ANY WARRANTY; without even the implied warranty of
2338 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2339 GNU General Public License for more details.
2340
2341 You should have received a copy of the GNU General Public License
2342 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
2343
2344 ;; arch-tag: ac117078-3091-4533-be93-098162ac2926