blob: 8634c284213bcc6fdba10242a4705c39b6110185 [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
14552
14553Added *added-8.1*
14554-----
14555
14556Various syntax, indent and other plugins were added.
14557
14558Functions:
14559 All the term_ functions.
14560
14561 |assert_beeps()|
14562 |assert_equalfile()|
14563 |assert_report()|
14564 |balloon_show()|
14565 |balloon_split()|
14566 |ch_canread()|
14567 |getchangelist()|
14568 |getjumplist()|
14569 |getwinpos()|
14570 |pyxeval()|
14571 |remote_startserver()|
14572 |setbufline()|
14573 |test_ignore_error()|
14574 |test_override()|
14575 |trim()|
14576 |win_screenpos()|
14577
14578Autocommands:
14579 |CmdlineChanged|
14580 |CmdlineEnter|
14581 |CmdlineLeave|
14582 |ColorSchemePre|
14583 |DirChanged|
14584 |ExitPre|
14585 |TerminalOpen|
14586 |TextChangedP|
14587 |TextYankPost|
14588
14589Commands:
14590 |:pyx|
14591 |:pythonx|
14592 |:pyxdo|
14593 |:pyxfile|
14594 |:terminal|
14595 |:tmapclear|
14596 |:tmap|
14597 |:tnoremap|
14598 |:tunmap|
14599
14600Options:
14601 'balloonevalterm'
14602 'imstyle'
14603 'mzschemedll'
14604 'mzschemegcdll'
14605 'makeencoding'
14606 'pumwidth'
14607 'pythonhome'
14608 'pythonthreehome'
14609 'pyxversion'
14610 'termwinkey'
14611 'termwinscroll'
14612 'termwinsize'
14613 'viminfofile'
14614 'winptydll'
14615
14616
14617Patches *patches-8.1*
14618-------
14619
Bram Moolenaarc0514bf2016-11-17 14:50:09 +010014620Patch 8.0.0001
14621Problem: Intro screen still mentions version7. (Paul)
14622Solution: Change it to version8.
14623Files: src/version.c
14624
14625Patch 8.0.0002
14626Problem: The netrw plugin does not work.
14627Solution: Make it accept version 8.0.
14628Files: runtime/autoload/netrw.vim
14629
14630Patch 8.0.0003
14631Problem: getwinvar() returns wrong Value of boolean and number options,
14632 especially non big endian systems. (James McCoy)
14633Solution: Cast the pointer to long or int. (closes #1060)
14634Files: src/option.c, src/testdir/test_bufwintabinfo.vim
14635
14636Patch 8.0.0004
14637Problem: A string argument for function() that is not a function name
14638 results in an error message with NULL. (Christian Brabandt)
14639Solution: Use the argument for the error message.
14640Files: src/evalfunc.c, src/testdir/test_expr.vim
14641
14642Patch 8.0.0005
14643Problem: Netbeans test fails with Python 3. (Jonathonf)
14644Solution: Encode the string before sending it. (closes #1070)
14645Files: src/testdir/test_netbeans.py
14646
14647Patch 8.0.0006
14648Problem: ":lb" is interpreted as ":lbottom" while the documentation says it
14649 means ":lbuffer".
14650Solution: Adjust the order of the commands. (haya14busa, closes #1093)
14651Files: src/ex_cmds.h
14652
14653Patch 8.0.0007
14654Problem: Vim 7.4 is still mentioned in a few places.
14655Solution: Update to Vim 8. (Uncle Bill, closes #1094)
14656Files: src/INSTALLpc.txt, src/vimtutor, uninstal.txt
14657
14658Patch 8.0.0008
14659Problem: Popup complete test is disabled.
14660Solution: Enable the test and change the assert. (Hirohito Higashi)
14661Files: src/testdir/test_popup.vim
14662
14663Patch 8.0.0009
14664Problem: Unnecessary workaround for AppVeyor.
14665Solution: Revert patch 7.4.990. (Christian Brabandt)
14666Files: appveyor.yml
14667
14668Patch 8.0.0010
14669Problem: Crash when editing file that starts with crypt header. (igor2x)
14670Solution: Check for length of text. (Christian Brabandt) Add a test.
14671Files: src/fileio.c, src/testdir/test_crypt.vim, src/Makefile,
14672 src/testdir/Make_all.mak
14673
14674Patch 8.0.0011
14675Problem: On OSX Test_pipe_through_sort_all() sometimes fails.
14676Solution: Add the test to the list of flaky tests.
14677Files: src/testdir/runtest.vim
14678
14679Patch 8.0.0012
14680Problem: Typos in comments.
14681Solution: Change "its" to "it's". (Matthew Brener, closes #1088)
14682Files: src/evalfunc.c, src/main.aap, src/nbdebug.c, src/netbeans.c,
14683 src/quickfix.c, src/workshop.c, src/wsdebug.c
14684
14685Patch 8.0.0013 (after 8.0.0011)
14686Problem: Missing comma in list.
14687Solution: Add the comma.
14688Files: src/testdir/runtest.vim
14689
14690Patch 8.0.0014
14691Problem: Crypt tests are old style.
14692Solution: Convert to new style.
14693Files: src/testdir/test71.in, src/testdir/test71.ok,
14694 src/testdir/test71a.in, src/testdir/test_crypt.vim, src/Makefile,
14695 src/testdir/Make_all.mak
14696
14697Patch 8.0.0015
14698Problem: Can't tell which part of a channel has "buffered" status.
14699Solution: Add an optional argument to ch_status(). Let ch_info() also
14700 return "buffered" for out_status and err_status.
14701Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro,
14702 src/testdir/test_channel.vim, runtime/doc/eval.txt
14703
14704Patch 8.0.0016 (after 8.0.0015)
14705Problem: Build fails.
14706Solution: Include missing change.
14707Files: src/eval.c
14708
14709Patch 8.0.0017
14710Problem: Cannot get the number of the current quickfix or location list.
14711Solution: Use the current list if "nr" in "what" is zero. (Yegappan
14712 Lakshmanan) Remove debug command from test.
14713Files: src/quickfix.c, src/testdir/test_quickfix.vim,
14714 runtime/doc/eval.txt
14715
14716Patch 8.0.0018
14717Problem: When using ":sleep" channel input is not handled.
14718Solution: When there is a channel check for input also when not in raw mode.
14719 Check every 100 msec.
14720Files: src/channel.c, src/proto/channel.pro, src/ui.c, src/proto/ui.pro,
14721 src/ex_docmd.c, src/os_amiga.c, src/proto/os_amiga.pro,
14722 src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c,
14723 src/proto/os_win32.pro
14724
14725Patch 8.0.0019
14726Problem: Test_command_count is old style.
14727Solution: Turn it into a new style test. (Naruhiko Nishino)
14728 Use more assert functions.
14729Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_alot.vim,
14730 src/testdir/test_autocmd.vim, src/testdir/test_command_count.in,
14731 src/testdir/test_command_count.ok,
14732 src/testdir/test_command_count.vim
14733
14734Patch 8.0.0020
14735Problem: The regexp engines are not reentrant.
14736Solution: Add regexec_T and save/restore the state when needed.
14737Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_expr.vim,
14738 runtime/doc/eval.txt, runtime/doc/change.txt
14739
14740Patch 8.0.0021
14741Problem: In the GUI when redrawing the cursor it may be on the second half
14742 of a double byte character.
14743Solution: Correct the cursor column. (Yasuhiro Matsumoto)
14744Files: src/screen.c
14745
14746Patch 8.0.0022
14747Problem: If a channel in NL mode is missing the NL at the end the remaining
14748 characters are dropped.
14749Solution: When the channel is closed use the remaining text. (Ozaki Kiichi)
14750Files: src/channel.c, src/testdir/test_channel.vim
14751
14752Patch 8.0.0023
14753Problem: "gd" and "gD" may find a match in a comment or string.
14754Solution: Ignore matches in comments and strings. (Anton Lindqvist)
14755Files: src/normal.c, src/testdir/test_goto.vim
14756
14757Patch 8.0.0024
14758Problem: When the netbeans channel closes, "DETACH" is put in the output
14759 part. (Ozaki Kiichi)
14760Solution: Write "DETACH" in the socket part.
14761Files: src/channel.c, src/testdir/test_netbeans.vim
14762
14763Patch 8.0.0025
14764Problem: Inconsistent use of spaces vs tabs in gd test.
14765Solution: Use tabs. (Anton Lindqvist)
14766Files: src/testdir/test_goto.vim
14767
14768Patch 8.0.0026
14769Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth)
14770Solution: Skip code when qf_multiignore is set. (Lcd)
14771Files: src/quickfix.c, src/testdir/test_quickfix.vim
14772
14773Patch 8.0.0027
14774Problem: A channel is closed when reading on stderr or stdout fails, but
14775 there may still be something to read on another part.
14776Solution: Turn ch_to_be_closed into a bitfield. (Ozaki Kiichi)
14777Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro,
14778 src/testdir/test_channel.vim
14779
14780Patch 8.0.0028
14781Problem: Superfluous semicolons.
14782Solution: Remove them. (Ozaki Kiichi)
14783Files: src/ex_cmds2.c
14784
14785Patch 8.0.0029
14786Problem: Code for MS-Windows is complicated because of the exceptions for
14787 old systems.
14788Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
14789Files: runtime/doc/gui_w32.txt, runtime/doc/os_win32.txt,
14790 runtime/doc/todo.txt, src/GvimExt/Makefile, src/Make_mvc.mak,
14791 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui_w32.c,
14792 src/if_cscope.c, src/misc1.c, src/misc2.c, src/option.c,
14793 src/os_mswin.c, src/os_win32.c, src/os_win32.h,
14794 src/proto/os_mswin.pro, src/proto/os_win32.pro, src/version.c
14795
14796Patch 8.0.0030
14797Problem: Mouse mode is not automatically detected for tmux.
14798Solution: Check for 'term' to be "tmux". (Michael Henry)
14799Files: src/os_unix.c
14800
14801Patch 8.0.0031
14802Problem: After ":bwipeout" 'fileformat' is not set to the right default.
14803Solution: Get the default from 'fileformats'. (Mike Williams)
14804Files: src/option.c, src/Makefile, src/testdir/test_fileformat.vim,
14805 src/testdir/test_alot.vim
14806
14807Patch 8.0.0032
14808Problem: Tests may change the input file when something goes wrong.
14809Solution: Avoid writing the input file.
14810Files: src/testdir/test51.in, src/testdir/test67.in,
14811 src/testdir/test97.in, src/testdir/test_tabpage.vim
14812
14813Patch 8.0.0033
14814Problem: Cannot use overlapping positions with matchaddpos().
14815Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi)
14816Files: src/screen.c, src/testdir/test_match.vim
14817
14818Patch 8.0.0034
14819Problem: No completion for ":messages".
14820Solution: Complete "clear" argument. (Hirohito Higashi)
14821Files: src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro,
14822 src/testdir/test_cmdline.vim, src/vim.h,
14823 runtime/doc/eval.txt, runtime/doc/map.txt
14824
14825Patch 8.0.0035 (after 7.4.2013)
14826Problem: Order of matches for 'omnifunc' is messed up. (Danny Su)
14827Solution: Do not set compl_curr_match when called from complete_check().
14828 (closes #1168)
14829Files: src/edit.c, src/evalfunc.c, src/proto/edit.pro, src/search.c,
14830 src/spell.c, src/tag.c, src/testdir/test76.in,
14831 src/testdir/test76.ok, src/testdir/test_popup.vim, src/Makefile,
14832 src/testdir/Make_all.mak
14833
14834Patch 8.0.0036
14835Problem: Detecting that a job has finished may take a while.
14836Solution: Check for a finished job more often (Ozaki Kiichi)
14837Files: src/channel.c, src/os_unix.c, src/os_win32.c,
14838 src/proto/os_unix.pro, src/proto/os_win32.pro,
14839 src/testdir/test_channel.vim
14840
14841Patch 8.0.0037
14842Problem: Get E924 when switching tabs. ()
14843Solution: Use win_valid_any_tab() instead of win_valid(). (Martin Vuille,
14844 closes #1167, closes #1171)
14845Files: src/quickfix.c, src/testdir/test_quickfix.vim
14846
14847Patch 8.0.0038
14848Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland
14849 files.
14850Solution: Check for __FreeBSD_kernel__. (James McCoy, closes #1166)
14851Files: src/vim.h
14852
14853Patch 8.0.0039
14854Problem: When Vim 8 reads an old viminfo and exits, the next time marks are
14855 not read from viminfo. (Ned Batchelder)
14856Solution: Set a mark when it wasn't set before, even when the timestamp is
14857 zero. (closes #1170)
14858Files: src/mark.c, src/testdir/test_viminfo.vim
14859
14860Patch 8.0.0040 (after 8.0.0033)
14861Problem: Whole line highlighting with matchaddpos() does not work.
14862Solution: Check for zero length. (Hirohito Higashi)
14863Files: src/screen.c, src/testdir/test_match.vim
14864
14865Patch 8.0.0041
14866Problem: When using Insert mode completion but not actually inserting
14867 anything an undo item is still created. (Tommy Allen)
14868Solution: Do not call stop_arrow() when not inserting anything.
14869Files: src/edit.c, src/testdir/test_popup.vim
14870
14871Patch 8.0.0042 (after 8.0.0041)
14872Problem: When using Insert mode completion with 'completeopt' containing
14873 "noinsert" change is not saved for undo. (Tommy Allen)
14874Solution: Call stop_arrow() before inserting for pressing Enter.
14875Files: src/edit.c, src/testdir/test_popup.vim
14876
14877Patch 8.0.0043 (after 8.0.0041)
14878Problem: When using Insert mode completion with 'completeopt' containing
14879 "noinsert" with CTRL-N the change is not saved for undo. (Tommy
14880 Allen)
14881Solution: Call stop_arrow() before inserting for any key.
14882Files: src/edit.c, src/testdir/test_popup.vim
14883
14884Patch 8.0.0044
14885Problem: In diff mode the cursor may end up below the last line, resulting
14886 in an ml_get error.
14887Solution: Check the line to be valid.
14888Files: src/move.c, src/diff.c, src/proto/diff.pro,
14889 src/testdir/test_diffmode.vim
14890
14891Patch 8.0.0045
14892Problem: Calling job_stop() right after job_start() does not work.
14893Solution: Block signals while fork is still busy. (Ozaki Kiichi, closes
14894 #1155)
14895Files: src/auto/configure, src/config.h.in, src/configure.in,
14896 src/os_unix.c, src/testdir/test_channel.vim
14897
14898Patch 8.0.0046
14899Problem: Using NUL instead of NULL.
14900Solution: Change to NULL. (Dominique Pelle)
14901Files: src/ex_cmds.c, src/json.c
14902
14903Patch 8.0.0047
14904Problem: Crash when using the preview window from an unnamed buffer.
14905 (lifepillar)
14906Solution: Do not clear the wrong buffer. (closes #1200)
14907Files: src/popupmnu.c
14908
14909Patch 8.0.0048
14910Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
14911 (Linwei)
14912Solution: Iterate over all processes and terminate the one where the parent
14913 is the job process. (Yasuhiro Matsumoto, closes #1184)
14914Files: src/os_win32.c, src/structs.h
14915
14916Patch 8.0.0049
14917Problem: When a match ends in part of concealed text highlighting, it might
14918 mess up concealing by resetting prev_syntax_id.
14919Solution: Do not reset prev_syntax_id and add a test to verify. (Christian
14920 Brabandt, closes #1092)
14921Files: src/screen.c, src/testdir/test_matchadd_conceal.vim
14922
14923Patch 8.0.0050
14924Problem: An exiting job is detected with a large latency.
14925Solution: Check for pending job more often. (Ozaki Kiichi) Change the
14926 double loop in mch_inchar() into one.
14927Files: src/channel.c, src/os_unix.c, src/testdir/shared.vim,
14928 src/testdir/test_channel.vim
14929
14930Patch 8.0.0051 (after 8.0.0048)
14931Problem: New code for job_stop() breaks channel test on AppVeyor.
14932Solution: Revert the change.
14933Files: src/os_win32.c, src/structs.h
14934
14935Patch 8.0.0052 (after 8.0.0049)
14936Problem: Conceal test passes even without the bug fix.
14937Solution: Add a redraw command. (Christian Brabandt)
14938Files: src/testdir/test_matchadd_conceal.vim
14939
14940Patch 8.0.0053 (after 8.0.0047)
14941Problem: No test for what 8.0.0047 fixes.
14942Solution: Add a test. (Hirohito Higashi)
14943Files: src/testdir/test_popup.vim
14944
14945Patch 8.0.0054 (after 8.0.0051)
14946Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
14947 (Linwei)
14948Solution: Iterate over all processes and terminate the one where the parent
14949 is the job process. Now only when there is no job object.
14950 (Yasuhiro Matsumoto, closes #1203)
14951Files: src/os_win32.c
14952
14953Patch 8.0.0055
14954Problem: Minor comment and style deficiencies.
14955Solution: Update comments and fix style.
14956Files: src/buffer.c, src/misc2.c, src/os_unix.c
14957
14958Patch 8.0.0056
14959Problem: When setting 'filetype' there is no check for a valid name.
14960Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'.
14961Files: src/option.c, src/testdir/test_options.vim
14962
14963Patch 8.0.0057 (after 8.0.0056)
14964Problem: Tests fail without the 'keymap' features.
14965Solution: Check for feature in test.
14966Files: src/testdir/test_options.vim
14967
14968Patch 8.0.0058
14969Problem: Positioning of the popup menu is not good.
14970Solution: Position it better. (Hirohito Higashi)
14971Files: src/popupmnu.c
14972
14973Patch 8.0.0059
14974Problem: Vim does not build on VMS systems.
14975Solution: Various changes for VMS. (Zoltan Arpadffy)
14976Files: src/json.c, src/macros.h, src/Make_vms.mms, src/os_unix.c,
14977 src/os_unix.h, src/os_vms.c, src/os_vms_conf.h,
14978 src/proto/os_vms.pro, src/testdir/Make_vms.mms
14979
14980Patch 8.0.0060
14981Problem: When using an Ex command for 'keywordprg' it is escaped as with a
14982 shell command. (Romain Lafourcade)
14983Solution: Escape for an Ex command. (closes #1175)
14984Files: src/normal.c, src/testdir/test_normal.vim
14985
14986Patch 8.0.0061 (after 8.0.0058)
14987Problem: Compiler warning for unused variable.
14988Solution: Add #ifdef. (John Marriott)
14989Files: src/popupmnu.c
14990
14991Patch 8.0.0062
14992Problem: No digraph for HORIZONTAL ELLIPSIS.
14993Solution: Use ",.". (Hans Ginzel, closes #1226)
14994Files: src/digraph.c, runtime/doc/digraph.txt
14995
14996Patch 8.0.0063
14997Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy)
14998Solution: Change <= to ==.
14999Files: src/undo.c
15000
15001Patch 8.0.0064 (after 8.0.0060)
15002Problem: Normal test fails on MS-Windows.
15003Solution: Don't try using an illegal file name.
15004Files: src/testdir/test_normal.vim
15005
15006Patch 8.0.0065 (after 8.0.0056)
15007Problem: Compiler warning for unused function in tiny build. (Tony
15008 Mechelynck)
15009Solution: Add #ifdef.
15010Files: src/option.c
15011
15012Patch 8.0.0066
15013Problem: when calling an operator function when 'linebreak' is set, it is
15014 internally reset before calling the operator function.
15015Solution: Restore 'linebreak' before calling op_function(). (Christian
15016 Brabandt)
15017Files: src/normal.c, src/testdir/test_normal.vim
15018
15019Patch 8.0.0067
15020Problem: VMS has a problem with infinity.
15021Solution: Avoid an overflow. (Zoltan Arpadffy)
15022Files: src/json.c, src/macros.h
15023
15024Patch 8.0.0068
15025Problem: Checking did_throw after executing autocommands is wrong. (Daniel
15026 Hahler)
15027Solution: Call aborting() instead, and only when autocommands were executed.
15028Files: src/quickfix.c, src/if_cscope.c, src/testdir/test_quickfix.vim
15029
15030Patch 8.0.0069
15031Problem: Compiler warning for self-comparison.
15032Solution: Define ONE_WINDOW and add #ifdef.
15033Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/move.c,
15034 src/screen.c, src/quickfix.c, src/window.c
15035
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015036Patch 8.0.0070
15037Problem: Tests referred in Makefile that no longer exist.
15038Solution: Remove test71 and test74 entries. (Michael Soyka)
15039Files: src/testdir/Mak_ming.mak
15040
15041Patch 8.0.0071
15042Problem: Exit value from a shell command is wrong. (Hexchain Tong)
15043Solution: Do not check for ended jobs while waiting for a shell command.
15044 (ichizok, closes #1196)
15045Files: src/os_unix.c
15046
15047Patch 8.0.0072
15048Problem: MS-Windows: Crash with long font name. (Henry Hu)
15049Solution: Fix comparing with LF_FACESIZE. (Ken Takata, closes #1243)
15050Files: src/os_mswin.c
15051
15052Patch 8.0.0073 (after 8.0.0069)
15053Problem: More comparisons between firstwin and lastwin.
15054Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi)
15055Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/option.c,
15056 src/window.c
15057
15058Patch 8.0.0074
15059Problem: Cannot make Vim fail on an internal error.
15060Solution: Add IEMSG() and IEMSG2(). (Dominique Pelle) Avoid reporting an
15061 internal error without mentioning where.
15062Files: src/globals.h, src/blowfish.c, src/dict.c, src/edit.c, src/eval.c,
15063 src/evalfunc.c, src/ex_eval.c, src/getchar.c, src/gui_beval.c,
15064 src/gui_w32.c, src/hangulin.c, src/hashtab.c, src/if_cscope.c,
15065 src/json.c, src/memfile.c, src/memline.c, src/message.c,
15066 src/misc2.c, src/option.c, src/quickfix.c, src/regexp.c,
15067 src/spell.c, src/undo.c, src/userfunc.c, src/vim.h, src/window.c,
15068 src/proto/misc2.pro, src/proto/message.pro, src/Makefile
15069
15070Patch 8.0.0075
15071Problem: Using number for exception type lacks type checking.
15072Solution: Use an enum.
15073Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c,
15074 src/proto/ex_eval.pro
15075
15076Patch 8.0.0076
15077Problem: Channel log has double parens ()().
15078Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto)
15079Files: src/channel.c
15080
15081Patch 8.0.0077
15082Problem: The GUI code is not tested by Travis.
15083Solution: Install the virtual framebuffer.
15084Files: .travis.yml
15085
15086Patch 8.0.0078
15087Problem: Accessing freed memory in quickfix.
15088Solution: Reset pointer when freeing 'errorformat'. (Dominique Pelle)
15089Files: src/quickfix.c, src/testdir/test_quickfix.vim
15090
15091Patch 8.0.0079
15092Problem: Accessing freed memory in quickfix. (Dominique Pelle)
15093Solution: Do not free the current list when adding to it.
15094Files: src/quickfix.c, src/testdir/test_quickfix.vim
15095
15096Patch 8.0.0080
15097Problem: The OS X build fails on Travis.
15098Solution: Skip the virtual framebuffer on OS X.
15099Files: .travis.yml
15100
15101Patch 8.0.0081
15102Problem: Inconsistent function names.
15103Solution: Rename do_cscope to ex_cscope. Clean up comments.
15104Files: src/ex_cmds.h, src/if_cscope.c, src/ex_docmd.c,
15105 src/proto/if_cscope.pro
15106
15107Patch 8.0.0082
15108Problem: Extension for configure should be ".ac".
15109Solution: Rename configure.in to configure.ac. (James McCoy, closes #1173)
15110Files: src/configure.in, src/configure.ac, Filelist, src/Makefile,
15111 src/blowfish.c, src/channel.c, src/config.h.in, src/main.aap,
15112 src/os_unix.c, src/INSTALL, src/mysign
15113
15114Patch 8.0.0083
15115Problem: Using freed memory with win_getid(). (Dominique Pelle)
15116Solution: For the current tab use curwin.
15117Files: src/window.c, src/testdir/test_window_id.vim
15118
15119Patch 8.0.0084
15120Problem: Using freed memory when adding to a quickfix list. (Dominique
15121 Pelle)
15122Solution: Clear the directory name.
15123Files: src/quickfix.c, src/testdir/test_quickfix.vim
15124
15125Patch 8.0.0085
15126Problem: Using freed memory with recursive function call. (Dominique Pelle)
15127Solution: Make a copy of the function name.
15128Files: src/eval.c, src/testdir/test_nested_function.vim
15129
15130Patch 8.0.0086
15131Problem: Cannot add a comment after ":hide". (Norio Takagi)
15132Solution: Make it work, add a test. (Hirohito Higashi)
15133Files: src/Makefile, src/ex_cmds.h, src/ex_docmd.c,
15134 src/testdir/Make_all.mak, src/testdir/test_hide.vim
15135
15136Patch 8.0.0087
15137Problem: When the channel callback gets job info the job may already have
15138 been deleted. (lifepillar)
15139Solution: Do not delete the job when the channel is still useful. (ichizok,
15140 closes #1242, closes #1245)
15141Files: src/channel.c, src/eval.c, src/os_unix.c, src/os_win32.c,
15142 src/structs.h, src/testdir/test_channel.vim
15143
15144Patch 8.0.0088
15145Problem: When a test fails in Setup or Teardown the problem is not reported.
15146Solution: Add a try/catch. (Hirohito Higashi)
15147Files: src/testdir/runtest.vim
15148
15149Patch 8.0.0089
15150Problem: Various problems with GTK 3.22.2.
15151Solution: Fix the problems, add #ifdefs. (Kazunobu Kuriyama)
15152Files: src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c
15153
15154Patch 8.0.0090
15155Problem: Cursor moved after last character when using 'breakindent'.
15156Solution: Fix the cursor positioning. Turn the breakindent test into new
15157 style. (Christian Brabandt)
15158Files: src/screen.c, src/testdir/Make_all.mak,
15159 src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok,
15160 src/testdir/test_breakindent.vim, src/Makefile
15161
15162Patch 8.0.0091
15163Problem: Test_help_complete sometimes fails in MS-Windows console.
15164Solution: Use getcompletion() instead of feedkeys() and command line
15165 completion. (Hirohito Higashi)
15166Files: src/testdir/test_help_tagjump.vim
15167
15168Patch 8.0.0092
15169Problem: C indenting does not support nested namespaces that C++ 17 has.
15170Solution: Add check that passes double colon inside a name. (Pauli, closes
15171 #1214)
15172Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
15173
15174Patch 8.0.0093
15175Problem: Not using multiprocess build feature.
15176Solution: Enable multiprocess build with MSVC 10. (Ken Takata)
15177Files: src/Make_mvc.mak
15178
15179Patch 8.0.0094
15180Problem: When vimrun.exe is not found the error message is not properly
15181 encoded.
15182Solution: Use utf-16 and MessageBoxW(). (Ken Takata)
15183Files: src/os_win32.c
15184
15185Patch 8.0.0095
15186Problem: Problems with GTK 3.22.2 fixed in 3.22.4.
15187Solution: Adjust the #ifdefs. (Kazunobu Kuriyama)
15188Files: src/gui_gtk_x11.c
15189
15190Patch 8.0.0096
15191Problem: When the input or output is not a tty Vim appears to hang.
15192Solution: Add the --ttyfail argument. Also add the "ttyin" and "ttyout"
15193 features to be able to check in Vim script.
15194Files: src/globals.h, src/structs.h, src/main.c, src/evalfunc.c,
15195 runtime/doc/starting.txt, runtime/doc/eval.txt
15196
15197Patch 8.0.0097
15198Problem: When a channel callback consumes a lot of time Vim becomes
15199 unresponsive. (skywind)
15200Solution: Bail out of checking channel readahead after 100 msec.
15201Files: src/os_unix.c, src/misc2.c, src/vim.h, src/os_win32.c,
15202 src/channel.c
15203
15204Patch 8.0.0098 (after 8.0.0097)
15205Problem: Can't build on MS-Windows.
15206Solution: Add missing parenthesis.
15207Files: src/vim.h
15208
15209Patch 8.0.0099
15210Problem: Popup menu always appears above the cursor when it is in the lower
15211 half of the screen. (Matt Gardner)
15212Solution: Compute the available space better. (Hirohito Higashi,
15213 closes #1241)
15214Files: src/popupmnu.c
15215
15216Patch 8.0.0100
15217Problem: Options that are a file name may contain non-filename characters.
15218Solution: Check for more invalid characters.
15219Files: src/option.c
15220
15221Patch 8.0.0101
15222Problem: Some options are not strictly checked.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015223Solution: Add flags for stricter checks.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015224Files: src/option.c
15225
15226Patch 8.0.0102 (after 8.0.0101)
15227Problem: Cannot set 'dictionary' to a path.
15228Solution: Allow for slash and backslash. Add a test (partly by Daisuke
15229 Suzuki, closes #1279, closes #1284)
15230Files: src/option.c, src/testdir/test_options.vim
15231
15232Patch 8.0.0103
15233Problem: May not process channel readahead. (skywind)
15234Solution: If there is readahead don't block on input.
15235Files: src/channel.c, src/proto/channel.pro, src/os_unix.c,
15236 src/os_win32.c, src/misc2.c
15237
15238Patch 8.0.0104
15239Problem: Value of 'thesaurus' option not checked properly.
15240Solution: Add P_NDNAME flag. (Daisuke Suzuki)
15241Files: src/option.c, src/testdir/test_options.vim
15242
15243Patch 8.0.0105
15244Problem: When using ch_read() with zero timeout, can't tell the difference
15245 between reading an empty line and nothing available.
15246Solution: Add ch_canread().
15247Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro,
15248 src/testdir/test_channel.vim, src/testdir/shared.vim,
15249 runtime/doc/eval.txt, runtime/doc/channel.txt
15250
15251Patch 8.0.0106 (after 8.0.0100)
15252Problem: Cannot use a semicolon in 'backupext'. (Jeff)
15253Solution: Allow for a few more characters when "secure" isn't set.
15254Files: src/option.c
15255
15256Patch 8.0.0107
15257Problem: When reading channel output in a timer, messages may go missing.
15258 (Skywind)
15259Solution: Add the "drop" option. Write error messages in the channel log.
15260 Don't have ch_canread() check for the channel being open.
15261Files: src/structs.h, src/channel.c, src/message.c, src/evalfunc.c,
15262 src/proto/channel.pro, runtime/doc/channel.txt
15263
15264Patch 8.0.0108 (after 8.0.0107)
15265Problem: The channel "drop" option is not tested.
15266Solution: Add a test.
15267Files: src/testdir/test_channel.vim
15268
15269Patch 8.0.0109
15270Problem: Still checking if memcmp() exists while every system should have
15271 it now.
15272Solution: Remove vim_memcmp(). (James McCoy, closes #1295)
15273Files: src/config.h.in, src/configure.ac, src/misc2.c, src/os_vms_conf.h,
15274 src/osdef1.h.in, src/search.c, src/tag.c, src/vim.h
15275
15276Patch 8.0.0110
15277Problem: Drop command doesn't use existing window.
15278Solution: Check the window width properly. (Hirohito Higashi)
15279Files: src/buffer.c, src/testdir/test_tabpage.vim
15280
15281Patch 8.0.0111
15282Problem: The :history command is not tested.
15283Solution: Add tests. (Dominique Pelle)
15284Files: runtime/doc/cmdline.txt, src/testdir/test_history.vim
15285
15286Patch 8.0.0112
15287Problem: Tests 92 and 93 are old style.
15288Solution: Make test92 and test93 new style. (Hirohito Higashi, closes #1289)
15289Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
15290 src/testdir/test92.in, src/testdir/test92.ok,
15291 src/testdir/test93.in, src/testdir/test93.ok,
15292 src/testdir/test_mksession.vim,
15293 src/testdir/test_mksession_utf8.vim
15294
15295Patch 8.0.0113
15296Problem: MS-Windows: message box to prompt for saving changes may appear on
15297 the wrong monitor.
15298Solution: Adjust the CenterWindow function. (Ken Takata)
15299Files: src/gui_w32.c
15300
15301Patch 8.0.0114
15302Problem: Coding style not optimal.
15303Solution: Add spaces. (Ken Takata)
15304Files: src/gui_w32.c, src/os_mswin.c
15305
15306Patch 8.0.0115
15307Problem: When building with Cygwin libwinpthread isn't found.
15308Solution: Link winpthread statically. (jmmerz, closes #1255, closes #1256)
15309Files: src/Make_cyg_ming.mak
15310
15311Patch 8.0.0116
15312Problem: When reading English help and using CTRl-] the language from
15313 'helplang' is used.
15314Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito
15315 Higashi, closes #1249)
15316Files: src/tag.c, src/testdir/test_help_tagjump.vim
15317
15318Patch 8.0.0117
15319Problem: Parallel make fails. (J. Lewis Muir)
15320Solution: Make sure the objects directory exists. (closes #1259)
15321Files: src/Makefile
15322
15323Patch 8.0.0118
15324Problem: "make proto" adds extra function prototype.
15325Solution: Add #ifdef.
15326Files: src/misc2.c
15327
15328Patch 8.0.0119
15329Problem: No test for using CTRL-R on the command line.
15330Solution: Add a test. (Dominique Pelle) And some more.
15331Files: src/testdir/test_cmdline.vim
15332
15333Patch 8.0.0120
15334Problem: Channel test is still flaky on OS X.
15335Solution: Set the drop argument to "never".
15336Files: src/testdir/test_channel.vim
15337
15338Patch 8.0.0121
15339Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler)
15340Solution: Add the P_RWINONLY flag. (closes #1297)
15341Files: src/option.c, src/testdir/test_goto.vim
15342
15343Patch 8.0.0122
15344Problem: Channel test is still flaky on OS X.
15345Solution: Add a short sleep.
15346Files: src/testdir/test_channel.py
15347
15348Patch 8.0.0123
15349Problem: Modern Sun compilers define "__sun" instead of "sun".
15350Solution: Use __sun. (closes #1296)
15351Files: src/mbyte.c, src/pty.c, src/os_unixx.h, src/vim.h
15352
15353Patch 8.0.0124
15354Problem: Internal error for assert_inrange(1, 1).
15355Solution: Adjust number of allowed arguments. (Dominique Pelle)
15356Files: src/evalfunc.c, src/testdir/test_assert.vim
15357
15358Patch 8.0.0125
15359Problem: Not enough testing for entering Ex commands.
15360Solution: Add test for CTRL-\ e {expr}. (Dominique Pelle)
15361Files: src/testdir/test_cmdline.vim
15362
15363Patch 8.0.0126
15364Problem: Display problem with 'foldcolumn' and a wide character.
15365 (esiegerman)
15366Solution: Don't use "extra" but an allocated buffer. (Christian Brabandt,
15367 closes #1310)
15368Files: src/screen.c, src/testdir/Make_all.mak, src/Makefile,
15369 src/testdir/test_display.vim
15370
15371Patch 8.0.0127
15372Problem: Cancelling completion still inserts text when formatting is done
15373 for 'textwidth'. (lacygoill)
15374Solution: Don't format when CTRL-E was typed. (Hirohito Higashi,
15375 closes #1312)
15376Files: src/edit.c, src/testdir/test_popup.vim
15377
15378Patch 8.0.0128 (after 8.0.0126)
15379Problem: Display test fails on MS-Windows.
15380Solution: Set 'isprint' to "@".
15381Files: src/testdir/test_display.vim
15382
15383Patch 8.0.0129
15384Problem: Parallel make still doesn't work. (Lewis Muir)
15385Solution: Define OBJ_MAIN.
15386Files: src/Makefile
15387
15388Patch 8.0.0130
15389Problem: Configure uses "ushort" while the Vim code doesn't.
15390Solution: Use "unsigned short" instead. (Fredrik Fornwall, closes #1314)
15391Files: src/configure.ac, src/auto/configure
15392
15393Patch 8.0.0131
15394Problem: Not enough test coverage for syntax commands.
15395Solution: Add more tests. (Dominique Pelle)
15396Files: src/testdir/test_syntax.vim
15397
15398Patch 8.0.0132 (after 8.0.0131)
15399Problem: Test fails because of using :finish.
15400Solution: Change to return.
15401Files: src/testdir/test_syntax.vim
15402
15403Patch 8.0.0133
15404Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle)
15405Solution: Check the cursor line earlier.
15406Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
15407
15408Patch 8.0.0134
15409Problem: Null pointer access reported by UBsan.
15410Solution: Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan)
15411Files: src/ex_cmds.c
15412
15413Patch 8.0.0135
15414Problem: An address relative to the current line, ":.,+3y", does not work
15415 properly on a closed fold. (Efraim Yawitz)
15416Solution: Correct for including the closed fold. (Christian Brabandt)
15417Files: src/ex_docmd.c, src/testdir/test_fold.vim,
15418 src/testdir/Make_all.mak, src/Makefile
15419
15420Patch 8.0.0136
15421Problem: When using indent folding and changing indent the wrong fold is
15422 opened. (Jonathan Fudger)
15423Solution: Open the fold under the cursor a bit later. (Christian Brabandt)
15424Files: src/ops.c, src/testdir/test_fold.vim
15425
15426Patch 8.0.0137
15427Problem: When 'maxfuncdepth' is set above 200 the nesting is limited to
15428 200. (Brett Stahlman)
15429Solution: Allow for Ex command recursion depending on 'maxfuncdepth'.
15430Files: src/ex_docmd.c, src/testdir/test_nested_function.vim
15431
15432Patch 8.0.0138 (after 8.0.0137)
15433Problem: Small build fails.
15434Solution: Add #ifdef.
15435Files: src/ex_docmd.c
15436
15437Patch 8.0.0139 (after 8.0.0135)
15438Problem: Warning for unused argument.
15439Solution: Add UNUSED.
15440Files: src/ex_docmd.c
15441
15442Patch 8.0.0140
15443Problem: Pasting inserted text in Visual mode does not work properly.
15444 (Matthew Malcomson)
15445Solution: Stop Visual mode before stuffing the inserted text. (Christian
15446 Brabandt, from neovim #5709)
15447Files: src/ops.c, src/testdir/test_visual.vim
15448
15449Patch 8.0.0141 (after 8.0.0137)
15450Problem: Nested function test fails on AppVeyor.
15451Solution: Disable the test on Windows for now.
15452Files: src/testdir/test_nested_function.vim
15453
15454Patch 8.0.0142
15455Problem: Normal colors are wrong with 'termguicolors'.
15456Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes
15457 #1344)
15458Files: src/syntax.c
15459
15460Patch 8.0.0143
15461Problem: Line number of current buffer in getbufinfo() is wrong.
15462Solution: For the current buffer use the current line number. (Ken Takata)
15463Files: src/evalfunc.c
15464
15465Patch 8.0.0144
15466Problem: When using MSVC the GvimExt directory is cleaned twice.
15467Solution: Remove the lines. (Ken Takata)
15468Files: src/Make_mvc.mak
15469
15470Patch 8.0.0145
15471Problem: Running tests on MS-Windows is a little bit noisy.
15472Solution: Redirect some output to "nul". (Ken Takata)
15473Files: src/testdir/Make_dos.mak
15474
15475Patch 8.0.0146
15476Problem: When using 'termguicolors' on MS-Windows the RGB definition causes
15477 the colors to be wrong.
15478Solution: Undefined RGB and use our own. (Gabriel Barta)
15479Files: src/term.c
15480
15481Patch 8.0.0147
15482Problem: searchpair() does not work when 'magic' is off. (Chris Paul)
15483Solution: Add \m in the pattern. (Christian Brabandt, closes #1341)
15484Files: src/evalfunc.c, src/testdir/test_search.vim
15485
15486Patch 8.0.0148
15487Problem: When a C preprocessor statement has two line continuations the
15488 following line does not have the right indent. (Ken Takata)
15489Solution: Add the indent of the previous continuation line. (Hirohito
15490 Higashi)
15491Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
15492
15493Patch 8.0.0149
15494Problem: ":earlier" and ":later" do not work after startup or reading the
15495 undo file.
15496Solution: Use absolute time stamps instead of relative to the Vim start
15497 time. (Christian Brabandt, Pavel Juhas, closes #1300, closes
15498 #1254)
15499Files: src/testdir/test_undo.vim, src/undo.c
15500
15501Patch 8.0.0150
15502Problem: When the pattern of :filter does not have a separator then
15503 completion of the command fails.
Bram Moolenaar01164a62017-11-02 22:58:42 +010015504Solution: Skip over the pattern. (Ozaki Kiichi, closes #1299)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015505Files: src/ex_docmd.c, src/testdir/test_filter_cmd.vim
15506
15507Patch 8.0.0151
15508Problem: To pass buffer content to system() and systemlist() one has to
15509 first create a string or list.
15510Solution: Allow passing a buffer number. (LemonBoy, closes #1240)
15511Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c,
15512 src/testdir/Make_all.mak, src/testdir/test_system.vim
15513
15514Patch 8.0.0152
15515Problem: Running the channel test creates channellog.
15516Solution: Delete the debug line.
15517Files: src/testdir/test_channel.vim
15518
15519Patch 8.0.0153 (after 8.0.0151)
15520Problem: system() test fails on MS-Windows.
15521Solution: Deal with extra space and CR.
15522Files: src/testdir/test_system.vim
15523
15524Patch 8.0.0154 (after 8.0.0151)
15525Problem: system() test fails on OS/X.
15526Solution: Deal with leading spaces.
15527Files: src/testdir/test_system.vim
15528
15529Patch 8.0.0155
15530Problem: When sorting zero elements a NULL pointer is passed to qsort(),
15531 which ubsan warns for.
15532Solution: Don't call qsort() if there are no elements. (Dominique Pelle)
15533Files: src/syntax.c
15534
15535Patch 8.0.0156
15536Problem: Several float functions are not covered by tests.
15537Solution: Add float tests. (Dominique Pelle)
15538Files: src/Makefile, src/testdir/test_alot.vim,
15539 src/testdir/test_float_func.vim
15540
15541Patch 8.0.0157
15542Problem: No command line completion for ":syntax spell" and ":syntax sync".
15543Solution: Implement the completion. (Dominique Pelle)
15544Files: src/syntax.c, src/testdir/test_syntax.vim
15545
15546Patch 8.0.0158 (after 8.0.0156)
15547Problem: On MS-Windows some float functions return a different value when
15548 passed unusual values. strtod() doesn't work for "inf" and "nan".
15549Solution: Accept both results. Fix str2float() for MS-Windows. Also
15550 reorder assert function arguments.
15551Files: src/testdir/test_float_func.vim, src/eval.c
15552
15553Patch 8.0.0159
15554Problem: Using a NULL pointer when using feedkeys() to trigger drawing a
15555 tabline.
15556Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
15557 Also fix recursing into getcmdline() from the cmd window.
15558Files: src/screen.c, src/ex_getln.c
15559
15560Patch 8.0.0160
15561Problem: EMSG() is sometimes used for internal errors.
15562Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
15563Files: src/regexp_nfa.c, src/channel.c, src/eval.c
15564
15565Patch 8.0.0161 (after 8.0.0159)
15566Problem: Build fails when using small features.
15567Solution: Update #ifdef for using save_ccline. (Hirohito Higashi)
15568Files: src/ex_getln.c
15569
15570Patch 8.0.0162
15571Problem: Build error on Fedora 23 with small features and gnome2.
15572Solution: Undefine ngettext(). (Hirohito Higashi)
15573Files: src/gui_gtk.c, src/gui_gtk_x11.c
15574
15575Patch 8.0.0163
15576Problem: Ruby 2.4 no longer supports rb_cFixnum.
15577Solution: move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365)
15578Files: src/if_ruby.c
15579
15580Patch 8.0.0164
15581Problem: Outdated and misplaced comments.
15582Solution: Fix the comments.
15583Files: src/charset.c, src/getchar.c, src/list.c, src/misc2.c,
15584 src/testdir/README.txt
15585
15586Patch 8.0.0165
15587Problem: Ubsan warns for integer overflow.
15588Solution: Swap two conditions. (Dominique Pelle)
15589Files: src/regexp_nfa.c
15590
15591Patch 8.0.0166
15592Problem: JSON with a duplicate key gives an internal error. (Lcd)
15593Solution: Give a normal error. Avoid an error when parsing JSON from a
15594 remote client fails.
15595Files: src/evalfunc.c, src/json.c, src/channel.c,
15596 src/testdir/test_json.vim
15597
15598Patch 8.0.0167
15599Problem: str2nr() and str2float() do not always work with negative values.
15600Solution: Be more flexible about handling signs. (LemonBoy, closes #1332)
15601 Add more tests.
15602Files: src/evalfunc.c, src/testdir/test_float_func.vim,
15603 src/testdir/test_functions.vim, src/testdir/test_alot.vim,
15604 src/Makefile
15605
15606Patch 8.0.0168
15607Problem: Still some float functionality is not covered by tests.
15608Solution: Add more tests. (Dominique Pelle, closes #1364)
15609Files: src/testdir/test_float_func.vim
15610
15611Patch 8.0.0169
15612Problem: For complicated string json_decode() may run out of stack space.
15613Solution: Change the recursive solution into an iterative solution.
15614Files: src/json.c
15615
15616Patch 8.0.0170 (after 8.0.0169)
15617Problem: Channel test fails for using freed memory.
15618Solution: Fix memory use in json_decode().
15619Files: src/json.c
15620
15621Patch 8.0.0171
15622Problem: JS style JSON does not support single quotes.
15623Solution: Allow for single quotes. (Yasuhiro Matsumoto, closes #1371)
15624Files: src/json.c, src/testdir/test_json.vim, src/json_test.c,
15625 runtime/doc/eval.txt
15626
15627Patch 8.0.0172 (after 8.0.0159)
15628Problem: The command selected in the command line window is not executed.
15629 (Andrey Starodubtsev)
15630Solution: Save and restore the command line at a lower level. (closes #1370)
15631Files: src/ex_getln.c, src/testdir/test_history.vim
15632
15633Patch 8.0.0173
15634Problem: When compiling with EBCDIC defined the build fails. (Yaroslav
15635 Kuzmin)
15636Solution: Move sortFunctions() to the right file. Avoid warning for
15637 redefining __SUSV3.
15638Files: src/eval.c, src/evalfunc.c, src/os_unixx.h
15639
15640Patch 8.0.0174
15641Problem: For completion "locale -a" is executed on MS-Windows, even though
15642 it most likely won't work.
15643Solution: Skip executing "locale -a" on MS-Windows. (Ken Takata)
15644Files: src/ex_cmds2.c
15645
15646Patch 8.0.0175
15647Problem: Setting language in gvim on MS-Windows does not work when
15648 libintl.dll is dynamically linked with msvcrt.dll.
15649Solution: Use putenv() from libintl as well. (Ken Takata, closes #1082)
15650Files: src/mbyte.c, src/misc1.c, src/os_win32.c, src/proto/os_win32.pro,
15651 src/vim.h
15652
15653Patch 8.0.0176
15654Problem: Using :change in between :function and :endfunction fails.
15655Solution: Recognize :change inside a function. (ichizok, closes #1374)
15656Files: src/userfunc.c, src/testdir/test_viml.vim
15657
15658Patch 8.0.0177
15659Problem: When opening a buffer on a directory and inside a try/catch then
15660 the BufEnter event is not triggered.
15661Solution: Return NOTDONE from readfile() for a directory and deal with the
15662 three possible return values. (Justin M. Keyes, closes #1375,
15663 closes #1353)
15664Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/fileio.c,
15665 src/memline.c
15666
15667Patch 8.0.0178
15668Problem: test_command_count may fail when a previous test interferes, seen
15669 on MS-Windows.
15670Solution: Run it separately.
15671Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
15672
15673Patch 8.0.0179
15674Problem: 'formatprg' is a global option but the value may depend on the
15675 type of buffer. (Sung Pae)
15676Solution: Make 'formatprg' global-local. (closes #1380)
15677Files: src/structs.h, src/option.h, src/option.c, src/normal.c,
15678 runtime/doc/options.txt, src/testdir/test_normal.vim
15679
15680Patch 8.0.0180
15681Problem: Error E937 is used both for duplicate key in JSON and for trying
15682 to delete a buffer that is in use.
15683Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376)
15684Files: src/json.c, src/testdir/test_json.vim
15685
15686Patch 8.0.0181
15687Problem: When 'cursorbind' and 'cursorcolumn' are both on, the column
Bram Moolenaar2f058492017-11-30 20:27:52 +010015688 highlight in non-current windows is wrong.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015689Solution: Add validate_cursor(). (Masanori Misono, closes #1372)
15690Files: src/move.c
15691
15692Patch 8.0.0182
15693Problem: When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is
15694 not, then the cursor line highlighting is not updated. (Hirohito
15695 Higashi)
15696Solution: Call redraw_later() with NOT_VALID.
15697Files: src/move.c
15698
15699Patch 8.0.0183
15700Problem: Ubsan warns for using a pointer that is not aligned.
15701Solution: First copy the address. (Yegappan Lakshmanan)
15702Files: src/channel.c
15703
15704Patch 8.0.0184
15705Problem: When in Ex mode and an error is caught by try-catch, Vim still
15706 exits with a non-zero exit code.
15707Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian
15708 Brabandt)
15709Files: src/message.c, src/testdir/test_system.vim
15710
15711Patch 8.0.0185 (after 8.0.0184)
15712Problem: The system() test fails on MS-Windows.
15713Solution: Skip the test on MS-Windows.
15714Files: src/testdir/test_system.vim
15715
15716Patch 8.0.0186
15717Problem: The error message from assert_notequal() is confusing.
15718Solution: Only mention the expected value.
15719Files: src/eval.c, src/testdir/test_assert.vim
15720
15721Patch 8.0.0187
15722Problem: Building with a new Ruby version fails.
15723Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf,
15724 closes #1382)
15725Files: src/if_ruby.c
15726
15727Patch 8.0.0188 (after 8.0.0182)
15728Problem: Using NOT_VALID for redraw_later() to update the cursor
15729 line/column highlighting is not efficient.
15730Solution: Call validate_cursor() when 'cul' or 'cuc' is set.
15731Files: src/move.c
15732
15733Patch 8.0.0189
15734Problem: There are no tests for the :profile command.
15735Solution: Add tests. (Dominique Pelle, closes #1383)
15736Files: src/Makefile, src/testdir/Make_all.mak,
15737 src/testdir/test_profile.vim
15738
15739Patch 8.0.0190
15740Problem: Detecting duplicate tags uses a slow linear search.
15741Solution: Use a much faster hash table solution. (James McCoy, closes #1046)
15742 But don't add hi_keylen, it makes hash tables 50% bigger.
15743Files: src/tag.c
15744
15745Patch 8.0.0191 (after 8.0.0187)
15746Problem: Some systems do not have ruby_sysinit(), causing the build to
15747 fail.
15748Solution: Clean up how ruby_sysinit() and NtInitialize() are used. (Taro
15749 Muraoka)
15750Files: src/if_ruby.c
15751
15752Patch 8.0.0192 (after 8.0.0190)
15753Problem: Build fails with tiny features.
15754Solution: Change #ifdef for hash_clear(). Avoid warning for unused
15755 argument.
15756Files: src/hashtab.c, src/if_cscope.c
15757
15758Patch 8.0.0193 (after 8.0.0188)
15759Problem: Accidentally removed #ifdef.
15760Solution: Put it back. (Masanori Misono)
15761Files: src/move.c
15762
15763Patch 8.0.0194 (after 8.0.0189)
15764Problem: Profile tests fails if total and self time are equal.
15765Solution: Make one time optional.
15766Files: src/testdir/test_profile.vim
15767
15768Patch 8.0.0195 (after 8.0.0190)
15769Problem: Jumping to a tag that is a static item in the current file fails.
15770 (Kazunobu Kuriyama)
15771Solution: Make sure the first byte of the tag key is not NUL. (Suggested by
15772 James McCoy, closes #1387)
15773Files: src/tag.c, src/testdir/test_tagjump.vim
15774
15775Patch 8.0.0196 (after 8.0.0194)
15776Problem: The test for :profile is slow and does not work on MS-Windows.
15777Solution: Use the "-es" argument. (Dominique Pelle) Swap single and double
15778 quotes for system()
15779Files: src/testdir/test_profile.vim
15780
15781Patch 8.0.0197
15782Problem: On MS-Windows the system() test skips a few parts.
15783Solution: Swap single and double quotes for the command.
15784Files: src/testdir/test_system.vim
15785
15786Patch 8.0.0198
15787Problem: Some syntax arguments take effect even after "if 0". (Taylor
15788 Venable)
15789Solution: Properly skip the syntax statements. Make "syn case" and "syn
15790 conceal" report the current state. Fix that "syn clear" didn't
15791 reset the conceal flag. Add tests for :syntax skipping properly.
15792Files: src/syntax.c, src/testdir/test_syntax.vim
15793
15794Patch 8.0.0199
15795Problem: Warning for an unused parameter when the libcall feature is
15796 disabled. Warning for a function type cast when compiling with
15797 -pedantic.
15798Solution: Add UNUSED. Use a different type cast. (Damien Molinier)
15799Files: src/evalfunc.c, src/os_unix.c
15800
15801Patch 8.0.0200
15802Problem: Some syntax arguments are not tested.
15803Solution: Add more syntax command tests.
15804Files: src/testdir/test_syntax.vim
15805
15806Patch 8.0.0201
15807Problem: When completing a group name for a highlight or syntax command
15808 cleared groups are included.
15809Solution: Skip groups that have been cleared.
15810Files: src/syntax.c, src/testdir/test_syntax.vim
15811
15812Patch 8.0.0202
15813Problem: No test for invalid syntax group name.
15814Solution: Add a test for group name error and warning.
15815Files: src/testdir/test_syntax.vim
15816
15817Patch 8.0.0203
15818Problem: Order of complication flags is sometimes wrong.
15819Solution: Put interface-specific flags before ALL_CFLAGS. (idea by Yousong
15820 Zhou, closes #1100)
15821Files: src/Makefile
15822
15823Patch 8.0.0204
15824Problem: Compiler warns for uninitialized variable. (Tony Mechelynck)
15825Solution: When skipping set "id" to -1.
15826Files: src/syntax.c
15827
15828Patch 8.0.0205
15829Problem: After :undojoin some commands don't work properly, such as :redo.
15830 (Matthew Malcomson)
15831Solution: Don't set curbuf->b_u_curhead. (closes #1390)
15832Files: src/undo.c, src/testdir/test_undo.vim
15833
15834Patch 8.0.0206
15835Problem: Test coverage for :retab insufficient.
15836Solution: Add test for :retab. (Dominique Pelle, closes #1391)
15837Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_retab.vim
15838
15839Patch 8.0.0207
15840Problem: Leaking file descriptor when system() cannot find the buffer.
15841 (Coverity)
15842Solution: Close the file descriptor. (Dominique Pelle, closes #1398)
15843Files: src/evalfunc.c
15844
15845Patch 8.0.0208
15846Problem: Internally used commands for CTRL-Z and mouse click end up in
15847 history. (Matthew Malcomson)
15848Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead
15849 buffer. (James McCoy, closes #1395)
15850Files: src/edit.c, src/normal.c
15851
15852Patch 8.0.0209
15853Problem: When using :substitute with the "c" flag and 'cursorbind' is set
15854 the cursor is not updated in other windows.
15855Solution: Call do_check_cursorbind(). (Masanori Misono)
15856Files: src/ex_cmds.c
15857
15858Patch 8.0.0210
15859Problem: Vim does not support bracketed paste, as implemented by xterm and
15860 other terminals.
15861Solution: Add t_BE, t_BD, t_PS and t_PE.
15862Files: src/term.c, src/term.h, src/option.c, src/misc2.c, src/keymap.h,
15863 src/edit.c, src/normal.c, src/evalfunc.c, src/getchar.c,
15864 src/vim.h, src/proto/edit.pro, runtime/doc/term.txt
15865
15866Patch 8.0.0211 (after 8.0.0210)
15867Problem: Build fails if the multi-byte feature is disabled.
15868Solution: Change #ifdef around ins_char_bytes.
15869Files: src/misc1.c
15870
15871Patch 8.0.0212
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015872Problem: The buffer used to store a key name theoretically could be too
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015873 small. (Coverity)
15874Solution: Count all possible modifier characters. Add a check for the
15875 length just in case.
15876Files: src/keymap.h, src/misc2.c
15877
15878Patch 8.0.0213
15879Problem: The Netbeans "specialKeys" command does not check if the argument
15880 fits in the buffer. (Coverity)
15881Solution: Add a length check.
15882Files: src/netbeans.c
15883
15884Patch 8.0.0214
15885Problem: Leaking memory when syntax cluster id is unknown. (Coverity)
15886Solution: Free the memory.
15887Files: src/syntax.c
15888
15889Patch 8.0.0215
15890Problem: When a Cscope line contains CTRL-L a NULL pointer may be used.
15891 (Coverity)
15892Solution: Don't check for an emacs tag in a cscope line.
15893Files: src/tag.c
15894
15895Patch 8.0.0216
15896Problem: When decoding JSON with a JS style object the JSON test may use a
15897 NULL pointer. (Coverity)
15898Solution: Check for a NULL pointer.
15899Files: src/json.c, src/json_test.c
15900
15901Patch 8.0.0217 (after 8.0.0215)
15902Problem: Build fails without the cscope feature.
15903Solution: Add #ifdef.
15904Files: src/tag.c
15905
15906Patch 8.0.0218
15907Problem: No command line completion for :cexpr, :cgetexpr, :caddexpr, etc.
15908Solution: Make completion work. (Yegappan Lakshmanan) Add a test.
15909Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
15910
15911Patch 8.0.0219
15912Problem: Ubsan reports errors for integer overflow.
15913Solution: Define macros for minimum and maximum values. Select an
15914 expression based on the value. (Mike Williams)
15915Files: src/charset.c, src/eval.c, src/evalfunc.c, src/structs.h,
15916 src/testdir/test_viml.vim
15917
15918Patch 8.0.0220
15919Problem: Completion for :match does not show "none" and other missing
15920 highlight names.
15921Solution: Skip over cleared entries before checking the index to be at the
15922 end.
15923Files: src/syntax.c, src/testdir/test_cmdline.vim
15924
15925Patch 8.0.0221
15926Problem: Checking if PROTO is defined inside a function has no effect.
15927Solution: Remove the check for PROTO. (Hirohito Higashi)
15928Files: src/misc1.c
15929
15930Patch 8.0.0222
15931Problem: When a multi-byte character ends in a zero byte, putting blockwise
15932 text puts it before the character instead of after it.
15933Solution: Use int instead of char for the character under the cursor.
15934 (Luchr, closes #1403) Add a test.
15935Files: src/ops.c, src/testdir/test_put.vim, src/Makefile,
15936 src/testdir/test_alot.vim
15937
15938Patch 8.0.0223
15939Problem: Coverity gets confused by the flags passed to find_tags() and
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015940 warns about uninitialized variable.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015941Solution: Disallow using cscope and help tags at the same time.
15942Files: src/tag.c
15943
15944Patch 8.0.0224
15945Problem: When 'fileformats' is changed in a BufReadPre auto command, it
15946 does not take effect in readfile(). (Gary Johnson)
15947Solution: Check the value of 'fileformats' after executing auto commands.
15948 (Christian Brabandt)
15949Files: src/fileio.c, src/testdir/test_fileformat.vim
15950
15951Patch 8.0.0225
15952Problem: When a block is visually selected and put is used on the end of
15953 the selection only one line is changed.
15954Solution: Check for the end properly. (Christian Brabandt, neovim issue
15955 5781)
15956Files: src/ops.c, src/testdir/test_put.vim
15957
15958Patch 8.0.0226
15959Problem: The test for patch 8.0.0224 misses the CR characters and passes
15960 even without the fix. (Christian Brabandt)
15961Solution: Use double quotes and \<CR>.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020015962Files: src/testdir/test_fileformat.vim
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015963
15964Patch 8.0.0227
15965Problem: Crash when 'fileformat' is forced to "dos" and the first line in
15966 the file is empty and does not have a CR character.
15967Solution: Don't check for CR before the start of the buffer.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020015968Files: src/fileio.c, src/testdir/test_fileformat.vim
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015969
15970Patch 8.0.0228 (after 8.0.0210)
15971Problem: When pasting test in an xterm on the command line it is surrounded
15972 by <PasteStart> and <PasteEnd>. (Johannes Kaltenbach)
15973Solution: Add missing changes.
15974Files: src/ex_getln.c, src/term.c
15975
15976Patch 8.0.0229 (after 8.0.0179)
15977Problem: When freeing a buffer the local value of the 'formatprg' option is
15978 not cleared.
15979Solution: Add missing change.
15980Files: src/buffer.c
15981
15982Patch 8.0.0230 (after 8.0.0210)
15983Problem: When using bracketed paste line breaks are not respected.
15984Solution: Turn CR characters into a line break if the text is being
15985 inserted. (closes #1404)
15986Files: src/edit.c
15987
15988Patch 8.0.0231
15989Problem: There are no tests for bracketed paste mode.
15990Solution: Add a test. Fix repeating with "normal .".
15991Files: src/edit.c, src/testdir/test_paste.vim, src/Makefile,
15992 src/testdir/Make_all.mak
15993
15994Patch 8.0.0232
15995Problem: Pasting in Insert mode does not work when bracketed paste is used
15996 and 'esckeys' is off.
15997Solution: When 'esckeys' is off disable bracketed paste in Insert mode.
15998Files: src/edit.c
15999
16000Patch 8.0.0233 (after 8.0.0231)
16001Problem: The paste test fails if the GUI is being used.
16002Solution: Skip the test in the GUI.
16003Files: src/testdir/test_paste.vim
16004
16005Patch 8.0.0234 (after 8.0.0225)
16006Problem: When several lines are visually selected and one of them is short,
16007 using put may cause a crash. (Axel Bender)
16008Solution: Check for a short line. (Christian Brabandt)
16009Files: src/ops.c, src/testdir/test_put.vim
16010
16011Patch 8.0.0235
16012Problem: Memory leak detected when running tests for diff mode.
16013Solution: Free p_extra_free.
16014Files: src/screen.c
16015
16016Patch 8.0.0236 (after 8.0.0234)
16017Problem: Gcc complains that a variable may be used uninitialized. Confusion
16018 between variable and label name. (John Marriott)
16019Solution: Initialize it. Rename end to end_lnum.
16020Files: src/ops.c
16021
16022Patch 8.0.0237
16023Problem: When setting wildoptions=tagfile the completion context is not set
16024 correctly. (desjardins)
16025Solution: Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes #1399)
16026Files: src/ex_getln.c, src/testdir/test_cmdline.vim
16027
16028Patch 8.0.0238
16029Problem: When using bracketed paste autoindent causes indent to be
16030 increased.
16031Solution: Disable 'ai' and set 'paste' temporarily. (Ken Takata)
16032Files: src/edit.c, src/testdir/test_paste.vim
16033
16034Patch 8.0.0239
16035Problem: The address sanitizer sometimes finds errors, but it needs to be
16036 run manually.
16037Solution: Add an environment to Travis with clang and the address sanitizer.
16038 (Christian Brabandt) Also include changes only on github.
16039Files: .travis.yml
16040
16041Patch 8.0.0240 (after 8.0.0239)
16042Problem: The clang build on CI fails with one configuration.
16043Solution: Redo a previous patch that was accidentally reverted.
16044Files: .travis.yml
16045
16046Patch 8.0.0241
16047Problem: Vim defines a mch_memmove() function but it doesn't work, thus is
16048 always unused.
16049Solution: Remove the mch_memmove implementation. (suggested by Dominique
16050 Pelle)
16051Files: src/os_unix.h, src/misc2.c, src/vim.h
16052
16053Patch 8.0.0242
16054Problem: Completion of user defined functions is not covered by tests.
16055Solution: Add tests. Also test various errors of user-defined commands.
16056 (Dominique Pelle, closes #1413)
16057Files: src/testdir/test_usercommands.vim
16058
16059Patch 8.0.0243
16060Problem: When making a character lower case with tolower() changes the byte
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016061 count, it is not made lower case.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016062Solution: Add strlow_save(). (Dominique Pelle, closes #1406)
16063Files: src/evalfunc.c, src/misc2.c, src/proto/misc2.pro,
16064 src/testdir/test_functions.vim
16065
16066Patch 8.0.0244
16067Problem: When the user sets t_BE empty after startup to disable bracketed
16068 paste, this has no direct effect.
16069Solution: When t_BE is made empty write t_BD. When t_BE is made non-empty
16070 write the new value.
16071Files: src/option.c
16072
16073Patch 8.0.0245
16074Problem: The generated zh_CN.cp936.po message file is not encoded properly.
16075Solution: Instead of using zh_CN.po as input, use zh_CN.UTF-8.po.
16076Files: src/po/Makefile
16077
16078Patch 8.0.0246
16079Problem: Compiler warnings for int to pointer conversion.
16080Solution: Fix macro for mch_memmove(). (John Marriott)
16081Files: src/vim.h
16082
16083Patch 8.0.0247
16084Problem: Under some circumstances, one needs to type Ctrl-N or Ctrl-P twice
16085 to have a menu entry selected. (Lifepillar)
16086Solution: call ins_compl_free(). (Christian Brabandt, closes #1411)
16087Files: src/edit.c, src/testdir/test_popup.vim
16088
16089Patch 8.0.0248
16090Problem: vim_strcat() cannot handle overlapping arguments.
16091Solution: Use mch_memmove() instead of strcpy(). (Justin M Keyes,
16092 closes #1415)
16093Files: src/misc2.c
16094
16095Patch 8.0.0249
16096Problem: When two submits happen quick after each other, the tests for the
16097 first one may error out.
16098Solution: Use a git depth of 10 instead of 1. (Christian Brabandt)
16099Files: .travis.yml
16100
16101Patch 8.0.0250
16102Problem: When virtcol() gets a column that is not the first byte of a
16103 multi-byte character the result is unpredictable. (Christian
16104 Ludwig)
16105Solution: Correct the column to the first byte of a multi-byte character.
16106 Change the utf-8 test to new style.
16107Files: src/charset.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok,
16108 src/testdir/test_utf8.vim, src/Makefile, src/testdir/Make_all.mak,
16109 src/testdir/test_alot_utf8.vim
16110
16111Patch 8.0.0251
16112Problem: It is not so easy to write a script that works with both Python 2
16113 and Python 3, even when the Python code works with both.
16114Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata)
16115Files: Filelist, runtime/doc/eval.txt, runtime/doc/if_pyth.txt,
16116 runtime/doc/index.txt, runtime/doc/options.txt,
16117 runtime/optwin.vim, runtime/doc/quickref.txt,
16118 runtime/doc/usr_41.txt, src/Makefile, src/evalfunc.c,
16119 src/ex_cmds.h, src/ex_cmds2.c, src/ex_docmd.c, src/if_python.c,
16120 src/if_python3.c, src/option.c, src/option.h,
16121 src/proto/ex_cmds2.pro, src/testdir/Make_all.mak,
16122 src/testdir/pyxfile/py2_magic.py,
16123 src/testdir/pyxfile/py2_shebang.py,
16124 src/testdir/pyxfile/py3_magic.py,
16125 src/testdir/pyxfile/py3_shebang.py, src/testdir/pyxfile/pyx.py,
16126 src/testdir/test_pyx2.vim, src/testdir/test_pyx3.vim
16127 src/userfunc.c
16128
16129Patch 8.0.0252
16130Problem: Characters below 256 that are not one byte are not always
16131 recognized as word characters.
16132Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test
16133 for this. (Ozaki Kiichi)
16134Files: src/Makefile, src/charset.c, src/kword_test.c, src/mbyte.c,
16135 src/proto/mbyte.pro
16136
16137Patch 8.0.0253
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016138Problem: When creating a session when 'winminheight' is 2 or larger and
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016139 loading that session gives an error.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016140Solution: Also set 'winminheight' before setting 'winheight' to 1. (Rafael
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016141 Bodill, neovim #5717)
16142Files: src/ex_docmd.c, src/testdir/test_mksession.vim
16143
16144Patch 8.0.0254
16145Problem: When using an assert function one can either specify a message or
16146 get a message about what failed, not both.
16147Solution: Concatenate the error with the message.
16148Files: src/eval.c, src/testdir/test_assert.vim
16149
16150Patch 8.0.0255
16151Problem: When calling setpos() with a buffer argument it often is ignored.
16152 (Matthew Malcomson)
16153Solution: Make the buffer argument work for all marks local to a buffer.
16154 (neovim #5713) Add more tests.
16155Files: src/mark.c, src/testdir/test_marks.vim, runtime/doc/eval.txt
16156
16157Patch 8.0.0256 (after 8.0.0255)
16158Problem: Tests fail because some changes were not included.
16159Solution: Add changes to evalfunc.c
16160Files: src/evalfunc.c
16161
16162Patch 8.0.0257 (after 8.0.0252)
16163Problem: The keyword test file is not included in the archive.
16164Solution: Update the list of files.
16165Files: Filelist
16166
16167Patch 8.0.0258 (after 8.0.0253)
16168Problem: mksession test leaves file behind.
16169Solution: Delete the file. Rename files to start with "X".
16170Files: src/testdir/test_mksession.vim
16171
16172Patch 8.0.0259
16173Problem: Tab commands do not handle count correctly. (Ken Hamada)
16174Solution: Add ADDR_TABS_RELATIVE. (Hirohito Higashi)
16175Files: runtime/doc/tabpage.txt, src/ex_cmds.h, src/ex_docmd.c,
16176 src/testdir/test_tabpage.vim
16177
16178Patch 8.0.0260
16179Problem: Build fails with tiny features.
16180Solution: Move get_tabpage_arg() inside #ifdef.
16181Files: src/ex_docmd.c
16182
16183Patch 8.0.0261
16184Problem: Not enough test coverage for eval functions.
16185Solution: Add more tests. (Dominique Pelle, closes #1420)
16186Files: src/testdir/test_functions.vim
16187
16188Patch 8.0.0262
16189Problem: Farsi support is barely tested.
16190Solution: Add more tests for Farsi. Clean up the code.
16191Files: src/edit.c, src/farsi.c, src/testdir/test_farsi.vim
16192
16193Patch 8.0.0263
16194Problem: Farsi support is not tested enough.
16195Solution: Add more tests for Farsi. Clean up the code.
16196Files: src/farsi.c, src/testdir/test_farsi.vim
16197
16198Patch 8.0.0264
16199Problem: Memory error reported by ubsan, probably for using the string
16200 returned by execute().
16201Solution: NUL terminate the result of execute().
16202Files: src/evalfunc.c
16203
16204Patch 8.0.0265
16205Problem: May get ml_get error when :pydo deletes lines or switches to
16206 another buffer. (Nikolai Pavlov, issue #1421)
16207Solution: Check the buffer and line every time.
16208Files: src/if_py_both.h, src/testdir/test_python2.vim,
16209 src/testdir/test_python3.vim, src/Makefile,
16210 src/testdir/Make_all.mak
16211
16212Patch 8.0.0266
16213Problem: Compiler warning for using uninitialized variable.
16214Solution: Set tab_number also when there is an error.
16215Files: src/ex_docmd.c
16216
16217Patch 8.0.0267
16218Problem: A channel test sometimes fails on Mac.
16219Solution: Add the test to the list of flaky tests.
16220Files: src/testdir/runtest.vim
16221
16222Patch 8.0.0268
16223Problem: May get ml_get error when :luado deletes lines or switches to
16224 another buffer. (Nikolai Pavlov, issue #1421)
16225Solution: Check the buffer and line every time.
16226Files: src/if_lua.c, src/testdir/test_lua.vim, src/Makefile,
16227 src/testdir/Make_all.mak
16228
16229Patch 8.0.0269
16230Problem: May get ml_get error when :perldo deletes lines or switches to
16231 another buffer. (Nikolai Pavlov, issue #1421)
16232Solution: Check the buffer and line every time.
16233Files: src/if_perl.xs, src/testdir/test_perl.vim
16234
16235Patch 8.0.0270
16236Problem: May get ml_get error when :rubydo deletes lines or switches to
16237 another buffer. (Nikolai Pavlov, issue #1421)
16238Solution: Check the buffer and line every time.
16239Files: src/if_ruby.c, src/testdir/test_ruby.vim
16240
16241Patch 8.0.0271
16242Problem: May get ml_get error when :tcldo deletes lines or switches to
16243 another buffer. (Nikolai Pavlov, closes #1421)
16244Solution: Check the buffer and line every time.
16245Files: src/if_tcl.c, src/testdir/test_tcl.vim, src/Makefile,
16246 src/testdir/Make_all.mak
16247
16248Patch 8.0.0272
16249Problem: Crash on exit is not detected when running tests.
16250Solution: Remove the dash before the command. (Dominique Pelle, closes
16251 #1425)
16252Files: src/testdir/Makefile
16253
16254Patch 8.0.0273
16255Problem: Dead code detected by Coverity when not using gnome.
16256Solution: Rearrange the #ifdefs to avoid dead code.
16257Files: src/gui_gtk_x11.c
16258
16259Patch 8.0.0274
16260Problem: When update_single_line() is called recursively, or another screen
16261 update happens while it is busy, errors may occur.
16262Solution: Check and update updating_screen. (Christian Brabandt)
16263Files: src/screen.c
16264
16265Patch 8.0.0275
16266Problem: When checking for CTRL-C typed the GUI may detect a screen resize
16267 and redraw the screen, causing trouble.
16268Solution: Set updating_screen in ui_breakcheck().
16269Files: src/ui.c
16270
16271Patch 8.0.0276
16272Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary.
16273Solution: Remove the #ifdef. (Kazunobu Kuriyama)
16274Files: src/gui_gtk_x11.c
16275
16276Patch 8.0.0277
16277Problem: The GUI test may trigger fontconfig and take a long time.
16278Solution: Set $XDG_CACHE_HOME. (Kazunobu Kuriyama)
16279Files: src/testdir/unix.vim, src/testdir/test_gui.vim
16280
16281Patch 8.0.0278 (after 8.0.0277)
16282Problem: GUI test fails on MS-Windows.
16283Solution: Check that tester_HOME exists.
16284Files: src/testdir/test_gui.vim
16285
16286Patch 8.0.0279
16287Problem: With MSVC 2015 the dll name is vcruntime140.dll.
16288Solution: Check the MSVC version and use the right dll name. (Ken Takata)
16289Files: src/Make_mvc.mak
16290
16291Patch 8.0.0280
16292Problem: On MS-Windows setting an environment variable with multi-byte
16293 strings does not work well.
16294Solution: Use wputenv when possible. (Taro Muraoka, Ken Takata)
16295Files: src/misc1.c, src/os_win32.c, src/os_win32.h,
16296 src/proto/os_win32.pro, src/vim.h
16297
16298Patch 8.0.0281
16299Problem: MS-Windows files are still using ARGSUSED while most other files
16300 have UNUSED.
16301Solution: Change ARGSUSED to UNUSED or delete it.
16302Files: src/os_win32.c, src/gui_w32.c, src/os_mswin.c, src/os_w32exe.c,
16303 src/winclip.c
16304
16305Patch 8.0.0282
16306Problem: When doing a Visual selection and using "I" to go to insert mode,
16307 CTRL-O needs to be used twice to go to Normal mode. (Coacher)
16308Solution: Check for the return value of edit(). (Christian Brabandt,
16309 closes #1290)
16310Files: src/normal.c, src/ops.c
16311
16312Patch 8.0.0283
16313Problem: The return value of mode() does not indicate that completion is
16314 active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu)
16315Solution: Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan,
16316 closes #1397) Test some more modes.
16317Files: runtime/doc/eval.txt, src/evalfunc.c,
16318 src/testdir/test_functions.vim, src/testdir/test_mapping.vim
16319
16320Patch 8.0.0284
16321Problem: The Test_collapse_buffers() test failed once, looks like it is
16322 flaky.
16323Solution: Add it to the list of flaky tests.
16324Files: src/testdir/runtest.vim
16325
16326Patch 8.0.0285 (after 8.0.0277)
16327Problem: Tests fail with tiny build on Unix.
16328Solution: Only set g:tester_HOME when build with the +eval feature.
16329Files: src/testdir/unix.vim
16330
16331Patch 8.0.0286
16332Problem: When concealing is active and the screen is resized in the GUI it
16333 is not immediately redrawn.
16334Solution: Use update_prepare() and update_finish() from
16335 update_single_line().
16336Files: src/screen.c
16337
16338Patch 8.0.0287
16339Problem: Cannot access the arguments of the current function in debug mode.
16340 (Luc Hermitte)
16341Solution: use get_funccal(). (Lemonboy, closes #1432, closes #1352)
16342Files: src/userfunc.c
16343
16344Patch 8.0.0288 (after 8.0.0284)
16345Problem: Errors reported while running tests.
16346Solution: Put comma in the right place.
16347Files: src/testdir/runtest.vim
16348
16349Patch 8.0.0289
16350Problem: No test for "ga" and :ascii.
16351Solution: Add a test. (Dominique Pelle, closes #1429)
16352Files: src/Makefile, src/testdir/test_alot.vim, src/testdir/test_ga.vim
16353
16354Patch 8.0.0290
16355Problem: If a wide character doesn't fit at the end of the screen line, and
16356 the line doesn't fit on the screen, then the cursor position may
16357 be wrong. (anliting)
16358Solution: Don't skip over wide character. (Christian Brabandt, closes #1408)
16359Files: src/screen.c
16360
16361Patch 8.0.0291 (after 8.0.0282)
16362Problem: Visual block insertion does not insert in all lines.
16363Solution: Don't bail out of insert too early. Add a test. (Christian
16364 Brabandt, closes #1290)
16365Files: src/ops.c, src/testdir/test_visual.vim
16366
16367Patch 8.0.0292
16368Problem: The stat test is a bit slow.
16369Solution: Remove a couple of sleep comments and reduce another.
16370Files: src/testdir/test_stat.vim
16371
16372Patch 8.0.0293
16373Problem: Some tests have a one or three second wait.
16374Solution: Reset the 'showmode' option. Use a test time of one to disable
16375 sleep after an error or warning message.
16376Files: src/misc1.c, src/testdir/runtest.vim, src/testdir/test_normal.vim
16377
16378Patch 8.0.0294
16379Problem: Argument list is not stored correctly in a session file.
16380 (lgpasquale)
16381Solution: Use "$argadd" instead of "argadd". (closes #1434)
16382Files: src/ex_docmd.c, src/testdir/test_mksession.vim
16383
16384Patch 8.0.0295 (after 8.0.0293)
16385Problem: test_viml hangs.
16386Solution: Put resetting 'more' before sourcing the script.
16387Files: src/testdir/runtest.vim
16388
16389Patch 8.0.0296
16390Problem: Bracketed paste can only append, not insert.
16391Solution: When the cursor is in the first column insert the text.
16392Files: src/normal.c, src/testdir/test_paste.vim, runtime/doc/term.txt
16393
16394Patch 8.0.0297
16395Problem: Double free on exit when using a closure. (James McCoy)
16396Solution: Split free_al_functions in two parts. (closes #1428)
16397Files: src/userfunc.c, src/structs.h
16398
16399Patch 8.0.0298
16400Problem: Ex command range with repeated search does not work. (Bruce
16401 DeVisser)
16402Solution: Skip over \/, \? and \&.
16403Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
16404
16405Patch 8.0.0299
16406Problem: When the GUI window is resized Vim does not always take over the
16407 new size. (Luchr)
16408Solution: Reset new_p_guifont in gui_resize_shell(). Call
16409 gui_may_resize_shell() in the main loop.
16410Files: src/main.c, src/gui.c
16411
16412Patch 8.0.0300
16413Problem: Cannot stop diffing hidden buffers. (Daniel Hahler)
16414Solution: When using :diffoff! make the whole list if diffed buffers empty.
16415 (closes #736)
16416Files: src/diff.c, src/testdir/test_diffmode.vim
16417
16418Patch 8.0.0301
16419Problem: No tests for ":set completion" and various errors of the :set
16420 command.
16421Solution: Add more :set tests. (Dominique Pelle, closes #1440)
16422Files: src/testdir/test_options.vim
16423
16424Patch 8.0.0302
16425Problem: Cannot set terminal key codes with :let.
16426Solution: Make it work.
16427Files: src/option.c, src/testdir/test_assign.vim
16428
16429Patch 8.0.0303
16430Problem: Bracketed paste does not work in Visual mode.
16431Solution: Delete the text before pasting
16432Files: src/normal.c, src/ops.c, src/proto/ops.pro,
16433 src/testdir/test_paste.vim
16434
16435Patch 8.0.0304 (after 8.0.0302)
16436Problem: Assign test fails in the GUI.
16437Solution: Skip the test for setting t_k1.
16438Files: src/testdir/test_assign.vim
16439
16440Patch 8.0.0305
16441Problem: Invalid memory access when option has duplicate flag.
16442Solution: Correct pointer computation. (Dominique Pelle, closes #1442)
16443Files: src/option.c, src/testdir/test_options.vim
16444
16445Patch 8.0.0306
16446Problem: mode() not sufficiently tested.
16447Solution: Add more tests. (Yegappan Lakshmanan)
16448Files: src/testdir/test_functions.vim
16449
16450Patch 8.0.0307
16451Problem: Asan detects a memory error when EXITFREE is defined. (Dominique
16452 Pelle)
16453Solution: In getvcol() check for ml_get_buf() returning an empty string.
16454 Also skip adjusting the scroll position. Set "exiting" in
16455 mch_exit() for all systems.
16456Files: src/charset.c, src/window.c, src/os_mswin.c, src/os_win32.c,
16457 src/os_amiga.c
16458
16459Patch 8.0.0308
16460Problem: When using a symbolic link, the package path will not be inserted
16461 at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi)
16462Solution: Resolve symbolic links when finding the right position in
16463 'runtimepath'. (Hirohito Higashi)
16464Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
16465
16466Patch 8.0.0309
16467Problem: Cannot use an empty key in json.
16468Solution: Allow for using an empty key.
16469Files: src/json.c, src/testdir/test_json.vim
16470
16471Patch 8.0.0310
16472Problem: Not enough testing for GUI functionality.
16473Solution: Add tests for v:windowid and getwinpos[xy](). (Kazunobu Kuriyama)
16474Files: src/testdir/test_gui.vim
16475
16476Patch 8.0.0311
16477Problem: Linebreak tests are old style.
16478Solution: Turn the tests into new style. Share utility functions. (Ozaki
16479 Kiichi, closes #1444)
16480Files: src/Makefile, src/testdir/Make_all.mak,
16481 src/testdir/test_breakindent.vim, src/testdir/test_listlbr.in,
16482 src/testdir/test_listlbr.ok, src/testdir/test_listlbr.vim,
16483 src/testdir/test_listlbr_utf8.in,
16484 src/testdir/test_listlbr_utf8.ok,
16485 src/testdir/test_listlbr_utf8.vim, src/testdir/view_util.vim
16486
16487Patch 8.0.0312
16488Problem: When a json message arrives in pieces, the start is dropped and
16489 the decoding fails.
16490Solution: Do not drop the start when it is still needed. (Kay Zheng) Add a
16491 test. Reset the timeout when something is received.
16492Files: src/channel.c, src/testdir/test_channel.vim, src/structs.h,
16493 src/testdir/test_channel_pipe.py
16494
16495Patch 8.0.0313 (after 8.0.0310)
16496Problem: Not enough testing for GUI functionality.
16497Solution: Add tests for the GUI font. (Kazunobu Kuriyama)
16498Files: src/testdir/test_gui.vim
16499
16500Patch 8.0.0314
16501Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested.
16502Solution: Add tests. (Yegappan Lakshmanan)
16503Files: src/testdir/test_cmdline.vim
16504
16505Patch 8.0.0315
16506Problem: ":help :[range]" does not work. (Tony Mechelynck)
16507Solution: Translate to insert a backslash.
16508Files: src/ex_cmds.c
16509
16510Patch 8.0.0316
16511Problem: ":help z?" does not work. (Pavol Juhas)
16512Solution: Remove exception for z?.
16513Files: src/ex_cmds.c
16514
16515Patch 8.0.0317
16516Problem: No test for setting 'guifont'.
16517Solution: Add a test for X11 GUIs. (Kazunobu Kuriyama)
16518Files: src/testdir/test_gui.vim
16519
16520Patch 8.0.0318
16521Problem: Small mistake in 7x13 font name.
16522Solution: Use ISO 8859-1 name instead of 10646-1. (Kazunobu Kuriyama)
16523Files: src/testdir/test_gui.vim
16524
16525Patch 8.0.0319
16526Problem: Insert mode completion does not respect "start" in 'backspace'.
16527Solution: Check whether backspace can go before where insert started.
16528 (Hirohito Higashi)
16529Files: src/edit.c, src/testdir/test_popup.vim
16530
16531Patch 8.0.0320
16532Problem: Warning for unused variable with small build.
16533Solution: Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)
16534Files: src/ex_getln.c
16535
16536Patch 8.0.0321
16537Problem: When using the tiny version trying to load the matchit plugin
16538 gives an error. On MS-Windows some default mappings fail.
16539Solution: Add a check if the command used is available. (Christian Brabandt)
16540Files: runtime/mswin.vim, runtime/macros/matchit.vim
16541
16542Patch 8.0.0322
16543Problem: Possible overflow with spell file where the tree length is
16544 corrupted.
16545Solution: Check for an invalid length (suggested by shqking)
16546Files: src/spellfile.c
16547
16548Patch 8.0.0323
16549Problem: When running the command line tests there is a one second wait.
16550Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan)
16551Files: src/testdir/test_cmdline.vim
16552
16553Patch 8.0.0324
16554Problem: Illegal memory access with "1;y".
16555Solution: Call check_cursor() instead of check_cursor_lnum(). (Dominique
16556 Pelle, closes #1455)
16557Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
16558
16559Patch 8.0.0325
16560Problem: Packadd test does not clean up symlink.
16561Solution: Delete the link. (Hirohito Higashi)
16562Files: src/testdir/test_packadd.vim
16563
16564Patch 8.0.0326 (after 8.0.0325)
16565Problem: Packadd test uses wrong directory name.
16566Solution: Use the variable name value. (Hirohito Higashi)
16567Files: src/testdir/test_packadd.vim
16568
16569Patch 8.0.0327
16570Problem: The E11 error message in the command line window is not
16571 translated.
16572Solution: use _(). (Hirohito Higashi)
16573Files: src/ex_docmd.c
16574
16575Patch 8.0.0328
16576Problem: The "zero count" error doesn't have a number. (Hirohito Higashi)
16577Solution: Give it a number and be more specific about the error.
16578Files: src/globals.h
16579
16580Patch 8.0.0329
16581Problem: Xfontset and guifontwide are not tested.
16582Solution: Add tests. (Kazunobu Kuriyama)
16583Files: src/testdir/test_gui.vim
16584
16585Patch 8.0.0330
16586Problem: Illegal memory access after "vapo". (Dominique Pelle)
16587Solution: Fix the cursor column.
16588Files: src/search.c, src/testdir/test_visual.vim
16589
16590Patch 8.0.0331
16591Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle)
16592Solution: Don't restore a snapshot when the window closes.
16593Files: src/window.c, src/Makefile, src/testdir/Make_all.mak,
16594 src/testdir/test_help.vim
16595
16596Patch 8.0.0332
16597Problem: GUI test fails on some systems.
16598Solution: Try different language settings. (Kazunobu Kuriyama)
16599Files: src/testdir/test_gui.vim
16600
16601Patch 8.0.0333
16602Problem: Illegal memory access when 'complete' ends in a backslash.
16603Solution: Check for trailing backslash. (Dominique Pelle, closes #1478)
16604Files: src/option.c, src/testdir/test_options.vim
16605
16606Patch 8.0.0334
16607Problem: Can't access b:changedtick from a dict reference.
16608Solution: Make changedtick a member of the b: dict. (inspired by neovim
16609 #6112)
16610Files: src/structs.h, src/buffer.c, src/edit.c, src/eval.c,
16611 src/evalfunc.c, src/ex_docmd.c, src/main.c, src/globals.h,
16612 src/fileio.c, src/memline.c, src/misc1.c, src/syntax.c,
16613 src/proto/eval.pro, src/testdir/test_changedtick.vim,
16614 src/Makefile, src/testdir/test_alot.vim, src/testdir/test91.in,
16615 src/testdir/test91.ok, src/testdir/test_functions.vim
16616
16617Patch 8.0.0335 (after 8.0.0335)
16618Problem: Functions test fails.
16619Solution: Use the right buffer number.
16620Files: src/testdir/test_functions.vim
16621
16622Patch 8.0.0336
16623Problem: Flags of :substitute not sufficiently tested.
16624Solution: Test up to two letter flag combinations. (James McCoy, closes
16625 #1479)
16626Files: src/testdir/test_substitute.vim
16627
16628Patch 8.0.0337
16629Problem: Invalid memory access in :recover command.
16630Solution: Avoid access before directory name. (Dominique Pelle,
16631 closes #1488)
16632Files: src/Makefile, src/memline.c, src/testdir/test_alot.vim,
16633 src/testdir/test_recover.vim
16634
16635Patch 8.0.0338 (after 8.0.0337)
16636Problem: :recover test fails on MS-Windows.
16637Solution: Use non-existing directory on MS-Windows.
16638Files: src/testdir/test_recover.vim
16639
16640Patch 8.0.0339
16641Problem: Illegal memory access with vi'
16642Solution: For quoted text objects bail out if the Visual area spans more
16643 than one line.
16644Files: src/search.c, src/testdir/test_visual.vim
16645
16646Patch 8.0.0340
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016647Problem: Not checking return value of dict_add(). (Coverity)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016648Solution: Handle a failure.
16649Files: src/buffer.c
16650
16651Patch 8.0.0341
16652Problem: When using complete() and typing a character undo is saved after
16653 the character was inserted. (Shougo)
16654Solution: Save for undo before inserting the character.
16655Files: src/edit.c, src/testdir/test_popup.vim
16656
16657Patch 8.0.0342
16658Problem: Double free when compiled with EXITFREE and setting 'ttytype'.
16659Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
16660 closes #1461)
16661Files: src/option.c, src/testdir/test_options.vim
16662
16663Patch 8.0.0343
16664Problem: b:changedtick can be unlocked, even though it has no effect.
16665 (Nikolai Pavlov)
16666Solution: Add a check and error E940. (closes #1496)
16667Files: src/eval.c, src/testdir/test_changedtick.vim, runtime/doc/eval.txt
16668
16669Patch 8.0.0344
16670Problem: Unlet command leaks memory. (Nikolai Pavlov)
16671Solution: Free the memory on error. (closes #1497)
16672Files: src/eval.c, src/testdir/test_unlet.vim
16673
16674Patch 8.0.0345
16675Problem: islocked('d.changedtick') does not work.
16676Solution: Make it work.
16677Files: src/buffer.c, src/eval.c, src/evalfunc.c, src/vim.h,
16678 src/testdir/test_changedtick.vim,
16679
16680Patch 8.0.0346
16681Problem: Vim relies on limits.h to be included indirectly, but on Solaris 9
16682 it may not be. (Ben Fritz)
16683Solution: Always include limits.h.
16684Files: src/os_unixx.h, src/vim.h
16685
16686Patch 8.0.0347
16687Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment
16688 leader may not work. (Klement)
16689Solution: Save and restore did_ai. (Christian Brabandt, closes #1494)
16690Files: src/edit.c, src/testdir/test_popup.vim
16691
16692Patch 8.0.0348
16693Problem: When building with a shadow directory on macOS lacks the
16694 +clipboard feature.
16695Solution: Link *.m files, specifically os_macosx.m. (Kazunobu Kuriyama)
16696Files: src/Makefile
16697
16698Patch 8.0.0349
16699Problem: Redrawing errors with GTK 3.
16700Solution: When updating, first clear all rectangles and then draw them.
16701 (Kazunobu Kuriyama, Christian Ludwig, closes #848)
16702Files: src/gui_gtk_x11.c
16703
16704Patch 8.0.0350
16705Problem: Not enough test coverage for Perl.
16706Solution: Add more Perl tests. (Dominique Perl, closes #1500)
16707Files: src/testdir/test_perl.vim
16708
16709Patch 8.0.0351
16710Problem: No test for concatenating an empty string that results from out of
16711 bounds indexing.
16712Solution: Add a simple test.
16713Files: src/testdir/test_expr.vim
16714
16715Patch 8.0.0352
16716Problem: The condition for when a typval needs to be cleared is too
16717 complicated.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016718Solution: Init the type to VAR_UNKNOWN and always clear it.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016719Files: src/eval.c
16720
16721Patch 8.0.0353
16722Problem: If [RO] in the status line is translated to a longer string, it is
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016723 truncated to 4 bytes.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016724Solution: Skip over the resulting string. (Jente Hidskes, closes #1499)
16725Files: src/screen.c
16726
16727Patch 8.0.0354
16728Problem: Test to check that setting termcap key fails sometimes.
16729Solution: Check for "t_k1" to exist. (Christian Brabandt, closes #1459)
16730Files: src/testdir/test_assign.vim
16731
16732Patch 8.0.0355
16733Problem: Using uninitialized memory when 'isfname' is empty.
16734Solution: Don't call getpwnam() without an argument. (Dominique Pelle,
16735 closes #1464)
16736Files: src/misc1.c, src/testdir/test_options.vim
16737
16738Patch 8.0.0356 (after 8.0.0342)
16739Problem: Leaking memory when setting 'ttytype'.
16740Solution: Get free_oldval from the right option entry.
16741Files: src/option.c
16742
16743Patch 8.0.0357
16744Problem: Crash when setting 'guicursor' to weird value.
16745Solution: Avoid negative size. (Dominique Pelle, closes #1465)
16746Files: src/misc2.c, src/testdir/test_options.vim
16747
16748Patch 8.0.0358
16749Problem: Invalid memory access in C-indent code.
16750Solution: Don't go over end of empty line. (Dominique Pelle, closes #1492)
16751Files: src/edit.c, src/testdir/test_options.vim
16752
16753Patch 8.0.0359
16754Problem: 'number' and 'relativenumber' are not properly tested.
16755Solution: Add tests, change old style to new style tests. (Ozaki Kiichi,
16756 closes #1447)
16757Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
16758 src/testdir/test89.in, src/testdir/test89.ok,
16759 src/testdir/test_alot.vim, src/testdir/test_findfile.vim,
16760 src/testdir/test_number.vim
16761
16762Patch 8.0.0360
16763Problem: Sometimes VimL is used, which is confusing.
16764Solution: Consistently use "Vim script". (Hirohito Higashi)
16765Files: runtime/doc/if_mzsch.txt, runtime/doc/if_pyth.txt,
16766 runtime/doc/syntax.txt, runtime/doc/usr_02.txt,
16767 runtime/doc/version7.txt, src/Makefile, src/eval.c,
16768 src/ex_getln.c, src/if_py_both.h, src/if_xcmdsrv.c,
16769 src/testdir/Make_all.mak, src/testdir/runtest.vim,
16770 src/testdir/test49.vim, src/testdir/test_vimscript.vim,
16771 src/testdir/test_viml.vim
16772
16773Patch 8.0.0361
16774Problem: GUI initialisation is not sufficiently tested.
16775Solution: Add the gui_init test. (Kazunobu Kuriyama)
16776Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
16777 src/testdir/Make_ming.mak, src/testdir/Makefile,
16778 src/testdir/gui_init.vim, src/testdir/setup_gui.vim,
16779 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, Filelist
16780
16781Patch 8.0.0362 (after 8.0.0361)
16782Problem: Tests fail on MS-Windows.
16783Solution: Use $*.vim instead of $<.
16784Files: src/testdir/Make_dos.mak
16785
16786Patch 8.0.0363
16787Problem: Travis is too slow to keep up with patches.
16788Solution: Increase git depth to 20
16789Files: .travis.yml
16790
16791Patch 8.0.0364
16792Problem: ]s does not move cursor with two spell errors in one line. (Manuel
16793 Ortega)
16794Solution: Don't stop search immediately when wrapped, search the line first.
16795 (Ken Takata) Add a test.
16796Files: src/spell.c, src/Makefile, src/testdir/test_spell.vim,
16797 src/testdir/Make_all.mak
16798
16799Patch 8.0.0365
16800Problem: Might free a dict item that wasn't allocated.
16801Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for
16802 b:changedtick.
16803Files: src/dict.c, src/structs.h, src/buffer.c, src/edit.c,
16804 src/evalfunc.c, src/ex_docmd.c, src/fileio.c, src/main.c,
16805 src/memline.c, src/misc1.c, src/syntax.c
16806
16807Patch 8.0.0366 (after 8.0.0365)
16808Problem: Build fails with tiny features.
16809Solution: Add #ifdef.
16810Files: src/buffer.c
16811
16812Patch 8.0.0367
16813Problem: If configure defines _LARGE_FILES some include files are included
16814 before it is defined.
16815Solution: Include vim.h first. (Sam Thursfield, closes #1508)
16816Files: src/gui_at_sb.c, src/gui_athena.c, src/gui_motif.c, src/gui_x11.c,
16817 src/gui_xmdlg.c
16818
16819Patch 8.0.0368
16820Problem: Not all options are tested with a range of values.
16821Solution: Generate a test script from the source code.
16822Files: Filelist, src/gen_opt_test.vim, src/testdir/test_options.vim,
16823 src/Makefile
16824
16825Patch 8.0.0369 (after 8.0.0368)
16826Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are
16827 not defined without the +balloon_eval feature. Testing that an
16828 option value fails does not work for unsupported options.
16829Solution: Make the options defined but not supported. Don't test if
16830 setting unsupported options fails.
16831Files: src/option.c, src/gen_opt_test.vim
16832
16833Patch 8.0.0370
16834Problem: Invalid memory access when setting wildchar empty.
16835Solution: Avoid going over the end of the option value. (Dominique Pelle,
16836 closes #1509) Make option test check all number options with
16837 empty value.
16838Files: src/gen_opt_test.vim, src/option.c, src/testdir/test_options.vim
16839
16840Patch 8.0.0371 (after 8.0.0365)
16841Problem: Leaking memory when setting v:completed_item.
16842Solution: Or the flags instead of setting them.
16843Files: src/eval.c
16844
16845Patch 8.0.0372
16846Problem: More options are not always defined.
16847Solution: Consistently define all possible options.
16848Files: src/option.c, src/testdir/test_expand_dllpath.vim
16849
16850Patch 8.0.0373
16851Problem: Build fails without +folding.
16852Solution: Move misplaced #ifdef.
16853Files: src/option.c
16854
16855Patch 8.0.0374
16856Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
16857Solution: Avoid the column being negative. Also fix a hang in Ex mode.
16858Files: src/ex_getln.c, src/ex_cmds.c, src/testdir/test_substitute.vim
16859
16860Patch 8.0.0375
16861Problem: The "+ register is not tested.
16862Solution: Add a test using another Vim instance to change the "+ register.
16863 (Kazunobu Kuriyama)
16864Files: src/testdir/test_gui.vim
16865
16866Patch 8.0.0376
16867Problem: Size computations in spell file reading are not exactly right.
16868Solution: Make "len" a "long" and check with LONG_MAX.
16869Files: src/spellfile.c
16870
16871Patch 8.0.0377
16872Problem: Possible overflow when reading corrupted undo file.
16873Solution: Check if allocated size is not too big. (King)
16874Files: src/undo.c
16875
16876Patch 8.0.0378
16877Problem: Another possible overflow when reading corrupted undo file.
16878Solution: Check if allocated size is not too big. (King)
16879Files: src/undo.c
16880
16881Patch 8.0.0379
16882Problem: CTRL-Z and mouse click use CTRL-O unnecessary.
16883Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453)
16884Files: src/edit.c, src/normal.c
16885
16886Patch 8.0.0380
16887Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide
16888 character results in "<<" displayed.
16889Solution: Check for the character not to be replaced. (Ozaki Kiichi,
16890 closes #1456)
16891Files: src/screen.c, src/testdir/test_listlbr_utf8.vim
16892
16893Patch 8.0.0381
16894Problem: Diff mode is not sufficiently tested.
16895Solution: Add more diff mode tests. (Dominique Pelle, closes #1515)
16896Files: src/testdir/test_diffmode.vim
16897
16898Patch 8.0.0382 (after 8.0.0380)
16899Problem: Warning in tiny build for unused variable. (Tony Mechelynck)
16900Solution: Add #ifdefs.
16901Files: src/screen.c
16902
16903Patch 8.0.0383 (after 8.0.0382)
16904Problem: Misplaced #ifdef. (Christ van Willigen)
16905Solution: Split assignment.
16906Files: src/screen.c
16907
16908Patch 8.0.0384
16909Problem: Timer test failed for no apparent reason.
16910Solution: Mark the test as flaky.
16911Files: src/testdir/runtest.vim
16912
16913Patch 8.0.0385
16914Problem: No tests for arabic.
16915Solution: Add a first test for arabic. (Dominique Pelle, closes #1518)
16916Files: src/Makefile, src/testdir/Make_all.mak,
16917 src/testdir/test_arabic.vim
16918
16919Patch 8.0.0386
16920Problem: Tiny build has a problem with generating the options test.
16921Solution: Change the "if" to skip over statements.
16922Files: src/gen_opt_test.vim
16923
16924Patch 8.0.0387
16925Problem: compiler warnings
16926Solution: Add type casts. (Christian Brabandt)
16927Files: src/channel.c, src/memline.c,
16928
16929Patch 8.0.0388
16930Problem: filtering lines through "cat", without changing the line count,
16931 changes manual folds.
16932Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from
Bram Moolenaar74675a62017-07-15 13:53:23 +020016933 neovim #6194).
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016934Files: src/fold.c, src/testdir/test_fold.vim
16935
16936Patch 8.0.0389
16937Problem: Test for arabic does not check what is displayed.
16938Solution: Improve what is asserted. (Dominique Pelle, closes #1523)
16939 Add a first shaping test.
16940Files: src/testdir/test_arabic.vim
16941
16942Patch 8.0.0390
16943Problem: When the window scrolls horizontally when the popup menu is
16944 displayed part of it may not be cleared. (Neovim issue #6184)
16945Solution: Remove the menu when the windows scrolled. (closes #1524)
16946Files: src/edit.c
16947
16948Patch 8.0.0391
16949Problem: Arabic support is verbose and not well tested.
16950Solution: Simplify the code. Add more tests.
16951Files: src/arabic.c, src/testdir/test_arabic.vim
16952
16953Patch 8.0.0392
16954Problem: GUI test fails with Athena and Motif.
16955Solution: Add test_ignore_error(). Use it to ignore the "failed to create
16956 input context" error.
16957Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
16958 src/testdir/test_gui.vim, runtime/doc/eval.txt
16959
16960Patch 8.0.0393 (after 8.0.0190)
16961Problem: When the same tag appears more than once, the order is
16962 unpredictable. (Charles Campbell)
16963Solution: Besides using a dict for finding duplicates, use a grow array for
16964 keeping the tags in sequence.
16965Files: src/tag.c, src/testdir/test_tagjump.vim
16966
16967Patch 8.0.0394
16968Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't
16969 fit. (Axel Bender)
16970Solution: Handle a Tab as a not fitting character. (Christian Brabandt)
16971 Also fix that ":redraw" does not scroll horizontally to show the
16972 cursor. And fix the test that depended on the old behavior.
16973Files: src/screen.c, src/ex_docmd.c, src/testdir/test_listlbr.vim,
16974 src/testdir/test_listlbr_utf8.vim,
16975 src/testdir/test_breakindent.vim
16976
16977Patch 8.0.0395 (after 8.0.0392)
16978Problem: Testing the + register fails with Motif.
16979Solution: Also ignore the "failed to create input context" error in the
16980 second gvim. Don't use msg() when it would result in a dialog.
16981Files: src/message.c, src/testdir/test_gui.vim, src/testdir/setup_gui.vim
16982
16983Patch 8.0.0396
16984Problem: 'balloonexpr' only works synchronously.
16985Solution: Add balloon_show(). (Jusufadis Bakamovic, closes #1449)
16986Files: runtime/doc/eval.txt, src/evalfunc.c, src/os_unix.c,
16987 src/os_win32.c
16988
16989Patch 8.0.0397 (after 8.0.0392)
16990Problem: Cannot build with the viminfo feature but without the eval
16991 feature.
16992Solution: Adjust #ifdef. (John Marriott)
16993Files: src/message.c, src/misc2.c
16994
16995Patch 8.0.0398
16996Problem: Illegal memory access with "t".
16997Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528)
16998Files: src/search.c, src/testdir/test_search.vim
16999
17000Patch 8.0.0399
17001Problem: Crash when using balloon_show() when not supported. (Hirohito
17002 Higashi)
17003Solution: Check for balloonEval not to be NULL. (Ken Takata)
17004Files: src/evalfunc.c, src/testdir/test_functions.vim
17005
17006Patch 8.0.0400
17007Problem: Some tests have a one second delay.
17008Solution: Add --not-a-term in RunVim().
17009Files: src/testdir/shared.vim
17010
17011Patch 8.0.0401
17012Problem: Test fails with missing balloon feature.
17013Solution: Add check for balloon feature.
17014Files: src/testdir/test_functions.vim
17015
17016Patch 8.0.0402
17017Problem: :map completion does not have <special>. (Dominique Pelle)
17018Solution: Recognize <special> in completion. Add a test.
17019Files: src/getchar.c, src/testdir/test_cmdline.vim
17020
17021Patch 8.0.0403
17022Problem: GUI tests may fail.
17023Solution: Ignore the E285 error better. (Kazunobu Kuriyama)
17024Files: src/testdir/test_gui.vim, src/testdir/test_gui_init.vim
17025
17026Patch 8.0.0404
17027Problem: Not enough testing for quickfix.
17028Solution: Add some more tests. (Yegappan Lakshmanan)
17029Files: src/testdir/test_quickfix.vim
17030
17031Patch 8.0.0405
17032Problem: v:progpath may become invalid after ":cd".
17033Solution: Turn v:progpath into a full path if needed.
17034Files: src/main.c, src/testdir/test_startup.vim, runtime/doc/eval.txt
17035
17036Patch 8.0.0406
17037Problem: The arabic shaping code is verbose.
17038Solution: Shorten the code without changing the functionality.
17039Files: src/arabic.c
17040
17041Patch 8.0.0407 (after 8.0.0388)
17042Problem: Filtering folds with marker method not tested.
17043Solution: Also set 'foldmethod' to "marker".
17044Files: src/testdir/test_fold.vim
17045
17046Patch 8.0.0408
17047Problem: Updating folds does not work properly when inserting a file and a
17048 few other situations.
17049Solution: Adjust the way folds are updated. (Matthew Malcomson)
17050Files: src/fold.c, src/testdir/test_fold.vim
17051
17052Patch 8.0.0409
17053Problem: set_progpath is defined but not always used
17054Solution: Adjust #ifdef.
17055Files: src/main.c
17056
17057Patch 8.0.0410
17058Problem: Newer gettext/iconv library has extra dll file.
17059Solution: Add the file to the Makefile and nsis script. (Christian Brabandt)
17060Files: Makefile, nsis/gvim.nsi
17061
17062Patch 8.0.0411
17063Problem: We can't change the case in menu entries, it breaks translations.
17064Solution: Ignore case when looking up a menu translation.
17065Files: src/menu.c, src/testdir/test_menu.vim
17066
17067Patch 8.0.0412 (after 8.0.0411)
17068Problem: Menu test fails on MS-Windows.
17069Solution: Use a menu entry with only ASCII characters.
17070Files: src/testdir/test_menu.vim
17071
17072Patch 8.0.0413 (after 8.0.0412)
17073Problem: Menu test fails on MS-Windows using gvim.
17074Solution: First delete the English menus.
17075Files: src/testdir/test_menu.vim
17076
17077Patch 8.0.0414
17078Problem: Balloon eval is not tested.
17079Solution: Add a few balloon tests. (Kazunobu Kuriyama)
17080Files: src/testdir/test_gui.vim
17081
17082Patch 8.0.0415 (after 8.0.0414)
17083Problem: Balloon test fails on MS-Windows.
17084Solution: Test with 0x7fffffff instead of 0xffffffff.
17085Files: src/testdir/test_gui.vim
17086
17087Patch 8.0.0416
17088Problem: Setting v:progpath is not quite right.
17089Solution: On MS-Windows add the extension. On Unix use the full path for a
17090 relative directory. (partly by James McCoy, closes #1531)
17091Files: src/main.c, src/os_win32.c, src/os_unix.c
17092
17093Patch 8.0.0417
17094Problem: Test for the clipboard fails sometimes.
17095Solution: Add it to the flaky tests.
17096Files: src/testdir/runtest.vim
17097
17098Patch 8.0.0418
17099Problem: ASAN logs are disabled and don't cause a failure.
17100Solution: Enable ASAN logs and fail if not empty. (James McCoy,
17101 closes #1425)
17102Files: .travis.yml
17103
17104Patch 8.0.0419
17105Problem: Test for v:progpath fails on MS-Windows.
17106Solution: Expand to full path. Also add ".exe" when the path is an absolute
17107 path.
17108Files: src/os_win32.c, src/main.c
17109
17110Patch 8.0.0420
17111Problem: When running :make the output may be in the system encoding,
17112 different from 'encoding'.
17113Solution: Add the 'makeencoding' option. (Ken Takata)
17114Files: runtime/doc/options.txt, runtime/doc/quickfix.txt,
17115 runtime/doc/quickref.txt, src/Makefile, src/buffer.c,
17116 src/if_cscope.c, src/main.c, src/option.c, src/option.h,
17117 src/proto/quickfix.pro, src/quickfix.c, src/structs.h,
17118 src/testdir/Make_all.mak, src/testdir/test_makeencoding.py,
17119 src/testdir/test_makeencoding.vim
17120
17121Patch 8.0.0421
17122Problem: Diff mode is displayed wrong when adding a line at the end of a
17123 buffer.
17124Solution: Adjust marks in diff mode. (James McCoy, closes #1329)
17125Files: src/misc1.c, src/ops.c, src/testdir/test_diffmode.vim
17126
17127Patch 8.0.0422
17128Problem: Python test fails with Python 3.6.
17129Solution: Convert new exception messages to old ones. (closes #1359)
17130Files: src/testdir/test87.in
17131
17132Patch 8.0.0423
17133Problem: The effect of adding "#" to 'cinoptions' is not always removed.
17134 (David Briscoe)
17135Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475)
17136Files: src/misc1.c, src/Makefile, src/testdir/Make_all.mak,
17137 src/testdir/test_cindent.vim, src/testdir/test3.in
17138
17139Patch 8.0.0424
17140Problem: Compiler warnings on MS-Windows. (Ajit Thakkar)
17141Solution: Add type casts.
17142Files: src/os_win32.c
17143
17144Patch 8.0.0425
17145Problem: Build errors when building without folding.
17146Solution: Add #ifdefs. (John Marriott)
17147Files: src/diff.c, src/edit.c, src/option.c, src/syntax.c
17148
17149Patch 8.0.0426
17150Problem: Insufficient testing for statusline.
17151Solution: Add several tests. (Dominique Pelle, closes #1534)
17152Files: src/testdir/test_statusline.vim
17153
17154Patch 8.0.0427
17155Problem: 'makeencoding' missing from the options window.
17156Solution: Add the entry.
17157Files: runtime/optwin.vim
17158
17159Patch 8.0.0428
17160Problem: Git and hg see new files after running tests. (Manuel Ortega)
17161Solution: Add the generated file to .hgignore (or .gitignore). Delete the
17162 resulting verbose file. (Christian Brabandt) Improve dependency
17163 on opt_test.vim. Reset the 'more' option.
17164Files: .hgignore, src/gen_opt_test.vim, src/testdir/gen_opt_test.vim,
17165 src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile,
17166 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17167 Filelist
17168
17169Patch 8.0.0429
17170Problem: Options test does not always test everything.
17171Solution: Fix dependency for opt_test.vim. Give a message when opt_test.vim
17172 was not found.
17173Files: src/testdir/test_options.vim, src/testdir/gen_opt_test.vim,
17174 src/testdir/Makefile, src/testdir/Make_all.mak,
17175 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
17176
17177Patch 8.0.0430
17178Problem: Options test fails or hangs on MS-Windows.
17179Solution: Run it separately instead of part of test_alot. Use "-S" instead
17180 of "-u" to run the script. Fix failures.
17181Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
17182 src/testdir/Makefile, src/testdir/Make_dos.mak,
17183 src/testdir/Make_ming.mak, src/testdir/gen_opt_test.vim
17184
17185Patch 8.0.0431
17186Problem: 'cinoptions' cannot set indent for extern block.
17187Solution: Add the "E" flag in 'cinoptions'. (Hirohito Higashi)
17188Files: runtime/doc/indent.txt, src/misc1.c, src/structs.h,
17189 src/testdir/test_cindent.vim
17190
17191Patch 8.0.0432
17192Problem: "make shadow" creates an invalid link.
17193Solution: Don't link "*.vim". (Kazunobu Kuriyama)
17194Files: src/Makefile
17195
17196Patch 8.0.0433
17197Problem: Quite a few beeps when running tests.
17198Solution: Set 'belloff' for these tests. (Christian Brabandt)
17199Files: src/testdir/test103.in, src/testdir/test14.in,
17200 src/testdir/test29.in, src/testdir/test30.in,
17201 src/testdir/test32.in, src/testdir/test45.in,
17202 src/testdir/test72.in, src/testdir/test73.in,
17203 src/testdir/test77.in, src/testdir/test78.in,
17204 src/testdir/test85.in, src/testdir/test94.in,
17205 src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim,
17206 src/testdir/test_close_count.in, src/testdir/test_cmdline.vim,
17207 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim,
17208 src/testdir/test_erasebackword.in, src/testdir/test_normal.vim,
17209 src/testdir/test_packadd.vim, src/testdir/test_search.vim,
17210 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim,
17211 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim
17212
17213Patch 8.0.0434
17214Problem: Clang version not correctly detected.
17215Solution: Adjust the configure script. (Kazunobu Kuriyama)
17216Files: src/configure.ac, src/auto/configure
17217
17218Patch 8.0.0435
17219Problem: Some functions are not tested.
17220Solution: Add more tests for functions. (Dominique Pelle, closes #1541)
17221Files: src/testdir/test_functions.vim
17222
17223Patch 8.0.0436
17224Problem: Running the options test sometimes resizes the terminal.
17225Solution: Clear out t_WS.
17226Files: src/testdir/gen_opt_test.vim
17227
17228Patch 8.0.0437
17229Problem: The packadd test does not create the symlink correctly and does
17230 not test the right thing.
17231Solution: Create the directory and symlink correctly.
17232Files: src/testdir/test_packadd.vim
17233
17234Patch 8.0.0438
17235Problem: The fnamemodify test changes 'shell' in a way later tests may not
17236 be able to use system().
17237Solution: Save and restore 'shell'.
17238Files: src/testdir/test_fnamemodify.vim
17239
17240Patch 8.0.0439
17241Problem: Using ":%argdel" while the argument list is already empty gives an
17242 error. (Pavol Juhas)
17243Solution: Don't give an error. (closes #1546)
17244Files: src/ex_cmds2.c, src/testdir/test_arglist.vim
17245
17246Patch 8.0.0440
17247Problem: Not enough test coverage in Insert mode.
17248Solution: Add lots of tests. Add test_override(). (Christian Brabandt,
17249 closes #1521)
17250Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/edit.c,
17251 src/evalfunc.c, src/globals.h, src/screen.c,
17252 src/testdir/Make_all.mak, src/testdir/test_cursor_func.vim,
17253 src/testdir/test_edit.vim, src/testdir/test_search.vim,
17254 src/testdir/test_assert.vim, src/Makefile, src/testdir/runtest.vim
17255
17256Patch 8.0.0441
17257Problem: Dead code in #ifdef.
17258Solution: Remove the #ifdef and #else part.
17259Files: src/option.c
17260
17261Patch 8.0.0442
17262Problem: Patch shell command uses double quotes around the argument, which
17263 allows for $HOME to be expanded. (Etienne)
17264Solution: Use single quotes on Unix. (closes #1543)
17265Files: src/diff.c, src/testdir/test_diffmode.vim
17266
17267Patch 8.0.0443
17268Problem: Terminal width is set to 80 in test3.
17269Solution: Instead of setting 'columns' set 'wrapmargin' depending on
17270 'columns.
17271Files: src/testdir/test3.in
17272
17273Patch 8.0.0444 (after 8.0.0442)
17274Problem: Diffpatch fails when the file name has a quote.
17275Solution: Escape the name properly. (zetzei)
17276Files: src/diff.c, src/testdir/test_diffmode.vim
17277
17278Patch 8.0.0445
17279Problem: Getpgid is not supported on all systems.
17280Solution: Add a configure check.
17281Files: src/configure.ac, src/auto/configure, src/config.h.in,
17282 src/os_unix.c
17283
17284Patch 8.0.0446
17285Problem: The ";" command does not work after characters with a lower byte
17286 that is NUL.
17287Solution: Properly check for not having a previous character. (Hirohito
17288 Higashi)
17289Files: src/Makefile, src/search.c, src/testdir/test_alot_utf8.vim,
17290 src/testdir/test_charsearch_utf8.vim
17291
17292Patch 8.0.0447
17293Problem: Getting font name does not work on X11.
17294Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests.
17295 (Kazunobu Kuriyama)
17296Files: src/gui_x11.c, src/syntax.c, src/testdir/Make_dos.mak,
17297 src/testdir/Make_ming.mak, src/testdir/Makefile,
17298 src/testdir/gui_init.vim, src/testdir/gui_preinit.vim,
17299 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
17300 Filelist
17301
17302Patch 8.0.0448
17303Problem: Some macros are in lower case, which can be confusing.
17304Solution: Make a few lower case macros upper case.
17305Files: src/macros.h, src/buffer.c, src/charset.c, src/ops.c, src/diff.c,
17306 src/edit.c, src/evalfunc.c, src/ex_cmds.c, src/ex_getln.c,
17307 src/fileio.c, src/fold.c, src/gui.c, src/gui_beval.c, src/main.c,
17308 src/mark.c, src/misc1.c, src/move.c, src/normal.c,
17309 src/option.c, src/popupmnu.c, src/regexp.c, src/screen.c,
17310 src/search.c, src/spell.c, src/tag.c, src/ui.c, src/undo.c,
17311 src/version.c, src/workshop.c, src/if_perl.xs
17312
17313Patch 8.0.0449 (after 8.0.0448)
17314Problem: Part of fold patch accidentally included.
17315Solution: Revert that part of the patch.
17316Files: src/ex_cmds.c
17317
17318Patch 8.0.0450
17319Problem: v:progpath is not reliably set.
17320Solution: Read /proc/self/exe if possible. (idea by Michal Grochmal)
17321 Also fixes missing #if.
17322Files: src/main.c, src/config.h.in
17323
17324Patch 8.0.0451
17325Problem: Some macros are in lower case.
17326Solution: Make a few more macros upper case. Avoid lower case macros use an
17327 argument twice.
17328Files: src/macros.h, src/charset.c, src/misc2.c, src/proto/misc2.pro,
17329 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
17330 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/fold.c,
17331 src/gui.c, src/gui_gtk.c, src/mark.c, src/memline.c, src/mbyte.c,
17332 src/menu.c, src/message.c, src/misc1.c, src/ops.c, src/option.c,
17333 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
17334 src/popupmnu.c, src/regexp.c, src/regexp_nfa.c, src/screen.c,
17335 src/search.c, src/spell.c, src/spellfile.c, src/syntax.c,
17336 src/tag.c, src/ui.c, src/undo.c, src/window.c
17337
17338Patch 8.0.0452
17339Problem: Some macros are in lower case.
17340Solution: Make a few more macros upper case.
17341Files: src/vim.h, src/macros.h, src/evalfunc.c, src/fold.c,
17342 src/gui_gtk.c, src/gui_gtk_x11.c, src/charset.c, src/diff.c,
17343 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
17344 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/getchar.c,
17345 src/gui.c, src/gui_w32.c, src/if_cscope.c, src/mbyte.c,
17346 src/menu.c, src/message.c, src/misc1.c, src/misc2.c, src/normal.c,
17347 src/ops.c, src/option.c, src/os_unix.c, src/os_win32.c,
17348 src/quickfix.c, src/regexp.c, src/regexp_nfa.c, src/screen.c,
17349 src/search.c, src/spell.c, src/syntax.c, src/tag.c, src/userfunc.c
17350
17351Patch 8.0.0453
17352Problem: Adding fold marker creates new comment.
17353Solution: Use an existing comment if possible. (LemonBoy, closes #1549)
17354Files: src/ops.c, src/proto/ops.pro, src/fold.c,
17355 src/testdir/test_fold.vim
17356
17357Patch 8.0.0454
17358Problem: Compiler warnings for comparing unsigned char with 256 always
17359 being true. (Manuel Ortega)
17360Solution: Add type cast.
17361Files: src/screen.c, src/charset.c
17362
17363Patch 8.0.0455
17364Problem: The mode test may hang in Test_mode(). (Michael Soyka)
17365Solution: Set 'complete' to only search the current buffer (as suggested by
17366 Michael)
17367Files: src/testdir/test_functions.vim
17368
17369Patch 8.0.0456
17370Problem: Typo in MinGW test makefile.
17371Solution: Change an underscore to a dot. (Michael Soyka)
17372Files: src/testdir/Make_ming.mak
17373
17374Patch 8.0.0457
17375Problem: Using :move messes up manual folds.
17376Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim
17377 patch #6221)
17378Files: src/ex_cmds.c, src/fold.c, src/mark.c, src/proto/fold.pro,
17379 src/proto/mark.pro src/testdir/test_fold.vim
17380
17381Patch 8.0.0458
17382Problem: Potential crash if adding list or dict to dict fails.
17383Solution: Make sure the reference count is correct. (Nikolai Pavlov, closes
17384 #1555)
17385Files: src/dict.c
17386
17387Patch 8.0.0459 (after 8.0.0457)
17388Problem: Old fix for :move messing up folding no longer needed, now that we
17389 have a proper solution.
17390Solution: Revert patch 7.4.700. (Christian Brabandt)
17391Files: src/ex_cmds.c
17392
17393Patch 8.0.0460 (after 8.0.0452)
17394Problem: Can't build on HPUX.
17395Solution: Fix argument names in vim_stat(). (John Marriott)
17396Files: src/misc2.c
17397
17398Patch 8.0.0461 (after 8.0.0457)
17399Problem: Test 45 hangs on MS-Windows.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017400Solution: Reset 'shiftwidth'. Also remove redundant function.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017401Files: src/fold.c, src/testdir/test45.in
17402
17403Patch 8.0.0462
17404Problem: If an MS-Windows tests succeeds at first and then fails in a way
17405 it does not produce a test.out file it looks like the test
17406 succeeded.
17407Solution: Delete the previous output file.
17408Files: src/testdir/Make_dos.mak
17409
17410Patch 8.0.0463
17411Problem: Resetting 'compatible' in defaults.vim has unexpected side
17412 effects. (David Fishburn)
17413Solution: Only reset 'compatible' if it was set.
17414Files: runtime/defaults.vim
17415
17416Patch 8.0.0464
17417Problem: Can't find executable name on Solaris and FreeBSD.
17418Solution: Check for "/proc/self/path/a.out". (Danek Duvall) And for
17419 "/proc/curproc/file".
17420Files: src/config.h.in, src/configure.ac, src/main.c,
17421 src/auto/configure
17422
17423Patch 8.0.0465
17424Problem: Off-by-one error in using :move with folding.
17425Solution: Correct off-by-one mistakes and add more tests. (Matthew
17426 Malcomson)
17427Files: src/fold.c, src/testdir/test_fold.vim
17428
17429Patch 8.0.0466
17430Problem: There are still a few macros that should be all-caps.
17431Solution: Make a few more macros all-caps.
17432Files: src/buffer.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
17433 src/ex_docmd.c, src/ex_getln.c, src/farsi.c, src/fileio.c,
17434 src/getchar.c, src/gui_beval.c, src/hardcopy.c, src/if_cscope.c,
17435 src/if_xcmdsrv.c, src/mark.c, src/memline.c, src/menu.c,
17436 src/message.c, src/misc1.c, src/normal.c, src/ops.c, src/option.c,
17437 src/quickfix.c, src/screen.c, src/search.c, src/syntax.c,
17438 src/tag.c, src/term.c, src/term.h, src/ui.c, src/undo.c,
17439 src/userfunc.c, src/version.c, src/vim.h
17440
17441Patch 8.0.0467
17442Problem: Using g< after :for does not show the right output. (Marcin
17443 Szamotulski)
17444Solution: Call msg_sb_eol() in :echomsg.
17445Files: src/eval.c
17446
17447Patch 8.0.0468
17448Problem: After aborting an Ex command g< does not work. (Marcin
17449 Szamotulski)
17450Solution: Postpone clearing scrollback messages to until the command line
17451 has been entered. Also fix that the screen isn't redrawn if after
17452 g< the command line is cancelled.
17453Files: src/message.c, src/proto/message.pro, src/ex_getln.c, src/misc2.c,
17454 src/gui.c
17455
17456Patch 8.0.0469
17457Problem: Compiler warnings on MS-Windows.
17458Solution: Add type casts. (Christian Brabandt)
17459Files: src/fold.c
17460
17461Patch 8.0.0470
17462Problem: Not enough testing for help commands.
17463Solution: Add a few more help tests. (Dominique Pelle, closes #1565)
17464Files: src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim
17465
17466Patch 8.0.0471
17467Problem: Exit callback test sometimes fails.
17468Solution: Add it to the list of flaky tests.
17469Files: src/testdir/runtest.vim
17470
17471Patch 8.0.0472
17472Problem: When a test fails and test.log is created, Test_edit_CTRL_I
17473 matches it instead of test1.in.
17474Solution: Match with runtest.vim instead.
17475Files: src/testdir/test_edit.vim
17476
17477Patch 8.0.0473
17478Problem: No test covering arg_all().
17479Solution: Add a test expanding ##.
17480Files: src/testdir/test_arglist.vim
17481
17482Patch 8.0.0474
17483Problem: The client-server feature is not tested.
17484Solution: Add a test.
17485Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/shared.vim,
17486 src/testdir/test_clientserver.vim, src/os_mswin.c
17487
17488Patch 8.0.0475
17489Problem: Not enough testing for the client-server feature.
17490Solution: Add more tests. Add the remote_startserver() function. Fix that
17491 a locally evaluated expression uses function-local variables.
17492Files: src/if_xcmdsrv.c, src/evalfunc.c, src/os_mswin.c,
17493 src/proto/main.pro, src/testdir/test_clientserver.vim,
17494 runtime/doc/eval.txt
17495
17496Patch 8.0.0476 (after 8.0.0475)
17497Problem: Missing change to main.c.
17498Solution: Add new function.
17499Files: src/main.c
17500
17501Patch 8.0.0477
17502Problem: The client-server test may hang when failing.
17503Solution: Set a timer. Add assert_report()
17504Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim,
17505 src/eval.c, src/evalfunc.c, src/proto/eval.pro, src/if_xcmdsrv.c,
17506 src/os_mswin.c, runtime/doc/eval.txt
17507
17508Patch 8.0.0478
17509Problem: Tests use assert_true(0) and assert_false(1) to report errors.
17510Solution: Use assert_report().
17511Files: src/testdir/test_cscope.vim, src/testdir/test_expr.vim,
17512 src/testdir/test_perl.vim, src/testdir/test_channel.vim,
17513 src/testdir/test_cursor_func.vim, src/testdir/test_gui.vim,
17514 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
17515 src/testdir/test_viminfo.vim, src/testdir/test_vimscript.vim,
17516 src/testdir/test_assert.vim
17517
17518Patch 8.0.0479
17519Problem: remote_peek() is not tested.
17520Solution: Add a test.
17521Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim
17522
17523Patch 8.0.0480
17524Problem: The remote_peek() test fails on MS-Windows.
17525Solution: Check for pending messages. Also report errors in the first run if
17526 a flaky test fails twice.
17527Files: src/os_mswin.c, src/testdir/runtest.vim
17528
17529Patch 8.0.0481
17530Problem: Unnecessary if statement.
17531Solution: Remove the statement. Fix "it's" vs "its" mistakes. (Dominique
17532 Pelle, closes #1568)
17533Files: src/syntax.c
17534
17535Patch 8.0.0482
17536Problem: The setbufvar() function may mess up the window layout. (Kay Z.)
17537Solution: Do not check the window to be valid if it is NULL.
17538Files: src/window.c, src/testdir/test_functions.vim
17539
17540Patch 8.0.0483
17541Problem: Illegal memory access when using :all. (Dominique Pelle)
17542Solution: Adjust the cursor position right after setting "curwin".
17543Files: src/window.c, src/testdir/test_window_cmd.vim
17544
17545Patch 8.0.0484
17546Problem: Using :lhelpgrep with an argument that should fail does not
17547 produce an error if the previous :helpgrep worked.
17548Solution: Use another way to detect that autocommands made the quickfix info
17549 invalid. (Yegappan Lakshmanan)
17550Files: src/quickfix.c, src/testdir/test_quickfix.vim
17551
17552Patch 8.0.0485
17553Problem: Not all windows commands are tested.
17554Solution: Add more tests for windows commands. (Dominique Pelle,
17555 closes #1575) Run test_autocmd separately, it interferes with
17556 other tests. Fix tests that depended on side effects.
17557Files: src/testdir/test_window_cmd.vim, src/testdir/test_alot.vim,
17558 src/testdir/test_autocmd.vim, src/testdir/test_fnamemodify.vim,
17559 src/testdir/test_functions.vim, src/testdir/test_delete.vim,
17560 src/testdir/Make_all.mak
17561
17562Patch 8.0.0486
17563Problem: Crash and endless loop when closing windows in a SessionLoadPost
17564 autocommand.
17565Solution: Check for valid tabpage. (partly neovim #6308)
17566Files: src/testdir/test_autocmd.vim, src/fileio.c, src/proto/window.pro,
17567 src/window.c
17568
17569Patch 8.0.0487
17570Problem: The autocmd test hangs on MS-Windows.
17571Solution: Skip the hanging tests for now.
17572Files: src/testdir/test_autocmd.vim
17573
17574Patch 8.0.0488
17575Problem: Running tests leaves an "xxx" file behind.
17576Solution: Delete the 'verbosefile' after resetting the option.
17577Files: src/testdir/gen_opt_test.vim
17578
17579Patch 8.0.0489
17580Problem: Clipboard and "* register is not tested.
17581Solution: Add a test for Mac and X11. (Kazunobu Kuriyama)
17582Files: src/Makefile, src/testdir/Make_all.mak,
17583 src/testdir/test_quotestar.vim, src/testdir/runtest.vim
17584
17585Patch 8.0.0490
17586Problem: Splitting a 'winfixwidth' window vertically makes it one column
17587 smaller. (Dominique Pelle)
17588Solution: Add one to the width for the separator.
17589Files: src/window.c, src/testdir/test_window_cmd.vim
17590
17591Patch 8.0.0491
17592Problem: The quotestar test fails when a required feature is missing.
17593Solution: Prepend "Skipped" to the thrown exception.
17594Files: src/testdir/test_quotestar.vim
17595
17596Patch 8.0.0492
17597Problem: A failing client-server request can make Vim hang.
17598Solution: Add a timeout argument to functions that wait.
17599Files: src/evalfunc.c, src/if_xcmdsrv.c, src/proto/if_xcmdsrv.pro,
17600 src/main.c, src/os_mswin.c, src/proto/os_mswin.pro,
17601 src/vim.h, runtime/doc/eval.txt, src/testdir/test_clientserver.vim
17602
17603Patch 8.0.0493
17604Problem: Crash with cd command with very long argument.
Bram Moolenaar74675a62017-07-15 13:53:23 +020017605Solution: Check for running out of space. (Dominique Pelle, closes #1576)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017606Files: src/testdir/test_alot.vim, src/testdir/test_cd.vim, src/Makefile,
17607 src/misc2.c
17608
17609Patch 8.0.0494
17610Problem: Build failure with older compiler on MS-Windows.
17611Solution: Move declaration to start of block.
17612Files: src/evalfunc.c, src/main.c, src/os_mswin.c
17613
17614Patch 8.0.0495
17615Problem: The quotestar test uses a timer instead of a timeout, thus it
17616 cannot be rerun like a flaky test.
17617Solution: Remove the timer and add a timeout. (Kazunobu Kuriyama)
17618Files: src/testdir/test_quotestar.vim
17619
17620Patch 8.0.0496
17621Problem: Insufficient testing for folding.
17622Solution: Add a couple more fold tests. (Dominique Pelle, closes #1579)
17623Files: src/testdir/test_fold.vim
17624
17625Patch 8.0.0497
17626Problem: Arabic support is not fully tested.
17627Solution: Add more tests for the untested functions. Comment out
17628 unreachable code.
17629Files: src/arabic.c, src/testdir/test_arabic.vim
17630
17631Patch 8.0.0498
17632Problem: Two autocmd tests are skipped on MS-Windows.
17633Solution: Make the test pass on MS-Windows. Write the messages in a file
17634 instead of getting the output of system().
17635Files: src/testdir/test_autocmd.vim
17636
17637Patch 8.0.0499
17638Problem: taglist() does not prioritize tags for a buffer.
17639Solution: Add an optional buffer argument. (Duncan McDougall, closes #1194)
17640Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/tag.pro,
17641 src/Makefile, src/tag.c, src/testdir/test_alot.vim,
17642 src/testdir/test_taglist.vim
17643
17644Patch 8.0.0500
17645Problem: Quotestar test is still a bit flaky.
17646Solution: Add a slower check for v:version.
17647Files: src/testdir/test_quotestar.vim
17648
17649Patch 8.0.0501
17650Problem: On MS-Windows ":!start" does not work as expected.
17651Solution: When creating a process fails try passing the argument to
17652 ShellExecute(). (Katsuya Hino, closes #1570)
17653Files: runtime/doc/os_win32.txt, src/os_win32.c
17654
17655Patch 8.0.0502
17656Problem: Coverity complains about possible NULL pointer.
17657Solution: Add an assert(), let's see if this works on all systems.
17658Files: src/window.c
17659
17660Patch 8.0.0503
17661Problem: Endless loop in updating folds with 32 bit ints.
17662Solution: Subtract from LHS instead of add to the RHS. (Matthew Malcomson)
17663Files: src/fold.c
17664
17665Patch 8.0.0504
17666Problem: Looking up an Ex command is a bit slow.
17667Solution: Instead of just using the first letter, also use the second letter
17668 to skip ahead in the list of commands. Generate the table with a
17669 Perl script. (Dominique Pelle, closes #1589)
17670Files: src/Makefile, src/create_cmdidxs.pl, src/ex_docmd.c, Filelist
17671
17672Patch 8.0.0505
17673Problem: Failed window split for :stag not handled. (Coverity CID 99204)
17674Solution: If the split fails skip to the end. (bstaletic, closes #1577)
17675Files: src/tag.c
17676
17677Patch 8.0.0506 (after 8.0.0504)
17678Problem: Can't build with ANSI C.
17679Solution: Move declarations to start of block.
17680Files: src/ex_docmd.c
17681
17682Patch 8.0.0507
17683Problem: Client-server tests fail when $DISPLAY is not set.
17684Solution: Check for E240 before running the test.
17685Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim
17686
17687Patch 8.0.0508
17688Problem: Coveralls no longer shows per-file coverage.
17689Solution: Add coverage from codecov.io. (Christian Brabandt)
17690Files: .travis.yml
17691
17692Patch 8.0.0509
17693Problem: No link to codecov.io results.
17694Solution: Add a badge to the readme file.
17695Files: README.md
17696
17697Patch 8.0.0510 (after 8.0.0509)
17698Problem: Typo in link to codecov.io results.
17699Solution: Remove duplicate https:.
17700Files: README.md
17701
17702Patch 8.0.0511
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017703Problem: Message for skipping client-server tests is unclear.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017704Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu
17705 Kuriyama)
17706Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim
17707
17708Patch 8.0.0512
17709Problem: Check for available characters takes too long.
17710Solution: Only check did_start_blocking if wtime is negative. (Daisuke
17711 Suzuki, closes #1591)
17712Files: src/os_unix.c
17713
17714Patch 8.0.0513 (after 8.0.0201)
17715Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski)
17716Solution: Only skip over cleared names for completion. (closes #1592)
17717 Also fix that a cleared group causes duplicate completions.
17718Files: src/syntax.c, src/proto/syntax.pro, src/evalfunc.c,
17719 src/ex_cmds.c, src/testdir/test_syntax.vim,
17720 src/testdir/test_cmdline.vim
17721
17722Patch 8.0.0514
17723Problem: Script for creating cmdidxs can be improved.
17724Solution: Count skipped lines instead of collecting the lines. Add "const".
17725 (Dominique Pelle, closes #1594)
17726Files: src/create_cmdidxs.pl, src/ex_docmd.c
17727
17728Patch 8.0.0515
17729Problem: ml_get errors in silent Ex mode. (Dominique Pelle)
17730Solution: Clear valid flags when setting the cursor. Set the topline when
17731 not in full screen mode.
17732Files: src/ex_docmd.c, src/move.c, src/testdir/test_startup.vim
17733
17734Patch 8.0.0516
17735Problem: A large count on a normal command causes trouble. (Dominique
17736 Pelle)
17737Solution: Make "opcount" long.
17738Files: src/globals.h, src/testdir/test_normal.vim
17739
17740Patch 8.0.0517
17741Problem: There is no way to remove quickfix lists (for testing).
17742Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan
17743 Lakshmanan)
17744Files: runtime/doc/eval.txt, src/evalfunc.c, src/quickfix.c,
17745 src/testdir/test_quickfix.vim
17746
17747Patch 8.0.0518
17748Problem: Storing a zero byte from a multi-byte character causes fold text
17749 to show up wrong.
17750Solution: Avoid putting zero in ScreenLines. (Christian Brabandt,
17751 closes #1567)
17752Files: src/screen.c, src/testdir/test_display.vim
17753
17754Patch 8.0.0519
17755Problem: Character classes are not well tested. They can differ between
17756 platforms.
17757Solution: Add tests. In the documentation make clear which classes depend
17758 on what library function. Only use :cntrl: and :graph: for ASCII.
17759 (Kazunobu Kuriyama, Dominique Pelle, closes #1560)
17760 Update the documentation.
17761Files: src/regexp.c, src/regexp_nfa.c, runtime/doc/pattern.txt,
17762 src/testdir/test_regexp_utf8.vim
17763
17764Patch 8.0.0520
17765Problem: Using a function pointer instead of the actual function, which we
17766 know.
17767Solution: Change mb_ functions to utf_ functions when already checked for
17768 Unicode. (Dominique Pelle, closes #1582)
17769Files: src/message.c, src/misc2.c, src/regexp.c, src/regexp_nfa.c,
17770 src/screen.c, src/spell.c
17771
17772Patch 8.0.0521
17773Problem: GtkForm handling is outdated.
17774Solution: Get rid of event filter functions. Get rid of GtkForm.width and
17775 .height. Eliminate gtk_widget_size_request() calls. (Kazunobu
17776 Kuriyama)
17777Files: src/gui_gtk_f.c, src/gui_gtk_f.h
17778
17779Patch 8.0.0522
17780Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a
17781 :global command.
17782Solution: When setting the clipboard was postponed, do not clear the
17783 register.
17784Files: src/ops.c, src/proto/ui.pro, src/ui.c, src/globals.h,
17785 src/testdir/test_global.vim, src/Makefile,
17786 src/testdir/test_alot.vim
17787
17788Patch 8.0.0523
17789Problem: dv} deletes part of a multi-byte character. (Urtica Dioica)
17790Solution: Include the whole character.
17791Files: src/search.c, src/testdir/test_normal.vim
17792
17793Patch 8.0.0524 (after 8.0.0518)
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017794Problem: Folds are messed up when 'encoding' is "utf-8".
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017795Solution: Also set the fold character when it's not multi-byte.
17796Files: src/screen.c, src/testdir/test_display.vim
17797
17798Patch 8.0.0525
17799Solution: Completion for user command argument not tested.
17800Problem: Add a test.
17801Files: src/testdir/test_cmdline.vim
17802
17803Patch 8.0.0526
17804Problem: Coverity complains about possible negative value.
17805Solution: Check return value of ftell() not to be negative.
17806Files: src/os_unix.c
17807
17808Patch 8.0.0527
17809Problem: RISC OS support was removed long ago, but one file is still
17810 included.
17811Solution: Delete the file. (Thomas Dziedzic, closes #1603)
17812Files: Filelist, src/swis.s
17813
17814Patch 8.0.0528
17815Problem: When 'wildmenu' is set and 'wildmode' has "longest" then the first
17816 file name is highlighted, even though the text shows the longest
17817 match.
17818Solution: Do not highlight the first match. (LemonBoy, closes #1602)
17819Files: src/ex_getln.c
17820
17821Patch 8.0.0529
17822Problem: Line in test commented out.
17823Solution: Uncomment the lines for character classes that were failing before
17824 8.0.0519. (Dominique Pelle, closes #1599)
17825Files: src/testdir/test_regexp_utf8.vim
17826
17827Patch 8.0.0530
17828Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
17829Solution: Correctly compute where to truncate. Fix translation.
17830 (closes #1600)
17831Files: src/edit.c, src/testdir/test_edit.vim
17832
17833Patch 8.0.0531 (after 8.0.0530)
17834Problem: Test with long directory name fails on non-unix systems.
17835Solution: Skip the test on non-unix systems.
17836Files: src/testdir/test_edit.vim
17837
17838Patch 8.0.0532 (after 8.0.0531)
17839Problem: Test with long directory name fails on Mac.
17840Solution: Skip the test on Mac systems.
17841Files: src/testdir/test_edit.vim
17842
17843Patch 8.0.0533
17844Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk)
17845Solution: Set the insert start column. (closes #1609)
17846Files: src/testdir/test_mapping.vim, src/edit.c
17847
17848Patch 8.0.0534
17849Problem: Defaults.vim does not work well with tiny features. (crd477)
17850Solution: When the +eval feature is not available always reset 'compatible'.
17851Files: runtime/defaults.vim
17852
17853Patch 8.0.0535
17854Problem: Memory leak when exiting from within a user function.
17855Solution: Clear the function call stack on exit.
17856Files: src/userfunc.c
17857
17858Patch 8.0.0536
17859Problem: Quickfix window not updated when freeing quickfix stack.
17860Solution: Update the quickfix window. (Yegappan Lakshmanan)
17861Files: src/quickfix.c, src/testdir/test_quickfix.vim
17862
17863Patch 8.0.0537
17864Problem: Illegal memory access with :z and large count.
17865Solution: Check for number overflow, using long instead of int. (Dominique
17866 Pelle, closes #1612)
17867Files: src/Makefile, src/ex_cmds.c, src/testdir/test_alot.vim,
17868 src/testdir/test_ex_z.vim
17869
17870Patch 8.0.0538
17871Problem: No test for falling back to default term value.
17872Solution: Add a test.
17873Files: src/testdir/test_startup.vim
17874
17875Patch 8.0.0539 (after 8.0.0538)
17876Problem: Startup test fails on Mac.
17877Solution: Use another term name, "unknown" is known. Avoid a 2 second delay.
17878Files: src/testdir/test_startup.vim, src/main.c, src/proto/main.pro,
17879 src/term.c
17880
17881Patch 8.0.0540 (after 8.0.0540)
17882Problem: Building unit tests fails.
17883Solution: Move params outside of #ifdef.
17884Files: src/main.c, src/message_test.c
17885
17886Patch 8.0.0541
17887Problem: Compiler warning on MS-Windows.
17888Solution: Add a type cast. (Mike Williams)
17889Files: src/edit.c
17890
17891Patch 8.0.0542
17892Problem: getpos() can return a negative line number. (haya14busa)
17893Solution: Handle a zero topline and botline. (closes #1613)
17894Files: src/eval.c, runtime/doc/eval.txt
17895
17896Patch 8.0.0543
17897Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle)
17898Solution: Reduce number of columns to 2000. Try to restore the window
17899 position.
17900Files: src/testdir/test_edit.vim, src/evalfunc.c, src/term.c,
17901 src/proto/term.pro, src/term.h
17902
17903Patch 8.0.0544
17904Problem: Cppcheck warnings.
17905Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique
17906 Pelle)
17907Files: src/channel.c, src/edit.c, src/farsi.c
17908
17909Patch 8.0.0545
17910Problem: Edit test may fail on some systems.
17911Solution: If creating a directory with a very long path fails, bail out.
17912Files: src/testdir/test_edit.vim
17913
17914Patch 8.0.0546
17915Problem: Swap file exists briefly when opening the command window.
17916Solution: Set the noswapfile command modifier before splitting the window.
17917 (James McCoy, closes #1620)
17918Files: src/ex_getln.c, src/option.c
17919
17920Patch 8.0.0547
17921Problem: Extra line break in verbosefile when using ":echomsg". (Ingo
17922 Karkat)
17923Solution: Don't call msg_start(). (closes #1618)
17924Files: src/eval.c, src/testdir/test_cmdline.vim
17925
17926Patch 8.0.0548
17927Problem: Saving the redo buffer only works one time, resulting in the "."
17928 command not working well for a function call inside another
17929 function call. (Ingo Karkat)
17930Solution: Save the redo buffer at every user function call. (closes #1619)
17931Files: src/getchar.c, src/proto/getchar.pro, src/structs.h,
17932 src/fileio.c, src/userfunc.c, src/testdir/test_functions.vim
17933
17934Patch 8.0.0549
17935Problem: No test for the 8g8 command.
17936Solution: Add a test. (Dominique Pelle, closes #1615)
17937Files: src/testdir/test_normal.vim
17938
17939Patch 8.0.0550
17940Problem: Some etags format tags file use 0x01, breaking the parsing.
17941Solution: Use 0x02 for TAG_SEP. (James McCoy, closes #1614)
17942Files: src/tag.c, src/testdir/test_taglist.vim
17943
17944Patch 8.0.0551
17945Problem: The typeahead buffer is reallocated too often.
17946Solution: Re-use the existing buffer if possible.
17947Files: src/getchar.c
17948
17949Patch 8.0.0552
17950Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
17951 is empty. (Bjorn Linse)
17952Solution: Check the 'casemap' options when deciding how to upper/lower case.
17953Files: src/charset.c, src/testdir/test_normal.vim
17954
17955Patch 8.0.0553 (after 8.0.0552)
17956Problem: Toupper/tolower test with Turkish locale fails on Mac.
17957Solution: Skip the test on Mac.
17958Files: src/testdir/test_normal.vim
17959
17960Patch 8.0.0554 (after 8.0.0552)
17961Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
17962 contains "keepascii". (Bjorn Linse)
17963Solution: When 'casemap' contains "keepascii" use ASCII toupper/tolower.
17964Files: src/charset.c, src/testdir/test_normal.vim
17965
17966Patch 8.0.0555 (after 8.0.0552)
17967Problem: Toupper/tolower test fails on OSX without Darwin.
17968Solution: Skip that part of the test also for OSX. (Kazunobu Kuriyama)
17969Files: src/testdir/test_normal.vim
17970
17971Patch 8.0.0556
17972Problem: Getting the window position fails if both the GUI and term
17973 code is built in.
17974Solution: Return after getting the GUI window position. (Kazunobu Kuriyama)
17975Files: src/evalfunc.c
17976
17977Patch 8.0.0557
17978Problem: GTK: using static gravities is not useful.
17979Solution: Remove setting static gravities. (Kazunobu Kuriyama)
17980Files: src/gui_gtk_f.c
17981
17982Patch 8.0.0558
17983Problem: The :ownsyntax command is not tested.
17984Solution: Add a test. (Dominique Pelle, closes #1622)
17985Files: src/testdir/test_syntax.vim
17986
17987Patch 8.0.0559
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017988Problem: Setting 'ttytype' to xxx does not always fail as expected. (Marvin
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017989 Schmidt)
17990Solution: Catch both possible errors. (closes #1601)
17991Files: src/testdir/test_options.vim
17992
17993Patch 8.0.0560
17994Problem: :windo allows for ! but it's not supported.
17995Solution: Disallow passing !. (Hirohito Higashi)
17996Files: src/ex_cmds.h
17997
17998Patch 8.0.0561
17999Problem: Undefined behavior when using backslash after empty line.
18000Solution: Check for an empty line. (Dominique Pelle, closes #1631)
18001Files: src/misc2.c, src/testdir/test_vimscript.vim
18002
18003Patch 8.0.0562
18004Problem: Not enough test coverage for syntax commands.
18005Solution: Add a few more tests. (Dominique Pelle, closes #1624)
18006Files: src/testdir/test_cmdline.vim, src/testdir/test_syntax.vim
18007
18008Patch 8.0.0563
18009Problem: Crash when getting the window position in tmux. (Marvin Schmidt)
18010Solution: Add t_GP to the list of terminal options. (closes #1627)
18011Files: src/option.c
18012
18013Patch 8.0.0564
18014Problem: Cannot detect Bazel BUILD files on some systems.
18015Solution: Check for BUILD after script checks. (Issue #1340)
18016Files: runtime/filetype.vim
18017
18018Patch 8.0.0565
18019Problem: Using freed memory in :caddbuf after clearing quickfix list.
18020 (Dominique Pelle)
18021Solution: Set qf_last to NULL.
18022Files: src/quickfix.c
18023
18024Patch 8.0.0566
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020018025Problem: Setting 'nocompatible' for the tiny version moves the cursor.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020018026Solution: Use another trick to skip commands when the +eval feature is
18027 present. (Christian Brabandt, closes #1630)
18028Files: runtime/defaults.vim
18029
18030Patch 8.0.0567
18031Problem: Call for requesting color and ambiwidth is too early. (Hirohito
18032 Higashi)
18033Solution: Move the call down to below resetting "starting".
18034Files: src/main.c
18035
18036Patch 8.0.0568
18037Problem: "1gd" may hang.
18038Solution: Don't get stuck in one position. (Christian Brabandt, closes #1643)
18039Files: src/testdir/test_goto.vim, src/normal.c
18040
18041Patch 8.0.0569
18042Problem: Bracketed paste is still enabled when executing a shell command.
18043 (Michael Smith)
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020018044Solution: Disable bracketed paste when going into cooked mode. (closes #1638)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020018045Files: src/term.c
18046
18047Patch 8.0.0570
18048Problem: Can't run make with several jobs, creating directories has a race
18049 condition.
18050Solution: Use the MKDIR_P autoconf mechanism. (Eric N. Vander Weele,
18051 closes #1639)
18052Files: src/configure.ac, src/auto/configure, src/Makefile,
18053 src/config.mk.in, src/install-sh, src/mkinstalldirs, Filelist
18054
18055Patch 8.0.0571
18056Problem: The cursor line number becomes negative when using :z^ in an empty
18057 buffer. (neovim #6557)
18058Solution: Correct the line number. Also reset the column.
18059Files: src/testdir/test_ex_z.vim, src/ex_cmds.c
18060
18061Patch 8.0.0572
18062Problem: Building the command table requires Perl.
18063Solution: Use a Vim script solution. (Dominique Pelle, closes #1641)
18064Files: src/Makefile, src/create_cmdidxs.pl, src/create_cmdidxs.vim,
18065 src/ex_cmdidxs.h, src/ex_docmd.c, Filelist
18066
18067Patch 8.0.0573
18068Problem: Running parallel make after distclean fails. (Manuel Ortega)
18069Solution: Instead of using targets "scratch config myself" use "reconfig".
18070Files: src/Makefile, src/config.mk.dist
18071
18072Patch 8.0.0574
18073Problem: Get only one quickfix list after :caddbuf.
18074Solution: Reset qf_multiline. (Yegappan Lakshmanan)
18075Files: src/quickfix.c, src/testdir/test_quickfix.vim
18076
18077Patch 8.0.0575
18078Problem: Using freed memory when resetting 'indentexpr' while evaluating
18079 it. (Dominique Pelle)
18080Solution: Make a copy of 'indentexpr'.
18081Files: src/misc1.c, src/testdir/test_options.vim
18082
18083Patch 8.0.0576 (after 8.0.0570 and 8.0.0573)
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020018084Problem: Can't build when configure chooses "install-sh". (Daniel Hahler)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020018085Solution: Always use install-sh. Fix remaining use of mkinstalldirs.
18086 (closes #1647)
18087Files: src/installman.sh, src/installml.sh, src/config.mk.in,
18088 src/configure.ac, src/auto/configure, src/Makefile
18089
18090Patch 8.0.0577 (after 8.0.0575)
18091Problem: Warning for uninitialized variable. (John Marriott)
18092Solution: Initialize "indent".
18093Files: src/misc1.c
18094
18095Patch 8.0.0578
18096Problem: :simalt on MS-Windows does not work properly.
18097Solution: Put something in the typeahead buffer. (Christian Brabandt)
18098Files: src/gui_w32.c
18099
18100Patch 8.0.0579
18101Problem: Duplicate test case for quickfix.
18102Solution: Remove the function. (Yegappan Lakshmanan)
18103Files: src/testdir/test_quickfix.vim
18104
18105Patch 8.0.0580
18106Problem: Cannot set the valid flag with setqflist().
18107Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes #1642)
18108Files: runtime/doc/eval.txt, src/quickfix.c,
18109 src/testdir/test_quickfix.vim
18110
18111Patch 8.0.0581
18112Problem: Moving folded text is sometimes not correct.
18113Solution: Bail out when "move_end" is zero. (Matthew Malcomson)
18114Files: src/fold.c, src/testdir/test_fold.vim
18115
18116Patch 8.0.0582
18117Problem: Illegal memory access with z= command. (Dominique Pelle)
18118Solution: Avoid case folded text to be longer than the original text. Use
18119 MB_PTR2LEN() instead of MB_BYTE2LEN().
18120Files: src/spell.c, src/testdir/test_spell.vim
18121
18122Patch 8.0.0583
18123Problem: Fold test hangs on MS-Windows.
18124Solution: Avoid overflow in compare.
18125Files: src/fold.c
18126
18127Patch 8.0.0584
18128Problem: Memory leak when executing quickfix tests.
18129Solution: Free the list reference. (Yegappan Lakshmanan)
18130Files: src/quickfix.c
18131
18132Patch 8.0.0585
18133Problem: Test_options fails when run in the GUI.
18134Solution: Also check the 'imactivatekey' value when the GUI is not running.
18135 Specify test values that work and that fail.
18136Files: src/option.c, src/testdir/gen_opt_test.vim
18137
18138Patch 8.0.0586
18139Problem: No test for mapping timing out.
18140Solution: Add a test.
18141Files: src/testdir/test_mapping.vim
18142
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018143Patch 8.0.0587
18144Problem: Configure check for return value of tgetent is skipped.
18145Solution: Always perform the check. (Marvin Schmidt, closes #1664)
18146Files: src/configure.ac, src/auto/configure
18147
18148Patch 8.0.0588
18149Problem: job_stop() often assumes the channel will be closed, while the job
18150 may not actually be stopped. (Martin Gammelsæter)
18151Solution: Only assume the job stops on "kill". Don't send a signal if the
18152 job has already ended. (closes #1632)
18153Files: src/channel.c
18154
18155Patch 8.0.0589 (after 8.0.0578)
18156Problem: :simalt still does not work.
18157Solution: Use K_NOP instead of K_IGNORE. (Christian Brabandt)
18158Files: src/gui_w32.c
18159
18160Patch 8.0.0590
18161Problem: Cannot add a context to locations.
18162Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan,
18163 closes #1012)
18164Files: src/eval.c, src/proto/quickfix.pro, src/quickfix.c,
18165 src/testdir/test_quickfix.vim
18166
18167Patch 8.0.0591
18168Problem: Changes to eval functionality not documented.
18169Solution: Include all the changes.
18170Files: runtime/doc/eval.txt
18171
18172Patch 8.0.0592
18173Problem: If a job writes to a buffer and the user is typing a command, the
18174 screen isn't updated. When a message is displayed the changed
18175 buffer may cause it to be cleared. (Ramel Eshed)
18176Solution: Update the screen and then the command line if the screen didn't
18177 scroll. Avoid inserting screen lines, as it clears any message.
18178 Update the status line when the buffer changed.
18179Files: src/channel.c, src/screen.c, src/ex_getln.c, src/globals.h,
18180 src/vim.h, src/proto/ex_getln.pro, src/proto/screen.pro
18181
18182Patch 8.0.0593
18183Problem: Duplication of code for adding a list or dict return value.
18184Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)
18185Files: src/dict.c, src/eval.c, src/evalfunc.c, src/if_perl.xs, src/list.c,
18186 src/proto/dict.pro, src/proto/list.pro
18187
18188Patch 8.0.0594 (after 8.0.0592)
18189Problem: Build failure when windows feature is missing.
18190Solution: Add #ifdef.
18191Files: src/screen.c
18192
18193Patch 8.0.0595 (after 8.0.0590)
18194Problem: Coverity warning for not checking return value of dict_add().
18195Solution: Check the return value for FAIL.
18196Files: src/quickfix.c
18197
18198Patch 8.0.0596
18199Problem: Crash when complete() is called after complete_add() in
18200 'completefunc'. (Lifepillar)
18201Solution: Bail out if compl_pattern is NULL. (closes #1668)
18202 Also avoid using freed memory.
18203Files: src/edit.c, src/testdir/test_popup.vim
18204
18205Patch 8.0.0597
18206Problem: Off-by-one error in buffer size computation.
18207Solution: Use ">=" instead of ">". (Lemonboy, closes #1694)
18208Files: src/quickfix.c
18209
18210Patch 8.0.0598
18211Problem: Building with gcc 7.1 yields new warnings.
18212Solution: Initialize result. (John Marriott)
18213Files: src/ex_docmd.c
18214
18215Patch 8.0.0599
18216Problem: diff mode is insufficiently tested
18217Solution: Add more test cases. (Dominique Pelle, closes #1685)
18218Files: src/diff.c, src/testdir/test_diffmode.vim
18219
18220Patch 8.0.0600
18221Problem: test_recover fails on some systems.
18222Solution: Explicitly check if "/" is writable. (Ken Takata)
18223Files: src/testdir/test_recover.vim
18224
18225Patch 8.0.0601
18226Problem: No test coverage for :spellrepall.
18227Solution: Add a test. (Dominique Pelle, closes #1717)
18228Files: src/testdir/test_spell.vim
18229
18230Patch 8.0.0602
18231Problem: When gF fails to edit the file the cursor still moves to the found
18232 line number.
18233Solution: Check the return value of do_ecmd(). (Michael Hwang)
18234Files: src/normal.c, src/testdir/test_gf.vim
18235
18236Patch 8.0.0603 (after 8.0.0602)
18237Problem: gF test fails on MS-Windows.
18238Solution: Use @ instead of : before the line number
18239Files: src/testdir/test_gf.vim
18240
18241Patch 8.0.0604 (after 8.0.0603)
18242Problem: gF test still fails on MS-Windows.
18243Solution: Use : before the line number and remove it from 'isfname'.
18244Files: src/testdir/test_gf.vim
18245
18246Patch 8.0.0605
18247Problem: The buffer that quickfix caches for performance may become
18248 invalid. (Daniel Hahler)
18249Solution: Reset qf_last_bufref in qf_init_ext(). (Daniel Hahler,
18250 closes #1728, closes #1676)
18251Files: src/quickfix.c
18252
18253Patch 8.0.0606
18254Problem: Cannot set the context for a specified quickfix list.
18255Solution: Use the list index instead of the current list. (Yegappan
18256 Lakshmanan)
18257Files: src/quickfix.c, src/testdir/test_quickfix.vim
18258
18259Patch 8.0.0607
18260Problem: When creating a bufref, then using :bwipe and :new it might get
18261 the same memory and bufref_valid() returns true.
18262Solution: Add br_fnum to check the buffer number didn't change.
18263Files: src/structs.h, src/buffer.c, src/globals.h, src/if_py_both.h,
18264 src/quickfix.c
18265
18266Patch 8.0.0608
18267Problem: Cannot manipulate other than the current quickfix list.
18268Solution: Pass the list index to quickfix functions. (Yegappan Lakshmanan)
18269Files: src/quickfix.c
18270
18271Patch 8.0.0609
18272Problem: For some people the hint about quitting is not sufficient.
18273Solution: Put <Enter> separately. Also use ":qa!" to get out even when
18274 there are changes.
18275Files: src/normal.c
18276
18277Patch 8.0.0610
18278Problem: The screen is redrawn when t_BG is set and used to detect the
18279 value for 'background'.
18280Solution: Don't redraw when the value of 'background' didn't change.
18281Files: src/term.c.
18282
18283Patch 8.0.0611
18284Problem: When t_u7 is sent a few characters in the second screen line are
18285 overwritten and not redrawn later. (Rastislav Barlik)
18286Solution: Move redrawing the screen to after overwriting the characters.
18287Files: src/main.c, src/term.c.
18288
18289Patch 8.0.0612
18290Problem: Package directories are added to 'runtimepath' only after loading
18291 non-package plugins.
18292Solution: Split off the code to add package directories to 'runtimepath'.
18293 (Ingo Karkat, closes #1680)
18294Files: src/ex_cmds2.c, src/globals.h, src/main.c, src/proto/ex_cmds2.pro,
18295 src/testdir/test_startup.vim
18296
18297Patch 8.0.0613
18298Problem: The conf filetype detection is done before ftdetect scripts from
18299 packages that are added later.
18300Solution: Add the FALLBACK argument to :setfiletype. (closes #1679,
18301 closes #1693)
18302Files: src/ex_docmd.c, runtime/filetype.vim, src/Makefile,
18303 src/testdir/test_filetype.vim, src/testdir/test_alot.vim
18304
18305Patch 8.0.0614
18306Problem: float2nr() is not exactly right.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018307Solution: Make float2nr() more accurate. Turn test65 into a new style test.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018308 (Hirohito Higashi, closes #1688)
18309Files: src/Makefile, src/evalfunc.c, src/testdir/Make_all.mak,
18310 src/testdir/Make_vms.mms, src/testdir/test65.in,
18311 src/testdir/test65.ok, src/testdir/test_float_func.vim,
18312 src/testdir/test_vimscript.vim, src/macros.h
18313
18314Patch 8.0.0615
18315Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov)
18316Solution: Expand % differently. (Christian Brabandt, closes #1682)
18317Files: src/ex_docmd.c, src/testdir/test_hardcopy.vim
18318
18319
18320Patch 8.0.0616
18321Problem: When setting the cterm background with ":hi Normal" the value of
18322 'background' may be set wrongly.
18323Solution: Check that the color is less than 16. Don't set 'background' when
18324 it was set explicitly. (Lemonboy, closes #1710)
18325Files: src/syntax.c, src/testdir/test_syntax.vim
18326
18327Patch 8.0.0617 (after 8.0.0615)
18328Problem: Hardcopy test hangs on MS-Windows.
18329Solution: Check the postscript feature is supported.
18330Files: src/testdir/test_hardcopy.vim
18331
18332Patch 8.0.0618
18333Problem: NFA regex engine handles [0-z] incorrectly.
18334Solution: Return at the right point. (James McCoy, closes #1703)
18335Files: src/regexp_nfa.c, src/testdir/test36.in, src/testdir/test36.ok
18336
18337Patch 8.0.0619
18338Problem: In the GUI, when a timer uses feedkeys(), it still waits for an
18339 event. (Raymond Ko)
18340Solution: Check tb_change_cnt in one more place.
18341Files: src/gui.c
18342
18343Patch 8.0.0620
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018344Problem: Since we only support GTK versions that have it, the check for
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018345 HAVE_GTK_MULTIHEAD is no longer needed.
18346Solution: Remove HAVE_GTK_MULTIHEAD. (Kazunobu Kuriyama)
18347Files: src/config.h.in, src/configure.ac, src/auto/configure,
18348 src/gui_beval.c, src/gui_gtk_x11.c, src/mbyte.c
18349
18350Patch 8.0.0621
18351Problem: The ":stag" command does not respect 'switchbuf'.
18352Solution: Check 'switchbuf' for tag commands that may open a new window.
18353 (Ingo Karkat, closes #1681) Define macros for the return values
18354 of getfile().
18355Files: src/tag.c, src/testdir/test_tagjump.vim, src/vim.h, src/buffer.c,
18356 src/ex_cmds.c, src/search.c,
18357
18358Patch 8.0.0622
18359Problem: Using a text object to select quoted text fails when 'selection'
18360 is set to "exclusive". (Guraga)
18361Solution: Swap cursor and visual start position. (Christian Brabandt,
18362 closes #1687)
18363Files: src/search.c, src/testdir/test_textobjects.vim
18364
18365Patch 8.0.0623
18366Problem: The message "Invalid range" is used for multiple errors.
18367Solution: Add two more specific error messages. (Itchyny, Ken Hamada)
18368Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
18369
18370Patch 8.0.0624 (after 8.0.0623)
18371Problem: Warning for unused variable in tiny build. (Tony Mechelynck)
18372Solution: Add an #ifdef.
18373Files: src/regexp.c
18374
18375Patch 8.0.0625
18376Problem: shellescape() always escapes a newline, which does not work with
18377 some shells. (Harm te Hennepe)
18378Solution: Only escape a newline when the "special" argument is non-zero.
18379 (Christian Brabandt, closes #1590)
18380Files: src/evalfunc.c, src/testdir/test_functions.vim
18381
18382Patch 8.0.0626
18383Problem: In the GUI the cursor may flicker.
18384Solution: Check the cmd_silent flag before updating the cursor shape.
18385 (Hirohito Higashi, closes #1637)
18386Files: src/getchar.c
18387
18388Patch 8.0.0627
18389Problem: When 'wrapscan' is off "gn" does not select the whole pattern when
18390 it's the last one in the text. (KeyboardFire)
18391Solution: Check if the search fails. (Christian Brabandt, closes #1683)
18392Files: src/search.c, src/testdir/test_gn.vim
18393
18394Patch 8.0.0628 (after 8.0.0626
18395Problem: Cursor disappears after silent mapping. (Ramel Eshed)
18396Solution: Do restore the cursor when it was changed, but don't change it in
18397 the first place for a silent mapping.
18398Files: src/getchar.c
18399
18400
18401Patch 8.0.0629 (after 8.0.0611)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018402Problem: Checking for ambiguous width is not working. (Hirohito Higashi)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018403Solution: Reset "starting" earlier.
18404Files: src/main.c
18405
18406Patch 8.0.0630
18407Problem: The :global command does not work recursively, which makes it
18408 difficult to execute a command on a line where one pattern matches
18409 and another does not match. (Miles Cranmer)
18410Solution: Allow for recursion if it is for only one line. (closes #1760)
18411Files: src/ex_cmds.c, src/testdir/test_global.vim, runtime/doc/repeat.txt
18412
18413Patch 8.0.0631
18414Problem: Perl 5.26 also needs S_TOPMARK and S_POPMARK defined.
18415Solution: Define the functions when needed. (Jesin, closes #1748)
18416Files: src/if_perl.xs
18417
18418Patch 8.0.0632
18419Problem: The quotestar test is still a bit flaky.
18420Solution: Kill any existing server to make the retry work. Wait for the
18421 register to be filled.
18422Files: src/testdir/test_quotestar.vim
18423
18424Patch 8.0.0633
18425Problem: The client-server test is still a bit flaky.
18426Solution: Wait a bit for the GUI to start. Check that the version number
18427 can be obtained.
18428Files: src/testdir/test_clientserver.vim
18429
18430Patch 8.0.0634
18431Problem: Cannot easily get to the last quickfix list.
18432Solution: Add "$" as a value for the "nr" argument of getqflist() and
18433 setqflist(). (Yegappan Lakshmanan)
18434Files: runtime/doc/eval.txt, src/quickfix.c,
18435 src/testdir/test_quickfix.vim
18436
18437Patch 8.0.0635
18438Problem: When 'ignorecase' is set script detection is inaccurate.
18439Solution: Enforce matching case for text. (closes #1753)
18440Files: runtime/scripts.vim
18441
18442Patch 8.0.0636
18443Problem: When reading the undo file fails may use uninitialized data.
18444Solution: Always clear the buffer on failure.
18445Files: src/undo.c
18446
18447Patch 8.0.0637
18448Problem: Crash when using some version of GTK 3.
18449Solution: Add #ifdefs around incrementing the menu index. (Kazunobu
18450 Kuriyama)
18451Files: src/gui_gtk.c
18452
18453Patch 8.0.0638
18454Problem: Cannot build with new MSVC version VS2017.
18455Solution: Change the compiler arguments. (Leonardo Manera, closes #1731,
18456 closes #1747)
18457Files: src/GvimExt/Makefile, src/Make_mvc.mak
18458
18459Patch 8.0.0639
18460Problem: The cursor position is set to the last position in a new commit
18461 message.
18462Solution: Don't set the position if the filetype matches "commit".
18463 (Christian Brabandt)
18464Files: runtime/defaults.vim
18465
18466Patch 8.0.0640
18467Problem: Mismatch between help and actual message for ":syn conceal".
18468Solution: Change the message to match the help. (Ken Takata)
18469Files: src/syntax.c
18470
18471Patch 8.0.0641
18472Problem: Cannot set a separate highlighting for the current line in the
18473 quickfix window.
18474Solution: Add QuickFixLine. (anishsane, closes #1755)
18475Files: src/option.c, src/quickfix.c, src/screen.c, src/syntax.c,
18476 src/vim.h, runtime/doc/options.txt, runtime/doc/quickfix.txt
18477
18478Patch 8.0.0642
18479Problem: writefile() continues after detecting an error.
18480Solution: Bail out as soon as an error is detected. (suggestions by Nikolai
18481 Pavlov, closes #1476)
18482Files: src/evalfunc.c, src/testdir/test_writefile.vim
18483
18484Patch 8.0.0643
18485Problem: When 'hlsearch' is set and matching with the last search pattern
18486 is very slow, Vim becomes unusable. Cannot quit search by
18487 pressing CTRL-C.
18488Solution: When the search times out set a flag and don't try again. Check
18489 for timeout and CTRL-C in NFA loop that adds states.
18490Files: src/screen.c, src/ex_cmds.c, src/quickfix.c, src/regexp.c,
18491 src/proto/regexp.pro, src/regexp.h, src/search.c,
18492 src/proto/search.pro, src/syntax.c, src/regexp_nfa.c, src/spell.c,
18493 src/tag.c, src/gui.c, src/edit.c, src/evalfunc.c, src/ex_docmd.c,
18494 src/ex_getln.c, src/normal.c
18495
18496Patch 8.0.0644
18497Problem: There is no test for 'hlsearch' timing out.
18498Solution: Add a test.
18499Files: src/testdir/test_hlsearch.vim
18500
18501Patch 8.0.0645
18502Problem: The new regexp engine does not give an error for using a back
18503 reference where it is not allowed. (Dominique Pelle)
18504Solution: Check the back reference like the old engine. (closes #1774)
18505Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_hlsearch.vim,
18506 src/testdir/test_statusline.vim,
18507 src/testdir/test_regexp_latin1.vim
18508
18509Patch 8.0.0646
18510Problem: The hlsearch test fails on fast systems.
18511Solution: Make the search pattern slower. Fix that the old regexp engine
18512 doesn't timeout properly.
18513Files: src/regexp.c, src/testdir/test_hlsearch.vim
18514
18515Patch 8.0.0647
18516Problem: Syntax highlighting can cause a freeze.
18517Solution: Apply 'redrawtime' to syntax highlighting, per window.
18518Files: src/structs.h, src/screen.c, src/syntax.c, src/normal.c,
18519 src/regexp.c, src/proto/syntax.pro, src/testdir/test_syntax.vim,
18520 runtime/doc/options.txt
18521
18522Patch 8.0.0648
18523Problem: Possible use of NULL pointer if buflist_new() returns NULL.
18524 (Coverity)
18525Solution: Check for NULL pointer in set_bufref().
18526Files: src/buffer.c
18527
18528Patch 8.0.0649
18529Problem: When opening a help file the filetype is set several times.
18530Solution: When setting the filetype to the same value from a modeline, don't
18531 trigger FileType autocommands. Don't set the filetype to "help"
18532 when it's already set correctly.
18533Files: src/ex_cmds.c, src/option.c, runtime/filetype.vim
18534
18535Patch 8.0.0650
18536Problem: For extra help files the filetype is set more than once.
18537Solution: In *.txt files check that there is no help file modline.
18538Files: runtime/filetype.vim
18539
18540Patch 8.0.0651 (after 8.0.0649)
18541Problem: Build failure without the auto command feature.
18542Solution: Add #ifdef. (closes #1782)
18543Files: src/ex_cmds.c
18544
18545Patch 8.0.0652
18546Problem: Unicode information is outdated.
18547Solution: Update to Unicode 10. (Christian Brabandt)
18548Files: runtime/tools/unicode.vim, src/mbyte.c
18549
18550Patch 8.0.0653
18551Problem: The default highlight for QuickFixLine does not work for several
18552 color schemes. (Manas Thakur)
18553Solution: Make the default use the old color. (closes #1780)
18554Files: src/syntax.c
18555
18556Patch 8.0.0654
18557Problem: Text found after :endfunction is silently ignored.
18558Solution: Give a warning if 'verbose' is set. When | or \n are used,
18559 execute the text as a command.
18560Files: src/testdir/test_vimscript.vim, src/userfunc.c,
18561 runtime/doc/eval.txt
18562
18563Patch 8.0.0655
18564Problem: Not easy to make sure a function does not exist.
18565Solution: Add ! as an optional argument to :delfunc.
18566Files: src/userfunc.c, src/ex_cmds.h, src/testdir/test_vimscript.vim
18567
18568Patch 8.0.0656
18569Problem: Cannot use ! after some user commands.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018570Solution: Properly check for existing command. (Hirohito Higashi)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018571Files: src/ex_docmd.c, src/testdir/test_vimscript.vim
18572
18573Patch 8.0.0657
18574Problem: Cannot get and set quickfix list items.
18575Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan
18576 Lakshmanan)
18577Files: runtime/doc/eval.txt, src/quickfix.c,
18578 src/testdir/test_quickfix.vim
18579
18580Patch 8.0.0658
18581Problem: Spell test is old style.
18582Solution: Turn the spell test into a new style test (pschuh, closes #1778)
18583Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
18584 src/testdir/test58.in, src/testdir/test58.ok,
18585 src/testdir/test_spell.vim
18586
18587Patch 8.0.0659
18588Problem: No test for conceal mode.
18589Solution: Add a conceal mode test. (Dominique Pelle, closes #1783)
18590Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim
18591
18592Patch 8.0.0660
18593Problem: Silent install on MS-Windows does show a dialog.
18594Solution: Add /SD to the default choice. (allburov, closes #1772)
18595Files: nsis/gvim.nsi
18596
18597Patch 8.0.0661
18598Problem: Recognizing urxvt mouse codes does not work well.
18599Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486)
18600Files: src/keymap.h, src/misc2.c, src/os_unix.c, src/term.c
18601
18602Patch 8.0.0662 (after 8.0.0659)
18603Problem: Stray FIXME for fixed problem.
18604Solution: Remove the comment. (Dominique Pelle)
18605Files: src/testdir/test_syntax.vim
18606
18607Patch 8.0.0663
18608Problem: Giving an error message only when 'verbose' set is unexpected.
18609Solution: Give a warning message instead.
18610Files: src/message.c, src/proto/message.pro, src/userfunc.c,
18611 src/testdir/test_vimscript.vim, runtime/doc/eval.txt
18612
18613Patch 8.0.0664 (after 8.0.0661)
18614Problem: Mouse does not work in tmux. (lilydjwg)
18615Solution: Add flag for SGR release being present.
18616Files: src/term.c
18617
18618Patch 8.0.0665 (after 8.0.0661)
18619Problem: Warning for uninitialized variable. (Tony Mechelynck)
18620Solution: Initialize it.
18621Files: src/term.c
18622
18623Patch 8.0.0666
18624Problem: Dead for loop. (Coverity)
18625Solution: Remove the for loop.
18626Files: src/term.c
18627
18628Patch 8.0.0667
18629Problem: Memory access error when command follows :endfunction. (Nikolai
18630 Pavlov)
18631Solution: Make memory handling in :function straightforward. (closes #1793)
18632Files: src/userfunc.c, src/testdir/test_vimscript.vim
18633
18634Patch 8.0.0668 (after 8.0.0660)
18635Problem: Nsis installer script does not work. (Christian Brabandt)
18636Solution: Fix the syntax of /SD.
18637Files: nsis/gvim.nsi
18638
18639Patch 8.0.0669
18640Problem: In Insert mode, CTRL-N at start of the buffer does not work
18641 correctly. (zuloloxi)
18642Solution: Wrap around the start of the buffer. (Christian Brabandt)
18643Files: src/edit.c, src/testdir/test_popup.vim
18644
18645Patch 8.0.0670
18646Problem: Can't use input() in a timer callback. (Cosmin Popescu)
18647Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes #1790,
18648 closes #1129)
18649Files: src/evalfunc.c, src/ex_cmds2.c, src/globals.h,
18650 src/testdir/test_timers.vim
18651
18652Patch 8.0.0671
18653Problem: When a function invoked from a timer calls confirm() and the user
18654 types CTRL-C then Vim hangs.
18655Solution: Reset typebuf_was_filled. (Ozaki Kiichi, closes #1791)
18656Files: src/getchar.c
18657
18658Patch 8.0.0672
18659Problem: Third item of synconcealed() changes too often. (Dominique Pelle)
18660Solution: Reset the sequence number at the start of each line.
18661Files: src/syntax.c, src/testdir/test_syntax.vim, runtime/doc/eval.txt
18662
18663Patch 8.0.0673 (after 8.0.0673)
18664Problem: Build failure without conceal feature.
18665Solution: Add #ifdef.
18666Files: src/syntax.c
18667
18668Patch 8.0.0674 (after 8.0.0670)
18669Problem: Cannot build with eval but without timers.
18670Solution: Add #ifdef (John Marriott)
18671Files: src/evalfunc.c
18672
18673Patch 8.0.0675
18674Problem: 'colorcolumn' has a higher priority than 'hlsearch', it should be
18675 the other way around. (Nazri Ramliy)
18676Solution: Change the priorities. (LemonBoy, closes #1794)
18677Files: src/screen.c, src/testdir/test_listlbr_utf8.vim
18678
18679Patch 8.0.0676
18680Problem: Crash when closing the quickfix window in a FileType autocommand
18681 that triggers when the quickfix window is opened.
18682Solution: Save the new value before triggering the OptionSet autocommand.
18683 Add the "starting" flag to test_override() to make the text work.
18684Files: src/evalfunc.c, src/option.c, runtime/doc/eval.txt
18685
18686Patch 8.0.0677
18687Problem: Setting 'filetype' internally may cause the current buffer and
18688 window to change unexpectedly.
18689Solution: Set curbuf_lock. (closes #1734)
18690Files: src/quickfix.c, src/ex_cmds.c, src/ex_getln.c,
18691 src/testdir/test_quickfix.vim
18692
18693Patch 8.0.0678
18694Problem: When 'equalalways' is set and closing a window in a separate
18695 frame, not all window sizes are adjusted. (Glacambre)
18696Solution: Resize all windows if the new current window is not in the same
18697 frame as the closed window. (closes #1707)
18698Files: src/window.c, src/testdir/test_window_cmd.vim
18699
18700Patch 8.0.0679 (after 8.0.0678)
18701Problem: Using freed memory.
18702Solution: Get the parent frame pointer earlier.
18703Files: src/window.c
18704
18705Patch 8.0.0680 (after 8.0.0612)
18706Problem: Plugins in start packages are sourced twice. (mseplowitz)
18707Solution: Use the unmodified runtime path when loading plugins (test by Ingo
18708 Karkat, closes #1801)
18709Files: src/testdir/test_startup.vim, src/main.c, src/ex_cmds2.c,
18710 src/proto/ex_cmds2.pro
18711
18712Patch 8.0.0681
18713Problem: Unnamed register only contains the last deleted text when
18714 appending deleted text to a register. (Wolfgang Jeltsch)
18715Solution: Only set y_previous when not using y_append. (Christian Brabandt)
18716Files: src/ops.c, src/testdir/test_put.vim
18717
18718Patch 8.0.0682
18719Problem: No test for synIDtrans().
18720Solution: Add a test. (Dominique Pelle, closes #1796)
18721Files: src/testdir/test_syntax.vim
18722
18723Patch 8.0.0683
18724Problem: When using a visual bell there is no delay, causing the flash to
18725 be very short, possibly unnoticeable. Also, the flash and the
18726 beep can lockup the UI when repeated often.
18727Solution: Do the delay in Vim or flush the output before the delay. Limit the
18728 bell to once per half a second. (Ozaki Kiichi, closes #1789)
18729Files: src/misc1.c, src/proto/term.pro, src/term.c
18730
18731Patch 8.0.0684
18732Problem: Old style tests are not nice.
18733Solution: Turn two tests into new style. (pschuh, closes #1797)
18734Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
18735 src/testdir/test82.in, src/testdir/test82.ok,
18736 src/testdir/test90.in, src/testdir/test90.ok,
18737 src/testdir/test_sha256.vim, src/testdir/test_utf8_comparisons.vim
18738
18739Patch 8.0.0685
18740Problem: When making backups is disabled and conversion with iconv fails
18741 the written file is truncated. (Luo Chen)
18742Solution: First try converting the file and write the file only when it did
18743 not fail. (partly by Christian Brabandt)
18744Files: src/fileio.c, src/testdir/test_writefile.vim
18745
18746Patch 8.0.0686
18747Problem: When typing CTRL-L in a window that's not the first one, another
18748 redraw will happen later. (Christian Brabandt)
18749Solution: Reset must_redraw after calling screenclear().
18750Files: src/screen.c
18751
18752Patch 8.0.0687
18753Problem: Minor issues related to quickfix.
18754Solution: Set the proper return status for all cases in setqflist() and at
18755 test cases for this. Move the "adding" flag outside of
18756 FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan
18757 Lakshmanan)
18758Files: runtime/doc/eval.txt, src/quickfix.c,
18759 src/testdir/test_quickfix.vim
18760
18761Patch 8.0.0688
18762Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat)
18763Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat,
18764 closes #1804)
18765Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
18766
18767Patch 8.0.0689
18768Problem: The ~ character is not escaped when adding to the search pattern
18769 with CTRL-L. (Ramel Eshed)
18770Solution: Escape the character. (Christian Brabandt)
18771Files: src/ex_getln.c, src/testdir/test_search.vim
18772
18773Patch 8.0.0690
18774Problem: Compiler warning on non-Unix system.
18775Solution: Add #ifdef. (John Marriott)
18776Files: src/term.c
18777
18778Patch 8.0.0691
18779Problem: Compiler warning without the linebreak feature.
18780Solution: Add #ifdef. (John Marriott)
18781Files: src/edit.c
18782
18783Patch 8.0.0692
18784Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction.
18785 (Ramel Eshed)
18786Solution: Adjust search_start. (Christian Brabandt)
18787Files: src/ex_getln.c, src/testdir/test_search.vim
18788
18789Patch 8.0.0693
18790Problem: No terminal emulator support. Cannot properly run commands in the
18791 GUI. Cannot run a job interactively with an ssh connection.
18792Solution: Very early implementation of the :terminal command. Includes
18793 libvterm converted to ANSI C. Many parts still missing.
18794Files: src/feature.h, src/Makefile, src/configure.ac, src/auto/configure,
18795 src/config.mk.in, src/config.h.in, src/terminal.c, src/structs.h,
18796 src/ex_cmdidxs.h, src/ex_docmd.c, src/option.c, src/option.h,
18797 src/evalfunc.c, src/proto/terminal.pro, src/proto.h,
18798 runtime/doc/terminal.txt, runtime/doc/Makefile, Filelist,
18799 src/libvterm/.bzrignore, src/libvterm/.gitignore,
18800 src/libvterm/LICENSE, src/libvterm/README, src/libvterm/Makefile,
18801 src/libvterm/tbl2inc_c.pl, src/libvterm/vterm.pc.in,
18802 src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c,
18803 src/libvterm/bin/vterm-dump.c, src/libvterm/doc/URLs,
18804 src/libvterm/doc/seqs.txt, src/libvterm/include/vterm.h,
18805 src/libvterm/include/vterm_keycodes.h,
18806 src/libvterm/src/encoding.c,
18807 src/libvterm/src/encoding/DECdrawing.inc,
18808 src/libvterm/src/encoding/DECdrawing.tbl,
18809 src/libvterm/src/encoding/uk.inc,
18810 src/libvterm/src/encoding/uk.tbl, src/libvterm/src/keyboard.c,
18811 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
18812 src/libvterm/src/pen.c, src/libvterm/src/rect.h,
18813 src/libvterm/src/screen.c, src/libvterm/src/state.c,
18814 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h,
18815 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
18816 src/libvterm/t/02parser.test, src/libvterm/t/03encoding_utf8.test,
18817 src/libvterm/t/10state_putglyph.test,
18818 src/libvterm/t/11state_movecursor.test,
18819 src/libvterm/t/12state_scroll.test,
18820 src/libvterm/t/13state_edit.test,
18821 src/libvterm/t/14state_encoding.test,
18822 src/libvterm/t/15state_mode.test,
18823 src/libvterm/t/16state_resize.test,
18824 src/libvterm/t/17state_mouse.test,
18825 src/libvterm/t/18state_termprops.test,
18826 src/libvterm/t/20state_wrapping.test,
18827 src/libvterm/t/21state_tabstops.test,
18828 src/libvterm/t/22state_save.test,
18829 src/libvterm/t/25state_input.test,
18830 src/libvterm/t/26state_query.test,
18831 src/libvterm/t/27state_reset.test,
18832 src/libvterm/t/28state_dbl_wh.test,
18833 src/libvterm/t/29state_fallback.test, src/libvterm/t/30pen.test,
18834 src/libvterm/t/40screen_ascii.test,
18835 src/libvterm/t/41screen_unicode.test,
18836 src/libvterm/t/42screen_damage.test,
18837 src/libvterm/t/43screen_resize.test,
18838 src/libvterm/t/44screen_pen.test,
18839 src/libvterm/t/45screen_protect.test,
18840 src/libvterm/t/46screen_extent.test,
18841 src/libvterm/t/47screen_dbl_wh.test,
18842 src/libvterm/t/48screen_termprops.test,
18843 src/libvterm/t/90vttest_01-movement-1.test,
18844 src/libvterm/t/90vttest_01-movement-2.test,
18845 src/libvterm/t/90vttest_01-movement-3.test,
18846 src/libvterm/t/90vttest_01-movement-4.test,
18847 src/libvterm/t/90vttest_02-screen-1.test,
18848 src/libvterm/t/90vttest_02-screen-2.test,
18849 src/libvterm/t/90vttest_02-screen-3.test,
18850 src/libvterm/t/90vttest_02-screen-4.test,
18851 src/libvterm/t/92lp1640917.test, src/libvterm/t/harness.c,
18852 src/libvterm/t/run-test.pl
18853
18854Patch 8.0.0694
18855Problem: Building in shadow directory does not work. Running Vim fails.
18856Solution: Add the new libvterm directory. Add missing change in command
18857 list.
18858Files: src/Makefile, src/ex_cmds.h
18859
18860Patch 8.0.0695
18861Problem: Missing dependencies breaks parallel make.
18862Solution: Add dependencies for terminal.o.
18863Files: src/Makefile
18864
18865Patch 8.0.0696
18866Problem: The .inc files are missing in git. (Nazri Ramliy)
18867Solution: Remove the .inc line from .gitignore.
18868Files: src/libvterm/.gitignore
18869
18870Patch 8.0.0697
18871Problem: Recorded key sequences may become invalid.
18872Solution: Add back KE_SNIFF removed in 7.4.1433. Use fixed numbers for the
18873 key_extra enum.
18874Files: src/keymap.h
18875
18876Patch 8.0.0698
18877Problem: When a timer uses ":pyeval" or another Python command and it
18878 happens to be triggered while exiting a Crash may happen.
18879 (Ricky Zhou)
18880Solution: Avoid running a Python command after python_end() was called.
18881 Do not trigger timers while exiting. (closes #1824)
18882Files: src/if_python.c, src/if_python3.c, src/ex_cmds2.c
18883
18884Patch 8.0.0699
18885Problem: Checksum tests are not actually run.
18886Solution: Add the tests to the list. (Dominique Pelle, closes #1819)
18887Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim
18888
18889Patch 8.0.0700
18890Problem: Segfault with QuitPre autocommand closes the window. (Marek)
18891Solution: Check that the window pointer is still valid. (Christian Brabandt,
18892 closes #1817)
18893Files: src/testdir/test_tabpage.vim, src/ex_docmd.c
18894
18895Patch 8.0.0701
18896Problem: System test failing when using X11 forwarding.
18897Solution: Set $XAUTHORITY before changing $HOME. (closes #1812)
18898 Also use a better check for the exit value.
18899Files: src/testdir/setup.vim, src/testdir/test_system.vim
18900
18901Patch 8.0.0702
18902Problem: An error in a timer can make Vim unusable.
18903Solution: Don't set the error flag or exception from a timer. Stop a timer
18904 if it causes an error 3 out of 3 times. Discard an exception
18905 caused inside a timer.
18906Files: src/ex_cmds2.c, src/structs.h, src/testdir/test_timers.vim,
18907 runtime/doc/eval.txt
18908
18909Patch 8.0.0703
18910Problem: Illegal memory access with empty :doau command.
18911Solution: Check the event for being out of range. (James McCoy)
18912Files: src/testdir/test_autocmd.vim, src/fileio.c
18913
18914Patch 8.0.0704
18915Problem: Problems with autocommands when opening help.
18916Solution: Avoid using invalid "varp" value. Allow using :wincmd if buffer
18917 is locked. (closes #1806, closes #1804)
18918Files: src/option.c, src/ex_cmds.h
18919
18920Patch 8.0.0705 (after 8.0.0702)
18921Problem: Crash when there is an error in a timer callback. (Aron Griffis,
18922 Ozaki Kiichi)
18923Solution: Check did_throw before discarding an exception. NULLify
18924 current_exception when no longer valid.
18925Files: src/ex_eval.c, src/ex_cmds2.c
18926
18927Patch 8.0.0706
18928Problem: Crash when cancelling the cmdline window in Ex mode. (James McCoy)
18929Solution: Do not set cmdbuff to NULL, make it empty.
18930Files: src/ex_getln.c
18931
18932Patch 8.0.0707
18933Problem: Freeing wrong memory when manipulating buffers in autocommands.
18934 (James McCoy)
18935Solution: Also set the w_s pointer if w_buffer was NULL.
18936Files: src/ex_cmds.c
18937
18938Patch 8.0.0708
18939Problem: Some tests are old style.
18940Solution: Change a few tests from old style to new style. (pschuh,
18941 closes #1813)
18942Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
18943 src/testdir/Make_vms.mms, src/testdir/main.aap,
18944 src/testdir/test23.in, src/testdir/test23.ok,
18945 src/testdir/test24.in, src/testdir/test24.ok,
18946 src/testdir/test26.in, src/testdir/test26.ok,
18947 src/testdir/test67.in, src/testdir/test67.ok,
18948 src/testdir/test75.in, src/testdir/test75.ok,
18949 src/testdir/test97.in, src/testdir/test97.ok,
18950 src/testdir/test_comparators.in, src/testdir/test_comparators.ok,
18951 src/testdir/test_comparators.vim,
18952 src/testdir/test_escaped_glob.vim,
18953 src/testdir/test_exec_while_if.vim,
18954 src/testdir/test_exists_autocmd.vim, src/testdir/test_getcwd.in,
18955 src/testdir/test_getcwd.ok, src/testdir/test_getcwd.vim,
18956 src/testdir/test_maparg.vim, src/testdir/test_plus_arg_edit.vim,
18957 src/testdir/test_regex_char_classes.vim
18958
18959Patch 8.0.0709
18960Problem: Libvterm cannot use vsnprintf(), it does not exist in C90.
18961Solution: Use vim_vsnprintf() instead.
18962Files: src/message.c, src/Makefile, src/proto.h, src/evalfunc.c,
18963 src/netbeans.c, src/libvterm/src/vterm.c
18964
18965Patch 8.0.0710
18966Problem: A job that writes to a buffer clears command line completion.
18967 (Ramel Eshed)
18968Solution: Do not redraw while showing the completion menu.
18969Files: src/screen.c
18970
18971Patch 8.0.0711 (after 8.0.0710)
18972Problem: Cannot build without the wildmenu feature.
18973Solution: Add #ifdef
18974Files: src/screen.c
18975
18976Patch 8.0.0712
18977Problem: The terminal implementation is incomplete.
18978Solution: Add the 'termkey' option.
18979Files: src/option.c, src/option.h, src/structs.h
18980
18981Patch 8.0.0713 (after 8.0.0712)
18982Problem: 'termkey' option not fully implemented.
18983Solution: Add initialisation.
18984Files: src/option.c
18985
18986Patch 8.0.0714
18987Problem: When a timer causes a command line redraw the " that is displayed
18988 for CTRL-R goes missing.
18989Solution: Remember an extra character to display.
18990Files: src/ex_getln.c
18991
18992Patch 8.0.0715
18993Problem: Writing to the wrong buffer if the buffer that a channel writes to
18994 was closed.
18995Solution: Do not write to a buffer that was unloaded.
18996Files: src/channel.c, src/testdir/test_channel.vim,
18997 src/testdir/test_channel_write.py
18998
18999Patch 8.0.0716
19000Problem: Not easy to start Vim cleanly without changing the viminfo file.
19001 Not possible to know whether the -i command line flag was used.
19002Solution: Add the --clean command line argument. Add the 'viminfofile'
19003 option. Add "-u DEFAULTS".
19004Files: src/main.c, runtime/doc/starting.txt, src/option.c, src/option.h,
19005 src/ex_cmds.c, src/globals.h, runtime/doc/options.txt
19006
19007Patch 8.0.0717
19008Problem: Terminal feature not included in :version output.
19009Solution: Add +terminal or -terminal.
19010Files: src/version.c, src/terminal.c
19011
19012Patch 8.0.0718
19013Problem: Output of job in terminal is not displayed.
19014Solution: Connect the job output to the terminal.
19015Files: src/channel.c, src/proto/channel.pro, src/terminal.c,
19016 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro,
19017 src/evalfunc.c, src/screen.c, src/proto/screen.pro
19018
19019Patch 8.0.0719
19020Problem: Build failure without +terminal feature.
19021Solution: Add #ifdefs.
19022Files: src/screen.c, src/channel.c
19023
19024Patch 8.0.0720
19025Problem: Unfinished mapping not displayed when running timer.
19026Solution: Also use the extra_char while waiting for a mapping and digraph.
19027 (closes #1844)
19028Files: src/ex_getln.c
19029
19030Patch 8.0.0721
19031Problem: :argedit can only have one argument.
19032Solution: Allow for multiple arguments. (Christian Brabandt)
19033Files: runtime/doc/editing.txt, src/ex_cmds.h, src/ex_cmds2.c,
19034 src/testdir/test_arglist.vim
19035
19036Patch 8.0.0722
19037Problem: Screen is messed by timer up at inputlist() prompt.
19038Solution: Set state to ASKMORE. (closes #1843)
19039Files: src/misc1.c
19040
19041Patch 8.0.0723 (after 8.0.0721)
19042Problem: Arglist test fails if file name case is ignored.
19043Solution: Wipe existing buffers, check for fname_case property.
19044Files: src/testdir/test_arglist.vim
19045
19046Patch 8.0.0724
19047Problem: The message for yanking doesn't indicate the register.
19048Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
19049 closes #1803, closes #1809)
19050Files: src/ops.c, src/Makefile, src/testdir/test_registers.vim,
19051 src/testdir/Make_all.mak
19052
19053Patch 8.0.0725
19054Problem: A terminal window does not handle keyboard input.
19055Solution: Add terminal_loop(). ":term bash -i" sort of works now.
19056Files: src/main.c, src/terminal.c, src/proto/terminal.pro, src/normal.c
19057
19058Patch 8.0.0726
19059Problem: Translations cleanup script is too conservative.
19060Solution: Also delete untranslated messages.
19061Files: src/po/cleanup.vim
19062
19063Patch 8.0.0727
19064Problem: Message about what register to yank into is not translated.
19065 (LemonBoy)
19066Solution: Add _().
19067Files: src/ops.c
19068
19069Patch 8.0.0728
19070Problem: The terminal structure is never freed.
19071Solution: Free the structure and unreference what it contains.
19072Files: src/terminal.c, src/buffer.c, src/proto/terminal.pro,
19073 src/channel.c, src/proto/channel.pro, src/evalfunc.c
19074
19075Patch 8.0.0729
19076Problem: The help for the terminal configure option is wrong.
19077Solution: Change "Disable" to "Enable". (E Kawashima, closes #1849)
19078 Improve alignment.
19079Files: src/configure.ac, src/auto/configure
19080
19081Patch 8.0.0730
19082Problem: Terminal feature only supports Unix-like systems.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019083Solution: Prepare for adding an MS-Windows implementation.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019084Files: src/terminal.c
19085
19086Patch 8.0.0731
19087Problem: Cannot build the terminal feature on MS-Windows.
19088Solution: Add the Makefile changes. (Yasuhiro Matsumoto, closes #1851)
19089Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
19090
19091Patch 8.0.0732
19092Problem: When updating a buffer for a callback the modeless selection is
19093 lost.
19094Solution: Do not insert or delete screen lines when redrawing for a callback
19095 and there is a modeless selection.
19096Files: src/screen.c
19097
19098Patch 8.0.0733
19099Problem: Can only add entries to one list in the quickfix stack.
19100Solution: Move state variables from qf_list_T to qf_list_T. (Yegappan
19101 Lakshmanan)
19102Files: src/quickfix.c
19103
19104Patch 8.0.0734
19105Problem: The script to check translations can be improved.
19106Solution: Restore the view when no errors are found. Check for matching
19107 line break at the end of the message. (Christian Brabandt)
19108Files: src/po/check.vim
19109
19110Patch 8.0.0735
19111Problem: There is no way to notice that the quickfix window contents has
19112 changed.
19113Solution: Increment b:changedtick when updating the quickfix window.
19114 (Yegappan Lakshmanan)
19115Files: runtime/doc/quickfix.txt, src/quickfix.c,
19116 src/testdir/test_quickfix.vim
19117
19118Patch 8.0.0736
19119Problem: The OptionSet autocommand event is not triggered when entering
19120 diff mode.
19121Solution: use set_option_value() instead of setting the option directly.
19122 Change the tests from old to new style. (Christian Brabandt)
19123Files: src/diff.c, src/testdir/Make_all.mak, src/Makefile,
19124 src/testdir/test_autocmd.vim, src/testdir/test_autocmd_option.in,
19125 src/testdir/test_autocmd_option.ok
19126
19127Patch 8.0.0737
19128Problem: Crash when X11 selection is very big.
19129Solution: Use static items instead of allocating them. Add callbacks.
19130 (Ozaki Kiichi)
19131Files: src/testdir/shared.vim, src/testdir/test_quotestar.vim,
19132 src/ui.c
19133
19134Patch 8.0.0738
19135Problem: Cannot use the mouse to resize window while the focus is in a
19136 terminal window.
19137Solution: Recognize nice mouse events in the terminal window. A few more
19138 fixes for the terminal window.
19139Files: src/terminal.c
19140
19141Patch 8.0.0739
19142Problem: Terminal resizing doesn't work well.
19143Solution: Resize the terminal to the Vim window and the other way around.
19144 Avoid mapping typed keys. Set the environment properly.
19145Files: src/terminal.c, src/os_unix.c, src/structs.h
19146
19147Patch 8.0.0740
19148Problem: Cannot resize a terminal window by the command running in it.
19149Solution: Add support for the window size escape sequence. Make BS work.
19150Files: src/terminal.c, src/libvterm/src/state.c
19151
19152Patch 8.0.0741
19153Problem: Cannot build with HPUX.
19154Solution: Rename envbuf_TERM to envbuf_Term. (John Marriott)
19155Files: src/os_unix.c
19156
19157Patch 8.0.0742
19158Problem: Terminal feature does not work on MS-Windows.
19159Solution: Use libvterm and libwinpty on MS-Windows. (Yasuhiro Matsumoto)
19160Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/channel.c,
19161 src/proto/channel.pro, src/terminal.c
19162
19163Patch 8.0.0743
19164Problem: The 'termsize' option can be set to an invalid value.
19165Solution: Check the 'termsize' option to be valid.
19166Files: src/option.c, src/testdir/gen_opt_test.vim
19167
19168Patch 8.0.0744
19169Problem: A terminal window uses pipes instead of a pty.
19170Solution: Add pty support.
19171Files: src/structs.h, src/os_unix.c, src/terminal.c, src/channel.c,
19172 src/proto/os_unix.pro, src/os_win32.c, src/proto/os_win32.pro
19173
19174Patch 8.0.0745
19175Problem: multi-byte characters in a terminal window are not displayed
19176 properly.
19177Solution: Set the unused screen characters. (Yasuhiro Matsumoto, closes
19178 #1857)
19179Files: src/terminal.c
19180
19181Patch 8.0.0746
19182Problem: When :term fails the job is not properly cleaned up.
19183Solution: Free the terminal. Handle a job that failed to start. (closes
19184 #1858)
19185Files: src/os_unix.c, src/channel.c, src/terminal.c
19186
19187Patch 8.0.0747
19188Problem: :terminal without an argument doesn't work.
19189Solution: Use the 'shell' option. (Yasuhiro Matsumoto, closes #1860)
19190Files: src/terminal.c
19191
19192Patch 8.0.0748
19193Problem: When running Vim in a terminal window it does not detect the right
19194 number of colors available.
19195Solution: Detect the version string that libvterm returns. Pass the number
19196 of colors in $COLORS.
19197Files: src/term.c, src/os_unix.c
19198
19199Patch 8.0.0749
19200Problem: Some unicode digraphs are hard to remember.
19201Solution: Add alternatives with a backtick. (Chris Harding, closes #1861)
19202Files: src/digraph.c
19203
19204Patch 8.0.0750
19205Problem: OpenPTY missing in non-GUI build.
19206Solution: Always include pty.c, add an #ifdef to skip over the contents.
19207Files: src/pty.c, src/Makefile
19208
19209Patch 8.0.0751 (after 8.0.0750)
19210Problem: OpenPTY missing with some combination of features. (Kazunobu
19211 Kuriyama)
19212Solution: Adjust #ifdef. Also include pty.pro when needed.
19213Files: src/pty.c, src/misc2.c, src/proto.h
19214
19215Patch 8.0.0752
19216Problem: Build fails on MS-Windows.
19217Solution: Change #ifdef for set_color_count().
19218Files: src/term.c
19219
19220Patch 8.0.0753
19221Problem: A job running in a terminal does not get notified of changes in
19222 the terminal size.
19223Solution: Use ioctl() and SIGWINCH to report the terminal size.
19224Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro
19225
19226Patch 8.0.0754
19227Problem: Terminal window does not support colors.
19228Solution: Lookup the color attribute.
19229Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro
19230
19231Patch 8.0.0755
19232Problem: Terminal window does not have colors in the GUI.
19233Solution: Lookup the GUI color.
19234Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro, src/term.c,
19235 src/proto/term.pro, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
19236 src/gui_x11.c, src/proto/gui_x11.pro, src/gui_mac.c,
19237 src/proto/gui_mac.pro, src/gui_photon.c, src/proto/gui_photon.pro,
19238 src/gui_w32.c, src/proto/gui_w32.pro,
19239
19240Patch 8.0.0756
19241Problem: Cannot build libvterm with MSVC.
19242Solution: Add an MSVC Makefile to libvterm. (Yasuhiro Matsumoto, closes
19243 #1865)
19244Files: src/INSTALLpc.txt, src/Make_mvc.mak, src/libvterm/Makefile.msc
19245
19246Patch 8.0.0757
19247Problem: Libvterm MSVC Makefile not included in the distribution.
19248Solution: Add the file to the list.
19249Files: Filelist
19250
19251Patch 8.0.0758
19252Problem: Possible crash when using a terminal window.
19253Solution: Check for NULL pointers. (Yasuhiro Matsumoto, closes #1864)
19254Files: src/terminal.c
19255
19256Patch 8.0.0759
19257Problem: MS-Windows: terminal does not adjust size to the Vim window size.
19258Solution: Add a call to winpty_set_size(). (Yasuhiro Matsumoto, closes #1863)
19259Files: src/terminal.c
19260
19261Patch 8.0.0760
19262Problem: Terminal window colors wrong with 'termguicolors'.
19263Solution: Add 'termguicolors' support.
19264Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro
19265
19266Patch 8.0.0761
19267Problem: Options of a buffer for a terminal window are not set properly.
19268Solution: Add "terminal" value for 'buftype'. Make 'buftype' and
19269 'bufhidden' not depend on the quickfix feature.
19270 Also set the buffer name and show "running" or "finished" in the
19271 window title.
19272Files: src/option.c, src/terminal.c, src/proto/terminal.pro,
19273 runtime/doc/options.txt, src/quickfix.c, src/proto/quickfix.pro,
19274 src/structs.h, src/buffer.c, src/ex_docmd.c, src/fileio.c,
19275 src/channel.c
19276
19277Patch 8.0.0762
19278Problem: ml_get error with :psearch in buffer without a name. (Dominique
19279 Pelle)
19280Solution: Use the buffer number instead of the file name. Check the cursor
19281 position.
19282Files: src/search.c, src/testdir/test_preview.vim, src/Makefile,
19283 src/testdir/Make_all.mak
19284
19285Patch 8.0.0763
19286Problem: Libvterm can be improved.
19287Solution: Various small improvements, more comments.
19288Files: src/libvterm/README, src/libvterm/include/vterm.h,
19289 src/libvterm/include/vterm_keycodes.h,
19290 src/libvterm/src/keyboard.c, src/libvterm/src/parser.c,
19291 src/libvterm/src/screen.c, src/libvterm/src/state.c
19292
19293Patch 8.0.0764
19294Problem: 'termkey' does not work yet.
19295Solution: Implement 'termkey'.
19296Files: src/terminal.c, src/option.c, src/proto/option.pro
19297
19298Patch 8.0.0765
19299Problem: Build fails with tiny features.
19300Solution: Adjust #ifdef. (John Marriott)
19301Files: src/option.c, src/option.h
19302
19303Patch 8.0.0766
19304Problem: Option test fails with +terminal feature.
19305Solution: Fix using the right option when checking the value.
19306Files: src/option.c
19307
19308Patch 8.0.0767
19309Problem: Build failure with Athena and Motif.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019310Solution: Move local variable declarations. (Kazunobu Kuriyama)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019311Files: src/gui_x11.c
19312
19313Patch 8.0.0768
19314Problem: Terminal window status shows "[Scratch]".
19315Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
19316 Store the terminal title that vterm sends and use it. Update the
19317 special buffer name. (closes #1869)
19318Files: src/terminal.c, src/proto/terminal.pro, src/buffer.c
19319
19320Patch 8.0.0769
19321Problem: Build problems with terminal on MS-Windows using MSVC.
19322Solution: Remove stdbool.h dependency. Only use ScreenLinesUC when it was
19323 allocated. Fix typos. (Ken Takata)
19324Files: src/libvterm/bin/vterm-ctrl.c, runtime/doc/terminal.txt,
19325 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
19326 src/libvterm/Makefile.msc, src/terminal.c
19327
19328Patch 8.0.0770
19329Problem: Compiler warning for missing field initializer.
19330Solution: Add two more values. (Yegappan Lakshmanan)
19331Files: src/libvterm/src/encoding.c
19332
19333Patch 8.0.0771
19334Problem: Cursor in a terminal window not always updated in the GUI.
19335Solution: Call gui_update_cursor(). (Yasuhiro Matsumoto, closes #1868)
19336Files: src/terminal.c
19337
19338Patch 8.0.0772
19339Problem: Other stdbool.h dependencies in libvterm.
19340Solution: Remove the dependency and use TRUE/FALSE/int. (Ken Takata)
19341Files: src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
19342 src/libvterm/src/pen.c, src/libvterm/t/harness.c,
19343 src/libvterm/bin/unterm.c
19344
19345Patch 8.0.0773
19346Problem: Mixing 32 and 64 bit libvterm builds fails.
19347Solution: Use OUTDIR. (Ken Takata)
19348Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/libvterm/Makefile.msc
19349
19350Patch 8.0.0774
19351Problem: Build failure without the multi-byte feature on HPUX.
19352Solution: Move #ifdefs. (John Marriott)
19353Files: src/term.c
19354
19355Patch 8.0.0775
19356Problem: In a terminal the cursor is updated too often.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019357Solution: Only flush when needed. (Yasuhiro Matsumoto). Remember whether the
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019358 cursor is visible. (closes #1873)
19359Files: src/terminal.c
19360
19361Patch 8.0.0776
19362Problem: Function prototypes missing without the quickfix feature. (Tony
19363 Mechelynck)
19364Solution: Move non-quickfix functions to buffer.c.
19365Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c,
19366 src/proto/quickfix.pro
19367
19368Patch 8.0.0777
19369Problem: Compiler warnings with 64 bit compiler.
19370Solution: Add type casts. (Mike Williams)
19371Files: src/libvterm/src/pen.c, src/libvterm/src/state.c, src/terminal.c
19372
19373Patch 8.0.0778
19374Problem: In a terminal the cursor may be hidden and screen updating lags
19375 behind. (Nazri Ramliy)
19376Solution: Switch the cursor on and flush output when needed. (Ozaki Kiichi)
19377Files: src/terminal.c
19378
19379Patch 8.0.0779
19380Problem: :term without an argument uses empty buffer name but runs the
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019381 shell.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019382Solution: Change the command to the shell earlier.
19383Files: src/terminal.c
19384
19385Patch 8.0.0780
19386Problem: Build failure on Travis.
19387Solution: Set distribution explicitly. Use Lua and Ruby dev. (Ken Takata,
19388 closes #1884)
19389Files: .travis.yml
19390
19391Patch 8.0.0781
19392Problem: MS-Windows: Memory leak when using :terminal.
19393Solution: Handle failures properly. (Ken Takata)
19394Files: src/terminal.c
19395
19396Patch 8.0.0782
19397Problem: Using freed memory in quickfix code. (Dominique Pelle)
19398Solution: Handle a help window differently. (Yegappan Lakshmanan)
19399Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c,
19400 src/testdir/test_quickfix.vim, src/ex_cmds.c, src/window.c
19401
19402Patch 8.0.0783
19403Problem: Job of terminal may be freed too early.
19404Solution: Increment job refcount. (Yasuhiro Matsumoto)
19405Files: src/terminal.c
19406
19407Patch 8.0.0784
19408Problem: Job of terminal may be garbage collected.
19409Solution: Set copyID on job in terminal. (Ozaki Kiichi)
19410Files: src/terminal.c, src/eval.c, src/proto/terminal.pro
19411
19412Patch 8.0.0785
19413Problem: Wildcards are not expanded for :terminal.
19414Solution: Add FILES to the command flags. (Yasuhiro Matsumoto, closes #1883)
19415 Also complete commands.
19416Files: src/ex_cmds.h, src/ex_docmd.c
19417
19418Patch 8.0.0786
19419Problem: Build failures on Travis.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019420Solution: Go back to precise temporarily. Disable coverage with clang.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019421Files: .travis.yml
19422
19423Patch 8.0.0787
19424Problem: Cannot send CTRL-W command to terminal job.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019425Solution: Make CTRL-W . a prefix for sending a key to the job.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019426Files: src/terminal.c, runtime/doc/terminal.txt, src/option.c
19427
19428Patch 8.0.0788
19429Problem: MS-Windows: cannot build with terminal feature.
19430Solution: Move set_ref_in_term(). (Ozaki Kiichi)
19431Files: src/terminal.c
19432
19433Patch 8.0.0789
19434Problem: When splitting a terminal window where the terminal follows the
19435 size of the window doesn't work.
19436Solution: Use the size of the smallest window. (Yasuhiro Matsumoto, closes
19437 #1885)
19438Files: src/terminal.c
19439
19440Patch 8.0.0790
19441Problem: MSVC compiler warning for strncpy in libvterm.
19442Solution: Add a define to stop the warnings. (Mike Williams)
19443Files: src/Make_mvc.mak
19444
19445Patch 8.0.0791
19446Problem: Terminal colors depend on the system.
19447Solution: Use the highlight color lookup tables.
19448Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c
19449
19450Patch 8.0.0792
19451Problem: Spell test leaves files behind.
19452Solution: Delete the files.
19453Files: src/testdir/test_spell.vim
19454
19455Patch 8.0.0793
19456Problem: Using wrong terminal name for terminal window.
19457Solution: When 'term' starts with "xterm" use it for $TERM in a terminal
19458 window.
19459Files: src/os_unix.c
19460
19461Patch 8.0.0794
19462Problem: The script to check translations fails if there is more than one
19463 NL in one line.
19464Solution: Count the number of NL characters. Make count() accept a string.
19465Files: src/po/check.vim, src/evalfunc.c, runtime/doc/eval.txt,
19466 src/testdir/test_functions.vim
19467
19468Patch 8.0.0795
19469Problem: Terminal feature does not build with older MSVC.
19470Solution: Do not use stdint.h.
19471Files: src/libvterm/include/vterm.h
19472
19473Patch 8.0.0796
19474Problem: No coverage on Travis with clang.
19475Solution: Use a specific coveralls version. (Ozaki Kiichi, closes #1888)
19476Files: .travis.yml
19477
19478Patch 8.0.0797
19479Problem: Finished job in terminal window is not handled.
19480Solution: Add the scrollback buffer. Use it to fill the buffer when the job
19481 has ended.
19482Files: src/terminal.c, src/screen.c, src/proto/terminal.pro,
19483 src/channel.c, src/os_unix.c, src/buffer.c
19484
19485Patch 8.0.0798
19486Problem: No highlighting in a terminal window with a finished job.
19487Solution: Highlight the text.
19488Files: src/terminal.c, src/proto/terminal.pro, src/screen.c, src/undo.c
19489
19490Patch 8.0.0799
19491Problem: Missing semicolon.
19492Solution: Add it.
19493Files: src/terminal.c
19494
19495Patch 8.0.0800
19496Problem: Terminal window scrollback contents is wrong.
19497Solution: Fix handling of multi-byte characters (Yasuhiro Matsumoto) Handle
19498 empty lines correctly. (closes #1891)
19499Files: src/terminal.c
19500
19501Patch 8.0.0801
19502Problem: The terminal window title sometimes still says "running" even
19503 though the job has finished.
19504Solution: Also consider the job finished when the channel has been closed.
19505Files: src/terminal.c
19506
19507Patch 8.0.0802
19508Problem: After a job exits the last line in the terminal window does not
19509 get color attributes.
19510Solution: Fix off-by-one error.
19511Files: src/terminal.c
19512
19513Patch 8.0.0803
19514Problem: Terminal window functions not yet implemented.
19515Solution: Implement several functions. Add a first test. (Yasuhiro
19516 Matsumoto, closes #1871)
19517Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c,
19518 src/proto/evalfunc.pro, src/proto/terminal.pro, src/terminal.c,
19519 src/testdir/Make_all.mak, src/testdir/test_terminal.vim
19520
19521Patch 8.0.0804
19522Problem: Running tests fails when stdin is /dev/null. (James McCoy)
19523Solution: Do not bail out from getting input if the --not-a-term argument
19524 was given. (closes #1460)
19525Files: src/eval.c, src/evalfunc.c
19526
19527Patch 8.0.0805
19528Problem: GUI test fails with gnome2.
19529Solution: Set $HOME to an existing directory.
19530Files: src/testdir/setup.vim, src/testdir/runtest.vim
19531
19532Patch 8.0.0806
19533Problem: Tests may try to create XfakeHOME twice.
19534Solution: Avoid loading setup.vim twice.
19535Files: src/testdir/setup.vim
19536
19537Patch 8.0.0807
19538Problem: Terminal window can't handle mouse buttons. (Hirohito Higashi)
19539Solution: Implement mouse buttons and many other keys. Ignore the ones that
19540 are not implemented.
19541Files: src/terminal.c
19542
19543Patch 8.0.0808
19544Problem: Cannot build with terminal feature and DEBUG defined. (Christian
19545 Brabandt)
19546Solution: Use DEBUG_LOG3().
19547Files: src/libvterm/src/pen.c
19548
19549Patch 8.0.0809
19550Problem: MS-Windows: tests hang.
19551Solution: Delete the XfakeHOME directory.
19552Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
19553
19554Patch 8.0.0810
19555Problem: MS-Windows: tests still hang.
19556Solution: Only create the XfakeHOME directory if it does not exist yet.
19557Files: src/testdir/setup.vim
19558
19559Patch 8.0.0811
19560Problem: MS-Windows: test_expand_dllpath fails.
19561Solution: Change backslashes to forward slashes
19562Files: src/testdir/test_expand_dllpath.vim
19563
19564Patch 8.0.0812
19565Problem: Terminal window colors shift when 'number' is set. (Nazri Ramliy)
19566Solution: Use vcol instead of col.
19567Files: src/screen.c
19568
19569Patch 8.0.0813
19570Problem: Cannot use Vim commands in a terminal window while the job is
19571 running.
19572Solution: Implement Terminal Normal mode.
19573Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/screen.c,
19574 src/normal.c, src/option.c, runtime/doc/terminal.txt
19575
19576Patch 8.0.0814 (after 8.0.0757)
19577Problem: File in Filelist does not exist.
19578Solution: Remove the line.
19579Files: Filelist
19580
19581Patch 8.0.0815
19582Problem: Terminal window not correctly updated when 'statusline' invokes
19583 ":sleep". (NIkolay Pavlov)
19584Solution: Clear got_int. Repeat redrawing when needed.
19585Files: src/terminal.c
19586
19587Patch 8.0.0816
19588Problem: Crash when using invalid buffer number.
19589Solution: Check for NULL buffer. (Yasuhiro Matsumoto, closes #1899)
19590Files: src/terminal.c, src/testdir/test_terminal.vim
19591
19592Patch 8.0.0817
19593Problem: Cannot get the line of a terminal window at the cursor.
19594Solution: Make the row argument optional. (Yasuhiro Matsumoto, closes #1898)
19595Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c
19596
19597Patch 8.0.0818
19598Problem: Cannot get the cursor position of a terminal.
19599Solution: Add term_getcursor().
19600Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c,
19601 src/proto/terminal.pro
19602
19603Patch 8.0.0819
19604Problem: After changing current window the cursor position in the terminal
19605 window is not updated.
19606Solution: Set w_wrow, w_wcol and w_valid.
19607Files: src/terminal.c
19608
19609Patch 8.0.0820
19610Problem: GUI: cursor in terminal window lags behind.
19611Solution: call gui_update_cursor() under different conditions. (Ozaki
19612 Kiichi, closes #1893)
19613Files: src/terminal.c
19614
19615Patch 8.0.0821
19616Problem: Cannot get the title and status of a terminal window.
19617Solution: Implement term_gettitle() and term_getstatus().
19618Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro,
19619 runtime/doc/eval.txt
19620
19621Patch 8.0.0822
19622Problem: Test_with_partial_callback is a tiny bit flaky.
19623Solution: Add it to the list of flaky tests.
19624Files: src/testdir/runtest.vim
19625
19626Patch 8.0.0823
19627Problem: Cannot paste text into a terminal window.
19628Solution: Make CTRL-W " work.
19629Files: src/terminal.c
19630
19631Patch 8.0.0824
19632Problem: In Terminal mode the cursor and screen gets redrawn when the job
19633 produces output.
19634Solution: Check for tl_terminal_mode. (partly by Yasuhiro Matsumoto, closes
19635 #1904)
19636Files: src/terminal.c
19637
19638Patch 8.0.0825
19639Problem: Not easy to see that a window is a terminal window.
19640Solution: Add StatusLineTerm highlighting.
19641Files: src/option.c, src/vim.h, src/screen.c, src/syntax.c
19642
19643Patch 8.0.0826
19644Problem: Cannot use text objects in Terminal mode.
19645Solution: Check for pending operator and Visual mode first. (Yasuhiro
19646 Matsumoto, closes #1906)
19647Files: src/normal.c
19648
19649Patch 8.0.0827
19650Problem: Coverity: could leak pty file descriptor, theoretically.
19651Solution: If channel is NULL, free the file descriptors.
19652Files: src/os_unix.c
19653
19654Patch 8.0.0828
19655Problem: Coverity: may dereference NULL pointer.
19656Solution: Bail out if calloc_state() returns NULL.
19657Files: src/regexp_nfa.c
19658
19659Patch 8.0.0829
19660Problem: A job running in a terminal window cannot easily communicate with
19661 the Vim it is running in.
19662Solution: Pass v:servername in an environment variable. (closes #1908)
19663Files: src/os_unix.c
19664
19665Patch 8.0.0830
19666Problem: Translating messages is not ideal.
19667Solution: Add a remark about obsolete messages. Use msgfmt in the check
19668 script. (Christian Brabandt)
19669Files: src/po/README.txt, src/po/check.vim
19670
19671Patch 8.0.0831 (after 8.0.0791)
19672Problem: With 8 colors the bold attribute is not set properly.
19673Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901)
19674Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c
19675
19676Patch 8.0.0832
19677Problem: Terminal function arguments are not consistent.
19678Solution: Use one-based instead of zero-based rows and cols. Use "." for
19679 the current row.
19680Files: src/terminal.c, runtime/doc/eval.txt
19681
19682Patch 8.0.0833
19683Problem: Terminal test fails.
19684Solution: Update the row argument to one based.
19685Files: src/testdir/test_terminal.vim
19686
19687Patch 8.0.0834
19688Problem: Can't build without the client-server feature.
19689Solution: Add #ifdef.
19690Files: src/os_unix.c
19691
19692Patch 8.0.0835
19693Problem: Translations check with msgfmt does not work.
19694Solution: Add a space before the file name.
19695Files: src/po/check.vim
19696
19697Patch 8.0.0836
19698Problem: When a terminal buffer is changed it can still be accidentally
19699 abandoned.
19700Solution: When making a change reset the 'buftype' option.
19701Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c
19702
19703Patch 8.0.0837
19704Problem: Signs can be drawn on top of console messages.
19705Solution: don't redraw at a prompt or when scrolled up. (Christian Brabandt,
19706 closes #1907)
19707Files: src/screen.c
19708
19709Patch 8.0.0838
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019710Problem: Buffer hangs around when terminal window is closed.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019711Solution: When the job has ended wipe out a terminal buffer when the window
19712 is closed.
19713Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
19714 src/testdir/test_terminal.vim
19715
19716Patch 8.0.0839
19717Problem: Cannot kill a job in a terminal with CTRL-C.
19718Solution: Set the controlling tty and send SIGINT. (closes #1910)
19719Files: src/os_unix.c, src/terminal.c, src/proto/os_unix.pro
19720
19721Patch 8.0.0840
19722Problem: MS-Windows: fopen() and open() prototypes do not match the ones in
19723 the system header file. Can't build without FEAT_MBYTE.
19724Solution: Add "const". Move macro to after including protoo.h.
19725Files: src/os_win32.c, src/proto/os_win32.pro, src/macros.h, src/vim.h
19726
19727Patch 8.0.0841
19728Problem: term_getline() may cause a crash.
19729Solution: Check that the row is valid. (Hirohito Higashi)
19730Files: src/terminal.c, src/testdir/test_terminal.vim
19731
19732Patch 8.0.0842
19733Problem: Using slave pty after closing it.
19734Solution: Do the ioctl() before dup'ing it.
19735Files: src/os_unix.c
19736
19737Patch 8.0.0843
19738Problem: MS-Windows: compiler warning for signed/unsigned.
19739Solution: Add type cast. (Yasuhiro Matsumoto, closes #1912)
19740Files: src/terminal.c
19741
19742Patch 8.0.0844
19743Problem: Wrong function prototype because of missing static.
19744Solution: Add "static".
19745Files: src/os_win32.c, src/proto/os_win32.pro
19746
19747Patch 8.0.0845
19748Problem: MS-Windows: missing semicolon in terminal code.
19749Solution: Add it. (Naruhiko Nishino, closes #1923)
19750Files: src/terminal.c
19751
19752Patch 8.0.0846
19753Problem: Cannot get the name of the pty of a job.
19754Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920)
19755 Add the term_gettty() function.
19756Files: runtime/doc/eval.txt, src/channel.c, src/os_unix.c, src/structs.h,
19757 src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
19758 src/testdir/test_terminal.vim
19759
19760Patch 8.0.0847
19761Problem: :argadd without argument can't handle space in file name. (Harm te
19762 Hennepe)
19763Solution: Escape the space. (Yasuhiro Matsumoto, closes #1917)
19764Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro,
19765 src/testdir/test_arglist.vim
19766
19767Patch 8.0.0848
19768Problem: Using multiple ch_log functions is clumsy.
19769Solution: Use variable arguments. (Ozaki Kiichi, closes #1919)
19770Files: src/channel.c, src/message.c, src/proto/channel.pro,
19771 src/terminal.c
19772
19773Patch 8.0.0849
19774Problem: Crash when job exit callback wipes the terminal.
19775Solution: Check for b_term to be NULL. (Yasuhiro Matsumoto, closes #1922)
19776 Implement options for term_start() to be able to test.
19777 Make term_wait() more reliable.
19778Files: src/terminal.c, src/testdir/test_terminal.vim, src/channel.c
19779
19780Patch 8.0.0850
19781Problem: MS-Windows: Depending on the console encoding, an error message
19782 that is given during startup may be broken.
19783Solution: Convert the message to the console codepage. (Yasuhiro Matsumoto,
19784 closes #1927)
19785Files: src/message.c
19786
19787Patch 8.0.0851
19788Problem: 'smartindent' is used even when 'indentexpr' is set.
19789Solution: Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi)
19790Files: src/misc1.c, src/testdir/test_smartindent.vim
19791
19792Patch 8.0.0852 (after 8.0.0850)
19793Problem: MS-Windows: possible crash when giving a message on startup.
19794Solution: Initialize length. (Yasuhiro Matsumoto, closes #1931)
19795Files: src/message.c
19796
19797Patch 8.0.0853
19798Problem: Crash when running terminal with unknown command.
19799Solution: Check "term" not to be NULL. (Yasuhiro Matsumoto, closes #1932)
19800Files: src/terminal.c
19801
19802Patch 8.0.0854
19803Problem: No redraw after terminal was closed.
19804Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes
19805 #1924) Add function to check for messages even when input is
19806 available.
19807Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro,
19808 src/os_win32.c, src/proto/os_win32.pro, src/os_mswin.c
19809
19810Patch 8.0.0855
19811Problem: MS-Windows: can't get tty name of terminal.
19812Solution: Use the winpty process number. (Yasuhiro Matsumoto, closes #1929)
19813Files: src/terminal.c, src/testdir/test_terminal.vim
19814
19815Patch 8.0.0856
19816Problem: MS-Windows: terminal job doesn't take options.
19817Solution: Call job_set_options(). (Yasuhiro Matsumoto)
19818Files: src/terminal.c
19819
19820Patch 8.0.0857
19821Problem: Terminal test fails on MS-Windows.
19822Solution: Sleep a fraction of a second.
19823Files: src/testdir/test_terminal.vim
19824
19825Patch 8.0.0858
19826Problem: Can exit while a terminal is still running a job.
19827Solution: Consider a buffer with a running job like a changed file.
19828Files: src/undo.c, src/terminal.c, src/option.h, src/buffer.c,
19829 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c,
19830 src/window.c, src/testdir/test_terminal.vim
19831
19832Patch 8.0.0859
19833Problem: NULL pointer access when term_free_vterm called twice.
19834Solution: Return when tl_vterm is NULL. (Yasuhiro Matsumoto, closes #1934)
19835Files: src/terminal.c
19836
19837Patch 8.0.0860
19838Problem: There may be side effects when a channel appends to a buffer that
19839 is not the current buffer.
19840Solution: Properly switch to another buffer before appending. (Yasuhiro
19841 Matsumoto, closes #1926, closes #1937)
19842Files: src/channel.c, src/buffer.c, src/proto/buffer.pro,
19843 src/if_py_both.h
19844
19845Patch 8.0.0861
19846Problem: Still many old style tests.
19847Solution: Convert several tests to new style. (Yegappan Lakshmanan)
19848Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
19849 src/testdir/main.aap, src/testdir/test104.in,
19850 src/testdir/test104.ok, src/testdir/test22.in,
19851 src/testdir/test22.ok, src/testdir/test77.in,
19852 src/testdir/test77.ok, src/testdir/test84.in,
19853 src/testdir/test84.ok, src/testdir/test9.in, src/testdir/test9.ok,
19854 src/testdir/test98.in, src/testdir/test98.ok,
19855 src/testdir/test_autocmd.vim, src/testdir/test_curswant.vim,
19856 src/testdir/test_file_size.vim, src/testdir/test_let.vim,
19857 src/testdir/test_lineending.vim, src/testdir/test_scrollbind.vim,
19858 src/Makefile
19859
19860Patch 8.0.0862 (after 8.0.0862)
19861Problem: File size test fails on MS-Windows.
19862Solution: Set fileformat after opening new buffer. Strip CR.
19863Files: src/testdir/test_file_size.vim
19864
19865Patch 8.0.0863
19866Problem: A remote command starting with CTRL-\ CTRL-N does not work in the
19867 terminal window. (Christian J. Robinson)
19868Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command.
19869Files: src/terminal.c, runtime/doc/terminal.txt
19870
19871Patch 8.0.0864
19872Problem: Cannot specify the name of a terminal.
19873Solution: Add the "term_name" option. (Yasuhiro Matsumoto, closes #1936)
19874Files: src/channel.c, src/structs.h, src/terminal.c, runtime/doc/eval.txt
19875
19876Patch 8.0.0865
19877Problem: Cannot build with channel but without terminal feature.
19878Solution: Add #ifdef
19879Files: src/channel.c
19880
19881Patch 8.0.0866
19882Problem: Solaris also doesn't have MIN and MAX.
19883Solution: Define MIN and MAX whenever they are not defined. (Ozaki Kiichi,
19884 closes #1939)
19885Files: src/terminal.c
19886
19887Patch 8.0.0867
19888Problem: When using a job or channel value as a dict value, when turning it
19889 into a string the quotes are missing.
19890Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto,
19891 closes #1930)
19892Files: src/list.c, src/eval.c, src/testdir/test_terminal.vim
19893
19894Patch 8.0.0868
19895Problem: Cannot specify the terminal size on the command line.
19896Solution: Use the address range for the terminal size. (Yasuhiro Matsumoto,
19897 closes #1941)
19898Files: src/terminal.c, src/testdir/test_terminal.vim
19899
19900Patch 8.0.0869
19901Problem: Job output is sometimes not displayed in a terminal.
19902Solution: Flush output before closing the channel.
19903Files: src/channel.c, src/terminal.c
19904
19905Patch 8.0.0870
19906Problem: Mouse escape codes sent to terminal unintentionally.
19907Solution: Fix libvterm to send mouse codes only when enabled.
19908Files: src/terminal.c, src/libvterm/src/mouse.c
19909
19910Patch 8.0.0871
19911Problem: The status line for a terminal window always has "[+]".
19912Solution: Do make the status line include "[+]" for a terminal window.
19913Files: src/screen.c
19914
19915Patch 8.0.0872
19916Problem: Using mouse scroll while a terminal window has focus and the mouse
19917 pointer is on another window does not work. Same for focus in a
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019918 non-terminal window and the mouse pointer is over a terminal
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019919 window.
19920Solution: Send the scroll action to the right window.
19921Files: src/terminal.c, src/normal.c, src/proto/terminal.pro
19922
19923Patch 8.0.0873
19924Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual
19925 mode.
19926Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.
19927Files: src/main.c, src/terminal.c, src/proto/terminal.pro
19928
19929Patch 8.0.0874 (after 8.0.0873)
19930Problem: Can't build with terminal feature.
19931Solution: Include change to term_use_loop(). (Dominique Pelle)
19932Files: src/normal.c
19933
19934Patch 8.0.0875
19935Problem: Crash with weird command sequence. (Dominique Pelle)
19936Solution: Use vim_snprintf() instead of STRCPY().
19937Files: src/misc1.c
19938
19939Patch 8.0.0876
19940Problem: MS-Windows: Backslashes and wildcards in backticks don't work.
19941Solution: Do not handle backslashes inside backticks in the wrong place.
19942 (Yasuhiro Matsumoto, closes #1942)
19943Files: src/os_mswin.c, src/os_win32.c
19944
19945Patch 8.0.0877
19946Problem: Using CTRL-\ CTRL-N in terminal is inconsistent.
19947Solution: Stay in Normal mode.
19948Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/normal.c,
19949 src/option.c
19950
19951Patch 8.0.0878
19952Problem: No completion for :mapclear.
19953Solution: Add completion (Nobuhiro Takasaki et al. closes #1943)
19954Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_docmd.c,
19955 src/ex_getln.c, src/proto/ex_docmd.pro,
19956 src/testdir/test_cmdline.vim, src/vim.h
19957
19958Patch 8.0.0879
19959Problem: Crash when shifting with huge number.
19960Solution: Check for overflow. (Dominique Pelle, closes #1945)
19961Files: src/ops.c, src/testdir/test_visual.vim
19962
19963Patch 8.0.0880
19964Problem: Travis uses an old Ubuntu version.
19965Solution: Switch from precise to trusty. (Ken Takata, closes #1897)
19966Files: .travis.yml, Filelist, src/testdir/if_ver-1.vim,
19967 src/testdir/if_ver-2.vim, src/testdir/lsan-suppress.txt
19968
19969Patch 8.0.0881
19970Problem: win32.mak no longer included in Windows SDK.
19971Solution: Do not include win32.mak. (Ken Takata)
19972Files: src/GvimExt/Makefile, src/Make_mvc.mak
19973
19974Patch 8.0.0882
19975Problem: term_scrape() and term_getline() require two arguments but it is
19976 not enforced.
19977Solution: Correct minimal number of arguments. (Hirohito Higashi) Update
19978 documentation. (Ken Takata)
19979Files: src/evalfunc.c, runtime/doc/eval.txt
19980
19981Patch 8.0.0883
19982Problem: Invalid memory access with nonsensical script.
19983Solution: Check "dstlen" being positive. (Dominique Pelle)
19984Files: src/misc1.c
19985
19986Patch 8.0.0884
19987Problem: Can't specify the wait time for term_wait().
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019988Solution: Add an optional second argument.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019989Files: src/evalfunc.c, src/terminal.c, runtime/doc/eval.txt
19990
19991Patch 8.0.0885
19992Problem: Terminal window scrollback is stored inefficiently.
19993Solution: Store the text in the Vim buffer.
19994Files: src/terminal.c, src/testdir/test_terminal.vim
19995
19996Patch 8.0.0886
19997Problem: Crash when using ":term ls".
19998Solution: Fix line number computation. Add a test for this.
19999Files: src/terminal.c, src/testdir/test_terminal.vim
20000
20001Patch 8.0.0887
20002Problem: Can create a logfile in the sandbox.
20003Solution: Disable ch_logfile() in the sandbox. (Yasuhiro Matsumoto)
20004Files: src/evalfunc.c
20005
20006Patch 8.0.0888
20007Problem: Compiler warnings with 64 bit build.
20008Solution: Add type cast of change the type. (Mike Williams)
20009Files: src/message.c, src/os_mswin.c, src/os_win32.c
20010
20011Patch 8.0.0889
20012Problem: Gcc gives warnings for uninitialized variables. (Tony Mechelynck)
20013Solution: Initialize variables even though they are not used.
20014Files: src/terminal.c
20015
20016Patch 8.0.0890
20017Problem: Still many old style tests.
20018Solution: Convert several tests to new style. (Yegappan Lakshmanan)
20019Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
20020 src/testdir/test103.in, src/testdir/test103.ok,
20021 src/testdir/test107.in, src/testdir/test107.ok,
20022 src/testdir/test51.in, src/testdir/test51.ok,
20023 src/testdir/test91.in, src/testdir/test91.ok,
20024 src/testdir/test_getvar.vim, src/testdir/test_highlight.vim,
20025 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
20026 src/Makefile
20027
20028Patch 8.0.0891
20029Problem: Uninitialized memory use with empty line in terminal.
20030Solution: Initialize growarray earlier. (Yasuhiro Matsumoto, closes #1949)
20031Files: src/terminal.c
20032
20033Patch 8.0.0892
20034Problem: When opening a terminal the pty size doesn't always match.
20035Solution: Update the pty size after opening the terminal. (Ken Takata)
20036Files: src/terminal.c
20037
20038Patch 8.0.0893
20039Problem: Cannot get the scroll count of a terminal window.
20040Solution: Add term_getscrolled().
20041Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
20042 runtime/doc/eval.txt, src/testdir/test_terminal.vim
20043
20044Patch 8.0.0894
20045Problem: There is no test for runtime filetype detection.
20046Solution: Test a list of filetypes from patterns.
20047Files: src/testdir/test_filetype.vim, runtime/filetype.vim
20048
20049Patch 8.0.0895 (after 8.0.0894)
20050Problem: Filetype test fails on MS-Windows.
20051Solution: Fix file names.
20052Files: src/testdir/test_filetype.vim
20053
20054Patch 8.0.0896
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020055Problem: Cannot automatically close a terminal window when the job ends.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020056Solution: Add the ++close argument to :term. Add the term_finish option to
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020057 term_start(). (Yasuhiro Matsumoto, closes #1950) Also add
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020058 ++open.
20059Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c,
20060 src/structs.h, src/terminal.c, src/testdir/test_terminal.vim
20061
20062Patch 8.0.0897 (after 8.0.0896)
20063Problem: Wrong error message for invalid term_finish value
20064Solution: Pass the right argument to emsg().
20065Files: src/channel.c
20066
20067Patch 8.0.0898
20068Problem: Can't use the alternate screen in a terminal window.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020069Solution: Initialize the alternate screen. (Yasuhiro Matsumoto, closes
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020070 #1957) Add term_getaltscreen().
20071Files: src/libvterm/include/vterm.h, src/terminal.c,
20072 src/proto/terminal.pro, src/evalfunc.c, runtime/doc/eval.txt
20073
20074Patch 8.0.0899
20075Problem: Function name mch_stop_job() is confusing.
20076Solution: Rename to mch_signal_job().
20077Files: src/channel.c, src/os_unix.c, src/proto/os_unix.pro,
20078 src/os_win32.c, src/proto/os_win32.pro, src/terminal.c
20079
20080Patch 8.0.0900
20081Problem: :tab options doesn't open a new tab page. (Aviany)
20082Solution: Support the :tab modifier. (closes #1960)
20083Files: src/ex_cmds2.c, runtime/optwin.vim
20084
20085Patch 8.0.0901
20086Problem: Asan suppress file missing from distribution.
20087Solution: Add the file.
20088Files: Filelist
20089
20090Patch 8.0.0902
20091Problem: Cannot specify directory or environment for a job.
20092Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro
20093 Matsumoto, closes #1160)
20094Files: runtime/doc/channel.txt, src/channel.c, src/terminal.c,
20095 src/os_unix.c, src/os_win32.c, src/structs.h,
20096 src/testdir/test_channel.vim, src/testdir/test_terminal.vim
20097
20098Patch 8.0.0903 (after 8.0.0902)
20099Problem: Early return from test function.
20100Solution: Remove the return.
20101Files: src/testdir/test_terminal.vim
20102
20103Patch 8.0.0904
20104Problem: Cannot set a location list from text.
20105Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan)
20106Files: runtime/doc/eval.txt, src/quickfix.c,
20107 src/testdir/test_quickfix.vim
20108
20109Patch 8.0.0905
20110Problem: MS-Windows: broken multi-byte characters in the console.
20111Solution: Restore all regions of the console buffer. (Ken Takata)
20112Files: src/os_win32.c
20113
20114Patch 8.0.0906
20115Problem: Don't recognize Couchbase files.
20116Solution: Add filetype detection. (Eugene Ciurana, closes #1951)
20117Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20118
20119Patch 8.0.0907
20120Problem: With cp932 font names might be misinterpreted.
20121Solution: Do not see "_" as a space when it is the second byte of a double
20122 byte character. (Ken Takata)
20123Files: src/os_win32.c
20124
20125Patch 8.0.0908
20126Problem: Cannot set terminal size with options.
20127Solution: Add "term_rows", "term_cols" and "vertical".
20128Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c,
20129 src/proto/channel.pro, src/structs.h, src/evalfunc.c,
20130 src/testdir/test_terminal.vim
20131
20132Patch 8.0.0909
20133Problem: Channel test fails.
20134Solution: Allow for "cwd" and "env" arguments.
20135Files: src/channel.c
20136
20137Patch 8.0.0910
20138Problem: Cannot create a terminal in the current window.
20139Solution: Add option "curwin" and ++curwin.
20140Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c,
20141 src/structs.h, src/ex_cmds.h, src/testdir/test_terminal.vim
20142
20143Patch 8.0.0911
20144Problem: Terminal test takes too long.
20145Solution: Instead of "sleep 1" use a Python program to briefly sleep.
20146Files: src/testdir/test_terminal.vim, src/testdir/test_short_sleep.py
20147
20148Patch 8.0.0912
20149Problem: Cannot run a job in a hidden terminal.
20150Solution: Add option "hidden" and ++hidden.
20151Files: src/terminal.c, src/structs.h, src/channel.c, src/fileio.c,
20152 runtime/doc/terminal.txt, src/testdir/test_terminal.vim
20153
20154Patch 8.0.0913
20155Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the
20156 command running in the shell.
20157Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the
20158 job. (partly by Yasuhiro Matsumoto, closes #1962)
20159Files: src/os_win32.c, src/gui_w32.c, src/terminal.c, src/globals.h
20160
20161Patch 8.0.0914
20162Problem: Highlight attributes are always combined.
20163Solution: Add the 'nocombine' value to replace attributes instead of
20164 combining them. (scauligi, closes #1963)
20165Files: runtime/doc/syntax.txt, src/syntax.c, src/vim.h
20166
20167Patch 8.0.0915
20168Problem: Wrong initialisation of global.
20169Solution: Use INIT().
20170Files: src/globals.h
20171
20172Patch 8.0.0916
20173Problem: Cannot specify properties of window for when opening a window for
20174 a finished terminal job.
20175Solution: Add "term_opencmd".
20176Files: src/channel.c, src/structs.h, src/terminal.c,
20177 runtime/doc/eval.txt, src/testdir/test_terminal.vim
20178
20179Patch 8.0.0917
20180Problem: MS-Windows:CTRL-C handling in terminal window is wrong
20181Solution: Pass CTRL-C as a key. Turn CTRL-BREAK into a key stroke. (Yasuhiro
20182 Matsumoto, closes #1965)
20183Files: src/os_win32.c, src/terminal.c
20184
20185Patch 8.0.0918
20186Problem: Cannot get terminal window cursor shape or attributes.
20187Solution: Support cursor shape, attributes and color.
20188Files: src/terminal.c, runtime/doc/eval.txt,
20189 src/libvterm/include/vterm.h, src/libvterm/src/state.c,
20190 src/libvterm/src/vterm.c, src/feature.h, src/ui.c,
20191 src/proto/ui.pro, src/term.c, src/proto/term.pro,
20192 src/option.c, src/term.h
20193
20194Patch 8.0.0919
20195Problem: Cursor color isn't set on startup.
20196Solution: Initialize showing_mode to invalid value.
20197Files: src/term.c
20198
20199Patch 8.0.0920
20200Problem: The cursor shape is wrong after switch back from an alternate
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020201 screen in a terminal window. (Marius Gedminas)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020202Solution: Change bitfield to unsigned. Set flag that cursor shape was set.
20203Files: src/terminal.c, src/libvterm/src/vterm_internal.h
20204
20205Patch 8.0.0921
20206Problem: Terminal window cursor shape not supported in the GUI.
20207Solution: Use the terminal window cursor shape in the GUI.
20208Files: src/terminal.c, src/proto/terminal.pro, src/gui.c, src/syntax.c,
20209 src/proto/syntax.pro
20210
20211Patch 8.0.0922
20212Problem: Quickfix list always added after current one.
20213Solution: Make it possible to add a quickfix list after the last one.
20214 (Yegappan Lakshmanan)
20215Files: runtime/doc/eval.txt, src/quickfix.c,
20216 src/testdir/test_quickfix.vim
20217
20218Patch 8.0.0923
20219Problem: Crash in GUI when terminal job exits. (Kazunobu Kuriyama)
20220Solution: reset in_terminal_loop when a terminal is freed.
20221Files: src/terminal.c, src/testdir/test_terminal.vim
20222
20223Patch 8.0.0924
20224Problem: Terminal window not updated after using term_sendkeys().
20225Solution: Call redraw_after_callback().
20226Files: src/terminal.c
20227
20228Patch 8.0.0925
20229Problem: MS-Windows GUI: channel I/O not handled right away.
20230Solution: Don't call process_message() unless a message is available.
20231 (Yasuhiro Matsumoto, closes #1969)
20232Files: src/gui_w32.c
20233
20234Patch 8.0.0926
20235Problem: When job in terminal window ends topline may be wrong.
20236Solution: When the job ends adjust topline so that the active part of the
20237 terminal is displayed.
20238Files: src/terminal.c
20239
20240Patch 8.0.0927
20241Problem: If a terminal job sends a blank title "running" is not shown.
20242Solution: When the title is blank make it empty.
20243Files: src/terminal.c
20244
20245Patch 8.0.0928
20246Problem: MS-Windows: passing arglist to job has escaping problems.
20247Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954)
20248Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
20249 src/channel.c, src/proto/channel.pro, src/terminal.c
20250
20251Patch 8.0.0929
20252Problem: :term without argument does not work.
20253Solution: Use shell for empty command. (Yasuhiro Matsumoto, closes #1970)
20254Files: src/terminal.c
20255
20256Patch 8.0.0930
20257Problem: Terminal buffers are stored in the viminfo file while they can't
20258 be useful.
20259Solution: Skip terminal buffers for file marks and buffer list
20260Files: src/buffer.c, src/mark.c
20261
20262Patch 8.0.0931
20263Problem: getwininfo() does not indicate a terminal window.
20264Solution: Add "terminal" to the dictionary.
20265Files: runtime/doc/eval.txt, src/evalfunc.c
20266
20267Patch 8.0.0932
20268Problem: Terminal may not use right characters for BS and Enter.
20269Solution: Get the characters from the tty.
20270Files: src/os_unix.c, src/proto/os_unix.pro, src/terminal.c
20271
20272Patch 8.0.0933
20273Problem: Terminal test tries to start GUI when it's not possible.
20274Solution: Check if the GUI can run. (James McCoy, closes #1971)
20275Files: src/testdir/shared.vim, src/testdir/test_terminal.vim,
20276 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim
20277
20278Patch 8.0.0934 (after 8.0.0932)
20279Problem: Change to struts.h missing in patch.
20280Solution: Include adding ttyinfo_T.
20281Files: src/structs.h
20282
20283Patch 8.0.0935
20284Problem: Cannot recognize a terminal buffer in :ls output.
20285Solution: Use R for a running job and F for a finished job.
20286Files: src/buffer.c
20287
20288Patch 8.0.0936
20289Problem: Mode() returns wrong value for a terminal window.
20290Solution: Return 't' when typed keys go to a job.
20291Files: src/evalfunc.c, src/testdir/test_terminal.vim
20292
20293Patch 8.0.0937
20294Problem: User highlight groups are not adjusted for StatusLineTerm.
20295Solution: Combine attributes like for StatusLineNC.
20296Files: src/syntax.c, src/globals.h, src/screen.c
20297
20298Patch 8.0.0938
20299Problem: Scrolling in terminal window is inefficient.
20300Solution: Use win_del_lines().
20301Files: src/terminal.c
20302
20303Patch 8.0.0939
20304Problem: Test_terminal_env is flaky. (James McCoy)
20305Solution: Use WaitFor() instead of term_wait().
20306Files: src/testdir/test_terminal.vim
20307
20308Patch 8.0.0940
20309Problem: Test_terminal_scrape_multibyte is flaky. (James McCoy)
20310Solution: Use WaitFor() instead of term_wait().
20311Files: src/testdir/test_terminal.vim
20312
20313Patch 8.0.0941
20314Problem: Existing color schemes don't work well with StatusLineTerm.
20315Solution: Don't use "reverse", use fg and bg colors. Also add
20316 StatusLineTermNC.
20317Files: src/syntax.c, src/vim.h, src/screen.c, src/globals.h, src/option.c
20318
20319Patch 8.0.0942
20320Problem: Using freed memory with ":terminal" if an autocommand changes
20321 'shell' when splitting the window. (Marius Gedminas)
20322Solution: Make a copy of 'shell'. (closes #1974)
20323Files: src/terminal.c
20324
20325Patch 8.0.0943
20326Problem: Test_terminal_scrape_multibyte fails if the codepage is not utf-8.
20327Solution: Start "cmd" with the utf-8 codepage. (micbou, closes #1975)
20328Files: src/testdir/test_terminal.vim
20329
20330Patch 8.0.0944
20331Problem: Test_profile is a little bit flaky.
20332Solution: Accept a match when self and total time are the same. (James
20333 McCoy, closes #1972)
20334Files: src/testdir/test_profile.vim
20335
20336Patch 8.0.0945
20337Problem: 64-bit compiler warnings.
20338Solution: Use "size_t" instead of "int". (Mike Williams)
20339Files: src/os_win32.c
20340
20341Patch 8.0.0946
20342Problem: Using PATH_MAX does not work well on some systems.
20343Solution: use MAXPATHL instead. (James McCoy, closes #1973)
20344Files: src/main.c
20345
20346Patch 8.0.0947
20347Problem: When in Insert mode and using CTRL-O CTRL-W CTRL-W to move to a
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020348 terminal window, get in a weird Insert mode.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020349Solution: Don't go to Insert mode in a terminal window. (closes #1977)
20350Files: src/normal.c
20351
20352Patch 8.0.0948
20353Problem: Crash if timer closes window while dragging status line.
20354Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes
20355 #1979)
20356Files: src/edit.c, src/evalfunc.c, src/gui.c, src/normal.c, src/ui.c
20357
20358Patch 8.0.0949
20359Problem: winpty.dll name is fixed.
20360Solution: Add the 'winptydll' option. Make the default name depend on
20361 whether it is a 32-bit or 64-bit build. (idea by Yasuhiro
20362 Matsumoto, closes #1978)
20363Files: src/option.c, src/option.h, src/terminal.c,
20364 runtime/doc/options.txt
20365
20366Patch 8.0.0950
20367Problem: MS-Windows: wrong #ifdef, compiler warnings for signed/unsigned.
20368Solution: Change variable type. Change TERMINAL to FEAT_TERMINAL.
20369Files: src/os_win32.c, src/option.h
20370
20371Patch 8.0.0951
20372Problem: Another wrong #ifdef.
20373Solution: Change TERMINAL to FEAT_TERMINAL. (closes #1981)
20374Files: src/option.c
20375
20376Patch 8.0.0952
20377Problem: MS-Windows: has('terminal') does not check existence of dll file.
20378Solution: Check if the winpty dll file can be loaded. (Ken Takata)
20379Files: src/evalfunc.c, src/proto/terminal.pro, src/terminal.c
20380
20381Patch 8.0.0953
20382Problem: Get "no write since last change" error in terminal window.
20383Solution: Use another message when closing a terminal window. Make ":quit!"
20384 also end the job.
20385Files: src/globals.h, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c,
20386 src/ex_cmds2.c, src/ex_docmd.c, src/quickfix.c, src/terminal.c
20387
20388Patch 8.0.0954
20389Problem: /proc/self/exe might be a relative path.
20390Solution: Make the path a full path. (James McCoy, closes #1983)
20391Files: src/main.c
20392
20393Patch 8.0.0955
20394Problem: Test_existent_file() fails on some file systems.
20395Solution: Run the test again with a sleep when the test fails without a
20396 sleep. (James McCoy, closes #1984)
20397Files: src/testdir/test_stat.vim
20398
20399Patch 8.0.0956
20400Problem: Scrolling in a terminal hwindow as flicker when the Normal
20401 background differs from the terminal window background.
20402Solution: Set the attribute to clear with.
20403Files: src/terminal.c, src/screen.c, src/proto/screen.pro, src/message.c,
20404 src/move.c
20405
20406Patch 8.0.0957
20407Problem: When term_sendkeys() sends many keys it may get stuck in writing
20408 to the job.
20409Solution: Make the write non-blocking, buffer keys to be sent.
20410Files: src/terminal.c, src/channel.c, src/proto/channel.pro,
20411 src/structs.h src/testdir/test_terminal.vim
20412
20413Patch 8.0.0958
20414Problem: The terminal test fails on MS-Windows when compiled with the
20415 terminal feature but the winpty DLL is missing.
20416Solution: Check if the terminal feature works. (Ken Takata)
20417Files: src/testdir/test_terminal.vim
20418
20419Patch 8.0.0959
20420Problem: Build failure on MS-Windows.
20421Solution: Use ioctlsocket() instead of fcntl().
20422Files: src/channel.c
20423
20424Patch 8.0.0960
20425Problem: Job in terminal does not get CTRL-C, we send a SIGINT instead.
20426Solution: Don't call may_send_sigint() on CTRL-C. Make CTRL-W CTRL-C end
20427 the job.
20428Files: src/terminal.c, runtime/doc/terminal.txt
20429
20430Patch 8.0.0961
20431Problem: The script to build the installer does not include winpty.
20432Solution: Add winpty32.dll and winpty-agent.exe like diff.exe
20433Files: nsis/gvim.nsi
20434
20435Patch 8.0.0962
20436Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim
20437 #6726)
20438Solution: When using a mark check that coladd is valid.
20439Files: src/normal.c, src/misc2.c, src/Makefile,
20440 src/testdir/test_virtualedit.vim, src/testdir/test_alot.vim
20441
20442Patch 8.0.0963
20443Problem: Terminal test fails on MacOS. (chdiza)
20444Solution: Wait for the shell to echo the characters. (closes #1991)
20445Files: src/testdir/test_terminal.vim
20446
20447Patch 8.0.0964
20448Problem: Channel write buffer does not work with poll().
20449Solution: Use the same mechanism as with select().
20450Files: src/channel.c
20451
20452Patch 8.0.0965
20453Problem: The cursor shape is not reset after it was changed in a terminal.
20454Solution: Request the original cursor shape and restore it. Add t_RS.
20455 Do not add t_SH for now, it does not work properly.
20456Files: src/term.c, src/term.h, src/option.c, src/terminal.c
20457
20458Patch 8.0.0966 (after 8.0.0965)
20459Problem: Build failure without terminal feature.
20460Solution: Move #endif.
20461Files: src/term.c
20462
20463Patch 8.0.0967
20464Problem: Using a terminal may cause the cursor to blink.
20465Solution: Do not set t_vs, since we cannot restore the old blink state.
20466Files: src/term.c
20467
20468Patch 8.0.0968
20469Problem: Crash when switching terminal modes. (Nikolai Pavlov)
20470Solution: Check that there are scrollback lines.
20471Files: src/terminal.c
20472
20473Patch 8.0.0969
20474Problem: Coverity warning for unused return value.
20475Solution: Add (void) to avoid the warning.
20476Files: src/channel.c
20477
20478Patch 8.0.0970
20479Problem: if there is no StatusLine highlighting and there is StatusLineNC
20480 or StatusLineTermNC highlighting then an invalid highlight id is
20481 passed to combine_stl_hlt(). (Coverity)
20482Solution: Check id_S to be -1 instead of zero.
20483Files: src/syntax.c
20484
20485Patch 8.0.0971
20486Problem: 'winptydll' missing from :options.
20487Solution: Add the entry.
20488Files: runtime/optwin.vim
20489
20490Patch 8.0.0972
20491Problem: Compiler warnings for unused variables. (Tony Mechelynck)
20492Solution: Add #ifdefs.
20493Files: src/term.c
20494
20495Patch 8.0.0973
20496Problem: initial info about blinking cursor is wrong
20497Solution: Invert the blink flag. Add t_VS to stop a blinking cursor.
20498Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c,
20499 src/terminal.c
20500
20501Patch 8.0.0974
20502Problem: Resetting a string option does not trigger OptionSet. (Rick Howe)
20503Solution: Set the origval.
20504Files: src/option.c, src/testdir/test_autocmd.vim
20505
20506Patch 8.0.0975
20507Problem: Using freed memory when setting 'backspace'.
20508Solution: When changing oldval also change origval.
20509Files: src/option.c
20510
20511Patch 8.0.0976
20512Problem: Cannot send lines to a terminal job.
20513Solution: Make [range]terminal send selected lines to the job.
20514 Use ++rows and ++cols for the terminal size.
20515Files: src/ex_cmds.h, src/terminal.c, src/os_unix.c,
20516 src/testdir/test_terminal.vim
20517
20518Patch 8.0.0977
20519Problem: Cannot send lines to a terminal job on MS-Windows.
20520Solution: Set jv_in_buf. Command doesn't get EOF yet though.
20521Files: src/terminal.c
20522
20523Patch 8.0.0978
20524Problem: Writing to terminal job is not tested.
20525Solution: Add a test.
20526Files: src/testdir/test_terminal.vim
20527
20528Patch 8.0.0979
20529Problem: Terminal noblock test fails on MS-Windows. (Christian Brabandt)
20530Solution: Ignore empty line below "done".
20531Files: src/testdir/test_terminal.vim
20532
20533Patch 8.0.0980
20534Problem: Coverity warning for failing to open /dev/null.
20535Solution: When /dev/null can't be opened exit the child.
20536Files: src/os_unix.c
20537
20538Patch 8.0.0981
20539Problem: Cursor in terminal window blinks by default, while in a real xterm
20540 it does not blink, unless the -bc argument is used.
20541Solution: Do not use a blinking cursor by default.
20542Files: src/terminal.c
20543
20544Patch 8.0.0982
20545Problem: When 'encoding' is set to a multi-byte encoding other than utf-8
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020546 the characters from their terminal are messed up.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020547Solution: Convert displayed text from utf-8 to 'encoding' for MS-Windows.
20548 (Yasuhiro Matsumoto, close #2000)
20549Files: src/terminal.c
20550
20551Patch 8.0.0983
20552Problem: Unnecessary check for NULL pointer.
20553Solution: Remove the NULL check in dialog_changed(), it already happens in
20554 dialog_msg(). (Ken Takata)
20555Files: src/ex_cmds2.c
20556
20557Patch 8.0.0984
20558Problem: Terminal blinking cursor not correct in the GUI.
20559Solution: Set blinkoff correctly. Also make the cursor blink on MS-Windows
20560 by default. (Ken Takata)
20561Files: src/terminal.c
20562
20563Patch 8.0.0985
20564Problem: Libvterm has its own idea of character width.
20565Solution: Use the Vim functions for character width and composing to avoid a
20566 mismatch. (idea by Yasuhiro Matsumoto)
20567Files: src/Makefile, src/libvterm/src/unicode.c, src/mbyte.c,
20568 src/proto/mbyte.pro, src/Make_cyg_ming.mak, src/Make_mvc.mak
20569
20570Patch 8.0.0986
20571Problem: Terminal feature always requires multi-byte feature.
20572Solution: Remove #ifdef FEAT_MBYTE, disable terminal without multi-byte.
20573Files: src/terminal.c, src/feature.h
20574
20575Patch 8.0.0987
20576Problem: terminal: second byte of double-byte char wrong
20577Solution: Set the second byte to NUL only for utf-8 and non-multibyte.
20578Files: src/terminal.c
20579
20580Patch 8.0.0988
20581Problem: Warning from Covscan about using NULL pointer.
20582Solution: Add extra check for NULL. (zdohnal)
20583Files: src/fileio.c, src/undo.c
20584
20585Patch 8.0.0989
20586Problem: ActiveTcl dll name has changed in 8.6.6.
20587Solution: Adjust the makefile. (Ken Takata)
20588Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak
20589
20590Patch 8.0.0990
20591Problem: When 'encoding' is a double-byte encoding, pasting a register into
20592 a terminal ends up with the wrong characters.
20593Solution: Convert from 'encoding' to utf-8. (Yasuhiro Matsumoto, closes
20594 #2007)
20595Files: src/terminal.c
20596
20597Patch 8.0.0991
20598Problem: Using wrong character conversion for DBCS.
20599Solution: Use utf_char2bytes instead of mb_char2bytes. (Yasuhiro Matsumoto,
20600 closes #2012)
20601Files: src/terminal.c
20602
20603Patch 8.0.0992
20604Problem: Terminal title is wrong when 'encoding' is DBCS.
20605Solution: Convert the title from DBCS to utf-8. (Yasuhiro Matsumoto, closes
20606 #2009)
20607Files: src/terminal.c
20608
20609Patch 8.0.0993
20610Problem: Sometimes an xterm sends an extra CTRL-X after the response for
20611 the background color. Related to t_RS.
20612Solution: Check for the CTRL-X after the terminating 0x7.
20613Files: src/term.c
20614
20615Patch 8.0.0994
20616Problem: MS-Windows: cursor in terminal blinks even though the blinking
20617 cursor was disabled on the system.
20618Solution: Use GetCaretBlinkTime(). (Ken Takata)
20619Files: src/terminal.c
20620
20621Patch 8.0.0995
20622Problem: Terminal tests fail on Mac.
20623Solution: Add workaround: sleep a moment in between sending keys.
20624Files: src/testdir/test_terminal.vim
20625
20626Patch 8.0.0996
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020627Problem: Mac: t_RS is echoed on the screen in Terminal.app. Even though
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020628 $TERM is set to "xterm-256colors" it cannot handle this xterm
20629 escape sequence.
20630Solution: Recognize Terminal.app from the termresponse and skip sending t_RS
20631 if it looks like Terminal.app.
20632Files: src/term.c
20633
20634Patch 8.0.0997 (after 8.0.0996)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020635Problem: Libvterm and Terminal.app not recognized from termresponse.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020636Solution: Adjust string compare.
20637Files: src/term.c
20638
20639Patch 8.0.0998
20640Problem: Strange error when using K while only spaces are selected.
20641 (Christian J. Robinson)
20642Solution: Check for blank argument.
20643Files: src/normal.c, src/testdir/test_help.vim
20644
20645Patch 8.0.0999
20646Problem: Indenting raw C++ strings is wrong.
20647Solution: Add special handling of raw strings. (Christian Brabandt)
20648Files: src/misc1.c, src/testdir/test_cindent.vim
20649
20650Patch 8.0.1000
20651Problem: Cannot open a terminal without running a job in it.
20652Solution: Make ":terminal NONE" open a terminal with a pty.
20653Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro,
20654 src/channel.c, src/proto/channel.pro, src/structs.h,
20655 src/testdir/test_terminal.c, src/misc2.c, src/gui_gtk_x11.c
20656
20657Patch 8.0.1001
20658Problem: Setting 'encoding' makes 'printheader' invalid.
20659Solution: Do not translate the default value of 'printheader'. (Yasuhiro
20660 Matsumoto, closes #2026)
20661Files: src/option.c
20662
20663Patch 8.0.1002
20664Problem: Unnecessarily updating screen after timer callback.
20665Solution: Check if calling the timer sets must_redraw.
20666Files: src/ex_cmds2.c, src/channel.c, src/screen.c, src/proto/screen.pro,
20667 src/terminal.c
20668
20669Patch 8.0.1003
20670Problem: 64 bit compiler warning
20671Solution: Add type cast. (Mike Williams)
20672Files: src/channel.c
20673
20674Patch 8.0.1004
20675Problem: Matchstrpos() without a match returns too many items.
20676Solution: Also remove the second item when the position is beyond the end of
20677 the string. (Hirohito Higashi) Use an enum for the type.
20678Files: src/evalfunc.c, src/testdir/test_match.vim
20679
20680Patch 8.0.1005
20681Problem: Terminal without job updates slowly in GUI.
20682Solution: Poll for input when a channel has the keep_open flag.
20683Files: src/channel.c, src/proto/channel.pro, src/gui_gtk_x11.c
20684
20685Patch 8.0.1006
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020686Problem: Cannot parse text with 'errorformat' without changing a quickfix
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020687 list.
20688Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
20689Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/quickfix.pro,
20690 src/quickfix.c, src/testdir/test_quickfix.vim
20691
20692Patch 8.0.1007
20693Problem: No test for filetype detection for scripts.
20694Solution: Add a first test file script filetype detection.
20695Files: src/testdir/test_filetype.vim, runtime/scripts.vim
20696
20697Patch 8.0.1008
20698Problem: Slow updating of terminal window in Motif.
20699Solution: Add a timeout to the wait-for-character loop.
20700Files: src/gui_x11.c
20701
20702Patch 8.0.1009
20703Problem: Xterm cursor blinking status may be inverted.
20704Solution: Use another request to get the blink status and compare with the
20705 cursor style report
20706Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c,
20707 src/terminal.c
20708
20709Patch 8.0.1010 (after 8.0.1009)
20710Problem: Build failure without termresponse feature.
20711Solution: Add #ifdef.
20712Files: src/term.c
20713
20714Patch 8.0.1011
20715Problem: Terminal test fails with Athena and Motif.
20716Solution: Ignore the error for the input context. (Kazunobu Kuriyama)
20717Files: src/testdir/test_terminal.vim
20718
20719Patch 8.0.1012
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020720Problem: MS-Windows: Problem with $HOME when it was set internally.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020721Solution: Only use the $HOME default internally. (Yasuhiro Matsumoto, closes
20722 #2013)
20723Files: src/misc1.c, src/testdir/Make_all.mak, src/Makefile,
20724 src/testdir/test_windows_home.vim
20725
20726Patch 8.0.1013
20727Problem: A terminal window with a running job behaves different from a
20728 window containing a changed buffer.
20729Solution: Do not set 'bufhidden' to "hide". Fix that a buffer where a
20730 terminal used to run is listed as "[Scratch]".
20731Files: src/terminal.c, runtime/doc/terminal.txt, src/buffer.c
20732
20733Patch 8.0.1014
20734Problem: Old compiler doesn't know uint32_t. Warning for using NULL instead
20735 of NUL.
20736Solution: Use UINT32_T. Use NUL instead of NULL.
20737Files: src/mbyte.c, src/proto/mbyte.pro, src/misc1.c
20738
20739Patch 8.0.1015 (after 8.0.1013)
20740Problem: Missing update to terminal test.
20741Solution: Add the changes to the test.
20742Files: src/testdir/test_terminal.vim
20743
20744Patch 8.0.1016
20745Problem: Gnome terminal echoes t_RC.
20746Solution: Detect Gnome terminal by the version string. Add v: variables for
20747 all the term responses.
20748Files: src/term.c, src/eval.c, src/vim.h, runtime/doc/eval.txt
20749
20750Patch 8.0.1017
20751Problem: Test for MS-Windows $HOME always passes.
20752Solution: Rename the test function. Make the test pass.
20753Files: src/testdir/test_windows_home.vim
20754
20755Patch 8.0.1018
20756Problem: Warnings from 64-bit compiler. (Christian Brabandt)
20757Solution: Add type casts.
20758Files: src/terminal.c
20759
20760Patch 8.0.1019
20761Problem: Pasting in virtual edit happens in the wrong place.
20762Solution: Do not adjust coladd when after the end of the line (closes #2015)
20763Files: src/testdir/test_virtualedit.vim, src/misc2.c
20764
20765Patch 8.0.1020
20766Problem: When a timer calls getchar(1) input is overwritten.
20767Solution: Increment tb_change_cnt in inchar(). (closes #1940)
20768Files: src/getchar.c
20769
20770Patch 8.0.1021
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020771Problem: Older Gnome terminal still echoes t_RC. (François Ingelrest)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020772Solution: Check for version > 3000 instead of 4000.
20773Files: src/term.c
20774
20775Patch 8.0.1022
20776Problem: Test 80 is old style.
20777Solution: Turn it into a new style test. (Yegappan Lakshmanan)
20778Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
20779 src/testdir/test80.in, src/testdir/test80.ok,
20780 src/testdir/test_substitute.vim
20781
20782Patch 8.0.1023
20783Problem: It is not easy to identify a quickfix list.
20784Solution: Add the "id" field. (Yegappan Lakshmanan)
20785Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c,
20786 src/testdir/test_quickfix.vim
20787
20788Patch 8.0.1024
20789Problem: Manual folds are lost when a session file has the same buffer in
20790 two windows. (Jeansen)
20791Solution: Use ":edit" only once. (Christian Brabandt, closes #1958)
20792Files: src/ex_docmd.c, src/testdir/test_mksession.vim
20793
20794Patch 8.0.1025
20795Problem: Stray copy command in test.
20796Solution: Remove the copy command.
20797Files: src/testdir/test_mksession.vim
20798
20799Patch 8.0.1026
20800Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020801Solution: Support over-the-spot. (Yukihiro Nakadaira, Ken Takata, closes
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020802 #1215)
20803Files: runtime/doc/mbyte.txt, runtime/doc/options.txt, src/edit.c,
20804 src/ex_getln.c, src/mbyte.c, src/misc1.c, src/option.c,
20805 src/option.h, src/screen.c, src/undo.c,
20806 src/testdir/gen_opt_test.vim
20807
20808Patch 8.0.1027
20809Problem: More terminals can't handle requesting cursor mode.
20810Solution: Recognize Putty. (Hirohito Higashi) Also include Xfce in the
20811 version check. (Dominique Pelle) Recognize Konsole.
20812Files: src/term.c
20813
20814Patch 8.0.1028
20815Problem: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set. (Yongwei
20816 Wu)
20817Solution: Use vim_getenv() but check it's returning the default "C:/".
20818Files: src/ex_cmds.c
20819
20820Patch 8.0.1029
20821Problem: Return value of getqflist() is inconsistent. (Lcd47)
20822Solution: Always return an "items" entry.
20823Files: src/quickfix.c, src/testdir/test_quickfix.vim
20824
20825Patch 8.0.1030
20826Problem: MS-Windows: wrong size computation in is_cygpty().
20827Solution: Compute the size properly. (Ken Takata)
20828Files: src/iscygpty.c, src/iscygpty.h
20829
20830Patch 8.0.1031
20831Problem: "text" argument for getqflist() is confusing. (Lcd47)
20832Solution: Use "lines" instead. (Yegappan Lakshmanan)
20833Files: runtime/doc/eval.txt, src/quickfix.c,
20834 src/testdir/test_quickfix.vim
20835
20836Patch 8.0.1032
20837Problem: "make tags" doesn't work well on MS-Windows.
20838Solution: Add or fix tags target. (Ken Takata)
20839Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
20840
20841Patch 8.0.1033
20842Problem: Detecting background color does not work in screen, even when it
20843 is working like an xterm.
20844Solution: Make "screen.xterm" use termcap entries like an xterm. (Lubomir
20845 Rintel, closes #2048) When termresponse version is huge also
20846 recognize as not being an xterm.
20847Files: src/os_unix.c, src/term.c
20848
20849Patch 8.0.1034
20850Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
20851Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto,
20852 closes #2043) Add the "eof_chars" option.
20853Files: src/channel.c, src/proto/terminal.pro, src/terminal.c,
20854 src/testdir/test_terminal.vim, src/structs.h
20855
20856Patch 8.0.1035
20857Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
20858Solution: Use CR instead of NL after every line. Make the EOF text work
20859 properly. Add the ++eof argument to :terminal.
20860Files: src/structs.h, src/channel.c, src/terminal.c,
20861 runtime/doc/terminal.txt, runtime/doc/eval.txt
20862
20863Patch 8.0.1036
20864Problem: ++eof argument for terminal only available on MS-Windows.
20865Solution: Also support ++eof on Unix. Add a test.
20866Files: src/channel.c, src/terminal.c, src/structs.h,
20867 src/testdir/test_terminal.vim
20868
20869Patch 8.0.1037
20870Problem: "icase" of 'diffopt' is not used for highlighting differences.
20871Solution: Also use "icase". (Rick Howe)
20872Files: src/diff.c, src/testdir/test_diffmode.vim
20873
20874Patch 8.0.1038
20875Problem: Strike-through text not supported.
20876Solution: Add support for the "strikethrough" attribute. (Christian
20877 Brabandt, Ken Takata)
20878Files: runtime/doc/eval.txt, runtime/doc/options.txt,
20879 runtime/doc/syntax.txt, runtime/doc/term.txt, src/evalfunc.c,
20880 src/gui.c, src/gui.h, src/gui_gtk_x11.c, src/gui_mac.c,
20881 src/gui_w32.c, src/gui_x11.c, src/option.c, src/screen.c,
20882 src/syntax.c, src/term.c, src/term.h, src/terminal.c, src/vim.h
20883
20884Patch 8.0.1039
20885Problem: Cannot change a line in a buffer other than the current one.
20886Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes #1953)
20887Files: src/evalfunc.c, runtime/doc/eval.txt, src/Makefile,
20888 src/testdir/test_bufline.vim, src/testdir/test_alot.vim
20889
20890
20891Patch 8.0.1040
20892Problem: Cannot use another error format in getqflist().
20893Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan)
20894Files: runtime/doc/eval.txt, src/quickfix.c,
20895 src/testdir/test_quickfix.vim
20896
20897Patch 8.0.1041
20898Problem: Bogus characters appear when indenting kicks in while doing a
20899 visual-block append.
20900Solution: Recompute when indenting is done. (Christian Brabandt)
20901Files: runtime/doc/visual.txt, src/charset.c, src/edit.c, src/misc1.c,
20902 src/ops.c, src/proto/charset.pro, src/proto/misc1.pro,
20903 src/screen.c, src/spell.c, src/testdir/test_cindent.vim
20904
20905Patch 8.0.1042 (after 8.0.1038)
20906Problem: Without the syntax feature highlighting doesn't work.
20907Solution: Always use unsigned short to store attributes.
20908Files: src/vim.h
20909
20910Patch 8.0.1043
20911Problem: Warning for uninitialized variable. (John Marriott)
20912Solution: Move code to check indent inside "if".
20913Files: src/ops.c
20914
20915Patch 8.0.1044
20916Problem: Warning for uninitialized variable. (John Marriott)
20917Solution: Initialize ind_pre.
20918Files: src/ops.c
20919
20920Patch 8.0.1045
20921Problem: Running tests may pollute shell history. (Manuel Ortega)
20922Solution: Make $HISTFILE empty.
20923Files: src/testdir/setup.vim
20924
20925Patch 8.0.1046
20926Problem: Code duplication in diff mode.
20927Solution: Use diff_equal_char() also in diff_cmp(). (Rick Howe)
20928Files: src/diff.c
20929
20930Patch 8.0.1047
20931Problem: Buffer overflow in Ruby.
20932Solution: Allocate one more byte. (Dominique Pelle)
20933Files: src/if_ruby.c
20934
20935Patch 8.0.1048
20936Problem: No test for what 8.0.1020 fixes.
20937Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes #2046)
20938Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_timers.vim,
20939 src/ui.c
20940
20941Patch 8.0.1049
20942Problem: Shell on Mac can't handle long text, making terminal test fail.
20943Solution: Only write 1000 characters instead of 5000.
20944Files: src/testdir/test_terminal.vim
20945
20946Patch 8.0.1050
20947Problem: Terminal window feature not included by default.
20948Solution: Include the terminal feature for the "huge" build.
20949Files: src/configure.ac, src/auto/configure
20950
20951Patch 8.0.1051
20952Problem: Cannot run terminal with spaces in argument.
20953Solution: Accept backslash to escape space and other characters. (closes
20954 #1999)
20955Files: src/os_unix.c, src/testdir/test_terminal.vim
20956
20957Patch 8.0.1052
20958Problem: term_start() does not allow in_io, out_io and err_io options.
20959Solution: Add JO_OUT_IO to get_job_options().
20960Files: src/terminal.c, src/testdir/test_terminal.vim
20961
20962Patch 8.0.1053
20963Problem: setline() does not work on startup. (Manuel Ortega)
20964Solution: Do not check for ml_mfp to be set for the current buffer.
20965 (Christian Brabandt)
20966Files: src/testdir/shared.vim, src/testdir/test_alot.vim,
20967 src/testdir/test_bufline.vim, src/testdir/test_timers.vim,
20968 src/evalfunc.c
20969
20970Patch 8.0.1054
20971Problem: Terminal test fails on MS-Windows.
20972Solution: Disable the redirection test for now. Improve scrape test to make
20973 it less flaky.
20974Files: src/testdir/test_terminal.vim
20975
20976Patch 8.0.1055
20977Problem: Bufline test hangs on MS-Windows.
20978Solution: Avoid message for writing file. Source shared.vim when running
20979 test individually.
20980Files: src/testdir/test_bufline.vim, src/testdir/test_timers.vim
20981
20982Patch 8.0.1056
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020983Problem: Cannot build with the diff feature but without the multi-byte
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020984 feature.
20985Solution: Remove #ifdefs. (John Marriott)
20986Files: src/diff.c
20987
20988Patch 8.0.1057
20989Problem: Terminal scrape test waits too long, it checks for one instead of
20990 three.
20991Solution: Check there are three characters. (micbou)
20992Files: src/testdir/test_terminal.vim
20993
20994Patch 8.0.1058
20995Problem: Terminal redirection test is flaky.
20996Solution: Wait for job to finish.
20997Files: src/testdir/test_terminal.vim
20998
20999Patch 8.0.1059
21000Problem: older Gnome terminal returns smaller version number. (antarestrue)
21001Solution: Lower version limit from 2800 to 2500. (#2032)
21002Files: src/term.c
21003
21004Patch 8.0.1060
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021005Problem: When imstyle is zero, mapping <Left> breaks preediting.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021006Solution: Pass though preediting key-events. (Yasuhiro Matsumoto, closes
21007 #2064, closes #2063)
21008Files: src/getchar.c, src/mbyte.c
21009
21010Patch 8.0.1061
21011Problem: Coverity: no check for NULL command.
21012Solution: Check for NULL list item.
21013Files: src/terminal.c
21014
21015Patch 8.0.1062
21016Problem: Coverity warnings in libvterm.
21017Solution: Add (void) to avoid warning for not checking return value.
21018 Add "break" before "case".
21019Files: src/libvterm/src/screen.c, src/libvterm/src/state.c
21020
21021Patch 8.0.1063
21022Problem: Coverity warns for NULL check and using variable pointer as an
21023 array.
21024Solution: Remove the NULL check. Make "argvar" an array.
21025Files: src/terminal.c
21026
21027Patch 8.0.1064
21028Problem: Coverity warns for leaking resource.
21029Solution: Free pty_master_fd on failure.
21030Files: src/os_unix.c
21031
21032Patch 8.0.1065
21033Problem: Not all macro examples are included in the self-installing
21034 executable. (lkintact)
21035Solution: Add the directories to the NSIS script. (closes #2065)
21036Files: nsis/gvim.nsi
21037
21038Patch 8.0.1066
21039Problem: Some terminals can't handle requesting cursor mode. (Steven
21040 Hartland)
21041Solution: Recognize vandyke SecureCRT. (closes #2008)
21042Files: src/term.c
21043
21044Patch 8.0.1067
21045Problem: Using try/catch in timer does not prevent it from being stopped.
21046Solution: Reset the exception context and use did_emsg instead of
21047 called_emsg.
21048Files: src/ex_cmds2.c, src/testdir/test_timers.vim, src/globals.h,
21049 src/message.c
21050
21051Patch 8.0.1068 (after 8.0.1066)
21052Problem: Vandyke SecureCRT terminal can't handle cursor mode request.
21053 (Steven Hartland)
21054Solution: Fix pointer computation. (closes #2008)
21055Files: src/term.c
21056
21057Patch 8.0.1069
21058Problem: Still get CTRL-X sometimes for t_RS request.
21059Solution: Also skip 0x18 after a key code response.
21060Files: src/term.c
21061
21062Patch 8.0.1070
21063Problem: Terminal test is flaky on Mac.
21064Solution: Add Test_terminal_noblock() to list of flaky tests.
21065Files: src/testdir/runtest.vim
21066
21067Patch 8.0.1071
21068Problem: $TERM names starting with "putty" and "cygwin" are likely to have
21069 a dark background, but are not recognized.
21070Solution: Only check the first few characters of $TERM to match "putty" or
21071 "cygwin". (Christian Brabandt)
21072Files: src/option.c
21073
21074Patch 8.0.1072
21075Problem: The :highlight command causes a redraw even when nothing changed.
21076Solution: Only set "need_highlight_changed" when an attribute changed.
21077Files: src/syntax.c
21078
21079Patch 8.0.1073
21080Problem: May get an endless loop if 'statusline' changes a highlight.
21081Solution: Do not let evaluating 'statusline' trigger a redraw.
21082Files: src/buffer.c
21083
21084Patch 8.0.1074
21085Problem: ":term NONE" does not work on MS-Windows.
21086Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro
21087 Matsumoto, closes #2058, closes #2045)
21088Files: runtime/doc/eval.txt,
21089 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21090 src/channel.c, src/evalfunc.c, src/os_unix.c, src/structs.h,
21091 src/terminal.c, src/testdir/test_terminal.vim
21092
21093Patch 8.0.1075
21094Problem: MS-Windows: mouse does not work in terminal.
21095Solution: Force the winpty mouse on. (Yasuhiro Matsumoto, closes #2072)
21096Files: src/terminal.c
21097
21098Patch 8.0.1076
21099Problem: term_start() does not take callbacks. When using two terminals
21100 without a job only one is read from. A terminal without a window
21101 returns the wrong pty.
21102Solution: Support "callback", "out_cb" and "err_cb". Fix terminal without a
21103 window. Fix reading from multiple channels.
21104Files: src/terminal.c, src/proto/terminal.pro, src/channel.c,
21105
21106Patch 8.0.1077
21107Problem: No debugger making use of the terminal window.
21108Solution: Add the term debugger plugin. So far only displays the current
21109 line when stopped.
21110Files: Filelist, runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
21111
21112Patch 8.0.1078
21113Problem: Using freed memory with ":hi Normal".
21114Solution: Get "item" again after updating the table.
21115Files: src/syntax.c
21116
21117Patch 8.0.1079
21118Problem: Memory leak when remote_foreground() fails.
21119Solution: Free the error message.
21120Files: src/evalfunc.c, src/if_xcmdsrv.c
21121
21122Patch 8.0.1080
21123Problem: Memory leak for eof_chars terminal option and buffer name.
21124Solution: Free job options. Free the buffer name
21125Files: src/terminal.c
21126
21127Patch 8.0.1081
21128Problem: Memory leak for the channel write queue.
21129Solution: Free the write queue when clearing a channel.
21130Files: src/channel.c
21131
21132Patch 8.0.1082
21133Problem: Tests fail when run under valgrind.
21134Solution: Increase waiting times.
21135Files: src/testdir/test_clientserver.vim, src/testdir/test_terminal.vim
21136
21137Patch 8.0.1083
21138Problem: Leaking memory in input part of channel.
21139Solution: Clear the input part of channel. Free the entry. Move failing
21140 command test to a separate file to avoid bogus leak reports
21141 clouding tests that should not leak.
21142Files: src/channel.c, src/testdir/test_terminal.vim, src/Makefile,
21143 src/testdir/test_terminal_fail.vim, src/testdir/Make_all.mak
21144
21145Patch 8.0.1084
21146Problem: GTK build has compiler warnings. (Christian Brabandt)
21147Solution: Get screen size with a different function. (Ken Takata, Yasuhiro
21148 Matsumoto)
21149Files: src/mbyte.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
21150 src/gui_beval.c
21151
21152Patch 8.0.1085
21153Problem: The terminal debugger can't set breakpoints.
21154Solution: Add :Break and :Delete commands. Also commands for stepping
21155 through code.
21156Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21157 runtime/doc/terminal.txt
21158
21159Patch 8.0.1086 (after 8.0.1084)
21160Problem: Can't build with GTK 3.
21161Solution: Rename function argument. (Kazunobu Kuriyama)
21162Files: src/gui_gtk_x11.c
21163
21164Patch 8.0.1087
21165Problem: Test_terminal_cwd is flaky. MS-Windows: term_start() "cwd"
21166 argument does not work.
21167Solution: Wait for the condition to be true instead of using a sleep.
21168 Pass the directory to winpty.
21169Files: src/testdir/test_terminal.vim, src/terminal.c
21170
21171Patch 8.0.1088
21172Problem: Occasional memory use after free.
21173Solution: Use the highlight table directly, don't keep a pointer.
21174Files: src/syntax.c
21175
21176Patch 8.0.1089
21177Problem: Cannot get range count in user command.
21178Solution: Add <range> argument.
21179Files: src/ex_docmd.c, runtime/doc/map.txt
21180
21181Patch 8.0.1090
21182Problem: cannot get the text under the cursor like v:beval_text
21183Solution: Add <cexpr>.
21184Files: src/ex_docmd.c, src/testdir/test_normal.vim,
21185 runtime/doc/cmdline.txt
21186
21187Patch 8.0.1091 (after 8.0.1090)
21188Problem: Test for <cexpr> fails without +balloon_eval feature.
21189Solution: Remove #ifdefs.
21190Files: src/normal.c
21191
21192Patch 8.0.1092
21193Problem: Terminal debugger can't evaluate expressions.
21194Solution: Add :Evaluate and K. Various other improvements.
21195Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21196 runtime/doc/terminal.txt
21197
21198Patch 8.0.1093
21199Problem: Various small quickfix issues.
21200Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr().
21201 function. Add a couple more tests. Update documentation.
21202 (Yegappan Lakshmanan)
21203Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/evalfunc.c,
21204 src/proto/quickfix.pro, src/quickfix.c,
21205 src/testdir/test_quickfix.vim
21206
21207Patch 8.0.1094
21208Problem: Using ssh from Terminal.app runs into xterm incompatibility.
21209Solution: Also detect Terminal.app on non-Mac systems.
21210Files: src/term.c
21211
21212Patch 8.0.1095
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021213Problem: Terminal multibyte scrape test is flaky.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021214Solution: Add another condition to wait for.
21215Files: src/testdir/test_terminal.vim
21216
21217Patch 8.0.1096
21218Problem: Terminal window in Normal mode has wrong background.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021219Solution: Store the default background and use it for clearing until the
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021220 end of the line. Not for below the last line, since there is no
21221 text there.
21222Files: src/screen.c, src/terminal.c
21223
21224Patch 8.0.1097 (after 8.0.1096)
21225Problem: Background color wrong if job changes background color.
21226Solution: Get the background color from vterm.
21227Files: src/terminal.c, src/screen.c
21228
21229Patch 8.0.1098
21230Problem: Build failure if libvterm installed on the system. (Oleh
21231 Hushchenkov)
21232Solution: Change the CCCTERM argument order. (Ken Takata, closes #2080)
21233Files: src/Makefile
21234
21235Patch 8.0.1099
21236Problem: Warnings for GDK calls.
21237Solution: Use other calls for GTK 3 and fix a few problems. (Kazunobu
21238 Kuriyama)
21239Files: src/mbyte.c
21240
21241Patch 8.0.1100
21242Problem: Stuck in redraw loop when 'lazyredraw' is set.
21243Solution: Don't loop on update_screen() when not redrawing. (Yasuhiro
21244 Matsumoto, closes #2082)
21245Files: src/terminal.c, src/screen.c, src/proto/screen.pro
21246
21247Patch 8.0.1101
21248Problem: Channel write fails if writing to log fails.
21249Solution: Ignore return value of fwrite(). (Ozaki Kiichi, closes #2081)
21250Files: src/channel.c
21251
21252Patch 8.0.1102
21253Problem: Terminal window does not use Normal colors.
21254Solution: For the GUI and when 'termguicolors' is enabled, use the actual
21255 foreground and background colors for the terminal. (Yasuhiro
21256 Matsumoto, closes #2067)
21257 Use the "Terminal" highlight group if defined.
21258Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro
21259
21260Patch 8.0.1103 (after 8.0.1102)
21261Problem: Converting cterm color fails for grey ramp.
21262Solution: Use index instead of number.
21263Files: src/terminal.c
21264
21265Patch 8.0.1104
21266Problem: The qf_jump() function is too long.
21267Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
21268Files: src/quickfix.c
21269
21270Patch 8.0.1105
21271Problem: match() and matchend() are not tested.
21272Solution: Add tests. (Ozaki Kiichi, closes #2088)
21273Files: src/testdir/test_functions.vim, src/testdir/test_match.vim
21274
21275Patch 8.0.1106
21276Problem: Terminal colors on an MS-Windows console are not matching the
21277 normal colors.
21278Solution: Use the normal colors for the terminal. (Yasuhiro Matsumoto,
21279 closes #2087)
21280Files: src/terminal.c
21281
21282Patch 8.0.1107
21283Problem: Terminal debugger jumps to non-existing file.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021284Solution: Check that the file exists. Add an option to make the Vim width
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021285 wide. Fix removing highlight groups.
21286Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21287 runtime/doc/terminal.txt
21288
21289Patch 8.0.1108
21290Problem: Cannot specify mappings for the terminal window.
21291Solution: Add the :tmap command and associated code. (Jacob Askeland,
21292 closes #2073)
21293Files: runtime/doc/map.txt, runtime/doc/terminal.txt, src/ex_cmdidxs.h,
21294 src/ex_cmds.h, src/ex_docmd.c, src/getchar.c, src/gui.c,
21295 src/terminal.c, src/testdir/test_terminal.vim, src/vim.h,
21296 src/proto/terminal.pro, src/main.c, src/evalfunc.c
21297
21298Patch 8.0.1109
21299Problem: Timer causes error on exit from Ex mode. (xtal8)
21300Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt,
21301 closes #2079)
21302Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_cmds2.c,
21303 src/testdir/test_timers.vim
21304
21305Patch 8.0.1110
21306Problem: FORTIFY_SOURCE from Perl causes problems. (Scott Baker)
21307Solution: Filter out the flag. (Christian Brabandt, closes #2068)
21308Files: src/configure.ac, src/auto/configure
21309
21310Patch 8.0.1111
21311Problem: Syntax error in configure when using Perl.
21312Solution: Add missing quote
21313Files: src/configure.ac, src/auto/configure
21314
21315Patch 8.0.1112
21316Problem: Can't get size or current index from quickfix list.
21317Solution: Add "idx" and "size" options. (Yegappan Lakshmanan)
21318Files: runtime/doc/eval.txt, src/quickfix.c,
21319 src/testdir/test_quickfix.vim
21320
21321Patch 8.0.1113
21322Problem: Can go to Insert mode from Terminal-Normal mode.
21323Solution: Prevent :startinsert and "VA" to enter Insert mode. (Yasuhiro
21324 Matsumoto, closes #2092)
21325Files: src/normal.c
21326
21327Patch 8.0.1114
21328Problem: Default for 'iminsert' is annoying.
21329Solution: Make the default always zero. (Yasuhiro Matsumoto, closes #2071)
21330Files: src/option.c, runtime/doc/options.txt
21331
21332Patch 8.0.1115
21333Problem: Crash when using foldtextresult() recursively.
21334Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes #2098)
21335Files: src/evalfunc.c, src/testdir/test_fold.vim
21336
21337Patch 8.0.1116
21338Problem: Terminal test fails on MS-Windows.
21339Solution: Wait for the text to appear. (micbou, closes #2097)
21340Files: src/testdir/test_terminal.vim
21341
21342Patch 8.0.1117
21343Problem: Test_terminal_no_cmd hangs on MS-Windows with GUI. (Christian
21344 Brabandt)
21345Solution: Run the command with "start" and wait for the text to appear.
21346 (micbou, closes #2096)
21347Files: src/testdir/test_terminal.vim
21348
21349Patch 8.0.1118
21350Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
21351 enabled and only adds 7% to the binary size of the tiny build.
21352Solution: Graduate FEAT_WINDOWS.
21353Files: src/feature.h, src/window.c, src/vim.h, src/structs.h,
21354 src/globals.h, src/gui.h, src/if_py_both.h, src/option.h,
21355 src/term.h, src/buffer.c, src/charset.c, src/digraph.c,
21356 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
21357 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
21358 src/fold.c, src/getchar.c, src/gui.c, src/gui_athena.c,
21359 src/gui_beval.c, src/gui_gtk.c, src/gui_motif.c, src/gui_w32.c,
21360 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_python.c,
21361 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
21362 src/mark.c, src/memline.c, src/misc1.c, src/misc2.c, src/move.c,
21363 src/netbeans.c, src/normal.c, src/option.c, src/popupmnu.c,
21364 src/quickfix.c, src/screen.c, src/search.c, src/spell.c,
21365 src/syntax.c, src/tag.c, src/term.c, src/ui.c, src/version.c,
21366 src/workshop.c, src/if_perl.xs, src/testdir/test_normal.vim
21367
21368Patch 8.0.1119
21369Problem: Quitting a split terminal window kills the job. (Yasuhiro
21370 Matsumoto)
21371Solution: Only stop terminal job if it is the last window.
21372Files: src/buffer.c, src/testdir/test_terminal.vim
21373
21374Patch 8.0.1120 (after 8.0.1108)
21375Problem: :tm means :tmap instead of :tmenu. (Taro Muraoka)
21376Solution: Move the new entry below the old entry. (closes #2102)
21377Files: src/ex_cmds.h, runtime/doc/map.txt
21378
21379Patch 8.0.1121
21380Problem: Can uncheck executables in MS-Windows installer.
21381Solution: Make the choice read-only. (Ken Takata, closes #2106)
21382Files: nsis/gvim.nsi
21383
21384Patch 8.0.1122
21385Problem: vimtutor.bat doesn't work well with vim.bat.
21386Solution: Use "call vim". (Ken Takata, closes #2105)
21387Files: vimtutor.bat
21388
21389Patch 8.0.1123
21390Problem: Cannot define a toolbar for a window.
21391Solution: Add a window-local toolbar.
21392Files: src/syntax.c, src/proto/syntax.pro, src/structs.h, src/menu.c,
21393 src/proto/menu.pro, src/testdir/test_winbar.vim, src/Makefile,
21394 src/normal.c, src/testdir/Make_all.mak, src/if_perl.xs,
21395 src/eval.c, src/evalfunc.c, src/window.c, src/ui.c,
21396 src/terminal.c, src/screen.c,
21397 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21398 runtime/doc/gui.txt, runtime/doc/terminal.txt
21399
21400Patch 8.0.1124
21401Problem: Use of MZSCHEME_VER is unclear.
21402Solution: Add a comment. (Ken Takata)
21403Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
21404
21405Patch 8.0.1125
21406Problem: Wrong window height when splitting window with window toolbar.
21407Solution: Add or subtract the window toolbar height.
21408Files: src/window.c
21409
21410Patch 8.0.1126
21411Problem: Endless resize when terminal showing in two buffers. (Hirohito
21412 Higashi)
21413Solution: Set a flag to prevent resizing the window.
21414Files: src/terminal.c
21415
21416Patch 8.0.1127
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021417Problem: Test_peek_and_get_char fails on 32 bit system. (Elimar
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021418 Riesebieter)
21419Solution: Avoid an integer overflow. (James McCoy, closes #2116)
21420Files: src/ex_cmds2.c
21421
21422Patch 8.0.1128
21423Problem: Old xterm sends CTRL-X in response to t_RS.
21424Solution: Only send t_RS for xterm 279 and later. Remove the workaround to
21425 ignore CTRL-X.
21426Files: src/term.c
21427
21428Patch 8.0.1129
21429Problem: Window toolbar missing a part of the patch.
21430Solution: Add change in vim.h.
21431Files: src/vim.h
21432
21433Patch 8.0.1130
21434Problem: The qf_jump() function is still too long.
21435Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
21436Files: src/quickfix.c
21437
21438Patch 8.0.1131
21439Problem: It is not easy to trigger an autocommand for new terminal window.
21440 (Marco Restelli)
21441Solution: Trigger BufWinEnter after setting 'buftype'.
21442Files: src/terminal.c, src/testdir/test_terminal.vim
21443
21444Patch 8.0.1132
21445Problem: #if condition is not portable.
21446Solution: Add defined(). (Zuloloxi, closes #2136)
21447Files: src/libvterm/src/vterm.c
21448
21449Patch 8.0.1133
21450Problem: Syntax timeout not used correctly.
21451Solution: Do not pass the timeout to syntax_start() but set it explicitly.
21452 (Yasuhiro Matsumoto, closes #2139)
21453Files: src/proto/syntax.pro, src/screen.c, src/syntax.c
21454
21455Patch 8.0.1134
21456Problem: Superfluous call to syn_get_final_id().
21457Solution: Remove it. (Ken Takata)
21458Files: src/syntax.c
21459
21460Patch 8.0.1135
21461Problem: W_WINCOL() is always the same.
21462Solution: Expand the macro.
21463Files: src/edit.c, src/ex_docmd.c, src/gui_gtk.c, src/gui_w32.c,
21464 src/netbeans.c, src/popupmnu.c, src/screen.c, src/term.c,
21465 src/terminal.c, src/ui.c, src/window.c, src/if_py_both.h,
21466 src/structs.h, src/vim.h
21467
21468Patch 8.0.1136
21469Problem: W_WIDTH() is always the same.
21470Solution: Expand the macro.
21471Files: src/charset.c, src/edit.c, src/evalfunc.c, src/ex_cmds.c,
21472 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_beval.c,
21473 src/gui_mac.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
21474 src/if_ruby.c, src/misc1.c, src/misc2.c, src/move.c, src/normal.c,
21475 src/popupmnu.c, src/quickfix.c, src/screen.c, src/search.c,
21476 src/structs.h, src/ui.c, src/vim.h, src/window.c
21477
21478Patch 8.0.1137 (after 8.0.1136)
21479Problem: Cannot build with Ruby.
21480Solution: Fix misplaced brace.
21481Files: src/if_ruby.c
21482
21483Patch 8.0.1138
21484Problem: Click in window toolbar starts Visual mode.
21485Solution: Add the MOUSE_WINBAR flag.
21486Files: src/ui.c, src/vim.h, src/normal.c
21487
21488Patch 8.0.1139
21489Problem: Using window toolbar changes state.
21490Solution: Always execute window toolbar actions in Normal mode.
21491Files: runtime/doc/gui.txt, src/structs.h, src/ex_docmd.c,
21492 src/proto/ex_docmd.pro, src/menu.c
21493
21494Patch 8.0.1140
21495Problem: Still old style tests.
21496Solution: Convert two tests to new style. (Yegappan Lakshmanan)
21497Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
21498 src/testdir/test56.in, src/testdir/test56.ok,
21499 src/testdir/test57.in, src/testdir/test57.ok,
21500 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim
21501
21502Patch 8.0.1141
21503Problem: MS-Windows build dependencies are incomplete.
21504Solution: Fix the dependencies. (Ken Takata)
21505Files: src/Make_cyg.mak, src/Make_cyg_ming.mak, src/Make_ming.mak,
21506 src/Make_mvc.mak
21507
21508Patch 8.0.1142
21509Problem: Window toolbar menu gets a tear-off item.
21510Solution: Recognize the window toolbar.
21511Files: src/menu.c
21512
21513Patch 8.0.1143
21514Problem: Macros always expand to the same thing.
21515Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
21516Files: src/vim.h, src/structs.h, src/gui.c, src/ex_getln.c, src/screen.c
21517
21518Patch 8.0.1144
21519Problem: Using wrong #ifdef for computing length.
21520Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021521 Matsumoto, closes #2153)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021522Files: src/quickfix.c
21523
21524Patch 8.0.1145
21525Problem: Warning when compiling with Perl.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021526Solution: Remove unused variable. (Ken Takata)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021527Files: src/if_perl.xs
21528
21529Patch 8.0.1146
21530Problem: Redraw when highlight is set with same names. (Ozaki Kiichi)
21531Solution: Only free and save a name when it changed. (closes #2120)
21532Files: src/syntax.c
21533
21534Patch 8.0.1147
21535Problem: Fail to build with tiny features. (Tony Mechelynck)
21536Solution: Move #ifdefs.
21537Files: src/syntax.c
21538
21539Patch 8.0.1148
21540Problem: "gN" doesn't work on last match with 'wrapscan' off. (fcpg)
21541Solution: Adjust for searching backward. (Christian Brabandt)
21542Files: src/search.c, src/testdir/test_gn.vim
21543
21544Patch 8.0.1149
21545Problem: libvterm colors differ from xterm.
21546Solution: Use the xterm colors for libvterm.
21547Files: src/terminal.c, src/libvterm/src/pen.c,
21548 src/testdir/xterm_ramp.vim, Filelist
21549
21550Patch 8.0.1150
21551Problem: MS-Windows GUI: dialog font size is incorrect.
21552Solution: Pass flag to indicate 'encoding' or active codepage. (Yasuhiro
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021553 Matsumoto, closes #2160)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021554Files: src/gui_w32.c
21555
21556Patch 8.0.1151
21557Problem: "vim -c startinsert!" doesn't append.
21558Solution: Correct line number on startup. (Christian Brabandt, closes #2117)
21559Files: src/ex_docmd.c, src/testdir/test_startup.vim
21560
21561Patch 8.0.1152
21562Problem: Encoding of error message wrong in Cygwin terminal.
21563Solution: Get locale from environment variables. (Ken Takata)
21564Files: src/main.c, src/mbyte.c, src/proto/mbyte.pro
21565
21566Patch 8.0.1153
21567Problem: No tests for diff_hlID() and diff_filler().
21568Solution: Add tests. (Dominique Pelle, closes #2156)
21569Files: src/testdir/test_diffmode.vim
21570
21571Patch 8.0.1154
21572Problem: 'indentkeys' does not work properly. (Gary Johnson)
21573Solution: Get the cursor line again. (Christian Brabandt, closes #2151)
21574Files: src/edit.c, src/testdir/test_edit.vim
21575
21576Patch 8.0.1155
21577Problem: Ruby command triggers a warning when RUBYOPT is set to "-w".
21578Solution: use "-e_=0" instead of "-e0". (Masataka Pocke Kuwabara, closes
21579 #2143)
21580Files: src/if_ruby.c
21581
21582Patch 8.0.1156
21583Problem: Removing one -W argument from Perl CFLAGS may cause trouble.
21584Solution: Remove all -W flags. (Christian Brabandt)
21585Files: src/configure.ac, src/auto/configure
21586
21587Patch 8.0.1157
21588Problem: Compiler warning on MS-Windows.
21589Solution: Add type cast. (Yasuhiro Matsomoto)
21590Files: src/main.c
21591
21592Patch 8.0.1158
21593Problem: Still old style tests.
21594Solution: Convert serveral tests to new style. (Yegappan Lakshmanan)
21595Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
21596 src/testdir/main.aap, src/testdir/test33.in,
21597 src/testdir/test33.ok, src/testdir/test41.in,
21598 src/testdir/test41.ok, src/testdir/test43.in,
21599 src/testdir/test43.ok, src/testdir/test53.in,
21600 src/testdir/test53.ok, src/testdir/test_file_size.vim,
21601 src/testdir/test_lispwords.vim, src/testdir/test_search.vim,
21602 src/testdir/test_textobjects.vim
21603
21604Patch 8.0.1159
21605Problem: Typo in #ifdef.
21606Solution: Change "PROT" to "PROTO". (Nobuhiro Takasaki, closes #2165)
21607Files: src/syntax.c
21608
21609Patch 8.0.1160
21610Problem: Getting tab-local variable fails after closing window.
21611Solution: set tp_firstwin and tp_lastwin. (Jason Franklin, closes #2170)
21612Files: src/window.c, src/evalfunc.c, src/testdir/test_getvar.vim
21613
21614Patch 8.0.1161
21615Problem: Popup menu drawing problem when resizing terminal.
21616Solution: Redraw after resizing also when a popup menu is visible. (Ozaki
21617 Kiichi, closes #2110)
21618Files: src/popupmnu.c, src/term.c, src/testdir/shared.vim,
21619 src/testdir/test_popup.vim
21620
21621Patch 8.0.1162
21622Problem: Shared script for tests cannot be included twice.
21623Solution: Include it where needed, it will "finish" if loaded again.
21624Files: src/testdir/test_alot.vim, src/testdir/test_bufline.vim,
21625 src/testdir/test_timers.vim
21626
21627Patch 8.0.1163
21628Problem: Popup test is flaky.
21629Solution: Add a WaitFor() and fix another.
21630Files: src/testdir/test_popup.vim
21631
21632Patch 8.0.1164
21633Problem: Changing StatusLine highlight while evaluating 'statusline' may
21634 not change the status line color.
21635Solution: When changing highlighting while redrawing don't cause another
21636 redraw. (suggested by Ozaki Kiichi, closes #2171, closes #2120)
21637Files: src/buffer.c, src/syntax.c
21638
21639Patch 8.0.1165
21640Problem: Popup test is still flaky.
21641Solution: Add a term_wait() call. (Ozaki Kiichi)
21642Files: src/testdir/test_popup.vim
21643
21644Patch 8.0.1166
21645Problem: :terminal doesn't work on Mac High Sierra.
21646Solution: Change #ifdef for OpenPTY(). (Ozaki Kiichi, Kazunobu Kuriyama,
21647 closes #2162)
21648Files: src/pty.c
21649
21650Patch 8.0.1167
21651Problem: Motif: typing in terminal window is slow.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021652Solution: Do not redraw the whole terminal window but only what was changed.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021653Files: src/terminal.c
21654
21655Patch 8.0.1168
21656Problem: wrong highlighting with combination of match and 'cursorline'.
21657Solution: Use "line_attr" when appropriate. (Ozaki Kiichi, closes #2111)
21658 But don't highlight more than one character.
21659Files: src/screen.c, src/testdir/test_highlight.vim,
21660 src/testdir/view_util.vim
21661
21662Patch 8.0.1169
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021663Problem: Highlighting one char too many with 'list' and 'cul'.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021664Solution: Check for 'list' being active. (Ozaki Kiichi, closes #2177)
21665Files: src/screen.c, src/testdir/test_highlight.vim
21666
21667Patch 8.0.1170
21668Problem: Using termdebug results in 100% CPU time. (tomleb)
21669Solution: Use polling instead of select().
21670Files: src/os_unix.c, src/channel.c, src/proto/channel.pro
21671
21672Patch 8.0.1171
21673Problem: Popup test is still a bit flaky.
21674Solution: Change term_wait() calls. (Ozaki Kiichi)
21675Files: src/testdir/test_popup.vim
21676
21677Patch 8.0.1172
21678Problem: When E734 is given option is still set.
21679Solution: Assign NULL to "s". (Christian Brabandt)
21680Files: src/eval.c, src/testdir/test_assign.vim
21681
21682Patch 8.0.1173
21683Problem: Terminal window is not redrawn after CTRL-L. (Marcin Szamotulski)
21684Solution: Redraw the whole terminal when w_redr_type is NOT_VALID.
21685Files: src/terminal.c
21686
21687Patch 8.0.1174
21688Problem: Mac Terminal.app has wrong color for white.
21689Solution: Use white from the color cube.
21690Files: src/globals.h, src/term.c, src/syntax.c
21691
21692Patch 8.0.1175 (after 8.0.1174)
21693Problem: Build failure without +termresponse.
21694Solution: Add #ifdef.
21695Files: src/syntax.c
21696
21697Patch 8.0.1176
21698Problem: Job_start() does not handle quote and backslash correctly.
21699Solution: Remove quotes, recognize and remove backslashes.
21700Files: src/testdir/test_channel.vim, src/os_unix.c
21701
21702Patch 8.0.1177
21703Problem: In a terminal window the popup menu is not cleared. (Gerry
21704 Agbobada)
21705Solution: Redraw when SOME_VALID is used instead of NOT_VALID. (closes
21706 #2194)
21707Files: src/terminal.c
21708
21709Patch 8.0.1178
21710Problem: Using old compiler on MS-Windows.
21711Solution: Switch default build on MS-Windows to use MSVC 2015. (Ken Takata)
21712Files: src/msvc2015.bat, src/INSTALLpc.txt, src/GvimExt/Makefile,
21713 src/Make_mvc.mak, src/tee/Make_mvc.mak, src/xxd/Make_mvc.mak
21714
21715Patch 8.0.1179
21716Problem: Test_popup_and_window_resize() does not always pass.
21717Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file.
21718 (Ozaki Kiichi, closes #2186)
21719Files: src/testdir/Makefile, src/testdir/shared.vim,
21720 src/testdir/test_popup.vim
21721
21722Patch 8.0.1180
21723Problem: MS-Windows testclean target deletes the color script.
21724Solution: Rename the script file.
21725Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim
21726
21727Patch 8.0.1181
21728Problem: Tests using Vim command fail on MS-Windows.
21729Solution: Do not add quotes around the Vim command.
21730Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
21731
21732Patch 8.0.1182
21733Problem: Cannot see or change mzscheme dll name.
21734Solution: Add 'mzschemedll' and 'mzschemegcdll'.
21735Files: src/if_mzsch.c, src/option.h, src/option.c,
21736 runtime/doc/if_mzsch.txt
21737
21738Patch 8.0.1183
21739Problem: MS-Windows build instructions are outdated.
21740Solution: Update instructions for MSVC 2015. Update the build script.
21741Files: Filelist, Makefile, src/INSTALLpc.txt, src/bigvim.bat
21742
21743Patch 8.0.1184
21744Problem: The :marks command is not tested.
21745Solution: Add a test. (Dominique Pelle, closes #2197)
21746Files: src/testdir/test_marks.vim
21747
21748Patch 8.0.1185
21749Problem: Ruby library includes minor version number.
21750Solution: Only use the API version number. (Ben Boeckel, closes #2199)
21751Files: src/configure.ac, src/auto/configure
21752
21753Patch 8.0.1186
21754Problem: Still quite a few old style tests.
21755Solution: Convert old to new style tests. (Yegappan Lakshmanan)
21756 Avoid ringing the bell while running tests.
21757Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
21758 src/testdir/Make_vms.mms, src/testdir/main.aap,
21759 src/testdir/test31.in, src/testdir/test31.ok,
21760 src/testdir/test4.in, src/testdir/test4.ok, src/testdir/test5.in,
21761 src/testdir/test5.ok, src/testdir/test60.in,
21762 src/testdir/test60.ok, src/testdir/test60.vim,
21763 src/testdir/test7.in, src/testdir/test7.ok, src/testdir/test78.in,
21764 src/testdir/test78.ok, src/testdir/test_autocmd.vim,
21765 src/testdir/test_exists.vim, src/testdir/test_recover.vim,
21766 src/testdir/test_winbuf_close.vim, src/testdir/runtest.vim
21767
21768Patch 8.0.1187
21769Problem: Building with lua fails for OSX on Travis.
21770Solution: Separate brew-update and brew-install. (Ozaki Kiichi, closes #2203)
21771Files: .travis.yml
21772
21773Patch 8.0.1188
21774Problem: Autocmd test fails on MS-Windows.
21775Solution: Give the buffer a name and find the buffer to be wiped out by
21776 name.
21777Files: src/testdir/test_autocmd.vim
21778
21779Patch 8.0.1189
21780Problem: E172 is not actually useful, it's only on Unix anyway.
21781Solution: Remove the check and the error.
21782Files: src/ex_docmd.c, runtime/doc/message.txt
21783
21784Patch 8.0.1190
21785Problem: Vim becomes unusable after opening new window in BufWritePre
21786 event.
21787Solution: Call not_exiting(). (Martin Tournoij, closes #2205)
21788 Also for "2q" when a help window is open. Add a test.
21789Files: src/ex_docmd.c, src/testdir/test_writefile.vim
21790
21791Patch 8.0.1191
21792Problem: MS-Windows: missing 32 and 64 bit files in installer.
21793Solution: Include both 32 and 64 bit GvimExt and related dll files. Remove
21794 old Windows code from the installer. (Ken Takata, closes #2144)
21795Files: nsis/README.txt, nsis/gvim.nsi, src/GvimExt/gvimext.cpp,
21796 src/dosinst.c, src/dosinst.h, src/uninstal.c, Makefile
21797
21798Patch 8.0.1192
21799Problem: MS-Windows: terminal feature not enabled by default.
21800Solution: Enable it. (Ken Takata)
21801Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
21802
21803Patch 8.0.1193
21804Problem: Crash when wiping out a buffer after using getbufinfo().
21805 (Yegappan Lakshmanan)
21806Solution: Remove b:changedtick from the buffer variables.
21807Files: src/buffer.c, src/testdir/test_autocmd.vim
21808
21809Patch 8.0.1194
21810Problem: Actual fg and bg colors of terminal are unknown.
21811Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
21812Files: src/term.c, src/term.h, src/proto/term.pro, src/terminal.c,
21813 src/vim.h, src/eval.c, runtime/doc/eval.txt
21814
21815Patch 8.0.1195 (after 8.0.1194)
21816Problem: Can't build on MS-Windows.
21817Solution: Adjust #ifdef and add #ifdefs.
21818Files: src/term.c, src/terminal.c
21819
21820Patch 8.0.1196 (after 8.0.1194)
21821Problem: Crash when t_RF is not set. (Brian Pina)
21822Solution: Add t_RF to the list of terminal options. (Hirohito Higashi)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021823Files: src/option.c
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021824
21825Patch 8.0.1197
21826Problem: MS-Windows build instructions are not up to date.
21827Solution: Adjust the instructions. Fix the nsis script.
21828Files: Makefile, nsis/gvim.nsi
21829
21830Patch 8.0.1198
21831Problem: Older compilers don't know uint8_t.
21832Solution: Use char_u instead.
21833Files: src/term.c, src/proto/term.pro
21834
21835Patch 8.0.1199
21836Problem: When 'clipboard' is "autoselectplus" the star register is also
21837 set. (Gilles Moris)
21838Solution: Don't set the star register in this situation.
21839Files: src/ops.c
21840
21841Patch 8.0.1200
21842Problem: Tests switch the bell off twice.
21843Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
21844Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim,
21845 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim,
21846 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim,
21847 src/testdir/test_edit.vim, src/testdir/test_file_size.vim,
21848 src/testdir/test_gn.vim, src/testdir/test_normal.vim,
21849 src/testdir/test_packadd.vim, src/testdir/test_popup.vim,
21850 src/testdir/test_recover.vim, src/testdir/test_search.vim,
21851 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim,
21852 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim
21853
21854Patch 8.0.1201
21855Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded)
21856Solution: Don't use 'scrolloff' when an operator is pending.
21857Files: src/normal.c, runtime/doc/motion.txt
21858
21859Patch 8.0.1202
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021860Problem: :wall gives an error for a terminal window. (Marius Gedminas)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021861Solution: Don't try writing a buffer that can't be written. (Yasuhiro
21862 Matsumoto, closes #2190)
21863Files: src/ex_cmds.c, src/testdir/test_terminal.vim
21864
21865Patch 8.0.1203
21866Problem: Terminal window mistreats composing characters.
21867Solution: Count composing characters with the base character. (Ozaki Kiichi,
21868 closes #2195)
21869Files: src/mbyte.c, src/terminal.c, src/testdir/test_terminal.vim
21870
21871Patch 8.0.1204
21872Problem: A QuitPre autocommand may get the wrong file name.
21873Solution: Pass the buffer being closed to apply_autocmds(). (Rich Howe)
21874Files: src/ex_docmd.c, src/testdir/test_autocmd.vim
21875
21876Patch 8.0.1205
21877Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe)
21878Solution: Check the right window for changes.
21879Files: src/testdir/test_edit.vim, src/ex_docmd.c
21880
21881Patch 8.0.1206
21882Problem: No autocmd for entering or leaving the command line.
21883Solution: Add CmdlineEnter and CmdlineLeave.
21884Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c, src/vim.h,
21885 src/testdir/test_autocmd.vim
21886
21887Patch 8.0.1207
21888Problem: Profiling skips the first and last script line.
21889Solution: Check for BOM after setting script ID. (Lemonboy, closes #2103,
21890 closes #2112) Add a test. List the trailing script lines.
21891Files: src/testdir/test_profile.vim, src/ex_cmds2.c
21892
21893Patch 8.0.1208
21894Problem: 'statusline' drops empty group with highlight change.
21895Solution: Do not drop an empty group if it changes highlighting. (Marius
21896 Gedminas, closes #2228)
21897Files: src/buffer.c, src/testdir/test_statusline.vim
21898
21899Patch 8.0.1209
21900Problem: Still too many old style tests.
21901Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
21902 closes #2230)
21903Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
21904 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
21905 src/testdir/Makefile, src/testdir/Make_vms.mms,
21906 src/testdir/main.aap, src/testdir/test34.in,
21907 src/testdir/test34.ok, src/testdir/test54.in,
21908 src/testdir/test54.ok, src/testdir/test8.in, src/testdir/test8.ok,
21909 src/testdir/test_autocmd.vim, src/testdir/test_autoformat_join.in,
21910 src/testdir/test_autoformat_join.ok, src/testdir/test_join.vim,
21911 src/testdir/test_user_func.vim
21912
21913Patch 8.0.1210
21914Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when
21915 there is typeahead.
21916Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa,
21917 closes #2233)
21918Files: src/ex_getln.c, src/testdir/test_search.vim
21919
21920Patch 8.0.1211
21921Problem: Cannot reorder tab pages with drag & drop.
21922Solution: Support drag & drop for GTK and MS-Windows. (Ken Takata, Masamichi
21923 Abe)
21924Files: src/gui_gtk_x11.c, src/gui_w32.c
21925
21926Patch 8.0.1212
21927Problem: MS-Windows: tear-off menu does not work on 64 bit. (shaggyaxe)
21928Solution: Change how the menu handle is looked up. (Ken Takata, closes
21929 #1205)
21930Files: src/gui_w32.c
21931
21932Patch 8.0.1213
21933Problem: Setting 'mzschemedll' has no effect.
21934Solution: Move loading .vimrc to before call to mzscheme_main().
21935Files: src/main.c
21936
21937Patch 8.0.1214
21938Problem: Accessing freed memory when EXITFREE is set and there is more than
21939 one tab and window. (Dominique Pelle)
21940Solution: Free options later. Skip redraw when exiting.
21941Files: src/screen.c, src/misc2.c
21942
21943Patch 8.0.1215
21944Problem: Newer gcc warns for implicit fallthrough.
21945Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
21946Files: src/buffer.c, src/edit.c, src/eval.c, src/ex_docmd.c,
21947 src/ex_getln.c, src/main.c, src/message.c, src/normal.c,
21948 src/regexp.c, src/regexp_nfa.c, src/spell.c, src/window.c,
21949 src/if_perl.xs
21950
21951Patch 8.0.1216
21952Problem: Tabline is not always updated for :file command. (Norio Takagi)
21953Solution: Set redraw_tabline. (Hirohito Higashi)
21954Files: src/ex_cmds.c
21955
21956Patch 8.0.1217
21957Problem: Can't use remote eval to inspect vars in debug mode.
21958Solution: Don't discard the call stack in debug mode. (closes #2237, #2247)
21959Files: src/globals.h, src/ex_cmds2.c, src/main.c
21960
21961Patch 8.0.1218
21962Problem: Writing to freed memory in autocmd.
21963Solution: Make a copy of the tag line. (Dominique Pelle, closes #2245)
21964Files: src/tag.c, src/testdir/test_autocmd.vim
21965
21966Patch 8.0.1219
21967Problem: Terminal test is flaky.
21968Solution: Add test function to list of flaky tests.
21969Files: src/testdir/runtest.vim
21970
21971Patch 8.0.1220
21972Problem: Skipping empty statusline groups is not correct.
21973Solution: Also set group_end_userhl. (itchyny)
21974Files: src/buffer.c, src/testdir/test_statusline.vim
21975
21976Patch 8.0.1221
21977Problem: Still too many old style tests.
21978Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
21979 closes #2256)
21980Files: src/Makefile, src/testdir/Make_all.mak,
21981 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
21982 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
21983 src/testdir/main.aap, src/testdir/test19.in,
21984 src/testdir/test19.ok, src/testdir/test20.in,
21985 src/testdir/test20.ok, src/testdir/test25.in,
21986 src/testdir/test25.ok, src/testdir/test28.in,
21987 src/testdir/test28.ok, src/testdir/test32.in,
21988 src/testdir/test32.ok, src/testdir/test38.in,
21989 src/testdir/test38.ok, src/testdir/test66.in,
21990 src/testdir/test66.ok, src/testdir/test79.in,
21991 src/testdir/test79.ok, src/testdir/test_ins_complete.vim,
21992 src/testdir/test_source_utf8.vim, src/testdir/test_substitute.vim,
21993 src/testdir/test_tab.vim, src/testdir/test_tagjump.vim,
21994 src/testdir/test_undo.vim, src/testdir/test_visual.vim,
21995 src/testdir/test79.ok, src/testdir/test79.in,
21996 src/testdir/test28.in
21997
21998Patch 8.0.1222
21999Problem: Test functions interfere with each other.
22000Solution: Cleanup tab pages, windows and buffers. Reset option.
22001Files: src/testdir/runtest.vim, src/testdir/test_filetype.vim,
22002 src/testdir/test_tabpage.vim, src/testdir/test_lispwords.vim
22003
22004Patch 8.0.1223
22005Problem: Crash when using autocomplete and tab pages.
22006Solution: Check if the current tab changed. (Christian Brabandt, closes
22007 #2239)
22008Files: src/popupmnu.c, src/testdir/test_popup.vim, src/misc1.c,
22009
22010Patch 8.0.1224
22011Problem: Still interference between test functions.
22012Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a
22013 specific start context.
22014Files: src/testdir/runtest.vim, src/testdir/test_autocmd.vim,
22015 src/testdir/test_arglist.vim, src/testdir/test_bufwintabinfo.vim,
22016 src/testdir/test_command_count.vim, src/testdir/test_quickfix.vim,
22017 src/testdir/test_hardcopy.vim, src/testdir/test_ins_complete.vim,
22018 src/testdir/test_packadd.vim, src/testdir/test_signs.vim,
22019 src/testdir/test_autochdir.vim
22020
22021Patch 8.0.1225
22022Problem: No check for spell region being zero. (geeknik)
22023Solution: Check for zero. (closes #2252)
22024Files: src/spellfile.c, src/testdir/test_spell.vim
22025
22026Patch 8.0.1226
22027Problem: Edit and popup tests failing.
22028Solution: Make the tests pass.
22029Files: src/testdir/test_edit.vim, src/testdir/test_popup.vim
22030
22031Patch 8.0.1227
22032Problem: Undefined left shift in readfile(). (Brian 'geeknik' Carpenter)
22033Solution: Add cast to unsigned. (Dominique Pelle, closes #2253)
22034Files: src/fileio.c
22035
22036Patch 8.0.1228
22037Problem: Invalid memory access in GUI test.
22038Solution: Check that the row is not outside of the screen.
22039Files: src/screen.c
22040
22041Patch 8.0.1229
22042Problem: Condition in vim_str2nr() is always true. (Nikolai Pavlov)
22043Solution: Remove the condition. (Closes #2259)
22044Files: src/charset.c
22045
22046Patch 8.0.1230
22047Problem: CTRL-A in Visual mode uses character after selection. (Nikolai
22048 Pavlov)
22049Solution: Check the length before using a character.
22050Files: src/charset.c
22051
22052Patch 8.0.1231
22053Problem: Expanding file name drops dash. (stucki)
22054Solution: Use the right position. (Christian Brabandt, closes #2184)
22055Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
22056
22057Patch 8.0.1232
22058Problem: MS-Windows users are confused about default mappings.
22059Solution: Don't map keys in the console where they don't work. Add a choice
22060 in the installer to use MS-Windows key bindings or not. (Christian
22061 Brabandt, Ken Takata, closes #2093)
22062Files: Filelist, nsis/gvim.nsi, nsis/vimrc.ini, src/dosinst.c,
22063 runtime/mswin.vim
22064
22065Patch 8.0.1233
22066Problem: Typo in dos installer.
22067Solution: Remove comma.
22068Files: src/dosinst.c
22069
22070Patch 8.0.1234
22071Problem: MS-Windows: composing characters are not shown properly.
22072Solution: Pass base character and composing characters to the renderer at
22073 once. (Ken Takata, closes #2206)
22074Files: src/gui.c, src/gui_w32.c
22075
22076Patch 8.0.1235
22077Problem: Cannot disable the terminal feature in a huge build. (lindhobe)
22078Solution: Adjust the autoconf check. (Kazunobu Kuriyama, closes #2242)
22079Files: src/configure.ac, src/auto/configure, src/Makefile
22080
22081Patch 8.0.1236
22082Problem: Mac features are confusing.
22083Solution: Make feature names more consistent, add "osxdarwin". Rename
22084 feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
22085 Also includes a fix for when Ruby throws an exception inside
22086 :rubyfile.(ujihisa)
22087Files: runtime/doc/eval.txt, runtime/doc/os_mac.txt, src/auto/configure,
22088 src/config.h.in, src/configure.ac, src/digraph.c, src/edit.c,
22089 src/evalfunc.c, src/feature.h, src/fileio.c, src/getchar.c,
22090 src/globals.h, src/gui.c, src/gui_mac.c, src/if_python.c,
22091 src/if_python3.c, src/if_ruby.c, src/keymap.h, src/macros.h,
22092 src/main.c, src/mbyte.c, src/message.c, src/misc1.c, src/misc2.c,
22093 src/option.c, src/os_mac.h, src/os_macosx.m, src/os_unix.c,
22094 src/proto.h, src/pty.c, src/structs.h, src/term.c, src/termlib.c,
22095 src/ui.c, src/undo.c, src/version.c, src/vim.h, src/window.c
22096
22097Patch 8.0.1237
22098Problem: ":set scroll&" often gives an error.
22099Solution: Don't use a fixed default value, use half the window height. Add a
22100 test. (Ozaki Kiichi, closes #2104)
22101Files: src/Makefile, src/option.c, src/testdir/test_alot.vim,
22102 src/testdir/test_scroll_opt.vim
22103
22104Patch 8.0.1238
22105Problem: Incremental search only shows one match.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022106Solution: When 'incsearch' and 'hlsearch' are both set highlight all
22107 matches. (haya14busa, itchyny closes #2198)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022108Files: runtime/doc/options.txt, src/ex_getln.c, src/proto/search.pro,
22109 src/search.c, src/testdir/test_search.vim
22110
22111Patch 8.0.1239
22112Problem: Cannot use a lambda for the skip argument to searchpair().
22113Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454,
22114 closes #2265)
22115Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/evalfunc.pro,
22116 src/eval.c, src/proto/eval.pro, src/search.c,
22117 src/testdir/test_search.vim
22118
22119Patch 8.0.1240
22120Problem: MS-Windows: term_start() does not support environment.
22121Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes
22122 #2264)
22123Files: src/os_win32.c, src/proto/os_win32.pro, src/terminal.c,
22124 src/testdir/test_terminal.vim
22125
22126Patch 8.0.1241
22127Problem: Popup test is flaky. (James McCoy)
22128Solution: Increase the wait time. (Dominique Pelle)
22129Files: src/testdir/test_popup.vim
22130
22131Patch 8.0.1242
22132Problem: Function argument with only dash is seen as number zero. (Wang
22133 Shidong)
22134Solution: See a dash as a string. (Christian Brabandt)
22135Files: src/testdir/test_ins_complete.vim, src/Makefile, src/eval.c
22136
22137Patch 8.0.1243
22138Problem: No test for what 8.0.1227 fixes.
22139Solution: Add a test that triggers the problem. (Christian Brabandt)
22140Files: src/testdir/test_normal.vim, src/testdir/test_search.vim
22141
22142Patch 8.0.1244
22143Problem: Search test does not work correctly on MS-Windows.
22144Solution: Put text in a file instead of sending it to the terminal.
22145 (Christian Brabandt)
22146Files: src/testdir/test_search.vim
22147
22148Patch 8.0.1245
22149Problem: When WaitFor() has a wrong expression it just waits a second,
22150 which goes unnoticed. (James McCoy)
22151Solution: When WaitFor() times out throw an exception. Fix places where the
22152 expression was wrong.
22153Files: src/testdir/shared.vim, src/testdir/test_channel.vim,
22154 src/testdir/test_netbeans.vim, src/testdir/test_terminal.vim
22155
22156Patch 8.0.1246
22157Problem: Popup test has an arbitrary delay.
22158Solution: Wait for the ruler to show. (James McCoy)
22159Files: src/testdir/test_popup.vim
22160
22161Patch 8.0.1247
22162Problem: Not easy to find Debian build info.
22163Solution: Add a badge in the README file. (Dominique Pelle)
22164Files: README.md
22165
22166Patch 8.0.1248 (after 8.0.1247)
22167Problem: Stray + in README file.
22168Solution: Remove the +. Add a line break.
22169Files: README.md
22170
22171Patch 8.0.1249
22172Problem: No error when WaitFor() gets an invalid wrong expression.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022173Solution: Do not ignore errors in evaluation of the expression. Fix places
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022174 where the expression was wrong.
22175Files: src/testdir/shared.vim, src/testdir/test_netbeans.vim
22176
22177Patch 8.0.1250
22178Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill)
22179Solution: Redraw all windows. Start search at the end of the match. Improve
22180 how CTRL-G works with incremental search. Add tests. (Christian
22181 Brabandt, Hirohito Higashi, haya14busa, closes #2267)
22182Files: runtime/doc/options.txt, src/ex_getln.c,
22183 src/testdir/test_search.vim
22184
22185Patch 8.0.1251 (after 8.0.1249)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022186Problem: Invalid expression passed to WaitFor().
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022187Solution: Check if the variable exists.
22188Files: src/testdir/test_clientserver.vim
22189
22190Patch 8.0.1252
22191Problem: Incomplete translations makefile for MinGW/Cygwin.
22192Solution: Add missing source files. Make it work with msys2's bash. (Ken
22193 Takata)
22194Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak
22195
22196Patch 8.0.1253
22197Problem: Still too many old style tests.
22198Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22199 closes #2272)
22200Files: src/Makefile, src/testdir/Make_all.mak,
22201 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
22202 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
22203 src/testdir/main.aap, src/testdir/test12.in,
22204 src/testdir/test12.ok, src/testdir/test40.in,
22205 src/testdir/test40.ok, src/testdir/test45.in,
22206 src/testdir/test45.ok, src/testdir/test83.in,
22207 src/testdir/test83.ok, src/testdir/test_autocmd.vim,
22208 src/testdir/test_fold.vim, src/testdir/test_swap.vim,
22209 src/testdir/test_tagjump.vim
22210
22211Patch 8.0.1254
22212Problem: Undefined left shift in gethexchrs(). (geeknik)
22213Solution: Use unsigned long. (idea by Christian Brabandt, closes #2255)
22214Files: src/regexp.c, src/regexp_nfa.c
22215
22216
22217Patch 8.0.1255 (after 8.0.1248)
22218Problem: duplicate badge README file.
22219Solution: Remove one. (Dominique Pelle)
22220Files: README.md
22221
22222Patch 8.0.1256
22223Problem: Typo in configure variable vim_cv_tgent. (Matthieu Guillard)
22224Solution: Rename the variable. (closes #2281)
22225Files: src/configure.ac, src/auto/configure
22226
22227Patch 8.0.1257 (after 8.0.1254)
22228Problem: No test for fix of undefined behavior.
22229Solution: Add a test. (closes #2255)
22230Files: src/testdir/test_search.vim
22231
22232Patch 8.0.1258
22233Problem: 'ttymouse' is set to "sgr" even though it's not supported. (Gary
22234 Johnson)
22235Solution: Adjust #ifdef
22236Files: src/term.c
22237
22238Patch 8.0.1259
22239Problem: Search test can be flaky.
22240Solution: Use WaitFor() instead of a delay. Make it possible to pass a
22241 funcref to WaitFor() to avoid the need for global variables.
22242 (James McCoy, closes #2282)
22243Files: src/testdir/shared.vim, src/testdir/test_search.vim
22244
22245Patch 8.0.1260 (after 8.0.1259)
22246Problem: Using global variables for WaitFor().
22247Solution: Use a lambda function instead. Don't check a condition if
22248 WaitFor() already checked it.
22249Files: src/testdir/test_popup.vim, src/testdir/test_terminal.vim,
22250 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
22251 src/testdir/test_job_fails.vim, src/testdir/test_quotestar.vim
22252
22253Patch 8.0.1261
22254Problem: Program in terminal window gets NL instead of CR. (Lifepillar)
22255Solution: Check the tty setup more often. (closes #1998)
22256Files: src/terminal.c
22257
22258Patch 8.0.1262
22259Problem: Terminal redir test is flaky.
22260Solution: Add it to the list of flaky tests.
22261Files: src/testdir/runtest.vim
22262
22263Patch 8.0.1263
22264Problem: Others can read the swap file if a user is careless with his
22265 primary group.
22266Solution: If the group permission allows for reading but the world
22267 permissions doesn't, make sure the group is right.
22268Files: src/fileio.c, src/testdir/test_swap.vim, src/Makefile
22269
22270Patch 8.0.1264
22271Problem: Terminal debugger gets stuck in small window.
22272Solution: Add "-quiet" to the gdb command. (Christian Brabandt, closes #2154)
22273Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
22274
22275Patch 8.0.1265 (after 8.0.1263)
22276Problem: Swap test not skipped when there is one group.
22277Solution: Convert list to string for the message.
22278Files: src/testdir/test_swap.vim
22279
22280Patch 8.0.1266 (after 8.0.1263)
22281Problem: Test_swap_directory was accidentally commented out.
22282Solution: Uncomment the test.
22283Files: src/testdir/test_swap.vim
22284
22285Patch 8.0.1267 (after 8.0.1263)
22286Problem: Test_swap_group may leave file behind.
22287Solution: Add a try/finally.
22288Files: src/testdir/test_swap.vim, src/testdir/test_undo.vim
22289
22290Patch 8.0.1268
22291Problem: PC install instructions are incomplete.
22292Solution: Update the instructions. (Ken Takata)
22293Files: src/INSTALLpc.txt
22294
22295Patch 8.0.1269
22296Problem: Effect of autocommands on marks is not tested.
22297Solution: Add a couple of tests. (James McCoy, closes #2271)
22298Files: src/testdir/test_autocmd.vim
22299
22300Patch 8.0.1270
22301Problem: Mismatching file name with Filelist.
22302Solution: Rename color_ramp.vim to xterm_ramp.vim
22303Files: src/testdir/color_ramp.vim, src/testdir/xterm_ramp.vim
22304
22305Patch 8.0.1271
22306Problem: Still too many old style tests.
22307Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22308 closes #2290)
22309Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
22310 src/testdir/sautest/autoload/footest.vim, src/testdir/test55.in,
22311 src/testdir/test55.ok, src/testdir/test_changelist.in,
22312 src/testdir/test_changelist.ok, src/testdir/test_fold.vim,
22313 src/testdir/test_ins_complete.vim,
22314 src/testdir/test_insertcount.in, src/testdir/test_insertcount.ok,
22315 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
22316 src/testdir/test_search.vim, src/testdir/test_search_mbyte.in
22317
22318Patch 8.0.1272
22319Problem: Warnings for unused variables in tiny build.
22320Solution: Add #ifdef. (Dominique Pelle, closes #2288)
22321Files: src/term.c
22322
22323Patch 8.0.1273 (after 8.0.1271)
22324Problem: Old test file remaining.
22325Solution: Delete it.
22326Files: src/testdir/test_search_mbyte.ok
22327
22328Patch 8.0.1274
22329Problem: setbufline() fails when using folding.
22330Solution: Set "curwin" if needed. (Ozaki Kiichi, closes #2293)
22331Files: src/evalfunc.c, src/testdir/test_bufline.vim
22332
22333Patch 8.0.1275
22334Problem: CmdlineLeave autocmd prevents fold from opening. (Waivek)
22335Solution: Save and restore KeyTyped. (closes #2305)
22336Files: src/fileio.c
22337
22338Patch 8.0.1276
22339Problem: Typed key is lost when the terminal window is closed in exit
22340 callback. (Gabriel Barta)
22341Solution: When the current window changes bail out of the wait loop. (closes
22342 #2302)
22343Files: src/misc2.c, src/terminal.c
22344
22345Patch 8.0.1277
22346Problem: Terminal window CR-NL conversions may cause problems.
22347Solution: Avoid most conversions, only fetch the current backspace key value
22348 from the tty. (mostly by Ozaki Kiichi, closes #2278)
22349Files: src/terminal.c
22350
22351Patch 8.0.1278
22352Problem: GUI window always resizes when adding/removing a scrollbar,
22353 toolbar, etc.
22354Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and
22355 change the number of lines/columns instead. (Ychin, closes #703)
22356Files: runtime/doc/options.txt, src/gui.c, src/gui_gtk_x11.c,
22357 src/gui_w32.c, src/option.h
22358
22359Patch 8.0.1279
22360Problem: Initializing menus can be slow, especially when there are many
22361 keymaps, color schemes, etc.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022362Solution: Do the globbing for runtime files lazily. (Ken Takata)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022363Files: runtime/doc/gui.txt, runtime/menu.vim
22364
22365Patch 8.0.1280
22366Problem: Python None cannot be converted to a Vim type.
22367Solution: Convert it to v:none. (Ken Takata)
22368Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok,
22369 runtime/doc/if_pyth.txt
22370
22371Patch 8.0.1281
22372Problem: Loading file type detection slows down startup.
22373Solution: Move functions to an autoload script.
22374Files: runtime/filetype.vim, runtime/autoload/filetype.vim,
22375 runtime/scripts.vim
22376
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022377Patch 8.0.1282 (after 8.0.1281)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022378Problem: script-local variable defined in the wrong script
22379Solution: Move variable to autoload/filetype.vim.
22380Files: runtime/filetype.vim, runtime/autoload/filetype.vim
22381
22382Patch 8.0.1283
22383Problem: Test 86 fails under ASAN.
22384Solution: Fix that an item was added to a dictionary twice.
22385Files: src/if_py_both.h
22386
22387Patch 8.0.1284
22388Problem: Loading file type detection slows down startup.
22389Solution: Store the last pattern of an autocommand event to make appending
22390 quicker.
22391Files: src/fileio.c
22392
22393Patch 8.0.1285
22394Problem: Distributed autoload files may clash with user files. (Andy
22395 Wokula)
22396Solution: Use the "autoload/dist" directory.
22397Files: runtime/filetype.vim, runtime/autoload/filetype.vim,
22398 runtime/autoload/dist/ft.vim, runtime/scripts.vim, Filelist,
22399 src/Makefile, nsis/gvim.nsi
22400
22401Patch 8.0.1286
22402Problem: Occasional crash when using a channel. (Marek)
22403Solution: Decrement reference count later. (closes #2315)
22404Files: src/channel.c
22405
22406Patch 8.0.1287
22407Problem: The temp file used when updating the viminfo file may have the
22408 wrong permissions if setting the group fails.
22409Solution: Check if the group matches and reduce permissions if not.
22410Files: src/ex_cmds.c
22411
22412Patch 8.0.1288
22413Problem: GUI: cannot drag the statusline of a terminal window.
22414Solution: Handle the TERMINAL state. (Hirohito Higashi)
22415Files: src/gui.c
22416
22417Patch 8.0.1289
22418Problem: Mkview always includes the local directory.
22419Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes
22420 #2316)
22421Files: runtime/doc/options.txt, runtime/doc/starting.txt, src/ex_docmd.c,
22422 src/option.c
22423
22424Patch 8.0.1290
22425Problem: seq_cur of undotree() wrong after undo.
22426Solution: Get the actual sequence number instead of decrementing the current
22427 one. (Ozaki Kiichi, closes #2319)
22428Files: src/undo.c, src/testdir/test_undo.vim
22429
22430Patch 8.0.1291
22431Problem: C indent wrong when * immediately follows comment. (John Bowler)
22432Solution: Do not see "/*" after "*" as a comment start. (closes #2321)
22433Files: src/search.c, src/testdir/test3.in, src/testdir/test3.ok
22434
22435Patch 8.0.1292
22436Problem: Quick clicks in the WinBar start Visual mode.
22437Solution: Use a double click in the WinBar like a normal click.
22438Files: src/ui.c
22439
22440Patch 8.0.1293
22441Problem: Setting a breakpoint in the terminal debugger sometimes fails.
22442Solution: Interrupt the program if needed. Set the interface to async.
22443Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
22444 runtime/doc/terminal.txt
22445
22446Patch 8.0.1294
22447Problem: GUI: get stuck when splitting a terminal window.
22448Solution: Stop blinking when values become zero. (Hirohito Higashi)
22449Files: src/gui.c
22450
22451Patch 8.0.1295
22452Problem: Cannot automatically get a server name in a terminal.
22453Solution: Add the --enable-autoservername flag to configure. (Cimbali,
22454 closes #2317)
22455Files: runtime/doc/eval.txt, runtime/doc/various.txt, src/config.h.in,
22456 src/configure.ac, src/auto/configure, src/evalfunc.c,
22457 src/feature.h, src/main.c, src/version.c, src/Makefile
22458
22459Patch 8.0.1296 (after 8.0.1294)
22460Problem: Checking the same condition twice. (John Marriott)
22461Solution: Check blinkwait.
22462Files: src/gui.c
22463
22464Patch 8.0.1297
22465Problem: +autoservername does not show enabled on MS-Windows.
22466Solution: Always define the flag on MS-Windows. (Ken Takata)
22467Files: src/feature.h
22468
22469Patch 8.0.1298
22470Problem: Missing test file.
22471Solution: Add samples/test000. (Christian Brabandt)
22472Files: src/testdir/samples/test000, Filelist
22473
22474Patch 8.0.1299
22475Problem: Bracketed paste does not work well in terminal window.
22476Solution: Send translated string to job right away. (Ozaki Kiichi, closes
22477 #2341)
22478Files: src/terminal.c
22479
22480Patch 8.0.1300
22481Problem: File permissions may end up wrong when writing.
22482Solution: Use fchmod() instead of chmod() when possible. Don't truncate
22483 until we know we can change the file.
22484Files: src/os_unix.c, src/proto/os_unix.pro, src/configure.ac,
22485 src/auto/configure, src/config.h.in, src/fileio.c
22486
22487Patch 8.0.1301
22488Problem: Generated license file for NSIS has a modeline.
22489Solution: Adjust the pattern for sed. (Ken Takata)
22490Files: runtime/doc/Makefile
22491
22492Patch 8.0.1302
22493Problem: Still too many old style tests.
22494Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22495 closes #2326)
22496Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
22497 src/testdir/Make_vms.mms, src/testdir/runtest.vim,
22498 src/testdir/test68.in, src/testdir/test68.ok,
22499 src/testdir/test73.in, src/testdir/test73.ok,
22500 src/testdir/test_close_count.in, src/testdir/test_close_count.ok,
22501 src/testdir/test_close_count.vim,
22502 src/testdir/test_erasebackword.in,
22503 src/testdir/test_erasebackword.ok,
22504 src/testdir/test_erasebackword.vim,
22505 src/testdir/test_find_complete.vim, src/testdir/test_fixeol.in,
22506 src/testdir/test_fixeol.ok, src/testdir/test_fixeol.vim,
22507 src/testdir/test_listchars.in, src/testdir/test_listchars.ok,
22508 src/testdir/test_listchars.vim, src/testdir/test_textformat.vim
22509
22510Patch 8.0.1303
22511Problem: 'ttymouse' is not set to "sgr" for Terminal.app and Iterm2.
22512Solution: Recognize Iterm2 by the termresponse.
22513Files: src/term.c
22514
22515Patch 8.0.1304
22516Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern.
22517Solution: Use the last search pattern. (Christian Brabandt, closes #2292)
22518Files: src/ex_getln.c, src/proto/search.pro, src/search.c,
22519 src/testdir/test_search.vim
22520
22521Patch 8.0.1305
22522Problem: Writefile() never calls fsync().
22523Solution: Follow the 'fsync' option with override to enable or disable.
22524Files: src/fileio.c, src/evalfunc.c, runtime/doc/eval.txt, src/globals.h,
22525 src/testdir/test_writefile.vim
22526
22527Patch 8.0.1306
22528Problem: ASAN error stack trace is not useful.
22529Solution: Add "asan_symbolize". (James McCoy, closes #2344)
22530Files: .travis.yml
22531
22532Patch 8.0.1307 (after 8.0.1300)
22533Problem: Compiler warning for ignoring return value of ftruncate(). (Tony
22534 Mechelynck)
22535Solution: Assign returned value to "ignore".
22536Files: src/fileio.c
22537
22538Patch 8.0.1308
22539Problem: The "Reading from stdin" message may be undesired and there is no
22540 easy way to skip it.
22541Solution: Don't show the message with --not-a-term was used.
22542Files: src/fileio.c
22543
22544Patch 8.0.1309
22545Problem: Cannot use 'balloonexpr' in a terminal.
22546Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
22547 terminal. Initial implementation for Unix with GUI.
22548Files: src/option.c, src/option.h, src/os_unix.c, src/proto/os_unix.pro,
22549 src/feature.h, src/misc2.c, src/keymap.h, src/edit.c,
22550 src/ex_getln.c, src/message.c, src/misc1.c, src/normal.c,
22551 src/terminal.c, src/getchar.c, src/ex_cmds2.c, src/gui_beval.c,
22552 src/proto/gui_beval.pro, src/evalfunc.c, src/popupmnu.c,
22553 src/proto/popupmnu.pro, src/version.c, src/globals.h, src/gui.c,
22554 runtime/doc/options.txt, src/term.c,
22555 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
22556
22557Patch 8.0.1310
22558Problem: Cproto generates errors because of missing type.
22559Solution: Define _Float128 when generating prototypes.
22560Files: src/vim.h
22561
22562Patch 8.0.1311
22563Problem: No test for strpart().
22564Solution: Add a test. (Dominique Pelle, closes #2347)
22565Files: src/testdir/test_functions.vim
22566
22567Patch 8.0.1312 (after 8.0.1309)
22568Problem: balloon_show() only works in terminal when compiled with the GUI.
22569Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
22570 specific file.
22571Files: src/feature.h, src/evalfunc.c, src/gui.c, src/gui_athena.c,
22572 src/gui_beval.c, src/proto/gui_beval.pro, src/beval.c,
22573 src/proto/beval.pro, src/gui_motif.c, src/gui_w32.c,
22574 src/gui_x11.c, src/integration.c, src/workshop.c, src/menu.c,
22575 src/netbeans.c, src/option.c, src/os_unix.c, src/os_win32.c,
22576 src/syntax.c, src/version.c, src/gui.h, src/gui_beval.h,
22577 src/vim.h, src/beval.h, src/option.h, src/ex_cmds2.c, src/ui.c,
22578 src/getchar.c, src/normal.c, src/popupmnu.c, src/globals.h,
22579 src/Makefile, src/Make_cyg_ming.mak, src/Make_mvc.mak,
22580 src/Make_vms.mms, Filelist
22581
22582Patch 8.0.1313 (after 8.0.1312)
22583Problem: Missing dependencies cause parallel make to fail.
22584Solution: Update dependencies.
22585Files: src/Makefile
22586
22587Patch 8.0.1314 (after 8.0.1312)
22588Problem: Build fails on Mac. (chdiza)
22589Solution: Add #ifdef around GUI fields.
22590Files: src/beval.h
22591
22592Patch 8.0.1315 (after 8.0.1312)
22593Problem: Build still fails on Mac. (chdiza)
22594Solution: Remove bogus typedef.
22595Files: src/os_macosx.m
22596
22597Patch 8.0.1316 (after 8.0.1312)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022598Problem: Build still fails on Mac. (chdiza)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022599Solution: Remove another bogus typedef.
22600Files: src/os_mac_conv.c
22601
22602Patch 8.0.1317
22603Problem: Accessing freed memory in term_wait(). (Dominique Pelle)
22604Solution: Check that the buffer still exists.
22605Files: src/terminal.c
22606
22607Patch 8.0.1318
22608Problem: Terminal balloon only shows one line.
22609Solution: Split into several lines in a clever way. Add balloon_split().
22610 Make balloon_show() accept a list in the terminal.
22611Files: src/popupmnu.c, src/proto/popupmnu.pro, src/evalfunc.c,
22612 src/beval.c, src/proto/beval.pro, src/testdir/test_popup.vim,
22613 runtime/doc/eval.txt,
22614 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
22615
22616Patch 8.0.1319
22617Problem: Can't build GUI on MS-Windows.
22618Solution: Don't define the balloon_split() function in a GUI-only build.
22619Files: src/evalfunc.c, runtime/doc/eval.txt
22620
22621Patch 8.0.1320
22622Problem: Popup test fails on GUI-only build.
22623Solution: Don't test balloon_split() when it's not available.
22624Files: src/testdir/test_popup.vim
22625
22626Patch 8.0.1321
22627Problem: Can't build huge version with Athena. (Mark Kelly)
22628Solution: Move including beval.h to before structs.h. Include beval.pro like
22629 other proto files.
22630Files: src/vim.h, src/beval.h, src/proto.h
22631
22632Patch 8.0.1322
22633Problem: Textformat test isn't run. (Yegappan Lakshmanan)
22634Solution: Add target to the list of tests.
22635Files: src/testdir/Make_all.mak
22636
22637Patch 8.0.1323
22638Problem: Mouse events in a terminal window may cause endless loop.
22639Solution: Adjust position computation. Don't stuff a mouse event when
22640 coming from normal_cmd().
22641Files: src/normal.c, src/terminal.c
22642
22643Patch 8.0.1324
22644Problem: Some xterm sends different mouse move codes.
22645Solution: Also accept 0x80 as a move event.
22646Files: src/term.c
22647
22648Patch 8.0.1325
22649Problem: More tests are not run.
22650Solution: Add targets to the list of tests. (Yegappan Lakshmanan)
22651Files: src/testdir/Make_all.mak
22652
22653Patch 8.0.1326
22654Problem: Largefile test fails on CI, glob test on MS-Windows.
22655Solution: Remove largefile test from list of all tests. Don't run
22656 Test_glob() on non-unix systems. More cleanup. (Yegappan
22657 Lakshmanan, closes #2354)
22658Files: src/testdir/Make_all.mak, src/testdir/test_escaped_glob.vim,
22659 src/testdir/test_plus_arg_edit.vim
22660
22661Patch 8.0.1327
22662Problem: New proto file missing from distribution.
22663Solution: Add it. (closes #2355)
22664Files: Filelist
22665
22666Patch 8.0.1328
22667Problem: Trouble when using ":term ++close" with autocmd. (Gabriel Barta)
22668Solution: Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf.
22669 (closes #2339)
22670Files: src/terminal.c, src/testdir/test_terminal.vim
22671
22672Patch 8.0.1329
22673Problem: When a flaky test fails it also often fails the second time.
22674Solution: Sleep a couple of seconds before the second try.
22675Files: src/testdir/runtest.vim
22676
22677Patch 8.0.1330
22678Problem: MS-Windows: job in terminal can't get back to Vim.
22679Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes
22680 #2360)
22681Files: runtime/doc/terminal.txt, src/os_win32.c, src/proto/os_win32.pro,
22682 src/terminal.c, src/testdir/test_terminal.vim
22683
22684Patch 8.0.1331
22685Problem: Possible crash when window can be zero lines high. (Joseph
22686 Dornisch)
22687Solution: Only set w_fraction if the window is at least two lines high.
22688Files: src/window.c
22689
22690Patch 8.0.1332
22691Problem: Highlighting in quickfix window could be better. (Axel Bender)
22692Solution: Use the qfSeparator highlight item. (Yegappan Lakshmanan)
22693Files: src/quickfix.c
22694
22695Patch 8.0.1333
22696Problem: Some tests are run twice.
22697Solution: Invoked most utf8 tests only from test_alot_utf8. (Yegappan
22698 Lakshmanan, closes #2369)
22699Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
22700 src/testdir/test_mksession_utf8.vim
22701
22702Patch 8.0.1334
22703Problem: Splitting a window with a WinBar damages window layout.
22704 (Lifepillar)
22705Solution: Take the winbar into account when computing the new window
22706 position. Add WINBAR_HEIGHT().
22707Files: src/vim.h, src/window.c
22708
22709Patch 8.0.1335
22710Problem: Writefile() using fsync() may give an error for a device.
22711 (Yasuhiro Matsumoto)
22712Solution: Ignore fsync() failing. (closes #2373)
22713Files: src/evalfunc.c
22714
22715Patch 8.0.1336
22716Problem: Cannot use imactivatefunc() unless compiled with +xim.
22717Solution: Allow using imactivatefunc() when not compiled with +xim.
22718 (Yasuhiro Matsumoto, closes #2349)
22719Files: runtime/doc/options.txt, runtime/doc/mbyte.txt, src/mbyte.c,
22720 src/option.c, src/option.h, src/structs.h,
22721 src/testdir/test_iminsert.vim, src/Makefile,
22722 src/testdir/Make_all.mak, src/vim.h
22723
22724Patch 8.0.1337 (after 8.0.1336)
22725Problem: Typo in #ifdef.
22726Solution: Fix the #if line.
22727Files: src/mbyte.c
22728
22729Patch 8.0.1338 (after 8.0.1337)
22730Problem: USE_IM_CONTROL is confusing and incomplete.
22731Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
22732Files: src/vim.h, src/edit.c, src/ex_getln.c, src/getchar.c, src/gui.c,
22733 src/gui_mac.c, src/gui_w32.c, src/mbyte.c, src/normal.c,
22734 src/option.c, src/ui.c, src/globals.h, src/option.h
22735
22736Patch 8.0.1339
22737Problem: No test for what 8.0.1335 fixes.
22738Solution: Add a test. (Yasuhiro Matsumoto, closes #2373)
22739Files: src/testdir/test_writefile.vim
22740
22741Patch 8.0.1340
22742Problem: MS-Windows: cannot build GUI without IME.
22743Solution: Define im_get_status() and im_set_active() when IME is not used.
22744Files: src/mbyte.c
22745
22746Patch 8.0.1341
22747Problem: 'imactivatefunc' test fails on MS-Windows.
22748Solution: Skip the text.
22749Files: src/testdir/test_iminsert.vim, runtime/doc/options.txt
22750
22751Patch 8.0.1342
22752Problem: Cannot build with Motif and multi-byte. (Mohamed Boughaba)
22753Solution: Use the right input method status flag. (closes #2374)
22754Files: src/mbyte.c
22755
22756Patch 8.0.1343
22757Problem: MS-Windows: does not show colored emojis.
22758Solution: Implement colored emojis. Improve drawing speed. Make 'taamode'
22759 work. (Taro Muraoka, Yasuhiro Matsumoto, Ken Takata, close #2375)
22760Files: appveyor.yml, runtime/doc/options.txt, src/gui_dwrite.cpp,
22761 src/gui_dwrite.h, src/gui_w32.c, src/proto/gui_w32.pro
22762
22763Patch 8.0.1344
22764Problem: Using 'imactivatefunc' in the GUI does not work.
22765Solution: Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI.
22766Files: runtime/doc/options.txt, src/mbyte.c,
22767 src/testdir/test_iminsert.vim
22768
22769Patch 8.0.1345
22770Problem: Race condition between stat() and open() for the viminfo temp
22771 file. (Simon Ruderich)
22772Solution: use open() with O_EXCL to atomically check if the file exists.
22773 Don't try using a temp file, renaming it will fail anyway.
22774Files: src/ex_cmds.c
22775
22776Patch 8.0.1346
22777Problem: Crash when passing 50 char string to balloon_split().
22778Solution: Fix off-by-one error.
22779Files: src/testdir/test_popup.vim, src/popupmnu.c
22780
22781Patch 8.0.1347
22782Problem: MS-Windows: build broken by misplaced curly.
22783Solution: Move curly after #endif.
22784Files: src/ex_cmds.c
22785
22786Patch 8.0.1348
22787Problem: Make testclean deletes script file on MS-Windows.
22788Solution: Rename file to avoid it starting with an "x".
22789Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim, Filelist
22790
22791Patch 8.0.1349
22792Problem: Options test fails when using Motif or GTK GUI.
22793Solution: Use "fixed" instead of "fixedsys" for Unix. Don't try "xxx" for
22794 guifonteset. Don't set 'termencoding' to anything but "utf-8" for
22795 GTK. Give an error if 'termencoding' can't be converted.
22796Files: src/testdir/gen_opt_test.vim, src/option.c
22797
22798Patch 8.0.1350
22799Problem: Cannot build with +eval and -multi_byte.
22800Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte
22801 feature when an input method feature is enabled.
22802Files: src/mbyte.c, src/feature.h
22803
22804Patch 8.0.1351
22805Problem: Warning for unused variables building with MinGW.
22806Solution: Change a few #ifdefs (suggested by John Marriott). Remove
22807 superfluous checks of FEAT_MBYTE.
22808Files: src/gui_w32.c
22809
22810Patch 8.0.1352
22811Problem: Dead URLs in the help go unnoticed.
22812Solution: Add a script to check URLs in the help files. (Christian Brabandt)
22813Files: runtime/doc/Makefile, runtime/doc/test_urls.vim, Filelist
22814
22815Patch 8.0.1353
22816Problem: QuickFixCmdPost is not used consistently.
22817Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre.
22818 (Yegappan Lakshmanan, closes #2377)
22819Files: src/quickfix.c, src/testdir/test_quickfix.vim
22820
22821Patch 8.0.1354
22822Problem: Shift-Insert doesn't always work in MS-Windows console.
22823Solution: Handle K_NUL differently. (Yasuhiro Matsumoto, closes #2381)
22824Files: src/os_win32.c
22825
22826Patch 8.0.1355 (after 8.0.1354)
22827Problem: Cursor keys don't work in MS-Windows console.
22828Solution: Revert the previous patch. Also delete dead code.
22829Files: src/os_win32.c
22830
22831Patch 8.0.1356
22832Problem: Using simalt in a GUIEnter autocommand inserts strange characters.
22833 (Chih-Long Chang)
22834Solution: Ignore K_NOP in Insert mode. (closes #2379)
22835Files: src/edit.c, src/ex_getln.c
22836
22837Patch 8.0.1357
22838Problem: Startup test fails on OpenBSD. (Edd Barrett)
22839Solution: Check for "BSD" instead of "FreeBSD" being defined. (James McCoy,
22840 closes #2376, closes #2378)
22841Files: src/vim.h
22842
22843Patch 8.0.1358
22844Problem: Undercurl is not used in the terminal. (Kovid Goyal)
22845Solution: Only fall back to underline when undercurl highlighting is not
22846 defined. (closes #1306)
22847Files: src/screen.c
22848
22849Patch 8.0.1359
22850Problem: Libvterm ANSI colors can not always be recognized from the RGB
22851 values. The default color is wrong when t_RB is empty.
22852Solution: Add the ANSI color index to VTermColor.
22853Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
22854 src/terminal.c
22855
22856Patch 8.0.1360
22857Problem: The Terminal highlighting doesn't work in a terminal. (Ozaki
22858 Kiichi)
22859Solution: Use the Terminal highlighting when the cterm index is zero.
22860Files: src/terminal.c
22861
22862Patch 8.0.1361
22863Problem: Some users don't want to diff with hidden buffers.
22864Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394)
22865Files: runtime/doc/options.txt, src/buffer.c, src/diff.c,
22866 src/proto/diff.pro, src/testdir/test_diffmode.vim
22867
22868Patch 8.0.1362
22869Problem: Terminal window colors wrong when using Terminal highlighting.
22870Solution: Set ansi_index when setting the default color. Also cache the
22871 color index for Terminal. (Ozaki Kiichi, closes #2393)
22872Files: src/libvterm/src/pen.c, src/proto/terminal.pro, src/syntax.c,
22873 src/terminal.c
22874
22875Patch 8.0.1363
22876Problem: Recovering does not work when swap file ends in .stz.
22877Solution: Check for all possible swap file names. (Elfling, closes #2395,
22878 closes #2396)
22879Files: src/memline.c
22880
22881Patch 8.0.1364
22882Problem: There is no easy way to get the window position.
22883Solution: Add win_screenpos().
22884Files: src/evalfunc.c, src/testdir/test_window_cmd.vim,
22885 runtime/doc/eval.txt
22886
22887Patch 8.0.1365
22888Problem: When one channel test fails others fail as well.
22889Solution: Stop the job after a failure. Also add a couple of tests to the
22890 list of flaky tests.
22891Files: src/testdir/test_channel.vim, src/testdir/runtest.vim
22892
22893Patch 8.0.1366
22894Problem: Balloon shows when cursor is in WinBar.
22895Solution: Don't show the balloon when row is negative.
22896Files: src/beval.c
22897
22898Patch 8.0.1367
22899Problem: terminal test hangs, executing abcde. (Stucki)
22900Solution: Rename abcde to abxde.
22901Files: src/testdir/test_terminal.vim
22902
22903Patch 8.0.1368
22904Problem: Cannot drag status line or vertical separator of new terminal
22905 window. (UncleBill)
22906Solution: Adjust mouse row and column computation. (Yasuhiro Matsumoto,
22907 closes #2410)
22908Files: src/terminal.c
22909
22910Patch 8.0.1369
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022911Problem: MS-Windows: drawing underline, curl and strikethrough is slow,
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022912 mFallbackDC not properly updated.
22913Solution: Several performance improvements. (Ken Takata, Taro Muraoka,
22914 Yasuhiro Matsumoto, closes #2401)
22915Files: runtime/doc/options.txt, src/gui_dwrite.cpp, src/gui_dwrite.h,
22916 src/gui_w32.c
22917
22918Patch 8.0.1370
22919Problem: Channel test for callback is flaky.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022920Solution: Add the test to the list of flaky tests.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022921Files: src/testdir/runtest.vim
22922
22923Patch 8.0.1371
22924Problem: Shift-Insert doesn't always work in MS-Windows console.
22925Solution: Handle K_NUL differently if the second character is more than one
22926 byte. (Yasuhiro Matsumoto, closes #2381)
22927Files: src/os_win32.c
22928
22929Patch 8.0.1372
22930Problem: Profile log may be truncated halfway a character.
22931Solution: Find the start of the character. (Ozaki Kiichi, closes #2385)
22932Files: src/ex_cmds2.c, src/testdir/test_profile.vim
22933
22934Patch 8.0.1373
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022935Problem: No error when setting 'renderoptions' to an invalid value before
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022936 starting the GUI.
22937Solution: Always check the value. (Ken Takata, closes #2413)
22938Files: src/gui_w32.c, src/option.c
22939
22940Patch 8.0.1374
22941Problem: CTRL-A does not work with an empty line. (Alex)
22942Solution: Decrement the end only once. (Hirohito Higashi, closes #2387)
22943Files: src/ops.c, src/testdir/test_increment.vim
22944
22945Patch 8.0.1375
22946Problem: Window size wrong after maximizing with WinBar. (Lifepillar)
22947Solution: Fix height computations. Redraw window when it is zero height but
22948 has a WinBar. (closes #2356)
22949Files: src/window.c, src/screen.c, src/vim.h
22950
22951Patch 8.0.1376
22952Problem: Cursor in terminal not always updated.
22953Solution: Call gui_mch_flush(). (Ken Takata)
22954Files: src/terminal.c
22955
22956Patch 8.0.1377
22957Problem: Cannot call a dict function in autoloaded dict.
22958Solution: Call get_lval() passing the read-only flag.
22959Files: src/userfunc.c, src/eval.c, src/testdir/sautest/autoload/foo.vim,
22960 src/testdir/sautest/autoload/globone.vim,
22961 src/testdir/sautest/autoload/globtwo.vim,
22962 src/testdir/test_escaped_glob.vim, src/Makefile,
22963 src/testdir/test_autoload.vim, src/Makefile,
22964 src/testdir/Make_all.mak
22965
22966Patch 8.0.1378
22967Problem: Autoload script sources itself when defining function.
22968Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
22969 Matsumoto, closes #2423)
22970Files: src/userfunc.c, src/testdir/test_autoload.vim,
22971 src/testdir/sautest/autoload/sourced.vim
22972
22973Patch 8.0.1379
22974Problem: Configure check for selinux does not check for header file.
22975Solution: Add an AC_CHECK_HEADER(). (Benny Siegert)
22976Files: src/configure.ac, src/auto/configure
22977
22978Patch 8.0.1380
22979Problem: When recovering a file with "vim -r swapfile" the hit-enter prompt
22980 is at the top of the window.
22981Solution: Invalidate the cursor position.
22982Files: src/term.c
22983
22984Patch 8.0.1381
22985Problem: ch_readraw() waits for NL if channel mode is NL.
22986Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto)
22987Files: src/channel.c, src/proto/channel.pro,
22988 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py
22989
22990Patch 8.0.1382
22991Problem: Get "no write since last change" message if a terminal is open.
22992 (Fritz mehner)
22993Solution: Don't consider a buffer changed if it's a terminal window.
22994Files: src/ex_cmds.c, src/undo.c, src/proto/undo.pro
22995
22996Patch 8.0.1383
22997Problem: Local additions in help skips some files. (joshklod)
22998Solution: Check the base file name length equals.
22999Files: src/ex_cmds.c, src/testdir/test_help.vim
23000
23001Patch 8.0.1384
23002Problem: Not enough quickfix help; confusing winid.
23003Solution: Add more examples in the help. When the quickfix window is not
23004 present, return zero for getqflist() with 'winid'. Add more tests
23005 for jumping to quickfix list entries. (Yegappan Lakshmanan, closes
23006 #2427)
23007Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c,
23008 src/testdir/test_quickfix.vim
23009
23010Patch 8.0.1385
23011Problem: Python 3.5 is getting old.
23012Solution: Make Python 3.6 the default. (Ken Takata, closes #2429)
23013Files: runtime/doc/if_pyth.txt, src/INSTALLpc.txt, src/Make_cyg_ming.mak,
23014 src/Make_mvc.mak, src/bigvim.bat
23015
23016Patch 8.0.1386
23017Problem: Cannot select modified buffers with getbufinfo().
23018Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes #2431)
23019Files: runtime/doc/eval.txt, src/evalfunc.c,
23020 src/testdir/test_bufwintabinfo.vim
23021
23022Patch 8.0.1387
23023Problem: Wordcount test is old style.
23024Solution: Change into a new style test. (Yegappan Lakshmanan, closes #2434)
23025Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
23026 src/testdir/Make_vms.mms, src/testdir/test_wordcount.in,
23027 src/testdir/test_wordcount.ok, src/testdir/test_wordcount.vim
23028
23029Patch 8.0.1388
23030Problem: Char not overwritten with ambiguous width char, if the ambiguous
23031 char is single width but we reserve double-width space.
23032Solution: First clear the screen cells. (Ozaki Kiichi, closes #2436)
23033Files: src/screen.c
23034
23035Patch 8.0.1389
23036Problem: getqflist() items are missing if not set, that makes it more
23037 difficult to handle the values.
23038Solution: When a value is not available return zero or another invalid
23039 value. (Yegappan Lakshmanan, closes #2430)
23040Files: runtime/doc/eval.txt, src/quickfix.c,
23041 src/testdir/test_quickfix.vim
23042
23043Patch 8.0.1390
23044Problem: DirectX scrolling can be slow, vertical positioning is off.
23045Solution: Make scroll slightly faster when using "scrlines:1". Fix y
23046 position of displayed text. Fix DirectX with non-utf8 encoding.
23047 (Ken Takata, closes #2440)
23048Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
23049 src/gui_dwrite.cpp, src/gui_w32.c
23050
23051Patch 8.0.1391
23052Problem: Encoding empty string to JSON sometimes gives "null".
23053Solution: Handle NULL string as empty string. (closes #2446)
23054Files: src/testdir/test_json.vim, src/json.c
23055
23056Patch 8.0.1392
23057Problem: Build fails with --with-features=huge --disable-channel.
23058Solution: Don't enable the terminal feature when the channel feature is
23059 missing. (Dominique Pelle, closes #2453)
23060Files: src/configure.ac, src/auto/configure
23061
23062Patch 8.0.1393
23063Problem: Too much highlighting with 'hlsearch' and 'incsearch' set.
23064Solution: Do not highlight matches when the pattern matches everything.
23065Files: src/ex_getln.c
23066
23067Patch 8.0.1394
23068Problem: Cannot intercept a yank command.
23069Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
23070 closes #2333)
23071Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/dict.c,
23072 src/eval.c, src/fileio.c, src/ops.c, src/proto/dict.pro,
23073 src/proto/eval.pro, src/proto/fileio.pro,
23074 src/testdir/test_autocmd.vim, src/vim.h
23075
23076Patch 8.0.1395
23077Problem: It is not easy to see if a colorscheme is well written.
23078Solution: Add a script that checks for common mistakes. (Christian Brabandt)
23079Files: runtime/colors/check_colors.vim, runtime/colors/README.txt
23080
23081Patch 8.0.1396
23082Problem: Memory leak when CTRL-G in search command line fails.
23083Solution: Move restore_last_search_pattern to after "if".
23084Files: src/ex_getln.c
23085
23086Patch 8.0.1397
23087Problem: Pattern with \& following nothing gives an error.
23088Solution: Emit an empty node when needed.
23089Files: src/regexp_nfa.c, src/testdir/test_search.vim
23090
23091Patch 8.0.1398
23092Problem: :packadd does not load packages from the "start" directory.
23093 (Alejandro Hernandez)
23094Solution: Make :packadd look in the "start" directory if those packages were
23095 not loaded on startup.
23096Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
23097
23098Patch 8.0.1399
23099Problem: Warnings and errors when building tiny version. (Tony Mechelynck)
23100Solution: Add #ifdefs.
23101Files: src/ex_getln.c, src/ops.c
23102
23103Patch 8.0.1400
23104Problem: Color scheme check script shows up as color scheme.
23105Solution: Move it to the "tools" subdirectory. (closes #2457)
23106Files: Filelist, runtime/colors/check_colors.vim,
23107 runtime/colors/tools/check_colors.vim, runtime/colors/README.txt
23108
23109Patch 8.0.1401
23110Problem: Cannot build with GTK but without XIM. (Guido)
23111Solution: Adjust #ifdef. (closes #2461)
23112Files: src/gui.c
23113
23114Patch 8.0.1402
23115Problem: Crash with nasty autocommand. (gy741, Dominique Pelle)
23116Solution: Check that the new current buffer isn't wiped out. (closes #2447)
23117Files: src/buffer.c, src/testdir/test_autocmd.vim
23118
23119Patch 8.0.1403
23120Problem: Using freed buffer in grep command. (gy741, Dominique Pelle)
23121Solution: Lock the dummy buffer to avoid autocommands wiping it out.
23122Files: src/quickfix.c, src/testdir/test_autocmd.vim
23123
23124Patch 8.0.1404
23125Problem: Invalid memory access on exit when autocommands wipe out a buffer.
23126 (gy741, Dominique Pelle)
23127Solution: Check if the buffer is still valid. (closes #2449)
23128Files: src/main.c
23129
23130Patch 8.0.1405
23131Problem: Duplicated code for getting a typed character. CursorHold is
23132 called too often in the GUI. (lilydjwg)
23133Solution: Refactor code to move code up from mch_inchar(). Don't fire
23134 CursorHold if feedkeys() was used. (closes #2451)
23135Files: src/gui.c, src/proto/gui.pro, src/main.c, src/ui.c,
23136 src/proto/ui.pro, src/os_unix.c
23137
23138Patch 8.0.1406
23139Problem: Difficult to track changes to a quickfix list.
23140Solution: Add a "changedtick" value. (Yegappan Lakshmanan, closes #2460)
23141Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c,
23142 src/testdir/test_quickfix.vim
23143
23144Patch 8.0.1407
23145Problem: GUI: CursorHold may trigger before 'updatetime' when using timers.
23146Solution: Check that 'updatetime' has passed.
23147Files: src/gui.c
23148
23149Patch 8.0.1408
23150Problem: Crash in setqflist().
23151Solution: Check for string to be NULL. (Dominique Pelle, closes #2464)
23152Files: src/quickfix.c, src/testdir/test_quickfix.vim
23153
23154Patch 8.0.1409
23155Problem: Buffer overflow in :tags command.
23156Solution: Use vim_snprintf(). (Dominique Pelle, closes #2471, closes #2475)
23157 Add a test.
23158Files: src/testdir/test_taglist.vim, src/tag.c
23159
23160Patch 8.0.1410
23161Problem: Hang when using count() with an empty string.
23162Solution: Return zero for an empty string. (Dominique Pelle, closes #2465)
23163Files: runtime/doc/eval.txt, src/evalfunc.c,
23164 src/testdir/test_functions.vim
23165
23166Patch 8.0.1411
23167Problem: Reading invalid memory with CTRL-W :.
23168Solution: Correct the command characters. (closes #2469)
23169Files: src/normal.c, src/testdir/test_window_cmd.vim, src/ops.c
23170
23171Patch 8.0.1412
23172Problem: Using free memory using setloclist(). (Dominique Pelle)
23173Solution: Mark location list context as still in use when needed. (Yegappan
23174 Lakshmanan, closes #2462)
23175Files: src/quickfix.c, src/testdir/test_quickfix.vim
23176
23177Patch 8.0.1413
23178Problem: Accessing freed memory in :cbuffer.
23179Solution: Get quickfix list after executing autocmds. (closes #2470)
23180Files: src/quickfix.c, src/testdir/test_autocmd.vim
23181
23182Patch 8.0.1414
23183Problem: Accessing freed memory in :lfile.
23184Solution: Get the current window after executing autocommands. (Yegappan
23185 Lakshmanan, closes #2473)
23186Files: src/quickfix.c, src/testdir/test_quickfix.vim
23187
23188Patch 8.0.1415
23189Problem: Warning for unused function without timers feature.
23190Solution: Add #ifdef. (John Marriott)
23191Files: src/gui.c
23192
23193Patch 8.0.1416
23194Problem: Crash when searching for a sentence.
23195Solution: Return NUL when getting character at MAXCOL. (closes #2468)
23196Files: src/misc1.c, src/misc2.c, src/testdir/test_search.vim,
23197 src/ex_docmd.c
23198
23199Patch 8.0.1417
23200Problem: Test doesn't search for a sentence. Still fails when searching for
23201 start of sentence. (Dominique Pelle)
23202Solution: Add paren. Check for MAXCOL in dec().
23203Files: src/testdir/test_search.vim, src/misc2.c
23204
23205Patch 8.0.1418
23206Problem: No test for expanding backticks.
23207Solution: Add a test. (Dominique Pelle, closes #2479)
23208Files: src/testdir/test_normal.vim
23209
23210Patch 8.0.1419
23211Problem: Cursor column is not updated after ]s. (Gary Johnson)
23212Solution: Set the curswant flag.
23213Files: src/testdir/test_spell.vim, src/normal.c, src/evalfunc.c
23214
23215Patch 8.0.1420
23216Problem: Accessing freed memory in vimgrep.
23217Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan,
23218 closes #2474)
23219Files: src/quickfix.c, src/testdir/test_autocmd.vim,
23220 src/testdir/test_quickfix.vim
23221
23222Patch 8.0.1421
23223Problem: Accessing invalid memory with overlong byte sequence.
23224Solution: Check for NUL character. (test by Dominique Pelle, closes #2485)
23225Files: src/misc2.c, src/testdir/test_functions.vim
23226
23227Patch 8.0.1422
23228Problem: No fallback to underline when undercurl is not set. (Ben Jackson)
23229Solution: Check for the value to be empty instead of NULL. (closes #2424)
23230Files: src/screen.c
23231
23232Patch 8.0.1423
23233Problem: Error in return not caught by try/catch.
23234Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes #2483)
23235Files: src/testdir/test_eval.in, src/testdir/test_eval_stuff.vim,
23236 src/Makefile, src/testdir/Make_all.mak, src/userfunc.c
23237
23238Patch 8.0.1424
23239Problem: The timer_pause test is flaky on Travis.
23240Solution: Accept a longer sleep time on Mac.
23241Files: src/testdir/test_timers.vim
23242
23243Patch 8.0.1425
23244Problem: execute() does not work in completion of user command. (thinca)
23245Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492)
23246Files: src/evalfunc.c, src/testdir/test_usercommands.vim
23247
23248Patch 8.0.1426
23249Problem: "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok)
23250Solution: Check for a URL and allow for extra characters. (closes #2493)
23251Files: src/window.c, src/testdir/test_gf.vim
23252
23253Patch 8.0.1427
23254Problem: The :leftabove modifier doesn't work for :copen.
23255Solution: Respect the split modifier. (Yegappan Lakshmanan, closes #2496)
23256Files: src/quickfix.c, src/testdir/test_quickfix.vim
23257
23258Patch 8.0.1428
23259Problem: Compiler warning on 64 bit MS-Windows system.
23260Solution: Change type from "int" to "size_t". (Mike Williams)
23261Files: src/ex_getln.c
23262
23263Patch 8.0.1429
23264Problem: Crash when calling term_start() with empty argument.
23265Solution: Check for invalid argument. (Yasuhiro Matsomoto, closes #2503)
23266 Fix memory leak.
23267Files: src/terminal.c, src/testdir/test_terminal.vim
23268
23269Patch 8.0.1430 (after 8.0.1429)
23270Problem: Crash when term_start() fails.
23271Solution: Initialize winpty_err.
23272Files: src/terminal.c
23273
23274Patch 8.0.1431
23275Problem: MS-Windows: vimtutor fails if %TMP% has special chars.
23276Solution: Add quotes. (Tamce, closes #2561)
23277Files: vimtutor.bat
23278
23279Patch 8.0.1432
23280Problem: After ":copen" can't get the window-ID of the quickfix window.
23281 (FalacerSelene)
23282Solution: Make it work without a quickfix list. Add a test. (Yegappan
23283 Lakshmanan, closes #2541)
23284Files: src/quickfix.c, src/testdir/test_quickfix.vim
23285
23286Patch 8.0.1433
23287Problem: Illegal memory access after undo. (Dominique Pelle)
23288Solution: Avoid the column becomes negative. (Christian Brabandt,
23289 closes #2533)
23290Files: src/mbyte.c, src/testdir/test_undo.vim
23291
23292Patch 8.0.1434
23293Problem: GTK: :promtfind does not put focus on text input. (Adam Novak)
23294Solution: When re-opening the dialog put focus on the text input. (Kazunobu
23295 Kuriyama, closes #2563)
23296Files: src/gui_gtk.c
23297
23298Patch 8.0.1435
23299Problem: Memory leak in test_arabic.
23300Solution: Free the from and to parts. (Christian Brabandt, closes #2569)
23301Files: src/buffer.c, src/digraph.c, src/proto/digraph.pro
23302
23303Patch 8.0.1436
23304Problem: Not enough information about what Python version may work.
23305Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and
23306 "python3_dynamic" values for has().
23307Files: src/evalfunc.c, runtime/doc/eval.txt
23308
23309Patch 8.0.1437
23310Problem: Pkg-config doesn't work with cross compiling.
23311Solution: Use AC_PATH_TOOL() instead of AC_PATH_PROG(). (James McCoy,
23312 closes #2513)
23313Files: src/configure.ac, src/auto/configure
23314
23315Patch 8.0.1438
23316Problem: Filetype detection test not updated for change.
23317Solution: Update the test.
23318Files: src/testdir/test_filetype.vim
23319
23320Patch 8.0.1439
23321Problem: If cscope fails a search Vim may hang.
23322Solution: Bail out when a search error is encountered. (Safouane Baroudi,
23323 closes #2598)
23324Files: src/if_cscope.c
23325
23326Patch 8.0.1440
23327Problem: Terminal window: some vterm responses are delayed.
23328Solution: After writing input. check if there is output to read. (Ozaki
23329 Kiichi, closes #2594)
23330Files: src/terminal.c, src/testdir/test_search.vim,
23331 src/testdir/test_terminal.vim
23332
23333Patch 8.0.1441
23334Problem: Using ":undo 0" leaves undo in wrong state.
23335Solution: Instead of searching for state 1 and go above, just use the start.
23336 (Ozaki Kiichi, closes #2595)
23337Files: src/undo.c, src/testdir/test_undo.vim
23338
23339Patch 8.0.1442 (after 8.0.1439)
23340Problem: Using pointer before it is set.
23341Solution: Search in whole buffer instead of next token.
23342Files: src/if_cscope.c
23343
23344Patch 8.0.1443 (after 8.0.1441)
23345Problem: Compiler complains about uninitialized variable. (Tony Mechelynck)
23346Solution: Assign a value to the variable.
23347Files: src/undo.c
23348
23349Patch 8.0.1444
23350Problem: Missing -D_FILE_OFFSET_BITS=64 may cause problems if a library is
23351 compiled with it.
23352Solution: Include -D_FILE_OFFSET_BITS if some CFLAGS has it. (James McCoy,
23353 closes #2600)
23354Files: src/configure.ac, src/auto/configure
23355
23356Patch 8.0.1445
23357Problem: Cannot act on edits in the command line.
23358Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603,
23359 closes #2524)
23360Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c,
23361 src/testdir/test_autocmd.vim, src/vim.h
23362
23363Patch 8.0.1446
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023364Problem: Accessing freed memory after window command in auto command.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023365 (gy741)
23366Solution: Adjust the pointer in the parent frame. (Christian Brabandt,
23367 closes #2467)
23368Files: src/window.c, src/testdir/test_window_cmd.vim
23369
23370Patch 8.0.1447
23371Problem: Still too many old style tests.
23372Solution: Turn a few tests into new style. (Yegappan Lakshmanan,
23373 closes #2509)
23374Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
23375 src/testdir/main.aap, src/testdir/test15.in,
23376 src/testdir/test15.ok, src/testdir/test36.in,
23377 src/testdir/test36.ok, src/testdir/test50.in,
23378 src/testdir/test50.ok, src/testdir/test_regex_char_classes.vim,
23379 src/testdir/test_shortpathname.vim,
23380 src/testdir/test_textformat.vim
23381
23382Patch 8.0.1448
23383Problem: Segmentation fault when Ruby throws an exception inside :rubyfile
23384 command.
23385Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa,
23386 closes #2147, greywolf, closes #2512, #2511)
23387Files: src/if_ruby.c, src/testdir/test_ruby.vim
23388
23389Patch 8.0.1449
23390Problem: Slow redrawing with DirectX.
23391Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
23392 updating the cursor. (Ken Takata, closes #2560)
23393Files: runtime/doc/options.txt, src/channel.c, src/edit.c, src/getchar.c,
23394 src/gui.c, src/gui_dwrite.cpp, src/gui_dwrite.h, src/gui_w32.c,
23395 src/macros.h, src/main.c, src/message.c, src/netbeans.c,
23396 src/proto/gui.pro, src/proto/term.pro, src/screen.c, src/search.c,
23397 src/term.c, src/ui.c
23398
23399Patch 8.0.1450
23400Problem: Endless loop when gui_mch_stop_blink() is called while blink_state
23401 is BLINK_OFF. (zdohnal)
23402Solution: Avoid calling gui_update_cursor() recursively.
23403Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
23404 src/gui_mac.c, src/proto/gui_mac.pro, src/gui_photon.c,
23405 src/proto/gui_photon.pro, src/gui_w32.c, src/proto/gui_w32.pro,
23406 src/gui_x11.c, src/proto/gui_x11.pro
23407
23408Patch 8.0.1451
23409Problem: It is difficult to set the python home directory properly for
23410 Python 2.7 and 3.5 since both use $PYTHONHOME.
23411Solution: Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki
23412 Sakamoto, closes #1266)
23413Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
23414 runtime/optwin.vim, src/if_python.c, src/if_python3.c,
23415 src/option.c, src/option.h
23416
23417Patch 8.0.1452
23418Problem: Terminal test fails on some systems. (jonathonf)
23419Solution: Use "cat" instead of Python to produce the input. Add a delay.
23420 (closes #2607)
23421Files: src/testdir/test_terminal.vim
23422
23423Patch 8.0.1453
23424Problem: Terminal test fails on some slow terminals.
23425Solution: Increase timeout to 10 seconds.
23426Files: src/testdir/test_terminal.vim
23427
23428Patch 8.0.1454
23429Problem: When in silent mode too much output is buffered.
23430Solution: Use line buffering instead of fully buffered. (Brian M. Carlson,
23431 closes #2537)
23432Files: src/main.c
23433
23434Patch 8.0.1455
23435Problem: If $SHELL contains a space then the default value of 'shell' is
23436 incorrect. (Matthew Horan)
23437Solution: Escape spaces in $SHELL. (Christian Brabandt, closes #459)
23438Files: src/option.c, runtime/doc/options.txt,
23439 src/testdir/test_startup.vim
23440
23441Patch 8.0.1456
23442Problem: Timer test on travis Mac is still flaky.
23443Solution: Increase time range a bit more.
23444Files: src/testdir/test_timers.vim
23445
23446Patch 8.0.1457
23447Problem: Clojure now supports a shebang line.
23448Solution: Detect clojure script from the shebang line. (David Burgin,
23449 closes #2570)
23450Files: runtime/scripts.vim
23451
23452Patch 8.0.1458
23453Problem: Filetype detection test does not check all scripts.
23454Solution: Add most scripts to the test
23455Files: src/testdir/test_filetype.vim
23456
23457Patch 8.0.1459
23458Problem: Cannot handle change of directory.
23459Solution: Add the DirChanged autocommand event. (Andy Massimino,
23460 closes #888) Avoid changing directory for 'autochdir' too often.
23461Files: runtime/doc/autocmd.txt, src/buffer.c, src/ex_docmd.c,
23462 src/fileio.c, src/main.c, src/vim.h, src/proto/misc2.pro,
23463 src/gui_mac.c, src/netbeans.c, src/os_win32.c,
23464 src/testdir/test_autocmd.vim
23465
23466Patch 8.0.1460 (after 8.0.1459)
23467Problem: Missing file in patch.
23468Solution: Add changes to missing file.
23469Files: src/misc2.c
23470
23471Patch 8.0.1461 (after 8.0.1459)
23472Problem: Missing another file in patch.
23473Solution: Add changes to missing file.
23474Files: src/ex_cmds.c
23475
23476Patch 8.0.1462 (after 8.0.1459)
23477Problem: Missing yet another file in patch.
23478Solution: Add changes to missing file.
23479Files: src/gui.c
23480
23481Patch 8.0.1463
23482Problem: Test fails without 'autochdir' option.
23483Solution: Skip test if 'autochdir' is not supported.
23484Files: src/testdir/test_autocmd.vim
23485
23486Patch 8.0.1464
23487Problem: Completing directory after :find does not add slash.
23488Solution: Adjust the flags for globpath(). (Genki Sky)
23489Files: src/misc1.c, src/testdir/test_find_complete.vim
23490
23491Patch 8.0.1465
23492Problem: Python2 and python3 detection not tested. (Matej Cepl)
23493Solution: Add test for detecting python2 and python3. Also detect a script
23494 using "js" as javascript.
23495Files: runtime/scripts.vim, src/testdir/test_filetype.vim
23496
23497Patch 8.0.1466
23498Problem: Older GTK versions don't have gtk_entry_get_text_length().
23499Solution: Add a function with #ifdefs to take care of GTK version
23500 differences. (Kazunobu Kuriyama, closes #2605)
23501Files: src/gui_gtk.c
23502
23503Patch 8.0.1467
23504Problem: Libvterm doesn't handle illegal byte sequence correctly.
23505Solution: After the invalid code check if there is space to store another
23506 character. Allocate one more character. (zhykzhykzhyk, closes
23507 #2614, closes #2613)
23508Files: src/libvterm/src/encoding.c, src/libvterm/src/state.c
23509
23510Patch 8.0.1468
23511Problem: Illegal memory access in del_bytes().
23512Solution: Check for negative byte count. (Christian Brabandt, closes #2466)
23513Files: src/message.c, src/misc1.c
23514
23515Patch 8.0.1469
23516Problem: When package path is a symlink adding it to 'runtimepath' happens
23517 at the end.
23518Solution: Do not resolve symlinks before locating the position in
23519 'runtimepath'. (Ozaki Kiichi, closes #2604)
23520Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
23521
23522Patch 8.0.1470
23523Problem: Integer overflow when using regexp pattern. (geeknik)
23524Solution: Use a long instead of int. (Christian Brabandt, closes #2251)
23525Files: src/regexp_nfa.c
23526
23527Patch 8.0.1471 (after 8.0.1401)
23528Problem: On MS-Windows CursorIM highlighting no longer works.
23529Solution: Adjust #if statements. (Ken Takata)
23530Files: src/gui.c
23531
23532Patch 8.0.1472
23533Problem: MS-Windows: nsis installer is a bit slow.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023534Solution: Use ReserveFile for vimrc.ini. (Ken Takata, closes #2522)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023535Files: nsis/gvim.nsi
23536
23537Patch 8.0.1473
23538Problem: MS-Windows: D&D fails between 32 and 64 bit apps.
23539Solution: Add the /HIGHENTROPYVA:NO linker option. (Ken Takata, closes #2504)
23540Files: src/Make_mvc.mak
23541
23542Patch 8.0.1474
23543Problem: Visual C 2017 has multiple MSVCVER numbers.
23544Solution: Assume the 2017 version if MSVCVER >= 1910. (Leonardo Valeri
23545 Manera, closes #2619)
23546Files: src/Make_mvc.mak
23547
23548Patch 8.0.1475
23549Problem: Invalid memory access in read_redo(). (gy741)
23550Solution: Convert the replacement character back from a negative number to
23551 CR or NL. (hint by Dominique Pelle, closes #2616)
23552Files: src/testdir/test_undo.vim, src/normal.c, src/vim.h, src/ops.c
23553
23554Patch 8.0.1476
23555Problem: Screen isn't always updated right away.
23556Solution: Adjust #ifdef: Call out_flush() when not running the GUI.
23557Files: src/screen.c
23558
23559Patch 8.0.1477
23560Problem: Redraw flicker when moving the mouse outside of terminal window.
23561Solution: Instead of updating the cursor color and shape every time leaving
23562 and entering a terminal window, only update when different from
23563 the previously used cursor.
23564Files: src/terminal.c
23565
23566Patch 8.0.1478
23567Problem: Unnecessary condition for "len" being zero.
23568Solution: Remove the condition. (Dominique Pelle)
23569Files: src/regexp_nfa.c
23570
23571Patch 8.0.1479
23572Problem: Insert mode completion state is confusing.
23573Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
23574Files: src/edit.c, src/globals.h, src/proto/edit.pro, src/search.c,
23575 src/getchar.c
23576
23577Patch 8.0.1480 (after 8.0.1479)
23578Problem: Patch missing change.
23579Solution: Add missing change.
23580Files: src/evalfunc.c
23581
23582Patch 8.0.1481
23583Problem: Clearing a pointer takes two lines.
23584Solution: Add vim_clear() to free and clear the pointer.
23585Files: src/misc2.c, src/proto/misc2.pro, src/edit.c
23586
23587Patch 8.0.1482
23588Problem: Using feedkeys() does not work to test Insert mode completion.
23589 (Lifepillar)
23590Solution: Do not check for typed keys when executing :normal or feedkeys().
23591 Fix thesaurus completion not working when 'complete' is empty.
23592Files: src/edit.c, src/testdir/test_ins_complete.vim,
23593 src/testdir/test_popup.vim, src/testdir/test_edit.vim
23594
23595Patch 8.0.1483
23596Problem: Searchpair() might return an invalid value on timeout.
23597Solution: When the second search times out, do not accept a match from the
23598 first search. (Daniel Hahler, closes #2552)
23599Files: src/search.c
23600
23601Patch 8.0.1484
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023602Problem: Redundant conditions.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023603Solution: Remove them. (Dominique Pelle)
23604Files: src/terminal.c
23605
23606Patch 8.0.1485
23607Problem: Weird autocmd may cause arglist to be changed recursively.
23608Solution: Prevent recursively changing the argument list. (Christian
23609 Brabandt, closes #2472)
23610Files: src/ex_docmd.c, src/globals.h
23611
23612Patch 8.0.1486
23613Problem: Accessing invalid memory with "it". (Dominique Pelle)
23614Solution: Avoid going over the end of the line. (Christian Brabandt,
23615 closes #2532)
23616Files: src/search.c, src/testdir/test_textobjects.vim
23617
23618Patch 8.0.1487 (after 8.0.1486)
23619Problem: Test 14 fails.
23620Solution: Fix of-by-one error.
23621Files: src/search.c
23622
23623Patch 8.0.1488 (after 8.0.1218)
23624Problem: Emacs tags no longer work. (zdohnal)
23625Solution: Do not skip over end of line.
23626Files: src/tag.c, src/testdir/test_tagjump.vim
23627
23628Patch 8.0.1489
23629Problem: There is no easy way to get the global directory, esp. if some
23630 windows have a local directory.
23631Solution: Make getcwd(-1) return the global directory. (Andy Massimino,
23632 closes #2606)
23633Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_getcwd.vim
23634
23635Patch 8.0.1490
23636Problem: Number of spell regions is spread out through the code.
23637Solution: Define MAXREGIONS.
23638Files: src/spell.h, src/spellfile.c
23639
23640Patch 8.0.1491
23641Problem: The minimum width of the popup menu is hard coded.
23642Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
23643 closes #2314)
23644Files: runtime/doc/options.txt, src/option.c, src/option.h,
23645 src/popupmnu.c
23646
23647Patch 8.0.1492
23648Problem: Memory leak in balloon_split().
23649Solution: Free the balloon lines. Free the balloon when exiting.
23650Files: src/misc2.c, src/evalfunc.c
23651
23652Patch 8.0.1493
23653Problem: Completion items cannot be annotated.
23654Solution: Add a "user_data" entry to the completion item. (Ben Jackson,
23655 coses #2608, closes #2508)
23656Files: runtime/doc/insert.txt, src/edit.c, src/structs.h,
23657 src/testdir/test_ins_complete.vim
23658
23659Patch 8.0.1494
23660Problem: No autocmd triggered in Insert mode with visible popup menu.
23661Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
23662 closes #2372, closes #1691)
23663 Fix that the TextChanged autocommands are not always triggered
23664 when sourcing a script.
23665Files: runtime/doc/autocmd.txt, src/edit.c, src/globals.h, src/structs.h,
23666 src/fileio.c, src/proto/fileio.pro, src/vim.h, src/main.c,
23667 src/testdir/test_autocmd.vim
23668
23669Patch 8.0.1495
23670Problem: Having 'pumwidth' default to zero has no merit.
23671Solution: Make the default 15, as the actual default value.
23672Files: src/popupmnu.c, src/option.c
23673
23674Patch 8.0.1496
23675Problem: Clearing a pointer takes two lines.
23676Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
23677 closes #2629)
23678Files: src/buffer.c, src/channel.c, src/crypt.c, src/edit.c, src/eval.c,
23679 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
23680 src/ex_getln.c, src/fileio.c, src/gui_gtk_x11.c, src/gui_photon.c,
23681 src/gui_w32.c, src/gui_x11.c, src/hardcopy.c, src/if_cscope.c,
23682 src/macros.h, src/main.c, src/mark.c, src/mbyte.c, src/memfile.c,
23683 src/memline.c, src/menu.c, src/message.c, src/misc1.c,
23684 src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c,
23685 src/option.c, src/os_amiga.c, src/os_mac_conv.c, src/os_mswin.c,
23686 src/os_unix.c, src/os_win32.c, src/popupmnu.c,
23687 src/proto/misc2.pro, src/quickfix.c, src/regexp.c,
23688 src/regexp_nfa.c, src/screen.c, src/search.c, src/spell.c,
23689 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c,
23690 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c, src/window.c
23691
23692Patch 8.0.1497
23693Problem: Getting the jump list requires parsing the output of :jumps.
23694Solution: Add getjumplist(). (Yegappan Lakshmanan, closes #2609)
23695Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/Makefile,
23696 src/evalfunc.c, src/list.c, src/proto/list.pro,
23697 src/testdir/Make_all.mak, src/testdir/test_jumplist.vim
23698
23699Patch 8.0.1498 (after 8.0.1497)
23700Problem: Getjumplist() returns duplicate entries. (lacygoill)
23701Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
23702Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro,
23703 src/testdir/test_jumplist.vim
23704
23705Patch 8.0.1499
23706Problem: Out-of-memory situation not correctly handled. (Coverity)
23707Solution: Check for NULL value.
23708Files: src/terminal.c
23709
23710Patch 8.0.1500
23711Problem: Possible NULL pointer dereference. (Coverity)
23712Solution: Check for the pointer not being NULL.
23713Files: src/quickfix.c
23714
23715Patch 8.0.1501
23716Problem: Out-of-memory situation not correctly handled. (Coverity)
23717Solution: Check for NULL value.
23718Files: src/ops.c
23719
23720Patch 8.0.1502
23721Problem: In out-of-memory situation character is not restored. (Coverity)
23722Solution: Restore the character in all situations.
23723Files: src/ex_getln.c
23724
23725Patch 8.0.1503
23726Problem: Access memory beyond end of string. (Coverity)
23727Solution: Keep allocated memory in separate pointer. Avoid outputting the
23728 NUL character.
23729Files: src/hardcopy.c
23730
23731Patch 8.0.1504
23732Problem: Win32: the screen may be cleared on startup.
23733Solution: Only call shell_resized() when the size actually changed. (Ken
23734 Takata, closes #2527)
23735Files: src/os_win32.c
23736
23737Patch 8.0.1505
23738Problem: Debugger can't break on a condition. (Charles Campbell)
23739Solution: Add ":breakadd expr". (Christian Brabandt, closes #859)
23740Files: runtime/doc/repeat.txt, src/eval.c, src/evalfunc.c,
23741 src/userfunc.c, src/ex_cmds2.c, src/ex_docmd.c,
23742 src/proto/eval.pro, src/proto/ex_cmds2.pro, src/structs.h
23743
23744Patch 8.0.1506
23745Problem: New version of HP NonStop (Tandem) doesn't like the default header
23746 for setenv().
23747Solution: Put a #ifdef around the setenv() entry. (Joachim Schmitz)
23748Files: src/osdef2.h.in
23749
23750Patch 8.0.1507
23751Problem: Timer test is a bit flaky.
23752Solution: Add it to the list of flaky tests.
23753Files: src/testdir/runtest.vim
23754
23755Patch 8.0.1508
23756Problem: The :drop command is not always available.
23757Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639)
23758Files: runtime/doc/windows.txt, src/ex_cmds.c, src/ex_cmds2.c,
23759 src/ex_docmd.c, src/testdir/test_normal.vim,
23760 src/testdir/test_tabpage.vim
23761
23762Patch 8.0.1509 (after 8.0.1508)
23763Problem: Test for failing drag-n-drop command no longer fails.
23764Solution: Check for the "dnd" feature.
23765Files: src/testdir/test_normal.vim
23766
23767Patch 8.0.1510
23768Problem: Cannot test if a command causes a beep.
23769Solution: Add assert_beeps().
23770Files: runtime/doc/eval.txt, src/evalfunc.c, src/eval.c,
23771 src/proto/eval.pro, src/misc1.c, src/globals.h,
23772 src/testdir/test_normal.vim, src/testdir/test_assert.vim
23773
23774Patch 8.0.1511 (after 8.0.1505)
23775Problem: Some code for the debugger watch expression is clumsy.
23776Solution: Clean up the code.
23777Files: src/ex_cmds2.c, src/eval.c, src/proto/eval.pro
23778
23779Patch 8.0.1512
23780Problem: Warning for possibly using NULL pointer. (Coverity)
23781Solution: Skip using the pointer if it's NULL.
23782Files: src/ex_cmds.c
23783
23784Patch 8.0.1513
23785Problem: The jumplist is not always properly cleaned up.
23786Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan)
23787Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro
23788
23789Patch 8.0.1514
23790Problem: Getting the list of changes is not easy.
23791Solution: Add the getchangelist() function. (Yegappan Lakshmanan,
23792 closes #2634)
23793Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
23794 src/testdir/Make_all.mak, src/testdir/test_changelist.vim,
23795 src/Makefile
23796
23797Patch 8.0.1515
23798Problem: BufWinEnter event fired when opening hidden terminal.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023799Solution: Do not fire BufWinEnter when the terminal is hidden and does not
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023800 open a window. (Kenta Sato, closes #2636)
23801Files: src/terminal.c
23802
23803Patch 8.0.1516
23804Problem: Errors for job options are not very specific.
23805Solution: Add more specific error messages.
23806Files: src/channel.c, src/globals.h
23807
23808Patch 8.0.1517
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023809Problem: Invalid memory access with pattern using look-behind match.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023810 (Dominique Pelle)
23811Solution: Get a pointer to the right line.
23812Files: src/regexp.c
23813
23814Patch 8.0.1518
23815Problem: Error messages suppressed after ":silent! try". (Ben Reilly)
23816Solution: Restore emsg_silent before executing :try. (closes #2531)
23817Files: src/ex_docmd.c, src/testdir/test_eval_stuff.vim
23818
23819Patch 8.0.1519
23820Problem: Getchangelist() does not use argument as bufname().
23821Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #2641)
23822Files: src/evalfunc.c, src/testdir/test_changelist.vim
23823
23824Patch 8.0.1520
23825Problem: Cursor is in the wrong line when using a WinBar in a Terminal
23826 window.
23827Solution: Adjust the row number. (Christian Brabandt, closes #2362)
23828Files: src/screen.c, src/terminal.c
23829
23830Patch 8.0.1521
23831Problem: Shift-Tab does not work in a terminal window.
23832Solution: Recognize Shift-Tab key press. (Jsees Luehrs, closes #2644)
23833Files: src/terminal.c
23834
23835Patch 8.0.1522 (after 8.0.1491)
23836Problem: Popup menu is positioned in the wrong place. (Davit Samvelyan,
23837 Boris Staletic)
23838Solution: Correct computation of the column and the conditions for that.
23839 (Hirohito Higashi, closes #2640)
23840Files: src/popupmnu.c
23841
23842Patch 8.0.1523
23843Problem: Cannot write and read terminal screendumps.
23844Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
23845 Also add assert_equalfile().
23846Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
23847 src/normal.c, src/eval.c, src/proto/eval.pro,
23848 runtime/doc/eval.txt, src/testdir/test_assert.vim
23849
23850Patch 8.0.1524 (after 8.0.1523)
23851Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
23852Solution: Initialize variables.
23853Files: src/terminal.c
23854
23855Patch 8.0.1525
23856Problem: Using :wqa exits even if a job runs in a terminal window. (Jason
23857 Felice)
23858Solution: Check if a terminal has a running job. (closes #2654)
23859Files: src/ex_cmds2.c, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c,
23860 src/testdir/test_terminal.vim
23861
23862Patch 8.0.1526
23863Problem: No test using a screen dump yet.
23864Solution: Add a test for C syntax highlighting. Add helper functions.
23865Files: src/terminal.c, src/testdir/test_syntax.vim,
23866 src/testdir/shared.vim, src/testdir/screendump.vim,
23867 src/testdir/dumps/Test_syntax_c_01.dump, runtime/doc/terminal.txt,
23868 src/testdir/README.txt
23869
23870Patch 8.0.1527 (after 8.0.1526)
23871Problem: Screen dump test fails on MS-Windows.
23872Solution: Skip dump test on MS-Windows for now.
23873Files: src/testdir/test_syntax.vim
23874
23875Patch 8.0.1528
23876Problem: Dead code found.
23877Solution: Remove the useless lines. (CodeAi, closes #2656)
23878Files: src/screen.c, src/spell.c, src/syntax.c, src/window.c
23879
23880Patch 8.0.1529
23881Problem: Assert_equalfile() does not close file descriptors. (Coverity)
23882Solution: Close the file descriptors.
23883Files: src/eval.c
23884
23885Patch 8.0.1530
23886Problem: Dump test fails when using a shadow directory.
23887Solution: Add the directory to the list of symlinks to make (Elimar
23888 Riesebieter)
23889Files: src/Makefile
23890
23891Patch 8.0.1531
23892Problem: Cannot use 24 bit colors in MS-Windows console.
23893Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takata,
23894 fixes #1270, fixes #2060)
23895Files: runtime/doc/options.txt, src/misc1.c, src/option.c,
23896 src/evalfunc.c, src/os_win32.c, src/proto/os_win32.pro,
23897 src/feature.h, src/proto/term.pro, src/screen.c, src/syntax.c,
23898 src/term.c, src/testdir/gen_opt_test.vim, src/version.c
23899
23900Patch 8.0.1532
23901Problem: Compiler warnings without termguicolors feature.
23902Solution: Add #ifdef. (John Marriott) Cleanup the code a bit.
23903Files: src/term.c
23904
23905Patch 8.0.1533
23906Problem: Libterm doesn't support requesting fg and bg color.
23907Solution: Implement t_RF and t_RB.
23908Files: src/libvterm/src/vterm_internal.h, src/libvterm/src/state.c,
23909 src/libvterm/src/vterm.c
23910
23911Patch 8.0.1534
23912Problem: C syntax test fails when using gvim
23913Solution: Force running in a terminal. Check that 'background' is correct
23914 even when $COLORFGBG is set.
23915Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim
23916
23917Patch 8.0.1535 (after 8.0.1534)
23918Problem: C syntax test still fails when using gvim.
23919Solution: Clear Normal cterm highlighting instead of setting it.
23920Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim,
23921 src/testdir/dumps/Test_syntax_c_01.dump
23922
23923Patch 8.0.1536
23924Problem: Quotestar test is flaky when using the GUI.
23925Solution: Add check that the star register arrived at the server. Increase
23926 timeouts.
23927Files: src/testdir/test_quotestar.vim
23928
23929Patch 8.0.1537
23930Problem: Xxd does not skip NUL lines when using ebcdic.
23931Solution: Check for a NUL before converting a character for ebcdic. (Tim
23932 Sell, closes #2668)
23933Files: src/xxd/xxd.c
23934
23935Patch 8.0.1538
23936Problem: Popupmenu is too far left when completion is long. (Linwei)
23937Solution: Adjust column computations. (Hirohito Higashi, closes #2661)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023938Files: src/popupmnu.c
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023939
23940Patch 8.0.1539
23941Problem: No test for the popup menu positioning.
23942Solution: Add a screendump test for the popup menu.
23943Files: src/terminal.c, src/testdir/test_syntax.vim,
23944 src/testdir/screendump.vim,
23945 src/testdir/test_popup.vim,
23946 src/testdir/dumps/Test_popup_position_01.dump,
23947 src/testdir/dumps/Test_popup_position_02.dump,
23948 src/testdir/dumps/Test_popup_position_03.dump,
23949 runtime/doc/eval.txt
23950
23951Patch 8.0.1540
23952Problem: Popup menu positioning fails with longer string.
23953Solution: Only align with right side of window when width is less than
23954 'pumwidth' (closes #2661)
23955Files: src/popupmnu.c, src/testdir/screendump.vim,
23956 src/testdir/test_popup.vim,
23957 src/testdir/dumps/Test_popup_position_04.dump
23958
23959Patch 8.0.1541
23960Problem: synpat_T is taking too much memory.
23961Solution: Reorder members to reduce padding. (Dominique Pelle, closes #2671)
23962Files: src/syntax.c
23963
23964Patch 8.0.1542
23965Problem: Terminal screen dump does not include cursor position.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023966Solution: Mark the cursor position in the dump.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023967Files: src/terminal.c,
23968 src/testdir/dumps/Test_popup_position_01.dump,
23969 src/testdir/dumps/Test_popup_position_02.dump,
23970 src/testdir/dumps/Test_popup_position_03.dump,
23971 src/testdir/dumps/Test_popup_position_04.dump,
23972 src/testdir/dumps/Test_syntax_c_01.dump
23973
23974Patch 8.0.1543
23975Problem: With 'termguicolors' Normal color doesn't work correctly.
23976Solution: Set cterm_normal_bg_gui_color and cterm_normal_fg_color always.
23977 (Kazunobu Kuriyama, closes #981, closes #2332)
23978Files: src/syntax.c
23979
23980Patch 8.0.1544
23981Problem: When using 'termguicolors' SpellBad doesn't show.
23982Solution: When the GUI colors are not set fall back to the cterm colors.
23983Files: src/syntax.c, src/screen.c, src/gui.h, src/structs.h
23984
23985Patch 8.0.1545
23986Problem: Screen dumps not included in distribution.
23987Solution: Add dumps to the list of distributed files.
23988Files: Filelist
23989
23990Patch 8.0.1546
23991Problem: Using feedkeys() in a terminal window may trigger mappings.
23992 (Charles Sheridan)
23993Solution: Avoid triggering a mapping when peeking for a key.
23994Files: src/getchar.c, src/terminal.c
23995
23996Patch 8.0.1547
23997Problem: Undo in the options window makes it empty.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023998Solution: Set 'undolevels' while filling the buffer. (Yasuhiro Matsumoto,
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023999 closes #2645)
24000Files: runtime/optwin.vim
24001
24002Patch 8.0.1548
24003Problem: Screen dump test script not included in distribution.
24004Solution: Add the script to the list of distributed files.
24005Files: Filelist
24006
24007Patch 8.0.1549
24008Problem: Various small problems in test files.
24009Solution: Include small changes.
24010Files: src/testdir/test_channel.py, src/testdir/shared.vim,
24011 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim
24012
24013Patch 8.0.1550
24014Problem: Various small problems in source files.
24015Solution: Fix the problems.
24016Files: src/README.txt, src/beval.c, src/json_test.c, src/mbyte.c,
24017 src/libvterm/include/vterm_keycodes.h, src/Makefile,
24018 src/gui_gtk.c, src/if_xcmdsrv.c, src/pty.c, src/if_python.c,
24019 src/if_py_both.h, uninstal.txt, src/dosinst.c, src/iscygpty.c,
24020 src/vimrun.c, src/os_vms.c
24021
24022Patch 8.0.1551
24023Problem: On Mac 'maxmemtot' is set to a weird value.
24024Solution: For Mac use total memory and subtract system memory. For other
24025 systems accept both a 32 bit and 64 bit result. (Ozaki Kiichi,
24026 closes #2646)
24027Files: src/os_unix.c
24028
24029Patch 8.0.1552
24030Problem: May leak file descriptors when executing job.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024031Solution: Close more file descriptors. (Ozaki Kiichi, closes #2651)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024032Files: src/os_unix.c, src/testdir/test_channel.vim
24033
24034Patch 8.0.1553
24035Problem: Cannot see what digraph is used to insert a character.
24036Solution: Show the digraph with the "ga" command. (Christian Brabandt)
24037Files: runtime/doc/various.txt, src/digraph.c, src/ex_cmds.c,
24038 src/proto/digraph.pro, src/testdir/shared.vim,
24039 src/testdir/test_matchadd_conceal.vim,
24040 src/testdir/test_digraph.vim, src/testdir/test_ga.vim,
24041 src/testdir/test_arabic.vim
24042
24043Patch 8.0.1554
24044Problem: Custom plugins loaded with --clean.
24045Solution: Do not include the home directory in 'runtimepath'.
24046Files: src/option.c, src/main.c, src/proto/option.pro, src/structs.h,
24047 src/os_unix.h, src/os_amiga.h, src/os_dos.h, src/os_mac.h,
24048 runtime/doc/starting.txt
24049
24050Patch 8.0.1555
24051Problem: Build error for some combination of features.
24052Solution: Declare variable in more situations.
24053Files: src/main.c
24054
24055Patch 8.0.1556
24056Problem: May not parse the t_RS response correctly, resulting in wrong
24057 characters in the input stream.
24058Solution: When the t_RS response is partly received wait for more
24059 characters.
24060Files: src/term.c
24061
24062Patch 8.0.1557
24063Problem: printf() does not work with only one argument. (Daniel Hahler)
24064Solution: Allow using just the format. (Ken Takata, closes #2687)
24065Files: src/evalfunc.c, src/testdir/test_expr.vim
24066
24067Patch 8.0.1558
24068Problem: No right-click menu in a terminal.
24069Solution: Implement the right click menu for the terminal.
24070Files: src/popupmnu.c, src/proto/popupmnu.pro, src/normal.c, src/menu.c,
24071 src/proto/menu.pro, src/feature.h
24072
24073Patch 8.0.1559
24074Problem: Build failure without GUI.
24075Solution: Adjust #ifdef for get_fpos_of_mouse().
24076Files: src/ui.c
24077
24078Patch 8.0.1560
24079Problem: Build failure without GUI on MS-Windows.
24080Solution: Adjust #ifdef for vcol2col().
24081Files: src/ui.c
24082
24083Patch 8.0.1561
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024084Problem: Crash with rust syntax highlighting. (Edd Barrett)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024085Solution: Avoid going past the end of an empty line.
24086Files: src/syntax.c
24087
24088Patch 8.0.1562
24089Problem: The terminal debugger can't set a breakpoint with the mouse.
24090Solution: Add popup menu entries.
24091Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
24092 runtime/doc/terminal.txt
24093
24094Patch 8.0.1563
24095Problem: Timeout of getwinposx() can be too short. (lilydjwg)
24096Solution: Add getwinpos(). (closes #2689)
24097Files: src/evalfunc.c, src/term.c, src/proto/term.pro, runtime/doc/eval.txt
24098
24099Patch 8.0.1564
24100Problem: Too many #ifdefs.
24101Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
24102 increases code size of tiny Vim by only 40 Kbyte.
24103Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c,
24104 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
24105 src/fileio.c, src/getchar.c, src/globals.h, src/gui.c,
24106 src/if_cscope.c, src/if_xcmdsrv.c, src/main.c, src/mbyte.c,
24107 src/memline.c, src/menu.c, src/misc1.c, src/gui_mac.c,
24108 src/misc2.c, src/move.c, src/netbeans.c, src/normal.c, src/ops.c,
24109 src/option.c, src/option.h, src/feature.h, src/vim.h,
24110 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
24111 src/quickfix.c, src/screen.c, src/search.c, src/spell.c,
24112 src/structs.h, src/syntax.c, src/tag.c, src/term.c,
24113 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c,
24114 src/version.c, src/window.c
24115
24116Patch 8.0.1565
24117Problem: Can't build Mac version without GUI.
24118Solution: Adjust when IME_WITHOUT_XIM is defined.
24119Files: src/vim.h
24120
24121Patch 8.0.1566
24122Problem: Too many #ifdefs.
24123Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
24124Files: src/buffer.c, src/diff.c, src/edit.c, src/evalfunc.c,
24125 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/gui.c,
24126 src/main.c, src/move.c, src/normal.c, src/option.c, src/term.c,
24127 src/version.c, src/window.c, src/globals.h, src/macros.h,
24128 src/option.h, src/structs.h
24129
24130Patch 8.0.1567
24131Problem: Cannot build Win32 GUI without IME. (John Marriott)
24132Solution: Adjust when IME_WITHOUT_XIM and HAVE_INPUT_METHOD are defined and
24133 use it in a few more places.
24134Files: src/vim.h, src/gui.c
24135
24136Patch 8.0.1568
24137Problem: Can't build on older Mac, header file is missing.
24138Solution: Remove the header file. (Ozaki Kiichi, closes #2691)
24139Files: src/os_unix.c
24140
24141Patch 8.0.1569
24142Problem: Warning for uninitialized variable from gcc.
24143Solution: Initialize the variable.
24144Files: src/quickfix.c
24145
24146Patch 8.0.1570
24147Problem: Can't use :popup for a menu in the terminal. (Wei Zhang)
24148Solution: Make :popup work in the terminal. Also fix that entries were
24149 included that don't work in the current state.
24150Files: src/ex_docmd.c, src/popupmnu.c, src/proto/popupmnu.pro,
24151 src/menu.c, src/proto/menu.pro
24152
24153Patch 8.0.1571 (after 8.0.1571)
24154Problem: Can't build without GUI.
24155Solution: Adjust #ifdef for gui_find_menu().
24156Files: src/menu.c
24157
24158Patch 8.0.1572
24159Problem: Mac: getting memory size doesn't work everywhere.
24160Solution: Use MACOS_X instead of MACOS_X_DARWIN. (Kazunobu Kuriyama)
24161Files: src/os_unix.c
24162
24163Patch 8.0.1573
24164Problem: getwinpos(1) may cause response to be handled as command.
24165Solution: Handle any cursor position report once one was request. (partly by
24166 Hirohito Higashi)
24167Files: src/term.c
24168
24169Patch 8.0.1574
24170Problem: Show cursor in wrong place when using popup menu. (Wei Zhang)
24171Solution: Force updating the cursor position. Fix skipping over unused
24172 entries.
24173Files: src/screen.c, src/proto/screen.pro, src/popupmnu.c
24174
24175Patch 8.0.1575
24176Problem: Crash when using virtual replace.
24177Solution: Adjust orig_line_count. Add more tests. (Christian Brabandt)
24178Files: src/edit.c, src/testdir/test_visual.vim
24179
24180Patch 8.0.1576
24181Problem: Perl VIM::Buffers() does not find every buffer.
24182Solution: Also find unlisted buffer by number or name. (Chris Weyl,
24183 closes #2692)
24184Files: src/if_perl.xs
24185
24186Patch 8.0.1577
24187Problem: Virtual replace test fails on MS-Windows.
24188Solution: Make adding a termcap entry work for a builtin terminal.
24189 Restore terminal keys in a better way.
24190Files: src/term.c, src/testdir/test_visual.vim
24191
24192Patch 8.0.1578
24193Problem: No test for :popup in terminal.
24194Solution: Add a screen dump test.
24195Files: src/testdir/test_popup.vim,
24196 src/testdir/dumps/Test_popup_command_01.dump,
24197 src/testdir/dumps/Test_popup_command_02.dump,
24198 src/testdir/dumps/Test_popup_command_03.dump
24199
24200Patch 8.0.1579
24201Problem: Virtual replace test fails in GUI.
24202Solution: Don't save key options if they were not set.
24203Files: src/testdir/test_visual.vim
24204
24205Patch 8.0.1580
24206Problem: FEAT_CURSORBIND and FEAT_SCROLLBIND are unused.
24207Solution: Delete them.
24208Files: src/feature.h
24209
24210Patch 8.0.1581
24211Problem: Cannot build Win32 GUI without +eval.
24212Solution: Define HAVE_INPUT_METHOD without +eval. (Ken Takata)
24213Files: src/vim.h
24214
24215Patch 8.0.1582
24216Problem: In the MS-Windows console mouse movement is not used.
24217Solution: Pass mouse movement events when useful.
24218Files: src/os_win32.c, src/proto/os_win32.pro, src/feature.h
24219
24220Patch 8.0.1583
24221Problem: Using C99 comment.
24222Solution: Use old style comment. (Kazunobu Kuriyama)
24223Files: src/quickfix.c
24224
24225Patch 8.0.1584
24226Problem: Using C99 in Mac file gives compiler warning messages.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024227Solution: Add #pragmas to avoid the warnings. (Kazunobu Kuriyama)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024228Files: src/os_macosx.m
24229
24230Patch 8.0.1585
24231Problem: Enabling beval_term feature in Win32 GUI.
24232Solution: Only enable beval_term in Win32 console.
24233Files: src/feature.h
24234
24235Patch 8.0.1586
24236Problem: Imactivatefunc does not work on non-GUI Mac.
24237Solution: Fix logic in #ifdef.
24238Files: src/vim.h
24239
24240Patch 8.0.1587
24241Problem: inserting from the clipboard doesn't work literally
24242Solution: When pasting from the * or + register always assume literally.
24243Files: src/ops.c, src/proto/ops.pro, src/testdir/test_paste.vim
24244
24245Patch 8.0.1588
24246Problem: Popup menu hangs after typing CTRL-C.
24247Solution: Make CTRL-C exit the loop. (Ozaki Kiichi, closes #2697)
24248Files: src/popupmnu.c
24249
24250Patch 8.0.1589
24251Problem: Error for setting 'modifiable' when resetting it.
24252Solution: Check if 'modifiable' was actually set.
24253Files: src/option.c
24254
24255Patch 8.0.1590
24256Problem: Padding in list type wastes memory.
24257Solution: Reorder struct members to optimize padding. (Dominique Pelle,
24258 closes #2704)
24259Files: src/structs.h
24260
24261Patch 8.0.1591
24262Problem: MS-Windows: when reparsing the arguments 'wildignore' matters.
24263Solution: Save and reset 'wildignore'. (Yasuhiro Matsumoto, closes #2702)
24264Files: src/os_win32.c
24265
24266Patch 8.0.1592
24267Problem: Terminal windows in a session are not properly restored.
24268Solution: Add "terminal" in 'sessionoptions'. When possible restore the
24269 command running in a terminal.
24270Files: src/option.c, src/option.h, src/ex_docmd.c, src/terminal.c,
24271 src/proto/terminal.pro, src/evalfunc.c, src/structs.h,
24272 src/channel.c, src/testdir/test_terminal.vim,
24273 src/testdir/shared.vim, src/testdir/test_mksession.vim
24274
24275Patch 8.0.1593
24276Problem: :qall never exits with an active terminal window.
24277Solution: Add a way to kill a job in a terminal window.
24278Files: src/ex_cmds2.c, src/terminal.c, src/proto/terminal.pro,
24279 src/structs.h, src/channel.c, src/evalfunc.c,
24280 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
24281 runtime/doc/eval.txt
24282
24283Patch 8.0.1594
24284Problem: :confirm qall not tested with active terminal window.
24285Solution: Add a test.
24286Files: src/testdir/test_terminal.vim
24287
24288Patch 8.0.1595
24289Problem: No autocommand triggered before exiting.
24290Solution: Add the ExitPre autocommand event.
24291Files: src/ex_docmd.c, src/fileio.c, src/vim.h,
24292 src/testdir/test_exit.vim, src/Makefile, src/testdir/Make_all.mak,
24293 runtime/doc/autocmd.txt
24294
24295Patch 8.0.1596
24296Problem: No autocommand specifically for opening a terminal window.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024297Solution: Add TerminalOpen. (Yasuhiro Matsumoto, closes #2484)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024298Files: runtime/doc/autocmd.txt, src/fileio.c, src/terminal.c,
24299 src/testdir/test_terminal.vim, src/vim.h
24300
24301Patch 8.0.1597
24302Problem: Autocommand events are not sorted.
24303Solution: Sort the autocommand events.
24304Files: src/vim.h
24305
24306Patch 8.0.1598
24307Problem: Cannot select text in a terminal with the mouse.
24308Solution: When a job in a terminal is not consuming mouse events, use them
24309 for modeless selection. Also stop Insert mode when clicking in a
24310 terminal window.
24311Files: src/libvterm/include/vterm.h, src/libvterm/src/state.c,
24312 src/libvterm/src/vterm_internal.h, src/terminal.c,
24313 src/proto/terminal.pro, src/ui.c
24314
24315Patch 8.0.1599
24316Problem: No error message when gdb does not support the terminal debugger.
24317Solution: Check for the response to open the Machine Interface.
24318Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
24319
24320Patch 8.0.1600
24321Problem: Crash when setting t_Co to zero when 'termguicolors' is set.
24322Solution: Use IS_CTERM instead of checking the number of colors.
24323 (closes #2710)
24324Files: src/screen.c, src/testdir/test_highlight.vim
24325
24326Patch 8.0.1601
24327Problem: Highlight test fails on Win32.
24328Solution: Check for vtp and vcon support.
24329Files: src/evalfunc.c, src/testdir/test_highlight.vim
24330
24331Patch 8.0.1602
24332Problem: Crash in parsing JSON.
24333Solution: Fail when using array or dict as dict key. (Damien)
24334Files: src/json.c, src/testdir/test_json.vim
24335
24336Patch 8.0.1603
24337Problem: Cannot build with +terminal but without +menu.
24338Solution: Add #ifdef. (Damien)
24339Files: src/terminal.c
24340
24341Patch 8.0.1604
24342Problem: Paste test may fail if $DISPLAY is not set.
24343Solution: Add WorkingClipboard() and use it in the paste test.
24344Files: src/testdir/shared.vim, src/testdir/test_paste.vim
24345
24346Patch 8.0.1605
24347Problem: Terminal test is a bit flaky.
24348Solution: Check for the shell prompt. Use more lambda functions.
24349Files: src/testdir/test_terminal.vim
24350
24351Patch 8.0.1606
24352Problem: Singular/plural variants not translated.
24353Solution: Add NGETTEXT argument to xgettext. (Sergey Alyoshin)
24354Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
24355 src/po/Makefile
24356
24357Patch 8.0.1607
24358Problem: --clean loads user settings from .gvimrc.
24359Solution: Behave like "-U NONE" was used. (Ken Takata)
24360Files: src/main.c, runtime/doc/starting.txt
24361
24362Patch 8.0.1608
24363Problem: Win32: directx not enabled by default.
24364Solution: Change Makefile to enable directx by default. (Ken Takata)
24365Files: runtime/doc/various.txt, src/Make_cyg_ming.mak,
24366 src/Make_mvc.mak
24367
24368Patch 8.0.1609
24369Problem: Shell commands in the GUI use a dumb terminal.
24370Solution: Add the "!" flag to 'guioptions' to execute system commands in a
24371 special terminal window. Only for Unix now.
24372Files: src/os_unix.c, src/option.h, src/evalfunc.c, src/terminal.c,
24373 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro,
24374 src/vim.h, runtime/doc/options.txt
24375
24376Patch 8.0.1610 (after 8.0.1609)
24377Problem: Cannot build without GUI.
24378Solution: Add #ifdef.
24379Files: src/terminal.c
24380
24381Patch 8.0.1611
24382Problem: CTRL-W in system terminal does not go to job.
24383Solution: Do not use CTRL-W as a terminal command in a system terminal.
24384Files: src/terminal.c
24385
24386Patch 8.0.1612
24387Problem: Need to close terminal after shell stopped.
24388Solution: Make :terminal without argument close the window by default.
24389Files: src/terminal.c, src/testdir/test_terminal.vim,
24390 runtime/doc/terminal.txt
24391
24392Patch 8.0.1613
24393Problem: Warning for unused variable in tiny build. (Tony Mechelynck)
24394Solution: Move declaration to inner block.
24395Files: src/os_unix.c
24396
24397Patch 8.0.1614
24398Problem: "make tags" doesn't include libvterm.
24399Solution: Add the libvterm sources to the tags command.
24400Files: src/Makefile
24401
24402Patch 8.0.1615
24403Problem: term_dumpload() does not use the right colors.
24404Solution: Initialize colors when not using create_vterm().
24405Files: src/terminal.c
24406
24407Patch 8.0.1616
24408Problem: Win32: shell commands in the GUI open a new console.
24409Solution: Use a terminal window for interactive use when 'guioptions'
24410 contains "!".
24411Files: src/os_win32.c
24412
24413Patch 8.0.1617 (after 8.0.1616)
24414Problem: Win32: :shell command in the GUI crashes.
24415Solution: Handle the situation that "cmd" is NULL. (Yasuhiro Matsumoto,
24416 closes #2721)
24417Files: src/os_win32.c
24418
24419Patch 8.0.1618
24420Problem: Color Grey50, used for ToolbarLine, is missing in the compiled-in
24421 table.
24422Solution: Add the color to the list. (Kazunobu Kuriyama)
24423Files: src/term.c
24424
24425Patch 8.0.1619
24426Problem: Win32 GUI: crash when winpty is not installed and trying to use
24427 :shell in a terminal window.
24428Solution: Check for NULL return form term_start(). (Yasuhiro Matsumoto,
24429 closes #2727)
24430Files: src/os_win32.c
24431
24432Patch 8.0.1620
24433Problem: Reading spell file has no good EOF detection.
24434Solution: Check for EOF at every character read for a length field.
24435Files: src/misc2.c
24436
24437Patch 8.0.1621
24438Problem: Using invalid default value for highlight attribute.
24439Solution: Use zero instead of -1.
24440Files: src/syntax.c
24441
24442Patch 8.0.1622
24443Problem: Possible NULL pointer dereferencey. (Coverity)
24444Solution: Reverse the check for a NULL pointer.
24445Files: src/quickfix.c
24446
24447Patch 8.0.1623
24448Problem: Terminal kill tests are flaky.
24449Solution: Instead of running Vim in a terminal, run it as a normal command.
24450Files: src/testdir/test_terminal.vim
24451
24452Patch 8.0.1624
24453Problem: Options for term_dumpdiff() and term_dumpload() not implemented
24454 yet.
24455Solution: Implement the relevant options.
24456Files: src/terminal.c, runtime/doc/eval.txt
24457
24458Patch 8.0.1625
24459Problem: Test_quotestar is flaky when run in GTK GUI.
24460Solution: Do not call lose_selection when invoked from
24461 selection_clear_event().
24462Files: src/gui_gtk_x11.c
24463
24464Patch 8.0.1626
24465Problem: Compiler warning for possible loss of data.
24466Solution: Use size_t instead of int. (Christian Brabandt)
24467Files: src/terminal.c
24468
24469Patch 8.0.1627
24470Problem: Compiler warning for visibility attribute not supported on MinGW
24471 builds.
24472Solution: Don't add the attribute when we don't expect it to work.
24473 (Christian Brabandt)
24474Files: src/libvterm/src/vterm_internal.h
24475
24476Patch 8.0.1628
24477Problem: Channel log doesn't mention exiting.
24478Solution: Add a ch_log() call in getout().
24479Files: src/main.c
24480
24481Patch 8.0.1629
24482Problem: Mac: getpagesize() is deprecated.
24483Solution: Use sysconf() instead. (Ozaki Kiichi, closes #2741)
24484Files: src/os_unix.c
24485
24486Patch 8.0.1630
24487Problem: Trimming white space is not that easy.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024488Solution: Add the trim() function. (Bukn, Yasuhiro Matsumoto, closes #1280)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024489Files: src/evalfunc.c, runtime/doc/eval.txt,
24490 src/testdir/test_functions.vim
24491
24492Patch 8.0.1631
24493Problem: Testing with Vim running in terminal is a bit flaky.
24494Solution: Delete any .swp file so that later tests don't fail.
24495Files: src/testdir/screendump.vim
24496
24497Patch 8.0.1632
24498Problem: In a terminal dump NUL and space considered are different,
24499 although they are displayed the same.
24500Solution: When encountering NUL handle it like space.
24501Files: src/terminal.c
24502
24503Patch 8.0.1633
24504Problem: A TextChanged autocmd triggers when it is defined after creating a
24505 buffer.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024506Solution: Set b_last_changedtick when opening a buffer. (Hirohito Higashi,
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024507 closes #2742)
24508Files: src/buffer.c, src/testdir/test_autocmd.vim
24509
24510Patch 8.0.1634
24511Problem: The ex_vimgrep() function is too long.
24512Solution: Split it in smaller functions. (Yegappan Lakshmanan)
24513Files: src/quickfix.c
24514
24515Patch 8.0.1635
24516Problem: Undefining _POSIX_THREADS causes problems with Python 3. (Micah
24517 Bucy, closes #2748)
24518Solution: Remove the lines.
24519Files: src/if_python3.c
24520
24521Patch 8.0.1636
24522Problem: No test for term_dumpload() and term_dumpdiff().
24523Solution: Add tests.
24524Files: src/testdir/test_terminal.vim
24525
24526Patch 8.0.1637
24527Problem: No test for term_dumpdiff() options argument.
24528Solution: Add a test.
24529Files: src/testdir/test_terminal.vim
24530
24531Patch 8.0.1638
24532Problem: Popup test fails depending on environment variable.
24533Solution: Reset $COLORFGBG when running Vim in a terminal. (closes #2693)
24534Files: src/testdir/screendump.vim
24535
24536Patch 8.0.1639
24537Problem: Libvterm code lags behind master.
24538Solution: Sync to head, solve merge problems.
24539Files: src/libvterm/README, src/libvterm/bin/unterm.c,
24540 src/libvterm/bin/vterm-ctrl.c, src/libvterm/bin/vterm-dump.c,
24541 src/libvterm/doc/URLs, src/libvterm/doc/seqs.txt,
24542 src/libvterm/include/vterm.h,
24543 src/libvterm/include/vterm_keycodes.h, src/libvterm/src/mouse.c,
24544 src/libvterm/src/parser.c, src/libvterm/src/pen.c,
24545 src/libvterm/src/screen.c, src/libvterm/src/state.c,
24546 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
24547 src/libvterm/t/10state_putglyph.test,
24548 src/libvterm/t/25state_input.test, src/libvterm/t/harness.c,
24549 src/libvterm/t/26state_query.test
24550
24551Patch 8.0.1640
24552Problem: Test_cwd() is flaky.
24553Solution: Add to list of flaky tests.
24554Files: src/testdir/runtest.vim
24555
24556Patch 8.0.1641
24557Problem: Job in terminal can't communicate with Vim.
24558Solution: Add the terminal API.
24559Files: src/terminal.c, src/buffer.c, src/testdir/test_terminal.vim,
24560 src/testdir/screendump.vim, runtime/doc/terminal.txt
24561
24562Patch 8.0.1642
24563Problem: Running Vim in terminal fails with two windows.
24564Solution: Pass the number of rows to RunVimInTerminal().
24565Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim
24566
24567Patch 8.0.1643
24568Problem: Terminal API tests fail.
24569Solution: Explicitly set 'title'.
24570Files: src/testdir/test_terminal.vim
24571
24572Patch 8.0.1644
24573Problem: Terminal API tests still fail.
24574Solution: Explicitly set 'title' in the terminal job. (Ozaki Kiichi,
24575 closes #2750)
24576Files: src/testdir/test_terminal.vim, src/testdir/screendump.vim
24577
24578Patch 8.0.1645
24579Problem: Test for terminal response to escape sequence fails for some
24580 people. (toothpik)
24581Solution: Run "cat" and let it echo the characters.
24582Files: src/testdir/test_terminal.vim
24583
24584Patch 8.0.1646
24585Problem: MS-Windows: executable contains unreferenced functions and data.
24586Solution: Add /opt:ref to the compiler command. (Ken Takata)
24587Files: src/Make_mvc.mak
24588
24589Patch 8.0.1647
24590Problem: Terminal API may call a function not meant to be called by this
24591 API.
24592Solution: Require the function to start with Tapi_.
24593Files: runtime/doc/terminal.txt, src/terminal.c,
24594 src/testdir/test_terminal.vim
24595
24596Patch 8.0.1648
24597Problem: Resource fork tool doesn't work on Python 3.
24598Solution: Use "print()" instead of "print". (Marius Gedminas)
24599Files: src/dehqx.py
24600
24601Patch 8.0.1649
24602Problem: No completion for argument list commands.
24603Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706)
24604Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_cmds2.c,
24605 src/ex_docmd.c, src/ex_getln.c, src/proto/ex_cmds2.pro,
24606 src/testdir/test_cmdline.vim, src/vim.h
24607
24608Patch 8.0.1650
24609Problem: Too many #ifdefs.
24610Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
24611Files: runtime/doc/various.txt, src/buffer.c, src/charset.c,
24612 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
24613 src/version.c, src/feature.h
24614
24615Patch 8.0.1651
24616Problem: Cannot filter :ls output for terminal buffers.
24617Solution: Add flags for terminal buffers. (Marcin Szamotulski, closes #2751)
24618Files: runtime/doc/windows.txt, src/buffer.c,
24619 src/testdir/test_terminal.vim
24620
24621Patch 8.0.1652
24622Problem: term_dumpwrite() does not output composing characters.
24623Solution: Use the cell index.
24624Files: src/terminal.c, src/testdir/test_terminal.vim
24625
24626Patch 8.0.1653
24627Problem: Screen dump is made too soon.
24628Solution: Wait until the ruler is displayed. (Ozaki Kiichi, closes #2755)
24629Files: src/testdir/dumps/Test_popup_command_01.dump,
24630 src/testdir/dumps/Test_popup_command_02.dump,
24631 src/testdir/screendump.vim, src/testdir/test_autocmd.vim,
24632 src/testdir/test_terminal.vim
24633
24634Patch 8.0.1654
24635Problem: Warnings for conversion of void to function pointer.
24636Solution: Use a temp variable that is a function pointer.
24637Files: src/if_python.c, src/if_python3.c
24638
24639Patch 8.0.1655
24640Problem: Outdated gdb message in terminal debugger unclear.
24641Solution: Specifically mention the required gdb version. Avoid getting
24642 stuck on pagination.
24643Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
24644
24645Patch 8.0.1656
24646Problem: No option to have xxd produce upper case variable names.
24647Solution: Add the -C argument. (Matt Panaro closes #2772)
24648Files: src/xxd/xxd.c
24649
24650Patch 8.0.1657
24651Problem: Crash when reading a channel.
24652Solution: Clear the write flag before writing. (idea by Shinya Ohyanagi,
24653 closes #2769).
24654Files: src/channel.c
24655
24656Patch 8.0.1658
24657Problem: Capitalize argument not available in long form.
24658Solution: Recognize -capitalize. Update man page.
24659Files: src/xxd/xxd.c, runtime/doc/xxd.1, runtime/doc/xxd.man
24660
24661Patch 8.0.1659
24662Problem: Scroll events not recognized for some xterm emulators.
24663Solution: Recognize mouse codes 0x40 and 0x41 as scroll events.
24664Files: src/term.c
24665
24666Patch 8.0.1660
24667Problem: The terminal API "drop" command doesn't support options.
24668Solution: Implement the options.
24669Files: src/terminal.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
24670 src/ex_cmds.h, src/eval.c, src/misc2.c, src/fileio.c,
24671 src/testdir/test_terminal.vim, runtime/doc/terminal.txt
24672
24673Patch 8.0.1661
24674Problem: Warnings from 64 bit compiler.
24675Solution: Add type casts. (Mike Williams)
24676Files: src/terminal.c
24677
24678Patch 8.0.1662
24679Problem: Showing dump diff doesn't mention both file names.
24680Solution: Add the file name in the separator line.
24681Files: src/terminal.c
24682
24683Patch 8.0.1663 (after 8.0.1660)
24684Problem: Cannot build without multi-byte feature.
24685Solution: Add #ifdef.
24686Files: src/ex_docmd.c
24687
24688Patch 8.0.1664
24689Problem: Test failure because of not allocating enough space.
24690Solution: Allocate more bytes.
24691Files: src/terminal.c
24692
24693Patch 8.0.1665
24694Problem: When running a terminal from the GUI 'term' is not useful.
24695Solution: Use $TERM in the GUI if it starts with "xterm". (closes #2776)
24696Files: src/os_unix.c, runtime/doc/terminal.txt
24697
24698Patch 8.0.1666
24699Problem: % argument in ch_log() causes trouble.
24700Solution: Use string as third argument in internal ch_log(). (Dominique
24701 Pelle, closes #2784)
24702Files: src/evalfunc.c, src/testdir/test_channel.vim
24703
24704Patch 8.0.1667
24705Problem: Terminal window tests are flaky.
24706Solution: Increase the waiting time for Vim to start.
24707Files: src/testdir/screendump.vim
24708
24709Patch 8.0.1668
24710Problem: Terminal debugger: can't re-open source code window.
24711Solution: Add the :Source command. Also create the window if needed when
24712 gdb stops at a source line.
24713Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
24714 runtime/doc/terminal.txt
24715
24716Patch 8.0.1669
24717Problem: :vimgrep may add entries to the wrong quickfix list.
24718Solution: Use the list identifier. (Yegappan Lakshmanan)
24719Files: src/quickfix.c, src/testdir/test_quickfix.vim
24720
24721Patch 8.0.1670
24722Problem: Terminal window tests are still a bit flaky.
24723Solution: Increase the waiting time for the buffer to be created.
24724Files: src/testdir/test_terminal.vim
24725
24726Patch 8.0.1671
24727Problem: Crash when passing non-dict argument as env to job_start().
24728Solution: Check for valid argument. (Ozaki Kiichi, closes #2765)
24729Files: src/channel.c, src/testdir/test_channel.vim
24730
24731Patch 8.0.1672
24732Problem: Error during completion causes command to be cancelled.
24733Solution: Reset did_emsg before waiting for another character. (Tom M.)
24734Files: src/ex_getln.c, src/testdir/test_cmdline.vim
24735
24736Patch 8.0.1673
24737Problem: Terminal window tests are still a bit flaky.
24738Solution: Increase the waiting time even more. (Elimar Riesebieter)
24739Files: src/testdir/test_terminal.vim
24740
24741Patch 8.0.1674
24742Problem: Libvterm can't handle a long OSC string that is split.
24743Solution: When an incomplete OSC string is received copy it to the parser
24744 buffer. Increase the size of the parser buffer to be able to
24745 handle longer strings.
24746Files: src/libvterm/src/parser.c, src/libvterm/src/vterm.c
24747
24748Patch 8.0.1675
24749Problem: Unused macro argument in libvterm. (Randall W. Morris)
24750Solution: Remove the argument.
24751Files: src/libvterm/src/parser.c
24752
24753Patch 8.0.1676
24754Problem: No compiler warning for wrong printf format.
24755Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique
24756 Pelle, closes #2789)
24757Files: src/channel.c, src/vim.h, src/proto/channel.pro
24758
24759Patch 8.0.1677
24760Problem: No compiler warning for wrong format in vim_snprintf().
24761Solution: Add printf attribute for gcc. Fix reported problems.
24762Files: src/vim.h, src/proto.h, src/eval.c, src/fileio.c, src/mbyte.c,
24763 src/ops.c, src/spellfile.c, src/undo.c, src/json.c
24764
24765Patch 8.0.1678
24766Problem: Errorformat "%r" implies "%>". (Jan Gosmann)
24767Solution: Jump to before setting fmt_ptr. (Yegappan Lakshmanan,
24768 closes #2785)
24769Files: src/quickfix.c, src/testdir/test_quickfix.vim
24770
24771Patch 8.0.1679
24772Problem: Compiler warning for printf format. (Chdiza)
24773Solution: Change type to "long long". (closes #2791)
24774Files: src/ops.c
24775
24776Patch 8.0.1680
24777Problem: Memory allocated by libvterm does not show up in profile.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024778Solution: Pass allocator functions to vterm_new().
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024779Files: src/terminal.c
24780
24781Patch 8.0.1681
24782Problem: The format attribute fails with MinGW. (John Marriott)
24783Solution: Don't use the format attribute with MinGW.
24784Files: src/vim.h, src/proto.h, src/channel.c
24785
24786Patch 8.0.1682
24787Problem: Auto indenting breaks inserting a block.
24788Solution: Do not check for cursor movement if indent was changed. (Christian
24789 Brabandt, closes #2778)
24790Files: src/testdir/test_blockedit.vim, src/testdir/Make_all.mak,
24791 src/Makefile, src/ops.c
24792
24793Patch 8.0.1683
24794Problem: Python upgrade breaks Vim when defining PYTHON_HOME.
24795Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure. (Naoki
24796 Inada, closes #2787)
24797Files: src/configure.ac, src/auto/configure
24798
24799Patch 8.0.1684
24800Problem: ml_get errors when using terminal window for shell command.
24801 (Blay263)
24802Solution: Do not change the size of the current window.
24803Files: src/terminal.c
24804
24805Patch 8.0.1685
24806Problem: Can't set ANSI colors of a terminal window.
24807Solution: Add term_setansicolors(), term_getansicolors() and
24808 g:term_ansi_colors. (Andy Massimino, closes #2747)
24809Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c,
24810 src/evalfunc.c, src/proto/terminal.pro, src/structs.h,
24811 src/terminal.c, src/testdir/test_terminal.vim
24812
24813Patch 8.0.1686 (after 8.0.1683)
24814Problem: Python does not work when configuring with specific dir. (Rajdeep)
24815Solution: Do define PYTHON_HOME and PYTHON3_HOME in configure if the Python
24816 config dir was specified.
24817Files: src/configure.ac, src/auto/configure
24818
24819Patch 8.0.1687
24820Problem: 64 bit compiler warnings.
24821Solution: change type, add type cast. (Mike Williams)
24822Files: src/terminal.c
24823
24824Patch 8.0.1688
24825Problem: Some macros are used without a semicolon, causing auto-indent to be
24826 wrong.
24827Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729)
24828Files: src/buffer.c, src/dosinst.c, src/ex_cmds.c, src/gui_at_sb.c,
24829 src/macros.h, src/main.c, src/memline.c, src/option.c,
24830 src/os_vms.c, src/screen.c, src/window.c
24831
24832Patch 8.0.1689
24833Problem: No tests for xxd.
24834Solution: Add a test. (Christian Brabandt)
24835Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile,
24836 src/testdir/test_xxd.vim, src/testdir/runtest.vim
24837
24838Patch 8.0.1690
24839Problem: Not easy to run one test with gvim instead of vim.
24840Solution: Add VIMTESTTARGET in Makefile.
24841Files: src/Makefile
24842
24843Patch 8.0.1691
24844Problem: Xxd test sometimes fails.
24845Solution: Wipe out the XXDfile buffer.
24846Files: src/testdir/test_xxd.vim
24847
24848Patch 8.0.1692 (after 8.0.1686)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024849Problem: Python may not work when using statically linked library.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024850Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure if the
24851 Python library is linked statically.
24852Files: src/configure.ac, src/auto/configure
24853
24854Patch 8.0.1693
24855Problem: Xxd is excluded from coverage statistics.
24856Solution: Don't skip the xxd directory. (Christian Brabandt)
24857Files: .travis.yml
24858
24859Patch 8.0.1694
24860Problem: Terminal API test is a bit flaky.
24861Solution: Wait longer for Vim to stop.
24862Files: src/testdir/screendump.vim
24863
24864Patch 8.0.1695
24865Problem: Xxd test not run on MS-Windows.
24866Solution: Use xxd.exe if it exists.
24867Files: src/testdir/test_xxd.vim
24868
24869Patch 8.0.1696
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024870Problem: Coverage statistics don't work.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024871Solution: Include the xxd directory. (Christian Brabandt)
24872Files: .travis.yml
24873
24874Patch 8.0.1697
24875Problem: Various tests are still a bit flaky.
24876Solution: Increase the default wait time to five seconds.
24877Files: src/testdir/shared.vim, src/testdir/screendump.vim,
24878 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
24879 src/testdir/test_quotestar.vim, src/testdir/test_terminal.vim
24880
24881Patch 8.0.1698
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024882Problem: Coverage statistics don't work on coveralls.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024883Solution: Use curly braces for $SRCDIR.
24884Files: .travis.yml
24885
24886Patch 8.0.1699
24887Problem: Leftover stuff for Python 1.4.
24888Solution: Remove outdated Python 1.4 stuff. (Naoki Inada, closes #2794)
24889Files: src/Makefile, src/config.aap.in, src/config.mk.in,
24890 src/configure.ac, src/auto/configure
24891
24892Patch 8.0.1700
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024893Problem: Coverage statistics still don't work on coveralls.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024894Solution: Exclude the xxd directory again.
24895Files: .travis.yml
24896
24897Patch 8.0.1701
24898Problem: Can disable COLOR_EMOJI with MSVC but not MinGW.
24899Solution: Add COLOR_EMOJI flag. Also add some empty lines for readability.
24900Files: src/Make_cyg_ming.mak
24901
24902Patch 8.0.1702
24903Problem: Leaking memory when autocommands make a quickfix list invalid.
24904Solution: Call FreeWild(). (Yegappan Lakshmanan)
24905Files: src/quickfix.c
24906
24907Patch 8.0.1703
24908Problem: In the tutor 'showcmd' is not set.
24909Solution: Set 'showcmd' in the vimtutor script. (Ken Takata, closes #2792)
24910Files: src/vimtutor
24911
24912Patch 8.0.1704
24913Problem: 'backupskip' default doesn't work for Mac.
24914Solution: Use "/private/tmp". (Rainer Müller, closes #2793)
24915Files: src/option.c, src/testdir/test_options.vim,
24916 runtime/doc/options.txt
24917
24918Patch 8.0.1705
24919Problem: When making a vertical split the mode message isn't always
24920 updated, "VISUAL" remains. (Alexei Averchenko)
24921Solution: Only reset clear_cmdline when filling all columns of the last
24922 screen line. (Tom M. closes #2611)
24923Files: src/screen.c, src/testdir/test_window_cmd.vim
24924
24925Patch 8.0.1706
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024926Problem: Cannot send CTRL-\ to a terminal window.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024927Solution: Make CTRL-W CTRL-\ send CTRL-\ to a terminal window.
24928Files: src/terminal.c, runtime/doc/terminal.txt
24929
24930Patch 8.0.1707
24931Problem: When 'wfh' is set ":bel 10new" scrolls window. (Andrew Pyatkov)
24932Solution: Set the fraction before changing the window height. (closes #2798)
24933Files: src/window.c
24934
24935Patch 8.0.1708
24936Problem: Mkdir with 'p' flag fails on existing directory, which is
24937 different from the mkdir shell command.
24938Solution: Don't fail if the directory already exists. (James McCoy,
24939 closes #2775)
24940Files: src/evalfunc.c, src/testdir/test_eval_stuff.vim,
24941 runtime/doc/eval.txt
24942
24943Patch 8.0.1709
24944Problem: Some non-C89 code may slip through.
24945Solution: Enforce C89 in configure. Fix detected problems. (James McCoy,
24946 closes #2735)
24947Files: src/channel.c, src/configure.ac, src/auto/configure,
24948 src/gui_gtk_x11.c, src/if_python3.c
24949
24950Patch 8.0.1710
24951Problem: Building with Ruby fails.
24952Solution: Don't add -ansi when building with Ruby.
24953Files: src/configure.ac, src/auto/configure
24954
24955Patch 8.0.1711
24956Problem: Term_setsize() is not implemented yet.
24957Solution: Implement it.
24958Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro,
24959 src/testdir/test_terminal.vim, runtime/doc/eval.txt
24960
24961Patch 8.0.1712
24962Problem: Terminal scrollback is not limited.
24963Solution: Add the 'terminalscroll' option.
24964Files: src/terminal.c, src/option.h, src/option.c,
24965 runtime/doc/options.txt, runtime/doc/terminal.txt
24966
24967Patch 8.0.1713
24968Problem: Terminal debugger doesn't handle arguments.
24969Solution: Use <f-args> and pass all the arguments to gdb, e.g. the core file
24970 or process number. (suggested by Christian Brabandt) Disallow
24971 starting the debugger twice.
24972Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
24973 runtime/doc/terminal.txt
24974
24975Patch 8.0.1714
24976Problem: Term_setsize() does not give an error in a normal buffer.
24977Solution: Add an error message.
24978Files: src/terminal.c, src/testdir/test_terminal.vim
24979
24980Patch 8.0.1715
24981Problem: Terminal buffer can be 1 more than 'terminalscroll' lines.
24982Solution: Change > to >=.
24983Files: src/terminal.c
24984
24985Patch 8.0.1716
24986Problem: Test for term_setsize() does not give a good error message.
24987Solution: use assert_inrange().
24988Files: src/testdir/test_terminal.vim
24989
24990Patch 8.0.1717
24991Problem: C89 check causes too much trouble.
24992Solution: Remove enforcing C89 for now.
24993Files: src/configure.ac, src/auto/configure
24994
24995Patch 8.0.1718
24996Problem: Terminal scrollback test fails on MS-Windows.
24997Solution: Check for the last line of output anticipating there might be an
24998 empty line below it.
24999Files: src/testdir/test_terminal.vim
25000
25001Patch 8.0.1719
25002Problem: Cannot specify which Python executable configure should use.
25003Solution: Add --with-python-command and --with-python3-command.
25004Files: src/configure.ac, src/auto/configure
25005
25006Patch 8.0.1720
25007Problem: When a timer is running a terminal window may not close after a
25008 shell has exited.
25009Solution: Call job_status() more often.
25010Files: src/terminal.c
25011
25012Patch 8.0.1721
25013Problem: No test for using the 'termsize' option.
25014Solution: Add a test.
25015Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim
25016
25017Patch 8.0.1722
25018Problem: Cannot specify a minimal size for a terminal window.
25019Solution: Support the "rows*cols" format for 'winsize'.
25020Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c,
25021 runtime/doc/options.txt
25022
25023Patch 8.0.1723
25024Problem: Using one item array size declaration is misleading.
25025Solution: Instead of using "[1]" and actually using a larger array, use
25026 "[]". This is to verify that this C99 feature works for all
25027 compilers.
25028Files: src/structs.h, src/getchar.c
25029
25030Patch 8.0.1724
25031Problem: Declarations cannot be halfway a block.
25032Solution: Move one declaration to check if this works for all compilers.
25033Files: src/main.c
25034
25035Patch 8.0.1725
25036Problem: Terminal debugger doesn't handle command arguments.
25037Solution: Add the :TermdebugCommand command. Use a ! to execute right away.
25038 (Christian Brabandt)
25039Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
25040 runtime/doc/terminal.txt
25041
25042Patch 8.0.1726 (after 8.0.1724)
25043Problem: Older MSVC doesn't support declarations halfway a block.
25044Solution: Move the declaration back to the start of the block.
25045Files: src/main.c
25046
25047Patch 8.0.1727
25048Problem: qf_get_properties() function is too long.
25049Solution: Refactor the code. (Yegappan Lakshmanan, closes #2807)
25050Files: src/quickfix.c
25051
25052Patch 8.0.1728
25053Problem: Condition always false, useless code.
25054Solution: Remove the code. (Nikolai Pavlov, closes #2808)
25055Files: src/message.c
25056
25057Patch 8.0.1729
25058Problem: No comma after last enum item.
25059Solution: Add a few commas to check if this works for all compilers. Also
25060 add a few // comments.
25061Files: src/structs.h
25062
25063Patch 8.0.1730
25064Problem: No configure check for the used C99 features.
25065Solution: Add a compilation check. Tentatively document C99 features.
25066Files: src/configure.ac, src/auto/configure, runtime/doc/develop.txt
25067
25068Patch 8.0.1731
25069Problem: Characters deleted on completion. (Adrià Farrés)
25070Solution: Also check the last item for the ORIGINAL_TEXT flag. (Christian
25071 Brabandt, closes #1645)
25072Files: src/edit.c, src/testdir/test_popup.vim
25073
25074Patch 8.0.1732
25075Problem: Crash when terminal API call deletes the buffer.
25076Solution: Lock the buffer while calling a function. (closes #2813)
25077Files: src/buffer.c, src/terminal.c, src/testdir/test_terminal.vim,
25078 src/testdir/test_autocmd.vim
25079
25080Patch 8.0.1733
25081Problem: Incomplete testing for completion fix. (Lifepillar)
25082Solution: Add a test with CTRL-P.
25083Files: src/testdir/test_popup.vim
25084
25085Patch 8.0.1734
25086Problem: Package directory not added to 'rtp' if prefix matches.
25087Solution: Check the match is a full match. (Ozaki Kiichi, closes #2817)
25088 Also handle different ways of spelling a path.
25089Files: src/testdir/test_packadd.vim, src/ex_cmds2.c
25090
25091Patch 8.0.1735 (after 8.0.1723 and 8.0.1730)
25092Problem: Flexible array member feature not supported by HP-UX. (John
25093 Marriott)
25094Solution: Do not use the flexible array member feature of C99.
25095Files: src/configure.ac, src/auto/configure, src/structs.h,
25096 src/getchar.c, runtime/doc/develop.txt
25097
25098Patch 8.0.1736
25099Problem: Check for C99 features is incomplete.
25100Solution: Use AC_PROG_CC_C99 and when C99 isn't fully supported check the
25101 features we need. (James McCoy, closes #2820)
25102Files: src/configure.ac, src/auto/configure
25103
25104Patch 8.0.1737
25105Problem: fchown() used when it is not supported.
25106Solution: Add #ifdef.
25107Files: src/fileio.c
25108
25109Patch 8.0.1738
25110Problem: ":args" output is hard to read.
25111Solution: Make columns with the names if the output is more than one line.
25112Files: src/ex_cmds2.c, src/version.c, src/proto/version.pro,
25113 src/testdir/test_arglist.vim
25114
25115Patch 8.0.1739
25116Problem: MS-Windows with msys2 cannot build Ruby statically.
25117Solution: Define RUBY_VERSION. (Gray Wolf, closes #2826)
25118Files: src/Make_cyg_ming.mak
25119
25120Patch 8.0.1740
25121Problem: Warning for signed-unsigned incompatibility.
25122Solution: Change type from "char *" to "char_u *". (John Marriott)
25123Files: src/ex_cmds2.c
25124
25125Patch 8.0.1741
25126Problem: MS-Windows with msys2 cannot build Ruby statically.
25127Solution: Add RUBY_VERSION to CFLAGS later. (Gray Wolf, closes #2833)
25128Files: src/Make_cyg_ming.mak
25129
25130Patch 8.0.1742
25131Problem: Cannot get a list of all the jobs. Cannot get the command of
25132 the job.
25133Solution: When job_info() is called without an argument return a list of
25134 jobs. Otherwise, include the command that the job is running.
25135 (Yegappan Lakshmanan)
25136Files: runtime/doc/eval.txt, src/channel.c, src/evalfunc.c,
25137 src/proto/channel.pro, src/structs.h, src/testdir/test_channel.vim
25138
25139Patch 8.0.1743
25140Problem: Terminal window options are named inconsistently.
25141Solution: prefix terminal window options with "termwin". Keep the old names
25142 for now as an alias.
25143Files: src/option.c, src/option.h, src/structs.h, src/terminal.c,
25144 src/testdir/test_terminal.vim, src/testdir/gen_opt_test.vim,
25145 runtime/doc/options.txt, runtime/doc/quickref.txt,
25146 runtime/doc/terminal.txt, runtime/optwin.vim
25147
25148Patch 8.0.1744
25149Problem: On some systems /dev/stdout isn't writable.
25150Solution: Skip test if writing is not possible. (James McCoy, closes #2830)
25151Files: src/testdir/test_writefile.vim
25152
25153Patch 8.0.1745
25154Problem: Build failure on MS-Windows.
25155Solution: Build job arguments for MS-Windows. Fix allocating job twice.
25156Files: src/structs.h, src/channel.c, src/os_unix.c, src/misc2.c,
25157 src/terminal.c, src/proto/misc2.pro
25158
25159Patch 8.0.1746
25160Problem: MS-Windows: channel tests fail.
25161Solution: Make a copy of the command before splitting it.
25162Files: src/channel.c
25163
25164Patch 8.0.1747
25165Problem: MS-Windows: term_start() does not set job_info() cmd.
25166Solution: Share the code from job_start() to set jv_argv.
25167Files: src/testdir/test_terminal.vim, src/channel.c, src/misc2.c,
25168 src/proto/misc2.pro, src/terminal.c
25169
25170Patch 8.0.1748
25171Problem: CmdlineEnter command uses backslash instead of slash.
25172Solution: Don't treat the character as a file name. (closes #2837)
25173Files: src/fileio.c, src/testdir/test_autocmd.vim
25174
25175Patch 8.0.1749
25176Problem: VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails.
25177Solution: Do not wait indefinitely in RealWaitForChar(). (Neil Rieck)
25178 Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan
25179 Arpadffy)
25180Files: src/os_vms.c, src/vim.h
25181
25182Patch 8.0.1750
25183Problem: Crash when clearing location list in autocommand.
25184Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan)
25185Files: src/quickfix.c, src/testdir/test_quickfix.vim
25186
25187Patch 8.0.1751
25188Problem: #ifdef causes bad highlighting.
25189Solution: Move code around. (Ozaki Kiichi, closes #2731)
25190Files: src/ui.c
25191
25192Patch 8.0.1752
25193Problem: qf_set_properties() is to long.
25194Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan
25195 Lakshmanan, closes #2812)
25196Files: src/quickfix.c, src/testdir/test_quickfix.vim
25197
25198Patch 8.0.1753
25199Problem: Various warnings from a static analyser
25200Solution: Add type casts, remove unneeded conditions. (Christian Brabandt,
25201 closes #2770)
25202Files: src/evalfunc.c, src/ex_cmds2.c, src/fileio.c, src/getchar.c,
25203 src/normal.c, src/os_unix.c, src/search.c, src/term.c
25204
25205Patch 8.0.1754
25206Problem: ex_helpgrep() is too long.
25207Solution: Refactor the function. (Yegappan Lakshmanan, closes #2766)
25208Files: src/quickfix.c, src/testdir/test_quickfix.vim
25209
25210Patch 8.0.1755
25211Problem: MS-Windows GUI: high unicode char received as two utf-16 words.
25212Solution: Keep the first word until the second word is received. (Chris
25213 Morgan, closes #2800)
25214Files: src/gui_w32.c
25215
25216Patch 8.0.1756
25217Problem: GUI: after prompting for a number the mouse shape is sometimes
25218 wrong.
25219Solution: Call setmouse() after setting "State". (Hirohito Higashi,
25220 closes #2709)
25221Files: src/misc1.c
25222
25223Patch 8.0.1757
25224Problem: Unnecessary changes in libvterm.
25225Solution: Bring back // comments and trailing comma in enums.
25226Files: src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c,
25227 src/libvterm/bin/vterm-dump.c, src/libvterm/include/vterm.h,
25228 src/libvterm/include/vterm_keycodes.h,
25229 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
25230 src/libvterm/src/parser.c, src/libvterm/src/pen.c,
25231 src/libvterm/src/screen.c, src/libvterm/src/state.c,
25232 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h,
25233 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h
25234
25235Patch 8.0.1758
25236Problem: open_line() returns TRUE/FALSE for success/failure.
25237Solution: Return OK or FAIL.
25238Files: src/misc1.c, src/normal.c, src/edit.c
25239
25240Patch 8.0.1759
25241Problem: Memory leak from duplicate options. (Yegappan Lakshmanan)
25242Solution: Don't set the default value twice.
25243Files: src/option.c
25244
25245Patch 8.0.1760
25246Problem: Wrong number of arguments to vms_read().
25247Solution: Drop the first argument. (Ozaki Kiichi)
25248Files: src/ui.c
25249
25250Patch 8.0.1761
25251Problem: Job in terminal window with no output channel is killed.
25252Solution: Keep the job running when the input is a tty. (Ozaki Kiichi,
25253 closes #2734)
25254Files: src/channel.c, src/os_unix.c, src/testdir/test_channel.vim
25255
25256Patch 8.0.1762
25257Problem: Terminal debug logging is a bit complicated.
25258Solution: Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730)
25259Files: src/term.c
25260
25261Patch 8.0.1763
25262Problem: :argedit does not reuse an empty unnamed buffer.
25263Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian
25264 Brabandt, closes #2713)
25265Files: src/buffer.c, src/ex_cmds2.c, src/proto/buffer.pro,
25266 src/testdir/test_arglist.vim, src/testdir/test_command_count.vim
25267
25268Patch 8.0.1764
25269Problem: Lgtm considers tutor.es to be EcmaScript.
25270Solution: Add a config file for lgtm. (Bas van Schaik, closes #2844)
25271Files: .lgtm.yml, Filelist
25272
25273Patch 8.0.1765
25274Problem: CTRL-G j in Insert mode is incorrect when 'virtualedit' is set.
25275Solution: Take coladd into account. (Christian Brabandt, closes #2743)
25276Files: src/charset.c, src/testdir/test_virtualedit.vim
25277
25278Patch 8.0.1766 (after 8.0.1758)
25279Problem: Expanding abbreviation doesn't work. (Tooth Pik)
25280Solution: Return OK instead of FALSE and FAIL instead of TRUE. (Christian
25281 Brabandt)
25282Files: src/edit.c, src/testdir/test_mapping.vim
25283
25284Patch 8.0.1767
25285Problem: With 'incsearch' text may jump up and down. ()
25286Solution: Besides w_botline also save and restore w_empty_rows.
25287 (closes #2530)
25288Files: src/ex_getln.c, src/testdir/test_search.vim,
25289 src/testdir/dumps/Test_incsearch_scrolling_01.dump
25290
25291Patch 8.0.1768
25292Problem: SET_NO_HLSEARCH() used in a wrong way.
25293Solution: Make it a function. (suggested by Dominique Pelle,
25294 closes #2850)
25295Files: src/vim.h, src/ex_docmd.c, src/proto/ex_docmd.pro, src/search.c,
25296 src/ex_getln.c, src/option.c, src/screen.c, src/tag.c
25297
25298Patch 8.0.1769
25299Problem: Repeated saving and restoring viewstate for 'incsearch'.
25300Solution: Use a structure.
25301Files: src/ex_getln.c
25302
25303Patch 8.0.1770
25304Problem: Assert functions don't return anything.
25305Solution: Return non-zero when the assertion fails.
25306Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro,
25307 src/testdir/test_assert.vim, runtime/doc/eval.txt
25308
25309Patch 8.0.1771
25310Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy)
25311Solution: Add WaitForAssert(), which produces an assert error when it fails.
25312Files: src/testdir/shared.vim, src/testdir/test_terminal.vim,
25313 src/testdir/screendump.vim, src/testdir/test_autocmd.vim,
25314 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
25315 src/testdir/test_job_fails.vim
25316
25317Patch 8.0.1772
25318Problem: Quickfix: mixup of FALSE and FAIL, returning -1.
25319Solution: Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan)
25320Files: src/quickfix.c
25321
25322Patch 8.0.1773
25323Problem: Dialog messages are not translated.
25324Solution: Add N_() and _() where needed. (Sergey Alyoshin)
25325Files: src/diff.c, src/ex_cmds2.c, src/ex_docmd.c, src/message.c,
25326 src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
25327 src/po/Makefile, src/quickfix.c, src/vim.h
25328
25329Patch 8.0.1774
25330Problem: Reading very long lines can be slow.
25331Solution: Read up to 1 Mbyte at a time to avoid a lot of copying. Add a
25332 check for going over the column limit.
25333Files: src/fileio.c
25334
25335Patch 8.0.1775
25336Problem: MS-Windows: warning for unused variable.
25337Solution: Move declaration inside #ifdef. (Mike Williams)
25338Files: src/channel.c
25339
25340Patch 8.0.1776
25341Problem: In tests, when WaitFor() fails it doesn't say why.
25342Solution: Turn a few more WaitFor() into WaitForAssert().
25343Files: src/testdir/test_popup.vim, src/testdir/test_quotestar.vim,
25344 src/testdir/test_search.vim, src/testdir/test_terminal.vim,
25345 src/testdir/test_timers.vim
25346
25347Patch 8.0.1777
25348Problem: Cannot cleanup before loading another colorscheme.
25349Solution: Add the ColorSchemePre autocommand event.
25350Files: src/fileio.c, src/syntax.c, src/vim.h, src/testdir/test_gui.vim,
25351 runtime/colors/README.txt
25352
25353Patch 8.0.1778
25354Problem: Script to check translations does not always work.
25355Solution: Go to first line before searching for MIME.
25356Files: src/po/check.vim
25357
25358Patch 8.0.1779
25359Problem: Deleting in a block selection causes problems.
25360Solution: Check the length of the line before adding bd.textcol and
25361 bd.textlen. (Christian Brabandt, closes #2825)
25362Files: src/ops.c, src/testdir/test_blockedit.vim
25363
25364Patch 8.0.1780
25365Problem: Test fails because Vim in a terminal uses wrong 'encoding'.
25366Solution: Set encoding in the test where it matters. (James McCoy,
25367 closes #2847)
25368Files: src/testdir/test_terminal.vim
25369
25370Patch 8.0.1781
25371Problem: File names in quickfix window are not always shortened.
25372Solution: Shorten the file name when opening the quickfix window. (Yegappan
25373 Lakshmanan, closes #2851, closes #2846)
25374Files: src/testdir/test_quickfix.vim, src/fileio.c, src/proto/fileio.pro,
25375 src/quickfix.c
25376
25377Patch 8.0.1782
25378Problem: No simple way to label quickfix entries.
25379Solution: Add the "module" item, to be used instead of the file name for
25380 display purposes. (Martin Szamotulski, closes #1757)
25381Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/alloc.h,
25382 src/quickfix.c, src/testdir/test_quickfix.vim
25383
25384Patch 8.0.1783
25385Problem: Cannot use 256 colors in a MS-Windows console.
25386Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821)
25387Files: src/misc1.c, src/option.c, src/os_win32.c, src/proto/os_win32.pro,
25388 src/term.c, src/proto/term.pro, src/terminal.c
25389
25390Patch 8.0.1784 (after 8.0.1782)
25391Problem: Gvim test gets stuck in dialog.
25392Solution: Rename the file used.
25393Files: src/testdir/test_quickfix.vim
25394
25395Patch 8.0.1785 (after 8.0.1783)
25396Problem: Missing symbol in Win32 small build.
25397Solution: Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also
25398 fix unused function with #ifdef.
25399Files: src/term.c, src/os_win32.c
25400
25401Patch 8.0.1786
25402Problem: No test for 'termwinkey'.
25403Solution: Add a test. Make feedkeys() handle terminal_loop() returning
25404 before characters are consumed.
25405Files: src/testdir/test_terminal.vim, src/terminal.c, src/evalfunc.c,
25406 src/ex_docmd.c, src/getchar.c, src/keymap.h
25407
25408Patch 8.0.1787
25409Problem: Cannot insert the whole cursor line.
25410Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857)
25411Files: runtime/doc/cmdline.txt, src/ex_getln.c, src/ops.c,
25412 src/testdir/test_cmdline.vim
25413
25414Patch 8.0.1788
25415Problem: Tool to check a color scheme is not installed.
25416Solution: Update the install rule. (Christian Brabandt)
25417Files: src/Makefile
25418
25419Patch 8.0.1789
25420Problem: BufWinEnter does not work well for a terminal window.
25421Solution: Do not trigger BufWinEnter when opening a terminal window.
25422Files: src/terminal.c, runtime/doc/autocmd.txt,
25423 src/testdir/test_terminal.vim
25424
25425Patch 8.0.1790
25426Problem: 'winfixwidth' is not always respected by :close.
25427Solution: Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason
25428 Franklin)
25429Files: src/window.c, src/testdir/test_winbuf_close.vim
25430
25431Patch 8.0.1791
25432Problem: Using uint8_t does not work everywhere.
25433Solution: Use char_u instead.
25434Files: src/term.c, src/proto/term.pro, src/os_win32.c
25435
25436Patch 8.0.1792
25437Problem: MS-Windows users expect -? to work like --help.
25438Solution: Add -?. (Christian Brabandt, closes #2867)
25439Files: src/main.c
25440
25441Patch 8.0.1793
25442Problem: No test for "vim -g".
25443Solution: Add a test for "-g" and "-y".
25444Files: src/testdir/shared.vim, src/testdir/test_gui.vim
25445
25446Patch 8.0.1794
25447Problem: Duplicate term options after renaming.
25448Solution: Remove the old names 'termkey', 'termsize' and 'terminalscroll'.
25449Files: src/option.c, src/terminal.c, src/option.h,
25450 src/testdir/gen_opt_test.vim, src/testdir/screendump.vim
25451
25452Patch 8.0.1795
25453Problem: Lose contact with jobs when :gui forks.
25454Solution: Don't fork when there is a running job. Make log message for a
25455 died job clearer. Also close the terminal when stderr and stdout
25456 are the same FD.
25457Files: src/gui.h, src/gui.c, src/channel.c, src/proto/channel.pro,
25458 src/os_unix.c, src/terminal.c
25459
25460Patch 8.0.1796
25461Problem: GUI: click on tab fails when the focus is in a terminal window.
25462Solution: Handle K_TABLINE.
25463Files: src/terminal.c
25464
25465Patch 8.0.1797
25466Problem: Terminal window is redrawn too often and scrolling is repeated.
25467Solution: Don't scroll immediately but only when redrawing. Avoid redrawing
25468 the whole terminal window on every change.
25469Files: src/terminal.c, src/screen.c, src/proto/terminal.pro
25470
25471Patch 8.0.1798
25472Problem: MS-Windows: file considered read-only when another program has
25473 opened it.
25474Solution: Pass file sharing flag to CreateFile(). (Linwei, closes #2860)
25475Files: src/os_win32.c
25476
25477Patch 8.0.1799
25478Problem: No test for :registers command.
25479Solution: Add a test. (Dominique Pelle, closes #2880)
25480Files: src/testdir/test_registers.vim
25481
25482Patch 8.0.1800
25483Problem: X11: getting color is slow.
25484Solution: Avoid using sprintf() and XParseColor(), put the RGB values in
25485 XColor directly.
25486Files: src/gui_x11.c
25487
25488Patch 8.0.1801
25489Problem: MS-Windows: redirecting terminal output does not work.
25490Solution: Intercept the text written to the terminal and write it to the
25491 file.
25492Files: src/terminal.c, src/testdir/test_terminal.vim
25493
25494Patch 8.0.1802 (after 8.0.1802)
25495Problem: MS-Windows: terminal test fails.
25496Solution: Close redirected output file earlier.
25497Files: src/terminal.c
25498
25499Patch 8.0.1803
25500Problem: Warning for uninitialized variable. (Tony Mechelynck)
25501Solution: Initialize it.
25502Files: src/terminal.c
25503
25504Patch 8.0.1804
25505Problem: Using :normal in terminal window causes problems. (Dominique
25506 Pelle)
25507Solution: Don't call terminal_loop() for :normal. (closes #2886)
25508Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/evalfunc.c
25509
25510Patch 8.0.1805
25511Problem: qf_parse_line() is too long.
25512Solution: Split it in parts. Properly handle vim_realloc() failing.
25513 (Yegappan Lakshmanan, closes #2881)
25514Files: src/quickfix.c
25515
25516Patch 8.0.1806
25517Problem: InsertCharPre causes problems for autocomplete. (Lifepillar)
25518Solution: Check for InsertCharPre before calling vpeekc(). (Christian
25519 Brabandt, closes #2876)
25520Files: src/edit.c, src/testdir/test_popup.vim
25521
25522Patch 8.0.1807
25523Problem: Function to set terminal name is too long.
25524Solution: Refactor the function. Fix typo in test.
25525Files: src/term.c, src/testdir/test_options.vim
25526
25527Patch 8.0.1808 (after 8.0.1807)
25528Problem: Can't build without TGETENT.
25529Solution: Add #ifdef
25530Files: src/term.c
25531
25532Patch 8.0.1809
25533Problem: Various typos.
25534Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887)
25535Files: src/edit.c, src/normal.c, src/screen.c, src/proto/screen.pro,
25536 src/ui.c
25537
25538Patch 8.0.1810
25539Problem: Buffer of a terminal only updated in Terminal-Normal mode.
25540Solution: Copy the terminal window content to the buffer when in
25541 Terminal-Job mode.
25542Files: src/terminal.c, src/proto/terminal.pro, src/ex_cmds2.c,
25543 src/proto/ex_cmds2.pro
25544
25545Patch 8.0.1811
25546Problem: No test for winrestcmd().
25547Solution: Add a test. (Dominique Pelle, closes #2894)
25548Files: src/testdir/test_window_cmd.vim
25549
25550Patch 8.0.1812
25551Problem: The qf_jump_to_usable_window() function is too long.
25552Solution: Split it in parts. (Yegappan Lakshmanan, closes #2891)
25553Files: src/quickfix.c
25554
25555Patch 8.0.1813
25556Problem: Windows installer doesn't install terminal debugger.
25557Solution: Add the package to the list of files to install.
25558Files: nsis/gvim.nsi
25559
25560Patch 8.0.1814
25561Problem: Crash with terminal window and with 'lazyredraw' set. (Antoine)
25562Solution: Check the terminal still exists after update_screen().
25563Files: src/terminal.c
25564
25565Patch 8.0.1815 (after 8.0.1814)
25566Problem: Still a crash with terminal window and with 'lazyredraw' set.
25567 (Antoine)
25568Solution: Do not wipe out the buffer when updating the screen.
25569Files: src/terminal.c, src/proto/terminal.pro, src/screen.c,
25570 src/proto/screen.pro, src/ui.c
25571
25572Patch 8.0.1816
25573Problem: No test for setcmdpos().
25574Solution: Add a test. (Dominique Pelle, closes #2901)
25575Files: src/testdir/test_cmdline.vim
25576
25577Patch 8.0.1817
25578Problem: A timer may change v:count unexpectedly.
25579Solution: Save and restore v:count and similar variables when a timer
25580 callback is invoked. (closes #2897)
25581Files: src/eval.c, src/proto/eval.pro, src/ex_cmds2.c, src/structs.h,
25582 src/testdir/test_timers.vim
25583
25584Patch 8.0.1818 (after 8.0.1810)
25585Problem: Lines remove from wrong buffer when using terminal window.
25586Solution: Make sure to use tl_buffer.
25587Files: src/terminal.c
25588
25589Patch 8.0.1819
25590Problem: Swap file warning for a file in a non-existing directory, if there
25591 is another with the same file name. (Juergen Weigert)
25592Solution: When expanding the file name fails compare the file names.
25593Files: src/testdir/test_swap.vim, src/memline.c
25594
25595Patch 8.0.1820
25596Problem: Terminal window redirecting stdout does not show stderr. (Matéo
25597 Zanibelli)
25598Solution: When stdout is not connected to pty_master_fd then use it for
25599 stderr. (closes #2903)
25600Files: src/os_unix.c, src/testdir/test_terminal.vim
25601
25602Patch 8.0.1821
25603Problem: Cursor in terminal window moves when pressing CTRL-W. (Dominique
25604 Pelle)
25605Solution: Do not more the cursor or redraw when not in Terminal-Normal mode.
25606 (closes #2904)
25607Files: src/terminal.c
25608
25609Patch 8.0.1822
25610Problem: Make uninstall does not remove colors/tools.
25611Solution: Add a line to delete the tools directory. (Kazunobu Kuriyama)
25612Files: src/Makefile
25613
25614Patch 8.0.1823
25615Problem: Test for terminal stdout redirection is flaky.
25616Solution: Wait for the job to finish.
25617Files: src/testdir/test_terminal.vim
25618
25619Patch 8.0.1824
25620Problem: Coverity warns for variable that may be uninitialized.
25621Solution: Initialize the variable.
25622Files: src/terminal.c
25623
25624Patch 8.0.1825
25625Problem: Might use NULL pointer when out of memory. (Coverity)
25626Solution: Handle NULL pointer better.
25627Files: src/getchar.c
25628
25629Patch 8.0.1826
25630Problem: Configure uses old compiler flag.
25631Solution: Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)
25632Files: src/configure.ac, src/auto/configure
25633
25634Patch 8.0.1827
25635Problem: Compiler warning for signed/unsigned char pointers. (Cesar Romani)
25636Solution: Change the type of jv_argv.
25637Files: src/channel.c, src/structs.h
25638
Bram Moolenaar7c63fbc2018-05-17 13:15:23 +020025639Patch 8.0.1828
25640Problem: Get no clue why :gui does not fork.
25641Solution: Add a channel log message.
25642Files: src/channel.c
25643
25644Patch 8.0.1829
25645Problem: MS-Windows: script for vimdiff can't handle ! chars.
25646Solution: Escape the ! chars. (Hans Ginzel, closes #2896)
25647Files: src/dosinst.c
25648
25649Patch 8.0.1830
25650Problem: Switching to Terminal-Normal mode does not redraw. (Dominique
25651 Pelle)
25652Solution: Also redraw when not updating the snapshot. (closes #2904)
25653Files: src/terminal.c
25654
25655Patch 8.0.1831
25656Problem: Sometimes the quickfix title is incorrectly prefixed with ':'.
25657Solution: Prepend the colon in another way. (Yegappan Lakshmanan, closes
25658 #2905)
25659Files: src/evalfunc.c, src/quickfix.c, src/testdir/test_quickfix.vim
25660
25661Patch 8.0.1832
25662Problem: Cannot use :unlet for an environment variable.
25663Solution: Make it work. Use unsetenv() if available. (Yasuhiro Matsumoto,
25664 closes #2855)
25665Files: runtime/doc/eval.txt, src/config.h.in, src/configure.ac,
25666 src/auto/configure, src/eval.c, src/misc1.c, src/proto/misc1.pro,
25667 src/testdir/test_unlet.vim
25668
25669Patch 8.0.1833
25670Problem: X11: ":echo 3.14" gives E806.
25671Solution: set LC_NUMERIC to "C". (Dominique Pelle, closes #2368)
25672Files: src/gui_x11.c
25673
25674Patch 8.0.1834
25675Problem: GUI: find/replace dialog does not handle some chars properly.
25676Solution: Escape '?' when needed. Always escape backslash. (closes #2418,
25677 closes #2435)
25678Files: src/gui.c
25679
25680Patch 8.0.1835
25681Problem: Print document name does not support multi-byte.
25682Solution: Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478)
25683Files: src/os_mswin.c
25684
25685Patch 8.0.1836
25686Problem: Buffer-local window options may not be recent if the buffer is
25687 still open in another window.
25688Solution: Copy the options from the window instead of the outdated window
25689 options. (Bjorn Linse, closes #2336)
25690Files: src/buffer.c, src/testdir/test_options.vim
25691
25692Patch 8.0.1837
25693Problem: One character cmdline abbreviation not triggered after '<,'>.
25694Solution: Skip over the special range. (Christian Brabandt, closes #2320)
25695Files: src/ex_getln.c, src/testdir/test_mapping.vim
25696
25697Patch 8.0.1838
25698Problem: Cursor in wrong position when switching to Terminal-Normal mode.
25699 (Dominique Pelle)
25700Solution: Move to the end of the line if coladvance() fails. Do not take a
25701 snapshot a second time.
25702Files: src/terminal.c
25703
25704Patch 8.0.1839
25705Problem: Script to check .po file doesn't check for plural header.
25706Solution: Add a check that the plural header is present when needed.
25707Files: src/po/check.vim
25708
25709Patch 8.0.1840
25710Problem: getwinpos() is not tested.
25711Solution: Add a test. (Dominique Pelle, closes #2911)
25712Files: src/testdir/test_gui.vim
25713
25714Patch 8.0.1841
25715Problem: HP-UX does not have setenv().
25716Solution: Use vim_setenv(). (John Marriott)
25717Files: src/misc1.c
25718
25719Patch 8.0.1842
25720Problem: Popup menu inside terminal window isn't cleared.
25721Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian
25722 Brabandt, closes #2908)
25723Files: src/popupmnu.c
25724
25725Patch 8.0.1843
25726Problem: Entry for 'wrap' in options window is wrong. (John Little)
25727Solution: Make the change apply locally.
25728Files: runtime/optwin.vim
25729
25730Patch 8.0.1844
25731Problem: Superfluous quickfix code, missing examples.
25732Solution: Remove unneeded code. Add a few examples. Add a bit more
25733 testing. (Yegappan Lakshmanan, closes #2916)
25734Files: runtime/doc/quickfix.txt, src/quickfix.c,
25735 src/testdir/test_quickfix.vim
25736
25737Patch 8.0.1845
25738Problem: Various comment updates needed, missing white space.
25739Solution: Update comments, add white space.
25740Files: src/getchar.c, src/testdir/test_cscope.vim, src/gui_mac.c
25741
25742Patch 8.0.1846
25743Problem: Python interface is incompatible with lldb.
25744Solution: For OutputType set the base to be PyFile_Type. (Boxu Zhang)
25745 Partly disabled to avoid a crash.
25746Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
25747
25748Patch 8.0.1847
25749Problem: Some build options don't have an example.
25750Solution: Add a couple more examples and compiler flags.
25751Files: src/Makefile
25752
25753Patch 8.0.1848
25754Problem: 'termwinscroll' does not work properly. (Dominique Pelle)
25755Solution: Subtract removed scrollback from the scrollback count. Add a test
25756 for 'termwinscroll'. (closes #2909)
25757Files: src/terminal.c, src/testdir/test_terminal.vim
25758
25759Patch 8.0.1849
25760Problem: Compiler warning for unused arguments and missing prototype.
25761Solution: Add UNUSED. Add static.
25762Files: src/mbyte.c, src/if_ruby.c
25763
Bram Moolenaarb1c91982018-05-17 17:04:55 +020025764Patch 8.0.1850
25765Problem: Todo items in source code not visible for users.
25766Solution: Move the todo items to the help file.
25767Files: src/terminal.c
25768
Bram Moolenaareb3dc872018-05-13 22:34:24 +020025769
Bram Moolenaar03413f42016-04-12 21:07:15 +020025770 vim:tw=78:ts=8:ft=help:norl: