aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Replace vim_strncpy calls: version.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: spell.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: syntax.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: tag.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: buffer.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: misc1.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: hardcopy.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: quickfix.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: if_cscope.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: regexp.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: fold.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: ex_getln.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: menu.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: option.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: path.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: memline.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: os/fs.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: os/users.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: mark.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: ops.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: misc2.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: os_unix.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: file_search.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: getchar.cDouglas Schneider2014-06-13
| |
| * Replace vim_strncpy calls: add STRLCPYDouglas Schneider2014-06-13
|/
* spelling fixes #827Will Stamper2014-06-12
|
* Merge #774 'Move defines from vim.h to other header files'Justin M. Keyes2014-06-12
|\
| * removed whitespace from ROOT_UID define.Brandon Coleman2014-06-12
| |
| * Remove unnecessary (int) casts and fix stylePavel Platto2014-06-12
| |
| * move/remove W_* macrosBrandon Coleman2014-06-12
| | | | | | | | | | move W_ENDCOL to screen.c remove the rest of the W_* macros
| * move SST_* defines to syntax_defsBrandon Coleman2014-06-12
| |
| * move FINDFILE_* defines to file_search.hBrandon Coleman2014-06-12
| |
| * move EW_* defines to path.hBrandon Coleman2014-06-12
| |
| * move WILD_* defines to ex_getln.hBrandon Coleman2014-06-12
| |
| * move VALID_* defines to buffer_defs.hBrandon Coleman2014-06-12
| |
| * move HL_* variables to syntax.hBrandon Coleman2014-06-12
| |
| * move values for find_pattern_in_path() to search.hBrandon Coleman2014-06-12
| |
| * move update_screen() flags to screen.hBrandon Coleman2014-06-12
|/
* SVG coverage badge #821Sahat Yalkabov2014-06-12
|
* Merge #804 'Coverity fix resource leaks 1b'Justin M. Keyes2014-06-12
|\
| * coverity/13685: silence NUL-termnation fpNicolas Hillegeer2014-06-12
| | | | | | | | | | | | | | | | | | | | It was a false positive, but it can't hurt to "fix" it. Original warning: CID 13685 (#1 of 1): Buffer not null terminated (BUFFER_SIZE) 6. buffer_size: Calling strncpy with a source string whose length (4 chars) is greater than or equal to the size argument (4) will fail to null-terminate b0p->b0_version.
| * coverity/13770: add_keyword(), mark as false pos.Nicolas Hillegeer2014-06-12
| | | | | | | | Also cleaned up the function a little bit.
| * coverity/62615: fix leak in write_reg_contents_exNicolas Hillegeer2014-06-12
| | | | | | | | | | | | | | | | | | | | | | Coverity detected a memory leak caused by not free'ing the value returned by get_expr_line_src (basically vim_strsave(expr_line)). Replaced the copying with direct manipulation of expr_line, since that also happens in other parts of the codebase. NOTE: I'm aware that this has different behaviour than vim_strnsave, namely vim_strnsave always allocates `len` bytes, even if the string is shorter. I don't see how that behaviour is helpful here though.
| * coverity/62617: fix leak in set_string_defaultNicolas Hillegeer2014-06-12
|/ | | | | | Also constified the arguments. The double casts for the `xstrdup` are ugly but `vim_strsave` doesn't take `const` arguments for now so I couldn't keep that.
* Declare garray iterators in the for() scope where possible #819Felipe Oliveira Carvalho2014-06-10
|
* Add function attributes to functions in memory.h #811Wesley Wiser2014-06-10
| | | | Add missing function attributes in memory.h. Fixes #806
* Prevent null-pointer deference during vim_eval #785Andrew Chin2014-06-10
| | | | | If the eval_expr call in vim_eval returns NULL, a null-pointer deference would happen a few frames down, in vim_to_object_rec
* deleted unused defines in vim.h #772Brandon Coleman2014-06-10
|
* Merge #783 'Nul terminate pascal strings'Justin M. Keyes2014-06-08
|\
| * api: unify string conversions, simplify interopNicolas Hillegeer2014-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | - The data member of String's can now be passed directly to functions expecting C strings, as we now guarantee that they are NUL-terminated. This obviates the need to use xstrndup and free, simplifying code and enhancing performance. - Use xmemdupz instead of xstrndup for converting String's into C strings. It's faster because it doesn't calculate strlen(string.data) (which is unnecesary as that information is already provided in string.size anyway). - Use cstr_to_string to convert from C strings to String, it is both shorter and faster than the usual strlen/xstrndup combo, which calls strlen twice. cstr_to_string internally calls strlen and then xmemdupz.