Commit Graph

1783 Commits

Author SHA1 Message Date
Justin M. Keyes
2c2fee4d1f version: report commit hash as "build number" in long version string 2014-10-07 10:03:14 +00:00
Justin M. Keyes
ff023a47e3 version: remove non-functional Vim version identifiers 2014-10-07 02:45:27 +00:00
Justin M. Keyes
b80d803967 version: remove "Included patches" message
It is meaningless to Nvim.
2014-10-07 02:45:27 +00:00
Justin M. Keyes
08c99dcff0 version: update user-facing version indicators
- VIM_VERSION_LONG and VIM_VERSION_LONG_DATE do not affect plugins,
  they are only cosmetic.
- Vim-related version identifiers will be preserved for plugin
  compatibility (has("patchXXX") and v:version).
2014-10-07 02:45:27 +00:00
Tayler Mulligan
644da5a43e homebrew: use Makefile-defined defaults. #1259
Assuming homebrew always uses a clean workspace, a separate "cmake" step
is not necessary.
2014-10-07 01:44:34 +00:00
Justin M. Keyes
04b298ee75 Merge pull request #1254 from splinterofchaos/na-patches
Mark patches 363 and 366 NA; vim-patch:7.4.375
2014-10-06 21:15:49 -04:00
Scott Prager
e397c57d03 vim-patch:7.4.375
Problem:    Test 63 fails when run with GUI-only Vim.
Solution:   Add guibg attributes. (suggested by Mike Soyka)

https://code.google.com/p/vim/source/detail?r=v7-4-375
2014-10-06 19:38:17 -04:00
Scott Prager
5962daeb96 Mark patches 363 and 366 NA. 2014-10-06 19:38:17 -04:00
Justin M. Keyes
66ec1a448e Merge pull request #1268 from stefan991/cleanup-docs-2
Cleanup user documentation
2014-10-06 17:06:08 -04:00
Stefan Hoffmann
32fabd8984 doc: remove links to non existent files 2014-10-06 22:43:44 +02:00
Stefan Hoffmann
73f7837350 doc: cleanup
* fix some links
  * typo
  * remove reference to hangul_input
  * remove unused vim2html.pl
2014-10-06 22:43:30 +02:00
Stefan Hoffmann
2bf0850497 doc: remove documentation for :shell
see #450
2014-10-06 22:43:30 +02:00
Stefan Hoffmann
52c6727db6 doc: remove netbeans.txt 2014-10-06 22:43:30 +02:00
Stefan Hoffmann
2947a311e0 doc: remove workshop.txt 2014-10-06 22:43:30 +02:00
Stefan Hoffmann
fdfa6d507d doc: remove if_ole.txt 2014-10-06 22:43:30 +02:00
Stefan Hoffmann
83152918e1 doc: remove if_sniff.txt 2014-10-06 22:43:30 +02:00
Stefan Hoffmann
0c8aae645d doc: remove gui_w16.txt 2014-10-06 22:43:29 +02:00
Stefan Hoffmann
f4e13150db doc: remove legacy os_*.txt
keeping os_dos.txt, see #1115
2014-10-06 22:43:29 +02:00
Joseph Anthony Pasquale Holsten
ae743f8766 Removes shelltype option and all revelant doc. #1249
Fixes #1240
2014-10-06 16:25:53 -04:00
Justin M. Keyes
5e65e3eae0 Merge pull request #1208 from war1025/dev/remove_for_all_windows
Remove FOR_ALL_WINDOWS and replace with FOR_ALL_WINDOWS_IN_TAB(curtab)
2014-10-03 13:44:50 -04:00
Justin M. Keyes
60e5d8d1cc Merge pull request #1260 from tarruda/system-specs
Fix coverity defect(Resource leak) and add some specs which expose the bug to valgrind
2014-10-02 09:49:11 -04:00
Thiago de Arruda
45525853d3 wstream/shell: Fix memory errors caused by os_system
The os_system function uses a write callback to close the input stream when the
write completes, but this causes a memory error because the callback is invoked
right before the stream is freed by the caller.

This fixes the problem by removing the callback set by os_system. Instead, it
calls job_close_in immediately after writing(the stream will only close after
the write completes). The 'pending' parameter was also removed from the
'write_cb' as it should be hidden by the wstream module.

While the `wstream_set_write_cb` and `job_write_cb` are no longer used, they
will remain in the codebase for future use.
2014-10-01 21:42:00 -03:00
Thiago de Arruda
ba1026c2c7 eval: Fix save_tv_as_string to handle non-string types 2014-10-01 21:42:00 -03:00
Thiago de Arruda
93a45ccc25 travis: Fix clang-asan to always display memory errors
Always check the logs in case of test failures(which would happen when ASAN
finds an error since it will abort Nvim).

