]> granicus.if.org Git - neomutt/log
neomutt
5 years agoImplement mutt_date_epoch() 1848/head
Pietro Cerutti [Mon, 2 Sep 2019 09:44:21 +0000 (09:44 +0000)]
Implement mutt_date_epoch()

Closes: #1824
- Use mutt_date_epoch() instead of time()
- Use mutt_date_epoch_ms in progress
- Undo type conversion, avoid double call to mutt_date_epoch
- Give a magic number a name

5 years agoconfig: don't dump deprecated items
Richard Russon [Mon, 9 Sep 2019 10:31:09 +0000 (11:31 +0100)]
config: don't dump deprecated items

5 years agotrans: remove two auto-generated files
Richard Russon [Mon, 9 Sep 2019 10:44:48 +0000 (11:44 +0100)]
trans: remove two auto-generated files

5 years agoUpdate autosetup
Pietro Cerutti [Mon, 9 Sep 2019 10:38:40 +0000 (10:38 +0000)]
Update autosetup

5 years agoupdate translations
Marius Gedminas [Mon, 9 Sep 2019 10:23:37 +0000 (13:23 +0300)]
update translations

5 years agosync translations
Marius Gedminas [Mon, 9 Sep 2019 10:23:25 +0000 (13:23 +0300)]
sync translations

5 years agoUpdate zh_CN translation
Zero King [Sun, 8 Sep 2019 18:38:33 +0000 (18:38 +0000)]
Update zh_CN translation

5 years agoUpdate zh_CN translation
Zero King [Sun, 8 Sep 2019 18:30:34 +0000 (18:30 +0000)]
Update zh_CN translation

5 years agozh_CN.po: save with Poedit
Zero King [Sun, 8 Sep 2019 18:05:24 +0000 (18:05 +0000)]
zh_CN.po: save with Poedit

5 years agode.po: proper translation for term collapse
Olaf Hering [Wed, 28 Aug 2019 20:22:10 +0000 (20:22 +0000)]
de.po: proper translation for term collapse

The intention of the term "collapse" is something like opening and
closing an item. The initial translation which was added two decades
ago means something like "breaks by weakness", which does not fit in
the context of mutt.

Use a term which means literally "opening and closing an item, like a
book".

Signed-off-by: Olaf Hering <olaf@aepfle.de>
5 years agoUpdate lt_LT translations
Marius Gedminas [Tue, 3 Sep 2019 12:59:49 +0000 (15:59 +0300)]
Update lt_LT translations

Translated the new autocrypt feature that I've never actually seen in
the UI (because I'm running the latest stable neomutt release because
stability is important to me).  So I'm sure the translation is excellent
and completely error-free.

5 years agoUpdate lt_LT translations
Marius Gedminas [Tue, 3 Sep 2019 12:30:56 +0000 (15:30 +0300)]
Update lt_LT translations

Fix a fuzzy one.

There remain many missing and fuzzy translations about what looks to be
a new neomutt feature called 'autocrypt'.  I'll get to these later,
hopefully.

5 years agodocs: fix formatting of example
Richard Russon [Mon, 9 Sep 2019 09:17:45 +0000 (10:17 +0100)]
docs: fix formatting of example

5 years agofix duplicated translation string
Richard Russon [Sun, 8 Sep 2019 18:45:03 +0000 (19:45 +0100)]
fix duplicated translation string

5 years agomerge: Sort Makefile lists
Richard Russon [Sat, 7 Sep 2019 23:46:04 +0000 (00:46 +0100)]
merge: Sort Makefile lists

 * AUTO.DEF: Alphabetize lists
 * CONTRIB: MAKEFILE: Alphabetize lists
 * DOC: MAKEFILE: Alphabetize lists
 * ROOT: MAKEFILE: Alphabetize lists
 * PO: MAKEFILE: Alphabetize lists
 * TEST: MAKEFILE: Alphabetize lists
 * AUTO.DEF: Alphabetize tcl if list

Closes: #1835
5 years agoAUTO.DEF: Alphabetize tcl if list 1845/head
Mark Stenglein [Sat, 7 Sep 2019 22:41:23 +0000 (18:41 -0400)]
AUTO.DEF: Alphabetize tcl if list

