aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Introduce nvim namespace: Fix functional tests.Eliseo Martínez2014-05-15
| | | | | | | | | | | | | | Fix some paths to new locations: - Makefile: Fix nvim binary path. - test49 : 459: Fix nvim binary path. - test89 : 62: Fix testdir root. Fix corresponding expected result. - test105 : 10: Testing fnamemodify to reduce path to use ~ prefix. Fix faked home directory. Fix corresponding expected result. 26: Testing fnamemodify with r modifier. Fix out-of-project prefix removal. Fix corresponding expected result.
* Introduce nvim namespace: Fix unmasked strings.h issue.Eliseo Martínez2014-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Now that nvim/strings.h is correctly namespaced, an issue that had been masked until now arises: When compiling, we get a lot of errors because of everywhere the functions in nvim/strings.h are used, there's no include to import them. But, how could this compile and work previously, then? It turns out that: - In every such case, we are also including vim.h, which in turn includes os_unix_defs.h. - os_unix_defs.h includes <string.h> and also <strings.h> in some systems (e.g. OSX). - Build had been modified previously to (even when importing system headers), prefer equally-named local ones. That was in fact done as a previous attempt to solve the same issue we are trying to solve another way now. So, we were including our "strings.h" as a side-effect of including <strings.h> through "vim.h" --> "os_unix_defs.h". Solution: Correctly include "nvim/strings.h" in every file needing it.
* Introduce nvim namespace: Fix project-local includes.Eliseo Martínez2014-05-15
| | | | Prepend 'nvim/' in all project-local (non-system) includes.
* Introduce nvim namespace: Fix relative includes.Eliseo Martínez2014-05-15
| | | | | | | | | | Problem: Some newly introduced files used includes relative to the current file, both of the form `include "../XXX.h"` and `include "XXX.h"`. Preferred form is relative to include root (src/ in our case). Solution: Change includes to preferred form. Note: This is also done to ease next commit (prepend 'nvim/ to all project-local includes).
* Introduce nvim namespace: Fix build process.Eliseo Martínez2014-05-15
| | | | | | | - Leave src as include dir (for includes to recognize 'nvim/' prefix). - Change subdirectory from src to src/nvim. - Fix msgpack generation. - Fix some other paths to new locations.
* Introduce nvim namespace: Move files.Eliseo Martínez2014-05-15
| | | | | | Move files from src/ to src/nvim/. - src/nvim/ becomes the new root dir for nvim executable sources. - src/libnvim/ is planned to become root dir of the neovim library.
* Add ${API_SOURCES} to `nvim-test` cmake target.Thiago de Arruda2014-05-14
| | | | Fixes #720
* Use platform check for correct selection of khash type in helpers.cThiago de Arruda2014-05-13
|
* API: Implement vim_get_vvarThiago de Arruda2014-05-13
|
* API: Refactor vim_{get,set}_varThiago de Arruda2014-05-13
| | | | | | | | - Change in dict_set_value: Passing 'nil' as value will delete the variable. - Change in dict_get_value: Removed 'pop' parameter, now values can be popped by passing 'nil' to dict_set_value - Update {buffer,window,tabpage}_get_var to reflect the changes
* API: Implement tabpage_get_window_countThiago de Arruda2014-05-13
|
* API: Implement tabpage_is_validThiago de Arruda2014-05-13
|
* API: Implement tabpage_get_windowThiago de Arruda2014-05-13
|
* API: Implement tabpage_{get,set}_varThiago de Arruda2014-05-13
|
* API: Implement window_is_validThiago de Arruda2014-05-13
|
* API: Implement window_get_positionThiago de Arruda2014-05-13
|
* API: Implement window_{get,set}_optionThiago de Arruda2014-05-13
|
* API: Implement window_{get,set}_varThiago de Arruda2014-05-13
|
* API: Implement window_{get,set}_{height,width}Thiago de Arruda2014-05-13
|
* API: Implement window_{get,set}_cursorThiago de Arruda2014-05-13
|
* API: Implement `window_get_buffer`Thiago de Arruda2014-05-13
|
* Add new files to clint and fix reported errorsThiago de Arruda2014-05-13
|
* API: Implement `buffer_get_mark`Thiago de Arruda2014-05-13
|
* API: Implement `buffer_is_valid`Thiago de Arruda2014-05-13
|
* API: Implement `buffer_insert`Thiago de Arruda2014-05-13
|
* API: Implement buffer_{get,set}_nameThiago de Arruda2014-05-13
|
* API: Implement buffer_{get,set}_optionThiago de Arruda2014-05-13
|
* API: Implement buffer_{get,set}_varThiago de Arruda2014-05-13
|
* API: Implement functions for deleting linesThiago de Arruda2014-05-13
|
* API: Refactor buffer_{get,set}_lineThiago de Arruda2014-05-13
| | | | They are now implemented on top of the buffer_{get,set}_slice functions
* API: Implement buffer_{get,set}_sliceThiago de Arruda2014-05-13
|
* API: Implement buffer_get_lengthThiago de Arruda2014-05-13
|
* API: Implement window/tabpage switching functionsThiago de Arruda2014-05-13
| | | | | Also moved `find_buffer` to 'api/helpers.c' and removed unnecessary declaration in 'window.h'
* API: Implement buffer switching functionsThiago de Arruda2014-05-13
|
* API: Implement vim_get_buffer_countThiago de Arruda2014-05-13
|
* API: Implement vim_{out,err}_writeThiago de Arruda2014-05-13
|
* API: Implement vim_{get,set}_optionThiago de Arruda2014-05-13
| | | | | | | | Some functions from upstream VIM were reintegrated for this: - get_option_value_strict - set_option_value_err - set_option_value_for - unset_global_local_option
* API: Implement vim_{get,set}_varThiago de Arruda2014-05-13
|
* API: Move vim_to_object to helpers.cThiago de Arruda2014-05-13
|
* API: Implement vim_set_current_lineThiago de Arruda2014-05-13
|
* API: Extract error boilerplate into a macroThiago de Arruda2014-05-13
|
* API: Implement buffer_{get,set}_lineThiago de Arruda2014-05-13
|
* API: Move helper functions to another moduleThiago de Arruda2014-05-13
|
* API: Implement vim_change_directoryThiago de Arruda2014-05-13
|
* API: Implement vim_list_runtime_pathsThiago de Arruda2014-05-13
|
* API: Implement vim_strwidthThiago de Arruda2014-05-12
|
* API: Implement vim_evalThiago de Arruda2014-05-12
| | | | | | The vimscript object conversion function was adapted from the version found in 'if_py_both.h' in the upstream source. It was also required to re-add the `dict_lookup` function that was lost during the initial import.
* API: Implement vim_commandThiago de Arruda2014-05-12
|
* Fix jumps depending on unitialized valuesThiago de Arruda2014-05-12
| | | | Reported by valgrind
* Add server module for accepting API connectionsThiago de Arruda2014-05-12
| | | | | | | The `NEOVIM_LISTEN_ADDRESS` environment variable can be set to customize the address where Neovim will listen for connections. If it's not set, a random socket/pipe will be created, and the `NEOVIM_LISTEN_ADDRESS` will be updated accordingly.