]> granicus.if.org Git - neomutt/log
neomutt
9 years agoadd some vfolder functions
Richard Russon [Thu, 25 Feb 2016 14:58:11 +0000 (14:58 +0000)]
add some vfolder functions

9 years agoadd basic files and build-sys stuff
Karel Zak [Wed, 14 Dec 2011 10:58:47 +0000 (11:58 +0100)]
add basic files and build-sys stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agomerge: sidebar - overview of mailboxes
Richard Russon [Mon, 7 Mar 2016 04:46:50 +0000 (04:46 +0000)]
merge: sidebar - overview of mailboxes

 * sidebar 1.5.24-20151111
 * bugfix: missing includes
 * bugfix: compose mode
 * bugfix: delim null wide
 * bugfix: fixed header wrapping
 * feature: new only
 * feature: prev/next wraparound
 * feature: whitelist
 * feature: working utf8
 * feature: dotpathsep
 * feature: refresh
 * indent: our functions
 * indent: sync to surroundings
 * fix: drop unused
 * fix: drop DrawFullLine
 * tidy: sidebar
 * tidy: our functions
 * tidy: other code
 * sort: sidebar functions
 * tidy: rename functions
 * tidy: add comments
 * build: conditional compilation
 * fix brain-damaged function: mh_buffy_update
 * fix refresh -- time overflowed short
 * feature: add function sidebar-toggle-visible
 * drop old sort
 * rename: msgcount to msg_count to match other sidebar variables
 * rename: vars
 * add: BUFFY sorting
 * add: colours for divider and highlights
 * refactor: split out initialise
 * add: BUFFY notifications
 * refactor: visibility check
 * distinguish between what's highlighted and what's actually open
 * revamp sorting
 * split up sb_draw
 * expandos for deleted, limited, tagged
 * feature: separate sidebar indicator colour
 * feature: separate colour for spoolfile
 * rename: lots of config for consistency with mutt
 * handle unmailboxes * safely
 * split out sidebar wipe
 * refresh sidebar after timeout
 * add docs
 * add ident to PATCHES

9 years agomerge: tls-sni - negotiate for a certificate
Richard Russon [Mon, 7 Mar 2016 04:43:58 +0000 (04:43 +0000)]
merge: tls-sni - negotiate for a certificate

 * feature: TLS SNI
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: cond-date - use rules to choose date format
Richard Russon [Mon, 7 Mar 2016 04:43:54 +0000 (04:43 +0000)]
merge: cond-date - use rules to choose date format

 * feature: conditional dates
 * change date comparisons
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: nested-if - allow deeply nested conditions
Richard Russon [Mon, 7 Mar 2016 04:43:51 +0000 (04:43 +0000)]
merge: nested-if - allow deeply nested conditions

 * feature: nested-if
 * use nested angle brackets
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: index-color - theme the email index
Richard Russon [Mon, 7 Mar 2016 04:43:43 +0000 (04:43 +0000)]
merge: index-color - theme the email index

 * feature: index-color
 * add handling index flags
 * fix width calculation
 * fix uncolor
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: status-color - theming the status bar
Richard Russon [Mon, 7 Mar 2016 04:41:42 +0000 (04:41 +0000)]
merge: status-color - theming the status bar

 * feature: status-color
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: progress - show a visual progress bar
Richard Russon [Mon, 7 Mar 2016 04:41:38 +0000 (04:41 +0000)]
merge: progress - show a visual progress bar

 * feature: progress bar
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: quasi-delete - mark emails to be hidden
Richard Russon [Mon, 7 Mar 2016 04:41:25 +0000 (04:41 +0000)]
merge: quasi-delete - mark emails to be hidden

 * feature: quasi-delete
 * tidy code
 * add docs
 * add ident to PATCHES

9 years agomerge: bug-fixes - various downstream bug fixes
Richard Russon [Mon, 7 Mar 2016 04:41:20 +0000 (04:41 +0000)]
merge: bug-fixes - various downstream bug fixes

 * add strndup.c strnlen.c
 * fix spelling typo
 * More careful file writing for aliases and attachments
 * Bye srandom() and random()
 * Remove TLS version notification
 * Use unlocked libc IO everywhere.
 * Add browser sort by description, message count and new message count
 * fix %* index_format
 * build fix for po package name
 * mute build warning

