Leo Liu
1deeb569b1
Remove unused require in url-future.el
2012-02-14 10:14:43 +08:00
Ted Zlatanov
6c0c7cfc67
Move url-future.el ERT test to test/automated/url-future-tests.el.
...
* lisp/url/url-future.el (url-future-test): Move to test/automated.
* test/automated/url-future-tests.el (url-future-tests): Move from
lisp/url/url-future.el and rename.
2012-02-13 13:45:36 -05:00
Lars Ingebrigtsen
3647f557cf
Fix typo in last checkin.
2012-02-10 18:30:39 +01:00
Lars Ingebrigtsen
3b8eb822d9
Cookie/redirection URL fixup
...
(url-http-parse-headers): When redirecting, pass on
the `inhibit-cookie' parameter.
2012-02-10 18:25:31 +01:00
Glenn Morris
a48ec60ca1
Fix previous URL doc change
...
* lisp/url/url-queue.el (url-queue-retrieve): Fic previous doc fix.
* doc/misc/url.texi (Retrieving URLs): Update url-retrieve arguments.
Mention url-queue-retrieve.
* etc/NEWS: Related edit.
2012-02-10 09:22:09 -08:00
Andreas Schwab
d7c5e1622f
* url-http.el (url-http-clean-headers): Return the number of
...
removed characters.
(url-http-wait-for-headers-change-function): Adjust end position
after cleaning the headers. (Bug#10768)
2012-02-10 12:36:42 +01:00
Glenn Morris
b74c9672c2
Document url-queue-retrieve
...
* doc/misc/url.texi (Retrieving URLs): Update url-retrieve arguments.
Mention url-queue-retrieve.
* lisp/url/url-queue.el (url-queue-retrieve): Doc fix.
* etc/NEWS: Edits.
2012-02-09 22:23:47 -05:00
Glenn Morris
e1ac4066d1
Minor-mode doc fixes for ARG behavior
...
* lisp/completion.el (dynamic-completion-mode):
* lisp/dirtrack.el (dirtrack-debug-mode):
* lisp/electric.el (electric-layout-mode):
* lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
* lisp/face-remap.el (text-scale-mode, buffer-face-mode):
* lisp/iimage.el (iimage-mode):
* lisp/image-mode.el (image-transform-mode):
* lisp/minibuffer.el (completion-in-region-mode):
* lisp/scroll-lock.el (scroll-lock-mode):
* lisp/simple.el (next-error-follow-minor-mode):
* lisp/tar-mode.el (tar-subfile-mode):
* lisp/tooltip.el (tooltip-mode):
* lisp/vcursor.el (vcursor-use-vcursor-map):
* lisp/wid-browse.el (widget-minor-mode):
* lisp/emulation/tpu-edt.el (tpu-edt-mode):
* lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
* lisp/international/iso-ascii.el (iso-ascii-mode):
* lisp/language/thai-util.el (thai-word-mode):
* lisp/mail/supercite.el (sc-minor-mode):
* lisp/net/goto-addr.el (goto-address-mode):
* lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
* lisp/progmodes/cwarn.el (cwarn-mode):
* lisp/progmodes/flymake.el (flymake-mode):
* lisp/progmodes/glasses.el (glasses-mode):
* lisp/progmodes/hideshow.el (hs-minor-mode):
* lisp/progmodes/pascal.el (pascal-outline-mode):
* lisp/textmodes/enriched.el (enriched-mode):
* lisp/vc/smerge-mode.el (smerge-mode):
Doc fixes (minor mode argument).
* etc/NEWS: Related markup.
2012-02-07 21:12:24 -05:00
Lars Ingebrigtsen
aacaa41911
Allow specifying whether to inhibit cookies on a per-URL basis
...
* url-http.el (url-http-create-request): Don't send cookies unless
requested.
(url-http-parse-headers): Don't store cookies unless requested.
* url.el (url-retrieve): Ditto
* url-queue.el (url-queue-retrieve): Take an optional
`inhibit-cookies' parameter.
* url-parse.el (url): Add the `use-cookies' slot to the URL struct
to be able to keep track of whether to do cookies or not on a
per-URL basis.
2012-02-08 01:04:42 +01:00
Lars Ingebrigtsen
7dd679eb09
Add extra checks before expiring the URL cache
...
(url-cache-prune-cache): Check that the directory exists before
trying to delete it.
2012-02-06 22:37:56 +01:00
Lars Ingebrigtsen
1968bb1b5c
Expire URL items from the on-disk cache once in a while
...
* url.el (url-retrieve-number-of-calls): New variable.
(url-retrieve-internal): Use it to expire the cache once in a
while.
* url-cache.el (url-cache-prune-cache): New function.
2012-02-06 22:06:15 +01:00
Lars Ingebrigtsen
b6ea20f39c
Try to mitigate DNS failures when downloading stuff asynchronously
...
* url-queue.el (url-queue-setup-runners): New function that uses
`run-with-idle-timer' for extra asynchronicity.
(url-queue-remove-jobs-from-host): New function.
(url-queue-callback-function): Remove jobs from the same host if
connection failed.
2012-02-06 02:13:24 +01:00
Juanma Barranquero
6df6ae42fe
Fix typos in ChangeLogs.
2012-01-31 17:15:03 +01:00
Glenn Morris
e7a8cb8f82
* url-auth.el (url-digest-auth): Copy previous url-basic-auth change.
2012-01-12 00:14:41 -08:00
Glenn Morris
d8d469ef27
url-auth fix for password-protected urls in url-handler-mode.
...
* lisp/usr/url-auth.el (url-basic-auth): Allow reading usernames etc
when the minibuffer is already in use, eg in url-handler-mode.
Fixes: debbugs:10298
2012-01-12 00:11:24 -08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Paul Eggert
22bcf20469
Spelling fixes.
2011-12-30 17:27:15 -08:00
Paul Eggert
fac916bfd7
Spelling fixes.
2011-12-14 13:05:20 -08:00
Paul Eggert
333f9019e2
Spelling fixes.
2011-12-11 21:32:49 -08:00
Juanma Barranquero
a98edce9ec
Fix typos.
2011-12-06 02:30:54 +01:00
Paul Eggert
c80e3b4aed
Spelling fixes.
2011-12-04 00:02:42 -08:00
Paul Eggert
e47695319f
Spelling fixes.
2011-11-26 20:43:11 -08:00
Paul Eggert
e1dbe924b5
Spelling fixes.
2011-11-19 18:29:42 -08:00
Paul Eggert
5396468298
Spelling fixes.
2011-11-19 01:18:31 -08:00
Paul Eggert
c5e87d104b
Spelling fixes.
2011-11-17 09:40:48 -08:00
Paul Eggert
4c36be58ca
Spelling fixes.
2011-11-17 01:09:20 -08:00
Juanma Barranquero
c701515351
Fix typos.
2011-11-15 18:37:37 +01:00
Paul Eggert
da6062e6ea
Spelling fixes.
2011-11-14 23:55:13 -08:00
Lars Magne Ingebrigtsen
122d94635f
If the server hangs up while we're talking to it, just `message' the error instead of throwing an error.
2011-11-14 17:09:13 +01:00
Paul Eggert
fe3c566957
Spelling fixes.
2011-11-08 22:10:51 -08:00
Lars Magne Ingebrigtsen
14e1d9eab9
(url-cookie-expired-p): Protect against zero-length cookie expiry dates.
2011-11-03 22:53:59 +01:00
Chong Yidong
ac6c8639bd
Fix more minor mode docstrings.
...
* lisp/emulation/cua-base.el (cua-mode):
* lisp/mail/footnote.el (footnote-mode):
* lisp/mail/mailabbrev.el (mail-abbrevs-mode):
* lisp/net/xesam.el (xesam-minor-mode):
* lisp/progmodes/bug-reference.el (bug-reference-mode):
* lisp/progmodes/cap-words.el (capitalized-words-mode):
* lisp/progmodes/compile.el (compilation-minor-mode)
(compilation-shell-minor-mode):
* lisp/progmodes/gud.el (gud-tooltip-mode):
* lisp/progmodes/hideif.el (hide-ifdef-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
* lisp/progmodes/subword.el (subword-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
* lisp/progmodes/which-func.el (which-function-mode):
* lisp/term/tvi970.el (tvi970-set-keypad-mode):
* lisp/term/vt100.el (vt100-wide-mode):
* lisp/textmodes/flyspell.el (flyspell-mode):
* lisp/textmodes/ispell.el (ispell-minor-mode):
* lisp/textmodes/nroff-mode.el (nroff-electric-mode):
* lisp/textmodes/paragraphs.el (use-hard-newlines):
* lisp/textmodes/refill.el (refill-mode):
* lisp/textmodes/reftex.el (reftex-mode):
* lisp/textmodes/rst.el (rst-minor-mode):
* lisp/textmodes/sgml-mode.el (html-autoview-mode)
(sgml-electric-tag-pair-mode):
* lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
* lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
* lisp/emulation/crisp.el (crisp-mode):
* lisp/emacs-lisp/eldoc.el (eldoc-mode):
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
minor mode behavior.
* lisp/erc/erc-fill.el (erc-fill-mode):
* lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
* lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
reflect Emacs 24 minor mode changes.
* lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
calling a minor mode from Lisp with nil arg enables it, so we have to
make the working a bit ambiguous here).
2011-10-19 20:26:14 -04:00
Christopher J. White
b02ba905b4
* url-http.el (url-http-create-request): Avoid adding extra CRLF (Bug#8931).
2011-09-24 18:58:40 -04:00
Lars Magne Ingebrigtsen
ad87170ff3
Fix URL connection failing handling.
...
* url-http.el (url-http-find-free-connection): If there was an
error on connect, make sure the user isn't bothered with
irrelevant questions.
2011-09-13 19:18:08 +02:00
Chong Yidong
98fdd2b837
* url-http.el (url-http-parse-headers): For HTTP 301/302/307, don't convert to a GET request.
...
Fixes: debbugs:701
2011-08-07 13:48:11 -04:00
Chris Newton
b0c9af93ab
Copy over `url-show-status' to the async buffer
...
* url-http.el (url-http): Copy over `url-show-status' to the async
buffer so that `url-display-percentage' does the right thing
(bug#4680).
2011-07-13 16:12:06 +02:00
Julien Danjou
53d2167130
* url-cache.el (url-cache-extract): Set buffer multibyte flag to
...
nil (bug#8827).
2011-07-06 09:47:15 +02:00
Nicolas Avrutin
3487ca85e8
* url-http.el (url-http-create-request): Remove double carriage
...
return and newline.
Fixes: debbugs:8931
2011-07-03 18:03:47 +02:00
Lars Magne Ingebrigtsen
9aec558af4
* url-http.el (url-http-wait-for-headers-change-function): Remove
...
pointless "HTTP/0.9 How I hate thee!" message.
Fixes: debbugs:6735
2011-07-03 15:08:40 +02:00
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