aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | vim-patch:8.2.2462: Coverity warns for not checking for fseek() errorJan Edmund Lazo2021-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity warns for not checking for fseek() error. Solution: Give an error message if fseek() fails. https://github.com/vim/vim/commit/2c363a2e95ee0b366e72063d093d20e025ef4a66
* | | | | vim-patch:8.2.2458: Coverity warns for :retab using freed memoryJan Edmund Lazo2021-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity warns for :retab using freed memory. Solution: Use the updated line pointer when moving text properties. https://github.com/vim/vim/commit/0dcd39bad5e5aa70ba8f60cb3fbf0658585f0151 N/A patches for version.c: vim-patch:8.2.2457: Coverity warns for memory leak Problem: Coverity warns for memory leak. Solution: Free memory when out of memory. https://github.com/vim/vim/commit/4dba04256b8a49b201d685217d3d7abc4988f090
* | | | | vim-patch:8.2.2447: 'foldlevel' not applied to folds restored from sessionJan Edmund Lazo2021-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'foldlevel' not applied to folds restored from session. Solution: Set 'foldlevel' after creaiting the folds. (closes vim/vim#7767) https://github.com/vim/vim/commit/f9547eb6ef02e305203b859d2dcfdae930b9d544
* | | | | vim-patch:8.2.2446: setting 'term' empty has different error if compiled ↵Jan Edmund Lazo2021-02-01
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with GUI Problem: Setting 'term' empty has different error if compiled with GUI. Solution: Insert "else". (closes vim/vim#7766) https://github.com/vim/vim/commit/5daa91162699e4f8b54f9d1caaaab2715038941c N/A patches for version.c: vim-patch:8.2.2437: deprecation warnings with default configuration Problem: Deprecation warnings with default configuration. Solution: Add -Wno-deprecated-declarations. https://github.com/vim/vim/commit/4d8479b335e92a95b09fdee09309ea0df934cb9e vim-patch:8.2.2439: not easy to figure out what packages to get Problem: Not easy to figure out what packages to get when installing Vim on a new Ubuntu system. Solution: Mention explicit commands that are easy to follow. https://github.com/vim/vim/commit/3d2bb8b6f152c0c5056f49bccb350683a9ba2e13 vim-patch:8.2.2442: automatic GUI selection does not check for GTK 3 Problem: Automatic GUI selection does not check for GTK 3. Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to YES when checking for GTK2. https://github.com/vim/vim/commit/f272ae12ac064856b710046393d5bf9b1670076d vim-patch:8.2.2448: compilation error with Ruby 3.0 Problem: Compilation error with Ruby 3.0. Solution: Adjust #ifdefs and declaration. (Ken Takata, closes vim/vim#7761) https://github.com/vim/vim/commit/9d20daffc296b9eb901fb14bdd83620ea55d440a
* | | | Merge pull request #12937 from jamessan/term-envJames McCoy2021-01-31
|\ \ \ \ | |_|_|/ |/| | |
| * | | Use abort() instead of assert(false) for things that should never happenJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assert() is compiled out for release builds, but we don't want to continue running in these impossible situations. This also resolves the "implicit fallthrough" warnings for the asserts in switch cases.
| * | | fix(pty_proc/macOS): Properly set the environment for the childJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | Binding _NSGetEnviron()'s return value to a local variable and then re-binding that is incorrect. We need to directly update what _NSGetEnviron() refers to.
| * | | Pass environment on to pty processes on WindowsJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.0239: MS-Windows: 'env' job option does not override existing vars Problem: MS-Windows: 'env' job option does not override existing environment variables. (Tim Pope) Solution: Set the environment variables later. (Yasuhiro Matsumoto, closes vim/vim#5485, closes vim/vim#5608) https://github.com/vim/vim/commit/355757aed6ae2ae5446882570d89f243e4805937 Co-authored-by: erw7 <erw7.github@gmail.com>
| * | | eval/environ: Prefer the last definition of an env varJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | It's possible for the environment variable block given to nvim to contain multiple definitions for the same env var. In this case, nvim should preserve the last one defined.
| * | | Common handling of required/ignored env varsJames McCoy2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When starting a pty job, there are certain env vars that we need to either add or remove. Currently, there are two relevant scenarios. * Removing irrelevant env vars on Unix, mostly related to the terminal hosting nvim since they do not apply to a libvterm-hosted terminal. * Adding required env vars for Windows jobs.
| * | | Support specifying "env" option for termopen()James McCoy2021-01-31
| | | | | | | | | | | | | | | | Co-authored-by: erw7 <erw7.github@gmail.com>
| * | | Use dict_T to pass env vars to process spawning codeJames McCoy2021-01-31
| | | | | | | | | | | | | | | | Co-authored-by: Matthieu Coudron <mattator@gmail.com>
* | | | vim-patch:8.2.2430: :vimgrep expands wildcards twice (#13853)Jan Edmund Lazo2021-01-31
|/ / / | | | | | | | | | | | | Problem: :vimgrep expands wildcards twice. Solution: Do not expand wildcards a second time. https://github.com/vim/vim/commit/f8c6a1718007432812184c28495e8d27ee6c0395
* | | version.c: update [ci skip] (#13705)Jan Edmund Lazo2021-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.2307: a shell command in the vimrc causes terminal output vim-patch:8.2.2312: build failure with Ruby 3.0 and 32 bits vim-patch:8.2.2326: build error with +eval feature but without +spell vim-patch:8.2.2337: configure test for GTK only says "no" vim-patch:8.2.2346: Codecov reports every little coverage drop vim-patch:8.2.2347: build failure without GUI vim-patch:8.2.2348: no check for modified files after focus gained vim-patch:8.2.2352: if focus lost/gained is received twice code is not ignored vim-patch:8.2.2358: wrong #ifdef for use_xterm_like_mouse() vim-patch:8.2.2383: focus escape sequences are not named vim-patch:8.2.2407: old jumplist code is never used vim-patch:8.2.2408: MinGW: "--preprocessor" flag no longer supported vim-patch:8.2.2431: warning for -fno-strength-reduce with Clang 11 vim-patch:8.2.2432: libvterm tests are executed even when libtool doesn't work
* | | test/old: rewrite method code in test_compiler.vimJan Edmund Lazo2021-01-30
| | | | | | | | | | | | | | | Patch v8.1.1803 and related method patches are not ported yet. Revert this commit when those patches are ported.
* | | vim-patch:8.2.2038: compiler test fails on MS-WindowsJan Edmund Lazo2021-01-30
| | | | | | | | | | | | | | | | | | Problem: Compiler test fails on MS-Windows. Solution: Sort the found compiler plugin names. https://github.com/vim/vim/commit/142f23544c7045b22e56fa6ee35808aceb6342f2
* | | vim-patch:8.2.2037: compiler test depends on list of compiler pluginsJan Edmund Lazo2021-01-30
| | | | | | | | | | | | | | | | | | Problem: Compiler test depends on list of compiler plugins. Solution: Compare with the actual list of compiler plugins. https://github.com/vim/vim/commit/60bc8e7244080b7ead009cfabebc3401f272ddbe
* | | vim-patch:8.2.2425: cursor on invalid line with range and :substituteJan Edmund Lazo2021-01-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor on invalid line with range and :substitute. Solution: Do not move the cursor when skipping commands. (closes vim/vim#3434) https://github.com/vim/vim/commit/df2c2988bbaecd28b0fbec8d64327b1bbb005e19 Cherry-pick Test_for_invalid() from patch v8.1.0736.
* | | vim-patch:8.2.2420: too many problems with using all autocommand eventsJan Edmund Lazo2021-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Too many problems with using all autocommand events. Solution: Disallow defining an autocommand for all events. https://github.com/vim/vim/commit/9a046fd08bcae319d39a4dbde2be81decee19013 Delete Test_wipe_cbuffer(). Commit dc5f4a3cc2f7f02e1ff4ec2f67eda4fb73e7d89c should have removed it.
* | | vim-patch:8.2.2418: color not changed if ModeMsg highlight is set in InsertEnterJan Edmund Lazo2021-01-28
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Color not changed if ModeMsg highlight is set in InsertEnter autocmd event. (Paul Swanson) Solution: Call highlight_changed() after triggering InsertEnter. (closes vim/vim#7751) https://github.com/vim/vim/commit/2e6cdb91e8dea08301f31bc83188c06112eb7f57
* | | vim-patch:8.2.2412: not all fields in "cstack" are initializedJan Edmund Lazo2021-01-28
| |/ |/| | | | | | | | | | | Problem: Not all fields in "cstack" are initialized which might cause a crash. Solution: Use CLEAR_FIELD(). https://github.com/vim/vim/commit/ce0370d9e67df80c62ff033aa8ca2dbe86841de9
* | Merge pull request #13784 from runiq/get_extmark_by_id-limit_breakThomas Vigouroux2021-01-28
|\ \ | | | | | | doc: remove nvim_buf_get_extmark_by_id limit opt
| * | doc: remove nvim_buf_get_extmark_by_id limit optPatrice Peterson2021-01-18
| | | | | | | | | | | | Passing any key but `details` in the opts results in an error.
* | | lintchentau2021-01-26
| | |
* | | lua: complete methods in metatablesBjörn Linse2021-01-26
| | |
* | | Don't show entire context when completingTony Chen2021-01-26
| | |
* | | feat: add completion to ':lua'TJ DeVries2021-01-26
| | |
* | | vim-patch:8.2.2402: some filetypes not detectedJan Edmund Lazo2021-01-24
| | | | | | | | | | | | | | | | | | Problem: Some filetypes not detected. Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns) https://github.com/vim/vim/commit/8323cab31c3120a7f80cf3271a506a30ec04d99e
* | | vim-patch:8.2.2399: fold test fails in wide terminalJan Edmund Lazo2021-01-24
| | | | | | | | | | | | | | | | | | Problem: Fold test fails in wide terminal. Solution: Adjust the test. (Dominique Pelle, closes vim/vim#7731, closes vim/vim#7739) https://github.com/vim/vim/commit/7cf0c114d690c91ac88c92a1a6f1b1935cb6410f
* | | vim-patch:8.2.2392: fennel filetype not recognizedJan Edmund Lazo2021-01-24
| | | | | | | | | | | | | | | | | | Problem: Fennel filetype not recognized. Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes vim/vim#7729) https://github.com/vim/vim/commit/402115f1c2b4d0704a822206f2e6e931e721c129
* | | Merge pull request #13807 from spywhere/min-size-auto-signMatthieu Coudron2021-01-23
|\ \ \ | | | | | | | | Auto sign column with minimum size support
| * | | opt: address linting issues (#13783)Sirisak Lueangsaksri2021-01-20
| | | |
| * | | opt: better handling number bounds (#13783)Sirisak Lueangsaksri2021-01-20
| | | |
| * | | opt: reduce hardcoded values (#13783)Sirisak Lueangsaksri2021-01-20
| | | |
| * | | opt: minimum sign size for auto (#13783)Sirisak Lueangsaksri2021-01-20
| | | |
* | | | Merge pull request #13818 from janlazo/vim-8.2.2379Jan Edmund Lazo2021-01-22
|\ \ \ \ | | | | | | | | | | vim-patch:8.2.{2375,2379,2384,2385}
| * | | | vim-patch:8.2.2385: "gj" and "gk" do not work correctly when inside a foldJan Edmund Lazo2021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "gj" and "gk" do not work correctly when inside a fold. Solution: Move check for folding. (closes vim/vim#7724, closes vim/vim#4095) https://github.com/vim/vim/commit/e71996bd0865659bde5450f466bc3e53e83431b2
| * | | | vim-patch:8.2.2375: test for RGB color skipped in the terminalJan Edmund Lazo2021-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for RGB color skipped in the terminal. Solution: Run the GUI if possible. https://github.com/vim/vim/commit/09fbedc8dc3adc0a7adf2093916911e633cfa626 Cherry-pick Test_highlight_RGB_color() from patch v8.2.1077 to port this patch.
| * | | | vim-patch:8.2.2384: turtle filetype not recognizedJan Edmund Lazo2021-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Turtle filetype not recognized. Solution: Add a rule to detect turtle files. (closes vim/vim#7722) https://github.com/vim/vim/commit/5e6a7aa2b26077775906eb8411952dc6259694de
| * | | | vim-patch:8.2.2379: do spell suggestions twice if 'spellsuggest' contains numberJan Edmund Lazo2021-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Finding spell suggestions twice if 'spellsuggest' contains number. Solution: Only do internal suggestions once. (closes vim/vim#7713) https://github.com/vim/vim/commit/77a849c4b3d73c228013a047913c90834a93b4f6
* | | | | Missing argument for package.loadlib()matveyt2021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow for foo.bar.baz module name Make luaopen_module() name compatible with Lua 5.1
* | | | | Merge pull request #13813 from notomo/fix-nvim-echo-clearBjörn Linse2021-01-22
|\ \ \ \ \ | | | | | | | | | | | | api(echo): should clear cmdline before echo
| * | | | | api(echo): should clear cmdline before echonotomo2021-01-21
| | | | | |
* | | | | | Merge pull request #13679 from chentau/gravityBjörn Linse2021-01-22
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Extmarks api: allow for gravity
| * | | | | change end_right_gravity error behaviorchentau2021-01-12
| | | | | |
| * | | | | change gravity to be a boolean flag, and add corresponding flag for end ↵chentau2021-01-05
| | | | | | | | | | | | | | | | | | | | | | | | position of extmark
| * | | | | allow for extmark gravity to be set through apichentau2021-01-03
| | | | | |
* | | | | | Update Ukrainian translation (#13785)Anatolii Sakhnik2021-01-21
| |/ / / / |/| | | |
* | | | | api: nvim_echonotomo2021-01-20
| |/ / / |/| | |
* | | | Merge pull request #13767 from srafi1/rm-restricted-mode-docsJan Edmund Lazo2021-01-18
|\ \ \ \ | |_|/ / |/| | | Remove -Z flag from --help message