This patch alphabetizes and wraps the tcl lists given to if
statements for issue #1835.

Signed-off-by: Mark Stenglein <mark@stengle.in>
5 years agoTEST: MAKEFILE: Alphabetize lists
Mark Stenglein [Sat, 7 Sep 2019 22:21:29 +0000 (18:21 -0400)]
TEST: MAKEFILE: Alphabetize lists

This patch alphabetizes the lists in test/Makefile.autosetup for
issue #1835

Lists are kept unwrapped for readability.

Signed-off-by: Mark Stenglein <mark@stengle.in>
5 years agoPO: MAKEFILE: Alphabetize lists
Mark Stenglein [Sat, 7 Sep 2019 21:26:29 +0000 (17:26 -0400)]
PO: MAKEFILE: Alphabetize lists

This patch alphabetizes and wraps the lists present in
po/makefile.autosetup for issue #1835

Signed-off-by: Mark Stenglein <mark@stengle.in>
5 years agoROOT: MAKEFILE: Alphabetize lists
Mark Stenglein [Sat, 7 Sep 2019 21:21:25 +0000 (17:21 -0400)]
ROOT: MAKEFILE: Alphabetize lists

This patch alphabetizes and wraps all of the lists in the
root Makefile.autoconfig for issue #1835

Signed-off-by: Mark Stenglein <mark@stengle.in>
5 years agoDOC: MAKEFILE: Alphabetize lists
Mark Stenglein [Sat, 7 Sep 2019 20:44:35 +0000 (16:44 -0400)]
DOC: MAKEFILE: Alphabetize lists

This patch alphebatizes and wraps the lists present in
doc/makefile.autosetup for issue #1835

Signed-off-by: Mark Stenglein <mark@stengle.in>
5 years agoCONTRIB: MAKEFILE: Alphabetize lists
Mark Stenglein [Sat, 7 Sep 2019 16:26:03 +0000 (12:26 -0400)]
CONTRIB: MAKEFILE: Alphabetize lists

This patch alphabetizes and wraps the lists in this file for issue #1835

Signed-off-by: Mark Stenglein <mark@stengle.in>
5 years agoAUTO.DEF: Alphabetize lists
Mark Stenglein [Sat, 7 Sep 2019 16:14:32 +0000 (12:14 -0400)]
AUTO.DEF: Alphabetize lists

This patch alphabetizes the lists present in this file for issue #1835

Signed-off-by: Mark Stenglein <mark@stengle.in>
5 years agodoxygen: more defines
Richard Russon [Wed, 4 Sep 2019 21:35:14 +0000 (22:35 +0100)]
doxygen: more defines

5 years agorename variable alph to hex
Richard Russon [Thu, 5 Sep 2019 21:09:45 +0000 (22:09 +0100)]
rename variable alph to hex

For clarity

5 years agofix spelling, whitespace
Richard Russon [Wed, 4 Sep 2019 16:50:30 +0000 (17:50 +0100)]
fix spelling, whitespace

