summaryrefslogtreecommitdiffstats
path: root/src/arglist.c
AgeCommit message (Collapse)Author
2024-03-03patch 9.1.0147: Cannot keep a buffer focused in a windowv9.1.0147Colin Kennedy
Problem: Cannot keep a buffer focused in a window (Amit Levy) Solution: Add the 'winfixbuf' window-local option (Colin Kennedy) fixes: #6445 closes: #13903 Signed-off-by: Colin Kennedy <colinvfx@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-09patch 9.1.0087: Restoring lastused_tabpage too early in do_arg_all()v9.1.0087glepnir
Problem: Restore lastused_tabpage too early in do_arg_all() function it will change later in the function. Solution: Restore lastused_tabpage a bit later, when being done with tabpages (glepnir) closes: #13992 Signed-off-by: glepnir <glephunter@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-23patch 9.1.0046: :drop does not re-use empty bufferv9.1.0046Rocco Mao
Problem: :drop does not re-use empty buffer (Rocco Mao) Solution: Make :drop re-use an empty buffer (Rocco Mao) fixes: #13851 closes: #13881 Signed-off-by: Rocco Mao <dapeng.mao@qq.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-16patch 9.0.2168: Moving tabpages on :drop may cause an endless loopv9.0.2168Christian Brabandt
Problem: Moving tabpages on :drop may cause an endless loop Solution: Disallow moving tabpages on :drop when cleaning up the arglist first Moving tabpages during drop command may cause an endless loop When executing a :tab drop command, Vim will close all windows not in the argument list. This triggers various autocommands. If a user has created an 'au Tabenter * :tabmove -' autocommand, this can cause Vim to end up in an endless loop, when trying to iterate over all tabs (which would trigger the tabmove autocommand, which will change the tpnext pointer, etc). So instead of blocking all autocommands before we actually try to edit the given file, lets simply disallow to move tabpages around. Otherwise, we may change the expected number of events triggered during a :drop command, which users may rely on (there is actually a test, that expects various TabLeave/TabEnter autocommands) and would therefore be a backwards incompatible change. Don't make this an error, as this could trigger several times during the drop command, but silently ignore the :tabmove command in this case (and it should in fact finally trigger successfully when loading the given file in a new tab). So let's just be quiet here instead. fixes: #13676 closes: #13686 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-04-20patch 9.0.1472: ":drop fname" may change the last used tab pagev9.0.1472Bram Moolenaar
Problem: ":drop fname" may change the last used tab page. Solution: Restore the last used tab page when :drop has changed it. (closes #12087)
2023-01-02patch 9.0.1132: code is indented more than neededv9.0.1132Yegappan Lakshmanan
Problem: Code is indented more than needed. Solution: Use an early return to reduce indentation. (Yegappan Lakshmanan, closes #11769)
2022-11-24patch 9.0.0934: various code formatting issuesv9.0.0934Bram Moolenaar
Problem: Various code formatting issues. Solution: Improve code formatting.
2022-11-12patch 9.0.0865: duplicate arguments are not always detectedv9.0.0865Nir Lichtman
Problem: Duplicate arguments are not always detected. Solution: Expand to full path before comparing arguments. (Nir Lichtman, closes #11505, closes #9402)
2022-10-13patch 9.0.0747: too many #ifdefsv9.0.0747Martin Tournoij
Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes #11330)
2022-10-04patch 9.0.0657: too many #ifdefsv9.0.0657Martin Tournoij
Problem: Too many #ifdefs. Solution: Graduate the +cmdwin feature. Now the tiny and small builds are equal, drop the small build. (Martin Tournoij, closes #11268)
2022-09-18patch 9.0.0498: various small issuesv9.0.0498Bram Moolenaar
Problem: Various small issues. Solution: Various small fixes.
2022-09-05patch 9.0.0388: the do_arg_all() function is too longv9.0.0388Yegappan Lakshmanan
Problem: The do_arg_all() function is too long. Solution: Split the function in smaller parts. (Yegappan Lakshmanan, closes #11062)
2022-09-05patch 9.0.0386: some code blocks are nested too deepv9.0.0386Yegappan Lakshmanan
Problem: Some code blocks are nested too deep. Solution: Bail out earlier. (Yegappan Lakshmanan, closes #11058)
2022-07-31patch 9.0.0124: code has more indent than neededv9.0.0124zeertzjq
Problem: Code has more indent than needed. Solution: Use continue and return statements. (closes #10824)
2022-02-03patch 8.2.4288: preprocessor indents are inconsistentv8.2.4288K.Takata
Problem: Preprocessor indents are inconsistent. Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
2022-01-08patch 8.2.4043: using int for second argument of ga_init2()v8.2.4043Bram Moolenaar
Problem: Using int for second argument of ga_init2(). Solution: Remove unnessary type cast (int) when using sizeof().
2022-01-01patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-31patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-31patch 8.2.3960: error messages are spread outv8.2.3960Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-31patch 8.2.3957: error messages are spread outv8.2.3957Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-24patch 8.2.3888: the argument list may contain duplicatesv8.2.3888Nir Lichtman
Problem: The argument list may contain duplicates. Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
2021-12-24patch 8.2.3884: crash when clearing the argument list while using itv8.2.3884Bram Moolenaar
Problem: Crash when clearing the argument list while using it. Solution: Lock the argument list for ":all".
2021-11-29patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
2021-08-02patch 8.2.3275: optimizer can use hints about ga_grow() normally succeedingv8.2.3275Bram Moolenaar
Problem: Optimizer can use hints about ga_grow() normally succeeding. Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique Pellé, issue #8635)
2021-07-27patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan
Problem: Vim9: runtime and compile time type checks are not the same. Solution: Add more runtime type checks for builtin functions. (Yegappan Lakshmanan, closes #8646)
2021-06-27patch 8.2.3069: error messages are spread outv8.2.3069Bram Moolenaar
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
2021-02-03patch 8.2.2463: using :arglocal in an autocommand may use freed memoryv8.2.2463Bram Moolenaar
Problem: Using :arglocal in an autocommand may use freed memory. (houyunsong) Solution: Check if the arglist is locked.
2021-01-30patch 8.2.2430: :vimgrep expands wildcards twicev8.2.2430Bram Moolenaar
Problem: :vimgrep expands wildcards twice. Solution: Do not expand wildcards a second time.
2021-01-28patch 8.2.2421: double free when using autocommand with "argdel"v8.2.2421Bram Moolenaar
Problem: Double free when using autocommand with "argdel". (Houyunsong) Solution: Add the arglist_locked flag.
2021-01-26patch 8.2.2413: crash when using :all while using a cmdline windowv8.2.2413Bram Moolenaar
Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal) Solution: Disallow :all from the cmdline window.
2020-12-21patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar
Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-08-30patch 8.2.1547: various comment problemsv8.2.1547Bram Moolenaar
Problem: Various comment problems. Solution: Update comments.
2020-08-17patch 8.2.1472: ":argdel" does not work like ":.argdel" as documentedv8.2.1472Bram Moolenaar
Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey Demin) Solution: Make ":argdel" work like ":.argdel". (closes #6727) Also fix giving the error "0 more files to edit".
2020-04-02patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar
Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
2020-02-01patch 8.2.0194: some commands can cause problems in terminal popupv8.2.0194Bram Moolenaar
Problem: Some commands can cause problems in terminal popup. Solution: Disallow more commands.
2020-01-13patch 8.2.0116: BufEnter autocmd not triggered on ":tab drop"v8.2.0116Bram Moolenaar
Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart) Solution: Decrement autocmd_no_enter for the last file. (closes #1660, closes #5473)
2019-08-18patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar
Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
2019-08-17patch 8.1.1869: code for the argument list is spread outv8.1.1869Bram Moolenaar
Problem: Code for the argument list is spread out. Solution: Put argument list code in arglist.c. (Yegappan Lakshmanan, closes #4819)