| Commit message (Collapse) | Author | Age |
... | |
|/ / |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: It is not possible to have feedkeys() insert characters.
Solution: Add the 'i' flag.
https://code.google.com/p/vim/source/detail?r=v7-4-601
|
| | |
|
|\ \
| | |
| | | |
Discard exceptions once they are converted to API errors
|
|/ /
| |
| |
| | |
Fixes: #1976
|
|\ \
| | |
| | | |
Fix an fs_spec test under FreeBSD and a symlinked home directory.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It turns out the FreeBSD 10 VM has a symlink for the home directory to
/usr/home. Unfortunately, this breaks the test as arg[0] may not have
the symlink resolved, but the path returned from the exe() call will.
As a result, the comparison fails, even though the result is correct.
Let's fix this by running the absolute path through exe() too, and then
comparing the results.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem : Out-of-bounds access @ 5815.
Diagnostic : False positive.
Rationale : Error occurs when event_name2nr() returns NUM_EVENTS, which
means an event with that name was not found. That cannot
happen, as previous check using find_end_event() @ 5744
ensures event name exists.
Resolution : Assert event_name2nr() result is less thatn NUM_EVENTS.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem : Read from pointer after free @ {242, 391}.
Diagnostic : Real issues.
Rationale : Channel gets indeed freed on error case, producing
incorrect accesses to freed pointer later on.
Resolution : Implement reference counting mechanism to know when to free
channel.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem : Resource leak @ 3324.
Diagnostic : Real issue.
Rationale : Stack is not being freed on error cases.
Resolution : Free stack before invoking EMSG_RET_NULL.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem : Out-of-bounds read @ 9514.
Diagnostic : Real issue.
Rationale : PFD_NOTSPECIAL (253) is defined as the maximum not-special
value a prefix can have. But stack (and other) arrays are
defined as having MAXWLEN (250) items.
Resolution : Define MAXWLEN = 254.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem : Out-of-bounds read @ 2213.
Diagnostic : Real issue.
Rationale : Error occurs if cmap == ARRAY_SIZE(prt_ps_mbfonts),
but code takes the `if (prt_out_mbyte)` branch. That's it,
if a matching encoding is found but not a matching charset.
In that case, the first matching encoding is used.
Resolution : Remember the value of cmap for the first matching encoding.
Reset cmap to that value if first matching encoding is
going to be used.
|
|\ \ |
|
|/ /
| |
| |
| | |
Also update libtermkey version and fix the pkg-config search scripts.
|
|\ \
| | |
| | |
| | |
| | | |
jszakmeister/fix-unittest-header-parsing-on-freebsd
unittests: define _Thread_local to be nothing
|
| |/
| |
| |
| |
| | |
This helps the LuaJIT ffi module to parse the header correctly.
Otherwise, the whole suite of tests fail.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
The new version sets a custom panic function that prints the lua traceback
before exiting.
|
|/ / |
|
|\ \
| | |
| | | |
Fix #1920: Unable to build on openSUSE 13.2 x64
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The issue is that libuv decides to use ${PREFIX}/lib64 as the lib
directory instead of ${PREFIX}/lib. Since we're just installing it to
provide access to the static library, let's just force the libdir to be
${PREFIX}/lib.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
closes #1899
closes #1967
refs https://github.com/msgpack/msgpack-c/pull/194
|
| | |
| | |
| | |
| | | |
Accidentally done in 7b98b4c442e3e8e9cebf6288f1f41ef0ffa42ba3
|
| | |
| | |
| | |
| | |
| | | |
FreeBSD doesn't use bash by default, causing the group id to be print
out in the middle of the test.
|
|\ \ \
| |_|/
|/| | |
build: split hash checking from the download step
|
| | |
| | |
| | |
| | | |
This will skip hash checking, just like the all zeros hash.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It turns out that `file(DOWNLOAD ...)` is not very user friendly with
it's error message, and only supports MD5 on v2.8.10 of CMake (the
default for Ubuntu 12.04). If CMake is built without SSL support,
users are left hanging with a message that the hashes don't match.
It turns out that `file(SHA1 ...)` exists in v2.8.10, and we
can use that to compute the hash ourselves. So this splits the hash
checking into a separate step, where we can provide some additional
advice if the SHA1 is the hash for an empty file. Additionally, it also
allows us to drop the MD5 hashes and maintain only SHA1 hashes for our
dependencies.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
refs #1045 #1051
This was enabled by default a while ago (#1051), and has apparently not
created any issues. The amount of actual code related to it is tiny, so
it has been removed.
|
|\ \ \
| |/ /
|/| | |
Merge PR #1957 'Make clint.py pep8-compliant'
|
|/ / |
|
|\ \ |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The systemlist test currently calls the `echo` command which can potentially
complete before being interrupted, causing random test failures.
Use `yes | xargs` instead. A `yes` invocation that is not piped through `xargs`
can produce a huge amount of lines in a very short time, leading memory
starvation when the result is being converted into a list. `xargs` ensures only
one line of output will be produced while allowing interrupt to be tested.
|
| |
| |
| |
| | |
Fixes #1301.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
While we're here:
- Remove references to the '+diff' feature, which has since been made
non-optional.
- Update a few Vim instances with Nvim.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Factor out main_msg() in favor of mch_msg() and manual indentation, as to
provide a much closer representation to the actual output of '--help'.
'gcc -E' reveals that main_msg() only consists of 3 printf calls
anyways.
- Factor out for loop used for printing top part of usage text; just
print the text normally.
usage() text:
- Don't print the version; that's what '--version' is for.
- Be consistent about nomenclature, e.g. '<arg>' denotes required
argument, '-h | --help' denotes '-h' and '--help' are equivalent, etc.
- Change some instances of vim{,rc,info} to nvim
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| | |
Disable JIT to find cause for random `PANIC: unprotected error in call to Lua API` on Travis (OS X).
|