summaryrefslogtreecommitdiffstats
path: root/src/hardcopy.c
AgeCommit message (Collapse)Author
2021-06-02patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata
Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
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().
2019-12-04patch 8.1.2387: using old C style commentsv8.1.2387Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
2019-05-10patch 8.1.1313: warnings for using localtime() and ctime()v8.1.1313Bram Moolenaar
Problem: Warnings for using localtime() and ctime(). Solution: Use localtime_r() if available. Avoid using ctime().
2019-01-24patch 8.1.0806: too many #ifdefsv8.1.0806Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 2.
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-06-23patch 8.1.0105: all tab stops are the samev8.1.0105Bram Moolenaar
Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711)
2018-06-16patch 8.1.0056: crash when using :hardcopy with illegal bytev8.1.0056Bram Moolenaar
Problem: Crash when using :hardcopy with illegal byte. Solution: Check for string_convert() returning NULL. (Dominique Pelle)
2018-02-11patch 8.0.1503: access memory beyond end of stringv8.0.1503Bram Moolenaar
Problem: Access memory beyond end of string. (Coverity) Solution: Keep allocated memory in separate pointer. Avoid outputting the NUL character.
2018-02-10patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2017-03-16patch 8.0.0466: still macros that should be all-capsv8.0.0466Bram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
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-04-29patch 7.4.1799v7.4.1799Bram Moolenaar
Problem: 'guicolors' is a confusing option name. Solution: Use 'termguicolors' instead. (Hirohito Higashi)
2016-04-21patch 7.4.1770v7.4.1770Bram Moolenaar
Problem: Cannot use true color in the terminal. Solution: Add the 'guicolors' option. (Nikolai Pavlov)
2016-04-03patch 7.4.1702v7.4.1702Bram Moolenaar
Problem: Using freed memory when parsing 'printoptions' fails. Solution: Save the old options and restore them in case of an error. (Dominique)
2016-03-12patch 7.4.1552v7.4.1552Bram Moolenaar
Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'.
2016-01-30patch 7.4.1208v7.4.1208Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1198v7.4.1198Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
2015-04-15patch 7.4.701v7.4.701Bram Moolenaar
Problem: Compiler warning for using uninitialized variable. (Yasuhiro Matsumoto) Solution: Initialize it.
2015-04-13patch 7.4.695v7.4.695Bram Moolenaar
Problem: Out-of-bounds read, dectected by Coverity. Solution: Remember the value of cmap for the first matching encoding. Reset cmap to that value if first matching encoding is going to be used. (Eliseo Martínez)
2015-03-31updated for version 7.4.684v7.4.684Bram Moolenaar
Problem: When starting several Vim instances in diff mode, the temp files used may not be unique. (Issue 353) Solution: Add an argument to vim_tempname() to keep the file.
2014-11-27updated for version 7.4.533v7.4.533Bram Moolenaar
Problem: ":hardcopy" leaks memory in case of errors. Solution: Free memory in all code paths. (Christian Brabandt)
2013-05-06updated for version 7.3.925v7.3.925Bram Moolenaar
Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
2011-04-11updated for version 7.3.161v7.3.161Bram Moolenaar
Problem: Items on the stack may be too big. Solution: Make items static or allocate them.
2011-04-11updated for version 7.3.160v7.3.160Bram Moolenaar
Problem: Unsafe string copying. Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead of strcat().
2010-07-31Fixes for coverity warnings.Bram Moolenaar
2010-06-05Add the conceal patch from Vince Negri.Bram Moolenaar
2010-05-24Fix uninit memory read in undo code. Fix uint32_t in proto file.Bram Moolenaar
A few minor changes.
2009-05-16updated for version 7.2-177v7.2.177Bram Moolenaar
2008-01-12updated for version 7.1-219v7.1.219Bram Moolenaar
2007-05-10updated for version 7.1bBram Moolenaar
2006-08-29updated for version 7.0-070v7.0.070Bram Moolenaar
2006-05-04updated for version 7.0g03Bram Moolenaar
2006-04-30updated for version 7.0gv7.0gBram Moolenaar
2006-04-25updated for version 7.0f01v7.0f01Bram Moolenaar
2006-04-22updated for version 7.0e06v7.0e06Bram Moolenaar
2006-04-17updated for version 7.0e01v7.0e01Bram Moolenaar
2006-04-07updated for version 7.0c12v7.0c12Bram Moolenaar
2006-04-05updated for version 7.0c10v7.0c10Bram Moolenaar
2006-03-12updated for version 7.0222Bram Moolenaar
2006-02-25updated for version 7.0207Bram Moolenaar
2006-02-22updated for version 7.0204v7.0204Bram Moolenaar
2006-02-20updated for version 7.0202v7.0202Bram Moolenaar
2005-08-25updated for version 7.0137v7.0137Bram Moolenaar
2005-08-10updated for version 7.0127v7.0127Bram Moolenaar
2005-07-24updated for version 7.0115Bram Moolenaar