]> granicus.if.org Git - neomutt/log
neomutt
5 years agotest: improve test_mutt_date_parse_imap()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_parse_imap()

5 years agotest: improve test_mutt_date_parse_date()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_parse_date()

5 years agotest: improve test_mutt_date_normalize_time()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_normalize_time()

5 years agotest: improve test_mutt_date_make_tls()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_make_tls()

5 years agotest: improve test_mutt_date_make_time()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_make_time()

5 years agotest: improve test_mutt_date_make_imap()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_make_imap()

5 years agotest: improve test_mutt_date_make_date()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_make_date()

5 years agotest: improve test_mutt_date_localtime_format()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_localtime_format()

5 years agotest: improve test_mutt_date_localtime()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_localtime()

5 years agotest: improve test_mutt_date_local_tz()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_local_tz()

5 years agotest: improve test_mutt_date_is_day_name()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_is_day_name()

5 years agotest: improve test_mutt_date_gmtime()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_gmtime()

5 years agotest: improve test_mutt_date_check_month()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_check_month()

5 years agotest: improve test_mutt_date_add_timeout()
Richard Russon [Thu, 30 May 2019 09:34:25 +0000 (10:34 +0100)]
test: improve test_mutt_date_add_timeout()

5 years agodate: move defines, so they can be used for testing
Richard Russon [Thu, 30 May 2019 09:35:11 +0000 (10:35 +0100)]
date: move defines, so they can be used for testing

5 years agomerge: improve list tests
Richard Russon [Thu, 30 May 2019 10:08:36 +0000 (11:08 +0100)]
merge: improve list tests

 * test: ignore mutt_exit()
 * test: add shared list testing code
 * test: improve test_mutt_list_clear()
 * test: improve test_mutt_list_compare()
 * test: improve test_mutt_list_find()
 * test: improve test_mutt_list_free()
 * test: improve test_mutt_list_free_type()
 * test: improve test_mutt_list_insert_after()
 * test: improve test_mutt_list_insert_head()
 * test: improve test_mutt_list_insert_tail()
 * test: improve test_mutt_list_match()

5 years agotest: improve test_mutt_list_match()
Richard Russon [Wed, 29 May 2019 16:00:53 +0000 (17:00 +0100)]
test: improve test_mutt_list_match()

5 years agotest: improve test_mutt_list_insert_tail()
Richard Russon [Wed, 29 May 2019 16:00:53 +0000 (17:00 +0100)]
test: improve test_mutt_list_insert_tail()

5 years agotest: improve test_mutt_list_insert_head()
Richard Russon [Wed, 29 May 2019 16:00:53 +0000 (17:00 +0100)]
test: improve test_mutt_list_insert_head()

5 years agotest: improve test_mutt_list_insert_after()
Richard Russon [Wed, 29 May 2019 16:00:53 +0000 (17:00 +0100)]
test: improve test_mutt_list_insert_after()

5 years agotest: improve test_mutt_list_free_type()
Richard Russon [Wed, 29 May 2019 16:00:53 +0000 (17:00 +0100)]
test: improve test_mutt_list_free_type()

5 years agotest: improve test_mutt_list_free()
Richard Russon [Wed, 29 May 2019 16:00:53 +0000 (17:00 +0100)]
test: improve test_mutt_list_free()

5 years agotest: improve test_mutt_list_find()
Richard Russon [Wed, 29 May 2019 16:00:53 +0000 (17:00 +0100)]
test: improve test_mutt_list_find()

5 years agotest: improve test_mutt_list_compare()
Richard Russon [Wed, 29 May 2019 16:00:53 +0000 (17:00 +0100)]
test: improve test_mutt_list_compare()

5 years agotest: improve test_mutt_list_clear()
Richard Russon [Wed, 29 May 2019 16:00:53 +0000 (17:00 +0100)]
test: improve test_mutt_list_clear()

5 years agotest: add shared list testing code
Richard Russon [Wed, 29 May 2019 16:01:33 +0000 (17:01 +0100)]
test: add shared list testing code

