aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | Remove long_u: hashtab: Cleanup: Others.Eliseo Martínez2014-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hashtab.h: - Add missing includes. - Move hash_T to the top and use it to define hashtab_T. - Move hash_removed related definitions to the top, as they are used in the definition of hashtab_T. - Reformat multiline expression (start continuation with operator). - Reformat function declaration into one single line. hashtab.c: - Use C99 style variable declarations (move declarations as near to first-usage point as possible). - Simplify oldarray/newarray computation. - Simplify unneeded else branch. - Remove redundant casts.
| * | Remove long_u: hashtab: Cleanup: Comments.Eliseo Martínez2014-05-24
| | | | | | | | | | | | | | | - Restyle comments (/// when appropiate, // otherwise). - Improve comments (add new comments, augment/clarify existing ones).
| * | Remove long_u: do_outofmem_msg().Eliseo Martínez2014-05-24
|/ / | | | | | | | | Remove long_u occurrences due to do_outofmem_msg() function. Refactor size parameter from long_u into size_t.
* | Merge branch 'use-uids-for-api-remote-objects'Thiago de Arruda2014-05-23
|\ \
| * | API: Test: Setup basic test infrastructureThiago de Arruda2014-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a 'expect' utility script that can run simple API tests using clients developed for any platform. - Extend travis build matrix to run API tests using the python client and valgrind. This script can be used to write API tests without having to manage nvim's lifetime: - It starts a single nvim instance listening on a known socket - Invokes the test runner, which should connect to NEOVIM_LISTEN_ADDRESS - The nvim instance started by the script provides a `BeforeEachTest` function, which should be called before each test to reset nvim to a clean state. - It takes care of shutting down nvim once the tests are finished. As explained [here](https://github.com/neovim/neovim/pull/737#issuecomment-43941520), it's not possible to fully reset nvim to it's initial state, but the `BeforeEachTest` function should be enough for most test cases. Tests requiring a fully clean nvim instance should take care of starting/stopping nvim.
| * | API: Refactor: Fix buffer_get_markThiago de Arruda2014-05-23
| | |
| * | API: Refactor: Use macro for initializing all arraysThiago de Arruda2014-05-23
| | |
| * | API: Refactor: Implement buffer_get_numberThiago de Arruda2014-05-23
| | |
| * | API: Refactor: Return handles instead of indexesThiago de Arruda2014-05-23
| | | | | | | | | | | | | | | | | | | | | - Define specialized arrays for each remote object type - Implement msgpack_rpc functions for dealing with the new types - Refactor all functions dealing with buffers, windows and tabpages to return/accept handles instead of list indexes.
| * | API: Refactor: Change the integer type of remote objects to uint64_tThiago de Arruda2014-05-23
| | |
| * | API: Refactor: Add macro infrastructure for typed arraysThiago de Arruda2014-05-23
| | | | | | | | | | | | | | | - Add macros supporting typed arrays in the remote API - Refactor StringArray-related functions on top of the new macros
| * | API: Refactor: Generalize buffer, window and tabpage types/functionsThiago de Arruda2014-05-23
| | | | | | | | | | | | | | | - Extract remote types definitions into a macro - Extract msgpack_rpc helper functions for remote types into a macro
| * | API: Refactor: Register/unregister created/destroyed tabpagesThiago de Arruda2014-05-23
| | | | | | | | | | | | | | | | | | | | | - Add the 'handle' field to `tabpage_T` - Add declare/implement functions for registering/unregistering/retrieving tabpages - Register/unregister tabpages when they are created/destroyed.
| * | API: Refactor: Register/unregister created/destroyed windowsThiago de Arruda2014-05-23
| | | | | | | | | | | | | | | | | | | | | - Add the 'handle' field to `win_T` - Add declare/implement functions for registering/unregistering/retrieving windows - Register/unregister windows when they are created/destroyed.
| * | API: Refactor: Register/unregister created/destroyed buffersThiago de Arruda2014-05-23
| | | | | | | | | | | | | | | | | | | | | - Add the 'handle' field to `buf_T` - Add declare/implement functions for registering/unregistering/retrieving buffers - Register/unregister buffers when they are created/destroyed.
| * | API: Refactor: Implement api/handle moduleThiago de Arruda2014-05-23
| | | | | | | | | | | | | | | This module will be used to implement remote management of objects through the API. Object types to be registered must have a `uint64_t` field named 'handle'.
| * | API: Refactor: Move non-public files to private subdirectoryThiago de Arruda2014-05-23
| | |
| * | API: Bugfix: Terminate directory string in vim_change_directoryThiago de Arruda2014-05-23
| | | | | | | | | | | | Also check that the string length is not equal or greater than MAXPATHL.
| * | API: Bugfix: Use 0-terminated string in vim_strwidthThiago de Arruda2014-05-23
| | | | | | | | | | | | | | | | | | | | | While the mb_string2cells function accepts a length parameter, it only seems to work properly with 0-terminated strings, since valgrind reports a conditional jump that depends on uninitialized values(means it reads after the string boundaries which could result in overflows or wrong results)
| * | API: Bugfix: Fix loop condition in vim_list_runtime_pathsThiago de Arruda2014-05-23
| | |
| * | API: Bugfix: Remove wrong increment statement from buffer_set_sliceThiago de Arruda2014-05-23
| | |
| * | API: Bugfix: Check that error isn't set in buffer_get_lineThiago de Arruda2014-05-23
| | |
| * | API: Cleanup: Remove unnecessary NULL checksThiago de Arruda2014-05-23
|/ /
* | Merge #739 'Remove OOM error handling in khash.h'Justin M. Keyes2014-05-22
|\ \
| * | Remove OOM error handling in khash.hPavel Platto2014-05-20
| |/
* | Merge #708 'Remove NULL/non-NULL tests after vim_str(n)save'Justin M. Keyes2014-05-22
|\ \ | |/ |/| | | - replace alloc with xmalloc
| * Remove OOM checks: suggested changes in reviewFelipe Oliveira Carvalho2014-05-19
| | | | | | | | | | | | | | | | | | | | - Replace a vim_strsave/free pair with xrealloc - Use xmallocz() in some places - Use xrealloc() and forget about the NULL pointer case - Remove invalid comment - Remove unnecessary checks - Replace a complicated xmalloc/STRCPY/free code chunk code with xrealloc() - Replace a vim_strsave/free code chunk with xrealloc()
| * Remove OOM checks: viminfo_filename()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: do_string_sub()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: expand_tag_fname() and tag_full_name()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: u_save_line()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: ff_create_stack_element()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: mark_line()Felipe Oliveira Carvalho2014-05-19
| |
| * truncate_line() cant't FAIL: change its return type to voidFelipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: backslash_halve_save()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: save_typebuf()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: alloc_typebuf()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: realloc_cmdbuff()Felipe Oliveira Carvalho2014-05-19
| | | | | | | | | | put_on_cmdline() doesn't FAIL anymore but its return value was never checked.
| * Remove OOM checks: alloc_cmdbuff()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: ml_new_data()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: ml_new()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: mf_alloc_bhdr()Felipe Oliveira Carvalho2014-05-19
| |
| * Remove OOM checks: reverse_text()Felipe Oliveira Carvalho2014-05-19
| |
| * Replace alloc() with xmalloc() and remove immediate OOM checksFelipe Oliveira Carvalho2014-05-19
| |
| * Remove NULL/non-NULL tests after calls to vim_str(n)save()Felipe Oliveira Carvalho2014-05-19
| |
| * Implement vim_str(n)save using xstrdup and strncpy/xmallocFelipe Oliveira Carvalho2014-05-19
| |
* | Merge pull request #699 'Remove cryptography'Thiago de Arruda2014-05-20
|\ \ | |/ |/|
| * Remove cryptographyJohn Schmidt2014-05-20
|/ | | | | | | | | | | | | As discussed in #694, vim encryption uses old, obsolete algorithms that are poorly implemented. Since insecure cryptography is worse than no cryptgraphy, the community voted in favor of removing all crypto. Various alternatives to the old crypto is being discussed in #701. Closes #694.
* Merge #735 'nvim namespace fixes regarding YouCompleteMe'Justin M. Keyes2014-05-19
|\
| * Introduce vim namespace: Contrib YCM: Fix style issues.Eliseo Martínez2014-05-19
| | | | | | | | | | | | Python-mode signaled a couple of issues here: - Multiple imports on same line. - Line too long.