summaryrefslogtreecommitdiffstats
path: root/src/message_test.c
AgeCommit message (Collapse)Author
2023-09-17patch 9.0.1905: FEAT_FLOAT no longer definedv9.0.1905dundargoc
Problem: FEAT_FLOAT no longer defined Solution: Remove last existing FEAT_FLOAT ifdefs in message_test Remove FEAT_FLOAT as that should always be true FEAT_FLOAT has been removed in v9.0.0491 (73e28dcc6125f616cf1f2) but unfortunately, it was forgotten to remove it from message_test.c. So let's remove the last mentioned ifdefs which are now unused. closes: #13106 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: dundargoc <gocdundar@gmail.com>
2023-09-03patch 9.0.1856: issues with formatting positional argumentsv9.0.1856Christ van Willegen
Problem: issues with formatting positional arguments Solution: fix them, add tests and documentation closes: #12140 closes: #12985 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com> Tentatively fix message_test. Check NULL ptr.
2023-08-15patch 9.0.1715: duplicate test in message_test.cv9.0.1715zeertzjq
Problem: duplicate test in message_test.c Solution: Remove duplicate test and make functions static closes: #12803 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-08-13patch 9.0.1704: Cannot use positional arguments for printf()v9.0.1704Christ van Willegen
Problem: Cannot use positional arguments for printf() Solution: Support positional arguments in string formatting closes: #12140 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
2022-11-02patch 9.0.0828: various typosv9.0.0828dundargoc
Problem: Various typos. Solution: Correct typos. (closes #11432)
2022-09-17patch 9.0.0491: no good reason to build without the float featurev9.0.0491Bram Moolenaar
Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
2022-04-15patch 8.2.4753: error from setting an option is silently ignoredv8.2.4753Bram Moolenaar
Problem: Error from setting an option is silently ignored. Solution: Handle option value errors better. Fix uses of N_().
2021-05-28patch 8.2.2893: multi-byte text in popup title shows up wrongv8.2.2893Ralf Schandl
Problem: Multi-byte text in popup title shows up wrong. Solution: Use the character width instead of the byte length. (Ralf Schandl, closes #8267, closes #8264)
2021-02-14patch 8.2.2515: memory access error when truncating an empty messagev8.2.2515Bram Moolenaar
Problem: Memory access error when truncating an empty message. Solution: Check for an empty string. (Dominique Pellé, closes #7841)
2020-04-20patch 8.2.0608: warning from clang when building message testv8.2.0608Bram Moolenaar
Problem: Warning from clang when building message test. Solution: Use a void pointer. (Dominique Pelle, closes #5958)
2020-04-12patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar
Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-02-08patch 8.2.0234: message test fails on SunOSv8.2.0234Bram Moolenaar
Problem: Message test fails on SunOS. Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
2020-01-14patch 8.2.0119: message test fails on some platformsv8.2.0119Bram Moolenaar
Problem: Message test fails on some platforms. (Elimar Riesebieter) Solution: Add type cast to vim_snprintf() argument. (Dominique Pelle)
2019-12-31patch 8.2.0066: some corners of vim_snprintf() are not testedv8.2.0066Bram Moolenaar
Problem: Some corners of vim_snprintf() are not tested. Solution: Add a test in C. (Dominique Pelle, closes #5422)
2019-12-30patch 8.2.0060: message test only runs with one encodingv8.2.0060Bram Moolenaar
Problem: Message test only runs with one encoding. (Dominique Pelle) Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related to #5410)
2019-12-21patch 8.2.0026: still some /* */ commentsv8.2.0026Bram Moolenaar
Problem: Still some /* */ comments. Solution: Convert to // comments.
2017-04-02patch 8.0.0540: building unit tests failsv8.0.0540Bram Moolenaar
Problem: Building unit tests fails. Solution: Move params outside of #ifdef.
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-07-19patch 7.4.2068v7.4.2068Bram Moolenaar
Problem: Not all arguments of trunc_string() are tested. Memory access error when running the message tests. Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run unittests with valgrind. Fix the access error.
2016-07-16patch 7.4.2051v7.4.2051Bram Moolenaar
Problem: No proper testing of trunc_string(). Solution: Add a unittest for message.c.