Commit graph

149 commits

Author SHA1 Message Date
Stefan Monnier
bdba217b30 (url-handler-directory-file-name): New handler.
(url-file-local-copy): Plug race condition security hole.
2006-03-29 08:00:09 +00:00
Romain Francoise
354330cf16 Fix last change. 2006-03-27 21:02:19 +00:00
Romain Francoise
7608c40cd1 (url-irc-rcirc, url-irc-erc): New functions.
(url-irc-function): Add rcirc and ERC to the list of IRC clients.
Default to rcirc, since ZenIRC isn't part of Emacs.
2006-03-27 20:23:47 +00:00
Stefan Monnier
bedeb7fde3 (url-http-find-free-connection): Fix braino in last fix. 2006-03-07 17:21:16 +00:00
Stefan Monnier
8dff56def5 (url-http-find-free-connection): Don't kill the process
when killing the temp buffer.
(url-http-symbol-value-in-buffer): Massage to make it clear to the
byte-compiler that the function is defined.
2006-03-06 03:17:00 +00:00
Stefan Monnier
4e606fbad7 (url-http-find-free-connection): braino. 2006-02-20 22:21:00 +00:00
Stefan Monnier
9b4cf2318a (url-redirect-buffer): New var.
(url-retrieve-synchronously): Use it to follow redirections.
2006-02-20 21:54:23 +00:00
Stefan Monnier
55d1d8b731 Require `url' rather than try to autoload parts of it.
(url-http-find-free-connection): `url-open-stream' needs a real buffer.
(url-http-parse-headers): Set `url-redirect-buffer' when following
a redirection reply.
2006-02-20 21:52:08 +00:00
Thien-Thi Nguyen
5b0d63bc36 Update years in copyright notice; nfc. 2006-02-05 23:44:47 +00:00
Stefan Monnier
81cafdfe92 Move defvars out of eval-when-compile.
(url-news-fetch-message-id, url-news-fetch-newsgroup): Use with-current-buffer.
2006-01-18 16:43:46 +00:00
Stefan Monnier
e7ea7cac4e (url-retrieve-synchronously): Adjust the workaround so as not
to stop in the middle of a redirection.
2006-01-10 19:31:15 +00:00
Stefan Monnier
5dc3ceeb76 (url-privacy-level): Add setter. 2006-01-10 19:14:38 +00:00
Stefan Monnier
59425106a2 (url-setup-privacy-info): Add docstring. 2006-01-10 19:13:54 +00:00
Stefan Monnier
176c99dca2 (url-history-hash-table): Initialize in declaration.
(url-history-parse-history): Don't reset the history.
(url-history-save-history): Create parent dir if necessary.
(url-history-save-history): Don't write the initialization of
url-history-hash-table into the history file.
(url-have-visited-url): Simplify since url-history-hash-table is non-nil.
(url-completion-function): Simplify.
2006-01-05 22:28:16 +00:00
Stefan Monnier
72a30be46b (url-cookie-parse-file): Don't complain of missing file.
(url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
(url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
(url-cookie-setup-save-timer): Remove autoload cookies.
They're only called from files that require url-cookie anyway.
2006-01-05 22:10:47 +00:00
Stefan Monnier
ce0c92e1f3 (url-history-parse-history): Don't complain if the file is missing.
(url-history-setup-save-timer, url-history-parse-history)
(url-history-save-history): Remove autoload cookies.
They're only called from url.el which requires url-history anyway.
2006-01-05 22:07:30 +00:00
Stefan Monnier
55262b16df (url-retrieve-synchronously): Don't autoload. 2006-01-02 05:25:13 +00:00
Stefan Monnier
2ef88a693d (url-retrieve, url-retrieve-synchronously): Autoload. 2006-01-02 05:24:31 +00:00
Stefan Monnier
8abe1fd585 Require `url'. 2006-01-02 05:24:01 +00:00
Stefan Monnier
32d5ce4db4 (url-store-in-cache): Use save-current-buffer. 2005-12-27 17:01:01 +00:00
Stefan Monnier
d476efde68 (url-configuration-directory): Don't autoload because the
default value needs to be computed at run-time, not dump-time.
2005-12-27 16:59:45 +00:00
Stefan Monnier
32fa584479 (url-cookie-write-file): Create parent dir. 2005-12-21 20:08:49 +00:00
Stefan Monnier
208d45772d (url-configuration-directory): Use ~/.emacs.d if possible. 2005-12-21 20:04:41 +00:00
Richard M. Stallman
0c06992441 (url-cookie-save-interval): Simplify.
(url-cookie-setup-save-timer): Simplify.
2005-12-08 00:01:48 +00:00
Richard M. Stallman
86a4de25f2 (url-history-list): Var deleted for real. 2005-12-08 00:00:20 +00:00
Richard M. Stallman
8553120c70 (url-history-list): Var deleted.
(url-history-save-interval): Simplify.
(url-history-setup-save-timer): Simplify.
2005-12-04 17:53:13 +00:00
Kim F. Storm
23dec9cb73 (url-history-track): Fix last change. 2005-12-01 21:45:21 +00:00
Kim F. Storm
b0ab1a0679 *** empty log message *** 2005-12-01 21:45:08 +00:00
Richard M. Stallman
1942d6ccfd (url-history-track): Call url-history-setup-save-timer in :set function.
:type allows three alternatives.
(url-history-setup-save-timer): Test url-history-track.
2005-12-01 19:15:13 +00:00
Richard M. Stallman
11b5750f12 (url-retrieve): Test url-history-track. 2005-12-01 19:14:15 +00:00
Stefan Monnier
12f1edc823 Use with-current-buffer.
(url-http-target-url): Rename from url-http-cookies-sources.
(url-http-parse-headers): Use it.
(url-http-handle-authentication): Use subst-char-in-string.
2005-11-18 16:55:54 +00:00
Stefan Monnier
77f05e24e8 (url-insert-file-contents): Use the charset info
provided by the HTTP server, if any.
2005-11-16 19:05:38 +00:00
Eli Zaretskii
ce13796f48 *** empty log message *** 2005-10-20 15:00:21 +00:00
Eli Zaretskii
cc38a29416 Remove XEmacs conditionals. 2005-10-20 14:17:14 +00:00
Stefan Monnier
717c6bdeb5 *** empty log message *** 2005-10-16 14:12:35 +00:00
Richard M. Stallman
a4684cb098 Don't try to autoload hash table functions. 2005-10-15 14:48:26 +00:00
Stefan Monnier
1430e7f9b9 (url-http-create-request): Avoid incorrect implicit uni->multibyte conversion. 2005-10-03 18:19:45 +00:00
Richard M. Stallman
8ccd36304d *** empty log message *** 2005-09-17 05:02:16 +00:00
Richard M. Stallman
6c9abf6a66 (url-mail-command): Don't test fboundp of `compose-mail'. 2005-09-17 04:59:02 +00:00
Richard M. Stallman
49b545fe33 (url-mailto): Special case `mail'.
Don't test fboundp of `compose-mail'.
2005-09-17 04:58:28 +00:00
Chong Yidong
8ded3f47ef 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
* url-mailto.el (url-mailto):
	Call `compose-mail with `new' argument if possible.
