1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

358 Commits

Author SHA1 Message Date
Chong Yidong
f3e30bd0ec * url-http.el (url-http-handle-cookies): Reverse list returned by
`mail-fetch-field', so that cookies are set in the correct order.

* url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
Deal with wildcard dots in domain values.
2007-04-01 15:38:35 +00:00
Eli Zaretskii
fd1e2cdef8 Move url-http.el entry to lisp/url/ChangeLog. 2007-03-31 09:51:25 +00:00
Eli Zaretskii
8ae85a27e0 (url-http-mark-connection-as-busy, url-http-mark-connection-as-free): Clear
query-on-exit flag on idle connections.
2007-03-31 09:44:44 +00:00
Glenn Morris
5b87ad5540 Switch to standard GPL text for license. 2007-02-11 01:18:25 +00:00
Chong Yidong
b3cd7f6176 (url-http-connection-opened): New variable.
(url-http): Initialize it.
(url-http-async-sentinel): Don't try changing sentinels.
Run url-http-end-of-document-sentinel if necessary.
2007-02-04 00:20:59 +00:00
Juanma Barranquero
8f77631e60 *** empty log message *** 2007-01-29 17:12:38 +00:00
Juanma Barranquero
d7c2974dec (url-get-authentication): Fix typo in docstring. 2007-01-29 17:01:33 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Magnus Henoch
00d972ebb6 (url-retrieve-internal): Don't use `url-proxy-object'. 2007-01-14 23:17:59 +00:00
Magnus Henoch
c1e6d824ae (url-proxy-object): Remove.
(url-proxy): Don't use `url-proxy-object'.  Act according to type of
proxy (currently only HTTP supported).
2007-01-14 23:17:28 +00:00
Magnus Henoch
62bfb5bb98 (url-http-proxy): New variable.
(url-http-create-request): Use it.  Don't use `url-proxy-object'.
(url-http): Treat `url' argument as resource to download, and
dynamic variable `url-using-proxy' as proxy to use.  Set
`url-current-object' to actual URL, and `url-http-proxy' to proxy
used.
(url-http-handle-cookies): Assume that `url-current-object' does
not point to the proxy used.
(url-http-async-sentinel): Adapt error message.
2007-01-14 23:17:08 +00:00
Magnus Henoch
b8976ce04f *** empty log message *** 2006-12-17 17:00:18 +00:00
Glenn Morris
1513a14b51 Add a copyright notice, with years based on earliest date in this
file, combined with broadest subsequent set used for other url files.
2006-12-17 07:00:03 +00:00
Juanma Barranquero
28e86dc414 *** empty log message *** 2006-12-10 23:52:35 +00:00
Juanma Barranquero
0c852d6e9b (url-gateway-nslookup-program): Doc fix. 2006-12-10 23:44:43 +00:00
Magnus Henoch
b1249a9539 (url-retrieve-internal): Bind url-proxy-object to nil. 2006-12-08 00:39:01 +00:00
Magnus Henoch
9450f1246a (url-http-create-request): Remove url argument, use the buffer-local
variable `url-http-target-url' instead.  Both callers updated.
Simplify proxy handling.
(url-http): Don't make proxy-object buffer local.
2006-12-08 00:38:47 +00:00
Magnus Henoch
3a15c71bb8 (url-proxy-object): New variable.
(url-proxy): Bind it instead of `proxy-object'.
2006-12-08 00:38:15 +00:00
Magnus Henoch
b9b172ace7 (url-http): Define url-http-response-version.
(url-http-parse-response): Set it.
(url-http-parse-headers): Use it to determine keep-alive behavior.
2006-11-26 13:22:52 +00:00
Magnus Henoch
57babe1716 (url-http-wait-for-headers-change-function): Use `when' instead of
`if' when possible.
2006-11-26 12:50:15 +00:00
Magnus Henoch
48d2bac451 (url-display-percentage): Only show a message if `url-show-status' is non-nil. 2006-11-23 08:42:06 +00:00
Magnus Henoch
f0d64cfca0 (url-http-content-length-after-change-function): Use `url-lazy-message'. 2006-11-23 08:40:06 +00:00
Juanma Barranquero
1ac3c9101d *** empty log message *** 2006-11-16 00:58:47 +00:00
Magnus Henoch
6e2988e60d (url-http): Make proxy-object buffer-local, to handle proxied
asynchronous connections correctly.
2006-11-15 23:29:56 +00:00
Magnus Henoch
d58fae84a6 (url-generic-parse-url): Use with-temp-buffer. 2006-11-15 23:14:49 +00:00
Magnus Henoch
9832523519 (url-http-wait-for-headers-change-function): Defer detection of HTTP
0.9 until we have at least one line.
2006-11-15 23:07:23 +00:00
Chong Yidong
db8d59365b (url-http-mark-connection-as-free, url-http-find-free-connection):
Don't treat process with status `connect' as free.
(url-http-async-sentinel): Request correct url.
2006-11-10 17:09:01 +00:00
Chong Yidong
8529c21d8c * url-http.el (url-http-mark-connection-as-free)
(url-http-find-free-connection): Don't treat process with status
`connect' as free.
(url-http-async-sentinel): Request correct url.
2006-11-10 17:08:20 +00:00
Juanma Barranquero
33462dfacd Add "add-log-time-zone-rule: t" to Local Variables section. 2006-11-10 00:21:57 +00:00
Magnus Henoch
385b64c52a (url-http-handle-authentication): If there are several authentication
headers, use the strongest available method.
2006-11-08 20:34:47 +00:00
Magnus Henoch
947612be2c (url-retrieve-synchronously): Allow quitting when inhibit-quit is t. 2006-11-08 00:13:00 +00:00
Magnus Henoch
8917392a52 (url-http-handle-authentication): If there are several authentication
headers, use the first with a supported method.
2006-11-02 23:06:20 +00:00
Magnus Henoch
8ea882655e (url-http-create-request): Use buffer-locale equivalents of
dynamically bound variables.
2006-11-01 15:16:22 +00:00
Magnus Henoch
080234b693 (url-open-stream): Really use asynchronous connections (accidentally
disabled during debugging).
2006-10-29 21:00:50 +00:00
Magnus Henoch
ced20bfb68 (url-http-parse-headers): Fix misplaced paren. 2006-10-28 14:51:40 +00:00
Chong Yidong
1b244f6177 * url.el (url-retrieve): Minor doc clarification. 2006-10-27 14:46:59 +00:00
Chong Yidong
5695d1dd75 * url-http.el (url-http-mark-connection-as-free): Verify that
connection is open before saving it.
	(url-http-handle-authentication): Use url-retrieve-internal
	instead of url-retrieve.
	(url-http-parse-headers): Adapt to new callback interface.
	(url-http): Handle non-blocking connections.
	(url-http-async-sentinel): Create.

	* url.el (url-retrieve): Update docstring for new callback interface.
	Remove all code.
	(url-retrieve-internal): Move code from url-retrieve here.

	* url-gw.el (url-open-stream): Use a non-blocking socket for
	`native' gateway method, if available.