5 years agotest: ignore mutt_exit()
Richard Russon [Tue, 28 May 2019 11:45:42 +0000 (12:45 +0100)]
test: ignore mutt_exit()

5 years agodoc: add example to find all maildir mailboxes
toogley [Sat, 25 May 2019 08:59:48 +0000 (10:59 +0200)]
doc: add example to find all maildir mailboxes

5 years agotest: fix test failures
Richard Russon [Mon, 27 May 2019 09:43:30 +0000 (10:43 +0100)]
test: fix test failures

5 years agoFix list-reply regression introduced when converting Address to TAILQ
Pietro Cerutti [Mon, 27 May 2019 07:58:59 +0000 (07:58 +0000)]
Fix list-reply regression introduced when converting Address to TAILQ

Fixes #1724

5 years agomake OP_HALF_{UP,DOWN} behave symmetric.
Sebastian Stark [Sun, 26 May 2019 08:04:58 +0000 (10:04 +0200)]
make OP_HALF_{UP,DOWN} behave symmetric.

  - the calculation of number of lines to scroll up/down should not
  depend on whether the number of rows in the pager/index/terminal is
  odd or even.
  - this patch will make the behaviour symmetric such that in both cases
  (even/odd number of rows) scrolling up and down by half a page (or the
  other way round) will get you back to the exact same line as before.

5 years agomerge: improve string tests
Richard Russon [Sun, 26 May 2019 16:20:09 +0000 (17:20 +0100)]
merge: improve string tests

 * test: improve test_mutt_str_adjust()
 * test: improve test_mutt_str_append_item()
 * test: improve test_mutt_str_asprintf()
 * test: improve test_mutt_str_dequote_comment()
 * test: improve test_mutt_str_find_word()
 * test: improve test_mutt_str_getenv()
 * test: improve test_mutt_str_inline_replace()
 * test: improve test_mutt_str_is_ascii()
 * test: improve test_mutt_str_is_email_wsp()
 * test: improve test_mutt_str_lws_len()
 * test: improve test_mutt_str_lws_rlen()
 * test: improve test_mutt_str_next_word()
 * test: improve test_mutt_str_pretty_size()
 * test: improve test_mutt_str_remall_strcasestr()
 * test: improve test_mutt_str_remove_trailing_ws()
 * test: improve test_mutt_str_replace()
 * test: improve test_mutt_str_rstrnstr()
 * test: improve test_mutt_str_skip_email_wsp()
 * test: improve test_mutt_str_skip_whitespace()
 * test: improve test_mutt_str_split()
 * test: improve test_mutt_str_startswith()
 * test: improve test_mutt_str_strcasecmp()
 * test: improve test_mutt_str_strcasestr()
 * test: improve test_mutt_str_strcat()
 * test: improve test_mutt_str_strchrnul()
 * test: improve test_mutt_str_strcmp()
 * test: improve test_mutt_str_strcoll()
 * test: improve test_mutt_str_strdup()
 * test: improve test_mutt_str_strfcpy()
 * test: improve test_mutt_str_stristr()
 * test: improve test_mutt_str_strlen()
 * test: improve test_mutt_str_strlower()
 * test: improve test_mutt_str_strncasecmp()
 * test: improve test_mutt_str_strncat()
 * test: improve test_mutt_str_strncmp()
 * test: improve test_mutt_str_strnfcpy()
 * test: improve test_mutt_str_substr_cpy()
 * test: improve test_mutt_str_substr_dup()
 * test: improve test_mutt_str_word_casecmp()

5 years agotest: improve test_mutt_str_word_casecmp()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_word_casecmp()

5 years agotest: improve test_mutt_str_substr_dup()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_substr_dup()

5 years agotest: improve test_mutt_str_substr_cpy()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_substr_cpy()

5 years agotest: improve test_mutt_str_strnfcpy()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strnfcpy()

