]>
granicus.if.org Git - neomutt/log
Richard Russon [Sat, 13 May 2017 13:23:19 +0000 (14:23 +0100)]
build: light tidy
Richard Russon [Sat, 13 May 2017 13:02:25 +0000 (14:02 +0100)]
build: tidy po/Makevars
Remove all the variables that weren't used.
Remove the obvious comments.
Add a custom build rule to quieten the output.
Richard Russon [Sat, 13 May 2017 13:28:26 +0000 (14:28 +0100)]
build: add silent rules, but default to off
This extends the silent build to all make commands, e.g.
old make output:
```
( \
(gcc -v >/dev/null 2>&1 && gcc -v) || \
(gcc --version >/dev/null 2>&1 && gcc --version) || \
(gcc -V >/dev/null 2>&1 && gcc -V) || \
echo "unknown compiler"; \
) 2>&1 | ./txt2c.sh cc_version >conststrings_c
echo "-Wall -pedantic -Wno-long-long -g -Wall -O0 -Werror=format-security -fno-delete-null-pointer-checks -fno-delete-null-pointer-checks" | ./txt2c.sh cc_cflags >>conststrings_c
grep ac_cs_config= config.status | \
cut -d= -f2- | \
sed -e 's/^"//' -e 's/"$//' | ./txt2c.sh configure_options >>conststrings_c
mv -f conststrings_c conststrings.c
```
new make output:
```
GEN conststrings.c
```
Richard Russon [Sat, 13 May 2017 13:27:38 +0000 (14:27 +0100)]
build: drop docs timestamps
The build of the docs generated several empty timestamp files to keep
track of what had been built. They weren't necessary.
Richard Russon [Sat, 13 May 2017 13:13:22 +0000 (14:13 +0100)]
build: move configure-generated files
This small change moves 6 configure-generated files into a directory we
won't see (.build-aux)
compile
config.guess
config.sub
depcomp
install-sh
missing
Richard Russon [Sat, 13 May 2017 13:10:47 +0000 (14:10 +0100)]
build: update distcheck build flags
"make dist" creates a .tar of the source.
"make distcheck" does a complete build on that .tar
Make sure we have an up-to-date list of configure options.
Richard Russon [Sat, 13 May 2017 13:08:37 +0000 (14:08 +0100)]
build: remove unused definitions
INTLLIBS, INTLDEPS, DEBUGGER aren't used anywhere.
Richard Russon [Sun, 7 May 2017 00:54:44 +0000 (01:54 +0100)]
build: split up mutt.h, protos.h
Move various structs out of mutt.h into their own header files.
Then run IWYU (include-what-you-use) on all files.
Pietro Cerutti [Mon, 15 May 2017 12:14:31 +0000 (12:14 +0000)]
Kill useless crypthash.h file
Richard Russon [Wed, 17 May 2017 16:23:45 +0000 (17:23 +0100)]
merge: typedefs -> plain structs
* ACCOUNT -> struct Account
* ADDRESS -> struct Address
* ALIAS -> struct Alias
* ansi_attr -> struct AnsiAttr
* ATTACH_MATCH -> struct AttachMatch
* ATTACHPTR -> struct AttachPtr
* BODY -> struct Body
* body_cache_t -> struct BodyCache
* BUFFER -> struct Buffer
* BUFFY -> struct Buffy
* CHILD_CTX -> struct ChildCtx
* ciss_url_t -> struct CissUrl
* COLOR_LINE -> struct ColorLine
* COLOR_LIST -> struct ColorList
* compose_redraw_data_t -> struct ComposeRedrawData
* COMPRESS_INFO -> struct CompressInfo
* CONNECTION -> struct Connection
* CONTENT -> struct Content
* CONTENT_STATE -> struct ContentState
* CONTEXT -> struct Context
* crypt_entry_t -> struct CryptEntry
* crypt_key_t -> struct CryptKeyinfo
* crypt_module_t -> struct CryptModule
* ENTER_STATE -> struct EnterState
* ENTRY -> struct Entry
* ENVELOPE -> struct Envelope
* event_t -> struct Event
* FETCH_CTX -> struct FetchCtx
* flowed_state_t -> struct FlowedState
* FOLDER -> struct Folder
* group_t -> struct Group
* group_context_t -> struct GroupContext
* HASH -> struct Hash
* hcache_db_ctx_t -> struct HcacheDbCtx
* hcache_lmdb_ctx_t -> struct HcacheLmdbCtx
* HEADER -> struct Header
* HOOK -> struct Hook
* imap_auth_t -> struct ImapAuth
* IMAP_CACHE -> struct ImapCache
* IMAP_COMMAND -> struct ImapCommand
* IMAP_DATA -> struct ImapData
* IMAP_HEADER -> struct ImapHeader
* IMAP_HEADER_DATA -> struct ImapHeaderData
* IMAP_LIST -> struct ImapList
* IMAP_MBOX -> struct ImapMbox
* IMAP_STATUS -> struct ImapStatus
* LIST -> struct List
* mbchar_table -> struct MbCharTable
* MUTTMENU -> struct Menu
* MESSAGE -> struct Message
* MIXCHAIN -> struct MixChain
* THREAD -> struct MuttThread
* mutt_window_t -> struct MuttWindow
* myvar_t -> struct MyVar
* NEWSRC_ENTRY -> struct NewsrcEntry
* NNTP_ACACHE -> struct NntpAcache
* NNTP_DATA -> struct NntpData
* NNTP_HEADER_DATA -> struct NntpHeaderData
* NNTP_SERVER -> struct NntpServer
* pager_t -> struct Pager
* pager_redraw_data_t -> struct PagerRedrawData
* PARAMETER -> struct Parameter
* pattern_t -> struct Pattern
* pattern_cache_t -> struct PatternCache
* pgp_entry_t -> struct PgpEntry
* pgp_key_t -> struct PgpKeyInfo
* pgp_sig_t -> struct PgpSignature
* pgp_uid_t -> struct PgpUid
* pop_auth_t -> struct PopAuth
* POP_CACHE -> struct PopCache
* POP_DATA -> struct PopData
* progress_t -> struct Progress
* QUERY -> struct Query
* REGEXP -> struct Regex
* REMAILER -> struct Remailer
* REPLACE_LIST -> struct ReplaceList
* rfc1524_entry -> struct Rfc1524MailcapEntry
* RX_LIST -> struct RxList
* SASL_DATA -> struct SaslData
* SBENTRY -> struct SbEntry
* SCORE -> struct Score
* SHA1_CTX -> struct Sha1Ctx
* smime_key_t -> struct SmimeKey
* sslsockdata -> struct SslSockData
* STATE -> struct State
* TUNNEL_DATA -> struct TunnelData
Richard Russon [Tue, 16 May 2017 13:18:39 +0000 (14:18 +0100)]
replace 'TUNNEL_DATA' with 'struct TunnelData'
Richard Russon [Tue, 16 May 2017 13:18:38 +0000 (14:18 +0100)]
replace 'sslsockdata' with 'struct SslSockData'
Richard Russon [Tue, 16 May 2017 13:18:37 +0000 (14:18 +0100)]
replace 'SHA1_CTX' with 'struct Sha1Ctx'
Richard Russon [Tue, 16 May 2017 13:18:37 +0000 (14:18 +0100)]
replace 'SASL_DATA' with 'struct SaslData'
Richard Russon [Tue, 16 May 2017 13:18:36 +0000 (14:18 +0100)]
replace 'POP_DATA' with 'struct PopData'
Richard Russon [Tue, 16 May 2017 13:18:36 +0000 (14:18 +0100)]
replace 'POP_CACHE' with 'struct PopCache'
Richard Russon [Tue, 16 May 2017 13:18:35 +0000 (14:18 +0100)]
replace 'pop_auth_t' with 'struct PopAuth'
Richard Russon [Tue, 16 May 2017 13:18:35 +0000 (14:18 +0100)]
replace 'pattern_cache_t' with 'struct PatternCache'
Richard Russon [Tue, 16 May 2017 13:18:34 +0000 (14:18 +0100)]
replace 'pager_redraw_data_t' with 'struct PagerRedrawData'
Richard Russon [Tue, 16 May 2017 13:18:34 +0000 (14:18 +0100)]
replace 'pager_t' with 'struct Pager'
Richard Russon [Tue, 16 May 2017 13:18:33 +0000 (14:18 +0100)]
replace 'NNTP_SERVER' with 'struct NntpServer'
Richard Russon [Tue, 16 May 2017 13:18:33 +0000 (14:18 +0100)]
replace 'NNTP_HEADER_DATA' with 'struct NntpHeaderData'
Richard Russon [Tue, 16 May 2017 13:18:32 +0000 (14:18 +0100)]
replace 'NNTP_DATA' with 'struct NntpData'
Richard Russon [Tue, 16 May 2017 13:18:31 +0000 (14:18 +0100)]
replace 'NNTP_ACACHE' with 'struct NntpAcache'
Richard Russon [Tue, 16 May 2017 13:18:31 +0000 (14:18 +0100)]
replace 'NEWSRC_ENTRY' with 'struct NewsrcEntry'
Richard Russon [Tue, 16 May 2017 13:18:30 +0000 (14:18 +0100)]
replace 'IMAP_STATUS' with 'struct ImapStatus'
Richard Russon [Tue, 16 May 2017 13:18:30 +0000 (14:18 +0100)]
replace 'IMAP_MBOX' with 'struct ImapMbox'
Richard Russon [Tue, 16 May 2017 13:18:29 +0000 (14:18 +0100)]
replace 'IMAP_LIST' with 'struct ImapList'
Richard Russon [Tue, 16 May 2017 13:18:29 +0000 (14:18 +0100)]
replace 'IMAP_HEADER' with 'struct ImapHeader'
Richard Russon [Tue, 16 May 2017 13:18:28 +0000 (14:18 +0100)]
replace 'IMAP_DATA' with 'struct ImapData'
Richard Russon [Tue, 16 May 2017 13:18:28 +0000 (14:18 +0100)]
replace 'IMAP_COMMAND' with 'struct ImapCommand'
Richard Russon [Tue, 16 May 2017 13:18:27 +0000 (14:18 +0100)]
replace 'IMAP_CACHE' with 'struct ImapCache'
Richard Russon [Tue, 16 May 2017 13:18:27 +0000 (14:18 +0100)]
replace 'imap_auth_t' with 'struct ImapAuth'
Richard Russon [Tue, 16 May 2017 13:18:26 +0000 (14:18 +0100)]
replace 'hcache_lmdb_ctx_t' with 'struct HcacheLmdbCtx'
Richard Russon [Tue, 16 May 2017 13:18:26 +0000 (14:18 +0100)]
replace 'hcache_db_ctx_t' with 'struct HcacheDbCtx'
Richard Russon [Tue, 16 May 2017 13:18:25 +0000 (14:18 +0100)]
replace 'FETCH_CTX' with 'struct FetchCtx'
Richard Russon [Tue, 16 May 2017 13:18:25 +0000 (14:18 +0100)]
replace 'event_t' with 'struct Event'
Richard Russon [Tue, 16 May 2017 13:18:24 +0000 (14:18 +0100)]
replace 'CONTENT_STATE' with 'struct ContentState'
Richard Russon [Tue, 16 May 2017 13:18:24 +0000 (14:18 +0100)]
replace 'COMPRESS_INFO' with 'struct CompressInfo'
Richard Russon [Tue, 16 May 2017 13:18:23 +0000 (14:18 +0100)]
replace 'compose_redraw_data_t' with 'struct ComposeRedrawData'
Richard Russon [Tue, 16 May 2017 13:18:22 +0000 (14:18 +0100)]
replace 'CHILD_CTX' with 'struct ChildCtx'
Richard Russon [Tue, 16 May 2017 13:18:22 +0000 (14:18 +0100)]
replace 'ATTACH_MATCH' with 'struct AttachMatch'
Richard Russon [Tue, 16 May 2017 01:05:37 +0000 (02:05 +0100)]
replace 'smime_key_t' with 'struct SmimeKey'
Richard Russon [Tue, 16 May 2017 01:05:26 +0000 (02:05 +0100)]
replace 'SCORE' with 'struct Score'
Richard Russon [Tue, 16 May 2017 01:05:11 +0000 (02:05 +0100)]
replace 'SBENTRY' with 'struct SbEntry'
Richard Russon [Tue, 16 May 2017 01:05:05 +0000 (02:05 +0100)]
replace 'rfc1524_entry' with 'struct Rfc1524MailcapEntry'
Richard Russon [Tue, 16 May 2017 01:04:50 +0000 (02:04 +0100)]
replace 'REMAILER' with 'struct Remailer'
Richard Russon [Tue, 16 May 2017 01:04:44 +0000 (02:04 +0100)]
replace 'QUERY' with 'struct Query'
Richard Russon [Tue, 16 May 2017 01:04:37 +0000 (02:04 +0100)]
replace 'pgp_uid_t' with 'struct PgpUid'
Richard Russon [Tue, 16 May 2017 01:04:25 +0000 (02:04 +0100)]
replace 'pgp_sig_t' with 'struct PgpSignature'
Richard Russon [Tue, 16 May 2017 01:04:20 +0000 (02:04 +0100)]
replace 'pgp_entry_t' with 'struct PgpEntry'
Richard Russon [Tue, 16 May 2017 01:04:15 +0000 (02:04 +0100)]
replace 'myvar_t' with 'struct MyVar'
Richard Russon [Tue, 16 May 2017 01:04:02 +0000 (02:04 +0100)]
replace 'MIXCHAIN' with 'struct MixChain'
Richard Russon [Tue, 16 May 2017 01:03:38 +0000 (02:03 +0100)]
replace 'IMAP_HEADER_DATA' with 'struct ImapHeaderData'
Richard Russon [Tue, 16 May 2017 01:03:12 +0000 (02:03 +0100)]
replace 'HOOK' with 'struct Hook'
Richard Russon [Tue, 16 May 2017 01:02:58 +0000 (02:02 +0100)]
replace 'group_context_t' with 'struct GroupContext'
Richard Russon [Tue, 16 May 2017 01:02:53 +0000 (02:02 +0100)]
replace 'FOLDER' with 'struct Folder'
Richard Russon [Tue, 16 May 2017 01:02:11 +0000 (02:02 +0100)]
replace 'flowed_state_t' with 'struct FlowedState'
Richard Russon [Tue, 16 May 2017 01:01:55 +0000 (02:01 +0100)]
replace 'ENTRY' with 'struct Entry'
Richard Russon [Tue, 16 May 2017 01:07:33 +0000 (02:07 +0100)]
replace 'crypt_module_t' with 'struct CryptModule'
Richard Russon [Tue, 16 May 2017 01:01:38 +0000 (02:01 +0100)]
replace 'crypt_key_t' with 'struct CryptKeyinfo'
Richard Russon [Tue, 16 May 2017 01:01:27 +0000 (02:01 +0100)]
replace 'crypt_entry_t' with 'struct CryptEntry'
Richard Russon [Tue, 16 May 2017 01:01:20 +0000 (02:01 +0100)]
replace 'COLOR_LIST' with 'struct ColorList'
Richard Russon [Tue, 16 May 2017 01:01:05 +0000 (02:01 +0100)]
replace 'COLOR_LINE' with 'struct ColorLine'
Richard Russon [Tue, 16 May 2017 01:00:58 +0000 (02:00 +0100)]
replace 'ansi_attr' with 'struct AnsiAttr'
Richard Russon [Mon, 15 May 2017 13:51:38 +0000 (14:51 +0100)]
replace 'STATE' with 'struct State'
Richard Russon [Mon, 15 May 2017 13:51:09 +0000 (14:51 +0100)]
replace 'RX_LIST' with 'struct RxList'
Richard Russon [Mon, 15 May 2017 13:50:41 +0000 (14:50 +0100)]
replace 'REPLACE_LIST' with 'struct ReplaceList'
Richard Russon [Mon, 15 May 2017 13:50:07 +0000 (14:50 +0100)]
replace 'REGEXP' with 'struct Regex'
Richard Russon [Mon, 15 May 2017 13:49:35 +0000 (14:49 +0100)]
replace 'progress_t' with 'struct Progress'
Richard Russon [Mon, 15 May 2017 13:48:57 +0000 (14:48 +0100)]
replace 'pgp_key_t' with 'struct PgpKeyInfo'
Richard Russon [Mon, 15 May 2017 13:47:44 +0000 (14:47 +0100)]
replace 'pattern_t' with 'struct Pattern'
Richard Russon [Mon, 15 May 2017 13:47:06 +0000 (14:47 +0100)]
replace 'PARAMETER' with 'struct Parameter'
Richard Russon [Mon, 15 May 2017 13:46:34 +0000 (14:46 +0100)]
replace 'mutt_window_t' with 'struct MuttWindow'
Richard Russon [Mon, 15 May 2017 13:45:49 +0000 (14:45 +0100)]
replace 'THREAD' with 'struct MuttThread'
Richard Russon [Mon, 15 May 2017 13:44:05 +0000 (14:44 +0100)]
replace 'MESSAGE' with 'struct Message'
Richard Russon [Mon, 15 May 2017 13:43:38 +0000 (14:43 +0100)]
replace 'MUTTMENU' with 'struct Menu'
Richard Russon [Mon, 15 May 2017 13:42:40 +0000 (14:42 +0100)]
replace 'mbchar_table' with 'struct MbCharTable'
Richard Russon [Mon, 15 May 2017 13:41:57 +0000 (14:41 +0100)]
replace 'LIST' with 'struct List'
Richard Russon [Mon, 15 May 2017 13:41:30 +0000 (14:41 +0100)]
replace 'HEADER' with 'struct Header'
Richard Russon [Mon, 15 May 2017 13:40:43 +0000 (14:40 +0100)]
replace 'HASH' with 'struct Hash'
Richard Russon [Mon, 15 May 2017 13:40:13 +0000 (14:40 +0100)]
replace 'group_t' with 'struct Group'
Richard Russon [Mon, 15 May 2017 13:39:37 +0000 (14:39 +0100)]
replace 'ENVELOPE' with 'struct Envelope'
Richard Russon [Mon, 15 May 2017 13:38:42 +0000 (14:38 +0100)]
replace 'ENTER_STATE' with 'struct EnterState'
Richard Russon [Mon, 15 May 2017 13:37:51 +0000 (14:37 +0100)]
replace 'CONTEXT' with 'struct Context'
Richard Russon [Mon, 15 May 2017 13:37:27 +0000 (14:37 +0100)]
replace 'CONTENT' with 'struct Content'
Richard Russon [Mon, 15 May 2017 13:36:37 +0000 (14:36 +0100)]
replace 'CONNECTION' with 'struct Connection'
Richard Russon [Mon, 15 May 2017 13:35:57 +0000 (14:35 +0100)]
replace 'ciss_url_t' with 'struct CissUrl'
Richard Russon [Mon, 15 May 2017 13:34:43 +0000 (14:34 +0100)]
replace 'BUFFY' with 'struct Buffy'
Richard Russon [Mon, 15 May 2017 13:33:13 +0000 (14:33 +0100)]
replace 'BUFFER' with 'struct Buffer'
Richard Russon [Mon, 15 May 2017 13:32:25 +0000 (14:32 +0100)]
replace 'body_cache_t' with 'struct BodyCache'
Richard Russon [Mon, 15 May 2017 13:30:55 +0000 (14:30 +0100)]
replace 'BODY' with 'struct Body'
Richard Russon [Mon, 15 May 2017 13:30:05 +0000 (14:30 +0100)]
replace 'ATTACHPTR' with 'struct AttachPtr'
Richard Russon [Mon, 15 May 2017 13:29:20 +0000 (14:29 +0100)]
replace 'ALIAS' with 'struct Alias'
Richard Russon [Mon, 15 May 2017 13:26:56 +0000 (14:26 +0100)]
replace 'ADDRESS' with 'struct Address'
Richard Russon [Mon, 15 May 2017 13:25:32 +0000 (14:25 +0100)]
replace 'ACCOUNT' with 'struct Account'
guyzmo [Sat, 13 May 2017 12:50:25 +0000 (14:50 +0200)]
Fix missing NONULL for mutt.set() in Lua (#578)
fixes #567
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
Richard Russon [Fri, 12 May 2017 15:13:42 +0000 (16:13 +0100)]
build: fix the git_ver.h dependencies
Before, 'git_ver.h' was always considered out-of-date.
That meant that main.c kept being recompiled.
Now, the state of git is checked, but if nothing has changed, nothing
will be rebuilt.
Richard Russon [Fri, 12 May 2017 15:13:37 +0000 (16:13 +0100)]
build: only compile hcache on request
If none of the header cache backends are requested, don't go into the
hcache dir.
Richard Russon [Thu, 11 May 2017 14:28:34 +0000 (15:28 +0100)]
coverity: fix defects
Most of these trivial problems were discovered when NNTP got enabled in
the default build.
- dereference after null check
- resource leak
- uninit pointer
- uninit var
- unused value