]>
granicus.if.org Git - vim/log
Bram Moolenaar [Wed, 4 Jul 2018 20:44:08 +0000 (22:44 +0200)]
patch 8.1.0151: mksession test fails on MS-Windows
Problem: Mksession test fails on MS-Windows.
Solution: Always use an argument for :lcd.
Bram Moolenaar [Wed, 4 Jul 2018 20:36:46 +0000 (22:36 +0200)]
patch 8.1.0150: insufficient test coverage for Tcl
Problem: Insufficient test coverage for Tcl.
Solution: Add more tests. (Dominique Pelle, closes #3140)
Bram Moolenaar [Wed, 4 Jul 2018 20:26:28 +0000 (22:26 +0200)]
patch 8.1.0149: session is wrong with multiple tabs when :lcd was used
Problem: The generated sessions file does not restore tabs properly if :lcd
was used in one of them.
Solution: Create the tab pages before setting the directory. (Yee Cheng
Chin, closes #3152)
Bram Moolenaar [Wed, 4 Jul 2018 20:12:25 +0000 (22:12 +0200)]
patch 8.1.0148: memory leak when using :tcl expr command
Problem: Memory leak when using :tcl expr command.
Solution: Free the result of expression evaluation. (Dominique Pelle,
closes #3150)
Bram Moolenaar [Wed, 4 Jul 2018 20:03:25 +0000 (22:03 +0200)]
patch 8.1.0147: compiler warning when building with Python 3.7
Problem: Compiler warning when building with Python 3.7.
Solution: #undef PySlice_GetIndicesEx before redefining it. (Ozaki Kiichi,
closes #3153)
Bram Moolenaar [Tue, 3 Jul 2018 19:26:38 +0000 (21:26 +0200)]
patch 8.1.0146: when $LANG is set the compiler test may fail
Problem: When $LANG is set the compiler test may fail.
Solution: Unset $LANG.
Bram Moolenaar [Tue, 3 Jul 2018 17:16:00 +0000 (19:16 +0200)]
patch 8.1.0145: test with grep is failing on MS-Windows
Problem: Test with grep is failing on MS-Windows.
Solution: Skip the test.
Bram Moolenaar [Tue, 3 Jul 2018 16:36:27 +0000 (18:36 +0200)]
patch 8.1.0144: the :cd command does not have good test coverage
Problem: The :cd command does not have good test coverage.
Solution: Add more tests. (Dominique Pelle, closes #2972)
Bram Moolenaar [Tue, 3 Jul 2018 16:18:23 +0000 (18:18 +0200)]
patch 8.1.0143: matchit and matchparen don't handle E363
Problem: Matchit and matchparen don't handle E363.
Solution: Catch the E363 error. (Christian Brabandt)
Bram Moolenaar [Tue, 3 Jul 2018 15:16:59 +0000 (17:16 +0200)]
patch 8.1.0142: xterm and vt320 builtin termcap missing keypad keys
Problem: Xterm and vt320 builtin termcap missing keypad keys.
Solution: Add the escape sequences. (Kouichi Iwamoto, closes #2973)
Bram Moolenaar [Tue, 3 Jul 2018 14:54:23 +0000 (16:54 +0200)]
patch 8.1.0141: :cexpr no longer jumps to the first error
Problem: :cexpr no longer jumps to the first error.
Solution: Use the quickfix list identifier. (Yegappan Lakshmanan,
closes #3092)
Bram Moolenaar [Tue, 3 Jul 2018 14:42:19 +0000 (16:42 +0200)]
Updated runtime and language files.
Bram Moolenaar [Tue, 3 Jul 2018 12:48:15 +0000 (14:48 +0200)]
patch 8.1.0140: recording into a register has focus events
Problem: Recording into a register has focus events. (Michael Naumann)
Solution: Don't record K_FOCUSGAINED and K_FOCUSLOST. (closes #3143)
Bram Moolenaar [Mon, 2 Jul 2018 20:54:36 +0000 (22:54 +0200)]
patch 8.1.0139: Lua tests fail on some platforms
Problem: Lua tests fail on some platforms.
Solution: Accept a hex number with and without "0x". (Ken Takata,
closes #3137)
Bram Moolenaar [Mon, 2 Jul 2018 18:51:24 +0000 (20:51 +0200)]
patch 8.1.0138: negative value of 'softtabstop' not used correctly
Problem: Negative value of 'softtabstop' not used correctly.
Solution: Use get_sts_value(). (Tom Ryder)
Bram Moolenaar [Sun, 1 Jul 2018 19:12:55 +0000 (21:12 +0200)]
patch 8.1.0137: CI does not run with TCL
Problem: CI does not run with TCL.
Solution: Add TCL to the travis config. (Dominique Pelle, closes #3133)
Bram Moolenaar [Sun, 1 Jul 2018 17:49:27 +0000 (19:49 +0200)]
patch 8.1.0136: Lua tests don't cover new features
Problem: Lua tests don't cover new features.
Solution: Add more tests. (Dominique Pelle, closes #3130)
Bram Moolenaar [Sun, 1 Jul 2018 14:44:03 +0000 (16:44 +0200)]
patch 8.1.0135: undo message delays screen update for CTRL-O u
Problem: Undo message delays screen update for CTRL-O u.
Solution: Add smsg_attr_keep(). (closes #3125)
Bram Moolenaar [Sun, 1 Jul 2018 13:12:05 +0000 (15:12 +0200)]
patch 8.1.0134: Lua interface does not support funcref
Problem: Lua interface does not support funcref.
Solution: Add funcref support. (Luis Carvalho)
Bram Moolenaar [Sun, 1 Jul 2018 12:22:31 +0000 (14:22 +0200)]
Fix missing patch number.
Bram Moolenaar [Sat, 30 Jun 2018 20:40:42 +0000 (22:40 +0200)]
patch 8.1.0133: tagfiles() can have duplicate entries
Problem: tagfiles() can have duplicate entries.
Solution: Simplify the filename to make checking for duplicates work better.
Add a test. (Dominique Pelle, closes #2979)
Bram Moolenaar [Sat, 30 Jun 2018 19:50:25 +0000 (21:50 +0200)]
patch 8.1.0132: lua tests are old style
Problem: Lua tests are old style.
Solution: Convert to new style tests. Improve coverage. (Dominique Pelle,
closes #3091)
Bram Moolenaar [Sat, 30 Jun 2018 19:18:13 +0000 (21:18 +0200)]
patch 8.1.0131: :profdel is not tested
Problem: :profdel is not tested.
Solution: Add a test. (Dominique Pelle, closes #3123)
Bram Moolenaar [Sat, 30 Jun 2018 16:28:03 +0000 (18:28 +0200)]
patch 8.1.0130: ":profdel func" does not work if func was called already
Problem: ":profdel func" does not work if func was called already.
(Dominique Pelle)
Solution: Reset uf_profiling and add a flag to indicate initialization was
done.
Bram Moolenaar [Sat, 30 Jun 2018 15:09:26 +0000 (17:09 +0200)]
patch 8.1.0129: still some xterm-like terminals get a stray "p"
Problem: Still some xterm-like terminals get a stray "p" on startup.
Solution: Consider all terminals that reply with a version smaller than 95
as not an xterm. (James McCoy)
Bram Moolenaar [Sat, 30 Jun 2018 14:27:02 +0000 (16:27 +0200)]
patch 8.1.0128: building with MinGW does not work out-of-the-box
Problem: Building with MinGW does not work out-of-the-box.
Solution: Add instructions for MSYS2. Set default WINVER. Add batch files
to set $PATH for MSYS2.
Bram Moolenaar [Fri, 29 Jun 2018 18:28:31 +0000 (20:28 +0200)]
patch 8.1.0127: build failure when disabling the session feature
Problem: Build failure when disabling the session feature. (Pawel Slowik)
Solution: Adjust #ifdef for vim_chdirfile().
Bram Moolenaar [Thu, 28 Jun 2018 20:23:00 +0000 (22:23 +0200)]
patch 8.1.0126: various problems with 'vartabstop'
Problem: Various problems with 'vartabstop'.
Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian
Brabandt, closes #3076)
Bram Moolenaar [Thu, 28 Jun 2018 17:26:28 +0000 (19:26 +0200)]
patch 8.1.0125: virtual edit replace with multi-byte fails at end of line
Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas
Werling)
Solution: use ins_char() to add the character. (Christian Brabandt,
closes #3114) Rename PCHAR() to PBYTE() to avoid mistakes like
this.
Bram Moolenaar [Thu, 28 Jun 2018 13:50:28 +0000 (15:50 +0200)]
patch 8.1.0124: has('vcon') returns true even for non-win32 terminal
Problem: has('vcon') returns true even for non-win32 terminal.
Solution: Check the terminal type. (Nobuhiro Takasaki, closes #3106)
Bram Moolenaar [Thu, 28 Jun 2018 13:29:52 +0000 (15:29 +0200)]
patch 8.1.0123: MS-Windows: colors are wrong after setting 'notgc'
Problem: MS-Windows: colors are wrong after setting 'notgc'.
Solution: Only call control_console_color_rgb() for the win32 terminal.
(Nobuhiro Takasaki, closes #3107)
Bram Moolenaar [Thu, 28 Jun 2018 12:54:43 +0000 (14:54 +0200)]
patch 8.1.0122: translators don't always understand the maintainer message
Problem: Translators don't always understand the maintainer message.
Solution: Add a comment that ends up in the generated po file. (Christian
Brabandt, closes #3037)
Bram Moolenaar [Thu, 28 Jun 2018 10:05:11 +0000 (12:05 +0200)]
patch 8.1.0121: crash when using ballooneval related to 'vartabstop'
Problem: Crash when using ballooneval related to 'vartabstop'.
Solution: Initialize balloonEval->vts to NULL. (Markus Braun)
Bram Moolenaar [Thu, 28 Jun 2018 09:28:08 +0000 (11:28 +0200)]
patch 8.1.0120: buffer 'modified' set even when :sort has no changes
Problem: Buffer 'modified' set even when :sort has no changes.
Solution: Only set 'modified' when lines are moved. (Jason Franklin)
Bram Moolenaar [Wed, 27 Jun 2018 21:12:36 +0000 (23:12 +0200)]
patch 8.1.0119: failing test goes unnoticed because messages is not written
Problem: Failing test goes unnoticed because testdir/messages is not
written.
Solution: Set 'nomodifiable' only local to the buffer.
Bram Moolenaar [Wed, 27 Jun 2018 18:49:44 +0000 (20:49 +0200)]
patch 8.1.0118: duplicate error message for put command
Problem: Duplicate error message for put command.
Solution: Check return value of u_save(). (Jason Franklin)
Bram Moolenaar [Tue, 26 Jun 2018 21:18:45 +0000 (23:18 +0200)]
patch 8.1.0117: URL in install program still points to SourceForge
Problem: URL in install program still points to SourceForge.
Solution: Change it to www.vim.org. (closes #3100)
Bram Moolenaar [Mon, 25 Jun 2018 19:24:51 +0000 (21:24 +0200)]
patch 8.1.0116: display problem with 'vartabstop' and 'linebreak'
Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca
Fuentes)
Solution: Call tabstop_padding(). (Christian Brabandt, closes #3076)
Bram Moolenaar [Sun, 24 Jun 2018 22:05:59 +0000 (00:05 +0200)]
patch 8.1.0115: the matchparen plugin may throw an error
Problem: The matchparen plugin may throw an error.
Solution: Change the skip argument from zero to "0".
Bram Moolenaar [Sun, 24 Jun 2018 21:53:28 +0000 (23:53 +0200)]
patch 8.1.0114: confusing variable name
Problem: Confusing variable name.
Solution: Rename new_ts to new_vts_array. Change zero to NULL.
Bram Moolenaar [Sun, 24 Jun 2018 18:42:01 +0000 (20:42 +0200)]
Update runtime files.
Bram Moolenaar [Sun, 24 Jun 2018 17:24:03 +0000 (19:24 +0200)]
patch 8.1.0113: compiler warning for unused variable
Problem: Compiler warning for unused variable. (Yegappan Lakshmanan)
Solution: Add UNUSED. (Christian Brabandt)
Bram Moolenaar [Sun, 24 Jun 2018 17:01:59 +0000 (19:01 +0200)]
patch 8.1.0112: no error when using bad arguments with searchpair()
Problem: No error when using bad arguments with searchpair().
Solution: Add error messages.
Bram Moolenaar [Sun, 24 Jun 2018 16:04:50 +0000 (18:04 +0200)]
patch 8.1.0111: .po files do not use recommended names
Problem: .po files do not use recommended names.
Solution: Give a warning if the recommended name is not used. Accept the
recommended name for conversion. (Christian Brabandt, Ken Takata)
Bram Moolenaar [Sun, 24 Jun 2018 14:53:35 +0000 (16:53 +0200)]
patch 8.1.0110: file name not displayed with ":file"
Problem: File name not displayed with ":file" when 'F' is in 'shortmess'.
Solution: Always display the file name when there is no argument (Christian
Brabandt, closes #3070)
Bram Moolenaar [Sun, 24 Jun 2018 13:56:24 +0000 (15:56 +0200)]
patch 8.1.0109: new po makefile missing from distribution
Problem: New po makefile missing from distribution.
Solution: Add it to the file list.
Bram Moolenaar [Sun, 24 Jun 2018 13:52:56 +0000 (15:52 +0200)]
patch 8.1.0108: no Danish translations
Problem: No Danish translations.
Solution: Add Danish message translations. (closes #3073) Move list of
languages to a common makefile.
Bram Moolenaar [Sun, 24 Jun 2018 13:14:07 +0000 (15:14 +0200)]
patch 8.1.0107: Python: getting buffer option clears message
Problem: Python: getting buffer option clears message. (Jacob Niehus)
Solution: Don't use aucmd_prepbuf(). (closes #3079)
Bram Moolenaar [Sun, 24 Jun 2018 12:44:46 +0000 (14:44 +0200)]
patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined
Problem: Build fails when HAVE_DATE_TIME is undefined.
Solution: Always define init_longVersion(). (Christian Brabandt,
closes #3075)
Bram Moolenaar [Sat, 23 Jun 2018 17:23:02 +0000 (19:23 +0200)]
patch 8.1.0105: all tab stops are the same
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711)
Bram Moolenaar [Sat, 23 Jun 2018 15:14:41 +0000 (17:14 +0200)]
patch 8.1.0104: can't build without the +eval feature
Problem: Can't build without the +eval feature.
Solution: Add #ifdef.
Bram Moolenaar [Sat, 23 Jun 2018 14:12:21 +0000 (16:12 +0200)]
patch 8.1.0103: long version string cannot be translated
Problem: Long version string cannot be translated.
Solution: Build the string in init_longVersion().
Bram Moolenaar [Sat, 23 Jun 2018 13:09:10 +0000 (15:09 +0200)]
patch 8.1.0102: cannot build without syntax highlighting
Problem: Cannot build without syntax highlighting.
Solution: Add #ifdef around using reg_do_extmatch.
Bram Moolenaar [Sat, 23 Jun 2018 12:55:03 +0000 (14:55 +0200)]
patch 8.1.0101: no test for getcmdwintype()
Problem: No test for getcmdwintype().
Solution: Add a test. (Dominique Pelle, closes #3068)
Bram Moolenaar [Sat, 23 Jun 2018 12:36:17 +0000 (14:36 +0200)]
patch 8.1.0100: terminal debugger: error when setting a watch point
Problem: Terminal debugger: error when setting a watch point.
Solution: Don't try defining a sign for a watch point.
Bram Moolenaar [Sat, 23 Jun 2018 12:34:28 +0000 (14:34 +0200)]
patch 8.1.0099: exclamation mark in error message not needed
Problem: Exclamation mark in error message not needed.
Solution: Remove the exclamation mark.
Bram Moolenaar [Sat, 23 Jun 2018 12:21:42 +0000 (14:21 +0200)]
patch 8.1.0098: segfault when pattern with \z() is very slow
Problem: Segfault when pattern with \z() is very slow.
Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
able to test this. Fix that 'searchhl' resets called_emsg.
Bram Moolenaar [Fri, 22 Jun 2018 19:42:30 +0000 (21:42 +0200)]
patch 8.1.0097: superfluous space before exclamation mark
Problem: Superfluous space before exclamation mark.
Solution: Remove the space. Don't translate debug message.
Bram Moolenaar [Fri, 22 Jun 2018 19:30:31 +0000 (21:30 +0200)]
patch 8.1.0096: inconsistent use of the word autocommands
Problem: Inconsistent use of the word autocommands.
Solution: Don't use auto-commands or "auto commands".
Bram Moolenaar [Thu, 21 Jun 2018 20:10:08 +0000 (22:10 +0200)]
patch 8.1.0095: dialog for ":browse tabnew" says "new window"
Problem: Dialog for ":browse tabnew" says "new window".
Solution: Use "new tab page". (closes #3053)
Bram Moolenaar [Thu, 21 Jun 2018 19:38:33 +0000 (21:38 +0200)]
patch 8.1.0094: help text "usage:" is not capatalized
Problem: Help text "usage:" is not capatalized.
Solution: Make it "Usage:". (closes #3044)
Bram Moolenaar [Thu, 21 Jun 2018 18:31:14 +0000 (20:31 +0200)]
patch 8.1.0093: non-MS-Windows: Cannot interrupt gdb when program is running
Problem: non-MS-Windows: Cannot interrupt gdb when program is running.
Solution: Only use debugbreak() on MS-Windows.
Bram Moolenaar [Thu, 21 Jun 2018 10:07:04 +0000 (12:07 +0200)]
patch 8.1.0092: prompt buffer test fails
Problem: Prompt buffer test fails.
Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi,
closes #3051
Bram Moolenaar [Wed, 20 Jun 2018 20:38:21 +0000 (22:38 +0200)]
patch 8.1.0091: MS-Windows: Cannot interrupt gdb when program is running
Problem: MS-Windows: Cannot interrupt gdb when program is running.
Solution: Add debugbreak() and use it in the terminal debugger.
Respect 'modified' in a prompt buffer.
Bram Moolenaar [Wed, 20 Jun 2018 18:37:36 +0000 (20:37 +0200)]
patch 8.1.0090: "..." used inconsistently in a message
Problem: "..." used inconsistently in a message.
Solution: Define the message with " ..." once. (hint by Ken Takata)
Bram Moolenaar [Tue, 19 Jun 2018 20:34:46 +0000 (22:34 +0200)]
patch 8.1.0089: error when ending the terminal debugger
Problem: error when ending the terminal debugger
Solution: Fix deleting defined signs for breakpoints. Make the debugger
work better on MS-Windows.
Bram Moolenaar [Tue, 19 Jun 2018 18:08:14 +0000 (20:08 +0200)]
patch 8.1.0088: terminal test for stdout and stderr is a bit flaky
Problem: Terminal test for stdout and stderr is a bit flaky.
Solution: Wait for both stdout and stderr to have been processed. (Ozaki
Kiichi, closes #2991)
Bram Moolenaar [Tue, 19 Jun 2018 17:59:20 +0000 (19:59 +0200)]
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"
Problem: v:shell_error is always zero when using terminal for "!cmd".
Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994)
Bram Moolenaar [Tue, 19 Jun 2018 17:46:06 +0000 (19:46 +0200)]
patch 8.1.0086: no tests for libcall() and libcallnr()
Problem: No tests for libcall() and libcallnr().
Solution: Add tests. (Dominique Pelle, closes #2982)
Bram Moolenaar [Tue, 19 Jun 2018 17:09:09 +0000 (19:09 +0200)]
patch 8.1.0085: no test for completing user name and language
Problem: No test for completing user name and language.
Solution: Add tests. (Dominique Pelle, closes #2978)
Bram Moolenaar [Tue, 19 Jun 2018 16:58:07 +0000 (18:58 +0200)]
patch 8.1.0084: user name completion does not work on MS-Windows
Problem: User name completion does not work on MS-Windows.
Solution: Use NetUserEnum() to get user names. (Yasuhiro Matsumoto)
Bram Moolenaar [Tue, 19 Jun 2018 16:27:41 +0000 (18:27 +0200)]
patch 8.1.0083: "is" and "as" have trouble with quoted punctuation
Problem: "is" and "as" have trouble with quoted punctuation.
Solution: Check for punctuation before a quote. (Jason Franklin)
Bram Moolenaar [Tue, 19 Jun 2018 15:49:24 +0000 (17:49 +0200)]
patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'
Problem: In terminal window, typing : at more prompt, inserts ':' instead
of starting another Ex command.
Solution: Add skip_term_loop and set it when putting ':' in the typeahead
buffer.
Bram Moolenaar [Tue, 19 Jun 2018 15:27:53 +0000 (17:27 +0200)]
patch 8.1.0081: the terminal debugger doesn't adjust to changed 'background'
Problem: The terminal debugger doesn't adjust to changed 'background'.
Solution: Add an OptionSet autocommand. (Christian Brabandt)
Bram Moolenaar [Tue, 19 Jun 2018 14:59:54 +0000 (16:59 +0200)]
patch 8.1.0080: can't see the breakpoint number in the terminal debugger
Problem: Can't see the breakpoint number in the terminal debugger.
Solution: Use the breakpoint number for the sign. (Christian Brabandt)
Bram Moolenaar [Tue, 19 Jun 2018 12:45:37 +0000 (14:45 +0200)]
patch 8.1.0079: superfluous space in messages
Problem: Superfluous space in messages.
Solution: Remove the spaces. (closes #3030)
Bram Moolenaar [Tue, 19 Jun 2018 12:35:59 +0000 (14:35 +0200)]
Update runtime files.
Bram Moolenaar [Tue, 19 Jun 2018 12:23:53 +0000 (14:23 +0200)]
patch 8.1.0078: "..." used inconsistently in messages
Problem: "..." used inconsistently in messages.
Solution: Drop the space before " ...".
Bram Moolenaar [Mon, 18 Jun 2018 20:31:11 +0000 (22:31 +0200)]
patch 8.1.0077: header of README file is not nice
Problem: Header of README file is not nice.
Solution: Move text to the bottom.
Bram Moolenaar [Mon, 18 Jun 2018 20:15:50 +0000 (22:15 +0200)]
patch 8.1.0076: command getting cleared with CTRL-W : in a terminal window
Problem: Command getting cleared with CTRL-W : in a terminal window. (Jason
Franklin)
Solution: Call redraw_after_callback() when editing the command line.
Bram Moolenaar [Mon, 18 Jun 2018 20:00:22 +0000 (22:00 +0200)]
patch 8.1.0075: no Vim logo in README file
Problem: No Vim logo in README file.
Solution: Add one. (Árni Dagur, closes #3024)
Bram Moolenaar [Mon, 18 Jun 2018 19:53:28 +0000 (21:53 +0200)]
patch 8.1.0074: crash when running quickfix tests
Problem: Crash when running quickfix tests.
Solution: Do not alloc a new location list when checking for the reference
to be still valid.
Bram Moolenaar [Mon, 18 Jun 2018 18:52:13 +0000 (20:52 +0200)]
patch 8.1.0073: crash when autocommands call setloclist()
Problem: Crash when autocommands call setloclist(). (Dominique Pelle)
Solution: If the quickfix list changes then don't jump to the error.
Bram Moolenaar [Sun, 17 Jun 2018 20:19:12 +0000 (22:19 +0200)]
patch 8.1.0072: use of 'termwinkey' is inconsistent
Problem: Use of 'termwinkey' is inconsistent.
Solution: Change the documentation and the behavior. (Ken Takata)
Bram Moolenaar [Sun, 17 Jun 2018 19:34:11 +0000 (21:34 +0200)]
patch 8.1.0071: terminal debugger only works with the terminal feature
Problem: Terminal debugger only works with the terminal feature.
Solution: Make it also work with a prompt buffer. Makes it possible to use
on MS-Windows. Various other improvements. (closes #3012)
Bram Moolenaar [Sun, 17 Jun 2018 18:10:39 +0000 (20:10 +0200)]
patch 8.1.0070: missing part of the changes for prompt_setinterrupt()
Problem: Missing part of the changes for prompt_setinterrupt().
Solution: Add the missing changes.
Bram Moolenaar [Sun, 17 Jun 2018 17:36:33 +0000 (19:36 +0200)]
patch 8.1.0069: cannot handle pressing CTRL-C in a prompt buffer
Problem: Cannot handle pressing CTRL-C in a prompt buffer.
Solution: Add prompt_setinterrupt().
Bram Moolenaar [Sun, 17 Jun 2018 17:22:52 +0000 (19:22 +0200)]
patch 8.1.0068: nasty autocommands can still cause using freed memory
Problem: Nasty autocommands can still cause using freed memory.
Solution: Disallow using setloclist() and setqflist() recursively.
Bram Moolenaar [Sun, 17 Jun 2018 17:08:30 +0000 (19:08 +0200)]
patch 8.1.0067: syntax highlighting not working when re-entering a buffer
Problem: Syntax highlighting not working when re-entering a buffer.
Solution: Do force executing autocommands when not called recursively.
Bram Moolenaar [Sun, 17 Jun 2018 15:32:58 +0000 (17:32 +0200)]
patch 8.1.0066: nasty autocommand causes using freed memory
Problem: Nasty autocommand causes using freed memory. (Dominique Pelle)
Solution: Do not force executing autocommands if the value of 'syntax' or
'filetype' did not change.
Bram Moolenaar [Sun, 17 Jun 2018 15:10:59 +0000 (17:10 +0200)]
patch 8.1.0065: balloon displayed at the wrong position
Problem: Balloon displayed at the wrong position.
Solution: Do not reposition the popup menu at the cursor position.
Bram Moolenaar [Sun, 17 Jun 2018 14:23:34 +0000 (16:23 +0200)]
patch 8.1.0064: typing CTRL-W in a prompt buffer shows mode "-- --"
Problem: Typing CTRL-W in a prompt buffer shows mode "-- --".
Solution: Set restart_edit to 'A' and check for it.
Bram Moolenaar [Sun, 17 Jun 2018 13:01:04 +0000 (15:01 +0200)]
patch 8.1.0063: Mac: NSStringPboardType is deprecated
Problem: Mac: NSStringPboardType is deprecated.
Solution: Use NSPasteboardTypeString. (Akshay Hegde, closes #3022)
Bram Moolenaar [Sun, 17 Jun 2018 12:47:55 +0000 (14:47 +0200)]
patch 8.1.0062: popup menu broken if a callback changes the window layout
Problem: Popup menu broken if a callback changes the window layout. (Qiming
Zhao)
Solution: Recompute the popup menu position if needed. Redraw the ruler
even when the popup menu is displayed.
Bram Moolenaar [Sat, 16 Jun 2018 20:58:15 +0000 (22:58 +0200)]
patch 8.1.0061: window title is wrong after resetting and setting 'title'
Problem: Window title is wrong after resetting and setting 'title'.
Solution: Move resetting the title into maketitle(). (Jason Franklin)
Bram Moolenaar [Sat, 16 Jun 2018 20:16:47 +0000 (22:16 +0200)]
patch 8.1.0060: crash when autocommands delete the current buffer
Problem: Crash when autocommands delete the current buffer. (Dominique
Pelle)
Solution: Check that autocommands don't change the buffer.
Bram Moolenaar [Sat, 16 Jun 2018 15:25:22 +0000 (17:25 +0200)]
patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Problem: Displayed digraph for "ga" wrong with 'encoding' "cp1251".
Solution: Convert from 'encoding' to "utf-8" if needed. (closes #3015)
Bram Moolenaar [Sat, 16 Jun 2018 14:20:52 +0000 (16:20 +0200)]
patch 8.1.0058: display problem with margins and scrolling
Problem: Display problem with margins and scrolling.
Solution: Place the cursor in the right column. (Kouichi Iwamoto,
closes #3016)
Bram Moolenaar [Sat, 16 Jun 2018 13:32:38 +0000 (15:32 +0200)]
patch 8.1.0057: popup menu displayed wrong when using autocmd
Problem: Popup menu displayed wrong when using autocmd.
Solution: Use aucmd_prepbuf(). Force updating status line if the popup menu
is going to be redrawn anyway. (Christian Brabandt, closes #3009)
Bram Moolenaar [Sat, 16 Jun 2018 12:44:11 +0000 (14:44 +0200)]
patch 8.1.0056: crash when using :hardcopy with illegal byte
Problem: Crash when using :hardcopy with illegal byte.
Solution: Check for string_convert() returning NULL. (Dominique Pelle)