1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00
Commit Graph

127 Commits

Author SHA1 Message Date
Richard M. Stallman
4148f522b8 (url-default-expander): Use `url-file-directory'. 2007-10-13 14:04:06 +00:00
Glenn Morris
cbbbf7b15a Diane Murray <disumu at x3y2z1.net>
(url-basic-auth): Set path to "/" when URL has an empty string filename.
2007-10-13 02:49:32 +00:00
Richard M. Stallman
d1d80b8056 (url-type, url-user, url-password, url-host)
(url-port, url-filename, url-target, url-attributes)
(url-fullness, url-set-type, url-set-user, url-set-password)
(url-set-host, url-set-port, url-set-filename, url-set-target)
(url-set-attributes, url-set-full): Change macros to defuns.
2007-10-09 01:21:24 +00:00
Glenn Morris
21c494d839 Diane Murray <disumu at x3y2z1.net>
(url-generic-emulator-loader): Send the port as a string to
`url-do-terminal-emulator'.
2007-09-22 19:01:39 +00:00
Glenn Morris
3bef54c922 Diane Murray <disumu at x3y2z1.net>
(url-news-fetch-newsgroup): Fix formatting of Gnus method.
2007-09-21 03:32:29 +00:00
Glenn Morris
fbc09406ca Diane Murray <disumu at x3y2z1.net>
(url-get-normalized-date): Pass full timezone information to
timezone-make-date-arpa-standard, since zone name may be unknown.
2007-09-21 02:53:08 +00:00
Glenn Morris
8a089270b3 Diane Murray <disumu at x3y2z1.net>
(url-http-parse-headers): Bind the current buffer rather than calling
`url-mark-buffer-as-dead' with `current-buffer', so that the correct
buffer is killed if `url-retrieve-synchronously' gets redirected to a
new URL.
2007-09-03 19:29:29 +00:00
Glenn Morris
df26688bd0 Replace `iff' in doc-strings and comments. 2007-08-08 07:21:11 +00:00
Glenn Morris
cacc7b5131 Switch license to GPLv3 or later. 2007-07-25 07:11:02 +00:00
Glenn Morris
8c0ee52a6f Switch license to GPLv3 or later. 2007-07-25 04:18:23 +00:00
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