Commit graph

406 commits

Author SHA1 Message Date
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
Mark A. Hershberger
04c2373982 Add in some useful convenience functions for handling HTTP. 2010-06-22 12:48:53 -04:00
Glenn Morris
2b1b005c76 * lisp/url/ChangeLog: Standardize author name . 2010-06-21 20:20:24 -07:00
Stefan Monnier
2a64315a11 Merge from emacs-23 2010-06-16 16:08:41 -04:00
Štěpán Němec
7fb277a9f0 Close bug#6406.
* lisp/url/url-vars.el (url-privacy-level): Fix doc typo.
2010-06-12 00:25:20 -07:00
Stefan Monnier
171eda5358 Merge from emacs-23 2010-05-24 20:54:13 -04:00
Stefan Monnier
c3bb441dd0 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
* editfns.c (Fbyte_to_string): New function.
* NEWS: Add sections for Emacs-23.3.
2010-05-19 11:23:53 -04:00
Stefan Monnier
0235128c15 Merge from emacs-23 2010-05-08 14:47:07 -04:00
Chong Yidong
61a808e819 Bump version to 23.2. 2010-05-07 23:28:26 -04:00