Andreas Schwab
5993c059db
* lisp/url/url-future.el (url-future-test): Fix scope of `saver'.
2011-06-04 09:53:22 +02:00
Glenn Morris
3b7d5980c9
Add :version tags for url-queue.el.
...
* lisp/url/url-queue.el (url-queue-parallel-processes, url-queue-timeout):
Add :version tag for options that will be new in 24.1.
2011-06-01 10:34:24 -07:00
Lars Magne Ingebrigtsen
5a94384bca
(url-queue-parallel-processes): Increase the default to 6, since 2 seems too conservative for normal usage.
2011-05-31 22:58:01 +02:00
Ted Zlatanov
e300a61b96
* url-future.el: Add general futures facility.
2011-05-31 05:47:22 -05:00
Leo Liu
b1c83d95b3
Add option :named to defstruct in url-cookie.el
...
or url-cookie-p won't be defined.
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8747 for details.
2011-05-29 10:45:03 +08:00
Lars Magne Ingebrigtsen
11aedcecf7
Kill all processes associated with the buffer.
2011-05-02 20:30:48 +02:00
Lars Magne Ingebrigtsen
471129b1e3
Autoload `url-queue-retrieve', and fix up the pruning code.
2011-05-02 20:15:39 +02:00
Lars Magne Ingebrigtsen
08da93f1a3
(url-queue-run-queue): Pick the first waiting job, and not the last.
2011-05-02 19:28:34 +02:00
Lars Magne Ingebrigtsen
5c77c3eda3
Add the new file url-queue.el, which allows controlling the
...
parallelism when fetching web pages asynchronously.
2011-05-02 19:06:56 +02:00
Lars Magne Ingebrigtsen
10472dd0d6
(url-http-wait-for-headers-change-function): Protect against malformed headerless responses from servers.
2011-04-16 15:59:54 +02:00
Juanma Barranquero
3338398778
Update and split ChangeLogs.
2011-04-06 14:18:10 +02:00
Chong Yidong
43c594f228
Add changes to lisp/url/ChangeLog omitted from 2011-04-02T23:41:03Z!cyd@stupidchicken.com.
2011-04-03 17:06:47 -04:00
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