comparison runtime/doc/version8.txt @ 9908:2b6654519a7c

commit https://github.com/vim/vim/commit/7571d55f7dcc009a375b2124cce2c8b21f361234 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 18 22:54:46 2016 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Thu, 18 Aug 2016 23:00:06 +0200
parents b4da19b7539f
children 03fa8a51e9dc
comparison
equal deleted inserted replaced
9907:d46c83883c95 9908:2b6654519a7c
1 *version8.txt* For Vim version 8.0. Last change: 2016 Aug 16 1 *version8.txt* For Vim version 8.0. Last change: 2016 Aug 18
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
316 |wordcount()| get byte/word/char count of buffer 316 |wordcount()| get byte/word/char count of buffer
317 317
318 318
319 New Vim variables: ~ 319 New Vim variables: ~
320 320
321 |v:vim_did_enter| Set when VimEnter autocommands are triggered
322 |v:beval_winid| Window ID of the window where the mouse pointer is 321 |v:beval_winid| Window ID of the window where the mouse pointer is
323 |v:completed_item| complete items for the most recently completed word 322 |v:completed_item| complete items for the most recently completed word
324 |v:errors| errors found by assert functions 323 |v:errors| errors found by assert functions
325 |v:false| a Number with value zero 324 |v:false| a Number with value zero
326 |v:hlsearch| indicates whether search highlighting is on 325 |v:hlsearch| indicates whether search highlighting is on
341 |v:t_none| value of None type 340 |v:t_none| value of None type
342 |v:t_number| value of Number type 341 |v:t_number| value of Number type
343 |v:t_string| value of String type 342 |v:t_string| value of String type
344 |v:testing| must be set before using `test_garbagecollect_now()` 343 |v:testing| must be set before using `test_garbagecollect_now()`
345 |v:true| a Number with value one 344 |v:true| a Number with value one
346 |v:vim_did_enter| zero until most of startup is done 345 |v:vim_did_enter| set just before VimEnter autocommands are triggered
347 346
348 347
349 New autocommand events: ~ 348 New autocommand events: ~
350 349
351 |CmdUndefined| a user command is used but it isn't defined 350 |CmdUndefined| a user command is used but it isn't defined
12666 Problem: Coverity warns for possible buffer overflow. 12665 Problem: Coverity warns for possible buffer overflow.
12667 Solution: Use vim_strcat() instead of strcat(). 12666 Solution: Use vim_strcat() instead of strcat().
12668 Files: src/quickfix.c 12667 Files: src/quickfix.c
12669 12668
12670 Patch 7.4.2065 12669 Patch 7.4.2065
12671 Problem: Compiler warns for uninitialzed variable. (John Marriott) 12670 Problem: Compiler warns for uninitialized variable. (John Marriott)
12672 Solution: Set lnum to the right value.
12673 Files: src/evalfunc.c
12674
12675 Patch 7.4.2066
12676 Problem: getcompletion() not well tested.
12677 Solution: Add more testing.
12678 Files: src/testdir/test_cmdline.vim
12679
12680 Patch 7.4.2067
12681 Problem: Compiler warning for char/char_u conversion. (Tony Mechelynck)
12682 Inefficient code.
12683 Solution: Use more lines to fill with spaces. (Nikolai Pavlov) Add type cast.
12684 Files: src/quickfix.c
12685
12686 Patch 7.4.2068
12687 Problem: Not all arguments of trunc_string() are tested. Memory access
12688 error when running the message tests.
12689 Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run
12690 unittests with valgrind. Fix the access error.
12691 Files: src/message.c, src/message_test.c, src/Makefile
12692
12693 Patch 7.4.2069
12694 Problem: spell.c is too big.
12695 Solution: Split it in spell file handling and spell checking.
12696 Files: src/spell.c, src/spellfile.c, src/spell.h, src/Makefile,
12697 src/proto/spell.pro, src/proto/spellfile.pro, src/proto.h
12698 Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak,
12699 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak,
12700 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak
12701
12702 Patch 7.4.2070 (after 7.4.2069)
12703 Problem: Missing change to include file.
12704 Solution: Include the spell header file.
12705 Files: src/vim.h
12706
12707 Patch 7.4.2071
12708 Problem: The return value of type() is difficult to use.
12709 Solution: Define v:t_ constants. (Ken Takata)
12710 Files: runtime/doc/eval.txt, src/eval.c, src/evalfunc.c,
12711 src/testdir/test_channel.vim, src/testdir/test_viml.vim, src/vim.h
12712
12713 Patch 7.4.2072
12714 Problem: substitute() does not support a Funcref argument.
12715 Solution: Support a Funcref like it supports a string starting with "\=".
12716 Files: src/evalfunc.c, src/regexp.c, src/eval.c, src/proto/eval.pro,
12717 src/proto/regexp.pro, src/testdir/test_expr.vim
12718
12719 Patch 7.4.2073
12720 Problem: rgb.txt is read for every color name.
12721 Solution: Load rgb.txt once. (Christian Brabandt) Add a test.
12722 Files: runtime/rgb.txt, src/term.c, src/testdir/test_syn_attr.vim
12723
12724 Patch 7.4.2074
12725 Problem: One more place using a dummy variable.
12726 Solution: Use offsetof(). (Ken Takata)
12727 Files: src/userfunc.c
12728
12729 Patch 7.4.2075
12730 Problem: No autocommand event to initialize a window or tab page.
12731 Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
12732 Files: src/fileio.c, src/window.c, src/vim.h,
12733 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt
12734
12735 Patch 7.4.2076
12736 Problem: Syntax error when dict has '>' key.
12737 Solution: Check for endchar. (Ken Takata)
12738 Files: src/userfunc.c, src/testdir/test_lambda.vim
12739
12740 Patch 7.4.2077
12741 Problem: Cannot update 'tabline' when a tab was closed.
12742 Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
12743 Files: src/fileio.c, src/window.c, src/vim.h,
12744 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt
12745
12746 Patch 7.4.2078
12747 Problem: Running checks in po directory fails.
12748 Solution: Add colors used in syntax.c to the builtin color table.
12749 Files: src/term.c
12750
12751 Patch 7.4.2079
12752 Problem: Netbeans test fails on non-Unix systems.
12753 Solution: Only do the permission check on Unix systems.
12754 Files: src/testdir/test_netbeans.vim
12755
12756 Patch 7.4.2080
12757 Problem: When using PERROR() on some systems assert_fails() does not see
12758 the error.
12759 Solution: Make PERROR() always report the error.
12760 Files: src/vim.h, src/message.c, src/proto/message.pro
12761
12762 Patch 7.4.2081
12763 Problem: Line numbers in the error list are not always adjusted.
12764 Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan)
12765 Files: src/quickfix.c, src/structs.h, src/testdir/test_quickfix.vim
12766
12767 Patch 7.4.2082
12768 Problem: Not much test coverage for digraphs.
12769 Solution: Add a new style digraph test. (Christian Brabandt)
12770 Files: src/Makefile, src/testdir/test_alot.vim,
12771 src/testdir/test_digraph.vim
12772
12773 Patch 7.4.2083
12774 Problem: Coverity complains about not restoring a value.
12775 Solution: Restore the value, although it's not really needed. Change return
12776 to jump to cleanup, might leak memory.
12777 Files: src/userfunc.c
12778
12779 Patch 7.4.2084
12780 Problem: New digraph test makes testing hang.
12781 Solution: Don't set "nocp".
12782 Files: src/testdir/test_digraph.vim
12783
12784 Patch 7.4.2085
12785 Problem: Digraph tests fails on some systems.
12786 Solution: Run it separately and set 'encoding' early.
12787 Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
12788 src/testdir/test_digraph.vim
12789
12790 Patch 7.4.2086
12791 Problem: Using the system default encoding makes tests unpredictable.
12792 Solution: Always use utf-8 or latin1 in the new style tests. Remove setting
12793 encoding and scriptencoding where it is not needed.
12794 Files: src/testdir/runtest.vim, src/testdir/test_channel.vim,
12795 src/testdir/test_digraph.vim, src/testdir/test_expand_dllpath.vim,
12796 src/testdir/test_expr_utf8.vim, src/testdir/test_json.vim,
12797 src/testdir/test_matchadd_conceal_utf8.vim,
12798 src/testdir/test_regexp_utf8.vim, src/testdir/test_visual.vim,
12799 src/testdir/test_alot_utf8.vim,
12800
12801 Patch 7.4.2087
12802 Problem: Digraph code test coverage is still low.
12803 Solution: Add more tests. (Christian Brabandt)
12804 Files: src/testdir/test_digraph.vim
12805
12806 Patch 7.4.2088 (after 7.4.2087)
12807 Problem: Keymap test fails with normal features.
12808 Solution: Bail out if the keymap feature is not supported.
12809 Files: src/testdir/test_digraph.vim
12810
12811 Patch 7.4.2089
12812 Problem: Color handling of X11 GUIs is too complicated.
12813 Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu
12814 Kuriyama)
12815 Files: src/gui.h, src/gui_beval.c, src/gui_gtk_x11.c, src/netbeans.c
12816
12817 Patch 7.4.2090
12818 Problem: Using submatch() in a lambda passed to substitute() is verbose.
12819 Solution: Use a static list and pass it as an optional argument to the
12820 function. Fix memory leak.
12821 Files: src/structs.h, src/list.c, src/userfunc.c, src/channel.c,
12822 src/eval.c, src/evalfunc.c, src/ex_cmds2.c, src/regexp.c,
12823 src/proto/list.pro, src/proto/userfunc.pro,
12824 src/testdir/test_expr.vim, runtime/doc/eval.txt
12825
12826 Patch 7.4.2091
12827 Problem: Coverity reports a resource leak when out of memory.
12828 Solution: Close the file before returning.
12829 Files: src/term.c
12830
12831 Patch 7.4.2092
12832 Problem: GTK 3 build fails with older GTK version.
12833 Solution: Check the pango version. (Kazunobu Kuriyama)
12834 Files: src/gui_beval.c
12835
12836 Patch 7.4.2093
12837 Problem: Netbeans test fails once in a while. Leaving log file behind.
12838 Solution: Add it to the list of flaky tests. Disable logfile.
12839 Files: src/testdir/runtest.vim, src/testdir/test_channel.vim
12840
12841 Patch 7.4.2094
12842 Problem: The color allocation in X11 is overly complicated.
12843 Solution: Remove find_closest_color(), XAllocColor() already does this.
12844 (Kazunobu Kuriyama)
12845 Files: src/gui_x11.c
12846
12847 Patch 7.4.2095
12848 Problem: Man test fails when run with the GUI.
12849 Solution: Adjust for different behavior of GUI. Add assert_inrange().
12850 Files: src/eval.c, src/evalfunc.c, src/proto/eval.pro,
12851 src/testdir/test_assert.vim, src/testdir/test_man.vim,
12852 runtime/doc/eval.txt
12853
12854 Patch 7.4.2096
12855 Problem: Lambda functions show up with completion.
12856 Solution: Don't show lambda functions. (Ken Takata)
12857 Files: src/userfunc.c, src/testdir/test_cmdline.vim
12858
12859 Patch 7.4.2097
12860 Problem: Warning from 64 bit compiler.
12861 Solution: use size_t instead of int. (Mike Williams)
12862 Files: src/message.c
12863
12864 Patch 7.4.2098
12865 Problem: Text object tests are old style.
12866 Solution: Turn them into new style tests. (James McCoy, closes #941)
12867 Files: src/testdir/Make_all.mak, src/testdir/test_textobjects.in,
12868 src/testdir/test_textobjects.ok, src/testdir/test_textobjects.vim,
12869 src/Makefile
12870
12871 Patch 7.4.2099
12872 Problem: When a keymap is active only "(lang)" is displayed. (Ilya
12873 Dogolazky)
12874 Solution: Show the keymap name. (Dmitri Vereshchagin, closes #933)
12875 Files: src/buffer.c, src/proto/screen.pro, src/screen.c
12876
12877 Patch 7.4.2100
12878 Problem: "cgn" and "dgn" do not work correctly with a single character
12879 match and the replacement includes the searched pattern. (John
12880 Beckett)
12881 Solution: If the match is found in the wrong column try in the next column.
12882 Turn the test into new style. (Christian Brabandt)
12883 Files: src/search.c, src/testdir/Make_all.mak, src/Makefile,
12884 src/testdir/test53.in, src/testdir/test53.ok,
12885 src/testdir/test_gn.vim
12886
12887 Patch 7.4.2101
12888 Problem: Looping over windows, buffers and tab pages is inconsistent.
12889 Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
12890 Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c,
12891 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/fileio.c,
12892 src/globals.h, src/gui.c, src/gui_mac.c, src/if_lua.c,
12893 src/if_mzsch.c, src/if_perl.xs, src/if_ruby.c, src/if_tcl.c,
12894 src/main.c, src/mark.c, src/memfile.c, src/memline.c, src/misc1.c,
12895 src/move.c, src/netbeans.c, src/normal.c, src/option.c,
12896 src/quickfix.c, src/screen.c, src/spell.c, src/term.c,
12897 src/window.c, src/workshop.c
12898
12899 Patch 7.4.2102 (after 7.4.2101)
12900 Problem: Tiny build with GUI fails.
12901 Solution: Revert one FOR_ALL_ change.
12902 Files: src/gui.c
12903
12904 Patch 7.4.2103
12905 Problem: Can't have "augroup END" right after ":au!".
12906 Solution: Check for the bar character before the command argument.
12907 Files: src/fileio.c, src/testdir/test_autocmd.vim,
12908 runtime/doc/autocmd.txt
12909
12910 Patch 7.4.2104
12911 Problem: Code duplication when unreferencing a function.
12912 Solution: De-duplicate.
12913 Files: src/userfunc.c
12914
12915 Patch 7.4.2105
12916 Problem: Configure reports default features to be "normal" while it is
12917 "huge".
12918 Solution: Change the default text. Build with newer autoconf.
12919 Files: src/configure.in, src/auto/configure
12920
12921 Patch 7.4.2106
12922 Problem: Clang warns about missing field in initializer.
12923 Solution: Define COMMA and use it. (Kazunobu Kuriyama)
12924 Files: src/ex_cmds.c, src/globals.h, src/vim.h
12925
12926 Patch 7.4.2107 (after 7.4.2106)
12927 Problem: Misplaced equal sign.
12928 Solution: Remove it.
12929 Files: src/globals.h
12930
12931 Patch 7.4.2108
12932 Problem: Netbeans test is flaky.
12933 Solution: Wait for the cursor to be positioned.
12934 Files: src/testdir/test_netbeans.vim
12935
12936 Patch 7.4.2109
12937 Problem: Setting 'display' to "lastline" is a drastic change, while
12938 omitting it results in lots of "@" lines.
12939 Solution: Add "truncate" to show "@@@" for a truncated line.
12940 Files: src/option.h, src/screen.c, runtime/doc/options.txt
12941
12942 Patch 7.4.2110
12943 Problem: When there is an CmdUndefined autocmd then the error for a missing
12944 command is E464 instead of E492. (Manuel Ortega)
12945 Solution: Don't let the pointer be NULL.
12946 Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
12947
12948 Patch 7.4.2111
12949 Problem: Defaults are very conservative.
12950 Solution: Move settings from vimrc_example.vim to defaults.vim. Load
12951 defaults.vim if no .vimrc was found.
12952 Files: src/main.c, src/version.c, src/os_amiga.h, src/os_dos.h,
12953 src/os_mac.h, src/os_unix.h, src/feature.h, src/Makefile,
12954 runtime/vimrc_example.vim, runtime/defaults.vim,
12955 runtime/evim.vim, Filelist, runtime/doc/starting.txt
12956
12957 Patch 7.4.2112
12958 Problem: getcompletion(.., 'dir') returns a match with trailing "*" when
12959 there are no matches. (Chdiza)
12960 Solution: Return an empty list when there are no matches. Add a trailing
12961 slash to directories. (Yegappan Lakshmanan) Add tests for no
12962 matches. (closes #947)
12963 Files: src/evalfunc.c, src/testdir/test_cmdline.vim
12964
12965 Patch 7.4.2113
12966 Problem: Test for undo is flaky.
12967 Solution: Turn it into a new style test. Use test_settime() to avoid
12968 flakyness.
12969 Files: src/Makefile, src/undo.c, src/testdir/test61.in,
12970 src/testdir/test61.ok, src/testdir/test_undo.vim,
12971 src/testdir/test_undolevels.vim, src/testdir/Make_all.mak,
12972 src/testdir/test_alot.vim
12973
12974 Patch 7.4.2114
12975 Problem: Tiny build fails.
12976 Solution: Always include vim_time().
12977 Files: src/ex_cmds.c
12978
12979 Patch 7.4.2115
12980 Problem: Loading defaults.vim with -C argument.
12981 Solution: Don't load the defaults script with -C argument. Test sourcing
12982 the defaults script. Set 'display' to "truncate".
12983 Files: src/main.c, src/Makefile, runtime/defaults.vim,
12984 src/testdir/test_startup.vim, src/testdir/Make_all.mak
12985
12986 Patch 7.4.2116
12987 Problem: The default vimrc for Windows is very conservative.
12988 Solution: Use the defaults.vim in the Windows installer.
12989 Files: src/dosinst.c
12990
12991 Patch 7.4.2117
12992 Problem: Deleting an augroup that still has autocmds does not give a
12993 warning. The next defined augroup takes its place.
12994 Solution: Give a warning and prevent the index being used for another group
12995 name.
12996 Files: src/fileio.c, src/testdir/test_autocmd.vim
12997
12998 Patch 7.4.2118
12999 Problem: Mac: can't build with tiny features.
13000 Solution: Don't define FEAT_CLIPBOARD unconditionally. (Kazunobu Kuriyama)
13001 Files: src/vim.h
13002
13003 Patch 7.4.2119
13004 Problem: Closures are not supported.
13005 Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
13006 Matsumoto, Ken Takata)
13007 Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmds2.c, src/globals.h,
13008 src/proto/eval.pro, src/proto/userfunc.pro,
13009 src/testdir/test_lambda.vim, src/userfunc.c
13010
13011 Patch 7.4.2120
13012 Problem: User defined functions can't be a closure.
13013 Solution: Add the "closure" argument. Allow using :unlet on a bound
13014 variable. (Yasuhiro Matsumoto, Ken Takata)
13015 Files: runtime/doc/eval.txt, src/testdir/test_lambda.vim, src/userfunc.c,
13016 src/eval.c src/proto/userfunc.pro
13017
13018 Patch 7.4.2121
13019 Problem: No easy way to check if lambda and closure are supported.
13020 Solution: Add the +lambda feature.
13021 Files: src/evalfunc.c, src/version.c, src/testdir/test_lambda.vim
13022
13023 Patch 7.4.2122 (after 7.4.2118)
13024 Problem: Mac: don't get +clipboard in huge build.
13025 Solution: Move #define down below including feature.h
13026 Files: src/vim.h
13027
13028 Patch 7.4.2123
13029 Problem: No new style test for diff mode.
13030 Solution: Add a test. Check that folds are in sync.
13031 Files: src/Makefile, src/testdir/test_diffmode.vim,
13032 src/testdir/Make_all.mak, src/testdir/test47.in,
13033 src/testdir/test47.ok
13034
13035 Patch 7.4.2124
13036 Problem: diffmode test leaves files behind, breaking another test.
13037 Solution: Delete the files.
13038 Files: src/testdir/test_diffmode.vim
13039
13040 Patch 7.4.2125
13041 Problem: Compiler warning for loss of data.
13042 Solution: Add a type cast. (Christian Brabandt)
13043 Files: src/message.c
13044
13045 Patch 7.4.2126
13046 Problem: No tests for :diffget and :diffput
13047 Solution: Add tests.
13048 Files: src/testdir/test_diffmode.vim
13049
13050 Patch 7.4.2127
13051 Problem: The short form of ":noswapfile" is ":noswap" instead of ":nos".
13052 (Kent Sibilev)
13053 Solution: Only require three characters. Add a test for the short forms.
13054 Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
13055
13056 Patch 7.4.2128
13057 Problem: Memory leak when saving for undo fails.
13058 Solution: Free allocated memory. (Hirohito Higashi)
13059 Files: src/ex_cmds.c
13060
13061 Patch 7.4.2129
13062 Problem: Memory leak when using timer_start(). (Dominique Pelle)
13063 Solution: Don't copy the callback when using a partial.
13064 Files: src/evalfunc.c
13065
13066 Patch 7.4.2130
13067 Problem: Pending timers cause false memory leak reports.
13068 Solution: Free all timers on exit.
13069 Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/misc2.c
13070
13071 Patch 7.4.2131
13072 Problem: More memory leaks when using partial, e.g. for "exit-cb".
13073 Solution: Don't copy the callback when using a partial.
13074 Files: src/channel.c
13075
13076 Patch 7.4.2132
13077 Problem: test_partial has memory leaks reported.
13078 Solution: Add a note about why this happens.
13079 Files: src/testdir/test_partial.vim
13080
13081 Patch 7.4.2133 (after 7.4.2128)
13082 Problem: Can't build with tiny features.
13083 Solution: Add #ifdef.
13084 Files: src/ex_cmds.c
13085
13086 Patch 7.4.2134
13087 Problem: No error for using function() badly.
13088 Solution: Check for passing wrong function name. (Ken Takata)
13089 Files: src/eval.c, src/evalfunc.c, src/proto/userfunc.pro,
13090 src/testdir/test_expr.vim, src/userfunc.c, src/vim.h
13091
13092 Patch 7.4.2135
13093 Problem: Various tiny issues.
13094 Solution: Update comments, white space, etc.
13095 Files: src/diff.c, src/digraph.c, src/testdir/test80.in,
13096 src/testdir/test_channel.vim, src/testdir/Makefile,
13097 runtime/menu.vim, src/INSTALLpc.txt, src/xpm/README.txt
13098
13099 Patch 7.4.2136
13100 Problem: Closure function fails.
13101 Solution: Don't reset uf_scoped when it points to another funccal.
13102 Files: src/userfunc.c, src/testdir/test_lambda.vim
13103
13104 Patch 7.4.2137
13105 Problem: Using function() with a name will find another function when it is
13106 redefined.
13107 Solution: Add funcref(). Refer to lambda using a partial. Fix several
13108 reference counting issues.
13109 Files: src/vim.h, src/structs.h, src/userfunc.c, src/eval.c,
13110 src/evalfunc.c, src/channel.c, src/proto/eval.pro,
13111 src/proto/userfunc.pro, src/if_mzsch.c, src/regexp.c, src/misc2.c,
13112 src/if_py_both.h, src/testdir/test_expr.vim, runtime/doc/eval.txt
13113
13114 Patch 7.4.2138
13115 Problem: Test 86 and 87 fail.
13116 Solution: Call func_ref() also for regular functions.
13117 Files: src/if_py_both.h
13118
13119 Patch 7.4.2139
13120 Problem: :delfunction causes illegal memory access.
13121 Solution: Correct logic when deciding to free a function.
13122 Files: src/userfunc.c, src/testdir/test_lambda.vim
13123
13124 Patch 7.4.2140
13125 Problem: Tiny build fails.
13126 Solution: Add dummy typedefs.
13127 Files: src/structs.h
13128
13129 Patch 7.4.2141
13130 Problem: Coverity reports bogus NULL check.
13131 Solution: When checking for a variable in the funccal scope don't pass the
13132 varname.
13133 Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c
13134
13135 Patch 7.4.2142
13136 Problem: Leaking memory when redefining a function.
13137 Solution: Don't increment the function reference count when it's found by
13138 name. Don't remove the wrong function from the hashtab. More
13139 reference counting fixes.
13140 Files: src/structs.h, src/userfunc.c
13141
13142 Patch 7.4.2143
13143 Problem: A funccal is garbage collected while it can still be used.
13144 Solution: Set copyID in all referenced functions. Do not list lambda
13145 functions with ":function".
13146 Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
13147 src/testdir/test_lambda.vim
13148
13149 Patch 7.4.2144
13150 Problem: On MS-Windows quickfix does not handle a line with 1023 bytes
13151 ending in CR-LF properly.
13152 Solution: Don't consider CR a line break. (Ken Takata)
13153 Files: src/quickfix.c
13154
13155 Patch 7.4.2145
13156 Problem: Win32: Using CreateThread/ExitThread is not safe.
13157 Solution: Use _beginthreadex and return from the thread. (Ken Takata)
13158 Files: src/os_win32.c
13159
13160 Patch 7.4.2146
13161 Problem: Not enough testing for popup menu. CTRL-E does not always work
13162 properly.
13163 Solution: Add more tests. When using CTRL-E check if the popup menu is
13164 visible. (Christian Brabandt)
13165 Files: src/edit.c, src/testdir/test_popup.vim
13166
13167 Patch 7.4.2147 (after 7.4.2146)
13168 Problem: test_alot fails.
13169 Solution: Close window.
13170 Files: src/testdir/test_popup.vim
13171
13172 Patch 7.4.2148
13173 Problem: Not much testing for cscope.
13174 Solution: Add a test that uses the cscope program. (Christian Brabandt)
13175 Files: src/testdir/test_cscope.vim
13176
13177 Patch 7.4.2149
13178 Problem: If a test leaves a window open a following test may fail.
13179 Solution: Always close extra windows after running a test.
13180 Files: src/testdir/runtest.vim, src/testdir/test_popup.vim
13181
13182 Patch 7.4.2150
13183 Problem: Warning with MinGW 64. (John Marriott)
13184 Solution: Change return type. (Ken Takata)
13185 Files: src/os_win32.c
13186
13187 Patch 7.4.2151
13188 Problem: Quickfix test fails on MS-Windows.
13189 Solution: Close the help window. (Christian Brabandt)
13190 Files: src/testdir/test_quickfix.vim
13191
13192 Patch 7.4.2152
13193 Problem: No proper translation of messages with a count.
13194 Solution: Use ngettext(). (Sergey Alyoshin)
13195 Files: src/evalfunc.c, src/fold.c, src/os_win32.c, src/screen.c, src/vim.h
13196
13197 Patch 7.4.2153
13198 Problem: GUI test isn't testing much.
13199 Solution: Turn into a new style test. Execute a shell command.
13200 Files: src/testdir/test_gui.vim, src/testdir/test16.in,
13201 src/testdir/test16.ok, src/testdir/Make_all.mak, src/Makefile,
13202 src/testdir/Make_vms.mms
13203
13204 Patch 7.4.2154
13205 Problem: Test_communicate() fails sometimes.
13206 Solution: Add it to the flaky tests.
13207 Files: src/testdir/runtest.vim
13208
13209 Patch 7.4.2155
13210 Problem: Quotes make GUI test fail on MS-Windows.
13211 Solution: Remove quotes, strip white space.
13212 Files: src/testdir/test_gui.vim
13213
13214 Patch 7.4.2156
13215 Problem: Compiler warning.
13216 Solution: Add type cast. (Ken Takata, Mike Williams)
13217 Files: src/os_win32.c
13218
13219 Patch 7.4.2157
13220 Problem: Test_job_start_fails() is expected to report memory leaks, making
13221 it hard to see other leaks in test_partial.
13222 Solution: Move Test_job_start_fails() to a separate test file.
13223 Files: src/testdir/test_partial.vim, src/testdir/test_job_fails.vim,
13224 src/Makefile, src/testdir/Make_all.mak
13225
13226 Patch 7.4.2158
13227 Problem: Result of getcompletion('', 'cscope') depends on previous
13228 completion. (Christian Brabandt)
13229 Solution: Call set_context_in_cscope_cmd().
13230 Files: src/evalfunc.c, src/testdir/test_cmdline.vim
13231
13232 Patch 7.4.2159
13233 Problem: Insufficient testing for cscope.
13234 Solution: Add more tests. (Dominique Pelle)
13235 Files: src/testdir/test_cscope.vim
13236
13237 Patch 7.4.2160
13238 Problem: setmatches() mixes up values. (Nikolai Pavlov)
13239 Solution: Save the string instead of reusing a shared buffer.
13240 Files: src/dict.c, src/evalfunc.c, src/testdir/test_expr.vim,
13241
13242 Patch 7.4.2161 (after 7.4.2160)
13243 Problem: Expression test fails without conceal feature.
13244 Solution: Only check "conceal" with the conceal feature.
13245 Files: src/testdir/test_expr.vim
13246
13247 Patch 7.4.2162
13248 Problem: Result of getcompletion('', 'sign') depends on previous
13249 completion.
13250 Solution: Call set_context_in_sign_cmd(). (Dominique Pelle)
13251 Files: src/evalfunc.c, src/testdir/test_cmdline.vim
13252
13253 Patch 7.4.2063
13254 Problem: eval.c is still too big.
13255 Solution: Split off internal functions to evalfunc.c.
13256 Files: src/eval.c, src/evalfunc.c, src/list.c, src/proto.h,
13257 src/globals.h, src/vim.h, src/proto/eval.pro,
13258 src/proto/evalfunc.pro, src/proto/list.pro, src/Makefile, Filelist,
13259 src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak,
13260 src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak,
13261 src/Make_mvc.mak, src/Make_sas.mak
13262
13263 Patch 7.4.2064
13264 Problem: Coverity warns for possible buffer overflow.
13265 Solution: Use vim_strcat() instead of strcat().
13266 Files: src/quickfix.c
13267
13268 Patch 7.4.2065
13269 Problem: Compiler warns for uninitialzed variable. (John Marriott)
13270 Solution: Set lnum to the right value. 12671 Solution: Set lnum to the right value.
13271 Files: src/evalfunc.c 12672 Files: src/evalfunc.c
13272 12673
13273 Patch 7.4.2066 12674 Patch 7.4.2066
13274 Problem: getcompletion() not well tested. 12675 Problem: getcompletion() not well tested.
14153 Files: src/gui_gtk_x11.c 13554 Files: src/gui_gtk_x11.c
14154 13555
14155 Patch 7.4.2215 13556 Patch 7.4.2215
14156 Problem: It's not easy to find out if a window is a quickfix or location 13557 Problem: It's not easy to find out if a window is a quickfix or location
14157 list window. 13558 list window.
14158 Solution: Add "loclist" and "quickfix" entries to the dict returnec by 13559 Solution: Add "loclist" and "quickfix" entries to the dict returned by
14159 getwininfo(). (Yegappan Lakshmanan) 13560 getwininfo(). (Yegappan Lakshmanan)
14160 Files: runtime/doc/eval.txt, src/evalfunc.c, 13561 Files: runtime/doc/eval.txt, src/evalfunc.c,
14161 src/testdir/test_bufwintabinfo.vim 13562 src/testdir/test_bufwintabinfo.vim
14162 13563
14163 Patch 7.4.2216 (after 7.4.2215) 13564 Patch 7.4.2216 (after 7.4.2215)