| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
It appears the llvm.org/apt/ repository isn't always reliable. So let's
use the release tarball instead. Also, make using 3.4 conditional, so
we can use the clang 3.3 if things still manage to go awry in the
future. Note: using 3.3 means that we won't get leak detection.
I left the logic for using llvm.org/apt/, just in case we want try using
it again sometime.
|
|
|
|
|
| |
- omit FEAT_NETBEANS_INTG and FEAT_SIGN_ICONS
- omit FEAT_GUI blocks
|
|
|
|
|
| |
This should allow gcc/clang/icc to generate better code and clarifies
function intent.
|
|
|
|
|
| |
Currently enables these for every gnu-like compilers, i.e.: gcc, clang and
icc.
|
| |
|
| |
|
|
|
|
|
| |
The llvm.org/apt repo currently has an issue with the source packages,
and we don't need it on Travis anyways.
|
|
|
|
|
| |
Also, don't set it in the FindXxx cmake scripts--it's unnecessary, and
it resets the value.
|
|
|
|
|
|
|
| |
* Add const.
* Fix conditions (move && from end to start of line).
* Use int32_t instead of long.
* Use //-style comments.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This feature was accidentally removed when doing the initial import from vim. It
makes vim use pipes instead of temporary files for filtering buffers through
shell commands.
I found that this was missing when looking for references of
SHELL_READ/SHELL_WRITE outside mch_call_shell`.
When `mch_call_shell` is reimplemented on top of libuv process management
facilities, pipes will always be used for communication with child processes so
it makes sense to enable the feature permanently.
|
|
|
|
|
| |
This enum doesn't need to be public since `event_poll` is only interested in
user input(but other events may be handled by libuv callbacks).
|
|
|
|
|
| |
We don't want to clobber anyone's make alias when running travis.sh
directly.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
remove C++ stuff and add C types
|
| |
|
| |
|
|
|
|
| |
irrelevant
|
| |
|
| |
|
|
|
|
| |
Do we want VLAs?
|
|
|
|
| |
irrelevant
|
|
|
|
| |
irrelevant
|
| |
|
|
|
|
| |
Only checks C++ related headers
|
|
|
|
| |
Irrelevant
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Uncrustify indent.c
- Fix comments
- Fix whitespace
- Format get_lisp_indent (needs to be refactored completely)
- Fix endline comments
- Change to postincrement
- Fix clint.py errors
- Move static function last
- Fix blank endlines
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The functions `mch_inchar`, `mch_breakcheck`, `mch_char_avail` were
reimplemented on top of libuv. Here's how it works:
- When Neovim needs to wait for characters, it will transfer control to libuv
event loop.
- When the libuv event loop gets user input, it will transfer control back to
Neovim
- Neovim uses the `input_read` function to get the actual data read by libuv.
With this scheme its possible to keep Neovim single-threaded while enjoying the
benefits provided by libuv.
This commit leaves SIGWINCH broken for now
|
| |
|
|
|
|
|
| |
Defining HAVE_AVAIL_MEM doesn't even build. The code tries to call
`mch_avail_mem` which is not defined.
|
|
|
|
|
|
|
|
|
| |
Code around `#ifdef MEM_PROFILE` was used to profile vim's memory
comsumption. It's very likely broken as new code is using malloc() and free()
directly.
In this day and age, valgrind can solve in a much reliable way what
this code was trying to do.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Ran some commands on terminal, reviewed changes, and made some manual changes
too.
find src | xargs perl -i -p -e "s/vim_memset/memset/g"
git grep -l memset | egrep "\.c$" | xargs perl -i -p -e \
's/(#include "vim\.h")/#include <string.h>\n\n\1/g'
|
|
|
|
|
|
|
|
|
| |
- Change CMakeLists.txt to compile farsi.c normally
- Add const to global variables in farsi.h and define them in farsi.c (no need
to include farsi.h with DO_INIT defined in globals.h)
- Include farsi.h where necessary
- Include all necessary headers in farsi.c
- Move farsi function declarations from main.h to farsi.h
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Needed to temporarily move two static variables from os_unix.c to 'globals.h'
as those are shared by other functions still in os_unix.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Move arabic_shape() decl from main.h to arabic.h
- Move arabic_combine() and arabic_maycombine() from mbyte.c to
arabic.c as these functions use the #defines I moved.
- Remove the unnecessary include of arabic.h in globals.h
- Remove include of arabic.c (sic) in main.c (change CMakeLists.txt to compile
arabic.c normally)
|