1 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3 * eww.el (eww-process-text-input): Display passwords as asterisks.
5 * shr.el (shr-make-table-1): Protect against invalid column-spans.
7 2013-06-19 Tom Tromey <tromey@redhat.com>
9 * net/eww.el (eww-top-url): Remove.
10 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11 (eww-render): Set new variables. Don't set eww-top-url.
12 (eww-handle-link): Handle "prev", "home", and "contents".
13 Downcase the rel text.
14 (eww-top-url): Choose best top URL.
16 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18 * eww.el: Rewrite to implement form elements "by hand" instead of
19 relying in widget.el. Using widget.el leads to too many
20 user interface inconsistencies.
21 (eww-self-insert): Implement entering commands in text fields.
22 (eww-process-text-input): New function to make text input field editing
24 (eww-submit): Rewrite to use the new-style form methods.
25 (eww-select-display): Display the correct selected item.
26 (eww-change-select): Implement changing the select value.
27 (eww-toggle-checkbox): Implement radio/checkboxes.
28 (eww-update-field): Fix compilation error.
29 (eww-tag-textarea): Implement <textarea>.
31 * shr.el (shr-urlify): Use `keymap' instead of `local-map' so that we
32 don't shadow mode-specific bindings.
34 * eww.el (eww-browse-url): Don't push stuff onto history if there's
37 * shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
39 2013-06-19 Glenn Morris <rgm@gnu.org>
41 * gnus-group.el (gnus-mark-article-as-read): Fix declaration.
43 2013-06-18 Teodor Zlatanov <tzz@lifelogs.com>
45 * auth-source.el (auth-source-netrc-parse-entries): Remove debugging.
47 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
49 * shr.el (shr-make-table-1): Implement <td rowspan>.
50 (shr-table-horizontal-line): Allow nil as a value, and change the
52 (shr-insert-table-ruler): Respect the nil value.
54 2013-06-18 Tom Tromey <tromey@barimba>
56 * eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
58 (eww-open-file): New defun.
59 (eww-render): Initialize new variables.
60 (eww-display-html): Handle "link" and "a".
61 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
62 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
63 (eww-back-url): Rename from eww-previous-url.
64 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url): New
67 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
69 * shr.el (shr-tag-table): Insert the images after the table, so that
70 they're not covered by the table colourisation, which often looked
72 (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and
74 (shr-make-table-1): Implement <td colspan=> support.
75 (shr-insert-document): Use one less than window width if `shr-width' is
76 nil, since otherwise things may get one character too wide.
78 2013-06-18 Katsumi Yamaoka <yamaoka@jpl.org>
80 * eww.el (eww-detect-charset): Improve regexp; move backward.
82 2013-06-18 Glenn Morris <rgm@gnu.org>
84 * mm-decode.el (widget-convert-button): Autoload.
86 * sieve-manage.el (mm-enable-multibyte): Autoload.
88 * shr.el (libxml-parse-html-region): Declare.
89 (shr-render-buffer): Explicit error if no libxml2 support.
91 2013-06-17 Teodor Zlatanov <tzz@lifelogs.com>
93 * auth-source.el (auth-source-current-line): New function.
94 (auth-source-netrc-parse-entries): When a data token is "machine",
95 assume we're in the wrong place and abort parsing the current line.
97 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
99 * eww.el (eww-tag-select): Don't render totally empty <select> forms.
100 (eww-convert-widgets): Don't bug out if the first widget starts at the
101 beginning of the buffer.
102 (eww-convert-widgets): Fix last patch.
103 (eww-tag-input): Support <input type=image>.
105 * shr.el (shr-insert-table): Respect border-collapse: collapse.
106 (shr-tag-base): Protect against base specs that are degenerate.
107 (shr-ensure-paragraph): Don't delete empty lines that have text
108 properties, because these may be input fields.
110 * eww.el (eww-convert-widgets): Put `help-echo' on input fields so that
111 we can navigate to them.
113 * shr.el (shr-colorize-region): Put the colours over the entire region.
114 (shr-inhibit-decoration): New variable.
115 (shr-add-font): Use it to inhibit text property decorations while doing
116 preliminary table renderings. This speeds up typical Wikipedia page
118 (shr-tag-span): Don't respect the <title>, because that overwrites the
119 help-echo from links inside the spans.
120 (shr-next-link): Use `help-echo' for navigation, so that we can
121 navigate to form elements, too.
123 * eww.el (eww-button): New face.
124 (eww-convert-widgets): Use it to make submit buttons more button-like.
126 * mm-decode.el (mm-convert-shr-links): Override the shr local map, so
127 that Gnus commands work.
129 * shr.el (shr-render-td): Support horizontal alignment.
131 * eww.el (eww-put-color): Removed.
132 (eww-colorize-region): Use `add-face-text-property'.
134 * shr.el (shr-add-font): Append face data, so that we get the correct
135 presedence: The innermost value (which is applied first) wins.
136 (shr-make-overlay): Obsolete function.
138 * mm-decode.el (mm-convert-shr-links): New function to convert
139 new-style shr URL links into widgets.
142 * eww.el (eww-mode-map): Use `shr-next-link' (etc) instead of the
143 widget commands, since we're no longer using widgets for links.
145 * shr.el (shr-next-link): New command.
146 (shr-previous-link): New command.
147 (shr-urlify): Don't use `widget-convert', because that's slow.
148 (shr-put-color-1): Use `add-face-text-property' instead of overlays,
149 because collecting the overlays and reapplying them when generating
151 (shr-insert-table): Ditto.
153 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
155 * sieve.el (sieve-edit-script): Avoid beginning-of-buffer.
156 * shr.el (browse-url): Require `url'.
157 * eww.el (url): Require format-spec.
159 2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
161 * eww.el (eww-display-html): Default to using the entire window width.
162 (eww-browse-url): Don't add a User-Agent header (twice), because that
163 makes Bing refuse connection.
165 * shr.el (shr-make-table): Cache the table rendering at the table
166 level, and not the <td> level. This is a bit faster.
168 * eww.el (eww-render): Go to the correct ID when given URLs ending with
171 * shr.el (shr-tag-li): Don't require a new paragraph, since other
173 (shr-expand-url): Respect #anchor links.
174 (shr-parse-base): Chop off the anchor before using.
175 (shr-descend): Respect display: none.
176 (shr-descend): Allow marking elements that have certain IDs.
178 * eww.el (eww-tag-textarea): Use `text' instead of `editable-field'.
180 * shr.el (shr-expand-url): Don't bug out on zero-length links.
182 * eww.el (eww-tag-textarea): Support <textarea>.
184 2013-06-16 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
186 * shr.el (shr-dom-to-xml): Fixed function call.
188 * eww.el (eww): New group.
189 (eww-header-line-format): New custom variable.
190 (eww-current-title): New variable.
191 (eww-display-html): Update header and handle title tag.
192 (eww-update-header-line-format): New function.
193 (eww-tag-title): New function.
195 * shr.el (shr-dom-to-xml): (shr-dom-to-xml): New function.
196 (shr-tag-svg): Add support for the SVG tag.
197 (shr-bullet): New custom variable.
198 (shr-tag-li): Support custom bullet in unordered lists.
200 2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
202 * shr.el (shr-expand-url): Respect // URLs.
204 * eww.el (eww-tag-body): Override the shr body rendering so that we can
205 put a background colour onto the entire buffer.
206 (eww-render): When being redirected, use the redirect URL as the new
209 * shr.el (shr-parse-base): Fix parsing error.
211 * eww.el (eww-submit): Pass the base in to `shr-expand-url'.
213 * shr.el (shr-parse-base): New function.
214 (shr-expand-url): Use it to expand relative URLs reliably.
216 2013-06-15 Teodor Zlatanov <tzz@lifelogs.com>
218 * auth-source.el (auth-source-search-collection): Fix docstring.
219 (auth-source-netrc-parse): Refactor and improve netrc parser to support
220 single-quoted strings and multiline entries.
221 (auth-source-netrc-parse-next-interesting)
222 (auth-source-netrc-parse-one, auth-source-netrc-parse-entries): New
223 functions to support parser.
225 2013-06-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
227 * eww.el (eww-submit): Get submit button logic right when hitting RET
228 on non-submit buttons.
230 * shr.el: Remove shr-preliminary-table-render, since that can't really
231 be used for anything in practice.
233 2013-06-13 Albert Krewinkel <tarleb@moltkeplatz.de>
235 * sieve.el: Rebind q to (sieve-bury-buffer), bind Q to
238 2013-06-14 Glenn Morris <rgm@gnu.org>
240 * mml2015.el (mml2015-maximum-key-image-dimension): Add :version.
242 2013-06-14 David Edmondson <dme@dme.org> (tiny change)
244 * mml2015.el (mml2015-maximum-key-image-dimension): New user option to
245 control the maximum size of photo ID image.
246 (mml2015-epg-key-image-to-string): Respect it.
248 2013-06-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
250 * shr.el (shr-tag-table-1): Mark the preliminary table renderings
251 instead of the final one so that we can more easily distinguish them.
253 * eww.el (eww-submit): Compute the submission URL correctly.
255 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
257 * sieve-manage.el (sieve-manage-open-server): Don't quote lambda.
258 Use plist-get rather than CL's getf.
259 (sieve-manage-parse-capability): Avoid CL's remove-if.
261 2013-06-13 Albert Krewinkel <tarleb@moltkeplatz.de>
263 * sieve.el: Rebind q to (sieve-bury-buffer), bind Q to
266 2013-06-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
268 * shr.el (shr-expand-url): Expansion should chop off the bits after the
271 * eww.el (eww-tag-select): Use the first value as the default value.
273 2013-06-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
275 * eww.el (eww): Prepend urls with http:// if scheme is missing.
276 (eww-mode): Use `define-derived-mode'.
277 (eww-parse-headers): Parse headers from beginning of buffer so that
280 2013-06-13 Katsumi Yamaoka <yamaoka@jpl.org>
282 * eww.el (eww-detect-charset): Detect charset from the <meta> tag.
284 2013-06-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
286 * shr.el (shr-tag-svg): Ignore SVG elements, because we don't know how
287 to handle them at all.
289 2013-06-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
291 * eww.el (eww-convert-widgets): Make widgets from non-tabular layouts
293 (eww-tag-select): Implement <select>.
295 2013-06-10 Albert Krewinkel <krewinkel@moltkeplatz.de>
297 * sieve-manage.el (sieve-manage-open): work with STARTTLS: shorten
298 stream managing functions by using open-protocol-stream to do most of
299 the work. Has the nice benefit of enabling STARTTLS.
300 Wait for capabilities after STARTTLS: following RFC5804, the server
301 sends new capabilities after successfully establishing a TLS connection
302 with the client. The client should update the cached list of
303 capabilities, but we just ignore the answer for now.
304 (sieve-manage-network-p, sieve-manage-network-open)
305 (sieve-manage-starttls-p, sieve-manage-starttls-open)
306 (sieve-manage-forward, sieve-manage-streams)
307 (sieve-manage-stream-alist): Remove unneeded functions neither in the
308 API, nor called by any other function.
309 Enable Multibyte for SieveManage buffers: The parser won't properly
310 handle umlauts and line endings unless multibyte is turned on in the
313 2013-06-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
315 * eww.el (eww-tag-input): Support password fields.
316 (eww-submit): Support POST.
318 2013-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
320 * eww.el (eww-tag-form): Protect against degenerate forms.
322 * shr.el (shr-expand-url): Expand URLs that start with a slash
325 * eww.el (eww-submit): Get submit button logic right.
327 * shr.el (shr-final-table-render): New variable to signal when we're
328 doing the final table rendering so that we can collect more data at
331 * eww.el (eww-submit): Make form submission work.
332 (eww-tag-input): Implement submit buttons.
333 (eww-click-radio): Implement radio and checkboxes.
334 (eww-submit): Handle hidden elements.
336 * shr.el (shr-descend): Allow other packages to override (or provide)
337 rendering of elements.
338 (shr-expand-url): Strip query strings from URLs before expanding them.
340 * eww.el: Don't require cl-lib.
341 (eww-tag-form): Start form support.
343 * dgnushack.el (dgnushack-compile): Ignore eww on XEmacs.
345 * eww.el: Start writing a new, tiny web browser.
346 (eww-previous-url): New command.
347 (eww-quit): New command.
349 2013-06-10 Albert Krewinkel <krewinkel@moltkeplatz.de>
351 * sieve.el: Put point at beginning of buffer when viewing a script.
352 (sieve-open-server): respect the PORT parameter. Show the correct port
353 number in sieve-buffer's header. Fixed code to also work with a string
354 as port specifier. Properly close the connection on pressing 'q'. Make
355 sieve-manage-quit close the connection and process buffer. Also, remove
356 duplicate keybinding for 'q'.
358 2013-06-10 Roy Hashimoto <roy.hashimoto@gmail.com> (tiny change)
360 * mm-view.el (mm-pkcs7-signed-magic): Allow newline in the regexp and
361 make it easier to read.
362 (mm-pkcs7-enveloped-magic): Ditto.
364 2013-06-06 Teodor Zlatanov <tzz@lifelogs.com>
366 * gnus-ems.el (gnus-image-type-available-p): Test `display-images-p'
367 before `image-type-available-p' to avoid loading the image libraries
370 2013-06-05 David Engster <deng@randomsample.de>
372 * gnus-sum.el (gnus-update-marks): Do not remove empty 'unexist'
373 ranges, since `nnimap-retrieve-group-data-early' also uses it as a flag
374 to see whether the group was synced before.
376 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
378 * tls.el (open-tls-stream): Remove unneeded buffer contents up to point
379 when opening the connection.
380 Suggested by João Távora <joaotavora@gmail.com> in
381 <http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00464.html>.
383 2013-06-04 Katsumi Yamaoka <yamaoka@jpl.org>
385 * gnus-art.el (article-date-ut, article-update-date-lapsed): Don't
386 assume Date header begins with "Date", that may be customized into
387 something like "X-Sent" using gnus-article-time-format.
388 (article-transform-date): Allow multi-line Date header.
390 2013-06-02 David Engster <deng@randomsample.de>
392 * registry.el (initialize-instance, registry-lookup)
393 (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
394 (registry-lookup-secondary-value, registry-search, registry-delete)
395 (registry-insert, registry-reindex, registry-size, registry-prune): Do
396 not wrap methods in `eval-and-compile'. This breaks due to latest
397 changes in EIEIO (introduction of eieio-core.el).
399 2013-05-30 Glenn Morris <rgm@gnu.org>
401 * nnmail.el (nnmail-fancy-expiry-target):
402 Also bind mail-dont-reply-to-names.
404 * spam-stat.el (spam-stat-save):
405 No need to tweak font-lock in temp buffers.
407 * shr.el (shr-put-image): Silence compiler.
409 2013-05-29 Glenn Morris <rgm@gnu.org>
411 * gnus-ems.el (set-process-plist): Every supported Emacs has this.
413 * gnus-group.el (gnus-sequence-of-unread-articles)
414 (gnus-summary-add-mark, gnus-mark-article-as-read)
415 (gnus-group-make-articles-read): Declare.
417 * gnus-sum.el (gnus-parameter-list-identifier)
418 (gnus-article-stop-animations, gnus-stop-downloads)
419 (gnus-article-only-boring-p, article-goto-body)
420 (gnus-flush-original-article-buffer, article-narrow-to-head)
421 (gnus-article-hidden-text-p, gnus-delete-wash-type)
422 (gnus-summary-save-in-pipe, gnus-article-show-summary): Declare.
424 * gnus.el: No need to eval-and-compile autoloads.
426 * gravatar.el (help-function-arglist): Autoload.
428 * nnimap.el (gnus-refer-thread-use-nnir): Declare.
430 * nnmail.el (nnmail-fancy-expiry-target): Maybe use mail-dont-reply-to.
432 * spam.el: No need to load spam-report when compiling.
433 No need to eval-and-compile autoloads.
434 (spam-report-resend-to): Declare.
435 (spam-report-resend-register-routine): Require 'spam-report.
437 2013-05-24 Julien Danjou <julien@danjou.info>
439 * sieve.el (sieve-setup-buffer): Fix default port value in sieve buffer
442 2013-05-23 Glenn Morris <rgm@gnu.org>
444 * gnus-util.el (rmail-swap-buffers-maybe)
445 (rmail-maybe-set-message-counters, rmail-count-new-messages)
446 (rmail-summary-exists, rmail-show-message, rmail-summary-displayed)
447 (rmail-pop-to-buffer, rmail-maybe-display-summary): Declare.
449 * mm-decode.el: No need to load term when compiling.
450 (term-mode, term-char-mode): Declare.
452 * mm-util.el: No need to load jka-compr when compiling.
453 (jka-compr-acceptable-retval-list, jka-compr-make-temp-name): Declare.
455 * nnmaildir.el: Require is automatically eval-and-compile.
456 (nnmail): Require at run-time too.
458 * registry.el (registry-size): Move definition before use.
460 2013-05-22 Daiki Ueno <ueno@gnu.org>
462 * mml2015.el (mml2015-epg-sign): Make sure to insert newline after the
463 signed data to conform the standard. (Bug#14232)
465 2013-05-20 Adam Sjøgren <asjo@koldfront.dk>
467 * gnus-spec.el (gnus-parse-complex-format): Use unicode escape for left
468 double angle quotation mark.
470 2013-05-20 Glenn Morris <rgm@gnu.org>
472 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
474 2013-05-19 Adam Sjøgren <asjo@koldfront.dk>
476 * message.el (message-insert-formatted-citation-line): handle finding
477 first/lastname when more than 2 names appear.
479 2013-05-19 Adam Sjøgren <asjo@koldfront.dk>
481 * shr.el (shr-tag-span): New function.
483 2013-05-18 Glenn Morris <rgm@gnu.org>
485 * message.el (message-mode): Use message-mode-abbrev-table,
486 with text-mode-abbrev-table as parent. (Bug#14413)
488 2013-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
490 * message.el (message-expand-group): Decode group names.
492 2013-05-16 Julien Danjou <julien@danjou.info>
494 * gnus-notifications.el (gnus-notifications-notify): Use photo-file as
497 2013-05-15 Glenn Morris <rgm@gnu.org>
499 * shr-color.el (shr-color-visible-luminance-min)
500 (shr-color-visible-distance-min): Use shr-color group.
502 2013-05-11 Glenn Morris <rgm@gnu.org>
504 * gnus-vm.el: Make it loadable without VM.
505 (gnus-vm-make-folder, gnus-summary-save-in-vm): Require 'vm.
506 (vm-forward-message, vm-reply, vm-mail): Remove unused autoloads.