Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e22dd4

Browse files
committed
NeoMutt 2017-10-06
2 parents b97206f + c76bd97 commit 7e22dd4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+12017
-10587
lines changed

.mailmap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## NeoMutt Contributors
22
Adam Borowski <[email protected]> Adam Borowski <[email protected]> # @kilobyte
33
André Berger <[email protected]> André Berger <[email protected]> # @hvkls
4+
Anton Rieger <[email protected]> Anton Rieger <[email protected]> # seishinryohosha
5+
Anton Rieger <[email protected]> seishinryohosha <[email protected]> # seishinryohosha
46
Antonio Radici <[email protected]> Antonio Radici <[email protected]> # @aradici
57
Antonio Radici <[email protected]> Unknown <[email protected]> # @aradici
68
Bernard Pratz <[email protected]> Bernard 'Guyzmo' Pratz <[email protected]> # @guyzmo
@@ -37,6 +39,8 @@ Ian Zimmerman <[email protected]> Ian Zimmerman <n
3739
Ismaël Bouya <[email protected]> Ismaël Bouya <[email protected]> # @immae
3840
Ivan Tham <[email protected]> Ivan Tham <[email protected]> # @pickfire
3941
Jack Stratton <[email protected]> Jack Stratton <[email protected]> # @phroa
42+
Jakub Wilk <[email protected]> Jakub Wilk <[email protected]> # jwilk
43+
Jelle van der Waa <[email protected]> Jelle van der Waa <[email protected]> # jelly
4044
Jenya Sovetkin <[email protected]> Jenya Sovetkin <[email protected]> # @esovetkin
4145
Johannes Weißl <[email protected]> Johannes Weißl <[email protected]> # @weisslj
4246
Jonathan Perkin <[email protected]> Jonathan Perkin <[email protected]> # @jperkin
@@ -279,6 +283,7 @@ Robert Schiele <[email protected]> Robert Schiele <
279283
Rocco Rutte <[email protected]> Rocco Rutte <[email protected]>
280284
Rocco Rutte <[email protected]> Rocco Rutte <[email protected]>
281285
Roger Cornelius <[email protected]> Roger Cornelius <[email protected]>
286+
Roger Pau Monne <[email protected]> Roger Pau Monne <[email protected]>
282287
Roland Rosenfeld <[email protected]> Roland Rosenfeld <[email protected]>
283288
Roman Kagan <[email protected]> Roman Kagan <[email protected]>
284289
Roman Kraevskiy <[email protected]> Roman Kraevskiy <[email protected]>

ChangeLog.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
2017-10-06 Richard Russon <[email protected]>
2+
* Features
3+
- Add IMAP keywords support
4+
* Bug Fixes
5+
- set mbox_type
6+
- %{fmt} date format
7+
- Fix off-by-one buffer overflow in add_index_color
8+
- crash in mbox_to_udomain
9+
- crash in mutt_substrdup
10+
- crash looking up mime body type
11+
- digest_collapse was broken
12+
- crash using notmuch expando with imap
13+
- imap: Fix mx.mbox leak in imap_get_parent_path
14+
- overflow in mutt_mktime()
15+
- add more range-checking on dates/times
16+
- Remove spurious error message
17+
- Unsubscribe after deleting an imap folder
18+
- Do not pop from MuttrcStack what wasn't pushed
19+
* Docs
20+
- replace mutt refs with neomutt
21+
- drop old vim syntax file
22+
* Code
23+
- convert functions to use 'bool'
24+
- convert structs to use STAILQ
25+
* Build
26+
- Autosetup-based configuration
27+
- drop upstream mutt references
28+
- rename everything 'mutt' to 'neomutt'
29+
- move helper programs to lib dir
30+
- rename regexp to regex
31+
- expand buffers to avoid gcc7 warnings
32+
* Upstream
33+
- Remove \Seen flag setting for imap trash
34+
- Change imap copy/save and trash to sync flags, excluding deleted
35+
- Improve imap fetch handler to accept an initial UID
36+
- Display an error message when delete mailbox fails
37+
- Updated French translation
38+
- Fix imap sync segfault due to inactive headers during an expunge
39+
- Close the imap socket for the selected mailbox on error
40+
- Add missing IMAP_CMD_POLL flag in imap buffy check
41+
- Change maildir and mh check_mailbox to use dynamic sized hash
42+
- Fix uses of context->changed as a counter
43+
- Make cmd_parse_fetch() more precise about setting reopen/check flags
44+
- Enable $reply_self for group-reply, even with $metoo unset
45+
146
2017-09-12 Richard Russon <[email protected]>
247
* Bug Fixes
348
- broken check on resend message

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,24 @@ sorted through them, fixed them up and documented them.
7878
Here's a list of everyone who's helped NeoMutt:
7979

