1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00
Commit graph

117 commits

Author SHA1 Message Date
Richard M. Stallman
dafea68ca2 *** empty log message *** 2007-05-29 19:43:27 +00:00
Chong Yidong
2819bdd5a3 Fix typo. 2007-05-29 16:23:22 +00:00
Chong Yidong
3fd7fba5d0 * url-mailto.el (url-mailto): Insert body after
mail-header-separator if present, so that is is before signature.
Suggested by Leo Liu <sdl.web@gmail.com>.
2007-05-29 15:29:58 +00:00
Chong Yidong
5cfdb0fb63 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes. 2007-04-15 16:47:08 +00:00
Chong Yidong
f25a994634 * url-http.el (url-http-parse-headers): Stop after a set number of
redirections.  Suggested by Diane Murray.

* url-vars.el (url-max-redirections): New var.
2007-04-13 14:59:08 +00:00
Glenn Morris
60df22cc35 Changes from author without assignment are (thankfully) tiny. 2007-04-12 02:29:32 +00:00
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
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
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
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
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
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
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
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
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
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
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