9 years agoadd ident to PATCHES
Richard Russon [Thu, 18 Feb 2016 16:52:53 +0000 (16:52 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Tue, 29 Dec 2015 15:16:26 +0000 (15:16 +0000)]
add docs

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:13 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Mon, 1 Feb 2016 16:59:11 +0000 (16:59 +0000)]
add docs

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:17 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 20:06:48 +0000 (20:06 +0000)]
tidy code

9 years agorefresh sidebar after timeout
Stefan Assmann [Wed, 30 Oct 2013 18:34:57 +0000 (11:34 -0700)]
refresh sidebar after timeout

Allow the sidebar to automatically refresh after the amount of time
specified via the "timeout" variable.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 05:19:06 +0000 (05:19 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 20:01:37 +0000 (20:01 +0000)]
tidy code

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:16 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 19:57:38 +0000 (19:57 +0000)]
tidy code

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:15 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:14 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 19:46:21 +0000 (19:46 +0000)]
tidy code

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 19:03:35 +0000 (19:03 +0000)]
tidy code

9 years agofeature: status-color
David Sterba [Sat, 30 Jan 2016 16:53:57 +0000 (16:53 +0000)]
feature: status-color

Custom rules for theming the status bar

9 years agofeature: quasi-delete
Karel Zak [Sat, 30 Jan 2016 16:27:19 +0000 (16:27 +0000)]
feature: quasi-delete

Mark emails that should be hidden, but not deleted

9 years agochange date comparisons
Eric Davis [Mon, 1 Feb 2016 16:55:29 +0000 (16:55 +0000)]
change date comparisons

now d = yesterday, w = last week, m = last month, y = last year, H =
last hour, etc from current time

9 years agosplit out sidebar wipe
Richard Russon [Mon, 8 Feb 2016 16:30:36 +0000 (16:30 +0000)]
split out sidebar wipe

9 years agohandle unmailboxes * safely
Richard Russon [Mon, 8 Feb 2016 02:02:13 +0000 (02:02 +0000)]
handle unmailboxes * safely

9 years agorename: lots of config for consistency with mutt
Richard Russon [Fri, 18 Dec 2015 15:47:37 +0000 (15:47 +0000)]
rename: lots of config for consistency with mutt

9 years agofeature: separate colour for spoolfile
Richard Russon [Thu, 31 Dec 2015 15:42:25 +0000 (15:42 +0000)]
feature: separate colour for spoolfile

don't highlight spoolfile if not coloured

9 years agofeature: separate sidebar indicator colour
Richard Russon [Thu, 31 Dec 2015 15:24:40 +0000 (15:24 +0000)]
feature: separate sidebar indicator colour

default MT_COLOR_SB_INDICATOR to MT_COLOR_INDICATOR

9 years agoexpandos for deleted, limited, tagged
Richard Russon [Thu, 31 Dec 2015 03:04:42 +0000 (03:04 +0000)]
expandos for deleted, limited, tagged

9 years agosplit up sb_draw
Richard Russon [Sat, 19 Dec 2015 18:40:19 +0000 (18:40 +0000)]
split up sb_draw

9 years agorevamp sorting
Richard Russon [Fri, 18 Dec 2015 18:40:19 +0000 (18:40 +0000)]
revamp sorting

9 years agodistinguish between what's highlighted and what's actually open
Richard Russon [Fri, 18 Dec 2015 18:40:19 +0000 (18:40 +0000)]
distinguish between what's highlighted and what's actually open

9 years agorefactor: visibility check
Richard Russon [Fri, 18 Dec 2015 17:40:50 +0000 (17:40 +0000)]
refactor: visibility check

9 years agoadd: BUFFY notifications
Richard Russon [Fri, 18 Dec 2015 17:34:17 +0000 (17:34 +0000)]
add: BUFFY notifications