8080
Adam Borowski, Alex Pearce, Alok Singh, Ander Punnar, André Berger,
81-
Antonio Radici, Baptiste Daroussin, Bernard Pratz, Bo Yu, Bryan Bennett,
82-
Chris Czettel, Chris Salzberg, Christian Dröge, Christoph Berg, Cinder88,
83-
Clemens Lang, Damien Riegel, Darshit Shah, David Sterba,
81+
Anton Rieger, Antonio Radici, Baptiste Daroussin, Bernard Pratz, Bo Yu,
82+
Bryan Bennett, Chris Czettel, Chris Salzberg, Christian Dröge, Christoph Berg,
83+
cinder88, Clemens Lang, Damien Riegel, Darshit Shah, David Sterba,
8484
Dimitrios Semitsoglou-Tsiapos, Doug Stone-Weaver, Edward Betts,
8585
Elimar Riesebieter, Evgeni Golov, Fabian Groffen, Fabio Alessandro Locati,
8686
Fabrice Bellet, Faidon Liambotis, Florian Klink, František Hájik,
8787
Guillaume Brogi, Hugo Barrera, Ian Zimmerman, Ismaël Bouya, Ivan Tham,
88-
Jack Stratton, Jasper Adriaanse, Jenya Sovetkin, Johannes Frankenau,
89-
Johannes Weißl, Jonathan Perkin, Joshua Jordi, Julian Andres Klode, Karel Zak,
90-
Kevin Decherf, Kevin Velghe, Kurt Jaeger, Leonidas Spyropoulos,
91-
Manos Pitsidianakis, Marcin Rajner, Marco Hinz, Matteo Vescovi, Mehdi Abaakouk,
92-
ng0, Olaf Lessenich, Peter Hogg, Peter Lewis, Phil Pennock, Philipp Marek,
93-
Pierre-Elliott Bécue, Pietro Cerutti, R3lgar, Regid Ichira, Riad Wahby,
94-
Richard Hartmann, Richard Russon, Rubén Llorente, Santiago Torres,
95-
Serge Gebhardt, Somini, Stefan Assmann, Stefan Bühler, Stephen Gilles,
96-
Steven Ragnarök, Sven Guckes, Thomas Adam, Thomas Klausner, Thomas Schneider,
97-
Tobias Angele, Udo Schweigert, Vsevolod Volkov, Werner Fink, Wieland Hoffmann,
98-
William Pettersson, Yoshiki Vázquez Baeza, Zero King.
88+
Jack Stratton, Jakub Wilk, Jasper Adriaanse, Jelle van der Waa, Jenya Sovetkin,
89+
Johannes Frankenau, Johannes Weißl, Jonathan Perkin, Joshua Jordi,
90+
Julian Andres Klode, Karel Zak, Kevin Decherf, Kevin Velghe, Kurt Jaeger,
91+
Leonidas Spyropoulos, Manos Pitsidianakis, Marcin Rajner, Marco Hinz,
92+
Matteo Vescovi, Mehdi Abaakouk, ng0, Olaf Lessenich, Peter Hogg, Peter Lewis,
93+
Phil Pennock, Philipp Marek, Pierre-Elliott Bécue, Pietro Cerutti, r3lgar,
94+
Regid Ichira, Riad Wahby, Richard Hartmann, Richard Russon, Rubén Llorente,
95+
Santiago Torres, Serge Gebhardt, somini, Stefan Assmann, Stefan Bühler,
96+
Stephen Gilles, Steven Ragnarök, Sven Guckes, Thomas Adam, Thomas Klausner,
97+
Thomas Schneider, Tobias Angele, Udo Schweigert, Vsevolod Volkov, Werner Fink,
98+
Wieland Hoffmann, William Pettersson, Yoshiki Vázquez Baeza, Zero King.
9999

100100
## Original Patch Authors
101101

auto.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use system cc cc-lib mutt-gettext mutt-iconv
1212
###############################################################################
1313
# Names and versions
1414
define PACKAGE "neomutt"
15-
define PACKAGE_VERSION "20170912"
15+
define PACKAGE_VERSION "20171006"
1616
define BUGS_ADDRESS "[email protected]"
1717

1818
# Subdirectories that contain additional Makefile.autosetup files

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dnl autoreconf -i
44
CFLAGS=$CFLAGS
55
LDFLAGS=$LDFLAGS
66

