* registry.el (registry-db): Don't oset-default an instance slot.
[gnus] / lisp / ChangeLog
index 250d2e8..62baeb5 100644 (file)
@@ -1,3 +1,483 @@
+2015-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * gnus-registry.el (gnus-registry-handle-action)
+       (gnus-registry-post-process-groups): Don't add-to-list on a local var.
+       (gnus-registry-keywords): Make it do something.
+       (gnus-registry-import-eld): Remove unused var `new-entry'.
+       (gnus-registry-action): Remove unused var `to-name'.
+       (gnus-registry-make-db): Prefer `make-instance' to avoid
+       compiler warnings.
+       (gnus-registry-load, gnus-registry-fixup-registry): Avoid `oset'.
+
+       * registry.el (registry-db): Don't oset-default an instance-allocated
+       slot.
+
+2015-03-10  Glenn Morris  <rgm@gnu.org>
+
+       * message.el (message-valid-fqdn-regexp): Bump :version for
+       2014-11-17 change.
+
+2015-03-07  Rasmus Pank Roulund  <rasmus@pank.eu>
+
+       * gnus-notifications.el (gnus-notifications-action): Raise window
+       frame.
+       (gnus-notifications-action): Allow mark as read.
+       (gnus-notifications-notify): Show uption to mark as read.
+
+2015-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * registry.el (registry-lookup-breaks-before-lexbind, registry-lookup)
+       (registry-search, registry-delete, registry-size, registry-insert)
+       (registry-reindex, registry-collect-prune-candidates):
+       * gnus-registry.el (gnus-registry-fixup-registry)
+       (gnus-registry-remove-extra-data): Use slot names rather than initarg
+       names in `oref' and `oset'.
+
+2015-02-25  Adam Sjøgren  <asjo@koldfront.dk>
+
+       * message.el (message-insert-formatted-citation-line): Change %F to
+       fall back to email address if no first name could be determined.
+
+2015-02-26  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part):
+       Fix point motion when removing displayed MIME part.
+       (gnus-article-edit-part): Make jumping to the next part really work
+       when deleting or stripping.
+       (gnus-mime-buttonize-attachments-in-header): Make header attachment
+       buttons identical to the ones in the article body so as to work deleting
+       and stripping.
+
+2015-02-25  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mm-decode.el (mm-shr)
+       * mm-view.el (mm-inline-text-html-render-with-w3m):
+       Revert my bogus change that made the start marker of a part
+       the "moves after insertion" type.
+
+2015-02-23  Tassilo Horn  <tsdh@gnu.org>
+
+       * mailcap.el (mailcap-mime-data): Support `pdf-view-mode' (from PDF
+       Tools: https://github.com/politza/pdf-tools) for viewing PDF
+       attachments in emacs.
+
+2015-02-23  Magnus Henoch  <magnus.henoch@gmail.com>
+
+       * sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
+       instead of sasl-scram-sha-1, as the former is the name that can be
+       required.
+
+       * sasl-scram-rfc.el (sasl-scram-sha-1-steps)
+       (sasl-scram-sha-1-client-final-message)
+       (sasl-scram-sha-1-authenticate-server): Move to end of file.
+
+2015-02-23  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error.
+
+2015-02-16  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * sasl-scram-rfc.el (sasl-cl-coerce, sasl-cl-mapcar-many, sasl-cl-map)
+       (sasl-string-prefix-p): New compatibility functions.
+
+2015-02-15  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-compat.el (process-live-p): Added new compat function for Emacs
+       23.
+
+2015-02-14  Eric Abrahamsen  <eric@ericabrahamsen.net>
+
+       * nnimap.el (nnimap-get-groups): Correctly read unquoted group names
+       from the server LIST response.
+
+2015-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-retrieve-headers): If the server closes connection
+       during header retrieval, error out instead of interpreting the data in
+       the buffer as the only messages there.  This way, we don't mark
+       articles as read on a server hangup (bug#19035).
+
+       * mm-decode.el (mm-head-p): New function.
+       (mm-display-part): Go to a blank line when inserting parts internally.
+
+2015-02-13  Magnus Henoch  <magnus.henoch@gmail.com>
+
+       * sasl-scram-rfc.el: New file.
+
+       * sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
+       Add SCRAM-SHA-1 first.
+       (sasl-mechanism-alist): Remove SCRAM-MD5 entry.  Add SCRAM-SHA-1
+       entry (bug#17636).
+
+2015-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-msg.el (gnus-msg-mail): Don't let-bind `gnus-newsgroup-name' so
+       that we don't get a warning when setting the buffer-local variable
+       (bug#19573).
+
+       * nnmail.el (nnmail-expiry-target-group): Supply the info structure to
+       `gnus-request-group'.
+
+2015-02-12  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-article-browse-html-save-cid-content)
+       (gnus-article-browse-html-parts): Make cid file names relative if and
+       only if html doesn't specify <base> directory.
+
+2015-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-art.el (gnus-treat-buttonize): Don't re-buttonize URLs in HTML
+       parts, because that breaks filling (since buttons are in a bold face).
+
+2015-02-10  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mm-decode.el (mm-convert-shr-links): Delete useless variable `face';
+       use gnus-overlays-at and gnus-overlay-put.
+
+2015-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * mm-decode.el (mm-shr): Only pass the fill column when not using
+       fonts, because limiting the width to what's appropriate for followups
+       doesn't really help when not using proportional fonts.
+
+2015-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * mm-decode.el (mm-convert-shr-links): Don't overwrite the faces from
+       shr, beacause that breaks folding.
+       (mm-shr): Don't shorten the width when using fonts.
+
+2015-02-05  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-start.el (gnus-save-newsrc-file-check-timestamp): Remove
+       variable; always check the newrc timestamp.
+       (gnus-save-newsrc-file): Always check timestamp.
+
+2015-02-05  Timo Lilja  <timo.lilja@iki.fi>  (tiny change)
+
+       * mail-source.el (mail-source-call-script): If scripts exit with an
+       error, pop up an error buffer.
+
+2015-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-extra-headers): Add the popular Gmail X-GM-LABELS
+       as a default.
+
+       * nnimap.el (nnimap-request-group-scan): Ensure that we've selected the
+       correct server.
+
+2015-02-05  Vincent Bernat  <bernat@luffy.cx>  (tiny change)
+
+       * nnimap.el (nnimap-request-group-scan): Fix the function name.
+
+       * gnus-int.el (gnus-request-group-scan): Use the correct function name.
+
+2015-02-05  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-select-newsgroup): Pass the group info along so
+       that nnimap works for non-activated backends.
+
+2015-02-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * mm-util.el (mm-with-unibyte-current-buffer): Don't emit a warning
+       message, since we already get an obsolescence message.  Use `declare'.
+
+2015-02-04  Eric Abrahamsen  <eric@ericabrahamsen.net>
+
+       * nnir.el: Revert "Enable non-ASCII IMAP searches".
+
+2015-01-30  Glenn Morris  <rgm@gnu.org>
+
+       * gnus-registry.el (gnus-registry-max-pruned-entries)
+       (gnus-registry-prune-factor, gnus-registry-default-sort-function):
+       Fix :version.
+       (gnus-registry-default-sort-function): Improve :type.
+
+2015-01-29  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-request-group): Allow running this function on
+       groups that don't exist in Gnus yet.
+       (nnimap-request-group): Revert previous patch since that made it
+       impossible to enter nnimap groups.
+
+       * message.el (message-smtpmail-send-it): Remove the mail header
+       separator before sending.
+
+2015-01-28  Elias Oltmanns  <eo@nebensachen.de>
+
+       * nnimap.el (nnimap-find-expired-articles): Fix handling of
+       (expiry-wait . never).
+
+2015-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-request-group): Clear the buffer before returning
+       the data.
+
+2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-compat.el (string-bytes): Work for XEmacs.
+
+2015-01-27  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-compat.el (string-bytes): Avoid compilation error on XEmacs.
+
+       * nnir.el (nnir-imap-expr-to-imap): Check for literal+ capability in
+       IMAP.
+
+2015-01-27  Eric Abrahamsen  <eric@ericabrahamsen.net>
+
+       * nnir.el (nnir-run-imap): Enable non-ASCII IMAP searches.
+
+       * nnmairix.el ("nnmairix"): Declare nnmairix as virtual.
+
+       * gnus-bcklg.el (gnus-backlog-enter-article): No virtual groups should
+       be added to the backlog.
+
+2015-01-26  Tassilo Horn  <tsdh@gnu.org>
+
+       * Makefile.in (all total, warn, fail-on-warning): Call gnus-load.el
+       target with a recursive make call.
+
+2015-01-26  Trevor Murphy  <trevor.m.murphy@gmail.com>
+
+       * nnimap.el (nnimap-header-parameters): Refactor and request
+       X-GM-LABELS if it's been announced.
+       (nnimap-transform-headers): Gather and output GM-LABELS.
+
+2014-12-30  Peder O. Klingenberg  <peder@klingenberg.no>
+
+       * mm-decode.el (mm-display-part): Make non-string methods work.
+       Non-string methods are funcalled and work just fine, the test was
+       bogus.
+       * mm-decode.el (mm-display-external): Show "external" lisp viewers in
+       whole frame.
+
+2015-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-request-accept-article): Allow respooling using
+       nnimap.
+
+       * gnus-group.el (gnus-group-get-new-news-this-group): Explicitly
+       request rescans when being run interactively.
+
+       * nnimap.el (nnimap-request-group): Don't rescan the group here,
+       because that can be very slow in large groups.
+
+       * gnus-int.el (gnus-request-group-scan): New backend function.
+
+       * nnimap.el (nnimap-request-scan-group): Implement in on IMAP.
+
+2015-01-25  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-group.el (gnus-group-suspend): Close all backends.
+
+2015-01-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * dgnushack.el (dgnushack-compile-file): New function.
+       (dgnushack-compile): Use it (bug#19514).
+
+2015-01-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nntp.el (nntp-send-authinfo): Error out if the password is wrong.
+
+2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * registry.el: Don't use <class> as a variable.
+
+2014-12-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       system-name's returned value can vary
+       Also, the system-name variable is now obsolete.
+       Fixes Bug#19438.
+       * message.el (message-make-fqdn):
+       * nnvirtual.el (nnvirtual-retrieve-headers)
+       (nnvirtual-update-xref-header): Prefer (system-name) to system-name,
+       and avoid naming locals 'system-name'.
+
+2014-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * mm-decode.el (mm-shr): Bind `shr-width' to `fill-column' so that
+       lines don't get overlong when responding.
+
+2014-12-20  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * registry.el (cl-remf, cl-loop, cl-subseq):
+       Alias to remf, loop, and subseq respectively for old Emacsen.
+
+2014-12-19  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * gnus-group.el (gnus-read-ephemeral-bug-group):
+       Bind coding-system-for-read and coding-system-for-write only around
+       with-temp-file, and make buffer unibyte.  Don't write temp file twice.
+
+2014-12-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * registry.el (registry-db): Set default slot later.
+       This is because its value is not a literal integer.
+
+2014-12-18  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * registry.el (registry-db): Fix default registry-db max-size.
+
+2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * mm-util.el (mm-with-unibyte-current-buffer): Mark obsolete and
+       add warning.
+
+       * gnus-art.el: Fix up compiler warnings.
+       (article-display-face, article-display-x-face): Remove unused `face'.
+       (gnus-article-browse-html-save-cid-content): Remove unused var `type'.
+       (article-date-ut): Remove unused var `first'.
+       (gnus-article-prepare): Remove unused var `gnus-article'.
+       (gnus-mime-save-part-and-strip): Remove unused var `param'.
+       (gnus-mime-inline-part): Remove unused vars `charset', `contents', and
+       `coding-system' along with corresponding dead code.
+       (gnus-mime-view-part-externally): Remove unused var
+       `mm-user-display-methods'.
+       (gnus-insert-mime-button): Let-bind gnus-tmp-id explicitly.
+       (gnus-display-mime): Remove unused var `handle'.
+       (gnus-mime-display-alternative): Remove unused var `props'.
+       (gnus-article-read-summary-keys): Remove unused var `up-to-top'.
+       (gnus-article-edit-done): Remove unused var `p'.
+       (gnus-url-mailto): Remove unused var `to'.
+       (gnus-treat-article): Let-bind gnus-treat-condition, part-number,
+       total-parts, and gnus-treat-type explicitly.  Remove unused var `elem'.
+
+2014-12-18  Eric Abrahamsen  <eric@ericabrahamsen.net>
+
+       * registry.el (registry-db): Consolidate the :max-hard and :max-soft
+       slots into a :max-size slot.
+       (registry-db-version): Add new variable for database version number.
+       (registry-prune): Use :max-size slot. Accept and use a sort-function
+       argument.
+       (registry-collect-prune-candidates): Add new function for finding
+       non-precious pruning candidates.
+       (registry-prune-hard-candidates, registry-prune-soft-candidates):
+       Remove obsolete functions.
+       (initialize-instance): Upgrade registry version when starting.
+
+       * gnus-registry.el (gnus-registry-prune-factor): Add new variable.
+       (gnus-registry-max-pruned-entries): Remove obsolete variable.
+       (gnus-registry-cache-file): Change default
+       filename extension to "eieio".
+       (gnus-registry-read): Add new function, split out from
+       `gnus-registry-load', that does the actual object reading.
+       (gnus-registry-load): Use it. Add condition case handler to check for
+       old filename extension and rename to the new one.
+       (gnus-registry-default-sort-function): New variable to specify a sort
+       function to use when pruning.
+       (gnus-registry-save, gnus-registry-insert): Use it.
+       (gnus-registry-sort-by-creation-time): Define a default sort function.
+
+       * tests/gnustest-registry.el (gnustest-registry-make-testable-db):
+       Adjust test for new object signature.
+       (gnustest-registry-pruning-test): Add new pruning test.
+       (gnustest-registry-sort-function): Default sort function for testing.
+       (gnustest-registry-pruning-sort-test): New test for sorting.
+
+2014-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-art.el (gnus-article-mime-handles): Refactor out into own
+       function for reuse.
+       (gnus-mime-buttonize-attachments-in-header): Adjust.
+
+2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * message.el (message-change-subject): Really check whether the subject
+       changed.
+
+2014-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * mailcap.el (mailcap-mime-data): Add doc-view-mode as a viewer for
+       PDFs.
+       (mailcap-view-mime): New function.
+
+2014-12-01  Glenn Morris  <rgm@gnu.org>
+
+       * gnus-cloud.el (gnus-cloud): Add :version tag.
+
+2014-11-27  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-use-idna):
+       * gnus-sum.el (gnus-summary-idna-message):
+       * message.el (message-use-idna):
+       Protect against nil value for idna-program.
+
+       * message.el (message-use-idna): Load Mule-UCS for XEmacs 21.4.
+
+2014-11-26  John Mastro  <john.b.mastro@gmail.com>  (tiny change)
+
+       * auth-source.el (auth-source-macos-keychain-search-items): Return
+       result of `auth-source-macos-keychain-result-append' (bug#19074).
+
+2014-11-25  Glenn Morris  <rgm@gnu.org>
+
+       * gnus-start.el (gnus-save-newsrc-file-check-timestamp):
+       Add :version tag.
+
+2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * pop3.el (pop3-open-server): Warn unless encrypted.
+
+       * nnimap.el (nnimap-open-connection-1): Warn unless encrypted.
+
+2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port new time stamp handling to Emacs 23.2.
+       This fix is for Gnus.  Problem reported by Katsumi Yamaoka.
+       * time-date.el (time-add, time-subtract, time-less-p):
+       Use eval-and-compile, not eval-when-compile.
+
+2014-11-17  Albert Krewinkel  <albert@zeitkraut.de>
+
+       * message.el (message-valid-fqdn-regexp): Add non-internaional new
+       TLDs.
+
+2014-11-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port new time stamp handling to old Emacs and to XEmacs.
+       This is needed for Gnus, which copies time-date.el and which
+       runs on older Emacs implementations.
+       * time-date.el (with-decoded-time-value):
+       Handle 'nil' and floating-point arg more compatibly with new Emacs.
+       (encode-time-value, with-decoded-time-value):
+       Obsolete only if new Emacs.
+       (time-add, time-subtract, time-less-p): Define if not new Emacs.
+
+       Improve time stamp handling, and be more consistent about it.
+       This implements a suggestion made in:
+       http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
+       Among other things, this means timer.el no longer needs to
+       autoload the time-date module.
+       * time-date.el (seconds-to-time, days-to-time, time-since)
+       (with-decoded-time-value):
+       Treat 'nil' as current time.  This is mostly for XEmacs.
+       (encode-time-value, with-decoded-time-value): Obsolete.
+       (time-add, time-subtract, time-less-p): Use no-op autoloads, for
+       XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
+
+2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-summary-exit-no-update): Don't query about
+       discarding changes in ephemeral groups.
+
+       * ietf-drums.el (ietf-drums-parse-address): Don't issue warnings about
+       things the user isn't interested in.
+
+2014-11-13  Julien Danjou  <jd@abydos>
+
+       * gnus-notifications.el (gnus-notifications-notify): Provide both
+       app-icon and image-path.
+
+2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
+
+       * mm-url.el (mm-url-encode-multipart-form-data):
+       Restore to handle "multipart/form-data" by eww.
+
+2014-11-07  Tassilo Horn  <tsdh@gnu.org>
+
+       * gnus-start.el (gnus-activate-group): Fix typo reported by Tim
+       Landscheidt.
+
 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
 
        Simplify use of current-time and friends.
 
 2014-05-15  Katsumi Yamaoka  <yamaoka@jpl.org>
 