9 years agorefactor: split out initialise
Richard Russon [Fri, 18 Dec 2015 17:18:09 +0000 (17:18 +0000)]
refactor: split out initialise

9 years agoadd: colours for divider and highlights
Richard Russon [Fri, 18 Dec 2015 16:35:14 +0000 (16:35 +0000)]
add: colours for divider and highlights

9 years agoadd: BUFFY sorting
Richard Russon [Fri, 18 Dec 2015 16:32:12 +0000 (16:32 +0000)]
add: BUFFY sorting

9 years agorename: vars
Richard Russon [Fri, 19 Feb 2016 04:21:10 +0000 (04:21 +0000)]
rename: vars

9 years agorename: msgcount to msg_count to match other sidebar variables
Richard Russon [Fri, 18 Dec 2015 15:33:03 +0000 (15:33 +0000)]
rename: msgcount to msg_count to match other sidebar variables

9 years agodrop old sort
Richard Russon [Fri, 18 Dec 2015 15:14:14 +0000 (15:14 +0000)]
drop old sort

9 years agofeature: add function sidebar-toggle-visible
Richard Russon [Wed, 9 Dec 2015 04:20:01 +0000 (04:20 +0000)]
feature: add function sidebar-toggle-visible

9 years agofix refresh -- time overflowed short
Richard Russon [Thu, 10 Dec 2015 16:58:40 +0000 (16:58 +0000)]
fix refresh -- time overflowed short

rename SidebarLastRefresh to LastRefresh as it's only used in sidebar.c

9 years agofix brain-damaged function: mh_buffy_update
Richard Russon [Wed, 2 Dec 2015 02:11:03 +0000 (02:11 +0000)]
fix brain-damaged function: mh_buffy_update

Since 1.5.19, mh_buffy_update hasn't worked.  It updated the values
of pointers rather than the destinations of the pointers.

9 years agobuild: conditional compilation
Richard Russon [Wed, 2 Dec 2015 03:58:44 +0000 (03:58 +0000)]
build: conditional compilation

Make sidebar compilation conditional on a configure option.

Add --enable-sidebar option to configure
Alter Makefile to honour configure
Move our OPS into OPS.sidebar
Surround all our code with #ifdef USE_SIDEBAR

By using the unifdef program, all the sidebar code can be removed.
The result is code that differs only slightly from the original mutt
code.  Run this on each source file:

    unifdef -Bm -UUSE_SIDEBAR -UHAVE_FMEMOPEN <FILE>

Then run sed using this script:

    s/ *- *SidebarWidth//g
    s/ *+ *SidebarWidth//g
    s/SidebarWidth *+ *//g
    s/SidebarWidth/0/g

Compared to the original mutt code, there are some minor changes,
such as whitespace, and minor refactoring of variables.

Note: One sidebar global variable is left-behind: SidebarWidth.
This is deeply embedded in the mutt code.  This is because mutt
hard-codes a lot of values: 0's for the left-hand side of the
screen and COLS representing the width of the screen.

9 years agotidy: add comments
Richard Russon [Wed, 2 Dec 2015 03:58:15 +0000 (03:58 +0000)]
tidy: add comments

NOTE: this patch does NOT make any code changes.
It simply adds comment blocks.

Fully document all the sidebar config options.
Add comment-blocks describing each function -- what it does, the
parameters it takes, the return values.  These can be used by
doxygen.

9 years agotidy: rename functions
Richard Russon [Fri, 19 Feb 2016 04:32:06 +0000 (04:32 +0000)]
tidy: rename functions

9 years agosort: sidebar functions
Richard Russon [Mon, 30 Nov 2015 14:37:10 +0000 (14:37 +0000)]
sort: sidebar functions

NOTE: this patch does NOT make any code changes.
It simply rearranges entire functions.

Reorder the functions in sidebar.c
Put the static (helper) functions together.

9 years agotidy: other code
Richard Russon [Wed, 2 Dec 2015 02:23:51 +0000 (02:23 +0000)]
tidy: other code

Tidy up our code in mutt functions