7-
AC_INIT([NeoMutt], [20170912], [[email protected]], [neomutt], [https://www.neomutt.org])
7+
AC_INIT([NeoMutt], [20171006], [[email protected]], [neomutt], [https://www.neomutt.org])
88
AC_CONFIG_SRCDIR(mutt.h)
99
AC_CONFIG_AUX_DIR([.build-aux])
1010
AM_INIT_AUTOMAKE

doxygen/doxygen.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PROJECT_NAME = "NeoMutt"
2525
# could be handy for archiving the generated documentation or if some version
2626
# control system is used.
2727

28-
PROJECT_NUMBER = 2017-09-12
28+
PROJECT_NUMBER = 2017-10-06
2929

3030
# Using the PROJECT_BRIEF tag one can provide an optional one line description
3131
# for a project that appears at the top of each page and should give viewer a

hdrline.c

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,8 @@ static const char *hdr_format_str(char *dest, size_t destlen, size_t col, int co
881881
format[2] = 0;
882882

883883
tag = hash_find(TagFormats, format);
884-
if (tag) {
884+
if (tag)
885+
{
885886
tags = driver_tags_get_transformed_for(tag, &hdr->tags);
886887
if (!tags)
887888
optional = 0;
@@ -911,12 +912,15 @@ static const char *hdr_format_str(char *dest, size_t destlen, size_t col, int co
911912
if (tags)
912913
{
913914
i = 1; /* reduce reuse recycle */
914-
if (flags & MUTT_FORMAT_TREE){
915+
if (flags & MUTT_FORMAT_TREE)
916+
{
915917
char *parent_tags = NULL;
916918
if (hdr->thread->prev && hdr->thread->prev->message)
917-
parent_tags = driver_tags_get_transformed(&hdr->thread->prev->message->tags);
919+
parent_tags =
920+
driver_tags_get_transformed(&hdr->thread->prev->message->tags);
918921
if (!parent_tags && hdr->thread->parent && hdr->thread->parent->message)
919-
parent_tags = driver_tags_get_transformed(&hdr->thread->parent->message->tags);
922+
parent_tags =
923+
driver_tags_get_transformed(&hdr->thread->parent->message->tags);
920924
if (parent_tags && mutt_strcasecmp(tags, parent_tags) == 0)
921925
i = 0;
922926
FREE(&parent_tags);

imap/imap.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,8 @@ int imap_sync_message_for_copy(struct ImapData *idata, struct Header *hdr,
11681168
safe_strcat(flags, sizeof(flags), HEADER_DATA(hdr)->flags_system);
11691169
/* set custom flags */
11701170
tags = driver_tags_get_with_hidden(&hdr->tags);
1171-
if (tags) {
1171+
if (tags)
1172+
{
11721173
safe_strcat(flags, sizeof(flags), tags);
11731174
FREE(&tags);
11741175
}
@@ -1267,7 +1268,7 @@ static int imap_edit_message_tags(struct Context *ctx, const char *tags, char *b
12671268
{
12681269
char *new = NULL;
12691270
char *checker = NULL;
1270-
struct ImapData* idata = (struct ImapData*) ctx->data;
1271+
struct ImapData *idata = (struct ImapData *) ctx->data;
12711272

12721273
/* Check for \* flags capability */
12731274
if (!imap_has_flag(&idata->flags, NULL))
@@ -1337,7 +1338,6 @@ static int imap_edit_message_tags(struct Context *ctx, const char *tags, char *b
13371338
return 1;
13381339
}
13391340

1340-
13411341
/**
13421342
* imap_commit_message_tags - Add/Change/Remove flags from headers
13431343
* @param idata: pointer to a struct ImapData

lib/date.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,7 @@ time_t mutt_parse_date(const char *s, struct Tz *tz_out)
513513
mutt_debug(1, "parse_date: could not process time format: %s\n", t);
514514
return -1;
515515
}
516-
if ((hour < 0) || (hour > 23) || (min < 0) ||
517-
(min > 59) || (sec < 0) || (sec > 60))
516+
if ((hour < 0) || (hour > 23) || (min < 0) || (min > 59) || (sec < 0) || (sec > 60))
518517
return -1;
519518
tm.tm_hour = hour;
520519
tm.tm_min = min;

mutt_notmuch.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,7 @@ static const char *get_db_filename(struct NmCtxData *data)
623623
return db_filename;
624624
}
625625

626-
static notmuch_database_t *do_database_open(const char *filename,
627-
bool writable, bool verbose)
626+
static notmuch_database_t *do_database_open(const char *filename, bool writable, bool verbose)
628627
{
629628
notmuch_database_t *db = NULL;
630629
int ct = 0;
@@ -857,7 +856,6 @@ static int update_header_tags(struct Header *h, notmuch_message_t *msg)
857856
mutt_str_append_item(&new_tags, t, ' ');
858857
}
859858

860-
861859
old_tags = driver_tags_get(&h->tags);
862860

863861
if (new_tags && old_tags && (strcmp(old_tags, new_tags) == 0))
@@ -1255,8 +1253,7 @@ static bool read_mesgs_query(struct Context *ctx, notmuch_query_t *q, bool dedup
12551253
return true;
12561254
}
12571255

1258-
static bool read_threads_query(struct Context *ctx, notmuch_query_t *q,
1259-
bool dedup, int limit)
1256+
static bool read_threads_query(struct Context *ctx, notmuch_query_t *q, bool dedup, int limit)
12601257
{
12611258
struct NmCtxData *data = get_ctxdata(ctx);
12621259
notmuch_threads_t *threads = NULL;
@@ -2139,7 +2136,8 @@ int nm_record_message(struct Context *ctx, char *path, struct Header *h)
21392136
if (st == NOTMUCH_STATUS_SUCCESS && msg)
21402137
{
21412138
notmuch_message_maildir_flags_to_tags(msg);
2142-
if (h) {
2139+
if (h)
2140+
{
21432141
char *tags = driver_tags_get(&h->tags);
21442142
update_tags(msg, tags);
21452143
FREE(&tags);

0 commit comments

Comments
 (0)