aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | event: Remove "priority" concept.Justin M. Keyes2017-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It was replaced by the "child queue" concept (MultiQueue).
| * | | | | | api/nvim_get_mode: Use child-queue instead of "priority".Justin M. Keyes2017-04-28
| | | | | | |
| * | | | | | input.c: Process only safe events before blocking.Justin M. Keyes2017-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce multiqueue_process_priority() to process only events at or above a certain priority.
| * | | | | | api: nvim_get_mode()Justin M. Keyes2017-04-28
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Asynchronous API functions are served immediately, which means pending input could change the state of Nvim shortly after an async API function result is returned. nvim_get_mode() is different: - If RPCs are known to be blocked, it responds immediately (without flushing the input/event queue) - else it is handled just-in-time before waiting for input, after pending input was processed. This makes the result more reliable (but not perfect). Internally this is handled as a special case, but _semantically_ nothing has changed: API users never know when input flushes, so this internal special-case doesn't violate that. As far as API users are concerned, nvim_get_mode() is just another asynchronous API function. In all cases nvim_get_mode() never blocks for more than the time it takes to flush the input/event queue (~µs). Note: This doesn't address #6166; nvim_get_mode() will provoke #6166 if e.g. `d` is operator-pending. Closes #6159
* | | | | | api/ext_tabline: `curtab` should be a Tabpage handle.Justin M. Keyes2017-04-28
| | | | | |
* | | | | | Merge #6606 from justinmk/build_stlJustin M. Keyes2017-04-28
|\ \ \ \ \ \
| * | | | | | lintJustin M. Keyes2017-04-28
| | | | | | |
| * | | | | | build_stl_str_hl: Array name should be plural.Justin M. Keyes2017-04-28
|/ / / / / /
* | | | | | refactor/single-include (#6604)relnod2017-04-27
| | | | | |
* | | | | | Merge pull request #6600 from jamessan/post-sourcing-filetypeJames McCoy2017-04-27
|\ \ \ \ \ \ | | | | | | | | | | | | | | Test handling of "filetype ... off"/"syntax off" after startup scripts
| * | | | | | defaults_spec: Test changing :filetype/:syntax in -c, after defaultsJames McCoy2017-04-27
|/ / / / / /
* | | | | | test: inccommand_spec: Avoid indeterminism. (#6592)Justin M. Keyes2017-04-26
| | | | | |
* | | | | | Merge #6583 from justinmk/ui-tablineJustin M. Keyes2017-04-26
|\ \ \ \ \ \
| * | | | | | api/ext_tabline: List of Dicts.Justin M. Keyes2017-04-26
| | | | | | |
| * | | | | | api: nvim_ui_attach(): Flatten ext_* options.Justin M. Keyes2017-04-26
| | | | | | |
| * | | | | | api/ui: externalize tablineJustin M. Keyes2017-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Work with a bool[] array parallel to the UIWidget enum. - Rename some functions. - Documentation.
| * | | | | | api/ui: externalize tablineDongdong Zhou2017-04-26
|/ / / / / /
* | | | | | tui: Only set cursor color if the highlight group is valid (#6585)James McCoy2017-04-25
| | | | | | | | | | | | | | | | | | Closes #6584
* | | | | | refactor/single-include (#6586)relnod2017-04-25
| | | | | |
* | | | | | doc: Revise nvim-from-vim advice (#6505)Drew Neil2017-04-25
| | | | | |
* | | | | | Merge #6581 from ZyX-I/really-kill-single-includesJustin M. Keyes2017-04-25
|\ \ \ \ \ \ | | | | | | | | | | | | | | ci: When using restarting tests kill make with the shell
| * | | | | | ci: Remove `x` from `test x`ZyX2017-04-24
| | | | | | |
| * | | | | | ci: Source ci/common/test.sh in run_test_wd subshellZyX2017-04-24
| | | | | | |
| * | | | | | ci: Make scripts in common be dash-compatibleZyX2017-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ulimit` may still be not present: dash and busybox support it, but posh does not.
| * | | | | | ci: Make $cmd failure fail the build without -o pipefailZyX2017-04-24
| | | | | | |
| * | | | | | ci: Do not use pipefailZyX2017-04-24
| | | | | | |
| * | | | | | ci: Do not accidentally kill something unneededZyX2017-04-24
| | | | | | |
| * | | | | | ci: When using restarting tests kill make with the shellZyX2017-04-24
| | | | | | |
* | | | | | | test/fs: sanity check for literal "~" directory (#6579)Justin M. Keyes2017-04-24
|/ / / / / / | | | | | | | | | | | | | | | | | | If the CWD contains a directory with the literal name "~" then the tests will have bogus failures.
* | | | | | api/dispatch: Mark generated functions table readonly (#6576)Patrick Jackson2017-04-24
| | | | | |
* | | | | | Merge #6569 from justinmk/apierrorJustin M. Keyes2017-04-24
|\ \ \ \ \ \ | | | | | | | | | | | | | | api: Do not truncate errors <1 MB
| * | | | | | api: Do not translate error messages.Justin M. Keyes2017-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also re-word some error messages: - "Key does not exist: %s" - "Invalid channel: %<PRIu64>" - "Request array size must be 4 (request) or 3 (notification)" - "String cannot contain newlines" References #6150
| * | | | | | tui/input.c: Use default 'ttimeoutlen' if option get fails.Justin M. Keyes2017-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should never happen, but better to be explicit. Helped-by: oni-link <knil.ino@gmail.com>
| * | | | | | api_set_error(): renameJustin M. Keyes2017-04-23
| | | | | | |
| * | | | | | api/internal: Remove `set` field from Error type.Justin M. Keyes2017-04-23
| | | | | | |
| * | | | | | api_clear_error: Skip if error was not set.Justin M. Keyes2017-04-23
| | | | | | |
| * | | | | | api_clear_error()Justin M. Keyes2017-04-23
| | | | | | |
| * | | | | | api: Do not truncate errors <1 MB. #6237Sander Bosma2017-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #5984
| * | | | | | test: api: Do not truncate errors <1 MB.Justin M. Keyes2017-04-23
|/ / / / / /
* | | | | | refactor: Remove unused MAP_IMPL. (#6573)Patrick Jackson2017-04-23
| | | | | |
* | | | | | Merge #6513 from ZyX-I/lazier-arg_errmsg-gettextJustin M. Keyes2017-04-23
|\ \ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into lazier-arg_errmsg-gettextZyX2017-04-21
| |\ \ \ \ \ \
| * | | | | | | eval/encode: Do translate “… argument” strings, but only in conv_errorZyX2017-04-15
| | | | | | | |
| * | | | | | | eval/typval: Do not translate tv_clear argument, this is uselessZyX2017-04-15
| | | | | | | |
| * | | | | | | unittests: Add a test for TV_CSTRINGZyX2017-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not using enum{} because SIZE_MAX exceeds integer and I do not really like how enum definition is described in C99: 1. Even though all values must fit into the chosen type (6.7.2.2, p 4) the type to choose is still implementation-defined. 2. 6.4.4.3 explicitly states that “an identifier declared as an enumeration constant has type `int`”. So it looks like “no matter what type was chosen for enumeration, constants will be integers”. Yet the following simple program: #include <stdint.h> #include <stdio.h> #include <stddef.h> enum { X=SIZE_MAX }; int main(int argc, char **argv) { printf("x:%zu m:%zu t:%zu v:%zu", sizeof(X), sizeof(SIZE_MAX), sizeof(size_t), (size_t)X); } yields one of the following using different compilers: - clang/gcc/pathcc: `x:8 m:8 t:8 v:18446744073709551615` - pcc/tcc: `x:4 m:8 t:8 v:1844674407370955161` If I remove the cast of X to size_t then pcc/tcc both yield `x:4 m:8 t:8 v:4294967295`, other compilers’ output does not change. All compilers were called with `$compiler -std=c99 -xc -` (feeding program from echo), except for `tcc` which has missing `-std=c99`. `pcc` seems to ignore the argument though: it is perfectly fine with `-std=c1000`.
| * | | | | | | eval: Add comment regarding why special values are neededZyX2017-04-14
| | | | | | | |
| * | | | | | | eval: Change the point at which arg_errmsg and its length are changedZyX2017-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref #6437
* | | | | | | | Merge #6572 from justinmk/guicursorJustin M. Keyes2017-04-23
|\ \ \ \ \ \ \ \
| * | | | | | | | os_term_is_nice: Return true for rxvt and iTerm.Justin M. Keyes2017-04-22
| | | | | | | | |
| * | | | | | | | 'guicursor': iTerm: Set cursor color.Justin M. Keyes2017-04-22
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iTerm uses proprietary escape codes to set cursor color. https://www.iterm2.com/documentation-escape-codes.html