]> granicus.if.org Git - neomutt/log
neomutt
7 years agobuild: Create a Connection Library (libconn)
Richard Russon [Sat, 28 Oct 2017 14:24:44 +0000 (15:24 +0100)]
build: Create a Connection Library (libconn)

There are no changes to the code, just rearrangements of functions.

7 years agomerge: Document 70 IMAP functions
Richard Russon [Sat, 28 Oct 2017 03:42:53 +0000 (04:42 +0100)]
merge: Document 70 IMAP functions

There are no code changes in this set.

 * rearrange functions
 * rename static functions
 * fix some types
 * comment blocks

7 years agocomment blocks
Richard Russon [Mon, 23 Oct 2017 13:47:37 +0000 (14:47 +0100)]
comment blocks

7 years agofix some types
Richard Russon [Tue, 24 Oct 2017 18:08:08 +0000 (19:08 +0100)]
fix some types

7 years agorename static functions
Richard Russon [Mon, 23 Oct 2017 13:46:09 +0000 (14:46 +0100)]
rename static functions

7 years agorearrange functions
Richard Russon [Mon, 23 Oct 2017 13:39:53 +0000 (14:39 +0100)]
rearrange functions

No code changes

Static functions first
General public functions
Mailbox functions

7 years agoNeoMutt 2017-10-27 neomutt-20171027
Richard Russon [Fri, 27 Oct 2017 15:22:21 +0000 (16:22 +0100)]
NeoMutt 2017-10-27

7 years agoupdate translations
Richard Russon [Fri, 27 Oct 2017 13:22:43 +0000 (14:22 +0100)]
update translations

7 years agoclang-format
Richard Russon [Fri, 27 Oct 2017 13:18:23 +0000 (14:18 +0100)]
clang-format

7 years agoupdate mailmap
Richard Russon [Fri, 27 Oct 2017 13:03:00 +0000 (14:03 +0100)]
update mailmap

7 years agodocs: update credits
Richard Russon [Fri, 27 Oct 2017 12:49:48 +0000 (13:49 +0100)]
docs: update credits

7 years agoupdate changelog
Richard Russon [Fri, 27 Oct 2017 12:46:24 +0000 (13:46 +0100)]
update changelog

7 years agoversion 2017-10-27
Richard Russon [Fri, 27 Oct 2017 12:13:28 +0000 (13:13 +0100)]
version 2017-10-27

7 years agoWrap dirname(3) inside a mutt_dirname() function
Pietro Cerutti [Thu, 26 Oct 2017 16:08:41 +0000 (17:08 +0100)]
Wrap dirname(3) inside a mutt_dirname() function

* Wrap dirname(3) inside a mutt_dirname() function

This new function, opposite to the original dirname(3), does not modify
its argument and can be passed a const char * argument. This means that
callers mustn't copy their strings before calling dirname anymore.

7 years agoautosetup: check for sys_siglist[]
Richard Russon [Thu, 26 Oct 2017 16:06:34 +0000 (17:06 +0100)]
autosetup: check for sys_siglist[]