2006-10-27 14:44:25 +00:00
Magnus Henoch
784f5416cf (url-https-create-secure-wrapper): Always use tls gateway method. 2006-10-16 14:28:46 +00:00
Magnus Henoch
dfea17e083 (url-http-find-free-connection): Handle url-open-stream returning nil. 2006-10-12 19:59:58 +00:00
Magnus Henoch
9c51663a06 url-https.el: Remove (clashes with url-http on 8+3 systems).
url-http.el: Move contents of url-https.el here.  Add autoloads.
2006-10-11 20:58:36 +00:00
Kim F. Storm
4169c18629 *** empty log message *** 2006-10-09 20:51:00 +00:00
Magnus Henoch
f6fb70fc69 (url-generic-parse-url): Handle URLs with empty path component and
non-empty query component.  Untangle path, query and fragment parsing
code.  Add references to RFC 3986 in comments.
(url-recreate-url-attributes): Start query string with "?", not ";".
2006-10-09 20:10:13 +00:00
Stefan Monnier
5e04776440 (url-dav-file-attributes): Simplify. 2006-09-20 17:35:21 +00:00
Stefan Monnier
162fbe11f5 (url-http-head-file-attributes): Add device "info". 2006-09-20 17:35:13 +00:00
Miles Bader
f316efd978 lisp/url/url-methods.el: Fix format error when http_proxy is empty string
2006-09-18  Michael Olson  <mwolson@gnu.org>

	* url-methods.el (url-scheme-register-proxy): Handle case where
	getenv returns an empty string for http_proxy.  This prevents an
	error when calling `format' later on.

--This line, and those below, will be ignored--
Files to commit:
   lisp/url/ChangeLog
   lisp/url/url-methods.el

This list might be incomplete or outdated if editing the log
message was not invoked from an up-to-date changes buffer!

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-441
Creator:  Michael Olson <mwolson@gnu.org>
2006-09-18 14:16:07 +00:00
Stefan Monnier
c2a7ddb1f3 (url-http-create-request):
Use `url-recreate-url-attributes' when setting real-fname.
2006-09-01 02:31:47 +00:00
Stefan Monnier
fb7dc310ed (url-recreate-url-attributes): New function, code moved from `url-recreate-url'.
(url-recreate-url): Use it.  Put the `url-target' at the end of the URL.
2006-09-01 02:31:24 +00:00
Stefan Monnier
7660c02fc5 (url-cookie-write-file): Really don't use versioned backups. 2006-08-29 14:00:27 +00:00
Stefan Monnier
d0f891a742 (url-file-local-copy): Tell url-copy-file that the dest file will already exist. 2006-08-25 20:44:49 +00:00
Stefan Monnier
07e9b3f01c (url-hexify-string): Only utf-8 encode if it's a multibyte string.
(url-normalize-url): Remove unused var `grok'.
(url-truncate-url-for-viewing): Remove unused var `tail'.
2006-07-31 21:36:43 +00:00
Thien-Thi Nguyen
ecfbb4888a (url-hexify-string): Rewrite. 2006-07-30 20:21:14 +00:00
Miles Bader
0b6bb13008 Update for ERC 5.1.3.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-348
Creator:  Michael Olson <mwolson@gnu.org>
2006-07-14 02:29:50 +00:00
Stefan Monnier
3d3a26eb29 *** empty log message *** 2006-07-12 18:05:53 +00:00
Stefan Monnier
bc684c16bc Remove spurious * in docstrings.
(url-cookie-write-file): Don't use versioned backups.
(url-cookie-host-can-set-p): Remove unused var `tmp'.
(url-cookie-save-interval): Move to url-cookie group.
(url-cookie-write-file): Reset url-cookies-changed-since-last-save.
2006-07-11 15:03:24 +00:00
Reiner Steib
d10a6bf119 (url-http-file-exists-p): Test if status is integer. 2006-05-12 12:29:36 +00:00
Eli Zaretskii
3dfed65387 *** empty log message *** 2006-05-05 13:03:17 +00:00
Eli Zaretskii
48abdb63bf (url-http-parse-headers): Don't reuse connection if "Connection: close" header
was seen.
2006-05-05 12:10:24 +00:00
Stefan Monnier
351b838f61 (url-open-stream): Don't hide errors.
(url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
2006-04-26 20:40:18 +00:00
Stefan Monnier
89a1fe7748 (url-insert): New function.
(url-insert-file-contents): Use it.
2006-04-26 20:37:58 +00:00
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
Lute Kamstra
a0ec7a4a17 *** empty log message *** 2005-07-05 12:22:32 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Juanma Barranquero
59fda2faaa *** empty log message *** 2005-07-04 01:26:53 +00:00
Juanma Barranquero
9a6f3ca532 (url, url-file, url-cache, url-mime, url-hairy): Finish `defgroup' description
with period.
2005-07-04 01:13:26 +00:00
Juanma Barranquero
6a2f8c56e8 (url-news): Finish `defgroup' description with period. 2005-07-04 01:11:51 +00:00
Juanma Barranquero
7e1f4bf510 (url-history): Finish `defgroup' description with period.
(url-history-track): Fix typos in docstring.
2005-07-04 01:09:34 +00:00
Juanma Barranquero
383168ec16 (url-gateway): Finish `defgroup' description with period. 2005-07-04 01:05:26 +00:00
Juanma Barranquero
5d9f30c6d7 (url-cookie): Finish `defgroup' description with period. 2005-07-04 01:04:33 +00:00
Richard M. Stallman
231add10db (url-http-create-request): Call url-recreate-url in proxy case. 2005-06-28 21:35:28 +00:00
Richard M. Stallman
e893ce91fb (url-http-create-request): When computing real-fname,
call url-filename in both cases.
2005-06-28 00:48:17 +00:00
Richard M. Stallman
9f8a95cd54 (url-cookie-store): Rename arg PATH to LOCALPART.
(url-cookie-retrieve): Likewise.
(url-cookie-generate-header-lines): Likewise.
(url-cookie-handle-set-cookie): Likewise.
(url-cookie-create): Expect :localpart instead of :path.
(url-cookie-localpart): Renamed from url-cookie-path.
(url-cookie-set-localpart): Renamed from url-cookie-set-path.
(url-cookie-file): Doc fix.
(url-cookie-p): Add doc string.
2005-06-28 00:47:07 +00:00
Richard M. Stallman
528b6abcb4 *** empty log message *** 2005-06-23 21:49:52 +00:00
Richard M. Stallman
7407e52e20 (url-cookie-generate-header-lines): Fix autoload cookie. 2005-06-23 21:28:07 +00:00
Juanma Barranquero
23873c965c *** empty log message *** 2005-06-21 14:12:12 +00:00
Juanma Barranquero
9531f95f8d (url-gateway-unplugged): Fix spellings. 2005-06-21 13:36:40 +00:00
Juanma Barranquero
1e0b3a7ef3 (url-open-stream): Fix spellings. 2005-06-21 13:35:38 +00:00
Juanma Barranquero
0b46b379ea *** empty log message *** 2005-06-14 15:52:56 +00:00
Juanma Barranquero
e2a0329ada (url-completion-function): Follow error conventions. 2005-06-14 15:07:56 +00:00
Stefan Monnier
175384d1ee (url-file, url-file-asynch-callback): Use with-current-buffer. 2005-06-13 14:32:42 +00:00
Stefan Monnier
0090e0483c Remove most autoload cookies.
Don't hook into the url-file-handler since it currently breaks all
non-HTTP URLs.
2005-06-10 22:02:23 +00:00
Stefan Monnier
7f95457178 (url-retrieve-synchronously): Don't exit precipitously when
fetching a file via ange-ftp.
2005-06-10 21:14:34 +00:00
Stefan Monnier
f1b587064a (vc-registered): Explicitly disable VC for URL files. 2005-06-10 21:14:10 +00:00
Juanma Barranquero
466c78c08f *** empty log message *** 2005-06-10 14:16:23 +00:00
Juanma Barranquero
eb88139e25 (url-cookie-multiple-line): Fix spelling in docstring. 2005-06-10 13:19:09 +00:00
Eli Zaretskii
63db964466 (url-http-chunked-encoding-after-change-function): Use `url-http-debug'
instead of `message'.
2005-06-04 18:37:16 +00:00
Eli Zaretskii
b8e517587a Simplify last change. 2005-06-04 18:32:57 +00:00
Eli Zaretskii
86b21ac359 (url-http-parse-headers): Pass redirected URL as a callback argument. 2005-06-04 18:30:54 +00:00
Juanma Barranquero
93c8c9cd7d (url-cookie-multiple-line): Specify group and type in defcustom. 2005-05-19 17:59:58 +00:00
Juanma Barranquero
216d380630 Replace string-to-int' by string-to-number'. 2005-05-16 10:07:59 +00:00
Stefan Monnier
799fba8ff4 (url-retrieve-synchronously): Work around the fact that
url-http sometimes doesn't call the callback.
2005-04-18 13:19:43 +00:00
Richard M. Stallman
d9cdf64b8d (url-ldap): Add docstring. Fix call to `ldap-search-internal'. 2005-04-10 17:01:46 +00:00
Lute Kamstra
8c6ef2ca34 *** empty log message *** 2005-04-04 09:39:03 +00:00
Lute Kamstra
4ee48a9bfc (url-handler-mode): Specify :group. 2005-04-04 09:38:43 +00:00
Stefan Monnier
9b06ffa3dc Better adhere to coding conventions. 2005-03-31 23:17:51 +00:00
Eli Zaretskii
a6efc2c25d (url-have-visited-url): Don't barf if url-history-hash-table is nil. 2005-02-26 15:23:43 +00:00
Richard M. Stallman
134948fc5f *** empty log message *** 2005-02-14 10:25:50 +00:00
Richard M. Stallman
76bad53408 (url-http-parse-headers): Test url-automatic-caching. 2005-02-14 09:58:33 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Eli Zaretskii
557724a871 Fix last entry. 2005-01-22 10:55:38 +00:00
Eli Zaretskii
1a8461d34c *** empty log message *** 2005-01-22 10:53:39 +00:00
Eli Zaretskii
cfdd484fc7 (url-http-parse-headers): Reset url-http-data to nil,
like for the 303 response.
2005-01-22 10:52:28 +00:00
Stefan Monnier
944b2ab6ca (url-retrieve-synchronously): Use accept-process-output rather than sit-for. 2005-01-13 14:35:11 +00:00
Thien-Thi Nguyen
e817f9a248 (url-http-handle-authentication): Don't kill the current buffer. 2005-01-03 16:56:28 +00:00
Stefan Monnier
5007cdc96d Don't `require' everything eagerly. 2004-12-11 22:06:00 +00:00
Andreas Schwab
cacfe88b03 (url-http-handle-cookies): Bind `url-current-object'
to `url-http-cookies-sources' so that cookies are attributed to
proper domain.
(url-http): Make local variable `url-http-cookies-sources'.
2004-11-30 21:32:35 +00:00
Andreas Schwab
dc1a0a7a28 (url-http-create-request): Don't add newline after
the request data.
2004-11-28 19:14:11 +00:00
Masatake YAMATO
14e25c87b0 (url-mm-callback): Delay the invocation
of `mm-destroy-parts'. Invoke `mm-destroy-parts'
when the buffer is killed.
2004-11-20 03:57:59 +00:00
Masatake YAMATO
de0234ea3d url-mailto.el (url-mailto): Fix a typo in the comment. 2004-11-11 18:03:41 +00:00
Masatake YAMATO
60b5eb7862 * url-imap.el (url-imap-open-host): Don't use
`string-to-int'. The port returned by `url-port'
is expected to be an integer.

