9f62dab4497eb166542610d68ff4942242bb8da4
[gnus] / lisp / ChangeLog
1 2013-07-23  Katsumi Yamaoka  <yamaoka@jpl.org>
2
3         * gnus.el (gnus-continuum-version):
4         * gnus-msg.el (gnus-extended-version): Simplify.
5
6         * gnus.el (gnus-continuum-version-1): Remove.
7         * gnus-msg.el (gnus-bug): Revert.
8
9         Calculate gnus-version correctly on Cygwin.
10
11         * gnus.el (gnus-continuum-version): Do main calculations in integers.
12         (gnus-continuum-version-1): New function, return a string.
13
14         * gnus-msg.el (gnus-extended-version, gnus-bug):
15         Use gnus-continuum-version-1 instead of gnus-continuum-version.
16
17 2013-07-19  Geoff Kuenning  <geoff@cs.hmc.edu>  (tiny change)
18
19         * gnus-art.el (gnus-treat-predicate): Allow functions as predicates
20         (bug#13384).
21
22 2013-07-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23
24         * gnus-start.el (gnus-clean-old-newsrc): Remove the newsrc cleanups
25         that were only relevant in a development version a long time ago.
26
27 2013-07-18  Katsumi Yamaoka  <yamaoka@jpl.org>
28
29         * gnus-art.el (gnus-shr-put-image): Make it work as well for shr.el's
30         that the old Emacs 24s bundle.
31
32 2013-07-10  David Engster  <deng@randomsample.de>
33
34         * gnus-start.el (gnus-clean-old-newsrc): Always remove 'unexist' marks
35         if `gnus-newsrc-file-version' does not match `gnus-version'.  This
36         fixes a bug in Emacs trunk where the 'unexist' marks were always
37         removed at startup because "Gnus v5.13" was considered smaller than "Ma
38         Gnus v0.03".
39
40 2013-07-10  Tassilo Horn  <tsdh@gnu.org>
41
42         * gnus.el (gnus-summary-line-format): Reference
43         `gnus-user-date-format-alist' for the &user-date; format, not
44         `gnus-summary-user-date-format-alist'.
45
46 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
47
48         * nnml.el (nnml-request-compact-group): Don't bug out if we can't
49         delete files (bug#13481).
50
51 2013-07-08  Tassilo Horn  <tsdh@gnu.org>
52
53         * gnus-registry.el (gnus-registry-remove-extra-data): New function.
54
55 2013-07-06  Lars Ingebrigtsen  <larsi@gnus.org>
56
57         * gnus-art.el (gnus-block-private-groups): Allow `global' methods to
58         display images.
59
60         * gnus.el (gnus-valid-select-methods): Mark nnrss as global.
61
62         * message.el (message-cancel-news): According to
63         <mailman.216.1372942181.12400.help-gnu-emacs@gnu.org>, "cancel" is
64         preferred over "cmsg cancel" in the Subject.
65
66         * nnir.el (nnir-engines): Note that the group specs are regexps
67         (bug#13238).
68
69         * gnus-msg.el (gnus-copy-article-buffer): If the article buffer has
70         gotten read-only text properties, ensure that those aren't heeded when
71         copying stuff over (bug#13434).
72
73         * mm-view.el (mm-inline-text-html): Don't bug out on multipart messages
74         (bug#13762).
75
76 2013-07-05  David Kastrup  <dak@gnu.org>
77
78         * auth-source.el (auth-source-netrc-parse-one): Allow empty strings in
79         authinfo file again (important for blank passwords).  This had been
80         broken with 2013-06-15 change.
81
82 2013-07-03  Katsumi Yamaoka  <yamaoka@jpl.org>
83
84         * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups):
85         Revert 2013-01-14 change.
86
87 2013-07-02  Daiki Ueno  <ueno@gnu.org>
88
89         * mml2015.el (mml2015-epg-key-image): Use 'gnus-create-image' instead
90         of 'create-image' for XEmacs compatibility; check errors when decoding
91         image.  Reported by Uwe Brauer.
92
93 2013-06-28  Katsumi Yamaoka  <yamaoka@jpl.org>
94
95         * gnus-art.el (gnus-article-extend-url-button): Make it work again with
96         gnus-button-push revised at 2011-01-19.
97
98 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
99
100         * eww.el, shr.el, shr-color.el: Removed from the Gnus repository.  They
101         now live in the lisp/net Emacs 24 repository.
102
103 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
104
105         * eww.el (eww-update-header-line-format): Quote % characters.
106
107 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
108
109         * eww.el (eww-process-text-input): Display passwords as asterisks.
110
111         * shr.el (shr-make-table-1): Protect against invalid column-spans.
112
113 2013-06-19  Tom Tromey  <tromey@redhat.com>
114
115         * eww.el (eww-top-url): Remove.
116         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
117         (eww-render): Set new variables.  Don't set eww-top-url.
118         (eww-handle-link): Handle "prev", "home", and "contents".
119         Downcase the rel text.
120         (eww-top-url): Choose best top URL.
121
122 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
123
124         * eww.el: Rewrite to implement form elements "by hand" instead of
125         relying in widget.el.  Using widget.el leads to too many
126         user interface inconsistencies.
127         (eww-self-insert): Implement entering commands in text fields.
128         (eww-process-text-input): New function to make text input field editing
129         work.
130         (eww-submit): Rewrite to use the new-style form methods.
131         (eww-select-display): Display the correct selected item.
132         (eww-change-select): Implement changing the select value.
133         (eww-toggle-checkbox): Implement radio/checkboxes.
134         (eww-update-field): Fix compilation error.
135         (eww-tag-textarea): Implement <textarea>.
136
137         * shr.el (shr-urlify): Use `keymap' instead of `local-map' so that we
138         don't shadow mode-specific bindings.
139
140         * eww.el (eww-browse-url): Don't push stuff onto history if there's
141         nothing to push.
142
143         * shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
144
145 2013-06-19  Glenn Morris  <rgm@gnu.org>
146
147         * gnus-group.el (gnus-mark-article-as-read): Fix declaration.
148
149 2013-06-18  Teodor Zlatanov  <tzz@lifelogs.com>
150
151         * auth-source.el (auth-source-netrc-parse-entries): Remove debugging.
152
153 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
154
155         * shr.el (shr-make-table-1): Implement <td rowspan>.
156         (shr-table-horizontal-line): Allow nil as a value, and change the
157         default.
158         (shr-insert-table-ruler): Respect the nil value.
159
160 2013-06-18  Tom Tromey  <tromey@barimba>
161
162         * eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
163         New defvars.
164         (eww-open-file): New defun.
165         (eww-render): Initialize new variables.
166         (eww-display-html): Handle "link" and "a".
167         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
168         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
169         (eww-back-url): Rename from eww-previous-url.
170         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url): New
171         defuns.
172
173 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
174
175         * shr.el (shr-tag-table): Insert the images after the table, so that
176         they're not covered by the table colourisation, which often looked
177         awkward.
178         (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and
179         <dd>.
180         (shr-make-table-1): Implement <td colspan=> support.
181         (shr-insert-document): Use one less than window width if `shr-width' is
182         nil, since otherwise things may get one character too wide.
183
184 2013-06-18  Katsumi Yamaoka  <yamaoka@jpl.org>
185
186         * eww.el (eww-detect-charset): Improve regexp; move backward.
187
188 2013-06-18  Glenn Morris  <rgm@gnu.org>
189
190         * mm-decode.el (widget-convert-button): Autoload.
191
192         * sieve-manage.el (mm-enable-multibyte): Autoload.
193
194         * shr.el (libxml-parse-html-region): Declare.
195         (shr-render-buffer): Explicit error if no libxml2 support.
196
197 2013-06-17  Teodor Zlatanov  <tzz@lifelogs.com>
198
199         * auth-source.el (auth-source-current-line): New function.
200         (auth-source-netrc-parse-entries): When a data token is "machine",
201         assume we're in the wrong place and abort parsing the current line.
202
203 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
204
205         * eww.el (eww-tag-select): Don't render totally empty <select> forms.
206         (eww-convert-widgets): Don't bug out if the first widget starts at the
207         beginning of the buffer.
208         (eww-convert-widgets): Fix last patch.
209         (eww-tag-input): Support <input type=image>.
210
211         * shr.el (shr-insert-table): Respect border-collapse: collapse.
212         (shr-tag-base): Protect against base specs that are degenerate.
213         (shr-ensure-paragraph): Don't delete empty lines that have text
214         properties, because these may be input fields.
215
216         * eww.el (eww-convert-widgets): Put `help-echo' on input fields so that
217         we can navigate to them.
218
219         * shr.el (shr-colorize-region): Put the colours over the entire region.
220         (shr-inhibit-decoration): New variable.
221         (shr-add-font): Use it to inhibit text property decorations while doing
222         preliminary table renderings.  This speeds up typical Wikipedia page
223         renderings by 15%.
224         (shr-tag-span): Don't respect the <title>, because that overwrites the
225         help-echo from links inside the spans.
226         (shr-next-link): Use `help-echo' for navigation, so that we can
227         navigate to form elements, too.
228
229         * eww.el (eww-button): New face.
230         (eww-convert-widgets): Use it to make submit buttons more button-like.
231
232         * mm-decode.el (mm-convert-shr-links): Override the shr local map, so
233         that Gnus commands work.
234
235         * shr.el (shr-render-td): Support horizontal alignment.
236
237         * eww.el (eww-put-color): Removed.
238         (eww-colorize-region): Use `add-face-text-property'.
239
240         * shr.el (shr-add-font): Append face data, so that we get the correct
241         precedence: The innermost value (which is applied first) wins.
242         (shr-make-overlay): Obsolete function.
243
244         * mm-decode.el (mm-convert-shr-links): New function to convert
245         new-style shr URL links into widgets.
246         (mm-shr): Use it.
247
248         * eww.el (eww-mode-map): Use `shr-next-link' (etc) instead of the
249         widget commands, since we're no longer using widgets for links.
250
251         * shr.el (shr-next-link): New command.
252         (shr-previous-link): New command.
253         (shr-urlify): Don't use `widget-convert', because that's slow.
254         (shr-put-color-1): Use `add-face-text-property' instead of overlays,
255         because collecting the overlays and reapplying them when generating
256         tables is slow.
257         (shr-insert-table): Ditto.
258
259 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
260
261         * sieve.el (sieve-edit-script): Avoid beginning-of-buffer.
262         * shr.el (browse-url): Require `url'.
263         * eww.el (url): Require format-spec.
264
265 2013-06-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
266
267         * eww.el (eww-display-html): Default to using the entire window width.
268         (eww-browse-url): Don't add a User-Agent header (twice), because that
269         makes Bing refuse connection.
270
271         * shr.el (shr-make-table): Cache the table rendering at the table
272         level, and not the <td> level.  This is a bit faster.
273
274         * eww.el (eww-render): Go to the correct ID when given URLs ending with
275         #id.
276
277         * shr.el (shr-tag-li): Don't require a new paragraph, since other
278         browsers don't.
279         (shr-expand-url): Respect #anchor links.
280         (shr-parse-base): Chop off the anchor before using.
281         (shr-descend): Respect display: none.
282         (shr-descend): Allow marking elements that have certain IDs.
283
284         * eww.el (eww-tag-textarea): Use `text' instead of `editable-field'.
285
286         * shr.el (shr-expand-url): Don't bug out on zero-length links.
287
288         * eww.el (eww-tag-textarea): Support <textarea>.
289
290 2013-06-16  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
291
292         * shr.el (shr-dom-to-xml): Fixed function call.
293
294         * eww.el (eww): New group.
295         (eww-header-line-format): New custom variable.
296         (eww-current-title): New variable.
297         (eww-display-html): Update header and handle title tag.
298         (eww-update-header-line-format): New function.
299         (eww-tag-title): New function.
300
301         * shr.el (shr-dom-to-xml): New function.
302         (shr-tag-svg): Add support for the SVG tag.
303         (shr-bullet): New custom variable.
304         (shr-tag-li): Support custom bullet in unordered lists.
305
306 2013-06-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
307
308         * shr.el (shr-expand-url): Respect // URLs.
309
310         * eww.el (eww-tag-body): Override the shr body rendering so that we can
311         put a background colour onto the entire buffer.
312         (eww-render): When being redirected, use the redirect URL as the new
313         base URL.
314
315         * shr.el (shr-parse-base): Fix parsing error.
316
317         * eww.el (eww-submit): Pass the base in to `shr-expand-url'.
318
319         * shr.el (shr-parse-base): New function.
320         (shr-expand-url): Use it to expand relative URLs reliably.
321
322 2013-06-15  Teodor Zlatanov  <tzz@lifelogs.com>
323
324         * auth-source.el (auth-source-search-collection): Fix docstring.
325         (auth-source-netrc-parse): Refactor and improve netrc parser to support
326         single-quoted strings and multiline entries.
327         (auth-source-netrc-parse-next-interesting)
328         (auth-source-netrc-parse-one, auth-source-netrc-parse-entries): New
329         functions to support parser.
330
331 2013-06-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
332
333         * eww.el (eww-submit): Get submit button logic right when hitting RET
334         on non-submit buttons.
335
336         * shr.el: Remove shr-preliminary-table-render, since that can't really
337         be used for anything in practice.
338
339 2013-06-13  Albert Krewinkel  <tarleb@moltkeplatz.de>
340
341         * sieve.el: Rebind q to (sieve-bury-buffer), bind Q to
342         (sieve-manage-quit).
343
344 2013-06-14  Glenn Morris  <rgm@gnu.org>
345
346         * mml2015.el (mml2015-maximum-key-image-dimension): Add :version.
347
348 2013-06-14  David Edmondson  <dme@dme.org>  (tiny change)
349
350         * mml2015.el (mml2015-maximum-key-image-dimension): New user option to
351         control the maximum size of photo ID image.
352         (mml2015-epg-key-image-to-string): Respect it.
353
354 2013-06-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
355
356         * shr.el (shr-tag-table-1): Mark the preliminary table renderings
357         instead of the final one so that we can more easily distinguish them.
358
359         * eww.el (eww-submit): Compute the submission URL correctly.
360
361 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
362
363         * sieve-manage.el (sieve-manage-open-server): Don't quote lambda.
364         Use plist-get rather than CL's getf.
365         (sieve-manage-parse-capability): Avoid CL's remove-if.
366
367 2013-06-13  Albert Krewinkel  <tarleb@moltkeplatz.de>
368
369         * sieve.el: Rebind q to (sieve-bury-buffer), bind Q to
370         (sieve-manage-quit).
371
372 2013-06-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
373
374         * shr.el (shr-expand-url): Expansion should chop off the bits after the
375         last slash.
376
377         * eww.el (eww-tag-select): Use the first value as the default value.
378
379 2013-06-13  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
380
381         * eww.el (eww): Prepend urls with http:// if scheme is missing.
382         (eww-mode): Use `define-derived-mode'.
383         (eww-parse-headers): Parse headers from beginning of buffer so that
384         file:// links work.
385
386 2013-06-13  Katsumi Yamaoka  <yamaoka@jpl.org>
387
388         * eww.el (eww-detect-charset): Detect charset from the <meta> tag.
389
390 2013-06-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
391
392         * shr.el (shr-tag-svg): Ignore SVG elements, because we don't know how
393         to handle them at all.
394
395 2013-06-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
396
397         * eww.el (eww-convert-widgets): Make widgets from non-tabular layouts
398         work, too.
399         (eww-tag-select): Implement <select>.
400
401 2013-06-10  Albert Krewinkel  <krewinkel@moltkeplatz.de>
402
403         * sieve-manage.el (sieve-manage-open): work with STARTTLS: shorten
404         stream managing functions by using open-protocol-stream to do most of
405         the work.  Has the nice benefit of enabling STARTTLS.
406         Wait for capabilities after STARTTLS: following RFC5804, the server
407         sends new capabilities after successfully establishing a TLS connection
408         with the client. The client should update the cached list of
409         capabilities, but we just ignore the answer for now.
410         (sieve-manage-network-p, sieve-manage-network-open)
411         (sieve-manage-starttls-p, sieve-manage-starttls-open)
412         (sieve-manage-forward, sieve-manage-streams)
413         (sieve-manage-stream-alist): Remove unneeded functions neither in the
414         API, nor called by any other function.
415         Enable Multibyte for SieveManage buffers: The parser won't properly
416         handle umlauts and line endings unless multibyte is turned on in the
417         process buffer.
418
419 2013-06-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
420
421         * eww.el (eww-tag-input): Support password fields.
422         (eww-submit): Support POST.
423
424 2013-06-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
425
426         * eww.el (eww-tag-form): Protect against degenerate forms.
427
428         * shr.el (shr-expand-url): Expand URLs that start with a slash
429         correctly.
430
431         * eww.el (eww-submit): Get submit button logic right.
432
433         * shr.el (shr-final-table-render): New variable to signal when we're
434         doing the final table rendering so that we can collect more data at
435         that point.
436
437         * eww.el (eww-submit): Make form submission work.
438         (eww-tag-input): Implement submit buttons.
439         (eww-click-radio): Implement radio and checkboxes.
440         (eww-submit): Handle hidden elements.
441
442         * shr.el (shr-descend): Allow other packages to override (or provide)
443         rendering of elements.
444         (shr-expand-url): Strip query strings from URLs before expanding them.
445
446         * eww.el: Don't require cl-lib.