aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | 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
* | | | | | 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
* | | | | | | | 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
* | | | | | | | refactor/single-include: ui.h, ui_bridge.h, ugrid.h (#6571)relnod2017-04-22
| | | | | | | |
* | | | | | | | refactor/single-include (#6563)Othon Briganó2017-04-22
| | | | | | | |
* | | | | | | | refactor/single-include: window.h, version.h (#6570)relnod2017-04-22
| | | | | | | |
* | | | | | | | Merge #6539 'More cursor shape modes'Justin M. Keyes2017-04-21
|\ \ \ \ \ \ \ \
| * | | | | | | | ui: use an array for mode stylesBjörn Linse2017-04-21
| | | | | | | | |
| * | | | | | | | ui: support more cursor shape modesBjörn Linse2017-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | throttle unneccessary cursor shape events
* | | | | | | | | ex_cmds.c: Fix bug in ex_z (#6557)sander22017-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0571
* | | | | | | | | refactor/single-include: getchar.h (#6560)Othon Briganó2017-04-21
| |_|/ / / / / / |/| | | | | | |
* | | | | | | | Merge #6550 from ZyX-I/pvs-check-commentJustin M. Keyes2017-04-20
|\ \ \ \ \ \ \ \
| * | | | | | | | *: Add comment to all C filesZyX2017-04-19
| |/ / / / / / /
* | | | | | | | 'scrollback': Allow :setlocal -1 on normal buffersJustin M. Keyes2017-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids a spurious :loadview error.
* | | | | | | | version.c: Mark 7.4.{2165,2173,2179} appliedJames McCoy2017-04-19
| | | | | | | |
* | | | | | | | Merge pull request #6531 from justinmk/vim-dc1f1645cb49James McCoy2017-04-19
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vim-patch: runtime updates
| * | | | | | | | vim-patch:e4a3bcf28d92Justin M. Keyes2017-04-19
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated runtime files. Add Scala files. https://github.com/vim/vim/commit/e4a3bcf28d92d0bde9ca227ccb40d401038185e5
* | | | | | | | vim-patch:7.4.2209James McCoy2017-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot map <M-">. (Stephen Riehm) Solution: Solve the memory access problem in another way. (Dominique Pelle) Allow for using <M-\"> in a string. https://github.com/vim/vim/commit/35a4cfa200917dd171b1fff3cd5b6cee9add673d
* | | | | | | | vim-patch:7.4.2152James McCoy2017-04-19
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No proper translation of messages with a count. Solution: Use ngettext(). (Sergey Alyoshin) https://github.com/vim/vim/commit/ee695f787ade7fd88fc5f5497553d95c0c3645b5
* | | | | | | doc: fix typo (#6504)Shlomi Fish2017-04-19
| | | | | | |
* | | | | | | Merge #6533 'Fix PVS-studio warnings'Justin M. Keyes2017-04-17
|\ \ \ \ \ \ \
| * | | | | | | buffer: Adjust where do_buffer call is locatedZyX2017-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is located there in Vim, but in dd7657c1605246e8f7ade35184069a09dc254e84 position was for some reason swapped.
| * | | | | | | *: Fix linter errorsZyX2017-04-16
| | | | | | | |
| * | | | | | | regexp_nfa: Remove octal constantZyX2017-04-16
| | | | | | | |
| * | | | | | | regexp_nfa: Remove another has_mbyte/…-checking codeZyX2017-04-16
| | | | | | | |
| * | | | | | | regexp: Silence octal constant warningZyX2017-04-16
| | | | | | | |
| * | | | | | | regexp: Remove another has_mbyte/…-checking stuffZyX2017-04-16
| | | | | | | |
| * | | | | | | regexp: Fix warning about octal constantZyX2017-04-16
| | | | | | | |
| * | | | | | | tag: Fix “initialized twice successively” false positiveZyX2017-04-16
| | | | | | | |
| * | | | | | | tag: Silence “buffer underflow” warningZyX2017-04-16
| | | | | | | |
| * | | | | | | screen: Remove another portion of has_mbyte/friends-checking stuffZyX2017-04-16
| | | | | | | |
| * | | | | | | screen: Remove unneeded conditionZyX2017-04-16
| | | | | | | | | | | | | | | | | | | | | | | | Already checked in outer if()
| * | | | | | | screen: Silence NULL dereference false positiveZyX2017-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the loop condition when shl_flag is true cur != NULL.
| * | | | | | | screen: Silence “buffer underflow” warningZyX2017-04-16
| | | | | | | |
| * | | | | | | screen: Remove unneeded checkZyX2017-04-16
| | | | | | | |
| * | | | | | | quicfix: Avoid possible NULL dereferenceZyX2017-04-16
| | | | | | | |
| * | | | | | | quicfix: Remove duplicate conditionZyX2017-04-16
| | | | | | | |