Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | Replace vim_strncpy calls: version.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: spell.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: syntax.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: tag.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: buffer.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: misc1.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: hardcopy.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: quickfix.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: if_cscope.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: regexp.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: fold.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: ex_getln.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: menu.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: option.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: path.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: memline.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: os/fs.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: os/users.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: mark.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: ops.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: misc2.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: os_unix.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: file_search.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: getchar.c | Douglas Schneider | 2014-06-13 | |
| | | ||||
| * | Replace vim_strncpy calls: add STRLCPY | Douglas Schneider | 2014-06-13 | |
|/ | ||||
* | spelling fixes #827 | Will Stamper | 2014-06-12 | |
| | ||||
* | Merge #774 'Move defines from vim.h to other header files' | Justin M. Keyes | 2014-06-12 | |
|\ | ||||
| * | removed whitespace from ROOT_UID define. | Brandon Coleman | 2014-06-12 | |
| | | ||||
| * | Remove unnecessary (int) casts and fix style | Pavel Platto | 2014-06-12 | |
| | | ||||
| * | move/remove W_* macros | Brandon Coleman | 2014-06-12 | |
| | | | | | | | | | | move W_ENDCOL to screen.c remove the rest of the W_* macros | |||
| * | move SST_* defines to syntax_defs | Brandon Coleman | 2014-06-12 | |
| | | ||||
| * | move FINDFILE_* defines to file_search.h | Brandon Coleman | 2014-06-12 | |
| | | ||||
| * | move EW_* defines to path.h | Brandon Coleman | 2014-06-12 | |
| | | ||||
| * | move WILD_* defines to ex_getln.h | Brandon Coleman | 2014-06-12 | |
| | | ||||
| * | move VALID_* defines to buffer_defs.h | Brandon Coleman | 2014-06-12 | |
| | | ||||
| * | move HL_* variables to syntax.h | Brandon Coleman | 2014-06-12 | |
| | | ||||
| * | move values for find_pattern_in_path() to search.h | Brandon Coleman | 2014-06-12 | |
| | | ||||
| * | move update_screen() flags to screen.h | Brandon Coleman | 2014-06-12 | |
|/ | ||||
* | SVG coverage badge #821 | Sahat Yalkabov | 2014-06-12 | |
| | ||||
* | Merge #804 'Coverity fix resource leaks 1b' | Justin M. Keyes | 2014-06-12 | |
|\ | ||||
| * | coverity/13685: silence NUL-termnation fp | Nicolas Hillegeer | 2014-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 Hillegeer | 2014-06-12 | |
| | | | | | | | | Also cleaned up the function a little bit. | |||
| * | coverity/62615: fix leak in write_reg_contents_ex | Nicolas Hillegeer | 2014-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_default | Nicolas Hillegeer | 2014-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 #819 | Felipe Oliveira Carvalho | 2014-06-10 | |
| | ||||
* | Add function attributes to functions in memory.h #811 | Wesley Wiser | 2014-06-10 | |
| | | | | Add missing function attributes in memory.h. Fixes #806 | |||
* | Prevent null-pointer deference during vim_eval #785 | Andrew Chin | 2014-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 #772 | Brandon Coleman | 2014-06-10 | |
| | ||||
* | Merge #783 'Nul terminate pascal strings' | Justin M. Keyes | 2014-06-08 | |
|\ | ||||
| * | api: unify string conversions, simplify interop | Nicolas Hillegeer | 2014-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. |