aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | api: fix leak when a api function is incorrectly called with a list.Björn Linse2016-08-31
| | | | | | | | | | | | | | | | This applies both to msgpack-rpc and eval.
| * | | api: add tests for calling the api from vimscriptBjörn Linse2016-08-31
| | | |
| * | | api: consistently use nvim_ prefix and update documentationBjörn Linse2016-08-31
| | | |
| * | | api: Allow blacklist functions that shouldn't be accesible from evalBjörn Linse2016-08-31
| | | | | | | | | | | | | | | | Blacklist deprecated functions and functions depending on channel_id
| * | | eval: use gperf to generate the hash of builtin functionsBjörn Linse2016-08-31
| | | | | | | | | | | | | | | | make api functions highlighted as builtins in vim.vim
| * | | api: When calling get/set_lines from vimL, don't convert between "\n" and "\0".Björn Linse2016-08-31
| | | |
| * | | api: unify buffer numbers and window ids with handlesBjörn Linse2016-08-31
| | | | | | | | | | | | | | | | also allow handle==0 meaning curbuf/curwin/curtab
| * | | api: auto generate api function wrappers for vimlBjörn Linse2016-08-31
| | | |
| * | | api: rename "msgpack_rpc/defs.h" to "api/private/dispatch.h" and use the ↵Björn Linse2016-08-31
| | | | | | | | | | | | | | | | header generator.
| * | | eval: Use generated hash to look up function listZyX2016-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problems: - Disables cross-compiling (alternative: keeps two hash implementations which need to be synchronized with each other). - Puts code-specific name literals into CMakeLists.txt. - Workaround for lua’s absence of bidirectional pipe communication is rather ugly.
| * | | eval: add new function entriesBjörn Linse2016-08-31
| | | |
| * | | eval: Move VimL functions list to a lua fileZyX2016-08-31
|/ / / | | | | | | | | | | | | | | | Removes all kinds of problems with sorting, provides a ready-to-use function list representation for genvimvim.lua, does not require specifying function name twice (VimL function name (string) + f_ function name).
* | | Merge pull request #5225 from equalsraf/windows-functionaltestsBjörn Linse2016-08-31
|\ \ \ | | | | | | | | Enable functional tests in Appveyor
| * | | functionaltest: Create lua helper for os.tmpname()Rui Abreu Ferreira2016-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Windows Lua's os.tmpname() returns relative paths starting with \s, prepend them with $TEMP to generate a valid path. In OS X os.tmpname() returns paths in '/tmp' but they should be in '/private/tmp'. We cannot use os_name() for platform detection because some tests use tempname() before nvim is spawned, instead use one of the following: 1. Set SYSTEM_NAME environment variable before calling the tests, it is set from CMAKE_SYSTEM_NAME(i.e. uname -s or 'Windows') 2. Call uname -s 3. Assume windows
| * | | Mark some functional tests as pending in WindowsRui Abreu Ferreira2016-08-26
| | | |
| * | | Appveyor: Enable functional testsRui Abreu Ferreira2016-08-26
| | | | | | | | | | | | | | | | Most functional tests don't work on Windows yet, for now enable a subset of the tests in Appveyor builds.
| * | | third-party: Windows fix for luv build recipeRui Abreu Ferreira2016-08-26
| | | | | | | | | | | | | | | | | | | | The argument quotes in the luv build recipe did not work in Windows.
| * | | third-party: Build busted in WindowsRui Abreu Ferreira2016-08-26
| | | | | | | | | | | | | | | | | | | | Busted now builds on Windows, remove the check. In Windows the binary is called busted.bat.
| * | | Update to libuv 1.9.1Michael Ennen2016-08-26
| | | |
* | | | vim-patch:7.4.1896 (#5258)Jurica Bradarić2016-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Invoking mark_adjust() when adding a new line below the last line is pointless. Solution: Skip calling mark_adjust() when appending below the last line. https://github.com/vim/vim/commit/82faa259cc42379f2a17d598a2a39d14048685b0
* | | | signal_init: Always unblock SIGCHLD. (#5243)Justin M. Keyes2016-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inherited signal mask may block SIGCHLD, which causes libuv to hang at epoll_wait. Closes #5230 Helped-by: Nicolas Hillegeer <nicolas@hillegeer.com> Helped-by: John Szakmeister <john@szakmeister.net> Note: the #pragma gymnastics are a workaround for broken system headers on macOS. signal.h: int sigaddset(sigset_t *, int); #define sigaddset(set, signo) (*(set) |= __sigbits(signo), 0) sys/_types/_sigset.h: typedef __darwin_sigset_t sigset_t; sys/_types.h: typedef __uint32_t __darwin_sigset_t; /* [???] signal set */ sigset_t is defined as unsigned int, but the sigaddset() ORs it with an int, mixing the types. So GCC generates a sign-conversion warning: sig.c:9:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] (*(&s) |= __sigbits((sigset_t) 20), 0); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. System headers are normally ignored when the compiler generates warnings: https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html > GCC gives code found in system headers special treatment. All warnings, > other than those generated by ‘#warning’ (see Diagnostics), are suppressed > while GCC is processing a system header. Macros defined in a system header > are immune to a few warnings wherever they are expanded. This immunity is > granted on an ad-hoc basis, when we find that a warning generates lots of > false positives because of code in macros defined in system headers. Instead of the #pragma workaround, we could cast the sigset_t pointer: # if defined(__APPLE__) sigaddset((int *)&mask, SIGCHLD); # else sigaddset(&mask, SIGCHLD); # endif but that could break if the headers are later fixed.
* | | | Merge pull request #4432 from bfredl/pum_uiBjörn Linse2016-08-29
|\ \ \ \ | | | | | | | | | | allow external UI:s to render the popupmenu
| * | | | api/ui: add documentation for remote ui redraw eventsBjörn Linse2016-08-29
| | | | |
| * | | | api/ui: add tests for popupmenu_external eventsBjörn Linse2016-08-29
| | | | | | | | | | | | | | | | | | | | update screen.lua to use new style nvim_ui_attach
| * | | | api/ui: use ui options instead of one method per featureBjörn Linse2016-08-29
| | | | | | | | | | | | | | | | | | | | Use new nvim_ui_ prefix to avoid breaking change.
| * | | | api/ui: allow popupmenu to be drawn by external uiBjörn Linse2016-08-29
|/ / / /
* / / / release.sh: Sign the tag.Justin M. Keyes2016-08-26
|/ / / | | | | | | | | | Also: hacks for BSD sed.
* | | build: Refactor appveyor/Windows scripts (#5244)Rui Abreu Ferreira2016-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Join all msys build scripts into one - Clean up appveyor.yml and generate installer for tagged builds A side effect of the cosmetic changes is that appveyor artifact permalinks are easier to use, e.g. for the latest zip in the master branch https://ci.appveyor.com/api/projects/neovim/neovim/artifacts/build/Neovim.zip?branch=master&job=Configuration%3A%20MINGW_64
* | | iconv: Always include errno.h when USE_ICONV is defined (#5251)James McCoy2016-08-25
| | | | | | | | | | | | | | | When USE_ICONV is defined, iconv.h references various errno constants, but errno.h is only being included when HAVE_ICONV_H is not defined. This causes build failures on at least GNU/Hurd.
* | | Merge #5210 'vim-patch:7.4.1898 + :Man modifiers support'.Justin M. Keyes2016-08-25
|\ \ \
| * | | man.vim: if reusing a buffer, do not use noautocmdAnmol Sethi2016-08-24
| | | | | | | | | | | | | | | | | | | | The commit that added support for modifiers regressed #5168 causing #5172. This commit fixes it again.
| * | | man.vim: slight refactoringAnmol Sethi2016-08-24
| | | | | | | | | | | | | | | | Addresses problem one in #5240
| * | | use bool type for flag mod_entry_T membersAnmol Sethi2016-08-24
| | | |
| * | | man.vim: set window local options when reusing bufferAnmol Sethi2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | This is necessary incase the buffer was previously opened in a different tab, in which the window options there do not carry over. It is not explicitly documented in ':help local-options' but that is how it works.
| * | | man.vim: support for command modifiersAnmol Sethi2016-08-24
| | | | | | | | | | | | | | | | Closes #5235
| * | | vim-patch:7.4.1898Anmol Sethi2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: User commands don't support modifiers. Solution: Add the <mods> item. (Yegappan Lakshmanan, closes vim/vim#829) https://github.com/vim/vim/commit/63a60ded3fd584847a05dccf058026e682abad90
* | | | Merge #5253 'perf: Disable clipboard in do_cmdline()'Justin M. Keyes2016-08-25
|\ \ \ \ | |_|/ / |/| | |
| * | | lintJustin M. Keyes2016-08-25
| | | |
| * | | perf: Disable clipboard in do_cmdline().Justin M. Keyes2016-08-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For any script--not just `:global` commands--there is no reason to update the system clipboard until the script is finished, so disable it during do_cmdline(). Before this change, 'clipboard=unnamedplus' causes scripted editing to be extremely slow (e.g. `:normal` in a while-loop). Closes #3534
| * | | ops.c: Rename start_global_changes().Justin M. Keyes2016-08-25
| |/ /
* | | Merge pull request #5232 from bfredl/dictchar_uBjörn Linse2016-08-25
|\ \ \ | |/ / |/| | eval: remove char_u in get_dict_(string|number) key parameters
| * | eval: remove (char_u *) in constant get_dict_(string|number) parametersBjörn Linse2016-08-24
|/ / | | | | | | | | Remove redundant item availibility checks when constructing complete items from a dict.
* | doc: CONTRIBUTING.md (#5239)Anmol Sethi2016-08-23
| |
* | release.sh: Touch NVIM_VERSION_PATCH, show obnoxious message.Justin M. Keyes2016-08-22
| | | | | | | | git-log-pretty-since.sh: fix bug
* | Merge commit 'refs/pull/upstream/5156'Justin M. Keyes2016-08-22
|\ \
| * | LintingTommy Allen2016-08-17
| | |
| * | highlight: Added QuickFixLine highlight groupTommy Allen2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Links to Search by default screen.c: Combine CursorLine with QuickFixLine - HLF_QFL takes priority over HLF_CUL docs: Updated to mention QuickFixLine runtime: Added QuickFixLine to nvimHLGroup tests: QuickFixLine highlight
* | | version bumpJustin M. Keyes2016-08-22
| | |
* | | NVIM v0.1.5v0.1.5Justin M. Keyes2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Features: c7d84c5550a1 PR #4980 Full `:ruby` support! c74ce334f2f7 PR #4624 timers: timer_start(), timer_stop() b8e6f04e6952 PR #5205 `:CheckHealth` command 47a15d025617 PR #4865 file: Add buffered reading and writing *Much* faster shada file reading (important for startup time). 71b3e20d0fba PR #4723 jobstart() learned 'rpc' jobs and RPC channel IDs share the same "namespace". jobstart() can starts RPC channels, which allows scripts to handle 'stderr' on a RPC channel, like a typical non-RPC job. jobpid()/jobstop() work on RPC "jobs". Deprecates rpcstart(). 4dc4efc36fad PR #4449 man.vim rewrite `:Man` command is enabled by default. New features: completion, window handling, better parsing, and more. 8a4e5b4bc237 PR #4697 capture() function (renamed to execute()) Supports nesting, including nested :redir. ae6db26b0956 PR #5050 'rplugin manifest: default to XDG dir' a1682281f427 PR #5214 Restore ":browse oldfiles". 1f7304b84681 Better handling of mouse-clicks on concealed chars. 5ea4d58a1b1d PR #5026 terminal: Ensure b:term_title always has a value c00231078790 tui: Assume 256 colors in most cases. a2ecbc2cc093 PR #4929 Always resize the :terminal a59330d6fc99 PR #4925 api_info() a160590e4034 PR #4813 allow setting cwd in jobstart(), termopen() 74f64601817a PR #4633: support "special" highlight (undercurl) 5a5ef1c2227f PR #3450 mouse: Implement horizontal scroll. Windows support: All PRs now build on Appveyor targeting win32 and win64! Numerous fixes! Fixes: e9061117a5b8 PR #4646 Prevent data loss for process output streams 7fa1baf44e78 PR #4798 'process.c: Fix block in teardown' c10fe010f165 Prevent endless loop in printdigraph(). (#5215) add41dca98b7 PR #5192 timers: Avoid crash after processing events 006f9c0c9c96 PR #5195 Set the default value for 'packpath' 6da7d6890cc6 PR #5025 Restore double click d622e9c41635 readfile(): Less-disruptive readonly check. Fixes an issue where nvim unnecessarily "touched" open files. fe6ec757257d PR #4964 Handle very long $XDG_DATA_DIRS. 895f712df8af option: Do not expand options in XDG vars. 1d8a07615714 server_init: Handle server_address_new() failure. be531aba777a PR #5042 Fix v:register for clipboard=unnamed,unnamedplus 204f557a11e2 PR #4984 'Trigger TabNewEntered with <CTRL-W>T' 1e93e24f5e6e PR #4851 synIDattr(): Return RRGGBB value for `fg#`. Changes: acc5d08b371c PR #4690 'termguicolors' option enables "true color". NVIM_TUI_ENABLE_TRUE_COLOR is now ignored.
* | | Merge #5205 'CheckHealth'Justin M. Keyes2016-08-21
|\ \ \