aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* CI/travis: fix building 32bit on linux (#8365)Jan Viljanen2018-05-06
| | | Fixes #8351
* terminal: Leave 'relativenumber' alone (#8360)raichoo2018-05-05
| | | ref #6796
* Merge pull request #8333 from jamessan/ccacheJames McCoy2018-05-04
|\ | | | | travis: Enable ccache
| * travis: Enable ccacheJames McCoy2018-05-01
| |
* | Merge pull request #8358 from mhinz/screenJames McCoy2018-05-04
|\ \ | | | | | | [RFC] screen: avoid artifacts
| * | test: screen artifactsMarco Hinz2018-05-04
| | |
| * | screen: avoid artifactsMarco Hinz2018-05-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Put back the condition that was accidentally removed in https://github.com/neovim/neovim/commit/d42f934bcb3e9e876e5e7ba0ab5cd824175fd10c - if (enc_utf8 && ScreenLinesUC[off] != 0) - bytes[utfc_char2bytes(off, bytes)] = NUL; - else if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e) { - bytes[0] = ScreenLines[off]; - bytes[1] = ScreenLines2[off]; - bytes[2] = NUL; - } else if (enc_dbcs && MB_BYTE2LEN(bytes[0]) > 1) { - bytes[1] = ScreenLines[off + 1]; - bytes[2] = NUL; - } + bytes[utfc_char2bytes(off, bytes)] = NUL; Fixes #8357
* | | Merge pull request #8356 from bfredl/tabmsgBjörn Linse2018-05-04
|\ \ \ | |/ / |/| | messages: redraw tabline if it was overdrawn by messages
| * | messages: redraw tabline if it was overdrawn by messagesBjörn Linse2018-05-04
|/ / | | | | | | | | | | | | fixes #8354 Regression from #8088, where we try to avoid clearing the screen if not absolutely necessary
* | 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
| | |
| * | Remove maxmem and maxmemtot optionsFelipe Oliveira Carvalho2017-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > The option 'maxmem' ('mm') is used to set the maximum memory used for one > buffer (in kilobytes). 'maxmemtot' is used to set the maximum memory used for > all buffers (in kilobytes). The defaults depend on the system used. These > are not hard limits, but tell Vim when to move text into a swap file. If you > don't like Vim to swap to a file, set 'maxmem' and 'maxmemtot' to a very large > value. The swap file will then only be used for recovery. If you don't want > a swap file at all, set 'updatecount' to 0, or use the "-n" argument when > starting Vim. On today's systems these values are huge (4GB in my machine with 8GB of RAM since it's set as half the available memory by default) 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 swapping mechanism. This is unnecessary and inefficient since the operating system already virtualized the 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.
* | | Point README to fullhtml PVS report rather then error listNikolai Aleksandrovich Pavlov2018-05-01
| |/ |/| | | [ci skip]
* | :digraphs : highlight with hl-SpecialKey #2690Jakson Alves de Aquino2018-05-01
| | | | | | | | closes #2690
* | Merge #8335 from blueyed/providerJustin M. Keyes2018-05-01
|\ \
| * | health#provider: fix sys.path for PythonDaniel Hahler2018-04-30
| | | | | | | | | | | | | | | | | | | | | Remove "" from sys.path (typically the first entry), which could cause e.g. "logging" to be added from the current directory. This gets done already for loading the host in runtime/autoload/provider/pythonx.vim.
| * | health#provider: improve error reportingDaniel Hahler2018-04-30
| | | | | | | | | | | | | | | - quote command, so that e.g. markdown handling is not applied to `__init__.py` - include cwd
| * | health#provider: fix logic with s:shellifyDaniel Hahler2018-04-30
|/ / | | | | | | | | It should be quoted if there is any character that needs escaping, but not if there is a character that does not need escaping.
* | lintJustin M. Keyes2018-04-28
| |
* | doc: clarify `stdout_buffered` docs (#8299)Andy Russell2018-04-28
| | | | | | Fixes #8150
* | Merge #4985Justin M. Keyes2018-04-27
|\ \ | | | | | | | | | closes #4985
| * | test/unit/undo_spec.lua: fixup after rebase #4985Justin M. Keyes2018-04-27
| | |
| * | test/util: move general functions into global helpersJustin M. Keyes2018-04-27
| | |
| * | test/unit: some unit tests for undo.c #4985Christopher Waldon2018-04-27
|/ /
* | Merge #8218 'Fix errors reported by PVS'Justin M. Keyes2018-04-27
|\ \ | | | | | | closes #4983
| * | pvscheck: Disable V011 warningZyX2018-04-22
| | |
| * | spellfile: Fix clint errorZyX2018-04-22
| | |
| * | syntax: Fix PVS/V560: condition was already checkedZyX2018-04-22
| | |
| * | spellfile: Fix PVS/V547: allocator now never returns NULLZyX2018-04-22
| | |
| * | functests: Fix testlint errorsZyX2018-04-22
| | |
| * | *: Fix clint errorsZyX2018-04-22
| | |
| * | window: Fix PVS/V547: expression already checked in previous if()ZyX2018-04-22
| | |
| * | window: Silence PVS/V547: height may be changed by curwin ptrZyX2018-04-22
| | |
| * | api/vim: Fix PVS/V547: node was already dereferenced, so can’t be NULLZyX2018-04-22
| | |
| * | undo: Silence PVS/V547: expression may be false on other systemZyX2018-04-22
| | |
| * | ui_bridge: Silence PVS/V547: assuming stopped may be changed via ptrZyX2018-04-22
| | |
| * | eval/typval: Silence PVS/V576: format is correctZyX2018-04-22
| | |
| * | ugrid: Silence PVS/V625: UGRID_FOREACH_CELL may be used for one rowZyX2018-04-22
| | |
| * | tui: Silence PVS/V560: condition is set to true in prev-previous if()ZyX2018-04-22
| | |
| * | syntax: Fix PVS/V560: condition was checked in previous if(), breakingZyX2018-04-22
| | |
| * | syntax: Fix PVS/V547: condition was checkedZyX2018-04-22
| | | | | | | | | | | | | | | In surrounding if() `off` was checked for being non-zero and in previous if() it was checked for being positive.
| * | syntax: Silence PVS/V560: condition is always true at that pointZyX2018-04-22
| | |
| * | syntax: Silence PVS/V522: retval is always non-NULL on this roundZyX2018-04-22
| | |
| * | syntax: Fix PVS/V560: condition checked in previous if()ZyX2018-04-22
| | |
| * | strings: Fix PVS/V547: condition already checked by surrounding ifZyX2018-04-22
| | |
| * | strings: Fix PVS/V779: wrong assert() positionZyX2018-04-22
| | |
| * | spellfile: Silence PVS/V547: expression may be true on other systemsZyX2018-04-22
| | |
| * | spellfile: Fix PVS/V547: allocator never returns NULL nowZyX2018-04-22
| | |
| * | spellfile: Fix PVS/V560: allocator never returns NULL nowZyX2018-04-22
| | |
| * | spell: Fix PVS/V512: use of sprintf()ZyX2018-04-22
| | |