]> granicus.if.org Git - neomutt/log
neomutt
7 years agoConvert remaining List structures to STailQ in main.c
Pietro Cerutti [Wed, 26 Jul 2017 07:06:01 +0000 (07:06 +0000)]
Convert remaining List structures to STailQ in main.c

Issue #374

7 years agoMore idiomatic definition of HookHead
Pietro Cerutti [Tue, 25 Jul 2017 19:58:18 +0000 (19:58 +0000)]
More idiomatic definition of HookHead

Issue #374

7 years agoConvert Hooks to TAILQ
Pietro Cerutti [Tue, 25 Jul 2017 19:52:29 +0000 (19:52 +0000)]
Convert Hooks to TAILQ

For this one I have chosen to use a doubly-linked tail queue. See how it
simplifies the delete_hooks function.

Issue #374

7 years agoConvert List to STailQ in ncrypt code
Pietro Cerutti [Tue, 25 Jul 2017 19:21:37 +0000 (19:21 +0000)]
Convert List to STailQ in ncrypt code

Issue #374

7 years agoConvert List to STailQ in imap code
Pietro Cerutti [Tue, 25 Jul 2017 18:13:55 +0000 (18:13 +0000)]
Convert List to STailQ in imap code

Issue #374

7 years agoRemove unused functions
Pietro Cerutti [Tue, 25 Jul 2017 15:53:10 +0000 (15:53 +0000)]
Remove unused functions

Issue #374

7 years agoConvert MailtoAllow, MimeLookupList and SidebarWhitelist to STailQ
Pietro Cerutti [Tue, 25 Jul 2017 14:21:01 +0000 (14:21 +0000)]
Convert MailtoAllow, MimeLookupList and SidebarWhitelist to STailQ

Issue #374

7 years agoConvert HeaderOrderList and (Un)?Ignore to STailQ
Pietro Cerutti [Tue, 25 Jul 2017 14:05:33 +0000 (14:05 +0000)]
Convert HeaderOrderList and (Un)?Ignore to STailQ

Issue #374

7 years agoBe consistent on variable names
Pietro Cerutti [Tue, 25 Jul 2017 13:36:52 +0000 (13:36 +0000)]
Be consistent on variable names

Issue #374

7 years agoConvert AlternativeOrderList and (Attach|Inline)(Allow|Exclude) to STailQ
Pietro Cerutti [Tue, 25 Jul 2017 13:33:34 +0000 (13:33 +0000)]
Convert AlternativeOrderList and (Attach|Inline)(Allow|Exclude) to STailQ

Issue #374

7 years agoConvert Muttrc to STailQ, start to gather common algos in list.h
Pietro Cerutti [Tue, 25 Jul 2017 12:51:37 +0000 (12:51 +0000)]
Convert Muttrc to STailQ, start to gather common algos in list.h

Issue #374

7 years agoConvert AutoViewList to STailQ
Pietro Cerutti [Mon, 24 Jul 2017 16:07:37 +0000 (16:07 +0000)]
Convert AutoViewList to STailQ

Issue #374

7 years agoConvert MuttrcStack to STailQ
Pietro Cerutti [Mon, 24 Jul 2017 14:49:06 +0000 (14:49 +0000)]
Convert MuttrcStack to STailQ

Issue #374

7 years agoConvert UserHeader to STailQ
Pietro Cerutti [Mon, 24 Jul 2017 13:54:21 +0000 (13:54 +0000)]
Convert UserHeader to STailQ

Issue #374

7 years agoHCache now depends on tailq structures instead of List
Pietro Cerutti [Mon, 24 Jul 2017 13:32:51 +0000 (13:32 +0000)]
HCache now depends on tailq structures instead of List

Issue #374

7 years agoConvert mix chain to STailQ
Pietro Cerutti [Mon, 24 Jul 2017 13:03:36 +0000 (13:03 +0000)]
Convert mix chain to STailQ

Issue #374

7 years agoConvert userhdrs to STailQ
Pietro Cerutti [Mon, 24 Jul 2017 12:08:15 +0000 (12:08 +0000)]
Convert userhdrs to STailQ

Issue #374

7 years agoAdd queue.h to EXTRA_DIST
Pietro Cerutti [Fri, 21 Jul 2017 16:11:06 +0000 (16:11 +0000)]
Add queue.h to EXTRA_DIST

Issue #374

7 years agoDatastructures #1 - PoC of standardizing a couple of fields
Pietro Cerutti [Fri, 21 Jul 2017 15:05:25 +0000 (15:05 +0000)]
Datastructures #1 - PoC of standardizing a couple of fields

