[PATCH 1/4] lib: run uncrustify

2021-03-12 Thread David Bremner
From: uncrustify This is the result of running $ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h *.cc in the lib directory --- lib/config.cc | 72 + lib/database.cc | 24 -- lib/directory.cc| 4 ++

[PATCH 3/4] test: run uncrustify

2021-03-12 Thread David Bremner
From: uncrustify This is the result of running: $ uncrustify --replace --config ../devel/uncrustify.cfg *.cc *.c *.h in the test directory. --- test/ghost-report.cc| 1 + test/make-db-version.cc | 1 + test/random-corpus.c| 1 + 3 files changed, 3 insertions(+) diff --git a/test/g

[PATCH 2/4] util: run uncrustify

2021-03-12 Thread David Bremner
From: uncrustify This is the result of running $ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h in the util directory --- util/crypto.c | 18 -- util/crypto.h | 6 -- util/gmime-extra.c | 1 + util/repair.c | 14 -- util/stri

uncrustify all the things

2021-03-12 Thread David Bremner
This replaces and expands id:20210307171658.1084026-1-da...@tethera.net There has been some style drift in the intervening ~ 2 years since we last did these. The addition of a line length limit also triggers some changes. compat and parse-date-time are unchanged since the last uncrustify run. I

[PATCH 4/4] cli: run uncrustify

2021-03-12 Thread David Bremner
From: uncrustify This is the result of running $ uncrustify --replace --config devel/uncrustify.cfg *.c *.h in the top level source directory Line breaks were then adjusted manually to keep argc and argv together. --- command-line-arguments.c | 18 ++- gmime-filter-reply.h

Re: [PATCH] test: clean up some extra whitespace.

2021-03-12 Thread David Bremner
David Bremner writes: > The extra space is mainly just untidy. Applied to master. d ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org

Re: [PATCH] test: T020-compact.sh: fix work directory location

2021-03-12 Thread David Bremner
Tomi Ollila writes: > Fix use of $TEST_DIRECTORY ($NOTMUCH_BUILDDIR/test/) with use of > $TMP_DIRECTORY ($NOTMUCH_BUILDDIR/test/tmp.T020-compact/ in case > of T020-compact.sh) as root directory where to write test files > and directories. Thanks for catching this. I had previously noticed the od

Re: [PATCH] devel/uncrustify: add line length limits.

2021-03-12 Thread David Bremner
David Bremner writes: > A generous limit of 102 is chosen to moderate the amount of resulting > reformatting. applied to master. d ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org