aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
Commit message (Collapse)AuthorAge
* cleanup/TUI: remove old unused code #9013Justin M. Keyes2018-09-19
| | | | | | | | - Checks for ECHOE, ICANON were left over from Vim code. We already reference the symbols elsewhere without checking. - newline_on_exit, intr_char: Both are vestigial remnants of Vim 4.x, not implemented in Nvim. intr_char is a termios/stty feature, it's probably not useful because users have other ways to configure their terminals.
* globals: KeyTyped is boolJan Edmund Lazo2018-09-14
|
* globals: cmd_silent is boolJan Edmund Lazo2018-08-29
|
* globals: did_ai is boolJan Edmund Lazo2018-08-06
|
* globals: did_si is boolJan Edmund Lazo2018-08-06
|
* globals: can_si is boolJan Edmund Lazo2018-08-06
|
* globals: can_si_back is boolJan Edmund Lazo2018-08-06
|
* globals: typebuf_was_filled is boolJan Edmund Lazo2018-08-06
|
* globals: virtual_op is TriStateJan Edmund Lazo2018-08-01
|
* screen: screen_cleared is TriStateJan Edmund Lazo2018-08-01
|
* Merge #8526 from janlazo/vim-8.0.0451Justin M. Keyes2018-06-16
|\
| * charset: include option_defs.h for breakat_flagsJan Edmund Lazo2018-06-12
| |
* | Add ‘eob’ option to fillcharsJack Bracewell2018-06-13
| | | | | | | | | | This option allows configuring what character is shown on the empty lines at the end of a buffer, previously hardcoded to ‘~’
* | screen: use UTF-8 representationBjörn Linse2018-06-13
|/ | | | | | | | | | | | | | Store text in ScreenLines as UTF-8, so it can be sent as-is to the UI layer. `utfc_char2bytes(off,buf)` is removed, as `ScreenLines[off]` now already contains this representation. To recover the codepoints that the screen arrays previously contained, use utfc_ptr2char (or utf_ptr2char to ignore composing chars). NB: This commit does NOT change how screen.c processes incoming UTF-8 data from buffers, cmdline, messages etc. Any algorithm that operates on UCS-4 (like arabic shaping, treatment of non-printable chars) is left unchanged for now.
* startup: fix -es/-Es so they are actually silentJustin M. Keyes2018-06-04
| | | | | | silent-mode (-es/-Es) has been broken for years. The workaround up to now was to include --headless. But --headless is not equivalent because it prints all messages, not the limited subset defined by silent-mode.
* lintJustin M. Keyes2018-06-04
|
* vim-patch:8.0.0516 (#8458)KunMing Xie2018-06-01
| | | | | | Problem: A large count on a normal command causes trouble. (Dominique Pelle) Solution: Make "opcount" long. https://github.com/vim/vim/commit/b1e04fca3704e272a30afbe062498819eaacd4f9
* vim-patch:8.0.1494: no autocmd triggered in Insert mode with visible popup menuShougo Matsushita2018-05-14
| | | | | | | | | | Problem: No autocmd triggered in Insert mode with visible popup menu. Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, closes vim/vim#2372, closes vim/vim#1691) Fix that the TextChanged autocommands are not always triggered when sourcing a script. https://github.com/vim/vim/commit/5a093437199001a0d60d8e18e2b9539b99a7757c
* Merge #8329 'API: Make nvim_set_option() update `:verbose set …`'Justin M. Keyes2018-05-11
|\
| * lintb-r-o-c-k2018-05-10
| |
| * api: Make nvim_set_option() update `:verbose set ...`b-r-o-c-k2018-05-03
| | | | | | | | | | | | Make `:verbose set ...` show when an option was last modified by an API client or Lua script/chunk. In the case of an API client, the channel ID is displayed.
* | Merge #4486 'refactor: Remove maxmem, maxmemtot options'Justin M. Keyes2018-05-02
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After this change we never release blocks from memory (in practice it never happened because the memory limits are never reached). Let the OS take care of that. --- On today's systems the 'maxmem' and 'maxmemtot' values are huge (4+ GB) so the limits are never reached in practice, but Vim wastes a lot of time checking if the limit was reached. If the limit is reached Vim starts saving pieces of the swap file that were in memory to the disk. Said in a different way: Vim implements its own memory-paging mechanism. This is unnecessary and inefficient since the operating system already has virtual memory and will swap to the disk if programs start using too much memory. This change does... 1. Reduce the number of config options and need for documentation. 2. Make the code more efficient as we don't have to keep track of memory usage nor check if the memory limits were reached to start swapping to disk every time we need memory for buffers. 3. Simplify the code. Once memfile.c is simple enough it could be replaced by actual operating system memory mapping (mmap, MemoryViewOfFile...). This change does not prevent Vim to recover changes from swap files since the swapping code is never triggered with the huge limits set by default.
| * Remove the mf_dont_release global after getting rid of maxmem[tot]Felipe Oliveira Carvalho2017-04-11
| |
* | Merge #8218 'Fix errors reported by PVS'Justin M. Keyes2018-04-27
|\ \ | | | | | | closes #4983
| * | globals: Do not use `false` for enc_dbcsZyX2018-04-22
| | | | | | | | | | | | Based on screen.c code this value is not a boolean, so `false` is not appropriate. It should be either 0 or one of DBCS_… values.
| * | screen: Get rid of ScreenLines2 as it is no longer usedZyX2018-04-22
| | | | | | | | | Should also fix some PVS warnings in process.
| * | charset,*: Refactor transstr()ZyX2018-04-09
| | |
* | | API: nvim__stats()Justin M. Keyes2018-04-24
| | | | | | | | | | | | Use it to verify fsync() behavior.
* | | Merge branch 'master' into s-dash-stdinb-r-o-c-k2018-04-14
|\ \ \
| * | | cleanup: remove main_start_gui()Justin M. Keyes2018-04-11
| |/ /
| * | msg: do not scroll entire screen (#8088)Björn Linse2018-03-31
| | |
| * | *: Replace did_throw checks with current_exception checksZyX2018-03-25
| | | | | | | | | Removes obsolete did_throw after that.
| * | *: Make sure that !did_throw implies !current_exceptionZyX2018-03-25
| | | | | | | | | | | | Fixes #7876
| * | Merge #4419 'implement <Cmd> key'Justin M. Keyes2018-03-24
| |\ \
| | * | getchar: implement <Cmd> key to invoke command in any modeBjörn Linse2018-03-23
| | | |
| * | | refactor: eliminate `autocmd_fname_full` globalJustin M. Keyes2018-03-24
| |/ / | | | | | | | | | | | | | | | | | | | | | It's a micro-optimization; check path_is_absolute_path(autocmd_fname) instead. The main optimization (which is still in place) afforded by Vim 7.2.021 was to avoid resolving <afile> when it is not needed.
| * | 'fillchars': fix defaults logic; handle ambiwidth=double #7986Matthieu Coudron2018-02-23
| | | | | | | | | | | | Update tests.
| * | defaults: 'fillchars'Justin M. Keyes2018-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most fonts should have these by now. Both are a significant visual improvement. - Vertical connecting bar `│` is used by tmux, pstree, Windows 7 cmd.exe and nvim-qt.exe. - Middle dot `·` works on Windows 7 cmd.exe, nvim-qt.exe. For reference: tmux uses these chars to draw lines: │ ├ ─
| * | channel: check for existance before trying to set keyBjörn Linse2017-12-23
| | | | | | | | | | | | This avoids an error message in async context, where it is not safe.
| * | vim-patch:8.0.0074Michael Schupikov2017-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where. https://github.com/vim/vim/commit/95f096030ed1a8afea028f2ea295d6f6a70f466f Signed-off-by: Michael Schupikov <michael@schupikov.de>
| * | Merge branch 'master' into expression-parserZyX2017-11-26
| |\ \
| * \ \ Merge branch 'master' into expression-parserZyX2017-11-19
| |\ \ \
| * \ \ \ Merge branch 'master' into expression-parserZyX2017-10-30
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into expression-parserZyX2017-10-15
| |\ \ \ \ \
| * | | | | | mbyte: Lint some functions which are to be copied for symbolic testsZyX2017-10-15
| | | | | | |
* | | | | | | Merge branch 'master' into s-dash-stdinZyX2017-12-03
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | channels: stderr channelBjörn Linse2017-11-25
| | | | | | |
| * | | | | | channels: generalize jobclose()Björn Linse2017-11-25
| | | | | | |
| * | | | | | channels: allow bytes sockets and stdio, and buffered bytes outputBjörn Linse2017-11-24
| | | | | | |
| * | | | | | channels: refactorBjörn Linse2017-11-24
| | | | | | |