5 years agotest: improve test_mutt_str_strncmp()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strncmp()

5 years agotest: improve test_mutt_str_strncat()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strncat()

5 years agotest: improve test_mutt_str_strncasecmp()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strncasecmp()

5 years agotest: improve test_mutt_str_strlower()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strlower()

5 years agotest: improve test_mutt_str_strlen()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strlen()

5 years agotest: improve test_mutt_str_stristr()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_stristr()

5 years agotest: improve test_mutt_str_strfcpy()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strfcpy()

5 years agotest: improve test_mutt_str_strdup()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strdup()

5 years agotest: improve test_mutt_str_strcoll()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strcoll()

5 years agotest: improve test_mutt_str_strcmp()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strcmp()

5 years agotest: improve test_mutt_str_strchrnul()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strchrnul()

5 years agotest: improve test_mutt_str_strcat()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strcat()

5 years agotest: improve test_mutt_str_strcasestr()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strcasestr()

5 years agotest: improve test_mutt_str_strcasecmp()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_strcasecmp()

5 years agotest: improve test_mutt_str_startswith()
Richard Russon [Sun, 26 May 2019 15:02:24 +0000 (16:02 +0100)]
test: improve test_mutt_str_startswith()

5 years agotest: improve test_mutt_str_split()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_split()

5 years agotest: improve test_mutt_str_skip_whitespace()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_skip_whitespace()

5 years agotest: improve test_mutt_str_skip_email_wsp()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_skip_email_wsp()

5 years agotest: improve test_mutt_str_rstrnstr()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_rstrnstr()

5 years agotest: improve test_mutt_str_replace()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_replace()

5 years agotest: improve test_mutt_str_remove_trailing_ws()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_remove_trailing_ws()

5 years agotest: improve test_mutt_str_remall_strcasestr()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_remall_strcasestr()

5 years agotest: improve test_mutt_str_pretty_size()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_pretty_size()

5 years agotest: improve test_mutt_str_next_word()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_next_word()

5 years agotest: improve test_mutt_str_lws_rlen()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_lws_rlen()

5 years agotest: improve test_mutt_str_lws_len()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_lws_len()

5 years agotest: improve test_mutt_str_is_email_wsp()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_is_email_wsp()

5 years agotest: improve test_mutt_str_is_ascii()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_is_ascii()

5 years agotest: improve test_mutt_str_inline_replace()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_inline_replace()

5 years agotest: improve test_mutt_str_getenv()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_getenv()

5 years agotest: improve test_mutt_str_find_word()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_find_word()

5 years agotest: improve test_mutt_str_dequote_comment()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_dequote_comment()

5 years agotest: improve test_mutt_str_asprintf()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_asprintf()

5 years agotest: improve test_mutt_str_append_item()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_append_item()

5 years agotest: improve test_mutt_str_adjust()
Richard Russon [Sun, 26 May 2019 15:02:23 +0000 (16:02 +0100)]
test: improve test_mutt_str_adjust()

5 years agomerge: improve Buffer tests
Richard Russon [Sun, 26 May 2019 16:17:18 +0000 (17:17 +0100)]
merge: improve Buffer tests

 * test: improve test_mutt_buffer_add_printf()
 * test: improve test_mutt_buffer_addch()
 * test: improve test_mutt_buffer_addstr()
 * test: improve test_mutt_buffer_addstr_n()
 * test: improve test_mutt_buffer_alloc()
 * test: improve test_mutt_buffer_concat_path()
 * test: improve test_mutt_buffer_fix_dptr()
 * test: improve test_mutt_buffer_free()
 * test: improve test_mutt_buffer_from()
 * test: improve test_mutt_buffer_increase_size()
 * test: improve test_mutt_buffer_init()
 * test: improve test_mutt_buffer_is_empty()
 * test: improve test_mutt_buffer_len()
 * test: improve test_mutt_buffer_new()
 * test: improve test_mutt_buffer_printf()
 * test: improve test_mutt_buffer_reset()
 * test: improve test_mutt_buffer_strcpy()
 * test: improve test_mutt_buffer_strcpy_n()
 * reorganise buffer header

