Commit Graph

1807 Commits

Author SHA1 Message Date
John Szakmeister
5e65400c6f Add missing linker flags required for LuaJIT on 64-bit Mac OS X.
This was brought up in #1294.
2014-10-17 06:50:13 -04:00
Justin M. Keyes
7e17eb49b0 Merge pull request #1298 from splinterofchaos/418
vim-patch:7.4.418
2014-10-16 18:26:53 -04:00
Scott Prager
f2e5851dd9 vim-patch:7.4.418
Problem:    When leaving ":append" the cursor shape is like in Insert mode.
            (Jacob Niehus)
Solution:   Do not have State set to INSERT when calling getline().

https://code.google.com/p/vim/source/detail?r=v7-4-418
2014-10-16 15:55:54 -04:00
Thiago de Arruda
388e75e4b0 Merge PR #1296 'Use the lua client to run functional tests' 2014-10-16 14:23:36 -03:00
Thiago de Arruda
0c2ec77ae0 test: Use lua to perform sanity API checks
Sanity API checks made by the python-client in the api-python travis target were
converted to lua and will now live in this repository. This will simplify
performing breaking changes to the API as it won't be necessary to send parallel
PRs the python-client.
2014-10-16 14:06:54 -03:00
Thiago de Arruda
69561ea922 test: Remove run-functional-tests.py
Now that the lua client is available, python/lupa are no longer necessary to run
the functional tests. The helper functions previously defined in
run-functional-tests.py were adapted to test/functional/helpers.lua.
2014-10-16 09:21:37 -03:00
Thiago de Arruda
201e1512a1 deps: Add lua nvim-client as a dependency 2014-10-16 09:21:32 -03:00
Naveen Kumar Molleti
0a2d9fa8c8 vim-patch:7.4.440 #1244
Problem:  Omni complete popup drawn incorrectly.
Solution: Call validate_cursor() instead of check_cursor(). (Hirohito
          Higashi)

https://code.google.com/p/vim/source/detail?r=v7-4-440
2014-10-16 04:18:18 +00:00
Naveen Kumar Molleti
af40647b66 vim-patch:7.4.439 #1245
Problem:  Duplicate message in message history. Some quickfix messages
          appear twice. (Gary Johnson)
Solution: Do not reset keep_msg too early. (Hirohito Higashi)

https://code.google.com/p/vim/source/detail?r=v7-4-439
2014-10-16 04:04:49 +00:00
Naveen Kumar Molleti
3195aadf27 vim-patch:7.4.436 #1246
Problem:  ml_get error for autocommand that moves the cursor of the
          current window.
Solution: Check the cursor position after switching back to the current
          buffer. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=v7-4-436
2014-10-16 03:49:05 +00:00
Justin M. Keyes
97d2fbde73 Merge pull request #1293 from justinmk/homebrew
handle missing git or .git/
2014-10-15 23:27:16 -04:00
Justin M. Keyes
92b17e174f cmake: handle missing git or .git/
GetGitRevisionDescription.cmake: we don't need fine-grained failure
modes, we only need "yes" or "no".

fix #1292
2014-10-15 14:45:42 -04:00
Xu Cheng
7e57d326f4 homebrew: look for .git/ outside of build workspace #1274 2014-10-15 14:45:38 -04:00
Justin M. Keyes
f68e7aba2c Merge pull request #1265 from dkns/vp-7.4.444
vim-patch:7.4.444
2014-10-13 12:10:01 -04:00
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
Daniel Kosinski
c5f9540ccb vim-patch:7.4.444
Problem: Reversed question mark not recognized as punctuation. ( Issue 258 )
Solution: Add the Supplemental Punctuation range.

https://code.google.com/p/vim/source/detail?r=v7-4-444
2014-10-04 00:54:59 +02: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