Michael Reed
83a4c9d58c
Remove Atari MiNT references
2014-11-27 23:42:40 -05:00
Michael Reed
c8d57e25e9
Remove NeXTSTEP references
...
Remove trailing whitespace as well.
2014-11-27 23:42:40 -05:00
Justin M. Keyes
68cee4c28d
Merge pull request #1492 from fwalch/fix-wconversion
...
Fix some more -Wconversion warnings.
2014-11-27 21:02:30 -05:00
Justin M. Keyes
5e4809f5a4
Merge pull request #1566 from splinterofchaos/fix-save-tv-as-string
...
eval: Fix coverity false positive.
2014-11-27 21:00:38 -05:00
Justin M. Keyes
49b65b0fcd
Merge pull request #1516 from fmoralesc/new-patches
...
vim-patch:7.4.425,435,467,472,473,478
2014-11-27 20:58:39 -05:00
Thiago de Arruda
e5a386d2f8
Merge PR #1568 'Remove code defined under USE_IM_CONTROL #ifdefs'
2014-11-27 20:48:51 -03:00
Thiago de Arruda
7b0f7ea87c
ui: Move check_col/check_row functions to mbyte.c
...
These functions were only being used by mbyte.c, so move them and add the
"static" modifier.
2014-11-27 20:33:11 -03:00
Thiago de Arruda
6f7fe5d1b9
Remove code defined under USE_IM_CONTROL #ifdefs
...
This is not being used and should not be part of the core anyway.
2014-11-27 20:26:10 -03:00
Felipe Morales
9ab44e74ab
vim-patch:7.4.478: Use character lenght for 'showbreak'
...
vim-patch:7.4.478
Problem: Using byte length instead of character length for
'showbreak'.
Solution: Compute the character length. (Marco Hinz)
https://code.google.com/p/vim/source/detail?r=v7-4-478
2014-11-27 19:40:51 -03:00
Felipe Morales
c82eb31a5d
vim-patch:7.4.473
...
vim-patch:7.4.473
Problem: Cursor movement is incorrect when there is a number
column/sign/fold column and 'sbr' is displayed.
Solution: Adjust the column for 'sbr'. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-473
2014-11-27 19:40:51 -03:00
Felipe Morales
42dc00b767
vim-patch:7.4.472: Only draw "precedes" entry in 'listchar' when 'list' is on
...
vim-patch:7.4.472
Problem: The "precedes" entry in 'listchar' will be drawn when
'showbreak is set and list is not.
Solution: Only draw this character when 'list' is on. (Christian
Brabandt)
https://code.google.com/p/vim/source/detail?r=af998690a8841d4df95cea0bed4246f2ba98e247
2014-11-27 19:40:51 -03:00
Felipe Morales
35e2398441
vim-patch:7.4.467: Avoid a problem with unwanted linebreaks in block mode
...
vim-patch:7.4.467
Avoid a problem with unwanted linebreaks in block mode
https://code.google.com/p/vim/source/detail?r=v7-4-467
2014-11-27 19:40:51 -03:00
Felipe Morales
cfa8b4a186
vim-patch:7.4.435: Disable linebreak temporarily when formatting lines.
...
vim-patch:7.4.435
Problem: Line formatting behaves differently when 'linebreak' is set.
(mvxxc)
Solution: Disable 'linebreak' temporarily. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-435
2014-11-27 19:40:51 -03:00
Felipe Morales
ef7eab1ec6
vim-patch:7.4.425: Adjust virtcol when showbreak is set
...
vim-patch:7.4.425
Problem: When 'showbreak' is used "gj" may move to the wrong
position. (Nazri Ramliy)
Solution: Adjust virtcol when 'showbreak' is set. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-425
2014-11-27 19:40:51 -03:00
Scott Prager
927c6a148d
eval: Fix coverity false positive.
...
** CID 74786: Resource leak (RESOURCE_LEAK)
/src/nvim/eval.c: 10614 in f_jobsend()
/src/nvim/eval.c: 10616 in f_jobsend()
save_tv_as_string() should return NULL and input_len <= 0 for an empty
string or error. Callers should check that input != NULL instead of
input_len > 0 and assert(input == NULL) when the length must be checked.
2014-11-27 15:12:35 -05:00
Florian Walch
ce5d6506ba
Wconversion: Change long to int64_t in cursor_shape.c, digraph.c.
...
Warnings were fixed in #1488 .
2014-11-27 21:08:07 +01:00
Florian Walch
dc75324997
Wconversion: Remove regexp_nfa.c from list.
2014-11-27 21:08:07 +01:00
Florian Walch
10b938bdb5
Wconversion: Fix warnings in indent_c.c.
2014-11-27 21:08:07 +01:00
Florian Walch
e3fca96e18
Wconversion: Fix warnings in file_search.c.
2014-11-27 21:08:07 +01:00
Florian Walch
cfe4cada30
Wconversion: Fix warnings in ex_eval.c.
2014-11-27 21:06:27 +01:00
John Szakmeister
98b11f5db3
Merge pull request #1562 from Happy-Dude/fix-1560-libuv-refs
...
Change refs for joyent/libuv repo to libuv/libuv.
2014-11-27 14:52:15 -05:00
Scott Prager
f75de5e671
strings: Enable -Wconvert.
2014-11-27 14:38:26 -05:00
Scott Prager
ecf81c3f20
strings/memory: constify and func_attr.
...
Fix MB_COPY_cHAR() to accept const pointers.
2014-11-27 14:38:26 -05:00
Thiago de Arruda
dca8853f00
Merge PR #1565 'Cleanup ui module'
2014-11-27 16:08:44 -03:00
Thiago de Arruda
bf6bb27e79
ui: Remove redundant ui.h includes
...
Also move read_error_exit to os/input.c
2014-11-27 15:00:30 -03:00
Thiago de Arruda
a3534138a8
ui: Extract mouse.c/mouse.h
2014-11-27 14:48:30 -03:00
Thiago de Arruda
1865b8c1c1
ui: Remove ui_delay, ui_breakcheck and ui_set_shellsize
...
These functions only used to call another os_* function, so remove them and
replace all occurences in the project.
2014-11-27 14:27:18 -03:00
Thiago de Arruda
541eaf598c
ui: Remove ui_inchar/ui_char_avail
...
Also:
- Remove NO_CONSOLE_INPUT/NO_CONSULE preprocessor conditionals
- Remove ctrl_c_interrupts variable, check for mapped_ctrl_c directly in
process_interrupts()
- Move ui_inchar profiling to input_poll which is where Nvim blocks for input.
2014-11-27 14:12:59 -03:00
Stanley Chan
a4ad5f6bee
Change refs for joyent/libuv repo to libuv/libuv
...
* References to old repository found through grepping
* Replace references from github.com/joyent/libuv to github.com/libuv/libuv
* Fix previous commit by not including whitespace changes
For issue #1560 .
2014-11-27 10:05:14 -05:00
Thiago de Arruda
f6c89ec704
Merge PR #1270 'Add Boolean argument escape_csi to vim_feedkeys'
2014-11-27 08:34:33 -03:00
Rui Abreu Ferreira
84eb118f62
Functional tests for feedkeys CSI escaping
...
- tests for vim_feedkeys and replace_termcodes
2014-11-27 08:33:53 -03:00
Rui Abreu Ferreira
e644369f6e
Add Boolean argument escape_csi to vim_feedkeys
...
- By default vim_feedkeys escaped all input for CSI/K_SPECIAL bytes
before using it. However since vim_replace_termcodes() also escapes
the input string chaining these functions together escapes input twice
- vim_feedkeys() now takes a third Boolean argument to enable/disable
escaping
- Breaks API compatibility
2014-11-27 08:33:53 -03:00
John Szakmeister
a6b7b92431
Merge pull request #1555 from jszakmeister/silent-xclip-find-executable
...
Avoid printing an error response when detecting xclip.
2014-11-26 19:53:47 -05:00
Justin M. Keyes
763b62698a
Merge pull request #1556 from elmart/fix-msgpack-rpc-docs
...
Fix outdated msgpack-rpc doc.
2014-11-26 17:51:08 -05:00
John Szakmeister
7bf6d6fb25
Merge pull request #1554 from jszakmeister/allow-skipping-of-sum
...
build: allow skipping of the hash check in the download step
2014-11-26 17:34:08 -05:00
John Szakmeister
78618d742b
Avoid printing an error response when detecting xclip.
...
While we're at, using the slightly more portable `command -v` technique
to detect the executable. Also, there's no need to use `io.popen()` if
we aren't going to record the path. Instead, let's use the simpler
`os.execute()` to detect the presence of xclip.
2014-11-26 17:31:51 -05:00
Justin M. Keyes
cc768bed6c
Merge pull request #1559 from fwalch/python-messages
...
Improve Python host messages.
2014-11-26 12:24:17 -05:00
Florian Walch
98c72305a9
Improve Python host messages.
2014-11-26 16:49:46 +01:00
Justin M. Keyes
f3e7314952
Merge pull request #1514 from jszakmeister/better-fortify-detection
...
build: probe the compiler to see if we need to turn down _FORTIFY_SOURCE
2014-11-26 09:04:33 -05:00
Eliseo Martínez
2ff36db571
Fix outdated msgpack-rpc doc.
...
Needed after neovim/python-client#58 .
2014-11-26 12:13:49 +01:00
John Szakmeister
7b6f705e5f
build: probe the compiler to see if we need to turn down _FORTIFY_SOURCE
...
Some builds don't use Release (such as Gentoo, though it can be told
to). So let's go a bit further and probe the compiler to see if we need
to turn down the _FORTIFY_SOURCE level.
2014-11-25 20:18:51 -05:00
John Szakmeister
68fcd8b696
Merge pull request #1544 from jszakmeister/run-tests-error-code
...
build: print the error result when the tests fail
2014-11-25 19:32:35 -05:00
Steven Oliver
80cda3f2fb
build: add failure message along with number in GenerateHelptags.cmake
2014-11-25 19:31:11 -05:00
Justin M. Keyes
c83dfa20bd
Merge pull request #1543 from jszakmeister/fix-broken-functional-tests
...
Fix broken functional test.
2014-11-25 17:06:53 -05:00
John Szakmeister
02b995478b
build: allow skipping of the hash check in the download step
...
This is useful when trying to bisect an issue in a dependency, and we
want to pull from a specific commit but don't want to have to download
and determine the sha1sum and md5sum of the tarball.
2014-11-25 16:17:51 -05:00
Justin M. Keyes
3bbbeaf2c9
Merge pull request #1552 from equalsraf/tb-fix-1530
...
add missing refcount increment for systemlist()
2014-11-25 16:16:08 -05:00
Rui Abreu Ferreira
ea8cc88e6a
Add missing refcount increment for systemlist()
...
- get_system_output_as_rettv() was missing a refcount increment when
returning an empty list, i.e. when there was no output
- we now use rettv_list_aloc() instead of list_alloc()
- issue #1530
2014-11-25 20:00:27 +00:00
Thiago de Arruda
c2479a1e63
Merge PR #1547 'Update bundled lua client version'
2014-11-25 14:48:10 -03:00
Thiago de Arruda
99809903bb
deps: Update bundled lua client version
...
The new version fixes defunct processes which causes random test failures on
some systems(#1519 )
2014-11-25 14:47:54 -03:00
John Szakmeister
346e07e8da
build: print the error result when the tests fail
...
Any diagnostic information is useful when things fail. In my case, it
printed out the fact that the tests were segfaulting.
2014-11-25 06:15:57 -05:00