5 years agoreorganise buffer header
Richard Russon [Sat, 25 May 2019 00:58:26 +0000 (01:58 +0100)]
reorganise buffer header

5 years agotest: improve test_mutt_buffer_strcpy_n()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_strcpy_n()

5 years agotest: improve test_mutt_buffer_strcpy()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_strcpy()

5 years agotest: improve test_mutt_buffer_reset()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_reset()

5 years agotest: improve test_mutt_buffer_printf()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_printf()

5 years agotest: improve test_mutt_buffer_new()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_new()

5 years agotest: improve test_mutt_buffer_len()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_len()

5 years agotest: improve test_mutt_buffer_is_empty()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_is_empty()

5 years agotest: improve test_mutt_buffer_init()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_init()

5 years agotest: improve test_mutt_buffer_increase_size()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_increase_size()

5 years agocoverity
Richard Russon [Sat, 25 May 2019 15:08:51 +0000 (16:08 +0100)]
coverity

5 years agotest: improve test_mutt_buffer_from()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_from()

5 years agomove the null logger into libmutt
Richard Russon [Fri, 24 May 2019 14:36:15 +0000 (15:36 +0100)]
move the null logger into libmutt

This logger is used by the test code (for quietness).

5 years agotest: improve test_mutt_buffer_free()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_free()

5 years agoremove unnecessary test in mutt_mem_calloc()
Richard Russon [Fri, 24 May 2019 14:05:30 +0000 (15:05 +0100)]
remove unnecessary test in mutt_mem_calloc()

There's no point in making a calculation.
Either calloc() succeeds, or it doesn't.

5 years agotest: improve test_mutt_buffer_fix_dptr()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_fix_dptr()

5 years agofix idn macro
Richard Russon [Fri, 24 May 2019 13:47:19 +0000 (14:47 +0100)]
fix idn macro

gcc9 isn't happy with pre-proc conditionals inside a macro.

5 years agotest: improve test_mutt_buffer_concat_path()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_concat_path()

5 years agotest: improve test_mutt_buffer_alloc()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_alloc()

5 years agotest: improve test_mutt_buffer_addstr_n()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_addstr_n()

5 years agotest: improve test_mutt_buffer_addstr()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_addstr()

5 years agotest: improve test_mutt_buffer_addch()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_addch()

5 years agotest: improve test_mutt_buffer_add_printf()
Richard Russon [Fri, 24 May 2019 22:24:04 +0000 (23:24 +0100)]
test: improve test_mutt_buffer_add_printf()

5 years agoFix Coverity CID 198652
Pietro Cerutti [Fri, 24 May 2019 13:17:24 +0000 (13:17 +0000)]
Fix Coverity CID 198652

5 years agoFix Coverity CID 198656 / 198649
Pietro Cerutti [Fri, 24 May 2019 13:00:21 +0000 (13:00 +0000)]
Fix Coverity CID 198656 / 198649

5 years agofix: improve function checks
Richard Russon [Thu, 23 May 2019 16:17:11 +0000 (17:17 +0100)]
fix: improve function checks

5 years agofix: stop CUR_EMAIL underflow in entire-thread
Austin Ray [Wed, 22 May 2019 20:40:03 +0000 (16:40 -0400)]
fix: stop CUR_EMAIL underflow in entire-thread

entire-thread will underflow CUR_EMAIL macro if no mailbox is
configured. To prevent this, call 'prereq()' before any other logic.
'prereq()' will ensure we have a mailbox thus preventing the underflow.

flatcap deserves credit for identifying the solution.

Fixes: #1719
5 years agoPass the test for mutt_addrlist_to_intl when building wihtout idn
Pietro Cerutti [Fri, 24 May 2019 07:14:03 +0000 (07:14 +0000)]
Pass the test for mutt_addrlist_to_intl when building wihtout idn