| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
- avoid null passed to ELOG format string
- receive (char *) internally
- modify identifier names for consistency
- edit comments for concision and consistency
|
|\
| |
| | |
Fix for clang analyzer warning in ops.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem : Array access (via field 'y_array') results in a null pointer
dereference @ 4487.
Diagnostic : Real issue.
Rationale : If the array was previously freed and the size of the array
(y_current->y_size) was not updated to zero, the loop @4486
could be entered and a NULL pointer would be dereferenced.
Resolution : Use free_yank_all() to take care of the NULL check and
to free the current yank register.
|
|\ \
| |/
|/| |
add 'const' where possible: mbyte.c (rebase of #268)
|
| | |
|
|\ \
| |/
|/| |
vim-patch: Mark patches as NA.
|
|/ |
|
|\
| |
| | |
vim-patch:7.4.543.
|
|/
|
|
|
|
|
|
|
|
|
| |
Adapt #1533 and #1596 to conform to upstream patch
(https://groups.google.com/forum/#!topic/vim_dev/vp0Lwo9f56s).
Problem: Since patch 7.4.232 "1,3s/\n//" joins two lines instead of
three.
(Eliseo Martínez) Issue 287
Solution: Correct the line count. (Christian Brabandt)
Also set the last used search pattern.
|
|\
| |
| | |
Travis-related improvements
|
| |
| |
| |
| |
| |
| | |
Doesn't work on Travis:
> bash: line 0: ulimit: core file size: cannot modify limit: Operation not permitted
|
| | |
|
| |
| |
| |
| | |
Would otherwise find files in .deps if dependencies are built.
|
| | |
|
|/ |
|
|\
| |
| | |
vim-patch:7.4.463 + vim-patch:7.4.470
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Test 11 and 100 do not work properly on Windows.
Solution: Avoid using feedkeys(). (Ken Takata)
https://code.google.com/p/vim/source/detail?r=v7-4-470
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Test 86 and 87 may hang on MS-Windows.
Solution: Call inputrestore() after inputsave(). (Ken Takata)
https://code.google.com/p/vim/source/detail?r=v7-4-463
|
|\ \
| |/
|/| |
Reduce indentation level by early returning or continuing loop
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace code like this
```c
func() {
if (cond) {
...
...
...
}
return ret;
}
```
```c
for (...) {
if (cond) {
...
...
...
}
}
```
with
```c
func() {
if (!cond) {
return ret;
}
...
...
...
}
```
```c
for (...) {
if (!cond) {
continue;
}
...
...
...
}
```
|
| |
|
|
|
|
| |
It is from legacy Vim, not used by Neovim.
|
|\
| |
| | |
default to 'nocompatible'
|
| |
| |
| |
| |
| | |
Patch provided by Christian Brabandt
Improved by oni-link
|
| | |
|
|/ |
|
|\
| |
| | |
libnvim: Allow building as a static library
|
| | |
|
| | |
|
|\ \
| | |
| | | |
CMake: Remove shared libraries for messagepack.
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
replace copy_spaces and copy_chars functions with equivalent memset.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Don't use env vars for configuration time options.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Clang's Address Sanitizer options may cause problems when running
the unit tests, restrict the use of these options to the nvim target.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- As a general rule of thumb one shouldn't use environment variables
for setting configuration options for CMake. The reason for this is
we don't know when CMake will be executed and re-evaluate that variable.
- e.g. If we run cmake a first time with a var set, and then run make on
a second session (with no var) and cmake is called because a
dependency changed, the option would be disabled
- This commit removes the use of environment vars from
src/nvim/CMakeLists.txt entirely
- Removed SKIP_UNITTEST since it could only be used to remove a target
at configuration time (and the target was optional anyway)
- Turned SANITIZE into an option, clang-asan.sh now passes cmake
-DSANITIZE=ON
- Removed SKIP_EXEC since it was disabling a target at configuration time
(not being used)
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:7.4.242 + vim-patch:7.4.243
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Using setreg() with a list of numbers does not work.
Solution: Use a separate buffer for numbers. (ZyX)
https://code.google.com/p/vim/source/detail?r=v7-4-249
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Update the doxygen comments.
- Use more descriptive types.
- Localize variables.
- Find the '\n' with memchr instead of a for loop.
- Remove `if (size)` checks before memmove
since memmove(dst,src,0) is a noop.
- Use memcpy instead since the pointers don't alias.
- Use xmemdupz instead of vim_strnsave.
- xrealloc instead of xmalloc/memcpy.
- Use memcnt/xmemscan/memchrsub.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Cannot use setreg() to add text that includes a NUL.
Solution: Make setreg() accept a list.
https://code.google.com/p/vim/source/detail?r=v7-4-243
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: getreg() does not distinguish between a NL used for a line
break and a NL used for a NUL character.
Solution: Add another argument to return a list. (ZyX)
https://code.google.com/p/vim/source/detail?r=v7-4-242
|
| | |_|/
| |/| | |
|
|\ \ \ \
| |/ / /
|/| | | |
GA_DEEP_CLEAR macro for garray memory deallocation
|
| | | | |
|