]> granicus.if.org Git - neomutt/log
neomutt
6 years agodocs: add missing comment
Richard Russon [Wed, 21 Mar 2018 01:27:04 +0000 (01:27 +0000)]
docs: add missing comment

6 years agoiwyu: fix #include usage
Richard Russon [Wed, 21 Mar 2018 01:25:43 +0000 (01:25 +0000)]
iwyu: fix #include usage

6 years agoinitialise variables
Richard Russon [Sun, 25 Mar 2018 02:30:11 +0000 (03:30 +0100)]
initialise variables

scan-build warns that these variables may not get set elsewhere

6 years agoremove unused variables
Richard Russon [Sun, 25 Mar 2018 02:28:49 +0000 (03:28 +0100)]
remove unused variables

Remove variables that are set, but not used again.

6 years agosort colour fields
Richard Russon [Tue, 27 Mar 2018 21:26:47 +0000 (22:26 +0100)]
sort colour fields

6 years agosort option definitions
Richard Russon [Wed, 21 Mar 2018 13:33:43 +0000 (13:33 +0000)]
sort option definitions

6 years agosort switch cases
Richard Russon [Tue, 27 Mar 2018 22:43:52 +0000 (23:43 +0100)]
sort switch cases

There are no code changes here.
The 'case' statements have been sorted where:
- There's a clear order, e.g. alphabetical
- Where they all have break/return statements

6 years agodocs: update README
Richard Russon [Wed, 28 Mar 2018 00:18:44 +0000 (01:18 +0100)]
docs: update README

- links contributors
- add shields

6 years agobuild: fix dependencies for test dir
Richard Russon [Tue, 27 Mar 2018 17:43:01 +0000 (18:43 +0100)]
build: fix dependencies for test dir

6 years agoconvert init.h
Richard Russon [Tue, 27 Mar 2018 02:40:15 +0000 (03:40 +0100)]
convert init.h

Another (small) step towards the new config system

6 years agolua: fix variable getting/setting
Richard Russon [Tue, 27 Mar 2018 02:40:07 +0000 (03:40 +0100)]
lua: fix variable getting/setting

6 years agoacutest: update with latest upstream (documentation fixes)
Pietro Cerutti [Tue, 27 Mar 2018 16:49:55 +0000 (16:49 +0000)]
acutest: update with latest upstream (documentation fixes)

6 years agofix Notmuch deprecation warning
Richard Russon [Fri, 23 Mar 2018 23:44:43 +0000 (23:44 +0000)]
fix Notmuch deprecation warning

We need to distinguish between two versions of `notmuch.h`.
Both declare that they are v5.0.0.  They are:

- libnotmuch 5.0 (Notmuch 0.25)
  - `notmuch_database_add_message()` is a normal function
  - `notmuch_database_index_file()` doesn't exist

- libnotmuch 5.1 (Notmuch 0.26)
  - `notmuch_database_add_message()` is **deprecated**
  - `notmuch_database_index_file()` exists

To work around this, we check for `notmuch_database_index_file()` specifically.

6 years agofix return code for 'neomutt -Z'
Richard Russon [Sun, 25 Mar 2018 09:50:02 +0000 (10:50 +0100)]
fix return code for 'neomutt -Z'

Fixes #1112

6 years agomerge: upstream fixes
Richard Russon [Sun, 25 Mar 2018 23:05:56 +0000 (00:05 +0100)]
merge: upstream fixes

 * sync to upstream abort_noattach
 * Improve the error message when a signature is missing.
 * Change mutt_error call in mutt_gpgme_set_sender() to dprint.
 * Fix comparison of flags with multiple bits set.
 * Increase account.user/login size to 128.

6 years agoIncrease account.user/login size to 128.
Kevin McCarthy [Sat, 24 Mar 2018 22:10:13 +0000 (15:10 -0700)]
Increase account.user/login size to 128.