Minor refactoring of code
Initialise variables
Check pointers before use
Bracket complicated logic

9 years agotidy: our functions
Richard Russon [Wed, 2 Dec 2015 02:21:12 +0000 (02:21 +0000)]
tidy: our functions

Tidy up code in our complete functions

Minor refactoring of code
Initialise variables
Check pointers before use
Bracket complicated logic

9 years agotidy: sidebar
Richard Russon [Wed, 2 Dec 2015 03:03:49 +0000 (03:03 +0000)]
tidy: sidebar

Tidy up code in sidebar.c

Minor refactoring of code
Initialise variables
Check pointers before use
Bracket complicated logic
Add {} to unbalanced, or ambiguous, if's
Align = signs
Split up illegible uses of ternary operator ? :
Split up: if ((x = y()) == NULL)
Remove perl-like one-line if's
Compare pointers to NULL
Move our private data struct (sidebar_entry) from protos.h

9 years agofix: drop DrawFullLine
Richard Russon [Mon, 30 Nov 2015 16:37:36 +0000 (16:37 +0000)]
fix: drop DrawFullLine

Drop global variable DrawFullLine

sidebar used a global variable in order to occasionally draw a
complete line of text on the screen.  By manipulating the
SidebarWidth, we can produce the same effect.

Removing this variable also removes the need for nearly 50 lines of
duplicated code in mutt_FormatString.

9 years agofix: drop unused
Richard Russon [Tue, 1 Dec 2015 04:14:25 +0000 (04:14 +0000)]
fix: drop unused

NOTE: this patch does NOT make any functional changes.

remove unused parameters from:
    draw_sidebar
    scroll_sidebar
    calc_boundaries
draw_sidebar has a return value that isn't used
struct MBOX_LIST isn't used
remove some unneeded #include's
remove defunct #ifdef BUFFY_SIZE
remove junk comments

9 years agoindent: sync to surroundings
Richard Russon [Tue, 1 Dec 2015 03:23:52 +0000 (03:23 +0000)]
indent: sync to surroundings

NOTE: this patch does NOT make any code changes.
If only adds/removes whitespace.

Tidy our code in mutt functions as best we can.
Importantly, match up the indent to the surrounding code.

Delete trailing whitespace
{} in compact style
Tidy whitespace around ()'s and maths operators

9 years agoindent: our functions
Richard Russon [Mon, 30 Nov 2015 04:25:05 +0000 (04:25 +0000)]
indent: our functions

NOTE: this patch does NOT make any code changes.
If only adds/removes whitespace.

Use whitespace uniformly across all of our code.

Delete trailing whitespace
Indent with tabs
Function {} to beginning of line
Other {} in compact style
Tidy whitespace around ()'s and maths operators

9 years agofeature: refresh
David Sterba [Fri, 27 Nov 2015 21:56:00 +0000 (21:56 +0000)]
feature: refresh

Add new config: "sidebar_refresh"
Configure the minimum time between sidebar refreshes to reduce
network traffic.

9 years agofeature: dotpathsep
Fabian Groffen [Thu, 26 Nov 2015 16:49:27 +0000 (16:49 +0000)]
feature: dotpathsep

Add new config: "sidebar_delim_chars"
Allow the user to configure how folder names are parsed into a
hierarchy.

9 years agofeature: working utf8
Richard Russon [Tue, 24 Nov 2015 16:27:20 +0000 (16:27 +0000)]
feature: working utf8

Correctly handle utf8 character sequences.
Fix the distinction, in the code, between buffer length in bytes,
string length in wide-chars and screen width in cells.

9 years agofeature: whitelist
Jason DeTiberus [Thu, 19 Nov 2015 19:55:54 +0000 (19:55 +0000)]
feature: whitelist

Add new config: "sidebar_whitelist"
When displaying only-new mailboxes, force some mailboxes to be
always displayed

9 years agofeature: prev/next wraparound
Richard Russon [Thu, 19 Nov 2015 18:30:24 +0000 (18:30 +0000)]
feature: prev/next wraparound

