Commit Graph

1238 Commits

Author SHA1 Message Date
Pavel Platto
add8cb784c Include stdbool.h in headers which have functions with bool in signature
Done by manual inspecting of the output of this script:
grep -r -l -w "bool" * | grep 'c$' | sed 's/.c$//' > has_bool
grep -r -l -w "stdbool.h" * | grep 'h$' | sed 's/.h$//' > has_include
grep -F -x -v -f has_include has_bool
2014-07-11 18:33:07 -04:00
Pavel Platto
1de9287a02 Remove stdbool.h from files which don't need it
Done by manual inspection of the output of this script:
grep -r -l -w "bool\|true\|false" * | grep 'c$\|h$' > has_bool
grep -r -l "stdbool.h" * | grep 'c$\|h$' > has_include
grep -F -x -v -f has_bool has_include
2014-07-11 18:33:07 -04:00
Pavel Platto
0868818d3e Include stdbool.h in some files which use it
Done by manual inspection of the output of this script:
grep -r -l -w "bool\|true\|false" * | grep 'c$\|h$' > has_bool
grep -r -l "stdbool.h" * | grep 'c$\|h$' > has_include
grep -F -x -v -f has_include has_bool
2014-07-11 18:33:07 -04:00
Justin M. Keyes
cf18687349 Merge #913 'Update Swedish (sv) translation' 2014-07-11 18:25:42 -04:00
Björn Linse
b04a2236f3 Update Swedish (sv) translation: improve translations. 2014-07-11 18:25:35 -04:00
Björn Linse
5853b79bd2 Update Swedish (sv) translation: Sync to 11653ce2d7 2014-07-11 18:25:35 -04:00
Shane Iler
d61829dd06 Enable and fix misc2.c -Wconversion warnings #907 2014-07-11 18:11:20 -04:00
Will Stamper
fa1d9301f7 vim-patch:7.4.308 #832
Problem:    When using ":diffsplit" on an empty file the cursor is displayed
            on the command line.
Solution:   Limit the value of w_topfill.

https://code.google.com/p/vim/source/detail?r=e3d2b8d83bb30c428a051f50791e454fcbc080af
2014-07-11 17:31:51 -04:00
Will Stamper
1cdd4ff7f6 vim-patch:7.4.306 #842
Problem:    getchar(0) does not return Esc.
Solution:   Do not wait for an Esc sequence to be complete.  (Yasuhiro
            Matsumoto)

https://code.google.com/p/vim/source/detail?r=05e1d8afcc5e375bf708ccc9810e2fd1a5a8a3cf
2014-07-11 16:42:45 -04:00
Will Stamper
fdeb132cad vim-patch:7.4.295 #833
Problem:    Various typos, bad white space and unclear comments.
Solution:   Fix typos.  Improve white space. Update comments.

https://code.google.com/p/vim/source/detail?r=662ae48e7e246a63d38c9f3165b15b62252edaee
2014-07-11 16:38:49 -04:00
oni-link
3e8314abaa vim-patch:7.4.291 #879
Problem:    Compiler warning for int to pointer of different size when DEBUG
            is defined.
Solution:   use smsg() instead of EMSG3().

https://code.google.com/p/vim/source/detail?r=b5972833add9de714f4651e26fd9ea63ec4a880c
2014-07-11 16:29:21 -04:00
Nicolas Hillegeer
94f488d1ca c99: remove vim_round #909
C89 did not have round(), vim emulated it with vim_round. But since we're
using C99 this is not a problem anymore.
2014-07-11 13:10:59 -04:00
Fredrik Fornwall
958b3c5ffb Default 'encoding'-option from latin to utf-8 #935
Normally the default encoding does not have much effect, since it's
overridden by the environment.

But when it's not (test with "LANG= LC_ALL= C_CTYPE= nvim" and perform
":set encoding?"), utf-8 should be the default encoding for a 21st
century editor :).
2014-07-10 12:04:48 -04:00
John Szakmeister
8f17da61c5 Merge #933 'Avoid linking with libform(w).so' 2014-07-10 08:53:13 -04:00
Fredrik Fornwall
e9ca4f002f Avoid linking with libform(w).so
If libtgent or libcurses is installed, the first one found of them
is linked to.