Like the pass field in commit 52949004, the existing size was
insufficient for the reporter of issue #18.  For now, just bump up the
size, but I'll move up looking into making these dynamically sized.

6 years agoFix comparison of flags with multiple bits set.
Kevin McCarthy [Fri, 23 Mar 2018 03:04:46 +0000 (20:04 -0700)]
Fix comparison of flags with multiple bits set.

PGPENCRYPT, PGPKEY, SMIMEENCRYPT, and SMIMEOPAQUE are all combination
flags, with multiple bits set.  In a few places these flags were
bitwise-and'ed incorrectly: expecting a non-zero result to indicate
all the bits in the flag were set.  Change those to explicitly compare
the result against the original flag.

6 years agoChange mutt_error call in mutt_gpgme_set_sender() to dprint.
Kevin McCarthy [Thu, 15 Mar 2018 17:24:35 +0000 (10:24 -0700)]
Change mutt_error call in mutt_gpgme_set_sender() to dprint.

The message is not an error message, and flies by so quickly it has
little informative content.  Change it to use dprint instead.

Thanks to Darac Marjal for reporting the issue.

6 years agoImprove the error message when a signature is missing.
Kevin McCarthy [Wed, 14 Mar 2018 02:09:45 +0000 (19:09 -0700)]
Improve the error message when a signature is missing.

Thanks to Vincent Lefèvre for reporting the issue and for the wording
suggestion!

6 years agosync to upstream abort_noattach
Richard Russon [Tue, 20 Mar 2018 23:26:57 +0000 (23:26 +0000)]
sync to upstream abort_noattach

6 years agoNeoMutt 2018-03-23 neomutt-20180323
Richard Russon [Fri, 23 Mar 2018 13:22:28 +0000 (13:22 +0000)]
NeoMutt 2018-03-23

6 years agosync translations
Richard Russon [Fri, 23 Mar 2018 13:18:10 +0000 (13:18 +0000)]
sync translations

6 years agotidy
Richard Russon [Fri, 23 Mar 2018 12:58:38 +0000 (12:58 +0000)]
tidy

- clang-format
- sort makefile lists
- tidy whitespace

6 years agonew contributors
Richard Russon [Fri, 23 Mar 2018 12:57:02 +0000 (12:57 +0000)]
new contributors

6 years agochangelog
Richard Russon [Fri, 23 Mar 2018 12:43:27 +0000 (12:43 +0000)]
changelog

6 years agoversion 2018-03-23
Richard Russon [Fri, 23 Mar 2018 11:27:24 +0000 (11:27 +0000)]
version 2018-03-23

6 years agoUpdate Czech translation
David Sterba [Fri, 9 Mar 2018 10:09:40 +0000 (11:09 +0100)]
Update Czech translation

6 years agoUpdate Czech translation
David Sterba [Fri, 9 Mar 2018 10:09:40 +0000 (11:09 +0100)]
Update Czech translation

6 years agoerror: Don't pause after duplicate messages
Richard Russon [Thu, 22 Mar 2018 15:02:23 +0000 (15:02 +0000)]
error: Don't pause after duplicate messages

Fixes #1100

6 years agoerror: use sleep_time as error wait time
Roger Pau Monne [Wed, 21 Mar 2018 12:29:09 +0000 (12:29 +0000)]
error: use sleep_time as error wait time

Also fix the conversion from us to ns.

6 years agodoxygen: drop/tidy simple comments
Richard Russon [Sat, 17 Mar 2018 01:14:33 +0000 (01:14 +0000)]
doxygen: drop/tidy simple comments