7 years agourl: make notmuch query string parser generic (#812)
Mehdi ABAAKOUK [Wed, 25 Oct 2017 16:10:53 +0000 (18:10 +0200)]
url: make notmuch query string parser generic (#812)

* Notmuch: remove custom UriTag linked list

Use STAILQ helper for UriTag linked list.

* url: make notmuch query string parser generic

Enhance the url.c to handle query strings.

This permits to remove the notmuch custom url parser.

* url: always parse query string

This removes url_parse_with_qs methods.

* fix some problems

- double free in nm_normalize_uri()
- set path to NULL in url_parse()
  If we're setting all the other members, we should set the path too
- tidy some doxygen docs

* notmuch: remove useless starting / from db_filename

7 years agobuild: --enable-everything includes lua (#868)
Richard Russon [Wed, 25 Oct 2017 15:56:21 +0000 (16:56 +0100)]
build: --enable-everything includes lua (#868)

Fixes #855

7 years agoDo not use CPPFLAGS / CFLAGS together with CC_FOR_BUILD (#882)
Pietro Cerutti [Wed, 25 Oct 2017 15:51:46 +0000 (16:51 +0100)]
Do not use CPPFLAGS / CFLAGS together with CC_FOR_BUILD (#882)

* Do not use CPPFLAGS / CFLAGS together with CC_FOR_BUILD
* Restore -std=c99 when building makedoc
* Make sure host-independent CFLAGS are passed to CC_FOR_BUILD
* Let CC_FOR_BUILD carry CFLAGS_FOR_BUILD, there's no reason to split them

7 years agoFix smart wrap in pager without breaking header
Austin Ray [Sat, 21 Oct 2017 18:08:34 +0000 (14:08 -0400)]
Fix smart wrap in pager without breaking header

This commit addresses the issue of smart wrap not working if a line
started with whitespace.

This behavior was a result commit f5e472b where smart wrap was disabled
on lines beginning with a space or tab to prevent headers from having
weird wrapping.

This commit addresses this issue by only applying smart wrapping if the
pager is displaying a message body. This allows smart_wrap to work
inside of a message and preserves what commit f5e472b addressed.

Additionally, the buf[cnt] checks have been simplified with the use of
the ISSPACE() macro.

While fixing the smart wrap, it became apparent that the HEADER portion
of the pager was not properly updating when the wrap size was modified.
To address this, the wrap command was changed from R_PAGER to
R_PAGER_FLOW in init.h. This redraws the pager after wrap is modified.

7 years agocall the folder-hook before saving to $record
Richard Russon [Sat, 21 Oct 2017 15:51:38 +0000 (16:51 +0100)]
call the folder-hook before saving to $record

7 years agofix actions on tagged messages (#823)
Richard Russon [Tue, 24 Oct 2017 12:27:21 +0000 (13:27 +0100)]
fix actions on tagged messages (#823)

Many actions aren't performed on all tagged messages if the messages are
within a collapsed thread.

7 years agolib: move List and Queue into library
Richard Russon [Sat, 21 Oct 2017 00:08:24 +0000 (01:08 +0100)]
lib: move List and Queue into library

7 years agoUpdate autosetup to latest master branch
Pietro Cerutti [Mon, 23 Oct 2017 08:04:37 +0000 (08:04 +0000)]
Update autosetup to latest master branch

This includes the fix for a more fine-grained interaction between
$prefix, /etc, and /var.
See https://github.com/msteveb/autosetup/issues/31.

7 years agoIssue 888: Fix imap mailbox flag logging
Larry Rosenman [Sun, 22 Oct 2017 02:24:31 +0000 (21:24 -0500)]
Issue 888: Fix imap mailbox flag logging

remove the blank line in the keywords logging, per @flatcap

use Buffer and related functions for mailbox flag print

Review comments from @flatcap on IRC

free() -> FREE()

revert free() -> FREE()

Correct use of FREE() per @flatcap

tabs->spaces, per @flatcap

clang-format

One log line for flags, per @gahr

7 years agoFixes for endianness detection (#893)
Pietro Cerutti [Mon, 23 Oct 2017 11:50:37 +0000 (12:50 +0100)]
Fixes for endianness detection (#893)

* Move endian check after system extensions

GNU/Linux does not seem to define BYTE_ORDER in vanilla c99 mode.

Issue #883

* Make sure WORDS_BIGENDIAN is defined if big-endian

Issue #883

* Fix typo: s/Endianess/Endianness/

Issue #883

7 years agoautosetup: delete makedoc on 'make clean' (#891)
Richard Russon [Mon, 23 Oct 2017 07:53:51 +0000 (08:53 +0100)]
autosetup: delete makedoc on 'make clean' (#891)

Now that makedoc is always built, alter the 'make clean' target to
delete it.

7 years agodocs: compressed and nntp features are now always built
Zero King [Sun, 22 Oct 2017 14:45:26 +0000 (14:45 +0000)]
docs: compressed and nntp features are now always built

7 years agoinitialise variables
Richard Russon [Sat, 14 Oct 2017 16:28:18 +0000 (17:28 +0100)]
initialise variables

These variables were passed uninitialised to a function which increments
them.

Discovered by Coverity after the 'if-assign' commits.

7 years agorefactor out O_NOFOLLOW
Richard Russon [Fri, 20 Oct 2017 14:47:08 +0000 (15:47 +0100)]
refactor out O_NOFOLLOW

O_NOFOLLOW is part of POSIX:2008 which isn't required for NeoMutt.
This refactoring streamlines the code.

7 years agouse mutt_array_size()
Richard Russon [Mon, 16 Oct 2017 13:14:19 +0000 (14:14 +0100)]
use mutt_array_size()

7 years agominor code fixes
Richard Russon [Sun, 8 Oct 2017 11:13:16 +0000 (12:13 +0100)]
minor code fixes

* Fix typos
* Fix function prototype
* Remove spurious semicolons
* Remove duplicate #include

7 years agoUpdate autosetup to latest master branch
Pietro Cerutti [Thu, 19 Oct 2017 11:34:13 +0000 (11:34 +0000)]
Update autosetup to latest master branch

7 years agodoxygen: fix a few warnings
Richard Russon [Wed, 18 Oct 2017 16:36:25 +0000 (17:36 +0100)]
doxygen: fix a few warnings

7 years agoMove mutt_rename_file to lib/file.[hc]
Pietro Cerutti [Thu, 19 Oct 2017 15:13:47 +0000 (15:13 +0000)]
Move mutt_rename_file to lib/file.[hc]

7 years agoUse host compiler to build the documentation
Pietro Cerutti [Thu, 19 Oct 2017 12:28:00 +0000 (12:28 +0000)]
Use host compiler to build the documentation

Issue #870

7 years agoUse bundled wcscasecmp if an implementation is not found in libc
Pietro Cerutti [Fri, 20 Oct 2017 08:38:41 +0000 (08:38 +0000)]
Use bundled wcscasecmp if an implementation is not found in libc

Issue #879

7 years agoUse safe_calloc to initialize memory, simplify size_t overflow check 875/head
Pietro Cerutti [Thu, 19 Oct 2017 11:55:48 +0000 (11:55 +0000)]
Use safe_calloc to initialize memory, simplify size_t overflow check

7 years agoadd extra checks to mutt_pattern_exec()
Richard Russon [Thu, 19 Oct 2017 11:54:05 +0000 (12:54 +0100)]
add extra checks to mutt_pattern_exec()

7 years agobool: convert function parameters in nntp.h 871/head
Anton Rieger [Wed, 18 Oct 2017 19:39:52 +0000 (21:39 +0200)]
bool: convert function parameters in nntp.h

* nntp_active_fetch()
* nntp_select_server()

Caller affected
* main()
* mutt_compose_menu()
* mutt_index_menu()
* _mutt_select_file()
* nntp_open_mailbox()
* nntp_post()
* nntp_select_server()

7 years agonotmuch: virtual-mailboxes should accept a limit
Austin Ray [Tue, 17 Oct 2017 21:23:36 +0000 (17:23 -0400)]
notmuch: virtual-mailboxes should accept a limit

* Fix issue #849

nm_uri_from_query() checks if there is a custom limit and includes it
in the URI. This keeps the limit intact after nm_normalize_uri()
terminates. Otherwise, the limit is stored within nm_normalize_uri()'s
temporary NmCtxData struct and lost upon termination.

Additionally, nm_normalize_uri() properly initializes tmp_ctxdata, which
sets the default db_limit value. This ensures db_limit is either
NmDbLimit or the custom limit. My earlier attempt to resolve #849 did
not initialize db_limit and suffered from random db_limit values.

The url_parse_query() check was removed from nm_normalize_uri() as
new_ctxdata() contains the same block of code. Error message numbering
has been updated the reflect the change.

* Remove redundant variable

Refactor per suggestions in code review to remove redundant variable and
update method signature.

The removal of the redundant variable prompt the need to change
tmp_ctxdata from NmCtxData to *NmCtxData. Calls to its fields have been
updated to reflect its new status.

* wipe the context before use

7 years agosplit up 'if' statements that assign and test (3) 867/head
Richard Russon [Tue, 17 Oct 2017 03:29:52 +0000 (04:29 +0100)]
split up 'if' statements that assign and test (3)

Split 'if' statements that combine an assignment with a test.
e.g. from:

    if ((rc = mutt_socket_readln(buf, bufsize, conn)) < 0)

To:

    rc = mutt_socket_readln(buf, bufsize, conn);
    if (rc < 0)

This makes the statements a little easier to read and debug.

7 years agoEnglish and other cleanups
Larry Rosenman [Tue, 17 Oct 2017 02:22:16 +0000 (21:22 -0500)]
English and other cleanups

7 years agoimap/notmuch tags: Add some documentation
Mehdi Abaakouk [Mon, 16 Oct 2017 13:19:06 +0000 (15:19 +0200)]
imap/notmuch tags: Add some documentation

7 years agoLet autosetup define PWD, do not unnecessarily try to create hcache dir (#847)
Pietro Cerutti [Tue, 17 Oct 2017 08:24:29 +0000 (09:24 +0100)]
Let autosetup define PWD, do not unnecessarily try to create hcache dir (#847)

Issue #845

7 years agotags: Show fake header for all backends
Mehdi Abaakouk [Mon, 16 Oct 2017 13:32:27 +0000 (15:32 +0200)]
tags: Show fake header for all backends

Closes #864

7 years agoGenerate neomuttrc even if configured with --disable-doc
Pietro Cerutti [Mon, 16 Oct 2017 11:23:05 +0000 (11:23 +0000)]
Generate neomuttrc even if configured with --disable-doc

Issue #862

7 years agoAdd polling for the IDLE command. (closes #3957)
Kevin McCarthy [Sun, 15 Oct 2017 07:13:18 +0000 (15:13 +0800)]
Add polling for the IDLE command. (closes #3957)

Add $imap_poll_timeout poll for IDLE, since this is also a command
that will freeze after waking if $imap_idle is set.

7 years agoAllow to specify --docdir at configure time 858/head
Pietro Cerutti [Sat, 14 Oct 2017 13:08:23 +0000 (13:08 +0000)]
Allow to specify --docdir at configure time

Issue #857

7 years agoFix neomutt.pot location, remove from git 854/head
Pietro Cerutti [Sat, 14 Oct 2017 12:16:54 +0000 (12:16 +0000)]
Fix neomutt.pot location, remove from git

Issue #853

7 years agoFix update-po
Pietro Cerutti [Fri, 13 Oct 2017 14:08:08 +0000 (14:08 +0000)]
Fix update-po

Issue #853

7 years agoBool: change functions in mx.h 852/head
Anton Rieger [Fri, 13 Oct 2017 11:41:16 +0000 (13:41 +0200)]
Bool: change functions in mx.h

* maildir_parse_message()
* maildir_parse_stream()
* mx_tags_is_supported()
* mx_update_tables()

Caller affected
* append_message()
* append_message()
* maildir_update_tables()
* mx_sync_mailbox()
* mx_update_tables()

7 years agoRefactor: Remove unused return type 851/head
Anton Rieger [Fri, 13 Oct 2017 11:07:47 +0000 (13:07 +0200)]
Refactor: Remove unused return type

* mutt_tunnel_socket_setup()

7 years agofix: prevent timezone overflow 830/head
Richard Russon [Mon, 9 Oct 2017 12:39:26 +0000 (13:39 +0100)]
fix: prevent timezone overflow

On 32-bit arches it's easy to over-/under-flow the date.
We replace these with the max/min values allowed in a time_t.

When we encounter one of these dates, pretend it's UTC to prevent
another overflow.

Fixes #819
Fixes #820

7 years agosplit up 'if' statements that assign and test (2) 825/head
Richard Russon [Sat, 7 Oct 2017 10:24:25 +0000 (11:24 +0100)]
split up 'if' statements that assign and test (2)

Split 'if' statements that combine an assignment with a test.
e.g. from:

    if (!(adr = mutt_parse_adrlist(adr, buf)))

To:
    adr = mutt_parse_adrlist(adr, buf);
    if (!adr)

This makes the statements a little easier to read and debug.

7 years agosplit up 'if' statements that assign and test
Richard Russon [Sat, 7 Oct 2017 10:24:25 +0000 (11:24 +0100)]
split up 'if' statements that assign and test

Split 'if' statements that combine an assignment with a test.
e.g. from:

    if ((pc = imap_get_flags(&(idata->flags), pc)) == NULL)

To
    pc = imap_get_flags(&(idata->flags), pc);
    if (!pc)

This makes the statements a little easier to read and debug.

7 years agomerge: minor code cleanups
Richard Russon [Sat, 14 Oct 2017 14:32:06 +0000 (15:32 +0100)]
merge: minor code cleanups

 * move functions to library
 * lib: move MIN/MAX macros
 * simplify null checks
 * kill preproc expansion laziness
 * fix: variable type when using fread
 * reduce scope of variables

7 years agoreduce scope of variables 824/head
Richard Russon [Wed, 4 Oct 2017 12:14:08 +0000 (13:14 +0100)]
reduce scope of variables

C99 allows a 'for' loop to define its variable.
This reduces the variable's scope making its use clearer.

7 years agofix: variable type when using fread
Richard Russon [Tue, 10 Oct 2017 13:47:39 +0000 (14:47 +0100)]
fix: variable type when using fread

7 years agokill preproc expansion laziness
Richard Russon [Sat, 7 Oct 2017 01:19:56 +0000 (02:19 +0100)]
kill preproc expansion laziness

Replace macros which were shortcuts for code, e.g.

```
  #define CUR_ENV Context->hdrs[i]->env
  function(CUR_ENV);
  CUR_ENV->from = "user";
  #undef CUR_ENV
```

7 years agosimplify null checks
Richard Russon [Sat, 7 Oct 2017 20:37:34 +0000 (21:37 +0100)]
simplify null checks

Simplify checks:
* `if (x == NULL)` -> `if (!x)`
* `if (x != NULL)` -> `if (x)`

7 years agolib: move MIN/MAX macros
Richard Russon [Wed, 4 Oct 2017 18:35:07 +0000 (19:35 +0100)]
lib: move MIN/MAX macros

Remove a duplicate definition of the MIN/MAX macros.

7 years agomove functions to library
Richard Russon [Thu, 5 Oct 2017 01:11:50 +0000 (02:11 +0100)]
move functions to library

These functions have no NeoMutt dependencies:

* imap_make_date()
* imap_parse_date()
* imap_wordcasecmp()
* rstrnstr()

Moving the functions to the library will make it easier to test them and
find common behaviour.

7 years agoNeoMutt 2017-10-13 neomutt-20171013
Richard Russon [Fri, 13 Oct 2017 12:57:26 +0000 (13:57 +0100)]
NeoMutt 2017-10-13

7 years agoupdate translations
Richard Russon [Fri, 13 Oct 2017 12:43:00 +0000 (13:43 +0100)]
update translations

7 years agoclang-format
Richard Russon [Fri, 13 Oct 2017 12:29:47 +0000 (13:29 +0100)]
clang-format

7 years agoupdate mailmap
Richard Russon [Fri, 13 Oct 2017 12:29:29 +0000 (13:29 +0100)]
update mailmap

7 years agodocs: update credits
Richard Russon [Fri, 13 Oct 2017 12:22:37 +0000 (13:22 +0100)]
docs: update credits

7 years agoupdate changelog
Richard Russon [Fri, 13 Oct 2017 12:21:07 +0000 (13:21 +0100)]
update changelog

7 years agoversion: 2017-10-13
Richard Russon [Fri, 13 Oct 2017 10:25:12 +0000 (11:25 +0100)]
version: 2017-10-13

7 years agoDeprecation: changed called function in mutt_sasl.c
Anton Rieger [Thu, 12 Oct 2017 20:04:48 +0000 (22:04 +0200)]
Deprecation: changed called function in mutt_sasl.c

* mutt_sasl_done()

7 years agobool: convert struct member in mutt_regex.h
Anton Rieger [Wed, 11 Oct 2017 00:01:51 +0000 (02:01 +0200)]
bool: convert struct member in mutt_regex.h

* struct Regex
* restore_default()

7 years agoAllow enabling of fmemopen (#842)
Pietro Cerutti [Wed, 11 Oct 2017 13:11:42 +0000 (14:11 +0100)]
Allow enabling of fmemopen (#842)

Issue #839

7 years agokeyword: remove doc menu entry
Mehdi Abaakouk [Tue, 10 Oct 2017 11:19:04 +0000 (13:19 +0200)]
keyword: remove doc menu entry

We remove keyword dead code in 5c600997cd0e028a237fe6847ddffa1f2c340ea6.

This change removes the memu entry in the doc.

Closes #836

7 years agoUse mutt_sleep(0)
Pietro Cerutti [Tue, 10 Oct 2017 12:32:45 +0000 (12:32 +0000)]
Use mutt_sleep(0)

Issue #777

7 years agoPrefer a helpful error message over a BEEP
Pietro Cerutti [Tue, 10 Oct 2017 07:57:25 +0000 (07:57 +0000)]
Prefer a helpful error message over a BEEP

Issue #777

7 years agoDo not fail if deflate is not in libz
Pietro Ceruti [Tue, 10 Oct 2017 06:30:19 +0000 (06:30 +0000)]
Do not fail if deflate is not in libz

Issue #828

7 years agoRebrand `.muttdebug` to `.neomutt`
Nicolas Bock [Mon, 9 Oct 2017 15:22:04 +0000 (09:22 -0600)]
Rebrand `.muttdebug` to `.neomutt`

The debug files should be called `.neomuttdegub` for consistency.

7 years agofix: crash using uncolor (#833)
Richard Russon [Tue, 10 Oct 2017 09:27:08 +0000 (10:27 +0100)]
fix: crash using uncolor (#833)

Using 'uncolor' on the last 'color' added would cause a crash.

7 years agoSort the folders list when browsing an IMAP server (#831)
Pietro Cerutti [Tue, 10 Oct 2017 09:26:12 +0000 (10:26 +0100)]
Sort the folders list when browsing an IMAP server (#831)

Issue #803

7 years agoIf set, use -D_FILE_OFFSET_BITS=64 when checking for GPGMe (#829)
Pietro Cerutti [Mon, 9 Oct 2017 18:37:52 +0000 (19:37 +0100)]
If set, use -D_FILE_OFFSET_BITS=64 when checking for GPGMe (#829)

* If set, use -D_FILE_OFFSET_BITS=64 when checking for GPGMe

Issue #826

* Let OFF_T_FMT be "%" PRId64 whenever LFS is there

Issue #826

7 years agoSupport EXTRA_CFLAGS and EXTRA_LDFLAGS, kill unused variable
Pietro Cerutti [Mon, 9 Oct 2017 12:33:54 +0000 (12:33 +0000)]
Support EXTRA_CFLAGS and EXTRA_LDFLAGS, kill unused variable

EXTRA_CFLAGS and EXTRA_LDFLAGS can now be passed to make on the command
line. These are meant to be used for those flags that would otherwise
create problems at configure stage, like address sanitizers flags.

While at it, remove the setting of MUTT_VERSION, which is now unused.

7 years agodocs: fix case of Notmuch
Richard Russon [Fri, 6 Oct 2017 21:19:01 +0000 (22:19 +0100)]
docs: fix case of Notmuch

7 years agodocs: sync to website
Richard Russon [Fri, 6 Oct 2017 20:44:37 +0000 (21:44 +0100)]
docs: sync to website

7 years agoInstall doc into `neomutt`
Nicolas Bock [Fri, 6 Oct 2017 17:35:12 +0000 (11:35 -0600)]
Install doc into `neomutt`

The documentation is installed into the `mutt` subdirectory by default.
This directory should be renamed to `neomutt`.

7 years agoNeoMutt 2017-10-06 neomutt-20171006
Richard Russon [Fri, 6 Oct 2017 14:32:20 +0000 (15:32 +0100)]
NeoMutt 2017-10-06

7 years agoupdate translations
Richard Russon [Fri, 6 Oct 2017 14:30:52 +0000 (15:30 +0100)]
update translations

7 years agoclang-format
Richard Russon [Fri, 6 Oct 2017 14:13:41 +0000 (15:13 +0100)]
clang-format

7 years agoupdate mailmap
Richard Russon [Fri, 6 Oct 2017 14:10:58 +0000 (15:10 +0100)]
update mailmap

7 years agodocs: update credits
Richard Russon [Fri, 6 Oct 2017 13:39:32 +0000 (14:39 +0100)]
docs: update credits

7 years agoupdate changelog
Richard Russon [Fri, 6 Oct 2017 13:35:29 +0000 (14:35 +0100)]
update changelog

7 years agoversion: 2017-10-06
Richard Russon [Fri, 6 Oct 2017 11:34:51 +0000 (12:34 +0100)]
version: 2017-10-06

7 years agoTAILQify struct Connection 814/head
Pietro Cerutti [Tue, 3 Oct 2017 08:18:26 +0000 (08:18 +0000)]
TAILQify struct Connection

7 years agoSTAILQify struct ColorLine 811/head
Pietro Cerutti [Mon, 2 Oct 2017 11:46:28 +0000 (11:46 +0000)]
STAILQify struct ColorLine

7 years agofix: add more range-checking on dates/times 795/head
Richard Russon [Sun, 1 Oct 2017 12:33:32 +0000 (13:33 +0100)]
fix: add more range-checking on dates/times

7 years agofix: overflow in mutt_mktime()
Richard Russon [Wed, 27 Sep 2017 18:04:39 +0000 (19:04 +0100)]
fix: overflow in mutt_mktime()

mutt_mktime() can overflow when used on 32-bit arches.
This was due to a bogus comparision.

Now, extreme future dates will be interpreted as 2038-01-19.

Fixes #794

7 years agokeywords: Remove dead code/doc of keywords patch 792/head
Mehdi Abaakouk [Wed, 27 Sep 2017 05:32:52 +0000 (07:32 +0200)]
keywords: Remove dead code/doc of keywords patch

Keywords patch support have been removed by 92e6dc1d89f7187eeea1412e51598600925e23f5.

This change removes associated config and docs.

Closes #769

7 years agotravis: restore config
Richard Russon [Tue, 3 Oct 2017 15:12:42 +0000 (16:12 +0100)]
travis: restore config

7 years agoAutosetup-based configuration 745/head
Pietro Cerutti [Fri, 11 Aug 2017 15:45:45 +0000 (15:45 +0000)]
Autosetup-based configuration

Pull #745

7 years agomerge: keywords
Richard Russon [Tue, 3 Oct 2017 12:47:51 +0000 (13:47 +0100)]
merge: keywords

 * Make the notmuch tags generic
 * tags: Add index_format %J
 * Add IMAP keywords support
 * Share label editing between imap/notmuch
 * Tidying the code
 * tags: always pass correct buffer length
 * imap: fix memory leak
 * notmuch: remove unused methods declaration
 * tags: remove needs of HEADER_TAGS macro
 * tags: make private method private
 * tags: rename HeaderTag to TagList
 * tags: remove useless ifdef
 * tags: store transformed tags only if needed
 * imap: Don't use keywords terminology, but flags
 * tags: rename OP_MAIN_MODIFY_LABEL/TAGS
 * tags: rename modify-labels/modify-tags
 * tags: rename hdr_tags to driver_tags
 * tags: move tags_editor and tags_commit to mx
 * tags: don't depends on header.c
 * tags: Don't duplicate tags allocation
 * tags: fix notmuch editor return code
 * tags: rename DRIVER_LABEL to DRIVER_TAGS
 * always pass char to mutt_str_append_item

7 years agoalways pass char to mutt_str_append_item 764/head
Mehdi Abaakouk [Thu, 21 Sep 2017 17:29:50 +0000 (19:29 +0200)]
always pass char to mutt_str_append_item