]> granicus.if.org Git - neomutt/log
neomutt
7 years agoRefactor: Remove unused return type 851/head
Anton Rieger [Fri, 13 Oct 2017 11:07:47 +0000 (13:07 +0200)]
Refactor: Remove unused return type

* mutt_tunnel_socket_setup()

7 years agofix: prevent timezone overflow 830/head
Richard Russon [Mon, 9 Oct 2017 12:39:26 +0000 (13:39 +0100)]
fix: prevent timezone overflow

On 32-bit arches it's easy to over-/under-flow the date.
We replace these with the max/min values allowed in a time_t.

When we encounter one of these dates, pretend it's UTC to prevent
another overflow.

Fixes #819
Fixes #820

7 years agosplit up 'if' statements that assign and test (2) 825/head
Richard Russon [Sat, 7 Oct 2017 10:24:25 +0000 (11:24 +0100)]
split up 'if' statements that assign and test (2)

Split 'if' statements that combine an assignment with a test.
e.g. from:

    if (!(adr = mutt_parse_adrlist(adr, buf)))

To:
    adr = mutt_parse_adrlist(adr, buf);
    if (!adr)

This makes the statements a little easier to read and debug.

7 years agosplit up 'if' statements that assign and test
Richard Russon [Sat, 7 Oct 2017 10:24:25 +0000 (11:24 +0100)]
split up 'if' statements that assign and test

Split 'if' statements that combine an assignment with a test.
e.g. from:

    if ((pc = imap_get_flags(&(idata->flags), pc)) == NULL)

To
    pc = imap_get_flags(&(idata->flags), pc);
    if (!pc)

This makes the statements a little easier to read and debug.

7 years agomerge: minor code cleanups
Richard Russon [Sat, 14 Oct 2017 14:32:06 +0000 (15:32 +0100)]
merge: minor code cleanups

 * move functions to library
 * lib: move MIN/MAX macros
 * simplify null checks
 * kill preproc expansion laziness
 * fix: variable type when using fread
 * reduce scope of variables

7 years agoreduce scope of variables 824/head
Richard Russon [Wed, 4 Oct 2017 12:14:08 +0000 (13:14 +0100)]
reduce scope of variables

C99 allows a 'for' loop to define its variable.
This reduces the variable's scope making its use clearer.

7 years agofix: variable type when using fread
Richard Russon [Tue, 10 Oct 2017 13:47:39 +0000 (14:47 +0100)]
fix: variable type when using fread

7 years agokill preproc expansion laziness
Richard Russon [Sat, 7 Oct 2017 01:19:56 +0000 (02:19 +0100)]
kill preproc expansion laziness

Replace macros which were shortcuts for code, e.g.

```
  #define CUR_ENV Context->hdrs[i]->env
  function(CUR_ENV);
  CUR_ENV->from = "user";
  #undef CUR_ENV
```

7 years agosimplify null checks
Richard Russon [Sat, 7 Oct 2017 20:37:34 +0000 (21:37 +0100)]
simplify null checks

Simplify checks:
* `if (x == NULL)` -> `if (!x)`
* `if (x != NULL)` -> `if (x)`

7 years agolib: move MIN/MAX macros
Richard Russon [Wed, 4 Oct 2017 18:35:07 +0000 (19:35 +0100)]
lib: move MIN/MAX macros

Remove a duplicate definition of the MIN/MAX macros.

7 years agomove functions to library
Richard Russon [Thu, 5 Oct 2017 01:11:50 +0000 (02:11 +0100)]
move functions to library

These functions have no NeoMutt dependencies:

* imap_make_date()
* imap_parse_date()
* imap_wordcasecmp()
* rstrnstr()

Moving the functions to the library will make it easier to test them and
find common behaviour.

7 years agoNeoMutt 2017-10-13 neomutt-20171013
Richard Russon [Fri, 13 Oct 2017 12:57:26 +0000 (13:57 +0100)]
NeoMutt 2017-10-13

7 years agoupdate translations
Richard Russon [Fri, 13 Oct 2017 12:43:00 +0000 (13:43 +0100)]
update translations

7 years agoclang-format
Richard Russon [Fri, 13 Oct 2017 12:29:47 +0000 (13:29 +0100)]
clang-format

