Justin M. Keyes
3f5482d325
Merge pull request #1107 from fmoralesc/matchaddpos
...
Add matchaddpos()-related vim patches. [vim-patch: 7.4.330, 7.4.334, 7.4.343, 7.4.344, 7.4.362]
2014-09-05 20:57:41 -04:00
Justin M. Keyes
d66cd61b79
Merge pull request #1054 from stefan991/fileinfo-getter
...
FileInfo getters for `filesize`, `hardlinks` and `blocksize`
2014-09-04 01:22:25 -04:00
Felipe Morales
d860ba45e2
vim-patch: 7.4.344
...
Problem: Unnecessary initializations and other things related to
matchaddpos().
Solution: Code cleanup. (Alexey Radkov)
https://code.google.com/p/vim/source/detail?r=ce284c205558d103326a4c3f22f181774690b3eb
2014-09-04 00:18:25 -04:00
Felipe Morales
15d86890d4
vim-patch: 7.4.343
...
Problem: matchdelete() does not always update the right lines.
Solution: Fix off-by-one error. (Ozaki Kiichi)
https://code.google.com/p/vim/source/detail?r=539ce56d8f35fe2deb5c4f57335e1adf97ae4e74
2014-09-04 00:18:25 -04:00
Felipe Morales
9d7e3336cf
vim-patch: 7.4.362
...
Problem: When matchaddpos() uses a length smaller than the number of
bytes in the (last) character the highlight continues until the end of
the line.
Solution: Change condition from equal to larger-or-equal.
https://code.google.com/p/vim/source/detail?r=7fa2bed947fde3514a700c96861a537d816d6fd4
2014-09-04 00:18:25 -04:00
Felipe Morales
a8124602f0
vim-patch: 7.4.334
...
Problem: Unitialized variables, causing some problems.
Solution: Initialize the variables. (Dominique Pelle)
https://code.google.com/p/vim/source/detail?r=03d260a8ea0c0c67f424c387dbe2af5754e5e589
2014-09-04 00:18:24 -04:00
Felipe Morales
bf3d945798
vim-patch: 7.4.330
...
Problem: Using a regexp pattern to highlight a specific position can
be slow.
Solution: Add matchaddpos() to highlight specific positions
efficiently.
(Alexey Radkov.)
https://code.google.com/p/vim/source/detail?r=f9fa2e506b9f07549cd91074835c5c553db7b3a7
2014-09-04 00:18:24 -04:00
Stefan Hoffmann
7ac191ab10
fileinfo: change returntype of os_fileinfo_size
...
off_t -> uint64_t
2014-08-31 15:47:44 +02:00
Stefan Hoffmann
10813ce38c
fileid: rename os_file_id_equal_file_info
2014-08-31 15:47:43 +02:00
Stefan Hoffmann
3cf7a17a44
fileid: rename os_file_id_equal
2014-08-31 15:47:36 +02:00
Stefan Hoffmann
4e43095ab2
fileid: rename os_get_file_id
2014-08-31 15:43:40 +02:00
Stefan Hoffmann
8a66f4f245
fileinfo: rename os_file_info_get_inode
2014-08-31 15:42:19 +02:00
Stefan Hoffmann
6e3dce144a
fileinfo: rename os_file_info_get_id
2014-08-31 15:41:03 +02:00
Stefan Hoffmann
edcc1a9732
fileinfo: rename os_file_info_id_equal
2014-08-31 15:39:33 +02:00
Stefan Hoffmann
5d074a0aa6
fileinfo: rename os_get_file_info{,_link,_fd}
2014-08-31 15:37:55 +02:00
Stefan Hoffmann
9ee1c3604c
fileinfo: implement os_fileinfo_blocksize
2014-08-31 15:33:23 +02:00
Stefan Hoffmann
e85fe0957d
fileinfo: implement os_fileinfo_hardlinks
2014-08-31 15:22:38 +02:00
Stefan Hoffmann
aa378acdf5
fileinfo: implement os_fileinfo_size
...
this replaces os_get_file_size and file_info.stat.st_size
2014-08-31 15:15:02 +02:00
Nicolas Hillegeer
3051015f89
Merge #1128 'Drop moonscript'
2014-08-31 14:57:28 +02:00
Stefan Hoffmann
c798611771
unittest: Move FileInfo tests one level up
2014-08-31 14:50:50 +02:00
Thiago de Arruda
80e421fe8d
build: Remove moonscript as a third-party build dependency
2014-08-31 14:50:49 +02:00
Thiago de Arruda
7b41fb383a
unittest: Remove remaining moonscript references
2014-08-31 14:50:49 +02:00
Thiago de Arruda
38b7b4405e
unittest: convert set.moon to lua
2014-08-31 14:50:49 +02:00
Thiago de Arruda
3a951112c0
unittest: convert preprocess.moon to lua
2014-08-31 14:50:49 +02:00
Thiago de Arruda
d74ae5be9d
unittest: convert users_spec.moon to lua
2014-08-31 14:50:49 +02:00
Thiago de Arruda
df50d242f5
unittest: convert path_spec.moon to lua
2014-08-31 14:50:49 +02:00
Thiago de Arruda
227e38f0c6
unittest: convert fs_spec.moon to lua
2014-08-31 14:50:49 +02:00
Thiago de Arruda
d39aa51e94
unittest: convert env_spec.moon to lua
2014-08-31 14:50:49 +02:00
Thiago de Arruda
dcda179e6a
unittest: convert helpers.moon to lua
2014-08-31 14:50:49 +02:00
Thiago de Arruda
097ff4b8b2
unittest: convert garray_spec.moon to lua
2014-08-31 14:50:49 +02:00
Thiago de Arruda
3a766d2c50
Merge PR #1127 'Fix segfault when calling methods in a client that already exited'
2014-08-31 09:48:10 -03:00
Thiago de Arruda
51438d8e14
channel: Remove code for automatically closing in channel_send_call
...
This was causing a segfault(reported in #1125 ) because channels are already
closed by `parse_msgpack` when the connection ends. Also fix the RPC stack
overflow error message
2014-08-31 09:32:45 -03:00
Thiago de Arruda
df64c0f932
Merge PR #1121 'Full compliance with msgpack-RPC'
2014-08-29 22:27:54 -03:00
Thiago de Arruda
887446a038
Fix environment variable for triggering embedded tests
...
NVIM should be used for all technical identifiers and this was changed in
the python-client
2014-08-29 22:08:58 -03:00
Thiago de Arruda
a66d2d1538
msgpack-rpc: Always use arrays when sending events or calls
...
This is required by the msgpack-RPC specification. Also, the
send_call/send_event functions were refactored to accept a variable number of
arguments
2014-08-29 22:08:58 -03:00
Thiago de Arruda
aa23d2f835
msgpack-rpc: Accept method names in requests
2014-08-29 22:08:58 -03:00
Justin M. Keyes
9d5e2c34c9
Merge pull request #1124 from fwalch/luarocks-version-number
...
Update luarocks: Use commit with correct version number.
2014-08-29 16:15:36 -04:00
Florian Walch
a063892b2e
Update luarocks: Use commit with correct version number.
2014-08-29 21:52:34 +02:00
John Szakmeister
f26e621ff6
Merge #1123 "Add 'bit' to the list of lua dependencies"
2014-08-29 05:57:14 -04:00
Rui Abreu Ferreira
426f906485
Add 'bit' to the list of lua dependencies
...
- ex_cmds.lua requires the 'bit' module
2014-08-29 05:56:21 -04:00
Justin M. Keyes
db782dc486
clang: Null pointer passed as an argument to a 'nonnull' parameter #1090
2014-08-28 16:11:22 -04:00
Thiago de Arruda
e0d812ab64
Merge PR #1060 'Implement --embedded-mode command-line option'
2014-08-28 14:39:20 -03:00
Thiago de Arruda
dd90dbeeba
test: Run tests in embedded mode on travis
2014-08-28 14:19:19 -03:00
Thiago de Arruda
5b7a66ec3d
api: Implement '--embedded-mode' command-line option
...
This option makes nvim run in "embedded mode", which creates an API channel via
stdin/stdout and disables all terminal-related code
2014-08-28 14:18:05 -03:00
Thiago de Arruda
a1400896b3
channel: Implement channel_from_stdio function
...
This function can be used to create an API channel that reads/writes from/to
stdin/stdout
2014-08-28 14:18:05 -03:00
Thiago de Arruda
8e683a0ae9
channel: fix channel buffer size
2014-08-28 14:18:05 -03:00
Thiago de Arruda
dc34f9fc94
channel: Fix channel not being closed when the RStream reaches EOF
2014-08-28 14:18:05 -03:00
Thiago de Arruda
801ed0e0a3
wstream: Implement wstream_set_file
...
It's analogous to rstream_set_file but only supports pipes(Support for regular
files may be added later). This function was added to support creating API
channels via stdout.
2014-08-28 14:17:58 -03:00
Thiago de Arruda
b744073fae
test: Remove cleanup function definition from run-api-tests.exp
...
This function is now injected automatically when running the python-client tests
2014-08-28 14:07:31 -03:00
Justin M. Keyes
7f9ec6c04f
Merge pull request #1088 from justinmk/upgradeluarocks
...
upgrade luarocks
2014-08-28 09:28:05 -04:00