aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | option,main: Partial support of XDG base directory specificationKeerthan Jaic2015-10-23
| |/ | | | | | | | | | | | | | | | | | | | | | | - Add functions that are able to query XDG. - Replace defaults for - &runtimepath. Does not follow #78. - &viewdir. - &undodir. - &directory. - &backupdir. Does not follow #78. - vimrc location. - Remove user vimrc file line from :version message.
* | mark: Make clrallmarks correctly free all marks, and set zero tstampsZyX2015-10-23
| | | | | | | | | | This and the previous commit together fix #3472. This one also fixes memory leak on :delmarks!.
* | shada: Run set_last_cursor before writing shada fileZyX2015-10-23
|/
* Merge pull request #1909 from equalsraf/tb-os_serveraddressJustin M. Keyes2015-10-19
|\ | | | | server_address()
| * Allow server_start to accept a NULL argumentRui Abreu Ferreira2015-10-18
| | | | | | | | | | | | Return 1 if the endpoint argument is NULL, server_start() can get a NULL value when using server_address_new() or vim_tempname(). Removed the function attribute.
| * Implement server_address_new()Rui Abreu Ferreira2015-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating a local socket/pipe (server_start()) Neovim used vim_tempname() to generate a unique socket path. For Windows UNIX filepaths cannot be used as pipe names (they must start with \\.\pipe\). This commit replaces the use of vim_tempname() for server addresses with server_address_new(). server_address_new() generates unique names for local sockets/pipes - for UNIX it uses vim_tempname(), for Windows generates names in the form \\.\pipe\nvim-PID-COUNTER where PID is the current process id, and COUNTER is a static uint32_t counter incremented with every call. This function is now used for server_start() and server_init() when no address is available.
* | vim-patch:7.4.793Johan Klokkhammer Helsing2015-10-18
|/ | | | | | | Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt) https://github.com/vim/vim/commit/165bc69d1b7f70ca9d5b657f35d0584ecb7b5183
* Merge pull request #2506 from ZyX-I/shadaJustin M. Keyes2015-10-16
|\ | | | | Replace viminfo with ShaDa files
| * shada: Do not use msgpack_rpc functions for converting data to msgpackZyX2015-10-08
| | | | | | | | Should protect against #3431
| * shada: Fix memory leak and double free when setting both &vi and &sdZyX2015-10-08
| |
| * mark: Do not do unnecessary initializationZyX2015-10-08
| |
| * ex_getln: Fix memory leak when overwriting history itemZyX2015-10-08
| |
| * shada: Fix shada_removable signatureZyX2015-10-08
| |
| * shada: Fix jump/change list merging codeZyX2015-10-08
| | | | | | | | | | | | Errors happens under following conditions: 1. Jump/change list is full. 2. New jump/change list item should go between some of the old ones.
| * shada(documentation): Fix outdated commentsZyX2015-10-08
| |
| * shada: Make sure that shada-r option correctly ignores caseZyX2015-10-08
| |
| * shada: When using shada-r normalize option pathZyX2015-10-08
| |
| * shada: Fix out-of-bounds array accessZyX2015-10-08
| | | | | | | | It leads to a memory leak as well. May overwrite wms->jumps_size.
| * shada: Save an allocation when writing local marksZyX2015-10-08
| |
| * shada: Fix v:hlsearch save/restore and do not write empty patternsZyX2015-10-08
| |
| * shada,functests: Fix v:hlsearch saving/restoring handlingZyX2015-10-08
| |
| * shada: First write temporary file and only then check any permissionsZyX2015-10-08
| | | | | | | | | | | | It is not logical that on UNIX permissions can prevent even writing temporary file, while on other OS it will first write temporary file and then fail during rename.
| * shada: Keep uid and gid of the file when working from rootZyX2015-10-08
| | | | | | | | | | | | It was the behaviour exhibited by Vim, but it got unintentionally removed. There is a difference though: Vim runs fchown *before* populating the file, I run it just before renaming.
| * *: Fix lint errors found in new code in previously ignored filesZyX2015-10-08
| |
| * shada: Refactor code that works with hms.last_hist_entryZyX2015-10-08
| |
| * documentation/functests: Replace NeoVim with NeovimZyX2015-10-08
| |
| * shada: Add generator key to the headerZyX2015-10-08
| | | | | | | | | | For use in viminfo→shada converters, plugins that allow editing ShaDa files or any other software which generates ShaDa files for whatever purpose.
| * shada: Use same iteration end conditions as with other iteratorsZyX2015-10-08
| |
| * eval: Use proper iteration end conditionZyX2015-10-08
| |
| * eval: Reorder checks in var_shada_iterZyX2015-10-08
| |
| * shada: Also expand file name obtained from &shada optionZyX2015-10-08
| |
| * shada.h: Remove newline after INCLUDE_GENERATED_DECLARATIONS sectionZyX2015-10-08
| |
| * eval: Remove incorrect NONNULL_RET attributesZyX2015-10-08
| |
| * *: Fix problems with clang+asan Release buildZyX2015-10-08
| |
| * mark: Clear marks in some cases, but do not do useless job in free_\*ZyX2015-10-08
| |
| * shada: Refuse to write ShaDa file when ShaDa was disabledZyX2015-10-08
| |
| * os/time: Make Timestamp be 64-bit unsigned integerZyX2015-10-08
| |
| * search: When freeing search patterns also clear themZyX2015-10-08
| |
| * config: Check order and endianess even when cross-compilingZyX2015-10-08
| |
| * eval,functests: Reference all additional_* items created by ShaDaZyX2015-10-08
| |
| * shada,config: Use CMake to determine endianess and be64toh existenceZyX2015-10-08
| |
| * shada: Fix crash in hmll_insertZyX2015-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This problem made test64 to crash. Description of the bug: when removing entry from history when removed entry is not the last one it puts one element to free_entries list, but ignores free entries starting from last_free_element. Possible solutions: 1. First working: simply populate free_entries list with entries which are still free, starting from last_free_element. 2. Better (wastes less CPU): after free_entries list size goes to zero (which is the initial value) continue using last_free_element. 3. Even better (less memory): note that element from the list is *only* removed before adding another one. So replace free_entries array with one item. Also renamed last_free_element to last_free_entry: in any case most of the lines which mention it were altered.
| * shada: Fix -Wstrict-aliasing gcc errorZyX2015-10-08
| | | | | | | | | | Also removes theoretically possible unaligned memory access when computing be64toh() argument.
| * shada: Fix unused variable warning when using Release buildZyX2015-10-08
| |
| * ex_getln: Return something from hist_type2char without assertsZyX2015-10-08
| | | | | | | | | | Otherwise QuickBuild shows a warning that control may reach end of non-void function.
| * mark: Avoid address sanitizer errorZyX2015-10-08
| |
| * ops: Fix access to unsaved register when iterating over registersZyX2015-10-08
| |
| * mark: Fix out-of-bounds array access when iterating over global marksZyX2015-10-08
| |
| * ops: Fix “conditional … depends on unitialized …” error in op_yank_regZyX2015-10-08
| |
| * shada: Fix incompatible pointer types error in non-glibc buildsZyX2015-10-08
| |