This commits changes the type of two fields in envelope.h from struct List to
to struct STailQHead. This new structure represents a singly-linked tail queue
implemented using FreeBSD's queue.h (imported).

This is a proof of concept to see how we like using macros to implement basic
datastructures (singly and doubly linked lists and tail queues) and algorithms
(traversal, removal, insertion, ...).

I encourage everybody to have a look at the result and comment. Is this the
direction we would like to take?

Issue #374

7 years agoresync translations
Richard Russon [Sat, 5 Aug 2017 13:54:19 +0000 (14:54 +0100)]
resync translations

7 years agoupdate French translation
Richard Russon [Mon, 31 Jul 2017 15:48:33 +0000 (16:48 +0100)]
update French translation

7 years agorefactor: move lock/unlink functions to lib/file
Richard Russon [Fri, 4 Aug 2017 02:28:36 +0000 (03:28 +0100)]
refactor: move lock/unlink functions to lib/file

7 years agorefactor: move atime/mtime functions to lib/file
Richard Russon [Fri, 4 Aug 2017 02:23:15 +0000 (03:23 +0100)]
refactor: move atime/mtime functions to lib/file

7 years agorefactor: move mutt_make_date to lib/date
Richard Russon [Fri, 4 Aug 2017 02:14:41 +0000 (03:14 +0100)]
refactor: move mutt_make_date to lib/date

7 years agobuild: move mutt_md5 to hcache
Richard Russon [Wed, 2 Aug 2017 18:19:38 +0000 (19:19 +0100)]
build: move mutt_md5 to hcache

This tool is only used by the build to create a header cache checksum.

7 years agoRemove ascii_* functions (#700)
Pietro Cerutti [Fri, 4 Aug 2017 14:54:44 +0000 (15:54 +0100)]
Remove ascii_* functions (#700)

Issue #699

7 years agobuild: squash lua warnings
Richard Russon [Fri, 4 Aug 2017 13:02:03 +0000 (14:02 +0100)]
build: squash lua warnings

7 years agobuild: fix warnings in wchar test code
Richard Russon [Fri, 4 Aug 2017 12:37:33 +0000 (13:37 +0100)]
build: fix warnings in wchar test code

These warnings can be safely ignored, but if you enable "-Werror", then
configure fails.

7 years agoFix truncated formating 685/head
Fabrice Bellet [Sun, 23 Jul 2017 19:04:15 +0000 (21:04 +0200)]
Fix truncated formating

This patch fixes the leak of index line attributes on the next line due
to the truncation of the output buffer based on terminal number of
columns, forgetting to include escapes sequence at the end of the input
buffer (#664).

7 years agoUse the correct TokyoCabinet API
Pietro Cerutti [Fri, 4 Aug 2017 11:39:56 +0000 (11:39 +0000)]
Use the correct TokyoCabinet API

Issue: #696

7 years agoEncode URIs created with nm_uri_from_query 692/head
William Pettersson [Sun, 30 Jul 2017 04:59:38 +0000 (14:59 +1000)]
Encode URIs created with nm_uri_from_query

Uses url_pct_encode to do the encoding. Note that url_pct_encode now
also encodes the ampersand, which shouldn't cause problems given that
it's only used for usernames and passwords otherwise.

Addresses issue #603

7 years agonm_description_to_path: fix a mailbox type 695/head
Jenya Sovetkin [Thu, 3 Aug 2017 08:17:30 +0000 (10:17 +0200)]
nm_description_to_path: fix a mailbox type

In nm_description_to_path a mailbox type is supposed to be MUTT_NOTMUCH,
since the function queries the path of a *notmuch* mailbox using
a description string.

Fixes #683.

7 years agoKill bundled wchar_t support, rely on the system's
Pietro Cerutti [Fri, 28 Jul 2017 13:43:52 +0000 (13:43 +0000)]
Kill bundled wchar_t support, rely on the system's

Issue #690

7 years agoDo not rely on backends setting error codes on success
Pietro Cerutti [Fri, 4 Aug 2017 07:36:06 +0000 (07:36 +0000)]
Do not rely on backends setting error codes on success

From the API documentation of KyotoCabinet, TokyoCabinet and QDBM, I am
not convinced that the error code routines consistently return 0 whenever
the previous operation succeeded. Also, I am not convinced that they
return 1 whenever the previous operation failed.
It is important that we do not return 0 on failure, so let's try to get
the error code and fallback to -1 if we couldn't get anything more
specific.

Issue #696

7 years agoReview hcache implementation return codes
Pietro Cerutti [Fri, 4 Aug 2017 06:40:41 +0000 (06:40 +0000)]
Review hcache implementation return codes

Especially, in this batch I have reviewed the return codes for fetch and
delete operations. KyotoCabinet, QDBM and TokyoCabinet were indeed
incorrectly implemented, as these backends generally return true on
success and false on failure.

I still have to investigate how to get a proper return code from QDBM.

Issue #696

7 years agoDoxify the Header cache
Pietro Cerutti [Fri, 4 Aug 2017 06:14:03 +0000 (06:14 +0000)]
Doxify the Header cache

The initial framework was written by @flatcap. I have merely filled in a
few blanks.

Issue #696

7 years agobuild: fix make dist
Richard Russon [Thu, 3 Aug 2017 20:00:45 +0000 (21:00 +0100)]
build: fix make dist

7 years agomerge: upstream fixes (mutt/default)
Richard Russon [Thu, 3 Aug 2017 15:56:36 +0000 (16:56 +0100)]
merge: upstream fixes (mutt/default)

 * Fix menu color calls to occur before positioning the cursor. (see #3956)
 * Change imap_cmd_start() to return OK when the cmd_queue is finished. (closes #3956)
 * When guessing an attachment type, don't allow text/plain if there is a null character. (see #2933)
 * Add timeout parameter to mutt_socket_poll.
 * Add $imap_poll_timeout to allow mailbox polling to time out.
 * Convert raw_socket_poll() to use gettimeofday().

7 years agoConvert raw_socket_poll() to use gettimeofday().
Kevin McCarthy [Fri, 28 Jul 2017 17:54:51 +0000 (10:54 -0700)]
Convert raw_socket_poll() to use gettimeofday().

As long as gettimeofday() is supported, it's better to be consistent
within mutt and ensure greater portability.

Change the raw_socket_poll() wait timer to count milliseconds, like
the mutt_progess_update() code.

Thanks to Vincent Lefèvre for his, as always, invaluable advice.

7 years agoAdd $imap_poll_timeout to allow mailbox polling to time out.
Kevin McCarthy [Sun, 23 Jul 2017 02:48:50 +0000 (19:48 -0700)]
Add $imap_poll_timeout to allow mailbox polling to time out.

Enable the polling flag for the NOOP in imap_check_mailbox(), the
STATUS command in imap_buffy_check(), and the LOGOUT command.

This is not intended to handle all blocking-IO related issues.
However, the periodic NOOP and STATUS are the most frequent places for
mutt to freeze up, especially after a laptop is sleep/woken.

Since these are quick operations with little data, this is a good place
to check if the connection is still working before hanging on a read.

7 years agoAdd timeout parameter to mutt_socket_poll.
Kevin McCarthy [Sun, 23 Jul 2017 02:48:49 +0000 (19:48 -0700)]
Add timeout parameter to mutt_socket_poll.

This will be used in the next commit to add a timeout when polling for
new mail.

7 years agoWhen guessing an attachment type, don't allow text/plain if there is a null character...
Kevin McCarthy [Fri, 21 Jul 2017 00:30:05 +0000 (17:30 -0700)]
When guessing an attachment type, don't allow text/plain if there is a null character. (see #2933)

Type text/plain should not contain any null characters.  Slightly
improve the type guesser by forcing an attachment with any null
characters to be application/octet-stream.

Note the type guesser could use much more improvement, but this is an
easy and obvious fix.

7 years agoChange imap_cmd_start() to return OK when the cmd_queue is finished. (closes #3956)
Kevin McCarthy [Wed, 19 Jul 2017 21:04:39 +0000 (14:04 -0700)]
Change imap_cmd_start() to return OK when the cmd_queue is finished. (closes #3956)

Some response handlers can end up recursively calling
imap_cmd_start(), processing all the command completions.  If the
outer call was an imap_exec(), this would result in the loop never
being terminated (or just blocking reading a server that has already
finished all the commands).

Change the callers that are simply using it to read a response,
without having called cmd_start(), to check for IMAP_CMD_OK instead.
Currently this is just the open connection function.

7 years agoFix menu color calls to occur before positioning the cursor. (see #3956)
Kevin McCarthy [Wed, 19 Jul 2017 21:04:32 +0000 (14:04 -0700)]
Fix menu color calls to occur before positioning the cursor. (see #3956)

It is possible for menu->color() to end up fetching an imap message,
and therefore generating a status message.

Because of this, we need to make those calls before we position the cursor.

7 years agomerge: trivial code fixes
Richard Russon [Thu, 3 Aug 2017 15:52:12 +0000 (16:52 +0100)]
merge: trivial code fixes

 * doxygen: fix comments
 * contrib: drop old iconv config
 * tidy: squeeze blank lines
 * tidy: remove duplicate prototypes
 * tidy: remove unnecessary casts
 * tidy: left-align goto labels
 * tidy: sort out typedef usage
 * tidy: rearrange code to avoid forward def
 * tidy: use DT_MASK to get type
 * tidy: sort out ++ -- comma operators
 * tidy: drop rarely-used macro
 * tidy: drop deprecated types
 * tidy: drop unnecessary INITVAL usage
 * rename: global boolean variables (insert underscores)
 * rename: global quad variables (insert underscores)
 * rename: tidy global variable naming
 * drop old testing code

7 years agodrop old testing code
Richard Russon [Thu, 3 Aug 2017 01:01:13 +0000 (02:01 +0100)]
drop old testing code

7 years agorename: tidy global variable naming
Richard Russon [Thu, 27 Jul 2017 19:06:47 +0000 (20:06 +0100)]
rename: tidy global variable naming

Rename the global variables to match the MixedCase coding style, e.g.
    Spoolfile -> SpoolFile

7 years agorename: global quad variables (insert underscores)
Richard Russon [Thu, 27 Jul 2017 18:18:39 +0000 (19:18 +0100)]
rename: global quad variables (insert underscores)

Rename constants for better legibility, such as:
    OPT_PGPENCRYPTSELF -> OPT_PGP_ENCRYPT_SELF

7 years agorename: global boolean variables (insert underscores)
Richard Russon [Thu, 27 Jul 2017 18:16:40 +0000 (19:16 +0100)]
rename: global boolean variables (insert underscores)

Rename constants for better legibility, such as:
    OPTNOCURSES -> OPT_NO_CURSES

7 years agotidy: drop unnecessary INITVAL usage
Richard Russon [Wed, 26 Jul 2017 15:39:51 +0000 (16:39 +0100)]
tidy: drop unnecessary INITVAL usage

Variables with a static/global scope are automatically initialised to 0/NULL.
About 10 variables were initialised to non-zero values, but they were
reset with values from init.h before they were used.

7 years agotidy: drop deprecated types
Richard Russon [Tue, 25 Jul 2017 15:33:21 +0000 (16:33 +0100)]
tidy: drop deprecated types

These have been unnecessary since 2012

7 years agotidy: drop rarely-used macro
Richard Russon [Tue, 25 Jul 2017 15:24:50 +0000 (16:24 +0100)]
tidy: drop rarely-used macro

7 years agotidy: sort out ++ -- comma operators
Richard Russon [Mon, 24 Jul 2017 17:26:43 +0000 (18:26 +0100)]
tidy: sort out ++ -- comma operators

Where possible:
- Change pre- to post-decrement
- Change pre- to post-increment
- Drop commas (separate statements)

7 years agotidy: use DT_MASK to get type
Richard Russon [Wed, 26 Jul 2017 18:49:25 +0000 (19:49 +0100)]
tidy: use DT_MASK to get type

7 years agotidy: rearrange code to avoid forward def
Richard Russon [Fri, 21 Jul 2017 23:45:36 +0000 (00:45 +0100)]
tidy: rearrange code to avoid forward def

7 years agotidy: sort out typedef usage
Richard Russon [Fri, 21 Jul 2017 23:35:47 +0000 (00:35 +0100)]
tidy: sort out typedef usage

7 years agotidy: left-align goto labels
Richard Russon [Fri, 21 Jul 2017 22:10:54 +0000 (23:10 +0100)]
tidy: left-align goto labels

7 years agotidy: remove unnecessary casts
Richard Russon [Tue, 25 Jul 2017 15:27:32 +0000 (16:27 +0100)]
tidy: remove unnecessary casts

7 years agotidy: remove duplicate prototypes
Richard Russon [Thu, 27 Jul 2017 18:22:40 +0000 (19:22 +0100)]
tidy: remove duplicate prototypes

7 years agotidy: squeeze blank lines
Richard Russon [Sat, 22 Jul 2017 00:31:07 +0000 (01:31 +0100)]
tidy: squeeze blank lines

7 years agocontrib: drop old iconv config
Richard Russon [Tue, 25 Jul 2017 15:35:58 +0000 (16:35 +0100)]
contrib: drop old iconv config

7 years agodoxygen: fix comments
Richard Russon [Fri, 21 Jul 2017 22:54:05 +0000 (23:54 +0100)]
doxygen: fix comments

7 years agomerge: create library of shared code
Richard Russon [Thu, 3 Aug 2017 14:36:53 +0000 (15:36 +0100)]
merge: create library of shared code

 * split out state functions
 * split out parameter functions
 * create library
 * change code to use lib/lib.h
 * move the ascii functions to the library
 * move the base64 functions to the library
 * move the date functions to the library
 * move the exit functions to the library
 * move the md5 functions to the library
 * move the sha1 functions to the library
 * move the memory functions to the library
 * move the message functions to the library
 * move the debug functions to the library
 * move the string functions to the library
 * move the file functions to the library
 * move the buffer functions to the library
 * move the hash functions to the library
 * drop lib.c
 * doxygen: update config
 * rename the library to libmutt

7 years agorename the library to libmutt
Richard Russon [Thu, 3 Aug 2017 13:32:54 +0000 (14:32 +0100)]
rename the library to libmutt

- strip lib_ prefix from files
- rename liblib to libmutt

The only renaming complication was `lib_string.h`.
It's been renamed to `string2.h` so that `#include <string.h>` still works.

7 years agodoxygen: update config 694/head
Richard Russon [Wed, 2 Aug 2017 15:24:35 +0000 (16:24 +0100)]
doxygen: update config

7 years agodrop lib.c
Richard Russon [Wed, 2 Aug 2017 15:20:34 +0000 (16:20 +0100)]
drop lib.c

7 years agomove the hash functions to the library
Richard Russon [Wed, 2 Aug 2017 15:08:35 +0000 (16:08 +0100)]
move the hash functions to the library

7 years agomove the buffer functions to the library
Richard Russon [Wed, 2 Aug 2017 15:03:38 +0000 (16:03 +0100)]
move the buffer functions to the library

7 years agomove the file functions to the library
Richard Russon [Wed, 2 Aug 2017 14:49:32 +0000 (15:49 +0100)]
move the file functions to the library

7 years agomove the string functions to the library
Richard Russon [Wed, 2 Aug 2017 14:41:50 +0000 (15:41 +0100)]
move the string functions to the library

7 years agomove the debug functions to the library
Richard Russon [Wed, 2 Aug 2017 14:34:05 +0000 (15:34 +0100)]
move the debug functions to the library

7 years agomove the message functions to the library
Richard Russon [Wed, 2 Aug 2017 14:29:18 +0000 (15:29 +0100)]
move the message functions to the library

7 years agomove the memory functions to the library
Richard Russon [Wed, 2 Aug 2017 14:23:42 +0000 (15:23 +0100)]
move the memory functions to the library

7 years agomove the sha1 functions to the library
Richard Russon [Wed, 2 Aug 2017 14:15:18 +0000 (15:15 +0100)]
move the sha1 functions to the library

7 years agomove the md5 functions to the library
Richard Russon [Wed, 2 Aug 2017 14:12:59 +0000 (15:12 +0100)]
move the md5 functions to the library

7 years agomove the exit functions to the library
Richard Russon [Wed, 2 Aug 2017 14:08:51 +0000 (15:08 +0100)]
move the exit functions to the library

7 years agomove the date functions to the library
Richard Russon [Wed, 2 Aug 2017 14:01:19 +0000 (15:01 +0100)]
move the date functions to the library

7 years agomove the base64 functions to the library
Richard Russon [Wed, 2 Aug 2017 13:43:57 +0000 (14:43 +0100)]
move the base64 functions to the library

7 years agomove the ascii functions to the library
Richard Russon [Wed, 2 Aug 2017 13:35:14 +0000 (14:35 +0100)]
move the ascii functions to the library

7 years agochange code to use lib/lib.h
Richard Russon [Wed, 2 Aug 2017 12:49:39 +0000 (13:49 +0100)]
change code to use lib/lib.h

7 years agocreate library
Richard Russon [Sun, 30 Jul 2017 14:49:36 +0000 (15:49 +0100)]
create library

7 years agosplit out parameter functions
Richard Russon [Sun, 30 Jul 2017 12:28:39 +0000 (13:28 +0100)]
split out parameter functions

7 years agosplit out state functions
Richard Russon [Sun, 30 Jul 2017 12:10:57 +0000 (13:10 +0100)]
split out state functions

7 years agodoxygen: tidy comments
Richard Russon [Fri, 21 Jul 2017 18:30:07 +0000 (19:30 +0100)]
doxygen: tidy comments

@return x, y -> multiple @retval
@return -> @retval
more /* */ comments to /**< */
merge .h and .c function descriptions
Prefix defines with #

7 years agobind editor <delete> to delete-char
Damien Riegel [Thu, 20 Jul 2017 15:31:32 +0000 (16:31 +0100)]
bind editor <delete> to delete-char

7 years agoLook for ncurses headers in more dedicated locations first (#679)
Pietro Cerutti [Thu, 20 Jul 2017 14:33:55 +0000 (15:33 +0100)]
Look for ncurses headers in more dedicated locations first (#679)

This solves a problem on FreeBSD, where the base system is shipped with
ncurses 5.9 (/usr/include/ncurses.h). When building against 3rd party
ncurses 6.0 from ports (/usr/local/include/ncurses/ncurses.h), the
configure script picks up the 5.9 headers and the 6.0 library. This
might cause problems, since 6.0 is not ABI compatible with 5.0.

7 years agoNo need to strdup the result of tigetstr (#682)
Pietro Cerutti [Thu, 20 Jul 2017 14:16:47 +0000 (15:16 +0100)]
No need to strdup the result of tigetstr (#682)

7 years agodoxygen: doc some more functions
Richard Russon [Tue, 18 Jul 2017 22:46:39 +0000 (23:46 +0100)]
doxygen: doc some more functions

7 years agoFix the printing of ncurses version in -v output
Pietro Cerutti [Tue, 18 Jul 2017 16:20:53 +0000 (16:20 +0000)]
Fix the printing of ncurses version in -v output

7 years agoFix the configure check for S-Lang (#676)
Pietro Cerutti [Tue, 18 Jul 2017 15:03:32 +0000 (16:03 +0100)]
Fix the configure check for S-Lang (#676)

Issue: #667

7 years agodocs: document some functions
Steven! Ragnarök [Tue, 18 Jul 2017 13:59:46 +0000 (14:59 +0100)]
docs: document some functions

7 years agomerge: rename functions/constants for consistency
Richard Russon [Mon, 17 Jul 2017 16:16:45 +0000 (17:16 +0100)]
merge: rename functions/constants for consistency

 * rename ESC_char
 * rename mutt_format_string and mutt_FormatString
 * rename SHA1_*
 * remove build constant SHA1HANDSOFF
 * #define constants in upper case

7 years ago#define constants in upper case
Richard Russon [Sat, 15 Jul 2017 08:44:21 +0000 (09:44 +0100)]
#define constants in upper case

7 years agoremove build constant SHA1HANDSOFF
Richard Russon [Sat, 15 Jul 2017 08:36:25 +0000 (09:36 +0100)]
remove build constant SHA1HANDSOFF

7 years agorename SHA1_*
Richard Russon [Sat, 15 Jul 2017 08:35:10 +0000 (09:35 +0100)]
rename SHA1_*

7 years agorename mutt_format_string and mutt_FormatString
Richard Russon [Fri, 14 Jul 2017 21:07:37 +0000 (22:07 +0100)]
rename mutt_format_string and mutt_FormatString

`mutt_format_string` and `mutt_FormatString` were much to similarly
named to be useful.  The first only does formatting.  The second uses
expandos to allow custom expansion.

To avoid future confusion, I've created new names that are distinct:
    mutt_format_string mutt_simple_format
    mutt_FormatString  mutt_expando_format

7 years agorename ESC_char
Richard Russon [Sat, 15 Jul 2017 08:32:53 +0000 (09:32 +0100)]
rename ESC_char

7 years agomerge: improve doxygen comments
Richard Russon [Mon, 17 Jul 2017 15:48:48 +0000 (16:48 +0100)]
merge: improve doxygen comments

 * name all enum types
 * fix all comments
 * fix colours and links
 * add file templates
 * add struct/enum/union templates
 * convert existing comments

7 years agodoxygen: convert existing comments
Richard Russon [Sun, 16 Jul 2017 19:49:10 +0000 (20:49 +0100)]
doxygen: convert existing comments

Lots of functions were already commented.
This commit re-formats the comments to be doxygen-compatible.

Despite the size of the commit, no code has changed.

7 years agodoxygen: add struct/enum/union templates
Richard Russon [Wed, 12 Jul 2017 11:28:47 +0000 (12:28 +0100)]
doxygen: add struct/enum/union templates