]> granicus.if.org Git - neomutt/log
neomutt
7 years agoKill autotools (#994)
Pietro Cerutti [Tue, 12 Dec 2017 12:22:47 +0000 (12:22 +0000)]
Kill autotools (#994)

7 years agoman: "mutt" --> "neomutt"
Tobias Angele [Mon, 11 Dec 2017 15:32:12 +0000 (16:32 +0100)]
man: "mutt" --> "neomutt"

* man: "mutt" --> "neomutt"
* man: fix debug file and bug tracking system
* man: fix file reference
* Makefile uses lower-case files.
* man: update bugs section, update references

7 years agoNeoMutt 2017-12-08 neomutt-20171208
Richard Russon [Fri, 8 Dec 2017 16:53:17 +0000 (16:53 +0000)]
NeoMutt 2017-12-08

7 years agoupdate translations
Richard Russon [Fri, 8 Dec 2017 16:47:49 +0000 (16:47 +0000)]
update translations

7 years agoclang-format
Richard Russon [Fri, 8 Dec 2017 16:37:39 +0000 (16:37 +0000)]
clang-format

7 years agoupdate mailmap
Richard Russon [Fri, 8 Dec 2017 16:32:29 +0000 (16:32 +0000)]
update mailmap

7 years agoupdate credits
Richard Russon [Fri, 8 Dec 2017 15:36:58 +0000 (15:36 +0000)]
update credits

7 years agoupdate changelog
Richard Russon [Fri, 8 Dec 2017 15:36:51 +0000 (15:36 +0000)]
update changelog

7 years agoversion 2017-12-08
Richard Russon [Fri, 8 Dec 2017 13:58:31 +0000 (13:58 +0000)]
version 2017-12-08

7 years agoUpdate autosetup to latest master
Julian Andres Klode [Sun, 26 Nov 2017 11:37:25 +0000 (12:37 +0100)]
Update autosetup to latest master

Update autosetup to commit b5a0e85d87a46d931ff1e4f8e5de8cd5307f93ba
- this makes it accept --enable-silent-rules and --disable-silent-rules
amongst other things, as requested in
https://github.com/msteveb/autosetup/issues/33

7 years agoInstall stuff to $(PACKAGE) in $(libexecdir), not $(libdir)
Julian Andres Klode [Sun, 26 Nov 2017 11:30:48 +0000 (12:30 +0100)]
Install stuff to $(PACKAGE) in $(libexecdir), not $(libdir)

This does not really make a huge difference, probably, but it
is infinitely more correct.

7 years agoDefine prefix in Makefile.autosetup
Julian Andres Klode [Sun, 26 Nov 2017 11:26:30 +0000 (12:26 +0100)]
Define prefix in Makefile.autosetup

Debian tools and probably other tools too pass arguments like
--mandir=\${prefix}/share/man
to configure. The prefix survives the output into the Makefile,
therefore, we need to define prefix in the Makefile too.

7 years agobuild: moved the check for idn before the check for notmuch
Andreas Rammhold [Sun, 3 Dec 2017 22:28:04 +0000 (23:28 +0100)]
build: moved the check for idn before the check for notmuch

(original version from @gahr see [1])

[1] https://github.com/neomutt/neomutt/pull/771#issuecomment-342147768

7 years agoFix segfault when pipe'ing a deleted message
Pietro Cerutti [Thu, 28 Sep 2017 12:06:51 +0000 (12:06 +0000)]
Fix segfault when pipe'ing a deleted message

Fixes #796

7 years agoSupport reading FQDN from mailname files
Pietro Cerutti [Fri, 1 Dec 2017 15:49:15 +0000 (15:49 +0000)]
Support reading FQDN from mailname files

Currently, we support reading from /etc/mailname and /etc/mail/mailname.
Adding support for more files is trivial. Reading these files is only
done if NeoMutt was configured without the --with-domain option.

Issue #974

7 years agorestore folder settings after folder-hook
Richard Russon [Sun, 3 Dec 2017 00:00:38 +0000 (00:00 +0000)]
restore folder settings after folder-hook

Issue #866 (4aaf1ef7) fixed a problem where the folder-hook wasn't being
called for the 'fcc' (sent mail folder).

If we run the folder-hook for the fcc folder, we must run the
folder-hook for the current folder afterwards.

Fixes #977

7 years agomerge: minor code improvements
Richard Russon [Thu, 7 Dec 2017 12:21:22 +0000 (12:21 +0000)]
merge: minor code improvements

 * fix camelCase variable names
 * rename variables starting with a underscore
 * minor code fixes
 * return early where possible

7 years agoreturn early where possible
Richard Russon [Mon, 4 Dec 2017 23:46:04 +0000 (23:46 +0000)]
return early where possible

7 years agominor code fixes
Richard Russon [Sun, 3 Dec 2017 02:39:14 +0000 (02:39 +0000)]
minor code fixes

7 years agorename variables starting with a underscore
Richard Russon [Wed, 6 Dec 2017 14:25:02 +0000 (14:25 +0000)]
rename variables starting with a underscore

7 years agofix camelCase variable names
Richard Russon [Wed, 6 Dec 2017 00:36:00 +0000 (00:36 +0000)]
fix camelCase variable names

Local variable names should be lower case (with optional underscores).

7 years agoadd sleep after SMTP error
Richard Russon [Mon, 4 Dec 2017 14:29:06 +0000 (14:29 +0000)]
add sleep after SMTP error

Fixes #982

7 years agomerge: add charset functions to libmutt
Richard Russon [Mon, 4 Dec 2017 14:53:57 +0000 (14:53 +0000)]
merge: add charset functions to libmutt

 * move charset functions to libmutt
 * standardise the naming of the charset functions
 * add doxygen comments

7 years agoadd doxygen comments
Richard Russon [Sun, 26 Nov 2017 23:24:03 +0000 (23:24 +0000)]
add doxygen comments

7 years agostandardise the naming of the charset functions
Richard Russon [Sun, 26 Nov 2017 23:11:52 +0000 (23:11 +0000)]
standardise the naming of the charset functions

7 years agomove charset functions to libmutt
Richard Russon [Wed, 22 Nov 2017 17:26:52 +0000 (17:26 +0000)]
move charset functions to libmutt

7 years agogithub: make removal of irrelevant sections easier
toogley [Sat, 2 Dec 2017 19:51:50 +0000 (20:51 +0100)]
github: make removal of irrelevant sections easier

When users remove the irrelevant things for their issue, they often
leave the indentation of the nested list. That causes github to render
those lines as code instead of markdown list items.

7 years agoFixup smart modify-labels-then-hide for !tag case (#975)
Julian Andres Klode [Fri, 1 Dec 2017 12:32:38 +0000 (13:32 +0100)]
Fixup smart modify-labels-then-hide for !tag case (#975)

The code used to automatically handle setting the quasi delete
state to whether the message is still visible after performing
the change.

This was broken for the !tag case in

commit 7d151fd0919f6cc7ba9cdc1e7de90697c66dce43
Author: Mehdi Abaakouk <sileht@sileht.net>
Date:   Tue Feb 21 10:50:35 2017 +0100

    Share label editing between imap/notmuch

Which replaced the !still_visible with simply true.

7 years agomodify gpg.rc to accommodate GPG 2.1 changes 949/head
Bletchley Park [Sun, 12 Nov 2017 17:31:57 +0000 (18:31 +0100)]
modify gpg.rc to accommodate GPG 2.1 changes

7 years agoremove debug/logging from makefile/configure 625/head
toogley [Sat, 10 Jun 2017 20:25:35 +0000 (22:25 +0200)]
remove debug/logging from makefile/configure

7 years agodrop #ifdef DEBUG
toogley [Sat, 10 Jun 2017 20:25:35 +0000 (22:25 +0200)]
drop #ifdef DEBUG

7 years agoDon't clear the macro buffer during startup 818/head
Richard Russon [Wed, 4 Oct 2017 01:07:20 +0000 (02:07 +0100)]
Don't clear the macro buffer during startup

* Move the folder hook after the folder has been opened
* Prevent a SIGWINCH during startup from clearing the macro buffer

Fixes #227

7 years agobuild: restore externs 937/head
Richard Russon [Thu, 9 Nov 2017 12:35:02 +0000 (12:35 +0000)]
build: restore externs

The MacOS build failed, with linker errors for libconn's global
variables.

By initialising them, we hope to force the linker to use them.

7 years agoFix reference to neomuttrc
Pietro Cerutti [Wed, 29 Nov 2017 10:55:26 +0000 (10:55 +0000)]
Fix reference to neomuttrc

7 years agomerge: refactor and document email functions
Richard Russon [Wed, 29 Nov 2017 01:13:47 +0000 (01:13 +0000)]
merge: refactor and document email functions

 * move functions to mutt_address.c
 * rename rfc822.c to address.c
 * move rfc822_new_address to address.c
 * standardise the address functions
 * standardise the envelope functions
 * standardise the parameter functions
 * move address functions
 * move envelope function
 * move parameter functions
 * rename mutt_tags to tags
 * add comments
 * rename rfc822 constants
 * minor tidying/boolification
 * move statics first

7 years agomove statics first
Richard Russon [Wed, 29 Nov 2017 01:13:11 +0000 (01:13 +0000)]
move statics first

7 years agominor tidying/boolification
Richard Russon [Wed, 29 Nov 2017 00:13:59 +0000 (00:13 +0000)]
minor tidying/boolification

7 years agorename rfc822 constants
Richard Russon [Tue, 28 Nov 2017 23:25:50 +0000 (23:25 +0000)]
rename rfc822 constants

7 years agoadd comments
Richard Russon [Tue, 28 Nov 2017 22:48:08 +0000 (22:48 +0000)]
add comments

7 years agorename mutt_tags to tags
Richard Russon [Tue, 28 Nov 2017 21:44:33 +0000 (21:44 +0000)]
rename mutt_tags to tags

7 years agomove parameter functions
Richard Russon [Tue, 28 Nov 2017 20:42:22 +0000 (20:42 +0000)]
move parameter functions

7 years agomove envelope function
Richard Russon [Tue, 28 Nov 2017 20:38:45 +0000 (20:38 +0000)]
move envelope function

7 years agomove address functions
Richard Russon [Tue, 28 Nov 2017 20:21:44 +0000 (20:21 +0000)]
move address functions

7 years agostandardise the parameter functions
Richard Russon [Tue, 28 Nov 2017 19:36:31 +0000 (19:36 +0000)]
standardise the parameter functions

7 years agostandardise the envelope functions
Richard Russon [Tue, 28 Nov 2017 19:25:12 +0000 (19:25 +0000)]
standardise the envelope functions

7 years agostandardise the address functions
Richard Russon [Tue, 28 Nov 2017 19:08:21 +0000 (19:08 +0000)]
standardise the address functions

7 years agomove rfc822_new_address to address.c
Richard Russon [Tue, 28 Nov 2017 15:25:35 +0000 (15:25 +0000)]
move rfc822_new_address to address.c

7 years agorename rfc822.c to address.c
Richard Russon [Tue, 28 Nov 2017 15:16:06 +0000 (15:16 +0000)]
rename rfc822.c to address.c

7 years agomove functions to mutt_address.c
Richard Russon [Tue, 28 Nov 2017 15:01:16 +0000 (15:01 +0000)]
move functions to mutt_address.c

7 years agoDon't do I/O in a signal handler
Richard Russon [Tue, 28 Nov 2017 13:13:23 +0000 (13:13 +0000)]
Don't do I/O in a signal handler

7 years agoRemove unused parameters
Richard Russon [Tue, 28 Nov 2017 11:53:18 +0000 (11:53 +0000)]
Remove unused parameters

* curs_main.c main_change_folder(flags)
* imap/imap.c imap_buffy_check(force)
* init.c mutt_nm_tag_complete(pos)
* ncrypt/crypt_gpgme.c verify_sender(protocol)
* recvcmd.c attach_forward_bodies(flags)
* mutt/file.c mutt_file_lock(path)
* mutt/file.c mutt_file_unlock(path)
* recvcmd.c mutt_attach_bounce(hdr)
* recvcmd.c mutt_attach_resend(hdr)
* recvcmd.c attach_forward_msgs(hdr)
* recvcmd.c attach_include_reply(flags)
* send.c mutt_make_misc_reply_headers(hdr,ctx)
* sendlib.c encode_8bit(istext)

7 years agoAdd the missing debug macro
Richard Russon [Mon, 27 Nov 2017 16:23:03 +0000 (16:23 +0000)]
Add the missing debug macro

The vital macro got lost from the earlier commit.

7 years agoFix stdout + stderr redirection in hcachever.sh
Pietro Cerutti [Mon, 27 Nov 2017 16:31:11 +0000 (16:31 +0000)]
Fix stdout + stderr redirection in hcachever.sh

7 years agomerge: more additions to libmutt
Richard Russon [Mon, 27 Nov 2017 00:09:26 +0000 (00:09 +0000)]
merge: more additions to libmutt

 * move signal functions to libmutt
 * standardise the naming of the signal functions
 * move exit syslist to libmutt
 * factor out ICONV_CONST from headers

7 years agofactor out ICONV_CONST from headers
Richard Russon [Wed, 22 Nov 2017 22:45:12 +0000 (22:45 +0000)]
factor out ICONV_CONST from headers

7 years agomove exit syslist to libmutt
Richard Russon [Fri, 24 Nov 2017 01:59:47 +0000 (01:59 +0000)]
move exit syslist to libmutt

7 years agostandardise the naming of the signal functions
Richard Russon [Thu, 23 Nov 2017 16:06:13 +0000 (16:06 +0000)]
standardise the naming of the signal functions

7 years agomove signal functions to libmutt
Richard Russon [Thu, 23 Nov 2017 02:32:06 +0000 (02:32 +0000)]
move signal functions to libmutt

7 years agodebug: Strip function names from debug messages 950/head
Richard Russon [Sun, 12 Nov 2017 20:33:32 +0000 (20:33 +0000)]
debug: Strip function names from debug messages

7 years agodebug: replace mutt_debug with a macro
Richard Russon [Wed, 13 Sep 2017 15:26:41 +0000 (16:26 +0100)]
debug: replace mutt_debug with a macro

The macro passes the file and line number to mutt_debug_real().

7 years agomerge: standardise the string formatting functions
Richard Russon [Sun, 26 Nov 2017 22:48:58 +0000 (22:48 +0000)]
merge: standardise the string formatting functions

There are lots of callback functions used by `mutt_expando_format()`.
These commits make sure they all have similar names and have similarly
named parameters and variables.

 * rename formatting functions
 * rename format parameters/variables
 * update format function comments
 * rearrange switch statements in format functions
 * light tidy of format functions

7 years agolight tidy of format functions
Richard Russon [Sun, 26 Nov 2017 02:53:14 +0000 (02:53 +0000)]
light tidy of format functions

7 years agorearrange switch statements in format functions
Richard Russon [Sun, 26 Nov 2017 02:44:39 +0000 (02:44 +0000)]
rearrange switch statements in format functions

7 years agoupdate format function comments
Richard Russon [Sun, 26 Nov 2017 02:32:18 +0000 (02:32 +0000)]
update format function comments

7 years agorename format parameters/variables
Richard Russon [Sun, 26 Nov 2017 02:28:55 +0000 (02:28 +0000)]
rename format parameters/variables

7 years agorename formatting functions
Richard Russon [Sun, 26 Nov 2017 01:30:53 +0000 (01:30 +0000)]
rename formatting functions

7 years agomerge: rename some variables
Richard Russon [Sun, 26 Nov 2017 22:46:28 +0000 (22:46 +0000)]
merge: rename some variables

The majority of the code uses the variable name 'buf' for a char buffer.
Most return-code variables are called 'rc'.

This mass rename makes the code more consistent.

 * buff -> buf
 * ret -> rc
 * rv -> rc

7 years agorename variables: rv -> rc
Richard Russon [Fri, 24 Nov 2017 15:45:50 +0000 (15:45 +0000)]
rename variables: rv -> rc

7 years agorename variables: ret -> rc
Richard Russon [Fri, 24 Nov 2017 15:39:49 +0000 (15:39 +0000)]
rename variables: ret -> rc

7 years agorename variables: buff -> buf
Richard Russon [Fri, 24 Nov 2017 15:27:25 +0000 (15:27 +0000)]
rename variables: buff -> buf

7 years agomerge: trivial code improvements
Richard Russon [Sun, 26 Nov 2017 22:45:04 +0000 (22:45 +0000)]
merge: trivial code improvements

 * drop unused code in #if 0
 * doxygen: fix comments
 * fix shadow variable
 * drop duplicate prototype
 * remove unnecessary alloc checks
 * add logging around getaddrinfo()

7 years agoadd logging around getaddrinfo()
Richard Russon [Thu, 23 Nov 2017 20:25:48 +0000 (20:25 +0000)]
add logging around getaddrinfo()

If the user's networking isn't set up correctly, this call can
potentially take several seconds to timeout.

7 years agoremove unnecessary alloc checks
Richard Russon [Tue, 21 Nov 2017 16:59:48 +0000 (16:59 +0000)]
remove unnecessary alloc checks

7 years agodrop duplicate prototype
Richard Russon [Thu, 16 Nov 2017 23:35:50 +0000 (23:35 +0000)]
drop duplicate prototype

7 years agofix shadow variable
Richard Russon [Thu, 16 Nov 2017 03:21:55 +0000 (03:21 +0000)]
fix shadow variable

7 years agodoxygen: fix comments
Richard Russon [Thu, 16 Nov 2017 03:19:44 +0000 (03:19 +0000)]
doxygen: fix comments

7 years agodrop unused code in #if 0
Richard Russon [Fri, 24 Nov 2017 15:07:54 +0000 (15:07 +0000)]
drop unused code in #if 0

7 years agomerge: code style improvements
Richard Russon [Sun, 26 Nov 2017 22:39:41 +0000 (22:39 +0000)]
merge: code style improvements

 * standardise infinite loops
 * fix justify constants
 * insert braces
 * split ifs
 * fallthrough

7 years agoFix ansi escape sequences with both reset and color parameters
Kevin McCarthy [Sun, 19 Nov 2017 03:13:08 +0000 (19:13 -0800)]
Fix ansi escape sequences with both reset and color parameters

The initial 0 "reset/normal" was setting attr = ANSI_OFF, which was
subsequently being or'ed with ANSI_COLOR.

The color resolution was then checking for the ANSI_OFF bit and
turning all coloring off, even though ANSI_COLOR was also set.

Change the color resolution to check for "attr == ANSI_OFF" instead, so
the color isn't reset unless the reset occurs last in the sequence.

(closes #3689)

7 years agofallthrough
Richard Russon [Sat, 25 Nov 2017 00:18:30 +0000 (00:18 +0000)]
fallthrough

7 years agotidy: clang-format
Richard Russon [Thu, 23 Nov 2017 15:48:25 +0000 (15:48 +0000)]
tidy: clang-format

7 years agosplit ifs
Richard Russon [Fri, 24 Nov 2017 16:49:23 +0000 (16:49 +0000)]
split ifs

7 years agoinsert braces
Richard Russon [Fri, 24 Nov 2017 14:46:24 +0000 (14:46 +0000)]
insert braces

7 years agofix justify constants
Richard Russon [Fri, 24 Nov 2017 15:14:33 +0000 (15:14 +0000)]
fix justify constants

7 years agostandardise infinite loops
Richard Russon [Fri, 24 Nov 2017 14:13:02 +0000 (14:13 +0000)]
standardise infinite loops

7 years agofix out-of-tree builds
Richard Russon [Wed, 22 Nov 2017 00:48:48 +0000 (00:48 +0000)]
fix out-of-tree builds

7 years agoRemove vim syntax file from the main repo
Guillaume Brogi [Tue, 21 Nov 2017 10:56:03 +0000 (11:56 +0100)]
Remove vim syntax file from the main repo

The syntax file is now in an extension at https://github.com/neomutt/neomutt.vim

7 years agoMigrate code to use mutt_file_chmod{,_add,_rm} functions
Reis Radomil [Sat, 18 Nov 2017 16:47:32 +0000 (17:47 +0100)]
Migrate code to use mutt_file_chmod{,_add,_rm} functions

Migrate the old code to use the new functions mutt_file_chmod(),
mutt_file_chmod_add(), mutt_file_chmod_rm() instead of plain chmod().

7 years agoAdd chmod() wrappers to library
Reis Radomil [Sat, 18 Nov 2017 08:40:25 +0000 (09:40 +0100)]
Add chmod() wrappers to library

Add functions for changing/adding/removing permissions of files.

mutt_file_chmod          - set permissions
mutt_file_chmod_add      - add permissions
mutt_file_chmod_add_stat - add permissions
mutt_file_chmod_rm       - remove permissions
mutt_file_chmod_rm_stat  - remove permissions

The *_stat functions accept an additional optional stat structure
parameter, which must point to the stat structure of the file.
Using the *_stat functions can save a call to stat() as the stat
structure does not need to be queried by the mutt_file_chmod_* function.

7 years agobuild: fix update-po target
Richard Russon [Thu, 16 Nov 2017 23:31:57 +0000 (23:31 +0000)]
build: fix update-po target

7 years agomerge: Standardise the names of the muttlib functions
Richard Russon [Thu, 16 Nov 2017 17:37:04 +0000 (17:37 +0000)]
merge: Standardise the names of the muttlib functions

 * rename lib to mutt
 * rename base64 functions
 * rename buffer functions
 * rename date functions
 * rename file functions
 * rename hash functions
 * rename list functions
 * rename mapping functions
 * rename mbyte functions
 * rename md5 functions
 * rename memory functions
 * rename sha1 functions
 * rename string functions

7 years agorename string functions 955/head
Richard Russon [Thu, 16 Nov 2017 01:37:37 +0000 (01:37 +0000)]
rename string functions

7 years agorename sha1 functions
Richard Russon [Thu, 16 Nov 2017 01:37:19 +0000 (01:37 +0000)]
rename sha1 functions

7 years agorename memory functions
Richard Russon [Thu, 16 Nov 2017 01:36:55 +0000 (01:36 +0000)]
rename memory functions

7 years agorename md5 functions
Richard Russon [Thu, 16 Nov 2017 01:36:39 +0000 (01:36 +0000)]
rename md5 functions

7 years agorename mbyte functions
Richard Russon [Thu, 16 Nov 2017 02:30:25 +0000 (02:30 +0000)]
rename mbyte functions

7 years agorename mapping functions
Richard Russon [Thu, 16 Nov 2017 01:36:21 +0000 (01:36 +0000)]
rename mapping functions

7 years agorename list functions
Richard Russon [Thu, 16 Nov 2017 02:22:46 +0000 (02:22 +0000)]
rename list functions

7 years agorename hash functions
Richard Russon [Thu, 16 Nov 2017 01:36:11 +0000 (01:36 +0000)]
rename hash functions

7 years agorename file functions
Richard Russon [Thu, 16 Nov 2017 02:07:04 +0000 (02:07 +0000)]
rename file functions