2005-09-15 03:54:24 +00:00
Chong Yidong
b0742512e5 2005-09-15 Chong Yidong <cyd@stupidchicken.com>
* url-mailto.el (url-mailto): Delete mail buffer after sending
	autogenerated mail.
2005-09-15 03:30:39 +00:00
Chong Yidong
c8359e8fd5 2005-09-13 Chong Yidong <cyd@stupidchicken.com>
* url-mailto.el (url-mailto): Always use a new mail buffer.
2005-09-12 23:02:16 +00:00
Chong Yidong
14bd660e69 *** empty log message *** 2005-09-02 12:30:51 +00:00
Chong Yidong
6fd388f37c *** empty log message *** 2005-09-01 16:38:39 +00:00
Juanma Barranquero
26d874b218 (nntp-open-tls-stream, nntp-open-ssl-stream): Defvar at compile time. 2005-08-24 14:31:17 +00:00
Juanma Barranquero
2344ffc141 (url-http-cookies-sources): Defvar at compile time. 2005-08-24 14:24:20 +00:00
Thien-Thi Nguyen
71ddfde5a5 Update years in copyright notice; nfc. 2005-08-06 15:55:38 +00:00
Richard M. Stallman
dc524e8ba5 (url-http-parse-headers): Add :redirect arg-pair
when calling url-retrieve, to indicate a redirect.
2005-07-15 05:12:19 +00:00
Richard M. Stallman
497803edbe (url-retrieve): The callback function can get an additional keyword arg pair. 2005-07-15 05:11:28 +00:00