-       * gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part): Don't
-       delete next part button; keep spacing between buttons.
+       * gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part):
+       Don't delete next part button; keep spacing between buttons.
 
 2014-05-14  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * mm-decode.el (mm-display-part): Don't insert a newline in the top.
        (mm-shr): Make undisplayer unbreakable.
 
-       * mm-view.el (mm-inline-image-emacs, mm-inline-image-xemacs): Don't
-       insert excessive newline.
+       * mm-view.el (mm-inline-image-emacs, mm-inline-image-xemacs):
+       Don't insert excessive newline.
        (mm-inline-text-html-render-with-w3m, mm-inline-text)
        (mm-insert-inline): Make undisplayer unbreakable.
 
 2014-01-30  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * nnmail.el (nnmail-split-it): Instead of redoing the search to restore
-       the match data, just save and restore it explictly (bug#12375).
+       the match data, just save and restore it explicitly (bug#12375).
 
        * gnus-sum.el (gnus-summary-read-group-1): Initialize the spam code if
        that's needed.
        (spam-ham-copy-or-move-routine): Return the number of processed
        ham messages.
        (spam-summary-prepare-exit): Use the above values to decide
-       whether status messages shouled be displayed.
+       whether status messages should be displayed.
 
 2004-05-20  Katsumi Yamaoka  <yamaoka@jpl.org>
 
 
 See ChangeLog.2 for earlier changes.
 
-  Copyright (C) 2004-2014 Free Software Foundation, Inc.
+  Copyright (C) 2004-2015 Free Software Foundation, Inc.
 
   This file is part of GNU Emacs.