blob: d927c54d6eaa96c65163decdb60dcffba2b87158 [file] [log] [blame]
Bram Moolenaarb1c91982018-05-17 17:04:55 +02001*version8.txt* For Vim version 8.1. Last change: 2018 May 17
Bram Moolenaar03413f42016-04-12 21:07:15 +02002
3
4 VIM REFERENCE MANUAL by Bram Moolenaar
5
Bram Moolenaardc1f1642016-08-16 18:33:43 +02006
Bram Moolenaar03413f42016-04-12 21:07:15 +02007 *vim8* *vim-8* *version-8.0* *version8.0*
Bram Moolenaardc1f1642016-08-16 18:33:43 +02008Welcome to Vim 8! A large number of bugs have been fixed and several nice
Bram Moolenaar03413f42016-04-12 21:07:15 +02009features have been added. This file mentions all the new items and changes to
Bram Moolenaardc1f1642016-08-16 18:33:43 +020010existing features since Vim 7.4. The patches up to Vim 7.4 can be found here:
11|vim-7.4|.
12
13Use this command to see the full version and features information of the Vim
14program you are using: >
Bram Moolenaar03413f42016-04-12 21:07:15 +020015 :version
16
Bram Moolenaar03413f42016-04-12 21:07:15 +020017NEW FEATURES |new-8|
Bram Moolenaardc1f1642016-08-16 18:33:43 +020018 Vim script enhancements |new-vim-script-8|
19 Various new items |new-items-8|
Bram Moolenaar03413f42016-04-12 21:07:15 +020020
Bram Moolenaar063b9d12016-07-09 20:21:48 +020021INCOMPATIBLE CHANGES |incompatible-8|
22
Bram Moolenaar03413f42016-04-12 21:07:15 +020023IMPROVEMENTS |improvements-8|
24
25COMPILE TIME CHANGES |compile-changes-8|
26
27PATCHES |patches-8|
28
Bram Moolenaarb1c91982018-05-17 17:04:55 +020029VERSION 8.1 |version-8.1|
30Changed |changed-8.1|
31Added |added-8.1|
32Patches |patches-8.1|
33
Bram Moolenaar03413f42016-04-12 21:07:15 +020034
Bram Moolenaardc1f1642016-08-16 18:33:43 +020035See |vi_diff.txt| for an overview of differences between Vi and Vim 8.0.
36See |version4.txt|, |version5.txt|, |version6.txt| and |version7.txt| for
37differences between other versions.
38
Bram Moolenaar03413f42016-04-12 21:07:15 +020039==============================================================================
Bram Moolenaar03413f42016-04-12 21:07:15 +020040NEW FEATURES *new-8*
41
Bram Moolenaarbb76f242016-09-12 14:24:39 +020042First an overview of the more interesting new features. A comprehensive list
43is below.
Bram Moolenaar03413f42016-04-12 21:07:15 +020044
45
46Asynchronous I/O support, channels ~
47
Bram Moolenaar063b9d12016-07-09 20:21:48 +020048Vim can now exchange messages with other processes in the background. This
49makes it possible to have servers do work and send back the results to Vim.
50See |channel-demo| for an example, this shows communicating with a Python
51server.
Bram Moolenaar03413f42016-04-12 21:07:15 +020052
53Closely related to channels is JSON support. JSON is widely supported and can
54easily be used for inter-process communication, allowing for writing a server
55in any language. The functions to use are |json_encode()| and |json_decode()|.
56
Bram Moolenaar063b9d12016-07-09 20:21:48 +020057This makes it possible to build very complex plugins, written in any language
58and running in a separate process.
59
Bram Moolenaar03413f42016-04-12 21:07:15 +020060
61Jobs ~
62
63Vim can now start a job, communicate with it and stop it. This is very useful
64to run a process for completion, syntax checking, etc. Channels are used to
65communicate with the job. Jobs can also read from or write to a buffer or a
66file. See |job_start()|.
67
68
69Timers ~
70
71Also asynchronous are timers. They can fire once or repeatedly and invoke a
72function to do any work. For example: >
73 let tempTimer = timer_start(4000, 'CheckTemp')
Bram Moolenaar063b9d12016-07-09 20:21:48 +020074This will call the CheckTemp() function four seconds (4000 milli seconds)
Bram Moolenaar09521312016-08-12 22:54:35 +020075later. See |timer_start()|.
Bram Moolenaar03413f42016-04-12 21:07:15 +020076
77
78Partials ~
79
80Vim already had a Funcref, a reference to a function. A partial also refers
81to a function, and additionally binds arguments and/or a dictionary. This is
82especially useful for callbacks on channels and timers. E.g., for the timer
83example above, to pass an argument to the function: >
84 let tempTimer = timer_start(4000, function('CheckTemp', ['out']))
Bram Moolenaar063b9d12016-07-09 20:21:48 +020085This will call CheckTemp('out') four seconds later.
Bram Moolenaar03413f42016-04-12 21:07:15 +020086
87
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020088Lambda and Closure ~
Bram Moolenaar42ebd062016-07-17 13:35:14 +020089
90A short way to create a function has been added: {args -> expr}. See |lambda|.
91This is useful for functions such as `filter()` and `map()`, which now also
92accept a function argument. Example: >
93 :call filter(mylist, {idx, val -> val > 20})
94
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020095A lambda can use variables defined in the scope where the lambda is defined.
96This is usually called a |closure|.
97
98User defined functions can also be a closure by adding the "closure" argument
99|:func-closure|.
100
Bram Moolenaar42ebd062016-07-17 13:35:14 +0200101
Bram Moolenaar03413f42016-04-12 21:07:15 +0200102Packages ~
103
Bram Moolenaaraa3b15d2016-04-21 08:53:19 +0200104Plugins keep growing and more of them are available than ever before. To keep
Bram Moolenaar03413f42016-04-12 21:07:15 +0200105the collection of plugins manageable package support has been added. This is
106a convenient way to get one or more plugins, drop them in a directory and
107possibly keep them updated. Vim will load them automatically, or only when
108desired. See |packages|.
109
110
111New style tests ~
112
113This is for Vim developers. So far writing tests for Vim has not been easy.
114Vim 8 adds assert functions and a framework to run tests. This makes it a lot
Bram Moolenaar82af8712016-06-04 20:20:29 +0200115simpler to write tests and keep them updated. Also new are several functions
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200116that are added specifically for testing. See |test-functions|.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200117
118
119Window IDs ~
120
121Previously windows could only be accessed by their number. And every time a
122window would open, close or move that number changes. Each window now has a
Bram Moolenaar82af8712016-06-04 20:20:29 +0200123unique ID, so that they are easy to find. See |win_getid()| and |win_id2win()|.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200124
125
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200126Viminfo uses timestamps ~
127
128Previously the information stored in viminfo was whatever the last Vim wrote
129there. Now timestamps are used to always keep the most recent items.
130See |viminfo-timestamp|.
131
132
Bram Moolenaar03413f42016-04-12 21:07:15 +0200133Wrapping lines with indent ~
134
135The 'breakindent' option has been added to be able to wrap lines without
136changing the amount of indent.
137
138
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200139Windows: DirectX support ~
Bram Moolenaar03413f42016-04-12 21:07:15 +0200140
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200141This adds the 'renderoptions' option to allow for switching on DirectX
Bram Moolenaar03413f42016-04-12 21:07:15 +0200142(DirectWrite) support on MS-Windows.
143
144
145GTK+ 3 support ~
146
Bram Moolenaare4a3bcf2016-08-26 19:52:37 +0200147The GTK+ 3 GUI works just like GTK+ 2 except for hardly noticeable technical
148differences between them. Configure still chooses GTK+ 2 if both 2 and 3 are
149available. See src/Makefile for how to use GTK+ 3 instead. See
150|gui-x11-compiling| for other details.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200151
152
153Vim script enhancements *new-vim-script-8*
154-----------------------
155
Bram Moolenaaraa3b15d2016-04-21 08:53:19 +0200156In Vim script the following types have been added:
Bram Moolenaar03413f42016-04-12 21:07:15 +0200157
158 |Special| |v:false|, |v:true|, |v:none| and |v:null|
159 |Channel| connection to another process for asynchronous I/O
160 |Job| process control
161
162Many functions and commands have been added to support the new types.
163
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200164On some systems the numbers used in Vim script are now 64 bit. This can be
165checked with the |+num64| feature.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200166
Bram Moolenaard0796902016-09-16 20:02:31 +0200167Many items were added to support |new-style-testing|.
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200168
Bram Moolenaar36f44c22016-08-28 18:17:20 +0200169printf() now accepts any type of argument for %s. It is converted to a string
170like with string().
171
Bram Moolenaar03413f42016-04-12 21:07:15 +0200172
173Various new items *new-items-8*
174-----------------
175
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200176Visual mode commands: ~
177
178|v_CTRL-A| CTRL-A add N to number in highlighted text
179|v_CTRL-X| CTRL-X subtract N from number in highlighted text
180|v_g_CTRL-A| g CTRL-A add N to number in highlighted text
181|v_g_CTRL-X| g CTRL-X subtract N from number in highlighted text
182
Bram Moolenaar03413f42016-04-12 21:07:15 +0200183
184Insert mode commands: ~
185
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200186|i_CTRL-G_U| CTRL-G U don't break undo with next cursor movement
187
Bram Moolenaar03413f42016-04-12 21:07:15 +0200188
Bram Moolenaarbc2eada2017-01-02 21:27:47 +0100189Cmdline mode commands: ~
190
191|/_CTRL-G| CTRL-G move to the next match in 'incsearch' mode
192|/_CTRL-T| CTRL-T move to the previous match in 'incsearch' mode
193
194
Bram Moolenaar03413f42016-04-12 21:07:15 +0200195Options: ~
196
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200197'belloff' do not ring the bell for these reasons
198'breakindent' wrapped line repeats indent
199'breakindentopt' settings for 'breakindent'.
200'emoji' emoji characters are considered full width
201'fixendofline' make sure last line in file has <EOL>
Bram Moolenaare4a3bcf2016-08-26 19:52:37 +0200202'langremap' do apply 'langmap' to mapped characters
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200203'luadll' name of the Lua dynamic library
204'packpath' list of directories used for packages
205'perldll' name of the Perl dynamic library
206'pythondll' name of the Python 2 dynamic library
207'pythonthreedll' name of the Python 3 dynamic library
208'renderoptions' options for text rendering on Windows
209'rubydll' name of the Ruby dynamic library
Bram Moolenaar214641f2017-03-05 17:04:09 +0100210'signcolumn' when to display the sign column
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200211'tagcase' how to handle case when searching in tags files
212'tcldll' name of the Tcl dynamic library
213'termguicolors' use GUI colors for the terminal
Bram Moolenaar03413f42016-04-12 21:07:15 +0200214
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200215
Bram Moolenaar03413f42016-04-12 21:07:15 +0200216Ex commands: ~
217
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200218|:cbottom| scroll to the bottom of the quickfix window
219|:cdo| execute command in each valid error list entry
220|:cfdo| execute command in each file in error list
221|:chistory| display quickfix list stack
222|:clearjumps| clear the jump list
Bram Moolenaar89bcfda2016-08-30 23:26:57 +0200223|:filter| only output lines that (do not) match a pattern
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200224|:helpclose| close one help window
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200225|:lbottom| scroll to the bottom of the location window
226|:ldo| execute command in valid location list entries
227|:lfdo| execute command in each file in location list
228|:lhistory| display location list stack
229|:noswapfile| following commands don't create a swap file
230|:packadd| add a plugin from 'packpath'
231|:packloadall| load all packages under 'packpath'
232|:smile| make the user happy
Bram Moolenaar03413f42016-04-12 21:07:15 +0200233
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200234
Bram Moolenaar03413f42016-04-12 21:07:15 +0200235Ex command modifiers: ~
236
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200237|:keeppatterns| following command keeps search pattern history
Bram Moolenaar369b6f52017-01-17 12:22:32 +0100238|<mods>| supply command modifiers to user defined commands
Bram Moolenaar03413f42016-04-12 21:07:15 +0200239
240
241New and extended functions: ~
242
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200243|arglistid()| get id of the argument list
244|assert_equal()| assert that two expressions values are equal
245|assert_exception()| assert that a command throws an exception
246|assert_fails()| assert that a function call fails
247|assert_false()| assert that an expression is false
248|assert_inrange()| assert that an expression is inside a range
249|assert_match()| assert that a pattern matches the value
250|assert_notequal()| assert that two expressions values are not equal
251|assert_notmatch()| assert that a pattern does not match the value
252|assert_true()| assert that an expression is true
253|bufwinid()| get the window ID of a specific buffer
254|byteidxcomp()| like byteidx() but count composing characters
255|ch_close()| close a channel
Bram Moolenaar64d8e252016-09-06 22:12:34 +0200256|ch_close_in()| close the in part of a channel
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200257|ch_evalexpr()| evaluates an expression over channel
258|ch_evalraw()| evaluates a raw string over channel
259|ch_getbufnr()| get the buffer number of a channel
260|ch_getjob()| get the job associated with a channel
261|ch_info()| get channel information
262|ch_log()| write a message in the channel log file
263|ch_logfile()| set the channel log file
264|ch_open()| open a channel
265|ch_read()| read a message from a channel
266|ch_readraw()| read a raw message from a channel
267|ch_sendexpr()| send a JSON message over a channel
268|ch_sendraw()| send a raw message over a channel
269|ch_setoptions()| set the options for a channel
270|ch_status()| get status of a channel
271|execute()| execute an Ex command and get the output
272|exepath()| full path of an executable program
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200273|funcref()| return a reference to function {name}
274|getbufinfo()| get a list with buffer information
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200275|getcharsearch()| return character search information
276|getcmdwintype()| return the current command-line window type
277|getcompletion()| return a list of command-line completion matches
278|getcurpos()| get position of the cursor
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200279|gettabinfo()| get a list with tab page information
280|getwininfo()| get a list with window information
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200281|glob2regpat()| convert a glob pattern into a search pattern
282|isnan()| check for not a number
283|job_getchannel()| get the channel used by a job
284|job_info()| get information about a job
285|job_setoptions()| set options for a job
286|job_start()| start a job
287|job_status()| get the status of a job
288|job_stop()| stop a job
289|js_decode()| decode a JSON string to Vim types
290|js_encode()| encode an expression to a JSON string
291|json_decode()| decode a JSON string to Vim types
292|json_encode()| encode an expression to a JSON string
293|matchaddpos()| define a list of positions to highlight
294|matchstrpos()| match and positions of a pattern in a string
295|perleval()| evaluate Perl expression
296|reltimefloat()| convert reltime() result to a Float
297|setcharsearch()| set character search information
298|setfperm()| set the permissions of a file
299|strcharpart()| get part of a string using char index
300|strgetchar()| get character from a string using char index
301|systemlist()| get the result of a shell command as a list
302|test_alloc_fail()| make memory allocation fail
303|test_autochdir()| test 'autochdir' functionality
Bram Moolenaar036986f2017-03-16 17:41:02 +0100304test_disable_char_avail() test without typeahead (removed later)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200305|test_garbagecollect_now()| free memory right now
306|test_null_channel()| return a null Channel
307|test_null_dict()| return a null Dict
308|test_null_job()| return a null Job
309|test_null_list()| return a null List
310|test_null_partial()| return a null Partial function
311|test_null_string()| return a null String
312|test_settime()| set the time Vim uses internally
Bram Moolenaar09521312016-08-12 22:54:35 +0200313|timer_info()| get information about timers
314|timer_pause()| pause or unpause a timer
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200315|timer_start()| create a timer
316|timer_stop()| stop a timer
Bram Moolenaar09521312016-08-12 22:54:35 +0200317|timer_stopall()| stop all timers
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200318|uniq()| remove copies of repeated adjacent items
319|win_findbuf()| find windows containing a buffer
320|win_getid()| get window ID of a window
321|win_gotoid()| go to window with ID
322|win_id2tabwin()| get tab and window nr from window ID
323|win_id2win()| get window nr from window ID
324|wordcount()| get byte/word/char count of buffer
Bram Moolenaar03413f42016-04-12 21:07:15 +0200325
326
327New Vim variables: ~
328
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200329|v:beval_winid| Window ID of the window where the mouse pointer is
330|v:completed_item| complete items for the most recently completed word
331|v:errors| errors found by assert functions
332|v:false| a Number with value zero
333|v:hlsearch| indicates whether search highlighting is on
334|v:mouse_winid| Window ID for a mouse click obtained with |getchar()|
335|v:none| an empty String, used for JSON
336|v:null| an empty String, used for JSON
337|v:option_new| new value of the option, used by |OptionSet|
338|v:option_old| old value of the option, used by |OptionSet|
339|v:option_type| scope of the set command, used by |OptionSet|
340|v:progpath| the command with which Vim was invoked
341|v:t_bool| value of Boolean type
342|v:t_channel| value of Channel type
343|v:t_dict| value of Dictionary type
344|v:t_float| value of Float type
345|v:t_func| value of Funcref type
346|v:t_job| value of Job type
347|v:t_list| value of List type
348|v:t_none| value of None type
349|v:t_number| value of Number type
350|v:t_string| value of String type
351|v:testing| must be set before using `test_garbagecollect_now()`
352|v:true| a Number with value one
Bram Moolenaar7571d552016-08-18 22:54:46 +0200353|v:vim_did_enter| set just before VimEnter autocommands are triggered
Bram Moolenaar03413f42016-04-12 21:07:15 +0200354
355
356New autocommand events: ~
357
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200358|CmdUndefined| a user command is used but it isn't defined
359|OptionSet| after setting any option
360|TabClosed| after closing a tab page
361|TabNew| after creating a new tab page
362|TextChangedI| after a change was made to the text in Insert mode
363|TextChanged| after a change was made to the text in Normal mode
364|WinNew| after creating a new window
Bram Moolenaar03413f42016-04-12 21:07:15 +0200365
366
367New highlight groups: ~
368
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200369EndOfBuffer filler lines (~) after the last line in the buffer.
370 |hl-EndOfBuffer|
371
Bram Moolenaar03413f42016-04-12 21:07:15 +0200372
373New items in search patterns: ~
374
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200375|/\%C| \%C match any composing characters
376
Bram Moolenaar03413f42016-04-12 21:07:15 +0200377
378New Syntax/Indent/FTplugin files: ~
379
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200380AVR Assembler (Avra) syntax
381Arduino syntax
382Bazel syntax and indent and ftplugin
383Dockerfile syntax and ftplugin
384Eiffel ftplugin
385Euphoria 3 and 4 syntax
386Go syntax and indent and ftplugin
387Godoc syntax
388Groovy ftplugin
389HGcommit ftplugin
390Hog indent and ftplugin
391Innovation Data Processing upstream.pt syntax
392J syntax and indent and ftplugin
393Jproperties ftplugin
394Json syntax and indent and ftplugin
395Kivy syntax
396Less syntax and indent
397Mix syntax
398Motorola S-Record syntax
399R ftplugin
400ReStructuredText syntax and indent and ftplugin
401Registry ftplugin
402Rhelp indent and ftplugin
403Rmd (markdown with R code chunks) syntax and indent
404Rmd ftplugin
405Rnoweb ftplugin
406Rnoweb indent
Bram Moolenaare4a3bcf2016-08-26 19:52:37 +0200407Scala syntax and indent and ftplugin
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200408SystemVerilog syntax and indent and ftplugin
409Systemd syntax and indent and ftplugin
410Teraterm (TTL) syntax and indent
411Text ftplugin
412Vroom syntax and indent and ftplugin
413
Bram Moolenaar03413f42016-04-12 21:07:15 +0200414
415New Keymaps: ~
416
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200417Armenian eastern and western
418Russian jcukenwintype
419Vietnamese telex and vni
Bram Moolenaar03413f42016-04-12 21:07:15 +0200420
421==============================================================================
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200422INCOMPATIBLE CHANGES *incompatible-8*
423
424These changes are incompatible with previous releases. Check this list if you
425run into a problem when upgrading from Vim 7.4 to 8.0.
426
Bram Moolenaar09521312016-08-12 22:54:35 +0200427
428Better defaults without a vimrc ~
429
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200430When no vimrc file is found, the |defaults.vim| script is loaded to set more
431useful default values for new users. That includes setting 'nocompatible'.
432Thus Vim no longer starts up in Vi compatible mode. If you do want that,
433either create a .vimrc file that does "set compatible" or start Vim with
Bram Moolenaar036986f2017-03-16 17:41:02 +0100434"vim -C".
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200435
Bram Moolenaar09521312016-08-12 22:54:35 +0200436
437Support removed ~
438
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200439The support for MS-DOS has been removed. It hasn't been working for a while
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200440(Vim doesn't fit in memory) and removing it cleans up the code quite a bit.
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200441
442The support for Windows 16 bit (Windows 95 and older) has been removed.
443
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200444The support for OS/2 has been removed. It probably hasn't been working for a
445while since nobody uses it.
446
Bram Moolenaar09521312016-08-12 22:54:35 +0200447The SNiFF+ support has been removed.
448
449
450Minor incompatibilities: ~
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200451
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200452Probably...
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200453
454==============================================================================
Bram Moolenaar03413f42016-04-12 21:07:15 +0200455IMPROVEMENTS *improvements-8*
456
457The existing blowfish encryption turned out to be much weaker than it was
458supposed to be. The blowfish2 method has been added to fix that. Note that
459this still isn't a state-of-the-art encryption, but good enough for most
460usage. See 'cryptmethod'.
461
Bram Moolenaar36f44c22016-08-28 18:17:20 +0200462
Bram Moolenaar03413f42016-04-12 21:07:15 +0200463==============================================================================
464COMPILE TIME CHANGES *compile-changes-8*
465
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200466The Vim repository was moved from Google code to github, since Google code
467was shut down. It can now be found at https://github.com/vim/vim.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200468
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200469Functions now use ANSI-C declarations. At least a C-89 compatible compiler is
470required.
471
472The +visual feature is now always included.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200473
474==============================================================================
475PATCHES *patches-8* *bug-fixes-8*
476
477The list of patches that got included since 7.4.0. This includes all the new
478features, but does not include runtime file changes (syntax, indent, help,
479etc.)
480
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200481Patch 7.4.001
482Problem: Character classes such as [a-z] do not react to 'ignorecase'.
483 Breaks man page highlighting. (Mario Grgic)
484Solution: Add separate items for classes that react to 'ignorecase'. Clean
485 up logic handling character classes. Add more tests.
486Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
487
488Patch 7.4.002
489Problem: Pattern with two alternative look-behind matches does not match.
490 (Amadeus Demarzi)
491Solution: When comparing PIMs also compare their state ID to see if they are
492 different.
493Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
494
495Patch 7.4.003
496Problem: Memory access error in Ruby syntax highlighting. (Christopher Chow)
497Solution: Refresh stale pointer. (James McCoy)
498Files: src/regexp_nfa.c
499
500Patch 7.4.004
501Problem: When closing a window fails ":bwipe" may hang.
502Solution: Let win_close() return FAIL and break out of the loop.
503Files: src/window.c, src/proto/window.pro, src/buffer.c
504
505Patch 7.4.005
506Problem: Using "vaB" while 'virtualedit' is set selects the wrong area.
507 (Dimitar Dimitrov)
508Solution: Reset coladd when finding a match.
509Files: src/search.c
510
511Patch 7.4.006
512Problem: mkdir("foo/bar/", "p") gives an error message. (David Barnett)
513Solution: Remove the trailing slash. (lcd)
514Files: src/eval.c
515
516Patch 7.4.007
517Problem: Creating a preview window on startup leaves the screen layout in a
518 messed up state. (Marius Gedminas)
519Solution: Don't change firstwin. (Christian Brabandt)
520Files: src/main.c
521
522Patch 7.4.008
523Problem: New regexp engine can't be interrupted.
524Solution: Check for CTRL-C pressed. (Yasuhiro Matsumoto)
525Files: src/regexp_nfa.c, src/regexp.c
526
527Patch 7.4.009
528Problem: When a file was not decrypted (yet), writing it may destroy the
529 contents.
530Solution: Mark the file as readonly until decryption was done. (Christian
531 Brabandt)
532Files: src/fileio.c
533
534Patch 7.4.010 (after 7.4.006)
535Problem: Crash with invalid argument to mkdir().
536Solution: Check for empty string. (lcd47)
537Files: src/eval.c
538
539Patch 7.4.011
540Problem: Cannot find out if "acl" and "xpm" features are supported.
541Solution: Add "acl" and "xpm" to the list of features. (Ken Takata)
542Files: src/eval.c, src/version.c
543
544Patch 7.4.012
545Problem: MS-Windows: resolving shortcut does not work properly with
546 multi-byte characters.
547Solution: Use wide system functions. (Ken Takata)
548Files: src/os_mswin.c
549
550Patch 7.4.013
551Problem: MS-Windows: File name buffer too small for utf-8.
552Solution: Use character count instead of byte count. (Ken Takata)
553Files: src/os_mswin.c
554
555Patch 7.4.014
556Problem: MS-Windows: check for writing to device does not work.
557Solution: Fix #ifdefs. (Ken Takata)
558Files: src/fileio.c
559
560Patch 7.4.015
561Problem: MS-Windows: Detecting node type does not work for multi-byte
562 characters.
563Solution: Use wide character function when needed. (Ken Takata)
564Files: src/os_win32.c
565
566Patch 7.4.016
567Problem: MS-Windows: File name case can be wrong.
568Solution: Add fname_casew(). (Ken Takata)
569Files: src/os_win32.c
570
571Patch 7.4.017
572Problem: ":help !!" does not find the "!!" tag in the help file. (Ben
573 Fritz)
574Solution: When reading the start of the tags file do parse lines that are
575 not header lines.
576Files: src/tag.c
577
578Patch 7.4.018
579Problem: When completing item becomes unselected. (Shougo Matsu)
580Solution: Revert patch 7.3.1269.
581Files: src/edit.c
582
583Patch 7.4.019
584Problem: MS-Windows: File name completion doesn't work properly with
585 Chinese characters. (Yue Wu)
586Solution: Take care of multi-byte characters when looking for the start of
587 the file name. (Ken Takata)
588Files: src/edit.c
589
590Patch 7.4.020
591Problem: NFA engine matches too much with \@>. (John McGowan)
592Solution: When a whole pattern match is found stop searching.
593Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
594
595Patch 7.4.021
596Problem: NFA regexp: Using \ze in one branch which doesn't match may cause
597 end of another branch to be wrong. (William Fugh)
598Solution: Set end position if it wasn't set yet.
599Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
600
601Patch 7.4.022
602Problem: Deadlock while exiting, because of allocating memory.
603Solution: Do not use gettext() in deathtrap(). (James McCoy)
604Files: src/os_unix.c, src/misc1.c
605
606Patch 7.4.023
607Problem: Compiler warning on 64 bit windows.
608Solution: Add type cast. (Mike Williams)
609Files: src/edit.c
610
611Patch 7.4.024
612Problem: When root edits a file the undo file is owned by root while the
613 edited file may be owned by another user, which is not allowed.
614 (cac2s)
615Solution: Accept an undo file owned by the current user.
616Files: src/undo.c
617
618Patch 7.4.025 (after 7.4.019)
619Problem: Reading before start of a string.
620Solution: Do not call mb_ptr_back() at start of a string. (Dominique Pelle)
621Files: src/edit.c
622
623Patch 7.4.026
624Problem: Clang warning for int shift overflow.
625Solution: Use unsigned and cast back to int. (Dominique Pelle)
626Files: src/misc2.c
627
628Patch 7.4.027 (after 7.4.025)
629Problem: Another valgrind error when using CTRL-X CTRL-F at the start of
630 the line. (Dominique Pelle)
631Solution: Don't call mb_ptr_back() at the start of the line. Add a test.
632Files: src/edit.c, src/testdir/test32.in
633
634Patch 7.4.028
635Problem: Equivalence classes are not working for multi-byte characters.
636Solution: Copy the rules from the old to the new regexp engine. Add a test
637 to check both engines.
638Files: src/regexp_nfa.c, src/testdir/test44.in, src/testdir/test99.in,
639 src/testdir/test99.ok, src/testdir/Make_amiga.mak,
640 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
641 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
642 src/testdir/Makefile
643
644Patch 7.4.029
645Problem: An error in a pattern is reported twice.
646Solution: Remove the retry with the backtracking engine, it won't work.
647Files: src/regexp.c
648
649Patch 7.4.030
650Problem: The -mno-cygwin argument is no longer supported by Cygwin.
651Solution: Remove the arguments. (Steve Hall)
652Files: src/GvimExt/Make_cyg.mak, src/Make_cyg.mak, src/xxd/Make_cyg.mak
653
654Patch 7.4.031
655Problem: ":diffoff!" resets options even when 'diff' is not set. (Charles
656 Cooper)
657Solution: Only resets related options in a window where 'diff' is set.
658Files: src/diff.c
659
660Patch 7.4.032
661Problem: NFA engine does not match the NUL character. (Jonathon Merz)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200662Solution: Use 0x0a instead of NUL. (Christian Brabandt)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200663Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
664
665Patch 7.4.033
666Problem: When the terminal has only 20 lines test 92 and 93 overwrite the
667 input file.
668Solution: Explicitly write test.out. Check that the terminal is large enough
669 to run the tests. (Hirohito Higashi)
670Files: src/testdir/test92.in, src/testdir/test93.in,
671 src/testdir/test1.in, src/testdir/Makefile
672
673Patch 7.4.034
674Problem: Using "p" in Visual block mode only changes the first line.
675Solution: Repeat the put in all text in the block. (Christian Brabandt)
676Files: runtime/doc/change.txt, src/ops.c, src/normal.c,
677 src/testdir/test20.in, src/testdir/test20.ok
678
679Patch 7.4.035
680Problem: MS-Windows: The mouse pointer flickers when going from command
681 line mode to Normal mode.
682Solution: Check for WM_NCMOUSEMOVE. (Ken Takata)
683Files: src/gui_w48.c
684
685Patch 7.4.036
686Problem: NFA engine does not capture group correctly when using \@>. (ZyX)
687Solution: Copy submatches before doing the recursive match.
688Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
689
690Patch 7.4.037
691Problem: Using "\ze" in a sub-pattern does not result in the end of the
692 match to be set. (Axel Bender)
693Solution: Copy the end of match position when a recursive match was
694 successful.
695Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
696
697Patch 7.4.038
698Problem: Using "zw" and "zg" when 'spell' is off give a confusing error
699 message. (Gary Johnson)
700Solution: Ignore the error when locating the word. Explicitly mention what
701 word was added. (Christian Brabandt)
702Files: src/normal.c, src/spell.c
703
704Patch 7.4.039
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200705Problem: MS-Windows: MSVC10 and earlier can't handle symlinks to a
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200706 directory properly.
707Solution: Add stat_symlink_aware() and wstat_symlink_aware(). (Ken Takata)
708Files: src/os_mswin.c, src/os_win32.c, src/os_win32.h
709
710Patch 7.4.040
711Problem: Valgrind error on exit when a script-local variable holds a
712 reference to the scope of another script.
713Solution: First clear all variables, then free the scopes. (ZyX)
714Files: src/eval.c
715
716Patch 7.4.041 (after 7.4.034)
717Problem: Visual selection does not remain after being copied over. (Axel
718 Bender)
719Solution: Move when VIsual_active is reset. (Christian Brabandt)
720Files: src/ops.c
721
722Patch 7.4.042
Bram Moolenaar09521312016-08-12 22:54:35 +0200723Problem: When using ":setlocal" for 'spell' and 'spelllang' then :spelldump
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200724 doesn't work. (Dimitar Dimitrov)
725Solution: Copy the option variables to the new window used to show the dump.
726 (Christian Brabandt)
727Files: src/spell.c
728
729Patch 7.4.043
730Problem: VMS can't handle long function names.
731Solution: Shorten may_req_ambiguous_character_width. (Samuel Ferencik)
732Files: src/main.c, src/term.c, src/proto/term.pro
733
734
735Patch 7.4.044 (after 7.4.039)
736Problem: Can't build with old MSVC. (Wang Shoulin)
737Solution: Define OPEN_OH_ARGTYPE instead of using intptr_t directly.
738Files: src/os_mswin.c
739
740Patch 7.4.045
741Problem: substitute() does not work properly when the pattern starts with
742 "\ze".
743Solution: Detect an empty match. (Christian Brabandt)
744Files: src/eval.c, src/testdir/test80.in, src/testdir/test80.ok
745
746Patch 7.4.046
747Problem: Can't use Tcl 8.6.
748Solution: Change how Tcl_FindExecutable is called. (Jan Nijtmans)
749Files: src/if_tcl.c
750
751Patch 7.4.047
752Problem: When using input() in a function invoked by a mapping it doesn't
753 work.
754Solution: Temporarily reset ex_normal_busy. (Yasuhiro Matsumoto)
755Files: src/eval.c
756
757Patch 7.4.048
758Problem: Recent clang version complains about -fno-strength-reduce.
759Solution: Add a configure check for the clang version. (Kazunobu Kuriyama)
760Files: src/configure.in, src/auto/configure
761
762Patch 7.4.049
763Problem: In Ex mode, when line numbers are enabled the substitute prompt is
764 wrong.
765Solution: Adjust for the line number size. (Benoit Pierre)
766Files: src/ex_cmds.c
767
768Patch 7.4.050
769Problem: "gn" selects too much for the pattern "\d" when there are two
770 lines with a single digit. (Ryan Carney)
771Solution: Adjust the logic of is_one_char(). (Christian Brabandt)
772Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
773
774Patch 7.4.051
775Problem: Syntax highlighting a Yaml file causes a crash. (Blake Preston)
776Solution: Copy the pim structure before calling addstate() to avoid it
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200777 becoming invalid when the state list is reallocated.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200778Files: src/regexp_nfa.c
779
780Patch 7.4.052
781Problem: With 'fo' set to "a2" inserting a space in the first column may
782 cause the cursor to jump to the previous line.
783Solution: Handle the case when there is no comment leader properly. (Tor
784 Perkins) Also fix that cursor is in the wrong place when spaces
785 get replaced with a Tab.
786Files: src/misc1.c, src/ops.c, src/testdir/test68.in,
787 src/testdir/test68.ok
788
789Patch 7.4.053
790Problem: Test75 has a wrong header. (ZyX)
791Solution: Fix the text and remove leading ".
792Files: src/testdir/test75.in
793
794Patch 7.4.054
795Problem: Reading past end of the 'stl' string.
796Solution: Don't increment pointer when already at the NUL. (Christian
797 Brabandt)
798Files: src/buffer.c
799
800Patch 7.4.055
801Problem: Mac: Where availability macros are defined depends on the system.
802Solution: Add a configure check. (Felix Bünemann)
803Files: src/config.h.in, src/configure.in, src/auto/configure,
804 src/os_mac.h
805
806Patch 7.4.056
807Problem: Mac: Compilation problem with OS X 10.9 Mavericks.
808Solution: Include AvailabilityMacros.h when available. (Kazunobu Kuriyama)
809Files: src/os_unix.c
810
811Patch 7.4.057
812Problem: byteidx() does not work for composing characters.
813Solution: Add byteidxcomp().
814Files: src/eval.c, src/testdir/test69.in, src/testdir/test69.ok,
815 runtime/doc/eval.txt
816
817Patch 7.4.058
818Problem: Warnings on 64 bit Windows.
819Solution: Add type casts. (Mike Williams)
820Files: src/ops.c
821
822Patch 7.4.059
823Problem: set_last_cursor() may encounter w_buffer being NULL. (Matt
824 Mkaniaris)
825Solution: Check for NULL.
826Files: src/mark.c
827
828Patch 7.4.060
829Problem: Declaration has wrong return type for PyObject_SetAttrString().
830Solution: Use int instead of PyObject. (Andreas Schwab)
831Files: src/if_python.c, src/if_python3.c
832
833Patch 7.4.061 (after 7.4.055 and 7.4.056)
834Problem: Availability macros configure check in wrong place.
835Solution: Also check when not using Darwin. Remove version check.
836Files: src/configure.in, src/auto/configure, src/os_unix.c
837
838Patch 7.4.062 (after 7.4.061)
839Problem: Configure check for AvailabilityMacros.h is wrong.
840Solution: Use AC_CHECK_HEADERS().
841Files: src/configure.in, src/auto/configure
842
843Patch 7.4.063
844Problem: Crash when using invalid key in Python dictionary.
845Solution: Check for object to be NULL. Add tests. (ZyX)
846Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
847 src/testdir/test87.in, src/testdir/test87.ok
848
849Patch 7.4.064
850Problem: When replacing a character in Visual block mode, entering a CR
851 does not cause a repeated line break.
852Solution: Recognize the situation and repeat the line break. (Christian
853 Brabandt)
854Files: src/normal.c, src/ops.c, src/testdir/test39.in,
855 src/testdir/test39.ok
856
857Patch 7.4.065
858Problem: When recording, the character typed at the hit-enter prompt is
859 recorded twice. (Urtica Dioica)
860Solution: Avoid recording the character twice. (Christian Brabandt)
861Files: src/message.c
862
863Patch 7.4.066
864Problem: MS-Windows: When there is a colon in the file name (sub-stream
865 feature) the swap file name is wrong.
866Solution: Change the colon to "%". (Yasuhiro Matsumoto)
867Files: src/fileio.c, src/memline.c, src/misc1.c, src/proto/misc1.pro
868
869Patch 7.4.067
870Problem: After inserting comment leader, CTRL-\ CTRL-O does move the
871 cursor. (Wiktor Ruben)
872Solution: Avoid moving the cursor. (Christian Brabandt)
873Files: src/edit.c
874
875Patch 7.4.068
876Problem: Cannot build Vim on Mac with non-Apple compilers.
877Solution: Remove the -no-cpp-precomp flag. (Misty De Meo)
878Files: src/configure.in, src/auto/configure, src/osdef.sh
879
880Patch 7.4.069
881Problem: Cannot right shift lines starting with #.
882Solution: Allow the right shift when 'cino' contains #N with N > 0.
883 (Christian Brabandt)
884 Refactor parsing 'cino', store the values in the buffer.
885Files: runtime/doc/indent.txt, src/buffer.c, src/edit.c, src/eval.c,
886 src/ex_getln.c, src/fold.c, src/misc1.c, src/ops.c,
887 src/proto/misc1.pro, src/proto/option.pro, src/structs.h,
888 src/option.c
889
890Patch 7.4.070 (after 7.4.069)
891Problem: Can't compile with tiny features. (Tony Mechelynck)
892Solution: Add #ifdef.
893Files: src/buffer.c
894
895Patch 7.4.071 (after 7.4.069)
896Problem: Passing limits around too often.
897Solution: Use limits from buffer.
898Files: src/edit.c, src/misc1.c, src/proto/misc1.pro
899
900Patch 7.4.072
901Problem: Crash when using Insert mode completion.
Bram Moolenaar09521312016-08-12 22:54:35 +0200902Solution: Avoid going past the end of pum_array. (idea by Francisco Lopes)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200903Files: src/popupmnu.c
904
905Patch 7.4.073
906Problem: Setting undolevels for one buffer changes undo in another.
907Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
908Files: runtime/doc/options.txt, src/buffer.c, src/option.c, src/option.h
909 src/structs.h, src/undo.c
910
911Patch 7.4.074
912Problem: When undo'ing all changes and creating a new change the undo
913 structure is incorrect. (Christian Brabandt)
914Solution: When deleting the branch starting at the old header, delete the
915 whole branch, not just the first entry.
916Files: src/undo.c
917
918Patch 7.4.075
919Problem: Locally setting 'undolevels' is not tested.
920Solution: Add a test. (Christian Brabandt)
921Files: src/testdir/test100.in, src/testdir/test100.ok,
922 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
923 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
924 src/testdir/Make_vms.mms, src/testdir/Makefile, src/Makefile
925
926Patch 7.4.076
Bram Moolenaar7e1479b2016-09-11 15:07:27 +0200927Problem: "cgn" does not wrap around the end of the file. (Dimitar Dimitrov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200928Solution: Restore 'wrapscan' earlier. (Christian Brabandt)
929Files: src/search.c
930
931Patch 7.4.077
932Problem: DOS installer creates shortcut without a path, resulting in the
933 current directory to be C:\Windows\system32.
934Solution: Use environment variables.
935Files: src/dosinst.c
936
937Patch 7.4.078
938Problem: MSVC 2013 is not supported.
939Solution: Recognize and support MSVC 2013. (Ed Brown)
940Files: src/Make_mvc.mak
941
942Patch 7.4.079
943Problem: A script cannot detect whether 'hlsearch' highlighting is actually
944 displayed.
945Solution: Add the "v:hlsearch" variable. (ZyX)
946Files: src/eval.c, src/ex_docmd.c,
947 src/option.c, src/screen.c, src/search.c, src/tag.c, src/vim.h,
948 src/testdir/test101.in, src/testdir/test101.ok,
949 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
950 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
951 src/testdir/Make_vms.mms, src/testdir/Makefile
952
953Patch 7.4.080 (after 7.4.079)
954Problem: Missing documentation for v:hlsearch.
955Solution: Include the right file in the patch.
956Files: runtime/doc/eval.txt
957
958Patch 7.4.081 (after 7.4.078)
959Problem: Wrong logic when ANALYZE is "yes".
960Solution: Use or instead of and. (KF Leong)
961Files: src/Make_mvc.mak
962
963Patch 7.4.082
964Problem: Using "gf" in a changed buffer suggests adding "!", which is not
965 possible. (Tim Chase)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200966Solution: Pass a flag to check_changed() whether adding ! make sense.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200967Files: src/vim.h, src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/globals.h,
968 src/ex_cmds.c, src/ex_docmd.c
969
970Patch 7.4.083
971Problem: It's hard to avoid adding a used pattern to the search history.
972Solution: Add the ":keeppatterns" modifier. (Christian Brabandt)
973Files: runtime/doc/cmdline.txt, src/ex_cmds.h, src/ex_docmd.c,
974 src/ex_getln.c, src/structs.h
975
976Patch 7.4.084
977Problem: Python: interrupt not being properly discarded. (Yggdroot Chen)
978Solution: Discard interrupt in VimTryEnd. (ZyX)
979Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
980 src/testdir/test87.in, src/testdir/test87.ok
981
982Patch 7.4.085
983Problem: When inserting text in Visual block mode and moving the cursor the
984 wrong text gets repeated in other lines.
985Solution: Use the '[ mark to find the start of the actually inserted text.
986 (Christian Brabandt)
987Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
988
989Patch 7.4.086
990Problem: Skipping over an expression when not evaluating it does not work
991 properly for dict members.
992Solution: Skip over unrecognized expression. (ZyX)
993Files: src/eval.c, src/testdir/test34.in, src/testdir/test34.ok
994
995Patch 7.4.087
996Problem: Compiler warning on 64 bit Windows systems.
997Solution: Fix type cast. (Mike Williams)
998Files: src/ops.c
999
1000Patch 7.4.088
1001Problem: When spell checking is enabled Asian characters are always marked
1002 as error.
1003Solution: When 'spelllang' contains "cjk" do not mark Asian characters as
1004 error. (Ken Takata)
1005Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/mbyte.c,
1006 src/option.c, src/spell.c, src/structs.h
1007
1008Patch 7.4.089
1009Problem: When editing a file in a directory mounted through sshfs Vim
1010 doesn't set the security context on a renamed file.
1011Solution: Add mch_copy_sec() to vim_rename(). (Peter Backes)
1012Files: src/fileio.c
1013
1014Patch 7.4.090
1015Problem: Win32: When a directory name contains an exclamation mark,
1016 completion doesn't complete the contents of the directory.
1017Solution: Escape the exclamation mark. (Jan Stocker)
1018Files: src/ex_getln.c, src/testdir/test102.in, src/testdir/test102.ok,
1019 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
1020 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
1021 src/testdir/Make_vms.mms, src/testdir/Makefile
1022
1023Patch 7.4.091 (after 7.4.089)
1024Problem: Missing semicolon.
1025Solution: Add the semicolon.
1026Files: src/fileio.c
1027
1028Patch 7.4.092 (after 7.4.088)
1029Problem: Can't build small version.
1030Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata)
1031Files: src/spell.c
1032
1033Patch 7.4.093
1034Problem: Configure can't use LuaJIT on ubuntu 12.04.
1035Solution: Adjust the configure regexp that locates the version number.
1036 (Charles Strahan)
1037Files: src/configure.in, src/auto/configure
1038
1039Patch 7.4.094
1040Problem: Configure may not find that -lint is needed for gettext().
1041Solution: Check for gettext() with empty $LIBS. (Thomas De Schampheleire)
1042Files: src/configure.in, src/auto/configure
1043
1044Patch 7.4.095 (after 7.4.093)
1045Problem: Regexp for LuaJIT version doesn't work on BSD.
Bram Moolenaard0796902016-09-16 20:02:31 +02001046Solution: Use "*" instead of "\+" and "\?". (Ozaki Kiichi)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001047Files: src/configure.in, src/auto/configure
1048
1049Patch 7.4.096
1050Problem: Can't change directory to an UNC path.
1051Solution: Use win32_getattrs() in mch_getperm(). (Christian Brabandt)
1052Files: src/os_win32.c
1053
1054Patch 7.4.097 (after 7.4.034)
1055Problem: Unexpected behavior change related to 'virtualedit'. (Ingo Karkat)
1056Solution: Update the valid cursor position. (Christian Brabandt)
1057Files: src/ops.c
1058
1059Patch 7.4.098
1060Problem: When using ":'<,'>del" errors may be given for the visual line
1061 numbers being out of range.
1062Solution: Reset Visual mode in ":del". (Lech Lorens)
1063Files: src/ex_docmd.c, src/testdir/test103.in, src/testdir/test103.ok,
1064 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
1065 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
1066 src/testdir/Make_vms.mms, src/testdir/Makefile
1067
1068Patch 7.4.099
1069Problem: Append in blockwise Visual mode with "$" is wrong.
1070Solution: After "$" don't use the code that checks if the cursor was moved.
1071 (Hirohito Higashi, Ken Takata)
1072Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
1073
1074Patch 7.4.100
1075Problem: NFA regexp doesn't handle backreference correctly. (Ryuichi
1076 Hayashida, Urtica Dioica)
1077Solution: Always add NFA_SKIP, also when it already exists at the start
1078 position.
1079Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
1080
1081Patch 7.4.101
1082Problem: Using \1 in pattern goes one line too far. (Bohr Shaw, John Little)
1083Solution: Only advance the match end for the matched characters in the last
1084 line.
1085Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok
1086
1087Patch 7.4.102
1088Problem: Crash when interrupting "z=".
1089Solution: Add safety check for word length. (Christian Brabandt, Dominique
1090 Pelle)
1091Files: src/spell.c
1092
1093Patch 7.4.103
1094Problem: Dos installer uses an old way to escape spaces in the diff
1095 command.
1096Solution: Adjust the quoting to the new default shellxquote. (Ben Fritz)
1097Files: src/dosinst.c
1098
1099Patch 7.4.104
1100Problem: ":help s/\_" reports an internal error. (John Beckett)
1101Solution: Check for NUL and invalid character classes.
1102Files: src/regexp_nfa.c
1103
1104Patch 7.4.105
1105Problem: Completing a tag pattern may give an error for invalid pattern.
1106Solution: Suppress the error, just return no matches.
1107Files: src/tag.c
1108
1109Patch 7.4.106
1110Problem: Can't build with Ruby using Cygwin.
1111Solution: Fix library name in makefile. (Steve Hall)
1112Files: src/Make_cyg.mak
1113
1114Patch 7.4.107
1115Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the
1116 Python code doesn't catch it. (Yggdroot Chen)
1117Solution: Throw exceptions on errors in vim.eval(). (ZyX)
1118Files: src/ex_eval.c, src/if_py_both.h, src/proto/ex_eval.pro,
1119 src/testdir/test86.in, src/testdir/test86.ok,
1120 src/testdir/test87.in, src/testdir/test87.ok
1121
1122Patch 7.4.108
1123Problem: "zG" and "zW" leave temp files around on MS-Windows.
1124Solution: Delete the temp files when exiting. (Ken Takata)
1125Files: src/memline.c, src/proto/spell.pro, src/spell.c
1126
1127Patch 7.4.109
1128Problem: ColorScheme autocommand matches with the current buffer name.
1129Solution: Match with the colorscheme name. (Christian Brabandt)
1130Files: runtime/doc/autocmd.txt, src/fileio.c, src/syntax.c
1131
1132Patch 7.4.110
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001133Problem: "gUgn" cannot be repeated. (Dimitar Dimitrov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001134Solution: Don't put "gn" in a different order in the redo buffer. Restore
1135 'wrapscan' when the pattern isn't found. (Christian Wellenbrock)
1136Files: src/normal.c, src/search.c, src/test53.in, src/test53.ok
1137
1138Patch 7.4.111
1139Problem: Memory leak in Python OptionsAssItem. (Ken Takata)
1140Solution: Call Py_XDECREF() where needed. (ZyX)
1141Files: src/if_py_both.h
1142
1143Patch 7.4.112
1144Problem: The defaults for 'directory' and 'backupdir' on MS-Windows do not
1145 include a directory that exists.
1146Solution: Use $TEMP.
1147Files: src/os_dos.h
1148
1149Patch 7.4.113
1150Problem: MSVC static analysis gives warnings.
1151Solution: Avoid the warnings and avoid possible bugs. (Ken Takata)
1152Files: src/os_win32.c
1153
1154Patch 7.4.114
1155Problem: New GNU make outputs messages about changing directory in another
1156 format.
1157Solution: Recognize the new format.
1158Files: src/option.h
1159
1160Patch 7.4.115
1161Problem: When using Zsh expanding ~abc doesn't work when the result
1162 contains a space.
1163Solution: Off-by-one error in detecting the NUL. (Pavol Juhas)
1164Files: src/os_unix.c
1165
1166Patch 7.4.116
1167Problem: When a mapping starts with a space, the typed space does not show
1168 up for 'showcmd'.
1169Solution: Show "<20>". (Brook Hong)
1170Files: src/normal.c
1171
1172Patch 7.4.117
1173Problem: Can't build with Cygwin/MingW and Perl 5.18.
1174Solution: Add a linker argument for the Perl library. (Cesar Romani)
1175 Adjust CFLAGS and LIB. (Cesar Romani)
1176 Move including inline.h further down. (Ken Takata)
1177Files: src/Make_cyg.mak, src/Make_ming.mak, src/if_perl.xs
1178
1179Patch 7.4.118
1180Problem: It's possible that redrawing the status lines causes
1181 win_redr_custom() to be called recursively.
1182Solution: Protect against recursiveness. (Yasuhiro Matsumoto)
1183Files: src/screen.c
1184
1185Patch 7.4.119
1186Problem: Vim doesn't work well on OpenVMS.
1187Solution: Fix various problems. (Samuel Ferencik)
1188Files: src/os_unix.c, src/os_unix.h, src/os_vms.c
1189
1190Patch 7.4.120 (after 7.4.117)
1191Problem: Can't build with Perl 5.18 on Linux. (Lcd 47)
1192Solution: Add #ifdef. (Ken Takata)
1193Files: src/if_perl.xs
1194
1195Patch 7.4.121
1196Problem: Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw)
1197Solution: Skip over letters after ":py3".
1198Files: src/ex_docmd.c
1199
1200Patch 7.4.122
1201Problem: Win32: When 'encoding' is set to "utf-8" and the active codepage
1202 is cp932 then ":grep" and other commands don't work for multi-byte
1203 characters.
1204Solution: (Yasuhiro Matsumoto)
1205Files: src/os_win32.c
1206
1207Patch 7.4.123
1208Problem: Win32: Getting user name does not use wide function.
1209Solution: Use GetUserNameW() if possible. (Ken Takata)
1210Files: src/os_win32.c
1211
1212Patch 7.4.124
1213Problem: Win32: Getting host name does not use wide function.
1214Solution: Use GetComputerNameW() if possible. (Ken Takata)
1215Files: src/os_win32.c
1216
1217Patch 7.4.125
1218Problem: Win32: Dealing with messages may not work for multi-byte chars.
1219Solution: Use pDispatchMessage(). (Ken Takata)
1220Files: src/os_win32.c
1221
1222Patch 7.4.126
1223Problem: Compiler warnings for "const" and incompatible types.
1224Solution: Remove "const", add type cast. (Ken Takata)
1225Files: src/os_win32.c
1226
1227Patch 7.4.127
1228Problem: Perl 5.18 on Unix doesn't work.
1229Solution: Move workaround to after including vim.h. (Ken Takata)
1230Files: src/if_perl.xs
1231
1232Patch 7.4.128
1233Problem: Perl 5.18 for MSVC doesn't work.
1234Solution: Add check in makefile and define __inline. (Ken Takata)
1235Files: src/Make_mvc.mak, src/if_perl.xs
1236
1237Patch 7.4.129
1238Problem: getline(-1) returns zero. (mvxxc)
1239Solution: Return an empty string.
1240Files: src/eval.c
1241
1242Patch 7.4.130
1243Problem: Relative line numbers mix up windows when using folds.
1244Solution: Use hasFoldingWin() instead of hasFolding(). (Lech Lorens)
1245Files: src/misc2.c
1246
1247Patch 7.4.131
1248Problem: Syncbind causes E315 errors in some situations. (Liang Li)
1249Solution: Set and restore curbuf in ex_syncbind(). (Christian Brabandt)
1250Files: src/ex_docmd.c, src/testdir/test37.ok
1251
1252Patch 7.4.132 (after 7.4.122)
1253Problem: Win32: flags and inherit_handles arguments mixed up.
1254Solution: Swap the argument. (cs86661)
1255Files: src/os_win32.c
1256
1257Patch 7.4.133
1258Problem: Clang warns for using NUL.
1259Solution: Change NUL to NULL. (Dominique Pelle)
1260Files: src/eval.c, src/misc2.c
1261
1262Patch 7.4.134
1263Problem: Spurious space in MingW Makefile.
1264Solution: Remove the space. (Michael Soyka)
1265Files: src/Make_ming.mak
1266
1267Patch 7.4.135
1268Problem: Missing dot in MingW test Makefile.
1269Solution: Add the dot. (Michael Soyka)
1270Files: src/testdir/Make_ming.mak
1271
1272Patch 7.4.136 (after 7.4.096)
1273Problem: MS-Windows: When saving a file with a UNC path the file becomes
1274 read-only.
1275Solution: Don't mix up Win32 attributes and Unix attributes. (Ken Takata)
1276Files: src/os_mswin.c, src/os_win32.c
1277
1278Patch 7.4.137
1279Problem: Cannot use IME with Windows 8 console.
1280Solution: Change the user of ReadConsoleInput() and PeekConsoleInput().
1281 (Nobuhiro Takasaki)
1282Files: src/os_win32.c
1283
1284Patch 7.4.138 (after 7.4.114)
1285Problem: Directory change messages are not recognized.
1286Solution: Fix using a character range literally. (Lech Lorens)
1287Files: src/option.h
1288
1289Patch 7.4.139
1290Problem: Crash when using :cd in autocommand. (François Ingelrest)
1291Solution: Set w_localdir to NULL after freeing it. (Dominique Pelle)
1292Files: src/ex_docmd.c, src/window.c
1293
1294Patch 7.4.140
1295Problem: Crash when wiping out buffer triggers autocommand that wipes out
1296 only other buffer.
1297Solution: Do not delete the last buffer, make it empty. (Hirohito Higashi)
1298Files: src/buffer.c
1299
1300Patch 7.4.141
1301Problem: Problems when building with Borland: st_mode is signed short;
1302 can't build with Python; temp files not ignored by Mercurial;
1303 building with DEBUG doesn't define _DEBUG.
1304Solution: Fix the problems. (Ken Takata)
1305Files: src/Make_bc5.mak, src/if_py_both.h, src/os_win32.c
1306
1307Patch 7.4.142 (after 7.4.137)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001308Problem: On MS-Windows 8 IME input doesn't work correctly.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001309Solution: Work around the problem. (Nobuhiro Takasaki)
1310Files: src/os_win32.c
1311
1312Patch 7.4.143
1313Problem: TextChangedI is not triggered.
1314Solution: Reverse check for "ready". (lilydjwg)
1315Files: src/edit.c
1316
1317Patch 7.4.144
1318Problem: MingW also supports intptr_t for OPEN_OH_ARGTYPE.
1319Solution: Adjust #ifdef. (Ken Takata)
1320Files: src/os_mswin.c
1321
1322Patch 7.4.145
1323Problem: getregtype() does not return zero for unknown register.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001324Solution: Adjust documentation: return empty string for unknown register.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001325 Check the register name to be valid. (Yukihiro Nakadaira)
1326Files: runtime/doc/eval.txt, src/ops.c
1327
1328Patch 7.4.146
1329Problem: When starting Vim with "-u NONE" v:oldfiles is NULL.
1330Solution: Set v:oldfiles to an empty list. (Yasuhiro Matsumoto)
1331Files: src/main.c
1332
1333Patch 7.4.147
1334Problem: Cursor moves to wrong position when using "gj" after "$" and
1335 virtual editing is active.
1336Solution: Make "gj" behave differently when virtual editing is active.
1337 (Hirohito Higashi)
1338Files: src/normal.c, src/testdir/test39.in, src/testdir/test39.ok
1339
1340Patch 7.4.148
1341Problem: Cannot build with Cygwin and X11.
1342Solution: Include Xwindows.h instead of windows.h. (Lech Lorens)
1343Files: src/mbyte.c
1344
1345Patch 7.4.149
1346Problem: Get E685 error when assigning a function to an autoload variable.
1347 (Yukihiro Nakadaira)
1348Solution: Instead of having a global no_autoload variable, pass an autoload
1349 flag down to where it is used. (ZyX)
1350Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok,
1351 src/testdir/test60.in, src/testdir/test60.ok,
1352 src/testdir/sautest/autoload/footest.vim
1353
1354Patch 7.4.150
1355Problem: :keeppatterns is not respected for :s.
1356Solution: Check the keeppatterns flag. (Yasuhiro Matsumoto)
1357Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
1358
1359Patch 7.4.151
1360Problem: Python: slices with steps are not supported.
1361Solution: Support slices in Python vim.List. (ZyX)
1362Files: src/eval.c, src/if_py_both.h, src/if_python3.c, src/if_python.c,
1363 src/proto/eval.pro, src/testdir/test86.in, src/testdir/test86.ok,
1364 src/testdir/test87.in, src/testdir/test87.ok
1365
1366Patch 7.4.152
1367Problem: Python: Cannot iterate over options.
1368Solution: Add options iterator. (ZyX)
1369Files: src/if_py_both.h, src/option.c, src/proto/option.pro,
1370 src/testdir/test86.in, src/testdir/test86.ok,
1371 src/testdir/test87.in, src/testdir/test87.ok, src/vim.h
1372
1373Patch 7.4.153
1374Problem: Compiler warning for pointer type.
1375Solution: Add type cast.
1376Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
1377
1378Patch 7.4.154 (after 7.4.149)
1379Problem: Still a problem with auto-loading.
1380Solution: Pass no_autoload to deref_func_name(). (Yukihiro Nakadaira)
1381Files: src/eval.c
1382
1383Patch 7.4.155
1384Problem: ":keeppatterns /pat" does not keep search pattern offset.
1385Solution: Restore the offset after doing the search.
1386Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
1387
1388Patch 7.4.156
1389Problem: Test file missing from distribution.
1390Solution: Add new directory to file list.
1391Files: Filelist
1392
1393Patch 7.4.157
1394Problem: Error number used twice. (Yukihiro Nakadaira)
1395Solution: Change the one not referred in the docs.
1396Files: src/undo.c
1397
1398Patch 7.4.158 (after 7.4.045)
1399Problem: Pattern containing \zs is not handled correctly by substitute().
1400Solution: Change how an empty match is skipped. (Yukihiro Nakadaira)
1401Files: src/eval.c, src/testdir/test80.in, src/testdir/test80.ok
1402
1403Patch 7.4.159
1404Problem: Completion hangs when scanning the current buffer after doing
1405 keywords. (Christian Brabandt)
1406Solution: Set the first match position when starting to scan the current
1407 buffer.
1408Files: src/edit.c
1409
1410Patch 7.4.160
1411Problem: Win32: Crash when executing external command.
1412Solution: Only close the handle when it was created. (Yasuhiro Matsumoto)
1413Files: src/os_win32.c
1414
1415Patch 7.4.161
1416Problem: Crash in Python exception handling.
1417Solution: Only use exception variables if did_throw is set. (ZyX)
Bram Moolenaar259f26a2018-05-15 22:25:40 +02001418Files: src/if_py_both.h
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001419
1420Patch 7.4.162
1421Problem: Running tests in shadow dir doesn't work.
1422Solution: Add testdir/sautest to the shadow target. (James McCoy)
1423Files: src/Makefile
1424
1425Patch 7.4.163 (after 7.4.142)
1426Problem: MS-Windows input doesn't work properly on Windows 7 and earlier.
1427Solution: Add a check for Windows 8. (Yasuhiro Matsumoto)
1428Files: src/os_win32.c
1429
1430Patch 7.4.164 (after 7.4.163)
1431Problem: Problem with event handling on Windows 8.
1432Solution: Ignore duplicate WINDOW_BUFFER_SIZE_EVENTs. (Nobuhiro Takasaki)
1433Files: src/os_win32.c
1434
1435Patch 7.4.165
1436Problem: By default, after closing a buffer changes can't be undone.
1437Solution: In the example vimrc file set 'undofile'.
1438Files: runtime/vimrc_example.vim
1439
1440Patch 7.4.166
1441Problem: Auto-loading a function for code that won't be executed.
1442Solution: Do not auto-load when evaluation is off. (Yasuhiro Matsumoto)
1443Files: src/eval.c
1444
1445Patch 7.4.167 (after 7.4.149)
1446Problem: Fixes are not tested.
1447Solution: Add a test for not autoloading on assignment. (Yukihiro Nakadaira)
1448Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
1449 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
1450 src/testdir/Make_vms.mms, src/testdir/Makefile,
1451 src/testdir/sautest/autoload/Test104.vim, src/testdir/test104.in,
1452 src/testdir/test104.ok
1453
1454Patch 7.4.168
1455Problem: Can't compile with Ruby 2.1.0.
1456Solution: Add support for new GC. (Kohei Suzuki)
1457Files: src/if_ruby.c
1458
1459Patch 7.4.169
1460Problem: ":sleep" puts cursor in the wrong column. (Liang Li)
1461Solution: Add the window offset. (Christian Brabandt)
1462Files: src/ex_docmd.c
1463
1464Patch 7.4.170
1465Problem: Some help tags don't work with ":help". (Tim Chase)
1466Solution: Add exceptions.
1467Files: src/ex_cmds.c
1468
1469Patch 7.4.171
1470Problem: Redo does not set v:count and v:count1.
1471Solution: Use a separate buffer for redo, so that we can set the counts when
1472 performing redo.
1473Files: src/getchar.c, src/globals.h, src/normal.c, src/proto/getchar.pro,
1474 src/structs.h
1475
1476Patch 7.4.172
1477Problem: The blowfish code mentions output feedback, but the code is
1478 actually doing cipher feedback.
1479Solution: Adjust names and comments.
1480Files: src/blowfish.c, src/fileio.c, src/proto/blowfish.pro,
1481 src/memline.c
1482
1483Patch 7.4.173
1484Problem: When using scrollbind the cursor can end up below the last line.
1485 (mvxxc)
1486Solution: Reset w_botfill when scrolling up. (Christian Brabandt)
1487Files: src/move.c
1488
1489Patch 7.4.174
1490Problem: Compiler warnings for Python interface. (Tony Mechelynck)
1491Solution: Add type casts, initialize variable.
1492Files: src/if_py_both.h
1493
1494Patch 7.4.175
1495Problem: When a wide library function fails, falling back to the non-wide
1496 function may do the wrong thing.
1497Solution: Check the platform, when the wide function is supported don't fall
1498 back to the non-wide function. (Ken Takata)
1499Files: src/os_mswin.c, src/os_win32.c
1500
1501Patch 7.4.176
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001502Problem: Dictionary.update() throws an error when used without arguments.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001503 Python programmers don't expect that.
1504Solution: Make Dictionary.update() without arguments do nothing. (ZyX)
1505Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test87.in
1506
1507Patch 7.4.177
1508Problem: Compiler warning for unused variable. (Tony Mechelynck)
1509Solution: Add #ifdef.
1510Files: src/move.c
1511
1512Patch 7.4.178
1513Problem: The J command does not update '[ and '] marks. (William Gardner)
1514Solution: Set the marks. (Christian Brabandt)
1515Files: src/ops.c
1516
1517Patch 7.4.179
1518Problem: Warning for type-punned pointer. (Tony Mechelynck)
1519Solution: Use intermediate variable.
1520Files: src/if_py_both.h
1521
1522Patch 7.4.180 (after 7.4.174)
1523Problem: Older Python versions don't support %ld.
1524Solution: Use %d instead. (ZyX)
1525Files: src/if_py_both.h
1526
1527Patch 7.4.181
1528Problem: When using 'pastetoggle' the status lines are not updated. (Samuel
1529 Ferencik, Jan Christoph Ebersbach)
1530Solution: Update the status lines. (Nobuhiro Takasaki)
1531Files: src/getchar.c
1532
1533Patch 7.4.182
1534Problem: Building with mzscheme and racket does not work. (David Chimay)
1535Solution: Adjust autoconf. (Sergey Khorev)
1536Files: src/configure.in, src/auto/configure
1537
1538Patch 7.4.183
1539Problem: MSVC Visual Studio update not supported.
Bram Moolenaar09521312016-08-12 22:54:35 +02001540Solution: Add version number. (Mike Williams)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001541Files: src/Make_mvc.mak
1542
1543Patch 7.4.184
1544Problem: match() does not work properly with a {count} argument.
1545Solution: Compute the length once and update it. Quit the loop when at the
1546 end. (Hirohito Higashi)
1547Files: src/eval.c, src/testdir/test53.in, src/testdir/test53.ok
1548
1549Patch 7.4.185
1550Problem: Clang gives warnings.
1551Solution: Adjust how bigness is set. (Dominique Pelle)
1552Files: src/ex_cmds.c
1553
1554Patch 7.4.186 (after 7.4.085)
1555Problem: Insert in Visual mode sometimes gives incorrect results.
1556 (Dominique Pelle)
1557Solution: Remember the original insert start position. (Christian Brabandt,
1558 Dominique Pelle)
1559Files: src/edit.c, src/globals.h, src/ops.c, src/structs.h
1560
1561Patch 7.4.187
1562Problem: Delete that crosses line break splits multi-byte character.
1563Solution: Advance a character instead of a byte. (Cade Foster)
1564Files: src/normal.c, src/testdir/test69.in, src/testdir/test69.ok
1565
1566Patch 7.4.188
1567Problem: SIZEOF_LONG clashes with similar defines in header files.
1568Solution: Rename to a name starting with VIM_. Also for SIZEOF_INT.
1569Files: src/if_ruby.c, src/vim.h, src/configure.in, src/auto/configure,
1570 src/config.h.in, src/fileio.c, src/if_python.c, src/message.c,
1571 src/spell.c, src/feature.h, src/os_os2_cfg.h, src/os_vms_conf.h,
1572 src/os_win16.h, src/structs.h
1573
1574Patch 7.4.189
1575Problem: Compiler warning for unused argument.
1576Solution: Add UNUSED.
1577Files: src/eval.c
1578
1579Patch 7.4.190
1580Problem: Compiler warning for using %lld for off_t.
1581Solution: Add type cast.
1582Files: src/fileio.c
1583
1584Patch 7.4.191
1585Problem: Escaping a file name for shell commands can't be done without a
1586 function.
1587Solution: Add the :S file name modifier.
1588Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
1589 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
1590 src/testdir/Make_vms.mms, src/testdir/Makefile,
1591 src/testdir/test105.in, src/testdir/test105.ok,
1592 runtime/doc/cmdline.txt, runtime/doc/eval.txt,
1593 runtime/doc/map.txt, runtime/doc/options.txt,
1594 runtime/doc/quickfix.txt, runtime/doc/usr_30.txt,
1595 runtime/doc/usr_40.txt, runtime/doc/usr_42.txt,
1596 runtime/doc/vi_diff.txt, src/eval.c, src/misc2.c, src/normal.c,
1597 src/proto/misc2.pro
1598
1599Patch 7.4.192
1600Problem: Memory leak when giving E853.
1601Solution: Free the argument. (Dominique Pelle)
1602Files: src/eval.c
1603
1604Patch 7.4.193
1605Problem: Typos in messages.
1606Solution: "then" -> "than". (Dominique Pelle)
1607Files: src/if_py_both.h, src/spell.c
1608
1609Patch 7.4.194
1610Problem: Can't build for Android.
1611Solution: Add #if condition. (Fredrik Fornwall)
1612Files: src/mbyte.c
1613
1614Patch 7.4.195 (after 7.4.193)
1615Problem: Python tests fail.
1616Solution: Change "then" to "than" in more places. (Dominique Pelle, Taro
1617 Muraoka)
1618Files: src/testdir/test86.in, src/testdir/test86.ok,
1619 src/testdir/test87.in, src/testdir/test87.ok
1620
1621Patch 7.4.196
1622Problem: Tests fail on Solaris 9 and 10.
1623Solution: Use "test -f" instead of "test -e". (Laurent Blume)
1624Files: src/testdir/Makefile
1625
1626Patch 7.4.197
1627Problem: Various problems on VMS.
1628Solution: Fix several VMS problems. (Zoltan Arpadffy)
1629Files: runtime/doc/os_vms.txt, src/Make_vms.mms, src/fileio.c,
1630 src/os_unix.c, src/os_unix.h, src/os_vms.c, src/os_vms_conf.h,
1631 src/proto/os_vms.pro, src/testdir/Make_vms.mms,
1632 src/testdir/test72.in, src/testdir/test77a.com,
1633 src/testdir/test77a.in, src/testdir/test77a.ok src/undo.c
1634
1635Patch 7.4.198
1636Problem: Can't build Vim with Perl when -Dusethreads is not specified for
1637 building Perl, and building Vim with --enable-perlinterp=dynamic.
1638Solution: Adjust #ifdefs. (Yasuhiro Matsumoto)
1639Files: src/if_perl.xs
1640
1641Patch 7.4.199
1642Problem: (issue 197) ]P doesn't paste over Visual selection.
1643Solution: Handle Visual mode specifically. (Christian Brabandt)
1644Files: src/normal.c
1645
1646Patch 7.4.200
1647Problem: Too many #ifdefs in the code.
1648Solution: Enable FEAT_VISUAL always, await any complaints
1649Files: src/feature.h
1650
1651Patch 7.4.201
1652Problem: 'lispwords' is a global option.
1653Solution: Make 'lispwords' global-local. (Sung Pae)
1654Files: runtime/doc/options.txt, runtime/optwin.vim, src/buffer.c,
1655 src/misc1.c, src/option.c, src/option.h, src/structs.h,
1656 src/testdir/test100.in, src/testdir/test100.ok
1657
1658Patch 7.4.202
1659Problem: MS-Windows: non-ASCII font names don't work.
1660Solution: Convert between the current code page and 'encoding'. (Ken Takata)
1661Files: src/gui_w48.c, src/os_mswin.c, src/proto/winclip.pro,
1662 src/winclip.c
1663
1664Patch 7.4.203
1665Problem: Parsing 'errorformat' is not correct.
1666Solution: Reset "multiignore" at the start of a multi-line message. (Lcd)
1667Files: src/quickfix.c, src/testdir/Make_amiga.mak,
1668 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
1669 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
1670 src/testdir/Makefile, src/testdir/test106.in,
1671 src/testdir/test106.ok
1672
1673Patch 7.4.204
1674Problem: A mapping where the second byte is 0x80 doesn't work.
1675Solution: Unescape before checking for incomplete multi-byte char. (Nobuhiro
1676 Takasaki)
1677Files: src/getchar.c, src/testdir/test75.in, src/testdir/test75.ok
1678
1679Patch 7.4.205
1680Problem: ":mksession" writes command to move to second argument while it
1681 does not exist. When it does exist the order might be wrong.
1682Solution: Use ":argadd" for each argument instead of using ":args" with a
1683 list of names. (Nobuhiro Takasaki)
1684Files: src/ex_docmd.c
1685
1686Patch 7.4.206
1687Problem: Compiler warnings on 64 bit Windows.
1688Solution: Add type casts. (Mike Williams)
1689Files: src/gui_w48.c, src/os_mswin.c
1690
1691Patch 7.4.207
1692Problem: The cursor report sequence is sometimes not recognized and results
1693 in entering replace mode.
1694Solution: Also check for the cursor report when not asked for.
1695Files: src/term.c
1696
1697Patch 7.4.208
1698Problem: Mercurial picks up some files that are not distributed.
1699Solution: Add patterns to the ignore list. (Cade Forester)
1700Files: .hgignore
1701
1702Patch 7.4.209
1703Problem: When repeating a filter command "%" and "#" are expanded.
1704Solution: Escape the command when storing for redo. (Christian Brabandt)
1705Files: src/ex_cmds.c
1706
1707Patch 7.4.210
1708Problem: Visual block mode plus virtual edit doesn't work well with tabs.
1709 (Liang Li)
1710Solution: Take coladd into account. (Christian Brabandt)
1711Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
1712
1713Patch 7.4.211
1714Problem: ":lu" is an abbreviation for ":lua", but it should be ":lunmap".
1715 (ZyX)
1716Solution: Move "lunmap" to above "lua".
1717Files: src/ex_cmds.h
1718
1719Patch 7.4.212 (after 7.4.200)
1720Problem: Now that the +visual feature is always enabled the #ifdefs for it
1721 are not useful.
1722Solution: Remove the checks for FEAT_VISUAL.
1723Files: src/buffer.c, src/charset.c, src/edit.c, src/eval.c,
1724 src/ex_cmds.c, src/ex_docmd.c, src/fold.c, src/getchar.c,
1725 src/gui.c, src/gui_mac.c, src/gui_w48.c, src/main.c, src/mark.c,
1726 src/menu.c, src/misc2.c, src/move.c, src/netbeans.c, src/normal.c,
1727 src/ops.c, src/option.c, src/os_msdos.c, src/os_qnx.c,
1728 src/quickfix.c, src/regexp.c, src/regexp_nfa.c, src/screen.c,
1729 src/search.c, src/spell.c, src/syntax.c, src/term.c, src/ui.c,
1730 src/undo.c, src/version.c, src/window.c, src/feature.h,
1731 src/globals.h, src/option.h, src/os_win32.h, src/structs.h
1732
1733Patch 7.4.213
1734Problem: It's not possible to open a new buffer without creating a swap
1735 file.
1736Solution: Add the ":noswapfile" modifier. (Christian Brabandt)
1737Files: runtime/doc/recover.txt, src/ex_cmds.h, src/ex_docmd.c,
1738 src/memline.c, src/structs.h
1739
1740Patch 7.4.214
1741Problem: Compilation problems on HP_nonStop (Tandem).
1742Solution: Add #defines. (Joachim Schmitz)
1743Files: src/vim.h
1744
1745Patch 7.4.215
1746Problem: Inconsistency: ":sp foo" does not reload "foo", unless "foo" is
1747 the current buffer. (Liang Li)
1748Solution: Do not reload the current buffer on a split command.
1749Files: runtime/doc/windows.txt, src/ex_docmd.c
1750
1751Patch 7.4.216
1752Problem: Compiler warnings. (Tony Mechelynck)
1753Solution: Initialize variables, add #ifdef.
1754Files: src/term.c, src/os_unix.h
1755
1756Patch 7.4.217
1757Problem: When src/auto/configure was updated, "make clean" would run
1758 configure pointlessly.
1759Solution: Do not run configure for "make clean" and "make distclean" when
1760 the make program supports $MAKECMDGOALS. (Ken Takata)
1761Files: src/Makefile
1762
1763Patch 7.4.218
1764Problem: It's not easy to remove duplicates from a list.
Bram Moolenaard0796902016-09-16 20:02:31 +02001765Solution: Add the uniq() function. (Lcd)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001766Files: runtime/doc/change.txt, runtime/doc/eval.txt,
1767 runtime/doc/usr_41.txt, runtime/doc/version7.txt, src/eval.c,
1768 src/testdir/test55.in, src/testdir/test55.ok
1769
1770Patch 7.4.219
1771Problem: When 'relativenumber' or 'cursorline' are set the window is
1772 redrawn much to often. (Patrick Hemmer, Dominique Pelle)
1773Solution: Check the VALID_CROW flag instead of VALID_WROW.
1774Files: src/move.c
1775
1776Patch 7.4.220
1777Problem: Test 105 does not work in a shadow dir. (James McCoy)
1778Solution: Omit "src/" from the checked path.
1779Files: src/testdir/test105.in, src/testdir/test105.ok
1780
1781Patch 7.4.221
1782Problem: Quickfix doesn't resize on ":copen 20". (issue 199)
1783Solution: Resize the window when requested. (Christian Brabandt)
1784Files: src/quickfix.c
1785
1786Patch 7.4.222
1787Problem: The Ruby directory is constructed from parts.
1788Solution: Use 'rubyarchhdrdir' if it exists. (James McCoy)
1789Files: src/configure.in, src/auto/configure
1790
1791Patch 7.4.223
1792Problem: Still using an older autoconf version.
1793Solution: Switch to autoconf 2.69.
1794Files: src/Makefile, src/configure.in, src/auto/configure
1795
1796Patch 7.4.224
1797Problem: /usr/bin/grep on Solaris does not support -F.
1798Solution: Add configure check to find a good grep. (Danek Duvall)
1799Files: src/configure.in, src/auto/configure
1800
1801Patch 7.4.225
1802Problem: Dynamic Ruby doesn't work on Solaris.
1803Solution: Always use the stubs. (Danek Duvall, Yukihiro Nakadaira)
1804Files: src/if_ruby.c
1805
1806Patch 7.4.226 (after 7.4.219)
Bram Moolenaar7db25fe2018-05-13 00:02:36 +02001807Problem: Cursorline highlighting not redrawn when scrolling. (John
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001808 Marriott)
1809Solution: Check for required redraw in two places.
1810Files: src/move.c
1811
1812Patch 7.4.227 (after 7.4.225)
1813Problem: Can't build with Ruby 1.8.
1814Solution: Do include a check for the Ruby version. (Ken Takata)
1815Files: src/if_ruby.c
1816
1817Patch 7.4.228
1818Problem: Compiler warnings when building with Python 3.2.
1819Solution: Make type cast depend on Python version. (Ken Takata)
1820Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
1821
1822Patch 7.4.229
1823Problem: Using ":let" for listing variables and the second one is a curly
1824 braces expression may fail.
1825Solution: Check for an "=" in a better way. (ZyX)
1826Files: src/eval.c, src/testdir/test104.in, src/testdir/test104.ok
1827
1828Patch 7.4.230
1829Problem: Error when using ":options".
1830Solution: Fix the entry for 'lispwords'. (Kenichi Ito)
1831Files: runtime/optwin.vim
1832
1833Patch 7.4.231
1834Problem: An error in ":options" is not caught by the tests.
1835Solution: Add a test for ":options". Set $VIMRUNTIME for the tests so that
1836 it uses the current runtime files instead of the installed ones.
1837Files: src/Makefile, src/testdir/Makefile, src/testdir/test_options.in,
1838 src/testdir/test_options.ok, src/testdir/Make_amiga.mak,
1839 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
1840 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
1841
1842Patch 7.4.232
1843Problem: ":%s/\n//" uses a lot of memory. (Aidan Marlin)
1844Solution: Turn this into a join command. (Christian Brabandt)
1845Files: src/ex_cmds.c, src/ex_docmd.c, src/proto/ex_docmd.pro
1846
1847Patch 7.4.233
1848Problem: Escaping special characters for using "%" with a shell command is
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001849 inconsistent, parentheses are escaped but spaces are not.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001850Solution: Only escape "!". (Gary Johnson)
1851Files: src/ex_docmd.c
1852
1853Patch 7.4.234
1854Problem: Can't get the command that was used to start Vim.
1855Solution: Add v:progpath. (Viktor Kojouharov)
1856Files: runtime/doc/eval.txt, src/eval.c, src/main.c, src/vim.h
1857
1858Patch 7.4.235
1859Problem: It is not easy to get the full path of a command.
1860Solution: Add the exepath() function.
1861Files: src/eval.c, src/misc1.c, src/os_amiga.c, src/os_msdos.c,
1862 src/os_unix.c, src/os_vms.c, src/os_win32.c,
1863 src/proto/os_amiga.pro, src/proto/os_msdos.pro,
1864 src/proto/os_unix.pro, src/proto/os_win32.pro,
1865 runtime/doc/eval.txt
1866
1867Patch 7.4.236
1868Problem: It's not that easy to check the Vim patch version.
1869Solution: Make has("patch-7.4.123") work. (partly by Marc Weber)
1870Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test60.in,
1871 src/testdir/test60.ok
1872
1873Patch 7.4.237 (after 7.4.236)
Bram Moolenaar036986f2017-03-16 17:41:02 +01001874Problem: When some patches were not included has("patch-7.4.123") may return
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001875 true falsely.
1876Solution: Check for the specific patch number.
1877Files: runtime/doc/eval.txt, src/eval.c
1878
1879Patch 7.4.238
1880Problem: Vim does not support the smack library.
1881Solution: Add smack support (Jose Bollo)
1882Files: src/config.h.in, src/configure.in, src/fileio.c, src/memfile.c,
1883 src/os_unix.c, src/undo.c, src/auto/configure
1884
1885Patch 7.4.239
1886Problem: ":e +" does not position cursor at end of the file.
1887Solution: Check for "+" being the last character (ZyX)
1888Files: src/ex_docmd.c
1889
1890Patch 7.4.240
1891Problem: ":tjump" shows "\n" as "\\n".
1892Solution: Skip over "\" that escapes a backslash. (Gary Johnson)
1893Files: src/tag.c
1894
1895Patch 7.4.241
1896Problem: The string returned by submatch() does not distinguish between a
1897 NL from a line break and a NL that stands for a NUL character.
1898Solution: Add a second argument to return a list. (ZyX)
1899Files: runtime/doc/eval.txt, src/eval.c, src/proto/regexp.pro,
1900 src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok,
1901 src/testdir/test80.in, src/testdir/test80.ok
1902
1903Patch 7.4.242
1904Problem: getreg() does not distinguish between a NL used for a line break
1905 and a NL used for a NUL character.
1906Solution: Add another argument to return a list. (ZyX)
1907Files: runtime/doc/eval.txt, src/eval.c src/ops.c, src/proto/ops.pro,
1908 src/vim.h, src/Makefile, src/testdir/test_eval.in,
1909 src/testdir/test_eval.ok, src/testdir/Make_amiga.mak,
1910 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
1911 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
1912
1913Patch 7.4.243
1914Problem: Cannot use setreg() to add text that includes a NUL.
1915Solution: Make setreg() accept a list.
1916Files: runtime/doc/eval.txt, src/eval.c, src/ops.c, src/proto/ops.pro,
1917 src/testdir/test_eval.in, src/testdir/test_eval.ok
1918
1919Patch 7.4.244 (after 7.4.238)
1920Problem: The smack feature causes stray error messages.
1921Solution: Remove the error messages.
1922Files: src/os_unix.c
1923
1924Patch 7.4.245
1925Problem: Crash for "vim -u NONE -N -c '&&'".
1926Solution: Check for the pattern to be NULL. (Dominique Pelle)
1927Files: src/ex_cmds.c
1928
1929Patch 7.4.246
1930Problem: Configure message for detecting smack are out of sequence.
1931Solution: Put the messages in the right place. (Kazunobu Kuriyama)
1932Files: src/configure.in, src/auto/configure
1933
1934Patch 7.4.247
1935Problem: When passing input to system() there is no way to keep NUL and
1936 NL characters separate.
1937Solution: Optionally use a list for the system() input. (ZyX)
1938Files: runtime/doc/eval.txt, src/eval.c
1939
1940Patch 7.4.248
1941Problem: Cannot distinguish between NL and NUL in output of system().
1942Solution: Add systemlist(). (ZyX)
1943Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmds2.c, src/misc1.c,
1944 src/proto/misc1.pro
1945
1946Patch 7.4.249
1947Problem: Using setreg() with a list of numbers does not work.
1948Solution: Use a separate buffer for numbers. (ZyX)
1949Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
1950
1951Patch 7.4.250
1952Problem: Some test files missing from distribution.
1953Solution: Add pattern for newly added tests.
1954Files: Filelist
1955
1956Patch 7.4.251
1957Problem: Crash when BufAdd autocommand wipes out the buffer.
1958Solution: Check for buffer to still be valid. Postpone freeing the buffer
1959 structure. (Hirohito Higashi)
1960Files: src/buffer.c, src/ex_cmds.c, src/fileio.c, src/globals.h
1961
1962Patch 7.4.252
1963Problem: Critical error in GTK, removing timer twice.
1964Solution: Clear the timer after removing it. (James McCoy)
1965Files: src/gui_gtk_x11.c
1966
1967Patch 7.4.253
1968Problem: Crash when using cpp syntax file with pattern using external
1969 match. (Havard Garnes)
1970Solution: Discard match when end column is before start column.
1971Files: src/regexp.c, src/regexp_nfa.c
1972
1973Patch 7.4.254
1974Problem: Smack support detection is incomplete.
1975Solution: Check for attr/xattr.h and specific macro.
1976Files: src/configure.in, src/auto/configure
1977
1978Patch 7.4.255
1979Problem: Configure check for smack doesn't work with all shells. (David
1980 Larson)
1981Solution: Remove spaces in set command.
1982Files: src/configure.in, src/auto/configure
1983
1984Patch 7.4.256 (after 7.4.248)
1985Problem: Using systemlist() may cause a crash and does not handle NUL
1986 characters properly.
1987Solution: Increase the reference count, allocate memory by length. (Yasuhiro
1988 Matsumoto)
1989Files: src/eval.c
1990
1991Patch 7.4.257
1992Problem: Compiler warning, possibly for mismatch in parameter name.
1993Solution: Rename the parameter in the declaration.
1994Files: src/ops.c
1995
1996Patch 7.4.258
1997Problem: Configure fails if $CC contains options.
1998Solution: Remove quotes around $CC. (Paul Barker)
1999Files: src/configure.in, src/auto/configure
2000
2001Patch 7.4.259
2002Problem: Warning for misplaced "const".
2003Solution: Move the "const". (Yukihiro Nakadaira)
2004Files: src/os_unix.c
2005
2006Patch 7.4.260
2007Problem: It is possible to define a function with a colon in the name. It
2008 is possible to define a function with a lower case character if a
2009 "#" appears after the name.
2010Solution: Disallow using a colon other than with "s:". Ignore "#" after the
2011 name.
2012Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_eval.in,
2013 src/testdir/test_eval.ok
2014
2015Patch 7.4.261
2016Problem: When updating the window involves a regexp pattern, an interactive
2017 substitute to replace a "\n" with a line break fails. (Ingo
2018 Karkat)
2019Solution: Set reg_line_lbr in vim_regsub() and vim_regsub_multi().
2020Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok
2021
2022Patch 7.4.262
2023Problem: Duplicate code in regexec().
2024Solution: Add line_lbr flag to regexec_nl().
2025Files: src/regexp.c, src/regexp_nfa.c, src/regexp.h
2026
2027Patch 7.4.263
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002028Problem: GCC 4.8 compiler warning for hiding a declaration (François Gannaz)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002029Solution: Remove the second declaration.
2030Files: src/eval.c
2031
2032Patch 7.4.264 (after 7.4.260)
2033Problem: Can't define a function starting with "g:". Can't assign a
2034 funcref to a buffer-local variable.
2035Solution: Skip "g:" at the start of a function name. Don't check for colons
2036 when assigning to a variable.
2037Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
2038
2039Patch 7.4.265 (after 7.4.260)
2040Problem: Can't call a global function with "g:" in an expression.
2041Solution: Skip the "g:" when looking up the function.
2042Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
2043
2044Patch 7.4.266
2045Problem: Test 62 fails.
2046Solution: Set the language to C. (Christian Brabandt)
2047Files: src/testdir/test62.in
2048
2049Patch 7.4.267 (after 7.4.178)
2050Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat)
2051Solution: Add the setmark argument to do_join(). (Christian Brabandt)
2052Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2053 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2054 src/testdir/Make_vms.mms, src/testdir/Makefile,
2055 src/testdir/test_autoformat_join.in,
2056 src/testdir/test_autoformat_join.ok, src/Makefile, src/edit.c,
2057 src/ex_cmds.c, src/ex_docmd.c, src/normal.c, src/ops.c,
2058 src/proto/ops.pro
2059
2060Patch 7.4.268
2061Problem: Using exists() on a funcref for a script-local function does not
2062 work.
2063Solution: Translate <SNR> to the special byte sequence. Add a test.
2064Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok,
2065 src/testdir/test_eval_func.vim, Filelist
2066
2067Patch 7.4.269
2068Problem: CTRL-U in Insert mode does not work after using a cursor key.
2069 (Pine Wu)
2070Solution: Use the original insert start position. (Christian Brabandt)
2071Files: src/edit.c, src/testdir/test29.in, src/testdir/test29.ok
2072
2073Patch 7.4.270
2074Problem: Comparing pointers instead of the string they point to.
2075Solution: Use strcmp(). (Ken Takata)
2076Files: src/gui_gtk_x11.c
2077
2078Patch 7.4.271
2079Problem: Compiler warning on 64 bit windows.
2080Solution: Add type cast. (Mike Williams)
2081Files: src/ops.c
2082
2083Patch 7.4.272
2084Problem: Using just "$" does not cause an error message.
2085Solution: Check for empty environment variable name. (Christian Brabandt)
2086Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
2087
2088Patch 7.4.273
2089Problem: "make autoconf" and "make reconfig" may first run configure and
2090 then remove the output.
2091Solution: Add these targets to the exceptions. (Ken Takata)
2092Files: src/Makefile
2093
2094Patch 7.4.274
2095Problem: When doing ":update" just before running an external command that
2096 changes the file, the timestamp may be unchanged and the file
2097 is not reloaded.
2098Solution: Also check the file size.
2099Files: src/fileio.c
2100
2101Patch 7.4.275
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002102Problem: When changing the type of a sign that hasn't been placed there is
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002103 no error message.
2104Solution: Add an error message. (Christian Brabandt)
2105Files: src/ex_cmds.c
2106
2107Patch 7.4.276
2108Problem: The fish shell is not supported.
2109Solution: Use begin/end instead of () for fish. (Andy Russell)
2110Files: src/ex_cmds.c, src/misc1.c, src/option.c, src/proto/misc1.pro
2111
2112Patch 7.4.277
2113Problem: Using ":sign unplace *" may leave the cursor in the wrong position
2114 (Christian Brabandt)
2115Solution: Update the cursor position when removing all signs.
2116Files: src/buffer.c
2117
2118Patch 7.4.278
2119Problem: list_remove() conflicts with function defined in Sun header file.
2120Solution: Rename the function. (Richard Palo)
2121Files: src/eval.c, src/if_lua.c, src/if_py_both.h, src/proto/eval.pro
2122
2123Patch 7.4.279
2124Problem: globpath() returns a string, making it difficult to get a list of
2125 matches. (Greg Novack)
2126Solution: Add an optional argument like with glob(). (Adnan Zafar)
2127Files: runtime/doc/eval.txt, src/eval.c, src/ex_getln.c, src/misc1.c,
2128 src/misc2.c, src/proto/ex_getln.pro, src/proto/misc2.pro,
2129 src/testdir/test97.in, src/testdir/test97.ok
2130
2131Patch 7.4.280
2132Problem: When using a session file the relative position of the cursor is
2133 not restored if there is another tab. (Nobuhiro Takasaki)
2134Solution: Update w_wrow before calculating the fraction.
2135Files: src/window.c
2136
2137Patch 7.4.281
2138Problem: When a session file has more than one tabpage and 'showtabline' is
2139 one the positions may be slightly off.
2140Solution: Set 'showtabline' to two while positioning windows.
2141Files: src/ex_docmd.c
2142
2143Patch 7.4.282 (after 7.4.279)
2144Problem: Test 97 fails on Mac.
2145Solution: Do not ignore case in file names. (Jun Takimoto)
2146Files: src/testdir/test97.in
2147
2148Patch 7.4.283 (after 7.4.276)
2149Problem: Compiler warning about unused variable. (Charles Cooper)
2150Solution: Move the variable inside the #if block.
2151Files: src/ex_cmds.c
2152
2153Patch 7.4.284
2154Problem: Setting 'langmap' in the modeline can cause trouble. E.g. mapping
2155 ":" breaks many commands. (Jens-Wolfhard Schicke-Uffmann)
2156Solution: Disallow setting 'langmap' from the modeline.
2157Files: src/option.c
2158
2159Patch 7.4.285
2160Problem: When 'relativenumber' is set and deleting lines or undoing that,
2161 line numbers are not always updated. (Robert Arkwright)
2162Solution: (Christian Brabandt)
2163Files: src/misc1.c
2164
2165Patch 7.4.286
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002166Problem: Error messages are inconsistent. (ZyX)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002167Solution: Change "Lists" to "list".
2168Files: src/eval.c
2169
2170Patch 7.4.287
2171Problem: Patches for .hgignore don't work, since the file is not in the
2172 distribution.
2173Solution: Add .hgignore to the distribution. Will be effective with the
2174 next version.
2175Files: Filelist
2176
2177Patch 7.4.288
2178Problem: When 'spellfile' is set the screen is not redrawn.
2179Solution: Redraw when updating the spelling info. (Christian Brabandt)
2180Files: src/spell.c
2181
2182Patch 7.4.289
2183Problem: Pattern with repeated backreference does not match with new regexp
2184 engine. (Urtica Dioica)
2185Solution: Also check the end of a submatch when deciding to put a state in
2186 the state list.
2187Files: src/testdir/test64.in, src/testdir/test64.ok, src/regexp_nfa.c
2188
2189Patch 7.4.290
2190Problem: A non-greedy match followed by a branch is too greedy. (Ingo
2191 Karkat)
2192Solution: Add NFA_MATCH when it is already in the state list if the position
2193 differs.
2194Files: src/testdir/test64.in, src/testdir/test64.ok, src/regexp_nfa.c
2195
2196Patch 7.4.291
2197Problem: Compiler warning for int to pointer of different size when DEBUG
2198 is defined.
2199Solution: use smsg() instead of EMSG3().
2200Files: src/regexp.c
2201
2202Patch 7.4.292
2203Problem: Searching for "a" does not match accented "a" with new regexp
2204 engine, does match with old engine. (David Bürgin)
2205 "ca" does not match "ca" with accented "a" with either engine.
2206Solution: Change the old engine, check for following composing character
2207 also for single-byte patterns.
2208Files: src/regexp.c, src/testdir/test95.in, src/testdir/test95.ok
2209
2210Patch 7.4.293
2211Problem: It is not possible to ignore composing characters at a specific
2212 point in a pattern.
2213Solution: Add the %C item.
2214Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test95.in,
2215 src/testdir/test95.ok, runtime/doc/pattern.txt
2216
2217Patch 7.4.294 (7.4.293)
2218Problem: Test files missing from patch.
2219Solution: Patch the test files.
2220Files: src/testdir/test95.in, src/testdir/test95.ok
2221
2222Patch 7.4.295
2223Problem: Various typos, bad white space and unclear comments.
2224Solution: Fix typos. Improve white space. Update comments.
2225Files: src/testdir/test49.in, src/macros.h, src/screen.c, src/structs.h,
2226 src/gui_gtk_x11.c, src/os_unix.c
2227
2228Patch 7.4.296
2229Problem: Can't run tests on Solaris.
2230Solution: Change the way VIMRUNTIME is set. (Laurent Blume)
2231Files: src/testdir/Makefile
2232
2233Patch 7.4.297
2234Problem: Memory leak from result of get_isolated_shell_name().
2235Solution: Free the memory. (Dominique Pelle)
2236Files: src/ex_cmds.c, src/misc1.c
2237
2238Patch 7.4.298
2239Problem: Can't have a funcref start with "t:".
2240Solution: Add "t" to the list of accepted names. (Yukihiro Nakadaira)
2241Files: src/eval.c
2242
2243Patch 7.4.299
2244Problem: When running configure twice DYNAMIC_PYTHON_DLL may become empty.
2245Solution: Use AC_CACHE_VAL. (Ken Takata)
2246Files: src/configure.in, src/auto/configure
2247
2248Patch 7.4.300
2249Problem: The way config.cache is removed doesn't always work.
2250Solution: Always remove config.cache. (Ken Takata)
2251Files: src/Makefile
2252
2253Patch 7.4.301 (after 7.4.280)
2254Problem: Still a scrolling problem when loading a session file.
2255Solution: Fix off-by-one mistake. (Nobuhiro Takasaki)
2256Files: src/window.c
2257
2258Patch 7.4.302
2259Problem: Signs placed with 'foldcolumn' set don't show up after filler
2260 lines.
2261Solution: Take filler lines into account. (Olaf Dabrunz)
2262Files: src/screen.c
2263
2264Patch 7.4.303
2265Problem: When using double-width characters the text displayed on the
2266 command line is sometimes truncated.
Bram Moolenaar09521312016-08-12 22:54:35 +02002267Solution: Reset the string length. (Nobuhiro Takasaki)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002268Files: src/screen.c
2269
2270Patch 7.4.304
2271Problem: Cannot always use Python with Vim.
2272Solution: Add the manifest to the executable. (Jacques Germishuys)
2273Files: src/Make_mvc.mak
2274
2275Patch 7.4.305
2276Problem: Making 'ttymouse' empty after the xterm version was requested
2277 causes problems. (Elijah Griffin)
2278Solution: Do not check for DEC mouse sequences when the xterm version was
2279 requested. Also don't request the xterm version when DEC mouse
2280 was enabled.
2281Files: src/term.c, src/os_unix.c, src/proto/term.pro, src/globals.h
2282
2283Patch 7.4.306
2284Problem: getchar(0) does not return Esc.
2285Solution: Do not wait for an Esc sequence to be complete. (Yasuhiro
2286 Matsumoto)
2287Files: src/eval.c, src/getchar.c
2288
2289Patch 7.4.307 (after 7.4.305)
2290Problem: Can't build without the +termresponse feature.
2291Solution: Add proper #ifdefs.
2292Files: src/os_unix.c, src/term.c
2293
2294Patch 7.4.308
2295Problem: When using ":diffsplit" on an empty file the cursor is displayed
2296 on the command line.
2297Solution: Limit the value of w_topfill.
2298Files: src/diff.c
2299
2300Patch 7.4.309
2301Problem: When increasing the size of the lower window, the upper window
2302 jumps back to the top. (Ron Aaron)
2303Solution: Change setting the topline. (Nobuhiro Takasaki)
2304Files: src/window.c
2305
2306Patch 7.4.310
2307Problem: getpos()/setpos() don't include curswant.
2308Solution: Add a fifth number when getting/setting the cursor.
2309Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok,
2310 runtime/doc/eval.txt
2311
2312Patch 7.4.311
2313Problem: Can't use winrestview to only restore part of the view.
2314Solution: Handle missing items in the dict. (Christian Brabandt)
2315Files: src/eval.c, runtime/doc/eval.txt
2316
2317Patch 7.4.312
2318Problem: Cannot figure out what argument list is being used for a window.
2319Solution: Add the arglistid() function. (Marcin Szamotulski)
2320Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
2321 src/ex_docmd.c, src/globals.h, src/structs.h, src/main.c
2322
2323Patch 7.4.313 (after 7.4.310)
2324Problem: Changing the return value of getpos() causes an error. (Jie Zhu)
2325Solution: Revert getpos() and add getcurpos().
2326Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok,
2327 runtime/doc/eval.txt
2328
2329Patch 7.4.314
2330Problem: Completion messages can get in the way of a plugin.
2331Solution: Add 'c' flag to 'shortmess' option. (Shougo Matsu)
2332Files: runtime/doc/options.txt, src/edit.c, src/option.h, src/screen.c
2333
2334Patch 7.4.315 (after 7.4.309)
2335Problem: Fixes for computation of topline not tested.
2336Solution: Add test. (Hirohito Higashi)
2337Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2338 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2339 src/testdir/Make_vms.mms, src/testdir/Makefile,
2340 src/testdir/test107.in, src/testdir/test107.ok
2341
2342Patch 7.4.316
2343Problem: Warning from 64-bit compiler.
2344Solution: Add type cast. (Mike Williams)
2345Files: src/ex_getln.c
2346
2347Patch 7.4.317
2348Problem: Crash when starting gvim. Issue 230.
2349Solution: Check for a pointer to be NULL. (Christian Brabandt)
2350Files: src/window.c
2351
2352Patch 7.4.318
2353Problem: Check for whether a highlight group has settings ignores fg and bg
2354 color settings.
2355Solution: Also check cterm and GUI color settings. (Christian Brabandt)
2356Files: src/syntax.c
2357
2358Patch 7.4.319
2359Problem: Crash when putting zero bytes on the clipboard.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002360Solution: Do not support the utf8_atom target when not using a Unicode
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002361 encoding. (Naofumi Honda)
2362Files: src/ui.c
2363
2364Patch 7.4.320
2365Problem: Possible crash when an BufLeave autocommand deletes the buffer.
2366Solution: Check for the window pointer being valid. Postpone freeing the
2367 window until autocommands are done. (Yasuhiro Matsumoto)
2368Files: src/buffer.c, src/fileio.c, src/globals.h, src/window.c
2369
2370Patch 7.4.321
2371Problem: Can't build with strawberry perl 5.20 + mingw-w64-4.9.0.
2372Solution: Define save_strlen. (Ken Takata)
2373Files: src/if_perl.xs
2374
2375Patch 7.4.322
2376Problem: Using "msgfmt" is hard coded, cannot use "gmsgfmt".
2377Solution: Use the msgfmt command found by configure. (Danek Duvall)
2378Files: src/config.mk.in, src/po/Makefile
2379
2380Patch 7.4.323
2381Problem: Substitute() with zero width pattern breaks multi-byte character.
2382Solution: Take multi-byte character size into account. (Yukihiro Nakadaira)
2383Files: src/eval.c src/testdir/test69.in, src/testdir/test69.ok
2384
2385Patch 7.4.324
2386Problem: In Ex mode, cyrillic characters are not handled. (Stas Malavin)
2387Solution: Support multi-byte characters in Ex mode. (Yukihiro Nakadaira)
2388Files: src/ex_getln.c
2389
2390Patch 7.4.325
2391Problem: When starting the gui and changing the window size the status line
2392 may not be drawn correctly.
2393Solution: Catch new_win_height() being called recursively. (Christian
2394 Brabandt)
2395Files: src/window.c
2396
2397Patch 7.4.326
2398Problem: Can't build Tiny version. (Elimar Riesebieter)
2399Solution: Add #ifdef.
2400Files: src/window.c
2401
2402Patch 7.4.327
2403Problem: When 'verbose' is set to display the return value of a function,
2404 may get E724 repeatedly.
2405Solution: Do not give an error for verbose messages. Abort conversion to
2406 string after an error.
2407Files: src/eval.c
2408
2409Patch 7.4.328
2410Problem: Selection of inner block is inconsistent.
2411Solution: Skip indent not only for '}' but all parens. (Tom McDonald)
2412Files: src/search.c
2413
2414Patch 7.4.329
2415Problem: When moving the cursor and then switching to another window the
2416 previous window isn't scrolled. (Yukihiro Nakadaira)
2417Solution: Call update_topline() before leaving the window. (Christian
2418 Brabandt)
2419Files: src/window.c
2420
2421Patch 7.4.330
2422Problem: Using a regexp pattern to highlight a specific position can be
2423 slow.
2424Solution: Add matchaddpos() to highlight specific positions efficiently.
2425 (Alexey Radkov)
2426Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt,
2427 runtime/plugin/matchparen.vim, src/eval.c, src/ex_docmd.c,
2428 src/proto/window.pro, src/screen.c, src/structs.h,
2429 src/testdir/test63.in, src/testdir/test63.ok, src/window.c
2430
2431Patch 7.4.331
2432Problem: Relative numbering not updated after a linewise yank. Issue 235.
2433Solution: Redraw after the yank. (Christian Brabandt)
2434Files: src/ops.c
2435
2436Patch 7.4.332
2437Problem: GTK: When a sign icon doesn't fit exactly there can be ugly gaps.
2438Solution: Scale the sign to fit when the aspect ratio is not too far off.
2439 (Christian Brabandt)
2440Files: src/gui_gtk_x11.c
2441
2442Patch 7.4.333
2443Problem: Compiler warning for unused function.
2444Solution: Put the function inside the #ifdef.
2445Files: src/screen.c
2446
2447Patch 7.4.334 (after 7.4.330)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002448Problem: Uninitialized variables, causing some problems.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002449Solution: Initialize the variables. (Dominique Pelle)
2450Files: src/screen.c, src/window.c
2451
2452Patch 7.4.335
2453Problem: No digraph for the new rouble sign.
2454Solution: Add the digraphs =R and =P.
2455Files: src/digraph.c, runtime/doc/digraph.txt
2456
2457Patch 7.4.336
2458Problem: Setting 'history' to a big value causes out-of-memory errors.
2459Solution: Limit the value to 10000. (Hirohito Higashi)
2460Files: runtime/doc/options.txt, src/option.c
2461
2462Patch 7.4.337
2463Problem: When there is an error preparing to edit the command line, the
2464 command won't be executed. (Hirohito Higashi)
2465Solution: Reset did_emsg before editing.
2466Files: src/ex_getln.c
2467
2468Patch 7.4.338
2469Problem: Cannot wrap lines taking indent into account.
2470Solution: Add the 'breakindent' option. (many authors, final improvements by
2471 Christian Brabandt)
2472Files: runtime/doc/eval.txt, runtime/doc/options.txt, runtime/optwin.vim,
2473 src/buffer.c, src/charset.c, src/edit.c, src/ex_getln.c,
2474 src/getchar.c, src/misc1.c, src/misc2.c, src/ops.c, src/option.c,
2475 src/option.h, src/proto/charset.pro, src/proto/misc1.pro,
2476 src/proto/option.pro, src/screen.c, src/structs.h,
2477 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2478 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2479 src/testdir/Make_vms.mms, src/testdir/Makefile,
2480 src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok,
2481 src/ui.c, src/version.c
2482
2483Patch 7.4.339
2484Problem: Local function is available globally.
2485Solution: Add "static".
2486Files: src/option.c, src/proto/option.pro
2487
2488Patch 7.4.340
2489Problem: Error from sed about illegal bytes when installing Vim.
2490Solution: Prepend LC_ALL=C. (Itchyny)
2491Files: src/installman.sh
2492
2493Patch 7.4.341
2494Problem: sort() doesn't handle numbers well.
2495Solution: Add an argument to specify sorting on numbers. (Christian Brabandt)
2496Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test55.in,
2497 src/testdir/test55.ok
2498
2499Patch 7.4.342
2500Problem: Clang gives warnings.
2501Solution: Add an else block. (Dominique Pelle)
2502Files: src/gui_beval.c
2503
2504Patch 7.4.343
2505Problem: matchdelete() does not always update the right lines.
2506Solution: Fix off-by-one error. (Ozaki Kiichi)
2507Files: src/window.c
2508
2509Patch 7.4.344
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002510Problem: Unnecessary initializations and other things related to
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002511 matchaddpos().
2512Solution: Code cleanup. (Alexey Radkov)
2513Files: runtime/doc/eval.txt, src/screen.c, src/window.c
2514
2515Patch 7.4.345 (after 7.4.338)
2516Problem: Indent is not updated when deleting indent.
2517Solution: Remember changedtick.
2518Files: src/misc1.c
2519
2520Patch 7.4.346 (after 7.4.338)
2521Problem: Indent is not updated when changing 'breakindentopt'. (itchyny)
2522Solution: Do not cache "brishift". (Christian Brabandt)
2523Files: src/misc1.c
2524
2525Patch 7.4.347
2526Problem: test55 fails on some systems.
2527Solution: Remove the elements that all result in zero and can end up in an
2528 arbitrary position.
2529Files: src/testdir/test55.in, src/testdir/test55.ok
2530
2531Patch 7.4.348
2532Problem: When using "J1" in 'cinoptions' a line below a continuation line
2533 gets too much indent.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002534Solution: Fix parentheses in condition.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002535Files: src/misc1.c
2536
2537Patch 7.4.349
2538Problem: When there are matches to highlight the whole window is redrawn,
2539 which is slow.
2540Solution: Only redraw everything when lines were inserted or deleted.
2541 Reset b_mod_xlines when needed. (Alexey Radkov)
2542Files: src/screen.c, src/window.c
2543
2544Patch 7.4.350
2545Problem: Using C indenting for Javascript does not work well for a {} block
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002546 inside parentheses.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002547Solution: When looking for a matching paren ignore one that is before the
2548 start of a {} block.
2549Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
2550
2551Patch 7.4.351
2552Problem: sort() is not stable.
2553Solution: When the items are identical, compare the pointers.
2554Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
2555
2556Patch 7.4.352
2557Problem: With 'linebreak' a tab causes a missing line break.
2558Solution: Count a tab for what it's worth also for shorter lines.
2559 (Christian Brabandt)
2560Files: src/charset.c
2561
2562Patch 7.4.353
2563Problem: 'linebreak' doesn't work with the 'list' option.
2564Solution: Make it work. (Christian Brabandt)
2565Files: runtime/doc/options.txt, src/charset.c, src/screen.c,
2566 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2567 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2568 src/testdir/Make_vms.mms, src/testdir/Makefile,
2569 src/testdir/test_listlbr.in, src/testdir/test_listlbr.ok
2570
2571Patch 7.4.354
2572Problem: Compiler warning.
2573Solution: Change NUL to NULL. (Ken Takata)
2574Files: src/screen.c
2575
2576Patch 7.4.355
2577Problem: Several problems with Javascript indenting.
2578Solution: Improve Javascript indenting.
2579Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
2580
2581Patch 7.4.356
2582Problem: Mercurial does not ignore memfile_test. (Daniel Hahler)
2583Solution: Add memfile_test to ignored files, remove trailing spaces.
2584Files: .hgignore
2585
2586Patch 7.4.357
2587Problem: After completion some characters are not redrawn.
2588Solution: Clear the command line unconditionally. (Jacob Niehus)
2589Files: src/edit.c
2590
2591Patch 7.4.358 (after 7.4.351)
2592Problem: Sort is not always stable.
2593Solution: Add an index instead of relying on the pointer to remain the same.
2594 Idea by Jun Takimoto.
2595Files: src/eval.c
2596
2597Patch 7.4.359
2598Problem: When 'ttymouse' is set to 'uxterm' the xterm version is not
2599 requested. (Tomas Janousek)
2600Solution: Do not mark uxterm as a conflict mouse and add
2601 resume_get_esc_sequence().
2602Files: src/term.c, src/os_unix.c, src/proto/term.pro
2603
2604Patch 7.4.360
2605Problem: In a regexp pattern a "$" followed by \v or \V is not seen as the
2606 end-of-line.
2607Solution: Handle the situation. (Ozaki Kiichi)
2608Files: src/regexp.c
2609
2610Patch 7.4.361
2611Problem: Lots of flickering when filling the preview window for 'omnifunc'.
2612Solution: Disable redrawing. (Hirohito Higashi)
2613Files: src/popupmnu.c
2614
2615Patch 7.4.362
2616Problem: When matchaddpos() uses a length smaller than the number of bytes
2617 in the (last) character the highlight continues until the end of
2618 the line.
2619Solution: Change condition from equal to larger-or-equal.
2620Files: src/screen.c
2621
2622Patch 7.4.363
2623Problem: In Windows console typing 0xCE does not work.
2624Solution: Convert 0xCE to K_NUL 3. (Nobuhiro Takasaki et al.)
2625Files: src/os_win32.c, src/term.c
2626
2627Patch 7.4.364
2628Problem: When the viminfo file can't be renamed there is no error message.
2629 (Vladimir Berezhnoy)
2630Solution: Check for the rename to fail.
2631Files: src/ex_cmds.c
2632
2633Patch 7.4.365
2634Problem: Crash when using ":botright split" when there isn't much space.
2635Solution: Add a check for the minimum width/height. (Yukihiro Nakadaira)
2636Files: src/window.c
2637
2638Patch 7.4.366
2639Problem: Can't run the linebreak test on MS-Windows.
2640Solution: Fix the output file name. (Taro Muraoka)
2641Files: src/testdir/Make_dos.mak
2642
2643Patch 7.4.367 (after 7.4.357)
2644Problem: Other solution for redrawing after completion.
2645Solution: Schedule a window redraw instead of just clearing the command
2646 line. (Jacob Niehus)
2647Files: src/edit.c
2648
2649Patch 7.4.368
2650Problem: Restoring the window sizes after closing the command line window
2651 doesn't work properly if there are nested splits.
2652Solution: Restore the sizes twice. (Hirohito Higashi)
2653Files: src/window.c
2654
2655Patch 7.4.369
2656Problem: Using freed memory when exiting while compiled with EXITFREE.
2657Solution: Set curwin to NULL and check for that. (Dominique Pelle)
2658Files: src/buffer.c, src/window.c
2659
2660Patch 7.4.370
2661Problem: Linebreak test fails when encoding is not utf-8. (Danek Duvall)
2662Solution: Split the test in a single byte one and a utf-8 one. (Christian
2663 Brabandt)
2664Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2665 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2666 src/testdir/Make_vms.mms, src/testdir/Makefile,
2667 src/testdir/test_listlbr.in, src/testdir/test_listlbr.ok,
2668 src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok
2669
2670Patch 7.4.371
2671Problem: When 'linebreak' is set control characters are not correctly
2672 displayed. (Kimmy Lindvall)
2673Solution: Set n_extra. (Christian Brabandt)
2674Files: src/screen.c
2675
2676Patch 7.4.372
2677Problem: When 'winminheight' is zero there might not be one line for the
2678 current window.
2679Solution: Change the size computations. (Yukihiro Nakadaira)
2680Files: src/window.c
2681
2682Patch 7.4.373
2683Problem: Compiler warning for unused argument and unused variable.
2684Solution: Add UNUSED. Move variable inside #ifdef.
2685Files: src/charset.c, src/window.c
2686
2687Patch 7.4.374
2688Problem: Character after "fb" command not mapped if it might be a composing
2689 character.
2690Solution: Don't disable mapping when looking for a composing character.
2691 (Jacob Niehus)
2692Files: src/normal.c
2693
2694Patch 7.4.375
2695Problem: Test 63 fails when run with GUI-only Vim.
2696Solution: Add guibg attributes. (suggested by Mike Soyka)
2697Files: src/testdir/test63.in
2698
2699Patch 7.4.376 (after 7.4.367)
2700Problem: Popup menu flickers too much.
2701Solution: Remove the forced redraw. (Hirohito Higashi)
2702Files: src/edit.c
2703
2704Patch 7.4.377
2705Problem: When 'equalalways' is set a split may report "no room" even though
2706 there is plenty of room.
2707Solution: Compute the available room properly. (Yukihiro Nakadaira)
2708Files: src/window.c
2709
2710Patch 7.4.378
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002711Problem: Title of quickfix list is not kept for setqflist(list, 'r').
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002712Solution: Keep the title. Add a test. (Lcd)
2713Files: src/quickfix.c, src/testdir/Make_amiga.mak,
2714 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
2715 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
2716 src/testdir/Makefile, src/testdir/test_qf_title.in,
2717 src/testdir/test_qf_title.ok
2718
2719Patch 7.4.379
2720Problem: Accessing freed memory after using setqflist(list, 'r'). (Lcd)
2721Solution: Reset qf_index.
2722Files: src/quickfix.c
2723
2724Patch 7.4.380
2725Problem: Loading python may cause Vim to exit.
2726Solution: Avoid loading the "site" module. (Taro Muraoka)
2727Files: src/if_python.c
2728
2729Patch 7.4.381
2730Problem: Get u_undo error when backspacing in Insert mode deletes more than
2731 one line break. (Ayberk Ozgur)
2732Solution: Also decrement Insstart.lnum.
2733Files: src/edit.c
2734
2735Patch 7.4.382
2736Problem: Mapping characters may not work after typing Esc in Insert mode.
2737Solution: Fix the noremap flags for inserted characters. (Jacob Niehus)
2738Files: src/getchar.c
2739
2740Patch 7.4.383
2741Problem: Bad interaction between preview window and omnifunc.
2742Solution: Avoid redrawing the status line. (Hirohito Higashi)
2743Files: src/popupmnu.c
2744
2745Patch 7.4.384
2746Problem: Test 102 fails when compiled with small features.
2747Solution: Source small.vim. (Jacob Niehus)
2748Files: src/testdir/test102.in
2749
2750Patch 7.4.385
2751Problem: When building with tiny or small features building the .mo files
2752 fails.
2753Solution: In autoconf do not setup for building the .mo files when it would
2754 fail.
2755Files: src/configure.in, src/auto/configure
2756
2757Patch 7.4.386
2758Problem: When splitting a window the changelist position is wrong.
2759Solution: Copy the changelist position. (Jacob Niehus)
2760Files: src/window.c, src/testdir/Make_amiga.mak,
2761 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
2762 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
2763 src/testdir/Makefile, src/testdir/test_changelist.in,
2764 src/testdir/test_changelist.ok
2765
2766Patch 7.4.387
2767Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica)
2768Solution: Write the ESC in the second stuff buffer.
2769Files: src/getchar.c, src/proto/getchar.pro, src/edit.c,
2770 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2771 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2772 src/testdir/Make_vms.mms, src/testdir/Makefile,
2773 src/testdir/test_insertcount.in, src/testdir/test_insertcount.ok
2774
2775Patch 7.4.388
2776Problem: With 'linebreak' set and 'list' unset a Tab is not counted
2777 properly. (Kent Sibilev)
2778Solution: Check the 'list' option. (Christian Brabandt)
2779Files: src/screen.c, src/testdir/test_listlbr_utf8.in,
2780 src/testdir/test_listlbr_utf8.ok
2781
2782Patch 7.4.389
2783Problem: Still sometimes Vim enters Replace mode when starting up.
2784Solution: Use a different solution in detecting the termresponse and
2785 location response. (Hayaki Saito)
2786Files: src/globals.h, src/os_unix.c, src/term.c, src/proto/term.pro
2787
2788Patch 7.4.390
2789Problem: Advancing pointer over end of a string.
2790Solution: Init quote character to -1 instead of zero. (Dominique Pelle)
2791Files: src/misc1.c
2792
2793Patch 7.4.391
2794Problem: No 'cursorline' highlighting when the cursor is on a line with
2795 diff highlighting. (Benjamin Fritz)
2796Solution: Combine the highlight attributes. (Christian Brabandt)
2797Files: src/screen.c
2798
2799Patch 7.4.392
2800Problem: Not easy to detect type of command line window.
2801Solution: Add the getcmdwintype() function. (Jacob Niehus)
2802Files: src/eval.c
2803
2804Patch 7.4.393
2805Problem: Text drawing on newer MS-Windows systems is suboptimal. Some
2806 multi-byte characters are not displayed, even though the same font
2807 in Notepad can display them. (Srinath Avadhanula)
Bram Moolenaardc1f1642016-08-16 18:33:43 +02002808Solution: Add the 'renderoptions' option to enable DirectX drawing. (Taro
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002809 Muraoka)
2810Files: runtime/doc/eval.txt, runtime/doc/options.txt,
2811 runtime/doc/various.txt, src/Make_cyg.mak, src/Make_ming.mak,
2812 src/Make_mvc.mak, src/eval.c, src/gui_dwrite.cpp,
2813 src/gui_dwrite.h, src/gui_w32.c, src/gui_w48.c, src/option.c,
2814 src/option.h, src/version.c, src/vim.h, src/proto/gui_w32.pro
2815
2816Patch 7.4.394 (after 7.4.393)
2817Problem: When using DirectX last italic character is incomplete.
2818Solution: Add one to the number of cells. (Ken Takata)
2819Files: src/gui_w32.c
2820
2821Patch 7.4.395 (after 7.4.355)
2822Problem: C indent is wrong below an if with wrapped condition followed by
2823 curly braces. (Trevor Powell)
2824Solution: Make a copy of tryposBrace.
2825Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
2826
2827Patch 7.4.396
2828Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful)
2829Solution: Only set the clipboard after the last delete. (Christian Brabandt)
2830Files: src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/globals.h,
2831 src/ops.c, src/proto/ui.pro, src/ui.c
2832
2833Patch 7.4.397
2834Problem: Matchparen only uses the topmost syntax item.
2835Solution: Go through the syntax stack to find items. (James McCoy)
2836 Also use getcurpos() when possible.
2837Files: runtime/plugin/matchparen.vim
2838
2839Patch 7.4.398 (after 7.4.393)
2840Problem: Gcc error for the argument of InterlockedIncrement() and
2841 InterlockedDecrement(). (Axel Bender)
2842Solution: Remove "unsigned" from the cRefCount_ declaration.
2843Files: src/gui_dwrite.cpp
2844
2845Patch 7.4.399
2846Problem: Encryption implementation is messy. Blowfish encryption has a
2847 weakness.
2848Solution: Refactor the encryption, store the state in an allocated struct
2849 instead of using a save/restore mechanism. Introduce the
2850 "blowfish2" method, which does not have the weakness and encrypts
2851 the whole undo file. (largely by David Leadbeater)
2852Files: runtime/doc/editing.txt, runtime/doc/options.txt, src/Makefile,
2853 src/blowfish.c, src/crypt.c, src/crypt_zip.c, src/ex_docmd.c,
2854 src/fileio.c, src/globals.h, src/main.c, src/memline.c,
2855 src/misc2.c, src/option.c, src/proto.h, src/proto/blowfish.pro,
2856 src/proto/crypt.pro, src/proto/crypt_zip.pro,
2857 src/proto/fileio.pro, src/proto/misc2.pro, src/structs.h,
2858 src/undo.c, src/testdir/test71.in, src/testdir/test71.ok,
2859 src/testdir/test71a.in, src/testdir/test72.in,
2860 src/testdir/test72.ok
2861
2862Patch 7.4.400
2863Problem: List of distributed files is incomplete.
2864Solution: Add recently added files.
2865Files: Filelist
2866
2867Patch 7.4.401 (after 7.4.399)
2868Problem: Can't build on MS-Windows.
2869Solution: Include the new files in all the Makefiles.
2870Files: src/Make_bc3.mak, src/Make_bc5.mak, src/Make_cyg.mak,
2871 src/Make_dice.mak, src/Make_djg.mak, src/Make_ivc.mak,
2872 src/Make_manx.mak, src/Make_ming.mak, src/Make_morph.mak,
2873 src/Make_mvc.mak, src/Make_os2.mak, src/Make_sas.mak,
2874 Make_vms.mms
2875
2876Patch 7.4.402
2877Problem: Test 72 crashes under certain conditions. (Kazunobu Kuriyama)
2878Solution: Clear the whole bufinfo_T early.
2879Files: src/undo.c
2880
2881Patch 7.4.403
2882Problem: Valgrind reports errors when running test 72. (Dominique Pelle)
2883Solution: Reset the local 'cryptmethod' option before storing the seed.
2884 Set the seed in the memfile even when there is no block0 yet.
2885Files: src/fileio.c, src/option.c, src/memline.c
2886
2887Patch 7.4.404
2888Problem: Windows 64 bit compiler warnings.
2889Solution: Add type casts. (Mike Williams)
2890Files: src/crypt.c, src/undo.c
2891
2892Patch 7.4.405
2893Problem: Screen updating is slow when using matches.
2894Solution: Do not use the ">=" as in patch 7.4.362, check the lnum.
2895Files: src/screen.c, src/testdir/test63.in, src/testdir/test63.ok
2896
2897Patch 7.4.406
2898Problem: Test 72 and 100 fail on MS-Windows.
2899Solution: Set fileformat to unix in the tests. (Taro Muraoka)
2900Files: src/testdir/test72.in, src/testdir/test100.in
2901
2902Patch 7.4.407
2903Problem: Inserting text for Visual block mode, with cursor movement,
2904 repeats the wrong text. (Aleksandar Ivanov)
2905Solution: Reset the update_Insstart_orig flag. (Christian Brabandt)
2906Files: src/edit.c, src/testdir/test39.in, src/testdir/test39.ok
2907
2908Patch 7.4.408
2909Problem: Visual block insert breaks a multi-byte character.
2910Solution: Calculate the position properly. (Yasuhiro Matsumoto)
2911Files: src/ops.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok,
2912 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2913 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2914 src/testdir/Make_vms.mms, src/testdir/Makefile
2915
2916Patch 7.4.409
2917Problem: Can't build with Perl on Fedora 20.
2918Solution: Find xsubpp in another directory. (Michael Henry)
2919Files: src/Makefile, src/config.mk.in, src/configure.in,
2920 src/auto/configure
2921
2922Patch 7.4.410
2923Problem: Fold does not open after search when there is a CmdwinLeave
2924 autocommand.
2925Solution: Restore KeyTyped. (Jacob Niehus)
2926Files: src/ex_getln.c
2927
2928Patch 7.4.411
2929Problem: "foo bar" sorts before "foo" with sort(). (John Little)
2930Solution: Avoid putting quotes around strings before comparing them.
2931Files: src/eval.c
2932
2933Patch 7.4.412
2934Problem: Can't build on Windows XP with MSVC.
2935Solution: Add SUBSYSTEM_VER to the Makefile. (Yongwei Wu)
2936Files: src/Make_mvc.mak, src/INSTALLpc.txt
2937
2938Patch 7.4.413
2939Problem: MS-Windows: Using US international keyboard layout, inserting dead
2940 key by pressing space does not always work. Issue 250.
2941Solution: Let MS-Windows translate the message. (John Wellesz)
2942Files: src/gui_w48.c
2943
2944Patch 7.4.414
2945Problem: Cannot define a command only when it's used.
2946Solution: Add the CmdUndefined autocommand event. (partly by Yasuhiro
2947 Matsumoto)
2948Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/fileio.c,
2949 src/proto/fileio.pro
2950
2951Patch 7.4.415 (after 7.4.414)
2952Problem: Cannot build. Warning for shadowed variable. (John Little)
2953Solution: Add missing change. Remove declaration.
2954Files: src/vim.h, src/ex_docmd.c
2955
2956Patch 7.4.416
2957Problem: Problem with breakindent/showbreak and tabs.
2958Solution: Handle tabs differently. (Christian Brabandt)
2959Files: src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok,
2960 src/charset.c
2961
2962Patch 7.4.417
2963Problem: After splitting a window and setting 'breakindent' the default
2964 minimum with is not respected.
2965Solution: Call briopt_check() when copying options to a new window.
2966Files: src/option.c, src/proto/option.pro,
2967 src/testdir/test_breakindent.in
2968
2969Patch 7.4.418
2970Problem: When leaving ":append" the cursor shape is like in Insert mode.
2971 (Jacob Niehus)
2972Solution: Do not have State set to INSERT when calling getline().
2973Files: src/ex_cmds.c
2974
2975Patch 7.4.419
2976Problem: When part of a list is locked it's possible to make changes.
2977Solution: Check if any of the list items is locked before make a change.
2978 (ZyX)
2979Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
2980
2981Patch 7.4.420
2982Problem: It's not obvious how to add a new test.
2983Solution: Add a README file. (Christian Brabandt)
2984Files: src/testdir/README.txt
2985
2986Patch 7.4.421
2987Problem: Crash when searching for "\ze*". (Urtica Dioica)
2988Solution: Disallow a multi after \ze and \zs.
2989Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
2990
2991Patch 7.4.422
2992Problem: When using conceal with linebreak some text is not displayed
2993 correctly. (Grüner Gimpel)
2994Solution: Check for conceal mode when using linebreak. (Christian Brabandt)
2995Files: src/screen.c, src/testdir/test_listlbr.in,
2996 src/testdir/test_listlbr.ok
2997
2998Patch 7.4.423
2999Problem: expand("$shell") does not work as documented.
3000Solution: Do not escape the $ when expanding environment variables.
3001Files: src/os_unix.c, src/misc1.c, src/vim.h
3002
3003Patch 7.4.424
3004Problem: Get ml_get error when using Python to delete lines in a buffer
3005 that is not in a window. issue 248.
3006Solution: Do not try adjusting the cursor for a different buffer.
3007Files: src/if_py_both.h
3008
3009Patch 7.4.425
3010Problem: When 'showbreak' is used "gj" may move to the wrong position.
3011 (Nazri Ramliy)
3012Solution: Adjust virtcol when 'showbreak' is set. (Christian Brabandt)
3013Files: src/normal.c
3014
3015Patch 7.4.426
3016Problem: README File missing from list of files.
3017Solution: Update the list of files.
3018Files: Filelist
3019
3020Patch 7.4.427
3021Problem: When an InsertCharPre autocommand executes system() typeahead may
3022 be echoed and messes up the display. (Jacob Niehus)
3023Solution: Do not set cooked mode when invoked from ":silent".
3024Files: src/eval.c, runtime/doc/eval.txt
3025
3026Patch 7.4.428
3027Problem: executable() may return a wrong result on MS-Windows.
3028Solution: Change the way SearchPath() is called. (Yasuhiro Matsumoto, Ken
3029 Takata)
3030Files: src/os_win32.c
3031
3032Patch 7.4.429
3033Problem: Build fails with fewer features. (Elimar Riesebieter)
3034Solution: Add #ifdef.
3035Files: src/normal.c
3036
3037Patch 7.4.430
3038Problem: test_listlbr fails when compiled with normal features.
3039Solution: Check for the +conceal feature.
3040Files: src/testdir/test_listlbr.in
3041
3042Patch 7.4.431
3043Problem: Compiler warning.
3044Solution: Add type cast. (Mike Williams)
3045Files: src/ex_docmd.c
3046
3047Patch 7.4.432
3048Problem: When the startup code expands command line arguments, setting
3049 'encoding' will not properly convert the arguments.
3050Solution: Call get_cmd_argsW() early in main(). (Yasuhiro Matsumoto)
3051Files: src/os_win32.c, src/main.c, src/os_mswin.c
3052
3053Patch 7.4.433
3054Problem: Test 75 fails on MS-Windows.
3055Solution: Use ":normal" instead of feedkeys(). (Michael Soyka)
3056Files: src/testdir/test75.in
3057
3058Patch 7.4.434
3059Problem: gettabvar() is not consistent with getwinvar() and getbufvar().
3060Solution: Return a dict with all variables when the varname is empty.
3061 (Yasuhiro Matsumoto)
3062Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test91.in,
3063 src/testdir/test91.ok
3064
3065Patch 7.4.435
3066Problem: Line formatting behaves differently when 'linebreak' is set.
3067 (mvxxc)
3068Solution: Disable 'linebreak' temporarily. (Christian Brabandt)
3069Files: src/edit.c
3070
3071Patch 7.4.436
3072Problem: ml_get error for autocommand that moves the cursor of the current
3073 window.
3074Solution: Check the cursor position after switching back to the current
3075 buffer. (Christian Brabandt)
3076Files: src/fileio.c
3077
3078Patch 7.4.437
3079Problem: New and old regexp engine are not consistent.
3080Solution: Also give an error for "\ze*" for the old regexp engine.
3081Files: src/regexp.c, src/regexp_nfa.c
3082
3083Patch 7.4.438
3084Problem: Cached values for 'cino' not reset for ":set all&".
3085Solution: Call parse_cino(). (Yukihiro Nakadaira)
3086Files: src/option.c
3087
3088Patch 7.4.439
3089Problem: Duplicate message in message history. Some quickfix messages
3090 appear twice. (Gary Johnson)
3091Solution: Do not reset keep_msg too early. (Hirohito Higashi)
3092Files: src/main.c
3093
3094Patch 7.4.440
3095Problem: Omni complete popup drawn incorrectly.
3096Solution: Call validate_cursor() instead of check_cursor(). (Hirohito
3097 Higashi)
3098Files: src/edit.c
3099
3100Patch 7.4.441
3101Problem: Endless loop and other problems when 'cedit' is set to CTRL-C.
3102Solution: Do not call ex_window() when ex_normal_busy or got_int was set.
3103 (Yasuhiro Matsumoto)
3104Files: src/ex_getln.c
3105
3106Patch 7.4.442 (after 7.4.434)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003107Problem: Using uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003108Solution: Pass the first window of the tabpage.
3109Files: src/eval.c
3110
3111Patch 7.4.443
3112Problem: Error reported by ubsan when running test 72.
3113Solution: Add type cast to unsigned. (Dominique Pelle)
3114Files: src/undo.c
3115
3116Patch 7.4.444
3117Problem: Reversed question mark not recognized as punctuation. (Issue 258)
3118Solution: Add the Supplemental Punctuation range.
3119Files: src/mbyte.c
3120
3121Patch 7.4.445
3122Problem: Clipboard may be cleared on startup.
3123Solution: Set clip_did_set_selection to -1 during startup. (Christian
3124 Brabandt)
3125Files: src/main.c, src/ui.c
3126
3127Patch 7.4.446
3128Problem: In some situations, when setting up an environment to trigger an
3129 autocommand, the environment is not properly restored.
3130Solution: Check the return value of switch_win() and call restore_win()
3131 always. (Daniel Hahler)
3132Files: src/eval.c, src/misc2.c, src/window.c
3133
3134Patch 7.4.447
3135Problem: Spell files from Hunspell may generate a lot of errors.
3136Solution: Add the IGNOREEXTRA flag.
3137Files: src/spell.c, runtime/doc/spell.txt
3138
3139Patch 7.4.448
3140Problem: Using ETO_IGNORELANGUAGE causes problems.
3141Solution: Remove this flag. (Paul Moore)
3142Files: src/gui_w32.c
3143
3144Patch 7.4.449
3145Problem: Can't easily close the help window. (Chris Gaal)
3146Solution: Add ":helpclose". (Christian Brabandt)
3147Files: runtime/doc/helphelp.txt, runtime/doc/index.txt, src/ex_cmds.c,
3148 src/ex_cmds.h, src/proto/ex_cmds.pro
3149
3150Patch 7.4.450
3151Problem: Not all commands that edit another buffer support the +cmd
3152 argument.
3153Solution: Add the +cmd argument to relevant commands. (Marcin Szamotulski)
3154Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_docmd.c
3155
3156Patch 7.4.451
3157Problem: Calling system() with empty input gives an error for writing the
3158 temp file.
3159Solution: Do not try writing if the string length is zero. (Olaf Dabrunz)
3160Files: src/eval.c
3161
3162Patch 7.4.452
3163Problem: Can't build with tiny features. (Tony Mechelynck)
3164Solution: Use "return" instead of "break".
3165Files: src/ex_cmds.c
3166
3167Patch 7.4.453
3168Problem: Still can't build with tiny features.
3169Solution: Add #ifdef.
3170Files: src/ex_cmds.c
3171
3172Patch 7.4.454
3173Problem: When using a Visual selection of multiple words and doing CTRL-W_]
3174 it jumps to the tag matching the word under the cursor, not the
3175 selected text. (Patrick hemmer)
3176Solution: Do not reset Visual mode. (idea by Christian Brabandt)
3177Files: src/window.c
3178
3179Patch 7.4.455
3180Problem: Completion for :buf does not use 'wildignorecase'. (Akshay H)
3181Solution: Pass the 'wildignorecase' flag around.
3182Files: src/buffer.c
3183
3184Patch 7.4.456
3185Problem: 'backupcopy' is global, cannot write only some files in a
3186 different way.
3187Solution: Make 'backupcopy' global-local. (Christian Brabandt)
3188Files: runtime/doc/options.txt, src/buffer.c, src/fileio.c, src/option.c,
3189 src/option.h, src/proto/option.pro, src/structs.h
3190
3191Patch 7.4.457
3192Problem: Using getchar() in an expression mapping may result in
3193 K_CURSORHOLD, which can't be recognized.
3194Solution: Add the <CursorHold> key. (Hirohito Higashi)
3195Files: src/misc2.c
3196
3197Patch 7.4.458
3198Problem: Issue 252: Cursor moves in a zero-height window.
3199Solution: Check for zero height. (idea by Christian Brabandt)
3200Files: src/move.c
3201
3202Patch 7.4.459
3203Problem: Can't change the icon after building Vim.
3204Solution: Load the icon from a file on startup. (Yasuhiro Matsumoto)
3205Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c,
3206 src/proto/os_mswin.pro
3207
3208Patch 7.4.460 (after 7.4.454)
3209Problem: Can't build without the quickfix feature. (Erik Falor)
3210Solution: Add a #ifdef.
3211Files: src/window.c
3212
3213Patch 7.4.461
3214Problem: MS-Windows: When collate is on the number of copies is too high.
3215Solution: Only set the collated/uncollated count when collate is on.
3216 (Yasuhiro Matsumoto)
3217Files: src/os_mswin.c
3218
3219Patch 7.4.462
3220Problem: Setting the local value of 'backupcopy' empty gives an error.
3221 (Peter Mattern)
3222Solution: When using an empty value set the flags to zero. (Hirohito
3223 Higashi)
3224Files: src/option.c
3225
3226Patch 7.4.463
3227Problem: Test 86 and 87 may hang on MS-Windows.
3228Solution: Call inputrestore() after inputsave(). (Ken Takata)
3229Files: src/testdir/test86.in, src/testdir/test87.in
3230
3231Patch 7.4.464 (after 7.4.459)
3232Problem: Compiler warning.
3233Solution: Add type cast. (Ken Takata)
3234Files: src/gui_w32.c
3235
3236Patch 7.4.465 (after 7.4.016)
3237Problem: Crash when expanding a very long string.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003238Solution: Use wcsncpy() instead of wcscpy(). (Ken Takata)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003239Files: src/os_win32.c
3240
3241Patch 7.4.466 (after 7.4.460)
3242Problem: CTRL-W } does not open preview window. (Erik Falor)
3243Solution: Don't set g_do_tagpreview for CTRL-W }.
3244Files: src/window.c
3245
3246Patch 7.4.467
3247Problem: 'linebreak' does not work well together with Visual mode.
3248Solution: Disable 'linebreak' while applying an operator. Fix the test.
3249 (Christian Brabandt)
3250Files: src/normal.c, src/screen.c, src/testdir/test_listlbr.in,
3251 src/testdir/test_listlbr.ok
3252
3253Patch 7.4.468
3254Problem: Issue 26: CTRL-C does not interrupt after it was mapped and then
3255 unmapped.
3256Solution: Reset mapped_ctrl_c. (Christian Brabandt)
3257Files: src/getchar.c
3258
3259Patch 7.4.469 (after 7.4.467)
3260Problem: Can't build with MSVC. (Ken Takata)
3261Solution: Move the assignment after the declarations.
3262Files: src/normal.c
3263
3264Patch 7.4.470
3265Problem: Test 11 and 100 do not work properly on Windows.
3266Solution: Avoid using feedkeys(). (Ken Takata)
3267Files: src/testdir/Make_dos.mak, src/testdir/test11.in,
3268 src/testdir/test100.in
3269
3270Patch 7.4.471
3271Problem: MS-Windows: When printer name contains multi-byte, the name is
3272 displayed as ???.
3273Solution: Convert the printer name from the active codepage to 'encoding'.
3274 (Yasuhiro Matsumoto)
3275Files: src/os_mswin.c
3276
3277Patch 7.4.472
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003278Problem: The "precedes" entry in 'listchar' will be drawn when 'showbreak'
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003279 is set and 'list' is not.
3280Solution: Only draw this character when 'list' is on. (Christian Brabandt)
3281Files: src/screen.c
3282
3283Patch 7.4.473
3284Problem: Cursor movement is incorrect when there is a number/sign/fold
3285 column and 'sbr' is displayed.
3286Solution: Adjust the column for 'sbr'. (Christian Brabandt)
3287Files: src/charset.c
3288
3289Patch 7.4.474
3290Problem: AIX compiler can't handle // comment. Issue 265.
3291Solution: Remove that line.
3292Files: src/regexp_nfa.c
3293
3294Patch 7.4.475
3295Problem: Can't compile on a system where Xutf8SetWMProperties() is not in
3296 the X11 library. Issue 265.
3297Solution: Add a configure check.
3298Files: src/configure.in, src/auto/configure, src/config.h.in,
3299 src/os_unix.c
3300
3301Patch 7.4.476
3302Problem: MingW: compiling with "XPM=no" doesn't work.
3303Solution: Check for the "no" value. (KF Leong) Also for Cygwin. (Ken
3304 Takata)
3305Files: src/Make_ming.mak, src/Make_cyg.mak
3306
3307Patch 7.4.477
3308Problem: When using ":%diffput" and the other file is empty an extra empty
3309 line remains.
3310Solution: Set the buf_empty flag.
3311Files: src/diff.c
3312
3313Patch 7.4.478
3314Problem: Using byte length instead of character length for 'showbreak'.
3315Solution: Compute the character length. (Marco Hinz)
3316Files: src/charset.c
3317
3318Patch 7.4.479
3319Problem: MS-Windows: The console title can be wrong.
3320Solution: Take the encoding into account. When restoring the title use the
3321 right function. (Yasuhiro Matsumoto)
3322Files: src/os_mswin.c, src/os_win32.c
3323
3324Patch 7.4.480 (after 7.4.479)
3325Problem: MS-Windows: Can't build.
3326Solution: Remove goto, use a flag instead.
3327Files: src/os_win32.c
3328
3329Patch 7.4.481 (after 7.4.471)
3330Problem: Compiler warning on MS-Windows.
3331Solution: Add type casts. (Ken Takata)
3332Files: src/os_mswin.c
3333
3334Patch 7.4.482
3335Problem: When 'balloonexpr' results in a list, the text has a trailing
3336 newline. (Lcd)
3337Solution: Remove one trailing newline.
3338Files: src/gui_beval.c
3339
3340Patch 7.4.483
3341Problem: A 0x80 byte is not handled correctly in abbreviations.
3342Solution: Unescape special characters. Add a test. (Christian Brabandt)
3343Files: src/getchar.c, src/testdir/Make_amiga.mak,
3344 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3345 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3346 src/testdir/Makefile, src/testdir/test_mapping.in,
3347 src/testdir/test_mapping.ok
3348
3349Patch 7.4.484 (after 7.4.483)
3350Problem: Compiler warning on MS-Windows. (Ken Takata)
3351Solution: Add type cast.
3352Files: src/getchar.c
3353
3354Patch 7.4.485 (after 7.4.484)
3355Problem: Abbreviations don't work. (Toothpik)
3356Solution: Move the length computation inside the for loop. Compare against
3357 the unescaped key.
3358Files: src/getchar.c
3359
3360Patch 7.4.486
3361Problem: Check for writing to a yank register is wrong.
3362Solution: Negate the check. (Zyx). Also clean up the #ifdefs.
3363Files: src/ex_docmd.c, src/ex_cmds.h
3364
3365Patch 7.4.487
3366Problem: ":sign jump" may use another window even though the file is
3367 already edited in the current window.
3368Solution: First check if the file is in the current window. (James McCoy)
3369Files: src/window.c, src/testdir/Make_amiga.mak,
3370 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3371 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3372 src/testdir/Makefile, src/testdir/test_signs.in,
3373 src/testdir/test_signs.ok
3374
3375Patch 7.4.488
3376Problem: test_mapping fails for some people.
3377Solution: Set the 'encoding' option. (Ken Takata)
3378Files: src/testdir/test_mapping.in
3379
3380Patch 7.4.489
3381Problem: Cursor movement still wrong when 'lbr' is set and there is a
3382 number column. (Hirohito Higashi)
3383Solution: Add correction for number column. (Hiroyuki Takagi)
3384Files: src/charset.c
3385
3386Patch 7.4.490
3387Problem: Cannot specify the buffer to use for "do" and "dp", making them
3388 useless for three-way diff.
3389Solution: Use the count as the buffer number. (James McCoy)
3390Files: runtime/doc/diff.txt, src/diff.c, src/normal.c, src/proto/diff.pro
3391
3392Patch 7.4.491
3393Problem: When winrestview() has a negative "topline" value there are
3394 display errors.
3395Solution: Correct a negative value to 1. (Hirohito Higashi)
3396Files: src/eval.c
3397
3398Patch 7.4.492
3399Problem: In Insert mode, after inserting a newline that inserts a comment
3400 leader, CTRL-O moves to the right. (ZyX) Issue 57.
3401Solution: Correct the condition for moving the cursor back to the NUL.
3402 (Christian Brabandt)
3403Files: src/edit.c, src/testdir/test4.in, src/testdir/test4.ok
3404
3405Patch 7.4.493
3406Problem: A TextChanged autocommand is triggered when saving a file.
3407 (William Gardner)
3408Solution: Update last_changedtick after calling unchanged(). (Christian
3409 Brabandt)
3410Files: src/fileio.c
3411
3412Patch 7.4.494
3413Problem: Cursor shape is wrong after a CompleteDone autocommand.
3414Solution: Update the cursor and mouse shape after ":normal" restores the
3415 state. (Jacob Niehus)
3416Files: src/ex_docmd.c
3417
3418Patch 7.4.495
3419Problem: XPM isn't used correctly in the Cygwin Makefile.
3420Solution: Include the rules like in Make_ming.mak. (Ken Takata)
3421Files: src/Make_cyg.mak
3422
3423Patch 7.4.496
3424Problem: Many lines are both in Make_cyg.mak and Make_ming.mak
3425Solution: Move the common parts to one file. (Ken Takata)
3426Files: src/INSTALLpc.txt, src/Make_cyg.mak, src/Make_cyg_ming.mak,
3427 src/Make_ming.mak, src/Make_mvc.mak, Filelist
3428
3429Patch 7.4.497
3430Problem: With some regexp patterns the NFA engine uses many states and
3431 becomes very slow. To the user it looks like Vim freezes.
3432Solution: When the number of states reaches a limit fall back to the old
3433 engine. (Christian Brabandt)
3434Files: runtime/doc/options.txt, src/Makefile, src/regexp.c, src/regexp.h,
3435 src/regexp_nfa.c, src/testdir/Make_dos.mak,
3436 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
3437 src/testdir/Makefile, src/testdir/samples/re.freeze.txt,
3438 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
3439 Filelist
3440
3441Patch 7.4.498 (after 7.4.497)
3442Problem: Typo in DOS makefile.
3443Solution: Change exists to exist. (Ken Takata)
Bram Moolenaar214641f2017-03-05 17:04:09 +01003444Files: src/testdir/Make_dos.mak
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003445
3446Patch 7.4.499
3447Problem: substitute() can be slow with long strings.
3448Solution: Store a pointer to the end, instead of calling strlen() every
3449 time. (Ozaki Kiichi)
3450Files: src/eval.c
3451
3452Patch 7.4.500
3453Problem: Test 72 still fails once in a while.
3454Solution: Don't set 'fileformat' to unix, reset it. (Ken Takata)
3455Files: src/testdir/test72.in
3456
3457Patch 7.4.501 (after 7.4.497)
3458Problem: Typo in file pattern.
3459Solution: Insert a slash and remove a dot.
3460Files: Filelist
3461
3462Patch 7.4.502
3463Problem: Language mapping also applies to mapped characters.
3464Solution: Add the 'langnoremap' option, when on 'langmap' does not apply to
3465 mapped characters. (Christian Brabandt)
3466Files: runtime/doc/options.txt, runtime/vimrc_example.vim, src/macros.h,
3467 src/option.c, src/option.h
3468
3469Patch 7.4.503
3470Problem: Cannot append a list of lines to a file.
3471Solution: Add the append option to writefile(). (Yasuhiro Matsumoto)
3472Files: runtime/doc/eval.txt, src/Makefile, src/eval.c,
3473 src/testdir/test_writefile.in, src/testdir/test_writefile.ok
3474
3475Patch 7.4.504
3476Problem: Restriction of the MS-Windows installer that the path must end in
3477 "Vim" prevents installing more than one version.
3478Solution: Remove the restriction. (Tim Lebedkov)
3479Files: nsis/gvim.nsi
3480
3481Patch 7.4.505
3482Problem: On MS-Windows when 'encoding' is a double-byte encoding a file
3483 name longer than MAX_PATH bytes but shorter than that in
3484 characters causes problems.
3485Solution: Fail on file names longer than MAX_PATH bytes. (Ken Takata)
3486Files: src/os_win32.c
3487
3488Patch 7.4.506
3489Problem: MS-Windows: Cannot open a file with 259 characters.
3490Solution: Fix off-by-one error. (Ken Takata)
3491Files: src/os_mswin.c
3492
3493Patch 7.4.507 (after 7.4.496)
3494Problem: Building with MingW and Perl.
3495Solution: Remove quotes. (Ken Takata)
3496Files: src/Make_cyg_ming.mak
3497
3498Patch 7.4.508
3499Problem: When generating ja.sjis.po the header is not correctly adjusted.
3500Solution: Check for the right header string. (Ken Takata)
3501Files: src/po/sjiscorr.c
3502
3503Patch 7.4.509
3504Problem: Users are not aware their encryption is weak.
3505Solution: Give a warning when prompting for the key.
3506Files: src/crypt.c, src/ex_docmd.c, src/fileio.c, src/main.c,
3507 src/proto/crypt.pro
3508
3509Patch 7.4.510
3510Problem: "-fwrapv" argument breaks use of cproto.
3511Solution: Remove the alphabetic arguments in a drastic way.
3512Files: src/Makefile
3513
3514Patch 7.4.511
3515Problem: Generating proto for if_ruby.c uses type not defined elsewhere.
3516Solution: Do not generate a prototype for
3517 rb_gc_writebarrier_unprotect_promoted()
3518Files: src/if_ruby.c
3519
3520Patch 7.4.512
3521Problem: Cannot generate prototypes for Win32 files and VMS.
3522Solution: Add typedefs and #ifdef
3523Files: src/os_win32.c, src/gui_w32.c, src/os_vms.c
3524
3525Patch 7.4.513
3526Problem: Crash because reference count is wrong for list returned by
3527 getreg().
3528Solution: Increment the reference count. (Kimmy Lindvall)
3529Files: src/eval.c
3530
3531Patch 7.4.514 (after 7.4.492)
3532Problem: Memory access error. (Dominique Pelle)
3533Solution: Update tpos. (Christian Brabandt)
3534Files: src/edit.c
3535
3536Patch 7.4.515
3537Problem: In a help buffer the global 'foldmethod' is used. (Paul Marshall)
3538Solution: Reset 'foldmethod' when starting to edit a help file. Move the
3539 code to a separate function.
3540Files: src/ex_cmds.c
3541
3542Patch 7.4.516
3543Problem: Completing a function name containing a # does not work. Issue
3544 253.
3545Solution: Recognize the # character. (Christian Brabandt)
3546Files: src/eval.c
3547
3548Patch 7.4.517
3549Problem: With a wrapping line the cursor may not end up in the right place.
3550 (Nazri Ramliy)
3551Solution: Adjust n_extra for a Tab that wraps. (Christian Brabandt)
3552Files: src/screen.c
3553
3554Patch 7.4.518
3555Problem: Using status line height in width computations.
3556Solution: Use one instead. (Hirohito Higashi)
3557Files: src/window.c
3558
3559Patch 7.4.519 (after 7.4.497)
3560Problem: Crash when using syntax highlighting.
3561Solution: When regprog is freed and replaced, store the result.
3562Files: src/buffer.c, src/regexp.c, src/syntax.c, src/spell.c,
3563 src/ex_cmds2.c, src/fileio.c, src/proto/fileio.pro,
3564 src/proto/regexp.pro, src/os_unix.c
3565
3566Patch 7.4.520
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003567Problem: Sun PCK locale is not recognized.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003568Solution: Add PCK in the table. (Keiichi Oono)
3569Files: src/mbyte.c
3570
3571Patch 7.4.521
3572Problem: When using "vep" a mark is moved to the next line. (Maxi Padulo,
3573 Issue 283)
3574Solution: Decrement the line number. (Christian Brabandt)
3575Files: src/ops.c
3576
3577Patch 7.4.522
3578Problem: Specifying wrong buffer size for GetLongPathName().
3579Solution: Use the actual size. (Ken Takata)
3580Files: src/eval.c
3581
3582Patch 7.4.523
3583Problem: When the X11 server is stopped and restarted, while Vim is kept in
3584 the background, copy/paste no longer works. (Issue 203)
3585Solution: Setup the clipboard again. (Christian Brabandt)
3586Files: src/os_unix.c
3587
3588Patch 7.4.524
3589Problem: When using ":ownsyntax" spell checking is messed up. (Issue 78)
3590Solution: Use the window-local option values. (Christian Brabandt)
3591Files: src/option.c, src/syntax.c
3592
3593Patch 7.4.525
3594Problem: map() leaks memory when there is an error in the expression.
3595Solution: Call clear_tv(). (Christian Brabandt)
3596Files: src/eval.c
3597
3598Patch 7.4.526
3599Problem: matchstr() fails on long text. (Daniel Hahler)
3600Solution: Return NFA_TOO_EXPENSIVE from regexec_nl(). (Christian Brabandt)
3601Files: src/regexp.c
3602
3603Patch 7.4.527
3604Problem: Still confusing regexp failure and NFA_TOO_EXPENSIVE.
3605Solution: NFA changes equivalent of 7.4.526.
3606Files: src/regexp_nfa.c
3607
3608Patch 7.4.528
3609Problem: Crash when using matchadd() (Yasuhiro Matsumoto)
3610Solution: Copy the match regprog.
3611Files: src/screen.c
3612
3613Patch 7.4.529
3614Problem: No test for what 7.4.517 fixes.
3615Solution: Adjust the tests for breakindent. (Christian Brabandt)
3616Files: src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok
3617
3618Patch 7.4.530
3619Problem: Many commands take a count or range that is not using line
3620 numbers.
3621Solution: For each command specify what kind of count it uses. For windows,
3622 buffers and arguments have "$" and "." have a relevant meaning.
3623 (Marcin Szamotulski)
3624Files: runtime/doc/editing.txt, runtime/doc/tabpage.txt,
3625 runtime/doc/windows.txt, src/Makefile, src/ex_cmds.h,
3626 src/ex_docmd.c, src/testdir/Make_amiga.mak
3627 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3628 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3629 src/testdir/Makefile, src/testdir/test_argument_count.in,
3630 src/testdir/test_argument_count.ok,
3631 src/testdir/test_close_count.in, src/testdir/test_close_count.ok,
3632 src/window.c
3633
3634Patch 7.4.531
3635Problem: Comments about parsing an Ex command are wrong.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003636Solution: Correct the step numbers.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003637Files: src/ex_docmd.c
3638
3639Patch 7.4.532
3640Problem: When using 'incsearch' "2/pattern/e" highlights the first match.
3641Solution: Move the code to set extra_col inside the loop for count. (Ozaki
3642 Kiichi)
3643Files: src/search.c
3644
3645Patch 7.4.533
3646Problem: ":hardcopy" leaks memory in case of errors.
3647Solution: Free memory in all code paths. (Christian Brabandt)
3648Files: src/hardcopy.c
3649
3650Patch 7.4.534
3651Problem: Warnings when compiling if_ruby.c.
3652Solution: Avoid the warnings. (Ken Takata)
3653Files: src/if_ruby.c
3654
3655Patch 7.4.535 (after 7.4.530)
3656Problem: Can't build with tiny features.
3657Solution: Add #ifdefs and skip a test.
3658Files: src/ex_docmd.c, src/testdir/test_argument_count.in
3659
3660Patch 7.4.536
3661Problem: Test 63 fails when using a black&white terminal.
3662Solution: Add attributes for a non-color terminal. (Christian Brabandt)
3663Files: src/testdir/test63.in
3664
3665Patch 7.4.537
3666Problem: Value of v:hlsearch reflects an internal variable.
3667Solution: Make the value reflect whether search highlighting is actually
3668 displayed. (Christian Brabandt)
3669Files: runtime/doc/eval.txt, src/testdir/test101.in,
3670 src/testdir/test101.ok, src/vim.h
3671
3672Patch 7.4.538
3673Problem: Tests fail with small features plus Python.
3674Solution: Disallow weird combination of options. Do not set "fdm" when
3675 folding is disabled.
3676Files: src/option.c, src/ex_cmds.c, src/configure.in, src/auto/configure,
3677 src/feature.h
3678
3679Patch 7.4.539 (after 7.4.530)
3680Problem: Crash when computing buffer count. Problem with range for user
3681 commands. Line range wrong in Visual area.
3682Solution: Avoid segfault in compute_buffer_local_count(). Check for
3683 CMD_USER when checking type of range. (Marcin Szamotulski)
3684Files: runtime/doc/windows.txt, src/ex_docmd.c
3685
3686Patch 7.4.540 (after 7.4.539)
3687Problem: Cannot build with tiny and small features. (Taro Muraoka)
3688Solution: Add #ifdef around CMD_USER.
3689Files: src/ex_docmd.c
3690
3691Patch 7.4.541
3692Problem: Crash when doing a range assign.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003693Solution: Check for NULL pointer. (Yukihiro Nakadaira)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003694Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
3695
3696Patch 7.4.542
3697Problem: Using a range for window and buffer commands has a few problems.
3698 Cannot specify the type of range for a user command.
3699Solution: Add the -addr argument for user commands. Fix problems. (Marcin
3700 Szamotulski)
3701Files: src/testdir/test_command_count.in,
3702 src/testdir/test_command_count.ok src/testdir/Make_amiga.mak
3703 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3704 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3705 src/testdir/Makefile, runtime/doc/map.txt, src/Makefile,
3706 src/ex_cmds.h, src/ex_docmd.c, src/ex_getln.c,
3707 src/proto/ex_docmd.pro, src/vim.h,
3708
3709Patch 7.4.543
3710Problem: Since patch 7.4.232 "1,3s/\n//" joins two lines instead of three.
3711 (Eliseo Martínez) Issue 287
3712Solution: Correct the line count. (Christian Brabandt)
3713 Also set the last used search pattern.
3714Files: src/ex_cmds.c, src/search.c, src/proto/search.pro
3715
3716Patch 7.4.544
3717Problem: Warnings for unused arguments when compiling with a combination of
3718 features.
3719Solution: Add "UNUSED".
3720Files: src/if_cscope.c
3721
3722Patch 7.4.545
3723Problem: Highlighting for multi-line matches is not correct.
3724Solution: Stop highlight at the end of the match. (Hirohito Higashi)
3725Files: src/screen.c
3726
3727Patch 7.4.546
3728Problem: Repeated use of vim_snprintf() with a number.
3729Solution: Move these vim_snprintf() calls into a function.
3730Files: src/window.c
3731
3732Patch 7.4.547
3733Problem: Using "vit" does not select a multi-byte character at the end
3734 correctly.
3735Solution: Advance the cursor over the multi-byte character. (Christian
3736 Brabandt)
3737Files: src/search.c
3738
3739Patch 7.4.548
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003740Problem: Compilation fails with native version of MinGW-w64, because
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003741 it doesn't have x86_64-w64-mingw32-windres.exe.
3742Solution: Use windres instead. (Ken Takata)
3743Files: src/Make_cyg_ming.mak
3744
3745Patch 7.4.549
3746Problem: Function name not recognized correctly when inside a function.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003747Solution: Don't check for an alpha character. (Ozaki Kiichi)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003748Files: src/eval.c, src/testdir/test_nested_function.in,
3749 src/testdir/test_nested_function.ok, src/testdir/Make_amiga.mak,
3750 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3751 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3752 src/testdir/Makefile
3753
3754Patch 7.4.550
3755Problem: curs_rows() function is always called with the second argument
3756 false.
3757Solution: Remove the argument. (Christian Brabandt)
3758 validate_botline_win() can then also be removed.
3759Files: src/move.c
3760
3761Patch 7.4.551
3762Problem: "ygn" may yank too much. (Fritzophrenic) Issue 295.
3763Solution: Check the width of the next match. (Christian Brabandt)
3764Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
3765
3766Patch 7.4.552
3767Problem: Langmap applies to Insert mode expression mappings.
3768Solution: Check for Insert mode. (Daniel Hahler)
3769Files: src/getchar.c, src/testdir/test_mapping.in,
3770 src/testdir/test_mapping.ok
3771
3772Patch 7.4.553
3773Problem: Various small issues.
3774Solution: Fix those issues.
3775Files: src/ex_cmds.h, src/gui.h, src/message.c, src/testdir/test39.in,
3776 src/proto/eval.pro, src/proto/misc1.pro, src/proto/ops.pro,
3777 src/proto/screen.pro, src/proto/window.pro. src/os_unix.c,
3778 src/Make_vms.mms, src/proto/os_vms.pro, src/INSTALL
3779
3780Patch 7.4.554
3781Problem: Missing part of patch 7.4.519.
3782Solution: Copy back regprog after calling vim_regexec.
3783Files: src/quickfix.c
3784
3785Patch 7.4.555
3786Problem: test_close_count may fail for some combination of features.
3787Solution: Require normal features.
3788Files: src/testdir/test_close_count.in
3789
3790Patch 7.4.556
3791Problem: Failed commands in Python interface not handled correctly.
3792Solution: Restore window and buffer on failure.
3793Files: src/if_py_both.h
3794
3795Patch 7.4.557
3796Problem: One more small issue.
3797Solution: Update function proto.
3798Files: src/proto/window.pro
3799
3800Patch 7.4.558
3801Problem: When the X server restarts Vim may get stuck.
3802Solution: Destroy the application context and create it again. (Issue 203)
3803Files: src/os_unix.c
3804
3805Patch 7.4.559
3806Problem: Appending a block in the middle of a tab does not work correctly
3807 when virtualedit is set.
3808Solution: Decrement spaces and count, don't reset them. (James McCoy)
3809Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
3810
3811Patch 7.4.560
3812Problem: Memory leak using :wviminfo. Issue 296.
3813Solution: Free memory when needed. (idea by Christian Brabandt)
3814Files: src/ops.c
3815
3816Patch 7.4.561
3817Problem: Ex range handling is wrong for buffer-local user commands.
3818Solution: Check for CMD_USER_BUF. (Marcin Szamotulski)
3819Files: src/ex_docmd.c, src/testdir/test_command_count.in,
3820 src/testdir/test_command_count.ok
3821
3822Patch 7.4.562
3823Problem: Segfault with wide screen and error in 'rulerformat'. (Ingo Karkat)
3824Solution: Check there is enough space. (Christian Brabandt)
3825Files: src/buffer.c, src/screen.c
3826
3827Patch 7.4.563
3828Problem: No test for replacing on a tab in Virtual replace mode.
3829Solution: Add a test. (Elias Diem)
3830Files: src/testdir/test48.in, src/testdir/test48.ok
3831
3832Patch 7.4.564
3833Problem: FEAT_OSFILETYPE is used even though it's never defined.
3834Solution: Remove the code. (Christian Brabandt)
3835Files: src/fileio.c
3836
3837Patch 7.4.565
3838Problem: Ranges for arguments, buffers, tabs, etc. are not checked to be
3839 valid but limited to the maximum. This can cause the wrong thing
3840 to happen.
3841Solution: Give an error for an invalid value. (Marcin Szamotulski)
3842 Use windows range for ":wincmd".
3843Files: src/ex_docmd.c, src/ex_cmds.h, src/testdir/test62.in,
3844 src/testdir/test_argument_count.in,
3845 src/testdir/test_argument_count.ok,
3846 src/testdir/test_close_count.in,
3847 src/testdir/test_command_count.in,
3848 src/testdir/test_command_count.ok
3849
3850Patch 7.4.566
3851Problem: :argdo, :bufdo, :windo and :tabdo don't take a range.
3852Solution: Support the range. (Marcin Szamotulski)
3853Files: runtime/doc/editing.txt, runtime/doc/tabpage.txt,
3854 runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmds2.c,
3855 src/testdir/test_command_count.in,
3856 src/testdir/test_command_count.ok
3857
3858Patch 7.4.567
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003859Problem: Non-ascii vertical separator characters are always redrawn.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003860Solution: Compare only the one byte that's stored. (Thiago Padilha)
3861Files: src/screen.c
3862
3863Patch 7.4.568
3864Problem: Giving an error for ":0wincmd w" is a problem for some plugins.
3865Solution: Allow the zero in the range. (Marcin Szamotulski)
3866Files: src/ex_docmd.c, src/testdir/test_command_count.ok
3867
3868Patch 7.4.569 (after 7.4.468)
3869Problem: Having CTRL-C interrupt or not does not check the mode of the
3870 mapping. (Ingo Karkat)
3871Solution: Use a bitmask with the map mode. (Christian Brabandt)
3872Files: src/getchar.c, src/structs.h, src/testdir/test_mapping.in,
3873 src/testdir/test_mapping.ok, src/ui.c, src/globals.h
3874
3875Patch 7.4.570
3876Problem: Building with dynamic library does not work for Ruby 2.2.0
3877Solution: Change #ifdefs and #defines. (Ken Takata)
3878Files: src/if_ruby.c
3879
3880Patch 7.4.571 (after 7.4.569)
3881Problem: Can't build with tiny features. (Ike Devolder)
3882Solution: Add #ifdef.
3883Files: src/getchar.c
3884
3885Patch 7.4.572
3886Problem: Address type of :wincmd depends on the argument.
3887Solution: Check the argument.
3888Files: src/ex_docmd.c, src/window.c, src/proto/window.pro
3889
3890Patch 7.4.573 (after 7.4.569)
3891Problem: Mapping CTRL-C in Visual mode doesn't work. (Ingo Karkat)
3892Solution: Call get_real_state() instead of using State directly.
3893Files: src/ui.c, src/testdir/test_mapping.in, src/testdir/test_mapping.ok
3894
3895Patch 7.4.574
3896Problem: No error for eval('$').
3897Solution: Check for empty name. (Yasuhiro Matsumoto)
3898Files: src/eval.c
3899
3900Patch 7.4.575
3901Problem: Unicode character properties are outdated.
3902Solution: Update the tables with the latest version.
3903Files: src/mbyte.c
3904
3905Patch 7.4.576
3906Problem: Redrawing problem with 'relativenumber' and 'linebreak'.
3907Solution: Temporarily reset 'linebreak' and restore it in more places.
3908 (Christian Brabandt)
3909Files: src/normal.c
3910
3911Patch 7.4.577
3912Problem: Matching with a virtual column has a lot of overhead on very long
3913 lines. (Issue 310)
3914Solution: Bail out early if there can't be a match. (Christian Brabandt)
3915 Also check for CTRL-C at every position.
3916Files: src/regexp_nfa.c
3917
3918Patch 7.4.578
3919Problem: Using getcurpos() after "$" in an empty line returns a negative
3920 number.
3921Solution: Don't add one when this would overflow. (Hirohito Higashi)
3922Files: src/eval.c
3923
3924Patch 7.4.579
3925Problem: Wrong cursor positioning when 'linebreak' is set and lines wrap.
3926Solution: Fix it. (Christian Brabandt)
3927Files: src/charset.c, src/screen.c
3928
3929Patch 7.4.580
3930Problem: ":52wincmd v" still gives an invalid range error. (Charles
3931 Campbell)
3932Solution: Skip over white space.
3933Files: src/ex_docmd.c
3934
3935Patch 7.4.581
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003936Problem: Compiler warnings for uninitialized variables. (John Little)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003937Solution: Initialize the variables.
3938Files: src/ops.c
3939
3940Patch 7.4.582 (after 7.4.577)
3941Problem: Can't match "%>80v" properly. (Axel Bender)
3942Solution: Correctly handle ">". (Christian Brabandt)
3943Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
3944
3945Patch 7.4.583
3946Problem: With tiny features test 16 may fail.
3947Solution: Source small.vim. (Christian Brabandt)
3948Files: src/testdir/test16.in
3949
3950Patch 7.4.584
3951Problem: With tiny features test_command_count may fail.
3952Solution: Source small.vim. (Christian Brabandt)
3953Files: src/testdir/test_command_count.in
3954
3955Patch 7.4.585
3956Problem: Range for :bdelete does not work. (Ronald Schild)
3957Solution: Also allow unloaded buffers.
3958Files: src/ex_cmds.h, src/testdir/test_command_count.in,
3959 src/testdir/test_command_count.ok
3960
3961Patch 7.4.586
3962Problem: Parallel building of the documentation html files is not reliable.
3963Solution: Remove a cyclic dependency. (Reiner Herrmann)
3964Files: runtime/doc/Makefile
3965
3966Patch 7.4.587
3967Problem: Conceal does not work properly with 'linebreak'. (cs86661)
3968Solution: Save and restore boguscols. (Christian Brabandt)
3969Files: src/screen.c, src/testdir/test_listlbr_utf8.in,
3970 src/testdir/test_listlbr_utf8.ok
3971
3972Patch 7.4.588
3973Problem: ":0argedit foo" puts the new argument in the second place instead
3974 of the first.
3975Solution: Adjust the range type. (Ingo Karkat)
3976Files: src/ex_cmds.h, src/testdir/Make_amiga.mak,
3977 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3978 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3979 src/testdir/Makefile, src/testdir/test_argument_0count.in,
3980 src/testdir/test_argument_0count.ok
3981
3982Patch 7.4.589
3983Problem: In the MS-Windows console Vim can't handle greek characters when
3984 encoding is utf-8.
3985Solution: Escape K_NUL. (Yasuhiro Matsumoto)
3986Files: src/os_win32.c
3987
3988Patch 7.4.590
3989Problem: Using ctrl_x_mode as if it contains flags.
3990Solution: Don't use AND with CTRL_X_OMNI. (Hirohito Higashi)
3991Files: src/edit.c
3992
3993Patch 7.4.591 (after 7.4.587)
3994Problem: test_listlbr_utf8 fails when the conceal feature is not available.
3995Solution: Check for the conceal feature. (Kazunobu Kuriyama)
3996Files: src/testdir/test_listlbr_utf8.in
3997
3998Patch 7.4.592
3999Problem: When doing ":e foobar" when already editing "foobar" and 'buftype'
4000 is "nofile" the buffer is cleared. (Xavier de Gaye)
4001Solution: Do no clear the buffer.
4002Files: src/ex_cmds.c
4003
4004Patch 7.4.593
4005Problem: Crash when searching for "x\{0,90000}". (Dominique Pelle)
4006Solution: Bail out from the NFA engine when the max limit is much higher
4007 than the min limit.
4008Files: src/regexp_nfa.c, src/regexp.c, src/vim.h
4009
4010Patch 7.4.594
4011Problem: Using a block delete while 'breakindent' is set does not work
4012 properly.
4013Solution: Use "line" instead of "prev_pend" as the first argument to
4014 lbr_chartabsize_adv(). (Hirohito Higashi)
4015Files: src/ops.c, src/testdir/test_breakindent.in,
4016 src/testdir/test_breakindent.ok
4017
4018Patch 7.4.595
4019Problem: The test_command_count test fails when using Japanese.
4020Solution: Force the language to C. (Hirohito Higashi)
4021Files: src/testdir/test_command_count.in
4022
4023Patch 7.4.596 (after 7.4.592)
4024Problem: Tiny build doesn't compile. (Ike Devolder)
4025Solution: Add #ifdef.
4026Files: src/ex_cmds.c
4027
4028Patch 7.4.597
4029Problem: Cannot change the result of systemlist().
4030Solution: Initialize v_lock. (Yukihiro Nakadaira)
4031Files: src/eval.c
4032
4033Patch 7.4.598
4034Problem: ":tabdo windo echo 'hi'" causes "* register not to be changed.
4035 (Salman Halim)
4036Solution: Change how clip_did_set_selection is used and add
4037 clipboard_needs_update and global_change_count. (Christian
4038 Brabandt)
4039Files: src/main.c, src/ui.c, src/testdir/test_eval.in,
4040 src/testdir/test_eval.ok
4041
4042Patch 7.4.599
4043Problem: Out-of-memory error.
4044Solution: Avoid trying to allocate a negative amount of memory, use size_t
4045 instead of int. (Dominique Pelle)
4046Files: src/regexp_nfa.c
4047
4048Patch 7.4.600
4049Problem: Memory wasted in struct because of aligning.
4050Solution: Split pos in lnum and col. (Dominique Pelle)
4051Files: src/regexp_nfa.c
4052
4053Patch 7.4.601
4054Problem: It is not possible to have feedkeys() insert characters.
4055Solution: Add the 'i' flag.
4056Files: src/eval.c, runtime/doc/eval.txt
4057
4058Patch 7.4.602
4059Problem: ":set" does not accept hex numbers as documented.
4060Solution: Use vim_str2nr(). (ZyX)
4061Files: src/option.c, runtime/doc/options.txt
4062
4063Patch 7.4.603
4064Problem: 'foldcolumn' may be set such that it fills the whole window, not
4065 leaving space for text.
4066Solution: Reduce the foldcolumn width when there is not sufficient room.
4067 (idea by Christian Brabandt)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004068Files: src/screen.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004069
4070Patch 7.4.604
4071Problem: Running tests changes viminfo.
4072Solution: Disable viminfo.
4073Files: src/testdir/test_breakindent.in
4074
4075Patch 7.4.605
4076Problem: The # register is not writable, it cannot be restored after
4077 jumping around.
4078Solution: Make the # register writable. (Marcin Szamotulski)
4079Files: runtime/doc/change.txt, src/ops.c, src/buffer.c, src/globals.h
4080
4081Patch 7.4.606
4082Problem: May crash when using a small window.
4083Solution: Avoid dividing by zero. (Christian Brabandt)
4084Files: src/normal.c
4085
4086Patch 7.4.607 (after 7.4.598)
4087Problem: Compiler warnings for unused variables.
4088Solution: Move them inside #ifdef. (Kazunobu Kuriyama)
4089Files: src/ui.c
4090
4091Patch 7.4.608 (after 7.4.598)
4092Problem: test_eval fails when the clipboard feature is missing.
4093Solution: Skip part of the test. Reduce the text used.
4094Files: src/testdir/test_eval.in, src/testdir/test_eval.ok
4095
4096Patch 7.4.609
4097Problem: For complicated list and dict use the garbage collector can run
4098 out of stack space.
4099Solution: Use a stack of dicts and lists to be marked, thus making it
4100 iterative instead of recursive. (Ben Fritz)
4101Files: src/eval.c, src/if_lua.c, src/if_py_both.h, src/if_python.c,
4102 src/if_python3.c, src/proto/eval.pro, src/proto/if_lua.pro,
4103 src/proto/if_python.pro, src/proto/if_python3.pro, src/structs.h
4104
4105Patch 7.4.610
4106Problem: Some function headers may be missing from generated .pro files.
4107Solution: Add PROTO to the #ifdef.
4108Files: src/option.c, src/syntax.c
4109
4110Patch 7.4.611 (after 7.4.609)
4111Problem: Syntax error.
4112Solution: Change statement to return.
4113Files: src/if_python3.c
4114
4115Patch 7.4.612
4116Problem: test_eval fails on Mac.
4117Solution: Use the * register instead of the + register. (Jun Takimoto)
4118Files: src/testdir/test_eval.in, src/testdir/test_eval.ok
4119
4120Patch 7.4.613
4121Problem: The NFA engine does not implement the 'redrawtime' time limit.
4122Solution: Implement the time limit.
4123Files: src/regexp_nfa.c
4124
4125Patch 7.4.614
4126Problem: There is no test for what patch 7.4.601 fixes.
4127Solution: Add a test. (Christian Brabandt)
4128Files: src/testdir/test_mapping.in, src/testdir/test_mapping.ok
4129
4130Patch 7.4.615
4131Problem: Vim hangs when freeing a lot of objects.
4132Solution: Do not go back to the start of the list every time. (Yasuhiro
4133 Matsumoto and Ariya Mizutani)
4134Files: src/eval.c
4135
4136Patch 7.4.616
4137Problem: Cannot insert a tab in front of a block.
4138Solution: Correctly compute aop->start. (Christian Brabandt)
4139Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
4140
4141Patch 7.4.617
4142Problem: Wrong ":argdo" range does not cause an error.
4143Solution: Reset "cmd" to NULL. (Marcin Szamotulski, Ingo Karkat)
4144Files: src/ex_docmd.c
4145
4146Patch 7.4.618 (after 7.4.609)
4147Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi)
4148Solution: Put the return statement back.
4149Files: src/if_lua.c
4150
4151Patch 7.4.619 (after 7.4.618)
4152Problem: luaV_setref() not returning the correct value.
4153Solution: Return one.
4154Files: src/if_lua.c
4155
4156Patch 7.4.620
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004157Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004158Solution: Initialize "did_free". (Ben Fritz)
4159Files: src/eval.c
4160
4161Patch 7.4.621 (after 7.4.619)
4162Problem: Returning 1 in the wrong function. (Raymond Ko)
4163Solution: Return 1 in the right function (hopefully).
4164Files: src/if_lua.c
4165
4166Patch 7.4.622
4167Problem: Compiler warning for unused argument.
4168Solution: Add UNUSED.
4169Files: src/regexp_nfa.c
4170
4171Patch 7.4.623
4172Problem: Crash with pattern: \(\)\{80000} (Dominique Pelle)
4173Solution: When the max limit is large fall back to the old engine.
4174Files: src/regexp_nfa.c
4175
4176Patch 7.4.624
4177Problem: May leak memory or crash when vim_realloc() returns NULL.
4178Solution: Handle a NULL value properly. (Mike Williams)
4179Files: src/if_cscope.c, src/memline.c, src/misc1.c, src/netbeans.c
4180
4181Patch 7.4.625
4182Problem: Possible NULL pointer dereference.
4183Solution: Check for NULL before using it. (Mike Williams)
4184Files: src/if_py_both.h
4185
4186Patch 7.4.626
4187Problem: MSVC with W4 gives useless warnings.
4188Solution: Disable more warnings. (Mike Williams)
4189Files: src/vim.h
4190
4191Patch 7.4.627
4192Problem: The last screen cell is not updated.
4193Solution: Respect the "tn" termcap feature. (Hayaki Saito)
4194Files: runtime/doc/term.txt, src/option.c, src/screen.c, src/term.c,
4195 src/term.h
4196
4197Patch 7.4.628
4198Problem: Compiler warning for variable might be clobbered by longjmp.
4199Solution: Add volatile. (Michael Jarvis)
4200Files: src/main.c
4201
4202Patch 7.4.629
4203Problem: Coverity warning for Out-of-bounds read.
4204Solution: Increase MAXWLEN to 254. (Eliseo Martínez)
4205Files: src/spell.c
4206
4207Patch 7.4.630
4208Problem: When using Insert mode completion combined with autocommands the
4209 redo command may not work.
4210Solution: Do not save the redo buffer when executing autocommands. (Yasuhiro
4211 Matsumoto)
4212Files: src/fileio.c
4213
4214Patch 7.4.631
4215Problem: The default conceal character is documented to be a space but it's
4216 initially a dash. (Christian Brabandt)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004217Solution: Make the initial value a space.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004218Files: src/globals.h
4219
4220Patch 7.4.632 (after 7.4.592)
4221Problem: 7.4.592 breaks the netrw plugin, because the autocommands are
4222 skipped.
4223Solution: Roll back the change.
4224Files: src/ex_cmds.c
4225
4226Patch 7.4.633
4227Problem: After 7.4.630 the problem persists.
4228Solution: Also skip redo when calling a user function.
4229Files: src/eval.c
4230
4231Patch 7.4.634
4232Problem: Marks are not restored after redo + undo.
4233Solution: Fix the way marks are restored. (Olaf Dabrunz)
4234Files: src/undo.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
4235 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
4236 src/testdir/Make_vms.mms, src/testdir/Makefile,
4237 src/testdir/test_marks.in, src/testdir/test_marks.ok
4238
4239Patch 7.4.635
4240Problem: If no NL or CR is found in the first block of a file then the
4241 'fileformat' may be set to "mac". (Issue 77)
4242Solution: Check if a CR was found. (eswald)
4243Files: src/fileio.c
4244
4245Patch 7.4.636
4246Problem: A search with end offset gets stuck at end of file. (Gary Johnson)
4247Solution: When a search doesn't move the cursor repeat it with a higher
4248 count. (Christian Brabandt)
4249Files: src/normal.c, src/testdir/test44.in, src/testdir/test44.ok
4250
4251Patch 7.4.637
4252Problem: Incorrectly read the number of buffer for which an autocommand
4253 should be registered.
4254Solution: Reverse check for "<buffer=abuf>". (Lech Lorens)
4255Files: src/fileio.c
4256
4257Patch 7.4.638
4258Problem: Can't build with Lua 5.3 on Windows.
4259Solution: use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)
4260Files: src/if_lua.c
4261
4262Patch 7.4.639
4263Problem: Combination of linebreak and conceal doesn't work well.
4264Solution: Fix the display problems. (Christian Brabandt)
4265Files: src/screen.c, src/testdir/test88.in, src/testdir/test88.ok,
4266 src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok
4267
4268Patch 7.4.640
4269Problem: After deleting characters in Insert mode such that lines are
4270 joined undo does not work properly. (issue 324)
4271Solution: Use Insstart instead of Insstart_orig. (Christian Brabandt)
4272Files: src/edit.c
4273
4274Patch 7.4.641
4275Problem: The tabline menu was using ":999tabnew" which is now invalid.
4276Solution: Use ":$tabnew" instead. (Florian Degner)
4277Files: src/normal.c
4278
4279Patch 7.4.642
4280Problem: When using "gf" escaped spaces are not handled.
4281Solution: Recognize escaped spaces.
Bram Moolenaar259f26a2018-05-15 22:25:40 +02004282Files: src/vim.h, src/window.c, src/misc2.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004283
4284Patch 7.4.643
4285Problem: Using the default file format for Mac files. (Issue 77)
4286Solution: Reset the try_mac counter in the right place. (Oswald)
4287Files: src/fileio.c, src/testdir/test30.in, src/testdir/test30.ok
4288
4289Patch 7.4.644
4290Problem: Stratus VOS doesn't have sync().
4291Solution: Use fflush(). (Karli Aurelia)
4292Files: src/memfile.c
4293
4294Patch 7.4.645
4295Problem: When splitting the window in a BufAdd autocommand while still in
4296 the first, empty buffer the window count is wrong.
4297Solution: Do not reset b_nwindows to zero and don't increment it.
4298Files: src/buffer.c, src/ex_cmds.c
4299
4300Patch 7.4.646
4301Problem: ":bufdo" may start at a deleted buffer.
4302Solution: Find the first not deleted buffer. (Shane Harper)
4303Files: src/ex_cmds2.c, src/testdir/test_command_count.in,
4304 src/testdir/test_command_count.ok
4305
4306Patch 7.4.647
4307Problem: After running the tests on MS-Windows many files differ from their
4308 originals as they were checked out.
4309Solution: Use a temp directory for executing the tests. (Ken Takata, Taro
4310 Muraoka)
4311Files: src/testdir/Make_dos.mak
4312
4313Patch 7.4.648 (after 7.4.647)
4314Problem: Tests broken on MS-Windows.
4315Solution: Delete wrong copy line. (Ken Takata)
4316Files: src/testdir/Make_dos.mak
4317
4318Patch 7.4.649
4319Problem: Compiler complains about ignoring return value of fwrite().
4320 (Michael Jarvis)
4321Solution: Add (void).
4322Files: src/misc2.c
4323
4324Patch 7.4.650
4325Problem: Configure check may fail because the dl library is not used.
Bram Moolenaard0796902016-09-16 20:02:31 +02004326Solution: Put "-ldl" in LIBS rather than LDFLAGS. (Ozaki Kiichi)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004327Files: src/configure.in, src/auto/configure
4328
4329Patch 7.4.651 (after 7.4.582)
4330Problem: Can't match "%>80v" properly for multi-byte characters.
4331Solution: Multiply the character number by the maximum number of bytes in a
4332 character. (Yasuhiro Matsumoto)
4333Files: src/regexp_nfa.c
4334
4335Patch 7.4.652
4336Problem: Xxd lacks a few features.
4337Solution: Use 8 characters for the file position. Add the -e and -o
4338 arguments. (Vadim Vygonets)
4339Files: src/xxd/xxd.c, runtime/doc/xxd.1
4340
4341Patch 7.4.653
4342Problem: Insert mode completion with complete() may have CTRL-L work like
4343 CTRL-P.
4344Solution: Handle completion with complete() differently. (Yasuhiro
4345 Matsumoto, Christian Brabandt, Hirohito Higashi)
4346Files: src/edit.c
4347
4348Patch 7.4.654
4349Problem: glob() and globpath() cannot include links to non-existing files.
4350 (Charles Campbell)
4351Solution: Add an argument to include all links with glob(). (James McCoy)
4352 Also for globpath().
4353Files: src/vim.h, src/eval.c, src/ex_getln.c
4354
4355Patch 7.4.655
4356Problem: Text deleted by "dit" depends on indent of closing tag.
4357 (Jan Parthey)
4358Solution: Do not adjust oap->end in do_pending_operator(). (Christian
4359 Brabandt)
4360Files: src/normal.c, src/search.c, src/testdir/test53.in,
4361 src/testdir/test53.ok
4362
4363Patch 7.4.656 (after 7.4.654)
4364Problem: Missing changes for glob() in one file.
4365Solution: Add the missing changes.
4366Files: src/misc1.c
4367
4368Patch 7.4.657 (after 7.4.656)
4369Problem: Compiler warnings for pointer mismatch.
4370Solution: Add a typecast. (John Marriott)
4371Files: src/misc1.c
4372
4373Patch 7.4.658
4374Problem: 'formatexpr' is evaluated too often.
4375Solution: Only invoke it when beyond the 'textwidth' column, as it is
4376 documented. (James McCoy)
4377Files: src/edit.c
4378
4379Patch 7.4.659
4380Problem: When 'ruler' is set the preferred column is reset. (Issue 339)
4381Solution: Don't set curswant when redrawing the status lines.
4382Files: src/option.c
4383
4384Patch 7.4.660
4385Problem: Using freed memory when g:colors_name is changed in the colors
4386 script. (oni-link)
4387Solution: Make a copy of the variable value.
4388Files: src/syntax.c
4389
4390Patch 7.4.661
4391Problem: Using "0 CTRL-D" in Insert mode may have CursorHoldI interfere.
4392 (Gary Johnson)
4393Solution: Don't store K_CURSORHOLD as the last character. (Christian
4394 Brabandt)
4395Files: src/edit.c
4396
4397Patch 7.4.662
4398Problem: When 'M' is in the 'cpo' option then selecting a text object in
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004399 parentheses does not work correctly.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004400Solution: Keep 'M' in 'cpo' when finding a match. (Hirohito Higashi)
4401Files: src/search.c, src/testdir/Make_amiga.mak,
4402 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
4403 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
4404 src/testdir/Makefile, src/testdir/test_textobjects.in,
4405 src/testdir/test_textobjects.ok
4406
4407Patch 7.4.663
4408Problem: When using netbeans a buffer is not found in another tab.
4409Solution: When 'switchbuf' is set to "usetab" then switch to another tab
4410 when possible. (Xavier de Gaye)
4411Files: src/netbeans.c
4412
4413Patch 7.4.664
4414Problem: When 'compatible' is reset 'numberwidth' is set to 4, but the
4415 effect doesn't show until a change is made.
4416Solution: Check if 'numberwidth' changed. (Christian Brabandt)
4417Files: src/screen.c, src/structs.h
4418
4419Patch 7.4.665
4420Problem: 'linebreak' does not work properly with multi-byte characters.
4421Solution: Compute the pointer offset with mb_head_off(). (Yasuhiro
4422 Matsumoto)
4423Files: src/screen.c
4424
4425Patch 7.4.666
4426Problem: There is a chance that Vim may lock up.
4427Solution: Handle timer events differently. (Aaron Burrow)
4428Files: src/os_unix.c
4429
4430Patch 7.4.667
4431Problem: 'colorcolumn' isn't drawn in a closed fold while 'cursorcolumn'
4432 is. (Carlos Pita)
4433Solution: Make it consistent. (Christian Brabandt)
4434Files: src/screen.c
4435
4436Patch 7.4.668
4437Problem: Can't use a glob pattern as a regexp pattern.
4438Solution: Add glob2regpat(). (Christian Brabandt)
4439Files: src/eval.c, runtime/doc/eval.txt
4440
4441Patch 7.4.669
4442Problem: When netbeans is active the sign column always shows up.
4443Solution: Only show the sign column once a sign has been added. (Xavier de
4444 Gaye)
4445Files: src/buffer.c, src/edit.c, src/move.c, src/netbeans.c,
4446 src/screen.c, src/structs.h
4447
4448Patch 7.4.670
4449Problem: Using 'cindent' for Javascript is less than perfect.
4450Solution: Improve indenting of continuation lines. (Hirohito Higashi)
4451Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
4452
4453Patch 7.4.671 (after 7.4.665)
4454Problem: Warning for shadowing a variable.
4455Solution: Rename off to mb_off. (Kazunobu Kuriyama)
4456Files: src/screen.c
4457
4458Patch 7.4.672
4459Problem: When completing a shell command, directories in the current
4460 directory are not listed.
4461Solution: When "." is not in $PATH also look in the current directory for
4462 directories.
4463Files: src/ex_getln.c, src/vim.h, src/misc1.c, src/eval.c,
4464 src/os_amiga.c, src/os_msdos.c, src/os_unix.c, src/os_vms.c,
4465 src/proto/os_amiga.pro, src/proto/os_msdos.pro,
4466 src/proto/os_unix.pro, src/proto/os_win32.pro
4467
4468Patch 7.4.673
4469Problem: The first syntax entry gets sequence number zero, which doesn't
4470 work. (Clinton McKay)
4471Solution: Start at number one. (Bjorn Linse)
4472Files: src/syntax.c
4473
4474Patch 7.4.674 (after 7.4.672)
4475Problem: Missing changes in one file.
4476Solution: Also change the win32 file.
4477Files: src/os_win32.c
4478
4479Patch 7.4.675
4480Problem: When a FileReadPost autocommand moves the cursor inside a line it
4481 gets moved back.
4482Solution: When checking whether an autocommand moved the cursor store the
4483 column as well. (Christian Brabandt)
4484Files: src/ex_cmds.c
4485
4486Patch 7.4.676
4487Problem: On Mac, when not using the default Python framework configure
4488 doesn't do the right thing.
4489Solution: Use a linker search path. (Kazunobu Kuriyama)
4490Files: src/configure.in, src/auto/configure
4491
4492Patch 7.4.677 (after 7.4.676)
4493Problem: Configure fails when specifying a python-config-dir. (Lcd)
4494Solution: Check if PYTHONFRAMEWORKPREFIX is set.
4495Files: src/configure.in, src/auto/configure
4496
4497Patch 7.4.678
4498Problem: When using --remote the directory may end up being wrong.
4499Solution: Use localdir() to find out what to do. (Xaizek)
4500Files: src/main.c
4501
4502Patch 7.4.679
4503Problem: Color values greater than 255 cause problems on MS-Windows.
4504Solution: Truncate to 255 colors. (Yasuhiro Matsumoto)
4505Files: src/os_win32.c
4506
4507Patch 7.4.680
4508Problem: CTRL-W in Insert mode does not work well for multi-byte
4509 characters.
4510Solution: Use mb_get_class(). (Yasuhiro Matsumoto)
4511Files: src/edit.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
4512 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
4513 src/testdir/Make_vms.mms, src/testdir/Makefile,
4514 src/testdir/test_erasebackword.in,
4515 src/testdir/test_erasebackword.ok,
4516
4517Patch 7.4.681
4518Problem: MS-Windows: When Vim is minimized the window height is computed
4519 incorrectly.
4520Solution: When minimized use the previously computed size. (Ingo Karkat)
4521Files: src/gui_w32.c
4522
4523Patch 7.4.682
4524Problem: The search highlighting and match highlighting replaces the
4525 cursorline highlighting, this doesn't look good.
4526Solution: Combine the highlighting. (Yasuhiro Matsumoto)
4527Files: src/screen.c
4528
4529Patch 7.4.683
4530Problem: Typo in the vimtutor command.
4531Solution: Fix the typo. (Corey Farwell, github pull 349)
4532Files: vimtutor.com
4533
4534Patch 7.4.684
4535Problem: When starting several Vim instances in diff mode, the temp files
4536 used may not be unique. (Issue 353)
4537Solution: Add an argument to vim_tempname() to keep the file.
4538Files: src/diff.c, src/eval.c, src/ex_cmds.c, src/fileio.c,
4539 src/hardcopy.c, src/proto/fileio.pro, src/if_cscope.c,
4540 src/memline.c, src/misc1.c, src/os_unix.c, src/quickfix.c,
4541 src/spell.c
4542
4543Patch 7.4.685
4544Problem: When there are illegal utf-8 characters the old regexp engine may
4545 go past the end of a string.
4546Solution: Only advance to the end of the string. (Dominique Pelle)
4547Files: src/regexp.c
4548
4549Patch 7.4.686
4550Problem: "zr" and "zm" do not take a count.
4551Solution: Implement the count, restrict the fold level to the maximum
4552 nesting depth. (Marcin Szamotulski)
4553Files: runtime/doc/fold.txt, src/normal.c
4554
4555Patch 7.4.687
4556Problem: There is no way to use a different in Replace mode for a terminal.
4557Solution: Add t_SR. (Omar Sandoval)
4558Files: runtime/doc/options.txt, runtime/doc/term.txt,
4559 runtime/syntax/vim.vim, src/option.c, src/term.c, src/term.h
4560
4561Patch 7.4.688
4562Problem: When "$" is in 'cpo' the popup menu isn't undrawn correctly.
4563 (Issue 166)
4564Solution: When using the popup menu remove the "$".
4565Files: src/edit.c
4566
4567Patch 7.4.689
4568Problem: On MS-Windows, when 'autochdir' is set, diff mode with files in
4569 different directories does not work. (Axel Bender)
4570Solution: Remember the current directory and use it where needed. (Christian
4571 Brabandt)
4572Files: src/main.c
4573
4574Patch 7.4.690
4575Problem: Memory access errors when changing indent in Ex mode. Also missing
4576 redraw when using CTRL-U. (Knil Ino)
4577Solution: Update pointers after calling ga_grow().
4578Files: src/ex_getln.c
4579
4580Patch 7.4.691 (after 7.4.689)
4581Problem: Can't build with MzScheme.
4582Solution: Change "cwd" into the global variable "start_dir".
4583Files: src/main.c
4584
4585Patch 7.4.692
4586Problem: Defining SOLARIS for no good reason. (Danek Duvall)
4587Solution: Remove it.
4588Files: src/os_unix.h
4589
4590Patch 7.4.693
4591Problem: Session file is not correct when there are multiple tab pages.
4592Solution: Reset the current window number for each tab page. (Jacob Niehus)
4593Files: src/ex_docmd.c
4594
4595Patch 7.4.694
4596Problem: Running tests changes the .viminfo file.
4597Solution: Disable viminfo in the text objects test.
4598Files: src/testdir/test_textobjects.in
4599
4600Patch 7.4.695
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004601Problem: Out-of-bounds read, detected by Coverity.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004602Solution: Remember the value of cmap for the first matching encoding. Reset
4603 cmap to that value if first matching encoding is going to be used.
4604 (Eliseo Martínez)
4605Files: src/hardcopy.c
4606
4607Patch 7.4.696
4608Problem: Not freeing memory when encountering an error.
4609Solution: Free the stack before returning. (Eliseo Martínez)
4610Files: src/regexp_nfa.c
4611
4612Patch 7.4.697
4613Problem: The filename used for ":profile" must be given literally.
4614Solution: Expand "~" and environment variables. (Marco Hinz)
4615Files: src/ex_cmds2.c
4616
4617Patch 7.4.698
4618Problem: Various problems with locked and fixed lists and dictionaries.
4619Solution: Disallow changing locked items, fix a crash, add tests. (Olaf
4620 Dabrunz)
4621Files: src/structs.h, src/eval.c, src/testdir/test55.in,
4622 src/testdir/test55.ok
4623
4624Patch 7.4.699
4625Problem: E315 when trying to delete a fold. (Yutao Yuan)
4626Solution: Make sure the fold doesn't go beyond the last buffer line.
4627 (Christian Brabandt)
4628Files: src/fold.c
4629
4630Patch 7.4.700
4631Problem: Fold can't be opened after ":move". (Ein Brown)
4632Solution: Delete the folding information and update it afterwards.
4633 (Christian Brabandt)
4634Files: src/ex_cmds.c, src/fold.c, src/testdir/test45.in,
4635 src/testdir/test45.ok
4636
4637Patch 7.4.701
4638Problem: Compiler warning for using uninitialized variable. (Yasuhiro
4639 Matsumoto)
4640Solution: Initialize it.
4641Files: src/hardcopy.c
4642
4643Patch 7.4.702
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004644Problem: Joining an empty list does unnecessary work.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004645Solution: Let join() return early. (Marco Hinz)
4646Files: src/eval.c
4647
4648Patch 7.4.703
4649Problem: Compiler warning for start_dir unused when building unittests.
4650Solution: Move start_dir inside the #ifdef.
4651Files: src/main.c
4652
4653Patch 7.4.704
4654Problem: Searching for a character matches an illegal byte and causes
4655 invalid memory access. (Dominique Pelle)
4656Solution: Do not match an invalid byte when search for a character in a
4657 string. Fix equivalence classes using negative numbers, which
4658 result in illegal bytes.
4659Files: src/misc2.c, src/regexp.c, src/testdir/test44.in
4660
4661Patch 7.4.705
4662Problem: Can't build with Ruby 2.2.
4663Solution: Add #ifdefs to handle the incompatible change. (Andrei Olsen)
4664Files: src/if_ruby.c
4665
4666Patch 7.4.706
4667Problem: Window drawn wrong when 'laststatus' is zero and there is a
4668 command-line window. (Yclept Nemo)
4669Solution: Set the status height a bit later. (Christian Brabandt)
4670Files: src/window.c
4671
4672Patch 7.4.707
4673Problem: Undo files can have their executable bit set.
4674Solution: Strip of the executable bit. (Mikael Berthe)
4675Files: src/undo.c
4676
4677Patch 7.4.708
4678Problem: gettext() is called too often.
4679Solution: Do not call gettext() for messages until they are actually used.
4680 (idea by Yasuhiro Matsumoto)
4681Files: src/eval.c
4682
4683Patch 7.4.709
4684Problem: ":tabmove" does not work as documented.
4685Solution: Make it work consistently. Update documentation and add tests.
4686 (Hirohito Higashi)
4687Files: src/window.c, runtime/doc/tabpage.txt, src/ex_docmd.c,
4688 src/testdir/test62.in, src/testdir/test62.ok
4689
4690Patch 7.4.710
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004691Problem: It is not possible to make spaces visible in list mode.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004692Solution: Add the "space" item to 'listchars'. (David Bürgin, issue 350)
4693Files: runtime/doc/options.txt, src/globals.h, src/message.h,
4694 src/screen.c, src/testdir/test_listchars.in,
4695 src/testdir/test_listchars.ok, src/testdir/Make_amiga.mak,
4696 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
4697 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
4698 src/testdir/Makefile
4699
4700Patch 7.4.711 (after 7.4.710)
4701Problem: Missing change in one file.
4702Solution: Also change option.c
4703Files: src/option.c
4704
4705Patch 7.4.712 (after 7.4.710)
4706Problem: Missing change in another file.
4707Solution: Also change message.c
4708Files: src/message.c
4709
4710Patch 7.4.713
4711Problem: Wrong condition for #ifdef.
4712Solution: Change USR_EXRC_FILE2 to USR_VIMRC_FILE2. (Mikael Fourrier)
4713Files: src/os_unix.h
4714
4715Patch 7.4.714
4716Problem: Illegal memory access when there are illegal bytes.
4717Solution: Check the byte length of the character. (Dominique Pelle)
4718Files: src/regexp.c
4719
4720Patch 7.4.715
4721Problem: Invalid memory access when there are illegal bytes.
4722Solution: Get the length from the text, not from the character. (Dominique
4723 Pelle)
4724Files: src/regexp_nfa.c
4725
4726Patch 7.4.716
4727Problem: When using the 'c' flag of ":substitute" and selecting "a" or "l"
4728 at the prompt the flags are not remembered for ":&&". (Ingo
4729 Karkat)
4730Solution: Save the flag values and restore them. (Hirohito Higashi)
4731Files: src/ex_cmds.c
4732
4733Patch 7.4.717
4734Problem: ":let list += list" can change a locked list.
4735Solution: Check for the lock earlier. (Olaf Dabrunz)
4736Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
4737
4738Patch 7.4.718
4739Problem: Autocommands triggered by quickfix cannot get the current title
4740 value.
4741Solution: Set w:quickfix_title earlier. (Yannick)
4742 Also move the check for a title into the function.
4743Files: src/quickfix.c
4744
4745Patch 7.4.719
4746Problem: Overflow when adding MAXCOL to a pointer.
4747Solution: Subtract pointers instead. (James McCoy)
4748Files: src/screen.c
4749
4750Patch 7.4.720
4751Problem: Can't build with Visual Studio 2015.
4752Solution: Recognize the "version 14" numbers and omit /nodefaultlib when
4753 appropriate. (Paul Moore)
4754Files: src/Make_mvc.mak
4755
4756Patch 7.4.721
4757Problem: When 'list' is set Visual mode does not highlight anything in
4758 empty lines. (mgaleski)
4759Solution: Check the value of lcs_eol in another place. (Christian Brabandt)
4760Files: src/screen.c
4761
4762Patch 7.4.722
4763Problem: 0x202f is not recognized as a non-breaking space character.
4764Solution: Add 0x202f to the list. (Christian Brabandt)
4765Files: runtime/doc/options.txt, src/message.c, src/screen.c
4766
4767Patch 7.4.723
4768Problem: For indenting, finding the C++ baseclass can be slow.
4769Solution: Cache the result. (Hirohito Higashi)
4770Files: src/misc1.c
4771
4772Patch 7.4.724
4773Problem: Vim icon does not show in Windows context menu. (issue 249)
4774Solution: Load the icon in GvimExt.
4775Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
4776
4777Patch 7.4.725
4778Problem: ":call setreg('"', [])" reports an internal error.
4779Solution: Make the register empty. (Yasuhiro Matsumoto)
4780Files: src/ops.c
4781
4782Patch 7.4.726 (after 7.4.724)
4783Problem: Cannot build GvimExt.
4784Solution: Set APPVER to 5.0. (KF Leong)
4785Files: src/GvimExt/Makefile
4786
4787Patch 7.4.727 (after 7.4.724)
4788Problem: Cannot build GvimExt with MingW.
4789Solution: Add -lgdi32. (KF Leong)
4790Files: src/GvimExt/Make_ming.mak
4791
4792Patch 7.4.728
4793Problem: Can't build with some version of Visual Studio 2015.
4794Solution: Recognize another version 14 number. (Sinan)
4795Files: src/Make_mvc.mak
4796
4797Patch 7.4.729 (after 7.4.721)
4798Problem: Occasional crash with 'list' set.
4799Solution: Fix off-by-one error. (Christian Brabandt)
4800Files: src/screen.c
4801
4802Patch 7.4.730
4803Problem: When setting the crypt key and using a swap file, text may be
4804 encrypted twice or unencrypted text remains in the swap file.
4805 (Issue 369)
4806Solution: Call ml_preserve() before re-encrypting. Set correct index for
4807 next pointer block.
4808Files: src/memfile.c, src/memline.c, src/proto/memline.pro, src/option.c
4809
4810Patch 7.4.731
4811Problem: The tab menu shows "Close tab" even when it doesn't work.
4812Solution: Don't show "Close tab" for the last tab. (John Marriott)
4813Files: src/gui_w48.c, src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c
4814
4815Patch 7.4.732
4816Problem: The cursor line is not always updated for the "O" command.
4817Solution: Reset the VALID_CROW flag. (Christian Brabandt)
4818Files: src/normal.c
4819
4820Patch 7.4.733
4821Problem: test_listchars breaks on MS-Windows. (Kenichi Ito)
4822Solution: Set fileformat to "unix". (Christian Brabandt)
4823Files: src/testdir/test_listchars.in
4824
4825Patch 7.4.734
4826Problem: ml_get error when using "p" in a Visual selection in the last
4827 line.
4828Solution: Change the behavior at the last line. (Yukihiro Nakadaira)
4829Files: src/normal.c, src/ops.c, src/testdir/test94.in,
4830 src/testdir/test94.ok
4831
4832Patch 7.4.735
4833Problem: Wrong argument for sizeof().
4834Solution: Use a pointer argument. (Chris Hall)
4835Files: src/eval.c
4836
4837Patch 7.4.736
4838Problem: Invalid memory access.
4839Solution: Avoid going over the end of a NUL terminated string. (Dominique
4840 Pelle)
4841Files: src/regexp.c
4842
4843Patch 7.4.737
4844Problem: On MS-Windows vimgrep over arglist doesn't work (Issue 361)
4845Solution: Only escape backslashes in ## expansion when it is not used as the
4846 path separator. (James McCoy)
4847Files: src/ex_docmd.c
4848
4849Patch 7.4.738 (after 7.4.732)
4850Problem: Can't compile without the syntax highlighting feature.
4851Solution: Add #ifdef around use of w_p_cul. (Hirohito Higashi)
4852Files: src/normal.c, src/screen.c
4853
4854Patch 7.4.739
4855Problem: In a string "\U" only takes 4 digits, while after CTRL-V U eight
4856 digits can be used.
4857Solution: Make "\U" also take eight digits. (Christian Brabandt)
4858Files: src/eval.c
4859
4860Patch 7.4.740
4861Problem: ":1quit" works like ":.quit". (Bohr Shaw)
4862Solution: Don't exit Vim when a range is specified. (Christian Brabandt)
4863Files: src/ex_docmd.c, src/testdir/test13.in, src/testdir/test13.ok
4864
4865Patch 7.4.741
4866Problem: When using += with ":set" a trailing comma is not recognized.
4867 (Issue 365)
4868Solution: Don't add a second comma. Add a test. (partly by Christian
4869 Brabandt)
4870Files: src/option.c, src/testdir/test_set.in, src/testdir/test_set.ok,
4871 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
4872 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
4873 src/testdir/Make_vms.mms, src/testdir/Makefile
4874
4875Patch 7.4.742
4876Problem: Cannot specify a vertical split when loading a buffer for a
4877 quickfix command.
4878Solution: Add the "vsplit" value to 'switchbuf'. (Brook Hong)
4879Files: runtime/doc/options.txt, src/buffer.c, src/option.h
4880
4881Patch 7.4.743
4882Problem: "p" in Visual mode causes an unexpected line split.
4883Solution: Advance the cursor first. (Yukihiro Nakadaira)
4884Files: src/ops.c, src/testdir/test94.in, src/testdir/test94.ok
4885
4886Patch 7.4.744
4887Problem: No tests for Ruby and Perl.
4888Solution: Add minimal tests. (Ken Takata)
4889Files: src/testdir/test_perl.in, src/testdir/test_perl.ok,
4890 src/testdir/test_ruby.in, src/testdir/test_ruby.ok,
4891 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
4892 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
4893 src/testdir/Make_vms.mms, src/testdir/Makefile
4894
4895Patch 7.4.745
4896Problem: The entries added by matchaddpos() are returned by getmatches()
4897 but can't be set with setmatches(). (Lcd)
4898Solution: Fix setmatches(). (Christian Brabandt)
4899Files: src/eval.c, src/testdir/test63.in, src/testdir/test63.ok
4900
4901Patch 7.4.746
4902Problem: ":[count]tag" is not always working. (cs86661)
4903Solution: Set cur_match a bit later. (Hirohito Higashi)
4904Files: src/tag.c,
4905
4906Patch 7.4.747
4907Problem: ":cnext" may jump to the wrong column when setting
4908 'virtualedit=all' (cs86661)
4909Solution: Reset the coladd field. (Hirohito Higashi)
4910Files: src/quickfix.c
4911
4912Patch 7.4.748 (after 7.4.745)
4913Problem: Buffer overflow.
4914Solution: Make the buffer larger. (Kazunobu Kuriyama)
4915Files: src/eval.c
4916
4917Patch 7.4.749 (after 7.4.741)
Bram Moolenaard0796902016-09-16 20:02:31 +02004918Problem: For some options two consecutive commas are OK. (Nikolai Pavlov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004919Solution: Add the P_ONECOMMA flag.
4920Files: src/option.c
4921
4922Patch 7.4.750
4923Problem: Cannot build with clang 3.5 on Cygwin with perl enabled.
4924Solution: Strip "-fdebug-prefix-map" in configure. (Ken Takata)
4925Files: src/configure.in, src/auto/configure
4926
4927Patch 7.4.751
4928Problem: It is not obvious how to enable the address sanitizer.
4929Solution: Add commented-out flags in the Makefile. (Dominique Pelle)
4930 Also add missing test targets.
4931Files: src/Makefile
4932
4933Patch 7.4.752
4934Problem: Unicode 8.0 not supported.
4935Solution: Update tables for Unicode 8.0. Avoid E36 when running the script.
4936 (James McCoy)
4937Files: runtime/tools/unicode.vim, src/mbyte.c
4938
4939Patch 7.4.753
4940Problem: Appending in Visual mode with 'linebreak' set does not work
4941 properly. Also when 'selection' is "exclusive". (Ingo Karkat)
4942Solution: Recalculate virtual columns. (Christian Brabandt)
4943Files: src/normal.c, src/testdir/test_listlbr.in,
4944 src/testdir/test_listlbr.ok, src/testdir/test_listlbr_utf8.in,
4945 src/testdir/test_listlbr_utf8.ok
4946
4947Patch 7.4.754
4948Problem: Using CTRL-A in Visual mode does not work well. (Gary Johnson)
4949Solution: Make it increment all numbers in the Visual area. (Christian
4950 Brabandt)
4951Files: runtime/doc/change.txt, src/normal.c, src/ops.c,
4952 src/proto/ops.pro, src/testdir/Make_amiga.mak,
4953 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
4954 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
4955 src/testdir/Makefile, src/testdir/test_increment.in,
4956 src/testdir/test_increment.ok
4957
4958Patch 7.4.755
4959Problem: It is not easy to count the number of characters.
4960Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken
4961 Takata)
4962Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_utf8.in,
4963 src/testdir/test_utf8.ok
4964
4965Patch 7.4.756
4966Problem: Can't use strawberry Perl 5.22 x64 on MS-Windows.
4967Solution: Add new defines and #if. (Ken Takata)
4968Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_perl.xs
4969
4970Patch 7.4.757
4971Problem: Cannot detect the background color of a terminal.
4972Solution: Add T_RBG to request the background color if possible. (Lubomir
4973 Rintel)
4974Files: src/main.c, src/term.c, src/term.h, src/proto/term.pro
4975
4976Patch 7.4.758
4977Problem: When 'conceallevel' is 1 and quitting the command-line window with
4978 CTRL-C the first character ':' is erased.
4979Solution: Reset 'conceallevel' in the command-line window. (Hirohito
4980 Higashi)
4981Files: src/ex_getln.c
4982
4983Patch 7.4.759
4984Problem: Building with Lua 5.3 doesn't work, symbols have changed.
4985Solution: Use the new names for the new version. (Felix Schnizlein)
4986Files: src/if_lua.c
4987
4988Patch 7.4.760
4989Problem: Spelling mistakes are not displayed after ":syn spell".
4990Solution: Force a redraw after ":syn spell" command. (Christian Brabandt)
4991Files: src/syntax.c
4992
4993Patch 7.4.761 (after 7.4.757)
4994Problem: The request-background termcode implementation is incomplete.
4995Solution: Add the missing pieces.
4996Files: src/option.c, src/term.c
4997
4998Patch 7.4.762 (after 7.4.757)
4999Problem: Comment for may_req_bg_color() is wrong. (Christ van Willegen)
5000Solution: Rewrite the comment.
5001Files: src/term.c
5002
5003Patch 7.4.763 (after 7.4.759)
5004Problem: Building with Lua 5.1 doesn't work.
5005Solution: Define lua_replace and lua_remove. (KF Leong)
5006Files: src/if_lua.c
5007
5008Patch 7.4.764 (after 7.4.754)
5009Problem: test_increment fails on MS-Windows. (Ken Takata)
5010Solution: Clear Visual mappings. (Taro Muraoka)
5011Files: src/testdir/test_increment.in
5012
5013Patch 7.4.765 (after 7.4.754)
5014Problem: CTRL-A and CTRL-X in Visual mode do not always work well.
5015Solution: Improvements for increment and decrement. (Christian Brabandt)
5016Files: src/normal.c, src/ops.c, src/testdir/test_increment.in,
5017 src/testdir/test_increment.ok
5018
5019Patch 7.4.766 (after 7.4.757)
5020Problem: Background color check does not work on Tera Term.
5021Solution: Also recognize ST as a termination character. (Hirohito Higashi)
5022Files: src/term.c
5023
5024Patch 7.4.767
5025Problem: --remote-tab-silent can fail on MS-Windows.
5026Solution: Use single quotes to avoid problems with backslashes. (Idea by
5027 Weiyong Mao)
5028Files: src/main.c
5029
5030Patch 7.4.768
5031Problem: :diffoff only works properly once.
5032Solution: Also make :diffoff work when used a second time. (Olaf Dabrunz)
5033Files: src/diff.c
5034
5035Patch 7.4.769 (after 7.4 768)
5036Problem: Behavior of :diffoff is not tested.
5037Solution: Add a bit of testing. (Olaf Dabrunz)
5038Files: src/testdir/test47.in, src/testdir/test47.ok
5039
5040Patch 7.4.770 (after 7.4.766)
5041Problem: Background color response with transparency is not ignored.
5042Solution: Change the way escape sequences are recognized. (partly by
5043 Hirohito Higashi)
5044Files: src/ascii.h, src/term.c
5045
5046Patch 7.4.771
5047Problem: Search does not handle multi-byte character at the start position
5048 correctly.
5049Solution: Take byte size of character into account. (Yukihiro Nakadaira)
5050Files: src/search.c, src/testdir/Make_amiga.mak,
5051 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
5052 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
5053 src/testdir/Makefile, src/testdir/test_search_mbyte.in,
5054 src/testdir/test_search_mbyte.ok
5055
5056Patch 7.4.772
5057Problem: Racket 6.2 is not supported on MS-Windows.
5058Solution: Check for the "racket" subdirectory. (Weiyong Mao)
5059Files: src/Make_mvc.mak, src/if_mzsch.c
5060
5061Patch 7.4.773
5062Problem: 'langmap' is used in command-line mode when checking for mappings.
5063 Issue 376.
5064Solution: Do not use 'langmap' in command-line mode. (Larry Velazquez)
5065Files: src/getchar.c, src/testdir/test_mapping.in,
5066 src/testdir/test_mapping.ok
5067
5068Patch 7.4.774
5069Problem: When using the CompleteDone autocommand event it's difficult to
5070 get to the completed items.
5071Solution: Add the v:completed_items variable. (Shougo Matsu)
5072Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/edit.c,
5073 src/eval.c, src/macros.h, src/proto/eval.pro, src/vim.h
5074
5075Patch 7.4.775
5076Problem: It is not possible to avoid using the first item of completion.
5077Solution: Add the "noinsert" and "noselect" values to 'completeopt'. (Shougo
5078 Matsu)
5079Files: runtime/doc/options.txt, src/edit.c, src/option.c
5080
5081Patch 7.4.776
5082Problem: Equivalence class for 'd' does not work correctly.
5083Solution: Fix 0x1e0f and 0x1d0b. (Dominique Pelle)
5084Files: src/regexp.c, src/regexp_nfa.c
5085
5086Patch 7.4.777
5087Problem: The README file doesn't look nice on github.
5088Solution: Add a markdown version of the README file.
5089Files: Filelist, README.md
5090
5091Patch 7.4.778
5092Problem: Coverity warns for uninitialized variable.
5093Solution: Change condition of assignment.
5094Files: src/ops.c
5095
5096Patch 7.4.779
5097Problem: Using CTRL-A in a line without a number moves the cursor. May
5098 cause a crash when at the start of the line. (Urtica Dioica)
5099Solution: Do not move the cursor if no number was changed.
5100Files: src/ops.c
5101
5102Patch 7.4.780
5103Problem: Compiler complains about uninitialized variable and clobbered
5104 variables.
5105Solution: Add Initialization. Make variables static.
5106Files: src/ops.c, src/main.c
5107
5108Patch 7.4.781
5109Problem: line2byte() returns one less when 'bin' and 'noeol' are set.
5110Solution: Only adjust the size for the last line. (Rob Wu)
5111Files: src/memline.c
5112
5113Patch 7.4.782
5114Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode.
5115Solution: Fix the reported problems. (Christian Brabandt)
5116Files: src/charset.c, src/eval.c, src/ex_cmds.c, src/ex_getln.c,
5117 src/misc2.c, src/normal.c, src/ops.c, src/option.c,
5118 src/proto/charset.pro, src/testdir/test_increment.in,
5119 src/testdir/test_increment.ok
5120
5121Patch 7.4.783
5122Problem: copy_chars() and copy_spaces() are inefficient.
5123Solution: Use memset() instead. (Dominique Pelle)
5124Files: src/ex_getln.c, src/misc2.c, src/ops.c, src/proto/misc2.pro,
5125 src/screen.c
5126
5127Patch 7.4.784
5128Problem: Using both "noinsert" and "noselect" in 'completeopt' does not
5129 work properly.
5130Solution: Change the ins_complete() calls. (Ozaki Kiichi)
5131Files: src/edit.c
5132
5133Patch 7.4.785
5134Problem: On some systems automatically adding the missing EOL causes
5135 problems. Setting 'binary' has too many side effects.
5136Solution: Add the 'fixeol' option, default on. (Pavel Samarkin)
5137Files: src/buffer.c, src/fileio.c, src/memline.c, src/netbeans.c,
5138 src/ops.c, src/option.c, src/option.h, src/os_unix.c,
5139 src/os_win32.c, src/structs.h, src/testdir/Make_amiga.mak,
5140 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
5141 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
5142 src/testdir/Makefile, src/testdir/test_fixeol.in,
5143 src/testdir/test_fixeol.ok, runtime/doc/options.txt,
5144 runtime/optwin.vim
5145
5146Patch 7.4.786
5147Problem: It is not possible for a plugin to adjust to a changed setting.
5148Solution: Add the OptionSet autocommand event. (Christian Brabandt)
5149Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/eval.c,
5150 src/fileio.c, src/option.c, src/proto/eval.pro,
5151 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5152 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
5153 src/testdir/Make_vms.mms, src/testdir/Makefile,
5154 src/testdir/test_autocmd_option.in,
5155 src/testdir/test_autocmd_option.ok, src/vim.h
5156
5157Patch 7.4.787 (after 7.4.786)
5158Problem: snprintf() isn't available everywhere.
5159Solution: Use vim_snprintf(). (Ken Takata)
5160Files: src/option.c
5161
5162Patch 7.4.788 (after 7.4.787)
5163Problem: Can't build without the crypt feature. (John Marriott)
5164Solution: Add #ifdef's.
5165Files: src/option.c
5166
5167Patch 7.4.789 (after 7.4.788)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005168Problem: Using freed memory and crash. (Dominique Pelle)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005169Solution: Correct use of pointers. (Hirohito Higashi)
5170Files: src/option.c
5171
5172Patch 7.4.790 (after 7.4.786)
5173Problem: Test fails when the autochdir feature is not available. Test
5174 output contains the test script.
5175Solution: Check for the autochdir feature. (Kazunobu Kuriyama) Only write
5176 the relevant test output.
5177Files: src/testdir/test_autocmd_option.in,
5178 src/testdir/test_autocmd_option.ok
5179
5180Patch 7.4.791
5181Problem: The buffer list can be very long.
5182Solution: Add an argument to ":ls" to specify the type of buffer to list.
5183 (Marcin Szamotulski)
5184Files: runtime/doc/windows.txt, src/buffer.c, src/ex_cmds.h
5185
5186Patch 7.4.792
5187Problem: Can only conceal text by defining syntax items.
5188Solution: Use matchadd() to define concealing. (Christian Brabandt)
5189Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
5190 src/proto/window.pro, src/screen.c, src/structs.h,
5191 src/testdir/Make_amiga.mak,
5192 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
5193 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
5194 src/testdir/Makefile, src/testdir/test_match_conceal.in,
5195 src/testdir/test_match_conceal.ok, src/window.c
5196
5197Patch 7.4.793
5198Problem: Can't specify when not to ring the bell.
5199Solution: Add the 'belloff' option. (Christian Brabandt)
5200Files: runtime/doc/options.txt, src/edit.c, src/ex_getln.c,
5201 src/hangulin.c, src/if_lua.c, src/if_mzsch.c, src/if_tcl.c,
5202 src/message.c, src/misc1.c, src/normal.c, src/option.c,
5203 src/option.h, src/proto/misc1.pro, src/search.c, src/spell.c
5204
5205Patch 7.4.794
5206Problem: Visual Studio 2015 is not recognized.
5207Solution: Add the version numbers to the makefile. (Taro Muraoka)
5208Files: src/Make_mvc.mak
5209
5210Patch 7.4.795
5211Problem: The 'fixeol' option is not copied to a new window.
5212Solution: Copy the option value. (Yasuhiro Matsumoto)
5213Files: src/option.c
5214
5215Patch 7.4.796
5216Problem: Warning from 64 bit compiler.
5217Solution: Add type cast. (Mike Williams)
5218Files: src/ops.c
5219
5220Patch 7.4.797
5221Problem: Crash when using more lines for the command line than
5222 'maxcombine'.
5223Solution: Use the correct array index. Also, do not try redrawing when
5224 exiting. And use screen_Columns instead of Columns.
5225Files: src/screen.c
5226
5227Patch 7.4.798 (after 7.4.753)
5228Problem: Repeating a change in Visual mode does not work as expected.
5229 (Urtica Dioica)
5230Solution: Make redo in Visual mode work better. (Christian Brabandt)
5231Files: src/normal.c, src/testdir/test_listlbr.in,
5232 src/testdir/test_listlbr.ok
5233
5234Patch 7.4.799
5235Problem: Accessing memory before an allocated block.
5236Solution: Check for not going before the start of a pattern. (Dominique
5237 Pelle)
5238Files: src/fileio.c
5239
5240Patch 7.4.800
5241Problem: Using freed memory when triggering CmdUndefined autocommands.
5242Solution: Set pointer to NULL. (Dominique Pelle)
5243Files: src/ex_docmd.c
5244
5245Patch 7.4.801 (after 7.4.769)
5246Problem: Test for ":diffoff" doesn't catch all potential problems.
5247Solution: Add a :diffthis and a :diffoff command. (Olaf Dabrunz)
5248Files: src/testdir/test47.in
5249
5250Patch 7.4.802
5251Problem: Using "A" in Visual mode while 'linebreak' is set is not tested.
5252Solution: Add a test for this, verifies the problem is fixed. (Ingo Karkat)
5253Files: src/testdir/test39.in, src/testdir/test39.ok
5254
5255Patch 7.4.803
5256Problem: C indent does not support C11 raw strings. (Mark Lodato)
5257Solution: Do not change indent inside the raw string.
5258Files: src/search.c, src/misc1.c, src/edit.c, src/ops.c,
5259 src/testdir/test3.in, src/testdir/test3.ok
5260
5261Patch 7.4.804
5262Problem: Xxd doesn't have a license notice.
5263Solution: Add license as indicated by Juergen.
5264Files: src/xxd/xxd.c
5265
5266Patch 7.4.805
5267Problem: The ruler shows "Bot" even when there are only filler lines
5268 missing. (Gary Johnson)
5269Solution: Use "All" when the first line and one filler line are visible.
5270Files: src/buffer.c
5271
5272Patch 7.4.806
5273Problem: CTRL-A in Visual mode doesn't work properly with "alpha" in
Bram Moolenaar09521312016-08-12 22:54:35 +02005274 'nrformats'.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005275Solution: Make it work. (Christian Brabandt)
5276Files: src/ops.c, src/testdir/test_increment.in,
5277 src/testdir/test_increment.ok
5278
5279Patch 7.4.807 (after 7.4.798)
5280Problem: After CTRL-V CTRL-A mode isn't updated. (Hirohito Higashi)
5281Solution: Clear the command line or update the displayed command.
5282Files: src/normal.c
5283
5284Patch 7.4.808
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005285Problem: On MS-Windows 8 IME input doesn't work correctly.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005286Solution: Read console input before calling MsgWaitForMultipleObjects().
5287 (vim-jp, Nobuhiro Takasaki)
5288Files: src/os_win32.c
5289
5290Patch 7.4.809 (after 7.4.802)
5291Problem: Test is duplicated.
5292Solution: Roll back 7.4.802.
5293Files: src/testdir/test39.in, src/testdir/test39.ok
5294
5295Patch 7.4.810
5296Problem: With a sequence of commands using buffers in diff mode E749 is
5297 given. (itchyny)
5298Solution: Skip unloaded buffer. (Hirohito Higashi)
5299Files: src/diff.c
5300
5301Patch 7.4.811
5302Problem: Invalid memory access when using "exe 'sc'".
5303Solution: Avoid going over the end of the string. (Dominique Pelle)
5304Files: src/ex_docmd.c
5305
5306Patch 7.4.812
5307Problem: Gcc sanitizer complains about using a NULL pointer to memmove().
5308Solution: Only call memmove when there is something to move. (Vittorio
5309 Zecca)
5310Files: src/memline.c
5311
5312Patch 7.4.813
5313Problem: It is not possible to save and restore character search state.
5314Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
5315Files: runtime/doc/eval.txt, src/eval.c, src/proto/search.pro,
5316 src/search.c, src/testdir/test_charsearch.in,
5317 src/testdir/test_charsearch.ok, src/testdir/Makefile,
5318 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5319 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
5320 src/testdir/Make_vms.mms
5321
5322Patch 7.4.814
5323Problem: Illegal memory access with "sy match a fold".
5324Solution: Check for empty string. (Dominique Pelle)
5325Files: src/syntax.c
5326
5327Patch 7.4.815
5328Problem: Invalid memory access when doing ":call g:".
5329Solution: Check for an empty name. (Dominique Pelle)
5330Files: src/eval.c
5331
5332Patch 7.4.816
5333Problem: Invalid memory access when doing ":fun X(".
5334Solution: Check for missing ')'. (Dominique Pelle)
5335Files: src/eval.c
5336
5337Patch 7.4.817
5338Problem: Invalid memory access in file_pat_to_reg_pat().
5339Solution: Use vim_isspace() instead of checking for a space only. (Dominique
5340 Pelle)
5341Files: src/fileio.c
5342
5343Patch 7.4.818
5344Problem: 'linebreak' breaks c% if the last Visual selection was block.
5345 (Chris Morganiser, Issue 389)
5346Solution: Handle Visual block mode differently. (Christian Brabandt)
5347Files: src/normal.c, src/testdir/test_listlbr.in,
5348 src/testdir/test_listlbr.ok
5349
5350Patch 7.4.819
5351Problem: Beeping when running the tests.
5352Solution: Fix 41 beeps. (Roland Eggner)
5353Files: src/testdir/test17.in, src/testdir/test29.in,
5354 src/testdir/test4.in, src/testdir/test61.in,
5355 src/testdir/test82.in, src/testdir/test83.in,
5356 src/testdir/test90.in, src/testdir/test95.in,
5357 src/testdir/test_autoformat_join.in
5358
5359Patch 7.4.820
5360Problem: Invalid memory access in file_pat_to_reg_pat.
5361Solution: Avoid looking before the start of a string. (Dominique Pelle)
5362Files: src/fileio.c
5363
5364Patch 7.4.821
5365Problem: Coverity reports a few problems.
5366Solution: Avoid the warnings. (Christian Brabandt)
5367Files: src/ex_docmd.c, src/option.c, src/screen.c
5368
5369Patch 7.4.822
5370Problem: More problems reported by coverity.
5371Solution: Avoid the warnings. (Christian Brabandt)
5372Files: src/os_unix.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
5373 src/ex_getln.c, src/fold.c, src/gui.c, src/gui_w16.c,
5374 src/gui_w32.c, src/if_cscope.c, src/if_xcmdsrv.c, src/move.c,
5375 src/normal.c, src/regexp.c, src/syntax.c, src/ui.c, src/window.c
5376
5377Patch 7.4.823
5378Problem: Cursor moves after CTRL-A on alphabetic character.
5379Solution: (Hirohito Higashi, test by Christian Brabandt)
5380Files: src/testdir/test_increment.in, src/testdir/test_increment.ok,
5381 src/ops.c
5382
5383Patch 7.4.824 (after 7.4.813)
5384Problem: Can't compile without the multi-byte feature. (John Marriott)
5385Solution: Add #ifdef.
5386Files: src/eval.c
5387
5388Patch 7.4.825
5389Problem: Invalid memory access for ":syn keyword x a[".
5390Solution: Do not skip over the NUL. (Dominique Pelle)
5391Files: src/syntax.c
5392
5393Patch 7.4.826
5394Problem: Compiler warnings and errors.
5395Solution: Make it build properly without the multi-byte feature.
5396Files: src/eval.c, src/search.c
5397
5398Patch 7.4.827
5399Problem: Not all test targets are in the Makefile.
5400Solution: Add the missing targets.
5401Files: src/Makefile
5402
5403Patch 7.4.828
5404Problem: Crash when using "syn keyword x c". (Dominique Pelle)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005405Solution: Initialize the keyword table. (Raymond Ko, PR 397)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005406Files: src/syntax.c
5407
5408Patch 7.4.829
5409Problem: Crash when clicking in beval balloon. (Travis Lebsock)
5410Solution: Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298)
5411Files: src/gui_w32.c
5412
5413Patch 7.4.830
5414Problem: Resetting 'encoding' when doing ":set all&" causes problems.
5415 (Bjorn Linse) Display is not updated.
5416Solution: Do not reset 'encoding'. Do a full redraw.
5417Files: src/option.c
5418
5419Patch 7.4.831
5420Problem: When expanding `=expr` on the command line and encountering an
5421 error, the command is executed anyway.
5422Solution: Bail out when an error is detected.
5423Files: src/misc1.c
5424
5425Patch 7.4.832
5426Problem: $HOME in `=$HOME . '/.vimrc'` is expanded too early.
5427Solution: Skip over `=expr` when expanding environment names.
5428Files: src/misc1.c
5429
5430Patch 7.4.833
5431Problem: More side effects of ":set all&" are missing. (Björn Linse)
5432Solution: Call didset_options() and add didset_options2() to collect more
5433 side effects to take care of. Still not everything...
5434Files: src/option.c
5435
5436Patch 7.4.834
5437Problem: gettabvar() doesn't work after Vim start. (Szymon Wrozynski)
5438Solution: Handle first window in tab still being NULL. (Christian Brabandt)
5439Files: src/eval.c, src/testdir/test91.in, src/testdir/test91.ok
5440
5441Patch 7.4.835
5442Problem: Comparing utf-8 sequences does not handle different byte sizes
5443 correctly.
5444Solution: Get the byte size of each character. (Dominique Pelle)
5445Files: src/misc2.c
5446
5447Patch 7.4.836
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005448Problem: Accessing uninitialized memory.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005449Solution: Add missing calls to init_tv(). (Dominique Pelle)
5450Files: src/eval.c
5451
5452Patch 7.4.837
5453Problem: Compiler warning with MSVC compiler when using +sniff.
5454Solution: Use Sleep() instead of _sleep(). (Tux)
5455Files: src/if_sniff.c
5456
5457Patch 7.4.838 (after 7.4.833)
5458Problem: Can't compile without the crypt feature. (John Marriott)
5459Solution: Add #ifdef.
5460Files: src/option.c
5461
5462Patch 7.4.839
5463Problem: Compiler warning on 64-bit system.
5464Solution: Add cast to int. (Mike Williams)
5465Files: src/search.c
5466
5467Patch 7.4.840 (after 7.4.829)
5468Problem: Tooltip window stays open.
5469Solution: Send a WM_CLOSE message. (Jurgen Kramer)
5470Files: src/gui_w32.c
5471
5472Patch 7.4.841
5473Problem: Can't compile without the multi-byte feature. (John Marriott)
5474Solution: Add more #ifdef's.
5475Files: src/option.c
5476
5477Patch 7.4.842 (after 7.4.840)
5478Problem: Sending too many messages to close the balloon.
5479Solution: Only send a WM_CLOSE message. (Jurgen Kramer)
5480Files: src/gui_w32.c
5481
5482Patch 7.4.843 (after 7.4.835)
5483Problem: Still possible to go beyond the end of a string.
5484Solution: Check for NUL also in second string. (Dominique Pelle)
5485Files: src/misc2.c
5486
5487Patch 7.4.844
5488Problem: When '#' is in 'isident' the is# comparator doesn't work.
5489Solution: Don't use vim_isIDc(). (Yasuhiro Matsumoto)
5490Files: src/eval.c, src/testdir/test_comparators.in,
5491 src/testdir/test_comparators.ok, src/testdir/Makefile,
5492 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5493 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
5494 src/testdir/Make_vms.mms
5495
5496Patch 7.4.845
5497Problem: Compiler warning for possible loss of data.
5498Solution: Add a type cast. (Erich Ritz)
5499Files: src/misc1.c
5500
5501Patch 7.4.846
5502Problem: Some GitHub users don't know how to use issues.
5503Solution: Add a file that explains the basics of contributing.
5504Files: Filelist, CONTRIBUTING.md
5505
5506Patch 7.4.847
5507Problem: "vi)d" may leave a character behind.
5508Solution: Skip over multi-byte character. (Christian Brabandt)
5509Files: src/search.c
5510
5511Patch 7.4.848
5512Problem: CTRL-A on hex number in Visual block mode is incorrect.
5513Solution: Account for the "0x". (Hirohito Higashi)
5514Files: src/charset.c, src/testdir/test_increment.in,
5515 src/testdir/test_increment.ok
5516
5517Patch 7.4.849
5518Problem: Moving the cursor in Insert mode starts new undo sequence.
5519Solution: Add CTRL-G U to keep the undo sequence for the following cursor
5520 movement command. (Christian Brabandt)
5521Files: runtime/doc/insert.txt, src/edit.c, src/testdir/test_mapping.in,
5522 src/testdir/test_mapping.ok
5523
5524Patch 7.4.850 (after 7.4.846)
5525Problem: <Esc> does not show up.
5526Solution: Use &gt; and &lt;. (Kazunobu Kuriyama)
5527Files: CONTRIBUTING.md
5528
5529Patch 7.4.851
5530Problem: Saving and restoring the console buffer does not work properly.
5531Solution: Instead of ReadConsoleOutputA/WriteConsoleOutputA use
5532 CreateConsoleScreenBuffer and SetConsoleActiveScreenBuffer.
5533 (Ken Takata)
5534Files: src/os_win32.c
5535
5536Patch 7.4.852
5537Problem: On MS-Windows console Vim uses ANSI APIs for keyboard input and
5538 console output, it cannot input/output Unicode characters.
5539Solution: Use Unicode APIs for console I/O. (Ken Takata, Yasuhiro Matsumoto)
5540Files: src/os_win32.c, src/ui.c, runtime/doc/options.txt
5541
5542Patch 7.4.853
5543Problem: "zt" in diff mode does not always work properly. (Gary Johnson)
5544Solution: Don't count filler lines twice. (Christian Brabandt)
5545Files: src/move.c
5546
5547Patch 7.4.854 (after 7.4.850)
5548Problem: Missing information about runtime files.
5549Solution: Add section about runtime files. (Christian Brabandt)
5550Files: CONTRIBUTING.md
5551
5552Patch 7.4.855
5553Problem: GTK: font glitches for combining characters
5554Solution: Use pango_shape_full() instead of pango_shape(). (luchr, PR #393)
5555Files: src/gui_gtk_x11.c
5556
5557Patch 7.4.856
5558Problem: "zt" still doesn't work well with filler lines. (Gary Johnson)
5559Solution: Check for filler lines above the cursor. (Christian Brabandt)
5560Files: src/move.c
5561
5562Patch 7.4.857
5563Problem: Dragging the current tab with the mouse doesn't work properly.
5564Solution: Take the current tabpage index into account. (Hirohito Higashi)
5565Files: src/normal.c
5566
5567Patch 7.4.858
5568Problem: It's a bit clumsy to execute a command on a list of matches.
5569Solution: Add the ":ldo", ":lfdo", ":cdo" and ":cfdo" commands. (Yegappan
5570 Lakshmanan)
5571Files: runtime/doc/cmdline.txt, runtime/doc/editing.txt,
5572 runtime/doc/index.txt, runtime/doc/quickfix.txt,
5573 runtime/doc/tabpage.txt, runtime/doc/windows.txt, src/ex_cmds.h,
5574 src/ex_cmds2.c, src/ex_docmd.c, src/proto/quickfix.pro,
5575 src/quickfix.c, src/testdir/Make_amiga.mak,
5576 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
5577 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
5578 src/testdir/Makefile, src/testdir/test_cdo.in,
5579 src/testdir/test_cdo.ok
5580
5581Patch 7.4.859
5582Problem: Vim doesn't recognize all htmldjango files.
5583Solution: Recognize a comment. (Daniel Hahler, PR #410)
5584Files: runtime/filetype.vim
5585
5586Patch 7.4.860
5587Problem: Filetype detection is outdated.
5588Solution: Include all recent and not-so-recent changes.
5589Files: runtime/filetype.vim
5590
5591Patch 7.4.861 (after 7.4.855)
5592Problem: pango_shape_full() is not always available.
5593Solution: Add a configure check.
5594Files: src/configure.in, src/auto/configure, src/config.h.in,
5595 src/gui_gtk_x11.c
5596
5597Patch 7.4.862 (after 7.4.861)
5598Problem: Still problems with pango_shape_full() not available.
5599Solution: Change AC_TRY_COMPILE to AC_TRY_LINK.
5600Files: src/configure.in, src/auto/configure
5601
5602Patch 7.4.863 (after 7.4.856)
5603Problem: plines_nofill() used without the diff feature.
5604Solution: Define PLINES_NOFILL().
5605Files: src/macros.h, src/move.c
5606
5607Patch 7.4.864 (after 7.4.858)
5608Problem: Tiny build fails.
5609Solution: Put qf_ items inside #ifdef.
5610Files: src/ex_docmd.c
5611
5612Patch 7.4.865
5613Problem: Compiler warning for uninitialized variable.
5614Solution: Initialize.
5615Files: src/ex_cmds2.c
5616
5617Patch 7.4.866
5618Problem: Crash when changing the 'tags' option from a remote command.
5619 (Benjamin Fritz)
5620Solution: Instead of executing messages immediately, use a queue, like for
5621 netbeans. (James Kolb)
5622Files: src/ex_docmd.c, src/getchar.c, src/gui_gtk_x11.c, src/gui_w48.c,
5623 src/gui_x11.c, src/if_xcmdsrv.c, src/misc2.c, src/os_unix.c,
5624 src/proto/if_xcmdsrv.pro, src/proto/misc2.pro, src/macros.h
5625
5626Patch 7.4.867 (after 7.4.866)
5627Problem: Can't build on MS-Windows. (Taro Muraoka)
5628Solution: Adjust #ifdef.
5629Files: src/misc2.c
5630
5631Patch 7.4.868
5632Problem: 'smarttab' is also effective when 'paste' is enabled. (Alexander
5633 Monakov)
5634Solution: Disable 'smarttab' when 'paste' is set. (Christian Brabandt)
5635 Do the same for 'expandtab'.
5636Files: src/option.c, src/structs.h
5637
5638Patch 7.4.869
5639Problem: MS-Windows: scrolling may cause text to disappear when using an
5640 Intel GPU.
5641Solution: Call GetPixel(). (Yohei Endo)
5642Files: src/gui_w48.c
5643
5644Patch 7.4.870
5645Problem: May get into an invalid state when using getchar() in an
5646 expression mapping.
5647Solution: Anticipate mod_mask to change. (idea by Yukihiro Nakadaira)
5648Files: src/getchar.c
5649
5650Patch 7.4.871
5651Problem: Vim leaks memory, when 'wildignore' filters out all matches.
5652Solution: Free the files array when it becomes empty.
5653Files: src/misc1.c
5654
5655Patch 7.4.872
5656Problem: Not using CI services available.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005657Solution: Add configuration files for travis and appveyor. (Ken Takata,
5658 vim-jp, PR #401)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005659Files: .travis.yml, appveyor.yml, Filelist
5660
5661Patch 7.4.873 (after 7.4.866)
5662Problem: Compiler warning for unused variable. (Tony Mechelynck)
5663Solution: Remove the variable. Also fix int vs long_u mixup.
5664Files: src/if_xcmdsrv.c
5665
5666Patch 7.4.874
5667Problem: MS-Windows: When Vim runs inside another application, the size
5668 isn't right.
5669Solution: When in child mode compute the size differently. (Agorgianitis
5670 Loukas)
5671Files: src/gui_w48.c
5672
5673Patch 7.4.875
5674Problem: Not obvious how to contribute.
5675Solution: Add a remark about CONTRIBUTING.md to README.md
5676Files: README.md
5677
5678Patch 7.4.876
5679Problem: Windows7: when using vim.exe with msys or msys2, conhost.exe
5680 (console window provider on Windows7) will freeze or crash.
5681Solution: Make original screen buffer active, before executing external
5682 program. And when the program is finished, revert to vim's one.
5683 (Taro Muraoka)
5684Files: src/os_win32.c
5685
5686Patch 7.4.877 (after 7.4.843)
5687Problem: ":find" sometimes fails. (Excanoe)
5688Solution: Compare current characters instead of previous ones.
5689Files: src/misc2.c
5690
5691Patch 7.4.878
5692Problem: Coverity error for clearing only one byte of struct.
5693Solution: Clear the whole struct. (Dominique Pelle)
5694Files: src/ex_docmd.c
5695
5696Patch 7.4.879
5697Problem: Can't see line numbers in nested function calls.
5698Solution: Add line number to the file name. (Alberto Fanjul)
5699Files: src/eval.c
5700
5701Patch 7.4.880
5702Problem: No build and coverage status.
5703Solution: Add links to the README file. (Christian Brabandt)
5704Files: README.md
5705
5706Patch 7.4.881 (after 7.4.879)
5707Problem: Test 49 fails.
5708Solution: Add line number to check of call stack.
5709Files: src/testdir/test49.vim
5710
5711Patch 7.4.882
5712Problem: When leaving the command line window with CTRL-C while a
5713 completion menu is displayed the menu isn't removed.
5714Solution: Force a screen update. (Hirohito Higashi)
5715Files: src/edit.c
5716
5717Patch 7.4.883 (after 7.4.818)
5718Problem: Block-mode replace works characterwise instead of blockwise after
5719 column 147. (Issue #422)
5720Solution: Set Visual mode. (Christian Brabandt)
5721Files: src/normal.c, src/testdir/test_listlbr.in,
5722 src/testdir/test_listlbr.ok
5723
5724Patch 7.4.884
5725Problem: Travis also builds on a tag push.
5726Solution: Filter out tag pushes. (Kenichi Ito)
5727Files: .travis.yml
5728
5729Patch 7.4.885
5730Problem: When doing an upwards search without wildcards the search fails if
5731 the initial directory doesn't exist.
5732Solution: Fix the non-wildcard case. (Stefan Kempf)
5733Files: src/misc2.c
5734
5735Patch 7.4.886 (after 7.4.876)
5736Problem: Windows7: Switching screen buffer causes flicker when using
5737 system().
5738Solution: Instead of actually switching screen buffer, duplicate the handle.
5739 (Yasuhiro Matsumoto)
5740Files: src/os_win32.c
5741
5742Patch 7.4.887
5743Problem: Using uninitialized memory for regexp with back reference.
5744 (Dominique Pelle)
5745Solution: Initialize end_lnum.
5746Files: src/regexp_nfa.c
5747
5748Patch 7.4.888
5749Problem: The OptionSet autocommands are not triggered from setwinvar().
5750Solution: Do not use switch_win() when not needed. (Hirohito Higashi)
5751Files: src/eval.c
5752
5753Patch 7.4.889
5754Problem: Triggering OptionSet from setwinvar() isn't tested.
5755Solution: Add a test. (Christian Brabandt)
5756Files: src/testdir/test_autocmd_option.in,
5757 src/testdir/test_autocmd_option.ok
5758
5759Patch 7.4.890
5760Problem: Build failure when using dynamic python but not python3.
5761Solution: Adjust the #if to also include DYNAMIC_PYTHON3 and UNIX.
5762Files: src/if_python3.c
5763
5764Patch 7.4.891
5765Problem: Indentation of array initializer is wrong.
5766Solution: Avoid that calling find_start_rawstring() changes the position
5767 returned by find_start_comment(), add a test. (Hirohito Higashi)
5768Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
5769
5770Patch 7.4.892
5771Problem: On MS-Windows the iconv DLL may have a different name.
5772Solution: Also try libiconv2.dll and libiconv-2.dll. (Yasuhiro Matsumoto)
5773Files: src/mbyte.c
5774
5775Patch 7.4.893
5776Problem: C indenting is wrong below a "case (foo):" because it is
5777 recognized as a C++ base class construct. Issue #38.
5778Solution: Check for the case keyword.
5779Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
5780
5781Patch 7.4.894
5782Problem: vimrun.exe is picky about the number of spaces before -s.
5783Solution: Skip all spaces. (Cam Sinclair)
5784Files: src/vimrun.c
5785
5786Patch 7.4.895
5787Problem: Custom command line completion does not work for a command
5788 containing digits.
5789Solution: Skip over the digits. (suggested by Yasuhiro Matsumoto)
5790Files: src/ex_docmd.c
5791
5792Patch 7.4.896
5793Problem: Editing a URL, which netrw should handle, doesn't work.
5794Solution: Avoid changing slashes to backslashes. (Yasuhiro Matsumoto)
5795Files: src/fileio.c, src/os_mswin.c
5796
5797Patch 7.4.897
5798Problem: Freeze and crash when there is a sleep in a remote command.
5799 (Karl Yngve Lervåg)
5800Solution: Remove a message from the queue before dealing with it. (James
5801 Kolb)
5802Files: src/if_xcmdsrv.c
5803
5804Patch 7.4.898
5805Problem: The 'fixendofline' option is set on with ":edit".
5806Solution: Don't set the option when clearing a buffer. (Yasuhiro Matsumoto)
5807Files: src/buffer.c
5808
5809Patch 7.4.899
5810Problem: README file is not optimal.
5811Solution: Move buttons, update some text. (closes #460)
5812Files: README.txt, README.md
5813
5814Patch 7.4.900 (after 7.4.899)
5815Problem: README file can still be improved
5816Solution: Add a couple of links. (Christian Brabandt)
5817Files: README.md
5818
5819Patch 7.4.901
5820Problem: When a BufLeave autocommand changes folding in a way it syncs
5821 undo, undo can be corrupted.
5822Solution: Prevent undo sync. (Jacob Niehus)
5823Files: src/popupmnu.c
5824
5825Patch 7.4.902
5826Problem: Problems with using the MS-Windows console.
5827Solution: Revert patches 7.4.851, 7.4.876 and 7.4.886 until we find a better
5828 solution. (suggested by Ken Takata)
5829Files: src/os_win32.c
5830
5831Patch 7.4.903
5832Problem: MS-Windows: When 'encoding' differs from the current code page,
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005833 expanding wildcards may cause illegal memory access.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005834Solution: Allocate a longer buffer. (Ken Takata)
5835Files: src/misc1.c
5836
5837Patch 7.4.904
5838Problem: Vim does not provide .desktop files.
5839Solution: Include and install .desktop files. (James McCoy, closes #455)
5840Files: Filelist, runtime/vim.desktop, runtime/gvim.desktop, src/Makefile
5841
5842Patch 7.4.905
5843Problem: Python interface can produce error "vim.message' object has no
5844 attribute 'isatty'".
5845Solution: Add dummy isatty(), readable(), etc. (closes #464)
5846Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
5847 src/testdir/test87.in, src/testdir/test87.ok
5848
5849Patch 7.4.906
5850Problem: On MS-Windows the viminfo file is (always) given the hidden
5851 attribute. (raulnac)
5852Solution: Check the hidden attribute in a different way. (Ken Takata)
5853Files: src/ex_cmds.c, src/os_win32.c, src/os_win32.pro
5854
5855Patch 7.4.907
5856Problem: Libraries for dynamically loading interfaces can only be defined
5857 at compile time.
5858Solution: Add options to specify the dll names. (Kazuki Sakamoto,
5859 closes #452)
5860Files: runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
5861 runtime/doc/if_pyth.txt, runtime/doc/if_ruby.txt,
5862 runtime/doc/options.txt, src/if_lua.c, src/if_perl.xs,
5863 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/option.c,
5864 src/option.h
5865
5866Patch 7.4.908 (after 7.4.907)
5867Problem: Build error with MingW compiler. (Cesar Romani)
5868Solution: Change #if into #ifdef.
5869Files: src/if_perl.xs
5870
5871Patch 7.4.909 (after 7.4.905)
5872Problem: "make install" fails.
5873Solution: Only try installing desktop files if the destination directory
5874 exists.
5875Files: src/Makefile
5876
5877Patch 7.4.910 (after 7.4.905)
5878Problem: Compiler complains about type punned pointer.
5879Solution: Use another way to increment the ref count.
5880Files: src/if_py_both.h
5881
5882Patch 7.4.911
5883Problem: t_Ce and t_Cs are documented but not supported. (Hirohito Higashi)
5884Solution: Define the options.
5885Files: src/option.c
5886
5887Patch 7.4.912
5888Problem: Wrong indenting for C++ constructor.
5889Solution: Recognize ::. (Anhong)
5890Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
5891
5892Patch 7.4.913
5893Problem: No utf-8 support for the hangul input feature.
5894Solution: Add utf-8 support. (Namsh)
5895Files: src/gui.c, src/hangulin.c, src/proto/hangulin.pro, src/screen.c,
5896 src/ui.c, runtime/doc/hangulin.txt, src/feature.h
5897
5898Patch 7.4.914
5899Problem: New compiler warning: logical-not-parentheses
5900Solution: Silence the warning.
5901Files: src/term.c
5902
5903Patch 7.4.915
5904Problem: When removing from 'path' and then adding, a comma may go missing.
5905 (Malcolm Rowe)
5906Solution: Fix the check for P_ONECOMMA. (closes #471)
5907Files: src/option.c, src/testdir/test_options.in,
5908 src/testdir/test_options.ok
5909
5910Patch 7.4.916
5911Problem: When running out of memory while copying a dict memory may be
5912 freed twice. (ZyX)
5913Solution: Do not call the garbage collector when running out of memory.
5914Files: src/misc2.c
5915
5916Patch 7.4.917
5917Problem: Compiler warning for comparing signed and unsigned.
5918Solution: Add a type cast.
5919Files: src/hangulin.c
5920
5921Patch 7.4.918
5922Problem: A digit in an option name has problems.
5923Solution: Rename 'python3dll' to 'pythonthreedll'.
5924Files: src/option.c, src/option.h, runtime/doc/options.txt
5925
5926Patch 7.4.919
5927Problem: The dll options are not in the options window.
5928Solution: Add the dll options. And other fixes.
5929Files: runtime/optwin.vim
5930
5931Patch 7.4.920
5932Problem: The rubydll option is not in the options window.
5933Solution: Add the rubydll option.
5934Files: runtime/optwin.vim
5935
5936Patch 7.4.921 (after 7.4.906)
5937Problem: Missing proto file update. (Randall W. Morris)
5938Solution: Add the missing line for mch_ishidden.
5939Files: src/proto/os_win32.pro
5940
5941Patch 7.4.922
5942Problem: Leaking memory with ":helpt {dir-not-exists}".
5943Solution: Free dirname. (Dominique Pelle)
5944Files: src/ex_cmds.c
5945
5946Patch 7.4.923
5947Problem: Prototypes not always generated.
5948Solution: Change #if to OR with PROTO.
5949Files: src/window.c
5950
5951Patch 7.4.924
5952Problem: DEVELOPER_DIR gets reset by configure.
5953Solution: Do not reset DEVELOPER_DIR when there is no --with-developer-dir
5954 argument. (Kazuki Sakamoto, closes #482)
5955Files: src/configure.in, src/auto/configure
5956
5957Patch 7.4.925
5958Problem: User may yank or put using the register being recorded in.
5959Solution: Add the recording register in the message. (Christian Brabandt,
5960 closes #470)
5961Files: runtime/doc/options.txt, runtime/doc/repeat.txt, src/ops.c,
5962 src/option.h, src/screen.c
5963
5964Patch 7.4.926
5965Problem: Completing the longest match doesn't work properly with multi-byte
5966 characters.
5967Solution: When using multi-byte characters use another way to find the
5968 longest match. (Hirohito Higashi)
5969Files: src/ex_getln.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok
5970
5971Patch 7.4.927
5972Problem: Ruby crashes when there is a runtime error.
5973Solution: Use ruby_options() instead of ruby_process_options(). (Damien)
5974Files: src/if_ruby.c
5975
5976Patch 7.4.928
5977Problem: A clientserver message interrupts handling keys of a mapping.
5978Solution: Have mch_inchar() send control back to WaitForChar when it is
5979 interrupted by server message. (James Kolb)
5980Files: src/os_unix.c
5981
5982Patch 7.4.929
5983Problem: "gv" after paste selects one character less if 'selection' is
5984 "exclusive".
5985Solution: Increment the end position. (Christian Brabandt)
5986Files: src/normal.c, src/testdir/test94.in, src/testdir/test94.ok
5987
5988Patch 7.4.930
5989Problem: MS-Windows: Most users appear not to like the window border.
5990Solution: Remove WS_EX_CLIENTEDGE. (Ian Halliday)
5991Files: src/gui_w32.c
5992
5993Patch 7.4.931 (after 7.4.929)
5994Problem: Test 94 fails on some systems.
5995Solution: Set 'encoding' to utf-8.
5996Files: src/testdir/test94.in
5997
5998Patch 7.4.932 (after 7.4.926)
5999Problem: test_utf8 has confusing dummy command.
6000Solution: Use a real command instead of a colon.
6001Files: src/testdir/test_utf8.in
6002
6003Patch 7.4.933 (after 7.4.926)
6004Problem: Crash when using longest completion match.
6005Solution: Fix array index.
6006Files: src/ex_getln.c
6007
6008Patch 7.4.934
6009Problem: Appveyor also builds on a tag push.
6010Solution: Add a skip_tags line. (Kenichi Ito, closes #489)
6011Files: appveyor.yml
6012
6013Patch 7.4.935 (after 7.4.932)
6014Problem: test_utf8 fails on MS-Windows when executed with gvim.
6015Solution: Use the insert flag on feedkeys() to put the string before the
6016 ":" that was already read when checking for available chars.
6017Files: src/testdir/test_utf8.in
6018
6019Patch 7.4.936
6020Problem: Crash when dragging with the mouse.
6021Solution: Add safety check for NULL pointer. Check mouse position for valid
6022 value. (Hirohito Higashi)
6023Files: src/window.c, src/term.c
6024
6025Patch 7.4.937
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006026Problem: Segfault reading uninitialized memory.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006027Solution: Do not read match \z0, it does not exist. (Marius Gedminas, closes
6028 #497)
6029Files: src/regexp_nfa.c
6030
6031Patch 7.4.938
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006032Problem: X11 and GTK have more mouse buttons than Vim supports.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006033Solution: Recognize more mouse buttons. (Benoit Pierre, closes #498)
6034Files: src/gui_gtk_x11.c, src/gui_x11.c
6035
6036Patch 7.4.939
6037Problem: Memory leak when encountering a syntax error.
6038Solution: Free the memory. (Dominique Pelle)
6039Files: src/ex_docmd.c
6040
6041Patch 7.4.940
6042Problem: vt52 terminal codes are not correct.
6043Solution: Move entries outside of #if. (Random) Adjustments based on
6044 documented codes.
6045Files: src/term.c
6046
6047Patch 7.4.941
6048Problem: There is no way to ignore case only for tag searches.
6049Solution: Add the 'tagcase' option. (Gary Johnson)
6050Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
6051 runtime/doc/tagsrch.txt, runtime/doc/usr_29.txt,
6052 runtime/optwin.vim, src/Makefile, src/buffer.c, src/option.c,
6053 src/option.h, src/structs.h, src/tag.c,
6054 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6055 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6056 src/testdir/Make_vms.mms, src/testdir/Makefile,
6057 src/testdir/test_tagcase.in, src/testdir/test_tagcase.ok
6058
6059Patch 7.4.942 (after 7.4.941)
6060Problem: test_tagcase breaks for small builds.
6061Solution: Bail out of the test early. (Hirohito Higashi)
6062Files: src/testdir/test_tagcase.in
6063
6064Patch 7.4.943
6065Problem: Tests are not run.
6066Solution: Add test_writefile to makefiles. (Ken Takata)
6067Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6068 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6069 src/testdir/Make_vms.mms, src/testdir/Makefile
6070
6071Patch 7.4.944
6072Problem: Writing tests for Vim script is hard.
6073Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add
6074 the v:errors variable. Add the runtest script. Add a first new
6075 style test script.
6076Files: src/eval.c, src/vim.h, src/misc2.c, src/testdir/Makefile,
6077 src/testdir/runtest.vim, src/testdir/test_assert.vim,
6078 runtime/doc/eval.txt
6079
6080Patch 7.4.945 (after 7.4.944)
6081Problem: New style testing is incomplete.
6082Solution: Add the runtest script to the list of distributed files.
6083 Add the new functions to the function overview.
6084 Rename the functions to match Vim function style.
6085 Move undolevels testing into a new style test script.
6086Files: Filelist, runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6087 src/testdir/test_assert.vim, src/testdir/Makefile,
6088 src/testdir/test_undolevels.vim, src/testdir/test100.in,
6089 src/testdir/test100.ok
6090
6091Patch 7.4.946 (after 7.4.945)
6092Problem: Missing changes in source file.
6093Solution: Include changes to the eval.c file.
6094Files: src/eval.c
6095
6096Patch 7.4.947
6097Problem: Test_listchars fails with MingW. (Michael Soyka)
6098Solution: Add the test to the ones that need the fileformat fixed.
6099 (Christian Brabandt)
6100Files: src/testdir/Make_ming.mak
6101
6102Patch 7.4.948
6103Problem: Can't build when the insert_expand feature is disabled.
6104Solution: Add #ifdefs. (Dan Pasanen, closes #499)
6105Files: src/eval.c, src/fileio.c
6106
6107Patch 7.4.949
6108Problem: When using 'colorcolumn' and there is a sign with a fullwidth
6109 character the highlighting is wrong. (Andrew Stewart)
6110Solution: Only increment vcol when in the right state. (Christian Brabandt)
6111Files: src/screen.c, src/testdir/test_listlbr_utf8.in,
6112 src/testdir/test_listlbr_utf8.ok
6113
6114Patch 7.4.950
6115Problem: v:errors is not initialized.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006116Solution: Initialize it to an empty list. (Thinca)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006117Files: src/eval.c
6118
6119Patch 7.4.951
6120Problem: Sorting number strings does not work as expected. (Luc Hermitte)
Bram Moolenaarabd468e2016-09-08 22:22:43 +02006121Solution: Add the "N" argument to sort()
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006122Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim,
6123 src/testdir/test_sort.vim, src/testdir/Makefile
6124
6125Patch 7.4.952
6126Problem: 'lispwords' is tested in the old way.
6127Solution: Make a new style test for 'lispwords'.
6128Files: src/testdir/test_alot.vim, src/testdir/test_lispwords.vim,
6129 src/testdir/test100.in, src/testdir/test100.ok,
6130 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6131 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6132 src/testdir/Make_vms.mms, src/testdir/Makefile
6133
6134Patch 7.4.953
6135Problem: When a test script navigates to another buffer the .res file is
6136 created with the wrong name.
6137Solution: Use the "testname" for the .res file. (Damien)
6138Files: src/testdir/runtest.vim
6139
6140Patch 7.4.954
6141Problem: When using Lua there may be a crash. (issue #468)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006142Solution: Avoid using an uninitialized tv. (Yukihiro Nakadaira)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006143Files: src/if_lua.c
6144
6145Patch 7.4.955
6146Problem: Vim doesn't recognize .pl6 and .pod6 files.
6147Solution: Recognize them as perl6 and pod6. (Mike Eve, closes #511)
6148Files: runtime/filetype.vim
6149
6150Patch 7.4.956
6151Problem: A few more file name extensions not recognized.
6152Solution: Add .asciidoc, .bzl, .gradle, etc.
6153Files: runtime/filetype.vim
6154
6155Patch 7.4.957
6156Problem: Test_tagcase fails when using another language than English.
6157Solution: Set the messages language to C. (Kenichi Ito)
6158Files: src/testdir/test_tagcase.in
6159
6160Patch 7.4.958
6161Problem: Vim checks if the directory "$TMPDIR" exists.
6162Solution: Do not check if the name starts with "$".
6163Files: src/fileio.c
6164
6165Patch 7.4.959
6166Problem: When setting 'term' the clipboard ownership is lost.
6167Solution: Do not call clip_init(). (James McCoy)
6168Files: src/term.c
6169
6170Patch 7.4.960
6171Problem: Detecting every version of nmake is clumsy.
6172Solution: Use a tiny C program to get the version of _MSC_VER. (Ken Takata)
6173Files: src/Make_mvc.mak
6174
6175Patch 7.4.961
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006176Problem: Test107 fails in some circumstances.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006177Solution: When using "zt", "zb" and "z=" recompute the fraction.
6178Files: src/normal.c, src/window.c, src/proto/window.pro
6179
6180Patch 7.4.962
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006181Problem: Cannot run the tests with gvim. Cannot run individual new tests.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006182Solution: Add the -f flag. Add new test targets in Makefile.
6183Files: src/Makefile, src/testdir/Makefile
6184
6185Patch 7.4.963
6186Problem: test_listlbr_utf8 sometimes fails.
6187Solution: Don't use a literal multibyte character but <C-V>uXXXX. Do not
6188 dump the screen highlighting. (Christian Brabandt, closes #518)
6189Files: src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok
6190
6191Patch 7.4.964
6192Problem: Test 87 doesn't work in a shadow directory.
6193Solution: Handle the extra subdirectory. (James McCoy, closes #515)
6194Files: src/testdir/test87.in
6195
6196Patch 7.4.965
6197Problem: On FreeBSD /dev/fd/ files are special.
6198Solution: Use is_dev_fd_file() also for FreeBSD. (Derek Schrock, closes #521)
6199Files: src/fileio.c
6200
6201Patch 7.4.966
6202Problem: Configure doesn't work with a space in a path.
Bram Moolenaar09521312016-08-12 22:54:35 +02006203Solution: Put paths in quotes. (James McCoy, closes #525)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006204Files: src/configure.in, src/auto/configure
6205
6206Patch 7.4.967
6207Problem: Cross compilation on MS-windows doesn't work well.
6208Solution: Tidy up cross compilation across architectures with Visual Studio.
6209 (Mike Williams)
6210Files: src/Make_mvc.mak
6211
6212Patch 7.4.968
6213Problem: test86 and test87 are flaky in Appveyor.
6214Solution: Reduce the count from 8 to 7. (suggested by ZyX)
6215Files: src/testdir/test86.in, src/testdir/test87.in
6216
6217Patch 7.4.969
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006218Problem: Compiler warnings on Windows x64 build.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006219Solution: Add type casts. (Mike Williams)
6220Files: src/option.c
6221
6222Patch 7.4.970
6223Problem: Rare crash in getvcol(). (Timo Mihaljov)
6224Solution: Check for the buffer being NULL in init_preedit_start_col.
6225 (Hirohito Higashi, Christian Brabandt)
6226Files: src/mbyte.c
6227
6228Patch 7.4.971
6229Problem: The asin() function can't be used.
6230Solution: Sort the function table properly. (Watiko)
6231Files: src/eval.c
6232
6233Patch 7.4.972
6234Problem: Memory leak when there is an error in setting an option.
6235Solution: Free the saved value (Christian Brabandt)
6236Files: src/option.c
6237
6238Patch 7.4.973
6239Problem: When pasting on the command line line breaks result in literal
6240 <CR> characters. This makes pasting a long file name difficult.
6241Solution: Skip the characters.
6242Files: src/ex_getln.c, src/ops.c
6243
6244Patch 7.4.974
6245Problem: When using :diffsplit the cursor jumps to the first line.
6246Solution: Put the cursor on the line related to where the cursor was before
6247 the split.
6248Files: src/diff.c
6249
6250Patch 7.4.975
6251Problem: Using ":sort" on a very big file sometimes causes text to be
6252 corrupted. (John Beckett)
6253Solution: Copy the line into a buffer before calling ml_append().
6254Files: src/ex_cmds.c
6255
6256Patch 7.4.976
6257Problem: When compiling Vim for MSYS2 (linked with msys-2.0.dll), the Win32
6258 clipboard is not enabled.
6259Solution: Recognize MSYS like CYGWIN. (Ken Takata)
6260Files: src/configure.in, src/auto/configure
6261
6262Patch 7.4.977
6263Problem: 'linebreak' does not work properly when using "space" in
6264 'listchars'.
6265Solution: (Hirohito Higashi, Christian Brabandt)
6266Files: src/screen.c, src/testdir/test_listlbr.in,
6267 src/testdir/test_listlbr.ok
6268
6269Patch 7.4.978
6270Problem: test_cdo fails when using another language than English.
6271Solution: Set the language to C. (Dominique Pelle, Kenichi Ito)
6272Files: src/testdir/test_cdo.in
6273
6274Patch 7.4.979
6275Problem: When changing the crypt key the blocks read from disk are not
6276 decrypted.
6277Solution: Also call ml_decrypt_data() when mf_old_key is set. (Ken Takata)
6278Files: src/memfile.c
6279
6280Patch 7.4.980
6281Problem: Tests for :cdo, :ldo, etc. are outdated.
6282Solution: Add new style tests for these commands. (Yegappan Lakshmanan)
6283Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6284 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6285 src/testdir/Make_vms.mms, src/testdir/Makefile,
6286 src/testdir/test_cdo.in, src/testdir/test_cdo.ok,
6287 src/testdir/test_cdo.vim
6288
6289Patch 7.4.981
6290Problem: An error in a test script goes unnoticed.
6291Solution: Source the test script inside try/catch. (Hirohito Higashi)
6292Files: src/testdir/runtest.vim
6293
6294Patch 7.4.982
6295Problem: Keeping the list of tests updated is a hassle.
6296Solution: Move the list to a separate file, so that it only needs to be
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006297 updated in one place.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006298Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6299 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6300 src/testdir/Make_vms.mms, src/testdir/Makefile,
6301 src/testdir/Make_all.mak
6302
6303Patch 7.4.983
6304Problem: Executing one test after "make testclean" doesn't work.
6305Solution: Add a dependency on test1.out.
6306Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6307 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6308 src/testdir/Make_vms.mms, src/testdir/Makefile,
6309 src/testdir/Make_all.mak
6310
6311Patch 7.4.984
6312Problem: searchpos() always starts searching in the first column, which is
6313 not what some people expect. (Brett Stahlman)
6314Solution: Add the 'z' flag: start at the specified column.
6315Files: src/vim.h, src/eval.c, src/search.c,
6316 src/testdir/test_searchpos.vim, src/testdir/test_alot.vim,
6317 runtime/doc/eval.txt
6318
6319Patch 7.4.985
6320Problem: Can't build with Ruby 2.3.0.
6321Solution: Use the new TypedData_XXX macro family instead of Data_XXX. Use
6322 TypedData. (Ken Takata)
6323Files: src/if_ruby.c
6324
6325Patch 7.4.986
6326Problem: Test49 doesn't work on MS-Windows. test70 is listed twice.
6327Solution: Move test49 to the group not used on Amiga and MS-Windows.
6328 Remove test70 from SCRIPTS_WIN32.
6329Files: src/testdir/Make_all.mak, src/testdir/Make_dos.mak
6330
6331Patch 7.4.987 (after 7.4.985)
6332Problem: Can't build with Ruby 1.9.2.
6333Solution: Require Rub 2.0 for defining USE_TYPEDDATA.
6334Files: src/if_ruby.c
6335
6336Patch 7.4.988 (after 7.4.982)
6337Problem: Default test target is test49.out.
6338Solution: Add a build rule before including Make_all.mak.
6339Files: src/testdir/Make_dos.mak, src/testdir/Make_amiga.mak,
6340 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6341 src/testdir/Make_vms.mms, src/testdir/Makefile
6342
6343Patch 7.4.989
6344Problem: Leaking memory when hash_add() fails. Coverity error 99126.
6345Solution: When hash_add() fails free the memory.
6346Files: src/eval.c
6347
6348Patch 7.4.990
6349Problem: Test 86 fails on AppVeyor.
6350Solution: Do some registry magic. (Ken Takata)
6351Files: appveyor.yml
6352
6353Patch 7.4.991
6354Problem: When running new style tests the output is not visible.
6355Solution: Add the testdir/messages file and show it. Update the list of
6356 test names.
6357Files: src/Makefile, src/testdir/Makefile, src/testdir/runtest.vim
6358
6359Patch 7.4.992
6360Problem: Makefiles for MS-Windows in src/po are outdated.
6361Solution: Make them work. (Ken Takata, Taro Muraoka)
6362Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
6363 src/po/README_mingw.txt, src/po/README_mvc.txt
6364
6365Patch 7.4.993
6366Problem: Test 87 is flaky on AppVeyor.
6367Solution: Reduce the minimum background thread count.
6368Files: src/testdir/test86.in, src/testdir/test87.in
6369
6370Patch 7.4.994
6371Problem: New style tests are not run on MS-Windows.
6372Solution: Add the new style tests.
6373Files: src/testdir/Make_dos.mak
6374
6375Patch 7.4.995
6376Problem: gdk_pixbuf_new_from_inline() is deprecated.
Bram Moolenaar64d8e252016-09-06 22:12:34 +02006377Solution: Generate auto/gui_gtk_gresources.c. (Kazunobu Kuriyama,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006378 closes #507)
6379Files: src/Makefile, src/auto/configure, src/config.h.in,
6380 src/config.mk.in, src/configure.in, src/gui_gtk.c,
6381 src/gui_gtk_gresources.xml, src/gui_gtk_x11.c,
6382 src/proto/gui_gtk_gresources.pro,
6383 pixmaps/stock_vim_build_tags.png, pixmaps/stock_vim_find_help.png,
6384 pixmaps/stock_vim_save_all.png,
6385 pixmaps/stock_vim_session_load.png,
6386 pixmaps/stock_vim_session_new.png,
6387 pixmaps/stock_vim_session_save.png, pixmaps/stock_vim_shell.png,
6388 pixmaps/stock_vim_window_maximize.png,
6389 pixmaps/stock_vim_window_maximize_width.png,
6390 pixmaps/stock_vim_window_minimize.png,
6391 pixmaps/stock_vim_window_minimize_width.png,
6392 pixmaps/stock_vim_window_split.png,
6393 pixmaps/stock_vim_window_split_vertical.png
6394
6395Patch 7.4.996
6396Problem: New GDK files and testdir/Make_all.mak missing from distribution.
6397 PC build instructions are outdated.
6398Solution: Add the file to the list. Update PC build instructions.
6399Files: Filelist, Makefile
6400
6401Patch 7.4.997
6402Problem: "make shadow" was sometimes broken.
6403Solution: Add a test for it. (James McCoy, closes #520)
6404Files: .travis.yml
6405
6406Patch 7.4.998
6407Problem: Running tests in shadow directory fails. Test 49 fails.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006408Solution: Link more files for the shadow directory. Make test 49 ends up in
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006409 the right buffer.
6410Files: src/Makefile, src/testdir/test49.in
6411
6412Patch 7.4.999
6413Problem: "make shadow" creates a broken link. (Tony Mechelynck)
6414Solution: Remove vimrc.unix from the list.
6415Files: src/Makefile
6416
6417Patch 7.4.1000
6418Problem: Test 49 is slow and doesn't work on MS-Windows.
6419Solution: Start moving parts of test 49 to test_viml.
6420Files: src/Makefile, src/testdir/runtest.vim, src/testdir/test_viml.vim,
6421 src/testdir/test49.vim, src/testdir/test49.ok
6422
6423Patch 7.4.1001 (after 7.4.1000)
6424Problem: test_viml isn't run.
6425Solution: Include change in makefile.
6426Files: src/testdir/Make_all.mak
6427
6428Patch 7.4.1002
6429Problem: Cannot run an individual test on MS-Windows.
6430Solution: Move the rule to run test1 downwards. (Ken Takata)
6431Files: src/testdir/Make_dos.mak
6432
6433Patch 7.4.1003
6434Problem: Travis could check a few more things.
6435Solution: Run autoconf on one of the builds. (James McCoy, closes #510)
6436 Also build with normal features.
6437Files: .travis.yml
6438
6439Patch 7.4.1004
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006440Problem: Using Makefile when auto/config.mk does not exist results in
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006441 warnings.
6442Solution: Use default values for essential variables.
6443Files: src/Makefile
6444
6445Patch 7.4.1005
6446Problem: Vim users are not always happy.
6447Solution: Make them happy.
6448Files: src/ex_cmds.h, src/ex_cmds.c, src/proto/ex_cmds.pro
6449
6450Patch 7.4.1006
6451Problem: The fix in patch 7.3.192 is not tested.
6452Solution: Add a test, one for each regexp engine. (Elias Diem)
6453Files: src/testdir/test44.in, src/testdir/test44.ok,
6454 src/testdir/test99.in, src/testdir/test99.ok
6455
6456Patch 7.4.1007
6457Problem: When a symbolic link points to a file in the root directory, the
6458 swapfile is not correct.
6459Solution: Do not try getting the full name of a file in the root directory.
6460 (Milly, closes #501)
6461Files: src/os_unix.c
6462
6463Patch 7.4.1008
6464Problem: The OS/2 code pollutes the source while nobody uses it these days.
6465Solution: Drop the support for OS/2.
6466Files: src/feature.h, src/globals.h, src/macros.h, src/option.h,
6467 src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro, src/vim.h,
6468 src/digraph.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
6469 src/ex_getln.c, src/fileio.c, src/getchar.c, src/memline.c,
6470 src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c,
6471 src/term.c, src/ui.c, src/window.c, src/os_os2_cfg.h,
6472 src/Make_os2.mak, src/testdir/Make_os2.mak, src/testdir/os2.vim,
6473 src/INSTALL, runtime/doc/os_os2.txt
6474
6475Patch 7.4.1009
6476Problem: There are still #ifdefs for ARCHIE.
6477Solution: Remove references to ARCHIE, the code was removed in Vim 5.
6478Files: src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/main.c,
6479 src/memline.c, src/option.c, src/term.c
6480
6481Patch 7.4.1010
6482Problem: Some developers are unhappy while running tests.
6483Solution: Add a test and some color.
6484Files: src/ex_cmds.c, src/testdir/test_assert.vim
6485
6486Patch 7.4.1011
6487Problem: Can't build with Strawberry Perl.
6488Solution: Include stdbool.h. (Ken Takata, closes #328)
6489Files: Filelist, src/Make_mvc.mak, src/if_perl_msvc/stdbool.h
6490
6491Patch 7.4.1012
6492Problem: Vim overwrites the value of $PYTHONHOME.
6493Solution: Do not set $PYTHONHOME if it is already set. (Kazuki Sakamoto,
6494 closes #500)
6495Files: src/if_python.c, src/if_python3.c
6496
6497Patch 7.4.1013
6498Problem: The local value of 'errorformat' is not used for ":lexpr" and
6499 ":cexpr".
6500Solution: Use the local value if it exists. (Christian Brabandt) Adjust the
6501 help for this.
6502Files: runtime/doc/quickfix.txt, src/quickfix.c
6503
6504Patch 7.4.1014
6505Problem: `fnamemodify('.', ':.')` returns an empty string in Cygwin.
6506Solution: Use CCP_RELATIVE in the call to cygwin_conv_path. (Jacob Niehus,
6507 closes #505)
6508Files: src/os_unix.c
6509
6510Patch 7.4.1015
6511Problem: The column is not restored properly when the matchparen plugin is
6512 used in Insert mode and the cursor is after the end of the line.
6513Solution: Set the curswant flag. (Christian Brabandt). Also fix
6514 highlighting the match of the character before the cursor.
6515Files: src/eval.c, runtime/plugin/matchparen.vim
6516
6517Patch 7.4.1016
6518Problem: Still a few OS/2 pieces remain.
6519Solution: Delete more.
6520Files: Filelist, README_os2.txt, testdir/todos.vim, src/xxd/Make_os2.mak
6521
6522Patch 7.4.1017
6523Problem: When there is a backslash in an option ":set -=" doesn't work.
6524Solution: Handle a backslash better. (Jacob Niehus) Add a new test, merge
6525 in old test.
6526Files: src/testdir/test_cdo.vim, src/testdir/test_set.vim,
6527 src/testdir/test_alot.vim, src/option.c, src/testdir/test_set.in,
6528 src/testdir/test_set.ok, src/Makefile
6529
6530Patch 7.4.1018 (after 7.4.1017)
6531Problem: Failure running tests.
6532Solution: Add missing change to list of old style tests.
6533Files: src/testdir/Make_all.mak
6534
6535Patch 7.4.1019
6536Problem: Directory listing of "src" is too long.
6537Solution: Rename the resources file to make it shorter.
6538Files: src/gui_gtk_gresources.xml, src/gui_gtk_res.xml, src/Makefile,
6539 Filelist
6540
6541Patch 7.4.1020
6542Problem: On MS-Windows there is no target to run tests with gvim.
6543Solution: Add the testgvim target.
6544Files: src/Make_mvc.mak
6545
6546Patch 7.4.1021
6547Problem: Some makefiles are outdated.
6548Solution: Add a note to warn developers.
6549Files: src/Make_manx.mak, src/Make_bc3.mak, src/Make_bc5.mak,
6550 src/Make_djg.mak, src/Make_w16.mak
6551
6552Patch 7.4.1022
6553Problem: The README file contains some outdated information.
6554Solution: Update the information about supported systems.
6555Files: README.txt, README.md
6556
6557Patch 7.4.1023
6558Problem: The distribution files for MS-Windows use CR-LF, which is
6559 inconsistent with what one gets from github.
6560Solution: Use LF in the distribution files.
6561Files: Makefile
6562
6563Patch 7.4.1024
6564Problem: Interfaces for MS-Windows are outdated.
6565Solution: Use Python 2.7.10, Python 3.4.4, Perl 5.22, TCL 8.6.
6566Files: src/bigvim.bat
6567
6568Patch 7.4.1025
6569Problem: Version in installer needs to be updated manually.
6570Solution: Generate a file with the version number. (Guopeng Wen)
6571Files: Makefile, nsis/gvim.nsi, nsis/gvim_version.nsh
6572
6573Patch 7.4.1026
6574Problem: When using MingW the tests do not clean up all files. E.g. test
6575 17 leaves Xdir1 behind. (Michael Soyka)
6576Solution: Also delete directories, like Make_dos.mak. Delete files after
6577 directories to reduce warnings.
6578Files: src/testdir/Make_ming.mak, src/testdir/Make_dos.mak
6579
6580Patch 7.4.1027
6581Problem: No support for binary numbers.
Bram Moolenaar09521312016-08-12 22:54:35 +02006582Solution: Add "bin" to 'nrformats'. (Jason Schulz)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006583Files: runtime/doc/change.txt, runtime/doc/eval.txt,
6584 runtime/doc/version7.txt, src/charset.c, src/eval.c,
6585 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/ops.c,
6586 src/option.c, src/proto/charset.pro, src/spell.c,
6587 src/testdir/test57.in, src/testdir/test57.ok,
6588 src/testdir/test58.in, src/testdir/test58.ok,
6589 src/testdir/test_increment.in, src/testdir/test_increment.ok,
6590 src/vim.h
6591
6592Patch 7.4.1028
6593Problem: Nsis version file missing from the distribution.
6594Solution: Add the file to the list.
6595Files: Filelist
6596
6597Patch 7.4.1029 (after 7.4.1027)
6598Problem: test_increment fails on systems with 32 bit long.
6599Solution: Only test with 32 bits.
6600Files: src/testdir/test_increment.in, src/testdir/test_increment.ok
6601
6602Patch 7.4.1030
6603Problem: test49 is still slow.
6604Solution: Move more tests from old to new style.
6605Files: src/testdir/test_viml.vim, src/testdir/test49.vim,
6606 src/testdir/test49.ok, src/testdir/runtest.vim
6607
6608Patch 7.4.1031
6609Problem: Can't build with Python interface using MingW.
6610Solution: Update the Makefile. (Yasuhiro Matsumoto)
6611Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak
6612
6613Patch 7.4.1032
6614Problem: message from assert_false() does not look nice.
6615Solution: Handle missing sourcing_name. Use right number of spaces. (Watiko)
6616 Don't use line number if it's zero.
6617Files: src/eval.c
6618
6619Patch 7.4.1033
6620Problem: Memory use on MS-Windows is very conservative.
6621Solution: Use the global memory status to estimate amount of memory.
6622 (Mike Williams)
6623Files: src/os_win32.c, src/os_win32.h, src/proto/os_win32.pro
6624
6625Patch 7.4.1034
6626Problem: There is no test for the 'backspace' option behavior.
6627Solution: Add a test. (Hirohito Higashi)
6628Files: src/testdir/test_alot.vim, src/testdir/test_backspace_opt.vim
6629
6630Patch 7.4.1035
6631Problem: An Ex range gets adjusted for folded lines even when the range is
6632 not using line numbers.
6633Solution: Only adjust line numbers for folding. (Christian Brabandt)
6634Files: runtime/doc/fold.txt, src/ex_docmd.c
6635
6636Patch 7.4.1036
6637Problem: Only terminals with up to 256 colors work properly.
6638Solution: Use the 256 color behavior for all terminals with 256 or more
6639 colors. (Robert de Bath, closes #504)
6640Files: src/syntax.c
6641
6642Patch 7.4.1037
6643Problem: Using "q!" when there is a modified hidden buffer does not unload
6644 the current buffer, resulting in the need to abandon it again.
6645Solution: When using "q!" unload the current buffer when needed. (Yasuhiro
6646 Matsumoto, Hirohito Higashi)
6647Files: src/testdir/test31.in, src/testdir/test31.ok,
6648 runtime/doc/editing.txt, src/ex_cmds2.c, src/ex_docmd.c,
6649 src/gui.c, src/gui_gtk_x11.c, src/os_unix.c,
6650 src/proto/ex_cmds2.pro
6651
6652Patch 7.4.1038
6653Problem: Still get a warning for a deprecated function with gdk-pixbuf
6654 2.31.
6655Solution: Change minimum minor version from 32 to 31.
6656Files: src/configure.in, src/auto/configure
6657
6658Patch 7.4.1039 (after 7.4.1037)
6659Problem: Test 31 fails with small build.
6660Solution: Bail out for small build. (Hirohito Higashi)
6661Files: src/testdir/test31.in
6662
6663Patch 7.4.1040
6664Problem: The tee command is not available on MS-Windows.
6665Solution: Adjust tee.c for MSVC and add a makefile. (Yasuhiro Matsumoto)
6666Files: src/tee/tee.c, src/tee/Make_mvc.mak, src/Make_mvc.mak
6667
6668Patch 7.4.1041
6669Problem: Various small things.
6670Solution: Add file to list of distributed files. Adjust README. Fix typo.
6671Files: Filelist, src/testdir/README.txt, src/testdir/test_charsearch.in,
Bram Moolenaar09521312016-08-12 22:54:35 +02006672 src/INSTALLmac.txt
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006673
6674Patch 7.4.1042
6675Problem: g-CTRL-G shows the word count, but there is no way to get the word
6676 count in a script.
6677Solution: Add the wordcount() function. (Christian Brabandt)
6678Files: runtime/doc/editing.txt, runtime/doc/eval.txt,
6679 runtime/doc/usr_41.txt, src/eval.c, src/normal.c, src/ops.c,
6680 src/proto/ops.pro, src/testdir/test_wordcount.in,
6681 src/testdir/test_wordcount.ok, src/testdir/Make_all.mak
6682
6683Patch 7.4.1043
6684Problem: Another small thing.
6685Solution: Now really update the Mac install text.
6686Files: src/INSTALLmac.txt
6687
6688Patch 7.4.1044 (after 7.4.1042)
6689Problem: Can't build without the +eval feature.
6690Solution: Add #ifdef.
6691Files: src/ops.c
6692
6693Patch 7.4.1045
6694Problem: Having shadow and coverage on the same build results in the source
6695 files not being available in the coverage view.
6696Solution: Move using shadow to the normal build.
6697Files: .travis.yml
6698
6699Patch 7.4.1046
6700Problem: No test coverage for menus.
6701Solution: Load the standard menus and check there is no error.
Bram Moolenaar259f26a2018-05-15 22:25:40 +02006702Files: src/testdir/test_menu.vim, src/testdir/test_alot.vim
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006703
6704Patch 7.4.1047 (after patch 7.4.1042)
6705Problem: Tests fail on MS-Windows.
6706Solution: Set 'selection' to inclusive.
6707Files: src/testdir/test_wordcount.in
6708
6709Patch 7.4.1048 (after patch 7.4.1047)
6710Problem: Wordcount test still fail on MS-Windows.
6711Solution: Set 'fileformat' to "unix".
6712Files: src/testdir/test_wordcount.in
6713
6714Patch 7.4.1049 (after patch 7.4.1048)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006715Problem: Wordcount test still fails on MS-Windows.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006716Solution: Set 'fileformats' to "unix".
6717Files: src/testdir/test_wordcount.in
6718
6719Patch 7.4.1050
6720Problem: Warning for unused var with tiny features. (Tony Mechelynck)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006721Solution: Add #ifdef. Use vim_snprintf(). Reduce number of statements.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006722Files: src/ops.c
6723
6724Patch 7.4.1051
6725Problem: Segfault when unletting "count".
6726Solution: Check for readonly and locked first. (Dominique Pelle)
6727 Add a test.
6728Files: src/eval.c, src/testdir/test_alot.vim, src/testdir/test_unlet.vim
6729
6730Patch 7.4.1052
6731Problem: Illegal memory access with weird syntax command. (Dominique Pelle)
6732Solution: Check for column past end of line.
6733Files: src/syntax.c
6734
6735Patch 7.4.1053
6736Problem: Insufficient testing for quickfix commands.
6737Solution: Add a new style quickfix test. (Yegappan Lakshmanan)
6738Files: src/testdir/Make_all.mak, src/testdir/test_quickfix.vim
6739
6740Patch 7.4.1054
6741Problem: Illegal memory access.
6742Solution: Check for missing pattern. (Dominique Pelle)
6743Files: src/syntax.c
6744
6745Patch 7.4.1055
6746Problem: Running "make newtests" in src/testdir has no output.
6747Solution: List the messages file when a test fails. (Christian Brabandt)
6748 Update the list of tests.
6749Files: src/Makefile, src/testdir/Makefile
6750
6751Patch 7.4.1056
6752Problem: Don't know why finding spell suggestions is slow.
6753Solution: Add some code to gather profiling information.
6754Files: src/spell.c
6755
6756Patch 7.4.1057
6757Problem: Typos in the :options window.
6758Solution: Fix the typos. (Dominique Pelle)
6759Files: runtime/optwin.vim
6760
6761Patch 7.4.1058
6762Problem: It is not possible to test code that is only reached when memory
6763 allocation fails.
6764Solution: Add the alloc_fail() function. Try it out with :vimgrep.
6765Files: runtime/doc/eval.txt, src/globals.h, src/eval.c, src/quickfix.c,
6766 src/misc2.c, src/proto/misc2.pro, src/testdir/test_quickfix.vim
6767
6768Patch 7.4.1059
6769Problem: Code will never be executed.
6770Solution: Remove the code.
6771Files: src/quickfix.c
6772
6773Patch 7.4.1060
6774Problem: Instructions for writing tests are outdated.
6775Solution: Mention Make_all.mak. Add steps for new style tests.
6776Files: src/testdir/README.txt
6777
6778Patch 7.4.1061
6779Problem: Compiler warning for ignoring return value of fwrite().
6780Solution: Do use the return value. (idea: Charles Campbell)
6781Files: src/misc2.c, src/proto/misc2.pro
6782
6783Patch 7.4.1062
6784Problem: Building with Ruby on MS-Windows requires a lot of arguments.
6785Solution: Make it simpler. (Ken Takata)
6786Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
6787
6788Patch 7.4.1063
6789Problem: TCL_VER_LONG and DYNAMIC_TCL_VER are not set when building with
6790 Cygwin and MingW.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006791Solution: Add TCL_VER_LONG and DYNAMIC_TCL_VER to the makefile. (Ken Takata)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006792Files: src/Make_cyg_ming.mak
6793
6794Patch 7.4.1064
6795Problem: When a spell file has single letter compounding creating
6796 suggestions takes an awful long time.
6797Solution: Add the NOCOMPOUNDSUGS flag.
6798Files: runtime/doc/spell.txt, src/spell.c
6799
6800Patch 7.4.1065
6801Problem: Cannot use the "dll" options on MS-Windows.
6802Solution: Support the options on all platforms. Use the built-in name as
6803 the default, so that it's clear what Vim is looking for.
6804Files: src/if_python.c, src/if_python3.c, src/if_lua.c, src/if_perl.xs,
6805 src/if_ruby.c, src/option.c, runtime/doc/options.txt, src/Makefile
6806
6807Patch 7.4.1066 (after 7.4.1065)
6808Problem: Build fails on MS-Windows.
6809Solution: Adjust the #ifdefs for "dll" options.
6810Files: src/option.h
6811
6812Patch 7.4.1067 (after 7.4.1065)
6813Problem: Can't build with MingW and Python on MS-Windows.
6814Solution: Move the build flags to CFLAGS.
6815Files: src/Make_cyg_ming.mak
6816
6817Patch 7.4.1068
6818Problem: Wrong way to check for unletting internal variables.
6819Solution: Use a better way. (Olaf Dabrunz)
6820Files: src/testdir/test_unlet.c, src/eval.c
6821
6822Patch 7.4.1069
6823Problem: Compiler warning for unused argument.
6824Solution: Add UNUSED.
6825Files: src/misc2.c
6826
6827Patch 7.4.1070
6828Problem: The Tcl interface can't be loaded dynamically on Unix.
6829Solution: Make it possible to load it dynamically. (Ken Takata)
6830Files: runtime/doc/if_tcl.txt, runtime/doc/options.txt,
6831 runtime/doc/quickref.txt, runtime/optwin.vim, src/Makefile,
6832 src/config.h.in, src/configure.in, src/auto/configure,
6833 src/if_tcl.c, src/option.c, src/option.h
6834
6835Patch 7.4.1071
6836Problem: New style tests are executed in arbitrary order.
6837Solution: Sort the test function names. (Hirohito Higashi)
6838 Fix the quickfix test that depended on the order.
6839Files: src/testdir/runtest.vim, src/testdir/test_quickfix.vim
6840
6841Patch 7.4.1072
6842Problem: Increment test is old style.
6843Solution: Make the increment test a new style test. (Hirohito Higashi)
6844Files: src/Makefile, src/testdir/Make_all.mak,
6845 src/testdir/test_increment.in, src/testdir/test_increment.ok,
6846 src/testdir/test_increment.vim
6847
6848Patch 7.4.1073
6849Problem: Alloc_id depends on numbers, may use the same one twice. It's not
6850 clear from the number what it's for.
6851Solution: Use an enum. Add a function to lookup the enum value from the
6852 name.
6853Files: src/misc2.c, src/vim.h, src/alloc.h, src/globals.h,
6854 src/testdir/runtest.vim, src/proto/misc2.pro,
6855 src/testdir/test_quickfix.vim
6856
6857Patch 7.4.1074
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006858Problem: Warning from VC2015 compiler.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006859Solution: Add a type cast. (Mike Williams)
6860Files: src/gui_dwrite.cpp
6861
6862Patch 7.4.1075
6863Problem: Crash when using an invalid command.
6864Solution: Fix generating the error message. (Dominique Pelle)
6865Files: src/ex_docmd.c
6866
6867Patch 7.4.1076
6868Problem: CTRL-A does not work well in right-left mode.
6869Solution: Remove reversing the line, add a test. (Hirohito Higashi)
6870Files: src/ops.c, src/testdir/test_increment.vim
6871
6872Patch 7.4.1077
6873Problem: The build instructions for MS-Windows are incomplete.
6874Solution: Add explanations for how to build with various interfaces. (Ken
6875 Takata)
6876Files: src/INSTALLpc.txt
6877
6878Patch 7.4.1078
6879Problem: MSVC: "make clean" doesn't cleanup in the tee directory.
6880Solution: Add the commands to cleanup tee. (Erich Ritz)
6881Files: src/Make_mvc.mak
6882
6883Patch 7.4.1079 (after 7.4.1073)
6884Problem: New include file missing from distribution. Missing changes to
6885 quickfix code.
6886Solution: Add alloc.h to the list of distributed files. Use the enum in
6887 quickfix code.
6888Files: Filelist, src/quickfix.c
6889
6890Patch 7.4.1080
6891Problem: VS2015 has a function HandleToLong() that is shadowed by the macro
6892 that Vim defines.
6893Solution: Do not define HandleToLong() for MSVC version 1400 and later.
6894 (Mike Williams)
6895Files: src/gui_w32.c
6896
6897Patch 7.4.1081
6898Problem: No test for what previously caused a crash.
6899Solution: Add test for unletting errmsg.
6900Files: src/testdir/test_unlet.vim
6901
6902Patch 7.4.1082
6903Problem: The Tcl interface is always skipping memory free on exit.
6904Solution: Only skip for dynamically loaded Tcl.
6905Files: src/if_tcl.c
6906
6907Patch 7.4.1083
6908Problem: Building GvimExt with VS2015 may fail.
6909Solution: Adjust the makefile. (Mike Williams)
6910Files: src/GvimExt/Makefile
6911
6912Patch 7.4.1084
6913Problem: Using "." to repeat CTRL-A in Visual mode increments the wrong
6914 numbers.
6915Solution: Append right size to the redo buffer. (Ozaki Kiichi)
6916Files: src/normal.c, src/testdir/test_increment.vim
6917
6918Patch 7.4.1085
6919Problem: The CTRL-A and CTRL-X commands do not update the '[ and '] marks.
6920Solution: (Yukihiro Nakadaira)
6921Files: src/ops.c, src/testdir/test_marks.in, src/testdir/test_marks.ok
6922
6923Patch 7.4.1086
6924Problem: Crash with an extremely long buffer name.
6925Solution: Limit the return value of vim_snprintf(). (Dominique Pelle)
6926Files: src/buffer.c
6927
6928Patch 7.4.1087
6929Problem: CTRL-A and CTRL-X do not work properly with blockwise visual
6930 selection if there is a mix of Tab and spaces.
6931Solution: Add OP_NR_ADD and OP_NR_SUB. (Hirohito Higashi)
6932Files: src/testdir/test_increment.vim, src/normal.c, src/ops.c,
6933 src/proto/ops.pro, src/vim.h
6934
6935Patch 7.4.1088
6936Problem: Coverity warns for uninitialized variables. Only one is an actual
6937 problem.
6938Solution: Move the conditions. Don't use endpos if handling an error.
6939Files: src/ops.c
6940
6941Patch 7.4.1089
6942Problem: Repeating CTRL-A doesn't work.
6943Solution: Call prep_redo_cmd(). (Hirohito Higashi)
6944Files: src/normal.c, src/testdir/test_increment.vim
6945
6946Patch 7.4.1090
6947Problem: No tests for :hardcopy and related options.
6948Solution: Add test_hardcopy.
6949Files: src/testdir/test_hardcopy.vim, src/Makefile,
6950 src/testdir/Make_all.mak
6951
6952Patch 7.4.1091
6953Problem: When making a change while need_wait_return is set there is a two
6954 second delay.
6955Solution: Do not assume the ATTENTION prompt was given when need_wait_return
6956 was set already.
6957Files: src/misc1.c
6958
6959Patch 7.4.1092
6960Problem: It is not simple to test for an exception and give a proper error
6961 message.
6962Solution: Add assert_exception().
6963Files: src/eval.c, runtime/doc/eval.txt
6964
6965Patch 7.4.1093
6966Problem: Typo in test goes unnoticed.
6967Solution: Fix the typo. Give error for wrong arguments to cursor().
6968 (partly by Hirohito Higashi) Add a test for cursor().
6969Files: src/testdir/test_searchpos.vim, src/testdir/test_cursor_func.vim,
6970 src/eval.c, src/testdir/test_alot.vim
6971
6972Patch 7.4.1094
6973Problem: Test for :hardcopy fails on MS-Windows.
6974Solution: Check for the +postscript feature.
6975Files: src/testdir/test_hardcopy.vim
6976
6977Patch 7.4.1095
6978Problem: Can't build GvimExt with SDK 7.1.
6979Solution: Support using setenv.bat instead of vcvars32.bat. (Ken Takata)
6980Files: src/Make_mvc.mak, src/GvimExt/Makefile
6981
6982Patch 7.4.1096
6983Problem: Need several lines to verify a command produces an error.
Bram Moolenaard0796902016-09-16 20:02:31 +02006984Solution: Add assert_fails(). (suggested by Nikolai Pavlov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006985 Make the quickfix alloc test actually work.
6986Files: src/testdir/test_quickfix.vim, src/eval.c, runtime/doc/eval.txt,
6987 src/misc2.c, src/alloc.h
6988
6989Patch 7.4.1097
6990Problem: Looking up the alloc ID for tests fails.
6991Solution: Fix the line computation. Use assert_fails() for unlet test.
6992Files: src/testdir/runtest.vim, src/testdir/test_unlet.vim
6993
6994Patch 7.4.1098
6995Problem: Still using old style C function declarations.
6996Solution: Always define __ARGS() to include types. Turn a few functions
6997 into ANSI style to find out if this causes problems for anyone.
6998Files: src/vim.h, src/os_unix.h, src/eval.c, src/main.c
6999
7000Patch 7.4.1099
7001Problem: It's not easy to know if Vim supports blowfish. (Smu Johnson)
7002Solution: Add has('crypt-blowfish') and has('crypt-blowfish2').
7003Files: src/eval.c
7004
7005Patch 7.4.1100
7006Problem: Cygwin makefiles are unused.
7007Solution: Remove them.
7008Files: src/GvimExt/Make_ming.mak, src/GvimExt/Make_cyg.mak,
7009 src/xxd/Make_ming.mak, src/xxd/Make_cyg.mak
7010
7011Patch 7.4.1101
7012Problem: With 'rightleft' and concealing the cursor may move to the wrong
7013 position.
7014Solution: Compute the column differently when 'rightleft' is set. (Hirohito
7015 Higashi)
7016Files: src/screen.c
7017
7018Patch 7.4.1102
7019Problem: Debugger has no stack backtrace support.
7020Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto
7021 Fanjul, closes #433)
7022Files: runtime/doc/repeat.txt, src/eval.c, src/ex_cmds2.c, src/globals.h,
7023 src/testdir/Make_all.mak, src/testdir/test108.in,
7024 src/testdir/test108.ok
7025
7026Patch 7.4.1103 (after 7.4.1100)
7027Problem: Removed file still in distribution.
7028Solution: Remove Make_cyg.mak from the list of files.
7029Files: Filelist
7030
7031Patch 7.4.1104
7032Problem: Various problems building with MzScheme/Racket.
7033Solution: Make it work with new versions of Racket. (Yukihiro Nakadaira, Ken
7034 Takata)
7035Files: runtime/doc/if_mzsch.txt, src/INSTALLpc.txt,
7036 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
7037 src/configure.in, src/if_mzsch.c
7038
7039Patch 7.4.1105
7040Problem: When using slices there is a mixup of variable name and namespace.
7041Solution: Recognize variables that can't be a namespace. (Hirohito Higashi)
7042Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
7043
7044Patch 7.4.1106
7045Problem: The nsis script can't be used from the appveyor build.
7046Solution: Add "ifndef" to allow for variables to be set from the command
7047 line. Remove duplicate SetCompressor command. Support using other
7048 gettext binaries. (Ken Takata) Update build instructions to use
7049 libintl-8.dll.
7050Files: Makefile, nsis/gvim.nsi, src/os_win32.c, src/proto/os_win32.pro,
7051 src/main.c, os_w32exe.c
7052
7053Patch 7.4.1107
7054Problem: Vim can create a directory but not delete it.
7055Solution: Add an argument to delete() to make it possible to delete a
7056 directory, also recursively.
7057Files: src/fileio.c, src/eval.c, src/proto/fileio.pro,
7058 src/testdir/test_delete.vim, src/testdir/test_alot.vim,
7059 runtime/doc/eval.txt
7060
7061Patch 7.4.1108
7062Problem: Expanding "~" halfway a file name.
7063Solution: Handle the file name as one name. (Marco Hinz) Add a test.
7064 Closes #564.
7065Files: src/testdir/test27.in, src/testdir/test27.ok,
7066 src/testdir/test_expand.vim, src/testdir/test_alot.vim,
7067 src/Makefile, src/misc2.c
7068
7069Patch 7.4.1109 (after 7.4.1107)
7070Problem: MS-Windows doesn't have rmdir().
7071Solution: Add mch_rmdir().
Bram Moolenaar09521312016-08-12 22:54:35 +02007072Files: src/os_win32.c, src/proto/os_win32.pro
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007073
7074Patch 7.4.1110
7075Problem: Test 108 fails when language is French.
7076Solution: Force English messages. (Dominique Pelle)
7077Files: src/testdir/test108.in
7078
7079Patch 7.4.1111
7080Problem: test_expand fails on MS-Windows.
7081Solution: Always use forward slashes. Remove references to test27.
7082Files: src/testdir/runtest.vim, src/testdir/test_expand.vim,
7083 src/testdir/Make_dos.mak, src/testdir/Make_all.mak,
7084 src/testdir/Make_amiga.mak, src/testdir/Make_ming.mak
7085
7086Patch 7.4.1112
7087Problem: When using ":next" with an illegal file name no error is reported.
7088Solution: Give an error message.
7089Files: src/ex_cmds2.c
7090
7091Patch 7.4.1113 (after 7.4.1105)
7092Problem: Using {ns} in variable name does not work. (lilydjwg)
7093Solution: Fix recognizing colon. Add a test.
7094Files: src/eval.c, src/testdir/test_viml.vim
7095
7096Patch 7.4.1114 (after 7.4.1107)
7097Problem: delete() does not work well with symbolic links.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007098Solution: Recognize symbolic links.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007099Files: src/eval.c, src/fileio.c, src/os_unix.c, src/proto/os_unix.pro,
7100 src/testdir/test_delete.vim, runtime/doc/eval.txt
7101
7102Patch 7.4.1115
7103Problem: MS-Windows: make clean in testdir doesn't clean everything.
7104Solution: Add command to delete X* directories. (Ken Takata)
7105Files: src/testdir/Make_dos.mak
7106
7107Patch 7.4.1116
7108Problem: delete(x, 'rf') does not delete files starting with a dot.
7109Solution: Also delete files starting with a dot.
7110Files: src/misc1.c, src/fileio.c, src/vim.h
7111
7112Patch 7.4.1117 (after 7.4.1116)
7113Problem: No longer get "." and ".." in directory list.
7114Solution: Do not skip "." and ".." unless EW_DODOT is set.
Bram Moolenaar259f26a2018-05-15 22:25:40 +02007115Files: src/misc1.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007116
7117Patch 7.4.1118
7118Problem: Tests hang in 24 line terminal.
7119Solution: Set the 'more' option off.
7120Files: src/testdir/runtest.vim
7121
7122Patch 7.4.1119
7123Problem: argidx() has a wrong value after ":%argdelete". (Yegappan
7124 Lakshmanan)
7125Solution: Correct the value of w_arg_idx. Add a test.
7126Files: src/ex_cmds2.c, src/testdir/test_arglist.vim,
7127 src/testdir/Make_all.mak
7128
7129Patch 7.4.1120
7130Problem: delete(x, 'rf') fails if a directory is empty. (Lcd)
7131Solution: Ignore not finding matches in an empty directory.
7132Files: src/fileio.c, src/misc1.c, src/vim.h, src/testdir/test_delete.vim
7133
7134Patch 7.4.1121
7135Problem: test_expand leaves files behind.
7136Solution: Edit another file before deleting, otherwise the swap file
7137 remains.
7138Files: src/testdir/test_expand.vim
7139
7140Patch 7.4.1122
7141Problem: Test 92 and 93 fail when using gvim on a system with a non utf-8
7142 locale.
7143Solution: Avoid using .gvimrc by adding -U NONE. (Yukihiro Nakadaira)
7144Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
7145 src/testdir/Make_vms.mms, src/testdir/Makefile
7146
7147Patch 7.4.1123
7148Problem: Using ":argadd" when there are no arguments results in the second
7149 argument to be the current one. (Yegappan Lakshmanan)
7150Solution: Correct the w_arg_idx value.
7151Files: src/ex_cmds2.c, src/testdir/test_arglist.vim
7152
7153Patch 7.4.1124
7154Problem: MS-Windows: dead key behavior is not ideal.
7155Solution: Handle dead keys differently when not in Insert or Select mode.
7156 (John Wellesz, closes #399)
7157Files: src/gui_w48.c
7158
7159Patch 7.4.1125
7160Problem: There is no perleval().
7161Solution: Add perleval(). (Damien)
7162Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
7163 src/if_perl.xs, src/proto/if_perl.pro, src/testdir/Make_all.mak,
7164 src/testdir/test_perl.vim
7165
7166Patch 7.4.1126
7167Problem: Can only get the directory of the current window.
7168Solution: Add window and tab arguments to getcwd() and haslocaldir().
7169 (Thinca, Hirohito Higashi)
7170Files: src/Makefile, src/testdir/Make_all.mak,
7171 src/testdir/test_getcwd.in, src/testdir/test_getcwd.ok,
7172 runtime/doc/eval.txt, patching file src/eval.c
7173
7174Patch 7.4.1127
7175Problem: Both old and new style tests for Perl.
7176Solution: Merge the old tests with the new style tests.
7177Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_perl.in,
7178 src/testdir/test_perl.ok, src/testdir/test_perl.vim
7179
7180Patch 7.4.1128
7181Problem: MS-Windows: delete() does not recognize junctions.
7182Solution: Add mch_isrealdir() for MS-Windows. Update mch_is_symbolic_link().
7183 (Ken Takata)
7184Files: src/fileio.c, src/os_win32.c, src/proto/os_win32.pro
7185
7186Patch 7.4.1129
7187Problem: Python None value can't be converted to a Vim value.
7188Solution: Just use zero. (Damien)
7189Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
7190 src/testdir/test87.in, src/testdir/test87.ok,
7191
7192Patch 7.4.1130
7193Problem: Memory leak in :vimgrep.
7194Solution: Call FreeWild(). (Yegappan Lakshmanan)
7195Files: src/quickfix.c
7196
7197Patch 7.4.1131
7198Problem: New lines in the viminfo file are dropped.
7199Solution: Copy lines starting with "|". Fix that when using :rviminfo in a
7200 function global variables were restored as function-local
7201 variables.
7202Files: src/eval.c, src/structs.h, src/ex_cmds.c, src/misc2.c,
7203 src/proto/misc2.pro, src/testdir/test_viminfo.vim,
7204 src/testdir/Make_all.mak, src/testdir/test74.in,
7205 src/testdir/test74.ok
7206
7207Patch 7.4.1132
7208Problem: Old style tests for the argument list.
7209Solution: Add more new style tests. (Yegappan Lakshmanan)
7210Files: src/testdir/test_arglist.vim, src/testdir/test_argument_0count.in,
7211 src/testdir/test_argument_0count.ok,
7212 src/testdir/test_argument_count.in, src/Makefile,
7213 src/testdir/test_argument_count.ok, src/testdir/Make_all.mak
7214
7215Patch 7.4.1133
7216Problem: Generated function prototypes still have __ARGS().
7217Solution: Generate function prototypes without __ARGS().
7218Files: src/Makefile, src/if_ruby.c, src/os_win32.c,
7219 src/proto/blowfish.pro, src/proto/buffer.pro,
7220 src/proto/charset.pro, src/proto/crypt.pro,
7221 src/proto/crypt_zip.pro, src/proto/diff.pro,
7222 src/proto/digraph.pro, src/proto/edit.pro, src/proto/eval.pro,
7223 src/proto/ex_cmds2.pro, src/proto/ex_cmds.pro,
7224 src/proto/ex_docmd.pro, src/proto/ex_eval.pro,
7225 src/proto/ex_getln.pro, src/proto/fileio.pro, src/proto/fold.pro,
7226 src/proto/getchar.pro, src/proto/gui_athena.pro,
7227 src/proto/gui_beval.pro, src/proto/gui_gtk_gresources.pro,
7228 src/proto/gui_gtk.pro, src/proto/gui_gtk_x11.pro,
7229 src/proto/gui_mac.pro, src/proto/gui_motif.pro,
7230 src/proto/gui_photon.pro, src/proto/gui.pro,
7231 src/proto/gui_w16.pro, src/proto/gui_w32.pro,
7232 src/proto/gui_x11.pro, src/proto/gui_xmdlg.pro,
7233 src/proto/hangulin.pro, src/proto/hardcopy.pro,
7234 src/proto/hashtab.pro, src/proto/if_cscope.pro,
7235 src/proto/if_lua.pro, src/proto/if_mzsch.pro,
7236 src/proto/if_ole.pro, src/proto/if_perl.pro,
7237 src/proto/if_perlsfio.pro, src/proto/if_python3.pro,
7238 src/proto/if_python.pro, src/proto/if_ruby.pro,
7239 src/proto/if_tcl.pro, src/proto/if_xcmdsrv.pro,
7240 src/proto/main.pro, src/proto/mark.pro, src/proto/mbyte.pro,
7241 src/proto/memfile.pro, src/proto/memline.pro, src/proto/menu.pro,
7242 src/proto/message.pro, src/proto/misc1.pro, src/proto/misc2.pro,
7243 src/proto/move.pro, src/proto/netbeans.pro, src/proto/normal.pro,
7244 src/proto/ops.pro, src/proto/option.pro, src/proto/os_amiga.pro,
7245 src/proto/os_beos.pro, src/proto/os_mac_conv.pro,
7246 src/proto/os_msdos.pro, src/proto/os_mswin.pro,
7247 src/proto/os_qnx.pro, src/proto/os_unix.pro, src/proto/os_vms.pro,
7248 src/proto/os_win16.pro, src/proto/os_win32.pro,
7249 src/proto/popupmnu.pro, src/proto/pty.pro, src/proto/quickfix.pro,
7250 src/proto/regexp.pro, src/proto/screen.pro, src/proto/search.pro,
7251 src/proto/sha256.pro, src/proto/spell.pro, src/proto/syntax.pro,
7252 src/proto/tag.pro, src/proto/termlib.pro, src/proto/term.pro,
7253 src/proto/ui.pro, src/proto/undo.pro, src/proto/version.pro,
7254 src/proto/winclip.pro, src/proto/window.pro,
7255 src/proto/workshop.pro
7256
7257Patch 7.4.1134
7258Problem: The arglist test fails on MS-Windows.
7259Solution: Only check for failure of argedit on Unix.
7260Files: src/testdir/test_arglist.vim
7261
7262Patch 7.4.1135
7263Problem: One more arglist test fails on MS-Windows.
7264Solution: Don't edit "Y" after editing "y".
7265Files: src/testdir/test_arglist.vim
7266
7267Patch 7.4.1136
7268Problem: Wrong argument to assert_exception() causes a crash. (reported by
7269 Coverity)
7270Solution: Check for NULL pointer. Add a test.
7271Files: src/eval.c, src/testdir/test_assert.vim
7272
7273Patch 7.4.1137
7274Problem: Illegal memory access when using :copen and :cclose.
7275Solution: Avoid that curbuf is invalid. (suggestion by Justin M. Keyes)
7276 Add a test.
7277Files: src/window.c, src/testdir/test_quickfix.vim
7278
7279Patch 7.4.1138
7280Problem: When running gvim in the foreground some icons are missing.
7281 (Taylor Venable)
7282Solution: Move the call to gui_gtk_register_resource(). (Kazunobu Kuriyama)
7283Files: src/gui_gtk_x11.c
7284
7285Patch 7.4.1139
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007286Problem: MS-Windows: getftype() returns "file" for symlink to directory.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007287Solution: Make it return "dir". (Ken Takata)
7288Files: src/os_mswin.c
7289
7290Patch 7.4.1140
7291Problem: Recognizing <sid> does not work when the language is Turkish.
7292 (Christian Brabandt)
7293Solution: Use MB_STNICMP() instead of STNICMP().
7294Files: src/eval.c
7295
7296Patch 7.4.1141
7297Problem: Using searchpair() with a skip expression that uses syntax
7298 highlighting sometimes doesn't work. (David Fishburn)
7299Solution: Reset next_match_idx. (Christian Brabandt)
7300Files: src/syntax.c
7301
7302Patch 7.4.1142
7303Problem: Cannot define keyword characters for a syntax file.
7304Solution: Add the ":syn iskeyword" command. (Christian Brabandt)
7305Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/buffer.c,
7306 src/option.c, src/structs.h, src/syntax.c,
7307 src/testdir/Make_all.mak, src/testdir/test_syntax.vim
7308
7309Patch 7.4.1143
7310Problem: Can't sort on floating point numbers.
7311Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f"
7312 flag to sort().
7313Files: runtime/doc/change.txt, src/ex_cmds.c, src/testdir/test_sort.vim,
7314 src/testdir/test57.in, src/testdir/test57.ok, src/eval.c
7315
7316Patch 7.4.1144 (after 7.4.1143)
7317Problem: Can't build on several systems.
7318Solution: Include float.h. (Christian Robinson, closes #570 #571)
7319Files: src/ex_cmds.c
7320
7321Patch 7.4.1145
7322Problem: Default features are conservative.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007323Solution: Make the default feature set for most of today's systems "huge".
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007324Files: src/feature.h, src/configure.in, src/auto/configure
7325
7326Patch 7.4.1146
7327Problem: Can't build with Python 3 interface using MingW.
7328Solution: Update the Makefile. (Yasuhiro Matsumoto, Ken Takata)
7329Files: src/Make_cyg_ming.mak
7330
7331Patch 7.4.1147
7332Problem: Conflict for "chartab". (Kazunobu Kuriyama)
7333Solution: Rename the global one to something less obvious. Move it into
7334 src/chartab.c.
7335Files: src/macros.h, src/globals.h, src/charset.c, src/main.c,
7336 src/option.c, src/screen.c, src/vim.h
7337
7338Patch 7.4.1148
7339Problem: Default for MingW and Cygwin is still "normal".
7340Solution: Use "huge" as default. (Ken Takata)
7341Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
7342
7343Patch 7.4.1149 (after 7.4.1013)
7344Problem: Using the local value of 'errorformat' causes more problems than
7345 it solves.
7346Solution: Revert 7.4.1013.
7347Files: runtime/doc/quickfix.txt, src/quickfix.c
7348
7349Patch 7.4.1150
7350Problem: 'langmap' applies to the first character typed in Select mode.
7351 (David Watson)
7352Solution: Check for SELECTMODE. (Christian Brabandt, closes #572)
7353 Add the 'x' flag to feedkeys().
7354Files: src/getchar.c, src/normal.c, src/testdir/test_langmap.vim,
7355 src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/Make_all.mak,
7356 runtime/doc/eval.txt
7357
7358Patch 7.4.1151 (after 7.4.1150)
7359Problem: Missing change to eval.c
7360Solution: Also change feedkeys().
7361Files: src/eval.c
7362
7363Patch 7.4.1152
7364Problem: Langmap test fails with normal build.
7365Solution: Check for +langmap feature.
7366Files: src/testdir/test_langmap.vim
7367
7368Patch 7.4.1153
7369Problem: Autocommands triggered by quickfix cannot always get the current
7370 title value.
7371Solution: Call qf_fill_buffer() later. (Christian Brabandt)
7372Files: src/quickfix.c, src/testdir/test_quickfix.vim
7373
7374Patch 7.4.1154
7375Problem: No support for JSON.
7376Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true,
7377 v:null and v:none.
7378Files: src/json.c, src/eval.c, src/proto.h, src/structs.h, src/vim.h,
7379 src/if_lua.c, src/if_mzsch.c, src/if_ruby.c, src/if_py_both.h,
7380 src/globals.h, src/Makefile, src/Make_bc3.mak, src/Make_bc5.mak,
7381 src/Make_cyg_ming.mak, src/Make_dice.mak, src/Make_ivc.mak,
7382 src/Make_manx.mak, src/Make_morph.mak, src/Make_mvc.mak,
7383 src/Make_sas.mak, src/Make_vms.mms, src/proto/json.pro,
7384 src/proto/eval.pro, src/testdir/test_json.vim,
7385 src/testdir/test_alot.vim, Filelist, runtime/doc/eval.txt
7386
7387Patch 7.4.1155
7388Problem: Build with normal features fails.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007389Solution: Always define dict_lookup().
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007390Files: src/eval.c
7391
7392Patch 7.4.1156
7393Problem: Coverity warns for NULL pointer and ignoring return value.
7394Solution: Check for NULL pointer. When dict_add() returns FAIL free the item.
7395Files: src/json.c
7396
7397Patch 7.4.1157
7398Problem: type() does not work for v:true, v:none, etc.
7399Solution: Add new type numbers.
7400Files: src/eval.c, src/testdir/test_json.vim, src/testdir/test_viml.vim
7401
7402Patch 7.4.1158
7403Problem: Still using __ARGS().
7404Solution: Remove __ARGS() from eval.c
7405Files: src/eval.c
7406
7407Patch 7.4.1159
7408Problem: Automatically generated function prototypes use __ARGS.
7409Solution: Remove __ARGS from osdef.sh.
7410Files: src/osdef.sh, src/osdef1.h.in, src/osdef2.h.in
7411
7412Patch 7.4.1160
7413Problem: No error for jsondecode('"').
7414Solution: Give an error message for missing double quote.
7415Files: src/json.c
7416
7417Patch 7.4.1161
7418Problem: ":argadd" without argument is supposed to add the current buffer
7419 name to the arglist.
7420Solution: Make it work as documented. (Coot, closes #577)
7421Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_arglist.vim
7422
7423Patch 7.4.1162
7424Problem: Missing error number in MzScheme. (Dominique Pelle)
7425Solution: Add a proper error number.
7426Files: src/if_mzsch.c
7427
7428Patch 7.4.1163
7429Problem: Expressions "0 + v:true" and "'' . v:true" cause an error.
7430Solution: Return something sensible when using a special variable as a
7431 number or as a string. (suggested by Damien)
7432Files: src/eval.c, src/testdir/test_viml.vim
7433
7434Patch 7.4.1164
7435Problem: No tests for comparing special variables. Error in jsondecode()
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007436 not reported. test_json does not work with Japanese system.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007437Solution: Set scriptencoding. (Ken Takata) Add a few more tests. Add error.
7438Files: src/json.c, src/testdir/test_viml.vim, src/testdir/test_json.vim
7439
7440Patch 7.4.1165
7441Problem: When defining DYNAMIC_ICONV_DLL in the makefile, the build fails.
7442Solution: Add #ifdef's. (Taro Muraoka) Try the newer version first.
7443Files: src/mbyte.c, src/os_win32.c
7444
7445Patch 7.4.1166
7446Problem: Can't encode a Funcref into JSON. jsonencode() doesn't handle the
Bram Moolenaard0796902016-09-16 20:02:31 +02007447 same list or dict twice properly. (Nikolai Pavlov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007448Solution: Give an error. Reset copyID when the list or dict is finished.
7449Files: src/json.c, src/proto/json.pro, src/testdir/test_json.vim
7450
7451Patch 7.4.1167
7452Problem: No tests for "is" and "isnot" with the new variables.
7453Solution: Add tests.
7454Files: src/testdir/test_viml.vim
7455
7456Patch 7.4.1168
Bram Moolenaard0796902016-09-16 20:02:31 +02007457Problem: This doesn't give the right result: eval(string(v:true)). (Nikolai
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007458 Pavlov)
7459Solution: Make the string "v:true" instead of "true".
7460Files: src/eval.c, src/testdir/test_viml.vim
7461
7462Patch 7.4.1169
7463Problem: The socket I/O is intertwined with the netbeans code.
7464Solution: Start refactoring the netbeans communication to split off the
7465 socket I/O. Add the +channel feature.
7466Files: src/channel.c, src/netbeans.c, src/proto/channel.pro,
7467 src/proto/netbeans.pro, src/proto/gui_w32.pro, src/gui_w32.c,
7468 src/eval.c, src/os_mswin.c, src/ui.c, src/macros.h, Makefile,
7469 src/proto.h, src/feature.h, src/os_unix.c, src/vim.h,
7470 src/configure.in, src/auto/configure, src/config.mk.in,
7471 src/config.aap.in, src/config.h.in, src/Make_bc5.mak,
7472 src/Make_cyg_ming.mak, src/Make_mvc.mak
7473
7474Patch 7.4.1170 (after 7.4.1169)
7475Problem: Missing changes in src/Makefile, Filelist.
7476Solution: Add the missing changes.
7477Files: Filelist, src/Makefile
7478
7479Patch 7.4.1171
7480Problem: Makefile dependencies are outdated.
7481Solution: Run "make depend". Add GTK resource dependencies.
7482Files: src/Makefile
7483
7484Patch 7.4.1172 (after 7.4.1169)
7485Problem: Configure is overly positive.
7486Solution: Insert "test".
7487Files: src/configure.in, src/auto/configure
7488
7489Patch 7.4.1173 (after 7.4.1168)
7490Problem: No test for new behavior of v:true et al.
7491Solution: Add a test.
7492Files: src/testdir/test_viml.vim
7493
7494Patch 7.4.1174
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007495Problem: Netbeans contains dead code inside #ifndef INIT_SOCKETS.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007496Solution: Remove the dead code.
7497Files: src/netbeans.c
7498
7499Patch 7.4.1175 (after 7.4.1169)
7500Problem: Can't build with Mingw and Cygwin.
7501Solution: Remove extra "endif". (Christian J. Robinson)
7502Files: src/Make_cyg_ming.mak
7503
7504Patch 7.4.1176
7505Problem: Missing change to proto file.
7506Solution: Update the proto file. (Charles Cooper)
7507Files: src/proto/gui_w32.pro
7508
7509Patch 7.4.1177
7510Problem: The +channel feature is not in :version output. (Tony Mechelynck)
7511Solution: Add the feature string.
7512Files: src/version.c
7513
7514Patch 7.4.1178
7515Problem: empty() doesn't work for the new special variables.
7516Solution: Make empty() work. (Damien)
7517Files: src/eval.c, src/testdir/test_viml.vim
7518
7519Patch 7.4.1179
7520Problem: test_writefile and test_viml do not delete the tempfile.
7521Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript().
7522Files: src/testdir/test_writefile.in, src/testdir/test_viml.vim
7523
7524Patch 7.4.1180
7525Problem: Crash with invalid argument to glob2regpat().
7526Solution: Check for NULL. (Justin M. Keyes, closes #596) Add a test.
7527Files: src/eval.c, src/testdir/test_glob2regpat.vim,
7528 src/testdir/test_alot.vim
7529
7530Patch 7.4.1181
7531Problem: free_tv() can't handle special variables. (Damien)
7532Solution: Add the variable type.
7533Files: src/eval.c, src/testdir/test_viml.vim
7534
7535Patch 7.4.1182
7536Problem: Still socket code intertwined with netbeans.
7537Solution: Move code from netbeans.c to channel.c
7538Files: src/channel.c, src/netbeans.c, src/proto/channel.pro,
7539 src/proto/netbeans.pro, src/gui.c, src/gui_w48.c
7540
7541Patch 7.4.1183 (after 7.4.1182)
7542Problem: MS-Windows build is broken.
7543Solution: Remove init in wrong place.
7544Files: src/channel.c
7545
7546Patch 7.4.1184 (after 7.4.1182)
7547Problem: MS-Windows build is still broken.
7548Solution: Change nbsock to ch_fd.
7549Files: src/channel.c
7550
7551Patch 7.4.1185
7552Problem: Can't build with TCL on some systems.
7553Solution: Rename the channel_ functions.
7554Files: src/if_tcl.c
7555
7556Patch 7.4.1186
7557Problem: Error messages for security context are hard to translate.
7558Solution: Use one string with %s. (Ken Takata)
7559Files: src/os_unix.c
7560
7561Patch 7.4.1187
7562Problem: MS-Windows channel code only supports one channel. Doesn't build
7563 without netbeans support.
7564Solution: Get the channel index from the socket in the message. Closes #600.
7565Files: src/channel.c, src/netbeans.c, src/gui_w48.c,
7566 src/proto/channel.pro, src/proto/netbeans.pro
7567
7568Patch 7.4.1188
7569Problem: Using older JSON standard.
7570Solution: Update the link. Adjust the text a bit.
7571Files: src/json.c, runtime/doc/eval.txt
7572
7573Patch 7.4.1189 (after 7.4.1165)
7574Problem: Using another language on MS-Windows does not work. (Yongwei Wu)
7575Solution: Undo the change to try loading libintl-8.dll first.
7576Files: src/os_win32.c
7577
7578Patch 7.4.1190
7579Problem: On OSX the default flag for dlopen() is different.
7580Solution: Add RTLD_LOCAL in the configure check. (sv99, closes #604)
7581Files: src/configure.in, src/auto/configure
7582
7583Patch 7.4.1191
7584Problem: The channel feature isn't working yet.
7585Solution: Add the connect(), disconnect(), sendexpr() and sendraw()
7586 functions. Add initial documentation. Add a demo server.
7587Files: src/channel.c, src/eval.c, src/proto/channel.pro,
7588 src/proto/eval.pro, runtime/doc/channel.txt, runtime/doc/eval.txt,
7589 runtime/doc/Makefile, runtime/tools/demoserver.py
7590
7591Patch 7.4.1192
7592Problem: Can't build with FEAT_EVAL but without FEAT_MBYTE. (John
7593 Marriott)
7594Solution: Add #ifdef for FEAT_MBYTE.
7595Files: src/json.c
7596
7597Patch 7.4.1193
7598Problem: Can't build the channel feature on MS-Windows.
7599Solution: Add #ifdef HAVE_POLL.
7600Files: src/channel.c
7601
7602Patch 7.4.1194
7603Problem: Compiler warning for not using return value of fwrite().
7604Solution: Return OK/FAIL. (Charles Campbell)
7605Files: src/channel.c, src/proto/channel.pro
7606
7607Patch 7.4.1195
7608Problem: The channel feature does not work in the MS-Windows console.
7609Solution: Add win32 console support. (Yasuhiro Matsumoto)
7610Files: src/channel.c, src/gui_w32.c, src/os_mswin.c, src/os_win32.c,
7611 src/proto/gui_w32.pro, src/proto/os_mswin.pro, src/vim.h
7612
7613Patch 7.4.1196
7614Problem: Still using __ARGS.
7615Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7616Files: src/arabic.c, src/buffer.c, src/charset.c, src/crypt_zip.c,
7617 src/diff.c, src/digraph.c, src/edit.c, src/ex_cmds.c,
7618 src/ex_cmds2.c, src/ex_docmd.c
7619
7620Patch 7.4.1197
7621Problem: Still using __ARGS.
7622Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7623Files: src/ex_eval.c, src/ex_getln.c, src/farsi.c, src/fileio.c,
7624 src/fold.c, src/getchar.c, src/gui.c, src/gui_at_fs.c,
7625 gui_at_sb.c, src/gui_athena.c, src/gui_beval.c, src/gui_motif.c,
7626 src/gui_w32.c, src/gui_w48.c
7627
7628Patch 7.4.1198
7629Problem: Still using __ARGS.
7630Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7631 Also remove use of HAVE_STDARG_H.
7632Files: src/gui_x11.c, src/hangulin.c, src/hardcopy.c, src/hashtab.c,
7633 src/if_cscope.c, src/if_python3.c, src/if_sniff.c,
7634 src/if_xcmdsrv.c, src/main.c, src/mark.c, src/mbyte.c,
7635 src/memfile.c, src/memfile_test.c, src/memline.c, src/menu.c,
7636 src/message.c, src/misc1.c, src/misc2.c, src/move.c,
7637 src/netbeans.c, src/normal.c
7638
7639Patch 7.4.1199
7640Problem: Still using __ARGS.
7641Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7642Files: src/ops.c, src/option.c, src/os_amiga.c, src/os_mac_conv.c,
7643 src/os_unix.c, src/os_vms.c, src/os_w32exe.c, src/popupmnu.c,
7644 src/pty.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
7645 src/screen.c, src/search.c, src/sha256.c, src/spell.c,
7646 src/syntax.c, src/tag.c, src/term.c, src/termlib.c, src/ui.c,
7647 src/undo.c, src/version.c, src/window.c
7648
7649Patch 7.4.1200
7650Problem: Still using __ARGS.
7651Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7652Files: src/blowfish.c, src/ex_cmds2.c, src/ex_getln.c, src/fold.c,
7653 src/gui_beval.c, src/gui_w32.c, src/os_unix.c, src/os_win16.c,
7654 src/pty.c, src/regexp.c, src/syntax.c, src/xpm_w32.c,
7655 src/ex_cmds.h, src/globals.h, src/gui_at_sb.h, src/gui_beval.h,
7656 src/if_cscope.h, src/if_sniff.h, src/nbdebug.h, src/os_unix.h,
7657 src/proto.h, src/structs.h, src/vim.h, src/xpm_w32.h,
7658 src/if_perl.xs, src/proto/if_lua.pro, src/proto/pty.pro,
7659 runtime/tools/xcmdsrv_client.c,
7660 src/Makefile
7661
7662Patch 7.4.1201
7663Problem: One more file still using __ARGS.
7664Solution: Remove __ARGS in the last file. (script by Hirohito Higashi)
7665Files: src/gui_at_sb.c
7666
7667Patch 7.4.1202
7668Problem: Still one more file still using __ARGS.
7669Solution: Remove __ARGS in the last file. (script by Hirohito Higashi)
7670 (closes #612)
7671Files: src/proto/os_mac_conv.pro, src/os_mac_conv.c, src/Makefile
7672
7673Patch 7.4.1203
7674Problem: Still more files still using __ARGS.
7675Solution: Remove __ARGS in really the last files.
7676Files: src/proto/if_mzsch.pro, src/if_mzsch.c, src/vim.h,
7677 src/proto/gui_gtk_gresources.pro, src/proto/gui_mac.pro,
Bram Moolenaar7e1479b2016-09-11 15:07:27 +02007678 src/proto/if_ole.pro, src/proto/os_qnx.pro, src/Makefile
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007679
7680Patch 7.4.1204
7681Problem: Latin1 characters cause encoding conversion.
7682Solution: Remove the characters.
7683Files: src/gui_motif.c
7684
7685Patch 7.4.1205
7686Problem: Using old style function declarations.
7687Solution: Change to new style function declarations. (script by Hirohito
7688 Higashi)
7689Files: src/arabic.c, src/blowfish.c, src/buffer.c, src/channel.c,
7690 src/charset.c, src/crypt.c, src/crypt_zip.c, src/diff.c,
7691 src/digraph.c, src/edit.c, src/eval.c
7692
7693Patch 7.4.1206
7694Problem: Using old style function declarations.
7695Solution: Change to new style function declarations. (script by Hirohito
7696 Higashi)
7697Files: src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
7698 src/ex_getln.c, src/farsi.c, src/fileio.c
7699
7700Patch 7.4.1207
7701Problem: Using old style function declarations.
7702Solution: Change to new style function declarations. (script by Hirohito
7703 Higashi)
7704Files: src/fold.c, src/getchar.c, src/gui_at_fs.c, src/gui_athena.c,
7705 src/gui_at_sb.c, src/gui_beval.c, src/gui.c, src/gui_gtk.c,
7706 src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c
7707
7708Patch 7.4.1208
7709Problem: Using old style function declarations.
7710Solution: Change to new style function declarations. (script by Hirohito
7711 Higashi)
7712Files: src/gui_photon.c, src/gui_w32.c, src/gui_w48.c, src/gui_x11.c,
7713 src/hangulin.c, src/hardcopy.c, src/hashtab.c, src/if_cscope.c,
7714 src/if_mzsch.c, src/if_perlsfio.c, src/if_python.c,
7715 src/if_python3.c, src/if_ruby.c, src/if_sniff.c, src/if_tcl.c,
7716 src/if_xcmdsrv.c, src/integration.c
7717
7718Patch 7.4.1209 (after 7.4.1207)
7719Problem: Can't build with Athena. (Elimar Riesebieter)
7720Solution: Fix function declarations.
7721Files: src/gui_athena.c, src/gui_x11.c, src/gui_at_sb.c, src/gui_at_fs.c
7722
7723Patch 7.4.1210
7724Problem: Using old style function declarations.
7725Solution: Change to new style function declarations. (script by Hirohito
7726 Higashi)
7727Files: src/main.c, src/mark.c, src/mbyte.c, src/memfile.c,
7728 src/memfile_test.c, src/memline.c, src/menu.c, src/message.c
7729
7730Patch 7.4.1211
7731Problem: Using old style function declarations.
7732Solution: Change to new style function declarations. (script by Hirohito
7733 Higashi)
7734Files: src/misc1.c, src/misc2.c, src/move.c, src/netbeans.c,
7735 src/normal.c, src/ops.c, src/option.c
7736
7737Patch 7.4.1212 (after 7.4.1207)
7738Problem: Can't build with Motif.
7739Solution: Fix function declaration.(Dominique Pelle)
7740Files: src/gui_motif.c
7741
7742Patch 7.4.1213
7743Problem: Using old style function declarations.
7744Solution: Change to new style function declarations. (script by Hirohito
7745 Higashi)
7746Files: src/os_amiga.c, src/os_mac_conv.c, src/os_msdos.d, src/os_mswin.c,
7747 src/os_qnx.c, src/os_unix.c, src/os_vms.c, src/os_win16.c,
7748 src/os_win32.c, src/popupmnu.c, src/pty.c, src/quickfix.c,
7749 src/regexp.c, src/regexp_nfa.c, src/screen.c
7750
7751Patch 7.4.1214
7752Problem: Using old style function declarations.
7753Solution: Change to new style function declarations. (script by Hirohito
7754 Higashi)
7755Files: src/search.c, src/sha256.c, src/spell.c, src/syntax.c, src/tag.c,
7756 src/term.c, src/termlib.c, src/ui.c, src/undo.c
7757
7758Patch 7.4.1215
7759Problem: Using old style function declarations.
7760Solution: Change to new style function declarations. (script by Hirohito
7761 Higashi)
7762Files: src/version.c, src/winclip.c, src/window.c, src/workshop.c,
7763 src/xpm_w32.c, runtime/doc/doctags.c,
7764 runtime/tools/xcmdsrv_client.c, src/po/sjiscorr.c, src/xxd/xxd.c
7765
7766Patch 7.4.1216
7767Problem: Still using HAVE_STDARG_H.
7768Solution: Assume it's always defined.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007769Files: src/eval.c, src/misc2.c, src/vim.h, src/proto.h, src/configure.in,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007770 src/auto/configure, config.h.in, src/os_amiga.h, src/os_msdos.h,
7771 src/os_vms_conf.h, src/os_win32.h
7772
7773Patch 7.4.1217
7774Problem: Execution of command on channel doesn't work yet.
7775Solution: Implement the "ex" and "normal" commands.
7776Files: src/channel.c, src/proto/channel.pro, src/misc2.c, src/eval.c,
7777 src/ex_docmd.c, src/proto/ex_docmd.pro, src/feature.h
7778
7779Patch 7.4.1218
7780Problem: Missing change in configure. More changes for function style.
7781Solution: Avoid the typos.
7782Files: src/configure.in, src/config.h.in, runtime/tools/ccfilter.c,
7783 src/os_msdos.c
7784
7785Patch 7.4.1219
7786Problem: Build fails with +channel but without +float.
7787Solution: Add #ifdef.
7788Files: src/ex_cmds.c
7789
7790Patch 7.4.1220
7791Problem: Warnings for unused variables in tiny build. (Tony Mechelynck)
7792Solution: Move declarations inside #ifdef. (Hirohito Higashi)
7793Files: src/ex_cmds.c
7794
7795Patch 7.4.1221
7796Problem: Including netbeans and channel support in small and tiny builds.
7797 Build fails with some interfaces.
7798Solution: Only include these features in small build and above. Let
7799 configure fail if trying to enable an interface that won't build.
7800Files: src/configure.in, src/auto/configure
7801
7802Patch 7.4.1222
7803Problem: ":normal" command and others missing in tiny build.
7804Solution: Graduate FEAT_EX_EXTRA.
7805Files: src/feature.h, src/charset.c, src/eval.c, src/ex_cmds.c,
7806 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/getchar.c,
7807 src/normal.c, src/ui.c, src/version.c, src/globals.h
7808
7809Patch 7.4.1223
7810Problem: Crash when setting v:errors to a number.
7811Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto)
7812Files: src/eval.c, src/testdir/test_assert.vim
7813
7814Patch 7.4.1224
7815Problem: Build problems with GTK on BSD. (Mike Williams)
7816Solution: Don't use "$<". Skip building gui_gtk_gresources.h when it doesn't
7817 work. (Kazunobu Kuriyama)
7818Files: src/Makefile
7819
7820Patch 7.4.1225
7821Problem: Still a few old style function declarations.
7822Solution: Make them new style. (Hirohito Higashi)
7823Files: runtime/tools/blink.c, src/eval.c, src/ex_cmds2.c, src/ex_getln.c,
7824 src/fileio.c, src/gui_w32.c, src/gui_x11.c, src/if_perl.xs,
7825 src/os_unix.c, src/po/sjiscorr.c, src/pty.c
7826
7827Patch 7.4.1226
7828Problem: GRESOURCE_HDR is unused.
7829Solution: Remove it. (Kazunobu Kuriyama)
7830Files: src/configure.in, src/auto/configure, src/config.mk.in
7831
7832Patch 7.4.1227
7833Problem: Compiler warnings.
7834Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan)
7835Files: src/getchar.c, src/os_macosx.m
7836
7837Patch 7.4.1228
7838Problem: copy() and deepcopy() fail with special variables. (Nikolai
7839 Pavlov)
7840Solution: Make it work. Add a test. Closes #614.
7841Files: src/eval.c, src/testdir/test_viml.vim
7842
7843Patch 7.4.1229
7844Problem: "eval" and "expr" channel commands don't work yet.
7845Solution: Implement them. Update the error numbers. Also add "redraw".
7846Files: src/channel.c, src/eval.c, src/json.c, src/ex_docmd.c,
7847 src/proto/channel.pro, src/proto/json.pro, src/proto/ex_docmd.pro,
7848 runtime/doc/channel.txt
7849
7850Patch 7.4.1230
7851Problem: Win32: opening a channel may hang. Not checking for messages
7852 while waiting for characters.
7853Solution: Add a zero timeout. Call parse_queued_messages(). (Yasuhiro
7854 Matsumoto)
7855Files: src/os_win32.c
7856
7857Patch 7.4.1231
7858Problem: JSON messages are not parsed properly.
7859Solution: Queue received messages.
Bram Moolenaar64d8e252016-09-06 22:12:34 +02007860Files: src/eval.c src/channel.c, src/json.c, src/proto/eval.pro,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007861 src/proto/channel.pro, src/proto/json.pro, src/structs.h
7862
7863Patch 7.4.1232
7864Problem: Compiler warnings when the Sniff feature is enabled.
7865Solution: Add UNUSED.
7866Files: src/gui_gtk_x11.c
7867
7868Patch 7.4.1233
7869Problem: Channel command may cause a crash.
7870Solution: Check for NULL argument. (Damien)
7871Files: src/channel.c
7872
7873Patch 7.4.1234
7874Problem: Demo server only runs with Python 2.
7875Solution: Make it run with Python 3 as well. (Ken Takata)
7876Files: runtime/tools/demoserver.py
7877
7878Patch 7.4.1235 (after 7.4.1231)
7879Problem: Missing change to eval.c.
7880Solution: Include that change.
7881Files: src/eval.c
7882
7883Patch 7.4.1236
7884Problem: When "syntax manual" was used switching between buffers removes
7885 the highlighting.
7886Solution: Set the syntax option without changing the value. (Anton
7887 Lindqvist)
7888Files: runtime/syntax/manual.vim
7889
7890Patch 7.4.1237
7891Problem: Can't translate message without adding a line break.
7892Solution: Join the two parts of the message.
7893Files: src/memline.c
7894
7895Patch 7.4.1238
7896Problem: Can't handle two messages right after each other.
7897Solution: Find the end of the JSON. Read more when incomplete. Add a C
7898 test for the JSON decoding.
7899Files: src/channel.c, src/json.c, src/proto/json.pro, src/eval.c,
7900 src/Makefile, src/json_test.c, src/memfile_test.c, src/structs.h
7901
7902Patch 7.4.1239
7903Problem: JSON message after the first one is dropped.
7904Solution: Put remainder of message back in the queue.
7905Files: src/channel.c
7906
7907Patch 7.4.1240
7908Problem: Visual studio tools are noisy.
7909Solution: Suppress startup info. (Mike Williams)
7910Files: src/GvimExt/Makefile, src/Make_mvc.mak, src/tee/Make_mvc.mak
7911
7912Patch 7.4.1241 (after 7.4.1238)
7913Problem: Missing change in Makefile due to diff mismatch
7914Solution: Update the list of object files.
7915Files: src/Makefile
7916
7917Patch 7.4.1242 (after 7.4.1238)
7918Problem: json_test fails without the eval feature.
7919Solution: Add #ifdef.
7920Files: src/json_test.c
7921
7922Patch 7.4.1243
7923Problem: Compiler warning for uninitialized variable.
7924Solution: Initialize it. (Elias Diem)
7925Files: src/json.c
7926
7927Patch 7.4.1244
7928Problem: The channel functions don't sort together.
7929Solution: Use a common "ch_" prefix.
7930Files: src/eval.c, runtime/doc/eval.txt, runtime/tools/demoserver.py
7931
7932Patch 7.4.1245
7933Problem: File missing from distribution.
7934Solution: Add json_test.c.
7935Files: Filelist
7936
7937Patch 7.4.1246
7938Problem: The channel functionality isn't tested.
7939Solution: Add a test using a Python test server.
7940Files: src/channel.c, src/proto/channel.pro,
7941 src/testdir/test_channel.vim, src/testdir/test_channel.py,
7942 src/testdir/Make_all.mak
7943
7944Patch 7.4.1247
7945Problem: The channel test doesn't run on MS-Windows.
7946Solution: Make it work on the MS-Windows console. (Ken Takata)
7947Files: src/testdir/test_channel.py, src/testdir/test_channel.vim
7948
7949Patch 7.4.1248
7950Problem: Can't reliably stop the channel test server. Can't start the
7951 server if the python file is not executable.
7952Solution: Use "pkill" instead of "killall". Run the python file as an
7953 argument instead of as an executable.
7954Files: src/testdir/test_channel.vim
7955
7956Patch 7.4.1249
7957Problem: Crash when the process a channel is connected to exits.
7958Solution: Use the file descriptor properly. Add a test. (Damien)
7959 Also add a test for eval().
7960Files: src/channel.c, src/testdir/test_channel.py,
7961 src/testdir/test_channel.vim
7962
7963Patch 7.4.1250
7964Problem: Running tests in shadow directory fails.
7965Solution: Also link testdir/*.py
7966Files: src/Makefile
7967
7968Patch 7.4.1251
7969Problem: New test file missing from distribution.
7970Solution: Add src/testdir/*.py.
7971Files: Filelist
7972
7973Patch 7.4.1252
7974Problem: The channel test server may receive two messages concatenated.
7975Solution: Split the messages.
7976Files: src/testdir/test_channel.py
7977
7978Patch 7.4.1253
7979Problem: Python test server not displaying second of two commands.
7980 Solaris doesn't have "pkill --full".
7981Solution: Also echo the second command. Use "pkill -f".
7982Files: src/testdir/test_channel.py, src/testdir/test_channel.vim
7983
7984Patch 7.4.1254
7985Problem: Opening a second channel causes a crash. (Ken Takata)
7986Solution: Don't re-allocate the array with channels.
7987Files: src/channel.c, src/testdir/test_channel.vim,
7988 src/testdir/test_channel.py
7989
7990Patch 7.4.1255
7991Problem: Crash for channel "eval" command without third argument.
7992Solution: Check for missing argument.
7993Files: src/channel.c, src/testdir/test_channel.vim,
7994 src/testdir/test_channel.py
7995
7996Patch 7.4.1256
7997Problem: On Mac sys.exit(0) doesn't kill the test server.
7998Solution: Use self.server.shutdown(). (Jun Takimoto)
7999Files: src/testdir/test_channel.py
8000
8001Patch 7.4.1257
8002Problem: Channel test fails in some configurations.
8003Solution: Add check for the +channel feature.
8004Files: src/testdir/test_channel.vim
8005
8006Patch 7.4.1258
8007Problem: The channel test can fail if messages arrive later.
Bram Moolenaard0796902016-09-16 20:02:31 +02008008Solution: Add a short sleep. (Jun Takimoto)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008009Files: src/testdir/test_channel.vim
8010
8011Patch 7.4.1259
8012Problem: No test for what patch 7.3.414 fixed.
8013Solution: Add a test. (Elias Diem)
8014Files: src/testdir/test_increment.vim
8015
8016Patch 7.4.1260
8017Problem: The channel feature doesn't work on Win32 GUI.
8018Solution: Use WSAGetLastError(). (Ken Takata)
8019Files: src/channel.c, src/testdir/test_channel.vim, src/vim.h
8020
8021Patch 7.4.1261
8022Problem: Pending channel messages are garbage collected. Leaking memory in
8023 ch_sendexpr(). Leaking memory for a decoded JSON string.
8024Solution: Mark the message list as used. Free the encoded JSON. Don't save
8025 the JSON string.
8026Files: src/eval.c, src/channel.c, src/json.c, src/proto/channel.pro
8027
8028Patch 7.4.1262
8029Problem: The channel callback is not invoked.
8030Solution: Make a list of pending callbacks.
8031Files: src/eval.c, src/channel.c, src/proto/channel.pro,
8032 src/testdir/test_channel.vim
8033
8034Patch 7.4.1263
8035Problem: ch_open() hangs when the server isn't running.
8036Solution: Add a timeout. Use a dict to pass arguments. (Yasuhiro Matsumoto)
8037Files: runtime/doc/eval.txt, runtime/doc/channel.txt, src/channel.c,
8038 src/eval.c, src/netbeans.c, src/os_win32.c, src/proto/channel.pro,
8039 src/testdir/test_channel.vim
8040
8041Patch 7.4.1264
8042Problem: Crash when receiving an empty array.
8043Solution: Check for array with wrong number of arguments. (Damien)
8044Files: src/channel.c, src/eval.c, src/testdir/test_channel.py,
8045 src/testdir.test_channel.vim
8046
8047Patch 7.4.1265
8048Problem: Not all channel commands are tested.
8049Solution: Add a test for "normal", "expr" and "redraw".
8050Files: src/testdir/test_channel.py, src/testdir/test_channel.vim
8051
8052Patch 7.4.1266
8053Problem: A BufAdd autocommand may cause an ml_get error (Christian
8054 Brabandt)
8055Solution: Increment RedrawingDisabled earlier.
8056Files: src/ex_cmds.c
8057
8058Patch 7.4.1267
8059Problem: Easy to miss handling all types of variables.
8060Solution: Change the variable type into an enum.
8061Files: src/structs.h, src/eval.c
8062
8063Patch 7.4.1268
8064Problem: Waittime is used as seconds instead of milliseconds. (Hirohito
8065 Higashi)
8066Solution: Divide by 1000.
8067Files: src/channel.c
8068
8069Patch 7.4.1269
8070Problem: Encoding {'key':v:none} to JSON doesn't give an error (Tyru)
8071Solution: Give an error.
8072Files: src/json.c, src/testdir/test_json.vim
8073
8074Patch 7.4.1270
8075Problem: Warnings for missing values in switch.
8076Solution: Change switch to if-else or add values.
8077Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
8078
8079Patch 7.4.1271
8080Problem: assert_false(v:false) reports an error. (Nikolai Pavlov)
8081Solution: Recognize v:true and v:false. (Closes #625)
8082Files: src/eval.c, src/testdir/test_assert.vim
8083
8084Patch 7.4.1272 (after 7.4.1270)
8085Problem: Using future enum value.
8086Solution: Remove it.
8087Files: src/if_python.c, src/if_python3.c
8088
8089Patch 7.4.1273 (after 7.4.1271)
8090Problem: assert_false(v:false) still fails.
8091Solution: Fix the typo.
8092Files: src/eval.c
8093
8094Patch 7.4.1274
8095Problem: Cannot run a job.
8096Solution: Add job_start(), job_status() and job_stop(). Currently only works
8097 for Unix.
8098Files: src/eval.c, src/structs.h, runtime/doc/eval.txt, src/os_unix.c,
8099 src/proto/os_unix.pro, src/feature.h, src/version.c,
8100 src/testdir/test_channel.vim
8101
8102Patch 7.4.1275 (after 7.4.1274)
8103Problem: Build fails on MS-Windows.
8104Solution: Fix wrong #ifdef.
8105Files: src/eval.c
8106
8107Patch 7.4.1276
8108Problem: Warning for not using return value of fcntl().
8109Solution: Explicitly ignore the return value.
8110Files: src/fileio.c, src/channel.c, src/memfile.c, src/memline.c
8111
8112Patch 7.4.1277
8113Problem: Compiler can complain about missing enum value in switch with some
8114 combination of features.
8115Solution: Remove #ifdefs around case statements.
8116Files: src/eval.c
8117
8118Patch 7.4.1278
8119Problem: When jsonencode() fails it still returns something.
8120Solution: Return an empty string on failure.
8121Files: src/json.c, src/channel.c, src/testdir/test_json.vim,
8122 src/testdir/test_channel.vim, src/testdir/test_channel.py
8123
8124Patch 7.4.1279
8125Problem: jsonencode() is not producing strict JSON.
8126Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode()
8127 strict.
8128Files: src/json.c, src/json_test.c, src/proto/json.pro, src/channel.c,
8129 src/proto/channel.pro, src/eval.c, src/vim.h, src/structs.h,
8130 runtime/doc/eval.txt, runtime/doc/channel.txt,
8131 src/testdir/test_json.vim
8132
8133Patch 7.4.1280
8134Problem: Missing case value.
8135Solution: Add VAR_JOB.
8136Files: src/if_python.c, src/if_python3.c
8137
8138Patch 7.4.1281
8139Problem: No test for skipping over code that isn't evaluated.
8140Solution: Add a test with code that would fail when not skipped.
8141Files: src/testdir/test_viml.vim
8142
8143Patch 7.4.1282
8144Problem: Crash when evaluating the pattern of ":catch" causes an error.
8145 (Dominique Pelle)
8146Solution: Block error messages at this point.
8147Files: src/ex_eval.c
8148
8149Patch 7.4.1283
8150Problem: The job feature isn't available on MS-Windows.
8151Solution: Add the job feature. Fix argument of job_stop(). (Yasuhiro
8152 Matsumoto)
8153Files: src/eval.c, src/feature.h, src/os_win32.c, src/proto/os_win32.pro
8154
8155Patch 7.4.1284 (after 7.4.1282)
8156Problem: Test 49 fails.
8157Solution: Check for a different error message.
8158Files: src/testdir/test49.vim
8159
8160Patch 7.4.1285
8161Problem: Cannot measure elapsed time.
8162Solution: Add reltimefloat().
8163Files: src/ex_cmds2.c, src/eval.c, src/proto/ex_cmds2.pro,
8164 src/testdir/test_reltime.vim, src/testdir/test_alot.vim
8165
8166Patch 7.4.1286
8167Problem: ch_open() with a timeout doesn't work correctly.
8168Solution: Change how select() is used. Don't give an error on timeout.
8169 Add a test for ch_open() failing.
8170Files: src/channel.c, src/testdir/test_channel.vim
8171
8172Patch 7.4.1287 (after 7.4.1286)
8173Problem: Channel test fails.
8174Solution: Use reltimefloat().
8175Files: src/testdir/test_channel.vim
8176
8177Patch 7.4.1288
8178Problem: ch_sendexpr() does not use JS encoding.
8179Solution: Use the encoding that fits the channel mode. Refuse using
8180 ch_sendexpr() on a raw channel.
8181Files: src/channel.c, src/proto/channel.pro, src/eval.c
8182
8183Patch 7.4.1289
8184Problem: Channel test fails on MS-Windows, connect() takes too long.
8185Solution: Adjust the test for MS-Windows using "waittime".
8186Files: src/channel.c, src/testdir/test_channel.vim
8187
8188Patch 7.4.1290
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008189Problem: Coverity complains about unnecessary check for NULL.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008190Solution: Remove the check.
8191Files: src/eval.c
8192
8193Patch 7.4.1291
8194Problem: On MS-Windows the channel test server doesn't quit.
8195Solution: Use return instead of break. (Ken Takata)
8196Files: src/testdir/test_channel.py
8197
8198Patch 7.4.1292
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008199Problem: Some compilers complain about uninitialized variable, even though
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008200 all possible cases are handled. (Dominique Pelle)
8201Solution: Add a default initialization.
8202Files: src/eval.c
8203
8204Patch 7.4.1293
8205Problem: Sometimes a channel may hang waiting for a message that was
8206 already discarded. (Ken Takata)
8207Solution: Store the ID of the message blocking on in the channel.
8208Files: src/channel.c
8209
8210Patch 7.4.1294
8211Problem: job_stop() only kills the started process.
8212Solution: Send the signal to the process group. (Olaf Dabrunz)
8213Files: src/os_unix.c
8214
8215Patch 7.4.1295
8216Problem: string(job) doesn't work well on MS-Windows.
8217Solution: Use the process ID. (Yasuhiro Matsumoto)
8218Files: src/eval.c
8219
8220Patch 7.4.1296
8221Problem: Cursor changes column with up motion when the matchparen plugin
8222 saves and restores the cursor position. (Martin Kunev)
8223Solution: Make sure curswant is updated before invoking the autocommand.
8224Files: src/edit.c
8225
8226Patch 7.4.1297
8227Problem: On Mac test_channel leaves python instances running.
8228Solution: Use a small waittime to make ch_open() work. (Ozaki Kiichi)
8229Files: src/testdir/test_channel.vim
8230
8231Patch 7.4.1298
8232Problem: When the channel test fails in an unexpected way the server keeps
8233 running.
8234Solution: Use try/catch. (Ozaki Kiichi)
8235Files: src/testdir/test_channel.vim
8236
8237Patch 7.4.1299
8238Problem: When the server sends a message with ID zero the channel handler
Bram Moolenaar09521312016-08-12 22:54:35 +02008239 is not invoked. (Christian J. Robinson)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008240Solution: Recognize zero value for the request ID. Add a test for invoking
8241 the channel handler.
8242Files: src/channel.c, src/testdir/test_channel.vim,
8243 src/testdir/test_channel.py
8244
8245Patch 7.4.1300
8246Problem: Cannot test CursorMovedI because there is typeahead.
8247Solution: Add disable_char_avail_for_testing().
8248Files: src/eval.c, src/getchar.c, src/globals.h,
8249 src/testdir/test_cursor_func.vim, src/testdir/README.txt
8250
8251Patch 7.4.1301
8252Problem: Missing options in ch_open().
8253Solution: Add s:chopt like in the other calls. (Ozaki Kiichi)
8254Files: src/testdir/test_channel.vim
8255
8256Patch 7.4.1302
8257Problem: Typo in struct field name. (Ken Takata)
8258Solution: Rename jf_pi to jv_pi.
8259Files: src/eval.c, src/os_win32.c, src/structs.h
8260
8261Patch 7.4.1303
8262Problem: A Funcref is not accepted as a callback.
8263Solution: Make a Funcref work. (Damien)
8264Files: src/eval.c, src/testdir/test_channel.vim
8265
8266Patch 7.4.1304
8267Problem: Function names are difficult to read.
8268Solution: Rename jsonencode to json_encode, jsondecode to json_decode,
8269 jsencode to js_encode and jsdecode to js_decode.
8270Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_json.vim
8271
8272Patch 7.4.1305
8273Problem: "\%1l^#.*" does not match on a line starting with "#".
8274Solution: Do not clear the start-of-line flag. (Christian Brabandt)
8275Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test36.in,
8276 src/testdir/test36.ok
8277
8278Patch 7.4.1306
8279Problem: Job control doesn't work well on MS-Windows.
Bram Moolenaardc1f1642016-08-16 18:33:43 +02008280Solution: Various fixes. (Ken Takata, Ozaki Kiichi, Yukihiro Nakadaira,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008281 Yasuhiro Matsumoto)
8282Files: src/Make_mvc.mak, src/eval.c, src/os_unix.c, src/os_win32.c,
8283 src/proto/os_unix.pro, src/proto/os_win32.pro, src/structs.h
8284
8285Patch 7.4.1307
8286Problem: Some channel tests fail on MS-Windows.
8287Solution: Disable the failing tests temporarily.
8288Files: src/testdir/test_channel.vim
8289
8290Patch 7.4.1308 (after 7.4.1307)
8291Problem: Typo in test.
8292Solution: Change endf to endif.
8293Files: src/testdir/test_channel.vim
8294
8295Patch 7.4.1309
8296Problem: When a test fails not all relevant info is listed.
8297Solution: Add the errors to the messages.
8298Files: src/testdir/runtest.vim
8299
8300Patch 7.4.1310
8301Problem: Jobs don't open a channel.
8302Solution: Create pipes and add them to the channel. Add ch_logfile().
8303 Only Unix for now.
8304Files: src/channel.c, src/eval.c, src/os_unix.c, src/structs.h,
8305 src/gui_w48.c, src/proto/channel.pro, src/testdir/test_channel.vim,
8306 src/testdir/test_channel_pipe.py, runtime/doc/eval.txt
8307
8308Patch 7.4.1311 (after 7.4.1310)
8309Problem: sock_T is defined too late.
8310Solution: Move it up.
8311Files: src/vim.h
8312
8313Patch 7.4.1312 (after 7.4.1311)
8314Problem: sock_T is not defined without the +channel feature.
8315Solution: Always define it.
8316Files: src/vim.h
8317
8318Patch 7.4.1313
8319Problem: MS-Windows: Using socket after it was closed causes an exception.
8320Solution: Don't give an error when handling WM_NETBEANS. Re-enable tests
8321 for MS-Windows.
8322Files: src/gui_w48.c, src/testdir/test_channel.vim
8323
8324Patch 7.4.1314
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008325Problem: Warning for uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008326Solution: Initialize it. (Dominique Pelle)
8327Files: src/channel.c
8328
8329Patch 7.4.1315
8330Problem: Using a channel handle does not allow for freeing it when unused.
8331Solution: Add the Channel variable type.
8332Files: src/structs.h, src/channel.c, src/misc2.c, src/eval.c,
8333 src/if_python.c, src/if_python3.c, src/json.c, src/gui_w48.c,
8334 src/netbeans.c, src/proto/channel.pro, src/os_unix.c,
8335 src/testdir/test_channel.py, src/testdir/test_channel.vim
8336
8337Patch 7.4.1316
8338Problem: Can't build MS-Windows console version. (Tux)
8339Solution: Add #ifdefs.
8340Files: src/eval.c
8341
8342Patch 7.4.1317
8343Problem: MS-Windows: channel test fails.
8344Solution: Temporarily disable Test_connect_waittime().
8345Files: src/testdir/test_channel.vim
8346
8347Patch 7.4.1318
8348Problem: Channel with pipes doesn't work in GUI.
8349Solution: Register input handlers for pipes.
8350Files: src/structs.h, src/feature.h, src/channel.c, src/eval.c,
8351 src/os_unix.c, src/os_win32.c, src/gui_w48.c, src/proto/channel.pro
8352
8353Patch 7.4.1319 (after 7.4.1318)
8354Problem: Tests fail on MS-Windows and on Unix with GUI.
8355Solution: Fix unregistering.
8356Files: src/structs.h, src/channel.c, src/os_unix.c, src/os_win32.c,
8357 src/proto/channel.pro
8358
8359Patch 7.4.1320
8360Problem: Building with Cygwin or MingW with channel but without Netbeans
8361 doesn't work.
8362Solution: Set NETBEANS to "no" when not used.
8363Files: src/Make_cyg_ming.mak
8364
8365Patch 7.4.1321
8366Problem: Compiler complains about missing statement.
8367Solution: Add an empty statement. (Andrei Olsen)
8368Files: src/os_win32.c
8369
8370Patch 7.4.1322
8371Problem: Crash when unletting the variable that holds the channel in a
8372 callback function. (Christian Robinson)
8373Solution: Increase the reference count while invoking the callback.
8374Files: src/eval.c, src/channel.c, src/proto/eval.pro,
8375 src/testdir/test_channel.vim
8376
8377Patch 7.4.1323
8378Problem: Do not get warnings when building with MingW.
8379Solution: Remove the -w flag. (Ken Takata)
8380Files: src/Make_cyg_ming.mak
8381
8382Patch 7.4.1324
8383Problem: Channels with pipes don't work on MS-Windows.
8384Solution: Add pipe I/O support. (Yasuhiro Matsumoto)
8385Files: src/channel.c, src/os_win32.c, src/proto/channel.pro,
8386 src/structs.h, src/vim.h, src/testdir/test_channel.vim
8387
8388Patch 7.4.1325
8389Problem: Channel test fails on difference between Unix and DOS line endings.
8390Solution: Strip off CR. Make assert show difference better.
8391Files: src/eval.c, src/channel.c
8392
8393Patch 7.4.1326
8394Problem: Build rules are bit too complicated.
8395Solution: Remove -lwsock32 from Netbeans, it's already added for the channel
8396 feature that it depends on. (Tony Mechelynck)
8397Files: src/Make_cyg_ming.mak
8398
8399Patch 7.4.1327
8400Problem: Channel test doesn't work if Python executable is python.exe.
8401Solution: Find py.exe or python.exe. (Ken Takata)
8402Files: src/testdir/test_channel.vim
8403
8404Patch 7.4.1328
8405Problem: Can't compile with +job but without +channel. (John Marriott)
8406Solution: Add more #ifdefs.
8407Files: src/os_unix.c
8408
8409Patch 7.4.1329
8410Problem: Crash when using channel that failed to open.
8411Solution: Check for NULL. Update messages. (Yukihiro Nakadaira)
8412Files: src/channel.c, src/eval.c, src/testdir/test_channel.vim
8413
8414Patch 7.4.1330
8415Problem: fd_read() has an unused argument.
8416Solution: Remove the timeout. (Yasuhiro Matsumoto)
8417Files: src/channel.c
8418
8419Patch 7.4.1331
8420Problem: Crash when closing the channel in a callback. (Christian J.
8421 Robinson)
8422Solution: Take the callback out of the list before invoking it.
8423Files: src/channel.c, src/testdir/test_channel.vim
8424
8425Patch 7.4.1332
8426Problem: Problem using Python3 when compiled with MingW.
8427Solution: Define PYTHON3_HOME as a wide character string. (Yasuhiro
8428 Matsumoto)
8429Files: src/Make_cyg_ming.mak
8430
8431Patch 7.4.1333
8432Problem: Channel test fails on non-darwin builds.
8433Solution: Add the "osx" feature and test for that. (Kazunobu Kuriyama)
8434Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_channel.vim
8435
8436Patch 7.4.1334
8437Problem: Many compiler warnings with MingW.
8438Solution: Add type casts. (Yasuhiro Matsumoto)
8439Files: src/channel.c, src/dosinst.h, src/eval.c, src/ex_cmds2.c,
8440 src/ex_getln.c, src/fileio.c, src/if_cscope.c, src/if_perl.xs,
8441 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/main.c,
8442 src/mbyte.c, src/misc1.c, src/option.c, src/os_mswin.c,
8443 src/os_win32.c
8444
8445Patch 7.4.1335
8446Problem: Can't build on MS-Windows with +job but without +channel. (Cesar
8447 Romani)
8448Solution: Add #ifdefs. (Yasuhiro Matsumoto)
8449Files: src/os_win32.c
8450
8451Patch 7.4.1336
8452Problem: Channel NL mode is not supported yet.
8453Solution: Add NL mode support to channels.
8454Files: src/channel.c, src/netbeans.c, src/structs.h, src/os_unix.d,
8455 src/os_win32.c, src/proto/channel.pro, src/proto/os_unix.pro,
8456 src/proto/os_win32.pro, src/testdir/test_channel.vim,
8457 src/testdir/test_channel_pipe.py
8458
8459Patch 7.4.1337 (after 7.4.1336)
8460Problem: Part of the change is missing.
8461Solution: Add changes to eval.c
8462Files: src/eval.c
8463
8464
8465Patch 7.4.1338 (after 7.4.1336)
8466Problem: Another part of the change is missing.
8467Solution: Type os_unix.c right this time.
8468Files: src/os_unix.c
8469
8470Patch 7.4.1339
8471Problem: Warnings when building the GUI with MingW. (Cesar Romani)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008472Solution: Add type casts. (Yasuhiro Matsumoto)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008473Files: src/edit.c, src/gui_w32.c, src/gui_w48.c, src/os_mswin.c,
8474 src/os_win32.c
8475
8476Patch 7.4.1340 (after 7.4.1339)
8477Problem: Merge left extra #endif behind.
8478Solution: Remove the #endif
8479Files: src/os_win32.c
8480
8481Patch 7.4.1341
8482Problem: It's difficult to add more arguments to ch_sendraw() and
8483 ch_sendexpr().
8484Solution: Make the third option a dictionary.
8485Files: src/eval.c, src/structs.h, src/channel.c, src/os_unix.c,
8486 src/os_win32.c, src/proto/channel.pro,
8487 src/testdir/test_channel.vim, runtime/doc/eval.txt
8488
8489Patch 7.4.1342
8490Problem: On Mac OS/X the waittime must be > 0 for connect to work.
8491Solution: Use select() in a different way. (partly by Kazunobu Kuriyama)
8492 Always use a waittime of 1 or more.
8493Files: src/eval.c, src/channel.c, src/testdir/test_channel.vim
8494
8495Patch 7.4.1343
8496Problem: Can't compile with +job but without +channel. (Andrei Olsen)
8497Solution: Move get_job_options up and adjust #ifdef.
8498Files: src/eval.c
8499
8500Patch 7.4.1344
8501Problem: Can't compile Win32 GUI with tiny features.
8502Solution: Add #ifdef. (Christian Brabandt)
8503Files: src/gui_w32.c
8504
8505Patch 7.4.1345
8506Problem: A few more compiler warnings. (Axel Bender)
8507Solution: Add type casts.
8508Files: src/gui_w32.c, src/gui_w48.c
8509
8510Patch 7.4.1346
8511Problem: Compiler warnings in build with -O2.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008512Solution: Add initializations.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008513Files: src/eval.c
8514
8515Patch 7.4.1347
8516Problem: When there is any error Vim will use a non-zero exit code.
8517Solution: When using ":silent!" do not set the exit code. (Yasuhiro
8518 Matsumoto)
8519Files: src/message.c
8520
8521Patch 7.4.1348
8522Problem: More compiler warnings. (John Marriott)
8523Solution: Add type casts, remove unused variable.
8524Files: src/gui_w32.c
8525
8526Patch 7.4.1349
8527Problem: And some more MingW compiler warnings. (Cesar Romani)
8528Solution: Add type casts.
8529Files: src/if_mzsch.c
8530
8531Patch 7.4.1350
8532Problem: When the test server fails to start Vim hangs.
8533Solution: Check that there is actually something to read from the tty fd.
8534Files: src/os_unix.c
8535
8536Patch 7.4.1351
8537Problem: When the port isn't opened yet when ch_open() is called it may
8538 fail instead of waiting for the specified time.
8539Solution: Loop when select() succeeds but when connect() failed. Also use
8540 channel logging for jobs. Add ch_log().
8541Files: src/channel.c, src/eval.c, src/netbeans.c, src/proto/channel.pro,
8542 src/testdir/test_channel.vim, src/testdir/test_channel.py
8543
8544Patch 7.4.1352
8545Problem: The test script lists all functions before executing them.
8546Solution: Only list the function currently being executed.
8547Files: src/testdir/runtest.vim
8548
8549Patch 7.4.1353
8550Problem: Test_connect_waittime is skipped for MS-Windows.
8551Solution: Add the test back, it works now.
8552Files: src/testdir/test_channel.vim
8553
8554Patch 7.4.1354
8555Problem: MS-Windows: Mismatch between default compile options and what the
8556 code expects.
8557Solution: Change the default WINVER from 0x0500 to 0x0501. (Ken Takata)
8558Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
8559
8560Patch 7.4.1355
8561Problem: Win32 console and GUI handle channels differently.
8562Solution: Consolidate code between Win32 console and GUI.
8563Files: src/channel.c, src/eval.c, src/gui_w48.c, src/os_win32.c,
8564 src/proto/channel.pro
8565
8566Patch 7.4.1356
8567Problem: Job and channel options parsing is scattered.
8568Solution: Move all option value parsing to get_job_options();
8569Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro,
8570 src/testdir/test_channel.vim
8571
8572Patch 7.4.1357 (after 7.4.1356)
8573Problem: Error for returning value from void function.
8574Solution: Don't do that.
8575Files: src/eval.c
8576
8577Patch 7.4.1358
8578Problem: Compiler warning when not building with +crypt.
8579Solution: Add #ifdef. (John Marriott)
8580Files: src/undo.c
8581
8582Patch 7.4.1359 (after 7.4.1356)
8583Problem: Channel test ch_sendexpr() times out.
8584Solution: Increase the timeout
8585Files: src/testdir/test_channel.vim
8586
8587Patch 7.4.1360
8588Problem: Can't remove a callback with ch_setoptions().
8589Solution: When passing zero or an empty string remove the callback.
8590Files: src/channel.c, src/proto/channel.pro, src/testdir/test_channel.vim
8591
8592Patch 7.4.1361
8593Problem: Channel test fails on Solaris.
8594Solution: Use the 1 msec waittime for all systems.
8595Files: src/channel.c
8596
8597Patch 7.4.1362 (after 7.4.1356)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008598Problem: Using uninitialized value.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008599Solution: Initialize jo_set.
8600Files: src/eval.c
8601
8602Patch 7.4.1363
8603Problem: Compiler warnings with tiny build.
8604Solution: Add #ifdefs.
8605Files: src/gui_w48.c, src/gui_w32.c
8606
8607Patch 7.4.1364
8608Problem: The Win 16 code is not maintained and unused.
8609Solution: Remove the Win 16 support.
8610Files: src/gui_w16.c, src/gui_w32.c, src/gui_w48.c, src/Make_w16.mak,
8611 src/Makefile, src/Make_cyg_ming.mak, src/Make_mvc.mak,
8612 src/proto/gui_w16.pro, src/proto/os_win16.pro, src/guiw16rc.h,
8613 src/vim16.rc, src/vim16.def, src/tools16.bmp, src/eval.c,
8614 src/gui.c, src/misc2.c, src/option.c, src/os_msdos.c,
8615 src/os_mswin.c, src/os_win16.c, src/os_win16.h, src/version.c,
8616 src/winclip.c, src/feature.h, src/proto.h, src/vim.h, Filelist
8617
8618Patch 7.4.1365
8619Problem: Cannot execute a single test function.
8620Solution: Add an argument to filter the functions with. (Yasuhiro Matsumoto)
8621Files: src/testdir/runtest.vim
8622
8623Patch 7.4.1366
8624Problem: Typo in test and resulting error in test result.
Bram Moolenaar09521312016-08-12 22:54:35 +02008625Solution: Fix the typo and correct the result. (James McCoy, closes #650)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008626Files: src/testdir/test_charsearch.in, src/testdir/test_charsearch.ok
8627
8628Patch 7.4.1367
8629Problem: Compiler warning for unreachable code.
8630Solution: Remove a "break". (Danek Duvall)
8631Files: src/json.c
8632
8633Patch 7.4.1368
8634Problem: One more Win16 file remains.
8635Solution: Delete it.
8636Files: src/proto/os_win16.pro
8637
8638Patch 7.4.1369
8639Problem: Channels don't have a queue for stderr.
8640Solution: Have a queue for each part of the channel.
8641Files: src/channel.c, src/eval.c, src/structs.h, src/netbeans.c,
8642 src/gui_w32.c, src/proto/channel.pro
8643
8644Patch 7.4.1370
8645Problem: The Python test script may keep on running.
8646Solution: Join the threads. (Yasuhiro Matsumoto)
8647Files: src/testdir/test_channel.py
8648
8649Patch 7.4.1371
8650Problem: X11 GUI callbacks don't specify the part of the channel.
8651Solution: Pass the fd instead of the channel ID.
8652Files: src/channel.c
8653
8654Patch 7.4.1372
8655Problem: channel read implementation is incomplete.
8656Solution: Add ch_read() and options for ch_readraw().
8657Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro,
8658 src/testdir/test_channel.vim
8659
8660Patch 7.4.1373
8661Problem: Calling a Vim function over a channel requires turning the
8662 arguments into a string.
8663Solution: Add the "call" command. (Damien) Also merge "expr" and "eval"
8664 into one.
8665Files: src/channel.c, src/testdir/test_channel.py,
8666 src/testdir/test_channel.vim
8667
8668Patch 7.4.1374
8669Problem: Channel test hangs on MS-Windows.
8670Solution: Disable the ch_read() that is supposed to time out.
8671Files: src/testdir/test_channel.vim
8672
8673Patch 7.4.1375
8674Problem: Still some Win16 code.
8675Solution: Remove FEAT_GUI_W16.(Hirohito Higashi)
8676Files: src/eval.c, src/ex_cmds.h, src/feature.h, src/gui.h, src/menu.c,
8677 src/misc1.c, src/option.c, src/proto.h, src/structs.h, src/term.c,
8678 src/vim.h, runtime/doc/gui_w16.txt
8679
8680Patch 7.4.1376
8681Problem: ch_setoptions() cannot set all options.
8682Solution: Support more options.
8683Files: src/channel.c, src/eval.c, src/structs.h, runtime/doc/channel.txt,
8684 src/testdir/test_channel.vim
8685
8686Patch 7.4.1377
8687Problem: Test_connect_waittime() is flaky.
8688Solution: Ignore the "Connection reset by peer" error.
8689Files: src/testdir/test_channel.vim
8690
8691Patch 7.4.1378
8692Problem: Can't change job settings after it started.
8693Solution: Add job_setoptions() with the "stoponexit" flag.
8694Files: src/eval.c, src/main.c, src/structs.h, src/proto/eval.pro,
8695 src/testdir/test_channel.vim
8696
8697Patch 7.4.1379
8698Problem: Channel test fails on Win32 console.
8699Solution: Don't sleep when timeout is zero. Call channel_wait() before
8700 channel_read(). Channels are not polled during ":sleep". (Yukihiro
8701 Nakadaira)
8702Files: src/channel.c, src/misc2.c, src/gui_w32.c, src/os_win32.c
8703
8704Patch 7.4.1380
8705Problem: The job exit callback is not implemented.
8706Solution: Add the "exit-cb" option.
8707Files: src/structs.h, src/eval.c, src/channel.c, src/proto/eval.pro,
8708 src/misc2.c, src/macros.h, src/testdir/test_channel.vim
8709
8710Patch 7.4.1381 (after 7.4.1380)
8711Problem: Exit value not available on MS-Windows.
8712Solution: Set the exit value.
8713Files: src/structs.h, src/os_win32.c
8714
8715Patch 7.4.1382
8716Problem: Can't get the job of a channel.
8717Solution: Add ch_getjob().
8718Files: src/eval.c, runtime/doc/channel.txt, runtime/doc/eval.txt
8719
8720Patch 7.4.1383
8721Problem: GvimExt only loads the old libintl.dll.
8722Solution: Also try loading libint-8.dll. (Ken Takata, closes #608)
8723Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
8724
8725Patch 7.4.1384
8726Problem: It is not easy to use a set of plugins and their dependencies.
8727Solution: Add packages, ":loadplugin", 'packpath'.
8728Files: src/main.c, src/ex_cmds2.c, src/option.c, src/option.h,
8729 src/ex_cmds.h, src/eval.c, src/version.c, src/proto/ex_cmds2.pro,
8730 runtime/doc/repeat.txt, runtime/doc/options.txt,
8731 runtime/optwin.vim
8732
8733Patch 7.4.1385
8734Problem: Compiler warning for using array.
8735Solution: Use the right member name. (Yegappan Lakshmanan)
8736Files: src/eval.c
8737
8738Patch 7.4.1386
8739Problem: When the Job exit callback is invoked, the job may be freed too
8740 soon. (Yasuhiro Matsumoto)
8741Solution: Increase refcount.
8742Files: src/eval.c
8743
8744Patch 7.4.1387
8745Problem: Win16 docs still referenced.
8746Solution: Remove Win16 files from the docs Makefile. (Kenichi Ito)
8747Files: runtime/doc/Makefile
8748
8749Patch 7.4.1388
8750Problem: Compiler warning. (Cesar Romani)
8751Solution: Initialize variable.
8752Files: src/ex_cmds2.c
8753
8754Patch 7.4.1389
8755Problem: Incomplete function declaration.
8756Solution: Add "void". (Yasuhiro Matsumoto)
8757Files: src/eval.c
8758
8759Patch 7.4.1390
8760Problem: When building with GTK and glib-compile-resources cannot be found
8761 building Vim fails. (Michael Gehring)
8762Solution: Make GLIB_COMPILE_RESOURCES empty instead of leaving it at "no".
8763 (nuko8, closes #655)
8764Files: src/configure.in, src/auto/configure
8765
8766Patch 7.4.1391
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008767Problem: Warning for uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008768Solution: Set it to zero. (Christian Brabandt)
8769Files: src/eval.c
8770
8771Patch 7.4.1392
8772Problem: Some tests fail for Win32 console version.
8773Solution: Move the tests to SCRIPTS_MORE2. Pass VIMRUNTIME. (Christian
8774 Brabandt)
8775Files: src/testdir/Make_all.mak
8776
8777Patch 7.4.1393
8778Problem: Starting a job hangs in the GUI. (Takuya Fujiwara)
8779Solution: Don't check if ch_job is NULL when checking for an error.
8780 (Yasuhiro Matsumoto)
8781Files: src/channel.c
8782
8783Patch 7.4.1394
8784Problem: Can't sort inside a sort function.
8785Solution: Use a struct to store the sort parameters. (Jacob Niehus)
8786Files: src/eval.c, src/testdir/test_sort.vim
8787
8788Patch 7.4.1395
8789Problem: Using DETACH in quotes is not compatible with the Netbeans
8790 interface. (Xavier de Gaye)
8791Solution: Remove the quotes, only use them for JSON and JS mode.
8792Files: src/netbeans.c, src/channel.c
8793
8794Patch 7.4.1396
8795Problem: Compiler warnings for conversions.
8796Solution: Add type cast.
8797Files: src/ex_cmds2.c
8798
8799Patch 7.4.1397
8800Problem: Sort test fails on MS-Windows.
8801Solution: Correct the compare function.
8802Files: src/testdir/test_sort.vim
8803
8804Patch 7.4.1398
8805Problem: The close-cb option is not implemented yet.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008806Solution: Implement close-cb. (Yasuhiro Matsumoto)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008807Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro,
8808 src/testdir/test_channel.py, src/testdir/test_channel.vim
8809
8810Patch 7.4.1399
8811Problem: The MS-DOS code does not build.
8812Solution: Remove the old MS-DOS code.
8813Files: Filelist, src/Make_bc3.mak, src/Make_bc5.mak, src/Make_djg.mak,
8814 src/Makefile, src/blowfish.c, src/buffer.c, src/diff.c,
8815 src/digraph.c, src/dosinst.h, src/eval.c, src/ex_cmds.c,
8816 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/feature.h,
8817 src/fileio.c, src/getchar.c, src/globals.h, src/macros.h,
8818 src/main.c, src/mbyte.c, src/memfile.c, src/memline.c,
8819 src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c,
8820 src/option.h, src/os_msdos.c, src/os_msdos.h, src/proto.h,
8821 src/proto/os_msdos.pro, src/regexp.c, src/screen.c, src/structs.h,
Bram Moolenaar7e1479b2016-09-11 15:07:27 +02008822 src/syntax.c, src/term.c, src/undo.c, src/uninstal.c,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008823 src/version.c, src/vim.h, src/window.c, src/xxd/Make_bc3.mak,
8824 src/xxd/Make_djg.mak
8825
8826
8827Patch 7.4.1400
8828Problem: Perl eval doesn't work properly on 64-bit big-endian machine.
8829Solution: Use 32 bit type for the key. (Danek Duvall)
8830Files: src/if_perl.xs
8831
8832Patch 7.4.1401
8833Problem: Having 'autochdir' set during startup and using diff mode doesn't
8834 work. (Axel Bender)
8835Solution: Don't use 'autochdir' while still starting up. (Christian
8836 Brabandt)
8837Files: src/buffer.c
8838
8839Patch 7.4.1402
8840Problem: GTK 3 is not supported.
8841Solution: Add GTK 3 support. (Kazunobu Kuriyama)
8842Files: runtime/doc/eval.txt, runtime/doc/gui.txt,
8843 runtime/doc/gui_x11.txt, src/auto/configure, src/channel.c,
8844 src/config.h.in, src/configure.in, src/eval.c, src/gui.h,
8845 src/gui_beval.c, src/gui_beval.h, src/gui_gtk.c, src/gui_gtk_f.c,
8846 src/gui_gtk_f.h, src/gui_gtk_x11.c, src/if_mzsch.c, src/mbyte.c,
8847 src/netbeans.c, src/structs.h, src/version.c
8848
8849Patch 7.4.1403
8850Problem: Can't build without the quickfix feature.
8851Solution: Add #ifdefs. Call ex_ni() for unimplemented commands. (Yegappan
8852 Lakshmanan)
8853Files: src/ex_cmds2.c, src/popupmnu.c
8854
8855Patch 7.4.1404
8856Problem: ch_read() doesn't time out on MS-Windows.
8857Solution: Instead of WM_NETBEANS use select(). (Yukihiro Nakadaira)
8858Files: src/channel.c, src/gui_w32.c, src/os_win32.c, src/structs.h,
8859 src/testdir/test_channel.vim, src/vim.h
8860
8861Patch 7.4.1405
8862Problem: Completion menu flickers.
Bram Moolenaard0796902016-09-16 20:02:31 +02008863Solution: Delay showing the popup menu. (Shougo Matsu, Justin M. Keyes,
8864 closes #656)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008865Files: src/edit.c
8866
8867Patch 7.4.1406
8868Problem: Leaking memory in cs_print_tags_priv().
8869Solution: Free tbuf. (idea by Forrest Fleming)
8870Files: src/if_cscope.c
8871
8872Patch 7.4.1407
8873Problem: json_encode() does not handle NaN and inf properly. (David
8874 Barnett)
8875Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity".
8876 Add isnan().
8877Files: src/eval.c, src/json.c, src/testdir/test_json.vim
8878
8879Patch 7.4.1408
8880Problem: MS-Windows doesn't have isnan() and isinf().
8881Solution: Use _isnan() and _isinf().
8882Files: src/eval.c, src/json.c
8883
8884Patch 7.4.1409 (after 7.4.1402)
8885Problem: Configure includes GUI despite --disable-gui flag.
8886Solution: Add SKIP_GTK3. (Kazunobu Kuriyama)
8887Files: src/configure.in, src/auto/configure
8888
8889Patch 7.4.1410
8890Problem: Leaking memory in cscope interface.
8891Solution: Free memory when no tab is found. (Christian Brabandt)
8892Files: src/if_cscope.c
8893
8894Patch 7.4.1411
8895Problem: Compiler warning for indent. (Ajit Thakkar)
8896Solution: Indent normally.
8897Files: src/ui.c
8898
8899Patch 7.4.1412
8900Problem: Compiler warning for indent. (Dominique Pelle)
8901Solution: Fix the indent.
8902Files: src/farsi.c
8903
8904Patch 7.4.1413
8905Problem: When calling ch_close() the close callback is invoked, even though
8906 the docs say it isn't. (Christian J. Robinson)
8907Solution: Don't call the close callback.
8908Files: src/eval.c, src/channel.c, src/netbeans.c, src/proto/channel.pro
8909
8910Patch 7.4.1414
8911Problem: Appveyor only builds one feature set.
8912Solution: Build a combination of features and GUI/console. (Christian
8913 Brabandt)
8914Files: appveyor.yml, src/appveyor.bat
8915
8916Patch 7.4.1415 (after 7.4.1414)
8917Problem: Dropped the skip-tags setting.
8918Solution: Put it back.
8919Files: appveyor.yml
8920
8921Patch 7.4.1416
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008922Problem: Using "u_char" instead of "char_u", which doesn't work everywhere.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008923 (Jörg Plate)
8924Solution: Use "char_u" always.
8925Files: src/integration.c, src/macros.h
8926
8927Patch 7.4.1417 (after 7.4.1414)
8928Problem: Missing appveyor.bat from the distribution.
8929Solution: Add it to the list of files.
8930Files: Filelist
8931
8932Patch 7.4.1418
8933Problem: job_stop() on MS-Windows does not really stop the job.
8934Solution: Make the default to stop the job forcefully. (Ken Takata)
8935 Make MS-Windows and Unix more similar.
8936Files: src/os_win32.c, src/os_unix.c, runtime/doc/eval.txt
8937
8938Patch 7.4.1419
8939Problem: Tests slowed down because of the "not a terminal" warning.
8940Solution: Add the --not-a-term command line argument.
8941Files: src/main.c, src/testdir/Makefile, src/Make_all.mak,
8942 src/Make_amiga.mak, src/testdir/Make_dos.mak,
8943 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8944 runtime/doc/starting.txt
8945
8946Patch 7.4.1420 (after 7.4.1419)
8947Problem: Missing makefile.
8948Solution: Type the path correctly.
8949Files: src/testdir/Make_all.mak
8950
8951Patch 7.4.1421
8952Problem: May free a channel when a callback may need to be invoked.
8953Solution: Keep the channel when refcount is zero.
8954Files: src/eval.c, src/channel.c, src/proto/channel.pro
8955
8956Patch 7.4.1422
8957Problem: Error when reading fails uses wrong errno. Keeping channel open
8958 after job stops results in test failing.
8959Solution: Move the error up. Add ch_job_killed.
8960Files: src/channel.c, src/eval.c, src/structs.h
8961
8962Patch 7.4.1423
8963Problem: Channel test fails on MS-Windows.
8964Solution: Do not give an error message when reading fails, assume the other
8965 end exited.
8966Files: src/channel.c
8967
8968Patch 7.4.1424
8969Problem: Not using --not-a-term when running tests on MS-Windows.
8970Solution: Use NO_PLUGIN. (Christian Brabandt)
8971Files: src/testdir/Make_dos.mak
8972
8973Patch 7.4.1425
8974Problem: There are still references to MS-DOS support.
8975Solution: Remove most of the help txt and install instructions. (Ken Takata)
8976Files: src/INSTALLpc.txt, runtime/doc/os_msdos.txt, csdpmi4b.zip,
8977 Filelist
8978
8979Patch 7.4.1426
8980Problem: The "out-io" option for jobs is not implemented yet.
8981Solution: Implement the "buffer" value: append job output to a buffer.
8982Files: src/eval.c, src/channel.c, src/structs.h, src/netbeans.c,
8983 runtime/doc/channel.txt
8984
8985Patch 7.4.1427
8986Problem: Trailing comma in enums is not ANSI C.
8987Solution: Remove the trailing commas.
8988Files: src/alloc.h, src/gui_mac.c
8989
8990Patch 7.4.1428
8991Problem: Compiler warning for non-virtual destructor.
8992Solution: Make it virtual. (Yasuhiro Matsumoto)
8993Files: src/gui_dwrite.cpp
8994
8995Patch 7.4.1429
8996Problem: On MS-Windows, when not use renderoptions=type:directx, drawing
8997 emoji will be broken.
8998Solution: Fix usage of unicodepdy. (Yasuhiro Matsumoto)
8999Files: src/gui_w32.c
9000
9001Patch 7.4.1430
9002Problem: When encoding JSON, turning NaN and Infinity into null without
9003 giving an error is not useful.
9004Solution: Pass NaN and Infinity on. If the receiver can't handle them it
9005 will generate the error.
9006Files: src/json.c, src/testdir/test_json.vim, runtime/doc/eval.txt
9007
9008Patch 7.4.1431
9009Problem: Including header files twice.
9010Solution: Remove the extra includes.
9011Files: src/if_cscope.h
9012
9013Patch 7.4.1432
9014Problem: Typo in button text.
9015Solution: Fix the typo. (Dominique Pelle)
9016Files: src/gui_gtk.c
9017
9018Patch 7.4.1433
9019Problem: The Sniff interface is no longer useful, the tool has not been
9020 available for may years.
9021Solution: Delete the Sniff interface and related code.
9022Files: src/if_sniff.c, src/if_sniff.h, src/charset.c, src/edit.c,
9023 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
9024 src/gui_gtk_x11.c, src/gui_w32.c, src/gui_x11.c, src/normal.c,
9025 src/os_unix.c, src/os_win32.c, src/term.c, src/ui.c,
9026 src/version.c, src/ex_cmds.h, src/feature.h, src/keymap.h,
9027 src/structs.h, src/vim.h, src/Make_mvc.mak, src/Make_vms.mms,
9028 src/Makefile, src/configure.in, src/auto/configure,
9029 src/config.h.in, src/config.mk.in, runtime/doc/if_sniff.txt,
9030 src/config.aap.in, src/main.aap
9031
9032Patch 7.4.1434
9033Problem: JSON encoding doesn't handle surrogate pair.
9034Solution: Improve multi-byte handling of JSON. (Yasuhiro Matsumoto)
9035Files: src/json.c, src/testdir/test_json.vim
9036
9037Patch 7.4.1435
9038Problem: It is confusing that ch_sendexpr() and ch_sendraw() wait for a
9039 response.
9040Solution: Add ch_evalexpr() and ch_evalraw().
9041Files: src/eval.c, runtime/doc/channel.txt, runtime/doc/eval.txt,
9042 src/testdir/test_channel.vim
9043
9044Patch 7.4.1436 (after 7.4.1433)
9045Problem: Sniff files still referenced in distribution.
9046Solution: Remove sniff files from distribution.
9047Files: Filelist
9048
9049Patch 7.4.1437
9050Problem: Old system doesn't have isinf() and NAN. (Ben Fritz)
9051Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with
9052 configure. Use a replacement when missing. (Kazunobu Kuriyama)
9053Files: src/eval.c, src/json.c, src/macros.h, src/message.c,
9054 src/config.h.in, src/configure.in, src/auto/configure
9055
9056Patch 7.4.1438
9057Problem: Can't get buffer number of a channel.
9058Solution: Add ch_getbufnr().
9059Files: src/eval.c, src/channel.c, src/testdir/test_channel.vim,
9060 runtime/doc/channel.txt, runtime/doc/eval.txt
9061
9062Patch 7.4.1439 (after 7.4.1434)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009063Problem: Using uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009064Solution: Initialize vc_type.
9065Files: src/json.c
9066
9067Patch 7.4.1440 (after 7.4.1437)
9068Problem: Can't build on Windows.
9069Solution: Change #ifdefs. Only define isnan when used.
9070Files: src/macros.h, src/eval.c, src/json.c
9071
9072Patch 7.4.1441
9073Problem: Using empty name instead of no name for channel buffer.
9074Solution: Remove the empty name.
9075Files: src/channel.c
9076
9077Patch 7.4.1442
9078Problem: MS-Windows: more compilation warnings for destructor.
9079Solution: Add "virtual". (Ken Takata)
9080Files: src/if_ole.cpp
9081
9082Patch 7.4.1443
9083Problem: Can't build GTK3 with small features.
9084Solution: Use gtk_widget_get_window(). Fix typos. (Dominique Pelle)
9085Files: src/gui_gtk_x11.c
9086
9087Patch 7.4.1444
9088Problem: Can't build with JSON but without multi-byte.
9089Solution: Fix pointer name.
9090Files: src/json.c
9091
9092Patch 7.4.1445
9093Problem: Memory corruption when 'encoding' is not utf-8.
9094Solution: Convert decoded string later.
9095Files: src/json.c
9096
9097Patch 7.4.1446
9098Problem: Crash when using json_decode().
9099Solution: Terminate string with a NUL byte.
9100Files: src/json.c
9101
9102Patch 7.4.1447
9103Problem: Memory leak when using ch_read(). (Dominique Pelle)
9104 No log message when stopping a job and a few other situations.
9105 Too many "Nothing to read" messages. Channels are not freed.
9106Solution: Free the listtv. Add more log messages. Remove "Nothing to read"
9107 message. Remove the channel from the job when its refcount
9108 becomes zero.
9109Files: src/eval.c, src/channel.c
9110
9111Patch 7.4.1448
9112Problem: JSON tests fail if 'encoding' is not utf-8.
9113Solution: Force encoding to utf-8.
9114Files: src/testdir/test_json.vim
9115
9116Patch 7.4.1449
9117Problem: Build fails with job feature but without channel feature.
9118Solution: Add #ifdef.
9119Files: src/eval.c
9120
9121Patch 7.4.1450
9122Problem: Json encoding still fails when encoding is not utf-8.
9123Solution: Set 'encoding' before :scriptencoding. Run the json test
9124 separately to avoid affecting other tests.
9125Files: src/testdir/test_json.vim, src/testdir/Make_all.mak,
9126 src/testdir/test_alot.vim
9127
9128Patch 7.4.1451
9129Problem: Vim hangs when a channel has a callback but isn't referenced.
9130Solution: Have channel_unref() only return TRUE when the channel was
9131 actually freed.
9132Files: src/eval.c, src/channel.c, src/proto/channel.pro
9133
9134Patch 7.4.1452
9135Problem: When a callback adds a syntax item either the redraw doesn't
9136 happen right away or in the GUI the cursor is in the wrong
9137 position for a moment. (Jakson Alves de Aquino)
9138Solution: Redraw after the callback was invoked.
9139Files: src/channel.c
9140
9141Patch 7.4.1453
9142Problem: Missing --not-a-term.
9143Solution: Add the argument.
9144Files: src/testdir/Make_amiga.mak
9145
9146Patch 7.4.1454
9147Problem: The exit callback test is flaky.
9148Solution: Loop to wait for a short time up to a second.
9149Files: src/testdir/test_channel.vim
9150
9151Patch 7.4.1455
9152Problem: JSON decoding test for surrogate pairs is in the wrong place.
9153Solution: Move the test lines. (Ken Takata)
9154Files: src/testdir/test_json.vim
9155
9156Patch 7.4.1456
9157Problem: Test 87 fails with Python 3.5.
9158Solution: Work around difference. (Taro Muraoka)
9159Files: src/testdir/test87.in
9160
9161Patch 7.4.1457
9162Problem: Opening a channel with select() is not done properly.
9163Solution: Also used read-fds. Use getsockopt() to check for errors. (Ozaki
9164 Kiichi)
9165Files: src/channel.c
9166
9167Patch 7.4.1458
9168Problem: When a JSON channel has a callback it may never be cleared.
9169Solution: Do not write "DETACH" into a JS or JSON channel.
9170Files: src/channel.c
9171
9172Patch 7.4.1459 (after 7.4.1457)
9173Problem: MS-Windows doesn't know socklen_t.
9174Solution: Use previous method for WIN32.
9175Files: src/channel.c
9176
9177Patch 7.4.1460
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009178Problem: Syntax error in rarely used code.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009179Solution: Fix the mch_rename() declaration. (Ken Takata)
9180Files: src/os_unix.c, src/proto/os_unix.pro
9181
9182Patch 7.4.1461
9183Problem: When starting job on MS-Windows all parts of the command are put
9184 in quotes.
9185Solution: Only use quotes when needed. (Yasuhiro Matsumoto)
9186Files: src/eval.c
9187
9188Patch 7.4.1462
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009189Problem: Two more rarely used functions with errors.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009190Solution: Add proper argument types. (Dominique Pelle)
9191Files: src/misc2.c, src/termlib.c
9192
9193Patch 7.4.1463
9194Problem: Configure doesn't find isinf() and isnan() on some systems.
9195Solution: Use a configure check that includes math.h.
9196Files: src/configure.in, src/auto/configure
9197
9198Patch 7.4.1464
9199Problem: When the argument of sort() is zero or empty it fails.
9200Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto)
9201Files: src/eval.c, src/testdir/test_sort.vim
9202
9203Patch 7.4.1465
9204Problem: Coverity reported possible use of NULL pointer when using buffer
9205 output with JSON mode.
9206Solution: Make it actually possible to use JSON mode with a buffer.
9207 Re-encode the JSON to append it to the buffer.
9208Files: src/channel.c, src/testdir/test_channel.vim
9209
9210Patch 7.4.1466
9211Problem: Coverity reports dead code.
9212Solution: Remove the two lines.
9213Files: src/channel.c
9214
9215Patch 7.4.1467
9216Problem: Can't build without the float feature.
9217Solution: Add #ifdefs. (Nick Owens, closes #667)
9218Files: src/eval.c, src/json.c
9219
9220Patch 7.4.1468
9221Problem: Sort test doesn't test with "1" argument.
9222Solution: Also test ignore-case sorting. (Yasuhiro Matsumoto)
9223Files: src/testdir/test_sort.vim
9224
9225Patch 7.4.1469
9226Problem: Channel test sometimes fails, especially on OS/X. (Kazunobu
9227 Kuriyama)
9228Solution: Change the && into ||, call getsockopt() in more situations.
9229 (Ozaki Kiichi)
9230Files: src/channel.c
9231
9232Patch 7.4.1470
9233Problem: Coverity reports missing restore.
9234Solution: Move json_encode() call up.
9235Files: src/channel.c
9236
9237Patch 7.4.1471
9238Problem: Missing out-of-memory check. And Coverity warning.
9239Solution: Bail out when msg is NULL.
9240Files: src/channel.c
9241
9242Patch 7.4.1472
9243Problem: Coverity warning for not using return value.
9244Solution: Add "(void)".
9245Files: src/os_unix.c
9246
9247Patch 7.4.1473
9248Problem: Can't build without the autocommand feature.
9249Solution: Add #ifdefs. (Yegappan Lakshmanan)
9250Files: src/edit.c, src/main.c, src/syntax.c
9251
9252Patch 7.4.1474
9253Problem: Compiler warnings without the float feature.
9254Solution: Move #ifdefs. (John Marriott)
9255Files: src/eval.c
9256
9257Patch 7.4.1475
9258Problem: When using hangulinput with utf-8 a CSI character is
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009259 misinterpreted.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009260Solution: Convert CSI to K_CSI. (SungHyun Nam)
9261Files: src/ui.c
9262
9263Patch 7.4.1476
9264Problem: Function arguments marked as unused while they are not.
9265Solution: Remove UNUSED. (Yegappan Lakshmanan)
9266Files: src/diff.c, src/eval.c, src/ex_cmds2.c, src/ex_docmd.c,
9267 src/window.c
9268
9269Patch 7.4.1477
9270Problem: Test_reltime is flaky, it depends on timing.
9271Solution: When it fails run it a second time.
9272Files: src/testdir/runtest.vim
9273
9274Patch 7.4.1478
9275Problem: ":loadplugin" doesn't take care of ftdetect files.
9276Solution: Also load ftdetect scripts when appropriate.
9277Files: src/ex_cmds2.c
9278
9279Patch 7.4.1479
9280Problem: No testfor ":loadplugin".
9281Solution: Add a test. Fix how option is being set.
9282Files: src/ex_cmds2.c, src/testdir/test_loadplugin.vim,
9283 src/testdir/Make_all.mak
9284
9285Patch 7.4.1480
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009286Problem: Cannot add a pack directory without loading a plugin.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009287Solution: Add the :packadd command.
9288Files: src/ex_cmds.h, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
9289 src/testdir/test_loadplugin.vim, runtime/doc/repeat.txt
9290
9291Patch 7.4.1481
9292Problem: Can't build with small features.
9293Solution: Add #ifdef.
9294Files: src/ex_cmds2.c
9295
9296Patch 7.4.1482
9297Problem: "timeout" option not supported on ch_eval*().
9298Solution: Get and use the timeout option from the argument.
9299Files: src/eval.c, src/testdir/test_channel.vim
9300
9301Patch 7.4.1483
9302Problem: A one-time callback is not used for a raw channel.
9303Solution: Use a one-time callback when it exists.
9304Files: src/channel.c, src/testdir/test_channel.vim,
9305 src/testdir/test_channel.py
9306
9307Patch 7.4.1484
9308Problem: Channel "err-io" value "out" is not supported.
9309Solution: Connect stderr to stdout if wanted.
9310Files: src/os_unix.c, src/os_win32.c, src/testdir/test_channel.vim,
9311 src/testdir/test_channel_pipe.py
9312
9313Patch 7.4.1485
9314Problem: Job input from buffer is not implemented.
9315Solution: Implement it. Add "in-top" and "in-bot" options.
9316Files: src/structs.h, src/eval.c, src/channel.c, src/proto/channel.pro,
9317 src/os_unix.c, src/os_win32.c, src/testdir/test_channel.vim
9318
9319Patch 7.4.1486
9320Problem: ":loadplugin" is not optimal, some people find it confusing.
9321Solution: Only use ":packadd" with an optional "!".
9322Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_loadplugin.vim,
9323 src/testdir/test_packadd.vim, src/testdir/Make_all.mak,
Bram Moolenaar64d8e252016-09-06 22:12:34 +02009324 runtime/doc/repeat.txt
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009325
9326Patch 7.4.1487
9327Problem: For WIN32 isinf() is defined as a macro.
9328Solution: Define it as an inline function. (ZyX)
9329Files: src/macros.h
9330
9331Patch 7.4.1488 (after 7.4.1475)
9332Problem: Not using key when result from hangul_string_convert() is NULL.
9333Solution: Fall back to not converted string.
9334Files: src/ui.c
9335
9336Patch 7.4.1489 (after 7.4.1487)
9337Problem: "inline" is not supported by old MSVC.
9338Solution: use "__inline". (Ken Takata)
9339Files: src/macros.h
9340
9341Patch 7.4.1490
9342Problem: Compiler warning for unused function.
9343Solution: Add #ifdef. (Dominique Pelle)
9344Files: src/gui_gtk_x11.c
9345
9346Patch 7.4.1491
9347Problem: Visual-block shift breaks multi-byte characters.
9348Solution: Compute column differently. (Yasuhiro Matsumoto) Add a test.
9349Files: src/ops.c, src/testdir/test_visual.vim, src/testdir/Make_all.mak
9350
9351Patch 7.4.1492
9352Problem: No command line completion for ":packadd".
9353Solution: Implement completion. (Hirohito Higashi)
9354Files: src/ex_docmd.c, src/ex_getln.c, src/testdir/test_packadd.vim,
9355 src/vim.h
9356
9357Patch 7.4.1493
9358Problem: Wrong callback invoked for zero-id messages.
9359Solution: Don't use the first one-time callback when the sequence number
9360 doesn't match.
9361Files: src/channel.c, src/testdir/test_channel.vim,
9362 src/testdir/test_channel.py
9363
9364Patch 7.4.1494
9365Problem: clr_history() does not work properly.
9366Solution: Increment hisptr. Add a test. (Yegappan Lakshmanan)
9367Files: src/ex_getln.c, src/testdir/test_history.vim,
9368 src/testdir/Make_all.mak
9369
9370Patch 7.4.1495
9371Problem: Compiler warnings when building on Unix with the job feature but
9372 without the channel feature.
9373Solution: Move #ifdefs. (Dominique Pelle)
Bram Moolenaar09521312016-08-12 22:54:35 +02009374Files: src/os_unix.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009375
9376Patch 7.4.1496
9377Problem: Crash when built with GUI but it's not active. (Dominique Pelle)
9378Solution: Check gui.in_use.
9379Files: src/channel.c
9380
9381Patch 7.4.1497
9382Problem: Cursor drawing problem with GTK 3.
9383Solution: Handle blinking differently. (Kazunobu Kuriyama)
9384Files: src/gui_gtk_x11.c
9385
9386Patch 7.4.1498
Bram Moolenaard0796902016-09-16 20:02:31 +02009387Problem: Error for locked item when using json_decode(). (Shougo Matsu)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009388Solution: Initialize v_lock.
9389Files: src/json.c
9390
9391Patch 7.4.1499
9392Problem: No error message when :packadd does not find anything.
9393Solution: Add an error message. (Hirohito Higashi)
9394Files: runtime/doc/repeat.txt, src/ex_cmds.h, src/ex_cmds2.c,
9395 src/globals.h, src/testdir/test_packadd.vim
9396
9397Patch 7.4.1500
9398Problem: Should_free flag set to FALSE.
9399Solution: Set it to TRUE. (Neovim 4415)
9400Files: src/ex_eval.c
9401
9402Patch 7.4.1501
9403Problem: Garbage collection with an open channel is not tested.
9404Solution: Call garbagecollect() in the test.
9405Files: src/testdir/test_channel.vim
9406
9407Patch 7.4.1502
9408Problem: Writing last-but-one line of buffer to a channel isn't implemented
9409 yet.
9410Solution: Implement it. Fix leaving a swap file behind.
9411Files: src/channel.c, src/structs.h, src/memline.c, src/proto/channel.pro
9412
9413Patch 7.4.1503
9414Problem: Crash when using ch_getjob(). (Damien)
9415Solution: Check for a NULL job.
9416Files: src/eval.c, src/testdir/test_channel.vim
9417
9418Patch 7.4.1504 (after 7.4.1502)
9419Problem: No test for reading last-but-one line.
9420Solution: Add a test.
9421Files: src/testdir/test_channel.vim
9422
9423Patch 7.4.1505
9424Problem: When channel log is enabled get too many "looking for messages"
9425 log entries.
9426Solution: Only give the message after another message.
9427Files: src/channel.c
9428
9429Patch 7.4.1506
9430Problem: Job cannot read from a file.
9431Solution: Implement reading from a file for Unix.
9432Files: src/eval.c, src/os_unix.c, src/os_win32.c,
9433 src/testdir/test_channel.vim
9434
9435Patch 7.4.1507
9436Problem: Crash when starting a job fails.
9437Solution: Check for the channel to be NULL. (idea by Yasuhiro Matsumoto)
9438Files: src/eval.c
9439
9440Patch 7.4.1508
9441Problem: Can't build GvimExt with MingW.
9442Solution: Adjust the makefile. (Ben Fritz)
9443Files: src/GvimExt/Make_ming.mak
9444
9445Patch 7.4.1509
9446Problem: Keeping both a variable for a job and the channel it refers to is
9447 a hassle.
9448Solution: Allow passing the job where a channel is expected. (Damien)
9449Files: src/eval.c, src/testdir/test_channel.vim
9450
9451Patch 7.4.1510
9452Problem: Channel test fails on AppVeyor.
9453Solution: Wait longer than 10 msec if needed.
9454Files: src/testdir/test_channel.vim
9455
9456Patch 7.4.1511
9457Problem: Statusline highlighting is sometimes wrong.
9458Solution: Check for Highlight type. (Christian Brabandt)
9459Files: src/buffer.c
9460
9461Patch 7.4.1512
9462Problem: Channel input from file not supported on MS-Windows.
9463Solution: Implement it. (Yasuhiro Matsumoto)
9464Files: src/os_win32.c, src/testdir/test_channel.vim
9465
9466Patch 7.4.1513
9467Problem: "J" fails if there are not enough lines. (Christian Neukirchen)
9468Solution: Reduce the count, only fail on the last line.
9469Files: src/normal.c, src/testdir/test_join.vim, src/testdir/test_alot.vim
9470
9471Patch 7.4.1514
9472Problem: Channel output to file not implemented yet.
9473Solution: Implement it for Unix.
9474Files: src/os_unix.c, src/testdir/test_channel.vim,
9475 src/testdir/test_channel_pipe.py
9476
9477Patch 7.4.1515
9478Problem: Channel test is a bit flaky.
9479Solution: Instead of a fixed sleep time wait until an expression evaluates
9480 to true.
9481Files: src/testdir/test_channel.vim
9482
9483Patch 7.4.1516
9484Problem: Cannot change file permissions.
9485Solution: Add setfperm().
9486Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim,
9487 src/testdir/test_file_perm.vim
9488
9489Patch 7.4.1517
9490Problem: Compiler warning with 64bit compiler.
9491Solution: Add typecast. (Mike Williams)
9492Files: src/channel.c
9493
9494Patch 7.4.1518
9495Problem: Channel with disconnected in/out/err is not supported.
9496Solution: Implement it for Unix.
9497Files: src/eval.c, src/os_unix.c, src/structs.h,
9498 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py
9499
9500Patch 7.4.1519 (after 7.4.1514)
9501Problem: Channel output to file not implemented for MS-Windows.
9502Solution: Implement it. (Yasuhiro Matsumoto)
9503Files: src/os_win32.c, src/testdir/test_channel.vim
9504
9505Patch 7.4.1520
9506Problem: Channel test: Waiting for a file to appear doesn't work.
9507Solution: In waitFor() ignore errors.
9508Files: src/testdir/test_channel.vim
9509
9510Patch 7.4.1521 (after 7.4.1516)
9511Problem: File permission test fails on MS-Windows.
9512Solution: Expect a different permission.
9513Files: src/testdir/test_file_perm.vim
9514
9515Patch 7.4.1522
9516Problem: Cannot write channel err to a buffer.
9517Solution: Implement it.
9518Files: src/channel.c, src/testdir/test_channel.vim
9519
9520Patch 7.4.1523
9521Problem: Writing channel to a file fails on MS-Windows.
9522Solution: Disable it for now.
9523Files: src/testdir/test_channel.vim
9524
9525Patch 7.4.1524
9526Problem: Channel test fails on BSD.
9527Solution: Break out of the loop when connect() succeeds. (Ozaki Kiichi)
9528Files: src/channel.c
9529
9530Patch 7.4.1525
9531Problem: On a high resolution screen the toolbar icons are too small.
9532Solution: Add "huge" and "giant" to 'toolbariconsize'. (Brian Gix)
9533Files: src/gui_gtk_x11.c, src/option.h
9534
9535Patch 7.4.1526
9536Problem: Writing to file and not connecting a channel doesn't work for
9537 MS-Windows.
9538Solution: Make it work. (Yasuhiro Matsumoto)
9539Files: src/os_win32.c, src/testdir/test_channel.vim
9540
9541Patch 7.4.1527
9542Problem: Channel test is flaky on MS-Windows.
9543Solution: Limit the select() timeout to 50 msec and try with a new socket if
9544 it fails.
9545Files: src/channel.c
9546
9547Patch 7.4.1528
9548Problem: Using "ever" for packages is confusing.
9549Solution: Use "start", as it's related to startup.
9550Files: src/ex_cmds2.c, runtime/doc/repeat.txt
9551
9552Patch 7.4.1529
9553Problem: Specifying buffer number for channel not implemented yet.
9554Solution: Implement passing a buffer number.
9555Files: src/structs.h, src/channel.c, src/eval.c,
9556 src/testdir/test_channel.vim
9557
9558Patch 7.4.1530
9559Problem: MS-Windows job_start() closes wrong handle.
9560Solution: Close hThread on the process info. (Ken Takata)
9561Files: src/os_win32.c
9562
9563Patch 7.4.1531
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009564Problem: Compiler warning for uninitialized variable. (Dominique Pelle)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009565Solution: Always give the variable a value.
9566Files: src/channel.c
9567
9568Patch 7.4.1532
9569Problem: MS-Windows channel leaks file descriptor.
9570Solution: Use CreateFile with the right options. (Yasuhiro Matsumoto)
9571Files: src/os_win32.c
9572
9573Patch 7.4.1533
9574Problem: Using feedkeys() with an empty string disregards 'x' option.
9575Solution: Make 'x' work with an empty string. (Thinca)
9576Files: src/eval.c, src/testdir/test_alot.vim,
9577 src/testdir/test_feedkeys.vim
9578
9579Patch 7.4.1534
9580Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama)
9581Solution: Rename it.
9582Files: src/eval.c
9583
9584Patch 7.4.1535
9585Problem: The feedkeys test has a one second delay.
9586Solution: Avoid need_wait_return() to delay. (Hirohito Higashi)
9587Files: src/eval.c
9588
9589Patch 7.4.1536
9590Problem: Cannot re-use a channel for another job.
9591Solution: Add the "channel" option to job_start().
9592Files: src/channel.c, src/eval.c, src/structs.h, src/os_unix.c,
9593 src/os_win32.c, src/proto/channel.pro,
9594 src/testdir/test_channel.vim
9595
9596Patch 7.4.1537
9597Problem: Too many feature flags for pipes, jobs and channels.
9598Solution: Only use FEAT_JOB_CHANNEL.
9599Files: src/structs.h, src/feature.h, src/configure.in,
9600 src/auto/configure, src/config.h.in, src/channel.c, src/eval.c,
9601 src/gui.c, src/main.c, src/memline.c, src/misc2.c, src/os_mswin.c,
9602 src/os_unix.c, src/os_win32.c, src/ui.c, src/version.c,
9603 src/macros.h, src/proto.h, src/vim.h, src/Make_cyg_ming.mak,
9604 src/Make_bc5.mak, src/Make_mvc.mak
9605
9606Patch 7.4.1538
9607Problem: Selection with the mouse does not work in command line mode.
9608Solution: Use cairo functions. (Kazunobu Kuriyama)
9609Files: src/gui_gtk_x11.c
9610
9611Patch 7.4.1539
9612Problem: Too much code in eval.c.
9613Solution: Move job and channel code to channel.c.
9614Files: src/eval.c, src/channel.c, src/proto/channel.pro,
9615 src/proto/eval.pro
9616
9617Patch 7.4.1540
9618Problem: Channel test is a bit flaky.
9619Solution: Increase expected wait time.
9620Files: src/testdir/test_channel.vim
9621
9622Patch 7.4.1541
9623Problem: Missing job_info().
9624Solution: Implement it.
9625Files: src/eval.c, src/channel.c, src/proto/channel.pro,
9626 src/testdir/test_channel.vim, runtime/doc/eval.txt
9627
9628Patch 7.4.1542
9629Problem: job_start() with a list is not tested.
9630Solution: Call job_start() with a list.
9631Files: src/testdir/test_channel.vim
9632
9633Patch 7.4.1543
9634Problem: Channel log methods are not tested.
9635Solution: Log job activity and check it.
9636Files: src/testdir/test_channel.vim
9637
9638Patch 7.4.1544
9639Problem: On Win32 escaping the command does not work properly.
9640Solution: Reset 'ssl' when escaping the command. (Yasuhiro Matsumoto)
9641Files: src/channel.c
9642
9643Patch 7.4.1545
9644Problem: GTK3: horizontal cursor movement in Visual selection not good.
9645Solution: Make it work better. (Kazunobu Kuriyama)
9646Files: src/gui_gtk_x11.c
9647
9648Patch 7.4.1546
9649Problem: Sticky type checking is more annoying than useful.
9650Solution: Remove the error for changing a variable type.
9651Files: src/eval.c, src/testdir/test_assign.vim,
9652 src/testdir/test_alot.vim, runtime/doc/eval.txt
9653
9654Patch 7.4.1547
9655Problem: Getting a cterm highlight attribute that is not set results in the
9656 string "-1".
9657Solution: Return an empty string. (Taro Muraoka)
9658Files: src/syntax.c, src/testdir/test_alot.vim,
9659 src/testdir/test_syn_attr.vim
9660
9661Patch 7.4.1548 (after 7.4.1546)
9662Problem: Two tests fail.
9663Solution: Adjust the expected error number. Remove check for type.
9664Files: src/testdir/test101.ok, src/testdir/test55.in,
9665 src/testdir/test55.ok
9666
9667Patch 7.4.1549 (after 7.4.1547)
9668Problem: Test for syntax attributes fails in Win32 GUI.
9669Solution: Use an existing font name.
9670Files: src/testdir/test_syn_attr.vim
9671
9672Patch 7.4.1550
9673Problem: Cannot load packages early.
9674Solution: Add the ":packloadall" command.
9675Files: src/ex_cmds.h, src/ex_cmds2.c, src/main.c,
9676 src/proto/ex_cmds2.pro, src/testdir/test_packadd.vim
9677
9678Patch 7.4.1551
9679Problem: Cannot generate help tags in all doc directories.
9680Solution: Make ":helptags ALL" work.
9681Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/ex_cmds.c, src/vim.h
9682 src/testdir/test_packadd.vim
9683
9684Patch 7.4.1552
9685Problem: ":colorscheme" does not use 'packpath'.
9686Solution: Also use in "start" and "opt" directories in 'packpath'.
9687Files: src/ex_cmds2.c, src/gui.c, src/hardcopy.c, src/os_mswin.c,
9688 src/spell.c, src/tag.c, src/if_py_both.h, src/vim.h,
9689 src/digraph.c, src/eval.c, src/ex_docmd.c, src/main.c,
9690 src/option.c, src/syntax.c, src/testdir/test_packadd.vim
9691
9692Patch 7.4.1553
9693Problem: ":runtime" does not use 'packpath'.
9694Solution: Add "what" argument.
9695Files: src/ex_cmds2.c, src/vim.h, runtime/doc/repeat.txt,
9696 src/testdir/test_packadd.vim
9697
9698Patch 7.4.1554
9699Problem: Completion for :colorscheme does not use 'packpath'.
9700Solution: Make it work, add a test. (Hirohito Higashi)
9701Files: src/ex_getln.c, src/testdir/test_packadd.vim
9702
9703Patch 7.4.1555
9704Problem: List of test targets incomplete.
9705Solution: Add newly added tests.
9706Files: src/Makefile
9707
9708Patch 7.4.1556
9709Problem: "make install" changes the help tags file, causing it to differ
9710 from the repository.
9711Solution: Move it aside and restore it.
9712Files: src/Makefile
9713
9714Patch 7.4.1557
9715Problem: Windows cannot be identified.
9716Solution: Add a unique window number to each window and functions to use it.
9717Files: src/structs.h, src/window.c, src/eval.c, src/proto/eval.pro,
9718 src/proto/window.pro, src/testdir/test_window_id.vim,
9719 src/testdir/Make_all.mak, runtime/doc/eval.txt
9720
9721Patch 7.4.1558
9722Problem: It is not easy to find out what windows display a buffer.
9723Solution: Add win_findbuf().
9724Files: src/eval.c, src/window.c, src/proto/window.pro,
9725 src/testdir/test_window_id.vim, runtime/doc/eval.txt
9726
9727Patch 7.4.1559
9728Problem: Passing cookie to a callback is clumsy.
9729Solution: Change function() to take arguments and return a partial.
9730Files: src/structs.h, src/channel.c, src/eval.c, src/if_python.c,
9731 src/if_python3.c, src/if_py_both.h, src/json.c,
9732 src/proto/eval.pro, src/testdir/test_partial.vim,
9733 src/testdir/test_alot.vim, runtime/doc/eval.txt
9734
9735Patch 7.4.1560
9736Problem: Dict options with a dash are more difficult to use.
9737Solution: Use an underscore, so that dict.err_io can be used.
9738Files: src/channel.c, src/structs.h, src/testdir/test_channel.vim,
9739 runtime/doc/channel.txt
9740
9741Patch 7.4.1561 (after 7.4.1559)
9742Problem: Missing update to proto file.
9743Solution: Change the proto file.
9744Files: src/proto/channel.pro
9745
9746Patch 7.4.1562
9747Problem: ":helptags ALL" crashes. (Lcd)
9748Solution: Don't free twice.
9749Files: src/ex_cmds.c
9750
9751Patch 7.4.1563
9752Problem: Partial test fails on windows.
9753Solution: Return 1 or -1 from compare function.
9754Files: src/testdir/test_partial.vim
9755
9756Patch 7.4.1564
9757Problem: An empty list in function() causes an error.
9758Solution: Handle an empty list like there is no list of arguments.
9759Files: src/eval.c, src/testdir/test_partial.vim
9760
9761Patch 7.4.1565
9762Problem: Crash when assert_equal() runs into a NULL string.
9763Solution: Check for NULL. (Dominique) Add a test.
9764Files: src/eval.c, src/testdir/test_assert.vim
9765
9766Patch 7.4.1566
9767Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama)
9768Solution: Remove the inner one.
9769Files: src/eval.c
9770
9771Patch 7.4.1567
9772Problem: Crash in assert_fails().
9773Solution: Check for NULL. (Dominique Pelle) Add a test.
9774Files: src/eval.c, src/testdir/test_assert.vim
9775
9776Patch 7.4.1568
9777Problem: Using CTRL-] in help on option in parentheses doesn't work.
9778Solution: Skip the "(" in "('". (Hirohito Higashi)
9779Files: src/ex_cmds.c
9780
9781Patch 7.4.1569
9782Problem: Using old style tests for quickfix.
9783Solution: Change them to new style tests. (Yegappan Lakshmanan)
9784Files: src/testdir/Make_all.mak, src/testdir/test106.in,
9785 src/testdir/test106.ok, src/testdir/test_qf_title.in,
9786 src/testdir/test_qf_title.ok, src/testdir/test_quickfix.vim
9787
9788Patch 7.4.1570
9789Problem: There is no way to avoid the message when editing a file.
Bram Moolenaard0796902016-09-16 20:02:31 +02009790Solution: Add the "F" flag to 'shortmess'. (Shougo Matsu, closes #686)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009791Files: runtime/doc/options.txt, src/buffer.c, src/ex_cmds.c,
9792 src/option.h
9793
9794Patch 7.4.1571
9795Problem: No test for ":help".
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009796Solution: Add a test for what 7.4.1568 fixed. (Hirohito Higashi)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009797Files: src/testdir/test_alot.vim, src/testdir/test_help_tagjump.vim
9798
9799Patch 7.4.1572
9800Problem: Setting 'compatible' in test influences following tests.
9801Solution: Turn 'compatible' off again.
9802Files: src/testdir/test_backspace_opt.vim
9803
9804Patch 7.4.1573
9805Problem: Tests get stuck at the more prompt.
9806Solution: Move the backspace test out of test_alot.
9807Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
9808
9809Patch 7.4.1574
9810Problem: ":undo 0" does not work. (Florent Fayolle)
9811Solution: Make it undo all the way. (closes #688)
9812Files: src/undo.c, src/testdir/test_undolevels.vim,
9813 src/testdir/test_ex_undo.vim, src/testdir/test_alot.vim
9814
9815Patch 7.4.1575
9816Problem: Using wrong size for struct.
9817Solution: Use the size for wide API. (Ken Takata)
9818Files: src/gui_w32.c
9819
9820Patch 7.4.1576
9821Problem: Write error of viminfo file is not handled properly. (Christian
9822 Neukirchen)
9823Solution: Check the return value of fclose(). (closes #682)
9824Files: src/ex_cmds.c
9825
9826Patch 7.4.1577
9827Problem: Cannot pass "dict.Myfunc" around as a partial.
9828Solution: Create a partial when expected.
9829Files: src/eval.c, src/testdir/test_partial.vim
9830
9831Patch 7.4.1578
9832Problem: There is no way to invoke a function later or periodically.
9833Solution: Add timer support.
9834Files: src/eval.c, src/ex_cmds2.c, src/screen.c, src/ex_docmd.c,
9835 src/feature.h, src/gui.c, src/proto/eval.pro,
9836 src/proto/ex_cmds2.pro, src/proto/screen.pro, src/structs.h,
9837 src/version.c, src/testdir/test_alot.vim,
9838 src/testdir/test_timers.vim, runtime/doc/eval.txt
9839
9840Patch 7.4.1579 (after 7.4.1578)
9841Problem: Missing changes in channel.c
9842Solution: Include the changes.
9843Files: src/channel.c
9844
9845Patch 7.4.1580
9846Problem: Crash when using function reference. (Luchr)
9847Solution: Set initial refcount. (Ken Takata, closes #690)
9848Files: src/eval.c, src/testdir/test_partial.vim
9849
9850Patch 7.4.1581
9851Problem: Using ":call dict.func()" where the function is a partial does
9852 not work. Using "dict.func()" where the function does not take a
9853 Dictionary does not work.
9854Solution: Handle partial properly in ":call". (Yasuhiro Matsumoto)
9855Files: src/eval.c, src/testdir/test_partial.vim, src/testdir/test55.ok
9856
9857Patch 7.4.1582
9858Problem: Get E923 when using function(dict.func, [], dict). (Kent Sibilev)
9859 Storing a function with a dict in a variable drops the dict if the
9860 function is script-local.
9861Solution: Translate the function name. Use dict arg if present.
9862Files: src/eval.c, src/testdir/test_partial.vim
9863
9864Patch 7.4.1583
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009865Problem: Warning for uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009866Solution: Initialize it. (Dominique)
9867Files: src/ex_cmds2.c
9868
9869Patch 7.4.1584
9870Problem: Timers don't work for Win32 console.
9871Solution: Add check_due_timer() in WaitForChar().
9872Files: src/os_win32.c
9873
9874Patch 7.4.1585
9875Problem: Partial is not recognized everywhere.
9876Solution: Check for partial in trans_function_name(). (Yasuhiro Matsumoto)
9877 Add a test.
9878Files: src/eval.c, src/testdir/test_partial.vim
9879
9880Patch 7.4.1586
9881Problem: Nesting partials doesn't work.
9882Solution: Append arguments. (Ken Takata)
9883Files: src/eval.c, src/testdir/test_partial.vim
9884
9885Patch 7.4.1587
9886Problem: Compiler warnings with 64 bit compiler.
9887Solution: Add type casts. (Mike Williams)
9888Files: src/ex_cmds2.c
9889
9890Patch 7.4.1588
9891Problem: Old style test for quickfix.
9892Solution: Turn test 96 into a new style test.
9893Files: src/testdir/Make_all.mak, src/testdir/test96.in,
9894 src/testdir/test96.ok, src/testdir/test_quickfix.vim
9895
9896Patch 7.4.1589
9897Problem: Combining dict and args with partial doesn't always work.
9898Solution: Use the arguments from the partial.
9899Files: src/eval.c, src/testdir/test_partial.vim
9900
9901Patch 7.4.1590
9902Problem: Warning for shadowed variable. (Christian Brabandt)
9903Solution: Move the variable into a local block.
9904Files: src/eval.c
9905
9906Patch 7.4.1591
9907Problem: The quickfix title is truncated.
9908Solution: Save the command before it is truncated. (Anton Lindqvist)
9909Files: src/quickfix.c, src/testdir/test_quickfix.vim
9910
9911Patch 7.4.1592
9912Problem: Quickfix code using memory after being freed. (Dominique Pelle)
9913Solution: Detect that the window was closed. (Hirohito Higashi)
9914Files: src/quickfix.c, src/testdir/test_quickfix.vim
9915
9916Patch 7.4.1593
9917Problem: Using channel timeout instead of request timeout. (Coverity)
9918Solution: Remove the extra assignment.
9919Files: src/channel.c
9920
9921Patch 7.4.1594
9922Problem: Timers don't work on Unix.
9923Solution: Add missing code.
9924Files: src/os_unix.c
9925
9926Patch 7.4.1595
9927Problem: Not checking for failed open(). (Coverity)
9928Solution: Check file descriptor not being negative.
9929Files: src/os_unix.c
9930
9931Patch 7.4.1596
9932Problem: Memory leak. (Coverity)
9933Solution: Free the pattern.
9934Files: src/ex_cmds2.c
9935
9936Patch 7.4.1597
9937Problem: Memory leak when out of memory. (Coverity)
9938Solution: Free the name.
9939Files: src/eval.c
9940
9941Patch 7.4.1598
9942Problem: When starting the GUI fails a swap file is left behind. (Joerg
9943 Plate)
9944Solution: Preserve files before exiting. (closes #692)
9945Files: src/main.c, src/gui.c
9946
9947Patch 7.4.1599
9948Problem: No link to Coverity.
9949Solution: Add Coverity badge in README.
9950Files: README.md
9951
9952Patch 7.4.1600
9953Problem: libs directory is not useful.
9954Solution: Remove arp.library, it was only for very old Amiga versions.
9955Files: libs/arp.library, Filelist
9956
9957Patch 7.4.1601
9958Problem: README files take a lot of space in the top directory.
9959Solution: Move most of them to "READMEdir".
9960Files: Filelist, Makefile, README.txt.info, README_ami.txt,
9961 README_ami.txt.info, README_amibin.txt, README_amibin.txt.info,
9962 README_amisrc.txt, README_amisrc.txt.info, README_bindos.txt,
9963 README_dos.txt, README_extra.txt, README_mac.txt, README_ole.txt,
9964 README_os2.txt, README_os390.txt, README_src.txt,
9965 README_srcdos.txt, README_unix.txt, README_vms.txt,
9966 README_w32s.txt, READMEdir/README.txt.info,
9967 READMEdir/README_ami.txt, READMEdir/README_ami.txt.info,
9968 READMEdir/README_amibin.txt, READMEdir/README_amibin.txt.info,
9969 READMEdir/README_amisrc.txt, READMEdir/README_amisrc.txt.info,
9970 READMEdir/README_bindos.txt, READMEdir/README_dos.txt,
9971 READMEdir/README_extra.txt, READMEdir/README_mac.txt,
9972 READMEdir/README_ole.txt, READMEdir/README_os2.txt,
9973 READMEdir/README_os390.txt, READMEdir/README_src.txt,
9974 READMEdir/README_srcdos.txt, READMEdir/README_unix.txt,
9975 READMEdir/README_vms.txt, READMEdir/README_w32s.txt,
9976
9977Patch 7.4.1602
9978Problem: Info files take space in the top directory.
9979Solution: Move them to "READMEdir".
9980Files: Filelist, src.info, Contents.info, runtime.info, vimdir.info,
9981 Vim.info, Xxd.info, READMEdir/src.info, READMEdir/Contents.info,
9982 READMEdir/runtime.info, READMEdir/vimdir.info, READMEdir/Vim.info,
9983 READMEdir/Xxd.info
9984
9985Patch 7.4.1603
9986Problem: Timer with an ":echo" command messes up display.
9987Solution: Redraw depending on the mode. (Hirohito Higashi) Avoid the more
9988 prompt being used recursively.
9989Files: src/screen.c, src/message.c
9990
9991Patch 7.4.1604
9992Problem: Although emoji characters are ambiguous width, best is to treat
9993 them as full width.
9994Solution: Update the Unicode character tables. Add the 'emoji' options.
9995 (Yasuhiro Matsumoto)
9996Files: runtime/doc/options.txt, runtime/optwin.vim,
9997 runtime/tools/unicode.vim, src/mbyte.c, src/option.c, src/option.h
9998
9999Patch 7.4.1605
10000Problem: Catching exception that won't be thrown.
10001Solution: Remove try/catch.
10002Files: src/testdir/test55.in
10003
10004Patch 7.4.1606
10005Problem: Having type() handle a Funcref that is or isn't a partial
10006 differently causes problems for existing scripts.
10007Solution: Make type() return the same value. (Thinca)
10008Files: src/eval.c, src/testdir/test_viml.vim
10009
10010Patch 7.4.1607
10011Problem: Comparing a function that exists on two dicts is not backwards
10012 compatible. (Thinca)
10013Solution: Only compare the function, not what the partial adds.
10014Files: src/eval.c, src/testdir/test_alot.vim, src/testdir/test_expr.vim
10015
10016Patch 7.4.1608
10017Problem: string() doesn't handle a partial.
10018Solution: Make a string from a partial.
10019Files: src/eval.c, src/testdir/test_partial.vim
10020
10021Patch 7.4.1609
10022Problem: Contents file is only for Amiga distro.
10023Solution: Move it to "READMEdir". Update some info.
10024Files: Filelist, Contents, READMEdir/Contents
10025
10026Patch 7.4.1610
10027Problem: Compiler warnings for non-virtual destructor.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010028Solution: Mark the classes final. (Ken Takata)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010029Files: src/Make_cyg_ming.mak, src/gui_dwrite.cpp, src/if_ole.cpp
10030
10031Patch 7.4.1611
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010032Problem: The versplit feature makes the code unnecessary complicated.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010033Solution: Remove FEAT_VERTSPLIT, always support vertical splits when
10034 FEAT_WINDOWS is defined.
10035Files: src/buffer.c, src/charset.c, src/eval.c, src/ex_cmds.c,
10036 src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/if_lua.c,
10037 src/if_mzsch.c, src/if_ruby.c, src/main.c, src/misc1.c,
10038 src/misc2.c, src/move.c, src/normal.c, src/option.c,
10039 src/quickfix.c, src/screen.c, src/syntax.c, src/term.c, src/ui.c,
10040 src/window.c, src/globals.h, src/gui.h, src/if_py_both.h,
10041 src/option.h, src/structs.h, src/term.h
10042 src/feature.h, src/vim.h, src/version.c
10043
10044Patch 7.4.1612 (after 7.4.1611)
10045Problem: Can't build with small features.
10046Solution: Move code and #ifdefs.
10047Files: src/ex_getln.c
10048
10049Patch 7.4.1613 (after 7.4.1612)
10050Problem: Still can't build with small features.
10051Solution: Adjust #ifdefs.
10052Files: src/ex_getln.c
10053
10054Patch 7.4.1614
10055Problem: Still quickfix test in old style.
10056Solution: Turn test 10 into a new style test.
10057Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
10058 src/testdir/main.aap, src/testdir/test10.in,
10059 src/testdir/test10.ok, src/testdir/test_quickfix.vim,
10060 src/testdir/test10a.in, src/testdir/test10a.ok
10061
10062Patch 7.4.1615
10063Problem: Build fails with tiny features.
10064Solution: Adjust #ifdefs.
10065Files: src/normal.c, src/window.c
10066
10067Patch 7.4.1616
10068Problem: Malformed channel request causes a hang.
10069Solution: Drop malformed message. (Damien)
10070Files: src/channel.c, src/testdir/test_channel.vim,
10071 src/testdir/test_channel.py
10072
10073Patch 7.4.1617
10074Problem: When a JSON message is split it isn't decoded.
10075Solution: Wait a short time for the rest of the message to arrive.
10076Files: src/channel.c, src/json.c, src/structs.h,
10077 src/testdir/test_channel.vim, src/testdir/test_channel.py
10078
10079Patch 7.4.1618
10080Problem: Starting job with output to buffer changes options in the current
10081 buffer.
10082Solution: Set "curbuf" earlier. (Yasuhiro Matsumoto)
10083Files: src/channel.c
10084
10085Patch 7.4.1619
10086Problem: When 'fileformats' is set in the vimrc it applies to new buffers
10087 but not the initial buffer.
10088Solution: Set 'fileformat' when starting up. (Mike Williams)
10089Files: src/option.c
10090
10091Patch 7.4.1620
10092Problem: Emoji characters are not considered as a kind of word character.
10093Solution: Give emoji characters a word class number. (Yasuhiro Matsumoto)
10094Files: src/mbyte.c
10095
10096Patch 7.4.1621
10097Problem: Channel test doesn't work with Python 2.6.
10098Solution: Add number in formatting placeholder. (Wiredool)
10099Files: src/testdir/test_channel.py
10100
10101Patch 7.4.1622
10102Problem: Channel demo doesn't work with Python 2.6.
10103Solution: Add number in formatting placeholder
10104Files: runtime/tools/demoserver.py
10105
10106Patch 7.4.1623
10107Problem: All Channels share the message ID, it keeps getting bigger.
10108Solution: Use a message ID per channel.
10109Files: src/channel.c, src/proto/channel.pro, src/structs.h
10110
10111Patch 7.4.1624
10112Problem: Can't get info about a channel.
10113Solution: Add ch_info().
10114Files: src/eval.c, src/channel.c, src/proto/channel.pro,
10115 src/testdir/test_channel.vim, runtime/doc/eval.txt
10116
10117Patch 7.4.1625
10118Problem: Trying to close file descriptor that isn't open.
10119Solution: Check for negative number.
10120Files: src/os_unix.c
10121
10122Patch 7.4.1626 (after 7.4.1624)
10123Problem: Missing changes to structs.
10124Solution: Include the changes.
10125Files: src/structs.h
10126
10127Patch 7.4.1627
10128Problem: Channel out_cb and err_cb are not tested.
10129Solution: Add a test.
10130Files: src/testdir/test_channel.vim
10131
10132Patch 7.4.1628
10133Problem: 64-bit Compiler warning.
10134Solution: Change type of variable. (Mike Williams)
10135Files: src/channel.c
10136
10137Patch 7.4.1629
10138Problem: Handling emoji characters as full width has problems with
10139 backwards compatibility.
10140Solution: Remove ambiguous and double width characters from the emoji table.
10141 Use a separate table for the character class.
10142 (partly by Yasuhiro Matsumoto)
10143Files: runtime/tools/unicode.vim, src/mbyte.c
10144
10145Patch 7.4.1630
10146Problem: Unicode table for double width is outdated.
10147Solution: Update to the latest Unicode standard.
10148Files: src/mbyte.c
10149
10150Patch 7.4.1631
10151Problem: Compiler doesn't understand switch on all enum values. (Tony
10152 Mechelynck)
10153Solution: Initialize variable.
10154Files: src/channel.c
10155
10156Patch 7.4.1632
10157Problem: List of test targets is outdated.
10158Solution: Update to current list of test targets.
10159Files: src/Makefile
10160
10161Patch 7.4.1633
10162Problem: If the help tags file was removed "make install" fails. (Tony
10163 Mechelynck)
10164Solution: Only try moving the file if it exists.
10165Files: src/Makefile
10166
10167Patch 7.4.1634
10168Problem: Vertical movement after CTRL-A ends up in the wrong column.
10169 (Urtica Dioica)
10170Solution: Set curswant when appropriate. (Hirohito Higashi)
10171Files: src/ops.c, src/testdir/test_increment.vim
10172
10173Patch 7.4.1635
10174Problem: Channel test is a bit flaky.
10175Solution: Remove 'DETACH' if it's there.
Bram Moolenaar64d8e252016-09-06 22:12:34 +020010176Files: src/testdir/test_channel.vim
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010177
10178Patch 7.4.1636
10179Problem: When 'F' is in 'shortmess' the prompt for the encryption key isn't
10180 displayed. (Toothpik)
10181Solution: Reset msg_silent.
10182Files: src/ex_getln.c
10183
10184Patch 7.4.1637
10185Problem: Can't build with older MinGW compiler.
10186Solution: Change option from c++11 to gnu++11. (Ken Takata)
10187Files: src/Make_cyg_ming.mak
10188
10189Patch 7.4.1638
10190Problem: When binding a function to a dict the reference count is wrong.
10191Solution: Decrement dict reference count, only reference the function when
10192 actually making a copy. (Ken Takata)
10193Files: src/eval.c, src/testdir/test_partial.vim
10194
10195Patch 7.4.1639
10196Problem: Invoking garbage collection may cause a double free.
10197Solution: Don't free the dict in a partial when recursive is FALSE.
10198Files: src/eval.c
10199
10200Patch 7.4.1640
10201Problem: Crash when an autocommand changes a quickfix list. (Dominique)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010202Solution: Check whether an entry is still valid. (Yegappan Lakshmanan,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010203 Hirohito Higashi)
10204Files: src/quickfix.c, src/testdir/test_quickfix.vim
10205
10206Patch 7.4.1641
10207Problem: Using unterminated string.
10208Solution: Add NUL before calling vim_strsave_shellescape(). (James McCoy)
10209Files: src/eval.c, src/testdir/test105.in, src/testdir/test105.ok
10210
10211Patch 7.4.1642
10212Problem: Handling emoji characters as full width has problems with
10213 backwards compatibility.
10214Solution: Only put characters in the 1f000 range in the emoji table.
10215Files: runtime/tools/unicode.vim, src/mbyte.c
10216
10217Patch 7.4.1643 (after 7.4.1641)
10218Problem: Terminating file name has side effects.
10219Solution: Restore the character. (mostly by James McCoy, closes #713)
10220Files: src/eval.c, src/testdir/test105.in, src/testdir/test105.ok
10221
10222Patch 7.4.1644
10223Problem: Using string() on a partial that exists in the dictionary it binds
10224 results in an error. (Nikolai Pavlov)
10225Solution: Make string() not fail on a recursively nested structure. (Ken
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010226 Takata)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010227Files: src/eval.c, src/testdir/test_partial.vim
10228
10229Patch 7.4.1645
10230Problem: When a dict contains a partial it can't be redefined as a
10231 function. (Nikolai Pavlov)
10232Solution: Remove the partial when overwriting with a function.
10233Files: src/eval.c, src/testdir/test_partial.vim
10234
10235Patch 7.4.1646
10236Problem: Using Python vim.bindeval() on a partial doesn't work. (Nikolai
10237 Pavlov)
10238Solution: Add VAR_PARTIAL support in Python.
10239Files: src/if_py_both.h, src/testdir/test_partial.vim
10240
10241Patch 7.4.1647
10242Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique)
10243Solution: Set qf_ptr when adding the first item to the quickfix list.
10244Files: src/quickfix.c, src/testdir/test_quickfix.vim
10245
10246Patch 7.4.1648
10247Problem: Compiler has a problem copying a string into di_key[]. (Yegappan
10248 Lakshmanan)
10249Solution: Add dictitem16_T.
10250Files: src/structs.h, src/eval.c
10251
10252Patch 7.4.1649
10253Problem: The matchit plugin needs to be copied to be used.
10254Solution: Put the matchit plugin in an optional package.
10255Files: Filelist, runtime/macros/matchit.vim, runtime/macros/matchit.txt,
10256 runtime/macros/README.txt, src/Makefile,
10257 runtime/pack/dist/opt/matchit/plugin/matchit.vim,
10258 runtime/pack/dist/opt/matchit/doc/matchit.txt,
10259 runtime/pack/dist/opt/matchit/doc/tags,
10260 runtime/doc/usr_05.txt, runtime/doc/usr_toc.txt
10261
10262Patch 7.4.1650
10263Problem: Quickfix test fails.
10264Solution: Accept any number of matches.
10265Files: src/testdir/test_quickfix.vim
10266
10267Patch 7.4.1651
10268Problem: Some dead (MSDOS) code remains.
10269Solution: Remove the unused lines. (Ken Takata)
10270Files: src/misc1.c
10271
10272Patch 7.4.1652
10273Problem: Old style test for fnamemodify().
10274Solution: Turn it into a new style test.
10275Files: src/testdir/test105.in, src/testdir/test105.ok,
10276 src/testdir/test_fnamemodify.vim, src/testdir/test_alot.vim,
10277 src/testdir/Make_all.mak
10278
10279Patch 7.4.1653 (after 7.4.1649)
10280Problem: Users who loaded matchit.vim manually have to change their
10281 startup. (Gary Johnson)
10282Solution: Add a file in the old location that loads the package.
10283Files: runtime/macros/matchit.vim, Filelist
10284
10285Patch 7.4.1654
10286Problem: Crash when using expand('%:S') in a buffer without a name.
10287Solution: Don't set a NUL. (James McCoy, closes #714)
10288Files: src/eval.c, src/testdir/test_fnamemodify.vim
10289
10290Patch 7.4.1655
10291Problem: remote_expr() hangs. (Ramel)
10292Solution: Check for messages in the waiting loop.
10293Files: src/if_xcmdsrv.c
10294
10295Patch 7.4.1656
10296Problem: Crash when using partial with a timer.
10297Solution: Increment partial reference count. (Hirohito Higashi)
10298Files: src/eval.c, src/testdir/test_timers.vim
10299
10300Patch 7.4.1657
10301Problem: On Unix in a terminal: channel messages are not handled right away.
10302 (Jackson Alves de Aquino)
10303Solution: Break the loop for timers when something was received.
10304Files: src/os_unix.c
10305
10306Patch 7.4.1658
10307Problem: A plugin does not know when VimEnter autocommands were already
10308 triggered.
10309Solution: Add the v:vim_did_enter variable.
10310Files: src/eval.c, src/main.c, src/vim.h, src/testdir/test_autocmd.vim,
10311 src/testdir/test_alot.vim, runtime/doc/autocmd.txt,
10312 runtime/doc/eval.txt
10313
10314Patch 7.4.1659 (after 7.4.1657)
10315Problem: Compiler warning for argument type. (Manuel Ortega)
10316Solution: Remove "&".
10317Files: src/os_unix.c
10318
10319Patch 7.4.1660
10320Problem: has('patch-7.4.1') doesn't work.
10321Solution: Fix off-by-one error. (Thinca)
10322Files: src/eval.c, src/testdir/test_expr.vim, src/testdir/test60.in,
10323 src/testdir/test60.ok
10324
10325Patch 7.4.1661
10326Problem: No test for special characters in channel eval command.
10327Solution: Testing sending and receiving text with special characters.
10328Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
10329
10330Patch 7.4.1662
10331Problem: No test for an invalid Ex command on a channel.
10332Solution: Test handling an invalid command gracefully. Avoid getting an
10333 error message, do write it to the channel log.
10334Files: src/channel.c, src/testdir/test_channel.vim,
10335 src/testdir/test_channel.py
10336
10337Patch 7.4.1663
10338Problem: In tests it's often useful to check if a pattern matches.
10339Solution: Add assert_match().
10340Files: src/eval.c, src/testdir/test_assert.vim,
10341 src/testdir/test_channel.vim, runtime/doc/eval.txt
10342
10343Patch 7.4.1664
10344Problem: Crash in :cgetexpr.
10345Solution: Check for NULL pointer. (Dominique) Add a test.
10346Files: src/quickfix.c, src/testdir/test_quickfix.vim
10347
10348Patch 7.4.1665
10349Problem: Crash when calling job_start() with a NULL string. (Dominique)
10350Solution: Check for an invalid argument.
10351Files: src/channel.c, src/testdir/test_channel.vim
10352
10353Patch 7.4.1666
10354Problem: When reading JSON from a channel all readahead is used.
10355Solution: Use the fill function to reduce overhead.
10356Files: src/channel.c, src/json.c, src/structs.h
10357
10358Patch 7.4.1667
10359Problem: Win32: waiting on a pipe with fixed sleep time.
10360Solution: Start with a short delay and increase it when looping.
10361Files: src/channel.c
10362
10363Patch 7.4.1668
10364Problem: channel_get_all() does multiple allocations.
10365Solution: Compute the size and allocate once.
10366Files: src/channel.c
10367
10368Patch 7.4.1669
10369Problem: When writing buffer lines to a pipe Vim may block.
10370Solution: Avoid blocking, write more lines later.
10371Files: src/channel.c, src/misc2.c, src/os_unix.c, src/structs.h,
10372 src/vim.h, src/proto/channel.pro, src/testdir/test_channel.vim
10373
10374Patch 7.4.1670
10375Problem: Completion doesn't work well for a variable containing "#".
10376Solution: Recognize the "#". (Watiko)
10377Files: src/eval.c
10378
10379Patch 7.4.1671
10380Problem: When help exists in multiple languages, adding @ab while "ab" is
10381 the default help language is unnecessary.
10382Solution: Leave out "@ab" when not needed. (Ken Takata)
10383Files: src/ex_getln.c
10384
10385Patch 7.4.1672
10386Problem: The Dvorak support is a bit difficult to install.
10387Solution: Turn it into an optional package.
10388Files: runtime/macros/dvorak, runtime/macros/README.txt,
10389 runtime/pack/dist/opt/dvorak/plugin/dvorak.vim,
10390 runtime/pack/dist/opt/dvorak/dvorak/enable.vim,
10391 runtime/pack/dist/opt/dvorak/dvorak/disable.vim
10392
10393Patch 7.4.1673
10394Problem: The justify plugin has to be copied or sourced to be used.
10395Solution: Turn it into a package.
10396Files: runtime/macros/justify.vim, runtime/macros/README.txt,
10397 runtime/pack/dist/opt/justify/plugin/justify.vim, Filelist
10398
10399Patch 7.4.1674
10400Problem: The editexisting plugin has to be copied or sourced to be used.
10401Solution: Turn it into a package.
10402Files: runtime/macros/editexisting.vim, runtime/macros/README.txt,
10403 runtime/pack/dist/opt/editexisting/plugin/editexisting.vim,
10404 Filelist
10405
10406Patch 7.4.1675
10407Problem: The swapmous plugin has to be copied or sourced to be used.
10408Solution: Turn it into the swapmouse package.
10409Files: runtime/macros/swapmous.vim, runtime/macros/README.txt,
10410 runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim, Filelist
10411
10412Patch 7.4.1676
10413Problem: The shellmenu plugin has to be copied or sourced to be used.
10414Solution: Turn it into a package.
10415Files: runtime/macros/shellmenu.vim, runtime/macros/README.txt,
10416 runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim, Filelist
10417
10418Patch 7.4.1677
10419Problem: A reference to the removed file_select plugin remains.
10420Solution: Remove it.
10421Files: runtime/macros/README.txt
10422
10423Patch 7.4.1678
10424Problem: Warning for unused argument.
10425Solution: Add UNUSED. (Dominique Pelle)
10426Files: src/if_mzsch.c
10427
10428Patch 7.4.1679
10429Problem: Coverity: copying value of v_lock without initializing it.
10430Solution: Init v_lock in rettv_list_alloc() and rettv_dict_alloc().
10431Files: src/eval.c
10432
10433Patch 7.4.1680
10434Problem: Coverity warns for not checking name length (false positive).
10435Solution: Only copy the characters we know are there.
10436Files: src/channel.c
10437
10438Patch 7.4.1681
10439Problem: Coverity warns for fixed size buffer length (false positive).
10440Solution: Add a check for the name length.
10441Files: src/eval.c
10442
10443Patch 7.4.1682
10444Problem: Coverity: no check for NULL.
10445Solution: Add check for invalid argument to assert_match().
10446Files: src/eval.c
10447
10448Patch 7.4.1683
10449Problem: Generated .bat files do not support --nofork.
10450Solution: Add check for --nofork. Also add "setlocal". (Kevin Cantú,
10451 closes #659)
10452Files: src/dosinst.c
10453
10454Patch 7.4.1684
10455Problem: README text is slightly outdated.
10456Solution: Mention the READMEdir directory.
10457Files: README.md, README.txt
10458
10459Patch 7.4.1685
10460Problem: There is no easy way to get all the information about a match.
10461Solution: Add matchstrpos(). (Ozaki Kiichi)
10462Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
10463 src/testdir/test_alot.vim, src/testdir/test_matchstrpos.vim
10464
10465Patch 7.4.1686
10466Problem: When running tests $HOME/.viminfo is written. (James McCoy)
10467Solution: Add 'nviminfo' to the 'viminfo' option. (closes #722)
10468Files: src/testdir/test_backspace_opt.vim, src/testdir/test_viminfo.vim,
10469 src/testdir/runtest.vim.
10470
10471Patch 7.4.1687
10472Problem: The channel close_cb option does not work.
10473Solution: Use jo_close_partial instead of jo_err_partial. (Damien)
10474Files: src/channel.c, src/testdir/test_channel.vim
10475
10476Patch 7.4.1688
10477Problem: MzScheme does not support partial.
10478Solution: Add minimal partial support. (Ken Takata)
10479Files: src/if_mzsch.c
10480
10481Patch 7.4.1689
10482Problem: Ruby interface has inconsistent coding style.
10483Solution: Fix the coding style. (Ken Takata)
10484Files: src/if_ruby.c
10485
10486Patch 7.4.1690
10487Problem: Can't compile with the conceal feature but without multi-byte.
10488Solution: Adjust #ifdef. (Owen Leibman)
10489Files: src/eval.c, src/window.c
10490
10491Patch 7.4.1691
10492Problem: When switching to a new buffer and an autocommand applies syntax
10493 highlighting an ml_get error may occur.
10494Solution: Check "syn_buf" against the buffer in the window. (Alexander von
10495 Buddenbrock, closes #676)
10496Files: src/syntax.c
10497
10498Patch 7.4.1692
10499Problem: feedkeys('i', 'x') gets stuck, waits for a character to be typed.
10500Solution: Behave like ":normal". (Yasuhiro Matsumoto)
10501Files: src/eval.c, src/testdir/test_feedkeys.vim
10502
10503Patch 7.4.1693
10504Problem: Building the Perl interface gives compiler warnings.
10505Solution: Remove a pragma. Add noreturn attributes. (Damien)
10506Files: src/if_perl.xs
10507
10508Patch 7.4.1694
10509Problem: Win32 gvim doesn't work with "dvorakj" input method.
10510Solution: Wait for QS_ALLINPUT instead of QS_ALLEVENTS. (Yukihiro Nakadaira)
10511Files: src/gui_w32.c
10512
10513Patch 7.4.1695
10514Problem: ":syn reset" clears the effect ":syn iskeyword". (James McCoy)
10515Solution: Remove clearing the syntax keywords.
10516Files: src/syntax.c
10517
10518Patch 7.4.1696
10519Problem: When using :stopinsert in a silent mapping the "INSERT" message
10520 isn't cleared. (Coacher)
10521Solution: Always clear the message. (Christian Brabandt, closes #718)
10522Files: src/ex_docmd.c, src/proto/screen.pro, src/screen.c
10523
10524Patch 7.4.1697
10525Problem: Display problems when the 'ambiwidth' and 'emoji' options are not
10526 set properly or the terminal doesn't behave as expected.
10527Solution: After drawing an ambiguous width character always position the
10528 cursor.
10529Files: src/mbyte.c, src/screen.c, src/proto/mbyte.pro
10530
10531Patch 7.4.1698
10532Problem: Two tests fail when running tests with MinGW. (Michael Soyka)
10533Solution: Convert test_getcwd.ok test_wordcount.ok to unix fileformat.
10534Files: src/testdir/Make_ming.mak
10535
10536Patch 7.4.1699
10537Problem: :packadd does not work the same when used early or late.
10538Solution: Always load plugins matching "plugin/**/*.vim".
10539Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
10540
10541Patch 7.4.1700
10542Problem: Equivalence classes are not properly tested.
10543Solution: Add tests for multi-byte and latin1. Fix an error. (Owen Leibman)
10544Files: src/regexp.c, src/testdir/Make_all.mak,
10545 src/testdir/test_alot_latin.vim, src/testdir/test_alot_utf8.vim,
10546 src/testdir/test_regexp_latin.vim,
10547 src/testdir/test_regexp_utf8.vim
10548
10549Patch 7.4.1701
10550Problem: Equivalence classes still tested in old style tests.
10551Solution: Remove the duplicate.
10552Files: src/testdir/test44.in, src/testdir/test44.ok,
10553 src/testdir/test99.in, src/testdir/test99.ok
10554
10555Patch 7.4.1702
10556Problem: Using freed memory when parsing 'printoptions' fails.
10557Solution: Save the old options and restore them in case of an error.
10558 (Dominique)
10559Files: src/hardcopy.c, src/testdir/test_hardcopy.vim
10560
10561Patch 7.4.1703
10562Problem: Can't assert for not equal and not matching.
10563Solution: Add assert_notmatch() and assert_notequal().
10564Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_assert.vim
10565
10566Patch 7.4.1704
10567Problem: Using freed memory with "wincmd p". (Dominique Pelle)
10568Solution: Also clear "prevwin" in other tab pages.
10569Files: src/window.c
10570
10571Patch 7.4.1705
10572Problem: The 'guifont' option does not allow for a quality setting.
10573Solution: Add the "q" item, supported on MS-Windows. (Yasuhiro Matsumoto)
10574Files: runtime/doc/options.txt, src/gui_w32.c, src/os_mswin.c,
10575 src/proto/os_mswin.pro
10576
10577Patch 7.4.1706
10578Problem: Old style function declaration breaks build.
10579Solution: Remove __ARGS().
10580Files: src/proto/os_mswin.pro
10581
10582Patch 7.4.1707
10583Problem: Cannot use empty dictionary key, even though it can be useful.
10584Solution: Allow using an empty dictionary key.
10585Files: src/hashtab.c, src/eval.c, src/testdir/test_expr.vim
10586
10587Patch 7.4.1708
10588Problem: New regexp engine does not work properly with EBCDIC.
10589Solution: Define equivalence class characters. (Owen Leibman)
10590Files: src/regexp_nfa.c
10591
10592Patch 7.4.1709
10593Problem: Mistake in #ifdef.
10594Solution: Change PROOF_QUALITY to DRAFT_QUALITY. (Ken Takata)
10595Files: src/os_mswin.c
10596
10597Patch 7.4.1710
10598Problem: Not all output of an external command is read.
10599Solution: Avoid timing out when the process has exited. (closes #681)
10600Files: src/os_unix.c
10601
10602Patch 7.4.1711
10603Problem: When using try/catch in 'statusline' it is still considered an
10604 error and the status line will be disabled.
10605Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #729)
10606Files: src/screen.c, src/testdir/test_statusline.vim,
10607 src/testdir/test_alot.vim
10608
10609Patch 7.4.1712
10610Problem: For plugins in packages, plugin authors need to take care of all
10611 dependencies.
10612Solution: When loading "start" packages and for :packloadall, first add all
10613 directories to 'runtimepath' before sourcing plugins.
10614Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
10615
10616Patch 7.4.1713
10617Problem: GTK GUI doesn't work on Wayland.
10618Solution: Specify that only the X11 backend is allowed. (Simon McVittie)
10619Files: src/gui_gtk_x11.c
10620
10621Patch 7.4.1714
10622Problem: Non-GUI specific settings in the gvimrc_example file.
10623Solution: Move some settings to the vimrc_example file. Remove setting
10624 'hlsearch' again. (suggested by Hirohito Higashi)
10625Files: runtime/vimrc_example.vim, runtime/gvimrc_example.vim
10626
10627Patch 7.4.1715
10628Problem: Double free when a partial is in a cycle with a list or dict.
10629 (Nikolai Pavlov)
10630Solution: Do not free a nested list or dict used by the partial.
10631Files: src/eval.c, src/testdir/test_partial.vim
10632
10633Patch 7.4.1716
10634Problem: 'autochdir' doesn't work for the first file. (Rob Hoelz)
10635Solution: Call DO_AUTOCHDIR after startup. (Christian Brabandt, closes #704)
10636Files: src/main.c
10637
10638Patch 7.4.1717
10639Problem: Leaking memory when opening a channel fails.
10640Solution: Unreference partials in job options.
10641Files: src/eval.c, src/channel.c, src/proto/channel.pro,
10642 src/testdir/test_channel.vim
10643
10644Patch 7.4.1718
10645Problem: Coverity: not using return value of set_ref_in_item().
10646Solution: Use the return value.
10647Files: src/eval.c
10648
10649Patch 7.4.1719
10650Problem: Leaking memory when there is a cycle involving a job and a
10651 partial.
10652Solution: Add a copyID to job and channel. Set references in items referred
10653 by them. Go through all jobs and channels to find unreferenced
10654 items. Also, decrement reference counts when garbage collecting.
10655Files: src/eval.c, src/channel.c, src/netbeans.c, src/globals.h,
10656 src/ops.c, src/regexp.c, src/tag.c, src/proto/channel.pro,
10657 src/proto/eval.pro, src/testdir/test_partial.vim, src/structs.h
10658
10659Patch 7.4.1720
10660Problem: Tests fail without the job feature.
10661Solution: Skip tests when the job feature is not present.
10662Files: src/testdir/test_partial.vim
10663
10664Patch 7.4.1721
10665Problem: The vimtbar files are unused.
10666Solution: Remove them. (Ken Takata)
10667Files: src/vimtbar.dll, src/vimtbar.h, src/vimtbar.lib, Filelist
10668
10669Patch 7.4.1722
10670Problem: Crash when calling garbagecollect() after starting a job.
10671Solution: Set the copyID on job and channel. (Hirohito Higashi, Ozaki
10672 Kiichi)
10673Files: src/eval.c
10674
10675Patch 7.4.1723
10676Problem: When using try/catch in 'tabline' it is still considered an
10677 error and the tabline will be disabled.
10678Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #746)
10679Files: src/screen.c, src/testdir/test_tabline.vim,
10680 src/testdir/test_alot.vim
10681
10682Patch 7.4.1724 (after 7.4.1723)
10683Problem: Tabline test fails in GUI.
10684Solution: Remove 'e' from 'guioptions'.
10685Files: src/testdir/test_tabline.vim
10686
10687Patch 7.4.1725
10688Problem: Compiler errors for non-ANSI compilers.
10689Solution: Remove // comment. Remove comma at end of enum. (Michael Jarvis)
10690Files: src/eval.c
10691
10692Patch 7.4.1726
10693Problem: ANSI compiler complains about string length.
10694Solution: Split long string in two parts. (Michael Jarvis)
10695Files: src/ex_cmds.c
10696
10697Patch 7.4.1727
10698Problem: Cannot detect a crash in tests when caused by garbagecollect().
10699Solution: Add garbagecollect_for_testing(). Do not free a job if is still
10700 useful.
10701Files: src/channel.c, src/eval.c, src/getchar.c, src/main.c, src/vim.h,
10702 src/proto/eval.pro, src/testdir/runtest.vim,
10703 src/testdir/test_channel.vim, runtime/doc/eval.txt
10704
10705Patch 7.4.1728
10706Problem: The help for functions require a space after the "(".
10707Solution: Make CTRL-] on a function name ignore the arguments. (Hirohito
10708 Higashi)
10709Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim,
10710 runtime/doc/eval.txt
10711
10712Patch 7.4.1729
10713Problem: The Perl interface cannot use 'print' operator for writing
10714 directly in standard IO.
10715Solution: Add a minimal implementation of PerlIO Layer feature and try to
10716 use it for STDOUT/STDERR. (Damien)
10717Files: src/if_perl.xs, src/testdir/test_perl.vim
10718
10719Patch 7.4.1730
10720Problem: It is not easy to get a character out of a string.
10721Solution: Add strgetchar() and strcharpart().
10722Files: src/eval.c, src/testdir/test_expr.vim
10723
10724Patch 7.4.1731
10725Problem: Python: turns partial into simple funcref.
10726Solution: Use partials like partials. (Nikolai Pavlov, closes #734)
10727Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
10728 src/if_python.c, src/if_python3.c, src/proto/eval.pro,
10729 src/testdir/test86.in, src/testdir/test86.ok,
10730 src/testdir/test87.in, src/testdir/test87.ok
10731
10732Patch 7.4.1732
10733Problem: Folds may close when using autocomplete. (Anmol Sethi)
10734Solution: Increment/decrement disable_fold. (Christian Brabandt, closes
10735 #643)
10736Files: src/edit.c, src/fold.c, src/globals.h
10737
10738Patch 7.4.1733
10739Problem: "make install" doesn't know about cross-compiling. (Christian
10740 Neukirchen)
10741Solution: Add CROSS_COMPILING. (closes #740)
10742Files: src/configure.in, src/auto/configure, src/config.mk.in,
10743 src/Makefile
10744
10745Patch 7.4.1734 (after 7.4.1730)
10746Problem: Test fails when not using utf-8.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010747Solution: Split test in regular and utf-8 part.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010748Files: src/testdir/test_expr.vim, src/testdir/test_expr_utf8.vim,
10749 src/testdir/test_alot_utf8.vim
10750
10751Patch 7.4.1735
10752Problem: It is not possible to only see part of the message history. It is
10753 not possible to clear messages.
10754Solution: Add a count to ":messages" and a clear argument. (Yasuhiro
10755 Matsumoto)
10756Files: runtime/doc/message.txt, src/ex_cmds.h, src/message.c,
10757 src/testdir/test_messages.vim, src/testdir/test_alot.vim
10758
10759Patch 7.4.1736 (after 7.4.1731)
10760Problem: Unused variable.
10761Solution: Remove it. (Yasuhiro Matsumoto)
10762Files: src/if_py_both.h
10763
10764Patch 7.4.1737
10765Problem: Argument marked as unused is used.
10766Solution: Remove UNUSED.
10767Files: src/message.c
10768
10769Patch 7.4.1738
10770Problem: Count for ":messages" depends on number of lines.
10771Solution: Add ADDR_OTHER address type.
10772Files: src/ex_cmds.h
10773
10774Patch 7.4.1739
10775Problem: Messages test fails on MS-Windows.
10776Solution: Adjust the asserts. Skip the "messages maintainer" line if not
10777 showing all messages.
10778Files: src/message.c, src/testdir/test_messages.vim
10779
10780Patch 7.4.1740
10781Problem: syn-cchar defined with matchadd() does not appear if there are no
10782 other syntax definitions which matches buffer text.
10783Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes #757)
10784Files: src/screen.c, src/testdir/Make_all.mak,
10785 src/testdir/test_alot_utf8.vim, src/testdir/test_match_conceal.in,
10786 src/testdir/test_match_conceal.ok,
10787 src/testdir/test_matchadd_conceal.vim,
10788 src/testdir/test_matchadd_conceal_utf8.vim,
10789 src/testdir/test_undolevels.vim
10790
10791Patch 7.4.1741
10792Problem: Not testing utf-8 characters.
10793Solution: Move the right asserts to the test_expr_utf8 test.
10794Files: src/testdir/test_expr.vim, src/testdir/test_expr_utf8.vim
10795
10796Patch 7.4.1742
10797Problem: strgetchar() does not work correctly.
10798Solution: use mb_cptr2len(). Add a test. (Naruhiko Nishino)
10799Files: src/eval.c, src/testdir/test_expr_utf8.vim
10800
10801Patch 7.4.1743
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010802Problem: Clang warns for uninitialized variable. (Michael Jarvis)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010803Solution: Initialize it.
10804Files: src/if_py_both.h
10805
10806Patch 7.4.1744
10807Problem: Python: Converting a sequence may leak memory.
Bram Moolenaard0796902016-09-16 20:02:31 +020010808Solution: Decrement a reference. (Nikolai Pavlov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010809Files: src/if_py_both.h
10810
10811Patch 7.4.1745
10812Problem: README file is not clear about where to get Vim.
10813Solution: Add links to github, releases and the Windows installer.
10814 (Suggested by Christian Brabandt)
10815Files: README.md, README.txt
10816
10817Patch 7.4.1746
10818Problem: Memory leak in Perl.
10819Solution: Decrement the reference count. Add a test. (Damien)
10820Files: src/if_perl.xs, src/testdir/test_perl.vim
10821
10822Patch 7.4.1747
10823Problem: Coverity: missing check for NULL pointer.
10824Solution: Check for out of memory.
10825Files: src/if_py_both.h
10826
10827Patch 7.4.1748
10828Problem: "gD" does not find match in first column of first line. (Gary
10829 Johnson)
10830Solution: Accept match at the cursor.
10831Files: src/normal.c, src/testdir/test_goto.vim, src/testdir/test_alot.vim
10832
10833Patch 7.4.1749
10834Problem: When using GTK 3.20 there are a few warnings.
10835Solution: Use new functions when available. (Kazunobu Kuriyama)
Bram Moolenaar64d8e252016-09-06 22:12:34 +020010836Files: src/gui_beval.c src/gui_gtk_x11.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010837
10838Patch 7.4.1750
10839Problem: When a buffer gets updated while in command line mode, the screen
10840 may be messed up.
10841Solution: Postpone the redraw when the screen is scrolled.
10842Files: src/channel.c
10843
10844Patch 7.4.1751
10845Problem: Crash when 'tagstack' is off. (Dominique Pelle)
10846Solution: Fix it. (Hirohito Higashi)
10847Files: src/tag.c, src/testdir/test_alot.vim, src/testdir/test_tagjump.vim
10848
10849Patch 7.4.1752
10850Problem: When adding to the quickfix list the current position is reset.
10851Solution: Do not reset the position when not needed. (Yegappan Lakshmanan)
10852Files: src/quickfix.c, src/testdir/test_quickfix.vim
10853
10854Patch 7.4.1753
10855Problem: "noinsert" in 'completeopt' is sometimes ignored.
10856Solution: Set the variables when the 'completeopt' was set. (Ozaki Kiichi)
10857Files: src/edit.c, src/option.c, src/proto/edit.pro
10858
10859Patch 7.4.1754
10860Problem: When 'filetype' was set and reloading a buffer which does not
10861 cause it to be set, the syntax isn't loaded. (KillTheMule)
10862Solution: Remember whether the FileType event was fired and fire it if not.
10863 (Anton Lindqvist, closes #747)
10864Files: src/fileio.c, src/testdir/test_syntax.vim
10865
10866Patch 7.4.1755
10867Problem: When using getreg() on a non-existing register a NULL list is
10868 returned. (Bjorn Linse)
10869Solution: Allocate an empty list. Add a test.
10870Files: src/eval.c, src/testdir/test_expr.vim
10871
10872Patch 7.4.1756
10873Problem: "dll" options are not expanded.
10874Solution: Expand environment variables. (Ozaki Kiichi)
10875Files: src/option.c, src/testdir/test_alot.vim,
10876 src/testdir/test_expand_dllpath.vim
10877
10878Patch 7.4.1757
10879Problem: When using complete() it may set 'modified' even though nothing
10880 was inserted.
Bram Moolenaard0796902016-09-16 20:02:31 +020010881Solution: Use Down/Up instead of Next/Previous match. (Shougo Matsu, closes
10882 #745)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010883Files: src/edit.c
10884
10885Patch 7.4.1758
10886Problem: Triggering CursorHoldI when in CTRL-X mode causes problems.
10887Solution: Do not trigger CursorHoldI in CTRL-X mode. Add "!" flag to
10888 feedkeys() (test with that didn't work though).
10889Files: src/edit.c, src/eval.c
10890
10891Patch 7.4.1759
10892Problem: When using feedkeys() in a timer the inserted characters are not
10893 used right away.
10894Solution: Break the wait loop when characters have been added to typebuf.
10895 use this for testing CursorHoldI.
10896Files: src/gui.c, src/os_win32.c, src/os_unix.c,
10897 src/testdir/test_autocmd.vim
10898
10899Patch 7.4.1760 (after 7.4.1759)
10900Problem: Compiler warning for unused variable.
10901Solution: Add #ifdef. (John Marriott)
10902Files: src/os_win32.c
10903
10904Patch 7.4.1761
10905Problem: Coverity complains about ignoring return value.
10906Solution: Add "(void)" to get rid of the warning.
10907Files: src/eval.c
10908
10909Patch 7.4.1762
10910Problem: Coverity: useless assignments.
10911Solution: Remove them.
10912Files: src/search.c
10913
10914Patch 7.4.1763
10915Problem: Coverity: useless assignment.
10916Solution: Add #if 0.
10917Files: src/spell.c
10918
10919Patch 7.4.1764
10920Problem: C++ style comment. (Ken Takata)
10921Solution: Finish the work started here: don't call perror() when stderr
10922 isn't working.
10923Files: src/os_unix.c
10924
10925Patch 7.4.1765
10926Problem: Undo options are not together in the options window.
10927Solution: Put them together. (Gary Johnson)
10928Files: runtime/optwin.vim
10929
10930Patch 7.4.1766
10931Problem: Building instructions for MS-Windows are outdated.
10932Solution: Mention setting SDK_INCLUDE_DIR. (Ben Franklin, closes #771) Move
10933 outdated instructions further down.
10934Files: src/INSTALLpc.txt
10935
10936Patch 7.4.1767
10937Problem: When installing Vim on a GTK system the icon cache is not updated.
10938Solution: Update the GTK icon cache when possible. (Kazunobu Kuriyama)
10939Files: src/Makefile, src/configure.in, src/config.mk.in,
10940 src/auto/configure
10941
10942Patch 7.4.1768
10943Problem: Arguments of setqflist() are not checked properly.
10944Solution: Add better checks, add a test. (Nikolai Pavlov, Hirohito Higashi,
10945 closes #661)
10946Files: src/eval.c, src/testdir/test_quickfix.vim
10947
10948Patch 7.4.1769
10949Problem: No "closed", "errors" and "encoding" attribute on Python output.
10950Solution: Add attributes and more tests. (Roland Puntaier, closes #622)
10951Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
10952 src/testdir/test86.in, src/testdir/test86.ok,
10953 src/testdir/test87.in, src/testdir/test87.ok
10954
10955Patch 7.4.1770
10956Problem: Cannot use true color in the terminal.
10957Solution: Add the 'guicolors' option. (Nikolai Pavlov)
10958Files: runtime/doc/options.txt, runtime/doc/term.txt,
10959 runtime/doc/various.txt, src/auto/configure, src/config.h.in,
10960 src/configure.in, src/eval.c, src/globals.h, src/hardcopy.c,
10961 src/option.c, src/option.h, src/proto/term.pro, src/screen.c,
10962 src/structs.h, src/syntax.c, src/term.c, src/term.h,
10963 src/version.c, src/vim.h
10964
10965Patch 7.4.1771 (after 7.4.1768)
10966Problem: Warning for unused variable.
10967Solution: Add #ifdef. (John Marriott)
10968Files: src/eval.c
10969
10970Patch 7.4.1772 (after 7.4.1767)
10971Problem: Installation fails when $GTK_UPDATE_ICON_CACHE is empty.
10972Solution: Add quotes. (Kazunobu Kuriyama)
10973Files: src/Makefile
10974
10975Patch 7.4.1773 (after 7.4.1770)
10976Problem: Compiler warnings. (Dominique Pelle)
10977Solution: Add UNUSED. Add type cast. Avoid a buffer overflow.
10978Files: src/syntax.c, src/term.c
10979
10980Patch 7.4.1774 (after 7.4.1770)
10981Problem: Cterm true color feature has warnings.
10982Solution: Add type casts.
10983Files: src/screen.c, src/syntax.c, src/term.c
10984
10985Patch 7.4.1775
10986Problem: The rgb.txt file is not installed.
10987Solution: Install the file. (Christian Brabandt)
10988Files: src/Makefile
10989
10990Patch 7.4.1776
10991Problem: Using wrong buffer length.
10992Solution: use the right name. (Kazunobu Kuriyama)
10993Files: src/term.c
10994
10995Patch 7.4.1777
10996Problem: Newly added features can escape the sandbox.
10997Solution: Add checks for restricted and secure. (Yasuhiro Matsumoto)
10998Files: src/eval.c
10999
11000Patch 7.4.1778
11001Problem: When using the term truecolor feature, the t_8f and t_8b termcap
11002 options are not set by default.
11003Solution: Move the values to before BT_EXTRA_KEYS. (Christian Brabandt)
11004Files: src/term.c
11005
11006Patch 7.4.1779
11007Problem: Using negative index in strcharpart(). (Yegappan Lakshmanan)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011008Solution: Assume single byte when using a negative index.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011009Files: src/eval.c
11010
11011Patch 7.4.1780
11012Problem: Warnings reported by cppcheck.
11013Solution: Fix the warnings. (Dominique Pelle)
11014Files: src/ex_cmds2.c, src/json.c, src/misc1.c, src/ops.c,
11015 src/regexp_nfa.c
11016
11017Patch 7.4.1781
11018Problem: synIDattr() does not respect 'guicolors'.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011019Solution: Change the condition for the mode. (Christian Brabandt)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011020Files: src/eval.c
11021
11022Patch 7.4.1782
11023Problem: strcharpart() does not work properly with some multi-byte
11024 characters.
11025Solution: Use mb_cptr2len() instead of mb_char2len(). (Hirohito Higashi)
11026Files: src/eval.c, src/testdir/test_expr_utf8.vim
11027
11028Patch 7.4.1783
11029Problem: The old regexp engine doesn't handle character classes correctly.
11030 (Manuel Ortega)
11031Solution: Use regmbc() instead of regc(). Add a test.
11032Files: src/regexp.c, src/testdir/test_regexp_utf8.vim
11033
11034Patch 7.4.1784
11035Problem: The termtruecolor feature is enabled differently from many other
11036 features.
11037Solution: Enable the termtruecolor feature for the big build, not through
11038 configure.
11039Files: src/configure.in, src/config.h.in, src/auto/configure,
11040 src/feature.h
11041
11042Patch 7.4.1785 (after 7.4.1783)
11043Problem: Regexp test fails on windows.
11044Solution: set 'isprint' to the right value for testing.
11045Files: src/testdir/test_regexp_utf8.vim
11046
11047Patch 7.4.1786
11048Problem: Compiled-in colors do not match rgb.txt.
11049Solution: Use the rgb.txt colors. (Kazunobu Kuriyama)
11050Files: src/term.c
11051
11052Patch 7.4.1787
11053Problem: When a job ends the close callback is invoked before other
11054 callbacks. On Windows the close callback is not called.
11055Solution: First invoke out/err callbacks before the close callback.
11056 Make the close callback work on Windows.
11057Files: src/channel.c, src/proto/channel.pro,
11058 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py
11059
11060Patch 7.4.1788
11061Problem: NSIS script is missing packages.
11062Solution: Add the missing directories. (Ken Takata)
11063Files: nsis/gvim.nsi
11064
11065Patch 7.4.1789
11066Problem: Cannot use ch_read() in the close callback.
11067Solution: Do not discard the channel if there is readahead. Do not discard
11068 readahead if there is a close callback.
11069Files: src/eval.c, src/channel.c, src/proto/channel.pro,
11070 src/testdir/test_channel.vim
11071
11072Patch 7.4.1790
11073Problem: Leading white space in a job command matters. (Andrew Stewart)
11074Solution: Skip leading white space.
11075Files: src/os_unix.c
11076
11077Patch 7.4.1791
11078Problem: Channel could be garbage collected too early.
11079Solution: Don't free a channel or remove it from a job when it is still
11080 useful.
11081Files: src/channel.c
11082
11083Patch 7.4.1792
11084Problem: Color name decoding is implemented several times.
11085Solution: Move it to term.c. (Christian Brabandt)
11086Files: src/gui_mac.c, src/gui_photon.c, src/gui_w32.c,
11087 src/proto/term.pro, src/term.c
11088
11089Patch 7.4.1793
11090Problem: Some character classes may differ between systems. On OS/X the
11091 regexp test fails.
11092Solution: Make this less dependent on the system. (idea by Kazunobu Kuriyama)
11093Files: src/regexp.c, src/regexp_nfa.c
11094
11095Patch 7.4.1794 (after 7.4.1792)
11096Problem: Can't build on MS-Windows.
11097Solution: Add missing declaration.
11098Files: src/gui_w32.c
11099
11100Patch 7.4.1795
11101Problem: Compiler warning for redefining RGB. (John Marriott)
11102Solution: Rename it to TORGB.
11103Files: src/term.c
11104
11105Patch 7.4.1796 (after 7.4.1795)
11106Problem: Colors are wrong on MS-Windows. (Christian Robinson)
11107Solution: Use existing RGB macro if it exists. (Ken Takata)
11108Files: src/term.c
11109
11110Patch 7.4.1797
11111Problem: Warning from Windows 64 bit compiler.
11112Solution: Change int to size_t. (Mike Williams)
11113Files: src/term.c
11114
11115Patch 7.4.1798
11116Problem: Still compiler warning for unused return value. (Charles Campbell)
11117Solution: Assign to ignoredp.
11118Files: src/term.c
11119
11120Patch 7.4.1799
11121Problem: 'guicolors' is a confusing option name.
11122Solution: Use 'termguicolors' instead. (Hirohito Higashi, Ken Takata)
11123Files: runtime/doc/options.txt, runtime/doc/term.txt,
11124 runtime/doc/various.txt, runtime/syntax/dircolors.vim, src/eval.c,
11125 src/feature.h, src/globals.h, src/hardcopy.c, src/option.c,
11126 src/option.h, src/proto/term.pro, src/screen.c, src/structs.h,
11127 src/syntax.c, src/term.c, src/version.c, src/vim.h
11128
11129Patch 7.4.1800 (after 7.4.1799)
11130Problem: Unnecessary #ifdef.
11131Solution: Just use USE_24BIT. (Ken Takata)
11132Files: src/syntax.c
11133
11134Patch 7.4.1801
11135Problem: Make uninstall leaves file behind.
11136Solution: Delete rgb.txt. (Kazunobu Kuriyama)
11137Files: src/Makefile
11138
11139Patch 7.4.1802
11140Problem: Quickfix doesn't handle long lines well, they are split.
11141Solution: Drop characters after a limit. (Anton Lindqvist)
11142Files: src/quickfix.c, src/testdir/test_quickfix.vim,
11143 src/testdir/samples/quickfix.txt
11144
11145Patch 7.4.1803
11146Problem: GTK3 doesn't handle menu separators properly.
11147Solution: Use gtk_separator_menu_item_new(). (Kazunobu Kuriyama)
11148Files: src/gui_gtk.c
11149
11150Patch 7.4.1804
11151Problem: Can't use Vim as MANPAGER.
11152Solution: Add manpager.vim. (Enno Nagel, closes #491)
11153Files: runtime/doc/filetype.txt, runtime/plugin/manpager.vim
11154
11155Patch 7.4.1805
11156Problem: Running tests in shadow dir fails.
11157Solution: Link the samples directory
11158Files: src/Makefile
11159
11160Patch 7.4.1806
11161Problem: 'termguicolors' option missing from the options window.
11162Solution: Add the entry.
11163Files: runtime/optwin.vim
11164
11165Patch 7.4.1807
11166Problem: Test_out_close_cb sometimes fails.
11167Solution: Always write DETACH to out, not err.
11168Files: src/channel.c, src/testdir/test_channel.vim
11169
11170Patch 7.4.1808 (after 7.4.1806)
11171Problem: Using wrong feature name to check for 'termguicolors'.
11172Solution: Use the right feature name. (Ken Takata)
11173Files: runtime/optwin.vim
11174
11175Patch 7.4.1809 (after 7.4.1808)
11176Problem: Using wrong short option name for 'termguicolors'.
11177Solution: Use the option name.
11178Files: runtime/optwin.vim
11179
11180Patch 7.4.1810
11181Problem: Sending DETACH after a channel was closed isn't useful.
11182Solution: Only add DETACH for a netbeans channel.
11183Files: src/channel.c, src/testdir/test_channel.vim
11184
11185Patch 7.4.1811
11186Problem: Netbeans channel gets garbage collected.
11187Solution: Set reference in nb_channel.
11188Files: src/eval.c, src/netbeans.c, src/proto/netbeans.pro
11189
11190Patch 7.4.1812
11191Problem: Failure on startup with Athena and Motif.
11192Solution: Check for INVALCOLOR. (Kazunobu Kuriyama)
11193Files: src/syntax.c, src/vim.h
11194
11195Patch 7.4.1813
11196Problem: Memory access error when running test_quickfix.
11197Solution: Allocate one more byte. (Yegappan Lakshmanan)
11198Files: src/quickfix.c
11199
11200Patch 7.4.1814
11201Problem: A channel may be garbage collected while it's still being used by
11202 a job. (James McCoy)
11203Solution: Mark the channel as used if the job is still used. Do the same
11204 for channels that are still used.
11205Files: src/eval.c, src/channel.c, src/proto/channel.pro
11206
11207Patch 7.4.1815
11208Problem: Compiler warnings for unused variables. (Ajit Thakkar)
11209Solution: Add a dummy initialization. (Yasuhiro Matsumoto)
11210Files: src/quickfix.c
11211
11212Patch 7.4.1816
11213Problem: Looping over a null list throws an error.
11214Solution: Skip over the for loop.
11215Files: src/eval.c, src/testdir/test_expr.vim
11216
11217Patch 7.4.1817
11218Problem: The screen is not updated if a callback is invoked when closing a
11219 channel.
11220Solution: Invoke redraw_after_callback().
11221Files: src/channel.c
11222
11223Patch 7.4.1818
11224Problem: Help completion adds @en to all matches except the first one.
11225Solution: Remove "break", go over all items.
11226Files: src/ex_getln.c
11227
11228Patch 7.4.1819
11229Problem: Compiler warnings when sprintf() is a macro.
11230Solution: Don't interrupt sprintf() with an #ifdef. (Michael Jarvis,
11231 closes #788)
11232Files: src/fileio.c, src/tag.c, src/term.c
11233
11234Patch 7.4.1820
11235Problem: Removing language from help tags too often.
11236Solution: Only remove @en when not needed. (Hirohito Higashi)
11237Files: src/ex_getln.c, src/testdir/test_help_tagjump.vim
11238
11239Patch 7.4.1821 (after 7.4.1820)
11240Problem: Test fails on MS-Windows.
11241Solution: Sort the completion results.
11242Files: src/testdir/test_help_tagjump.vim
11243
11244Patch 7.4.1822
11245Problem: Redirecting stdout of a channel to "null" doesn't work. (Nicola)
11246Solution: Correct the file descriptor number.
11247Files: src/os_unix.c
11248
11249Patch 7.4.1823
11250Problem: Warning from 64 bit compiler.
11251Solution: Add type cast. (Mike Williams)
11252Files: src/quickfix.c
11253
11254Patch 7.4.1824
11255Problem: When a job is no longer referenced and does not have an exit
Bram Moolenaar09521312016-08-12 22:54:35 +020011256 callback the process may hang around in defunct state. (Nicola)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011257Solution: Call job_status() if the job is running and won't get freed
11258 because it might still be useful.
11259Files: src/channel.c
11260
11261Patch 7.4.1825
11262Problem: When job writes to buffer nothing is written. (Nicola)
11263Solution: Do not discard a channel before writing is done.
11264Files: src/channel.c
11265
11266Patch 7.4.1826
11267Problem: Callbacks are invoked when it's not safe. (Andrew Stewart)
11268Solution: When a channel is to be closed don't invoke callbacks right away,
11269 wait for a safe moment.
11270Files: src/structs.h, src/channel.c
11271
11272Patch 7.4.1827
11273Problem: No error when invoking a callback when it's not safe.
11274Solution: Add an error message. Avoid the error when freeing a channel.
11275Files: src/structs.h, src/channel.c
11276
11277Patch 7.4.1828
11278Problem: May try to access buffer that's already freed.
11279Solution: When freeing a buffer remove it from any channel.
11280Files: src/buffer.c, src/channel.c, src/proto/channel.pro
11281
11282Patch 7.4.1829 (after 7.4.1828)
11283Problem: No message on channel log when buffer was freed.
11284Solution: Log a message.
11285Files: src/channel.c
11286
11287Patch 7.4.1830
11288Problem: non-antialiased misnamed.
11289Solution: Use NONANTIALIASED and NONANTIALIASED_QUALITY. (Kim Brouer,
11290 closes #793)
11291Files: src/os_mswin.c, runtime/doc/options.txt
11292
11293Patch 7.4.1831
11294Problem: When timer_stop() is called with a string there is no proper error
11295 message.
11296Solution: Require getting a number. (Bjorn Linse)
11297Files: src/eval.c
11298
11299Patch 7.4.1832
11300Problem: Memory leak in debug commands.
11301Solution: Free memory before overwriting the pointer. (hint by Justin Keyes)
11302Files: src/ex_cmds2.c
11303
11304Patch 7.4.1833
11305Problem: Cannot use an Ex command for 'keywordprg'.
11306Solution: Accept an Ex command. (Nelo-Thara Wallus)
11307Files: src/normal.c, runtime/doc/options.txt
11308
11309Patch 7.4.1834
11310Problem: Possible crash when conceal is active.
11311Solution: Check for the screen to be valid when redrawing a line.
11312Files: src/screen.c
11313
11314Patch 7.4.1835
11315Problem: When splitting and closing a window the status height changes.
11316Solution: Compute the frame height correctly. (Hirohito Higashi)
11317Files: src/window.c, src/testdir/test_alot.vim,
11318 src/testdir/test_window_cmd.vim
11319
11320Patch 7.4.1836
11321Problem: When using a partial on a dictionary it always gets bound to that
11322 dictionary.
11323Solution: Make a difference between binding a function to a dictionary
11324 explicitly or automatically.
11325Files: src/structs.h, src/eval.c, src/testdir/test_partial.vim,
11326 runtime/doc/eval.txt
11327
11328Patch 7.4.1837
11329Problem: The BufUnload event is triggered twice, when :bunload is used with
11330 `bufhidden` set to `unload` or `delete`.
11331Solution: Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi)
11332Files: src/buffer.c, src/testdir/test_autocmd.vim
11333
11334Patch 7.4.1838
11335Problem: Functions specifically for testing do not sort together.
11336Solution: Rename garbagecollect_for_testing() to test_garbagecollect_now().
11337 Add test_null_list(), test_null_dict(), etc.
11338Files: src/eval.c, src/testdir/test_expr.vim,
11339 src/testdir/test_channel.vim, runtime/doc/eval.txt
11340
11341Patch 7.4.1839
11342Problem: Cannot get the items stored in a partial.
11343Solution: Support using get() on a partial.
11344Files: src/eval.c, src/testdir/test_partial.vim, runtime/doc/eval.txt
11345
11346Patch 7.4.1840
11347Problem: When using packages an "after" directory cannot be used.
11348Solution: Add the "after" directory of the package to 'runtimepath' if it
11349 exists.
11350Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
11351
11352Patch 7.4.1841
11353Problem: The code to reallocate the buffer used for quickfix is repeated.
11354Solution: Move the code to a function. (Yegappan Lakshmanan, closes #831)
11355Files: src/quickfix.c, src/testdir/test_quickfix.vim
11356
11357Patch 7.4.1842 (after 7.4.1839)
11358Problem: get() works for Partial but not for Funcref.
11359Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov)
11360Files: src/eval.c, src/testdir/test_partial.vim, runtime/doc/eval.txt
11361
11362Patch 7.4.1843
11363Problem: Tests involving Python are flaky.
11364Solution: Set the pt_auto field. Add tests. (Nikolai Pavlov)
11365Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in,
11366 src/testdir/test86.ok, src/testdir/test87.in,
11367 src/testdir/test87.ok
11368
11369Patch 7.4.1844
11370Problem: Using old function name in comment. More functions should start
11371 with test_.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011372Solution: Rename function in comment. (Hirohito Higashi) Rename
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011373 disable_char_avail_for_testing() to test_disable_char_avail().
11374 And alloc_fail() to test_alloc_fail().
11375Files: src/eval.c, src/getchar.c, src/testdir/runtest.vim,
11376 src/testdir/test_cursor_func.vim, src/testdir/test_quickfix.vim,
11377 runtime/doc/eval.txt
11378
11379Patch 7.4.1845
11380Problem: Mentioning NetBeans when reading from channel. (Ramel Eshed)
11381Solution: Make the text more generic.
11382Files: src/channel.c
11383
11384Patch 7.4.1846
11385Problem: Ubsan detects a multiplication overflow.
11386Solution: Don't use orig_mouse_time when it's zero. (Dominique Pelle)
11387Files: src/term.c
11388
11389Patch 7.4.1847
11390Problem: Getting an item from a NULL dict crashes. Setting a register to a
11391 NULL list crashes. (Nikolai Pavlov, issue #768) Comparing a NULL
11392 dict with a NULL dict fails.
11393Solution: Properly check for NULL.
11394Files: src/eval.c, src/testdir/test_expr.vim
11395
11396Patch 7.4.1848
11397Problem: Can't build with Strawberry Perl 5.24.
11398Solution: Define S_SvREFCNT_dec() if needed. (Damien, Ken Takata)
11399Files: src/if_perl.xs
11400
11401Patch 7.4.1849
11402Problem: Still trying to read from channel that is going to be closed.
11403 (Ramel Eshed)
11404Solution: Check if ch_to_be_closed is set.
11405Files: src/channel.c
11406
11407Patch 7.4.1850
Bram Moolenaard0796902016-09-16 20:02:31 +020011408Problem: GUI freezes when using a job. (Shougo Matsu)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011409Solution: Unregister the channel when there is an input error.
11410Files: src/channel.c
11411
11412Patch 7.4.1851
Bram Moolenaar09521312016-08-12 22:54:35 +020011413Problem: test_syn_attr fails when using the GUI. (Dominique Pelle)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011414Solution: Escape the font name properly.
11415Files: src/testdir/test_syn_attr.vim
11416
11417Patch 7.4.1852
11418Problem: Unix: Cannot run all tests with the GUI.
11419Solution: Add the "testgui" target.
11420Files: src/Makefile, src/testdir/Makefile
11421
11422Patch 7.4.1853
11423Problem: Crash when job and channel are in the same dict while using
11424 partials. (Luc Hermitte)
11425Solution: Do not decrement the channel reference count too early.
11426Files: src/channel.c
11427
11428Patch 7.4.1854
11429Problem: When setting 'termguicolors' the Ignore highlighting doesn't work.
11430 (Charles Campbell)
11431Solution: Handle the color names "fg" and "bg" when the GUI isn't running
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011432 and no colors are specified, fall back to black and white.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011433Files: src/syntax.c
11434
11435Patch 7.4.1855
11436Problem: Valgrind reports memory leak for job that is not freed.
11437Solution: Free all jobs on exit. Add test for failing job.
11438Files: src/channel.c, src/misc2.c, src/proto/channel.pro,
11439 src/testdir/test_partial.vim
11440
11441Patch 7.4.1856 (after 7.4.1855)
11442Problem: failing job test fails on MS-Windows.
11443Solution: Expect "fail" status instead of "dead".
11444Files: src/testdir/test_partial.vim
11445
11446Patch 7.4.1857
11447Problem: When a channel appends to a buffer that is 'nomodifiable' there is
11448 an error but appending is done anyway.
11449Solution: Add the 'modifiable' option. Refuse to write to a 'nomodifiable'
11450 when the value is 1.
11451Files: src/structs.h, src/channel.c, src/testdir/test_channel.vim,
11452 runtime/doc/channel.txt
11453
11454Patch 7.4.1858
11455Problem: When a channel writes to a buffer it doesn't find a buffer by the
11456 short name but re-uses it anyway.
11457Solution: Find buffer also by the short name.
11458Files: src/channel.c, src/buffer.c, src/vim.h
11459
11460Patch 7.4.1859
11461Problem: Cannot use a function reference for "exit_cb".
11462Solution: Use get_callback(). (Yegappan Lakshmanan)
11463Files: src/channel.c, src/structs.h
11464
11465Patch 7.4.1860
11466Problem: Using a partial for timer_start() may cause a crash.
11467Solution: Set the copyID in timer objects. (Ozaki Kiichi)
11468Files: src/testdir/test_timers.vim, src/eval.c, src/ex_cmds2.c,
11469 src/proto/ex_cmds2.pro
11470
11471Patch 7.4.1861
11472Problem: Compiler warnings with 64 bit compiler.
Bram Moolenaar09521312016-08-12 22:54:35 +020011473Solution: Change int to size_t. (Mike Williams)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011474Files: src/ex_cmds2.c
11475
11476Patch 7.4.1862
11477Problem: string() with repeated argument does not give a result usable by
11478 eval().
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011479Solution: Refactor echo_string and tv2string(), moving the common part to
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011480 echo_string_core(). (Ken Takata)
11481Files: src/eval.c, src/testdir/test_viml.vim, src/testdir/test86.ok,
11482 src/testdir/test87.ok
11483
11484Patch 7.4.1863
11485Problem: Compiler warnings on Win64.
11486Solution: Adjust types, add type casts. (Ken Takata)
11487Files: src/if_mzsch.c, src/if_perl.xs, src/if_ruby.c, src/version.c
11488
11489Patch 7.4.1864
11490Problem: Python: encoding error with Python 2.
11491Solution: Use "getcwdu" instead of "getcwd". (Ken Takata)
11492Files: src/if_py_both.h
11493
11494Patch 7.4.1865
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011495Problem: Memory leaks in test49. (Dominique Pelle)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011496Solution: Use NULL instead of an empty string.
11497Files: src/eval.c
11498
11499Patch 7.4.1866
11500Problem: Invalid memory access when exiting with EXITFREE defined.
11501 (Dominique Pelle)
11502Solution: Set "really_exiting" and skip error messages.
11503Files: src/misc2.c, src/eval.c
11504
11505Patch 7.4.1867
11506Problem: Memory leak in test_matchstrpos.
11507Solution: Free the string before overwriting. (Yegappan Lakshmanan)
11508Files: src/eval.c
11509
11510Patch 7.4.1868
11511Problem: Setting really_exiting causes memory leaks to be reported.
11512Solution: Add the in_free_all_mem flag.
11513Files: src/globals.h, src/misc2.c, src/eval.c
11514
11515Patch 7.4.1869
11516Problem: Can't build with old version of Perl.
11517Solution: Define PERLIO_FUNCS_DECL. (Tom G. Christensen)
11518Files: src/if_perl.xs
11519
11520Patch 7.4.1870 (after 7.4.1863)
11521Problem: One more Win64 compiler warning.
11522Solution: Change declared argument type. (Ken Takata)
11523Files: src/if_mzsch.c
11524
11525Patch 7.4.1871
11526Problem: Appending to the quickfix list while the quickfix window is open
11527 is very slow.
11528Solution: Do not delete all the lines, only append the new ones. Avoid
11529 using a window while updating the list. (closes #841)
11530Files: src/quickfix.c
11531
11532Patch 7.4.1872
11533Problem: Still build problem with old version of Perl.
11534Solution: Also define SvREFCNT_inc_void_NN if needed. (Tom G. Christensen)
11535Files: src/if_perl.xs
11536
11537Patch 7.4.1873
11538Problem: When a callback adds a timer the GUI doesn't use it until later.
11539 (Ramel Eshed)
11540Solution: Return early if a callback adds a timer.
11541Files: src/ex_cmds2.c, src/gui_gtk_x11.c, src/gui_w32.c, src/gui_x11.c,
11542 src/globals.h
11543
11544Patch 7.4.1874
11545Problem: Unused variable in Win32 code.
11546Solution: Remove it. (Mike Williams)
11547Files: src/gui_w32.c
11548
11549Patch 7.4.1875
11550Problem: Comparing functions and partials doesn't work well.
11551Solution: Add tests. (Nikolai Pavlov) Compare the dict and arguments in the
11552 partial. (closes #813)
11553Files: src/eval.c, src/testdir/test_partial.vim
11554
11555Patch 7.4.1876
11556Problem: Typing "k" at the hit-enter prompt has no effect.
11557Solution: Don't assume recursive use of the prompt if a character was typed.
11558 (Hirohito Higashi)
11559Files: src/message.c
11560
11561Patch 7.4.1877
11562Problem: No test for invoking "close_cb" when writing to a buffer.
11563Solution: Add using close_cb to a test case.
11564Files: src/testdir/test_channel.vim
11565
11566Patch 7.4.1878
11567Problem: Whether a job has exited isn't detected until a character is
11568 typed. After calling exit_cb the cursor is in the wrong place.
11569Solution: Don't wait forever for a character to be typed when there is a
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011570 pending job. Update the screen if needed after calling exit_cb.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011571Files: src/os_unix.c, src/channel.c, src/proto/channel.pro
11572
11573Patch 7.4.1879 (after 7.4.1877)
11574Problem: Channel test is flaky.
11575Solution: Wait for close_cb to be invoked.
11576Files: src/testdir/test_channel.vim
11577
11578Patch 7.4.1880
11579Problem: MS-Windows console build defaults to not having +channel.
11580Solution: Include the channel feature if building with huge features.
11581Files: src/Make_mvc.mak
11582
11583Patch 7.4.1881
11584Problem: Appending to a long quickfix list is slow.
11585Solution: Add qf_last.
11586Files: src/quickfix.c
11587
11588Patch 7.4.1882
11589Problem: Check for line break at end of line wrong. (Dominique Pelle)
11590Solution: Correct the logic.
11591Files: src/quickfix.c
11592
11593Patch 7.4.1883
11594Problem: Cppcheck found 2 incorrect printf formats.
11595Solution: Use %ld and %lx. (Dominique Pelle)
11596Files: src/VisVim/Commands.cpp, src/gui_mac.c
11597
11598Patch 7.4.1884
11599Problem: Updating marks in a quickfix list is very slow when the list is
11600 long.
11601Solution: Only update marks if the buffer has a quickfix entry.
11602Files: src/structs.h, src/quickfix.c
11603
11604Patch 7.4.1885
11605Problem: MinGW console build defaults to not having +channel.
11606Solution: Include the channel feature if building with huge features. (Ken
11607 Takata)
11608Files: src/Make_cyg_ming.mak
11609
11610Patch 7.4.1886
11611Problem: When waiting for a character is interrupted by receiving channel
11612 data and the first character of a mapping was typed, the mapping
11613 times out. (Ramel Eshed)
11614Solution: When dealing with channel data don't return from mch_inchar().
11615Files: src/getchar.c, src/proto/getchar.pro, src/os_unix.c
11616
11617Patch 7.4.1887
11618Problem: When receiving channel data 'updatetime' is not respected.
11619Solution: Recompute the waiting time after being interrupted.
11620Files: src/os_unix.c
11621
11622Patch 7.4.1888
11623Problem: Wrong computation of remaining wait time in RealWaitForChar()
11624Solution: Remember the original waiting time.
11625Files: src/os_unix.c
11626
11627Patch 7.4.1889
11628Problem: When umask is set to 0177 Vim can't create temp files. (Lcd)
11629Solution: Also correct umask when using mkdtemp().
11630Files: src/fileio.c
11631
11632Patch 7.4.1890
11633Problem: GUI: When channel data is received the cursor blinking is
11634 interrupted. (Ramel Eshed)
11635Solution: Don't update the cursor when it is blinking.
11636Files: src/screen.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
11637 src/gui_mac.c, src/proto/gui_mac.pro, src/gui_photon.c,
11638 src/proto/gui_photon.pro, src/gui_w32.c, src/proto/gui_w32.pro,
11639 src/gui_x11.c, src/proto/gui_x11.pro
11640
11641Patch 7.4.1891
11642Problem: Channel reading very long lines is slow.
11643Solution: Collapse multiple buffers until a NL is found.
11644Files: src/channel.c, src/netbeans.c, src/proto/channel.pro,
11645 src/structs.h
11646
11647Patch 7.4.1892
11648Problem: balloon eval only gets the window number, not the ID.
11649Solution: Add v:beval_winid.
11650Files: src/eval.c, src/gui_beval.c, src/vim.h
11651
11652Patch 7.4.1893
11653Problem: Cannot easily get the window ID for a buffer.
11654Solution: Add bufwinid().
11655Files: src/eval.c, runtime/doc/eval.txt
11656
11657Patch 7.4.1894
11658Problem: Cannot get the window ID for a mouse click.
11659Solution: Add v:mouse_winid.
11660Files: src/eval.c, src/vim.h, runtime/doc/eval.txt
11661
11662Patch 7.4.1895
11663Problem: Cannot use a window ID where a window number is expected.
11664Solution: Add LOWEST_WIN_ID, so that the window ID can be used where a
11665 number is expected.
11666Files: src/window.c, src/eval.c, src/vim.h, runtime/doc/eval.txt,
11667 src/testdir/test_window_id.vim
11668
11669Patch 7.4.1896
11670Problem: Invoking mark_adjust() when adding a new line below the last line
11671 is pointless.
11672Solution: Skip calling mark_adjust() when appending below the last line.
11673Files: src/misc1.c, src/ops.c
11674
11675Patch 7.4.1897
11676Problem: Various typos, long lines and style mistakes.
11677Solution: Fix the typos, wrap lines, improve style.
11678Files: src/buffer.c, src/ex_docmd.c, src/getchar.c, src/option.c,
11679 src/main.aap, src/testdir/README.txt,
11680 src/testdir/test_reltime.vim, src/testdir/test_tagjump.vim,
11681 src/INSTALL, src/config.aap.in, src/if_mzsch.c
11682
11683Patch 7.4.1898
11684Problem: User commands don't support modifiers.
11685Solution: Add the <mods> item. (Yegappan Lakshmanan, closes #829)
11686Files: runtime/doc/map.txt, src/ex_docmd.c, src/testdir/Make_all.mak,
11687 src/testdir/test_usercommands.vim
11688
11689Patch 7.4.1899
11690Problem: GTK 3: cursor blinking doesn't work well.
11691Solution: Instead of gui_gtk_window_clear() use gui_mch_clear_block().
11692 (Kazunobu Kuriyama)
11693Files: src/gui_gtk_x11.c
11694
11695Patch 7.4.1900
11696Problem: Using CTRL-] in the help on "{address}." doesn't work.
11697Solution: Recognize an item in {}. (Hirohito Higashi, closes #814)
11698Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim
11699
11700Patch 7.4.1901
11701Problem: Win32: the "Disabled" menu items would appear enabled.
11702Solution: Use submenu_id if there is a parent. (Shane Harper, closes #834)
11703Files: src/gui_w32.c
11704
11705Patch 7.4.1902
11706Problem: No test for collapsing buffers for a channel. Some text is lost.
11707Solution: Add a simple test. Set rq_buflen correctly.
11708Files: src/channel.c, src/testdir/test_channel.vim,
11709 src/testdir/test_channel_pipe.py
11710
11711Patch 7.4.1903
11712Problem: When writing viminfo merging current history with history in
11713 viminfo may drop recent history entries.
11714Solution: Add new format for viminfo lines, use it for history entries. Use
11715 a timestamp for ordering the entries. Add test_settime().
11716 Add the viminfo version. Does not do merging on timestamp yet.
11717Files: src/eval.c, src/ex_getln.c, src/ex_cmds.c, src/structs.h,
11718 src/globals.h, src/proto/ex_cmds.pro, src/proto/ex_getln.pro,
11719 src/testdir/test_viminfo.vim
11720
11721Patch 7.4.1904 (after 7.4.1903)
11722Problem: Build fails.
11723Solution: Add missing changes.
11724Files: src/vim.h
11725
11726Patch 7.4.1905 (after 7.4.1903)
11727Problem: Some compilers can't handle a double semicolon.
11728Solution: Remove one semicolon.
11729Files: src/ex_cmds.c
11730
11731Patch 7.4.1906
11732Problem: Collapsing channel buffers and searching for NL does not work
Bram Moolenaar09521312016-08-12 22:54:35 +020011733 properly. (Xavier de Gaye, Ramel Eshed)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011734Solution: Do not assume the buffer contains a NUL or not. Change NUL bytes
11735 to NL to avoid the string is truncated.
11736Files: src/channel.c, src/netbeans.c, src/proto/channel.pro
11737
11738Patch 7.4.1907
11739Problem: Warnings from 64 bit compiler.
11740Solution: Change type to size_t. (Mike Williams)
11741Files: src/ex_cmds.c
11742
11743Patch 7.4.1908
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011744Problem: Netbeans uses uninitialized pointer and freed memory.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011745Solution: Set "buffer" at the right place (hint by Ken Takata)
11746Files: src/netbeans.c
11747
11748Patch 7.4.1909
11749Problem: Doubled semicolons.
11750Solution: Reduce to one. (Dominique Pelle)
11751Files: src/dosinst.c, src/fold.c, src/gui_gtk_x11.c, src/gui_w32.c,
11752 src/main.c, src/misc2.c
11753
11754Patch 7.4.1910
11755Problem: Tests using external command to delete directory.
11756Solution: Use delete().
11757Files: src/testdir/test17.in, src/testdir/test73.in,
11758 src/testdir/test_getcwd.in
11759
11760Patch 7.4.1911
11761Problem: Recent history lines may be lost when exiting Vim.
11762Solution: Merge history using the timestamp.
11763Files: src/ex_getln.c, src/ex_cmds.c, src/vim.h, src/proto/ex_getln.pro,
11764 src/testdir/test_viminfo.vim
11765
11766Patch 7.4.1912
11767Problem: No test for using setqflist() on an older quickfix list.
11768Solution: Add a couple of tests.
11769Files: src/testdir/test_quickfix.vim
11770
11771Patch 7.4.1913
11772Problem: When ":doautocmd" is used modelines are used even when no
11773 autocommands were executed. (Daniel Hahler)
11774Solution: Skip processing modelines. (closes #854)
11775Files: src/fileio.c, src/ex_cmds.c, src/ex_docmd.c, src/proto/fileio.pro
11776
11777Patch 7.4.1914
11778Problem: Executing autocommands while using the signal stack has a high
11779 chance of crashing Vim.
11780Solution: Don't invoke autocommands when on the signal stack.
11781Files: src/os_unix.c
11782
11783Patch 7.4.1915
11784Problem: The effect of the PopupMenu autocommand isn't directly visible.
11785Solution: Call gui_update_menus() before displaying the popup menu. (Shane
Bram Moolenaar01164a62017-11-02 22:58:42 +010011786 Harper, closes #855)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011787Files: src/menu.c
11788
11789Patch 7.4.1916 (after 7.4.1906)
11790Problem: No proper test for what 7.4.1906 fixes.
11791Solution: Add a test for reading many lines.
11792Files: src/testdir/test_channel.vim
11793
11794Patch 7.4.1917
11795Problem: History lines read from viminfo in different encoding than when
11796 writing are not converted.
11797Solution: Convert the history lines.
11798Files: src/ex_cmds.c, src/testdir/test_viminfo.vim
11799
11800Patch 7.4.1918
11801Problem: Not enough testing for parsing viminfo lines.
11802Solution: Add test with viminfo lines in bad syntax. Fix memory leak.
11803Files: src/ex_cmds.c, src/ex_getln.c, src/testdir/test_viminfo.vim
11804
11805Patch 7.4.1919
11806Problem: Register contents is not merged when writing viminfo.
11807Solution: Use timestamps for register contents.
11808Files: src/ops.c, src/ex_getln.c, src/ex_cmds.c, src/proto/ex_cmds.pro,
11809 src/proto/ex_getln.pro, src/proto/ops.pro, src/vim.h
11810
11811Patch 7.4.1920 (after 7.4.1919)
11812Problem: Missing test changes.
11813Solution: Update viminfo test.
11814Files: src/testdir/test_viminfo.vim
11815
11816Patch 7.4.1921 (after 7.4.1919)
11817Problem: vim_time() not included when needed.
11818Solution: Adjust #ifdef.
11819Files: src/ex_cmds.c
11820
11821Patch 7.4.1922
11822Problem: Ruby 2.4.0 unifies Fixnum and Bignum into Integer.
Bram Moolenaar09521312016-08-12 22:54:35 +020011823Solution: Use rb_cInteger. (Weiyong Mao)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011824Files: src/if_ruby.c
11825
11826Patch 7.4.1923
11827Problem: Command line editing is not tested much.
11828Solution: Add tests for expanding the file name and 'wildmenu'.
11829Files: src/testdir/test_cmdline.vim, src/testdir/Make_all.mak
11830
11831Patch 7.4.1924
11832Problem: Missing "void" for functions without argument.
11833Solution: Add "void". (Hirohito Higashi)
11834Files: src/channel.c, src/edit.c, src/ex_cmds2.c, src/ops.c, src/screen.c
11835
11836Patch 7.4.1925
11837Problem: Viminfo does not merge file marks properly.
11838Solution: Use a timestamp. Add the :clearjumps command.
11839Files: src/mark.c, src/ex_cmds.c, src/ex_docmd.c, src/proto/mark.pro,
11840 src/structs.h, src/vim.h, src/ex_cmds.h,
11841 src/testdir/test_viminfo.vim
11842
11843Patch 7.4.1926
11844Problem: Possible crash with many history items.
11845Solution: Avoid the index going past the last item.
11846Files: src/ex_getln.c
11847
11848Patch 7.4.1927
11849Problem: Compiler warning for signed/unsigned.
11850Solution: Add type cast.
11851Files: src/if_mzsch.c
11852
11853Patch 7.4.1928
11854Problem: Overwriting pointer argument.
11855Solution: Assign to what it points to. (Dominique Pelle)
11856Files: src/fileio.c
11857
11858Patch 7.4.1929
11859Problem: Inconsistent indenting and weird name.
11860Solution: Fix indent, make name all upper case. (Ken Takata)
11861Files: src/if_ruby.c
11862
11863Patch 7.4.1930
11864Problem: Can't build without +spell but with +quickfix. (Charles)
11865Solution: Add better #ifdef around ml_append_buf(). (closes #864)
11866Files: src/memline.c
11867
11868Patch 7.4.1931
11869Problem: Using both old and new style file mark lines from viminfo.
11870Solution: Skip the old style lines if the viminfo file was written with a
11871 Vim version that supports the new style.
11872Files: src/ex_cmds.c
11873
11874Patch 7.4.1932
11875Problem: When writing viminfo the jumplist is not merged with the one in
11876 the viminfo file.
11877Solution: Merge based on timestamp.
11878Files: src/mark.c, src/testdir/test_viminfo.vim
11879
11880Patch 7.4.1933
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011881Problem: Compiler warning about uninitialized variable. (Yegappan)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011882Solution: Give it a dummy value.
11883Files: src/ex_getln.c
11884
11885Patch 7.4.1934
11886Problem: New style tests not executed with MinGW compiler.
11887Solution: Add new style test support. (Yegappan Lakshmanan)
11888Files: src/testdir/Make_ming.mak
11889
11890Patch 7.4.1935
11891Problem: When using the GUI search/replace a second match right after the
11892 replacement is skipped.
11893Solution: Add the SEARCH_START flag. (Mleddy)
11894Files: src/gui.c
11895
11896Patch 7.4.1936
11897Problem: Off-by-one error in bounds check. (Coverity)
11898Solution: Check register number properly.
11899Files: src/ops.c
11900
11901Patch 7.4.1937
11902Problem: No test for directory stack in quickfix.
11903Solution: Add a test. (Yegappan Lakshmanan)
11904Files: src/testdir/test_quickfix.vim
11905
11906Patch 7.4.1938
11907Problem: When writing viminfo numbered marks were duplicated.
11908Solution: Check for duplicates between current numbered marks and the ones
11909 read from viminfo.
11910Files: src/mark.c
11911
11912Patch 7.4.1939
11913Problem: Memory access error when reading viminfo. (Dominique Pelle)
11914Solution: Correct index in jumplist when at the end.
11915Files: src/mark.c, src/testdir/test_viminfo.vim
11916
11917Patch 7.4.1940
11918Problem: "gd" hangs in some situations. (Eric Biggers)
11919Solution: Remove the SEARCH_START flag when looping. Add a test.
11920Files: src/normal.c, src/testdir/test_goto.vim
11921
11922Patch 7.4.1941
11923Problem: Not all quickfix tests are also done with the location lists.
11924Solution: Test more quickfix code. Use user commands instead of "exe".
11925 (Yegappan Lakshmanan)
11926Files: src/testdir/test_quickfix.vim
11927
11928Patch 7.4.1942
11929Problem: Background is not drawn properly when 'termguicolors' is set.
11930Solution: Check cterm_normal_bg_color. (Jacob Niehus, closes #805)
11931Files: src/screen.c
11932
11933Patch 7.4.1943
11934Problem: Coverity warns for unreachable code.
11935Solution: Remove the code that won't do anything.
11936Files: src/mark.c
11937
11938Patch 7.4.1944
11939Problem: Win32: Cannot compile with XPM feature using VC2015
11940Solution: Add XPM libraries compiled with VC2015, and enable to build
11941 gvim.exe which supports XPM using VC2015. (Ken Takata)
11942Files: src/Make_mvc.mak, src/xpm/x64/lib-vc14/libXpm.lib,
11943 src/xpm/x86/lib-vc14/libXpm.lib
11944
11945Patch 7.4.1945
11946Problem: The Man plugin doesn't work that well.
11947Solution: Use "g:ft_man_open_mode" to be able open man pages in vert split
11948 or separate tab. Set nomodifiable for buffer with man content. Add
11949 a test. (Andrey Starodubtsev, closes #873)
11950Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim,
11951 src/testdir/Make_all.mak
11952
11953Patch 7.4.1946 (after 7.4.1944)
11954Problem: File list does not include new XPM libraries.
11955Solution: Add the file list entries.
11956Files: Filelist
11957
11958Patch 7.4.1947
11959Problem: Viminfo continuation line with wrong length isn't skipped. (Marius
11960 Gedminas)
11961Solution: Skip a line when encountering an error, but not two lines.
11962Files: src/ex_cmds.c
11963
11964Patch 7.4.1948
11965Problem: Using Ctrl-A with double-byte encoding may result in garbled text.
11966Solution: Skip to the start of a character. (Hirohito Higashi)
11967Files: src/ops.c
11968
11969Patch 7.4.1949
11970Problem: Minor problems with the quickfix code.
11971Solution: Fix the problems. (Yegappan Lakshmanan)
11972Files: src/quickfix.c, src/testdir/test_quickfix.vim
11973
11974Patch 7.4.1950
11975Problem: Quickfix long lines test not executed for buffer.
11976Solution: Call the function to test long lines. (Yegappan Lakshmanan)
11977Files: src/testdir/test_quickfix.vim
11978
11979Patch 7.4.1951
11980Problem: Ruby test is old style.
11981Solution: Convert to a new style test. (Ken Takata)
11982Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_ruby.in,
11983 src/testdir/test_ruby.ok, src/testdir/test_ruby.vim
11984
11985Patch 7.4.1952
11986Problem: Cscope interface does not support finding assignments.
11987Solution: Add the "a" command. (ppettina, closes #882)
11988Files: runtime/doc/if_cscop.txt, src/if_cscope.c
11989
11990Patch 7.4.1953
11991Problem: Not all parts of the quickfix code are tested.
11992Solution: Add more tests. (Yegappan Lakshmanan)
11993Files: src/testdir/samples/quickfix.txt,
11994 src/testdir/test_quickfix.vim
11995
11996Patch 7.4.1954 (after 7.4.1948)
11997Problem: No test for what 7.4.1948 fixes.
11998Solution: Add a test. (Hirohito Higashi, closes #880)
11999Files: src/Makefile, src/testdir/Make_all.mak,
12000 src/testdir/test_increment_dbcs.vim
12001
12002Patch 7.4.1955
12003Problem: Using 32-bit Perl with 64-bit time_t causes memory corruption.
12004 (Christian Brabandt)
12005Solution: Use time_T instead of time_t for global variables. (Ken Takata)
12006Files: src/ex_cmds.c, src/globals.h, src/misc2.c, src/proto/ex_cmds.pro,
12007 src/proto/misc2.pro, src/structs.h, src/vim.h
12008
12009Patch 7.4.1956
12010Problem: When using CTRL-W f and pressing "q" at the ATTENTION dialog the
12011 newly opened window is not closed.
12012Solution: Close the window and go back to the original one. (Norio Takagi,
12013 Hirohito Higashi)
12014Files: src/window.c, src/testdir/test_window_cmd.vim
12015
12016Patch 7.4.1957
12017Problem: Perl interface has obsolete workaround.
12018Solution: Remove the workaround added by 7.3.623. (Ken Takata)
12019Files: src/if_perl.xs
12020
12021Patch 7.4.1958
12022Problem: Perl interface preprocessor statements not nicely indented.
12023Solution: Improve the indenting. (Ken Takata)
12024Files: src/if_perl.xs
12025
12026Patch 7.4.1959
12027Problem: Crash when running test_channel.vim on Windows.
12028Solution: Check for NULL pointer result from FormatMessage(). (Christian
12029 Brabandt)
12030Files: src/channel.c
12031
12032Patch 7.4.1960
12033Problem: Unicode standard 9 was released.
12034Solution: Update the character property tables. (Christian Brabandt)
12035Files: src/mbyte.c
12036
12037Patch 7.4.1961
12038Problem: When 'insertmode' is reset while doing completion the popup menu
12039 remains even though Vim is in Normal mode.
12040Solution: Ignore stop_insert_mode when the popup menu is visible. Don't set
12041 stop_insert_mode when 'insertmode' was already off. (Christian
12042 Brabandt)
12043Files: src/edit.c, src/option.c, src/Makefile, src/testdir/test_alot.vim,
12044 src/testdir/test_popup.vim
12045
12046Patch 7.4.1962
12047Problem: Two test files for increment/decrement.
12048Solution: Move the old style test into the new style test. (Hirohito
12049 Higashi, closes #881)
12050Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/main.aap,
12051 src/testdir/test35.in, src/testdir/test35.ok,
12052 src/testdir/test_increment.vim
12053
12054Patch 7.4.1963
12055Problem: Running Win32 Vim in mintty does not work.
12056Solution: Detect mintty and give a helpful error message. (Ken Takata)
12057Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/iscygpty.c,
12058 src/iscygpty.h, src/main.c, Filelist
12059
12060Patch 7.4.1964
12061Problem: The quickfix init function is too big.
12062Solution: Factor out parsing 'errorformat' to a separate function. (Yegappan
12063 Lakshmanan)
12064Files: src/quickfix.c
12065
12066Patch 7.4.1965
12067Problem: When using a job in raw mode to append to a buffer garbage
12068 characters are added.
12069Solution: Do not replace the trailing NUL with a NL. (Ozaki Kiichi)
12070Files: src/channel.c, src/testdir/test_channel.vim
12071
12072Patch 7.4.1966
12073Problem: Coverity reports a resource leak.
12074Solution: Close "fd" also when bailing out.
12075Files: src/quickfix.c
12076
12077Patch 7.4.1967
12078Problem: Falling back from NFA to old regexp engine does not work properly.
12079 (fritzophrenic)
12080Solution: Do not restore nfa_match. (Christian Brabandt, closes #867)
12081Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
12082
12083Patch 7.4.1968
12084Problem: Invalid memory access with "\<C-">.
12085Solution: Do not recognize this as a special character. (Dominique Pelle)
12086Files: src/misc2.c, src/testdir/test_expr.vim
12087
12088Patch 7.4.1969
12089Problem: When the netbeans channel is closed consuming the buffer may cause
12090 a crash.
12091Solution: Check for nb_channel not to be NULL. (Xavier de Gaye)
12092Files: src/netbeans.c
12093
12094Patch 7.4.1970
12095Problem: Using ":insert" in an empty buffer sets the jump mark. (Ingo
12096 Karkat)
12097Solution: Don't adjust marks when replacing the empty line in an empty
12098 buffer. (closes #892)
12099Files: src/ex_cmds.c, src/testdir/test_jumps.vim,
12100 src/testdir/test_alot.vim
12101
12102Patch 7.4.1971
12103Problem: It is not easy to see unrecognized error lines below the current
12104 error position.
12105Solution: Add ":clist +count".
12106Files: src/quickfix.c, runtime/doc/quickfix.txt
12107
12108Patch 7.4.1972
12109Problem: On Solaris select() does not work as expected when there is
12110 typeahead.
12111Solution: Add ICANON when sleeping. (Ozaki Kiichi)
12112Files: src/os_unix.c
12113
12114Patch 7.4.1973
12115Problem: On MS-Windows the package directory may be added at the end
12116 because of forward/backward slash differences. (Matthew
12117 Desjardins)
12118Solution: Ignore slash differences.
12119Files: src/ex_cmds2.c
12120
12121Patch 7.4.1974
12122Problem: GUI has a problem with some termcodes.
12123Solution: Handle negative numbers. (Kazunobu Kuriyama)
12124Files: src/gui.c
12125
12126Patch 7.4.1975
12127Problem: On MS-Windows large files (> 2Gbyte) cause problems.
12128Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct
12129 stat". Use 64 bit system functions if available. (Ken Takata)
12130Files: src/Makefile, src/buffer.c, src/diff.c, src/eval.c, src/ex_cmds.c,
12131 src/ex_cmds2.c, src/fileio.c, src/gui.c, src/gui_at_fs.c,
12132 src/if_cscope.c, src/main.c, src/memfile.c, src/memline.c,
12133 src/misc1.c, src/misc2.c, src/netbeans.c, src/os_mswin.c,
12134 src/os_win32.c, src/proto/fileio.pro, src/proto/memline.pro,
12135 src/proto/os_mswin.pro, src/pty.c, src/quickfix.c, src/spell.c,
12136 src/structs.h, src/tag.c, src/testdir/Make_all.mak,
12137 src/testdir/test_largefile.vim, src/testdir/test_stat.vim,
12138 src/undo.c, src/vim.h
12139
12140Patch 7.4.1976
12141Problem: Number variables are not 64 bits while they could be.
12142Solution: Add the num64 feature. (Ken Takata, Yasuhiro Matsumoto)
12143Files: runtime/doc/eval.txt, runtime/doc/various.txt,
12144 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/charset.c,
12145 src/eval.c, src/ex_cmds.c, src/ex_getln.c, src/feature.h,
12146 src/fileio.c, src/fold.c, src/json.c, src/message.c, src/misc1.c,
12147 src/misc2.c, src/ops.c, src/option.c, src/proto/charset.pro,
12148 src/proto/eval.pro, src/quickfix.c, src/structs.h,
12149 src/testdir/test_viml.vim, src/version.c
12150
12151Patch 7.4.1977
12152Problem: With 64 bit changes don't need three calls to sprintf().
12153Solution: Simplify the code, use vim_snprintf(). (Ken Takata)
12154Files: src/fileio.c
12155
12156Patch 7.4.1978 (after 7.4.1975)
12157Problem: Large file test does not delete its output.
12158Solution: Delete the output. Check size properly when possible. (Ken Takata)
12159Files: src/testdir/test_largefile.vim
12160
12161Patch 7.4.1979 (after 7.4.1976)
12162Problem: Getting value of binary option is wrong. (Kent Sibilev)
12163Solution: Fix type cast. Add a test.
12164Files: src/option.c, src/testdir/test_expr.vim
12165
12166Patch 7.4.1980
12167Problem: 'errorformat' is parsed for every call to ":caddexpr". Can't add
12168 to two location lists asynchronously.
12169Solution: Keep the previously parsed data when appropriate. (mostly by
12170 Yegappan Lakshmanan)
12171Files: src/quickfix.c, src/testdir/test_quickfix.vim
12172
12173Patch 7.4.1981
12174Problem: No testing for Farsi code.
12175Solution: Add a minimal test. Clean up Farsi code.
12176Files: src/farsi.c, src/Makefile, src/charset.c, src/normal.c,
12177 src/proto/main.pro, src/testdir/Make_all.mak,
12178 src/testdir/test_farsi.vim
12179
12180Patch 7.4.1982
12181Problem: Viminfo file contains duplicate change marks.
12182Solution: Drop duplicate marks.
12183Files: src/mark.c
12184
12185Patch 7.4.1983
12186Problem: farsi.c and arabic.c are included in a strange way.
12187Solution: Build them like other files.
12188Files: src/main.c, src/farsi.c, src/arabic.c, src/proto.h,
12189 src/proto/main.pro, src/proto/farsi.pro, src/proto/arabic.pro,
12190 src/Makefile, src/Make_bc5.mak, src/Make_cyg_ming.mak,
12191 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak,
12192 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak,
12193 Filelist
12194
12195Patch 7.4.1984
12196Problem: Not all quickfix features are tested.
12197Solution: Add a few more tests. (Yegappan Lakshmanan)
12198Files: src/testdir/test_quickfix.vim
12199
12200Patch 7.4.1985 (after 7.4.1983)
12201Problem: Missing changes in VMS build file.
12202Solution: Use the right file name.
12203Files: src/Make_vms.mms
12204
12205Patch 7.4.1986
12206Problem: Compiler warns for loss of data.
12207Solution: Use size_t instead of int. (Christian Brabandt)
12208Files: src/ex_cmds2.c
12209
12210Patch 7.4.1987
12211Problem: When copying unrecognized lines for viminfo, end up with useless
12212 continuation lines.
12213Solution: Skip continuation lines.
12214Files: src/ex_cmds.c
12215
12216Patch 7.4.1988
12217Problem: When updating viminfo with file marks there is no time order.
12218Solution: Remember the time when a buffer was last used, store marks for
12219 the most recently used buffers.
12220Files: src/buffer.c, src/structs.h, src/mark.c, src/main.c,
12221 src/ex_cmds.c, src/proto/mark.pro, src/testdir/test_viminfo.vim
12222
12223Patch 7.4.1989
12224Problem: filter() and map() only accept a string argument.
12225Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken
12226 Takata)
12227Files: runtime/doc/eval.txt, src/Makefile, src/eval.c,
12228 src/testdir/test_alot.vim, src/testdir/test_filter_map.vim,
12229 src/testdir/test_partial.vim
12230
12231Patch 7.4.1990 (after 7.4.1952)
12232Problem: Cscope items are not sorted.
12233Solution: Put the new "a" command first. (Ken Takata)
12234Files: src/if_cscope.c
12235
12236Patch 7.4.1991
12237Problem: glob() does not add a symbolic link when there are no wildcards.
12238Solution: Remove the call to mch_getperm().
12239Files: src/misc1.c
12240
12241Patch 7.4.1992
12242Problem: Values for true and false can be confusing.
12243Solution: Update the documentation. Add a test. Make v:true evaluate to
12244 TRUE for a non-zero-arg.
12245Files: runtime/doc/eval.txt, src/eval.c, src/Makefile,
12246 src/testdir/test_true_false.vim, src/testdir/test_alot.vim
12247
12248Patch 7.4.1993
12249Problem: Not all TRUE and FALSE arguments are tested.
12250Solution: Add a few more tests.
12251Files: src/testdir/test_true_false.vim
12252
12253Patch 7.4.1994 (after 7.4.1993)
12254Problem: True-false test fails.
12255Solution: Filter the dict to only keep the value that matters.
12256Files: src/testdir/test_true_false.vim
12257
12258Patch 7.4.1995
12259Problem: GUI: cursor drawn in wrong place if a timer callback causes a
12260 screen update. (David Samvelyan)
12261Solution: Also redraw the cursor when it's blinking and on.
12262Files: src/gui_gtk_x11.c, src/gui_mac.c, src/gui_photon.c, src/gui_w32.c,
12263 src/gui_x11.c, src/screen.c, src/proto/gui_gtk_x11.pro,
12264 src/proto/gui_mac.pro, src/proto/gui_photon.pro,
12265 src/proto/gui_w32.pro, src/proto/gui_x11.pro
12266
12267Patch 7.4.1996
12268Problem: Capturing the output of a command takes a few commands.
12269Solution: Add evalcmd().
12270Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim,
12271 src/Makefile, src/testdir/test_evalcmd.vim
12272
12273Patch 7.4.1997
12274Problem: Cannot easily scroll the quickfix window.
12275Solution: Add ":cbottom".
12276Files: src/ex_cmds.h, src/quickfix.c, src/proto/quickfix.pro,
12277 src/ex_docmd.c, src/testdir/test_quickfix.vim,
12278 runtime/doc/quickfix.txt
12279
12280Patch 7.4.1998
12281Problem: When writing buffer lines to a job there is no NL to NUL
12282 conversion.
12283Solution: Make it work symmetrical with writing lines from a job into a
12284 buffer.
12285Files: src/channel.c, src/proto/channel.pro, src/netbeans.c
12286
12287Patch 7.4.1999
12288Problem: evalcmd() doesn't work recursively.
12289Solution: Use redir_evalcmd instead of redir_vname.
12290Files: src/message.c, src/eval.c, src/globals.h, src/proto/eval.pro,
12291 src/testdir/test_evalcmd.vim
12292
12293Patch 7.4.2000 (after 7.4.1999)
12294Problem: Evalcmd test fails.
12295Solution: Add missing piece.
12296Files: src/ex_docmd.c
12297
12298Patch 7.4.2001 (after 7.4.2000)
12299Problem: Tiny build fails. (Tony Mechelynck)
12300Solution: Add #ifdef.
12301Files: src/ex_docmd.c
12302
12303Patch 7.4.2002
12304Problem: Crash when passing number to filter() or map().
12305Solution: Convert to a string. (Ozaki Kiichi)
12306Files: src/eval.c, src/testdir/test_filter_map.vim
12307
12308Patch 7.4.2003
12309Problem: Still cursor flickering when a callback updates the screen. (David
12310 Samvelyan)
12311Solution: Put the cursor in the right position after updating the screen.
12312Files: src/screen.c
12313
12314Patch 7.4.2004
12315Problem: GUI: cursor displayed in the wrong position.
12316Solution: Correct screen_cur_col and screen_cur_row.
12317Files: src/screen.c
12318
12319Patch 7.4.2005
12320Problem: After using evalcmd() message output is in the wrong position.
12321 (Christian Brabandt)
12322Solution: Reset msg_col.
12323Files: src/eval.c
12324
12325Patch 7.4.2006
12326Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi)
12327Solution: First check that the current buffer is the right one. (Hirohito
12328 Higashi)
12329Files: src/buffer.c, src/testdir/test_autocmd.vim
12330
12331Patch 7.4.2007
12332Problem: Running the tests leaves a viminfo file behind.
12333Solution: Make the viminfo option empty.
12334Files: src/testdir/runtest.vim
12335
12336Patch 7.4.2008
12337Problem: evalcmd() has a confusing name.
12338Solution: Rename to execute(). Make silent optional. Support a list of
12339 commands.
12340Files: src/eval.c, src/ex_docmd.c, src/message.c, src/globals.h,
12341 src/proto/eval.pro, src/Makefile, src/testdir/test_evalcmd.vim,
12342 src/testdir/test_execute_func.vim, src/testdir/test_alot.vim,
12343 runtime/doc/eval.txt
12344
12345Patch 7.4.2009 (after 7.4.2008)
12346Problem: Messages test fails.
12347Solution: Don't set redir_execute before returning. Add missing version
12348 number.
12349Files: src/eval.c
12350
12351Patch 7.4.2010
12352Problem: There is a :cbottom command but no :lbottom command.
12353Solution: Add :lbottom. (Yegappan Lakshmanan)
12354Files: runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmds.h,
12355 src/quickfix.c, src/testdir/test_quickfix.vim
12356
12357Patch 7.4.2011
12358Problem: It is not easy to get a list of command arguments.
12359Solution: Add getcompletion(). (Yegappan Lakshmanan)
12360Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
12361 src/proto/ex_docmd.pro, src/testdir/test_cmdline.vim
12362
12363Patch 7.4.2012 (after 7.4.2011)
12364Problem: Test for getcompletion() does not pass on all systems.
12365Solution: Only test what is supported.
12366Files: src/testdir/test_cmdline.vim
12367
12368Patch 7.4.2013
12369Problem: Using "noinsert" in 'completeopt' breaks redo.
Bram Moolenaard0796902016-09-16 20:02:31 +020012370Solution: Set compl_curr_match. (Shougo Matsu, closes #874)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020012371Files: src/edit.c, src/testdir/test_popup.vim
12372
12373Patch 7.4.2014
12374Problem: Using "noinsert" in 'completeopt' does not insert match.
Bram Moolenaard0796902016-09-16 20:02:31 +020012375Solution: Set compl_enter_selects. (Shougo Matsu, closes #875)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020012376Files: src/edit.c, src/testdir/test_popup.vim
12377
12378Patch 7.4.2015
12379Problem: When a file gets a name when writing it 'acd' is not effective.
12380 (Dan Church)
12381Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes
12382 #777, closes #803) Add test_autochdir() to enable 'acd' before
12383 "starting" is reset.
12384Files: src/ex_cmds.c, src/buffer.c, src/eval.c, src/globals.h,
12385 src/Makefile, src/testdir/test_autochdir.vim,
12386 src/testdir/Make_all.mak
12387
12388Patch 7.4.2016
12389Problem: Warning from MinGW about _WIN32_WINNT redefined. (John Marriott)
12390Solution: First undefine it. (Ken Takata)
12391Files: src/Make_cyg_ming.mak
12392
12393Patch 7.4.2017
12394Problem: When there are many errors adding them to the quickfix list takes
12395 a long time.
12396Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options().
12397 Remember the last file name used. When going through the buffer
12398 list start from the end of the list. Only call buf_valid() when
12399 autocommands were executed.
12400Files: src/buffer.c, src/option.c, src/quickfix.c, src/vim.h
12401
12402Patch 7.4.2018
12403Problem: buf_valid() can be slow when there are many buffers.
12404Solution: Add bufref_valid(), only go through the buffer list when a buffer
12405 was freed.
12406Files: src/structs.h, src/buffer.c, src/quickfix.c, src/proto/buffer.pro
12407
12408Patch 7.4.2019
12409Problem: When ignoring case utf_fold() may consume a lot of time.
12410Solution: Optimize for ASCII.
12411Files: src/mbyte.c
12412
12413Patch 7.4.2020
12414Problem: Can't build without +autocmd feature.
12415Solution: Adjust #ifdefs.
12416Files: src/buffer.c
12417
12418Patch 7.4.2021
12419Problem: Still too many buf_valid() calls.
12420Solution: Make au_new_curbuf a bufref. Use bufref_valid() in more places.
12421Files: src/ex_cmds.c, src/buffer.c, src/globals.h
12422
12423Patch 7.4.2022
12424Problem: Warnings from 64 bit compiler.
12425Solution: Add type casts. (Mike Williams)
12426Files: src/eval.c
12427
12428Patch 7.4.2023
12429Problem: buflist_findname_stat() may find a dummy buffer.
12430Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start
12431 finding buffers from the end of the list.
12432Files: src/quickfix.c, src/buffer.c
12433
12434Patch 7.4.2024
12435Problem: More buf_valid() calls can be optimized.
12436Solution: Use bufref_valid() instead.
12437Files: src/buffer.c, src/ex_cmds.c, src/structs.h, src/channel.c,
12438 src/diff.c, src/eval.c, src/ex_cmds2.c, src/ex_docmd.c,
12439 src/ex_getln.c, src/fileio.c, src/main.c, src/misc2.c,
12440 src/netbeans.c, src/quickfix.c, src/spell.c, src/term.c,
12441 src/if_py_both.h, src/window.c, src/proto/buffer.pro,
12442 src/proto/window.pro
12443
12444Patch 7.4.2025
12445Problem: The cursor blinking stops or is irregular when receiving date over
12446 a channel and writing it in a buffer, and when updating the status
12447 line. (Ramel Eshed)
12448Solution: Make it a bit better by flushing GUI output. Don't redraw the
12449 cursor after updating the screen if the blink state is off.
12450Files: src/gui_gtk_x11.c, src/screen.c
12451
12452Patch 7.4.2026
12453Problem: Reference counting for callbacks isn't right.
12454Solution: Add free_callback(). (Ken Takata) Fix reference count.
12455Files: src/channel.c, src/eval.c, src/ex_cmds2.c, src/proto/eval.pro
12456
12457Patch 7.4.2027
12458Problem: Can't build with +eval but without +menu.
12459Solution: Add #ifdef. (John Marriott)
12460Files: src/eval.c
12461
12462Patch 7.4.2028
12463Problem: cppcheck warns for using index before limits check.
12464Solution: Swap the expressions. (Dominique Pelle)
12465Files: src/mbyte.c
12466
12467Patch 7.4.2029
12468Problem: printf() does not work with 64 bit numbers.
12469Solution: use the "L" length modifier. (Ken Takata)
12470Files: src/message.c, src/testdir/test_expr.vim
12471
12472Patch 7.4.2030
12473Problem: ARCH must be set properly when using MinGW.
12474Solution: Detect the default value of ARCH from the current compiler. (Ken
12475 Takata)
12476Files: src/Make_cyg_ming.mak
12477
12478Patch 7.4.2031
12479Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets
12480 'textwidth' to a non-zero value. (Oyvind A. Holm)
12481Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe
12482 value. (partly by Christian Brabandt, closes #912)
12483Files: src/testdir/setup.vim, src/testdir/amiga.vim, src/testdir/dos.vim,
12484 src/testdir/unix.vim, src/testdir/vms.vim, src/testdir/runtest.vim
12485
12486Patch 7.4.2032 (after 7.4.2030)
12487Problem: Build fails with 64 bit MinGW. (Axel Bender)
12488Solution: Handle dash vs. underscore. (Ken Takata, Hirohito Higashi)
12489Files: src/Make_cyg_ming.mak
12490
12491Patch 7.4.2033
12492Problem: 'cscopequickfix' option does not accept new value "a".
12493Solution: Adjust list of command characters. (Ken Takata)
12494Files: src/option.h, src/Makefile, src/testdir/test_cscope.vim,
12495 src/testdir/Make_all.mak
12496
12497Patch 7.4.2034 (after 7.4.2032)
12498Problem: Build fails with some version of MinGW. (illusorypan)
12499Solution: Recognize mingw32. (Ken Takata, closes #921)
12500Files: src/Make_cyg_ming.mak
12501
12502Patch 7.4.2035
12503Problem: On Solaris with ZFS the ACL may get removed.
12504Solution: Always restore the ACL for Solaris ZFS. (Danek Duvall)
12505Files: src/fileio.c
12506
12507Patch 7.4.2036
12508Problem: Looking up a buffer by number is slow if there are many.
12509Solution: Use a hashtab.
12510Files: src/structs.h, src/buffer.c
12511
12512Patch 7.4.2037 (after 7.4.2036)
12513Problem: Small build fails.
12514Solution: Adjust #ifdefs.
12515Files: src/hashtab.c
12516
12517Patch 7.4.2038 (after 7.4.2036)
12518Problem: Small build still fails.
12519Solution: Adjust more #ifdefs.
12520Files: src/globals.h, src/buffer.c
12521
12522Patch 7.4.2039
12523Problem: The Netbeans integration is not tested.
12524Solution: Add a first Netbeans test.
12525Files: src/testdir/test_netbeans.vim, src/testdir/test_netbeans.py,
12526 src/testdir/Make_all.mak, src/Makefile,
12527 src/testdir/test_channel.vim, src/testdir/shared.vim
12528
12529Patch 7.4.2040
12530Problem: New files missing from distribution.
12531Solution: Add new test scripts.
12532Files: Filelist
12533
12534Patch 7.4.2041
12535Problem: Netbeans file authentication not tested.
12536Solution: Add a test.
12537Files: src/testdir/test_netbeans.vim
12538
12539Patch 7.4.2042
12540Problem: GTK: display updating is not done properly and can be slow.
12541Solution: Use gdk_display_flush() instead of gdk_display_sync(). Don't call
12542 gdk_window_process_updates(). (Kazunobu Kuriyama)
12543Files: src/gui_gtk_x11.c
12544
12545Patch 7.4.2043
12546Problem: setbuvfar() causes a screen redraw.
12547Solution: Only use aucmd_prepbuf() for options.
12548Files: src/eval.c
12549
12550Patch 7.4.2044
12551Problem: filter() and map() either require a string or defining a function.
12552Solution: Support lambda, a short way to define a function that evaluates an
12553 expression. (Yasuhiro Matsumoto, Ken Takata)
12554Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_alot.vim,
12555 src/Makefile, src/testdir/test_channel.vim,
12556 src/testdir/test_lambda.vim
12557
12558Patch 7.4.2045
12559Problem: Memory leak when using a function callback.
12560Solution: Don't save the function name when it's in the partial.
12561Files: src/channel.c
12562
12563Patch 7.4.2046
12564Problem: The qf_init_ext() function is too big.
12565Solution: Refactor it. (Yegappan Lakshmanan)
12566Files: src/quickfix.c
12567
12568Patch 7.4.2047
12569Problem: Compiler warning for initializing a struct.
12570Solution: Initialize in another way. (Anton Lindqvist)
12571Files: src/quickfix.c
12572
12573Patch 7.4.2048
12574Problem: There is still code and help for unsupported systems.
12575Solution: Remove the code and text. (Hirohito Higashi)
12576Files: runtime/doc/eval.txt, runtime/lang/menu_sk_sk.vim,
12577 runtime/menu.vim, runtime/optwin.vim, src/Make_bc5.mak,
12578 src/ex_docmd.c, src/feature.h, src/fileio.c, src/globals.h,
12579 src/main.c, src/memfile.c, src/memline.c, src/misc1.c,
12580 src/misc2.c, src/option.c, src/option.h, src/os_unix.c,
12581 src/os_unix.h, src/proto.h, src/term.c, src/undo.c, src/version.c,
12582 src/vim.h, src/xxd/xxd.c
12583
12584Patch 7.4.2049
12585Problem: There is no way to get a list of the error lists.
12586Solution: Add ":chistory" and ":lhistory".
12587Files: src/ex_cmds.h, src/quickfix.c, src/ex_docmd.c, src/message.c,
12588 src/proto/quickfix.pro, src/testdir/test_quickfix.vim
12589
12590Patch 7.4.2050
12591Problem: When using ":vimgrep" may end up with duplicate buffers.
12592Solution: When adding an error list entry pass the buffer number if possible.
12593Files: src/quickfix.c, src/testdir/test_quickfix.vim
12594
12595Patch 7.4.2051
12596Problem: No proper testing of trunc_string().
12597Solution: Add a unittest for message.c.
12598Files: src/Makefile, src/message.c, src/message_test.c, src/main.c,
12599 src/proto/main.pro, src/structs.h
12600
12601Patch 7.4.2052
12602Problem: Coverage report is messed up by the unittests.
12603Solution: Add a separate test target for script tests. Use that when
12604 collecting coverage information.
12605Files: src/Makefile
12606
12607Patch 7.4.2053
12608Problem: Can't run scripttests in the top directory.
12609Solution: Add targets to the top Makefile.
12610Files: Makefile
12611
12612Patch 7.4.2054 (after 7.4.2048)
12613Problem: Wrong part of #ifdef removed.
12614Solution: Use the right part. (Hirohito Higashi)
12615Files: src/os_unix.c
12616
12617Patch 7.4.2055
12618Problem: eval.c is too big
12619Solution: Move Dictionary functions to dict.c
12620Files: src/eval.c, src/dict.c, src/vim.h, src/globals.h,
12621 src/proto/eval.pro, src/proto/dict.pro, src/Makefile, Filelist
12622
Bram Moolenaar09521312016-08-12 22:54:35 +020012623Patch 7.4.2056 (after 7.4.2055)
12624Problem: Build fails.
12625Solution: Add missing changes.
12626Files: src/proto.h
12627
12628Patch 7.4.2057
12629Problem: eval.c is too big.
12630Solution: Move List functions to list.c
12631Files: src/eval.c, src/dict.c, src/list.c, src/proto.h, src/Makefile,
12632 src/globals.h, src/proto/eval.pro, src/proto/list.pro, Filelist
12633
12634Patch 7.4.2058
12635Problem: eval.c is too big.
12636Solution: Move user functions to userfunc.c
12637Files: src/userfunc.c, src/eval.c, src/vim.h, src/globals.h,
12638 src/structs.h, src/proto.h, src/Makefile, src/proto/eval.pro,
12639 src/proto/userfunc.pro, Filelist
12640
12641Patch 7.4.2059
12642Problem: Non-Unix builds fail.
12643Solution: Update Makefiles for new files.
12644Files: src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak,
12645 src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak,
12646 src/Make_mvc.mak, src/Make_sas.mak
12647
12648Patch 7.4.2060 (after 7.4.2059)
12649Problem: Wrong file name.
12650Solution: Fix typo.
12651Files: src/Make_mvc.mak
12652
12653Patch 7.4.2061
12654Problem: qf_init_ext() is too big.
12655Solution: Move code to qf_parse_line() (Yegappan Lakshmanan)
12656Files: src/quickfix.c, src/testdir/test_quickfix.vim
12657
12658Patch 7.4.2062
12659Problem: Using dummy variable to compute struct member offset.
12660Solution: Use offsetof().
12661Files: src/globals.h, src/macros.h, src/vim.h, src/spell.c
12662
12663Patch 7.4.2063
12664Problem: eval.c is still too big.
12665Solution: Split off internal functions to evalfunc.c.
12666Files: src/eval.c, src/evalfunc.c, src/list.c, src/proto.h,
12667 src/globals.h, src/vim.h, src/proto/eval.pro,
12668 src/proto/evalfunc.pro, src/proto/list.pro, src/Makefile, Filelist,
12669 src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak,
12670 src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak,
12671 src/Make_mvc.mak, src/Make_sas.mak
12672
12673Patch 7.4.2064
12674Problem: Coverity warns for possible buffer overflow.
12675Solution: Use vim_strcat() instead of strcat().
12676Files: src/quickfix.c
12677
12678Patch 7.4.2065
Bram Moolenaar7571d552016-08-18 22:54:46 +020012679Problem: Compiler warns for uninitialized variable. (John Marriott)
Bram Moolenaardc1f1642016-08-16 18:33:43 +020012680Solution: Set lnum to the right value.
12681Files: src/evalfunc.c
12682
12683Patch 7.4.2066
12684Problem: getcompletion() not well tested.
12685Solution: Add more testing.
12686Files: src/testdir/test_cmdline.vim
12687
12688Patch 7.4.2067
12689Problem: Compiler warning for char/char_u conversion. (Tony Mechelynck)
12690 Inefficient code.
12691Solution: Use more lines to fill with spaces. (Nikolai Pavlov) Add type cast.
12692Files: src/quickfix.c
12693
12694Patch 7.4.2068
12695Problem: Not all arguments of trunc_string() are tested. Memory access
12696 error when running the message tests.
12697Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run
12698 unittests with valgrind. Fix the access error.
12699Files: src/message.c, src/message_test.c, src/Makefile
12700
12701Patch 7.4.2069
12702Problem: spell.c is too big.
12703Solution: Split it in spell file handling and spell checking.
12704Files: src/spell.c, src/spellfile.c, src/spell.h, src/Makefile,
12705 src/proto/spell.pro, src/proto/spellfile.pro, src/proto.h
12706 Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak,
12707 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak,
12708 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak
12709
12710Patch 7.4.2070 (after 7.4.2069)
12711Problem: Missing change to include file.
12712Solution: Include the spell header file.
12713Files: src/vim.h
12714
12715Patch 7.4.2071
12716Problem: The return value of type() is difficult to use.
12717Solution: Define v:t_ constants. (Ken Takata)
12718Files: runtime/doc/eval.txt, src/eval.c, src/evalfunc.c,
12719 src/testdir/test_channel.vim, src/testdir/test_viml.vim, src/vim.h
12720
12721Patch 7.4.2072
12722Problem: substitute() does not support a Funcref argument.
12723Solution: Support a Funcref like it supports a string starting with "\=".
12724Files: src/evalfunc.c, src/regexp.c, src/eval.c, src/proto/eval.pro,
12725 src/proto/regexp.pro, src/testdir/test_expr.vim
12726
12727Patch 7.4.2073
12728Problem: rgb.txt is read for every color name.
12729Solution: Load rgb.txt once. (Christian Brabandt) Add a test.
12730Files: runtime/rgb.txt, src/term.c, src/testdir/test_syn_attr.vim
12731
12732Patch 7.4.2074
12733Problem: One more place using a dummy variable.
12734Solution: Use offsetof(). (Ken Takata)
12735Files: src/userfunc.c
12736
12737Patch 7.4.2075
12738Problem: No autocommand event to initialize a window or tab page.
12739Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
12740Files: src/fileio.c, src/window.c, src/vim.h,
12741 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt
12742
12743Patch 7.4.2076
12744Problem: Syntax error when dict has '>' key.
12745Solution: Check for endchar. (Ken Takata)
12746Files: src/userfunc.c, src/testdir/test_lambda.vim
12747
12748Patch 7.4.2077
12749Problem: Cannot update 'tabline' when a tab was closed.
12750Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
12751Files: src/fileio.c, src/window.c, src/vim.h,
12752 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt
12753
12754Patch 7.4.2078
Bram Moolenaar89bcfda2016-08-30 23:26:57 +020012755Problem: Running checks in po directory fails.
12756Solution: Add colors used in syntax.c to the builtin color table.
Bram Moolenaar09521312016-08-12 22:54:35 +020012757Files: src/term.c
12758
12759Patch 7.4.2079
12760Problem: Netbeans test fails on non-Unix systems.
12761Solution: Only do the permission check on Unix systems.
12762Files: src/testdir/test_netbeans.vim
12763
12764Patch 7.4.2080
12765Problem: When using PERROR() on some systems assert_fails() does not see
12766 the error.
12767Solution: Make PERROR() always report the error.
12768Files: src/vim.h, src/message.c, src/proto/message.pro
12769
12770Patch 7.4.2081
12771Problem: Line numbers in the error list are not always adjusted.
12772Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan)
12773Files: src/quickfix.c, src/structs.h, src/testdir/test_quickfix.vim
12774
12775Patch 7.4.2082
12776Problem: Not much test coverage for digraphs.
12777Solution: Add a new style digraph test. (Christian Brabandt)
12778Files: src/Makefile, src/testdir/test_alot.vim,
12779 src/testdir/test_digraph.vim
12780
12781Patch 7.4.2083
12782Problem: Coverity complains about not restoring a value.
12783Solution: Restore the value, although it's not really needed. Change return
12784 to jump to cleanup, might leak memory.
12785Files: src/userfunc.c
12786
12787Patch 7.4.2084
12788Problem: New digraph test makes testing hang.
12789Solution: Don't set "nocp".
12790Files: src/testdir/test_digraph.vim
12791
12792Patch 7.4.2085
12793Problem: Digraph tests fails on some systems.
12794Solution: Run it separately and set 'encoding' early.
12795Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
12796 src/testdir/test_digraph.vim
12797
12798Patch 7.4.2086
12799Problem: Using the system default encoding makes tests unpredictable.
12800Solution: Always use utf-8 or latin1 in the new style tests. Remove setting
12801 encoding and scriptencoding where it is not needed.
12802Files: src/testdir/runtest.vim, src/testdir/test_channel.vim,
12803 src/testdir/test_digraph.vim, src/testdir/test_expand_dllpath.vim,
12804 src/testdir/test_expr_utf8.vim, src/testdir/test_json.vim,
12805 src/testdir/test_matchadd_conceal_utf8.vim,
12806 src/testdir/test_regexp_utf8.vim, src/testdir/test_visual.vim,
12807 src/testdir/test_alot_utf8.vim,
12808
12809Patch 7.4.2087
12810Problem: Digraph code test coverage is still low.
12811Solution: Add more tests. (Christian Brabandt)
12812Files: src/testdir/test_digraph.vim
12813
12814Patch 7.4.2088 (after 7.4.2087)
12815Problem: Keymap test fails with normal features.
12816Solution: Bail out if the keymap feature is not supported.
12817Files: src/testdir/test_digraph.vim
12818
12819Patch 7.4.2089
12820Problem: Color handling of X11 GUIs is too complicated.
12821Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu
12822 Kuriyama)
12823Files: src/gui.h, src/gui_beval.c, src/gui_gtk_x11.c, src/netbeans.c
12824
12825Patch 7.4.2090
12826Problem: Using submatch() in a lambda passed to substitute() is verbose.
12827Solution: Use a static list and pass it as an optional argument to the
12828 function. Fix memory leak.
12829Files: src/structs.h, src/list.c, src/userfunc.c, src/channel.c,
12830 src/eval.c, src/evalfunc.c, src/ex_cmds2.c, src/regexp.c,
12831 src/proto/list.pro, src/proto/userfunc.pro,
12832 src/testdir/test_expr.vim, runtime/doc/eval.txt
12833
12834Patch 7.4.2091
12835Problem: Coverity reports a resource leak when out of memory.
12836Solution: Close the file before returning.
12837Files: src/term.c
12838
12839Patch 7.4.2092
12840Problem: GTK 3 build fails with older GTK version.
12841Solution: Check the pango version. (Kazunobu Kuriyama)
12842Files: src/gui_beval.c
12843
12844Patch 7.4.2093
12845Problem: Netbeans test fails once in a while. Leaving log file behind.
12846Solution: Add it to the list of flaky tests. Disable logfile.
12847Files: src/testdir/runtest.vim, src/testdir/test_channel.vim
12848
12849Patch 7.4.2094
12850Problem: The color allocation in X11 is overly complicated.
12851Solution: Remove find_closest_color(), XAllocColor() already does this.
12852 (Kazunobu Kuriyama)
12853Files: src/gui_x11.c
12854
12855Patch 7.4.2095
12856Problem: Man test fails when run with the GUI.
12857Solution: Adjust for different behavior of GUI. Add assert_inrange().
12858Files: src/eval.c, src/evalfunc.c, src/proto/eval.pro,
12859 src/testdir/test_assert.vim, src/testdir/test_man.vim,
12860 runtime/doc/eval.txt
12861
12862Patch 7.4.2096
12863Problem: Lambda functions show up with completion.
12864Solution: Don't show lambda functions. (Ken Takata)
12865Files: src/userfunc.c, src/testdir/test_cmdline.vim
12866
12867Patch 7.4.2097
12868Problem: Warning from 64 bit compiler.
12869Solution: use size_t instead of int. (Mike Williams)
12870Files: src/message.c
12871
12872Patch 7.4.2098
12873Problem: Text object tests are old style.
12874Solution: Turn them into new style tests. (James McCoy, closes #941)
12875Files: src/testdir/Make_all.mak, src/testdir/test_textobjects.in,
12876 src/testdir/test_textobjects.ok, src/testdir/test_textobjects.vim,
12877 src/Makefile
12878
12879Patch 7.4.2099
12880Problem: When a keymap is active only "(lang)" is displayed. (Ilya
12881 Dogolazky)
12882Solution: Show the keymap name. (Dmitri Vereshchagin, closes #933)
12883Files: src/buffer.c, src/proto/screen.pro, src/screen.c
12884
12885Patch 7.4.2100
12886Problem: "cgn" and "dgn" do not work correctly with a single character
12887 match and the replacement includes the searched pattern. (John
12888 Beckett)
12889Solution: If the match is found in the wrong column try in the next column.
12890 Turn the test into new style. (Christian Brabandt)
12891Files: src/search.c, src/testdir/Make_all.mak, src/Makefile,
12892 src/testdir/test53.in, src/testdir/test53.ok,
12893 src/testdir/test_gn.vim
12894
12895Patch 7.4.2101
Bram Moolenaare4a3bcf2016-08-26 19:52:37 +020012896Problem: Looping over windows, buffers and tab pages is inconsistent.
Bram Moolenaar09521312016-08-12 22:54:35 +020012897Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
12898Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c,
12899 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/fileio.c,
12900 src/globals.h, src/gui.c, src/gui_mac.c, src/if_lua.c,
12901 src/if_mzsch.c, src/if_perl.xs, src/if_ruby.c, src/if_tcl.c,
12902 src/main.c, src/mark.c, src/memfile.c, src/memline.c, src/misc1.c,
12903 src/move.c, src/netbeans.c, src/normal.c, src/option.c,
12904 src/quickfix.c, src/screen.c, src/spell.c, src/term.c,
12905 src/window.c, src/workshop.c
12906
12907Patch 7.4.2102 (after 7.4.2101)
12908Problem: Tiny build with GUI fails.
12909Solution: Revert one FOR_ALL_ change.
12910Files: src/gui.c
12911
12912Patch 7.4.2103
12913Problem: Can't have "augroup END" right after ":au!".
12914Solution: Check for the bar character before the command argument.
12915Files: src/fileio.c, src/testdir/test_autocmd.vim,
12916 runtime/doc/autocmd.txt
12917
12918Patch 7.4.2104
12919Problem: Code duplication when unreferencing a function.
12920Solution: De-duplicate.
12921Files: src/userfunc.c
12922
12923Patch 7.4.2105
12924Problem: Configure reports default features to be "normal" while it is
12925 "huge".
12926Solution: Change the default text. Build with newer autoconf.
12927Files: src/configure.in, src/auto/configure
12928
12929Patch 7.4.2106
12930Problem: Clang warns about missing field in initializer.
12931Solution: Define COMMA and use it. (Kazunobu Kuriyama)
12932Files: src/ex_cmds.c, src/globals.h, src/vim.h
12933
12934Patch 7.4.2107 (after 7.4.2106)
12935Problem: Misplaced equal sign.
12936Solution: Remove it.
12937Files: src/globals.h
12938
12939Patch 7.4.2108
12940Problem: Netbeans test is flaky.
12941Solution: Wait for the cursor to be positioned.
12942Files: src/testdir/test_netbeans.vim
12943
12944Patch 7.4.2109
12945Problem: Setting 'display' to "lastline" is a drastic change, while
12946 omitting it results in lots of "@" lines.
12947Solution: Add "truncate" to show "@@@" for a truncated line.
12948Files: src/option.h, src/screen.c, runtime/doc/options.txt
12949
12950Patch 7.4.2110
12951Problem: When there is an CmdUndefined autocmd then the error for a missing
12952 command is E464 instead of E492. (Manuel Ortega)
12953Solution: Don't let the pointer be NULL.
12954Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
12955
12956Patch 7.4.2111
12957Problem: Defaults are very conservative.
12958Solution: Move settings from vimrc_example.vim to defaults.vim. Load
12959 defaults.vim if no .vimrc was found.
12960Files: src/main.c, src/version.c, src/os_amiga.h, src/os_dos.h,
12961 src/os_mac.h, src/os_unix.h, src/feature.h, src/Makefile,
12962 runtime/vimrc_example.vim, runtime/defaults.vim,
12963 runtime/evim.vim, Filelist, runtime/doc/starting.txt
12964
12965Patch 7.4.2112
12966Problem: getcompletion(.., 'dir') returns a match with trailing "*" when
12967 there are no matches. (Chdiza)
12968Solution: Return an empty list when there are no matches. Add a trailing
12969 slash to directories. (Yegappan Lakshmanan) Add tests for no
12970 matches. (closes #947)
12971Files: src/evalfunc.c, src/testdir/test_cmdline.vim
12972
12973Patch 7.4.2113
12974Problem: Test for undo is flaky.
12975Solution: Turn it into a new style test. Use test_settime() to avoid
12976 flakyness.
12977Files: src/Makefile, src/undo.c, src/testdir/test61.in,
12978 src/testdir/test61.ok, src/testdir/test_undo.vim,
12979 src/testdir/test_undolevels.vim, src/testdir/Make_all.mak,
12980 src/testdir/test_alot.vim
12981
12982Patch 7.4.2114
12983Problem: Tiny build fails.
12984Solution: Always include vim_time().
12985Files: src/ex_cmds.c
12986
12987Patch 7.4.2115
12988Problem: Loading defaults.vim with -C argument.
12989Solution: Don't load the defaults script with -C argument. Test sourcing
12990 the defaults script. Set 'display' to "truncate".
12991Files: src/main.c, src/Makefile, runtime/defaults.vim,
12992 src/testdir/test_startup.vim, src/testdir/Make_all.mak
12993
12994Patch 7.4.2116
12995Problem: The default vimrc for Windows is very conservative.
12996Solution: Use the defaults.vim in the Windows installer.
12997Files: src/dosinst.c
12998
12999Patch 7.4.2117
13000Problem: Deleting an augroup that still has autocmds does not give a
13001 warning. The next defined augroup takes its place.
13002Solution: Give a warning and prevent the index being used for another group
13003 name.
13004Files: src/fileio.c, src/testdir/test_autocmd.vim
13005
13006Patch 7.4.2118
13007Problem: Mac: can't build with tiny features.
13008Solution: Don't define FEAT_CLIPBOARD unconditionally. (Kazunobu Kuriyama)
13009Files: src/vim.h
13010
13011Patch 7.4.2119
13012Problem: Closures are not supported.
13013Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
13014 Matsumoto, Ken Takata)
13015Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmds2.c, src/globals.h,
13016 src/proto/eval.pro, src/proto/userfunc.pro,
13017 src/testdir/test_lambda.vim, src/userfunc.c
13018
13019Patch 7.4.2120
13020Problem: User defined functions can't be a closure.
13021Solution: Add the "closure" argument. Allow using :unlet on a bound
13022 variable. (Yasuhiro Matsumoto, Ken Takata)
13023Files: runtime/doc/eval.txt, src/testdir/test_lambda.vim, src/userfunc.c,
13024 src/eval.c src/proto/userfunc.pro
13025
13026Patch 7.4.2121
13027Problem: No easy way to check if lambda and closure are supported.
13028Solution: Add the +lambda feature.
13029Files: src/evalfunc.c, src/version.c, src/testdir/test_lambda.vim
13030
13031Patch 7.4.2122 (after 7.4.2118)
13032Problem: Mac: don't get +clipboard in huge build.
Bram Moolenaar64d8e252016-09-06 22:12:34 +020013033Solution: Move #define down below including feature.h
Bram Moolenaar09521312016-08-12 22:54:35 +020013034Files: src/vim.h
13035
13036Patch 7.4.2123
13037Problem: No new style test for diff mode.
13038Solution: Add a test. Check that folds are in sync.
13039Files: src/Makefile, src/testdir/test_diffmode.vim,
13040 src/testdir/Make_all.mak, src/testdir/test47.in,
13041 src/testdir/test47.ok
13042
13043Patch 7.4.2124
13044Problem: diffmode test leaves files behind, breaking another test.
13045Solution: Delete the files.
13046Files: src/testdir/test_diffmode.vim
13047
13048Patch 7.4.2125
13049Problem: Compiler warning for loss of data.
13050Solution: Add a type cast. (Christian Brabandt)
13051Files: src/message.c
13052
13053Patch 7.4.2126
13054Problem: No tests for :diffget and :diffput
13055Solution: Add tests.
13056Files: src/testdir/test_diffmode.vim
13057
13058Patch 7.4.2127
13059Problem: The short form of ":noswapfile" is ":noswap" instead of ":nos".
13060 (Kent Sibilev)
13061Solution: Only require three characters. Add a test for the short forms.
13062Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
13063
13064Patch 7.4.2128
13065Problem: Memory leak when saving for undo fails.
13066Solution: Free allocated memory. (Hirohito Higashi)
13067Files: src/ex_cmds.c
13068
13069Patch 7.4.2129
13070Problem: Memory leak when using timer_start(). (Dominique Pelle)
13071Solution: Don't copy the callback when using a partial.
13072Files: src/evalfunc.c
13073
13074Patch 7.4.2130
13075Problem: Pending timers cause false memory leak reports.
13076Solution: Free all timers on exit.
13077Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/misc2.c
13078
13079Patch 7.4.2131
13080Problem: More memory leaks when using partial, e.g. for "exit-cb".
13081Solution: Don't copy the callback when using a partial.
13082Files: src/channel.c
13083
13084Patch 7.4.2132
13085Problem: test_partial has memory leaks reported.
13086Solution: Add a note about why this happens.
13087Files: src/testdir/test_partial.vim
13088
13089Patch 7.4.2133 (after 7.4.2128)
13090Problem: Can't build with tiny features.
13091Solution: Add #ifdef.
13092Files: src/ex_cmds.c
13093
13094Patch 7.4.2134
13095Problem: No error for using function() badly.
13096Solution: Check for passing wrong function name. (Ken Takata)
13097Files: src/eval.c, src/evalfunc.c, src/proto/userfunc.pro,
13098 src/testdir/test_expr.vim, src/userfunc.c, src/vim.h
13099
13100Patch 7.4.2135
13101Problem: Various tiny issues.
13102Solution: Update comments, white space, etc.
13103Files: src/diff.c, src/digraph.c, src/testdir/test80.in,
13104 src/testdir/test_channel.vim, src/testdir/Makefile,
13105 runtime/menu.vim, src/INSTALLpc.txt, src/xpm/README.txt
13106
13107Patch 7.4.2136
13108Problem: Closure function fails.
13109Solution: Don't reset uf_scoped when it points to another funccal.
13110Files: src/userfunc.c, src/testdir/test_lambda.vim
13111
13112Patch 7.4.2137
13113Problem: Using function() with a name will find another function when it is
13114 redefined.
13115Solution: Add funcref(). Refer to lambda using a partial. Fix several
13116 reference counting issues.
13117Files: src/vim.h, src/structs.h, src/userfunc.c, src/eval.c,
13118 src/evalfunc.c, src/channel.c, src/proto/eval.pro,
13119 src/proto/userfunc.pro, src/if_mzsch.c, src/regexp.c, src/misc2.c,
13120 src/if_py_both.h, src/testdir/test_expr.vim, runtime/doc/eval.txt
13121
13122Patch 7.4.2138
13123Problem: Test 86 and 87 fail.
13124Solution: Call func_ref() also for regular functions.
13125Files: src/if_py_both.h
13126
13127Patch 7.4.2139
13128Problem: :delfunction causes illegal memory access.
13129Solution: Correct logic when deciding to free a function.
13130Files: src/userfunc.c, src/testdir/test_lambda.vim
13131
13132Patch 7.4.2140
13133Problem: Tiny build fails.
13134Solution: Add dummy typedefs.
13135Files: src/structs.h
13136
13137Patch 7.4.2141
13138Problem: Coverity reports bogus NULL check.
13139Solution: When checking for a variable in the funccal scope don't pass the
13140 varname.
13141Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c
13142
13143Patch 7.4.2142
13144Problem: Leaking memory when redefining a function.
13145Solution: Don't increment the function reference count when it's found by
13146 name. Don't remove the wrong function from the hashtab. More
13147 reference counting fixes.
13148Files: src/structs.h, src/userfunc.c
13149
13150Patch 7.4.2143
13151Problem: A funccal is garbage collected while it can still be used.
13152Solution: Set copyID in all referenced functions. Do not list lambda
13153 functions with ":function".
13154Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
13155 src/testdir/test_lambda.vim
13156
13157Patch 7.4.2144
Bram Moolenaar64d8e252016-09-06 22:12:34 +020013158Problem: On MS-Windows quickfix does not handle a line with 1023 bytes
Bram Moolenaar09521312016-08-12 22:54:35 +020013159 ending in CR-LF properly.
13160Solution: Don't consider CR a line break. (Ken Takata)
13161Files: src/quickfix.c
13162
13163Patch 7.4.2145
13164Problem: Win32: Using CreateThread/ExitThread is not safe.
13165Solution: Use _beginthreadex and return from the thread. (Ken Takata)
13166Files: src/os_win32.c
13167
13168Patch 7.4.2146
13169Problem: Not enough testing for popup menu. CTRL-E does not always work
13170 properly.
13171Solution: Add more tests. When using CTRL-E check if the popup menu is
13172 visible. (Christian Brabandt)
13173Files: src/edit.c, src/testdir/test_popup.vim
13174
13175Patch 7.4.2147 (after 7.4.2146)
13176Problem: test_alot fails.
13177Solution: Close window.
13178Files: src/testdir/test_popup.vim
13179
13180Patch 7.4.2148
13181Problem: Not much testing for cscope.
13182Solution: Add a test that uses the cscope program. (Christian Brabandt)
13183Files: src/testdir/test_cscope.vim
13184
13185Patch 7.4.2149
13186Problem: If a test leaves a window open a following test may fail.
13187Solution: Always close extra windows after running a test.
13188Files: src/testdir/runtest.vim, src/testdir/test_popup.vim
13189
13190Patch 7.4.2150
13191Problem: Warning with MinGW 64. (John Marriott)
13192Solution: Change return type. (Ken Takata)
13193Files: src/os_win32.c
13194
13195Patch 7.4.2151
13196Problem: Quickfix test fails on MS-Windows.
13197Solution: Close the help window. (Christian Brabandt)
13198Files: src/testdir/test_quickfix.vim
13199
13200Patch 7.4.2152
13201Problem: No proper translation of messages with a count.
13202Solution: Use ngettext(). (Sergey Alyoshin)
13203Files: src/evalfunc.c, src/fold.c, src/os_win32.c, src/screen.c, src/vim.h
13204
13205Patch 7.4.2153
13206Problem: GUI test isn't testing much.
13207Solution: Turn into a new style test. Execute a shell command.
13208Files: src/testdir/test_gui.vim, src/testdir/test16.in,
13209 src/testdir/test16.ok, src/testdir/Make_all.mak, src/Makefile,
13210 src/testdir/Make_vms.mms
13211
13212Patch 7.4.2154
13213Problem: Test_communicate() fails sometimes.
13214Solution: Add it to the flaky tests.
13215Files: src/testdir/runtest.vim
13216
13217Patch 7.4.2155
13218Problem: Quotes make GUI test fail on MS-Windows.
13219Solution: Remove quotes, strip white space.
13220Files: src/testdir/test_gui.vim
13221
13222Patch 7.4.2156
13223Problem: Compiler warning.
13224Solution: Add type cast. (Ken Takata, Mike Williams)
13225Files: src/os_win32.c
13226
13227Patch 7.4.2157
13228Problem: Test_job_start_fails() is expected to report memory leaks, making
13229 it hard to see other leaks in test_partial.
13230Solution: Move Test_job_start_fails() to a separate test file.
13231Files: src/testdir/test_partial.vim, src/testdir/test_job_fails.vim,
13232 src/Makefile, src/testdir/Make_all.mak
13233
13234Patch 7.4.2158
13235Problem: Result of getcompletion('', 'cscope') depends on previous
13236 completion. (Christian Brabandt)
13237Solution: Call set_context_in_cscope_cmd().
13238Files: src/evalfunc.c, src/testdir/test_cmdline.vim
13239
13240Patch 7.4.2159
13241Problem: Insufficient testing for cscope.
13242Solution: Add more tests. (Dominique Pelle)
13243Files: src/testdir/test_cscope.vim
13244
13245Patch 7.4.2160
13246Problem: setmatches() mixes up values. (Nikolai Pavlov)
13247Solution: Save the string instead of reusing a shared buffer.
13248Files: src/dict.c, src/evalfunc.c, src/testdir/test_expr.vim,
13249
13250Patch 7.4.2161 (after 7.4.2160)
13251Problem: Expression test fails without conceal feature.
13252Solution: Only check "conceal" with the conceal feature.
13253Files: src/testdir/test_expr.vim
13254
13255Patch 7.4.2162
13256Problem: Result of getcompletion('', 'sign') depends on previous
13257 completion.
13258Solution: Call set_context_in_sign_cmd(). (Dominique Pelle)
13259Files: src/evalfunc.c, src/testdir/test_cmdline.vim
13260
Bram Moolenaardc1f1642016-08-16 18:33:43 +020013261Patch 7.4.2163
13262Problem: match() and related functions tested with old style test.
13263Solution: Convert to new style test. (Hirohito Higashi)
13264Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test63.in,
13265 src/testdir/test63.ok, src/testdir/test_alot.vim,
13266 src/testdir/test_match.vim, src/testdir/test_matchstrpos.vim
13267
13268Patch 7.4.2164
13269Problem: It is not possible to use plugins in an "after" directory to tune
13270 the behavior of a package.
13271Solution: First load plugins from non-after directories, then packages and
13272 finally plugins in after directories.
13273 Reset 'loadplugins' before executing --cmd arguments.
13274Files: src/main.c, src/vim.h, src/ex_cmds2.c, src/testdir/Makefile,
13275 src/testdir/shared.vim, src/testdir/test_startup.vim,
13276 src/testdir/setup.vim, runtime/doc/starting.txt
13277
13278Patch 7.4.2165 (after 7.4.2164)
13279Problem: Startup test fails on MS-Windows.
13280Solution: Don't check output if RunVim() returns zero.
13281Files: src/testdir/test_startup.vim
13282
13283Patch 7.4.2166 (after 7.4.2164)
13284Problem: Small build can't run startup test.
13285Solution: Skip the test.
13286Files: src/testdir/test_startup.vim
13287
13288Patch 7.4.2167 (after 7.4.2164)
13289Problem: Small build can't run tests.
13290Solution: Don't try setting 'packpath'.
13291Files: src/testdir/setup.vim
13292
13293Patch 7.4.2168
13294Problem: Not running the startup test on MS-Windows.
13295Solution: Write vimcmd.
13296Files: src/testdir/Make_ming.mak, src/testdir/Make_dos.mak
13297
13298Patch 7.4.2169 (after 7.4.2168)
13299Problem: Startup test gets stuck on MS-Windows.
13300Solution: Use double quotes.
13301Files: src/testdir/shared.vim, src/testdir/test_startup.vim
13302
13303Patch 7.4.2170
13304Problem: Cannot get information about timers.
13305Solution: Add timer_info().
13306Files: src/evalfunc.c, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
13307 runtime/doc/eval.txt
13308
13309Patch 7.4.2171 (after 7.4.2170)
13310Problem: MS-Windows build fails.
13311Solution: Add QueryPerformanceCounter().
13312Files: src/ex_cmds2.c
13313
13314Patch 7.4.2172
13315Problem: No test for "vim --help".
13316Solution: Add a test.
13317Files: src/testdir/test_startup.vim, src/testdir/shared.vim
13318
13319Patch 7.4.2173 (after 7.4.2172)
13320Problem: Can't test help on MS-Windows.
13321Solution: Skip the test.
13322Files: src/testdir/test_startup.vim
13323
13324Patch 7.4.2174
13325Problem: Adding duplicate flags to 'whichwrap' leaves commas behind.
13326Solution: Also remove the commas. (Naruhiko Nishino)
13327Files: src/Makefile, src/option.c, src/testdir/Make_all.mak,
13328 src/testdir/test_alot.vim, src/testdir/test_options.in,
13329 src/testdir/test_options.ok, src/testdir/test_options.vim
13330
13331Patch 7.4.2175
13332Problem: Insufficient testing of cscope.
13333Solution: Add more tests. (Dominique Pelle)
13334Files: src/testdir/test_cscope.vim
13335
13336Patch 7.4.2176
13337Problem: #ifdefs in main() are complicated.
13338Solution: Always define vim_main2(). Move params to the file level.
13339 (suggested by Ken Takata)
13340Files: src/main.c, src/structs.h, src/vim.h, src/if_mzsch.c,
13341 src/proto/if_mzsch.pro
13342
13343Patch 7.4.2177
13344Problem: No testing for -C and -N command line flags, file arguments,
13345 startuptime.
13346Solution: Add tests.
13347Files: src/testdir/test_startup.vim, src/testdir/shared.vim
13348
13349Patch 7.4.2178
13350Problem: No test for reading from stdin.
13351Solution: Add a test.
13352Files: src/testdir/test_startup.vim, src/testdir/shared.vim
13353
13354Patch 7.4.2179 (after 7.4.2178)
13355Problem: Reading from stdin test fails on MS-Windows.
13356Solution: Strip the extra space.
13357Files: src/testdir/test_startup.vim
13358
13359Patch 7.4.2180
13360Problem: There is no easy way to stop all timers. There is no way to
13361 temporary pause a timer.
13362Solution: Add timer_stopall() and timer_pause().
13363Files: src/evalfunc.c, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
13364 src/structs.h, src/testdir/test_timers.vim,
13365 src/testdir/shared.vim, runtime/doc/eval.txt
13366
13367Patch 7.4.2181
13368Problem: Compiler warning for unused variable.
13369Solution: Remove it. (Dominique Pelle)
13370Files: src/ex_cmds2.c
13371
13372Patch 7.4.2182
13373Problem: Color Grey40 used in startup but not in the short list.
13374Solution: Add Grey40 to the builtin colors.
13375Files: src/term.c
13376
13377Patch 7.4.2183
13378Problem: Sign tests are old style.
13379Solution: Turn them into new style tests. (Dominique Pelle)
13380Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_signs.in,
13381 src/testdir/test_signs.ok, src/testdir/test_signs.vim,
13382
13383Patch 7.4.2184
13384Problem: Tests that use RunVim() do not actually perform the test.
13385Solution: Use "return" instead of "call". (Ken Takata)
13386Files: src/testdir/shared.vim
13387
13388Patch 7.4.2185
13389Problem: Test glob2regpat does not test much.
13390Solution: Add a few more test cases. (Dominique Pelle)
13391Files: src/testdir/test_glob2regpat.vim
13392
13393Patch 7.4.2186
13394Problem: Timers test is flaky.
13395Solution: Relax the sleep time check.
13396Files: src/testdir/test_timers.vim
13397
13398Patch 7.4.2187 (after 7.4.2185)
13399Problem: glob2regpat test fails on Windows.
13400Solution: Remove the checks that use backslashes.
13401Files: src/testdir/test_glob2regpat.vim
13402
13403Patch 7.4.2188 (after 7.4.2146)
13404Problem: Completion does not work properly with some plugins.
13405Solution: Revert the part related to typing CTRL-E. (closes #972)
13406Files: src/edit.c, src/testdir/test_popup.vim
13407
13408Patch 7.4.2189
13409Problem: Cannot detect encoding in a fifo.
13410Solution: Extend the stdin way of detecting encoding to fifo. Add a test
13411 for detecting encoding on stdin and fifo. (Ken Takata)
13412Files: src/buffer.c, src/fileio.c, src/Makefile,
13413 src/testdir/Make_all.mak, src/testdir/test_startup_utf8.vim,
13414 src/vim.h
13415
13416Patch 7.4.2190
13417Problem: When startup test fails it's not easy to find out why.
13418 GUI test fails with Gnome.
13419Solution: Add the help entry matches to a list an assert that.
13420 Set $HOME for Gnome to create .gnome2 directory.
13421Files: src/testdir/test_startup.vim, src/testdir/test_gui.vim
13422
13423Patch 7.4.2191
13424Problem: No automatic prototype for vim_main2().
13425Solution: Move the #endif. (Ken Takata)
13426Files: src/main.c, src/vim.h, src/proto/main.pro
13427
13428Patch 7.4.2192
13429Problem: Generating prototypes with Cygwin doesn't work well.
13430Solution: Change #ifdefs. (Ken Takata)
13431Files: src/gui.h, src/gui_w32.c, src/ops.c, src/proto/fileio.pro,
13432 src/proto/message.pro, src/proto/normal.pro, src/proto/ops.pro,
13433 src/vim.h
13434
13435Patch 7.4.2193
13436Problem: With Gnome when the GUI can't start test_startup hangs.
13437Solution: Call gui_mch_early_init_check(). (Hirohito Higashi)
13438Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
13439
13440Patch 7.4.2194
13441Problem: Sign tests don't cover enough.
13442Solution: Add more test cases. (Dominique Pelle)
13443Files: src/testdir/test_signs.vim
13444
13445Patch 7.4.2195
13446Problem: MS-Windows: The vimrun program does not support Unicode.
13447Solution: Use GetCommandLineW(). Cleanup old #ifdefs. (Ken Takata)
13448Files: src/vimrun.c
13449
13450Patch 7.4.2196
13451Problem: glob2regpat test doesn't test everything on MS-Windows.
13452Solution: Add patterns with backslash handling.
13453Files: src/testdir/test_glob2regpat.vim
13454
13455Patch 7.4.2197
13456Problem: All functions are freed on exit, which may hide leaks.
13457Solution: Only free named functions, not reference counted ones.
13458Files: src/userfunc.c
13459
13460Patch 7.4.2198
13461Problem: Test alot sometimes fails under valgrind. (Dominique Pelle)
13462Solution: Avoid passing a callback with the wrong number of arguments.
13463Files: src/testdir/test_partial.vim
13464
13465Patch 7.4.2199
13466Problem: In the GUI the cursor is hidden when redrawing any window,
13467 causing flicker.
13468Solution: Only undraw the cursor when updating the window it's in.
13469Files: src/screen.c, src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c
13470
13471Patch 7.4.2200
13472Problem: Cannot get all information about a quickfix list.
13473Solution: Add an optional argument to get/set loc/qf list(). (Yegappan
13474 Lakshmanan)
13475Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/quickfix.pro,
13476 src/quickfix.c, src/tag.c, src/testdir/test_quickfix.vim
13477
13478Patch 7.4.2201
13479Problem: The sign column disappears when the last sign is deleted.
13480Solution: Add the 'signcolumn' option. (Christian Brabandt)
13481Files: runtime/doc/options.txt, runtime/optwin.vim, src/edit.c,
13482 src/move.c, src/option.c, src/option.h, src/proto/option.pro,
13483 src/screen.c, src/structs.h, src/testdir/test_options.vim
13484
13485Patch 7.4.2202
13486Problem: Build fails with small features.
13487Solution: Correct option initialization.
13488Files: src/option.c
13489
13490Patch 7.4.2203
13491Problem: Test fails with normal features.
13492Solution: Check is signs are supported.
13493Files: src/testdir/test_options.vim
13494
13495Patch 7.4.2204
13496Problem: It is not easy to get information about buffers, windows and
13497 tabpages.
13498Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan
13499 Lakshmanan)
13500Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/dict.c,
13501 src/evalfunc.c, src/option.c, src/proto/dict.pro,
13502 src/proto/option.pro, src/proto/window.pro,
13503 src/testdir/Make_all.mak, src/testdir/test_bufwintabinfo.vim,
13504 src/window.c, src/Makefile
13505
13506Patch 7.4.2205
13507Problem: 'wildignore' always applies to getcompletion().
13508Solution: Add an option to use 'wildignore' or not. (Yegappan Lakshmanan)
13509Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_cmdline.vim
13510
13511Patch 7.4.2206
13512Problem: Warning for unused function.
13513Solution: Put the function inside #ifdef. (John Marriott)
13514Files: src/evalfunc.c
13515
13516Patch 7.4.2207
13517Problem: The +xpm feature is not sorted properly in :version output.
13518Solution: Move it up. (Tony Mechelynck)
13519Files: src/version.c
13520
13521Patch 7.4.2208
13522Problem: Test for mappings is old style.
13523Solution: Convert the test to new style.
13524Files: src/testdir/test_mapping.vim, src/testdir/test_mapping.in,
13525 src/testdir/test_mapping.ok, src/Makefile,
13526 src/testdir/test_alot.vim, src/testdir/Make_all.mak
13527
13528Patch 7.4.2209
13529Problem: Cannot map <M-">. (Stephen Riehm)
13530Solution: Solve the memory access problem in another way. (Dominique Pelle)
13531 Allow for using <M-\"> in a string.
13532Files: src/eval.c, src/gui_mac.c, src/misc2.c, src/option.c,
13533 src/proto/misc2.pro, src/syntax.c, src/term.c,
13534 src/testdir/test_mapping.vim
13535
13536Patch 7.4.2210
13537Problem: On OSX configure mixes up a Python framework and the Unix layout.
13538Solution: Make configure check properly. (Tim D. Smith, closes #980)
13539Files: src/configure.in, src/auto/configure
13540
13541Patch 7.4.2211
13542Problem: Mouse support is not automatically enabled with simple term.
13543Solution: Recognize "st" and other names. (Manuel Schiller, closes #963)
13544Files: src/os_unix.c
13545
13546Patch 7.4.2212
13547Problem: Mark " is not set when closing a window in another tab. (Guraga)
13548Solution: Check all tabs for the window to be valid. (based on patch by
13549 Hirohito Higashi, closes #974)
13550Files: src/window.c, src/proto/window.pro, src/buffer.c,
13551 src/testdir/test_viminfo.vim
13552
13553Patch 7.4.2213
13554Problem: Cannot highlight the "~" lines at the end of a window differently.
13555Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy)
13556Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/option.c,
13557 src/screen.c, src/syntax.c, src/vim.h
13558
13559Patch 7.4.2214
13560Problem: A font that uses ligatures messes up the screen display.
13561Solution: Put spaces between characters when building the glyph table.
13562 (based on a patch from Manuel Schiller)
13563Files: src/gui_gtk_x11.c
13564
13565Patch 7.4.2215
13566Problem: It's not easy to find out if a window is a quickfix or location
13567 list window.
Bram Moolenaar7571d552016-08-18 22:54:46 +020013568Solution: Add "loclist" and "quickfix" entries to the dict returned by
Bram Moolenaardc1f1642016-08-16 18:33:43 +020013569 getwininfo(). (Yegappan Lakshmanan)
13570Files: runtime/doc/eval.txt, src/evalfunc.c,
13571 src/testdir/test_bufwintabinfo.vim
13572
13573Patch 7.4.2216 (after 7.4.2215)
13574Problem: Test fails without the +sign feature.
13575Solution: Only check for signcolumn with the +sign feature.
13576Files: src/testdir/test_bufwintabinfo.vim
13577
13578Patch 7.4.2217
13579Problem: When using matchaddpos() a character after the end of the line can
13580 be highlighted.
13581Solution: Only highlight existing characters. (Hirohito Higashi)
13582Files: src/screen.c, src/structs.h, src/testdir/test_match.vim
13583
Bram Moolenaar36f44c22016-08-28 18:17:20 +020013584Patch 7.4.2218
13585Problem: Can't build with +timers when +digraph is not included.
13586Solution: Change #ifdef for e_number_exp. (Damien)
13587Files: src/globals.h
13588
13589Patch 7.4.2219
13590Problem: Recursive call to substitute gets stuck in sandbox. (Nikolai
13591 Pavlov)
13592Solution: Handle the recursive call. (Christian Brabandt, closes #950)
13593 Add a test.
13594Files: src/ex_cmds.c, src/testdir/test_regexp_latin.vim
13595
13596Patch 7.4.2220
13597Problem: printf() gives an error when the argument for %s is not a string.
13598 (Ozaki Kiichi)
13599Solution: Behave like invoking string() on the argument. (Ken Takata)
13600Files: runtime/doc/eval.txt, src/message.c, src/testdir/test_expr.vim
13601
13602Patch 7.4.2221
13603Problem: printf() does not support binary format.
13604Solution: Add %b and %B. (Ozaki Kiichi)
13605Files: runtime/doc/eval.txt, src/message.c, src/testdir/test_expr.vim
13606
13607Patch 7.4.2222
13608Problem: Sourcing a script where a character has 0x80 as a second byte does
13609 not work. (Filipe L B Correia)
13610Solution: Turn 0x80 into K_SPECIAL KS_SPECIAL KE_FILLER. (Christian
13611 Brabandt, closes #728) Add a test case.
13612Files: src/getchar.c, src/proto/getchar.pro, src/misc1.c,
13613 src/testdir/test_regexp_utf8.vim
13614
13615Patch 7.4.2223
13616Problem: Buffer overflow when using latin1 character with feedkeys().
13617Solution: Check for an illegal character. Add a test.
Bram Moolenaar64d8e252016-09-06 22:12:34 +020013618Files: src/testdir/test_regexp_utf8.vim, src/testdir/test_source_utf8.vim,
Bram Moolenaar36f44c22016-08-28 18:17:20 +020013619 src/testdir/test_alot_utf8.vim, src/Makefile, src/getchar.c,
13620 src/macros.h, src/evalfunc.c, src/os_unix.c, src/os_win32.c,
13621 src/spell.c,
13622
13623Patch 7.4.2224
13624Problem: Compiler warnings with older compiler and 64 bit numbers.
13625Solution: Add "LL" to large values. (Mike Williams)
13626Files: src/eval.c, src/evalfunc.c
13627
13628Patch 7.4.2225
13629Problem: Crash when placing a sign in a deleted buffer.
13630Solution: Check for missing buffer name. (Dominique Pelle). Add a test.
13631Files: src/ex_cmds.c, src/testdir/test_signs.vim
13632
13633Patch 7.4.2226
13634Problem: The field names used by getbufinfo(), gettabinfo() and
13635 getwininfo() are not consistent.
13636Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan)
13637Files: runtime/doc/eval.txt, src/evalfunc.c,
13638 src/testdir/test_bufwintabinfo.vim
13639
13640Patch 7.4.2227
13641Problem: Tab page tests are old style.
13642Solution: Change into new style tests. (Hirohito Higashi)
13643Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test62.in,
13644 src/testdir/test62.ok, src/testdir/test_alot.vim,
13645 src/testdir/test_tabpage.vim
13646
13647Patch 7.4.2228
13648Problem: Test files have inconsistent modelines.
13649Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'.
13650Files: src/testdir/README.txt, src/testdir/test_backspace_opt.vim,
13651 src/testdir/test_digraph.vim, src/testdir/test_gn.vim
13652 src/testdir/test_help_tagjump.vim,
13653 src/testdir/test_increment_dbcs.vim,
13654 src/testdir/test_increment.vim, src/testdir/test_match.vim,
13655 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
13656 src/testdir/test_regexp_latin.vim, src/testdir/test_timers.vim
13657
13658Patch 7.4.2229
13659Problem: Startup test fails on Solaris.
13660Solution: Recognize a character device. (Danek Duvall)
13661Files: src/buffer.c, src/fileio.c, src/proto/fileio.pro, src/vim.h
13662
13663Patch 7.4.2230
13664Problem: There is no equivalent of 'smartcase' for a tag search.
13665Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian
13666 Brabandt, closes #712) Turn tagcase test into new style.
13667Files: runtime/doc/options.txt, runtime/doc/tagsrch.txt, src/option.h,
13668 src/tag.c, src/search.c, src/proto/search.pro,
13669 src/testdir/test_tagcase.in, src/testdir/test_tagcase.ok,
13670 src/testdir/test_tagcase.vim, src/Makefile,
13671 src/testdir/Make_all.mak, src/testdir/test_alot.vim
13672
13673Patch 7.4.2231
13674Problem: ":oldfiles" output is a very long list.
13675Solution: Add a pattern argument. (Coot, closes #575)
13676Files: runtime/doc/starting.txt, src/ex_cmds.h, src/eval.c,
13677 src/ex_cmds.c, src/proto/eval.pro, src/proto/ex_cmds.pro,
13678 src/testdir/test_viminfo.vim
13679
13680Patch 7.4.2232
13681Problem: The default ttimeoutlen is very long.
13682Solution: Use "100". (Hirohito Higashi)
13683Files: runtime/defaults.vim
13684
13685Patch 7.4.2233
13686Problem: Crash when using funcref() with invalid name. (Dominique Pelle)
13687Solution: Check for NULL translated name.
13688Files: src/evalfunc.c, src/testdir/test_expr.vim
13689
13690Patch 7.4.2234
13691Problem: Can't build with +eval but without +quickfix. (John Marriott)
13692Solution: Move skip_vimgrep_pat() to separate #ifdef block.
13693Files: src/quickfix.c
13694
13695Patch 7.4.2235
13696Problem: submatch() does not check for a valid argument.
13697Solution: Give an error if the argument is out of range. (Dominique Pelle)
13698Files: src/evalfunc.c, src/testdir/test_expr.vim
13699
13700Patch 7.4.2236
13701Problem: The 'langnoremap' option leads to double negatives. And it does
13702 not work for the last character of a mapping.
13703Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for
13704 backwards compatibility. Make it work for the last character of a
13705 mapping. Make the test work.
13706Files: runtime/doc/options.txt, runtime/defaults.vim, src/option.c,
13707 src/option.h, src/macros.h, src/testdir/test_mapping.vim
13708
13709Patch 7.4.2237
13710Problem: Can't use "." and "$" with ":tab".
13711Solution: Support a range for ":tab". (Hirohito Higashi)
13712Files: runtime/doc/tabpage.txt, src/ex_docmd.c,
13713 src/testdir/test_tabpage.vim
13714
13715Patch 7.4.2238
13716Problem: With SGR mouse reporting (suckless terminal) the mouse release and
13717 scroll up/down is confused.
13718Solution: Don't see a release as a scroll up/down. (Ralph Eastwood)
13719Files: src/term.c
13720
13721Patch 7.4.2239
13722Problem: Warning for missing declaration of skip_vimgrep_pat(). (John
13723 Marriott)
13724Solution: Move it to another file.
13725Files: src/quickfix.c, src/proto/quickfix.pro, src/ex_cmds.c,
13726 src/proto/ex_cmds.pro
13727
13728Patch 7.4.2240
13729Problem: Tests using the sleep time can be flaky.
13730Solution: Use reltime() if available. (Partly by Shane Harper)
13731Files: src/testdir/shared.vim, src/testdir/test_timers.vim
13732
13733Patch 7.4.2241 (after 7.4.2240)
13734Problem: Timer test sometimes fails.
13735Solution: Increase the maximum time for repeating timer.
13736Files: src/testdir/test_timers.vim
13737
13738Patch 7.4.2242 (after 7.4.2240)
13739Problem: Timer test sometimes fails.
13740Solution: Increase the maximum time for callback timer test.
13741Files: src/testdir/test_timers.vim
13742
13743Patch 7.4.2243
13744Problem: Warning for assigning negative value to unsigned. (Danek Duvall)
13745Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u
13746 only when an unsigned is needed.
13747Files: src/structs.h, src/globals.h, src/screen.c, src/term.c,
13748 src/syntax.c, src/gui_gtk_x11.c, src/gui.c, src/gui_mac.c,
13749 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c,
13750 src/proto/term.pro, src/proto/gui_gtk_x11.pro,
13751 src/proto/gui_mac.pro, src/proto/gui_photon.pro,
13752 src/proto/gui_w32.pro, src/proto/gui_x11.pro
13753
13754Patch 7.4.2244
13755Problem: Adding pattern to ":oldfiles" is not a generic solution.
13756Solution: Add the ":filter /pat/ cmd" command modifier. Only works for some
13757 commands right now.
13758Files: src/structs.h, src/ex_docmd.c, src/ex_cmds.h, src/message.c,
13759 src/proto/message.pro, runtime/doc/starting.txt,
13760 runtime/doc/various.txt, src/testdir/test_viminfo.vim,
13761 src/testdir/test_alot.vim, src/testdir/test_filter_cmd.vim,
13762 src/Makefile
13763
13764Patch 7.4.2245 (after 7.4.2244)
13765Problem: Filter test fails.
13766Solution: Include missing changes.
13767Files: src/buffer.c
13768
13769Patch 7.4.2246 (after 7.4.2244)
13770Problem: Oldfiles test fails.
13771Solution: Include missing changes.
13772Files: src/ex_cmds.c
13773
13774Patch 7.4.2247 (after 7.4.2244)
13775Problem: Tiny build fails. (Tony Mechelynck)
13776Solution: Remove #ifdef.
13777Files: src/ex_cmds.c
13778
13779Patch 7.4.2248
13780Problem: When cancelling the :ptjump prompt a preview window is opened for
13781 a following command.
13782Solution: Reset g_do_tagpreview. (Hirohito Higashi) Add a test. Avoid that
13783 the test runner gets stuck in trying to close a window.
13784Files: src/tag.c, src/testdir/test_tagjump.vim, src/testdir/runtest.vim
13785
13786Patch 7.4.2249
13787Problem: Missing colon in error message.
13788Solution: Add the colon. (Dominique Pelle)
13789Files: src/userfunc.c
13790
13791Patch 7.4.2250
13792Problem: Some error messages cannot be translated.
13793Solution: Enclose them in _() and N_(). (Dominique Pelle)
13794Files: src/channel.c, src/evalfunc.c, src/ex_cmds.c, src/spell.c,
13795 src/window.c
13796
13797Patch 7.4.2251
13798Problem: In rare cases diffing 4 buffers is not enough.
13799Solution: Raise the limit to 8. (closes #1000)
13800Files: src/structs.h, runtime/doc/diff.txt
13801
13802Patch 7.4.2252
13803Problem: Compiler warnings for signed/unsigned in expression.
13804Solution: Remove type cast. (Dominique Pelle)
13805Files: src/vim.h
13806
13807Patch 7.4.2253
13808Problem: Check for Windows 3.1 will always return false. (Christian
13809 Brabandt)
13810Solution: Remove the dead code.
13811Files: src/gui_w32.c, src/evalfunc.c, src/ex_cmds.c, src/option.c,
13812 src/os_win32.c, src/version.c, src/proto/gui_w32.pro
13813
13814Patch 7.4.2254
13815Problem: Compiler warnings in MzScheme code.
13816Solution: Add UNUSED. Remove unreachable code.
13817Files: src/if_mzsch.c
13818
13819Patch 7.4.2255
13820Problem: The script that checks translations can't handle plurals.
13821Solution: Check for plural msgid and msgstr entries. Leave the cursor on
13822 the first error.
13823Files: src/po/check.vim
13824
13825Patch 7.4.2256
13826Problem: Coverity complains about null pointer check.
13827Solution: Remove wrong and superfluous error check.
13828Files: src/eval.c
13829
13830Patch 7.4.2257
13831Problem: Coverity complains about not checking for NULL.
13832Solution: Check for out of memory.
13833Files: src/if_py_both.h
13834
13835Patch 7.4.2258
13836Problem: Two JSON messages are sent without a separator.
13837Solution: Separate messages with a NL. (closes #1001)
13838Files: src/json.c, src/channel.c, src/vim.h, src/testdir/test_channel.py,
13839 src/testdir/test_channel.vim, runtime/doc/channel.txt
13840
13841Patch 7.4.2259
13842Problem: With 'incsearch' can only see the next match.
13843Solution: Make CTRL-N/CTRL-P move to the previous/next match. (Christian
13844 Brabandt)
13845Files: runtime/doc/cmdline.txt, src/ex_getln.c, src/testdir/Make_all.mak,
13846 src/testdir/test_search.vim, src/Makefile
13847
13848Patch 7.4.2260 (after 7.4.2258)
13849Problem: Channel test is flaky.
13850Solution: Add a newline to separate JSON messages.
13851Files: src/testdir/test_channel.vim
13852
13853Patch 7.4.2261 (after 7.4.2259)
13854Problem: Build fails with small features.
13855Solution: Move "else" inside the #ifdef.
13856Files: src/ex_getln.c
13857
13858Patch 7.4.2262
13859Problem: Fail to read register content from viminfo if it is 438 characters
13860 long. (John Chen)
13861Solution: Adjust the check for line wrapping. (closes #1010)
13862Files: src/testdir/test_viminfo.vim, src/ex_cmds.c
13863
13864Patch 7.4.2263
13865Problem: :filter does not work for many commands. Can only get matching
13866 messages.
13867Solution: Make :filter work for :command, :map, :list, :number and :print.
13868 Make ":filter!" show non-matching lines.
13869Files: src/getchar.c, src/ex_cmds.c, src/ex_cmds.h, src/ex_docmd.c,
13870 src/message.c, src/structs.h, src/testdir/test_filter_cmd.vim
13871
13872Patch 7.4.2264
13873Problem: When adding entries to an empty quickfix list the title is reset.
13874Solution: Improve handling of the title. (Yegappan Lakshmanan)
13875Files: src/testdir/test_quickfix.vim, src/quickfix.c
13876
13877Patch 7.4.2265
13878Problem: printf() isn't tested much.
13879Solution: Add more tests for printf(). (Dominique Pelle)
13880Files: src/testdir/test_expr.vim
13881
13882Patch 7.4.2266 (after 7.4.2265)
13883Problem: printf() test fails on Windows. "-inf" is not used.
13884Solution: Check for Windows-specific values for "nan". Add sign to "inf"
13885 when appropriate.
13886Files: src/message.c, src/testdir/test_expr.vim
13887
13888Patch 7.4.2267 (after 7.4.2266)
13889Problem: Build fails on MS-Windows.
13890Solution: Add define to get isinf().
13891Files: src/message.c
13892
13893Patch 7.4.2268 (after 7.4.2259)
13894Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys.
13895Solution: Use CTRL-T and CTRL-G instead.
13896Files: runtime/doc/cmdline.txt, src/ex_getln.c,
13897 src/testdir/test_search.vim
13898
13899Patch 7.4.2269
13900Problem: Using 'hlsearch' highlighting instead of matchpos if there is no
13901 search match.
13902Solution: Pass NULL as last item to next_search_hl() when searching for
13903 'hlsearch' match. (Shane Harper, closes #1013)
13904Files: src/screen.c, src/testdir/test_match.vim.
13905
13906Patch 7.4.2270
13907Problem: Insufficient testing for NUL bytes on a raw channel.
13908Solution: Add a test for writing and reading.
13909Files: src/testdir/test_channel.vim
13910
13911Patch 7.4.2271
13912Problem: Netbeans test doesn't read settings from file.
13913Solution: Use "-Xnbauth".
13914Files: src/testdir/test_netbeans.vim
13915
13916Patch 7.4.2272
13917Problem: getbufinfo(), getwininfo() and gettabinfo() are inefficient.
13918Solution: Instead of making a copy of the variables dictionary, use a
13919 reference.
13920Files: src/evalfunc.c
13921
13922Patch 7.4.2273
13923Problem: getwininfo() and getbufinfo() are inefficient.
13924Solution: Do not make a copy of all window/buffer-local options. Make it
13925 possible to get them with gettabwinvar() or getbufvar().
13926Files: src/evalfunc.c, src/eval.c, src/testdir/test_bufwintabinfo.vim,
13927 runtime/doc/eval.txt
13928
13929Patch 7.4.2274
13930Problem: Command line completion on "find **/filename" drops sub-directory.
13931Solution: Handle this case separately. (Harm te Hennepe, closes #932, closes
13932 #939)
13933Files: src/misc1.c, src/testdir/test_cmdline.vim
13934
13935Patch 7.4.2275
13936Problem: ":diffoff!" does not remove filler lines.
13937Solution: Force a redraw and invalidate the cursor. (closes #1014)
13938Files: src/diff.c, src/testdir/test_diffmode.vim
13939
13940Patch 7.4.2276
13941Problem: Command line test fails on Windows when run twice.
13942Solution: Wipe the buffer so that the directory can be deleted.
13943Files: src/testdir/test_cmdline.vim
13944
13945Patch 7.4.2277
13946Problem: Memory leak in getbufinfo() when there is a sign. (Dominique
13947 Pelle)
13948Solution: Remove extra vim_strsave().
13949Files: src/evalfunc.c
13950
13951Patch 7.4.2278
13952Problem: New users have no idea of the 'scrolloff' option.
13953Solution: Set 'scrolloff' in defaults.vim.
13954Files: runtime/defaults.vim
13955
13956Patch 7.4.2279
13957Problem: Starting diff mode with the cursor in the last line might end up
13958 only showing one closed fold. (John Beckett)
13959Solution: Scroll the window to show the same relative cursor position.
13960Files: src/diff.c, src/window.c, src/proto/window.pro
13961
13962Patch 7.4.2280
13963Problem: printf() doesn't handle infinity float values correctly.
13964Solution: Add a table with possible infinity values. (Dominique Pelle)
13965Files: src/message.c, src/testdir/test_expr.vim
13966
13967Patch 7.4.2281
13968Problem: Timer test fails sometimes.
13969Solution: Reduce minimum time by 1 msec.
13970Files: src/testdir/test_timers.vim
13971
13972Patch 7.4.2282
13973Problem: When a child process is very fast waiting 10 msec for it is
13974 noticeable. (Ramel Eshed)
13975Solution: Start waiting for 1 msec and gradually increase.
13976Files: src/os_unix.c
13977
13978Patch 7.4.2283
13979Problem: Part of ":oldfiles" command isn't cleared. (Lifepillar)
13980Solution: Clear the rest of the line. (closes 1018)
13981Files: src/ex_cmds.c
13982
13983Patch 7.4.2284
13984Problem: Comment in scope header file is outdated. (KillTheMule)
13985Solution: Point to the help instead. (closes #1017)
13986Files: src/if_cscope.h
13987
13988Patch 7.4.2285
13989Problem: Generated files are outdated.
13990Solution: Generate the files. Avoid errors when generating prototypes.
13991Files: src/if_mzsch.h, src/Makefile, src/option.h, src/os_mac_conv.c,
13992 src/os_amiga.c, src/vim.h, src/structs.h, src/os_win32.c,
13993 src/if_lua.c, src/proto/mbyte.pro
13994
Bram Moolenaarabd468e2016-09-08 22:22:43 +020013995Patch 7.4.2286
13996Problem: The tee program isn't included. Makefile contains build
13997 instructions that don't work.
13998Solution: Update the Filelist and build instructions. Remove build
13999 instructions for DOS and old Windows. Add the tee program.
14000Files: Filelist, Makefile, nsis/gvim.nsi
14001
14002Patch 7.4.2287
14003Problem: The callback passed to ch_sendraw() is not used.
14004Solution: Pass the read part, not the send part. (haya14busa, closes #1019)
14005Files: src/channel.c, src/testdir/test_channel.vim
14006
14007Patch 7.4.2288
14008Problem: MS-Windows build instructions are clumsy. "dosbin" doesn't build.
14009Solution: Add rename.bat. Fix building "dosbin".
14010Files: Makefile, Filelist, rename.bat
14011
14012Patch 7.4.2289
14013Problem: When installing and $DESTDIR is set the icons probably won't be
14014 installed.
14015Solution: Create the icon directories if $DESTDIR is not empty. (Danek
14016 Duvall)
14017Files: src/Makefile
14018
14019Patch 7.4.2290
14020Problem: Compiler warning in tiny build. (Tony Mechelynck)
14021Solution: Add #ifdef around infinity_str().
14022Files: src/message.c
14023
14024Patch 7.4.2291
14025Problem: printf() handles floats wrong when there is a sign.
14026Solution: Fix placing the sign. Add tests. (Dominique Pelle)
14027Files: src/testdir/test_expr.vim, runtime/doc/eval.txt, src/message.c
14028
14029Patch 7.4.2292 (after 7.4.2291)
14030Problem: Not all systems understand %F in printf().
14031Solution: Use %f.
14032Files: src/message.c
14033
14034Patch 7.4.2293
14035Problem: Modelines in source code are inconsistent.
14036Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
14037Files: src/alloc.h, src/arabic.c, src/arabic.h, src/ascii.h,
14038 src/blowfish.c, src/buffer.c, src/channel.c, src/charset.c,
14039 src/crypt.c, src/crypt_zip.c, src/dict.c, src/diff.c,
14040 src/digraph.c, src/dosinst.c, src/dosinst.h, src/edit.c,
14041 src/eval.c, src/evalfunc.c, src/ex_cmds.c, src/ex_cmds.h,
14042 src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c,
14043 src/farsi.c, src/farsi.h, src/feature.h, src/fileio.c, src/fold.c,
14044 src/getchar.c, src/glbl_ime.cpp, src/glbl_ime.h, src/globals.h,
14045 src/gui.c, src/gui.h, src/gui_at_fs.c, src/gui_at_sb.c,
14046 src/gui_at_sb.h, src/gui_athena.c, src/gui_beval.c,
14047 src/gui_beval.h, src/gui_gtk.c, src/gui_gtk_f.c, src/gui_gtk_f.h,
14048 src/gui_gtk_vms.h, src/gui_gtk_x11.c, src/gui_mac.c,
14049 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_x11.c,
14050 src/gui_x11_pm.h, src/gui_xmdlg.c, src/gui_xmebw.c,
14051 src/gui_xmebw.h, src/gui_xmebwp.h, src/hangulin.c, src/hardcopy.c,
14052 src/hashtab.c, src/if_cscope.c, src/if_cscope.h, src/if_mzsch.c,
14053 src/if_mzsch.h, src/if_ole.cpp, src/if_perl.xs, src/if_perlsfio.c,
14054 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/if_xcmdsrv.c,
14055 src/integration.c, src/integration.h, src/iscygpty.c, src/json.c,
14056 src/json_test.c, src/keymap.h, src/list.c, src/macros.h,
14057 src/main.c, src/mark.c, src/mbyte.c, src/memfile.c,
14058 src/memfile_test.c, src/memline.c, src/menu.c, src/message.c,
14059 src/message_test.c, src/misc1.c, src/misc2.c, src/move.c,
14060 src/nbdebug.c, src/nbdebug.h, src/netbeans.c, src/normal.c,
14061 src/ops.c, src/option.c, src/option.h, src/os_amiga.c,
14062 src/os_amiga.h, src/os_beos.c, src/os_beos.h, src/os_dos.h,
14063 src/os_mac.h, src/os_mac_conv.c, src/os_macosx.m, src/os_mint.h,
14064 src/os_mswin.c, src/os_qnx.c, src/os_qnx.h, src/os_unix.c,
14065 src/os_unix.h, src/os_unixx.h, src/os_vms.c, src/os_w32dll.c,
14066 src/os_w32exe.c, src/os_win32.c, src/os_win32.h, src/popupmnu.c,
14067 src/proto.h, src/pty.c, src/quickfix.c, src/regexp.c,
14068 src/regexp.h, src/regexp_nfa.c, src/screen.c, src/search.c,
14069 src/sha256.c, src/spell.c, src/spell.h, src/spellfile.c,
14070 src/structs.h, src/syntax.c, src/tag.c, src/term.c, src/term.h,
14071 src/termlib.c, src/ui.c, src/undo.c, src/uninstal.c,
14072 src/userfunc.c, src/version.c, src/version.h, src/vim.h,
14073 src/vim.rc, src/vimio.h, src/vimrun.c, src/winclip.c,
14074 src/window.c, src/workshop.c, src/workshop.h, src/wsdebug.c,
14075 src/wsdebug.h, src/xpm_w32.c
14076
14077Patch 7.4.2294
14078Problem: Sign test fails on MS-Windows when using the distributed zip
14079 archives.
14080Solution: Create dummy files instead of relying on files in the pixmaps
14081 directory.
14082Files: src/testdir/test_signs.vim
14083
14084Patch 7.4.2295 (after 7.4.2293)
14085Problem: Cscope test fails.
14086Solution: Avoid checking for specific line and column numbers.
14087Files: src/testdir/test_cscope.vim
14088
14089Patch 7.4.2296
14090Problem: No tests for :undolist and "U" command.
14091Solution: Add tests. (Dominique Pelle)
14092Files: src/testdir/test_undo.vim
14093
14094Patch 7.4.2297
14095Problem: When starting a job that reads from a buffer and reaching the end,
14096 the job hangs.
14097Solution: Close the pipe or socket when all lines were read.
14098Files: src/channel.c, src/testdir/test_channel.vim
14099
14100Patch 7.4.2298
14101Problem: It is not possible to close the "in" part of a channel.
14102Solution: Add ch_close_in().
14103Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro,
14104 src/testdir/test_channel.vim, runtime/doc/eval.txt,
14105 runtime/doc/channel.txt
14106
14107Patch 7.4.2299
14108Problem: QuickFixCmdPre and QuickFixCmdPost autocommands are not always
14109 triggered.
14110Solution: Also trigger on ":cexpr", ":cbuffer", etc. (Yegappan Lakshmanan)
14111Files: src/quickfix.c, src/testdir/test_quickfix.vim
14112
14113Patch 7.4.2300
14114Problem: Get warning for deleting autocommand group when the autocommand
14115 using the group is scheduled for deletion. (Pavol Juhas)
14116Solution: Check for deleted autocommand.
14117Files: src/fileio.c, src/testdir/test_autocmd.vim
14118
14119Patch 7.4.2301
14120Problem: MS-Windows: some files remain after testing.
14121Solution: Close the channel output file. Wait for the file handle to be
14122 closed before deleting the file.
14123Files: src/os_win32.c, src/testdir/test_channel.vim
14124
14125Patch 7.4.2302
14126Problem: Default interface versions for MS-Windows are outdated.
14127Solution: Use Active Perl 5.24, Python 3.5.2. Could only make it work with
14128 Ruby 1.9.2.
14129Files: src/bigvim.bat, src/bigvim64.bat, src/Make_mvc.mak
14130
14131Patch 7.4.2303
14132Problem: When using "is" the mode isn't always updated.
14133Solution: Redraw the command line. (Christian Brabandt)
14134Files: src/search.c
14135
14136Patch 7.4.2304
14137Problem: In a timer callback the timer itself can't be found or stopped.
14138 (Thinca)
14139Solution: Do not remove the timer from the list, remember whether it was
14140 freed.
14141Files: src/ex_cmds2.c, src/testdir/test_timers.vim
14142
14143Patch 7.4.2305
14144Problem: Marks, writefile and nested function tests are old style.
14145Solution: Turn them into new style tests. (Yegappan Lakshmanan)
14146Files: src/testdir/Make_all.mak, src/testdir/test_marks.in,
14147 src/testdir/test_marks.ok, src/testdir/test_marks.vim,
14148 src/testdir/test_nested_function.in,
14149 src/testdir/test_nested_function.ok,
14150 src/testdir/test_nested_function.vim,
14151 src/testdir/test_writefile.in, src/testdir/test_writefile.ok,
14152 src/testdir/test_writefile.vim, src/Makefile
14153
14154Patch 7.4.2306
14155Problem: Default value for 'langremap' is wrong.
14156Solution: Set the right value. (Jürgen Krämer) Add a test.
14157Files: src/option.c, src/testdir/test_mapping.vim
14158
14159Patch 7.4.2307
14160Problem: Several tests are old style.
14161Solution: Turn them into new style tests. (Yegappan Lakshmanan)
14162Files: src/testdir/Make_all.mak, src/testdir/test102.in,
14163 src/testdir/test102.ok, src/testdir/test46.in,
14164 src/testdir/test46.ok, src/testdir/test81.in,
14165 src/testdir/test81.ok, src/testdir/test_charsearch.in,
14166 src/testdir/test_charsearch.ok, src/testdir/test_charsearch.vim,
14167 src/testdir/test_fnameescape.vim, src/testdir/test_substitute.vim,
14168 src/Makefile
14169
14170Patch 7.4.2308 (after 7.4.2307)
14171Problem: Old charsearch test still listed in Makefile.
14172Solution: Remove the line.
14173Files: src/testdir/Make_all.mak
14174
14175Patch 7.4.2309
14176Problem: Crash when doing tabnext in a BufUnload autocmd. (Dominique Pelle)
14177Solution: When detecting that the tab page changed, don't just abort but
14178 delete the window where w_buffer is NULL.
14179Files: src/window.c, src/testdir/test_tabpage.vim
14180
14181Patch 7.4.2310 (after 7.4.2304)
14182Problem: Accessing freed memory when a timer does not repeat.
14183Solution: Free after removing it. (Dominique Pelle)
14184Files: src/ex_cmds2.c
14185
14186Patch 7.4.2311
14187Problem: Appveyor 64 bit build still using Python 3.4
14188Solution: Switch to Python 3.5. (Ken Takata, closes #1032)
14189Files: appveyor.yml, src/appveyor.bat
14190
14191Patch 7.4.2312
14192Problem: Crash when autocommand moves to another tab. (Dominique Pelle)
14193Solution: When navigating to another window halfway the :edit command go
14194 back to the right window.
14195Files: src/buffer.c, src/ex_cmds.c, src/ex_getln.c, src/ex_docmd.c,
14196 src/window.c, src/proto/ex_getln.pro, src/testdir/test_tabpage.vim
14197
14198Patch 7.4.2313
14199Problem: Crash when deleting an augroup and listing an autocommand.
14200 (Dominique Pelle)
14201Solution: Make sure deleted_augroup is valid.
14202Files: src/fileio.c, src/testdir/test_autocmd.vim
14203
14204Patch 7.4.2314
14205Problem: No error when deleting an augroup while it's the current one.
14206Solution: Disallow deleting an augroup when it's the current one.
14207Files: src/fileio.c, src/testdir/test_autocmd.vim
14208
14209Patch 7.4.2315
14210Problem: Insufficient testing for Normal mode commands.
14211Solution: Add a big test. (Christian Brabandt, closes #1029)
14212Files: src/Makefile, src/testdir/Make_all.mak,
14213 src/testdir/test_normal.vim
14214
14215Patch 7.4.2316
14216Problem: Channel sort test is flaky.
14217Solution: Add a check the output has been read.
14218Files: src/testdir/test_channel.vim
14219
14220Patch 7.4.2317 (after 7.4.2315)
14221Problem: Normal mode tests fail on MS-Windows.
14222Solution: Do some tests only on Unix. Set 'fileformat' to "unix".
14223Files: src/testdir/test_normal.vim
14224
14225Patch 7.4.2318
14226Problem: When 'incsearch' is not set CTRL-T and CTRL-G are not inserted as
14227 before.
14228Solution: Move #ifdef and don't use goto.
14229Files: src/ex_getln.c
14230
14231Patch 7.4.2319
14232Problem: No way for a system wide vimrc to stop loading defaults.vim.
14233 (Christian Hesse)
14234Solution: Bail out of defaults.vim if skip_defaults_vim was set.
14235Files: runtime/defaults.vim
14236
14237Patch 7.4.2320
14238Problem: Redraw problem when using 'incsearch'.
14239Solution: Save the current view when deleting characters. (Christian
14240 Brabandt) Fix that the '" mark is set in the wrong position. Don't
14241 change the search start when using BS.
14242Files: src/ex_getln.c, src/normal.c, src/testdir/test_search.vim
14243
14244Patch 7.4.2321
14245Problem: When a test is commented out we forget about it.
14246Solution: Let a test throw an exception with "Skipped" and list skipped test
14247 functions. (Christian Brabandt)
14248Files: src/testdir/Makefile, src/testdir/runtest.vim,
14249 src/testdir/test_popup.vim, src/testdir/README.txt
14250
14251Patch 7.4.2322
14252Problem: Access memory beyond the end of the line. (Dominique Pelle)
14253Solution: Adjust the cursor column.
14254Files: src/move.c, src/testdir/test_normal.vim
14255
14256Patch 7.4.2323
14257Problem: Using freed memory when using 'formatexpr'. (Dominique Pelle)
14258Solution: Make a copy of 'formatexpr' before evaluating it.
14259Files: src/ops.c, src/testdir/test_normal.vim
14260
14261Patch 7.4.2324
14262Problem: Crash when editing a new buffer and BufUnload autocommand wipes
14263 out the new buffer. (Norio Takagi)
14264Solution: Don't allow wiping out this buffer. (partly by Hirohito Higashi)
14265 Move old style test13 into test_autocmd. Avoid ml_get error when
14266 editing a file.
14267Files: src/structs.h, src/buffer.c, src/ex_cmds.c, src/ex_docmd.c,
14268 src/window.c, src/testdir/test13.in, src/testdir/test13.ok,
14269 src/testdir/test_autocmd.vim, src/testdir/Make_all.mak,
14270 src/Makefile
14271
14272Patch 7.4.2325 (after 7.4.2324)
14273Problem: Tiny build fails.
14274Solution: Add #ifdef.
14275Files: src/buffer.c
14276
14277Patch 7.4.2326
14278Problem: Illegal memory access when Visual selection starts in invalid
14279 position. (Dominique Pelle)
14280Solution: Correct position when needed.
14281Files: src/normal.c, src/misc2.c, src/proto/misc2.pro
14282
14283Patch 7.4.2327
14284Problem: Freeing a variable that is on the stack.
14285Solution: Don't free res_tv or err_tv. (Ozaki Kiichi)
14286Files: src/channel.c
14287
14288Patch 7.4.2328
14289Problem: Crash when BufWinLeave autocmd goes to another tab page. (Hirohito
14290 Higashi)
14291Solution: Make close_buffer() go back to the right window.
14292Files: src/buffer.c, src/testdir/test_autocmd.vim
14293
14294Patch 7.4.2329
Bram Moolenaard0796902016-09-16 20:02:31 +020014295Problem: Error for min() and max() contains %s. (Nikolai Pavlov)
Bram Moolenaarabd468e2016-09-08 22:22:43 +020014296Solution: Pass the function name. (closes #1040)
14297Files: src/evalfunc.c, src/testdir/test_expr.vim
14298
14299Patch 7.4.2330
14300Problem: Coverity complains about not checking curwin to be NULL.
14301Solution: Use firstwin to avoid the warning.
14302Files: src/buffer.c
14303
14304Patch 7.4.2331
14305Problem: Using CTRL-X CTRL-V to complete a command line from Insert mode
14306 does not work after entering an expression on the command line.
14307Solution: Don't use "ccline" when not actually using a command line. (test
14308 by Hirohito Higashi)
14309Files: src/edit.c, src/ex_getln.c, src/proto/ex_getln.pro,
14310 src/testdir/test_popup.vim
14311
14312Patch 7.4.2332
14313Problem: Crash when stop_timer() is called in a callback of a callback.
14314 Vim hangs when the timer callback uses too much time.
14315Solution: Set tr_id to -1 when a timer is to be deleted. Don't keep calling
14316 callbacks forever. (Ozaki Kiichi)
14317Files: src/evalfunc.c, src/ex_cmds2.c, src/structs.h,
14318 src/proto/ex_cmds2.pro, src/testdir/test_timers.vim
14319
14320Patch 7.4.2333
14321Problem: Outdated comments in test.
14322Solution: Cleanup normal mode test. (Christian Brabandt)
14323Files: src/testdir/test_normal.vim
14324
14325Patch 7.4.2334
14326Problem: On MS-Windows test_getcwd leaves Xtopdir behind.
14327Solution: Set 'noswapfile'. (Michael Soyka)
14328Files: src/testdir/test_getcwd.in
14329
14330Patch 7.4.2335
14331Problem: taglist() is slow. (Luc Hermitte)
14332Solution: Check for CTRL-C less often when doing a linear search. (closes
14333 #1044)
14334Files: src/tag.c
14335
14336Patch 7.4.2336
14337Problem: Running normal mode tests leave a couple of files behind.
14338 (Yegappan Lakshmanan)
14339Solution: Delete the files. (Christian Brabandt)
14340Files: src/testdir/test_normal.vim
14341
14342Patch 7.4.2337
14343Problem: taglist() is still slow. (Luc Hermitte)
14344Solution: Check for CTRL-C less often when finding duplicates.
14345Files: src/tag.c
14346
14347Patch 7.4.2338
14348Problem: Can't build with small features. (John Marriott)
14349Solution: Nearly always define FEAT_TAG_BINS.
14350Files: src/feature.h, src/tag.c
14351
14352Patch 7.4.2339
14353Problem: Tab page test fails when run as fake root.
14354Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042)
14355Files: src/testdir/test_tabpage.vim
14356
14357Patch 7.4.2340
14358Problem: MS-Windows: Building with Ruby uses old version.
14359Solution: Update to 2.2.X. Use clearer name for the API version. (Ken
14360 Takata)
14361Files: Makefile, src/INSTALLpc.txt, src/Make_cyg_ming.mak,
14362 src/Make_mvc.mak, src/bigvim.bat
14363
14364Patch 7.4.2341
14365Problem: Tiny things. Test doesn't clean up properly.
14366Solution: Adjust comment and white space. Restore option value.
14367Files: src/ex_cmds.c, src/message.c, src/testdir/test_autocmd.vim
14368
14369Patch 7.4.2342
14370Problem: Typo in MS-Windows build script.
14371Solution: change "w2" to "22".
14372Files: src/bigvim.bat
14373
14374Patch 7.4.2343
14375Problem: Too many old style tests.
14376Solution: Turn several into new style tests. (Yegappan Lakshmanan)
14377Files: src/testdir/Make_all.mak, src/testdir/test101.in,
14378 src/testdir/test101.ok, src/testdir/test18.in,
14379 src/testdir/test18.ok, src/testdir/test2.in, src/testdir/test2.ok,
14380 src/testdir/test21.in, src/testdir/test21.ok,
14381 src/testdir/test6.in, src/testdir/test6.ok,
14382 src/testdir/test_arglist.vim, src/testdir/test_charsearch.vim,
14383 src/testdir/test_fnameescape.vim, src/testdir/test_gf.vim,
14384 src/testdir/test_hlsearch.vim, src/testdir/test_smartindent.vim,
14385 src/testdir/test_tagjump.vim, src/Makefile
14386
14387Patch 7.4.2344
14388Problem: The "Reading from channel output..." message can be unwanted.
14389 Appending to a buffer leaves an empty first line behind.
14390Solution: Add the "out_msg" and "err_msg" options. Writing the first line
14391 overwrites the first, empty line.
14392Files: src/structs.h, src/channel.c, src/testdir/test_channel.vim,
14393 runtime/doc/channel.txt
14394
14395Patch 7.4.2345 (after 7.4.2340)
14396Problem: For MinGW RUBY_API_VER_LONG isn't set correctly. Many default
14397 version numbers are outdated.
14398Solution: Set RUBY_API_VER_LONG to RUBY_VER_LONG. Use latest stable releases
14399 for defaults. (Ken Takata)
14400Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
14401
14402Patch 7.4.2346
14403Problem: Autocommand test fails when run directly, passes when run as part
14404 of test_alot.
14405Solution: Add command to make the cursor move. Close a tab page.
14406Files: src/testdir/test_autocmd.vim
14407
Bram Moolenaar7e1479b2016-09-11 15:07:27 +020014408Patch 7.4.2347
14409Problem: Crash when closing a buffer while Visual mode is active.
14410 (Dominique Pelle)
14411Solution: Adjust the position before computing the number of lines.
14412 When closing the current buffer stop Visual mode.
14413Files: src/buffer.c, src/normal.c, src/testdir/test_normal.vim
14414
14415Patch 7.4.2348
14416Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle)
14417Solution: Don't access curwin when exiting.
14418Files: src/buffer.c
14419
14420Patch 7.4.2349
Bram Moolenaard0796902016-09-16 20:02:31 +020014421Problem: Valgrind reports using uninitialized memory. (Dominique Pelle)
Bram Moolenaar7e1479b2016-09-11 15:07:27 +020014422Solution: Check the length before checking for a NUL.
14423Files: src/message.c
14424
14425Patch 7.4.2350
14426Problem: Test 86 and 87 fail with some version of Python.
14427Solution: Unify "can't" and "cannot". Unify quotes.
14428Files: src/testdir/test86.in, src/testdir/test86.ok,
14429 src/testdir/test87.in, src/testdir/test87.ok
14430
14431Patch 7.4.2351
14432Problem: Netbeans test fails when run from unpacked MS-Windows sources.
14433Solution: Open README.txt instead of Makefile.
14434Files: src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim
14435
14436Patch 7.4.2352
14437Problem: Netbeans test fails in shadow directory.
14438Solution: Also copy README.txt to the shadow directory.
14439Files: src/Makefile
14440
14441Patch 7.4.2353
14442Problem: Not enough test coverage for Normal mode commands.
14443Solution: Add more tests. (Christian Brabandt)
14444Files: src/testdir/test_normal.vim
14445
14446Patch 7.4.2354
14447Problem: The example that explains nested backreferences does not work
14448 properly with the new regexp engine. (Harm te Hennepe)
14449Solution: Also save the end position when adding a state. (closes #990)
14450Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
14451
14452Patch 7.4.2355
14453Problem: Regexp fails to match when using "\>\)\?". (Ramel)
14454Solution: When a state is already in the list, but addstate_here() is used
14455 and the existing state comes later, add the new state anyway.
14456Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
14457
14458Patch 7.4.2356
14459Problem: Reading past end of line when using previous substitute pattern.
14460 (Dominique Pelle)
14461Solution: Don't set "pat" only set "searchstr".
14462Files: src/search.c, src/testdir/test_search.vim
14463
14464Patch 7.4.2357
14465Problem: Attempt to read history entry while not initialized.
14466Solution: Skip when the index is negative.
14467Files: src/ex_getln.c
14468
14469Patch 7.4.2358
Bram Moolenaar220adb12016-09-12 12:17:26 +020014470Problem: Compiler warnings with Solaris Studio when using GTK3. (Danek
14471 Duvall)
Bram Moolenaar7e1479b2016-09-11 15:07:27 +020014472Solution: Define FUNC2GENERIC depending on the system. (Kazunobu Kuriyama)
14473Files: src/gui.h, src/gui_beval.c, src/gui_gtk_f.c
14474
Bram Moolenaar220adb12016-09-12 12:17:26 +020014475Patch 7.4.2359
14476Problem: Memory leak in timer_start().
14477Solution: Check the right field to be NULL.
14478Files: src/evalfunc.c, src/testdir/test_timers.vim
14479
14480Patch 7.4.2360
14481Problem: Invalid memory access when formatting. (Dominique Pelle)
14482Solution: Make sure cursor line and column are associated.
14483Files: src/misc1.c
14484
14485Patch 7.4.2361
14486Problem: Checking for last_timer_id to overflow is not reliable. (Ozaki
14487 Kiichi)
14488Solution: Check for the number not going up.
14489Files: src/ex_cmds2.c
14490
14491Patch 7.4.2362
14492Problem: Illegal memory access with ":1@". (Dominique Pelle)
14493Solution: Correct cursor column after setting the line number. Also avoid
14494 calling end_visual_mode() when not in Visual mode.
14495Files: src/ex_docmd.c, src/buffer.c
14496
14497Patch 7.4.2363
14498Problem: Superfluous function prototypes.
14499Solution: Remove them.
14500Files: src/regexp.c
14501
14502Patch 7.4.2364
14503Problem: Sort test sometimes fails.
14504Solution: Add it to the list of flaky tests.
14505Files: src/testdir/runtest.vim
Bram Moolenaar03413f42016-04-12 21:07:15 +020014506
Bram Moolenaar1b010052016-09-12 12:24:11 +020014507Patch 7.4.2365
14508Problem: Needless line break. Confusing directory name.
14509Solution: Remove line break. Prepend "../" to "tools".
14510Files: Makefile, src/normal.c
14511
Bram Moolenaarbb76f242016-09-12 14:24:39 +020014512Patch 7.4.2366
14513Problem: MS-Windows gvim.exe does not have DirectX support.
14514Solution: Add the DIRECTX to the script.
14515Files: src/bigvim.bat
14516
14517Patch 7.4.2367 (after 7.4.2364)
14518Problem: Test runner misses a comma.
14519Solution: Add the comma.
14520Files: src/testdir/runtest.vim
14521
Bram Moolenaarb1c91982018-05-17 17:04:55 +020014522
14523==============================================================================
14524VERSION 8.1 *version-8.1* *version8.1* *vim-8.1*
14525
14526This section is about improvements made between version 8.0 and 8.1.
14527
14528This release has hundreds of bug fixes, there is a new feature and there are
14529many minor improvements.
14530
14531
14532The terminal window *new-terminal-window*
14533-------------------
14534
14535You can now open a window which functions as a terminal. You can use it for:
14536- Running a command, such as "make", while editing in other windows
14537- Running a shell and execute several commands
14538- Use the terminal debugger plugin, see |terminal-debugger|
14539
14540All of this is especially useful when running Vim on a remote (ssh)
14541connection, when you can't easily open more terminals.
14542
14543For more information see |terminal-window|.
14544
14545
14546Changed *changed-8.1*
14547-------
14548
14549Internal: A few C99 features are now allowed such as // comments and a
14550comma after the last enum entry. See |style-compiler|.
14551
Bram Moolenaar0b0f0992018-05-22 21:41:30 +020014552Since patch 8.0.0029 removed support for older MS-Windows systems, only
14553MS-Windows XP and later are supported.
14554
Bram Moolenaarb1c91982018-05-17 17:04:55 +020014555
14556Added *added-8.1*
14557-----
14558
14559Various syntax, indent and other plugins were added.
14560
Bram Moolenaar0b0f0992018-05-22 21:41:30 +020014561Quickfix improvements (by Yegappan Lakshmanan):
14562 Added support for modifying any quickfix/location list in the quickfix
14563 stack.
14564 Added a unique identifier for every quickfix/location list.
14565 Added support for associating any Vim type as a context information to
14566 a quickfix/location list.
14567 Enhanced the getqflist(), getloclist(), setqflist() and setloclist()
14568 functions to get and set the various quickfix/location list attributes.
14569 Added the QuickFixLine highlight group to highlight the current line
14570 in the quickfix window.
14571 The quickfix buffer b:changedtick variable is incremented for every
14572 change to the contained quickfix list.
14573 Added a changedtick variable to a quickfix/location list which is
14574 incremented when the list is modified.
14575 Added support for parsing text using 'errorformat' without creating a
14576 new quickfix list.
14577 Added support for the "module" item to a quickfix entry which can be
14578 used for display purposes instead of a long file name.
14579 Added support for freeing all the lists in the quickfix/location stack.
14580 When opening a quickfix window using the :copen/:cwindow commands, the
14581 supplied split modifiers are used.
14582
Bram Moolenaarb1c91982018-05-17 17:04:55 +020014583Functions:
14584 All the term_ functions.
14585
14586 |assert_beeps()|
14587 |assert_equalfile()|
14588 |assert_report()|
14589 |balloon_show()|
14590 |balloon_split()|
14591 |ch_canread()|
14592 |getchangelist()|
14593 |getjumplist()|
14594 |getwinpos()|
14595 |pyxeval()|
14596 |remote_startserver()|
14597 |setbufline()|
14598 |test_ignore_error()|
14599 |test_override()|
14600 |trim()|
14601 |win_screenpos()|
14602
14603Autocommands:
14604 |CmdlineChanged|
14605 |CmdlineEnter|
14606 |CmdlineLeave|
14607 |ColorSchemePre|
14608 |DirChanged|
14609 |ExitPre|
14610 |TerminalOpen|
14611 |TextChangedP|
14612 |TextYankPost|
14613
14614Commands:
14615 |:pyx|
14616 |:pythonx|
14617 |:pyxdo|
14618 |:pyxfile|
14619 |:terminal|
14620 |:tmapclear|
14621 |:tmap|
14622 |:tnoremap|
14623 |:tunmap|
14624
14625Options:
14626 'balloonevalterm'
14627 'imstyle'
14628 'mzschemedll'
14629 'mzschemegcdll'
14630 'makeencoding'
14631 'pumwidth'
14632 'pythonhome'
14633 'pythonthreehome'
14634 'pyxversion'
14635 'termwinkey'
14636 'termwinscroll'
14637 'termwinsize'
14638 'viminfofile'
14639 'winptydll'
14640
14641
14642Patches *patches-8.1*
14643-------
14644
Bram Moolenaarc0514bf2016-11-17 14:50:09 +010014645Patch 8.0.0001
14646Problem: Intro screen still mentions version7. (Paul)
14647Solution: Change it to version8.
14648Files: src/version.c
14649
14650Patch 8.0.0002
14651Problem: The netrw plugin does not work.
14652Solution: Make it accept version 8.0.
14653Files: runtime/autoload/netrw.vim
14654
14655Patch 8.0.0003
14656Problem: getwinvar() returns wrong Value of boolean and number options,
14657 especially non big endian systems. (James McCoy)
14658Solution: Cast the pointer to long or int. (closes #1060)
14659Files: src/option.c, src/testdir/test_bufwintabinfo.vim
14660
14661Patch 8.0.0004
14662Problem: A string argument for function() that is not a function name
14663 results in an error message with NULL. (Christian Brabandt)
14664Solution: Use the argument for the error message.
14665Files: src/evalfunc.c, src/testdir/test_expr.vim
14666
14667Patch 8.0.0005
14668Problem: Netbeans test fails with Python 3. (Jonathonf)
14669Solution: Encode the string before sending it. (closes #1070)
14670Files: src/testdir/test_netbeans.py
14671
14672Patch 8.0.0006
14673Problem: ":lb" is interpreted as ":lbottom" while the documentation says it
14674 means ":lbuffer".
14675Solution: Adjust the order of the commands. (haya14busa, closes #1093)
14676Files: src/ex_cmds.h
14677
14678Patch 8.0.0007
14679Problem: Vim 7.4 is still mentioned in a few places.
14680Solution: Update to Vim 8. (Uncle Bill, closes #1094)
14681Files: src/INSTALLpc.txt, src/vimtutor, uninstal.txt
14682
14683Patch 8.0.0008
14684Problem: Popup complete test is disabled.
14685Solution: Enable the test and change the assert. (Hirohito Higashi)
14686Files: src/testdir/test_popup.vim
14687
14688Patch 8.0.0009
14689Problem: Unnecessary workaround for AppVeyor.
14690Solution: Revert patch 7.4.990. (Christian Brabandt)
14691Files: appveyor.yml
14692
14693Patch 8.0.0010
14694Problem: Crash when editing file that starts with crypt header. (igor2x)
14695Solution: Check for length of text. (Christian Brabandt) Add a test.
14696Files: src/fileio.c, src/testdir/test_crypt.vim, src/Makefile,
14697 src/testdir/Make_all.mak
14698
14699Patch 8.0.0011
14700Problem: On OSX Test_pipe_through_sort_all() sometimes fails.
14701Solution: Add the test to the list of flaky tests.
14702Files: src/testdir/runtest.vim
14703
14704Patch 8.0.0012
14705Problem: Typos in comments.
14706Solution: Change "its" to "it's". (Matthew Brener, closes #1088)
14707Files: src/evalfunc.c, src/main.aap, src/nbdebug.c, src/netbeans.c,
14708 src/quickfix.c, src/workshop.c, src/wsdebug.c
14709
14710Patch 8.0.0013 (after 8.0.0011)
14711Problem: Missing comma in list.
14712Solution: Add the comma.
14713Files: src/testdir/runtest.vim
14714
14715Patch 8.0.0014
14716Problem: Crypt tests are old style.
14717Solution: Convert to new style.
14718Files: src/testdir/test71.in, src/testdir/test71.ok,
14719 src/testdir/test71a.in, src/testdir/test_crypt.vim, src/Makefile,
14720 src/testdir/Make_all.mak
14721
14722Patch 8.0.0015
14723Problem: Can't tell which part of a channel has "buffered" status.
14724Solution: Add an optional argument to ch_status(). Let ch_info() also
14725 return "buffered" for out_status and err_status.
14726Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro,
14727 src/testdir/test_channel.vim, runtime/doc/eval.txt
14728
14729Patch 8.0.0016 (after 8.0.0015)
14730Problem: Build fails.
14731Solution: Include missing change.
14732Files: src/eval.c
14733
14734Patch 8.0.0017
14735Problem: Cannot get the number of the current quickfix or location list.
14736Solution: Use the current list if "nr" in "what" is zero. (Yegappan
14737 Lakshmanan) Remove debug command from test.
14738Files: src/quickfix.c, src/testdir/test_quickfix.vim,
14739 runtime/doc/eval.txt
14740
14741Patch 8.0.0018
14742Problem: When using ":sleep" channel input is not handled.
14743Solution: When there is a channel check for input also when not in raw mode.
14744 Check every 100 msec.
14745Files: src/channel.c, src/proto/channel.pro, src/ui.c, src/proto/ui.pro,
14746 src/ex_docmd.c, src/os_amiga.c, src/proto/os_amiga.pro,
14747 src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c,
14748 src/proto/os_win32.pro
14749
14750Patch 8.0.0019
14751Problem: Test_command_count is old style.
14752Solution: Turn it into a new style test. (Naruhiko Nishino)
14753 Use more assert functions.
14754Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_alot.vim,
14755 src/testdir/test_autocmd.vim, src/testdir/test_command_count.in,
14756 src/testdir/test_command_count.ok,
14757 src/testdir/test_command_count.vim
14758
14759Patch 8.0.0020
14760Problem: The regexp engines are not reentrant.
14761Solution: Add regexec_T and save/restore the state when needed.
14762Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_expr.vim,
14763 runtime/doc/eval.txt, runtime/doc/change.txt
14764
14765Patch 8.0.0021
14766Problem: In the GUI when redrawing the cursor it may be on the second half
14767 of a double byte character.
14768Solution: Correct the cursor column. (Yasuhiro Matsumoto)
14769Files: src/screen.c
14770
14771Patch 8.0.0022
14772Problem: If a channel in NL mode is missing the NL at the end the remaining
14773 characters are dropped.
14774Solution: When the channel is closed use the remaining text. (Ozaki Kiichi)
14775Files: src/channel.c, src/testdir/test_channel.vim
14776
14777Patch 8.0.0023
14778Problem: "gd" and "gD" may find a match in a comment or string.
14779Solution: Ignore matches in comments and strings. (Anton Lindqvist)
14780Files: src/normal.c, src/testdir/test_goto.vim
14781
14782Patch 8.0.0024
14783Problem: When the netbeans channel closes, "DETACH" is put in the output
14784 part. (Ozaki Kiichi)
14785Solution: Write "DETACH" in the socket part.
14786Files: src/channel.c, src/testdir/test_netbeans.vim
14787
14788Patch 8.0.0025
14789Problem: Inconsistent use of spaces vs tabs in gd test.
14790Solution: Use tabs. (Anton Lindqvist)
14791Files: src/testdir/test_goto.vim
14792
14793Patch 8.0.0026
14794Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth)
14795Solution: Skip code when qf_multiignore is set. (Lcd)
14796Files: src/quickfix.c, src/testdir/test_quickfix.vim
14797
14798Patch 8.0.0027
14799Problem: A channel is closed when reading on stderr or stdout fails, but
14800 there may still be something to read on another part.
14801Solution: Turn ch_to_be_closed into a bitfield. (Ozaki Kiichi)
14802Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro,
14803 src/testdir/test_channel.vim
14804
14805Patch 8.0.0028
14806Problem: Superfluous semicolons.
14807Solution: Remove them. (Ozaki Kiichi)
14808Files: src/ex_cmds2.c
14809
14810Patch 8.0.0029
14811Problem: Code for MS-Windows is complicated because of the exceptions for
14812 old systems.
14813Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
14814Files: runtime/doc/gui_w32.txt, runtime/doc/os_win32.txt,
14815 runtime/doc/todo.txt, src/GvimExt/Makefile, src/Make_mvc.mak,
14816 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui_w32.c,
14817 src/if_cscope.c, src/misc1.c, src/misc2.c, src/option.c,
14818 src/os_mswin.c, src/os_win32.c, src/os_win32.h,
14819 src/proto/os_mswin.pro, src/proto/os_win32.pro, src/version.c
14820
14821Patch 8.0.0030
14822Problem: Mouse mode is not automatically detected for tmux.
14823Solution: Check for 'term' to be "tmux". (Michael Henry)
14824Files: src/os_unix.c
14825
14826Patch 8.0.0031
14827Problem: After ":bwipeout" 'fileformat' is not set to the right default.
14828Solution: Get the default from 'fileformats'. (Mike Williams)
14829Files: src/option.c, src/Makefile, src/testdir/test_fileformat.vim,
14830 src/testdir/test_alot.vim
14831
14832Patch 8.0.0032
14833Problem: Tests may change the input file when something goes wrong.
14834Solution: Avoid writing the input file.
14835Files: src/testdir/test51.in, src/testdir/test67.in,
14836 src/testdir/test97.in, src/testdir/test_tabpage.vim
14837
14838Patch 8.0.0033
14839Problem: Cannot use overlapping positions with matchaddpos().
14840Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi)
14841Files: src/screen.c, src/testdir/test_match.vim
14842
14843Patch 8.0.0034
14844Problem: No completion for ":messages".
14845Solution: Complete "clear" argument. (Hirohito Higashi)
14846Files: src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro,
14847 src/testdir/test_cmdline.vim, src/vim.h,
14848 runtime/doc/eval.txt, runtime/doc/map.txt
14849
14850Patch 8.0.0035 (after 7.4.2013)
14851Problem: Order of matches for 'omnifunc' is messed up. (Danny Su)
14852Solution: Do not set compl_curr_match when called from complete_check().
14853 (closes #1168)
14854Files: src/edit.c, src/evalfunc.c, src/proto/edit.pro, src/search.c,
14855 src/spell.c, src/tag.c, src/testdir/test76.in,
14856 src/testdir/test76.ok, src/testdir/test_popup.vim, src/Makefile,
14857 src/testdir/Make_all.mak
14858
14859Patch 8.0.0036
14860Problem: Detecting that a job has finished may take a while.
14861Solution: Check for a finished job more often (Ozaki Kiichi)
14862Files: src/channel.c, src/os_unix.c, src/os_win32.c,
14863 src/proto/os_unix.pro, src/proto/os_win32.pro,
14864 src/testdir/test_channel.vim
14865
14866Patch 8.0.0037
14867Problem: Get E924 when switching tabs. ()
14868Solution: Use win_valid_any_tab() instead of win_valid(). (Martin Vuille,
14869 closes #1167, closes #1171)
14870Files: src/quickfix.c, src/testdir/test_quickfix.vim
14871
14872Patch 8.0.0038
14873Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland
14874 files.
14875Solution: Check for __FreeBSD_kernel__. (James McCoy, closes #1166)
14876Files: src/vim.h
14877
14878Patch 8.0.0039
14879Problem: When Vim 8 reads an old viminfo and exits, the next time marks are
14880 not read from viminfo. (Ned Batchelder)
14881Solution: Set a mark when it wasn't set before, even when the timestamp is
14882 zero. (closes #1170)
14883Files: src/mark.c, src/testdir/test_viminfo.vim
14884
14885Patch 8.0.0040 (after 8.0.0033)
14886Problem: Whole line highlighting with matchaddpos() does not work.
14887Solution: Check for zero length. (Hirohito Higashi)
14888Files: src/screen.c, src/testdir/test_match.vim
14889
14890Patch 8.0.0041
14891Problem: When using Insert mode completion but not actually inserting
14892 anything an undo item is still created. (Tommy Allen)
14893Solution: Do not call stop_arrow() when not inserting anything.
14894Files: src/edit.c, src/testdir/test_popup.vim
14895
14896Patch 8.0.0042 (after 8.0.0041)
14897Problem: When using Insert mode completion with 'completeopt' containing
14898 "noinsert" change is not saved for undo. (Tommy Allen)
14899Solution: Call stop_arrow() before inserting for pressing Enter.
14900Files: src/edit.c, src/testdir/test_popup.vim
14901
14902Patch 8.0.0043 (after 8.0.0041)
14903Problem: When using Insert mode completion with 'completeopt' containing
14904 "noinsert" with CTRL-N the change is not saved for undo. (Tommy
14905 Allen)
14906Solution: Call stop_arrow() before inserting for any key.
14907Files: src/edit.c, src/testdir/test_popup.vim
14908
14909Patch 8.0.0044
14910Problem: In diff mode the cursor may end up below the last line, resulting
14911 in an ml_get error.
14912Solution: Check the line to be valid.
14913Files: src/move.c, src/diff.c, src/proto/diff.pro,
14914 src/testdir/test_diffmode.vim
14915
14916Patch 8.0.0045
14917Problem: Calling job_stop() right after job_start() does not work.
14918Solution: Block signals while fork is still busy. (Ozaki Kiichi, closes
14919 #1155)
14920Files: src/auto/configure, src/config.h.in, src/configure.in,
14921 src/os_unix.c, src/testdir/test_channel.vim
14922
14923Patch 8.0.0046
14924Problem: Using NUL instead of NULL.
14925Solution: Change to NULL. (Dominique Pelle)
14926Files: src/ex_cmds.c, src/json.c
14927
14928Patch 8.0.0047
14929Problem: Crash when using the preview window from an unnamed buffer.
14930 (lifepillar)
14931Solution: Do not clear the wrong buffer. (closes #1200)
14932Files: src/popupmnu.c
14933
14934Patch 8.0.0048
14935Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
14936 (Linwei)
14937Solution: Iterate over all processes and terminate the one where the parent
14938 is the job process. (Yasuhiro Matsumoto, closes #1184)
14939Files: src/os_win32.c, src/structs.h
14940
14941Patch 8.0.0049
14942Problem: When a match ends in part of concealed text highlighting, it might
14943 mess up concealing by resetting prev_syntax_id.
14944Solution: Do not reset prev_syntax_id and add a test to verify. (Christian
14945 Brabandt, closes #1092)
14946Files: src/screen.c, src/testdir/test_matchadd_conceal.vim
14947
14948Patch 8.0.0050
14949Problem: An exiting job is detected with a large latency.
14950Solution: Check for pending job more often. (Ozaki Kiichi) Change the
14951 double loop in mch_inchar() into one.
14952Files: src/channel.c, src/os_unix.c, src/testdir/shared.vim,
14953 src/testdir/test_channel.vim
14954
14955Patch 8.0.0051 (after 8.0.0048)
14956Problem: New code for job_stop() breaks channel test on AppVeyor.
14957Solution: Revert the change.
14958Files: src/os_win32.c, src/structs.h
14959
14960Patch 8.0.0052 (after 8.0.0049)
14961Problem: Conceal test passes even without the bug fix.
14962Solution: Add a redraw command. (Christian Brabandt)
14963Files: src/testdir/test_matchadd_conceal.vim
14964
14965Patch 8.0.0053 (after 8.0.0047)
14966Problem: No test for what 8.0.0047 fixes.
14967Solution: Add a test. (Hirohito Higashi)
14968Files: src/testdir/test_popup.vim
14969
14970Patch 8.0.0054 (after 8.0.0051)
14971Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
14972 (Linwei)
14973Solution: Iterate over all processes and terminate the one where the parent
14974 is the job process. Now only when there is no job object.
14975 (Yasuhiro Matsumoto, closes #1203)
14976Files: src/os_win32.c
14977
14978Patch 8.0.0055
14979Problem: Minor comment and style deficiencies.
14980Solution: Update comments and fix style.
14981Files: src/buffer.c, src/misc2.c, src/os_unix.c
14982
14983Patch 8.0.0056
14984Problem: When setting 'filetype' there is no check for a valid name.
14985Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'.
14986Files: src/option.c, src/testdir/test_options.vim
14987
14988Patch 8.0.0057 (after 8.0.0056)
14989Problem: Tests fail without the 'keymap' features.
14990Solution: Check for feature in test.
14991Files: src/testdir/test_options.vim
14992
14993Patch 8.0.0058
14994Problem: Positioning of the popup menu is not good.
14995Solution: Position it better. (Hirohito Higashi)
14996Files: src/popupmnu.c
14997
14998Patch 8.0.0059
14999Problem: Vim does not build on VMS systems.
15000Solution: Various changes for VMS. (Zoltan Arpadffy)
15001Files: src/json.c, src/macros.h, src/Make_vms.mms, src/os_unix.c,
15002 src/os_unix.h, src/os_vms.c, src/os_vms_conf.h,
15003 src/proto/os_vms.pro, src/testdir/Make_vms.mms
15004
15005Patch 8.0.0060
15006Problem: When using an Ex command for 'keywordprg' it is escaped as with a
15007 shell command. (Romain Lafourcade)
15008Solution: Escape for an Ex command. (closes #1175)
15009Files: src/normal.c, src/testdir/test_normal.vim
15010
15011Patch 8.0.0061 (after 8.0.0058)
15012Problem: Compiler warning for unused variable.
15013Solution: Add #ifdef. (John Marriott)
15014Files: src/popupmnu.c
15015
15016Patch 8.0.0062
15017Problem: No digraph for HORIZONTAL ELLIPSIS.
15018Solution: Use ",.". (Hans Ginzel, closes #1226)
15019Files: src/digraph.c, runtime/doc/digraph.txt
15020
15021Patch 8.0.0063
15022Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy)
15023Solution: Change <= to ==.
15024Files: src/undo.c
15025
15026Patch 8.0.0064 (after 8.0.0060)
15027Problem: Normal test fails on MS-Windows.
15028Solution: Don't try using an illegal file name.
15029Files: src/testdir/test_normal.vim
15030
15031Patch 8.0.0065 (after 8.0.0056)
15032Problem: Compiler warning for unused function in tiny build. (Tony
15033 Mechelynck)
15034Solution: Add #ifdef.
15035Files: src/option.c
15036
15037Patch 8.0.0066
15038Problem: when calling an operator function when 'linebreak' is set, it is
15039 internally reset before calling the operator function.
15040Solution: Restore 'linebreak' before calling op_function(). (Christian
15041 Brabandt)
15042Files: src/normal.c, src/testdir/test_normal.vim
15043
15044Patch 8.0.0067
15045Problem: VMS has a problem with infinity.
15046Solution: Avoid an overflow. (Zoltan Arpadffy)
15047Files: src/json.c, src/macros.h
15048
15049Patch 8.0.0068
15050Problem: Checking did_throw after executing autocommands is wrong. (Daniel
15051 Hahler)
15052Solution: Call aborting() instead, and only when autocommands were executed.
15053Files: src/quickfix.c, src/if_cscope.c, src/testdir/test_quickfix.vim
15054
15055Patch 8.0.0069
15056Problem: Compiler warning for self-comparison.
15057Solution: Define ONE_WINDOW and add #ifdef.
15058Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/move.c,
15059 src/screen.c, src/quickfix.c, src/window.c
15060
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015061Patch 8.0.0070
15062Problem: Tests referred in Makefile that no longer exist.
15063Solution: Remove test71 and test74 entries. (Michael Soyka)
15064Files: src/testdir/Mak_ming.mak
15065
15066Patch 8.0.0071
15067Problem: Exit value from a shell command is wrong. (Hexchain Tong)
15068Solution: Do not check for ended jobs while waiting for a shell command.
15069 (ichizok, closes #1196)
15070Files: src/os_unix.c
15071
15072Patch 8.0.0072
15073Problem: MS-Windows: Crash with long font name. (Henry Hu)
15074Solution: Fix comparing with LF_FACESIZE. (Ken Takata, closes #1243)
15075Files: src/os_mswin.c
15076
15077Patch 8.0.0073 (after 8.0.0069)
15078Problem: More comparisons between firstwin and lastwin.
15079Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi)
15080Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/option.c,
15081 src/window.c
15082
15083Patch 8.0.0074
15084Problem: Cannot make Vim fail on an internal error.
15085Solution: Add IEMSG() and IEMSG2(). (Dominique Pelle) Avoid reporting an
15086 internal error without mentioning where.
15087Files: src/globals.h, src/blowfish.c, src/dict.c, src/edit.c, src/eval.c,
15088 src/evalfunc.c, src/ex_eval.c, src/getchar.c, src/gui_beval.c,
15089 src/gui_w32.c, src/hangulin.c, src/hashtab.c, src/if_cscope.c,
15090 src/json.c, src/memfile.c, src/memline.c, src/message.c,
15091 src/misc2.c, src/option.c, src/quickfix.c, src/regexp.c,
15092 src/spell.c, src/undo.c, src/userfunc.c, src/vim.h, src/window.c,
15093 src/proto/misc2.pro, src/proto/message.pro, src/Makefile
15094
15095Patch 8.0.0075
15096Problem: Using number for exception type lacks type checking.
15097Solution: Use an enum.
15098Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c,
15099 src/proto/ex_eval.pro
15100
15101Patch 8.0.0076
15102Problem: Channel log has double parens ()().
15103Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto)
15104Files: src/channel.c
15105
15106Patch 8.0.0077
15107Problem: The GUI code is not tested by Travis.
15108Solution: Install the virtual framebuffer.
15109Files: .travis.yml
15110
15111Patch 8.0.0078
15112Problem: Accessing freed memory in quickfix.
15113Solution: Reset pointer when freeing 'errorformat'. (Dominique Pelle)
15114Files: src/quickfix.c, src/testdir/test_quickfix.vim
15115
15116Patch 8.0.0079
15117Problem: Accessing freed memory in quickfix. (Dominique Pelle)
15118Solution: Do not free the current list when adding to it.
15119Files: src/quickfix.c, src/testdir/test_quickfix.vim
15120
15121Patch 8.0.0080
15122Problem: The OS X build fails on Travis.
15123Solution: Skip the virtual framebuffer on OS X.
15124Files: .travis.yml
15125
15126Patch 8.0.0081
15127Problem: Inconsistent function names.
15128Solution: Rename do_cscope to ex_cscope. Clean up comments.
15129Files: src/ex_cmds.h, src/if_cscope.c, src/ex_docmd.c,
15130 src/proto/if_cscope.pro
15131
15132Patch 8.0.0082
15133Problem: Extension for configure should be ".ac".
15134Solution: Rename configure.in to configure.ac. (James McCoy, closes #1173)
15135Files: src/configure.in, src/configure.ac, Filelist, src/Makefile,
15136 src/blowfish.c, src/channel.c, src/config.h.in, src/main.aap,
15137 src/os_unix.c, src/INSTALL, src/mysign
15138
15139Patch 8.0.0083
15140Problem: Using freed memory with win_getid(). (Dominique Pelle)
15141Solution: For the current tab use curwin.
15142Files: src/window.c, src/testdir/test_window_id.vim
15143
15144Patch 8.0.0084
15145Problem: Using freed memory when adding to a quickfix list. (Dominique
15146 Pelle)
15147Solution: Clear the directory name.
15148Files: src/quickfix.c, src/testdir/test_quickfix.vim
15149
15150Patch 8.0.0085
15151Problem: Using freed memory with recursive function call. (Dominique Pelle)
15152Solution: Make a copy of the function name.
15153Files: src/eval.c, src/testdir/test_nested_function.vim
15154
15155Patch 8.0.0086
15156Problem: Cannot add a comment after ":hide". (Norio Takagi)
15157Solution: Make it work, add a test. (Hirohito Higashi)
15158Files: src/Makefile, src/ex_cmds.h, src/ex_docmd.c,
15159 src/testdir/Make_all.mak, src/testdir/test_hide.vim
15160
15161Patch 8.0.0087
15162Problem: When the channel callback gets job info the job may already have
15163 been deleted. (lifepillar)
15164Solution: Do not delete the job when the channel is still useful. (ichizok,
15165 closes #1242, closes #1245)
15166Files: src/channel.c, src/eval.c, src/os_unix.c, src/os_win32.c,
15167 src/structs.h, src/testdir/test_channel.vim
15168
15169Patch 8.0.0088
15170Problem: When a test fails in Setup or Teardown the problem is not reported.
15171Solution: Add a try/catch. (Hirohito Higashi)
15172Files: src/testdir/runtest.vim
15173
15174Patch 8.0.0089
15175Problem: Various problems with GTK 3.22.2.
15176Solution: Fix the problems, add #ifdefs. (Kazunobu Kuriyama)
15177Files: src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c
15178
15179Patch 8.0.0090
15180Problem: Cursor moved after last character when using 'breakindent'.
15181Solution: Fix the cursor positioning. Turn the breakindent test into new
15182 style. (Christian Brabandt)
15183Files: src/screen.c, src/testdir/Make_all.mak,
15184 src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok,
15185 src/testdir/test_breakindent.vim, src/Makefile
15186
15187Patch 8.0.0091
15188Problem: Test_help_complete sometimes fails in MS-Windows console.
15189Solution: Use getcompletion() instead of feedkeys() and command line
15190 completion. (Hirohito Higashi)
15191Files: src/testdir/test_help_tagjump.vim
15192
15193Patch 8.0.0092
15194Problem: C indenting does not support nested namespaces that C++ 17 has.
15195Solution: Add check that passes double colon inside a name. (Pauli, closes
15196 #1214)
15197Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
15198
15199Patch 8.0.0093
15200Problem: Not using multiprocess build feature.
15201Solution: Enable multiprocess build with MSVC 10. (Ken Takata)
15202Files: src/Make_mvc.mak
15203
15204Patch 8.0.0094
15205Problem: When vimrun.exe is not found the error message is not properly
15206 encoded.
15207Solution: Use utf-16 and MessageBoxW(). (Ken Takata)
15208Files: src/os_win32.c
15209
15210Patch 8.0.0095
15211Problem: Problems with GTK 3.22.2 fixed in 3.22.4.
15212Solution: Adjust the #ifdefs. (Kazunobu Kuriyama)
15213Files: src/gui_gtk_x11.c
15214
15215Patch 8.0.0096
15216Problem: When the input or output is not a tty Vim appears to hang.
15217Solution: Add the --ttyfail argument. Also add the "ttyin" and "ttyout"
15218 features to be able to check in Vim script.
15219Files: src/globals.h, src/structs.h, src/main.c, src/evalfunc.c,
15220 runtime/doc/starting.txt, runtime/doc/eval.txt
15221
15222Patch 8.0.0097
15223Problem: When a channel callback consumes a lot of time Vim becomes
15224 unresponsive. (skywind)
15225Solution: Bail out of checking channel readahead after 100 msec.
15226Files: src/os_unix.c, src/misc2.c, src/vim.h, src/os_win32.c,
15227 src/channel.c
15228
15229Patch 8.0.0098 (after 8.0.0097)
15230Problem: Can't build on MS-Windows.
15231Solution: Add missing parenthesis.
15232Files: src/vim.h
15233
15234Patch 8.0.0099
15235Problem: Popup menu always appears above the cursor when it is in the lower
15236 half of the screen. (Matt Gardner)
15237Solution: Compute the available space better. (Hirohito Higashi,
15238 closes #1241)
15239Files: src/popupmnu.c
15240
15241Patch 8.0.0100
15242Problem: Options that are a file name may contain non-filename characters.
15243Solution: Check for more invalid characters.
15244Files: src/option.c
15245
15246Patch 8.0.0101
15247Problem: Some options are not strictly checked.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015248Solution: Add flags for stricter checks.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015249Files: src/option.c
15250
15251Patch 8.0.0102 (after 8.0.0101)
15252Problem: Cannot set 'dictionary' to a path.
15253Solution: Allow for slash and backslash. Add a test (partly by Daisuke
15254 Suzuki, closes #1279, closes #1284)
15255Files: src/option.c, src/testdir/test_options.vim
15256
15257Patch 8.0.0103
15258Problem: May not process channel readahead. (skywind)
15259Solution: If there is readahead don't block on input.
15260Files: src/channel.c, src/proto/channel.pro, src/os_unix.c,
15261 src/os_win32.c, src/misc2.c
15262
15263Patch 8.0.0104
15264Problem: Value of 'thesaurus' option not checked properly.
15265Solution: Add P_NDNAME flag. (Daisuke Suzuki)
15266Files: src/option.c, src/testdir/test_options.vim
15267
15268Patch 8.0.0105
15269Problem: When using ch_read() with zero timeout, can't tell the difference
15270 between reading an empty line and nothing available.
15271Solution: Add ch_canread().
15272Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro,
15273 src/testdir/test_channel.vim, src/testdir/shared.vim,
15274 runtime/doc/eval.txt, runtime/doc/channel.txt
15275
15276Patch 8.0.0106 (after 8.0.0100)
15277Problem: Cannot use a semicolon in 'backupext'. (Jeff)
15278Solution: Allow for a few more characters when "secure" isn't set.
15279Files: src/option.c
15280
15281Patch 8.0.0107
15282Problem: When reading channel output in a timer, messages may go missing.
15283 (Skywind)
15284Solution: Add the "drop" option. Write error messages in the channel log.
15285 Don't have ch_canread() check for the channel being open.
15286Files: src/structs.h, src/channel.c, src/message.c, src/evalfunc.c,
15287 src/proto/channel.pro, runtime/doc/channel.txt
15288
15289Patch 8.0.0108 (after 8.0.0107)
15290Problem: The channel "drop" option is not tested.
15291Solution: Add a test.
15292Files: src/testdir/test_channel.vim
15293
15294Patch 8.0.0109
15295Problem: Still checking if memcmp() exists while every system should have
15296 it now.
15297Solution: Remove vim_memcmp(). (James McCoy, closes #1295)
15298Files: src/config.h.in, src/configure.ac, src/misc2.c, src/os_vms_conf.h,
15299 src/osdef1.h.in, src/search.c, src/tag.c, src/vim.h
15300
15301Patch 8.0.0110
15302Problem: Drop command doesn't use existing window.
15303Solution: Check the window width properly. (Hirohito Higashi)
15304Files: src/buffer.c, src/testdir/test_tabpage.vim
15305
15306Patch 8.0.0111
15307Problem: The :history command is not tested.
15308Solution: Add tests. (Dominique Pelle)
15309Files: runtime/doc/cmdline.txt, src/testdir/test_history.vim
15310
15311Patch 8.0.0112
15312Problem: Tests 92 and 93 are old style.
15313Solution: Make test92 and test93 new style. (Hirohito Higashi, closes #1289)
15314Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
15315 src/testdir/test92.in, src/testdir/test92.ok,
15316 src/testdir/test93.in, src/testdir/test93.ok,
15317 src/testdir/test_mksession.vim,
15318 src/testdir/test_mksession_utf8.vim
15319
15320Patch 8.0.0113
15321Problem: MS-Windows: message box to prompt for saving changes may appear on
15322 the wrong monitor.
15323Solution: Adjust the CenterWindow function. (Ken Takata)
15324Files: src/gui_w32.c
15325
15326Patch 8.0.0114
15327Problem: Coding style not optimal.
15328Solution: Add spaces. (Ken Takata)
15329Files: src/gui_w32.c, src/os_mswin.c
15330
15331Patch 8.0.0115
15332Problem: When building with Cygwin libwinpthread isn't found.
15333Solution: Link winpthread statically. (jmmerz, closes #1255, closes #1256)
15334Files: src/Make_cyg_ming.mak
15335
15336Patch 8.0.0116
15337Problem: When reading English help and using CTRl-] the language from
15338 'helplang' is used.
15339Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito
15340 Higashi, closes #1249)
15341Files: src/tag.c, src/testdir/test_help_tagjump.vim
15342
15343Patch 8.0.0117
15344Problem: Parallel make fails. (J. Lewis Muir)
15345Solution: Make sure the objects directory exists. (closes #1259)
15346Files: src/Makefile
15347
15348Patch 8.0.0118
15349Problem: "make proto" adds extra function prototype.
15350Solution: Add #ifdef.
15351Files: src/misc2.c
15352
15353Patch 8.0.0119
15354Problem: No test for using CTRL-R on the command line.
15355Solution: Add a test. (Dominique Pelle) And some more.
15356Files: src/testdir/test_cmdline.vim
15357
15358Patch 8.0.0120
15359Problem: Channel test is still flaky on OS X.
15360Solution: Set the drop argument to "never".
15361Files: src/testdir/test_channel.vim
15362
15363Patch 8.0.0121
15364Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler)
15365Solution: Add the P_RWINONLY flag. (closes #1297)
15366Files: src/option.c, src/testdir/test_goto.vim
15367
15368Patch 8.0.0122
15369Problem: Channel test is still flaky on OS X.
15370Solution: Add a short sleep.
15371Files: src/testdir/test_channel.py
15372
15373Patch 8.0.0123
15374Problem: Modern Sun compilers define "__sun" instead of "sun".
15375Solution: Use __sun. (closes #1296)
15376Files: src/mbyte.c, src/pty.c, src/os_unixx.h, src/vim.h
15377
15378Patch 8.0.0124
15379Problem: Internal error for assert_inrange(1, 1).
15380Solution: Adjust number of allowed arguments. (Dominique Pelle)
15381Files: src/evalfunc.c, src/testdir/test_assert.vim
15382
15383Patch 8.0.0125
15384Problem: Not enough testing for entering Ex commands.
15385Solution: Add test for CTRL-\ e {expr}. (Dominique Pelle)
15386Files: src/testdir/test_cmdline.vim
15387
15388Patch 8.0.0126
15389Problem: Display problem with 'foldcolumn' and a wide character.
15390 (esiegerman)
15391Solution: Don't use "extra" but an allocated buffer. (Christian Brabandt,
15392 closes #1310)
15393Files: src/screen.c, src/testdir/Make_all.mak, src/Makefile,
15394 src/testdir/test_display.vim
15395
15396Patch 8.0.0127
15397Problem: Cancelling completion still inserts text when formatting is done
15398 for 'textwidth'. (lacygoill)
15399Solution: Don't format when CTRL-E was typed. (Hirohito Higashi,
15400 closes #1312)
15401Files: src/edit.c, src/testdir/test_popup.vim
15402
15403Patch 8.0.0128 (after 8.0.0126)
15404Problem: Display test fails on MS-Windows.
15405Solution: Set 'isprint' to "@".
15406Files: src/testdir/test_display.vim
15407
15408Patch 8.0.0129
15409Problem: Parallel make still doesn't work. (Lewis Muir)
15410Solution: Define OBJ_MAIN.
15411Files: src/Makefile
15412
15413Patch 8.0.0130
15414Problem: Configure uses "ushort" while the Vim code doesn't.
15415Solution: Use "unsigned short" instead. (Fredrik Fornwall, closes #1314)
15416Files: src/configure.ac, src/auto/configure
15417
15418Patch 8.0.0131
15419Problem: Not enough test coverage for syntax commands.
15420Solution: Add more tests. (Dominique Pelle)
15421Files: src/testdir/test_syntax.vim
15422
15423Patch 8.0.0132 (after 8.0.0131)
15424Problem: Test fails because of using :finish.
15425Solution: Change to return.
15426Files: src/testdir/test_syntax.vim
15427
15428Patch 8.0.0133
15429Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle)
15430Solution: Check the cursor line earlier.
15431Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
15432
15433Patch 8.0.0134
15434Problem: Null pointer access reported by UBsan.
15435Solution: Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan)
15436Files: src/ex_cmds.c
15437
15438Patch 8.0.0135
15439Problem: An address relative to the current line, ":.,+3y", does not work
15440 properly on a closed fold. (Efraim Yawitz)
15441Solution: Correct for including the closed fold. (Christian Brabandt)
15442Files: src/ex_docmd.c, src/testdir/test_fold.vim,
15443 src/testdir/Make_all.mak, src/Makefile
15444
15445Patch 8.0.0136
15446Problem: When using indent folding and changing indent the wrong fold is
15447 opened. (Jonathan Fudger)
15448Solution: Open the fold under the cursor a bit later. (Christian Brabandt)
15449Files: src/ops.c, src/testdir/test_fold.vim
15450
15451Patch 8.0.0137
15452Problem: When 'maxfuncdepth' is set above 200 the nesting is limited to
15453 200. (Brett Stahlman)
15454Solution: Allow for Ex command recursion depending on 'maxfuncdepth'.
15455Files: src/ex_docmd.c, src/testdir/test_nested_function.vim
15456
15457Patch 8.0.0138 (after 8.0.0137)
15458Problem: Small build fails.
15459Solution: Add #ifdef.
15460Files: src/ex_docmd.c
15461
15462Patch 8.0.0139 (after 8.0.0135)
15463Problem: Warning for unused argument.
15464Solution: Add UNUSED.
15465Files: src/ex_docmd.c
15466
15467Patch 8.0.0140
15468Problem: Pasting inserted text in Visual mode does not work properly.
15469 (Matthew Malcomson)
15470Solution: Stop Visual mode before stuffing the inserted text. (Christian
15471 Brabandt, from neovim #5709)
15472Files: src/ops.c, src/testdir/test_visual.vim
15473
15474Patch 8.0.0141 (after 8.0.0137)
15475Problem: Nested function test fails on AppVeyor.
15476Solution: Disable the test on Windows for now.
15477Files: src/testdir/test_nested_function.vim
15478
15479Patch 8.0.0142
15480Problem: Normal colors are wrong with 'termguicolors'.
15481Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes
15482 #1344)
15483Files: src/syntax.c
15484
15485Patch 8.0.0143
15486Problem: Line number of current buffer in getbufinfo() is wrong.
15487Solution: For the current buffer use the current line number. (Ken Takata)
15488Files: src/evalfunc.c
15489
15490Patch 8.0.0144
15491Problem: When using MSVC the GvimExt directory is cleaned twice.
15492Solution: Remove the lines. (Ken Takata)
15493Files: src/Make_mvc.mak
15494
15495Patch 8.0.0145
15496Problem: Running tests on MS-Windows is a little bit noisy.
15497Solution: Redirect some output to "nul". (Ken Takata)
15498Files: src/testdir/Make_dos.mak
15499
15500Patch 8.0.0146
15501Problem: When using 'termguicolors' on MS-Windows the RGB definition causes
15502 the colors to be wrong.
15503Solution: Undefined RGB and use our own. (Gabriel Barta)
15504Files: src/term.c
15505
15506Patch 8.0.0147
15507Problem: searchpair() does not work when 'magic' is off. (Chris Paul)
15508Solution: Add \m in the pattern. (Christian Brabandt, closes #1341)
15509Files: src/evalfunc.c, src/testdir/test_search.vim
15510
15511Patch 8.0.0148
15512Problem: When a C preprocessor statement has two line continuations the
15513 following line does not have the right indent. (Ken Takata)
15514Solution: Add the indent of the previous continuation line. (Hirohito
15515 Higashi)
15516Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
15517
15518Patch 8.0.0149
15519Problem: ":earlier" and ":later" do not work after startup or reading the
15520 undo file.
15521Solution: Use absolute time stamps instead of relative to the Vim start
15522 time. (Christian Brabandt, Pavel Juhas, closes #1300, closes
15523 #1254)
15524Files: src/testdir/test_undo.vim, src/undo.c
15525
15526Patch 8.0.0150
15527Problem: When the pattern of :filter does not have a separator then
15528 completion of the command fails.
Bram Moolenaar01164a62017-11-02 22:58:42 +010015529Solution: Skip over the pattern. (Ozaki Kiichi, closes #1299)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015530Files: src/ex_docmd.c, src/testdir/test_filter_cmd.vim
15531
15532Patch 8.0.0151
15533Problem: To pass buffer content to system() and systemlist() one has to
15534 first create a string or list.
15535Solution: Allow passing a buffer number. (LemonBoy, closes #1240)
15536Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c,
15537 src/testdir/Make_all.mak, src/testdir/test_system.vim
15538
15539Patch 8.0.0152
15540Problem: Running the channel test creates channellog.
15541Solution: Delete the debug line.
15542Files: src/testdir/test_channel.vim
15543
15544Patch 8.0.0153 (after 8.0.0151)
15545Problem: system() test fails on MS-Windows.
15546Solution: Deal with extra space and CR.
15547Files: src/testdir/test_system.vim
15548
15549Patch 8.0.0154 (after 8.0.0151)
15550Problem: system() test fails on OS/X.
15551Solution: Deal with leading spaces.
15552Files: src/testdir/test_system.vim
15553
15554Patch 8.0.0155
15555Problem: When sorting zero elements a NULL pointer is passed to qsort(),
15556 which ubsan warns for.
15557Solution: Don't call qsort() if there are no elements. (Dominique Pelle)
15558Files: src/syntax.c
15559
15560Patch 8.0.0156
15561Problem: Several float functions are not covered by tests.
15562Solution: Add float tests. (Dominique Pelle)
15563Files: src/Makefile, src/testdir/test_alot.vim,
15564 src/testdir/test_float_func.vim
15565
15566Patch 8.0.0157
15567Problem: No command line completion for ":syntax spell" and ":syntax sync".
15568Solution: Implement the completion. (Dominique Pelle)
15569Files: src/syntax.c, src/testdir/test_syntax.vim
15570
15571Patch 8.0.0158 (after 8.0.0156)
15572Problem: On MS-Windows some float functions return a different value when
15573 passed unusual values. strtod() doesn't work for "inf" and "nan".
15574Solution: Accept both results. Fix str2float() for MS-Windows. Also
15575 reorder assert function arguments.
15576Files: src/testdir/test_float_func.vim, src/eval.c
15577
15578Patch 8.0.0159
15579Problem: Using a NULL pointer when using feedkeys() to trigger drawing a
15580 tabline.
15581Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
15582 Also fix recursing into getcmdline() from the cmd window.
15583Files: src/screen.c, src/ex_getln.c
15584
15585Patch 8.0.0160
15586Problem: EMSG() is sometimes used for internal errors.
15587Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
15588Files: src/regexp_nfa.c, src/channel.c, src/eval.c
15589
15590Patch 8.0.0161 (after 8.0.0159)
15591Problem: Build fails when using small features.
15592Solution: Update #ifdef for using save_ccline. (Hirohito Higashi)
15593Files: src/ex_getln.c
15594
15595Patch 8.0.0162
15596Problem: Build error on Fedora 23 with small features and gnome2.
15597Solution: Undefine ngettext(). (Hirohito Higashi)
15598Files: src/gui_gtk.c, src/gui_gtk_x11.c
15599
15600Patch 8.0.0163
15601Problem: Ruby 2.4 no longer supports rb_cFixnum.
15602Solution: move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365)
15603Files: src/if_ruby.c
15604
15605Patch 8.0.0164
15606Problem: Outdated and misplaced comments.
15607Solution: Fix the comments.
15608Files: src/charset.c, src/getchar.c, src/list.c, src/misc2.c,
15609 src/testdir/README.txt
15610
15611Patch 8.0.0165
15612Problem: Ubsan warns for integer overflow.
15613Solution: Swap two conditions. (Dominique Pelle)
15614Files: src/regexp_nfa.c
15615
15616Patch 8.0.0166
15617Problem: JSON with a duplicate key gives an internal error. (Lcd)
15618Solution: Give a normal error. Avoid an error when parsing JSON from a
15619 remote client fails.
15620Files: src/evalfunc.c, src/json.c, src/channel.c,
15621 src/testdir/test_json.vim
15622
15623Patch 8.0.0167
15624Problem: str2nr() and str2float() do not always work with negative values.
15625Solution: Be more flexible about handling signs. (LemonBoy, closes #1332)
15626 Add more tests.
15627Files: src/evalfunc.c, src/testdir/test_float_func.vim,
15628 src/testdir/test_functions.vim, src/testdir/test_alot.vim,
15629 src/Makefile
15630
15631Patch 8.0.0168
15632Problem: Still some float functionality is not covered by tests.
15633Solution: Add more tests. (Dominique Pelle, closes #1364)
15634Files: src/testdir/test_float_func.vim
15635
15636Patch 8.0.0169
15637Problem: For complicated string json_decode() may run out of stack space.
15638Solution: Change the recursive solution into an iterative solution.
15639Files: src/json.c
15640
15641Patch 8.0.0170 (after 8.0.0169)
15642Problem: Channel test fails for using freed memory.
15643Solution: Fix memory use in json_decode().
15644Files: src/json.c
15645
15646Patch 8.0.0171
15647Problem: JS style JSON does not support single quotes.
15648Solution: Allow for single quotes. (Yasuhiro Matsumoto, closes #1371)
15649Files: src/json.c, src/testdir/test_json.vim, src/json_test.c,
15650 runtime/doc/eval.txt
15651
15652Patch 8.0.0172 (after 8.0.0159)
15653Problem: The command selected in the command line window is not executed.
15654 (Andrey Starodubtsev)
15655Solution: Save and restore the command line at a lower level. (closes #1370)
15656Files: src/ex_getln.c, src/testdir/test_history.vim
15657
15658Patch 8.0.0173
15659Problem: When compiling with EBCDIC defined the build fails. (Yaroslav
15660 Kuzmin)
15661Solution: Move sortFunctions() to the right file. Avoid warning for
15662 redefining __SUSV3.
15663Files: src/eval.c, src/evalfunc.c, src/os_unixx.h
15664
15665Patch 8.0.0174
15666Problem: For completion "locale -a" is executed on MS-Windows, even though
15667 it most likely won't work.
15668Solution: Skip executing "locale -a" on MS-Windows. (Ken Takata)
15669Files: src/ex_cmds2.c
15670
15671Patch 8.0.0175
15672Problem: Setting language in gvim on MS-Windows does not work when
15673 libintl.dll is dynamically linked with msvcrt.dll.
15674Solution: Use putenv() from libintl as well. (Ken Takata, closes #1082)
15675Files: src/mbyte.c, src/misc1.c, src/os_win32.c, src/proto/os_win32.pro,
15676 src/vim.h
15677
15678Patch 8.0.0176
15679Problem: Using :change in between :function and :endfunction fails.
15680Solution: Recognize :change inside a function. (ichizok, closes #1374)
15681Files: src/userfunc.c, src/testdir/test_viml.vim
15682
15683Patch 8.0.0177
15684Problem: When opening a buffer on a directory and inside a try/catch then
15685 the BufEnter event is not triggered.
15686Solution: Return NOTDONE from readfile() for a directory and deal with the
15687 three possible return values. (Justin M. Keyes, closes #1375,
15688 closes #1353)
15689Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/fileio.c,
15690 src/memline.c
15691
15692Patch 8.0.0178
15693Problem: test_command_count may fail when a previous test interferes, seen
15694 on MS-Windows.
15695Solution: Run it separately.
15696Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
15697
15698Patch 8.0.0179
15699Problem: 'formatprg' is a global option but the value may depend on the
15700 type of buffer. (Sung Pae)
15701Solution: Make 'formatprg' global-local. (closes #1380)
15702Files: src/structs.h, src/option.h, src/option.c, src/normal.c,
15703 runtime/doc/options.txt, src/testdir/test_normal.vim
15704
15705Patch 8.0.0180
15706Problem: Error E937 is used both for duplicate key in JSON and for trying
15707 to delete a buffer that is in use.
15708Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376)
15709Files: src/json.c, src/testdir/test_json.vim
15710
15711Patch 8.0.0181
15712Problem: When 'cursorbind' and 'cursorcolumn' are both on, the column
Bram Moolenaar2f058492017-11-30 20:27:52 +010015713 highlight in non-current windows is wrong.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015714Solution: Add validate_cursor(). (Masanori Misono, closes #1372)
15715Files: src/move.c
15716
15717Patch 8.0.0182
15718Problem: When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is
15719 not, then the cursor line highlighting is not updated. (Hirohito
15720 Higashi)
15721Solution: Call redraw_later() with NOT_VALID.
15722Files: src/move.c
15723
15724Patch 8.0.0183
15725Problem: Ubsan warns for using a pointer that is not aligned.
15726Solution: First copy the address. (Yegappan Lakshmanan)
15727Files: src/channel.c
15728
15729Patch 8.0.0184
15730Problem: When in Ex mode and an error is caught by try-catch, Vim still
15731 exits with a non-zero exit code.
15732Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian
15733 Brabandt)
15734Files: src/message.c, src/testdir/test_system.vim
15735
15736Patch 8.0.0185 (after 8.0.0184)
15737Problem: The system() test fails on MS-Windows.
15738Solution: Skip the test on MS-Windows.
15739Files: src/testdir/test_system.vim
15740
15741Patch 8.0.0186
15742Problem: The error message from assert_notequal() is confusing.
15743Solution: Only mention the expected value.
15744Files: src/eval.c, src/testdir/test_assert.vim
15745
15746Patch 8.0.0187
15747Problem: Building with a new Ruby version fails.
15748Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf,
15749 closes #1382)
15750Files: src/if_ruby.c
15751
15752Patch 8.0.0188 (after 8.0.0182)
15753Problem: Using NOT_VALID for redraw_later() to update the cursor
15754 line/column highlighting is not efficient.
15755Solution: Call validate_cursor() when 'cul' or 'cuc' is set.
15756Files: src/move.c
15757
15758Patch 8.0.0189
15759Problem: There are no tests for the :profile command.
15760Solution: Add tests. (Dominique Pelle, closes #1383)
15761Files: src/Makefile, src/testdir/Make_all.mak,
15762 src/testdir/test_profile.vim
15763
15764Patch 8.0.0190
15765Problem: Detecting duplicate tags uses a slow linear search.
15766Solution: Use a much faster hash table solution. (James McCoy, closes #1046)
15767 But don't add hi_keylen, it makes hash tables 50% bigger.
15768Files: src/tag.c
15769
15770Patch 8.0.0191 (after 8.0.0187)
15771Problem: Some systems do not have ruby_sysinit(), causing the build to
15772 fail.
15773Solution: Clean up how ruby_sysinit() and NtInitialize() are used. (Taro
15774 Muraoka)
15775Files: src/if_ruby.c
15776
15777Patch 8.0.0192 (after 8.0.0190)
15778Problem: Build fails with tiny features.
15779Solution: Change #ifdef for hash_clear(). Avoid warning for unused
15780 argument.
15781Files: src/hashtab.c, src/if_cscope.c
15782
15783Patch 8.0.0193 (after 8.0.0188)
15784Problem: Accidentally removed #ifdef.
15785Solution: Put it back. (Masanori Misono)
15786Files: src/move.c
15787
15788Patch 8.0.0194 (after 8.0.0189)
15789Problem: Profile tests fails if total and self time are equal.
15790Solution: Make one time optional.
15791Files: src/testdir/test_profile.vim
15792
15793Patch 8.0.0195 (after 8.0.0190)
15794Problem: Jumping to a tag that is a static item in the current file fails.
15795 (Kazunobu Kuriyama)
15796Solution: Make sure the first byte of the tag key is not NUL. (Suggested by
15797 James McCoy, closes #1387)
15798Files: src/tag.c, src/testdir/test_tagjump.vim
15799
15800Patch 8.0.0196 (after 8.0.0194)
15801Problem: The test for :profile is slow and does not work on MS-Windows.
15802Solution: Use the "-es" argument. (Dominique Pelle) Swap single and double
15803 quotes for system()
15804Files: src/testdir/test_profile.vim
15805
15806Patch 8.0.0197
15807Problem: On MS-Windows the system() test skips a few parts.
15808Solution: Swap single and double quotes for the command.
15809Files: src/testdir/test_system.vim
15810
15811Patch 8.0.0198
15812Problem: Some syntax arguments take effect even after "if 0". (Taylor
15813 Venable)
15814Solution: Properly skip the syntax statements. Make "syn case" and "syn
15815 conceal" report the current state. Fix that "syn clear" didn't
15816 reset the conceal flag. Add tests for :syntax skipping properly.
15817Files: src/syntax.c, src/testdir/test_syntax.vim
15818
15819Patch 8.0.0199
15820Problem: Warning for an unused parameter when the libcall feature is
15821 disabled. Warning for a function type cast when compiling with
15822 -pedantic.
15823Solution: Add UNUSED. Use a different type cast. (Damien Molinier)
15824Files: src/evalfunc.c, src/os_unix.c
15825
15826Patch 8.0.0200
15827Problem: Some syntax arguments are not tested.
15828Solution: Add more syntax command tests.
15829Files: src/testdir/test_syntax.vim
15830
15831Patch 8.0.0201
15832Problem: When completing a group name for a highlight or syntax command
15833 cleared groups are included.
15834Solution: Skip groups that have been cleared.
15835Files: src/syntax.c, src/testdir/test_syntax.vim
15836
15837Patch 8.0.0202
15838Problem: No test for invalid syntax group name.
15839Solution: Add a test for group name error and warning.
15840Files: src/testdir/test_syntax.vim
15841
15842Patch 8.0.0203
15843Problem: Order of complication flags is sometimes wrong.
15844Solution: Put interface-specific flags before ALL_CFLAGS. (idea by Yousong
15845 Zhou, closes #1100)
15846Files: src/Makefile
15847
15848Patch 8.0.0204
15849Problem: Compiler warns for uninitialized variable. (Tony Mechelynck)
15850Solution: When skipping set "id" to -1.
15851Files: src/syntax.c
15852
15853Patch 8.0.0205
15854Problem: After :undojoin some commands don't work properly, such as :redo.
15855 (Matthew Malcomson)
15856Solution: Don't set curbuf->b_u_curhead. (closes #1390)
15857Files: src/undo.c, src/testdir/test_undo.vim
15858
15859Patch 8.0.0206
15860Problem: Test coverage for :retab insufficient.
15861Solution: Add test for :retab. (Dominique Pelle, closes #1391)
15862Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_retab.vim
15863
15864Patch 8.0.0207
15865Problem: Leaking file descriptor when system() cannot find the buffer.
15866 (Coverity)
15867Solution: Close the file descriptor. (Dominique Pelle, closes #1398)
15868Files: src/evalfunc.c
15869
15870Patch 8.0.0208
15871Problem: Internally used commands for CTRL-Z and mouse click end up in
15872 history. (Matthew Malcomson)
15873Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead
15874 buffer. (James McCoy, closes #1395)
15875Files: src/edit.c, src/normal.c
15876
15877Patch 8.0.0209
15878Problem: When using :substitute with the "c" flag and 'cursorbind' is set
15879 the cursor is not updated in other windows.
15880Solution: Call do_check_cursorbind(). (Masanori Misono)
15881Files: src/ex_cmds.c
15882
15883Patch 8.0.0210
15884Problem: Vim does not support bracketed paste, as implemented by xterm and
15885 other terminals.
15886Solution: Add t_BE, t_BD, t_PS and t_PE.
15887Files: src/term.c, src/term.h, src/option.c, src/misc2.c, src/keymap.h,
15888 src/edit.c, src/normal.c, src/evalfunc.c, src/getchar.c,
15889 src/vim.h, src/proto/edit.pro, runtime/doc/term.txt
15890
15891Patch 8.0.0211 (after 8.0.0210)
15892Problem: Build fails if the multi-byte feature is disabled.
15893Solution: Change #ifdef around ins_char_bytes.
15894Files: src/misc1.c
15895
15896Patch 8.0.0212
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015897Problem: The buffer used to store a key name theoretically could be too
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015898 small. (Coverity)
15899Solution: Count all possible modifier characters. Add a check for the
15900 length just in case.
15901Files: src/keymap.h, src/misc2.c
15902
15903Patch 8.0.0213
15904Problem: The Netbeans "specialKeys" command does not check if the argument
15905 fits in the buffer. (Coverity)
15906Solution: Add a length check.
15907Files: src/netbeans.c
15908
15909Patch 8.0.0214
15910Problem: Leaking memory when syntax cluster id is unknown. (Coverity)
15911Solution: Free the memory.
15912Files: src/syntax.c
15913
15914Patch 8.0.0215
15915Problem: When a Cscope line contains CTRL-L a NULL pointer may be used.
15916 (Coverity)
15917Solution: Don't check for an emacs tag in a cscope line.
15918Files: src/tag.c
15919
15920Patch 8.0.0216
15921Problem: When decoding JSON with a JS style object the JSON test may use a
15922 NULL pointer. (Coverity)
15923Solution: Check for a NULL pointer.
15924Files: src/json.c, src/json_test.c
15925
15926Patch 8.0.0217 (after 8.0.0215)
15927Problem: Build fails without the cscope feature.
15928Solution: Add #ifdef.
15929Files: src/tag.c
15930
15931Patch 8.0.0218
15932Problem: No command line completion for :cexpr, :cgetexpr, :caddexpr, etc.
15933Solution: Make completion work. (Yegappan Lakshmanan) Add a test.
15934Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
15935
15936Patch 8.0.0219
15937Problem: Ubsan reports errors for integer overflow.
15938Solution: Define macros for minimum and maximum values. Select an
15939 expression based on the value. (Mike Williams)
15940Files: src/charset.c, src/eval.c, src/evalfunc.c, src/structs.h,
15941 src/testdir/test_viml.vim
15942
15943Patch 8.0.0220
15944Problem: Completion for :match does not show "none" and other missing
15945 highlight names.
15946Solution: Skip over cleared entries before checking the index to be at the
15947 end.
15948Files: src/syntax.c, src/testdir/test_cmdline.vim
15949
15950Patch 8.0.0221
15951Problem: Checking if PROTO is defined inside a function has no effect.
15952Solution: Remove the check for PROTO. (Hirohito Higashi)
15953Files: src/misc1.c
15954
15955Patch 8.0.0222
15956Problem: When a multi-byte character ends in a zero byte, putting blockwise
15957 text puts it before the character instead of after it.
15958Solution: Use int instead of char for the character under the cursor.
15959 (Luchr, closes #1403) Add a test.
15960Files: src/ops.c, src/testdir/test_put.vim, src/Makefile,
15961 src/testdir/test_alot.vim
15962
15963Patch 8.0.0223
15964Problem: Coverity gets confused by the flags passed to find_tags() and
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015965 warns about uninitialized variable.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015966Solution: Disallow using cscope and help tags at the same time.
15967Files: src/tag.c
15968
15969Patch 8.0.0224
15970Problem: When 'fileformats' is changed in a BufReadPre auto command, it
15971 does not take effect in readfile(). (Gary Johnson)
15972Solution: Check the value of 'fileformats' after executing auto commands.
15973 (Christian Brabandt)
15974Files: src/fileio.c, src/testdir/test_fileformat.vim
15975
15976Patch 8.0.0225
15977Problem: When a block is visually selected and put is used on the end of
15978 the selection only one line is changed.
15979Solution: Check for the end properly. (Christian Brabandt, neovim issue
15980 5781)
15981Files: src/ops.c, src/testdir/test_put.vim
15982
15983Patch 8.0.0226
15984Problem: The test for patch 8.0.0224 misses the CR characters and passes
15985 even without the fix. (Christian Brabandt)
15986Solution: Use double quotes and \<CR>.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020015987Files: src/testdir/test_fileformat.vim
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015988
15989Patch 8.0.0227
15990Problem: Crash when 'fileformat' is forced to "dos" and the first line in
15991 the file is empty and does not have a CR character.
15992Solution: Don't check for CR before the start of the buffer.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020015993Files: src/fileio.c, src/testdir/test_fileformat.vim
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015994
15995Patch 8.0.0228 (after 8.0.0210)
15996Problem: When pasting test in an xterm on the command line it is surrounded
15997 by <PasteStart> and <PasteEnd>. (Johannes Kaltenbach)
15998Solution: Add missing changes.
15999Files: src/ex_getln.c, src/term.c
16000
16001Patch 8.0.0229 (after 8.0.0179)
16002Problem: When freeing a buffer the local value of the 'formatprg' option is
16003 not cleared.
16004Solution: Add missing change.
16005Files: src/buffer.c
16006
16007Patch 8.0.0230 (after 8.0.0210)
16008Problem: When using bracketed paste line breaks are not respected.
16009Solution: Turn CR characters into a line break if the text is being
16010 inserted. (closes #1404)
16011Files: src/edit.c
16012
16013Patch 8.0.0231
16014Problem: There are no tests for bracketed paste mode.
16015Solution: Add a test. Fix repeating with "normal .".
16016Files: src/edit.c, src/testdir/test_paste.vim, src/Makefile,
16017 src/testdir/Make_all.mak
16018
16019Patch 8.0.0232
16020Problem: Pasting in Insert mode does not work when bracketed paste is used
16021 and 'esckeys' is off.
16022Solution: When 'esckeys' is off disable bracketed paste in Insert mode.
16023Files: src/edit.c
16024
16025Patch 8.0.0233 (after 8.0.0231)
16026Problem: The paste test fails if the GUI is being used.
16027Solution: Skip the test in the GUI.
16028Files: src/testdir/test_paste.vim
16029
16030Patch 8.0.0234 (after 8.0.0225)
16031Problem: When several lines are visually selected and one of them is short,
16032 using put may cause a crash. (Axel Bender)
16033Solution: Check for a short line. (Christian Brabandt)
16034Files: src/ops.c, src/testdir/test_put.vim
16035
16036Patch 8.0.0235
16037Problem: Memory leak detected when running tests for diff mode.
16038Solution: Free p_extra_free.
16039Files: src/screen.c
16040
16041Patch 8.0.0236 (after 8.0.0234)
16042Problem: Gcc complains that a variable may be used uninitialized. Confusion
16043 between variable and label name. (John Marriott)
16044Solution: Initialize it. Rename end to end_lnum.
16045Files: src/ops.c
16046
16047Patch 8.0.0237
16048Problem: When setting wildoptions=tagfile the completion context is not set
16049 correctly. (desjardins)
16050Solution: Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes #1399)
16051Files: src/ex_getln.c, src/testdir/test_cmdline.vim
16052
16053Patch 8.0.0238
16054Problem: When using bracketed paste autoindent causes indent to be
16055 increased.
16056Solution: Disable 'ai' and set 'paste' temporarily. (Ken Takata)
16057Files: src/edit.c, src/testdir/test_paste.vim
16058
16059Patch 8.0.0239
16060Problem: The address sanitizer sometimes finds errors, but it needs to be
16061 run manually.
16062Solution: Add an environment to Travis with clang and the address sanitizer.
16063 (Christian Brabandt) Also include changes only on github.
16064Files: .travis.yml
16065
16066Patch 8.0.0240 (after 8.0.0239)
16067Problem: The clang build on CI fails with one configuration.
16068Solution: Redo a previous patch that was accidentally reverted.
16069Files: .travis.yml
16070
16071Patch 8.0.0241
16072Problem: Vim defines a mch_memmove() function but it doesn't work, thus is
16073 always unused.
16074Solution: Remove the mch_memmove implementation. (suggested by Dominique
16075 Pelle)
16076Files: src/os_unix.h, src/misc2.c, src/vim.h
16077
16078Patch 8.0.0242
16079Problem: Completion of user defined functions is not covered by tests.
16080Solution: Add tests. Also test various errors of user-defined commands.
16081 (Dominique Pelle, closes #1413)
16082Files: src/testdir/test_usercommands.vim
16083
16084Patch 8.0.0243
16085Problem: When making a character lower case with tolower() changes the byte
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016086 count, it is not made lower case.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016087Solution: Add strlow_save(). (Dominique Pelle, closes #1406)
16088Files: src/evalfunc.c, src/misc2.c, src/proto/misc2.pro,
16089 src/testdir/test_functions.vim
16090
16091Patch 8.0.0244
16092Problem: When the user sets t_BE empty after startup to disable bracketed
16093 paste, this has no direct effect.
16094Solution: When t_BE is made empty write t_BD. When t_BE is made non-empty
16095 write the new value.
16096Files: src/option.c
16097
16098Patch 8.0.0245
16099Problem: The generated zh_CN.cp936.po message file is not encoded properly.
16100Solution: Instead of using zh_CN.po as input, use zh_CN.UTF-8.po.
16101Files: src/po/Makefile
16102
16103Patch 8.0.0246
16104Problem: Compiler warnings for int to pointer conversion.
16105Solution: Fix macro for mch_memmove(). (John Marriott)
16106Files: src/vim.h
16107
16108Patch 8.0.0247
16109Problem: Under some circumstances, one needs to type Ctrl-N or Ctrl-P twice
16110 to have a menu entry selected. (Lifepillar)
16111Solution: call ins_compl_free(). (Christian Brabandt, closes #1411)
16112Files: src/edit.c, src/testdir/test_popup.vim
16113
16114Patch 8.0.0248
16115Problem: vim_strcat() cannot handle overlapping arguments.
16116Solution: Use mch_memmove() instead of strcpy(). (Justin M Keyes,
16117 closes #1415)
16118Files: src/misc2.c
16119
16120Patch 8.0.0249
16121Problem: When two submits happen quick after each other, the tests for the
16122 first one may error out.
16123Solution: Use a git depth of 10 instead of 1. (Christian Brabandt)
16124Files: .travis.yml
16125
16126Patch 8.0.0250
16127Problem: When virtcol() gets a column that is not the first byte of a
16128 multi-byte character the result is unpredictable. (Christian
16129 Ludwig)
16130Solution: Correct the column to the first byte of a multi-byte character.
16131 Change the utf-8 test to new style.
16132Files: src/charset.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok,
16133 src/testdir/test_utf8.vim, src/Makefile, src/testdir/Make_all.mak,
16134 src/testdir/test_alot_utf8.vim
16135
16136Patch 8.0.0251
16137Problem: It is not so easy to write a script that works with both Python 2
16138 and Python 3, even when the Python code works with both.
16139Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata)
16140Files: Filelist, runtime/doc/eval.txt, runtime/doc/if_pyth.txt,
16141 runtime/doc/index.txt, runtime/doc/options.txt,
16142 runtime/optwin.vim, runtime/doc/quickref.txt,
16143 runtime/doc/usr_41.txt, src/Makefile, src/evalfunc.c,
16144 src/ex_cmds.h, src/ex_cmds2.c, src/ex_docmd.c, src/if_python.c,
16145 src/if_python3.c, src/option.c, src/option.h,
16146 src/proto/ex_cmds2.pro, src/testdir/Make_all.mak,
16147 src/testdir/pyxfile/py2_magic.py,
16148 src/testdir/pyxfile/py2_shebang.py,
16149 src/testdir/pyxfile/py3_magic.py,
16150 src/testdir/pyxfile/py3_shebang.py, src/testdir/pyxfile/pyx.py,
16151 src/testdir/test_pyx2.vim, src/testdir/test_pyx3.vim
16152 src/userfunc.c
16153
16154Patch 8.0.0252
16155Problem: Characters below 256 that are not one byte are not always
16156 recognized as word characters.
16157Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test
16158 for this. (Ozaki Kiichi)
16159Files: src/Makefile, src/charset.c, src/kword_test.c, src/mbyte.c,
16160 src/proto/mbyte.pro
16161
16162Patch 8.0.0253
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016163Problem: When creating a session when 'winminheight' is 2 or larger and
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016164 loading that session gives an error.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016165Solution: Also set 'winminheight' before setting 'winheight' to 1. (Rafael
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016166 Bodill, neovim #5717)
16167Files: src/ex_docmd.c, src/testdir/test_mksession.vim
16168
16169Patch 8.0.0254
16170Problem: When using an assert function one can either specify a message or
16171 get a message about what failed, not both.
16172Solution: Concatenate the error with the message.
16173Files: src/eval.c, src/testdir/test_assert.vim
16174
16175Patch 8.0.0255
16176Problem: When calling setpos() with a buffer argument it often is ignored.
16177 (Matthew Malcomson)
16178Solution: Make the buffer argument work for all marks local to a buffer.
16179 (neovim #5713) Add more tests.
16180Files: src/mark.c, src/testdir/test_marks.vim, runtime/doc/eval.txt
16181
16182Patch 8.0.0256 (after 8.0.0255)
16183Problem: Tests fail because some changes were not included.
16184Solution: Add changes to evalfunc.c
16185Files: src/evalfunc.c
16186
16187Patch 8.0.0257 (after 8.0.0252)
16188Problem: The keyword test file is not included in the archive.
16189Solution: Update the list of files.
16190Files: Filelist
16191
16192Patch 8.0.0258 (after 8.0.0253)
16193Problem: mksession test leaves file behind.
16194Solution: Delete the file. Rename files to start with "X".
16195Files: src/testdir/test_mksession.vim
16196
16197Patch 8.0.0259
16198Problem: Tab commands do not handle count correctly. (Ken Hamada)
16199Solution: Add ADDR_TABS_RELATIVE. (Hirohito Higashi)
16200Files: runtime/doc/tabpage.txt, src/ex_cmds.h, src/ex_docmd.c,
16201 src/testdir/test_tabpage.vim
16202
16203Patch 8.0.0260
16204Problem: Build fails with tiny features.
16205Solution: Move get_tabpage_arg() inside #ifdef.
16206Files: src/ex_docmd.c
16207
16208Patch 8.0.0261
16209Problem: Not enough test coverage for eval functions.
16210Solution: Add more tests. (Dominique Pelle, closes #1420)
16211Files: src/testdir/test_functions.vim
16212
16213Patch 8.0.0262
16214Problem: Farsi support is barely tested.
16215Solution: Add more tests for Farsi. Clean up the code.
16216Files: src/edit.c, src/farsi.c, src/testdir/test_farsi.vim
16217
16218Patch 8.0.0263
16219Problem: Farsi support is not tested enough.
16220Solution: Add more tests for Farsi. Clean up the code.
16221Files: src/farsi.c, src/testdir/test_farsi.vim
16222
16223Patch 8.0.0264
16224Problem: Memory error reported by ubsan, probably for using the string
16225 returned by execute().
16226Solution: NUL terminate the result of execute().
16227Files: src/evalfunc.c
16228
16229Patch 8.0.0265
16230Problem: May get ml_get error when :pydo deletes lines or switches to
16231 another buffer. (Nikolai Pavlov, issue #1421)
16232Solution: Check the buffer and line every time.
16233Files: src/if_py_both.h, src/testdir/test_python2.vim,
16234 src/testdir/test_python3.vim, src/Makefile,
16235 src/testdir/Make_all.mak
16236
16237Patch 8.0.0266
16238Problem: Compiler warning for using uninitialized variable.
16239Solution: Set tab_number also when there is an error.
16240Files: src/ex_docmd.c
16241
16242Patch 8.0.0267
16243Problem: A channel test sometimes fails on Mac.
16244Solution: Add the test to the list of flaky tests.
16245Files: src/testdir/runtest.vim
16246
16247Patch 8.0.0268
16248Problem: May get ml_get error when :luado deletes lines or switches to
16249 another buffer. (Nikolai Pavlov, issue #1421)
16250Solution: Check the buffer and line every time.
16251Files: src/if_lua.c, src/testdir/test_lua.vim, src/Makefile,
16252 src/testdir/Make_all.mak
16253
16254Patch 8.0.0269
16255Problem: May get ml_get error when :perldo deletes lines or switches to
16256 another buffer. (Nikolai Pavlov, issue #1421)
16257Solution: Check the buffer and line every time.
16258Files: src/if_perl.xs, src/testdir/test_perl.vim
16259
16260Patch 8.0.0270
16261Problem: May get ml_get error when :rubydo deletes lines or switches to
16262 another buffer. (Nikolai Pavlov, issue #1421)
16263Solution: Check the buffer and line every time.
16264Files: src/if_ruby.c, src/testdir/test_ruby.vim
16265
16266Patch 8.0.0271
16267Problem: May get ml_get error when :tcldo deletes lines or switches to
16268 another buffer. (Nikolai Pavlov, closes #1421)
16269Solution: Check the buffer and line every time.
16270Files: src/if_tcl.c, src/testdir/test_tcl.vim, src/Makefile,
16271 src/testdir/Make_all.mak
16272
16273Patch 8.0.0272
16274Problem: Crash on exit is not detected when running tests.
16275Solution: Remove the dash before the command. (Dominique Pelle, closes
16276 #1425)
16277Files: src/testdir/Makefile
16278
16279Patch 8.0.0273
16280Problem: Dead code detected by Coverity when not using gnome.
16281Solution: Rearrange the #ifdefs to avoid dead code.
16282Files: src/gui_gtk_x11.c
16283
16284Patch 8.0.0274
16285Problem: When update_single_line() is called recursively, or another screen
16286 update happens while it is busy, errors may occur.
16287Solution: Check and update updating_screen. (Christian Brabandt)
16288Files: src/screen.c
16289
16290Patch 8.0.0275
16291Problem: When checking for CTRL-C typed the GUI may detect a screen resize
16292 and redraw the screen, causing trouble.
16293Solution: Set updating_screen in ui_breakcheck().
16294Files: src/ui.c
16295
16296Patch 8.0.0276
16297Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary.
16298Solution: Remove the #ifdef. (Kazunobu Kuriyama)
16299Files: src/gui_gtk_x11.c
16300
16301Patch 8.0.0277
16302Problem: The GUI test may trigger fontconfig and take a long time.
16303Solution: Set $XDG_CACHE_HOME. (Kazunobu Kuriyama)
16304Files: src/testdir/unix.vim, src/testdir/test_gui.vim
16305
16306Patch 8.0.0278 (after 8.0.0277)
16307Problem: GUI test fails on MS-Windows.
16308Solution: Check that tester_HOME exists.
16309Files: src/testdir/test_gui.vim
16310
16311Patch 8.0.0279
16312Problem: With MSVC 2015 the dll name is vcruntime140.dll.
16313Solution: Check the MSVC version and use the right dll name. (Ken Takata)
16314Files: src/Make_mvc.mak
16315
16316Patch 8.0.0280
16317Problem: On MS-Windows setting an environment variable with multi-byte
16318 strings does not work well.
16319Solution: Use wputenv when possible. (Taro Muraoka, Ken Takata)
16320Files: src/misc1.c, src/os_win32.c, src/os_win32.h,
16321 src/proto/os_win32.pro, src/vim.h
16322
16323Patch 8.0.0281
16324Problem: MS-Windows files are still using ARGSUSED while most other files
16325 have UNUSED.
16326Solution: Change ARGSUSED to UNUSED or delete it.
16327Files: src/os_win32.c, src/gui_w32.c, src/os_mswin.c, src/os_w32exe.c,
16328 src/winclip.c
16329
16330Patch 8.0.0282
16331Problem: When doing a Visual selection and using "I" to go to insert mode,
16332 CTRL-O needs to be used twice to go to Normal mode. (Coacher)
16333Solution: Check for the return value of edit(). (Christian Brabandt,
16334 closes #1290)
16335Files: src/normal.c, src/ops.c
16336
16337Patch 8.0.0283
16338Problem: The return value of mode() does not indicate that completion is
16339 active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu)
16340Solution: Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan,
16341 closes #1397) Test some more modes.
16342Files: runtime/doc/eval.txt, src/evalfunc.c,
16343 src/testdir/test_functions.vim, src/testdir/test_mapping.vim
16344
16345Patch 8.0.0284
16346Problem: The Test_collapse_buffers() test failed once, looks like it is
16347 flaky.
16348Solution: Add it to the list of flaky tests.
16349Files: src/testdir/runtest.vim
16350
16351Patch 8.0.0285 (after 8.0.0277)
16352Problem: Tests fail with tiny build on Unix.
16353Solution: Only set g:tester_HOME when build with the +eval feature.
16354Files: src/testdir/unix.vim
16355
16356Patch 8.0.0286
16357Problem: When concealing is active and the screen is resized in the GUI it
16358 is not immediately redrawn.
16359Solution: Use update_prepare() and update_finish() from
16360 update_single_line().
16361Files: src/screen.c
16362
16363Patch 8.0.0287
16364Problem: Cannot access the arguments of the current function in debug mode.
16365 (Luc Hermitte)
16366Solution: use get_funccal(). (Lemonboy, closes #1432, closes #1352)
16367Files: src/userfunc.c
16368
16369Patch 8.0.0288 (after 8.0.0284)
16370Problem: Errors reported while running tests.
16371Solution: Put comma in the right place.
16372Files: src/testdir/runtest.vim
16373
16374Patch 8.0.0289
16375Problem: No test for "ga" and :ascii.
16376Solution: Add a test. (Dominique Pelle, closes #1429)
16377Files: src/Makefile, src/testdir/test_alot.vim, src/testdir/test_ga.vim
16378
16379Patch 8.0.0290
16380Problem: If a wide character doesn't fit at the end of the screen line, and
16381 the line doesn't fit on the screen, then the cursor position may
16382 be wrong. (anliting)
16383Solution: Don't skip over wide character. (Christian Brabandt, closes #1408)
16384Files: src/screen.c
16385
16386Patch 8.0.0291 (after 8.0.0282)
16387Problem: Visual block insertion does not insert in all lines.
16388Solution: Don't bail out of insert too early. Add a test. (Christian
16389 Brabandt, closes #1290)
16390Files: src/ops.c, src/testdir/test_visual.vim
16391
16392Patch 8.0.0292
16393Problem: The stat test is a bit slow.
16394Solution: Remove a couple of sleep comments and reduce another.
16395Files: src/testdir/test_stat.vim
16396
16397Patch 8.0.0293
16398Problem: Some tests have a one or three second wait.
16399Solution: Reset the 'showmode' option. Use a test time of one to disable
16400 sleep after an error or warning message.
16401Files: src/misc1.c, src/testdir/runtest.vim, src/testdir/test_normal.vim
16402
16403Patch 8.0.0294
16404Problem: Argument list is not stored correctly in a session file.
16405 (lgpasquale)
16406Solution: Use "$argadd" instead of "argadd". (closes #1434)
16407Files: src/ex_docmd.c, src/testdir/test_mksession.vim
16408
16409Patch 8.0.0295 (after 8.0.0293)
16410Problem: test_viml hangs.
16411Solution: Put resetting 'more' before sourcing the script.
16412Files: src/testdir/runtest.vim
16413
16414Patch 8.0.0296
16415Problem: Bracketed paste can only append, not insert.
16416Solution: When the cursor is in the first column insert the text.
16417Files: src/normal.c, src/testdir/test_paste.vim, runtime/doc/term.txt
16418
16419Patch 8.0.0297
16420Problem: Double free on exit when using a closure. (James McCoy)
16421Solution: Split free_al_functions in two parts. (closes #1428)
16422Files: src/userfunc.c, src/structs.h
16423
16424Patch 8.0.0298
16425Problem: Ex command range with repeated search does not work. (Bruce
16426 DeVisser)
16427Solution: Skip over \/, \? and \&.
16428Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
16429
16430Patch 8.0.0299
16431Problem: When the GUI window is resized Vim does not always take over the
16432 new size. (Luchr)
16433Solution: Reset new_p_guifont in gui_resize_shell(). Call
16434 gui_may_resize_shell() in the main loop.
16435Files: src/main.c, src/gui.c
16436
16437Patch 8.0.0300
16438Problem: Cannot stop diffing hidden buffers. (Daniel Hahler)
16439Solution: When using :diffoff! make the whole list if diffed buffers empty.
16440 (closes #736)
16441Files: src/diff.c, src/testdir/test_diffmode.vim
16442
16443Patch 8.0.0301
16444Problem: No tests for ":set completion" and various errors of the :set
16445 command.
16446Solution: Add more :set tests. (Dominique Pelle, closes #1440)
16447Files: src/testdir/test_options.vim
16448
16449Patch 8.0.0302
16450Problem: Cannot set terminal key codes with :let.
16451Solution: Make it work.
16452Files: src/option.c, src/testdir/test_assign.vim
16453
16454Patch 8.0.0303
16455Problem: Bracketed paste does not work in Visual mode.
16456Solution: Delete the text before pasting
16457Files: src/normal.c, src/ops.c, src/proto/ops.pro,
16458 src/testdir/test_paste.vim
16459
16460Patch 8.0.0304 (after 8.0.0302)
16461Problem: Assign test fails in the GUI.
16462Solution: Skip the test for setting t_k1.
16463Files: src/testdir/test_assign.vim
16464
16465Patch 8.0.0305
16466Problem: Invalid memory access when option has duplicate flag.
16467Solution: Correct pointer computation. (Dominique Pelle, closes #1442)
16468Files: src/option.c, src/testdir/test_options.vim
16469
16470Patch 8.0.0306
16471Problem: mode() not sufficiently tested.
16472Solution: Add more tests. (Yegappan Lakshmanan)
16473Files: src/testdir/test_functions.vim
16474
16475Patch 8.0.0307
16476Problem: Asan detects a memory error when EXITFREE is defined. (Dominique
16477 Pelle)
16478Solution: In getvcol() check for ml_get_buf() returning an empty string.
16479 Also skip adjusting the scroll position. Set "exiting" in
16480 mch_exit() for all systems.
16481Files: src/charset.c, src/window.c, src/os_mswin.c, src/os_win32.c,
16482 src/os_amiga.c
16483
16484Patch 8.0.0308
16485Problem: When using a symbolic link, the package path will not be inserted
16486 at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi)
16487Solution: Resolve symbolic links when finding the right position in
16488 'runtimepath'. (Hirohito Higashi)
16489Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
16490
16491Patch 8.0.0309
16492Problem: Cannot use an empty key in json.
16493Solution: Allow for using an empty key.
16494Files: src/json.c, src/testdir/test_json.vim
16495
16496Patch 8.0.0310
16497Problem: Not enough testing for GUI functionality.
16498Solution: Add tests for v:windowid and getwinpos[xy](). (Kazunobu Kuriyama)
16499Files: src/testdir/test_gui.vim
16500
16501Patch 8.0.0311
16502Problem: Linebreak tests are old style.
16503Solution: Turn the tests into new style. Share utility functions. (Ozaki
16504 Kiichi, closes #1444)
16505Files: src/Makefile, src/testdir/Make_all.mak,
16506 src/testdir/test_breakindent.vim, src/testdir/test_listlbr.in,
16507 src/testdir/test_listlbr.ok, src/testdir/test_listlbr.vim,
16508 src/testdir/test_listlbr_utf8.in,
16509 src/testdir/test_listlbr_utf8.ok,
16510 src/testdir/test_listlbr_utf8.vim, src/testdir/view_util.vim
16511
16512Patch 8.0.0312
16513Problem: When a json message arrives in pieces, the start is dropped and
16514 the decoding fails.
16515Solution: Do not drop the start when it is still needed. (Kay Zheng) Add a
16516 test. Reset the timeout when something is received.
16517Files: src/channel.c, src/testdir/test_channel.vim, src/structs.h,
16518 src/testdir/test_channel_pipe.py
16519
16520Patch 8.0.0313 (after 8.0.0310)
16521Problem: Not enough testing for GUI functionality.
16522Solution: Add tests for the GUI font. (Kazunobu Kuriyama)
16523Files: src/testdir/test_gui.vim
16524
16525Patch 8.0.0314
16526Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested.
16527Solution: Add tests. (Yegappan Lakshmanan)
16528Files: src/testdir/test_cmdline.vim
16529
16530Patch 8.0.0315
16531Problem: ":help :[range]" does not work. (Tony Mechelynck)
16532Solution: Translate to insert a backslash.
16533Files: src/ex_cmds.c
16534
16535Patch 8.0.0316
16536Problem: ":help z?" does not work. (Pavol Juhas)
16537Solution: Remove exception for z?.
16538Files: src/ex_cmds.c
16539
16540Patch 8.0.0317
16541Problem: No test for setting 'guifont'.
16542Solution: Add a test for X11 GUIs. (Kazunobu Kuriyama)
16543Files: src/testdir/test_gui.vim
16544
16545Patch 8.0.0318
16546Problem: Small mistake in 7x13 font name.
16547Solution: Use ISO 8859-1 name instead of 10646-1. (Kazunobu Kuriyama)
16548Files: src/testdir/test_gui.vim
16549
16550Patch 8.0.0319
16551Problem: Insert mode completion does not respect "start" in 'backspace'.
16552Solution: Check whether backspace can go before where insert started.
16553 (Hirohito Higashi)
16554Files: src/edit.c, src/testdir/test_popup.vim
16555
16556Patch 8.0.0320
16557Problem: Warning for unused variable with small build.
16558Solution: Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)
16559Files: src/ex_getln.c
16560
16561Patch 8.0.0321
16562Problem: When using the tiny version trying to load the matchit plugin
16563 gives an error. On MS-Windows some default mappings fail.
16564Solution: Add a check if the command used is available. (Christian Brabandt)
16565Files: runtime/mswin.vim, runtime/macros/matchit.vim
16566
16567Patch 8.0.0322
16568Problem: Possible overflow with spell file where the tree length is
16569 corrupted.
16570Solution: Check for an invalid length (suggested by shqking)
16571Files: src/spellfile.c
16572
16573Patch 8.0.0323
16574Problem: When running the command line tests there is a one second wait.
16575Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan)
16576Files: src/testdir/test_cmdline.vim
16577
16578Patch 8.0.0324
16579Problem: Illegal memory access with "1;y".
16580Solution: Call check_cursor() instead of check_cursor_lnum(). (Dominique
16581 Pelle, closes #1455)
16582Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
16583
16584Patch 8.0.0325
16585Problem: Packadd test does not clean up symlink.
16586Solution: Delete the link. (Hirohito Higashi)
16587Files: src/testdir/test_packadd.vim
16588
16589Patch 8.0.0326 (after 8.0.0325)
16590Problem: Packadd test uses wrong directory name.
16591Solution: Use the variable name value. (Hirohito Higashi)
16592Files: src/testdir/test_packadd.vim
16593
16594Patch 8.0.0327
16595Problem: The E11 error message in the command line window is not
16596 translated.
16597Solution: use _(). (Hirohito Higashi)
16598Files: src/ex_docmd.c
16599
16600Patch 8.0.0328
16601Problem: The "zero count" error doesn't have a number. (Hirohito Higashi)
16602Solution: Give it a number and be more specific about the error.
16603Files: src/globals.h
16604
16605Patch 8.0.0329
16606Problem: Xfontset and guifontwide are not tested.
16607Solution: Add tests. (Kazunobu Kuriyama)
16608Files: src/testdir/test_gui.vim
16609
16610Patch 8.0.0330
16611Problem: Illegal memory access after "vapo". (Dominique Pelle)
16612Solution: Fix the cursor column.
16613Files: src/search.c, src/testdir/test_visual.vim
16614
16615Patch 8.0.0331
16616Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle)
16617Solution: Don't restore a snapshot when the window closes.
16618Files: src/window.c, src/Makefile, src/testdir/Make_all.mak,
16619 src/testdir/test_help.vim
16620
16621Patch 8.0.0332
16622Problem: GUI test fails on some systems.
16623Solution: Try different language settings. (Kazunobu Kuriyama)
16624Files: src/testdir/test_gui.vim
16625
16626Patch 8.0.0333
16627Problem: Illegal memory access when 'complete' ends in a backslash.
16628Solution: Check for trailing backslash. (Dominique Pelle, closes #1478)
16629Files: src/option.c, src/testdir/test_options.vim
16630
16631Patch 8.0.0334
16632Problem: Can't access b:changedtick from a dict reference.
16633Solution: Make changedtick a member of the b: dict. (inspired by neovim
16634 #6112)
16635Files: src/structs.h, src/buffer.c, src/edit.c, src/eval.c,
16636 src/evalfunc.c, src/ex_docmd.c, src/main.c, src/globals.h,
16637 src/fileio.c, src/memline.c, src/misc1.c, src/syntax.c,
16638 src/proto/eval.pro, src/testdir/test_changedtick.vim,
16639 src/Makefile, src/testdir/test_alot.vim, src/testdir/test91.in,
16640 src/testdir/test91.ok, src/testdir/test_functions.vim
16641
16642Patch 8.0.0335 (after 8.0.0335)
16643Problem: Functions test fails.
16644Solution: Use the right buffer number.
16645Files: src/testdir/test_functions.vim
16646
16647Patch 8.0.0336
16648Problem: Flags of :substitute not sufficiently tested.
16649Solution: Test up to two letter flag combinations. (James McCoy, closes
16650 #1479)
16651Files: src/testdir/test_substitute.vim
16652
16653Patch 8.0.0337
16654Problem: Invalid memory access in :recover command.
16655Solution: Avoid access before directory name. (Dominique Pelle,
16656 closes #1488)
16657Files: src/Makefile, src/memline.c, src/testdir/test_alot.vim,
16658 src/testdir/test_recover.vim
16659
16660Patch 8.0.0338 (after 8.0.0337)
16661Problem: :recover test fails on MS-Windows.
16662Solution: Use non-existing directory on MS-Windows.
16663Files: src/testdir/test_recover.vim
16664
16665Patch 8.0.0339
16666Problem: Illegal memory access with vi'
16667Solution: For quoted text objects bail out if the Visual area spans more
16668 than one line.
16669Files: src/search.c, src/testdir/test_visual.vim
16670
16671Patch 8.0.0340
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016672Problem: Not checking return value of dict_add(). (Coverity)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016673Solution: Handle a failure.
16674Files: src/buffer.c
16675
16676Patch 8.0.0341
16677Problem: When using complete() and typing a character undo is saved after
16678 the character was inserted. (Shougo)
16679Solution: Save for undo before inserting the character.
16680Files: src/edit.c, src/testdir/test_popup.vim
16681
16682Patch 8.0.0342
16683Problem: Double free when compiled with EXITFREE and setting 'ttytype'.
16684Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
16685 closes #1461)
16686Files: src/option.c, src/testdir/test_options.vim
16687
16688Patch 8.0.0343
16689Problem: b:changedtick can be unlocked, even though it has no effect.
16690 (Nikolai Pavlov)
16691Solution: Add a check and error E940. (closes #1496)
16692Files: src/eval.c, src/testdir/test_changedtick.vim, runtime/doc/eval.txt
16693
16694Patch 8.0.0344
16695Problem: Unlet command leaks memory. (Nikolai Pavlov)
16696Solution: Free the memory on error. (closes #1497)
16697Files: src/eval.c, src/testdir/test_unlet.vim
16698
16699Patch 8.0.0345
16700Problem: islocked('d.changedtick') does not work.
16701Solution: Make it work.
16702Files: src/buffer.c, src/eval.c, src/evalfunc.c, src/vim.h,
16703 src/testdir/test_changedtick.vim,
16704
16705Patch 8.0.0346
16706Problem: Vim relies on limits.h to be included indirectly, but on Solaris 9
16707 it may not be. (Ben Fritz)
16708Solution: Always include limits.h.
16709Files: src/os_unixx.h, src/vim.h
16710
16711Patch 8.0.0347
16712Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment
16713 leader may not work. (Klement)
16714Solution: Save and restore did_ai. (Christian Brabandt, closes #1494)
16715Files: src/edit.c, src/testdir/test_popup.vim
16716
16717Patch 8.0.0348
16718Problem: When building with a shadow directory on macOS lacks the
16719 +clipboard feature.
16720Solution: Link *.m files, specifically os_macosx.m. (Kazunobu Kuriyama)
16721Files: src/Makefile
16722
16723Patch 8.0.0349
16724Problem: Redrawing errors with GTK 3.
16725Solution: When updating, first clear all rectangles and then draw them.
16726 (Kazunobu Kuriyama, Christian Ludwig, closes #848)
16727Files: src/gui_gtk_x11.c
16728
16729Patch 8.0.0350
16730Problem: Not enough test coverage for Perl.
16731Solution: Add more Perl tests. (Dominique Perl, closes #1500)
16732Files: src/testdir/test_perl.vim
16733
16734Patch 8.0.0351
16735Problem: No test for concatenating an empty string that results from out of
16736 bounds indexing.
16737Solution: Add a simple test.
16738Files: src/testdir/test_expr.vim
16739
16740Patch 8.0.0352
16741Problem: The condition for when a typval needs to be cleared is too
16742 complicated.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016743Solution: Init the type to VAR_UNKNOWN and always clear it.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016744Files: src/eval.c
16745
16746Patch 8.0.0353
16747Problem: If [RO] in the status line is translated to a longer string, it is
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016748 truncated to 4 bytes.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016749Solution: Skip over the resulting string. (Jente Hidskes, closes #1499)
16750Files: src/screen.c
16751
16752Patch 8.0.0354
16753Problem: Test to check that setting termcap key fails sometimes.
16754Solution: Check for "t_k1" to exist. (Christian Brabandt, closes #1459)
16755Files: src/testdir/test_assign.vim
16756
16757Patch 8.0.0355
16758Problem: Using uninitialized memory when 'isfname' is empty.
16759Solution: Don't call getpwnam() without an argument. (Dominique Pelle,
16760 closes #1464)
16761Files: src/misc1.c, src/testdir/test_options.vim
16762
16763Patch 8.0.0356 (after 8.0.0342)
16764Problem: Leaking memory when setting 'ttytype'.
16765Solution: Get free_oldval from the right option entry.
16766Files: src/option.c
16767
16768Patch 8.0.0357
16769Problem: Crash when setting 'guicursor' to weird value.
16770Solution: Avoid negative size. (Dominique Pelle, closes #1465)
16771Files: src/misc2.c, src/testdir/test_options.vim
16772
16773Patch 8.0.0358
16774Problem: Invalid memory access in C-indent code.
16775Solution: Don't go over end of empty line. (Dominique Pelle, closes #1492)
16776Files: src/edit.c, src/testdir/test_options.vim
16777
16778Patch 8.0.0359
16779Problem: 'number' and 'relativenumber' are not properly tested.
16780Solution: Add tests, change old style to new style tests. (Ozaki Kiichi,
16781 closes #1447)
16782Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
16783 src/testdir/test89.in, src/testdir/test89.ok,
16784 src/testdir/test_alot.vim, src/testdir/test_findfile.vim,
16785 src/testdir/test_number.vim
16786
16787Patch 8.0.0360
16788Problem: Sometimes VimL is used, which is confusing.
16789Solution: Consistently use "Vim script". (Hirohito Higashi)
16790Files: runtime/doc/if_mzsch.txt, runtime/doc/if_pyth.txt,
16791 runtime/doc/syntax.txt, runtime/doc/usr_02.txt,
16792 runtime/doc/version7.txt, src/Makefile, src/eval.c,
16793 src/ex_getln.c, src/if_py_both.h, src/if_xcmdsrv.c,
16794 src/testdir/Make_all.mak, src/testdir/runtest.vim,
16795 src/testdir/test49.vim, src/testdir/test_vimscript.vim,
16796 src/testdir/test_viml.vim
16797
16798Patch 8.0.0361
16799Problem: GUI initialisation is not sufficiently tested.
16800Solution: Add the gui_init test. (Kazunobu Kuriyama)
16801Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
16802 src/testdir/Make_ming.mak, src/testdir/Makefile,
16803 src/testdir/gui_init.vim, src/testdir/setup_gui.vim,
16804 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, Filelist
16805
16806Patch 8.0.0362 (after 8.0.0361)
16807Problem: Tests fail on MS-Windows.
16808Solution: Use $*.vim instead of $<.
16809Files: src/testdir/Make_dos.mak
16810
16811Patch 8.0.0363
16812Problem: Travis is too slow to keep up with patches.
16813Solution: Increase git depth to 20
16814Files: .travis.yml
16815
16816Patch 8.0.0364
16817Problem: ]s does not move cursor with two spell errors in one line. (Manuel
16818 Ortega)
16819Solution: Don't stop search immediately when wrapped, search the line first.
16820 (Ken Takata) Add a test.
16821Files: src/spell.c, src/Makefile, src/testdir/test_spell.vim,
16822 src/testdir/Make_all.mak
16823
16824Patch 8.0.0365
16825Problem: Might free a dict item that wasn't allocated.
16826Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for
16827 b:changedtick.
16828Files: src/dict.c, src/structs.h, src/buffer.c, src/edit.c,
16829 src/evalfunc.c, src/ex_docmd.c, src/fileio.c, src/main.c,
16830 src/memline.c, src/misc1.c, src/syntax.c
16831
16832Patch 8.0.0366 (after 8.0.0365)
16833Problem: Build fails with tiny features.
16834Solution: Add #ifdef.
16835Files: src/buffer.c
16836
16837Patch 8.0.0367
16838Problem: If configure defines _LARGE_FILES some include files are included
16839 before it is defined.
16840Solution: Include vim.h first. (Sam Thursfield, closes #1508)
16841Files: src/gui_at_sb.c, src/gui_athena.c, src/gui_motif.c, src/gui_x11.c,
16842 src/gui_xmdlg.c
16843
16844Patch 8.0.0368
16845Problem: Not all options are tested with a range of values.
16846Solution: Generate a test script from the source code.
16847Files: Filelist, src/gen_opt_test.vim, src/testdir/test_options.vim,
16848 src/Makefile
16849
16850Patch 8.0.0369 (after 8.0.0368)
16851Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are
16852 not defined without the +balloon_eval feature. Testing that an
16853 option value fails does not work for unsupported options.
16854Solution: Make the options defined but not supported. Don't test if
16855 setting unsupported options fails.
16856Files: src/option.c, src/gen_opt_test.vim
16857
16858Patch 8.0.0370
16859Problem: Invalid memory access when setting wildchar empty.
16860Solution: Avoid going over the end of the option value. (Dominique Pelle,
16861 closes #1509) Make option test check all number options with
16862 empty value.
16863Files: src/gen_opt_test.vim, src/option.c, src/testdir/test_options.vim
16864
16865Patch 8.0.0371 (after 8.0.0365)
16866Problem: Leaking memory when setting v:completed_item.
16867Solution: Or the flags instead of setting them.
16868Files: src/eval.c
16869
16870Patch 8.0.0372
16871Problem: More options are not always defined.
16872Solution: Consistently define all possible options.
16873Files: src/option.c, src/testdir/test_expand_dllpath.vim
16874
16875Patch 8.0.0373
16876Problem: Build fails without +folding.
16877Solution: Move misplaced #ifdef.
16878Files: src/option.c
16879
16880Patch 8.0.0374
16881Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
16882Solution: Avoid the column being negative. Also fix a hang in Ex mode.
16883Files: src/ex_getln.c, src/ex_cmds.c, src/testdir/test_substitute.vim
16884
16885Patch 8.0.0375
16886Problem: The "+ register is not tested.
16887Solution: Add a test using another Vim instance to change the "+ register.
16888 (Kazunobu Kuriyama)
16889Files: src/testdir/test_gui.vim
16890
16891Patch 8.0.0376
16892Problem: Size computations in spell file reading are not exactly right.
16893Solution: Make "len" a "long" and check with LONG_MAX.
16894Files: src/spellfile.c
16895
16896Patch 8.0.0377
16897Problem: Possible overflow when reading corrupted undo file.
16898Solution: Check if allocated size is not too big. (King)
16899Files: src/undo.c
16900
16901Patch 8.0.0378
16902Problem: Another possible overflow when reading corrupted undo file.
16903Solution: Check if allocated size is not too big. (King)
16904Files: src/undo.c
16905
16906Patch 8.0.0379
16907Problem: CTRL-Z and mouse click use CTRL-O unnecessary.
16908Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453)
16909Files: src/edit.c, src/normal.c
16910
16911Patch 8.0.0380
16912Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide
16913 character results in "<<" displayed.
16914Solution: Check for the character not to be replaced. (Ozaki Kiichi,
16915 closes #1456)
16916Files: src/screen.c, src/testdir/test_listlbr_utf8.vim
16917
16918Patch 8.0.0381
16919Problem: Diff mode is not sufficiently tested.
16920Solution: Add more diff mode tests. (Dominique Pelle, closes #1515)
16921Files: src/testdir/test_diffmode.vim
16922
16923Patch 8.0.0382 (after 8.0.0380)
16924Problem: Warning in tiny build for unused variable. (Tony Mechelynck)
16925Solution: Add #ifdefs.
16926Files: src/screen.c
16927
16928Patch 8.0.0383 (after 8.0.0382)
16929Problem: Misplaced #ifdef. (Christ van Willigen)
16930Solution: Split assignment.
16931Files: src/screen.c
16932
16933Patch 8.0.0384
16934Problem: Timer test failed for no apparent reason.
16935Solution: Mark the test as flaky.
16936Files: src/testdir/runtest.vim
16937
16938Patch 8.0.0385
16939Problem: No tests for arabic.
16940Solution: Add a first test for arabic. (Dominique Pelle, closes #1518)
16941Files: src/Makefile, src/testdir/Make_all.mak,
16942 src/testdir/test_arabic.vim
16943
16944Patch 8.0.0386
16945Problem: Tiny build has a problem with generating the options test.
16946Solution: Change the "if" to skip over statements.
16947Files: src/gen_opt_test.vim
16948
16949Patch 8.0.0387
16950Problem: compiler warnings
16951Solution: Add type casts. (Christian Brabandt)
16952Files: src/channel.c, src/memline.c,
16953
16954Patch 8.0.0388
16955Problem: filtering lines through "cat", without changing the line count,
16956 changes manual folds.
16957Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from
Bram Moolenaar74675a62017-07-15 13:53:23 +020016958 neovim #6194).
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016959Files: src/fold.c, src/testdir/test_fold.vim
16960
16961Patch 8.0.0389
16962Problem: Test for arabic does not check what is displayed.
16963Solution: Improve what is asserted. (Dominique Pelle, closes #1523)
16964 Add a first shaping test.
16965Files: src/testdir/test_arabic.vim
16966
16967Patch 8.0.0390
16968Problem: When the window scrolls horizontally when the popup menu is
16969 displayed part of it may not be cleared. (Neovim issue #6184)
16970Solution: Remove the menu when the windows scrolled. (closes #1524)
16971Files: src/edit.c
16972
16973Patch 8.0.0391
16974Problem: Arabic support is verbose and not well tested.
16975Solution: Simplify the code. Add more tests.
16976Files: src/arabic.c, src/testdir/test_arabic.vim
16977
16978Patch 8.0.0392
16979Problem: GUI test fails with Athena and Motif.
16980Solution: Add test_ignore_error(). Use it to ignore the "failed to create
16981 input context" error.
16982Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
16983 src/testdir/test_gui.vim, runtime/doc/eval.txt
16984
16985Patch 8.0.0393 (after 8.0.0190)
16986Problem: When the same tag appears more than once, the order is
16987 unpredictable. (Charles Campbell)
16988Solution: Besides using a dict for finding duplicates, use a grow array for
16989 keeping the tags in sequence.
16990Files: src/tag.c, src/testdir/test_tagjump.vim
16991
16992Patch 8.0.0394
16993Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't
16994 fit. (Axel Bender)
16995Solution: Handle a Tab as a not fitting character. (Christian Brabandt)
16996 Also fix that ":redraw" does not scroll horizontally to show the
16997 cursor. And fix the test that depended on the old behavior.
16998Files: src/screen.c, src/ex_docmd.c, src/testdir/test_listlbr.vim,
16999 src/testdir/test_listlbr_utf8.vim,
17000 src/testdir/test_breakindent.vim
17001
17002Patch 8.0.0395 (after 8.0.0392)
17003Problem: Testing the + register fails with Motif.
17004Solution: Also ignore the "failed to create input context" error in the
17005 second gvim. Don't use msg() when it would result in a dialog.
17006Files: src/message.c, src/testdir/test_gui.vim, src/testdir/setup_gui.vim
17007
17008Patch 8.0.0396
17009Problem: 'balloonexpr' only works synchronously.
17010Solution: Add balloon_show(). (Jusufadis Bakamovic, closes #1449)
17011Files: runtime/doc/eval.txt, src/evalfunc.c, src/os_unix.c,
17012 src/os_win32.c
17013
17014Patch 8.0.0397 (after 8.0.0392)
17015Problem: Cannot build with the viminfo feature but without the eval
17016 feature.
17017Solution: Adjust #ifdef. (John Marriott)
17018Files: src/message.c, src/misc2.c
17019
17020Patch 8.0.0398
17021Problem: Illegal memory access with "t".
17022Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528)
17023Files: src/search.c, src/testdir/test_search.vim
17024
17025Patch 8.0.0399
17026Problem: Crash when using balloon_show() when not supported. (Hirohito
17027 Higashi)
17028Solution: Check for balloonEval not to be NULL. (Ken Takata)
17029Files: src/evalfunc.c, src/testdir/test_functions.vim
17030
17031Patch 8.0.0400
17032Problem: Some tests have a one second delay.
17033Solution: Add --not-a-term in RunVim().
17034Files: src/testdir/shared.vim
17035
17036Patch 8.0.0401
17037Problem: Test fails with missing balloon feature.
17038Solution: Add check for balloon feature.
17039Files: src/testdir/test_functions.vim
17040
17041Patch 8.0.0402
17042Problem: :map completion does not have <special>. (Dominique Pelle)
17043Solution: Recognize <special> in completion. Add a test.
17044Files: src/getchar.c, src/testdir/test_cmdline.vim
17045
17046Patch 8.0.0403
17047Problem: GUI tests may fail.
17048Solution: Ignore the E285 error better. (Kazunobu Kuriyama)
17049Files: src/testdir/test_gui.vim, src/testdir/test_gui_init.vim
17050
17051Patch 8.0.0404
17052Problem: Not enough testing for quickfix.
17053Solution: Add some more tests. (Yegappan Lakshmanan)
17054Files: src/testdir/test_quickfix.vim
17055
17056Patch 8.0.0405
17057Problem: v:progpath may become invalid after ":cd".
17058Solution: Turn v:progpath into a full path if needed.
17059Files: src/main.c, src/testdir/test_startup.vim, runtime/doc/eval.txt
17060
17061Patch 8.0.0406
17062Problem: The arabic shaping code is verbose.
17063Solution: Shorten the code without changing the functionality.
17064Files: src/arabic.c
17065
17066Patch 8.0.0407 (after 8.0.0388)
17067Problem: Filtering folds with marker method not tested.
17068Solution: Also set 'foldmethod' to "marker".
17069Files: src/testdir/test_fold.vim
17070
17071Patch 8.0.0408
17072Problem: Updating folds does not work properly when inserting a file and a
17073 few other situations.
17074Solution: Adjust the way folds are updated. (Matthew Malcomson)
17075Files: src/fold.c, src/testdir/test_fold.vim
17076
17077Patch 8.0.0409
17078Problem: set_progpath is defined but not always used
17079Solution: Adjust #ifdef.
17080Files: src/main.c
17081
17082Patch 8.0.0410
17083Problem: Newer gettext/iconv library has extra dll file.
17084Solution: Add the file to the Makefile and nsis script. (Christian Brabandt)
17085Files: Makefile, nsis/gvim.nsi
17086
17087Patch 8.0.0411
17088Problem: We can't change the case in menu entries, it breaks translations.
17089Solution: Ignore case when looking up a menu translation.
17090Files: src/menu.c, src/testdir/test_menu.vim
17091
17092Patch 8.0.0412 (after 8.0.0411)
17093Problem: Menu test fails on MS-Windows.
17094Solution: Use a menu entry with only ASCII characters.
17095Files: src/testdir/test_menu.vim
17096
17097Patch 8.0.0413 (after 8.0.0412)
17098Problem: Menu test fails on MS-Windows using gvim.
17099Solution: First delete the English menus.
17100Files: src/testdir/test_menu.vim
17101
17102Patch 8.0.0414
17103Problem: Balloon eval is not tested.
17104Solution: Add a few balloon tests. (Kazunobu Kuriyama)
17105Files: src/testdir/test_gui.vim
17106
17107Patch 8.0.0415 (after 8.0.0414)
17108Problem: Balloon test fails on MS-Windows.
17109Solution: Test with 0x7fffffff instead of 0xffffffff.
17110Files: src/testdir/test_gui.vim
17111
17112Patch 8.0.0416
17113Problem: Setting v:progpath is not quite right.
17114Solution: On MS-Windows add the extension. On Unix use the full path for a
17115 relative directory. (partly by James McCoy, closes #1531)
17116Files: src/main.c, src/os_win32.c, src/os_unix.c
17117
17118Patch 8.0.0417
17119Problem: Test for the clipboard fails sometimes.
17120Solution: Add it to the flaky tests.
17121Files: src/testdir/runtest.vim
17122
17123Patch 8.0.0418
17124Problem: ASAN logs are disabled and don't cause a failure.
17125Solution: Enable ASAN logs and fail if not empty. (James McCoy,
17126 closes #1425)
17127Files: .travis.yml
17128
17129Patch 8.0.0419
17130Problem: Test for v:progpath fails on MS-Windows.
17131Solution: Expand to full path. Also add ".exe" when the path is an absolute
17132 path.
17133Files: src/os_win32.c, src/main.c
17134
17135Patch 8.0.0420
17136Problem: When running :make the output may be in the system encoding,
17137 different from 'encoding'.
17138Solution: Add the 'makeencoding' option. (Ken Takata)
17139Files: runtime/doc/options.txt, runtime/doc/quickfix.txt,
17140 runtime/doc/quickref.txt, src/Makefile, src/buffer.c,
17141 src/if_cscope.c, src/main.c, src/option.c, src/option.h,
17142 src/proto/quickfix.pro, src/quickfix.c, src/structs.h,
17143 src/testdir/Make_all.mak, src/testdir/test_makeencoding.py,
17144 src/testdir/test_makeencoding.vim
17145
17146Patch 8.0.0421
17147Problem: Diff mode is displayed wrong when adding a line at the end of a
17148 buffer.
17149Solution: Adjust marks in diff mode. (James McCoy, closes #1329)
17150Files: src/misc1.c, src/ops.c, src/testdir/test_diffmode.vim
17151
17152Patch 8.0.0422
17153Problem: Python test fails with Python 3.6.
17154Solution: Convert new exception messages to old ones. (closes #1359)
17155Files: src/testdir/test87.in
17156
17157Patch 8.0.0423
17158Problem: The effect of adding "#" to 'cinoptions' is not always removed.
17159 (David Briscoe)
17160Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475)
17161Files: src/misc1.c, src/Makefile, src/testdir/Make_all.mak,
17162 src/testdir/test_cindent.vim, src/testdir/test3.in
17163
17164Patch 8.0.0424
17165Problem: Compiler warnings on MS-Windows. (Ajit Thakkar)
17166Solution: Add type casts.
17167Files: src/os_win32.c
17168
17169Patch 8.0.0425
17170Problem: Build errors when building without folding.
17171Solution: Add #ifdefs. (John Marriott)
17172Files: src/diff.c, src/edit.c, src/option.c, src/syntax.c
17173
17174Patch 8.0.0426
17175Problem: Insufficient testing for statusline.
17176Solution: Add several tests. (Dominique Pelle, closes #1534)
17177Files: src/testdir/test_statusline.vim
17178
17179Patch 8.0.0427
17180Problem: 'makeencoding' missing from the options window.
17181Solution: Add the entry.
17182Files: runtime/optwin.vim
17183
17184Patch 8.0.0428
17185Problem: Git and hg see new files after running tests. (Manuel Ortega)
17186Solution: Add the generated file to .hgignore (or .gitignore). Delete the
17187 resulting verbose file. (Christian Brabandt) Improve dependency
17188 on opt_test.vim. Reset the 'more' option.
17189Files: .hgignore, src/gen_opt_test.vim, src/testdir/gen_opt_test.vim,
17190 src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile,
17191 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17192 Filelist
17193
17194Patch 8.0.0429
17195Problem: Options test does not always test everything.
17196Solution: Fix dependency for opt_test.vim. Give a message when opt_test.vim
17197 was not found.
17198Files: src/testdir/test_options.vim, src/testdir/gen_opt_test.vim,
17199 src/testdir/Makefile, src/testdir/Make_all.mak,
17200 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
17201
17202Patch 8.0.0430
17203Problem: Options test fails or hangs on MS-Windows.
17204Solution: Run it separately instead of part of test_alot. Use "-S" instead
17205 of "-u" to run the script. Fix failures.
17206Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
17207 src/testdir/Makefile, src/testdir/Make_dos.mak,
17208 src/testdir/Make_ming.mak, src/testdir/gen_opt_test.vim
17209
17210Patch 8.0.0431
17211Problem: 'cinoptions' cannot set indent for extern block.
17212Solution: Add the "E" flag in 'cinoptions'. (Hirohito Higashi)
17213Files: runtime/doc/indent.txt, src/misc1.c, src/structs.h,
17214 src/testdir/test_cindent.vim
17215
17216Patch 8.0.0432
17217Problem: "make shadow" creates an invalid link.
17218Solution: Don't link "*.vim". (Kazunobu Kuriyama)
17219Files: src/Makefile
17220
17221Patch 8.0.0433
17222Problem: Quite a few beeps when running tests.
17223Solution: Set 'belloff' for these tests. (Christian Brabandt)
17224Files: src/testdir/test103.in, src/testdir/test14.in,
17225 src/testdir/test29.in, src/testdir/test30.in,
17226 src/testdir/test32.in, src/testdir/test45.in,
17227 src/testdir/test72.in, src/testdir/test73.in,
17228 src/testdir/test77.in, src/testdir/test78.in,
17229 src/testdir/test85.in, src/testdir/test94.in,
17230 src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim,
17231 src/testdir/test_close_count.in, src/testdir/test_cmdline.vim,
17232 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim,
17233 src/testdir/test_erasebackword.in, src/testdir/test_normal.vim,
17234 src/testdir/test_packadd.vim, src/testdir/test_search.vim,
17235 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim,
17236 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim
17237
17238Patch 8.0.0434
17239Problem: Clang version not correctly detected.
17240Solution: Adjust the configure script. (Kazunobu Kuriyama)
17241Files: src/configure.ac, src/auto/configure
17242
17243Patch 8.0.0435
17244Problem: Some functions are not tested.
17245Solution: Add more tests for functions. (Dominique Pelle, closes #1541)
17246Files: src/testdir/test_functions.vim
17247
17248Patch 8.0.0436
17249Problem: Running the options test sometimes resizes the terminal.
17250Solution: Clear out t_WS.
17251Files: src/testdir/gen_opt_test.vim
17252
17253Patch 8.0.0437
17254Problem: The packadd test does not create the symlink correctly and does
17255 not test the right thing.
17256Solution: Create the directory and symlink correctly.
17257Files: src/testdir/test_packadd.vim
17258
17259Patch 8.0.0438
17260Problem: The fnamemodify test changes 'shell' in a way later tests may not
17261 be able to use system().
17262Solution: Save and restore 'shell'.
17263Files: src/testdir/test_fnamemodify.vim
17264
17265Patch 8.0.0439
17266Problem: Using ":%argdel" while the argument list is already empty gives an
17267 error. (Pavol Juhas)
17268Solution: Don't give an error. (closes #1546)
17269Files: src/ex_cmds2.c, src/testdir/test_arglist.vim
17270
17271Patch 8.0.0440
17272Problem: Not enough test coverage in Insert mode.
17273Solution: Add lots of tests. Add test_override(). (Christian Brabandt,
17274 closes #1521)
17275Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/edit.c,
17276 src/evalfunc.c, src/globals.h, src/screen.c,
17277 src/testdir/Make_all.mak, src/testdir/test_cursor_func.vim,
17278 src/testdir/test_edit.vim, src/testdir/test_search.vim,
17279 src/testdir/test_assert.vim, src/Makefile, src/testdir/runtest.vim
17280
17281Patch 8.0.0441
17282Problem: Dead code in #ifdef.
17283Solution: Remove the #ifdef and #else part.
17284Files: src/option.c
17285
17286Patch 8.0.0442
17287Problem: Patch shell command uses double quotes around the argument, which
17288 allows for $HOME to be expanded. (Etienne)
17289Solution: Use single quotes on Unix. (closes #1543)
17290Files: src/diff.c, src/testdir/test_diffmode.vim
17291
17292Patch 8.0.0443
17293Problem: Terminal width is set to 80 in test3.
17294Solution: Instead of setting 'columns' set 'wrapmargin' depending on
17295 'columns.
17296Files: src/testdir/test3.in
17297
17298Patch 8.0.0444 (after 8.0.0442)
17299Problem: Diffpatch fails when the file name has a quote.
17300Solution: Escape the name properly. (zetzei)
17301Files: src/diff.c, src/testdir/test_diffmode.vim
17302
17303Patch 8.0.0445
17304Problem: Getpgid is not supported on all systems.
17305Solution: Add a configure check.
17306Files: src/configure.ac, src/auto/configure, src/config.h.in,
17307 src/os_unix.c
17308
17309Patch 8.0.0446
17310Problem: The ";" command does not work after characters with a lower byte
17311 that is NUL.
17312Solution: Properly check for not having a previous character. (Hirohito
17313 Higashi)
17314Files: src/Makefile, src/search.c, src/testdir/test_alot_utf8.vim,
17315 src/testdir/test_charsearch_utf8.vim
17316
17317Patch 8.0.0447
17318Problem: Getting font name does not work on X11.
17319Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests.
17320 (Kazunobu Kuriyama)
17321Files: src/gui_x11.c, src/syntax.c, src/testdir/Make_dos.mak,
17322 src/testdir/Make_ming.mak, src/testdir/Makefile,
17323 src/testdir/gui_init.vim, src/testdir/gui_preinit.vim,
17324 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
17325 Filelist
17326
17327Patch 8.0.0448
17328Problem: Some macros are in lower case, which can be confusing.
17329Solution: Make a few lower case macros upper case.
17330Files: src/macros.h, src/buffer.c, src/charset.c, src/ops.c, src/diff.c,
17331 src/edit.c, src/evalfunc.c, src/ex_cmds.c, src/ex_getln.c,
17332 src/fileio.c, src/fold.c, src/gui.c, src/gui_beval.c, src/main.c,
17333 src/mark.c, src/misc1.c, src/move.c, src/normal.c,
17334 src/option.c, src/popupmnu.c, src/regexp.c, src/screen.c,
17335 src/search.c, src/spell.c, src/tag.c, src/ui.c, src/undo.c,
17336 src/version.c, src/workshop.c, src/if_perl.xs
17337
17338Patch 8.0.0449 (after 8.0.0448)
17339Problem: Part of fold patch accidentally included.
17340Solution: Revert that part of the patch.
17341Files: src/ex_cmds.c
17342
17343Patch 8.0.0450
17344Problem: v:progpath is not reliably set.
17345Solution: Read /proc/self/exe if possible. (idea by Michal Grochmal)
17346 Also fixes missing #if.
17347Files: src/main.c, src/config.h.in
17348
17349Patch 8.0.0451
17350Problem: Some macros are in lower case.
17351Solution: Make a few more macros upper case. Avoid lower case macros use an
17352 argument twice.
17353Files: src/macros.h, src/charset.c, src/misc2.c, src/proto/misc2.pro,
17354 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
17355 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/fold.c,
17356 src/gui.c, src/gui_gtk.c, src/mark.c, src/memline.c, src/mbyte.c,
17357 src/menu.c, src/message.c, src/misc1.c, src/ops.c, src/option.c,
17358 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
17359 src/popupmnu.c, src/regexp.c, src/regexp_nfa.c, src/screen.c,
17360 src/search.c, src/spell.c, src/spellfile.c, src/syntax.c,
17361 src/tag.c, src/ui.c, src/undo.c, src/window.c
17362
17363Patch 8.0.0452
17364Problem: Some macros are in lower case.
17365Solution: Make a few more macros upper case.
17366Files: src/vim.h, src/macros.h, src/evalfunc.c, src/fold.c,
17367 src/gui_gtk.c, src/gui_gtk_x11.c, src/charset.c, src/diff.c,
17368 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
17369 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/getchar.c,
17370 src/gui.c, src/gui_w32.c, src/if_cscope.c, src/mbyte.c,
17371 src/menu.c, src/message.c, src/misc1.c, src/misc2.c, src/normal.c,
17372 src/ops.c, src/option.c, src/os_unix.c, src/os_win32.c,
17373 src/quickfix.c, src/regexp.c, src/regexp_nfa.c, src/screen.c,
17374 src/search.c, src/spell.c, src/syntax.c, src/tag.c, src/userfunc.c
17375
17376Patch 8.0.0453
17377Problem: Adding fold marker creates new comment.
17378Solution: Use an existing comment if possible. (LemonBoy, closes #1549)
17379Files: src/ops.c, src/proto/ops.pro, src/fold.c,
17380 src/testdir/test_fold.vim
17381
17382Patch 8.0.0454
17383Problem: Compiler warnings for comparing unsigned char with 256 always
17384 being true. (Manuel Ortega)
17385Solution: Add type cast.
17386Files: src/screen.c, src/charset.c
17387
17388Patch 8.0.0455
17389Problem: The mode test may hang in Test_mode(). (Michael Soyka)
17390Solution: Set 'complete' to only search the current buffer (as suggested by
17391 Michael)
17392Files: src/testdir/test_functions.vim
17393
17394Patch 8.0.0456
17395Problem: Typo in MinGW test makefile.
17396Solution: Change an underscore to a dot. (Michael Soyka)
17397Files: src/testdir/Make_ming.mak
17398
17399Patch 8.0.0457
17400Problem: Using :move messes up manual folds.
17401Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim
17402 patch #6221)
17403Files: src/ex_cmds.c, src/fold.c, src/mark.c, src/proto/fold.pro,
17404 src/proto/mark.pro src/testdir/test_fold.vim
17405
17406Patch 8.0.0458
17407Problem: Potential crash if adding list or dict to dict fails.
17408Solution: Make sure the reference count is correct. (Nikolai Pavlov, closes
17409 #1555)
17410Files: src/dict.c
17411
17412Patch 8.0.0459 (after 8.0.0457)
17413Problem: Old fix for :move messing up folding no longer needed, now that we
17414 have a proper solution.
17415Solution: Revert patch 7.4.700. (Christian Brabandt)
17416Files: src/ex_cmds.c
17417
17418Patch 8.0.0460 (after 8.0.0452)
17419Problem: Can't build on HPUX.
17420Solution: Fix argument names in vim_stat(). (John Marriott)
17421Files: src/misc2.c
17422
17423Patch 8.0.0461 (after 8.0.0457)
17424Problem: Test 45 hangs on MS-Windows.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017425Solution: Reset 'shiftwidth'. Also remove redundant function.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017426Files: src/fold.c, src/testdir/test45.in
17427
17428Patch 8.0.0462
17429Problem: If an MS-Windows tests succeeds at first and then fails in a way
17430 it does not produce a test.out file it looks like the test
17431 succeeded.
17432Solution: Delete the previous output file.
17433Files: src/testdir/Make_dos.mak
17434
17435Patch 8.0.0463
17436Problem: Resetting 'compatible' in defaults.vim has unexpected side
17437 effects. (David Fishburn)
17438Solution: Only reset 'compatible' if it was set.
17439Files: runtime/defaults.vim
17440
17441Patch 8.0.0464
17442Problem: Can't find executable name on Solaris and FreeBSD.
17443Solution: Check for "/proc/self/path/a.out". (Danek Duvall) And for
17444 "/proc/curproc/file".
17445Files: src/config.h.in, src/configure.ac, src/main.c,
17446 src/auto/configure
17447
17448Patch 8.0.0465
17449Problem: Off-by-one error in using :move with folding.
17450Solution: Correct off-by-one mistakes and add more tests. (Matthew
17451 Malcomson)
17452Files: src/fold.c, src/testdir/test_fold.vim
17453
17454Patch 8.0.0466
17455Problem: There are still a few macros that should be all-caps.
17456Solution: Make a few more macros all-caps.
17457Files: src/buffer.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
17458 src/ex_docmd.c, src/ex_getln.c, src/farsi.c, src/fileio.c,
17459 src/getchar.c, src/gui_beval.c, src/hardcopy.c, src/if_cscope.c,
17460 src/if_xcmdsrv.c, src/mark.c, src/memline.c, src/menu.c,
17461 src/message.c, src/misc1.c, src/normal.c, src/ops.c, src/option.c,
17462 src/quickfix.c, src/screen.c, src/search.c, src/syntax.c,
17463 src/tag.c, src/term.c, src/term.h, src/ui.c, src/undo.c,
17464 src/userfunc.c, src/version.c, src/vim.h
17465
17466Patch 8.0.0467
17467Problem: Using g< after :for does not show the right output. (Marcin
17468 Szamotulski)
17469Solution: Call msg_sb_eol() in :echomsg.
17470Files: src/eval.c
17471
17472Patch 8.0.0468
17473Problem: After aborting an Ex command g< does not work. (Marcin
17474 Szamotulski)
17475Solution: Postpone clearing scrollback messages to until the command line
17476 has been entered. Also fix that the screen isn't redrawn if after
17477 g< the command line is cancelled.
17478Files: src/message.c, src/proto/message.pro, src/ex_getln.c, src/misc2.c,
17479 src/gui.c
17480
17481Patch 8.0.0469
17482Problem: Compiler warnings on MS-Windows.
17483Solution: Add type casts. (Christian Brabandt)
17484Files: src/fold.c
17485
17486Patch 8.0.0470
17487Problem: Not enough testing for help commands.
17488Solution: Add a few more help tests. (Dominique Pelle, closes #1565)
17489Files: src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim
17490
17491Patch 8.0.0471
17492Problem: Exit callback test sometimes fails.
17493Solution: Add it to the list of flaky tests.
17494Files: src/testdir/runtest.vim
17495
17496Patch 8.0.0472
17497Problem: When a test fails and test.log is created, Test_edit_CTRL_I
17498 matches it instead of test1.in.
17499Solution: Match with runtest.vim instead.
17500Files: src/testdir/test_edit.vim
17501
17502Patch 8.0.0473
17503Problem: No test covering arg_all().
17504Solution: Add a test expanding ##.
17505Files: src/testdir/test_arglist.vim
17506
17507Patch 8.0.0474
17508Problem: The client-server feature is not tested.
17509Solution: Add a test.
17510Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/shared.vim,
17511 src/testdir/test_clientserver.vim, src/os_mswin.c
17512
17513Patch 8.0.0475
17514Problem: Not enough testing for the client-server feature.
17515Solution: Add more tests. Add the remote_startserver() function. Fix that
17516 a locally evaluated expression uses function-local variables.
17517Files: src/if_xcmdsrv.c, src/evalfunc.c, src/os_mswin.c,
17518 src/proto/main.pro, src/testdir/test_clientserver.vim,
17519 runtime/doc/eval.txt
17520
17521Patch 8.0.0476 (after 8.0.0475)
17522Problem: Missing change to main.c.
17523Solution: Add new function.
17524Files: src/main.c
17525
17526Patch 8.0.0477
17527Problem: The client-server test may hang when failing.
17528Solution: Set a timer. Add assert_report()
17529Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim,
17530 src/eval.c, src/evalfunc.c, src/proto/eval.pro, src/if_xcmdsrv.c,
17531 src/os_mswin.c, runtime/doc/eval.txt
17532
17533Patch 8.0.0478
17534Problem: Tests use assert_true(0) and assert_false(1) to report errors.
17535Solution: Use assert_report().
17536Files: src/testdir/test_cscope.vim, src/testdir/test_expr.vim,
17537 src/testdir/test_perl.vim, src/testdir/test_channel.vim,
17538 src/testdir/test_cursor_func.vim, src/testdir/test_gui.vim,
17539 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
17540 src/testdir/test_viminfo.vim, src/testdir/test_vimscript.vim,
17541 src/testdir/test_assert.vim
17542
17543Patch 8.0.0479
17544Problem: remote_peek() is not tested.
17545Solution: Add a test.
17546Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim
17547
17548Patch 8.0.0480
17549Problem: The remote_peek() test fails on MS-Windows.
17550Solution: Check for pending messages. Also report errors in the first run if
17551 a flaky test fails twice.
17552Files: src/os_mswin.c, src/testdir/runtest.vim
17553
17554Patch 8.0.0481
17555Problem: Unnecessary if statement.
17556Solution: Remove the statement. Fix "it's" vs "its" mistakes. (Dominique
17557 Pelle, closes #1568)
17558Files: src/syntax.c
17559
17560Patch 8.0.0482
17561Problem: The setbufvar() function may mess up the window layout. (Kay Z.)
17562Solution: Do not check the window to be valid if it is NULL.
17563Files: src/window.c, src/testdir/test_functions.vim
17564
17565Patch 8.0.0483
17566Problem: Illegal memory access when using :all. (Dominique Pelle)
17567Solution: Adjust the cursor position right after setting "curwin".
17568Files: src/window.c, src/testdir/test_window_cmd.vim
17569
17570Patch 8.0.0484
17571Problem: Using :lhelpgrep with an argument that should fail does not
17572 produce an error if the previous :helpgrep worked.
17573Solution: Use another way to detect that autocommands made the quickfix info
17574 invalid. (Yegappan Lakshmanan)
17575Files: src/quickfix.c, src/testdir/test_quickfix.vim
17576
17577Patch 8.0.0485
17578Problem: Not all windows commands are tested.
17579Solution: Add more tests for windows commands. (Dominique Pelle,
17580 closes #1575) Run test_autocmd separately, it interferes with
17581 other tests. Fix tests that depended on side effects.
17582Files: src/testdir/test_window_cmd.vim, src/testdir/test_alot.vim,
17583 src/testdir/test_autocmd.vim, src/testdir/test_fnamemodify.vim,
17584 src/testdir/test_functions.vim, src/testdir/test_delete.vim,
17585 src/testdir/Make_all.mak
17586
17587Patch 8.0.0486
17588Problem: Crash and endless loop when closing windows in a SessionLoadPost
17589 autocommand.
17590Solution: Check for valid tabpage. (partly neovim #6308)
17591Files: src/testdir/test_autocmd.vim, src/fileio.c, src/proto/window.pro,
17592 src/window.c
17593
17594Patch 8.0.0487
17595Problem: The autocmd test hangs on MS-Windows.
17596Solution: Skip the hanging tests for now.
17597Files: src/testdir/test_autocmd.vim
17598
17599Patch 8.0.0488
17600Problem: Running tests leaves an "xxx" file behind.
17601Solution: Delete the 'verbosefile' after resetting the option.
17602Files: src/testdir/gen_opt_test.vim
17603
17604Patch 8.0.0489
17605Problem: Clipboard and "* register is not tested.
17606Solution: Add a test for Mac and X11. (Kazunobu Kuriyama)
17607Files: src/Makefile, src/testdir/Make_all.mak,
17608 src/testdir/test_quotestar.vim, src/testdir/runtest.vim
17609
17610Patch 8.0.0490
17611Problem: Splitting a 'winfixwidth' window vertically makes it one column
17612 smaller. (Dominique Pelle)
17613Solution: Add one to the width for the separator.
17614Files: src/window.c, src/testdir/test_window_cmd.vim
17615
17616Patch 8.0.0491
17617Problem: The quotestar test fails when a required feature is missing.
17618Solution: Prepend "Skipped" to the thrown exception.
17619Files: src/testdir/test_quotestar.vim
17620
17621Patch 8.0.0492
17622Problem: A failing client-server request can make Vim hang.
17623Solution: Add a timeout argument to functions that wait.
17624Files: src/evalfunc.c, src/if_xcmdsrv.c, src/proto/if_xcmdsrv.pro,
17625 src/main.c, src/os_mswin.c, src/proto/os_mswin.pro,
17626 src/vim.h, runtime/doc/eval.txt, src/testdir/test_clientserver.vim
17627
17628Patch 8.0.0493
17629Problem: Crash with cd command with very long argument.
Bram Moolenaar74675a62017-07-15 13:53:23 +020017630Solution: Check for running out of space. (Dominique Pelle, closes #1576)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017631Files: src/testdir/test_alot.vim, src/testdir/test_cd.vim, src/Makefile,
17632 src/misc2.c
17633
17634Patch 8.0.0494
17635Problem: Build failure with older compiler on MS-Windows.
17636Solution: Move declaration to start of block.
17637Files: src/evalfunc.c, src/main.c, src/os_mswin.c
17638
17639Patch 8.0.0495
17640Problem: The quotestar test uses a timer instead of a timeout, thus it
17641 cannot be rerun like a flaky test.
17642Solution: Remove the timer and add a timeout. (Kazunobu Kuriyama)
17643Files: src/testdir/test_quotestar.vim
17644
17645Patch 8.0.0496
17646Problem: Insufficient testing for folding.
17647Solution: Add a couple more fold tests. (Dominique Pelle, closes #1579)
17648Files: src/testdir/test_fold.vim
17649
17650Patch 8.0.0497
17651Problem: Arabic support is not fully tested.
17652Solution: Add more tests for the untested functions. Comment out
17653 unreachable code.
17654Files: src/arabic.c, src/testdir/test_arabic.vim
17655
17656Patch 8.0.0498
17657Problem: Two autocmd tests are skipped on MS-Windows.
17658Solution: Make the test pass on MS-Windows. Write the messages in a file
17659 instead of getting the output of system().
17660Files: src/testdir/test_autocmd.vim
17661
17662Patch 8.0.0499
17663Problem: taglist() does not prioritize tags for a buffer.
17664Solution: Add an optional buffer argument. (Duncan McDougall, closes #1194)
17665Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/tag.pro,
17666 src/Makefile, src/tag.c, src/testdir/test_alot.vim,
17667 src/testdir/test_taglist.vim
17668
17669Patch 8.0.0500
17670Problem: Quotestar test is still a bit flaky.
17671Solution: Add a slower check for v:version.
17672Files: src/testdir/test_quotestar.vim
17673
17674Patch 8.0.0501
17675Problem: On MS-Windows ":!start" does not work as expected.
17676Solution: When creating a process fails try passing the argument to
17677 ShellExecute(). (Katsuya Hino, closes #1570)
17678Files: runtime/doc/os_win32.txt, src/os_win32.c
17679
17680Patch 8.0.0502
17681Problem: Coverity complains about possible NULL pointer.
17682Solution: Add an assert(), let's see if this works on all systems.
17683Files: src/window.c
17684
17685Patch 8.0.0503
17686Problem: Endless loop in updating folds with 32 bit ints.
17687Solution: Subtract from LHS instead of add to the RHS. (Matthew Malcomson)
17688Files: src/fold.c
17689
17690Patch 8.0.0504
17691Problem: Looking up an Ex command is a bit slow.
17692Solution: Instead of just using the first letter, also use the second letter
17693 to skip ahead in the list of commands. Generate the table with a
17694 Perl script. (Dominique Pelle, closes #1589)
17695Files: src/Makefile, src/create_cmdidxs.pl, src/ex_docmd.c, Filelist
17696
17697Patch 8.0.0505
17698Problem: Failed window split for :stag not handled. (Coverity CID 99204)
17699Solution: If the split fails skip to the end. (bstaletic, closes #1577)
17700Files: src/tag.c
17701
17702Patch 8.0.0506 (after 8.0.0504)
17703Problem: Can't build with ANSI C.
17704Solution: Move declarations to start of block.
17705Files: src/ex_docmd.c
17706
17707Patch 8.0.0507
17708Problem: Client-server tests fail when $DISPLAY is not set.
17709Solution: Check for E240 before running the test.
17710Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim
17711
17712Patch 8.0.0508
17713Problem: Coveralls no longer shows per-file coverage.
17714Solution: Add coverage from codecov.io. (Christian Brabandt)
17715Files: .travis.yml
17716
17717Patch 8.0.0509
17718Problem: No link to codecov.io results.
17719Solution: Add a badge to the readme file.
17720Files: README.md
17721
17722Patch 8.0.0510 (after 8.0.0509)
17723Problem: Typo in link to codecov.io results.
17724Solution: Remove duplicate https:.
17725Files: README.md
17726
17727Patch 8.0.0511
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017728Problem: Message for skipping client-server tests is unclear.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017729Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu
17730 Kuriyama)
17731Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim
17732
17733Patch 8.0.0512
17734Problem: Check for available characters takes too long.
17735Solution: Only check did_start_blocking if wtime is negative. (Daisuke
17736 Suzuki, closes #1591)
17737Files: src/os_unix.c
17738
17739Patch 8.0.0513 (after 8.0.0201)
17740Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski)
17741Solution: Only skip over cleared names for completion. (closes #1592)
17742 Also fix that a cleared group causes duplicate completions.
17743Files: src/syntax.c, src/proto/syntax.pro, src/evalfunc.c,
17744 src/ex_cmds.c, src/testdir/test_syntax.vim,
17745 src/testdir/test_cmdline.vim
17746
17747Patch 8.0.0514
17748Problem: Script for creating cmdidxs can be improved.
17749Solution: Count skipped lines instead of collecting the lines. Add "const".
17750 (Dominique Pelle, closes #1594)
17751Files: src/create_cmdidxs.pl, src/ex_docmd.c
17752
17753Patch 8.0.0515
17754Problem: ml_get errors in silent Ex mode. (Dominique Pelle)
17755Solution: Clear valid flags when setting the cursor. Set the topline when
17756 not in full screen mode.
17757Files: src/ex_docmd.c, src/move.c, src/testdir/test_startup.vim
17758
17759Patch 8.0.0516
17760Problem: A large count on a normal command causes trouble. (Dominique
17761 Pelle)
17762Solution: Make "opcount" long.
17763Files: src/globals.h, src/testdir/test_normal.vim
17764
17765Patch 8.0.0517
17766Problem: There is no way to remove quickfix lists (for testing).
17767Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan
17768 Lakshmanan)
17769Files: runtime/doc/eval.txt, src/evalfunc.c, src/quickfix.c,
17770 src/testdir/test_quickfix.vim
17771
17772Patch 8.0.0518
17773Problem: Storing a zero byte from a multi-byte character causes fold text
17774 to show up wrong.
17775Solution: Avoid putting zero in ScreenLines. (Christian Brabandt,
17776 closes #1567)
17777Files: src/screen.c, src/testdir/test_display.vim
17778
17779Patch 8.0.0519
17780Problem: Character classes are not well tested. They can differ between
17781 platforms.
17782Solution: Add tests. In the documentation make clear which classes depend
17783 on what library function. Only use :cntrl: and :graph: for ASCII.
17784 (Kazunobu Kuriyama, Dominique Pelle, closes #1560)
17785 Update the documentation.
17786Files: src/regexp.c, src/regexp_nfa.c, runtime/doc/pattern.txt,
17787 src/testdir/test_regexp_utf8.vim
17788
17789Patch 8.0.0520
17790Problem: Using a function pointer instead of the actual function, which we
17791 know.
17792Solution: Change mb_ functions to utf_ functions when already checked for
17793 Unicode. (Dominique Pelle, closes #1582)
17794Files: src/message.c, src/misc2.c, src/regexp.c, src/regexp_nfa.c,
17795 src/screen.c, src/spell.c
17796
17797Patch 8.0.0521
17798Problem: GtkForm handling is outdated.
17799Solution: Get rid of event filter functions. Get rid of GtkForm.width and
17800 .height. Eliminate gtk_widget_size_request() calls. (Kazunobu
17801 Kuriyama)
17802Files: src/gui_gtk_f.c, src/gui_gtk_f.h
17803
17804Patch 8.0.0522
17805Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a
17806 :global command.
17807Solution: When setting the clipboard was postponed, do not clear the
17808 register.
17809Files: src/ops.c, src/proto/ui.pro, src/ui.c, src/globals.h,
17810 src/testdir/test_global.vim, src/Makefile,
17811 src/testdir/test_alot.vim
17812
17813Patch 8.0.0523
17814Problem: dv} deletes part of a multi-byte character. (Urtica Dioica)
17815Solution: Include the whole character.
17816Files: src/search.c, src/testdir/test_normal.vim
17817
17818Patch 8.0.0524 (after 8.0.0518)
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017819Problem: Folds are messed up when 'encoding' is "utf-8".
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017820Solution: Also set the fold character when it's not multi-byte.
17821Files: src/screen.c, src/testdir/test_display.vim
17822
17823Patch 8.0.0525
17824Solution: Completion for user command argument not tested.
17825Problem: Add a test.
17826Files: src/testdir/test_cmdline.vim
17827
17828Patch 8.0.0526
17829Problem: Coverity complains about possible negative value.
17830Solution: Check return value of ftell() not to be negative.
17831Files: src/os_unix.c
17832
17833Patch 8.0.0527
17834Problem: RISC OS support was removed long ago, but one file is still
17835 included.
17836Solution: Delete the file. (Thomas Dziedzic, closes #1603)
17837Files: Filelist, src/swis.s
17838
17839Patch 8.0.0528
17840Problem: When 'wildmenu' is set and 'wildmode' has "longest" then the first
17841 file name is highlighted, even though the text shows the longest
17842 match.
17843Solution: Do not highlight the first match. (LemonBoy, closes #1602)
17844Files: src/ex_getln.c
17845
17846Patch 8.0.0529
17847Problem: Line in test commented out.
17848Solution: Uncomment the lines for character classes that were failing before
17849 8.0.0519. (Dominique Pelle, closes #1599)
17850Files: src/testdir/test_regexp_utf8.vim
17851
17852Patch 8.0.0530
17853Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
17854Solution: Correctly compute where to truncate. Fix translation.
17855 (closes #1600)
17856Files: src/edit.c, src/testdir/test_edit.vim
17857
17858Patch 8.0.0531 (after 8.0.0530)
17859Problem: Test with long directory name fails on non-unix systems.
17860Solution: Skip the test on non-unix systems.
17861Files: src/testdir/test_edit.vim
17862
17863Patch 8.0.0532 (after 8.0.0531)
17864Problem: Test with long directory name fails on Mac.
17865Solution: Skip the test on Mac systems.
17866Files: src/testdir/test_edit.vim
17867
17868Patch 8.0.0533
17869Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk)
17870Solution: Set the insert start column. (closes #1609)
17871Files: src/testdir/test_mapping.vim, src/edit.c
17872
17873Patch 8.0.0534
17874Problem: Defaults.vim does not work well with tiny features. (crd477)
17875Solution: When the +eval feature is not available always reset 'compatible'.
17876Files: runtime/defaults.vim
17877
17878Patch 8.0.0535
17879Problem: Memory leak when exiting from within a user function.
17880Solution: Clear the function call stack on exit.
17881Files: src/userfunc.c
17882
17883Patch 8.0.0536
17884Problem: Quickfix window not updated when freeing quickfix stack.
17885Solution: Update the quickfix window. (Yegappan Lakshmanan)
17886Files: src/quickfix.c, src/testdir/test_quickfix.vim
17887
17888Patch 8.0.0537
17889Problem: Illegal memory access with :z and large count.
17890Solution: Check for number overflow, using long instead of int. (Dominique
17891 Pelle, closes #1612)
17892Files: src/Makefile, src/ex_cmds.c, src/testdir/test_alot.vim,
17893 src/testdir/test_ex_z.vim
17894
17895Patch 8.0.0538
17896Problem: No test for falling back to default term value.
17897Solution: Add a test.
17898Files: src/testdir/test_startup.vim
17899
17900Patch 8.0.0539 (after 8.0.0538)
17901Problem: Startup test fails on Mac.
17902Solution: Use another term name, "unknown" is known. Avoid a 2 second delay.
17903Files: src/testdir/test_startup.vim, src/main.c, src/proto/main.pro,
17904 src/term.c
17905
17906Patch 8.0.0540 (after 8.0.0540)
17907Problem: Building unit tests fails.
17908Solution: Move params outside of #ifdef.
17909Files: src/main.c, src/message_test.c
17910
17911Patch 8.0.0541
17912Problem: Compiler warning on MS-Windows.
17913Solution: Add a type cast. (Mike Williams)
17914Files: src/edit.c
17915
17916Patch 8.0.0542
17917Problem: getpos() can return a negative line number. (haya14busa)
17918Solution: Handle a zero topline and botline. (closes #1613)
17919Files: src/eval.c, runtime/doc/eval.txt
17920
17921Patch 8.0.0543
17922Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle)
17923Solution: Reduce number of columns to 2000. Try to restore the window
17924 position.
17925Files: src/testdir/test_edit.vim, src/evalfunc.c, src/term.c,
17926 src/proto/term.pro, src/term.h
17927
17928Patch 8.0.0544
17929Problem: Cppcheck warnings.
17930Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique
17931 Pelle)
17932Files: src/channel.c, src/edit.c, src/farsi.c
17933
17934Patch 8.0.0545
17935Problem: Edit test may fail on some systems.
17936Solution: If creating a directory with a very long path fails, bail out.
17937Files: src/testdir/test_edit.vim
17938
17939Patch 8.0.0546
17940Problem: Swap file exists briefly when opening the command window.
17941Solution: Set the noswapfile command modifier before splitting the window.
17942 (James McCoy, closes #1620)
17943Files: src/ex_getln.c, src/option.c
17944
17945Patch 8.0.0547
17946Problem: Extra line break in verbosefile when using ":echomsg". (Ingo
17947 Karkat)
17948Solution: Don't call msg_start(). (closes #1618)
17949Files: src/eval.c, src/testdir/test_cmdline.vim
17950
17951Patch 8.0.0548
17952Problem: Saving the redo buffer only works one time, resulting in the "."
17953 command not working well for a function call inside another
17954 function call. (Ingo Karkat)
17955Solution: Save the redo buffer at every user function call. (closes #1619)
17956Files: src/getchar.c, src/proto/getchar.pro, src/structs.h,
17957 src/fileio.c, src/userfunc.c, src/testdir/test_functions.vim
17958
17959Patch 8.0.0549
17960Problem: No test for the 8g8 command.
17961Solution: Add a test. (Dominique Pelle, closes #1615)
17962Files: src/testdir/test_normal.vim
17963
17964Patch 8.0.0550
17965Problem: Some etags format tags file use 0x01, breaking the parsing.
17966Solution: Use 0x02 for TAG_SEP. (James McCoy, closes #1614)
17967Files: src/tag.c, src/testdir/test_taglist.vim
17968
17969Patch 8.0.0551
17970Problem: The typeahead buffer is reallocated too often.
17971Solution: Re-use the existing buffer if possible.
17972Files: src/getchar.c
17973
17974Patch 8.0.0552
17975Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
17976 is empty. (Bjorn Linse)
17977Solution: Check the 'casemap' options when deciding how to upper/lower case.
17978Files: src/charset.c, src/testdir/test_normal.vim
17979
17980Patch 8.0.0553 (after 8.0.0552)
17981Problem: Toupper/tolower test with Turkish locale fails on Mac.
17982Solution: Skip the test on Mac.
17983Files: src/testdir/test_normal.vim
17984
17985Patch 8.0.0554 (after 8.0.0552)
17986Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
17987 contains "keepascii". (Bjorn Linse)
17988Solution: When 'casemap' contains "keepascii" use ASCII toupper/tolower.
17989Files: src/charset.c, src/testdir/test_normal.vim
17990
17991Patch 8.0.0555 (after 8.0.0552)
17992Problem: Toupper/tolower test fails on OSX without Darwin.
17993Solution: Skip that part of the test also for OSX. (Kazunobu Kuriyama)
17994Files: src/testdir/test_normal.vim
17995
17996Patch 8.0.0556
17997Problem: Getting the window position fails if both the GUI and term
17998 code is built in.
17999Solution: Return after getting the GUI window position. (Kazunobu Kuriyama)
18000Files: src/evalfunc.c
18001
18002Patch 8.0.0557
18003Problem: GTK: using static gravities is not useful.
18004Solution: Remove setting static gravities. (Kazunobu Kuriyama)
18005Files: src/gui_gtk_f.c
18006
18007Patch 8.0.0558
18008Problem: The :ownsyntax command is not tested.
18009Solution: Add a test. (Dominique Pelle, closes #1622)
18010Files: src/testdir/test_syntax.vim
18011
18012Patch 8.0.0559
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020018013Problem: Setting 'ttytype' to xxx does not always fail as expected. (Marvin
Bram Moolenaar0635ee62017-04-28 20:32:33 +020018014 Schmidt)
18015Solution: Catch both possible errors. (closes #1601)
18016Files: src/testdir/test_options.vim
18017
18018Patch 8.0.0560
18019Problem: :windo allows for ! but it's not supported.
18020Solution: Disallow passing !. (Hirohito Higashi)
18021Files: src/ex_cmds.h
18022
18023Patch 8.0.0561
18024Problem: Undefined behavior when using backslash after empty line.
18025Solution: Check for an empty line. (Dominique Pelle, closes #1631)
18026Files: src/misc2.c, src/testdir/test_vimscript.vim
18027
18028Patch 8.0.0562
18029Problem: Not enough test coverage for syntax commands.
18030Solution: Add a few more tests. (Dominique Pelle, closes #1624)
18031Files: src/testdir/test_cmdline.vim, src/testdir/test_syntax.vim
18032
18033Patch 8.0.0563
18034Problem: Crash when getting the window position in tmux. (Marvin Schmidt)
18035Solution: Add t_GP to the list of terminal options. (closes #1627)
18036Files: src/option.c
18037
18038Patch 8.0.0564
18039Problem: Cannot detect Bazel BUILD files on some systems.
18040Solution: Check for BUILD after script checks. (Issue #1340)
18041Files: runtime/filetype.vim
18042
18043Patch 8.0.0565
18044Problem: Using freed memory in :caddbuf after clearing quickfix list.
18045 (Dominique Pelle)
18046Solution: Set qf_last to NULL.
18047Files: src/quickfix.c
18048
18049Patch 8.0.0566
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020018050Problem: Setting 'nocompatible' for the tiny version moves the cursor.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020018051Solution: Use another trick to skip commands when the +eval feature is
18052 present. (Christian Brabandt, closes #1630)
18053Files: runtime/defaults.vim
18054
18055Patch 8.0.0567
18056Problem: Call for requesting color and ambiwidth is too early. (Hirohito
18057 Higashi)
18058Solution: Move the call down to below resetting "starting".
18059Files: src/main.c
18060
18061Patch 8.0.0568
18062Problem: "1gd" may hang.
18063Solution: Don't get stuck in one position. (Christian Brabandt, closes #1643)
18064Files: src/testdir/test_goto.vim, src/normal.c
18065
18066Patch 8.0.0569
18067Problem: Bracketed paste is still enabled when executing a shell command.
18068 (Michael Smith)
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020018069Solution: Disable bracketed paste when going into cooked mode. (closes #1638)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020018070Files: src/term.c
18071
18072Patch 8.0.0570
18073Problem: Can't run make with several jobs, creating directories has a race
18074 condition.
18075Solution: Use the MKDIR_P autoconf mechanism. (Eric N. Vander Weele,
18076 closes #1639)
18077Files: src/configure.ac, src/auto/configure, src/Makefile,
18078 src/config.mk.in, src/install-sh, src/mkinstalldirs, Filelist
18079
18080Patch 8.0.0571
18081Problem: The cursor line number becomes negative when using :z^ in an empty
18082 buffer. (neovim #6557)
18083Solution: Correct the line number. Also reset the column.
18084Files: src/testdir/test_ex_z.vim, src/ex_cmds.c
18085
18086Patch 8.0.0572
18087Problem: Building the command table requires Perl.
18088Solution: Use a Vim script solution. (Dominique Pelle, closes #1641)
18089Files: src/Makefile, src/create_cmdidxs.pl, src/create_cmdidxs.vim,
18090 src/ex_cmdidxs.h, src/ex_docmd.c, Filelist
18091
18092Patch 8.0.0573
18093Problem: Running parallel make after distclean fails. (Manuel Ortega)
18094Solution: Instead of using targets "scratch config myself" use "reconfig".
18095Files: src/Makefile, src/config.mk.dist
18096
18097Patch 8.0.0574
18098Problem: Get only one quickfix list after :caddbuf.
18099Solution: Reset qf_multiline. (Yegappan Lakshmanan)
18100Files: src/quickfix.c, src/testdir/test_quickfix.vim
18101
18102Patch 8.0.0575
18103Problem: Using freed memory when resetting 'indentexpr' while evaluating
18104 it. (Dominique Pelle)
18105Solution: Make a copy of 'indentexpr'.
18106Files: src/misc1.c, src/testdir/test_options.vim
18107
18108Patch 8.0.0576 (after 8.0.0570 and 8.0.0573)
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020018109Problem: Can't build when configure chooses "install-sh". (Daniel Hahler)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020018110Solution: Always use install-sh. Fix remaining use of mkinstalldirs.
18111 (closes #1647)
18112Files: src/installman.sh, src/installml.sh, src/config.mk.in,
18113 src/configure.ac, src/auto/configure, src/Makefile
18114
18115Patch 8.0.0577 (after 8.0.0575)
18116Problem: Warning for uninitialized variable. (John Marriott)
18117Solution: Initialize "indent".
18118Files: src/misc1.c
18119
18120Patch 8.0.0578
18121Problem: :simalt on MS-Windows does not work properly.
18122Solution: Put something in the typeahead buffer. (Christian Brabandt)
18123Files: src/gui_w32.c
18124
18125Patch 8.0.0579
18126Problem: Duplicate test case for quickfix.
18127Solution: Remove the function. (Yegappan Lakshmanan)
18128Files: src/testdir/test_quickfix.vim
18129
18130Patch 8.0.0580
18131Problem: Cannot set the valid flag with setqflist().
18132Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes #1642)
18133Files: runtime/doc/eval.txt, src/quickfix.c,
18134 src/testdir/test_quickfix.vim
18135
18136Patch 8.0.0581
18137Problem: Moving folded text is sometimes not correct.
18138Solution: Bail out when "move_end" is zero. (Matthew Malcomson)
18139Files: src/fold.c, src/testdir/test_fold.vim
18140
18141Patch 8.0.0582
18142Problem: Illegal memory access with z= command. (Dominique Pelle)
18143Solution: Avoid case folded text to be longer than the original text. Use
18144 MB_PTR2LEN() instead of MB_BYTE2LEN().
18145Files: src/spell.c, src/testdir/test_spell.vim
18146
18147Patch 8.0.0583
18148Problem: Fold test hangs on MS-Windows.
18149Solution: Avoid overflow in compare.
18150Files: src/fold.c
18151
18152Patch 8.0.0584
18153Problem: Memory leak when executing quickfix tests.
18154Solution: Free the list reference. (Yegappan Lakshmanan)
18155Files: src/quickfix.c
18156
18157Patch 8.0.0585
18158Problem: Test_options fails when run in the GUI.
18159Solution: Also check the 'imactivatekey' value when the GUI is not running.
18160 Specify test values that work and that fail.
18161Files: src/option.c, src/testdir/gen_opt_test.vim
18162
18163Patch 8.0.0586
18164Problem: No test for mapping timing out.
18165Solution: Add a test.
18166Files: src/testdir/test_mapping.vim
18167
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018168Patch 8.0.0587
18169Problem: Configure check for return value of tgetent is skipped.
18170Solution: Always perform the check. (Marvin Schmidt, closes #1664)
18171Files: src/configure.ac, src/auto/configure
18172
18173Patch 8.0.0588
18174Problem: job_stop() often assumes the channel will be closed, while the job
18175 may not actually be stopped. (Martin Gammelsæter)
18176Solution: Only assume the job stops on "kill". Don't send a signal if the
18177 job has already ended. (closes #1632)
18178Files: src/channel.c
18179
18180Patch 8.0.0589 (after 8.0.0578)
18181Problem: :simalt still does not work.
18182Solution: Use K_NOP instead of K_IGNORE. (Christian Brabandt)
18183Files: src/gui_w32.c
18184
18185Patch 8.0.0590
18186Problem: Cannot add a context to locations.
18187Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan,
18188 closes #1012)
18189Files: src/eval.c, src/proto/quickfix.pro, src/quickfix.c,
18190 src/testdir/test_quickfix.vim
18191
18192Patch 8.0.0591
18193Problem: Changes to eval functionality not documented.
18194Solution: Include all the changes.
18195Files: runtime/doc/eval.txt
18196
18197Patch 8.0.0592
18198Problem: If a job writes to a buffer and the user is typing a command, the
18199 screen isn't updated. When a message is displayed the changed
18200 buffer may cause it to be cleared. (Ramel Eshed)
18201Solution: Update the screen and then the command line if the screen didn't
18202 scroll. Avoid inserting screen lines, as it clears any message.
18203 Update the status line when the buffer changed.
18204Files: src/channel.c, src/screen.c, src/ex_getln.c, src/globals.h,
18205 src/vim.h, src/proto/ex_getln.pro, src/proto/screen.pro
18206
18207Patch 8.0.0593
18208Problem: Duplication of code for adding a list or dict return value.
18209Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)
18210Files: src/dict.c, src/eval.c, src/evalfunc.c, src/if_perl.xs, src/list.c,
18211 src/proto/dict.pro, src/proto/list.pro
18212
18213Patch 8.0.0594 (after 8.0.0592)
18214Problem: Build failure when windows feature is missing.
18215Solution: Add #ifdef.
18216Files: src/screen.c
18217
18218Patch 8.0.0595 (after 8.0.0590)
18219Problem: Coverity warning for not checking return value of dict_add().
18220Solution: Check the return value for FAIL.
18221Files: src/quickfix.c
18222
18223Patch 8.0.0596
18224Problem: Crash when complete() is called after complete_add() in
18225 'completefunc'. (Lifepillar)
18226Solution: Bail out if compl_pattern is NULL. (closes #1668)
18227 Also avoid using freed memory.
18228Files: src/edit.c, src/testdir/test_popup.vim
18229
18230Patch 8.0.0597
18231Problem: Off-by-one error in buffer size computation.
18232Solution: Use ">=" instead of ">". (Lemonboy, closes #1694)
18233Files: src/quickfix.c
18234
18235Patch 8.0.0598
18236Problem: Building with gcc 7.1 yields new warnings.
18237Solution: Initialize result. (John Marriott)
18238Files: src/ex_docmd.c
18239
18240Patch 8.0.0599
18241Problem: diff mode is insufficiently tested
18242Solution: Add more test cases. (Dominique Pelle, closes #1685)
18243Files: src/diff.c, src/testdir/test_diffmode.vim
18244
18245Patch 8.0.0600
18246Problem: test_recover fails on some systems.
18247Solution: Explicitly check if "/" is writable. (Ken Takata)
18248Files: src/testdir/test_recover.vim
18249
18250Patch 8.0.0601
18251Problem: No test coverage for :spellrepall.
18252Solution: Add a test. (Dominique Pelle, closes #1717)
18253Files: src/testdir/test_spell.vim
18254
18255Patch 8.0.0602
18256Problem: When gF fails to edit the file the cursor still moves to the found
18257 line number.
18258Solution: Check the return value of do_ecmd(). (Michael Hwang)
18259Files: src/normal.c, src/testdir/test_gf.vim
18260
18261Patch 8.0.0603 (after 8.0.0602)
18262Problem: gF test fails on MS-Windows.
18263Solution: Use @ instead of : before the line number
18264Files: src/testdir/test_gf.vim
18265
18266Patch 8.0.0604 (after 8.0.0603)
18267Problem: gF test still fails on MS-Windows.
18268Solution: Use : before the line number and remove it from 'isfname'.
18269Files: src/testdir/test_gf.vim
18270
18271Patch 8.0.0605
18272Problem: The buffer that quickfix caches for performance may become
18273 invalid. (Daniel Hahler)
18274Solution: Reset qf_last_bufref in qf_init_ext(). (Daniel Hahler,
18275 closes #1728, closes #1676)
18276Files: src/quickfix.c
18277
18278Patch 8.0.0606
18279Problem: Cannot set the context for a specified quickfix list.
18280Solution: Use the list index instead of the current list. (Yegappan
18281 Lakshmanan)
18282Files: src/quickfix.c, src/testdir/test_quickfix.vim
18283
18284Patch 8.0.0607
18285Problem: When creating a bufref, then using :bwipe and :new it might get
18286 the same memory and bufref_valid() returns true.
18287Solution: Add br_fnum to check the buffer number didn't change.
18288Files: src/structs.h, src/buffer.c, src/globals.h, src/if_py_both.h,
18289 src/quickfix.c
18290
18291Patch 8.0.0608
18292Problem: Cannot manipulate other than the current quickfix list.
18293Solution: Pass the list index to quickfix functions. (Yegappan Lakshmanan)
18294Files: src/quickfix.c
18295
18296Patch 8.0.0609
18297Problem: For some people the hint about quitting is not sufficient.
18298Solution: Put <Enter> separately. Also use ":qa!" to get out even when
18299 there are changes.
18300Files: src/normal.c
18301
18302Patch 8.0.0610
18303Problem: The screen is redrawn when t_BG is set and used to detect the
18304 value for 'background'.
18305Solution: Don't redraw when the value of 'background' didn't change.
18306Files: src/term.c.
18307
18308Patch 8.0.0611
18309Problem: When t_u7 is sent a few characters in the second screen line are
18310 overwritten and not redrawn later. (Rastislav Barlik)
18311Solution: Move redrawing the screen to after overwriting the characters.
18312Files: src/main.c, src/term.c.
18313
18314Patch 8.0.0612
18315Problem: Package directories are added to 'runtimepath' only after loading
18316 non-package plugins.
18317Solution: Split off the code to add package directories to 'runtimepath'.
18318 (Ingo Karkat, closes #1680)
18319Files: src/ex_cmds2.c, src/globals.h, src/main.c, src/proto/ex_cmds2.pro,
18320 src/testdir/test_startup.vim
18321
18322Patch 8.0.0613
18323Problem: The conf filetype detection is done before ftdetect scripts from
18324 packages that are added later.
18325Solution: Add the FALLBACK argument to :setfiletype. (closes #1679,
18326 closes #1693)
18327Files: src/ex_docmd.c, runtime/filetype.vim, src/Makefile,
18328 src/testdir/test_filetype.vim, src/testdir/test_alot.vim
18329
18330Patch 8.0.0614
18331Problem: float2nr() is not exactly right.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018332Solution: Make float2nr() more accurate. Turn test65 into a new style test.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018333 (Hirohito Higashi, closes #1688)
18334Files: src/Makefile, src/evalfunc.c, src/testdir/Make_all.mak,
18335 src/testdir/Make_vms.mms, src/testdir/test65.in,
18336 src/testdir/test65.ok, src/testdir/test_float_func.vim,
18337 src/testdir/test_vimscript.vim, src/macros.h
18338
18339Patch 8.0.0615
18340Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov)
18341Solution: Expand % differently. (Christian Brabandt, closes #1682)
18342Files: src/ex_docmd.c, src/testdir/test_hardcopy.vim
18343
18344
18345Patch 8.0.0616
18346Problem: When setting the cterm background with ":hi Normal" the value of
18347 'background' may be set wrongly.
18348Solution: Check that the color is less than 16. Don't set 'background' when
18349 it was set explicitly. (Lemonboy, closes #1710)
18350Files: src/syntax.c, src/testdir/test_syntax.vim
18351
18352Patch 8.0.0617 (after 8.0.0615)
18353Problem: Hardcopy test hangs on MS-Windows.
18354Solution: Check the postscript feature is supported.
18355Files: src/testdir/test_hardcopy.vim
18356
18357Patch 8.0.0618
18358Problem: NFA regex engine handles [0-z] incorrectly.
18359Solution: Return at the right point. (James McCoy, closes #1703)
18360Files: src/regexp_nfa.c, src/testdir/test36.in, src/testdir/test36.ok
18361
18362Patch 8.0.0619
18363Problem: In the GUI, when a timer uses feedkeys(), it still waits for an
18364 event. (Raymond Ko)
18365Solution: Check tb_change_cnt in one more place.
18366Files: src/gui.c
18367
18368Patch 8.0.0620
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018369Problem: Since we only support GTK versions that have it, the check for
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018370 HAVE_GTK_MULTIHEAD is no longer needed.
18371Solution: Remove HAVE_GTK_MULTIHEAD. (Kazunobu Kuriyama)
18372Files: src/config.h.in, src/configure.ac, src/auto/configure,
18373 src/gui_beval.c, src/gui_gtk_x11.c, src/mbyte.c
18374
18375Patch 8.0.0621
18376Problem: The ":stag" command does not respect 'switchbuf'.
18377Solution: Check 'switchbuf' for tag commands that may open a new window.
18378 (Ingo Karkat, closes #1681) Define macros for the return values
18379 of getfile().
18380Files: src/tag.c, src/testdir/test_tagjump.vim, src/vim.h, src/buffer.c,
18381 src/ex_cmds.c, src/search.c,
18382
18383Patch 8.0.0622
18384Problem: Using a text object to select quoted text fails when 'selection'
18385 is set to "exclusive". (Guraga)
18386Solution: Swap cursor and visual start position. (Christian Brabandt,
18387 closes #1687)
18388Files: src/search.c, src/testdir/test_textobjects.vim
18389
18390Patch 8.0.0623
18391Problem: The message "Invalid range" is used for multiple errors.
18392Solution: Add two more specific error messages. (Itchyny, Ken Hamada)
18393Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
18394
18395Patch 8.0.0624 (after 8.0.0623)
18396Problem: Warning for unused variable in tiny build. (Tony Mechelynck)
18397Solution: Add an #ifdef.
18398Files: src/regexp.c
18399
18400Patch 8.0.0625
18401Problem: shellescape() always escapes a newline, which does not work with
18402 some shells. (Harm te Hennepe)
18403Solution: Only escape a newline when the "special" argument is non-zero.
18404 (Christian Brabandt, closes #1590)
18405Files: src/evalfunc.c, src/testdir/test_functions.vim
18406
18407Patch 8.0.0626
18408Problem: In the GUI the cursor may flicker.
18409Solution: Check the cmd_silent flag before updating the cursor shape.
18410 (Hirohito Higashi, closes #1637)
18411Files: src/getchar.c
18412
18413Patch 8.0.0627
18414Problem: When 'wrapscan' is off "gn" does not select the whole pattern when
18415 it's the last one in the text. (KeyboardFire)
18416Solution: Check if the search fails. (Christian Brabandt, closes #1683)
18417Files: src/search.c, src/testdir/test_gn.vim
18418
18419Patch 8.0.0628 (after 8.0.0626
18420Problem: Cursor disappears after silent mapping. (Ramel Eshed)
18421Solution: Do restore the cursor when it was changed, but don't change it in
18422 the first place for a silent mapping.
18423Files: src/getchar.c
18424
18425
18426Patch 8.0.0629 (after 8.0.0611)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018427Problem: Checking for ambiguous width is not working. (Hirohito Higashi)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018428Solution: Reset "starting" earlier.
18429Files: src/main.c
18430
18431Patch 8.0.0630
18432Problem: The :global command does not work recursively, which makes it
18433 difficult to execute a command on a line where one pattern matches
18434 and another does not match. (Miles Cranmer)
18435Solution: Allow for recursion if it is for only one line. (closes #1760)
18436Files: src/ex_cmds.c, src/testdir/test_global.vim, runtime/doc/repeat.txt
18437
18438Patch 8.0.0631
18439Problem: Perl 5.26 also needs S_TOPMARK and S_POPMARK defined.
18440Solution: Define the functions when needed. (Jesin, closes #1748)
18441Files: src/if_perl.xs
18442
18443Patch 8.0.0632
18444Problem: The quotestar test is still a bit flaky.
18445Solution: Kill any existing server to make the retry work. Wait for the
18446 register to be filled.
18447Files: src/testdir/test_quotestar.vim
18448
18449Patch 8.0.0633
18450Problem: The client-server test is still a bit flaky.
18451Solution: Wait a bit for the GUI to start. Check that the version number
18452 can be obtained.
18453Files: src/testdir/test_clientserver.vim
18454
18455Patch 8.0.0634
18456Problem: Cannot easily get to the last quickfix list.
18457Solution: Add "$" as a value for the "nr" argument of getqflist() and
18458 setqflist(). (Yegappan Lakshmanan)
18459Files: runtime/doc/eval.txt, src/quickfix.c,
18460 src/testdir/test_quickfix.vim
18461
18462Patch 8.0.0635
18463Problem: When 'ignorecase' is set script detection is inaccurate.
18464Solution: Enforce matching case for text. (closes #1753)
18465Files: runtime/scripts.vim
18466
18467Patch 8.0.0636
18468Problem: When reading the undo file fails may use uninitialized data.
18469Solution: Always clear the buffer on failure.
18470Files: src/undo.c
18471
18472Patch 8.0.0637
18473Problem: Crash when using some version of GTK 3.
18474Solution: Add #ifdefs around incrementing the menu index. (Kazunobu
18475 Kuriyama)
18476Files: src/gui_gtk.c
18477
18478Patch 8.0.0638
18479Problem: Cannot build with new MSVC version VS2017.
18480Solution: Change the compiler arguments. (Leonardo Manera, closes #1731,
18481 closes #1747)
18482Files: src/GvimExt/Makefile, src/Make_mvc.mak
18483
18484Patch 8.0.0639
18485Problem: The cursor position is set to the last position in a new commit
18486 message.
18487Solution: Don't set the position if the filetype matches "commit".
18488 (Christian Brabandt)
18489Files: runtime/defaults.vim
18490
18491Patch 8.0.0640
18492Problem: Mismatch between help and actual message for ":syn conceal".
18493Solution: Change the message to match the help. (Ken Takata)
18494Files: src/syntax.c
18495
18496Patch 8.0.0641
18497Problem: Cannot set a separate highlighting for the current line in the
18498 quickfix window.
18499Solution: Add QuickFixLine. (anishsane, closes #1755)
18500Files: src/option.c, src/quickfix.c, src/screen.c, src/syntax.c,
18501 src/vim.h, runtime/doc/options.txt, runtime/doc/quickfix.txt
18502
18503Patch 8.0.0642
18504Problem: writefile() continues after detecting an error.
18505Solution: Bail out as soon as an error is detected. (suggestions by Nikolai
18506 Pavlov, closes #1476)
18507Files: src/evalfunc.c, src/testdir/test_writefile.vim
18508
18509Patch 8.0.0643
18510Problem: When 'hlsearch' is set and matching with the last search pattern
18511 is very slow, Vim becomes unusable. Cannot quit search by
18512 pressing CTRL-C.
18513Solution: When the search times out set a flag and don't try again. Check
18514 for timeout and CTRL-C in NFA loop that adds states.
18515Files: src/screen.c, src/ex_cmds.c, src/quickfix.c, src/regexp.c,
18516 src/proto/regexp.pro, src/regexp.h, src/search.c,
18517 src/proto/search.pro, src/syntax.c, src/regexp_nfa.c, src/spell.c,
18518 src/tag.c, src/gui.c, src/edit.c, src/evalfunc.c, src/ex_docmd.c,
18519 src/ex_getln.c, src/normal.c
18520
18521Patch 8.0.0644
18522Problem: There is no test for 'hlsearch' timing out.
18523Solution: Add a test.
18524Files: src/testdir/test_hlsearch.vim
18525
18526Patch 8.0.0645
18527Problem: The new regexp engine does not give an error for using a back
18528 reference where it is not allowed. (Dominique Pelle)
18529Solution: Check the back reference like the old engine. (closes #1774)
18530Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_hlsearch.vim,
18531 src/testdir/test_statusline.vim,
18532 src/testdir/test_regexp_latin1.vim
18533
18534Patch 8.0.0646
18535Problem: The hlsearch test fails on fast systems.
18536Solution: Make the search pattern slower. Fix that the old regexp engine
18537 doesn't timeout properly.
18538Files: src/regexp.c, src/testdir/test_hlsearch.vim
18539
18540Patch 8.0.0647
18541Problem: Syntax highlighting can cause a freeze.
18542Solution: Apply 'redrawtime' to syntax highlighting, per window.
18543Files: src/structs.h, src/screen.c, src/syntax.c, src/normal.c,
18544 src/regexp.c, src/proto/syntax.pro, src/testdir/test_syntax.vim,
18545 runtime/doc/options.txt
18546
18547Patch 8.0.0648
18548Problem: Possible use of NULL pointer if buflist_new() returns NULL.
18549 (Coverity)
18550Solution: Check for NULL pointer in set_bufref().
18551Files: src/buffer.c
18552
18553Patch 8.0.0649
18554Problem: When opening a help file the filetype is set several times.
18555Solution: When setting the filetype to the same value from a modeline, don't
18556 trigger FileType autocommands. Don't set the filetype to "help"
18557 when it's already set correctly.
18558Files: src/ex_cmds.c, src/option.c, runtime/filetype.vim
18559
18560Patch 8.0.0650
18561Problem: For extra help files the filetype is set more than once.
18562Solution: In *.txt files check that there is no help file modline.
18563Files: runtime/filetype.vim
18564
18565Patch 8.0.0651 (after 8.0.0649)
18566Problem: Build failure without the auto command feature.
18567Solution: Add #ifdef. (closes #1782)
18568Files: src/ex_cmds.c
18569
18570Patch 8.0.0652
18571Problem: Unicode information is outdated.
18572Solution: Update to Unicode 10. (Christian Brabandt)
18573Files: runtime/tools/unicode.vim, src/mbyte.c
18574
18575Patch 8.0.0653
18576Problem: The default highlight for QuickFixLine does not work for several
18577 color schemes. (Manas Thakur)
18578Solution: Make the default use the old color. (closes #1780)
18579Files: src/syntax.c
18580
18581Patch 8.0.0654
18582Problem: Text found after :endfunction is silently ignored.
18583Solution: Give a warning if 'verbose' is set. When | or \n are used,
18584 execute the text as a command.
18585Files: src/testdir/test_vimscript.vim, src/userfunc.c,
18586 runtime/doc/eval.txt
18587
18588Patch 8.0.0655
18589Problem: Not easy to make sure a function does not exist.
18590Solution: Add ! as an optional argument to :delfunc.
18591Files: src/userfunc.c, src/ex_cmds.h, src/testdir/test_vimscript.vim
18592
18593Patch 8.0.0656
18594Problem: Cannot use ! after some user commands.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018595Solution: Properly check for existing command. (Hirohito Higashi)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018596Files: src/ex_docmd.c, src/testdir/test_vimscript.vim
18597
18598Patch 8.0.0657
18599Problem: Cannot get and set quickfix list items.
18600Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan
18601 Lakshmanan)
18602Files: runtime/doc/eval.txt, src/quickfix.c,
18603 src/testdir/test_quickfix.vim
18604
18605Patch 8.0.0658
18606Problem: Spell test is old style.
18607Solution: Turn the spell test into a new style test (pschuh, closes #1778)
18608Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
18609 src/testdir/test58.in, src/testdir/test58.ok,
18610 src/testdir/test_spell.vim
18611
18612Patch 8.0.0659
18613Problem: No test for conceal mode.
18614Solution: Add a conceal mode test. (Dominique Pelle, closes #1783)
18615Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim
18616
18617Patch 8.0.0660
18618Problem: Silent install on MS-Windows does show a dialog.
18619Solution: Add /SD to the default choice. (allburov, closes #1772)
18620Files: nsis/gvim.nsi
18621
18622Patch 8.0.0661
18623Problem: Recognizing urxvt mouse codes does not work well.
18624Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486)
18625Files: src/keymap.h, src/misc2.c, src/os_unix.c, src/term.c
18626
18627Patch 8.0.0662 (after 8.0.0659)
18628Problem: Stray FIXME for fixed problem.
18629Solution: Remove the comment. (Dominique Pelle)
18630Files: src/testdir/test_syntax.vim
18631
18632Patch 8.0.0663
18633Problem: Giving an error message only when 'verbose' set is unexpected.
18634Solution: Give a warning message instead.
18635Files: src/message.c, src/proto/message.pro, src/userfunc.c,
18636 src/testdir/test_vimscript.vim, runtime/doc/eval.txt
18637
18638Patch 8.0.0664 (after 8.0.0661)
18639Problem: Mouse does not work in tmux. (lilydjwg)
18640Solution: Add flag for SGR release being present.
18641Files: src/term.c
18642
18643Patch 8.0.0665 (after 8.0.0661)
18644Problem: Warning for uninitialized variable. (Tony Mechelynck)
18645Solution: Initialize it.
18646Files: src/term.c
18647
18648Patch 8.0.0666
18649Problem: Dead for loop. (Coverity)
18650Solution: Remove the for loop.
18651Files: src/term.c
18652
18653Patch 8.0.0667
18654Problem: Memory access error when command follows :endfunction. (Nikolai
18655 Pavlov)
18656Solution: Make memory handling in :function straightforward. (closes #1793)
18657Files: src/userfunc.c, src/testdir/test_vimscript.vim
18658
18659Patch 8.0.0668 (after 8.0.0660)
18660Problem: Nsis installer script does not work. (Christian Brabandt)
18661Solution: Fix the syntax of /SD.
18662Files: nsis/gvim.nsi
18663
18664Patch 8.0.0669
18665Problem: In Insert mode, CTRL-N at start of the buffer does not work
18666 correctly. (zuloloxi)
18667Solution: Wrap around the start of the buffer. (Christian Brabandt)
18668Files: src/edit.c, src/testdir/test_popup.vim
18669
18670Patch 8.0.0670
18671Problem: Can't use input() in a timer callback. (Cosmin Popescu)
18672Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes #1790,
18673 closes #1129)
18674Files: src/evalfunc.c, src/ex_cmds2.c, src/globals.h,
18675 src/testdir/test_timers.vim
18676
18677Patch 8.0.0671
18678Problem: When a function invoked from a timer calls confirm() and the user
18679 types CTRL-C then Vim hangs.
18680Solution: Reset typebuf_was_filled. (Ozaki Kiichi, closes #1791)
18681Files: src/getchar.c
18682
18683Patch 8.0.0672
18684Problem: Third item of synconcealed() changes too often. (Dominique Pelle)
18685Solution: Reset the sequence number at the start of each line.
18686Files: src/syntax.c, src/testdir/test_syntax.vim, runtime/doc/eval.txt
18687
18688Patch 8.0.0673 (after 8.0.0673)
18689Problem: Build failure without conceal feature.
18690Solution: Add #ifdef.
18691Files: src/syntax.c
18692
18693Patch 8.0.0674 (after 8.0.0670)
18694Problem: Cannot build with eval but without timers.
18695Solution: Add #ifdef (John Marriott)
18696Files: src/evalfunc.c
18697
18698Patch 8.0.0675
18699Problem: 'colorcolumn' has a higher priority than 'hlsearch', it should be
18700 the other way around. (Nazri Ramliy)
18701Solution: Change the priorities. (LemonBoy, closes #1794)
18702Files: src/screen.c, src/testdir/test_listlbr_utf8.vim
18703
18704Patch 8.0.0676
18705Problem: Crash when closing the quickfix window in a FileType autocommand
18706 that triggers when the quickfix window is opened.
18707Solution: Save the new value before triggering the OptionSet autocommand.
18708 Add the "starting" flag to test_override() to make the text work.
18709Files: src/evalfunc.c, src/option.c, runtime/doc/eval.txt
18710
18711Patch 8.0.0677
18712Problem: Setting 'filetype' internally may cause the current buffer and
18713 window to change unexpectedly.
18714Solution: Set curbuf_lock. (closes #1734)
18715Files: src/quickfix.c, src/ex_cmds.c, src/ex_getln.c,
18716 src/testdir/test_quickfix.vim
18717
18718Patch 8.0.0678
18719Problem: When 'equalalways' is set and closing a window in a separate
18720 frame, not all window sizes are adjusted. (Glacambre)
18721Solution: Resize all windows if the new current window is not in the same
18722 frame as the closed window. (closes #1707)
18723Files: src/window.c, src/testdir/test_window_cmd.vim
18724
18725Patch 8.0.0679 (after 8.0.0678)
18726Problem: Using freed memory.
18727Solution: Get the parent frame pointer earlier.
18728Files: src/window.c
18729
18730Patch 8.0.0680 (after 8.0.0612)
18731Problem: Plugins in start packages are sourced twice. (mseplowitz)
18732Solution: Use the unmodified runtime path when loading plugins (test by Ingo
18733 Karkat, closes #1801)
18734Files: src/testdir/test_startup.vim, src/main.c, src/ex_cmds2.c,
18735 src/proto/ex_cmds2.pro
18736
18737Patch 8.0.0681
18738Problem: Unnamed register only contains the last deleted text when
18739 appending deleted text to a register. (Wolfgang Jeltsch)
18740Solution: Only set y_previous when not using y_append. (Christian Brabandt)
18741Files: src/ops.c, src/testdir/test_put.vim
18742
18743Patch 8.0.0682
18744Problem: No test for synIDtrans().
18745Solution: Add a test. (Dominique Pelle, closes #1796)
18746Files: src/testdir/test_syntax.vim
18747
18748Patch 8.0.0683
18749Problem: When using a visual bell there is no delay, causing the flash to
18750 be very short, possibly unnoticeable. Also, the flash and the
18751 beep can lockup the UI when repeated often.
18752Solution: Do the delay in Vim or flush the output before the delay. Limit the
18753 bell to once per half a second. (Ozaki Kiichi, closes #1789)
18754Files: src/misc1.c, src/proto/term.pro, src/term.c
18755
18756Patch 8.0.0684
18757Problem: Old style tests are not nice.
18758Solution: Turn two tests into new style. (pschuh, closes #1797)
18759Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
18760 src/testdir/test82.in, src/testdir/test82.ok,
18761 src/testdir/test90.in, src/testdir/test90.ok,
18762 src/testdir/test_sha256.vim, src/testdir/test_utf8_comparisons.vim
18763
18764Patch 8.0.0685
18765Problem: When making backups is disabled and conversion with iconv fails
18766 the written file is truncated. (Luo Chen)
18767Solution: First try converting the file and write the file only when it did
18768 not fail. (partly by Christian Brabandt)
18769Files: src/fileio.c, src/testdir/test_writefile.vim
18770
18771Patch 8.0.0686
18772Problem: When typing CTRL-L in a window that's not the first one, another
18773 redraw will happen later. (Christian Brabandt)
18774Solution: Reset must_redraw after calling screenclear().
18775Files: src/screen.c
18776
18777Patch 8.0.0687
18778Problem: Minor issues related to quickfix.
18779Solution: Set the proper return status for all cases in setqflist() and at
18780 test cases for this. Move the "adding" flag outside of
18781 FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan
18782 Lakshmanan)
18783Files: runtime/doc/eval.txt, src/quickfix.c,
18784 src/testdir/test_quickfix.vim
18785
18786Patch 8.0.0688
18787Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat)
18788Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat,
18789 closes #1804)
18790Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
18791
18792Patch 8.0.0689
18793Problem: The ~ character is not escaped when adding to the search pattern
18794 with CTRL-L. (Ramel Eshed)
18795Solution: Escape the character. (Christian Brabandt)
18796Files: src/ex_getln.c, src/testdir/test_search.vim
18797
18798Patch 8.0.0690
18799Problem: Compiler warning on non-Unix system.
18800Solution: Add #ifdef. (John Marriott)
18801Files: src/term.c
18802
18803Patch 8.0.0691
18804Problem: Compiler warning without the linebreak feature.
18805Solution: Add #ifdef. (John Marriott)
18806Files: src/edit.c
18807
18808Patch 8.0.0692
18809Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction.
18810 (Ramel Eshed)
18811Solution: Adjust search_start. (Christian Brabandt)
18812Files: src/ex_getln.c, src/testdir/test_search.vim
18813
18814Patch 8.0.0693
18815Problem: No terminal emulator support. Cannot properly run commands in the
18816 GUI. Cannot run a job interactively with an ssh connection.
18817Solution: Very early implementation of the :terminal command. Includes
18818 libvterm converted to ANSI C. Many parts still missing.
18819Files: src/feature.h, src/Makefile, src/configure.ac, src/auto/configure,
18820 src/config.mk.in, src/config.h.in, src/terminal.c, src/structs.h,
18821 src/ex_cmdidxs.h, src/ex_docmd.c, src/option.c, src/option.h,
18822 src/evalfunc.c, src/proto/terminal.pro, src/proto.h,
18823 runtime/doc/terminal.txt, runtime/doc/Makefile, Filelist,
18824 src/libvterm/.bzrignore, src/libvterm/.gitignore,
18825 src/libvterm/LICENSE, src/libvterm/README, src/libvterm/Makefile,
18826 src/libvterm/tbl2inc_c.pl, src/libvterm/vterm.pc.in,
18827 src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c,
18828 src/libvterm/bin/vterm-dump.c, src/libvterm/doc/URLs,
18829 src/libvterm/doc/seqs.txt, src/libvterm/include/vterm.h,
18830 src/libvterm/include/vterm_keycodes.h,
18831 src/libvterm/src/encoding.c,
18832 src/libvterm/src/encoding/DECdrawing.inc,
18833 src/libvterm/src/encoding/DECdrawing.tbl,
18834 src/libvterm/src/encoding/uk.inc,
18835 src/libvterm/src/encoding/uk.tbl, src/libvterm/src/keyboard.c,
18836 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
18837 src/libvterm/src/pen.c, src/libvterm/src/rect.h,
18838 src/libvterm/src/screen.c, src/libvterm/src/state.c,
18839 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h,
18840 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
18841 src/libvterm/t/02parser.test, src/libvterm/t/03encoding_utf8.test,
18842 src/libvterm/t/10state_putglyph.test,
18843 src/libvterm/t/11state_movecursor.test,
18844 src/libvterm/t/12state_scroll.test,
18845 src/libvterm/t/13state_edit.test,
18846 src/libvterm/t/14state_encoding.test,
18847 src/libvterm/t/15state_mode.test,
18848 src/libvterm/t/16state_resize.test,
18849 src/libvterm/t/17state_mouse.test,
18850 src/libvterm/t/18state_termprops.test,
18851 src/libvterm/t/20state_wrapping.test,
18852 src/libvterm/t/21state_tabstops.test,
18853 src/libvterm/t/22state_save.test,
18854 src/libvterm/t/25state_input.test,
18855 src/libvterm/t/26state_query.test,
18856 src/libvterm/t/27state_reset.test,
18857 src/libvterm/t/28state_dbl_wh.test,
18858 src/libvterm/t/29state_fallback.test, src/libvterm/t/30pen.test,
18859 src/libvterm/t/40screen_ascii.test,
18860 src/libvterm/t/41screen_unicode.test,
18861 src/libvterm/t/42screen_damage.test,
18862 src/libvterm/t/43screen_resize.test,
18863 src/libvterm/t/44screen_pen.test,
18864 src/libvterm/t/45screen_protect.test,
18865 src/libvterm/t/46screen_extent.test,
18866 src/libvterm/t/47screen_dbl_wh.test,
18867 src/libvterm/t/48screen_termprops.test,
18868 src/libvterm/t/90vttest_01-movement-1.test,
18869 src/libvterm/t/90vttest_01-movement-2.test,
18870 src/libvterm/t/90vttest_01-movement-3.test,
18871 src/libvterm/t/90vttest_01-movement-4.test,
18872 src/libvterm/t/90vttest_02-screen-1.test,
18873 src/libvterm/t/90vttest_02-screen-2.test,
18874 src/libvterm/t/90vttest_02-screen-3.test,
18875 src/libvterm/t/90vttest_02-screen-4.test,
18876 src/libvterm/t/92lp1640917.test, src/libvterm/t/harness.c,
18877 src/libvterm/t/run-test.pl
18878
18879Patch 8.0.0694
18880Problem: Building in shadow directory does not work. Running Vim fails.
18881Solution: Add the new libvterm directory. Add missing change in command
18882 list.
18883Files: src/Makefile, src/ex_cmds.h
18884
18885Patch 8.0.0695
18886Problem: Missing dependencies breaks parallel make.
18887Solution: Add dependencies for terminal.o.
18888Files: src/Makefile
18889
18890Patch 8.0.0696
18891Problem: The .inc files are missing in git. (Nazri Ramliy)
18892Solution: Remove the .inc line from .gitignore.
18893Files: src/libvterm/.gitignore
18894
18895Patch 8.0.0697
18896Problem: Recorded key sequences may become invalid.
18897Solution: Add back KE_SNIFF removed in 7.4.1433. Use fixed numbers for the
18898 key_extra enum.
18899Files: src/keymap.h
18900
18901Patch 8.0.0698
18902Problem: When a timer uses ":pyeval" or another Python command and it
18903 happens to be triggered while exiting a Crash may happen.
18904 (Ricky Zhou)
18905Solution: Avoid running a Python command after python_end() was called.
18906 Do not trigger timers while exiting. (closes #1824)
18907Files: src/if_python.c, src/if_python3.c, src/ex_cmds2.c
18908
18909Patch 8.0.0699
18910Problem: Checksum tests are not actually run.
18911Solution: Add the tests to the list. (Dominique Pelle, closes #1819)
18912Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim
18913
18914Patch 8.0.0700
18915Problem: Segfault with QuitPre autocommand closes the window. (Marek)
18916Solution: Check that the window pointer is still valid. (Christian Brabandt,
18917 closes #1817)
18918Files: src/testdir/test_tabpage.vim, src/ex_docmd.c
18919
18920Patch 8.0.0701
18921Problem: System test failing when using X11 forwarding.
18922Solution: Set $XAUTHORITY before changing $HOME. (closes #1812)
18923 Also use a better check for the exit value.
18924Files: src/testdir/setup.vim, src/testdir/test_system.vim
18925
18926Patch 8.0.0702
18927Problem: An error in a timer can make Vim unusable.
18928Solution: Don't set the error flag or exception from a timer. Stop a timer
18929 if it causes an error 3 out of 3 times. Discard an exception
18930 caused inside a timer.
18931Files: src/ex_cmds2.c, src/structs.h, src/testdir/test_timers.vim,
18932 runtime/doc/eval.txt
18933
18934Patch 8.0.0703
18935Problem: Illegal memory access with empty :doau command.
18936Solution: Check the event for being out of range. (James McCoy)
18937Files: src/testdir/test_autocmd.vim, src/fileio.c
18938
18939Patch 8.0.0704
18940Problem: Problems with autocommands when opening help.
18941Solution: Avoid using invalid "varp" value. Allow using :wincmd if buffer
18942 is locked. (closes #1806, closes #1804)
18943Files: src/option.c, src/ex_cmds.h
18944
18945Patch 8.0.0705 (after 8.0.0702)
18946Problem: Crash when there is an error in a timer callback. (Aron Griffis,
18947 Ozaki Kiichi)
18948Solution: Check did_throw before discarding an exception. NULLify
18949 current_exception when no longer valid.
18950Files: src/ex_eval.c, src/ex_cmds2.c
18951
18952Patch 8.0.0706
18953Problem: Crash when cancelling the cmdline window in Ex mode. (James McCoy)
18954Solution: Do not set cmdbuff to NULL, make it empty.
18955Files: src/ex_getln.c
18956
18957Patch 8.0.0707
18958Problem: Freeing wrong memory when manipulating buffers in autocommands.
18959 (James McCoy)
18960Solution: Also set the w_s pointer if w_buffer was NULL.
18961Files: src/ex_cmds.c
18962
18963Patch 8.0.0708
18964Problem: Some tests are old style.
18965Solution: Change a few tests from old style to new style. (pschuh,
18966 closes #1813)
18967Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
18968 src/testdir/Make_vms.mms, src/testdir/main.aap,
18969 src/testdir/test23.in, src/testdir/test23.ok,
18970 src/testdir/test24.in, src/testdir/test24.ok,
18971 src/testdir/test26.in, src/testdir/test26.ok,
18972 src/testdir/test67.in, src/testdir/test67.ok,
18973 src/testdir/test75.in, src/testdir/test75.ok,
18974 src/testdir/test97.in, src/testdir/test97.ok,
18975 src/testdir/test_comparators.in, src/testdir/test_comparators.ok,
18976 src/testdir/test_comparators.vim,
18977 src/testdir/test_escaped_glob.vim,
18978 src/testdir/test_exec_while_if.vim,
18979 src/testdir/test_exists_autocmd.vim, src/testdir/test_getcwd.in,
18980 src/testdir/test_getcwd.ok, src/testdir/test_getcwd.vim,
18981 src/testdir/test_maparg.vim, src/testdir/test_plus_arg_edit.vim,
18982 src/testdir/test_regex_char_classes.vim
18983
18984Patch 8.0.0709
18985Problem: Libvterm cannot use vsnprintf(), it does not exist in C90.
18986Solution: Use vim_vsnprintf() instead.
18987Files: src/message.c, src/Makefile, src/proto.h, src/evalfunc.c,
18988 src/netbeans.c, src/libvterm/src/vterm.c
18989
18990Patch 8.0.0710
18991Problem: A job that writes to a buffer clears command line completion.
18992 (Ramel Eshed)
18993Solution: Do not redraw while showing the completion menu.
18994Files: src/screen.c
18995
18996Patch 8.0.0711 (after 8.0.0710)
18997Problem: Cannot build without the wildmenu feature.
18998Solution: Add #ifdef
18999Files: src/screen.c
19000
19001Patch 8.0.0712
19002Problem: The terminal implementation is incomplete.
19003Solution: Add the 'termkey' option.
19004Files: src/option.c, src/option.h, src/structs.h
19005
19006Patch 8.0.0713 (after 8.0.0712)
19007Problem: 'termkey' option not fully implemented.
19008Solution: Add initialisation.
19009Files: src/option.c
19010
19011Patch 8.0.0714
19012Problem: When a timer causes a command line redraw the " that is displayed
19013 for CTRL-R goes missing.
19014Solution: Remember an extra character to display.
19015Files: src/ex_getln.c
19016
19017Patch 8.0.0715
19018Problem: Writing to the wrong buffer if the buffer that a channel writes to
19019 was closed.
19020Solution: Do not write to a buffer that was unloaded.
19021Files: src/channel.c, src/testdir/test_channel.vim,
19022 src/testdir/test_channel_write.py
19023
19024Patch 8.0.0716
19025Problem: Not easy to start Vim cleanly without changing the viminfo file.
19026 Not possible to know whether the -i command line flag was used.
19027Solution: Add the --clean command line argument. Add the 'viminfofile'
19028 option. Add "-u DEFAULTS".
19029Files: src/main.c, runtime/doc/starting.txt, src/option.c, src/option.h,
19030 src/ex_cmds.c, src/globals.h, runtime/doc/options.txt
19031
19032Patch 8.0.0717
19033Problem: Terminal feature not included in :version output.
19034Solution: Add +terminal or -terminal.
19035Files: src/version.c, src/terminal.c
19036
19037Patch 8.0.0718
19038Problem: Output of job in terminal is not displayed.
19039Solution: Connect the job output to the terminal.
19040Files: src/channel.c, src/proto/channel.pro, src/terminal.c,
19041 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro,
19042 src/evalfunc.c, src/screen.c, src/proto/screen.pro
19043
19044Patch 8.0.0719
19045Problem: Build failure without +terminal feature.
19046Solution: Add #ifdefs.
19047Files: src/screen.c, src/channel.c
19048
19049Patch 8.0.0720
19050Problem: Unfinished mapping not displayed when running timer.
19051Solution: Also use the extra_char while waiting for a mapping and digraph.
19052 (closes #1844)
19053Files: src/ex_getln.c
19054
19055Patch 8.0.0721
19056Problem: :argedit can only have one argument.
19057Solution: Allow for multiple arguments. (Christian Brabandt)
19058Files: runtime/doc/editing.txt, src/ex_cmds.h, src/ex_cmds2.c,
19059 src/testdir/test_arglist.vim
19060
19061Patch 8.0.0722
19062Problem: Screen is messed by timer up at inputlist() prompt.
19063Solution: Set state to ASKMORE. (closes #1843)
19064Files: src/misc1.c
19065
19066Patch 8.0.0723 (after 8.0.0721)
19067Problem: Arglist test fails if file name case is ignored.
19068Solution: Wipe existing buffers, check for fname_case property.
19069Files: src/testdir/test_arglist.vim
19070
19071Patch 8.0.0724
19072Problem: The message for yanking doesn't indicate the register.
19073Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
19074 closes #1803, closes #1809)
19075Files: src/ops.c, src/Makefile, src/testdir/test_registers.vim,
19076 src/testdir/Make_all.mak
19077
19078Patch 8.0.0725
19079Problem: A terminal window does not handle keyboard input.
19080Solution: Add terminal_loop(). ":term bash -i" sort of works now.
19081Files: src/main.c, src/terminal.c, src/proto/terminal.pro, src/normal.c
19082
19083Patch 8.0.0726
19084Problem: Translations cleanup script is too conservative.
19085Solution: Also delete untranslated messages.
19086Files: src/po/cleanup.vim
19087
19088Patch 8.0.0727
19089Problem: Message about what register to yank into is not translated.
19090 (LemonBoy)
19091Solution: Add _().
19092Files: src/ops.c
19093
19094Patch 8.0.0728
19095Problem: The terminal structure is never freed.
19096Solution: Free the structure and unreference what it contains.
19097Files: src/terminal.c, src/buffer.c, src/proto/terminal.pro,
19098 src/channel.c, src/proto/channel.pro, src/evalfunc.c
19099
19100Patch 8.0.0729
19101Problem: The help for the terminal configure option is wrong.
19102Solution: Change "Disable" to "Enable". (E Kawashima, closes #1849)
19103 Improve alignment.
19104Files: src/configure.ac, src/auto/configure
19105
19106Patch 8.0.0730
19107Problem: Terminal feature only supports Unix-like systems.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019108Solution: Prepare for adding an MS-Windows implementation.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019109Files: src/terminal.c
19110
19111Patch 8.0.0731
19112Problem: Cannot build the terminal feature on MS-Windows.
19113Solution: Add the Makefile changes. (Yasuhiro Matsumoto, closes #1851)
19114Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
19115
19116Patch 8.0.0732
19117Problem: When updating a buffer for a callback the modeless selection is
19118 lost.
19119Solution: Do not insert or delete screen lines when redrawing for a callback
19120 and there is a modeless selection.
19121Files: src/screen.c
19122
19123Patch 8.0.0733
19124Problem: Can only add entries to one list in the quickfix stack.
19125Solution: Move state variables from qf_list_T to qf_list_T. (Yegappan
19126 Lakshmanan)
19127Files: src/quickfix.c
19128
19129Patch 8.0.0734
19130Problem: The script to check translations can be improved.
19131Solution: Restore the view when no errors are found. Check for matching
19132 line break at the end of the message. (Christian Brabandt)
19133Files: src/po/check.vim
19134
19135Patch 8.0.0735
19136Problem: There is no way to notice that the quickfix window contents has
19137 changed.
19138Solution: Increment b:changedtick when updating the quickfix window.
19139 (Yegappan Lakshmanan)
19140Files: runtime/doc/quickfix.txt, src/quickfix.c,
19141 src/testdir/test_quickfix.vim
19142
19143Patch 8.0.0736
19144Problem: The OptionSet autocommand event is not triggered when entering
19145 diff mode.
19146Solution: use set_option_value() instead of setting the option directly.
19147 Change the tests from old to new style. (Christian Brabandt)
19148Files: src/diff.c, src/testdir/Make_all.mak, src/Makefile,
19149 src/testdir/test_autocmd.vim, src/testdir/test_autocmd_option.in,
19150 src/testdir/test_autocmd_option.ok
19151
19152Patch 8.0.0737
19153Problem: Crash when X11 selection is very big.
19154Solution: Use static items instead of allocating them. Add callbacks.
19155 (Ozaki Kiichi)
19156Files: src/testdir/shared.vim, src/testdir/test_quotestar.vim,
19157 src/ui.c
19158
19159Patch 8.0.0738
19160Problem: Cannot use the mouse to resize window while the focus is in a
19161 terminal window.
19162Solution: Recognize nice mouse events in the terminal window. A few more
19163 fixes for the terminal window.
19164Files: src/terminal.c
19165
19166Patch 8.0.0739
19167Problem: Terminal resizing doesn't work well.
19168Solution: Resize the terminal to the Vim window and the other way around.
19169 Avoid mapping typed keys. Set the environment properly.
19170Files: src/terminal.c, src/os_unix.c, src/structs.h
19171
19172Patch 8.0.0740
19173Problem: Cannot resize a terminal window by the command running in it.
19174Solution: Add support for the window size escape sequence. Make BS work.
19175Files: src/terminal.c, src/libvterm/src/state.c
19176
19177Patch 8.0.0741
19178Problem: Cannot build with HPUX.
19179Solution: Rename envbuf_TERM to envbuf_Term. (John Marriott)
19180Files: src/os_unix.c
19181
19182Patch 8.0.0742
19183Problem: Terminal feature does not work on MS-Windows.
19184Solution: Use libvterm and libwinpty on MS-Windows. (Yasuhiro Matsumoto)
19185Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/channel.c,
19186 src/proto/channel.pro, src/terminal.c
19187
19188Patch 8.0.0743
19189Problem: The 'termsize' option can be set to an invalid value.
19190Solution: Check the 'termsize' option to be valid.
19191Files: src/option.c, src/testdir/gen_opt_test.vim
19192
19193Patch 8.0.0744
19194Problem: A terminal window uses pipes instead of a pty.
19195Solution: Add pty support.
19196Files: src/structs.h, src/os_unix.c, src/terminal.c, src/channel.c,
19197 src/proto/os_unix.pro, src/os_win32.c, src/proto/os_win32.pro
19198
19199Patch 8.0.0745
19200Problem: multi-byte characters in a terminal window are not displayed
19201 properly.
19202Solution: Set the unused screen characters. (Yasuhiro Matsumoto, closes
19203 #1857)
19204Files: src/terminal.c
19205
19206Patch 8.0.0746
19207Problem: When :term fails the job is not properly cleaned up.
19208Solution: Free the terminal. Handle a job that failed to start. (closes
19209 #1858)
19210Files: src/os_unix.c, src/channel.c, src/terminal.c
19211
19212Patch 8.0.0747
19213Problem: :terminal without an argument doesn't work.
19214Solution: Use the 'shell' option. (Yasuhiro Matsumoto, closes #1860)
19215Files: src/terminal.c
19216
19217Patch 8.0.0748
19218Problem: When running Vim in a terminal window it does not detect the right
19219 number of colors available.
19220Solution: Detect the version string that libvterm returns. Pass the number
19221 of colors in $COLORS.
19222Files: src/term.c, src/os_unix.c
19223
19224Patch 8.0.0749
19225Problem: Some unicode digraphs are hard to remember.
19226Solution: Add alternatives with a backtick. (Chris Harding, closes #1861)
19227Files: src/digraph.c
19228
19229Patch 8.0.0750
19230Problem: OpenPTY missing in non-GUI build.
19231Solution: Always include pty.c, add an #ifdef to skip over the contents.
19232Files: src/pty.c, src/Makefile
19233
19234Patch 8.0.0751 (after 8.0.0750)
19235Problem: OpenPTY missing with some combination of features. (Kazunobu
19236 Kuriyama)
19237Solution: Adjust #ifdef. Also include pty.pro when needed.
19238Files: src/pty.c, src/misc2.c, src/proto.h
19239
19240Patch 8.0.0752
19241Problem: Build fails on MS-Windows.
19242Solution: Change #ifdef for set_color_count().
19243Files: src/term.c
19244
19245Patch 8.0.0753
19246Problem: A job running in a terminal does not get notified of changes in
19247 the terminal size.
19248Solution: Use ioctl() and SIGWINCH to report the terminal size.
19249Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro
19250
19251Patch 8.0.0754
19252Problem: Terminal window does not support colors.
19253Solution: Lookup the color attribute.
19254Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro
19255
19256Patch 8.0.0755
19257Problem: Terminal window does not have colors in the GUI.
19258Solution: Lookup the GUI color.
19259Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro, src/term.c,
19260 src/proto/term.pro, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
19261 src/gui_x11.c, src/proto/gui_x11.pro, src/gui_mac.c,
19262 src/proto/gui_mac.pro, src/gui_photon.c, src/proto/gui_photon.pro,
19263 src/gui_w32.c, src/proto/gui_w32.pro,
19264
19265Patch 8.0.0756
19266Problem: Cannot build libvterm with MSVC.
19267Solution: Add an MSVC Makefile to libvterm. (Yasuhiro Matsumoto, closes
19268 #1865)
19269Files: src/INSTALLpc.txt, src/Make_mvc.mak, src/libvterm/Makefile.msc
19270
19271Patch 8.0.0757
19272Problem: Libvterm MSVC Makefile not included in the distribution.
19273Solution: Add the file to the list.
19274Files: Filelist
19275
19276Patch 8.0.0758
19277Problem: Possible crash when using a terminal window.
19278Solution: Check for NULL pointers. (Yasuhiro Matsumoto, closes #1864)
19279Files: src/terminal.c
19280
19281Patch 8.0.0759
19282Problem: MS-Windows: terminal does not adjust size to the Vim window size.
19283Solution: Add a call to winpty_set_size(). (Yasuhiro Matsumoto, closes #1863)
19284Files: src/terminal.c
19285
19286Patch 8.0.0760
19287Problem: Terminal window colors wrong with 'termguicolors'.
19288Solution: Add 'termguicolors' support.
19289Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro
19290
19291Patch 8.0.0761
19292Problem: Options of a buffer for a terminal window are not set properly.
19293Solution: Add "terminal" value for 'buftype'. Make 'buftype' and
19294 'bufhidden' not depend on the quickfix feature.
19295 Also set the buffer name and show "running" or "finished" in the
19296 window title.
19297Files: src/option.c, src/terminal.c, src/proto/terminal.pro,
19298 runtime/doc/options.txt, src/quickfix.c, src/proto/quickfix.pro,
19299 src/structs.h, src/buffer.c, src/ex_docmd.c, src/fileio.c,
19300 src/channel.c
19301
19302Patch 8.0.0762
19303Problem: ml_get error with :psearch in buffer without a name. (Dominique
19304 Pelle)
19305Solution: Use the buffer number instead of the file name. Check the cursor
19306 position.
19307Files: src/search.c, src/testdir/test_preview.vim, src/Makefile,
19308 src/testdir/Make_all.mak
19309
19310Patch 8.0.0763
19311Problem: Libvterm can be improved.
19312Solution: Various small improvements, more comments.
19313Files: src/libvterm/README, src/libvterm/include/vterm.h,
19314 src/libvterm/include/vterm_keycodes.h,
19315 src/libvterm/src/keyboard.c, src/libvterm/src/parser.c,
19316 src/libvterm/src/screen.c, src/libvterm/src/state.c
19317
19318Patch 8.0.0764
19319Problem: 'termkey' does not work yet.
19320Solution: Implement 'termkey'.
19321Files: src/terminal.c, src/option.c, src/proto/option.pro
19322
19323Patch 8.0.0765
19324Problem: Build fails with tiny features.
19325Solution: Adjust #ifdef. (John Marriott)
19326Files: src/option.c, src/option.h
19327
19328Patch 8.0.0766
19329Problem: Option test fails with +terminal feature.
19330Solution: Fix using the right option when checking the value.
19331Files: src/option.c
19332
19333Patch 8.0.0767
19334Problem: Build failure with Athena and Motif.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019335Solution: Move local variable declarations. (Kazunobu Kuriyama)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019336Files: src/gui_x11.c
19337
19338Patch 8.0.0768
19339Problem: Terminal window status shows "[Scratch]".
19340Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
19341 Store the terminal title that vterm sends and use it. Update the
19342 special buffer name. (closes #1869)
19343Files: src/terminal.c, src/proto/terminal.pro, src/buffer.c
19344
19345Patch 8.0.0769
19346Problem: Build problems with terminal on MS-Windows using MSVC.
19347Solution: Remove stdbool.h dependency. Only use ScreenLinesUC when it was
19348 allocated. Fix typos. (Ken Takata)
19349Files: src/libvterm/bin/vterm-ctrl.c, runtime/doc/terminal.txt,
19350 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
19351 src/libvterm/Makefile.msc, src/terminal.c
19352
19353Patch 8.0.0770
19354Problem: Compiler warning for missing field initializer.
19355Solution: Add two more values. (Yegappan Lakshmanan)
19356Files: src/libvterm/src/encoding.c
19357
19358Patch 8.0.0771
19359Problem: Cursor in a terminal window not always updated in the GUI.
19360Solution: Call gui_update_cursor(). (Yasuhiro Matsumoto, closes #1868)
19361Files: src/terminal.c
19362
19363Patch 8.0.0772
19364Problem: Other stdbool.h dependencies in libvterm.
19365Solution: Remove the dependency and use TRUE/FALSE/int. (Ken Takata)
19366Files: src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
19367 src/libvterm/src/pen.c, src/libvterm/t/harness.c,
19368 src/libvterm/bin/unterm.c
19369
19370Patch 8.0.0773
19371Problem: Mixing 32 and 64 bit libvterm builds fails.
19372Solution: Use OUTDIR. (Ken Takata)
19373Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/libvterm/Makefile.msc
19374
19375Patch 8.0.0774
19376Problem: Build failure without the multi-byte feature on HPUX.
19377Solution: Move #ifdefs. (John Marriott)
19378Files: src/term.c
19379
19380Patch 8.0.0775
19381Problem: In a terminal the cursor is updated too often.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019382Solution: Only flush when needed. (Yasuhiro Matsumoto). Remember whether the
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019383 cursor is visible. (closes #1873)
19384Files: src/terminal.c
19385
19386Patch 8.0.0776
19387Problem: Function prototypes missing without the quickfix feature. (Tony
19388 Mechelynck)
19389Solution: Move non-quickfix functions to buffer.c.
19390Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c,
19391 src/proto/quickfix.pro
19392
19393Patch 8.0.0777
19394Problem: Compiler warnings with 64 bit compiler.
19395Solution: Add type casts. (Mike Williams)
19396Files: src/libvterm/src/pen.c, src/libvterm/src/state.c, src/terminal.c
19397
19398Patch 8.0.0778
19399Problem: In a terminal the cursor may be hidden and screen updating lags
19400 behind. (Nazri Ramliy)
19401Solution: Switch the cursor on and flush output when needed. (Ozaki Kiichi)
19402Files: src/terminal.c
19403
19404Patch 8.0.0779
19405Problem: :term without an argument uses empty buffer name but runs the
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019406 shell.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019407Solution: Change the command to the shell earlier.
19408Files: src/terminal.c
19409
19410Patch 8.0.0780
19411Problem: Build failure on Travis.
19412Solution: Set distribution explicitly. Use Lua and Ruby dev. (Ken Takata,
19413 closes #1884)
19414Files: .travis.yml
19415
19416Patch 8.0.0781
19417Problem: MS-Windows: Memory leak when using :terminal.
19418Solution: Handle failures properly. (Ken Takata)
19419Files: src/terminal.c
19420
19421Patch 8.0.0782
19422Problem: Using freed memory in quickfix code. (Dominique Pelle)
19423Solution: Handle a help window differently. (Yegappan Lakshmanan)
19424Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c,
19425 src/testdir/test_quickfix.vim, src/ex_cmds.c, src/window.c
19426
19427Patch 8.0.0783
19428Problem: Job of terminal may be freed too early.
19429Solution: Increment job refcount. (Yasuhiro Matsumoto)
19430Files: src/terminal.c
19431
19432Patch 8.0.0784
19433Problem: Job of terminal may be garbage collected.
19434Solution: Set copyID on job in terminal. (Ozaki Kiichi)
19435Files: src/terminal.c, src/eval.c, src/proto/terminal.pro
19436
19437Patch 8.0.0785
19438Problem: Wildcards are not expanded for :terminal.
19439Solution: Add FILES to the command flags. (Yasuhiro Matsumoto, closes #1883)
19440 Also complete commands.
19441Files: src/ex_cmds.h, src/ex_docmd.c
19442
19443Patch 8.0.0786
19444Problem: Build failures on Travis.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019445Solution: Go back to precise temporarily. Disable coverage with clang.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019446Files: .travis.yml
19447
19448Patch 8.0.0787
19449Problem: Cannot send CTRL-W command to terminal job.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019450Solution: Make CTRL-W . a prefix for sending a key to the job.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019451Files: src/terminal.c, runtime/doc/terminal.txt, src/option.c
19452
19453Patch 8.0.0788
19454Problem: MS-Windows: cannot build with terminal feature.
19455Solution: Move set_ref_in_term(). (Ozaki Kiichi)
19456Files: src/terminal.c
19457
19458Patch 8.0.0789
19459Problem: When splitting a terminal window where the terminal follows the
19460 size of the window doesn't work.
19461Solution: Use the size of the smallest window. (Yasuhiro Matsumoto, closes
19462 #1885)
19463Files: src/terminal.c
19464
19465Patch 8.0.0790
19466Problem: MSVC compiler warning for strncpy in libvterm.
19467Solution: Add a define to stop the warnings. (Mike Williams)
19468Files: src/Make_mvc.mak
19469
19470Patch 8.0.0791
19471Problem: Terminal colors depend on the system.
19472Solution: Use the highlight color lookup tables.
19473Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c
19474
19475Patch 8.0.0792
19476Problem: Spell test leaves files behind.
19477Solution: Delete the files.
19478Files: src/testdir/test_spell.vim
19479
19480Patch 8.0.0793
19481Problem: Using wrong terminal name for terminal window.
19482Solution: When 'term' starts with "xterm" use it for $TERM in a terminal
19483 window.
19484Files: src/os_unix.c
19485
19486Patch 8.0.0794
19487Problem: The script to check translations fails if there is more than one
19488 NL in one line.
19489Solution: Count the number of NL characters. Make count() accept a string.
19490Files: src/po/check.vim, src/evalfunc.c, runtime/doc/eval.txt,
19491 src/testdir/test_functions.vim
19492
19493Patch 8.0.0795
19494Problem: Terminal feature does not build with older MSVC.
19495Solution: Do not use stdint.h.
19496Files: src/libvterm/include/vterm.h
19497
19498Patch 8.0.0796
19499Problem: No coverage on Travis with clang.
19500Solution: Use a specific coveralls version. (Ozaki Kiichi, closes #1888)
19501Files: .travis.yml
19502
19503Patch 8.0.0797
19504Problem: Finished job in terminal window is not handled.
19505Solution: Add the scrollback buffer. Use it to fill the buffer when the job
19506 has ended.
19507Files: src/terminal.c, src/screen.c, src/proto/terminal.pro,
19508 src/channel.c, src/os_unix.c, src/buffer.c
19509
19510Patch 8.0.0798
19511Problem: No highlighting in a terminal window with a finished job.
19512Solution: Highlight the text.
19513Files: src/terminal.c, src/proto/terminal.pro, src/screen.c, src/undo.c
19514
19515Patch 8.0.0799
19516Problem: Missing semicolon.
19517Solution: Add it.
19518Files: src/terminal.c
19519
19520Patch 8.0.0800
19521Problem: Terminal window scrollback contents is wrong.
19522Solution: Fix handling of multi-byte characters (Yasuhiro Matsumoto) Handle
19523 empty lines correctly. (closes #1891)
19524Files: src/terminal.c
19525
19526Patch 8.0.0801
19527Problem: The terminal window title sometimes still says "running" even
19528 though the job has finished.
19529Solution: Also consider the job finished when the channel has been closed.
19530Files: src/terminal.c
19531
19532Patch 8.0.0802
19533Problem: After a job exits the last line in the terminal window does not
19534 get color attributes.
19535Solution: Fix off-by-one error.
19536Files: src/terminal.c
19537
19538Patch 8.0.0803
19539Problem: Terminal window functions not yet implemented.
19540Solution: Implement several functions. Add a first test. (Yasuhiro
19541 Matsumoto, closes #1871)
19542Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c,
19543 src/proto/evalfunc.pro, src/proto/terminal.pro, src/terminal.c,
19544 src/testdir/Make_all.mak, src/testdir/test_terminal.vim
19545
19546Patch 8.0.0804
19547Problem: Running tests fails when stdin is /dev/null. (James McCoy)
19548Solution: Do not bail out from getting input if the --not-a-term argument
19549 was given. (closes #1460)
19550Files: src/eval.c, src/evalfunc.c
19551
19552Patch 8.0.0805
19553Problem: GUI test fails with gnome2.
19554Solution: Set $HOME to an existing directory.
19555Files: src/testdir/setup.vim, src/testdir/runtest.vim
19556
19557Patch 8.0.0806
19558Problem: Tests may try to create XfakeHOME twice.
19559Solution: Avoid loading setup.vim twice.
19560Files: src/testdir/setup.vim
19561
19562Patch 8.0.0807
19563Problem: Terminal window can't handle mouse buttons. (Hirohito Higashi)
19564Solution: Implement mouse buttons and many other keys. Ignore the ones that
19565 are not implemented.
19566Files: src/terminal.c
19567
19568Patch 8.0.0808
19569Problem: Cannot build with terminal feature and DEBUG defined. (Christian
19570 Brabandt)
19571Solution: Use DEBUG_LOG3().
19572Files: src/libvterm/src/pen.c
19573
19574Patch 8.0.0809
19575Problem: MS-Windows: tests hang.
19576Solution: Delete the XfakeHOME directory.
19577Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
19578
19579Patch 8.0.0810
19580Problem: MS-Windows: tests still hang.
19581Solution: Only create the XfakeHOME directory if it does not exist yet.
19582Files: src/testdir/setup.vim
19583
19584Patch 8.0.0811
19585Problem: MS-Windows: test_expand_dllpath fails.
19586Solution: Change backslashes to forward slashes
19587Files: src/testdir/test_expand_dllpath.vim
19588
19589Patch 8.0.0812
19590Problem: Terminal window colors shift when 'number' is set. (Nazri Ramliy)
19591Solution: Use vcol instead of col.
19592Files: src/screen.c
19593
19594Patch 8.0.0813
19595Problem: Cannot use Vim commands in a terminal window while the job is
19596 running.
19597Solution: Implement Terminal Normal mode.
19598Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/screen.c,
19599 src/normal.c, src/option.c, runtime/doc/terminal.txt
19600
19601Patch 8.0.0814 (after 8.0.0757)
19602Problem: File in Filelist does not exist.
19603Solution: Remove the line.
19604Files: Filelist
19605
19606Patch 8.0.0815
19607Problem: Terminal window not correctly updated when 'statusline' invokes
19608 ":sleep". (NIkolay Pavlov)
19609Solution: Clear got_int. Repeat redrawing when needed.
19610Files: src/terminal.c
19611
19612Patch 8.0.0816
19613Problem: Crash when using invalid buffer number.
19614Solution: Check for NULL buffer. (Yasuhiro Matsumoto, closes #1899)
19615Files: src/terminal.c, src/testdir/test_terminal.vim
19616
19617Patch 8.0.0817
19618Problem: Cannot get the line of a terminal window at the cursor.
19619Solution: Make the row argument optional. (Yasuhiro Matsumoto, closes #1898)
19620Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c
19621
19622Patch 8.0.0818
19623Problem: Cannot get the cursor position of a terminal.
19624Solution: Add term_getcursor().
19625Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c,
19626 src/proto/terminal.pro
19627
19628Patch 8.0.0819
19629Problem: After changing current window the cursor position in the terminal
19630 window is not updated.
19631Solution: Set w_wrow, w_wcol and w_valid.
19632Files: src/terminal.c
19633
19634Patch 8.0.0820
19635Problem: GUI: cursor in terminal window lags behind.
19636Solution: call gui_update_cursor() under different conditions. (Ozaki
19637 Kiichi, closes #1893)
19638Files: src/terminal.c
19639
19640Patch 8.0.0821
19641Problem: Cannot get the title and status of a terminal window.
19642Solution: Implement term_gettitle() and term_getstatus().
19643Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro,
19644 runtime/doc/eval.txt
19645
19646Patch 8.0.0822
19647Problem: Test_with_partial_callback is a tiny bit flaky.
19648Solution: Add it to the list of flaky tests.
19649Files: src/testdir/runtest.vim
19650
19651Patch 8.0.0823
19652Problem: Cannot paste text into a terminal window.
19653Solution: Make CTRL-W " work.
19654Files: src/terminal.c
19655
19656Patch 8.0.0824
19657Problem: In Terminal mode the cursor and screen gets redrawn when the job
19658 produces output.
19659Solution: Check for tl_terminal_mode. (partly by Yasuhiro Matsumoto, closes
19660 #1904)
19661Files: src/terminal.c
19662
19663Patch 8.0.0825
19664Problem: Not easy to see that a window is a terminal window.
19665Solution: Add StatusLineTerm highlighting.
19666Files: src/option.c, src/vim.h, src/screen.c, src/syntax.c
19667
19668Patch 8.0.0826
19669Problem: Cannot use text objects in Terminal mode.
19670Solution: Check for pending operator and Visual mode first. (Yasuhiro
19671 Matsumoto, closes #1906)
19672Files: src/normal.c
19673
19674Patch 8.0.0827
19675Problem: Coverity: could leak pty file descriptor, theoretically.
19676Solution: If channel is NULL, free the file descriptors.
19677Files: src/os_unix.c
19678
19679Patch 8.0.0828
19680Problem: Coverity: may dereference NULL pointer.
19681Solution: Bail out if calloc_state() returns NULL.
19682Files: src/regexp_nfa.c
19683
19684Patch 8.0.0829
19685Problem: A job running in a terminal window cannot easily communicate with
19686 the Vim it is running in.
19687Solution: Pass v:servername in an environment variable. (closes #1908)
19688Files: src/os_unix.c
19689
19690Patch 8.0.0830
19691Problem: Translating messages is not ideal.
19692Solution: Add a remark about obsolete messages. Use msgfmt in the check
19693 script. (Christian Brabandt)
19694Files: src/po/README.txt, src/po/check.vim
19695
19696Patch 8.0.0831 (after 8.0.0791)
19697Problem: With 8 colors the bold attribute is not set properly.
19698Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901)
19699Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c
19700
19701Patch 8.0.0832
19702Problem: Terminal function arguments are not consistent.
19703Solution: Use one-based instead of zero-based rows and cols. Use "." for
19704 the current row.
19705Files: src/terminal.c, runtime/doc/eval.txt
19706
19707Patch 8.0.0833
19708Problem: Terminal test fails.
19709Solution: Update the row argument to one based.
19710Files: src/testdir/test_terminal.vim
19711
19712Patch 8.0.0834
19713Problem: Can't build without the client-server feature.
19714Solution: Add #ifdef.
19715Files: src/os_unix.c
19716
19717Patch 8.0.0835
19718Problem: Translations check with msgfmt does not work.
19719Solution: Add a space before the file name.
19720Files: src/po/check.vim
19721
19722Patch 8.0.0836
19723Problem: When a terminal buffer is changed it can still be accidentally
19724 abandoned.
19725Solution: When making a change reset the 'buftype' option.
19726Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c
19727
19728Patch 8.0.0837
19729Problem: Signs can be drawn on top of console messages.
19730Solution: don't redraw at a prompt or when scrolled up. (Christian Brabandt,
19731 closes #1907)
19732Files: src/screen.c
19733
19734Patch 8.0.0838
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019735Problem: Buffer hangs around when terminal window is closed.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019736Solution: When the job has ended wipe out a terminal buffer when the window
19737 is closed.
19738Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
19739 src/testdir/test_terminal.vim
19740
19741Patch 8.0.0839
19742Problem: Cannot kill a job in a terminal with CTRL-C.
19743Solution: Set the controlling tty and send SIGINT. (closes #1910)
19744Files: src/os_unix.c, src/terminal.c, src/proto/os_unix.pro
19745
19746Patch 8.0.0840
19747Problem: MS-Windows: fopen() and open() prototypes do not match the ones in
19748 the system header file. Can't build without FEAT_MBYTE.
19749Solution: Add "const". Move macro to after including protoo.h.
19750Files: src/os_win32.c, src/proto/os_win32.pro, src/macros.h, src/vim.h
19751
19752Patch 8.0.0841
19753Problem: term_getline() may cause a crash.
19754Solution: Check that the row is valid. (Hirohito Higashi)
19755Files: src/terminal.c, src/testdir/test_terminal.vim
19756
19757Patch 8.0.0842
19758Problem: Using slave pty after closing it.
19759Solution: Do the ioctl() before dup'ing it.
19760Files: src/os_unix.c
19761
19762Patch 8.0.0843
19763Problem: MS-Windows: compiler warning for signed/unsigned.
19764Solution: Add type cast. (Yasuhiro Matsumoto, closes #1912)
19765Files: src/terminal.c
19766
19767Patch 8.0.0844
19768Problem: Wrong function prototype because of missing static.
19769Solution: Add "static".
19770Files: src/os_win32.c, src/proto/os_win32.pro
19771
19772Patch 8.0.0845
19773Problem: MS-Windows: missing semicolon in terminal code.
19774Solution: Add it. (Naruhiko Nishino, closes #1923)
19775Files: src/terminal.c
19776
19777Patch 8.0.0846
19778Problem: Cannot get the name of the pty of a job.
19779Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920)
19780 Add the term_gettty() function.
19781Files: runtime/doc/eval.txt, src/channel.c, src/os_unix.c, src/structs.h,
19782 src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
19783 src/testdir/test_terminal.vim
19784
19785Patch 8.0.0847
19786Problem: :argadd without argument can't handle space in file name. (Harm te
19787 Hennepe)
19788Solution: Escape the space. (Yasuhiro Matsumoto, closes #1917)
19789Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro,
19790 src/testdir/test_arglist.vim
19791
19792Patch 8.0.0848
19793Problem: Using multiple ch_log functions is clumsy.
19794Solution: Use variable arguments. (Ozaki Kiichi, closes #1919)
19795Files: src/channel.c, src/message.c, src/proto/channel.pro,
19796 src/terminal.c
19797
19798Patch 8.0.0849
19799Problem: Crash when job exit callback wipes the terminal.
19800Solution: Check for b_term to be NULL. (Yasuhiro Matsumoto, closes #1922)
19801 Implement options for term_start() to be able to test.
19802 Make term_wait() more reliable.
19803Files: src/terminal.c, src/testdir/test_terminal.vim, src/channel.c
19804
19805Patch 8.0.0850
19806Problem: MS-Windows: Depending on the console encoding, an error message
19807 that is given during startup may be broken.
19808Solution: Convert the message to the console codepage. (Yasuhiro Matsumoto,
19809 closes #1927)
19810Files: src/message.c
19811
19812Patch 8.0.0851
19813Problem: 'smartindent' is used even when 'indentexpr' is set.
19814Solution: Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi)
19815Files: src/misc1.c, src/testdir/test_smartindent.vim
19816
19817Patch 8.0.0852 (after 8.0.0850)
19818Problem: MS-Windows: possible crash when giving a message on startup.
19819Solution: Initialize length. (Yasuhiro Matsumoto, closes #1931)
19820Files: src/message.c
19821
19822Patch 8.0.0853
19823Problem: Crash when running terminal with unknown command.
19824Solution: Check "term" not to be NULL. (Yasuhiro Matsumoto, closes #1932)
19825Files: src/terminal.c
19826
19827Patch 8.0.0854
19828Problem: No redraw after terminal was closed.
19829Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes
19830 #1924) Add function to check for messages even when input is
19831 available.
19832Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro,
19833 src/os_win32.c, src/proto/os_win32.pro, src/os_mswin.c
19834
19835Patch 8.0.0855
19836Problem: MS-Windows: can't get tty name of terminal.
19837Solution: Use the winpty process number. (Yasuhiro Matsumoto, closes #1929)
19838Files: src/terminal.c, src/testdir/test_terminal.vim
19839
19840Patch 8.0.0856
19841Problem: MS-Windows: terminal job doesn't take options.
19842Solution: Call job_set_options(). (Yasuhiro Matsumoto)
19843Files: src/terminal.c
19844
19845Patch 8.0.0857
19846Problem: Terminal test fails on MS-Windows.
19847Solution: Sleep a fraction of a second.
19848Files: src/testdir/test_terminal.vim
19849
19850Patch 8.0.0858
19851Problem: Can exit while a terminal is still running a job.
19852Solution: Consider a buffer with a running job like a changed file.
19853Files: src/undo.c, src/terminal.c, src/option.h, src/buffer.c,
19854 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c,
19855 src/window.c, src/testdir/test_terminal.vim
19856
19857Patch 8.0.0859
19858Problem: NULL pointer access when term_free_vterm called twice.
19859Solution: Return when tl_vterm is NULL. (Yasuhiro Matsumoto, closes #1934)
19860Files: src/terminal.c
19861
19862Patch 8.0.0860
19863Problem: There may be side effects when a channel appends to a buffer that
19864 is not the current buffer.
19865Solution: Properly switch to another buffer before appending. (Yasuhiro
19866 Matsumoto, closes #1926, closes #1937)
19867Files: src/channel.c, src/buffer.c, src/proto/buffer.pro,
19868 src/if_py_both.h
19869
19870Patch 8.0.0861
19871Problem: Still many old style tests.
19872Solution: Convert several tests to new style. (Yegappan Lakshmanan)
19873Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
19874 src/testdir/main.aap, src/testdir/test104.in,
19875 src/testdir/test104.ok, src/testdir/test22.in,
19876 src/testdir/test22.ok, src/testdir/test77.in,
19877 src/testdir/test77.ok, src/testdir/test84.in,
19878 src/testdir/test84.ok, src/testdir/test9.in, src/testdir/test9.ok,
19879 src/testdir/test98.in, src/testdir/test98.ok,
19880 src/testdir/test_autocmd.vim, src/testdir/test_curswant.vim,
19881 src/testdir/test_file_size.vim, src/testdir/test_let.vim,
19882 src/testdir/test_lineending.vim, src/testdir/test_scrollbind.vim,
19883 src/Makefile
19884
19885Patch 8.0.0862 (after 8.0.0862)
19886Problem: File size test fails on MS-Windows.
19887Solution: Set fileformat after opening new buffer. Strip CR.
19888Files: src/testdir/test_file_size.vim
19889
19890Patch 8.0.0863
19891Problem: A remote command starting with CTRL-\ CTRL-N does not work in the
19892 terminal window. (Christian J. Robinson)
19893Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command.
19894Files: src/terminal.c, runtime/doc/terminal.txt
19895
19896Patch 8.0.0864
19897Problem: Cannot specify the name of a terminal.
19898Solution: Add the "term_name" option. (Yasuhiro Matsumoto, closes #1936)
19899Files: src/channel.c, src/structs.h, src/terminal.c, runtime/doc/eval.txt
19900
19901Patch 8.0.0865
19902Problem: Cannot build with channel but without terminal feature.
19903Solution: Add #ifdef
19904Files: src/channel.c
19905
19906Patch 8.0.0866
19907Problem: Solaris also doesn't have MIN and MAX.
19908Solution: Define MIN and MAX whenever they are not defined. (Ozaki Kiichi,
19909 closes #1939)
19910Files: src/terminal.c
19911
19912Patch 8.0.0867
19913Problem: When using a job or channel value as a dict value, when turning it
19914 into a string the quotes are missing.
19915Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto,
19916 closes #1930)
19917Files: src/list.c, src/eval.c, src/testdir/test_terminal.vim
19918
19919Patch 8.0.0868
19920Problem: Cannot specify the terminal size on the command line.
19921Solution: Use the address range for the terminal size. (Yasuhiro Matsumoto,
19922 closes #1941)
19923Files: src/terminal.c, src/testdir/test_terminal.vim
19924
19925Patch 8.0.0869
19926Problem: Job output is sometimes not displayed in a terminal.
19927Solution: Flush output before closing the channel.
19928Files: src/channel.c, src/terminal.c
19929
19930Patch 8.0.0870
19931Problem: Mouse escape codes sent to terminal unintentionally.
19932Solution: Fix libvterm to send mouse codes only when enabled.
19933Files: src/terminal.c, src/libvterm/src/mouse.c
19934
19935Patch 8.0.0871
19936Problem: The status line for a terminal window always has "[+]".
19937Solution: Do make the status line include "[+]" for a terminal window.
19938Files: src/screen.c
19939
19940Patch 8.0.0872
19941Problem: Using mouse scroll while a terminal window has focus and the mouse
19942 pointer is on another window does not work. Same for focus in a
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019943 non-terminal window and the mouse pointer is over a terminal
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019944 window.
19945Solution: Send the scroll action to the right window.
19946Files: src/terminal.c, src/normal.c, src/proto/terminal.pro
19947
19948Patch 8.0.0873
19949Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual
19950 mode.
19951Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.
19952Files: src/main.c, src/terminal.c, src/proto/terminal.pro
19953
19954Patch 8.0.0874 (after 8.0.0873)
19955Problem: Can't build with terminal feature.
19956Solution: Include change to term_use_loop(). (Dominique Pelle)
19957Files: src/normal.c
19958
19959Patch 8.0.0875
19960Problem: Crash with weird command sequence. (Dominique Pelle)
19961Solution: Use vim_snprintf() instead of STRCPY().
19962Files: src/misc1.c
19963
19964Patch 8.0.0876
19965Problem: MS-Windows: Backslashes and wildcards in backticks don't work.
19966Solution: Do not handle backslashes inside backticks in the wrong place.
19967 (Yasuhiro Matsumoto, closes #1942)
19968Files: src/os_mswin.c, src/os_win32.c
19969
19970Patch 8.0.0877
19971Problem: Using CTRL-\ CTRL-N in terminal is inconsistent.
19972Solution: Stay in Normal mode.
19973Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/normal.c,
19974 src/option.c
19975
19976Patch 8.0.0878
19977Problem: No completion for :mapclear.
19978Solution: Add completion (Nobuhiro Takasaki et al. closes #1943)
19979Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_docmd.c,
19980 src/ex_getln.c, src/proto/ex_docmd.pro,
19981 src/testdir/test_cmdline.vim, src/vim.h
19982
19983Patch 8.0.0879
19984Problem: Crash when shifting with huge number.
19985Solution: Check for overflow. (Dominique Pelle, closes #1945)
19986Files: src/ops.c, src/testdir/test_visual.vim
19987
19988Patch 8.0.0880
19989Problem: Travis uses an old Ubuntu version.
19990Solution: Switch from precise to trusty. (Ken Takata, closes #1897)
19991Files: .travis.yml, Filelist, src/testdir/if_ver-1.vim,
19992 src/testdir/if_ver-2.vim, src/testdir/lsan-suppress.txt
19993
19994Patch 8.0.0881
19995Problem: win32.mak no longer included in Windows SDK.
19996Solution: Do not include win32.mak. (Ken Takata)
19997Files: src/GvimExt/Makefile, src/Make_mvc.mak
19998
19999Patch 8.0.0882
20000Problem: term_scrape() and term_getline() require two arguments but it is
20001 not enforced.
20002Solution: Correct minimal number of arguments. (Hirohito Higashi) Update
20003 documentation. (Ken Takata)
20004Files: src/evalfunc.c, runtime/doc/eval.txt
20005
20006Patch 8.0.0883
20007Problem: Invalid memory access with nonsensical script.
20008Solution: Check "dstlen" being positive. (Dominique Pelle)
20009Files: src/misc1.c
20010
20011Patch 8.0.0884
20012Problem: Can't specify the wait time for term_wait().
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020013Solution: Add an optional second argument.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020014Files: src/evalfunc.c, src/terminal.c, runtime/doc/eval.txt
20015
20016Patch 8.0.0885
20017Problem: Terminal window scrollback is stored inefficiently.
20018Solution: Store the text in the Vim buffer.
20019Files: src/terminal.c, src/testdir/test_terminal.vim
20020
20021Patch 8.0.0886
20022Problem: Crash when using ":term ls".
20023Solution: Fix line number computation. Add a test for this.
20024Files: src/terminal.c, src/testdir/test_terminal.vim
20025
20026Patch 8.0.0887
20027Problem: Can create a logfile in the sandbox.
20028Solution: Disable ch_logfile() in the sandbox. (Yasuhiro Matsumoto)
20029Files: src/evalfunc.c
20030
20031Patch 8.0.0888
20032Problem: Compiler warnings with 64 bit build.
20033Solution: Add type cast of change the type. (Mike Williams)
20034Files: src/message.c, src/os_mswin.c, src/os_win32.c
20035
20036Patch 8.0.0889
20037Problem: Gcc gives warnings for uninitialized variables. (Tony Mechelynck)
20038Solution: Initialize variables even though they are not used.
20039Files: src/terminal.c
20040
20041Patch 8.0.0890
20042Problem: Still many old style tests.
20043Solution: Convert several tests to new style. (Yegappan Lakshmanan)
20044Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
20045 src/testdir/test103.in, src/testdir/test103.ok,
20046 src/testdir/test107.in, src/testdir/test107.ok,
20047 src/testdir/test51.in, src/testdir/test51.ok,
20048 src/testdir/test91.in, src/testdir/test91.ok,
20049 src/testdir/test_getvar.vim, src/testdir/test_highlight.vim,
20050 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
20051 src/Makefile
20052
20053Patch 8.0.0891
20054Problem: Uninitialized memory use with empty line in terminal.
20055Solution: Initialize growarray earlier. (Yasuhiro Matsumoto, closes #1949)
20056Files: src/terminal.c
20057
20058Patch 8.0.0892
20059Problem: When opening a terminal the pty size doesn't always match.
20060Solution: Update the pty size after opening the terminal. (Ken Takata)
20061Files: src/terminal.c
20062
20063Patch 8.0.0893
20064Problem: Cannot get the scroll count of a terminal window.
20065Solution: Add term_getscrolled().
20066Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
20067 runtime/doc/eval.txt, src/testdir/test_terminal.vim
20068
20069Patch 8.0.0894
20070Problem: There is no test for runtime filetype detection.
20071Solution: Test a list of filetypes from patterns.
20072Files: src/testdir/test_filetype.vim, runtime/filetype.vim
20073
20074Patch 8.0.0895 (after 8.0.0894)
20075Problem: Filetype test fails on MS-Windows.
20076Solution: Fix file names.
20077Files: src/testdir/test_filetype.vim
20078
20079Patch 8.0.0896
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020080Problem: Cannot automatically close a terminal window when the job ends.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020081Solution: Add the ++close argument to :term. Add the term_finish option to
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020082 term_start(). (Yasuhiro Matsumoto, closes #1950) Also add
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020083 ++open.
20084Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c,
20085 src/structs.h, src/terminal.c, src/testdir/test_terminal.vim
20086
20087Patch 8.0.0897 (after 8.0.0896)
20088Problem: Wrong error message for invalid term_finish value
20089Solution: Pass the right argument to emsg().
20090Files: src/channel.c
20091
20092Patch 8.0.0898
20093Problem: Can't use the alternate screen in a terminal window.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020094Solution: Initialize the alternate screen. (Yasuhiro Matsumoto, closes
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020095 #1957) Add term_getaltscreen().
20096Files: src/libvterm/include/vterm.h, src/terminal.c,
20097 src/proto/terminal.pro, src/evalfunc.c, runtime/doc/eval.txt
20098
20099Patch 8.0.0899
20100Problem: Function name mch_stop_job() is confusing.
20101Solution: Rename to mch_signal_job().
20102Files: src/channel.c, src/os_unix.c, src/proto/os_unix.pro,
20103 src/os_win32.c, src/proto/os_win32.pro, src/terminal.c
20104
20105Patch 8.0.0900
20106Problem: :tab options doesn't open a new tab page. (Aviany)
20107Solution: Support the :tab modifier. (closes #1960)
20108Files: src/ex_cmds2.c, runtime/optwin.vim
20109
20110Patch 8.0.0901
20111Problem: Asan suppress file missing from distribution.
20112Solution: Add the file.
20113Files: Filelist
20114
20115Patch 8.0.0902
20116Problem: Cannot specify directory or environment for a job.
20117Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro
20118 Matsumoto, closes #1160)
20119Files: runtime/doc/channel.txt, src/channel.c, src/terminal.c,
20120 src/os_unix.c, src/os_win32.c, src/structs.h,
20121 src/testdir/test_channel.vim, src/testdir/test_terminal.vim
20122
20123Patch 8.0.0903 (after 8.0.0902)
20124Problem: Early return from test function.
20125Solution: Remove the return.
20126Files: src/testdir/test_terminal.vim
20127
20128Patch 8.0.0904
20129Problem: Cannot set a location list from text.
20130Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan)
20131Files: runtime/doc/eval.txt, src/quickfix.c,
20132 src/testdir/test_quickfix.vim
20133
20134Patch 8.0.0905
20135Problem: MS-Windows: broken multi-byte characters in the console.
20136Solution: Restore all regions of the console buffer. (Ken Takata)
20137Files: src/os_win32.c
20138
20139Patch 8.0.0906
20140Problem: Don't recognize Couchbase files.
20141Solution: Add filetype detection. (Eugene Ciurana, closes #1951)
20142Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20143
20144Patch 8.0.0907
20145Problem: With cp932 font names might be misinterpreted.
20146Solution: Do not see "_" as a space when it is the second byte of a double
20147 byte character. (Ken Takata)
20148Files: src/os_win32.c
20149
20150Patch 8.0.0908
20151Problem: Cannot set terminal size with options.
20152Solution: Add "term_rows", "term_cols" and "vertical".
20153Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c,
20154 src/proto/channel.pro, src/structs.h, src/evalfunc.c,
20155 src/testdir/test_terminal.vim
20156
20157Patch 8.0.0909
20158Problem: Channel test fails.
20159Solution: Allow for "cwd" and "env" arguments.
20160Files: src/channel.c
20161
20162Patch 8.0.0910
20163Problem: Cannot create a terminal in the current window.
20164Solution: Add option "curwin" and ++curwin.
20165Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c,
20166 src/structs.h, src/ex_cmds.h, src/testdir/test_terminal.vim
20167
20168Patch 8.0.0911
20169Problem: Terminal test takes too long.
20170Solution: Instead of "sleep 1" use a Python program to briefly sleep.
20171Files: src/testdir/test_terminal.vim, src/testdir/test_short_sleep.py
20172
20173Patch 8.0.0912
20174Problem: Cannot run a job in a hidden terminal.
20175Solution: Add option "hidden" and ++hidden.
20176Files: src/terminal.c, src/structs.h, src/channel.c, src/fileio.c,
20177 runtime/doc/terminal.txt, src/testdir/test_terminal.vim
20178
20179Patch 8.0.0913
20180Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the
20181 command running in the shell.
20182Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the
20183 job. (partly by Yasuhiro Matsumoto, closes #1962)
20184Files: src/os_win32.c, src/gui_w32.c, src/terminal.c, src/globals.h
20185
20186Patch 8.0.0914
20187Problem: Highlight attributes are always combined.
20188Solution: Add the 'nocombine' value to replace attributes instead of
20189 combining them. (scauligi, closes #1963)
20190Files: runtime/doc/syntax.txt, src/syntax.c, src/vim.h
20191
20192Patch 8.0.0915
20193Problem: Wrong initialisation of global.
20194Solution: Use INIT().
20195Files: src/globals.h
20196
20197Patch 8.0.0916
20198Problem: Cannot specify properties of window for when opening a window for
20199 a finished terminal job.
20200Solution: Add "term_opencmd".
20201Files: src/channel.c, src/structs.h, src/terminal.c,
20202 runtime/doc/eval.txt, src/testdir/test_terminal.vim
20203
20204Patch 8.0.0917
20205Problem: MS-Windows:CTRL-C handling in terminal window is wrong
20206Solution: Pass CTRL-C as a key. Turn CTRL-BREAK into a key stroke. (Yasuhiro
20207 Matsumoto, closes #1965)
20208Files: src/os_win32.c, src/terminal.c
20209
20210Patch 8.0.0918
20211Problem: Cannot get terminal window cursor shape or attributes.
20212Solution: Support cursor shape, attributes and color.
20213Files: src/terminal.c, runtime/doc/eval.txt,
20214 src/libvterm/include/vterm.h, src/libvterm/src/state.c,
20215 src/libvterm/src/vterm.c, src/feature.h, src/ui.c,
20216 src/proto/ui.pro, src/term.c, src/proto/term.pro,
20217 src/option.c, src/term.h
20218
20219Patch 8.0.0919
20220Problem: Cursor color isn't set on startup.
20221Solution: Initialize showing_mode to invalid value.
20222Files: src/term.c
20223
20224Patch 8.0.0920
20225Problem: The cursor shape is wrong after switch back from an alternate
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020226 screen in a terminal window. (Marius Gedminas)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020227Solution: Change bitfield to unsigned. Set flag that cursor shape was set.
20228Files: src/terminal.c, src/libvterm/src/vterm_internal.h
20229
20230Patch 8.0.0921
20231Problem: Terminal window cursor shape not supported in the GUI.
20232Solution: Use the terminal window cursor shape in the GUI.
20233Files: src/terminal.c, src/proto/terminal.pro, src/gui.c, src/syntax.c,
20234 src/proto/syntax.pro
20235
20236Patch 8.0.0922
20237Problem: Quickfix list always added after current one.
20238Solution: Make it possible to add a quickfix list after the last one.
20239 (Yegappan Lakshmanan)
20240Files: runtime/doc/eval.txt, src/quickfix.c,
20241 src/testdir/test_quickfix.vim
20242
20243Patch 8.0.0923
20244Problem: Crash in GUI when terminal job exits. (Kazunobu Kuriyama)
20245Solution: reset in_terminal_loop when a terminal is freed.
20246Files: src/terminal.c, src/testdir/test_terminal.vim
20247
20248Patch 8.0.0924
20249Problem: Terminal window not updated after using term_sendkeys().
20250Solution: Call redraw_after_callback().
20251Files: src/terminal.c
20252
20253Patch 8.0.0925
20254Problem: MS-Windows GUI: channel I/O not handled right away.
20255Solution: Don't call process_message() unless a message is available.
20256 (Yasuhiro Matsumoto, closes #1969)
20257Files: src/gui_w32.c
20258
20259Patch 8.0.0926
20260Problem: When job in terminal window ends topline may be wrong.
20261Solution: When the job ends adjust topline so that the active part of the
20262 terminal is displayed.
20263Files: src/terminal.c
20264
20265Patch 8.0.0927
20266Problem: If a terminal job sends a blank title "running" is not shown.
20267Solution: When the title is blank make it empty.
20268Files: src/terminal.c
20269
20270Patch 8.0.0928
20271Problem: MS-Windows: passing arglist to job has escaping problems.
20272Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954)
20273Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
20274 src/channel.c, src/proto/channel.pro, src/terminal.c
20275
20276Patch 8.0.0929
20277Problem: :term without argument does not work.
20278Solution: Use shell for empty command. (Yasuhiro Matsumoto, closes #1970)
20279Files: src/terminal.c
20280
20281Patch 8.0.0930
20282Problem: Terminal buffers are stored in the viminfo file while they can't
20283 be useful.
20284Solution: Skip terminal buffers for file marks and buffer list
20285Files: src/buffer.c, src/mark.c
20286
20287Patch 8.0.0931
20288Problem: getwininfo() does not indicate a terminal window.
20289Solution: Add "terminal" to the dictionary.
20290Files: runtime/doc/eval.txt, src/evalfunc.c
20291
20292Patch 8.0.0932
20293Problem: Terminal may not use right characters for BS and Enter.
20294Solution: Get the characters from the tty.
20295Files: src/os_unix.c, src/proto/os_unix.pro, src/terminal.c
20296
20297Patch 8.0.0933
20298Problem: Terminal test tries to start GUI when it's not possible.
20299Solution: Check if the GUI can run. (James McCoy, closes #1971)
20300Files: src/testdir/shared.vim, src/testdir/test_terminal.vim,
20301 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim
20302
20303Patch 8.0.0934 (after 8.0.0932)
20304Problem: Change to struts.h missing in patch.
20305Solution: Include adding ttyinfo_T.
20306Files: src/structs.h
20307
20308Patch 8.0.0935
20309Problem: Cannot recognize a terminal buffer in :ls output.
20310Solution: Use R for a running job and F for a finished job.
20311Files: src/buffer.c
20312
20313Patch 8.0.0936
20314Problem: Mode() returns wrong value for a terminal window.
20315Solution: Return 't' when typed keys go to a job.
20316Files: src/evalfunc.c, src/testdir/test_terminal.vim
20317
20318Patch 8.0.0937
20319Problem: User highlight groups are not adjusted for StatusLineTerm.
20320Solution: Combine attributes like for StatusLineNC.
20321Files: src/syntax.c, src/globals.h, src/screen.c
20322
20323Patch 8.0.0938
20324Problem: Scrolling in terminal window is inefficient.
20325Solution: Use win_del_lines().
20326Files: src/terminal.c
20327
20328Patch 8.0.0939
20329Problem: Test_terminal_env is flaky. (James McCoy)
20330Solution: Use WaitFor() instead of term_wait().
20331Files: src/testdir/test_terminal.vim
20332
20333Patch 8.0.0940
20334Problem: Test_terminal_scrape_multibyte is flaky. (James McCoy)
20335Solution: Use WaitFor() instead of term_wait().
20336Files: src/testdir/test_terminal.vim
20337
20338Patch 8.0.0941
20339Problem: Existing color schemes don't work well with StatusLineTerm.
20340Solution: Don't use "reverse", use fg and bg colors. Also add
20341 StatusLineTermNC.
20342Files: src/syntax.c, src/vim.h, src/screen.c, src/globals.h, src/option.c
20343
20344Patch 8.0.0942
20345Problem: Using freed memory with ":terminal" if an autocommand changes
20346 'shell' when splitting the window. (Marius Gedminas)
20347Solution: Make a copy of 'shell'. (closes #1974)
20348Files: src/terminal.c
20349
20350Patch 8.0.0943
20351Problem: Test_terminal_scrape_multibyte fails if the codepage is not utf-8.
20352Solution: Start "cmd" with the utf-8 codepage. (micbou, closes #1975)
20353Files: src/testdir/test_terminal.vim
20354
20355Patch 8.0.0944
20356Problem: Test_profile is a little bit flaky.
20357Solution: Accept a match when self and total time are the same. (James
20358 McCoy, closes #1972)
20359Files: src/testdir/test_profile.vim
20360
20361Patch 8.0.0945
20362Problem: 64-bit compiler warnings.
20363Solution: Use "size_t" instead of "int". (Mike Williams)
20364Files: src/os_win32.c
20365
20366Patch 8.0.0946
20367Problem: Using PATH_MAX does not work well on some systems.
20368Solution: use MAXPATHL instead. (James McCoy, closes #1973)
20369Files: src/main.c
20370
20371Patch 8.0.0947
20372Problem: When in Insert mode and using CTRL-O CTRL-W CTRL-W to move to a
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020373 terminal window, get in a weird Insert mode.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020374Solution: Don't go to Insert mode in a terminal window. (closes #1977)
20375Files: src/normal.c
20376
20377Patch 8.0.0948
20378Problem: Crash if timer closes window while dragging status line.
20379Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes
20380 #1979)
20381Files: src/edit.c, src/evalfunc.c, src/gui.c, src/normal.c, src/ui.c
20382
20383Patch 8.0.0949
20384Problem: winpty.dll name is fixed.
20385Solution: Add the 'winptydll' option. Make the default name depend on
20386 whether it is a 32-bit or 64-bit build. (idea by Yasuhiro
20387 Matsumoto, closes #1978)
20388Files: src/option.c, src/option.h, src/terminal.c,
20389 runtime/doc/options.txt
20390
20391Patch 8.0.0950
20392Problem: MS-Windows: wrong #ifdef, compiler warnings for signed/unsigned.
20393Solution: Change variable type. Change TERMINAL to FEAT_TERMINAL.
20394Files: src/os_win32.c, src/option.h
20395
20396Patch 8.0.0951
20397Problem: Another wrong #ifdef.
20398Solution: Change TERMINAL to FEAT_TERMINAL. (closes #1981)
20399Files: src/option.c
20400
20401Patch 8.0.0952
20402Problem: MS-Windows: has('terminal') does not check existence of dll file.
20403Solution: Check if the winpty dll file can be loaded. (Ken Takata)
20404Files: src/evalfunc.c, src/proto/terminal.pro, src/terminal.c
20405
20406Patch 8.0.0953
20407Problem: Get "no write since last change" error in terminal window.
20408Solution: Use another message when closing a terminal window. Make ":quit!"
20409 also end the job.
20410Files: src/globals.h, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c,
20411 src/ex_cmds2.c, src/ex_docmd.c, src/quickfix.c, src/terminal.c
20412
20413Patch 8.0.0954
20414Problem: /proc/self/exe might be a relative path.
20415Solution: Make the path a full path. (James McCoy, closes #1983)
20416Files: src/main.c
20417
20418Patch 8.0.0955
20419Problem: Test_existent_file() fails on some file systems.
20420Solution: Run the test again with a sleep when the test fails without a
20421 sleep. (James McCoy, closes #1984)
20422Files: src/testdir/test_stat.vim
20423
20424Patch 8.0.0956
20425Problem: Scrolling in a terminal hwindow as flicker when the Normal
20426 background differs from the terminal window background.
20427Solution: Set the attribute to clear with.
20428Files: src/terminal.c, src/screen.c, src/proto/screen.pro, src/message.c,
20429 src/move.c
20430
20431Patch 8.0.0957
20432Problem: When term_sendkeys() sends many keys it may get stuck in writing
20433 to the job.
20434Solution: Make the write non-blocking, buffer keys to be sent.
20435Files: src/terminal.c, src/channel.c, src/proto/channel.pro,
20436 src/structs.h src/testdir/test_terminal.vim
20437
20438Patch 8.0.0958
20439Problem: The terminal test fails on MS-Windows when compiled with the
20440 terminal feature but the winpty DLL is missing.
20441Solution: Check if the terminal feature works. (Ken Takata)
20442Files: src/testdir/test_terminal.vim
20443
20444Patch 8.0.0959
20445Problem: Build failure on MS-Windows.
20446Solution: Use ioctlsocket() instead of fcntl().
20447Files: src/channel.c
20448
20449Patch 8.0.0960
20450Problem: Job in terminal does not get CTRL-C, we send a SIGINT instead.
20451Solution: Don't call may_send_sigint() on CTRL-C. Make CTRL-W CTRL-C end
20452 the job.
20453Files: src/terminal.c, runtime/doc/terminal.txt
20454
20455Patch 8.0.0961
20456Problem: The script to build the installer does not include winpty.
20457Solution: Add winpty32.dll and winpty-agent.exe like diff.exe
20458Files: nsis/gvim.nsi
20459
20460Patch 8.0.0962
20461Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim
20462 #6726)
20463Solution: When using a mark check that coladd is valid.
20464Files: src/normal.c, src/misc2.c, src/Makefile,
20465 src/testdir/test_virtualedit.vim, src/testdir/test_alot.vim
20466
20467Patch 8.0.0963
20468Problem: Terminal test fails on MacOS. (chdiza)
20469Solution: Wait for the shell to echo the characters. (closes #1991)
20470Files: src/testdir/test_terminal.vim
20471
20472Patch 8.0.0964
20473Problem: Channel write buffer does not work with poll().
20474Solution: Use the same mechanism as with select().
20475Files: src/channel.c
20476
20477Patch 8.0.0965
20478Problem: The cursor shape is not reset after it was changed in a terminal.
20479Solution: Request the original cursor shape and restore it. Add t_RS.
20480 Do not add t_SH for now, it does not work properly.
20481Files: src/term.c, src/term.h, src/option.c, src/terminal.c
20482
20483Patch 8.0.0966 (after 8.0.0965)
20484Problem: Build failure without terminal feature.
20485Solution: Move #endif.
20486Files: src/term.c
20487
20488Patch 8.0.0967
20489Problem: Using a terminal may cause the cursor to blink.
20490Solution: Do not set t_vs, since we cannot restore the old blink state.
20491Files: src/term.c
20492
20493Patch 8.0.0968
20494Problem: Crash when switching terminal modes. (Nikolai Pavlov)
20495Solution: Check that there are scrollback lines.
20496Files: src/terminal.c
20497
20498Patch 8.0.0969
20499Problem: Coverity warning for unused return value.
20500Solution: Add (void) to avoid the warning.
20501Files: src/channel.c
20502
20503Patch 8.0.0970
20504Problem: if there is no StatusLine highlighting and there is StatusLineNC
20505 or StatusLineTermNC highlighting then an invalid highlight id is
20506 passed to combine_stl_hlt(). (Coverity)
20507Solution: Check id_S to be -1 instead of zero.
20508Files: src/syntax.c
20509
20510Patch 8.0.0971
20511Problem: 'winptydll' missing from :options.
20512Solution: Add the entry.
20513Files: runtime/optwin.vim
20514
20515Patch 8.0.0972
20516Problem: Compiler warnings for unused variables. (Tony Mechelynck)
20517Solution: Add #ifdefs.
20518Files: src/term.c
20519
20520Patch 8.0.0973
20521Problem: initial info about blinking cursor is wrong
20522Solution: Invert the blink flag. Add t_VS to stop a blinking cursor.
20523Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c,
20524 src/terminal.c
20525
20526Patch 8.0.0974
20527Problem: Resetting a string option does not trigger OptionSet. (Rick Howe)
20528Solution: Set the origval.
20529Files: src/option.c, src/testdir/test_autocmd.vim
20530
20531Patch 8.0.0975
20532Problem: Using freed memory when setting 'backspace'.
20533Solution: When changing oldval also change origval.
20534Files: src/option.c
20535
20536Patch 8.0.0976
20537Problem: Cannot send lines to a terminal job.
20538Solution: Make [range]terminal send selected lines to the job.
20539 Use ++rows and ++cols for the terminal size.
20540Files: src/ex_cmds.h, src/terminal.c, src/os_unix.c,
20541 src/testdir/test_terminal.vim
20542
20543Patch 8.0.0977
20544Problem: Cannot send lines to a terminal job on MS-Windows.
20545Solution: Set jv_in_buf. Command doesn't get EOF yet though.
20546Files: src/terminal.c
20547
20548Patch 8.0.0978
20549Problem: Writing to terminal job is not tested.
20550Solution: Add a test.
20551Files: src/testdir/test_terminal.vim
20552
20553Patch 8.0.0979
20554Problem: Terminal noblock test fails on MS-Windows. (Christian Brabandt)
20555Solution: Ignore empty line below "done".
20556Files: src/testdir/test_terminal.vim
20557
20558Patch 8.0.0980
20559Problem: Coverity warning for failing to open /dev/null.
20560Solution: When /dev/null can't be opened exit the child.
20561Files: src/os_unix.c
20562
20563Patch 8.0.0981
20564Problem: Cursor in terminal window blinks by default, while in a real xterm
20565 it does not blink, unless the -bc argument is used.
20566Solution: Do not use a blinking cursor by default.
20567Files: src/terminal.c
20568
20569Patch 8.0.0982
20570Problem: When 'encoding' is set to a multi-byte encoding other than utf-8
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020571 the characters from their terminal are messed up.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020572Solution: Convert displayed text from utf-8 to 'encoding' for MS-Windows.
20573 (Yasuhiro Matsumoto, close #2000)
20574Files: src/terminal.c
20575
20576Patch 8.0.0983
20577Problem: Unnecessary check for NULL pointer.
20578Solution: Remove the NULL check in dialog_changed(), it already happens in
20579 dialog_msg(). (Ken Takata)
20580Files: src/ex_cmds2.c
20581
20582Patch 8.0.0984
20583Problem: Terminal blinking cursor not correct in the GUI.
20584Solution: Set blinkoff correctly. Also make the cursor blink on MS-Windows
20585 by default. (Ken Takata)
20586Files: src/terminal.c
20587
20588Patch 8.0.0985
20589Problem: Libvterm has its own idea of character width.
20590Solution: Use the Vim functions for character width and composing to avoid a
20591 mismatch. (idea by Yasuhiro Matsumoto)
20592Files: src/Makefile, src/libvterm/src/unicode.c, src/mbyte.c,
20593 src/proto/mbyte.pro, src/Make_cyg_ming.mak, src/Make_mvc.mak
20594
20595Patch 8.0.0986
20596Problem: Terminal feature always requires multi-byte feature.
20597Solution: Remove #ifdef FEAT_MBYTE, disable terminal without multi-byte.
20598Files: src/terminal.c, src/feature.h
20599
20600Patch 8.0.0987
20601Problem: terminal: second byte of double-byte char wrong
20602Solution: Set the second byte to NUL only for utf-8 and non-multibyte.
20603Files: src/terminal.c
20604
20605Patch 8.0.0988
20606Problem: Warning from Covscan about using NULL pointer.
20607Solution: Add extra check for NULL. (zdohnal)
20608Files: src/fileio.c, src/undo.c
20609
20610Patch 8.0.0989
20611Problem: ActiveTcl dll name has changed in 8.6.6.
20612Solution: Adjust the makefile. (Ken Takata)
20613Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak
20614
20615Patch 8.0.0990
20616Problem: When 'encoding' is a double-byte encoding, pasting a register into
20617 a terminal ends up with the wrong characters.
20618Solution: Convert from 'encoding' to utf-8. (Yasuhiro Matsumoto, closes
20619 #2007)
20620Files: src/terminal.c
20621
20622Patch 8.0.0991
20623Problem: Using wrong character conversion for DBCS.
20624Solution: Use utf_char2bytes instead of mb_char2bytes. (Yasuhiro Matsumoto,
20625 closes #2012)
20626Files: src/terminal.c
20627
20628Patch 8.0.0992
20629Problem: Terminal title is wrong when 'encoding' is DBCS.
20630Solution: Convert the title from DBCS to utf-8. (Yasuhiro Matsumoto, closes
20631 #2009)
20632Files: src/terminal.c
20633
20634Patch 8.0.0993
20635Problem: Sometimes an xterm sends an extra CTRL-X after the response for
20636 the background color. Related to t_RS.
20637Solution: Check for the CTRL-X after the terminating 0x7.
20638Files: src/term.c
20639
20640Patch 8.0.0994
20641Problem: MS-Windows: cursor in terminal blinks even though the blinking
20642 cursor was disabled on the system.
20643Solution: Use GetCaretBlinkTime(). (Ken Takata)
20644Files: src/terminal.c
20645
20646Patch 8.0.0995
20647Problem: Terminal tests fail on Mac.
20648Solution: Add workaround: sleep a moment in between sending keys.
20649Files: src/testdir/test_terminal.vim
20650
20651Patch 8.0.0996
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020652Problem: Mac: t_RS is echoed on the screen in Terminal.app. Even though
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020653 $TERM is set to "xterm-256colors" it cannot handle this xterm
20654 escape sequence.
20655Solution: Recognize Terminal.app from the termresponse and skip sending t_RS
20656 if it looks like Terminal.app.
20657Files: src/term.c
20658
20659Patch 8.0.0997 (after 8.0.0996)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020660Problem: Libvterm and Terminal.app not recognized from termresponse.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020661Solution: Adjust string compare.
20662Files: src/term.c
20663
20664Patch 8.0.0998
20665Problem: Strange error when using K while only spaces are selected.
20666 (Christian J. Robinson)
20667Solution: Check for blank argument.
20668Files: src/normal.c, src/testdir/test_help.vim
20669
20670Patch 8.0.0999
20671Problem: Indenting raw C++ strings is wrong.
20672Solution: Add special handling of raw strings. (Christian Brabandt)
20673Files: src/misc1.c, src/testdir/test_cindent.vim
20674
20675Patch 8.0.1000
20676Problem: Cannot open a terminal without running a job in it.
20677Solution: Make ":terminal NONE" open a terminal with a pty.
20678Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro,
20679 src/channel.c, src/proto/channel.pro, src/structs.h,
20680 src/testdir/test_terminal.c, src/misc2.c, src/gui_gtk_x11.c
20681
20682Patch 8.0.1001
20683Problem: Setting 'encoding' makes 'printheader' invalid.
20684Solution: Do not translate the default value of 'printheader'. (Yasuhiro
20685 Matsumoto, closes #2026)
20686Files: src/option.c
20687
20688Patch 8.0.1002
20689Problem: Unnecessarily updating screen after timer callback.
20690Solution: Check if calling the timer sets must_redraw.
20691Files: src/ex_cmds2.c, src/channel.c, src/screen.c, src/proto/screen.pro,
20692 src/terminal.c
20693
20694Patch 8.0.1003
20695Problem: 64 bit compiler warning
20696Solution: Add type cast. (Mike Williams)
20697Files: src/channel.c
20698
20699Patch 8.0.1004
20700Problem: Matchstrpos() without a match returns too many items.
20701Solution: Also remove the second item when the position is beyond the end of
20702 the string. (Hirohito Higashi) Use an enum for the type.
20703Files: src/evalfunc.c, src/testdir/test_match.vim
20704
20705Patch 8.0.1005
20706Problem: Terminal without job updates slowly in GUI.
20707Solution: Poll for input when a channel has the keep_open flag.
20708Files: src/channel.c, src/proto/channel.pro, src/gui_gtk_x11.c
20709
20710Patch 8.0.1006
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020711Problem: Cannot parse text with 'errorformat' without changing a quickfix
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020712 list.
20713Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
20714Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/quickfix.pro,
20715 src/quickfix.c, src/testdir/test_quickfix.vim
20716
20717Patch 8.0.1007
20718Problem: No test for filetype detection for scripts.
20719Solution: Add a first test file script filetype detection.
20720Files: src/testdir/test_filetype.vim, runtime/scripts.vim
20721
20722Patch 8.0.1008
20723Problem: Slow updating of terminal window in Motif.
20724Solution: Add a timeout to the wait-for-character loop.
20725Files: src/gui_x11.c
20726
20727Patch 8.0.1009
20728Problem: Xterm cursor blinking status may be inverted.
20729Solution: Use another request to get the blink status and compare with the
20730 cursor style report
20731Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c,
20732 src/terminal.c
20733
20734Patch 8.0.1010 (after 8.0.1009)
20735Problem: Build failure without termresponse feature.
20736Solution: Add #ifdef.
20737Files: src/term.c
20738
20739Patch 8.0.1011
20740Problem: Terminal test fails with Athena and Motif.
20741Solution: Ignore the error for the input context. (Kazunobu Kuriyama)
20742Files: src/testdir/test_terminal.vim
20743
20744Patch 8.0.1012
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020745Problem: MS-Windows: Problem with $HOME when it was set internally.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020746Solution: Only use the $HOME default internally. (Yasuhiro Matsumoto, closes
20747 #2013)
20748Files: src/misc1.c, src/testdir/Make_all.mak, src/Makefile,
20749 src/testdir/test_windows_home.vim
20750
20751Patch 8.0.1013
20752Problem: A terminal window with a running job behaves different from a
20753 window containing a changed buffer.
20754Solution: Do not set 'bufhidden' to "hide". Fix that a buffer where a
20755 terminal used to run is listed as "[Scratch]".
20756Files: src/terminal.c, runtime/doc/terminal.txt, src/buffer.c
20757
20758Patch 8.0.1014
20759Problem: Old compiler doesn't know uint32_t. Warning for using NULL instead
20760 of NUL.
20761Solution: Use UINT32_T. Use NUL instead of NULL.
20762Files: src/mbyte.c, src/proto/mbyte.pro, src/misc1.c
20763
20764Patch 8.0.1015 (after 8.0.1013)
20765Problem: Missing update to terminal test.
20766Solution: Add the changes to the test.
20767Files: src/testdir/test_terminal.vim
20768
20769Patch 8.0.1016
20770Problem: Gnome terminal echoes t_RC.
20771Solution: Detect Gnome terminal by the version string. Add v: variables for
20772 all the term responses.
20773Files: src/term.c, src/eval.c, src/vim.h, runtime/doc/eval.txt
20774
20775Patch 8.0.1017
20776Problem: Test for MS-Windows $HOME always passes.
20777Solution: Rename the test function. Make the test pass.
20778Files: src/testdir/test_windows_home.vim
20779
20780Patch 8.0.1018
20781Problem: Warnings from 64-bit compiler. (Christian Brabandt)
20782Solution: Add type casts.
20783Files: src/terminal.c
20784
20785Patch 8.0.1019
20786Problem: Pasting in virtual edit happens in the wrong place.
20787Solution: Do not adjust coladd when after the end of the line (closes #2015)
20788Files: src/testdir/test_virtualedit.vim, src/misc2.c
20789
20790Patch 8.0.1020
20791Problem: When a timer calls getchar(1) input is overwritten.
20792Solution: Increment tb_change_cnt in inchar(). (closes #1940)
20793Files: src/getchar.c
20794
20795Patch 8.0.1021
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020796Problem: Older Gnome terminal still echoes t_RC. (François Ingelrest)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020797Solution: Check for version > 3000 instead of 4000.
20798Files: src/term.c
20799
20800Patch 8.0.1022
20801Problem: Test 80 is old style.
20802Solution: Turn it into a new style test. (Yegappan Lakshmanan)
20803Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
20804 src/testdir/test80.in, src/testdir/test80.ok,
20805 src/testdir/test_substitute.vim
20806
20807Patch 8.0.1023
20808Problem: It is not easy to identify a quickfix list.
20809Solution: Add the "id" field. (Yegappan Lakshmanan)
20810Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c,
20811 src/testdir/test_quickfix.vim
20812
20813Patch 8.0.1024
20814Problem: Manual folds are lost when a session file has the same buffer in
20815 two windows. (Jeansen)
20816Solution: Use ":edit" only once. (Christian Brabandt, closes #1958)
20817Files: src/ex_docmd.c, src/testdir/test_mksession.vim
20818
20819Patch 8.0.1025
20820Problem: Stray copy command in test.
20821Solution: Remove the copy command.
20822Files: src/testdir/test_mksession.vim
20823
20824Patch 8.0.1026
20825Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020826Solution: Support over-the-spot. (Yukihiro Nakadaira, Ken Takata, closes
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020827 #1215)
20828Files: runtime/doc/mbyte.txt, runtime/doc/options.txt, src/edit.c,
20829 src/ex_getln.c, src/mbyte.c, src/misc1.c, src/option.c,
20830 src/option.h, src/screen.c, src/undo.c,
20831 src/testdir/gen_opt_test.vim
20832
20833Patch 8.0.1027
20834Problem: More terminals can't handle requesting cursor mode.
20835Solution: Recognize Putty. (Hirohito Higashi) Also include Xfce in the
20836 version check. (Dominique Pelle) Recognize Konsole.
20837Files: src/term.c
20838
20839Patch 8.0.1028
20840Problem: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set. (Yongwei
20841 Wu)
20842Solution: Use vim_getenv() but check it's returning the default "C:/".
20843Files: src/ex_cmds.c
20844
20845Patch 8.0.1029
20846Problem: Return value of getqflist() is inconsistent. (Lcd47)
20847Solution: Always return an "items" entry.
20848Files: src/quickfix.c, src/testdir/test_quickfix.vim
20849
20850Patch 8.0.1030
20851Problem: MS-Windows: wrong size computation in is_cygpty().
20852Solution: Compute the size properly. (Ken Takata)
20853Files: src/iscygpty.c, src/iscygpty.h
20854
20855Patch 8.0.1031
20856Problem: "text" argument for getqflist() is confusing. (Lcd47)
20857Solution: Use "lines" instead. (Yegappan Lakshmanan)
20858Files: runtime/doc/eval.txt, src/quickfix.c,
20859 src/testdir/test_quickfix.vim
20860
20861Patch 8.0.1032
20862Problem: "make tags" doesn't work well on MS-Windows.
20863Solution: Add or fix tags target. (Ken Takata)
20864Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
20865
20866Patch 8.0.1033
20867Problem: Detecting background color does not work in screen, even when it
20868 is working like an xterm.
20869Solution: Make "screen.xterm" use termcap entries like an xterm. (Lubomir
20870 Rintel, closes #2048) When termresponse version is huge also
20871 recognize as not being an xterm.
20872Files: src/os_unix.c, src/term.c
20873
20874Patch 8.0.1034
20875Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
20876Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto,
20877 closes #2043) Add the "eof_chars" option.
20878Files: src/channel.c, src/proto/terminal.pro, src/terminal.c,
20879 src/testdir/test_terminal.vim, src/structs.h
20880
20881Patch 8.0.1035
20882Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
20883Solution: Use CR instead of NL after every line. Make the EOF text work
20884 properly. Add the ++eof argument to :terminal.
20885Files: src/structs.h, src/channel.c, src/terminal.c,
20886 runtime/doc/terminal.txt, runtime/doc/eval.txt
20887
20888Patch 8.0.1036
20889Problem: ++eof argument for terminal only available on MS-Windows.
20890Solution: Also support ++eof on Unix. Add a test.
20891Files: src/channel.c, src/terminal.c, src/structs.h,
20892 src/testdir/test_terminal.vim
20893
20894Patch 8.0.1037
20895Problem: "icase" of 'diffopt' is not used for highlighting differences.
20896Solution: Also use "icase". (Rick Howe)
20897Files: src/diff.c, src/testdir/test_diffmode.vim
20898
20899Patch 8.0.1038
20900Problem: Strike-through text not supported.
20901Solution: Add support for the "strikethrough" attribute. (Christian
20902 Brabandt, Ken Takata)
20903Files: runtime/doc/eval.txt, runtime/doc/options.txt,
20904 runtime/doc/syntax.txt, runtime/doc/term.txt, src/evalfunc.c,
20905 src/gui.c, src/gui.h, src/gui_gtk_x11.c, src/gui_mac.c,
20906 src/gui_w32.c, src/gui_x11.c, src/option.c, src/screen.c,
20907 src/syntax.c, src/term.c, src/term.h, src/terminal.c, src/vim.h
20908
20909Patch 8.0.1039
20910Problem: Cannot change a line in a buffer other than the current one.
20911Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes #1953)
20912Files: src/evalfunc.c, runtime/doc/eval.txt, src/Makefile,
20913 src/testdir/test_bufline.vim, src/testdir/test_alot.vim
20914
20915
20916Patch 8.0.1040
20917Problem: Cannot use another error format in getqflist().
20918Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan)
20919Files: runtime/doc/eval.txt, src/quickfix.c,
20920 src/testdir/test_quickfix.vim
20921
20922Patch 8.0.1041
20923Problem: Bogus characters appear when indenting kicks in while doing a
20924 visual-block append.
20925Solution: Recompute when indenting is done. (Christian Brabandt)
20926Files: runtime/doc/visual.txt, src/charset.c, src/edit.c, src/misc1.c,
20927 src/ops.c, src/proto/charset.pro, src/proto/misc1.pro,
20928 src/screen.c, src/spell.c, src/testdir/test_cindent.vim
20929
20930Patch 8.0.1042 (after 8.0.1038)
20931Problem: Without the syntax feature highlighting doesn't work.
20932Solution: Always use unsigned short to store attributes.
20933Files: src/vim.h
20934
20935Patch 8.0.1043
20936Problem: Warning for uninitialized variable. (John Marriott)
20937Solution: Move code to check indent inside "if".
20938Files: src/ops.c
20939
20940Patch 8.0.1044
20941Problem: Warning for uninitialized variable. (John Marriott)
20942Solution: Initialize ind_pre.
20943Files: src/ops.c
20944
20945Patch 8.0.1045
20946Problem: Running tests may pollute shell history. (Manuel Ortega)
20947Solution: Make $HISTFILE empty.
20948Files: src/testdir/setup.vim
20949
20950Patch 8.0.1046
20951Problem: Code duplication in diff mode.
20952Solution: Use diff_equal_char() also in diff_cmp(). (Rick Howe)
20953Files: src/diff.c
20954
20955Patch 8.0.1047
20956Problem: Buffer overflow in Ruby.
20957Solution: Allocate one more byte. (Dominique Pelle)
20958Files: src/if_ruby.c
20959
20960Patch 8.0.1048
20961Problem: No test for what 8.0.1020 fixes.
20962Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes #2046)
20963Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_timers.vim,
20964 src/ui.c
20965
20966Patch 8.0.1049
20967Problem: Shell on Mac can't handle long text, making terminal test fail.
20968Solution: Only write 1000 characters instead of 5000.
20969Files: src/testdir/test_terminal.vim
20970
20971Patch 8.0.1050
20972Problem: Terminal window feature not included by default.
20973Solution: Include the terminal feature for the "huge" build.
20974Files: src/configure.ac, src/auto/configure
20975
20976Patch 8.0.1051
20977Problem: Cannot run terminal with spaces in argument.
20978Solution: Accept backslash to escape space and other characters. (closes
20979 #1999)
20980Files: src/os_unix.c, src/testdir/test_terminal.vim
20981
20982Patch 8.0.1052
20983Problem: term_start() does not allow in_io, out_io and err_io options.
20984Solution: Add JO_OUT_IO to get_job_options().
20985Files: src/terminal.c, src/testdir/test_terminal.vim
20986
20987Patch 8.0.1053
20988Problem: setline() does not work on startup. (Manuel Ortega)
20989Solution: Do not check for ml_mfp to be set for the current buffer.
20990 (Christian Brabandt)
20991Files: src/testdir/shared.vim, src/testdir/test_alot.vim,
20992 src/testdir/test_bufline.vim, src/testdir/test_timers.vim,
20993 src/evalfunc.c
20994
20995Patch 8.0.1054
20996Problem: Terminal test fails on MS-Windows.
20997Solution: Disable the redirection test for now. Improve scrape test to make
20998 it less flaky.
20999Files: src/testdir/test_terminal.vim
21000
21001Patch 8.0.1055
21002Problem: Bufline test hangs on MS-Windows.
21003Solution: Avoid message for writing file. Source shared.vim when running
21004 test individually.
21005Files: src/testdir/test_bufline.vim, src/testdir/test_timers.vim
21006
21007Patch 8.0.1056
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021008Problem: Cannot build with the diff feature but without the multi-byte
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021009 feature.
21010Solution: Remove #ifdefs. (John Marriott)
21011Files: src/diff.c
21012
21013Patch 8.0.1057
21014Problem: Terminal scrape test waits too long, it checks for one instead of
21015 three.
21016Solution: Check there are three characters. (micbou)
21017Files: src/testdir/test_terminal.vim
21018
21019Patch 8.0.1058
21020Problem: Terminal redirection test is flaky.
21021Solution: Wait for job to finish.
21022Files: src/testdir/test_terminal.vim
21023
21024Patch 8.0.1059
21025Problem: older Gnome terminal returns smaller version number. (antarestrue)
21026Solution: Lower version limit from 2800 to 2500. (#2032)
21027Files: src/term.c
21028
21029Patch 8.0.1060
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021030Problem: When imstyle is zero, mapping <Left> breaks preediting.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021031Solution: Pass though preediting key-events. (Yasuhiro Matsumoto, closes
21032 #2064, closes #2063)
21033Files: src/getchar.c, src/mbyte.c
21034
21035Patch 8.0.1061
21036Problem: Coverity: no check for NULL command.
21037Solution: Check for NULL list item.
21038Files: src/terminal.c
21039
21040Patch 8.0.1062
21041Problem: Coverity warnings in libvterm.
21042Solution: Add (void) to avoid warning for not checking return value.
21043 Add "break" before "case".
21044Files: src/libvterm/src/screen.c, src/libvterm/src/state.c
21045
21046Patch 8.0.1063
21047Problem: Coverity warns for NULL check and using variable pointer as an
21048 array.
21049Solution: Remove the NULL check. Make "argvar" an array.
21050Files: src/terminal.c
21051
21052Patch 8.0.1064
21053Problem: Coverity warns for leaking resource.
21054Solution: Free pty_master_fd on failure.
21055Files: src/os_unix.c
21056
21057Patch 8.0.1065
21058Problem: Not all macro examples are included in the self-installing
21059 executable. (lkintact)
21060Solution: Add the directories to the NSIS script. (closes #2065)
21061Files: nsis/gvim.nsi
21062
21063Patch 8.0.1066
21064Problem: Some terminals can't handle requesting cursor mode. (Steven
21065 Hartland)
21066Solution: Recognize vandyke SecureCRT. (closes #2008)
21067Files: src/term.c
21068
21069Patch 8.0.1067
21070Problem: Using try/catch in timer does not prevent it from being stopped.
21071Solution: Reset the exception context and use did_emsg instead of
21072 called_emsg.
21073Files: src/ex_cmds2.c, src/testdir/test_timers.vim, src/globals.h,
21074 src/message.c
21075
21076Patch 8.0.1068 (after 8.0.1066)
21077Problem: Vandyke SecureCRT terminal can't handle cursor mode request.
21078 (Steven Hartland)
21079Solution: Fix pointer computation. (closes #2008)
21080Files: src/term.c
21081
21082Patch 8.0.1069
21083Problem: Still get CTRL-X sometimes for t_RS request.
21084Solution: Also skip 0x18 after a key code response.
21085Files: src/term.c
21086
21087Patch 8.0.1070
21088Problem: Terminal test is flaky on Mac.
21089Solution: Add Test_terminal_noblock() to list of flaky tests.
21090Files: src/testdir/runtest.vim
21091
21092Patch 8.0.1071
21093Problem: $TERM names starting with "putty" and "cygwin" are likely to have
21094 a dark background, but are not recognized.
21095Solution: Only check the first few characters of $TERM to match "putty" or
21096 "cygwin". (Christian Brabandt)
21097Files: src/option.c
21098
21099Patch 8.0.1072
21100Problem: The :highlight command causes a redraw even when nothing changed.
21101Solution: Only set "need_highlight_changed" when an attribute changed.
21102Files: src/syntax.c
21103
21104Patch 8.0.1073
21105Problem: May get an endless loop if 'statusline' changes a highlight.
21106Solution: Do not let evaluating 'statusline' trigger a redraw.
21107Files: src/buffer.c
21108
21109Patch 8.0.1074
21110Problem: ":term NONE" does not work on MS-Windows.
21111Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro
21112 Matsumoto, closes #2058, closes #2045)
21113Files: runtime/doc/eval.txt,
21114 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21115 src/channel.c, src/evalfunc.c, src/os_unix.c, src/structs.h,
21116 src/terminal.c, src/testdir/test_terminal.vim
21117
21118Patch 8.0.1075
21119Problem: MS-Windows: mouse does not work in terminal.
21120Solution: Force the winpty mouse on. (Yasuhiro Matsumoto, closes #2072)
21121Files: src/terminal.c
21122
21123Patch 8.0.1076
21124Problem: term_start() does not take callbacks. When using two terminals
21125 without a job only one is read from. A terminal without a window
21126 returns the wrong pty.
21127Solution: Support "callback", "out_cb" and "err_cb". Fix terminal without a
21128 window. Fix reading from multiple channels.
21129Files: src/terminal.c, src/proto/terminal.pro, src/channel.c,
21130
21131Patch 8.0.1077
21132Problem: No debugger making use of the terminal window.
21133Solution: Add the term debugger plugin. So far only displays the current
21134 line when stopped.
21135Files: Filelist, runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
21136
21137Patch 8.0.1078
21138Problem: Using freed memory with ":hi Normal".
21139Solution: Get "item" again after updating the table.
21140Files: src/syntax.c
21141
21142Patch 8.0.1079
21143Problem: Memory leak when remote_foreground() fails.
21144Solution: Free the error message.
21145Files: src/evalfunc.c, src/if_xcmdsrv.c
21146
21147Patch 8.0.1080
21148Problem: Memory leak for eof_chars terminal option and buffer name.
21149Solution: Free job options. Free the buffer name
21150Files: src/terminal.c
21151
21152Patch 8.0.1081
21153Problem: Memory leak for the channel write queue.
21154Solution: Free the write queue when clearing a channel.
21155Files: src/channel.c
21156
21157Patch 8.0.1082
21158Problem: Tests fail when run under valgrind.
21159Solution: Increase waiting times.
21160Files: src/testdir/test_clientserver.vim, src/testdir/test_terminal.vim
21161
21162Patch 8.0.1083
21163Problem: Leaking memory in input part of channel.
21164Solution: Clear the input part of channel. Free the entry. Move failing
21165 command test to a separate file to avoid bogus leak reports
21166 clouding tests that should not leak.
21167Files: src/channel.c, src/testdir/test_terminal.vim, src/Makefile,
21168 src/testdir/test_terminal_fail.vim, src/testdir/Make_all.mak
21169
21170Patch 8.0.1084
21171Problem: GTK build has compiler warnings. (Christian Brabandt)
21172Solution: Get screen size with a different function. (Ken Takata, Yasuhiro
21173 Matsumoto)
21174Files: src/mbyte.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
21175 src/gui_beval.c
21176
21177Patch 8.0.1085
21178Problem: The terminal debugger can't set breakpoints.
21179Solution: Add :Break and :Delete commands. Also commands for stepping
21180 through code.
21181Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21182 runtime/doc/terminal.txt
21183
21184Patch 8.0.1086 (after 8.0.1084)
21185Problem: Can't build with GTK 3.
21186Solution: Rename function argument. (Kazunobu Kuriyama)
21187Files: src/gui_gtk_x11.c
21188
21189Patch 8.0.1087
21190Problem: Test_terminal_cwd is flaky. MS-Windows: term_start() "cwd"
21191 argument does not work.
21192Solution: Wait for the condition to be true instead of using a sleep.
21193 Pass the directory to winpty.
21194Files: src/testdir/test_terminal.vim, src/terminal.c
21195
21196Patch 8.0.1088
21197Problem: Occasional memory use after free.
21198Solution: Use the highlight table directly, don't keep a pointer.
21199Files: src/syntax.c
21200
21201Patch 8.0.1089
21202Problem: Cannot get range count in user command.
21203Solution: Add <range> argument.
21204Files: src/ex_docmd.c, runtime/doc/map.txt
21205
21206Patch 8.0.1090
21207Problem: cannot get the text under the cursor like v:beval_text
21208Solution: Add <cexpr>.
21209Files: src/ex_docmd.c, src/testdir/test_normal.vim,
21210 runtime/doc/cmdline.txt
21211
21212Patch 8.0.1091 (after 8.0.1090)
21213Problem: Test for <cexpr> fails without +balloon_eval feature.
21214Solution: Remove #ifdefs.
21215Files: src/normal.c
21216
21217Patch 8.0.1092
21218Problem: Terminal debugger can't evaluate expressions.
21219Solution: Add :Evaluate and K. Various other improvements.
21220Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21221 runtime/doc/terminal.txt
21222
21223Patch 8.0.1093
21224Problem: Various small quickfix issues.
21225Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr().
21226 function. Add a couple more tests. Update documentation.
21227 (Yegappan Lakshmanan)
21228Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/evalfunc.c,
21229 src/proto/quickfix.pro, src/quickfix.c,
21230 src/testdir/test_quickfix.vim
21231
21232Patch 8.0.1094
21233Problem: Using ssh from Terminal.app runs into xterm incompatibility.
21234Solution: Also detect Terminal.app on non-Mac systems.
21235Files: src/term.c
21236
21237Patch 8.0.1095
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021238Problem: Terminal multibyte scrape test is flaky.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021239Solution: Add another condition to wait for.
21240Files: src/testdir/test_terminal.vim
21241
21242Patch 8.0.1096
21243Problem: Terminal window in Normal mode has wrong background.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021244Solution: Store the default background and use it for clearing until the
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021245 end of the line. Not for below the last line, since there is no
21246 text there.
21247Files: src/screen.c, src/terminal.c
21248
21249Patch 8.0.1097 (after 8.0.1096)
21250Problem: Background color wrong if job changes background color.
21251Solution: Get the background color from vterm.
21252Files: src/terminal.c, src/screen.c
21253
21254Patch 8.0.1098
21255Problem: Build failure if libvterm installed on the system. (Oleh
21256 Hushchenkov)
21257Solution: Change the CCCTERM argument order. (Ken Takata, closes #2080)
21258Files: src/Makefile
21259
21260Patch 8.0.1099
21261Problem: Warnings for GDK calls.
21262Solution: Use other calls for GTK 3 and fix a few problems. (Kazunobu
21263 Kuriyama)
21264Files: src/mbyte.c
21265
21266Patch 8.0.1100
21267Problem: Stuck in redraw loop when 'lazyredraw' is set.
21268Solution: Don't loop on update_screen() when not redrawing. (Yasuhiro
21269 Matsumoto, closes #2082)
21270Files: src/terminal.c, src/screen.c, src/proto/screen.pro
21271
21272Patch 8.0.1101
21273Problem: Channel write fails if writing to log fails.
21274Solution: Ignore return value of fwrite(). (Ozaki Kiichi, closes #2081)
21275Files: src/channel.c
21276
21277Patch 8.0.1102
21278Problem: Terminal window does not use Normal colors.
21279Solution: For the GUI and when 'termguicolors' is enabled, use the actual
21280 foreground and background colors for the terminal. (Yasuhiro
21281 Matsumoto, closes #2067)
21282 Use the "Terminal" highlight group if defined.
21283Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro
21284
21285Patch 8.0.1103 (after 8.0.1102)
21286Problem: Converting cterm color fails for grey ramp.
21287Solution: Use index instead of number.
21288Files: src/terminal.c
21289
21290Patch 8.0.1104
21291Problem: The qf_jump() function is too long.
21292Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
21293Files: src/quickfix.c
21294
21295Patch 8.0.1105
21296Problem: match() and matchend() are not tested.
21297Solution: Add tests. (Ozaki Kiichi, closes #2088)
21298Files: src/testdir/test_functions.vim, src/testdir/test_match.vim
21299
21300Patch 8.0.1106
21301Problem: Terminal colors on an MS-Windows console are not matching the
21302 normal colors.
21303Solution: Use the normal colors for the terminal. (Yasuhiro Matsumoto,
21304 closes #2087)
21305Files: src/terminal.c
21306
21307Patch 8.0.1107
21308Problem: Terminal debugger jumps to non-existing file.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021309Solution: Check that the file exists. Add an option to make the Vim width
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021310 wide. Fix removing highlight groups.
21311Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21312 runtime/doc/terminal.txt
21313
21314Patch 8.0.1108
21315Problem: Cannot specify mappings for the terminal window.
21316Solution: Add the :tmap command and associated code. (Jacob Askeland,
21317 closes #2073)
21318Files: runtime/doc/map.txt, runtime/doc/terminal.txt, src/ex_cmdidxs.h,
21319 src/ex_cmds.h, src/ex_docmd.c, src/getchar.c, src/gui.c,
21320 src/terminal.c, src/testdir/test_terminal.vim, src/vim.h,
21321 src/proto/terminal.pro, src/main.c, src/evalfunc.c
21322
21323Patch 8.0.1109
21324Problem: Timer causes error on exit from Ex mode. (xtal8)
21325Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt,
21326 closes #2079)
21327Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_cmds2.c,
21328 src/testdir/test_timers.vim
21329
21330Patch 8.0.1110
21331Problem: FORTIFY_SOURCE from Perl causes problems. (Scott Baker)
21332Solution: Filter out the flag. (Christian Brabandt, closes #2068)
21333Files: src/configure.ac, src/auto/configure
21334
21335Patch 8.0.1111
21336Problem: Syntax error in configure when using Perl.
21337Solution: Add missing quote
21338Files: src/configure.ac, src/auto/configure
21339
21340Patch 8.0.1112
21341Problem: Can't get size or current index from quickfix list.
21342Solution: Add "idx" and "size" options. (Yegappan Lakshmanan)
21343Files: runtime/doc/eval.txt, src/quickfix.c,
21344 src/testdir/test_quickfix.vim
21345
21346Patch 8.0.1113
21347Problem: Can go to Insert mode from Terminal-Normal mode.
21348Solution: Prevent :startinsert and "VA" to enter Insert mode. (Yasuhiro
21349 Matsumoto, closes #2092)
21350Files: src/normal.c
21351
21352Patch 8.0.1114
21353Problem: Default for 'iminsert' is annoying.
21354Solution: Make the default always zero. (Yasuhiro Matsumoto, closes #2071)
21355Files: src/option.c, runtime/doc/options.txt
21356
21357Patch 8.0.1115
21358Problem: Crash when using foldtextresult() recursively.
21359Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes #2098)
21360Files: src/evalfunc.c, src/testdir/test_fold.vim
21361
21362Patch 8.0.1116
21363Problem: Terminal test fails on MS-Windows.
21364Solution: Wait for the text to appear. (micbou, closes #2097)
21365Files: src/testdir/test_terminal.vim
21366
21367Patch 8.0.1117
21368Problem: Test_terminal_no_cmd hangs on MS-Windows with GUI. (Christian
21369 Brabandt)
21370Solution: Run the command with "start" and wait for the text to appear.
21371 (micbou, closes #2096)
21372Files: src/testdir/test_terminal.vim
21373
21374Patch 8.0.1118
21375Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
21376 enabled and only adds 7% to the binary size of the tiny build.
21377Solution: Graduate FEAT_WINDOWS.
21378Files: src/feature.h, src/window.c, src/vim.h, src/structs.h,
21379 src/globals.h, src/gui.h, src/if_py_both.h, src/option.h,
21380 src/term.h, src/buffer.c, src/charset.c, src/digraph.c,
21381 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
21382 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
21383 src/fold.c, src/getchar.c, src/gui.c, src/gui_athena.c,
21384 src/gui_beval.c, src/gui_gtk.c, src/gui_motif.c, src/gui_w32.c,
21385 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_python.c,
21386 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
21387 src/mark.c, src/memline.c, src/misc1.c, src/misc2.c, src/move.c,
21388 src/netbeans.c, src/normal.c, src/option.c, src/popupmnu.c,
21389 src/quickfix.c, src/screen.c, src/search.c, src/spell.c,
21390 src/syntax.c, src/tag.c, src/term.c, src/ui.c, src/version.c,
21391 src/workshop.c, src/if_perl.xs, src/testdir/test_normal.vim
21392
21393Patch 8.0.1119
21394Problem: Quitting a split terminal window kills the job. (Yasuhiro
21395 Matsumoto)
21396Solution: Only stop terminal job if it is the last window.
21397Files: src/buffer.c, src/testdir/test_terminal.vim
21398
21399Patch 8.0.1120 (after 8.0.1108)
21400Problem: :tm means :tmap instead of :tmenu. (Taro Muraoka)
21401Solution: Move the new entry below the old entry. (closes #2102)
21402Files: src/ex_cmds.h, runtime/doc/map.txt
21403
21404Patch 8.0.1121
21405Problem: Can uncheck executables in MS-Windows installer.
21406Solution: Make the choice read-only. (Ken Takata, closes #2106)
21407Files: nsis/gvim.nsi
21408
21409Patch 8.0.1122
21410Problem: vimtutor.bat doesn't work well with vim.bat.
21411Solution: Use "call vim". (Ken Takata, closes #2105)
21412Files: vimtutor.bat
21413
21414Patch 8.0.1123
21415Problem: Cannot define a toolbar for a window.
21416Solution: Add a window-local toolbar.
21417Files: src/syntax.c, src/proto/syntax.pro, src/structs.h, src/menu.c,
21418 src/proto/menu.pro, src/testdir/test_winbar.vim, src/Makefile,
21419 src/normal.c, src/testdir/Make_all.mak, src/if_perl.xs,
21420 src/eval.c, src/evalfunc.c, src/window.c, src/ui.c,
21421 src/terminal.c, src/screen.c,
21422 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21423 runtime/doc/gui.txt, runtime/doc/terminal.txt
21424
21425Patch 8.0.1124
21426Problem: Use of MZSCHEME_VER is unclear.
21427Solution: Add a comment. (Ken Takata)
21428Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
21429
21430Patch 8.0.1125
21431Problem: Wrong window height when splitting window with window toolbar.
21432Solution: Add or subtract the window toolbar height.
21433Files: src/window.c
21434
21435Patch 8.0.1126
21436Problem: Endless resize when terminal showing in two buffers. (Hirohito
21437 Higashi)
21438Solution: Set a flag to prevent resizing the window.
21439Files: src/terminal.c
21440
21441Patch 8.0.1127
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021442Problem: Test_peek_and_get_char fails on 32 bit system. (Elimar
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021443 Riesebieter)
21444Solution: Avoid an integer overflow. (James McCoy, closes #2116)
21445Files: src/ex_cmds2.c
21446
21447Patch 8.0.1128
21448Problem: Old xterm sends CTRL-X in response to t_RS.
21449Solution: Only send t_RS for xterm 279 and later. Remove the workaround to
21450 ignore CTRL-X.
21451Files: src/term.c
21452
21453Patch 8.0.1129
21454Problem: Window toolbar missing a part of the patch.
21455Solution: Add change in vim.h.
21456Files: src/vim.h
21457
21458Patch 8.0.1130
21459Problem: The qf_jump() function is still too long.
21460Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
21461Files: src/quickfix.c
21462
21463Patch 8.0.1131
21464Problem: It is not easy to trigger an autocommand for new terminal window.
21465 (Marco Restelli)
21466Solution: Trigger BufWinEnter after setting 'buftype'.
21467Files: src/terminal.c, src/testdir/test_terminal.vim
21468
21469Patch 8.0.1132
21470Problem: #if condition is not portable.
21471Solution: Add defined(). (Zuloloxi, closes #2136)
21472Files: src/libvterm/src/vterm.c
21473
21474Patch 8.0.1133
21475Problem: Syntax timeout not used correctly.
21476Solution: Do not pass the timeout to syntax_start() but set it explicitly.
21477 (Yasuhiro Matsumoto, closes #2139)
21478Files: src/proto/syntax.pro, src/screen.c, src/syntax.c
21479
21480Patch 8.0.1134
21481Problem: Superfluous call to syn_get_final_id().
21482Solution: Remove it. (Ken Takata)
21483Files: src/syntax.c
21484
21485Patch 8.0.1135
21486Problem: W_WINCOL() is always the same.
21487Solution: Expand the macro.
21488Files: src/edit.c, src/ex_docmd.c, src/gui_gtk.c, src/gui_w32.c,
21489 src/netbeans.c, src/popupmnu.c, src/screen.c, src/term.c,
21490 src/terminal.c, src/ui.c, src/window.c, src/if_py_both.h,
21491 src/structs.h, src/vim.h
21492
21493Patch 8.0.1136
21494Problem: W_WIDTH() is always the same.
21495Solution: Expand the macro.
21496Files: src/charset.c, src/edit.c, src/evalfunc.c, src/ex_cmds.c,
21497 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_beval.c,
21498 src/gui_mac.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
21499 src/if_ruby.c, src/misc1.c, src/misc2.c, src/move.c, src/normal.c,
21500 src/popupmnu.c, src/quickfix.c, src/screen.c, src/search.c,
21501 src/structs.h, src/ui.c, src/vim.h, src/window.c
21502
21503Patch 8.0.1137 (after 8.0.1136)
21504Problem: Cannot build with Ruby.
21505Solution: Fix misplaced brace.
21506Files: src/if_ruby.c
21507
21508Patch 8.0.1138
21509Problem: Click in window toolbar starts Visual mode.
21510Solution: Add the MOUSE_WINBAR flag.
21511Files: src/ui.c, src/vim.h, src/normal.c
21512
21513Patch 8.0.1139
21514Problem: Using window toolbar changes state.
21515Solution: Always execute window toolbar actions in Normal mode.
21516Files: runtime/doc/gui.txt, src/structs.h, src/ex_docmd.c,
21517 src/proto/ex_docmd.pro, src/menu.c
21518
21519Patch 8.0.1140
21520Problem: Still old style tests.
21521Solution: Convert two tests to new style. (Yegappan Lakshmanan)
21522Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
21523 src/testdir/test56.in, src/testdir/test56.ok,
21524 src/testdir/test57.in, src/testdir/test57.ok,
21525 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim
21526
21527Patch 8.0.1141
21528Problem: MS-Windows build dependencies are incomplete.
21529Solution: Fix the dependencies. (Ken Takata)
21530Files: src/Make_cyg.mak, src/Make_cyg_ming.mak, src/Make_ming.mak,
21531 src/Make_mvc.mak
21532
21533Patch 8.0.1142
21534Problem: Window toolbar menu gets a tear-off item.
21535Solution: Recognize the window toolbar.
21536Files: src/menu.c
21537
21538Patch 8.0.1143
21539Problem: Macros always expand to the same thing.
21540Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
21541Files: src/vim.h, src/structs.h, src/gui.c, src/ex_getln.c, src/screen.c
21542
21543Patch 8.0.1144
21544Problem: Using wrong #ifdef for computing length.
21545Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021546 Matsumoto, closes #2153)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021547Files: src/quickfix.c
21548
21549Patch 8.0.1145
21550Problem: Warning when compiling with Perl.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021551Solution: Remove unused variable. (Ken Takata)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021552Files: src/if_perl.xs
21553
21554Patch 8.0.1146
21555Problem: Redraw when highlight is set with same names. (Ozaki Kiichi)
21556Solution: Only free and save a name when it changed. (closes #2120)
21557Files: src/syntax.c
21558
21559Patch 8.0.1147
21560Problem: Fail to build with tiny features. (Tony Mechelynck)
21561Solution: Move #ifdefs.
21562Files: src/syntax.c
21563
21564Patch 8.0.1148
21565Problem: "gN" doesn't work on last match with 'wrapscan' off. (fcpg)
21566Solution: Adjust for searching backward. (Christian Brabandt)
21567Files: src/search.c, src/testdir/test_gn.vim
21568
21569Patch 8.0.1149
21570Problem: libvterm colors differ from xterm.
21571Solution: Use the xterm colors for libvterm.
21572Files: src/terminal.c, src/libvterm/src/pen.c,
21573 src/testdir/xterm_ramp.vim, Filelist
21574
21575Patch 8.0.1150
21576Problem: MS-Windows GUI: dialog font size is incorrect.
21577Solution: Pass flag to indicate 'encoding' or active codepage. (Yasuhiro
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021578 Matsumoto, closes #2160)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021579Files: src/gui_w32.c
21580
21581Patch 8.0.1151
21582Problem: "vim -c startinsert!" doesn't append.
21583Solution: Correct line number on startup. (Christian Brabandt, closes #2117)
21584Files: src/ex_docmd.c, src/testdir/test_startup.vim
21585
21586Patch 8.0.1152
21587Problem: Encoding of error message wrong in Cygwin terminal.
21588Solution: Get locale from environment variables. (Ken Takata)
21589Files: src/main.c, src/mbyte.c, src/proto/mbyte.pro
21590
21591Patch 8.0.1153
21592Problem: No tests for diff_hlID() and diff_filler().
21593Solution: Add tests. (Dominique Pelle, closes #2156)
21594Files: src/testdir/test_diffmode.vim
21595
21596Patch 8.0.1154
21597Problem: 'indentkeys' does not work properly. (Gary Johnson)
21598Solution: Get the cursor line again. (Christian Brabandt, closes #2151)
21599Files: src/edit.c, src/testdir/test_edit.vim
21600
21601Patch 8.0.1155
21602Problem: Ruby command triggers a warning when RUBYOPT is set to "-w".
21603Solution: use "-e_=0" instead of "-e0". (Masataka Pocke Kuwabara, closes
21604 #2143)
21605Files: src/if_ruby.c
21606
21607Patch 8.0.1156
21608Problem: Removing one -W argument from Perl CFLAGS may cause trouble.
21609Solution: Remove all -W flags. (Christian Brabandt)
21610Files: src/configure.ac, src/auto/configure
21611
21612Patch 8.0.1157
21613Problem: Compiler warning on MS-Windows.
21614Solution: Add type cast. (Yasuhiro Matsomoto)
21615Files: src/main.c
21616
21617Patch 8.0.1158
21618Problem: Still old style tests.
Bram Moolenaar0b0f0992018-05-22 21:41:30 +020021619Solution: Convert several tests to new style. (Yegappan Lakshmanan)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021620Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
21621 src/testdir/main.aap, src/testdir/test33.in,
21622 src/testdir/test33.ok, src/testdir/test41.in,
21623 src/testdir/test41.ok, src/testdir/test43.in,
21624 src/testdir/test43.ok, src/testdir/test53.in,
21625 src/testdir/test53.ok, src/testdir/test_file_size.vim,
21626 src/testdir/test_lispwords.vim, src/testdir/test_search.vim,
21627 src/testdir/test_textobjects.vim
21628
21629Patch 8.0.1159
21630Problem: Typo in #ifdef.
21631Solution: Change "PROT" to "PROTO". (Nobuhiro Takasaki, closes #2165)
21632Files: src/syntax.c
21633
21634Patch 8.0.1160
21635Problem: Getting tab-local variable fails after closing window.
21636Solution: set tp_firstwin and tp_lastwin. (Jason Franklin, closes #2170)
21637Files: src/window.c, src/evalfunc.c, src/testdir/test_getvar.vim
21638
21639Patch 8.0.1161
21640Problem: Popup menu drawing problem when resizing terminal.
21641Solution: Redraw after resizing also when a popup menu is visible. (Ozaki
21642 Kiichi, closes #2110)
21643Files: src/popupmnu.c, src/term.c, src/testdir/shared.vim,
21644 src/testdir/test_popup.vim
21645
21646Patch 8.0.1162
21647Problem: Shared script for tests cannot be included twice.
21648Solution: Include it where needed, it will "finish" if loaded again.
21649Files: src/testdir/test_alot.vim, src/testdir/test_bufline.vim,
21650 src/testdir/test_timers.vim
21651
21652Patch 8.0.1163
21653Problem: Popup test is flaky.
21654Solution: Add a WaitFor() and fix another.
21655Files: src/testdir/test_popup.vim
21656
21657Patch 8.0.1164
21658Problem: Changing StatusLine highlight while evaluating 'statusline' may
21659 not change the status line color.
21660Solution: When changing highlighting while redrawing don't cause another
21661 redraw. (suggested by Ozaki Kiichi, closes #2171, closes #2120)
21662Files: src/buffer.c, src/syntax.c
21663
21664Patch 8.0.1165
21665Problem: Popup test is still flaky.
21666Solution: Add a term_wait() call. (Ozaki Kiichi)
21667Files: src/testdir/test_popup.vim
21668
21669Patch 8.0.1166
21670Problem: :terminal doesn't work on Mac High Sierra.
21671Solution: Change #ifdef for OpenPTY(). (Ozaki Kiichi, Kazunobu Kuriyama,
21672 closes #2162)
21673Files: src/pty.c
21674
21675Patch 8.0.1167
21676Problem: Motif: typing in terminal window is slow.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021677Solution: Do not redraw the whole terminal window but only what was changed.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021678Files: src/terminal.c
21679
21680Patch 8.0.1168
21681Problem: wrong highlighting with combination of match and 'cursorline'.
21682Solution: Use "line_attr" when appropriate. (Ozaki Kiichi, closes #2111)
21683 But don't highlight more than one character.
21684Files: src/screen.c, src/testdir/test_highlight.vim,
21685 src/testdir/view_util.vim
21686
21687Patch 8.0.1169
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021688Problem: Highlighting one char too many with 'list' and 'cul'.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021689Solution: Check for 'list' being active. (Ozaki Kiichi, closes #2177)
21690Files: src/screen.c, src/testdir/test_highlight.vim
21691
21692Patch 8.0.1170
21693Problem: Using termdebug results in 100% CPU time. (tomleb)
21694Solution: Use polling instead of select().
21695Files: src/os_unix.c, src/channel.c, src/proto/channel.pro
21696
21697Patch 8.0.1171
21698Problem: Popup test is still a bit flaky.
21699Solution: Change term_wait() calls. (Ozaki Kiichi)
21700Files: src/testdir/test_popup.vim
21701
21702Patch 8.0.1172
21703Problem: When E734 is given option is still set.
21704Solution: Assign NULL to "s". (Christian Brabandt)
21705Files: src/eval.c, src/testdir/test_assign.vim
21706
21707Patch 8.0.1173
21708Problem: Terminal window is not redrawn after CTRL-L. (Marcin Szamotulski)
21709Solution: Redraw the whole terminal when w_redr_type is NOT_VALID.
21710Files: src/terminal.c
21711
21712Patch 8.0.1174
21713Problem: Mac Terminal.app has wrong color for white.
21714Solution: Use white from the color cube.
21715Files: src/globals.h, src/term.c, src/syntax.c
21716
21717Patch 8.0.1175 (after 8.0.1174)
21718Problem: Build failure without +termresponse.
21719Solution: Add #ifdef.
21720Files: src/syntax.c
21721
21722Patch 8.0.1176
21723Problem: Job_start() does not handle quote and backslash correctly.
21724Solution: Remove quotes, recognize and remove backslashes.
21725Files: src/testdir/test_channel.vim, src/os_unix.c
21726
21727Patch 8.0.1177
21728Problem: In a terminal window the popup menu is not cleared. (Gerry
21729 Agbobada)
21730Solution: Redraw when SOME_VALID is used instead of NOT_VALID. (closes
21731 #2194)
21732Files: src/terminal.c
21733
21734Patch 8.0.1178
21735Problem: Using old compiler on MS-Windows.
21736Solution: Switch default build on MS-Windows to use MSVC 2015. (Ken Takata)
21737Files: src/msvc2015.bat, src/INSTALLpc.txt, src/GvimExt/Makefile,
21738 src/Make_mvc.mak, src/tee/Make_mvc.mak, src/xxd/Make_mvc.mak
21739
21740Patch 8.0.1179
21741Problem: Test_popup_and_window_resize() does not always pass.
21742Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file.
21743 (Ozaki Kiichi, closes #2186)
21744Files: src/testdir/Makefile, src/testdir/shared.vim,
21745 src/testdir/test_popup.vim
21746
21747Patch 8.0.1180
21748Problem: MS-Windows testclean target deletes the color script.
21749Solution: Rename the script file.
21750Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim
21751
21752Patch 8.0.1181
21753Problem: Tests using Vim command fail on MS-Windows.
21754Solution: Do not add quotes around the Vim command.
21755Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
21756
21757Patch 8.0.1182
21758Problem: Cannot see or change mzscheme dll name.
21759Solution: Add 'mzschemedll' and 'mzschemegcdll'.
21760Files: src/if_mzsch.c, src/option.h, src/option.c,
21761 runtime/doc/if_mzsch.txt
21762
21763Patch 8.0.1183
21764Problem: MS-Windows build instructions are outdated.
21765Solution: Update instructions for MSVC 2015. Update the build script.
21766Files: Filelist, Makefile, src/INSTALLpc.txt, src/bigvim.bat
21767
21768Patch 8.0.1184
21769Problem: The :marks command is not tested.
21770Solution: Add a test. (Dominique Pelle, closes #2197)
21771Files: src/testdir/test_marks.vim
21772
21773Patch 8.0.1185
21774Problem: Ruby library includes minor version number.
21775Solution: Only use the API version number. (Ben Boeckel, closes #2199)
21776Files: src/configure.ac, src/auto/configure
21777
21778Patch 8.0.1186
21779Problem: Still quite a few old style tests.
21780Solution: Convert old to new style tests. (Yegappan Lakshmanan)
21781 Avoid ringing the bell while running tests.
21782Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
21783 src/testdir/Make_vms.mms, src/testdir/main.aap,
21784 src/testdir/test31.in, src/testdir/test31.ok,
21785 src/testdir/test4.in, src/testdir/test4.ok, src/testdir/test5.in,
21786 src/testdir/test5.ok, src/testdir/test60.in,
21787 src/testdir/test60.ok, src/testdir/test60.vim,
21788 src/testdir/test7.in, src/testdir/test7.ok, src/testdir/test78.in,
21789 src/testdir/test78.ok, src/testdir/test_autocmd.vim,
21790 src/testdir/test_exists.vim, src/testdir/test_recover.vim,
21791 src/testdir/test_winbuf_close.vim, src/testdir/runtest.vim
21792
21793Patch 8.0.1187
21794Problem: Building with lua fails for OSX on Travis.
21795Solution: Separate brew-update and brew-install. (Ozaki Kiichi, closes #2203)
21796Files: .travis.yml
21797
21798Patch 8.0.1188
21799Problem: Autocmd test fails on MS-Windows.
21800Solution: Give the buffer a name and find the buffer to be wiped out by
21801 name.
21802Files: src/testdir/test_autocmd.vim
21803
21804Patch 8.0.1189
21805Problem: E172 is not actually useful, it's only on Unix anyway.
21806Solution: Remove the check and the error.
21807Files: src/ex_docmd.c, runtime/doc/message.txt
21808
21809Patch 8.0.1190
21810Problem: Vim becomes unusable after opening new window in BufWritePre
21811 event.
21812Solution: Call not_exiting(). (Martin Tournoij, closes #2205)
21813 Also for "2q" when a help window is open. Add a test.
21814Files: src/ex_docmd.c, src/testdir/test_writefile.vim
21815
21816Patch 8.0.1191
21817Problem: MS-Windows: missing 32 and 64 bit files in installer.
21818Solution: Include both 32 and 64 bit GvimExt and related dll files. Remove
21819 old Windows code from the installer. (Ken Takata, closes #2144)
21820Files: nsis/README.txt, nsis/gvim.nsi, src/GvimExt/gvimext.cpp,
21821 src/dosinst.c, src/dosinst.h, src/uninstal.c, Makefile
21822
21823Patch 8.0.1192
21824Problem: MS-Windows: terminal feature not enabled by default.
21825Solution: Enable it. (Ken Takata)
21826Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
21827
21828Patch 8.0.1193
21829Problem: Crash when wiping out a buffer after using getbufinfo().
21830 (Yegappan Lakshmanan)
21831Solution: Remove b:changedtick from the buffer variables.
21832Files: src/buffer.c, src/testdir/test_autocmd.vim
21833
21834Patch 8.0.1194
21835Problem: Actual fg and bg colors of terminal are unknown.
21836Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
21837Files: src/term.c, src/term.h, src/proto/term.pro, src/terminal.c,
21838 src/vim.h, src/eval.c, runtime/doc/eval.txt
21839
21840Patch 8.0.1195 (after 8.0.1194)
21841Problem: Can't build on MS-Windows.
21842Solution: Adjust #ifdef and add #ifdefs.
21843Files: src/term.c, src/terminal.c
21844
21845Patch 8.0.1196 (after 8.0.1194)
21846Problem: Crash when t_RF is not set. (Brian Pina)
21847Solution: Add t_RF to the list of terminal options. (Hirohito Higashi)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021848Files: src/option.c
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021849
21850Patch 8.0.1197
21851Problem: MS-Windows build instructions are not up to date.
21852Solution: Adjust the instructions. Fix the nsis script.
21853Files: Makefile, nsis/gvim.nsi
21854
21855Patch 8.0.1198
21856Problem: Older compilers don't know uint8_t.
21857Solution: Use char_u instead.
21858Files: src/term.c, src/proto/term.pro
21859
21860Patch 8.0.1199
21861Problem: When 'clipboard' is "autoselectplus" the star register is also
21862 set. (Gilles Moris)
21863Solution: Don't set the star register in this situation.
21864Files: src/ops.c
21865
21866Patch 8.0.1200
21867Problem: Tests switch the bell off twice.
21868Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
21869Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim,
21870 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim,
21871 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim,
21872 src/testdir/test_edit.vim, src/testdir/test_file_size.vim,
21873 src/testdir/test_gn.vim, src/testdir/test_normal.vim,
21874 src/testdir/test_packadd.vim, src/testdir/test_popup.vim,
21875 src/testdir/test_recover.vim, src/testdir/test_search.vim,
21876 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim,
21877 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim
21878
21879Patch 8.0.1201
21880Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded)
21881Solution: Don't use 'scrolloff' when an operator is pending.
21882Files: src/normal.c, runtime/doc/motion.txt
21883
21884Patch 8.0.1202
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021885Problem: :wall gives an error for a terminal window. (Marius Gedminas)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021886Solution: Don't try writing a buffer that can't be written. (Yasuhiro
21887 Matsumoto, closes #2190)
21888Files: src/ex_cmds.c, src/testdir/test_terminal.vim
21889
21890Patch 8.0.1203
21891Problem: Terminal window mistreats composing characters.
21892Solution: Count composing characters with the base character. (Ozaki Kiichi,
21893 closes #2195)
21894Files: src/mbyte.c, src/terminal.c, src/testdir/test_terminal.vim
21895
21896Patch 8.0.1204
21897Problem: A QuitPre autocommand may get the wrong file name.
21898Solution: Pass the buffer being closed to apply_autocmds(). (Rich Howe)
21899Files: src/ex_docmd.c, src/testdir/test_autocmd.vim
21900
21901Patch 8.0.1205
21902Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe)
21903Solution: Check the right window for changes.
21904Files: src/testdir/test_edit.vim, src/ex_docmd.c
21905
21906Patch 8.0.1206
21907Problem: No autocmd for entering or leaving the command line.
21908Solution: Add CmdlineEnter and CmdlineLeave.
21909Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c, src/vim.h,
21910 src/testdir/test_autocmd.vim
21911
21912Patch 8.0.1207
21913Problem: Profiling skips the first and last script line.
21914Solution: Check for BOM after setting script ID. (Lemonboy, closes #2103,
21915 closes #2112) Add a test. List the trailing script lines.
21916Files: src/testdir/test_profile.vim, src/ex_cmds2.c
21917
21918Patch 8.0.1208
21919Problem: 'statusline' drops empty group with highlight change.
21920Solution: Do not drop an empty group if it changes highlighting. (Marius
21921 Gedminas, closes #2228)
21922Files: src/buffer.c, src/testdir/test_statusline.vim
21923
21924Patch 8.0.1209
21925Problem: Still too many old style tests.
21926Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
21927 closes #2230)
21928Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
21929 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
21930 src/testdir/Makefile, src/testdir/Make_vms.mms,
21931 src/testdir/main.aap, src/testdir/test34.in,
21932 src/testdir/test34.ok, src/testdir/test54.in,
21933 src/testdir/test54.ok, src/testdir/test8.in, src/testdir/test8.ok,
21934 src/testdir/test_autocmd.vim, src/testdir/test_autoformat_join.in,
21935 src/testdir/test_autoformat_join.ok, src/testdir/test_join.vim,
21936 src/testdir/test_user_func.vim
21937
21938Patch 8.0.1210
21939Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when
21940 there is typeahead.
21941Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa,
21942 closes #2233)
21943Files: src/ex_getln.c, src/testdir/test_search.vim
21944
21945Patch 8.0.1211
21946Problem: Cannot reorder tab pages with drag & drop.
21947Solution: Support drag & drop for GTK and MS-Windows. (Ken Takata, Masamichi
21948 Abe)
21949Files: src/gui_gtk_x11.c, src/gui_w32.c
21950
21951Patch 8.0.1212
21952Problem: MS-Windows: tear-off menu does not work on 64 bit. (shaggyaxe)
21953Solution: Change how the menu handle is looked up. (Ken Takata, closes
21954 #1205)
21955Files: src/gui_w32.c
21956
21957Patch 8.0.1213
21958Problem: Setting 'mzschemedll' has no effect.
21959Solution: Move loading .vimrc to before call to mzscheme_main().
21960Files: src/main.c
21961
21962Patch 8.0.1214
21963Problem: Accessing freed memory when EXITFREE is set and there is more than
21964 one tab and window. (Dominique Pelle)
21965Solution: Free options later. Skip redraw when exiting.
21966Files: src/screen.c, src/misc2.c
21967
21968Patch 8.0.1215
21969Problem: Newer gcc warns for implicit fallthrough.
21970Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
21971Files: src/buffer.c, src/edit.c, src/eval.c, src/ex_docmd.c,
21972 src/ex_getln.c, src/main.c, src/message.c, src/normal.c,
21973 src/regexp.c, src/regexp_nfa.c, src/spell.c, src/window.c,
21974 src/if_perl.xs
21975
21976Patch 8.0.1216
21977Problem: Tabline is not always updated for :file command. (Norio Takagi)
21978Solution: Set redraw_tabline. (Hirohito Higashi)
21979Files: src/ex_cmds.c
21980
21981Patch 8.0.1217
21982Problem: Can't use remote eval to inspect vars in debug mode.
21983Solution: Don't discard the call stack in debug mode. (closes #2237, #2247)
21984Files: src/globals.h, src/ex_cmds2.c, src/main.c
21985
21986Patch 8.0.1218
21987Problem: Writing to freed memory in autocmd.
21988Solution: Make a copy of the tag line. (Dominique Pelle, closes #2245)
21989Files: src/tag.c, src/testdir/test_autocmd.vim
21990
21991Patch 8.0.1219
21992Problem: Terminal test is flaky.
21993Solution: Add test function to list of flaky tests.
21994Files: src/testdir/runtest.vim
21995
21996Patch 8.0.1220
21997Problem: Skipping empty statusline groups is not correct.
21998Solution: Also set group_end_userhl. (itchyny)
21999Files: src/buffer.c, src/testdir/test_statusline.vim
22000
22001Patch 8.0.1221
22002Problem: Still too many old style tests.
22003Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22004 closes #2256)
22005Files: src/Makefile, src/testdir/Make_all.mak,
22006 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
22007 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
22008 src/testdir/main.aap, src/testdir/test19.in,
22009 src/testdir/test19.ok, src/testdir/test20.in,
22010 src/testdir/test20.ok, src/testdir/test25.in,
22011 src/testdir/test25.ok, src/testdir/test28.in,
22012 src/testdir/test28.ok, src/testdir/test32.in,
22013 src/testdir/test32.ok, src/testdir/test38.in,
22014 src/testdir/test38.ok, src/testdir/test66.in,
22015 src/testdir/test66.ok, src/testdir/test79.in,
22016 src/testdir/test79.ok, src/testdir/test_ins_complete.vim,
22017 src/testdir/test_source_utf8.vim, src/testdir/test_substitute.vim,
22018 src/testdir/test_tab.vim, src/testdir/test_tagjump.vim,
22019 src/testdir/test_undo.vim, src/testdir/test_visual.vim,
22020 src/testdir/test79.ok, src/testdir/test79.in,
22021 src/testdir/test28.in
22022
22023Patch 8.0.1222
22024Problem: Test functions interfere with each other.
22025Solution: Cleanup tab pages, windows and buffers. Reset option.
22026Files: src/testdir/runtest.vim, src/testdir/test_filetype.vim,
22027 src/testdir/test_tabpage.vim, src/testdir/test_lispwords.vim
22028
22029Patch 8.0.1223
22030Problem: Crash when using autocomplete and tab pages.
22031Solution: Check if the current tab changed. (Christian Brabandt, closes
22032 #2239)
22033Files: src/popupmnu.c, src/testdir/test_popup.vim, src/misc1.c,
22034
22035Patch 8.0.1224
22036Problem: Still interference between test functions.
22037Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a
22038 specific start context.
22039Files: src/testdir/runtest.vim, src/testdir/test_autocmd.vim,
22040 src/testdir/test_arglist.vim, src/testdir/test_bufwintabinfo.vim,
22041 src/testdir/test_command_count.vim, src/testdir/test_quickfix.vim,
22042 src/testdir/test_hardcopy.vim, src/testdir/test_ins_complete.vim,
22043 src/testdir/test_packadd.vim, src/testdir/test_signs.vim,
22044 src/testdir/test_autochdir.vim
22045
22046Patch 8.0.1225
22047Problem: No check for spell region being zero. (geeknik)
22048Solution: Check for zero. (closes #2252)
22049Files: src/spellfile.c, src/testdir/test_spell.vim
22050
22051Patch 8.0.1226
22052Problem: Edit and popup tests failing.
22053Solution: Make the tests pass.
22054Files: src/testdir/test_edit.vim, src/testdir/test_popup.vim
22055
22056Patch 8.0.1227
22057Problem: Undefined left shift in readfile(). (Brian 'geeknik' Carpenter)
22058Solution: Add cast to unsigned. (Dominique Pelle, closes #2253)
22059Files: src/fileio.c
22060
22061Patch 8.0.1228
22062Problem: Invalid memory access in GUI test.
22063Solution: Check that the row is not outside of the screen.
22064Files: src/screen.c
22065
22066Patch 8.0.1229
22067Problem: Condition in vim_str2nr() is always true. (Nikolai Pavlov)
22068Solution: Remove the condition. (Closes #2259)
22069Files: src/charset.c
22070
22071Patch 8.0.1230
22072Problem: CTRL-A in Visual mode uses character after selection. (Nikolai
22073 Pavlov)
22074Solution: Check the length before using a character.
22075Files: src/charset.c
22076
22077Patch 8.0.1231
22078Problem: Expanding file name drops dash. (stucki)
22079Solution: Use the right position. (Christian Brabandt, closes #2184)
22080Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
22081
22082Patch 8.0.1232
22083Problem: MS-Windows users are confused about default mappings.
22084Solution: Don't map keys in the console where they don't work. Add a choice
22085 in the installer to use MS-Windows key bindings or not. (Christian
22086 Brabandt, Ken Takata, closes #2093)
22087Files: Filelist, nsis/gvim.nsi, nsis/vimrc.ini, src/dosinst.c,
22088 runtime/mswin.vim
22089
22090Patch 8.0.1233
22091Problem: Typo in dos installer.
22092Solution: Remove comma.
22093Files: src/dosinst.c
22094
22095Patch 8.0.1234
22096Problem: MS-Windows: composing characters are not shown properly.
22097Solution: Pass base character and composing characters to the renderer at
22098 once. (Ken Takata, closes #2206)
22099Files: src/gui.c, src/gui_w32.c
22100
22101Patch 8.0.1235
22102Problem: Cannot disable the terminal feature in a huge build. (lindhobe)
22103Solution: Adjust the autoconf check. (Kazunobu Kuriyama, closes #2242)
22104Files: src/configure.ac, src/auto/configure, src/Makefile
22105
22106Patch 8.0.1236
22107Problem: Mac features are confusing.
22108Solution: Make feature names more consistent, add "osxdarwin". Rename
22109 feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
22110 Also includes a fix for when Ruby throws an exception inside
22111 :rubyfile.(ujihisa)
22112Files: runtime/doc/eval.txt, runtime/doc/os_mac.txt, src/auto/configure,
22113 src/config.h.in, src/configure.ac, src/digraph.c, src/edit.c,
22114 src/evalfunc.c, src/feature.h, src/fileio.c, src/getchar.c,
22115 src/globals.h, src/gui.c, src/gui_mac.c, src/if_python.c,
22116 src/if_python3.c, src/if_ruby.c, src/keymap.h, src/macros.h,
22117 src/main.c, src/mbyte.c, src/message.c, src/misc1.c, src/misc2.c,
22118 src/option.c, src/os_mac.h, src/os_macosx.m, src/os_unix.c,
22119 src/proto.h, src/pty.c, src/structs.h, src/term.c, src/termlib.c,
22120 src/ui.c, src/undo.c, src/version.c, src/vim.h, src/window.c
22121
22122Patch 8.0.1237
22123Problem: ":set scroll&" often gives an error.
22124Solution: Don't use a fixed default value, use half the window height. Add a
22125 test. (Ozaki Kiichi, closes #2104)
22126Files: src/Makefile, src/option.c, src/testdir/test_alot.vim,
22127 src/testdir/test_scroll_opt.vim
22128
22129Patch 8.0.1238
22130Problem: Incremental search only shows one match.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022131Solution: When 'incsearch' and 'hlsearch' are both set highlight all
Bram Moolenaar2f018892018-05-18 18:12:06 +020022132 matches. (haya14busa, itchyny, closes #2198)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022133Files: runtime/doc/options.txt, src/ex_getln.c, src/proto/search.pro,
22134 src/search.c, src/testdir/test_search.vim
22135
22136Patch 8.0.1239
22137Problem: Cannot use a lambda for the skip argument to searchpair().
22138Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454,
22139 closes #2265)
22140Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/evalfunc.pro,
22141 src/eval.c, src/proto/eval.pro, src/search.c,
22142 src/testdir/test_search.vim
22143
22144Patch 8.0.1240
22145Problem: MS-Windows: term_start() does not support environment.
22146Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes
22147 #2264)
22148Files: src/os_win32.c, src/proto/os_win32.pro, src/terminal.c,
22149 src/testdir/test_terminal.vim
22150
22151Patch 8.0.1241
22152Problem: Popup test is flaky. (James McCoy)
22153Solution: Increase the wait time. (Dominique Pelle)
22154Files: src/testdir/test_popup.vim
22155
22156Patch 8.0.1242
22157Problem: Function argument with only dash is seen as number zero. (Wang
22158 Shidong)
22159Solution: See a dash as a string. (Christian Brabandt)
22160Files: src/testdir/test_ins_complete.vim, src/Makefile, src/eval.c
22161
22162Patch 8.0.1243
22163Problem: No test for what 8.0.1227 fixes.
22164Solution: Add a test that triggers the problem. (Christian Brabandt)
22165Files: src/testdir/test_normal.vim, src/testdir/test_search.vim
22166
22167Patch 8.0.1244
22168Problem: Search test does not work correctly on MS-Windows.
22169Solution: Put text in a file instead of sending it to the terminal.
22170 (Christian Brabandt)
22171Files: src/testdir/test_search.vim
22172
22173Patch 8.0.1245
22174Problem: When WaitFor() has a wrong expression it just waits a second,
22175 which goes unnoticed. (James McCoy)
22176Solution: When WaitFor() times out throw an exception. Fix places where the
22177 expression was wrong.
22178Files: src/testdir/shared.vim, src/testdir/test_channel.vim,
22179 src/testdir/test_netbeans.vim, src/testdir/test_terminal.vim
22180
22181Patch 8.0.1246
22182Problem: Popup test has an arbitrary delay.
22183Solution: Wait for the ruler to show. (James McCoy)
22184Files: src/testdir/test_popup.vim
22185
22186Patch 8.0.1247
22187Problem: Not easy to find Debian build info.
22188Solution: Add a badge in the README file. (Dominique Pelle)
22189Files: README.md
22190
22191Patch 8.0.1248 (after 8.0.1247)
22192Problem: Stray + in README file.
22193Solution: Remove the +. Add a line break.
22194Files: README.md
22195
22196Patch 8.0.1249
22197Problem: No error when WaitFor() gets an invalid wrong expression.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022198Solution: Do not ignore errors in evaluation of the expression. Fix places
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022199 where the expression was wrong.
22200Files: src/testdir/shared.vim, src/testdir/test_netbeans.vim
22201
22202Patch 8.0.1250
22203Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill)
22204Solution: Redraw all windows. Start search at the end of the match. Improve
22205 how CTRL-G works with incremental search. Add tests. (Christian
22206 Brabandt, Hirohito Higashi, haya14busa, closes #2267)
22207Files: runtime/doc/options.txt, src/ex_getln.c,
22208 src/testdir/test_search.vim
22209
22210Patch 8.0.1251 (after 8.0.1249)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022211Problem: Invalid expression passed to WaitFor().
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022212Solution: Check if the variable exists.
22213Files: src/testdir/test_clientserver.vim
22214
22215Patch 8.0.1252
22216Problem: Incomplete translations makefile for MinGW/Cygwin.
22217Solution: Add missing source files. Make it work with msys2's bash. (Ken
22218 Takata)
22219Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak
22220
22221Patch 8.0.1253
22222Problem: Still too many old style tests.
22223Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22224 closes #2272)
22225Files: src/Makefile, src/testdir/Make_all.mak,
22226 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
22227 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
22228 src/testdir/main.aap, src/testdir/test12.in,
22229 src/testdir/test12.ok, src/testdir/test40.in,
22230 src/testdir/test40.ok, src/testdir/test45.in,
22231 src/testdir/test45.ok, src/testdir/test83.in,
22232 src/testdir/test83.ok, src/testdir/test_autocmd.vim,
22233 src/testdir/test_fold.vim, src/testdir/test_swap.vim,
22234 src/testdir/test_tagjump.vim
22235
22236Patch 8.0.1254
22237Problem: Undefined left shift in gethexchrs(). (geeknik)
22238Solution: Use unsigned long. (idea by Christian Brabandt, closes #2255)
22239Files: src/regexp.c, src/regexp_nfa.c
22240
22241
22242Patch 8.0.1255 (after 8.0.1248)
22243Problem: duplicate badge README file.
22244Solution: Remove one. (Dominique Pelle)
22245Files: README.md
22246
22247Patch 8.0.1256
22248Problem: Typo in configure variable vim_cv_tgent. (Matthieu Guillard)
22249Solution: Rename the variable. (closes #2281)
22250Files: src/configure.ac, src/auto/configure
22251
22252Patch 8.0.1257 (after 8.0.1254)
22253Problem: No test for fix of undefined behavior.
22254Solution: Add a test. (closes #2255)
22255Files: src/testdir/test_search.vim
22256
22257Patch 8.0.1258
22258Problem: 'ttymouse' is set to "sgr" even though it's not supported. (Gary
22259 Johnson)
22260Solution: Adjust #ifdef
22261Files: src/term.c
22262
22263Patch 8.0.1259
22264Problem: Search test can be flaky.
22265Solution: Use WaitFor() instead of a delay. Make it possible to pass a
22266 funcref to WaitFor() to avoid the need for global variables.
22267 (James McCoy, closes #2282)
22268Files: src/testdir/shared.vim, src/testdir/test_search.vim
22269
22270Patch 8.0.1260 (after 8.0.1259)
22271Problem: Using global variables for WaitFor().
22272Solution: Use a lambda function instead. Don't check a condition if
22273 WaitFor() already checked it.
22274Files: src/testdir/test_popup.vim, src/testdir/test_terminal.vim,
22275 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
22276 src/testdir/test_job_fails.vim, src/testdir/test_quotestar.vim
22277
22278Patch 8.0.1261
22279Problem: Program in terminal window gets NL instead of CR. (Lifepillar)
22280Solution: Check the tty setup more often. (closes #1998)
22281Files: src/terminal.c
22282
22283Patch 8.0.1262
22284Problem: Terminal redir test is flaky.
22285Solution: Add it to the list of flaky tests.
22286Files: src/testdir/runtest.vim
22287
22288Patch 8.0.1263
22289Problem: Others can read the swap file if a user is careless with his
22290 primary group.
22291Solution: If the group permission allows for reading but the world
22292 permissions doesn't, make sure the group is right.
22293Files: src/fileio.c, src/testdir/test_swap.vim, src/Makefile
22294
22295Patch 8.0.1264
22296Problem: Terminal debugger gets stuck in small window.
22297Solution: Add "-quiet" to the gdb command. (Christian Brabandt, closes #2154)
22298Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
22299
22300Patch 8.0.1265 (after 8.0.1263)
22301Problem: Swap test not skipped when there is one group.
22302Solution: Convert list to string for the message.
22303Files: src/testdir/test_swap.vim
22304
22305Patch 8.0.1266 (after 8.0.1263)
22306Problem: Test_swap_directory was accidentally commented out.
22307Solution: Uncomment the test.
22308Files: src/testdir/test_swap.vim
22309
22310Patch 8.0.1267 (after 8.0.1263)
22311Problem: Test_swap_group may leave file behind.
22312Solution: Add a try/finally.
22313Files: src/testdir/test_swap.vim, src/testdir/test_undo.vim
22314
22315Patch 8.0.1268
22316Problem: PC install instructions are incomplete.
22317Solution: Update the instructions. (Ken Takata)
22318Files: src/INSTALLpc.txt
22319
22320Patch 8.0.1269
22321Problem: Effect of autocommands on marks is not tested.
22322Solution: Add a couple of tests. (James McCoy, closes #2271)
22323Files: src/testdir/test_autocmd.vim
22324
22325Patch 8.0.1270
22326Problem: Mismatching file name with Filelist.
22327Solution: Rename color_ramp.vim to xterm_ramp.vim
22328Files: src/testdir/color_ramp.vim, src/testdir/xterm_ramp.vim
22329
22330Patch 8.0.1271
22331Problem: Still too many old style tests.
22332Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22333 closes #2290)
22334Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
22335 src/testdir/sautest/autoload/footest.vim, src/testdir/test55.in,
22336 src/testdir/test55.ok, src/testdir/test_changelist.in,
22337 src/testdir/test_changelist.ok, src/testdir/test_fold.vim,
22338 src/testdir/test_ins_complete.vim,
22339 src/testdir/test_insertcount.in, src/testdir/test_insertcount.ok,
22340 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
22341 src/testdir/test_search.vim, src/testdir/test_search_mbyte.in
22342
22343Patch 8.0.1272
22344Problem: Warnings for unused variables in tiny build.
22345Solution: Add #ifdef. (Dominique Pelle, closes #2288)
22346Files: src/term.c
22347
22348Patch 8.0.1273 (after 8.0.1271)
22349Problem: Old test file remaining.
22350Solution: Delete it.
22351Files: src/testdir/test_search_mbyte.ok
22352
22353Patch 8.0.1274
22354Problem: setbufline() fails when using folding.
22355Solution: Set "curwin" if needed. (Ozaki Kiichi, closes #2293)
22356Files: src/evalfunc.c, src/testdir/test_bufline.vim
22357
22358Patch 8.0.1275
22359Problem: CmdlineLeave autocmd prevents fold from opening. (Waivek)
22360Solution: Save and restore KeyTyped. (closes #2305)
22361Files: src/fileio.c
22362
22363Patch 8.0.1276
22364Problem: Typed key is lost when the terminal window is closed in exit
22365 callback. (Gabriel Barta)
22366Solution: When the current window changes bail out of the wait loop. (closes
22367 #2302)
22368Files: src/misc2.c, src/terminal.c
22369
22370Patch 8.0.1277
22371Problem: Terminal window CR-NL conversions may cause problems.
22372Solution: Avoid most conversions, only fetch the current backspace key value
22373 from the tty. (mostly by Ozaki Kiichi, closes #2278)
22374Files: src/terminal.c
22375
22376Patch 8.0.1278
22377Problem: GUI window always resizes when adding/removing a scrollbar,
22378 toolbar, etc.
22379Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and
22380 change the number of lines/columns instead. (Ychin, closes #703)
22381Files: runtime/doc/options.txt, src/gui.c, src/gui_gtk_x11.c,
22382 src/gui_w32.c, src/option.h
22383
22384Patch 8.0.1279
22385Problem: Initializing menus can be slow, especially when there are many
22386 keymaps, color schemes, etc.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022387Solution: Do the globbing for runtime files lazily. (Ken Takata)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022388Files: runtime/doc/gui.txt, runtime/menu.vim
22389
22390Patch 8.0.1280
22391Problem: Python None cannot be converted to a Vim type.
22392Solution: Convert it to v:none. (Ken Takata)
22393Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok,
22394 runtime/doc/if_pyth.txt
22395
22396Patch 8.0.1281
22397Problem: Loading file type detection slows down startup.
22398Solution: Move functions to an autoload script.
22399Files: runtime/filetype.vim, runtime/autoload/filetype.vim,
22400 runtime/scripts.vim
22401
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022402Patch 8.0.1282 (after 8.0.1281)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022403Problem: script-local variable defined in the wrong script
22404Solution: Move variable to autoload/filetype.vim.
22405Files: runtime/filetype.vim, runtime/autoload/filetype.vim
22406
22407Patch 8.0.1283
22408Problem: Test 86 fails under ASAN.
22409Solution: Fix that an item was added to a dictionary twice.
22410Files: src/if_py_both.h
22411
22412Patch 8.0.1284
22413Problem: Loading file type detection slows down startup.
22414Solution: Store the last pattern of an autocommand event to make appending
22415 quicker.
22416Files: src/fileio.c
22417
22418Patch 8.0.1285
22419Problem: Distributed autoload files may clash with user files. (Andy
22420 Wokula)
22421Solution: Use the "autoload/dist" directory.
22422Files: runtime/filetype.vim, runtime/autoload/filetype.vim,
22423 runtime/autoload/dist/ft.vim, runtime/scripts.vim, Filelist,
22424 src/Makefile, nsis/gvim.nsi
22425
22426Patch 8.0.1286
22427Problem: Occasional crash when using a channel. (Marek)
22428Solution: Decrement reference count later. (closes #2315)
22429Files: src/channel.c
22430
22431Patch 8.0.1287
22432Problem: The temp file used when updating the viminfo file may have the
22433 wrong permissions if setting the group fails.
22434Solution: Check if the group matches and reduce permissions if not.
22435Files: src/ex_cmds.c
22436
22437Patch 8.0.1288
22438Problem: GUI: cannot drag the statusline of a terminal window.
22439Solution: Handle the TERMINAL state. (Hirohito Higashi)
22440Files: src/gui.c
22441
22442Patch 8.0.1289
22443Problem: Mkview always includes the local directory.
22444Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes
22445 #2316)
22446Files: runtime/doc/options.txt, runtime/doc/starting.txt, src/ex_docmd.c,
22447 src/option.c
22448
22449Patch 8.0.1290
22450Problem: seq_cur of undotree() wrong after undo.
22451Solution: Get the actual sequence number instead of decrementing the current
22452 one. (Ozaki Kiichi, closes #2319)
22453Files: src/undo.c, src/testdir/test_undo.vim
22454
22455Patch 8.0.1291
22456Problem: C indent wrong when * immediately follows comment. (John Bowler)
22457Solution: Do not see "/*" after "*" as a comment start. (closes #2321)
22458Files: src/search.c, src/testdir/test3.in, src/testdir/test3.ok
22459
22460Patch 8.0.1292
22461Problem: Quick clicks in the WinBar start Visual mode.
22462Solution: Use a double click in the WinBar like a normal click.
22463Files: src/ui.c
22464
22465Patch 8.0.1293
22466Problem: Setting a breakpoint in the terminal debugger sometimes fails.
22467Solution: Interrupt the program if needed. Set the interface to async.
22468Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
22469 runtime/doc/terminal.txt
22470
22471Patch 8.0.1294
22472Problem: GUI: get stuck when splitting a terminal window.
22473Solution: Stop blinking when values become zero. (Hirohito Higashi)
22474Files: src/gui.c
22475
22476Patch 8.0.1295
22477Problem: Cannot automatically get a server name in a terminal.
22478Solution: Add the --enable-autoservername flag to configure. (Cimbali,
22479 closes #2317)
22480Files: runtime/doc/eval.txt, runtime/doc/various.txt, src/config.h.in,
22481 src/configure.ac, src/auto/configure, src/evalfunc.c,
22482 src/feature.h, src/main.c, src/version.c, src/Makefile
22483
22484Patch 8.0.1296 (after 8.0.1294)
22485Problem: Checking the same condition twice. (John Marriott)
22486Solution: Check blinkwait.
22487Files: src/gui.c
22488
22489Patch 8.0.1297
22490Problem: +autoservername does not show enabled on MS-Windows.
22491Solution: Always define the flag on MS-Windows. (Ken Takata)
22492Files: src/feature.h
22493
22494Patch 8.0.1298
22495Problem: Missing test file.
22496Solution: Add samples/test000. (Christian Brabandt)
22497Files: src/testdir/samples/test000, Filelist
22498
22499Patch 8.0.1299
22500Problem: Bracketed paste does not work well in terminal window.
22501Solution: Send translated string to job right away. (Ozaki Kiichi, closes
22502 #2341)
22503Files: src/terminal.c
22504
22505Patch 8.0.1300
22506Problem: File permissions may end up wrong when writing.
22507Solution: Use fchmod() instead of chmod() when possible. Don't truncate
22508 until we know we can change the file.
22509Files: src/os_unix.c, src/proto/os_unix.pro, src/configure.ac,
22510 src/auto/configure, src/config.h.in, src/fileio.c
22511
22512Patch 8.0.1301
22513Problem: Generated license file for NSIS has a modeline.
22514Solution: Adjust the pattern for sed. (Ken Takata)
22515Files: runtime/doc/Makefile
22516
22517Patch 8.0.1302
22518Problem: Still too many old style tests.
22519Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22520 closes #2326)
22521Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
22522 src/testdir/Make_vms.mms, src/testdir/runtest.vim,
22523 src/testdir/test68.in, src/testdir/test68.ok,
22524 src/testdir/test73.in, src/testdir/test73.ok,
22525 src/testdir/test_close_count.in, src/testdir/test_close_count.ok,
22526 src/testdir/test_close_count.vim,
22527 src/testdir/test_erasebackword.in,
22528 src/testdir/test_erasebackword.ok,
22529 src/testdir/test_erasebackword.vim,
22530 src/testdir/test_find_complete.vim, src/testdir/test_fixeol.in,
22531 src/testdir/test_fixeol.ok, src/testdir/test_fixeol.vim,
22532 src/testdir/test_listchars.in, src/testdir/test_listchars.ok,
22533 src/testdir/test_listchars.vim, src/testdir/test_textformat.vim
22534
22535Patch 8.0.1303
22536Problem: 'ttymouse' is not set to "sgr" for Terminal.app and Iterm2.
22537Solution: Recognize Iterm2 by the termresponse.
22538Files: src/term.c
22539
22540Patch 8.0.1304
22541Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern.
22542Solution: Use the last search pattern. (Christian Brabandt, closes #2292)
22543Files: src/ex_getln.c, src/proto/search.pro, src/search.c,
22544 src/testdir/test_search.vim
22545
22546Patch 8.0.1305
22547Problem: Writefile() never calls fsync().
22548Solution: Follow the 'fsync' option with override to enable or disable.
22549Files: src/fileio.c, src/evalfunc.c, runtime/doc/eval.txt, src/globals.h,
22550 src/testdir/test_writefile.vim
22551
22552Patch 8.0.1306
22553Problem: ASAN error stack trace is not useful.
22554Solution: Add "asan_symbolize". (James McCoy, closes #2344)
22555Files: .travis.yml
22556
22557Patch 8.0.1307 (after 8.0.1300)
22558Problem: Compiler warning for ignoring return value of ftruncate(). (Tony
22559 Mechelynck)
22560Solution: Assign returned value to "ignore".
22561Files: src/fileio.c
22562
22563Patch 8.0.1308
22564Problem: The "Reading from stdin" message may be undesired and there is no
22565 easy way to skip it.
22566Solution: Don't show the message with --not-a-term was used.
22567Files: src/fileio.c
22568
22569Patch 8.0.1309
22570Problem: Cannot use 'balloonexpr' in a terminal.
22571Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
22572 terminal. Initial implementation for Unix with GUI.
22573Files: src/option.c, src/option.h, src/os_unix.c, src/proto/os_unix.pro,
22574 src/feature.h, src/misc2.c, src/keymap.h, src/edit.c,
22575 src/ex_getln.c, src/message.c, src/misc1.c, src/normal.c,
22576 src/terminal.c, src/getchar.c, src/ex_cmds2.c, src/gui_beval.c,
22577 src/proto/gui_beval.pro, src/evalfunc.c, src/popupmnu.c,
22578 src/proto/popupmnu.pro, src/version.c, src/globals.h, src/gui.c,
22579 runtime/doc/options.txt, src/term.c,
22580 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
22581
22582Patch 8.0.1310
22583Problem: Cproto generates errors because of missing type.
22584Solution: Define _Float128 when generating prototypes.
22585Files: src/vim.h
22586
22587Patch 8.0.1311
22588Problem: No test for strpart().
22589Solution: Add a test. (Dominique Pelle, closes #2347)
22590Files: src/testdir/test_functions.vim
22591
22592Patch 8.0.1312 (after 8.0.1309)
22593Problem: balloon_show() only works in terminal when compiled with the GUI.
22594Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
22595 specific file.
22596Files: src/feature.h, src/evalfunc.c, src/gui.c, src/gui_athena.c,
22597 src/gui_beval.c, src/proto/gui_beval.pro, src/beval.c,
22598 src/proto/beval.pro, src/gui_motif.c, src/gui_w32.c,
22599 src/gui_x11.c, src/integration.c, src/workshop.c, src/menu.c,
22600 src/netbeans.c, src/option.c, src/os_unix.c, src/os_win32.c,
22601 src/syntax.c, src/version.c, src/gui.h, src/gui_beval.h,
22602 src/vim.h, src/beval.h, src/option.h, src/ex_cmds2.c, src/ui.c,
22603 src/getchar.c, src/normal.c, src/popupmnu.c, src/globals.h,
22604 src/Makefile, src/Make_cyg_ming.mak, src/Make_mvc.mak,
22605 src/Make_vms.mms, Filelist
22606
22607Patch 8.0.1313 (after 8.0.1312)
22608Problem: Missing dependencies cause parallel make to fail.
22609Solution: Update dependencies.
22610Files: src/Makefile
22611
22612Patch 8.0.1314 (after 8.0.1312)
22613Problem: Build fails on Mac. (chdiza)
22614Solution: Add #ifdef around GUI fields.
22615Files: src/beval.h
22616
22617Patch 8.0.1315 (after 8.0.1312)
22618Problem: Build still fails on Mac. (chdiza)
22619Solution: Remove bogus typedef.
22620Files: src/os_macosx.m
22621
22622Patch 8.0.1316 (after 8.0.1312)
Bram Moolenaar2f018892018-05-18 18:12:06 +020022623Problem: Build still still fails on Mac. (chdiza)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022624Solution: Remove another bogus typedef.
22625Files: src/os_mac_conv.c
22626
22627Patch 8.0.1317
22628Problem: Accessing freed memory in term_wait(). (Dominique Pelle)
22629Solution: Check that the buffer still exists.
22630Files: src/terminal.c
22631
22632Patch 8.0.1318
22633Problem: Terminal balloon only shows one line.
22634Solution: Split into several lines in a clever way. Add balloon_split().
22635 Make balloon_show() accept a list in the terminal.
22636Files: src/popupmnu.c, src/proto/popupmnu.pro, src/evalfunc.c,
22637 src/beval.c, src/proto/beval.pro, src/testdir/test_popup.vim,
22638 runtime/doc/eval.txt,
22639 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
22640
22641Patch 8.0.1319
22642Problem: Can't build GUI on MS-Windows.
22643Solution: Don't define the balloon_split() function in a GUI-only build.
22644Files: src/evalfunc.c, runtime/doc/eval.txt
22645
22646Patch 8.0.1320
22647Problem: Popup test fails on GUI-only build.
22648Solution: Don't test balloon_split() when it's not available.
22649Files: src/testdir/test_popup.vim
22650
22651Patch 8.0.1321
22652Problem: Can't build huge version with Athena. (Mark Kelly)
22653Solution: Move including beval.h to before structs.h. Include beval.pro like
22654 other proto files.
22655Files: src/vim.h, src/beval.h, src/proto.h
22656
22657Patch 8.0.1322
22658Problem: Textformat test isn't run. (Yegappan Lakshmanan)
22659Solution: Add target to the list of tests.
22660Files: src/testdir/Make_all.mak
22661
22662Patch 8.0.1323
22663Problem: Mouse events in a terminal window may cause endless loop.
22664Solution: Adjust position computation. Don't stuff a mouse event when
22665 coming from normal_cmd().
22666Files: src/normal.c, src/terminal.c
22667
22668Patch 8.0.1324
22669Problem: Some xterm sends different mouse move codes.
22670Solution: Also accept 0x80 as a move event.
22671Files: src/term.c
22672
22673Patch 8.0.1325
22674Problem: More tests are not run.
22675Solution: Add targets to the list of tests. (Yegappan Lakshmanan)
22676Files: src/testdir/Make_all.mak
22677
22678Patch 8.0.1326
22679Problem: Largefile test fails on CI, glob test on MS-Windows.
22680Solution: Remove largefile test from list of all tests. Don't run
22681 Test_glob() on non-unix systems. More cleanup. (Yegappan
22682 Lakshmanan, closes #2354)
22683Files: src/testdir/Make_all.mak, src/testdir/test_escaped_glob.vim,
22684 src/testdir/test_plus_arg_edit.vim
22685
22686Patch 8.0.1327
22687Problem: New proto file missing from distribution.
22688Solution: Add it. (closes #2355)
22689Files: Filelist
22690
22691Patch 8.0.1328
22692Problem: Trouble when using ":term ++close" with autocmd. (Gabriel Barta)
22693Solution: Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf.
22694 (closes #2339)
22695Files: src/terminal.c, src/testdir/test_terminal.vim
22696
22697Patch 8.0.1329
22698Problem: When a flaky test fails it also often fails the second time.
22699Solution: Sleep a couple of seconds before the second try.
22700Files: src/testdir/runtest.vim
22701
22702Patch 8.0.1330
22703Problem: MS-Windows: job in terminal can't get back to Vim.
22704Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes
22705 #2360)
22706Files: runtime/doc/terminal.txt, src/os_win32.c, src/proto/os_win32.pro,
22707 src/terminal.c, src/testdir/test_terminal.vim
22708
22709Patch 8.0.1331
22710Problem: Possible crash when window can be zero lines high. (Joseph
22711 Dornisch)
22712Solution: Only set w_fraction if the window is at least two lines high.
22713Files: src/window.c
22714
22715Patch 8.0.1332
22716Problem: Highlighting in quickfix window could be better. (Axel Bender)
22717Solution: Use the qfSeparator highlight item. (Yegappan Lakshmanan)
22718Files: src/quickfix.c
22719
22720Patch 8.0.1333
22721Problem: Some tests are run twice.
22722Solution: Invoked most utf8 tests only from test_alot_utf8. (Yegappan
22723 Lakshmanan, closes #2369)
22724Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
22725 src/testdir/test_mksession_utf8.vim
22726
22727Patch 8.0.1334
22728Problem: Splitting a window with a WinBar damages window layout.
22729 (Lifepillar)
22730Solution: Take the winbar into account when computing the new window
22731 position. Add WINBAR_HEIGHT().
22732Files: src/vim.h, src/window.c
22733
22734Patch 8.0.1335
22735Problem: Writefile() using fsync() may give an error for a device.
22736 (Yasuhiro Matsumoto)
22737Solution: Ignore fsync() failing. (closes #2373)
22738Files: src/evalfunc.c
22739
22740Patch 8.0.1336
22741Problem: Cannot use imactivatefunc() unless compiled with +xim.
22742Solution: Allow using imactivatefunc() when not compiled with +xim.
22743 (Yasuhiro Matsumoto, closes #2349)
22744Files: runtime/doc/options.txt, runtime/doc/mbyte.txt, src/mbyte.c,
22745 src/option.c, src/option.h, src/structs.h,
22746 src/testdir/test_iminsert.vim, src/Makefile,
22747 src/testdir/Make_all.mak, src/vim.h
22748
22749Patch 8.0.1337 (after 8.0.1336)
22750Problem: Typo in #ifdef.
22751Solution: Fix the #if line.
22752Files: src/mbyte.c
22753
22754Patch 8.0.1338 (after 8.0.1337)
22755Problem: USE_IM_CONTROL is confusing and incomplete.
22756Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
22757Files: src/vim.h, src/edit.c, src/ex_getln.c, src/getchar.c, src/gui.c,
22758 src/gui_mac.c, src/gui_w32.c, src/mbyte.c, src/normal.c,
22759 src/option.c, src/ui.c, src/globals.h, src/option.h
22760
22761Patch 8.0.1339
22762Problem: No test for what 8.0.1335 fixes.
22763Solution: Add a test. (Yasuhiro Matsumoto, closes #2373)
22764Files: src/testdir/test_writefile.vim
22765
22766Patch 8.0.1340
22767Problem: MS-Windows: cannot build GUI without IME.
22768Solution: Define im_get_status() and im_set_active() when IME is not used.
22769Files: src/mbyte.c
22770
22771Patch 8.0.1341
22772Problem: 'imactivatefunc' test fails on MS-Windows.
22773Solution: Skip the text.
22774Files: src/testdir/test_iminsert.vim, runtime/doc/options.txt
22775
22776Patch 8.0.1342
22777Problem: Cannot build with Motif and multi-byte. (Mohamed Boughaba)
22778Solution: Use the right input method status flag. (closes #2374)
22779Files: src/mbyte.c
22780
22781Patch 8.0.1343
22782Problem: MS-Windows: does not show colored emojis.
22783Solution: Implement colored emojis. Improve drawing speed. Make 'taamode'
22784 work. (Taro Muraoka, Yasuhiro Matsumoto, Ken Takata, close #2375)
22785Files: appveyor.yml, runtime/doc/options.txt, src/gui_dwrite.cpp,
22786 src/gui_dwrite.h, src/gui_w32.c, src/proto/gui_w32.pro
22787
22788Patch 8.0.1344
22789Problem: Using 'imactivatefunc' in the GUI does not work.
22790Solution: Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI.
22791Files: runtime/doc/options.txt, src/mbyte.c,
22792 src/testdir/test_iminsert.vim
22793
22794Patch 8.0.1345
22795Problem: Race condition between stat() and open() for the viminfo temp
22796 file. (Simon Ruderich)
22797Solution: use open() with O_EXCL to atomically check if the file exists.
22798 Don't try using a temp file, renaming it will fail anyway.
22799Files: src/ex_cmds.c
22800
22801Patch 8.0.1346
22802Problem: Crash when passing 50 char string to balloon_split().
22803Solution: Fix off-by-one error.
22804Files: src/testdir/test_popup.vim, src/popupmnu.c
22805
22806Patch 8.0.1347
22807Problem: MS-Windows: build broken by misplaced curly.
22808Solution: Move curly after #endif.
22809Files: src/ex_cmds.c
22810
22811Patch 8.0.1348
22812Problem: Make testclean deletes script file on MS-Windows.
22813Solution: Rename file to avoid it starting with an "x".
22814Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim, Filelist
22815
22816Patch 8.0.1349
22817Problem: Options test fails when using Motif or GTK GUI.
22818Solution: Use "fixed" instead of "fixedsys" for Unix. Don't try "xxx" for
22819 guifonteset. Don't set 'termencoding' to anything but "utf-8" for
22820 GTK. Give an error if 'termencoding' can't be converted.
22821Files: src/testdir/gen_opt_test.vim, src/option.c
22822
22823Patch 8.0.1350
22824Problem: Cannot build with +eval and -multi_byte.
22825Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte
22826 feature when an input method feature is enabled.
22827Files: src/mbyte.c, src/feature.h
22828
22829Patch 8.0.1351
22830Problem: Warning for unused variables building with MinGW.
22831Solution: Change a few #ifdefs (suggested by John Marriott). Remove
22832 superfluous checks of FEAT_MBYTE.
22833Files: src/gui_w32.c
22834
22835Patch 8.0.1352
22836Problem: Dead URLs in the help go unnoticed.
22837Solution: Add a script to check URLs in the help files. (Christian Brabandt)
22838Files: runtime/doc/Makefile, runtime/doc/test_urls.vim, Filelist
22839
22840Patch 8.0.1353
22841Problem: QuickFixCmdPost is not used consistently.
22842Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre.
22843 (Yegappan Lakshmanan, closes #2377)
22844Files: src/quickfix.c, src/testdir/test_quickfix.vim
22845
22846Patch 8.0.1354
22847Problem: Shift-Insert doesn't always work in MS-Windows console.
22848Solution: Handle K_NUL differently. (Yasuhiro Matsumoto, closes #2381)
22849Files: src/os_win32.c
22850
22851Patch 8.0.1355 (after 8.0.1354)
22852Problem: Cursor keys don't work in MS-Windows console.
22853Solution: Revert the previous patch. Also delete dead code.
22854Files: src/os_win32.c
22855
22856Patch 8.0.1356
22857Problem: Using simalt in a GUIEnter autocommand inserts strange characters.
22858 (Chih-Long Chang)
22859Solution: Ignore K_NOP in Insert mode. (closes #2379)
22860Files: src/edit.c, src/ex_getln.c
22861
22862Patch 8.0.1357
22863Problem: Startup test fails on OpenBSD. (Edd Barrett)
22864Solution: Check for "BSD" instead of "FreeBSD" being defined. (James McCoy,
22865 closes #2376, closes #2378)
22866Files: src/vim.h
22867
22868Patch 8.0.1358
22869Problem: Undercurl is not used in the terminal. (Kovid Goyal)
22870Solution: Only fall back to underline when undercurl highlighting is not
22871 defined. (closes #1306)
22872Files: src/screen.c
22873
22874Patch 8.0.1359
22875Problem: Libvterm ANSI colors can not always be recognized from the RGB
22876 values. The default color is wrong when t_RB is empty.
22877Solution: Add the ANSI color index to VTermColor.
22878Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
22879 src/terminal.c
22880
22881Patch 8.0.1360
22882Problem: The Terminal highlighting doesn't work in a terminal. (Ozaki
22883 Kiichi)
22884Solution: Use the Terminal highlighting when the cterm index is zero.
22885Files: src/terminal.c
22886
22887Patch 8.0.1361
22888Problem: Some users don't want to diff with hidden buffers.
22889Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394)
22890Files: runtime/doc/options.txt, src/buffer.c, src/diff.c,
22891 src/proto/diff.pro, src/testdir/test_diffmode.vim
22892
22893Patch 8.0.1362
22894Problem: Terminal window colors wrong when using Terminal highlighting.
22895Solution: Set ansi_index when setting the default color. Also cache the
22896 color index for Terminal. (Ozaki Kiichi, closes #2393)
22897Files: src/libvterm/src/pen.c, src/proto/terminal.pro, src/syntax.c,
22898 src/terminal.c
22899
22900Patch 8.0.1363
22901Problem: Recovering does not work when swap file ends in .stz.
22902Solution: Check for all possible swap file names. (Elfling, closes #2395,
22903 closes #2396)
22904Files: src/memline.c
22905
22906Patch 8.0.1364
22907Problem: There is no easy way to get the window position.
22908Solution: Add win_screenpos().
22909Files: src/evalfunc.c, src/testdir/test_window_cmd.vim,
22910 runtime/doc/eval.txt
22911
22912Patch 8.0.1365
22913Problem: When one channel test fails others fail as well.
22914Solution: Stop the job after a failure. Also add a couple of tests to the
22915 list of flaky tests.
22916Files: src/testdir/test_channel.vim, src/testdir/runtest.vim
22917
22918Patch 8.0.1366
22919Problem: Balloon shows when cursor is in WinBar.
22920Solution: Don't show the balloon when row is negative.
22921Files: src/beval.c
22922
22923Patch 8.0.1367
22924Problem: terminal test hangs, executing abcde. (Stucki)
22925Solution: Rename abcde to abxde.
22926Files: src/testdir/test_terminal.vim
22927
22928Patch 8.0.1368
22929Problem: Cannot drag status line or vertical separator of new terminal
22930 window. (UncleBill)
22931Solution: Adjust mouse row and column computation. (Yasuhiro Matsumoto,
22932 closes #2410)
22933Files: src/terminal.c
22934
22935Patch 8.0.1369
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022936Problem: MS-Windows: drawing underline, curl and strikethrough is slow,
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022937 mFallbackDC not properly updated.
22938Solution: Several performance improvements. (Ken Takata, Taro Muraoka,
22939 Yasuhiro Matsumoto, closes #2401)
22940Files: runtime/doc/options.txt, src/gui_dwrite.cpp, src/gui_dwrite.h,
22941 src/gui_w32.c
22942
22943Patch 8.0.1370
22944Problem: Channel test for callback is flaky.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022945Solution: Add the test to the list of flaky tests.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022946Files: src/testdir/runtest.vim
22947
22948Patch 8.0.1371
22949Problem: Shift-Insert doesn't always work in MS-Windows console.
22950Solution: Handle K_NUL differently if the second character is more than one
22951 byte. (Yasuhiro Matsumoto, closes #2381)
22952Files: src/os_win32.c
22953
22954Patch 8.0.1372
22955Problem: Profile log may be truncated halfway a character.
22956Solution: Find the start of the character. (Ozaki Kiichi, closes #2385)
22957Files: src/ex_cmds2.c, src/testdir/test_profile.vim
22958
22959Patch 8.0.1373
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022960Problem: No error when setting 'renderoptions' to an invalid value before
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022961 starting the GUI.
22962Solution: Always check the value. (Ken Takata, closes #2413)
22963Files: src/gui_w32.c, src/option.c
22964
22965Patch 8.0.1374
22966Problem: CTRL-A does not work with an empty line. (Alex)
22967Solution: Decrement the end only once. (Hirohito Higashi, closes #2387)
22968Files: src/ops.c, src/testdir/test_increment.vim
22969
22970Patch 8.0.1375
22971Problem: Window size wrong after maximizing with WinBar. (Lifepillar)
22972Solution: Fix height computations. Redraw window when it is zero height but
22973 has a WinBar. (closes #2356)
22974Files: src/window.c, src/screen.c, src/vim.h
22975
22976Patch 8.0.1376
22977Problem: Cursor in terminal not always updated.
22978Solution: Call gui_mch_flush(). (Ken Takata)
22979Files: src/terminal.c
22980
22981Patch 8.0.1377
22982Problem: Cannot call a dict function in autoloaded dict.
22983Solution: Call get_lval() passing the read-only flag.
22984Files: src/userfunc.c, src/eval.c, src/testdir/sautest/autoload/foo.vim,
22985 src/testdir/sautest/autoload/globone.vim,
22986 src/testdir/sautest/autoload/globtwo.vim,
22987 src/testdir/test_escaped_glob.vim, src/Makefile,
22988 src/testdir/test_autoload.vim, src/Makefile,
22989 src/testdir/Make_all.mak
22990
22991Patch 8.0.1378
22992Problem: Autoload script sources itself when defining function.
22993Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
22994 Matsumoto, closes #2423)
22995Files: src/userfunc.c, src/testdir/test_autoload.vim,
22996 src/testdir/sautest/autoload/sourced.vim
22997
22998Patch 8.0.1379
22999Problem: Configure check for selinux does not check for header file.
23000Solution: Add an AC_CHECK_HEADER(). (Benny Siegert)
23001Files: src/configure.ac, src/auto/configure
23002
23003Patch 8.0.1380
23004Problem: When recovering a file with "vim -r swapfile" the hit-enter prompt
23005 is at the top of the window.
23006Solution: Invalidate the cursor position.
23007Files: src/term.c
23008
23009Patch 8.0.1381
23010Problem: ch_readraw() waits for NL if channel mode is NL.
23011Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto)
23012Files: src/channel.c, src/proto/channel.pro,
23013 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py
23014
23015Patch 8.0.1382
23016Problem: Get "no write since last change" message if a terminal is open.
23017 (Fritz mehner)
23018Solution: Don't consider a buffer changed if it's a terminal window.
23019Files: src/ex_cmds.c, src/undo.c, src/proto/undo.pro
23020
23021Patch 8.0.1383
23022Problem: Local additions in help skips some files. (joshklod)
23023Solution: Check the base file name length equals.
23024Files: src/ex_cmds.c, src/testdir/test_help.vim
23025
23026Patch 8.0.1384
23027Problem: Not enough quickfix help; confusing winid.
23028Solution: Add more examples in the help. When the quickfix window is not
23029 present, return zero for getqflist() with 'winid'. Add more tests
23030 for jumping to quickfix list entries. (Yegappan Lakshmanan, closes
23031 #2427)
23032Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c,
23033 src/testdir/test_quickfix.vim
23034
23035Patch 8.0.1385
23036Problem: Python 3.5 is getting old.
23037Solution: Make Python 3.6 the default. (Ken Takata, closes #2429)
23038Files: runtime/doc/if_pyth.txt, src/INSTALLpc.txt, src/Make_cyg_ming.mak,
23039 src/Make_mvc.mak, src/bigvim.bat
23040
23041Patch 8.0.1386
23042Problem: Cannot select modified buffers with getbufinfo().
23043Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes #2431)
23044Files: runtime/doc/eval.txt, src/evalfunc.c,
23045 src/testdir/test_bufwintabinfo.vim
23046
23047Patch 8.0.1387
23048Problem: Wordcount test is old style.
23049Solution: Change into a new style test. (Yegappan Lakshmanan, closes #2434)
23050Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
23051 src/testdir/Make_vms.mms, src/testdir/test_wordcount.in,
23052 src/testdir/test_wordcount.ok, src/testdir/test_wordcount.vim
23053
23054Patch 8.0.1388
23055Problem: Char not overwritten with ambiguous width char, if the ambiguous
23056 char is single width but we reserve double-width space.
23057Solution: First clear the screen cells. (Ozaki Kiichi, closes #2436)
23058Files: src/screen.c
23059
23060Patch 8.0.1389
23061Problem: getqflist() items are missing if not set, that makes it more
23062 difficult to handle the values.
23063Solution: When a value is not available return zero or another invalid
23064 value. (Yegappan Lakshmanan, closes #2430)
23065Files: runtime/doc/eval.txt, src/quickfix.c,
23066 src/testdir/test_quickfix.vim
23067
23068Patch 8.0.1390
23069Problem: DirectX scrolling can be slow, vertical positioning is off.
23070Solution: Make scroll slightly faster when using "scrlines:1". Fix y
23071 position of displayed text. Fix DirectX with non-utf8 encoding.
23072 (Ken Takata, closes #2440)
23073Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
23074 src/gui_dwrite.cpp, src/gui_w32.c
23075
23076Patch 8.0.1391
23077Problem: Encoding empty string to JSON sometimes gives "null".
23078Solution: Handle NULL string as empty string. (closes #2446)
23079Files: src/testdir/test_json.vim, src/json.c
23080
23081Patch 8.0.1392
23082Problem: Build fails with --with-features=huge --disable-channel.
23083Solution: Don't enable the terminal feature when the channel feature is
23084 missing. (Dominique Pelle, closes #2453)
23085Files: src/configure.ac, src/auto/configure
23086
23087Patch 8.0.1393
23088Problem: Too much highlighting with 'hlsearch' and 'incsearch' set.
23089Solution: Do not highlight matches when the pattern matches everything.
23090Files: src/ex_getln.c
23091
23092Patch 8.0.1394
23093Problem: Cannot intercept a yank command.
23094Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
23095 closes #2333)
23096Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/dict.c,
23097 src/eval.c, src/fileio.c, src/ops.c, src/proto/dict.pro,
23098 src/proto/eval.pro, src/proto/fileio.pro,
23099 src/testdir/test_autocmd.vim, src/vim.h
23100
23101Patch 8.0.1395
23102Problem: It is not easy to see if a colorscheme is well written.
23103Solution: Add a script that checks for common mistakes. (Christian Brabandt)
23104Files: runtime/colors/check_colors.vim, runtime/colors/README.txt
23105
23106Patch 8.0.1396
23107Problem: Memory leak when CTRL-G in search command line fails.
23108Solution: Move restore_last_search_pattern to after "if".
23109Files: src/ex_getln.c
23110
23111Patch 8.0.1397
23112Problem: Pattern with \& following nothing gives an error.
23113Solution: Emit an empty node when needed.
23114Files: src/regexp_nfa.c, src/testdir/test_search.vim
23115
23116Patch 8.0.1398
23117Problem: :packadd does not load packages from the "start" directory.
23118 (Alejandro Hernandez)
23119Solution: Make :packadd look in the "start" directory if those packages were
23120 not loaded on startup.
23121Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
23122
23123Patch 8.0.1399
23124Problem: Warnings and errors when building tiny version. (Tony Mechelynck)
23125Solution: Add #ifdefs.
23126Files: src/ex_getln.c, src/ops.c
23127
23128Patch 8.0.1400
23129Problem: Color scheme check script shows up as color scheme.
23130Solution: Move it to the "tools" subdirectory. (closes #2457)
23131Files: Filelist, runtime/colors/check_colors.vim,
23132 runtime/colors/tools/check_colors.vim, runtime/colors/README.txt
23133
23134Patch 8.0.1401
23135Problem: Cannot build with GTK but without XIM. (Guido)
23136Solution: Adjust #ifdef. (closes #2461)
23137Files: src/gui.c
23138
23139Patch 8.0.1402
23140Problem: Crash with nasty autocommand. (gy741, Dominique Pelle)
23141Solution: Check that the new current buffer isn't wiped out. (closes #2447)
23142Files: src/buffer.c, src/testdir/test_autocmd.vim
23143
23144Patch 8.0.1403
23145Problem: Using freed buffer in grep command. (gy741, Dominique Pelle)
23146Solution: Lock the dummy buffer to avoid autocommands wiping it out.
23147Files: src/quickfix.c, src/testdir/test_autocmd.vim
23148
23149Patch 8.0.1404
23150Problem: Invalid memory access on exit when autocommands wipe out a buffer.
23151 (gy741, Dominique Pelle)
23152Solution: Check if the buffer is still valid. (closes #2449)
23153Files: src/main.c
23154
23155Patch 8.0.1405
23156Problem: Duplicated code for getting a typed character. CursorHold is
23157 called too often in the GUI. (lilydjwg)
23158Solution: Refactor code to move code up from mch_inchar(). Don't fire
23159 CursorHold if feedkeys() was used. (closes #2451)
23160Files: src/gui.c, src/proto/gui.pro, src/main.c, src/ui.c,
23161 src/proto/ui.pro, src/os_unix.c
23162
23163Patch 8.0.1406
23164Problem: Difficult to track changes to a quickfix list.
23165Solution: Add a "changedtick" value. (Yegappan Lakshmanan, closes #2460)
23166Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c,
23167 src/testdir/test_quickfix.vim
23168
23169Patch 8.0.1407
23170Problem: GUI: CursorHold may trigger before 'updatetime' when using timers.
23171Solution: Check that 'updatetime' has passed.
23172Files: src/gui.c
23173
23174Patch 8.0.1408
23175Problem: Crash in setqflist().
23176Solution: Check for string to be NULL. (Dominique Pelle, closes #2464)
23177Files: src/quickfix.c, src/testdir/test_quickfix.vim
23178
23179Patch 8.0.1409
23180Problem: Buffer overflow in :tags command.
23181Solution: Use vim_snprintf(). (Dominique Pelle, closes #2471, closes #2475)
23182 Add a test.
23183Files: src/testdir/test_taglist.vim, src/tag.c
23184
23185Patch 8.0.1410
23186Problem: Hang when using count() with an empty string.
23187Solution: Return zero for an empty string. (Dominique Pelle, closes #2465)
23188Files: runtime/doc/eval.txt, src/evalfunc.c,
23189 src/testdir/test_functions.vim
23190
23191Patch 8.0.1411
23192Problem: Reading invalid memory with CTRL-W :.
23193Solution: Correct the command characters. (closes #2469)
23194Files: src/normal.c, src/testdir/test_window_cmd.vim, src/ops.c
23195
23196Patch 8.0.1412
23197Problem: Using free memory using setloclist(). (Dominique Pelle)
23198Solution: Mark location list context as still in use when needed. (Yegappan
23199 Lakshmanan, closes #2462)
23200Files: src/quickfix.c, src/testdir/test_quickfix.vim
23201
23202Patch 8.0.1413
23203Problem: Accessing freed memory in :cbuffer.
23204Solution: Get quickfix list after executing autocmds. (closes #2470)
23205Files: src/quickfix.c, src/testdir/test_autocmd.vim
23206
23207Patch 8.0.1414
23208Problem: Accessing freed memory in :lfile.
23209Solution: Get the current window after executing autocommands. (Yegappan
23210 Lakshmanan, closes #2473)
23211Files: src/quickfix.c, src/testdir/test_quickfix.vim
23212
23213Patch 8.0.1415
23214Problem: Warning for unused function without timers feature.
23215Solution: Add #ifdef. (John Marriott)
23216Files: src/gui.c
23217
23218Patch 8.0.1416
23219Problem: Crash when searching for a sentence.
23220Solution: Return NUL when getting character at MAXCOL. (closes #2468)
23221Files: src/misc1.c, src/misc2.c, src/testdir/test_search.vim,
23222 src/ex_docmd.c
23223
23224Patch 8.0.1417
23225Problem: Test doesn't search for a sentence. Still fails when searching for
23226 start of sentence. (Dominique Pelle)
23227Solution: Add paren. Check for MAXCOL in dec().
23228Files: src/testdir/test_search.vim, src/misc2.c
23229
23230Patch 8.0.1418
23231Problem: No test for expanding backticks.
23232Solution: Add a test. (Dominique Pelle, closes #2479)
23233Files: src/testdir/test_normal.vim
23234
23235Patch 8.0.1419
23236Problem: Cursor column is not updated after ]s. (Gary Johnson)
23237Solution: Set the curswant flag.
23238Files: src/testdir/test_spell.vim, src/normal.c, src/evalfunc.c
23239
23240Patch 8.0.1420
23241Problem: Accessing freed memory in vimgrep.
23242Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan,
23243 closes #2474)
23244Files: src/quickfix.c, src/testdir/test_autocmd.vim,
23245 src/testdir/test_quickfix.vim
23246
23247Patch 8.0.1421
23248Problem: Accessing invalid memory with overlong byte sequence.
23249Solution: Check for NUL character. (test by Dominique Pelle, closes #2485)
23250Files: src/misc2.c, src/testdir/test_functions.vim
23251
23252Patch 8.0.1422
23253Problem: No fallback to underline when undercurl is not set. (Ben Jackson)
23254Solution: Check for the value to be empty instead of NULL. (closes #2424)
23255Files: src/screen.c
23256
23257Patch 8.0.1423
23258Problem: Error in return not caught by try/catch.
23259Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes #2483)
23260Files: src/testdir/test_eval.in, src/testdir/test_eval_stuff.vim,
23261 src/Makefile, src/testdir/Make_all.mak, src/userfunc.c
23262
23263Patch 8.0.1424
23264Problem: The timer_pause test is flaky on Travis.
23265Solution: Accept a longer sleep time on Mac.
23266Files: src/testdir/test_timers.vim
23267
23268Patch 8.0.1425
23269Problem: execute() does not work in completion of user command. (thinca)
23270Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492)
23271Files: src/evalfunc.c, src/testdir/test_usercommands.vim
23272
23273Patch 8.0.1426
23274Problem: "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok)
23275Solution: Check for a URL and allow for extra characters. (closes #2493)
23276Files: src/window.c, src/testdir/test_gf.vim
23277
23278Patch 8.0.1427
23279Problem: The :leftabove modifier doesn't work for :copen.
23280Solution: Respect the split modifier. (Yegappan Lakshmanan, closes #2496)
23281Files: src/quickfix.c, src/testdir/test_quickfix.vim
23282
23283Patch 8.0.1428
23284Problem: Compiler warning on 64 bit MS-Windows system.
23285Solution: Change type from "int" to "size_t". (Mike Williams)
23286Files: src/ex_getln.c
23287
23288Patch 8.0.1429
23289Problem: Crash when calling term_start() with empty argument.
23290Solution: Check for invalid argument. (Yasuhiro Matsomoto, closes #2503)
23291 Fix memory leak.
23292Files: src/terminal.c, src/testdir/test_terminal.vim
23293
23294Patch 8.0.1430 (after 8.0.1429)
23295Problem: Crash when term_start() fails.
23296Solution: Initialize winpty_err.
23297Files: src/terminal.c
23298
23299Patch 8.0.1431
23300Problem: MS-Windows: vimtutor fails if %TMP% has special chars.
23301Solution: Add quotes. (Tamce, closes #2561)
23302Files: vimtutor.bat
23303
23304Patch 8.0.1432
23305Problem: After ":copen" can't get the window-ID of the quickfix window.
23306 (FalacerSelene)
23307Solution: Make it work without a quickfix list. Add a test. (Yegappan
23308 Lakshmanan, closes #2541)
23309Files: src/quickfix.c, src/testdir/test_quickfix.vim
23310
23311Patch 8.0.1433
23312Problem: Illegal memory access after undo. (Dominique Pelle)
23313Solution: Avoid the column becomes negative. (Christian Brabandt,
23314 closes #2533)
23315Files: src/mbyte.c, src/testdir/test_undo.vim
23316
23317Patch 8.0.1434
23318Problem: GTK: :promtfind does not put focus on text input. (Adam Novak)
23319Solution: When re-opening the dialog put focus on the text input. (Kazunobu
23320 Kuriyama, closes #2563)
23321Files: src/gui_gtk.c
23322
23323Patch 8.0.1435
23324Problem: Memory leak in test_arabic.
23325Solution: Free the from and to parts. (Christian Brabandt, closes #2569)
23326Files: src/buffer.c, src/digraph.c, src/proto/digraph.pro
23327
23328Patch 8.0.1436
23329Problem: Not enough information about what Python version may work.
23330Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and
23331 "python3_dynamic" values for has().
23332Files: src/evalfunc.c, runtime/doc/eval.txt
23333
23334Patch 8.0.1437
23335Problem: Pkg-config doesn't work with cross compiling.
23336Solution: Use AC_PATH_TOOL() instead of AC_PATH_PROG(). (James McCoy,
23337 closes #2513)
23338Files: src/configure.ac, src/auto/configure
23339
23340Patch 8.0.1438
23341Problem: Filetype detection test not updated for change.
23342Solution: Update the test.
23343Files: src/testdir/test_filetype.vim
23344
23345Patch 8.0.1439
23346Problem: If cscope fails a search Vim may hang.
23347Solution: Bail out when a search error is encountered. (Safouane Baroudi,
23348 closes #2598)
23349Files: src/if_cscope.c
23350
23351Patch 8.0.1440
23352Problem: Terminal window: some vterm responses are delayed.
23353Solution: After writing input. check if there is output to read. (Ozaki
23354 Kiichi, closes #2594)
23355Files: src/terminal.c, src/testdir/test_search.vim,
23356 src/testdir/test_terminal.vim
23357
23358Patch 8.0.1441
23359Problem: Using ":undo 0" leaves undo in wrong state.
23360Solution: Instead of searching for state 1 and go above, just use the start.
23361 (Ozaki Kiichi, closes #2595)
23362Files: src/undo.c, src/testdir/test_undo.vim
23363
23364Patch 8.0.1442 (after 8.0.1439)
23365Problem: Using pointer before it is set.
23366Solution: Search in whole buffer instead of next token.
23367Files: src/if_cscope.c
23368
23369Patch 8.0.1443 (after 8.0.1441)
23370Problem: Compiler complains about uninitialized variable. (Tony Mechelynck)
23371Solution: Assign a value to the variable.
23372Files: src/undo.c
23373
23374Patch 8.0.1444
23375Problem: Missing -D_FILE_OFFSET_BITS=64 may cause problems if a library is
23376 compiled with it.
23377Solution: Include -D_FILE_OFFSET_BITS if some CFLAGS has it. (James McCoy,
23378 closes #2600)
23379Files: src/configure.ac, src/auto/configure
23380
23381Patch 8.0.1445
23382Problem: Cannot act on edits in the command line.
23383Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603,
23384 closes #2524)
23385Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c,
23386 src/testdir/test_autocmd.vim, src/vim.h
23387
23388Patch 8.0.1446
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023389Problem: Accessing freed memory after window command in auto command.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023390 (gy741)
23391Solution: Adjust the pointer in the parent frame. (Christian Brabandt,
23392 closes #2467)
23393Files: src/window.c, src/testdir/test_window_cmd.vim
23394
23395Patch 8.0.1447
23396Problem: Still too many old style tests.
23397Solution: Turn a few tests into new style. (Yegappan Lakshmanan,
23398 closes #2509)
23399Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
23400 src/testdir/main.aap, src/testdir/test15.in,
23401 src/testdir/test15.ok, src/testdir/test36.in,
23402 src/testdir/test36.ok, src/testdir/test50.in,
23403 src/testdir/test50.ok, src/testdir/test_regex_char_classes.vim,
23404 src/testdir/test_shortpathname.vim,
23405 src/testdir/test_textformat.vim
23406
23407Patch 8.0.1448
23408Problem: Segmentation fault when Ruby throws an exception inside :rubyfile
23409 command.
23410Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa,
23411 closes #2147, greywolf, closes #2512, #2511)
23412Files: src/if_ruby.c, src/testdir/test_ruby.vim
23413
23414Patch 8.0.1449
23415Problem: Slow redrawing with DirectX.
23416Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
23417 updating the cursor. (Ken Takata, closes #2560)
23418Files: runtime/doc/options.txt, src/channel.c, src/edit.c, src/getchar.c,
23419 src/gui.c, src/gui_dwrite.cpp, src/gui_dwrite.h, src/gui_w32.c,
23420 src/macros.h, src/main.c, src/message.c, src/netbeans.c,
23421 src/proto/gui.pro, src/proto/term.pro, src/screen.c, src/search.c,
23422 src/term.c, src/ui.c
23423
23424Patch 8.0.1450
23425Problem: Endless loop when gui_mch_stop_blink() is called while blink_state
23426 is BLINK_OFF. (zdohnal)
23427Solution: Avoid calling gui_update_cursor() recursively.
23428Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
23429 src/gui_mac.c, src/proto/gui_mac.pro, src/gui_photon.c,
23430 src/proto/gui_photon.pro, src/gui_w32.c, src/proto/gui_w32.pro,
23431 src/gui_x11.c, src/proto/gui_x11.pro
23432
23433Patch 8.0.1451
23434Problem: It is difficult to set the python home directory properly for
23435 Python 2.7 and 3.5 since both use $PYTHONHOME.
23436Solution: Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki
23437 Sakamoto, closes #1266)
23438Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
23439 runtime/optwin.vim, src/if_python.c, src/if_python3.c,
23440 src/option.c, src/option.h
23441
23442Patch 8.0.1452
23443Problem: Terminal test fails on some systems. (jonathonf)
23444Solution: Use "cat" instead of Python to produce the input. Add a delay.
23445 (closes #2607)
23446Files: src/testdir/test_terminal.vim
23447
23448Patch 8.0.1453
23449Problem: Terminal test fails on some slow terminals.
23450Solution: Increase timeout to 10 seconds.
23451Files: src/testdir/test_terminal.vim
23452
23453Patch 8.0.1454
23454Problem: When in silent mode too much output is buffered.
23455Solution: Use line buffering instead of fully buffered. (Brian M. Carlson,
23456 closes #2537)
23457Files: src/main.c
23458
23459Patch 8.0.1455
23460Problem: If $SHELL contains a space then the default value of 'shell' is
23461 incorrect. (Matthew Horan)
23462Solution: Escape spaces in $SHELL. (Christian Brabandt, closes #459)
23463Files: src/option.c, runtime/doc/options.txt,
23464 src/testdir/test_startup.vim
23465
23466Patch 8.0.1456
23467Problem: Timer test on travis Mac is still flaky.
23468Solution: Increase time range a bit more.
23469Files: src/testdir/test_timers.vim
23470
23471Patch 8.0.1457
23472Problem: Clojure now supports a shebang line.
23473Solution: Detect clojure script from the shebang line. (David Burgin,
23474 closes #2570)
23475Files: runtime/scripts.vim
23476
23477Patch 8.0.1458
23478Problem: Filetype detection test does not check all scripts.
23479Solution: Add most scripts to the test
23480Files: src/testdir/test_filetype.vim
23481
23482Patch 8.0.1459
23483Problem: Cannot handle change of directory.
23484Solution: Add the DirChanged autocommand event. (Andy Massimino,
23485 closes #888) Avoid changing directory for 'autochdir' too often.
23486Files: runtime/doc/autocmd.txt, src/buffer.c, src/ex_docmd.c,
23487 src/fileio.c, src/main.c, src/vim.h, src/proto/misc2.pro,
23488 src/gui_mac.c, src/netbeans.c, src/os_win32.c,
23489 src/testdir/test_autocmd.vim
23490
23491Patch 8.0.1460 (after 8.0.1459)
23492Problem: Missing file in patch.
23493Solution: Add changes to missing file.
23494Files: src/misc2.c
23495
23496Patch 8.0.1461 (after 8.0.1459)
23497Problem: Missing another file in patch.
23498Solution: Add changes to missing file.
23499Files: src/ex_cmds.c
23500
23501Patch 8.0.1462 (after 8.0.1459)
23502Problem: Missing yet another file in patch.
23503Solution: Add changes to missing file.
23504Files: src/gui.c
23505
23506Patch 8.0.1463
23507Problem: Test fails without 'autochdir' option.
23508Solution: Skip test if 'autochdir' is not supported.
23509Files: src/testdir/test_autocmd.vim
23510
23511Patch 8.0.1464
23512Problem: Completing directory after :find does not add slash.
23513Solution: Adjust the flags for globpath(). (Genki Sky)
23514Files: src/misc1.c, src/testdir/test_find_complete.vim
23515
23516Patch 8.0.1465
23517Problem: Python2 and python3 detection not tested. (Matej Cepl)
23518Solution: Add test for detecting python2 and python3. Also detect a script
23519 using "js" as javascript.
23520Files: runtime/scripts.vim, src/testdir/test_filetype.vim
23521
23522Patch 8.0.1466
23523Problem: Older GTK versions don't have gtk_entry_get_text_length().
23524Solution: Add a function with #ifdefs to take care of GTK version
23525 differences. (Kazunobu Kuriyama, closes #2605)
23526Files: src/gui_gtk.c
23527
23528Patch 8.0.1467
23529Problem: Libvterm doesn't handle illegal byte sequence correctly.
23530Solution: After the invalid code check if there is space to store another
23531 character. Allocate one more character. (zhykzhykzhyk, closes
23532 #2614, closes #2613)
23533Files: src/libvterm/src/encoding.c, src/libvterm/src/state.c
23534
23535Patch 8.0.1468
23536Problem: Illegal memory access in del_bytes().
23537Solution: Check for negative byte count. (Christian Brabandt, closes #2466)
23538Files: src/message.c, src/misc1.c
23539
23540Patch 8.0.1469
23541Problem: When package path is a symlink adding it to 'runtimepath' happens
23542 at the end.
23543Solution: Do not resolve symlinks before locating the position in
23544 'runtimepath'. (Ozaki Kiichi, closes #2604)
23545Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
23546
23547Patch 8.0.1470
23548Problem: Integer overflow when using regexp pattern. (geeknik)
23549Solution: Use a long instead of int. (Christian Brabandt, closes #2251)
23550Files: src/regexp_nfa.c
23551
23552Patch 8.0.1471 (after 8.0.1401)
23553Problem: On MS-Windows CursorIM highlighting no longer works.
23554Solution: Adjust #if statements. (Ken Takata)
23555Files: src/gui.c
23556
23557Patch 8.0.1472
23558Problem: MS-Windows: nsis installer is a bit slow.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023559Solution: Use ReserveFile for vimrc.ini. (Ken Takata, closes #2522)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023560Files: nsis/gvim.nsi
23561
23562Patch 8.0.1473
23563Problem: MS-Windows: D&D fails between 32 and 64 bit apps.
23564Solution: Add the /HIGHENTROPYVA:NO linker option. (Ken Takata, closes #2504)
23565Files: src/Make_mvc.mak
23566
23567Patch 8.0.1474
23568Problem: Visual C 2017 has multiple MSVCVER numbers.
23569Solution: Assume the 2017 version if MSVCVER >= 1910. (Leonardo Valeri
23570 Manera, closes #2619)
23571Files: src/Make_mvc.mak
23572
23573Patch 8.0.1475
23574Problem: Invalid memory access in read_redo(). (gy741)
23575Solution: Convert the replacement character back from a negative number to
23576 CR or NL. (hint by Dominique Pelle, closes #2616)
23577Files: src/testdir/test_undo.vim, src/normal.c, src/vim.h, src/ops.c
23578
23579Patch 8.0.1476
23580Problem: Screen isn't always updated right away.
23581Solution: Adjust #ifdef: Call out_flush() when not running the GUI.
23582Files: src/screen.c
23583
23584Patch 8.0.1477
23585Problem: Redraw flicker when moving the mouse outside of terminal window.
23586Solution: Instead of updating the cursor color and shape every time leaving
23587 and entering a terminal window, only update when different from
23588 the previously used cursor.
23589Files: src/terminal.c
23590
23591Patch 8.0.1478
23592Problem: Unnecessary condition for "len" being zero.
23593Solution: Remove the condition. (Dominique Pelle)
23594Files: src/regexp_nfa.c
23595
23596Patch 8.0.1479
23597Problem: Insert mode completion state is confusing.
23598Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
23599Files: src/edit.c, src/globals.h, src/proto/edit.pro, src/search.c,
23600 src/getchar.c
23601
23602Patch 8.0.1480 (after 8.0.1479)
23603Problem: Patch missing change.
23604Solution: Add missing change.
23605Files: src/evalfunc.c
23606
23607Patch 8.0.1481
23608Problem: Clearing a pointer takes two lines.
23609Solution: Add vim_clear() to free and clear the pointer.
23610Files: src/misc2.c, src/proto/misc2.pro, src/edit.c
23611
23612Patch 8.0.1482
23613Problem: Using feedkeys() does not work to test Insert mode completion.
23614 (Lifepillar)
23615Solution: Do not check for typed keys when executing :normal or feedkeys().
23616 Fix thesaurus completion not working when 'complete' is empty.
23617Files: src/edit.c, src/testdir/test_ins_complete.vim,
23618 src/testdir/test_popup.vim, src/testdir/test_edit.vim
23619
23620Patch 8.0.1483
23621Problem: Searchpair() might return an invalid value on timeout.
23622Solution: When the second search times out, do not accept a match from the
23623 first search. (Daniel Hahler, closes #2552)
23624Files: src/search.c
23625
23626Patch 8.0.1484
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023627Problem: Redundant conditions.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023628Solution: Remove them. (Dominique Pelle)
23629Files: src/terminal.c
23630
23631Patch 8.0.1485
23632Problem: Weird autocmd may cause arglist to be changed recursively.
23633Solution: Prevent recursively changing the argument list. (Christian
23634 Brabandt, closes #2472)
23635Files: src/ex_docmd.c, src/globals.h
23636
23637Patch 8.0.1486
23638Problem: Accessing invalid memory with "it". (Dominique Pelle)
23639Solution: Avoid going over the end of the line. (Christian Brabandt,
23640 closes #2532)
23641Files: src/search.c, src/testdir/test_textobjects.vim
23642
23643Patch 8.0.1487 (after 8.0.1486)
23644Problem: Test 14 fails.
23645Solution: Fix of-by-one error.
23646Files: src/search.c
23647
23648Patch 8.0.1488 (after 8.0.1218)
23649Problem: Emacs tags no longer work. (zdohnal)
23650Solution: Do not skip over end of line.
23651Files: src/tag.c, src/testdir/test_tagjump.vim
23652
23653Patch 8.0.1489
23654Problem: There is no easy way to get the global directory, esp. if some
23655 windows have a local directory.
23656Solution: Make getcwd(-1) return the global directory. (Andy Massimino,
23657 closes #2606)
23658Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_getcwd.vim
23659
23660Patch 8.0.1490
23661Problem: Number of spell regions is spread out through the code.
23662Solution: Define MAXREGIONS.
23663Files: src/spell.h, src/spellfile.c
23664
23665Patch 8.0.1491
23666Problem: The minimum width of the popup menu is hard coded.
23667Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
23668 closes #2314)
23669Files: runtime/doc/options.txt, src/option.c, src/option.h,
23670 src/popupmnu.c
23671
23672Patch 8.0.1492
23673Problem: Memory leak in balloon_split().
23674Solution: Free the balloon lines. Free the balloon when exiting.
23675Files: src/misc2.c, src/evalfunc.c
23676
23677Patch 8.0.1493
23678Problem: Completion items cannot be annotated.
23679Solution: Add a "user_data" entry to the completion item. (Ben Jackson,
23680 coses #2608, closes #2508)
23681Files: runtime/doc/insert.txt, src/edit.c, src/structs.h,
23682 src/testdir/test_ins_complete.vim
23683
23684Patch 8.0.1494
23685Problem: No autocmd triggered in Insert mode with visible popup menu.
23686Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
23687 closes #2372, closes #1691)
23688 Fix that the TextChanged autocommands are not always triggered
23689 when sourcing a script.
23690Files: runtime/doc/autocmd.txt, src/edit.c, src/globals.h, src/structs.h,
23691 src/fileio.c, src/proto/fileio.pro, src/vim.h, src/main.c,
23692 src/testdir/test_autocmd.vim
23693
23694Patch 8.0.1495
23695Problem: Having 'pumwidth' default to zero has no merit.
23696Solution: Make the default 15, as the actual default value.
23697Files: src/popupmnu.c, src/option.c
23698
23699Patch 8.0.1496
23700Problem: Clearing a pointer takes two lines.
23701Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
23702 closes #2629)
23703Files: src/buffer.c, src/channel.c, src/crypt.c, src/edit.c, src/eval.c,
23704 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
23705 src/ex_getln.c, src/fileio.c, src/gui_gtk_x11.c, src/gui_photon.c,
23706 src/gui_w32.c, src/gui_x11.c, src/hardcopy.c, src/if_cscope.c,
23707 src/macros.h, src/main.c, src/mark.c, src/mbyte.c, src/memfile.c,
23708 src/memline.c, src/menu.c, src/message.c, src/misc1.c,
23709 src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c,
23710 src/option.c, src/os_amiga.c, src/os_mac_conv.c, src/os_mswin.c,
23711 src/os_unix.c, src/os_win32.c, src/popupmnu.c,
23712 src/proto/misc2.pro, src/quickfix.c, src/regexp.c,
23713 src/regexp_nfa.c, src/screen.c, src/search.c, src/spell.c,
23714 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c,
23715 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c, src/window.c
23716
23717Patch 8.0.1497
23718Problem: Getting the jump list requires parsing the output of :jumps.
23719Solution: Add getjumplist(). (Yegappan Lakshmanan, closes #2609)
23720Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/Makefile,
23721 src/evalfunc.c, src/list.c, src/proto/list.pro,
23722 src/testdir/Make_all.mak, src/testdir/test_jumplist.vim
23723
23724Patch 8.0.1498 (after 8.0.1497)
23725Problem: Getjumplist() returns duplicate entries. (lacygoill)
23726Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
23727Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro,
23728 src/testdir/test_jumplist.vim
23729
23730Patch 8.0.1499
23731Problem: Out-of-memory situation not correctly handled. (Coverity)
23732Solution: Check for NULL value.
23733Files: src/terminal.c
23734
23735Patch 8.0.1500
23736Problem: Possible NULL pointer dereference. (Coverity)
23737Solution: Check for the pointer not being NULL.
23738Files: src/quickfix.c
23739
23740Patch 8.0.1501
23741Problem: Out-of-memory situation not correctly handled. (Coverity)
23742Solution: Check for NULL value.
23743Files: src/ops.c
23744
23745Patch 8.0.1502
23746Problem: In out-of-memory situation character is not restored. (Coverity)
23747Solution: Restore the character in all situations.
23748Files: src/ex_getln.c
23749
23750Patch 8.0.1503
23751Problem: Access memory beyond end of string. (Coverity)
23752Solution: Keep allocated memory in separate pointer. Avoid outputting the
23753 NUL character.
23754Files: src/hardcopy.c
23755
23756Patch 8.0.1504
23757Problem: Win32: the screen may be cleared on startup.
23758Solution: Only call shell_resized() when the size actually changed. (Ken
23759 Takata, closes #2527)
23760Files: src/os_win32.c
23761
23762Patch 8.0.1505
23763Problem: Debugger can't break on a condition. (Charles Campbell)
23764Solution: Add ":breakadd expr". (Christian Brabandt, closes #859)
23765Files: runtime/doc/repeat.txt, src/eval.c, src/evalfunc.c,
23766 src/userfunc.c, src/ex_cmds2.c, src/ex_docmd.c,
23767 src/proto/eval.pro, src/proto/ex_cmds2.pro, src/structs.h
23768
23769Patch 8.0.1506
23770Problem: New version of HP NonStop (Tandem) doesn't like the default header
23771 for setenv().
23772Solution: Put a #ifdef around the setenv() entry. (Joachim Schmitz)
23773Files: src/osdef2.h.in
23774
23775Patch 8.0.1507
23776Problem: Timer test is a bit flaky.
23777Solution: Add it to the list of flaky tests.
23778Files: src/testdir/runtest.vim
23779
23780Patch 8.0.1508
23781Problem: The :drop command is not always available.
23782Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639)
23783Files: runtime/doc/windows.txt, src/ex_cmds.c, src/ex_cmds2.c,
23784 src/ex_docmd.c, src/testdir/test_normal.vim,
23785 src/testdir/test_tabpage.vim
23786
23787Patch 8.0.1509 (after 8.0.1508)
23788Problem: Test for failing drag-n-drop command no longer fails.
23789Solution: Check for the "dnd" feature.
23790Files: src/testdir/test_normal.vim
23791
23792Patch 8.0.1510
23793Problem: Cannot test if a command causes a beep.
23794Solution: Add assert_beeps().
23795Files: runtime/doc/eval.txt, src/evalfunc.c, src/eval.c,
23796 src/proto/eval.pro, src/misc1.c, src/globals.h,
23797 src/testdir/test_normal.vim, src/testdir/test_assert.vim
23798
23799Patch 8.0.1511 (after 8.0.1505)
23800Problem: Some code for the debugger watch expression is clumsy.
23801Solution: Clean up the code.
23802Files: src/ex_cmds2.c, src/eval.c, src/proto/eval.pro
23803
23804Patch 8.0.1512
23805Problem: Warning for possibly using NULL pointer. (Coverity)
23806Solution: Skip using the pointer if it's NULL.
23807Files: src/ex_cmds.c
23808
23809Patch 8.0.1513
23810Problem: The jumplist is not always properly cleaned up.
23811Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan)
23812Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro
23813
23814Patch 8.0.1514
23815Problem: Getting the list of changes is not easy.
23816Solution: Add the getchangelist() function. (Yegappan Lakshmanan,
23817 closes #2634)
23818Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
23819 src/testdir/Make_all.mak, src/testdir/test_changelist.vim,
23820 src/Makefile
23821
23822Patch 8.0.1515
23823Problem: BufWinEnter event fired when opening hidden terminal.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023824Solution: Do not fire BufWinEnter when the terminal is hidden and does not
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023825 open a window. (Kenta Sato, closes #2636)
23826Files: src/terminal.c
23827
23828Patch 8.0.1516
23829Problem: Errors for job options are not very specific.
23830Solution: Add more specific error messages.
23831Files: src/channel.c, src/globals.h
23832
23833Patch 8.0.1517
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023834Problem: Invalid memory access with pattern using look-behind match.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023835 (Dominique Pelle)
23836Solution: Get a pointer to the right line.
23837Files: src/regexp.c
23838
23839Patch 8.0.1518
23840Problem: Error messages suppressed after ":silent! try". (Ben Reilly)
23841Solution: Restore emsg_silent before executing :try. (closes #2531)
23842Files: src/ex_docmd.c, src/testdir/test_eval_stuff.vim
23843
23844Patch 8.0.1519
23845Problem: Getchangelist() does not use argument as bufname().
23846Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #2641)
23847Files: src/evalfunc.c, src/testdir/test_changelist.vim
23848
23849Patch 8.0.1520
23850Problem: Cursor is in the wrong line when using a WinBar in a Terminal
23851 window.
23852Solution: Adjust the row number. (Christian Brabandt, closes #2362)
23853Files: src/screen.c, src/terminal.c
23854
23855Patch 8.0.1521
23856Problem: Shift-Tab does not work in a terminal window.
23857Solution: Recognize Shift-Tab key press. (Jsees Luehrs, closes #2644)
23858Files: src/terminal.c
23859
23860Patch 8.0.1522 (after 8.0.1491)
23861Problem: Popup menu is positioned in the wrong place. (Davit Samvelyan,
23862 Boris Staletic)
23863Solution: Correct computation of the column and the conditions for that.
23864 (Hirohito Higashi, closes #2640)
23865Files: src/popupmnu.c
23866
23867Patch 8.0.1523
23868Problem: Cannot write and read terminal screendumps.
23869Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
23870 Also add assert_equalfile().
23871Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
23872 src/normal.c, src/eval.c, src/proto/eval.pro,
23873 runtime/doc/eval.txt, src/testdir/test_assert.vim
23874
23875Patch 8.0.1524 (after 8.0.1523)
23876Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
23877Solution: Initialize variables.
23878Files: src/terminal.c
23879
23880Patch 8.0.1525
23881Problem: Using :wqa exits even if a job runs in a terminal window. (Jason
23882 Felice)
23883Solution: Check if a terminal has a running job. (closes #2654)
23884Files: src/ex_cmds2.c, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c,
23885 src/testdir/test_terminal.vim
23886
23887Patch 8.0.1526
23888Problem: No test using a screen dump yet.
23889Solution: Add a test for C syntax highlighting. Add helper functions.
23890Files: src/terminal.c, src/testdir/test_syntax.vim,
23891 src/testdir/shared.vim, src/testdir/screendump.vim,
23892 src/testdir/dumps/Test_syntax_c_01.dump, runtime/doc/terminal.txt,
23893 src/testdir/README.txt
23894
23895Patch 8.0.1527 (after 8.0.1526)
23896Problem: Screen dump test fails on MS-Windows.
23897Solution: Skip dump test on MS-Windows for now.
23898Files: src/testdir/test_syntax.vim
23899
23900Patch 8.0.1528
23901Problem: Dead code found.
23902Solution: Remove the useless lines. (CodeAi, closes #2656)
23903Files: src/screen.c, src/spell.c, src/syntax.c, src/window.c
23904
23905Patch 8.0.1529
23906Problem: Assert_equalfile() does not close file descriptors. (Coverity)
23907Solution: Close the file descriptors.
23908Files: src/eval.c
23909
23910Patch 8.0.1530
23911Problem: Dump test fails when using a shadow directory.
23912Solution: Add the directory to the list of symlinks to make (Elimar
23913 Riesebieter)
23914Files: src/Makefile
23915
23916Patch 8.0.1531
23917Problem: Cannot use 24 bit colors in MS-Windows console.
23918Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takata,
23919 fixes #1270, fixes #2060)
23920Files: runtime/doc/options.txt, src/misc1.c, src/option.c,
23921 src/evalfunc.c, src/os_win32.c, src/proto/os_win32.pro,
23922 src/feature.h, src/proto/term.pro, src/screen.c, src/syntax.c,
23923 src/term.c, src/testdir/gen_opt_test.vim, src/version.c
23924
23925Patch 8.0.1532
23926Problem: Compiler warnings without termguicolors feature.
23927Solution: Add #ifdef. (John Marriott) Cleanup the code a bit.
23928Files: src/term.c
23929
23930Patch 8.0.1533
23931Problem: Libterm doesn't support requesting fg and bg color.
23932Solution: Implement t_RF and t_RB.
23933Files: src/libvterm/src/vterm_internal.h, src/libvterm/src/state.c,
23934 src/libvterm/src/vterm.c
23935
23936Patch 8.0.1534
23937Problem: C syntax test fails when using gvim
23938Solution: Force running in a terminal. Check that 'background' is correct
23939 even when $COLORFGBG is set.
23940Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim
23941
23942Patch 8.0.1535 (after 8.0.1534)
23943Problem: C syntax test still fails when using gvim.
23944Solution: Clear Normal cterm highlighting instead of setting it.
23945Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim,
23946 src/testdir/dumps/Test_syntax_c_01.dump
23947
23948Patch 8.0.1536
23949Problem: Quotestar test is flaky when using the GUI.
23950Solution: Add check that the star register arrived at the server. Increase
23951 timeouts.
23952Files: src/testdir/test_quotestar.vim
23953
23954Patch 8.0.1537
23955Problem: Xxd does not skip NUL lines when using ebcdic.
23956Solution: Check for a NUL before converting a character for ebcdic. (Tim
23957 Sell, closes #2668)
23958Files: src/xxd/xxd.c
23959
23960Patch 8.0.1538
23961Problem: Popupmenu is too far left when completion is long. (Linwei)
23962Solution: Adjust column computations. (Hirohito Higashi, closes #2661)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023963Files: src/popupmnu.c
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023964
23965Patch 8.0.1539
23966Problem: No test for the popup menu positioning.
23967Solution: Add a screendump test for the popup menu.
23968Files: src/terminal.c, src/testdir/test_syntax.vim,
23969 src/testdir/screendump.vim,
23970 src/testdir/test_popup.vim,
23971 src/testdir/dumps/Test_popup_position_01.dump,
23972 src/testdir/dumps/Test_popup_position_02.dump,
23973 src/testdir/dumps/Test_popup_position_03.dump,
23974 runtime/doc/eval.txt
23975
23976Patch 8.0.1540
23977Problem: Popup menu positioning fails with longer string.
23978Solution: Only align with right side of window when width is less than
23979 'pumwidth' (closes #2661)
23980Files: src/popupmnu.c, src/testdir/screendump.vim,
23981 src/testdir/test_popup.vim,
23982 src/testdir/dumps/Test_popup_position_04.dump
23983
23984Patch 8.0.1541
23985Problem: synpat_T is taking too much memory.
23986Solution: Reorder members to reduce padding. (Dominique Pelle, closes #2671)
23987Files: src/syntax.c
23988
23989Patch 8.0.1542
23990Problem: Terminal screen dump does not include cursor position.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023991Solution: Mark the cursor position in the dump.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023992Files: src/terminal.c,
23993 src/testdir/dumps/Test_popup_position_01.dump,
23994 src/testdir/dumps/Test_popup_position_02.dump,
23995 src/testdir/dumps/Test_popup_position_03.dump,
23996 src/testdir/dumps/Test_popup_position_04.dump,
23997 src/testdir/dumps/Test_syntax_c_01.dump
23998
23999Patch 8.0.1543
24000Problem: With 'termguicolors' Normal color doesn't work correctly.
24001Solution: Set cterm_normal_bg_gui_color and cterm_normal_fg_color always.
24002 (Kazunobu Kuriyama, closes #981, closes #2332)
24003Files: src/syntax.c
24004
24005Patch 8.0.1544
24006Problem: When using 'termguicolors' SpellBad doesn't show.
24007Solution: When the GUI colors are not set fall back to the cterm colors.
24008Files: src/syntax.c, src/screen.c, src/gui.h, src/structs.h
24009
24010Patch 8.0.1545
24011Problem: Screen dumps not included in distribution.
24012Solution: Add dumps to the list of distributed files.
24013Files: Filelist
24014
24015Patch 8.0.1546
24016Problem: Using feedkeys() in a terminal window may trigger mappings.
24017 (Charles Sheridan)
24018Solution: Avoid triggering a mapping when peeking for a key.
24019Files: src/getchar.c, src/terminal.c
24020
24021Patch 8.0.1547
24022Problem: Undo in the options window makes it empty.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024023Solution: Set 'undolevels' while filling the buffer. (Yasuhiro Matsumoto,
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024024 closes #2645)
24025Files: runtime/optwin.vim
24026
24027Patch 8.0.1548
24028Problem: Screen dump test script not included in distribution.
24029Solution: Add the script to the list of distributed files.
24030Files: Filelist
24031
24032Patch 8.0.1549
24033Problem: Various small problems in test files.
24034Solution: Include small changes.
24035Files: src/testdir/test_channel.py, src/testdir/shared.vim,
24036 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim
24037
24038Patch 8.0.1550
24039Problem: Various small problems in source files.
24040Solution: Fix the problems.
24041Files: src/README.txt, src/beval.c, src/json_test.c, src/mbyte.c,
24042 src/libvterm/include/vterm_keycodes.h, src/Makefile,
24043 src/gui_gtk.c, src/if_xcmdsrv.c, src/pty.c, src/if_python.c,
24044 src/if_py_both.h, uninstal.txt, src/dosinst.c, src/iscygpty.c,
24045 src/vimrun.c, src/os_vms.c
24046
24047Patch 8.0.1551
24048Problem: On Mac 'maxmemtot' is set to a weird value.
24049Solution: For Mac use total memory and subtract system memory. For other
24050 systems accept both a 32 bit and 64 bit result. (Ozaki Kiichi,
24051 closes #2646)
24052Files: src/os_unix.c
24053
24054Patch 8.0.1552
24055Problem: May leak file descriptors when executing job.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024056Solution: Close more file descriptors. (Ozaki Kiichi, closes #2651)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024057Files: src/os_unix.c, src/testdir/test_channel.vim
24058
24059Patch 8.0.1553
24060Problem: Cannot see what digraph is used to insert a character.
24061Solution: Show the digraph with the "ga" command. (Christian Brabandt)
24062Files: runtime/doc/various.txt, src/digraph.c, src/ex_cmds.c,
24063 src/proto/digraph.pro, src/testdir/shared.vim,
24064 src/testdir/test_matchadd_conceal.vim,
24065 src/testdir/test_digraph.vim, src/testdir/test_ga.vim,
24066 src/testdir/test_arabic.vim
24067
24068Patch 8.0.1554
24069Problem: Custom plugins loaded with --clean.
24070Solution: Do not include the home directory in 'runtimepath'.
24071Files: src/option.c, src/main.c, src/proto/option.pro, src/structs.h,
24072 src/os_unix.h, src/os_amiga.h, src/os_dos.h, src/os_mac.h,
24073 runtime/doc/starting.txt
24074
24075Patch 8.0.1555
24076Problem: Build error for some combination of features.
24077Solution: Declare variable in more situations.
24078Files: src/main.c
24079
24080Patch 8.0.1556
24081Problem: May not parse the t_RS response correctly, resulting in wrong
24082 characters in the input stream.
24083Solution: When the t_RS response is partly received wait for more
24084 characters.
24085Files: src/term.c
24086
24087Patch 8.0.1557
24088Problem: printf() does not work with only one argument. (Daniel Hahler)
24089Solution: Allow using just the format. (Ken Takata, closes #2687)
24090Files: src/evalfunc.c, src/testdir/test_expr.vim
24091
24092Patch 8.0.1558
24093Problem: No right-click menu in a terminal.
24094Solution: Implement the right click menu for the terminal.
24095Files: src/popupmnu.c, src/proto/popupmnu.pro, src/normal.c, src/menu.c,
24096 src/proto/menu.pro, src/feature.h
24097
24098Patch 8.0.1559
24099Problem: Build failure without GUI.
24100Solution: Adjust #ifdef for get_fpos_of_mouse().
24101Files: src/ui.c
24102
24103Patch 8.0.1560
24104Problem: Build failure without GUI on MS-Windows.
24105Solution: Adjust #ifdef for vcol2col().
24106Files: src/ui.c
24107
24108Patch 8.0.1561
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024109Problem: Crash with rust syntax highlighting. (Edd Barrett)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024110Solution: Avoid going past the end of an empty line.
24111Files: src/syntax.c
24112
24113Patch 8.0.1562
24114Problem: The terminal debugger can't set a breakpoint with the mouse.
24115Solution: Add popup menu entries.
24116Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
24117 runtime/doc/terminal.txt
24118
24119Patch 8.0.1563
24120Problem: Timeout of getwinposx() can be too short. (lilydjwg)
24121Solution: Add getwinpos(). (closes #2689)
24122Files: src/evalfunc.c, src/term.c, src/proto/term.pro, runtime/doc/eval.txt
24123
24124Patch 8.0.1564
24125Problem: Too many #ifdefs.
24126Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
24127 increases code size of tiny Vim by only 40 Kbyte.
24128Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c,
24129 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
24130 src/fileio.c, src/getchar.c, src/globals.h, src/gui.c,
24131 src/if_cscope.c, src/if_xcmdsrv.c, src/main.c, src/mbyte.c,
24132 src/memline.c, src/menu.c, src/misc1.c, src/gui_mac.c,
24133 src/misc2.c, src/move.c, src/netbeans.c, src/normal.c, src/ops.c,
24134 src/option.c, src/option.h, src/feature.h, src/vim.h,
24135 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
24136 src/quickfix.c, src/screen.c, src/search.c, src/spell.c,
24137 src/structs.h, src/syntax.c, src/tag.c, src/term.c,
24138 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c,
24139 src/version.c, src/window.c
24140
24141Patch 8.0.1565
24142Problem: Can't build Mac version without GUI.
24143Solution: Adjust when IME_WITHOUT_XIM is defined.
24144Files: src/vim.h
24145
24146Patch 8.0.1566
24147Problem: Too many #ifdefs.
24148Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
24149Files: src/buffer.c, src/diff.c, src/edit.c, src/evalfunc.c,
24150 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/gui.c,
24151 src/main.c, src/move.c, src/normal.c, src/option.c, src/term.c,
24152 src/version.c, src/window.c, src/globals.h, src/macros.h,
24153 src/option.h, src/structs.h
24154
24155Patch 8.0.1567
24156Problem: Cannot build Win32 GUI without IME. (John Marriott)
24157Solution: Adjust when IME_WITHOUT_XIM and HAVE_INPUT_METHOD are defined and
24158 use it in a few more places.
24159Files: src/vim.h, src/gui.c
24160
24161Patch 8.0.1568
24162Problem: Can't build on older Mac, header file is missing.
24163Solution: Remove the header file. (Ozaki Kiichi, closes #2691)
24164Files: src/os_unix.c
24165
24166Patch 8.0.1569
24167Problem: Warning for uninitialized variable from gcc.
24168Solution: Initialize the variable.
24169Files: src/quickfix.c
24170
24171Patch 8.0.1570
24172Problem: Can't use :popup for a menu in the terminal. (Wei Zhang)
24173Solution: Make :popup work in the terminal. Also fix that entries were
24174 included that don't work in the current state.
24175Files: src/ex_docmd.c, src/popupmnu.c, src/proto/popupmnu.pro,
24176 src/menu.c, src/proto/menu.pro
24177
24178Patch 8.0.1571 (after 8.0.1571)
24179Problem: Can't build without GUI.
24180Solution: Adjust #ifdef for gui_find_menu().
24181Files: src/menu.c
24182
24183Patch 8.0.1572
24184Problem: Mac: getting memory size doesn't work everywhere.
24185Solution: Use MACOS_X instead of MACOS_X_DARWIN. (Kazunobu Kuriyama)
24186Files: src/os_unix.c
24187
24188Patch 8.0.1573
24189Problem: getwinpos(1) may cause response to be handled as command.
24190Solution: Handle any cursor position report once one was request. (partly by
24191 Hirohito Higashi)
24192Files: src/term.c
24193
24194Patch 8.0.1574
24195Problem: Show cursor in wrong place when using popup menu. (Wei Zhang)
24196Solution: Force updating the cursor position. Fix skipping over unused
24197 entries.
24198Files: src/screen.c, src/proto/screen.pro, src/popupmnu.c
24199
24200Patch 8.0.1575
24201Problem: Crash when using virtual replace.
24202Solution: Adjust orig_line_count. Add more tests. (Christian Brabandt)
24203Files: src/edit.c, src/testdir/test_visual.vim
24204
24205Patch 8.0.1576
24206Problem: Perl VIM::Buffers() does not find every buffer.
24207Solution: Also find unlisted buffer by number or name. (Chris Weyl,
24208 closes #2692)
24209Files: src/if_perl.xs
24210
24211Patch 8.0.1577
24212Problem: Virtual replace test fails on MS-Windows.
24213Solution: Make adding a termcap entry work for a builtin terminal.
24214 Restore terminal keys in a better way.
24215Files: src/term.c, src/testdir/test_visual.vim
24216
24217Patch 8.0.1578
24218Problem: No test for :popup in terminal.
24219Solution: Add a screen dump test.
24220Files: src/testdir/test_popup.vim,
24221 src/testdir/dumps/Test_popup_command_01.dump,
24222 src/testdir/dumps/Test_popup_command_02.dump,
24223 src/testdir/dumps/Test_popup_command_03.dump
24224
24225Patch 8.0.1579
24226Problem: Virtual replace test fails in GUI.
24227Solution: Don't save key options if they were not set.
24228Files: src/testdir/test_visual.vim
24229
24230Patch 8.0.1580
24231Problem: FEAT_CURSORBIND and FEAT_SCROLLBIND are unused.
24232Solution: Delete them.
24233Files: src/feature.h
24234
24235Patch 8.0.1581
24236Problem: Cannot build Win32 GUI without +eval.
24237Solution: Define HAVE_INPUT_METHOD without +eval. (Ken Takata)
24238Files: src/vim.h
24239
24240Patch 8.0.1582
24241Problem: In the MS-Windows console mouse movement is not used.
24242Solution: Pass mouse movement events when useful.
24243Files: src/os_win32.c, src/proto/os_win32.pro, src/feature.h
24244
24245Patch 8.0.1583
24246Problem: Using C99 comment.
24247Solution: Use old style comment. (Kazunobu Kuriyama)
24248Files: src/quickfix.c
24249
24250Patch 8.0.1584
24251Problem: Using C99 in Mac file gives compiler warning messages.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024252Solution: Add #pragmas to avoid the warnings. (Kazunobu Kuriyama)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024253Files: src/os_macosx.m
24254
24255Patch 8.0.1585
24256Problem: Enabling beval_term feature in Win32 GUI.
24257Solution: Only enable beval_term in Win32 console.
24258Files: src/feature.h
24259
24260Patch 8.0.1586
24261Problem: Imactivatefunc does not work on non-GUI Mac.
24262Solution: Fix logic in #ifdef.
24263Files: src/vim.h
24264
24265Patch 8.0.1587
24266Problem: inserting from the clipboard doesn't work literally
24267Solution: When pasting from the * or + register always assume literally.
24268Files: src/ops.c, src/proto/ops.pro, src/testdir/test_paste.vim
24269
24270Patch 8.0.1588
24271Problem: Popup menu hangs after typing CTRL-C.
24272Solution: Make CTRL-C exit the loop. (Ozaki Kiichi, closes #2697)
24273Files: src/popupmnu.c
24274
24275Patch 8.0.1589
24276Problem: Error for setting 'modifiable' when resetting it.
24277Solution: Check if 'modifiable' was actually set.
24278Files: src/option.c
24279
24280Patch 8.0.1590
24281Problem: Padding in list type wastes memory.
24282Solution: Reorder struct members to optimize padding. (Dominique Pelle,
24283 closes #2704)
24284Files: src/structs.h
24285
24286Patch 8.0.1591
24287Problem: MS-Windows: when reparsing the arguments 'wildignore' matters.
24288Solution: Save and reset 'wildignore'. (Yasuhiro Matsumoto, closes #2702)
24289Files: src/os_win32.c
24290
24291Patch 8.0.1592
24292Problem: Terminal windows in a session are not properly restored.
24293Solution: Add "terminal" in 'sessionoptions'. When possible restore the
24294 command running in a terminal.
24295Files: src/option.c, src/option.h, src/ex_docmd.c, src/terminal.c,
24296 src/proto/terminal.pro, src/evalfunc.c, src/structs.h,
24297 src/channel.c, src/testdir/test_terminal.vim,
24298 src/testdir/shared.vim, src/testdir/test_mksession.vim
24299
24300Patch 8.0.1593
24301Problem: :qall never exits with an active terminal window.
24302Solution: Add a way to kill a job in a terminal window.
24303Files: src/ex_cmds2.c, src/terminal.c, src/proto/terminal.pro,
24304 src/structs.h, src/channel.c, src/evalfunc.c,
24305 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
24306 runtime/doc/eval.txt
24307
24308Patch 8.0.1594
24309Problem: :confirm qall not tested with active terminal window.
24310Solution: Add a test.
24311Files: src/testdir/test_terminal.vim
24312
24313Patch 8.0.1595
24314Problem: No autocommand triggered before exiting.
24315Solution: Add the ExitPre autocommand event.
24316Files: src/ex_docmd.c, src/fileio.c, src/vim.h,
24317 src/testdir/test_exit.vim, src/Makefile, src/testdir/Make_all.mak,
24318 runtime/doc/autocmd.txt
24319
24320Patch 8.0.1596
24321Problem: No autocommand specifically for opening a terminal window.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024322Solution: Add TerminalOpen. (Yasuhiro Matsumoto, closes #2484)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024323Files: runtime/doc/autocmd.txt, src/fileio.c, src/terminal.c,
24324 src/testdir/test_terminal.vim, src/vim.h
24325
24326Patch 8.0.1597
24327Problem: Autocommand events are not sorted.
24328Solution: Sort the autocommand events.
24329Files: src/vim.h
24330
24331Patch 8.0.1598
24332Problem: Cannot select text in a terminal with the mouse.
24333Solution: When a job in a terminal is not consuming mouse events, use them
24334 for modeless selection. Also stop Insert mode when clicking in a
24335 terminal window.
24336Files: src/libvterm/include/vterm.h, src/libvterm/src/state.c,
24337 src/libvterm/src/vterm_internal.h, src/terminal.c,
24338 src/proto/terminal.pro, src/ui.c
24339
24340Patch 8.0.1599
24341Problem: No error message when gdb does not support the terminal debugger.
24342Solution: Check for the response to open the Machine Interface.
24343Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
24344
24345Patch 8.0.1600
24346Problem: Crash when setting t_Co to zero when 'termguicolors' is set.
24347Solution: Use IS_CTERM instead of checking the number of colors.
24348 (closes #2710)
24349Files: src/screen.c, src/testdir/test_highlight.vim
24350
24351Patch 8.0.1601
24352Problem: Highlight test fails on Win32.
24353Solution: Check for vtp and vcon support.
24354Files: src/evalfunc.c, src/testdir/test_highlight.vim
24355
24356Patch 8.0.1602
24357Problem: Crash in parsing JSON.
24358Solution: Fail when using array or dict as dict key. (Damien)
24359Files: src/json.c, src/testdir/test_json.vim
24360
24361Patch 8.0.1603
24362Problem: Cannot build with +terminal but without +menu.
24363Solution: Add #ifdef. (Damien)
24364Files: src/terminal.c
24365
24366Patch 8.0.1604
24367Problem: Paste test may fail if $DISPLAY is not set.
24368Solution: Add WorkingClipboard() and use it in the paste test.
24369Files: src/testdir/shared.vim, src/testdir/test_paste.vim
24370
24371Patch 8.0.1605
24372Problem: Terminal test is a bit flaky.
24373Solution: Check for the shell prompt. Use more lambda functions.
24374Files: src/testdir/test_terminal.vim
24375
24376Patch 8.0.1606
24377Problem: Singular/plural variants not translated.
24378Solution: Add NGETTEXT argument to xgettext. (Sergey Alyoshin)
24379Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
24380 src/po/Makefile
24381
24382Patch 8.0.1607
24383Problem: --clean loads user settings from .gvimrc.
24384Solution: Behave like "-U NONE" was used. (Ken Takata)
24385Files: src/main.c, runtime/doc/starting.txt
24386
24387Patch 8.0.1608
24388Problem: Win32: directx not enabled by default.
24389Solution: Change Makefile to enable directx by default. (Ken Takata)
24390Files: runtime/doc/various.txt, src/Make_cyg_ming.mak,
24391 src/Make_mvc.mak
24392
24393Patch 8.0.1609
24394Problem: Shell commands in the GUI use a dumb terminal.
24395Solution: Add the "!" flag to 'guioptions' to execute system commands in a
24396 special terminal window. Only for Unix now.
24397Files: src/os_unix.c, src/option.h, src/evalfunc.c, src/terminal.c,
24398 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro,
24399 src/vim.h, runtime/doc/options.txt
24400
24401Patch 8.0.1610 (after 8.0.1609)
24402Problem: Cannot build without GUI.
24403Solution: Add #ifdef.
24404Files: src/terminal.c
24405
24406Patch 8.0.1611
24407Problem: CTRL-W in system terminal does not go to job.
24408Solution: Do not use CTRL-W as a terminal command in a system terminal.
24409Files: src/terminal.c
24410
24411Patch 8.0.1612
24412Problem: Need to close terminal after shell stopped.
24413Solution: Make :terminal without argument close the window by default.
24414Files: src/terminal.c, src/testdir/test_terminal.vim,
24415 runtime/doc/terminal.txt
24416
24417Patch 8.0.1613
24418Problem: Warning for unused variable in tiny build. (Tony Mechelynck)
24419Solution: Move declaration to inner block.
24420Files: src/os_unix.c
24421
24422Patch 8.0.1614
24423Problem: "make tags" doesn't include libvterm.
24424Solution: Add the libvterm sources to the tags command.
24425Files: src/Makefile
24426
24427Patch 8.0.1615
24428Problem: term_dumpload() does not use the right colors.
24429Solution: Initialize colors when not using create_vterm().
24430Files: src/terminal.c
24431
24432Patch 8.0.1616
24433Problem: Win32: shell commands in the GUI open a new console.
24434Solution: Use a terminal window for interactive use when 'guioptions'
24435 contains "!".
24436Files: src/os_win32.c
24437
24438Patch 8.0.1617 (after 8.0.1616)
24439Problem: Win32: :shell command in the GUI crashes.
24440Solution: Handle the situation that "cmd" is NULL. (Yasuhiro Matsumoto,
24441 closes #2721)
24442Files: src/os_win32.c
24443
24444Patch 8.0.1618
24445Problem: Color Grey50, used for ToolbarLine, is missing in the compiled-in
24446 table.
24447Solution: Add the color to the list. (Kazunobu Kuriyama)
24448Files: src/term.c
24449
24450Patch 8.0.1619
24451Problem: Win32 GUI: crash when winpty is not installed and trying to use
24452 :shell in a terminal window.
24453Solution: Check for NULL return form term_start(). (Yasuhiro Matsumoto,
24454 closes #2727)
24455Files: src/os_win32.c
24456
24457Patch 8.0.1620
24458Problem: Reading spell file has no good EOF detection.
24459Solution: Check for EOF at every character read for a length field.
24460Files: src/misc2.c
24461
24462Patch 8.0.1621
24463Problem: Using invalid default value for highlight attribute.
24464Solution: Use zero instead of -1.
24465Files: src/syntax.c
24466
24467Patch 8.0.1622
24468Problem: Possible NULL pointer dereferencey. (Coverity)
24469Solution: Reverse the check for a NULL pointer.
24470Files: src/quickfix.c
24471
24472Patch 8.0.1623
24473Problem: Terminal kill tests are flaky.
24474Solution: Instead of running Vim in a terminal, run it as a normal command.
24475Files: src/testdir/test_terminal.vim
24476
24477Patch 8.0.1624
24478Problem: Options for term_dumpdiff() and term_dumpload() not implemented
24479 yet.
24480Solution: Implement the relevant options.
24481Files: src/terminal.c, runtime/doc/eval.txt
24482
24483Patch 8.0.1625
24484Problem: Test_quotestar is flaky when run in GTK GUI.
24485Solution: Do not call lose_selection when invoked from
24486 selection_clear_event().
24487Files: src/gui_gtk_x11.c
24488
24489Patch 8.0.1626
24490Problem: Compiler warning for possible loss of data.
24491Solution: Use size_t instead of int. (Christian Brabandt)
24492Files: src/terminal.c
24493
24494Patch 8.0.1627
24495Problem: Compiler warning for visibility attribute not supported on MinGW
24496 builds.
24497Solution: Don't add the attribute when we don't expect it to work.
24498 (Christian Brabandt)
24499Files: src/libvterm/src/vterm_internal.h
24500
24501Patch 8.0.1628
24502Problem: Channel log doesn't mention exiting.
24503Solution: Add a ch_log() call in getout().
24504Files: src/main.c
24505
24506Patch 8.0.1629
24507Problem: Mac: getpagesize() is deprecated.
24508Solution: Use sysconf() instead. (Ozaki Kiichi, closes #2741)
24509Files: src/os_unix.c
24510
24511Patch 8.0.1630
24512Problem: Trimming white space is not that easy.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024513Solution: Add the trim() function. (Bukn, Yasuhiro Matsumoto, closes #1280)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024514Files: src/evalfunc.c, runtime/doc/eval.txt,
24515 src/testdir/test_functions.vim
24516
24517Patch 8.0.1631
24518Problem: Testing with Vim running in terminal is a bit flaky.
24519Solution: Delete any .swp file so that later tests don't fail.
24520Files: src/testdir/screendump.vim
24521
24522Patch 8.0.1632
24523Problem: In a terminal dump NUL and space considered are different,
24524 although they are displayed the same.
24525Solution: When encountering NUL handle it like space.
24526Files: src/terminal.c
24527
24528Patch 8.0.1633
24529Problem: A TextChanged autocmd triggers when it is defined after creating a
24530 buffer.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024531Solution: Set b_last_changedtick when opening a buffer. (Hirohito Higashi,
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024532 closes #2742)
24533Files: src/buffer.c, src/testdir/test_autocmd.vim
24534
24535Patch 8.0.1634
24536Problem: The ex_vimgrep() function is too long.
24537Solution: Split it in smaller functions. (Yegappan Lakshmanan)
24538Files: src/quickfix.c
24539
24540Patch 8.0.1635
24541Problem: Undefining _POSIX_THREADS causes problems with Python 3. (Micah
24542 Bucy, closes #2748)
24543Solution: Remove the lines.
24544Files: src/if_python3.c
24545
24546Patch 8.0.1636
24547Problem: No test for term_dumpload() and term_dumpdiff().
24548Solution: Add tests.
24549Files: src/testdir/test_terminal.vim
24550
24551Patch 8.0.1637
24552Problem: No test for term_dumpdiff() options argument.
24553Solution: Add a test.
24554Files: src/testdir/test_terminal.vim
24555
24556Patch 8.0.1638
24557Problem: Popup test fails depending on environment variable.
24558Solution: Reset $COLORFGBG when running Vim in a terminal. (closes #2693)
24559Files: src/testdir/screendump.vim
24560
24561Patch 8.0.1639
24562Problem: Libvterm code lags behind master.
24563Solution: Sync to head, solve merge problems.
24564Files: src/libvterm/README, src/libvterm/bin/unterm.c,
24565 src/libvterm/bin/vterm-ctrl.c, src/libvterm/bin/vterm-dump.c,
24566 src/libvterm/doc/URLs, src/libvterm/doc/seqs.txt,
24567 src/libvterm/include/vterm.h,
24568 src/libvterm/include/vterm_keycodes.h, src/libvterm/src/mouse.c,
24569 src/libvterm/src/parser.c, src/libvterm/src/pen.c,
24570 src/libvterm/src/screen.c, src/libvterm/src/state.c,
24571 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
24572 src/libvterm/t/10state_putglyph.test,
24573 src/libvterm/t/25state_input.test, src/libvterm/t/harness.c,
24574 src/libvterm/t/26state_query.test
24575
24576Patch 8.0.1640
24577Problem: Test_cwd() is flaky.
24578Solution: Add to list of flaky tests.
24579Files: src/testdir/runtest.vim
24580
24581Patch 8.0.1641
24582Problem: Job in terminal can't communicate with Vim.
24583Solution: Add the terminal API.
24584Files: src/terminal.c, src/buffer.c, src/testdir/test_terminal.vim,
24585 src/testdir/screendump.vim, runtime/doc/terminal.txt
24586
24587Patch 8.0.1642
24588Problem: Running Vim in terminal fails with two windows.
24589Solution: Pass the number of rows to RunVimInTerminal().
24590Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim
24591
24592Patch 8.0.1643
24593Problem: Terminal API tests fail.
24594Solution: Explicitly set 'title'.
24595Files: src/testdir/test_terminal.vim
24596
24597Patch 8.0.1644
24598Problem: Terminal API tests still fail.
24599Solution: Explicitly set 'title' in the terminal job. (Ozaki Kiichi,
24600 closes #2750)
24601Files: src/testdir/test_terminal.vim, src/testdir/screendump.vim
24602
24603Patch 8.0.1645
24604Problem: Test for terminal response to escape sequence fails for some
24605 people. (toothpik)
24606Solution: Run "cat" and let it echo the characters.
24607Files: src/testdir/test_terminal.vim
24608
24609Patch 8.0.1646
24610Problem: MS-Windows: executable contains unreferenced functions and data.
24611Solution: Add /opt:ref to the compiler command. (Ken Takata)
24612Files: src/Make_mvc.mak
24613
24614Patch 8.0.1647
24615Problem: Terminal API may call a function not meant to be called by this
24616 API.
24617Solution: Require the function to start with Tapi_.
24618Files: runtime/doc/terminal.txt, src/terminal.c,
24619 src/testdir/test_terminal.vim
24620
24621Patch 8.0.1648
24622Problem: Resource fork tool doesn't work on Python 3.
24623Solution: Use "print()" instead of "print". (Marius Gedminas)
24624Files: src/dehqx.py
24625
24626Patch 8.0.1649
24627Problem: No completion for argument list commands.
24628Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706)
24629Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_cmds2.c,
24630 src/ex_docmd.c, src/ex_getln.c, src/proto/ex_cmds2.pro,
24631 src/testdir/test_cmdline.vim, src/vim.h
24632
24633Patch 8.0.1650
24634Problem: Too many #ifdefs.
24635Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
24636Files: runtime/doc/various.txt, src/buffer.c, src/charset.c,
24637 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
24638 src/version.c, src/feature.h
24639
24640Patch 8.0.1651
24641Problem: Cannot filter :ls output for terminal buffers.
24642Solution: Add flags for terminal buffers. (Marcin Szamotulski, closes #2751)
24643Files: runtime/doc/windows.txt, src/buffer.c,
24644 src/testdir/test_terminal.vim
24645
24646Patch 8.0.1652
24647Problem: term_dumpwrite() does not output composing characters.
24648Solution: Use the cell index.
24649Files: src/terminal.c, src/testdir/test_terminal.vim
24650
24651Patch 8.0.1653
24652Problem: Screen dump is made too soon.
24653Solution: Wait until the ruler is displayed. (Ozaki Kiichi, closes #2755)
24654Files: src/testdir/dumps/Test_popup_command_01.dump,
24655 src/testdir/dumps/Test_popup_command_02.dump,
24656 src/testdir/screendump.vim, src/testdir/test_autocmd.vim,
24657 src/testdir/test_terminal.vim
24658
24659Patch 8.0.1654
24660Problem: Warnings for conversion of void to function pointer.
24661Solution: Use a temp variable that is a function pointer.
24662Files: src/if_python.c, src/if_python3.c
24663
24664Patch 8.0.1655
24665Problem: Outdated gdb message in terminal debugger unclear.
24666Solution: Specifically mention the required gdb version. Avoid getting
24667 stuck on pagination.
24668Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
24669
24670Patch 8.0.1656
24671Problem: No option to have xxd produce upper case variable names.
24672Solution: Add the -C argument. (Matt Panaro closes #2772)
24673Files: src/xxd/xxd.c
24674
24675Patch 8.0.1657
24676Problem: Crash when reading a channel.
24677Solution: Clear the write flag before writing. (idea by Shinya Ohyanagi,
24678 closes #2769).
24679Files: src/channel.c
24680
24681Patch 8.0.1658
24682Problem: Capitalize argument not available in long form.
24683Solution: Recognize -capitalize. Update man page.
24684Files: src/xxd/xxd.c, runtime/doc/xxd.1, runtime/doc/xxd.man
24685
24686Patch 8.0.1659
24687Problem: Scroll events not recognized for some xterm emulators.
24688Solution: Recognize mouse codes 0x40 and 0x41 as scroll events.
24689Files: src/term.c
24690
24691Patch 8.0.1660
24692Problem: The terminal API "drop" command doesn't support options.
24693Solution: Implement the options.
24694Files: src/terminal.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
24695 src/ex_cmds.h, src/eval.c, src/misc2.c, src/fileio.c,
24696 src/testdir/test_terminal.vim, runtime/doc/terminal.txt
24697
24698Patch 8.0.1661
24699Problem: Warnings from 64 bit compiler.
24700Solution: Add type casts. (Mike Williams)
24701Files: src/terminal.c
24702
24703Patch 8.0.1662
24704Problem: Showing dump diff doesn't mention both file names.
24705Solution: Add the file name in the separator line.
24706Files: src/terminal.c
24707
24708Patch 8.0.1663 (after 8.0.1660)
24709Problem: Cannot build without multi-byte feature.
24710Solution: Add #ifdef.
24711Files: src/ex_docmd.c
24712
24713Patch 8.0.1664
24714Problem: Test failure because of not allocating enough space.
24715Solution: Allocate more bytes.
24716Files: src/terminal.c
24717
24718Patch 8.0.1665
24719Problem: When running a terminal from the GUI 'term' is not useful.
24720Solution: Use $TERM in the GUI if it starts with "xterm". (closes #2776)
24721Files: src/os_unix.c, runtime/doc/terminal.txt
24722
24723Patch 8.0.1666
24724Problem: % argument in ch_log() causes trouble.
24725Solution: Use string as third argument in internal ch_log(). (Dominique
24726 Pelle, closes #2784)
24727Files: src/evalfunc.c, src/testdir/test_channel.vim
24728
24729Patch 8.0.1667
24730Problem: Terminal window tests are flaky.
24731Solution: Increase the waiting time for Vim to start.
24732Files: src/testdir/screendump.vim
24733
24734Patch 8.0.1668
24735Problem: Terminal debugger: can't re-open source code window.
24736Solution: Add the :Source command. Also create the window if needed when
24737 gdb stops at a source line.
24738Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
24739 runtime/doc/terminal.txt
24740
24741Patch 8.0.1669
24742Problem: :vimgrep may add entries to the wrong quickfix list.
24743Solution: Use the list identifier. (Yegappan Lakshmanan)
24744Files: src/quickfix.c, src/testdir/test_quickfix.vim
24745
24746Patch 8.0.1670
24747Problem: Terminal window tests are still a bit flaky.
24748Solution: Increase the waiting time for the buffer to be created.
24749Files: src/testdir/test_terminal.vim
24750
24751Patch 8.0.1671
24752Problem: Crash when passing non-dict argument as env to job_start().
24753Solution: Check for valid argument. (Ozaki Kiichi, closes #2765)
24754Files: src/channel.c, src/testdir/test_channel.vim
24755
24756Patch 8.0.1672
24757Problem: Error during completion causes command to be cancelled.
24758Solution: Reset did_emsg before waiting for another character. (Tom M.)
24759Files: src/ex_getln.c, src/testdir/test_cmdline.vim
24760
24761Patch 8.0.1673
24762Problem: Terminal window tests are still a bit flaky.
24763Solution: Increase the waiting time even more. (Elimar Riesebieter)
24764Files: src/testdir/test_terminal.vim
24765
24766Patch 8.0.1674
24767Problem: Libvterm can't handle a long OSC string that is split.
24768Solution: When an incomplete OSC string is received copy it to the parser
24769 buffer. Increase the size of the parser buffer to be able to
24770 handle longer strings.
24771Files: src/libvterm/src/parser.c, src/libvterm/src/vterm.c
24772
24773Patch 8.0.1675
24774Problem: Unused macro argument in libvterm. (Randall W. Morris)
24775Solution: Remove the argument.
24776Files: src/libvterm/src/parser.c
24777
24778Patch 8.0.1676
24779Problem: No compiler warning for wrong printf format.
24780Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique
24781 Pelle, closes #2789)
24782Files: src/channel.c, src/vim.h, src/proto/channel.pro
24783
24784Patch 8.0.1677
24785Problem: No compiler warning for wrong format in vim_snprintf().
24786Solution: Add printf attribute for gcc. Fix reported problems.
24787Files: src/vim.h, src/proto.h, src/eval.c, src/fileio.c, src/mbyte.c,
24788 src/ops.c, src/spellfile.c, src/undo.c, src/json.c
24789
24790Patch 8.0.1678
24791Problem: Errorformat "%r" implies "%>". (Jan Gosmann)
24792Solution: Jump to before setting fmt_ptr. (Yegappan Lakshmanan,
24793 closes #2785)
24794Files: src/quickfix.c, src/testdir/test_quickfix.vim
24795
24796Patch 8.0.1679
24797Problem: Compiler warning for printf format. (Chdiza)
24798Solution: Change type to "long long". (closes #2791)
24799Files: src/ops.c
24800
24801Patch 8.0.1680
24802Problem: Memory allocated by libvterm does not show up in profile.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024803Solution: Pass allocator functions to vterm_new().
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024804Files: src/terminal.c
24805
24806Patch 8.0.1681
24807Problem: The format attribute fails with MinGW. (John Marriott)
24808Solution: Don't use the format attribute with MinGW.
24809Files: src/vim.h, src/proto.h, src/channel.c
24810
24811Patch 8.0.1682
24812Problem: Auto indenting breaks inserting a block.
24813Solution: Do not check for cursor movement if indent was changed. (Christian
24814 Brabandt, closes #2778)
24815Files: src/testdir/test_blockedit.vim, src/testdir/Make_all.mak,
24816 src/Makefile, src/ops.c
24817
24818Patch 8.0.1683
24819Problem: Python upgrade breaks Vim when defining PYTHON_HOME.
24820Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure. (Naoki
24821 Inada, closes #2787)
24822Files: src/configure.ac, src/auto/configure
24823
24824Patch 8.0.1684
24825Problem: ml_get errors when using terminal window for shell command.
24826 (Blay263)
24827Solution: Do not change the size of the current window.
24828Files: src/terminal.c
24829
24830Patch 8.0.1685
24831Problem: Can't set ANSI colors of a terminal window.
24832Solution: Add term_setansicolors(), term_getansicolors() and
24833 g:term_ansi_colors. (Andy Massimino, closes #2747)
24834Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c,
24835 src/evalfunc.c, src/proto/terminal.pro, src/structs.h,
24836 src/terminal.c, src/testdir/test_terminal.vim
24837
24838Patch 8.0.1686 (after 8.0.1683)
24839Problem: Python does not work when configuring with specific dir. (Rajdeep)
24840Solution: Do define PYTHON_HOME and PYTHON3_HOME in configure if the Python
24841 config dir was specified.
24842Files: src/configure.ac, src/auto/configure
24843
24844Patch 8.0.1687
24845Problem: 64 bit compiler warnings.
24846Solution: change type, add type cast. (Mike Williams)
24847Files: src/terminal.c
24848
24849Patch 8.0.1688
24850Problem: Some macros are used without a semicolon, causing auto-indent to be
24851 wrong.
24852Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729)
24853Files: src/buffer.c, src/dosinst.c, src/ex_cmds.c, src/gui_at_sb.c,
24854 src/macros.h, src/main.c, src/memline.c, src/option.c,
24855 src/os_vms.c, src/screen.c, src/window.c
24856
24857Patch 8.0.1689
24858Problem: No tests for xxd.
24859Solution: Add a test. (Christian Brabandt)
24860Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile,
24861 src/testdir/test_xxd.vim, src/testdir/runtest.vim
24862
24863Patch 8.0.1690
24864Problem: Not easy to run one test with gvim instead of vim.
24865Solution: Add VIMTESTTARGET in Makefile.
24866Files: src/Makefile
24867
24868Patch 8.0.1691
24869Problem: Xxd test sometimes fails.
24870Solution: Wipe out the XXDfile buffer.
24871Files: src/testdir/test_xxd.vim
24872
24873Patch 8.0.1692 (after 8.0.1686)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024874Problem: Python may not work when using statically linked library.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024875Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure if the
24876 Python library is linked statically.
24877Files: src/configure.ac, src/auto/configure
24878
24879Patch 8.0.1693
24880Problem: Xxd is excluded from coverage statistics.
24881Solution: Don't skip the xxd directory. (Christian Brabandt)
24882Files: .travis.yml
24883
24884Patch 8.0.1694
24885Problem: Terminal API test is a bit flaky.
24886Solution: Wait longer for Vim to stop.
24887Files: src/testdir/screendump.vim
24888
24889Patch 8.0.1695
24890Problem: Xxd test not run on MS-Windows.
24891Solution: Use xxd.exe if it exists.
24892Files: src/testdir/test_xxd.vim
24893
24894Patch 8.0.1696
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024895Problem: Coverage statistics don't work.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024896Solution: Include the xxd directory. (Christian Brabandt)
24897Files: .travis.yml
24898
24899Patch 8.0.1697
24900Problem: Various tests are still a bit flaky.
24901Solution: Increase the default wait time to five seconds.
24902Files: src/testdir/shared.vim, src/testdir/screendump.vim,
24903 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
24904 src/testdir/test_quotestar.vim, src/testdir/test_terminal.vim
24905
24906Patch 8.0.1698
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024907Problem: Coverage statistics don't work on coveralls.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024908Solution: Use curly braces for $SRCDIR.
24909Files: .travis.yml
24910
24911Patch 8.0.1699
24912Problem: Leftover stuff for Python 1.4.
24913Solution: Remove outdated Python 1.4 stuff. (Naoki Inada, closes #2794)
24914Files: src/Makefile, src/config.aap.in, src/config.mk.in,
24915 src/configure.ac, src/auto/configure
24916
24917Patch 8.0.1700
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024918Problem: Coverage statistics still don't work on coveralls.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024919Solution: Exclude the xxd directory again.
24920Files: .travis.yml
24921
24922Patch 8.0.1701
24923Problem: Can disable COLOR_EMOJI with MSVC but not MinGW.
24924Solution: Add COLOR_EMOJI flag. Also add some empty lines for readability.
24925Files: src/Make_cyg_ming.mak
24926
24927Patch 8.0.1702
24928Problem: Leaking memory when autocommands make a quickfix list invalid.
24929Solution: Call FreeWild(). (Yegappan Lakshmanan)
24930Files: src/quickfix.c
24931
24932Patch 8.0.1703
24933Problem: In the tutor 'showcmd' is not set.
24934Solution: Set 'showcmd' in the vimtutor script. (Ken Takata, closes #2792)
24935Files: src/vimtutor
24936
24937Patch 8.0.1704
24938Problem: 'backupskip' default doesn't work for Mac.
24939Solution: Use "/private/tmp". (Rainer Müller, closes #2793)
24940Files: src/option.c, src/testdir/test_options.vim,
24941 runtime/doc/options.txt
24942
24943Patch 8.0.1705
24944Problem: When making a vertical split the mode message isn't always
24945 updated, "VISUAL" remains. (Alexei Averchenko)
24946Solution: Only reset clear_cmdline when filling all columns of the last
24947 screen line. (Tom M. closes #2611)
24948Files: src/screen.c, src/testdir/test_window_cmd.vim
24949
24950Patch 8.0.1706
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024951Problem: Cannot send CTRL-\ to a terminal window.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024952Solution: Make CTRL-W CTRL-\ send CTRL-\ to a terminal window.
24953Files: src/terminal.c, runtime/doc/terminal.txt
24954
24955Patch 8.0.1707
24956Problem: When 'wfh' is set ":bel 10new" scrolls window. (Andrew Pyatkov)
24957Solution: Set the fraction before changing the window height. (closes #2798)
24958Files: src/window.c
24959
24960Patch 8.0.1708
24961Problem: Mkdir with 'p' flag fails on existing directory, which is
24962 different from the mkdir shell command.
24963Solution: Don't fail if the directory already exists. (James McCoy,
24964 closes #2775)
24965Files: src/evalfunc.c, src/testdir/test_eval_stuff.vim,
24966 runtime/doc/eval.txt
24967
24968Patch 8.0.1709
24969Problem: Some non-C89 code may slip through.
24970Solution: Enforce C89 in configure. Fix detected problems. (James McCoy,
24971 closes #2735)
24972Files: src/channel.c, src/configure.ac, src/auto/configure,
24973 src/gui_gtk_x11.c, src/if_python3.c
24974
24975Patch 8.0.1710
24976Problem: Building with Ruby fails.
24977Solution: Don't add -ansi when building with Ruby.
24978Files: src/configure.ac, src/auto/configure
24979
24980Patch 8.0.1711
24981Problem: Term_setsize() is not implemented yet.
24982Solution: Implement it.
24983Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro,
24984 src/testdir/test_terminal.vim, runtime/doc/eval.txt
24985
24986Patch 8.0.1712
24987Problem: Terminal scrollback is not limited.
24988Solution: Add the 'terminalscroll' option.
24989Files: src/terminal.c, src/option.h, src/option.c,
24990 runtime/doc/options.txt, runtime/doc/terminal.txt
24991
24992Patch 8.0.1713
24993Problem: Terminal debugger doesn't handle arguments.
24994Solution: Use <f-args> and pass all the arguments to gdb, e.g. the core file
24995 or process number. (suggested by Christian Brabandt) Disallow
24996 starting the debugger twice.
24997Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
24998 runtime/doc/terminal.txt
24999
25000Patch 8.0.1714
25001Problem: Term_setsize() does not give an error in a normal buffer.
25002Solution: Add an error message.
25003Files: src/terminal.c, src/testdir/test_terminal.vim
25004
25005Patch 8.0.1715
25006Problem: Terminal buffer can be 1 more than 'terminalscroll' lines.
25007Solution: Change > to >=.
25008Files: src/terminal.c
25009
25010Patch 8.0.1716
25011Problem: Test for term_setsize() does not give a good error message.
25012Solution: use assert_inrange().
25013Files: src/testdir/test_terminal.vim
25014
25015Patch 8.0.1717
25016Problem: C89 check causes too much trouble.
25017Solution: Remove enforcing C89 for now.
25018Files: src/configure.ac, src/auto/configure
25019
25020Patch 8.0.1718
25021Problem: Terminal scrollback test fails on MS-Windows.
25022Solution: Check for the last line of output anticipating there might be an
25023 empty line below it.
25024Files: src/testdir/test_terminal.vim
25025
25026Patch 8.0.1719
25027Problem: Cannot specify which Python executable configure should use.
25028Solution: Add --with-python-command and --with-python3-command.
25029Files: src/configure.ac, src/auto/configure
25030
25031Patch 8.0.1720
25032Problem: When a timer is running a terminal window may not close after a
25033 shell has exited.
25034Solution: Call job_status() more often.
25035Files: src/terminal.c
25036
25037Patch 8.0.1721
25038Problem: No test for using the 'termsize' option.
25039Solution: Add a test.
25040Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim
25041
25042Patch 8.0.1722
25043Problem: Cannot specify a minimal size for a terminal window.
25044Solution: Support the "rows*cols" format for 'winsize'.
25045Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c,
25046 runtime/doc/options.txt
25047
25048Patch 8.0.1723
25049Problem: Using one item array size declaration is misleading.
25050Solution: Instead of using "[1]" and actually using a larger array, use
25051 "[]". This is to verify that this C99 feature works for all
25052 compilers.
25053Files: src/structs.h, src/getchar.c
25054
25055Patch 8.0.1724
25056Problem: Declarations cannot be halfway a block.
25057Solution: Move one declaration to check if this works for all compilers.
25058Files: src/main.c
25059
25060Patch 8.0.1725
25061Problem: Terminal debugger doesn't handle command arguments.
25062Solution: Add the :TermdebugCommand command. Use a ! to execute right away.
25063 (Christian Brabandt)
25064Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
25065 runtime/doc/terminal.txt
25066
25067Patch 8.0.1726 (after 8.0.1724)
25068Problem: Older MSVC doesn't support declarations halfway a block.
25069Solution: Move the declaration back to the start of the block.
25070Files: src/main.c
25071
25072Patch 8.0.1727
25073Problem: qf_get_properties() function is too long.
25074Solution: Refactor the code. (Yegappan Lakshmanan, closes #2807)
25075Files: src/quickfix.c
25076
25077Patch 8.0.1728
25078Problem: Condition always false, useless code.
25079Solution: Remove the code. (Nikolai Pavlov, closes #2808)
25080Files: src/message.c
25081
25082Patch 8.0.1729
25083Problem: No comma after last enum item.
25084Solution: Add a few commas to check if this works for all compilers. Also
25085 add a few // comments.
25086Files: src/structs.h
25087
25088Patch 8.0.1730
25089Problem: No configure check for the used C99 features.
25090Solution: Add a compilation check. Tentatively document C99 features.
25091Files: src/configure.ac, src/auto/configure, runtime/doc/develop.txt
25092
25093Patch 8.0.1731
25094Problem: Characters deleted on completion. (Adrià Farrés)
25095Solution: Also check the last item for the ORIGINAL_TEXT flag. (Christian
25096 Brabandt, closes #1645)
25097Files: src/edit.c, src/testdir/test_popup.vim
25098
25099Patch 8.0.1732
25100Problem: Crash when terminal API call deletes the buffer.
25101Solution: Lock the buffer while calling a function. (closes #2813)
25102Files: src/buffer.c, src/terminal.c, src/testdir/test_terminal.vim,
25103 src/testdir/test_autocmd.vim
25104
25105Patch 8.0.1733
25106Problem: Incomplete testing for completion fix. (Lifepillar)
25107Solution: Add a test with CTRL-P.
25108Files: src/testdir/test_popup.vim
25109
25110Patch 8.0.1734
25111Problem: Package directory not added to 'rtp' if prefix matches.
25112Solution: Check the match is a full match. (Ozaki Kiichi, closes #2817)
25113 Also handle different ways of spelling a path.
25114Files: src/testdir/test_packadd.vim, src/ex_cmds2.c
25115
25116Patch 8.0.1735 (after 8.0.1723 and 8.0.1730)
25117Problem: Flexible array member feature not supported by HP-UX. (John
25118 Marriott)
25119Solution: Do not use the flexible array member feature of C99.
25120Files: src/configure.ac, src/auto/configure, src/structs.h,
25121 src/getchar.c, runtime/doc/develop.txt
25122
25123Patch 8.0.1736
25124Problem: Check for C99 features is incomplete.
25125Solution: Use AC_PROG_CC_C99 and when C99 isn't fully supported check the
25126 features we need. (James McCoy, closes #2820)
25127Files: src/configure.ac, src/auto/configure
25128
25129Patch 8.0.1737
25130Problem: fchown() used when it is not supported.
25131Solution: Add #ifdef.
25132Files: src/fileio.c
25133
25134Patch 8.0.1738
25135Problem: ":args" output is hard to read.
25136Solution: Make columns with the names if the output is more than one line.
25137Files: src/ex_cmds2.c, src/version.c, src/proto/version.pro,
25138 src/testdir/test_arglist.vim
25139
25140Patch 8.0.1739
25141Problem: MS-Windows with msys2 cannot build Ruby statically.
25142Solution: Define RUBY_VERSION. (Gray Wolf, closes #2826)
25143Files: src/Make_cyg_ming.mak
25144
25145Patch 8.0.1740
25146Problem: Warning for signed-unsigned incompatibility.
25147Solution: Change type from "char *" to "char_u *". (John Marriott)
25148Files: src/ex_cmds2.c
25149
25150Patch 8.0.1741
25151Problem: MS-Windows with msys2 cannot build Ruby statically.
25152Solution: Add RUBY_VERSION to CFLAGS later. (Gray Wolf, closes #2833)
25153Files: src/Make_cyg_ming.mak
25154
25155Patch 8.0.1742
25156Problem: Cannot get a list of all the jobs. Cannot get the command of
25157 the job.
25158Solution: When job_info() is called without an argument return a list of
25159 jobs. Otherwise, include the command that the job is running.
25160 (Yegappan Lakshmanan)
25161Files: runtime/doc/eval.txt, src/channel.c, src/evalfunc.c,
25162 src/proto/channel.pro, src/structs.h, src/testdir/test_channel.vim
25163
25164Patch 8.0.1743
25165Problem: Terminal window options are named inconsistently.
25166Solution: prefix terminal window options with "termwin". Keep the old names
25167 for now as an alias.
25168Files: src/option.c, src/option.h, src/structs.h, src/terminal.c,
25169 src/testdir/test_terminal.vim, src/testdir/gen_opt_test.vim,
25170 runtime/doc/options.txt, runtime/doc/quickref.txt,
25171 runtime/doc/terminal.txt, runtime/optwin.vim
25172
25173Patch 8.0.1744
25174Problem: On some systems /dev/stdout isn't writable.
25175Solution: Skip test if writing is not possible. (James McCoy, closes #2830)
25176Files: src/testdir/test_writefile.vim
25177
25178Patch 8.0.1745
25179Problem: Build failure on MS-Windows.
25180Solution: Build job arguments for MS-Windows. Fix allocating job twice.
25181Files: src/structs.h, src/channel.c, src/os_unix.c, src/misc2.c,
25182 src/terminal.c, src/proto/misc2.pro
25183
25184Patch 8.0.1746
25185Problem: MS-Windows: channel tests fail.
25186Solution: Make a copy of the command before splitting it.
25187Files: src/channel.c
25188
25189Patch 8.0.1747
25190Problem: MS-Windows: term_start() does not set job_info() cmd.
25191Solution: Share the code from job_start() to set jv_argv.
25192Files: src/testdir/test_terminal.vim, src/channel.c, src/misc2.c,
25193 src/proto/misc2.pro, src/terminal.c
25194
25195Patch 8.0.1748
25196Problem: CmdlineEnter command uses backslash instead of slash.
25197Solution: Don't treat the character as a file name. (closes #2837)
25198Files: src/fileio.c, src/testdir/test_autocmd.vim
25199
25200Patch 8.0.1749
25201Problem: VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails.
25202Solution: Do not wait indefinitely in RealWaitForChar(). (Neil Rieck)
25203 Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan
25204 Arpadffy)
25205Files: src/os_vms.c, src/vim.h
25206
25207Patch 8.0.1750
25208Problem: Crash when clearing location list in autocommand.
25209Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan)
25210Files: src/quickfix.c, src/testdir/test_quickfix.vim
25211
25212Patch 8.0.1751
25213Problem: #ifdef causes bad highlighting.
25214Solution: Move code around. (Ozaki Kiichi, closes #2731)
25215Files: src/ui.c
25216
25217Patch 8.0.1752
25218Problem: qf_set_properties() is to long.
25219Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan
25220 Lakshmanan, closes #2812)
25221Files: src/quickfix.c, src/testdir/test_quickfix.vim
25222
25223Patch 8.0.1753
25224Problem: Various warnings from a static analyser
25225Solution: Add type casts, remove unneeded conditions. (Christian Brabandt,
25226 closes #2770)
25227Files: src/evalfunc.c, src/ex_cmds2.c, src/fileio.c, src/getchar.c,
25228 src/normal.c, src/os_unix.c, src/search.c, src/term.c
25229
25230Patch 8.0.1754
25231Problem: ex_helpgrep() is too long.
25232Solution: Refactor the function. (Yegappan Lakshmanan, closes #2766)
25233Files: src/quickfix.c, src/testdir/test_quickfix.vim
25234
25235Patch 8.0.1755
25236Problem: MS-Windows GUI: high unicode char received as two utf-16 words.
25237Solution: Keep the first word until the second word is received. (Chris
25238 Morgan, closes #2800)
25239Files: src/gui_w32.c
25240
25241Patch 8.0.1756
25242Problem: GUI: after prompting for a number the mouse shape is sometimes
25243 wrong.
25244Solution: Call setmouse() after setting "State". (Hirohito Higashi,
25245 closes #2709)
25246Files: src/misc1.c
25247
25248Patch 8.0.1757
25249Problem: Unnecessary changes in libvterm.
25250Solution: Bring back // comments and trailing comma in enums.
25251Files: src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c,
25252 src/libvterm/bin/vterm-dump.c, src/libvterm/include/vterm.h,
25253 src/libvterm/include/vterm_keycodes.h,
25254 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
25255 src/libvterm/src/parser.c, src/libvterm/src/pen.c,
25256 src/libvterm/src/screen.c, src/libvterm/src/state.c,
25257 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h,
25258 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h
25259
25260Patch 8.0.1758
25261Problem: open_line() returns TRUE/FALSE for success/failure.
25262Solution: Return OK or FAIL.
25263Files: src/misc1.c, src/normal.c, src/edit.c
25264
25265Patch 8.0.1759
25266Problem: Memory leak from duplicate options. (Yegappan Lakshmanan)
25267Solution: Don't set the default value twice.
25268Files: src/option.c
25269
25270Patch 8.0.1760
25271Problem: Wrong number of arguments to vms_read().
25272Solution: Drop the first argument. (Ozaki Kiichi)
25273Files: src/ui.c
25274
25275Patch 8.0.1761
25276Problem: Job in terminal window with no output channel is killed.
25277Solution: Keep the job running when the input is a tty. (Ozaki Kiichi,
25278 closes #2734)
25279Files: src/channel.c, src/os_unix.c, src/testdir/test_channel.vim
25280
25281Patch 8.0.1762
25282Problem: Terminal debug logging is a bit complicated.
25283Solution: Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730)
25284Files: src/term.c
25285
25286Patch 8.0.1763
25287Problem: :argedit does not reuse an empty unnamed buffer.
25288Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian
25289 Brabandt, closes #2713)
25290Files: src/buffer.c, src/ex_cmds2.c, src/proto/buffer.pro,
25291 src/testdir/test_arglist.vim, src/testdir/test_command_count.vim
25292
25293Patch 8.0.1764
25294Problem: Lgtm considers tutor.es to be EcmaScript.
25295Solution: Add a config file for lgtm. (Bas van Schaik, closes #2844)
25296Files: .lgtm.yml, Filelist
25297
25298Patch 8.0.1765
25299Problem: CTRL-G j in Insert mode is incorrect when 'virtualedit' is set.
25300Solution: Take coladd into account. (Christian Brabandt, closes #2743)
25301Files: src/charset.c, src/testdir/test_virtualedit.vim
25302
25303Patch 8.0.1766 (after 8.0.1758)
25304Problem: Expanding abbreviation doesn't work. (Tooth Pik)
25305Solution: Return OK instead of FALSE and FAIL instead of TRUE. (Christian
25306 Brabandt)
25307Files: src/edit.c, src/testdir/test_mapping.vim
25308
25309Patch 8.0.1767
25310Problem: With 'incsearch' text may jump up and down. ()
25311Solution: Besides w_botline also save and restore w_empty_rows.
25312 (closes #2530)
25313Files: src/ex_getln.c, src/testdir/test_search.vim,
25314 src/testdir/dumps/Test_incsearch_scrolling_01.dump
25315
25316Patch 8.0.1768
25317Problem: SET_NO_HLSEARCH() used in a wrong way.
25318Solution: Make it a function. (suggested by Dominique Pelle,
25319 closes #2850)
25320Files: src/vim.h, src/ex_docmd.c, src/proto/ex_docmd.pro, src/search.c,
25321 src/ex_getln.c, src/option.c, src/screen.c, src/tag.c
25322
25323Patch 8.0.1769
25324Problem: Repeated saving and restoring viewstate for 'incsearch'.
25325Solution: Use a structure.
25326Files: src/ex_getln.c
25327
25328Patch 8.0.1770
25329Problem: Assert functions don't return anything.
25330Solution: Return non-zero when the assertion fails.
25331Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro,
25332 src/testdir/test_assert.vim, runtime/doc/eval.txt
25333
25334Patch 8.0.1771
25335Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy)
25336Solution: Add WaitForAssert(), which produces an assert error when it fails.
25337Files: src/testdir/shared.vim, src/testdir/test_terminal.vim,
25338 src/testdir/screendump.vim, src/testdir/test_autocmd.vim,
25339 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
25340 src/testdir/test_job_fails.vim
25341
25342Patch 8.0.1772
25343Problem: Quickfix: mixup of FALSE and FAIL, returning -1.
25344Solution: Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan)
25345Files: src/quickfix.c
25346
25347Patch 8.0.1773
25348Problem: Dialog messages are not translated.
25349Solution: Add N_() and _() where needed. (Sergey Alyoshin)
25350Files: src/diff.c, src/ex_cmds2.c, src/ex_docmd.c, src/message.c,
25351 src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
25352 src/po/Makefile, src/quickfix.c, src/vim.h
25353
25354Patch 8.0.1774
25355Problem: Reading very long lines can be slow.
25356Solution: Read up to 1 Mbyte at a time to avoid a lot of copying. Add a
25357 check for going over the column limit.
25358Files: src/fileio.c
25359
25360Patch 8.0.1775
25361Problem: MS-Windows: warning for unused variable.
25362Solution: Move declaration inside #ifdef. (Mike Williams)
25363Files: src/channel.c
25364
25365Patch 8.0.1776
25366Problem: In tests, when WaitFor() fails it doesn't say why.
25367Solution: Turn a few more WaitFor() into WaitForAssert().
25368Files: src/testdir/test_popup.vim, src/testdir/test_quotestar.vim,
25369 src/testdir/test_search.vim, src/testdir/test_terminal.vim,
25370 src/testdir/test_timers.vim
25371
25372Patch 8.0.1777
25373Problem: Cannot cleanup before loading another colorscheme.
25374Solution: Add the ColorSchemePre autocommand event.
25375Files: src/fileio.c, src/syntax.c, src/vim.h, src/testdir/test_gui.vim,
25376 runtime/colors/README.txt
25377
25378Patch 8.0.1778
25379Problem: Script to check translations does not always work.
25380Solution: Go to first line before searching for MIME.
25381Files: src/po/check.vim
25382
25383Patch 8.0.1779
25384Problem: Deleting in a block selection causes problems.
25385Solution: Check the length of the line before adding bd.textcol and
25386 bd.textlen. (Christian Brabandt, closes #2825)
25387Files: src/ops.c, src/testdir/test_blockedit.vim
25388
25389Patch 8.0.1780
25390Problem: Test fails because Vim in a terminal uses wrong 'encoding'.
25391Solution: Set encoding in the test where it matters. (James McCoy,
25392 closes #2847)
25393Files: src/testdir/test_terminal.vim
25394
25395Patch 8.0.1781
25396Problem: File names in quickfix window are not always shortened.
25397Solution: Shorten the file name when opening the quickfix window. (Yegappan
25398 Lakshmanan, closes #2851, closes #2846)
25399Files: src/testdir/test_quickfix.vim, src/fileio.c, src/proto/fileio.pro,
25400 src/quickfix.c
25401
25402Patch 8.0.1782
25403Problem: No simple way to label quickfix entries.
25404Solution: Add the "module" item, to be used instead of the file name for
25405 display purposes. (Martin Szamotulski, closes #1757)
25406Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/alloc.h,
25407 src/quickfix.c, src/testdir/test_quickfix.vim
25408
25409Patch 8.0.1783
25410Problem: Cannot use 256 colors in a MS-Windows console.
25411Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821)
25412Files: src/misc1.c, src/option.c, src/os_win32.c, src/proto/os_win32.pro,
25413 src/term.c, src/proto/term.pro, src/terminal.c
25414
25415Patch 8.0.1784 (after 8.0.1782)
25416Problem: Gvim test gets stuck in dialog.
25417Solution: Rename the file used.
25418Files: src/testdir/test_quickfix.vim
25419
25420Patch 8.0.1785 (after 8.0.1783)
25421Problem: Missing symbol in Win32 small build.
25422Solution: Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also
25423 fix unused function with #ifdef.
25424Files: src/term.c, src/os_win32.c
25425
25426Patch 8.0.1786
25427Problem: No test for 'termwinkey'.
25428Solution: Add a test. Make feedkeys() handle terminal_loop() returning
25429 before characters are consumed.
25430Files: src/testdir/test_terminal.vim, src/terminal.c, src/evalfunc.c,
25431 src/ex_docmd.c, src/getchar.c, src/keymap.h
25432
25433Patch 8.0.1787
25434Problem: Cannot insert the whole cursor line.
25435Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857)
25436Files: runtime/doc/cmdline.txt, src/ex_getln.c, src/ops.c,
25437 src/testdir/test_cmdline.vim
25438
25439Patch 8.0.1788
25440Problem: Tool to check a color scheme is not installed.
25441Solution: Update the install rule. (Christian Brabandt)
25442Files: src/Makefile
25443
25444Patch 8.0.1789
25445Problem: BufWinEnter does not work well for a terminal window.
25446Solution: Do not trigger BufWinEnter when opening a terminal window.
25447Files: src/terminal.c, runtime/doc/autocmd.txt,
25448 src/testdir/test_terminal.vim
25449
25450Patch 8.0.1790
25451Problem: 'winfixwidth' is not always respected by :close.
25452Solution: Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason
25453 Franklin)
25454Files: src/window.c, src/testdir/test_winbuf_close.vim
25455
25456Patch 8.0.1791
25457Problem: Using uint8_t does not work everywhere.
25458Solution: Use char_u instead.
25459Files: src/term.c, src/proto/term.pro, src/os_win32.c
25460
25461Patch 8.0.1792
25462Problem: MS-Windows users expect -? to work like --help.
25463Solution: Add -?. (Christian Brabandt, closes #2867)
25464Files: src/main.c
25465
25466Patch 8.0.1793
25467Problem: No test for "vim -g".
25468Solution: Add a test for "-g" and "-y".
25469Files: src/testdir/shared.vim, src/testdir/test_gui.vim
25470
25471Patch 8.0.1794
25472Problem: Duplicate term options after renaming.
25473Solution: Remove the old names 'termkey', 'termsize' and 'terminalscroll'.
25474Files: src/option.c, src/terminal.c, src/option.h,
25475 src/testdir/gen_opt_test.vim, src/testdir/screendump.vim
25476
25477Patch 8.0.1795
25478Problem: Lose contact with jobs when :gui forks.
25479Solution: Don't fork when there is a running job. Make log message for a
25480 died job clearer. Also close the terminal when stderr and stdout
25481 are the same FD.
25482Files: src/gui.h, src/gui.c, src/channel.c, src/proto/channel.pro,
25483 src/os_unix.c, src/terminal.c
25484
25485Patch 8.0.1796
25486Problem: GUI: click on tab fails when the focus is in a terminal window.
25487Solution: Handle K_TABLINE.
25488Files: src/terminal.c
25489
25490Patch 8.0.1797
25491Problem: Terminal window is redrawn too often and scrolling is repeated.
25492Solution: Don't scroll immediately but only when redrawing. Avoid redrawing
25493 the whole terminal window on every change.
25494Files: src/terminal.c, src/screen.c, src/proto/terminal.pro
25495
25496Patch 8.0.1798
25497Problem: MS-Windows: file considered read-only when another program has
25498 opened it.
25499Solution: Pass file sharing flag to CreateFile(). (Linwei, closes #2860)
25500Files: src/os_win32.c
25501
25502Patch 8.0.1799
25503Problem: No test for :registers command.
25504Solution: Add a test. (Dominique Pelle, closes #2880)
25505Files: src/testdir/test_registers.vim
25506
25507Patch 8.0.1800
25508Problem: X11: getting color is slow.
25509Solution: Avoid using sprintf() and XParseColor(), put the RGB values in
25510 XColor directly.
25511Files: src/gui_x11.c
25512
25513Patch 8.0.1801
25514Problem: MS-Windows: redirecting terminal output does not work.
25515Solution: Intercept the text written to the terminal and write it to the
25516 file.
25517Files: src/terminal.c, src/testdir/test_terminal.vim
25518
25519Patch 8.0.1802 (after 8.0.1802)
25520Problem: MS-Windows: terminal test fails.
25521Solution: Close redirected output file earlier.
25522Files: src/terminal.c
25523
25524Patch 8.0.1803
25525Problem: Warning for uninitialized variable. (Tony Mechelynck)
25526Solution: Initialize it.
25527Files: src/terminal.c
25528
25529Patch 8.0.1804
25530Problem: Using :normal in terminal window causes problems. (Dominique
25531 Pelle)
25532Solution: Don't call terminal_loop() for :normal. (closes #2886)
25533Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/evalfunc.c
25534
25535Patch 8.0.1805
25536Problem: qf_parse_line() is too long.
25537Solution: Split it in parts. Properly handle vim_realloc() failing.
25538 (Yegappan Lakshmanan, closes #2881)
25539Files: src/quickfix.c
25540
25541Patch 8.0.1806
25542Problem: InsertCharPre causes problems for autocomplete. (Lifepillar)
25543Solution: Check for InsertCharPre before calling vpeekc(). (Christian
25544 Brabandt, closes #2876)
25545Files: src/edit.c, src/testdir/test_popup.vim
25546
25547Patch 8.0.1807
25548Problem: Function to set terminal name is too long.
25549Solution: Refactor the function. Fix typo in test.
25550Files: src/term.c, src/testdir/test_options.vim
25551
25552Patch 8.0.1808 (after 8.0.1807)
25553Problem: Can't build without TGETENT.
25554Solution: Add #ifdef
25555Files: src/term.c
25556
25557Patch 8.0.1809
25558Problem: Various typos.
25559Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887)
25560Files: src/edit.c, src/normal.c, src/screen.c, src/proto/screen.pro,
25561 src/ui.c
25562
25563Patch 8.0.1810
25564Problem: Buffer of a terminal only updated in Terminal-Normal mode.
25565Solution: Copy the terminal window content to the buffer when in
25566 Terminal-Job mode.
25567Files: src/terminal.c, src/proto/terminal.pro, src/ex_cmds2.c,
25568 src/proto/ex_cmds2.pro
25569
25570Patch 8.0.1811
25571Problem: No test for winrestcmd().
25572Solution: Add a test. (Dominique Pelle, closes #2894)
25573Files: src/testdir/test_window_cmd.vim
25574
25575Patch 8.0.1812
25576Problem: The qf_jump_to_usable_window() function is too long.
25577Solution: Split it in parts. (Yegappan Lakshmanan, closes #2891)
25578Files: src/quickfix.c
25579
25580Patch 8.0.1813
25581Problem: Windows installer doesn't install terminal debugger.
25582Solution: Add the package to the list of files to install.
25583Files: nsis/gvim.nsi
25584
25585Patch 8.0.1814
25586Problem: Crash with terminal window and with 'lazyredraw' set. (Antoine)
25587Solution: Check the terminal still exists after update_screen().
25588Files: src/terminal.c
25589
25590Patch 8.0.1815 (after 8.0.1814)
25591Problem: Still a crash with terminal window and with 'lazyredraw' set.
25592 (Antoine)
25593Solution: Do not wipe out the buffer when updating the screen.
25594Files: src/terminal.c, src/proto/terminal.pro, src/screen.c,
25595 src/proto/screen.pro, src/ui.c
25596
25597Patch 8.0.1816
25598Problem: No test for setcmdpos().
25599Solution: Add a test. (Dominique Pelle, closes #2901)
25600Files: src/testdir/test_cmdline.vim
25601
25602Patch 8.0.1817
25603Problem: A timer may change v:count unexpectedly.
25604Solution: Save and restore v:count and similar variables when a timer
25605 callback is invoked. (closes #2897)
25606Files: src/eval.c, src/proto/eval.pro, src/ex_cmds2.c, src/structs.h,
25607 src/testdir/test_timers.vim
25608
25609Patch 8.0.1818 (after 8.0.1810)
25610Problem: Lines remove from wrong buffer when using terminal window.
25611Solution: Make sure to use tl_buffer.
25612Files: src/terminal.c
25613
25614Patch 8.0.1819
25615Problem: Swap file warning for a file in a non-existing directory, if there
25616 is another with the same file name. (Juergen Weigert)
25617Solution: When expanding the file name fails compare the file names.
25618Files: src/testdir/test_swap.vim, src/memline.c
25619
25620Patch 8.0.1820
25621Problem: Terminal window redirecting stdout does not show stderr. (Matéo
25622 Zanibelli)
25623Solution: When stdout is not connected to pty_master_fd then use it for
25624 stderr. (closes #2903)
25625Files: src/os_unix.c, src/testdir/test_terminal.vim
25626
25627Patch 8.0.1821
25628Problem: Cursor in terminal window moves when pressing CTRL-W. (Dominique
25629 Pelle)
25630Solution: Do not more the cursor or redraw when not in Terminal-Normal mode.
25631 (closes #2904)
25632Files: src/terminal.c
25633
25634Patch 8.0.1822
25635Problem: Make uninstall does not remove colors/tools.
25636Solution: Add a line to delete the tools directory. (Kazunobu Kuriyama)
25637Files: src/Makefile
25638
25639Patch 8.0.1823
25640Problem: Test for terminal stdout redirection is flaky.
25641Solution: Wait for the job to finish.
25642Files: src/testdir/test_terminal.vim
25643
25644Patch 8.0.1824
25645Problem: Coverity warns for variable that may be uninitialized.
25646Solution: Initialize the variable.
25647Files: src/terminal.c
25648
25649Patch 8.0.1825
25650Problem: Might use NULL pointer when out of memory. (Coverity)
25651Solution: Handle NULL pointer better.
25652Files: src/getchar.c
25653
25654Patch 8.0.1826
25655Problem: Configure uses old compiler flag.
25656Solution: Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)
25657Files: src/configure.ac, src/auto/configure
25658
25659Patch 8.0.1827
25660Problem: Compiler warning for signed/unsigned char pointers. (Cesar Romani)
25661Solution: Change the type of jv_argv.
25662Files: src/channel.c, src/structs.h
25663
Bram Moolenaar7c63fbc2018-05-17 13:15:23 +020025664Patch 8.0.1828
25665Problem: Get no clue why :gui does not fork.
25666Solution: Add a channel log message.
25667Files: src/channel.c
25668
25669Patch 8.0.1829
25670Problem: MS-Windows: script for vimdiff can't handle ! chars.
25671Solution: Escape the ! chars. (Hans Ginzel, closes #2896)
25672Files: src/dosinst.c
25673
25674Patch 8.0.1830
25675Problem: Switching to Terminal-Normal mode does not redraw. (Dominique
25676 Pelle)
25677Solution: Also redraw when not updating the snapshot. (closes #2904)
25678Files: src/terminal.c
25679
25680Patch 8.0.1831
25681Problem: Sometimes the quickfix title is incorrectly prefixed with ':'.
25682Solution: Prepend the colon in another way. (Yegappan Lakshmanan, closes
25683 #2905)
25684Files: src/evalfunc.c, src/quickfix.c, src/testdir/test_quickfix.vim
25685
25686Patch 8.0.1832
25687Problem: Cannot use :unlet for an environment variable.
25688Solution: Make it work. Use unsetenv() if available. (Yasuhiro Matsumoto,
25689 closes #2855)
25690Files: runtime/doc/eval.txt, src/config.h.in, src/configure.ac,
25691 src/auto/configure, src/eval.c, src/misc1.c, src/proto/misc1.pro,
25692 src/testdir/test_unlet.vim
25693
25694Patch 8.0.1833
25695Problem: X11: ":echo 3.14" gives E806.
25696Solution: set LC_NUMERIC to "C". (Dominique Pelle, closes #2368)
25697Files: src/gui_x11.c
25698
25699Patch 8.0.1834
25700Problem: GUI: find/replace dialog does not handle some chars properly.
25701Solution: Escape '?' when needed. Always escape backslash. (closes #2418,
25702 closes #2435)
25703Files: src/gui.c
25704
25705Patch 8.0.1835
25706Problem: Print document name does not support multi-byte.
25707Solution: Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478)
25708Files: src/os_mswin.c
25709
25710Patch 8.0.1836
25711Problem: Buffer-local window options may not be recent if the buffer is
25712 still open in another window.
25713Solution: Copy the options from the window instead of the outdated window
25714 options. (Bjorn Linse, closes #2336)
25715Files: src/buffer.c, src/testdir/test_options.vim
25716
25717Patch 8.0.1837
25718Problem: One character cmdline abbreviation not triggered after '<,'>.
25719Solution: Skip over the special range. (Christian Brabandt, closes #2320)
25720Files: src/ex_getln.c, src/testdir/test_mapping.vim
25721
25722Patch 8.0.1838
25723Problem: Cursor in wrong position when switching to Terminal-Normal mode.
25724 (Dominique Pelle)
25725Solution: Move to the end of the line if coladvance() fails. Do not take a
25726 snapshot a second time.
25727Files: src/terminal.c
25728
25729Patch 8.0.1839
25730Problem: Script to check .po file doesn't check for plural header.
25731Solution: Add a check that the plural header is present when needed.
25732Files: src/po/check.vim
25733
25734Patch 8.0.1840
25735Problem: getwinpos() is not tested.
25736Solution: Add a test. (Dominique Pelle, closes #2911)
25737Files: src/testdir/test_gui.vim
25738
25739Patch 8.0.1841
25740Problem: HP-UX does not have setenv().
25741Solution: Use vim_setenv(). (John Marriott)
25742Files: src/misc1.c
25743
25744Patch 8.0.1842
25745Problem: Popup menu inside terminal window isn't cleared.
25746Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian
25747 Brabandt, closes #2908)
25748Files: src/popupmnu.c
25749
25750Patch 8.0.1843
25751Problem: Entry for 'wrap' in options window is wrong. (John Little)
25752Solution: Make the change apply locally.
25753Files: runtime/optwin.vim
25754
25755Patch 8.0.1844
25756Problem: Superfluous quickfix code, missing examples.
25757Solution: Remove unneeded code. Add a few examples. Add a bit more
25758 testing. (Yegappan Lakshmanan, closes #2916)
25759Files: runtime/doc/quickfix.txt, src/quickfix.c,
25760 src/testdir/test_quickfix.vim
25761
25762Patch 8.0.1845
25763Problem: Various comment updates needed, missing white space.
25764Solution: Update comments, add white space.
25765Files: src/getchar.c, src/testdir/test_cscope.vim, src/gui_mac.c
25766
25767Patch 8.0.1846
25768Problem: Python interface is incompatible with lldb.
25769Solution: For OutputType set the base to be PyFile_Type. (Boxu Zhang)
25770 Partly disabled to avoid a crash.
25771Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
25772
25773Patch 8.0.1847
25774Problem: Some build options don't have an example.
25775Solution: Add a couple more examples and compiler flags.
25776Files: src/Makefile
25777
25778Patch 8.0.1848
25779Problem: 'termwinscroll' does not work properly. (Dominique Pelle)
25780Solution: Subtract removed scrollback from the scrollback count. Add a test
25781 for 'termwinscroll'. (closes #2909)
25782Files: src/terminal.c, src/testdir/test_terminal.vim
25783
25784Patch 8.0.1849
25785Problem: Compiler warning for unused arguments and missing prototype.
25786Solution: Add UNUSED. Add static.
25787Files: src/mbyte.c, src/if_ruby.c
25788
Bram Moolenaarb1c91982018-05-17 17:04:55 +020025789Patch 8.0.1850
25790Problem: Todo items in source code not visible for users.
25791Solution: Move the todo items to the help file.
25792Files: src/terminal.c
25793
Bram Moolenaareb3dc872018-05-13 22:34:24 +020025794
Bram Moolenaar03413f42016-04-12 21:07:15 +020025795 vim:tw=78:ts=8:ft=help:norl: