Thiago de Arruda
77e918bc1f
Merge PR #1306 'RBuffer fixes'
2014-10-20 07:31:32 -03:00
Thiago de Arruda
72ae4e8a93
rstream: Add rbuffer_read_ptr/rbuffer_write_ptr functions
...
rbuffer_data was renamed to rbuffer_read_ptr, and it represents the next read
position in a RBuffer instance. Similarly, rbuffer_write_ptr was added to
represent the next write position.
Also, rbuffer_data was being used for writing(in alloc_cb), replace that by
rbuffer_write_ptr.
2014-10-19 17:53:32 -03:00
Thiago de Arruda
38aa222658
rstream: Initialize 'rstream' field in RBuffer class
...
This field is used in a conditional jump, so this initialization is fixing a
bug.
2014-10-19 17:53:32 -03:00
Thiago de Arruda
fb34028c1e
Merge PR #1300 'Refactor input buffer'
2014-10-18 13:57:58 -03:00
Thiago de Arruda
42112e04a9
ui: Refactor input buffer handling
...
All input buffer code was moved to os/input.c, and `inbuf` is now a `RBuffer`
instance(which abstracts static buffer manipulation).
2014-10-18 12:51:35 -03:00
Thiago de Arruda
68de5d79a2
rstream: Extract some RStream functionality to RBuffer
...
RBuffer instances represent the internal buffer used by RStreams.
This changes RStream constructor to receive RBuffer pointers and adds a set of
RBuffer methods that expose the lower level buffer manipulation to consumers of
the RStream API.
2014-10-18 08:42:49 -03:00
Justin M. Keyes
56ef9e8668
Merge pull request #1297 from splinterofchaos/server-errors
...
server: Improve error reporting.
2014-10-17 14:03:58 -04:00
Scott Prager
792882e9e4
server: Improve error reporting.
...
If we fail to bind to the server address, do not try and listen lest the
reported error always be "invalid argument".
Also, return whether or not we errored from server_init() in case we
want to respond differently in the future.
2014-10-17 12:26:10 -04:00
John Szakmeister
587101a374
Merge pull request #1299 from jszakmeister/add-missing-luajit-flags
...
Add missing linker flags required for LuaJIT on 64-bit Mac OS X.
2014-10-17 07:05:22 -04:00
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