aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | terminal: Don't redraw the entire screen when resizing (#6167)Tommy Allen2017-02-26
| | | | | |
* | | | | | vim-patch:7.4.2230 (#6080)lonerover2017-02-25
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: There is no equivalent of 'smartcase' for a tag search. Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian Brabandt, closes vim/vim#712) Turn tagcase test into new style. https://github.com/vim/vim/commit/66e29d7112e437b2b50efe1f82c7e892736d23e4
* | | | | Merge pull request #5771 from brcolow/lambdaJames McCoy2017-02-23
|\ \ \ \ \ | | | | | | | | | | | | Lambda Support
| * \ \ \ \ Merge remote-tracking branch 'origin/master' into lambdaJames McCoy2017-02-22
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| * | | | | vim-patch:8.0.0297Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Double free on exit when using a closure. (James McCoy) Solution: Split free_al_functions in two parts. (closes #1428) https://github.com/vim/vim/commit/03ff9bcbc968f7d306e4a4e334e226fdde62ca82
| * | | | | Allow lambdas to be used with jobs, timers and dictwatchers.Michael Ennen2017-02-14
| | | | | |
| * | | | | vim-patch:7.4.2235Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: submatch() does not check for a valid argument. Solution: Give an error if the argument is out of range. (Dominique Pelle) https://github.com/vim/vim/commit/989f592f7ffcbafdc4ec35cee4dc65bd053e2077
| * | | | | vim-patch:7.4.2233Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using funcref() with invalid name. (Dominique Pelle) Solution: Check for NULL translated name. https://github.com/vim/vim/commit/843b884461de1c79a1d2748549776fb13fc94360
| * | | | | vim-patch:7.4.2197Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: All functions are freed on exit, which may hide leaks. Solution: Only free named functions, not reference counted ones. https://github.com/vim/vim/commit/c257487035f83aabe1c7e07f0552309e98f1bcb1
| * | | | | vim-patch:7.4.2143Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: A funccal is garbage collected while it can still be used. Solution: Set copyID in all referenced functions. Do not list lambda functions with ":function". https://github.com/vim/vim/commit/bc7ce675b2d1c9fb58c067eff3edd59abc30aba4
| * | | | | vim-patch:7.4.2142Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Leaking memory when redefining a function. Solution: Don't increment the function reference count when it's found by name. Don't remove the wrong function from the hashtab. More reference counting fixes. https://github.com/vim/vim/commit/8dd3a43d75550e9b5736066124c97697564f769e
| * | | | | vim-patch:7.4.2141Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity reports bogus NULL check. Solution: When checking for a variable in the funccal scope don't pass the varname. https://github.com/vim/vim/commit/ba96e9af388804364425185b47eed14988302865
| * | | | | vim-patch:7.4.2139Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :delfunction causes illegal memory access. Solution: Correct logic when deciding to free a function. https://github.com/vim/vim/commit/0588d4f9d2741f35a271400a37fddbdd72d84219
| * | | | | vim-patch:7.4.2137Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using function() with a name will find another function when it is redefined. Solution: Add funcref(). Refer to lambda using a partial. Fix several reference counting issues. https://github.com/vim/vim/commit/437bafe4c8a83ed71ee006eda7f54b65a90f0d4c
| * | | | | vim-patch:7.4.2136Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Closure function fails. Solution: Don't reset uf_scoped when it points to another funccal. https://github.com/vim/vim/commit/580164481924ed8611eb79f0247a0eb1ca0b3b9a
| * | | | | vim-patch:7.4.2134Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No error for using function() badly. Solution: Check for passing wrong function name. (Ken Takata) https://github.com/vim/vim/commit/b54c3ff3174dbb5dfbfcabdf95200b047beaa644
| * | | | | vim-patch:7.4.2121Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No easy way to check if lambda and closure are supported. Solution: Add the +lambda feature. https://github.com/vim/vim/commit/9532fe7fbe1b14531931e83bd9f8054efdcf7509
| * | | | | vim-patch:7.4.2120Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: User defined functions can't be a closure. Solution: Add the "closure" argument. Allow using :unlet on a bound variable. (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/10ce39a0d52272a3dfff2feb8c631529f29e6740
| * | | | | vim-patch:7.4.2119Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Closures are not supported. Solution: Capture variables in lambdas from the outer scope. (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/1e96d9bf98f9ab84d5af7f98d6a961d91b17364f
| * | | | | vim-patch:7.4.2104Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Code duplication when unreferencing a function. Solution: De-duplicate. https://github.com/vim/vim/commit/97baee80f0906ee2f651ee1215ec033e84f866ad
| * | | | | vim-patch:7.4.2096Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Lambda functions show up with completion. Solution: Don't show lambda functions. (Ken Takata) https://github.com/vim/vim/commit/b49edc11a1872fa99befa9a4a8ea6c8537868038
| * | | | | vim-patch:7.4.2090Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using submatch() in a lambda passed to substitute() is verbose. Solution: Use a static list and pass it as an optional argument to the function. Fix memory leak. https://github.com/vim/vim/commit/df48fb456fb6bf63d94cad9b302ff01d8ee8d311
| * | | | | vim-patch:7.4.2076Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Syntax error when dict has '>' key. Solution: Check for endchar. (Ken Takata) https://github.com/vim/vim/commit/4f0383bc3fe5af0229fb66b53fe94329af783eff
| * | | | | vim-patch:7.4.2072Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: substitute() does not support a Funcref argument. Solution: Support a Funcref like it supports a string starting with "\=". https://github.com/vim/vim/commit/72ab729c3dcdea0fba44d8e676602c847e841bcd
| * | | | | vim-patch:7.4.2044Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: filter() and map() either require a string or defining a function. Solution: Support lambda, a short way to define a function that evaluates an expression. (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/069c1e7fa9f45a665064f7f2c17da84d6a48f544
| * | | | | vim-patch:7.4.2002Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when passing number to filter() or map(). Solution: Convert to a string. (Ozaki Kiichi) https://github.com/vim/vim/commit/a06ec8f345eabb66e5b7d7c0192cfebdde63115d
| * | | | | vim-patch:7.4.1989Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: filter() and map() only accept a string argument. Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken Takata) https://github.com/vim/vim/commit/b33c7eb5b813cb631b2b0ca5c4029e1788a09bde
| * | | | | vim-patch:7.4.1727Michael Ennen2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot detect a crash in tests when caused by garbagecollect(). Solution: Add garbagecollect_for_testing(). Do not free a job if is still useful. https://github.com/vim/vim/commit/ebf7dfa6f121c82f97d2adca3d45fbaba9ad8f7e
* | | | | | vim-patch:8.0.0341 (#6151)Shougo2017-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using complete() and typing a character undo is saved after the character was inserted. (Shougo) Solution: Save for undo before inserting the character. https://github.com/vim/vim/commit/d56a79d3396cf70861b7f739a3c400db91ce7b70
* | | | | | terminal: Initialize colors in reverse order (#6160)Koichi Shiraishi2017-02-23
| |/ / / / |/| | | | | | | | | | | | | | | | | | | Closes #3601 Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
* | | | | strings.h: Include <stdarg.h> for vim_vsnprintf's use of va_listJames McCoy2017-02-20
| | | | | | | | | | | | | | | | | | | | This fully resolves #6141.
* | | | | string.c: Include <stdarg.h> for va_list type and va_* macrosJames McCoy2017-02-19
| | | | | | | | | | | | | | | | | | | | Closes #6141
* | | | | globals.h: Avoid expression in array definition.Justin M. Keyes2017-02-19
| | | | | | | | | | | | | | | | | | | | See https://github.com/neovim/neovim/commit/aa56b24ee6553b4417f2c2defdde5be302a868cd#commitcomment-20949000
* | | | | Merge #6137 from justinmk/cmdline-ctrl-rJustin M. Keyes2017-02-19
|\ \ \ \ \ | | | | | | | | | | | | cmdline: CTRL-R: Omit trailing ^M character
| * | | | | cmdline: CTRL-R: Omit trailing <CR>.Justin M. Keyes2017-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "technically correct" interpretation is to execute the first line that is seen (and this is what happens on middle-click paste in Vim). ^M is only intended to "defuse" the newline, so the user can review it. The parent commit changed the behavior to insert <Space> between lines, but that's a higher-risk change: it is arguably possible that some user *wants* the literal ^M chars when e.g. assigning to a register: :let @a='<C-R>b' To avoid that risk, keep the old behavior and only omit the last ^M. This makes `yy:<C-R>0` nicer at no cost.
| * | | | | cmdline: CTRL-R: <Space> instead of CR between lines.Justin M. Keyes2017-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ^M isn't any more "correct" than space: the "technically correct" interpretation is to execute the first line that is seen (and this is what happens on middle-click paste in Vim). ^M is only intended to defuse the newline, so that the user can review the command. We can do that with a space instead, and then the command can be executed without having to fix it up first.
* | | | | | eval.c: has("unnamedplus"). (#6136)Kurt Bonatz2017-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return 1 for UNIX with a functioning clipboard provider. Closes #6103
* | | | | | options: Remove 'esckeys' (#6138)Justin M. Keyes2017-02-18
|/ / / / / | | | | | | | | | | This was never supported and it does not make sense for Nvim.
* | | | | Merge #6110 'refactor: Move vim_*printf to strings.c'.Justin M. Keyes2017-02-17
|\ \ \ \ \
| * | | | | strings: Fix “unexpected format specifier: %lp” ASAN errorZyX2017-02-15
| | | | | |
| * | | | | message,strings: Move vim_*printf functions to strings.cZyX2017-02-14
| | |/ / / | |/| | | | | | | | | | | | | Allows eval/typval.h to #include message.h.
* | | | | Merge #6114 'Partial string handling refactoring'.Justin M. Keyes2017-02-17
|\ \ \ \ \
| * | | | | *: Fix linter errorsZyX2017-02-15
| | | | | |
| * | | | | *: Partial string handling refactoringZyX2017-02-15
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Main points: - Replace `char_u` with `char` in some cases. - Remove `str[len] = NUL` hack in some cases when `str` may be considered `const`.
* | | | | win/package: Copy externals without analyzing.Justin M. Keyes2017-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are just blobs that we jammed into the package. find_program() and WindowsDllCopy.cmake do not make sense here, they search include paths and try to determine DLL dependencies (GetPrerequisites).
* | | | | win/package: nvim-qt GUIJustin M. Keyes2017-02-16
| | | | | | | | | | | | | | | | | | | | Closes #6126
* | | | | win/package: provide common toolsJustin M. Keyes2017-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | References #1507 Closes #1811 curl.exe curl_7_52_1_openssl_nghttp2_x86.7z from https://winampplugins.co.uk/curl/ curl 7.52.1 (x86_64-pc-win32) libcurl/7.52.1 OpenSSL/1.0.2k zlib/1.2.8 nghttp2/1.19.0 Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: AsynchDNS IPv6 Largefile NTLM SSL libz HTTP2 HTTPS-proxy tidy.exe http://tidybatchfiles.info HTML Tidy for Windows tidy version 5.3.14 date 2017.01.09 compiled for Windows win32 x86. 7za.exe http://www.7-zip.org 7-Zip 16.04 (2016-10-04) cat.exe http://unxutils.sourceforge.net from gVim: diff.exe GNU diffutils version 2.7 xxd.exe V1.10 27oct98 by Juergen Weigert (Win32) ye olde hacked-up tee.exe
* | | | | tui.c: Handle missing "key_dc" terminfo entry (#6128)svaante2017-02-16
| | | | | | | | | | | | | | | Closes #6025
* | | | | ex_docmd.c: Allow unescaped spaces in :edit filename (#6119)Kurt Bonatz2017-02-15
|/ / / / | | | | | | | | | | | | | | | | | | | | This makes :edit consistent on all platforms. Also affects :argedit, et al. Wild (tab) completion doesn't work, though. Closes #6010
* | | | Merge #6108 from ZyX-I/pr-5678Justin M. Keyes2017-02-14
|\ \ \ \ | |_|/ / |/| | | Better core dumps checking