* url-irc.el (url-irc): Ditto.

* url-news.el (url-news-open-host): Ditto.

* url-nfs.el (url-nfs-build-filename): Ditto.
2004-11-02 09:40:30 +00:00
John Paul Wallington
ed87225ada (url-gateway-nslookup-host): Use `set-process-query-on-exit-flag'. 2004-10-20 08:04:19 +00:00
Lars Hansen
2a6c7fe5f2 Update header. 2004-10-19 21:37:32 +00:00
Lars Hansen
00eef4de72 Update header and footer. 2004-10-19 21:36:56 +00:00
Richard M. Stallman
c2e2ede7e8 *** empty log message *** 2004-10-16 15:35:53 +00:00
Richard M. Stallman
8127ed7ac3 (url-do-setup): Don't set url-passwd-entry-func. 2004-10-16 15:02:46 +00:00
Richard M. Stallman
32d3ca3a30 (url-passwd-entry-func): Var deleted.
(mm-mime-mule-charset-alist): Remove compatibility code for old Gnus.
(url-weekday-alist): Renamed from weekday-alist.
(url-monthabbrev-alist): Renamed from monthabbrev-alist.
(url-vars-unload-hook): Initialize hook var to hold the function.
2004-10-16 15:02:02 +00:00
Richard M. Stallman
f5d4d25939 (url-get-normalized-date): Use url-weekday-alist and url-monthabbrev-alist. 2004-10-16 14:59:45 +00:00
Richard M. Stallman
5d1f2b4f63 Load cl at compile time. 2004-10-16 14:58:38 +00:00
Richard M. Stallman
98c51cc53a Don't load cl.
(url-mailto): Fix call to `push'.
2004-10-16 14:57:46 +00:00
Richard M. Stallman
af3e7f786a (url-open-telnet): Use read-passwd. 2004-10-16 14:55:51 +00:00
Richard M. Stallman
88c73e7372 (url-basic-auth, url-digest-auth): Use read-passwd. 2004-10-16 14:54:58 +00:00
Simon Josefsson
3bb53a84de *** empty log message *** 2004-10-12 09:55:20 +00:00
Simon Josefsson
5bbb0eb9ea url-vars.el (url-gateway-method): Add new method `tls'.
url-news.el (url-snews): Use nntp-open-tls-stream if
url-gateway-method is tls.
url-ldap.el (url-ldap-certificate-formatter): Use
tls-certificate-information if ssl.el is not available.
url-https.el (url-https-create-secure-wrapper): Use tls if ssl
is not available.
url-gw.el (url-open-stream): Support tls url-gateway-method.
(url-open-stream): Likewise.
2004-10-12 09:55:08 +00:00
Lars Hansen
df41da5eda Fix copyright notice. 2004-10-10 20:40:21 +00:00
Stefan Monnier
ccd59305b4 (url-insert-file-contents): Use the URL to decide the
encoding, not the buffer-file-name (which might not even exist).
2004-10-06 15:56:41 +00:00
Stefan Monnier
d4fdad607e (url-insert-file-contents): Decode contents. 2004-09-20 21:27:10 +00:00
Miles Bader
cfceee1ed3 Changes from arch/CVS synchronization 2004-07-01 21:03:14 +00:00
Stefan Monnier
4dfde3dd1d *** empty log message *** 2004-07-01 13:02:50 +00:00
Stefan Monnier
10a6e6ba22 *** empty log message *** 2004-07-01 12:29:28 +00:00
Stefan Monnier
a2fd14621d (url-debug): Use with-current-buffer. 2004-04-16 22:05:32 +00:00
Stefan Monnier
abbcaa0544 (url-nfs-file-attributes): Add id-format parameter.
(url-nfs-create-wrapper): Use new backquote syntax.
2004-04-16 22:04:33 +00:00
Stefan Monnier
3abd7705a8 (url-https-file-attributes): Add id-format param. 2004-04-16 22:02:46 +00:00
Stefan Monnier
3f19601e61 (url-http-head-file-attributes, url-http-file-attributes):
Add id-format parameter.
2004-04-16 22:01:56 +00:00
Stefan Monnier
c7389b5db8 Use new find-file-hook.
(url-file-attributes): Add id-format parameter.
2004-04-16 22:00:40 +00:00
Stefan Monnier
ca000afff9 (url-file-create-wrapper): Use new backquote syntax.
(url-file-file-attributes): Add id-format parameter.
2004-04-16 21:59:12 +00:00
Stefan Monnier
f1bfaf653b Use with-current-buffer.
(url-dav-process-response): Fix regexps and spurious quote.
(url-dav-file-attributes): Add id-format param.
2004-04-16 21:58:11 +00:00
Stefan Monnier
42b369cd7c (url-retrieve): Use with-current-buffer. 2004-04-12 20:50:16 +00:00
Stefan Monnier
ffc00a352e Comment fixups. 2004-04-12 20:45:16 +00:00
Stefan Monnier
b43eb9abd6 (url-http-parse-headers, url-http-file-exists-p): Remove unused var `version'. 2004-04-12 20:44:14 +00:00
Stefan Monnier
f1300fba1c (url-handler-mode): New minor mode.
(url-setup-file-name-handlers): Remove.
2004-04-12 20:43:39 +00:00
Stefan Monnier
76827ca493 Comments and docstring fixups. 2004-04-12 20:42:44 +00:00
John Paul Wallington
6e56e52681 (url-cookie-handle-set-cookie): Replace calls to obsolete
`assoc-ignore-case' with calls to `assoc-string'.
2004-04-12 10:39:09 +00:00
Stefan Monnier
016da1c19d (cl): Don't require.
(url): Add :version.
(url-bug-address): Use bug-gnu-emacs.
2004-04-12 04:06:12 +00:00
Stefan Monnier
c6bfe6e7ca (url-hexify-string): Don't give multibyte error for char <16.
(mail-header-extract): Autoload.
2004-04-12 04:06:01 +00:00
Stefan Monnier
61bbdf64e8 Doc fixes. 2004-04-12 04:05:50 +00:00
Stefan Monnier
30bfc9cebf Minor text changes. 2004-04-12 04:05:43 +00:00
Stefan Monnier
b81c0abbde (url-mailto): Avoid warning. 2004-04-12 04:05:07 +00:00
Stefan Monnier
bebcf94029 (ldap): Require.
(url-ldap): Fix `format' call.
(url-ldap-certificate-formatter): Avoid warning.
2004-04-12 04:04:31 +00:00
Stefan Monnier
39c541030e (url-https-create-secure-wrapper): Use modern backquotes. 2004-04-12 04:04:21 +00:00
Stefan Monnier
ad8c3ee067 (url-history-setup-save-timer): Avoid warnings. 2004-04-12 04:04:10 +00:00
Stefan Monnier
88c963ed40 (url-file-build-filename): Don't use directory-sep-char. 2004-04-12 04:03:32 +00:00
Stefan Monnier
0aa70d3249 (url-dav-rename-file): Fix args of `signal'.
(url-intersection): New.
(url-dav-supported-p): Use it.
(url-dav-save-resource): Declare url-http-response-status special.
2004-04-12 04:03:16 +00:00