diff options
Diffstat (limited to 'mail/mutt-devel/files/extra-patch-edit-threads')
| -rw-r--r-- | mail/mutt-devel/files/extra-patch-edit-threads | 182 |
1 files changed, 74 insertions, 108 deletions
diff --git a/mail/mutt-devel/files/extra-patch-edit-threads b/mail/mutt-devel/files/extra-patch-edit-threads index 34f9a78e9c57..b1695240c98d 100644 --- a/mail/mutt-devel/files/extra-patch-edit-threads +++ b/mail/mutt-devel/files/extra-patch-edit-threads @@ -1,6 +1,11 @@ -diff -ru work.old/mutt-1.5.6/OPS work/mutt-1.5.6/OPS ---- OPS Wed Nov 5 10:41:31 2003 -+++ OPS Tue Feb 10 14:40:41 2004 +diff -Nru a/PATCHES b/PATCHES +--- a/PATCHES ++++ b/PATCHES +@@ -0,0 +1 @@ ++patch-1.5.7.tg.edit_threads.1 +diff -Nru a/OPS b/OPS +--- a/OPS 2005-01-29 17:07:15 +01:00 ++++ b/OPS 2005-01-29 17:07:15 +01:00 @@ -96,6 +96,7 @@ OP_LIST_REPLY "reply to specified mailing list" OP_MACRO "execute a macro" @@ -17,58 +22,21 @@ diff -ru work.old/mutt-1.5.6/OPS work/mutt-1.5.6/OPS OP_MAIN_NEXT_NEW "jump to the next new message" OP_MAIN_NEXT_NEW_THEN_UNREAD "jump to the next new or unread message" OP_MAIN_NEXT_SUBTHREAD "jump to the next subthread" -diff -ru work.old/mutt-1.5.6/config.h.in work/mutt-1.5.6/config.h.in ---- config.h.in Sun Feb 1 18:18:21 2004 -+++ config.h.in Tue Feb 10 14:40:41 2004 -@@ -549,3 +549,7 @@ - * all return values other than (size_t)(-1) as equivalent. */ - #undef ICONV_NONTRANS - -+/* Do you want to use the rethreading functions with IMAP -+ * (--enable-imap-edit-threads) */ -+#undef IMAP_EDIT_THREADS -+ --- /dev/null Sun Feb 13 11:16:10 2005 -+++ acconfig.h Sun Feb 13 11:15:44 2005 ++++ b/acconfig.h Sun Feb 13 11:15:44 2005 @@ -0,0 +1,4 @@ +/* Do you want to use the rethreading functions with IMAP + * (--enable-imap-edit-threads) */ +#undef IMAP_EDIT_THREADS + -diff -ru work.old/mutt-1.5.6/configure work/mutt-1.5.6/configure ---- configure Sun Feb 1 19:22:06 2004 -+++ configure Tue Feb 10 14:40:41 2004 -@@ -5383,6 +5385,23 @@ - else - USE_GSS_TRUE='#' - USE_GSS_FALSE= -+fi -+ -+ -+# Check whether --enable-imap-edit-threads or --disable-imap-edit-threads was given. -+if test "${enable_imap_edit_threads+set}" = set; then -+ enableval="$enable_imap_edit_threads" -+ -+ if test "$enableval" = "yes"; then -+ if test "$need_imap" = "yes"; then -+ cat >> confdefs.h <<\EOF -+#define IMAP_EDIT_THREADS 1 -+EOF -+ -+ else -+ echo "configure: warning: IMAP support for edit_threads is only useful with IMAP support" 1>&2 -+ fi -+fi - fi - - -diff -ru work.old/mutt-1.5.6/configure.in work/mutt-1.5.6/configure.in ---- configure.in Sun Feb 1 19:22:05 2004 -+++ configure.in Tue Feb 10 14:40:41 2004 -@@ -559,6 +559,16 @@ +diff -Nru a/configure.in b/configure.in +--- a/configure.in.orig Mon Mar 14 08:30:21 2005 ++++ b/configure.in Mon Mar 14 08:33:05 2005 +@@ -566,6 +566,16 @@ + AM_CONDITIONAL(USE_GSS, test x$need_gss = xyes) dnl -- end imap dependencies -- - ++ +AC_ARG_ENABLE(imap-edit-threads, [ --enable-imap-edit-threads Enable editing threads support for IMAP], +[ + if test "$enableval" = "yes"; then @@ -78,13 +46,12 @@ diff -ru work.old/mutt-1.5.6/configure.in work/mutt-1.5.6/configure.in + AC_MSG_WARN([IMAP support for edit_threads is only useful with IMAP support]) + fi +fi]) -+ - AC_ARG_WITH(ssl, [ --with-ssl[=PFX] Compile in SSL support for POP/IMAP], + + AC_ARG_WITH(ssl, AC_HELP_STRING([--with-ssl[=PFX]], [Compile in SSL support for POP/IMAP]), [ if test "$with_ssl" != "no" - then -diff -ru work.old/mutt-1.5.6/copy.c work/mutt-1.5.6/copy.c ---- copy.c Wed Nov 5 10:41:31 2003 -+++ copy.c Tue Feb 10 14:40:41 2004 +diff -Nru a/copy.c b/copy.c +--- a/copy.c 2005-01-29 17:07:15 +01:00 ++++ b/copy.c 2005-01-29 17:07:15 +01:00 @@ -95,6 +95,12 @@ (ascii_strncasecmp ("Content-Length:", buf, 15) == 0 || ascii_strncasecmp ("Lines:", buf, 6) == 0)) @@ -187,9 +154,9 @@ diff -ru work.old/mutt-1.5.6/copy.c work/mutt-1.5.6/copy.c if (h->old || h->read) { if (fputs ("Status: ", out) == EOF) -diff -ru work.old/mutt-1.5.6/curs_main.c work/mutt-1.5.6/curs_main.c ---- curs_main.c Wed Nov 5 10:41:31 2003 -+++ curs_main.c Tue Feb 10 14:40:41 2004 +diff -Nru a/curs_main.c b/curs_main.c +--- a/curs_main.c 2005-01-29 17:07:15 +01:00 ++++ b/curs_main.c 2005-01-29 17:07:15 +01:00 @@ -930,6 +930,11 @@ else { @@ -202,7 +169,7 @@ diff -ru work.old/mutt-1.5.6/curs_main.c work/mutt-1.5.6/curs_main.c menu->redraw = REDRAW_STATUS; if (option (OPTRESOLVE) && menu->current < Context->vcount - 1) { -@@ -1162,6 +1167,89 @@ +@@ -1165,6 +1170,89 @@ } done = 1; } @@ -292,10 +259,10 @@ diff -ru work.old/mutt-1.5.6/curs_main.c work/mutt-1.5.6/curs_main.c break; case OP_EDIT_TYPE: -diff -ru work.old/mutt-1.5.6/doc/manual.sgml.head work/mutt-1.5.6/doc/manual.sgml.head ---- doc/manual.sgml.head Sun Feb 1 18:49:53 2004 -+++ doc/manual.sgml.head Tue Feb 10 14:40:41 2004 -@@ -2197,8 +2197,43 @@ +diff -Nru a/doc/manual.sgml.head b/doc/manual.sgml.head +--- a/doc/manual.sgml.head 2005-01-29 17:07:15 +01:00 ++++ b/doc/manual.sgml.head 2005-01-29 17:07:15 +01:00 +@@ -2322,8 +2322,43 @@ with large volume mailing lists easier because you can easily delete uninteresting threads and quickly find topics of value. @@ -339,9 +306,9 @@ diff -ru work.old/mutt-1.5.6/doc/manual.sgml.head work/mutt-1.5.6/doc/manual.sgm RFC1894 defines a set of MIME content types for relaying information about the status of electronic mail messages. These can be thought of as ``return receipts.'' Berkeley sendmail 8.8.x currently has some command -diff -ru work.old/mutt-1.5.6/functions.h work/mutt-1.5.6/functions.h ---- functions.h Wed Nov 5 10:41:31 2003 -+++ functions.h Tue Feb 10 14:40:41 2004 +diff -Nru a/functions.h b/functions.h +--- a/functions.h 2005-01-29 17:07:15 +01:00 ++++ b/functions.h 2005-01-29 17:07:15 +01:00 @@ -69,6 +69,7 @@ struct binding_t OpMain[] = { { "create-alias", OP_CREATE_ALIAS, "a" }, @@ -374,10 +341,10 @@ diff -ru work.old/mutt-1.5.6/functions.h work/mutt-1.5.6/functions.h { "list-reply", OP_LIST_REPLY, "L" }, { "redraw-screen", OP_REDRAW, "\014" }, { "mail", OP_MAIL, "m" }, -diff -ru work.old/mutt-1.5.6/imap/imap.c work/mutt-1.5.6/imap/imap.c ---- imap/imap.c Sun Feb 1 18:10:58 2004 -+++ imap/imap.c Tue Feb 10 14:40:41 2004 -@@ -981,9 +981,11 @@ +diff -Nru a/imap/imap.c b/imap/imap.c +--- a/imap/imap.c 2005-01-29 17:07:15 +01:00 ++++ b/imap/imap.c 2005-01-29 17:07:15 +01:00 +@@ -983,9 +983,11 @@ mutt_buffer_addstr (&cmd, "UID STORE "); mutt_buffer_addstr (&cmd, uid); @@ -392,10 +359,10 @@ diff -ru work.old/mutt-1.5.6/imap/imap.c work/mutt-1.5.6/imap/imap.c { dprint (3, (debugfile, "imap_sync_mailbox: Attachments to be deleted, falling back to _mutt_save_message\n")); if (!appendctx) -diff -ru work.old/mutt-1.5.6/main.c work/mutt-1.5.6/main.c ---- main.c Tue Mar 4 08:49:48 2003 -+++ main.c Tue Feb 10 14:40:41 2004 -@@ -228,6 +228,12 @@ +diff -Nru a/main.c b/main.c +--- a/main.c 2005-01-29 17:07:15 +01:00 ++++ b/main.c 2005-01-29 17:07:15 +01:00 +@@ -235,6 +235,12 @@ "-USE_IMAP " #endif @@ -408,10 +375,10 @@ diff -ru work.old/mutt-1.5.6/main.c work/mutt-1.5.6/main.c #ifdef USE_GSS "+USE_GSS " #else -diff -ru work.old/mutt-1.5.6/mh.c work/mutt-1.5.6/mh.c ---- mh.c Sun Feb 1 18:10:57 2004 -+++ mh.c Tue Feb 10 14:40:41 2004 -@@ -1220,7 +1220,7 @@ +diff -Nru a/mh.c b/mh.c +--- a/mh.c 2005-01-29 17:07:15 +01:00 ++++ b/mh.c 2005-01-29 17:07:15 +01:00 +@@ -1326,7 +1326,7 @@ { HEADER *h = ctx->hdrs[msgno]; @@ -420,7 +387,7 @@ diff -ru work.old/mutt-1.5.6/mh.c work/mutt-1.5.6/mh.c if (mh_rewrite_message (ctx, msgno) != 0) return -1; -@@ -1231,9 +1231,9 @@ +@@ -1337,9 +1337,9 @@ { HEADER *h = ctx->hdrs[msgno]; @@ -432,10 +399,10 @@ diff -ru work.old/mutt-1.5.6/mh.c work/mutt-1.5.6/mh.c if (mh_rewrite_message (ctx, msgno) != 0) return (-1); } -diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h ---- mutt.h Sun Feb 1 18:15:17 2004 -+++ mutt.h Tue Feb 10 14:41:33 2004 -@@ -94,6 +94,8 @@ +diff -Nru a/mutt.h b/mutt.h +--- a/mutt.h 2005-01-29 17:07:15 +01:00 ++++ b/mutt.h 2005-01-29 17:07:15 +01:00 +@@ -96,6 +96,8 @@ #define CH_WEED_DELIVERED (1<<13) /* weed eventual Delivered-To headers */ #define CH_FORCE_FROM (1<<14) /* give CH_FROM precedence over CH_WEED? */ #define CH_NOQFROM (1<<15) /* give CH_FROM precedence over CH_WEED? */ @@ -444,16 +411,15 @@ diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h /* flags for mutt_enter_string() */ #define M_ALIAS 1 /* do alias "completion" by calling up the alias-menu */ -@@ -518,6 +520,8 @@ +@@ -542,6 +544,7 @@ + #define mutt_new_rx_list() safe_calloc (1, sizeof (RX_LIST)) + #define mutt_new_spam_list() safe_calloc (1, sizeof (SPAM_LIST)) + void mutt_free_list (LIST **); ++LIST *mutt_copy_list (LIST *); void mutt_free_rx_list (RX_LIST **); + void mutt_free_spam_list (SPAM_LIST **); int mutt_matches_ignore (const char *, LIST *); - -+LIST *mutt_copy_list (LIST *); -+ - /* add an element to a list */ - LIST *mutt_add_list (LIST *, const char *); - -@@ -657,6 +661,8 @@ +@@ -699,6 +702,8 @@ unsigned int subject_changed : 1; /* used for threading */ unsigned int threaded : 1; /* used for threading */ unsigned int display_subject : 1; /* used for threading */ @@ -462,7 +428,7 @@ diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h unsigned int recip_valid : 1; /* is_recipient is valid */ unsigned int active : 1; /* message is not to be removed */ unsigned int trash : 1; /* message is marked as trashed on disk. -@@ -697,6 +703,10 @@ +@@ -739,6 +744,10 @@ char *tree; /* character string to print thread tree */ struct thread *thread; @@ -473,7 +439,7 @@ diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h #ifdef MIXMASTER LIST *chain; #endif -@@ -761,6 +771,7 @@ +@@ -803,6 +812,7 @@ char *pattern; /* limit pattern string */ pattern_t *limit_pattern; /* compiled limit pattern */ HEADER **hdrs; @@ -481,9 +447,9 @@ diff -ru work.old/mutt-1.5.6/mutt.h work/mutt-1.5.6/mutt.h THREAD *tree; /* top of thread tree */ HASH *id_hash; /* hash table by msg id */ HASH *subj_hash; /* hash table by subject */ -diff -ru work.old/mutt-1.5.6/mx.c work/mutt-1.5.6/mx.c ---- mx.c Wed Nov 5 10:41:32 2003 -+++ mx.c Tue Feb 10 14:40:41 2004 +diff -Nru a/mx.c b/mx.c +--- a/mx.c 2005-01-29 17:07:15 +01:00 ++++ b/mx.c 2005-01-29 17:07:15 +01:00 @@ -1161,6 +1161,8 @@ ctx->deleted = 0; } @@ -493,10 +459,10 @@ diff -ru work.old/mutt-1.5.6/mx.c work/mutt-1.5.6/mx.c } /* really only for IMAP - imap_sync_mailbox results in a call to -diff -ru work.old/mutt-1.5.6/pager.c work/mutt-1.5.6/pager.c ---- pager.c Sun Feb 1 18:10:57 2004 -+++ pager.c Tue Feb 10 14:40:41 2004 -@@ -2481,6 +2481,11 @@ +diff -Nru a/pager.c b/pager.c +--- a/pager.c 2005-01-29 17:07:15 +01:00 ++++ b/pager.c 2005-01-29 17:07:15 +01:00 +@@ -2492,6 +2492,11 @@ case OP_TAG: CHECK_MODE(IsHeader (extra)); mutt_set_flag (Context, extra->hdr, M_TAG, !extra->hdr->tagged); @@ -508,10 +474,10 @@ diff -ru work.old/mutt-1.5.6/pager.c work/mutt-1.5.6/pager.c redraw = REDRAW_STATUS | REDRAW_INDEX; if (option (OPTRESOLVE)) { -diff -ru work.old/mutt-1.5.6/protos.h work/mutt-1.5.6/protos.h ---- protos.h Sun Feb 1 18:15:17 2004 -+++ protos.h Tue Feb 10 14:40:41 2004 -@@ -148,6 +148,7 @@ +diff -Nru a/protos.h b/protos.h +--- a/protos.h 2005-01-29 17:07:15 +01:00 ++++ b/protos.h 2005-01-29 17:07:15 +01:00 +@@ -161,6 +161,7 @@ void mutt_block_signals_system (void); void mutt_body_handler (BODY *, STATE *); int mutt_bounce_message (FILE *fp, HEADER *, ADDRESS *); @@ -519,18 +485,18 @@ diff -ru work.old/mutt-1.5.6/protos.h work/mutt-1.5.6/protos.h void mutt_buffy (char *, size_t); int mutt_buffy_list (void); void mutt_canonical_charset (char *, size_t, const char *); -@@ -289,6 +290,7 @@ +@@ -302,6 +303,7 @@ int mutt_is_subscribed_list (ADDRESS *); int mutt_is_text_part (BODY *); int mutt_is_valid_mailbox (const char *); +int mutt_link_threads (HEADER *, HEADER *, CONTEXT *); int mutt_lookup_mime_type (BODY *, const char *); int mutt_match_rx_list (const char *, RX_LIST *); - int mutt_messages_in_thread (CONTEXT *, HEADER *, int); -diff -ru work.old/mutt-1.5.6/thread.c work/mutt-1.5.6/thread.c ---- thread.c Sun Feb 1 18:10:58 2004 -+++ thread.c Tue Feb 10 14:40:41 2004 -@@ -1336,3 +1336,105 @@ + int mutt_match_spam_list (const char *, SPAM_LIST *, char *, int); +diff -Nru a/thread.c b/thread.c +--- a/thread.c 2005-01-29 17:07:15 +01:00 ++++ b/thread.c 2005-01-29 17:07:15 +01:00 +@@ -1340,3 +1340,105 @@ return hash; } |
