]>
granicus.if.org Git - vim/log
Bram Moolenaar [Mon, 5 Mar 2018 20:59:37 +0000 (21:59 +0100)]
patch 8.0.1572: Mac: getting memory size doesn't work everywhere
Problem: Mac: getting memory size doesn't work everywhere.
Solution: Use MACOS_X instead of MACOS_X_DARWIN. (Kazunobu Kuriyama)
Bram Moolenaar [Mon, 5 Mar 2018 20:32:27 +0000 (21:32 +0100)]
patch 8.0.1571: can't build without GUI
Problem: Can't build without GUI.
Solution: Adjust #ifdef for gui_find_menu().
Bram Moolenaar [Mon, 5 Mar 2018 20:06:23 +0000 (21:06 +0100)]
patch 8.0.1570: can't use :popup for a menu in the terminal
Problem: Can't use :popup for a menu in the terminal. (Wei Zhang)
Solution: Make :popup work in the terminal. Also fix that entries were
included that don't work in the current state.
Bram Moolenaar [Mon, 5 Mar 2018 11:42:42 +0000 (12:42 +0100)]
patch 8.0.1569: warning for uninitialized variable from gcc
Problem: Warning for uninitialized variable from gcc.
Solution: Initialize the variable.
Bram Moolenaar [Mon, 5 Mar 2018 09:54:53 +0000 (10:54 +0100)]
patch 8.0.1568: can't build on older Mac, header file is missing
Problem: Can't build on older Mac, header file is missing.
Solution: Remove the header file. (Ozaki Kiichi, closes #2691)
Bram Moolenaar [Sun, 4 Mar 2018 20:36:05 +0000 (21:36 +0100)]
patch 8.0.1567: cannot build Win32 GUI without IME
Problem: Cannot build Win32 GUI without IME. (John Marriott)
Solution: Adjust when IME_WITHOUT_XIM and HAVE_INPUT_METHOD are defined and
use it in a few more places.
Bram Moolenaar [Sun, 4 Mar 2018 19:14:14 +0000 (20:14 +0100)]
patch 8.0.1566: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
Bram Moolenaar [Sun, 4 Mar 2018 17:57:19 +0000 (18:57 +0100)]
patch 8.0.1565: can't build Mac version without GUI
Problem: Can't build Mac version without GUI.
Solution: Adjust when IME_WITHOUT_XIM is defined.
Bram Moolenaar [Sun, 4 Mar 2018 17:08:14 +0000 (18:08 +0100)]
patch 8.0.1564: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
Bram Moolenaar [Sat, 3 Mar 2018 20:29:55 +0000 (21:29 +0100)]
patch 8.0.1563: timeout of getwinposx() can be too short
Problem: Timeout of getwinposx() can be too short. (lilydjwg)
Solution: Add getwinpos(). (closes #2689)
Bram Moolenaar [Sat, 3 Mar 2018 19:47:21 +0000 (20:47 +0100)]
patch 8.0.1562: the terminal debugger can't set a breakpoint with the mouse
Problem: The terminal debugger can't set a breakpoint with the mouse.
Solution: Add popup menu entries.
Bram Moolenaar [Sat, 3 Mar 2018 19:02:19 +0000 (20:02 +0100)]
patch 8.0.1561: crash with rust syntax highligting
Problem: Crash with rust syntax highligting. (Edd Barrett)
Solution: Avoid going past the end of an empty line.
Bram Moolenaar [Sat, 3 Mar 2018 18:51:58 +0000 (19:51 +0100)]
patch 8.0.1560: build failure without GUI on MS-Windows
Problem: Build failure without GUI on MS-Windows.
Solution: Adjust #ifdef for vcol2col().
Bram Moolenaar [Sat, 3 Mar 2018 18:29:43 +0000 (19:29 +0100)]
patch 8.0.1559: build failure without GUI
Problem: Build failure without GUI.
Solution: Adjust #ifdef for get_fpos_of_mouse().
Bram Moolenaar [Sat, 3 Mar 2018 17:59:16 +0000 (18:59 +0100)]
patch 8.0.1558: no right-click menu in a terminal
Problem: No right-click menu in a terminal.
Solution: Implement the right click menu for the terminal.
Bram Moolenaar [Sat, 3 Mar 2018 14:06:52 +0000 (15:06 +0100)]
patch 8.0.1557: printf() does not work with only one argument
Problem: printf() does not work with only one argument. (Daniel Hahler)
Solution: Allow using just the format. (Ken Takata, closes #2687)
Bram Moolenaar [Fri, 2 Mar 2018 19:58:42 +0000 (20:58 +0100)]
patch 8.0.1556: may not parse the t_RS response correctly
Problem: May not parse the t_RS response correctly, resulting in wrong
characters in the input stream.
Solution: When the t_RS response is partly received wait for more
characters.
Bram Moolenaar [Thu, 1 Mar 2018 22:10:45 +0000 (23:10 +0100)]
patch 8.0.1555: build error for some combination of features
Problem: Build error for some combination of features.
Solution: Declare variable in more situations.
Bram Moolenaar [Thu, 1 Mar 2018 20:57:32 +0000 (21:57 +0100)]
patch 8.0.1554: custom plugins loaded with --clean
Problem: Custom plugins loaded with --clean.
Solution: Do not include the home directory in 'runtimepath'.
Bram Moolenaar [Tue, 27 Feb 2018 20:09:30 +0000 (21:09 +0100)]
patch 8.0.1553: cannot see what digraph is used to insert a character
Problem: Cannot see what digraph is used to insert a character.
Solution: Show the digraph with the "ga" command. (Christian Brabandt)
Bram Moolenaar [Tue, 27 Feb 2018 18:10:00 +0000 (19:10 +0100)]
patch 8.0.1552: may leak file descriptors when executing job
Problem: May leak file descriptors when executing job.
Solution: Close more file descriptors. (Ozaki Kiichi, closes #2531)
Bram Moolenaar [Tue, 27 Feb 2018 16:58:20 +0000 (17:58 +0100)]
patch 8.0.1551: on Mac 'maxmemtot' is set to a weird value
Problem: On Mac 'maxmemtot' is set to a weird value.
Solution: For Mac use total memory and subtract system memory. For other
systems accept both a 32 bit and 64 bit result. (Ozaki Kiichi,
closes #2646)
Bram Moolenaar [Tue, 27 Feb 2018 16:27:13 +0000 (17:27 +0100)]
patch 8.0.1550: various small problems in source files
Problem: Various small problems in source files.
Solution: Fix the problems.
Bram Moolenaar [Tue, 27 Feb 2018 16:17:42 +0000 (17:17 +0100)]
patch 8.0.1549: various small problems in test files
Problem: Various small problems in test files.
Solution: Include small changes.
Bram Moolenaar [Tue, 27 Feb 2018 16:11:01 +0000 (17:11 +0100)]
Include Serbian spell input files
Bram Moolenaar [Tue, 27 Feb 2018 16:07:43 +0000 (17:07 +0100)]
patch 8.0.1548: screen dump test script not included in distribution
Problem: Screen dump test script not included in distribution.
Solution: Add the script to the list of distributed files.
Bram Moolenaar [Tue, 27 Feb 2018 16:04:25 +0000 (17:04 +0100)]
patch 8.0.1547: undo in the options window makes it empty
Problem: Undo in the options window makes it empty.
Solution: Set 'undolevels' while filling the buffer. (Yasuhiro Matthew,
closes #2645)
Bram Moolenaar [Tue, 27 Feb 2018 15:29:28 +0000 (16:29 +0100)]
patch 8.0.1546: using feedkeys() in a terminal may trigger mappings
Problem: Using feedkeys() in a terminal window may trigger mappings.
(Charles Sheridan)
Solution: Avoid triggering a mapping when peeking for a key.
Bram Moolenaar [Tue, 27 Feb 2018 13:54:53 +0000 (14:54 +0100)]
patch 8.0.1545: screen dumps not included in distribution
Problem: Screen dumps not included in distribution.
Solution: Add dumps to the list of distributed files.
Bram Moolenaar [Tue, 27 Feb 2018 13:53:30 +0000 (14:53 +0100)]
Updated runtime files.
Add Serbian translations and spell checking.
Bram Moolenaar [Tue, 27 Feb 2018 13:39:03 +0000 (14:39 +0100)]
patch 8.0.1544: when using 'termguicolors' SpellBad doesn't show
Problem: When using 'termguicolors' SpellBad doesn't show.
Solution: When the GUI colors are not set fall back to the cterm colors.
Bram Moolenaar [Tue, 27 Feb 2018 12:04:59 +0000 (13:04 +0100)]
patch 8.0.1543: with 'termguicolors' Normal color doesn't work correctly
Problem: With 'termguicolors' Normal color doesn't work correctly.
Solution: Set cterm_normal_bg_gui_color and cterm_normal_fg_color always.
(Kazunobu Kuriyama, closes #981, closes #2332)
Bram Moolenaar [Sun, 25 Feb 2018 20:39:46 +0000 (21:39 +0100)]
patch 8.0.1542: terminal screen dump does not include cursor position
Problem: Terminal screen dump does not include cursor position.
Solution: Mark the cursor position in the cump.
Bram Moolenaar [Sat, 24 Feb 2018 20:36:34 +0000 (21:36 +0100)]
patch 8.0.1541: synpat_T is taking too much memory
Problem: synpat_T is taking too much memory.
Solution: Reorder members to reduce padding. (Dominique Pelle, closes #2671)
Bram Moolenaar [Sat, 24 Feb 2018 20:25:44 +0000 (21:25 +0100)]
patch 8.0.1540: popup menu positioning fails with longer string
Problem: Popup menu positioning fails with longer string.
Solution: Only align with right side of window when width is less than
'pumwidth' (closes #2661)
Bram Moolenaar [Sat, 24 Feb 2018 18:53:53 +0000 (19:53 +0100)]
patch 8.0.1539: no test for the popup menu positioning
Problem: No test for the popup menu positioning.
Solution: Add a screendump test for the popup menu.
Bram Moolenaar [Sat, 24 Feb 2018 17:59:55 +0000 (18:59 +0100)]
patch 8.0.1538: popupmenu is too far left when completion is long
Problem: Popupmenu is too far left when completion is long. (Linwei)
Solution: Adjust column computations. (Hirohito Higashi, closes #2661)
Bram Moolenaar [Sat, 24 Feb 2018 17:30:55 +0000 (18:30 +0100)]
patch 8.0.1537: xxd does not skip NUL lines when using ebcdic
Problem: Xxd does not skip NUL lines when using ebcdic.
Solution: Check for a NUL before converting a character for ebcdic. (Tim
Sell, closes #2668)
Bram Moolenaar [Sat, 24 Feb 2018 16:42:28 +0000 (17:42 +0100)]
patch 8.0.1536: quotestar test is flaky when using the GUI
Problem: Quotestar test is flaky when using the GUI.
Solution: Add check that the star register arrived at the server. Increase
timeouts.
Bram Moolenaar [Sat, 24 Feb 2018 15:51:32 +0000 (16:51 +0100)]
patch 8.0.1535: C syntax test still fails when using gvim
Problem: C syntax test still fails when using gvim.
Solution: Clear Normal cterm highlighting instead of setting it.
Bram Moolenaar [Sat, 24 Feb 2018 13:38:51 +0000 (14:38 +0100)]
patch 8.0.1534: C syntax test fails when using gvim
Problem: C syntax test fails when using gvim
Solution: Force running in a terminal. Check that 'background' is correct
even when $COLORFGBG is set.
Bram Moolenaar [Sat, 24 Feb 2018 13:03:56 +0000 (14:03 +0100)]
patch 8.0.1533: libterm doesn't support requesting fg and bg color
Problem: Libterm doesn't support requesting fg and bg color.
Solution: Implement t_RF and t_RB.
Bram Moolenaar [Fri, 23 Feb 2018 17:23:30 +0000 (18:23 +0100)]
patch 8.0.1532: compiler warnings without termguicolors feature
Problem: Compiler warnings without termguicolors feature.
Solution: Add #ifdef. (John Marriott) Cleanup the code a bit.
Bram Moolenaar [Thu, 22 Feb 2018 20:07:09 +0000 (21:07 +0100)]
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
Problem: Cannot use 24 bit colors in MS-Windows console.
Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki,
fixes #1270, fixes #2060)
Bram Moolenaar [Thu, 22 Feb 2018 10:42:49 +0000 (11:42 +0100)]
patch 8.0.1530: dump test fails when using a shadow directory
Problem: Dump test fails when using a shadow directory.
Solution: Add the directory to the list of symlinks to make (Elimar
Riesebieter)
Bram Moolenaar [Tue, 20 Feb 2018 20:46:05 +0000 (21:46 +0100)]
patch 8.0.1529: assert_equalfile() does not close file descriptors
Problem: Assert_equalfile() does not close file descriptors. (Coverity)
Solution: Close the file descriptors.
Bram Moolenaar [Tue, 20 Feb 2018 20:44:45 +0000 (21:44 +0100)]
patch 8.0.1528: dead code found
Problem: Dead code found.
Solution: Remove the useless lines. (CodeAi, closes #2656)
Bram Moolenaar [Tue, 20 Feb 2018 16:09:16 +0000 (17:09 +0100)]
patch 8.0.1527: screen dump test fails on MS-Windows
Problem: Screen dump test fails on MS-Windows.
Solution: Skip dump test on MS-Windows for now.
Bram Moolenaar [Tue, 20 Feb 2018 14:51:40 +0000 (15:51 +0100)]
patch 8.0.1526: no test using a screen dump yet
Problem: No test using a screen dump yet.
Solution: Add a test for C syntax highlighting. Add helper functions.
Bram Moolenaar [Mon, 19 Feb 2018 22:10:02 +0000 (23:10 +0100)]
patch 8.0.1525: using :wqa exits even if a job runs in a terminal window
Problem: Using :wqa exits even if a job runs in a terminal window. (Jason
Felice)
Solution: Check if a terminal has a running job. (closes #2654)
Bram Moolenaar [Mon, 19 Feb 2018 20:50:42 +0000 (21:50 +0100)]
patch 8.0.1524: compiler warnings for uninitialized variables
Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
Solution: Initialize variables.
Bram Moolenaar [Sun, 18 Feb 2018 21:13:29 +0000 (22:13 +0100)]
patch 8.0.1523: cannot write and read terminal screendumps
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
Bram Moolenaar [Sat, 17 Feb 2018 19:35:29 +0000 (20:35 +0100)]
patch 8.0.1522: popup menu is positioned in the wrong place
Problem: Popup menu is positioned in the wrong place. (Davit Samvelyan,
Boris Staletic)
Solution: Correct computation of the column and the conditions for that.
(Hirohito Higashi, closes #2640)
Bram Moolenaar [Fri, 16 Feb 2018 19:01:04 +0000 (20:01 +0100)]
patch 8.0.1521: Shift-Tab does not work in a terminal window
Problem: Shift-Tab does not work in a terminal window.
Solution: Recognize Shift-Tab key press. (Jsees Luehrs, closes #2644)
Bram Moolenaar [Tue, 13 Feb 2018 20:19:21 +0000 (21:19 +0100)]
patch 8.0.1520: cursor in wrong line when using a WinBar in Terminal window
Problem: Cursor is in the wrong line when using a WinBar in a Terminal
window.
Solution: Adjust the row number. (Christian Brabandt, closes #2362)
Bram Moolenaar [Tue, 13 Feb 2018 18:21:17 +0000 (19:21 +0100)]
patch 8.0.1519: getchangelist() does not use argument as bufname()
Problem: Getchangelist() does not use argument as bufname().
Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #2641)
Bram Moolenaar [Tue, 13 Feb 2018 17:05:18 +0000 (18:05 +0100)]
patch 8.0.1518: error messages suppressed after ":silent! try"
Problem: Error messages suppressed after ":silent! try". (Ben Reilly)
Solution: Restore emsg_silent before executing :try. (closes #2531)
Bram Moolenaar [Tue, 13 Feb 2018 15:35:06 +0000 (16:35 +0100)]
patch 8.0.1517: invalid memory acces with pattern using look-behind match
Problem: Invalid memory acces with pattern using look-behind match.
(Dominique Pelle)
Solution: Get a pointer to the right line.
Bram Moolenaar [Tue, 13 Feb 2018 14:17:58 +0000 (15:17 +0100)]
patch 8.0.1516: errors for job options are not very specific
Problem: Errors for job options are not very specific.
Solution: Add more specific error messages.
Bram Moolenaar [Tue, 13 Feb 2018 13:07:18 +0000 (14:07 +0100)]
patch 8.0.1515: BufWinEnter event fired when opening hidden terminal
Problem: BufWinEnter event fired when opening hidden terminal.
Solution: Do not fire BufWinEnter when the terminal is midden and does not
open a window. (Kenta Sato, closes #2636)
Bram Moolenaar [Tue, 13 Feb 2018 12:59:59 +0000 (13:59 +0100)]
patch 8.0.1514: getting the list of changes is not easy
Problem: Getting the list of changes is not easy.
Solution: Add the getchangelist() function. (Yegappan Lakshmanan,
closes #2634)
Bram Moolenaar [Tue, 13 Feb 2018 12:33:29 +0000 (13:33 +0100)]
patch 8.0.1513: the jumplist is not always properly cleaned up
Problem: The jumplist is not always properly cleaned up.
Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan)
Bram Moolenaar [Tue, 13 Feb 2018 12:12:11 +0000 (13:12 +0100)]
patch 8.0.1512: warning for possibly using NULL pointer
Problem: Warning for possibly using NULL pointer. (Coverity)
Solution: Skip using the pointer if it's NULL.
Bram Moolenaar [Tue, 13 Feb 2018 11:57:42 +0000 (12:57 +0100)]
patch 8.0.1511: some code for the debugger watch expression is clumsy
Problem: Some code for the debugger watch expression is clumsy.
Solution: Clean up the code.
Bram Moolenaar [Tue, 13 Feb 2018 11:26:14 +0000 (12:26 +0100)]
patch 8.0.1510: cannot test if a command causes a beep
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
Bram Moolenaar [Mon, 12 Feb 2018 21:49:00 +0000 (22:49 +0100)]
patch 8.0.1509: test for failing drag-n-drop command no longer fails
Problem: Test for failing drag-n-drop command no longer fails.
Solution: Check for the "dnd" feature.
Bram Moolenaar [Mon, 12 Feb 2018 21:08:06 +0000 (22:08 +0100)]
patch 8.0.1508: the :drop command is not always available
Problem: The :drop command is not always available.
Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639)
Bram Moolenaar [Mon, 12 Feb 2018 20:31:35 +0000 (21:31 +0100)]
patch 8.0.1507: timer test is a bit flaky
Problem: Timer test is a bit flaky.
Solution: Add it to the list of flaky tests.
Bram Moolenaar [Mon, 12 Feb 2018 19:58:11 +0000 (20:58 +0100)]
patch 8.0.1506: new version of HP NonStop (Tandem) doesn't like a header
Problem: New version of HP NonStop (Tandem) doesn't like the default header
for setenv().
Solution: Put a #ifdef around the setenv() entry. (Joachim Schmitz)
Bram Moolenaar [Sun, 11 Feb 2018 18:06:26 +0000 (19:06 +0100)]
patch 8.0.1505: debugger can't break on a condition
Problem: Debugger can't break on a condition. (Charles Campbell)
Solution: Add ":breakadd expr". (Christian Brabandt, closes #859)
Bram Moolenaar [Sun, 11 Feb 2018 15:40:45 +0000 (16:40 +0100)]
patch 8.0.1504: Win32: the screen may be cleared on startup
Problem: Win32: the screen may be cleared on startup.
Solution: Only call shell_resized() when the size actually changed. (Ken
Takata, closes #2527)
Bram Moolenaar [Sun, 11 Feb 2018 14:38:40 +0000 (15:38 +0100)]
patch 8.0.1503: access memory beyond end of string
Problem: Access memory beyond end of string. (Coverity)
Solution: Keep allocated memory in separate pointer. Avoid outputting the
NUL character.
Bram Moolenaar [Sun, 11 Feb 2018 14:20:20 +0000 (15:20 +0100)]
patch 8.0.1502: in out-of-memory situation character is not restored
Problem: In out-of-memory situation character is not restored. (Coverity)
Solution: Restore the character in all situations.
Bram Moolenaar [Sun, 11 Feb 2018 14:07:22 +0000 (15:07 +0100)]
patch 8.0.1501: out-of-memory situation not correctly handled
Problem: Out-of-memory situation not correctly handled. (Coverity)
Solution: Check for NULL value.
Bram Moolenaar [Sun, 11 Feb 2018 14:02:48 +0000 (15:02 +0100)]
patch 8.0.1500: possible NULL pointer dereference
Problem: Possible NULL pointer dereference. (Coverity)
Solution: Check for the pointer not being NULL.
Bram Moolenaar [Sun, 11 Feb 2018 13:53:30 +0000 (14:53 +0100)]
patch 8.0.1499: out-of-memory situation not correctly handled
Problem: Out-of-memory situation not correctly handled. (Coverity)
Solution: Check for NULL value.
Bram Moolenaar [Sun, 11 Feb 2018 13:29:49 +0000 (14:29 +0100)]
patch 8.0.1498: getjumplist() returns duplicate entries
Problem: Getjumplist() returns duplicate entries. (lacygoill)
Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 10 Feb 2018 20:06:32 +0000 (21:06 +0100)]
patch 8.0.1497: getting the jump list requires parsing the output of :jumps
Problem: Getting the jump list requires parsing the output of :jumps.
Solution: Add getjumplist(). (Yegappan Lakshmanan, closes #2609)
Bram Moolenaar [Sat, 10 Feb 2018 17:45:26 +0000 (18:45 +0100)]
patch 8.0.1496: clearing a pointer takes two lines
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629)
Bram Moolenaar [Sat, 10 Feb 2018 17:28:52 +0000 (18:28 +0100)]
patch 8.0.1495: having 'pumwidth' default to zero has no merit
Problem: Having 'pumwidth' default to zero has no merit.
Solution: Make the default 15, as the actual default value.
Bram Moolenaar [Sat, 10 Feb 2018 17:15:19 +0000 (18:15 +0100)]
patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menu
Problem: No autocmd triggered in Insert mode with visible popup menu.
Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
closes #2372, closes #1691)
Fix that the TextChanged autocommands are not always triggered
when sourcing a script.
Bram Moolenaar [Sat, 10 Feb 2018 15:19:32 +0000 (16:19 +0100)]
patch 8.0.1493: completion items cannot be annotated
Problem: Completion items cannot be annotated.
Solution: Add a "user_data" entry to the completion item. (Ben Jackson,
coses #2608, closes #2508)
Bram Moolenaar [Sat, 10 Feb 2018 14:38:35 +0000 (15:38 +0100)]
patch 8.0.1492: memory leak in balloon_split()
Problem: Memory leak in balloon_split().
Solution: Free the balloon lines. Free the balloon when exiting.
Bram Moolenaar [Sat, 10 Feb 2018 14:36:55 +0000 (15:36 +0100)]
patch 8.0.1491: the minimum width of the popup menu is hard coded
Problem: The minimum width of the popup menu is hard coded.
Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
closes #2314)
Bram Moolenaar [Sat, 10 Feb 2018 13:12:43 +0000 (14:12 +0100)]
patch 8.0.1490: number of spell regions is spread out through the code
Problem: Number of spell regions is spread out through the code.
Solution: Define MAXREGIONS.
Bram Moolenaar [Fri, 9 Feb 2018 21:00:53 +0000 (22:00 +0100)]
Update runtime files.
Bram Moolenaar [Fri, 9 Feb 2018 19:53:59 +0000 (20:53 +0100)]
patch 8.0.1489: there is no easy way to get the global directory
Problem: There is no easy way to get the global directory, esp. if some
windows have a local directory.
Solution: Make getcwd(-1) return the global directory. (Andy Massimino,
closes #2606)
Bram Moolenaar [Fri, 9 Feb 2018 18:25:29 +0000 (19:25 +0100)]
patch 8.0.1488: emacs tags no longer work
Problem: Emacs tags no longer work. (zdohnal)
Solution: Do not skip over end of line.
Bram Moolenaar [Fri, 9 Feb 2018 18:24:01 +0000 (19:24 +0100)]
patch 8.0.1487: test 14 fails
Problem: Test 14 fails.
Solution: Fix of-by-one error.
Bram Moolenaar [Fri, 9 Feb 2018 17:09:54 +0000 (18:09 +0100)]
patch 8.0.1486: accessing invalid memory with "it"
Problem: Accessing invalid memory with "it". (Dominique Pelle)
Solution: Avoid going over the end of the line. (Christian Brabandt,
closes #2532)
Bram Moolenaar [Fri, 9 Feb 2018 16:50:28 +0000 (17:50 +0100)]
patch 8.0.1485: weird autocmd may cause arglist to be changed recursively
Problem: Weird autocmd may cause arglist to be changed recursively.
Solution: Prevent recursively changing the argument list. (Christian
Brabandt, closes #2472)
Bram Moolenaar [Fri, 9 Feb 2018 15:46:00 +0000 (16:46 +0100)]
patch 8.0.1484: reduntant conditions
Problem: Reduntant conditions.
Solution: Remove them. (Dominique Pelle)
Bram Moolenaar [Fri, 9 Feb 2018 15:04:25 +0000 (16:04 +0100)]
patch 8.0.1483: searchpair() might return an invalid value on timeout
Problem: Searchpair() might return an invalid value on timeout.
Solution: When the second search times out, do not accept a match from the
first search. (Daniel Hahler, closes #2552)
Bram Moolenaar [Fri, 9 Feb 2018 14:06:02 +0000 (15:06 +0100)]
patch 8.0.1482: using feedkeys() does not work to test completion
Problem: Using feedkeys() does not work to test Insert mode completion.
(Lifepillar)
Solution: Do not check for typed keys when executing :normal or feedkeys().
Fix thesaurus completion not working when 'complete' is empty.
Bram Moolenaar [Fri, 9 Feb 2018 11:29:56 +0000 (12:29 +0100)]
patch 8.0.1481: clearing a pointer takes two lines
Problem: Clearing a pointer takes two lines.
Solution: Add vim_clear() to free and clear the pointer.
Bram Moolenaar [Fri, 9 Feb 2018 11:28:00 +0000 (12:28 +0100)]
patch 8.0.1480: patch missing change
Problem: Patch missing change.
Solution: Add missing change.
Bram Moolenaar [Fri, 9 Feb 2018 11:13:34 +0000 (12:13 +0100)]
patch 8.0.1479: insert mode completion state is confusing
Problem: Insert mode completion state is confusing.
Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
Bram Moolenaar [Thu, 8 Feb 2018 21:45:17 +0000 (22:45 +0100)]
patch 8.0.1478: unnecessary condition
Problem: Unnecessary condition for "len" being zero.
Solution: Remove the condition. (Dominique Pelle)
Bram Moolenaar [Thu, 8 Feb 2018 21:33:31 +0000 (22:33 +0100)]
patch 8.0.1477: redraw flicker when moving the mouse outside of terminal window
Problem: Redraw flicker when moving the mouse outside of terminal window.
Solution: Instead of updating the cursor color and shape every time leaving
and entering a terminal window, only update when different from
the previously used cursor.
Bram Moolenaar [Thu, 8 Feb 2018 08:57:28 +0000 (09:57 +0100)]
patch 8.0.1476: screen isn't always updated right away
Problem: Screen isn't always updated right away.
Solution: Adjust #ifdef: Call out_flush() when not running the GUI.