6 years agomerge: update translations
Richard Russon [Tue, 20 Mar 2018 01:56:46 +0000 (01:56 +0000)]
merge: update translations

 * fix file list
 * remove unnec CRs
 * too few
 * too many
 * misc dupe strings
 * tidy grave quotes
 * remove un-discoverable options
 * update-po
 * update German translation
 * update German translation
 * Update Turkish translation
 * update Spanish translation
 * Polish translation update
 * Polish translation update
 * Update Portuguese (BR) translation
 * Update Portuguese (BR) translation
 * Update Portuguese (BR) translation
 * Update Portuguese (BR) translation
 * Update Czech translation
 * Update Czech translation
 * Update Czech translation
 * Update Czech translation
 * Update Czech translation
 * Update Czech translation
 * Update Czech translation
 * Update Czech translation
 * Update Portuguese (BR) translation
 * Update Portuguese (BR) translation
 * Update Portuguese (BR) translation
 * Polish translation update
 * Update Portuguese (BR) translation
 * Update Portuguese (BR) translation
 * Update Czech translation
 * Update Portuguese (BR) translation
 * Update Portuguese (BR) translation
 * update English (British) translation

6 years agomerge: sort code to make docs more legible
Richard Russon [Tue, 20 Mar 2018 01:23:12 +0000 (01:23 +0000)]
merge: sort code to make docs more legible

 * docs: Sort commands
 * init.h: Sort configuration variables
 * opcodes.h: Sort opcodes
 * functions.h: Sort functions by name

6 years agomerge: fix coverity defects
Richard Russon [Tue, 20 Mar 2018 01:12:36 +0000 (01:12 +0000)]
merge: fix coverity defects

 * resource leak - mutt_log_start
 * range check - reset_value
 * range check - set_default_value
 * dead code - do_database_open
 * resource leak - mutt_log_set_file
 * always true - rfc2047_encode
 * null ptr deref - print_attachment_list
 * drop testing code - resolve_types
 * range check - parse_set
 * calloc size - mutt_select_file
 * check WithCrypto against zero

6 years agocheck WithCrypto against zero
Richard Russon [Mon, 19 Mar 2018 16:19:46 +0000 (16:19 +0000)]
check WithCrypto against zero

6 years agocalloc size - mutt_select_file
Richard Russon [Mon, 19 Mar 2018 23:23:51 +0000 (23:23 +0000)]
calloc size - mutt_select_file

6 years agorange check - parse_set
Richard Russon [Mon, 19 Mar 2018 19:30:05 +0000 (19:30 +0000)]
range check - parse_set

6 years agodrop testing code - resolve_types
Richard Russon [Mon, 19 Mar 2018 10:54:05 +0000 (10:54 +0000)]
drop testing code - resolve_types

6 years agonull ptr deref - print_attachment_list
Richard Russon [Mon, 19 Mar 2018 10:46:21 +0000 (10:46 +0000)]
null ptr deref - print_attachment_list

6 years agoalways true - rfc2047_encode
Richard Russon [Mon, 19 Mar 2018 10:25:56 +0000 (10:25 +0000)]
always true - rfc2047_encode

6 years agoresource leak - mutt_log_set_file
Richard Russon [Mon, 19 Mar 2018 10:20:01 +0000 (10:20 +0000)]
resource leak - mutt_log_set_file

6 years agodead code - do_database_open
Richard Russon [Mon, 19 Mar 2018 10:19:11 +0000 (10:19 +0000)]
dead code - do_database_open

6 years agorange check - set_default_value
Richard Russon [Mon, 19 Mar 2018 09:43:14 +0000 (09:43 +0000)]
range check - set_default_value

6 years agorange check - reset_value
Richard Russon [Mon, 19 Mar 2018 09:42:52 +0000 (09:42 +0000)]
range check - reset_value

6 years agoresource leak - mutt_log_start
Richard Russon [Mon, 19 Mar 2018 09:42:14 +0000 (09:42 +0000)]
resource leak - mutt_log_start

6 years agoupdate English (British) translation
Richard Russon [Mon, 19 Mar 2018 22:39:54 +0000 (22:39 +0000)]
update English (British) translation

[ci skip]

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Mon, 19 Mar 2018 19:51:14 +0000 (15:51 -0400)]
Update Portuguese (BR) translation

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Mon, 19 Mar 2018 15:58:41 +0000 (11:58 -0400)]
Update Portuguese (BR) translation

