]>
granicus.if.org Git - vim/log
Bram Moolenaar [Fri, 31 Aug 2018 20:09:54 +0000 (22:09 +0200)]
patch 8.1.0339: wrong highlight when 'incsearch' set and cancelling :s
Problem: Wrong highlight when 'incsearch' set and cancelling :s.
Solution: Reset search line range. (Hirohito Higashi, Masamichi Abe)
Bram Moolenaar [Thu, 30 Aug 2018 15:47:05 +0000 (17:47 +0200)]
patch 8.1.0338: MS-Windows: VTP doesn't work properly with Powershell
Problem: MS-Windows: VTP doesn't work properly with Powershell.
Solution: Adjust the color index. (Nobuhiro Takasaki, closes #3347)
Bram Moolenaar [Thu, 30 Aug 2018 13:58:28 +0000 (15:58 +0200)]
patch 8.1.0337: :file fails in quickfix command
Problem: :file fails in quickfix command.
Solution: Allow :file without argument when curbuf_lock is set. (Jason
Franklin)
Bram Moolenaar [Thu, 30 Aug 2018 12:16:06 +0000 (14:16 +0200)]
patch 8.1.0336: mkview test still fails on CI
Problem: mkview test still fails on CI.
Solution: Ignore curswant, don't see another solution.
Bram Moolenaar [Thu, 30 Aug 2018 12:04:25 +0000 (14:04 +0200)]
patch 8.1.0335: mkview test fails on CI
Problem: mkview test fails on CI.
Solution: Attempt to force recomputing curswant after folding.
Bram Moolenaar [Thu, 30 Aug 2018 11:07:17 +0000 (13:07 +0200)]
patch 8.1.0334: 'autowrite' takes effect when buffer is not to be written
Problem: 'autowrite' takes effect when buffer is not to be written.
Solution: Don't write buffers that are not supposed to be written. (Even Q
Jones, closes #3391) Add tests for 'autowrite'.
Bram Moolenaar [Wed, 29 Aug 2018 19:42:42 +0000 (21:42 +0200)]
patch 8.1.0333: :mkview does not restore cursor properly after "$"
Problem: :mkview does not restore cursor properly after "$". (Dominique
Pelle)
Solution: Position the cursor with "normal! $".
Bram Moolenaar [Tue, 28 Aug 2018 21:09:07 +0000 (23:09 +0200)]
patch 8.1.0332: get Gdk-Critical error on first balloon show
Problem: Get Gdk-Critical error on first balloon show.
Solution: Get screen geometry using the draw area widget. (Davit Samvelyan,
closes #3386)
Bram Moolenaar [Tue, 28 Aug 2018 20:58:02 +0000 (22:58 +0200)]
Update runtime files.
Bram Moolenaar [Tue, 28 Aug 2018 20:19:31 +0000 (22:19 +0200)]
patch 8.1.0331: insufficient test coverage for :mkview and :loadview
Problem: Insufficient test coverage for :mkview and :loadview.
Solution: Add tests. (Dominique Pelle, closes #3385)
Bram Moolenaar [Tue, 28 Aug 2018 20:07:44 +0000 (22:07 +0200)]
patch 8.1.0330: the qf_add_entries() function is too long
Problem: The qf_add_entries() function is too long.
Solution: Split in two parts. (Yegappan Lakshmanan)
Bram Moolenaar [Mon, 27 Aug 2018 21:24:16 +0000 (23:24 +0200)]
patch 8.1.0329: using inputlist() during startup results in garbage
Problem: Using inputlist() during startup results in garbage. (Dominique
Pelle)
Solution: Make sure the xterm tracing is stopped when disabling the mouse.
Bram Moolenaar [Sun, 26 Aug 2018 19:23:07 +0000 (21:23 +0200)]
patch 8.1.0328: inputlist() doesn't work with a timer
Problem: inputlist() doesn't work with a timer. (Dominique Pelle)
Solution: Don't redraw when cmdline_row is zero. (Hirohito Higashi,
closes #3239)
Bram Moolenaar [Fri, 24 Aug 2018 20:07:58 +0000 (22:07 +0200)]
patch 8.1.0327: the "g CTRL-G" command isn't tested much
Problem: The "g CTRL-G" command isn't tested much.
Solution: Add more tests. (Dominique Pelle, closes #3369)
Bram Moolenaar [Fri, 24 Aug 2018 19:30:28 +0000 (21:30 +0200)]
patch 8.1.0326: screen dump does not consider NUL and space equal
Problem: Screen dump does not consider NUL and space equal.
Solution: Use temp variables instead of character from cell.
Bram Moolenaar [Thu, 23 Aug 2018 21:01:27 +0000 (23:01 +0200)]
patch 8.1.0325: strings in swap file may not be NUL terminated
Problem: Strings in swap file may not be NUL terminated. (Coverity)
Solution: Limit the length of the used string.
Bram Moolenaar [Thu, 23 Aug 2018 20:51:40 +0000 (22:51 +0200)]
patch 8.1.0324: off-by-one error in cmdidx check
Problem: Off-by-one error in cmdidx check. (Coverity)
Solution: Use ">=" instead of ">".
Bram Moolenaar [Thu, 23 Aug 2018 20:38:31 +0000 (22:38 +0200)]
patch 8.1.0323: reverse order of VTP calls only needed the first time
Problem: Reverse order of VTP calls only needed the first time.
Solution: Add a flag to remember the state. (Nobuhiro Takasaki, closes #3366)
Bram Moolenaar [Thu, 23 Aug 2018 20:20:35 +0000 (22:20 +0200)]
patch 8.1.0322: Test_copy_winopt() does not restore 'hidden'
Problem: Test_copy_winopt() does not restore 'hidden'.
Solution: Restore the option, fix indent. (Ozaki Kiichi, closes #3367)
Bram Moolenaar [Thu, 23 Aug 2018 18:55:45 +0000 (20:55 +0200)]
patch 8.1.0321: 'incsearch' regression: /\v highlights everything
Problem: 'incsearch' regression: /\v highlights everything.
Solution: Put back the empty_pattern() check.
Bram Moolenaar [Wed, 22 Aug 2018 21:05:44 +0000 (23:05 +0200)]
patch 8.1.0320: too much 'incsearch' highlight for pat matching everything
Problem: Too much 'incsearch' highlight for pattern matching everything.
Solution: Add the skiplen to the command and remove the line range.
(Christian Brabandt) Check for empty pattern earlier.
Bram Moolenaar [Wed, 22 Aug 2018 19:56:57 +0000 (21:56 +0200)]
patch 8.1.0319: bzero() function prototype doesn't work for Android
Problem: bzero() function prototype doesn't work for Android.
Solution: Add an #ifdef. (Elliott Hughes, closes #3365)
Bram Moolenaar [Wed, 22 Aug 2018 18:16:16 +0000 (20:16 +0200)]
patch 8.1.0318: the getftype() test may fail for char devices
Problem: The getftype() test may fail for char devices if the file
disappeared in between the listing and the getftype() call.
Solution: Ignore empty result. (Ozaki Kiichi, closes #3360)
Bram Moolenaar [Wed, 22 Aug 2018 18:06:26 +0000 (20:06 +0200)]
patch 8.1.0317: Cscope test fails when using shadow directory
Problem: Cscope test fails when using shadow directory.
Solution: Resolve symlink in Vim. (James McCoy, closes #3364)
Bram Moolenaar [Wed, 22 Aug 2018 09:28:01 +0000 (11:28 +0200)]
patch 8.1.0316: swapinfo() test fails on Travis
Problem: swapinfo() test fails on Travis.
Solution: Handle a long host name. (Ozaki Kiichi, closes #3361)
Also make the version check flexible. (James McCoy)
Bram Moolenaar [Tue, 21 Aug 2018 19:58:13 +0000 (21:58 +0200)]
patch 8.1.0315: helpgrep with language doesn't work properly
Problem: Helpgrep with language doesn't work properly. (Takuya Fujiwara)
Solution: Check for the language earlier. (Hirohito Higashi)
Bram Moolenaar [Tue, 21 Aug 2018 19:09:07 +0000 (21:09 +0200)]
patch 8.1.0314: build failure without the +eval feature
Problem: Build failure without the +eval feature. (Brenton Horne)
Solution: Add #ifdef. Also add the "dirty" item.
Bram Moolenaar [Tue, 21 Aug 2018 18:28:54 +0000 (20:28 +0200)]
patch 8.1.0313: information about a swap file is unavailable
Problem: Information about a swap file is unavailable.
Solution: Add swapinfo(). (Enzo Ferber)
Bram Moolenaar [Tue, 21 Aug 2018 17:47:48 +0000 (19:47 +0200)]
patch 8.1.0312: wrong type for flags used in signal handlers
Problem: Wrong type for flags used in signal handlers.
Solution: Use sig_atomic_t. (Dominique Pelle, closes #3356)
Bram Moolenaar [Tue, 21 Aug 2018 17:22:23 +0000 (19:22 +0200)]
patch 8.1.0311: filtering entries in a quickfix list is not easy
Problem: Filtering entries in a quickfix list is not easy.
Solution: Add the cfilter plugin. (Yegappan Lakshmanan)
Bram Moolenaar [Tue, 21 Aug 2018 16:50:18 +0000 (18:50 +0200)]
patch 8.1.0310: file info msg not always suppressed with 'F' in 'shortmess'
Problem: File info message not always suppressed with 'F' in 'shortmess'.
(Asheq Imran)
Solution: Save and restore msg_silent. (Christian Brabandt, closes #3221)
Bram Moolenaar [Tue, 21 Aug 2018 15:49:54 +0000 (17:49 +0200)]
patch 8.1.0309: profiling does not show a count for condition lines
Problem: Profiling does not show a count for condition lines. (Daniel
Hahler)
Solution: Count lines when not skipping. (Ozaki Kiichi, closes #2499)
Bram Moolenaar [Tue, 21 Aug 2018 15:07:45 +0000 (17:07 +0200)]
patch 8.1.0308: a quick undo shows "1 seconds ago"
Problem: A quick undo shows "1 seconds ago". (Tony Mechelynck)
Solution: Add singular/plural message.
Bram Moolenaar [Tue, 21 Aug 2018 14:56:34 +0000 (16:56 +0200)]
patch 8.1.0307: there is no good way to get the window layout
Problem: There is no good way to get the window layout.
Solution: Add the winlayout() function. (Yegappan Lakshmanan)
Bram Moolenaar [Tue, 21 Aug 2018 13:12:14 +0000 (15:12 +0200)]
patch 8.1.0306: plural messages are not translated properly
Problem: Plural messages are not translated properly.
Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin)
Bram Moolenaar [Tue, 21 Aug 2018 12:23:35 +0000 (14:23 +0200)]
patch 8.1.0305: missing support for Lua 5.4 32 bits on Unix
Problem: Missing support for Lua 5.4 32 bits on Unix.
Solution: Define lua_newuserdatauv. (Kazunobu Kuriyama)
Bram Moolenaar [Tue, 21 Aug 2018 11:09:10 +0000 (13:09 +0200)]
patch 8.1.0304: no redraw when using a STOP signal on Vim and then CONT
Problem: No redraw when using a STOP signal on Vim and then a CONT signal.
Solution: Catch the CONT signal and set the terminal to raw mode. This is
like 8.1.0244 but without the screen redraw and a fix for
multi-threading suggested by Dominique Pelle.
Bram Moolenaar [Mon, 20 Aug 2018 20:53:04 +0000 (22:53 +0200)]
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'.
Solution: Fix off-by-one error. (Shane Harper, closes #3351)
Bram Moolenaar [Mon, 20 Aug 2018 19:58:57 +0000 (21:58 +0200)]
patch 8.1.0302: crash when using :suspend and "fg"
Problem: Crash when using :suspend and "fg".
Solution: Undo patch 8.1.244.
Bram Moolenaar [Sun, 19 Aug 2018 20:58:45 +0000 (22:58 +0200)]
patch 8.1.0301: GTK: input method popup displayed on wrong screen.
Problem: GTK: Input method popup displayed on wrong screen.
Solution: Add the screen position offset. (Ken Takata, closes #3268)
Bram Moolenaar [Sun, 19 Aug 2018 20:20:16 +0000 (22:20 +0200)]
patch 8.1.0300: the old window title might be freed twice
Problem: The old window title might be freed twice. (Dominique Pelle)
Solution: Do not free "oldtitle" in a signal handler but set a flag to have
it freed later.
Bram Moolenaar [Sun, 19 Aug 2018 15:04:01 +0000 (17:04 +0200)]
patch 8.1.0299: misplaced comment
Problem: misplaced comment
Solution: Remove comment
Bram Moolenaar [Sun, 19 Aug 2018 14:09:27 +0000 (16:09 +0200)]
patch 8.1.0298: window resize test sometimes fails on Mac
Problem: Window resize test sometimes fails on Mac.
Solution: Add Test_popup_and_window_resize() to flaky tests.
Bram Moolenaar [Sun, 19 Aug 2018 12:38:42 +0000 (14:38 +0200)]
patch 8.1.0297: MS-Windows: tests fail, Vim crashes
Problem: MS-Windows: tests fail, Vim crashes.
Solution: Fix long file name handling.
Bram Moolenaar [Sat, 18 Aug 2018 19:23:05 +0000 (21:23 +0200)]
patch 8.1.0296: command parsing for 'incsearch' is a bit ugly
Problem: Command parsing for 'incsearch' is a bit ugly.
Solution: Return when there is no pattern. Put common checks together.
Bram Moolenaar [Sat, 18 Aug 2018 19:05:31 +0000 (21:05 +0200)]
patch 8.1.0295: no 'incsearch' highlighting for :vimgrep and similar
Problem: No 'incsearch' highlighting for :vimgrep and similar commands.
Solution: Parse the :vimgrep command and similar ones to locate the search
pattern. (Hirohito Higashi, closes #3344)
Bram Moolenaar [Sat, 18 Aug 2018 18:20:27 +0000 (20:20 +0200)]
patch 8.1.0294: MS-Windows: sometimes uses short directory name
Problem: MS-Windows: sometimes uses short directory name.
Solution: Expand to long file name with correct caps. (Nobuhiro Takasaki,
closes #3334)
Bram Moolenaar [Sat, 18 Aug 2018 17:59:54 +0000 (19:59 +0200)]
patch 8.1.0293: checks for type of stack is cryptic
Problem: Checks for type of stack is cryptic.
Solution: Define IS_QF_STACK() and IS_LL_STACK(). (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 18 Aug 2018 17:04:37 +0000 (19:04 +0200)]
patch 8.1.0292: MS-Windows: the text "self-installing" confuses some users
Problem: MS-Windows: the text "self-installing" confuses some users.
Solution: Remove the text from the uninstall entry. (closes #3337)
Bram Moolenaar [Sat, 18 Aug 2018 14:19:42 +0000 (16:19 +0200)]
patch 8.1.0291: 'incsearch' highlighting not used for :sort
Problem: 'incsearch' highlighting not used for :sort.
Solution: Handle pattern in :sort command.
Bram Moolenaar [Thu, 16 Aug 2018 19:37:50 +0000 (21:37 +0200)]
patch 8.1.0290: "cit" on an empty HTML tag changes the whole tag
Problem: "cit" on an empty HTML tag changes the whole tag.
Solution: Only adjust the area in Visual mode. (Andy Massimino,
closes #3332)
Bram Moolenaar [Wed, 15 Aug 2018 20:29:51 +0000 (22:29 +0200)]
patch 8.1.0289: cursor moves to wrong column after quickfix jump
Problem: Cursor moves to wrong column after quickfix jump.
Solution: Set the curswant flag. (Andy Massimino, closes #3331)
Bram Moolenaar [Wed, 15 Aug 2018 18:59:48 +0000 (20:59 +0200)]
patch 8.1.0288: quickfix code uses cmdidx too often
Problem: Quickfix code uses cmdidx too often.
Solution: Add is_loclist_cmd(). (Yegappan Lakshmanan)
Bram Moolenaar [Tue, 14 Aug 2018 20:08:25 +0000 (22:08 +0200)]
patch 8.1.0287: MAX is not defined everywhere
Problem: MAX is not defined everywhere.
Solution: Define MAX where needed.
Bram Moolenaar [Tue, 14 Aug 2018 19:32:21 +0000 (21:32 +0200)]
patch 8.1.0286: 'incsearch' does not apply to :smagic and :snomagic
Problem: 'incsearch' does not apply to :smagic and :snomagic.
Solution: Add support. (Hirohito Higashi)
Bram Moolenaar [Tue, 14 Aug 2018 18:18:26 +0000 (20:18 +0200)]
patch 8.1.0285: compiler warning for conversion
Problem: Compiler warning for conversion.
Solution: Add a type cast. (Mike Williams)
Bram Moolenaar [Tue, 14 Aug 2018 16:16:52 +0000 (18:16 +0200)]
patch 8.1.0284: 'cursorline' highlighting wrong with 'incsearch'
Problem: 'cursorline' highlighting wrong with 'incsearch'.
Solution: Move the cursor back if the match is outside the range.
Bram Moolenaar [Tue, 14 Aug 2018 15:28:56 +0000 (17:28 +0200)]
patch 8.1.0283: missing test dump
Problem: Missing test dump.
Solution: Add the dump file
Bram Moolenaar [Tue, 14 Aug 2018 14:06:16 +0000 (16:06 +0200)]
patch 8.1.0282: 'incsearch' does not work with command modifiers
Problem: 'incsearch' does not work with command modifiers.
Solution: Skip command modifiers.
Bram Moolenaar [Tue, 14 Aug 2018 11:38:17 +0000 (13:38 +0200)]
patch 8.1.0281: parsing command modifiers is not separated
Problem: Parsing command modifiers is not separated.
Solution: Move command modifier parsing to a separate function.
Bram Moolenaar [Mon, 13 Aug 2018 20:54:35 +0000 (22:54 +0200)]
patch 8.1.0280: 'incsearch' highlighting does not work for ":g!/"
Problem: 'incsearch' highlighting does not work for ":g!/".
Solution: Skip the exclamation mark. (Hirohito Higashi)
Bram Moolenaar [Mon, 13 Aug 2018 09:07:57 +0000 (11:07 +0200)]
patch 8.1.0279: 'incsearch' highlighting does not skip white space
Problem: 'incsearch' highlighting does not skip white space.
Solution: Skip white space after the command. (issue #3321)
Bram Moolenaar [Sun, 12 Aug 2018 19:53:15 +0000 (21:53 +0200)]
patch 8.1.0278: 'incsearch' highlighting does not accept reverse range
Problem: 'incsearch' highlighting does not accept reverse range.
Solution: Swap the range when needed. (issue #3321)
Bram Moolenaar [Sun, 12 Aug 2018 15:39:14 +0000 (17:39 +0200)]
patch 8.1.0277: 'incsearch' highlighting wrong in a few cases
Problem: 'incsearch' highlighting wrong in a few cases.
Solution: Fix using last search pattern. Restore highlighting when changing
command. (issue #3321)
Bram Moolenaar [Sun, 12 Aug 2018 14:26:58 +0000 (16:26 +0200)]
patch 8.1.0276: no test for 'incsearch' highlighting with :s
Problem: No test for 'incsearch' highlighting with :s.
Solution: Add a screendump test.
Bram Moolenaar [Sun, 12 Aug 2018 13:49:47 +0000 (15:49 +0200)]
patch 8.1.0275: 'incsearch' with :s doesn't start at cursor line
Problem: 'incsearch' with :s doesn't start at cursor line.
Solution: Set cursor before parsing address. (closes #3318)
Also accept a match at the start of the first line.
Bram Moolenaar [Sat, 11 Aug 2018 17:20:49 +0000 (19:20 +0200)]
patch 8.1.0274: 'incsearch' triggers on ":source"
Problem: 'incsearch' triggers on ":source".
Solution: Check for the whole command name.
Bram Moolenaar [Sat, 11 Aug 2018 17:02:22 +0000 (19:02 +0200)]
patch 8.1.0273: invalid memory access when using 'incsearch'
Problem: Invalid memory access when using 'incsearch'.
Solution: Reset "patlen" when using previous search pattern.
Bram Moolenaar [Sat, 11 Aug 2018 16:00:22 +0000 (18:00 +0200)]
Update runtime files.
Bram Moolenaar [Sat, 11 Aug 2018 15:53:04 +0000 (17:53 +0200)]
patch 8.1.0272: options test fails if temp var ends in slash
Problem: Options test fails if temp var ends in slash. (Tom Briden)
Solution: Check for optional slash. (closes #3308)
Bram Moolenaar [Sat, 11 Aug 2018 14:40:43 +0000 (16:40 +0200)]
patch 8.1.0271: 'incsearch' doesn't work for :s, :g or :v
Problem: 'incsearch' doesn't work for :s, :g or :v.
Solution: Also use 'incsearch' for other commands that use a pattern.
Bram Moolenaar [Sat, 11 Aug 2018 12:41:55 +0000 (14:41 +0200)]
patch 8.1.0270: checking for a Tab in a line could be faster
Problem: Checking for a Tab in a line could be faster.
Solution: Use strchr() instead of strrchr(). (closes #3312)
Bram Moolenaar [Sat, 11 Aug 2018 12:24:11 +0000 (14:24 +0200)]
patch 8.1.0269: Ruby Kernel.#p method always returns nil
Problem: Ruby Kernel.#p method always returns nil.
Solution: Copy p method implementation from Ruby code. (Masataka Pocke
Kuwabara, closes #3315)
Bram Moolenaar [Sat, 11 Aug 2018 11:57:20 +0000 (13:57 +0200)]
patch 8.1.0268: file type checking has too many #ifdef
Problem: File type checking has too many #ifdef.
Solution: Always define the S_IF macros. (Ken Takata, closes #3306)
Bram Moolenaar [Sat, 11 Aug 2018 11:36:56 +0000 (13:36 +0200)]
patch 8.1.0267: no good check if restoring quickfix list worked
Problem: No good check if restoring quickfix list worked.
Solution: Let qf_restore_list() return OK/FAIL. (Yegappan Lakshmanan)
Bram Moolenaar [Fri, 10 Aug 2018 21:13:12 +0000 (23:13 +0200)]
patch 8.1.0266: parsing Ex address range is not a separate function
Problem: Parsing Ex address range is not a separate function.
Solution: Refactor do_one_cmd() to separate address parsing.
Bram Moolenaar [Fri, 10 Aug 2018 20:07:32 +0000 (22:07 +0200)]
patch 8.1.0265: the getcmdline() function is way too big
Problem: The getcmdline() function is way too big.
Solution: Factor out the incremental search highlighting.
Bram Moolenaar [Thu, 9 Aug 2018 20:26:38 +0000 (22:26 +0200)]
patch 8.1.0264: backup tests fail when CWD is in /tmp
Problem: Backup tests fail when CWD is in /tmp.
Solution: Make 'backupskip' empty. (Christian Brabandt, closes #3301)
Bram Moolenaar [Thu, 9 Aug 2018 20:15:34 +0000 (22:15 +0200)]
patch 8.1.0263: channel log doesn't show part of channel
Problem: Channel log doesn't show part of channel.
Solution: Add "sock", "out", "err" or "in". (Ozaki Kiichi, closes #3303)
Bram Moolenaar [Thu, 9 Aug 2018 20:08:57 +0000 (22:08 +0200)]
patch 8.1.0262: not enough testing for getftype()
Problem: Not enough testing for getftype().
Solution: Add a test. (Dominique Pelle, closes #3300)
Bram Moolenaar [Thu, 9 Aug 2018 19:52:24 +0000 (21:52 +0200)]
patch 8.1.0261: Coverity complains about a negative array index
Problem: Coverity complains about a negative array index.
Solution: When qf_id2nr() cannot find the list then don't set qf_curlist.
Bram Moolenaar [Thu, 9 Aug 2018 19:33:38 +0000 (21:33 +0200)]
patch 8.1.0260: no LGTM logo in README file
Problem: No LGTM logo in README file.
Solution: Add one. (Bas van Schaik, closes #3305)
Bram Moolenaar [Thu, 9 Aug 2018 19:19:20 +0000 (21:19 +0200)]
patch 8.1.0259: no test for fixed quickfix issue
Problem: No test for fixed quickfix issue.
Solution: Add a test. Clean up the code a bit. (Yegappan Lakshmanan)
Bram Moolenaar [Wed, 8 Aug 2018 20:55:41 +0000 (22:55 +0200)]
patch 8.1.0258: not enough testing for the CompleteDone event
Problem: Not enough testing for the CompleteDone event.
Solution: Add a test. (closes #3297)
Bram Moolenaar [Wed, 8 Aug 2018 20:27:31 +0000 (22:27 +0200)]
patch 8.1.0257: no test for pathshorten()
Problem: No test for pathshorten().
Solution: Add a test. (Dominique Pelle, closes #3295)
Bram Moolenaar [Wed, 8 Aug 2018 20:08:32 +0000 (22:08 +0200)]
patch 8.1.0256: using setline() in TextChangedI splits undo
Problem: Using setline() in TextChangedI splits undo.
Solution: Use another solution for undo not working properly.
Bram Moolenaar [Wed, 8 Aug 2018 09:02:32 +0000 (11:02 +0200)]
patch 8.1.0255: backup test fails when using shadow directory
Problem: Backup test fails when using shadow directory.
Solution: Remove check for "src".
Bram Moolenaar [Tue, 7 Aug 2018 20:42:53 +0000 (22:42 +0200)]
patch 8.1.0254: cannot build on MS-Windows; unused macro HAVE_HANDLE_DROP
Problem: Cannot build on MS-Windows; Unused macro HAVE_HANDLE_DROP.
Solution: Adjust #ifdef. Delete the macro.
Bram Moolenaar [Tue, 7 Aug 2018 20:31:44 +0000 (22:31 +0200)]
patch 8.1.0253: saving and restoring window title does not always work
Problem: Saving and restoring window title does not always work.
Solution: Use the stack push and pop commands. (Kouichi Iwamoto,
closes #3059)
Bram Moolenaar [Tue, 7 Aug 2018 19:54:41 +0000 (21:54 +0200)]
patch 8.1.0252: quickfix functions are too long
Problem: Quickfix functions are too long.
Solution: Refactor. (Yegappan Lakshmanan, closes #2950)
Bram Moolenaar [Tue, 7 Aug 2018 19:39:28 +0000 (21:39 +0200)]
patch 8.1.0251: using full path is not supported for 'backupdir'
Problem: Using a full path is supported for 'directory' but not for
'backupdir'. (Mikolaj Machowski)
Solution: Support 'backupdir' as well. (Christian Brabandt, closes #179)
Bram Moolenaar [Tue, 7 Aug 2018 18:47:16 +0000 (20:47 +0200)]
patch 8.1.0250: MS-Windows using VTP: windows size change incorrect
Problem: MS-Windows using VTP: windows size change incorrect.
Solution: Call SetConsoleScreenBufferSize() first. (Nobuhiro Takasaki,
closes #3164)
Bram Moolenaar [Tue, 7 Aug 2018 18:01:40 +0000 (20:01 +0200)]
patch 8.1.0249: GTK: when screen DPI changes Vim does not handle it
Problem: GTK: when screen DPI changes Vim does not handle it.
Solution: Handle the gtk-xft-dpi signal. (Roel van de Kraats,
closes #2357)
Bram Moolenaar [Tue, 7 Aug 2018 17:48:08 +0000 (19:48 +0200)]
patch 8.1.0248: duplicated quickfix code
Problem: duplicated quickfix code.
Solution: Move the code to a function.
Bram Moolenaar [Tue, 7 Aug 2018 17:45:27 +0000 (19:45 +0200)]
patch 8.1.0247: Python: error message for failing import is incorrect
Problem: Python: error message for failing import is incorrect.
Solution: Adjust how modules are loaded. (Ozaki Kiichi, closes #3162)
Bram Moolenaar [Tue, 7 Aug 2018 17:32:52 +0000 (19:32 +0200)]
patch 8.1.0246: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Add #ifdef
Bram Moolenaar [Tue, 7 Aug 2018 17:05:01 +0000 (19:05 +0200)]
patch 8.1.0245: calling setline() in TextChangedI autocmd breaks undo
Problem: Calling setline() in TextChangedI autocmd breaks undo. (Jason
Felice)
Solution: Don't save lines for undo when already saved. (closes #3291)
Bram Moolenaar [Tue, 7 Aug 2018 15:38:41 +0000 (17:38 +0200)]
patch 8.1.0244: no redraw when using a STOP signal on Vim and then CONT
Problem: No redraw when using a STOP signal on Vim and then a CONT signal.
Solution: Catch the CONT signal and force a redraw. (closes #3285)
Bram Moolenaar [Tue, 7 Aug 2018 14:33:18 +0000 (16:33 +0200)]
patch 8.1.0243: using :term ++close ++hidden closes a window
Problem: Using :term ++close ++hidden closes a window. (Marcin Szamotulski)
Solution: Don't close the window if only using it temporarily for unloading
the terminal buffer. (closes #3287)
Bram Moolenaar [Tue, 7 Aug 2018 12:55:09 +0000 (14:55 +0200)]
patch 8.1.0242: Insert mode completion may use an invalid buffer pointer
Problem: Insert mode completion may use an invalid buffer pointer.
Solution: Check for ins_buf to be valid. (closes #3290)