Chong Yidong
200c042450
* url-cookie.el (url-cookie-retrieve): If localpart is not a
...
string, use it literally.
2009-01-15 13:56:05 +00:00
Chong Yidong
26343c7f0e
* url-cookie.el (url-cookie-retrieve): Handle null localpart.
2009-01-14 20:46:23 +00:00
Juanma Barranquero
d9e52e92aa
* url-util.el (url-truncate-url-for-viewing): Doc fix.
2009-01-13 01:53:45 +00:00
Glenn Morris
78892d1be9
(url-cid-gnus): Fix typo in header name.
2009-01-09 03:19:39 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Chong Yidong
92066e8365
* url-util.el (url-basepath): Add url-basepath as an alias for
...
url-file-directory.
2008-11-04 17:11:52 +00:00
Juanma Barranquero
d6c180c46b
New function `locate-user-emacs-file'.
...
* subr.el (locate-user-emacs-file): New function.
(user-emacs-directory): Mention it in docstring.
* completion.el (save-completions-file-name):
* filesets.el (filesets-menu-cache-file):
* image-dired.el (image-dired-dir, image-dired-db-file)
(image-dired-temp-image-file, image-dired-gallery-dir)
(image-dired-temp-rotate-image-file):
* savehist.el (savehist-file):
* server.el (server-auth-dir):
* startup.el (auto-save-list-file-prefix):
* thumbs.el (thumbs-thumbsdir):
* tutorial.el (tutorial--saved-dir):
* play/gamegrid.el (gamegrid-user-score-file-directory): Use it.
* url.el (url-configuration-directory): Use `locate-user-emacs-file'.
* NEWS: New function `locate-user-emacs-file'.
2008-10-24 09:39:27 +00:00
Chong Yidong
3b4df55029
* url-auth.el (url-basic-auth): Encode password string.
2008-10-20 16:05:53 +00:00
Juanma Barranquero
183080b610
Fix typos.
2008-10-01 09:12:37 +00:00
Juanma Barranquero
10d1d0af5f
Fix typos.
2008-09-24 01:16:16 +00:00
Glenn Morris
e77e9cf409
(url-https-expand-file-name): Resolve directly to url-default-expander
...
rather than via another alias.
(url-default-expander): Autoload an autoload. (Bug#825).
2008-08-30 02:22:47 +00:00
Juanma Barranquero
ba60bd44c7
Fix typos.
2008-07-18 15:42:14 +00:00
Juanma Barranquero
d1ce47b068
Typo and docstring fixes.
...
* url.el (url-do-setup):
* url-dired.el (url-dired-minor-mode):
* url-file.el (url-file-find-possibly-compressed-file):
* url-gw.el (url-gateway-broken-resolution):
* url-handlers.el (url-handler-regexp):
* url-imap.el (url-imap-default-port):
* url-methods.el (url-scheme-get-property): Fix typos in docstrings.
* url-auth.el (url-basic-auth-storage, url-digest-auth):
Fix typos in docstrings.
(url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
* url-cache.el (url-cache-prepare): Doc fix.
(url-cache-create-filename-human-readable, url-cache-extract):
Fix typos in docstrings.
* url-dav.el (url-intersection, url-dav-iso8601-regexp)
(url-dav-delete-something): Fix typos in docstrings.
(url-dav-http-success-p, url-dav-file-name-all-completions)
(url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
* url-http.el (url-http-idle-sentinel): Doc fix.
* url-irc.el (url-irc-default-port): Fix typo in docstring.
(url-irc-function): Doc fix.
* url-util.el (url-get-url-filename-chars, url-unhex-string):
Fix typos in docstrings.
(url-file-extension): Doc fix.
* url-vars.el (url-current-object, url-current-mime-headers)
(url-privacy-level, url-mail-command, url-mime-language-string):
Fix typos in docstrings.
(url-honor-refresh-requests): Reflow docstring.
(url-using-proxy): Doc fix.
2008-07-02 11:14:38 +00:00
Glenn Morris
fffa137cb7
American English spelling fix.
2008-06-27 07:34:53 +00:00
Dan Nicolaescu
0b5c42251a
* vc-dav.el: Move here from url/vc-dav.el.
...
* Makefile.in (ELCFILES): Update vc-dav.el location.
* vc-dav.el: Move to the parent directory to be together with the
rest of the VC backends.
2008-06-22 14:57:42 +00:00
Glenn Morris
8705576eab
(auth-source-user-or-password): Remove unnecessary eval-and-compile.
2008-06-07 02:34:01 +00:00
Stefan Monnier
a118b59bed
(url-file-name-completion): Add missing argument.
2008-05-30 01:36:29 +00:00
Teodor Zlatanov
97d1c23634
Add autoload cookie for
...
`auth-source-user-or-password'.
(url-basic-auth, url-digest-auth): Use it with any realm,
overriding the user name and password before the prompt.
2008-05-12 12:39:46 +00:00
Glenn Morris
4936186e9c
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 04:29:13 +00:00
Juanma Barranquero
c385aa1a13
(url-load-hook): Fix typo in docstring.
2008-04-28 16:27:17 +00:00
Magnus Henoch
84f089d3fb
(url-http-chunked-encoding-after-change-function):
...
Remove superfluous CRLF at end of file. (bug #42 )
2008-03-09 20:16:12 +00:00
Andreas Schwab
26d72be862
Require cl when compiling.
2008-03-02 17:24:18 +00:00
Teodor Zlatanov
d626f888d2
(url-get-normalized-date): Simplify
...
to use `format-time-string'. Always generate date in UTC, but
call it GMT for full compatibility with the RFCs.
2008-02-28 17:41:40 +00:00
Michael Albinus
a9f31e3df9
* url-handlers.el (file-remote-p): Add handler.
...
(url-handler-file-remote-p): New fun.
2008-02-06 20:34:23 +00:00
Stefan Monnier
791fe18237
(url-handler-unhandled-file-name-directory):
...
Handle `file' URLs specially. Return nil for non-local filenames.
2008-02-06 14:43:05 +00:00
Magnus Henoch
b72ef56499
Require cl when compiling, for setf.
2008-02-04 06:40:29 +00:00
John Wiegley
e652840bf7
2008-01-29 John Wiegley <johnw@newartisans.com>
...
* url-auth.el (url-digest-auth): If the 'opaque' argument is not
being used, don't add it to the response text. Also, changed an
if so that the interaction between the PROMPT and OVERWRITE
arguments can no longer result in the user being queried twice for
the same login and password information.
2008-01-29 03:52:05 +00:00
Miles Bader
1bad168e59
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Stefan Monnier
ce4059eea0
(unhandled-file-name-directory): Add handler.
...
(url-handler-unhandled-file-name-directory): New fun.
2008-01-21 17:16:52 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Juanma Barranquero
2941ce4bcf
*** empty log message ***
2008-01-07 16:39:40 +00:00
Juanma Barranquero
2a5be7dc2b
*** empty log message ***
2008-01-07 11:41:11 +00:00
Michael Albinus
80e4b01d33
* url-handlers.el (url-file-handler): Autoload.
2008-01-07 06:52:19 +00:00
Glenn Morris
12dc447f2a
Add 2008 to copyright years.
2008-01-07 02:23:04 +00:00
Glenn Morris
812498713a
(url-make-private-file): New function.
2007-12-11 05:50:37 +00:00
Glenn Morris
9824ded5dd
(url-history-save-history): Use url-make-private-file and with-temp-buffer.
2007-12-11 05:49:36 +00:00
Glenn Morris
40234eaf65
Remove directory part from filenames in function declarations.
2007-12-06 04:03:32 +00:00
Glenn Morris
e05b1e72be
(top-level): Don't require cl when compiling.
...
(url-imap): Use signal rather than check-type.
2007-12-02 18:05:57 +00:00
Glenn Morris
1a39318ad3
*** empty log message ***
2007-12-02 04:09:52 +00:00
Glenn Morris
c2bf6d2c83
*** empty log message ***
2007-12-02 04:09:45 +00:00
Glenn Morris
24030ea3d9
(top-level): Don't require cl when compiling.
...
(gnus-group-buffer): Define for compiler.
(url-news-fetch-message-id): Don't use `declare'.
(nntp-open-tls-stream, nntp-open-ssl-stream):
No need to define for compiler.
(url-snews): Use nntp-open-tls-stream unless ssl is requested.
2007-12-02 04:03:19 +00:00
Glenn Morris
0bb2aced74
(nntp-open-tls-stream, nntp-open-ssl-stream):
...
No need to define for compiler.
(url-snews): Use nntp-open-tls-stream unless ssl is requested.
2007-12-02 03:58:04 +00:00
Glenn Morris
29c7eba8a1
(top-level): Always require url-parse, not just when compiling.
2007-12-01 22:04:57 +00:00
Glenn Morris
361763416f
(url-cookie-p): Declare as a function.
2007-11-30 08:06:25 +00:00
Glenn Morris
0bd90741d6
(zenirc, zenirc-send-line): Declare as functions.
2007-11-29 04:35:08 +00:00
Glenn Morris
7ba1d5ae7a
Diane Murray <disumu at x3y2z1.net>
...
Don't require w3-fetch and w3-open-local.
(url-dired-find-file): Use `find-file'. Doc fix.
(url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
2007-11-28 08:28:20 +00:00
Glenn Morris
e05661923e
Diane Murray <disumu at x3y2z1.net>
...
Don't require w3-fetch and w3-open-local.
(url-dired-find-file): Use `find-file'. Doc fix.
(url-dired-find-file-mouse, url-dired-minor-mode): Doc fix.
2007-11-28 08:28:15 +00:00
Glenn Morris
9f34397ded
mail_send -> mail-send.xpm.
2007-11-24 03:29:18 +00:00
Miles Bader
d4aa48db8e
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-937
2007-11-21 04:55:58 +00:00
Dan Nicolaescu
6d00e226c3
* progmodes/python.el (info-lookup-maybe-add-help):
...
* progmodes/ps-mode.el (doc-view-minor-mode):
* mail/emacsbug.el (Info-menu, Info-goto-node):
* emulation/viper-keym.el (viper-ex)
(viper-normalize-minor-mode-map-alist, viper-set-mode-vars-for):
* emulation/viper-cmd.el (widget-type, widget-button-press)
(viper-set-hooks):
* emacs-lisp/tcover-unsafep.el (unsafep-function):
* emacs-lisp/tcover-ses.el (ses-set-curcell, ses-update-cells)
(ses-load, ses-vector-delete, ses-create-header-string)
(ses-read-cell, ses-read-symbol, ses-command-hook, ses-jump):
* emacs-lisp/gulp.el (mail-subject, mail-send): Declare as
functions.
* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
(url-generate-unique-filename): Declare as functions.
2007-11-20 07:56:02 +00:00
Dan Nicolaescu
153ef845b8
* progmodes/idlw-help.el: Require browse-url unconditionally, it
...
is available by default.
(idlwave-help-browse-url-available): Change default to t.
* emulation/edt.el (defgroup, defcustom): Remove definition.
(eval-when-compile): Remove.
(c-mark-function):
* textmodes/reftex-dcr.el (bibtex-beginning-of-entry):
* textmodes/fill.el (comment-search-forward)
(comment-string-strip):
* progmodes/prolog.el (comint-mode, comint-send-string)
(comint-send-region, comint-send-eof):
* progmodes/dcl-mode.el (imenu-default-create-index-function):
* emulation/viper-util.el (viper-forward-Word):
* emulation/vi.el (c-mark-function):
* emulation/edt-vt100.el (vt100-wide-mode):
* emacs-lisp/timer.el (diary-entry-time): Declare as functions.
* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
Declare as functions.
* url-privacy.el (url-device-type): Define unconditionally.
2007-11-20 00:57:10 +00:00
Richard M. Stallman
9ffb952120
(url-retrieve-synchronously): Call delete-process.
2007-11-15 11:52:42 +00:00
Juanma Barranquero
3a47bb3e6a
(url-vars-unload-hook): Remove function and variable.
...
Hooks are automatically removed by `unload-feature'.
2007-10-31 11:48:02 +00:00
Miles Bader
b2529d56b5
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 116-121)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
2007-10-15 02:07:53 +00:00
Richard M. Stallman
4148f522b8
(url-default-expander): Use `url-file-directory'.
2007-10-13 14:04:06 +00:00
Glenn Morris
3aa491bcaf
Diane Murray <disumu at x3y2z1.net>
...
(url-basic-auth): Set path to "/" when URL has an empty string filename.
2007-10-13 02:50:02 +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
Juanma Barranquero
259b63b41b
(top): Use mapc' rather than
mapcar'.
2007-09-26 00:39:23 +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
8a35aa368f
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:28 +00:00
Glenn Morris
d01b355036
Diane Murray <disumu at x3y2z1.net>
...
(url-news-fetch-newsgroup): Fix formatting of Gnus method.
2007-09-21 03:32:47 +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
965d1f0e25
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:59:20 +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
Juanma Barranquero
0f71f9da9c
*** empty log message ***
2007-09-15 21:27:19 +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
72f252993b
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:28:23 +00:00
Stefan Monnier
d18ec89f1c
* url-parse.el (url): Use defstruct rather than macros. Update all callers.
2007-08-31 16:40:05 +00:00
Miles Bader
37cc095b6a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
df26688bd0
Replace `iff' in doc-strings and comments.
2007-08-08 07:21:11 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +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
Chong Yidong
c0ed4c2329
url.el (url-configuration-directory): Use user-emacs-directory.
2007-06-13 00:07:59 +00:00
Stefan Monnier
495fa7db39
(url-cookie-name, url-cookie-value, url-cookie-expires, url-cookie-localpart)
...
(url-cookie-domain, url-cookie-secure, url-cookie-set-name)
(url-cookie-set-value, url-cookie-set-expires, url-cookie-set-localpart)
(url-cookie-set-domain, url-cookie-set-secure, url-cookie-retrieve-arg)
(url-cookie-create, url-cookie-p): Remove.
(url-cookie): New struct.
(url-cookie-store): Use setf instead of url-cookie-set-*.
2007-06-12 18:24:25 +00:00
Richard M. Stallman
dafea68ca2
*** empty log message ***
2007-05-29 19:43:27 +00:00
Chong Yidong
de74fffc15
Fix typo.
2007-05-29 16:24:25 +00:00
Chong Yidong
2819bdd5a3
Fix typo.
2007-05-29 16:23:22 +00:00
Chong Yidong
345c7f05d8
* 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:31:01 +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
Stefan Monnier
7660c02fc5
(url-cookie-write-file): Really don't use versioned backups.
2006-08-29 14:00:27 +00:00
Stefan Monnier
d0f891a742
(url-file-local-copy): Tell url-copy-file that the dest file will already exist.
2006-08-25 20:44:49 +00:00
Stefan Monnier
07e9b3f01c
(url-hexify-string): Only utf-8 encode if it's a multibyte string.
...
(url-normalize-url): Remove unused var `grok'.
(url-truncate-url-for-viewing): Remove unused var `tail'.
2006-07-31 21:36:43 +00:00
Thien-Thi Nguyen
ecfbb4888a
(url-hexify-string): Rewrite.
2006-07-30 20:21:14 +00:00
Miles Bader
0b6bb13008
Update for ERC 5.1.3.
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-348
Creator: Michael Olson <mwolson@gnu.org>
2006-07-14 02:29:50 +00:00
Stefan Monnier
3d3a26eb29
*** empty log message ***
2006-07-12 18:05:53 +00:00
Stefan Monnier
bc684c16bc
Remove spurious * in docstrings.
...
(url-cookie-write-file): Don't use versioned backups.
(url-cookie-host-can-set-p): Remove unused var `tmp'.
(url-cookie-save-interval): Move to url-cookie group.
(url-cookie-write-file): Reset url-cookies-changed-since-last-save.
2006-07-11 15:03:24 +00:00
Reiner Steib
d10a6bf119
(url-http-file-exists-p): Test if status is integer.
2006-05-12 12:29:36 +00:00
Eli Zaretskii
3dfed65387
*** empty log message ***
2006-05-05 13:03:17 +00:00
Stefan Monnier
351b838f61
(url-open-stream): Don't hide errors.
...
(url-gateway-nslookup-host, url-open-telnet): Use with-current-buffer.
2006-04-26 20:40:18 +00:00
Stefan Monnier
bdba217b30
(url-handler-directory-file-name): New handler.
...
(url-file-local-copy): Plug race condition security hole.
2006-03-29 08:00:09 +00:00
Romain Francoise
7608c40cd1
(url-irc-rcirc, url-irc-erc): New functions.
...
(url-irc-function): Add rcirc and ERC to the list of IRC clients.
Default to rcirc, since ZenIRC isn't part of Emacs.
2006-03-27 20:23:47 +00:00
Stefan Monnier
bedeb7fde3
(url-http-find-free-connection): Fix braino in last fix.
2006-03-07 17:21:16 +00:00
Stefan Monnier
8dff56def5
(url-http-find-free-connection): Don't kill the process
...
when killing the temp buffer.
(url-http-symbol-value-in-buffer): Massage to make it clear to the
byte-compiler that the function is defined.
2006-03-06 03:17:00 +00:00
Stefan Monnier
9b4cf2318a
(url-redirect-buffer): New var.
...
(url-retrieve-synchronously): Use it to follow redirections.
2006-02-20 21:54:23 +00:00
Stefan Monnier
81cafdfe92
Move defvars out of eval-when-compile.
...
(url-news-fetch-message-id, url-news-fetch-newsgroup): Use with-current-buffer.
2006-01-18 16:43:46 +00:00
Stefan Monnier
e7ea7cac4e
(url-retrieve-synchronously): Adjust the workaround so as not
...
to stop in the middle of a redirection.
2006-01-10 19:31:15 +00:00
Stefan Monnier
5dc3ceeb76
(url-privacy-level): Add setter.
2006-01-10 19:14:38 +00:00
Stefan Monnier
176c99dca2
(url-history-hash-table): Initialize in declaration.
...
(url-history-parse-history): Don't reset the history.
(url-history-save-history): Create parent dir if necessary.
(url-history-save-history): Don't write the initialization of
url-history-hash-table into the history file.
(url-have-visited-url): Simplify since url-history-hash-table is non-nil.
(url-completion-function): Simplify.
2006-01-05 22:28:16 +00:00
Stefan Monnier
72a30be46b
(url-cookie-parse-file): Don't complain of missing file.
...
(url-cookie-parse-file, url-cookie-write-file, url-cookie-retrieve)
(url-cookie-generate-header-lines, url-cookie-handle-set-cookie)
(url-cookie-setup-save-timer): Remove autoload cookies.
They're only called from files that require url-cookie anyway.
2006-01-05 22:10:47 +00:00
Stefan Monnier
55262b16df
(url-retrieve-synchronously): Don't autoload.
2006-01-02 05:25:13 +00:00
Stefan Monnier
32d5ce4db4
(url-store-in-cache): Use save-current-buffer.
2005-12-27 17:01:01 +00:00
Stefan Monnier
d476efde68
(url-configuration-directory): Don't autoload because the
...
default value needs to be computed at run-time, not dump-time.
2005-12-27 16:59:45 +00:00
Stefan Monnier
32fa584479
(url-cookie-write-file): Create parent dir.
2005-12-21 20:08:49 +00:00
Richard M. Stallman
0c06992441
(url-cookie-save-interval): Simplify.
...
(url-cookie-setup-save-timer): Simplify.
2005-12-08 00:01:48 +00:00
Richard M. Stallman
8553120c70
(url-history-list): Var deleted.
...
(url-history-save-interval): Simplify.
(url-history-setup-save-timer): Simplify.
2005-12-04 17:53:13 +00:00
Kim F. Storm
b0ab1a0679
*** empty log message ***
2005-12-01 21:45:08 +00:00
Richard M. Stallman
1942d6ccfd
(url-history-track): Call url-history-setup-save-timer in :set function.
...
:type allows three alternatives.
(url-history-setup-save-timer): Test url-history-track.
2005-12-01 19:15:13 +00:00
Stefan Monnier
12f1edc823
Use with-current-buffer.
...
(url-http-target-url): Rename from url-http-cookies-sources.
(url-http-parse-headers): Use it.
(url-http-handle-authentication): Use subst-char-in-string.
2005-11-18 16:55:54 +00:00
Stefan Monnier
77f05e24e8
(url-insert-file-contents): Use the charset info
...
provided by the HTTP server, if any.
2005-11-16 19:05:38 +00:00
Eli Zaretskii
ce13796f48
*** empty log message ***
2005-10-20 15:00:21 +00:00
Richard M. Stallman
a4684cb098
Don't try to autoload hash table functions.
2005-10-15 14:48:26 +00:00
Stefan Monnier
1430e7f9b9
(url-http-create-request): Avoid incorrect implicit uni->multibyte conversion.
2005-10-03 18:19:45 +00:00
Richard M. Stallman
8ccd36304d
*** empty log message ***
2005-09-17 05:02:16 +00:00
Chong Yidong
8ded3f47ef
2005-09-15 Chong Yidong <cyd@stupidchicken.com>
...
* url-mailto.el (url-mailto):
Call `compose-mail with `new' argument if possible.
2005-09-15 03:54:24 +00:00
Chong Yidong
b0742512e5
2005-09-15 Chong Yidong <cyd@stupidchicken.com>
...
* url-mailto.el (url-mailto): Delete mail buffer after sending
autogenerated mail.
2005-09-15 03:30:39 +00:00
Chong Yidong
c8359e8fd5
2005-09-13 Chong Yidong <cyd@stupidchicken.com>
...
* url-mailto.el (url-mailto): Always use a new mail buffer.
2005-09-12 23:02:16 +00:00
Chong Yidong
6fd388f37c
*** empty log message ***
2005-09-01 16:38:39 +00:00
Juanma Barranquero
26d874b218
(nntp-open-tls-stream, nntp-open-ssl-stream): Defvar at compile time.
2005-08-24 14:31:17 +00:00
Richard M. Stallman
dc524e8ba5
(url-http-parse-headers): Add :redirect arg-pair
...
when calling url-retrieve, to indicate a redirect.
2005-07-15 05:12:19 +00:00
Lute Kamstra
a0ec7a4a17
*** empty log message ***
2005-07-05 12:22:32 +00:00
Juanma Barranquero
59fda2faaa
*** empty log message ***
2005-07-04 01:26:53 +00:00
Richard M. Stallman
231add10db
(url-http-create-request): Call url-recreate-url in proxy case.
2005-06-28 21:35:28 +00:00
Richard M. Stallman
e893ce91fb
(url-http-create-request): When computing real-fname,
...
call url-filename in both cases.
2005-06-28 00:48:17 +00:00
Richard M. Stallman
528b6abcb4
*** empty log message ***
2005-06-23 21:49:52 +00:00
Juanma Barranquero
23873c965c
*** empty log message ***
2005-06-21 14:12:12 +00:00
Juanma Barranquero
0b46b379ea
*** empty log message ***
2005-06-14 15:52:56 +00:00
Stefan Monnier
175384d1ee
(url-file, url-file-asynch-callback): Use with-current-buffer.
2005-06-13 14:32:42 +00:00
Stefan Monnier
0090e0483c
Remove most autoload cookies.
...
Don't hook into the url-file-handler since it currently breaks all
non-HTTP URLs.
2005-06-10 22:02:23 +00:00
Stefan Monnier
7f95457178
(url-retrieve-synchronously): Don't exit precipitously when
...
fetching a file via ange-ftp.
2005-06-10 21:14:34 +00:00
Juanma Barranquero
466c78c08f
*** empty log message ***
2005-06-10 14:16:23 +00:00
Juanma Barranquero
93c8c9cd7d
(url-cookie-multiple-line): Specify group and type in defcustom.
2005-05-19 17:59:58 +00:00
Juanma Barranquero
216d380630
Replace string-to-int' by
string-to-number'.
2005-05-16 10:07:59 +00:00
Stefan Monnier
799fba8ff4
(url-retrieve-synchronously): Work around the fact that
...
url-http sometimes doesn't call the callback.
2005-04-18 13:19:43 +00:00
Lute Kamstra
8c6ef2ca34
*** empty log message ***
2005-04-04 09:39:03 +00:00
Eli Zaretskii
a6efc2c25d
(url-have-visited-url): Don't barf if url-history-hash-table is nil.
2005-02-26 15:23:43 +00:00
Richard M. Stallman
134948fc5f
*** empty log message ***
2005-02-14 10:25:50 +00:00
Eli Zaretskii
557724a871
Fix last entry.
2005-01-22 10:55:38 +00:00
Eli Zaretskii
1a8461d34c
*** empty log message ***
2005-01-22 10:53:39 +00:00
Stefan Monnier
944b2ab6ca
(url-retrieve-synchronously): Use accept-process-output rather than sit-for.
2005-01-13 14:35:11 +00:00
Thien-Thi Nguyen
e817f9a248
(url-http-handle-authentication): Don't kill the current buffer.
2005-01-03 16:56:28 +00:00
Stefan Monnier
5007cdc96d
Don't `require' everything eagerly.
2004-12-11 22:06:00 +00:00
Andreas Schwab
cacfe88b03
(url-http-handle-cookies): Bind `url-current-object'
...
to `url-http-cookies-sources' so that cookies are attributed to
proper domain.
(url-http): Make local variable `url-http-cookies-sources'.
2004-11-30 21:32:35 +00:00
Andreas Schwab
dc1a0a7a28
(url-http-create-request): Don't add newline after
...
the request data.
2004-11-28 19:14:11 +00:00
Masatake YAMATO
14e25c87b0
(url-mm-callback): Delay the invocation
...
of `mm-destroy-parts'. Invoke `mm-destroy-parts'
when the buffer is killed.
2004-11-20 03:57:59 +00:00
Masatake YAMATO
de0234ea3d
url-mailto.el (url-mailto): Fix a typo in the comment.
2004-11-11 18:03:41 +00:00
Masatake YAMATO
60b5eb7862
* url-imap.el (url-imap-open-host): Don't use
...
`string-to-int'. The port returned by `url-port'
is expected to be an integer.
* url-irc.el (url-irc): Ditto.
* url-news.el (url-news-open-host): Ditto.
* url-nfs.el (url-nfs-build-filename): Ditto.
2004-11-02 09:40:30 +00:00
John Paul Wallington
ed87225ada
(url-gateway-nslookup-host): Use `set-process-query-on-exit-flag'.
2004-10-20 08:04:19 +00:00
Lars Hansen
2a6c7fe5f2
Update header.
2004-10-19 21:37:32 +00:00
Richard M. Stallman
c2e2ede7e8
*** empty log message ***
2004-10-16 15:35:53 +00:00
Simon Josefsson
3bb53a84de
*** empty log message ***
2004-10-12 09:55:20 +00:00
Lars Hansen
df41da5eda
Fix copyright notice.
2004-10-10 20:40:21 +00:00
Stefan Monnier
ccd59305b4
(url-insert-file-contents): Use the URL to decide the
...
encoding, not the buffer-file-name (which might not even exist).
2004-10-06 15:56:41 +00:00
Stefan Monnier
d4fdad607e
(url-insert-file-contents): Decode contents.
2004-09-20 21:27:10 +00:00
Miles Bader
cfceee1ed3
Changes from arch/CVS synchronization
2004-07-01 21:03:14 +00:00
Stefan Monnier
4dfde3dd1d
*** empty log message ***
2004-07-01 13:02:50 +00:00
Stefan Monnier
10a6e6ba22
*** empty log message ***
2004-07-01 12:29:28 +00:00