]>
granicus.if.org Git - neomutt/log
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
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'.
Richard Russon [Tue, 30 Jan 2018 00:41:41 +0000 (00:41 +0000)]
redirect all messages through a log dispatcher
Richard Russon [Tue, 13 Mar 2018 20:24:21 +0000 (20:24 +0000)]
use dedicated set_default() and reset_value()
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.
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.
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.
Richard Russon [Mon, 12 Feb 2018 15:17:41 +0000 (15:17 +0000)]
endwin: separate curses from the message
Richard Russon [Mon, 12 Mar 2018 22:56:41 +0000 (22:56 +0000)]
refactor cli handling of cc/bcc
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
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
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
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
Richard Russon [Sat, 24 Feb 2018 15:28:27 +0000 (15:28 +0000)]
minor code tidy
Richard Russon [Sat, 24 Feb 2018 14:32:03 +0000 (14:32 +0000)]
docs: light tidying
- substitute mutt with neomutt
- fix openSUSE capitalisation
Richard Russon [Sat, 24 Feb 2018 14:19:05 +0000 (14:19 +0000)]
docs: tidy homepage url
Richard Russon [Tue, 6 Mar 2018 16:49:30 +0000 (16:49 +0000)]
fix odd case of Charset_is_utf8
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.
Richard Russon [Mon, 12 Mar 2018 16:16:53 +0000 (16:16 +0000)]
sort main switch options
Richard Russon [Sat, 24 Feb 2018 14:30:57 +0000 (14:30 +0000)]
contrib: drop obsolete files
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
Kevin McCarthy [Wed, 28 Feb 2018 23:20:59 +0000 (15:20 -0800)]
Add subjectrx section to the muttrc man page.
Kevin McCarthy [Wed, 28 Feb 2018 23:20:19 +0000 (15:20 -0800)]
Fix subjectrx example in the manual.
Kevin McCarthy [Wed, 21 Feb 2018 03:09:16 +0000 (19:09 -0800)]
Improve index color cache flushing behavior
Flush when redefining the colors for an existing color line, in
addition to when defining a new color line.
Flush only when uncoloring the index.
parazyd [Sun, 4 Mar 2018 09:30:17 +0000 (10:30 +0100)]
Add support for alert (blink) colors.
This allows us to use alert$colorname as a neomutt color.
Example usage:
color header alertred default "^(x-mailer): .*apple|.*iphone"
Richard Russon [Thu, 8 Mar 2018 03:19:17 +0000 (03:19 +0000)]
merge: refactoring to simplify functions
* Refactor msg_search
* Refactor maildir_open_mailbox_append and mh_open_mailbox_append
* Refactor mutt_file_unlink
* Improve const-correctness
Federico Kircheis [Wed, 7 Mar 2018 17:24:42 +0000 (18:24 +0100)]
Improve const-correctness
Federico Kircheis [Tue, 6 Mar 2018 19:19:06 +0000 (20:19 +0100)]
Refactor mutt_file_unlink
Federico Kircheis [Tue, 6 Mar 2018 19:17:46 +0000 (20:17 +0100)]
Refactor maildir_open_mailbox_append and mh_open_mailbox_append
Federico Kircheis [Tue, 6 Mar 2018 18:24:31 +0000 (19:24 +0100)]
Refactor msg_search
Richard Russon [Thu, 8 Mar 2018 02:40:41 +0000 (02:40 +0000)]
merge: refactor to reduce variable scope
These changes should not affect the behaviour of the code.
* browser.c
* buffy.c
* mh.c
* mutt/rfc2047.c
* ncrypt/crypt_gpgme.c
* newsrc.c
* nntp.c
* pager.c
* parse.c
* pattern.c
* pgppubring.c
* pop.c
* pop_lib.c
* postpone.c
* query.c
* recvattach.c
* recvcmd.c
* remailer.c
* rfc1524.c
* rfc2231.c
* rfc3676.c
* safe_asprintf.c
* send.c
* sendlib.c
* sidebar.c
* smtp.c
* url.c
* version.c
Federico Kircheis [Wed, 7 Mar 2018 17:38:15 +0000 (18:38 +0100)]
Reduce variable scope - version.c
Federico Kircheis [Wed, 7 Mar 2018 17:37:59 +0000 (18:37 +0100)]
Reduce variable scope - url.c
Federico Kircheis [Wed, 7 Mar 2018 17:31:03 +0000 (18:31 +0100)]
Reduce variable scope - smtp.c
Federico Kircheis [Wed, 7 Mar 2018 17:24:25 +0000 (18:24 +0100)]
Reduce variable scope - sidebar.c
Federico Kircheis [Wed, 7 Mar 2018 17:19:17 +0000 (18:19 +0100)]
Reduce variable scope - sendlib.c
Federico Kircheis [Wed, 7 Mar 2018 16:46:23 +0000 (17:46 +0100)]
Reduce variable scope - send.c
Federico Kircheis [Tue, 6 Mar 2018 20:06:08 +0000 (21:06 +0100)]
Reduce variable scope - safe_asprintf.c
Federico Kircheis [Tue, 6 Mar 2018 20:10:30 +0000 (21:10 +0100)]
Reduce variable scope - rfc3676.c
Federico Kircheis [Tue, 6 Mar 2018 20:04:49 +0000 (21:04 +0100)]
Reduce variable scope - rfc2231.c
Federico Kircheis [Tue, 6 Mar 2018 19:51:00 +0000 (20:51 +0100)]
Reduce variable scope - rfc1524.c
Federico Kircheis [Tue, 6 Mar 2018 19:44:36 +0000 (20:44 +0100)]
Reduce variable scope - remailer.c
Federico Kircheis [Tue, 6 Mar 2018 19:38:55 +0000 (20:38 +0100)]
Reduce variable scope - recvcmd.c
Federico Kircheis [Tue, 6 Mar 2018 19:36:51 +0000 (20:36 +0100)]
Reduce variable scope - recvattach.c
Federico Kircheis [Tue, 6 Mar 2018 19:22:44 +0000 (20:22 +0100)]
Reduce variable scope - query.c
Federico Kircheis [Tue, 6 Mar 2018 19:09:51 +0000 (20:09 +0100)]
Reduce variable scope - postpone.c
Federico Kircheis [Tue, 6 Mar 2018 19:07:22 +0000 (20:07 +0100)]
Reduce variable scope - pop_lib.c
Federico Kircheis [Tue, 6 Mar 2018 18:36:34 +0000 (19:36 +0100)]
Reduce variable scope - pop.c
Federico Kircheis [Tue, 6 Mar 2018 18:51:03 +0000 (19:51 +0100)]
Reduce variable scope - pgppubring.c
Federico Kircheis [Tue, 6 Mar 2018 17:53:13 +0000 (18:53 +0100)]
Reduce variable scope - pattern.c
Federico Kircheis [Tue, 6 Mar 2018 17:43:26 +0000 (18:43 +0100)]
Reduce variable scope - parse.c
Federico Kircheis [Tue, 6 Mar 2018 17:37:18 +0000 (18:37 +0100)]
Reduce variable scope - pager.c
Federico Kircheis [Tue, 6 Mar 2018 17:23:22 +0000 (18:23 +0100)]
Reduce variable scope - nntp.c
Federico Kircheis [Tue, 6 Mar 2018 17:12:58 +0000 (18:12 +0100)]
Reduce variable scope - newsrc.c
Federico Kircheis [Wed, 7 Mar 2018 19:41:26 +0000 (20:41 +0100)]
Reduce variable scope - ncrypt/crypt_gpgme.c
Federico Kircheis [Wed, 7 Mar 2018 19:40:23 +0000 (20:40 +0100)]
Reduce variable scope - mutt/rfc2047.c
Federico Kircheis [Tue, 6 Mar 2018 17:09:16 +0000 (18:09 +0100)]
Reduce variable scope - mh.c
Federico Kircheis [Tue, 6 Mar 2018 19:33:41 +0000 (20:33 +0100)]
Reduce variable scope - buffy.c
Federico Kircheis [Tue, 6 Mar 2018 19:33:21 +0000 (20:33 +0100)]
Reduce variable scope - browser.c
Richard Russon [Tue, 6 Mar 2018 13:27:52 +0000 (13:27 +0000)]
merge: refactoring to simplify functions
* Avoid unnecessary reassignment
* Restore old behaviour
* Reduce variable scope and avoid conversion
* Refactor decode_xbit
* Refactor encode_block
* Remove unused variable
Richard Russon [Tue, 6 Mar 2018 13:13:59 +0000 (13:13 +0000)]
merge: refactor to reduce variable scope
These changes should not affect the behaviour of the code.
* init.c
* main.c
* mbox.c
* menu.c
* mh.c
* mutt/base64.c
* mutt/charset.c
* mutt/file.c
* mutt/hash.c
* mutt/rfc2047.c
* mutt_notmuch.c
* muttlib.c
* mx.c
* ncrypt/crypt.c
* ncrypt/crypt_gpgme.c
* ncrypt/pgp.c
* ncrypt/smime.c
Federico Kircheis [Mon, 5 Mar 2018 18:20:19 +0000 (19:20 +0100)]
Reduce variable scope - ncrypt/smime.c
Federico Kircheis [Mon, 5 Mar 2018 18:13:26 +0000 (19:13 +0100)]
Reduce variable scope - ncrypt/pgp.c
Federico Kircheis [Mon, 5 Mar 2018 18:11:48 +0000 (19:11 +0100)]
Reduce variable scope - ncrypt/crypt_gpgme.c
Federico Kircheis [Mon, 5 Mar 2018 18:03:41 +0000 (19:03 +0100)]
Reduce variable scope - ncrypt/crypt.c
Federico Kircheis [Mon, 5 Mar 2018 17:58:53 +0000 (18:58 +0100)]
Reduce variable scope - mx.c
Federico Kircheis [Mon, 5 Mar 2018 17:56:03 +0000 (18:56 +0100)]
Reduce variable scope - muttlib.c
Federico Kircheis [Mon, 5 Mar 2018 17:55:45 +0000 (18:55 +0100)]
Reduce variable scope - mutt_notmuch.c
Federico Kircheis [Mon, 5 Mar 2018 17:48:59 +0000 (18:48 +0100)]
Reduce variable scope - mutt/rfc2047.c
Federico Kircheis [Mon, 5 Mar 2018 17:39:47 +0000 (18:39 +0100)]
Reduce variable scope - mutt/hash.c
Federico Kircheis [Mon, 5 Mar 2018 17:37:13 +0000 (18:37 +0100)]
Reduce variable scope - mutt/file.c
Federico Kircheis [Mon, 5 Mar 2018 17:34:58 +0000 (18:34 +0100)]
Reduce variable scope - mutt/charset.c
Federico Kircheis [Mon, 5 Mar 2018 17:34:51 +0000 (18:34 +0100)]
Reduce variable scope - mutt/base64.c
Federico Kircheis [Mon, 5 Mar 2018 17:17:44 +0000 (18:17 +0100)]
Reduce variable scope - mh.c
Federico Kircheis [Mon, 5 Mar 2018 17:16:14 +0000 (18:16 +0100)]
Reduce variable scope - menu.c
Federico Kircheis [Mon, 5 Mar 2018 17:10:53 +0000 (18:10 +0100)]
Reduce variable scope - mbox.c
Federico Kircheis [Mon, 5 Mar 2018 17:10:43 +0000 (18:10 +0100)]
Reduce variable scope - main.c
Federico Kircheis [Mon, 5 Mar 2018 17:10:31 +0000 (18:10 +0100)]
Reduce variable scope - init.c
Federico Kircheis [Mon, 5 Mar 2018 18:19:05 +0000 (19:19 +0100)]
Remove unused variable
Federico Kircheis [Mon, 5 Mar 2018 17:50:56 +0000 (18:50 +0100)]
Refactor encode_block
Pietro Cerutti [Mon, 5 Mar 2018 12:47:48 +0000 (12:47 +0000)]
Fallback to C.UTF-8 if en_US.UTF-8 cannot be set
* Fallback to C.UTF-8 if en_US.UTF-8 cannot be set
Issue #1088
Pietro Cerutti [Mon, 5 Mar 2018 12:14:11 +0000 (12:14 +0000)]
notmuch_database_open_verbose is in API 4.2.0 + refactor conditional
Issue #1076
Richard Russon [Tue, 27 Feb 2018 13:29:44 +0000 (13:29 +0000)]
notmuch: stop if db open fails
* If the database open fails, stop
* Use the verbose version of open so we can catch the error message
issue #1076
Richard Russon [Sat, 3 Mar 2018 13:42:42 +0000 (13:42 +0000)]
merge: refactor to reduce variable scope
These changes should not affect the behaviour of the code.
* alias.c
* attach.c
* browser.c
* buffy.c
* color.c
* commands.c
* compose.c
* conn/getdomain.c
* conn/socket.c
* conn/ssl.c
* conn/ssl_gnutls.c
* conn/tunnel.c
* copy.c
* curs_lib.c
* curs_main.c
* doc/makedoc.c
* filter.c
* from.c
* handler.c
* hdrline.c
* header.c
* help.c
* hook.c
* imap/auth_cram.c
* imap/command.c
* imap/imap.c
* imap/util.c
* init.c
* keymap.c
Federico Kircheis [Sat, 3 Mar 2018 08:38:37 +0000 (09:38 +0100)]
Reduce variable scope - keymap.c
Federico Kircheis [Sat, 3 Mar 2018 08:44:21 +0000 (09:44 +0100)]
Reduce variable scope - init.c
Federico Kircheis [Sat, 3 Mar 2018 08:35:42 +0000 (09:35 +0100)]
Reduce variable scope - imap/util.c
Federico Kircheis [Sat, 3 Mar 2018 08:35:37 +0000 (09:35 +0100)]
Reduce variable scope - imap/imap.c
Federico Kircheis [Sat, 3 Mar 2018 08:35:31 +0000 (09:35 +0100)]
Reduce variable scope - imap/command.c
Federico Kircheis [Sat, 3 Mar 2018 08:35:26 +0000 (09:35 +0100)]
Reduce variable scope - imap/auth_cram.c
Federico Kircheis [Sat, 3 Mar 2018 08:29:06 +0000 (09:29 +0100)]
Reduce variable scope - hook.c
Federico Kircheis [Sat, 3 Mar 2018 08:24:36 +0000 (09:24 +0100)]
Reduce variable scope - help.c
Federico Kircheis [Sat, 3 Mar 2018 08:15:56 +0000 (09:15 +0100)]
Reduce variable scope - header.c
Federico Kircheis [Fri, 2 Mar 2018 18:54:47 +0000 (19:54 +0100)]
Reduce variable scope - hdrline.c
Federico Kircheis [Fri, 2 Mar 2018 18:48:26 +0000 (19:48 +0100)]
Reduce variable scope - handler.c
Federico Kircheis [Fri, 2 Mar 2018 18:20:45 +0000 (19:20 +0100)]
Reduce variable scope - from.c
Federico Kircheis [Fri, 2 Mar 2018 18:19:33 +0000 (19:19 +0100)]
Reduce variable scope - filter.c
Federico Kircheis [Fri, 2 Mar 2018 18:19:07 +0000 (19:19 +0100)]
Reduce variable scope - doc/makedoc.c
Federico Kircheis [Thu, 1 Mar 2018 17:08:27 +0000 (18:08 +0100)]
Reduce variable scope - curs_main.c
Federico Kircheis [Thu, 1 Mar 2018 17:07:43 +0000 (18:07 +0100)]
Reduce variable scope - curs_lib.c