5 years agoTidy the progress API (#1822)
Pietro Cerutti [Thu, 5 Sep 2019 15:35:32 +0000 (16:35 +0100)]
Tidy the progress API (#1822)

* Start tidying the progress API

Issue #1180

* Zero increment is not used

* Reduce buffer size, 24 chars are enough for any size

* Tidy and clarify mutt_progress_init

* Let's keep the original bytes value in pos

* Restore rounding pos to inc

* Add mutt_progress_done, start using it

* Revert "Add mutt_progress_done, start using it"

This reverts commit 92073d9145b33e8ea9d37ecea41a1e6da4cb1058.

5 years agodocs: fix man page generation
Richard Russon [Thu, 5 Sep 2019 13:09:07 +0000 (14:09 +0100)]
docs: fix man page generation

Several small mistakes were causing the man pages to be generated
incorrectly.

5 years agoFix mutt_autocrypthdr_new return type
Pietro Cerutti [Mon, 2 Sep 2019 09:41:24 +0000 (09:41 +0000)]
Fix mutt_autocrypthdr_new return type

5 years agomerge: lots of tidying/renaming
Richard Russon [Sun, 1 Sep 2019 16:37:44 +0000 (17:37 +0100)]
merge: lots of tidying/renaming

 * tidy code
 * rename rfc1524.c to mailcap.c
 * rename mailcap structs/functions
 * unify new/free() functions 1
 * unify new/free() functions 2
 * unify new/free() functions 3
 * myvarlist_free

5 years agomyvarlist_free
Richard Russon [Sat, 31 Aug 2019 19:24:48 +0000 (20:24 +0100)]
myvarlist_free

5 years agounify new/free() functions 3
Richard Russon [Sat, 31 Aug 2019 14:19:12 +0000 (15:19 +0100)]
unify new/free() functions 3

'Free' functions:
- Name ends in `_free()`
- Take a `**ptr`
- Creates a native pointer
- Sets pointer to `NULL`

Functions changed:
- compress_info_free()
- crypt_key_free()
- key_free()
- lookup_free()
- maildir_entry_free()
- maildir_free()
- menu_free()
- mhs_sequences_free()
- mix_type2_list_free()
- mutt_actx_entries_free()
- mutt_attachmatch_free()
- mutt_colors_free()
- mutt_color_free()
- mutt_color_list_free()
- mutt_keys_free()
- mutt_opts_free()
- myvar_free()
- parameter_free()
- pgp_key_free()
- pgp_uid_free()
- recipient_set_free()
- smime_key_free()

'New' functions:
- Name ends in `_new()`
- Must be a 'new' function if there's a 'free' function

Functions changed:
- lookup_new()
- maildir_entry_new()
- myvar_new()

5 years agounify new/free() functions 2
Richard Russon [Sat, 31 Aug 2019 13:45:55 +0000 (14:45 +0100)]
unify new/free() functions 2

'Free' functions:
- Name ends in `_free()`
- Take a `**ptr`
- Creates a native pointer
- Sets pointer to `NULL`

Functions changed:
- color_line_free()
- mutt_actx_free()
- mutt_attachmatch_free()
- mutt_autocrypthdr_free()
- mutt_autocrypt_db_account_free()
- mutt_autocrypt_db_gossip_history_free()
- mutt_autocrypt_db_peer_free()
- mutt_autocrypt_db_peer_history_free()

'New' functions:
- Name ends in `_new()`
- Must be a 'new' function if there's a 'free' function

Functions changed:
- class_color_new()
- color_line_new()
- hash_new()
- mutt_actx_new()
- mutt_attachmatch_new()
- mutt_autocrypthdr_new()
- parameter_new()
- pgp_keyinfo_new()

5 years agounify new/free() functions 1
Richard Russon [Sat, 31 Aug 2019 12:22:19 +0000 (13:22 +0100)]
unify new/free() functions 1

- Name ends in `_free()`
- Take a `**ptr`
- Creates a native pointer
- Sets pointer to `NULL`

Functions changed:
- cs_free()
- mailcap_entry_free()
- mutt_addr_free()
- mutt_alias_free()
- mutt_alias_new()
- mutt_body_free()
- mutt_enter_state_free()
- mutt_env_free()
- mutt_seqset_iterator_free()
- nntp_edata_free()
- query_free()
- remailer_free()
- remailer_new()

5 years agorename mailcap structs/functions
Richard Russon [Sat, 31 Aug 2019 12:33:50 +0000 (13:33 +0100)]
rename mailcap structs/functions

5 years agorename rfc1524.c to mailcap.c
Richard Russon [Sat, 31 Aug 2019 12:29:20 +0000 (13:29 +0100)]
rename rfc1524.c to mailcap.c

5 years agotidy code
Richard Russon [Sat, 31 Aug 2019 18:21:49 +0000 (19:21 +0100)]
tidy code

- rename variables: b to buf
- fix Buffer check
- remove redundant conditionals

5 years agomerge: refactor Buffer handling
Richard Russon [Sat, 31 Aug 2019 00:58:26 +0000 (01:58 +0100)]
merge: refactor Buffer handling

 * Tidy some Buffer API, keep most buffers on the stack
 * Keep spam member of struct Envelope by value
 * Kill mutt_buffer_from
 * Move buffer_new / buffer_free to static functions in pool.c
 * Add mutt_buffer_make to create a Buffer on the stack
 * Use mutt_buffer_is_empty instead of mutt_buffer_len where it makes sense

5 years agoUse mutt_buffer_is_empty instead of mutt_buffer_len where it makes sense 1817/head
Pietro Cerutti [Fri, 30 Aug 2019 12:11:41 +0000 (12:11 +0000)]
Use mutt_buffer_is_empty instead of mutt_buffer_len where it makes sense

5 years agoAdd mutt_buffer_make to create a Buffer on the stack
Pietro Cerutti [Tue, 27 Aug 2019 12:47:52 +0000 (12:47 +0000)]
Add mutt_buffer_make to create a Buffer on the stack

5 years agoMove buffer_new / buffer_free to static functions in pool.c
Pietro Cerutti [Tue, 27 Aug 2019 11:32:30 +0000 (11:32 +0000)]
Move buffer_new / buffer_free to static functions in pool.c

5 years agoKill mutt_buffer_from
Pietro Cerutti [Tue, 27 Aug 2019 11:12:58 +0000 (11:12 +0000)]
Kill mutt_buffer_from

5 years agoKeep spam member of struct Envelope by value
Pietro Cerutti [Tue, 27 Aug 2019 11:12:48 +0000 (11:12 +0000)]
Keep spam member of struct Envelope by value

5 years agoTidy some Buffer API, keep most buffers on the stack
Pietro Cerutti [Tue, 27 Aug 2019 08:48:54 +0000 (08:48 +0000)]
Tidy some Buffer API, keep most buffers on the stack

5 years agoboolify 'optional' variables
Richard Russon [Fri, 30 Aug 2019 17:29:01 +0000 (18:29 +0100)]
boolify 'optional' variables

Co-authored-by: Pietro Cerutti <gahr@gahr.ch>
5 years agorename Pattern members
Richard Russon [Thu, 29 Aug 2019 16:30:14 +0000 (17:30 +0100)]
rename Pattern members

5 years agodoxy: tidy list comments
Richard Russon [Thu, 29 Aug 2019 15:48:46 +0000 (16:48 +0100)]
doxy: tidy list comments

5 years agorename lists for consistency
Richard Russon [Thu, 29 Aug 2019 13:12:16 +0000 (14:12 +0100)]
rename lists for consistency

- Move `entries` to end of the struct
- Separate declaration from use
- Rename `ColorLineHead`      to `ColorLineList`
- Rename `LogList`            to `LogLineList`
- Rename `MyVarHead`          to `MyVarList`
- Rename `ObserverHead`       to `ObserverList`
- Rename `PatternHead`        to `PatternList`
- Rename `RegexListNode`      to `RegexNode`
- Rename `ReplaceListNode`    to `Replace`
- Rename `TagHead`            to `TagList`
- Rename `TagNode`            to `Tag`
- Rename `UrlQueryStringHead` to `UrlQueryList`
- Rename `UrlQueryString`     to `UrlQuery`

5 years agounify time handling 1823/head
Pietro Cerutti [Fri, 30 Aug 2019 11:43:48 +0000 (11:43 +0000)]
unify time handling

- Add mutt_date_epoch_ms API, convert gettimeofdays to use the new API
- Add mutt_date_sleep_ms as a general sleep API

5 years agoRemove useless abstraction
Pietro Cerutti [Fri, 30 Aug 2019 11:54:18 +0000 (11:54 +0000)]
Remove useless abstraction

5 years agomerge: light tidying
Richard Russon [Thu, 29 Aug 2019 14:10:16 +0000 (15:10 +0100)]
merge: light tidying

 * clang-format
 * pager: rename PagerRedrawData.index to menu
 * drop: unused sha1 code
 * rename two duplicate `struct Entry`
 * rename two duplicate `struct Syntax`

5 years agorename two duplicate `struct Syntax`
Richard Russon [Thu, 29 Aug 2019 13:30:56 +0000 (14:30 +0100)]
rename two duplicate `struct Syntax`

5 years agorename two duplicate `struct Entry`
Richard Russon [Thu, 29 Aug 2019 13:29:59 +0000 (14:29 +0100)]
rename two duplicate `struct Entry`

5 years agodrop: unused sha1 code
Richard Russon [Thu, 29 Aug 2019 09:56:13 +0000 (10:56 +0100)]
drop: unused sha1 code

5 years agopager: rename PagerRedrawData.index to menu
Richard Russon [Wed, 28 Aug 2019 14:04:06 +0000 (15:04 +0100)]
pager: rename PagerRedrawData.index to menu

5 years agoclang-format
Richard Russon [Thu, 29 Aug 2019 13:38:57 +0000 (14:38 +0100)]
clang-format

5 years agoMake sure Progress doesn't reference an out-of-scope buffer 1820/head
Pietro Cerutti [Thu, 29 Aug 2019 09:46:29 +0000 (09:46 +0000)]
Make sure Progress doesn't reference an out-of-scope buffer

Cleanup mutt_progress_init's callers

Fixes: #1819
5 years agoAdd: mailbox_path() to tidy Mailbox usage
Pietro Cerutti [Tue, 27 Aug 2019 08:48:54 +0000 (08:48 +0000)]
Add: mailbox_path() to tidy Mailbox usage

5 years agoRemember last visited folder when browsing 1816/head
Pietro Cerutti [Mon, 26 Aug 2019 11:13:42 +0000 (11:13 +0000)]
Remember last visited folder when browsing

Fixes #1781

5 years agoclear up different redraw flags
Richard Russon [Mon, 26 Aug 2019 16:58:26 +0000 (17:58 +0100)]
clear up different redraw flags

The Menu and field-entering code had very similarly-named redraw flags.

5 years agocompose: factor out global Window
Richard Russon [Mon, 26 Aug 2019 13:59:34 +0000 (14:59 +0100)]
compose: factor out global Window

5 years agosidebar: fix crash with no mailbox
Richard Russon [Mon, 26 Aug 2019 12:08:58 +0000 (13:08 +0100)]
sidebar: fix crash with no mailbox

5 years agomenu: use enum for menu type
Richard Russon [Sun, 25 Aug 2019 22:42:37 +0000 (23:42 +0100)]
menu: use enum for menu type

- Use `enum MenuType` rather than `int`
- Rename `Menu.menu` to `Menu.type`
- Light tidying

5 years agowindow: externalise global Windows
Richard Russon [Thu, 22 Aug 2019 16:25:45 +0000 (17:25 +0100)]
window: externalise global Windows

Many functions use a global `MuttWindow` pointer.
Change them to use a parameter version instead.

Currently, this is the same Window.
When the nested Windows arrive, it won't be.

5 years agowindow: add copy_size()
Richard Russon [Sat, 24 Aug 2019 16:06:27 +0000 (17:06 +0100)]
window: add copy_size()

Create a dedicated copy function for `MuttWindow`, rather than using
`memcpy()`.

This is in preparation for when `MuttWindow` becomes more complex.

5 years agofix: alias expansion in compose 1814/head
Richard Russon [Thu, 22 Aug 2019 22:21:28 +0000 (23:21 +0100)]
fix: alias expansion in compose

This fixes two bugs when expanding aliases, of the form "alias1, alias1"
in compose.

- only the first alias was expanded
- alias address was leaked

Refactor for clarity:

- Rename local variable
- Reduce scope of variable
- Add comments

5 years agofix: memory leak in mx_mbox_close()
Richard Russon [Thu, 22 Aug 2019 21:41:39 +0000 (22:41 +0100)]
fix: memory leak in mx_mbox_close()

Freeing a Context isn't enough; use ctx_free().

5 years agofix: memory leak in mutt_smtp_send()
Richard Russon [Thu, 22 Aug 2019 21:39:51 +0000 (22:39 +0100)]
fix: memory leak in mutt_smtp_send()

Free the Connection after sending the Email.

5 years agofix: memory leak in parse_menu()
Richard Russon [Thu, 22 Aug 2019 15:53:00 +0000 (16:53 +0100)]
fix: memory leak in parse_menu()

5 years agopager: change summaries to use mutt_do_pager()
Richard Russon [Thu, 22 Aug 2019 10:52:13 +0000 (11:52 +0100)]
pager: change summaries to use mutt_do_pager()

By using mutt_do_pager(), the summary pages now honour "$pager".

5 years agoLet my_hdr override MIME headers
Pietro Cerutti [Thu, 22 Aug 2019 16:25:56 +0000 (16:25 +0000)]
Let my_hdr override MIME headers

5 years agoFix segfault in bounce
Pietro Cerutti [Thu, 22 Aug 2019 15:36:45 +0000 (15:36 +0000)]
Fix segfault in bounce

Fixes #1735

5 years agocheck for empty Context
Richard Russon [Thu, 22 Aug 2019 10:22:21 +0000 (11:22 +0100)]
check for empty Context

We'd already checked for an empty Context at the beginning of the `case`
statement, but we didn't check after any functions that might have
closed the Context.

Fixes: #1799
5 years agoAdd envelope's Organization field to hcache
Stéphane Lesimple [Thu, 22 Aug 2019 07:08:47 +0000 (09:08 +0200)]
Add envelope's Organization field to hcache

This ensures using %W in index_format while having
header cache enabled works as expected.

Note that as we don't modify the header files that
hcachever.sh is looking for, but the serial_dump_envelope
and serial_restore_envelope functions instead, we have
to increment BASEVERSION to ensure that cache built with
previous versions gets invalidated in all cases.

Fixes #1808

5 years agodoxy: fix typo
Richard Russon [Wed, 21 Aug 2019 16:48:33 +0000 (17:48 +0100)]
doxy: fix typo

5 years agomerge: trivial fixes
Richard Russon [Wed, 21 Aug 2019 13:12:09 +0000 (14:12 +0100)]
merge: trivial fixes

 * rename MENU_POST to MENU_POSTPONE
 * imap: rename the command response constants
 * add more Context checks
 * add Context checks to status_format_str()
 * define flags for mutt_pattern_comp()
 * remove unnecessary goto/label
 * reorder params in driver_tags_get_transformed_for()
 * move data/structs to beginning
 * boolify some variables
 * rename mutt_menu_destroy()
 * rename ParameterList variables
 * fix parameter usage of calloc()
 * hcache: unify naming in free()
 * tidy pre-processor defs
 * refactor pre-processor
 * docs: rename mutt to neomutt
 * Update autocrypt keyring documentation
 * Clean up the autocrypt doc a bit more
 * tidy some comments/whitespace

5 years agotidy some comments/whitespace
Richard Russon [Tue, 20 Aug 2019 17:28:03 +0000 (18:28 +0100)]
tidy some comments/whitespace

5 years agoClean up the autocrypt doc a bit more
Kevin McCarthy [Tue, 20 Aug 2019 22:37:06 +0000 (15:37 -0700)]
Clean up the autocrypt doc a bit more

Co-authored-by: Richard Russon <rich@flatcap.org>
5 years agoUpdate autocrypt keyring documentation
Kevin McCarthy [Tue, 20 Aug 2019 22:17:31 +0000 (15:17 -0700)]
Update autocrypt keyring documentation

Recommend setting $autocrypt_dir to your normal keyring directory if
you want to use your existing key.

Trying to copy it over leads to signature verification issues.  Even
if I reversed the order (which is much less clean), that would just
lead to missing key signature errors for Autocrypt messages instead.

Co-authored-by: Richard Russon <rich@flatcap.org>
5 years agodocs: rename mutt to neomutt
Richard Russon [Tue, 20 Aug 2019 18:54:29 +0000 (19:54 +0100)]
docs: rename mutt to neomutt

5 years agorefactor pre-processor
Richard Russon [Tue, 20 Aug 2019 19:11:54 +0000 (20:11 +0100)]
refactor pre-processor

5 years agotidy pre-processor defs
Richard Russon [Tue, 20 Aug 2019 18:31:24 +0000 (19:31 +0100)]
tidy pre-processor defs

5 years agohcache: unify naming in free()
Richard Russon [Wed, 21 Aug 2019 11:20:50 +0000 (12:20 +0100)]
hcache: unify naming in free()

Ensure all the hcache backends clean up in the same way.

5 years agofix parameter usage of calloc()
Richard Russon [Tue, 20 Aug 2019 20:55:58 +0000 (21:55 +0100)]
fix parameter usage of calloc()

5 years agorename ParameterList variables
Richard Russon [Tue, 20 Aug 2019 20:45:41 +0000 (21:45 +0100)]
rename ParameterList variables

For consistency, call ParameterLists `pl`.

5 years agorename mutt_menu_destroy()
Richard Russon [Tue, 20 Aug 2019 19:29:26 +0000 (20:29 +0100)]
rename mutt_menu_destroy()

All the other free functions are called *_free().

5 years agoboolify some variables
Richard Russon [Tue, 20 Aug 2019 18:57:31 +0000 (19:57 +0100)]
boolify some variables

5 years agomove data/structs to beginning
Richard Russon [Tue, 20 Aug 2019 18:31:36 +0000 (19:31 +0100)]
move data/structs to beginning

5 years agoreorder params in driver_tags_get_transformed_for()
Richard Russon [Tue, 20 Aug 2019 17:30:55 +0000 (18:30 +0100)]
reorder params in driver_tags_get_transformed_for()

Change the parameter order to match all the other tags functions.

5 years agoremove unnecessary goto/label
Richard Russon [Tue, 20 Aug 2019 17:29:15 +0000 (18:29 +0100)]
remove unnecessary goto/label

5 years agodefine flags for mutt_pattern_comp()
Richard Russon [Wed, 21 Aug 2019 11:31:43 +0000 (12:31 +0100)]
define flags for mutt_pattern_comp()

5 years agoadd Context checks to status_format_str()
Richard Russon [Wed, 19 Jun 2019 20:53:23 +0000 (21:53 +0100)]
add Context checks to status_format_str()

5 years agoadd more Context checks
Richard Russon [Wed, 19 Jun 2019 14:08:37 +0000 (15:08 +0100)]
add more Context checks

Check for the condition where the Context exists, but `Context->mailbox`
is NULL.

Fixes: #1747
5 years agoimap: rename the command response constants
Richard Russon [Tue, 20 Aug 2019 21:38:34 +0000 (22:38 +0100)]
imap: rename the command response constants

Rename command responses to `IMAP_RES_*` to avoid clashing with the
command flags `IMAP_CMD_*`.

5 years agorename MENU_POST to MENU_POSTPONE
Richard Russon [Tue, 20 Aug 2019 17:26:59 +0000 (18:26 +0100)]
rename MENU_POST to MENU_POSTPONE

'POST' implies sending an email, but the menu deals with postponed
emails.

5 years agoFix segfault in PGP key selection
Pietro Cerutti [Wed, 21 Aug 2019 09:17:36 +0000 (09:17 +0000)]
Fix segfault in PGP key selection

Fixes #1809

5 years agocoverity: fix defects
Richard Russon [Tue, 20 Aug 2019 11:48:34 +0000 (12:48 +0100)]
coverity: fix defects

5 years agoClarify hcache invalidation mechanism
Pietro Cerutti [Tue, 20 Aug 2019 11:24:16 +0000 (11:24 +0000)]
Clarify hcache invalidation mechanism

5 years agodoxy: add autocrypt pages
Richard Russon [Tue, 20 Aug 2019 10:42:51 +0000 (11:42 +0100)]
doxy: add autocrypt pages

5 years agomerge: update translations
Richard Russon [Tue, 20 Aug 2019 10:24:06 +0000 (11:24 +0100)]
merge: update translations

 * Update lt_LT translatons
 * Update pt_BR translation
 * Update pt_BR translation
 * Polish translate update
 * sync translations

5 years agosync translations
Richard Russon [Tue, 20 Aug 2019 10:19:23 +0000 (11:19 +0100)]
sync translations