But if not, a find_package(Curses REQUIRED) is used and CURSES_LIBRARIES
is added to NVIM_LINK_LIBRARIES. This contains libform(w).so on many
systems, causing nvim to be linked to and depend on libform(w).so,
which may not be installed one some space-constrained systems, unnecessarily.
2014-07-10 08:53:04 -04:00
Fredrik Fornwall
308953ecbf Fix two android compile errors in fs.c #924
Replace usage of deprecated S_IEXEC with S_IXUSR.
Rename a variable named "errno" to avoid clashing with define.
2014-07-09 09:17:38 +02:00
Nicolas Hillegeer
ef70d7ccf7 Merge #921 'Remove includes vim.h' 2014-07-09 00:20:38 +02:00
Brandon Coleman
0fff487690 move errno.h include out of vim.h 2014-07-09 00:18:20 +02:00
Brandon Coleman
b94d07b046 move stdarg.h include out of vim.h 2014-07-09 00:18:19 +02:00
Brandon Coleman
e69cfa6c15 move assert.h include out of vim.h 2014-07-09 00:18:19 +02:00
Brandon Coleman
8cc8164e52 move wctype.h include out of vim.h 2014-07-09 00:18:19 +02:00
Brandon Coleman
bf219e1442 move <inttypes.h> include out of vim.h 2014-07-09 00:18:19 +02:00
Brandon Coleman
b18ca14ef8 move locale.h include out of vim.h 2014-07-09 00:18:19 +02:00
Brandon Coleman
82b71a3056 move ascii.h include out of vim.h 2014-07-09 00:18:18 +02:00
Brandon Coleman
8c9cb5f9ef move memory.h include to version.c 2014-07-09 00:18:17 +02:00
Brandon Coleman
a4f441e547 remove stdbool.h include from vim.h and globals.h 2014-07-09 00:18:17 +02:00
Brandon Coleman
e3db636546 remove proto.h include from vim.h 2014-07-09 00:18:17 +02:00
Klemen Košir
a568e8b644 Replaced most TRUE/FALSE macros in arabic, mbyte and spell. #645 2014-07-08 17:34:08 +00:00
Klemen Košir
ef34a0ab13 Replace int with bool in some files. #654 2014-07-08 17:25:48 +00:00
Nicolas Hillegeer
3cf435af36 Merge pull request #922 'Improve neovim.rb' 2014-07-08 15:44:50 +02:00
Xu Cheng
ccd3f9ce67 neovim.rb: improve dependency
1. remove unnecessary deps `md5sha1sum`
2. add `=> :build`
3. add missing deps `autoconf`
2014-07-08 15:43:04 +02:00
Xu Cheng
8046e59f05 neovim.rb: modernize the style
https://github.com/styleguide/ruby
2014-07-08 15:43:04 +02:00
John Szakmeister
447f1c7b54 Merge #910 'Remove unnecessary PATHS from cmake modules' 2014-07-08 05:06:49 -04:00
Rui Abreu Ferreira
e06595fffb Removed unnecessary PATHS from cmake modules
- DEPS_INSTALL_DIR is already set into CMAKE_PREFIX_PATH in
  the main CMakeLists.txt
2014-07-08 05:06:09 -04:00
Thiago de Arruda
bced7a871b Merge pull request #916 'Add feedkeys API function' 2014-07-07 12:18:46 -03:00
Thiago de Arruda
745928ef6b dispatch function generator: Fix bug in validation/initialization
- Initialize variables before validating argument count to remove possibility of
  freeing uninitialized pointers
- Set the error when the argument count validation fails
2014-07-07 12:18:39 -03:00
Rui Abreu Ferreira
67c5684e23 Add vim_feedkeys API function
- New API function to push data to the typeahead buffer - this should
  equivalent to the vimscript feedkeys() function
- In Vim there was a --remote-send command to insert input into a
  Vim server instance. Besides accepting key sequences it also
  translated special keys such as <CR> or <Leader>, backslash notation
  is ignored. This commit backports the original Vim handler for
  --remote-send as a bool option for vim_feedkeys()
- vim-patch:0
2014-07-07 12:18:36 -03:00
Nicolas Hillegeer
aad2a69c96 cmake: upgrade libuv 0.11.23 -> 0.11.26 #911
Fixes some bugs and increase the performance of uv_hrtime() on OSX, which
reduces its prominence in performance traces. This allows us to better see
what's really causing slowness.

ref:
- https://github.com/neovim/neovim/issues/868
- https://github.com/joyent/libuv/pull/1325
- https://github.com/joyent/libuv/releases
2014-07-06 23:55:12 +02:00
Felipe Oliveira Carvalho
9a2b2d4a64 MsgPack-RPC dispatch based on function array lookup #864
This simplifies the generated msgpack_rpc_dispatch() function, separates the
code for each RPC method more clearly and allows easy implementation of
alternative dispatching methods (e.g. string method id dispatch).
2014-07-04 17:05:24 +00:00
Rui Abreu Ferreira
11653ce2d7 Remove include for sys/select.h in vim.h #890
- There is no need to include sys/select.h anymore
- Removed HAVE_SYS_SELECT_H from config.h.in
2014-07-01 18:21:02 -04:00
Justin M. Keyes
7d3666a123 Merge #780 'Update German translation' 2014-07-01 17:26:03 -04:00
Florian Walch
c175319266 Update German translation: Improve translations.
* Translate missing and fuzzy strings.
* Fix grammatical errors.
* Rewordings for consistency.
2014-07-01 17:25:58 -04:00
Florian Walch
1bbf8c4ed2 Update German translation: Sync to 9f1b9726fb. 2014-07-01 17:25:58 -04:00
Justin M. Keyes
fc8aba6077 Merge #892 'Update pt_BR translation' 2014-07-01 14:52:33 -04:00
Eduardo Elias Ferreira
e5c4b520a2 Update pt_BR translation: Improve translations.
[ci skip]
2014-07-01 14:51:14 -04:00
Eduardo Elias Ferreira
8536d743ff Update pt_BR translation: Sync to a321480342 2014-07-01 14:51:14 -04:00
Justin M. Keyes
9d8733c579 LICENSE: add LuaJIT notice. #899 2014-06-30 13:59:56 -04:00
Justin M. Keyes
044d8acae3 README: Add Bountysource badge. #854 2014-06-30 13:45:48 -04:00
Rui Abreu Ferreira
40bc328813 Remove pthread fatal check from CMakeLists.txt #891 2014-06-30 13:37:38 -04:00
Justin M. Keyes
370879a7fc README: fix links 2014-06-30 04:37:41 -04:00