| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
--embedded-mode -> --embed
--api-msgpack-metadata -> --api-info
|
|
|
|
|
|
| |
- Move helpers that are specific to API types to api/private/helpers.{c,h}
- Include headers with generated declarations
- Delete unused macros
|
| |
|
| |
|
|
|
|
|
|
|
| |
Enhance msgpack-gen.lua to extract custom api type codes from the ObjectType
enum in api/private/defs.h. The type information is made available from the api
metadata and clients can use to correctly serialize/deserialize these types
using msgpack EXT type.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specialized array types(BufferArray, WindowArray, etc) were added to the API for
two main reasons:
- msgpack used to lack a way of serializing appliaction-specific types and there
was no obvious way of making an API function accept/return arrays of custom
objects such as buffers(which are represented as integers, so clients didn't
have a way to distinguish from normal numbers)
- Let clients in statically-typed languages that support generics have a better
typed API
With msgpack 2.0 EXT type the first item is no longer a factor and this commit
starts by removing the specialized array types. The second item will be
addressed in the future by making the API metadata return extra useful
information for statically-typed languages.
|
|
|
|
|
|
|
| |
The `msgpack_rpc_unpack` function was created to work around a deficiency in the
msgpack unpack API, which did not let the caller know if parsing failed due to
needing more data or to invalid input. The deficiency does not exist in the
latest version of `msgpack_unpacker_next`, so it can safely be removed.
|
| |
|
|
|
|
|
| |
There's no need to have integer and string ids, and since we now fully support
msgpack-RPC, support for integer ids was removed.
|
|
|
|
|
|
|
|
|
|
| |
A new method is now exposed via msgpack-rpc: "get_api_metadata". This method has
the same job as the old method '0', it returns an object with API metadata for
use by generators.
There's one difference in the return value though: instead of returning a
string containing another serialized msgpack document, the metadata object is
returned directly(a separate deserialization step by clients is not required).
|
|
|
|
|
| |
Since that function is not automatically generated, it's best to place it in a
normal C module
|
|
|
|
|
|
|
|
| |
Use Map(String, rpc_method_handler_fn) for storing/retrieving rpc method
handlers in msgpack_rpc_init and msgpack_rpc_dispatch.
Also refactor serialization/validation functions in the
msgpack_rpc.c/msgpack_rpc_helpers.c modules to accept the new STR and BIN types.
|
|
|
|
|
| |
The new map type uses `String` instances as keys to avoid unnecessary copying to
zero-terminated buffers.
|
|
|
|
|
|
|
|
| |
Using msgpack v5 will let nvim be more compatible with msgpack libraries for
other platforms.
This also replaces "raw" references by "bin" which is the new name for msgpack
binary data type
|
|\
| |
| | |
Update busted to version 2.
|
| |
| |
| |
| |
| | |
Default to verbose output to show more information in case of errors.
Fix #1031.
|
|\ \
| | |
| | | |
Travis: Add subdirectories to dependency paths.
|
| |/ |
|
|\ \
| | |
| | | |
vim-patch:7.4.349
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: When there are matches to highlight the whole window is redrawn,
which is slow.
Solution: Only redraw everything when lines were inserted or deleted.
Reset b_mod_xlines when needed. (Alexey Radkov)
https://code.google.com/p/vim/source/detail?r=v7-4-349
|
|\ \
| |/
|/| |
vim-patch:7.4.348
|
|/
|
|
|
|
|
| |
Problem: When using "J1" in 'cinoptions' a line below a continuation line gets too much indent.
Solution: Fix parenthesis in condition.
https://code.google.com/p/vim/source/detail?r=v7-4-348
|
|\
| |
| |
| | |
deps building.'
|
|/
|
|
|
|
| |
CMAKE_C_COMPILER_ARG1 is set in CMake toolchain file
cmake/i386-linux-gnu.toolchain.cmake. Use when compiling dependencies to
simplify 32-bit builds.
|
|\
| |
| | |
fix unittest issues with busted 2.x
|
| | |
|
| |
| |
| |
| | |
temporarily comment out call to vim_deltempdir() to avoid segfault
|
|/ |
|
|\
| |
| | |
README.md: link to libuv
|
| |
| |
| |
| | |
Reference to libuv was made a link
|
|\ \
| | |
| | | |
vim-patch:7.4.345
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Indent is not updated when deleting indent.
Solution: Remember changedtick.
https://code.google.com/p/vim/source/detail?r=v7-4-345
|
|\ \ \
| |/ /
|/| | |
vim-patch:7.4.337
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Problem: When there is an error preparing to edit the command line, the
command won't be executed. (Hirohito Higashi)
Solution: Reset did_emsg before editing.
https://code.google.com/p/vim/source/detail?r=v7-4-337
|
|\ \
| | |
| | | |
Fix #1147 version numbers
|
| | | |
|
|\ \ \
| |/ /
|/| | |
vim-patch:7.4.278
|
| |/
| |
| |
| |
| |
| |
| | |
Problem: list_remove() conflicts with function defined in Sun header file.
Solution: Rename the function. (Richard Palo)
https://code.google.com/p/vim/source/detail?r=v7-4-278
|
|\ \
| |/
|/| |
Convert FOR_ALL_WINDOWS to use a locally declared pointer
|
| | |
|
|/ |
|
|\
| |
| | |
Add matchaddpos()-related vim patches. [vim-patch: 7.4.330, 7.4.334, 7.4.343, 7.4.344, 7.4.362]
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Unnecessary initializations and other things related to
matchaddpos().
Solution: Code cleanup. (Alexey Radkov)
https://code.google.com/p/vim/source/detail?r=ce284c205558d103326a4c3f22f181774690b3eb
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Unitialized variables, causing some problems.
Solution: Initialize the variables. (Dominique Pelle)
https://code.google.com/p/vim/source/detail?r=03d260a8ea0c0c67f424c387dbe2af5754e5e589
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
FileInfo getters for `filesize`, `hardlinks` and `blocksize`
|
| | |
| | |
| | |
| | | |
off_t -> uint64_t
|