Chong Yidong
da91b5f294
Merge open-protocol-stream into open-network-stream.
...
* lisp/subr.el (open-network-stream): Move to net/network-stream.el.
* lisp/gnus/proto-stream.el: Move to net/network-stream.el.
* lisp/net/network-stream.el: Move from gnus/proto-stream.el.
Change prefix to network-stream throughout.
(open-protocol-stream): Merge into open-network-stream, leaving
open-protocol-stream as an alias. Handle nil BUFFER args.
* lisp/gnus/nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
parameter to open-protocol-stream.
* lisp/emacs-lisp/package.el (package--with-work-buffer): Recognize
https URLs.
* lisp/url/url-gw.el (url-open-stream): Use new open-network-stream
functionality to perform encryption.
2011-04-02 19:41:03 -04:00
Glenn Morris
10c1b75128
ChangeLog fix.
2011-04-02 11:53:37 -07:00
Juanma Barranquero
9952e40bd8
lisp/url/url-cookie.el: Use dolist' rather than
mapcar'.
2011-04-02 01:24:21 +02:00
Ted Zlatanov
563790b6db
Use auto-source-search' instead of
auto-source-user-or-password'.
...
* mail/smtpmail.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(smtpmail-try-auth-methods): Use it.
* net/imap-hash.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(imap-hash-open-connection): Use it.
* net/tramp-imap.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password.
(tramp-imap-passphrase-callback-function): Use it.
* net/tramp.el (tramp-default-method): Also check if
`auth-source-search' is bound.
(tramp-read-passwd): Use `auth-source-search' instead of
`auto-source-user-or-password'.
* url-parse.el (url-bit-for-url, url-user-for-url)
(url-password-for-url): Use `auto-source-search' instead of
`auto-source-user-or-password'.
* url-auth.el: Autoload `auto-source-search' instead of
`auto-source-user-or-password'.
(url-basic-auth, url-digest-auth, url-do-auth-source-search): Use it.
2011-02-12 11:51:02 -06:00
Lars Ingebrigtsen
fd7ec1ba35
Fix the ChangeLog message to be more legible.
2011-02-02 22:23:35 -08:00
Lars Ingebrigtsen
b301d17489
(url-http-wait-for-headers-change-function): Don't move if the callback function has moved point.
2011-02-02 22:22:07 -08:00
Glenn Morris
95df8112a0
Refill some long/short copyright headers.
2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
e9bffc61f2
Refill some copyright headers.
2011-01-15 18:21:30 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Miles Bader
3cbc281e31
url-cookie.el: Require 'cl when compiling
2010-12-16 13:14:48 +09:00
Glenn Morris
105a786f51
Misc url-cookie tidy-up.
...
* lisp/url/url-cookie.el: Don't require cl when compiling.
(url-cookie-clean-up, url-cookie-generate-header-lines): Use dolist.
(url-cookie-parse-file, url-cookie-store, url-cookie-retrieve)
(url-cookie-handle-set-cookie): Simplify.
2010-12-13 20:18:22 -08:00
Stefan Monnier
f49d1f52b2
Merge from emacs-23
2010-12-13 10:27:36 -05:00
Chong Yidong
37bf6ce2b4
* url-cookie.el (url-cookie-retrieve): Handle null LOCALPART (Bug#7543).
...
Suggested by Lennart Borgman.
2010-12-04 17:41:41 -05:00
Glenn Morris
2f5e7c6fbb
ChangeLog fixes prompted by M-x authors.
2010-11-20 14:25:56 -08:00
Lars Magne Ingebrigtsen
023ec128fd
Avoid interpreting file:/foo:/bar URLs via tramp.
2010-11-16 14:46:12 +01:00
Lars Magne Ingebrigtsen
7a9fc59350
* url-gw.el (url-open-stream): Use open-gnutls-stream if it exists.
2010-10-14 23:35:03 +02:00
Lars Magne Ingebrigtsen
b0e0b216e5
url-http.el (url-http-end-of-document-sentinel): Protect against the
...
process buffer being killed.
2010-10-07 13:40:42 +02:00
Lars Magne Ingebrigtsen
d23832a2cc
(url-http-wait-for-headers-change-function): Revert previous
...
change. It lead to really slow loads.
2010-10-04 21:34:35 +02:00
Lars Magne Ingebrigtsen
697ebdb06b
* url-http.el (url-http-wait-for-headers-change-function): Protect
...
against url-http-response-status for degenerate documents.
2010-10-04 21:05:53 +02:00
Glenn Morris
5589b70e57
Cosmetic changes for some lisp/url files.
...
* lisp/url/url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
(url-get-url-at-point): Don't use eval-when-compile.
* lisp/url/url-cache.el (url-cache-create-filename-human-readable)
(url-cache-create-filename-using-md5):
* lisp/url/url-util.el (url-file-directory, url-file-nondirectory):
Don't use eval-when-compile and regexp-quote.
2010-10-03 14:37:41 -07:00
Lars Magne Ingebrigtsen
b39e244605
url-vars.el (url-mime-charset-string): Changed the default to nil to
...
avoid sending 1171 bytes of not very useful data to the HTTP server
every request.
2010-10-03 14:43:12 +02:00
Glenn Morris
12421f1c89
url-http.el comment.
2010-10-02 18:30:51 -07:00
Lars Magne Ingebrigtsen
573a83b802
(url-lazy-message): Remove leftover debugging code.
2010-10-02 14:34:02 +02:00
Lars Magne Ingebrigtsen
08b8ba9fae
Modify url-retrieve and related functions and structures to respect a
...
`silent' flag to signal that the operation should be silent.
2010-10-02 04:04:20 +02:00
Lars Magne Ingebrigtsen
82b9f9f5f4
Use url-lazy-message for warnings about ignored cookies.
...
These messages aren't very interesting for most users.
2010-10-01 16:49:14 +02:00
Lars Magne Ingebrigtsen
6ca26f1d7f
(url-http-async-sentinel): Check that the buffer is still alive before
...
switching to it.
2010-10-01 16:05:25 +02:00
Julien Danjou
cbdd0d5877
Small url-cache fix.
...
* lisp/url/url-cache.el (url-cache-create-filename): Ensure no-port and
default-port end up with the same cache file.
(url-cache-create-filename-human-readable)
(url-cache-create-filename-using-md5): Argument is always in the form of
a string now.
2010-09-25 13:59:05 -07:00
Chong Yidong
266a86bd7f
Merge changes from emacs-23 branch
2010-09-23 15:00:31 -04:00
Glenn Morris
97161df81e
* lisp/url/url-cache.el (url-cache-expire-time): Doc fix.
2010-09-22 23:08:57 -07:00
Glenn Morris
8ea8e1744c
Fix previous url-cache fix.
2010-09-22 23:04:01 -07:00
Glenn Morris
48ff1664e2
* url-cache.el (url-cache-expired): Don't autoload. Tweak previous change.
2010-09-22 22:59:20 -07:00
Julien Danjou
18d68e52f6
Small url-cache update.
...
* lisp/url/url-cache.el (url-cache-expire-time): New option.
(url-cache-expired): Rewrite.
2010-09-22 22:56:17 -07:00
Julien Danjou
50e4f0bf34
* lisp/url/url-cache.el (url-fetch-from-cache): New function.
2010-09-19 11:48:11 -07:00
Glenn Morris
77413977a3
Fix ChangeLog typo, mea culpa.
2010-09-18 13:54:55 -07:00
Julien Danjou
b0fd24c81d
* lisp/url/url-vars.el (url-automatic-caching): Remove unused variable.
2010-09-18 13:49:25 -07:00
Glenn Morris
7ee54def43
* lisp/url/url-cache.el (url-is-cached): Doc fix.
2010-09-18 13:43:13 -07:00
Juanma Barranquero
6664fc59a8
Merge changes from emacs-23 branch.
2010-09-14 16:41:53 +02:00
Glenn Morris
a5cda60e9a
lisp/url tiny fixes.
...
* url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
* url-vars.el: Remove leading `*' from defcustom docs.
2010-09-10 18:58:42 -07:00
Julien Danjou
6f6dc4da1d
* lisp/url/url-cache (url-store-in-cache): Make `buff' argument really optional.
2010-09-10 18:55:55 -07:00
Glenn Morris
c4ae64d106
* lisp/url/url-cookie.el (url-cookie-expired-p): Tweak previous change.
2010-09-08 22:38:43 -07:00
shawn boles
966bb6c005
* lisp/url/url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
2010-09-08 22:36:13 -07:00
Juanma Barranquero
0ed082fedf
Merge from emacs-23
2010-07-27 04:10:05 +02:00
Michael Albinus
c48763bb79
* url-http (url-http-parse-headers): Disable file name handlers at
...
all (not only Tramp). (Bug#6717)
2010-07-26 15:19:32 +02:00
Michael Albinus
4ac3a65cf1
* url-http (url-http-parse-headers): Disable Tramp. (Bug#6717)
2010-07-25 13:36:02 +02:00
Juanma Barranquero
a628ad9d97
Fix typos in ChangeLogs.
2010-07-20 13:13:25 +02:00
Chong Yidong
2ec1b5ee34
Merge changes from emacs-23 branch.
2010-07-10 14:52:53 -04:00
Mark A. Hershberger
e4f6153f96
2010-07-01 Mark A. Hershberger <mah@everybody.org>
...
* url-http.el (url-http-create-request): Add a CRLF on the end so
that POSTs with content to https urls work. See
<https://bugs.launchpad.net/mediawiki-el/+bug/540759 >
Prior to this, the following request would not terminate:
(let ((url-request-method "POST")
(url-request-data "action=login"))
(url-retrieve-synchronously "https://example.org/wiki/api.php "))
2010-07-01 14:02:43 -04:00