Installed Makefile rules for NNTP testing.
[gnus] / lisp / ChangeLog
index e4463ba..885e0ed 100644 (file)
@@ -1,3 +1,414 @@
+2011-04-20  David Engster  <dengste@eml.cc>
+
+       * tests/gnustest-nntp.el: New file for simple NNTP testing.
+
+       * Makefile.in (test-nntp): New rule.
+       (check): Add it.
+       (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
+
+2011-04-20  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-registry.el (gnus-registry-action)
+       (gnus-registry-fetch-header-fast):
+       Don't use mail-header that looks an internal function of mailheader.el.
+
+2011-04-19  Glenn Morris  <rgm@gnu.org>
+
+       * time-date.el (time-to-days): Remove unused local variables.
+
+2011-04-18  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-registry.el: Eliminate cl functions.
+       (gnus-registry-sort-addresses): New function that replaces mapcan.
+       (gnus-registry-action, gnus-registry-spool-action)
+       (gnus-registry-split-fancy-with-parent)
+       (gnus-registry-fetch-recipients-fast): Use it.
+       (gnus-registry-import-eld): Replace delete* with dolist + delq.
+
+       * registry.el (initialize-instance, registry-lookup)
+       (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
+       (registry-lookup-secondary-value, registry-search, registry-delete)
+       (registry-insert, registry-reindex, registry-size, registry-prune):
+       Use eval-and-compile.
+
+2011-04-16  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * registry.el (registry-reindex): New method to recreate the secondary
+       registry indices.
+
+       * gnus-registry.el (gnus-registry-fixup-registry): Use it if the
+       tracked field changes.
+       (gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
+       (gnus-registry-action, gnus-registry-spool-action)
+       (gnus-registry-handle-action)
+       (gnus-registry--split-fancy-with-parent-internal)
+       (gnus-registry-split-fancy-with-parent)
+       (gnus-registry-register-message-ids): Add recipient tracking on spool,
+       move, and delete actions, and for fancy splitting with parent.
+       (gnus-registry-extract-addresses)
+       (gnus-registry-fetch-recipients-fast)
+       (gnus-registry-fetch-header-fast): Convenience functions.
+       (gnus-registry-misc-test): ERT test of
+       `gnus-registry-extract-addresses'.
+
+2011-04-15  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
+       Track by subject first, then sender.
+
+2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
+
+       * gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from
+       Lisp.
+
+       * gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
+       (gnus-draft-send): Use it to avoid popping
+       up frames from gnus-group-send-queue.
+
+2011-04-14  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el: Updated gnus-registry docs.
+
+2011-04-12  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
+       Fix logic bug.
+       (gnus-registry-post-process-groups): Fix logging of no results and
+       quote sender and subject.
+
+2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * proto-stream.el (proto-stream-open-starttls): Only do opportunistic
+       STARTTLS upgrades if we have built-in gnutls support.  Upgrades via
+       gnutls-cli are too slow to be done opportunistically.
+
+       * gnus-start.el (gnus-get-unread-articles): Slight cleanup.
+       (gnus-read-active-for-groups): Don't try to finish getting stuff where
+       we had no early-data returned.
+       (gnus-get-unread-articles): Add a sanity check so that we don't issue
+       two async commands to the same server at the same time.
+
+2011-04-12  Stig Sandbeck Mathisen  <ssm@fnord.no>  (tiny change)
+
+       * gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
+
+2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-registry.el (gnus-registry-remake-db): Put the warning on a
+       "warning" level.
+
+       * mm-url.el (mm-url-package-name): Removed to ease third-party reuse.
+       (mm-url-insert-file-contents): Don't set the package names.
+
+2011-04-11  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el (gnus-registry-action): Remove properties and
+       simplify subject in `gnus-registry-handle-action'.
+       (gnus-registry-spool-action): Get subject and sender from message if
+       they are not passed in.
+       (gnus-registry-handle-action): Remove properties and simplify subject
+       consistently.
+
+2011-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * registry.el: Require CL before using defmacro*.
+
+2011-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (article-treat-date): Assume that
+       gnus-article-date-headers may be a group parameter.
+
+2011-04-07  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el (gnus-registry-handle-action): More debugging.
+
+       * gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
+       interactively so the newsrc file can contain foreign groups too.
+       Useful for debugging but not much for users.
+
+2011-04-07  David Engster  <dengste@eml.cc>
+
+       * registry.el (registry-usage-test): Only do
+       `registry-lookup-breaks-before-lexbind' testing for Emacs24 with
+       lexical binding.
+
+2011-04-07  David Engster  <dengste@eml.cc>
+
+       * Makefile.in (check, test-registry): New rules for test-suite.
+
+2011-04-06  David Engster  <dengste@eml.cc>
+
+       * registry.el, gnus-registry.el: Use `ignore-errors' instead of third
+       argument NOERROR for `require', since XEmacs 21.4 does not support it.
+
+2011-04-06  David Engster  <dengste@eml.cc>
+
+       * registry.el (initialize-instance): Change :after to :AFTER to be
+       compatible with old EIEIO version in XEmacs.
+
+2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el (gnus-registry-post-process-groups)
+       (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
+       and provide better messaging.
+
+2011-04-06  David Engster  <dengste@eml.cc>
+
+       * Makefile.in (fail-on-warning): New rule to compile with warnings as
+       errors.
+
+       * dgnushack.el (dgnushack-compile-error-on-warn): New function to call
+       dgnushack-compile with error-on-warn enabled, and to signal an error if
+       clean compilation failed.
+       (dgnushack-compile): New argument 'error-on-warn'.  If non-nil, compile
+       with `byte-compile-error-on-warn'.  Return nil if errors occured.
+
+2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el: Don't use ERT if it's not available.  Load it
+       unconditionally anyway, discarding errors.
+       (gnus-registry-delete-entries): New convenience function.
+       (gnus-registry-import-eld): Import from old .eld registry.
+
+       * registry.el: Don't use ERT if it's not available.  Load it
+       unconditionally anyway, discarding errors.
+
+       * proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the
+       version from the Claudio Bley GnuTLS patch (extra optional parameters
+       and host name).
+
+2011-04-05  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el (gnus-registry-fixup-registry): New function to
+       fixup the parameters that can be customized by the user between
+       save/read cycles.
+       (gnus-registry-read): Use it.
+       (gnus-registry-make-db): Use it.
+       (gnus-registry-spool-action, gnus-registry-handle-action): Fix
+       messaging.
+       (gnus-registry--split-fancy-with-parent-internal): Fix loop.  Map
+       references to actual group names with sender and subject tracking.
+       (gnus-registry-post-process-groups): Use `cond' for better messaging.
+       (gnus-registry-usage-test): Add subject lookup test.
+
+       * registry.el (registry-db, initialize-instance): Set up constructor
+       instead of :initform arguments for the sake of older Emacsen.
+       (registry-lookup-breaks-before-lexbind): New method to demonstrate
+       pre-lexbind merge bug.
+       (registry-usage-test): Use it.
+       (initialize-instance, registry-db): Move the non-function initforms
+       back to the class definition.
+
+2011-04-03  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * registry.el: New library to manage gnus-registry-style data.
+
+       * gnus-registry.el: Use it (major rewrite).
+
+       * nnregistry.el: Use it.
+
+       * spam.el: Use it.
+
+2011-04-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-update-marks): Reinstate the code to not alter
+       marks on non-selected articles.
+
+2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
+       parameter to open-protocol-stream.
+
+2011-04-01  Julien Danjou  <julien@danjou.info>
+
+       * mm-view.el (mm-display-inline-fontify): Do not fontify with
+       fundamental-mode.
+
+2011-04-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-start.el (gnus-get-unread-articles): Don't try to contact denied
+       servers.
+
+2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-update-marks): Revert intersection change, which
+       made marks not propagate, again.
+
+2011-03-30  Chong Yidong  <cyd@stupidchicken.com>
+
+       * proto-stream.el (open-protocol-stream): Bring back `network' type.
+       Make this the default type.
+       (proto-stream-open-plain): Rename from proto-stream-open-default.
+       (open-protocol-stream, proto-stream-open-starttls)
+       (proto-stream-open-tls, proto-stream-open-shell): Replace `default'
+       with `plain'.
+
+       * nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network'
+       value.
+
+       * nntp.el (nntp-open-connection-function): Document the fact that some
+       values are not functions but are instead handled specially.  Recognize
+       nntp-open-plain-stream value.
+       (nntp-open-connection): Recognize that value.
+
+2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * dgnushack.el: Only do the defcustom compilation thing on XEmacs,
+       where it seems to be needed.
+
+2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP
+       stuff.
+
+       * gnus-score.el (gnus-score-string): Fix calling convention of
+       `gnus-simplify-buffer-fuzzy' after last patches.
+
+       * gnus-sum.el (gnus-update-marks): Don't send any marks updates to the
+       server for articles we didn't get any headers for.  This is a sanity
+       check.
+
+2011-03-29  Michael Welsh Duggan  <md5i@md5i.com>
+
+       * nnimap.el (nnimap-open-connection-1): Is the login responds with a
+       new CAPABILITY, use it.
+
+2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-agent.el (gnus-agent-fetch-headers): Don't message if we're not
+       downloading anything.
+
+       * gnus.el (gnus-splash-svg-color-symbols): Removed superfluous `and'.
+
+2011-03-29  Adam Sjøgren  <asjo@koldfront.dk>
+
+       * gnus.el (gnus-group-startup-message): Prefer svg file and replace
+       colors.
+       (gnus-splash-svg-color-symbols): New function.
+
+2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-simplify-buffer-fuzzy): Take the regexp explicitly
+       instead of using the global gnus-simplify-subject-fuzzy-regexp.
+       (gnus-simplify-subject-fuzzy): Use the local
+       gnus-simplify-subject-fuzzy-regex instead of the global one.  This
+       makes using this variable in group parameters work.
+
+2011-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el (gnus-registry-unfollowed-groups): Add
+       "archive:sent" to the unfollowed group regex (for the recent Gnus
+       archive:sent-YYYY-MM-DD groups).
+       (gnus-registry-split-fancy-with-parent): Bail out early in sender
+       tracking if there are more than `gnus-registry-max-track-groups'
+       matches.
+
+2011-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * message.el (message--yank-original-internal): New function to do the
+       insertion cleanly inside eval in `message-yank-original'.
+       (message-yank-original): Use it.
+
+2011-03-29  Julien Danjou  <julien@danjou.info>
+
+       * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with
+       local variables disabled rather than `normal-mode'.
+
+2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
+
+       * imap.el (imap-shell-open, imap-process-connection-type): Use
+       imap-process-connection-type for 'shell' streams as well as
+       Kerberos, SSL, other subprocesses.
+
+2011-03-26  Chong Yidong  <cyd@stupidchicken.com>
+
+       * proto-stream.el: Changes preparatory to merging open-protocol-stream
+       with open-network-stream.
+       (proto-stream-always-use-starttls): Option removed.
+       (open-protocol-stream): Return a process object by default.  Provide a
+       new parameter :return-list specifying a list-type return value, which
+       now has the form (PROP . PLIST) instead of a fixed-length list.  Change
+       :type `network' to `try-starttls', and `network-only' to `default'.
+       Make `default' the default, for compatibility with open-network-stream.
+       Handle the no-parameter case exactly as open-network-stream, with no
+       additional stream processing.  Search plists using plist-get.
+       Explicitly add :end-of-commend parameter if it is missing.
+       (proto-stream-open-default): Renamed from
+       proto-stream-open-network-only.  Return 'default as the type.
+       (proto-stream-open-starttls): Rename from proto-stream-open-network.
+       Use plist-get.  Don't return `tls' as the type if STARTTLS negotiation
+       failed.  Always return a list with a (possibly dead) process as the
+       first element, for compatibility with open-network-stream.
+       (proto-stream-open-tls): Use plist-get.  Always return a list.
+       (proto-stream-open-shell): Return `default' as connection type.
+       (proto-stream-capability-open): Use plist-get.
+       (proto-stream-eoc): Function deleted.
+
+       * nnimap.el (nnimap-stream, nnimap-open-connection)
+       (nnimap-open-connection-1): Handle renaming of :type parameter for
+       open-protocol-stream.
+       (nnimap-open-connection-1): Pass a :return-list parameter
+       open-protocol-stream to obtain a list return value.  Parse this list
+       using plist-get.
+
+       * nntp.el (nntp-open-connection): Handle renaming of :type parameter
+       for open-protocol-stream.  Accept open-protocol-stream return value
+       that is a subprocess object instead of a list.  Handle the case of a
+       dead returned process.
+
+2011-03-25  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
+
+       * mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
+
+2011-03-21  Julien Danjou  <julien@danjou.info>
+
+       * mm-view.el (mm-display-inline-fontify): Make mode optional, and call
+       normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer
+       query.
+       (mm-inline-text): Render normal text with fontification whenever
+       possible.
+
+       * gnus-sum.el (gnus-summary-save-parts-1):
+       * gnus-art.el (gnus-article-browse-html-save-cid-content)
+       (gnus-article-browse-html-parts, gnus-mime-delete-part)
+       (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
+       Use `mm-handle-filename'.
+
+       * mm-util.el (mm-handle-filename): New function, return the filename of
+       an handle.
+
+2011-03-18  Julien Danjou  <julien@danjou.info>
+
+       * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
+       (gnus-buffer-live-p): Check that buffer is not nil.
+
+2011-03-17  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
+
+       * gnus.el: No Gnus v0.15 is released.
+
+2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * time-date.el (format-seconds): Use assoc instead of assoc-string to
+       avoid warning on XEmacs.
+
+       * dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning
+       on XEmacs.
+
+       * gnus-art.el: Require mouse, which the build bot seems to say is
+       needed.
+
+       * dgnushack.el: Define url-retrieve-synchronously unless not defined.
+
+       * gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on
+       XEmacs, since it doesn't have url-retrieve-synchronously.
+
+       * time-date.el (format-seconds): Use assoc instead of assoc-string,
+       since assoc-string doesn't exist in XEmacs.
+
 2011-03-17  Antoine Levitt  <antoine.levitt@gmail.com>
 
        * gnus-group.el (gnus-group-list-ticked): New function.
        * smime-ldap.el (smime-ldap-search): Add compatibility for XEmacs.
 
        * smime.el (smime-cert-by-ldap-1): Handle certificates distributed
-       in PEM format.  Adjust to the XEmacs compability.
+       in PEM format.  Adjust to the XEmacs compatibility.
 
 2005-05-30  Reiner Steib  <Reiner.Steib@gmx.de>