Add new config: "sidebar_next_new_wrap"
When searching for next-new/prev-new mailbox, wrap around if the end
is reached.

9 years agofeature: new only
Steve Kemp [Thu, 19 Nov 2015 18:29:49 +0000 (18:29 +0000)]
feature: new only

Add new config: "sidebar_newmail_only"
Only display mailboxes containing new mail.

Add two new functions and keyboard mappings.
"sidebar-next-new" / "sidebar-prev-new" select the next/previous
mailbox that contains new, or flagged, mail.

9 years agobugfix: fixed header wrapping
Tyler Earnest [Fri, 27 Nov 2015 20:58:02 +0000 (20:58 +0000)]
bugfix: fixed header wrapping

Fix bug with header wrapping

9 years agobugfix: delim null wide
Evgeni Golov [Thu, 19 Nov 2015 20:20:36 +0000 (20:20 +0000)]
bugfix: delim null wide

Fix bug with empty sidebar_delim string.
Debian bugs: #696145, #663883

9 years agobugfix: compose mode
Evgeni Golov [Thu, 19 Nov 2015 18:36:48 +0000 (18:36 +0000)]
bugfix: compose mode

Fix bug when starting in compose mode.
Debian bug: #502627

9 years agobugfix: missing includes
Richard Russon [Thu, 26 Nov 2015 17:09:42 +0000 (17:09 +0000)]
bugfix: missing includes

Add two missing #include's.

9 years agosidebar 1.5.24-20151111
Terry Chan [Mon, 16 Nov 2015 20:39:28 +0000 (20:39 +0000)]
sidebar 1.5.24-20151111

Official Mutt-Sidebar patch against mutt-1.5.24
http://www.lunar-linux.org/mutt-sidebar/
http://lunar-linux.org/~tchan/mutt/patch-1.5.24.sidebar.20151111.txt

9 years agofeature: progress bar
Stefan Kuhn [Sat, 30 Jan 2016 16:13:53 +0000 (16:13 +0000)]
feature: progress bar

Show a visual progress bar on slow operations

9 years agofix uncolor
Vladimir Marek [Tue, 8 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix uncolor

9 years agofix width calculation
Eric Davis [Sun, 31 Jan 2016 00:23:22 +0000 (00:23 +0000)]
fix width calculation

fixed right alignment on the index line the printed string width
computation did not account for special index coloring sequences

9 years agoadd handling index flags
Eric Davis [Sun, 31 Jan 2016 00:21:21 +0000 (00:21 +0000)]
add handling index flags

9 years agofeature: index-color
Christian Aichinger [Mon, 25 Jan 2016 17:02:57 +0000 (17:02 +0000)]
feature: index-color

Custom rules for theming the email index

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 19:54:01 +0000 (19:54 +0000)]
tidy code

9 years agoadd ident to PATCHES
Richard Russon [Wed, 17 Feb 2016 04:30:18 +0000 (04:30 +0000)]
add ident to PATCHES

9 years agoadd docs
Richard Russon [Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)]
add docs

9 years agotidy code
Richard Russon [Wed, 17 Feb 2016 20:07:41 +0000 (20:07 +0000)]
tidy code

9 years agofeature: TLS SNI
Phil Pennock [Sat, 30 Jan 2016 16:22:13 +0000 (16:22 +0000)]
feature: TLS SNI

Negotiate with a server for a TSL/SSL certificate

9 years agouse nested angle brackets
David Champion [Mon, 1 Feb 2016 03:19:24 +0000 (03:19 +0000)]
use nested angle brackets

9 years agofeature: nested-if
David Champion [Mon, 1 Feb 2016 00:41:48 +0000 (00:41 +0000)]
feature: nested-if

Allow complex nested conditions in the index_format

9 years agofeature: conditional dates
Aaron Schrab [Mon, 1 Feb 2016 01:04:48 +0000 (01:04 +0000)]
feature: conditional dates

Use rules to choose date format

9 years agomute build warning
Richard Russon [Wed, 17 Feb 2016 20:41:53 +0000 (20:41 +0000)]
mute build warning

