Justin M. Keyes
867aff3d2d
Merge pull request #1280 from splinterofchaos/visual-mb
...
vim-patch:7.4.408
2014-10-10 15:37:12 -04:00
Scott Prager
d62545e5ba
vim-patch:7.4.408
...
Problem: Visual block insert breaks a multi-byte character.
Solution: Calculate the position properly. (Yasuhiro Matsumoto)
https://code.google.com/p/vim/source/detail?r=v7-4-408
2014-10-10 15:21:40 -04:00
Justin M. Keyes
7ff71b5790
Merge pull request #1279 from splinterofchaos/matchparen
...
vim-patch:7.4.397
2014-10-10 08:16:45 -04:00
Scott Prager
21d1016f56
vim-patch:7.4.397
...
Problem: Matchparen only uses the topmost syntax item.
Solution: Go through the syntax stack to find items. (James McCoy)
Also use getcurpos() when possible.
https://code.google.com/p/vim/source/detail?r=v7-4-397
2014-10-09 22:09:52 -04:00
Justin M. Keyes
7e229e78e9
Merge pull request #1273 from fwalch/fix-homebrew
...
homebrew: fix install prefix
2014-10-09 09:55:55 -04:00
Florian Walch
ae440dc504
homebrew: fix install prefix
2014-10-09 14:00:23 +02:00
Justin M. Keyes
aff24964f1
Merge pull request #1267 from justinmk/version
...
version refactor
2014-10-09 02:24:08 -04:00
Justin M. Keyes
ea357eb320
version: remove "Compilation" and "Linking" messages.
...
Can't reliably get this information from cmake (#1267 ), so it's
misleading to show these messages at all. We can always revert this
commit if we find a way later.
2014-10-07 10:23:15 +00:00
Justin M. Keyes
a1901941f8
version: generate "build number" from commit timestamp
...
- cmake: git_timestamp() returns last commit time formatted as
`YYYYMMddHHmm`.
- Always include commit hash in :version and --version output.
`nvim --version` sample output:
NVIM 0.0.0-alpha+201410070245 (compiled Oct 7 2014 05:30:45)
Commit: f747b2b1ff7bfe7eb00cc2be82d7af87c98f1111
2014-10-07 10:23:15 +00:00
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