gnus-art.el (gnus-mime-delete-part): Fix mm-handle-filename usage.
[gnus] / lisp / ChangeLog
1 2011-05-24  Katsumi Yamaoka  <yamaoka@jpl.org>
2
3         * gnus-art.el (gnus-mime-delete-part): Fix mm-handle-filename usage.
4
5 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6
7         * gnus-cus.el (gnus-agent-customize-category):
8         * gnus-delay.el (gnus-delay-send-queue):
9         * gnus.el (gnus-other-frame):
10         Don't quote lambda expressions with `quote'.
11
12 2011-05-20  Teodor Zlatanov  <tzz@lifelogs.com>
13
14         * gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide
15         the thread moves us backwards and so we loop forever.
16
17 2011-05-19  Katsumi Yamaoka  <yamaoka@jpl.org>
18
19         * mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading
20         whitespace in base64 data lines.
21
22 2011-05-18  Teodor Zlatanov  <tzz@lifelogs.com>
23
24         * gnus-registry.el (gnus-registry-user-format-function-M):
25         Use `mapconcat'.
26         (gnus-registry-user-format-function-M2): Use to see the full text of
27         the marks.  Make "," the mark text separator.
28
29         * nntp.el (nntp-send-authinfo): Use the "force" token for NNTP
30         authentication with auth-source.
31
32 2011-05-17  Glenn Morris  <rgm@gnu.org>
33
34         * gnus-group.el (gnus-import-other-newsrc-file):
35         Use insert-file-contents.
36
37 2011-05-16  Teodor Zlatanov  <tzz@lifelogs.com>
38
39         * gnus-sum.el (gnus-summary-hide-all-threads): Add update message every
40         1000 iterations.
41
42 2011-05-16  Katsumi Yamaoka  <yamaoka@jpl.org>
43
44         * nntp.el (nntp-open-connection): Check if process-type is available.
45
46 2011-05-16  Julien Danjou  <julien@danjou.info>
47
48         * shr.el (shr-tag-del): Add support for del tag.
49
50 2011-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
51
52         * gnus-html.el (gnus-html-put-image): Register a displayer.
53
54         * shr.el (shr-image-displayer): Don't remove text props from alt text.
55
56 2011-05-13  Teodor Zlatanov  <tzz@lifelogs.com>
57
58         * registry.el (prune-factor): New initialization parameter defaulting
59         to 0.1.
60         (registry-prune-hard): Use it.
61
62         * gnus-registry.el (gnus-registry-fixup-registry): Set prune-factor to
63         0.1 expicitly.
64
65 2011-05-13  Glenn Morris  <rgm@gnu.org>
66
67         * message.el (message-send-mail-with-sendmail): Assume sendmail-program
68         is bound, since this function requires sendmail.
69
70 2011-05-11  Teodor Zlatanov  <tzz@lifelogs.com>
71
72         * registry.el (registry-usage-test): Disable pruning test.
73
74 2011-05-11  David Engster  <dengste@eml.cc>
75
76         * lpath.el: Bind shr-put-image and process-type for Emacs22 and XEmacs.
77         Bind set-network-process-option for XEmacs.
78
79 2011-05-10  Teodor Zlatanov  <tzz@lifelogs.com>
80
81         * registry.el (registry-prune-hard-candidates)
82         (registry-prune-soft-candidates): Helper methods for registry pruning.
83         (registry-prune): Use them.  Make the sort function optional.
84
85 2011-05-10  Jim Meyering  <meyering@redhat.com>
86
87         * shr.el (shr-colorize-region): Fix typo "on on -> on".
88
89 2011-05-10  Julien Danjou  <julien@danjou.info>
90
91         * shr.el (shr-put-color-1): Do not bug out when old-props is a face
92         symbol and not a list.
93
94 2011-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
95
96         * gnus-art.el (gnus-article-mode): Move binding of
97         shr-put-image-function here from gnus-article-prepare-display.
98
99         * shr.el (shr-put-image-function): New variable.
100         (shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it.
101         (shr-put-image): Return scaled image.
102
103         * gnus-art.el (gnus-shr-put-image): New function.
104         (gnus-article-prepare-display): Bind shr-put-image-function to it.
105
106         * gnus-html.el (gnus-html-wash-images): Register scaled images, not
107         original ones, as deletable.
108
109 2011-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
110
111         * nntp.el (nntp-open-connection): Set TCP keepalive option.
112
113 2011-05-09  Teodor Zlatanov  <tzz@lifelogs.com>
114
115         * registry.el (registry-full): Add convenience method.  Fix logic.
116         (registry-insert): Use it.  Fix logic here too.
117
118         * gnus-registry.el (gnus-registry-insert): Add wrapper that calls
119         `registry-prune' if `registry-full' returns t.
120         (gnus-registry-handle-action)
121         (gnus-registry-get-or-make-entry, gnus-registry-set-id-key)
122         (gnus-registry-usage-test): Use it.
123
124 2011-05-07  Julien Danjou  <julien@danjou.info>
125
126         * shr.el (shr-link): Make shr-link inherit from link by default.
127
128 2011-05-06  Teodor Zlatanov  <tzz@lifelogs.com>
129
130         * shr.el (shr-urlify, shr-link): Fix shr-link face.
131
132 2011-05-05  Teodor Zlatanov  <tzz@lifelogs.com>
133
134         * shr.el (shr-urlify, shr-link): Still broken but at least doesn't
135         error out because the face is not a list.
136
137 2011-05-05  Glenn Morris  <rgm@gnu.org>
138
139         * proto-stream.el (gnutls-negotiate): Fix declarations.
140
141         * gnus-start.el (gnus-propagate-marks): Declare.
142
143 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
144
145         * registry.el (registry-reindex): Fix percentage message.
146
147         * proto-stream.el (network-stream-open-starttls): Adjust to call
148         `gnutls-negotiate' with :process and :hostname arguments.
149
150 2011-05-03  Teodor Zlatanov  <tzz@lifelogs.com>
151
152         * shr.el: Add shr-link face for links.
153         (shr-urlify): Use it.
154
155         * registry.el (registry-insert): Make error message more helpful.
156
157 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
158
159         * gnus-html.el (gnus-html-schedule-image-fetching):
160         Use url-queue-retrieve, if it exists.
161
162         * shr.el (shr-tag-img): Ditto.
163
164         * gnus.el: Autoload more gnus-agent functions.
165
166         * gnus-art.el (gnus-request-article-this-buffer): Store articles in the
167         agent if we haven't already (bug#8502).
168
169         * gnus-async.el (gnus-async-article-callback): Put prefetched articles
170         into the Agent, too.
171
172         * gnus-agent.el (gnus-agent-store-article): New function.
173
174         * nnheader.el (nnheader-insert-buffer-substring): Rename from nntp-
175         and moved from that file for reuse.
176
177         * pop3.el (pop3-open-server): Error messages are "-ERR".
178
179 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
180
181         * pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
182         (open-tls-stream): Remove superfluous tls/starttls autoloads.
183
184 2011-05-01  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
185
186         * gnus.el: No Gnus v0.17 is released.
187
188 2011-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
189
190         * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary
191         buffer has moved to a different frame.
192
193 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
194
195         * nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring
196         to get the conversion from unibyte to multibyte buffers to work on
197         Emacs 22.
198
199         * nntp.el (nntp-request-article): Slight clean-up.
200
201 2011-04-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
202
203         * shr.el (shr-strike-through): New face.
204         (shr-tag-s): Use it to provide <s> support.
205         (shr-tag-s): Remove duplicate definition.
206
207 2011-04-25  Teodor Zlatanov  <tzz@lifelogs.com>
208
209         * gnus-registry.el (gnus-registry-ignore-group-p): Don't call
210         `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
211
212 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
213
214         * proto-stream.el (proto-stream-open-starttls): Give host parameter to
215         `gnutls-negotiate'.
216         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
217
218 2011-04-23  Glenn Morris  <rgm@gnu.org>
219
220         * gnus-sum.el (gnus-extra-headers): Bump :version.
221
222 2011-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
223
224         * shr.el (shr-tag-sup): New function.
225         (shr-tag-sub): Ditto.
226
227 2011-04-22  Teodor Zlatanov  <tzz@lifelogs.com>
228
229         * gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
230         for the case where `gnus-registry-ignored-groups' is a list of lists,
231         and don't call `gnus-parameter-registry-ignore' otherwise.
232
233 2011-04-21  Teodor Zlatanov  <tzz@lifelogs.com>
234
235         * nnimap.el (nnimap-user): New backend variable.
236         (nnimap-open-connection-1): Use it.
237         (nnimap-credentials): Accept user parameter so it's explicit what user
238         name is desired.
239
240         * gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
241         default.
242
243         * gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
244         not gnus-registry.el.
245
246         * gnus-registry.el: Mention in comments how to modify
247         `gnus-extra-headers' for proper recipient tracking and that it may
248         already have To and Cc recently, which it does as of this commit.
249         (gnus-registry-ignored-groups): Remove defcustom.
250         Explain why in comments.
251         (gnus-registry-action): Fix data-header reference to use the extra
252         headers.  Explain in package commentary how to add To and Cc headers to
253         the gnus-extra-headers.
254         (gnus-registry-ignored-groups): Adjust defaults to match the parameter.
255         (gnus-registry-ignore-group-p): Adjust to take either a group/topic
256         parameter list or a string list in `gnus-registry-ignored-groups'.
257         Fix logic error.
258
259 2011-04-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
260
261         * shr.el (shr-expand-url): Protect against null urls.
262
263 2011-04-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
264
265         * shr.el (shr-base): New binding.
266         (shr-tag-base): Keep track of <base>.
267         (shr-expand-url): New function used throughout.
268
269 2011-04-20  Teodor Zlatanov  <tzz@lifelogs.com>
270
271         * gnus-registry.el
272         (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
273         (gnus-registry-ignored-groups): New variable.
274         (gnus-registry-ignore-group-p): Use it.
275         (gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and
276         set the destination group to nil (same as delete) if it's ignored.
277
278 2011-04-20  David Engster  <dengste@eml.cc>
279
280         * tests/gnustest-nntp.el: New file for simple NNTP testing.
281
282         * Makefile.in (test-nntp): New rule.
283         (check): Add it.
284         (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
285
286 2011-04-20  Katsumi Yamaoka  <yamaoka@jpl.org>
287
288         * gnus-registry.el (gnus-registry-action)
289         (gnus-registry-fetch-header-fast):
290         Don't use mail-header that looks an internal function of mailheader.el.
291
292 2011-04-19  Glenn Morris  <rgm@gnu.org>
293
294         * time-date.el (time-to-days): Remove unused local variables.
295
296 2011-04-18  Katsumi Yamaoka  <yamaoka@jpl.org>
297
298         * gnus-registry.el: Eliminate cl functions.
299         (gnus-registry-sort-addresses): New function that replaces mapcan.
300         (gnus-registry-action, gnus-registry-spool-action)
301         (gnus-registry-split-fancy-with-parent)
302         (gnus-registry-fetch-recipients-fast): Use it.
303         (gnus-registry-import-eld): Replace delete* with dolist + delq.
304
305         * registry.el (initialize-instance, registry-lookup)
306         (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
307         (registry-lookup-secondary-value, registry-search, registry-delete)
308         (registry-insert, registry-reindex, registry-size, registry-prune):
309         Use eval-and-compile.
310
311 2011-04-16  Teodor Zlatanov  <tzz@lifelogs.com>
312
313         * registry.el (registry-reindex): New method to recreate the secondary
314         registry indices.
315
316         * gnus-registry.el (gnus-registry-fixup-registry): Use it if the
317         tracked field changes.
318         (gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
319         (gnus-registry-action, gnus-registry-spool-action)
320         (gnus-registry-handle-action)
321         (gnus-registry--split-fancy-with-parent-internal)
322         (gnus-registry-split-fancy-with-parent)
323         (gnus-registry-register-message-ids): Add recipient tracking on spool,
324         move, and delete actions, and for fancy splitting with parent.
325         (gnus-registry-extract-addresses)
326         (gnus-registry-fetch-recipients-fast)
327         (gnus-registry-fetch-header-fast): Convenience functions.
328         (gnus-registry-misc-test): ERT test of
329         `gnus-registry-extract-addresses'.
330
331 2011-04-15  Teodor Zlatanov  <tzz@lifelogs.com>
332
333         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
334         Track by subject first, then sender.
335
336 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
337
338         * message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
339
340         * gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from
341         Lisp.
342
343         * gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
344         (gnus-draft-send): Use it to avoid popping
345         up frames from gnus-group-send-queue.
346
347 2011-04-14  Teodor Zlatanov  <tzz@lifelogs.com>
348
349         * gnus-registry.el: Updated gnus-registry docs.
350
351 2011-04-12  Teodor Zlatanov  <tzz@lifelogs.com>
352
353         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
354         Fix logic bug.
355         (gnus-registry-post-process-groups): Fix logging of no results and
356         quote sender and subject.
357
358 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
359
360         * proto-stream.el (proto-stream-open-starttls): Only do opportunistic
361         STARTTLS upgrades if we have built-in gnutls support.  Upgrades via
362         gnutls-cli are too slow to be done opportunistically.
363
364         * gnus-start.el (gnus-get-unread-articles): Slight cleanup.
365         (gnus-read-active-for-groups): Don't try to finish getting stuff where
366         we had no early-data returned.
367         (gnus-get-unread-articles): Add a sanity check so that we don't issue
368         two async commands to the same server at the same time.
369
370 2011-04-12  Stig Sandbeck Mathisen  <ssm@fnord.no>  (tiny change)
371
372         * gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
373
374 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
375
376         * gnus-registry.el (gnus-registry-remake-db): Put the warning on a
377         "warning" level.
378
379         * mm-url.el (mm-url-package-name): Remove to ease third-party reuse.
380         (mm-url-insert-file-contents): Don't set the package names.
381
382 2011-04-11  Teodor Zlatanov  <tzz@lifelogs.com>
383
384         * gnus-registry.el (gnus-registry-action): Remove properties and
385         simplify subject in `gnus-registry-handle-action'.
386         (gnus-registry-spool-action): Get subject and sender from message if
387         they are not passed in.
388         (gnus-registry-handle-action): Remove properties and simplify subject
389         consistently.
390
391 2011-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
392
393         * registry.el: Require CL before using defmacro*.
394
395 2011-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
396
397         * gnus-art.el (article-treat-date): Assume that
398         gnus-article-date-headers may be a group parameter.
399
400 2011-04-07  Teodor Zlatanov  <tzz@lifelogs.com>
401
402         * gnus-registry.el (gnus-registry-handle-action): More debugging.
403
404         * gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
405         interactively so the newsrc file can contain foreign groups too.
406         Useful for debugging but not much for users.
407
408 2011-04-07  David Engster  <dengste@eml.cc>
409
410         * registry.el (registry-usage-test): Only do
411         `registry-lookup-breaks-before-lexbind' testing for Emacs24 with
412         lexical binding.
413
414 2011-04-07  David Engster  <dengste@eml.cc>
415
416         * Makefile.in (check, test-registry): New rules for test-suite.
417
418 2011-04-06  David Engster  <dengste@eml.cc>
419
420         * registry.el, gnus-registry.el: Use `ignore-errors' instead of third
421         argument NOERROR for `require', since XEmacs 21.4 does not support it.
422
423 2011-04-06  David Engster  <dengste@eml.cc>
424
425         * registry.el (initialize-instance): Change :after to :AFTER to be
426         compatible with old EIEIO version in XEmacs.
427
428 2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
429
430         * gnus-registry.el (gnus-registry-post-process-groups)
431         (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
432         and provide better messaging.
433
434 2011-04-06  David Engster  <dengste@eml.cc>
435
436         * Makefile.in (fail-on-warning): New rule to compile with warnings as