Lars Magne Ingebrigtsen
02ee710a0b
* net/eww.el (eww): Add comment to clarify.
2014-11-13 17:59:42 +01:00
Lars Magne Ingebrigtsen
cbf8ea6f7f
Display SVG images in external <object> files
...
Fixes: debbugs:16244
* net/eww.el (eww-form-file): Fix version number.
* net/shr.el (shr-parse-image-data): Remove blocked bits from
external SVG images.
(shr-tag-object): Display images in <object> forms.
(shr-tag-table): Also insert <objects> after the tables.
2014-11-13 17:16:51 +01:00
Lars Magne Ingebrigtsen
653bddcea2
* net/eww.el (eww-form-file): Fix version number.
2014-11-13 14:10:05 +01:00
Thomas Fitzsimmons
e56e1b924d
Mention binddn in LDAP credentials error message
...
* net/ldap.el (ldap-search-internal): Mention binddn in invalid
credentials error message.
2014-11-13 02:54:13 -05:00
Thomas Fitzsimmons
4a77d69746
ldap-password-read: Validate password before caching it
...
* net/ldap.el (ldap-password-read): Validate password before
caching it.
(ldap-search-internal): Handle ldapsearch error conditions.
2014-11-13 02:46:04 -05:00
Thomas Fitzsimmons
9006ccd6c2
Handle nil password-cache in ldap-password-read
...
* net/ldap.el (ldap-password-read): Handle password-cache being
nil.
2014-11-13 02:43:36 -05:00
Thomas Fitzsimmons
81d0909b70
Restore former eudc-expand-inline settings after a nonlocal exit
...
* net/eudc.el (eudc-expand-inline): Always restore former server
and protocol.
2014-11-13 02:41:00 -05:00
Thomas Fitzsimmons
78602273d2
Do not ask the user for an LDAP base if a default has been provided
...
* net/eudcb-ldap.el: Don't nag the user in case a default base is
provided by the LDAP system configuration file.
2014-11-13 02:32:13 -05:00
Thomas Fitzsimmons
1e1f5b9cef
Append LDAP wildcard character to end of search string
...
* net/eudc.el (eudc-format-query): Preserve the
eudc-inline-query-format ordering of attributes in the returned
list.
* net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558): Append
the LDAP wildcard character to the last attribute value.
2014-11-13 02:32:12 -05:00
Thomas Fitzsimmons
6a3a3b0e10
Downcase field names in LDAP results
...
* net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Downcase
field names of LDAP results.
(eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2014-11-13 02:32:12 -05:00
Thomas Fitzsimmons
ea0ea9003d
ldap-search-internal: Send password to ldapsearch through a pipe
...
* net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
(ldap-search-internal): Send password to ldapsearch through a pipe
instead of via the command line.
2014-11-13 02:32:12 -05:00
Thomas Fitzsimmons
87ff9aeb42
Add password-cache support to ldap.el
...
* net/ldap.el: Require password-cache.
(ldap-password-read): New function.
(ldap-search-internal): Call ldap-password-read when it is
configured to be called.
2014-11-13 02:31:14 -05:00
Thomas Fitzsimmons
b7d2dfa9f3
Change eudc-expansion-overwrites-query default to nil
...
* net/eudc-vars.el (eudc-expansion-overwrites-query): Change
default to nil.
2014-11-13 01:17:56 -05:00
Thomas Fitzsimmons
c8d2553bd4
Ignore text properties in eudc-expand-inline
...
* net/eudc.el (eudc-expand-inline): Ignore text properties of
string-to-expand.
2014-11-13 01:13:34 -05:00
Thomas Fitzsimmons
fa9a3ca536
Improve eudc-inline-expansion-format's default value
...
* net/eudc-vars.el (eudc-inline-expansion-format): Default to a
format that includes first name and surname.
2014-11-13 01:10:10 -05:00
Thomas Fitzsimmons
6dda29fd02
Improve eudc-inline-query-format's default value
...
* net/eudc-vars.el (eudc-inline-query-format): Change default to
query email and first name instead of surname.
2014-11-13 01:06:13 -05:00
Thomas Fitzsimmons
0dee070094
Support new-style LDAP URIs in ldap-search-internal
...
* net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2014-11-13 00:59:12 -05:00
Thomas Fitzsimmons
090cbf9b46
Change eudc-server-hotlist from a defvar to a defcustom
...
* net/eudc-vars.el (eudc-server): Adjust docstring to mention
eudc-server-hotlist.
(eudc-server-hotlist): Move from eudc.el and make defcustom.
* net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
(eudc-set-server): Allow setting protocol to nil.
(eudc-expand-inline): Support hotlist-only expansions when server
is not set.
2014-11-13 00:50:01 -05:00
Lars Magne Ingebrigtsen
5531e676d4
* net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
2014-11-12 21:13:19 -08:00
Kenjiro NAKAYAMA
fca2f70380
Allow uploading files from eww
...
2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
* net/eww.el(eww-form-file(defface)): New defface of file upload form.
(eww-submit-file): New key map of file upload.
(eww-form-file): New file upload button and file name context.
(eww-select-file): Select file and display selected file name.
(eww-tag-input): Handle input tag of file type.
(eww-update-field): Add point offset.
(eww-submit): Add submit with multipart/form-data.
* gnus/mm-url.el (mm-url-encode-multipart-form-data):
Restore to handle "multipart/form-data" by eww.
2014-11-10 22:33:55 +01:00
Lars Magne Ingebrigtsen
14fe3679c9
Allow using several eww buffers (bug#16211)
...
* net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
Allow taking a buffer to render data in. This allows using several
eww buffers (bug#16211).
2014-11-10 22:18:11 +01:00
Charles Rendleman
df87fc30e1
(eww-download-callback): Save only the file contents
...
* net/eww.el (eww-download-callback): Save only the file contents,
not the headers.
2014-11-10 21:55:55 +01:00
Lars Magne Ingebrigtsen
6019446af6
(eww-save-history): Don't let the history grow infinitely.
2014-11-10 21:44:33 +01:00
Lars Magne Ingebrigtsen
f188b66742
Restore the header line after using `eww-readable'
...
(eww-readable): Copy over pertinent data from the parent page.
2014-11-10 21:34:43 +01:00
Lars Magne Ingebrigtsen
41d4f8428b
Make `l' and other commands work in eww after going back in history
...
* net/eww.el (eww-data): New plist to store all the data relevant
to a single page, used throughout the file instead of the
variables `eww-current-url', `eww-current-dom',
`eww-current-source', and `eww-current-title'.
2014-11-10 21:30:30 +01:00
Lars Magne Ingebrigtsen
02b99d2304
Refactor the eww history saving to prepare for storing even more
...
* net/eww.el (eww-data): New plist to store all the data relevant
to a single page, used throughout the file instead of the
variables `eww-current-url', `eww-current-dom',
`eww-current-source', and `eww-current-title'.
2014-11-10 21:22:59 +01:00
Glenn Morris
416148257a
Merge from emacs-24; up to 117687
2014-11-08 10:21:38 -08:00
Michael Albinus
121ccd275a
* net/tramp.el (tramp-check-cached-permissions): Include hop in
...
the constructed Tramp file name.
Fixes: debbugs:18943
2014-11-07 21:15:46 +01:00
Tassilo Horn
cde44c6ff5
Require subst-x only at compile-time
...
* lisp/net/eww.el (subr-x): Require subr-x at compile-time because eww
uses string-trim.
2014-11-05 20:29:28 +01:00
Michael Albinus
bd02f3d40e
* net/tramp-adb.el (tramp-adb-handle-file-attributes):
...
* net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
* net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
case of errors.
* net/tramp.el (tramp-error-with-buffer): Show connection buffer
only when message appeared in minibuffer.
Fixes: debbugs:18891
2014-11-05 12:24:04 +01:00
Tassilo Horn
eecd19cf09
Fix void-function string-trim error
...
* lisp/net/eww.el (subr-x): Require subr-x because eww uses
string-trim.
2014-11-05 12:10:20 +01:00
Glenn Morris
b6e66a5cc7
Merge from emacs-24; up to 117669
2014-11-04 21:08:57 -08:00
Ted Zlatanov
f3e25d69b0
* net/eww.el (eww): Trim URL with `string-trim'.
...
Suggested by Vibhav Pant <vibhavp@gmail.com>.
2014-11-04 11:31:33 -05:00
Michael Albinus
b6ad705482
* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
...
a local copy; setting `inhibit-file-name-handlers' proper might be
more performant.
Fixes: debbugs:18751
2014-11-04 10:02:56 +01:00
Lars Magne Ingebrigtsen
15eb2ec114
eww readability tweak
...
* net/eww.el (eww-score-readability): Don't count comments positively.
2014-11-04 00:46:20 +01:00
Lars Magne Ingebrigtsen
704da6eeb4
shr typo fix from recent check-in
...
* net/shr.el (shr-retransform-dom): Typo fix.
2014-11-03 23:59:07 +01:00
Lars Magne Ingebrigtsen
b0481eb966
eww point positioning tweak
...
(eww-display-html): Don't leave point inside forms.
2014-11-03 23:58:02 +01:00
Lars Magne Ingebrigtsen
1ca31e8cbd
Minor readability parsing issues with SVC images
...
* net/eww.el (eww-score-readability): Parse SVC images correctly.
* net/shr.el: Ditto.
2014-11-03 23:54:16 +01:00
Lars Magne Ingebrigtsen
772a965c5f
Minor `shr-retransform-dom' fix
...
* net/shr.el (shr-retransform-dom): Don't ignore elements that
have no children like <br />.
2014-11-03 23:38:26 +01:00
Glenn Morris
41e962982d
Merge from emacs-24; up to 2014-08-07T11:49:36Z!rrt@sc3d.org
2014-11-03 16:49:37 -05:00
Lars Magne Ingebrigtsen
303fd9411f
Remove `eww-colorize-region'
...
(eww-colorize-region): Remove duplicate function.
(eww-tag-body): Use `shr-colorize-region'.
2014-11-03 22:27:24 +01:00
Lars Magne Ingebrigtsen
a3e8e5089f
eww compilation warning fix
...
(url-queue): Require `url-queue' to avoid compilation warning.
2014-11-03 21:33:32 +01:00
Lars Magne Ingebrigtsen
39804c1adb
Make eww display PDFs inline
...
* net/eww.el (eww-display-html): Clear `url-queue'.
(eww-display-pdf): New function.
(eww-render): Display PDFs with `doc-view'.
2014-11-03 20:39:08 +01:00
Michael Albinus
6c5a32ddbc
* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
...
local copy of FILENAME, when it is remote.
Fixes: debbugs:18751
2014-11-03 15:29:51 +01:00
Yoni Rabkin
d9079cf1b8
* net/eww.el (eww-list-bookmarks): Autoload.
2014-11-03 08:22:43 -05:00
Lars Magne Ingebrigtsen
01af3a585d
* net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
2014-11-03 02:02:37 +01:00
Lars Magne Ingebrigtsen
ab657babf0
Make titles in eww prettier
...
(eww-tag-title): Remove newlines and extra whitespace from the
displayed title.
2014-11-03 01:35:44 +01:00
Lars Magne Ingebrigtsen
029788dbb0
Fix `eww-display-html' bug when passed an explicit DOM
...
(eww-display-html): Don't try to decode the text if we've been
passed in a pre-parsed DOM.
2014-11-03 01:30:41 +01:00
Lars Magne Ingebrigtsen
13375c1345
Have `R' in eww save the history
...
(eww-readable): Save the history before displaying so that we can
go back to the non-readable version.
2014-11-03 01:24:33 +01:00
Lars Magne Ingebrigtsen
54b3c985d6
Fix charset problems with the `R' command in eww
...
* net/eww.el (eww-display-html): The charset is called `utf-8',
not `utf8'.
(eww-readable): Decode the saved text correctly.
2014-11-03 01:16:21 +01:00