aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #2443 from jszakmeister/fix-more-release-warningsJohn Szakmeister2015-04-18
|\ | | | | Fix a few uninitialized variable warnings.
| * Fix an uninitialized variable warning for call_start.Eliseo Martínez2015-04-18
| |
| * Fix a couple uninitialized variable warnings in the release build.John Szakmeister2015-04-18
| | | | | | | | | | | | Reviewed-by: Eliseo Martínez <eliseomarmol@gmail.com> Reviewed-by: Marco Hinz <mh.codebro@gmail.com> Reviewed-by: Björn Linse <bjorn.linse@gmail.com>
* | Merge pull request #2411 from bfredl/yankregsBjörn Linse2015-04-17
|\ \ | | | | | | Cleanup implementation of registers and fix missing clipboard support in `:redir`
| * | clipboard: cleanup `valid_yank_reg` and use it for `:redir`Björn Linse2015-04-17
| | | | | | | | | | | | | | | | | | | | | This fixes missing clipboard support for `:redir` Helped-By: Michael Reed <m.reed@mykolab.com> Helped-By: Scott Prager <splinterofchaos@gmail.com>
| * | clipboard: simplify handling of of put in visual mode.Björn Linse2015-04-17
| | | | | | | | | | | | | | | When clipboard=unnamed and put over visual selection, reduces number of provider calls from 6 to 2. Also add test.
| * | ops.c: eliminate unneccesary static variable `y_append`Björn Linse2015-04-17
| | |
| * | ops.c: eliminate static variable `y_current`Björn Linse2015-04-17
| |/ | | | | | | | | | | | | This variable isn't stateful, and should be passed around instead. Helped-By: Scott Prager <splinterofchaos@gmail.com> Helped-By: Michael Reed <m.reed@mykolab.com>
* | Merge pull request #2406 from Pyrohh/make-use-wildcardMichael Reed2015-04-17
|\ \ | |/ |/| [RFC] build: Misc. small improvements
| * Revert "third-party: temporarily drop back to an old version of the busted spec"Michael Reed2015-04-16
| | | | | | | | | | | | | | No longer needed after https://github.com/Olivine-Labs/busted/commit/aab5d19d0c615a33b865ebc771fdef80edb99356 This reverts commit d22f2f94047a5ed1e930ee46d0d2e8d6aacfa104.
| * contrib/local.mk.example: Misc. improvementsMichael Reed2015-04-16
| | | | | | | | | | - Mention how to disable jemalloc during compilation - Mention using additional CFLAGS during compilation
| * CMakeLists.txt: Remove unneeded globsMichael Reed2015-04-16
| | | | | | | | refs #2426
| * runtime/doc/Makefile: Use `wildcard`Michael Reed2015-04-16
|/
* Eval: do not join a list if it's empty anyway #2441Marco Hinz2015-04-16
| | | | | | | | | | This spares some work and also prevents list_join() from calling ga_init() with a growsize of 0 which would lead to the nvimlog being littered with: [warning @ ga_set_growsize:64] 17675 - trying to set an invalid ga_growsize: 0 Also in Vim 7.4.702 https://github.com/vim/vim/commit/5216f767d4070d0085de6fa1391e6f2991c1baa5
* Travis: Remove unused dependencies #2431grtlr2015-04-16
|
* Merge pull request #2353 from jszakmeister/fix-unused-var-warnings-in-releaseJohn Szakmeister2015-04-16
|\ | | | | Fix several unused variable warnings in the release build.
| * Fix several unused variable warnings in the release build.John Szakmeister2015-04-16
| | | | | | | | | | Reviewed-by: Justin M. Keyes <justinkz@gmail.com> Reviewed-by: Eliseo Martínez <eliseomarmol@gmail.com>
* | Remove runtime/tools/ #2426Marco Hinz2015-04-14
| | | | | | | | | | | | This directory contains old (at least 10+ years) scripts that mainly filter output of other old programs to make them conformant with an 'errorformat' from 10+ years ago.
* | Merge pull request #2331 from splinterofchaos/serverlistenScott Prager2015-04-14
|\ \ | | | | | | vimL: serverlisten({addr}), list(), and stop({addr})
| * | server: add unit testsScott Prager2015-04-14
| | |
| * | eval: learn serverstart, list, and close().Scott Prager2015-04-14
| | | | | | | | | | | | | | | | | | Implement functions for spawning, destroying, and listing active servers, and add server_address_list() to msgpack_rpc/server.c for the serverlist() vimL function.
| * | msgpack_rpc/server.c: Use a garray over a kmap.Scott Prager2015-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Testing of server_start() and server_stop() found that after adding a server at address addr, pmap_has(addr) would always return true, but pmap_get(addr) would always return NULL. Since a client is only expected to have a small number of servers, an array may be more efficient than a hash map, anyway. Discussion: https://github.com/neovim/neovim/pull/1302#issuecomment-88487148
| * | Implement os_unsetenv()Rui Abreu Ferreira2015-04-14
| | | | | | | | | | | | | | | | | | | | | - In UNIX systems where unsetenv() is available, it is used. Otherwise the variables are set with the empty string. - New check HAVE_UNSETENV for unsetenv() - Added unit test to env_spec.lua
* | | third-party: temporarily drop back to an old version of the busted specJohn Szakmeister2015-04-14
| | | | | | | | | | | | | | | The new one contains a clone url that does not work correctly. Once that is fixed, we can go back to tracking master.
* | | third-party: remove stray argumentJohn Szakmeister2015-04-14
| | | | | | | | | | | | This was missed when dropping our custom output handler.
* | | runtime: Handle failures while loading individual remote pluginsThiago de Arruda2015-04-13
| | | | | | | | | | | | | | | The s:RegistrationCommands functions will now test the type of the "specs" rpc call. If it's not a list, then the plugin failed to load and is skipped
* | | travis: Don't use jemalloc for the gcc buildThiago de Arruda2015-04-13
| | | | | | | | | | | | It seems valgrind hangs if jemalloc is used.
* | | build: Improve GenerateHelptags.cmake failure messageThiago de Arruda2015-04-13
| | | | | | | | | | | | | | | Some errors during helptags can be caused by duplicate/wrong tags after documentation cleanup. Suggest the removal of the "doc" directory.
* | | Merge pull request #1446 from splinterofchaos/objScott Prager2015-04-13
|\ \ \ | |/ / |/| | Allow the execution of msgpack notifications and extend vimL lightly.
| * | docs: update for rpcstart('nvim', ['--embed'])Scott Prager2015-04-13
| | | | | | | | | | | | | | | Also, edit the reference to the non-existent api function, vim_list_buffers, to vim_get_buffers.
| * | channel: recognized nvim-style errorsScott Prager2015-04-13
| | |
| * | msgpack: Allow notifications to execute commands.Scott Prager2015-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consider: `let vim = rpcstart('nvim', ['--embed'])` Allows `rpcnotify(vim, ...)` to work like an asynchronous `rpcrequest(nvim, ...)`. Helped-by: Michael Reed <m.reed@mykolab.com> Helped-by: Justin M. Keyes <>
| * | msgpack: coerce Ints to Windows/Buffers/TabpagesThiago de Arruda2015-04-13
| | | | | | | | | | | | Add conversion checking when generating msgpack handlers.
| * | object_to_vim: Recognize buffers, windows, tabpages.Scott Prager2015-04-13
|/ /
* | Merge PR #2415 'Use jemalloc instead of libc allocator'Thiago de Arruda2015-04-13
|\ \
| * | clint: Add rules to check for memory functions callsThiago de Arruda2015-04-13
| | |
| * | deps: Add jemalloc as an optional dependencyThiago de Arruda2015-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jemalloc will be used if the cmake option `USE_JEMALLOC` is enabled(which is the default). To avoid trouble with clang's ASAN, it is disabled by default if the `SANITIZE` option is enabled. Since jemalloc has thread cache for small objects, it fills the gap created by removing klib memory pools. The `xstrdup` funciton(memory.c) had to be reimplemented on top of `xmalloc` to make it work with a custom allocator.
| * | memory: Add `free` wrapper and refactor project to use itThiago de Arruda2015-04-13
| | | | | | | | | | | | | | | | | | We already use wrappers for allocation, the new `xfree` function is the equivalent for deallocation and provides a way to fully replace the malloc implementation used by Neovim.
| * | memory: Replace klib memory pools by malloc/freeThiago de Arruda2015-04-12
| | | | | | | | | | | | | | | | | | Klib pools were used to improve allocation efficiency for some small objects, but it is not a thread-safe approach. Thread safety in allocations will be required for implementing #2371).
| * | eval: Fix memory deallocation of JobEventThiago de Arruda2015-04-12
|/ / | | | | | | This causes a "read after free" error when kmp_free is replaced by `free`.
* | remove char_u: vim_version_dir #2414Mark Bainter2015-04-12
| | | | | | | | See: #459
* | refactor remove_tail() function to no longer use char_u #2413Mark Bainter2015-04-12
| | | | | | | | See #459
* | tests: Fix test setup/teardown in path_spec.lua #2402David Bürgin2015-04-12
| | | | | | | | | | | | | | | | A call to lfs.mkdir instead of lfs.rmdir left a temp directory hanging around. Changed to do proper setup/teardown using {before,after}_each. Helped-by: Scott Prager <splinterofchaos@gmail.com> Suggested-by: Scott Prager <splinterofchaos@gmail.com>
* | Remove obsolete CENT macro #2397Marco Hinz2015-04-12
| | | | | | | | | | | | | | | | | | | | | | | | The CENT macro was set condionally depending on the FEAT_GUI constant that was removed a long time ago. Other small refactorings: - remove obsolete TERM= flags - sort and indent lines in array for readability - 'Conceal' and 'WildMenu' were moved from highlight_init_{dark,light}[] to highlight_init_both[] since the same values were used anyway
* | Refactor default_vim{,runtime}_dir to use char type. #2375Mark Bainter2015-04-12
| | | | | | | | | | | | See: #459 Reviewed-by: Justin M. Keyes <justinkz@gmail.com> Reviewed-by: Eliseo Martínez <eliseomarmol@gmail.com>
* | Merge pull request #2117 from justinmk/fix1836Justin M. Keyes2015-04-12
|\ \ | | | | | | memline: fix segfaults
| * | fix: segfault in ml_recover() if swap file not foundJustin M. Keyes2015-04-12
| | | | | | | | | | | | | | | - To reproduce: ":recover non_existent_swapfile" - Regression: 00f18e2e09af35494d0b94ae76a9dbc3e0319d89
| * | fix: segfault in recover_names(): must not concat full pathJustin M. Keyes2015-04-12
| | | | | | | | | | | | | | | - regression by 42f1bd9b2228aaca4fb8a5597a3b5774f7ef6876 - closes #1836
| * | test regression: recover_spec.luaJustin M. Keyes2015-04-12
| | |
| * | test: helpers.lua: add temporary set_session() functionJustin M. Keyes2015-04-12
| | | | | | | | | | | | | | | This function is needed until helpers.lua is refactored to support multiple sessions.