9 years agobuild fix for po package name
Richard Russon [Tue, 9 Feb 2016 19:12:14 +0000 (19:12 +0000)]
build fix for po package name

9 years agofix %* index_format
Karel Zak [Tue, 22 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix %* index_format

 * mutt_wstr_trunc() does not reset mbrtowc() after error

 * mutt_wstr_trunc() compare signed and unsigned numbers to check for
   maxlen and maxwid limits and does not care about unprintable chars

Addresses: https://github.com/karelzak/mutt-kz/issues/58
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoAdd browser sort by description, message count and new message count
Tim Stoakes [Sun, 16 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Add browser sort by description, message count and new message count

Now the browser can sort by mail folder description, (all) message count, and
new message count.

9 years agoUse unlocked libc IO everywhere.
David Wilson [Tue, 22 Oct 2013 18:34:57 +0000 (11:34 -0700)]
Use unlocked libc IO everywhere.

Since mutt does not use threads, there is no reason it should use the
locked variants of the FILE* IO functions. This checks if the unlocked
functions are available, and if so enables them globally via mutt.h.

Cuts load time for a 56k message, 1.8GB /var/mail mailbox from 14
seconds to ~6 seconds, since we avoid acquiring and releasing a mutex
for every character of input read.

Before: 0m14.376s

    74.98%          mutt  libc-2.18.so        [.] _IO_getc
    11.87%          mutt  mutt                [.] mbox_parse_mailbox
     0.94%          mutt  [kernel.kallsyms]   [k] copy_user_generic_string
     0.83%          mutt  libc-2.18.so        [.] __strchr_sse2
     0.53%          mutt  libc-2.18.so        [.] __memcpy_sse2
     0.44%          mutt  libc-2.18.so        [.] _int_malloc

After: 6 seconds

    68.92%     mutt  mutt                  [.] mbox_parse_mailbox
     2.25%     mutt  [kernel.kallsyms]     [k] copy_user_generic_string
     1.73%     mutt  libc-2.18.so          [.] __strchr_sse2
     1.24%     mutt  libc-2.18.so          [.] __memcpy_sse2
     1.17%     mutt  libc-2.18.so          [.] _int_malloc
     0.87%     mutt  libc-2.18.so          [.] __strspn_sse42

9 years agoRemove TLS version notification
Mantas Mikulėnas [Fri, 18 Oct 2013 18:34:57 +0000 (11:34 -0700)]
Remove TLS version notification

The reason for this patch is that the "TLS connection" message adds an
unnecessary, annoying, unskippable delay to _every_ mutt startup.

(Almost as if its intention was to _discourage_ TLS usage...)

9 years agoBye srandom() and random()
Sami Farin [Wed, 16 Oct 2013 18:34:57 +0000 (11:34 -0700)]
Bye srandom() and random()

Prefer getrandom on Linux, use /dev/urandom otherwise to
get entropy for MIME boundaries, message-id, Maildir filename,
temporary filename.  Using MUTT_RANDTAG_LEN (currently 16) base32
characters for boundaries and message-id.

9 years agoMore careful file writing for aliases and attachments
Sami Farin [Wed, 16 Oct 2013 18:34:57 +0000 (11:34 -0700)]
More careful file writing for aliases and attachments

Use fsync and check for errors when appending to alias file,
saving attachments, and bouncing a message.  Still more checks are needed.
Also preserve errno if safe_fsync_close fails.

9 years agofix spelling typo
Víctor Manuel Jáquez Leal [Thu, 17 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix spelling typo

Change `dont` to `don't`.

This issue was detected by Debian QA packaging.

9 years agoadd strndup.c strnlen.c
Karel Zak [Thu, 6 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add strndup.c strnlen.c

Reported-by: Vladimir.Marek@oracle.com
Signed-off-by: Karel Zak <kzak@redhat.com>
9 years agoautomatic post-release commit for mutt-1.5.24
Kevin McCarthy [Sun, 30 Aug 2015 17:26:17 +0000 (10:26 -0700)]
automatic post-release commit for mutt-1.5.24