7 years agoupdate mailmap
Richard Russon [Fri, 13 Oct 2017 12:29:29 +0000 (13:29 +0100)]
update mailmap

7 years agodocs: update credits
Richard Russon [Fri, 13 Oct 2017 12:22:37 +0000 (13:22 +0100)]
docs: update credits

7 years agoupdate changelog
Richard Russon [Fri, 13 Oct 2017 12:21:07 +0000 (13:21 +0100)]
update changelog

7 years agoversion: 2017-10-13
Richard Russon [Fri, 13 Oct 2017 10:25:12 +0000 (11:25 +0100)]
version: 2017-10-13

7 years agoDeprecation: changed called function in mutt_sasl.c
Anton Rieger [Thu, 12 Oct 2017 20:04:48 +0000 (22:04 +0200)]
Deprecation: changed called function in mutt_sasl.c

* mutt_sasl_done()

7 years agobool: convert struct member in mutt_regex.h
Anton Rieger [Wed, 11 Oct 2017 00:01:51 +0000 (02:01 +0200)]
bool: convert struct member in mutt_regex.h

* struct Regex
* restore_default()

7 years agoAllow enabling of fmemopen (#842)
Pietro Cerutti [Wed, 11 Oct 2017 13:11:42 +0000 (14:11 +0100)]
Allow enabling of fmemopen (#842)

Issue #839

7 years agokeyword: remove doc menu entry
Mehdi Abaakouk [Tue, 10 Oct 2017 11:19:04 +0000 (13:19 +0200)]
keyword: remove doc menu entry

We remove keyword dead code in 5c600997cd0e028a237fe6847ddffa1f2c340ea6.

This change removes the memu entry in the doc.

Closes #836

7 years agoUse mutt_sleep(0)
Pietro Cerutti [Tue, 10 Oct 2017 12:32:45 +0000 (12:32 +0000)]
Use mutt_sleep(0)

Issue #777

7 years agoPrefer a helpful error message over a BEEP
Pietro Cerutti [Tue, 10 Oct 2017 07:57:25 +0000 (07:57 +0000)]
Prefer a helpful error message over a BEEP

Issue #777

7 years agoDo not fail if deflate is not in libz
Pietro Ceruti [Tue, 10 Oct 2017 06:30:19 +0000 (06:30 +0000)]
Do not fail if deflate is not in libz

Issue #828

7 years agoRebrand `.muttdebug` to `.neomutt`
Nicolas Bock [Mon, 9 Oct 2017 15:22:04 +0000 (09:22 -0600)]
Rebrand `.muttdebug` to `.neomutt`

The debug files should be called `.neomuttdegub` for consistency.

7 years agofix: crash using uncolor (#833)
Richard Russon [Tue, 10 Oct 2017 09:27:08 +0000 (10:27 +0100)]
fix: crash using uncolor (#833)

Using 'uncolor' on the last 'color' added would cause a crash.

7 years agoSort the folders list when browsing an IMAP server (#831)
Pietro Cerutti [Tue, 10 Oct 2017 09:26:12 +0000 (10:26 +0100)]
Sort the folders list when browsing an IMAP server (#831)

Issue #803

7 years agoIf set, use -D_FILE_OFFSET_BITS=64 when checking for GPGMe (#829)
Pietro Cerutti [Mon, 9 Oct 2017 18:37:52 +0000 (19:37 +0100)]
If set, use -D_FILE_OFFSET_BITS=64 when checking for GPGMe (#829)

* If set, use -D_FILE_OFFSET_BITS=64 when checking for GPGMe

Issue #826

* Let OFF_T_FMT be "%" PRId64 whenever LFS is there

Issue #826

7 years agoSupport EXTRA_CFLAGS and EXTRA_LDFLAGS, kill unused variable
Pietro Cerutti [Mon, 9 Oct 2017 12:33:54 +0000 (12:33 +0000)]
Support EXTRA_CFLAGS and EXTRA_LDFLAGS, kill unused variable

EXTRA_CFLAGS and EXTRA_LDFLAGS can now be passed to make on the command
line. These are meant to be used for those flags that would otherwise
create problems at configure stage, like address sanitizers flags.

While at it, remove the setting of MUTT_VERSION, which is now unused.

7 years agodocs: fix case of Notmuch
Richard Russon [Fri, 6 Oct 2017 21:19:01 +0000 (22:19 +0100)]
docs: fix case of Notmuch

7 years agodocs: sync to website
Richard Russon [Fri, 6 Oct 2017 20:44:37 +0000 (21:44 +0100)]
docs: sync to website

7 years agoInstall doc into `neomutt`
Nicolas Bock [Fri, 6 Oct 2017 17:35:12 +0000 (11:35 -0600)]
Install doc into `neomutt`

The documentation is installed into the `mutt` subdirectory by default.
This directory should be renamed to `neomutt`.

7 years agoNeoMutt 2017-10-06 neomutt-20171006
Richard Russon [Fri, 6 Oct 2017 14:32:20 +0000 (15:32 +0100)]
NeoMutt 2017-10-06

7 years agoupdate translations
Richard Russon [Fri, 6 Oct 2017 14:30:52 +0000 (15:30 +0100)]
update translations

7 years agoclang-format
Richard Russon [Fri, 6 Oct 2017 14:13:41 +0000 (15:13 +0100)]
clang-format

7 years agoupdate mailmap
Richard Russon [Fri, 6 Oct 2017 14:10:58 +0000 (15:10 +0100)]
update mailmap

7 years agodocs: update credits
Richard Russon [Fri, 6 Oct 2017 13:39:32 +0000 (14:39 +0100)]
docs: update credits

7 years agoupdate changelog
Richard Russon [Fri, 6 Oct 2017 13:35:29 +0000 (14:35 +0100)]
update changelog

7 years agoversion: 2017-10-06
Richard Russon [Fri, 6 Oct 2017 11:34:51 +0000 (12:34 +0100)]
version: 2017-10-06

7 years agoTAILQify struct Connection 814/head
Pietro Cerutti [Tue, 3 Oct 2017 08:18:26 +0000 (08:18 +0000)]
TAILQify struct Connection

7 years agoSTAILQify struct ColorLine 811/head
Pietro Cerutti [Mon, 2 Oct 2017 11:46:28 +0000 (11:46 +0000)]
STAILQify struct ColorLine

7 years agofix: add more range-checking on dates/times 795/head
Richard Russon [Sun, 1 Oct 2017 12:33:32 +0000 (13:33 +0100)]
fix: add more range-checking on dates/times

7 years agofix: overflow in mutt_mktime()
Richard Russon [Wed, 27 Sep 2017 18:04:39 +0000 (19:04 +0100)]
fix: overflow in mutt_mktime()

mutt_mktime() can overflow when used on 32-bit arches.
This was due to a bogus comparision.

Now, extreme future dates will be interpreted as 2038-01-19.

Fixes #794

7 years agokeywords: Remove dead code/doc of keywords patch 792/head
Mehdi Abaakouk [Wed, 27 Sep 2017 05:32:52 +0000 (07:32 +0200)]
keywords: Remove dead code/doc of keywords patch

Keywords patch support have been removed by 92e6dc1d89f7187eeea1412e51598600925e23f5.

This change removes associated config and docs.

Closes #769

7 years agotravis: restore config
Richard Russon [Tue, 3 Oct 2017 15:12:42 +0000 (16:12 +0100)]
travis: restore config

7 years agoAutosetup-based configuration 745/head
Pietro Cerutti [Fri, 11 Aug 2017 15:45:45 +0000 (15:45 +0000)]
Autosetup-based configuration

Pull #745

7 years agomerge: keywords
Richard Russon [Tue, 3 Oct 2017 12:47:51 +0000 (13:47 +0100)]
merge: keywords

 * Make the notmuch tags generic
 * tags: Add index_format %J
 * Add IMAP keywords support
 * Share label editing between imap/notmuch
 * Tidying the code
 * tags: always pass correct buffer length
 * imap: fix memory leak
 * notmuch: remove unused methods declaration
 * tags: remove needs of HEADER_TAGS macro
 * tags: make private method private
 * tags: rename HeaderTag to TagList
 * tags: remove useless ifdef
 * tags: store transformed tags only if needed
 * imap: Don't use keywords terminology, but flags
 * tags: rename OP_MAIN_MODIFY_LABEL/TAGS
 * tags: rename modify-labels/modify-tags
 * tags: rename hdr_tags to driver_tags
 * tags: move tags_editor and tags_commit to mx
 * tags: don't depends on header.c
 * tags: Don't duplicate tags allocation
 * tags: fix notmuch editor return code
 * tags: rename DRIVER_LABEL to DRIVER_TAGS
 * always pass char to mutt_str_append_item

7 years agoalways pass char to mutt_str_append_item 764/head
Mehdi Abaakouk [Thu, 21 Sep 2017 17:29:50 +0000 (19:29 +0200)]
always pass char to mutt_str_append_item

7 years agotags: rename DRIVER_LABEL to DRIVER_TAGS
Mehdi Abaakouk [Thu, 21 Sep 2017 06:10:33 +0000 (08:10 +0200)]
tags: rename DRIVER_LABEL to DRIVER_TAGS

7 years agotags: fix notmuch editor return code
Mehdi Abaakouk [Thu, 21 Sep 2017 06:04:42 +0000 (08:04 +0200)]
tags: fix notmuch editor return code

7 years agotags: Don't duplicate tags allocation
Mehdi Abaakouk [Wed, 20 Sep 2017 09:05:35 +0000 (11:05 +0200)]
tags: Don't duplicate tags allocation

The HeaderTags and TagList structure can be replaced
by a simple linked list.

7 years agotags: don't depends on header.c
Mehdi Abaakouk [Wed, 20 Sep 2017 12:54:06 +0000 (14:54 +0200)]
tags: don't depends on header.c

7 years agotags: move tags_editor and tags_commit to mx
Mehdi Abaakouk [Wed, 20 Sep 2017 12:43:48 +0000 (14:43 +0200)]
tags: move tags_editor and tags_commit to mx

This methods handles the run of dedicated methods on the mailbox, and
not the tags list manipulation.

It makes more sense to have it in mx.c like other methods with the same
purpose.

7 years agotags: rename hdr_tags to driver_tags
Mehdi Abaakouk [Wed, 20 Sep 2017 12:29:22 +0000 (14:29 +0200)]
tags: rename hdr_tags to driver_tags

To avoid confusion about hdr_tags and tags in X-Label headers.

This renames all hdr_tags_* in drvier_tags_*.

7 years agotags: rename modify-labels/modify-tags
Mehdi Abaakouk [Tue, 19 Sep 2017 19:02:54 +0000 (21:02 +0200)]
tags: rename modify-labels/modify-tags

7 years agotags: rename OP_MAIN_MODIFY_LABEL/TAGS
Mehdi Abaakouk [Tue, 19 Sep 2017 18:55:53 +0000 (20:55 +0200)]
tags: rename OP_MAIN_MODIFY_LABEL/TAGS

7 years agoimap: Don't use keywords terminology, but flags
Mehdi Abaakouk [Tue, 19 Sep 2017 16:48:58 +0000 (18:48 +0200)]
imap: Don't use keywords terminology, but flags

7 years agotags: store transformed tags only if needed
Mehdi Abaakouk [Tue, 19 Sep 2017 14:54:13 +0000 (16:54 +0200)]
tags: store transformed tags only if needed

7 years agotags: remove useless ifdef
Mehdi Abaakouk [Tue, 19 Sep 2017 12:05:09 +0000 (14:05 +0200)]
tags: remove useless ifdef

OP_MAIN_MODIFY_LABELS and OP_MAIN_MODIFY_LABELS_THEN_HIDE no more
an notmuch thing. So make them always compiled.

7 years agotags: rename HeaderTag to TagList
Mehdi Abaakouk [Mon, 18 Sep 2017 22:04:44 +0000 (00:04 +0200)]
tags: rename HeaderTag to TagList

7 years agotags: make private method private
Mehdi Abaakouk [Mon, 18 Sep 2017 21:20:23 +0000 (23:20 +0200)]
tags: make private method private

7 years agotags: remove needs of HEADER_TAGS macro
Mehdi Abaakouk [Mon, 18 Sep 2017 21:19:37 +0000 (23:19 +0200)]
tags: remove needs of HEADER_TAGS macro

7 years agonotmuch: remove unused methods declaration
Mehdi Abaakouk [Mon, 18 Sep 2017 17:06:19 +0000 (19:06 +0200)]
notmuch: remove unused methods declaration

7 years agoimap: fix memory leak
Mehdi Abaakouk [Fri, 15 Sep 2017 17:44:26 +0000 (19:44 +0200)]
imap: fix memory leak

In imap_commit_message_tags() cmd is not freed in case of error.

7 years agotags: always pass correct buffer length
Mehdi Abaakouk [Fri, 15 Sep 2017 20:18:43 +0000 (22:18 +0200)]
tags: always pass correct buffer length

In notmuch editor we was passing sizeof(buf) with buf a char* with an
unknown allocated size.

In imap, we have assumed/hardcoded LONGSTRING. That's true, but we
should not do that.

edit_msg_tags() now takes the buflen as parameter so the root caller
can pass the size of the buffer.

7 years agoTidying the code
Mehdi Abaakouk [Fri, 21 Jul 2017 21:34:18 +0000 (23:34 +0200)]
Tidying the code

7 years agoShare label editing between imap/notmuch
Mehdi Abaakouk [Tue, 21 Feb 2017 09:50:35 +0000 (10:50 +0100)]
Share label editing between imap/notmuch

7 years agoAdd IMAP keywords support
Mehdi Abaakouk [Mon, 20 Feb 2017 19:49:23 +0000 (20:49 +0100)]
Add IMAP keywords support

This change introduces IMAP keyword support.

* index_format gets %g, %G, %J and %Gx to display them
* pattern gets g to search/match imap keywords
* colors.c gets index_tag/index_tags to color them
* OPS gets modify-labels to edit them
* tag-transforms/tag-formats/hidden_tags can be display them in more sexy manner

Most of the code is shared with the notmuch backend.

Upstream: https://dev.mutt.org/trac/ticket/3210
Closes neomutt/neomutt#225

7 years agotags: Add index_format %J
Mehdi Abaakouk [Mon, 20 Feb 2017 20:20:50 +0000 (21:20 +0100)]
tags: Add index_format %J

This change adds %J to index_format, to be able to show message tags
only when they are different from the previous one in a thread.

7 years agoMake the notmuch tags generic
Mehdi Abaakouk [Tue, 14 Feb 2017 09:45:45 +0000 (10:45 +0100)]
Make the notmuch tags generic

This change make the notmuch tags generic.

This is in preparation of reusing it for imap keywords feature.

7 years agomerge: upstream fixes (mutt/default)
Richard Russon [Mon, 2 Oct 2017 12:01:56 +0000 (13:01 +0100)]
merge: upstream fixes (mutt/default)

 * Fix uses of context->changed as a counter.
 * Make cmd_parse_fetch() more precise about setting reopen/check flags.
 * Enable $reply_self for group-reply, even with $metoo unset.

7 years agoEnable $reply_self for group-reply, even with $metoo unset.
Roger Pau Monne [Thu, 28 Sep 2017 18:57:56 +0000 (11:57 -0700)]
Enable $reply_self for group-reply, even with $metoo unset.

For a (r)eply, the $metoo variable does not have any effect because
there is a single recipient.

However with (g)roup reply, the To was initially set to the sender,
but subsequently removed my $nometoo.  The empty To line is then
replaced with the Cc line, resulting in a (logically correct but)
surprising outcome.

Change the behavior such that $nometoo will not strip a single To
recipient when $reply_self is set.

7 years agoMake cmd_parse_fetch() more precise about setting reopen/check flags.
Kevin McCarthy [Wed, 27 Sep 2017 20:45:36 +0000 (13:45 -0700)]
Make cmd_parse_fetch() more precise about setting reopen/check flags.

Previously any FETCH with FLAGS would result in either
  idata->reopen |= IMAP_EXPUNGE_PENDING;
  -or-
  idata->check_status = IMAP_FLAGS_PENDING;
being set.

This is unnecessary in the case of responses to FLAGS.SILENT updates
sent by mutt (which seem to commonly happen now-a-days).

Change imap_set_flags() to compare the old server flags against the
new ones, and report when _those_ updates would/did result in a local
header flag change.  Only set one of the reopen/check_status flags in
the event of an actual change (or potential change if a local change
has been made to the header.)

7 years agoFix uses of context->changed as a counter.
Kevin McCarthy [Wed, 27 Sep 2017 02:44:11 +0000 (19:44 -0700)]
Fix uses of context->changed as a counter.

The first was in mx_update_tables(), but only when "not committing".
This is used by mh/maildir during an "occult" update, and in imap when
expunging the mailbox.  It meant to simply turn on changed when a
single changed header is seen.

The second use was in imap_sync_message_for_copy().  Previously this
was used for a server side copy/save, but is now also used for
fast-trash copying.  Remove the code that was trying to decrement the
counter: this function is not capable of properly setting a status
bit.

7 years agopgpewrap: free opts on exit 809/head
Jelle van der Waa [Thu, 21 Sep 2017 19:41:11 +0000 (21:41 +0200)]
pgpewrap: free opts on exit

opts is allocated with malloc, but never free'd in both exit scenario's
leading to a memory leak of opts.

7 years agopgpewrap: remove duplicate if statement
Jelle van der Waa [Thu, 21 Sep 2017 19:36:49 +0000 (21:36 +0200)]
pgpewrap: remove duplicate if statement

The condition argc <= 1 is equal to argc < 2, remove the duplicate argc
<2 statement.

7 years agoimap: Fix mx.mbox leak in imap_get_parent_path 808/head
Jelle van der Waa [Sun, 1 Oct 2017 16:48:34 +0000 (18:48 +0200)]
imap: Fix mx.mbox leak in imap_get_parent_path

valgrind reports a memory leak in imap_get_parent_path due to no
free'ing mx.mbox. As described in imap_parse_path, the callee should
free mx.mbox.

7 years agofix: crash using notmuch expando with imap 807/head
Richard Russon [Sat, 30 Sep 2017 21:41:05 +0000 (22:41 +0100)]
fix: crash using notmuch expando with imap

The NotMuch code didn't check for a NotMuch mailbox when dereferencing
Header->data.

Thanks to @xunam.

Fixes #805

7 years agobool: include missing stdbool.h header 806/head
Anton Rieger [Sat, 30 Sep 2017 20:19:19 +0000 (22:19 +0200)]
bool: include missing stdbool.h header

7 years agobool: convert function parameters in mutt_notmuch.h 804/head
Anton Rieger [Sat, 30 Sep 2017 13:04:49 +0000 (15:04 +0200)]
bool: convert function parameters in mutt_notmuch.h

* nm_longrun_init()

Affected static functions in mutt_notmuch.c

* append_message()
* append_replies()
* append_thread()
* do_database_open()
* get_db()
* get_query()
* get_query_string()
* is_longrun()
* read_mesgs_query()
* read_threads_query()

7 years agoPadded and sorted prototypes in init.h 791/head
Anton Rieger [Tue, 26 Sep 2017 23:59:20 +0000 (01:59 +0200)]
Padded and sorted prototypes in init.h

7 years agospacing: Align function prototypes in init.h
Anton Rieger [Tue, 26 Sep 2017 22:12:50 +0000 (00:12 +0200)]
spacing: Align function prototypes in init.h

7 years agofix: digest_collapse was broken (#801)
Richard Russon [Fri, 29 Sep 2017 18:30:18 +0000 (19:30 +0100)]
fix: digest_collapse was broken (#801)

A recent upstream change stopped $digest_collapse from working.
The outer mime container wasn't being checked for type 'multipart/digest'.

A digest nested within another mime container should also be collapsed.

Fixes #789

7 years agoFix some problems with autoconf (#793)
Richard Russon [Fri, 29 Sep 2017 18:29:49 +0000 (19:29 +0100)]
Fix some problems with autoconf (#793)

* build: restore tabs in configure.ac

No functional changes

* build: fix out-of-tree build

* Built items in /doc weren't being installed.
* Force install to /usr/lib, not /usr/lib64

* build: stop yes/no include dirs

A bug in the curses detection often lead to things like:
* -Ino/include  -Lno/lib
* -Iyes/include -Lyes/lib

7 years agoclang-format
Richard Russon [Fri, 29 Sep 2017 13:10:52 +0000 (14:10 +0100)]
clang-format

7 years agoSTAILQify struct CryptModules 800/head
Pietro Cerutti [Fri, 29 Sep 2017 10:22:38 +0000 (10:22 +0000)]
STAILQify struct CryptModules

7 years agobool: convert function parameters in mutt.h 799/head
Anton Rieger [Thu, 28 Sep 2017 21:43:12 +0000 (23:43 +0200)]
bool: convert function parameters in mutt.h

* mutt_matches_ignore()

7 years agobool: convert extern variable in mbyte.h 798/head
Anton Rieger [Thu, 28 Sep 2017 19:32:10 +0000 (21:32 +0200)]
bool: convert extern variable in mbyte.h

* Charset_is_utf8
* mutt_hcache_restore()
* mutt_set_charset()

Charset_is_utf8 affects `convert` in mutt_set_charset() and mutt_hcache_restore()
-> affects several static functions in hcache/hcache.c

* dump_address()
* dump_body()
* dump_buffer()
* dump_char()
* dump_char_size()
* dump_envelope()
* dump_parameter()
* dump_stailq()

* restore_address()
* restore_body()
* restore_buffer()
* restore_char()
* restore_envelope()
* restore_parameter()
* restore_stailq()

7 years agomerge: rename mutt to neomutt
Richard Russon [Tue, 26 Sep 2017 23:17:56 +0000 (00:17 +0100)]
merge: rename mutt to neomutt

 * rename man pages
 * move helper programs to lib dir
 * move mime.types to doc dir
 * contrib: change mutt references to neomutt
 * build: don't install .dist files

7 years agobuild: don't install .dist files 763/head
Richard Russon [Tue, 26 Sep 2017 22:36:05 +0000 (23:36 +0100)]
build: don't install .dist files

7 years agocontrib: change mutt references to neomutt
Richard Russon [Mon, 18 Sep 2017 10:40:31 +0000 (11:40 +0100)]
contrib: change mutt references to neomutt

7 years agomove mime.types to doc dir
Richard Russon [Mon, 18 Sep 2017 10:23:13 +0000 (11:23 +0100)]
move mime.types to doc dir

Many distros have a package providing /etc/mime.types

We put our copy in:
    doc/neomutt/mime.types

7 years agomove helper programs to lib dir
Richard Russon [Sun, 17 Sep 2017 14:44:02 +0000 (15:44 +0100)]
move helper programs to lib dir

Programs:
    lib/neomutt/pgpewrap
    lib/neomutt/pgpring
    lib/neomutt/smime_keys

7 years agorename man pages
Richard Russon [Sun, 17 Sep 2017 10:35:50 +0000 (11:35 +0100)]
rename man pages

Man:
    man1/neomutt.1
    man1/pgpewrap_neomutt.1
    man1/pgpring_neomutt.1
    man1/smime_keys_neomutt.1
    man5/mbox_neomutt.5
    man5/mmdf_neomutt.5
    man5/neomuttrc.5

7 years agodrop unused param in mutt_bcache_put 782/head
Richard Russon [Tue, 26 Sep 2017 16:51:01 +0000 (17:51 +0100)]
drop unused param in mutt_bcache_put

The 'tmp' param was always true.
Factor it out.

Thanks to @gahr for the idea/patch.

7 years agobool: convert function parameters in bcache.h
Anton Rieger [Mon, 25 Sep 2017 00:04:53 +0000 (02:04 +0200)]
bool: convert function parameters in bcache.h

* mutt_bcache_put()

7 years agobuild: expand buffers to avoid gcc7 warnings
Richard Russon [Mon, 25 Sep 2017 01:02:37 +0000 (02:02 +0100)]
build: expand buffers to avoid gcc7 warnings

7 years agobool: convert function parameters in history.h 785/head
Anton Rieger [Mon, 25 Sep 2017 19:05:41 +0000 (21:05 +0200)]
bool: convert function parameters in history.h

* mutt_history_add()
* mutt_history_at_scratch()

7 years agobool: convert function parameters in buffy.h 783/head
Anton Rieger [Mon, 25 Sep 2017 01:10:01 +0000 (03:10 +0200)]
bool: convert function parameters in buffy.h

* buffy_check()
* buffy_maildir_check()
* buffy_mbox_check()
* mh_buffy()