nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of delete-dups that is...
[gnus] / lisp / ChangeLog
index b2b6bba..394244f 100644 (file)
@@ -1,3 +1,306 @@
+2010-11-29  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of
+       delete-dups that is not available in XEmacs 21.4.
+
+       * mm-util.el (mm-delete-duplicates): Add comment.
+
+2010-11-28  Andrew Cohen  <cohen@andy.bu.edu>
+
+       * nnir.el (nnir-ignored-newsgroups): New variable.
+       (nnir-get-active): Use it.
+
+2010-11-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * proto-stream.el (proto-stream-open-network): Add some comments.
+
+       * nntp.el (nntp-open-connection): Provide a :success condition.
+
+       * nnimap.el (nnimap-open-connection-1): Ditto.
+
+       * proto-stream.el (proto-stream-open-network): See what the response to
+       the STARTTLS command is.
+
+       * nnimap.el (nnimap-open-connection-1): Always upgrade to STARTTLS (for
+       backwards compatibility).
+       (nnimap-open-connection-1): Really respect nnimap-server-port.
+
+       * proto-stream.el (proto-stream-open-network): When doing opportunistic
+       TLS upgrades we don't really care about the identity of the peer.
+       (proto-stream-open-network): Force starttls.el to use gnutls-cli, since
+       that what we've checked for.
+       (proto-stream-always-use-starttls): Only default to t if
+       open-gnutls-stream exists.
+       (proto-stream-open-network): If STARTTLS failed, then just open a
+       normal connection.
+       (proto-stream-open-network): Wait until the greeting before doing
+       STARTTLS.
+
+       * nntp.el (nntp-open-connection): Report what the connection error is.
+
+       * proto-stream.el (open-protocol-stream): Renamed from
+       open-proto-stream.
+
+2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-stream): Change default to `undecided'.
+       (nnimap-open-connection): If `nnimap-stream' is `undecided', try ssl
+       first, and then network.
+       (nnimap-open-connection-1): Respect nnimap-server-port.
+       (nnimap-open-connection): Be more backwards-compatible.
+
+       * proto-stream.el (proto-stream-always-use-starttls): New variable.
+       (proto-stream-open-starttls): De-duplicate the starttls code.
+       (proto-stream-open-starttls): Folded back into the main function.
+       (proto-stream-open-network): Fix typo in the gnutls path.
+       (proto-stream-command): Refactor out.
+
+       * nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
+
+       * proto-stream.el (proto-stream-open-starttls): Actually implement the
+       starttls.el STARTTLS.
+
+       * color.el (color-lab->srgb): Fix function call name.
+
+       * proto-stream.el (proto-stream-open-tls): Delete output from openssl
+       if we're using tls.el.
+       (proto-stream-open-network): If we don't have gnutls-cli or gnutls
+       built in, then don't try to establish a STARTTLS connection.
+
+       * nntp.el (nntp-open-connection): Switch on STARTTLS on supported
+       servers.
+
+       * proto-stream.el (open-proto-stream): Use network, not stream.
+       (open-proto-stream): Add a way to specify what the end of a command is.
+
+       * nntp.el (nntp-open-connection): Use proto-streams for the relevant
+       connections types.
+       (nntp-open-network-stream): Remove.
+       (nntp-open-ssl-stream): Remove.
+       (nntp-open-tls-stream): Remove.
+       (nntp-ssl-program): Remove.
+
+       * nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
+
+2010-11-27  Andrew Cohen  <cohen@andy.bu.edu>
+
+       * nnir.el: Fix typos.
+       (nnir-retrieve-headers-override-function): Rename variable to reflect
+       new semantics.
+       (nnir-article-group, nnir-article-number, nnir-article-rsv): New helper
+       macros.
+       (nnir-request-article, nnir-request-move-article): Use them.
+       (nnir-categorize): New function.
+       (nnir-run-query): Use it.
+       (nnir-retrieve-headers): Rewrite to batch header retrieval.
+       (nnir-run-gmane): nnir-retrieve-headers now returns the headers already
+       sorted.
+       (nnir-group-full-name): Use gnus-group-full-name instead.
+       (nnir-artlist-artitem-group, nnir-artlist-artitem-number)
+       (nnir-artlist-artitem-rsv, nnir-sort-groups-by-server): Obsolete.
+
+2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-open-connection): Fix typo in STARTTLS command.
+
+       * proto-stream.el: New library to provide protocol-specific
+       TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar
+       protocols.
+       (open-proto-stream): Complete the documentation.
+       (proto-stream-open-network): Fix some typos.
+
+       * nnimap.el (nnimap-open-connection): Use it.
+
+2010-11-26  Julien Danjou  <julien@danjou.info>
+
+       * color.el: Rename various rgb functions to srgb.
+
+2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox
+       names.
+
+2010-11-26  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * shr.el (shr-insert): Revert last change.
+       (shr-find-fill-point): Never leave point being at bol;
+       relax the kinsoku limitation when rendering tables.
+
+2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnmail.el (nnmail-expiry-target-group): Protect against degenerate
+       results from -accept-article.
+
+       * shr-color.el: Require cl when compiling.
+
+       * nnheader.el (nnheader-update-marks-actions): Fix typo in last
+       checkin.
+
+       * gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
+
+       * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
+
+       * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
+       'add and 'delete to set backend marks.
+
+       * nnmaildir.el (nnmaildir-request-set-mark): Be explicit about 'set.
+
+       * nnheader.el (nnheader-update-marks-actions): Refactor out.
+
+       * nntp.el (nntp-request-set-mark): Use it.
+
+       * nnfolder.el (nnfolder-request-set-mark): Ditto.
+
+       * nnml.el (nnml-request-set-mark): Ditto.
+
+       * nnimap.el (nnimap-last-response-string): Remove the unfolding -- it
+       introduces regressions in article selection.
+       (nnimap-find-uid-response): New function.
+       (nnimap-request-accept-article): Use the UID returned, if any.
+       (nnimap-request-move-article): Use the UID returned, if any.
+       (nnimap-get-groups): Reimplement to work with folded lines.
+       (nnimap-find-uid-response): The UID is the last element in the list.
+       (nnimap-request-set-mark): Extend syntax with 'set.
+
+       * nnml.el (nnml-request-set-mark): Ditto.
+
+       * nnfolder.el (nnfolder-request-set-mark): Ditto.
+
+       * nntp.el (nntp-request-set-mark): Ditto.
+
+2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * message.el (message-called-interactively-p): A temporary macro.
+       (message-goto-body): Use it temporarily.
+
+2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
+       (nnimap-last-response-string): Unfold quoted lines, if they exist.
+       (nnimap-last-response-string): Fix last unfolding fix.
+
+2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * shr.el (shr-insert): Fix the way to fold lines.
+
+2010-11-25  Julien Danjou  <julien@danjou.info>
+
+       * shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
+
+       * color.el: Rename from color-lab.el
+       (color-rgb->hex): Add.
+       (color-complement): Add.
+       (color-complement-hex): Add.
+
+       * gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab].
+
+2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr-color.el (shr-color-visible): Don't bug out if the colour names
+       don't exist.
+
+2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil,
+       assuming that article displaying or another mml-preview may be
+       interrupted for an error or for the like.
+
+       * shr.el (shr-get-background): Fix argument name.
+
+2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
+
+       * gnus-sum.el (gnus-summary-include-articles): New function.
+
+       * message.el (message-goto-body): called-interactively-p needs a
+       parameter, so use `any'.
+
+       * nnimap.el (nnimap-request-move-article): It's no longer necessary to
+       clear marks before moving, since they're synced from the Gnus side
+       first.
+
+       * gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
+       (gnus-summary-move-article): Copy over all marks before moving, so that
+       IMAP doesn't think a new article has arrived.
+
+2010-11-24  Julien Danjou  <julien@danjou.info>
+
+       * shr.el (shr-insert-background-overlay): Fix typo.
+       (shr-render-td): Copy the background before rendering.
+
+       * shr-color.el (shr-color-visible): Fix docstring.
+
+       * shr.el (shr-tag-table): Add bgcolor support.
+       (shr-render-td): Add bgcolor support.
+       (shr-get-background): Add.
+       (shr-insert-foreground-overlay): Use shr-get-background.
+
+       * message.el (message-goto-body): Use called-interactively-p.
+       (message-in-body-p): message-goto-body returns point.
+
+2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * mm-util.el (mm-enable-multibyte): Use `to' instead of t.  This fixes
+       Fixes something or other in Emacs 23, and is backwards compatible.
+
+       * message.el (message-goto-body): Remove the <#secure special-casing,
+       which is too special.
+
+       * shr.el (shr-parse-style): Drop !important from styles.
+
+2010-11-24  Daniel Schoepe  <daniel.schoepe@googlemail.com>  (tiny change)
+
+       * gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes
+       this function to return incorrect results when calling it with an
+       explicit article argument different from
+       (gnus-summary-article-number).
+
+2010-11-24  Julien Danjou  <julien@danjou.info>
+
+       * shr.el (shr-insert-color-overlay): Replace deprecated syntax.
+       (shr-tag-body): Add background support.
+       (shr-descend): Add background support.
+       (shr-tag-title): Add.
+
+       * shr-color.el (shr-color-visible): Really return original background
+       if fixed.
+
+2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-color-check): Protect against non-existant colour names.
+
+2010-11-24  Julien Danjou  <julien@danjou.info>
+
+       * color-lab.el: Require 'cl when compiling.
+
+       * shr.el (shr-insert-color-overlay): Remove specific rgb() check.
+
+       * shr-color.el (shr-color->hexadecimal): Only return the hexadecimal
+       matched part.
+
+       * color-lab.el: Fix all expt calls to use float type.
+
+2010-11-24  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color
+       expression to shr-color-check as is.
+
+       * shr-color.el (shr-color->hexadecimal): Ignore case of color names.
+
+       * color-lab.el: Add coding cookie.
+       (float-pi): Use eval-and-compile.
+
+       * dgnushack.el (dgnushack-compile): Exclude shr-color.el from being
+       compiled for Emacsen having no `libxml-parse-html-region' support.
+
+2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-insert-color-overlay): Split stuff like
+       "#444444 !important" to find the real colour.
+       (shr-tag-font): Resurrect shr-tag-font again, since it's needed to
+       parse <font color="red"> entries.
+
 2010-11-23  Andrew Cohen  <cohen@andy.bu.edu>
 
        * nnheader.el (nnheader-parse-head): Bug fix.  Properly position
 
 2010-11-23  Julien Danjou  <julien@danjou.info>
 
+       * color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
+
        * shr-color.el (shr-color->hexadecimal): Add support for color names.
 
        * shr.el (shr-parse-style): Replace \n with space in style parsing.
 
-       * shr-color.el (shr-color-hsl-to-rgb-fractions): Use shr-color-hue-to-rgb.
+       * shr-color.el (shr-color-hsl-to-rgb-fractions): Use
+       shr-color-hue-to-rgb.
        (shr-color->hexadecimal): Call shr-color-hsl-to-rgb-fractions.
 
 2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>