aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Merge #910 'Remove unnecessary PATHS from cmake modules'John Szakmeister2014-07-08
|\
| * Removed unnecessary PATHS from cmake modulesRui Abreu Ferreira2014-07-08
|/ | | | | - DEPS_INSTALL_DIR is already set into CMAKE_PREFIX_PATH in the main CMakeLists.txt
* Merge pull request #916 'Add `feedkeys` API function'Thiago de Arruda2014-07-07
|\
| * dispatch function generator: Fix bug in validation/initializationThiago de Arruda2014-07-07
| | | | | | | | | | | | - Initialize variables before validating argument count to remove possibility of freeing uninitialized pointers - Set the error when the argument count validation fails
| * Add vim_feedkeys API functionRui Abreu Ferreira2014-07-07
|/ | | | | | | | | | | - New API function to push data to the typeahead buffer - this should equivalent to the vimscript feedkeys() function - In Vim there was a --remote-send command to insert input into a Vim server instance. Besides accepting key sequences it also translated special keys such as <CR> or <Leader>, backslash notation is ignored. This commit backports the original Vim handler for --remote-send as a bool option for vim_feedkeys() - vim-patch:0
* cmake: upgrade libuv 0.11.23 -> 0.11.26 #911Nicolas Hillegeer2014-07-06
| | | | | | | | | | | Fixes some bugs and increase the performance of uv_hrtime() on OSX, which reduces its prominence in performance traces. This allows us to better see what's really causing slowness. ref: - https://github.com/neovim/neovim/issues/868 - https://github.com/joyent/libuv/pull/1325 - https://github.com/joyent/libuv/releases
* MsgPack-RPC dispatch based on function array lookup #864Felipe Oliveira Carvalho2014-07-04
| | | | | | This simplifies the generated msgpack_rpc_dispatch() function, separates the code for each RPC method more clearly and allows easy implementation of alternative dispatching methods (e.g. string method id dispatch).
* Remove include for sys/select.h in vim.h #890Rui Abreu Ferreira2014-07-01
| | | | | - There is no need to include sys/select.h anymore - Removed HAVE_SYS_SELECT_H from config.h.in
* Merge #780 'Update German translation'Justin M. Keyes2014-07-01
|\
| * Update German translation: Improve translations.Florian Walch2014-07-01
| | | | | | | | | | | | * Translate missing and fuzzy strings. * Fix grammatical errors. * Rewordings for consistency.
| * Update German translation: Sync to 9f1b9726fb28f78fba7c50efa5316c4bf2413cf8.Florian Walch2014-07-01
|/
* Merge #892 'Update pt_BR translation'Justin M. Keyes2014-07-01
|\
| * Update pt_BR translation: Improve translations.Eduardo Elias Ferreira2014-07-01
| | | | | | | | [ci skip]
| * Update pt_BR translation: Sync to a3214803429e05635cbfbe8b3050a73406da6bc6Eduardo Elias Ferreira2014-07-01
|/
* LICENSE: add LuaJIT notice. #899Justin M. Keyes2014-06-30
|
* README: Add Bountysource badge. #854Justin M. Keyes2014-06-30
|
* Remove pthread fatal check from CMakeLists.txt #891Rui Abreu Ferreira2014-06-30
|
* README: fix linksJustin M. Keyes2014-06-30
|
* clarify LICENSE and README #899Justin M. Keyes2014-06-30
|
* Merge #830 'GA_APPEND() and GA_APPEND_VIA_PTR()'Justin M. Keyes2014-06-30
|\
| * Introduce ga_append_via_ptr() and GA_APPEND_VIA_PTR()Felipe Oliveira Carvalho2014-06-30
| | | | | | | | | | | | | | | | | | | | Similar to GA_APPEND(). Replaces this pattern: ga_grow(&ga, 1); item_type *p = ((item_type *)ga.ga_data) + ga.ga_len; p->field1 = v1; p->field2 = v2; ga.ga_len++;
| * Introduce GA_APPEND()Felipe Oliveira Carvalho2014-06-30
| | | | | | | | | | | | | | | | | | This macro is used to append an element to a growable array. It replaces this common idiom: ga_grow(&ga, 1); ((item_type *)ga.ga_data)[ga.ga_len] = item; ++ga.ga_len;
| * ga_growsize should be >= 1Felipe Oliveira Carvalho2014-06-30
| | | | | | | | | | | | | | | | | | | | | | I know it could be 0 sometimes. Running the tests with `assert(gap->ga_growsize > 0)` in ga_grow() crashes nvim while running the tests. - Add a setter for ga_growsize that checks whether the value passed is >=1 (log in case it's not) - log when ga_grow() tries to use a ga_growsize that's not >=1 - use GA_EMPTY_INIT_VALUE is many places
| * keep statusline within window width. @oni-link fix #858Justin M. Keyes2014-06-29
|/ | | | | PR #866 ref #858
* Merge #802 'implement VimL libcall with os_libcall'Justin M. Keyes2014-06-28
|\
| * libcall: remove libcall ifdefsNicolas Hillegeer2014-06-28
| | | | | | | | | | Remove all the legacy code that related to mch_libcall in some way. os_libcall is implemented on top of libuv now.
| * os: remove legacy mch_libcallNicolas Hillegeer2014-06-28
| | | | | | | | | | Remove as much leftover cruft as possible. Tried to see which globals are now not used anymore.
| * os: implement VimL libcall with {mch,os}_libcallNicolas Hillegeer2014-06-28
|/ | | | | | | | The old mch_libcall was removed from neovim. This is a partial reimplementation on top of libuv. It doesn't catch exceptions (windows) nor signals (unix) though, so it's quite a bit more prone to crashing if the loadable library throws an exception or crashes. Still, it should be fine for well-behaved libraries. Requested by @Shougo.
* Merge #775 'Implement `FileID` struct'Justin M. Keyes2014-06-28
|\
| * FileID: remove `CHECK_INODE` macroStefan Hoffmann2014-06-27
| |
| * FileID: remove last use of `st_ino` in memline.cStefan Hoffmann2014-06-27
| | | | | | | | | | | | | | * FileID can’t be used in memline.c, because the block0 is defined to use only a 32bit ino. * implemented `os_file_info_get_inode` * deprecated `os_file_info_get_inode
| * FileID: make `os_stat()` staticStefan Hoffmann2014-06-27
| |
| * FileID: refactor os_unix.c to use `FileID`Stefan Hoffmann2014-06-27
| |
| * FileID: refactor path.c to use `FileID`Stefan Hoffmann2014-06-27
| |
| * FileID: refactor if_cscope.c to use `FileID`Stefan Hoffmann2014-06-27
| |
| * FileID: refactor file_search.c to use `FileID`Stefan Hoffmann2014-06-27
| |
| * FileID: refactor ex_cmds2.c to use `FileID`Stefan Hoffmann2014-06-27
| |
| * FileID: refactor buffer.c to use `FileID`Stefan Hoffmann2014-06-27
| |
| * FileID: remove `INVALID_DEVICE_ID` macroStefan Hoffmann2014-06-27
| |
| * FileID: implement `FileID` structStefan Hoffmann2014-06-27
|/ | | | | | | `FileID` should encapsulate `st_dev` and `st_ino`. It is a new abstraction used to check if two files are the same. `FileID`s will be embeded inside other struts like `buf_t` or `ff_visited_T`, where a full `FileInfo` would be to big.
* Merge #887 'Fix #867: cmake doesn't issue `-isystem` for versioned gcc'John Szakmeister2014-06-27
|\
| * Fix #867: cmake doesn't issue `-isystem` for versioned gccJohn Szakmeister2014-06-27
|/ | | | | | | | CMake purposefully disables the use of the `-isystem` flag on Apple platforms, but it's overly blunt with the detection. Apple's compilers have supported the flag since at least 10.4. Let's force the switch to be on when gcc/g++ is detected on an Apple platform to reduce the warnings out of the msgpack-related bits.
* Merge pull request #844:John Szakmeister2014-06-27
|\ | | | | | | 'Fix #838: build with "USE_BUNDLED=OFF" fails to find dependencies'
| * Fix #838: build with "USE_BUNDLED=OFF" fails to find dependenciesJohn Szakmeister2014-06-27
|/ | | | | | Stop forcing some platform setting that are really intended to be used for Travis CI. Under other systems, like Arch Linux, it prevents dependencies from being correctly located.
* Add LICENSE. fix #878. PR #883Justin M. Keyes2014-06-26
| | | | | | - change to Apache 2.0 - include Vim license in LICENSE - upate README
* Merge pull request #872 'Add support for client-side RPC'Thiago de Arruda2014-06-24
|\
| * channel/msgpack_rpc: Refactor API dispatchingThiago de Arruda2014-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is how API dispatching worked before this commit: - The generated `msgpack_rpc_dispatch` function receives a the `msgpack_packer` argument. - The response is incrementally built while validating/calling the API. - Return values/errors are also packed into the `msgpack_packer` while the final response is being calculated. Now the `msgpack_packer` argument is no longer provided, and the `msgpack_rpc_dispatch` function returns `Object`/`Error` values to `msgpack_rpc_call`, which will use those values to build the response in a single pass. This was done because the new `channel_send_call` function created the possibility of having recursive API invocations, and this wasn't possible when sharing a single `msgpack_sbuffer` across call frames(it was shared implicitly through the `msgpack_packer` instance). Since we only start to build the response when the necessary information has been computed, it's now safe to share a single `msgpack_sbuffer` instance across all channels and API invocations. Some other changes also had to be performed: - Handling of the metadata discover was moved to `msgpack_rpc_call` - Expose more types as subtypes of `Object`, this was required to forward the return value from `msgpack_rpc_dispatch` to `msgpack_rpc_call` - Added more helper macros for casting API types to `Object` any
| * channel/msgpack_rpc: Refactor to better split functions across modulesThiago de Arruda2014-06-24
| | | | | | | | | | Move validation/conversion functions and to msgpack_rpc_helpers to separate those from the functions that are used from the channel module
| * channel: Implement the 'channel_send_call' functionThiago de Arruda2014-06-24
| | | | | | | | | | | | | | | | This function is used to send RPC calls to clients. In contrast to `channel_send_event`, this function will block until the client sends a response(But it will continue processing requests from that client). The RPC call stack has a maximum depth of 20.
| * channel/msgpack_rpc: Refactor msgpack_rpc_notification/serialize_eventThiago de Arruda2014-06-24
| | | | | | | | | | | | | | | | | | | | - Generalize some argument names(event type -> event name, event data -> event arg) - Rename serialize_event to serialize_message - Rename msgpack_rpc_notification to msgpack_rpc_message - Extract the message type out of msgpack_rpc_message - Add 'id' parameter to msgpack_rpc_message/serialize_message to create messages that are not notifications