6 years agofunctions.h: Sort functions by name
Floyd Anderson [Sun, 18 Mar 2018 15:20:20 +0000 (16:20 +0100)]
functions.h: Sort functions by name

To achieve a correct sorting for all function names, it is necessary to
split some single preprocessor directives into multiple.

6 years agoopcodes.h: Sort opcodes
Floyd Anderson [Sun, 18 Mar 2018 15:14:52 +0000 (16:14 +0100)]
opcodes.h: Sort opcodes

6 years agoinit.h: Sort configuration variables
Floyd Anderson [Sun, 18 Mar 2018 15:06:25 +0000 (16:06 +0100)]
init.h: Sort configuration variables

6 years agodocs: Sort commands
Floyd Anderson [Sun, 18 Mar 2018 14:51:31 +0000 (15:51 +0100)]
docs: Sort commands

6 years agoTidy space-before-tabs and multiple spaces
Floyd Anderson [Sat, 17 Mar 2018 01:39:14 +0000 (02:39 +0100)]
Tidy space-before-tabs and multiple spaces

6 years agoSupport —with-sysroot configure arg (#1101)
Pietro Cerutti [Sat, 17 Mar 2018 08:24:49 +0000 (09:24 +0100)]
Support —with-sysroot configure arg (#1101)

* If --sysroot is given, prepend it to prefix for search paths

Issue #869

* Prefix is not used inside Makefiles

Issue #869

* No need to specify the empty string as opt-val's default return

Issue #869

* s/--sysroot/--with-sysroot/

Issue #869

6 years agofix: set the DebugFile
Richard Russon [Fri, 16 Mar 2018 13:54:02 +0000 (13:54 +0000)]
fix: set the DebugFile

Make sure that the DebugFile is always set on startup, otherwise
`neomutt -d2` will fail and stop the app.

6 years agorestore ignore_linear_white_space option
Richard Russon [Thu, 15 Mar 2018 20:21:33 +0000 (20:21 +0000)]
restore ignore_linear_white_space option

This is a dummy option -- it's not needed any more.
In the future this and several other options will be deprecated and
removed.

6 years agomerge: unify logging/messaging
Richard Russon [Thu, 15 Mar 2018 18:45:25 +0000 (18:45 +0000)]
merge: unify logging/messaging

 * refactor cli handling of cc/bcc
 * endwin: separate curses from the message
 * sleep after every error message
 * reorganise startup to return through main()
 * refactor exits in mutt_randbuf()
 * use dedicated set_default() and reset_value()
 * redirect all messages through a log dispatcher
 * update messages (remove newline)
 * add log messages page
 * add comments markers for CLI test cases
 * fix crash with incomplete template

6 years agofix crash with incomplete template 1059/head
Richard Russon [Thu, 15 Mar 2018 16:02:21 +0000 (16:02 +0000)]
fix crash with incomplete template

6 years agoadd comments markers for CLI test cases
Richard Russon [Tue, 13 Mar 2018 01:18:45 +0000 (01:18 +0000)]
add comments markers for CLI test cases

When starting NeoMutt, there are nearly 40 routes through main().
Add a comment for each one with a suggested command line.

6 years agoadd log messages page
Richard Russon [Fri, 16 Feb 2018 12:42:07 +0000 (12:42 +0000)]
add log messages page

The new command `<show-messages>` will show a backlog of 100 messages
from:
- mutt_message()
- mutt_error()
- mutt_perror()
- mutt_debug() if enabled

6 years agoupdate messages (remove newline)
Richard Russon [Tue, 20 Feb 2018 20:31:29 +0000 (20:31 +0000)]
update messages (remove newline)

Many of the startup messages have been migrated from printf() to
mutt_error().  They no longer need a '\n'.

6 years agoredirect all messages through a log dispatcher
Richard Russon [Tue, 30 Jan 2018 00:41:41 +0000 (00:41 +0000)]
redirect all messages through a log dispatcher

6 years agouse dedicated set_default() and reset_value()
Richard Russon [Tue, 13 Mar 2018 20:24:21 +0000 (20:24 +0000)]
use dedicated set_default() and reset_value()

6 years agorefactor exits in mutt_randbuf()
Richard Russon [Tue, 13 Mar 2018 19:43:02 +0000 (19:43 +0000)]
refactor exits in mutt_randbuf()

Move the exit()s so we can call it during startup.

6 years agoreorganise startup to return through main()
Richard Russon [Tue, 20 Feb 2018 02:54:23 +0000 (02:54 +0000)]
reorganise startup to return through main()

The single exit from main() makes it easier to clean up curses and
logging.

6 years agosleep after every error message
Richard Russon [Tue, 13 Feb 2018 02:42:14 +0000 (02:42 +0000)]
sleep after every error message

Mark the time of an error message.
Do not allow an error to be cleared or overwritten by a normal message
within one second.

6 years agoendwin: separate curses from the message
Richard Russon [Mon, 12 Feb 2018 15:17:41 +0000 (15:17 +0000)]
endwin: separate curses from the message

6 years agorefactor cli handling of cc/bcc
Richard Russon [Mon, 12 Mar 2018 22:56:41 +0000 (22:56 +0000)]
refactor cli handling of cc/bcc

6 years agoExpose EXTRA_CFLAGS_FOR_BUILD and EXTRA_LDFLAGS_FOR_BUIlD (#1098)
Pietro Cerutti [Thu, 15 Mar 2018 14:48:09 +0000 (14:48 +0000)]
Expose EXTRA_CFLAGS_FOR_BUILD and EXTRA_LDFLAGS_FOR_BUIlD (#1098)

This allows distros to set flags that must be used both for building target and host executables.

Issue #980

6 years agolua: fix crash when setting a string
Richard Russon [Tue, 13 Mar 2018 12:19:20 +0000 (12:19 +0000)]
lua: fix crash when setting a string

Generally, for strings `Option.var` is a `char **` (a pointer to a
string pointer).  The Lua setting code uses it differently.  There, it's
just a `char *`.

Fixes #1096

6 years agoMake sure paths created by header/body/news cache are POSIX-compliant (#1080)
Pietro Cerutti [Wed, 14 Mar 2018 11:27:30 +0000 (11:27 +0000)]
Make sure paths created by header/body/news cache are POSIX-compliant (#1080)

* Make sure paths created by header/body cache are POSIX-compliant

Issue #1073

* Make sure single-file header cache is sanitized

Issue #1073

* Avoid double path normalization

Issue #1073

* Make sure bcache_path works for a NULL mailbox (see POP)

Issue #1073

* Encode news cache dir path

Issue #1073

6 years agomerge: trivial improvements
Richard Russon [Tue, 13 Mar 2018 17:18:06 +0000 (17:18 +0000)]
merge: trivial improvements

 * contrib: drop obsolete files
 * sort main switch options
 * doxygen: drop tables
 * fix odd case of Charset_is_utf8
 * docs: tidy homepage url
 * docs: light tidying
 * minor code tidy

6 years agominor code tidy
Richard Russon [Sat, 24 Feb 2018 15:28:27 +0000 (15:28 +0000)]
minor code tidy

6 years agodocs: light tidying
Richard Russon [Sat, 24 Feb 2018 14:32:03 +0000 (14:32 +0000)]
docs: light tidying

- substitute mutt with neomutt
- fix openSUSE capitalisation

6 years agodocs: tidy homepage url
Richard Russon [Sat, 24 Feb 2018 14:19:05 +0000 (14:19 +0000)]
docs: tidy homepage url

6 years agofix odd case of Charset_is_utf8
Richard Russon [Tue, 6 Mar 2018 16:49:30 +0000 (16:49 +0000)]
fix odd case of Charset_is_utf8

6 years agodoxygen: drop tables
Richard Russon [Mon, 5 Mar 2018 18:28:06 +0000 (18:28 +0000)]
doxygen: drop tables

These are now auto-generated from the function comments.

6 years agosort main switch options
Richard Russon [Mon, 12 Mar 2018 16:16:53 +0000 (16:16 +0000)]
sort main switch options

6 years agocontrib: drop obsolete files
Richard Russon [Sat, 24 Feb 2018 14:30:57 +0000 (14:30 +0000)]
contrib: drop obsolete files

6 years agoMake sure git_ver.h doesn't eat random 'g's out of tag names
Pietro Cerutti [Fri, 9 Mar 2018 09:21:59 +0000 (09:21 +0000)]
Make sure git_ver.h doesn't eat random 'g's out of tag names

6 years agoUpdate Czech translation
David Sterba [Fri, 9 Mar 2018 10:09:40 +0000 (11:09 +0100)]
Update Czech translation

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Mon, 19 Mar 2018 15:08:26 +0000 (11:08 -0400)]
Update Portuguese (BR) translation

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Mon, 19 Mar 2018 02:57:12 +0000 (22:57 -0400)]
Update Portuguese (BR) translation

6 years agoPolish translation update
Marcin Rajner [Mon, 19 Mar 2018 08:24:09 +0000 (09:24 +0100)]
Polish translation update

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Mon, 19 Mar 2018 01:25:21 +0000 (21:25 -0400)]
Update Portuguese (BR) translation

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Mon, 19 Mar 2018 01:09:34 +0000 (21:09 -0400)]
Update Portuguese (BR) translation

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Sun, 18 Mar 2018 23:37:38 +0000 (19:37 -0400)]
Update Portuguese (BR) translation

6 years agoUpdate Czech translation
David Sterba [Fri, 9 Mar 2018 10:09:40 +0000 (11:09 +0100)]
Update Czech translation

6 years agoUpdate Czech translation
David Sterba [Fri, 9 Mar 2018 10:09:40 +0000 (11:09 +0100)]
Update Czech translation

6 years agoUpdate Czech translation
David Sterba [Fri, 9 Mar 2018 10:09:40 +0000 (11:09 +0100)]
Update Czech translation

6 years agoUpdate Czech translation
Jakub Jindra [Fri, 9 Mar 2018 10:09:40 +0000 (11:09 +0100)]
Update Czech translation

6 years agoUpdate Czech translation
Jakub Jindra [Tue, 6 Mar 2018 21:04:45 +0000 (22:04 +0100)]
Update Czech translation

6 years agoUpdate Czech translation
David Sterba [Tue, 6 Mar 2018 14:19:48 +0000 (15:19 +0100)]
Update Czech translation

Signed-off-by: David Sterba <dsterba@suse.com>
6 years agoUpdate Czech translation
David Sterba [Tue, 6 Mar 2018 13:24:41 +0000 (14:24 +0100)]
Update Czech translation

6 years agoUpdate Czech translation
David Sterba [Fri, 2 Mar 2018 14:34:16 +0000 (15:34 +0100)]
Update Czech translation

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Sun, 18 Mar 2018 21:43:55 +0000 (17:43 -0400)]
Update Portuguese (BR) translation

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Sun, 18 Mar 2018 15:56:02 +0000 (11:56 -0400)]
Update Portuguese (BR) translation

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Sat, 17 Mar 2018 04:10:39 +0000 (00:10 -0400)]
Update Portuguese (BR) translation

6 years agoUpdate Portuguese (BR) translation
Thiago Costa de Paiva [Sat, 17 Mar 2018 02:57:32 +0000 (22:57 -0400)]
Update Portuguese (BR) translation

6 years agoPolish translation update
Marcin Rajner [Mon, 12 Mar 2018 16:59:55 +0000 (17:59 +0100)]
Polish translation update

added some non-translated phrases and messages