]>
granicus.if.org Git - neomutt/log
Richard Russon [Sat, 7 Apr 2018 23:00:09 +0000 (00:00 +0100)]
free resources
Richard Russon [Wed, 4 Apr 2018 11:14:56 +0000 (12:14 +0100)]
history: free resources
Richard Russon [Wed, 4 Apr 2018 11:14:46 +0000 (12:14 +0100)]
history: tidy/sync functions
- sync format_str and menu_entry functions
- reduce scope of variables
- document functions
Richard Russon [Wed, 4 Apr 2018 11:13:26 +0000 (12:13 +0100)]
history: move static functions first
Richard Russon [Sat, 7 Apr 2018 22:59:34 +0000 (23:59 +0100)]
comment and reorder params
Richard Russon [Sat, 7 Apr 2018 22:57:26 +0000 (23:57 +0100)]
comment list functions
Richard Russon [Sun, 8 Apr 2018 01:38:57 +0000 (02:38 +0100)]
rename OPT_ variables
Richard Russon [Thu, 5 Apr 2018 00:10:04 +0000 (01:10 +0100)]
add missing extern
rawtaz [Wed, 11 Apr 2018 11:40:43 +0000 (13:40 +0200)]
Clarify the relation between NeoMutt and Mutt
Fixes a discrepancy between the website and this README on the topic of "is it a fork?".
Pietro Cerutti [Wed, 11 Apr 2018 14:01:57 +0000 (15:01 +0100)]
Let mutt_ch_choose report conversion failure (#1137)
* Let mutt_ch_choose report conversion failure
Issue #1136
* Let mutt_ch_convert_string return errno if iconv(..) fails
Previously, mutt_ch_convert_string returned error only if any arguments
failed the sanity check or iconv_open() failed.
With this change, an error value is returned even if the iconv()
conversion fails, such as when the input string contains an invalid
character in the source character set (EILSEQ).
I have looked at each caller and it seems to me that this change won't
introduce any misbehaviour, but I'm far from being 100% confident.
Issue #1136
* test int functions against 0
* Better error reporting in mutt_ch_iconv
Issue #1136
Reis Radomil [Fri, 6 Apr 2018 01:55:51 +0000 (01:55 +0000)]
doc: Describe logging capabilities of NeoMutt
Describe the logging capabilities of NeoMutt in the User Guide. The
section currently covers the different log message types (perror, error,
warning, informational debug), where they are shown and how to enable
debug log messages.
Reis Radomil [Sun, 1 Apr 2018 13:31:16 +0000 (13:31 +0000)]
Rename <show-messages> to <show-log-messages>
Rename the function <show-messages> to <show-log-messages> as well as
its symbolic constant OP_SHOW_MESSAGES to OP_SHOW_LOG_MESSAGES.
Background is that 'messages' (in the context of neomutt) refers usually
to emails instead of log messages.
Reis Radomil [Sun, 1 Apr 2018 13:31:16 +0000 (13:31 +0000)]
Describe <show-messages> more precisely
The term 'message' is used for log-messages as well as for ordinary
mails. In the help 'message' usually means an email. Adjust the
description of <show-message>/OP_SHOW_MESSAGE to clarify that log and
debug messages are meant.
Reis Radomil [Sun, 1 Apr 2018 04:23:21 +0000 (04:23 +0000)]
Remove reminiscent of txt2c
txt2c is replaced by a routine in the configure/autosetup script.
Update .gitignore accordingly.
Pietro Cerutti [Fri, 6 Apr 2018 09:10:46 +0000 (09:10 +0000)]
Generate .clang_complete
For users of https://github.com/Rip-Rip/clang_complete, this allows to
always keep the .clang_complete file in sync with CFLAGS.
Pietro Cerutti [Thu, 5 Apr 2018 11:20:31 +0000 (12:20 +0100)]
Build: restructure ncurses/tinfo checks (#1119)
* Build: restructure ncurses/tinfo checks
Issue #1118
* Fallback to ncurses library for tgetent
This fixes the configure phase in NetBSD, which doesn't have a separate
tinfo library in base.
Issue #1118
Richard Russon [Tue, 3 Apr 2018 16:59:46 +0000 (17:59 +0100)]
merge: fix cppcheck warnings
* reduce scope of variables
* printf format
* make logic clearer
* misc fixes
* match prototypes to their functions
Richard Russon [Tue, 3 Apr 2018 13:31:51 +0000 (14:31 +0100)]
cppcheck: match prototypes to their functions
Richard Russon [Tue, 3 Apr 2018 13:00:25 +0000 (14:00 +0100)]
cppcheck: misc
Richard Russon [Tue, 3 Apr 2018 12:53:14 +0000 (13:53 +0100)]
cppcheck: make logic clearer
Richard Russon [Tue, 3 Apr 2018 12:49:15 +0000 (13:49 +0100)]
cppcheck: printf format
Richard Russon [Sun, 1 Apr 2018 18:49:52 +0000 (19:49 +0100)]
split out progress functions
Richard Russon [Sun, 1 Apr 2018 04:12:17 +0000 (05:12 +0100)]
split out window functions
Richard Russon [Sun, 1 Apr 2018 02:33:43 +0000 (03:33 +0100)]
split out terminal setting
Richard Russon [Tue, 3 Apr 2018 16:58:50 +0000 (17:58 +0100)]
merge: rename functions for consistency
* body functions
* header functions
* enter_state functions
* alias functions
* menu functions
* rfc822 functions
Richard Russon [Tue, 3 Apr 2018 16:58:22 +0000 (17:58 +0100)]
merge: light tidying
* test ints against 0
* test int functions against 0
* tidy comments / docs
* tidy mutt_str_strdup
* tidy uses of mutt_str_getenv
Richard Russon [Tue, 3 Apr 2018 16:48:38 +0000 (17:48 +0100)]
merge: refactor config parsing on startup
* nntp config
* mailcap config
* tmpdir config
* editor, visual config
* separate get from set Charset
Richard Russon [Sat, 31 Mar 2018 18:07:28 +0000 (19:07 +0100)]
refactor: separate get from set Charset
Richard Russon [Fri, 30 Mar 2018 15:55:12 +0000 (16:55 +0100)]
refactor: editor, visual config
Precedence: environment, config, code
Richard Russon [Fri, 30 Mar 2018 14:15:50 +0000 (15:15 +0100)]
refactor: tmpdir config
Precedence: environment, config, code
Richard Russon [Fri, 30 Mar 2018 13:13:39 +0000 (14:13 +0100)]
refactor: mailcap config
Precedence: environment, config file, code
Richard Russon [Fri, 30 Mar 2018 12:25:20 +0000 (13:25 +0100)]
refactor: nntp config
Precedence: command line, environment, config file, system file
Richard Russon [Sun, 1 Apr 2018 17:48:49 +0000 (18:48 +0100)]
rename rfc822 functions
Richard Russon [Sun, 1 Apr 2018 03:30:33 +0000 (04:30 +0100)]
rename menu functions
Richard Russon [Sun, 1 Apr 2018 02:48:38 +0000 (03:48 +0100)]
rename alias functions
Richard Russon [Sun, 1 Apr 2018 02:38:33 +0000 (03:38 +0100)]
rename enter_state functions
Richard Russon [Sun, 1 Apr 2018 01:36:48 +0000 (02:36 +0100)]
rename header functions
Richard Russon [Sun, 1 Apr 2018 01:31:40 +0000 (02:31 +0100)]
rename body functions
Pietro Cerutti [Fri, 30 Mar 2018 15:11:29 +0000 (15:11 +0000)]
Enhance neomutt -v with NCURSES_VERSION_PATCH
Richard Russon [Fri, 30 Mar 2018 12:49:23 +0000 (13:49 +0100)]
tidy uses of mutt_str_getenv
Richard Russon [Fri, 30 Mar 2018 12:32:26 +0000 (13:32 +0100)]
tidy mutt_str_strdup
Richard Russon [Thu, 29 Mar 2018 21:50:00 +0000 (22:50 +0100)]
refactor: startup hostname
Delay the code that finds the FQDN until after the config and command
line have been processed.
This means that some users, with mis-configured network lookups, can work
around a long timeout during startup.
Richard Russon [Thu, 29 Mar 2018 15:40:03 +0000 (16:40 +0100)]
refactor: move the envlist code to the library
The envlist code keeps a private copy of the environment.
Richard Russon [Wed, 28 Mar 2018 22:21:56 +0000 (23:21 +0100)]
tidy comments / docs
Richard Russon [Wed, 28 Mar 2018 19:16:13 +0000 (20:16 +0100)]
test int functions against 0
Richard Russon [Wed, 28 Mar 2018 17:24:23 +0000 (18:24 +0100)]
cppcheck: reduce scope of variables
Richard Russon [Wed, 28 Mar 2018 17:21:30 +0000 (18:21 +0100)]
test ints against 0
Pietro Cerutti [Wed, 28 Mar 2018 07:33:15 +0000 (07:33 +0000)]
build: fix bmake's lack of variable expansion in "include" lines
Richard Russon [Wed, 28 Mar 2018 03:31:02 +0000 (04:31 +0100)]
slang: don't endwin() if slang wasn't started
Richard Russon [Wed, 28 Mar 2018 02:28:08 +0000 (03:28 +0100)]
merge: trivial improvements
* docs: update README
* sort switch cases
* sort option definitions
* sort colour fields
* remove unused variables
* initialise variables
* iwyu: fix #include usage
* docs: add missing comment
* refactor spanning ifs
* check for null pointer
Richard Russon [Wed, 28 Mar 2018 01:36:40 +0000 (02:36 +0100)]
check for null pointer
Richard Russon [Wed, 21 Mar 2018 16:28:39 +0000 (16:28 +0000)]
refactor spanning ifs
Refactor an `if` that spans an entire function, to return early.
Richard Russon [Wed, 21 Mar 2018 01:27:04 +0000 (01:27 +0000)]
docs: add missing comment
Richard Russon [Wed, 21 Mar 2018 01:25:43 +0000 (01:25 +0000)]
iwyu: fix #include usage
Richard Russon [Tue, 27 Mar 2018 17:43:01 +0000 (18:43 +0100)]
build: fix dependencies for test dir
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
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.
Richard Russon [Tue, 27 Mar 2018 21:26:47 +0000 (22:26 +0100)]
sort colour fields
Richard Russon [Wed, 21 Mar 2018 13:33:43 +0000 (13:33 +0000)]
sort option definitions
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
Richard Russon [Wed, 28 Mar 2018 00:18:44 +0000 (01:18 +0100)]
docs: update README
- links contributors
- add shields
Richard Russon [Tue, 27 Mar 2018 02:40:15 +0000 (03:40 +0100)]
convert init.h
Another (small) step towards the new config system
Richard Russon [Tue, 27 Mar 2018 02:40:07 +0000 (03:40 +0100)]
lua: fix variable getting/setting
Pietro Cerutti [Tue, 27 Mar 2018 16:49:55 +0000 (16:49 +0000)]
acutest: update with latest upstream (documentation fixes)
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.
Richard Russon [Sun, 25 Mar 2018 09:50:02 +0000 (10:50 +0100)]
fix return code for 'neomutt -Z'
Fixes #1112
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.
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.
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.
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.
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!
Richard Russon [Tue, 20 Mar 2018 23:26:57 +0000 (23:26 +0000)]
sync to upstream abort_noattach
Richard Russon [Fri, 23 Mar 2018 13:22:28 +0000 (13:22 +0000)]
NeoMutt 2018-03-23
Richard Russon [Fri, 23 Mar 2018 13:18:10 +0000 (13:18 +0000)]
sync translations
Richard Russon [Fri, 23 Mar 2018 12:58:38 +0000 (12:58 +0000)]
tidy
- clang-format
- sort makefile lists
- tidy whitespace
Richard Russon [Fri, 23 Mar 2018 12:57:02 +0000 (12:57 +0000)]
new contributors
Richard Russon [Fri, 23 Mar 2018 12:43:27 +0000 (12:43 +0000)]
changelog
Richard Russon [Fri, 23 Mar 2018 11:27:24 +0000 (11:27 +0000)]
version 2018-03-23
David Sterba [Fri, 9 Mar 2018 10:09:40 +0000 (11:09 +0100)]
Update Czech translation
David Sterba [Fri, 9 Mar 2018 10:09:40 +0000 (11:09 +0100)]
Update Czech translation
Richard Russon [Thu, 22 Mar 2018 15:02:23 +0000 (15:02 +0000)]
error: Don't pause after duplicate messages
Fixes #1100
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.
Richard Russon [Sat, 17 Mar 2018 01:14:33 +0000 (01:14 +0000)]
doxygen: drop/tidy simple comments
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
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
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
Richard Russon [Mon, 19 Mar 2018 16:19:46 +0000 (16:19 +0000)]
check WithCrypto against zero
Richard Russon [Mon, 19 Mar 2018 23:23:51 +0000 (23:23 +0000)]
calloc size - mutt_select_file
Richard Russon [Mon, 19 Mar 2018 19:30:05 +0000 (19:30 +0000)]
range check - parse_set
Richard Russon [Mon, 19 Mar 2018 10:54:05 +0000 (10:54 +0000)]
drop testing code - resolve_types
Richard Russon [Mon, 19 Mar 2018 10:46:21 +0000 (10:46 +0000)]
null ptr deref - print_attachment_list
Richard Russon [Mon, 19 Mar 2018 10:25:56 +0000 (10:25 +0000)]
always true - rfc2047_encode
Richard Russon [Mon, 19 Mar 2018 10:20:01 +0000 (10:20 +0000)]
resource leak - mutt_log_set_file
Richard Russon [Mon, 19 Mar 2018 10:19:11 +0000 (10:19 +0000)]
dead code - do_database_open
Richard Russon [Mon, 19 Mar 2018 09:43:14 +0000 (09:43 +0000)]
range check - set_default_value
Richard Russon [Mon, 19 Mar 2018 09:42:52 +0000 (09:42 +0000)]
range check - reset_value
Richard Russon [Mon, 19 Mar 2018 09:42:14 +0000 (09:42 +0000)]
resource leak - mutt_log_start
Richard Russon [Mon, 19 Mar 2018 22:39:54 +0000 (22:39 +0000)]
update English (British) translation
[ci skip]
Thiago Costa de Paiva [Mon, 19 Mar 2018 19:51:14 +0000 (15:51 -0400)]
Update Portuguese (BR) translation
Thiago Costa de Paiva [Mon, 19 Mar 2018 15:58:41 +0000 (11:58 -0400)]
Update Portuguese (BR) translation