Also run the 'oldtest' target from the gcc-32.sh script
2014-10-01 21:42:00 -03:00
Thiago de Arruda
35d7815eb2 test: Add some specs for the viml function system()
These new specs replace src/nvim/testdir/test_system
2014-10-01 21:41:54 -03:00
Thiago de Arruda
f6a008a182 test: Add 'eval' functional helper
The eval helper transforms vimL expressions into lua tables, it's useful for
verifying function output.
2014-10-01 09:31:57 -03:00
Thiago de Arruda
549fc9548d test: Move 'test/legacy' to 'test/functional'
Busted can only discover tests from a single directory. In order to allow tests
under 'legacy' to run as a functional test, it needed to be moved to
'test/functional'.
2014-10-01 09:05:28 -03:00
Thiago de Arruda
1f622d63bc Merge PR #1257 'Use line-specific method names where possible' 2014-10-01 05:48:51 -03:00
Paul Jolly
8575f1b52a Use line-specific method names where possible to remove ambiguity and possibility of future clashes 2014-10-01 05:48:35 -03:00
Justin M. Keyes
8a14268ab9 Merge pull request #1141 from splinterofchaos/system-nl
vim-patch:7.4.247 + vim-patch:7.4.248 + vim-patch:7.4.256 + f_system() bug fix
2014-09-30 23:03:48 -04:00
Scott Prager
01fc01e5d6 Implement save_tv_as_string to assist in #1176. 2014-09-30 20:53:26 -04:00
Scott Prager
3928acb032 Fix system() output truncation bug.
Replace NULs with SOH to restore the old behaviour of get_cmd_output().
2014-09-30 19:35:47 -04:00
Scott Prager
44b187dd01 Old-style test for system(list). 2014-09-30 19:35:47 -04:00
Scott Prager
b0bda2ee87 vim-patch:7.4.256
Problem:    Using systemlist() may cause a crash and does not handle NUL
            characters properly.
Solution:   Increase the reference count, allocate memory by length. (Yasuhiro
            Matsumoto)

https://code.google.com/p/vim/source/detail?r=v7-4-256
2014-09-30 19:35:46 -04:00
Scott Prager
78979427d1 Return list from rettv_list_alloc. 2014-09-30 19:35:46 -04:00
Scott Prager
566ce93135 vim-patch:7.4.248
Problem:    Cannot distinguish between NL and NUL in output of system().
Solution:   Add systemlist(). (ZyX)

https://code.google.com/p/vim/source/detail?r=v7-4-248
2014-09-30 19:35:46 -04:00
Scott Prager
d3cd3d2b8f vim-patch:7.4.247
Problem:    When passing input to system() there is no way to keep NUL and
            NL characters separate.
Solution:   Optionally use a list for the system() input. (ZyX)

https://code.google.com/p/vim/source/detail?r=v7-4-247

Implement write_list_to_string() as well since write_list() only works
on files.
2014-09-30 19:35:46 -04:00
Scott Prager
07bfc11448 memory: memchrsub and strchrsub 2014-09-30 19:35:42 -04:00
Scott Prager
eff839b26d memory: xstrchrnul and xmemscan. 2014-09-30 19:33:48 -04:00
Thiago de Arruda
afe7ba1e71 Merge PR #1258 'Replace vroom by lua/busted for functional tests' 2014-09-30 18:00:20 -03:00
Thiago de Arruda
911acd22d8 travis: Refactor {valgrind,asan}_check functions
Put all logic into the `check_logs` function and use the `find` command to avoid
having to deal with empty directory errors when globbing files.
2014-09-30 17:39:13 -03:00
Thiago de Arruda
42d5b526b9 test: Replace vroom by lua/busted for functional tests
The 'lupa' python package provides a simple way to seamless integrate lua and
python code.

This commit replaces vroom by a python script that exposes the 'neovim' package
to a lua state, and invokes busted to run functional tests. This is a temporary
solution that will enable writing functional tests using lua/bused while a lua
client library is not available.

The reason for dropping vroom is flexibility: Lua/busted has a nice DSL-style
syntax while also providing the customization power of a full programming
language. Another reason is to use a single framework for unit/functional tests.

Two other changes were performed in this commit:

- Instead of "gcc-unittest/gcc-ia32", the travis builds for gcc are now
  identified by "gcc/gcc-32". They will run unit/functional tests for both 64
  and 32 bits.
- Old integration tests(in src/nvim/testdir) are now ran by the 'oldtest' target
2014-09-30 17:37:16 -03:00
Justin M. Keyes
4b0f524915 Merge pull request #1225 from mhinz/p7.4.454
vim-patch:7.4.454
2014-09-26 16:08:48 -04:00
Justin M. Keyes
d97a8e312e Merge pull request #1209 from atwupack/vp-7.4.320
vim-patch:7.4.320
2014-09-26 16:05:49 -04:00
Justin M. Keyes
f7bb349848 Merge pull request #1220 from atwupack/vp-7.4.411
vim-patch:7.4.411
2014-09-26 16:02:32 -04:00
Justin M. Keyes
176f16066b Merge pull request #1219 from atwupack/vp-7.4.386
vim-patch:7.4.386
2014-09-26 15:59:51 -04:00
Justin M. Keyes
d41eb83019 Merge pull request #1236 from atwupack/vp-7.4.391
vim-patch:7.4.391
2014-09-26 15:57:50 -04:00
Justin M. Keyes
ea26283cf6 Merge pull request #1238 from joshhartigan/zero-division-patch
clang: Division by zero
2014-09-25 01:54:39 -04:00
joshhartigan
5b54f3fd5e clang: Division by zero 2014-09-25 06:40:59 +01:00
Wayne Rowcliffe
7aca07b0a7 Remove W_NEXT use ->w_next 2014-09-24 19:00:50 -05:00