aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
* *: Use __attribute__((fallthrough)) where comments aren't supportedJames McCoy2017-05-12
| | | | | | | | | Although GCC now detects possibly unintentional fall through, there rules around which the comments are detected are rather strict. In cases where a comment isn't detected, upstream [recommends] using their fallthrough attribute. [recommends]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77817#c11
* *: Comment intentional fallthroughsJames McCoy2017-05-12
| | | | | Falling through a switch case should be commented so it's clear that behavior is intentional.
* ex_cmds: Use NULL, not NUL, to check for strrchr failureJames McCoy2017-05-12
|
* os_unix: Mark mch_exit as NORETURNJames McCoy2017-05-12
|
* func_attr: Support "noreturn" attributeJames McCoy2017-05-12
|
* doc (#6719)Justin M. Keyes2017-05-11
| | | Closes #6712
* ui_events: erase internal type HlAttrs (#6718)Björn Linse2017-05-11
|
* api: always use prefix FUNC_API, also change NOEVAL to REMOTE_ONLYBjörn Linse2017-05-10
|
* os/shell.c: temporary solution to not put ctrl chars on the screen gridBjörn Linse2017-05-10
|
* api: add metadata for ui eventsBjörn Linse2017-05-10
|
* ui: cleanup UI_CALL wrappersBjörn Linse2017-05-10
| | | | remove pointless control chars in the text stream
* generators: separate source generators from scriptsBjörn Linse2017-05-10
|
* api: use generated events for popupmenu and tablineBjörn Linse2017-05-10
|
* api: generate ui eventsBjörn Linse2017-05-10
|
* lua/converter: Fix typo in assert condition (#6708)Nikolai Aleksandrovich Pavlov2017-05-10
| | | Ref https://github.com/neovim/neovim/pull/4411#issuecomment-300248206
* strings: Return NUL from vim_strchr for invalid inputZyX2017-05-09
|
* Merge #4411 from ZyX-I/luaviml'/luaJustin M. Keyes2017-05-09
|\
| * api/window: Fix memory leak in nvim_win_set_cursorZyX2017-05-08
| |
| * cmake: Workaround CMake not supporting INCLUDE_DIRECTORIES target propZyX2017-05-08
| |
| * Merge branch 'master' into luaviml'/luaZyX2017-05-08
| |\
| * | api/buffer: Validate replacement array in a separate cycleZyX2017-04-12
| | | | | | | | | | | | | | | Should not really change anything, but code should be more efficient by using more optimized libc functions (memchrsub is not libc, but it uses memchr) in place of a cycle.
| * | api: Remove FUNC_API_SINCE for nvim__ functionsZyX2017-04-11
| | |
| * | lua/converter: Remove useless macrosZyX2017-04-11
| | |
| * | lua: Fix header guardsZyX2017-04-11
| | |
| * | cmake: Append lua include also to single-includes targetsZyX2017-04-11
| | |
| * | lua: Move files from src/nvim/viml/executor to src/nvim/luaZyX2017-04-11
| | |
| * | viml/executor: Fix check-single-includesZyX2017-04-11
| | |
| * | eval/decode: Include header needed for TriStateZyX2017-04-10
| | |
| * | api: Bump nvim__*id functions since valueZyX2017-04-10
| | |
| * | Merge branch 'master' into luaviml'/luaZyX2017-04-10
| |\ \
| * | | api: Rename _vim_id functions to nvim__idZyX2017-04-08
| | | |
| * | | api: Add FUNC_API_SINCE(1) to new functionsZyX2017-04-08
| | | |
| * | | Merge branch 'master' into luaviml'/luaZyX2017-04-08
| |\ \ \
| * | | | cmake: Use set_property in place of target_include_dirsZyX2017-03-27
| | | | | | | | | | | | | | | Should work with cmake-2.8.7.
| * | | | eval,functests: Fix linter errorsZyX2017-03-27
| | | | |
| * | | | executor: Add :lua debug.debug mockZyX2017-03-27
| | | | |
| * | | | executor,functests: Add print() tests, some fixesZyX2017-03-27
| | | | |
| * | | | executor: Add print() functionZyX2017-03-27
| | | | |
| * | | | api: Use a form of `1 << 63` for INTERNAL_CALL_MASKZyX2017-03-27
| | | | |
| * | | | executor: Do not use S_LEN for memcpyZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | Sometimes it is implemented as a macro and `S_LEN` is treated as a single argument in this case.
| * | | | executor: Add :luafile commandZyX2017-03-27
| | | | |
| * | | | executor: Fix some memory leaksZyX2017-03-27
| | | | |
| * | | | executor,functests: Add tests for :luado, also some fixesZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: 1. Allocate space for the NUL byte. 2. Do not exclude last line from range. 3. Remove code for sandbox: it is handled earlier. 4. Fix index in new_line_transformed when converting NULs to NLs. 5. Always allocate new_line_transformed, but save allocated value.
| * | | | executor: Add :luado commandZyX2017-03-27
| | | | |
| * | | | ex_getln: Refactor script_get()ZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Use `char *` for strings. 2. Add `const` qualifiers. 3. Add attributes and documentation. 4. Handle skipping *inside*. 5. Handle non-heredoc argument also inside: deferring this to the caller is pointless because all callers need the same thing. Though new ex_lua caller may live without allocations in this case, allocating nevertheless produces cleaner code. 6. Note that all callers call script_get with `eap` and `eap->arg`. Thus second argument is useless in practice: it is one and the same always and can be reached through the first argument.
| * | | | executor: Add some const qualifiersZyX2017-03-27
| | | | |
| * | | | executor: Add :lua commandZyX2017-03-27
| | | | | | | | | | | | | | | Does not work currently.
| * | | | api: Also shift numbers in api_metadata outputZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes problem introduced by “api: Allow kObjectTypeNil to be zero without breaking compatibility”: apparently there are clients which use metadata and there are which aren’t. For the first that commit would not be needed, for the second that commit misses this critical piece.
| * | | | cmake: Also include luajit directories for libnvim targetZyX2017-03-27
| | | | |
| * | | | gendeclarations: Make declarations generator work with macros funcsZyX2017-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | Now it checks functions also after every semicolon and closing figure brace, possibly preceded by whitespaces (tabs and spaces). This should make messing with declarations in macros not needed.