summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_ex_mode.vim
AgeCommit message (Collapse)Author
6 dayspatch 9.1.0713: Newline causes E749 in Ex modev9.1.0713zeertzjq
Problem: Newline causes E749 in Ex mode (after 9.1.0573). Solution: Don't execute empty command followed by a newline. closes: #15614 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-08-01patch 9.1.0651: ex: trailing dot is optional for :g and :insert/:appendv9.1.0651Mohamed Akram
Problem: ex: trailing dot is optional for :g and :insert/:append Solution: don't break out early, when the next command is empty. (Mohamed Akram) The terminating period is optional for the last command in a global command list. closes: #15407 Signed-off-by: Mohamed Akram <mohd.akram@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-07-14patch 9.1.0582: Printed line doesn't overwrite colon when pressing Enter in ↵v9.1.0582zeertzjq
Ex mode Problem: Printed line no longer overwrites colon when pressing Enter in Ex mode (after 9.1.0573). Solution: Restore the behavior of pressing Enter in Ex mode. (zeertzjq) closes: #15258 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-07-13patch 9.1.0574: ex: wrong handling of commands after barv9.1.0574Mohamed Akram
Problem: ex: wrong handling of commands after bar Solution: for :append, :insert and :change use the text after the bar as input for those commands. This is what POSIX requests. (Mohamed Akram) See the POSIX Spec: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html#tag_20_40_13_03 Section 12.c closes: #15229 Signed-off-by: Mohamed Akram <mohd.akram@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-07-12patch 9.1.0573: ex: no implicit print for single addressesv9.1.0573Mohamed Akram
Problem: ex: no implicit print for single addresses Solution: explicitly print even during single addresses, as requested by POSIX (Mohamed Akram) See the POSIX behaviour here: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html#tag_20_40_13_03 Section 6b closes: #15230 Signed-off-by: Mohamed Akram <mohd.akram@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-07-07patch 9.1.0539: Not enough tests for what v9.1.0535 fixedv9.1.0539Christian Brabandt
Problem: Not enough tests for what v9.1.0535 fixed Solution: Add another test for ex-mode This comes from: https://groups.google.com/g/vim_dev/c/F5-tDqoafz8/m/GqKF-uQsLD0J related: #15120 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-07-06patch 9.1.0535: newline escape wrong in ex modev9.1.0535Mohamed Akram
Problem: newline escape wrong in ex mode (Konrad Schwarz) Solution: partly revert patch 7.3.014, remove backslash in front of a newline when not in prompt mode in ex line mode (Mohamed Akram) This fixes newline escaping to allow passing multiple commands to ":global", multiple lines to shell commands, and ending lines in append mode with backslashes. This should fix a POSIX/(traditional) VI incompatiblity. This reverts a previous incorrect attempt at patch v7.3.014 to fix append mode which removed half of trailing backslashes which lead to, eg. the following two commands being parsed as having a different number of backslashes: ``` !echo foo\\\ ``` ``` !echo foo\\ \ ``` fixes: #6135 fixes: #7244 closes: #15120 Signed-off-by: Mohamed Akram <mohd.akram@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-06-25patch 9.0.1665: empty CmdlineEnter autocommand causes errors in Ex modev9.0.1665Christian Brabandt
Problem: Empty CmdlineEnter autocommand causes errors in Ex mode. Solution: Save and restore ex_pressedreturn. (Christian Brabandt, closes # 12581, closes #12578)
2023-03-07patch 9.0.1392: using NULL pointer with nested :open commandv9.0.1392Bram Moolenaar
Problem: Using NULL pointer with nested :open command. Solution: Check that ccline.cmdbuff is not NULL.
2022-09-21patch 9.0.0538: manually deleting test temp filesv9.0.0538Bram Moolenaar
Problem: Manually deleting test temp files. Solution: Add the 'D' flag to writefile().
2022-07-26patch 9.0.0082: cannot interrupt global command from command linev9.0.0082zeertzjq
Problem: Cannot interrupt global command from command line. Solution: Reset got_int in another place. (closes #10739)
2022-07-14patch 9.0.0051: using CTRL-C wih :append may hang Vimv9.0.0051zeertzjq
Problem: Using CTRL-C wih :append may hang Vim. Solution: Reset got_int. (closes #10729, closes #10728)
2022-06-14patch 8.2.5094: MS-Windows GUI: empty command may cause a dialogv8.2.5094Bram Moolenaar
Problem: MS-Windows GUI: empty command may cause a dialog. Solution: Delete the dialog file. Improve the message.
2022-04-16patch 8.2.4763: using invalid pointer with "V:" in Ex modev8.2.4763Bram Moolenaar
Problem: Using invalid pointer with "V:" in Ex mode. Solution: Correctly handle the command being changed to "+".
2022-01-25patch 8.2.4214: illegal memory access with large 'tabstop' in Ex modev8.2.4214Bram Moolenaar
Problem: Illegal memory access with large 'tabstop' in Ex mode. Solution: Allocate enough memory.
2021-12-05patch 8.2.3741: using freed memory in open commandv8.2.3741Bram Moolenaar
Problem: Using freed memory in open command. Solution: Make a copy of the current line.
2021-05-16patch 8.2.2858: test fails because of changed error messagev8.2.2858Bram Moolenaar
Problem: Test fails because of changed error message. Solution: Adjust the expected error message.
2021-04-07patch 8.2.2732: prompt for s///c in Ex mode can be wrongv8.2.2732Bram Moolenaar
Problem: Prompt for s///c in Ex mode can be wrong. Solution: Position the cursor before showing the prompt. (closes #8073)
2021-01-28patch 8.2.2424: some tests are known to cause an error with ASANv8.2.2424Bram Moolenaar
Problem: Some tests are known to cause an error with ASAN. Solution: Add CheckNotAsan.
2021-01-28patch 8.2.2422: crash when deleting with line number out of rangev8.2.2422Bram Moolenaar
Problem: Crash when deleting with line number out of range. (Houyunsong) Solution: Avoid using a negative line number.
2020-11-23patch 8.2.2035: MS-Windows: some tests may failv8.2.2035Bram Moolenaar
Problem: MS-Windows: some tests may fail. Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
2020-11-01patch 8.2.1941: Ex mode test fails on MS-Windows with GUIv8.2.1941Bram Moolenaar
Problem: Ex mode test fails on MS-Windows with GUI. Solution: Skip the test when using gvim.
2020-11-01patch 8.2.1939: invalid memory access in Ex mode with global commandv8.2.1939Bram Moolenaar
Problem: Invalid memory access in Ex mode with global command. Solution: Make sure the cursor is on a valid line. (closes #7238)
2020-06-18patch 8.2.1000: get error when leaving Ex mode with :visualv8.2.1000Bram Moolenaar
Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter autocommand was used. Solution: Reset ex_pressedreturn. (closes #6293)
2020-04-21patch 8.2.0614: get ml_get error when deleting a line in 'completefunc'v8.2.0614Bram Moolenaar
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan Lakshmanan) Solution: Lock the text while evaluating 'completefunc'.
2020-04-04patch 8.2.0509: various code is not properly tested.v8.2.0509Bram Moolenaar
Problem: various code is not properly tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
2020-03-23patch 8.2.0433: INT signal not properly testedv8.2.0433Bram Moolenaar
Problem: INT signal not properly tested. Solution: Add a test. Also clean up some unnecessary lines. (Dominique Pelle, closes #5828)
2020-03-10patch 8.2.0369: various Normal mode commands not fully testedv8.2.0369Bram Moolenaar
Problem: Various Normal mode commands not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
2020-03-06patch 8.2.0358: insufficient testing for indent.cv8.2.0358Bram Moolenaar
Problem: Insufficient testing for indent.c. Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736)
2020-03-02patch 8.2.0347: various code not covered by testsv8.2.0347Bram Moolenaar
Problem: Various code not covered by tests. Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720)
2020-03-01patch 8.2.0342: some code in ex_getln.c not covered by testsv8.2.0342Bram Moolenaar
Problem: Some code in ex_getln.c not covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes #5717)
2020-02-27patch 8.2.0325: ex_getln.c code not covered by testsv8.2.0325Bram Moolenaar
Problem: Ex_getln.c code not covered by tests. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702)
2020-02-21patch 8.2.0293: various Ex commands not sufficiently testedv8.2.0293Bram Moolenaar
Problem: Various Ex commands not sufficiently tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
2020-02-18patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :globalv8.2.0274Bram Moolenaar
Problem: Hang with combination of feedkeys(), Ex mode and :global. (Yegappan Lakshmanan) Solution: Add the pending_exmode_active flag.
2020-02-17patch 8.2.0270: some code not covered by testsv8.2.0270Bram Moolenaar
Problem: Some code not covered by tests. Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
2020-02-11patch 8.2.0243: insufficient code coverage for ex_docmd.c functionsv8.2.0243Bram Moolenaar
Problem: Insufficient code coverage for ex_docmd.c functions. Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
2020-02-03patch 8.2.0203: :helptags and some other functionality not testedv8.2.0203Bram Moolenaar
Problem: :helptags and some other functionality not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
2019-12-18patch 8.2.0023: command line editing not sufficiently testedv8.2.0023Bram Moolenaar
Problem: Command line editing not sufficiently tested. Solution: Add more tests. (Dominique Pelle, closes #5374)