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