Bram Moolenaar
d7a137fb0d
patch 8.1.0049: shell cannot tell running in a terminal window
...
Problem: Shell cannot tell running in a terminal window.
Solution: Add the VIM_TERMINAL environment variable. (Christian Brabandt)
2018-06-12 18:05:24 +02:00
Bram Moolenaar
07ccf7ce7f
patch 8.1.0048: vim_str2nr() does not handle numbers close to the maximum
...
Problem: vim_str2nr() does not handle numbers close to the maximum.
Solution: Check for overflow more precisely. (Ken Takata, closes #2746 )
2018-06-12 17:25:36 +02:00
Bram Moolenaar
1983401088
patch 8.1.0047: no completion for :unlet $VAR
...
Problem: No completion for :unlet $VAR.
Solution: Add completion. (Jason Franklin)
2018-06-12 17:03:39 +02:00
Bram Moolenaar
1c3c10492a
patch 8.1.0046: loading a session file fails if 'winheight' is big
...
Problem: Loading a session file fails if 'winheight' is a big number.
Solution: Set 'minwinheight' to zero at first. Don't give an error when
setting 'minwinheight' while 'winheight' is a big number.
Fix using vertical splits. Fix setting 'minwinwidth'.
(closes #2970 )
2018-06-12 16:49:30 +02:00
Bram Moolenaar
ae0f30b761
patch 8.1.0045: popup test isn't run completely
...
Problem: Popup test isn't run completely.
Solution: Remove "finish". Clean up function definitions.
2018-06-12 15:22:43 +02:00
Bram Moolenaar
8903676d3d
patch 8.1.0044: if a test function exists Vim this may go unnoticed
...
Problem: If a test function exists Vim this may go unnoticed.
Solution: Check for a test funtion quitting Vim. Fix tests that did exit
Vim.
2018-06-12 14:58:39 +02:00
Bram Moolenaar
7580849df9
patch 8.1.0043: ++bad argument of :edit does not work properly
...
Problem: ++bad argument of :edit does not work properly.
Solution: Return FAIL from get_bad_opt() only when there is no valid
argument. (Dominique Pelle, Christian Brabandt, closes #2966 ,
closes #2947 )
2018-06-12 12:39:41 +02:00
Bram Moolenaar
f98b845dd1
patch 8.1.0042: if omni completion opens a window Insert mode is stopped
...
Problem: If omni completion opens a window Insert mode is stopped.
(Hirohito Higashi)
Solution: Only set stop_insert_mode in a prompt buffer window.
2018-06-10 14:39:52 +02:00
Bram Moolenaar
e950f9992b
patch 8.1.0041: attribute "width" missing from python window attribute list
...
Problem: Attribute "width" missing from python window attribute list.
Solution: Add the item. (Ken Takata) Order the list like the items are used
in the WindowAttr() function.
2018-06-10 13:55:55 +02:00
Bram Moolenaar
e31e256ba1
patch 8.1.0040: warnings from 64-bit compiler
...
Problem: Warnings from 64-bit compiler.
Solution: Add type casts. (Mike Williams)
2018-06-10 13:12:55 +02:00
Bram Moolenaar
d79a26219d
patch 8.1.0039: cannot easily delete lines in another buffer
...
Problem: Cannot easily delete lines in another buffer.
Solution: Add deletebufline().
2018-06-07 18:17:46 +02:00
Bram Moolenaar
680c99b2ef
patch 8.1.0038: popup test causes Vim to exit
...
Problem: Popup test causes Vim to exit.
Solution: Disable the broken part of the test for now.
2018-06-07 15:18:41 +02:00
Bram Moolenaar
ca851593a6
patch 8.1.0037: cannot easily append lines to another buffer
...
Problem: Cannot easily append lines to another buffer.
Solution: Add appendbufline().
2018-06-06 21:04:07 +02:00
Bram Moolenaar
891e1fd894
patch 8.1.0036: not restoring Insert mode if leaving prompt buffer with mouse
...
Problem: Not restoring Insert mode if leaving a prompt buffer by using a
mouse click.
Solution: Set b_prompt_insert appropriately. Also correct cursor position
when moving cursor to last line.
2018-06-06 18:02:39 +02:00
Bram Moolenaar
6d41c78e35
patch 8.1.0035: not easy to switch between prompt buffer and other windows
...
Problem: Not easy to switch between prompt buffer and other windows.
Solution: Accept CTRL-W commands in Insert mode. Start and stop Insert mode
as one would expect.
2018-06-06 09:11:12 +02:00
Bram Moolenaar
adb8fbec4f
patch 8.1.0034: cursor not restored with ":edit #"
...
Problem: Cursor not restored with ":edit #".
Solution: Don't assume autocommands moved the cursor when it was moved to
the first non-blank.
2018-06-04 20:34:23 +02:00
Bram Moolenaar
acb9effecc
patch 8.1.0033: keys to stop Vim in terminal are wrong
...
Problem: Keys to stop Vim in terminal are wrong. (Marius Gedminas)
Solution: Move ":" to before CTRL-U.
2018-06-04 19:11:11 +02:00
Bram Moolenaar
6b810d92a9
patch 8.1.0032: BS in prompt buffer starts new line
...
Problem: BS in prompt buffer starts new line.
Solution: Do not allows BS over the prompt. Make term_sendkeys() handle
special keys. Add a test.
2018-06-04 17:28:44 +02:00
Bram Moolenaar
c8523e2e6c
patch 8.1.0031: terminal test aucmd_on_close if flaky
...
Problem: Terminal test aucmd_on_close if flaky.
Solution: Wait a bit longer.
2018-06-03 18:22:02 +02:00
Bram Moolenaar
3339d3dad9
patch 8.1.0030: stoping Vim running in a terminal may not work
...
Problem: Stoping Vim running in a terminal may not work.
Solution: Instead of sending <Esc> send CTRL-O.
2018-06-03 17:10:40 +02:00
Bram Moolenaar
1580f755c9
patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists
...
Problem: Terminal test fails on MS-Windows when "wc" exists.
Solution: Skip test with redirection on MS-Windows.
2018-06-03 15:26:36 +02:00
Bram Moolenaar
1149382d21
patch 8.1.0028: prompt buffer test fails on MS-Windows
...
Problem: Prompt buffer test fails on MS-Windows.
Solution: Disable the test for now. Remove stray assert.
2018-06-03 15:08:09 +02:00
Bram Moolenaar
f273245f64
patch 8.1.0027: difficult to make a plugin that feeds a line to a job
...
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
2018-06-03 14:47:35 +02:00
Bram Moolenaar
33c5e9fa7a
patch 8.1.0026: terminal test fails with very tall terminal
...
Problem: Terminal test fails with very tall terminal. (Tom)
Solution: Fix the terminal window size in the test.
2018-05-26 18:58:51 +02:00
Bram Moolenaar
e5fa11186f
patch 8.1.0025: no test for the undofile() function
...
Problem: No test for the undofile() function.
Solution: Add test. (Dominique Pelle, closes #2958 )
2018-05-26 18:46:30 +02:00
Bram Moolenaar
6b69e5c646
patch 8.1.0024: % command not testded on #ifdef and comment
...
Problem: % command not testded on #ifdef and comment.
Solution: Add tests. (Dominique Pelle, closes #2956 )
2018-05-26 18:39:32 +02:00
Bram Moolenaar
22c105640c
patch 8.1.0023: gcc 8.1 warns for use of strncpy()
...
Problem: gcc 8.1 warns for use of strncpy(). (John Marriott)
Solution: Use mch_memmove() instead of STRNCPY().
2018-05-26 17:35:27 +02:00
Bram Moolenaar
833093bfb0
patch 8.1.0022: repeating put from expression register fails
...
Problem: Repeating put from expression register fails.
Solution: Re-evaluate the expression register. (Andy Massimino,
closes #2945 )
2018-05-23 21:53:52 +02:00
Bram Moolenaar
d315cf551f
patch 8.1.0021: clang warns for undefined behavior
...
Problem: Clang warns for undefined behavior.
Solution: Move #ifdef outside of sprintf() call.(suggestion by Michael
Jarvis, closes #2956 )
2018-05-23 20:30:56 +02:00
Bram Moolenaar
0b0f0992d4
Update runtime files.
2018-05-22 21:41:30 +02:00
Bram Moolenaar
0b6d911e5d
patch 8.1.0020: cannot tell whether a register is executing or recording
...
Problem: Cannot tell whether a register is being used for executing or
recording.
Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi,
closes #2745 ) Rename the global variables for consistency. Store
the register name in reg_executing.
2018-05-22 20:35:17 +02:00
Bram Moolenaar
b4518563c7
patch 8.1.0019: error when defining a Lambda with index of a function result
...
Problem: Error when defining a Lambda with index of a function result.
Solution: When not evaluating an expression and skipping a function call,
set the return value to VAR_UNKNOWN.
2018-05-22 18:31:35 +02:00
Bram Moolenaar
bdb657924d
patch 8.1.0018: using "gn" may select wrong text when wrapping
...
Problem: Using "gn" may select wrong text when wrapping.
Solution: Avoid wrapping when searching forward. (Christian Brabandt)
2018-05-22 17:50:42 +02:00
Bram Moolenaar
62fe66f251
patch 8.1.0017: shell command completion has duplicates
...
Problem: Shell command completion has duplicates. (Yegappan Lakshmanan)
Solution: Use a hash table to avoid duplicates. (Ozaki Kiichi, closes #539 ,
closes #2733 )
2018-05-22 16:58:47 +02:00
Bram Moolenaar
d45aa55d42
patch 8.1.0016: possible crash in term_wait()
...
Problem: Possible crash in term_wait(). (Dominique Pelle)
Solution: Check for a valid buffer after ui_delay(). (closes #2944 )
2018-05-21 22:50:29 +02:00
Bram Moolenaar
05af9a4191
patch 8.1.0015: cursor color wrong when closing a terminal window
...
Problem: Cursor color wrong when closing a terminal window, ending up in
another terminal window. (Dominique Pelle)
Solution: Bail out of terminal_loop() when the buffer changes.
(closes #2942 )
2018-05-21 18:48:12 +02:00
Bram Moolenaar
6053f2d29a
patch 8.1.0014: qf_init_ext() is too long
...
Problem: qf_init_ext() is too long.
Solution: Split it into multiple functions. (Yegappan Lakshmanan,
closes #2939 )
2018-05-21 16:56:38 +02:00
Bram Moolenaar
4f7fd56b42
patch 8.1.0013: using freed memory when changing terminal cursor color
...
Problem: Using freed memory when changing terminal cursor color.
Solution: Make a copy of the color. (Dominique Pelle, closes #2938 ,
closes #2941 )
2018-05-21 14:55:28 +02:00
Bram Moolenaar
1f131aee0e
patch 8.1.0012: misplaced #endif
...
Problem: Misplaced #endif.
Solution: Move the #endif to after the expression. (David Binderman)
2018-05-21 13:39:40 +02:00
Bram Moolenaar
f88a5bc102
patch 8.1.0011: maparg() and mapcheck() confuse empty and non-existing
...
Problem: maparg() and mapcheck() confuse empty and non-existing.
Solution: Return <Nop> for an existing non-empty mapping. (closes #2940 )
2018-05-21 13:28:44 +02:00
Bram Moolenaar
6bff719f7e
patch 8.1.0010: efm_to_regpat() is too long
...
Problem: efm_to_regpat() is too long.
Solution: Split off three functions. (Yegappan Lakshmanan, closes #2924 )
2018-05-20 15:41:17 +02:00
Bram Moolenaar
dbe8869c41
patch 8.1.0009: tabpages insufficiently tested
...
Problem: Tabpages insufficiently tested.
Solution: Add more test coverage. (Dominique Pelle, closes #2934 )
2018-05-20 14:57:22 +02:00
Bram Moolenaar
42ab17b8e3
patch 8.1.0008: no test for strwidth()
...
Problem: No test for strwidth().
Solution: Add a test. (Dominique Pelle, closes #2931 )
2018-05-20 14:11:10 +02:00
Bram Moolenaar
2e94976abd
patch 8.1.0007: no test for "o" and "O" in Visual block mode
...
Problem: No test for "o" and "O" in Visual block mode.
Solution: Add a test. (Dominique Pelle, closes #2932 )
2018-05-20 14:06:38 +02:00
Bram Moolenaar
a772baf85a
patch 8.1.0006: syn_id2cterm_bg() may be undefined
...
Problem: syn_id2cterm_bg() may be undefined. (Axel Bender)
Solution: Adjust #ifdef.
2018-05-20 13:35:44 +02:00
Bram Moolenaar
d19b234154
patch 8.1.0005: test for :compiler command fails on MS-Windows
...
Problem: Test for :compiler command fails on MS-Windows.
Solution: Ignore difference in path.
2018-05-19 16:45:15 +02:00
Bram Moolenaar
54651f7494
patch 8.1.0004: test for :compiler command sometimes fails
...
Problem: Test for :compiler command sometimes fails.
Solution: Be less strict about the error message. (Dominique Pelle)
2018-05-19 15:52:11 +02:00
Bram Moolenaar
10561fe0a3
patch 8.1.0003: the :compiler command is not tested
...
Problem: The :compiler command is not tested.
Solution: Add a test. (Dominique Pelle, closes #2930 )
2018-05-19 15:01:10 +02:00
Bram Moolenaar
2abad54ced
patch 8.1.0002: :stopinsert changes the message position
...
Problem: :stopinsert changes the message position.
Solution: Save and restore msg_col and msg_row in clearmode(). (Jason
Franklin)
2018-05-19 14:43:45 +02:00
Bram Moolenaar
2f01889055
Runtime file and translation updates.
2018-05-18 18:12:06 +02:00