blob: c7de3c21ab452bf3aa2216eb4859061856626821 [file] [log] [blame]
Bram Moolenaar7c63fbc2018-05-17 13:15:23 +02001*version8.txt* For Vim version 8.0. 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
29
Bram Moolenaardc1f1642016-08-16 18:33:43 +020030See |vi_diff.txt| for an overview of differences between Vi and Vim 8.0.
31See |version4.txt|, |version5.txt|, |version6.txt| and |version7.txt| for
32differences between other versions.
33
Bram Moolenaar03413f42016-04-12 21:07:15 +020034==============================================================================
Bram Moolenaar03413f42016-04-12 21:07:15 +020035NEW FEATURES *new-8*
36
Bram Moolenaarbb76f242016-09-12 14:24:39 +020037First an overview of the more interesting new features. A comprehensive list
38is below.
Bram Moolenaar03413f42016-04-12 21:07:15 +020039
40
41Asynchronous I/O support, channels ~
42
Bram Moolenaar063b9d12016-07-09 20:21:48 +020043Vim can now exchange messages with other processes in the background. This
44makes it possible to have servers do work and send back the results to Vim.
45See |channel-demo| for an example, this shows communicating with a Python
46server.
Bram Moolenaar03413f42016-04-12 21:07:15 +020047
48Closely related to channels is JSON support. JSON is widely supported and can
49easily be used for inter-process communication, allowing for writing a server
50in any language. The functions to use are |json_encode()| and |json_decode()|.
51
Bram Moolenaar063b9d12016-07-09 20:21:48 +020052This makes it possible to build very complex plugins, written in any language
53and running in a separate process.
54
Bram Moolenaar03413f42016-04-12 21:07:15 +020055
56Jobs ~
57
58Vim can now start a job, communicate with it and stop it. This is very useful
59to run a process for completion, syntax checking, etc. Channels are used to
60communicate with the job. Jobs can also read from or write to a buffer or a
61file. See |job_start()|.
62
63
64Timers ~
65
66Also asynchronous are timers. They can fire once or repeatedly and invoke a
67function to do any work. For example: >
68 let tempTimer = timer_start(4000, 'CheckTemp')
Bram Moolenaar063b9d12016-07-09 20:21:48 +020069This will call the CheckTemp() function four seconds (4000 milli seconds)
Bram Moolenaar09521312016-08-12 22:54:35 +020070later. See |timer_start()|.
Bram Moolenaar03413f42016-04-12 21:07:15 +020071
72
73Partials ~
74
75Vim already had a Funcref, a reference to a function. A partial also refers
76to a function, and additionally binds arguments and/or a dictionary. This is
77especially useful for callbacks on channels and timers. E.g., for the timer
78example above, to pass an argument to the function: >
79 let tempTimer = timer_start(4000, function('CheckTemp', ['out']))
Bram Moolenaar063b9d12016-07-09 20:21:48 +020080This will call CheckTemp('out') four seconds later.
Bram Moolenaar03413f42016-04-12 21:07:15 +020081
82
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020083Lambda and Closure ~
Bram Moolenaar42ebd062016-07-17 13:35:14 +020084
85A short way to create a function has been added: {args -> expr}. See |lambda|.
86This is useful for functions such as `filter()` and `map()`, which now also
87accept a function argument. Example: >
88 :call filter(mylist, {idx, val -> val > 20})
89
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020090A lambda can use variables defined in the scope where the lambda is defined.
91This is usually called a |closure|.
92
93User defined functions can also be a closure by adding the "closure" argument
94|:func-closure|.
95
Bram Moolenaar42ebd062016-07-17 13:35:14 +020096
Bram Moolenaar03413f42016-04-12 21:07:15 +020097Packages ~
98
Bram Moolenaaraa3b15d2016-04-21 08:53:19 +020099Plugins keep growing and more of them are available than ever before. To keep
Bram Moolenaar03413f42016-04-12 21:07:15 +0200100the collection of plugins manageable package support has been added. This is
101a convenient way to get one or more plugins, drop them in a directory and
102possibly keep them updated. Vim will load them automatically, or only when
103desired. See |packages|.
104
105
106New style tests ~
107
108This is for Vim developers. So far writing tests for Vim has not been easy.
109Vim 8 adds assert functions and a framework to run tests. This makes it a lot
Bram Moolenaar82af8712016-06-04 20:20:29 +0200110simpler to write tests and keep them updated. Also new are several functions
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200111that are added specifically for testing. See |test-functions|.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200112
113
114Window IDs ~
115
116Previously windows could only be accessed by their number. And every time a
117window would open, close or move that number changes. Each window now has a
Bram Moolenaar82af8712016-06-04 20:20:29 +0200118unique ID, so that they are easy to find. See |win_getid()| and |win_id2win()|.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200119
120
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200121Viminfo uses timestamps ~
122
123Previously the information stored in viminfo was whatever the last Vim wrote
124there. Now timestamps are used to always keep the most recent items.
125See |viminfo-timestamp|.
126
127
Bram Moolenaar03413f42016-04-12 21:07:15 +0200128Wrapping lines with indent ~
129
130The 'breakindent' option has been added to be able to wrap lines without
131changing the amount of indent.
132
133
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200134Windows: DirectX support ~
Bram Moolenaar03413f42016-04-12 21:07:15 +0200135
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200136This adds the 'renderoptions' option to allow for switching on DirectX
Bram Moolenaar03413f42016-04-12 21:07:15 +0200137(DirectWrite) support on MS-Windows.
138
139
140GTK+ 3 support ~
141
Bram Moolenaare4a3bcf2016-08-26 19:52:37 +0200142The GTK+ 3 GUI works just like GTK+ 2 except for hardly noticeable technical
143differences between them. Configure still chooses GTK+ 2 if both 2 and 3 are
144available. See src/Makefile for how to use GTK+ 3 instead. See
145|gui-x11-compiling| for other details.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200146
147
148Vim script enhancements *new-vim-script-8*
149-----------------------
150
Bram Moolenaaraa3b15d2016-04-21 08:53:19 +0200151In Vim script the following types have been added:
Bram Moolenaar03413f42016-04-12 21:07:15 +0200152
153 |Special| |v:false|, |v:true|, |v:none| and |v:null|
154 |Channel| connection to another process for asynchronous I/O
155 |Job| process control
156
157Many functions and commands have been added to support the new types.
158
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200159On some systems the numbers used in Vim script are now 64 bit. This can be
160checked with the |+num64| feature.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200161
Bram Moolenaard0796902016-09-16 20:02:31 +0200162Many items were added to support |new-style-testing|.
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200163
Bram Moolenaar36f44c22016-08-28 18:17:20 +0200164printf() now accepts any type of argument for %s. It is converted to a string
165like with string().
166
Bram Moolenaar03413f42016-04-12 21:07:15 +0200167
168Various new items *new-items-8*
169-----------------
170
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200171Visual mode commands: ~
172
173|v_CTRL-A| CTRL-A add N to number in highlighted text
174|v_CTRL-X| CTRL-X subtract N from number in highlighted text
175|v_g_CTRL-A| g CTRL-A add N to number in highlighted text
176|v_g_CTRL-X| g CTRL-X subtract N from number in highlighted text
177
Bram Moolenaar03413f42016-04-12 21:07:15 +0200178
179Insert mode commands: ~
180
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200181|i_CTRL-G_U| CTRL-G U don't break undo with next cursor movement
182
Bram Moolenaar03413f42016-04-12 21:07:15 +0200183
Bram Moolenaarbc2eada2017-01-02 21:27:47 +0100184Cmdline mode commands: ~
185
186|/_CTRL-G| CTRL-G move to the next match in 'incsearch' mode
187|/_CTRL-T| CTRL-T move to the previous match in 'incsearch' mode
188
189
Bram Moolenaar03413f42016-04-12 21:07:15 +0200190Options: ~
191
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200192'belloff' do not ring the bell for these reasons
193'breakindent' wrapped line repeats indent
194'breakindentopt' settings for 'breakindent'.
195'emoji' emoji characters are considered full width
196'fixendofline' make sure last line in file has <EOL>
Bram Moolenaare4a3bcf2016-08-26 19:52:37 +0200197'langremap' do apply 'langmap' to mapped characters
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200198'luadll' name of the Lua dynamic library
199'packpath' list of directories used for packages
200'perldll' name of the Perl dynamic library
201'pythondll' name of the Python 2 dynamic library
202'pythonthreedll' name of the Python 3 dynamic library
203'renderoptions' options for text rendering on Windows
204'rubydll' name of the Ruby dynamic library
Bram Moolenaar214641f2017-03-05 17:04:09 +0100205'signcolumn' when to display the sign column
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200206'tagcase' how to handle case when searching in tags files
207'tcldll' name of the Tcl dynamic library
208'termguicolors' use GUI colors for the terminal
Bram Moolenaar03413f42016-04-12 21:07:15 +0200209
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200210
Bram Moolenaar03413f42016-04-12 21:07:15 +0200211Ex commands: ~
212
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200213|:cbottom| scroll to the bottom of the quickfix window
214|:cdo| execute command in each valid error list entry
215|:cfdo| execute command in each file in error list
216|:chistory| display quickfix list stack
217|:clearjumps| clear the jump list
Bram Moolenaar89bcfda2016-08-30 23:26:57 +0200218|:filter| only output lines that (do not) match a pattern
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200219|:helpclose| close one help window
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200220|:lbottom| scroll to the bottom of the location window
221|:ldo| execute command in valid location list entries
222|:lfdo| execute command in each file in location list
223|:lhistory| display location list stack
224|:noswapfile| following commands don't create a swap file
225|:packadd| add a plugin from 'packpath'
226|:packloadall| load all packages under 'packpath'
227|:smile| make the user happy
Bram Moolenaar03413f42016-04-12 21:07:15 +0200228
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200229
Bram Moolenaar03413f42016-04-12 21:07:15 +0200230Ex command modifiers: ~
231
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200232|:keeppatterns| following command keeps search pattern history
Bram Moolenaar369b6f52017-01-17 12:22:32 +0100233|<mods>| supply command modifiers to user defined commands
Bram Moolenaar03413f42016-04-12 21:07:15 +0200234
235
236New and extended functions: ~
237
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200238|arglistid()| get id of the argument list
239|assert_equal()| assert that two expressions values are equal
240|assert_exception()| assert that a command throws an exception
241|assert_fails()| assert that a function call fails
242|assert_false()| assert that an expression is false
243|assert_inrange()| assert that an expression is inside a range
244|assert_match()| assert that a pattern matches the value
245|assert_notequal()| assert that two expressions values are not equal
246|assert_notmatch()| assert that a pattern does not match the value
247|assert_true()| assert that an expression is true
248|bufwinid()| get the window ID of a specific buffer
249|byteidxcomp()| like byteidx() but count composing characters
250|ch_close()| close a channel
Bram Moolenaar64d8e252016-09-06 22:12:34 +0200251|ch_close_in()| close the in part of a channel
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200252|ch_evalexpr()| evaluates an expression over channel
253|ch_evalraw()| evaluates a raw string over channel
254|ch_getbufnr()| get the buffer number of a channel
255|ch_getjob()| get the job associated with a channel
256|ch_info()| get channel information
257|ch_log()| write a message in the channel log file
258|ch_logfile()| set the channel log file
259|ch_open()| open a channel
260|ch_read()| read a message from a channel
261|ch_readraw()| read a raw message from a channel
262|ch_sendexpr()| send a JSON message over a channel
263|ch_sendraw()| send a raw message over a channel
264|ch_setoptions()| set the options for a channel
265|ch_status()| get status of a channel
266|execute()| execute an Ex command and get the output
267|exepath()| full path of an executable program
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200268|funcref()| return a reference to function {name}
269|getbufinfo()| get a list with buffer information
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200270|getcharsearch()| return character search information
271|getcmdwintype()| return the current command-line window type
272|getcompletion()| return a list of command-line completion matches
273|getcurpos()| get position of the cursor
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200274|gettabinfo()| get a list with tab page information
275|getwininfo()| get a list with window information
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200276|glob2regpat()| convert a glob pattern into a search pattern
277|isnan()| check for not a number
278|job_getchannel()| get the channel used by a job
279|job_info()| get information about a job
280|job_setoptions()| set options for a job
281|job_start()| start a job
282|job_status()| get the status of a job
283|job_stop()| stop a job
284|js_decode()| decode a JSON string to Vim types
285|js_encode()| encode an expression to a JSON string
286|json_decode()| decode a JSON string to Vim types
287|json_encode()| encode an expression to a JSON string
288|matchaddpos()| define a list of positions to highlight
289|matchstrpos()| match and positions of a pattern in a string
290|perleval()| evaluate Perl expression
291|reltimefloat()| convert reltime() result to a Float
292|setcharsearch()| set character search information
293|setfperm()| set the permissions of a file
294|strcharpart()| get part of a string using char index
295|strgetchar()| get character from a string using char index
296|systemlist()| get the result of a shell command as a list
297|test_alloc_fail()| make memory allocation fail
298|test_autochdir()| test 'autochdir' functionality
Bram Moolenaar036986f2017-03-16 17:41:02 +0100299test_disable_char_avail() test without typeahead (removed later)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200300|test_garbagecollect_now()| free memory right now
301|test_null_channel()| return a null Channel
302|test_null_dict()| return a null Dict
303|test_null_job()| return a null Job
304|test_null_list()| return a null List
305|test_null_partial()| return a null Partial function
306|test_null_string()| return a null String
307|test_settime()| set the time Vim uses internally
Bram Moolenaar09521312016-08-12 22:54:35 +0200308|timer_info()| get information about timers
309|timer_pause()| pause or unpause a timer
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200310|timer_start()| create a timer
311|timer_stop()| stop a timer
Bram Moolenaar09521312016-08-12 22:54:35 +0200312|timer_stopall()| stop all timers
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200313|uniq()| remove copies of repeated adjacent items
314|win_findbuf()| find windows containing a buffer
315|win_getid()| get window ID of a window
316|win_gotoid()| go to window with ID
317|win_id2tabwin()| get tab and window nr from window ID
318|win_id2win()| get window nr from window ID
319|wordcount()| get byte/word/char count of buffer
Bram Moolenaar03413f42016-04-12 21:07:15 +0200320
321
322New Vim variables: ~
323
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200324|v:beval_winid| Window ID of the window where the mouse pointer is
325|v:completed_item| complete items for the most recently completed word
326|v:errors| errors found by assert functions
327|v:false| a Number with value zero
328|v:hlsearch| indicates whether search highlighting is on
329|v:mouse_winid| Window ID for a mouse click obtained with |getchar()|
330|v:none| an empty String, used for JSON
331|v:null| an empty String, used for JSON
332|v:option_new| new value of the option, used by |OptionSet|
333|v:option_old| old value of the option, used by |OptionSet|
334|v:option_type| scope of the set command, used by |OptionSet|
335|v:progpath| the command with which Vim was invoked
336|v:t_bool| value of Boolean type
337|v:t_channel| value of Channel type
338|v:t_dict| value of Dictionary type
339|v:t_float| value of Float type
340|v:t_func| value of Funcref type
341|v:t_job| value of Job type
342|v:t_list| value of List type
343|v:t_none| value of None type
344|v:t_number| value of Number type
345|v:t_string| value of String type
346|v:testing| must be set before using `test_garbagecollect_now()`
347|v:true| a Number with value one
Bram Moolenaar7571d552016-08-18 22:54:46 +0200348|v:vim_did_enter| set just before VimEnter autocommands are triggered
Bram Moolenaar03413f42016-04-12 21:07:15 +0200349
350
351New autocommand events: ~
352
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200353|CmdUndefined| a user command is used but it isn't defined
354|OptionSet| after setting any option
355|TabClosed| after closing a tab page
356|TabNew| after creating a new tab page
357|TextChangedI| after a change was made to the text in Insert mode
358|TextChanged| after a change was made to the text in Normal mode
359|WinNew| after creating a new window
Bram Moolenaar03413f42016-04-12 21:07:15 +0200360
361
362New highlight groups: ~
363
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200364EndOfBuffer filler lines (~) after the last line in the buffer.
365 |hl-EndOfBuffer|
366
Bram Moolenaar03413f42016-04-12 21:07:15 +0200367
368New items in search patterns: ~
369
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200370|/\%C| \%C match any composing characters
371
Bram Moolenaar03413f42016-04-12 21:07:15 +0200372
373New Syntax/Indent/FTplugin files: ~
374
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200375AVR Assembler (Avra) syntax
376Arduino syntax
377Bazel syntax and indent and ftplugin
378Dockerfile syntax and ftplugin
379Eiffel ftplugin
380Euphoria 3 and 4 syntax
381Go syntax and indent and ftplugin
382Godoc syntax
383Groovy ftplugin
384HGcommit ftplugin
385Hog indent and ftplugin
386Innovation Data Processing upstream.pt syntax
387J syntax and indent and ftplugin
388Jproperties ftplugin
389Json syntax and indent and ftplugin
390Kivy syntax
391Less syntax and indent
392Mix syntax
393Motorola S-Record syntax
394R ftplugin
395ReStructuredText syntax and indent and ftplugin
396Registry ftplugin
397Rhelp indent and ftplugin
398Rmd (markdown with R code chunks) syntax and indent
399Rmd ftplugin
400Rnoweb ftplugin
401Rnoweb indent
Bram Moolenaare4a3bcf2016-08-26 19:52:37 +0200402Scala syntax and indent and ftplugin
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200403SystemVerilog syntax and indent and ftplugin
404Systemd syntax and indent and ftplugin
405Teraterm (TTL) syntax and indent
406Text ftplugin
407Vroom syntax and indent and ftplugin
408
Bram Moolenaar03413f42016-04-12 21:07:15 +0200409
410New Keymaps: ~
411
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200412Armenian eastern and western
413Russian jcukenwintype
414Vietnamese telex and vni
Bram Moolenaar03413f42016-04-12 21:07:15 +0200415
416==============================================================================
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200417INCOMPATIBLE CHANGES *incompatible-8*
418
419These changes are incompatible with previous releases. Check this list if you
420run into a problem when upgrading from Vim 7.4 to 8.0.
421
Bram Moolenaar09521312016-08-12 22:54:35 +0200422
423Better defaults without a vimrc ~
424
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200425When no vimrc file is found, the |defaults.vim| script is loaded to set more
426useful default values for new users. That includes setting 'nocompatible'.
427Thus Vim no longer starts up in Vi compatible mode. If you do want that,
428either create a .vimrc file that does "set compatible" or start Vim with
Bram Moolenaar036986f2017-03-16 17:41:02 +0100429"vim -C".
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200430
Bram Moolenaar09521312016-08-12 22:54:35 +0200431
432Support removed ~
433
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200434The support for MS-DOS has been removed. It hasn't been working for a while
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200435(Vim doesn't fit in memory) and removing it cleans up the code quite a bit.
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200436
437The support for Windows 16 bit (Windows 95 and older) has been removed.
438
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200439The support for OS/2 has been removed. It probably hasn't been working for a
440while since nobody uses it.
441
Bram Moolenaar09521312016-08-12 22:54:35 +0200442The SNiFF+ support has been removed.
443
444
445Minor incompatibilities: ~
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200446
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200447Probably...
Bram Moolenaar063b9d12016-07-09 20:21:48 +0200448
449==============================================================================
Bram Moolenaar03413f42016-04-12 21:07:15 +0200450IMPROVEMENTS *improvements-8*
451
452The existing blowfish encryption turned out to be much weaker than it was
453supposed to be. The blowfish2 method has been added to fix that. Note that
454this still isn't a state-of-the-art encryption, but good enough for most
455usage. See 'cryptmethod'.
456
Bram Moolenaar36f44c22016-08-28 18:17:20 +0200457
Bram Moolenaar03413f42016-04-12 21:07:15 +0200458==============================================================================
459COMPILE TIME CHANGES *compile-changes-8*
460
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200461The Vim repository was moved from Google code to github, since Google code
462was shut down. It can now be found at https://github.com/vim/vim.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200463
Bram Moolenaardc1f1642016-08-16 18:33:43 +0200464Functions now use ANSI-C declarations. At least a C-89 compatible compiler is
465required.
466
467The +visual feature is now always included.
Bram Moolenaar03413f42016-04-12 21:07:15 +0200468
469==============================================================================
470PATCHES *patches-8* *bug-fixes-8*
471
472The list of patches that got included since 7.4.0. This includes all the new
473features, but does not include runtime file changes (syntax, indent, help,
474etc.)
475
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200476Patch 7.4.001
477Problem: Character classes such as [a-z] do not react to 'ignorecase'.
478 Breaks man page highlighting. (Mario Grgic)
479Solution: Add separate items for classes that react to 'ignorecase'. Clean
480 up logic handling character classes. Add more tests.
481Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
482
483Patch 7.4.002
484Problem: Pattern with two alternative look-behind matches does not match.
485 (Amadeus Demarzi)
486Solution: When comparing PIMs also compare their state ID to see if they are
487 different.
488Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
489
490Patch 7.4.003
491Problem: Memory access error in Ruby syntax highlighting. (Christopher Chow)
492Solution: Refresh stale pointer. (James McCoy)
493Files: src/regexp_nfa.c
494
495Patch 7.4.004
496Problem: When closing a window fails ":bwipe" may hang.
497Solution: Let win_close() return FAIL and break out of the loop.
498Files: src/window.c, src/proto/window.pro, src/buffer.c
499
500Patch 7.4.005
501Problem: Using "vaB" while 'virtualedit' is set selects the wrong area.
502 (Dimitar Dimitrov)
503Solution: Reset coladd when finding a match.
504Files: src/search.c
505
506Patch 7.4.006
507Problem: mkdir("foo/bar/", "p") gives an error message. (David Barnett)
508Solution: Remove the trailing slash. (lcd)
509Files: src/eval.c
510
511Patch 7.4.007
512Problem: Creating a preview window on startup leaves the screen layout in a
513 messed up state. (Marius Gedminas)
514Solution: Don't change firstwin. (Christian Brabandt)
515Files: src/main.c
516
517Patch 7.4.008
518Problem: New regexp engine can't be interrupted.
519Solution: Check for CTRL-C pressed. (Yasuhiro Matsumoto)
520Files: src/regexp_nfa.c, src/regexp.c
521
522Patch 7.4.009
523Problem: When a file was not decrypted (yet), writing it may destroy the
524 contents.
525Solution: Mark the file as readonly until decryption was done. (Christian
526 Brabandt)
527Files: src/fileio.c
528
529Patch 7.4.010 (after 7.4.006)
530Problem: Crash with invalid argument to mkdir().
531Solution: Check for empty string. (lcd47)
532Files: src/eval.c
533
534Patch 7.4.011
535Problem: Cannot find out if "acl" and "xpm" features are supported.
536Solution: Add "acl" and "xpm" to the list of features. (Ken Takata)
537Files: src/eval.c, src/version.c
538
539Patch 7.4.012
540Problem: MS-Windows: resolving shortcut does not work properly with
541 multi-byte characters.
542Solution: Use wide system functions. (Ken Takata)
543Files: src/os_mswin.c
544
545Patch 7.4.013
546Problem: MS-Windows: File name buffer too small for utf-8.
547Solution: Use character count instead of byte count. (Ken Takata)
548Files: src/os_mswin.c
549
550Patch 7.4.014
551Problem: MS-Windows: check for writing to device does not work.
552Solution: Fix #ifdefs. (Ken Takata)
553Files: src/fileio.c
554
555Patch 7.4.015
556Problem: MS-Windows: Detecting node type does not work for multi-byte
557 characters.
558Solution: Use wide character function when needed. (Ken Takata)
559Files: src/os_win32.c
560
561Patch 7.4.016
562Problem: MS-Windows: File name case can be wrong.
563Solution: Add fname_casew(). (Ken Takata)
564Files: src/os_win32.c
565
566Patch 7.4.017
567Problem: ":help !!" does not find the "!!" tag in the help file. (Ben
568 Fritz)
569Solution: When reading the start of the tags file do parse lines that are
570 not header lines.
571Files: src/tag.c
572
573Patch 7.4.018
574Problem: When completing item becomes unselected. (Shougo Matsu)
575Solution: Revert patch 7.3.1269.
576Files: src/edit.c
577
578Patch 7.4.019
579Problem: MS-Windows: File name completion doesn't work properly with
580 Chinese characters. (Yue Wu)
581Solution: Take care of multi-byte characters when looking for the start of
582 the file name. (Ken Takata)
583Files: src/edit.c
584
585Patch 7.4.020
586Problem: NFA engine matches too much with \@>. (John McGowan)
587Solution: When a whole pattern match is found stop searching.
588Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
589
590Patch 7.4.021
591Problem: NFA regexp: Using \ze in one branch which doesn't match may cause
592 end of another branch to be wrong. (William Fugh)
593Solution: Set end position if it wasn't set yet.
594Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
595
596Patch 7.4.022
597Problem: Deadlock while exiting, because of allocating memory.
598Solution: Do not use gettext() in deathtrap(). (James McCoy)
599Files: src/os_unix.c, src/misc1.c
600
601Patch 7.4.023
602Problem: Compiler warning on 64 bit windows.
603Solution: Add type cast. (Mike Williams)
604Files: src/edit.c
605
606Patch 7.4.024
607Problem: When root edits a file the undo file is owned by root while the
608 edited file may be owned by another user, which is not allowed.
609 (cac2s)
610Solution: Accept an undo file owned by the current user.
611Files: src/undo.c
612
613Patch 7.4.025 (after 7.4.019)
614Problem: Reading before start of a string.
615Solution: Do not call mb_ptr_back() at start of a string. (Dominique Pelle)
616Files: src/edit.c
617
618Patch 7.4.026
619Problem: Clang warning for int shift overflow.
620Solution: Use unsigned and cast back to int. (Dominique Pelle)
621Files: src/misc2.c
622
623Patch 7.4.027 (after 7.4.025)
624Problem: Another valgrind error when using CTRL-X CTRL-F at the start of
625 the line. (Dominique Pelle)
626Solution: Don't call mb_ptr_back() at the start of the line. Add a test.
627Files: src/edit.c, src/testdir/test32.in
628
629Patch 7.4.028
630Problem: Equivalence classes are not working for multi-byte characters.
631Solution: Copy the rules from the old to the new regexp engine. Add a test
632 to check both engines.
633Files: src/regexp_nfa.c, src/testdir/test44.in, src/testdir/test99.in,
634 src/testdir/test99.ok, src/testdir/Make_amiga.mak,
635 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
636 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
637 src/testdir/Makefile
638
639Patch 7.4.029
640Problem: An error in a pattern is reported twice.
641Solution: Remove the retry with the backtracking engine, it won't work.
642Files: src/regexp.c
643
644Patch 7.4.030
645Problem: The -mno-cygwin argument is no longer supported by Cygwin.
646Solution: Remove the arguments. (Steve Hall)
647Files: src/GvimExt/Make_cyg.mak, src/Make_cyg.mak, src/xxd/Make_cyg.mak
648
649Patch 7.4.031
650Problem: ":diffoff!" resets options even when 'diff' is not set. (Charles
651 Cooper)
652Solution: Only resets related options in a window where 'diff' is set.
653Files: src/diff.c
654
655Patch 7.4.032
656Problem: NFA engine does not match the NUL character. (Jonathon Merz)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200657Solution: Use 0x0a instead of NUL. (Christian Brabandt)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200658Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
659
660Patch 7.4.033
661Problem: When the terminal has only 20 lines test 92 and 93 overwrite the
662 input file.
663Solution: Explicitly write test.out. Check that the terminal is large enough
664 to run the tests. (Hirohito Higashi)
665Files: src/testdir/test92.in, src/testdir/test93.in,
666 src/testdir/test1.in, src/testdir/Makefile
667
668Patch 7.4.034
669Problem: Using "p" in Visual block mode only changes the first line.
670Solution: Repeat the put in all text in the block. (Christian Brabandt)
671Files: runtime/doc/change.txt, src/ops.c, src/normal.c,
672 src/testdir/test20.in, src/testdir/test20.ok
673
674Patch 7.4.035
675Problem: MS-Windows: The mouse pointer flickers when going from command
676 line mode to Normal mode.
677Solution: Check for WM_NCMOUSEMOVE. (Ken Takata)
678Files: src/gui_w48.c
679
680Patch 7.4.036
681Problem: NFA engine does not capture group correctly when using \@>. (ZyX)
682Solution: Copy submatches before doing the recursive match.
683Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
684
685Patch 7.4.037
686Problem: Using "\ze" in a sub-pattern does not result in the end of the
687 match to be set. (Axel Bender)
688Solution: Copy the end of match position when a recursive match was
689 successful.
690Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
691
692Patch 7.4.038
693Problem: Using "zw" and "zg" when 'spell' is off give a confusing error
694 message. (Gary Johnson)
695Solution: Ignore the error when locating the word. Explicitly mention what
696 word was added. (Christian Brabandt)
697Files: src/normal.c, src/spell.c
698
699Patch 7.4.039
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200700Problem: MS-Windows: MSVC10 and earlier can't handle symlinks to a
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200701 directory properly.
702Solution: Add stat_symlink_aware() and wstat_symlink_aware(). (Ken Takata)
703Files: src/os_mswin.c, src/os_win32.c, src/os_win32.h
704
705Patch 7.4.040
706Problem: Valgrind error on exit when a script-local variable holds a
707 reference to the scope of another script.
708Solution: First clear all variables, then free the scopes. (ZyX)
709Files: src/eval.c
710
711Patch 7.4.041 (after 7.4.034)
712Problem: Visual selection does not remain after being copied over. (Axel
713 Bender)
714Solution: Move when VIsual_active is reset. (Christian Brabandt)
715Files: src/ops.c
716
717Patch 7.4.042
Bram Moolenaar09521312016-08-12 22:54:35 +0200718Problem: When using ":setlocal" for 'spell' and 'spelllang' then :spelldump
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200719 doesn't work. (Dimitar Dimitrov)
720Solution: Copy the option variables to the new window used to show the dump.
721 (Christian Brabandt)
722Files: src/spell.c
723
724Patch 7.4.043
725Problem: VMS can't handle long function names.
726Solution: Shorten may_req_ambiguous_character_width. (Samuel Ferencik)
727Files: src/main.c, src/term.c, src/proto/term.pro
728
729
730Patch 7.4.044 (after 7.4.039)
731Problem: Can't build with old MSVC. (Wang Shoulin)
732Solution: Define OPEN_OH_ARGTYPE instead of using intptr_t directly.
733Files: src/os_mswin.c
734
735Patch 7.4.045
736Problem: substitute() does not work properly when the pattern starts with
737 "\ze".
738Solution: Detect an empty match. (Christian Brabandt)
739Files: src/eval.c, src/testdir/test80.in, src/testdir/test80.ok
740
741Patch 7.4.046
742Problem: Can't use Tcl 8.6.
743Solution: Change how Tcl_FindExecutable is called. (Jan Nijtmans)
744Files: src/if_tcl.c
745
746Patch 7.4.047
747Problem: When using input() in a function invoked by a mapping it doesn't
748 work.
749Solution: Temporarily reset ex_normal_busy. (Yasuhiro Matsumoto)
750Files: src/eval.c
751
752Patch 7.4.048
753Problem: Recent clang version complains about -fno-strength-reduce.
754Solution: Add a configure check for the clang version. (Kazunobu Kuriyama)
755Files: src/configure.in, src/auto/configure
756
757Patch 7.4.049
758Problem: In Ex mode, when line numbers are enabled the substitute prompt is
759 wrong.
760Solution: Adjust for the line number size. (Benoit Pierre)
761Files: src/ex_cmds.c
762
763Patch 7.4.050
764Problem: "gn" selects too much for the pattern "\d" when there are two
765 lines with a single digit. (Ryan Carney)
766Solution: Adjust the logic of is_one_char(). (Christian Brabandt)
767Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
768
769Patch 7.4.051
770Problem: Syntax highlighting a Yaml file causes a crash. (Blake Preston)
771Solution: Copy the pim structure before calling addstate() to avoid it
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200772 becoming invalid when the state list is reallocated.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200773Files: src/regexp_nfa.c
774
775Patch 7.4.052
776Problem: With 'fo' set to "a2" inserting a space in the first column may
777 cause the cursor to jump to the previous line.
778Solution: Handle the case when there is no comment leader properly. (Tor
779 Perkins) Also fix that cursor is in the wrong place when spaces
780 get replaced with a Tab.
781Files: src/misc1.c, src/ops.c, src/testdir/test68.in,
782 src/testdir/test68.ok
783
784Patch 7.4.053
785Problem: Test75 has a wrong header. (ZyX)
786Solution: Fix the text and remove leading ".
787Files: src/testdir/test75.in
788
789Patch 7.4.054
790Problem: Reading past end of the 'stl' string.
791Solution: Don't increment pointer when already at the NUL. (Christian
792 Brabandt)
793Files: src/buffer.c
794
795Patch 7.4.055
796Problem: Mac: Where availability macros are defined depends on the system.
797Solution: Add a configure check. (Felix Bünemann)
798Files: src/config.h.in, src/configure.in, src/auto/configure,
799 src/os_mac.h
800
801Patch 7.4.056
802Problem: Mac: Compilation problem with OS X 10.9 Mavericks.
803Solution: Include AvailabilityMacros.h when available. (Kazunobu Kuriyama)
804Files: src/os_unix.c
805
806Patch 7.4.057
807Problem: byteidx() does not work for composing characters.
808Solution: Add byteidxcomp().
809Files: src/eval.c, src/testdir/test69.in, src/testdir/test69.ok,
810 runtime/doc/eval.txt
811
812Patch 7.4.058
813Problem: Warnings on 64 bit Windows.
814Solution: Add type casts. (Mike Williams)
815Files: src/ops.c
816
817Patch 7.4.059
818Problem: set_last_cursor() may encounter w_buffer being NULL. (Matt
819 Mkaniaris)
820Solution: Check for NULL.
821Files: src/mark.c
822
823Patch 7.4.060
824Problem: Declaration has wrong return type for PyObject_SetAttrString().
825Solution: Use int instead of PyObject. (Andreas Schwab)
826Files: src/if_python.c, src/if_python3.c
827
828Patch 7.4.061 (after 7.4.055 and 7.4.056)
829Problem: Availability macros configure check in wrong place.
830Solution: Also check when not using Darwin. Remove version check.
831Files: src/configure.in, src/auto/configure, src/os_unix.c
832
833Patch 7.4.062 (after 7.4.061)
834Problem: Configure check for AvailabilityMacros.h is wrong.
835Solution: Use AC_CHECK_HEADERS().
836Files: src/configure.in, src/auto/configure
837
838Patch 7.4.063
839Problem: Crash when using invalid key in Python dictionary.
840Solution: Check for object to be NULL. Add tests. (ZyX)
841Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
842 src/testdir/test87.in, src/testdir/test87.ok
843
844Patch 7.4.064
845Problem: When replacing a character in Visual block mode, entering a CR
846 does not cause a repeated line break.
847Solution: Recognize the situation and repeat the line break. (Christian
848 Brabandt)
849Files: src/normal.c, src/ops.c, src/testdir/test39.in,
850 src/testdir/test39.ok
851
852Patch 7.4.065
853Problem: When recording, the character typed at the hit-enter prompt is
854 recorded twice. (Urtica Dioica)
855Solution: Avoid recording the character twice. (Christian Brabandt)
856Files: src/message.c
857
858Patch 7.4.066
859Problem: MS-Windows: When there is a colon in the file name (sub-stream
860 feature) the swap file name is wrong.
861Solution: Change the colon to "%". (Yasuhiro Matsumoto)
862Files: src/fileio.c, src/memline.c, src/misc1.c, src/proto/misc1.pro
863
864Patch 7.4.067
865Problem: After inserting comment leader, CTRL-\ CTRL-O does move the
866 cursor. (Wiktor Ruben)
867Solution: Avoid moving the cursor. (Christian Brabandt)
868Files: src/edit.c
869
870Patch 7.4.068
871Problem: Cannot build Vim on Mac with non-Apple compilers.
872Solution: Remove the -no-cpp-precomp flag. (Misty De Meo)
873Files: src/configure.in, src/auto/configure, src/osdef.sh
874
875Patch 7.4.069
876Problem: Cannot right shift lines starting with #.
877Solution: Allow the right shift when 'cino' contains #N with N > 0.
878 (Christian Brabandt)
879 Refactor parsing 'cino', store the values in the buffer.
880Files: runtime/doc/indent.txt, src/buffer.c, src/edit.c, src/eval.c,
881 src/ex_getln.c, src/fold.c, src/misc1.c, src/ops.c,
882 src/proto/misc1.pro, src/proto/option.pro, src/structs.h,
883 src/option.c
884
885Patch 7.4.070 (after 7.4.069)
886Problem: Can't compile with tiny features. (Tony Mechelynck)
887Solution: Add #ifdef.
888Files: src/buffer.c
889
890Patch 7.4.071 (after 7.4.069)
891Problem: Passing limits around too often.
892Solution: Use limits from buffer.
893Files: src/edit.c, src/misc1.c, src/proto/misc1.pro
894
895Patch 7.4.072
896Problem: Crash when using Insert mode completion.
Bram Moolenaar09521312016-08-12 22:54:35 +0200897Solution: Avoid going past the end of pum_array. (idea by Francisco Lopes)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200898Files: src/popupmnu.c
899
900Patch 7.4.073
901Problem: Setting undolevels for one buffer changes undo in another.
902Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
903Files: runtime/doc/options.txt, src/buffer.c, src/option.c, src/option.h
904 src/structs.h, src/undo.c
905
906Patch 7.4.074
907Problem: When undo'ing all changes and creating a new change the undo
908 structure is incorrect. (Christian Brabandt)
909Solution: When deleting the branch starting at the old header, delete the
910 whole branch, not just the first entry.
911Files: src/undo.c
912
913Patch 7.4.075
914Problem: Locally setting 'undolevels' is not tested.
915Solution: Add a test. (Christian Brabandt)
916Files: src/testdir/test100.in, src/testdir/test100.ok,
917 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
918 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
919 src/testdir/Make_vms.mms, src/testdir/Makefile, src/Makefile
920
921Patch 7.4.076
Bram Moolenaar7e1479b2016-09-11 15:07:27 +0200922Problem: "cgn" does not wrap around the end of the file. (Dimitar Dimitrov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200923Solution: Restore 'wrapscan' earlier. (Christian Brabandt)
924Files: src/search.c
925
926Patch 7.4.077
927Problem: DOS installer creates shortcut without a path, resulting in the
928 current directory to be C:\Windows\system32.
929Solution: Use environment variables.
930Files: src/dosinst.c
931
932Patch 7.4.078
933Problem: MSVC 2013 is not supported.
934Solution: Recognize and support MSVC 2013. (Ed Brown)
935Files: src/Make_mvc.mak
936
937Patch 7.4.079
938Problem: A script cannot detect whether 'hlsearch' highlighting is actually
939 displayed.
940Solution: Add the "v:hlsearch" variable. (ZyX)
941Files: src/eval.c, src/ex_docmd.c,
942 src/option.c, src/screen.c, src/search.c, src/tag.c, src/vim.h,
943 src/testdir/test101.in, src/testdir/test101.ok,
944 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
945 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
946 src/testdir/Make_vms.mms, src/testdir/Makefile
947
948Patch 7.4.080 (after 7.4.079)
949Problem: Missing documentation for v:hlsearch.
950Solution: Include the right file in the patch.
951Files: runtime/doc/eval.txt
952
953Patch 7.4.081 (after 7.4.078)
954Problem: Wrong logic when ANALYZE is "yes".
955Solution: Use or instead of and. (KF Leong)
956Files: src/Make_mvc.mak
957
958Patch 7.4.082
959Problem: Using "gf" in a changed buffer suggests adding "!", which is not
960 possible. (Tim Chase)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +0200961Solution: Pass a flag to check_changed() whether adding ! make sense.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +0200962Files: src/vim.h, src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/globals.h,
963 src/ex_cmds.c, src/ex_docmd.c
964
965Patch 7.4.083
966Problem: It's hard to avoid adding a used pattern to the search history.
967Solution: Add the ":keeppatterns" modifier. (Christian Brabandt)
968Files: runtime/doc/cmdline.txt, src/ex_cmds.h, src/ex_docmd.c,
969 src/ex_getln.c, src/structs.h
970
971Patch 7.4.084
972Problem: Python: interrupt not being properly discarded. (Yggdroot Chen)
973Solution: Discard interrupt in VimTryEnd. (ZyX)
974Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
975 src/testdir/test87.in, src/testdir/test87.ok
976
977Patch 7.4.085
978Problem: When inserting text in Visual block mode and moving the cursor the
979 wrong text gets repeated in other lines.
980Solution: Use the '[ mark to find the start of the actually inserted text.
981 (Christian Brabandt)
982Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
983
984Patch 7.4.086
985Problem: Skipping over an expression when not evaluating it does not work
986 properly for dict members.
987Solution: Skip over unrecognized expression. (ZyX)
988Files: src/eval.c, src/testdir/test34.in, src/testdir/test34.ok
989
990Patch 7.4.087
991Problem: Compiler warning on 64 bit Windows systems.
992Solution: Fix type cast. (Mike Williams)
993Files: src/ops.c
994
995Patch 7.4.088
996Problem: When spell checking is enabled Asian characters are always marked
997 as error.
998Solution: When 'spelllang' contains "cjk" do not mark Asian characters as
999 error. (Ken Takata)
1000Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/mbyte.c,
1001 src/option.c, src/spell.c, src/structs.h
1002
1003Patch 7.4.089
1004Problem: When editing a file in a directory mounted through sshfs Vim
1005 doesn't set the security context on a renamed file.
1006Solution: Add mch_copy_sec() to vim_rename(). (Peter Backes)
1007Files: src/fileio.c
1008
1009Patch 7.4.090
1010Problem: Win32: When a directory name contains an exclamation mark,
1011 completion doesn't complete the contents of the directory.
1012Solution: Escape the exclamation mark. (Jan Stocker)
1013Files: src/ex_getln.c, src/testdir/test102.in, src/testdir/test102.ok,
1014 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
1015 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
1016 src/testdir/Make_vms.mms, src/testdir/Makefile
1017
1018Patch 7.4.091 (after 7.4.089)
1019Problem: Missing semicolon.
1020Solution: Add the semicolon.
1021Files: src/fileio.c
1022
1023Patch 7.4.092 (after 7.4.088)
1024Problem: Can't build small version.
1025Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata)
1026Files: src/spell.c
1027
1028Patch 7.4.093
1029Problem: Configure can't use LuaJIT on ubuntu 12.04.
1030Solution: Adjust the configure regexp that locates the version number.
1031 (Charles Strahan)
1032Files: src/configure.in, src/auto/configure
1033
1034Patch 7.4.094
1035Problem: Configure may not find that -lint is needed for gettext().
1036Solution: Check for gettext() with empty $LIBS. (Thomas De Schampheleire)
1037Files: src/configure.in, src/auto/configure
1038
1039Patch 7.4.095 (after 7.4.093)
1040Problem: Regexp for LuaJIT version doesn't work on BSD.
Bram Moolenaard0796902016-09-16 20:02:31 +02001041Solution: Use "*" instead of "\+" and "\?". (Ozaki Kiichi)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001042Files: src/configure.in, src/auto/configure
1043
1044Patch 7.4.096
1045Problem: Can't change directory to an UNC path.
1046Solution: Use win32_getattrs() in mch_getperm(). (Christian Brabandt)
1047Files: src/os_win32.c
1048
1049Patch 7.4.097 (after 7.4.034)
1050Problem: Unexpected behavior change related to 'virtualedit'. (Ingo Karkat)
1051Solution: Update the valid cursor position. (Christian Brabandt)
1052Files: src/ops.c
1053
1054Patch 7.4.098
1055Problem: When using ":'<,'>del" errors may be given for the visual line
1056 numbers being out of range.
1057Solution: Reset Visual mode in ":del". (Lech Lorens)
1058Files: src/ex_docmd.c, src/testdir/test103.in, src/testdir/test103.ok,
1059 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
1060 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
1061 src/testdir/Make_vms.mms, src/testdir/Makefile
1062
1063Patch 7.4.099
1064Problem: Append in blockwise Visual mode with "$" is wrong.
1065Solution: After "$" don't use the code that checks if the cursor was moved.
1066 (Hirohito Higashi, Ken Takata)
1067Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
1068
1069Patch 7.4.100
1070Problem: NFA regexp doesn't handle backreference correctly. (Ryuichi
1071 Hayashida, Urtica Dioica)
1072Solution: Always add NFA_SKIP, also when it already exists at the start
1073 position.
1074Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
1075
1076Patch 7.4.101
1077Problem: Using \1 in pattern goes one line too far. (Bohr Shaw, John Little)
1078Solution: Only advance the match end for the matched characters in the last
1079 line.
1080Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok
1081
1082Patch 7.4.102
1083Problem: Crash when interrupting "z=".
1084Solution: Add safety check for word length. (Christian Brabandt, Dominique
1085 Pelle)
1086Files: src/spell.c
1087
1088Patch 7.4.103
1089Problem: Dos installer uses an old way to escape spaces in the diff
1090 command.
1091Solution: Adjust the quoting to the new default shellxquote. (Ben Fritz)
1092Files: src/dosinst.c
1093
1094Patch 7.4.104
1095Problem: ":help s/\_" reports an internal error. (John Beckett)
1096Solution: Check for NUL and invalid character classes.
1097Files: src/regexp_nfa.c
1098
1099Patch 7.4.105
1100Problem: Completing a tag pattern may give an error for invalid pattern.
1101Solution: Suppress the error, just return no matches.
1102Files: src/tag.c
1103
1104Patch 7.4.106
1105Problem: Can't build with Ruby using Cygwin.
1106Solution: Fix library name in makefile. (Steve Hall)
1107Files: src/Make_cyg.mak
1108
1109Patch 7.4.107
1110Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the
1111 Python code doesn't catch it. (Yggdroot Chen)
1112Solution: Throw exceptions on errors in vim.eval(). (ZyX)
1113Files: src/ex_eval.c, src/if_py_both.h, src/proto/ex_eval.pro,
1114 src/testdir/test86.in, src/testdir/test86.ok,
1115 src/testdir/test87.in, src/testdir/test87.ok
1116
1117Patch 7.4.108
1118Problem: "zG" and "zW" leave temp files around on MS-Windows.
1119Solution: Delete the temp files when exiting. (Ken Takata)
1120Files: src/memline.c, src/proto/spell.pro, src/spell.c
1121
1122Patch 7.4.109
1123Problem: ColorScheme autocommand matches with the current buffer name.
1124Solution: Match with the colorscheme name. (Christian Brabandt)
1125Files: runtime/doc/autocmd.txt, src/fileio.c, src/syntax.c
1126
1127Patch 7.4.110
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001128Problem: "gUgn" cannot be repeated. (Dimitar Dimitrov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001129Solution: Don't put "gn" in a different order in the redo buffer. Restore
1130 'wrapscan' when the pattern isn't found. (Christian Wellenbrock)
1131Files: src/normal.c, src/search.c, src/test53.in, src/test53.ok
1132
1133Patch 7.4.111
1134Problem: Memory leak in Python OptionsAssItem. (Ken Takata)
1135Solution: Call Py_XDECREF() where needed. (ZyX)
1136Files: src/if_py_both.h
1137
1138Patch 7.4.112
1139Problem: The defaults for 'directory' and 'backupdir' on MS-Windows do not
1140 include a directory that exists.
1141Solution: Use $TEMP.
1142Files: src/os_dos.h
1143
1144Patch 7.4.113
1145Problem: MSVC static analysis gives warnings.
1146Solution: Avoid the warnings and avoid possible bugs. (Ken Takata)
1147Files: src/os_win32.c
1148
1149Patch 7.4.114
1150Problem: New GNU make outputs messages about changing directory in another
1151 format.
1152Solution: Recognize the new format.
1153Files: src/option.h
1154
1155Patch 7.4.115
1156Problem: When using Zsh expanding ~abc doesn't work when the result
1157 contains a space.
1158Solution: Off-by-one error in detecting the NUL. (Pavol Juhas)
1159Files: src/os_unix.c
1160
1161Patch 7.4.116
1162Problem: When a mapping starts with a space, the typed space does not show
1163 up for 'showcmd'.
1164Solution: Show "<20>". (Brook Hong)
1165Files: src/normal.c
1166
1167Patch 7.4.117
1168Problem: Can't build with Cygwin/MingW and Perl 5.18.
1169Solution: Add a linker argument for the Perl library. (Cesar Romani)
1170 Adjust CFLAGS and LIB. (Cesar Romani)
1171 Move including inline.h further down. (Ken Takata)
1172Files: src/Make_cyg.mak, src/Make_ming.mak, src/if_perl.xs
1173
1174Patch 7.4.118
1175Problem: It's possible that redrawing the status lines causes
1176 win_redr_custom() to be called recursively.
1177Solution: Protect against recursiveness. (Yasuhiro Matsumoto)
1178Files: src/screen.c
1179
1180Patch 7.4.119
1181Problem: Vim doesn't work well on OpenVMS.
1182Solution: Fix various problems. (Samuel Ferencik)
1183Files: src/os_unix.c, src/os_unix.h, src/os_vms.c
1184
1185Patch 7.4.120 (after 7.4.117)
1186Problem: Can't build with Perl 5.18 on Linux. (Lcd 47)
1187Solution: Add #ifdef. (Ken Takata)
1188Files: src/if_perl.xs
1189
1190Patch 7.4.121
1191Problem: Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw)
1192Solution: Skip over letters after ":py3".
1193Files: src/ex_docmd.c
1194
1195Patch 7.4.122
1196Problem: Win32: When 'encoding' is set to "utf-8" and the active codepage
1197 is cp932 then ":grep" and other commands don't work for multi-byte
1198 characters.
1199Solution: (Yasuhiro Matsumoto)
1200Files: src/os_win32.c
1201
1202Patch 7.4.123
1203Problem: Win32: Getting user name does not use wide function.
1204Solution: Use GetUserNameW() if possible. (Ken Takata)
1205Files: src/os_win32.c
1206
1207Patch 7.4.124
1208Problem: Win32: Getting host name does not use wide function.
1209Solution: Use GetComputerNameW() if possible. (Ken Takata)
1210Files: src/os_win32.c
1211
1212Patch 7.4.125
1213Problem: Win32: Dealing with messages may not work for multi-byte chars.
1214Solution: Use pDispatchMessage(). (Ken Takata)
1215Files: src/os_win32.c
1216
1217Patch 7.4.126
1218Problem: Compiler warnings for "const" and incompatible types.
1219Solution: Remove "const", add type cast. (Ken Takata)
1220Files: src/os_win32.c
1221
1222Patch 7.4.127
1223Problem: Perl 5.18 on Unix doesn't work.
1224Solution: Move workaround to after including vim.h. (Ken Takata)
1225Files: src/if_perl.xs
1226
1227Patch 7.4.128
1228Problem: Perl 5.18 for MSVC doesn't work.
1229Solution: Add check in makefile and define __inline. (Ken Takata)
1230Files: src/Make_mvc.mak, src/if_perl.xs
1231
1232Patch 7.4.129
1233Problem: getline(-1) returns zero. (mvxxc)
1234Solution: Return an empty string.
1235Files: src/eval.c
1236
1237Patch 7.4.130
1238Problem: Relative line numbers mix up windows when using folds.
1239Solution: Use hasFoldingWin() instead of hasFolding(). (Lech Lorens)
1240Files: src/misc2.c
1241
1242Patch 7.4.131
1243Problem: Syncbind causes E315 errors in some situations. (Liang Li)
1244Solution: Set and restore curbuf in ex_syncbind(). (Christian Brabandt)
1245Files: src/ex_docmd.c, src/testdir/test37.ok
1246
1247Patch 7.4.132 (after 7.4.122)
1248Problem: Win32: flags and inherit_handles arguments mixed up.
1249Solution: Swap the argument. (cs86661)
1250Files: src/os_win32.c
1251
1252Patch 7.4.133
1253Problem: Clang warns for using NUL.
1254Solution: Change NUL to NULL. (Dominique Pelle)
1255Files: src/eval.c, src/misc2.c
1256
1257Patch 7.4.134
1258Problem: Spurious space in MingW Makefile.
1259Solution: Remove the space. (Michael Soyka)
1260Files: src/Make_ming.mak
1261
1262Patch 7.4.135
1263Problem: Missing dot in MingW test Makefile.
1264Solution: Add the dot. (Michael Soyka)
1265Files: src/testdir/Make_ming.mak
1266
1267Patch 7.4.136 (after 7.4.096)
1268Problem: MS-Windows: When saving a file with a UNC path the file becomes
1269 read-only.
1270Solution: Don't mix up Win32 attributes and Unix attributes. (Ken Takata)
1271Files: src/os_mswin.c, src/os_win32.c
1272
1273Patch 7.4.137
1274Problem: Cannot use IME with Windows 8 console.
1275Solution: Change the user of ReadConsoleInput() and PeekConsoleInput().
1276 (Nobuhiro Takasaki)
1277Files: src/os_win32.c
1278
1279Patch 7.4.138 (after 7.4.114)
1280Problem: Directory change messages are not recognized.
1281Solution: Fix using a character range literally. (Lech Lorens)
1282Files: src/option.h
1283
1284Patch 7.4.139
1285Problem: Crash when using :cd in autocommand. (François Ingelrest)
1286Solution: Set w_localdir to NULL after freeing it. (Dominique Pelle)
1287Files: src/ex_docmd.c, src/window.c
1288
1289Patch 7.4.140
1290Problem: Crash when wiping out buffer triggers autocommand that wipes out
1291 only other buffer.
1292Solution: Do not delete the last buffer, make it empty. (Hirohito Higashi)
1293Files: src/buffer.c
1294
1295Patch 7.4.141
1296Problem: Problems when building with Borland: st_mode is signed short;
1297 can't build with Python; temp files not ignored by Mercurial;
1298 building with DEBUG doesn't define _DEBUG.
1299Solution: Fix the problems. (Ken Takata)
1300Files: src/Make_bc5.mak, src/if_py_both.h, src/os_win32.c
1301
1302Patch 7.4.142 (after 7.4.137)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001303Problem: On MS-Windows 8 IME input doesn't work correctly.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001304Solution: Work around the problem. (Nobuhiro Takasaki)
1305Files: src/os_win32.c
1306
1307Patch 7.4.143
1308Problem: TextChangedI is not triggered.
1309Solution: Reverse check for "ready". (lilydjwg)
1310Files: src/edit.c
1311
1312Patch 7.4.144
1313Problem: MingW also supports intptr_t for OPEN_OH_ARGTYPE.
1314Solution: Adjust #ifdef. (Ken Takata)
1315Files: src/os_mswin.c
1316
1317Patch 7.4.145
1318Problem: getregtype() does not return zero for unknown register.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001319Solution: Adjust documentation: return empty string for unknown register.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001320 Check the register name to be valid. (Yukihiro Nakadaira)
1321Files: runtime/doc/eval.txt, src/ops.c
1322
1323Patch 7.4.146
1324Problem: When starting Vim with "-u NONE" v:oldfiles is NULL.
1325Solution: Set v:oldfiles to an empty list. (Yasuhiro Matsumoto)
1326Files: src/main.c
1327
1328Patch 7.4.147
1329Problem: Cursor moves to wrong position when using "gj" after "$" and
1330 virtual editing is active.
1331Solution: Make "gj" behave differently when virtual editing is active.
1332 (Hirohito Higashi)
1333Files: src/normal.c, src/testdir/test39.in, src/testdir/test39.ok
1334
1335Patch 7.4.148
1336Problem: Cannot build with Cygwin and X11.
1337Solution: Include Xwindows.h instead of windows.h. (Lech Lorens)
1338Files: src/mbyte.c
1339
1340Patch 7.4.149
1341Problem: Get E685 error when assigning a function to an autoload variable.
1342 (Yukihiro Nakadaira)
1343Solution: Instead of having a global no_autoload variable, pass an autoload
1344 flag down to where it is used. (ZyX)
1345Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok,
1346 src/testdir/test60.in, src/testdir/test60.ok,
1347 src/testdir/sautest/autoload/footest.vim
1348
1349Patch 7.4.150
1350Problem: :keeppatterns is not respected for :s.
1351Solution: Check the keeppatterns flag. (Yasuhiro Matsumoto)
1352Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
1353
1354Patch 7.4.151
1355Problem: Python: slices with steps are not supported.
1356Solution: Support slices in Python vim.List. (ZyX)
1357Files: src/eval.c, src/if_py_both.h, src/if_python3.c, src/if_python.c,
1358 src/proto/eval.pro, src/testdir/test86.in, src/testdir/test86.ok,
1359 src/testdir/test87.in, src/testdir/test87.ok
1360
1361Patch 7.4.152
1362Problem: Python: Cannot iterate over options.
1363Solution: Add options iterator. (ZyX)
1364Files: src/if_py_both.h, src/option.c, src/proto/option.pro,
1365 src/testdir/test86.in, src/testdir/test86.ok,
1366 src/testdir/test87.in, src/testdir/test87.ok, src/vim.h
1367
1368Patch 7.4.153
1369Problem: Compiler warning for pointer type.
1370Solution: Add type cast.
1371Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
1372
1373Patch 7.4.154 (after 7.4.149)
1374Problem: Still a problem with auto-loading.
1375Solution: Pass no_autoload to deref_func_name(). (Yukihiro Nakadaira)
1376Files: src/eval.c
1377
1378Patch 7.4.155
1379Problem: ":keeppatterns /pat" does not keep search pattern offset.
1380Solution: Restore the offset after doing the search.
1381Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok
1382
1383Patch 7.4.156
1384Problem: Test file missing from distribution.
1385Solution: Add new directory to file list.
1386Files: Filelist
1387
1388Patch 7.4.157
1389Problem: Error number used twice. (Yukihiro Nakadaira)
1390Solution: Change the one not referred in the docs.
1391Files: src/undo.c
1392
1393Patch 7.4.158 (after 7.4.045)
1394Problem: Pattern containing \zs is not handled correctly by substitute().
1395Solution: Change how an empty match is skipped. (Yukihiro Nakadaira)
1396Files: src/eval.c, src/testdir/test80.in, src/testdir/test80.ok
1397
1398Patch 7.4.159
1399Problem: Completion hangs when scanning the current buffer after doing
1400 keywords. (Christian Brabandt)
1401Solution: Set the first match position when starting to scan the current
1402 buffer.
1403Files: src/edit.c
1404
1405Patch 7.4.160
1406Problem: Win32: Crash when executing external command.
1407Solution: Only close the handle when it was created. (Yasuhiro Matsumoto)
1408Files: src/os_win32.c
1409
1410Patch 7.4.161
1411Problem: Crash in Python exception handling.
1412Solution: Only use exception variables if did_throw is set. (ZyX)
Bram Moolenaar259f26a2018-05-15 22:25:40 +02001413Files: src/if_py_both.h
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001414
1415Patch 7.4.162
1416Problem: Running tests in shadow dir doesn't work.
1417Solution: Add testdir/sautest to the shadow target. (James McCoy)
1418Files: src/Makefile
1419
1420Patch 7.4.163 (after 7.4.142)
1421Problem: MS-Windows input doesn't work properly on Windows 7 and earlier.
1422Solution: Add a check for Windows 8. (Yasuhiro Matsumoto)
1423Files: src/os_win32.c
1424
1425Patch 7.4.164 (after 7.4.163)
1426Problem: Problem with event handling on Windows 8.
1427Solution: Ignore duplicate WINDOW_BUFFER_SIZE_EVENTs. (Nobuhiro Takasaki)
1428Files: src/os_win32.c
1429
1430Patch 7.4.165
1431Problem: By default, after closing a buffer changes can't be undone.
1432Solution: In the example vimrc file set 'undofile'.
1433Files: runtime/vimrc_example.vim
1434
1435Patch 7.4.166
1436Problem: Auto-loading a function for code that won't be executed.
1437Solution: Do not auto-load when evaluation is off. (Yasuhiro Matsumoto)
1438Files: src/eval.c
1439
1440Patch 7.4.167 (after 7.4.149)
1441Problem: Fixes are not tested.
1442Solution: Add a test for not autoloading on assignment. (Yukihiro Nakadaira)
1443Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
1444 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
1445 src/testdir/Make_vms.mms, src/testdir/Makefile,
1446 src/testdir/sautest/autoload/Test104.vim, src/testdir/test104.in,
1447 src/testdir/test104.ok
1448
1449Patch 7.4.168
1450Problem: Can't compile with Ruby 2.1.0.
1451Solution: Add support for new GC. (Kohei Suzuki)
1452Files: src/if_ruby.c
1453
1454Patch 7.4.169
1455Problem: ":sleep" puts cursor in the wrong column. (Liang Li)
1456Solution: Add the window offset. (Christian Brabandt)
1457Files: src/ex_docmd.c
1458
1459Patch 7.4.170
1460Problem: Some help tags don't work with ":help". (Tim Chase)
1461Solution: Add exceptions.
1462Files: src/ex_cmds.c
1463
1464Patch 7.4.171
1465Problem: Redo does not set v:count and v:count1.
1466Solution: Use a separate buffer for redo, so that we can set the counts when
1467 performing redo.
1468Files: src/getchar.c, src/globals.h, src/normal.c, src/proto/getchar.pro,
1469 src/structs.h
1470
1471Patch 7.4.172
1472Problem: The blowfish code mentions output feedback, but the code is
1473 actually doing cipher feedback.
1474Solution: Adjust names and comments.
1475Files: src/blowfish.c, src/fileio.c, src/proto/blowfish.pro,
1476 src/memline.c
1477
1478Patch 7.4.173
1479Problem: When using scrollbind the cursor can end up below the last line.
1480 (mvxxc)
1481Solution: Reset w_botfill when scrolling up. (Christian Brabandt)
1482Files: src/move.c
1483
1484Patch 7.4.174
1485Problem: Compiler warnings for Python interface. (Tony Mechelynck)
1486Solution: Add type casts, initialize variable.
1487Files: src/if_py_both.h
1488
1489Patch 7.4.175
1490Problem: When a wide library function fails, falling back to the non-wide
1491 function may do the wrong thing.
1492Solution: Check the platform, when the wide function is supported don't fall
1493 back to the non-wide function. (Ken Takata)
1494Files: src/os_mswin.c, src/os_win32.c
1495
1496Patch 7.4.176
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001497Problem: Dictionary.update() throws an error when used without arguments.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001498 Python programmers don't expect that.
1499Solution: Make Dictionary.update() without arguments do nothing. (ZyX)
1500Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test87.in
1501
1502Patch 7.4.177
1503Problem: Compiler warning for unused variable. (Tony Mechelynck)
1504Solution: Add #ifdef.
1505Files: src/move.c
1506
1507Patch 7.4.178
1508Problem: The J command does not update '[ and '] marks. (William Gardner)
1509Solution: Set the marks. (Christian Brabandt)
1510Files: src/ops.c
1511
1512Patch 7.4.179
1513Problem: Warning for type-punned pointer. (Tony Mechelynck)
1514Solution: Use intermediate variable.
1515Files: src/if_py_both.h
1516
1517Patch 7.4.180 (after 7.4.174)
1518Problem: Older Python versions don't support %ld.
1519Solution: Use %d instead. (ZyX)
1520Files: src/if_py_both.h
1521
1522Patch 7.4.181
1523Problem: When using 'pastetoggle' the status lines are not updated. (Samuel
1524 Ferencik, Jan Christoph Ebersbach)
1525Solution: Update the status lines. (Nobuhiro Takasaki)
1526Files: src/getchar.c
1527
1528Patch 7.4.182
1529Problem: Building with mzscheme and racket does not work. (David Chimay)
1530Solution: Adjust autoconf. (Sergey Khorev)
1531Files: src/configure.in, src/auto/configure
1532
1533Patch 7.4.183
1534Problem: MSVC Visual Studio update not supported.
Bram Moolenaar09521312016-08-12 22:54:35 +02001535Solution: Add version number. (Mike Williams)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001536Files: src/Make_mvc.mak
1537
1538Patch 7.4.184
1539Problem: match() does not work properly with a {count} argument.
1540Solution: Compute the length once and update it. Quit the loop when at the
1541 end. (Hirohito Higashi)
1542Files: src/eval.c, src/testdir/test53.in, src/testdir/test53.ok
1543
1544Patch 7.4.185
1545Problem: Clang gives warnings.
1546Solution: Adjust how bigness is set. (Dominique Pelle)
1547Files: src/ex_cmds.c
1548
1549Patch 7.4.186 (after 7.4.085)
1550Problem: Insert in Visual mode sometimes gives incorrect results.
1551 (Dominique Pelle)
1552Solution: Remember the original insert start position. (Christian Brabandt,
1553 Dominique Pelle)
1554Files: src/edit.c, src/globals.h, src/ops.c, src/structs.h
1555
1556Patch 7.4.187
1557Problem: Delete that crosses line break splits multi-byte character.
1558Solution: Advance a character instead of a byte. (Cade Foster)
1559Files: src/normal.c, src/testdir/test69.in, src/testdir/test69.ok
1560
1561Patch 7.4.188
1562Problem: SIZEOF_LONG clashes with similar defines in header files.
1563Solution: Rename to a name starting with VIM_. Also for SIZEOF_INT.
1564Files: src/if_ruby.c, src/vim.h, src/configure.in, src/auto/configure,
1565 src/config.h.in, src/fileio.c, src/if_python.c, src/message.c,
1566 src/spell.c, src/feature.h, src/os_os2_cfg.h, src/os_vms_conf.h,
1567 src/os_win16.h, src/structs.h
1568
1569Patch 7.4.189
1570Problem: Compiler warning for unused argument.
1571Solution: Add UNUSED.
1572Files: src/eval.c
1573
1574Patch 7.4.190
1575Problem: Compiler warning for using %lld for off_t.
1576Solution: Add type cast.
1577Files: src/fileio.c
1578
1579Patch 7.4.191
1580Problem: Escaping a file name for shell commands can't be done without a
1581 function.
1582Solution: Add the :S file name modifier.
1583Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
1584 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
1585 src/testdir/Make_vms.mms, src/testdir/Makefile,
1586 src/testdir/test105.in, src/testdir/test105.ok,
1587 runtime/doc/cmdline.txt, runtime/doc/eval.txt,
1588 runtime/doc/map.txt, runtime/doc/options.txt,
1589 runtime/doc/quickfix.txt, runtime/doc/usr_30.txt,
1590 runtime/doc/usr_40.txt, runtime/doc/usr_42.txt,
1591 runtime/doc/vi_diff.txt, src/eval.c, src/misc2.c, src/normal.c,
1592 src/proto/misc2.pro
1593
1594Patch 7.4.192
1595Problem: Memory leak when giving E853.
1596Solution: Free the argument. (Dominique Pelle)
1597Files: src/eval.c
1598
1599Patch 7.4.193
1600Problem: Typos in messages.
1601Solution: "then" -> "than". (Dominique Pelle)
1602Files: src/if_py_both.h, src/spell.c
1603
1604Patch 7.4.194
1605Problem: Can't build for Android.
1606Solution: Add #if condition. (Fredrik Fornwall)
1607Files: src/mbyte.c
1608
1609Patch 7.4.195 (after 7.4.193)
1610Problem: Python tests fail.
1611Solution: Change "then" to "than" in more places. (Dominique Pelle, Taro
1612 Muraoka)
1613Files: src/testdir/test86.in, src/testdir/test86.ok,
1614 src/testdir/test87.in, src/testdir/test87.ok
1615
1616Patch 7.4.196
1617Problem: Tests fail on Solaris 9 and 10.
1618Solution: Use "test -f" instead of "test -e". (Laurent Blume)
1619Files: src/testdir/Makefile
1620
1621Patch 7.4.197
1622Problem: Various problems on VMS.
1623Solution: Fix several VMS problems. (Zoltan Arpadffy)
1624Files: runtime/doc/os_vms.txt, src/Make_vms.mms, src/fileio.c,
1625 src/os_unix.c, src/os_unix.h, src/os_vms.c, src/os_vms_conf.h,
1626 src/proto/os_vms.pro, src/testdir/Make_vms.mms,
1627 src/testdir/test72.in, src/testdir/test77a.com,
1628 src/testdir/test77a.in, src/testdir/test77a.ok src/undo.c
1629
1630Patch 7.4.198
1631Problem: Can't build Vim with Perl when -Dusethreads is not specified for
1632 building Perl, and building Vim with --enable-perlinterp=dynamic.
1633Solution: Adjust #ifdefs. (Yasuhiro Matsumoto)
1634Files: src/if_perl.xs
1635
1636Patch 7.4.199
1637Problem: (issue 197) ]P doesn't paste over Visual selection.
1638Solution: Handle Visual mode specifically. (Christian Brabandt)
1639Files: src/normal.c
1640
1641Patch 7.4.200
1642Problem: Too many #ifdefs in the code.
1643Solution: Enable FEAT_VISUAL always, await any complaints
1644Files: src/feature.h
1645
1646Patch 7.4.201
1647Problem: 'lispwords' is a global option.
1648Solution: Make 'lispwords' global-local. (Sung Pae)
1649Files: runtime/doc/options.txt, runtime/optwin.vim, src/buffer.c,
1650 src/misc1.c, src/option.c, src/option.h, src/structs.h,
1651 src/testdir/test100.in, src/testdir/test100.ok
1652
1653Patch 7.4.202
1654Problem: MS-Windows: non-ASCII font names don't work.
1655Solution: Convert between the current code page and 'encoding'. (Ken Takata)
1656Files: src/gui_w48.c, src/os_mswin.c, src/proto/winclip.pro,
1657 src/winclip.c
1658
1659Patch 7.4.203
1660Problem: Parsing 'errorformat' is not correct.
1661Solution: Reset "multiignore" at the start of a multi-line message. (Lcd)
1662Files: src/quickfix.c, src/testdir/Make_amiga.mak,
1663 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
1664 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
1665 src/testdir/Makefile, src/testdir/test106.in,
1666 src/testdir/test106.ok
1667
1668Patch 7.4.204
1669Problem: A mapping where the second byte is 0x80 doesn't work.
1670Solution: Unescape before checking for incomplete multi-byte char. (Nobuhiro
1671 Takasaki)
1672Files: src/getchar.c, src/testdir/test75.in, src/testdir/test75.ok
1673
1674Patch 7.4.205
1675Problem: ":mksession" writes command to move to second argument while it
1676 does not exist. When it does exist the order might be wrong.
1677Solution: Use ":argadd" for each argument instead of using ":args" with a
1678 list of names. (Nobuhiro Takasaki)
1679Files: src/ex_docmd.c
1680
1681Patch 7.4.206
1682Problem: Compiler warnings on 64 bit Windows.
1683Solution: Add type casts. (Mike Williams)
1684Files: src/gui_w48.c, src/os_mswin.c
1685
1686Patch 7.4.207
1687Problem: The cursor report sequence is sometimes not recognized and results
1688 in entering replace mode.
1689Solution: Also check for the cursor report when not asked for.
1690Files: src/term.c
1691
1692Patch 7.4.208
1693Problem: Mercurial picks up some files that are not distributed.
1694Solution: Add patterns to the ignore list. (Cade Forester)
1695Files: .hgignore
1696
1697Patch 7.4.209
1698Problem: When repeating a filter command "%" and "#" are expanded.
1699Solution: Escape the command when storing for redo. (Christian Brabandt)
1700Files: src/ex_cmds.c
1701
1702Patch 7.4.210
1703Problem: Visual block mode plus virtual edit doesn't work well with tabs.
1704 (Liang Li)
1705Solution: Take coladd into account. (Christian Brabandt)
1706Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
1707
1708Patch 7.4.211
1709Problem: ":lu" is an abbreviation for ":lua", but it should be ":lunmap".
1710 (ZyX)
1711Solution: Move "lunmap" to above "lua".
1712Files: src/ex_cmds.h
1713
1714Patch 7.4.212 (after 7.4.200)
1715Problem: Now that the +visual feature is always enabled the #ifdefs for it
1716 are not useful.
1717Solution: Remove the checks for FEAT_VISUAL.
1718Files: src/buffer.c, src/charset.c, src/edit.c, src/eval.c,
1719 src/ex_cmds.c, src/ex_docmd.c, src/fold.c, src/getchar.c,
1720 src/gui.c, src/gui_mac.c, src/gui_w48.c, src/main.c, src/mark.c,
1721 src/menu.c, src/misc2.c, src/move.c, src/netbeans.c, src/normal.c,
1722 src/ops.c, src/option.c, src/os_msdos.c, src/os_qnx.c,
1723 src/quickfix.c, src/regexp.c, src/regexp_nfa.c, src/screen.c,
1724 src/search.c, src/spell.c, src/syntax.c, src/term.c, src/ui.c,
1725 src/undo.c, src/version.c, src/window.c, src/feature.h,
1726 src/globals.h, src/option.h, src/os_win32.h, src/structs.h
1727
1728Patch 7.4.213
1729Problem: It's not possible to open a new buffer without creating a swap
1730 file.
1731Solution: Add the ":noswapfile" modifier. (Christian Brabandt)
1732Files: runtime/doc/recover.txt, src/ex_cmds.h, src/ex_docmd.c,
1733 src/memline.c, src/structs.h
1734
1735Patch 7.4.214
1736Problem: Compilation problems on HP_nonStop (Tandem).
1737Solution: Add #defines. (Joachim Schmitz)
1738Files: src/vim.h
1739
1740Patch 7.4.215
1741Problem: Inconsistency: ":sp foo" does not reload "foo", unless "foo" is
1742 the current buffer. (Liang Li)
1743Solution: Do not reload the current buffer on a split command.
1744Files: runtime/doc/windows.txt, src/ex_docmd.c
1745
1746Patch 7.4.216
1747Problem: Compiler warnings. (Tony Mechelynck)
1748Solution: Initialize variables, add #ifdef.
1749Files: src/term.c, src/os_unix.h
1750
1751Patch 7.4.217
1752Problem: When src/auto/configure was updated, "make clean" would run
1753 configure pointlessly.
1754Solution: Do not run configure for "make clean" and "make distclean" when
1755 the make program supports $MAKECMDGOALS. (Ken Takata)
1756Files: src/Makefile
1757
1758Patch 7.4.218
1759Problem: It's not easy to remove duplicates from a list.
Bram Moolenaard0796902016-09-16 20:02:31 +02001760Solution: Add the uniq() function. (Lcd)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001761Files: runtime/doc/change.txt, runtime/doc/eval.txt,
1762 runtime/doc/usr_41.txt, runtime/doc/version7.txt, src/eval.c,
1763 src/testdir/test55.in, src/testdir/test55.ok
1764
1765Patch 7.4.219
1766Problem: When 'relativenumber' or 'cursorline' are set the window is
1767 redrawn much to often. (Patrick Hemmer, Dominique Pelle)
1768Solution: Check the VALID_CROW flag instead of VALID_WROW.
1769Files: src/move.c
1770
1771Patch 7.4.220
1772Problem: Test 105 does not work in a shadow dir. (James McCoy)
1773Solution: Omit "src/" from the checked path.
1774Files: src/testdir/test105.in, src/testdir/test105.ok
1775
1776Patch 7.4.221
1777Problem: Quickfix doesn't resize on ":copen 20". (issue 199)
1778Solution: Resize the window when requested. (Christian Brabandt)
1779Files: src/quickfix.c
1780
1781Patch 7.4.222
1782Problem: The Ruby directory is constructed from parts.
1783Solution: Use 'rubyarchhdrdir' if it exists. (James McCoy)
1784Files: src/configure.in, src/auto/configure
1785
1786Patch 7.4.223
1787Problem: Still using an older autoconf version.
1788Solution: Switch to autoconf 2.69.
1789Files: src/Makefile, src/configure.in, src/auto/configure
1790
1791Patch 7.4.224
1792Problem: /usr/bin/grep on Solaris does not support -F.
1793Solution: Add configure check to find a good grep. (Danek Duvall)
1794Files: src/configure.in, src/auto/configure
1795
1796Patch 7.4.225
1797Problem: Dynamic Ruby doesn't work on Solaris.
1798Solution: Always use the stubs. (Danek Duvall, Yukihiro Nakadaira)
1799Files: src/if_ruby.c
1800
1801Patch 7.4.226 (after 7.4.219)
Bram Moolenaar7db25fe2018-05-13 00:02:36 +02001802Problem: Cursorline highlighting not redrawn when scrolling. (John
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001803 Marriott)
1804Solution: Check for required redraw in two places.
1805Files: src/move.c
1806
1807Patch 7.4.227 (after 7.4.225)
1808Problem: Can't build with Ruby 1.8.
1809Solution: Do include a check for the Ruby version. (Ken Takata)
1810Files: src/if_ruby.c
1811
1812Patch 7.4.228
1813Problem: Compiler warnings when building with Python 3.2.
1814Solution: Make type cast depend on Python version. (Ken Takata)
1815Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
1816
1817Patch 7.4.229
1818Problem: Using ":let" for listing variables and the second one is a curly
1819 braces expression may fail.
1820Solution: Check for an "=" in a better way. (ZyX)
1821Files: src/eval.c, src/testdir/test104.in, src/testdir/test104.ok
1822
1823Patch 7.4.230
1824Problem: Error when using ":options".
1825Solution: Fix the entry for 'lispwords'. (Kenichi Ito)
1826Files: runtime/optwin.vim
1827
1828Patch 7.4.231
1829Problem: An error in ":options" is not caught by the tests.
1830Solution: Add a test for ":options". Set $VIMRUNTIME for the tests so that
1831 it uses the current runtime files instead of the installed ones.
1832Files: src/Makefile, src/testdir/Makefile, src/testdir/test_options.in,
1833 src/testdir/test_options.ok, src/testdir/Make_amiga.mak,
1834 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
1835 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
1836
1837Patch 7.4.232
1838Problem: ":%s/\n//" uses a lot of memory. (Aidan Marlin)
1839Solution: Turn this into a join command. (Christian Brabandt)
1840Files: src/ex_cmds.c, src/ex_docmd.c, src/proto/ex_docmd.pro
1841
1842Patch 7.4.233
1843Problem: Escaping special characters for using "%" with a shell command is
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02001844 inconsistent, parentheses are escaped but spaces are not.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001845Solution: Only escape "!". (Gary Johnson)
1846Files: src/ex_docmd.c
1847
1848Patch 7.4.234
1849Problem: Can't get the command that was used to start Vim.
1850Solution: Add v:progpath. (Viktor Kojouharov)
1851Files: runtime/doc/eval.txt, src/eval.c, src/main.c, src/vim.h
1852
1853Patch 7.4.235
1854Problem: It is not easy to get the full path of a command.
1855Solution: Add the exepath() function.
1856Files: src/eval.c, src/misc1.c, src/os_amiga.c, src/os_msdos.c,
1857 src/os_unix.c, src/os_vms.c, src/os_win32.c,
1858 src/proto/os_amiga.pro, src/proto/os_msdos.pro,
1859 src/proto/os_unix.pro, src/proto/os_win32.pro,
1860 runtime/doc/eval.txt
1861
1862Patch 7.4.236
1863Problem: It's not that easy to check the Vim patch version.
1864Solution: Make has("patch-7.4.123") work. (partly by Marc Weber)
1865Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test60.in,
1866 src/testdir/test60.ok
1867
1868Patch 7.4.237 (after 7.4.236)
Bram Moolenaar036986f2017-03-16 17:41:02 +01001869Problem: When some patches were not included has("patch-7.4.123") may return
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02001870 true falsely.
1871Solution: Check for the specific patch number.
1872Files: runtime/doc/eval.txt, src/eval.c
1873
1874Patch 7.4.238
1875Problem: Vim does not support the smack library.
1876Solution: Add smack support (Jose Bollo)
1877Files: src/config.h.in, src/configure.in, src/fileio.c, src/memfile.c,
1878 src/os_unix.c, src/undo.c, src/auto/configure
1879
1880Patch 7.4.239
1881Problem: ":e +" does not position cursor at end of the file.
1882Solution: Check for "+" being the last character (ZyX)
1883Files: src/ex_docmd.c
1884
1885Patch 7.4.240
1886Problem: ":tjump" shows "\n" as "\\n".
1887Solution: Skip over "\" that escapes a backslash. (Gary Johnson)
1888Files: src/tag.c
1889
1890Patch 7.4.241
1891Problem: The string returned by submatch() does not distinguish between a
1892 NL from a line break and a NL that stands for a NUL character.
1893Solution: Add a second argument to return a list. (ZyX)
1894Files: runtime/doc/eval.txt, src/eval.c, src/proto/regexp.pro,
1895 src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok,
1896 src/testdir/test80.in, src/testdir/test80.ok
1897
1898Patch 7.4.242
1899Problem: getreg() does not distinguish between a NL used for a line break
1900 and a NL used for a NUL character.
1901Solution: Add another argument to return a list. (ZyX)
1902Files: runtime/doc/eval.txt, src/eval.c src/ops.c, src/proto/ops.pro,
1903 src/vim.h, src/Makefile, src/testdir/test_eval.in,
1904 src/testdir/test_eval.ok, src/testdir/Make_amiga.mak,
1905 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
1906 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
1907
1908Patch 7.4.243
1909Problem: Cannot use setreg() to add text that includes a NUL.
1910Solution: Make setreg() accept a list.
1911Files: runtime/doc/eval.txt, src/eval.c, src/ops.c, src/proto/ops.pro,
1912 src/testdir/test_eval.in, src/testdir/test_eval.ok
1913
1914Patch 7.4.244 (after 7.4.238)
1915Problem: The smack feature causes stray error messages.
1916Solution: Remove the error messages.
1917Files: src/os_unix.c
1918
1919Patch 7.4.245
1920Problem: Crash for "vim -u NONE -N -c '&&'".
1921Solution: Check for the pattern to be NULL. (Dominique Pelle)
1922Files: src/ex_cmds.c
1923
1924Patch 7.4.246
1925Problem: Configure message for detecting smack are out of sequence.
1926Solution: Put the messages in the right place. (Kazunobu Kuriyama)
1927Files: src/configure.in, src/auto/configure
1928
1929Patch 7.4.247
1930Problem: When passing input to system() there is no way to keep NUL and
1931 NL characters separate.
1932Solution: Optionally use a list for the system() input. (ZyX)
1933Files: runtime/doc/eval.txt, src/eval.c
1934
1935Patch 7.4.248
1936Problem: Cannot distinguish between NL and NUL in output of system().
1937Solution: Add systemlist(). (ZyX)
1938Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmds2.c, src/misc1.c,
1939 src/proto/misc1.pro
1940
1941Patch 7.4.249
1942Problem: Using setreg() with a list of numbers does not work.
1943Solution: Use a separate buffer for numbers. (ZyX)
1944Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
1945
1946Patch 7.4.250
1947Problem: Some test files missing from distribution.
1948Solution: Add pattern for newly added tests.
1949Files: Filelist
1950
1951Patch 7.4.251
1952Problem: Crash when BufAdd autocommand wipes out the buffer.
1953Solution: Check for buffer to still be valid. Postpone freeing the buffer
1954 structure. (Hirohito Higashi)
1955Files: src/buffer.c, src/ex_cmds.c, src/fileio.c, src/globals.h
1956
1957Patch 7.4.252
1958Problem: Critical error in GTK, removing timer twice.
1959Solution: Clear the timer after removing it. (James McCoy)
1960Files: src/gui_gtk_x11.c
1961
1962Patch 7.4.253
1963Problem: Crash when using cpp syntax file with pattern using external
1964 match. (Havard Garnes)
1965Solution: Discard match when end column is before start column.
1966Files: src/regexp.c, src/regexp_nfa.c
1967
1968Patch 7.4.254
1969Problem: Smack support detection is incomplete.
1970Solution: Check for attr/xattr.h and specific macro.
1971Files: src/configure.in, src/auto/configure
1972
1973Patch 7.4.255
1974Problem: Configure check for smack doesn't work with all shells. (David
1975 Larson)
1976Solution: Remove spaces in set command.
1977Files: src/configure.in, src/auto/configure
1978
1979Patch 7.4.256 (after 7.4.248)
1980Problem: Using systemlist() may cause a crash and does not handle NUL
1981 characters properly.
1982Solution: Increase the reference count, allocate memory by length. (Yasuhiro
1983 Matsumoto)
1984Files: src/eval.c
1985
1986Patch 7.4.257
1987Problem: Compiler warning, possibly for mismatch in parameter name.
1988Solution: Rename the parameter in the declaration.
1989Files: src/ops.c
1990
1991Patch 7.4.258
1992Problem: Configure fails if $CC contains options.
1993Solution: Remove quotes around $CC. (Paul Barker)
1994Files: src/configure.in, src/auto/configure
1995
1996Patch 7.4.259
1997Problem: Warning for misplaced "const".
1998Solution: Move the "const". (Yukihiro Nakadaira)
1999Files: src/os_unix.c
2000
2001Patch 7.4.260
2002Problem: It is possible to define a function with a colon in the name. It
2003 is possible to define a function with a lower case character if a
2004 "#" appears after the name.
2005Solution: Disallow using a colon other than with "s:". Ignore "#" after the
2006 name.
2007Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_eval.in,
2008 src/testdir/test_eval.ok
2009
2010Patch 7.4.261
2011Problem: When updating the window involves a regexp pattern, an interactive
2012 substitute to replace a "\n" with a line break fails. (Ingo
2013 Karkat)
2014Solution: Set reg_line_lbr in vim_regsub() and vim_regsub_multi().
2015Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok
2016
2017Patch 7.4.262
2018Problem: Duplicate code in regexec().
2019Solution: Add line_lbr flag to regexec_nl().
2020Files: src/regexp.c, src/regexp_nfa.c, src/regexp.h
2021
2022Patch 7.4.263
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002023Problem: GCC 4.8 compiler warning for hiding a declaration (François Gannaz)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002024Solution: Remove the second declaration.
2025Files: src/eval.c
2026
2027Patch 7.4.264 (after 7.4.260)
2028Problem: Can't define a function starting with "g:". Can't assign a
2029 funcref to a buffer-local variable.
2030Solution: Skip "g:" at the start of a function name. Don't check for colons
2031 when assigning to a variable.
2032Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
2033
2034Patch 7.4.265 (after 7.4.260)
2035Problem: Can't call a global function with "g:" in an expression.
2036Solution: Skip the "g:" when looking up the function.
2037Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
2038
2039Patch 7.4.266
2040Problem: Test 62 fails.
2041Solution: Set the language to C. (Christian Brabandt)
2042Files: src/testdir/test62.in
2043
2044Patch 7.4.267 (after 7.4.178)
2045Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat)
2046Solution: Add the setmark argument to do_join(). (Christian Brabandt)
2047Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2048 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2049 src/testdir/Make_vms.mms, src/testdir/Makefile,
2050 src/testdir/test_autoformat_join.in,
2051 src/testdir/test_autoformat_join.ok, src/Makefile, src/edit.c,
2052 src/ex_cmds.c, src/ex_docmd.c, src/normal.c, src/ops.c,
2053 src/proto/ops.pro
2054
2055Patch 7.4.268
2056Problem: Using exists() on a funcref for a script-local function does not
2057 work.
2058Solution: Translate <SNR> to the special byte sequence. Add a test.
2059Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok,
2060 src/testdir/test_eval_func.vim, Filelist
2061
2062Patch 7.4.269
2063Problem: CTRL-U in Insert mode does not work after using a cursor key.
2064 (Pine Wu)
2065Solution: Use the original insert start position. (Christian Brabandt)
2066Files: src/edit.c, src/testdir/test29.in, src/testdir/test29.ok
2067
2068Patch 7.4.270
2069Problem: Comparing pointers instead of the string they point to.
2070Solution: Use strcmp(). (Ken Takata)
2071Files: src/gui_gtk_x11.c
2072
2073Patch 7.4.271
2074Problem: Compiler warning on 64 bit windows.
2075Solution: Add type cast. (Mike Williams)
2076Files: src/ops.c
2077
2078Patch 7.4.272
2079Problem: Using just "$" does not cause an error message.
2080Solution: Check for empty environment variable name. (Christian Brabandt)
2081Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
2082
2083Patch 7.4.273
2084Problem: "make autoconf" and "make reconfig" may first run configure and
2085 then remove the output.
2086Solution: Add these targets to the exceptions. (Ken Takata)
2087Files: src/Makefile
2088
2089Patch 7.4.274
2090Problem: When doing ":update" just before running an external command that
2091 changes the file, the timestamp may be unchanged and the file
2092 is not reloaded.
2093Solution: Also check the file size.
2094Files: src/fileio.c
2095
2096Patch 7.4.275
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002097Problem: When changing the type of a sign that hasn't been placed there is
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002098 no error message.
2099Solution: Add an error message. (Christian Brabandt)
2100Files: src/ex_cmds.c
2101
2102Patch 7.4.276
2103Problem: The fish shell is not supported.
2104Solution: Use begin/end instead of () for fish. (Andy Russell)
2105Files: src/ex_cmds.c, src/misc1.c, src/option.c, src/proto/misc1.pro
2106
2107Patch 7.4.277
2108Problem: Using ":sign unplace *" may leave the cursor in the wrong position
2109 (Christian Brabandt)
2110Solution: Update the cursor position when removing all signs.
2111Files: src/buffer.c
2112
2113Patch 7.4.278
2114Problem: list_remove() conflicts with function defined in Sun header file.
2115Solution: Rename the function. (Richard Palo)
2116Files: src/eval.c, src/if_lua.c, src/if_py_both.h, src/proto/eval.pro
2117
2118Patch 7.4.279
2119Problem: globpath() returns a string, making it difficult to get a list of
2120 matches. (Greg Novack)
2121Solution: Add an optional argument like with glob(). (Adnan Zafar)
2122Files: runtime/doc/eval.txt, src/eval.c, src/ex_getln.c, src/misc1.c,
2123 src/misc2.c, src/proto/ex_getln.pro, src/proto/misc2.pro,
2124 src/testdir/test97.in, src/testdir/test97.ok
2125
2126Patch 7.4.280
2127Problem: When using a session file the relative position of the cursor is
2128 not restored if there is another tab. (Nobuhiro Takasaki)
2129Solution: Update w_wrow before calculating the fraction.
2130Files: src/window.c
2131
2132Patch 7.4.281
2133Problem: When a session file has more than one tabpage and 'showtabline' is
2134 one the positions may be slightly off.
2135Solution: Set 'showtabline' to two while positioning windows.
2136Files: src/ex_docmd.c
2137
2138Patch 7.4.282 (after 7.4.279)
2139Problem: Test 97 fails on Mac.
2140Solution: Do not ignore case in file names. (Jun Takimoto)
2141Files: src/testdir/test97.in
2142
2143Patch 7.4.283 (after 7.4.276)
2144Problem: Compiler warning about unused variable. (Charles Cooper)
2145Solution: Move the variable inside the #if block.
2146Files: src/ex_cmds.c
2147
2148Patch 7.4.284
2149Problem: Setting 'langmap' in the modeline can cause trouble. E.g. mapping
2150 ":" breaks many commands. (Jens-Wolfhard Schicke-Uffmann)
2151Solution: Disallow setting 'langmap' from the modeline.
2152Files: src/option.c
2153
2154Patch 7.4.285
2155Problem: When 'relativenumber' is set and deleting lines or undoing that,
2156 line numbers are not always updated. (Robert Arkwright)
2157Solution: (Christian Brabandt)
2158Files: src/misc1.c
2159
2160Patch 7.4.286
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002161Problem: Error messages are inconsistent. (ZyX)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002162Solution: Change "Lists" to "list".
2163Files: src/eval.c
2164
2165Patch 7.4.287
2166Problem: Patches for .hgignore don't work, since the file is not in the
2167 distribution.
2168Solution: Add .hgignore to the distribution. Will be effective with the
2169 next version.
2170Files: Filelist
2171
2172Patch 7.4.288
2173Problem: When 'spellfile' is set the screen is not redrawn.
2174Solution: Redraw when updating the spelling info. (Christian Brabandt)
2175Files: src/spell.c
2176
2177Patch 7.4.289
2178Problem: Pattern with repeated backreference does not match with new regexp
2179 engine. (Urtica Dioica)
2180Solution: Also check the end of a submatch when deciding to put a state in
2181 the state list.
2182Files: src/testdir/test64.in, src/testdir/test64.ok, src/regexp_nfa.c
2183
2184Patch 7.4.290
2185Problem: A non-greedy match followed by a branch is too greedy. (Ingo
2186 Karkat)
2187Solution: Add NFA_MATCH when it is already in the state list if the position
2188 differs.
2189Files: src/testdir/test64.in, src/testdir/test64.ok, src/regexp_nfa.c
2190
2191Patch 7.4.291
2192Problem: Compiler warning for int to pointer of different size when DEBUG
2193 is defined.
2194Solution: use smsg() instead of EMSG3().
2195Files: src/regexp.c
2196
2197Patch 7.4.292
2198Problem: Searching for "a" does not match accented "a" with new regexp
2199 engine, does match with old engine. (David Bürgin)
2200 "ca" does not match "ca" with accented "a" with either engine.
2201Solution: Change the old engine, check for following composing character
2202 also for single-byte patterns.
2203Files: src/regexp.c, src/testdir/test95.in, src/testdir/test95.ok
2204
2205Patch 7.4.293
2206Problem: It is not possible to ignore composing characters at a specific
2207 point in a pattern.
2208Solution: Add the %C item.
2209Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test95.in,
2210 src/testdir/test95.ok, runtime/doc/pattern.txt
2211
2212Patch 7.4.294 (7.4.293)
2213Problem: Test files missing from patch.
2214Solution: Patch the test files.
2215Files: src/testdir/test95.in, src/testdir/test95.ok
2216
2217Patch 7.4.295
2218Problem: Various typos, bad white space and unclear comments.
2219Solution: Fix typos. Improve white space. Update comments.
2220Files: src/testdir/test49.in, src/macros.h, src/screen.c, src/structs.h,
2221 src/gui_gtk_x11.c, src/os_unix.c
2222
2223Patch 7.4.296
2224Problem: Can't run tests on Solaris.
2225Solution: Change the way VIMRUNTIME is set. (Laurent Blume)
2226Files: src/testdir/Makefile
2227
2228Patch 7.4.297
2229Problem: Memory leak from result of get_isolated_shell_name().
2230Solution: Free the memory. (Dominique Pelle)
2231Files: src/ex_cmds.c, src/misc1.c
2232
2233Patch 7.4.298
2234Problem: Can't have a funcref start with "t:".
2235Solution: Add "t" to the list of accepted names. (Yukihiro Nakadaira)
2236Files: src/eval.c
2237
2238Patch 7.4.299
2239Problem: When running configure twice DYNAMIC_PYTHON_DLL may become empty.
2240Solution: Use AC_CACHE_VAL. (Ken Takata)
2241Files: src/configure.in, src/auto/configure
2242
2243Patch 7.4.300
2244Problem: The way config.cache is removed doesn't always work.
2245Solution: Always remove config.cache. (Ken Takata)
2246Files: src/Makefile
2247
2248Patch 7.4.301 (after 7.4.280)
2249Problem: Still a scrolling problem when loading a session file.
2250Solution: Fix off-by-one mistake. (Nobuhiro Takasaki)
2251Files: src/window.c
2252
2253Patch 7.4.302
2254Problem: Signs placed with 'foldcolumn' set don't show up after filler
2255 lines.
2256Solution: Take filler lines into account. (Olaf Dabrunz)
2257Files: src/screen.c
2258
2259Patch 7.4.303
2260Problem: When using double-width characters the text displayed on the
2261 command line is sometimes truncated.
Bram Moolenaar09521312016-08-12 22:54:35 +02002262Solution: Reset the string length. (Nobuhiro Takasaki)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002263Files: src/screen.c
2264
2265Patch 7.4.304
2266Problem: Cannot always use Python with Vim.
2267Solution: Add the manifest to the executable. (Jacques Germishuys)
2268Files: src/Make_mvc.mak
2269
2270Patch 7.4.305
2271Problem: Making 'ttymouse' empty after the xterm version was requested
2272 causes problems. (Elijah Griffin)
2273Solution: Do not check for DEC mouse sequences when the xterm version was
2274 requested. Also don't request the xterm version when DEC mouse
2275 was enabled.
2276Files: src/term.c, src/os_unix.c, src/proto/term.pro, src/globals.h
2277
2278Patch 7.4.306
2279Problem: getchar(0) does not return Esc.
2280Solution: Do not wait for an Esc sequence to be complete. (Yasuhiro
2281 Matsumoto)
2282Files: src/eval.c, src/getchar.c
2283
2284Patch 7.4.307 (after 7.4.305)
2285Problem: Can't build without the +termresponse feature.
2286Solution: Add proper #ifdefs.
2287Files: src/os_unix.c, src/term.c
2288
2289Patch 7.4.308
2290Problem: When using ":diffsplit" on an empty file the cursor is displayed
2291 on the command line.
2292Solution: Limit the value of w_topfill.
2293Files: src/diff.c
2294
2295Patch 7.4.309
2296Problem: When increasing the size of the lower window, the upper window
2297 jumps back to the top. (Ron Aaron)
2298Solution: Change setting the topline. (Nobuhiro Takasaki)
2299Files: src/window.c
2300
2301Patch 7.4.310
2302Problem: getpos()/setpos() don't include curswant.
2303Solution: Add a fifth number when getting/setting the cursor.
2304Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok,
2305 runtime/doc/eval.txt
2306
2307Patch 7.4.311
2308Problem: Can't use winrestview to only restore part of the view.
2309Solution: Handle missing items in the dict. (Christian Brabandt)
2310Files: src/eval.c, runtime/doc/eval.txt
2311
2312Patch 7.4.312
2313Problem: Cannot figure out what argument list is being used for a window.
2314Solution: Add the arglistid() function. (Marcin Szamotulski)
2315Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
2316 src/ex_docmd.c, src/globals.h, src/structs.h, src/main.c
2317
2318Patch 7.4.313 (after 7.4.310)
2319Problem: Changing the return value of getpos() causes an error. (Jie Zhu)
2320Solution: Revert getpos() and add getcurpos().
2321Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok,
2322 runtime/doc/eval.txt
2323
2324Patch 7.4.314
2325Problem: Completion messages can get in the way of a plugin.
2326Solution: Add 'c' flag to 'shortmess' option. (Shougo Matsu)
2327Files: runtime/doc/options.txt, src/edit.c, src/option.h, src/screen.c
2328
2329Patch 7.4.315 (after 7.4.309)
2330Problem: Fixes for computation of topline not tested.
2331Solution: Add test. (Hirohito Higashi)
2332Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2333 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2334 src/testdir/Make_vms.mms, src/testdir/Makefile,
2335 src/testdir/test107.in, src/testdir/test107.ok
2336
2337Patch 7.4.316
2338Problem: Warning from 64-bit compiler.
2339Solution: Add type cast. (Mike Williams)
2340Files: src/ex_getln.c
2341
2342Patch 7.4.317
2343Problem: Crash when starting gvim. Issue 230.
2344Solution: Check for a pointer to be NULL. (Christian Brabandt)
2345Files: src/window.c
2346
2347Patch 7.4.318
2348Problem: Check for whether a highlight group has settings ignores fg and bg
2349 color settings.
2350Solution: Also check cterm and GUI color settings. (Christian Brabandt)
2351Files: src/syntax.c
2352
2353Patch 7.4.319
2354Problem: Crash when putting zero bytes on the clipboard.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002355Solution: Do not support the utf8_atom target when not using a Unicode
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002356 encoding. (Naofumi Honda)
2357Files: src/ui.c
2358
2359Patch 7.4.320
2360Problem: Possible crash when an BufLeave autocommand deletes the buffer.
2361Solution: Check for the window pointer being valid. Postpone freeing the
2362 window until autocommands are done. (Yasuhiro Matsumoto)
2363Files: src/buffer.c, src/fileio.c, src/globals.h, src/window.c
2364
2365Patch 7.4.321
2366Problem: Can't build with strawberry perl 5.20 + mingw-w64-4.9.0.
2367Solution: Define save_strlen. (Ken Takata)
2368Files: src/if_perl.xs
2369
2370Patch 7.4.322
2371Problem: Using "msgfmt" is hard coded, cannot use "gmsgfmt".
2372Solution: Use the msgfmt command found by configure. (Danek Duvall)
2373Files: src/config.mk.in, src/po/Makefile
2374
2375Patch 7.4.323
2376Problem: Substitute() with zero width pattern breaks multi-byte character.
2377Solution: Take multi-byte character size into account. (Yukihiro Nakadaira)
2378Files: src/eval.c src/testdir/test69.in, src/testdir/test69.ok
2379
2380Patch 7.4.324
2381Problem: In Ex mode, cyrillic characters are not handled. (Stas Malavin)
2382Solution: Support multi-byte characters in Ex mode. (Yukihiro Nakadaira)
2383Files: src/ex_getln.c
2384
2385Patch 7.4.325
2386Problem: When starting the gui and changing the window size the status line
2387 may not be drawn correctly.
2388Solution: Catch new_win_height() being called recursively. (Christian
2389 Brabandt)
2390Files: src/window.c
2391
2392Patch 7.4.326
2393Problem: Can't build Tiny version. (Elimar Riesebieter)
2394Solution: Add #ifdef.
2395Files: src/window.c
2396
2397Patch 7.4.327
2398Problem: When 'verbose' is set to display the return value of a function,
2399 may get E724 repeatedly.
2400Solution: Do not give an error for verbose messages. Abort conversion to
2401 string after an error.
2402Files: src/eval.c
2403
2404Patch 7.4.328
2405Problem: Selection of inner block is inconsistent.
2406Solution: Skip indent not only for '}' but all parens. (Tom McDonald)
2407Files: src/search.c
2408
2409Patch 7.4.329
2410Problem: When moving the cursor and then switching to another window the
2411 previous window isn't scrolled. (Yukihiro Nakadaira)
2412Solution: Call update_topline() before leaving the window. (Christian
2413 Brabandt)
2414Files: src/window.c
2415
2416Patch 7.4.330
2417Problem: Using a regexp pattern to highlight a specific position can be
2418 slow.
2419Solution: Add matchaddpos() to highlight specific positions efficiently.
2420 (Alexey Radkov)
2421Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt,
2422 runtime/plugin/matchparen.vim, src/eval.c, src/ex_docmd.c,
2423 src/proto/window.pro, src/screen.c, src/structs.h,
2424 src/testdir/test63.in, src/testdir/test63.ok, src/window.c
2425
2426Patch 7.4.331
2427Problem: Relative numbering not updated after a linewise yank. Issue 235.
2428Solution: Redraw after the yank. (Christian Brabandt)
2429Files: src/ops.c
2430
2431Patch 7.4.332
2432Problem: GTK: When a sign icon doesn't fit exactly there can be ugly gaps.
2433Solution: Scale the sign to fit when the aspect ratio is not too far off.
2434 (Christian Brabandt)
2435Files: src/gui_gtk_x11.c
2436
2437Patch 7.4.333
2438Problem: Compiler warning for unused function.
2439Solution: Put the function inside the #ifdef.
2440Files: src/screen.c
2441
2442Patch 7.4.334 (after 7.4.330)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002443Problem: Uninitialized variables, causing some problems.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002444Solution: Initialize the variables. (Dominique Pelle)
2445Files: src/screen.c, src/window.c
2446
2447Patch 7.4.335
2448Problem: No digraph for the new rouble sign.
2449Solution: Add the digraphs =R and =P.
2450Files: src/digraph.c, runtime/doc/digraph.txt
2451
2452Patch 7.4.336
2453Problem: Setting 'history' to a big value causes out-of-memory errors.
2454Solution: Limit the value to 10000. (Hirohito Higashi)
2455Files: runtime/doc/options.txt, src/option.c
2456
2457Patch 7.4.337
2458Problem: When there is an error preparing to edit the command line, the
2459 command won't be executed. (Hirohito Higashi)
2460Solution: Reset did_emsg before editing.
2461Files: src/ex_getln.c
2462
2463Patch 7.4.338
2464Problem: Cannot wrap lines taking indent into account.
2465Solution: Add the 'breakindent' option. (many authors, final improvements by
2466 Christian Brabandt)
2467Files: runtime/doc/eval.txt, runtime/doc/options.txt, runtime/optwin.vim,
2468 src/buffer.c, src/charset.c, src/edit.c, src/ex_getln.c,
2469 src/getchar.c, src/misc1.c, src/misc2.c, src/ops.c, src/option.c,
2470 src/option.h, src/proto/charset.pro, src/proto/misc1.pro,
2471 src/proto/option.pro, src/screen.c, src/structs.h,
2472 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2473 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2474 src/testdir/Make_vms.mms, src/testdir/Makefile,
2475 src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok,
2476 src/ui.c, src/version.c
2477
2478Patch 7.4.339
2479Problem: Local function is available globally.
2480Solution: Add "static".
2481Files: src/option.c, src/proto/option.pro
2482
2483Patch 7.4.340
2484Problem: Error from sed about illegal bytes when installing Vim.
2485Solution: Prepend LC_ALL=C. (Itchyny)
2486Files: src/installman.sh
2487
2488Patch 7.4.341
2489Problem: sort() doesn't handle numbers well.
2490Solution: Add an argument to specify sorting on numbers. (Christian Brabandt)
2491Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test55.in,
2492 src/testdir/test55.ok
2493
2494Patch 7.4.342
2495Problem: Clang gives warnings.
2496Solution: Add an else block. (Dominique Pelle)
2497Files: src/gui_beval.c
2498
2499Patch 7.4.343
2500Problem: matchdelete() does not always update the right lines.
2501Solution: Fix off-by-one error. (Ozaki Kiichi)
2502Files: src/window.c
2503
2504Patch 7.4.344
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002505Problem: Unnecessary initializations and other things related to
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002506 matchaddpos().
2507Solution: Code cleanup. (Alexey Radkov)
2508Files: runtime/doc/eval.txt, src/screen.c, src/window.c
2509
2510Patch 7.4.345 (after 7.4.338)
2511Problem: Indent is not updated when deleting indent.
2512Solution: Remember changedtick.
2513Files: src/misc1.c
2514
2515Patch 7.4.346 (after 7.4.338)
2516Problem: Indent is not updated when changing 'breakindentopt'. (itchyny)
2517Solution: Do not cache "brishift". (Christian Brabandt)
2518Files: src/misc1.c
2519
2520Patch 7.4.347
2521Problem: test55 fails on some systems.
2522Solution: Remove the elements that all result in zero and can end up in an
2523 arbitrary position.
2524Files: src/testdir/test55.in, src/testdir/test55.ok
2525
2526Patch 7.4.348
2527Problem: When using "J1" in 'cinoptions' a line below a continuation line
2528 gets too much indent.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002529Solution: Fix parentheses in condition.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002530Files: src/misc1.c
2531
2532Patch 7.4.349
2533Problem: When there are matches to highlight the whole window is redrawn,
2534 which is slow.
2535Solution: Only redraw everything when lines were inserted or deleted.
2536 Reset b_mod_xlines when needed. (Alexey Radkov)
2537Files: src/screen.c, src/window.c
2538
2539Patch 7.4.350
2540Problem: Using C indenting for Javascript does not work well for a {} block
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002541 inside parentheses.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002542Solution: When looking for a matching paren ignore one that is before the
2543 start of a {} block.
2544Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
2545
2546Patch 7.4.351
2547Problem: sort() is not stable.
2548Solution: When the items are identical, compare the pointers.
2549Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
2550
2551Patch 7.4.352
2552Problem: With 'linebreak' a tab causes a missing line break.
2553Solution: Count a tab for what it's worth also for shorter lines.
2554 (Christian Brabandt)
2555Files: src/charset.c
2556
2557Patch 7.4.353
2558Problem: 'linebreak' doesn't work with the 'list' option.
2559Solution: Make it work. (Christian Brabandt)
2560Files: runtime/doc/options.txt, src/charset.c, src/screen.c,
2561 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2562 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2563 src/testdir/Make_vms.mms, src/testdir/Makefile,
2564 src/testdir/test_listlbr.in, src/testdir/test_listlbr.ok
2565
2566Patch 7.4.354
2567Problem: Compiler warning.
2568Solution: Change NUL to NULL. (Ken Takata)
2569Files: src/screen.c
2570
2571Patch 7.4.355
2572Problem: Several problems with Javascript indenting.
2573Solution: Improve Javascript indenting.
2574Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
2575
2576Patch 7.4.356
2577Problem: Mercurial does not ignore memfile_test. (Daniel Hahler)
2578Solution: Add memfile_test to ignored files, remove trailing spaces.
2579Files: .hgignore
2580
2581Patch 7.4.357
2582Problem: After completion some characters are not redrawn.
2583Solution: Clear the command line unconditionally. (Jacob Niehus)
2584Files: src/edit.c
2585
2586Patch 7.4.358 (after 7.4.351)
2587Problem: Sort is not always stable.
2588Solution: Add an index instead of relying on the pointer to remain the same.
2589 Idea by Jun Takimoto.
2590Files: src/eval.c
2591
2592Patch 7.4.359
2593Problem: When 'ttymouse' is set to 'uxterm' the xterm version is not
2594 requested. (Tomas Janousek)
2595Solution: Do not mark uxterm as a conflict mouse and add
2596 resume_get_esc_sequence().
2597Files: src/term.c, src/os_unix.c, src/proto/term.pro
2598
2599Patch 7.4.360
2600Problem: In a regexp pattern a "$" followed by \v or \V is not seen as the
2601 end-of-line.
2602Solution: Handle the situation. (Ozaki Kiichi)
2603Files: src/regexp.c
2604
2605Patch 7.4.361
2606Problem: Lots of flickering when filling the preview window for 'omnifunc'.
2607Solution: Disable redrawing. (Hirohito Higashi)
2608Files: src/popupmnu.c
2609
2610Patch 7.4.362
2611Problem: When matchaddpos() uses a length smaller than the number of bytes
2612 in the (last) character the highlight continues until the end of
2613 the line.
2614Solution: Change condition from equal to larger-or-equal.
2615Files: src/screen.c
2616
2617Patch 7.4.363
2618Problem: In Windows console typing 0xCE does not work.
2619Solution: Convert 0xCE to K_NUL 3. (Nobuhiro Takasaki et al.)
2620Files: src/os_win32.c, src/term.c
2621
2622Patch 7.4.364
2623Problem: When the viminfo file can't be renamed there is no error message.
2624 (Vladimir Berezhnoy)
2625Solution: Check for the rename to fail.
2626Files: src/ex_cmds.c
2627
2628Patch 7.4.365
2629Problem: Crash when using ":botright split" when there isn't much space.
2630Solution: Add a check for the minimum width/height. (Yukihiro Nakadaira)
2631Files: src/window.c
2632
2633Patch 7.4.366
2634Problem: Can't run the linebreak test on MS-Windows.
2635Solution: Fix the output file name. (Taro Muraoka)
2636Files: src/testdir/Make_dos.mak
2637
2638Patch 7.4.367 (after 7.4.357)
2639Problem: Other solution for redrawing after completion.
2640Solution: Schedule a window redraw instead of just clearing the command
2641 line. (Jacob Niehus)
2642Files: src/edit.c
2643
2644Patch 7.4.368
2645Problem: Restoring the window sizes after closing the command line window
2646 doesn't work properly if there are nested splits.
2647Solution: Restore the sizes twice. (Hirohito Higashi)
2648Files: src/window.c
2649
2650Patch 7.4.369
2651Problem: Using freed memory when exiting while compiled with EXITFREE.
2652Solution: Set curwin to NULL and check for that. (Dominique Pelle)
2653Files: src/buffer.c, src/window.c
2654
2655Patch 7.4.370
2656Problem: Linebreak test fails when encoding is not utf-8. (Danek Duvall)
2657Solution: Split the test in a single byte one and a utf-8 one. (Christian
2658 Brabandt)
2659Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2660 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2661 src/testdir/Make_vms.mms, src/testdir/Makefile,
2662 src/testdir/test_listlbr.in, src/testdir/test_listlbr.ok,
2663 src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok
2664
2665Patch 7.4.371
2666Problem: When 'linebreak' is set control characters are not correctly
2667 displayed. (Kimmy Lindvall)
2668Solution: Set n_extra. (Christian Brabandt)
2669Files: src/screen.c
2670
2671Patch 7.4.372
2672Problem: When 'winminheight' is zero there might not be one line for the
2673 current window.
2674Solution: Change the size computations. (Yukihiro Nakadaira)
2675Files: src/window.c
2676
2677Patch 7.4.373
2678Problem: Compiler warning for unused argument and unused variable.
2679Solution: Add UNUSED. Move variable inside #ifdef.
2680Files: src/charset.c, src/window.c
2681
2682Patch 7.4.374
2683Problem: Character after "fb" command not mapped if it might be a composing
2684 character.
2685Solution: Don't disable mapping when looking for a composing character.
2686 (Jacob Niehus)
2687Files: src/normal.c
2688
2689Patch 7.4.375
2690Problem: Test 63 fails when run with GUI-only Vim.
2691Solution: Add guibg attributes. (suggested by Mike Soyka)
2692Files: src/testdir/test63.in
2693
2694Patch 7.4.376 (after 7.4.367)
2695Problem: Popup menu flickers too much.
2696Solution: Remove the forced redraw. (Hirohito Higashi)
2697Files: src/edit.c
2698
2699Patch 7.4.377
2700Problem: When 'equalalways' is set a split may report "no room" even though
2701 there is plenty of room.
2702Solution: Compute the available room properly. (Yukihiro Nakadaira)
2703Files: src/window.c
2704
2705Patch 7.4.378
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02002706Problem: Title of quickfix list is not kept for setqflist(list, 'r').
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002707Solution: Keep the title. Add a test. (Lcd)
2708Files: src/quickfix.c, src/testdir/Make_amiga.mak,
2709 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
2710 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
2711 src/testdir/Makefile, src/testdir/test_qf_title.in,
2712 src/testdir/test_qf_title.ok
2713
2714Patch 7.4.379
2715Problem: Accessing freed memory after using setqflist(list, 'r'). (Lcd)
2716Solution: Reset qf_index.
2717Files: src/quickfix.c
2718
2719Patch 7.4.380
2720Problem: Loading python may cause Vim to exit.
2721Solution: Avoid loading the "site" module. (Taro Muraoka)
2722Files: src/if_python.c
2723
2724Patch 7.4.381
2725Problem: Get u_undo error when backspacing in Insert mode deletes more than
2726 one line break. (Ayberk Ozgur)
2727Solution: Also decrement Insstart.lnum.
2728Files: src/edit.c
2729
2730Patch 7.4.382
2731Problem: Mapping characters may not work after typing Esc in Insert mode.
2732Solution: Fix the noremap flags for inserted characters. (Jacob Niehus)
2733Files: src/getchar.c
2734
2735Patch 7.4.383
2736Problem: Bad interaction between preview window and omnifunc.
2737Solution: Avoid redrawing the status line. (Hirohito Higashi)
2738Files: src/popupmnu.c
2739
2740Patch 7.4.384
2741Problem: Test 102 fails when compiled with small features.
2742Solution: Source small.vim. (Jacob Niehus)
2743Files: src/testdir/test102.in
2744
2745Patch 7.4.385
2746Problem: When building with tiny or small features building the .mo files
2747 fails.
2748Solution: In autoconf do not setup for building the .mo files when it would
2749 fail.
2750Files: src/configure.in, src/auto/configure
2751
2752Patch 7.4.386
2753Problem: When splitting a window the changelist position is wrong.
2754Solution: Copy the changelist position. (Jacob Niehus)
2755Files: src/window.c, src/testdir/Make_amiga.mak,
2756 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
2757 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
2758 src/testdir/Makefile, src/testdir/test_changelist.in,
2759 src/testdir/test_changelist.ok
2760
2761Patch 7.4.387
2762Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica)
2763Solution: Write the ESC in the second stuff buffer.
2764Files: src/getchar.c, src/proto/getchar.pro, src/edit.c,
2765 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2766 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2767 src/testdir/Make_vms.mms, src/testdir/Makefile,
2768 src/testdir/test_insertcount.in, src/testdir/test_insertcount.ok
2769
2770Patch 7.4.388
2771Problem: With 'linebreak' set and 'list' unset a Tab is not counted
2772 properly. (Kent Sibilev)
2773Solution: Check the 'list' option. (Christian Brabandt)
2774Files: src/screen.c, src/testdir/test_listlbr_utf8.in,
2775 src/testdir/test_listlbr_utf8.ok
2776
2777Patch 7.4.389
2778Problem: Still sometimes Vim enters Replace mode when starting up.
2779Solution: Use a different solution in detecting the termresponse and
2780 location response. (Hayaki Saito)
2781Files: src/globals.h, src/os_unix.c, src/term.c, src/proto/term.pro
2782
2783Patch 7.4.390
2784Problem: Advancing pointer over end of a string.
2785Solution: Init quote character to -1 instead of zero. (Dominique Pelle)
2786Files: src/misc1.c
2787
2788Patch 7.4.391
2789Problem: No 'cursorline' highlighting when the cursor is on a line with
2790 diff highlighting. (Benjamin Fritz)
2791Solution: Combine the highlight attributes. (Christian Brabandt)
2792Files: src/screen.c
2793
2794Patch 7.4.392
2795Problem: Not easy to detect type of command line window.
2796Solution: Add the getcmdwintype() function. (Jacob Niehus)
2797Files: src/eval.c
2798
2799Patch 7.4.393
2800Problem: Text drawing on newer MS-Windows systems is suboptimal. Some
2801 multi-byte characters are not displayed, even though the same font
2802 in Notepad can display them. (Srinath Avadhanula)
Bram Moolenaardc1f1642016-08-16 18:33:43 +02002803Solution: Add the 'renderoptions' option to enable DirectX drawing. (Taro
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02002804 Muraoka)
2805Files: runtime/doc/eval.txt, runtime/doc/options.txt,
2806 runtime/doc/various.txt, src/Make_cyg.mak, src/Make_ming.mak,
2807 src/Make_mvc.mak, src/eval.c, src/gui_dwrite.cpp,
2808 src/gui_dwrite.h, src/gui_w32.c, src/gui_w48.c, src/option.c,
2809 src/option.h, src/version.c, src/vim.h, src/proto/gui_w32.pro
2810
2811Patch 7.4.394 (after 7.4.393)
2812Problem: When using DirectX last italic character is incomplete.
2813Solution: Add one to the number of cells. (Ken Takata)
2814Files: src/gui_w32.c
2815
2816Patch 7.4.395 (after 7.4.355)
2817Problem: C indent is wrong below an if with wrapped condition followed by
2818 curly braces. (Trevor Powell)
2819Solution: Make a copy of tryposBrace.
2820Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
2821
2822Patch 7.4.396
2823Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful)
2824Solution: Only set the clipboard after the last delete. (Christian Brabandt)
2825Files: src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/globals.h,
2826 src/ops.c, src/proto/ui.pro, src/ui.c
2827
2828Patch 7.4.397
2829Problem: Matchparen only uses the topmost syntax item.
2830Solution: Go through the syntax stack to find items. (James McCoy)
2831 Also use getcurpos() when possible.
2832Files: runtime/plugin/matchparen.vim
2833
2834Patch 7.4.398 (after 7.4.393)
2835Problem: Gcc error for the argument of InterlockedIncrement() and
2836 InterlockedDecrement(). (Axel Bender)
2837Solution: Remove "unsigned" from the cRefCount_ declaration.
2838Files: src/gui_dwrite.cpp
2839
2840Patch 7.4.399
2841Problem: Encryption implementation is messy. Blowfish encryption has a
2842 weakness.
2843Solution: Refactor the encryption, store the state in an allocated struct
2844 instead of using a save/restore mechanism. Introduce the
2845 "blowfish2" method, which does not have the weakness and encrypts
2846 the whole undo file. (largely by David Leadbeater)
2847Files: runtime/doc/editing.txt, runtime/doc/options.txt, src/Makefile,
2848 src/blowfish.c, src/crypt.c, src/crypt_zip.c, src/ex_docmd.c,
2849 src/fileio.c, src/globals.h, src/main.c, src/memline.c,
2850 src/misc2.c, src/option.c, src/proto.h, src/proto/blowfish.pro,
2851 src/proto/crypt.pro, src/proto/crypt_zip.pro,
2852 src/proto/fileio.pro, src/proto/misc2.pro, src/structs.h,
2853 src/undo.c, src/testdir/test71.in, src/testdir/test71.ok,
2854 src/testdir/test71a.in, src/testdir/test72.in,
2855 src/testdir/test72.ok
2856
2857Patch 7.4.400
2858Problem: List of distributed files is incomplete.
2859Solution: Add recently added files.
2860Files: Filelist
2861
2862Patch 7.4.401 (after 7.4.399)
2863Problem: Can't build on MS-Windows.
2864Solution: Include the new files in all the Makefiles.
2865Files: src/Make_bc3.mak, src/Make_bc5.mak, src/Make_cyg.mak,
2866 src/Make_dice.mak, src/Make_djg.mak, src/Make_ivc.mak,
2867 src/Make_manx.mak, src/Make_ming.mak, src/Make_morph.mak,
2868 src/Make_mvc.mak, src/Make_os2.mak, src/Make_sas.mak,
2869 Make_vms.mms
2870
2871Patch 7.4.402
2872Problem: Test 72 crashes under certain conditions. (Kazunobu Kuriyama)
2873Solution: Clear the whole bufinfo_T early.
2874Files: src/undo.c
2875
2876Patch 7.4.403
2877Problem: Valgrind reports errors when running test 72. (Dominique Pelle)
2878Solution: Reset the local 'cryptmethod' option before storing the seed.
2879 Set the seed in the memfile even when there is no block0 yet.
2880Files: src/fileio.c, src/option.c, src/memline.c
2881
2882Patch 7.4.404
2883Problem: Windows 64 bit compiler warnings.
2884Solution: Add type casts. (Mike Williams)
2885Files: src/crypt.c, src/undo.c
2886
2887Patch 7.4.405
2888Problem: Screen updating is slow when using matches.
2889Solution: Do not use the ">=" as in patch 7.4.362, check the lnum.
2890Files: src/screen.c, src/testdir/test63.in, src/testdir/test63.ok
2891
2892Patch 7.4.406
2893Problem: Test 72 and 100 fail on MS-Windows.
2894Solution: Set fileformat to unix in the tests. (Taro Muraoka)
2895Files: src/testdir/test72.in, src/testdir/test100.in
2896
2897Patch 7.4.407
2898Problem: Inserting text for Visual block mode, with cursor movement,
2899 repeats the wrong text. (Aleksandar Ivanov)
2900Solution: Reset the update_Insstart_orig flag. (Christian Brabandt)
2901Files: src/edit.c, src/testdir/test39.in, src/testdir/test39.ok
2902
2903Patch 7.4.408
2904Problem: Visual block insert breaks a multi-byte character.
2905Solution: Calculate the position properly. (Yasuhiro Matsumoto)
2906Files: src/ops.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok,
2907 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
2908 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
2909 src/testdir/Make_vms.mms, src/testdir/Makefile
2910
2911Patch 7.4.409
2912Problem: Can't build with Perl on Fedora 20.
2913Solution: Find xsubpp in another directory. (Michael Henry)
2914Files: src/Makefile, src/config.mk.in, src/configure.in,
2915 src/auto/configure
2916
2917Patch 7.4.410
2918Problem: Fold does not open after search when there is a CmdwinLeave
2919 autocommand.
2920Solution: Restore KeyTyped. (Jacob Niehus)
2921Files: src/ex_getln.c
2922
2923Patch 7.4.411
2924Problem: "foo bar" sorts before "foo" with sort(). (John Little)
2925Solution: Avoid putting quotes around strings before comparing them.
2926Files: src/eval.c
2927
2928Patch 7.4.412
2929Problem: Can't build on Windows XP with MSVC.
2930Solution: Add SUBSYSTEM_VER to the Makefile. (Yongwei Wu)
2931Files: src/Make_mvc.mak, src/INSTALLpc.txt
2932
2933Patch 7.4.413
2934Problem: MS-Windows: Using US international keyboard layout, inserting dead
2935 key by pressing space does not always work. Issue 250.
2936Solution: Let MS-Windows translate the message. (John Wellesz)
2937Files: src/gui_w48.c
2938
2939Patch 7.4.414
2940Problem: Cannot define a command only when it's used.
2941Solution: Add the CmdUndefined autocommand event. (partly by Yasuhiro
2942 Matsumoto)
2943Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/fileio.c,
2944 src/proto/fileio.pro
2945
2946Patch 7.4.415 (after 7.4.414)
2947Problem: Cannot build. Warning for shadowed variable. (John Little)
2948Solution: Add missing change. Remove declaration.
2949Files: src/vim.h, src/ex_docmd.c
2950
2951Patch 7.4.416
2952Problem: Problem with breakindent/showbreak and tabs.
2953Solution: Handle tabs differently. (Christian Brabandt)
2954Files: src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok,
2955 src/charset.c
2956
2957Patch 7.4.417
2958Problem: After splitting a window and setting 'breakindent' the default
2959 minimum with is not respected.
2960Solution: Call briopt_check() when copying options to a new window.
2961Files: src/option.c, src/proto/option.pro,
2962 src/testdir/test_breakindent.in
2963
2964Patch 7.4.418
2965Problem: When leaving ":append" the cursor shape is like in Insert mode.
2966 (Jacob Niehus)
2967Solution: Do not have State set to INSERT when calling getline().
2968Files: src/ex_cmds.c
2969
2970Patch 7.4.419
2971Problem: When part of a list is locked it's possible to make changes.
2972Solution: Check if any of the list items is locked before make a change.
2973 (ZyX)
2974Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
2975
2976Patch 7.4.420
2977Problem: It's not obvious how to add a new test.
2978Solution: Add a README file. (Christian Brabandt)
2979Files: src/testdir/README.txt
2980
2981Patch 7.4.421
2982Problem: Crash when searching for "\ze*". (Urtica Dioica)
2983Solution: Disallow a multi after \ze and \zs.
2984Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
2985
2986Patch 7.4.422
2987Problem: When using conceal with linebreak some text is not displayed
2988 correctly. (Grüner Gimpel)
2989Solution: Check for conceal mode when using linebreak. (Christian Brabandt)
2990Files: src/screen.c, src/testdir/test_listlbr.in,
2991 src/testdir/test_listlbr.ok
2992
2993Patch 7.4.423
2994Problem: expand("$shell") does not work as documented.
2995Solution: Do not escape the $ when expanding environment variables.
2996Files: src/os_unix.c, src/misc1.c, src/vim.h
2997
2998Patch 7.4.424
2999Problem: Get ml_get error when using Python to delete lines in a buffer
3000 that is not in a window. issue 248.
3001Solution: Do not try adjusting the cursor for a different buffer.
3002Files: src/if_py_both.h
3003
3004Patch 7.4.425
3005Problem: When 'showbreak' is used "gj" may move to the wrong position.
3006 (Nazri Ramliy)
3007Solution: Adjust virtcol when 'showbreak' is set. (Christian Brabandt)
3008Files: src/normal.c
3009
3010Patch 7.4.426
3011Problem: README File missing from list of files.
3012Solution: Update the list of files.
3013Files: Filelist
3014
3015Patch 7.4.427
3016Problem: When an InsertCharPre autocommand executes system() typeahead may
3017 be echoed and messes up the display. (Jacob Niehus)
3018Solution: Do not set cooked mode when invoked from ":silent".
3019Files: src/eval.c, runtime/doc/eval.txt
3020
3021Patch 7.4.428
3022Problem: executable() may return a wrong result on MS-Windows.
3023Solution: Change the way SearchPath() is called. (Yasuhiro Matsumoto, Ken
3024 Takata)
3025Files: src/os_win32.c
3026
3027Patch 7.4.429
3028Problem: Build fails with fewer features. (Elimar Riesebieter)
3029Solution: Add #ifdef.
3030Files: src/normal.c
3031
3032Patch 7.4.430
3033Problem: test_listlbr fails when compiled with normal features.
3034Solution: Check for the +conceal feature.
3035Files: src/testdir/test_listlbr.in
3036
3037Patch 7.4.431
3038Problem: Compiler warning.
3039Solution: Add type cast. (Mike Williams)
3040Files: src/ex_docmd.c
3041
3042Patch 7.4.432
3043Problem: When the startup code expands command line arguments, setting
3044 'encoding' will not properly convert the arguments.
3045Solution: Call get_cmd_argsW() early in main(). (Yasuhiro Matsumoto)
3046Files: src/os_win32.c, src/main.c, src/os_mswin.c
3047
3048Patch 7.4.433
3049Problem: Test 75 fails on MS-Windows.
3050Solution: Use ":normal" instead of feedkeys(). (Michael Soyka)
3051Files: src/testdir/test75.in
3052
3053Patch 7.4.434
3054Problem: gettabvar() is not consistent with getwinvar() and getbufvar().
3055Solution: Return a dict with all variables when the varname is empty.
3056 (Yasuhiro Matsumoto)
3057Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test91.in,
3058 src/testdir/test91.ok
3059
3060Patch 7.4.435
3061Problem: Line formatting behaves differently when 'linebreak' is set.
3062 (mvxxc)
3063Solution: Disable 'linebreak' temporarily. (Christian Brabandt)
3064Files: src/edit.c
3065
3066Patch 7.4.436
3067Problem: ml_get error for autocommand that moves the cursor of the current
3068 window.
3069Solution: Check the cursor position after switching back to the current
3070 buffer. (Christian Brabandt)
3071Files: src/fileio.c
3072
3073Patch 7.4.437
3074Problem: New and old regexp engine are not consistent.
3075Solution: Also give an error for "\ze*" for the old regexp engine.
3076Files: src/regexp.c, src/regexp_nfa.c
3077
3078Patch 7.4.438
3079Problem: Cached values for 'cino' not reset for ":set all&".
3080Solution: Call parse_cino(). (Yukihiro Nakadaira)
3081Files: src/option.c
3082
3083Patch 7.4.439
3084Problem: Duplicate message in message history. Some quickfix messages
3085 appear twice. (Gary Johnson)
3086Solution: Do not reset keep_msg too early. (Hirohito Higashi)
3087Files: src/main.c
3088
3089Patch 7.4.440
3090Problem: Omni complete popup drawn incorrectly.
3091Solution: Call validate_cursor() instead of check_cursor(). (Hirohito
3092 Higashi)
3093Files: src/edit.c
3094
3095Patch 7.4.441
3096Problem: Endless loop and other problems when 'cedit' is set to CTRL-C.
3097Solution: Do not call ex_window() when ex_normal_busy or got_int was set.
3098 (Yasuhiro Matsumoto)
3099Files: src/ex_getln.c
3100
3101Patch 7.4.442 (after 7.4.434)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003102Problem: Using uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003103Solution: Pass the first window of the tabpage.
3104Files: src/eval.c
3105
3106Patch 7.4.443
3107Problem: Error reported by ubsan when running test 72.
3108Solution: Add type cast to unsigned. (Dominique Pelle)
3109Files: src/undo.c
3110
3111Patch 7.4.444
3112Problem: Reversed question mark not recognized as punctuation. (Issue 258)
3113Solution: Add the Supplemental Punctuation range.
3114Files: src/mbyte.c
3115
3116Patch 7.4.445
3117Problem: Clipboard may be cleared on startup.
3118Solution: Set clip_did_set_selection to -1 during startup. (Christian
3119 Brabandt)
3120Files: src/main.c, src/ui.c
3121
3122Patch 7.4.446
3123Problem: In some situations, when setting up an environment to trigger an
3124 autocommand, the environment is not properly restored.
3125Solution: Check the return value of switch_win() and call restore_win()
3126 always. (Daniel Hahler)
3127Files: src/eval.c, src/misc2.c, src/window.c
3128
3129Patch 7.4.447
3130Problem: Spell files from Hunspell may generate a lot of errors.
3131Solution: Add the IGNOREEXTRA flag.
3132Files: src/spell.c, runtime/doc/spell.txt
3133
3134Patch 7.4.448
3135Problem: Using ETO_IGNORELANGUAGE causes problems.
3136Solution: Remove this flag. (Paul Moore)
3137Files: src/gui_w32.c
3138
3139Patch 7.4.449
3140Problem: Can't easily close the help window. (Chris Gaal)
3141Solution: Add ":helpclose". (Christian Brabandt)
3142Files: runtime/doc/helphelp.txt, runtime/doc/index.txt, src/ex_cmds.c,
3143 src/ex_cmds.h, src/proto/ex_cmds.pro
3144
3145Patch 7.4.450
3146Problem: Not all commands that edit another buffer support the +cmd
3147 argument.
3148Solution: Add the +cmd argument to relevant commands. (Marcin Szamotulski)
3149Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_docmd.c
3150
3151Patch 7.4.451
3152Problem: Calling system() with empty input gives an error for writing the
3153 temp file.
3154Solution: Do not try writing if the string length is zero. (Olaf Dabrunz)
3155Files: src/eval.c
3156
3157Patch 7.4.452
3158Problem: Can't build with tiny features. (Tony Mechelynck)
3159Solution: Use "return" instead of "break".
3160Files: src/ex_cmds.c
3161
3162Patch 7.4.453
3163Problem: Still can't build with tiny features.
3164Solution: Add #ifdef.
3165Files: src/ex_cmds.c
3166
3167Patch 7.4.454
3168Problem: When using a Visual selection of multiple words and doing CTRL-W_]
3169 it jumps to the tag matching the word under the cursor, not the
3170 selected text. (Patrick hemmer)
3171Solution: Do not reset Visual mode. (idea by Christian Brabandt)
3172Files: src/window.c
3173
3174Patch 7.4.455
3175Problem: Completion for :buf does not use 'wildignorecase'. (Akshay H)
3176Solution: Pass the 'wildignorecase' flag around.
3177Files: src/buffer.c
3178
3179Patch 7.4.456
3180Problem: 'backupcopy' is global, cannot write only some files in a
3181 different way.
3182Solution: Make 'backupcopy' global-local. (Christian Brabandt)
3183Files: runtime/doc/options.txt, src/buffer.c, src/fileio.c, src/option.c,
3184 src/option.h, src/proto/option.pro, src/structs.h
3185
3186Patch 7.4.457
3187Problem: Using getchar() in an expression mapping may result in
3188 K_CURSORHOLD, which can't be recognized.
3189Solution: Add the <CursorHold> key. (Hirohito Higashi)
3190Files: src/misc2.c
3191
3192Patch 7.4.458
3193Problem: Issue 252: Cursor moves in a zero-height window.
3194Solution: Check for zero height. (idea by Christian Brabandt)
3195Files: src/move.c
3196
3197Patch 7.4.459
3198Problem: Can't change the icon after building Vim.
3199Solution: Load the icon from a file on startup. (Yasuhiro Matsumoto)
3200Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c,
3201 src/proto/os_mswin.pro
3202
3203Patch 7.4.460 (after 7.4.454)
3204Problem: Can't build without the quickfix feature. (Erik Falor)
3205Solution: Add a #ifdef.
3206Files: src/window.c
3207
3208Patch 7.4.461
3209Problem: MS-Windows: When collate is on the number of copies is too high.
3210Solution: Only set the collated/uncollated count when collate is on.
3211 (Yasuhiro Matsumoto)
3212Files: src/os_mswin.c
3213
3214Patch 7.4.462
3215Problem: Setting the local value of 'backupcopy' empty gives an error.
3216 (Peter Mattern)
3217Solution: When using an empty value set the flags to zero. (Hirohito
3218 Higashi)
3219Files: src/option.c
3220
3221Patch 7.4.463
3222Problem: Test 86 and 87 may hang on MS-Windows.
3223Solution: Call inputrestore() after inputsave(). (Ken Takata)
3224Files: src/testdir/test86.in, src/testdir/test87.in
3225
3226Patch 7.4.464 (after 7.4.459)
3227Problem: Compiler warning.
3228Solution: Add type cast. (Ken Takata)
3229Files: src/gui_w32.c
3230
3231Patch 7.4.465 (after 7.4.016)
3232Problem: Crash when expanding a very long string.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003233Solution: Use wcsncpy() instead of wcscpy(). (Ken Takata)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003234Files: src/os_win32.c
3235
3236Patch 7.4.466 (after 7.4.460)
3237Problem: CTRL-W } does not open preview window. (Erik Falor)
3238Solution: Don't set g_do_tagpreview for CTRL-W }.
3239Files: src/window.c
3240
3241Patch 7.4.467
3242Problem: 'linebreak' does not work well together with Visual mode.
3243Solution: Disable 'linebreak' while applying an operator. Fix the test.
3244 (Christian Brabandt)
3245Files: src/normal.c, src/screen.c, src/testdir/test_listlbr.in,
3246 src/testdir/test_listlbr.ok
3247
3248Patch 7.4.468
3249Problem: Issue 26: CTRL-C does not interrupt after it was mapped and then
3250 unmapped.
3251Solution: Reset mapped_ctrl_c. (Christian Brabandt)
3252Files: src/getchar.c
3253
3254Patch 7.4.469 (after 7.4.467)
3255Problem: Can't build with MSVC. (Ken Takata)
3256Solution: Move the assignment after the declarations.
3257Files: src/normal.c
3258
3259Patch 7.4.470
3260Problem: Test 11 and 100 do not work properly on Windows.
3261Solution: Avoid using feedkeys(). (Ken Takata)
3262Files: src/testdir/Make_dos.mak, src/testdir/test11.in,
3263 src/testdir/test100.in
3264
3265Patch 7.4.471
3266Problem: MS-Windows: When printer name contains multi-byte, the name is
3267 displayed as ???.
3268Solution: Convert the printer name from the active codepage to 'encoding'.
3269 (Yasuhiro Matsumoto)
3270Files: src/os_mswin.c
3271
3272Patch 7.4.472
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003273Problem: The "precedes" entry in 'listchar' will be drawn when 'showbreak'
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003274 is set and 'list' is not.
3275Solution: Only draw this character when 'list' is on. (Christian Brabandt)
3276Files: src/screen.c
3277
3278Patch 7.4.473
3279Problem: Cursor movement is incorrect when there is a number/sign/fold
3280 column and 'sbr' is displayed.
3281Solution: Adjust the column for 'sbr'. (Christian Brabandt)
3282Files: src/charset.c
3283
3284Patch 7.4.474
3285Problem: AIX compiler can't handle // comment. Issue 265.
3286Solution: Remove that line.
3287Files: src/regexp_nfa.c
3288
3289Patch 7.4.475
3290Problem: Can't compile on a system where Xutf8SetWMProperties() is not in
3291 the X11 library. Issue 265.
3292Solution: Add a configure check.
3293Files: src/configure.in, src/auto/configure, src/config.h.in,
3294 src/os_unix.c
3295
3296Patch 7.4.476
3297Problem: MingW: compiling with "XPM=no" doesn't work.
3298Solution: Check for the "no" value. (KF Leong) Also for Cygwin. (Ken
3299 Takata)
3300Files: src/Make_ming.mak, src/Make_cyg.mak
3301
3302Patch 7.4.477
3303Problem: When using ":%diffput" and the other file is empty an extra empty
3304 line remains.
3305Solution: Set the buf_empty flag.
3306Files: src/diff.c
3307
3308Patch 7.4.478
3309Problem: Using byte length instead of character length for 'showbreak'.
3310Solution: Compute the character length. (Marco Hinz)
3311Files: src/charset.c
3312
3313Patch 7.4.479
3314Problem: MS-Windows: The console title can be wrong.
3315Solution: Take the encoding into account. When restoring the title use the
3316 right function. (Yasuhiro Matsumoto)
3317Files: src/os_mswin.c, src/os_win32.c
3318
3319Patch 7.4.480 (after 7.4.479)
3320Problem: MS-Windows: Can't build.
3321Solution: Remove goto, use a flag instead.
3322Files: src/os_win32.c
3323
3324Patch 7.4.481 (after 7.4.471)
3325Problem: Compiler warning on MS-Windows.
3326Solution: Add type casts. (Ken Takata)
3327Files: src/os_mswin.c
3328
3329Patch 7.4.482
3330Problem: When 'balloonexpr' results in a list, the text has a trailing
3331 newline. (Lcd)
3332Solution: Remove one trailing newline.
3333Files: src/gui_beval.c
3334
3335Patch 7.4.483
3336Problem: A 0x80 byte is not handled correctly in abbreviations.
3337Solution: Unescape special characters. Add a test. (Christian Brabandt)
3338Files: src/getchar.c, src/testdir/Make_amiga.mak,
3339 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3340 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3341 src/testdir/Makefile, src/testdir/test_mapping.in,
3342 src/testdir/test_mapping.ok
3343
3344Patch 7.4.484 (after 7.4.483)
3345Problem: Compiler warning on MS-Windows. (Ken Takata)
3346Solution: Add type cast.
3347Files: src/getchar.c
3348
3349Patch 7.4.485 (after 7.4.484)
3350Problem: Abbreviations don't work. (Toothpik)
3351Solution: Move the length computation inside the for loop. Compare against
3352 the unescaped key.
3353Files: src/getchar.c
3354
3355Patch 7.4.486
3356Problem: Check for writing to a yank register is wrong.
3357Solution: Negate the check. (Zyx). Also clean up the #ifdefs.
3358Files: src/ex_docmd.c, src/ex_cmds.h
3359
3360Patch 7.4.487
3361Problem: ":sign jump" may use another window even though the file is
3362 already edited in the current window.
3363Solution: First check if the file is in the current window. (James McCoy)
3364Files: src/window.c, src/testdir/Make_amiga.mak,
3365 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3366 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3367 src/testdir/Makefile, src/testdir/test_signs.in,
3368 src/testdir/test_signs.ok
3369
3370Patch 7.4.488
3371Problem: test_mapping fails for some people.
3372Solution: Set the 'encoding' option. (Ken Takata)
3373Files: src/testdir/test_mapping.in
3374
3375Patch 7.4.489
3376Problem: Cursor movement still wrong when 'lbr' is set and there is a
3377 number column. (Hirohito Higashi)
3378Solution: Add correction for number column. (Hiroyuki Takagi)
3379Files: src/charset.c
3380
3381Patch 7.4.490
3382Problem: Cannot specify the buffer to use for "do" and "dp", making them
3383 useless for three-way diff.
3384Solution: Use the count as the buffer number. (James McCoy)
3385Files: runtime/doc/diff.txt, src/diff.c, src/normal.c, src/proto/diff.pro
3386
3387Patch 7.4.491
3388Problem: When winrestview() has a negative "topline" value there are
3389 display errors.
3390Solution: Correct a negative value to 1. (Hirohito Higashi)
3391Files: src/eval.c
3392
3393Patch 7.4.492
3394Problem: In Insert mode, after inserting a newline that inserts a comment
3395 leader, CTRL-O moves to the right. (ZyX) Issue 57.
3396Solution: Correct the condition for moving the cursor back to the NUL.
3397 (Christian Brabandt)
3398Files: src/edit.c, src/testdir/test4.in, src/testdir/test4.ok
3399
3400Patch 7.4.493
3401Problem: A TextChanged autocommand is triggered when saving a file.
3402 (William Gardner)
3403Solution: Update last_changedtick after calling unchanged(). (Christian
3404 Brabandt)
3405Files: src/fileio.c
3406
3407Patch 7.4.494
3408Problem: Cursor shape is wrong after a CompleteDone autocommand.
3409Solution: Update the cursor and mouse shape after ":normal" restores the
3410 state. (Jacob Niehus)
3411Files: src/ex_docmd.c
3412
3413Patch 7.4.495
3414Problem: XPM isn't used correctly in the Cygwin Makefile.
3415Solution: Include the rules like in Make_ming.mak. (Ken Takata)
3416Files: src/Make_cyg.mak
3417
3418Patch 7.4.496
3419Problem: Many lines are both in Make_cyg.mak and Make_ming.mak
3420Solution: Move the common parts to one file. (Ken Takata)
3421Files: src/INSTALLpc.txt, src/Make_cyg.mak, src/Make_cyg_ming.mak,
3422 src/Make_ming.mak, src/Make_mvc.mak, Filelist
3423
3424Patch 7.4.497
3425Problem: With some regexp patterns the NFA engine uses many states and
3426 becomes very slow. To the user it looks like Vim freezes.
3427Solution: When the number of states reaches a limit fall back to the old
3428 engine. (Christian Brabandt)
3429Files: runtime/doc/options.txt, src/Makefile, src/regexp.c, src/regexp.h,
3430 src/regexp_nfa.c, src/testdir/Make_dos.mak,
3431 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
3432 src/testdir/Makefile, src/testdir/samples/re.freeze.txt,
3433 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
3434 Filelist
3435
3436Patch 7.4.498 (after 7.4.497)
3437Problem: Typo in DOS makefile.
3438Solution: Change exists to exist. (Ken Takata)
Bram Moolenaar214641f2017-03-05 17:04:09 +01003439Files: src/testdir/Make_dos.mak
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003440
3441Patch 7.4.499
3442Problem: substitute() can be slow with long strings.
3443Solution: Store a pointer to the end, instead of calling strlen() every
3444 time. (Ozaki Kiichi)
3445Files: src/eval.c
3446
3447Patch 7.4.500
3448Problem: Test 72 still fails once in a while.
3449Solution: Don't set 'fileformat' to unix, reset it. (Ken Takata)
3450Files: src/testdir/test72.in
3451
3452Patch 7.4.501 (after 7.4.497)
3453Problem: Typo in file pattern.
3454Solution: Insert a slash and remove a dot.
3455Files: Filelist
3456
3457Patch 7.4.502
3458Problem: Language mapping also applies to mapped characters.
3459Solution: Add the 'langnoremap' option, when on 'langmap' does not apply to
3460 mapped characters. (Christian Brabandt)
3461Files: runtime/doc/options.txt, runtime/vimrc_example.vim, src/macros.h,
3462 src/option.c, src/option.h
3463
3464Patch 7.4.503
3465Problem: Cannot append a list of lines to a file.
3466Solution: Add the append option to writefile(). (Yasuhiro Matsumoto)
3467Files: runtime/doc/eval.txt, src/Makefile, src/eval.c,
3468 src/testdir/test_writefile.in, src/testdir/test_writefile.ok
3469
3470Patch 7.4.504
3471Problem: Restriction of the MS-Windows installer that the path must end in
3472 "Vim" prevents installing more than one version.
3473Solution: Remove the restriction. (Tim Lebedkov)
3474Files: nsis/gvim.nsi
3475
3476Patch 7.4.505
3477Problem: On MS-Windows when 'encoding' is a double-byte encoding a file
3478 name longer than MAX_PATH bytes but shorter than that in
3479 characters causes problems.
3480Solution: Fail on file names longer than MAX_PATH bytes. (Ken Takata)
3481Files: src/os_win32.c
3482
3483Patch 7.4.506
3484Problem: MS-Windows: Cannot open a file with 259 characters.
3485Solution: Fix off-by-one error. (Ken Takata)
3486Files: src/os_mswin.c
3487
3488Patch 7.4.507 (after 7.4.496)
3489Problem: Building with MingW and Perl.
3490Solution: Remove quotes. (Ken Takata)
3491Files: src/Make_cyg_ming.mak
3492
3493Patch 7.4.508
3494Problem: When generating ja.sjis.po the header is not correctly adjusted.
3495Solution: Check for the right header string. (Ken Takata)
3496Files: src/po/sjiscorr.c
3497
3498Patch 7.4.509
3499Problem: Users are not aware their encryption is weak.
3500Solution: Give a warning when prompting for the key.
3501Files: src/crypt.c, src/ex_docmd.c, src/fileio.c, src/main.c,
3502 src/proto/crypt.pro
3503
3504Patch 7.4.510
3505Problem: "-fwrapv" argument breaks use of cproto.
3506Solution: Remove the alphabetic arguments in a drastic way.
3507Files: src/Makefile
3508
3509Patch 7.4.511
3510Problem: Generating proto for if_ruby.c uses type not defined elsewhere.
3511Solution: Do not generate a prototype for
3512 rb_gc_writebarrier_unprotect_promoted()
3513Files: src/if_ruby.c
3514
3515Patch 7.4.512
3516Problem: Cannot generate prototypes for Win32 files and VMS.
3517Solution: Add typedefs and #ifdef
3518Files: src/os_win32.c, src/gui_w32.c, src/os_vms.c
3519
3520Patch 7.4.513
3521Problem: Crash because reference count is wrong for list returned by
3522 getreg().
3523Solution: Increment the reference count. (Kimmy Lindvall)
3524Files: src/eval.c
3525
3526Patch 7.4.514 (after 7.4.492)
3527Problem: Memory access error. (Dominique Pelle)
3528Solution: Update tpos. (Christian Brabandt)
3529Files: src/edit.c
3530
3531Patch 7.4.515
3532Problem: In a help buffer the global 'foldmethod' is used. (Paul Marshall)
3533Solution: Reset 'foldmethod' when starting to edit a help file. Move the
3534 code to a separate function.
3535Files: src/ex_cmds.c
3536
3537Patch 7.4.516
3538Problem: Completing a function name containing a # does not work. Issue
3539 253.
3540Solution: Recognize the # character. (Christian Brabandt)
3541Files: src/eval.c
3542
3543Patch 7.4.517
3544Problem: With a wrapping line the cursor may not end up in the right place.
3545 (Nazri Ramliy)
3546Solution: Adjust n_extra for a Tab that wraps. (Christian Brabandt)
3547Files: src/screen.c
3548
3549Patch 7.4.518
3550Problem: Using status line height in width computations.
3551Solution: Use one instead. (Hirohito Higashi)
3552Files: src/window.c
3553
3554Patch 7.4.519 (after 7.4.497)
3555Problem: Crash when using syntax highlighting.
3556Solution: When regprog is freed and replaced, store the result.
3557Files: src/buffer.c, src/regexp.c, src/syntax.c, src/spell.c,
3558 src/ex_cmds2.c, src/fileio.c, src/proto/fileio.pro,
3559 src/proto/regexp.pro, src/os_unix.c
3560
3561Patch 7.4.520
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003562Problem: Sun PCK locale is not recognized.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003563Solution: Add PCK in the table. (Keiichi Oono)
3564Files: src/mbyte.c
3565
3566Patch 7.4.521
3567Problem: When using "vep" a mark is moved to the next line. (Maxi Padulo,
3568 Issue 283)
3569Solution: Decrement the line number. (Christian Brabandt)
3570Files: src/ops.c
3571
3572Patch 7.4.522
3573Problem: Specifying wrong buffer size for GetLongPathName().
3574Solution: Use the actual size. (Ken Takata)
3575Files: src/eval.c
3576
3577Patch 7.4.523
3578Problem: When the X11 server is stopped and restarted, while Vim is kept in
3579 the background, copy/paste no longer works. (Issue 203)
3580Solution: Setup the clipboard again. (Christian Brabandt)
3581Files: src/os_unix.c
3582
3583Patch 7.4.524
3584Problem: When using ":ownsyntax" spell checking is messed up. (Issue 78)
3585Solution: Use the window-local option values. (Christian Brabandt)
3586Files: src/option.c, src/syntax.c
3587
3588Patch 7.4.525
3589Problem: map() leaks memory when there is an error in the expression.
3590Solution: Call clear_tv(). (Christian Brabandt)
3591Files: src/eval.c
3592
3593Patch 7.4.526
3594Problem: matchstr() fails on long text. (Daniel Hahler)
3595Solution: Return NFA_TOO_EXPENSIVE from regexec_nl(). (Christian Brabandt)
3596Files: src/regexp.c
3597
3598Patch 7.4.527
3599Problem: Still confusing regexp failure and NFA_TOO_EXPENSIVE.
3600Solution: NFA changes equivalent of 7.4.526.
3601Files: src/regexp_nfa.c
3602
3603Patch 7.4.528
3604Problem: Crash when using matchadd() (Yasuhiro Matsumoto)
3605Solution: Copy the match regprog.
3606Files: src/screen.c
3607
3608Patch 7.4.529
3609Problem: No test for what 7.4.517 fixes.
3610Solution: Adjust the tests for breakindent. (Christian Brabandt)
3611Files: src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok
3612
3613Patch 7.4.530
3614Problem: Many commands take a count or range that is not using line
3615 numbers.
3616Solution: For each command specify what kind of count it uses. For windows,
3617 buffers and arguments have "$" and "." have a relevant meaning.
3618 (Marcin Szamotulski)
3619Files: runtime/doc/editing.txt, runtime/doc/tabpage.txt,
3620 runtime/doc/windows.txt, src/Makefile, src/ex_cmds.h,
3621 src/ex_docmd.c, src/testdir/Make_amiga.mak
3622 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3623 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3624 src/testdir/Makefile, src/testdir/test_argument_count.in,
3625 src/testdir/test_argument_count.ok,
3626 src/testdir/test_close_count.in, src/testdir/test_close_count.ok,
3627 src/window.c
3628
3629Patch 7.4.531
3630Problem: Comments about parsing an Ex command are wrong.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003631Solution: Correct the step numbers.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003632Files: src/ex_docmd.c
3633
3634Patch 7.4.532
3635Problem: When using 'incsearch' "2/pattern/e" highlights the first match.
3636Solution: Move the code to set extra_col inside the loop for count. (Ozaki
3637 Kiichi)
3638Files: src/search.c
3639
3640Patch 7.4.533
3641Problem: ":hardcopy" leaks memory in case of errors.
3642Solution: Free memory in all code paths. (Christian Brabandt)
3643Files: src/hardcopy.c
3644
3645Patch 7.4.534
3646Problem: Warnings when compiling if_ruby.c.
3647Solution: Avoid the warnings. (Ken Takata)
3648Files: src/if_ruby.c
3649
3650Patch 7.4.535 (after 7.4.530)
3651Problem: Can't build with tiny features.
3652Solution: Add #ifdefs and skip a test.
3653Files: src/ex_docmd.c, src/testdir/test_argument_count.in
3654
3655Patch 7.4.536
3656Problem: Test 63 fails when using a black&white terminal.
3657Solution: Add attributes for a non-color terminal. (Christian Brabandt)
3658Files: src/testdir/test63.in
3659
3660Patch 7.4.537
3661Problem: Value of v:hlsearch reflects an internal variable.
3662Solution: Make the value reflect whether search highlighting is actually
3663 displayed. (Christian Brabandt)
3664Files: runtime/doc/eval.txt, src/testdir/test101.in,
3665 src/testdir/test101.ok, src/vim.h
3666
3667Patch 7.4.538
3668Problem: Tests fail with small features plus Python.
3669Solution: Disallow weird combination of options. Do not set "fdm" when
3670 folding is disabled.
3671Files: src/option.c, src/ex_cmds.c, src/configure.in, src/auto/configure,
3672 src/feature.h
3673
3674Patch 7.4.539 (after 7.4.530)
3675Problem: Crash when computing buffer count. Problem with range for user
3676 commands. Line range wrong in Visual area.
3677Solution: Avoid segfault in compute_buffer_local_count(). Check for
3678 CMD_USER when checking type of range. (Marcin Szamotulski)
3679Files: runtime/doc/windows.txt, src/ex_docmd.c
3680
3681Patch 7.4.540 (after 7.4.539)
3682Problem: Cannot build with tiny and small features. (Taro Muraoka)
3683Solution: Add #ifdef around CMD_USER.
3684Files: src/ex_docmd.c
3685
3686Patch 7.4.541
3687Problem: Crash when doing a range assign.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003688Solution: Check for NULL pointer. (Yukihiro Nakadaira)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003689Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
3690
3691Patch 7.4.542
3692Problem: Using a range for window and buffer commands has a few problems.
3693 Cannot specify the type of range for a user command.
3694Solution: Add the -addr argument for user commands. Fix problems. (Marcin
3695 Szamotulski)
3696Files: src/testdir/test_command_count.in,
3697 src/testdir/test_command_count.ok src/testdir/Make_amiga.mak
3698 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3699 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3700 src/testdir/Makefile, runtime/doc/map.txt, src/Makefile,
3701 src/ex_cmds.h, src/ex_docmd.c, src/ex_getln.c,
3702 src/proto/ex_docmd.pro, src/vim.h,
3703
3704Patch 7.4.543
3705Problem: Since patch 7.4.232 "1,3s/\n//" joins two lines instead of three.
3706 (Eliseo Martínez) Issue 287
3707Solution: Correct the line count. (Christian Brabandt)
3708 Also set the last used search pattern.
3709Files: src/ex_cmds.c, src/search.c, src/proto/search.pro
3710
3711Patch 7.4.544
3712Problem: Warnings for unused arguments when compiling with a combination of
3713 features.
3714Solution: Add "UNUSED".
3715Files: src/if_cscope.c
3716
3717Patch 7.4.545
3718Problem: Highlighting for multi-line matches is not correct.
3719Solution: Stop highlight at the end of the match. (Hirohito Higashi)
3720Files: src/screen.c
3721
3722Patch 7.4.546
3723Problem: Repeated use of vim_snprintf() with a number.
3724Solution: Move these vim_snprintf() calls into a function.
3725Files: src/window.c
3726
3727Patch 7.4.547
3728Problem: Using "vit" does not select a multi-byte character at the end
3729 correctly.
3730Solution: Advance the cursor over the multi-byte character. (Christian
3731 Brabandt)
3732Files: src/search.c
3733
3734Patch 7.4.548
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003735Problem: Compilation fails with native version of MinGW-w64, because
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003736 it doesn't have x86_64-w64-mingw32-windres.exe.
3737Solution: Use windres instead. (Ken Takata)
3738Files: src/Make_cyg_ming.mak
3739
3740Patch 7.4.549
3741Problem: Function name not recognized correctly when inside a function.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003742Solution: Don't check for an alpha character. (Ozaki Kiichi)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003743Files: src/eval.c, src/testdir/test_nested_function.in,
3744 src/testdir/test_nested_function.ok, src/testdir/Make_amiga.mak,
3745 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3746 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3747 src/testdir/Makefile
3748
3749Patch 7.4.550
3750Problem: curs_rows() function is always called with the second argument
3751 false.
3752Solution: Remove the argument. (Christian Brabandt)
3753 validate_botline_win() can then also be removed.
3754Files: src/move.c
3755
3756Patch 7.4.551
3757Problem: "ygn" may yank too much. (Fritzophrenic) Issue 295.
3758Solution: Check the width of the next match. (Christian Brabandt)
3759Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok
3760
3761Patch 7.4.552
3762Problem: Langmap applies to Insert mode expression mappings.
3763Solution: Check for Insert mode. (Daniel Hahler)
3764Files: src/getchar.c, src/testdir/test_mapping.in,
3765 src/testdir/test_mapping.ok
3766
3767Patch 7.4.553
3768Problem: Various small issues.
3769Solution: Fix those issues.
3770Files: src/ex_cmds.h, src/gui.h, src/message.c, src/testdir/test39.in,
3771 src/proto/eval.pro, src/proto/misc1.pro, src/proto/ops.pro,
3772 src/proto/screen.pro, src/proto/window.pro. src/os_unix.c,
3773 src/Make_vms.mms, src/proto/os_vms.pro, src/INSTALL
3774
3775Patch 7.4.554
3776Problem: Missing part of patch 7.4.519.
3777Solution: Copy back regprog after calling vim_regexec.
3778Files: src/quickfix.c
3779
3780Patch 7.4.555
3781Problem: test_close_count may fail for some combination of features.
3782Solution: Require normal features.
3783Files: src/testdir/test_close_count.in
3784
3785Patch 7.4.556
3786Problem: Failed commands in Python interface not handled correctly.
3787Solution: Restore window and buffer on failure.
3788Files: src/if_py_both.h
3789
3790Patch 7.4.557
3791Problem: One more small issue.
3792Solution: Update function proto.
3793Files: src/proto/window.pro
3794
3795Patch 7.4.558
3796Problem: When the X server restarts Vim may get stuck.
3797Solution: Destroy the application context and create it again. (Issue 203)
3798Files: src/os_unix.c
3799
3800Patch 7.4.559
3801Problem: Appending a block in the middle of a tab does not work correctly
3802 when virtualedit is set.
3803Solution: Decrement spaces and count, don't reset them. (James McCoy)
3804Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
3805
3806Patch 7.4.560
3807Problem: Memory leak using :wviminfo. Issue 296.
3808Solution: Free memory when needed. (idea by Christian Brabandt)
3809Files: src/ops.c
3810
3811Patch 7.4.561
3812Problem: Ex range handling is wrong for buffer-local user commands.
3813Solution: Check for CMD_USER_BUF. (Marcin Szamotulski)
3814Files: src/ex_docmd.c, src/testdir/test_command_count.in,
3815 src/testdir/test_command_count.ok
3816
3817Patch 7.4.562
3818Problem: Segfault with wide screen and error in 'rulerformat'. (Ingo Karkat)
3819Solution: Check there is enough space. (Christian Brabandt)
3820Files: src/buffer.c, src/screen.c
3821
3822Patch 7.4.563
3823Problem: No test for replacing on a tab in Virtual replace mode.
3824Solution: Add a test. (Elias Diem)
3825Files: src/testdir/test48.in, src/testdir/test48.ok
3826
3827Patch 7.4.564
3828Problem: FEAT_OSFILETYPE is used even though it's never defined.
3829Solution: Remove the code. (Christian Brabandt)
3830Files: src/fileio.c
3831
3832Patch 7.4.565
3833Problem: Ranges for arguments, buffers, tabs, etc. are not checked to be
3834 valid but limited to the maximum. This can cause the wrong thing
3835 to happen.
3836Solution: Give an error for an invalid value. (Marcin Szamotulski)
3837 Use windows range for ":wincmd".
3838Files: src/ex_docmd.c, src/ex_cmds.h, src/testdir/test62.in,
3839 src/testdir/test_argument_count.in,
3840 src/testdir/test_argument_count.ok,
3841 src/testdir/test_close_count.in,
3842 src/testdir/test_command_count.in,
3843 src/testdir/test_command_count.ok
3844
3845Patch 7.4.566
3846Problem: :argdo, :bufdo, :windo and :tabdo don't take a range.
3847Solution: Support the range. (Marcin Szamotulski)
3848Files: runtime/doc/editing.txt, runtime/doc/tabpage.txt,
3849 runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmds2.c,
3850 src/testdir/test_command_count.in,
3851 src/testdir/test_command_count.ok
3852
3853Patch 7.4.567
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003854Problem: Non-ascii vertical separator characters are always redrawn.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003855Solution: Compare only the one byte that's stored. (Thiago Padilha)
3856Files: src/screen.c
3857
3858Patch 7.4.568
3859Problem: Giving an error for ":0wincmd w" is a problem for some plugins.
3860Solution: Allow the zero in the range. (Marcin Szamotulski)
3861Files: src/ex_docmd.c, src/testdir/test_command_count.ok
3862
3863Patch 7.4.569 (after 7.4.468)
3864Problem: Having CTRL-C interrupt or not does not check the mode of the
3865 mapping. (Ingo Karkat)
3866Solution: Use a bitmask with the map mode. (Christian Brabandt)
3867Files: src/getchar.c, src/structs.h, src/testdir/test_mapping.in,
3868 src/testdir/test_mapping.ok, src/ui.c, src/globals.h
3869
3870Patch 7.4.570
3871Problem: Building with dynamic library does not work for Ruby 2.2.0
3872Solution: Change #ifdefs and #defines. (Ken Takata)
3873Files: src/if_ruby.c
3874
3875Patch 7.4.571 (after 7.4.569)
3876Problem: Can't build with tiny features. (Ike Devolder)
3877Solution: Add #ifdef.
3878Files: src/getchar.c
3879
3880Patch 7.4.572
3881Problem: Address type of :wincmd depends on the argument.
3882Solution: Check the argument.
3883Files: src/ex_docmd.c, src/window.c, src/proto/window.pro
3884
3885Patch 7.4.573 (after 7.4.569)
3886Problem: Mapping CTRL-C in Visual mode doesn't work. (Ingo Karkat)
3887Solution: Call get_real_state() instead of using State directly.
3888Files: src/ui.c, src/testdir/test_mapping.in, src/testdir/test_mapping.ok
3889
3890Patch 7.4.574
3891Problem: No error for eval('$').
3892Solution: Check for empty name. (Yasuhiro Matsumoto)
3893Files: src/eval.c
3894
3895Patch 7.4.575
3896Problem: Unicode character properties are outdated.
3897Solution: Update the tables with the latest version.
3898Files: src/mbyte.c
3899
3900Patch 7.4.576
3901Problem: Redrawing problem with 'relativenumber' and 'linebreak'.
3902Solution: Temporarily reset 'linebreak' and restore it in more places.
3903 (Christian Brabandt)
3904Files: src/normal.c
3905
3906Patch 7.4.577
3907Problem: Matching with a virtual column has a lot of overhead on very long
3908 lines. (Issue 310)
3909Solution: Bail out early if there can't be a match. (Christian Brabandt)
3910 Also check for CTRL-C at every position.
3911Files: src/regexp_nfa.c
3912
3913Patch 7.4.578
3914Problem: Using getcurpos() after "$" in an empty line returns a negative
3915 number.
3916Solution: Don't add one when this would overflow. (Hirohito Higashi)
3917Files: src/eval.c
3918
3919Patch 7.4.579
3920Problem: Wrong cursor positioning when 'linebreak' is set and lines wrap.
3921Solution: Fix it. (Christian Brabandt)
3922Files: src/charset.c, src/screen.c
3923
3924Patch 7.4.580
3925Problem: ":52wincmd v" still gives an invalid range error. (Charles
3926 Campbell)
3927Solution: Skip over white space.
3928Files: src/ex_docmd.c
3929
3930Patch 7.4.581
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02003931Problem: Compiler warnings for uninitialized variables. (John Little)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02003932Solution: Initialize the variables.
3933Files: src/ops.c
3934
3935Patch 7.4.582 (after 7.4.577)
3936Problem: Can't match "%>80v" properly. (Axel Bender)
3937Solution: Correctly handle ">". (Christian Brabandt)
3938Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
3939
3940Patch 7.4.583
3941Problem: With tiny features test 16 may fail.
3942Solution: Source small.vim. (Christian Brabandt)
3943Files: src/testdir/test16.in
3944
3945Patch 7.4.584
3946Problem: With tiny features test_command_count may fail.
3947Solution: Source small.vim. (Christian Brabandt)
3948Files: src/testdir/test_command_count.in
3949
3950Patch 7.4.585
3951Problem: Range for :bdelete does not work. (Ronald Schild)
3952Solution: Also allow unloaded buffers.
3953Files: src/ex_cmds.h, src/testdir/test_command_count.in,
3954 src/testdir/test_command_count.ok
3955
3956Patch 7.4.586
3957Problem: Parallel building of the documentation html files is not reliable.
3958Solution: Remove a cyclic dependency. (Reiner Herrmann)
3959Files: runtime/doc/Makefile
3960
3961Patch 7.4.587
3962Problem: Conceal does not work properly with 'linebreak'. (cs86661)
3963Solution: Save and restore boguscols. (Christian Brabandt)
3964Files: src/screen.c, src/testdir/test_listlbr_utf8.in,
3965 src/testdir/test_listlbr_utf8.ok
3966
3967Patch 7.4.588
3968Problem: ":0argedit foo" puts the new argument in the second place instead
3969 of the first.
3970Solution: Adjust the range type. (Ingo Karkat)
3971Files: src/ex_cmds.h, src/testdir/Make_amiga.mak,
3972 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
3973 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
3974 src/testdir/Makefile, src/testdir/test_argument_0count.in,
3975 src/testdir/test_argument_0count.ok
3976
3977Patch 7.4.589
3978Problem: In the MS-Windows console Vim can't handle greek characters when
3979 encoding is utf-8.
3980Solution: Escape K_NUL. (Yasuhiro Matsumoto)
3981Files: src/os_win32.c
3982
3983Patch 7.4.590
3984Problem: Using ctrl_x_mode as if it contains flags.
3985Solution: Don't use AND with CTRL_X_OMNI. (Hirohito Higashi)
3986Files: src/edit.c
3987
3988Patch 7.4.591 (after 7.4.587)
3989Problem: test_listlbr_utf8 fails when the conceal feature is not available.
3990Solution: Check for the conceal feature. (Kazunobu Kuriyama)
3991Files: src/testdir/test_listlbr_utf8.in
3992
3993Patch 7.4.592
3994Problem: When doing ":e foobar" when already editing "foobar" and 'buftype'
3995 is "nofile" the buffer is cleared. (Xavier de Gaye)
3996Solution: Do no clear the buffer.
3997Files: src/ex_cmds.c
3998
3999Patch 7.4.593
4000Problem: Crash when searching for "x\{0,90000}". (Dominique Pelle)
4001Solution: Bail out from the NFA engine when the max limit is much higher
4002 than the min limit.
4003Files: src/regexp_nfa.c, src/regexp.c, src/vim.h
4004
4005Patch 7.4.594
4006Problem: Using a block delete while 'breakindent' is set does not work
4007 properly.
4008Solution: Use "line" instead of "prev_pend" as the first argument to
4009 lbr_chartabsize_adv(). (Hirohito Higashi)
4010Files: src/ops.c, src/testdir/test_breakindent.in,
4011 src/testdir/test_breakindent.ok
4012
4013Patch 7.4.595
4014Problem: The test_command_count test fails when using Japanese.
4015Solution: Force the language to C. (Hirohito Higashi)
4016Files: src/testdir/test_command_count.in
4017
4018Patch 7.4.596 (after 7.4.592)
4019Problem: Tiny build doesn't compile. (Ike Devolder)
4020Solution: Add #ifdef.
4021Files: src/ex_cmds.c
4022
4023Patch 7.4.597
4024Problem: Cannot change the result of systemlist().
4025Solution: Initialize v_lock. (Yukihiro Nakadaira)
4026Files: src/eval.c
4027
4028Patch 7.4.598
4029Problem: ":tabdo windo echo 'hi'" causes "* register not to be changed.
4030 (Salman Halim)
4031Solution: Change how clip_did_set_selection is used and add
4032 clipboard_needs_update and global_change_count. (Christian
4033 Brabandt)
4034Files: src/main.c, src/ui.c, src/testdir/test_eval.in,
4035 src/testdir/test_eval.ok
4036
4037Patch 7.4.599
4038Problem: Out-of-memory error.
4039Solution: Avoid trying to allocate a negative amount of memory, use size_t
4040 instead of int. (Dominique Pelle)
4041Files: src/regexp_nfa.c
4042
4043Patch 7.4.600
4044Problem: Memory wasted in struct because of aligning.
4045Solution: Split pos in lnum and col. (Dominique Pelle)
4046Files: src/regexp_nfa.c
4047
4048Patch 7.4.601
4049Problem: It is not possible to have feedkeys() insert characters.
4050Solution: Add the 'i' flag.
4051Files: src/eval.c, runtime/doc/eval.txt
4052
4053Patch 7.4.602
4054Problem: ":set" does not accept hex numbers as documented.
4055Solution: Use vim_str2nr(). (ZyX)
4056Files: src/option.c, runtime/doc/options.txt
4057
4058Patch 7.4.603
4059Problem: 'foldcolumn' may be set such that it fills the whole window, not
4060 leaving space for text.
4061Solution: Reduce the foldcolumn width when there is not sufficient room.
4062 (idea by Christian Brabandt)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004063Files: src/screen.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004064
4065Patch 7.4.604
4066Problem: Running tests changes viminfo.
4067Solution: Disable viminfo.
4068Files: src/testdir/test_breakindent.in
4069
4070Patch 7.4.605
4071Problem: The # register is not writable, it cannot be restored after
4072 jumping around.
4073Solution: Make the # register writable. (Marcin Szamotulski)
4074Files: runtime/doc/change.txt, src/ops.c, src/buffer.c, src/globals.h
4075
4076Patch 7.4.606
4077Problem: May crash when using a small window.
4078Solution: Avoid dividing by zero. (Christian Brabandt)
4079Files: src/normal.c
4080
4081Patch 7.4.607 (after 7.4.598)
4082Problem: Compiler warnings for unused variables.
4083Solution: Move them inside #ifdef. (Kazunobu Kuriyama)
4084Files: src/ui.c
4085
4086Patch 7.4.608 (after 7.4.598)
4087Problem: test_eval fails when the clipboard feature is missing.
4088Solution: Skip part of the test. Reduce the text used.
4089Files: src/testdir/test_eval.in, src/testdir/test_eval.ok
4090
4091Patch 7.4.609
4092Problem: For complicated list and dict use the garbage collector can run
4093 out of stack space.
4094Solution: Use a stack of dicts and lists to be marked, thus making it
4095 iterative instead of recursive. (Ben Fritz)
4096Files: src/eval.c, src/if_lua.c, src/if_py_both.h, src/if_python.c,
4097 src/if_python3.c, src/proto/eval.pro, src/proto/if_lua.pro,
4098 src/proto/if_python.pro, src/proto/if_python3.pro, src/structs.h
4099
4100Patch 7.4.610
4101Problem: Some function headers may be missing from generated .pro files.
4102Solution: Add PROTO to the #ifdef.
4103Files: src/option.c, src/syntax.c
4104
4105Patch 7.4.611 (after 7.4.609)
4106Problem: Syntax error.
4107Solution: Change statement to return.
4108Files: src/if_python3.c
4109
4110Patch 7.4.612
4111Problem: test_eval fails on Mac.
4112Solution: Use the * register instead of the + register. (Jun Takimoto)
4113Files: src/testdir/test_eval.in, src/testdir/test_eval.ok
4114
4115Patch 7.4.613
4116Problem: The NFA engine does not implement the 'redrawtime' time limit.
4117Solution: Implement the time limit.
4118Files: src/regexp_nfa.c
4119
4120Patch 7.4.614
4121Problem: There is no test for what patch 7.4.601 fixes.
4122Solution: Add a test. (Christian Brabandt)
4123Files: src/testdir/test_mapping.in, src/testdir/test_mapping.ok
4124
4125Patch 7.4.615
4126Problem: Vim hangs when freeing a lot of objects.
4127Solution: Do not go back to the start of the list every time. (Yasuhiro
4128 Matsumoto and Ariya Mizutani)
4129Files: src/eval.c
4130
4131Patch 7.4.616
4132Problem: Cannot insert a tab in front of a block.
4133Solution: Correctly compute aop->start. (Christian Brabandt)
4134Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
4135
4136Patch 7.4.617
4137Problem: Wrong ":argdo" range does not cause an error.
4138Solution: Reset "cmd" to NULL. (Marcin Szamotulski, Ingo Karkat)
4139Files: src/ex_docmd.c
4140
4141Patch 7.4.618 (after 7.4.609)
4142Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi)
4143Solution: Put the return statement back.
4144Files: src/if_lua.c
4145
4146Patch 7.4.619 (after 7.4.618)
4147Problem: luaV_setref() not returning the correct value.
4148Solution: Return one.
4149Files: src/if_lua.c
4150
4151Patch 7.4.620
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004152Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004153Solution: Initialize "did_free". (Ben Fritz)
4154Files: src/eval.c
4155
4156Patch 7.4.621 (after 7.4.619)
4157Problem: Returning 1 in the wrong function. (Raymond Ko)
4158Solution: Return 1 in the right function (hopefully).
4159Files: src/if_lua.c
4160
4161Patch 7.4.622
4162Problem: Compiler warning for unused argument.
4163Solution: Add UNUSED.
4164Files: src/regexp_nfa.c
4165
4166Patch 7.4.623
4167Problem: Crash with pattern: \(\)\{80000} (Dominique Pelle)
4168Solution: When the max limit is large fall back to the old engine.
4169Files: src/regexp_nfa.c
4170
4171Patch 7.4.624
4172Problem: May leak memory or crash when vim_realloc() returns NULL.
4173Solution: Handle a NULL value properly. (Mike Williams)
4174Files: src/if_cscope.c, src/memline.c, src/misc1.c, src/netbeans.c
4175
4176Patch 7.4.625
4177Problem: Possible NULL pointer dereference.
4178Solution: Check for NULL before using it. (Mike Williams)
4179Files: src/if_py_both.h
4180
4181Patch 7.4.626
4182Problem: MSVC with W4 gives useless warnings.
4183Solution: Disable more warnings. (Mike Williams)
4184Files: src/vim.h
4185
4186Patch 7.4.627
4187Problem: The last screen cell is not updated.
4188Solution: Respect the "tn" termcap feature. (Hayaki Saito)
4189Files: runtime/doc/term.txt, src/option.c, src/screen.c, src/term.c,
4190 src/term.h
4191
4192Patch 7.4.628
4193Problem: Compiler warning for variable might be clobbered by longjmp.
4194Solution: Add volatile. (Michael Jarvis)
4195Files: src/main.c
4196
4197Patch 7.4.629
4198Problem: Coverity warning for Out-of-bounds read.
4199Solution: Increase MAXWLEN to 254. (Eliseo Martínez)
4200Files: src/spell.c
4201
4202Patch 7.4.630
4203Problem: When using Insert mode completion combined with autocommands the
4204 redo command may not work.
4205Solution: Do not save the redo buffer when executing autocommands. (Yasuhiro
4206 Matsumoto)
4207Files: src/fileio.c
4208
4209Patch 7.4.631
4210Problem: The default conceal character is documented to be a space but it's
4211 initially a dash. (Christian Brabandt)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004212Solution: Make the initial value a space.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004213Files: src/globals.h
4214
4215Patch 7.4.632 (after 7.4.592)
4216Problem: 7.4.592 breaks the netrw plugin, because the autocommands are
4217 skipped.
4218Solution: Roll back the change.
4219Files: src/ex_cmds.c
4220
4221Patch 7.4.633
4222Problem: After 7.4.630 the problem persists.
4223Solution: Also skip redo when calling a user function.
4224Files: src/eval.c
4225
4226Patch 7.4.634
4227Problem: Marks are not restored after redo + undo.
4228Solution: Fix the way marks are restored. (Olaf Dabrunz)
4229Files: src/undo.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
4230 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
4231 src/testdir/Make_vms.mms, src/testdir/Makefile,
4232 src/testdir/test_marks.in, src/testdir/test_marks.ok
4233
4234Patch 7.4.635
4235Problem: If no NL or CR is found in the first block of a file then the
4236 'fileformat' may be set to "mac". (Issue 77)
4237Solution: Check if a CR was found. (eswald)
4238Files: src/fileio.c
4239
4240Patch 7.4.636
4241Problem: A search with end offset gets stuck at end of file. (Gary Johnson)
4242Solution: When a search doesn't move the cursor repeat it with a higher
4243 count. (Christian Brabandt)
4244Files: src/normal.c, src/testdir/test44.in, src/testdir/test44.ok
4245
4246Patch 7.4.637
4247Problem: Incorrectly read the number of buffer for which an autocommand
4248 should be registered.
4249Solution: Reverse check for "<buffer=abuf>". (Lech Lorens)
4250Files: src/fileio.c
4251
4252Patch 7.4.638
4253Problem: Can't build with Lua 5.3 on Windows.
4254Solution: use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)
4255Files: src/if_lua.c
4256
4257Patch 7.4.639
4258Problem: Combination of linebreak and conceal doesn't work well.
4259Solution: Fix the display problems. (Christian Brabandt)
4260Files: src/screen.c, src/testdir/test88.in, src/testdir/test88.ok,
4261 src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok
4262
4263Patch 7.4.640
4264Problem: After deleting characters in Insert mode such that lines are
4265 joined undo does not work properly. (issue 324)
4266Solution: Use Insstart instead of Insstart_orig. (Christian Brabandt)
4267Files: src/edit.c
4268
4269Patch 7.4.641
4270Problem: The tabline menu was using ":999tabnew" which is now invalid.
4271Solution: Use ":$tabnew" instead. (Florian Degner)
4272Files: src/normal.c
4273
4274Patch 7.4.642
4275Problem: When using "gf" escaped spaces are not handled.
4276Solution: Recognize escaped spaces.
Bram Moolenaar259f26a2018-05-15 22:25:40 +02004277Files: src/vim.h, src/window.c, src/misc2.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004278
4279Patch 7.4.643
4280Problem: Using the default file format for Mac files. (Issue 77)
4281Solution: Reset the try_mac counter in the right place. (Oswald)
4282Files: src/fileio.c, src/testdir/test30.in, src/testdir/test30.ok
4283
4284Patch 7.4.644
4285Problem: Stratus VOS doesn't have sync().
4286Solution: Use fflush(). (Karli Aurelia)
4287Files: src/memfile.c
4288
4289Patch 7.4.645
4290Problem: When splitting the window in a BufAdd autocommand while still in
4291 the first, empty buffer the window count is wrong.
4292Solution: Do not reset b_nwindows to zero and don't increment it.
4293Files: src/buffer.c, src/ex_cmds.c
4294
4295Patch 7.4.646
4296Problem: ":bufdo" may start at a deleted buffer.
4297Solution: Find the first not deleted buffer. (Shane Harper)
4298Files: src/ex_cmds2.c, src/testdir/test_command_count.in,
4299 src/testdir/test_command_count.ok
4300
4301Patch 7.4.647
4302Problem: After running the tests on MS-Windows many files differ from their
4303 originals as they were checked out.
4304Solution: Use a temp directory for executing the tests. (Ken Takata, Taro
4305 Muraoka)
4306Files: src/testdir/Make_dos.mak
4307
4308Patch 7.4.648 (after 7.4.647)
4309Problem: Tests broken on MS-Windows.
4310Solution: Delete wrong copy line. (Ken Takata)
4311Files: src/testdir/Make_dos.mak
4312
4313Patch 7.4.649
4314Problem: Compiler complains about ignoring return value of fwrite().
4315 (Michael Jarvis)
4316Solution: Add (void).
4317Files: src/misc2.c
4318
4319Patch 7.4.650
4320Problem: Configure check may fail because the dl library is not used.
Bram Moolenaard0796902016-09-16 20:02:31 +02004321Solution: Put "-ldl" in LIBS rather than LDFLAGS. (Ozaki Kiichi)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004322Files: src/configure.in, src/auto/configure
4323
4324Patch 7.4.651 (after 7.4.582)
4325Problem: Can't match "%>80v" properly for multi-byte characters.
4326Solution: Multiply the character number by the maximum number of bytes in a
4327 character. (Yasuhiro Matsumoto)
4328Files: src/regexp_nfa.c
4329
4330Patch 7.4.652
4331Problem: Xxd lacks a few features.
4332Solution: Use 8 characters for the file position. Add the -e and -o
4333 arguments. (Vadim Vygonets)
4334Files: src/xxd/xxd.c, runtime/doc/xxd.1
4335
4336Patch 7.4.653
4337Problem: Insert mode completion with complete() may have CTRL-L work like
4338 CTRL-P.
4339Solution: Handle completion with complete() differently. (Yasuhiro
4340 Matsumoto, Christian Brabandt, Hirohito Higashi)
4341Files: src/edit.c
4342
4343Patch 7.4.654
4344Problem: glob() and globpath() cannot include links to non-existing files.
4345 (Charles Campbell)
4346Solution: Add an argument to include all links with glob(). (James McCoy)
4347 Also for globpath().
4348Files: src/vim.h, src/eval.c, src/ex_getln.c
4349
4350Patch 7.4.655
4351Problem: Text deleted by "dit" depends on indent of closing tag.
4352 (Jan Parthey)
4353Solution: Do not adjust oap->end in do_pending_operator(). (Christian
4354 Brabandt)
4355Files: src/normal.c, src/search.c, src/testdir/test53.in,
4356 src/testdir/test53.ok
4357
4358Patch 7.4.656 (after 7.4.654)
4359Problem: Missing changes for glob() in one file.
4360Solution: Add the missing changes.
4361Files: src/misc1.c
4362
4363Patch 7.4.657 (after 7.4.656)
4364Problem: Compiler warnings for pointer mismatch.
4365Solution: Add a typecast. (John Marriott)
4366Files: src/misc1.c
4367
4368Patch 7.4.658
4369Problem: 'formatexpr' is evaluated too often.
4370Solution: Only invoke it when beyond the 'textwidth' column, as it is
4371 documented. (James McCoy)
4372Files: src/edit.c
4373
4374Patch 7.4.659
4375Problem: When 'ruler' is set the preferred column is reset. (Issue 339)
4376Solution: Don't set curswant when redrawing the status lines.
4377Files: src/option.c
4378
4379Patch 7.4.660
4380Problem: Using freed memory when g:colors_name is changed in the colors
4381 script. (oni-link)
4382Solution: Make a copy of the variable value.
4383Files: src/syntax.c
4384
4385Patch 7.4.661
4386Problem: Using "0 CTRL-D" in Insert mode may have CursorHoldI interfere.
4387 (Gary Johnson)
4388Solution: Don't store K_CURSORHOLD as the last character. (Christian
4389 Brabandt)
4390Files: src/edit.c
4391
4392Patch 7.4.662
4393Problem: When 'M' is in the 'cpo' option then selecting a text object in
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004394 parentheses does not work correctly.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004395Solution: Keep 'M' in 'cpo' when finding a match. (Hirohito Higashi)
4396Files: src/search.c, src/testdir/Make_amiga.mak,
4397 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
4398 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
4399 src/testdir/Makefile, src/testdir/test_textobjects.in,
4400 src/testdir/test_textobjects.ok
4401
4402Patch 7.4.663
4403Problem: When using netbeans a buffer is not found in another tab.
4404Solution: When 'switchbuf' is set to "usetab" then switch to another tab
4405 when possible. (Xavier de Gaye)
4406Files: src/netbeans.c
4407
4408Patch 7.4.664
4409Problem: When 'compatible' is reset 'numberwidth' is set to 4, but the
4410 effect doesn't show until a change is made.
4411Solution: Check if 'numberwidth' changed. (Christian Brabandt)
4412Files: src/screen.c, src/structs.h
4413
4414Patch 7.4.665
4415Problem: 'linebreak' does not work properly with multi-byte characters.
4416Solution: Compute the pointer offset with mb_head_off(). (Yasuhiro
4417 Matsumoto)
4418Files: src/screen.c
4419
4420Patch 7.4.666
4421Problem: There is a chance that Vim may lock up.
4422Solution: Handle timer events differently. (Aaron Burrow)
4423Files: src/os_unix.c
4424
4425Patch 7.4.667
4426Problem: 'colorcolumn' isn't drawn in a closed fold while 'cursorcolumn'
4427 is. (Carlos Pita)
4428Solution: Make it consistent. (Christian Brabandt)
4429Files: src/screen.c
4430
4431Patch 7.4.668
4432Problem: Can't use a glob pattern as a regexp pattern.
4433Solution: Add glob2regpat(). (Christian Brabandt)
4434Files: src/eval.c, runtime/doc/eval.txt
4435
4436Patch 7.4.669
4437Problem: When netbeans is active the sign column always shows up.
4438Solution: Only show the sign column once a sign has been added. (Xavier de
4439 Gaye)
4440Files: src/buffer.c, src/edit.c, src/move.c, src/netbeans.c,
4441 src/screen.c, src/structs.h
4442
4443Patch 7.4.670
4444Problem: Using 'cindent' for Javascript is less than perfect.
4445Solution: Improve indenting of continuation lines. (Hirohito Higashi)
4446Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
4447
4448Patch 7.4.671 (after 7.4.665)
4449Problem: Warning for shadowing a variable.
4450Solution: Rename off to mb_off. (Kazunobu Kuriyama)
4451Files: src/screen.c
4452
4453Patch 7.4.672
4454Problem: When completing a shell command, directories in the current
4455 directory are not listed.
4456Solution: When "." is not in $PATH also look in the current directory for
4457 directories.
4458Files: src/ex_getln.c, src/vim.h, src/misc1.c, src/eval.c,
4459 src/os_amiga.c, src/os_msdos.c, src/os_unix.c, src/os_vms.c,
4460 src/proto/os_amiga.pro, src/proto/os_msdos.pro,
4461 src/proto/os_unix.pro, src/proto/os_win32.pro
4462
4463Patch 7.4.673
4464Problem: The first syntax entry gets sequence number zero, which doesn't
4465 work. (Clinton McKay)
4466Solution: Start at number one. (Bjorn Linse)
4467Files: src/syntax.c
4468
4469Patch 7.4.674 (after 7.4.672)
4470Problem: Missing changes in one file.
4471Solution: Also change the win32 file.
4472Files: src/os_win32.c
4473
4474Patch 7.4.675
4475Problem: When a FileReadPost autocommand moves the cursor inside a line it
4476 gets moved back.
4477Solution: When checking whether an autocommand moved the cursor store the
4478 column as well. (Christian Brabandt)
4479Files: src/ex_cmds.c
4480
4481Patch 7.4.676
4482Problem: On Mac, when not using the default Python framework configure
4483 doesn't do the right thing.
4484Solution: Use a linker search path. (Kazunobu Kuriyama)
4485Files: src/configure.in, src/auto/configure
4486
4487Patch 7.4.677 (after 7.4.676)
4488Problem: Configure fails when specifying a python-config-dir. (Lcd)
4489Solution: Check if PYTHONFRAMEWORKPREFIX is set.
4490Files: src/configure.in, src/auto/configure
4491
4492Patch 7.4.678
4493Problem: When using --remote the directory may end up being wrong.
4494Solution: Use localdir() to find out what to do. (Xaizek)
4495Files: src/main.c
4496
4497Patch 7.4.679
4498Problem: Color values greater than 255 cause problems on MS-Windows.
4499Solution: Truncate to 255 colors. (Yasuhiro Matsumoto)
4500Files: src/os_win32.c
4501
4502Patch 7.4.680
4503Problem: CTRL-W in Insert mode does not work well for multi-byte
4504 characters.
4505Solution: Use mb_get_class(). (Yasuhiro Matsumoto)
4506Files: src/edit.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
4507 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
4508 src/testdir/Make_vms.mms, src/testdir/Makefile,
4509 src/testdir/test_erasebackword.in,
4510 src/testdir/test_erasebackword.ok,
4511
4512Patch 7.4.681
4513Problem: MS-Windows: When Vim is minimized the window height is computed
4514 incorrectly.
4515Solution: When minimized use the previously computed size. (Ingo Karkat)
4516Files: src/gui_w32.c
4517
4518Patch 7.4.682
4519Problem: The search highlighting and match highlighting replaces the
4520 cursorline highlighting, this doesn't look good.
4521Solution: Combine the highlighting. (Yasuhiro Matsumoto)
4522Files: src/screen.c
4523
4524Patch 7.4.683
4525Problem: Typo in the vimtutor command.
4526Solution: Fix the typo. (Corey Farwell, github pull 349)
4527Files: vimtutor.com
4528
4529Patch 7.4.684
4530Problem: When starting several Vim instances in diff mode, the temp files
4531 used may not be unique. (Issue 353)
4532Solution: Add an argument to vim_tempname() to keep the file.
4533Files: src/diff.c, src/eval.c, src/ex_cmds.c, src/fileio.c,
4534 src/hardcopy.c, src/proto/fileio.pro, src/if_cscope.c,
4535 src/memline.c, src/misc1.c, src/os_unix.c, src/quickfix.c,
4536 src/spell.c
4537
4538Patch 7.4.685
4539Problem: When there are illegal utf-8 characters the old regexp engine may
4540 go past the end of a string.
4541Solution: Only advance to the end of the string. (Dominique Pelle)
4542Files: src/regexp.c
4543
4544Patch 7.4.686
4545Problem: "zr" and "zm" do not take a count.
4546Solution: Implement the count, restrict the fold level to the maximum
4547 nesting depth. (Marcin Szamotulski)
4548Files: runtime/doc/fold.txt, src/normal.c
4549
4550Patch 7.4.687
4551Problem: There is no way to use a different in Replace mode for a terminal.
4552Solution: Add t_SR. (Omar Sandoval)
4553Files: runtime/doc/options.txt, runtime/doc/term.txt,
4554 runtime/syntax/vim.vim, src/option.c, src/term.c, src/term.h
4555
4556Patch 7.4.688
4557Problem: When "$" is in 'cpo' the popup menu isn't undrawn correctly.
4558 (Issue 166)
4559Solution: When using the popup menu remove the "$".
4560Files: src/edit.c
4561
4562Patch 7.4.689
4563Problem: On MS-Windows, when 'autochdir' is set, diff mode with files in
4564 different directories does not work. (Axel Bender)
4565Solution: Remember the current directory and use it where needed. (Christian
4566 Brabandt)
4567Files: src/main.c
4568
4569Patch 7.4.690
4570Problem: Memory access errors when changing indent in Ex mode. Also missing
4571 redraw when using CTRL-U. (Knil Ino)
4572Solution: Update pointers after calling ga_grow().
4573Files: src/ex_getln.c
4574
4575Patch 7.4.691 (after 7.4.689)
4576Problem: Can't build with MzScheme.
4577Solution: Change "cwd" into the global variable "start_dir".
4578Files: src/main.c
4579
4580Patch 7.4.692
4581Problem: Defining SOLARIS for no good reason. (Danek Duvall)
4582Solution: Remove it.
4583Files: src/os_unix.h
4584
4585Patch 7.4.693
4586Problem: Session file is not correct when there are multiple tab pages.
4587Solution: Reset the current window number for each tab page. (Jacob Niehus)
4588Files: src/ex_docmd.c
4589
4590Patch 7.4.694
4591Problem: Running tests changes the .viminfo file.
4592Solution: Disable viminfo in the text objects test.
4593Files: src/testdir/test_textobjects.in
4594
4595Patch 7.4.695
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004596Problem: Out-of-bounds read, detected by Coverity.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004597Solution: Remember the value of cmap for the first matching encoding. Reset
4598 cmap to that value if first matching encoding is going to be used.
4599 (Eliseo Martínez)
4600Files: src/hardcopy.c
4601
4602Patch 7.4.696
4603Problem: Not freeing memory when encountering an error.
4604Solution: Free the stack before returning. (Eliseo Martínez)
4605Files: src/regexp_nfa.c
4606
4607Patch 7.4.697
4608Problem: The filename used for ":profile" must be given literally.
4609Solution: Expand "~" and environment variables. (Marco Hinz)
4610Files: src/ex_cmds2.c
4611
4612Patch 7.4.698
4613Problem: Various problems with locked and fixed lists and dictionaries.
4614Solution: Disallow changing locked items, fix a crash, add tests. (Olaf
4615 Dabrunz)
4616Files: src/structs.h, src/eval.c, src/testdir/test55.in,
4617 src/testdir/test55.ok
4618
4619Patch 7.4.699
4620Problem: E315 when trying to delete a fold. (Yutao Yuan)
4621Solution: Make sure the fold doesn't go beyond the last buffer line.
4622 (Christian Brabandt)
4623Files: src/fold.c
4624
4625Patch 7.4.700
4626Problem: Fold can't be opened after ":move". (Ein Brown)
4627Solution: Delete the folding information and update it afterwards.
4628 (Christian Brabandt)
4629Files: src/ex_cmds.c, src/fold.c, src/testdir/test45.in,
4630 src/testdir/test45.ok
4631
4632Patch 7.4.701
4633Problem: Compiler warning for using uninitialized variable. (Yasuhiro
4634 Matsumoto)
4635Solution: Initialize it.
4636Files: src/hardcopy.c
4637
4638Patch 7.4.702
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004639Problem: Joining an empty list does unnecessary work.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004640Solution: Let join() return early. (Marco Hinz)
4641Files: src/eval.c
4642
4643Patch 7.4.703
4644Problem: Compiler warning for start_dir unused when building unittests.
4645Solution: Move start_dir inside the #ifdef.
4646Files: src/main.c
4647
4648Patch 7.4.704
4649Problem: Searching for a character matches an illegal byte and causes
4650 invalid memory access. (Dominique Pelle)
4651Solution: Do not match an invalid byte when search for a character in a
4652 string. Fix equivalence classes using negative numbers, which
4653 result in illegal bytes.
4654Files: src/misc2.c, src/regexp.c, src/testdir/test44.in
4655
4656Patch 7.4.705
4657Problem: Can't build with Ruby 2.2.
4658Solution: Add #ifdefs to handle the incompatible change. (Andrei Olsen)
4659Files: src/if_ruby.c
4660
4661Patch 7.4.706
4662Problem: Window drawn wrong when 'laststatus' is zero and there is a
4663 command-line window. (Yclept Nemo)
4664Solution: Set the status height a bit later. (Christian Brabandt)
4665Files: src/window.c
4666
4667Patch 7.4.707
4668Problem: Undo files can have their executable bit set.
4669Solution: Strip of the executable bit. (Mikael Berthe)
4670Files: src/undo.c
4671
4672Patch 7.4.708
4673Problem: gettext() is called too often.
4674Solution: Do not call gettext() for messages until they are actually used.
4675 (idea by Yasuhiro Matsumoto)
4676Files: src/eval.c
4677
4678Patch 7.4.709
4679Problem: ":tabmove" does not work as documented.
4680Solution: Make it work consistently. Update documentation and add tests.
4681 (Hirohito Higashi)
4682Files: src/window.c, runtime/doc/tabpage.txt, src/ex_docmd.c,
4683 src/testdir/test62.in, src/testdir/test62.ok
4684
4685Patch 7.4.710
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02004686Problem: It is not possible to make spaces visible in list mode.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004687Solution: Add the "space" item to 'listchars'. (David Bürgin, issue 350)
4688Files: runtime/doc/options.txt, src/globals.h, src/message.h,
4689 src/screen.c, src/testdir/test_listchars.in,
4690 src/testdir/test_listchars.ok, src/testdir/Make_amiga.mak,
4691 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
4692 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
4693 src/testdir/Makefile
4694
4695Patch 7.4.711 (after 7.4.710)
4696Problem: Missing change in one file.
4697Solution: Also change option.c
4698Files: src/option.c
4699
4700Patch 7.4.712 (after 7.4.710)
4701Problem: Missing change in another file.
4702Solution: Also change message.c
4703Files: src/message.c
4704
4705Patch 7.4.713
4706Problem: Wrong condition for #ifdef.
4707Solution: Change USR_EXRC_FILE2 to USR_VIMRC_FILE2. (Mikael Fourrier)
4708Files: src/os_unix.h
4709
4710Patch 7.4.714
4711Problem: Illegal memory access when there are illegal bytes.
4712Solution: Check the byte length of the character. (Dominique Pelle)
4713Files: src/regexp.c
4714
4715Patch 7.4.715
4716Problem: Invalid memory access when there are illegal bytes.
4717Solution: Get the length from the text, not from the character. (Dominique
4718 Pelle)
4719Files: src/regexp_nfa.c
4720
4721Patch 7.4.716
4722Problem: When using the 'c' flag of ":substitute" and selecting "a" or "l"
4723 at the prompt the flags are not remembered for ":&&". (Ingo
4724 Karkat)
4725Solution: Save the flag values and restore them. (Hirohito Higashi)
4726Files: src/ex_cmds.c
4727
4728Patch 7.4.717
4729Problem: ":let list += list" can change a locked list.
4730Solution: Check for the lock earlier. (Olaf Dabrunz)
4731Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok
4732
4733Patch 7.4.718
4734Problem: Autocommands triggered by quickfix cannot get the current title
4735 value.
4736Solution: Set w:quickfix_title earlier. (Yannick)
4737 Also move the check for a title into the function.
4738Files: src/quickfix.c
4739
4740Patch 7.4.719
4741Problem: Overflow when adding MAXCOL to a pointer.
4742Solution: Subtract pointers instead. (James McCoy)
4743Files: src/screen.c
4744
4745Patch 7.4.720
4746Problem: Can't build with Visual Studio 2015.
4747Solution: Recognize the "version 14" numbers and omit /nodefaultlib when
4748 appropriate. (Paul Moore)
4749Files: src/Make_mvc.mak
4750
4751Patch 7.4.721
4752Problem: When 'list' is set Visual mode does not highlight anything in
4753 empty lines. (mgaleski)
4754Solution: Check the value of lcs_eol in another place. (Christian Brabandt)
4755Files: src/screen.c
4756
4757Patch 7.4.722
4758Problem: 0x202f is not recognized as a non-breaking space character.
4759Solution: Add 0x202f to the list. (Christian Brabandt)
4760Files: runtime/doc/options.txt, src/message.c, src/screen.c
4761
4762Patch 7.4.723
4763Problem: For indenting, finding the C++ baseclass can be slow.
4764Solution: Cache the result. (Hirohito Higashi)
4765Files: src/misc1.c
4766
4767Patch 7.4.724
4768Problem: Vim icon does not show in Windows context menu. (issue 249)
4769Solution: Load the icon in GvimExt.
4770Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
4771
4772Patch 7.4.725
4773Problem: ":call setreg('"', [])" reports an internal error.
4774Solution: Make the register empty. (Yasuhiro Matsumoto)
4775Files: src/ops.c
4776
4777Patch 7.4.726 (after 7.4.724)
4778Problem: Cannot build GvimExt.
4779Solution: Set APPVER to 5.0. (KF Leong)
4780Files: src/GvimExt/Makefile
4781
4782Patch 7.4.727 (after 7.4.724)
4783Problem: Cannot build GvimExt with MingW.
4784Solution: Add -lgdi32. (KF Leong)
4785Files: src/GvimExt/Make_ming.mak
4786
4787Patch 7.4.728
4788Problem: Can't build with some version of Visual Studio 2015.
4789Solution: Recognize another version 14 number. (Sinan)
4790Files: src/Make_mvc.mak
4791
4792Patch 7.4.729 (after 7.4.721)
4793Problem: Occasional crash with 'list' set.
4794Solution: Fix off-by-one error. (Christian Brabandt)
4795Files: src/screen.c
4796
4797Patch 7.4.730
4798Problem: When setting the crypt key and using a swap file, text may be
4799 encrypted twice or unencrypted text remains in the swap file.
4800 (Issue 369)
4801Solution: Call ml_preserve() before re-encrypting. Set correct index for
4802 next pointer block.
4803Files: src/memfile.c, src/memline.c, src/proto/memline.pro, src/option.c
4804
4805Patch 7.4.731
4806Problem: The tab menu shows "Close tab" even when it doesn't work.
4807Solution: Don't show "Close tab" for the last tab. (John Marriott)
4808Files: src/gui_w48.c, src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c
4809
4810Patch 7.4.732
4811Problem: The cursor line is not always updated for the "O" command.
4812Solution: Reset the VALID_CROW flag. (Christian Brabandt)
4813Files: src/normal.c
4814
4815Patch 7.4.733
4816Problem: test_listchars breaks on MS-Windows. (Kenichi Ito)
4817Solution: Set fileformat to "unix". (Christian Brabandt)
4818Files: src/testdir/test_listchars.in
4819
4820Patch 7.4.734
4821Problem: ml_get error when using "p" in a Visual selection in the last
4822 line.
4823Solution: Change the behavior at the last line. (Yukihiro Nakadaira)
4824Files: src/normal.c, src/ops.c, src/testdir/test94.in,
4825 src/testdir/test94.ok
4826
4827Patch 7.4.735
4828Problem: Wrong argument for sizeof().
4829Solution: Use a pointer argument. (Chris Hall)
4830Files: src/eval.c
4831
4832Patch 7.4.736
4833Problem: Invalid memory access.
4834Solution: Avoid going over the end of a NUL terminated string. (Dominique
4835 Pelle)
4836Files: src/regexp.c
4837
4838Patch 7.4.737
4839Problem: On MS-Windows vimgrep over arglist doesn't work (Issue 361)
4840Solution: Only escape backslashes in ## expansion when it is not used as the
4841 path separator. (James McCoy)
4842Files: src/ex_docmd.c
4843
4844Patch 7.4.738 (after 7.4.732)
4845Problem: Can't compile without the syntax highlighting feature.
4846Solution: Add #ifdef around use of w_p_cul. (Hirohito Higashi)
4847Files: src/normal.c, src/screen.c
4848
4849Patch 7.4.739
4850Problem: In a string "\U" only takes 4 digits, while after CTRL-V U eight
4851 digits can be used.
4852Solution: Make "\U" also take eight digits. (Christian Brabandt)
4853Files: src/eval.c
4854
4855Patch 7.4.740
4856Problem: ":1quit" works like ":.quit". (Bohr Shaw)
4857Solution: Don't exit Vim when a range is specified. (Christian Brabandt)
4858Files: src/ex_docmd.c, src/testdir/test13.in, src/testdir/test13.ok
4859
4860Patch 7.4.741
4861Problem: When using += with ":set" a trailing comma is not recognized.
4862 (Issue 365)
4863Solution: Don't add a second comma. Add a test. (partly by Christian
4864 Brabandt)
4865Files: src/option.c, src/testdir/test_set.in, src/testdir/test_set.ok,
4866 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
4867 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
4868 src/testdir/Make_vms.mms, src/testdir/Makefile
4869
4870Patch 7.4.742
4871Problem: Cannot specify a vertical split when loading a buffer for a
4872 quickfix command.
4873Solution: Add the "vsplit" value to 'switchbuf'. (Brook Hong)
4874Files: runtime/doc/options.txt, src/buffer.c, src/option.h
4875
4876Patch 7.4.743
4877Problem: "p" in Visual mode causes an unexpected line split.
4878Solution: Advance the cursor first. (Yukihiro Nakadaira)
4879Files: src/ops.c, src/testdir/test94.in, src/testdir/test94.ok
4880
4881Patch 7.4.744
4882Problem: No tests for Ruby and Perl.
4883Solution: Add minimal tests. (Ken Takata)
4884Files: src/testdir/test_perl.in, src/testdir/test_perl.ok,
4885 src/testdir/test_ruby.in, src/testdir/test_ruby.ok,
4886 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
4887 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
4888 src/testdir/Make_vms.mms, src/testdir/Makefile
4889
4890Patch 7.4.745
4891Problem: The entries added by matchaddpos() are returned by getmatches()
4892 but can't be set with setmatches(). (Lcd)
4893Solution: Fix setmatches(). (Christian Brabandt)
4894Files: src/eval.c, src/testdir/test63.in, src/testdir/test63.ok
4895
4896Patch 7.4.746
4897Problem: ":[count]tag" is not always working. (cs86661)
4898Solution: Set cur_match a bit later. (Hirohito Higashi)
4899Files: src/tag.c,
4900
4901Patch 7.4.747
4902Problem: ":cnext" may jump to the wrong column when setting
4903 'virtualedit=all' (cs86661)
4904Solution: Reset the coladd field. (Hirohito Higashi)
4905Files: src/quickfix.c
4906
4907Patch 7.4.748 (after 7.4.745)
4908Problem: Buffer overflow.
4909Solution: Make the buffer larger. (Kazunobu Kuriyama)
4910Files: src/eval.c
4911
4912Patch 7.4.749 (after 7.4.741)
Bram Moolenaard0796902016-09-16 20:02:31 +02004913Problem: For some options two consecutive commas are OK. (Nikolai Pavlov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02004914Solution: Add the P_ONECOMMA flag.
4915Files: src/option.c
4916
4917Patch 7.4.750
4918Problem: Cannot build with clang 3.5 on Cygwin with perl enabled.
4919Solution: Strip "-fdebug-prefix-map" in configure. (Ken Takata)
4920Files: src/configure.in, src/auto/configure
4921
4922Patch 7.4.751
4923Problem: It is not obvious how to enable the address sanitizer.
4924Solution: Add commented-out flags in the Makefile. (Dominique Pelle)
4925 Also add missing test targets.
4926Files: src/Makefile
4927
4928Patch 7.4.752
4929Problem: Unicode 8.0 not supported.
4930Solution: Update tables for Unicode 8.0. Avoid E36 when running the script.
4931 (James McCoy)
4932Files: runtime/tools/unicode.vim, src/mbyte.c
4933
4934Patch 7.4.753
4935Problem: Appending in Visual mode with 'linebreak' set does not work
4936 properly. Also when 'selection' is "exclusive". (Ingo Karkat)
4937Solution: Recalculate virtual columns. (Christian Brabandt)
4938Files: src/normal.c, src/testdir/test_listlbr.in,
4939 src/testdir/test_listlbr.ok, src/testdir/test_listlbr_utf8.in,
4940 src/testdir/test_listlbr_utf8.ok
4941
4942Patch 7.4.754
4943Problem: Using CTRL-A in Visual mode does not work well. (Gary Johnson)
4944Solution: Make it increment all numbers in the Visual area. (Christian
4945 Brabandt)
4946Files: runtime/doc/change.txt, src/normal.c, src/ops.c,
4947 src/proto/ops.pro, src/testdir/Make_amiga.mak,
4948 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
4949 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
4950 src/testdir/Makefile, src/testdir/test_increment.in,
4951 src/testdir/test_increment.ok
4952
4953Patch 7.4.755
4954Problem: It is not easy to count the number of characters.
4955Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken
4956 Takata)
4957Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_utf8.in,
4958 src/testdir/test_utf8.ok
4959
4960Patch 7.4.756
4961Problem: Can't use strawberry Perl 5.22 x64 on MS-Windows.
4962Solution: Add new defines and #if. (Ken Takata)
4963Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_perl.xs
4964
4965Patch 7.4.757
4966Problem: Cannot detect the background color of a terminal.
4967Solution: Add T_RBG to request the background color if possible. (Lubomir
4968 Rintel)
4969Files: src/main.c, src/term.c, src/term.h, src/proto/term.pro
4970
4971Patch 7.4.758
4972Problem: When 'conceallevel' is 1 and quitting the command-line window with
4973 CTRL-C the first character ':' is erased.
4974Solution: Reset 'conceallevel' in the command-line window. (Hirohito
4975 Higashi)
4976Files: src/ex_getln.c
4977
4978Patch 7.4.759
4979Problem: Building with Lua 5.3 doesn't work, symbols have changed.
4980Solution: Use the new names for the new version. (Felix Schnizlein)
4981Files: src/if_lua.c
4982
4983Patch 7.4.760
4984Problem: Spelling mistakes are not displayed after ":syn spell".
4985Solution: Force a redraw after ":syn spell" command. (Christian Brabandt)
4986Files: src/syntax.c
4987
4988Patch 7.4.761 (after 7.4.757)
4989Problem: The request-background termcode implementation is incomplete.
4990Solution: Add the missing pieces.
4991Files: src/option.c, src/term.c
4992
4993Patch 7.4.762 (after 7.4.757)
4994Problem: Comment for may_req_bg_color() is wrong. (Christ van Willegen)
4995Solution: Rewrite the comment.
4996Files: src/term.c
4997
4998Patch 7.4.763 (after 7.4.759)
4999Problem: Building with Lua 5.1 doesn't work.
5000Solution: Define lua_replace and lua_remove. (KF Leong)
5001Files: src/if_lua.c
5002
5003Patch 7.4.764 (after 7.4.754)
5004Problem: test_increment fails on MS-Windows. (Ken Takata)
5005Solution: Clear Visual mappings. (Taro Muraoka)
5006Files: src/testdir/test_increment.in
5007
5008Patch 7.4.765 (after 7.4.754)
5009Problem: CTRL-A and CTRL-X in Visual mode do not always work well.
5010Solution: Improvements for increment and decrement. (Christian Brabandt)
5011Files: src/normal.c, src/ops.c, src/testdir/test_increment.in,
5012 src/testdir/test_increment.ok
5013
5014Patch 7.4.766 (after 7.4.757)
5015Problem: Background color check does not work on Tera Term.
5016Solution: Also recognize ST as a termination character. (Hirohito Higashi)
5017Files: src/term.c
5018
5019Patch 7.4.767
5020Problem: --remote-tab-silent can fail on MS-Windows.
5021Solution: Use single quotes to avoid problems with backslashes. (Idea by
5022 Weiyong Mao)
5023Files: src/main.c
5024
5025Patch 7.4.768
5026Problem: :diffoff only works properly once.
5027Solution: Also make :diffoff work when used a second time. (Olaf Dabrunz)
5028Files: src/diff.c
5029
5030Patch 7.4.769 (after 7.4 768)
5031Problem: Behavior of :diffoff is not tested.
5032Solution: Add a bit of testing. (Olaf Dabrunz)
5033Files: src/testdir/test47.in, src/testdir/test47.ok
5034
5035Patch 7.4.770 (after 7.4.766)
5036Problem: Background color response with transparency is not ignored.
5037Solution: Change the way escape sequences are recognized. (partly by
5038 Hirohito Higashi)
5039Files: src/ascii.h, src/term.c
5040
5041Patch 7.4.771
5042Problem: Search does not handle multi-byte character at the start position
5043 correctly.
5044Solution: Take byte size of character into account. (Yukihiro Nakadaira)
5045Files: src/search.c, src/testdir/Make_amiga.mak,
5046 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
5047 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
5048 src/testdir/Makefile, src/testdir/test_search_mbyte.in,
5049 src/testdir/test_search_mbyte.ok
5050
5051Patch 7.4.772
5052Problem: Racket 6.2 is not supported on MS-Windows.
5053Solution: Check for the "racket" subdirectory. (Weiyong Mao)
5054Files: src/Make_mvc.mak, src/if_mzsch.c
5055
5056Patch 7.4.773
5057Problem: 'langmap' is used in command-line mode when checking for mappings.
5058 Issue 376.
5059Solution: Do not use 'langmap' in command-line mode. (Larry Velazquez)
5060Files: src/getchar.c, src/testdir/test_mapping.in,
5061 src/testdir/test_mapping.ok
5062
5063Patch 7.4.774
5064Problem: When using the CompleteDone autocommand event it's difficult to
5065 get to the completed items.
5066Solution: Add the v:completed_items variable. (Shougo Matsu)
5067Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/edit.c,
5068 src/eval.c, src/macros.h, src/proto/eval.pro, src/vim.h
5069
5070Patch 7.4.775
5071Problem: It is not possible to avoid using the first item of completion.
5072Solution: Add the "noinsert" and "noselect" values to 'completeopt'. (Shougo
5073 Matsu)
5074Files: runtime/doc/options.txt, src/edit.c, src/option.c
5075
5076Patch 7.4.776
5077Problem: Equivalence class for 'd' does not work correctly.
5078Solution: Fix 0x1e0f and 0x1d0b. (Dominique Pelle)
5079Files: src/regexp.c, src/regexp_nfa.c
5080
5081Patch 7.4.777
5082Problem: The README file doesn't look nice on github.
5083Solution: Add a markdown version of the README file.
5084Files: Filelist, README.md
5085
5086Patch 7.4.778
5087Problem: Coverity warns for uninitialized variable.
5088Solution: Change condition of assignment.
5089Files: src/ops.c
5090
5091Patch 7.4.779
5092Problem: Using CTRL-A in a line without a number moves the cursor. May
5093 cause a crash when at the start of the line. (Urtica Dioica)
5094Solution: Do not move the cursor if no number was changed.
5095Files: src/ops.c
5096
5097Patch 7.4.780
5098Problem: Compiler complains about uninitialized variable and clobbered
5099 variables.
5100Solution: Add Initialization. Make variables static.
5101Files: src/ops.c, src/main.c
5102
5103Patch 7.4.781
5104Problem: line2byte() returns one less when 'bin' and 'noeol' are set.
5105Solution: Only adjust the size for the last line. (Rob Wu)
5106Files: src/memline.c
5107
5108Patch 7.4.782
5109Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode.
5110Solution: Fix the reported problems. (Christian Brabandt)
5111Files: src/charset.c, src/eval.c, src/ex_cmds.c, src/ex_getln.c,
5112 src/misc2.c, src/normal.c, src/ops.c, src/option.c,
5113 src/proto/charset.pro, src/testdir/test_increment.in,
5114 src/testdir/test_increment.ok
5115
5116Patch 7.4.783
5117Problem: copy_chars() and copy_spaces() are inefficient.
5118Solution: Use memset() instead. (Dominique Pelle)
5119Files: src/ex_getln.c, src/misc2.c, src/ops.c, src/proto/misc2.pro,
5120 src/screen.c
5121
5122Patch 7.4.784
5123Problem: Using both "noinsert" and "noselect" in 'completeopt' does not
5124 work properly.
5125Solution: Change the ins_complete() calls. (Ozaki Kiichi)
5126Files: src/edit.c
5127
5128Patch 7.4.785
5129Problem: On some systems automatically adding the missing EOL causes
5130 problems. Setting 'binary' has too many side effects.
5131Solution: Add the 'fixeol' option, default on. (Pavel Samarkin)
5132Files: src/buffer.c, src/fileio.c, src/memline.c, src/netbeans.c,
5133 src/ops.c, src/option.c, src/option.h, src/os_unix.c,
5134 src/os_win32.c, src/structs.h, src/testdir/Make_amiga.mak,
5135 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
5136 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
5137 src/testdir/Makefile, src/testdir/test_fixeol.in,
5138 src/testdir/test_fixeol.ok, runtime/doc/options.txt,
5139 runtime/optwin.vim
5140
5141Patch 7.4.786
5142Problem: It is not possible for a plugin to adjust to a changed setting.
5143Solution: Add the OptionSet autocommand event. (Christian Brabandt)
5144Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/eval.c,
5145 src/fileio.c, src/option.c, src/proto/eval.pro,
5146 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5147 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
5148 src/testdir/Make_vms.mms, src/testdir/Makefile,
5149 src/testdir/test_autocmd_option.in,
5150 src/testdir/test_autocmd_option.ok, src/vim.h
5151
5152Patch 7.4.787 (after 7.4.786)
5153Problem: snprintf() isn't available everywhere.
5154Solution: Use vim_snprintf(). (Ken Takata)
5155Files: src/option.c
5156
5157Patch 7.4.788 (after 7.4.787)
5158Problem: Can't build without the crypt feature. (John Marriott)
5159Solution: Add #ifdef's.
5160Files: src/option.c
5161
5162Patch 7.4.789 (after 7.4.788)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005163Problem: Using freed memory and crash. (Dominique Pelle)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005164Solution: Correct use of pointers. (Hirohito Higashi)
5165Files: src/option.c
5166
5167Patch 7.4.790 (after 7.4.786)
5168Problem: Test fails when the autochdir feature is not available. Test
5169 output contains the test script.
5170Solution: Check for the autochdir feature. (Kazunobu Kuriyama) Only write
5171 the relevant test output.
5172Files: src/testdir/test_autocmd_option.in,
5173 src/testdir/test_autocmd_option.ok
5174
5175Patch 7.4.791
5176Problem: The buffer list can be very long.
5177Solution: Add an argument to ":ls" to specify the type of buffer to list.
5178 (Marcin Szamotulski)
5179Files: runtime/doc/windows.txt, src/buffer.c, src/ex_cmds.h
5180
5181Patch 7.4.792
5182Problem: Can only conceal text by defining syntax items.
5183Solution: Use matchadd() to define concealing. (Christian Brabandt)
5184Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
5185 src/proto/window.pro, src/screen.c, src/structs.h,
5186 src/testdir/Make_amiga.mak,
5187 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
5188 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
5189 src/testdir/Makefile, src/testdir/test_match_conceal.in,
5190 src/testdir/test_match_conceal.ok, src/window.c
5191
5192Patch 7.4.793
5193Problem: Can't specify when not to ring the bell.
5194Solution: Add the 'belloff' option. (Christian Brabandt)
5195Files: runtime/doc/options.txt, src/edit.c, src/ex_getln.c,
5196 src/hangulin.c, src/if_lua.c, src/if_mzsch.c, src/if_tcl.c,
5197 src/message.c, src/misc1.c, src/normal.c, src/option.c,
5198 src/option.h, src/proto/misc1.pro, src/search.c, src/spell.c
5199
5200Patch 7.4.794
5201Problem: Visual Studio 2015 is not recognized.
5202Solution: Add the version numbers to the makefile. (Taro Muraoka)
5203Files: src/Make_mvc.mak
5204
5205Patch 7.4.795
5206Problem: The 'fixeol' option is not copied to a new window.
5207Solution: Copy the option value. (Yasuhiro Matsumoto)
5208Files: src/option.c
5209
5210Patch 7.4.796
5211Problem: Warning from 64 bit compiler.
5212Solution: Add type cast. (Mike Williams)
5213Files: src/ops.c
5214
5215Patch 7.4.797
5216Problem: Crash when using more lines for the command line than
5217 'maxcombine'.
5218Solution: Use the correct array index. Also, do not try redrawing when
5219 exiting. And use screen_Columns instead of Columns.
5220Files: src/screen.c
5221
5222Patch 7.4.798 (after 7.4.753)
5223Problem: Repeating a change in Visual mode does not work as expected.
5224 (Urtica Dioica)
5225Solution: Make redo in Visual mode work better. (Christian Brabandt)
5226Files: src/normal.c, src/testdir/test_listlbr.in,
5227 src/testdir/test_listlbr.ok
5228
5229Patch 7.4.799
5230Problem: Accessing memory before an allocated block.
5231Solution: Check for not going before the start of a pattern. (Dominique
5232 Pelle)
5233Files: src/fileio.c
5234
5235Patch 7.4.800
5236Problem: Using freed memory when triggering CmdUndefined autocommands.
5237Solution: Set pointer to NULL. (Dominique Pelle)
5238Files: src/ex_docmd.c
5239
5240Patch 7.4.801 (after 7.4.769)
5241Problem: Test for ":diffoff" doesn't catch all potential problems.
5242Solution: Add a :diffthis and a :diffoff command. (Olaf Dabrunz)
5243Files: src/testdir/test47.in
5244
5245Patch 7.4.802
5246Problem: Using "A" in Visual mode while 'linebreak' is set is not tested.
5247Solution: Add a test for this, verifies the problem is fixed. (Ingo Karkat)
5248Files: src/testdir/test39.in, src/testdir/test39.ok
5249
5250Patch 7.4.803
5251Problem: C indent does not support C11 raw strings. (Mark Lodato)
5252Solution: Do not change indent inside the raw string.
5253Files: src/search.c, src/misc1.c, src/edit.c, src/ops.c,
5254 src/testdir/test3.in, src/testdir/test3.ok
5255
5256Patch 7.4.804
5257Problem: Xxd doesn't have a license notice.
5258Solution: Add license as indicated by Juergen.
5259Files: src/xxd/xxd.c
5260
5261Patch 7.4.805
5262Problem: The ruler shows "Bot" even when there are only filler lines
5263 missing. (Gary Johnson)
5264Solution: Use "All" when the first line and one filler line are visible.
5265Files: src/buffer.c
5266
5267Patch 7.4.806
5268Problem: CTRL-A in Visual mode doesn't work properly with "alpha" in
Bram Moolenaar09521312016-08-12 22:54:35 +02005269 'nrformats'.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005270Solution: Make it work. (Christian Brabandt)
5271Files: src/ops.c, src/testdir/test_increment.in,
5272 src/testdir/test_increment.ok
5273
5274Patch 7.4.807 (after 7.4.798)
5275Problem: After CTRL-V CTRL-A mode isn't updated. (Hirohito Higashi)
5276Solution: Clear the command line or update the displayed command.
5277Files: src/normal.c
5278
5279Patch 7.4.808
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005280Problem: On MS-Windows 8 IME input doesn't work correctly.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005281Solution: Read console input before calling MsgWaitForMultipleObjects().
5282 (vim-jp, Nobuhiro Takasaki)
5283Files: src/os_win32.c
5284
5285Patch 7.4.809 (after 7.4.802)
5286Problem: Test is duplicated.
5287Solution: Roll back 7.4.802.
5288Files: src/testdir/test39.in, src/testdir/test39.ok
5289
5290Patch 7.4.810
5291Problem: With a sequence of commands using buffers in diff mode E749 is
5292 given. (itchyny)
5293Solution: Skip unloaded buffer. (Hirohito Higashi)
5294Files: src/diff.c
5295
5296Patch 7.4.811
5297Problem: Invalid memory access when using "exe 'sc'".
5298Solution: Avoid going over the end of the string. (Dominique Pelle)
5299Files: src/ex_docmd.c
5300
5301Patch 7.4.812
5302Problem: Gcc sanitizer complains about using a NULL pointer to memmove().
5303Solution: Only call memmove when there is something to move. (Vittorio
5304 Zecca)
5305Files: src/memline.c
5306
5307Patch 7.4.813
5308Problem: It is not possible to save and restore character search state.
5309Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
5310Files: runtime/doc/eval.txt, src/eval.c, src/proto/search.pro,
5311 src/search.c, src/testdir/test_charsearch.in,
5312 src/testdir/test_charsearch.ok, src/testdir/Makefile,
5313 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5314 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
5315 src/testdir/Make_vms.mms
5316
5317Patch 7.4.814
5318Problem: Illegal memory access with "sy match a fold".
5319Solution: Check for empty string. (Dominique Pelle)
5320Files: src/syntax.c
5321
5322Patch 7.4.815
5323Problem: Invalid memory access when doing ":call g:".
5324Solution: Check for an empty name. (Dominique Pelle)
5325Files: src/eval.c
5326
5327Patch 7.4.816
5328Problem: Invalid memory access when doing ":fun X(".
5329Solution: Check for missing ')'. (Dominique Pelle)
5330Files: src/eval.c
5331
5332Patch 7.4.817
5333Problem: Invalid memory access in file_pat_to_reg_pat().
5334Solution: Use vim_isspace() instead of checking for a space only. (Dominique
5335 Pelle)
5336Files: src/fileio.c
5337
5338Patch 7.4.818
5339Problem: 'linebreak' breaks c% if the last Visual selection was block.
5340 (Chris Morganiser, Issue 389)
5341Solution: Handle Visual block mode differently. (Christian Brabandt)
5342Files: src/normal.c, src/testdir/test_listlbr.in,
5343 src/testdir/test_listlbr.ok
5344
5345Patch 7.4.819
5346Problem: Beeping when running the tests.
5347Solution: Fix 41 beeps. (Roland Eggner)
5348Files: src/testdir/test17.in, src/testdir/test29.in,
5349 src/testdir/test4.in, src/testdir/test61.in,
5350 src/testdir/test82.in, src/testdir/test83.in,
5351 src/testdir/test90.in, src/testdir/test95.in,
5352 src/testdir/test_autoformat_join.in
5353
5354Patch 7.4.820
5355Problem: Invalid memory access in file_pat_to_reg_pat.
5356Solution: Avoid looking before the start of a string. (Dominique Pelle)
5357Files: src/fileio.c
5358
5359Patch 7.4.821
5360Problem: Coverity reports a few problems.
5361Solution: Avoid the warnings. (Christian Brabandt)
5362Files: src/ex_docmd.c, src/option.c, src/screen.c
5363
5364Patch 7.4.822
5365Problem: More problems reported by coverity.
5366Solution: Avoid the warnings. (Christian Brabandt)
5367Files: src/os_unix.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
5368 src/ex_getln.c, src/fold.c, src/gui.c, src/gui_w16.c,
5369 src/gui_w32.c, src/if_cscope.c, src/if_xcmdsrv.c, src/move.c,
5370 src/normal.c, src/regexp.c, src/syntax.c, src/ui.c, src/window.c
5371
5372Patch 7.4.823
5373Problem: Cursor moves after CTRL-A on alphabetic character.
5374Solution: (Hirohito Higashi, test by Christian Brabandt)
5375Files: src/testdir/test_increment.in, src/testdir/test_increment.ok,
5376 src/ops.c
5377
5378Patch 7.4.824 (after 7.4.813)
5379Problem: Can't compile without the multi-byte feature. (John Marriott)
5380Solution: Add #ifdef.
5381Files: src/eval.c
5382
5383Patch 7.4.825
5384Problem: Invalid memory access for ":syn keyword x a[".
5385Solution: Do not skip over the NUL. (Dominique Pelle)
5386Files: src/syntax.c
5387
5388Patch 7.4.826
5389Problem: Compiler warnings and errors.
5390Solution: Make it build properly without the multi-byte feature.
5391Files: src/eval.c, src/search.c
5392
5393Patch 7.4.827
5394Problem: Not all test targets are in the Makefile.
5395Solution: Add the missing targets.
5396Files: src/Makefile
5397
5398Patch 7.4.828
5399Problem: Crash when using "syn keyword x c". (Dominique Pelle)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005400Solution: Initialize the keyword table. (Raymond Ko, PR 397)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005401Files: src/syntax.c
5402
5403Patch 7.4.829
5404Problem: Crash when clicking in beval balloon. (Travis Lebsock)
5405Solution: Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298)
5406Files: src/gui_w32.c
5407
5408Patch 7.4.830
5409Problem: Resetting 'encoding' when doing ":set all&" causes problems.
5410 (Bjorn Linse) Display is not updated.
5411Solution: Do not reset 'encoding'. Do a full redraw.
5412Files: src/option.c
5413
5414Patch 7.4.831
5415Problem: When expanding `=expr` on the command line and encountering an
5416 error, the command is executed anyway.
5417Solution: Bail out when an error is detected.
5418Files: src/misc1.c
5419
5420Patch 7.4.832
5421Problem: $HOME in `=$HOME . '/.vimrc'` is expanded too early.
5422Solution: Skip over `=expr` when expanding environment names.
5423Files: src/misc1.c
5424
5425Patch 7.4.833
5426Problem: More side effects of ":set all&" are missing. (Björn Linse)
5427Solution: Call didset_options() and add didset_options2() to collect more
5428 side effects to take care of. Still not everything...
5429Files: src/option.c
5430
5431Patch 7.4.834
5432Problem: gettabvar() doesn't work after Vim start. (Szymon Wrozynski)
5433Solution: Handle first window in tab still being NULL. (Christian Brabandt)
5434Files: src/eval.c, src/testdir/test91.in, src/testdir/test91.ok
5435
5436Patch 7.4.835
5437Problem: Comparing utf-8 sequences does not handle different byte sizes
5438 correctly.
5439Solution: Get the byte size of each character. (Dominique Pelle)
5440Files: src/misc2.c
5441
5442Patch 7.4.836
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005443Problem: Accessing uninitialized memory.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005444Solution: Add missing calls to init_tv(). (Dominique Pelle)
5445Files: src/eval.c
5446
5447Patch 7.4.837
5448Problem: Compiler warning with MSVC compiler when using +sniff.
5449Solution: Use Sleep() instead of _sleep(). (Tux)
5450Files: src/if_sniff.c
5451
5452Patch 7.4.838 (after 7.4.833)
5453Problem: Can't compile without the crypt feature. (John Marriott)
5454Solution: Add #ifdef.
5455Files: src/option.c
5456
5457Patch 7.4.839
5458Problem: Compiler warning on 64-bit system.
5459Solution: Add cast to int. (Mike Williams)
5460Files: src/search.c
5461
5462Patch 7.4.840 (after 7.4.829)
5463Problem: Tooltip window stays open.
5464Solution: Send a WM_CLOSE message. (Jurgen Kramer)
5465Files: src/gui_w32.c
5466
5467Patch 7.4.841
5468Problem: Can't compile without the multi-byte feature. (John Marriott)
5469Solution: Add more #ifdef's.
5470Files: src/option.c
5471
5472Patch 7.4.842 (after 7.4.840)
5473Problem: Sending too many messages to close the balloon.
5474Solution: Only send a WM_CLOSE message. (Jurgen Kramer)
5475Files: src/gui_w32.c
5476
5477Patch 7.4.843 (after 7.4.835)
5478Problem: Still possible to go beyond the end of a string.
5479Solution: Check for NUL also in second string. (Dominique Pelle)
5480Files: src/misc2.c
5481
5482Patch 7.4.844
5483Problem: When '#' is in 'isident' the is# comparator doesn't work.
5484Solution: Don't use vim_isIDc(). (Yasuhiro Matsumoto)
5485Files: src/eval.c, src/testdir/test_comparators.in,
5486 src/testdir/test_comparators.ok, src/testdir/Makefile,
5487 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5488 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
5489 src/testdir/Make_vms.mms
5490
5491Patch 7.4.845
5492Problem: Compiler warning for possible loss of data.
5493Solution: Add a type cast. (Erich Ritz)
5494Files: src/misc1.c
5495
5496Patch 7.4.846
5497Problem: Some GitHub users don't know how to use issues.
5498Solution: Add a file that explains the basics of contributing.
5499Files: Filelist, CONTRIBUTING.md
5500
5501Patch 7.4.847
5502Problem: "vi)d" may leave a character behind.
5503Solution: Skip over multi-byte character. (Christian Brabandt)
5504Files: src/search.c
5505
5506Patch 7.4.848
5507Problem: CTRL-A on hex number in Visual block mode is incorrect.
5508Solution: Account for the "0x". (Hirohito Higashi)
5509Files: src/charset.c, src/testdir/test_increment.in,
5510 src/testdir/test_increment.ok
5511
5512Patch 7.4.849
5513Problem: Moving the cursor in Insert mode starts new undo sequence.
5514Solution: Add CTRL-G U to keep the undo sequence for the following cursor
5515 movement command. (Christian Brabandt)
5516Files: runtime/doc/insert.txt, src/edit.c, src/testdir/test_mapping.in,
5517 src/testdir/test_mapping.ok
5518
5519Patch 7.4.850 (after 7.4.846)
5520Problem: <Esc> does not show up.
5521Solution: Use &gt; and &lt;. (Kazunobu Kuriyama)
5522Files: CONTRIBUTING.md
5523
5524Patch 7.4.851
5525Problem: Saving and restoring the console buffer does not work properly.
5526Solution: Instead of ReadConsoleOutputA/WriteConsoleOutputA use
5527 CreateConsoleScreenBuffer and SetConsoleActiveScreenBuffer.
5528 (Ken Takata)
5529Files: src/os_win32.c
5530
5531Patch 7.4.852
5532Problem: On MS-Windows console Vim uses ANSI APIs for keyboard input and
5533 console output, it cannot input/output Unicode characters.
5534Solution: Use Unicode APIs for console I/O. (Ken Takata, Yasuhiro Matsumoto)
5535Files: src/os_win32.c, src/ui.c, runtime/doc/options.txt
5536
5537Patch 7.4.853
5538Problem: "zt" in diff mode does not always work properly. (Gary Johnson)
5539Solution: Don't count filler lines twice. (Christian Brabandt)
5540Files: src/move.c
5541
5542Patch 7.4.854 (after 7.4.850)
5543Problem: Missing information about runtime files.
5544Solution: Add section about runtime files. (Christian Brabandt)
5545Files: CONTRIBUTING.md
5546
5547Patch 7.4.855
5548Problem: GTK: font glitches for combining characters
5549Solution: Use pango_shape_full() instead of pango_shape(). (luchr, PR #393)
5550Files: src/gui_gtk_x11.c
5551
5552Patch 7.4.856
5553Problem: "zt" still doesn't work well with filler lines. (Gary Johnson)
5554Solution: Check for filler lines above the cursor. (Christian Brabandt)
5555Files: src/move.c
5556
5557Patch 7.4.857
5558Problem: Dragging the current tab with the mouse doesn't work properly.
5559Solution: Take the current tabpage index into account. (Hirohito Higashi)
5560Files: src/normal.c
5561
5562Patch 7.4.858
5563Problem: It's a bit clumsy to execute a command on a list of matches.
5564Solution: Add the ":ldo", ":lfdo", ":cdo" and ":cfdo" commands. (Yegappan
5565 Lakshmanan)
5566Files: runtime/doc/cmdline.txt, runtime/doc/editing.txt,
5567 runtime/doc/index.txt, runtime/doc/quickfix.txt,
5568 runtime/doc/tabpage.txt, runtime/doc/windows.txt, src/ex_cmds.h,
5569 src/ex_cmds2.c, src/ex_docmd.c, src/proto/quickfix.pro,
5570 src/quickfix.c, src/testdir/Make_amiga.mak,
5571 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
5572 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
5573 src/testdir/Makefile, src/testdir/test_cdo.in,
5574 src/testdir/test_cdo.ok
5575
5576Patch 7.4.859
5577Problem: Vim doesn't recognize all htmldjango files.
5578Solution: Recognize a comment. (Daniel Hahler, PR #410)
5579Files: runtime/filetype.vim
5580
5581Patch 7.4.860
5582Problem: Filetype detection is outdated.
5583Solution: Include all recent and not-so-recent changes.
5584Files: runtime/filetype.vim
5585
5586Patch 7.4.861 (after 7.4.855)
5587Problem: pango_shape_full() is not always available.
5588Solution: Add a configure check.
5589Files: src/configure.in, src/auto/configure, src/config.h.in,
5590 src/gui_gtk_x11.c
5591
5592Patch 7.4.862 (after 7.4.861)
5593Problem: Still problems with pango_shape_full() not available.
5594Solution: Change AC_TRY_COMPILE to AC_TRY_LINK.
5595Files: src/configure.in, src/auto/configure
5596
5597Patch 7.4.863 (after 7.4.856)
5598Problem: plines_nofill() used without the diff feature.
5599Solution: Define PLINES_NOFILL().
5600Files: src/macros.h, src/move.c
5601
5602Patch 7.4.864 (after 7.4.858)
5603Problem: Tiny build fails.
5604Solution: Put qf_ items inside #ifdef.
5605Files: src/ex_docmd.c
5606
5607Patch 7.4.865
5608Problem: Compiler warning for uninitialized variable.
5609Solution: Initialize.
5610Files: src/ex_cmds2.c
5611
5612Patch 7.4.866
5613Problem: Crash when changing the 'tags' option from a remote command.
5614 (Benjamin Fritz)
5615Solution: Instead of executing messages immediately, use a queue, like for
5616 netbeans. (James Kolb)
5617Files: src/ex_docmd.c, src/getchar.c, src/gui_gtk_x11.c, src/gui_w48.c,
5618 src/gui_x11.c, src/if_xcmdsrv.c, src/misc2.c, src/os_unix.c,
5619 src/proto/if_xcmdsrv.pro, src/proto/misc2.pro, src/macros.h
5620
5621Patch 7.4.867 (after 7.4.866)
5622Problem: Can't build on MS-Windows. (Taro Muraoka)
5623Solution: Adjust #ifdef.
5624Files: src/misc2.c
5625
5626Patch 7.4.868
5627Problem: 'smarttab' is also effective when 'paste' is enabled. (Alexander
5628 Monakov)
5629Solution: Disable 'smarttab' when 'paste' is set. (Christian Brabandt)
5630 Do the same for 'expandtab'.
5631Files: src/option.c, src/structs.h
5632
5633Patch 7.4.869
5634Problem: MS-Windows: scrolling may cause text to disappear when using an
5635 Intel GPU.
5636Solution: Call GetPixel(). (Yohei Endo)
5637Files: src/gui_w48.c
5638
5639Patch 7.4.870
5640Problem: May get into an invalid state when using getchar() in an
5641 expression mapping.
5642Solution: Anticipate mod_mask to change. (idea by Yukihiro Nakadaira)
5643Files: src/getchar.c
5644
5645Patch 7.4.871
5646Problem: Vim leaks memory, when 'wildignore' filters out all matches.
5647Solution: Free the files array when it becomes empty.
5648Files: src/misc1.c
5649
5650Patch 7.4.872
5651Problem: Not using CI services available.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005652Solution: Add configuration files for travis and appveyor. (Ken Takata,
5653 vim-jp, PR #401)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005654Files: .travis.yml, appveyor.yml, Filelist
5655
5656Patch 7.4.873 (after 7.4.866)
5657Problem: Compiler warning for unused variable. (Tony Mechelynck)
5658Solution: Remove the variable. Also fix int vs long_u mixup.
5659Files: src/if_xcmdsrv.c
5660
5661Patch 7.4.874
5662Problem: MS-Windows: When Vim runs inside another application, the size
5663 isn't right.
5664Solution: When in child mode compute the size differently. (Agorgianitis
5665 Loukas)
5666Files: src/gui_w48.c
5667
5668Patch 7.4.875
5669Problem: Not obvious how to contribute.
5670Solution: Add a remark about CONTRIBUTING.md to README.md
5671Files: README.md
5672
5673Patch 7.4.876
5674Problem: Windows7: when using vim.exe with msys or msys2, conhost.exe
5675 (console window provider on Windows7) will freeze or crash.
5676Solution: Make original screen buffer active, before executing external
5677 program. And when the program is finished, revert to vim's one.
5678 (Taro Muraoka)
5679Files: src/os_win32.c
5680
5681Patch 7.4.877 (after 7.4.843)
5682Problem: ":find" sometimes fails. (Excanoe)
5683Solution: Compare current characters instead of previous ones.
5684Files: src/misc2.c
5685
5686Patch 7.4.878
5687Problem: Coverity error for clearing only one byte of struct.
5688Solution: Clear the whole struct. (Dominique Pelle)
5689Files: src/ex_docmd.c
5690
5691Patch 7.4.879
5692Problem: Can't see line numbers in nested function calls.
5693Solution: Add line number to the file name. (Alberto Fanjul)
5694Files: src/eval.c
5695
5696Patch 7.4.880
5697Problem: No build and coverage status.
5698Solution: Add links to the README file. (Christian Brabandt)
5699Files: README.md
5700
5701Patch 7.4.881 (after 7.4.879)
5702Problem: Test 49 fails.
5703Solution: Add line number to check of call stack.
5704Files: src/testdir/test49.vim
5705
5706Patch 7.4.882
5707Problem: When leaving the command line window with CTRL-C while a
5708 completion menu is displayed the menu isn't removed.
5709Solution: Force a screen update. (Hirohito Higashi)
5710Files: src/edit.c
5711
5712Patch 7.4.883 (after 7.4.818)
5713Problem: Block-mode replace works characterwise instead of blockwise after
5714 column 147. (Issue #422)
5715Solution: Set Visual mode. (Christian Brabandt)
5716Files: src/normal.c, src/testdir/test_listlbr.in,
5717 src/testdir/test_listlbr.ok
5718
5719Patch 7.4.884
5720Problem: Travis also builds on a tag push.
5721Solution: Filter out tag pushes. (Kenichi Ito)
5722Files: .travis.yml
5723
5724Patch 7.4.885
5725Problem: When doing an upwards search without wildcards the search fails if
5726 the initial directory doesn't exist.
5727Solution: Fix the non-wildcard case. (Stefan Kempf)
5728Files: src/misc2.c
5729
5730Patch 7.4.886 (after 7.4.876)
5731Problem: Windows7: Switching screen buffer causes flicker when using
5732 system().
5733Solution: Instead of actually switching screen buffer, duplicate the handle.
5734 (Yasuhiro Matsumoto)
5735Files: src/os_win32.c
5736
5737Patch 7.4.887
5738Problem: Using uninitialized memory for regexp with back reference.
5739 (Dominique Pelle)
5740Solution: Initialize end_lnum.
5741Files: src/regexp_nfa.c
5742
5743Patch 7.4.888
5744Problem: The OptionSet autocommands are not triggered from setwinvar().
5745Solution: Do not use switch_win() when not needed. (Hirohito Higashi)
5746Files: src/eval.c
5747
5748Patch 7.4.889
5749Problem: Triggering OptionSet from setwinvar() isn't tested.
5750Solution: Add a test. (Christian Brabandt)
5751Files: src/testdir/test_autocmd_option.in,
5752 src/testdir/test_autocmd_option.ok
5753
5754Patch 7.4.890
5755Problem: Build failure when using dynamic python but not python3.
5756Solution: Adjust the #if to also include DYNAMIC_PYTHON3 and UNIX.
5757Files: src/if_python3.c
5758
5759Patch 7.4.891
5760Problem: Indentation of array initializer is wrong.
5761Solution: Avoid that calling find_start_rawstring() changes the position
5762 returned by find_start_comment(), add a test. (Hirohito Higashi)
5763Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
5764
5765Patch 7.4.892
5766Problem: On MS-Windows the iconv DLL may have a different name.
5767Solution: Also try libiconv2.dll and libiconv-2.dll. (Yasuhiro Matsumoto)
5768Files: src/mbyte.c
5769
5770Patch 7.4.893
5771Problem: C indenting is wrong below a "case (foo):" because it is
5772 recognized as a C++ base class construct. Issue #38.
5773Solution: Check for the case keyword.
5774Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
5775
5776Patch 7.4.894
5777Problem: vimrun.exe is picky about the number of spaces before -s.
5778Solution: Skip all spaces. (Cam Sinclair)
5779Files: src/vimrun.c
5780
5781Patch 7.4.895
5782Problem: Custom command line completion does not work for a command
5783 containing digits.
5784Solution: Skip over the digits. (suggested by Yasuhiro Matsumoto)
5785Files: src/ex_docmd.c
5786
5787Patch 7.4.896
5788Problem: Editing a URL, which netrw should handle, doesn't work.
5789Solution: Avoid changing slashes to backslashes. (Yasuhiro Matsumoto)
5790Files: src/fileio.c, src/os_mswin.c
5791
5792Patch 7.4.897
5793Problem: Freeze and crash when there is a sleep in a remote command.
5794 (Karl Yngve Lervåg)
5795Solution: Remove a message from the queue before dealing with it. (James
5796 Kolb)
5797Files: src/if_xcmdsrv.c
5798
5799Patch 7.4.898
5800Problem: The 'fixendofline' option is set on with ":edit".
5801Solution: Don't set the option when clearing a buffer. (Yasuhiro Matsumoto)
5802Files: src/buffer.c
5803
5804Patch 7.4.899
5805Problem: README file is not optimal.
5806Solution: Move buttons, update some text. (closes #460)
5807Files: README.txt, README.md
5808
5809Patch 7.4.900 (after 7.4.899)
5810Problem: README file can still be improved
5811Solution: Add a couple of links. (Christian Brabandt)
5812Files: README.md
5813
5814Patch 7.4.901
5815Problem: When a BufLeave autocommand changes folding in a way it syncs
5816 undo, undo can be corrupted.
5817Solution: Prevent undo sync. (Jacob Niehus)
5818Files: src/popupmnu.c
5819
5820Patch 7.4.902
5821Problem: Problems with using the MS-Windows console.
5822Solution: Revert patches 7.4.851, 7.4.876 and 7.4.886 until we find a better
5823 solution. (suggested by Ken Takata)
5824Files: src/os_win32.c
5825
5826Patch 7.4.903
5827Problem: MS-Windows: When 'encoding' differs from the current code page,
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02005828 expanding wildcards may cause illegal memory access.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02005829Solution: Allocate a longer buffer. (Ken Takata)
5830Files: src/misc1.c
5831
5832Patch 7.4.904
5833Problem: Vim does not provide .desktop files.
5834Solution: Include and install .desktop files. (James McCoy, closes #455)
5835Files: Filelist, runtime/vim.desktop, runtime/gvim.desktop, src/Makefile
5836
5837Patch 7.4.905
5838Problem: Python interface can produce error "vim.message' object has no
5839 attribute 'isatty'".
5840Solution: Add dummy isatty(), readable(), etc. (closes #464)
5841Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
5842 src/testdir/test87.in, src/testdir/test87.ok
5843
5844Patch 7.4.906
5845Problem: On MS-Windows the viminfo file is (always) given the hidden
5846 attribute. (raulnac)
5847Solution: Check the hidden attribute in a different way. (Ken Takata)
5848Files: src/ex_cmds.c, src/os_win32.c, src/os_win32.pro
5849
5850Patch 7.4.907
5851Problem: Libraries for dynamically loading interfaces can only be defined
5852 at compile time.
5853Solution: Add options to specify the dll names. (Kazuki Sakamoto,
5854 closes #452)
5855Files: runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
5856 runtime/doc/if_pyth.txt, runtime/doc/if_ruby.txt,
5857 runtime/doc/options.txt, src/if_lua.c, src/if_perl.xs,
5858 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/option.c,
5859 src/option.h
5860
5861Patch 7.4.908 (after 7.4.907)
5862Problem: Build error with MingW compiler. (Cesar Romani)
5863Solution: Change #if into #ifdef.
5864Files: src/if_perl.xs
5865
5866Patch 7.4.909 (after 7.4.905)
5867Problem: "make install" fails.
5868Solution: Only try installing desktop files if the destination directory
5869 exists.
5870Files: src/Makefile
5871
5872Patch 7.4.910 (after 7.4.905)
5873Problem: Compiler complains about type punned pointer.
5874Solution: Use another way to increment the ref count.
5875Files: src/if_py_both.h
5876
5877Patch 7.4.911
5878Problem: t_Ce and t_Cs are documented but not supported. (Hirohito Higashi)
5879Solution: Define the options.
5880Files: src/option.c
5881
5882Patch 7.4.912
5883Problem: Wrong indenting for C++ constructor.
5884Solution: Recognize ::. (Anhong)
5885Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
5886
5887Patch 7.4.913
5888Problem: No utf-8 support for the hangul input feature.
5889Solution: Add utf-8 support. (Namsh)
5890Files: src/gui.c, src/hangulin.c, src/proto/hangulin.pro, src/screen.c,
5891 src/ui.c, runtime/doc/hangulin.txt, src/feature.h
5892
5893Patch 7.4.914
5894Problem: New compiler warning: logical-not-parentheses
5895Solution: Silence the warning.
5896Files: src/term.c
5897
5898Patch 7.4.915
5899Problem: When removing from 'path' and then adding, a comma may go missing.
5900 (Malcolm Rowe)
5901Solution: Fix the check for P_ONECOMMA. (closes #471)
5902Files: src/option.c, src/testdir/test_options.in,
5903 src/testdir/test_options.ok
5904
5905Patch 7.4.916
5906Problem: When running out of memory while copying a dict memory may be
5907 freed twice. (ZyX)
5908Solution: Do not call the garbage collector when running out of memory.
5909Files: src/misc2.c
5910
5911Patch 7.4.917
5912Problem: Compiler warning for comparing signed and unsigned.
5913Solution: Add a type cast.
5914Files: src/hangulin.c
5915
5916Patch 7.4.918
5917Problem: A digit in an option name has problems.
5918Solution: Rename 'python3dll' to 'pythonthreedll'.
5919Files: src/option.c, src/option.h, runtime/doc/options.txt
5920
5921Patch 7.4.919
5922Problem: The dll options are not in the options window.
5923Solution: Add the dll options. And other fixes.
5924Files: runtime/optwin.vim
5925
5926Patch 7.4.920
5927Problem: The rubydll option is not in the options window.
5928Solution: Add the rubydll option.
5929Files: runtime/optwin.vim
5930
5931Patch 7.4.921 (after 7.4.906)
5932Problem: Missing proto file update. (Randall W. Morris)
5933Solution: Add the missing line for mch_ishidden.
5934Files: src/proto/os_win32.pro
5935
5936Patch 7.4.922
5937Problem: Leaking memory with ":helpt {dir-not-exists}".
5938Solution: Free dirname. (Dominique Pelle)
5939Files: src/ex_cmds.c
5940
5941Patch 7.4.923
5942Problem: Prototypes not always generated.
5943Solution: Change #if to OR with PROTO.
5944Files: src/window.c
5945
5946Patch 7.4.924
5947Problem: DEVELOPER_DIR gets reset by configure.
5948Solution: Do not reset DEVELOPER_DIR when there is no --with-developer-dir
5949 argument. (Kazuki Sakamoto, closes #482)
5950Files: src/configure.in, src/auto/configure
5951
5952Patch 7.4.925
5953Problem: User may yank or put using the register being recorded in.
5954Solution: Add the recording register in the message. (Christian Brabandt,
5955 closes #470)
5956Files: runtime/doc/options.txt, runtime/doc/repeat.txt, src/ops.c,
5957 src/option.h, src/screen.c
5958
5959Patch 7.4.926
5960Problem: Completing the longest match doesn't work properly with multi-byte
5961 characters.
5962Solution: When using multi-byte characters use another way to find the
5963 longest match. (Hirohito Higashi)
5964Files: src/ex_getln.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok
5965
5966Patch 7.4.927
5967Problem: Ruby crashes when there is a runtime error.
5968Solution: Use ruby_options() instead of ruby_process_options(). (Damien)
5969Files: src/if_ruby.c
5970
5971Patch 7.4.928
5972Problem: A clientserver message interrupts handling keys of a mapping.
5973Solution: Have mch_inchar() send control back to WaitForChar when it is
5974 interrupted by server message. (James Kolb)
5975Files: src/os_unix.c
5976
5977Patch 7.4.929
5978Problem: "gv" after paste selects one character less if 'selection' is
5979 "exclusive".
5980Solution: Increment the end position. (Christian Brabandt)
5981Files: src/normal.c, src/testdir/test94.in, src/testdir/test94.ok
5982
5983Patch 7.4.930
5984Problem: MS-Windows: Most users appear not to like the window border.
5985Solution: Remove WS_EX_CLIENTEDGE. (Ian Halliday)
5986Files: src/gui_w32.c
5987
5988Patch 7.4.931 (after 7.4.929)
5989Problem: Test 94 fails on some systems.
5990Solution: Set 'encoding' to utf-8.
5991Files: src/testdir/test94.in
5992
5993Patch 7.4.932 (after 7.4.926)
5994Problem: test_utf8 has confusing dummy command.
5995Solution: Use a real command instead of a colon.
5996Files: src/testdir/test_utf8.in
5997
5998Patch 7.4.933 (after 7.4.926)
5999Problem: Crash when using longest completion match.
6000Solution: Fix array index.
6001Files: src/ex_getln.c
6002
6003Patch 7.4.934
6004Problem: Appveyor also builds on a tag push.
6005Solution: Add a skip_tags line. (Kenichi Ito, closes #489)
6006Files: appveyor.yml
6007
6008Patch 7.4.935 (after 7.4.932)
6009Problem: test_utf8 fails on MS-Windows when executed with gvim.
6010Solution: Use the insert flag on feedkeys() to put the string before the
6011 ":" that was already read when checking for available chars.
6012Files: src/testdir/test_utf8.in
6013
6014Patch 7.4.936
6015Problem: Crash when dragging with the mouse.
6016Solution: Add safety check for NULL pointer. Check mouse position for valid
6017 value. (Hirohito Higashi)
6018Files: src/window.c, src/term.c
6019
6020Patch 7.4.937
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006021Problem: Segfault reading uninitialized memory.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006022Solution: Do not read match \z0, it does not exist. (Marius Gedminas, closes
6023 #497)
6024Files: src/regexp_nfa.c
6025
6026Patch 7.4.938
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006027Problem: X11 and GTK have more mouse buttons than Vim supports.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006028Solution: Recognize more mouse buttons. (Benoit Pierre, closes #498)
6029Files: src/gui_gtk_x11.c, src/gui_x11.c
6030
6031Patch 7.4.939
6032Problem: Memory leak when encountering a syntax error.
6033Solution: Free the memory. (Dominique Pelle)
6034Files: src/ex_docmd.c
6035
6036Patch 7.4.940
6037Problem: vt52 terminal codes are not correct.
6038Solution: Move entries outside of #if. (Random) Adjustments based on
6039 documented codes.
6040Files: src/term.c
6041
6042Patch 7.4.941
6043Problem: There is no way to ignore case only for tag searches.
6044Solution: Add the 'tagcase' option. (Gary Johnson)
6045Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
6046 runtime/doc/tagsrch.txt, runtime/doc/usr_29.txt,
6047 runtime/optwin.vim, src/Makefile, src/buffer.c, src/option.c,
6048 src/option.h, src/structs.h, src/tag.c,
6049 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6050 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6051 src/testdir/Make_vms.mms, src/testdir/Makefile,
6052 src/testdir/test_tagcase.in, src/testdir/test_tagcase.ok
6053
6054Patch 7.4.942 (after 7.4.941)
6055Problem: test_tagcase breaks for small builds.
6056Solution: Bail out of the test early. (Hirohito Higashi)
6057Files: src/testdir/test_tagcase.in
6058
6059Patch 7.4.943
6060Problem: Tests are not run.
6061Solution: Add test_writefile to makefiles. (Ken Takata)
6062Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6063 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6064 src/testdir/Make_vms.mms, src/testdir/Makefile
6065
6066Patch 7.4.944
6067Problem: Writing tests for Vim script is hard.
6068Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add
6069 the v:errors variable. Add the runtest script. Add a first new
6070 style test script.
6071Files: src/eval.c, src/vim.h, src/misc2.c, src/testdir/Makefile,
6072 src/testdir/runtest.vim, src/testdir/test_assert.vim,
6073 runtime/doc/eval.txt
6074
6075Patch 7.4.945 (after 7.4.944)
6076Problem: New style testing is incomplete.
6077Solution: Add the runtest script to the list of distributed files.
6078 Add the new functions to the function overview.
6079 Rename the functions to match Vim function style.
6080 Move undolevels testing into a new style test script.
6081Files: Filelist, runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6082 src/testdir/test_assert.vim, src/testdir/Makefile,
6083 src/testdir/test_undolevels.vim, src/testdir/test100.in,
6084 src/testdir/test100.ok
6085
6086Patch 7.4.946 (after 7.4.945)
6087Problem: Missing changes in source file.
6088Solution: Include changes to the eval.c file.
6089Files: src/eval.c
6090
6091Patch 7.4.947
6092Problem: Test_listchars fails with MingW. (Michael Soyka)
6093Solution: Add the test to the ones that need the fileformat fixed.
6094 (Christian Brabandt)
6095Files: src/testdir/Make_ming.mak
6096
6097Patch 7.4.948
6098Problem: Can't build when the insert_expand feature is disabled.
6099Solution: Add #ifdefs. (Dan Pasanen, closes #499)
6100Files: src/eval.c, src/fileio.c
6101
6102Patch 7.4.949
6103Problem: When using 'colorcolumn' and there is a sign with a fullwidth
6104 character the highlighting is wrong. (Andrew Stewart)
6105Solution: Only increment vcol when in the right state. (Christian Brabandt)
6106Files: src/screen.c, src/testdir/test_listlbr_utf8.in,
6107 src/testdir/test_listlbr_utf8.ok
6108
6109Patch 7.4.950
6110Problem: v:errors is not initialized.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006111Solution: Initialize it to an empty list. (Thinca)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006112Files: src/eval.c
6113
6114Patch 7.4.951
6115Problem: Sorting number strings does not work as expected. (Luc Hermitte)
Bram Moolenaarabd468e2016-09-08 22:22:43 +02006116Solution: Add the "N" argument to sort()
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006117Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim,
6118 src/testdir/test_sort.vim, src/testdir/Makefile
6119
6120Patch 7.4.952
6121Problem: 'lispwords' is tested in the old way.
6122Solution: Make a new style test for 'lispwords'.
6123Files: src/testdir/test_alot.vim, src/testdir/test_lispwords.vim,
6124 src/testdir/test100.in, src/testdir/test100.ok,
6125 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6126 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6127 src/testdir/Make_vms.mms, src/testdir/Makefile
6128
6129Patch 7.4.953
6130Problem: When a test script navigates to another buffer the .res file is
6131 created with the wrong name.
6132Solution: Use the "testname" for the .res file. (Damien)
6133Files: src/testdir/runtest.vim
6134
6135Patch 7.4.954
6136Problem: When using Lua there may be a crash. (issue #468)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006137Solution: Avoid using an uninitialized tv. (Yukihiro Nakadaira)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006138Files: src/if_lua.c
6139
6140Patch 7.4.955
6141Problem: Vim doesn't recognize .pl6 and .pod6 files.
6142Solution: Recognize them as perl6 and pod6. (Mike Eve, closes #511)
6143Files: runtime/filetype.vim
6144
6145Patch 7.4.956
6146Problem: A few more file name extensions not recognized.
6147Solution: Add .asciidoc, .bzl, .gradle, etc.
6148Files: runtime/filetype.vim
6149
6150Patch 7.4.957
6151Problem: Test_tagcase fails when using another language than English.
6152Solution: Set the messages language to C. (Kenichi Ito)
6153Files: src/testdir/test_tagcase.in
6154
6155Patch 7.4.958
6156Problem: Vim checks if the directory "$TMPDIR" exists.
6157Solution: Do not check if the name starts with "$".
6158Files: src/fileio.c
6159
6160Patch 7.4.959
6161Problem: When setting 'term' the clipboard ownership is lost.
6162Solution: Do not call clip_init(). (James McCoy)
6163Files: src/term.c
6164
6165Patch 7.4.960
6166Problem: Detecting every version of nmake is clumsy.
6167Solution: Use a tiny C program to get the version of _MSC_VER. (Ken Takata)
6168Files: src/Make_mvc.mak
6169
6170Patch 7.4.961
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006171Problem: Test107 fails in some circumstances.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006172Solution: When using "zt", "zb" and "z=" recompute the fraction.
6173Files: src/normal.c, src/window.c, src/proto/window.pro
6174
6175Patch 7.4.962
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006176Problem: Cannot run the tests with gvim. Cannot run individual new tests.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006177Solution: Add the -f flag. Add new test targets in Makefile.
6178Files: src/Makefile, src/testdir/Makefile
6179
6180Patch 7.4.963
6181Problem: test_listlbr_utf8 sometimes fails.
6182Solution: Don't use a literal multibyte character but <C-V>uXXXX. Do not
6183 dump the screen highlighting. (Christian Brabandt, closes #518)
6184Files: src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok
6185
6186Patch 7.4.964
6187Problem: Test 87 doesn't work in a shadow directory.
6188Solution: Handle the extra subdirectory. (James McCoy, closes #515)
6189Files: src/testdir/test87.in
6190
6191Patch 7.4.965
6192Problem: On FreeBSD /dev/fd/ files are special.
6193Solution: Use is_dev_fd_file() also for FreeBSD. (Derek Schrock, closes #521)
6194Files: src/fileio.c
6195
6196Patch 7.4.966
6197Problem: Configure doesn't work with a space in a path.
Bram Moolenaar09521312016-08-12 22:54:35 +02006198Solution: Put paths in quotes. (James McCoy, closes #525)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006199Files: src/configure.in, src/auto/configure
6200
6201Patch 7.4.967
6202Problem: Cross compilation on MS-windows doesn't work well.
6203Solution: Tidy up cross compilation across architectures with Visual Studio.
6204 (Mike Williams)
6205Files: src/Make_mvc.mak
6206
6207Patch 7.4.968
6208Problem: test86 and test87 are flaky in Appveyor.
6209Solution: Reduce the count from 8 to 7. (suggested by ZyX)
6210Files: src/testdir/test86.in, src/testdir/test87.in
6211
6212Patch 7.4.969
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006213Problem: Compiler warnings on Windows x64 build.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006214Solution: Add type casts. (Mike Williams)
6215Files: src/option.c
6216
6217Patch 7.4.970
6218Problem: Rare crash in getvcol(). (Timo Mihaljov)
6219Solution: Check for the buffer being NULL in init_preedit_start_col.
6220 (Hirohito Higashi, Christian Brabandt)
6221Files: src/mbyte.c
6222
6223Patch 7.4.971
6224Problem: The asin() function can't be used.
6225Solution: Sort the function table properly. (Watiko)
6226Files: src/eval.c
6227
6228Patch 7.4.972
6229Problem: Memory leak when there is an error in setting an option.
6230Solution: Free the saved value (Christian Brabandt)
6231Files: src/option.c
6232
6233Patch 7.4.973
6234Problem: When pasting on the command line line breaks result in literal
6235 <CR> characters. This makes pasting a long file name difficult.
6236Solution: Skip the characters.
6237Files: src/ex_getln.c, src/ops.c
6238
6239Patch 7.4.974
6240Problem: When using :diffsplit the cursor jumps to the first line.
6241Solution: Put the cursor on the line related to where the cursor was before
6242 the split.
6243Files: src/diff.c
6244
6245Patch 7.4.975
6246Problem: Using ":sort" on a very big file sometimes causes text to be
6247 corrupted. (John Beckett)
6248Solution: Copy the line into a buffer before calling ml_append().
6249Files: src/ex_cmds.c
6250
6251Patch 7.4.976
6252Problem: When compiling Vim for MSYS2 (linked with msys-2.0.dll), the Win32
6253 clipboard is not enabled.
6254Solution: Recognize MSYS like CYGWIN. (Ken Takata)
6255Files: src/configure.in, src/auto/configure
6256
6257Patch 7.4.977
6258Problem: 'linebreak' does not work properly when using "space" in
6259 'listchars'.
6260Solution: (Hirohito Higashi, Christian Brabandt)
6261Files: src/screen.c, src/testdir/test_listlbr.in,
6262 src/testdir/test_listlbr.ok
6263
6264Patch 7.4.978
6265Problem: test_cdo fails when using another language than English.
6266Solution: Set the language to C. (Dominique Pelle, Kenichi Ito)
6267Files: src/testdir/test_cdo.in
6268
6269Patch 7.4.979
6270Problem: When changing the crypt key the blocks read from disk are not
6271 decrypted.
6272Solution: Also call ml_decrypt_data() when mf_old_key is set. (Ken Takata)
6273Files: src/memfile.c
6274
6275Patch 7.4.980
6276Problem: Tests for :cdo, :ldo, etc. are outdated.
6277Solution: Add new style tests for these commands. (Yegappan Lakshmanan)
6278Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6279 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6280 src/testdir/Make_vms.mms, src/testdir/Makefile,
6281 src/testdir/test_cdo.in, src/testdir/test_cdo.ok,
6282 src/testdir/test_cdo.vim
6283
6284Patch 7.4.981
6285Problem: An error in a test script goes unnoticed.
6286Solution: Source the test script inside try/catch. (Hirohito Higashi)
6287Files: src/testdir/runtest.vim
6288
6289Patch 7.4.982
6290Problem: Keeping the list of tests updated is a hassle.
6291Solution: Move the list to a separate file, so that it only needs to be
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006292 updated in one place.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006293Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6294 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6295 src/testdir/Make_vms.mms, src/testdir/Makefile,
6296 src/testdir/Make_all.mak
6297
6298Patch 7.4.983
6299Problem: Executing one test after "make testclean" doesn't work.
6300Solution: Add a dependency on test1.out.
6301Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
6302 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6303 src/testdir/Make_vms.mms, src/testdir/Makefile,
6304 src/testdir/Make_all.mak
6305
6306Patch 7.4.984
6307Problem: searchpos() always starts searching in the first column, which is
6308 not what some people expect. (Brett Stahlman)
6309Solution: Add the 'z' flag: start at the specified column.
6310Files: src/vim.h, src/eval.c, src/search.c,
6311 src/testdir/test_searchpos.vim, src/testdir/test_alot.vim,
6312 runtime/doc/eval.txt
6313
6314Patch 7.4.985
6315Problem: Can't build with Ruby 2.3.0.
6316Solution: Use the new TypedData_XXX macro family instead of Data_XXX. Use
6317 TypedData. (Ken Takata)
6318Files: src/if_ruby.c
6319
6320Patch 7.4.986
6321Problem: Test49 doesn't work on MS-Windows. test70 is listed twice.
6322Solution: Move test49 to the group not used on Amiga and MS-Windows.
6323 Remove test70 from SCRIPTS_WIN32.
6324Files: src/testdir/Make_all.mak, src/testdir/Make_dos.mak
6325
6326Patch 7.4.987 (after 7.4.985)
6327Problem: Can't build with Ruby 1.9.2.
6328Solution: Require Rub 2.0 for defining USE_TYPEDDATA.
6329Files: src/if_ruby.c
6330
6331Patch 7.4.988 (after 7.4.982)
6332Problem: Default test target is test49.out.
6333Solution: Add a build rule before including Make_all.mak.
6334Files: src/testdir/Make_dos.mak, src/testdir/Make_amiga.mak,
6335 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
6336 src/testdir/Make_vms.mms, src/testdir/Makefile
6337
6338Patch 7.4.989
6339Problem: Leaking memory when hash_add() fails. Coverity error 99126.
6340Solution: When hash_add() fails free the memory.
6341Files: src/eval.c
6342
6343Patch 7.4.990
6344Problem: Test 86 fails on AppVeyor.
6345Solution: Do some registry magic. (Ken Takata)
6346Files: appveyor.yml
6347
6348Patch 7.4.991
6349Problem: When running new style tests the output is not visible.
6350Solution: Add the testdir/messages file and show it. Update the list of
6351 test names.
6352Files: src/Makefile, src/testdir/Makefile, src/testdir/runtest.vim
6353
6354Patch 7.4.992
6355Problem: Makefiles for MS-Windows in src/po are outdated.
6356Solution: Make them work. (Ken Takata, Taro Muraoka)
6357Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
6358 src/po/README_mingw.txt, src/po/README_mvc.txt
6359
6360Patch 7.4.993
6361Problem: Test 87 is flaky on AppVeyor.
6362Solution: Reduce the minimum background thread count.
6363Files: src/testdir/test86.in, src/testdir/test87.in
6364
6365Patch 7.4.994
6366Problem: New style tests are not run on MS-Windows.
6367Solution: Add the new style tests.
6368Files: src/testdir/Make_dos.mak
6369
6370Patch 7.4.995
6371Problem: gdk_pixbuf_new_from_inline() is deprecated.
Bram Moolenaar64d8e252016-09-06 22:12:34 +02006372Solution: Generate auto/gui_gtk_gresources.c. (Kazunobu Kuriyama,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006373 closes #507)
6374Files: src/Makefile, src/auto/configure, src/config.h.in,
6375 src/config.mk.in, src/configure.in, src/gui_gtk.c,
6376 src/gui_gtk_gresources.xml, src/gui_gtk_x11.c,
6377 src/proto/gui_gtk_gresources.pro,
6378 pixmaps/stock_vim_build_tags.png, pixmaps/stock_vim_find_help.png,
6379 pixmaps/stock_vim_save_all.png,
6380 pixmaps/stock_vim_session_load.png,
6381 pixmaps/stock_vim_session_new.png,
6382 pixmaps/stock_vim_session_save.png, pixmaps/stock_vim_shell.png,
6383 pixmaps/stock_vim_window_maximize.png,
6384 pixmaps/stock_vim_window_maximize_width.png,
6385 pixmaps/stock_vim_window_minimize.png,
6386 pixmaps/stock_vim_window_minimize_width.png,
6387 pixmaps/stock_vim_window_split.png,
6388 pixmaps/stock_vim_window_split_vertical.png
6389
6390Patch 7.4.996
6391Problem: New GDK files and testdir/Make_all.mak missing from distribution.
6392 PC build instructions are outdated.
6393Solution: Add the file to the list. Update PC build instructions.
6394Files: Filelist, Makefile
6395
6396Patch 7.4.997
6397Problem: "make shadow" was sometimes broken.
6398Solution: Add a test for it. (James McCoy, closes #520)
6399Files: .travis.yml
6400
6401Patch 7.4.998
6402Problem: Running tests in shadow directory fails. Test 49 fails.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006403Solution: Link more files for the shadow directory. Make test 49 ends up in
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006404 the right buffer.
6405Files: src/Makefile, src/testdir/test49.in
6406
6407Patch 7.4.999
6408Problem: "make shadow" creates a broken link. (Tony Mechelynck)
6409Solution: Remove vimrc.unix from the list.
6410Files: src/Makefile
6411
6412Patch 7.4.1000
6413Problem: Test 49 is slow and doesn't work on MS-Windows.
6414Solution: Start moving parts of test 49 to test_viml.
6415Files: src/Makefile, src/testdir/runtest.vim, src/testdir/test_viml.vim,
6416 src/testdir/test49.vim, src/testdir/test49.ok
6417
6418Patch 7.4.1001 (after 7.4.1000)
6419Problem: test_viml isn't run.
6420Solution: Include change in makefile.
6421Files: src/testdir/Make_all.mak
6422
6423Patch 7.4.1002
6424Problem: Cannot run an individual test on MS-Windows.
6425Solution: Move the rule to run test1 downwards. (Ken Takata)
6426Files: src/testdir/Make_dos.mak
6427
6428Patch 7.4.1003
6429Problem: Travis could check a few more things.
6430Solution: Run autoconf on one of the builds. (James McCoy, closes #510)
6431 Also build with normal features.
6432Files: .travis.yml
6433
6434Patch 7.4.1004
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006435Problem: Using Makefile when auto/config.mk does not exist results in
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006436 warnings.
6437Solution: Use default values for essential variables.
6438Files: src/Makefile
6439
6440Patch 7.4.1005
6441Problem: Vim users are not always happy.
6442Solution: Make them happy.
6443Files: src/ex_cmds.h, src/ex_cmds.c, src/proto/ex_cmds.pro
6444
6445Patch 7.4.1006
6446Problem: The fix in patch 7.3.192 is not tested.
6447Solution: Add a test, one for each regexp engine. (Elias Diem)
6448Files: src/testdir/test44.in, src/testdir/test44.ok,
6449 src/testdir/test99.in, src/testdir/test99.ok
6450
6451Patch 7.4.1007
6452Problem: When a symbolic link points to a file in the root directory, the
6453 swapfile is not correct.
6454Solution: Do not try getting the full name of a file in the root directory.
6455 (Milly, closes #501)
6456Files: src/os_unix.c
6457
6458Patch 7.4.1008
6459Problem: The OS/2 code pollutes the source while nobody uses it these days.
6460Solution: Drop the support for OS/2.
6461Files: src/feature.h, src/globals.h, src/macros.h, src/option.h,
6462 src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro, src/vim.h,
6463 src/digraph.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
6464 src/ex_getln.c, src/fileio.c, src/getchar.c, src/memline.c,
6465 src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c,
6466 src/term.c, src/ui.c, src/window.c, src/os_os2_cfg.h,
6467 src/Make_os2.mak, src/testdir/Make_os2.mak, src/testdir/os2.vim,
6468 src/INSTALL, runtime/doc/os_os2.txt
6469
6470Patch 7.4.1009
6471Problem: There are still #ifdefs for ARCHIE.
6472Solution: Remove references to ARCHIE, the code was removed in Vim 5.
6473Files: src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/main.c,
6474 src/memline.c, src/option.c, src/term.c
6475
6476Patch 7.4.1010
6477Problem: Some developers are unhappy while running tests.
6478Solution: Add a test and some color.
6479Files: src/ex_cmds.c, src/testdir/test_assert.vim
6480
6481Patch 7.4.1011
6482Problem: Can't build with Strawberry Perl.
6483Solution: Include stdbool.h. (Ken Takata, closes #328)
6484Files: Filelist, src/Make_mvc.mak, src/if_perl_msvc/stdbool.h
6485
6486Patch 7.4.1012
6487Problem: Vim overwrites the value of $PYTHONHOME.
6488Solution: Do not set $PYTHONHOME if it is already set. (Kazuki Sakamoto,
6489 closes #500)
6490Files: src/if_python.c, src/if_python3.c
6491
6492Patch 7.4.1013
6493Problem: The local value of 'errorformat' is not used for ":lexpr" and
6494 ":cexpr".
6495Solution: Use the local value if it exists. (Christian Brabandt) Adjust the
6496 help for this.
6497Files: runtime/doc/quickfix.txt, src/quickfix.c
6498
6499Patch 7.4.1014
6500Problem: `fnamemodify('.', ':.')` returns an empty string in Cygwin.
6501Solution: Use CCP_RELATIVE in the call to cygwin_conv_path. (Jacob Niehus,
6502 closes #505)
6503Files: src/os_unix.c
6504
6505Patch 7.4.1015
6506Problem: The column is not restored properly when the matchparen plugin is
6507 used in Insert mode and the cursor is after the end of the line.
6508Solution: Set the curswant flag. (Christian Brabandt). Also fix
6509 highlighting the match of the character before the cursor.
6510Files: src/eval.c, runtime/plugin/matchparen.vim
6511
6512Patch 7.4.1016
6513Problem: Still a few OS/2 pieces remain.
6514Solution: Delete more.
6515Files: Filelist, README_os2.txt, testdir/todos.vim, src/xxd/Make_os2.mak
6516
6517Patch 7.4.1017
6518Problem: When there is a backslash in an option ":set -=" doesn't work.
6519Solution: Handle a backslash better. (Jacob Niehus) Add a new test, merge
6520 in old test.
6521Files: src/testdir/test_cdo.vim, src/testdir/test_set.vim,
6522 src/testdir/test_alot.vim, src/option.c, src/testdir/test_set.in,
6523 src/testdir/test_set.ok, src/Makefile
6524
6525Patch 7.4.1018 (after 7.4.1017)
6526Problem: Failure running tests.
6527Solution: Add missing change to list of old style tests.
6528Files: src/testdir/Make_all.mak
6529
6530Patch 7.4.1019
6531Problem: Directory listing of "src" is too long.
6532Solution: Rename the resources file to make it shorter.
6533Files: src/gui_gtk_gresources.xml, src/gui_gtk_res.xml, src/Makefile,
6534 Filelist
6535
6536Patch 7.4.1020
6537Problem: On MS-Windows there is no target to run tests with gvim.
6538Solution: Add the testgvim target.
6539Files: src/Make_mvc.mak
6540
6541Patch 7.4.1021
6542Problem: Some makefiles are outdated.
6543Solution: Add a note to warn developers.
6544Files: src/Make_manx.mak, src/Make_bc3.mak, src/Make_bc5.mak,
6545 src/Make_djg.mak, src/Make_w16.mak
6546
6547Patch 7.4.1022
6548Problem: The README file contains some outdated information.
6549Solution: Update the information about supported systems.
6550Files: README.txt, README.md
6551
6552Patch 7.4.1023
6553Problem: The distribution files for MS-Windows use CR-LF, which is
6554 inconsistent with what one gets from github.
6555Solution: Use LF in the distribution files.
6556Files: Makefile
6557
6558Patch 7.4.1024
6559Problem: Interfaces for MS-Windows are outdated.
6560Solution: Use Python 2.7.10, Python 3.4.4, Perl 5.22, TCL 8.6.
6561Files: src/bigvim.bat
6562
6563Patch 7.4.1025
6564Problem: Version in installer needs to be updated manually.
6565Solution: Generate a file with the version number. (Guopeng Wen)
6566Files: Makefile, nsis/gvim.nsi, nsis/gvim_version.nsh
6567
6568Patch 7.4.1026
6569Problem: When using MingW the tests do not clean up all files. E.g. test
6570 17 leaves Xdir1 behind. (Michael Soyka)
6571Solution: Also delete directories, like Make_dos.mak. Delete files after
6572 directories to reduce warnings.
6573Files: src/testdir/Make_ming.mak, src/testdir/Make_dos.mak
6574
6575Patch 7.4.1027
6576Problem: No support for binary numbers.
Bram Moolenaar09521312016-08-12 22:54:35 +02006577Solution: Add "bin" to 'nrformats'. (Jason Schulz)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006578Files: runtime/doc/change.txt, runtime/doc/eval.txt,
6579 runtime/doc/version7.txt, src/charset.c, src/eval.c,
6580 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/ops.c,
6581 src/option.c, src/proto/charset.pro, src/spell.c,
6582 src/testdir/test57.in, src/testdir/test57.ok,
6583 src/testdir/test58.in, src/testdir/test58.ok,
6584 src/testdir/test_increment.in, src/testdir/test_increment.ok,
6585 src/vim.h
6586
6587Patch 7.4.1028
6588Problem: Nsis version file missing from the distribution.
6589Solution: Add the file to the list.
6590Files: Filelist
6591
6592Patch 7.4.1029 (after 7.4.1027)
6593Problem: test_increment fails on systems with 32 bit long.
6594Solution: Only test with 32 bits.
6595Files: src/testdir/test_increment.in, src/testdir/test_increment.ok
6596
6597Patch 7.4.1030
6598Problem: test49 is still slow.
6599Solution: Move more tests from old to new style.
6600Files: src/testdir/test_viml.vim, src/testdir/test49.vim,
6601 src/testdir/test49.ok, src/testdir/runtest.vim
6602
6603Patch 7.4.1031
6604Problem: Can't build with Python interface using MingW.
6605Solution: Update the Makefile. (Yasuhiro Matsumoto)
6606Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak
6607
6608Patch 7.4.1032
6609Problem: message from assert_false() does not look nice.
6610Solution: Handle missing sourcing_name. Use right number of spaces. (Watiko)
6611 Don't use line number if it's zero.
6612Files: src/eval.c
6613
6614Patch 7.4.1033
6615Problem: Memory use on MS-Windows is very conservative.
6616Solution: Use the global memory status to estimate amount of memory.
6617 (Mike Williams)
6618Files: src/os_win32.c, src/os_win32.h, src/proto/os_win32.pro
6619
6620Patch 7.4.1034
6621Problem: There is no test for the 'backspace' option behavior.
6622Solution: Add a test. (Hirohito Higashi)
6623Files: src/testdir/test_alot.vim, src/testdir/test_backspace_opt.vim
6624
6625Patch 7.4.1035
6626Problem: An Ex range gets adjusted for folded lines even when the range is
6627 not using line numbers.
6628Solution: Only adjust line numbers for folding. (Christian Brabandt)
6629Files: runtime/doc/fold.txt, src/ex_docmd.c
6630
6631Patch 7.4.1036
6632Problem: Only terminals with up to 256 colors work properly.
6633Solution: Use the 256 color behavior for all terminals with 256 or more
6634 colors. (Robert de Bath, closes #504)
6635Files: src/syntax.c
6636
6637Patch 7.4.1037
6638Problem: Using "q!" when there is a modified hidden buffer does not unload
6639 the current buffer, resulting in the need to abandon it again.
6640Solution: When using "q!" unload the current buffer when needed. (Yasuhiro
6641 Matsumoto, Hirohito Higashi)
6642Files: src/testdir/test31.in, src/testdir/test31.ok,
6643 runtime/doc/editing.txt, src/ex_cmds2.c, src/ex_docmd.c,
6644 src/gui.c, src/gui_gtk_x11.c, src/os_unix.c,
6645 src/proto/ex_cmds2.pro
6646
6647Patch 7.4.1038
6648Problem: Still get a warning for a deprecated function with gdk-pixbuf
6649 2.31.
6650Solution: Change minimum minor version from 32 to 31.
6651Files: src/configure.in, src/auto/configure
6652
6653Patch 7.4.1039 (after 7.4.1037)
6654Problem: Test 31 fails with small build.
6655Solution: Bail out for small build. (Hirohito Higashi)
6656Files: src/testdir/test31.in
6657
6658Patch 7.4.1040
6659Problem: The tee command is not available on MS-Windows.
6660Solution: Adjust tee.c for MSVC and add a makefile. (Yasuhiro Matsumoto)
6661Files: src/tee/tee.c, src/tee/Make_mvc.mak, src/Make_mvc.mak
6662
6663Patch 7.4.1041
6664Problem: Various small things.
6665Solution: Add file to list of distributed files. Adjust README. Fix typo.
6666Files: Filelist, src/testdir/README.txt, src/testdir/test_charsearch.in,
Bram Moolenaar09521312016-08-12 22:54:35 +02006667 src/INSTALLmac.txt
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006668
6669Patch 7.4.1042
6670Problem: g-CTRL-G shows the word count, but there is no way to get the word
6671 count in a script.
6672Solution: Add the wordcount() function. (Christian Brabandt)
6673Files: runtime/doc/editing.txt, runtime/doc/eval.txt,
6674 runtime/doc/usr_41.txt, src/eval.c, src/normal.c, src/ops.c,
6675 src/proto/ops.pro, src/testdir/test_wordcount.in,
6676 src/testdir/test_wordcount.ok, src/testdir/Make_all.mak
6677
6678Patch 7.4.1043
6679Problem: Another small thing.
6680Solution: Now really update the Mac install text.
6681Files: src/INSTALLmac.txt
6682
6683Patch 7.4.1044 (after 7.4.1042)
6684Problem: Can't build without the +eval feature.
6685Solution: Add #ifdef.
6686Files: src/ops.c
6687
6688Patch 7.4.1045
6689Problem: Having shadow and coverage on the same build results in the source
6690 files not being available in the coverage view.
6691Solution: Move using shadow to the normal build.
6692Files: .travis.yml
6693
6694Patch 7.4.1046
6695Problem: No test coverage for menus.
6696Solution: Load the standard menus and check there is no error.
Bram Moolenaar259f26a2018-05-15 22:25:40 +02006697Files: src/testdir/test_menu.vim, src/testdir/test_alot.vim
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006698
6699Patch 7.4.1047 (after patch 7.4.1042)
6700Problem: Tests fail on MS-Windows.
6701Solution: Set 'selection' to inclusive.
6702Files: src/testdir/test_wordcount.in
6703
6704Patch 7.4.1048 (after patch 7.4.1047)
6705Problem: Wordcount test still fail on MS-Windows.
6706Solution: Set 'fileformat' to "unix".
6707Files: src/testdir/test_wordcount.in
6708
6709Patch 7.4.1049 (after patch 7.4.1048)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006710Problem: Wordcount test still fails on MS-Windows.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006711Solution: Set 'fileformats' to "unix".
6712Files: src/testdir/test_wordcount.in
6713
6714Patch 7.4.1050
6715Problem: Warning for unused var with tiny features. (Tony Mechelynck)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006716Solution: Add #ifdef. Use vim_snprintf(). Reduce number of statements.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006717Files: src/ops.c
6718
6719Patch 7.4.1051
6720Problem: Segfault when unletting "count".
6721Solution: Check for readonly and locked first. (Dominique Pelle)
6722 Add a test.
6723Files: src/eval.c, src/testdir/test_alot.vim, src/testdir/test_unlet.vim
6724
6725Patch 7.4.1052
6726Problem: Illegal memory access with weird syntax command. (Dominique Pelle)
6727Solution: Check for column past end of line.
6728Files: src/syntax.c
6729
6730Patch 7.4.1053
6731Problem: Insufficient testing for quickfix commands.
6732Solution: Add a new style quickfix test. (Yegappan Lakshmanan)
6733Files: src/testdir/Make_all.mak, src/testdir/test_quickfix.vim
6734
6735Patch 7.4.1054
6736Problem: Illegal memory access.
6737Solution: Check for missing pattern. (Dominique Pelle)
6738Files: src/syntax.c
6739
6740Patch 7.4.1055
6741Problem: Running "make newtests" in src/testdir has no output.
6742Solution: List the messages file when a test fails. (Christian Brabandt)
6743 Update the list of tests.
6744Files: src/Makefile, src/testdir/Makefile
6745
6746Patch 7.4.1056
6747Problem: Don't know why finding spell suggestions is slow.
6748Solution: Add some code to gather profiling information.
6749Files: src/spell.c
6750
6751Patch 7.4.1057
6752Problem: Typos in the :options window.
6753Solution: Fix the typos. (Dominique Pelle)
6754Files: runtime/optwin.vim
6755
6756Patch 7.4.1058
6757Problem: It is not possible to test code that is only reached when memory
6758 allocation fails.
6759Solution: Add the alloc_fail() function. Try it out with :vimgrep.
6760Files: runtime/doc/eval.txt, src/globals.h, src/eval.c, src/quickfix.c,
6761 src/misc2.c, src/proto/misc2.pro, src/testdir/test_quickfix.vim
6762
6763Patch 7.4.1059
6764Problem: Code will never be executed.
6765Solution: Remove the code.
6766Files: src/quickfix.c
6767
6768Patch 7.4.1060
6769Problem: Instructions for writing tests are outdated.
6770Solution: Mention Make_all.mak. Add steps for new style tests.
6771Files: src/testdir/README.txt
6772
6773Patch 7.4.1061
6774Problem: Compiler warning for ignoring return value of fwrite().
6775Solution: Do use the return value. (idea: Charles Campbell)
6776Files: src/misc2.c, src/proto/misc2.pro
6777
6778Patch 7.4.1062
6779Problem: Building with Ruby on MS-Windows requires a lot of arguments.
6780Solution: Make it simpler. (Ken Takata)
6781Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
6782
6783Patch 7.4.1063
6784Problem: TCL_VER_LONG and DYNAMIC_TCL_VER are not set when building with
6785 Cygwin and MingW.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006786Solution: Add TCL_VER_LONG and DYNAMIC_TCL_VER to the makefile. (Ken Takata)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006787Files: src/Make_cyg_ming.mak
6788
6789Patch 7.4.1064
6790Problem: When a spell file has single letter compounding creating
6791 suggestions takes an awful long time.
6792Solution: Add the NOCOMPOUNDSUGS flag.
6793Files: runtime/doc/spell.txt, src/spell.c
6794
6795Patch 7.4.1065
6796Problem: Cannot use the "dll" options on MS-Windows.
6797Solution: Support the options on all platforms. Use the built-in name as
6798 the default, so that it's clear what Vim is looking for.
6799Files: src/if_python.c, src/if_python3.c, src/if_lua.c, src/if_perl.xs,
6800 src/if_ruby.c, src/option.c, runtime/doc/options.txt, src/Makefile
6801
6802Patch 7.4.1066 (after 7.4.1065)
6803Problem: Build fails on MS-Windows.
6804Solution: Adjust the #ifdefs for "dll" options.
6805Files: src/option.h
6806
6807Patch 7.4.1067 (after 7.4.1065)
6808Problem: Can't build with MingW and Python on MS-Windows.
6809Solution: Move the build flags to CFLAGS.
6810Files: src/Make_cyg_ming.mak
6811
6812Patch 7.4.1068
6813Problem: Wrong way to check for unletting internal variables.
6814Solution: Use a better way. (Olaf Dabrunz)
6815Files: src/testdir/test_unlet.c, src/eval.c
6816
6817Patch 7.4.1069
6818Problem: Compiler warning for unused argument.
6819Solution: Add UNUSED.
6820Files: src/misc2.c
6821
6822Patch 7.4.1070
6823Problem: The Tcl interface can't be loaded dynamically on Unix.
6824Solution: Make it possible to load it dynamically. (Ken Takata)
6825Files: runtime/doc/if_tcl.txt, runtime/doc/options.txt,
6826 runtime/doc/quickref.txt, runtime/optwin.vim, src/Makefile,
6827 src/config.h.in, src/configure.in, src/auto/configure,
6828 src/if_tcl.c, src/option.c, src/option.h
6829
6830Patch 7.4.1071
6831Problem: New style tests are executed in arbitrary order.
6832Solution: Sort the test function names. (Hirohito Higashi)
6833 Fix the quickfix test that depended on the order.
6834Files: src/testdir/runtest.vim, src/testdir/test_quickfix.vim
6835
6836Patch 7.4.1072
6837Problem: Increment test is old style.
6838Solution: Make the increment test a new style test. (Hirohito Higashi)
6839Files: src/Makefile, src/testdir/Make_all.mak,
6840 src/testdir/test_increment.in, src/testdir/test_increment.ok,
6841 src/testdir/test_increment.vim
6842
6843Patch 7.4.1073
6844Problem: Alloc_id depends on numbers, may use the same one twice. It's not
6845 clear from the number what it's for.
6846Solution: Use an enum. Add a function to lookup the enum value from the
6847 name.
6848Files: src/misc2.c, src/vim.h, src/alloc.h, src/globals.h,
6849 src/testdir/runtest.vim, src/proto/misc2.pro,
6850 src/testdir/test_quickfix.vim
6851
6852Patch 7.4.1074
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02006853Problem: Warning from VC2015 compiler.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006854Solution: Add a type cast. (Mike Williams)
6855Files: src/gui_dwrite.cpp
6856
6857Patch 7.4.1075
6858Problem: Crash when using an invalid command.
6859Solution: Fix generating the error message. (Dominique Pelle)
6860Files: src/ex_docmd.c
6861
6862Patch 7.4.1076
6863Problem: CTRL-A does not work well in right-left mode.
6864Solution: Remove reversing the line, add a test. (Hirohito Higashi)
6865Files: src/ops.c, src/testdir/test_increment.vim
6866
6867Patch 7.4.1077
6868Problem: The build instructions for MS-Windows are incomplete.
6869Solution: Add explanations for how to build with various interfaces. (Ken
6870 Takata)
6871Files: src/INSTALLpc.txt
6872
6873Patch 7.4.1078
6874Problem: MSVC: "make clean" doesn't cleanup in the tee directory.
6875Solution: Add the commands to cleanup tee. (Erich Ritz)
6876Files: src/Make_mvc.mak
6877
6878Patch 7.4.1079 (after 7.4.1073)
6879Problem: New include file missing from distribution. Missing changes to
6880 quickfix code.
6881Solution: Add alloc.h to the list of distributed files. Use the enum in
6882 quickfix code.
6883Files: Filelist, src/quickfix.c
6884
6885Patch 7.4.1080
6886Problem: VS2015 has a function HandleToLong() that is shadowed by the macro
6887 that Vim defines.
6888Solution: Do not define HandleToLong() for MSVC version 1400 and later.
6889 (Mike Williams)
6890Files: src/gui_w32.c
6891
6892Patch 7.4.1081
6893Problem: No test for what previously caused a crash.
6894Solution: Add test for unletting errmsg.
6895Files: src/testdir/test_unlet.vim
6896
6897Patch 7.4.1082
6898Problem: The Tcl interface is always skipping memory free on exit.
6899Solution: Only skip for dynamically loaded Tcl.
6900Files: src/if_tcl.c
6901
6902Patch 7.4.1083
6903Problem: Building GvimExt with VS2015 may fail.
6904Solution: Adjust the makefile. (Mike Williams)
6905Files: src/GvimExt/Makefile
6906
6907Patch 7.4.1084
6908Problem: Using "." to repeat CTRL-A in Visual mode increments the wrong
6909 numbers.
6910Solution: Append right size to the redo buffer. (Ozaki Kiichi)
6911Files: src/normal.c, src/testdir/test_increment.vim
6912
6913Patch 7.4.1085
6914Problem: The CTRL-A and CTRL-X commands do not update the '[ and '] marks.
6915Solution: (Yukihiro Nakadaira)
6916Files: src/ops.c, src/testdir/test_marks.in, src/testdir/test_marks.ok
6917
6918Patch 7.4.1086
6919Problem: Crash with an extremely long buffer name.
6920Solution: Limit the return value of vim_snprintf(). (Dominique Pelle)
6921Files: src/buffer.c
6922
6923Patch 7.4.1087
6924Problem: CTRL-A and CTRL-X do not work properly with blockwise visual
6925 selection if there is a mix of Tab and spaces.
6926Solution: Add OP_NR_ADD and OP_NR_SUB. (Hirohito Higashi)
6927Files: src/testdir/test_increment.vim, src/normal.c, src/ops.c,
6928 src/proto/ops.pro, src/vim.h
6929
6930Patch 7.4.1088
6931Problem: Coverity warns for uninitialized variables. Only one is an actual
6932 problem.
6933Solution: Move the conditions. Don't use endpos if handling an error.
6934Files: src/ops.c
6935
6936Patch 7.4.1089
6937Problem: Repeating CTRL-A doesn't work.
6938Solution: Call prep_redo_cmd(). (Hirohito Higashi)
6939Files: src/normal.c, src/testdir/test_increment.vim
6940
6941Patch 7.4.1090
6942Problem: No tests for :hardcopy and related options.
6943Solution: Add test_hardcopy.
6944Files: src/testdir/test_hardcopy.vim, src/Makefile,
6945 src/testdir/Make_all.mak
6946
6947Patch 7.4.1091
6948Problem: When making a change while need_wait_return is set there is a two
6949 second delay.
6950Solution: Do not assume the ATTENTION prompt was given when need_wait_return
6951 was set already.
6952Files: src/misc1.c
6953
6954Patch 7.4.1092
6955Problem: It is not simple to test for an exception and give a proper error
6956 message.
6957Solution: Add assert_exception().
6958Files: src/eval.c, runtime/doc/eval.txt
6959
6960Patch 7.4.1093
6961Problem: Typo in test goes unnoticed.
6962Solution: Fix the typo. Give error for wrong arguments to cursor().
6963 (partly by Hirohito Higashi) Add a test for cursor().
6964Files: src/testdir/test_searchpos.vim, src/testdir/test_cursor_func.vim,
6965 src/eval.c, src/testdir/test_alot.vim
6966
6967Patch 7.4.1094
6968Problem: Test for :hardcopy fails on MS-Windows.
6969Solution: Check for the +postscript feature.
6970Files: src/testdir/test_hardcopy.vim
6971
6972Patch 7.4.1095
6973Problem: Can't build GvimExt with SDK 7.1.
6974Solution: Support using setenv.bat instead of vcvars32.bat. (Ken Takata)
6975Files: src/Make_mvc.mak, src/GvimExt/Makefile
6976
6977Patch 7.4.1096
6978Problem: Need several lines to verify a command produces an error.
Bram Moolenaard0796902016-09-16 20:02:31 +02006979Solution: Add assert_fails(). (suggested by Nikolai Pavlov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02006980 Make the quickfix alloc test actually work.
6981Files: src/testdir/test_quickfix.vim, src/eval.c, runtime/doc/eval.txt,
6982 src/misc2.c, src/alloc.h
6983
6984Patch 7.4.1097
6985Problem: Looking up the alloc ID for tests fails.
6986Solution: Fix the line computation. Use assert_fails() for unlet test.
6987Files: src/testdir/runtest.vim, src/testdir/test_unlet.vim
6988
6989Patch 7.4.1098
6990Problem: Still using old style C function declarations.
6991Solution: Always define __ARGS() to include types. Turn a few functions
6992 into ANSI style to find out if this causes problems for anyone.
6993Files: src/vim.h, src/os_unix.h, src/eval.c, src/main.c
6994
6995Patch 7.4.1099
6996Problem: It's not easy to know if Vim supports blowfish. (Smu Johnson)
6997Solution: Add has('crypt-blowfish') and has('crypt-blowfish2').
6998Files: src/eval.c
6999
7000Patch 7.4.1100
7001Problem: Cygwin makefiles are unused.
7002Solution: Remove them.
7003Files: src/GvimExt/Make_ming.mak, src/GvimExt/Make_cyg.mak,
7004 src/xxd/Make_ming.mak, src/xxd/Make_cyg.mak
7005
7006Patch 7.4.1101
7007Problem: With 'rightleft' and concealing the cursor may move to the wrong
7008 position.
7009Solution: Compute the column differently when 'rightleft' is set. (Hirohito
7010 Higashi)
7011Files: src/screen.c
7012
7013Patch 7.4.1102
7014Problem: Debugger has no stack backtrace support.
7015Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto
7016 Fanjul, closes #433)
7017Files: runtime/doc/repeat.txt, src/eval.c, src/ex_cmds2.c, src/globals.h,
7018 src/testdir/Make_all.mak, src/testdir/test108.in,
7019 src/testdir/test108.ok
7020
7021Patch 7.4.1103 (after 7.4.1100)
7022Problem: Removed file still in distribution.
7023Solution: Remove Make_cyg.mak from the list of files.
7024Files: Filelist
7025
7026Patch 7.4.1104
7027Problem: Various problems building with MzScheme/Racket.
7028Solution: Make it work with new versions of Racket. (Yukihiro Nakadaira, Ken
7029 Takata)
7030Files: runtime/doc/if_mzsch.txt, src/INSTALLpc.txt,
7031 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
7032 src/configure.in, src/if_mzsch.c
7033
7034Patch 7.4.1105
7035Problem: When using slices there is a mixup of variable name and namespace.
7036Solution: Recognize variables that can't be a namespace. (Hirohito Higashi)
7037Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok
7038
7039Patch 7.4.1106
7040Problem: The nsis script can't be used from the appveyor build.
7041Solution: Add "ifndef" to allow for variables to be set from the command
7042 line. Remove duplicate SetCompressor command. Support using other
7043 gettext binaries. (Ken Takata) Update build instructions to use
7044 libintl-8.dll.
7045Files: Makefile, nsis/gvim.nsi, src/os_win32.c, src/proto/os_win32.pro,
7046 src/main.c, os_w32exe.c
7047
7048Patch 7.4.1107
7049Problem: Vim can create a directory but not delete it.
7050Solution: Add an argument to delete() to make it possible to delete a
7051 directory, also recursively.
7052Files: src/fileio.c, src/eval.c, src/proto/fileio.pro,
7053 src/testdir/test_delete.vim, src/testdir/test_alot.vim,
7054 runtime/doc/eval.txt
7055
7056Patch 7.4.1108
7057Problem: Expanding "~" halfway a file name.
7058Solution: Handle the file name as one name. (Marco Hinz) Add a test.
7059 Closes #564.
7060Files: src/testdir/test27.in, src/testdir/test27.ok,
7061 src/testdir/test_expand.vim, src/testdir/test_alot.vim,
7062 src/Makefile, src/misc2.c
7063
7064Patch 7.4.1109 (after 7.4.1107)
7065Problem: MS-Windows doesn't have rmdir().
7066Solution: Add mch_rmdir().
Bram Moolenaar09521312016-08-12 22:54:35 +02007067Files: src/os_win32.c, src/proto/os_win32.pro
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007068
7069Patch 7.4.1110
7070Problem: Test 108 fails when language is French.
7071Solution: Force English messages. (Dominique Pelle)
7072Files: src/testdir/test108.in
7073
7074Patch 7.4.1111
7075Problem: test_expand fails on MS-Windows.
7076Solution: Always use forward slashes. Remove references to test27.
7077Files: src/testdir/runtest.vim, src/testdir/test_expand.vim,
7078 src/testdir/Make_dos.mak, src/testdir/Make_all.mak,
7079 src/testdir/Make_amiga.mak, src/testdir/Make_ming.mak
7080
7081Patch 7.4.1112
7082Problem: When using ":next" with an illegal file name no error is reported.
7083Solution: Give an error message.
7084Files: src/ex_cmds2.c
7085
7086Patch 7.4.1113 (after 7.4.1105)
7087Problem: Using {ns} in variable name does not work. (lilydjwg)
7088Solution: Fix recognizing colon. Add a test.
7089Files: src/eval.c, src/testdir/test_viml.vim
7090
7091Patch 7.4.1114 (after 7.4.1107)
7092Problem: delete() does not work well with symbolic links.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007093Solution: Recognize symbolic links.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007094Files: src/eval.c, src/fileio.c, src/os_unix.c, src/proto/os_unix.pro,
7095 src/testdir/test_delete.vim, runtime/doc/eval.txt
7096
7097Patch 7.4.1115
7098Problem: MS-Windows: make clean in testdir doesn't clean everything.
7099Solution: Add command to delete X* directories. (Ken Takata)
7100Files: src/testdir/Make_dos.mak
7101
7102Patch 7.4.1116
7103Problem: delete(x, 'rf') does not delete files starting with a dot.
7104Solution: Also delete files starting with a dot.
7105Files: src/misc1.c, src/fileio.c, src/vim.h
7106
7107Patch 7.4.1117 (after 7.4.1116)
7108Problem: No longer get "." and ".." in directory list.
7109Solution: Do not skip "." and ".." unless EW_DODOT is set.
Bram Moolenaar259f26a2018-05-15 22:25:40 +02007110Files: src/misc1.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007111
7112Patch 7.4.1118
7113Problem: Tests hang in 24 line terminal.
7114Solution: Set the 'more' option off.
7115Files: src/testdir/runtest.vim
7116
7117Patch 7.4.1119
7118Problem: argidx() has a wrong value after ":%argdelete". (Yegappan
7119 Lakshmanan)
7120Solution: Correct the value of w_arg_idx. Add a test.
7121Files: src/ex_cmds2.c, src/testdir/test_arglist.vim,
7122 src/testdir/Make_all.mak
7123
7124Patch 7.4.1120
7125Problem: delete(x, 'rf') fails if a directory is empty. (Lcd)
7126Solution: Ignore not finding matches in an empty directory.
7127Files: src/fileio.c, src/misc1.c, src/vim.h, src/testdir/test_delete.vim
7128
7129Patch 7.4.1121
7130Problem: test_expand leaves files behind.
7131Solution: Edit another file before deleting, otherwise the swap file
7132 remains.
7133Files: src/testdir/test_expand.vim
7134
7135Patch 7.4.1122
7136Problem: Test 92 and 93 fail when using gvim on a system with a non utf-8
7137 locale.
7138Solution: Avoid using .gvimrc by adding -U NONE. (Yukihiro Nakadaira)
7139Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
7140 src/testdir/Make_vms.mms, src/testdir/Makefile
7141
7142Patch 7.4.1123
7143Problem: Using ":argadd" when there are no arguments results in the second
7144 argument to be the current one. (Yegappan Lakshmanan)
7145Solution: Correct the w_arg_idx value.
7146Files: src/ex_cmds2.c, src/testdir/test_arglist.vim
7147
7148Patch 7.4.1124
7149Problem: MS-Windows: dead key behavior is not ideal.
7150Solution: Handle dead keys differently when not in Insert or Select mode.
7151 (John Wellesz, closes #399)
7152Files: src/gui_w48.c
7153
7154Patch 7.4.1125
7155Problem: There is no perleval().
7156Solution: Add perleval(). (Damien)
7157Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
7158 src/if_perl.xs, src/proto/if_perl.pro, src/testdir/Make_all.mak,
7159 src/testdir/test_perl.vim
7160
7161Patch 7.4.1126
7162Problem: Can only get the directory of the current window.
7163Solution: Add window and tab arguments to getcwd() and haslocaldir().
7164 (Thinca, Hirohito Higashi)
7165Files: src/Makefile, src/testdir/Make_all.mak,
7166 src/testdir/test_getcwd.in, src/testdir/test_getcwd.ok,
7167 runtime/doc/eval.txt, patching file src/eval.c
7168
7169Patch 7.4.1127
7170Problem: Both old and new style tests for Perl.
7171Solution: Merge the old tests with the new style tests.
7172Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_perl.in,
7173 src/testdir/test_perl.ok, src/testdir/test_perl.vim
7174
7175Patch 7.4.1128
7176Problem: MS-Windows: delete() does not recognize junctions.
7177Solution: Add mch_isrealdir() for MS-Windows. Update mch_is_symbolic_link().
7178 (Ken Takata)
7179Files: src/fileio.c, src/os_win32.c, src/proto/os_win32.pro
7180
7181Patch 7.4.1129
7182Problem: Python None value can't be converted to a Vim value.
7183Solution: Just use zero. (Damien)
7184Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok,
7185 src/testdir/test87.in, src/testdir/test87.ok,
7186
7187Patch 7.4.1130
7188Problem: Memory leak in :vimgrep.
7189Solution: Call FreeWild(). (Yegappan Lakshmanan)
7190Files: src/quickfix.c
7191
7192Patch 7.4.1131
7193Problem: New lines in the viminfo file are dropped.
7194Solution: Copy lines starting with "|". Fix that when using :rviminfo in a
7195 function global variables were restored as function-local
7196 variables.
7197Files: src/eval.c, src/structs.h, src/ex_cmds.c, src/misc2.c,
7198 src/proto/misc2.pro, src/testdir/test_viminfo.vim,
7199 src/testdir/Make_all.mak, src/testdir/test74.in,
7200 src/testdir/test74.ok
7201
7202Patch 7.4.1132
7203Problem: Old style tests for the argument list.
7204Solution: Add more new style tests. (Yegappan Lakshmanan)
7205Files: src/testdir/test_arglist.vim, src/testdir/test_argument_0count.in,
7206 src/testdir/test_argument_0count.ok,
7207 src/testdir/test_argument_count.in, src/Makefile,
7208 src/testdir/test_argument_count.ok, src/testdir/Make_all.mak
7209
7210Patch 7.4.1133
7211Problem: Generated function prototypes still have __ARGS().
7212Solution: Generate function prototypes without __ARGS().
7213Files: src/Makefile, src/if_ruby.c, src/os_win32.c,
7214 src/proto/blowfish.pro, src/proto/buffer.pro,
7215 src/proto/charset.pro, src/proto/crypt.pro,
7216 src/proto/crypt_zip.pro, src/proto/diff.pro,
7217 src/proto/digraph.pro, src/proto/edit.pro, src/proto/eval.pro,
7218 src/proto/ex_cmds2.pro, src/proto/ex_cmds.pro,
7219 src/proto/ex_docmd.pro, src/proto/ex_eval.pro,
7220 src/proto/ex_getln.pro, src/proto/fileio.pro, src/proto/fold.pro,
7221 src/proto/getchar.pro, src/proto/gui_athena.pro,
7222 src/proto/gui_beval.pro, src/proto/gui_gtk_gresources.pro,
7223 src/proto/gui_gtk.pro, src/proto/gui_gtk_x11.pro,
7224 src/proto/gui_mac.pro, src/proto/gui_motif.pro,
7225 src/proto/gui_photon.pro, src/proto/gui.pro,
7226 src/proto/gui_w16.pro, src/proto/gui_w32.pro,
7227 src/proto/gui_x11.pro, src/proto/gui_xmdlg.pro,
7228 src/proto/hangulin.pro, src/proto/hardcopy.pro,
7229 src/proto/hashtab.pro, src/proto/if_cscope.pro,
7230 src/proto/if_lua.pro, src/proto/if_mzsch.pro,
7231 src/proto/if_ole.pro, src/proto/if_perl.pro,
7232 src/proto/if_perlsfio.pro, src/proto/if_python3.pro,
7233 src/proto/if_python.pro, src/proto/if_ruby.pro,
7234 src/proto/if_tcl.pro, src/proto/if_xcmdsrv.pro,
7235 src/proto/main.pro, src/proto/mark.pro, src/proto/mbyte.pro,
7236 src/proto/memfile.pro, src/proto/memline.pro, src/proto/menu.pro,
7237 src/proto/message.pro, src/proto/misc1.pro, src/proto/misc2.pro,
7238 src/proto/move.pro, src/proto/netbeans.pro, src/proto/normal.pro,
7239 src/proto/ops.pro, src/proto/option.pro, src/proto/os_amiga.pro,
7240 src/proto/os_beos.pro, src/proto/os_mac_conv.pro,
7241 src/proto/os_msdos.pro, src/proto/os_mswin.pro,
7242 src/proto/os_qnx.pro, src/proto/os_unix.pro, src/proto/os_vms.pro,
7243 src/proto/os_win16.pro, src/proto/os_win32.pro,
7244 src/proto/popupmnu.pro, src/proto/pty.pro, src/proto/quickfix.pro,
7245 src/proto/regexp.pro, src/proto/screen.pro, src/proto/search.pro,
7246 src/proto/sha256.pro, src/proto/spell.pro, src/proto/syntax.pro,
7247 src/proto/tag.pro, src/proto/termlib.pro, src/proto/term.pro,
7248 src/proto/ui.pro, src/proto/undo.pro, src/proto/version.pro,
7249 src/proto/winclip.pro, src/proto/window.pro,
7250 src/proto/workshop.pro
7251
7252Patch 7.4.1134
7253Problem: The arglist test fails on MS-Windows.
7254Solution: Only check for failure of argedit on Unix.
7255Files: src/testdir/test_arglist.vim
7256
7257Patch 7.4.1135
7258Problem: One more arglist test fails on MS-Windows.
7259Solution: Don't edit "Y" after editing "y".
7260Files: src/testdir/test_arglist.vim
7261
7262Patch 7.4.1136
7263Problem: Wrong argument to assert_exception() causes a crash. (reported by
7264 Coverity)
7265Solution: Check for NULL pointer. Add a test.
7266Files: src/eval.c, src/testdir/test_assert.vim
7267
7268Patch 7.4.1137
7269Problem: Illegal memory access when using :copen and :cclose.
7270Solution: Avoid that curbuf is invalid. (suggestion by Justin M. Keyes)
7271 Add a test.
7272Files: src/window.c, src/testdir/test_quickfix.vim
7273
7274Patch 7.4.1138
7275Problem: When running gvim in the foreground some icons are missing.
7276 (Taylor Venable)
7277Solution: Move the call to gui_gtk_register_resource(). (Kazunobu Kuriyama)
7278Files: src/gui_gtk_x11.c
7279
7280Patch 7.4.1139
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007281Problem: MS-Windows: getftype() returns "file" for symlink to directory.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007282Solution: Make it return "dir". (Ken Takata)
7283Files: src/os_mswin.c
7284
7285Patch 7.4.1140
7286Problem: Recognizing <sid> does not work when the language is Turkish.
7287 (Christian Brabandt)
7288Solution: Use MB_STNICMP() instead of STNICMP().
7289Files: src/eval.c
7290
7291Patch 7.4.1141
7292Problem: Using searchpair() with a skip expression that uses syntax
7293 highlighting sometimes doesn't work. (David Fishburn)
7294Solution: Reset next_match_idx. (Christian Brabandt)
7295Files: src/syntax.c
7296
7297Patch 7.4.1142
7298Problem: Cannot define keyword characters for a syntax file.
7299Solution: Add the ":syn iskeyword" command. (Christian Brabandt)
7300Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/buffer.c,
7301 src/option.c, src/structs.h, src/syntax.c,
7302 src/testdir/Make_all.mak, src/testdir/test_syntax.vim
7303
7304Patch 7.4.1143
7305Problem: Can't sort on floating point numbers.
7306Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f"
7307 flag to sort().
7308Files: runtime/doc/change.txt, src/ex_cmds.c, src/testdir/test_sort.vim,
7309 src/testdir/test57.in, src/testdir/test57.ok, src/eval.c
7310
7311Patch 7.4.1144 (after 7.4.1143)
7312Problem: Can't build on several systems.
7313Solution: Include float.h. (Christian Robinson, closes #570 #571)
7314Files: src/ex_cmds.c
7315
7316Patch 7.4.1145
7317Problem: Default features are conservative.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007318Solution: Make the default feature set for most of today's systems "huge".
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007319Files: src/feature.h, src/configure.in, src/auto/configure
7320
7321Patch 7.4.1146
7322Problem: Can't build with Python 3 interface using MingW.
7323Solution: Update the Makefile. (Yasuhiro Matsumoto, Ken Takata)
7324Files: src/Make_cyg_ming.mak
7325
7326Patch 7.4.1147
7327Problem: Conflict for "chartab". (Kazunobu Kuriyama)
7328Solution: Rename the global one to something less obvious. Move it into
7329 src/chartab.c.
7330Files: src/macros.h, src/globals.h, src/charset.c, src/main.c,
7331 src/option.c, src/screen.c, src/vim.h
7332
7333Patch 7.4.1148
7334Problem: Default for MingW and Cygwin is still "normal".
7335Solution: Use "huge" as default. (Ken Takata)
7336Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
7337
7338Patch 7.4.1149 (after 7.4.1013)
7339Problem: Using the local value of 'errorformat' causes more problems than
7340 it solves.
7341Solution: Revert 7.4.1013.
7342Files: runtime/doc/quickfix.txt, src/quickfix.c
7343
7344Patch 7.4.1150
7345Problem: 'langmap' applies to the first character typed in Select mode.
7346 (David Watson)
7347Solution: Check for SELECTMODE. (Christian Brabandt, closes #572)
7348 Add the 'x' flag to feedkeys().
7349Files: src/getchar.c, src/normal.c, src/testdir/test_langmap.vim,
7350 src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/Make_all.mak,
7351 runtime/doc/eval.txt
7352
7353Patch 7.4.1151 (after 7.4.1150)
7354Problem: Missing change to eval.c
7355Solution: Also change feedkeys().
7356Files: src/eval.c
7357
7358Patch 7.4.1152
7359Problem: Langmap test fails with normal build.
7360Solution: Check for +langmap feature.
7361Files: src/testdir/test_langmap.vim
7362
7363Patch 7.4.1153
7364Problem: Autocommands triggered by quickfix cannot always get the current
7365 title value.
7366Solution: Call qf_fill_buffer() later. (Christian Brabandt)
7367Files: src/quickfix.c, src/testdir/test_quickfix.vim
7368
7369Patch 7.4.1154
7370Problem: No support for JSON.
7371Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true,
7372 v:null and v:none.
7373Files: src/json.c, src/eval.c, src/proto.h, src/structs.h, src/vim.h,
7374 src/if_lua.c, src/if_mzsch.c, src/if_ruby.c, src/if_py_both.h,
7375 src/globals.h, src/Makefile, src/Make_bc3.mak, src/Make_bc5.mak,
7376 src/Make_cyg_ming.mak, src/Make_dice.mak, src/Make_ivc.mak,
7377 src/Make_manx.mak, src/Make_morph.mak, src/Make_mvc.mak,
7378 src/Make_sas.mak, src/Make_vms.mms, src/proto/json.pro,
7379 src/proto/eval.pro, src/testdir/test_json.vim,
7380 src/testdir/test_alot.vim, Filelist, runtime/doc/eval.txt
7381
7382Patch 7.4.1155
7383Problem: Build with normal features fails.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007384Solution: Always define dict_lookup().
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007385Files: src/eval.c
7386
7387Patch 7.4.1156
7388Problem: Coverity warns for NULL pointer and ignoring return value.
7389Solution: Check for NULL pointer. When dict_add() returns FAIL free the item.
7390Files: src/json.c
7391
7392Patch 7.4.1157
7393Problem: type() does not work for v:true, v:none, etc.
7394Solution: Add new type numbers.
7395Files: src/eval.c, src/testdir/test_json.vim, src/testdir/test_viml.vim
7396
7397Patch 7.4.1158
7398Problem: Still using __ARGS().
7399Solution: Remove __ARGS() from eval.c
7400Files: src/eval.c
7401
7402Patch 7.4.1159
7403Problem: Automatically generated function prototypes use __ARGS.
7404Solution: Remove __ARGS from osdef.sh.
7405Files: src/osdef.sh, src/osdef1.h.in, src/osdef2.h.in
7406
7407Patch 7.4.1160
7408Problem: No error for jsondecode('"').
7409Solution: Give an error message for missing double quote.
7410Files: src/json.c
7411
7412Patch 7.4.1161
7413Problem: ":argadd" without argument is supposed to add the current buffer
7414 name to the arglist.
7415Solution: Make it work as documented. (Coot, closes #577)
7416Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_arglist.vim
7417
7418Patch 7.4.1162
7419Problem: Missing error number in MzScheme. (Dominique Pelle)
7420Solution: Add a proper error number.
7421Files: src/if_mzsch.c
7422
7423Patch 7.4.1163
7424Problem: Expressions "0 + v:true" and "'' . v:true" cause an error.
7425Solution: Return something sensible when using a special variable as a
7426 number or as a string. (suggested by Damien)
7427Files: src/eval.c, src/testdir/test_viml.vim
7428
7429Patch 7.4.1164
7430Problem: No tests for comparing special variables. Error in jsondecode()
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007431 not reported. test_json does not work with Japanese system.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007432Solution: Set scriptencoding. (Ken Takata) Add a few more tests. Add error.
7433Files: src/json.c, src/testdir/test_viml.vim, src/testdir/test_json.vim
7434
7435Patch 7.4.1165
7436Problem: When defining DYNAMIC_ICONV_DLL in the makefile, the build fails.
7437Solution: Add #ifdef's. (Taro Muraoka) Try the newer version first.
7438Files: src/mbyte.c, src/os_win32.c
7439
7440Patch 7.4.1166
7441Problem: Can't encode a Funcref into JSON. jsonencode() doesn't handle the
Bram Moolenaard0796902016-09-16 20:02:31 +02007442 same list or dict twice properly. (Nikolai Pavlov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007443Solution: Give an error. Reset copyID when the list or dict is finished.
7444Files: src/json.c, src/proto/json.pro, src/testdir/test_json.vim
7445
7446Patch 7.4.1167
7447Problem: No tests for "is" and "isnot" with the new variables.
7448Solution: Add tests.
7449Files: src/testdir/test_viml.vim
7450
7451Patch 7.4.1168
Bram Moolenaard0796902016-09-16 20:02:31 +02007452Problem: This doesn't give the right result: eval(string(v:true)). (Nikolai
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007453 Pavlov)
7454Solution: Make the string "v:true" instead of "true".
7455Files: src/eval.c, src/testdir/test_viml.vim
7456
7457Patch 7.4.1169
7458Problem: The socket I/O is intertwined with the netbeans code.
7459Solution: Start refactoring the netbeans communication to split off the
7460 socket I/O. Add the +channel feature.
7461Files: src/channel.c, src/netbeans.c, src/proto/channel.pro,
7462 src/proto/netbeans.pro, src/proto/gui_w32.pro, src/gui_w32.c,
7463 src/eval.c, src/os_mswin.c, src/ui.c, src/macros.h, Makefile,
7464 src/proto.h, src/feature.h, src/os_unix.c, src/vim.h,
7465 src/configure.in, src/auto/configure, src/config.mk.in,
7466 src/config.aap.in, src/config.h.in, src/Make_bc5.mak,
7467 src/Make_cyg_ming.mak, src/Make_mvc.mak
7468
7469Patch 7.4.1170 (after 7.4.1169)
7470Problem: Missing changes in src/Makefile, Filelist.
7471Solution: Add the missing changes.
7472Files: Filelist, src/Makefile
7473
7474Patch 7.4.1171
7475Problem: Makefile dependencies are outdated.
7476Solution: Run "make depend". Add GTK resource dependencies.
7477Files: src/Makefile
7478
7479Patch 7.4.1172 (after 7.4.1169)
7480Problem: Configure is overly positive.
7481Solution: Insert "test".
7482Files: src/configure.in, src/auto/configure
7483
7484Patch 7.4.1173 (after 7.4.1168)
7485Problem: No test for new behavior of v:true et al.
7486Solution: Add a test.
7487Files: src/testdir/test_viml.vim
7488
7489Patch 7.4.1174
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007490Problem: Netbeans contains dead code inside #ifndef INIT_SOCKETS.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007491Solution: Remove the dead code.
7492Files: src/netbeans.c
7493
7494Patch 7.4.1175 (after 7.4.1169)
7495Problem: Can't build with Mingw and Cygwin.
7496Solution: Remove extra "endif". (Christian J. Robinson)
7497Files: src/Make_cyg_ming.mak
7498
7499Patch 7.4.1176
7500Problem: Missing change to proto file.
7501Solution: Update the proto file. (Charles Cooper)
7502Files: src/proto/gui_w32.pro
7503
7504Patch 7.4.1177
7505Problem: The +channel feature is not in :version output. (Tony Mechelynck)
7506Solution: Add the feature string.
7507Files: src/version.c
7508
7509Patch 7.4.1178
7510Problem: empty() doesn't work for the new special variables.
7511Solution: Make empty() work. (Damien)
7512Files: src/eval.c, src/testdir/test_viml.vim
7513
7514Patch 7.4.1179
7515Problem: test_writefile and test_viml do not delete the tempfile.
7516Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript().
7517Files: src/testdir/test_writefile.in, src/testdir/test_viml.vim
7518
7519Patch 7.4.1180
7520Problem: Crash with invalid argument to glob2regpat().
7521Solution: Check for NULL. (Justin M. Keyes, closes #596) Add a test.
7522Files: src/eval.c, src/testdir/test_glob2regpat.vim,
7523 src/testdir/test_alot.vim
7524
7525Patch 7.4.1181
7526Problem: free_tv() can't handle special variables. (Damien)
7527Solution: Add the variable type.
7528Files: src/eval.c, src/testdir/test_viml.vim
7529
7530Patch 7.4.1182
7531Problem: Still socket code intertwined with netbeans.
7532Solution: Move code from netbeans.c to channel.c
7533Files: src/channel.c, src/netbeans.c, src/proto/channel.pro,
7534 src/proto/netbeans.pro, src/gui.c, src/gui_w48.c
7535
7536Patch 7.4.1183 (after 7.4.1182)
7537Problem: MS-Windows build is broken.
7538Solution: Remove init in wrong place.
7539Files: src/channel.c
7540
7541Patch 7.4.1184 (after 7.4.1182)
7542Problem: MS-Windows build is still broken.
7543Solution: Change nbsock to ch_fd.
7544Files: src/channel.c
7545
7546Patch 7.4.1185
7547Problem: Can't build with TCL on some systems.
7548Solution: Rename the channel_ functions.
7549Files: src/if_tcl.c
7550
7551Patch 7.4.1186
7552Problem: Error messages for security context are hard to translate.
7553Solution: Use one string with %s. (Ken Takata)
7554Files: src/os_unix.c
7555
7556Patch 7.4.1187
7557Problem: MS-Windows channel code only supports one channel. Doesn't build
7558 without netbeans support.
7559Solution: Get the channel index from the socket in the message. Closes #600.
7560Files: src/channel.c, src/netbeans.c, src/gui_w48.c,
7561 src/proto/channel.pro, src/proto/netbeans.pro
7562
7563Patch 7.4.1188
7564Problem: Using older JSON standard.
7565Solution: Update the link. Adjust the text a bit.
7566Files: src/json.c, runtime/doc/eval.txt
7567
7568Patch 7.4.1189 (after 7.4.1165)
7569Problem: Using another language on MS-Windows does not work. (Yongwei Wu)
7570Solution: Undo the change to try loading libintl-8.dll first.
7571Files: src/os_win32.c
7572
7573Patch 7.4.1190
7574Problem: On OSX the default flag for dlopen() is different.
7575Solution: Add RTLD_LOCAL in the configure check. (sv99, closes #604)
7576Files: src/configure.in, src/auto/configure
7577
7578Patch 7.4.1191
7579Problem: The channel feature isn't working yet.
7580Solution: Add the connect(), disconnect(), sendexpr() and sendraw()
7581 functions. Add initial documentation. Add a demo server.
7582Files: src/channel.c, src/eval.c, src/proto/channel.pro,
7583 src/proto/eval.pro, runtime/doc/channel.txt, runtime/doc/eval.txt,
7584 runtime/doc/Makefile, runtime/tools/demoserver.py
7585
7586Patch 7.4.1192
7587Problem: Can't build with FEAT_EVAL but without FEAT_MBYTE. (John
7588 Marriott)
7589Solution: Add #ifdef for FEAT_MBYTE.
7590Files: src/json.c
7591
7592Patch 7.4.1193
7593Problem: Can't build the channel feature on MS-Windows.
7594Solution: Add #ifdef HAVE_POLL.
7595Files: src/channel.c
7596
7597Patch 7.4.1194
7598Problem: Compiler warning for not using return value of fwrite().
7599Solution: Return OK/FAIL. (Charles Campbell)
7600Files: src/channel.c, src/proto/channel.pro
7601
7602Patch 7.4.1195
7603Problem: The channel feature does not work in the MS-Windows console.
7604Solution: Add win32 console support. (Yasuhiro Matsumoto)
7605Files: src/channel.c, src/gui_w32.c, src/os_mswin.c, src/os_win32.c,
7606 src/proto/gui_w32.pro, src/proto/os_mswin.pro, src/vim.h
7607
7608Patch 7.4.1196
7609Problem: Still using __ARGS.
7610Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7611Files: src/arabic.c, src/buffer.c, src/charset.c, src/crypt_zip.c,
7612 src/diff.c, src/digraph.c, src/edit.c, src/ex_cmds.c,
7613 src/ex_cmds2.c, src/ex_docmd.c
7614
7615Patch 7.4.1197
7616Problem: Still using __ARGS.
7617Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7618Files: src/ex_eval.c, src/ex_getln.c, src/farsi.c, src/fileio.c,
7619 src/fold.c, src/getchar.c, src/gui.c, src/gui_at_fs.c,
7620 gui_at_sb.c, src/gui_athena.c, src/gui_beval.c, src/gui_motif.c,
7621 src/gui_w32.c, src/gui_w48.c
7622
7623Patch 7.4.1198
7624Problem: Still using __ARGS.
7625Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7626 Also remove use of HAVE_STDARG_H.
7627Files: src/gui_x11.c, src/hangulin.c, src/hardcopy.c, src/hashtab.c,
7628 src/if_cscope.c, src/if_python3.c, src/if_sniff.c,
7629 src/if_xcmdsrv.c, src/main.c, src/mark.c, src/mbyte.c,
7630 src/memfile.c, src/memfile_test.c, src/memline.c, src/menu.c,
7631 src/message.c, src/misc1.c, src/misc2.c, src/move.c,
7632 src/netbeans.c, src/normal.c
7633
7634Patch 7.4.1199
7635Problem: Still using __ARGS.
7636Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7637Files: src/ops.c, src/option.c, src/os_amiga.c, src/os_mac_conv.c,
7638 src/os_unix.c, src/os_vms.c, src/os_w32exe.c, src/popupmnu.c,
7639 src/pty.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
7640 src/screen.c, src/search.c, src/sha256.c, src/spell.c,
7641 src/syntax.c, src/tag.c, src/term.c, src/termlib.c, src/ui.c,
7642 src/undo.c, src/version.c, src/window.c
7643
7644Patch 7.4.1200
7645Problem: Still using __ARGS.
7646Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
7647Files: src/blowfish.c, src/ex_cmds2.c, src/ex_getln.c, src/fold.c,
7648 src/gui_beval.c, src/gui_w32.c, src/os_unix.c, src/os_win16.c,
7649 src/pty.c, src/regexp.c, src/syntax.c, src/xpm_w32.c,
7650 src/ex_cmds.h, src/globals.h, src/gui_at_sb.h, src/gui_beval.h,
7651 src/if_cscope.h, src/if_sniff.h, src/nbdebug.h, src/os_unix.h,
7652 src/proto.h, src/structs.h, src/vim.h, src/xpm_w32.h,
7653 src/if_perl.xs, src/proto/if_lua.pro, src/proto/pty.pro,
7654 runtime/tools/xcmdsrv_client.c,
7655 src/Makefile
7656
7657Patch 7.4.1201
7658Problem: One more file still using __ARGS.
7659Solution: Remove __ARGS in the last file. (script by Hirohito Higashi)
7660Files: src/gui_at_sb.c
7661
7662Patch 7.4.1202
7663Problem: Still one more file still using __ARGS.
7664Solution: Remove __ARGS in the last file. (script by Hirohito Higashi)
7665 (closes #612)
7666Files: src/proto/os_mac_conv.pro, src/os_mac_conv.c, src/Makefile
7667
7668Patch 7.4.1203
7669Problem: Still more files still using __ARGS.
7670Solution: Remove __ARGS in really the last files.
7671Files: src/proto/if_mzsch.pro, src/if_mzsch.c, src/vim.h,
7672 src/proto/gui_gtk_gresources.pro, src/proto/gui_mac.pro,
Bram Moolenaar7e1479b2016-09-11 15:07:27 +02007673 src/proto/if_ole.pro, src/proto/os_qnx.pro, src/Makefile
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007674
7675Patch 7.4.1204
7676Problem: Latin1 characters cause encoding conversion.
7677Solution: Remove the characters.
7678Files: src/gui_motif.c
7679
7680Patch 7.4.1205
7681Problem: Using old style function declarations.
7682Solution: Change to new style function declarations. (script by Hirohito
7683 Higashi)
7684Files: src/arabic.c, src/blowfish.c, src/buffer.c, src/channel.c,
7685 src/charset.c, src/crypt.c, src/crypt_zip.c, src/diff.c,
7686 src/digraph.c, src/edit.c, src/eval.c
7687
7688Patch 7.4.1206
7689Problem: Using old style function declarations.
7690Solution: Change to new style function declarations. (script by Hirohito
7691 Higashi)
7692Files: src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
7693 src/ex_getln.c, src/farsi.c, src/fileio.c
7694
7695Patch 7.4.1207
7696Problem: Using old style function declarations.
7697Solution: Change to new style function declarations. (script by Hirohito
7698 Higashi)
7699Files: src/fold.c, src/getchar.c, src/gui_at_fs.c, src/gui_athena.c,
7700 src/gui_at_sb.c, src/gui_beval.c, src/gui.c, src/gui_gtk.c,
7701 src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c
7702
7703Patch 7.4.1208
7704Problem: Using old style function declarations.
7705Solution: Change to new style function declarations. (script by Hirohito
7706 Higashi)
7707Files: src/gui_photon.c, src/gui_w32.c, src/gui_w48.c, src/gui_x11.c,
7708 src/hangulin.c, src/hardcopy.c, src/hashtab.c, src/if_cscope.c,
7709 src/if_mzsch.c, src/if_perlsfio.c, src/if_python.c,
7710 src/if_python3.c, src/if_ruby.c, src/if_sniff.c, src/if_tcl.c,
7711 src/if_xcmdsrv.c, src/integration.c
7712
7713Patch 7.4.1209 (after 7.4.1207)
7714Problem: Can't build with Athena. (Elimar Riesebieter)
7715Solution: Fix function declarations.
7716Files: src/gui_athena.c, src/gui_x11.c, src/gui_at_sb.c, src/gui_at_fs.c
7717
7718Patch 7.4.1210
7719Problem: Using old style function declarations.
7720Solution: Change to new style function declarations. (script by Hirohito
7721 Higashi)
7722Files: src/main.c, src/mark.c, src/mbyte.c, src/memfile.c,
7723 src/memfile_test.c, src/memline.c, src/menu.c, src/message.c
7724
7725Patch 7.4.1211
7726Problem: Using old style function declarations.
7727Solution: Change to new style function declarations. (script by Hirohito
7728 Higashi)
7729Files: src/misc1.c, src/misc2.c, src/move.c, src/netbeans.c,
7730 src/normal.c, src/ops.c, src/option.c
7731
7732Patch 7.4.1212 (after 7.4.1207)
7733Problem: Can't build with Motif.
7734Solution: Fix function declaration.(Dominique Pelle)
7735Files: src/gui_motif.c
7736
7737Patch 7.4.1213
7738Problem: Using old style function declarations.
7739Solution: Change to new style function declarations. (script by Hirohito
7740 Higashi)
7741Files: src/os_amiga.c, src/os_mac_conv.c, src/os_msdos.d, src/os_mswin.c,
7742 src/os_qnx.c, src/os_unix.c, src/os_vms.c, src/os_win16.c,
7743 src/os_win32.c, src/popupmnu.c, src/pty.c, src/quickfix.c,
7744 src/regexp.c, src/regexp_nfa.c, src/screen.c
7745
7746Patch 7.4.1214
7747Problem: Using old style function declarations.
7748Solution: Change to new style function declarations. (script by Hirohito
7749 Higashi)
7750Files: src/search.c, src/sha256.c, src/spell.c, src/syntax.c, src/tag.c,
7751 src/term.c, src/termlib.c, src/ui.c, src/undo.c
7752
7753Patch 7.4.1215
7754Problem: Using old style function declarations.
7755Solution: Change to new style function declarations. (script by Hirohito
7756 Higashi)
7757Files: src/version.c, src/winclip.c, src/window.c, src/workshop.c,
7758 src/xpm_w32.c, runtime/doc/doctags.c,
7759 runtime/tools/xcmdsrv_client.c, src/po/sjiscorr.c, src/xxd/xxd.c
7760
7761Patch 7.4.1216
7762Problem: Still using HAVE_STDARG_H.
7763Solution: Assume it's always defined.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02007764Files: src/eval.c, src/misc2.c, src/vim.h, src/proto.h, src/configure.in,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007765 src/auto/configure, config.h.in, src/os_amiga.h, src/os_msdos.h,
7766 src/os_vms_conf.h, src/os_win32.h
7767
7768Patch 7.4.1217
7769Problem: Execution of command on channel doesn't work yet.
7770Solution: Implement the "ex" and "normal" commands.
7771Files: src/channel.c, src/proto/channel.pro, src/misc2.c, src/eval.c,
7772 src/ex_docmd.c, src/proto/ex_docmd.pro, src/feature.h
7773
7774Patch 7.4.1218
7775Problem: Missing change in configure. More changes for function style.
7776Solution: Avoid the typos.
7777Files: src/configure.in, src/config.h.in, runtime/tools/ccfilter.c,
7778 src/os_msdos.c
7779
7780Patch 7.4.1219
7781Problem: Build fails with +channel but without +float.
7782Solution: Add #ifdef.
7783Files: src/ex_cmds.c
7784
7785Patch 7.4.1220
7786Problem: Warnings for unused variables in tiny build. (Tony Mechelynck)
7787Solution: Move declarations inside #ifdef. (Hirohito Higashi)
7788Files: src/ex_cmds.c
7789
7790Patch 7.4.1221
7791Problem: Including netbeans and channel support in small and tiny builds.
7792 Build fails with some interfaces.
7793Solution: Only include these features in small build and above. Let
7794 configure fail if trying to enable an interface that won't build.
7795Files: src/configure.in, src/auto/configure
7796
7797Patch 7.4.1222
7798Problem: ":normal" command and others missing in tiny build.
7799Solution: Graduate FEAT_EX_EXTRA.
7800Files: src/feature.h, src/charset.c, src/eval.c, src/ex_cmds.c,
7801 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/getchar.c,
7802 src/normal.c, src/ui.c, src/version.c, src/globals.h
7803
7804Patch 7.4.1223
7805Problem: Crash when setting v:errors to a number.
7806Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto)
7807Files: src/eval.c, src/testdir/test_assert.vim
7808
7809Patch 7.4.1224
7810Problem: Build problems with GTK on BSD. (Mike Williams)
7811Solution: Don't use "$<". Skip building gui_gtk_gresources.h when it doesn't
7812 work. (Kazunobu Kuriyama)
7813Files: src/Makefile
7814
7815Patch 7.4.1225
7816Problem: Still a few old style function declarations.
7817Solution: Make them new style. (Hirohito Higashi)
7818Files: runtime/tools/blink.c, src/eval.c, src/ex_cmds2.c, src/ex_getln.c,
7819 src/fileio.c, src/gui_w32.c, src/gui_x11.c, src/if_perl.xs,
7820 src/os_unix.c, src/po/sjiscorr.c, src/pty.c
7821
7822Patch 7.4.1226
7823Problem: GRESOURCE_HDR is unused.
7824Solution: Remove it. (Kazunobu Kuriyama)
7825Files: src/configure.in, src/auto/configure, src/config.mk.in
7826
7827Patch 7.4.1227
7828Problem: Compiler warnings.
7829Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan)
7830Files: src/getchar.c, src/os_macosx.m
7831
7832Patch 7.4.1228
7833Problem: copy() and deepcopy() fail with special variables. (Nikolai
7834 Pavlov)
7835Solution: Make it work. Add a test. Closes #614.
7836Files: src/eval.c, src/testdir/test_viml.vim
7837
7838Patch 7.4.1229
7839Problem: "eval" and "expr" channel commands don't work yet.
7840Solution: Implement them. Update the error numbers. Also add "redraw".
7841Files: src/channel.c, src/eval.c, src/json.c, src/ex_docmd.c,
7842 src/proto/channel.pro, src/proto/json.pro, src/proto/ex_docmd.pro,
7843 runtime/doc/channel.txt
7844
7845Patch 7.4.1230
7846Problem: Win32: opening a channel may hang. Not checking for messages
7847 while waiting for characters.
7848Solution: Add a zero timeout. Call parse_queued_messages(). (Yasuhiro
7849 Matsumoto)
7850Files: src/os_win32.c
7851
7852Patch 7.4.1231
7853Problem: JSON messages are not parsed properly.
7854Solution: Queue received messages.
Bram Moolenaar64d8e252016-09-06 22:12:34 +02007855Files: src/eval.c src/channel.c, src/json.c, src/proto/eval.pro,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02007856 src/proto/channel.pro, src/proto/json.pro, src/structs.h
7857
7858Patch 7.4.1232
7859Problem: Compiler warnings when the Sniff feature is enabled.
7860Solution: Add UNUSED.
7861Files: src/gui_gtk_x11.c
7862
7863Patch 7.4.1233
7864Problem: Channel command may cause a crash.
7865Solution: Check for NULL argument. (Damien)
7866Files: src/channel.c
7867
7868Patch 7.4.1234
7869Problem: Demo server only runs with Python 2.
7870Solution: Make it run with Python 3 as well. (Ken Takata)
7871Files: runtime/tools/demoserver.py
7872
7873Patch 7.4.1235 (after 7.4.1231)
7874Problem: Missing change to eval.c.
7875Solution: Include that change.
7876Files: src/eval.c
7877
7878Patch 7.4.1236
7879Problem: When "syntax manual" was used switching between buffers removes
7880 the highlighting.
7881Solution: Set the syntax option without changing the value. (Anton
7882 Lindqvist)
7883Files: runtime/syntax/manual.vim
7884
7885Patch 7.4.1237
7886Problem: Can't translate message without adding a line break.
7887Solution: Join the two parts of the message.
7888Files: src/memline.c
7889
7890Patch 7.4.1238
7891Problem: Can't handle two messages right after each other.
7892Solution: Find the end of the JSON. Read more when incomplete. Add a C
7893 test for the JSON decoding.
7894Files: src/channel.c, src/json.c, src/proto/json.pro, src/eval.c,
7895 src/Makefile, src/json_test.c, src/memfile_test.c, src/structs.h
7896
7897Patch 7.4.1239
7898Problem: JSON message after the first one is dropped.
7899Solution: Put remainder of message back in the queue.
7900Files: src/channel.c
7901
7902Patch 7.4.1240
7903Problem: Visual studio tools are noisy.
7904Solution: Suppress startup info. (Mike Williams)
7905Files: src/GvimExt/Makefile, src/Make_mvc.mak, src/tee/Make_mvc.mak
7906
7907Patch 7.4.1241 (after 7.4.1238)
7908Problem: Missing change in Makefile due to diff mismatch
7909Solution: Update the list of object files.
7910Files: src/Makefile
7911
7912Patch 7.4.1242 (after 7.4.1238)
7913Problem: json_test fails without the eval feature.
7914Solution: Add #ifdef.
7915Files: src/json_test.c
7916
7917Patch 7.4.1243
7918Problem: Compiler warning for uninitialized variable.
7919Solution: Initialize it. (Elias Diem)
7920Files: src/json.c
7921
7922Patch 7.4.1244
7923Problem: The channel functions don't sort together.
7924Solution: Use a common "ch_" prefix.
7925Files: src/eval.c, runtime/doc/eval.txt, runtime/tools/demoserver.py
7926
7927Patch 7.4.1245
7928Problem: File missing from distribution.
7929Solution: Add json_test.c.
7930Files: Filelist
7931
7932Patch 7.4.1246
7933Problem: The channel functionality isn't tested.
7934Solution: Add a test using a Python test server.
7935Files: src/channel.c, src/proto/channel.pro,
7936 src/testdir/test_channel.vim, src/testdir/test_channel.py,
7937 src/testdir/Make_all.mak
7938
7939Patch 7.4.1247
7940Problem: The channel test doesn't run on MS-Windows.
7941Solution: Make it work on the MS-Windows console. (Ken Takata)
7942Files: src/testdir/test_channel.py, src/testdir/test_channel.vim
7943
7944Patch 7.4.1248
7945Problem: Can't reliably stop the channel test server. Can't start the
7946 server if the python file is not executable.
7947Solution: Use "pkill" instead of "killall". Run the python file as an
7948 argument instead of as an executable.
7949Files: src/testdir/test_channel.vim
7950
7951Patch 7.4.1249
7952Problem: Crash when the process a channel is connected to exits.
7953Solution: Use the file descriptor properly. Add a test. (Damien)
7954 Also add a test for eval().
7955Files: src/channel.c, src/testdir/test_channel.py,
7956 src/testdir/test_channel.vim
7957
7958Patch 7.4.1250
7959Problem: Running tests in shadow directory fails.
7960Solution: Also link testdir/*.py
7961Files: src/Makefile
7962
7963Patch 7.4.1251
7964Problem: New test file missing from distribution.
7965Solution: Add src/testdir/*.py.
7966Files: Filelist
7967
7968Patch 7.4.1252
7969Problem: The channel test server may receive two messages concatenated.
7970Solution: Split the messages.
7971Files: src/testdir/test_channel.py
7972
7973Patch 7.4.1253
7974Problem: Python test server not displaying second of two commands.
7975 Solaris doesn't have "pkill --full".
7976Solution: Also echo the second command. Use "pkill -f".
7977Files: src/testdir/test_channel.py, src/testdir/test_channel.vim
7978
7979Patch 7.4.1254
7980Problem: Opening a second channel causes a crash. (Ken Takata)
7981Solution: Don't re-allocate the array with channels.
7982Files: src/channel.c, src/testdir/test_channel.vim,
7983 src/testdir/test_channel.py
7984
7985Patch 7.4.1255
7986Problem: Crash for channel "eval" command without third argument.
7987Solution: Check for missing argument.
7988Files: src/channel.c, src/testdir/test_channel.vim,
7989 src/testdir/test_channel.py
7990
7991Patch 7.4.1256
7992Problem: On Mac sys.exit(0) doesn't kill the test server.
7993Solution: Use self.server.shutdown(). (Jun Takimoto)
7994Files: src/testdir/test_channel.py
7995
7996Patch 7.4.1257
7997Problem: Channel test fails in some configurations.
7998Solution: Add check for the +channel feature.
7999Files: src/testdir/test_channel.vim
8000
8001Patch 7.4.1258
8002Problem: The channel test can fail if messages arrive later.
Bram Moolenaard0796902016-09-16 20:02:31 +02008003Solution: Add a short sleep. (Jun Takimoto)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008004Files: src/testdir/test_channel.vim
8005
8006Patch 7.4.1259
8007Problem: No test for what patch 7.3.414 fixed.
8008Solution: Add a test. (Elias Diem)
8009Files: src/testdir/test_increment.vim
8010
8011Patch 7.4.1260
8012Problem: The channel feature doesn't work on Win32 GUI.
8013Solution: Use WSAGetLastError(). (Ken Takata)
8014Files: src/channel.c, src/testdir/test_channel.vim, src/vim.h
8015
8016Patch 7.4.1261
8017Problem: Pending channel messages are garbage collected. Leaking memory in
8018 ch_sendexpr(). Leaking memory for a decoded JSON string.
8019Solution: Mark the message list as used. Free the encoded JSON. Don't save
8020 the JSON string.
8021Files: src/eval.c, src/channel.c, src/json.c, src/proto/channel.pro
8022
8023Patch 7.4.1262
8024Problem: The channel callback is not invoked.
8025Solution: Make a list of pending callbacks.
8026Files: src/eval.c, src/channel.c, src/proto/channel.pro,
8027 src/testdir/test_channel.vim
8028
8029Patch 7.4.1263
8030Problem: ch_open() hangs when the server isn't running.
8031Solution: Add a timeout. Use a dict to pass arguments. (Yasuhiro Matsumoto)
8032Files: runtime/doc/eval.txt, runtime/doc/channel.txt, src/channel.c,
8033 src/eval.c, src/netbeans.c, src/os_win32.c, src/proto/channel.pro,
8034 src/testdir/test_channel.vim
8035
8036Patch 7.4.1264
8037Problem: Crash when receiving an empty array.
8038Solution: Check for array with wrong number of arguments. (Damien)
8039Files: src/channel.c, src/eval.c, src/testdir/test_channel.py,
8040 src/testdir.test_channel.vim
8041
8042Patch 7.4.1265
8043Problem: Not all channel commands are tested.
8044Solution: Add a test for "normal", "expr" and "redraw".
8045Files: src/testdir/test_channel.py, src/testdir/test_channel.vim
8046
8047Patch 7.4.1266
8048Problem: A BufAdd autocommand may cause an ml_get error (Christian
8049 Brabandt)
8050Solution: Increment RedrawingDisabled earlier.
8051Files: src/ex_cmds.c
8052
8053Patch 7.4.1267
8054Problem: Easy to miss handling all types of variables.
8055Solution: Change the variable type into an enum.
8056Files: src/structs.h, src/eval.c
8057
8058Patch 7.4.1268
8059Problem: Waittime is used as seconds instead of milliseconds. (Hirohito
8060 Higashi)
8061Solution: Divide by 1000.
8062Files: src/channel.c
8063
8064Patch 7.4.1269
8065Problem: Encoding {'key':v:none} to JSON doesn't give an error (Tyru)
8066Solution: Give an error.
8067Files: src/json.c, src/testdir/test_json.vim
8068
8069Patch 7.4.1270
8070Problem: Warnings for missing values in switch.
8071Solution: Change switch to if-else or add values.
8072Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
8073
8074Patch 7.4.1271
8075Problem: assert_false(v:false) reports an error. (Nikolai Pavlov)
8076Solution: Recognize v:true and v:false. (Closes #625)
8077Files: src/eval.c, src/testdir/test_assert.vim
8078
8079Patch 7.4.1272 (after 7.4.1270)
8080Problem: Using future enum value.
8081Solution: Remove it.
8082Files: src/if_python.c, src/if_python3.c
8083
8084Patch 7.4.1273 (after 7.4.1271)
8085Problem: assert_false(v:false) still fails.
8086Solution: Fix the typo.
8087Files: src/eval.c
8088
8089Patch 7.4.1274
8090Problem: Cannot run a job.
8091Solution: Add job_start(), job_status() and job_stop(). Currently only works
8092 for Unix.
8093Files: src/eval.c, src/structs.h, runtime/doc/eval.txt, src/os_unix.c,
8094 src/proto/os_unix.pro, src/feature.h, src/version.c,
8095 src/testdir/test_channel.vim
8096
8097Patch 7.4.1275 (after 7.4.1274)
8098Problem: Build fails on MS-Windows.
8099Solution: Fix wrong #ifdef.
8100Files: src/eval.c
8101
8102Patch 7.4.1276
8103Problem: Warning for not using return value of fcntl().
8104Solution: Explicitly ignore the return value.
8105Files: src/fileio.c, src/channel.c, src/memfile.c, src/memline.c
8106
8107Patch 7.4.1277
8108Problem: Compiler can complain about missing enum value in switch with some
8109 combination of features.
8110Solution: Remove #ifdefs around case statements.
8111Files: src/eval.c
8112
8113Patch 7.4.1278
8114Problem: When jsonencode() fails it still returns something.
8115Solution: Return an empty string on failure.
8116Files: src/json.c, src/channel.c, src/testdir/test_json.vim,
8117 src/testdir/test_channel.vim, src/testdir/test_channel.py
8118
8119Patch 7.4.1279
8120Problem: jsonencode() is not producing strict JSON.
8121Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode()
8122 strict.
8123Files: src/json.c, src/json_test.c, src/proto/json.pro, src/channel.c,
8124 src/proto/channel.pro, src/eval.c, src/vim.h, src/structs.h,
8125 runtime/doc/eval.txt, runtime/doc/channel.txt,
8126 src/testdir/test_json.vim
8127
8128Patch 7.4.1280
8129Problem: Missing case value.
8130Solution: Add VAR_JOB.
8131Files: src/if_python.c, src/if_python3.c
8132
8133Patch 7.4.1281
8134Problem: No test for skipping over code that isn't evaluated.
8135Solution: Add a test with code that would fail when not skipped.
8136Files: src/testdir/test_viml.vim
8137
8138Patch 7.4.1282
8139Problem: Crash when evaluating the pattern of ":catch" causes an error.
8140 (Dominique Pelle)
8141Solution: Block error messages at this point.
8142Files: src/ex_eval.c
8143
8144Patch 7.4.1283
8145Problem: The job feature isn't available on MS-Windows.
8146Solution: Add the job feature. Fix argument of job_stop(). (Yasuhiro
8147 Matsumoto)
8148Files: src/eval.c, src/feature.h, src/os_win32.c, src/proto/os_win32.pro
8149
8150Patch 7.4.1284 (after 7.4.1282)
8151Problem: Test 49 fails.
8152Solution: Check for a different error message.
8153Files: src/testdir/test49.vim
8154
8155Patch 7.4.1285
8156Problem: Cannot measure elapsed time.
8157Solution: Add reltimefloat().
8158Files: src/ex_cmds2.c, src/eval.c, src/proto/ex_cmds2.pro,
8159 src/testdir/test_reltime.vim, src/testdir/test_alot.vim
8160
8161Patch 7.4.1286
8162Problem: ch_open() with a timeout doesn't work correctly.
8163Solution: Change how select() is used. Don't give an error on timeout.
8164 Add a test for ch_open() failing.
8165Files: src/channel.c, src/testdir/test_channel.vim
8166
8167Patch 7.4.1287 (after 7.4.1286)
8168Problem: Channel test fails.
8169Solution: Use reltimefloat().
8170Files: src/testdir/test_channel.vim
8171
8172Patch 7.4.1288
8173Problem: ch_sendexpr() does not use JS encoding.
8174Solution: Use the encoding that fits the channel mode. Refuse using
8175 ch_sendexpr() on a raw channel.
8176Files: src/channel.c, src/proto/channel.pro, src/eval.c
8177
8178Patch 7.4.1289
8179Problem: Channel test fails on MS-Windows, connect() takes too long.
8180Solution: Adjust the test for MS-Windows using "waittime".
8181Files: src/channel.c, src/testdir/test_channel.vim
8182
8183Patch 7.4.1290
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008184Problem: Coverity complains about unnecessary check for NULL.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008185Solution: Remove the check.
8186Files: src/eval.c
8187
8188Patch 7.4.1291
8189Problem: On MS-Windows the channel test server doesn't quit.
8190Solution: Use return instead of break. (Ken Takata)
8191Files: src/testdir/test_channel.py
8192
8193Patch 7.4.1292
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008194Problem: Some compilers complain about uninitialized variable, even though
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008195 all possible cases are handled. (Dominique Pelle)
8196Solution: Add a default initialization.
8197Files: src/eval.c
8198
8199Patch 7.4.1293
8200Problem: Sometimes a channel may hang waiting for a message that was
8201 already discarded. (Ken Takata)
8202Solution: Store the ID of the message blocking on in the channel.
8203Files: src/channel.c
8204
8205Patch 7.4.1294
8206Problem: job_stop() only kills the started process.
8207Solution: Send the signal to the process group. (Olaf Dabrunz)
8208Files: src/os_unix.c
8209
8210Patch 7.4.1295
8211Problem: string(job) doesn't work well on MS-Windows.
8212Solution: Use the process ID. (Yasuhiro Matsumoto)
8213Files: src/eval.c
8214
8215Patch 7.4.1296
8216Problem: Cursor changes column with up motion when the matchparen plugin
8217 saves and restores the cursor position. (Martin Kunev)
8218Solution: Make sure curswant is updated before invoking the autocommand.
8219Files: src/edit.c
8220
8221Patch 7.4.1297
8222Problem: On Mac test_channel leaves python instances running.
8223Solution: Use a small waittime to make ch_open() work. (Ozaki Kiichi)
8224Files: src/testdir/test_channel.vim
8225
8226Patch 7.4.1298
8227Problem: When the channel test fails in an unexpected way the server keeps
8228 running.
8229Solution: Use try/catch. (Ozaki Kiichi)
8230Files: src/testdir/test_channel.vim
8231
8232Patch 7.4.1299
8233Problem: When the server sends a message with ID zero the channel handler
Bram Moolenaar09521312016-08-12 22:54:35 +02008234 is not invoked. (Christian J. Robinson)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008235Solution: Recognize zero value for the request ID. Add a test for invoking
8236 the channel handler.
8237Files: src/channel.c, src/testdir/test_channel.vim,
8238 src/testdir/test_channel.py
8239
8240Patch 7.4.1300
8241Problem: Cannot test CursorMovedI because there is typeahead.
8242Solution: Add disable_char_avail_for_testing().
8243Files: src/eval.c, src/getchar.c, src/globals.h,
8244 src/testdir/test_cursor_func.vim, src/testdir/README.txt
8245
8246Patch 7.4.1301
8247Problem: Missing options in ch_open().
8248Solution: Add s:chopt like in the other calls. (Ozaki Kiichi)
8249Files: src/testdir/test_channel.vim
8250
8251Patch 7.4.1302
8252Problem: Typo in struct field name. (Ken Takata)
8253Solution: Rename jf_pi to jv_pi.
8254Files: src/eval.c, src/os_win32.c, src/structs.h
8255
8256Patch 7.4.1303
8257Problem: A Funcref is not accepted as a callback.
8258Solution: Make a Funcref work. (Damien)
8259Files: src/eval.c, src/testdir/test_channel.vim
8260
8261Patch 7.4.1304
8262Problem: Function names are difficult to read.
8263Solution: Rename jsonencode to json_encode, jsondecode to json_decode,
8264 jsencode to js_encode and jsdecode to js_decode.
8265Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_json.vim
8266
8267Patch 7.4.1305
8268Problem: "\%1l^#.*" does not match on a line starting with "#".
8269Solution: Do not clear the start-of-line flag. (Christian Brabandt)
8270Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test36.in,
8271 src/testdir/test36.ok
8272
8273Patch 7.4.1306
8274Problem: Job control doesn't work well on MS-Windows.
Bram Moolenaardc1f1642016-08-16 18:33:43 +02008275Solution: Various fixes. (Ken Takata, Ozaki Kiichi, Yukihiro Nakadaira,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008276 Yasuhiro Matsumoto)
8277Files: src/Make_mvc.mak, src/eval.c, src/os_unix.c, src/os_win32.c,
8278 src/proto/os_unix.pro, src/proto/os_win32.pro, src/structs.h
8279
8280Patch 7.4.1307
8281Problem: Some channel tests fail on MS-Windows.
8282Solution: Disable the failing tests temporarily.
8283Files: src/testdir/test_channel.vim
8284
8285Patch 7.4.1308 (after 7.4.1307)
8286Problem: Typo in test.
8287Solution: Change endf to endif.
8288Files: src/testdir/test_channel.vim
8289
8290Patch 7.4.1309
8291Problem: When a test fails not all relevant info is listed.
8292Solution: Add the errors to the messages.
8293Files: src/testdir/runtest.vim
8294
8295Patch 7.4.1310
8296Problem: Jobs don't open a channel.
8297Solution: Create pipes and add them to the channel. Add ch_logfile().
8298 Only Unix for now.
8299Files: src/channel.c, src/eval.c, src/os_unix.c, src/structs.h,
8300 src/gui_w48.c, src/proto/channel.pro, src/testdir/test_channel.vim,
8301 src/testdir/test_channel_pipe.py, runtime/doc/eval.txt
8302
8303Patch 7.4.1311 (after 7.4.1310)
8304Problem: sock_T is defined too late.
8305Solution: Move it up.
8306Files: src/vim.h
8307
8308Patch 7.4.1312 (after 7.4.1311)
8309Problem: sock_T is not defined without the +channel feature.
8310Solution: Always define it.
8311Files: src/vim.h
8312
8313Patch 7.4.1313
8314Problem: MS-Windows: Using socket after it was closed causes an exception.
8315Solution: Don't give an error when handling WM_NETBEANS. Re-enable tests
8316 for MS-Windows.
8317Files: src/gui_w48.c, src/testdir/test_channel.vim
8318
8319Patch 7.4.1314
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008320Problem: Warning for uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008321Solution: Initialize it. (Dominique Pelle)
8322Files: src/channel.c
8323
8324Patch 7.4.1315
8325Problem: Using a channel handle does not allow for freeing it when unused.
8326Solution: Add the Channel variable type.
8327Files: src/structs.h, src/channel.c, src/misc2.c, src/eval.c,
8328 src/if_python.c, src/if_python3.c, src/json.c, src/gui_w48.c,
8329 src/netbeans.c, src/proto/channel.pro, src/os_unix.c,
8330 src/testdir/test_channel.py, src/testdir/test_channel.vim
8331
8332Patch 7.4.1316
8333Problem: Can't build MS-Windows console version. (Tux)
8334Solution: Add #ifdefs.
8335Files: src/eval.c
8336
8337Patch 7.4.1317
8338Problem: MS-Windows: channel test fails.
8339Solution: Temporarily disable Test_connect_waittime().
8340Files: src/testdir/test_channel.vim
8341
8342Patch 7.4.1318
8343Problem: Channel with pipes doesn't work in GUI.
8344Solution: Register input handlers for pipes.
8345Files: src/structs.h, src/feature.h, src/channel.c, src/eval.c,
8346 src/os_unix.c, src/os_win32.c, src/gui_w48.c, src/proto/channel.pro
8347
8348Patch 7.4.1319 (after 7.4.1318)
8349Problem: Tests fail on MS-Windows and on Unix with GUI.
8350Solution: Fix unregistering.
8351Files: src/structs.h, src/channel.c, src/os_unix.c, src/os_win32.c,
8352 src/proto/channel.pro
8353
8354Patch 7.4.1320
8355Problem: Building with Cygwin or MingW with channel but without Netbeans
8356 doesn't work.
8357Solution: Set NETBEANS to "no" when not used.
8358Files: src/Make_cyg_ming.mak
8359
8360Patch 7.4.1321
8361Problem: Compiler complains about missing statement.
8362Solution: Add an empty statement. (Andrei Olsen)
8363Files: src/os_win32.c
8364
8365Patch 7.4.1322
8366Problem: Crash when unletting the variable that holds the channel in a
8367 callback function. (Christian Robinson)
8368Solution: Increase the reference count while invoking the callback.
8369Files: src/eval.c, src/channel.c, src/proto/eval.pro,
8370 src/testdir/test_channel.vim
8371
8372Patch 7.4.1323
8373Problem: Do not get warnings when building with MingW.
8374Solution: Remove the -w flag. (Ken Takata)
8375Files: src/Make_cyg_ming.mak
8376
8377Patch 7.4.1324
8378Problem: Channels with pipes don't work on MS-Windows.
8379Solution: Add pipe I/O support. (Yasuhiro Matsumoto)
8380Files: src/channel.c, src/os_win32.c, src/proto/channel.pro,
8381 src/structs.h, src/vim.h, src/testdir/test_channel.vim
8382
8383Patch 7.4.1325
8384Problem: Channel test fails on difference between Unix and DOS line endings.
8385Solution: Strip off CR. Make assert show difference better.
8386Files: src/eval.c, src/channel.c
8387
8388Patch 7.4.1326
8389Problem: Build rules are bit too complicated.
8390Solution: Remove -lwsock32 from Netbeans, it's already added for the channel
8391 feature that it depends on. (Tony Mechelynck)
8392Files: src/Make_cyg_ming.mak
8393
8394Patch 7.4.1327
8395Problem: Channel test doesn't work if Python executable is python.exe.
8396Solution: Find py.exe or python.exe. (Ken Takata)
8397Files: src/testdir/test_channel.vim
8398
8399Patch 7.4.1328
8400Problem: Can't compile with +job but without +channel. (John Marriott)
8401Solution: Add more #ifdefs.
8402Files: src/os_unix.c
8403
8404Patch 7.4.1329
8405Problem: Crash when using channel that failed to open.
8406Solution: Check for NULL. Update messages. (Yukihiro Nakadaira)
8407Files: src/channel.c, src/eval.c, src/testdir/test_channel.vim
8408
8409Patch 7.4.1330
8410Problem: fd_read() has an unused argument.
8411Solution: Remove the timeout. (Yasuhiro Matsumoto)
8412Files: src/channel.c
8413
8414Patch 7.4.1331
8415Problem: Crash when closing the channel in a callback. (Christian J.
8416 Robinson)
8417Solution: Take the callback out of the list before invoking it.
8418Files: src/channel.c, src/testdir/test_channel.vim
8419
8420Patch 7.4.1332
8421Problem: Problem using Python3 when compiled with MingW.
8422Solution: Define PYTHON3_HOME as a wide character string. (Yasuhiro
8423 Matsumoto)
8424Files: src/Make_cyg_ming.mak
8425
8426Patch 7.4.1333
8427Problem: Channel test fails on non-darwin builds.
8428Solution: Add the "osx" feature and test for that. (Kazunobu Kuriyama)
8429Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_channel.vim
8430
8431Patch 7.4.1334
8432Problem: Many compiler warnings with MingW.
8433Solution: Add type casts. (Yasuhiro Matsumoto)
8434Files: src/channel.c, src/dosinst.h, src/eval.c, src/ex_cmds2.c,
8435 src/ex_getln.c, src/fileio.c, src/if_cscope.c, src/if_perl.xs,
8436 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/main.c,
8437 src/mbyte.c, src/misc1.c, src/option.c, src/os_mswin.c,
8438 src/os_win32.c
8439
8440Patch 7.4.1335
8441Problem: Can't build on MS-Windows with +job but without +channel. (Cesar
8442 Romani)
8443Solution: Add #ifdefs. (Yasuhiro Matsumoto)
8444Files: src/os_win32.c
8445
8446Patch 7.4.1336
8447Problem: Channel NL mode is not supported yet.
8448Solution: Add NL mode support to channels.
8449Files: src/channel.c, src/netbeans.c, src/structs.h, src/os_unix.d,
8450 src/os_win32.c, src/proto/channel.pro, src/proto/os_unix.pro,
8451 src/proto/os_win32.pro, src/testdir/test_channel.vim,
8452 src/testdir/test_channel_pipe.py
8453
8454Patch 7.4.1337 (after 7.4.1336)
8455Problem: Part of the change is missing.
8456Solution: Add changes to eval.c
8457Files: src/eval.c
8458
8459
8460Patch 7.4.1338 (after 7.4.1336)
8461Problem: Another part of the change is missing.
8462Solution: Type os_unix.c right this time.
8463Files: src/os_unix.c
8464
8465Patch 7.4.1339
8466Problem: Warnings when building the GUI with MingW. (Cesar Romani)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008467Solution: Add type casts. (Yasuhiro Matsumoto)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008468Files: src/edit.c, src/gui_w32.c, src/gui_w48.c, src/os_mswin.c,
8469 src/os_win32.c
8470
8471Patch 7.4.1340 (after 7.4.1339)
8472Problem: Merge left extra #endif behind.
8473Solution: Remove the #endif
8474Files: src/os_win32.c
8475
8476Patch 7.4.1341
8477Problem: It's difficult to add more arguments to ch_sendraw() and
8478 ch_sendexpr().
8479Solution: Make the third option a dictionary.
8480Files: src/eval.c, src/structs.h, src/channel.c, src/os_unix.c,
8481 src/os_win32.c, src/proto/channel.pro,
8482 src/testdir/test_channel.vim, runtime/doc/eval.txt
8483
8484Patch 7.4.1342
8485Problem: On Mac OS/X the waittime must be > 0 for connect to work.
8486Solution: Use select() in a different way. (partly by Kazunobu Kuriyama)
8487 Always use a waittime of 1 or more.
8488Files: src/eval.c, src/channel.c, src/testdir/test_channel.vim
8489
8490Patch 7.4.1343
8491Problem: Can't compile with +job but without +channel. (Andrei Olsen)
8492Solution: Move get_job_options up and adjust #ifdef.
8493Files: src/eval.c
8494
8495Patch 7.4.1344
8496Problem: Can't compile Win32 GUI with tiny features.
8497Solution: Add #ifdef. (Christian Brabandt)
8498Files: src/gui_w32.c
8499
8500Patch 7.4.1345
8501Problem: A few more compiler warnings. (Axel Bender)
8502Solution: Add type casts.
8503Files: src/gui_w32.c, src/gui_w48.c
8504
8505Patch 7.4.1346
8506Problem: Compiler warnings in build with -O2.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008507Solution: Add initializations.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008508Files: src/eval.c
8509
8510Patch 7.4.1347
8511Problem: When there is any error Vim will use a non-zero exit code.
8512Solution: When using ":silent!" do not set the exit code. (Yasuhiro
8513 Matsumoto)
8514Files: src/message.c
8515
8516Patch 7.4.1348
8517Problem: More compiler warnings. (John Marriott)
8518Solution: Add type casts, remove unused variable.
8519Files: src/gui_w32.c
8520
8521Patch 7.4.1349
8522Problem: And some more MingW compiler warnings. (Cesar Romani)
8523Solution: Add type casts.
8524Files: src/if_mzsch.c
8525
8526Patch 7.4.1350
8527Problem: When the test server fails to start Vim hangs.
8528Solution: Check that there is actually something to read from the tty fd.
8529Files: src/os_unix.c
8530
8531Patch 7.4.1351
8532Problem: When the port isn't opened yet when ch_open() is called it may
8533 fail instead of waiting for the specified time.
8534Solution: Loop when select() succeeds but when connect() failed. Also use
8535 channel logging for jobs. Add ch_log().
8536Files: src/channel.c, src/eval.c, src/netbeans.c, src/proto/channel.pro,
8537 src/testdir/test_channel.vim, src/testdir/test_channel.py
8538
8539Patch 7.4.1352
8540Problem: The test script lists all functions before executing them.
8541Solution: Only list the function currently being executed.
8542Files: src/testdir/runtest.vim
8543
8544Patch 7.4.1353
8545Problem: Test_connect_waittime is skipped for MS-Windows.
8546Solution: Add the test back, it works now.
8547Files: src/testdir/test_channel.vim
8548
8549Patch 7.4.1354
8550Problem: MS-Windows: Mismatch between default compile options and what the
8551 code expects.
8552Solution: Change the default WINVER from 0x0500 to 0x0501. (Ken Takata)
8553Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
8554
8555Patch 7.4.1355
8556Problem: Win32 console and GUI handle channels differently.
8557Solution: Consolidate code between Win32 console and GUI.
8558Files: src/channel.c, src/eval.c, src/gui_w48.c, src/os_win32.c,
8559 src/proto/channel.pro
8560
8561Patch 7.4.1356
8562Problem: Job and channel options parsing is scattered.
8563Solution: Move all option value parsing to get_job_options();
8564Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro,
8565 src/testdir/test_channel.vim
8566
8567Patch 7.4.1357 (after 7.4.1356)
8568Problem: Error for returning value from void function.
8569Solution: Don't do that.
8570Files: src/eval.c
8571
8572Patch 7.4.1358
8573Problem: Compiler warning when not building with +crypt.
8574Solution: Add #ifdef. (John Marriott)
8575Files: src/undo.c
8576
8577Patch 7.4.1359 (after 7.4.1356)
8578Problem: Channel test ch_sendexpr() times out.
8579Solution: Increase the timeout
8580Files: src/testdir/test_channel.vim
8581
8582Patch 7.4.1360
8583Problem: Can't remove a callback with ch_setoptions().
8584Solution: When passing zero or an empty string remove the callback.
8585Files: src/channel.c, src/proto/channel.pro, src/testdir/test_channel.vim
8586
8587Patch 7.4.1361
8588Problem: Channel test fails on Solaris.
8589Solution: Use the 1 msec waittime for all systems.
8590Files: src/channel.c
8591
8592Patch 7.4.1362 (after 7.4.1356)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008593Problem: Using uninitialized value.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008594Solution: Initialize jo_set.
8595Files: src/eval.c
8596
8597Patch 7.4.1363
8598Problem: Compiler warnings with tiny build.
8599Solution: Add #ifdefs.
8600Files: src/gui_w48.c, src/gui_w32.c
8601
8602Patch 7.4.1364
8603Problem: The Win 16 code is not maintained and unused.
8604Solution: Remove the Win 16 support.
8605Files: src/gui_w16.c, src/gui_w32.c, src/gui_w48.c, src/Make_w16.mak,
8606 src/Makefile, src/Make_cyg_ming.mak, src/Make_mvc.mak,
8607 src/proto/gui_w16.pro, src/proto/os_win16.pro, src/guiw16rc.h,
8608 src/vim16.rc, src/vim16.def, src/tools16.bmp, src/eval.c,
8609 src/gui.c, src/misc2.c, src/option.c, src/os_msdos.c,
8610 src/os_mswin.c, src/os_win16.c, src/os_win16.h, src/version.c,
8611 src/winclip.c, src/feature.h, src/proto.h, src/vim.h, Filelist
8612
8613Patch 7.4.1365
8614Problem: Cannot execute a single test function.
8615Solution: Add an argument to filter the functions with. (Yasuhiro Matsumoto)
8616Files: src/testdir/runtest.vim
8617
8618Patch 7.4.1366
8619Problem: Typo in test and resulting error in test result.
Bram Moolenaar09521312016-08-12 22:54:35 +02008620Solution: Fix the typo and correct the result. (James McCoy, closes #650)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008621Files: src/testdir/test_charsearch.in, src/testdir/test_charsearch.ok
8622
8623Patch 7.4.1367
8624Problem: Compiler warning for unreachable code.
8625Solution: Remove a "break". (Danek Duvall)
8626Files: src/json.c
8627
8628Patch 7.4.1368
8629Problem: One more Win16 file remains.
8630Solution: Delete it.
8631Files: src/proto/os_win16.pro
8632
8633Patch 7.4.1369
8634Problem: Channels don't have a queue for stderr.
8635Solution: Have a queue for each part of the channel.
8636Files: src/channel.c, src/eval.c, src/structs.h, src/netbeans.c,
8637 src/gui_w32.c, src/proto/channel.pro
8638
8639Patch 7.4.1370
8640Problem: The Python test script may keep on running.
8641Solution: Join the threads. (Yasuhiro Matsumoto)
8642Files: src/testdir/test_channel.py
8643
8644Patch 7.4.1371
8645Problem: X11 GUI callbacks don't specify the part of the channel.
8646Solution: Pass the fd instead of the channel ID.
8647Files: src/channel.c
8648
8649Patch 7.4.1372
8650Problem: channel read implementation is incomplete.
8651Solution: Add ch_read() and options for ch_readraw().
8652Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro,
8653 src/testdir/test_channel.vim
8654
8655Patch 7.4.1373
8656Problem: Calling a Vim function over a channel requires turning the
8657 arguments into a string.
8658Solution: Add the "call" command. (Damien) Also merge "expr" and "eval"
8659 into one.
8660Files: src/channel.c, src/testdir/test_channel.py,
8661 src/testdir/test_channel.vim
8662
8663Patch 7.4.1374
8664Problem: Channel test hangs on MS-Windows.
8665Solution: Disable the ch_read() that is supposed to time out.
8666Files: src/testdir/test_channel.vim
8667
8668Patch 7.4.1375
8669Problem: Still some Win16 code.
8670Solution: Remove FEAT_GUI_W16.(Hirohito Higashi)
8671Files: src/eval.c, src/ex_cmds.h, src/feature.h, src/gui.h, src/menu.c,
8672 src/misc1.c, src/option.c, src/proto.h, src/structs.h, src/term.c,
8673 src/vim.h, runtime/doc/gui_w16.txt
8674
8675Patch 7.4.1376
8676Problem: ch_setoptions() cannot set all options.
8677Solution: Support more options.
8678Files: src/channel.c, src/eval.c, src/structs.h, runtime/doc/channel.txt,
8679 src/testdir/test_channel.vim
8680
8681Patch 7.4.1377
8682Problem: Test_connect_waittime() is flaky.
8683Solution: Ignore the "Connection reset by peer" error.
8684Files: src/testdir/test_channel.vim
8685
8686Patch 7.4.1378
8687Problem: Can't change job settings after it started.
8688Solution: Add job_setoptions() with the "stoponexit" flag.
8689Files: src/eval.c, src/main.c, src/structs.h, src/proto/eval.pro,
8690 src/testdir/test_channel.vim
8691
8692Patch 7.4.1379
8693Problem: Channel test fails on Win32 console.
8694Solution: Don't sleep when timeout is zero. Call channel_wait() before
8695 channel_read(). Channels are not polled during ":sleep". (Yukihiro
8696 Nakadaira)
8697Files: src/channel.c, src/misc2.c, src/gui_w32.c, src/os_win32.c
8698
8699Patch 7.4.1380
8700Problem: The job exit callback is not implemented.
8701Solution: Add the "exit-cb" option.
8702Files: src/structs.h, src/eval.c, src/channel.c, src/proto/eval.pro,
8703 src/misc2.c, src/macros.h, src/testdir/test_channel.vim
8704
8705Patch 7.4.1381 (after 7.4.1380)
8706Problem: Exit value not available on MS-Windows.
8707Solution: Set the exit value.
8708Files: src/structs.h, src/os_win32.c
8709
8710Patch 7.4.1382
8711Problem: Can't get the job of a channel.
8712Solution: Add ch_getjob().
8713Files: src/eval.c, runtime/doc/channel.txt, runtime/doc/eval.txt
8714
8715Patch 7.4.1383
8716Problem: GvimExt only loads the old libintl.dll.
8717Solution: Also try loading libint-8.dll. (Ken Takata, closes #608)
8718Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
8719
8720Patch 7.4.1384
8721Problem: It is not easy to use a set of plugins and their dependencies.
8722Solution: Add packages, ":loadplugin", 'packpath'.
8723Files: src/main.c, src/ex_cmds2.c, src/option.c, src/option.h,
8724 src/ex_cmds.h, src/eval.c, src/version.c, src/proto/ex_cmds2.pro,
8725 runtime/doc/repeat.txt, runtime/doc/options.txt,
8726 runtime/optwin.vim
8727
8728Patch 7.4.1385
8729Problem: Compiler warning for using array.
8730Solution: Use the right member name. (Yegappan Lakshmanan)
8731Files: src/eval.c
8732
8733Patch 7.4.1386
8734Problem: When the Job exit callback is invoked, the job may be freed too
8735 soon. (Yasuhiro Matsumoto)
8736Solution: Increase refcount.
8737Files: src/eval.c
8738
8739Patch 7.4.1387
8740Problem: Win16 docs still referenced.
8741Solution: Remove Win16 files from the docs Makefile. (Kenichi Ito)
8742Files: runtime/doc/Makefile
8743
8744Patch 7.4.1388
8745Problem: Compiler warning. (Cesar Romani)
8746Solution: Initialize variable.
8747Files: src/ex_cmds2.c
8748
8749Patch 7.4.1389
8750Problem: Incomplete function declaration.
8751Solution: Add "void". (Yasuhiro Matsumoto)
8752Files: src/eval.c
8753
8754Patch 7.4.1390
8755Problem: When building with GTK and glib-compile-resources cannot be found
8756 building Vim fails. (Michael Gehring)
8757Solution: Make GLIB_COMPILE_RESOURCES empty instead of leaving it at "no".
8758 (nuko8, closes #655)
8759Files: src/configure.in, src/auto/configure
8760
8761Patch 7.4.1391
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008762Problem: Warning for uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008763Solution: Set it to zero. (Christian Brabandt)
8764Files: src/eval.c
8765
8766Patch 7.4.1392
8767Problem: Some tests fail for Win32 console version.
8768Solution: Move the tests to SCRIPTS_MORE2. Pass VIMRUNTIME. (Christian
8769 Brabandt)
8770Files: src/testdir/Make_all.mak
8771
8772Patch 7.4.1393
8773Problem: Starting a job hangs in the GUI. (Takuya Fujiwara)
8774Solution: Don't check if ch_job is NULL when checking for an error.
8775 (Yasuhiro Matsumoto)
8776Files: src/channel.c
8777
8778Patch 7.4.1394
8779Problem: Can't sort inside a sort function.
8780Solution: Use a struct to store the sort parameters. (Jacob Niehus)
8781Files: src/eval.c, src/testdir/test_sort.vim
8782
8783Patch 7.4.1395
8784Problem: Using DETACH in quotes is not compatible with the Netbeans
8785 interface. (Xavier de Gaye)
8786Solution: Remove the quotes, only use them for JSON and JS mode.
8787Files: src/netbeans.c, src/channel.c
8788
8789Patch 7.4.1396
8790Problem: Compiler warnings for conversions.
8791Solution: Add type cast.
8792Files: src/ex_cmds2.c
8793
8794Patch 7.4.1397
8795Problem: Sort test fails on MS-Windows.
8796Solution: Correct the compare function.
8797Files: src/testdir/test_sort.vim
8798
8799Patch 7.4.1398
8800Problem: The close-cb option is not implemented yet.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008801Solution: Implement close-cb. (Yasuhiro Matsumoto)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008802Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro,
8803 src/testdir/test_channel.py, src/testdir/test_channel.vim
8804
8805Patch 7.4.1399
8806Problem: The MS-DOS code does not build.
8807Solution: Remove the old MS-DOS code.
8808Files: Filelist, src/Make_bc3.mak, src/Make_bc5.mak, src/Make_djg.mak,
8809 src/Makefile, src/blowfish.c, src/buffer.c, src/diff.c,
8810 src/digraph.c, src/dosinst.h, src/eval.c, src/ex_cmds.c,
8811 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/feature.h,
8812 src/fileio.c, src/getchar.c, src/globals.h, src/macros.h,
8813 src/main.c, src/mbyte.c, src/memfile.c, src/memline.c,
8814 src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c,
8815 src/option.h, src/os_msdos.c, src/os_msdos.h, src/proto.h,
8816 src/proto/os_msdos.pro, src/regexp.c, src/screen.c, src/structs.h,
Bram Moolenaar7e1479b2016-09-11 15:07:27 +02008817 src/syntax.c, src/term.c, src/undo.c, src/uninstal.c,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008818 src/version.c, src/vim.h, src/window.c, src/xxd/Make_bc3.mak,
8819 src/xxd/Make_djg.mak
8820
8821
8822Patch 7.4.1400
8823Problem: Perl eval doesn't work properly on 64-bit big-endian machine.
8824Solution: Use 32 bit type for the key. (Danek Duvall)
8825Files: src/if_perl.xs
8826
8827Patch 7.4.1401
8828Problem: Having 'autochdir' set during startup and using diff mode doesn't
8829 work. (Axel Bender)
8830Solution: Don't use 'autochdir' while still starting up. (Christian
8831 Brabandt)
8832Files: src/buffer.c
8833
8834Patch 7.4.1402
8835Problem: GTK 3 is not supported.
8836Solution: Add GTK 3 support. (Kazunobu Kuriyama)
8837Files: runtime/doc/eval.txt, runtime/doc/gui.txt,
8838 runtime/doc/gui_x11.txt, src/auto/configure, src/channel.c,
8839 src/config.h.in, src/configure.in, src/eval.c, src/gui.h,
8840 src/gui_beval.c, src/gui_beval.h, src/gui_gtk.c, src/gui_gtk_f.c,
8841 src/gui_gtk_f.h, src/gui_gtk_x11.c, src/if_mzsch.c, src/mbyte.c,
8842 src/netbeans.c, src/structs.h, src/version.c
8843
8844Patch 7.4.1403
8845Problem: Can't build without the quickfix feature.
8846Solution: Add #ifdefs. Call ex_ni() for unimplemented commands. (Yegappan
8847 Lakshmanan)
8848Files: src/ex_cmds2.c, src/popupmnu.c
8849
8850Patch 7.4.1404
8851Problem: ch_read() doesn't time out on MS-Windows.
8852Solution: Instead of WM_NETBEANS use select(). (Yukihiro Nakadaira)
8853Files: src/channel.c, src/gui_w32.c, src/os_win32.c, src/structs.h,
8854 src/testdir/test_channel.vim, src/vim.h
8855
8856Patch 7.4.1405
8857Problem: Completion menu flickers.
Bram Moolenaard0796902016-09-16 20:02:31 +02008858Solution: Delay showing the popup menu. (Shougo Matsu, Justin M. Keyes,
8859 closes #656)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008860Files: src/edit.c
8861
8862Patch 7.4.1406
8863Problem: Leaking memory in cs_print_tags_priv().
8864Solution: Free tbuf. (idea by Forrest Fleming)
8865Files: src/if_cscope.c
8866
8867Patch 7.4.1407
8868Problem: json_encode() does not handle NaN and inf properly. (David
8869 Barnett)
8870Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity".
8871 Add isnan().
8872Files: src/eval.c, src/json.c, src/testdir/test_json.vim
8873
8874Patch 7.4.1408
8875Problem: MS-Windows doesn't have isnan() and isinf().
8876Solution: Use _isnan() and _isinf().
8877Files: src/eval.c, src/json.c
8878
8879Patch 7.4.1409 (after 7.4.1402)
8880Problem: Configure includes GUI despite --disable-gui flag.
8881Solution: Add SKIP_GTK3. (Kazunobu Kuriyama)
8882Files: src/configure.in, src/auto/configure
8883
8884Patch 7.4.1410
8885Problem: Leaking memory in cscope interface.
8886Solution: Free memory when no tab is found. (Christian Brabandt)
8887Files: src/if_cscope.c
8888
8889Patch 7.4.1411
8890Problem: Compiler warning for indent. (Ajit Thakkar)
8891Solution: Indent normally.
8892Files: src/ui.c
8893
8894Patch 7.4.1412
8895Problem: Compiler warning for indent. (Dominique Pelle)
8896Solution: Fix the indent.
8897Files: src/farsi.c
8898
8899Patch 7.4.1413
8900Problem: When calling ch_close() the close callback is invoked, even though
8901 the docs say it isn't. (Christian J. Robinson)
8902Solution: Don't call the close callback.
8903Files: src/eval.c, src/channel.c, src/netbeans.c, src/proto/channel.pro
8904
8905Patch 7.4.1414
8906Problem: Appveyor only builds one feature set.
8907Solution: Build a combination of features and GUI/console. (Christian
8908 Brabandt)
8909Files: appveyor.yml, src/appveyor.bat
8910
8911Patch 7.4.1415 (after 7.4.1414)
8912Problem: Dropped the skip-tags setting.
8913Solution: Put it back.
8914Files: appveyor.yml
8915
8916Patch 7.4.1416
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02008917Problem: Using "u_char" instead of "char_u", which doesn't work everywhere.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02008918 (Jörg Plate)
8919Solution: Use "char_u" always.
8920Files: src/integration.c, src/macros.h
8921
8922Patch 7.4.1417 (after 7.4.1414)
8923Problem: Missing appveyor.bat from the distribution.
8924Solution: Add it to the list of files.
8925Files: Filelist
8926
8927Patch 7.4.1418
8928Problem: job_stop() on MS-Windows does not really stop the job.
8929Solution: Make the default to stop the job forcefully. (Ken Takata)
8930 Make MS-Windows and Unix more similar.
8931Files: src/os_win32.c, src/os_unix.c, runtime/doc/eval.txt
8932
8933Patch 7.4.1419
8934Problem: Tests slowed down because of the "not a terminal" warning.
8935Solution: Add the --not-a-term command line argument.
8936Files: src/main.c, src/testdir/Makefile, src/Make_all.mak,
8937 src/Make_amiga.mak, src/testdir/Make_dos.mak,
8938 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8939 runtime/doc/starting.txt
8940
8941Patch 7.4.1420 (after 7.4.1419)
8942Problem: Missing makefile.
8943Solution: Type the path correctly.
8944Files: src/testdir/Make_all.mak
8945
8946Patch 7.4.1421
8947Problem: May free a channel when a callback may need to be invoked.
8948Solution: Keep the channel when refcount is zero.
8949Files: src/eval.c, src/channel.c, src/proto/channel.pro
8950
8951Patch 7.4.1422
8952Problem: Error when reading fails uses wrong errno. Keeping channel open
8953 after job stops results in test failing.
8954Solution: Move the error up. Add ch_job_killed.
8955Files: src/channel.c, src/eval.c, src/structs.h
8956
8957Patch 7.4.1423
8958Problem: Channel test fails on MS-Windows.
8959Solution: Do not give an error message when reading fails, assume the other
8960 end exited.
8961Files: src/channel.c
8962
8963Patch 7.4.1424
8964Problem: Not using --not-a-term when running tests on MS-Windows.
8965Solution: Use NO_PLUGIN. (Christian Brabandt)
8966Files: src/testdir/Make_dos.mak
8967
8968Patch 7.4.1425
8969Problem: There are still references to MS-DOS support.
8970Solution: Remove most of the help txt and install instructions. (Ken Takata)
8971Files: src/INSTALLpc.txt, runtime/doc/os_msdos.txt, csdpmi4b.zip,
8972 Filelist
8973
8974Patch 7.4.1426
8975Problem: The "out-io" option for jobs is not implemented yet.
8976Solution: Implement the "buffer" value: append job output to a buffer.
8977Files: src/eval.c, src/channel.c, src/structs.h, src/netbeans.c,
8978 runtime/doc/channel.txt
8979
8980Patch 7.4.1427
8981Problem: Trailing comma in enums is not ANSI C.
8982Solution: Remove the trailing commas.
8983Files: src/alloc.h, src/gui_mac.c
8984
8985Patch 7.4.1428
8986Problem: Compiler warning for non-virtual destructor.
8987Solution: Make it virtual. (Yasuhiro Matsumoto)
8988Files: src/gui_dwrite.cpp
8989
8990Patch 7.4.1429
8991Problem: On MS-Windows, when not use renderoptions=type:directx, drawing
8992 emoji will be broken.
8993Solution: Fix usage of unicodepdy. (Yasuhiro Matsumoto)
8994Files: src/gui_w32.c
8995
8996Patch 7.4.1430
8997Problem: When encoding JSON, turning NaN and Infinity into null without
8998 giving an error is not useful.
8999Solution: Pass NaN and Infinity on. If the receiver can't handle them it
9000 will generate the error.
9001Files: src/json.c, src/testdir/test_json.vim, runtime/doc/eval.txt
9002
9003Patch 7.4.1431
9004Problem: Including header files twice.
9005Solution: Remove the extra includes.
9006Files: src/if_cscope.h
9007
9008Patch 7.4.1432
9009Problem: Typo in button text.
9010Solution: Fix the typo. (Dominique Pelle)
9011Files: src/gui_gtk.c
9012
9013Patch 7.4.1433
9014Problem: The Sniff interface is no longer useful, the tool has not been
9015 available for may years.
9016Solution: Delete the Sniff interface and related code.
9017Files: src/if_sniff.c, src/if_sniff.h, src/charset.c, src/edit.c,
9018 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
9019 src/gui_gtk_x11.c, src/gui_w32.c, src/gui_x11.c, src/normal.c,
9020 src/os_unix.c, src/os_win32.c, src/term.c, src/ui.c,
9021 src/version.c, src/ex_cmds.h, src/feature.h, src/keymap.h,
9022 src/structs.h, src/vim.h, src/Make_mvc.mak, src/Make_vms.mms,
9023 src/Makefile, src/configure.in, src/auto/configure,
9024 src/config.h.in, src/config.mk.in, runtime/doc/if_sniff.txt,
9025 src/config.aap.in, src/main.aap
9026
9027Patch 7.4.1434
9028Problem: JSON encoding doesn't handle surrogate pair.
9029Solution: Improve multi-byte handling of JSON. (Yasuhiro Matsumoto)
9030Files: src/json.c, src/testdir/test_json.vim
9031
9032Patch 7.4.1435
9033Problem: It is confusing that ch_sendexpr() and ch_sendraw() wait for a
9034 response.
9035Solution: Add ch_evalexpr() and ch_evalraw().
9036Files: src/eval.c, runtime/doc/channel.txt, runtime/doc/eval.txt,
9037 src/testdir/test_channel.vim
9038
9039Patch 7.4.1436 (after 7.4.1433)
9040Problem: Sniff files still referenced in distribution.
9041Solution: Remove sniff files from distribution.
9042Files: Filelist
9043
9044Patch 7.4.1437
9045Problem: Old system doesn't have isinf() and NAN. (Ben Fritz)
9046Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with
9047 configure. Use a replacement when missing. (Kazunobu Kuriyama)
9048Files: src/eval.c, src/json.c, src/macros.h, src/message.c,
9049 src/config.h.in, src/configure.in, src/auto/configure
9050
9051Patch 7.4.1438
9052Problem: Can't get buffer number of a channel.
9053Solution: Add ch_getbufnr().
9054Files: src/eval.c, src/channel.c, src/testdir/test_channel.vim,
9055 runtime/doc/channel.txt, runtime/doc/eval.txt
9056
9057Patch 7.4.1439 (after 7.4.1434)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009058Problem: Using uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009059Solution: Initialize vc_type.
9060Files: src/json.c
9061
9062Patch 7.4.1440 (after 7.4.1437)
9063Problem: Can't build on Windows.
9064Solution: Change #ifdefs. Only define isnan when used.
9065Files: src/macros.h, src/eval.c, src/json.c
9066
9067Patch 7.4.1441
9068Problem: Using empty name instead of no name for channel buffer.
9069Solution: Remove the empty name.
9070Files: src/channel.c
9071
9072Patch 7.4.1442
9073Problem: MS-Windows: more compilation warnings for destructor.
9074Solution: Add "virtual". (Ken Takata)
9075Files: src/if_ole.cpp
9076
9077Patch 7.4.1443
9078Problem: Can't build GTK3 with small features.
9079Solution: Use gtk_widget_get_window(). Fix typos. (Dominique Pelle)
9080Files: src/gui_gtk_x11.c
9081
9082Patch 7.4.1444
9083Problem: Can't build with JSON but without multi-byte.
9084Solution: Fix pointer name.
9085Files: src/json.c
9086
9087Patch 7.4.1445
9088Problem: Memory corruption when 'encoding' is not utf-8.
9089Solution: Convert decoded string later.
9090Files: src/json.c
9091
9092Patch 7.4.1446
9093Problem: Crash when using json_decode().
9094Solution: Terminate string with a NUL byte.
9095Files: src/json.c
9096
9097Patch 7.4.1447
9098Problem: Memory leak when using ch_read(). (Dominique Pelle)
9099 No log message when stopping a job and a few other situations.
9100 Too many "Nothing to read" messages. Channels are not freed.
9101Solution: Free the listtv. Add more log messages. Remove "Nothing to read"
9102 message. Remove the channel from the job when its refcount
9103 becomes zero.
9104Files: src/eval.c, src/channel.c
9105
9106Patch 7.4.1448
9107Problem: JSON tests fail if 'encoding' is not utf-8.
9108Solution: Force encoding to utf-8.
9109Files: src/testdir/test_json.vim
9110
9111Patch 7.4.1449
9112Problem: Build fails with job feature but without channel feature.
9113Solution: Add #ifdef.
9114Files: src/eval.c
9115
9116Patch 7.4.1450
9117Problem: Json encoding still fails when encoding is not utf-8.
9118Solution: Set 'encoding' before :scriptencoding. Run the json test
9119 separately to avoid affecting other tests.
9120Files: src/testdir/test_json.vim, src/testdir/Make_all.mak,
9121 src/testdir/test_alot.vim
9122
9123Patch 7.4.1451
9124Problem: Vim hangs when a channel has a callback but isn't referenced.
9125Solution: Have channel_unref() only return TRUE when the channel was
9126 actually freed.
9127Files: src/eval.c, src/channel.c, src/proto/channel.pro
9128
9129Patch 7.4.1452
9130Problem: When a callback adds a syntax item either the redraw doesn't
9131 happen right away or in the GUI the cursor is in the wrong
9132 position for a moment. (Jakson Alves de Aquino)
9133Solution: Redraw after the callback was invoked.
9134Files: src/channel.c
9135
9136Patch 7.4.1453
9137Problem: Missing --not-a-term.
9138Solution: Add the argument.
9139Files: src/testdir/Make_amiga.mak
9140
9141Patch 7.4.1454
9142Problem: The exit callback test is flaky.
9143Solution: Loop to wait for a short time up to a second.
9144Files: src/testdir/test_channel.vim
9145
9146Patch 7.4.1455
9147Problem: JSON decoding test for surrogate pairs is in the wrong place.
9148Solution: Move the test lines. (Ken Takata)
9149Files: src/testdir/test_json.vim
9150
9151Patch 7.4.1456
9152Problem: Test 87 fails with Python 3.5.
9153Solution: Work around difference. (Taro Muraoka)
9154Files: src/testdir/test87.in
9155
9156Patch 7.4.1457
9157Problem: Opening a channel with select() is not done properly.
9158Solution: Also used read-fds. Use getsockopt() to check for errors. (Ozaki
9159 Kiichi)
9160Files: src/channel.c
9161
9162Patch 7.4.1458
9163Problem: When a JSON channel has a callback it may never be cleared.
9164Solution: Do not write "DETACH" into a JS or JSON channel.
9165Files: src/channel.c
9166
9167Patch 7.4.1459 (after 7.4.1457)
9168Problem: MS-Windows doesn't know socklen_t.
9169Solution: Use previous method for WIN32.
9170Files: src/channel.c
9171
9172Patch 7.4.1460
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009173Problem: Syntax error in rarely used code.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009174Solution: Fix the mch_rename() declaration. (Ken Takata)
9175Files: src/os_unix.c, src/proto/os_unix.pro
9176
9177Patch 7.4.1461
9178Problem: When starting job on MS-Windows all parts of the command are put
9179 in quotes.
9180Solution: Only use quotes when needed. (Yasuhiro Matsumoto)
9181Files: src/eval.c
9182
9183Patch 7.4.1462
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009184Problem: Two more rarely used functions with errors.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009185Solution: Add proper argument types. (Dominique Pelle)
9186Files: src/misc2.c, src/termlib.c
9187
9188Patch 7.4.1463
9189Problem: Configure doesn't find isinf() and isnan() on some systems.
9190Solution: Use a configure check that includes math.h.
9191Files: src/configure.in, src/auto/configure
9192
9193Patch 7.4.1464
9194Problem: When the argument of sort() is zero or empty it fails.
9195Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto)
9196Files: src/eval.c, src/testdir/test_sort.vim
9197
9198Patch 7.4.1465
9199Problem: Coverity reported possible use of NULL pointer when using buffer
9200 output with JSON mode.
9201Solution: Make it actually possible to use JSON mode with a buffer.
9202 Re-encode the JSON to append it to the buffer.
9203Files: src/channel.c, src/testdir/test_channel.vim
9204
9205Patch 7.4.1466
9206Problem: Coverity reports dead code.
9207Solution: Remove the two lines.
9208Files: src/channel.c
9209
9210Patch 7.4.1467
9211Problem: Can't build without the float feature.
9212Solution: Add #ifdefs. (Nick Owens, closes #667)
9213Files: src/eval.c, src/json.c
9214
9215Patch 7.4.1468
9216Problem: Sort test doesn't test with "1" argument.
9217Solution: Also test ignore-case sorting. (Yasuhiro Matsumoto)
9218Files: src/testdir/test_sort.vim
9219
9220Patch 7.4.1469
9221Problem: Channel test sometimes fails, especially on OS/X. (Kazunobu
9222 Kuriyama)
9223Solution: Change the && into ||, call getsockopt() in more situations.
9224 (Ozaki Kiichi)
9225Files: src/channel.c
9226
9227Patch 7.4.1470
9228Problem: Coverity reports missing restore.
9229Solution: Move json_encode() call up.
9230Files: src/channel.c
9231
9232Patch 7.4.1471
9233Problem: Missing out-of-memory check. And Coverity warning.
9234Solution: Bail out when msg is NULL.
9235Files: src/channel.c
9236
9237Patch 7.4.1472
9238Problem: Coverity warning for not using return value.
9239Solution: Add "(void)".
9240Files: src/os_unix.c
9241
9242Patch 7.4.1473
9243Problem: Can't build without the autocommand feature.
9244Solution: Add #ifdefs. (Yegappan Lakshmanan)
9245Files: src/edit.c, src/main.c, src/syntax.c
9246
9247Patch 7.4.1474
9248Problem: Compiler warnings without the float feature.
9249Solution: Move #ifdefs. (John Marriott)
9250Files: src/eval.c
9251
9252Patch 7.4.1475
9253Problem: When using hangulinput with utf-8 a CSI character is
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009254 misinterpreted.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009255Solution: Convert CSI to K_CSI. (SungHyun Nam)
9256Files: src/ui.c
9257
9258Patch 7.4.1476
9259Problem: Function arguments marked as unused while they are not.
9260Solution: Remove UNUSED. (Yegappan Lakshmanan)
9261Files: src/diff.c, src/eval.c, src/ex_cmds2.c, src/ex_docmd.c,
9262 src/window.c
9263
9264Patch 7.4.1477
9265Problem: Test_reltime is flaky, it depends on timing.
9266Solution: When it fails run it a second time.
9267Files: src/testdir/runtest.vim
9268
9269Patch 7.4.1478
9270Problem: ":loadplugin" doesn't take care of ftdetect files.
9271Solution: Also load ftdetect scripts when appropriate.
9272Files: src/ex_cmds2.c
9273
9274Patch 7.4.1479
9275Problem: No testfor ":loadplugin".
9276Solution: Add a test. Fix how option is being set.
9277Files: src/ex_cmds2.c, src/testdir/test_loadplugin.vim,
9278 src/testdir/Make_all.mak
9279
9280Patch 7.4.1480
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009281Problem: Cannot add a pack directory without loading a plugin.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009282Solution: Add the :packadd command.
9283Files: src/ex_cmds.h, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
9284 src/testdir/test_loadplugin.vim, runtime/doc/repeat.txt
9285
9286Patch 7.4.1481
9287Problem: Can't build with small features.
9288Solution: Add #ifdef.
9289Files: src/ex_cmds2.c
9290
9291Patch 7.4.1482
9292Problem: "timeout" option not supported on ch_eval*().
9293Solution: Get and use the timeout option from the argument.
9294Files: src/eval.c, src/testdir/test_channel.vim
9295
9296Patch 7.4.1483
9297Problem: A one-time callback is not used for a raw channel.
9298Solution: Use a one-time callback when it exists.
9299Files: src/channel.c, src/testdir/test_channel.vim,
9300 src/testdir/test_channel.py
9301
9302Patch 7.4.1484
9303Problem: Channel "err-io" value "out" is not supported.
9304Solution: Connect stderr to stdout if wanted.
9305Files: src/os_unix.c, src/os_win32.c, src/testdir/test_channel.vim,
9306 src/testdir/test_channel_pipe.py
9307
9308Patch 7.4.1485
9309Problem: Job input from buffer is not implemented.
9310Solution: Implement it. Add "in-top" and "in-bot" options.
9311Files: src/structs.h, src/eval.c, src/channel.c, src/proto/channel.pro,
9312 src/os_unix.c, src/os_win32.c, src/testdir/test_channel.vim
9313
9314Patch 7.4.1486
9315Problem: ":loadplugin" is not optimal, some people find it confusing.
9316Solution: Only use ":packadd" with an optional "!".
9317Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_loadplugin.vim,
9318 src/testdir/test_packadd.vim, src/testdir/Make_all.mak,
Bram Moolenaar64d8e252016-09-06 22:12:34 +02009319 runtime/doc/repeat.txt
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009320
9321Patch 7.4.1487
9322Problem: For WIN32 isinf() is defined as a macro.
9323Solution: Define it as an inline function. (ZyX)
9324Files: src/macros.h
9325
9326Patch 7.4.1488 (after 7.4.1475)
9327Problem: Not using key when result from hangul_string_convert() is NULL.
9328Solution: Fall back to not converted string.
9329Files: src/ui.c
9330
9331Patch 7.4.1489 (after 7.4.1487)
9332Problem: "inline" is not supported by old MSVC.
9333Solution: use "__inline". (Ken Takata)
9334Files: src/macros.h
9335
9336Patch 7.4.1490
9337Problem: Compiler warning for unused function.
9338Solution: Add #ifdef. (Dominique Pelle)
9339Files: src/gui_gtk_x11.c
9340
9341Patch 7.4.1491
9342Problem: Visual-block shift breaks multi-byte characters.
9343Solution: Compute column differently. (Yasuhiro Matsumoto) Add a test.
9344Files: src/ops.c, src/testdir/test_visual.vim, src/testdir/Make_all.mak
9345
9346Patch 7.4.1492
9347Problem: No command line completion for ":packadd".
9348Solution: Implement completion. (Hirohito Higashi)
9349Files: src/ex_docmd.c, src/ex_getln.c, src/testdir/test_packadd.vim,
9350 src/vim.h
9351
9352Patch 7.4.1493
9353Problem: Wrong callback invoked for zero-id messages.
9354Solution: Don't use the first one-time callback when the sequence number
9355 doesn't match.
9356Files: src/channel.c, src/testdir/test_channel.vim,
9357 src/testdir/test_channel.py
9358
9359Patch 7.4.1494
9360Problem: clr_history() does not work properly.
9361Solution: Increment hisptr. Add a test. (Yegappan Lakshmanan)
9362Files: src/ex_getln.c, src/testdir/test_history.vim,
9363 src/testdir/Make_all.mak
9364
9365Patch 7.4.1495
9366Problem: Compiler warnings when building on Unix with the job feature but
9367 without the channel feature.
9368Solution: Move #ifdefs. (Dominique Pelle)
Bram Moolenaar09521312016-08-12 22:54:35 +02009369Files: src/os_unix.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009370
9371Patch 7.4.1496
9372Problem: Crash when built with GUI but it's not active. (Dominique Pelle)
9373Solution: Check gui.in_use.
9374Files: src/channel.c
9375
9376Patch 7.4.1497
9377Problem: Cursor drawing problem with GTK 3.
9378Solution: Handle blinking differently. (Kazunobu Kuriyama)
9379Files: src/gui_gtk_x11.c
9380
9381Patch 7.4.1498
Bram Moolenaard0796902016-09-16 20:02:31 +02009382Problem: Error for locked item when using json_decode(). (Shougo Matsu)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009383Solution: Initialize v_lock.
9384Files: src/json.c
9385
9386Patch 7.4.1499
9387Problem: No error message when :packadd does not find anything.
9388Solution: Add an error message. (Hirohito Higashi)
9389Files: runtime/doc/repeat.txt, src/ex_cmds.h, src/ex_cmds2.c,
9390 src/globals.h, src/testdir/test_packadd.vim
9391
9392Patch 7.4.1500
9393Problem: Should_free flag set to FALSE.
9394Solution: Set it to TRUE. (Neovim 4415)
9395Files: src/ex_eval.c
9396
9397Patch 7.4.1501
9398Problem: Garbage collection with an open channel is not tested.
9399Solution: Call garbagecollect() in the test.
9400Files: src/testdir/test_channel.vim
9401
9402Patch 7.4.1502
9403Problem: Writing last-but-one line of buffer to a channel isn't implemented
9404 yet.
9405Solution: Implement it. Fix leaving a swap file behind.
9406Files: src/channel.c, src/structs.h, src/memline.c, src/proto/channel.pro
9407
9408Patch 7.4.1503
9409Problem: Crash when using ch_getjob(). (Damien)
9410Solution: Check for a NULL job.
9411Files: src/eval.c, src/testdir/test_channel.vim
9412
9413Patch 7.4.1504 (after 7.4.1502)
9414Problem: No test for reading last-but-one line.
9415Solution: Add a test.
9416Files: src/testdir/test_channel.vim
9417
9418Patch 7.4.1505
9419Problem: When channel log is enabled get too many "looking for messages"
9420 log entries.
9421Solution: Only give the message after another message.
9422Files: src/channel.c
9423
9424Patch 7.4.1506
9425Problem: Job cannot read from a file.
9426Solution: Implement reading from a file for Unix.
9427Files: src/eval.c, src/os_unix.c, src/os_win32.c,
9428 src/testdir/test_channel.vim
9429
9430Patch 7.4.1507
9431Problem: Crash when starting a job fails.
9432Solution: Check for the channel to be NULL. (idea by Yasuhiro Matsumoto)
9433Files: src/eval.c
9434
9435Patch 7.4.1508
9436Problem: Can't build GvimExt with MingW.
9437Solution: Adjust the makefile. (Ben Fritz)
9438Files: src/GvimExt/Make_ming.mak
9439
9440Patch 7.4.1509
9441Problem: Keeping both a variable for a job and the channel it refers to is
9442 a hassle.
9443Solution: Allow passing the job where a channel is expected. (Damien)
9444Files: src/eval.c, src/testdir/test_channel.vim
9445
9446Patch 7.4.1510
9447Problem: Channel test fails on AppVeyor.
9448Solution: Wait longer than 10 msec if needed.
9449Files: src/testdir/test_channel.vim
9450
9451Patch 7.4.1511
9452Problem: Statusline highlighting is sometimes wrong.
9453Solution: Check for Highlight type. (Christian Brabandt)
9454Files: src/buffer.c
9455
9456Patch 7.4.1512
9457Problem: Channel input from file not supported on MS-Windows.
9458Solution: Implement it. (Yasuhiro Matsumoto)
9459Files: src/os_win32.c, src/testdir/test_channel.vim
9460
9461Patch 7.4.1513
9462Problem: "J" fails if there are not enough lines. (Christian Neukirchen)
9463Solution: Reduce the count, only fail on the last line.
9464Files: src/normal.c, src/testdir/test_join.vim, src/testdir/test_alot.vim
9465
9466Patch 7.4.1514
9467Problem: Channel output to file not implemented yet.
9468Solution: Implement it for Unix.
9469Files: src/os_unix.c, src/testdir/test_channel.vim,
9470 src/testdir/test_channel_pipe.py
9471
9472Patch 7.4.1515
9473Problem: Channel test is a bit flaky.
9474Solution: Instead of a fixed sleep time wait until an expression evaluates
9475 to true.
9476Files: src/testdir/test_channel.vim
9477
9478Patch 7.4.1516
9479Problem: Cannot change file permissions.
9480Solution: Add setfperm().
9481Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim,
9482 src/testdir/test_file_perm.vim
9483
9484Patch 7.4.1517
9485Problem: Compiler warning with 64bit compiler.
9486Solution: Add typecast. (Mike Williams)
9487Files: src/channel.c
9488
9489Patch 7.4.1518
9490Problem: Channel with disconnected in/out/err is not supported.
9491Solution: Implement it for Unix.
9492Files: src/eval.c, src/os_unix.c, src/structs.h,
9493 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py
9494
9495Patch 7.4.1519 (after 7.4.1514)
9496Problem: Channel output to file not implemented for MS-Windows.
9497Solution: Implement it. (Yasuhiro Matsumoto)
9498Files: src/os_win32.c, src/testdir/test_channel.vim
9499
9500Patch 7.4.1520
9501Problem: Channel test: Waiting for a file to appear doesn't work.
9502Solution: In waitFor() ignore errors.
9503Files: src/testdir/test_channel.vim
9504
9505Patch 7.4.1521 (after 7.4.1516)
9506Problem: File permission test fails on MS-Windows.
9507Solution: Expect a different permission.
9508Files: src/testdir/test_file_perm.vim
9509
9510Patch 7.4.1522
9511Problem: Cannot write channel err to a buffer.
9512Solution: Implement it.
9513Files: src/channel.c, src/testdir/test_channel.vim
9514
9515Patch 7.4.1523
9516Problem: Writing channel to a file fails on MS-Windows.
9517Solution: Disable it for now.
9518Files: src/testdir/test_channel.vim
9519
9520Patch 7.4.1524
9521Problem: Channel test fails on BSD.
9522Solution: Break out of the loop when connect() succeeds. (Ozaki Kiichi)
9523Files: src/channel.c
9524
9525Patch 7.4.1525
9526Problem: On a high resolution screen the toolbar icons are too small.
9527Solution: Add "huge" and "giant" to 'toolbariconsize'. (Brian Gix)
9528Files: src/gui_gtk_x11.c, src/option.h
9529
9530Patch 7.4.1526
9531Problem: Writing to file and not connecting a channel doesn't work for
9532 MS-Windows.
9533Solution: Make it work. (Yasuhiro Matsumoto)
9534Files: src/os_win32.c, src/testdir/test_channel.vim
9535
9536Patch 7.4.1527
9537Problem: Channel test is flaky on MS-Windows.
9538Solution: Limit the select() timeout to 50 msec and try with a new socket if
9539 it fails.
9540Files: src/channel.c
9541
9542Patch 7.4.1528
9543Problem: Using "ever" for packages is confusing.
9544Solution: Use "start", as it's related to startup.
9545Files: src/ex_cmds2.c, runtime/doc/repeat.txt
9546
9547Patch 7.4.1529
9548Problem: Specifying buffer number for channel not implemented yet.
9549Solution: Implement passing a buffer number.
9550Files: src/structs.h, src/channel.c, src/eval.c,
9551 src/testdir/test_channel.vim
9552
9553Patch 7.4.1530
9554Problem: MS-Windows job_start() closes wrong handle.
9555Solution: Close hThread on the process info. (Ken Takata)
9556Files: src/os_win32.c
9557
9558Patch 7.4.1531
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009559Problem: Compiler warning for uninitialized variable. (Dominique Pelle)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009560Solution: Always give the variable a value.
9561Files: src/channel.c
9562
9563Patch 7.4.1532
9564Problem: MS-Windows channel leaks file descriptor.
9565Solution: Use CreateFile with the right options. (Yasuhiro Matsumoto)
9566Files: src/os_win32.c
9567
9568Patch 7.4.1533
9569Problem: Using feedkeys() with an empty string disregards 'x' option.
9570Solution: Make 'x' work with an empty string. (Thinca)
9571Files: src/eval.c, src/testdir/test_alot.vim,
9572 src/testdir/test_feedkeys.vim
9573
9574Patch 7.4.1534
9575Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama)
9576Solution: Rename it.
9577Files: src/eval.c
9578
9579Patch 7.4.1535
9580Problem: The feedkeys test has a one second delay.
9581Solution: Avoid need_wait_return() to delay. (Hirohito Higashi)
9582Files: src/eval.c
9583
9584Patch 7.4.1536
9585Problem: Cannot re-use a channel for another job.
9586Solution: Add the "channel" option to job_start().
9587Files: src/channel.c, src/eval.c, src/structs.h, src/os_unix.c,
9588 src/os_win32.c, src/proto/channel.pro,
9589 src/testdir/test_channel.vim
9590
9591Patch 7.4.1537
9592Problem: Too many feature flags for pipes, jobs and channels.
9593Solution: Only use FEAT_JOB_CHANNEL.
9594Files: src/structs.h, src/feature.h, src/configure.in,
9595 src/auto/configure, src/config.h.in, src/channel.c, src/eval.c,
9596 src/gui.c, src/main.c, src/memline.c, src/misc2.c, src/os_mswin.c,
9597 src/os_unix.c, src/os_win32.c, src/ui.c, src/version.c,
9598 src/macros.h, src/proto.h, src/vim.h, src/Make_cyg_ming.mak,
9599 src/Make_bc5.mak, src/Make_mvc.mak
9600
9601Patch 7.4.1538
9602Problem: Selection with the mouse does not work in command line mode.
9603Solution: Use cairo functions. (Kazunobu Kuriyama)
9604Files: src/gui_gtk_x11.c
9605
9606Patch 7.4.1539
9607Problem: Too much code in eval.c.
9608Solution: Move job and channel code to channel.c.
9609Files: src/eval.c, src/channel.c, src/proto/channel.pro,
9610 src/proto/eval.pro
9611
9612Patch 7.4.1540
9613Problem: Channel test is a bit flaky.
9614Solution: Increase expected wait time.
9615Files: src/testdir/test_channel.vim
9616
9617Patch 7.4.1541
9618Problem: Missing job_info().
9619Solution: Implement it.
9620Files: src/eval.c, src/channel.c, src/proto/channel.pro,
9621 src/testdir/test_channel.vim, runtime/doc/eval.txt
9622
9623Patch 7.4.1542
9624Problem: job_start() with a list is not tested.
9625Solution: Call job_start() with a list.
9626Files: src/testdir/test_channel.vim
9627
9628Patch 7.4.1543
9629Problem: Channel log methods are not tested.
9630Solution: Log job activity and check it.
9631Files: src/testdir/test_channel.vim
9632
9633Patch 7.4.1544
9634Problem: On Win32 escaping the command does not work properly.
9635Solution: Reset 'ssl' when escaping the command. (Yasuhiro Matsumoto)
9636Files: src/channel.c
9637
9638Patch 7.4.1545
9639Problem: GTK3: horizontal cursor movement in Visual selection not good.
9640Solution: Make it work better. (Kazunobu Kuriyama)
9641Files: src/gui_gtk_x11.c
9642
9643Patch 7.4.1546
9644Problem: Sticky type checking is more annoying than useful.
9645Solution: Remove the error for changing a variable type.
9646Files: src/eval.c, src/testdir/test_assign.vim,
9647 src/testdir/test_alot.vim, runtime/doc/eval.txt
9648
9649Patch 7.4.1547
9650Problem: Getting a cterm highlight attribute that is not set results in the
9651 string "-1".
9652Solution: Return an empty string. (Taro Muraoka)
9653Files: src/syntax.c, src/testdir/test_alot.vim,
9654 src/testdir/test_syn_attr.vim
9655
9656Patch 7.4.1548 (after 7.4.1546)
9657Problem: Two tests fail.
9658Solution: Adjust the expected error number. Remove check for type.
9659Files: src/testdir/test101.ok, src/testdir/test55.in,
9660 src/testdir/test55.ok
9661
9662Patch 7.4.1549 (after 7.4.1547)
9663Problem: Test for syntax attributes fails in Win32 GUI.
9664Solution: Use an existing font name.
9665Files: src/testdir/test_syn_attr.vim
9666
9667Patch 7.4.1550
9668Problem: Cannot load packages early.
9669Solution: Add the ":packloadall" command.
9670Files: src/ex_cmds.h, src/ex_cmds2.c, src/main.c,
9671 src/proto/ex_cmds2.pro, src/testdir/test_packadd.vim
9672
9673Patch 7.4.1551
9674Problem: Cannot generate help tags in all doc directories.
9675Solution: Make ":helptags ALL" work.
9676Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/ex_cmds.c, src/vim.h
9677 src/testdir/test_packadd.vim
9678
9679Patch 7.4.1552
9680Problem: ":colorscheme" does not use 'packpath'.
9681Solution: Also use in "start" and "opt" directories in 'packpath'.
9682Files: src/ex_cmds2.c, src/gui.c, src/hardcopy.c, src/os_mswin.c,
9683 src/spell.c, src/tag.c, src/if_py_both.h, src/vim.h,
9684 src/digraph.c, src/eval.c, src/ex_docmd.c, src/main.c,
9685 src/option.c, src/syntax.c, src/testdir/test_packadd.vim
9686
9687Patch 7.4.1553
9688Problem: ":runtime" does not use 'packpath'.
9689Solution: Add "what" argument.
9690Files: src/ex_cmds2.c, src/vim.h, runtime/doc/repeat.txt,
9691 src/testdir/test_packadd.vim
9692
9693Patch 7.4.1554
9694Problem: Completion for :colorscheme does not use 'packpath'.
9695Solution: Make it work, add a test. (Hirohito Higashi)
9696Files: src/ex_getln.c, src/testdir/test_packadd.vim
9697
9698Patch 7.4.1555
9699Problem: List of test targets incomplete.
9700Solution: Add newly added tests.
9701Files: src/Makefile
9702
9703Patch 7.4.1556
9704Problem: "make install" changes the help tags file, causing it to differ
9705 from the repository.
9706Solution: Move it aside and restore it.
9707Files: src/Makefile
9708
9709Patch 7.4.1557
9710Problem: Windows cannot be identified.
9711Solution: Add a unique window number to each window and functions to use it.
9712Files: src/structs.h, src/window.c, src/eval.c, src/proto/eval.pro,
9713 src/proto/window.pro, src/testdir/test_window_id.vim,
9714 src/testdir/Make_all.mak, runtime/doc/eval.txt
9715
9716Patch 7.4.1558
9717Problem: It is not easy to find out what windows display a buffer.
9718Solution: Add win_findbuf().
9719Files: src/eval.c, src/window.c, src/proto/window.pro,
9720 src/testdir/test_window_id.vim, runtime/doc/eval.txt
9721
9722Patch 7.4.1559
9723Problem: Passing cookie to a callback is clumsy.
9724Solution: Change function() to take arguments and return a partial.
9725Files: src/structs.h, src/channel.c, src/eval.c, src/if_python.c,
9726 src/if_python3.c, src/if_py_both.h, src/json.c,
9727 src/proto/eval.pro, src/testdir/test_partial.vim,
9728 src/testdir/test_alot.vim, runtime/doc/eval.txt
9729
9730Patch 7.4.1560
9731Problem: Dict options with a dash are more difficult to use.
9732Solution: Use an underscore, so that dict.err_io can be used.
9733Files: src/channel.c, src/structs.h, src/testdir/test_channel.vim,
9734 runtime/doc/channel.txt
9735
9736Patch 7.4.1561 (after 7.4.1559)
9737Problem: Missing update to proto file.
9738Solution: Change the proto file.
9739Files: src/proto/channel.pro
9740
9741Patch 7.4.1562
9742Problem: ":helptags ALL" crashes. (Lcd)
9743Solution: Don't free twice.
9744Files: src/ex_cmds.c
9745
9746Patch 7.4.1563
9747Problem: Partial test fails on windows.
9748Solution: Return 1 or -1 from compare function.
9749Files: src/testdir/test_partial.vim
9750
9751Patch 7.4.1564
9752Problem: An empty list in function() causes an error.
9753Solution: Handle an empty list like there is no list of arguments.
9754Files: src/eval.c, src/testdir/test_partial.vim
9755
9756Patch 7.4.1565
9757Problem: Crash when assert_equal() runs into a NULL string.
9758Solution: Check for NULL. (Dominique) Add a test.
9759Files: src/eval.c, src/testdir/test_assert.vim
9760
9761Patch 7.4.1566
9762Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama)
9763Solution: Remove the inner one.
9764Files: src/eval.c
9765
9766Patch 7.4.1567
9767Problem: Crash in assert_fails().
9768Solution: Check for NULL. (Dominique Pelle) Add a test.
9769Files: src/eval.c, src/testdir/test_assert.vim
9770
9771Patch 7.4.1568
9772Problem: Using CTRL-] in help on option in parentheses doesn't work.
9773Solution: Skip the "(" in "('". (Hirohito Higashi)
9774Files: src/ex_cmds.c
9775
9776Patch 7.4.1569
9777Problem: Using old style tests for quickfix.
9778Solution: Change them to new style tests. (Yegappan Lakshmanan)
9779Files: src/testdir/Make_all.mak, src/testdir/test106.in,
9780 src/testdir/test106.ok, src/testdir/test_qf_title.in,
9781 src/testdir/test_qf_title.ok, src/testdir/test_quickfix.vim
9782
9783Patch 7.4.1570
9784Problem: There is no way to avoid the message when editing a file.
Bram Moolenaard0796902016-09-16 20:02:31 +02009785Solution: Add the "F" flag to 'shortmess'. (Shougo Matsu, closes #686)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009786Files: runtime/doc/options.txt, src/buffer.c, src/ex_cmds.c,
9787 src/option.h
9788
9789Patch 7.4.1571
9790Problem: No test for ":help".
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009791Solution: Add a test for what 7.4.1568 fixed. (Hirohito Higashi)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009792Files: src/testdir/test_alot.vim, src/testdir/test_help_tagjump.vim
9793
9794Patch 7.4.1572
9795Problem: Setting 'compatible' in test influences following tests.
9796Solution: Turn 'compatible' off again.
9797Files: src/testdir/test_backspace_opt.vim
9798
9799Patch 7.4.1573
9800Problem: Tests get stuck at the more prompt.
9801Solution: Move the backspace test out of test_alot.
9802Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
9803
9804Patch 7.4.1574
9805Problem: ":undo 0" does not work. (Florent Fayolle)
9806Solution: Make it undo all the way. (closes #688)
9807Files: src/undo.c, src/testdir/test_undolevels.vim,
9808 src/testdir/test_ex_undo.vim, src/testdir/test_alot.vim
9809
9810Patch 7.4.1575
9811Problem: Using wrong size for struct.
9812Solution: Use the size for wide API. (Ken Takata)
9813Files: src/gui_w32.c
9814
9815Patch 7.4.1576
9816Problem: Write error of viminfo file is not handled properly. (Christian
9817 Neukirchen)
9818Solution: Check the return value of fclose(). (closes #682)
9819Files: src/ex_cmds.c
9820
9821Patch 7.4.1577
9822Problem: Cannot pass "dict.Myfunc" around as a partial.
9823Solution: Create a partial when expected.
9824Files: src/eval.c, src/testdir/test_partial.vim
9825
9826Patch 7.4.1578
9827Problem: There is no way to invoke a function later or periodically.
9828Solution: Add timer support.
9829Files: src/eval.c, src/ex_cmds2.c, src/screen.c, src/ex_docmd.c,
9830 src/feature.h, src/gui.c, src/proto/eval.pro,
9831 src/proto/ex_cmds2.pro, src/proto/screen.pro, src/structs.h,
9832 src/version.c, src/testdir/test_alot.vim,
9833 src/testdir/test_timers.vim, runtime/doc/eval.txt
9834
9835Patch 7.4.1579 (after 7.4.1578)
9836Problem: Missing changes in channel.c
9837Solution: Include the changes.
9838Files: src/channel.c
9839
9840Patch 7.4.1580
9841Problem: Crash when using function reference. (Luchr)
9842Solution: Set initial refcount. (Ken Takata, closes #690)
9843Files: src/eval.c, src/testdir/test_partial.vim
9844
9845Patch 7.4.1581
9846Problem: Using ":call dict.func()" where the function is a partial does
9847 not work. Using "dict.func()" where the function does not take a
9848 Dictionary does not work.
9849Solution: Handle partial properly in ":call". (Yasuhiro Matsumoto)
9850Files: src/eval.c, src/testdir/test_partial.vim, src/testdir/test55.ok
9851
9852Patch 7.4.1582
9853Problem: Get E923 when using function(dict.func, [], dict). (Kent Sibilev)
9854 Storing a function with a dict in a variable drops the dict if the
9855 function is script-local.
9856Solution: Translate the function name. Use dict arg if present.
9857Files: src/eval.c, src/testdir/test_partial.vim
9858
9859Patch 7.4.1583
Bram Moolenaarbc8801c2016-08-02 21:04:33 +02009860Problem: Warning for uninitialized variable.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +02009861Solution: Initialize it. (Dominique)
9862Files: src/ex_cmds2.c
9863
9864Patch 7.4.1584
9865Problem: Timers don't work for Win32 console.
9866Solution: Add check_due_timer() in WaitForChar().
9867Files: src/os_win32.c
9868
9869Patch 7.4.1585
9870Problem: Partial is not recognized everywhere.
9871Solution: Check for partial in trans_function_name(). (Yasuhiro Matsumoto)
9872 Add a test.
9873Files: src/eval.c, src/testdir/test_partial.vim
9874
9875Patch 7.4.1586
9876Problem: Nesting partials doesn't work.
9877Solution: Append arguments. (Ken Takata)
9878Files: src/eval.c, src/testdir/test_partial.vim
9879
9880Patch 7.4.1587
9881Problem: Compiler warnings with 64 bit compiler.
9882Solution: Add type casts. (Mike Williams)
9883Files: src/ex_cmds2.c
9884
9885Patch 7.4.1588
9886Problem: Old style test for quickfix.
9887Solution: Turn test 96 into a new style test.
9888Files: src/testdir/Make_all.mak, src/testdir/test96.in,
9889 src/testdir/test96.ok, src/testdir/test_quickfix.vim
9890
9891Patch 7.4.1589
9892Problem: Combining dict and args with partial doesn't always work.
9893Solution: Use the arguments from the partial.
9894Files: src/eval.c, src/testdir/test_partial.vim
9895
9896Patch 7.4.1590
9897Problem: Warning for shadowed variable. (Christian Brabandt)
9898Solution: Move the variable into a local block.
9899Files: src/eval.c
9900
9901Patch 7.4.1591
9902Problem: The quickfix title is truncated.
9903Solution: Save the command before it is truncated. (Anton Lindqvist)
9904Files: src/quickfix.c, src/testdir/test_quickfix.vim
9905
9906Patch 7.4.1592
9907Problem: Quickfix code using memory after being freed. (Dominique Pelle)
9908Solution: Detect that the window was closed. (Hirohito Higashi)
9909Files: src/quickfix.c, src/testdir/test_quickfix.vim
9910
9911Patch 7.4.1593
9912Problem: Using channel timeout instead of request timeout. (Coverity)
9913Solution: Remove the extra assignment.
9914Files: src/channel.c
9915
9916Patch 7.4.1594
9917Problem: Timers don't work on Unix.
9918Solution: Add missing code.
9919Files: src/os_unix.c
9920
9921Patch 7.4.1595
9922Problem: Not checking for failed open(). (Coverity)
9923Solution: Check file descriptor not being negative.
9924Files: src/os_unix.c
9925
9926Patch 7.4.1596
9927Problem: Memory leak. (Coverity)
9928Solution: Free the pattern.
9929Files: src/ex_cmds2.c
9930
9931Patch 7.4.1597
9932Problem: Memory leak when out of memory. (Coverity)
9933Solution: Free the name.
9934Files: src/eval.c
9935
9936Patch 7.4.1598
9937Problem: When starting the GUI fails a swap file is left behind. (Joerg
9938 Plate)
9939Solution: Preserve files before exiting. (closes #692)
9940Files: src/main.c, src/gui.c
9941
9942Patch 7.4.1599
9943Problem: No link to Coverity.
9944Solution: Add Coverity badge in README.
9945Files: README.md
9946
9947Patch 7.4.1600
9948Problem: libs directory is not useful.
9949Solution: Remove arp.library, it was only for very old Amiga versions.
9950Files: libs/arp.library, Filelist
9951
9952Patch 7.4.1601
9953Problem: README files take a lot of space in the top directory.
9954Solution: Move most of them to "READMEdir".
9955Files: Filelist, Makefile, README.txt.info, README_ami.txt,
9956 README_ami.txt.info, README_amibin.txt, README_amibin.txt.info,
9957 README_amisrc.txt, README_amisrc.txt.info, README_bindos.txt,
9958 README_dos.txt, README_extra.txt, README_mac.txt, README_ole.txt,
9959 README_os2.txt, README_os390.txt, README_src.txt,
9960 README_srcdos.txt, README_unix.txt, README_vms.txt,
9961 README_w32s.txt, READMEdir/README.txt.info,
9962 READMEdir/README_ami.txt, READMEdir/README_ami.txt.info,
9963 READMEdir/README_amibin.txt, READMEdir/README_amibin.txt.info,
9964 READMEdir/README_amisrc.txt, READMEdir/README_amisrc.txt.info,
9965 READMEdir/README_bindos.txt, READMEdir/README_dos.txt,
9966 READMEdir/README_extra.txt, READMEdir/README_mac.txt,
9967 READMEdir/README_ole.txt, READMEdir/README_os2.txt,
9968 READMEdir/README_os390.txt, READMEdir/README_src.txt,
9969 READMEdir/README_srcdos.txt, READMEdir/README_unix.txt,
9970 READMEdir/README_vms.txt, READMEdir/README_w32s.txt,
9971
9972Patch 7.4.1602
9973Problem: Info files take space in the top directory.
9974Solution: Move them to "READMEdir".
9975Files: Filelist, src.info, Contents.info, runtime.info, vimdir.info,
9976 Vim.info, Xxd.info, READMEdir/src.info, READMEdir/Contents.info,
9977 READMEdir/runtime.info, READMEdir/vimdir.info, READMEdir/Vim.info,
9978 READMEdir/Xxd.info
9979
9980Patch 7.4.1603
9981Problem: Timer with an ":echo" command messes up display.
9982Solution: Redraw depending on the mode. (Hirohito Higashi) Avoid the more
9983 prompt being used recursively.
9984Files: src/screen.c, src/message.c
9985
9986Patch 7.4.1604
9987Problem: Although emoji characters are ambiguous width, best is to treat
9988 them as full width.
9989Solution: Update the Unicode character tables. Add the 'emoji' options.
9990 (Yasuhiro Matsumoto)
9991Files: runtime/doc/options.txt, runtime/optwin.vim,
9992 runtime/tools/unicode.vim, src/mbyte.c, src/option.c, src/option.h
9993
9994Patch 7.4.1605
9995Problem: Catching exception that won't be thrown.
9996Solution: Remove try/catch.
9997Files: src/testdir/test55.in
9998
9999Patch 7.4.1606
10000Problem: Having type() handle a Funcref that is or isn't a partial
10001 differently causes problems for existing scripts.
10002Solution: Make type() return the same value. (Thinca)
10003Files: src/eval.c, src/testdir/test_viml.vim
10004
10005Patch 7.4.1607
10006Problem: Comparing a function that exists on two dicts is not backwards
10007 compatible. (Thinca)
10008Solution: Only compare the function, not what the partial adds.
10009Files: src/eval.c, src/testdir/test_alot.vim, src/testdir/test_expr.vim
10010
10011Patch 7.4.1608
10012Problem: string() doesn't handle a partial.
10013Solution: Make a string from a partial.
10014Files: src/eval.c, src/testdir/test_partial.vim
10015
10016Patch 7.4.1609
10017Problem: Contents file is only for Amiga distro.
10018Solution: Move it to "READMEdir". Update some info.
10019Files: Filelist, Contents, READMEdir/Contents
10020
10021Patch 7.4.1610
10022Problem: Compiler warnings for non-virtual destructor.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010023Solution: Mark the classes final. (Ken Takata)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010024Files: src/Make_cyg_ming.mak, src/gui_dwrite.cpp, src/if_ole.cpp
10025
10026Patch 7.4.1611
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010027Problem: The versplit feature makes the code unnecessary complicated.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010028Solution: Remove FEAT_VERTSPLIT, always support vertical splits when
10029 FEAT_WINDOWS is defined.
10030Files: src/buffer.c, src/charset.c, src/eval.c, src/ex_cmds.c,
10031 src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/if_lua.c,
10032 src/if_mzsch.c, src/if_ruby.c, src/main.c, src/misc1.c,
10033 src/misc2.c, src/move.c, src/normal.c, src/option.c,
10034 src/quickfix.c, src/screen.c, src/syntax.c, src/term.c, src/ui.c,
10035 src/window.c, src/globals.h, src/gui.h, src/if_py_both.h,
10036 src/option.h, src/structs.h, src/term.h
10037 src/feature.h, src/vim.h, src/version.c
10038
10039Patch 7.4.1612 (after 7.4.1611)
10040Problem: Can't build with small features.
10041Solution: Move code and #ifdefs.
10042Files: src/ex_getln.c
10043
10044Patch 7.4.1613 (after 7.4.1612)
10045Problem: Still can't build with small features.
10046Solution: Adjust #ifdefs.
10047Files: src/ex_getln.c
10048
10049Patch 7.4.1614
10050Problem: Still quickfix test in old style.
10051Solution: Turn test 10 into a new style test.
10052Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
10053 src/testdir/main.aap, src/testdir/test10.in,
10054 src/testdir/test10.ok, src/testdir/test_quickfix.vim,
10055 src/testdir/test10a.in, src/testdir/test10a.ok
10056
10057Patch 7.4.1615
10058Problem: Build fails with tiny features.
10059Solution: Adjust #ifdefs.
10060Files: src/normal.c, src/window.c
10061
10062Patch 7.4.1616
10063Problem: Malformed channel request causes a hang.
10064Solution: Drop malformed message. (Damien)
10065Files: src/channel.c, src/testdir/test_channel.vim,
10066 src/testdir/test_channel.py
10067
10068Patch 7.4.1617
10069Problem: When a JSON message is split it isn't decoded.
10070Solution: Wait a short time for the rest of the message to arrive.
10071Files: src/channel.c, src/json.c, src/structs.h,
10072 src/testdir/test_channel.vim, src/testdir/test_channel.py
10073
10074Patch 7.4.1618
10075Problem: Starting job with output to buffer changes options in the current
10076 buffer.
10077Solution: Set "curbuf" earlier. (Yasuhiro Matsumoto)
10078Files: src/channel.c
10079
10080Patch 7.4.1619
10081Problem: When 'fileformats' is set in the vimrc it applies to new buffers
10082 but not the initial buffer.
10083Solution: Set 'fileformat' when starting up. (Mike Williams)
10084Files: src/option.c
10085
10086Patch 7.4.1620
10087Problem: Emoji characters are not considered as a kind of word character.
10088Solution: Give emoji characters a word class number. (Yasuhiro Matsumoto)
10089Files: src/mbyte.c
10090
10091Patch 7.4.1621
10092Problem: Channel test doesn't work with Python 2.6.
10093Solution: Add number in formatting placeholder. (Wiredool)
10094Files: src/testdir/test_channel.py
10095
10096Patch 7.4.1622
10097Problem: Channel demo doesn't work with Python 2.6.
10098Solution: Add number in formatting placeholder
10099Files: runtime/tools/demoserver.py
10100
10101Patch 7.4.1623
10102Problem: All Channels share the message ID, it keeps getting bigger.
10103Solution: Use a message ID per channel.
10104Files: src/channel.c, src/proto/channel.pro, src/structs.h
10105
10106Patch 7.4.1624
10107Problem: Can't get info about a channel.
10108Solution: Add ch_info().
10109Files: src/eval.c, src/channel.c, src/proto/channel.pro,
10110 src/testdir/test_channel.vim, runtime/doc/eval.txt
10111
10112Patch 7.4.1625
10113Problem: Trying to close file descriptor that isn't open.
10114Solution: Check for negative number.
10115Files: src/os_unix.c
10116
10117Patch 7.4.1626 (after 7.4.1624)
10118Problem: Missing changes to structs.
10119Solution: Include the changes.
10120Files: src/structs.h
10121
10122Patch 7.4.1627
10123Problem: Channel out_cb and err_cb are not tested.
10124Solution: Add a test.
10125Files: src/testdir/test_channel.vim
10126
10127Patch 7.4.1628
10128Problem: 64-bit Compiler warning.
10129Solution: Change type of variable. (Mike Williams)
10130Files: src/channel.c
10131
10132Patch 7.4.1629
10133Problem: Handling emoji characters as full width has problems with
10134 backwards compatibility.
10135Solution: Remove ambiguous and double width characters from the emoji table.
10136 Use a separate table for the character class.
10137 (partly by Yasuhiro Matsumoto)
10138Files: runtime/tools/unicode.vim, src/mbyte.c
10139
10140Patch 7.4.1630
10141Problem: Unicode table for double width is outdated.
10142Solution: Update to the latest Unicode standard.
10143Files: src/mbyte.c
10144
10145Patch 7.4.1631
10146Problem: Compiler doesn't understand switch on all enum values. (Tony
10147 Mechelynck)
10148Solution: Initialize variable.
10149Files: src/channel.c
10150
10151Patch 7.4.1632
10152Problem: List of test targets is outdated.
10153Solution: Update to current list of test targets.
10154Files: src/Makefile
10155
10156Patch 7.4.1633
10157Problem: If the help tags file was removed "make install" fails. (Tony
10158 Mechelynck)
10159Solution: Only try moving the file if it exists.
10160Files: src/Makefile
10161
10162Patch 7.4.1634
10163Problem: Vertical movement after CTRL-A ends up in the wrong column.
10164 (Urtica Dioica)
10165Solution: Set curswant when appropriate. (Hirohito Higashi)
10166Files: src/ops.c, src/testdir/test_increment.vim
10167
10168Patch 7.4.1635
10169Problem: Channel test is a bit flaky.
10170Solution: Remove 'DETACH' if it's there.
Bram Moolenaar64d8e252016-09-06 22:12:34 +020010171Files: src/testdir/test_channel.vim
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010172
10173Patch 7.4.1636
10174Problem: When 'F' is in 'shortmess' the prompt for the encryption key isn't
10175 displayed. (Toothpik)
10176Solution: Reset msg_silent.
10177Files: src/ex_getln.c
10178
10179Patch 7.4.1637
10180Problem: Can't build with older MinGW compiler.
10181Solution: Change option from c++11 to gnu++11. (Ken Takata)
10182Files: src/Make_cyg_ming.mak
10183
10184Patch 7.4.1638
10185Problem: When binding a function to a dict the reference count is wrong.
10186Solution: Decrement dict reference count, only reference the function when
10187 actually making a copy. (Ken Takata)
10188Files: src/eval.c, src/testdir/test_partial.vim
10189
10190Patch 7.4.1639
10191Problem: Invoking garbage collection may cause a double free.
10192Solution: Don't free the dict in a partial when recursive is FALSE.
10193Files: src/eval.c
10194
10195Patch 7.4.1640
10196Problem: Crash when an autocommand changes a quickfix list. (Dominique)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010197Solution: Check whether an entry is still valid. (Yegappan Lakshmanan,
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010198 Hirohito Higashi)
10199Files: src/quickfix.c, src/testdir/test_quickfix.vim
10200
10201Patch 7.4.1641
10202Problem: Using unterminated string.
10203Solution: Add NUL before calling vim_strsave_shellescape(). (James McCoy)
10204Files: src/eval.c, src/testdir/test105.in, src/testdir/test105.ok
10205
10206Patch 7.4.1642
10207Problem: Handling emoji characters as full width has problems with
10208 backwards compatibility.
10209Solution: Only put characters in the 1f000 range in the emoji table.
10210Files: runtime/tools/unicode.vim, src/mbyte.c
10211
10212Patch 7.4.1643 (after 7.4.1641)
10213Problem: Terminating file name has side effects.
10214Solution: Restore the character. (mostly by James McCoy, closes #713)
10215Files: src/eval.c, src/testdir/test105.in, src/testdir/test105.ok
10216
10217Patch 7.4.1644
10218Problem: Using string() on a partial that exists in the dictionary it binds
10219 results in an error. (Nikolai Pavlov)
10220Solution: Make string() not fail on a recursively nested structure. (Ken
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010221 Takata)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010222Files: src/eval.c, src/testdir/test_partial.vim
10223
10224Patch 7.4.1645
10225Problem: When a dict contains a partial it can't be redefined as a
10226 function. (Nikolai Pavlov)
10227Solution: Remove the partial when overwriting with a function.
10228Files: src/eval.c, src/testdir/test_partial.vim
10229
10230Patch 7.4.1646
10231Problem: Using Python vim.bindeval() on a partial doesn't work. (Nikolai
10232 Pavlov)
10233Solution: Add VAR_PARTIAL support in Python.
10234Files: src/if_py_both.h, src/testdir/test_partial.vim
10235
10236Patch 7.4.1647
10237Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique)
10238Solution: Set qf_ptr when adding the first item to the quickfix list.
10239Files: src/quickfix.c, src/testdir/test_quickfix.vim
10240
10241Patch 7.4.1648
10242Problem: Compiler has a problem copying a string into di_key[]. (Yegappan
10243 Lakshmanan)
10244Solution: Add dictitem16_T.
10245Files: src/structs.h, src/eval.c
10246
10247Patch 7.4.1649
10248Problem: The matchit plugin needs to be copied to be used.
10249Solution: Put the matchit plugin in an optional package.
10250Files: Filelist, runtime/macros/matchit.vim, runtime/macros/matchit.txt,
10251 runtime/macros/README.txt, src/Makefile,
10252 runtime/pack/dist/opt/matchit/plugin/matchit.vim,
10253 runtime/pack/dist/opt/matchit/doc/matchit.txt,
10254 runtime/pack/dist/opt/matchit/doc/tags,
10255 runtime/doc/usr_05.txt, runtime/doc/usr_toc.txt
10256
10257Patch 7.4.1650
10258Problem: Quickfix test fails.
10259Solution: Accept any number of matches.
10260Files: src/testdir/test_quickfix.vim
10261
10262Patch 7.4.1651
10263Problem: Some dead (MSDOS) code remains.
10264Solution: Remove the unused lines. (Ken Takata)
10265Files: src/misc1.c
10266
10267Patch 7.4.1652
10268Problem: Old style test for fnamemodify().
10269Solution: Turn it into a new style test.
10270Files: src/testdir/test105.in, src/testdir/test105.ok,
10271 src/testdir/test_fnamemodify.vim, src/testdir/test_alot.vim,
10272 src/testdir/Make_all.mak
10273
10274Patch 7.4.1653 (after 7.4.1649)
10275Problem: Users who loaded matchit.vim manually have to change their
10276 startup. (Gary Johnson)
10277Solution: Add a file in the old location that loads the package.
10278Files: runtime/macros/matchit.vim, Filelist
10279
10280Patch 7.4.1654
10281Problem: Crash when using expand('%:S') in a buffer without a name.
10282Solution: Don't set a NUL. (James McCoy, closes #714)
10283Files: src/eval.c, src/testdir/test_fnamemodify.vim
10284
10285Patch 7.4.1655
10286Problem: remote_expr() hangs. (Ramel)
10287Solution: Check for messages in the waiting loop.
10288Files: src/if_xcmdsrv.c
10289
10290Patch 7.4.1656
10291Problem: Crash when using partial with a timer.
10292Solution: Increment partial reference count. (Hirohito Higashi)
10293Files: src/eval.c, src/testdir/test_timers.vim
10294
10295Patch 7.4.1657
10296Problem: On Unix in a terminal: channel messages are not handled right away.
10297 (Jackson Alves de Aquino)
10298Solution: Break the loop for timers when something was received.
10299Files: src/os_unix.c
10300
10301Patch 7.4.1658
10302Problem: A plugin does not know when VimEnter autocommands were already
10303 triggered.
10304Solution: Add the v:vim_did_enter variable.
10305Files: src/eval.c, src/main.c, src/vim.h, src/testdir/test_autocmd.vim,
10306 src/testdir/test_alot.vim, runtime/doc/autocmd.txt,
10307 runtime/doc/eval.txt
10308
10309Patch 7.4.1659 (after 7.4.1657)
10310Problem: Compiler warning for argument type. (Manuel Ortega)
10311Solution: Remove "&".
10312Files: src/os_unix.c
10313
10314Patch 7.4.1660
10315Problem: has('patch-7.4.1') doesn't work.
10316Solution: Fix off-by-one error. (Thinca)
10317Files: src/eval.c, src/testdir/test_expr.vim, src/testdir/test60.in,
10318 src/testdir/test60.ok
10319
10320Patch 7.4.1661
10321Problem: No test for special characters in channel eval command.
10322Solution: Testing sending and receiving text with special characters.
10323Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
10324
10325Patch 7.4.1662
10326Problem: No test for an invalid Ex command on a channel.
10327Solution: Test handling an invalid command gracefully. Avoid getting an
10328 error message, do write it to the channel log.
10329Files: src/channel.c, src/testdir/test_channel.vim,
10330 src/testdir/test_channel.py
10331
10332Patch 7.4.1663
10333Problem: In tests it's often useful to check if a pattern matches.
10334Solution: Add assert_match().
10335Files: src/eval.c, src/testdir/test_assert.vim,
10336 src/testdir/test_channel.vim, runtime/doc/eval.txt
10337
10338Patch 7.4.1664
10339Problem: Crash in :cgetexpr.
10340Solution: Check for NULL pointer. (Dominique) Add a test.
10341Files: src/quickfix.c, src/testdir/test_quickfix.vim
10342
10343Patch 7.4.1665
10344Problem: Crash when calling job_start() with a NULL string. (Dominique)
10345Solution: Check for an invalid argument.
10346Files: src/channel.c, src/testdir/test_channel.vim
10347
10348Patch 7.4.1666
10349Problem: When reading JSON from a channel all readahead is used.
10350Solution: Use the fill function to reduce overhead.
10351Files: src/channel.c, src/json.c, src/structs.h
10352
10353Patch 7.4.1667
10354Problem: Win32: waiting on a pipe with fixed sleep time.
10355Solution: Start with a short delay and increase it when looping.
10356Files: src/channel.c
10357
10358Patch 7.4.1668
10359Problem: channel_get_all() does multiple allocations.
10360Solution: Compute the size and allocate once.
10361Files: src/channel.c
10362
10363Patch 7.4.1669
10364Problem: When writing buffer lines to a pipe Vim may block.
10365Solution: Avoid blocking, write more lines later.
10366Files: src/channel.c, src/misc2.c, src/os_unix.c, src/structs.h,
10367 src/vim.h, src/proto/channel.pro, src/testdir/test_channel.vim
10368
10369Patch 7.4.1670
10370Problem: Completion doesn't work well for a variable containing "#".
10371Solution: Recognize the "#". (Watiko)
10372Files: src/eval.c
10373
10374Patch 7.4.1671
10375Problem: When help exists in multiple languages, adding @ab while "ab" is
10376 the default help language is unnecessary.
10377Solution: Leave out "@ab" when not needed. (Ken Takata)
10378Files: src/ex_getln.c
10379
10380Patch 7.4.1672
10381Problem: The Dvorak support is a bit difficult to install.
10382Solution: Turn it into an optional package.
10383Files: runtime/macros/dvorak, runtime/macros/README.txt,
10384 runtime/pack/dist/opt/dvorak/plugin/dvorak.vim,
10385 runtime/pack/dist/opt/dvorak/dvorak/enable.vim,
10386 runtime/pack/dist/opt/dvorak/dvorak/disable.vim
10387
10388Patch 7.4.1673
10389Problem: The justify plugin has to be copied or sourced to be used.
10390Solution: Turn it into a package.
10391Files: runtime/macros/justify.vim, runtime/macros/README.txt,
10392 runtime/pack/dist/opt/justify/plugin/justify.vim, Filelist
10393
10394Patch 7.4.1674
10395Problem: The editexisting plugin has to be copied or sourced to be used.
10396Solution: Turn it into a package.
10397Files: runtime/macros/editexisting.vim, runtime/macros/README.txt,
10398 runtime/pack/dist/opt/editexisting/plugin/editexisting.vim,
10399 Filelist
10400
10401Patch 7.4.1675
10402Problem: The swapmous plugin has to be copied or sourced to be used.
10403Solution: Turn it into the swapmouse package.
10404Files: runtime/macros/swapmous.vim, runtime/macros/README.txt,
10405 runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim, Filelist
10406
10407Patch 7.4.1676
10408Problem: The shellmenu plugin has to be copied or sourced to be used.
10409Solution: Turn it into a package.
10410Files: runtime/macros/shellmenu.vim, runtime/macros/README.txt,
10411 runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim, Filelist
10412
10413Patch 7.4.1677
10414Problem: A reference to the removed file_select plugin remains.
10415Solution: Remove it.
10416Files: runtime/macros/README.txt
10417
10418Patch 7.4.1678
10419Problem: Warning for unused argument.
10420Solution: Add UNUSED. (Dominique Pelle)
10421Files: src/if_mzsch.c
10422
10423Patch 7.4.1679
10424Problem: Coverity: copying value of v_lock without initializing it.
10425Solution: Init v_lock in rettv_list_alloc() and rettv_dict_alloc().
10426Files: src/eval.c
10427
10428Patch 7.4.1680
10429Problem: Coverity warns for not checking name length (false positive).
10430Solution: Only copy the characters we know are there.
10431Files: src/channel.c
10432
10433Patch 7.4.1681
10434Problem: Coverity warns for fixed size buffer length (false positive).
10435Solution: Add a check for the name length.
10436Files: src/eval.c
10437
10438Patch 7.4.1682
10439Problem: Coverity: no check for NULL.
10440Solution: Add check for invalid argument to assert_match().
10441Files: src/eval.c
10442
10443Patch 7.4.1683
10444Problem: Generated .bat files do not support --nofork.
10445Solution: Add check for --nofork. Also add "setlocal". (Kevin Cantú,
10446 closes #659)
10447Files: src/dosinst.c
10448
10449Patch 7.4.1684
10450Problem: README text is slightly outdated.
10451Solution: Mention the READMEdir directory.
10452Files: README.md, README.txt
10453
10454Patch 7.4.1685
10455Problem: There is no easy way to get all the information about a match.
10456Solution: Add matchstrpos(). (Ozaki Kiichi)
10457Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
10458 src/testdir/test_alot.vim, src/testdir/test_matchstrpos.vim
10459
10460Patch 7.4.1686
10461Problem: When running tests $HOME/.viminfo is written. (James McCoy)
10462Solution: Add 'nviminfo' to the 'viminfo' option. (closes #722)
10463Files: src/testdir/test_backspace_opt.vim, src/testdir/test_viminfo.vim,
10464 src/testdir/runtest.vim.
10465
10466Patch 7.4.1687
10467Problem: The channel close_cb option does not work.
10468Solution: Use jo_close_partial instead of jo_err_partial. (Damien)
10469Files: src/channel.c, src/testdir/test_channel.vim
10470
10471Patch 7.4.1688
10472Problem: MzScheme does not support partial.
10473Solution: Add minimal partial support. (Ken Takata)
10474Files: src/if_mzsch.c
10475
10476Patch 7.4.1689
10477Problem: Ruby interface has inconsistent coding style.
10478Solution: Fix the coding style. (Ken Takata)
10479Files: src/if_ruby.c
10480
10481Patch 7.4.1690
10482Problem: Can't compile with the conceal feature but without multi-byte.
10483Solution: Adjust #ifdef. (Owen Leibman)
10484Files: src/eval.c, src/window.c
10485
10486Patch 7.4.1691
10487Problem: When switching to a new buffer and an autocommand applies syntax
10488 highlighting an ml_get error may occur.
10489Solution: Check "syn_buf" against the buffer in the window. (Alexander von
10490 Buddenbrock, closes #676)
10491Files: src/syntax.c
10492
10493Patch 7.4.1692
10494Problem: feedkeys('i', 'x') gets stuck, waits for a character to be typed.
10495Solution: Behave like ":normal". (Yasuhiro Matsumoto)
10496Files: src/eval.c, src/testdir/test_feedkeys.vim
10497
10498Patch 7.4.1693
10499Problem: Building the Perl interface gives compiler warnings.
10500Solution: Remove a pragma. Add noreturn attributes. (Damien)
10501Files: src/if_perl.xs
10502
10503Patch 7.4.1694
10504Problem: Win32 gvim doesn't work with "dvorakj" input method.
10505Solution: Wait for QS_ALLINPUT instead of QS_ALLEVENTS. (Yukihiro Nakadaira)
10506Files: src/gui_w32.c
10507
10508Patch 7.4.1695
10509Problem: ":syn reset" clears the effect ":syn iskeyword". (James McCoy)
10510Solution: Remove clearing the syntax keywords.
10511Files: src/syntax.c
10512
10513Patch 7.4.1696
10514Problem: When using :stopinsert in a silent mapping the "INSERT" message
10515 isn't cleared. (Coacher)
10516Solution: Always clear the message. (Christian Brabandt, closes #718)
10517Files: src/ex_docmd.c, src/proto/screen.pro, src/screen.c
10518
10519Patch 7.4.1697
10520Problem: Display problems when the 'ambiwidth' and 'emoji' options are not
10521 set properly or the terminal doesn't behave as expected.
10522Solution: After drawing an ambiguous width character always position the
10523 cursor.
10524Files: src/mbyte.c, src/screen.c, src/proto/mbyte.pro
10525
10526Patch 7.4.1698
10527Problem: Two tests fail when running tests with MinGW. (Michael Soyka)
10528Solution: Convert test_getcwd.ok test_wordcount.ok to unix fileformat.
10529Files: src/testdir/Make_ming.mak
10530
10531Patch 7.4.1699
10532Problem: :packadd does not work the same when used early or late.
10533Solution: Always load plugins matching "plugin/**/*.vim".
10534Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
10535
10536Patch 7.4.1700
10537Problem: Equivalence classes are not properly tested.
10538Solution: Add tests for multi-byte and latin1. Fix an error. (Owen Leibman)
10539Files: src/regexp.c, src/testdir/Make_all.mak,
10540 src/testdir/test_alot_latin.vim, src/testdir/test_alot_utf8.vim,
10541 src/testdir/test_regexp_latin.vim,
10542 src/testdir/test_regexp_utf8.vim
10543
10544Patch 7.4.1701
10545Problem: Equivalence classes still tested in old style tests.
10546Solution: Remove the duplicate.
10547Files: src/testdir/test44.in, src/testdir/test44.ok,
10548 src/testdir/test99.in, src/testdir/test99.ok
10549
10550Patch 7.4.1702
10551Problem: Using freed memory when parsing 'printoptions' fails.
10552Solution: Save the old options and restore them in case of an error.
10553 (Dominique)
10554Files: src/hardcopy.c, src/testdir/test_hardcopy.vim
10555
10556Patch 7.4.1703
10557Problem: Can't assert for not equal and not matching.
10558Solution: Add assert_notmatch() and assert_notequal().
10559Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_assert.vim
10560
10561Patch 7.4.1704
10562Problem: Using freed memory with "wincmd p". (Dominique Pelle)
10563Solution: Also clear "prevwin" in other tab pages.
10564Files: src/window.c
10565
10566Patch 7.4.1705
10567Problem: The 'guifont' option does not allow for a quality setting.
10568Solution: Add the "q" item, supported on MS-Windows. (Yasuhiro Matsumoto)
10569Files: runtime/doc/options.txt, src/gui_w32.c, src/os_mswin.c,
10570 src/proto/os_mswin.pro
10571
10572Patch 7.4.1706
10573Problem: Old style function declaration breaks build.
10574Solution: Remove __ARGS().
10575Files: src/proto/os_mswin.pro
10576
10577Patch 7.4.1707
10578Problem: Cannot use empty dictionary key, even though it can be useful.
10579Solution: Allow using an empty dictionary key.
10580Files: src/hashtab.c, src/eval.c, src/testdir/test_expr.vim
10581
10582Patch 7.4.1708
10583Problem: New regexp engine does not work properly with EBCDIC.
10584Solution: Define equivalence class characters. (Owen Leibman)
10585Files: src/regexp_nfa.c
10586
10587Patch 7.4.1709
10588Problem: Mistake in #ifdef.
10589Solution: Change PROOF_QUALITY to DRAFT_QUALITY. (Ken Takata)
10590Files: src/os_mswin.c
10591
10592Patch 7.4.1710
10593Problem: Not all output of an external command is read.
10594Solution: Avoid timing out when the process has exited. (closes #681)
10595Files: src/os_unix.c
10596
10597Patch 7.4.1711
10598Problem: When using try/catch in 'statusline' it is still considered an
10599 error and the status line will be disabled.
10600Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #729)
10601Files: src/screen.c, src/testdir/test_statusline.vim,
10602 src/testdir/test_alot.vim
10603
10604Patch 7.4.1712
10605Problem: For plugins in packages, plugin authors need to take care of all
10606 dependencies.
10607Solution: When loading "start" packages and for :packloadall, first add all
10608 directories to 'runtimepath' before sourcing plugins.
10609Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
10610
10611Patch 7.4.1713
10612Problem: GTK GUI doesn't work on Wayland.
10613Solution: Specify that only the X11 backend is allowed. (Simon McVittie)
10614Files: src/gui_gtk_x11.c
10615
10616Patch 7.4.1714
10617Problem: Non-GUI specific settings in the gvimrc_example file.
10618Solution: Move some settings to the vimrc_example file. Remove setting
10619 'hlsearch' again. (suggested by Hirohito Higashi)
10620Files: runtime/vimrc_example.vim, runtime/gvimrc_example.vim
10621
10622Patch 7.4.1715
10623Problem: Double free when a partial is in a cycle with a list or dict.
10624 (Nikolai Pavlov)
10625Solution: Do not free a nested list or dict used by the partial.
10626Files: src/eval.c, src/testdir/test_partial.vim
10627
10628Patch 7.4.1716
10629Problem: 'autochdir' doesn't work for the first file. (Rob Hoelz)
10630Solution: Call DO_AUTOCHDIR after startup. (Christian Brabandt, closes #704)
10631Files: src/main.c
10632
10633Patch 7.4.1717
10634Problem: Leaking memory when opening a channel fails.
10635Solution: Unreference partials in job options.
10636Files: src/eval.c, src/channel.c, src/proto/channel.pro,
10637 src/testdir/test_channel.vim
10638
10639Patch 7.4.1718
10640Problem: Coverity: not using return value of set_ref_in_item().
10641Solution: Use the return value.
10642Files: src/eval.c
10643
10644Patch 7.4.1719
10645Problem: Leaking memory when there is a cycle involving a job and a
10646 partial.
10647Solution: Add a copyID to job and channel. Set references in items referred
10648 by them. Go through all jobs and channels to find unreferenced
10649 items. Also, decrement reference counts when garbage collecting.
10650Files: src/eval.c, src/channel.c, src/netbeans.c, src/globals.h,
10651 src/ops.c, src/regexp.c, src/tag.c, src/proto/channel.pro,
10652 src/proto/eval.pro, src/testdir/test_partial.vim, src/structs.h
10653
10654Patch 7.4.1720
10655Problem: Tests fail without the job feature.
10656Solution: Skip tests when the job feature is not present.
10657Files: src/testdir/test_partial.vim
10658
10659Patch 7.4.1721
10660Problem: The vimtbar files are unused.
10661Solution: Remove them. (Ken Takata)
10662Files: src/vimtbar.dll, src/vimtbar.h, src/vimtbar.lib, Filelist
10663
10664Patch 7.4.1722
10665Problem: Crash when calling garbagecollect() after starting a job.
10666Solution: Set the copyID on job and channel. (Hirohito Higashi, Ozaki
10667 Kiichi)
10668Files: src/eval.c
10669
10670Patch 7.4.1723
10671Problem: When using try/catch in 'tabline' it is still considered an
10672 error and the tabline will be disabled.
10673Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #746)
10674Files: src/screen.c, src/testdir/test_tabline.vim,
10675 src/testdir/test_alot.vim
10676
10677Patch 7.4.1724 (after 7.4.1723)
10678Problem: Tabline test fails in GUI.
10679Solution: Remove 'e' from 'guioptions'.
10680Files: src/testdir/test_tabline.vim
10681
10682Patch 7.4.1725
10683Problem: Compiler errors for non-ANSI compilers.
10684Solution: Remove // comment. Remove comma at end of enum. (Michael Jarvis)
10685Files: src/eval.c
10686
10687Patch 7.4.1726
10688Problem: ANSI compiler complains about string length.
10689Solution: Split long string in two parts. (Michael Jarvis)
10690Files: src/ex_cmds.c
10691
10692Patch 7.4.1727
10693Problem: Cannot detect a crash in tests when caused by garbagecollect().
10694Solution: Add garbagecollect_for_testing(). Do not free a job if is still
10695 useful.
10696Files: src/channel.c, src/eval.c, src/getchar.c, src/main.c, src/vim.h,
10697 src/proto/eval.pro, src/testdir/runtest.vim,
10698 src/testdir/test_channel.vim, runtime/doc/eval.txt
10699
10700Patch 7.4.1728
10701Problem: The help for functions require a space after the "(".
10702Solution: Make CTRL-] on a function name ignore the arguments. (Hirohito
10703 Higashi)
10704Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim,
10705 runtime/doc/eval.txt
10706
10707Patch 7.4.1729
10708Problem: The Perl interface cannot use 'print' operator for writing
10709 directly in standard IO.
10710Solution: Add a minimal implementation of PerlIO Layer feature and try to
10711 use it for STDOUT/STDERR. (Damien)
10712Files: src/if_perl.xs, src/testdir/test_perl.vim
10713
10714Patch 7.4.1730
10715Problem: It is not easy to get a character out of a string.
10716Solution: Add strgetchar() and strcharpart().
10717Files: src/eval.c, src/testdir/test_expr.vim
10718
10719Patch 7.4.1731
10720Problem: Python: turns partial into simple funcref.
10721Solution: Use partials like partials. (Nikolai Pavlov, closes #734)
10722Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h,
10723 src/if_python.c, src/if_python3.c, src/proto/eval.pro,
10724 src/testdir/test86.in, src/testdir/test86.ok,
10725 src/testdir/test87.in, src/testdir/test87.ok
10726
10727Patch 7.4.1732
10728Problem: Folds may close when using autocomplete. (Anmol Sethi)
10729Solution: Increment/decrement disable_fold. (Christian Brabandt, closes
10730 #643)
10731Files: src/edit.c, src/fold.c, src/globals.h
10732
10733Patch 7.4.1733
10734Problem: "make install" doesn't know about cross-compiling. (Christian
10735 Neukirchen)
10736Solution: Add CROSS_COMPILING. (closes #740)
10737Files: src/configure.in, src/auto/configure, src/config.mk.in,
10738 src/Makefile
10739
10740Patch 7.4.1734 (after 7.4.1730)
10741Problem: Test fails when not using utf-8.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010742Solution: Split test in regular and utf-8 part.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010743Files: src/testdir/test_expr.vim, src/testdir/test_expr_utf8.vim,
10744 src/testdir/test_alot_utf8.vim
10745
10746Patch 7.4.1735
10747Problem: It is not possible to only see part of the message history. It is
10748 not possible to clear messages.
10749Solution: Add a count to ":messages" and a clear argument. (Yasuhiro
10750 Matsumoto)
10751Files: runtime/doc/message.txt, src/ex_cmds.h, src/message.c,
10752 src/testdir/test_messages.vim, src/testdir/test_alot.vim
10753
10754Patch 7.4.1736 (after 7.4.1731)
10755Problem: Unused variable.
10756Solution: Remove it. (Yasuhiro Matsumoto)
10757Files: src/if_py_both.h
10758
10759Patch 7.4.1737
10760Problem: Argument marked as unused is used.
10761Solution: Remove UNUSED.
10762Files: src/message.c
10763
10764Patch 7.4.1738
10765Problem: Count for ":messages" depends on number of lines.
10766Solution: Add ADDR_OTHER address type.
10767Files: src/ex_cmds.h
10768
10769Patch 7.4.1739
10770Problem: Messages test fails on MS-Windows.
10771Solution: Adjust the asserts. Skip the "messages maintainer" line if not
10772 showing all messages.
10773Files: src/message.c, src/testdir/test_messages.vim
10774
10775Patch 7.4.1740
10776Problem: syn-cchar defined with matchadd() does not appear if there are no
10777 other syntax definitions which matches buffer text.
10778Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes #757)
10779Files: src/screen.c, src/testdir/Make_all.mak,
10780 src/testdir/test_alot_utf8.vim, src/testdir/test_match_conceal.in,
10781 src/testdir/test_match_conceal.ok,
10782 src/testdir/test_matchadd_conceal.vim,
10783 src/testdir/test_matchadd_conceal_utf8.vim,
10784 src/testdir/test_undolevels.vim
10785
10786Patch 7.4.1741
10787Problem: Not testing utf-8 characters.
10788Solution: Move the right asserts to the test_expr_utf8 test.
10789Files: src/testdir/test_expr.vim, src/testdir/test_expr_utf8.vim
10790
10791Patch 7.4.1742
10792Problem: strgetchar() does not work correctly.
10793Solution: use mb_cptr2len(). Add a test. (Naruhiko Nishino)
10794Files: src/eval.c, src/testdir/test_expr_utf8.vim
10795
10796Patch 7.4.1743
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020010797Problem: Clang warns for uninitialized variable. (Michael Jarvis)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010798Solution: Initialize it.
10799Files: src/if_py_both.h
10800
10801Patch 7.4.1744
10802Problem: Python: Converting a sequence may leak memory.
Bram Moolenaard0796902016-09-16 20:02:31 +020010803Solution: Decrement a reference. (Nikolai Pavlov)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010804Files: src/if_py_both.h
10805
10806Patch 7.4.1745
10807Problem: README file is not clear about where to get Vim.
10808Solution: Add links to github, releases and the Windows installer.
10809 (Suggested by Christian Brabandt)
10810Files: README.md, README.txt
10811
10812Patch 7.4.1746
10813Problem: Memory leak in Perl.
10814Solution: Decrement the reference count. Add a test. (Damien)
10815Files: src/if_perl.xs, src/testdir/test_perl.vim
10816
10817Patch 7.4.1747
10818Problem: Coverity: missing check for NULL pointer.
10819Solution: Check for out of memory.
10820Files: src/if_py_both.h
10821
10822Patch 7.4.1748
10823Problem: "gD" does not find match in first column of first line. (Gary
10824 Johnson)
10825Solution: Accept match at the cursor.
10826Files: src/normal.c, src/testdir/test_goto.vim, src/testdir/test_alot.vim
10827
10828Patch 7.4.1749
10829Problem: When using GTK 3.20 there are a few warnings.
10830Solution: Use new functions when available. (Kazunobu Kuriyama)
Bram Moolenaar64d8e252016-09-06 22:12:34 +020010831Files: src/gui_beval.c src/gui_gtk_x11.c
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010832
10833Patch 7.4.1750
10834Problem: When a buffer gets updated while in command line mode, the screen
10835 may be messed up.
10836Solution: Postpone the redraw when the screen is scrolled.
10837Files: src/channel.c
10838
10839Patch 7.4.1751
10840Problem: Crash when 'tagstack' is off. (Dominique Pelle)
10841Solution: Fix it. (Hirohito Higashi)
10842Files: src/tag.c, src/testdir/test_alot.vim, src/testdir/test_tagjump.vim
10843
10844Patch 7.4.1752
10845Problem: When adding to the quickfix list the current position is reset.
10846Solution: Do not reset the position when not needed. (Yegappan Lakshmanan)
10847Files: src/quickfix.c, src/testdir/test_quickfix.vim
10848
10849Patch 7.4.1753
10850Problem: "noinsert" in 'completeopt' is sometimes ignored.
10851Solution: Set the variables when the 'completeopt' was set. (Ozaki Kiichi)
10852Files: src/edit.c, src/option.c, src/proto/edit.pro
10853
10854Patch 7.4.1754
10855Problem: When 'filetype' was set and reloading a buffer which does not
10856 cause it to be set, the syntax isn't loaded. (KillTheMule)
10857Solution: Remember whether the FileType event was fired and fire it if not.
10858 (Anton Lindqvist, closes #747)
10859Files: src/fileio.c, src/testdir/test_syntax.vim
10860
10861Patch 7.4.1755
10862Problem: When using getreg() on a non-existing register a NULL list is
10863 returned. (Bjorn Linse)
10864Solution: Allocate an empty list. Add a test.
10865Files: src/eval.c, src/testdir/test_expr.vim
10866
10867Patch 7.4.1756
10868Problem: "dll" options are not expanded.
10869Solution: Expand environment variables. (Ozaki Kiichi)
10870Files: src/option.c, src/testdir/test_alot.vim,
10871 src/testdir/test_expand_dllpath.vim
10872
10873Patch 7.4.1757
10874Problem: When using complete() it may set 'modified' even though nothing
10875 was inserted.
Bram Moolenaard0796902016-09-16 20:02:31 +020010876Solution: Use Down/Up instead of Next/Previous match. (Shougo Matsu, closes
10877 #745)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020010878Files: src/edit.c
10879
10880Patch 7.4.1758
10881Problem: Triggering CursorHoldI when in CTRL-X mode causes problems.
10882Solution: Do not trigger CursorHoldI in CTRL-X mode. Add "!" flag to
10883 feedkeys() (test with that didn't work though).
10884Files: src/edit.c, src/eval.c
10885
10886Patch 7.4.1759
10887Problem: When using feedkeys() in a timer the inserted characters are not
10888 used right away.
10889Solution: Break the wait loop when characters have been added to typebuf.
10890 use this for testing CursorHoldI.
10891Files: src/gui.c, src/os_win32.c, src/os_unix.c,
10892 src/testdir/test_autocmd.vim
10893
10894Patch 7.4.1760 (after 7.4.1759)
10895Problem: Compiler warning for unused variable.
10896Solution: Add #ifdef. (John Marriott)
10897Files: src/os_win32.c
10898
10899Patch 7.4.1761
10900Problem: Coverity complains about ignoring return value.
10901Solution: Add "(void)" to get rid of the warning.
10902Files: src/eval.c
10903
10904Patch 7.4.1762
10905Problem: Coverity: useless assignments.
10906Solution: Remove them.
10907Files: src/search.c
10908
10909Patch 7.4.1763
10910Problem: Coverity: useless assignment.
10911Solution: Add #if 0.
10912Files: src/spell.c
10913
10914Patch 7.4.1764
10915Problem: C++ style comment. (Ken Takata)
10916Solution: Finish the work started here: don't call perror() when stderr
10917 isn't working.
10918Files: src/os_unix.c
10919
10920Patch 7.4.1765
10921Problem: Undo options are not together in the options window.
10922Solution: Put them together. (Gary Johnson)
10923Files: runtime/optwin.vim
10924
10925Patch 7.4.1766
10926Problem: Building instructions for MS-Windows are outdated.
10927Solution: Mention setting SDK_INCLUDE_DIR. (Ben Franklin, closes #771) Move
10928 outdated instructions further down.
10929Files: src/INSTALLpc.txt
10930
10931Patch 7.4.1767
10932Problem: When installing Vim on a GTK system the icon cache is not updated.
10933Solution: Update the GTK icon cache when possible. (Kazunobu Kuriyama)
10934Files: src/Makefile, src/configure.in, src/config.mk.in,
10935 src/auto/configure
10936
10937Patch 7.4.1768
10938Problem: Arguments of setqflist() are not checked properly.
10939Solution: Add better checks, add a test. (Nikolai Pavlov, Hirohito Higashi,
10940 closes #661)
10941Files: src/eval.c, src/testdir/test_quickfix.vim
10942
10943Patch 7.4.1769
10944Problem: No "closed", "errors" and "encoding" attribute on Python output.
10945Solution: Add attributes and more tests. (Roland Puntaier, closes #622)
10946Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
10947 src/testdir/test86.in, src/testdir/test86.ok,
10948 src/testdir/test87.in, src/testdir/test87.ok
10949
10950Patch 7.4.1770
10951Problem: Cannot use true color in the terminal.
10952Solution: Add the 'guicolors' option. (Nikolai Pavlov)
10953Files: runtime/doc/options.txt, runtime/doc/term.txt,
10954 runtime/doc/various.txt, src/auto/configure, src/config.h.in,
10955 src/configure.in, src/eval.c, src/globals.h, src/hardcopy.c,
10956 src/option.c, src/option.h, src/proto/term.pro, src/screen.c,
10957 src/structs.h, src/syntax.c, src/term.c, src/term.h,
10958 src/version.c, src/vim.h
10959
10960Patch 7.4.1771 (after 7.4.1768)
10961Problem: Warning for unused variable.
10962Solution: Add #ifdef. (John Marriott)
10963Files: src/eval.c
10964
10965Patch 7.4.1772 (after 7.4.1767)
10966Problem: Installation fails when $GTK_UPDATE_ICON_CACHE is empty.
10967Solution: Add quotes. (Kazunobu Kuriyama)
10968Files: src/Makefile
10969
10970Patch 7.4.1773 (after 7.4.1770)
10971Problem: Compiler warnings. (Dominique Pelle)
10972Solution: Add UNUSED. Add type cast. Avoid a buffer overflow.
10973Files: src/syntax.c, src/term.c
10974
10975Patch 7.4.1774 (after 7.4.1770)
10976Problem: Cterm true color feature has warnings.
10977Solution: Add type casts.
10978Files: src/screen.c, src/syntax.c, src/term.c
10979
10980Patch 7.4.1775
10981Problem: The rgb.txt file is not installed.
10982Solution: Install the file. (Christian Brabandt)
10983Files: src/Makefile
10984
10985Patch 7.4.1776
10986Problem: Using wrong buffer length.
10987Solution: use the right name. (Kazunobu Kuriyama)
10988Files: src/term.c
10989
10990Patch 7.4.1777
10991Problem: Newly added features can escape the sandbox.
10992Solution: Add checks for restricted and secure. (Yasuhiro Matsumoto)
10993Files: src/eval.c
10994
10995Patch 7.4.1778
10996Problem: When using the term truecolor feature, the t_8f and t_8b termcap
10997 options are not set by default.
10998Solution: Move the values to before BT_EXTRA_KEYS. (Christian Brabandt)
10999Files: src/term.c
11000
11001Patch 7.4.1779
11002Problem: Using negative index in strcharpart(). (Yegappan Lakshmanan)
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011003Solution: Assume single byte when using a negative index.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011004Files: src/eval.c
11005
11006Patch 7.4.1780
11007Problem: Warnings reported by cppcheck.
11008Solution: Fix the warnings. (Dominique Pelle)
11009Files: src/ex_cmds2.c, src/json.c, src/misc1.c, src/ops.c,
11010 src/regexp_nfa.c
11011
11012Patch 7.4.1781
11013Problem: synIDattr() does not respect 'guicolors'.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011014Solution: Change the condition for the mode. (Christian Brabandt)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011015Files: src/eval.c
11016
11017Patch 7.4.1782
11018Problem: strcharpart() does not work properly with some multi-byte
11019 characters.
11020Solution: Use mb_cptr2len() instead of mb_char2len(). (Hirohito Higashi)
11021Files: src/eval.c, src/testdir/test_expr_utf8.vim
11022
11023Patch 7.4.1783
11024Problem: The old regexp engine doesn't handle character classes correctly.
11025 (Manuel Ortega)
11026Solution: Use regmbc() instead of regc(). Add a test.
11027Files: src/regexp.c, src/testdir/test_regexp_utf8.vim
11028
11029Patch 7.4.1784
11030Problem: The termtruecolor feature is enabled differently from many other
11031 features.
11032Solution: Enable the termtruecolor feature for the big build, not through
11033 configure.
11034Files: src/configure.in, src/config.h.in, src/auto/configure,
11035 src/feature.h
11036
11037Patch 7.4.1785 (after 7.4.1783)
11038Problem: Regexp test fails on windows.
11039Solution: set 'isprint' to the right value for testing.
11040Files: src/testdir/test_regexp_utf8.vim
11041
11042Patch 7.4.1786
11043Problem: Compiled-in colors do not match rgb.txt.
11044Solution: Use the rgb.txt colors. (Kazunobu Kuriyama)
11045Files: src/term.c
11046
11047Patch 7.4.1787
11048Problem: When a job ends the close callback is invoked before other
11049 callbacks. On Windows the close callback is not called.
11050Solution: First invoke out/err callbacks before the close callback.
11051 Make the close callback work on Windows.
11052Files: src/channel.c, src/proto/channel.pro,
11053 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py
11054
11055Patch 7.4.1788
11056Problem: NSIS script is missing packages.
11057Solution: Add the missing directories. (Ken Takata)
11058Files: nsis/gvim.nsi
11059
11060Patch 7.4.1789
11061Problem: Cannot use ch_read() in the close callback.
11062Solution: Do not discard the channel if there is readahead. Do not discard
11063 readahead if there is a close callback.
11064Files: src/eval.c, src/channel.c, src/proto/channel.pro,
11065 src/testdir/test_channel.vim
11066
11067Patch 7.4.1790
11068Problem: Leading white space in a job command matters. (Andrew Stewart)
11069Solution: Skip leading white space.
11070Files: src/os_unix.c
11071
11072Patch 7.4.1791
11073Problem: Channel could be garbage collected too early.
11074Solution: Don't free a channel or remove it from a job when it is still
11075 useful.
11076Files: src/channel.c
11077
11078Patch 7.4.1792
11079Problem: Color name decoding is implemented several times.
11080Solution: Move it to term.c. (Christian Brabandt)
11081Files: src/gui_mac.c, src/gui_photon.c, src/gui_w32.c,
11082 src/proto/term.pro, src/term.c
11083
11084Patch 7.4.1793
11085Problem: Some character classes may differ between systems. On OS/X the
11086 regexp test fails.
11087Solution: Make this less dependent on the system. (idea by Kazunobu Kuriyama)
11088Files: src/regexp.c, src/regexp_nfa.c
11089
11090Patch 7.4.1794 (after 7.4.1792)
11091Problem: Can't build on MS-Windows.
11092Solution: Add missing declaration.
11093Files: src/gui_w32.c
11094
11095Patch 7.4.1795
11096Problem: Compiler warning for redefining RGB. (John Marriott)
11097Solution: Rename it to TORGB.
11098Files: src/term.c
11099
11100Patch 7.4.1796 (after 7.4.1795)
11101Problem: Colors are wrong on MS-Windows. (Christian Robinson)
11102Solution: Use existing RGB macro if it exists. (Ken Takata)
11103Files: src/term.c
11104
11105Patch 7.4.1797
11106Problem: Warning from Windows 64 bit compiler.
11107Solution: Change int to size_t. (Mike Williams)
11108Files: src/term.c
11109
11110Patch 7.4.1798
11111Problem: Still compiler warning for unused return value. (Charles Campbell)
11112Solution: Assign to ignoredp.
11113Files: src/term.c
11114
11115Patch 7.4.1799
11116Problem: 'guicolors' is a confusing option name.
11117Solution: Use 'termguicolors' instead. (Hirohito Higashi, Ken Takata)
11118Files: runtime/doc/options.txt, runtime/doc/term.txt,
11119 runtime/doc/various.txt, runtime/syntax/dircolors.vim, src/eval.c,
11120 src/feature.h, src/globals.h, src/hardcopy.c, src/option.c,
11121 src/option.h, src/proto/term.pro, src/screen.c, src/structs.h,
11122 src/syntax.c, src/term.c, src/version.c, src/vim.h
11123
11124Patch 7.4.1800 (after 7.4.1799)
11125Problem: Unnecessary #ifdef.
11126Solution: Just use USE_24BIT. (Ken Takata)
11127Files: src/syntax.c
11128
11129Patch 7.4.1801
11130Problem: Make uninstall leaves file behind.
11131Solution: Delete rgb.txt. (Kazunobu Kuriyama)
11132Files: src/Makefile
11133
11134Patch 7.4.1802
11135Problem: Quickfix doesn't handle long lines well, they are split.
11136Solution: Drop characters after a limit. (Anton Lindqvist)
11137Files: src/quickfix.c, src/testdir/test_quickfix.vim,
11138 src/testdir/samples/quickfix.txt
11139
11140Patch 7.4.1803
11141Problem: GTK3 doesn't handle menu separators properly.
11142Solution: Use gtk_separator_menu_item_new(). (Kazunobu Kuriyama)
11143Files: src/gui_gtk.c
11144
11145Patch 7.4.1804
11146Problem: Can't use Vim as MANPAGER.
11147Solution: Add manpager.vim. (Enno Nagel, closes #491)
11148Files: runtime/doc/filetype.txt, runtime/plugin/manpager.vim
11149
11150Patch 7.4.1805
11151Problem: Running tests in shadow dir fails.
11152Solution: Link the samples directory
11153Files: src/Makefile
11154
11155Patch 7.4.1806
11156Problem: 'termguicolors' option missing from the options window.
11157Solution: Add the entry.
11158Files: runtime/optwin.vim
11159
11160Patch 7.4.1807
11161Problem: Test_out_close_cb sometimes fails.
11162Solution: Always write DETACH to out, not err.
11163Files: src/channel.c, src/testdir/test_channel.vim
11164
11165Patch 7.4.1808 (after 7.4.1806)
11166Problem: Using wrong feature name to check for 'termguicolors'.
11167Solution: Use the right feature name. (Ken Takata)
11168Files: runtime/optwin.vim
11169
11170Patch 7.4.1809 (after 7.4.1808)
11171Problem: Using wrong short option name for 'termguicolors'.
11172Solution: Use the option name.
11173Files: runtime/optwin.vim
11174
11175Patch 7.4.1810
11176Problem: Sending DETACH after a channel was closed isn't useful.
11177Solution: Only add DETACH for a netbeans channel.
11178Files: src/channel.c, src/testdir/test_channel.vim
11179
11180Patch 7.4.1811
11181Problem: Netbeans channel gets garbage collected.
11182Solution: Set reference in nb_channel.
11183Files: src/eval.c, src/netbeans.c, src/proto/netbeans.pro
11184
11185Patch 7.4.1812
11186Problem: Failure on startup with Athena and Motif.
11187Solution: Check for INVALCOLOR. (Kazunobu Kuriyama)
11188Files: src/syntax.c, src/vim.h
11189
11190Patch 7.4.1813
11191Problem: Memory access error when running test_quickfix.
11192Solution: Allocate one more byte. (Yegappan Lakshmanan)
11193Files: src/quickfix.c
11194
11195Patch 7.4.1814
11196Problem: A channel may be garbage collected while it's still being used by
11197 a job. (James McCoy)
11198Solution: Mark the channel as used if the job is still used. Do the same
11199 for channels that are still used.
11200Files: src/eval.c, src/channel.c, src/proto/channel.pro
11201
11202Patch 7.4.1815
11203Problem: Compiler warnings for unused variables. (Ajit Thakkar)
11204Solution: Add a dummy initialization. (Yasuhiro Matsumoto)
11205Files: src/quickfix.c
11206
11207Patch 7.4.1816
11208Problem: Looping over a null list throws an error.
11209Solution: Skip over the for loop.
11210Files: src/eval.c, src/testdir/test_expr.vim
11211
11212Patch 7.4.1817
11213Problem: The screen is not updated if a callback is invoked when closing a
11214 channel.
11215Solution: Invoke redraw_after_callback().
11216Files: src/channel.c
11217
11218Patch 7.4.1818
11219Problem: Help completion adds @en to all matches except the first one.
11220Solution: Remove "break", go over all items.
11221Files: src/ex_getln.c
11222
11223Patch 7.4.1819
11224Problem: Compiler warnings when sprintf() is a macro.
11225Solution: Don't interrupt sprintf() with an #ifdef. (Michael Jarvis,
11226 closes #788)
11227Files: src/fileio.c, src/tag.c, src/term.c
11228
11229Patch 7.4.1820
11230Problem: Removing language from help tags too often.
11231Solution: Only remove @en when not needed. (Hirohito Higashi)
11232Files: src/ex_getln.c, src/testdir/test_help_tagjump.vim
11233
11234Patch 7.4.1821 (after 7.4.1820)
11235Problem: Test fails on MS-Windows.
11236Solution: Sort the completion results.
11237Files: src/testdir/test_help_tagjump.vim
11238
11239Patch 7.4.1822
11240Problem: Redirecting stdout of a channel to "null" doesn't work. (Nicola)
11241Solution: Correct the file descriptor number.
11242Files: src/os_unix.c
11243
11244Patch 7.4.1823
11245Problem: Warning from 64 bit compiler.
11246Solution: Add type cast. (Mike Williams)
11247Files: src/quickfix.c
11248
11249Patch 7.4.1824
11250Problem: When a job is no longer referenced and does not have an exit
Bram Moolenaar09521312016-08-12 22:54:35 +020011251 callback the process may hang around in defunct state. (Nicola)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011252Solution: Call job_status() if the job is running and won't get freed
11253 because it might still be useful.
11254Files: src/channel.c
11255
11256Patch 7.4.1825
11257Problem: When job writes to buffer nothing is written. (Nicola)
11258Solution: Do not discard a channel before writing is done.
11259Files: src/channel.c
11260
11261Patch 7.4.1826
11262Problem: Callbacks are invoked when it's not safe. (Andrew Stewart)
11263Solution: When a channel is to be closed don't invoke callbacks right away,
11264 wait for a safe moment.
11265Files: src/structs.h, src/channel.c
11266
11267Patch 7.4.1827
11268Problem: No error when invoking a callback when it's not safe.
11269Solution: Add an error message. Avoid the error when freeing a channel.
11270Files: src/structs.h, src/channel.c
11271
11272Patch 7.4.1828
11273Problem: May try to access buffer that's already freed.
11274Solution: When freeing a buffer remove it from any channel.
11275Files: src/buffer.c, src/channel.c, src/proto/channel.pro
11276
11277Patch 7.4.1829 (after 7.4.1828)
11278Problem: No message on channel log when buffer was freed.
11279Solution: Log a message.
11280Files: src/channel.c
11281
11282Patch 7.4.1830
11283Problem: non-antialiased misnamed.
11284Solution: Use NONANTIALIASED and NONANTIALIASED_QUALITY. (Kim Brouer,
11285 closes #793)
11286Files: src/os_mswin.c, runtime/doc/options.txt
11287
11288Patch 7.4.1831
11289Problem: When timer_stop() is called with a string there is no proper error
11290 message.
11291Solution: Require getting a number. (Bjorn Linse)
11292Files: src/eval.c
11293
11294Patch 7.4.1832
11295Problem: Memory leak in debug commands.
11296Solution: Free memory before overwriting the pointer. (hint by Justin Keyes)
11297Files: src/ex_cmds2.c
11298
11299Patch 7.4.1833
11300Problem: Cannot use an Ex command for 'keywordprg'.
11301Solution: Accept an Ex command. (Nelo-Thara Wallus)
11302Files: src/normal.c, runtime/doc/options.txt
11303
11304Patch 7.4.1834
11305Problem: Possible crash when conceal is active.
11306Solution: Check for the screen to be valid when redrawing a line.
11307Files: src/screen.c
11308
11309Patch 7.4.1835
11310Problem: When splitting and closing a window the status height changes.
11311Solution: Compute the frame height correctly. (Hirohito Higashi)
11312Files: src/window.c, src/testdir/test_alot.vim,
11313 src/testdir/test_window_cmd.vim
11314
11315Patch 7.4.1836
11316Problem: When using a partial on a dictionary it always gets bound to that
11317 dictionary.
11318Solution: Make a difference between binding a function to a dictionary
11319 explicitly or automatically.
11320Files: src/structs.h, src/eval.c, src/testdir/test_partial.vim,
11321 runtime/doc/eval.txt
11322
11323Patch 7.4.1837
11324Problem: The BufUnload event is triggered twice, when :bunload is used with
11325 `bufhidden` set to `unload` or `delete`.
11326Solution: Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi)
11327Files: src/buffer.c, src/testdir/test_autocmd.vim
11328
11329Patch 7.4.1838
11330Problem: Functions specifically for testing do not sort together.
11331Solution: Rename garbagecollect_for_testing() to test_garbagecollect_now().
11332 Add test_null_list(), test_null_dict(), etc.
11333Files: src/eval.c, src/testdir/test_expr.vim,
11334 src/testdir/test_channel.vim, runtime/doc/eval.txt
11335
11336Patch 7.4.1839
11337Problem: Cannot get the items stored in a partial.
11338Solution: Support using get() on a partial.
11339Files: src/eval.c, src/testdir/test_partial.vim, runtime/doc/eval.txt
11340
11341Patch 7.4.1840
11342Problem: When using packages an "after" directory cannot be used.
11343Solution: Add the "after" directory of the package to 'runtimepath' if it
11344 exists.
11345Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
11346
11347Patch 7.4.1841
11348Problem: The code to reallocate the buffer used for quickfix is repeated.
11349Solution: Move the code to a function. (Yegappan Lakshmanan, closes #831)
11350Files: src/quickfix.c, src/testdir/test_quickfix.vim
11351
11352Patch 7.4.1842 (after 7.4.1839)
11353Problem: get() works for Partial but not for Funcref.
11354Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov)
11355Files: src/eval.c, src/testdir/test_partial.vim, runtime/doc/eval.txt
11356
11357Patch 7.4.1843
11358Problem: Tests involving Python are flaky.
11359Solution: Set the pt_auto field. Add tests. (Nikolai Pavlov)
11360Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in,
11361 src/testdir/test86.ok, src/testdir/test87.in,
11362 src/testdir/test87.ok
11363
11364Patch 7.4.1844
11365Problem: Using old function name in comment. More functions should start
11366 with test_.
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011367Solution: Rename function in comment. (Hirohito Higashi) Rename
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011368 disable_char_avail_for_testing() to test_disable_char_avail().
11369 And alloc_fail() to test_alloc_fail().
11370Files: src/eval.c, src/getchar.c, src/testdir/runtest.vim,
11371 src/testdir/test_cursor_func.vim, src/testdir/test_quickfix.vim,
11372 runtime/doc/eval.txt
11373
11374Patch 7.4.1845
11375Problem: Mentioning NetBeans when reading from channel. (Ramel Eshed)
11376Solution: Make the text more generic.
11377Files: src/channel.c
11378
11379Patch 7.4.1846
11380Problem: Ubsan detects a multiplication overflow.
11381Solution: Don't use orig_mouse_time when it's zero. (Dominique Pelle)
11382Files: src/term.c
11383
11384Patch 7.4.1847
11385Problem: Getting an item from a NULL dict crashes. Setting a register to a
11386 NULL list crashes. (Nikolai Pavlov, issue #768) Comparing a NULL
11387 dict with a NULL dict fails.
11388Solution: Properly check for NULL.
11389Files: src/eval.c, src/testdir/test_expr.vim
11390
11391Patch 7.4.1848
11392Problem: Can't build with Strawberry Perl 5.24.
11393Solution: Define S_SvREFCNT_dec() if needed. (Damien, Ken Takata)
11394Files: src/if_perl.xs
11395
11396Patch 7.4.1849
11397Problem: Still trying to read from channel that is going to be closed.
11398 (Ramel Eshed)
11399Solution: Check if ch_to_be_closed is set.
11400Files: src/channel.c
11401
11402Patch 7.4.1850
Bram Moolenaard0796902016-09-16 20:02:31 +020011403Problem: GUI freezes when using a job. (Shougo Matsu)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011404Solution: Unregister the channel when there is an input error.
11405Files: src/channel.c
11406
11407Patch 7.4.1851
Bram Moolenaar09521312016-08-12 22:54:35 +020011408Problem: test_syn_attr fails when using the GUI. (Dominique Pelle)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011409Solution: Escape the font name properly.
11410Files: src/testdir/test_syn_attr.vim
11411
11412Patch 7.4.1852
11413Problem: Unix: Cannot run all tests with the GUI.
11414Solution: Add the "testgui" target.
11415Files: src/Makefile, src/testdir/Makefile
11416
11417Patch 7.4.1853
11418Problem: Crash when job and channel are in the same dict while using
11419 partials. (Luc Hermitte)
11420Solution: Do not decrement the channel reference count too early.
11421Files: src/channel.c
11422
11423Patch 7.4.1854
11424Problem: When setting 'termguicolors' the Ignore highlighting doesn't work.
11425 (Charles Campbell)
11426Solution: Handle the color names "fg" and "bg" when the GUI isn't running
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011427 and no colors are specified, fall back to black and white.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011428Files: src/syntax.c
11429
11430Patch 7.4.1855
11431Problem: Valgrind reports memory leak for job that is not freed.
11432Solution: Free all jobs on exit. Add test for failing job.
11433Files: src/channel.c, src/misc2.c, src/proto/channel.pro,
11434 src/testdir/test_partial.vim
11435
11436Patch 7.4.1856 (after 7.4.1855)
11437Problem: failing job test fails on MS-Windows.
11438Solution: Expect "fail" status instead of "dead".
11439Files: src/testdir/test_partial.vim
11440
11441Patch 7.4.1857
11442Problem: When a channel appends to a buffer that is 'nomodifiable' there is
11443 an error but appending is done anyway.
11444Solution: Add the 'modifiable' option. Refuse to write to a 'nomodifiable'
11445 when the value is 1.
11446Files: src/structs.h, src/channel.c, src/testdir/test_channel.vim,
11447 runtime/doc/channel.txt
11448
11449Patch 7.4.1858
11450Problem: When a channel writes to a buffer it doesn't find a buffer by the
11451 short name but re-uses it anyway.
11452Solution: Find buffer also by the short name.
11453Files: src/channel.c, src/buffer.c, src/vim.h
11454
11455Patch 7.4.1859
11456Problem: Cannot use a function reference for "exit_cb".
11457Solution: Use get_callback(). (Yegappan Lakshmanan)
11458Files: src/channel.c, src/structs.h
11459
11460Patch 7.4.1860
11461Problem: Using a partial for timer_start() may cause a crash.
11462Solution: Set the copyID in timer objects. (Ozaki Kiichi)
11463Files: src/testdir/test_timers.vim, src/eval.c, src/ex_cmds2.c,
11464 src/proto/ex_cmds2.pro
11465
11466Patch 7.4.1861
11467Problem: Compiler warnings with 64 bit compiler.
Bram Moolenaar09521312016-08-12 22:54:35 +020011468Solution: Change int to size_t. (Mike Williams)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011469Files: src/ex_cmds2.c
11470
11471Patch 7.4.1862
11472Problem: string() with repeated argument does not give a result usable by
11473 eval().
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011474Solution: Refactor echo_string and tv2string(), moving the common part to
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011475 echo_string_core(). (Ken Takata)
11476Files: src/eval.c, src/testdir/test_viml.vim, src/testdir/test86.ok,
11477 src/testdir/test87.ok
11478
11479Patch 7.4.1863
11480Problem: Compiler warnings on Win64.
11481Solution: Adjust types, add type casts. (Ken Takata)
11482Files: src/if_mzsch.c, src/if_perl.xs, src/if_ruby.c, src/version.c
11483
11484Patch 7.4.1864
11485Problem: Python: encoding error with Python 2.
11486Solution: Use "getcwdu" instead of "getcwd". (Ken Takata)
11487Files: src/if_py_both.h
11488
11489Patch 7.4.1865
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011490Problem: Memory leaks in test49. (Dominique Pelle)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011491Solution: Use NULL instead of an empty string.
11492Files: src/eval.c
11493
11494Patch 7.4.1866
11495Problem: Invalid memory access when exiting with EXITFREE defined.
11496 (Dominique Pelle)
11497Solution: Set "really_exiting" and skip error messages.
11498Files: src/misc2.c, src/eval.c
11499
11500Patch 7.4.1867
11501Problem: Memory leak in test_matchstrpos.
11502Solution: Free the string before overwriting. (Yegappan Lakshmanan)
11503Files: src/eval.c
11504
11505Patch 7.4.1868
11506Problem: Setting really_exiting causes memory leaks to be reported.
11507Solution: Add the in_free_all_mem flag.
11508Files: src/globals.h, src/misc2.c, src/eval.c
11509
11510Patch 7.4.1869
11511Problem: Can't build with old version of Perl.
11512Solution: Define PERLIO_FUNCS_DECL. (Tom G. Christensen)
11513Files: src/if_perl.xs
11514
11515Patch 7.4.1870 (after 7.4.1863)
11516Problem: One more Win64 compiler warning.
11517Solution: Change declared argument type. (Ken Takata)
11518Files: src/if_mzsch.c
11519
11520Patch 7.4.1871
11521Problem: Appending to the quickfix list while the quickfix window is open
11522 is very slow.
11523Solution: Do not delete all the lines, only append the new ones. Avoid
11524 using a window while updating the list. (closes #841)
11525Files: src/quickfix.c
11526
11527Patch 7.4.1872
11528Problem: Still build problem with old version of Perl.
11529Solution: Also define SvREFCNT_inc_void_NN if needed. (Tom G. Christensen)
11530Files: src/if_perl.xs
11531
11532Patch 7.4.1873
11533Problem: When a callback adds a timer the GUI doesn't use it until later.
11534 (Ramel Eshed)
11535Solution: Return early if a callback adds a timer.
11536Files: src/ex_cmds2.c, src/gui_gtk_x11.c, src/gui_w32.c, src/gui_x11.c,
11537 src/globals.h
11538
11539Patch 7.4.1874
11540Problem: Unused variable in Win32 code.
11541Solution: Remove it. (Mike Williams)
11542Files: src/gui_w32.c
11543
11544Patch 7.4.1875
11545Problem: Comparing functions and partials doesn't work well.
11546Solution: Add tests. (Nikolai Pavlov) Compare the dict and arguments in the
11547 partial. (closes #813)
11548Files: src/eval.c, src/testdir/test_partial.vim
11549
11550Patch 7.4.1876
11551Problem: Typing "k" at the hit-enter prompt has no effect.
11552Solution: Don't assume recursive use of the prompt if a character was typed.
11553 (Hirohito Higashi)
11554Files: src/message.c
11555
11556Patch 7.4.1877
11557Problem: No test for invoking "close_cb" when writing to a buffer.
11558Solution: Add using close_cb to a test case.
11559Files: src/testdir/test_channel.vim
11560
11561Patch 7.4.1878
11562Problem: Whether a job has exited isn't detected until a character is
11563 typed. After calling exit_cb the cursor is in the wrong place.
11564Solution: Don't wait forever for a character to be typed when there is a
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011565 pending job. Update the screen if needed after calling exit_cb.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011566Files: src/os_unix.c, src/channel.c, src/proto/channel.pro
11567
11568Patch 7.4.1879 (after 7.4.1877)
11569Problem: Channel test is flaky.
11570Solution: Wait for close_cb to be invoked.
11571Files: src/testdir/test_channel.vim
11572
11573Patch 7.4.1880
11574Problem: MS-Windows console build defaults to not having +channel.
11575Solution: Include the channel feature if building with huge features.
11576Files: src/Make_mvc.mak
11577
11578Patch 7.4.1881
11579Problem: Appending to a long quickfix list is slow.
11580Solution: Add qf_last.
11581Files: src/quickfix.c
11582
11583Patch 7.4.1882
11584Problem: Check for line break at end of line wrong. (Dominique Pelle)
11585Solution: Correct the logic.
11586Files: src/quickfix.c
11587
11588Patch 7.4.1883
11589Problem: Cppcheck found 2 incorrect printf formats.
11590Solution: Use %ld and %lx. (Dominique Pelle)
11591Files: src/VisVim/Commands.cpp, src/gui_mac.c
11592
11593Patch 7.4.1884
11594Problem: Updating marks in a quickfix list is very slow when the list is
11595 long.
11596Solution: Only update marks if the buffer has a quickfix entry.
11597Files: src/structs.h, src/quickfix.c
11598
11599Patch 7.4.1885
11600Problem: MinGW console build defaults to not having +channel.
11601Solution: Include the channel feature if building with huge features. (Ken
11602 Takata)
11603Files: src/Make_cyg_ming.mak
11604
11605Patch 7.4.1886
11606Problem: When waiting for a character is interrupted by receiving channel
11607 data and the first character of a mapping was typed, the mapping
11608 times out. (Ramel Eshed)
11609Solution: When dealing with channel data don't return from mch_inchar().
11610Files: src/getchar.c, src/proto/getchar.pro, src/os_unix.c
11611
11612Patch 7.4.1887
11613Problem: When receiving channel data 'updatetime' is not respected.
11614Solution: Recompute the waiting time after being interrupted.
11615Files: src/os_unix.c
11616
11617Patch 7.4.1888
11618Problem: Wrong computation of remaining wait time in RealWaitForChar()
11619Solution: Remember the original waiting time.
11620Files: src/os_unix.c
11621
11622Patch 7.4.1889
11623Problem: When umask is set to 0177 Vim can't create temp files. (Lcd)
11624Solution: Also correct umask when using mkdtemp().
11625Files: src/fileio.c
11626
11627Patch 7.4.1890
11628Problem: GUI: When channel data is received the cursor blinking is
11629 interrupted. (Ramel Eshed)
11630Solution: Don't update the cursor when it is blinking.
11631Files: src/screen.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
11632 src/gui_mac.c, src/proto/gui_mac.pro, src/gui_photon.c,
11633 src/proto/gui_photon.pro, src/gui_w32.c, src/proto/gui_w32.pro,
11634 src/gui_x11.c, src/proto/gui_x11.pro
11635
11636Patch 7.4.1891
11637Problem: Channel reading very long lines is slow.
11638Solution: Collapse multiple buffers until a NL is found.
11639Files: src/channel.c, src/netbeans.c, src/proto/channel.pro,
11640 src/structs.h
11641
11642Patch 7.4.1892
11643Problem: balloon eval only gets the window number, not the ID.
11644Solution: Add v:beval_winid.
11645Files: src/eval.c, src/gui_beval.c, src/vim.h
11646
11647Patch 7.4.1893
11648Problem: Cannot easily get the window ID for a buffer.
11649Solution: Add bufwinid().
11650Files: src/eval.c, runtime/doc/eval.txt
11651
11652Patch 7.4.1894
11653Problem: Cannot get the window ID for a mouse click.
11654Solution: Add v:mouse_winid.
11655Files: src/eval.c, src/vim.h, runtime/doc/eval.txt
11656
11657Patch 7.4.1895
11658Problem: Cannot use a window ID where a window number is expected.
11659Solution: Add LOWEST_WIN_ID, so that the window ID can be used where a
11660 number is expected.
11661Files: src/window.c, src/eval.c, src/vim.h, runtime/doc/eval.txt,
11662 src/testdir/test_window_id.vim
11663
11664Patch 7.4.1896
11665Problem: Invoking mark_adjust() when adding a new line below the last line
11666 is pointless.
11667Solution: Skip calling mark_adjust() when appending below the last line.
11668Files: src/misc1.c, src/ops.c
11669
11670Patch 7.4.1897
11671Problem: Various typos, long lines and style mistakes.
11672Solution: Fix the typos, wrap lines, improve style.
11673Files: src/buffer.c, src/ex_docmd.c, src/getchar.c, src/option.c,
11674 src/main.aap, src/testdir/README.txt,
11675 src/testdir/test_reltime.vim, src/testdir/test_tagjump.vim,
11676 src/INSTALL, src/config.aap.in, src/if_mzsch.c
11677
11678Patch 7.4.1898
11679Problem: User commands don't support modifiers.
11680Solution: Add the <mods> item. (Yegappan Lakshmanan, closes #829)
11681Files: runtime/doc/map.txt, src/ex_docmd.c, src/testdir/Make_all.mak,
11682 src/testdir/test_usercommands.vim
11683
11684Patch 7.4.1899
11685Problem: GTK 3: cursor blinking doesn't work well.
11686Solution: Instead of gui_gtk_window_clear() use gui_mch_clear_block().
11687 (Kazunobu Kuriyama)
11688Files: src/gui_gtk_x11.c
11689
11690Patch 7.4.1900
11691Problem: Using CTRL-] in the help on "{address}." doesn't work.
11692Solution: Recognize an item in {}. (Hirohito Higashi, closes #814)
11693Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim
11694
11695Patch 7.4.1901
11696Problem: Win32: the "Disabled" menu items would appear enabled.
11697Solution: Use submenu_id if there is a parent. (Shane Harper, closes #834)
11698Files: src/gui_w32.c
11699
11700Patch 7.4.1902
11701Problem: No test for collapsing buffers for a channel. Some text is lost.
11702Solution: Add a simple test. Set rq_buflen correctly.
11703Files: src/channel.c, src/testdir/test_channel.vim,
11704 src/testdir/test_channel_pipe.py
11705
11706Patch 7.4.1903
11707Problem: When writing viminfo merging current history with history in
11708 viminfo may drop recent history entries.
11709Solution: Add new format for viminfo lines, use it for history entries. Use
11710 a timestamp for ordering the entries. Add test_settime().
11711 Add the viminfo version. Does not do merging on timestamp yet.
11712Files: src/eval.c, src/ex_getln.c, src/ex_cmds.c, src/structs.h,
11713 src/globals.h, src/proto/ex_cmds.pro, src/proto/ex_getln.pro,
11714 src/testdir/test_viminfo.vim
11715
11716Patch 7.4.1904 (after 7.4.1903)
11717Problem: Build fails.
11718Solution: Add missing changes.
11719Files: src/vim.h
11720
11721Patch 7.4.1905 (after 7.4.1903)
11722Problem: Some compilers can't handle a double semicolon.
11723Solution: Remove one semicolon.
11724Files: src/ex_cmds.c
11725
11726Patch 7.4.1906
11727Problem: Collapsing channel buffers and searching for NL does not work
Bram Moolenaar09521312016-08-12 22:54:35 +020011728 properly. (Xavier de Gaye, Ramel Eshed)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011729Solution: Do not assume the buffer contains a NUL or not. Change NUL bytes
11730 to NL to avoid the string is truncated.
11731Files: src/channel.c, src/netbeans.c, src/proto/channel.pro
11732
11733Patch 7.4.1907
11734Problem: Warnings from 64 bit compiler.
11735Solution: Change type to size_t. (Mike Williams)
11736Files: src/ex_cmds.c
11737
11738Patch 7.4.1908
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011739Problem: Netbeans uses uninitialized pointer and freed memory.
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011740Solution: Set "buffer" at the right place (hint by Ken Takata)
11741Files: src/netbeans.c
11742
11743Patch 7.4.1909
11744Problem: Doubled semicolons.
11745Solution: Reduce to one. (Dominique Pelle)
11746Files: src/dosinst.c, src/fold.c, src/gui_gtk_x11.c, src/gui_w32.c,
11747 src/main.c, src/misc2.c
11748
11749Patch 7.4.1910
11750Problem: Tests using external command to delete directory.
11751Solution: Use delete().
11752Files: src/testdir/test17.in, src/testdir/test73.in,
11753 src/testdir/test_getcwd.in
11754
11755Patch 7.4.1911
11756Problem: Recent history lines may be lost when exiting Vim.
11757Solution: Merge history using the timestamp.
11758Files: src/ex_getln.c, src/ex_cmds.c, src/vim.h, src/proto/ex_getln.pro,
11759 src/testdir/test_viminfo.vim
11760
11761Patch 7.4.1912
11762Problem: No test for using setqflist() on an older quickfix list.
11763Solution: Add a couple of tests.
11764Files: src/testdir/test_quickfix.vim
11765
11766Patch 7.4.1913
11767Problem: When ":doautocmd" is used modelines are used even when no
11768 autocommands were executed. (Daniel Hahler)
11769Solution: Skip processing modelines. (closes #854)
11770Files: src/fileio.c, src/ex_cmds.c, src/ex_docmd.c, src/proto/fileio.pro
11771
11772Patch 7.4.1914
11773Problem: Executing autocommands while using the signal stack has a high
11774 chance of crashing Vim.
11775Solution: Don't invoke autocommands when on the signal stack.
11776Files: src/os_unix.c
11777
11778Patch 7.4.1915
11779Problem: The effect of the PopupMenu autocommand isn't directly visible.
11780Solution: Call gui_update_menus() before displaying the popup menu. (Shane
Bram Moolenaar01164a62017-11-02 22:58:42 +010011781 Harper, closes #855)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011782Files: src/menu.c
11783
11784Patch 7.4.1916 (after 7.4.1906)
11785Problem: No proper test for what 7.4.1906 fixes.
11786Solution: Add a test for reading many lines.
11787Files: src/testdir/test_channel.vim
11788
11789Patch 7.4.1917
11790Problem: History lines read from viminfo in different encoding than when
11791 writing are not converted.
11792Solution: Convert the history lines.
11793Files: src/ex_cmds.c, src/testdir/test_viminfo.vim
11794
11795Patch 7.4.1918
11796Problem: Not enough testing for parsing viminfo lines.
11797Solution: Add test with viminfo lines in bad syntax. Fix memory leak.
11798Files: src/ex_cmds.c, src/ex_getln.c, src/testdir/test_viminfo.vim
11799
11800Patch 7.4.1919
11801Problem: Register contents is not merged when writing viminfo.
11802Solution: Use timestamps for register contents.
11803Files: src/ops.c, src/ex_getln.c, src/ex_cmds.c, src/proto/ex_cmds.pro,
11804 src/proto/ex_getln.pro, src/proto/ops.pro, src/vim.h
11805
11806Patch 7.4.1920 (after 7.4.1919)
11807Problem: Missing test changes.
11808Solution: Update viminfo test.
11809Files: src/testdir/test_viminfo.vim
11810
11811Patch 7.4.1921 (after 7.4.1919)
11812Problem: vim_time() not included when needed.
11813Solution: Adjust #ifdef.
11814Files: src/ex_cmds.c
11815
11816Patch 7.4.1922
11817Problem: Ruby 2.4.0 unifies Fixnum and Bignum into Integer.
Bram Moolenaar09521312016-08-12 22:54:35 +020011818Solution: Use rb_cInteger. (Weiyong Mao)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011819Files: src/if_ruby.c
11820
11821Patch 7.4.1923
11822Problem: Command line editing is not tested much.
11823Solution: Add tests for expanding the file name and 'wildmenu'.
11824Files: src/testdir/test_cmdline.vim, src/testdir/Make_all.mak
11825
11826Patch 7.4.1924
11827Problem: Missing "void" for functions without argument.
11828Solution: Add "void". (Hirohito Higashi)
11829Files: src/channel.c, src/edit.c, src/ex_cmds2.c, src/ops.c, src/screen.c
11830
11831Patch 7.4.1925
11832Problem: Viminfo does not merge file marks properly.
11833Solution: Use a timestamp. Add the :clearjumps command.
11834Files: src/mark.c, src/ex_cmds.c, src/ex_docmd.c, src/proto/mark.pro,
11835 src/structs.h, src/vim.h, src/ex_cmds.h,
11836 src/testdir/test_viminfo.vim
11837
11838Patch 7.4.1926
11839Problem: Possible crash with many history items.
11840Solution: Avoid the index going past the last item.
11841Files: src/ex_getln.c
11842
11843Patch 7.4.1927
11844Problem: Compiler warning for signed/unsigned.
11845Solution: Add type cast.
11846Files: src/if_mzsch.c
11847
11848Patch 7.4.1928
11849Problem: Overwriting pointer argument.
11850Solution: Assign to what it points to. (Dominique Pelle)
11851Files: src/fileio.c
11852
11853Patch 7.4.1929
11854Problem: Inconsistent indenting and weird name.
11855Solution: Fix indent, make name all upper case. (Ken Takata)
11856Files: src/if_ruby.c
11857
11858Patch 7.4.1930
11859Problem: Can't build without +spell but with +quickfix. (Charles)
11860Solution: Add better #ifdef around ml_append_buf(). (closes #864)
11861Files: src/memline.c
11862
11863Patch 7.4.1931
11864Problem: Using both old and new style file mark lines from viminfo.
11865Solution: Skip the old style lines if the viminfo file was written with a
11866 Vim version that supports the new style.
11867Files: src/ex_cmds.c
11868
11869Patch 7.4.1932
11870Problem: When writing viminfo the jumplist is not merged with the one in
11871 the viminfo file.
11872Solution: Merge based on timestamp.
11873Files: src/mark.c, src/testdir/test_viminfo.vim
11874
11875Patch 7.4.1933
Bram Moolenaarbc8801c2016-08-02 21:04:33 +020011876Problem: Compiler warning about uninitialized variable. (Yegappan)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020011877Solution: Give it a dummy value.
11878Files: src/ex_getln.c
11879
11880Patch 7.4.1934
11881Problem: New style tests not executed with MinGW compiler.
11882Solution: Add new style test support. (Yegappan Lakshmanan)
11883Files: src/testdir/Make_ming.mak
11884
11885Patch 7.4.1935
11886Problem: When using the GUI search/replace a second match right after the
11887 replacement is skipped.
11888Solution: Add the SEARCH_START flag. (Mleddy)
11889Files: src/gui.c
11890
11891Patch 7.4.1936
11892Problem: Off-by-one error in bounds check. (Coverity)
11893Solution: Check register number properly.
11894Files: src/ops.c
11895
11896Patch 7.4.1937
11897Problem: No test for directory stack in quickfix.
11898Solution: Add a test. (Yegappan Lakshmanan)
11899Files: src/testdir/test_quickfix.vim
11900
11901Patch 7.4.1938
11902Problem: When writing viminfo numbered marks were duplicated.
11903Solution: Check for duplicates between current numbered marks and the ones
11904 read from viminfo.
11905Files: src/mark.c
11906
11907Patch 7.4.1939
11908Problem: Memory access error when reading viminfo. (Dominique Pelle)
11909Solution: Correct index in jumplist when at the end.
11910Files: src/mark.c, src/testdir/test_viminfo.vim
11911
11912Patch 7.4.1940
11913Problem: "gd" hangs in some situations. (Eric Biggers)
11914Solution: Remove the SEARCH_START flag when looping. Add a test.
11915Files: src/normal.c, src/testdir/test_goto.vim
11916
11917Patch 7.4.1941
11918Problem: Not all quickfix tests are also done with the location lists.
11919Solution: Test more quickfix code. Use user commands instead of "exe".
11920 (Yegappan Lakshmanan)
11921Files: src/testdir/test_quickfix.vim
11922
11923Patch 7.4.1942
11924Problem: Background is not drawn properly when 'termguicolors' is set.
11925Solution: Check cterm_normal_bg_color. (Jacob Niehus, closes #805)
11926Files: src/screen.c
11927
11928Patch 7.4.1943
11929Problem: Coverity warns for unreachable code.
11930Solution: Remove the code that won't do anything.
11931Files: src/mark.c
11932
11933Patch 7.4.1944
11934Problem: Win32: Cannot compile with XPM feature using VC2015
11935Solution: Add XPM libraries compiled with VC2015, and enable to build
11936 gvim.exe which supports XPM using VC2015. (Ken Takata)
11937Files: src/Make_mvc.mak, src/xpm/x64/lib-vc14/libXpm.lib,
11938 src/xpm/x86/lib-vc14/libXpm.lib
11939
11940Patch 7.4.1945
11941Problem: The Man plugin doesn't work that well.
11942Solution: Use "g:ft_man_open_mode" to be able open man pages in vert split
11943 or separate tab. Set nomodifiable for buffer with man content. Add
11944 a test. (Andrey Starodubtsev, closes #873)
11945Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim,
11946 src/testdir/Make_all.mak
11947
11948Patch 7.4.1946 (after 7.4.1944)
11949Problem: File list does not include new XPM libraries.
11950Solution: Add the file list entries.
11951Files: Filelist
11952
11953Patch 7.4.1947
11954Problem: Viminfo continuation line with wrong length isn't skipped. (Marius
11955 Gedminas)
11956Solution: Skip a line when encountering an error, but not two lines.
11957Files: src/ex_cmds.c
11958
11959Patch 7.4.1948
11960Problem: Using Ctrl-A with double-byte encoding may result in garbled text.
11961Solution: Skip to the start of a character. (Hirohito Higashi)
11962Files: src/ops.c
11963
11964Patch 7.4.1949
11965Problem: Minor problems with the quickfix code.
11966Solution: Fix the problems. (Yegappan Lakshmanan)
11967Files: src/quickfix.c, src/testdir/test_quickfix.vim
11968
11969Patch 7.4.1950
11970Problem: Quickfix long lines test not executed for buffer.
11971Solution: Call the function to test long lines. (Yegappan Lakshmanan)
11972Files: src/testdir/test_quickfix.vim
11973
11974Patch 7.4.1951
11975Problem: Ruby test is old style.
11976Solution: Convert to a new style test. (Ken Takata)
11977Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_ruby.in,
11978 src/testdir/test_ruby.ok, src/testdir/test_ruby.vim
11979
11980Patch 7.4.1952
11981Problem: Cscope interface does not support finding assignments.
11982Solution: Add the "a" command. (ppettina, closes #882)
11983Files: runtime/doc/if_cscop.txt, src/if_cscope.c
11984
11985Patch 7.4.1953
11986Problem: Not all parts of the quickfix code are tested.
11987Solution: Add more tests. (Yegappan Lakshmanan)
11988Files: src/testdir/samples/quickfix.txt,
11989 src/testdir/test_quickfix.vim
11990
11991Patch 7.4.1954 (after 7.4.1948)
11992Problem: No test for what 7.4.1948 fixes.
11993Solution: Add a test. (Hirohito Higashi, closes #880)
11994Files: src/Makefile, src/testdir/Make_all.mak,
11995 src/testdir/test_increment_dbcs.vim
11996
11997Patch 7.4.1955
11998Problem: Using 32-bit Perl with 64-bit time_t causes memory corruption.
11999 (Christian Brabandt)
12000Solution: Use time_T instead of time_t for global variables. (Ken Takata)
12001Files: src/ex_cmds.c, src/globals.h, src/misc2.c, src/proto/ex_cmds.pro,
12002 src/proto/misc2.pro, src/structs.h, src/vim.h
12003
12004Patch 7.4.1956
12005Problem: When using CTRL-W f and pressing "q" at the ATTENTION dialog the
12006 newly opened window is not closed.
12007Solution: Close the window and go back to the original one. (Norio Takagi,
12008 Hirohito Higashi)
12009Files: src/window.c, src/testdir/test_window_cmd.vim
12010
12011Patch 7.4.1957
12012Problem: Perl interface has obsolete workaround.
12013Solution: Remove the workaround added by 7.3.623. (Ken Takata)
12014Files: src/if_perl.xs
12015
12016Patch 7.4.1958
12017Problem: Perl interface preprocessor statements not nicely indented.
12018Solution: Improve the indenting. (Ken Takata)
12019Files: src/if_perl.xs
12020
12021Patch 7.4.1959
12022Problem: Crash when running test_channel.vim on Windows.
12023Solution: Check for NULL pointer result from FormatMessage(). (Christian
12024 Brabandt)
12025Files: src/channel.c
12026
12027Patch 7.4.1960
12028Problem: Unicode standard 9 was released.
12029Solution: Update the character property tables. (Christian Brabandt)
12030Files: src/mbyte.c
12031
12032Patch 7.4.1961
12033Problem: When 'insertmode' is reset while doing completion the popup menu
12034 remains even though Vim is in Normal mode.
12035Solution: Ignore stop_insert_mode when the popup menu is visible. Don't set
12036 stop_insert_mode when 'insertmode' was already off. (Christian
12037 Brabandt)
12038Files: src/edit.c, src/option.c, src/Makefile, src/testdir/test_alot.vim,
12039 src/testdir/test_popup.vim
12040
12041Patch 7.4.1962
12042Problem: Two test files for increment/decrement.
12043Solution: Move the old style test into the new style test. (Hirohito
12044 Higashi, closes #881)
12045Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/main.aap,
12046 src/testdir/test35.in, src/testdir/test35.ok,
12047 src/testdir/test_increment.vim
12048
12049Patch 7.4.1963
12050Problem: Running Win32 Vim in mintty does not work.
12051Solution: Detect mintty and give a helpful error message. (Ken Takata)
12052Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/iscygpty.c,
12053 src/iscygpty.h, src/main.c, Filelist
12054
12055Patch 7.4.1964
12056Problem: The quickfix init function is too big.
12057Solution: Factor out parsing 'errorformat' to a separate function. (Yegappan
12058 Lakshmanan)
12059Files: src/quickfix.c
12060
12061Patch 7.4.1965
12062Problem: When using a job in raw mode to append to a buffer garbage
12063 characters are added.
12064Solution: Do not replace the trailing NUL with a NL. (Ozaki Kiichi)
12065Files: src/channel.c, src/testdir/test_channel.vim
12066
12067Patch 7.4.1966
12068Problem: Coverity reports a resource leak.
12069Solution: Close "fd" also when bailing out.
12070Files: src/quickfix.c
12071
12072Patch 7.4.1967
12073Problem: Falling back from NFA to old regexp engine does not work properly.
12074 (fritzophrenic)
12075Solution: Do not restore nfa_match. (Christian Brabandt, closes #867)
12076Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok
12077
12078Patch 7.4.1968
12079Problem: Invalid memory access with "\<C-">.
12080Solution: Do not recognize this as a special character. (Dominique Pelle)
12081Files: src/misc2.c, src/testdir/test_expr.vim
12082
12083Patch 7.4.1969
12084Problem: When the netbeans channel is closed consuming the buffer may cause
12085 a crash.
12086Solution: Check for nb_channel not to be NULL. (Xavier de Gaye)
12087Files: src/netbeans.c
12088
12089Patch 7.4.1970
12090Problem: Using ":insert" in an empty buffer sets the jump mark. (Ingo
12091 Karkat)
12092Solution: Don't adjust marks when replacing the empty line in an empty
12093 buffer. (closes #892)
12094Files: src/ex_cmds.c, src/testdir/test_jumps.vim,
12095 src/testdir/test_alot.vim
12096
12097Patch 7.4.1971
12098Problem: It is not easy to see unrecognized error lines below the current
12099 error position.
12100Solution: Add ":clist +count".
12101Files: src/quickfix.c, runtime/doc/quickfix.txt
12102
12103Patch 7.4.1972
12104Problem: On Solaris select() does not work as expected when there is
12105 typeahead.
12106Solution: Add ICANON when sleeping. (Ozaki Kiichi)
12107Files: src/os_unix.c
12108
12109Patch 7.4.1973
12110Problem: On MS-Windows the package directory may be added at the end
12111 because of forward/backward slash differences. (Matthew
12112 Desjardins)
12113Solution: Ignore slash differences.
12114Files: src/ex_cmds2.c
12115
12116Patch 7.4.1974
12117Problem: GUI has a problem with some termcodes.
12118Solution: Handle negative numbers. (Kazunobu Kuriyama)
12119Files: src/gui.c
12120
12121Patch 7.4.1975
12122Problem: On MS-Windows large files (> 2Gbyte) cause problems.
12123Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct
12124 stat". Use 64 bit system functions if available. (Ken Takata)
12125Files: src/Makefile, src/buffer.c, src/diff.c, src/eval.c, src/ex_cmds.c,
12126 src/ex_cmds2.c, src/fileio.c, src/gui.c, src/gui_at_fs.c,
12127 src/if_cscope.c, src/main.c, src/memfile.c, src/memline.c,
12128 src/misc1.c, src/misc2.c, src/netbeans.c, src/os_mswin.c,
12129 src/os_win32.c, src/proto/fileio.pro, src/proto/memline.pro,
12130 src/proto/os_mswin.pro, src/pty.c, src/quickfix.c, src/spell.c,
12131 src/structs.h, src/tag.c, src/testdir/Make_all.mak,
12132 src/testdir/test_largefile.vim, src/testdir/test_stat.vim,
12133 src/undo.c, src/vim.h
12134
12135Patch 7.4.1976
12136Problem: Number variables are not 64 bits while they could be.
12137Solution: Add the num64 feature. (Ken Takata, Yasuhiro Matsumoto)
12138Files: runtime/doc/eval.txt, runtime/doc/various.txt,
12139 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/charset.c,
12140 src/eval.c, src/ex_cmds.c, src/ex_getln.c, src/feature.h,
12141 src/fileio.c, src/fold.c, src/json.c, src/message.c, src/misc1.c,
12142 src/misc2.c, src/ops.c, src/option.c, src/proto/charset.pro,
12143 src/proto/eval.pro, src/quickfix.c, src/structs.h,
12144 src/testdir/test_viml.vim, src/version.c
12145
12146Patch 7.4.1977
12147Problem: With 64 bit changes don't need three calls to sprintf().
12148Solution: Simplify the code, use vim_snprintf(). (Ken Takata)
12149Files: src/fileio.c
12150
12151Patch 7.4.1978 (after 7.4.1975)
12152Problem: Large file test does not delete its output.
12153Solution: Delete the output. Check size properly when possible. (Ken Takata)
12154Files: src/testdir/test_largefile.vim
12155
12156Patch 7.4.1979 (after 7.4.1976)
12157Problem: Getting value of binary option is wrong. (Kent Sibilev)
12158Solution: Fix type cast. Add a test.
12159Files: src/option.c, src/testdir/test_expr.vim
12160
12161Patch 7.4.1980
12162Problem: 'errorformat' is parsed for every call to ":caddexpr". Can't add
12163 to two location lists asynchronously.
12164Solution: Keep the previously parsed data when appropriate. (mostly by
12165 Yegappan Lakshmanan)
12166Files: src/quickfix.c, src/testdir/test_quickfix.vim
12167
12168Patch 7.4.1981
12169Problem: No testing for Farsi code.
12170Solution: Add a minimal test. Clean up Farsi code.
12171Files: src/farsi.c, src/Makefile, src/charset.c, src/normal.c,
12172 src/proto/main.pro, src/testdir/Make_all.mak,
12173 src/testdir/test_farsi.vim
12174
12175Patch 7.4.1982
12176Problem: Viminfo file contains duplicate change marks.
12177Solution: Drop duplicate marks.
12178Files: src/mark.c
12179
12180Patch 7.4.1983
12181Problem: farsi.c and arabic.c are included in a strange way.
12182Solution: Build them like other files.
12183Files: src/main.c, src/farsi.c, src/arabic.c, src/proto.h,
12184 src/proto/main.pro, src/proto/farsi.pro, src/proto/arabic.pro,
12185 src/Makefile, src/Make_bc5.mak, src/Make_cyg_ming.mak,
12186 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak,
12187 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak,
12188 Filelist
12189
12190Patch 7.4.1984
12191Problem: Not all quickfix features are tested.
12192Solution: Add a few more tests. (Yegappan Lakshmanan)
12193Files: src/testdir/test_quickfix.vim
12194
12195Patch 7.4.1985 (after 7.4.1983)
12196Problem: Missing changes in VMS build file.
12197Solution: Use the right file name.
12198Files: src/Make_vms.mms
12199
12200Patch 7.4.1986
12201Problem: Compiler warns for loss of data.
12202Solution: Use size_t instead of int. (Christian Brabandt)
12203Files: src/ex_cmds2.c
12204
12205Patch 7.4.1987
12206Problem: When copying unrecognized lines for viminfo, end up with useless
12207 continuation lines.
12208Solution: Skip continuation lines.
12209Files: src/ex_cmds.c
12210
12211Patch 7.4.1988
12212Problem: When updating viminfo with file marks there is no time order.
12213Solution: Remember the time when a buffer was last used, store marks for
12214 the most recently used buffers.
12215Files: src/buffer.c, src/structs.h, src/mark.c, src/main.c,
12216 src/ex_cmds.c, src/proto/mark.pro, src/testdir/test_viminfo.vim
12217
12218Patch 7.4.1989
12219Problem: filter() and map() only accept a string argument.
12220Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken
12221 Takata)
12222Files: runtime/doc/eval.txt, src/Makefile, src/eval.c,
12223 src/testdir/test_alot.vim, src/testdir/test_filter_map.vim,
12224 src/testdir/test_partial.vim
12225
12226Patch 7.4.1990 (after 7.4.1952)
12227Problem: Cscope items are not sorted.
12228Solution: Put the new "a" command first. (Ken Takata)
12229Files: src/if_cscope.c
12230
12231Patch 7.4.1991
12232Problem: glob() does not add a symbolic link when there are no wildcards.
12233Solution: Remove the call to mch_getperm().
12234Files: src/misc1.c
12235
12236Patch 7.4.1992
12237Problem: Values for true and false can be confusing.
12238Solution: Update the documentation. Add a test. Make v:true evaluate to
12239 TRUE for a non-zero-arg.
12240Files: runtime/doc/eval.txt, src/eval.c, src/Makefile,
12241 src/testdir/test_true_false.vim, src/testdir/test_alot.vim
12242
12243Patch 7.4.1993
12244Problem: Not all TRUE and FALSE arguments are tested.
12245Solution: Add a few more tests.
12246Files: src/testdir/test_true_false.vim
12247
12248Patch 7.4.1994 (after 7.4.1993)
12249Problem: True-false test fails.
12250Solution: Filter the dict to only keep the value that matters.
12251Files: src/testdir/test_true_false.vim
12252
12253Patch 7.4.1995
12254Problem: GUI: cursor drawn in wrong place if a timer callback causes a
12255 screen update. (David Samvelyan)
12256Solution: Also redraw the cursor when it's blinking and on.
12257Files: src/gui_gtk_x11.c, src/gui_mac.c, src/gui_photon.c, src/gui_w32.c,
12258 src/gui_x11.c, src/screen.c, src/proto/gui_gtk_x11.pro,
12259 src/proto/gui_mac.pro, src/proto/gui_photon.pro,
12260 src/proto/gui_w32.pro, src/proto/gui_x11.pro
12261
12262Patch 7.4.1996
12263Problem: Capturing the output of a command takes a few commands.
12264Solution: Add evalcmd().
12265Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim,
12266 src/Makefile, src/testdir/test_evalcmd.vim
12267
12268Patch 7.4.1997
12269Problem: Cannot easily scroll the quickfix window.
12270Solution: Add ":cbottom".
12271Files: src/ex_cmds.h, src/quickfix.c, src/proto/quickfix.pro,
12272 src/ex_docmd.c, src/testdir/test_quickfix.vim,
12273 runtime/doc/quickfix.txt
12274
12275Patch 7.4.1998
12276Problem: When writing buffer lines to a job there is no NL to NUL
12277 conversion.
12278Solution: Make it work symmetrical with writing lines from a job into a
12279 buffer.
12280Files: src/channel.c, src/proto/channel.pro, src/netbeans.c
12281
12282Patch 7.4.1999
12283Problem: evalcmd() doesn't work recursively.
12284Solution: Use redir_evalcmd instead of redir_vname.
12285Files: src/message.c, src/eval.c, src/globals.h, src/proto/eval.pro,
12286 src/testdir/test_evalcmd.vim
12287
12288Patch 7.4.2000 (after 7.4.1999)
12289Problem: Evalcmd test fails.
12290Solution: Add missing piece.
12291Files: src/ex_docmd.c
12292
12293Patch 7.4.2001 (after 7.4.2000)
12294Problem: Tiny build fails. (Tony Mechelynck)
12295Solution: Add #ifdef.
12296Files: src/ex_docmd.c
12297
12298Patch 7.4.2002
12299Problem: Crash when passing number to filter() or map().
12300Solution: Convert to a string. (Ozaki Kiichi)
12301Files: src/eval.c, src/testdir/test_filter_map.vim
12302
12303Patch 7.4.2003
12304Problem: Still cursor flickering when a callback updates the screen. (David
12305 Samvelyan)
12306Solution: Put the cursor in the right position after updating the screen.
12307Files: src/screen.c
12308
12309Patch 7.4.2004
12310Problem: GUI: cursor displayed in the wrong position.
12311Solution: Correct screen_cur_col and screen_cur_row.
12312Files: src/screen.c
12313
12314Patch 7.4.2005
12315Problem: After using evalcmd() message output is in the wrong position.
12316 (Christian Brabandt)
12317Solution: Reset msg_col.
12318Files: src/eval.c
12319
12320Patch 7.4.2006
12321Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi)
12322Solution: First check that the current buffer is the right one. (Hirohito
12323 Higashi)
12324Files: src/buffer.c, src/testdir/test_autocmd.vim
12325
12326Patch 7.4.2007
12327Problem: Running the tests leaves a viminfo file behind.
12328Solution: Make the viminfo option empty.
12329Files: src/testdir/runtest.vim
12330
12331Patch 7.4.2008
12332Problem: evalcmd() has a confusing name.
12333Solution: Rename to execute(). Make silent optional. Support a list of
12334 commands.
12335Files: src/eval.c, src/ex_docmd.c, src/message.c, src/globals.h,
12336 src/proto/eval.pro, src/Makefile, src/testdir/test_evalcmd.vim,
12337 src/testdir/test_execute_func.vim, src/testdir/test_alot.vim,
12338 runtime/doc/eval.txt
12339
12340Patch 7.4.2009 (after 7.4.2008)
12341Problem: Messages test fails.
12342Solution: Don't set redir_execute before returning. Add missing version
12343 number.
12344Files: src/eval.c
12345
12346Patch 7.4.2010
12347Problem: There is a :cbottom command but no :lbottom command.
12348Solution: Add :lbottom. (Yegappan Lakshmanan)
12349Files: runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmds.h,
12350 src/quickfix.c, src/testdir/test_quickfix.vim
12351
12352Patch 7.4.2011
12353Problem: It is not easy to get a list of command arguments.
12354Solution: Add getcompletion(). (Yegappan Lakshmanan)
12355Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
12356 src/proto/ex_docmd.pro, src/testdir/test_cmdline.vim
12357
12358Patch 7.4.2012 (after 7.4.2011)
12359Problem: Test for getcompletion() does not pass on all systems.
12360Solution: Only test what is supported.
12361Files: src/testdir/test_cmdline.vim
12362
12363Patch 7.4.2013
12364Problem: Using "noinsert" in 'completeopt' breaks redo.
Bram Moolenaard0796902016-09-16 20:02:31 +020012365Solution: Set compl_curr_match. (Shougo Matsu, closes #874)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020012366Files: src/edit.c, src/testdir/test_popup.vim
12367
12368Patch 7.4.2014
12369Problem: Using "noinsert" in 'completeopt' does not insert match.
Bram Moolenaard0796902016-09-16 20:02:31 +020012370Solution: Set compl_enter_selects. (Shougo Matsu, closes #875)
Bram Moolenaar6f1d9a02016-07-24 14:12:38 +020012371Files: src/edit.c, src/testdir/test_popup.vim
12372
12373Patch 7.4.2015
12374Problem: When a file gets a name when writing it 'acd' is not effective.
12375 (Dan Church)
12376Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes
12377 #777, closes #803) Add test_autochdir() to enable 'acd' before
12378 "starting" is reset.
12379Files: src/ex_cmds.c, src/buffer.c, src/eval.c, src/globals.h,
12380 src/Makefile, src/testdir/test_autochdir.vim,
12381 src/testdir/Make_all.mak
12382
12383Patch 7.4.2016
12384Problem: Warning from MinGW about _WIN32_WINNT redefined. (John Marriott)
12385Solution: First undefine it. (Ken Takata)
12386Files: src/Make_cyg_ming.mak
12387
12388Patch 7.4.2017
12389Problem: When there are many errors adding them to the quickfix list takes
12390 a long time.
12391Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options().
12392 Remember the last file name used. When going through the buffer
12393 list start from the end of the list. Only call buf_valid() when
12394 autocommands were executed.
12395Files: src/buffer.c, src/option.c, src/quickfix.c, src/vim.h
12396
12397Patch 7.4.2018
12398Problem: buf_valid() can be slow when there are many buffers.
12399Solution: Add bufref_valid(), only go through the buffer list when a buffer
12400 was freed.
12401Files: src/structs.h, src/buffer.c, src/quickfix.c, src/proto/buffer.pro
12402
12403Patch 7.4.2019
12404Problem: When ignoring case utf_fold() may consume a lot of time.
12405Solution: Optimize for ASCII.
12406Files: src/mbyte.c
12407
12408Patch 7.4.2020
12409Problem: Can't build without +autocmd feature.
12410Solution: Adjust #ifdefs.
12411Files: src/buffer.c
12412
12413Patch 7.4.2021
12414Problem: Still too many buf_valid() calls.
12415Solution: Make au_new_curbuf a bufref. Use bufref_valid() in more places.
12416Files: src/ex_cmds.c, src/buffer.c, src/globals.h
12417
12418Patch 7.4.2022
12419Problem: Warnings from 64 bit compiler.
12420Solution: Add type casts. (Mike Williams)
12421Files: src/eval.c
12422
12423Patch 7.4.2023
12424Problem: buflist_findname_stat() may find a dummy buffer.
12425Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start
12426 finding buffers from the end of the list.
12427Files: src/quickfix.c, src/buffer.c
12428
12429Patch 7.4.2024
12430Problem: More buf_valid() calls can be optimized.
12431Solution: Use bufref_valid() instead.
12432Files: src/buffer.c, src/ex_cmds.c, src/structs.h, src/channel.c,
12433 src/diff.c, src/eval.c, src/ex_cmds2.c, src/ex_docmd.c,
12434 src/ex_getln.c, src/fileio.c, src/main.c, src/misc2.c,
12435 src/netbeans.c, src/quickfix.c, src/spell.c, src/term.c,
12436 src/if_py_both.h, src/window.c, src/proto/buffer.pro,
12437 src/proto/window.pro
12438
12439Patch 7.4.2025
12440Problem: The cursor blinking stops or is irregular when receiving date over
12441 a channel and writing it in a buffer, and when updating the status
12442 line. (Ramel Eshed)
12443Solution: Make it a bit better by flushing GUI output. Don't redraw the
12444 cursor after updating the screen if the blink state is off.
12445Files: src/gui_gtk_x11.c, src/screen.c
12446
12447Patch 7.4.2026
12448Problem: Reference counting for callbacks isn't right.
12449Solution: Add free_callback(). (Ken Takata) Fix reference count.
12450Files: src/channel.c, src/eval.c, src/ex_cmds2.c, src/proto/eval.pro
12451
12452Patch 7.4.2027
12453Problem: Can't build with +eval but without +menu.
12454Solution: Add #ifdef. (John Marriott)
12455Files: src/eval.c
12456
12457Patch 7.4.2028
12458Problem: cppcheck warns for using index before limits check.
12459Solution: Swap the expressions. (Dominique Pelle)
12460Files: src/mbyte.c
12461
12462Patch 7.4.2029
12463Problem: printf() does not work with 64 bit numbers.
12464Solution: use the "L" length modifier. (Ken Takata)
12465Files: src/message.c, src/testdir/test_expr.vim
12466
12467Patch 7.4.2030
12468Problem: ARCH must be set properly when using MinGW.
12469Solution: Detect the default value of ARCH from the current compiler. (Ken
12470 Takata)
12471Files: src/Make_cyg_ming.mak
12472
12473Patch 7.4.2031
12474Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets
12475 'textwidth' to a non-zero value. (Oyvind A. Holm)
12476Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe
12477 value. (partly by Christian Brabandt, closes #912)
12478Files: src/testdir/setup.vim, src/testdir/amiga.vim, src/testdir/dos.vim,
12479 src/testdir/unix.vim, src/testdir/vms.vim, src/testdir/runtest.vim
12480
12481Patch 7.4.2032 (after 7.4.2030)
12482Problem: Build fails with 64 bit MinGW. (Axel Bender)
12483Solution: Handle dash vs. underscore. (Ken Takata, Hirohito Higashi)
12484Files: src/Make_cyg_ming.mak
12485
12486Patch 7.4.2033
12487Problem: 'cscopequickfix' option does not accept new value "a".
12488Solution: Adjust list of command characters. (Ken Takata)
12489Files: src/option.h, src/Makefile, src/testdir/test_cscope.vim,
12490 src/testdir/Make_all.mak
12491
12492Patch 7.4.2034 (after 7.4.2032)
12493Problem: Build fails with some version of MinGW. (illusorypan)
12494Solution: Recognize mingw32. (Ken Takata, closes #921)
12495Files: src/Make_cyg_ming.mak
12496
12497Patch 7.4.2035
12498Problem: On Solaris with ZFS the ACL may get removed.
12499Solution: Always restore the ACL for Solaris ZFS. (Danek Duvall)
12500Files: src/fileio.c
12501
12502Patch 7.4.2036
12503Problem: Looking up a buffer by number is slow if there are many.
12504Solution: Use a hashtab.
12505Files: src/structs.h, src/buffer.c
12506
12507Patch 7.4.2037 (after 7.4.2036)
12508Problem: Small build fails.
12509Solution: Adjust #ifdefs.
12510Files: src/hashtab.c
12511
12512Patch 7.4.2038 (after 7.4.2036)
12513Problem: Small build still fails.
12514Solution: Adjust more #ifdefs.
12515Files: src/globals.h, src/buffer.c
12516
12517Patch 7.4.2039
12518Problem: The Netbeans integration is not tested.
12519Solution: Add a first Netbeans test.
12520Files: src/testdir/test_netbeans.vim, src/testdir/test_netbeans.py,
12521 src/testdir/Make_all.mak, src/Makefile,
12522 src/testdir/test_channel.vim, src/testdir/shared.vim
12523
12524Patch 7.4.2040
12525Problem: New files missing from distribution.
12526Solution: Add new test scripts.
12527Files: Filelist
12528
12529Patch 7.4.2041
12530Problem: Netbeans file authentication not tested.
12531Solution: Add a test.
12532Files: src/testdir/test_netbeans.vim
12533
12534Patch 7.4.2042
12535Problem: GTK: display updating is not done properly and can be slow.
12536Solution: Use gdk_display_flush() instead of gdk_display_sync(). Don't call
12537 gdk_window_process_updates(). (Kazunobu Kuriyama)
12538Files: src/gui_gtk_x11.c
12539
12540Patch 7.4.2043
12541Problem: setbuvfar() causes a screen redraw.
12542Solution: Only use aucmd_prepbuf() for options.
12543Files: src/eval.c
12544
12545Patch 7.4.2044
12546Problem: filter() and map() either require a string or defining a function.
12547Solution: Support lambda, a short way to define a function that evaluates an
12548 expression. (Yasuhiro Matsumoto, Ken Takata)
12549Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_alot.vim,
12550 src/Makefile, src/testdir/test_channel.vim,
12551 src/testdir/test_lambda.vim
12552
12553Patch 7.4.2045
12554Problem: Memory leak when using a function callback.
12555Solution: Don't save the function name when it's in the partial.
12556Files: src/channel.c
12557
12558Patch 7.4.2046
12559Problem: The qf_init_ext() function is too big.
12560Solution: Refactor it. (Yegappan Lakshmanan)
12561Files: src/quickfix.c
12562
12563Patch 7.4.2047
12564Problem: Compiler warning for initializing a struct.
12565Solution: Initialize in another way. (Anton Lindqvist)
12566Files: src/quickfix.c
12567
12568Patch 7.4.2048
12569Problem: There is still code and help for unsupported systems.
12570Solution: Remove the code and text. (Hirohito Higashi)
12571Files: runtime/doc/eval.txt, runtime/lang/menu_sk_sk.vim,
12572 runtime/menu.vim, runtime/optwin.vim, src/Make_bc5.mak,
12573 src/ex_docmd.c, src/feature.h, src/fileio.c, src/globals.h,
12574 src/main.c, src/memfile.c, src/memline.c, src/misc1.c,
12575 src/misc2.c, src/option.c, src/option.h, src/os_unix.c,
12576 src/os_unix.h, src/proto.h, src/term.c, src/undo.c, src/version.c,
12577 src/vim.h, src/xxd/xxd.c
12578
12579Patch 7.4.2049
12580Problem: There is no way to get a list of the error lists.
12581Solution: Add ":chistory" and ":lhistory".
12582Files: src/ex_cmds.h, src/quickfix.c, src/ex_docmd.c, src/message.c,
12583 src/proto/quickfix.pro, src/testdir/test_quickfix.vim
12584
12585Patch 7.4.2050
12586Problem: When using ":vimgrep" may end up with duplicate buffers.
12587Solution: When adding an error list entry pass the buffer number if possible.
12588Files: src/quickfix.c, src/testdir/test_quickfix.vim
12589
12590Patch 7.4.2051
12591Problem: No proper testing of trunc_string().
12592Solution: Add a unittest for message.c.
12593Files: src/Makefile, src/message.c, src/message_test.c, src/main.c,
12594 src/proto/main.pro, src/structs.h
12595
12596Patch 7.4.2052
12597Problem: Coverage report is messed up by the unittests.
12598Solution: Add a separate test target for script tests. Use that when
12599 collecting coverage information.
12600Files: src/Makefile
12601
12602Patch 7.4.2053
12603Problem: Can't run scripttests in the top directory.
12604Solution: Add targets to the top Makefile.
12605Files: Makefile
12606
12607Patch 7.4.2054 (after 7.4.2048)
12608Problem: Wrong part of #ifdef removed.
12609Solution: Use the right part. (Hirohito Higashi)
12610Files: src/os_unix.c
12611
12612Patch 7.4.2055
12613Problem: eval.c is too big
12614Solution: Move Dictionary functions to dict.c
12615Files: src/eval.c, src/dict.c, src/vim.h, src/globals.h,
12616 src/proto/eval.pro, src/proto/dict.pro, src/Makefile, Filelist
12617
Bram Moolenaar09521312016-08-12 22:54:35 +020012618Patch 7.4.2056 (after 7.4.2055)
12619Problem: Build fails.
12620Solution: Add missing changes.
12621Files: src/proto.h
12622
12623Patch 7.4.2057
12624Problem: eval.c is too big.
12625Solution: Move List functions to list.c
12626Files: src/eval.c, src/dict.c, src/list.c, src/proto.h, src/Makefile,
12627 src/globals.h, src/proto/eval.pro, src/proto/list.pro, Filelist
12628
12629Patch 7.4.2058
12630Problem: eval.c is too big.
12631Solution: Move user functions to userfunc.c
12632Files: src/userfunc.c, src/eval.c, src/vim.h, src/globals.h,
12633 src/structs.h, src/proto.h, src/Makefile, src/proto/eval.pro,
12634 src/proto/userfunc.pro, Filelist
12635
12636Patch 7.4.2059
12637Problem: Non-Unix builds fail.
12638Solution: Update Makefiles for new files.
12639Files: src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak,
12640 src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak,
12641 src/Make_mvc.mak, src/Make_sas.mak
12642
12643Patch 7.4.2060 (after 7.4.2059)
12644Problem: Wrong file name.
12645Solution: Fix typo.
12646Files: src/Make_mvc.mak
12647
12648Patch 7.4.2061
12649Problem: qf_init_ext() is too big.
12650Solution: Move code to qf_parse_line() (Yegappan Lakshmanan)
12651Files: src/quickfix.c, src/testdir/test_quickfix.vim
12652
12653Patch 7.4.2062
12654Problem: Using dummy variable to compute struct member offset.
12655Solution: Use offsetof().
12656Files: src/globals.h, src/macros.h, src/vim.h, src/spell.c
12657
12658Patch 7.4.2063
12659Problem: eval.c is still too big.
12660Solution: Split off internal functions to evalfunc.c.
12661Files: src/eval.c, src/evalfunc.c, src/list.c, src/proto.h,
12662 src/globals.h, src/vim.h, src/proto/eval.pro,
12663 src/proto/evalfunc.pro, src/proto/list.pro, src/Makefile, Filelist,
12664 src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak,
12665 src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak,
12666 src/Make_mvc.mak, src/Make_sas.mak
12667
12668Patch 7.4.2064
12669Problem: Coverity warns for possible buffer overflow.
12670Solution: Use vim_strcat() instead of strcat().
12671Files: src/quickfix.c
12672
12673Patch 7.4.2065
Bram Moolenaar7571d552016-08-18 22:54:46 +020012674Problem: Compiler warns for uninitialized variable. (John Marriott)
Bram Moolenaardc1f1642016-08-16 18:33:43 +020012675Solution: Set lnum to the right value.
12676Files: src/evalfunc.c
12677
12678Patch 7.4.2066
12679Problem: getcompletion() not well tested.
12680Solution: Add more testing.
12681Files: src/testdir/test_cmdline.vim
12682
12683Patch 7.4.2067
12684Problem: Compiler warning for char/char_u conversion. (Tony Mechelynck)
12685 Inefficient code.
12686Solution: Use more lines to fill with spaces. (Nikolai Pavlov) Add type cast.
12687Files: src/quickfix.c
12688
12689Patch 7.4.2068
12690Problem: Not all arguments of trunc_string() are tested. Memory access
12691 error when running the message tests.
12692Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run
12693 unittests with valgrind. Fix the access error.
12694Files: src/message.c, src/message_test.c, src/Makefile
12695
12696Patch 7.4.2069
12697Problem: spell.c is too big.
12698Solution: Split it in spell file handling and spell checking.
12699Files: src/spell.c, src/spellfile.c, src/spell.h, src/Makefile,
12700 src/proto/spell.pro, src/proto/spellfile.pro, src/proto.h
12701 Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak,
12702 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak,
12703 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak
12704
12705Patch 7.4.2070 (after 7.4.2069)
12706Problem: Missing change to include file.
12707Solution: Include the spell header file.
12708Files: src/vim.h
12709
12710Patch 7.4.2071
12711Problem: The return value of type() is difficult to use.
12712Solution: Define v:t_ constants. (Ken Takata)
12713Files: runtime/doc/eval.txt, src/eval.c, src/evalfunc.c,
12714 src/testdir/test_channel.vim, src/testdir/test_viml.vim, src/vim.h
12715
12716Patch 7.4.2072
12717Problem: substitute() does not support a Funcref argument.
12718Solution: Support a Funcref like it supports a string starting with "\=".
12719Files: src/evalfunc.c, src/regexp.c, src/eval.c, src/proto/eval.pro,
12720 src/proto/regexp.pro, src/testdir/test_expr.vim
12721
12722Patch 7.4.2073
12723Problem: rgb.txt is read for every color name.
12724Solution: Load rgb.txt once. (Christian Brabandt) Add a test.
12725Files: runtime/rgb.txt, src/term.c, src/testdir/test_syn_attr.vim
12726
12727Patch 7.4.2074
12728Problem: One more place using a dummy variable.
12729Solution: Use offsetof(). (Ken Takata)
12730Files: src/userfunc.c
12731
12732Patch 7.4.2075
12733Problem: No autocommand event to initialize a window or tab page.
12734Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
12735Files: src/fileio.c, src/window.c, src/vim.h,
12736 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt
12737
12738Patch 7.4.2076
12739Problem: Syntax error when dict has '>' key.
12740Solution: Check for endchar. (Ken Takata)
12741Files: src/userfunc.c, src/testdir/test_lambda.vim
12742
12743Patch 7.4.2077
12744Problem: Cannot update 'tabline' when a tab was closed.
12745Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
12746Files: src/fileio.c, src/window.c, src/vim.h,
12747 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt
12748
12749Patch 7.4.2078
Bram Moolenaar89bcfda2016-08-30 23:26:57 +020012750Problem: Running checks in po directory fails.
12751Solution: Add colors used in syntax.c to the builtin color table.
Bram Moolenaar09521312016-08-12 22:54:35 +020012752Files: src/term.c
12753
12754Patch 7.4.2079
12755Problem: Netbeans test fails on non-Unix systems.
12756Solution: Only do the permission check on Unix systems.
12757Files: src/testdir/test_netbeans.vim
12758
12759Patch 7.4.2080
12760Problem: When using PERROR() on some systems assert_fails() does not see
12761 the error.
12762Solution: Make PERROR() always report the error.
12763Files: src/vim.h, src/message.c, src/proto/message.pro
12764
12765Patch 7.4.2081
12766Problem: Line numbers in the error list are not always adjusted.
12767Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan)
12768Files: src/quickfix.c, src/structs.h, src/testdir/test_quickfix.vim
12769
12770Patch 7.4.2082
12771Problem: Not much test coverage for digraphs.
12772Solution: Add a new style digraph test. (Christian Brabandt)
12773Files: src/Makefile, src/testdir/test_alot.vim,
12774 src/testdir/test_digraph.vim
12775
12776Patch 7.4.2083
12777Problem: Coverity complains about not restoring a value.
12778Solution: Restore the value, although it's not really needed. Change return
12779 to jump to cleanup, might leak memory.
12780Files: src/userfunc.c
12781
12782Patch 7.4.2084
12783Problem: New digraph test makes testing hang.
12784Solution: Don't set "nocp".
12785Files: src/testdir/test_digraph.vim
12786
12787Patch 7.4.2085
12788Problem: Digraph tests fails on some systems.
12789Solution: Run it separately and set 'encoding' early.
12790Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
12791 src/testdir/test_digraph.vim
12792
12793Patch 7.4.2086
12794Problem: Using the system default encoding makes tests unpredictable.
12795Solution: Always use utf-8 or latin1 in the new style tests. Remove setting
12796 encoding and scriptencoding where it is not needed.
12797Files: src/testdir/runtest.vim, src/testdir/test_channel.vim,
12798 src/testdir/test_digraph.vim, src/testdir/test_expand_dllpath.vim,
12799 src/testdir/test_expr_utf8.vim, src/testdir/test_json.vim,
12800 src/testdir/test_matchadd_conceal_utf8.vim,
12801 src/testdir/test_regexp_utf8.vim, src/testdir/test_visual.vim,
12802 src/testdir/test_alot_utf8.vim,
12803
12804Patch 7.4.2087
12805Problem: Digraph code test coverage is still low.
12806Solution: Add more tests. (Christian Brabandt)
12807Files: src/testdir/test_digraph.vim
12808
12809Patch 7.4.2088 (after 7.4.2087)
12810Problem: Keymap test fails with normal features.
12811Solution: Bail out if the keymap feature is not supported.
12812Files: src/testdir/test_digraph.vim
12813
12814Patch 7.4.2089
12815Problem: Color handling of X11 GUIs is too complicated.
12816Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu
12817 Kuriyama)
12818Files: src/gui.h, src/gui_beval.c, src/gui_gtk_x11.c, src/netbeans.c
12819
12820Patch 7.4.2090
12821Problem: Using submatch() in a lambda passed to substitute() is verbose.
12822Solution: Use a static list and pass it as an optional argument to the
12823 function. Fix memory leak.
12824Files: src/structs.h, src/list.c, src/userfunc.c, src/channel.c,
12825 src/eval.c, src/evalfunc.c, src/ex_cmds2.c, src/regexp.c,
12826 src/proto/list.pro, src/proto/userfunc.pro,
12827 src/testdir/test_expr.vim, runtime/doc/eval.txt
12828
12829Patch 7.4.2091
12830Problem: Coverity reports a resource leak when out of memory.
12831Solution: Close the file before returning.
12832Files: src/term.c
12833
12834Patch 7.4.2092
12835Problem: GTK 3 build fails with older GTK version.
12836Solution: Check the pango version. (Kazunobu Kuriyama)
12837Files: src/gui_beval.c
12838
12839Patch 7.4.2093
12840Problem: Netbeans test fails once in a while. Leaving log file behind.
12841Solution: Add it to the list of flaky tests. Disable logfile.
12842Files: src/testdir/runtest.vim, src/testdir/test_channel.vim
12843
12844Patch 7.4.2094
12845Problem: The color allocation in X11 is overly complicated.
12846Solution: Remove find_closest_color(), XAllocColor() already does this.
12847 (Kazunobu Kuriyama)
12848Files: src/gui_x11.c
12849
12850Patch 7.4.2095
12851Problem: Man test fails when run with the GUI.
12852Solution: Adjust for different behavior of GUI. Add assert_inrange().
12853Files: src/eval.c, src/evalfunc.c, src/proto/eval.pro,
12854 src/testdir/test_assert.vim, src/testdir/test_man.vim,
12855 runtime/doc/eval.txt
12856
12857Patch 7.4.2096
12858Problem: Lambda functions show up with completion.
12859Solution: Don't show lambda functions. (Ken Takata)
12860Files: src/userfunc.c, src/testdir/test_cmdline.vim
12861
12862Patch 7.4.2097
12863Problem: Warning from 64 bit compiler.
12864Solution: use size_t instead of int. (Mike Williams)
12865Files: src/message.c
12866
12867Patch 7.4.2098
12868Problem: Text object tests are old style.
12869Solution: Turn them into new style tests. (James McCoy, closes #941)
12870Files: src/testdir/Make_all.mak, src/testdir/test_textobjects.in,
12871 src/testdir/test_textobjects.ok, src/testdir/test_textobjects.vim,
12872 src/Makefile
12873
12874Patch 7.4.2099
12875Problem: When a keymap is active only "(lang)" is displayed. (Ilya
12876 Dogolazky)
12877Solution: Show the keymap name. (Dmitri Vereshchagin, closes #933)
12878Files: src/buffer.c, src/proto/screen.pro, src/screen.c
12879
12880Patch 7.4.2100
12881Problem: "cgn" and "dgn" do not work correctly with a single character
12882 match and the replacement includes the searched pattern. (John
12883 Beckett)
12884Solution: If the match is found in the wrong column try in the next column.
12885 Turn the test into new style. (Christian Brabandt)
12886Files: src/search.c, src/testdir/Make_all.mak, src/Makefile,
12887 src/testdir/test53.in, src/testdir/test53.ok,
12888 src/testdir/test_gn.vim
12889
12890Patch 7.4.2101
Bram Moolenaare4a3bcf2016-08-26 19:52:37 +020012891Problem: Looping over windows, buffers and tab pages is inconsistent.
Bram Moolenaar09521312016-08-12 22:54:35 +020012892Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
12893Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c,
12894 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/fileio.c,
12895 src/globals.h, src/gui.c, src/gui_mac.c, src/if_lua.c,
12896 src/if_mzsch.c, src/if_perl.xs, src/if_ruby.c, src/if_tcl.c,
12897 src/main.c, src/mark.c, src/memfile.c, src/memline.c, src/misc1.c,
12898 src/move.c, src/netbeans.c, src/normal.c, src/option.c,
12899 src/quickfix.c, src/screen.c, src/spell.c, src/term.c,
12900 src/window.c, src/workshop.c
12901
12902Patch 7.4.2102 (after 7.4.2101)
12903Problem: Tiny build with GUI fails.
12904Solution: Revert one FOR_ALL_ change.
12905Files: src/gui.c
12906
12907Patch 7.4.2103
12908Problem: Can't have "augroup END" right after ":au!".
12909Solution: Check for the bar character before the command argument.
12910Files: src/fileio.c, src/testdir/test_autocmd.vim,
12911 runtime/doc/autocmd.txt
12912
12913Patch 7.4.2104
12914Problem: Code duplication when unreferencing a function.
12915Solution: De-duplicate.
12916Files: src/userfunc.c
12917
12918Patch 7.4.2105
12919Problem: Configure reports default features to be "normal" while it is
12920 "huge".
12921Solution: Change the default text. Build with newer autoconf.
12922Files: src/configure.in, src/auto/configure
12923
12924Patch 7.4.2106
12925Problem: Clang warns about missing field in initializer.
12926Solution: Define COMMA and use it. (Kazunobu Kuriyama)
12927Files: src/ex_cmds.c, src/globals.h, src/vim.h
12928
12929Patch 7.4.2107 (after 7.4.2106)
12930Problem: Misplaced equal sign.
12931Solution: Remove it.
12932Files: src/globals.h
12933
12934Patch 7.4.2108
12935Problem: Netbeans test is flaky.
12936Solution: Wait for the cursor to be positioned.
12937Files: src/testdir/test_netbeans.vim
12938
12939Patch 7.4.2109
12940Problem: Setting 'display' to "lastline" is a drastic change, while
12941 omitting it results in lots of "@" lines.
12942Solution: Add "truncate" to show "@@@" for a truncated line.
12943Files: src/option.h, src/screen.c, runtime/doc/options.txt
12944
12945Patch 7.4.2110
12946Problem: When there is an CmdUndefined autocmd then the error for a missing
12947 command is E464 instead of E492. (Manuel Ortega)
12948Solution: Don't let the pointer be NULL.
12949Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
12950
12951Patch 7.4.2111
12952Problem: Defaults are very conservative.
12953Solution: Move settings from vimrc_example.vim to defaults.vim. Load
12954 defaults.vim if no .vimrc was found.
12955Files: src/main.c, src/version.c, src/os_amiga.h, src/os_dos.h,
12956 src/os_mac.h, src/os_unix.h, src/feature.h, src/Makefile,
12957 runtime/vimrc_example.vim, runtime/defaults.vim,
12958 runtime/evim.vim, Filelist, runtime/doc/starting.txt
12959
12960Patch 7.4.2112
12961Problem: getcompletion(.., 'dir') returns a match with trailing "*" when
12962 there are no matches. (Chdiza)
12963Solution: Return an empty list when there are no matches. Add a trailing
12964 slash to directories. (Yegappan Lakshmanan) Add tests for no
12965 matches. (closes #947)
12966Files: src/evalfunc.c, src/testdir/test_cmdline.vim
12967
12968Patch 7.4.2113
12969Problem: Test for undo is flaky.
12970Solution: Turn it into a new style test. Use test_settime() to avoid
12971 flakyness.
12972Files: src/Makefile, src/undo.c, src/testdir/test61.in,
12973 src/testdir/test61.ok, src/testdir/test_undo.vim,
12974 src/testdir/test_undolevels.vim, src/testdir/Make_all.mak,
12975 src/testdir/test_alot.vim
12976
12977Patch 7.4.2114
12978Problem: Tiny build fails.
12979Solution: Always include vim_time().
12980Files: src/ex_cmds.c
12981
12982Patch 7.4.2115
12983Problem: Loading defaults.vim with -C argument.
12984Solution: Don't load the defaults script with -C argument. Test sourcing
12985 the defaults script. Set 'display' to "truncate".
12986Files: src/main.c, src/Makefile, runtime/defaults.vim,
12987 src/testdir/test_startup.vim, src/testdir/Make_all.mak
12988
12989Patch 7.4.2116
12990Problem: The default vimrc for Windows is very conservative.
12991Solution: Use the defaults.vim in the Windows installer.
12992Files: src/dosinst.c
12993
12994Patch 7.4.2117
12995Problem: Deleting an augroup that still has autocmds does not give a
12996 warning. The next defined augroup takes its place.
12997Solution: Give a warning and prevent the index being used for another group
12998 name.
12999Files: src/fileio.c, src/testdir/test_autocmd.vim
13000
13001Patch 7.4.2118
13002Problem: Mac: can't build with tiny features.
13003Solution: Don't define FEAT_CLIPBOARD unconditionally. (Kazunobu Kuriyama)
13004Files: src/vim.h
13005
13006Patch 7.4.2119
13007Problem: Closures are not supported.
13008Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
13009 Matsumoto, Ken Takata)
13010Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmds2.c, src/globals.h,
13011 src/proto/eval.pro, src/proto/userfunc.pro,
13012 src/testdir/test_lambda.vim, src/userfunc.c
13013
13014Patch 7.4.2120
13015Problem: User defined functions can't be a closure.
13016Solution: Add the "closure" argument. Allow using :unlet on a bound
13017 variable. (Yasuhiro Matsumoto, Ken Takata)
13018Files: runtime/doc/eval.txt, src/testdir/test_lambda.vim, src/userfunc.c,
13019 src/eval.c src/proto/userfunc.pro
13020
13021Patch 7.4.2121
13022Problem: No easy way to check if lambda and closure are supported.
13023Solution: Add the +lambda feature.
13024Files: src/evalfunc.c, src/version.c, src/testdir/test_lambda.vim
13025
13026Patch 7.4.2122 (after 7.4.2118)
13027Problem: Mac: don't get +clipboard in huge build.
Bram Moolenaar64d8e252016-09-06 22:12:34 +020013028Solution: Move #define down below including feature.h
Bram Moolenaar09521312016-08-12 22:54:35 +020013029Files: src/vim.h
13030
13031Patch 7.4.2123
13032Problem: No new style test for diff mode.
13033Solution: Add a test. Check that folds are in sync.
13034Files: src/Makefile, src/testdir/test_diffmode.vim,
13035 src/testdir/Make_all.mak, src/testdir/test47.in,
13036 src/testdir/test47.ok
13037
13038Patch 7.4.2124
13039Problem: diffmode test leaves files behind, breaking another test.
13040Solution: Delete the files.
13041Files: src/testdir/test_diffmode.vim
13042
13043Patch 7.4.2125
13044Problem: Compiler warning for loss of data.
13045Solution: Add a type cast. (Christian Brabandt)
13046Files: src/message.c
13047
13048Patch 7.4.2126
13049Problem: No tests for :diffget and :diffput
13050Solution: Add tests.
13051Files: src/testdir/test_diffmode.vim
13052
13053Patch 7.4.2127
13054Problem: The short form of ":noswapfile" is ":noswap" instead of ":nos".
13055 (Kent Sibilev)
13056Solution: Only require three characters. Add a test for the short forms.
13057Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
13058
13059Patch 7.4.2128
13060Problem: Memory leak when saving for undo fails.
13061Solution: Free allocated memory. (Hirohito Higashi)
13062Files: src/ex_cmds.c
13063
13064Patch 7.4.2129
13065Problem: Memory leak when using timer_start(). (Dominique Pelle)
13066Solution: Don't copy the callback when using a partial.
13067Files: src/evalfunc.c
13068
13069Patch 7.4.2130
13070Problem: Pending timers cause false memory leak reports.
13071Solution: Free all timers on exit.
13072Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/misc2.c
13073
13074Patch 7.4.2131
13075Problem: More memory leaks when using partial, e.g. for "exit-cb".
13076Solution: Don't copy the callback when using a partial.
13077Files: src/channel.c
13078
13079Patch 7.4.2132
13080Problem: test_partial has memory leaks reported.
13081Solution: Add a note about why this happens.
13082Files: src/testdir/test_partial.vim
13083
13084Patch 7.4.2133 (after 7.4.2128)
13085Problem: Can't build with tiny features.
13086Solution: Add #ifdef.
13087Files: src/ex_cmds.c
13088
13089Patch 7.4.2134
13090Problem: No error for using function() badly.
13091Solution: Check for passing wrong function name. (Ken Takata)
13092Files: src/eval.c, src/evalfunc.c, src/proto/userfunc.pro,
13093 src/testdir/test_expr.vim, src/userfunc.c, src/vim.h
13094
13095Patch 7.4.2135
13096Problem: Various tiny issues.
13097Solution: Update comments, white space, etc.
13098Files: src/diff.c, src/digraph.c, src/testdir/test80.in,
13099 src/testdir/test_channel.vim, src/testdir/Makefile,
13100 runtime/menu.vim, src/INSTALLpc.txt, src/xpm/README.txt
13101
13102Patch 7.4.2136
13103Problem: Closure function fails.
13104Solution: Don't reset uf_scoped when it points to another funccal.
13105Files: src/userfunc.c, src/testdir/test_lambda.vim
13106
13107Patch 7.4.2137
13108Problem: Using function() with a name will find another function when it is
13109 redefined.
13110Solution: Add funcref(). Refer to lambda using a partial. Fix several
13111 reference counting issues.
13112Files: src/vim.h, src/structs.h, src/userfunc.c, src/eval.c,
13113 src/evalfunc.c, src/channel.c, src/proto/eval.pro,
13114 src/proto/userfunc.pro, src/if_mzsch.c, src/regexp.c, src/misc2.c,
13115 src/if_py_both.h, src/testdir/test_expr.vim, runtime/doc/eval.txt
13116
13117Patch 7.4.2138
13118Problem: Test 86 and 87 fail.
13119Solution: Call func_ref() also for regular functions.
13120Files: src/if_py_both.h
13121
13122Patch 7.4.2139
13123Problem: :delfunction causes illegal memory access.
13124Solution: Correct logic when deciding to free a function.
13125Files: src/userfunc.c, src/testdir/test_lambda.vim
13126
13127Patch 7.4.2140
13128Problem: Tiny build fails.
13129Solution: Add dummy typedefs.
13130Files: src/structs.h
13131
13132Patch 7.4.2141
13133Problem: Coverity reports bogus NULL check.
13134Solution: When checking for a variable in the funccal scope don't pass the
13135 varname.
13136Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c
13137
13138Patch 7.4.2142
13139Problem: Leaking memory when redefining a function.
13140Solution: Don't increment the function reference count when it's found by
13141 name. Don't remove the wrong function from the hashtab. More
13142 reference counting fixes.
13143Files: src/structs.h, src/userfunc.c
13144
13145Patch 7.4.2143
13146Problem: A funccal is garbage collected while it can still be used.
13147Solution: Set copyID in all referenced functions. Do not list lambda
13148 functions with ":function".
13149Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
13150 src/testdir/test_lambda.vim
13151
13152Patch 7.4.2144
Bram Moolenaar64d8e252016-09-06 22:12:34 +020013153Problem: On MS-Windows quickfix does not handle a line with 1023 bytes
Bram Moolenaar09521312016-08-12 22:54:35 +020013154 ending in CR-LF properly.
13155Solution: Don't consider CR a line break. (Ken Takata)
13156Files: src/quickfix.c
13157
13158Patch 7.4.2145
13159Problem: Win32: Using CreateThread/ExitThread is not safe.
13160Solution: Use _beginthreadex and return from the thread. (Ken Takata)
13161Files: src/os_win32.c
13162
13163Patch 7.4.2146
13164Problem: Not enough testing for popup menu. CTRL-E does not always work
13165 properly.
13166Solution: Add more tests. When using CTRL-E check if the popup menu is
13167 visible. (Christian Brabandt)
13168Files: src/edit.c, src/testdir/test_popup.vim
13169
13170Patch 7.4.2147 (after 7.4.2146)
13171Problem: test_alot fails.
13172Solution: Close window.
13173Files: src/testdir/test_popup.vim
13174
13175Patch 7.4.2148
13176Problem: Not much testing for cscope.
13177Solution: Add a test that uses the cscope program. (Christian Brabandt)
13178Files: src/testdir/test_cscope.vim
13179
13180Patch 7.4.2149
13181Problem: If a test leaves a window open a following test may fail.
13182Solution: Always close extra windows after running a test.
13183Files: src/testdir/runtest.vim, src/testdir/test_popup.vim
13184
13185Patch 7.4.2150
13186Problem: Warning with MinGW 64. (John Marriott)
13187Solution: Change return type. (Ken Takata)
13188Files: src/os_win32.c
13189
13190Patch 7.4.2151
13191Problem: Quickfix test fails on MS-Windows.
13192Solution: Close the help window. (Christian Brabandt)
13193Files: src/testdir/test_quickfix.vim
13194
13195Patch 7.4.2152
13196Problem: No proper translation of messages with a count.
13197Solution: Use ngettext(). (Sergey Alyoshin)
13198Files: src/evalfunc.c, src/fold.c, src/os_win32.c, src/screen.c, src/vim.h
13199
13200Patch 7.4.2153
13201Problem: GUI test isn't testing much.
13202Solution: Turn into a new style test. Execute a shell command.
13203Files: src/testdir/test_gui.vim, src/testdir/test16.in,
13204 src/testdir/test16.ok, src/testdir/Make_all.mak, src/Makefile,
13205 src/testdir/Make_vms.mms
13206
13207Patch 7.4.2154
13208Problem: Test_communicate() fails sometimes.
13209Solution: Add it to the flaky tests.
13210Files: src/testdir/runtest.vim
13211
13212Patch 7.4.2155
13213Problem: Quotes make GUI test fail on MS-Windows.
13214Solution: Remove quotes, strip white space.
13215Files: src/testdir/test_gui.vim
13216
13217Patch 7.4.2156
13218Problem: Compiler warning.
13219Solution: Add type cast. (Ken Takata, Mike Williams)
13220Files: src/os_win32.c
13221
13222Patch 7.4.2157
13223Problem: Test_job_start_fails() is expected to report memory leaks, making
13224 it hard to see other leaks in test_partial.
13225Solution: Move Test_job_start_fails() to a separate test file.
13226Files: src/testdir/test_partial.vim, src/testdir/test_job_fails.vim,
13227 src/Makefile, src/testdir/Make_all.mak
13228
13229Patch 7.4.2158
13230Problem: Result of getcompletion('', 'cscope') depends on previous
13231 completion. (Christian Brabandt)
13232Solution: Call set_context_in_cscope_cmd().
13233Files: src/evalfunc.c, src/testdir/test_cmdline.vim
13234
13235Patch 7.4.2159
13236Problem: Insufficient testing for cscope.
13237Solution: Add more tests. (Dominique Pelle)
13238Files: src/testdir/test_cscope.vim
13239
13240Patch 7.4.2160
13241Problem: setmatches() mixes up values. (Nikolai Pavlov)
13242Solution: Save the string instead of reusing a shared buffer.
13243Files: src/dict.c, src/evalfunc.c, src/testdir/test_expr.vim,
13244
13245Patch 7.4.2161 (after 7.4.2160)
13246Problem: Expression test fails without conceal feature.
13247Solution: Only check "conceal" with the conceal feature.
13248Files: src/testdir/test_expr.vim
13249
13250Patch 7.4.2162
13251Problem: Result of getcompletion('', 'sign') depends on previous
13252 completion.
13253Solution: Call set_context_in_sign_cmd(). (Dominique Pelle)
13254Files: src/evalfunc.c, src/testdir/test_cmdline.vim
13255
Bram Moolenaardc1f1642016-08-16 18:33:43 +020013256Patch 7.4.2163
13257Problem: match() and related functions tested with old style test.
13258Solution: Convert to new style test. (Hirohito Higashi)
13259Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test63.in,
13260 src/testdir/test63.ok, src/testdir/test_alot.vim,
13261 src/testdir/test_match.vim, src/testdir/test_matchstrpos.vim
13262
13263Patch 7.4.2164
13264Problem: It is not possible to use plugins in an "after" directory to tune
13265 the behavior of a package.
13266Solution: First load plugins from non-after directories, then packages and
13267 finally plugins in after directories.
13268 Reset 'loadplugins' before executing --cmd arguments.
13269Files: src/main.c, src/vim.h, src/ex_cmds2.c, src/testdir/Makefile,
13270 src/testdir/shared.vim, src/testdir/test_startup.vim,
13271 src/testdir/setup.vim, runtime/doc/starting.txt
13272
13273Patch 7.4.2165 (after 7.4.2164)
13274Problem: Startup test fails on MS-Windows.
13275Solution: Don't check output if RunVim() returns zero.
13276Files: src/testdir/test_startup.vim
13277
13278Patch 7.4.2166 (after 7.4.2164)
13279Problem: Small build can't run startup test.
13280Solution: Skip the test.
13281Files: src/testdir/test_startup.vim
13282
13283Patch 7.4.2167 (after 7.4.2164)
13284Problem: Small build can't run tests.
13285Solution: Don't try setting 'packpath'.
13286Files: src/testdir/setup.vim
13287
13288Patch 7.4.2168
13289Problem: Not running the startup test on MS-Windows.
13290Solution: Write vimcmd.
13291Files: src/testdir/Make_ming.mak, src/testdir/Make_dos.mak
13292
13293Patch 7.4.2169 (after 7.4.2168)
13294Problem: Startup test gets stuck on MS-Windows.
13295Solution: Use double quotes.
13296Files: src/testdir/shared.vim, src/testdir/test_startup.vim
13297
13298Patch 7.4.2170
13299Problem: Cannot get information about timers.
13300Solution: Add timer_info().
13301Files: src/evalfunc.c, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
13302 runtime/doc/eval.txt
13303
13304Patch 7.4.2171 (after 7.4.2170)
13305Problem: MS-Windows build fails.
13306Solution: Add QueryPerformanceCounter().
13307Files: src/ex_cmds2.c
13308
13309Patch 7.4.2172
13310Problem: No test for "vim --help".
13311Solution: Add a test.
13312Files: src/testdir/test_startup.vim, src/testdir/shared.vim
13313
13314Patch 7.4.2173 (after 7.4.2172)
13315Problem: Can't test help on MS-Windows.
13316Solution: Skip the test.
13317Files: src/testdir/test_startup.vim
13318
13319Patch 7.4.2174
13320Problem: Adding duplicate flags to 'whichwrap' leaves commas behind.
13321Solution: Also remove the commas. (Naruhiko Nishino)
13322Files: src/Makefile, src/option.c, src/testdir/Make_all.mak,
13323 src/testdir/test_alot.vim, src/testdir/test_options.in,
13324 src/testdir/test_options.ok, src/testdir/test_options.vim
13325
13326Patch 7.4.2175
13327Problem: Insufficient testing of cscope.
13328Solution: Add more tests. (Dominique Pelle)
13329Files: src/testdir/test_cscope.vim
13330
13331Patch 7.4.2176
13332Problem: #ifdefs in main() are complicated.
13333Solution: Always define vim_main2(). Move params to the file level.
13334 (suggested by Ken Takata)
13335Files: src/main.c, src/structs.h, src/vim.h, src/if_mzsch.c,
13336 src/proto/if_mzsch.pro
13337
13338Patch 7.4.2177
13339Problem: No testing for -C and -N command line flags, file arguments,
13340 startuptime.
13341Solution: Add tests.
13342Files: src/testdir/test_startup.vim, src/testdir/shared.vim
13343
13344Patch 7.4.2178
13345Problem: No test for reading from stdin.
13346Solution: Add a test.
13347Files: src/testdir/test_startup.vim, src/testdir/shared.vim
13348
13349Patch 7.4.2179 (after 7.4.2178)
13350Problem: Reading from stdin test fails on MS-Windows.
13351Solution: Strip the extra space.
13352Files: src/testdir/test_startup.vim
13353
13354Patch 7.4.2180
13355Problem: There is no easy way to stop all timers. There is no way to
13356 temporary pause a timer.
13357Solution: Add timer_stopall() and timer_pause().
13358Files: src/evalfunc.c, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
13359 src/structs.h, src/testdir/test_timers.vim,
13360 src/testdir/shared.vim, runtime/doc/eval.txt
13361
13362Patch 7.4.2181
13363Problem: Compiler warning for unused variable.
13364Solution: Remove it. (Dominique Pelle)
13365Files: src/ex_cmds2.c
13366
13367Patch 7.4.2182
13368Problem: Color Grey40 used in startup but not in the short list.
13369Solution: Add Grey40 to the builtin colors.
13370Files: src/term.c
13371
13372Patch 7.4.2183
13373Problem: Sign tests are old style.
13374Solution: Turn them into new style tests. (Dominique Pelle)
13375Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_signs.in,
13376 src/testdir/test_signs.ok, src/testdir/test_signs.vim,
13377
13378Patch 7.4.2184
13379Problem: Tests that use RunVim() do not actually perform the test.
13380Solution: Use "return" instead of "call". (Ken Takata)
13381Files: src/testdir/shared.vim
13382
13383Patch 7.4.2185
13384Problem: Test glob2regpat does not test much.
13385Solution: Add a few more test cases. (Dominique Pelle)
13386Files: src/testdir/test_glob2regpat.vim
13387
13388Patch 7.4.2186
13389Problem: Timers test is flaky.
13390Solution: Relax the sleep time check.
13391Files: src/testdir/test_timers.vim
13392
13393Patch 7.4.2187 (after 7.4.2185)
13394Problem: glob2regpat test fails on Windows.
13395Solution: Remove the checks that use backslashes.
13396Files: src/testdir/test_glob2regpat.vim
13397
13398Patch 7.4.2188 (after 7.4.2146)
13399Problem: Completion does not work properly with some plugins.
13400Solution: Revert the part related to typing CTRL-E. (closes #972)
13401Files: src/edit.c, src/testdir/test_popup.vim
13402
13403Patch 7.4.2189
13404Problem: Cannot detect encoding in a fifo.
13405Solution: Extend the stdin way of detecting encoding to fifo. Add a test
13406 for detecting encoding on stdin and fifo. (Ken Takata)
13407Files: src/buffer.c, src/fileio.c, src/Makefile,
13408 src/testdir/Make_all.mak, src/testdir/test_startup_utf8.vim,
13409 src/vim.h
13410
13411Patch 7.4.2190
13412Problem: When startup test fails it's not easy to find out why.
13413 GUI test fails with Gnome.
13414Solution: Add the help entry matches to a list an assert that.
13415 Set $HOME for Gnome to create .gnome2 directory.
13416Files: src/testdir/test_startup.vim, src/testdir/test_gui.vim
13417
13418Patch 7.4.2191
13419Problem: No automatic prototype for vim_main2().
13420Solution: Move the #endif. (Ken Takata)
13421Files: src/main.c, src/vim.h, src/proto/main.pro
13422
13423Patch 7.4.2192
13424Problem: Generating prototypes with Cygwin doesn't work well.
13425Solution: Change #ifdefs. (Ken Takata)
13426Files: src/gui.h, src/gui_w32.c, src/ops.c, src/proto/fileio.pro,
13427 src/proto/message.pro, src/proto/normal.pro, src/proto/ops.pro,
13428 src/vim.h
13429
13430Patch 7.4.2193
13431Problem: With Gnome when the GUI can't start test_startup hangs.
13432Solution: Call gui_mch_early_init_check(). (Hirohito Higashi)
13433Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
13434
13435Patch 7.4.2194
13436Problem: Sign tests don't cover enough.
13437Solution: Add more test cases. (Dominique Pelle)
13438Files: src/testdir/test_signs.vim
13439
13440Patch 7.4.2195
13441Problem: MS-Windows: The vimrun program does not support Unicode.
13442Solution: Use GetCommandLineW(). Cleanup old #ifdefs. (Ken Takata)
13443Files: src/vimrun.c
13444
13445Patch 7.4.2196
13446Problem: glob2regpat test doesn't test everything on MS-Windows.
13447Solution: Add patterns with backslash handling.
13448Files: src/testdir/test_glob2regpat.vim
13449
13450Patch 7.4.2197
13451Problem: All functions are freed on exit, which may hide leaks.
13452Solution: Only free named functions, not reference counted ones.
13453Files: src/userfunc.c
13454
13455Patch 7.4.2198
13456Problem: Test alot sometimes fails under valgrind. (Dominique Pelle)
13457Solution: Avoid passing a callback with the wrong number of arguments.
13458Files: src/testdir/test_partial.vim
13459
13460Patch 7.4.2199
13461Problem: In the GUI the cursor is hidden when redrawing any window,
13462 causing flicker.
13463Solution: Only undraw the cursor when updating the window it's in.
13464Files: src/screen.c, src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c
13465
13466Patch 7.4.2200
13467Problem: Cannot get all information about a quickfix list.
13468Solution: Add an optional argument to get/set loc/qf list(). (Yegappan
13469 Lakshmanan)
13470Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/quickfix.pro,
13471 src/quickfix.c, src/tag.c, src/testdir/test_quickfix.vim
13472
13473Patch 7.4.2201
13474Problem: The sign column disappears when the last sign is deleted.
13475Solution: Add the 'signcolumn' option. (Christian Brabandt)
13476Files: runtime/doc/options.txt, runtime/optwin.vim, src/edit.c,
13477 src/move.c, src/option.c, src/option.h, src/proto/option.pro,
13478 src/screen.c, src/structs.h, src/testdir/test_options.vim
13479
13480Patch 7.4.2202
13481Problem: Build fails with small features.
13482Solution: Correct option initialization.
13483Files: src/option.c
13484
13485Patch 7.4.2203
13486Problem: Test fails with normal features.
13487Solution: Check is signs are supported.
13488Files: src/testdir/test_options.vim
13489
13490Patch 7.4.2204
13491Problem: It is not easy to get information about buffers, windows and
13492 tabpages.
13493Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan
13494 Lakshmanan)
13495Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/dict.c,
13496 src/evalfunc.c, src/option.c, src/proto/dict.pro,
13497 src/proto/option.pro, src/proto/window.pro,
13498 src/testdir/Make_all.mak, src/testdir/test_bufwintabinfo.vim,
13499 src/window.c, src/Makefile
13500
13501Patch 7.4.2205
13502Problem: 'wildignore' always applies to getcompletion().
13503Solution: Add an option to use 'wildignore' or not. (Yegappan Lakshmanan)
13504Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_cmdline.vim
13505
13506Patch 7.4.2206
13507Problem: Warning for unused function.
13508Solution: Put the function inside #ifdef. (John Marriott)
13509Files: src/evalfunc.c
13510
13511Patch 7.4.2207
13512Problem: The +xpm feature is not sorted properly in :version output.
13513Solution: Move it up. (Tony Mechelynck)
13514Files: src/version.c
13515
13516Patch 7.4.2208
13517Problem: Test for mappings is old style.
13518Solution: Convert the test to new style.
13519Files: src/testdir/test_mapping.vim, src/testdir/test_mapping.in,
13520 src/testdir/test_mapping.ok, src/Makefile,
13521 src/testdir/test_alot.vim, src/testdir/Make_all.mak
13522
13523Patch 7.4.2209
13524Problem: Cannot map <M-">. (Stephen Riehm)
13525Solution: Solve the memory access problem in another way. (Dominique Pelle)
13526 Allow for using <M-\"> in a string.
13527Files: src/eval.c, src/gui_mac.c, src/misc2.c, src/option.c,
13528 src/proto/misc2.pro, src/syntax.c, src/term.c,
13529 src/testdir/test_mapping.vim
13530
13531Patch 7.4.2210
13532Problem: On OSX configure mixes up a Python framework and the Unix layout.
13533Solution: Make configure check properly. (Tim D. Smith, closes #980)
13534Files: src/configure.in, src/auto/configure
13535
13536Patch 7.4.2211
13537Problem: Mouse support is not automatically enabled with simple term.
13538Solution: Recognize "st" and other names. (Manuel Schiller, closes #963)
13539Files: src/os_unix.c
13540
13541Patch 7.4.2212
13542Problem: Mark " is not set when closing a window in another tab. (Guraga)
13543Solution: Check all tabs for the window to be valid. (based on patch by
13544 Hirohito Higashi, closes #974)
13545Files: src/window.c, src/proto/window.pro, src/buffer.c,
13546 src/testdir/test_viminfo.vim
13547
13548Patch 7.4.2213
13549Problem: Cannot highlight the "~" lines at the end of a window differently.
13550Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy)
13551Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/option.c,
13552 src/screen.c, src/syntax.c, src/vim.h
13553
13554Patch 7.4.2214
13555Problem: A font that uses ligatures messes up the screen display.
13556Solution: Put spaces between characters when building the glyph table.
13557 (based on a patch from Manuel Schiller)
13558Files: src/gui_gtk_x11.c
13559
13560Patch 7.4.2215
13561Problem: It's not easy to find out if a window is a quickfix or location
13562 list window.
Bram Moolenaar7571d552016-08-18 22:54:46 +020013563Solution: Add "loclist" and "quickfix" entries to the dict returned by
Bram Moolenaardc1f1642016-08-16 18:33:43 +020013564 getwininfo(). (Yegappan Lakshmanan)
13565Files: runtime/doc/eval.txt, src/evalfunc.c,
13566 src/testdir/test_bufwintabinfo.vim
13567
13568Patch 7.4.2216 (after 7.4.2215)
13569Problem: Test fails without the +sign feature.
13570Solution: Only check for signcolumn with the +sign feature.
13571Files: src/testdir/test_bufwintabinfo.vim
13572
13573Patch 7.4.2217
13574Problem: When using matchaddpos() a character after the end of the line can
13575 be highlighted.
13576Solution: Only highlight existing characters. (Hirohito Higashi)
13577Files: src/screen.c, src/structs.h, src/testdir/test_match.vim
13578
Bram Moolenaar36f44c22016-08-28 18:17:20 +020013579Patch 7.4.2218
13580Problem: Can't build with +timers when +digraph is not included.
13581Solution: Change #ifdef for e_number_exp. (Damien)
13582Files: src/globals.h
13583
13584Patch 7.4.2219
13585Problem: Recursive call to substitute gets stuck in sandbox. (Nikolai
13586 Pavlov)
13587Solution: Handle the recursive call. (Christian Brabandt, closes #950)
13588 Add a test.
13589Files: src/ex_cmds.c, src/testdir/test_regexp_latin.vim
13590
13591Patch 7.4.2220
13592Problem: printf() gives an error when the argument for %s is not a string.
13593 (Ozaki Kiichi)
13594Solution: Behave like invoking string() on the argument. (Ken Takata)
13595Files: runtime/doc/eval.txt, src/message.c, src/testdir/test_expr.vim
13596
13597Patch 7.4.2221
13598Problem: printf() does not support binary format.
13599Solution: Add %b and %B. (Ozaki Kiichi)
13600Files: runtime/doc/eval.txt, src/message.c, src/testdir/test_expr.vim
13601
13602Patch 7.4.2222
13603Problem: Sourcing a script where a character has 0x80 as a second byte does
13604 not work. (Filipe L B Correia)
13605Solution: Turn 0x80 into K_SPECIAL KS_SPECIAL KE_FILLER. (Christian
13606 Brabandt, closes #728) Add a test case.
13607Files: src/getchar.c, src/proto/getchar.pro, src/misc1.c,
13608 src/testdir/test_regexp_utf8.vim
13609
13610Patch 7.4.2223
13611Problem: Buffer overflow when using latin1 character with feedkeys().
13612Solution: Check for an illegal character. Add a test.
Bram Moolenaar64d8e252016-09-06 22:12:34 +020013613Files: src/testdir/test_regexp_utf8.vim, src/testdir/test_source_utf8.vim,
Bram Moolenaar36f44c22016-08-28 18:17:20 +020013614 src/testdir/test_alot_utf8.vim, src/Makefile, src/getchar.c,
13615 src/macros.h, src/evalfunc.c, src/os_unix.c, src/os_win32.c,
13616 src/spell.c,
13617
13618Patch 7.4.2224
13619Problem: Compiler warnings with older compiler and 64 bit numbers.
13620Solution: Add "LL" to large values. (Mike Williams)
13621Files: src/eval.c, src/evalfunc.c
13622
13623Patch 7.4.2225
13624Problem: Crash when placing a sign in a deleted buffer.
13625Solution: Check for missing buffer name. (Dominique Pelle). Add a test.
13626Files: src/ex_cmds.c, src/testdir/test_signs.vim
13627
13628Patch 7.4.2226
13629Problem: The field names used by getbufinfo(), gettabinfo() and
13630 getwininfo() are not consistent.
13631Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan)
13632Files: runtime/doc/eval.txt, src/evalfunc.c,
13633 src/testdir/test_bufwintabinfo.vim
13634
13635Patch 7.4.2227
13636Problem: Tab page tests are old style.
13637Solution: Change into new style tests. (Hirohito Higashi)
13638Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test62.in,
13639 src/testdir/test62.ok, src/testdir/test_alot.vim,
13640 src/testdir/test_tabpage.vim
13641
13642Patch 7.4.2228
13643Problem: Test files have inconsistent modelines.
13644Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'.
13645Files: src/testdir/README.txt, src/testdir/test_backspace_opt.vim,
13646 src/testdir/test_digraph.vim, src/testdir/test_gn.vim
13647 src/testdir/test_help_tagjump.vim,
13648 src/testdir/test_increment_dbcs.vim,
13649 src/testdir/test_increment.vim, src/testdir/test_match.vim,
13650 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
13651 src/testdir/test_regexp_latin.vim, src/testdir/test_timers.vim
13652
13653Patch 7.4.2229
13654Problem: Startup test fails on Solaris.
13655Solution: Recognize a character device. (Danek Duvall)
13656Files: src/buffer.c, src/fileio.c, src/proto/fileio.pro, src/vim.h
13657
13658Patch 7.4.2230
13659Problem: There is no equivalent of 'smartcase' for a tag search.
13660Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian
13661 Brabandt, closes #712) Turn tagcase test into new style.
13662Files: runtime/doc/options.txt, runtime/doc/tagsrch.txt, src/option.h,
13663 src/tag.c, src/search.c, src/proto/search.pro,
13664 src/testdir/test_tagcase.in, src/testdir/test_tagcase.ok,
13665 src/testdir/test_tagcase.vim, src/Makefile,
13666 src/testdir/Make_all.mak, src/testdir/test_alot.vim
13667
13668Patch 7.4.2231
13669Problem: ":oldfiles" output is a very long list.
13670Solution: Add a pattern argument. (Coot, closes #575)
13671Files: runtime/doc/starting.txt, src/ex_cmds.h, src/eval.c,
13672 src/ex_cmds.c, src/proto/eval.pro, src/proto/ex_cmds.pro,
13673 src/testdir/test_viminfo.vim
13674
13675Patch 7.4.2232
13676Problem: The default ttimeoutlen is very long.
13677Solution: Use "100". (Hirohito Higashi)
13678Files: runtime/defaults.vim
13679
13680Patch 7.4.2233
13681Problem: Crash when using funcref() with invalid name. (Dominique Pelle)
13682Solution: Check for NULL translated name.
13683Files: src/evalfunc.c, src/testdir/test_expr.vim
13684
13685Patch 7.4.2234
13686Problem: Can't build with +eval but without +quickfix. (John Marriott)
13687Solution: Move skip_vimgrep_pat() to separate #ifdef block.
13688Files: src/quickfix.c
13689
13690Patch 7.4.2235
13691Problem: submatch() does not check for a valid argument.
13692Solution: Give an error if the argument is out of range. (Dominique Pelle)
13693Files: src/evalfunc.c, src/testdir/test_expr.vim
13694
13695Patch 7.4.2236
13696Problem: The 'langnoremap' option leads to double negatives. And it does
13697 not work for the last character of a mapping.
13698Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for
13699 backwards compatibility. Make it work for the last character of a
13700 mapping. Make the test work.
13701Files: runtime/doc/options.txt, runtime/defaults.vim, src/option.c,
13702 src/option.h, src/macros.h, src/testdir/test_mapping.vim
13703
13704Patch 7.4.2237
13705Problem: Can't use "." and "$" with ":tab".
13706Solution: Support a range for ":tab". (Hirohito Higashi)
13707Files: runtime/doc/tabpage.txt, src/ex_docmd.c,
13708 src/testdir/test_tabpage.vim
13709
13710Patch 7.4.2238
13711Problem: With SGR mouse reporting (suckless terminal) the mouse release and
13712 scroll up/down is confused.
13713Solution: Don't see a release as a scroll up/down. (Ralph Eastwood)
13714Files: src/term.c
13715
13716Patch 7.4.2239
13717Problem: Warning for missing declaration of skip_vimgrep_pat(). (John
13718 Marriott)
13719Solution: Move it to another file.
13720Files: src/quickfix.c, src/proto/quickfix.pro, src/ex_cmds.c,
13721 src/proto/ex_cmds.pro
13722
13723Patch 7.4.2240
13724Problem: Tests using the sleep time can be flaky.
13725Solution: Use reltime() if available. (Partly by Shane Harper)
13726Files: src/testdir/shared.vim, src/testdir/test_timers.vim
13727
13728Patch 7.4.2241 (after 7.4.2240)
13729Problem: Timer test sometimes fails.
13730Solution: Increase the maximum time for repeating timer.
13731Files: src/testdir/test_timers.vim
13732
13733Patch 7.4.2242 (after 7.4.2240)
13734Problem: Timer test sometimes fails.
13735Solution: Increase the maximum time for callback timer test.
13736Files: src/testdir/test_timers.vim
13737
13738Patch 7.4.2243
13739Problem: Warning for assigning negative value to unsigned. (Danek Duvall)
13740Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u
13741 only when an unsigned is needed.
13742Files: src/structs.h, src/globals.h, src/screen.c, src/term.c,
13743 src/syntax.c, src/gui_gtk_x11.c, src/gui.c, src/gui_mac.c,
13744 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c,
13745 src/proto/term.pro, src/proto/gui_gtk_x11.pro,
13746 src/proto/gui_mac.pro, src/proto/gui_photon.pro,
13747 src/proto/gui_w32.pro, src/proto/gui_x11.pro
13748
13749Patch 7.4.2244
13750Problem: Adding pattern to ":oldfiles" is not a generic solution.
13751Solution: Add the ":filter /pat/ cmd" command modifier. Only works for some
13752 commands right now.
13753Files: src/structs.h, src/ex_docmd.c, src/ex_cmds.h, src/message.c,
13754 src/proto/message.pro, runtime/doc/starting.txt,
13755 runtime/doc/various.txt, src/testdir/test_viminfo.vim,
13756 src/testdir/test_alot.vim, src/testdir/test_filter_cmd.vim,
13757 src/Makefile
13758
13759Patch 7.4.2245 (after 7.4.2244)
13760Problem: Filter test fails.
13761Solution: Include missing changes.
13762Files: src/buffer.c
13763
13764Patch 7.4.2246 (after 7.4.2244)
13765Problem: Oldfiles test fails.
13766Solution: Include missing changes.
13767Files: src/ex_cmds.c
13768
13769Patch 7.4.2247 (after 7.4.2244)
13770Problem: Tiny build fails. (Tony Mechelynck)
13771Solution: Remove #ifdef.
13772Files: src/ex_cmds.c
13773
13774Patch 7.4.2248
13775Problem: When cancelling the :ptjump prompt a preview window is opened for
13776 a following command.
13777Solution: Reset g_do_tagpreview. (Hirohito Higashi) Add a test. Avoid that
13778 the test runner gets stuck in trying to close a window.
13779Files: src/tag.c, src/testdir/test_tagjump.vim, src/testdir/runtest.vim
13780
13781Patch 7.4.2249
13782Problem: Missing colon in error message.
13783Solution: Add the colon. (Dominique Pelle)
13784Files: src/userfunc.c
13785
13786Patch 7.4.2250
13787Problem: Some error messages cannot be translated.
13788Solution: Enclose them in _() and N_(). (Dominique Pelle)
13789Files: src/channel.c, src/evalfunc.c, src/ex_cmds.c, src/spell.c,
13790 src/window.c
13791
13792Patch 7.4.2251
13793Problem: In rare cases diffing 4 buffers is not enough.
13794Solution: Raise the limit to 8. (closes #1000)
13795Files: src/structs.h, runtime/doc/diff.txt
13796
13797Patch 7.4.2252
13798Problem: Compiler warnings for signed/unsigned in expression.
13799Solution: Remove type cast. (Dominique Pelle)
13800Files: src/vim.h
13801
13802Patch 7.4.2253
13803Problem: Check for Windows 3.1 will always return false. (Christian
13804 Brabandt)
13805Solution: Remove the dead code.
13806Files: src/gui_w32.c, src/evalfunc.c, src/ex_cmds.c, src/option.c,
13807 src/os_win32.c, src/version.c, src/proto/gui_w32.pro
13808
13809Patch 7.4.2254
13810Problem: Compiler warnings in MzScheme code.
13811Solution: Add UNUSED. Remove unreachable code.
13812Files: src/if_mzsch.c
13813
13814Patch 7.4.2255
13815Problem: The script that checks translations can't handle plurals.
13816Solution: Check for plural msgid and msgstr entries. Leave the cursor on
13817 the first error.
13818Files: src/po/check.vim
13819
13820Patch 7.4.2256
13821Problem: Coverity complains about null pointer check.
13822Solution: Remove wrong and superfluous error check.
13823Files: src/eval.c
13824
13825Patch 7.4.2257
13826Problem: Coverity complains about not checking for NULL.
13827Solution: Check for out of memory.
13828Files: src/if_py_both.h
13829
13830Patch 7.4.2258
13831Problem: Two JSON messages are sent without a separator.
13832Solution: Separate messages with a NL. (closes #1001)
13833Files: src/json.c, src/channel.c, src/vim.h, src/testdir/test_channel.py,
13834 src/testdir/test_channel.vim, runtime/doc/channel.txt
13835
13836Patch 7.4.2259
13837Problem: With 'incsearch' can only see the next match.
13838Solution: Make CTRL-N/CTRL-P move to the previous/next match. (Christian
13839 Brabandt)
13840Files: runtime/doc/cmdline.txt, src/ex_getln.c, src/testdir/Make_all.mak,
13841 src/testdir/test_search.vim, src/Makefile
13842
13843Patch 7.4.2260 (after 7.4.2258)
13844Problem: Channel test is flaky.
13845Solution: Add a newline to separate JSON messages.
13846Files: src/testdir/test_channel.vim
13847
13848Patch 7.4.2261 (after 7.4.2259)
13849Problem: Build fails with small features.
13850Solution: Move "else" inside the #ifdef.
13851Files: src/ex_getln.c
13852
13853Patch 7.4.2262
13854Problem: Fail to read register content from viminfo if it is 438 characters
13855 long. (John Chen)
13856Solution: Adjust the check for line wrapping. (closes #1010)
13857Files: src/testdir/test_viminfo.vim, src/ex_cmds.c
13858
13859Patch 7.4.2263
13860Problem: :filter does not work for many commands. Can only get matching
13861 messages.
13862Solution: Make :filter work for :command, :map, :list, :number and :print.
13863 Make ":filter!" show non-matching lines.
13864Files: src/getchar.c, src/ex_cmds.c, src/ex_cmds.h, src/ex_docmd.c,
13865 src/message.c, src/structs.h, src/testdir/test_filter_cmd.vim
13866
13867Patch 7.4.2264
13868Problem: When adding entries to an empty quickfix list the title is reset.
13869Solution: Improve handling of the title. (Yegappan Lakshmanan)
13870Files: src/testdir/test_quickfix.vim, src/quickfix.c
13871
13872Patch 7.4.2265
13873Problem: printf() isn't tested much.
13874Solution: Add more tests for printf(). (Dominique Pelle)
13875Files: src/testdir/test_expr.vim
13876
13877Patch 7.4.2266 (after 7.4.2265)
13878Problem: printf() test fails on Windows. "-inf" is not used.
13879Solution: Check for Windows-specific values for "nan". Add sign to "inf"
13880 when appropriate.
13881Files: src/message.c, src/testdir/test_expr.vim
13882
13883Patch 7.4.2267 (after 7.4.2266)
13884Problem: Build fails on MS-Windows.
13885Solution: Add define to get isinf().
13886Files: src/message.c
13887
13888Patch 7.4.2268 (after 7.4.2259)
13889Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys.
13890Solution: Use CTRL-T and CTRL-G instead.
13891Files: runtime/doc/cmdline.txt, src/ex_getln.c,
13892 src/testdir/test_search.vim
13893
13894Patch 7.4.2269
13895Problem: Using 'hlsearch' highlighting instead of matchpos if there is no
13896 search match.
13897Solution: Pass NULL as last item to next_search_hl() when searching for
13898 'hlsearch' match. (Shane Harper, closes #1013)
13899Files: src/screen.c, src/testdir/test_match.vim.
13900
13901Patch 7.4.2270
13902Problem: Insufficient testing for NUL bytes on a raw channel.
13903Solution: Add a test for writing and reading.
13904Files: src/testdir/test_channel.vim
13905
13906Patch 7.4.2271
13907Problem: Netbeans test doesn't read settings from file.
13908Solution: Use "-Xnbauth".
13909Files: src/testdir/test_netbeans.vim
13910
13911Patch 7.4.2272
13912Problem: getbufinfo(), getwininfo() and gettabinfo() are inefficient.
13913Solution: Instead of making a copy of the variables dictionary, use a
13914 reference.
13915Files: src/evalfunc.c
13916
13917Patch 7.4.2273
13918Problem: getwininfo() and getbufinfo() are inefficient.
13919Solution: Do not make a copy of all window/buffer-local options. Make it
13920 possible to get them with gettabwinvar() or getbufvar().
13921Files: src/evalfunc.c, src/eval.c, src/testdir/test_bufwintabinfo.vim,
13922 runtime/doc/eval.txt
13923
13924Patch 7.4.2274
13925Problem: Command line completion on "find **/filename" drops sub-directory.
13926Solution: Handle this case separately. (Harm te Hennepe, closes #932, closes
13927 #939)
13928Files: src/misc1.c, src/testdir/test_cmdline.vim
13929
13930Patch 7.4.2275
13931Problem: ":diffoff!" does not remove filler lines.
13932Solution: Force a redraw and invalidate the cursor. (closes #1014)
13933Files: src/diff.c, src/testdir/test_diffmode.vim
13934
13935Patch 7.4.2276
13936Problem: Command line test fails on Windows when run twice.
13937Solution: Wipe the buffer so that the directory can be deleted.
13938Files: src/testdir/test_cmdline.vim
13939
13940Patch 7.4.2277
13941Problem: Memory leak in getbufinfo() when there is a sign. (Dominique
13942 Pelle)
13943Solution: Remove extra vim_strsave().
13944Files: src/evalfunc.c
13945
13946Patch 7.4.2278
13947Problem: New users have no idea of the 'scrolloff' option.
13948Solution: Set 'scrolloff' in defaults.vim.
13949Files: runtime/defaults.vim
13950
13951Patch 7.4.2279
13952Problem: Starting diff mode with the cursor in the last line might end up
13953 only showing one closed fold. (John Beckett)
13954Solution: Scroll the window to show the same relative cursor position.
13955Files: src/diff.c, src/window.c, src/proto/window.pro
13956
13957Patch 7.4.2280
13958Problem: printf() doesn't handle infinity float values correctly.
13959Solution: Add a table with possible infinity values. (Dominique Pelle)
13960Files: src/message.c, src/testdir/test_expr.vim
13961
13962Patch 7.4.2281
13963Problem: Timer test fails sometimes.
13964Solution: Reduce minimum time by 1 msec.
13965Files: src/testdir/test_timers.vim
13966
13967Patch 7.4.2282
13968Problem: When a child process is very fast waiting 10 msec for it is
13969 noticeable. (Ramel Eshed)
13970Solution: Start waiting for 1 msec and gradually increase.
13971Files: src/os_unix.c
13972
13973Patch 7.4.2283
13974Problem: Part of ":oldfiles" command isn't cleared. (Lifepillar)
13975Solution: Clear the rest of the line. (closes 1018)
13976Files: src/ex_cmds.c
13977
13978Patch 7.4.2284
13979Problem: Comment in scope header file is outdated. (KillTheMule)
13980Solution: Point to the help instead. (closes #1017)
13981Files: src/if_cscope.h
13982
13983Patch 7.4.2285
13984Problem: Generated files are outdated.
13985Solution: Generate the files. Avoid errors when generating prototypes.
13986Files: src/if_mzsch.h, src/Makefile, src/option.h, src/os_mac_conv.c,
13987 src/os_amiga.c, src/vim.h, src/structs.h, src/os_win32.c,
13988 src/if_lua.c, src/proto/mbyte.pro
13989
Bram Moolenaarabd468e2016-09-08 22:22:43 +020013990Patch 7.4.2286
13991Problem: The tee program isn't included. Makefile contains build
13992 instructions that don't work.
13993Solution: Update the Filelist and build instructions. Remove build
13994 instructions for DOS and old Windows. Add the tee program.
13995Files: Filelist, Makefile, nsis/gvim.nsi
13996
13997Patch 7.4.2287
13998Problem: The callback passed to ch_sendraw() is not used.
13999Solution: Pass the read part, not the send part. (haya14busa, closes #1019)
14000Files: src/channel.c, src/testdir/test_channel.vim
14001
14002Patch 7.4.2288
14003Problem: MS-Windows build instructions are clumsy. "dosbin" doesn't build.
14004Solution: Add rename.bat. Fix building "dosbin".
14005Files: Makefile, Filelist, rename.bat
14006
14007Patch 7.4.2289
14008Problem: When installing and $DESTDIR is set the icons probably won't be
14009 installed.
14010Solution: Create the icon directories if $DESTDIR is not empty. (Danek
14011 Duvall)
14012Files: src/Makefile
14013
14014Patch 7.4.2290
14015Problem: Compiler warning in tiny build. (Tony Mechelynck)
14016Solution: Add #ifdef around infinity_str().
14017Files: src/message.c
14018
14019Patch 7.4.2291
14020Problem: printf() handles floats wrong when there is a sign.
14021Solution: Fix placing the sign. Add tests. (Dominique Pelle)
14022Files: src/testdir/test_expr.vim, runtime/doc/eval.txt, src/message.c
14023
14024Patch 7.4.2292 (after 7.4.2291)
14025Problem: Not all systems understand %F in printf().
14026Solution: Use %f.
14027Files: src/message.c
14028
14029Patch 7.4.2293
14030Problem: Modelines in source code are inconsistent.
14031Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
14032Files: src/alloc.h, src/arabic.c, src/arabic.h, src/ascii.h,
14033 src/blowfish.c, src/buffer.c, src/channel.c, src/charset.c,
14034 src/crypt.c, src/crypt_zip.c, src/dict.c, src/diff.c,
14035 src/digraph.c, src/dosinst.c, src/dosinst.h, src/edit.c,
14036 src/eval.c, src/evalfunc.c, src/ex_cmds.c, src/ex_cmds.h,
14037 src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c,
14038 src/farsi.c, src/farsi.h, src/feature.h, src/fileio.c, src/fold.c,
14039 src/getchar.c, src/glbl_ime.cpp, src/glbl_ime.h, src/globals.h,
14040 src/gui.c, src/gui.h, src/gui_at_fs.c, src/gui_at_sb.c,
14041 src/gui_at_sb.h, src/gui_athena.c, src/gui_beval.c,
14042 src/gui_beval.h, src/gui_gtk.c, src/gui_gtk_f.c, src/gui_gtk_f.h,
14043 src/gui_gtk_vms.h, src/gui_gtk_x11.c, src/gui_mac.c,
14044 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_x11.c,
14045 src/gui_x11_pm.h, src/gui_xmdlg.c, src/gui_xmebw.c,
14046 src/gui_xmebw.h, src/gui_xmebwp.h, src/hangulin.c, src/hardcopy.c,
14047 src/hashtab.c, src/if_cscope.c, src/if_cscope.h, src/if_mzsch.c,
14048 src/if_mzsch.h, src/if_ole.cpp, src/if_perl.xs, src/if_perlsfio.c,
14049 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/if_xcmdsrv.c,
14050 src/integration.c, src/integration.h, src/iscygpty.c, src/json.c,
14051 src/json_test.c, src/keymap.h, src/list.c, src/macros.h,
14052 src/main.c, src/mark.c, src/mbyte.c, src/memfile.c,
14053 src/memfile_test.c, src/memline.c, src/menu.c, src/message.c,
14054 src/message_test.c, src/misc1.c, src/misc2.c, src/move.c,
14055 src/nbdebug.c, src/nbdebug.h, src/netbeans.c, src/normal.c,
14056 src/ops.c, src/option.c, src/option.h, src/os_amiga.c,
14057 src/os_amiga.h, src/os_beos.c, src/os_beos.h, src/os_dos.h,
14058 src/os_mac.h, src/os_mac_conv.c, src/os_macosx.m, src/os_mint.h,
14059 src/os_mswin.c, src/os_qnx.c, src/os_qnx.h, src/os_unix.c,
14060 src/os_unix.h, src/os_unixx.h, src/os_vms.c, src/os_w32dll.c,
14061 src/os_w32exe.c, src/os_win32.c, src/os_win32.h, src/popupmnu.c,
14062 src/proto.h, src/pty.c, src/quickfix.c, src/regexp.c,
14063 src/regexp.h, src/regexp_nfa.c, src/screen.c, src/search.c,
14064 src/sha256.c, src/spell.c, src/spell.h, src/spellfile.c,
14065 src/structs.h, src/syntax.c, src/tag.c, src/term.c, src/term.h,
14066 src/termlib.c, src/ui.c, src/undo.c, src/uninstal.c,
14067 src/userfunc.c, src/version.c, src/version.h, src/vim.h,
14068 src/vim.rc, src/vimio.h, src/vimrun.c, src/winclip.c,
14069 src/window.c, src/workshop.c, src/workshop.h, src/wsdebug.c,
14070 src/wsdebug.h, src/xpm_w32.c
14071
14072Patch 7.4.2294
14073Problem: Sign test fails on MS-Windows when using the distributed zip
14074 archives.
14075Solution: Create dummy files instead of relying on files in the pixmaps
14076 directory.
14077Files: src/testdir/test_signs.vim
14078
14079Patch 7.4.2295 (after 7.4.2293)
14080Problem: Cscope test fails.
14081Solution: Avoid checking for specific line and column numbers.
14082Files: src/testdir/test_cscope.vim
14083
14084Patch 7.4.2296
14085Problem: No tests for :undolist and "U" command.
14086Solution: Add tests. (Dominique Pelle)
14087Files: src/testdir/test_undo.vim
14088
14089Patch 7.4.2297
14090Problem: When starting a job that reads from a buffer and reaching the end,
14091 the job hangs.
14092Solution: Close the pipe or socket when all lines were read.
14093Files: src/channel.c, src/testdir/test_channel.vim
14094
14095Patch 7.4.2298
14096Problem: It is not possible to close the "in" part of a channel.
14097Solution: Add ch_close_in().
14098Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro,
14099 src/testdir/test_channel.vim, runtime/doc/eval.txt,
14100 runtime/doc/channel.txt
14101
14102Patch 7.4.2299
14103Problem: QuickFixCmdPre and QuickFixCmdPost autocommands are not always
14104 triggered.
14105Solution: Also trigger on ":cexpr", ":cbuffer", etc. (Yegappan Lakshmanan)
14106Files: src/quickfix.c, src/testdir/test_quickfix.vim
14107
14108Patch 7.4.2300
14109Problem: Get warning for deleting autocommand group when the autocommand
14110 using the group is scheduled for deletion. (Pavol Juhas)
14111Solution: Check for deleted autocommand.
14112Files: src/fileio.c, src/testdir/test_autocmd.vim
14113
14114Patch 7.4.2301
14115Problem: MS-Windows: some files remain after testing.
14116Solution: Close the channel output file. Wait for the file handle to be
14117 closed before deleting the file.
14118Files: src/os_win32.c, src/testdir/test_channel.vim
14119
14120Patch 7.4.2302
14121Problem: Default interface versions for MS-Windows are outdated.
14122Solution: Use Active Perl 5.24, Python 3.5.2. Could only make it work with
14123 Ruby 1.9.2.
14124Files: src/bigvim.bat, src/bigvim64.bat, src/Make_mvc.mak
14125
14126Patch 7.4.2303
14127Problem: When using "is" the mode isn't always updated.
14128Solution: Redraw the command line. (Christian Brabandt)
14129Files: src/search.c
14130
14131Patch 7.4.2304
14132Problem: In a timer callback the timer itself can't be found or stopped.
14133 (Thinca)
14134Solution: Do not remove the timer from the list, remember whether it was
14135 freed.
14136Files: src/ex_cmds2.c, src/testdir/test_timers.vim
14137
14138Patch 7.4.2305
14139Problem: Marks, writefile and nested function tests are old style.
14140Solution: Turn them into new style tests. (Yegappan Lakshmanan)
14141Files: src/testdir/Make_all.mak, src/testdir/test_marks.in,
14142 src/testdir/test_marks.ok, src/testdir/test_marks.vim,
14143 src/testdir/test_nested_function.in,
14144 src/testdir/test_nested_function.ok,
14145 src/testdir/test_nested_function.vim,
14146 src/testdir/test_writefile.in, src/testdir/test_writefile.ok,
14147 src/testdir/test_writefile.vim, src/Makefile
14148
14149Patch 7.4.2306
14150Problem: Default value for 'langremap' is wrong.
14151Solution: Set the right value. (Jürgen Krämer) Add a test.
14152Files: src/option.c, src/testdir/test_mapping.vim
14153
14154Patch 7.4.2307
14155Problem: Several tests are old style.
14156Solution: Turn them into new style tests. (Yegappan Lakshmanan)
14157Files: src/testdir/Make_all.mak, src/testdir/test102.in,
14158 src/testdir/test102.ok, src/testdir/test46.in,
14159 src/testdir/test46.ok, src/testdir/test81.in,
14160 src/testdir/test81.ok, src/testdir/test_charsearch.in,
14161 src/testdir/test_charsearch.ok, src/testdir/test_charsearch.vim,
14162 src/testdir/test_fnameescape.vim, src/testdir/test_substitute.vim,
14163 src/Makefile
14164
14165Patch 7.4.2308 (after 7.4.2307)
14166Problem: Old charsearch test still listed in Makefile.
14167Solution: Remove the line.
14168Files: src/testdir/Make_all.mak
14169
14170Patch 7.4.2309
14171Problem: Crash when doing tabnext in a BufUnload autocmd. (Dominique Pelle)
14172Solution: When detecting that the tab page changed, don't just abort but
14173 delete the window where w_buffer is NULL.
14174Files: src/window.c, src/testdir/test_tabpage.vim
14175
14176Patch 7.4.2310 (after 7.4.2304)
14177Problem: Accessing freed memory when a timer does not repeat.
14178Solution: Free after removing it. (Dominique Pelle)
14179Files: src/ex_cmds2.c
14180
14181Patch 7.4.2311
14182Problem: Appveyor 64 bit build still using Python 3.4
14183Solution: Switch to Python 3.5. (Ken Takata, closes #1032)
14184Files: appveyor.yml, src/appveyor.bat
14185
14186Patch 7.4.2312
14187Problem: Crash when autocommand moves to another tab. (Dominique Pelle)
14188Solution: When navigating to another window halfway the :edit command go
14189 back to the right window.
14190Files: src/buffer.c, src/ex_cmds.c, src/ex_getln.c, src/ex_docmd.c,
14191 src/window.c, src/proto/ex_getln.pro, src/testdir/test_tabpage.vim
14192
14193Patch 7.4.2313
14194Problem: Crash when deleting an augroup and listing an autocommand.
14195 (Dominique Pelle)
14196Solution: Make sure deleted_augroup is valid.
14197Files: src/fileio.c, src/testdir/test_autocmd.vim
14198
14199Patch 7.4.2314
14200Problem: No error when deleting an augroup while it's the current one.
14201Solution: Disallow deleting an augroup when it's the current one.
14202Files: src/fileio.c, src/testdir/test_autocmd.vim
14203
14204Patch 7.4.2315
14205Problem: Insufficient testing for Normal mode commands.
14206Solution: Add a big test. (Christian Brabandt, closes #1029)
14207Files: src/Makefile, src/testdir/Make_all.mak,
14208 src/testdir/test_normal.vim
14209
14210Patch 7.4.2316
14211Problem: Channel sort test is flaky.
14212Solution: Add a check the output has been read.
14213Files: src/testdir/test_channel.vim
14214
14215Patch 7.4.2317 (after 7.4.2315)
14216Problem: Normal mode tests fail on MS-Windows.
14217Solution: Do some tests only on Unix. Set 'fileformat' to "unix".
14218Files: src/testdir/test_normal.vim
14219
14220Patch 7.4.2318
14221Problem: When 'incsearch' is not set CTRL-T and CTRL-G are not inserted as
14222 before.
14223Solution: Move #ifdef and don't use goto.
14224Files: src/ex_getln.c
14225
14226Patch 7.4.2319
14227Problem: No way for a system wide vimrc to stop loading defaults.vim.
14228 (Christian Hesse)
14229Solution: Bail out of defaults.vim if skip_defaults_vim was set.
14230Files: runtime/defaults.vim
14231
14232Patch 7.4.2320
14233Problem: Redraw problem when using 'incsearch'.
14234Solution: Save the current view when deleting characters. (Christian
14235 Brabandt) Fix that the '" mark is set in the wrong position. Don't
14236 change the search start when using BS.
14237Files: src/ex_getln.c, src/normal.c, src/testdir/test_search.vim
14238
14239Patch 7.4.2321
14240Problem: When a test is commented out we forget about it.
14241Solution: Let a test throw an exception with "Skipped" and list skipped test
14242 functions. (Christian Brabandt)
14243Files: src/testdir/Makefile, src/testdir/runtest.vim,
14244 src/testdir/test_popup.vim, src/testdir/README.txt
14245
14246Patch 7.4.2322
14247Problem: Access memory beyond the end of the line. (Dominique Pelle)
14248Solution: Adjust the cursor column.
14249Files: src/move.c, src/testdir/test_normal.vim
14250
14251Patch 7.4.2323
14252Problem: Using freed memory when using 'formatexpr'. (Dominique Pelle)
14253Solution: Make a copy of 'formatexpr' before evaluating it.
14254Files: src/ops.c, src/testdir/test_normal.vim
14255
14256Patch 7.4.2324
14257Problem: Crash when editing a new buffer and BufUnload autocommand wipes
14258 out the new buffer. (Norio Takagi)
14259Solution: Don't allow wiping out this buffer. (partly by Hirohito Higashi)
14260 Move old style test13 into test_autocmd. Avoid ml_get error when
14261 editing a file.
14262Files: src/structs.h, src/buffer.c, src/ex_cmds.c, src/ex_docmd.c,
14263 src/window.c, src/testdir/test13.in, src/testdir/test13.ok,
14264 src/testdir/test_autocmd.vim, src/testdir/Make_all.mak,
14265 src/Makefile
14266
14267Patch 7.4.2325 (after 7.4.2324)
14268Problem: Tiny build fails.
14269Solution: Add #ifdef.
14270Files: src/buffer.c
14271
14272Patch 7.4.2326
14273Problem: Illegal memory access when Visual selection starts in invalid
14274 position. (Dominique Pelle)
14275Solution: Correct position when needed.
14276Files: src/normal.c, src/misc2.c, src/proto/misc2.pro
14277
14278Patch 7.4.2327
14279Problem: Freeing a variable that is on the stack.
14280Solution: Don't free res_tv or err_tv. (Ozaki Kiichi)
14281Files: src/channel.c
14282
14283Patch 7.4.2328
14284Problem: Crash when BufWinLeave autocmd goes to another tab page. (Hirohito
14285 Higashi)
14286Solution: Make close_buffer() go back to the right window.
14287Files: src/buffer.c, src/testdir/test_autocmd.vim
14288
14289Patch 7.4.2329
Bram Moolenaard0796902016-09-16 20:02:31 +020014290Problem: Error for min() and max() contains %s. (Nikolai Pavlov)
Bram Moolenaarabd468e2016-09-08 22:22:43 +020014291Solution: Pass the function name. (closes #1040)
14292Files: src/evalfunc.c, src/testdir/test_expr.vim
14293
14294Patch 7.4.2330
14295Problem: Coverity complains about not checking curwin to be NULL.
14296Solution: Use firstwin to avoid the warning.
14297Files: src/buffer.c
14298
14299Patch 7.4.2331
14300Problem: Using CTRL-X CTRL-V to complete a command line from Insert mode
14301 does not work after entering an expression on the command line.
14302Solution: Don't use "ccline" when not actually using a command line. (test
14303 by Hirohito Higashi)
14304Files: src/edit.c, src/ex_getln.c, src/proto/ex_getln.pro,
14305 src/testdir/test_popup.vim
14306
14307Patch 7.4.2332
14308Problem: Crash when stop_timer() is called in a callback of a callback.
14309 Vim hangs when the timer callback uses too much time.
14310Solution: Set tr_id to -1 when a timer is to be deleted. Don't keep calling
14311 callbacks forever. (Ozaki Kiichi)
14312Files: src/evalfunc.c, src/ex_cmds2.c, src/structs.h,
14313 src/proto/ex_cmds2.pro, src/testdir/test_timers.vim
14314
14315Patch 7.4.2333
14316Problem: Outdated comments in test.
14317Solution: Cleanup normal mode test. (Christian Brabandt)
14318Files: src/testdir/test_normal.vim
14319
14320Patch 7.4.2334
14321Problem: On MS-Windows test_getcwd leaves Xtopdir behind.
14322Solution: Set 'noswapfile'. (Michael Soyka)
14323Files: src/testdir/test_getcwd.in
14324
14325Patch 7.4.2335
14326Problem: taglist() is slow. (Luc Hermitte)
14327Solution: Check for CTRL-C less often when doing a linear search. (closes
14328 #1044)
14329Files: src/tag.c
14330
14331Patch 7.4.2336
14332Problem: Running normal mode tests leave a couple of files behind.
14333 (Yegappan Lakshmanan)
14334Solution: Delete the files. (Christian Brabandt)
14335Files: src/testdir/test_normal.vim
14336
14337Patch 7.4.2337
14338Problem: taglist() is still slow. (Luc Hermitte)
14339Solution: Check for CTRL-C less often when finding duplicates.
14340Files: src/tag.c
14341
14342Patch 7.4.2338
14343Problem: Can't build with small features. (John Marriott)
14344Solution: Nearly always define FEAT_TAG_BINS.
14345Files: src/feature.h, src/tag.c
14346
14347Patch 7.4.2339
14348Problem: Tab page test fails when run as fake root.
14349Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042)
14350Files: src/testdir/test_tabpage.vim
14351
14352Patch 7.4.2340
14353Problem: MS-Windows: Building with Ruby uses old version.
14354Solution: Update to 2.2.X. Use clearer name for the API version. (Ken
14355 Takata)
14356Files: Makefile, src/INSTALLpc.txt, src/Make_cyg_ming.mak,
14357 src/Make_mvc.mak, src/bigvim.bat
14358
14359Patch 7.4.2341
14360Problem: Tiny things. Test doesn't clean up properly.
14361Solution: Adjust comment and white space. Restore option value.
14362Files: src/ex_cmds.c, src/message.c, src/testdir/test_autocmd.vim
14363
14364Patch 7.4.2342
14365Problem: Typo in MS-Windows build script.
14366Solution: change "w2" to "22".
14367Files: src/bigvim.bat
14368
14369Patch 7.4.2343
14370Problem: Too many old style tests.
14371Solution: Turn several into new style tests. (Yegappan Lakshmanan)
14372Files: src/testdir/Make_all.mak, src/testdir/test101.in,
14373 src/testdir/test101.ok, src/testdir/test18.in,
14374 src/testdir/test18.ok, src/testdir/test2.in, src/testdir/test2.ok,
14375 src/testdir/test21.in, src/testdir/test21.ok,
14376 src/testdir/test6.in, src/testdir/test6.ok,
14377 src/testdir/test_arglist.vim, src/testdir/test_charsearch.vim,
14378 src/testdir/test_fnameescape.vim, src/testdir/test_gf.vim,
14379 src/testdir/test_hlsearch.vim, src/testdir/test_smartindent.vim,
14380 src/testdir/test_tagjump.vim, src/Makefile
14381
14382Patch 7.4.2344
14383Problem: The "Reading from channel output..." message can be unwanted.
14384 Appending to a buffer leaves an empty first line behind.
14385Solution: Add the "out_msg" and "err_msg" options. Writing the first line
14386 overwrites the first, empty line.
14387Files: src/structs.h, src/channel.c, src/testdir/test_channel.vim,
14388 runtime/doc/channel.txt
14389
14390Patch 7.4.2345 (after 7.4.2340)
14391Problem: For MinGW RUBY_API_VER_LONG isn't set correctly. Many default
14392 version numbers are outdated.
14393Solution: Set RUBY_API_VER_LONG to RUBY_VER_LONG. Use latest stable releases
14394 for defaults. (Ken Takata)
14395Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
14396
14397Patch 7.4.2346
14398Problem: Autocommand test fails when run directly, passes when run as part
14399 of test_alot.
14400Solution: Add command to make the cursor move. Close a tab page.
14401Files: src/testdir/test_autocmd.vim
14402
Bram Moolenaar7e1479b2016-09-11 15:07:27 +020014403Patch 7.4.2347
14404Problem: Crash when closing a buffer while Visual mode is active.
14405 (Dominique Pelle)
14406Solution: Adjust the position before computing the number of lines.
14407 When closing the current buffer stop Visual mode.
14408Files: src/buffer.c, src/normal.c, src/testdir/test_normal.vim
14409
14410Patch 7.4.2348
14411Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle)
14412Solution: Don't access curwin when exiting.
14413Files: src/buffer.c
14414
14415Patch 7.4.2349
Bram Moolenaard0796902016-09-16 20:02:31 +020014416Problem: Valgrind reports using uninitialized memory. (Dominique Pelle)
Bram Moolenaar7e1479b2016-09-11 15:07:27 +020014417Solution: Check the length before checking for a NUL.
14418Files: src/message.c
14419
14420Patch 7.4.2350
14421Problem: Test 86 and 87 fail with some version of Python.
14422Solution: Unify "can't" and "cannot". Unify quotes.
14423Files: src/testdir/test86.in, src/testdir/test86.ok,
14424 src/testdir/test87.in, src/testdir/test87.ok
14425
14426Patch 7.4.2351
14427Problem: Netbeans test fails when run from unpacked MS-Windows sources.
14428Solution: Open README.txt instead of Makefile.
14429Files: src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim
14430
14431Patch 7.4.2352
14432Problem: Netbeans test fails in shadow directory.
14433Solution: Also copy README.txt to the shadow directory.
14434Files: src/Makefile
14435
14436Patch 7.4.2353
14437Problem: Not enough test coverage for Normal mode commands.
14438Solution: Add more tests. (Christian Brabandt)
14439Files: src/testdir/test_normal.vim
14440
14441Patch 7.4.2354
14442Problem: The example that explains nested backreferences does not work
14443 properly with the new regexp engine. (Harm te Hennepe)
14444Solution: Also save the end position when adding a state. (closes #990)
14445Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
14446
14447Patch 7.4.2355
14448Problem: Regexp fails to match when using "\>\)\?". (Ramel)
14449Solution: When a state is already in the list, but addstate_here() is used
14450 and the existing state comes later, add the new state anyway.
14451Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
14452
14453Patch 7.4.2356
14454Problem: Reading past end of line when using previous substitute pattern.
14455 (Dominique Pelle)
14456Solution: Don't set "pat" only set "searchstr".
14457Files: src/search.c, src/testdir/test_search.vim
14458
14459Patch 7.4.2357
14460Problem: Attempt to read history entry while not initialized.
14461Solution: Skip when the index is negative.
14462Files: src/ex_getln.c
14463
14464Patch 7.4.2358
Bram Moolenaar220adb12016-09-12 12:17:26 +020014465Problem: Compiler warnings with Solaris Studio when using GTK3. (Danek
14466 Duvall)
Bram Moolenaar7e1479b2016-09-11 15:07:27 +020014467Solution: Define FUNC2GENERIC depending on the system. (Kazunobu Kuriyama)
14468Files: src/gui.h, src/gui_beval.c, src/gui_gtk_f.c
14469
Bram Moolenaar220adb12016-09-12 12:17:26 +020014470Patch 7.4.2359
14471Problem: Memory leak in timer_start().
14472Solution: Check the right field to be NULL.
14473Files: src/evalfunc.c, src/testdir/test_timers.vim
14474
14475Patch 7.4.2360
14476Problem: Invalid memory access when formatting. (Dominique Pelle)
14477Solution: Make sure cursor line and column are associated.
14478Files: src/misc1.c
14479
14480Patch 7.4.2361
14481Problem: Checking for last_timer_id to overflow is not reliable. (Ozaki
14482 Kiichi)
14483Solution: Check for the number not going up.
14484Files: src/ex_cmds2.c
14485
14486Patch 7.4.2362
14487Problem: Illegal memory access with ":1@". (Dominique Pelle)
14488Solution: Correct cursor column after setting the line number. Also avoid
14489 calling end_visual_mode() when not in Visual mode.
14490Files: src/ex_docmd.c, src/buffer.c
14491
14492Patch 7.4.2363
14493Problem: Superfluous function prototypes.
14494Solution: Remove them.
14495Files: src/regexp.c
14496
14497Patch 7.4.2364
14498Problem: Sort test sometimes fails.
14499Solution: Add it to the list of flaky tests.
14500Files: src/testdir/runtest.vim
Bram Moolenaar03413f42016-04-12 21:07:15 +020014501
Bram Moolenaar1b010052016-09-12 12:24:11 +020014502Patch 7.4.2365
14503Problem: Needless line break. Confusing directory name.
14504Solution: Remove line break. Prepend "../" to "tools".
14505Files: Makefile, src/normal.c
14506
Bram Moolenaarbb76f242016-09-12 14:24:39 +020014507Patch 7.4.2366
14508Problem: MS-Windows gvim.exe does not have DirectX support.
14509Solution: Add the DIRECTX to the script.
14510Files: src/bigvim.bat
14511
14512Patch 7.4.2367 (after 7.4.2364)
14513Problem: Test runner misses a comma.
14514Solution: Add the comma.
14515Files: src/testdir/runtest.vim
14516
Bram Moolenaarc0514bf2016-11-17 14:50:09 +010014517Patch 8.0.0001
14518Problem: Intro screen still mentions version7. (Paul)
14519Solution: Change it to version8.
14520Files: src/version.c
14521
14522Patch 8.0.0002
14523Problem: The netrw plugin does not work.
14524Solution: Make it accept version 8.0.
14525Files: runtime/autoload/netrw.vim
14526
14527Patch 8.0.0003
14528Problem: getwinvar() returns wrong Value of boolean and number options,
14529 especially non big endian systems. (James McCoy)
14530Solution: Cast the pointer to long or int. (closes #1060)
14531Files: src/option.c, src/testdir/test_bufwintabinfo.vim
14532
14533Patch 8.0.0004
14534Problem: A string argument for function() that is not a function name
14535 results in an error message with NULL. (Christian Brabandt)
14536Solution: Use the argument for the error message.
14537Files: src/evalfunc.c, src/testdir/test_expr.vim
14538
14539Patch 8.0.0005
14540Problem: Netbeans test fails with Python 3. (Jonathonf)
14541Solution: Encode the string before sending it. (closes #1070)
14542Files: src/testdir/test_netbeans.py
14543
14544Patch 8.0.0006
14545Problem: ":lb" is interpreted as ":lbottom" while the documentation says it
14546 means ":lbuffer".
14547Solution: Adjust the order of the commands. (haya14busa, closes #1093)
14548Files: src/ex_cmds.h
14549
14550Patch 8.0.0007
14551Problem: Vim 7.4 is still mentioned in a few places.
14552Solution: Update to Vim 8. (Uncle Bill, closes #1094)
14553Files: src/INSTALLpc.txt, src/vimtutor, uninstal.txt
14554
14555Patch 8.0.0008
14556Problem: Popup complete test is disabled.
14557Solution: Enable the test and change the assert. (Hirohito Higashi)
14558Files: src/testdir/test_popup.vim
14559
14560Patch 8.0.0009
14561Problem: Unnecessary workaround for AppVeyor.
14562Solution: Revert patch 7.4.990. (Christian Brabandt)
14563Files: appveyor.yml
14564
14565Patch 8.0.0010
14566Problem: Crash when editing file that starts with crypt header. (igor2x)
14567Solution: Check for length of text. (Christian Brabandt) Add a test.
14568Files: src/fileio.c, src/testdir/test_crypt.vim, src/Makefile,
14569 src/testdir/Make_all.mak
14570
14571Patch 8.0.0011
14572Problem: On OSX Test_pipe_through_sort_all() sometimes fails.
14573Solution: Add the test to the list of flaky tests.
14574Files: src/testdir/runtest.vim
14575
14576Patch 8.0.0012
14577Problem: Typos in comments.
14578Solution: Change "its" to "it's". (Matthew Brener, closes #1088)
14579Files: src/evalfunc.c, src/main.aap, src/nbdebug.c, src/netbeans.c,
14580 src/quickfix.c, src/workshop.c, src/wsdebug.c
14581
14582Patch 8.0.0013 (after 8.0.0011)
14583Problem: Missing comma in list.
14584Solution: Add the comma.
14585Files: src/testdir/runtest.vim
14586
14587Patch 8.0.0014
14588Problem: Crypt tests are old style.
14589Solution: Convert to new style.
14590Files: src/testdir/test71.in, src/testdir/test71.ok,
14591 src/testdir/test71a.in, src/testdir/test_crypt.vim, src/Makefile,
14592 src/testdir/Make_all.mak
14593
14594Patch 8.0.0015
14595Problem: Can't tell which part of a channel has "buffered" status.
14596Solution: Add an optional argument to ch_status(). Let ch_info() also
14597 return "buffered" for out_status and err_status.
14598Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro,
14599 src/testdir/test_channel.vim, runtime/doc/eval.txt
14600
14601Patch 8.0.0016 (after 8.0.0015)
14602Problem: Build fails.
14603Solution: Include missing change.
14604Files: src/eval.c
14605
14606Patch 8.0.0017
14607Problem: Cannot get the number of the current quickfix or location list.
14608Solution: Use the current list if "nr" in "what" is zero. (Yegappan
14609 Lakshmanan) Remove debug command from test.
14610Files: src/quickfix.c, src/testdir/test_quickfix.vim,
14611 runtime/doc/eval.txt
14612
14613Patch 8.0.0018
14614Problem: When using ":sleep" channel input is not handled.
14615Solution: When there is a channel check for input also when not in raw mode.
14616 Check every 100 msec.
14617Files: src/channel.c, src/proto/channel.pro, src/ui.c, src/proto/ui.pro,
14618 src/ex_docmd.c, src/os_amiga.c, src/proto/os_amiga.pro,
14619 src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c,
14620 src/proto/os_win32.pro
14621
14622Patch 8.0.0019
14623Problem: Test_command_count is old style.
14624Solution: Turn it into a new style test. (Naruhiko Nishino)
14625 Use more assert functions.
14626Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_alot.vim,
14627 src/testdir/test_autocmd.vim, src/testdir/test_command_count.in,
14628 src/testdir/test_command_count.ok,
14629 src/testdir/test_command_count.vim
14630
14631Patch 8.0.0020
14632Problem: The regexp engines are not reentrant.
14633Solution: Add regexec_T and save/restore the state when needed.
14634Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_expr.vim,
14635 runtime/doc/eval.txt, runtime/doc/change.txt
14636
14637Patch 8.0.0021
14638Problem: In the GUI when redrawing the cursor it may be on the second half
14639 of a double byte character.
14640Solution: Correct the cursor column. (Yasuhiro Matsumoto)
14641Files: src/screen.c
14642
14643Patch 8.0.0022
14644Problem: If a channel in NL mode is missing the NL at the end the remaining
14645 characters are dropped.
14646Solution: When the channel is closed use the remaining text. (Ozaki Kiichi)
14647Files: src/channel.c, src/testdir/test_channel.vim
14648
14649Patch 8.0.0023
14650Problem: "gd" and "gD" may find a match in a comment or string.
14651Solution: Ignore matches in comments and strings. (Anton Lindqvist)
14652Files: src/normal.c, src/testdir/test_goto.vim
14653
14654Patch 8.0.0024
14655Problem: When the netbeans channel closes, "DETACH" is put in the output
14656 part. (Ozaki Kiichi)
14657Solution: Write "DETACH" in the socket part.
14658Files: src/channel.c, src/testdir/test_netbeans.vim
14659
14660Patch 8.0.0025
14661Problem: Inconsistent use of spaces vs tabs in gd test.
14662Solution: Use tabs. (Anton Lindqvist)
14663Files: src/testdir/test_goto.vim
14664
14665Patch 8.0.0026
14666Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth)
14667Solution: Skip code when qf_multiignore is set. (Lcd)
14668Files: src/quickfix.c, src/testdir/test_quickfix.vim
14669
14670Patch 8.0.0027
14671Problem: A channel is closed when reading on stderr or stdout fails, but
14672 there may still be something to read on another part.
14673Solution: Turn ch_to_be_closed into a bitfield. (Ozaki Kiichi)
14674Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro,
14675 src/testdir/test_channel.vim
14676
14677Patch 8.0.0028
14678Problem: Superfluous semicolons.
14679Solution: Remove them. (Ozaki Kiichi)
14680Files: src/ex_cmds2.c
14681
14682Patch 8.0.0029
14683Problem: Code for MS-Windows is complicated because of the exceptions for
14684 old systems.
14685Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
14686Files: runtime/doc/gui_w32.txt, runtime/doc/os_win32.txt,
14687 runtime/doc/todo.txt, src/GvimExt/Makefile, src/Make_mvc.mak,
14688 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui_w32.c,
14689 src/if_cscope.c, src/misc1.c, src/misc2.c, src/option.c,
14690 src/os_mswin.c, src/os_win32.c, src/os_win32.h,
14691 src/proto/os_mswin.pro, src/proto/os_win32.pro, src/version.c
14692
14693Patch 8.0.0030
14694Problem: Mouse mode is not automatically detected for tmux.
14695Solution: Check for 'term' to be "tmux". (Michael Henry)
14696Files: src/os_unix.c
14697
14698Patch 8.0.0031
14699Problem: After ":bwipeout" 'fileformat' is not set to the right default.
14700Solution: Get the default from 'fileformats'. (Mike Williams)
14701Files: src/option.c, src/Makefile, src/testdir/test_fileformat.vim,
14702 src/testdir/test_alot.vim
14703
14704Patch 8.0.0032
14705Problem: Tests may change the input file when something goes wrong.
14706Solution: Avoid writing the input file.
14707Files: src/testdir/test51.in, src/testdir/test67.in,
14708 src/testdir/test97.in, src/testdir/test_tabpage.vim
14709
14710Patch 8.0.0033
14711Problem: Cannot use overlapping positions with matchaddpos().
14712Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi)
14713Files: src/screen.c, src/testdir/test_match.vim
14714
14715Patch 8.0.0034
14716Problem: No completion for ":messages".
14717Solution: Complete "clear" argument. (Hirohito Higashi)
14718Files: src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro,
14719 src/testdir/test_cmdline.vim, src/vim.h,
14720 runtime/doc/eval.txt, runtime/doc/map.txt
14721
14722Patch 8.0.0035 (after 7.4.2013)
14723Problem: Order of matches for 'omnifunc' is messed up. (Danny Su)
14724Solution: Do not set compl_curr_match when called from complete_check().
14725 (closes #1168)
14726Files: src/edit.c, src/evalfunc.c, src/proto/edit.pro, src/search.c,
14727 src/spell.c, src/tag.c, src/testdir/test76.in,
14728 src/testdir/test76.ok, src/testdir/test_popup.vim, src/Makefile,
14729 src/testdir/Make_all.mak
14730
14731Patch 8.0.0036
14732Problem: Detecting that a job has finished may take a while.
14733Solution: Check for a finished job more often (Ozaki Kiichi)
14734Files: src/channel.c, src/os_unix.c, src/os_win32.c,
14735 src/proto/os_unix.pro, src/proto/os_win32.pro,
14736 src/testdir/test_channel.vim
14737
14738Patch 8.0.0037
14739Problem: Get E924 when switching tabs. ()
14740Solution: Use win_valid_any_tab() instead of win_valid(). (Martin Vuille,
14741 closes #1167, closes #1171)
14742Files: src/quickfix.c, src/testdir/test_quickfix.vim
14743
14744Patch 8.0.0038
14745Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland
14746 files.
14747Solution: Check for __FreeBSD_kernel__. (James McCoy, closes #1166)
14748Files: src/vim.h
14749
14750Patch 8.0.0039
14751Problem: When Vim 8 reads an old viminfo and exits, the next time marks are
14752 not read from viminfo. (Ned Batchelder)
14753Solution: Set a mark when it wasn't set before, even when the timestamp is
14754 zero. (closes #1170)
14755Files: src/mark.c, src/testdir/test_viminfo.vim
14756
14757Patch 8.0.0040 (after 8.0.0033)
14758Problem: Whole line highlighting with matchaddpos() does not work.
14759Solution: Check for zero length. (Hirohito Higashi)
14760Files: src/screen.c, src/testdir/test_match.vim
14761
14762Patch 8.0.0041
14763Problem: When using Insert mode completion but not actually inserting
14764 anything an undo item is still created. (Tommy Allen)
14765Solution: Do not call stop_arrow() when not inserting anything.
14766Files: src/edit.c, src/testdir/test_popup.vim
14767
14768Patch 8.0.0042 (after 8.0.0041)
14769Problem: When using Insert mode completion with 'completeopt' containing
14770 "noinsert" change is not saved for undo. (Tommy Allen)
14771Solution: Call stop_arrow() before inserting for pressing Enter.
14772Files: src/edit.c, src/testdir/test_popup.vim
14773
14774Patch 8.0.0043 (after 8.0.0041)
14775Problem: When using Insert mode completion with 'completeopt' containing
14776 "noinsert" with CTRL-N the change is not saved for undo. (Tommy
14777 Allen)
14778Solution: Call stop_arrow() before inserting for any key.
14779Files: src/edit.c, src/testdir/test_popup.vim
14780
14781Patch 8.0.0044
14782Problem: In diff mode the cursor may end up below the last line, resulting
14783 in an ml_get error.
14784Solution: Check the line to be valid.
14785Files: src/move.c, src/diff.c, src/proto/diff.pro,
14786 src/testdir/test_diffmode.vim
14787
14788Patch 8.0.0045
14789Problem: Calling job_stop() right after job_start() does not work.
14790Solution: Block signals while fork is still busy. (Ozaki Kiichi, closes
14791 #1155)
14792Files: src/auto/configure, src/config.h.in, src/configure.in,
14793 src/os_unix.c, src/testdir/test_channel.vim
14794
14795Patch 8.0.0046
14796Problem: Using NUL instead of NULL.
14797Solution: Change to NULL. (Dominique Pelle)
14798Files: src/ex_cmds.c, src/json.c
14799
14800Patch 8.0.0047
14801Problem: Crash when using the preview window from an unnamed buffer.
14802 (lifepillar)
14803Solution: Do not clear the wrong buffer. (closes #1200)
14804Files: src/popupmnu.c
14805
14806Patch 8.0.0048
14807Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
14808 (Linwei)
14809Solution: Iterate over all processes and terminate the one where the parent
14810 is the job process. (Yasuhiro Matsumoto, closes #1184)
14811Files: src/os_win32.c, src/structs.h
14812
14813Patch 8.0.0049
14814Problem: When a match ends in part of concealed text highlighting, it might
14815 mess up concealing by resetting prev_syntax_id.
14816Solution: Do not reset prev_syntax_id and add a test to verify. (Christian
14817 Brabandt, closes #1092)
14818Files: src/screen.c, src/testdir/test_matchadd_conceal.vim
14819
14820Patch 8.0.0050
14821Problem: An exiting job is detected with a large latency.
14822Solution: Check for pending job more often. (Ozaki Kiichi) Change the
14823 double loop in mch_inchar() into one.
14824Files: src/channel.c, src/os_unix.c, src/testdir/shared.vim,
14825 src/testdir/test_channel.vim
14826
14827Patch 8.0.0051 (after 8.0.0048)
14828Problem: New code for job_stop() breaks channel test on AppVeyor.
14829Solution: Revert the change.
14830Files: src/os_win32.c, src/structs.h
14831
14832Patch 8.0.0052 (after 8.0.0049)
14833Problem: Conceal test passes even without the bug fix.
14834Solution: Add a redraw command. (Christian Brabandt)
14835Files: src/testdir/test_matchadd_conceal.vim
14836
14837Patch 8.0.0053 (after 8.0.0047)
14838Problem: No test for what 8.0.0047 fixes.
14839Solution: Add a test. (Hirohito Higashi)
14840Files: src/testdir/test_popup.vim
14841
14842Patch 8.0.0054 (after 8.0.0051)
14843Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
14844 (Linwei)
14845Solution: Iterate over all processes and terminate the one where the parent
14846 is the job process. Now only when there is no job object.
14847 (Yasuhiro Matsumoto, closes #1203)
14848Files: src/os_win32.c
14849
14850Patch 8.0.0055
14851Problem: Minor comment and style deficiencies.
14852Solution: Update comments and fix style.
14853Files: src/buffer.c, src/misc2.c, src/os_unix.c
14854
14855Patch 8.0.0056
14856Problem: When setting 'filetype' there is no check for a valid name.
14857Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'.
14858Files: src/option.c, src/testdir/test_options.vim
14859
14860Patch 8.0.0057 (after 8.0.0056)
14861Problem: Tests fail without the 'keymap' features.
14862Solution: Check for feature in test.
14863Files: src/testdir/test_options.vim
14864
14865Patch 8.0.0058
14866Problem: Positioning of the popup menu is not good.
14867Solution: Position it better. (Hirohito Higashi)
14868Files: src/popupmnu.c
14869
14870Patch 8.0.0059
14871Problem: Vim does not build on VMS systems.
14872Solution: Various changes for VMS. (Zoltan Arpadffy)
14873Files: src/json.c, src/macros.h, src/Make_vms.mms, src/os_unix.c,
14874 src/os_unix.h, src/os_vms.c, src/os_vms_conf.h,
14875 src/proto/os_vms.pro, src/testdir/Make_vms.mms
14876
14877Patch 8.0.0060
14878Problem: When using an Ex command for 'keywordprg' it is escaped as with a
14879 shell command. (Romain Lafourcade)
14880Solution: Escape for an Ex command. (closes #1175)
14881Files: src/normal.c, src/testdir/test_normal.vim
14882
14883Patch 8.0.0061 (after 8.0.0058)
14884Problem: Compiler warning for unused variable.
14885Solution: Add #ifdef. (John Marriott)
14886Files: src/popupmnu.c
14887
14888Patch 8.0.0062
14889Problem: No digraph for HORIZONTAL ELLIPSIS.
14890Solution: Use ",.". (Hans Ginzel, closes #1226)
14891Files: src/digraph.c, runtime/doc/digraph.txt
14892
14893Patch 8.0.0063
14894Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy)
14895Solution: Change <= to ==.
14896Files: src/undo.c
14897
14898Patch 8.0.0064 (after 8.0.0060)
14899Problem: Normal test fails on MS-Windows.
14900Solution: Don't try using an illegal file name.
14901Files: src/testdir/test_normal.vim
14902
14903Patch 8.0.0065 (after 8.0.0056)
14904Problem: Compiler warning for unused function in tiny build. (Tony
14905 Mechelynck)
14906Solution: Add #ifdef.
14907Files: src/option.c
14908
14909Patch 8.0.0066
14910Problem: when calling an operator function when 'linebreak' is set, it is
14911 internally reset before calling the operator function.
14912Solution: Restore 'linebreak' before calling op_function(). (Christian
14913 Brabandt)
14914Files: src/normal.c, src/testdir/test_normal.vim
14915
14916Patch 8.0.0067
14917Problem: VMS has a problem with infinity.
14918Solution: Avoid an overflow. (Zoltan Arpadffy)
14919Files: src/json.c, src/macros.h
14920
14921Patch 8.0.0068
14922Problem: Checking did_throw after executing autocommands is wrong. (Daniel
14923 Hahler)
14924Solution: Call aborting() instead, and only when autocommands were executed.
14925Files: src/quickfix.c, src/if_cscope.c, src/testdir/test_quickfix.vim
14926
14927Patch 8.0.0069
14928Problem: Compiler warning for self-comparison.
14929Solution: Define ONE_WINDOW and add #ifdef.
14930Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/move.c,
14931 src/screen.c, src/quickfix.c, src/window.c
14932
Bram Moolenaar0635ee62017-04-28 20:32:33 +020014933Patch 8.0.0070
14934Problem: Tests referred in Makefile that no longer exist.
14935Solution: Remove test71 and test74 entries. (Michael Soyka)
14936Files: src/testdir/Mak_ming.mak
14937
14938Patch 8.0.0071
14939Problem: Exit value from a shell command is wrong. (Hexchain Tong)
14940Solution: Do not check for ended jobs while waiting for a shell command.
14941 (ichizok, closes #1196)
14942Files: src/os_unix.c
14943
14944Patch 8.0.0072
14945Problem: MS-Windows: Crash with long font name. (Henry Hu)
14946Solution: Fix comparing with LF_FACESIZE. (Ken Takata, closes #1243)
14947Files: src/os_mswin.c
14948
14949Patch 8.0.0073 (after 8.0.0069)
14950Problem: More comparisons between firstwin and lastwin.
14951Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi)
14952Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/option.c,
14953 src/window.c
14954
14955Patch 8.0.0074
14956Problem: Cannot make Vim fail on an internal error.
14957Solution: Add IEMSG() and IEMSG2(). (Dominique Pelle) Avoid reporting an
14958 internal error without mentioning where.
14959Files: src/globals.h, src/blowfish.c, src/dict.c, src/edit.c, src/eval.c,
14960 src/evalfunc.c, src/ex_eval.c, src/getchar.c, src/gui_beval.c,
14961 src/gui_w32.c, src/hangulin.c, src/hashtab.c, src/if_cscope.c,
14962 src/json.c, src/memfile.c, src/memline.c, src/message.c,
14963 src/misc2.c, src/option.c, src/quickfix.c, src/regexp.c,
14964 src/spell.c, src/undo.c, src/userfunc.c, src/vim.h, src/window.c,
14965 src/proto/misc2.pro, src/proto/message.pro, src/Makefile
14966
14967Patch 8.0.0075
14968Problem: Using number for exception type lacks type checking.
14969Solution: Use an enum.
14970Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c,
14971 src/proto/ex_eval.pro
14972
14973Patch 8.0.0076
14974Problem: Channel log has double parens ()().
14975Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto)
14976Files: src/channel.c
14977
14978Patch 8.0.0077
14979Problem: The GUI code is not tested by Travis.
14980Solution: Install the virtual framebuffer.
14981Files: .travis.yml
14982
14983Patch 8.0.0078
14984Problem: Accessing freed memory in quickfix.
14985Solution: Reset pointer when freeing 'errorformat'. (Dominique Pelle)
14986Files: src/quickfix.c, src/testdir/test_quickfix.vim
14987
14988Patch 8.0.0079
14989Problem: Accessing freed memory in quickfix. (Dominique Pelle)
14990Solution: Do not free the current list when adding to it.
14991Files: src/quickfix.c, src/testdir/test_quickfix.vim
14992
14993Patch 8.0.0080
14994Problem: The OS X build fails on Travis.
14995Solution: Skip the virtual framebuffer on OS X.
14996Files: .travis.yml
14997
14998Patch 8.0.0081
14999Problem: Inconsistent function names.
15000Solution: Rename do_cscope to ex_cscope. Clean up comments.
15001Files: src/ex_cmds.h, src/if_cscope.c, src/ex_docmd.c,
15002 src/proto/if_cscope.pro
15003
15004Patch 8.0.0082
15005Problem: Extension for configure should be ".ac".
15006Solution: Rename configure.in to configure.ac. (James McCoy, closes #1173)
15007Files: src/configure.in, src/configure.ac, Filelist, src/Makefile,
15008 src/blowfish.c, src/channel.c, src/config.h.in, src/main.aap,
15009 src/os_unix.c, src/INSTALL, src/mysign
15010
15011Patch 8.0.0083
15012Problem: Using freed memory with win_getid(). (Dominique Pelle)
15013Solution: For the current tab use curwin.
15014Files: src/window.c, src/testdir/test_window_id.vim
15015
15016Patch 8.0.0084
15017Problem: Using freed memory when adding to a quickfix list. (Dominique
15018 Pelle)
15019Solution: Clear the directory name.
15020Files: src/quickfix.c, src/testdir/test_quickfix.vim
15021
15022Patch 8.0.0085
15023Problem: Using freed memory with recursive function call. (Dominique Pelle)
15024Solution: Make a copy of the function name.
15025Files: src/eval.c, src/testdir/test_nested_function.vim
15026
15027Patch 8.0.0086
15028Problem: Cannot add a comment after ":hide". (Norio Takagi)
15029Solution: Make it work, add a test. (Hirohito Higashi)
15030Files: src/Makefile, src/ex_cmds.h, src/ex_docmd.c,
15031 src/testdir/Make_all.mak, src/testdir/test_hide.vim
15032
15033Patch 8.0.0087
15034Problem: When the channel callback gets job info the job may already have
15035 been deleted. (lifepillar)
15036Solution: Do not delete the job when the channel is still useful. (ichizok,
15037 closes #1242, closes #1245)
15038Files: src/channel.c, src/eval.c, src/os_unix.c, src/os_win32.c,
15039 src/structs.h, src/testdir/test_channel.vim
15040
15041Patch 8.0.0088
15042Problem: When a test fails in Setup or Teardown the problem is not reported.
15043Solution: Add a try/catch. (Hirohito Higashi)
15044Files: src/testdir/runtest.vim
15045
15046Patch 8.0.0089
15047Problem: Various problems with GTK 3.22.2.
15048Solution: Fix the problems, add #ifdefs. (Kazunobu Kuriyama)
15049Files: src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c
15050
15051Patch 8.0.0090
15052Problem: Cursor moved after last character when using 'breakindent'.
15053Solution: Fix the cursor positioning. Turn the breakindent test into new
15054 style. (Christian Brabandt)
15055Files: src/screen.c, src/testdir/Make_all.mak,
15056 src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok,
15057 src/testdir/test_breakindent.vim, src/Makefile
15058
15059Patch 8.0.0091
15060Problem: Test_help_complete sometimes fails in MS-Windows console.
15061Solution: Use getcompletion() instead of feedkeys() and command line
15062 completion. (Hirohito Higashi)
15063Files: src/testdir/test_help_tagjump.vim
15064
15065Patch 8.0.0092
15066Problem: C indenting does not support nested namespaces that C++ 17 has.
15067Solution: Add check that passes double colon inside a name. (Pauli, closes
15068 #1214)
15069Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
15070
15071Patch 8.0.0093
15072Problem: Not using multiprocess build feature.
15073Solution: Enable multiprocess build with MSVC 10. (Ken Takata)
15074Files: src/Make_mvc.mak
15075
15076Patch 8.0.0094
15077Problem: When vimrun.exe is not found the error message is not properly
15078 encoded.
15079Solution: Use utf-16 and MessageBoxW(). (Ken Takata)
15080Files: src/os_win32.c
15081
15082Patch 8.0.0095
15083Problem: Problems with GTK 3.22.2 fixed in 3.22.4.
15084Solution: Adjust the #ifdefs. (Kazunobu Kuriyama)
15085Files: src/gui_gtk_x11.c
15086
15087Patch 8.0.0096
15088Problem: When the input or output is not a tty Vim appears to hang.
15089Solution: Add the --ttyfail argument. Also add the "ttyin" and "ttyout"
15090 features to be able to check in Vim script.
15091Files: src/globals.h, src/structs.h, src/main.c, src/evalfunc.c,
15092 runtime/doc/starting.txt, runtime/doc/eval.txt
15093
15094Patch 8.0.0097
15095Problem: When a channel callback consumes a lot of time Vim becomes
15096 unresponsive. (skywind)
15097Solution: Bail out of checking channel readahead after 100 msec.
15098Files: src/os_unix.c, src/misc2.c, src/vim.h, src/os_win32.c,
15099 src/channel.c
15100
15101Patch 8.0.0098 (after 8.0.0097)
15102Problem: Can't build on MS-Windows.
15103Solution: Add missing parenthesis.
15104Files: src/vim.h
15105
15106Patch 8.0.0099
15107Problem: Popup menu always appears above the cursor when it is in the lower
15108 half of the screen. (Matt Gardner)
15109Solution: Compute the available space better. (Hirohito Higashi,
15110 closes #1241)
15111Files: src/popupmnu.c
15112
15113Patch 8.0.0100
15114Problem: Options that are a file name may contain non-filename characters.
15115Solution: Check for more invalid characters.
15116Files: src/option.c
15117
15118Patch 8.0.0101
15119Problem: Some options are not strictly checked.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015120Solution: Add flags for stricter checks.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015121Files: src/option.c
15122
15123Patch 8.0.0102 (after 8.0.0101)
15124Problem: Cannot set 'dictionary' to a path.
15125Solution: Allow for slash and backslash. Add a test (partly by Daisuke
15126 Suzuki, closes #1279, closes #1284)
15127Files: src/option.c, src/testdir/test_options.vim
15128
15129Patch 8.0.0103
15130Problem: May not process channel readahead. (skywind)
15131Solution: If there is readahead don't block on input.
15132Files: src/channel.c, src/proto/channel.pro, src/os_unix.c,
15133 src/os_win32.c, src/misc2.c
15134
15135Patch 8.0.0104
15136Problem: Value of 'thesaurus' option not checked properly.
15137Solution: Add P_NDNAME flag. (Daisuke Suzuki)
15138Files: src/option.c, src/testdir/test_options.vim
15139
15140Patch 8.0.0105
15141Problem: When using ch_read() with zero timeout, can't tell the difference
15142 between reading an empty line and nothing available.
15143Solution: Add ch_canread().
15144Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro,
15145 src/testdir/test_channel.vim, src/testdir/shared.vim,
15146 runtime/doc/eval.txt, runtime/doc/channel.txt
15147
15148Patch 8.0.0106 (after 8.0.0100)
15149Problem: Cannot use a semicolon in 'backupext'. (Jeff)
15150Solution: Allow for a few more characters when "secure" isn't set.
15151Files: src/option.c
15152
15153Patch 8.0.0107
15154Problem: When reading channel output in a timer, messages may go missing.
15155 (Skywind)
15156Solution: Add the "drop" option. Write error messages in the channel log.
15157 Don't have ch_canread() check for the channel being open.
15158Files: src/structs.h, src/channel.c, src/message.c, src/evalfunc.c,
15159 src/proto/channel.pro, runtime/doc/channel.txt
15160
15161Patch 8.0.0108 (after 8.0.0107)
15162Problem: The channel "drop" option is not tested.
15163Solution: Add a test.
15164Files: src/testdir/test_channel.vim
15165
15166Patch 8.0.0109
15167Problem: Still checking if memcmp() exists while every system should have
15168 it now.
15169Solution: Remove vim_memcmp(). (James McCoy, closes #1295)
15170Files: src/config.h.in, src/configure.ac, src/misc2.c, src/os_vms_conf.h,
15171 src/osdef1.h.in, src/search.c, src/tag.c, src/vim.h
15172
15173Patch 8.0.0110
15174Problem: Drop command doesn't use existing window.
15175Solution: Check the window width properly. (Hirohito Higashi)
15176Files: src/buffer.c, src/testdir/test_tabpage.vim
15177
15178Patch 8.0.0111
15179Problem: The :history command is not tested.
15180Solution: Add tests. (Dominique Pelle)
15181Files: runtime/doc/cmdline.txt, src/testdir/test_history.vim
15182
15183Patch 8.0.0112
15184Problem: Tests 92 and 93 are old style.
15185Solution: Make test92 and test93 new style. (Hirohito Higashi, closes #1289)
15186Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
15187 src/testdir/test92.in, src/testdir/test92.ok,
15188 src/testdir/test93.in, src/testdir/test93.ok,
15189 src/testdir/test_mksession.vim,
15190 src/testdir/test_mksession_utf8.vim
15191
15192Patch 8.0.0113
15193Problem: MS-Windows: message box to prompt for saving changes may appear on
15194 the wrong monitor.
15195Solution: Adjust the CenterWindow function. (Ken Takata)
15196Files: src/gui_w32.c
15197
15198Patch 8.0.0114
15199Problem: Coding style not optimal.
15200Solution: Add spaces. (Ken Takata)
15201Files: src/gui_w32.c, src/os_mswin.c
15202
15203Patch 8.0.0115
15204Problem: When building with Cygwin libwinpthread isn't found.
15205Solution: Link winpthread statically. (jmmerz, closes #1255, closes #1256)
15206Files: src/Make_cyg_ming.mak
15207
15208Patch 8.0.0116
15209Problem: When reading English help and using CTRl-] the language from
15210 'helplang' is used.
15211Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito
15212 Higashi, closes #1249)
15213Files: src/tag.c, src/testdir/test_help_tagjump.vim
15214
15215Patch 8.0.0117
15216Problem: Parallel make fails. (J. Lewis Muir)
15217Solution: Make sure the objects directory exists. (closes #1259)
15218Files: src/Makefile
15219
15220Patch 8.0.0118
15221Problem: "make proto" adds extra function prototype.
15222Solution: Add #ifdef.
15223Files: src/misc2.c
15224
15225Patch 8.0.0119
15226Problem: No test for using CTRL-R on the command line.
15227Solution: Add a test. (Dominique Pelle) And some more.
15228Files: src/testdir/test_cmdline.vim
15229
15230Patch 8.0.0120
15231Problem: Channel test is still flaky on OS X.
15232Solution: Set the drop argument to "never".
15233Files: src/testdir/test_channel.vim
15234
15235Patch 8.0.0121
15236Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler)
15237Solution: Add the P_RWINONLY flag. (closes #1297)
15238Files: src/option.c, src/testdir/test_goto.vim
15239
15240Patch 8.0.0122
15241Problem: Channel test is still flaky on OS X.
15242Solution: Add a short sleep.
15243Files: src/testdir/test_channel.py
15244
15245Patch 8.0.0123
15246Problem: Modern Sun compilers define "__sun" instead of "sun".
15247Solution: Use __sun. (closes #1296)
15248Files: src/mbyte.c, src/pty.c, src/os_unixx.h, src/vim.h
15249
15250Patch 8.0.0124
15251Problem: Internal error for assert_inrange(1, 1).
15252Solution: Adjust number of allowed arguments. (Dominique Pelle)
15253Files: src/evalfunc.c, src/testdir/test_assert.vim
15254
15255Patch 8.0.0125
15256Problem: Not enough testing for entering Ex commands.
15257Solution: Add test for CTRL-\ e {expr}. (Dominique Pelle)
15258Files: src/testdir/test_cmdline.vim
15259
15260Patch 8.0.0126
15261Problem: Display problem with 'foldcolumn' and a wide character.
15262 (esiegerman)
15263Solution: Don't use "extra" but an allocated buffer. (Christian Brabandt,
15264 closes #1310)
15265Files: src/screen.c, src/testdir/Make_all.mak, src/Makefile,
15266 src/testdir/test_display.vim
15267
15268Patch 8.0.0127
15269Problem: Cancelling completion still inserts text when formatting is done
15270 for 'textwidth'. (lacygoill)
15271Solution: Don't format when CTRL-E was typed. (Hirohito Higashi,
15272 closes #1312)
15273Files: src/edit.c, src/testdir/test_popup.vim
15274
15275Patch 8.0.0128 (after 8.0.0126)
15276Problem: Display test fails on MS-Windows.
15277Solution: Set 'isprint' to "@".
15278Files: src/testdir/test_display.vim
15279
15280Patch 8.0.0129
15281Problem: Parallel make still doesn't work. (Lewis Muir)
15282Solution: Define OBJ_MAIN.
15283Files: src/Makefile
15284
15285Patch 8.0.0130
15286Problem: Configure uses "ushort" while the Vim code doesn't.
15287Solution: Use "unsigned short" instead. (Fredrik Fornwall, closes #1314)
15288Files: src/configure.ac, src/auto/configure
15289
15290Patch 8.0.0131
15291Problem: Not enough test coverage for syntax commands.
15292Solution: Add more tests. (Dominique Pelle)
15293Files: src/testdir/test_syntax.vim
15294
15295Patch 8.0.0132 (after 8.0.0131)
15296Problem: Test fails because of using :finish.
15297Solution: Change to return.
15298Files: src/testdir/test_syntax.vim
15299
15300Patch 8.0.0133
15301Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle)
15302Solution: Check the cursor line earlier.
15303Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
15304
15305Patch 8.0.0134
15306Problem: Null pointer access reported by UBsan.
15307Solution: Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan)
15308Files: src/ex_cmds.c
15309
15310Patch 8.0.0135
15311Problem: An address relative to the current line, ":.,+3y", does not work
15312 properly on a closed fold. (Efraim Yawitz)
15313Solution: Correct for including the closed fold. (Christian Brabandt)
15314Files: src/ex_docmd.c, src/testdir/test_fold.vim,
15315 src/testdir/Make_all.mak, src/Makefile
15316
15317Patch 8.0.0136
15318Problem: When using indent folding and changing indent the wrong fold is
15319 opened. (Jonathan Fudger)
15320Solution: Open the fold under the cursor a bit later. (Christian Brabandt)
15321Files: src/ops.c, src/testdir/test_fold.vim
15322
15323Patch 8.0.0137
15324Problem: When 'maxfuncdepth' is set above 200 the nesting is limited to
15325 200. (Brett Stahlman)
15326Solution: Allow for Ex command recursion depending on 'maxfuncdepth'.
15327Files: src/ex_docmd.c, src/testdir/test_nested_function.vim
15328
15329Patch 8.0.0138 (after 8.0.0137)
15330Problem: Small build fails.
15331Solution: Add #ifdef.
15332Files: src/ex_docmd.c
15333
15334Patch 8.0.0139 (after 8.0.0135)
15335Problem: Warning for unused argument.
15336Solution: Add UNUSED.
15337Files: src/ex_docmd.c
15338
15339Patch 8.0.0140
15340Problem: Pasting inserted text in Visual mode does not work properly.
15341 (Matthew Malcomson)
15342Solution: Stop Visual mode before stuffing the inserted text. (Christian
15343 Brabandt, from neovim #5709)
15344Files: src/ops.c, src/testdir/test_visual.vim
15345
15346Patch 8.0.0141 (after 8.0.0137)
15347Problem: Nested function test fails on AppVeyor.
15348Solution: Disable the test on Windows for now.
15349Files: src/testdir/test_nested_function.vim
15350
15351Patch 8.0.0142
15352Problem: Normal colors are wrong with 'termguicolors'.
15353Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes
15354 #1344)
15355Files: src/syntax.c
15356
15357Patch 8.0.0143
15358Problem: Line number of current buffer in getbufinfo() is wrong.
15359Solution: For the current buffer use the current line number. (Ken Takata)
15360Files: src/evalfunc.c
15361
15362Patch 8.0.0144
15363Problem: When using MSVC the GvimExt directory is cleaned twice.
15364Solution: Remove the lines. (Ken Takata)
15365Files: src/Make_mvc.mak
15366
15367Patch 8.0.0145
15368Problem: Running tests on MS-Windows is a little bit noisy.
15369Solution: Redirect some output to "nul". (Ken Takata)
15370Files: src/testdir/Make_dos.mak
15371
15372Patch 8.0.0146
15373Problem: When using 'termguicolors' on MS-Windows the RGB definition causes
15374 the colors to be wrong.
15375Solution: Undefined RGB and use our own. (Gabriel Barta)
15376Files: src/term.c
15377
15378Patch 8.0.0147
15379Problem: searchpair() does not work when 'magic' is off. (Chris Paul)
15380Solution: Add \m in the pattern. (Christian Brabandt, closes #1341)
15381Files: src/evalfunc.c, src/testdir/test_search.vim
15382
15383Patch 8.0.0148
15384Problem: When a C preprocessor statement has two line continuations the
15385 following line does not have the right indent. (Ken Takata)
15386Solution: Add the indent of the previous continuation line. (Hirohito
15387 Higashi)
15388Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
15389
15390Patch 8.0.0149
15391Problem: ":earlier" and ":later" do not work after startup or reading the
15392 undo file.
15393Solution: Use absolute time stamps instead of relative to the Vim start
15394 time. (Christian Brabandt, Pavel Juhas, closes #1300, closes
15395 #1254)
15396Files: src/testdir/test_undo.vim, src/undo.c
15397
15398Patch 8.0.0150
15399Problem: When the pattern of :filter does not have a separator then
15400 completion of the command fails.
Bram Moolenaar01164a62017-11-02 22:58:42 +010015401Solution: Skip over the pattern. (Ozaki Kiichi, closes #1299)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015402Files: src/ex_docmd.c, src/testdir/test_filter_cmd.vim
15403
15404Patch 8.0.0151
15405Problem: To pass buffer content to system() and systemlist() one has to
15406 first create a string or list.
15407Solution: Allow passing a buffer number. (LemonBoy, closes #1240)
15408Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c,
15409 src/testdir/Make_all.mak, src/testdir/test_system.vim
15410
15411Patch 8.0.0152
15412Problem: Running the channel test creates channellog.
15413Solution: Delete the debug line.
15414Files: src/testdir/test_channel.vim
15415
15416Patch 8.0.0153 (after 8.0.0151)
15417Problem: system() test fails on MS-Windows.
15418Solution: Deal with extra space and CR.
15419Files: src/testdir/test_system.vim
15420
15421Patch 8.0.0154 (after 8.0.0151)
15422Problem: system() test fails on OS/X.
15423Solution: Deal with leading spaces.
15424Files: src/testdir/test_system.vim
15425
15426Patch 8.0.0155
15427Problem: When sorting zero elements a NULL pointer is passed to qsort(),
15428 which ubsan warns for.
15429Solution: Don't call qsort() if there are no elements. (Dominique Pelle)
15430Files: src/syntax.c
15431
15432Patch 8.0.0156
15433Problem: Several float functions are not covered by tests.
15434Solution: Add float tests. (Dominique Pelle)
15435Files: src/Makefile, src/testdir/test_alot.vim,
15436 src/testdir/test_float_func.vim
15437
15438Patch 8.0.0157
15439Problem: No command line completion for ":syntax spell" and ":syntax sync".
15440Solution: Implement the completion. (Dominique Pelle)
15441Files: src/syntax.c, src/testdir/test_syntax.vim
15442
15443Patch 8.0.0158 (after 8.0.0156)
15444Problem: On MS-Windows some float functions return a different value when
15445 passed unusual values. strtod() doesn't work for "inf" and "nan".
15446Solution: Accept both results. Fix str2float() for MS-Windows. Also
15447 reorder assert function arguments.
15448Files: src/testdir/test_float_func.vim, src/eval.c
15449
15450Patch 8.0.0159
15451Problem: Using a NULL pointer when using feedkeys() to trigger drawing a
15452 tabline.
15453Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
15454 Also fix recursing into getcmdline() from the cmd window.
15455Files: src/screen.c, src/ex_getln.c
15456
15457Patch 8.0.0160
15458Problem: EMSG() is sometimes used for internal errors.
15459Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
15460Files: src/regexp_nfa.c, src/channel.c, src/eval.c
15461
15462Patch 8.0.0161 (after 8.0.0159)
15463Problem: Build fails when using small features.
15464Solution: Update #ifdef for using save_ccline. (Hirohito Higashi)
15465Files: src/ex_getln.c
15466
15467Patch 8.0.0162
15468Problem: Build error on Fedora 23 with small features and gnome2.
15469Solution: Undefine ngettext(). (Hirohito Higashi)
15470Files: src/gui_gtk.c, src/gui_gtk_x11.c
15471
15472Patch 8.0.0163
15473Problem: Ruby 2.4 no longer supports rb_cFixnum.
15474Solution: move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365)
15475Files: src/if_ruby.c
15476
15477Patch 8.0.0164
15478Problem: Outdated and misplaced comments.
15479Solution: Fix the comments.
15480Files: src/charset.c, src/getchar.c, src/list.c, src/misc2.c,
15481 src/testdir/README.txt
15482
15483Patch 8.0.0165
15484Problem: Ubsan warns for integer overflow.
15485Solution: Swap two conditions. (Dominique Pelle)
15486Files: src/regexp_nfa.c
15487
15488Patch 8.0.0166
15489Problem: JSON with a duplicate key gives an internal error. (Lcd)
15490Solution: Give a normal error. Avoid an error when parsing JSON from a
15491 remote client fails.
15492Files: src/evalfunc.c, src/json.c, src/channel.c,
15493 src/testdir/test_json.vim
15494
15495Patch 8.0.0167
15496Problem: str2nr() and str2float() do not always work with negative values.
15497Solution: Be more flexible about handling signs. (LemonBoy, closes #1332)
15498 Add more tests.
15499Files: src/evalfunc.c, src/testdir/test_float_func.vim,
15500 src/testdir/test_functions.vim, src/testdir/test_alot.vim,
15501 src/Makefile
15502
15503Patch 8.0.0168
15504Problem: Still some float functionality is not covered by tests.
15505Solution: Add more tests. (Dominique Pelle, closes #1364)
15506Files: src/testdir/test_float_func.vim
15507
15508Patch 8.0.0169
15509Problem: For complicated string json_decode() may run out of stack space.
15510Solution: Change the recursive solution into an iterative solution.
15511Files: src/json.c
15512
15513Patch 8.0.0170 (after 8.0.0169)
15514Problem: Channel test fails for using freed memory.
15515Solution: Fix memory use in json_decode().
15516Files: src/json.c
15517
15518Patch 8.0.0171
15519Problem: JS style JSON does not support single quotes.
15520Solution: Allow for single quotes. (Yasuhiro Matsumoto, closes #1371)
15521Files: src/json.c, src/testdir/test_json.vim, src/json_test.c,
15522 runtime/doc/eval.txt
15523
15524Patch 8.0.0172 (after 8.0.0159)
15525Problem: The command selected in the command line window is not executed.
15526 (Andrey Starodubtsev)
15527Solution: Save and restore the command line at a lower level. (closes #1370)
15528Files: src/ex_getln.c, src/testdir/test_history.vim
15529
15530Patch 8.0.0173
15531Problem: When compiling with EBCDIC defined the build fails. (Yaroslav
15532 Kuzmin)
15533Solution: Move sortFunctions() to the right file. Avoid warning for
15534 redefining __SUSV3.
15535Files: src/eval.c, src/evalfunc.c, src/os_unixx.h
15536
15537Patch 8.0.0174
15538Problem: For completion "locale -a" is executed on MS-Windows, even though
15539 it most likely won't work.
15540Solution: Skip executing "locale -a" on MS-Windows. (Ken Takata)
15541Files: src/ex_cmds2.c
15542
15543Patch 8.0.0175
15544Problem: Setting language in gvim on MS-Windows does not work when
15545 libintl.dll is dynamically linked with msvcrt.dll.
15546Solution: Use putenv() from libintl as well. (Ken Takata, closes #1082)
15547Files: src/mbyte.c, src/misc1.c, src/os_win32.c, src/proto/os_win32.pro,
15548 src/vim.h
15549
15550Patch 8.0.0176
15551Problem: Using :change in between :function and :endfunction fails.
15552Solution: Recognize :change inside a function. (ichizok, closes #1374)
15553Files: src/userfunc.c, src/testdir/test_viml.vim
15554
15555Patch 8.0.0177
15556Problem: When opening a buffer on a directory and inside a try/catch then
15557 the BufEnter event is not triggered.
15558Solution: Return NOTDONE from readfile() for a directory and deal with the
15559 three possible return values. (Justin M. Keyes, closes #1375,
15560 closes #1353)
15561Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/fileio.c,
15562 src/memline.c
15563
15564Patch 8.0.0178
15565Problem: test_command_count may fail when a previous test interferes, seen
15566 on MS-Windows.
15567Solution: Run it separately.
15568Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
15569
15570Patch 8.0.0179
15571Problem: 'formatprg' is a global option but the value may depend on the
15572 type of buffer. (Sung Pae)
15573Solution: Make 'formatprg' global-local. (closes #1380)
15574Files: src/structs.h, src/option.h, src/option.c, src/normal.c,
15575 runtime/doc/options.txt, src/testdir/test_normal.vim
15576
15577Patch 8.0.0180
15578Problem: Error E937 is used both for duplicate key in JSON and for trying
15579 to delete a buffer that is in use.
15580Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376)
15581Files: src/json.c, src/testdir/test_json.vim
15582
15583Patch 8.0.0181
15584Problem: When 'cursorbind' and 'cursorcolumn' are both on, the column
Bram Moolenaar2f058492017-11-30 20:27:52 +010015585 highlight in non-current windows is wrong.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015586Solution: Add validate_cursor(). (Masanori Misono, closes #1372)
15587Files: src/move.c
15588
15589Patch 8.0.0182
15590Problem: When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is
15591 not, then the cursor line highlighting is not updated. (Hirohito
15592 Higashi)
15593Solution: Call redraw_later() with NOT_VALID.
15594Files: src/move.c
15595
15596Patch 8.0.0183
15597Problem: Ubsan warns for using a pointer that is not aligned.
15598Solution: First copy the address. (Yegappan Lakshmanan)
15599Files: src/channel.c
15600
15601Patch 8.0.0184
15602Problem: When in Ex mode and an error is caught by try-catch, Vim still
15603 exits with a non-zero exit code.
15604Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian
15605 Brabandt)
15606Files: src/message.c, src/testdir/test_system.vim
15607
15608Patch 8.0.0185 (after 8.0.0184)
15609Problem: The system() test fails on MS-Windows.
15610Solution: Skip the test on MS-Windows.
15611Files: src/testdir/test_system.vim
15612
15613Patch 8.0.0186
15614Problem: The error message from assert_notequal() is confusing.
15615Solution: Only mention the expected value.
15616Files: src/eval.c, src/testdir/test_assert.vim
15617
15618Patch 8.0.0187
15619Problem: Building with a new Ruby version fails.
15620Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf,
15621 closes #1382)
15622Files: src/if_ruby.c
15623
15624Patch 8.0.0188 (after 8.0.0182)
15625Problem: Using NOT_VALID for redraw_later() to update the cursor
15626 line/column highlighting is not efficient.
15627Solution: Call validate_cursor() when 'cul' or 'cuc' is set.
15628Files: src/move.c
15629
15630Patch 8.0.0189
15631Problem: There are no tests for the :profile command.
15632Solution: Add tests. (Dominique Pelle, closes #1383)
15633Files: src/Makefile, src/testdir/Make_all.mak,
15634 src/testdir/test_profile.vim
15635
15636Patch 8.0.0190
15637Problem: Detecting duplicate tags uses a slow linear search.
15638Solution: Use a much faster hash table solution. (James McCoy, closes #1046)
15639 But don't add hi_keylen, it makes hash tables 50% bigger.
15640Files: src/tag.c
15641
15642Patch 8.0.0191 (after 8.0.0187)
15643Problem: Some systems do not have ruby_sysinit(), causing the build to
15644 fail.
15645Solution: Clean up how ruby_sysinit() and NtInitialize() are used. (Taro
15646 Muraoka)
15647Files: src/if_ruby.c
15648
15649Patch 8.0.0192 (after 8.0.0190)
15650Problem: Build fails with tiny features.
15651Solution: Change #ifdef for hash_clear(). Avoid warning for unused
15652 argument.
15653Files: src/hashtab.c, src/if_cscope.c
15654
15655Patch 8.0.0193 (after 8.0.0188)
15656Problem: Accidentally removed #ifdef.
15657Solution: Put it back. (Masanori Misono)
15658Files: src/move.c
15659
15660Patch 8.0.0194 (after 8.0.0189)
15661Problem: Profile tests fails if total and self time are equal.
15662Solution: Make one time optional.
15663Files: src/testdir/test_profile.vim
15664
15665Patch 8.0.0195 (after 8.0.0190)
15666Problem: Jumping to a tag that is a static item in the current file fails.
15667 (Kazunobu Kuriyama)
15668Solution: Make sure the first byte of the tag key is not NUL. (Suggested by
15669 James McCoy, closes #1387)
15670Files: src/tag.c, src/testdir/test_tagjump.vim
15671
15672Patch 8.0.0196 (after 8.0.0194)
15673Problem: The test for :profile is slow and does not work on MS-Windows.
15674Solution: Use the "-es" argument. (Dominique Pelle) Swap single and double
15675 quotes for system()
15676Files: src/testdir/test_profile.vim
15677
15678Patch 8.0.0197
15679Problem: On MS-Windows the system() test skips a few parts.
15680Solution: Swap single and double quotes for the command.
15681Files: src/testdir/test_system.vim
15682
15683Patch 8.0.0198
15684Problem: Some syntax arguments take effect even after "if 0". (Taylor
15685 Venable)
15686Solution: Properly skip the syntax statements. Make "syn case" and "syn
15687 conceal" report the current state. Fix that "syn clear" didn't
15688 reset the conceal flag. Add tests for :syntax skipping properly.
15689Files: src/syntax.c, src/testdir/test_syntax.vim
15690
15691Patch 8.0.0199
15692Problem: Warning for an unused parameter when the libcall feature is
15693 disabled. Warning for a function type cast when compiling with
15694 -pedantic.
15695Solution: Add UNUSED. Use a different type cast. (Damien Molinier)
15696Files: src/evalfunc.c, src/os_unix.c
15697
15698Patch 8.0.0200
15699Problem: Some syntax arguments are not tested.
15700Solution: Add more syntax command tests.
15701Files: src/testdir/test_syntax.vim
15702
15703Patch 8.0.0201
15704Problem: When completing a group name for a highlight or syntax command
15705 cleared groups are included.
15706Solution: Skip groups that have been cleared.
15707Files: src/syntax.c, src/testdir/test_syntax.vim
15708
15709Patch 8.0.0202
15710Problem: No test for invalid syntax group name.
15711Solution: Add a test for group name error and warning.
15712Files: src/testdir/test_syntax.vim
15713
15714Patch 8.0.0203
15715Problem: Order of complication flags is sometimes wrong.
15716Solution: Put interface-specific flags before ALL_CFLAGS. (idea by Yousong
15717 Zhou, closes #1100)
15718Files: src/Makefile
15719
15720Patch 8.0.0204
15721Problem: Compiler warns for uninitialized variable. (Tony Mechelynck)
15722Solution: When skipping set "id" to -1.
15723Files: src/syntax.c
15724
15725Patch 8.0.0205
15726Problem: After :undojoin some commands don't work properly, such as :redo.
15727 (Matthew Malcomson)
15728Solution: Don't set curbuf->b_u_curhead. (closes #1390)
15729Files: src/undo.c, src/testdir/test_undo.vim
15730
15731Patch 8.0.0206
15732Problem: Test coverage for :retab insufficient.
15733Solution: Add test for :retab. (Dominique Pelle, closes #1391)
15734Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_retab.vim
15735
15736Patch 8.0.0207
15737Problem: Leaking file descriptor when system() cannot find the buffer.
15738 (Coverity)
15739Solution: Close the file descriptor. (Dominique Pelle, closes #1398)
15740Files: src/evalfunc.c
15741
15742Patch 8.0.0208
15743Problem: Internally used commands for CTRL-Z and mouse click end up in
15744 history. (Matthew Malcomson)
15745Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead
15746 buffer. (James McCoy, closes #1395)
15747Files: src/edit.c, src/normal.c
15748
15749Patch 8.0.0209
15750Problem: When using :substitute with the "c" flag and 'cursorbind' is set
15751 the cursor is not updated in other windows.
15752Solution: Call do_check_cursorbind(). (Masanori Misono)
15753Files: src/ex_cmds.c
15754
15755Patch 8.0.0210
15756Problem: Vim does not support bracketed paste, as implemented by xterm and
15757 other terminals.
15758Solution: Add t_BE, t_BD, t_PS and t_PE.
15759Files: src/term.c, src/term.h, src/option.c, src/misc2.c, src/keymap.h,
15760 src/edit.c, src/normal.c, src/evalfunc.c, src/getchar.c,
15761 src/vim.h, src/proto/edit.pro, runtime/doc/term.txt
15762
15763Patch 8.0.0211 (after 8.0.0210)
15764Problem: Build fails if the multi-byte feature is disabled.
15765Solution: Change #ifdef around ins_char_bytes.
15766Files: src/misc1.c
15767
15768Patch 8.0.0212
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015769Problem: The buffer used to store a key name theoretically could be too
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015770 small. (Coverity)
15771Solution: Count all possible modifier characters. Add a check for the
15772 length just in case.
15773Files: src/keymap.h, src/misc2.c
15774
15775Patch 8.0.0213
15776Problem: The Netbeans "specialKeys" command does not check if the argument
15777 fits in the buffer. (Coverity)
15778Solution: Add a length check.
15779Files: src/netbeans.c
15780
15781Patch 8.0.0214
15782Problem: Leaking memory when syntax cluster id is unknown. (Coverity)
15783Solution: Free the memory.
15784Files: src/syntax.c
15785
15786Patch 8.0.0215
15787Problem: When a Cscope line contains CTRL-L a NULL pointer may be used.
15788 (Coverity)
15789Solution: Don't check for an emacs tag in a cscope line.
15790Files: src/tag.c
15791
15792Patch 8.0.0216
15793Problem: When decoding JSON with a JS style object the JSON test may use a
15794 NULL pointer. (Coverity)
15795Solution: Check for a NULL pointer.
15796Files: src/json.c, src/json_test.c
15797
15798Patch 8.0.0217 (after 8.0.0215)
15799Problem: Build fails without the cscope feature.
15800Solution: Add #ifdef.
15801Files: src/tag.c
15802
15803Patch 8.0.0218
15804Problem: No command line completion for :cexpr, :cgetexpr, :caddexpr, etc.
15805Solution: Make completion work. (Yegappan Lakshmanan) Add a test.
15806Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
15807
15808Patch 8.0.0219
15809Problem: Ubsan reports errors for integer overflow.
15810Solution: Define macros for minimum and maximum values. Select an
15811 expression based on the value. (Mike Williams)
15812Files: src/charset.c, src/eval.c, src/evalfunc.c, src/structs.h,
15813 src/testdir/test_viml.vim
15814
15815Patch 8.0.0220
15816Problem: Completion for :match does not show "none" and other missing
15817 highlight names.
15818Solution: Skip over cleared entries before checking the index to be at the
15819 end.
15820Files: src/syntax.c, src/testdir/test_cmdline.vim
15821
15822Patch 8.0.0221
15823Problem: Checking if PROTO is defined inside a function has no effect.
15824Solution: Remove the check for PROTO. (Hirohito Higashi)
15825Files: src/misc1.c
15826
15827Patch 8.0.0222
15828Problem: When a multi-byte character ends in a zero byte, putting blockwise
15829 text puts it before the character instead of after it.
15830Solution: Use int instead of char for the character under the cursor.
15831 (Luchr, closes #1403) Add a test.
15832Files: src/ops.c, src/testdir/test_put.vim, src/Makefile,
15833 src/testdir/test_alot.vim
15834
15835Patch 8.0.0223
15836Problem: Coverity gets confused by the flags passed to find_tags() and
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015837 warns about uninitialized variable.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015838Solution: Disallow using cscope and help tags at the same time.
15839Files: src/tag.c
15840
15841Patch 8.0.0224
15842Problem: When 'fileformats' is changed in a BufReadPre auto command, it
15843 does not take effect in readfile(). (Gary Johnson)
15844Solution: Check the value of 'fileformats' after executing auto commands.
15845 (Christian Brabandt)
15846Files: src/fileio.c, src/testdir/test_fileformat.vim
15847
15848Patch 8.0.0225
15849Problem: When a block is visually selected and put is used on the end of
15850 the selection only one line is changed.
15851Solution: Check for the end properly. (Christian Brabandt, neovim issue
15852 5781)
15853Files: src/ops.c, src/testdir/test_put.vim
15854
15855Patch 8.0.0226
15856Problem: The test for patch 8.0.0224 misses the CR characters and passes
15857 even without the fix. (Christian Brabandt)
15858Solution: Use double quotes and \<CR>.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020015859Files: src/testdir/test_fileformat.vim
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015860
15861Patch 8.0.0227
15862Problem: Crash when 'fileformat' is forced to "dos" and the first line in
15863 the file is empty and does not have a CR character.
15864Solution: Don't check for CR before the start of the buffer.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020015865Files: src/fileio.c, src/testdir/test_fileformat.vim
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015866
15867Patch 8.0.0228 (after 8.0.0210)
15868Problem: When pasting test in an xterm on the command line it is surrounded
15869 by <PasteStart> and <PasteEnd>. (Johannes Kaltenbach)
15870Solution: Add missing changes.
15871Files: src/ex_getln.c, src/term.c
15872
15873Patch 8.0.0229 (after 8.0.0179)
15874Problem: When freeing a buffer the local value of the 'formatprg' option is
15875 not cleared.
15876Solution: Add missing change.
15877Files: src/buffer.c
15878
15879Patch 8.0.0230 (after 8.0.0210)
15880Problem: When using bracketed paste line breaks are not respected.
15881Solution: Turn CR characters into a line break if the text is being
15882 inserted. (closes #1404)
15883Files: src/edit.c
15884
15885Patch 8.0.0231
15886Problem: There are no tests for bracketed paste mode.
15887Solution: Add a test. Fix repeating with "normal .".
15888Files: src/edit.c, src/testdir/test_paste.vim, src/Makefile,
15889 src/testdir/Make_all.mak
15890
15891Patch 8.0.0232
15892Problem: Pasting in Insert mode does not work when bracketed paste is used
15893 and 'esckeys' is off.
15894Solution: When 'esckeys' is off disable bracketed paste in Insert mode.
15895Files: src/edit.c
15896
15897Patch 8.0.0233 (after 8.0.0231)
15898Problem: The paste test fails if the GUI is being used.
15899Solution: Skip the test in the GUI.
15900Files: src/testdir/test_paste.vim
15901
15902Patch 8.0.0234 (after 8.0.0225)
15903Problem: When several lines are visually selected and one of them is short,
15904 using put may cause a crash. (Axel Bender)
15905Solution: Check for a short line. (Christian Brabandt)
15906Files: src/ops.c, src/testdir/test_put.vim
15907
15908Patch 8.0.0235
15909Problem: Memory leak detected when running tests for diff mode.
15910Solution: Free p_extra_free.
15911Files: src/screen.c
15912
15913Patch 8.0.0236 (after 8.0.0234)
15914Problem: Gcc complains that a variable may be used uninitialized. Confusion
15915 between variable and label name. (John Marriott)
15916Solution: Initialize it. Rename end to end_lnum.
15917Files: src/ops.c
15918
15919Patch 8.0.0237
15920Problem: When setting wildoptions=tagfile the completion context is not set
15921 correctly. (desjardins)
15922Solution: Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes #1399)
15923Files: src/ex_getln.c, src/testdir/test_cmdline.vim
15924
15925Patch 8.0.0238
15926Problem: When using bracketed paste autoindent causes indent to be
15927 increased.
15928Solution: Disable 'ai' and set 'paste' temporarily. (Ken Takata)
15929Files: src/edit.c, src/testdir/test_paste.vim
15930
15931Patch 8.0.0239
15932Problem: The address sanitizer sometimes finds errors, but it needs to be
15933 run manually.
15934Solution: Add an environment to Travis with clang and the address sanitizer.
15935 (Christian Brabandt) Also include changes only on github.
15936Files: .travis.yml
15937
15938Patch 8.0.0240 (after 8.0.0239)
15939Problem: The clang build on CI fails with one configuration.
15940Solution: Redo a previous patch that was accidentally reverted.
15941Files: .travis.yml
15942
15943Patch 8.0.0241
15944Problem: Vim defines a mch_memmove() function but it doesn't work, thus is
15945 always unused.
15946Solution: Remove the mch_memmove implementation. (suggested by Dominique
15947 Pelle)
15948Files: src/os_unix.h, src/misc2.c, src/vim.h
15949
15950Patch 8.0.0242
15951Problem: Completion of user defined functions is not covered by tests.
15952Solution: Add tests. Also test various errors of user-defined commands.
15953 (Dominique Pelle, closes #1413)
15954Files: src/testdir/test_usercommands.vim
15955
15956Patch 8.0.0243
15957Problem: When making a character lower case with tolower() changes the byte
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020015958 count, it is not made lower case.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020015959Solution: Add strlow_save(). (Dominique Pelle, closes #1406)
15960Files: src/evalfunc.c, src/misc2.c, src/proto/misc2.pro,
15961 src/testdir/test_functions.vim
15962
15963Patch 8.0.0244
15964Problem: When the user sets t_BE empty after startup to disable bracketed
15965 paste, this has no direct effect.
15966Solution: When t_BE is made empty write t_BD. When t_BE is made non-empty
15967 write the new value.
15968Files: src/option.c
15969
15970Patch 8.0.0245
15971Problem: The generated zh_CN.cp936.po message file is not encoded properly.
15972Solution: Instead of using zh_CN.po as input, use zh_CN.UTF-8.po.
15973Files: src/po/Makefile
15974
15975Patch 8.0.0246
15976Problem: Compiler warnings for int to pointer conversion.
15977Solution: Fix macro for mch_memmove(). (John Marriott)
15978Files: src/vim.h
15979
15980Patch 8.0.0247
15981Problem: Under some circumstances, one needs to type Ctrl-N or Ctrl-P twice
15982 to have a menu entry selected. (Lifepillar)
15983Solution: call ins_compl_free(). (Christian Brabandt, closes #1411)
15984Files: src/edit.c, src/testdir/test_popup.vim
15985
15986Patch 8.0.0248
15987Problem: vim_strcat() cannot handle overlapping arguments.
15988Solution: Use mch_memmove() instead of strcpy(). (Justin M Keyes,
15989 closes #1415)
15990Files: src/misc2.c
15991
15992Patch 8.0.0249
15993Problem: When two submits happen quick after each other, the tests for the
15994 first one may error out.
15995Solution: Use a git depth of 10 instead of 1. (Christian Brabandt)
15996Files: .travis.yml
15997
15998Patch 8.0.0250
15999Problem: When virtcol() gets a column that is not the first byte of a
16000 multi-byte character the result is unpredictable. (Christian
16001 Ludwig)
16002Solution: Correct the column to the first byte of a multi-byte character.
16003 Change the utf-8 test to new style.
16004Files: src/charset.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok,
16005 src/testdir/test_utf8.vim, src/Makefile, src/testdir/Make_all.mak,
16006 src/testdir/test_alot_utf8.vim
16007
16008Patch 8.0.0251
16009Problem: It is not so easy to write a script that works with both Python 2
16010 and Python 3, even when the Python code works with both.
16011Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata)
16012Files: Filelist, runtime/doc/eval.txt, runtime/doc/if_pyth.txt,
16013 runtime/doc/index.txt, runtime/doc/options.txt,
16014 runtime/optwin.vim, runtime/doc/quickref.txt,
16015 runtime/doc/usr_41.txt, src/Makefile, src/evalfunc.c,
16016 src/ex_cmds.h, src/ex_cmds2.c, src/ex_docmd.c, src/if_python.c,
16017 src/if_python3.c, src/option.c, src/option.h,
16018 src/proto/ex_cmds2.pro, src/testdir/Make_all.mak,
16019 src/testdir/pyxfile/py2_magic.py,
16020 src/testdir/pyxfile/py2_shebang.py,
16021 src/testdir/pyxfile/py3_magic.py,
16022 src/testdir/pyxfile/py3_shebang.py, src/testdir/pyxfile/pyx.py,
16023 src/testdir/test_pyx2.vim, src/testdir/test_pyx3.vim
16024 src/userfunc.c
16025
16026Patch 8.0.0252
16027Problem: Characters below 256 that are not one byte are not always
16028 recognized as word characters.
16029Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test
16030 for this. (Ozaki Kiichi)
16031Files: src/Makefile, src/charset.c, src/kword_test.c, src/mbyte.c,
16032 src/proto/mbyte.pro
16033
16034Patch 8.0.0253
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016035Problem: When creating a session when 'winminheight' is 2 or larger and
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016036 loading that session gives an error.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016037Solution: Also set 'winminheight' before setting 'winheight' to 1. (Rafael
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016038 Bodill, neovim #5717)
16039Files: src/ex_docmd.c, src/testdir/test_mksession.vim
16040
16041Patch 8.0.0254
16042Problem: When using an assert function one can either specify a message or
16043 get a message about what failed, not both.
16044Solution: Concatenate the error with the message.
16045Files: src/eval.c, src/testdir/test_assert.vim
16046
16047Patch 8.0.0255
16048Problem: When calling setpos() with a buffer argument it often is ignored.
16049 (Matthew Malcomson)
16050Solution: Make the buffer argument work for all marks local to a buffer.
16051 (neovim #5713) Add more tests.
16052Files: src/mark.c, src/testdir/test_marks.vim, runtime/doc/eval.txt
16053
16054Patch 8.0.0256 (after 8.0.0255)
16055Problem: Tests fail because some changes were not included.
16056Solution: Add changes to evalfunc.c
16057Files: src/evalfunc.c
16058
16059Patch 8.0.0257 (after 8.0.0252)
16060Problem: The keyword test file is not included in the archive.
16061Solution: Update the list of files.
16062Files: Filelist
16063
16064Patch 8.0.0258 (after 8.0.0253)
16065Problem: mksession test leaves file behind.
16066Solution: Delete the file. Rename files to start with "X".
16067Files: src/testdir/test_mksession.vim
16068
16069Patch 8.0.0259
16070Problem: Tab commands do not handle count correctly. (Ken Hamada)
16071Solution: Add ADDR_TABS_RELATIVE. (Hirohito Higashi)
16072Files: runtime/doc/tabpage.txt, src/ex_cmds.h, src/ex_docmd.c,
16073 src/testdir/test_tabpage.vim
16074
16075Patch 8.0.0260
16076Problem: Build fails with tiny features.
16077Solution: Move get_tabpage_arg() inside #ifdef.
16078Files: src/ex_docmd.c
16079
16080Patch 8.0.0261
16081Problem: Not enough test coverage for eval functions.
16082Solution: Add more tests. (Dominique Pelle, closes #1420)
16083Files: src/testdir/test_functions.vim
16084
16085Patch 8.0.0262
16086Problem: Farsi support is barely tested.
16087Solution: Add more tests for Farsi. Clean up the code.
16088Files: src/edit.c, src/farsi.c, src/testdir/test_farsi.vim
16089
16090Patch 8.0.0263
16091Problem: Farsi support is not tested enough.
16092Solution: Add more tests for Farsi. Clean up the code.
16093Files: src/farsi.c, src/testdir/test_farsi.vim
16094
16095Patch 8.0.0264
16096Problem: Memory error reported by ubsan, probably for using the string
16097 returned by execute().
16098Solution: NUL terminate the result of execute().
16099Files: src/evalfunc.c
16100
16101Patch 8.0.0265
16102Problem: May get ml_get error when :pydo deletes lines or switches to
16103 another buffer. (Nikolai Pavlov, issue #1421)
16104Solution: Check the buffer and line every time.
16105Files: src/if_py_both.h, src/testdir/test_python2.vim,
16106 src/testdir/test_python3.vim, src/Makefile,
16107 src/testdir/Make_all.mak
16108
16109Patch 8.0.0266
16110Problem: Compiler warning for using uninitialized variable.
16111Solution: Set tab_number also when there is an error.
16112Files: src/ex_docmd.c
16113
16114Patch 8.0.0267
16115Problem: A channel test sometimes fails on Mac.
16116Solution: Add the test to the list of flaky tests.
16117Files: src/testdir/runtest.vim
16118
16119Patch 8.0.0268
16120Problem: May get ml_get error when :luado deletes lines or switches to
16121 another buffer. (Nikolai Pavlov, issue #1421)
16122Solution: Check the buffer and line every time.
16123Files: src/if_lua.c, src/testdir/test_lua.vim, src/Makefile,
16124 src/testdir/Make_all.mak
16125
16126Patch 8.0.0269
16127Problem: May get ml_get error when :perldo deletes lines or switches to
16128 another buffer. (Nikolai Pavlov, issue #1421)
16129Solution: Check the buffer and line every time.
16130Files: src/if_perl.xs, src/testdir/test_perl.vim
16131
16132Patch 8.0.0270
16133Problem: May get ml_get error when :rubydo deletes lines or switches to
16134 another buffer. (Nikolai Pavlov, issue #1421)
16135Solution: Check the buffer and line every time.
16136Files: src/if_ruby.c, src/testdir/test_ruby.vim
16137
16138Patch 8.0.0271
16139Problem: May get ml_get error when :tcldo deletes lines or switches to
16140 another buffer. (Nikolai Pavlov, closes #1421)
16141Solution: Check the buffer and line every time.
16142Files: src/if_tcl.c, src/testdir/test_tcl.vim, src/Makefile,
16143 src/testdir/Make_all.mak
16144
16145Patch 8.0.0272
16146Problem: Crash on exit is not detected when running tests.
16147Solution: Remove the dash before the command. (Dominique Pelle, closes
16148 #1425)
16149Files: src/testdir/Makefile
16150
16151Patch 8.0.0273
16152Problem: Dead code detected by Coverity when not using gnome.
16153Solution: Rearrange the #ifdefs to avoid dead code.
16154Files: src/gui_gtk_x11.c
16155
16156Patch 8.0.0274
16157Problem: When update_single_line() is called recursively, or another screen
16158 update happens while it is busy, errors may occur.
16159Solution: Check and update updating_screen. (Christian Brabandt)
16160Files: src/screen.c
16161
16162Patch 8.0.0275
16163Problem: When checking for CTRL-C typed the GUI may detect a screen resize
16164 and redraw the screen, causing trouble.
16165Solution: Set updating_screen in ui_breakcheck().
16166Files: src/ui.c
16167
16168Patch 8.0.0276
16169Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary.
16170Solution: Remove the #ifdef. (Kazunobu Kuriyama)
16171Files: src/gui_gtk_x11.c
16172
16173Patch 8.0.0277
16174Problem: The GUI test may trigger fontconfig and take a long time.
16175Solution: Set $XDG_CACHE_HOME. (Kazunobu Kuriyama)
16176Files: src/testdir/unix.vim, src/testdir/test_gui.vim
16177
16178Patch 8.0.0278 (after 8.0.0277)
16179Problem: GUI test fails on MS-Windows.
16180Solution: Check that tester_HOME exists.
16181Files: src/testdir/test_gui.vim
16182
16183Patch 8.0.0279
16184Problem: With MSVC 2015 the dll name is vcruntime140.dll.
16185Solution: Check the MSVC version and use the right dll name. (Ken Takata)
16186Files: src/Make_mvc.mak
16187
16188Patch 8.0.0280
16189Problem: On MS-Windows setting an environment variable with multi-byte
16190 strings does not work well.
16191Solution: Use wputenv when possible. (Taro Muraoka, Ken Takata)
16192Files: src/misc1.c, src/os_win32.c, src/os_win32.h,
16193 src/proto/os_win32.pro, src/vim.h
16194
16195Patch 8.0.0281
16196Problem: MS-Windows files are still using ARGSUSED while most other files
16197 have UNUSED.
16198Solution: Change ARGSUSED to UNUSED or delete it.
16199Files: src/os_win32.c, src/gui_w32.c, src/os_mswin.c, src/os_w32exe.c,
16200 src/winclip.c
16201
16202Patch 8.0.0282
16203Problem: When doing a Visual selection and using "I" to go to insert mode,
16204 CTRL-O needs to be used twice to go to Normal mode. (Coacher)
16205Solution: Check for the return value of edit(). (Christian Brabandt,
16206 closes #1290)
16207Files: src/normal.c, src/ops.c
16208
16209Patch 8.0.0283
16210Problem: The return value of mode() does not indicate that completion is
16211 active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu)
16212Solution: Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan,
16213 closes #1397) Test some more modes.
16214Files: runtime/doc/eval.txt, src/evalfunc.c,
16215 src/testdir/test_functions.vim, src/testdir/test_mapping.vim
16216
16217Patch 8.0.0284
16218Problem: The Test_collapse_buffers() test failed once, looks like it is
16219 flaky.
16220Solution: Add it to the list of flaky tests.
16221Files: src/testdir/runtest.vim
16222
16223Patch 8.0.0285 (after 8.0.0277)
16224Problem: Tests fail with tiny build on Unix.
16225Solution: Only set g:tester_HOME when build with the +eval feature.
16226Files: src/testdir/unix.vim
16227
16228Patch 8.0.0286
16229Problem: When concealing is active and the screen is resized in the GUI it
16230 is not immediately redrawn.
16231Solution: Use update_prepare() and update_finish() from
16232 update_single_line().
16233Files: src/screen.c
16234
16235Patch 8.0.0287
16236Problem: Cannot access the arguments of the current function in debug mode.
16237 (Luc Hermitte)
16238Solution: use get_funccal(). (Lemonboy, closes #1432, closes #1352)
16239Files: src/userfunc.c
16240
16241Patch 8.0.0288 (after 8.0.0284)
16242Problem: Errors reported while running tests.
16243Solution: Put comma in the right place.
16244Files: src/testdir/runtest.vim
16245
16246Patch 8.0.0289
16247Problem: No test for "ga" and :ascii.
16248Solution: Add a test. (Dominique Pelle, closes #1429)
16249Files: src/Makefile, src/testdir/test_alot.vim, src/testdir/test_ga.vim
16250
16251Patch 8.0.0290
16252Problem: If a wide character doesn't fit at the end of the screen line, and
16253 the line doesn't fit on the screen, then the cursor position may
16254 be wrong. (anliting)
16255Solution: Don't skip over wide character. (Christian Brabandt, closes #1408)
16256Files: src/screen.c
16257
16258Patch 8.0.0291 (after 8.0.0282)
16259Problem: Visual block insertion does not insert in all lines.
16260Solution: Don't bail out of insert too early. Add a test. (Christian
16261 Brabandt, closes #1290)
16262Files: src/ops.c, src/testdir/test_visual.vim
16263
16264Patch 8.0.0292
16265Problem: The stat test is a bit slow.
16266Solution: Remove a couple of sleep comments and reduce another.
16267Files: src/testdir/test_stat.vim
16268
16269Patch 8.0.0293
16270Problem: Some tests have a one or three second wait.
16271Solution: Reset the 'showmode' option. Use a test time of one to disable
16272 sleep after an error or warning message.
16273Files: src/misc1.c, src/testdir/runtest.vim, src/testdir/test_normal.vim
16274
16275Patch 8.0.0294
16276Problem: Argument list is not stored correctly in a session file.
16277 (lgpasquale)
16278Solution: Use "$argadd" instead of "argadd". (closes #1434)
16279Files: src/ex_docmd.c, src/testdir/test_mksession.vim
16280
16281Patch 8.0.0295 (after 8.0.0293)
16282Problem: test_viml hangs.
16283Solution: Put resetting 'more' before sourcing the script.
16284Files: src/testdir/runtest.vim
16285
16286Patch 8.0.0296
16287Problem: Bracketed paste can only append, not insert.
16288Solution: When the cursor is in the first column insert the text.
16289Files: src/normal.c, src/testdir/test_paste.vim, runtime/doc/term.txt
16290
16291Patch 8.0.0297
16292Problem: Double free on exit when using a closure. (James McCoy)
16293Solution: Split free_al_functions in two parts. (closes #1428)
16294Files: src/userfunc.c, src/structs.h
16295
16296Patch 8.0.0298
16297Problem: Ex command range with repeated search does not work. (Bruce
16298 DeVisser)
16299Solution: Skip over \/, \? and \&.
16300Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
16301
16302Patch 8.0.0299
16303Problem: When the GUI window is resized Vim does not always take over the
16304 new size. (Luchr)
16305Solution: Reset new_p_guifont in gui_resize_shell(). Call
16306 gui_may_resize_shell() in the main loop.
16307Files: src/main.c, src/gui.c
16308
16309Patch 8.0.0300
16310Problem: Cannot stop diffing hidden buffers. (Daniel Hahler)
16311Solution: When using :diffoff! make the whole list if diffed buffers empty.
16312 (closes #736)
16313Files: src/diff.c, src/testdir/test_diffmode.vim
16314
16315Patch 8.0.0301
16316Problem: No tests for ":set completion" and various errors of the :set
16317 command.
16318Solution: Add more :set tests. (Dominique Pelle, closes #1440)
16319Files: src/testdir/test_options.vim
16320
16321Patch 8.0.0302
16322Problem: Cannot set terminal key codes with :let.
16323Solution: Make it work.
16324Files: src/option.c, src/testdir/test_assign.vim
16325
16326Patch 8.0.0303
16327Problem: Bracketed paste does not work in Visual mode.
16328Solution: Delete the text before pasting
16329Files: src/normal.c, src/ops.c, src/proto/ops.pro,
16330 src/testdir/test_paste.vim
16331
16332Patch 8.0.0304 (after 8.0.0302)
16333Problem: Assign test fails in the GUI.
16334Solution: Skip the test for setting t_k1.
16335Files: src/testdir/test_assign.vim
16336
16337Patch 8.0.0305
16338Problem: Invalid memory access when option has duplicate flag.
16339Solution: Correct pointer computation. (Dominique Pelle, closes #1442)
16340Files: src/option.c, src/testdir/test_options.vim
16341
16342Patch 8.0.0306
16343Problem: mode() not sufficiently tested.
16344Solution: Add more tests. (Yegappan Lakshmanan)
16345Files: src/testdir/test_functions.vim
16346
16347Patch 8.0.0307
16348Problem: Asan detects a memory error when EXITFREE is defined. (Dominique
16349 Pelle)
16350Solution: In getvcol() check for ml_get_buf() returning an empty string.
16351 Also skip adjusting the scroll position. Set "exiting" in
16352 mch_exit() for all systems.
16353Files: src/charset.c, src/window.c, src/os_mswin.c, src/os_win32.c,
16354 src/os_amiga.c
16355
16356Patch 8.0.0308
16357Problem: When using a symbolic link, the package path will not be inserted
16358 at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi)
16359Solution: Resolve symbolic links when finding the right position in
16360 'runtimepath'. (Hirohito Higashi)
16361Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
16362
16363Patch 8.0.0309
16364Problem: Cannot use an empty key in json.
16365Solution: Allow for using an empty key.
16366Files: src/json.c, src/testdir/test_json.vim
16367
16368Patch 8.0.0310
16369Problem: Not enough testing for GUI functionality.
16370Solution: Add tests for v:windowid and getwinpos[xy](). (Kazunobu Kuriyama)
16371Files: src/testdir/test_gui.vim
16372
16373Patch 8.0.0311
16374Problem: Linebreak tests are old style.
16375Solution: Turn the tests into new style. Share utility functions. (Ozaki
16376 Kiichi, closes #1444)
16377Files: src/Makefile, src/testdir/Make_all.mak,
16378 src/testdir/test_breakindent.vim, src/testdir/test_listlbr.in,
16379 src/testdir/test_listlbr.ok, src/testdir/test_listlbr.vim,
16380 src/testdir/test_listlbr_utf8.in,
16381 src/testdir/test_listlbr_utf8.ok,
16382 src/testdir/test_listlbr_utf8.vim, src/testdir/view_util.vim
16383
16384Patch 8.0.0312
16385Problem: When a json message arrives in pieces, the start is dropped and
16386 the decoding fails.
16387Solution: Do not drop the start when it is still needed. (Kay Zheng) Add a
16388 test. Reset the timeout when something is received.
16389Files: src/channel.c, src/testdir/test_channel.vim, src/structs.h,
16390 src/testdir/test_channel_pipe.py
16391
16392Patch 8.0.0313 (after 8.0.0310)
16393Problem: Not enough testing for GUI functionality.
16394Solution: Add tests for the GUI font. (Kazunobu Kuriyama)
16395Files: src/testdir/test_gui.vim
16396
16397Patch 8.0.0314
16398Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested.
16399Solution: Add tests. (Yegappan Lakshmanan)
16400Files: src/testdir/test_cmdline.vim
16401
16402Patch 8.0.0315
16403Problem: ":help :[range]" does not work. (Tony Mechelynck)
16404Solution: Translate to insert a backslash.
16405Files: src/ex_cmds.c
16406
16407Patch 8.0.0316
16408Problem: ":help z?" does not work. (Pavol Juhas)
16409Solution: Remove exception for z?.
16410Files: src/ex_cmds.c
16411
16412Patch 8.0.0317
16413Problem: No test for setting 'guifont'.
16414Solution: Add a test for X11 GUIs. (Kazunobu Kuriyama)
16415Files: src/testdir/test_gui.vim
16416
16417Patch 8.0.0318
16418Problem: Small mistake in 7x13 font name.
16419Solution: Use ISO 8859-1 name instead of 10646-1. (Kazunobu Kuriyama)
16420Files: src/testdir/test_gui.vim
16421
16422Patch 8.0.0319
16423Problem: Insert mode completion does not respect "start" in 'backspace'.
16424Solution: Check whether backspace can go before where insert started.
16425 (Hirohito Higashi)
16426Files: src/edit.c, src/testdir/test_popup.vim
16427
16428Patch 8.0.0320
16429Problem: Warning for unused variable with small build.
16430Solution: Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)
16431Files: src/ex_getln.c
16432
16433Patch 8.0.0321
16434Problem: When using the tiny version trying to load the matchit plugin
16435 gives an error. On MS-Windows some default mappings fail.
16436Solution: Add a check if the command used is available. (Christian Brabandt)
16437Files: runtime/mswin.vim, runtime/macros/matchit.vim
16438
16439Patch 8.0.0322
16440Problem: Possible overflow with spell file where the tree length is
16441 corrupted.
16442Solution: Check for an invalid length (suggested by shqking)
16443Files: src/spellfile.c
16444
16445Patch 8.0.0323
16446Problem: When running the command line tests there is a one second wait.
16447Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan)
16448Files: src/testdir/test_cmdline.vim
16449
16450Patch 8.0.0324
16451Problem: Illegal memory access with "1;y".
16452Solution: Call check_cursor() instead of check_cursor_lnum(). (Dominique
16453 Pelle, closes #1455)
16454Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
16455
16456Patch 8.0.0325
16457Problem: Packadd test does not clean up symlink.
16458Solution: Delete the link. (Hirohito Higashi)
16459Files: src/testdir/test_packadd.vim
16460
16461Patch 8.0.0326 (after 8.0.0325)
16462Problem: Packadd test uses wrong directory name.
16463Solution: Use the variable name value. (Hirohito Higashi)
16464Files: src/testdir/test_packadd.vim
16465
16466Patch 8.0.0327
16467Problem: The E11 error message in the command line window is not
16468 translated.
16469Solution: use _(). (Hirohito Higashi)
16470Files: src/ex_docmd.c
16471
16472Patch 8.0.0328
16473Problem: The "zero count" error doesn't have a number. (Hirohito Higashi)
16474Solution: Give it a number and be more specific about the error.
16475Files: src/globals.h
16476
16477Patch 8.0.0329
16478Problem: Xfontset and guifontwide are not tested.
16479Solution: Add tests. (Kazunobu Kuriyama)
16480Files: src/testdir/test_gui.vim
16481
16482Patch 8.0.0330
16483Problem: Illegal memory access after "vapo". (Dominique Pelle)
16484Solution: Fix the cursor column.
16485Files: src/search.c, src/testdir/test_visual.vim
16486
16487Patch 8.0.0331
16488Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle)
16489Solution: Don't restore a snapshot when the window closes.
16490Files: src/window.c, src/Makefile, src/testdir/Make_all.mak,
16491 src/testdir/test_help.vim
16492
16493Patch 8.0.0332
16494Problem: GUI test fails on some systems.
16495Solution: Try different language settings. (Kazunobu Kuriyama)
16496Files: src/testdir/test_gui.vim
16497
16498Patch 8.0.0333
16499Problem: Illegal memory access when 'complete' ends in a backslash.
16500Solution: Check for trailing backslash. (Dominique Pelle, closes #1478)
16501Files: src/option.c, src/testdir/test_options.vim
16502
16503Patch 8.0.0334
16504Problem: Can't access b:changedtick from a dict reference.
16505Solution: Make changedtick a member of the b: dict. (inspired by neovim
16506 #6112)
16507Files: src/structs.h, src/buffer.c, src/edit.c, src/eval.c,
16508 src/evalfunc.c, src/ex_docmd.c, src/main.c, src/globals.h,
16509 src/fileio.c, src/memline.c, src/misc1.c, src/syntax.c,
16510 src/proto/eval.pro, src/testdir/test_changedtick.vim,
16511 src/Makefile, src/testdir/test_alot.vim, src/testdir/test91.in,
16512 src/testdir/test91.ok, src/testdir/test_functions.vim
16513
16514Patch 8.0.0335 (after 8.0.0335)
16515Problem: Functions test fails.
16516Solution: Use the right buffer number.
16517Files: src/testdir/test_functions.vim
16518
16519Patch 8.0.0336
16520Problem: Flags of :substitute not sufficiently tested.
16521Solution: Test up to two letter flag combinations. (James McCoy, closes
16522 #1479)
16523Files: src/testdir/test_substitute.vim
16524
16525Patch 8.0.0337
16526Problem: Invalid memory access in :recover command.
16527Solution: Avoid access before directory name. (Dominique Pelle,
16528 closes #1488)
16529Files: src/Makefile, src/memline.c, src/testdir/test_alot.vim,
16530 src/testdir/test_recover.vim
16531
16532Patch 8.0.0338 (after 8.0.0337)
16533Problem: :recover test fails on MS-Windows.
16534Solution: Use non-existing directory on MS-Windows.
16535Files: src/testdir/test_recover.vim
16536
16537Patch 8.0.0339
16538Problem: Illegal memory access with vi'
16539Solution: For quoted text objects bail out if the Visual area spans more
16540 than one line.
16541Files: src/search.c, src/testdir/test_visual.vim
16542
16543Patch 8.0.0340
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016544Problem: Not checking return value of dict_add(). (Coverity)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016545Solution: Handle a failure.
16546Files: src/buffer.c
16547
16548Patch 8.0.0341
16549Problem: When using complete() and typing a character undo is saved after
16550 the character was inserted. (Shougo)
16551Solution: Save for undo before inserting the character.
16552Files: src/edit.c, src/testdir/test_popup.vim
16553
16554Patch 8.0.0342
16555Problem: Double free when compiled with EXITFREE and setting 'ttytype'.
16556Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
16557 closes #1461)
16558Files: src/option.c, src/testdir/test_options.vim
16559
16560Patch 8.0.0343
16561Problem: b:changedtick can be unlocked, even though it has no effect.
16562 (Nikolai Pavlov)
16563Solution: Add a check and error E940. (closes #1496)
16564Files: src/eval.c, src/testdir/test_changedtick.vim, runtime/doc/eval.txt
16565
16566Patch 8.0.0344
16567Problem: Unlet command leaks memory. (Nikolai Pavlov)
16568Solution: Free the memory on error. (closes #1497)
16569Files: src/eval.c, src/testdir/test_unlet.vim
16570
16571Patch 8.0.0345
16572Problem: islocked('d.changedtick') does not work.
16573Solution: Make it work.
16574Files: src/buffer.c, src/eval.c, src/evalfunc.c, src/vim.h,
16575 src/testdir/test_changedtick.vim,
16576
16577Patch 8.0.0346
16578Problem: Vim relies on limits.h to be included indirectly, but on Solaris 9
16579 it may not be. (Ben Fritz)
16580Solution: Always include limits.h.
16581Files: src/os_unixx.h, src/vim.h
16582
16583Patch 8.0.0347
16584Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment
16585 leader may not work. (Klement)
16586Solution: Save and restore did_ai. (Christian Brabandt, closes #1494)
16587Files: src/edit.c, src/testdir/test_popup.vim
16588
16589Patch 8.0.0348
16590Problem: When building with a shadow directory on macOS lacks the
16591 +clipboard feature.
16592Solution: Link *.m files, specifically os_macosx.m. (Kazunobu Kuriyama)
16593Files: src/Makefile
16594
16595Patch 8.0.0349
16596Problem: Redrawing errors with GTK 3.
16597Solution: When updating, first clear all rectangles and then draw them.
16598 (Kazunobu Kuriyama, Christian Ludwig, closes #848)
16599Files: src/gui_gtk_x11.c
16600
16601Patch 8.0.0350
16602Problem: Not enough test coverage for Perl.
16603Solution: Add more Perl tests. (Dominique Perl, closes #1500)
16604Files: src/testdir/test_perl.vim
16605
16606Patch 8.0.0351
16607Problem: No test for concatenating an empty string that results from out of
16608 bounds indexing.
16609Solution: Add a simple test.
16610Files: src/testdir/test_expr.vim
16611
16612Patch 8.0.0352
16613Problem: The condition for when a typval needs to be cleared is too
16614 complicated.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016615Solution: Init the type to VAR_UNKNOWN and always clear it.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016616Files: src/eval.c
16617
16618Patch 8.0.0353
16619Problem: If [RO] in the status line is translated to a longer string, it is
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020016620 truncated to 4 bytes.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016621Solution: Skip over the resulting string. (Jente Hidskes, closes #1499)
16622Files: src/screen.c
16623
16624Patch 8.0.0354
16625Problem: Test to check that setting termcap key fails sometimes.
16626Solution: Check for "t_k1" to exist. (Christian Brabandt, closes #1459)
16627Files: src/testdir/test_assign.vim
16628
16629Patch 8.0.0355
16630Problem: Using uninitialized memory when 'isfname' is empty.
16631Solution: Don't call getpwnam() without an argument. (Dominique Pelle,
16632 closes #1464)
16633Files: src/misc1.c, src/testdir/test_options.vim
16634
16635Patch 8.0.0356 (after 8.0.0342)
16636Problem: Leaking memory when setting 'ttytype'.
16637Solution: Get free_oldval from the right option entry.
16638Files: src/option.c
16639
16640Patch 8.0.0357
16641Problem: Crash when setting 'guicursor' to weird value.
16642Solution: Avoid negative size. (Dominique Pelle, closes #1465)
16643Files: src/misc2.c, src/testdir/test_options.vim
16644
16645Patch 8.0.0358
16646Problem: Invalid memory access in C-indent code.
16647Solution: Don't go over end of empty line. (Dominique Pelle, closes #1492)
16648Files: src/edit.c, src/testdir/test_options.vim
16649
16650Patch 8.0.0359
16651Problem: 'number' and 'relativenumber' are not properly tested.
16652Solution: Add tests, change old style to new style tests. (Ozaki Kiichi,
16653 closes #1447)
16654Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
16655 src/testdir/test89.in, src/testdir/test89.ok,
16656 src/testdir/test_alot.vim, src/testdir/test_findfile.vim,
16657 src/testdir/test_number.vim
16658
16659Patch 8.0.0360
16660Problem: Sometimes VimL is used, which is confusing.
16661Solution: Consistently use "Vim script". (Hirohito Higashi)
16662Files: runtime/doc/if_mzsch.txt, runtime/doc/if_pyth.txt,
16663 runtime/doc/syntax.txt, runtime/doc/usr_02.txt,
16664 runtime/doc/version7.txt, src/Makefile, src/eval.c,
16665 src/ex_getln.c, src/if_py_both.h, src/if_xcmdsrv.c,
16666 src/testdir/Make_all.mak, src/testdir/runtest.vim,
16667 src/testdir/test49.vim, src/testdir/test_vimscript.vim,
16668 src/testdir/test_viml.vim
16669
16670Patch 8.0.0361
16671Problem: GUI initialisation is not sufficiently tested.
16672Solution: Add the gui_init test. (Kazunobu Kuriyama)
16673Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
16674 src/testdir/Make_ming.mak, src/testdir/Makefile,
16675 src/testdir/gui_init.vim, src/testdir/setup_gui.vim,
16676 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, Filelist
16677
16678Patch 8.0.0362 (after 8.0.0361)
16679Problem: Tests fail on MS-Windows.
16680Solution: Use $*.vim instead of $<.
16681Files: src/testdir/Make_dos.mak
16682
16683Patch 8.0.0363
16684Problem: Travis is too slow to keep up with patches.
16685Solution: Increase git depth to 20
16686Files: .travis.yml
16687
16688Patch 8.0.0364
16689Problem: ]s does not move cursor with two spell errors in one line. (Manuel
16690 Ortega)
16691Solution: Don't stop search immediately when wrapped, search the line first.
16692 (Ken Takata) Add a test.
16693Files: src/spell.c, src/Makefile, src/testdir/test_spell.vim,
16694 src/testdir/Make_all.mak
16695
16696Patch 8.0.0365
16697Problem: Might free a dict item that wasn't allocated.
16698Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for
16699 b:changedtick.
16700Files: src/dict.c, src/structs.h, src/buffer.c, src/edit.c,
16701 src/evalfunc.c, src/ex_docmd.c, src/fileio.c, src/main.c,
16702 src/memline.c, src/misc1.c, src/syntax.c
16703
16704Patch 8.0.0366 (after 8.0.0365)
16705Problem: Build fails with tiny features.
16706Solution: Add #ifdef.
16707Files: src/buffer.c
16708
16709Patch 8.0.0367
16710Problem: If configure defines _LARGE_FILES some include files are included
16711 before it is defined.
16712Solution: Include vim.h first. (Sam Thursfield, closes #1508)
16713Files: src/gui_at_sb.c, src/gui_athena.c, src/gui_motif.c, src/gui_x11.c,
16714 src/gui_xmdlg.c
16715
16716Patch 8.0.0368
16717Problem: Not all options are tested with a range of values.
16718Solution: Generate a test script from the source code.
16719Files: Filelist, src/gen_opt_test.vim, src/testdir/test_options.vim,
16720 src/Makefile
16721
16722Patch 8.0.0369 (after 8.0.0368)
16723Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are
16724 not defined without the +balloon_eval feature. Testing that an
16725 option value fails does not work for unsupported options.
16726Solution: Make the options defined but not supported. Don't test if
16727 setting unsupported options fails.
16728Files: src/option.c, src/gen_opt_test.vim
16729
16730Patch 8.0.0370
16731Problem: Invalid memory access when setting wildchar empty.
16732Solution: Avoid going over the end of the option value. (Dominique Pelle,
16733 closes #1509) Make option test check all number options with
16734 empty value.
16735Files: src/gen_opt_test.vim, src/option.c, src/testdir/test_options.vim
16736
16737Patch 8.0.0371 (after 8.0.0365)
16738Problem: Leaking memory when setting v:completed_item.
16739Solution: Or the flags instead of setting them.
16740Files: src/eval.c
16741
16742Patch 8.0.0372
16743Problem: More options are not always defined.
16744Solution: Consistently define all possible options.
16745Files: src/option.c, src/testdir/test_expand_dllpath.vim
16746
16747Patch 8.0.0373
16748Problem: Build fails without +folding.
16749Solution: Move misplaced #ifdef.
16750Files: src/option.c
16751
16752Patch 8.0.0374
16753Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
16754Solution: Avoid the column being negative. Also fix a hang in Ex mode.
16755Files: src/ex_getln.c, src/ex_cmds.c, src/testdir/test_substitute.vim
16756
16757Patch 8.0.0375
16758Problem: The "+ register is not tested.
16759Solution: Add a test using another Vim instance to change the "+ register.
16760 (Kazunobu Kuriyama)
16761Files: src/testdir/test_gui.vim
16762
16763Patch 8.0.0376
16764Problem: Size computations in spell file reading are not exactly right.
16765Solution: Make "len" a "long" and check with LONG_MAX.
16766Files: src/spellfile.c
16767
16768Patch 8.0.0377
16769Problem: Possible overflow when reading corrupted undo file.
16770Solution: Check if allocated size is not too big. (King)
16771Files: src/undo.c
16772
16773Patch 8.0.0378
16774Problem: Another possible overflow when reading corrupted undo file.
16775Solution: Check if allocated size is not too big. (King)
16776Files: src/undo.c
16777
16778Patch 8.0.0379
16779Problem: CTRL-Z and mouse click use CTRL-O unnecessary.
16780Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453)
16781Files: src/edit.c, src/normal.c
16782
16783Patch 8.0.0380
16784Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide
16785 character results in "<<" displayed.
16786Solution: Check for the character not to be replaced. (Ozaki Kiichi,
16787 closes #1456)
16788Files: src/screen.c, src/testdir/test_listlbr_utf8.vim
16789
16790Patch 8.0.0381
16791Problem: Diff mode is not sufficiently tested.
16792Solution: Add more diff mode tests. (Dominique Pelle, closes #1515)
16793Files: src/testdir/test_diffmode.vim
16794
16795Patch 8.0.0382 (after 8.0.0380)
16796Problem: Warning in tiny build for unused variable. (Tony Mechelynck)
16797Solution: Add #ifdefs.
16798Files: src/screen.c
16799
16800Patch 8.0.0383 (after 8.0.0382)
16801Problem: Misplaced #ifdef. (Christ van Willigen)
16802Solution: Split assignment.
16803Files: src/screen.c
16804
16805Patch 8.0.0384
16806Problem: Timer test failed for no apparent reason.
16807Solution: Mark the test as flaky.
16808Files: src/testdir/runtest.vim
16809
16810Patch 8.0.0385
16811Problem: No tests for arabic.
16812Solution: Add a first test for arabic. (Dominique Pelle, closes #1518)
16813Files: src/Makefile, src/testdir/Make_all.mak,
16814 src/testdir/test_arabic.vim
16815
16816Patch 8.0.0386
16817Problem: Tiny build has a problem with generating the options test.
16818Solution: Change the "if" to skip over statements.
16819Files: src/gen_opt_test.vim
16820
16821Patch 8.0.0387
16822Problem: compiler warnings
16823Solution: Add type casts. (Christian Brabandt)
16824Files: src/channel.c, src/memline.c,
16825
16826Patch 8.0.0388
16827Problem: filtering lines through "cat", without changing the line count,
16828 changes manual folds.
16829Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from
Bram Moolenaar74675a62017-07-15 13:53:23 +020016830 neovim #6194).
Bram Moolenaar0635ee62017-04-28 20:32:33 +020016831Files: src/fold.c, src/testdir/test_fold.vim
16832
16833Patch 8.0.0389
16834Problem: Test for arabic does not check what is displayed.
16835Solution: Improve what is asserted. (Dominique Pelle, closes #1523)
16836 Add a first shaping test.
16837Files: src/testdir/test_arabic.vim
16838
16839Patch 8.0.0390
16840Problem: When the window scrolls horizontally when the popup menu is
16841 displayed part of it may not be cleared. (Neovim issue #6184)
16842Solution: Remove the menu when the windows scrolled. (closes #1524)
16843Files: src/edit.c
16844
16845Patch 8.0.0391
16846Problem: Arabic support is verbose and not well tested.
16847Solution: Simplify the code. Add more tests.
16848Files: src/arabic.c, src/testdir/test_arabic.vim
16849
16850Patch 8.0.0392
16851Problem: GUI test fails with Athena and Motif.
16852Solution: Add test_ignore_error(). Use it to ignore the "failed to create
16853 input context" error.
16854Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
16855 src/testdir/test_gui.vim, runtime/doc/eval.txt
16856
16857Patch 8.0.0393 (after 8.0.0190)
16858Problem: When the same tag appears more than once, the order is
16859 unpredictable. (Charles Campbell)
16860Solution: Besides using a dict for finding duplicates, use a grow array for
16861 keeping the tags in sequence.
16862Files: src/tag.c, src/testdir/test_tagjump.vim
16863
16864Patch 8.0.0394
16865Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't
16866 fit. (Axel Bender)
16867Solution: Handle a Tab as a not fitting character. (Christian Brabandt)
16868 Also fix that ":redraw" does not scroll horizontally to show the
16869 cursor. And fix the test that depended on the old behavior.
16870Files: src/screen.c, src/ex_docmd.c, src/testdir/test_listlbr.vim,
16871 src/testdir/test_listlbr_utf8.vim,
16872 src/testdir/test_breakindent.vim
16873
16874Patch 8.0.0395 (after 8.0.0392)
16875Problem: Testing the + register fails with Motif.
16876Solution: Also ignore the "failed to create input context" error in the
16877 second gvim. Don't use msg() when it would result in a dialog.
16878Files: src/message.c, src/testdir/test_gui.vim, src/testdir/setup_gui.vim
16879
16880Patch 8.0.0396
16881Problem: 'balloonexpr' only works synchronously.
16882Solution: Add balloon_show(). (Jusufadis Bakamovic, closes #1449)
16883Files: runtime/doc/eval.txt, src/evalfunc.c, src/os_unix.c,
16884 src/os_win32.c
16885
16886Patch 8.0.0397 (after 8.0.0392)
16887Problem: Cannot build with the viminfo feature but without the eval
16888 feature.
16889Solution: Adjust #ifdef. (John Marriott)
16890Files: src/message.c, src/misc2.c
16891
16892Patch 8.0.0398
16893Problem: Illegal memory access with "t".
16894Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528)
16895Files: src/search.c, src/testdir/test_search.vim
16896
16897Patch 8.0.0399
16898Problem: Crash when using balloon_show() when not supported. (Hirohito
16899 Higashi)
16900Solution: Check for balloonEval not to be NULL. (Ken Takata)
16901Files: src/evalfunc.c, src/testdir/test_functions.vim
16902
16903Patch 8.0.0400
16904Problem: Some tests have a one second delay.
16905Solution: Add --not-a-term in RunVim().
16906Files: src/testdir/shared.vim
16907
16908Patch 8.0.0401
16909Problem: Test fails with missing balloon feature.
16910Solution: Add check for balloon feature.
16911Files: src/testdir/test_functions.vim
16912
16913Patch 8.0.0402
16914Problem: :map completion does not have <special>. (Dominique Pelle)
16915Solution: Recognize <special> in completion. Add a test.
16916Files: src/getchar.c, src/testdir/test_cmdline.vim
16917
16918Patch 8.0.0403
16919Problem: GUI tests may fail.
16920Solution: Ignore the E285 error better. (Kazunobu Kuriyama)
16921Files: src/testdir/test_gui.vim, src/testdir/test_gui_init.vim
16922
16923Patch 8.0.0404
16924Problem: Not enough testing for quickfix.
16925Solution: Add some more tests. (Yegappan Lakshmanan)
16926Files: src/testdir/test_quickfix.vim
16927
16928Patch 8.0.0405
16929Problem: v:progpath may become invalid after ":cd".
16930Solution: Turn v:progpath into a full path if needed.
16931Files: src/main.c, src/testdir/test_startup.vim, runtime/doc/eval.txt
16932
16933Patch 8.0.0406
16934Problem: The arabic shaping code is verbose.
16935Solution: Shorten the code without changing the functionality.
16936Files: src/arabic.c
16937
16938Patch 8.0.0407 (after 8.0.0388)
16939Problem: Filtering folds with marker method not tested.
16940Solution: Also set 'foldmethod' to "marker".
16941Files: src/testdir/test_fold.vim
16942
16943Patch 8.0.0408
16944Problem: Updating folds does not work properly when inserting a file and a
16945 few other situations.
16946Solution: Adjust the way folds are updated. (Matthew Malcomson)
16947Files: src/fold.c, src/testdir/test_fold.vim
16948
16949Patch 8.0.0409
16950Problem: set_progpath is defined but not always used
16951Solution: Adjust #ifdef.
16952Files: src/main.c
16953
16954Patch 8.0.0410
16955Problem: Newer gettext/iconv library has extra dll file.
16956Solution: Add the file to the Makefile and nsis script. (Christian Brabandt)
16957Files: Makefile, nsis/gvim.nsi
16958
16959Patch 8.0.0411
16960Problem: We can't change the case in menu entries, it breaks translations.
16961Solution: Ignore case when looking up a menu translation.
16962Files: src/menu.c, src/testdir/test_menu.vim
16963
16964Patch 8.0.0412 (after 8.0.0411)
16965Problem: Menu test fails on MS-Windows.
16966Solution: Use a menu entry with only ASCII characters.
16967Files: src/testdir/test_menu.vim
16968
16969Patch 8.0.0413 (after 8.0.0412)
16970Problem: Menu test fails on MS-Windows using gvim.
16971Solution: First delete the English menus.
16972Files: src/testdir/test_menu.vim
16973
16974Patch 8.0.0414
16975Problem: Balloon eval is not tested.
16976Solution: Add a few balloon tests. (Kazunobu Kuriyama)
16977Files: src/testdir/test_gui.vim
16978
16979Patch 8.0.0415 (after 8.0.0414)
16980Problem: Balloon test fails on MS-Windows.
16981Solution: Test with 0x7fffffff instead of 0xffffffff.
16982Files: src/testdir/test_gui.vim
16983
16984Patch 8.0.0416
16985Problem: Setting v:progpath is not quite right.
16986Solution: On MS-Windows add the extension. On Unix use the full path for a
16987 relative directory. (partly by James McCoy, closes #1531)
16988Files: src/main.c, src/os_win32.c, src/os_unix.c
16989
16990Patch 8.0.0417
16991Problem: Test for the clipboard fails sometimes.
16992Solution: Add it to the flaky tests.
16993Files: src/testdir/runtest.vim
16994
16995Patch 8.0.0418
16996Problem: ASAN logs are disabled and don't cause a failure.
16997Solution: Enable ASAN logs and fail if not empty. (James McCoy,
16998 closes #1425)
16999Files: .travis.yml
17000
17001Patch 8.0.0419
17002Problem: Test for v:progpath fails on MS-Windows.
17003Solution: Expand to full path. Also add ".exe" when the path is an absolute
17004 path.
17005Files: src/os_win32.c, src/main.c
17006
17007Patch 8.0.0420
17008Problem: When running :make the output may be in the system encoding,
17009 different from 'encoding'.
17010Solution: Add the 'makeencoding' option. (Ken Takata)
17011Files: runtime/doc/options.txt, runtime/doc/quickfix.txt,
17012 runtime/doc/quickref.txt, src/Makefile, src/buffer.c,
17013 src/if_cscope.c, src/main.c, src/option.c, src/option.h,
17014 src/proto/quickfix.pro, src/quickfix.c, src/structs.h,
17015 src/testdir/Make_all.mak, src/testdir/test_makeencoding.py,
17016 src/testdir/test_makeencoding.vim
17017
17018Patch 8.0.0421
17019Problem: Diff mode is displayed wrong when adding a line at the end of a
17020 buffer.
17021Solution: Adjust marks in diff mode. (James McCoy, closes #1329)
17022Files: src/misc1.c, src/ops.c, src/testdir/test_diffmode.vim
17023
17024Patch 8.0.0422
17025Problem: Python test fails with Python 3.6.
17026Solution: Convert new exception messages to old ones. (closes #1359)
17027Files: src/testdir/test87.in
17028
17029Patch 8.0.0423
17030Problem: The effect of adding "#" to 'cinoptions' is not always removed.
17031 (David Briscoe)
17032Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475)
17033Files: src/misc1.c, src/Makefile, src/testdir/Make_all.mak,
17034 src/testdir/test_cindent.vim, src/testdir/test3.in
17035
17036Patch 8.0.0424
17037Problem: Compiler warnings on MS-Windows. (Ajit Thakkar)
17038Solution: Add type casts.
17039Files: src/os_win32.c
17040
17041Patch 8.0.0425
17042Problem: Build errors when building without folding.
17043Solution: Add #ifdefs. (John Marriott)
17044Files: src/diff.c, src/edit.c, src/option.c, src/syntax.c
17045
17046Patch 8.0.0426
17047Problem: Insufficient testing for statusline.
17048Solution: Add several tests. (Dominique Pelle, closes #1534)
17049Files: src/testdir/test_statusline.vim
17050
17051Patch 8.0.0427
17052Problem: 'makeencoding' missing from the options window.
17053Solution: Add the entry.
17054Files: runtime/optwin.vim
17055
17056Patch 8.0.0428
17057Problem: Git and hg see new files after running tests. (Manuel Ortega)
17058Solution: Add the generated file to .hgignore (or .gitignore). Delete the
17059 resulting verbose file. (Christian Brabandt) Improve dependency
17060 on opt_test.vim. Reset the 'more' option.
17061Files: .hgignore, src/gen_opt_test.vim, src/testdir/gen_opt_test.vim,
17062 src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile,
17063 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
17064 Filelist
17065
17066Patch 8.0.0429
17067Problem: Options test does not always test everything.
17068Solution: Fix dependency for opt_test.vim. Give a message when opt_test.vim
17069 was not found.
17070Files: src/testdir/test_options.vim, src/testdir/gen_opt_test.vim,
17071 src/testdir/Makefile, src/testdir/Make_all.mak,
17072 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
17073
17074Patch 8.0.0430
17075Problem: Options test fails or hangs on MS-Windows.
17076Solution: Run it separately instead of part of test_alot. Use "-S" instead
17077 of "-u" to run the script. Fix failures.
17078Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
17079 src/testdir/Makefile, src/testdir/Make_dos.mak,
17080 src/testdir/Make_ming.mak, src/testdir/gen_opt_test.vim
17081
17082Patch 8.0.0431
17083Problem: 'cinoptions' cannot set indent for extern block.
17084Solution: Add the "E" flag in 'cinoptions'. (Hirohito Higashi)
17085Files: runtime/doc/indent.txt, src/misc1.c, src/structs.h,
17086 src/testdir/test_cindent.vim
17087
17088Patch 8.0.0432
17089Problem: "make shadow" creates an invalid link.
17090Solution: Don't link "*.vim". (Kazunobu Kuriyama)
17091Files: src/Makefile
17092
17093Patch 8.0.0433
17094Problem: Quite a few beeps when running tests.
17095Solution: Set 'belloff' for these tests. (Christian Brabandt)
17096Files: src/testdir/test103.in, src/testdir/test14.in,
17097 src/testdir/test29.in, src/testdir/test30.in,
17098 src/testdir/test32.in, src/testdir/test45.in,
17099 src/testdir/test72.in, src/testdir/test73.in,
17100 src/testdir/test77.in, src/testdir/test78.in,
17101 src/testdir/test85.in, src/testdir/test94.in,
17102 src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim,
17103 src/testdir/test_close_count.in, src/testdir/test_cmdline.vim,
17104 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim,
17105 src/testdir/test_erasebackword.in, src/testdir/test_normal.vim,
17106 src/testdir/test_packadd.vim, src/testdir/test_search.vim,
17107 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim,
17108 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim
17109
17110Patch 8.0.0434
17111Problem: Clang version not correctly detected.
17112Solution: Adjust the configure script. (Kazunobu Kuriyama)
17113Files: src/configure.ac, src/auto/configure
17114
17115Patch 8.0.0435
17116Problem: Some functions are not tested.
17117Solution: Add more tests for functions. (Dominique Pelle, closes #1541)
17118Files: src/testdir/test_functions.vim
17119
17120Patch 8.0.0436
17121Problem: Running the options test sometimes resizes the terminal.
17122Solution: Clear out t_WS.
17123Files: src/testdir/gen_opt_test.vim
17124
17125Patch 8.0.0437
17126Problem: The packadd test does not create the symlink correctly and does
17127 not test the right thing.
17128Solution: Create the directory and symlink correctly.
17129Files: src/testdir/test_packadd.vim
17130
17131Patch 8.0.0438
17132Problem: The fnamemodify test changes 'shell' in a way later tests may not
17133 be able to use system().
17134Solution: Save and restore 'shell'.
17135Files: src/testdir/test_fnamemodify.vim
17136
17137Patch 8.0.0439
17138Problem: Using ":%argdel" while the argument list is already empty gives an
17139 error. (Pavol Juhas)
17140Solution: Don't give an error. (closes #1546)
17141Files: src/ex_cmds2.c, src/testdir/test_arglist.vim
17142
17143Patch 8.0.0440
17144Problem: Not enough test coverage in Insert mode.
17145Solution: Add lots of tests. Add test_override(). (Christian Brabandt,
17146 closes #1521)
17147Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/edit.c,
17148 src/evalfunc.c, src/globals.h, src/screen.c,
17149 src/testdir/Make_all.mak, src/testdir/test_cursor_func.vim,
17150 src/testdir/test_edit.vim, src/testdir/test_search.vim,
17151 src/testdir/test_assert.vim, src/Makefile, src/testdir/runtest.vim
17152
17153Patch 8.0.0441
17154Problem: Dead code in #ifdef.
17155Solution: Remove the #ifdef and #else part.
17156Files: src/option.c
17157
17158Patch 8.0.0442
17159Problem: Patch shell command uses double quotes around the argument, which
17160 allows for $HOME to be expanded. (Etienne)
17161Solution: Use single quotes on Unix. (closes #1543)
17162Files: src/diff.c, src/testdir/test_diffmode.vim
17163
17164Patch 8.0.0443
17165Problem: Terminal width is set to 80 in test3.
17166Solution: Instead of setting 'columns' set 'wrapmargin' depending on
17167 'columns.
17168Files: src/testdir/test3.in
17169
17170Patch 8.0.0444 (after 8.0.0442)
17171Problem: Diffpatch fails when the file name has a quote.
17172Solution: Escape the name properly. (zetzei)
17173Files: src/diff.c, src/testdir/test_diffmode.vim
17174
17175Patch 8.0.0445
17176Problem: Getpgid is not supported on all systems.
17177Solution: Add a configure check.
17178Files: src/configure.ac, src/auto/configure, src/config.h.in,
17179 src/os_unix.c
17180
17181Patch 8.0.0446
17182Problem: The ";" command does not work after characters with a lower byte
17183 that is NUL.
17184Solution: Properly check for not having a previous character. (Hirohito
17185 Higashi)
17186Files: src/Makefile, src/search.c, src/testdir/test_alot_utf8.vim,
17187 src/testdir/test_charsearch_utf8.vim
17188
17189Patch 8.0.0447
17190Problem: Getting font name does not work on X11.
17191Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests.
17192 (Kazunobu Kuriyama)
17193Files: src/gui_x11.c, src/syntax.c, src/testdir/Make_dos.mak,
17194 src/testdir/Make_ming.mak, src/testdir/Makefile,
17195 src/testdir/gui_init.vim, src/testdir/gui_preinit.vim,
17196 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
17197 Filelist
17198
17199Patch 8.0.0448
17200Problem: Some macros are in lower case, which can be confusing.
17201Solution: Make a few lower case macros upper case.
17202Files: src/macros.h, src/buffer.c, src/charset.c, src/ops.c, src/diff.c,
17203 src/edit.c, src/evalfunc.c, src/ex_cmds.c, src/ex_getln.c,
17204 src/fileio.c, src/fold.c, src/gui.c, src/gui_beval.c, src/main.c,
17205 src/mark.c, src/misc1.c, src/move.c, src/normal.c,
17206 src/option.c, src/popupmnu.c, src/regexp.c, src/screen.c,
17207 src/search.c, src/spell.c, src/tag.c, src/ui.c, src/undo.c,
17208 src/version.c, src/workshop.c, src/if_perl.xs
17209
17210Patch 8.0.0449 (after 8.0.0448)
17211Problem: Part of fold patch accidentally included.
17212Solution: Revert that part of the patch.
17213Files: src/ex_cmds.c
17214
17215Patch 8.0.0450
17216Problem: v:progpath is not reliably set.
17217Solution: Read /proc/self/exe if possible. (idea by Michal Grochmal)
17218 Also fixes missing #if.
17219Files: src/main.c, src/config.h.in
17220
17221Patch 8.0.0451
17222Problem: Some macros are in lower case.
17223Solution: Make a few more macros upper case. Avoid lower case macros use an
17224 argument twice.
17225Files: src/macros.h, src/charset.c, src/misc2.c, src/proto/misc2.pro,
17226 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
17227 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/fold.c,
17228 src/gui.c, src/gui_gtk.c, src/mark.c, src/memline.c, src/mbyte.c,
17229 src/menu.c, src/message.c, src/misc1.c, src/ops.c, src/option.c,
17230 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
17231 src/popupmnu.c, src/regexp.c, src/regexp_nfa.c, src/screen.c,
17232 src/search.c, src/spell.c, src/spellfile.c, src/syntax.c,
17233 src/tag.c, src/ui.c, src/undo.c, src/window.c
17234
17235Patch 8.0.0452
17236Problem: Some macros are in lower case.
17237Solution: Make a few more macros upper case.
17238Files: src/vim.h, src/macros.h, src/evalfunc.c, src/fold.c,
17239 src/gui_gtk.c, src/gui_gtk_x11.c, src/charset.c, src/diff.c,
17240 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
17241 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/getchar.c,
17242 src/gui.c, src/gui_w32.c, src/if_cscope.c, src/mbyte.c,
17243 src/menu.c, src/message.c, src/misc1.c, src/misc2.c, src/normal.c,
17244 src/ops.c, src/option.c, src/os_unix.c, src/os_win32.c,
17245 src/quickfix.c, src/regexp.c, src/regexp_nfa.c, src/screen.c,
17246 src/search.c, src/spell.c, src/syntax.c, src/tag.c, src/userfunc.c
17247
17248Patch 8.0.0453
17249Problem: Adding fold marker creates new comment.
17250Solution: Use an existing comment if possible. (LemonBoy, closes #1549)
17251Files: src/ops.c, src/proto/ops.pro, src/fold.c,
17252 src/testdir/test_fold.vim
17253
17254Patch 8.0.0454
17255Problem: Compiler warnings for comparing unsigned char with 256 always
17256 being true. (Manuel Ortega)
17257Solution: Add type cast.
17258Files: src/screen.c, src/charset.c
17259
17260Patch 8.0.0455
17261Problem: The mode test may hang in Test_mode(). (Michael Soyka)
17262Solution: Set 'complete' to only search the current buffer (as suggested by
17263 Michael)
17264Files: src/testdir/test_functions.vim
17265
17266Patch 8.0.0456
17267Problem: Typo in MinGW test makefile.
17268Solution: Change an underscore to a dot. (Michael Soyka)
17269Files: src/testdir/Make_ming.mak
17270
17271Patch 8.0.0457
17272Problem: Using :move messes up manual folds.
17273Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim
17274 patch #6221)
17275Files: src/ex_cmds.c, src/fold.c, src/mark.c, src/proto/fold.pro,
17276 src/proto/mark.pro src/testdir/test_fold.vim
17277
17278Patch 8.0.0458
17279Problem: Potential crash if adding list or dict to dict fails.
17280Solution: Make sure the reference count is correct. (Nikolai Pavlov, closes
17281 #1555)
17282Files: src/dict.c
17283
17284Patch 8.0.0459 (after 8.0.0457)
17285Problem: Old fix for :move messing up folding no longer needed, now that we
17286 have a proper solution.
17287Solution: Revert patch 7.4.700. (Christian Brabandt)
17288Files: src/ex_cmds.c
17289
17290Patch 8.0.0460 (after 8.0.0452)
17291Problem: Can't build on HPUX.
17292Solution: Fix argument names in vim_stat(). (John Marriott)
17293Files: src/misc2.c
17294
17295Patch 8.0.0461 (after 8.0.0457)
17296Problem: Test 45 hangs on MS-Windows.
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017297Solution: Reset 'shiftwidth'. Also remove redundant function.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017298Files: src/fold.c, src/testdir/test45.in
17299
17300Patch 8.0.0462
17301Problem: If an MS-Windows tests succeeds at first and then fails in a way
17302 it does not produce a test.out file it looks like the test
17303 succeeded.
17304Solution: Delete the previous output file.
17305Files: src/testdir/Make_dos.mak
17306
17307Patch 8.0.0463
17308Problem: Resetting 'compatible' in defaults.vim has unexpected side
17309 effects. (David Fishburn)
17310Solution: Only reset 'compatible' if it was set.
17311Files: runtime/defaults.vim
17312
17313Patch 8.0.0464
17314Problem: Can't find executable name on Solaris and FreeBSD.
17315Solution: Check for "/proc/self/path/a.out". (Danek Duvall) And for
17316 "/proc/curproc/file".
17317Files: src/config.h.in, src/configure.ac, src/main.c,
17318 src/auto/configure
17319
17320Patch 8.0.0465
17321Problem: Off-by-one error in using :move with folding.
17322Solution: Correct off-by-one mistakes and add more tests. (Matthew
17323 Malcomson)
17324Files: src/fold.c, src/testdir/test_fold.vim
17325
17326Patch 8.0.0466
17327Problem: There are still a few macros that should be all-caps.
17328Solution: Make a few more macros all-caps.
17329Files: src/buffer.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
17330 src/ex_docmd.c, src/ex_getln.c, src/farsi.c, src/fileio.c,
17331 src/getchar.c, src/gui_beval.c, src/hardcopy.c, src/if_cscope.c,
17332 src/if_xcmdsrv.c, src/mark.c, src/memline.c, src/menu.c,
17333 src/message.c, src/misc1.c, src/normal.c, src/ops.c, src/option.c,
17334 src/quickfix.c, src/screen.c, src/search.c, src/syntax.c,
17335 src/tag.c, src/term.c, src/term.h, src/ui.c, src/undo.c,
17336 src/userfunc.c, src/version.c, src/vim.h
17337
17338Patch 8.0.0467
17339Problem: Using g< after :for does not show the right output. (Marcin
17340 Szamotulski)
17341Solution: Call msg_sb_eol() in :echomsg.
17342Files: src/eval.c
17343
17344Patch 8.0.0468
17345Problem: After aborting an Ex command g< does not work. (Marcin
17346 Szamotulski)
17347Solution: Postpone clearing scrollback messages to until the command line
17348 has been entered. Also fix that the screen isn't redrawn if after
17349 g< the command line is cancelled.
17350Files: src/message.c, src/proto/message.pro, src/ex_getln.c, src/misc2.c,
17351 src/gui.c
17352
17353Patch 8.0.0469
17354Problem: Compiler warnings on MS-Windows.
17355Solution: Add type casts. (Christian Brabandt)
17356Files: src/fold.c
17357
17358Patch 8.0.0470
17359Problem: Not enough testing for help commands.
17360Solution: Add a few more help tests. (Dominique Pelle, closes #1565)
17361Files: src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim
17362
17363Patch 8.0.0471
17364Problem: Exit callback test sometimes fails.
17365Solution: Add it to the list of flaky tests.
17366Files: src/testdir/runtest.vim
17367
17368Patch 8.0.0472
17369Problem: When a test fails and test.log is created, Test_edit_CTRL_I
17370 matches it instead of test1.in.
17371Solution: Match with runtest.vim instead.
17372Files: src/testdir/test_edit.vim
17373
17374Patch 8.0.0473
17375Problem: No test covering arg_all().
17376Solution: Add a test expanding ##.
17377Files: src/testdir/test_arglist.vim
17378
17379Patch 8.0.0474
17380Problem: The client-server feature is not tested.
17381Solution: Add a test.
17382Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/shared.vim,
17383 src/testdir/test_clientserver.vim, src/os_mswin.c
17384
17385Patch 8.0.0475
17386Problem: Not enough testing for the client-server feature.
17387Solution: Add more tests. Add the remote_startserver() function. Fix that
17388 a locally evaluated expression uses function-local variables.
17389Files: src/if_xcmdsrv.c, src/evalfunc.c, src/os_mswin.c,
17390 src/proto/main.pro, src/testdir/test_clientserver.vim,
17391 runtime/doc/eval.txt
17392
17393Patch 8.0.0476 (after 8.0.0475)
17394Problem: Missing change to main.c.
17395Solution: Add new function.
17396Files: src/main.c
17397
17398Patch 8.0.0477
17399Problem: The client-server test may hang when failing.
17400Solution: Set a timer. Add assert_report()
17401Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim,
17402 src/eval.c, src/evalfunc.c, src/proto/eval.pro, src/if_xcmdsrv.c,
17403 src/os_mswin.c, runtime/doc/eval.txt
17404
17405Patch 8.0.0478
17406Problem: Tests use assert_true(0) and assert_false(1) to report errors.
17407Solution: Use assert_report().
17408Files: src/testdir/test_cscope.vim, src/testdir/test_expr.vim,
17409 src/testdir/test_perl.vim, src/testdir/test_channel.vim,
17410 src/testdir/test_cursor_func.vim, src/testdir/test_gui.vim,
17411 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
17412 src/testdir/test_viminfo.vim, src/testdir/test_vimscript.vim,
17413 src/testdir/test_assert.vim
17414
17415Patch 8.0.0479
17416Problem: remote_peek() is not tested.
17417Solution: Add a test.
17418Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim
17419
17420Patch 8.0.0480
17421Problem: The remote_peek() test fails on MS-Windows.
17422Solution: Check for pending messages. Also report errors in the first run if
17423 a flaky test fails twice.
17424Files: src/os_mswin.c, src/testdir/runtest.vim
17425
17426Patch 8.0.0481
17427Problem: Unnecessary if statement.
17428Solution: Remove the statement. Fix "it's" vs "its" mistakes. (Dominique
17429 Pelle, closes #1568)
17430Files: src/syntax.c
17431
17432Patch 8.0.0482
17433Problem: The setbufvar() function may mess up the window layout. (Kay Z.)
17434Solution: Do not check the window to be valid if it is NULL.
17435Files: src/window.c, src/testdir/test_functions.vim
17436
17437Patch 8.0.0483
17438Problem: Illegal memory access when using :all. (Dominique Pelle)
17439Solution: Adjust the cursor position right after setting "curwin".
17440Files: src/window.c, src/testdir/test_window_cmd.vim
17441
17442Patch 8.0.0484
17443Problem: Using :lhelpgrep with an argument that should fail does not
17444 produce an error if the previous :helpgrep worked.
17445Solution: Use another way to detect that autocommands made the quickfix info
17446 invalid. (Yegappan Lakshmanan)
17447Files: src/quickfix.c, src/testdir/test_quickfix.vim
17448
17449Patch 8.0.0485
17450Problem: Not all windows commands are tested.
17451Solution: Add more tests for windows commands. (Dominique Pelle,
17452 closes #1575) Run test_autocmd separately, it interferes with
17453 other tests. Fix tests that depended on side effects.
17454Files: src/testdir/test_window_cmd.vim, src/testdir/test_alot.vim,
17455 src/testdir/test_autocmd.vim, src/testdir/test_fnamemodify.vim,
17456 src/testdir/test_functions.vim, src/testdir/test_delete.vim,
17457 src/testdir/Make_all.mak
17458
17459Patch 8.0.0486
17460Problem: Crash and endless loop when closing windows in a SessionLoadPost
17461 autocommand.
17462Solution: Check for valid tabpage. (partly neovim #6308)
17463Files: src/testdir/test_autocmd.vim, src/fileio.c, src/proto/window.pro,
17464 src/window.c
17465
17466Patch 8.0.0487
17467Problem: The autocmd test hangs on MS-Windows.
17468Solution: Skip the hanging tests for now.
17469Files: src/testdir/test_autocmd.vim
17470
17471Patch 8.0.0488
17472Problem: Running tests leaves an "xxx" file behind.
17473Solution: Delete the 'verbosefile' after resetting the option.
17474Files: src/testdir/gen_opt_test.vim
17475
17476Patch 8.0.0489
17477Problem: Clipboard and "* register is not tested.
17478Solution: Add a test for Mac and X11. (Kazunobu Kuriyama)
17479Files: src/Makefile, src/testdir/Make_all.mak,
17480 src/testdir/test_quotestar.vim, src/testdir/runtest.vim
17481
17482Patch 8.0.0490
17483Problem: Splitting a 'winfixwidth' window vertically makes it one column
17484 smaller. (Dominique Pelle)
17485Solution: Add one to the width for the separator.
17486Files: src/window.c, src/testdir/test_window_cmd.vim
17487
17488Patch 8.0.0491
17489Problem: The quotestar test fails when a required feature is missing.
17490Solution: Prepend "Skipped" to the thrown exception.
17491Files: src/testdir/test_quotestar.vim
17492
17493Patch 8.0.0492
17494Problem: A failing client-server request can make Vim hang.
17495Solution: Add a timeout argument to functions that wait.
17496Files: src/evalfunc.c, src/if_xcmdsrv.c, src/proto/if_xcmdsrv.pro,
17497 src/main.c, src/os_mswin.c, src/proto/os_mswin.pro,
17498 src/vim.h, runtime/doc/eval.txt, src/testdir/test_clientserver.vim
17499
17500Patch 8.0.0493
17501Problem: Crash with cd command with very long argument.
Bram Moolenaar74675a62017-07-15 13:53:23 +020017502Solution: Check for running out of space. (Dominique Pelle, closes #1576)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017503Files: src/testdir/test_alot.vim, src/testdir/test_cd.vim, src/Makefile,
17504 src/misc2.c
17505
17506Patch 8.0.0494
17507Problem: Build failure with older compiler on MS-Windows.
17508Solution: Move declaration to start of block.
17509Files: src/evalfunc.c, src/main.c, src/os_mswin.c
17510
17511Patch 8.0.0495
17512Problem: The quotestar test uses a timer instead of a timeout, thus it
17513 cannot be rerun like a flaky test.
17514Solution: Remove the timer and add a timeout. (Kazunobu Kuriyama)
17515Files: src/testdir/test_quotestar.vim
17516
17517Patch 8.0.0496
17518Problem: Insufficient testing for folding.
17519Solution: Add a couple more fold tests. (Dominique Pelle, closes #1579)
17520Files: src/testdir/test_fold.vim
17521
17522Patch 8.0.0497
17523Problem: Arabic support is not fully tested.
17524Solution: Add more tests for the untested functions. Comment out
17525 unreachable code.
17526Files: src/arabic.c, src/testdir/test_arabic.vim
17527
17528Patch 8.0.0498
17529Problem: Two autocmd tests are skipped on MS-Windows.
17530Solution: Make the test pass on MS-Windows. Write the messages in a file
17531 instead of getting the output of system().
17532Files: src/testdir/test_autocmd.vim
17533
17534Patch 8.0.0499
17535Problem: taglist() does not prioritize tags for a buffer.
17536Solution: Add an optional buffer argument. (Duncan McDougall, closes #1194)
17537Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/tag.pro,
17538 src/Makefile, src/tag.c, src/testdir/test_alot.vim,
17539 src/testdir/test_taglist.vim
17540
17541Patch 8.0.0500
17542Problem: Quotestar test is still a bit flaky.
17543Solution: Add a slower check for v:version.
17544Files: src/testdir/test_quotestar.vim
17545
17546Patch 8.0.0501
17547Problem: On MS-Windows ":!start" does not work as expected.
17548Solution: When creating a process fails try passing the argument to
17549 ShellExecute(). (Katsuya Hino, closes #1570)
17550Files: runtime/doc/os_win32.txt, src/os_win32.c
17551
17552Patch 8.0.0502
17553Problem: Coverity complains about possible NULL pointer.
17554Solution: Add an assert(), let's see if this works on all systems.
17555Files: src/window.c
17556
17557Patch 8.0.0503
17558Problem: Endless loop in updating folds with 32 bit ints.
17559Solution: Subtract from LHS instead of add to the RHS. (Matthew Malcomson)
17560Files: src/fold.c
17561
17562Patch 8.0.0504
17563Problem: Looking up an Ex command is a bit slow.
17564Solution: Instead of just using the first letter, also use the second letter
17565 to skip ahead in the list of commands. Generate the table with a
17566 Perl script. (Dominique Pelle, closes #1589)
17567Files: src/Makefile, src/create_cmdidxs.pl, src/ex_docmd.c, Filelist
17568
17569Patch 8.0.0505
17570Problem: Failed window split for :stag not handled. (Coverity CID 99204)
17571Solution: If the split fails skip to the end. (bstaletic, closes #1577)
17572Files: src/tag.c
17573
17574Patch 8.0.0506 (after 8.0.0504)
17575Problem: Can't build with ANSI C.
17576Solution: Move declarations to start of block.
17577Files: src/ex_docmd.c
17578
17579Patch 8.0.0507
17580Problem: Client-server tests fail when $DISPLAY is not set.
17581Solution: Check for E240 before running the test.
17582Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim
17583
17584Patch 8.0.0508
17585Problem: Coveralls no longer shows per-file coverage.
17586Solution: Add coverage from codecov.io. (Christian Brabandt)
17587Files: .travis.yml
17588
17589Patch 8.0.0509
17590Problem: No link to codecov.io results.
17591Solution: Add a badge to the readme file.
17592Files: README.md
17593
17594Patch 8.0.0510 (after 8.0.0509)
17595Problem: Typo in link to codecov.io results.
17596Solution: Remove duplicate https:.
17597Files: README.md
17598
17599Patch 8.0.0511
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017600Problem: Message for skipping client-server tests is unclear.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017601Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu
17602 Kuriyama)
17603Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim
17604
17605Patch 8.0.0512
17606Problem: Check for available characters takes too long.
17607Solution: Only check did_start_blocking if wtime is negative. (Daisuke
17608 Suzuki, closes #1591)
17609Files: src/os_unix.c
17610
17611Patch 8.0.0513 (after 8.0.0201)
17612Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski)
17613Solution: Only skip over cleared names for completion. (closes #1592)
17614 Also fix that a cleared group causes duplicate completions.
17615Files: src/syntax.c, src/proto/syntax.pro, src/evalfunc.c,
17616 src/ex_cmds.c, src/testdir/test_syntax.vim,
17617 src/testdir/test_cmdline.vim
17618
17619Patch 8.0.0514
17620Problem: Script for creating cmdidxs can be improved.
17621Solution: Count skipped lines instead of collecting the lines. Add "const".
17622 (Dominique Pelle, closes #1594)
17623Files: src/create_cmdidxs.pl, src/ex_docmd.c
17624
17625Patch 8.0.0515
17626Problem: ml_get errors in silent Ex mode. (Dominique Pelle)
17627Solution: Clear valid flags when setting the cursor. Set the topline when
17628 not in full screen mode.
17629Files: src/ex_docmd.c, src/move.c, src/testdir/test_startup.vim
17630
17631Patch 8.0.0516
17632Problem: A large count on a normal command causes trouble. (Dominique
17633 Pelle)
17634Solution: Make "opcount" long.
17635Files: src/globals.h, src/testdir/test_normal.vim
17636
17637Patch 8.0.0517
17638Problem: There is no way to remove quickfix lists (for testing).
17639Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan
17640 Lakshmanan)
17641Files: runtime/doc/eval.txt, src/evalfunc.c, src/quickfix.c,
17642 src/testdir/test_quickfix.vim
17643
17644Patch 8.0.0518
17645Problem: Storing a zero byte from a multi-byte character causes fold text
17646 to show up wrong.
17647Solution: Avoid putting zero in ScreenLines. (Christian Brabandt,
17648 closes #1567)
17649Files: src/screen.c, src/testdir/test_display.vim
17650
17651Patch 8.0.0519
17652Problem: Character classes are not well tested. They can differ between
17653 platforms.
17654Solution: Add tests. In the documentation make clear which classes depend
17655 on what library function. Only use :cntrl: and :graph: for ASCII.
17656 (Kazunobu Kuriyama, Dominique Pelle, closes #1560)
17657 Update the documentation.
17658Files: src/regexp.c, src/regexp_nfa.c, runtime/doc/pattern.txt,
17659 src/testdir/test_regexp_utf8.vim
17660
17661Patch 8.0.0520
17662Problem: Using a function pointer instead of the actual function, which we
17663 know.
17664Solution: Change mb_ functions to utf_ functions when already checked for
17665 Unicode. (Dominique Pelle, closes #1582)
17666Files: src/message.c, src/misc2.c, src/regexp.c, src/regexp_nfa.c,
17667 src/screen.c, src/spell.c
17668
17669Patch 8.0.0521
17670Problem: GtkForm handling is outdated.
17671Solution: Get rid of event filter functions. Get rid of GtkForm.width and
17672 .height. Eliminate gtk_widget_size_request() calls. (Kazunobu
17673 Kuriyama)
17674Files: src/gui_gtk_f.c, src/gui_gtk_f.h
17675
17676Patch 8.0.0522
17677Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a
17678 :global command.
17679Solution: When setting the clipboard was postponed, do not clear the
17680 register.
17681Files: src/ops.c, src/proto/ui.pro, src/ui.c, src/globals.h,
17682 src/testdir/test_global.vim, src/Makefile,
17683 src/testdir/test_alot.vim
17684
17685Patch 8.0.0523
17686Problem: dv} deletes part of a multi-byte character. (Urtica Dioica)
17687Solution: Include the whole character.
17688Files: src/search.c, src/testdir/test_normal.vim
17689
17690Patch 8.0.0524 (after 8.0.0518)
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017691Problem: Folds are messed up when 'encoding' is "utf-8".
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017692Solution: Also set the fold character when it's not multi-byte.
17693Files: src/screen.c, src/testdir/test_display.vim
17694
17695Patch 8.0.0525
17696Solution: Completion for user command argument not tested.
17697Problem: Add a test.
17698Files: src/testdir/test_cmdline.vim
17699
17700Patch 8.0.0526
17701Problem: Coverity complains about possible negative value.
17702Solution: Check return value of ftell() not to be negative.
17703Files: src/os_unix.c
17704
17705Patch 8.0.0527
17706Problem: RISC OS support was removed long ago, but one file is still
17707 included.
17708Solution: Delete the file. (Thomas Dziedzic, closes #1603)
17709Files: Filelist, src/swis.s
17710
17711Patch 8.0.0528
17712Problem: When 'wildmenu' is set and 'wildmode' has "longest" then the first
17713 file name is highlighted, even though the text shows the longest
17714 match.
17715Solution: Do not highlight the first match. (LemonBoy, closes #1602)
17716Files: src/ex_getln.c
17717
17718Patch 8.0.0529
17719Problem: Line in test commented out.
17720Solution: Uncomment the lines for character classes that were failing before
17721 8.0.0519. (Dominique Pelle, closes #1599)
17722Files: src/testdir/test_regexp_utf8.vim
17723
17724Patch 8.0.0530
17725Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
17726Solution: Correctly compute where to truncate. Fix translation.
17727 (closes #1600)
17728Files: src/edit.c, src/testdir/test_edit.vim
17729
17730Patch 8.0.0531 (after 8.0.0530)
17731Problem: Test with long directory name fails on non-unix systems.
17732Solution: Skip the test on non-unix systems.
17733Files: src/testdir/test_edit.vim
17734
17735Patch 8.0.0532 (after 8.0.0531)
17736Problem: Test with long directory name fails on Mac.
17737Solution: Skip the test on Mac systems.
17738Files: src/testdir/test_edit.vim
17739
17740Patch 8.0.0533
17741Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk)
17742Solution: Set the insert start column. (closes #1609)
17743Files: src/testdir/test_mapping.vim, src/edit.c
17744
17745Patch 8.0.0534
17746Problem: Defaults.vim does not work well with tiny features. (crd477)
17747Solution: When the +eval feature is not available always reset 'compatible'.
17748Files: runtime/defaults.vim
17749
17750Patch 8.0.0535
17751Problem: Memory leak when exiting from within a user function.
17752Solution: Clear the function call stack on exit.
17753Files: src/userfunc.c
17754
17755Patch 8.0.0536
17756Problem: Quickfix window not updated when freeing quickfix stack.
17757Solution: Update the quickfix window. (Yegappan Lakshmanan)
17758Files: src/quickfix.c, src/testdir/test_quickfix.vim
17759
17760Patch 8.0.0537
17761Problem: Illegal memory access with :z and large count.
17762Solution: Check for number overflow, using long instead of int. (Dominique
17763 Pelle, closes #1612)
17764Files: src/Makefile, src/ex_cmds.c, src/testdir/test_alot.vim,
17765 src/testdir/test_ex_z.vim
17766
17767Patch 8.0.0538
17768Problem: No test for falling back to default term value.
17769Solution: Add a test.
17770Files: src/testdir/test_startup.vim
17771
17772Patch 8.0.0539 (after 8.0.0538)
17773Problem: Startup test fails on Mac.
17774Solution: Use another term name, "unknown" is known. Avoid a 2 second delay.
17775Files: src/testdir/test_startup.vim, src/main.c, src/proto/main.pro,
17776 src/term.c
17777
17778Patch 8.0.0540 (after 8.0.0540)
17779Problem: Building unit tests fails.
17780Solution: Move params outside of #ifdef.
17781Files: src/main.c, src/message_test.c
17782
17783Patch 8.0.0541
17784Problem: Compiler warning on MS-Windows.
17785Solution: Add a type cast. (Mike Williams)
17786Files: src/edit.c
17787
17788Patch 8.0.0542
17789Problem: getpos() can return a negative line number. (haya14busa)
17790Solution: Handle a zero topline and botline. (closes #1613)
17791Files: src/eval.c, runtime/doc/eval.txt
17792
17793Patch 8.0.0543
17794Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle)
17795Solution: Reduce number of columns to 2000. Try to restore the window
17796 position.
17797Files: src/testdir/test_edit.vim, src/evalfunc.c, src/term.c,
17798 src/proto/term.pro, src/term.h
17799
17800Patch 8.0.0544
17801Problem: Cppcheck warnings.
17802Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique
17803 Pelle)
17804Files: src/channel.c, src/edit.c, src/farsi.c
17805
17806Patch 8.0.0545
17807Problem: Edit test may fail on some systems.
17808Solution: If creating a directory with a very long path fails, bail out.
17809Files: src/testdir/test_edit.vim
17810
17811Patch 8.0.0546
17812Problem: Swap file exists briefly when opening the command window.
17813Solution: Set the noswapfile command modifier before splitting the window.
17814 (James McCoy, closes #1620)
17815Files: src/ex_getln.c, src/option.c
17816
17817Patch 8.0.0547
17818Problem: Extra line break in verbosefile when using ":echomsg". (Ingo
17819 Karkat)
17820Solution: Don't call msg_start(). (closes #1618)
17821Files: src/eval.c, src/testdir/test_cmdline.vim
17822
17823Patch 8.0.0548
17824Problem: Saving the redo buffer only works one time, resulting in the "."
17825 command not working well for a function call inside another
17826 function call. (Ingo Karkat)
17827Solution: Save the redo buffer at every user function call. (closes #1619)
17828Files: src/getchar.c, src/proto/getchar.pro, src/structs.h,
17829 src/fileio.c, src/userfunc.c, src/testdir/test_functions.vim
17830
17831Patch 8.0.0549
17832Problem: No test for the 8g8 command.
17833Solution: Add a test. (Dominique Pelle, closes #1615)
17834Files: src/testdir/test_normal.vim
17835
17836Patch 8.0.0550
17837Problem: Some etags format tags file use 0x01, breaking the parsing.
17838Solution: Use 0x02 for TAG_SEP. (James McCoy, closes #1614)
17839Files: src/tag.c, src/testdir/test_taglist.vim
17840
17841Patch 8.0.0551
17842Problem: The typeahead buffer is reallocated too often.
17843Solution: Re-use the existing buffer if possible.
17844Files: src/getchar.c
17845
17846Patch 8.0.0552
17847Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
17848 is empty. (Bjorn Linse)
17849Solution: Check the 'casemap' options when deciding how to upper/lower case.
17850Files: src/charset.c, src/testdir/test_normal.vim
17851
17852Patch 8.0.0553 (after 8.0.0552)
17853Problem: Toupper/tolower test with Turkish locale fails on Mac.
17854Solution: Skip the test on Mac.
17855Files: src/testdir/test_normal.vim
17856
17857Patch 8.0.0554 (after 8.0.0552)
17858Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
17859 contains "keepascii". (Bjorn Linse)
17860Solution: When 'casemap' contains "keepascii" use ASCII toupper/tolower.
17861Files: src/charset.c, src/testdir/test_normal.vim
17862
17863Patch 8.0.0555 (after 8.0.0552)
17864Problem: Toupper/tolower test fails on OSX without Darwin.
17865Solution: Skip that part of the test also for OSX. (Kazunobu Kuriyama)
17866Files: src/testdir/test_normal.vim
17867
17868Patch 8.0.0556
17869Problem: Getting the window position fails if both the GUI and term
17870 code is built in.
17871Solution: Return after getting the GUI window position. (Kazunobu Kuriyama)
17872Files: src/evalfunc.c
17873
17874Patch 8.0.0557
17875Problem: GTK: using static gravities is not useful.
17876Solution: Remove setting static gravities. (Kazunobu Kuriyama)
17877Files: src/gui_gtk_f.c
17878
17879Patch 8.0.0558
17880Problem: The :ownsyntax command is not tested.
17881Solution: Add a test. (Dominique Pelle, closes #1622)
17882Files: src/testdir/test_syntax.vim
17883
17884Patch 8.0.0559
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017885Problem: Setting 'ttytype' to xxx does not always fail as expected. (Marvin
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017886 Schmidt)
17887Solution: Catch both possible errors. (closes #1601)
17888Files: src/testdir/test_options.vim
17889
17890Patch 8.0.0560
17891Problem: :windo allows for ! but it's not supported.
17892Solution: Disallow passing !. (Hirohito Higashi)
17893Files: src/ex_cmds.h
17894
17895Patch 8.0.0561
17896Problem: Undefined behavior when using backslash after empty line.
17897Solution: Check for an empty line. (Dominique Pelle, closes #1631)
17898Files: src/misc2.c, src/testdir/test_vimscript.vim
17899
17900Patch 8.0.0562
17901Problem: Not enough test coverage for syntax commands.
17902Solution: Add a few more tests. (Dominique Pelle, closes #1624)
17903Files: src/testdir/test_cmdline.vim, src/testdir/test_syntax.vim
17904
17905Patch 8.0.0563
17906Problem: Crash when getting the window position in tmux. (Marvin Schmidt)
17907Solution: Add t_GP to the list of terminal options. (closes #1627)
17908Files: src/option.c
17909
17910Patch 8.0.0564
17911Problem: Cannot detect Bazel BUILD files on some systems.
17912Solution: Check for BUILD after script checks. (Issue #1340)
17913Files: runtime/filetype.vim
17914
17915Patch 8.0.0565
17916Problem: Using freed memory in :caddbuf after clearing quickfix list.
17917 (Dominique Pelle)
17918Solution: Set qf_last to NULL.
17919Files: src/quickfix.c
17920
17921Patch 8.0.0566
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017922Problem: Setting 'nocompatible' for the tiny version moves the cursor.
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017923Solution: Use another trick to skip commands when the +eval feature is
17924 present. (Christian Brabandt, closes #1630)
17925Files: runtime/defaults.vim
17926
17927Patch 8.0.0567
17928Problem: Call for requesting color and ambiwidth is too early. (Hirohito
17929 Higashi)
17930Solution: Move the call down to below resetting "starting".
17931Files: src/main.c
17932
17933Patch 8.0.0568
17934Problem: "1gd" may hang.
17935Solution: Don't get stuck in one position. (Christian Brabandt, closes #1643)
17936Files: src/testdir/test_goto.vim, src/normal.c
17937
17938Patch 8.0.0569
17939Problem: Bracketed paste is still enabled when executing a shell command.
17940 (Michael Smith)
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017941Solution: Disable bracketed paste when going into cooked mode. (closes #1638)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017942Files: src/term.c
17943
17944Patch 8.0.0570
17945Problem: Can't run make with several jobs, creating directories has a race
17946 condition.
17947Solution: Use the MKDIR_P autoconf mechanism. (Eric N. Vander Weele,
17948 closes #1639)
17949Files: src/configure.ac, src/auto/configure, src/Makefile,
17950 src/config.mk.in, src/install-sh, src/mkinstalldirs, Filelist
17951
17952Patch 8.0.0571
17953Problem: The cursor line number becomes negative when using :z^ in an empty
17954 buffer. (neovim #6557)
17955Solution: Correct the line number. Also reset the column.
17956Files: src/testdir/test_ex_z.vim, src/ex_cmds.c
17957
17958Patch 8.0.0572
17959Problem: Building the command table requires Perl.
17960Solution: Use a Vim script solution. (Dominique Pelle, closes #1641)
17961Files: src/Makefile, src/create_cmdidxs.pl, src/create_cmdidxs.vim,
17962 src/ex_cmdidxs.h, src/ex_docmd.c, Filelist
17963
17964Patch 8.0.0573
17965Problem: Running parallel make after distclean fails. (Manuel Ortega)
17966Solution: Instead of using targets "scratch config myself" use "reconfig".
17967Files: src/Makefile, src/config.mk.dist
17968
17969Patch 8.0.0574
17970Problem: Get only one quickfix list after :caddbuf.
17971Solution: Reset qf_multiline. (Yegappan Lakshmanan)
17972Files: src/quickfix.c, src/testdir/test_quickfix.vim
17973
17974Patch 8.0.0575
17975Problem: Using freed memory when resetting 'indentexpr' while evaluating
17976 it. (Dominique Pelle)
17977Solution: Make a copy of 'indentexpr'.
17978Files: src/misc1.c, src/testdir/test_options.vim
17979
17980Patch 8.0.0576 (after 8.0.0570 and 8.0.0573)
Bram Moolenaarb4d6c3e2017-05-27 16:45:17 +020017981Problem: Can't build when configure chooses "install-sh". (Daniel Hahler)
Bram Moolenaar0635ee62017-04-28 20:32:33 +020017982Solution: Always use install-sh. Fix remaining use of mkinstalldirs.
17983 (closes #1647)
17984Files: src/installman.sh, src/installml.sh, src/config.mk.in,
17985 src/configure.ac, src/auto/configure, src/Makefile
17986
17987Patch 8.0.0577 (after 8.0.0575)
17988Problem: Warning for uninitialized variable. (John Marriott)
17989Solution: Initialize "indent".
17990Files: src/misc1.c
17991
17992Patch 8.0.0578
17993Problem: :simalt on MS-Windows does not work properly.
17994Solution: Put something in the typeahead buffer. (Christian Brabandt)
17995Files: src/gui_w32.c
17996
17997Patch 8.0.0579
17998Problem: Duplicate test case for quickfix.
17999Solution: Remove the function. (Yegappan Lakshmanan)
18000Files: src/testdir/test_quickfix.vim
18001
18002Patch 8.0.0580
18003Problem: Cannot set the valid flag with setqflist().
18004Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes #1642)
18005Files: runtime/doc/eval.txt, src/quickfix.c,
18006 src/testdir/test_quickfix.vim
18007
18008Patch 8.0.0581
18009Problem: Moving folded text is sometimes not correct.
18010Solution: Bail out when "move_end" is zero. (Matthew Malcomson)
18011Files: src/fold.c, src/testdir/test_fold.vim
18012
18013Patch 8.0.0582
18014Problem: Illegal memory access with z= command. (Dominique Pelle)
18015Solution: Avoid case folded text to be longer than the original text. Use
18016 MB_PTR2LEN() instead of MB_BYTE2LEN().
18017Files: src/spell.c, src/testdir/test_spell.vim
18018
18019Patch 8.0.0583
18020Problem: Fold test hangs on MS-Windows.
18021Solution: Avoid overflow in compare.
18022Files: src/fold.c
18023
18024Patch 8.0.0584
18025Problem: Memory leak when executing quickfix tests.
18026Solution: Free the list reference. (Yegappan Lakshmanan)
18027Files: src/quickfix.c
18028
18029Patch 8.0.0585
18030Problem: Test_options fails when run in the GUI.
18031Solution: Also check the 'imactivatekey' value when the GUI is not running.
18032 Specify test values that work and that fail.
18033Files: src/option.c, src/testdir/gen_opt_test.vim
18034
18035Patch 8.0.0586
18036Problem: No test for mapping timing out.
18037Solution: Add a test.
18038Files: src/testdir/test_mapping.vim
18039
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018040Patch 8.0.0587
18041Problem: Configure check for return value of tgetent is skipped.
18042Solution: Always perform the check. (Marvin Schmidt, closes #1664)
18043Files: src/configure.ac, src/auto/configure
18044
18045Patch 8.0.0588
18046Problem: job_stop() often assumes the channel will be closed, while the job
18047 may not actually be stopped. (Martin Gammelsæter)
18048Solution: Only assume the job stops on "kill". Don't send a signal if the
18049 job has already ended. (closes #1632)
18050Files: src/channel.c
18051
18052Patch 8.0.0589 (after 8.0.0578)
18053Problem: :simalt still does not work.
18054Solution: Use K_NOP instead of K_IGNORE. (Christian Brabandt)
18055Files: src/gui_w32.c
18056
18057Patch 8.0.0590
18058Problem: Cannot add a context to locations.
18059Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan,
18060 closes #1012)
18061Files: src/eval.c, src/proto/quickfix.pro, src/quickfix.c,
18062 src/testdir/test_quickfix.vim
18063
18064Patch 8.0.0591
18065Problem: Changes to eval functionality not documented.
18066Solution: Include all the changes.
18067Files: runtime/doc/eval.txt
18068
18069Patch 8.0.0592
18070Problem: If a job writes to a buffer and the user is typing a command, the
18071 screen isn't updated. When a message is displayed the changed
18072 buffer may cause it to be cleared. (Ramel Eshed)
18073Solution: Update the screen and then the command line if the screen didn't
18074 scroll. Avoid inserting screen lines, as it clears any message.
18075 Update the status line when the buffer changed.
18076Files: src/channel.c, src/screen.c, src/ex_getln.c, src/globals.h,
18077 src/vim.h, src/proto/ex_getln.pro, src/proto/screen.pro
18078
18079Patch 8.0.0593
18080Problem: Duplication of code for adding a list or dict return value.
18081Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)
18082Files: src/dict.c, src/eval.c, src/evalfunc.c, src/if_perl.xs, src/list.c,
18083 src/proto/dict.pro, src/proto/list.pro
18084
18085Patch 8.0.0594 (after 8.0.0592)
18086Problem: Build failure when windows feature is missing.
18087Solution: Add #ifdef.
18088Files: src/screen.c
18089
18090Patch 8.0.0595 (after 8.0.0590)
18091Problem: Coverity warning for not checking return value of dict_add().
18092Solution: Check the return value for FAIL.
18093Files: src/quickfix.c
18094
18095Patch 8.0.0596
18096Problem: Crash when complete() is called after complete_add() in
18097 'completefunc'. (Lifepillar)
18098Solution: Bail out if compl_pattern is NULL. (closes #1668)
18099 Also avoid using freed memory.
18100Files: src/edit.c, src/testdir/test_popup.vim
18101
18102Patch 8.0.0597
18103Problem: Off-by-one error in buffer size computation.
18104Solution: Use ">=" instead of ">". (Lemonboy, closes #1694)
18105Files: src/quickfix.c
18106
18107Patch 8.0.0598
18108Problem: Building with gcc 7.1 yields new warnings.
18109Solution: Initialize result. (John Marriott)
18110Files: src/ex_docmd.c
18111
18112Patch 8.0.0599
18113Problem: diff mode is insufficiently tested
18114Solution: Add more test cases. (Dominique Pelle, closes #1685)
18115Files: src/diff.c, src/testdir/test_diffmode.vim
18116
18117Patch 8.0.0600
18118Problem: test_recover fails on some systems.
18119Solution: Explicitly check if "/" is writable. (Ken Takata)
18120Files: src/testdir/test_recover.vim
18121
18122Patch 8.0.0601
18123Problem: No test coverage for :spellrepall.
18124Solution: Add a test. (Dominique Pelle, closes #1717)
18125Files: src/testdir/test_spell.vim
18126
18127Patch 8.0.0602
18128Problem: When gF fails to edit the file the cursor still moves to the found
18129 line number.
18130Solution: Check the return value of do_ecmd(). (Michael Hwang)
18131Files: src/normal.c, src/testdir/test_gf.vim
18132
18133Patch 8.0.0603 (after 8.0.0602)
18134Problem: gF test fails on MS-Windows.
18135Solution: Use @ instead of : before the line number
18136Files: src/testdir/test_gf.vim
18137
18138Patch 8.0.0604 (after 8.0.0603)
18139Problem: gF test still fails on MS-Windows.
18140Solution: Use : before the line number and remove it from 'isfname'.
18141Files: src/testdir/test_gf.vim
18142
18143Patch 8.0.0605
18144Problem: The buffer that quickfix caches for performance may become
18145 invalid. (Daniel Hahler)
18146Solution: Reset qf_last_bufref in qf_init_ext(). (Daniel Hahler,
18147 closes #1728, closes #1676)
18148Files: src/quickfix.c
18149
18150Patch 8.0.0606
18151Problem: Cannot set the context for a specified quickfix list.
18152Solution: Use the list index instead of the current list. (Yegappan
18153 Lakshmanan)
18154Files: src/quickfix.c, src/testdir/test_quickfix.vim
18155
18156Patch 8.0.0607
18157Problem: When creating a bufref, then using :bwipe and :new it might get
18158 the same memory and bufref_valid() returns true.
18159Solution: Add br_fnum to check the buffer number didn't change.
18160Files: src/structs.h, src/buffer.c, src/globals.h, src/if_py_both.h,
18161 src/quickfix.c
18162
18163Patch 8.0.0608
18164Problem: Cannot manipulate other than the current quickfix list.
18165Solution: Pass the list index to quickfix functions. (Yegappan Lakshmanan)
18166Files: src/quickfix.c
18167
18168Patch 8.0.0609
18169Problem: For some people the hint about quitting is not sufficient.
18170Solution: Put <Enter> separately. Also use ":qa!" to get out even when
18171 there are changes.
18172Files: src/normal.c
18173
18174Patch 8.0.0610
18175Problem: The screen is redrawn when t_BG is set and used to detect the
18176 value for 'background'.
18177Solution: Don't redraw when the value of 'background' didn't change.
18178Files: src/term.c.
18179
18180Patch 8.0.0611
18181Problem: When t_u7 is sent a few characters in the second screen line are
18182 overwritten and not redrawn later. (Rastislav Barlik)
18183Solution: Move redrawing the screen to after overwriting the characters.
18184Files: src/main.c, src/term.c.
18185
18186Patch 8.0.0612
18187Problem: Package directories are added to 'runtimepath' only after loading
18188 non-package plugins.
18189Solution: Split off the code to add package directories to 'runtimepath'.
18190 (Ingo Karkat, closes #1680)
18191Files: src/ex_cmds2.c, src/globals.h, src/main.c, src/proto/ex_cmds2.pro,
18192 src/testdir/test_startup.vim
18193
18194Patch 8.0.0613
18195Problem: The conf filetype detection is done before ftdetect scripts from
18196 packages that are added later.
18197Solution: Add the FALLBACK argument to :setfiletype. (closes #1679,
18198 closes #1693)
18199Files: src/ex_docmd.c, runtime/filetype.vim, src/Makefile,
18200 src/testdir/test_filetype.vim, src/testdir/test_alot.vim
18201
18202Patch 8.0.0614
18203Problem: float2nr() is not exactly right.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018204Solution: Make float2nr() more accurate. Turn test65 into a new style test.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018205 (Hirohito Higashi, closes #1688)
18206Files: src/Makefile, src/evalfunc.c, src/testdir/Make_all.mak,
18207 src/testdir/Make_vms.mms, src/testdir/test65.in,
18208 src/testdir/test65.ok, src/testdir/test_float_func.vim,
18209 src/testdir/test_vimscript.vim, src/macros.h
18210
18211Patch 8.0.0615
18212Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov)
18213Solution: Expand % differently. (Christian Brabandt, closes #1682)
18214Files: src/ex_docmd.c, src/testdir/test_hardcopy.vim
18215
18216
18217Patch 8.0.0616
18218Problem: When setting the cterm background with ":hi Normal" the value of
18219 'background' may be set wrongly.
18220Solution: Check that the color is less than 16. Don't set 'background' when
18221 it was set explicitly. (Lemonboy, closes #1710)
18222Files: src/syntax.c, src/testdir/test_syntax.vim
18223
18224Patch 8.0.0617 (after 8.0.0615)
18225Problem: Hardcopy test hangs on MS-Windows.
18226Solution: Check the postscript feature is supported.
18227Files: src/testdir/test_hardcopy.vim
18228
18229Patch 8.0.0618
18230Problem: NFA regex engine handles [0-z] incorrectly.
18231Solution: Return at the right point. (James McCoy, closes #1703)
18232Files: src/regexp_nfa.c, src/testdir/test36.in, src/testdir/test36.ok
18233
18234Patch 8.0.0619
18235Problem: In the GUI, when a timer uses feedkeys(), it still waits for an
18236 event. (Raymond Ko)
18237Solution: Check tb_change_cnt in one more place.
18238Files: src/gui.c
18239
18240Patch 8.0.0620
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018241Problem: Since we only support GTK versions that have it, the check for
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018242 HAVE_GTK_MULTIHEAD is no longer needed.
18243Solution: Remove HAVE_GTK_MULTIHEAD. (Kazunobu Kuriyama)
18244Files: src/config.h.in, src/configure.ac, src/auto/configure,
18245 src/gui_beval.c, src/gui_gtk_x11.c, src/mbyte.c
18246
18247Patch 8.0.0621
18248Problem: The ":stag" command does not respect 'switchbuf'.
18249Solution: Check 'switchbuf' for tag commands that may open a new window.
18250 (Ingo Karkat, closes #1681) Define macros for the return values
18251 of getfile().
18252Files: src/tag.c, src/testdir/test_tagjump.vim, src/vim.h, src/buffer.c,
18253 src/ex_cmds.c, src/search.c,
18254
18255Patch 8.0.0622
18256Problem: Using a text object to select quoted text fails when 'selection'
18257 is set to "exclusive". (Guraga)
18258Solution: Swap cursor and visual start position. (Christian Brabandt,
18259 closes #1687)
18260Files: src/search.c, src/testdir/test_textobjects.vim
18261
18262Patch 8.0.0623
18263Problem: The message "Invalid range" is used for multiple errors.
18264Solution: Add two more specific error messages. (Itchyny, Ken Hamada)
18265Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
18266
18267Patch 8.0.0624 (after 8.0.0623)
18268Problem: Warning for unused variable in tiny build. (Tony Mechelynck)
18269Solution: Add an #ifdef.
18270Files: src/regexp.c
18271
18272Patch 8.0.0625
18273Problem: shellescape() always escapes a newline, which does not work with
18274 some shells. (Harm te Hennepe)
18275Solution: Only escape a newline when the "special" argument is non-zero.
18276 (Christian Brabandt, closes #1590)
18277Files: src/evalfunc.c, src/testdir/test_functions.vim
18278
18279Patch 8.0.0626
18280Problem: In the GUI the cursor may flicker.
18281Solution: Check the cmd_silent flag before updating the cursor shape.
18282 (Hirohito Higashi, closes #1637)
18283Files: src/getchar.c
18284
18285Patch 8.0.0627
18286Problem: When 'wrapscan' is off "gn" does not select the whole pattern when
18287 it's the last one in the text. (KeyboardFire)
18288Solution: Check if the search fails. (Christian Brabandt, closes #1683)
18289Files: src/search.c, src/testdir/test_gn.vim
18290
18291Patch 8.0.0628 (after 8.0.0626
18292Problem: Cursor disappears after silent mapping. (Ramel Eshed)
18293Solution: Do restore the cursor when it was changed, but don't change it in
18294 the first place for a silent mapping.
18295Files: src/getchar.c
18296
18297
18298Patch 8.0.0629 (after 8.0.0611)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018299Problem: Checking for ambiguous width is not working. (Hirohito Higashi)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018300Solution: Reset "starting" earlier.
18301Files: src/main.c
18302
18303Patch 8.0.0630
18304Problem: The :global command does not work recursively, which makes it
18305 difficult to execute a command on a line where one pattern matches
18306 and another does not match. (Miles Cranmer)
18307Solution: Allow for recursion if it is for only one line. (closes #1760)
18308Files: src/ex_cmds.c, src/testdir/test_global.vim, runtime/doc/repeat.txt
18309
18310Patch 8.0.0631
18311Problem: Perl 5.26 also needs S_TOPMARK and S_POPMARK defined.
18312Solution: Define the functions when needed. (Jesin, closes #1748)
18313Files: src/if_perl.xs
18314
18315Patch 8.0.0632
18316Problem: The quotestar test is still a bit flaky.
18317Solution: Kill any existing server to make the retry work. Wait for the
18318 register to be filled.
18319Files: src/testdir/test_quotestar.vim
18320
18321Patch 8.0.0633
18322Problem: The client-server test is still a bit flaky.
18323Solution: Wait a bit for the GUI to start. Check that the version number
18324 can be obtained.
18325Files: src/testdir/test_clientserver.vim
18326
18327Patch 8.0.0634
18328Problem: Cannot easily get to the last quickfix list.
18329Solution: Add "$" as a value for the "nr" argument of getqflist() and
18330 setqflist(). (Yegappan Lakshmanan)
18331Files: runtime/doc/eval.txt, src/quickfix.c,
18332 src/testdir/test_quickfix.vim
18333
18334Patch 8.0.0635
18335Problem: When 'ignorecase' is set script detection is inaccurate.
18336Solution: Enforce matching case for text. (closes #1753)
18337Files: runtime/scripts.vim
18338
18339Patch 8.0.0636
18340Problem: When reading the undo file fails may use uninitialized data.
18341Solution: Always clear the buffer on failure.
18342Files: src/undo.c
18343
18344Patch 8.0.0637
18345Problem: Crash when using some version of GTK 3.
18346Solution: Add #ifdefs around incrementing the menu index. (Kazunobu
18347 Kuriyama)
18348Files: src/gui_gtk.c
18349
18350Patch 8.0.0638
18351Problem: Cannot build with new MSVC version VS2017.
18352Solution: Change the compiler arguments. (Leonardo Manera, closes #1731,
18353 closes #1747)
18354Files: src/GvimExt/Makefile, src/Make_mvc.mak
18355
18356Patch 8.0.0639
18357Problem: The cursor position is set to the last position in a new commit
18358 message.
18359Solution: Don't set the position if the filetype matches "commit".
18360 (Christian Brabandt)
18361Files: runtime/defaults.vim
18362
18363Patch 8.0.0640
18364Problem: Mismatch between help and actual message for ":syn conceal".
18365Solution: Change the message to match the help. (Ken Takata)
18366Files: src/syntax.c
18367
18368Patch 8.0.0641
18369Problem: Cannot set a separate highlighting for the current line in the
18370 quickfix window.
18371Solution: Add QuickFixLine. (anishsane, closes #1755)
18372Files: src/option.c, src/quickfix.c, src/screen.c, src/syntax.c,
18373 src/vim.h, runtime/doc/options.txt, runtime/doc/quickfix.txt
18374
18375Patch 8.0.0642
18376Problem: writefile() continues after detecting an error.
18377Solution: Bail out as soon as an error is detected. (suggestions by Nikolai
18378 Pavlov, closes #1476)
18379Files: src/evalfunc.c, src/testdir/test_writefile.vim
18380
18381Patch 8.0.0643
18382Problem: When 'hlsearch' is set and matching with the last search pattern
18383 is very slow, Vim becomes unusable. Cannot quit search by
18384 pressing CTRL-C.
18385Solution: When the search times out set a flag and don't try again. Check
18386 for timeout and CTRL-C in NFA loop that adds states.
18387Files: src/screen.c, src/ex_cmds.c, src/quickfix.c, src/regexp.c,
18388 src/proto/regexp.pro, src/regexp.h, src/search.c,
18389 src/proto/search.pro, src/syntax.c, src/regexp_nfa.c, src/spell.c,
18390 src/tag.c, src/gui.c, src/edit.c, src/evalfunc.c, src/ex_docmd.c,
18391 src/ex_getln.c, src/normal.c
18392
18393Patch 8.0.0644
18394Problem: There is no test for 'hlsearch' timing out.
18395Solution: Add a test.
18396Files: src/testdir/test_hlsearch.vim
18397
18398Patch 8.0.0645
18399Problem: The new regexp engine does not give an error for using a back
18400 reference where it is not allowed. (Dominique Pelle)
18401Solution: Check the back reference like the old engine. (closes #1774)
18402Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_hlsearch.vim,
18403 src/testdir/test_statusline.vim,
18404 src/testdir/test_regexp_latin1.vim
18405
18406Patch 8.0.0646
18407Problem: The hlsearch test fails on fast systems.
18408Solution: Make the search pattern slower. Fix that the old regexp engine
18409 doesn't timeout properly.
18410Files: src/regexp.c, src/testdir/test_hlsearch.vim
18411
18412Patch 8.0.0647
18413Problem: Syntax highlighting can cause a freeze.
18414Solution: Apply 'redrawtime' to syntax highlighting, per window.
18415Files: src/structs.h, src/screen.c, src/syntax.c, src/normal.c,
18416 src/regexp.c, src/proto/syntax.pro, src/testdir/test_syntax.vim,
18417 runtime/doc/options.txt
18418
18419Patch 8.0.0648
18420Problem: Possible use of NULL pointer if buflist_new() returns NULL.
18421 (Coverity)
18422Solution: Check for NULL pointer in set_bufref().
18423Files: src/buffer.c
18424
18425Patch 8.0.0649
18426Problem: When opening a help file the filetype is set several times.
18427Solution: When setting the filetype to the same value from a modeline, don't
18428 trigger FileType autocommands. Don't set the filetype to "help"
18429 when it's already set correctly.
18430Files: src/ex_cmds.c, src/option.c, runtime/filetype.vim
18431
18432Patch 8.0.0650
18433Problem: For extra help files the filetype is set more than once.
18434Solution: In *.txt files check that there is no help file modline.
18435Files: runtime/filetype.vim
18436
18437Patch 8.0.0651 (after 8.0.0649)
18438Problem: Build failure without the auto command feature.
18439Solution: Add #ifdef. (closes #1782)
18440Files: src/ex_cmds.c
18441
18442Patch 8.0.0652
18443Problem: Unicode information is outdated.
18444Solution: Update to Unicode 10. (Christian Brabandt)
18445Files: runtime/tools/unicode.vim, src/mbyte.c
18446
18447Patch 8.0.0653
18448Problem: The default highlight for QuickFixLine does not work for several
18449 color schemes. (Manas Thakur)
18450Solution: Make the default use the old color. (closes #1780)
18451Files: src/syntax.c
18452
18453Patch 8.0.0654
18454Problem: Text found after :endfunction is silently ignored.
18455Solution: Give a warning if 'verbose' is set. When | or \n are used,
18456 execute the text as a command.
18457Files: src/testdir/test_vimscript.vim, src/userfunc.c,
18458 runtime/doc/eval.txt
18459
18460Patch 8.0.0655
18461Problem: Not easy to make sure a function does not exist.
18462Solution: Add ! as an optional argument to :delfunc.
18463Files: src/userfunc.c, src/ex_cmds.h, src/testdir/test_vimscript.vim
18464
18465Patch 8.0.0656
18466Problem: Cannot use ! after some user commands.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018467Solution: Properly check for existing command. (Hirohito Higashi)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018468Files: src/ex_docmd.c, src/testdir/test_vimscript.vim
18469
18470Patch 8.0.0657
18471Problem: Cannot get and set quickfix list items.
18472Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan
18473 Lakshmanan)
18474Files: runtime/doc/eval.txt, src/quickfix.c,
18475 src/testdir/test_quickfix.vim
18476
18477Patch 8.0.0658
18478Problem: Spell test is old style.
18479Solution: Turn the spell test into a new style test (pschuh, closes #1778)
18480Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
18481 src/testdir/test58.in, src/testdir/test58.ok,
18482 src/testdir/test_spell.vim
18483
18484Patch 8.0.0659
18485Problem: No test for conceal mode.
18486Solution: Add a conceal mode test. (Dominique Pelle, closes #1783)
18487Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim
18488
18489Patch 8.0.0660
18490Problem: Silent install on MS-Windows does show a dialog.
18491Solution: Add /SD to the default choice. (allburov, closes #1772)
18492Files: nsis/gvim.nsi
18493
18494Patch 8.0.0661
18495Problem: Recognizing urxvt mouse codes does not work well.
18496Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486)
18497Files: src/keymap.h, src/misc2.c, src/os_unix.c, src/term.c
18498
18499Patch 8.0.0662 (after 8.0.0659)
18500Problem: Stray FIXME for fixed problem.
18501Solution: Remove the comment. (Dominique Pelle)
18502Files: src/testdir/test_syntax.vim
18503
18504Patch 8.0.0663
18505Problem: Giving an error message only when 'verbose' set is unexpected.
18506Solution: Give a warning message instead.
18507Files: src/message.c, src/proto/message.pro, src/userfunc.c,
18508 src/testdir/test_vimscript.vim, runtime/doc/eval.txt
18509
18510Patch 8.0.0664 (after 8.0.0661)
18511Problem: Mouse does not work in tmux. (lilydjwg)
18512Solution: Add flag for SGR release being present.
18513Files: src/term.c
18514
18515Patch 8.0.0665 (after 8.0.0661)
18516Problem: Warning for uninitialized variable. (Tony Mechelynck)
18517Solution: Initialize it.
18518Files: src/term.c
18519
18520Patch 8.0.0666
18521Problem: Dead for loop. (Coverity)
18522Solution: Remove the for loop.
18523Files: src/term.c
18524
18525Patch 8.0.0667
18526Problem: Memory access error when command follows :endfunction. (Nikolai
18527 Pavlov)
18528Solution: Make memory handling in :function straightforward. (closes #1793)
18529Files: src/userfunc.c, src/testdir/test_vimscript.vim
18530
18531Patch 8.0.0668 (after 8.0.0660)
18532Problem: Nsis installer script does not work. (Christian Brabandt)
18533Solution: Fix the syntax of /SD.
18534Files: nsis/gvim.nsi
18535
18536Patch 8.0.0669
18537Problem: In Insert mode, CTRL-N at start of the buffer does not work
18538 correctly. (zuloloxi)
18539Solution: Wrap around the start of the buffer. (Christian Brabandt)
18540Files: src/edit.c, src/testdir/test_popup.vim
18541
18542Patch 8.0.0670
18543Problem: Can't use input() in a timer callback. (Cosmin Popescu)
18544Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes #1790,
18545 closes #1129)
18546Files: src/evalfunc.c, src/ex_cmds2.c, src/globals.h,
18547 src/testdir/test_timers.vim
18548
18549Patch 8.0.0671
18550Problem: When a function invoked from a timer calls confirm() and the user
18551 types CTRL-C then Vim hangs.
18552Solution: Reset typebuf_was_filled. (Ozaki Kiichi, closes #1791)
18553Files: src/getchar.c
18554
18555Patch 8.0.0672
18556Problem: Third item of synconcealed() changes too often. (Dominique Pelle)
18557Solution: Reset the sequence number at the start of each line.
18558Files: src/syntax.c, src/testdir/test_syntax.vim, runtime/doc/eval.txt
18559
18560Patch 8.0.0673 (after 8.0.0673)
18561Problem: Build failure without conceal feature.
18562Solution: Add #ifdef.
18563Files: src/syntax.c
18564
18565Patch 8.0.0674 (after 8.0.0670)
18566Problem: Cannot build with eval but without timers.
18567Solution: Add #ifdef (John Marriott)
18568Files: src/evalfunc.c
18569
18570Patch 8.0.0675
18571Problem: 'colorcolumn' has a higher priority than 'hlsearch', it should be
18572 the other way around. (Nazri Ramliy)
18573Solution: Change the priorities. (LemonBoy, closes #1794)
18574Files: src/screen.c, src/testdir/test_listlbr_utf8.vim
18575
18576Patch 8.0.0676
18577Problem: Crash when closing the quickfix window in a FileType autocommand
18578 that triggers when the quickfix window is opened.
18579Solution: Save the new value before triggering the OptionSet autocommand.
18580 Add the "starting" flag to test_override() to make the text work.
18581Files: src/evalfunc.c, src/option.c, runtime/doc/eval.txt
18582
18583Patch 8.0.0677
18584Problem: Setting 'filetype' internally may cause the current buffer and
18585 window to change unexpectedly.
18586Solution: Set curbuf_lock. (closes #1734)
18587Files: src/quickfix.c, src/ex_cmds.c, src/ex_getln.c,
18588 src/testdir/test_quickfix.vim
18589
18590Patch 8.0.0678
18591Problem: When 'equalalways' is set and closing a window in a separate
18592 frame, not all window sizes are adjusted. (Glacambre)
18593Solution: Resize all windows if the new current window is not in the same
18594 frame as the closed window. (closes #1707)
18595Files: src/window.c, src/testdir/test_window_cmd.vim
18596
18597Patch 8.0.0679 (after 8.0.0678)
18598Problem: Using freed memory.
18599Solution: Get the parent frame pointer earlier.
18600Files: src/window.c
18601
18602Patch 8.0.0680 (after 8.0.0612)
18603Problem: Plugins in start packages are sourced twice. (mseplowitz)
18604Solution: Use the unmodified runtime path when loading plugins (test by Ingo
18605 Karkat, closes #1801)
18606Files: src/testdir/test_startup.vim, src/main.c, src/ex_cmds2.c,
18607 src/proto/ex_cmds2.pro
18608
18609Patch 8.0.0681
18610Problem: Unnamed register only contains the last deleted text when
18611 appending deleted text to a register. (Wolfgang Jeltsch)
18612Solution: Only set y_previous when not using y_append. (Christian Brabandt)
18613Files: src/ops.c, src/testdir/test_put.vim
18614
18615Patch 8.0.0682
18616Problem: No test for synIDtrans().
18617Solution: Add a test. (Dominique Pelle, closes #1796)
18618Files: src/testdir/test_syntax.vim
18619
18620Patch 8.0.0683
18621Problem: When using a visual bell there is no delay, causing the flash to
18622 be very short, possibly unnoticeable. Also, the flash and the
18623 beep can lockup the UI when repeated often.
18624Solution: Do the delay in Vim or flush the output before the delay. Limit the
18625 bell to once per half a second. (Ozaki Kiichi, closes #1789)
18626Files: src/misc1.c, src/proto/term.pro, src/term.c
18627
18628Patch 8.0.0684
18629Problem: Old style tests are not nice.
18630Solution: Turn two tests into new style. (pschuh, closes #1797)
18631Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
18632 src/testdir/test82.in, src/testdir/test82.ok,
18633 src/testdir/test90.in, src/testdir/test90.ok,
18634 src/testdir/test_sha256.vim, src/testdir/test_utf8_comparisons.vim
18635
18636Patch 8.0.0685
18637Problem: When making backups is disabled and conversion with iconv fails
18638 the written file is truncated. (Luo Chen)
18639Solution: First try converting the file and write the file only when it did
18640 not fail. (partly by Christian Brabandt)
18641Files: src/fileio.c, src/testdir/test_writefile.vim
18642
18643Patch 8.0.0686
18644Problem: When typing CTRL-L in a window that's not the first one, another
18645 redraw will happen later. (Christian Brabandt)
18646Solution: Reset must_redraw after calling screenclear().
18647Files: src/screen.c
18648
18649Patch 8.0.0687
18650Problem: Minor issues related to quickfix.
18651Solution: Set the proper return status for all cases in setqflist() and at
18652 test cases for this. Move the "adding" flag outside of
18653 FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan
18654 Lakshmanan)
18655Files: runtime/doc/eval.txt, src/quickfix.c,
18656 src/testdir/test_quickfix.vim
18657
18658Patch 8.0.0688
18659Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat)
18660Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat,
18661 closes #1804)
18662Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
18663
18664Patch 8.0.0689
18665Problem: The ~ character is not escaped when adding to the search pattern
18666 with CTRL-L. (Ramel Eshed)
18667Solution: Escape the character. (Christian Brabandt)
18668Files: src/ex_getln.c, src/testdir/test_search.vim
18669
18670Patch 8.0.0690
18671Problem: Compiler warning on non-Unix system.
18672Solution: Add #ifdef. (John Marriott)
18673Files: src/term.c
18674
18675Patch 8.0.0691
18676Problem: Compiler warning without the linebreak feature.
18677Solution: Add #ifdef. (John Marriott)
18678Files: src/edit.c
18679
18680Patch 8.0.0692
18681Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction.
18682 (Ramel Eshed)
18683Solution: Adjust search_start. (Christian Brabandt)
18684Files: src/ex_getln.c, src/testdir/test_search.vim
18685
18686Patch 8.0.0693
18687Problem: No terminal emulator support. Cannot properly run commands in the
18688 GUI. Cannot run a job interactively with an ssh connection.
18689Solution: Very early implementation of the :terminal command. Includes
18690 libvterm converted to ANSI C. Many parts still missing.
18691Files: src/feature.h, src/Makefile, src/configure.ac, src/auto/configure,
18692 src/config.mk.in, src/config.h.in, src/terminal.c, src/structs.h,
18693 src/ex_cmdidxs.h, src/ex_docmd.c, src/option.c, src/option.h,
18694 src/evalfunc.c, src/proto/terminal.pro, src/proto.h,
18695 runtime/doc/terminal.txt, runtime/doc/Makefile, Filelist,
18696 src/libvterm/.bzrignore, src/libvterm/.gitignore,
18697 src/libvterm/LICENSE, src/libvterm/README, src/libvterm/Makefile,
18698 src/libvterm/tbl2inc_c.pl, src/libvterm/vterm.pc.in,
18699 src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c,
18700 src/libvterm/bin/vterm-dump.c, src/libvterm/doc/URLs,
18701 src/libvterm/doc/seqs.txt, src/libvterm/include/vterm.h,
18702 src/libvterm/include/vterm_keycodes.h,
18703 src/libvterm/src/encoding.c,
18704 src/libvterm/src/encoding/DECdrawing.inc,
18705 src/libvterm/src/encoding/DECdrawing.tbl,
18706 src/libvterm/src/encoding/uk.inc,
18707 src/libvterm/src/encoding/uk.tbl, src/libvterm/src/keyboard.c,
18708 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
18709 src/libvterm/src/pen.c, src/libvterm/src/rect.h,
18710 src/libvterm/src/screen.c, src/libvterm/src/state.c,
18711 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h,
18712 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
18713 src/libvterm/t/02parser.test, src/libvterm/t/03encoding_utf8.test,
18714 src/libvterm/t/10state_putglyph.test,
18715 src/libvterm/t/11state_movecursor.test,
18716 src/libvterm/t/12state_scroll.test,
18717 src/libvterm/t/13state_edit.test,
18718 src/libvterm/t/14state_encoding.test,
18719 src/libvterm/t/15state_mode.test,
18720 src/libvterm/t/16state_resize.test,
18721 src/libvterm/t/17state_mouse.test,
18722 src/libvterm/t/18state_termprops.test,
18723 src/libvterm/t/20state_wrapping.test,
18724 src/libvterm/t/21state_tabstops.test,
18725 src/libvterm/t/22state_save.test,
18726 src/libvterm/t/25state_input.test,
18727 src/libvterm/t/26state_query.test,
18728 src/libvterm/t/27state_reset.test,
18729 src/libvterm/t/28state_dbl_wh.test,
18730 src/libvterm/t/29state_fallback.test, src/libvterm/t/30pen.test,
18731 src/libvterm/t/40screen_ascii.test,
18732 src/libvterm/t/41screen_unicode.test,
18733 src/libvterm/t/42screen_damage.test,
18734 src/libvterm/t/43screen_resize.test,
18735 src/libvterm/t/44screen_pen.test,
18736 src/libvterm/t/45screen_protect.test,
18737 src/libvterm/t/46screen_extent.test,
18738 src/libvterm/t/47screen_dbl_wh.test,
18739 src/libvterm/t/48screen_termprops.test,
18740 src/libvterm/t/90vttest_01-movement-1.test,
18741 src/libvterm/t/90vttest_01-movement-2.test,
18742 src/libvterm/t/90vttest_01-movement-3.test,
18743 src/libvterm/t/90vttest_01-movement-4.test,
18744 src/libvterm/t/90vttest_02-screen-1.test,
18745 src/libvterm/t/90vttest_02-screen-2.test,
18746 src/libvterm/t/90vttest_02-screen-3.test,
18747 src/libvterm/t/90vttest_02-screen-4.test,
18748 src/libvterm/t/92lp1640917.test, src/libvterm/t/harness.c,
18749 src/libvterm/t/run-test.pl
18750
18751Patch 8.0.0694
18752Problem: Building in shadow directory does not work. Running Vim fails.
18753Solution: Add the new libvterm directory. Add missing change in command
18754 list.
18755Files: src/Makefile, src/ex_cmds.h
18756
18757Patch 8.0.0695
18758Problem: Missing dependencies breaks parallel make.
18759Solution: Add dependencies for terminal.o.
18760Files: src/Makefile
18761
18762Patch 8.0.0696
18763Problem: The .inc files are missing in git. (Nazri Ramliy)
18764Solution: Remove the .inc line from .gitignore.
18765Files: src/libvterm/.gitignore
18766
18767Patch 8.0.0697
18768Problem: Recorded key sequences may become invalid.
18769Solution: Add back KE_SNIFF removed in 7.4.1433. Use fixed numbers for the
18770 key_extra enum.
18771Files: src/keymap.h
18772
18773Patch 8.0.0698
18774Problem: When a timer uses ":pyeval" or another Python command and it
18775 happens to be triggered while exiting a Crash may happen.
18776 (Ricky Zhou)
18777Solution: Avoid running a Python command after python_end() was called.
18778 Do not trigger timers while exiting. (closes #1824)
18779Files: src/if_python.c, src/if_python3.c, src/ex_cmds2.c
18780
18781Patch 8.0.0699
18782Problem: Checksum tests are not actually run.
18783Solution: Add the tests to the list. (Dominique Pelle, closes #1819)
18784Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim
18785
18786Patch 8.0.0700
18787Problem: Segfault with QuitPre autocommand closes the window. (Marek)
18788Solution: Check that the window pointer is still valid. (Christian Brabandt,
18789 closes #1817)
18790Files: src/testdir/test_tabpage.vim, src/ex_docmd.c
18791
18792Patch 8.0.0701
18793Problem: System test failing when using X11 forwarding.
18794Solution: Set $XAUTHORITY before changing $HOME. (closes #1812)
18795 Also use a better check for the exit value.
18796Files: src/testdir/setup.vim, src/testdir/test_system.vim
18797
18798Patch 8.0.0702
18799Problem: An error in a timer can make Vim unusable.
18800Solution: Don't set the error flag or exception from a timer. Stop a timer
18801 if it causes an error 3 out of 3 times. Discard an exception
18802 caused inside a timer.
18803Files: src/ex_cmds2.c, src/structs.h, src/testdir/test_timers.vim,
18804 runtime/doc/eval.txt
18805
18806Patch 8.0.0703
18807Problem: Illegal memory access with empty :doau command.
18808Solution: Check the event for being out of range. (James McCoy)
18809Files: src/testdir/test_autocmd.vim, src/fileio.c
18810
18811Patch 8.0.0704
18812Problem: Problems with autocommands when opening help.
18813Solution: Avoid using invalid "varp" value. Allow using :wincmd if buffer
18814 is locked. (closes #1806, closes #1804)
18815Files: src/option.c, src/ex_cmds.h
18816
18817Patch 8.0.0705 (after 8.0.0702)
18818Problem: Crash when there is an error in a timer callback. (Aron Griffis,
18819 Ozaki Kiichi)
18820Solution: Check did_throw before discarding an exception. NULLify
18821 current_exception when no longer valid.
18822Files: src/ex_eval.c, src/ex_cmds2.c
18823
18824Patch 8.0.0706
18825Problem: Crash when cancelling the cmdline window in Ex mode. (James McCoy)
18826Solution: Do not set cmdbuff to NULL, make it empty.
18827Files: src/ex_getln.c
18828
18829Patch 8.0.0707
18830Problem: Freeing wrong memory when manipulating buffers in autocommands.
18831 (James McCoy)
18832Solution: Also set the w_s pointer if w_buffer was NULL.
18833Files: src/ex_cmds.c
18834
18835Patch 8.0.0708
18836Problem: Some tests are old style.
18837Solution: Change a few tests from old style to new style. (pschuh,
18838 closes #1813)
18839Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
18840 src/testdir/Make_vms.mms, src/testdir/main.aap,
18841 src/testdir/test23.in, src/testdir/test23.ok,
18842 src/testdir/test24.in, src/testdir/test24.ok,
18843 src/testdir/test26.in, src/testdir/test26.ok,
18844 src/testdir/test67.in, src/testdir/test67.ok,
18845 src/testdir/test75.in, src/testdir/test75.ok,
18846 src/testdir/test97.in, src/testdir/test97.ok,
18847 src/testdir/test_comparators.in, src/testdir/test_comparators.ok,
18848 src/testdir/test_comparators.vim,
18849 src/testdir/test_escaped_glob.vim,
18850 src/testdir/test_exec_while_if.vim,
18851 src/testdir/test_exists_autocmd.vim, src/testdir/test_getcwd.in,
18852 src/testdir/test_getcwd.ok, src/testdir/test_getcwd.vim,
18853 src/testdir/test_maparg.vim, src/testdir/test_plus_arg_edit.vim,
18854 src/testdir/test_regex_char_classes.vim
18855
18856Patch 8.0.0709
18857Problem: Libvterm cannot use vsnprintf(), it does not exist in C90.
18858Solution: Use vim_vsnprintf() instead.
18859Files: src/message.c, src/Makefile, src/proto.h, src/evalfunc.c,
18860 src/netbeans.c, src/libvterm/src/vterm.c
18861
18862Patch 8.0.0710
18863Problem: A job that writes to a buffer clears command line completion.
18864 (Ramel Eshed)
18865Solution: Do not redraw while showing the completion menu.
18866Files: src/screen.c
18867
18868Patch 8.0.0711 (after 8.0.0710)
18869Problem: Cannot build without the wildmenu feature.
18870Solution: Add #ifdef
18871Files: src/screen.c
18872
18873Patch 8.0.0712
18874Problem: The terminal implementation is incomplete.
18875Solution: Add the 'termkey' option.
18876Files: src/option.c, src/option.h, src/structs.h
18877
18878Patch 8.0.0713 (after 8.0.0712)
18879Problem: 'termkey' option not fully implemented.
18880Solution: Add initialisation.
18881Files: src/option.c
18882
18883Patch 8.0.0714
18884Problem: When a timer causes a command line redraw the " that is displayed
18885 for CTRL-R goes missing.
18886Solution: Remember an extra character to display.
18887Files: src/ex_getln.c
18888
18889Patch 8.0.0715
18890Problem: Writing to the wrong buffer if the buffer that a channel writes to
18891 was closed.
18892Solution: Do not write to a buffer that was unloaded.
18893Files: src/channel.c, src/testdir/test_channel.vim,
18894 src/testdir/test_channel_write.py
18895
18896Patch 8.0.0716
18897Problem: Not easy to start Vim cleanly without changing the viminfo file.
18898 Not possible to know whether the -i command line flag was used.
18899Solution: Add the --clean command line argument. Add the 'viminfofile'
18900 option. Add "-u DEFAULTS".
18901Files: src/main.c, runtime/doc/starting.txt, src/option.c, src/option.h,
18902 src/ex_cmds.c, src/globals.h, runtime/doc/options.txt
18903
18904Patch 8.0.0717
18905Problem: Terminal feature not included in :version output.
18906Solution: Add +terminal or -terminal.
18907Files: src/version.c, src/terminal.c
18908
18909Patch 8.0.0718
18910Problem: Output of job in terminal is not displayed.
18911Solution: Connect the job output to the terminal.
18912Files: src/channel.c, src/proto/channel.pro, src/terminal.c,
18913 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro,
18914 src/evalfunc.c, src/screen.c, src/proto/screen.pro
18915
18916Patch 8.0.0719
18917Problem: Build failure without +terminal feature.
18918Solution: Add #ifdefs.
18919Files: src/screen.c, src/channel.c
18920
18921Patch 8.0.0720
18922Problem: Unfinished mapping not displayed when running timer.
18923Solution: Also use the extra_char while waiting for a mapping and digraph.
18924 (closes #1844)
18925Files: src/ex_getln.c
18926
18927Patch 8.0.0721
18928Problem: :argedit can only have one argument.
18929Solution: Allow for multiple arguments. (Christian Brabandt)
18930Files: runtime/doc/editing.txt, src/ex_cmds.h, src/ex_cmds2.c,
18931 src/testdir/test_arglist.vim
18932
18933Patch 8.0.0722
18934Problem: Screen is messed by timer up at inputlist() prompt.
18935Solution: Set state to ASKMORE. (closes #1843)
18936Files: src/misc1.c
18937
18938Patch 8.0.0723 (after 8.0.0721)
18939Problem: Arglist test fails if file name case is ignored.
18940Solution: Wipe existing buffers, check for fname_case property.
18941Files: src/testdir/test_arglist.vim
18942
18943Patch 8.0.0724
18944Problem: The message for yanking doesn't indicate the register.
18945Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
18946 closes #1803, closes #1809)
18947Files: src/ops.c, src/Makefile, src/testdir/test_registers.vim,
18948 src/testdir/Make_all.mak
18949
18950Patch 8.0.0725
18951Problem: A terminal window does not handle keyboard input.
18952Solution: Add terminal_loop(). ":term bash -i" sort of works now.
18953Files: src/main.c, src/terminal.c, src/proto/terminal.pro, src/normal.c
18954
18955Patch 8.0.0726
18956Problem: Translations cleanup script is too conservative.
18957Solution: Also delete untranslated messages.
18958Files: src/po/cleanup.vim
18959
18960Patch 8.0.0727
18961Problem: Message about what register to yank into is not translated.
18962 (LemonBoy)
18963Solution: Add _().
18964Files: src/ops.c
18965
18966Patch 8.0.0728
18967Problem: The terminal structure is never freed.
18968Solution: Free the structure and unreference what it contains.
18969Files: src/terminal.c, src/buffer.c, src/proto/terminal.pro,
18970 src/channel.c, src/proto/channel.pro, src/evalfunc.c
18971
18972Patch 8.0.0729
18973Problem: The help for the terminal configure option is wrong.
18974Solution: Change "Disable" to "Enable". (E Kawashima, closes #1849)
18975 Improve alignment.
18976Files: src/configure.ac, src/auto/configure
18977
18978Patch 8.0.0730
18979Problem: Terminal feature only supports Unix-like systems.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020018980Solution: Prepare for adding an MS-Windows implementation.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020018981Files: src/terminal.c
18982
18983Patch 8.0.0731
18984Problem: Cannot build the terminal feature on MS-Windows.
18985Solution: Add the Makefile changes. (Yasuhiro Matsumoto, closes #1851)
18986Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
18987
18988Patch 8.0.0732
18989Problem: When updating a buffer for a callback the modeless selection is
18990 lost.
18991Solution: Do not insert or delete screen lines when redrawing for a callback
18992 and there is a modeless selection.
18993Files: src/screen.c
18994
18995Patch 8.0.0733
18996Problem: Can only add entries to one list in the quickfix stack.
18997Solution: Move state variables from qf_list_T to qf_list_T. (Yegappan
18998 Lakshmanan)
18999Files: src/quickfix.c
19000
19001Patch 8.0.0734
19002Problem: The script to check translations can be improved.
19003Solution: Restore the view when no errors are found. Check for matching
19004 line break at the end of the message. (Christian Brabandt)
19005Files: src/po/check.vim
19006
19007Patch 8.0.0735
19008Problem: There is no way to notice that the quickfix window contents has
19009 changed.
19010Solution: Increment b:changedtick when updating the quickfix window.
19011 (Yegappan Lakshmanan)
19012Files: runtime/doc/quickfix.txt, src/quickfix.c,
19013 src/testdir/test_quickfix.vim
19014
19015Patch 8.0.0736
19016Problem: The OptionSet autocommand event is not triggered when entering
19017 diff mode.
19018Solution: use set_option_value() instead of setting the option directly.
19019 Change the tests from old to new style. (Christian Brabandt)
19020Files: src/diff.c, src/testdir/Make_all.mak, src/Makefile,
19021 src/testdir/test_autocmd.vim, src/testdir/test_autocmd_option.in,
19022 src/testdir/test_autocmd_option.ok
19023
19024Patch 8.0.0737
19025Problem: Crash when X11 selection is very big.
19026Solution: Use static items instead of allocating them. Add callbacks.
19027 (Ozaki Kiichi)
19028Files: src/testdir/shared.vim, src/testdir/test_quotestar.vim,
19029 src/ui.c
19030
19031Patch 8.0.0738
19032Problem: Cannot use the mouse to resize window while the focus is in a
19033 terminal window.
19034Solution: Recognize nice mouse events in the terminal window. A few more
19035 fixes for the terminal window.
19036Files: src/terminal.c
19037
19038Patch 8.0.0739
19039Problem: Terminal resizing doesn't work well.
19040Solution: Resize the terminal to the Vim window and the other way around.
19041 Avoid mapping typed keys. Set the environment properly.
19042Files: src/terminal.c, src/os_unix.c, src/structs.h
19043
19044Patch 8.0.0740
19045Problem: Cannot resize a terminal window by the command running in it.
19046Solution: Add support for the window size escape sequence. Make BS work.
19047Files: src/terminal.c, src/libvterm/src/state.c
19048
19049Patch 8.0.0741
19050Problem: Cannot build with HPUX.
19051Solution: Rename envbuf_TERM to envbuf_Term. (John Marriott)
19052Files: src/os_unix.c
19053
19054Patch 8.0.0742
19055Problem: Terminal feature does not work on MS-Windows.
19056Solution: Use libvterm and libwinpty on MS-Windows. (Yasuhiro Matsumoto)
19057Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/channel.c,
19058 src/proto/channel.pro, src/terminal.c
19059
19060Patch 8.0.0743
19061Problem: The 'termsize' option can be set to an invalid value.
19062Solution: Check the 'termsize' option to be valid.
19063Files: src/option.c, src/testdir/gen_opt_test.vim
19064
19065Patch 8.0.0744
19066Problem: A terminal window uses pipes instead of a pty.
19067Solution: Add pty support.
19068Files: src/structs.h, src/os_unix.c, src/terminal.c, src/channel.c,
19069 src/proto/os_unix.pro, src/os_win32.c, src/proto/os_win32.pro
19070
19071Patch 8.0.0745
19072Problem: multi-byte characters in a terminal window are not displayed
19073 properly.
19074Solution: Set the unused screen characters. (Yasuhiro Matsumoto, closes
19075 #1857)
19076Files: src/terminal.c
19077
19078Patch 8.0.0746
19079Problem: When :term fails the job is not properly cleaned up.
19080Solution: Free the terminal. Handle a job that failed to start. (closes
19081 #1858)
19082Files: src/os_unix.c, src/channel.c, src/terminal.c
19083
19084Patch 8.0.0747
19085Problem: :terminal without an argument doesn't work.
19086Solution: Use the 'shell' option. (Yasuhiro Matsumoto, closes #1860)
19087Files: src/terminal.c
19088
19089Patch 8.0.0748
19090Problem: When running Vim in a terminal window it does not detect the right
19091 number of colors available.
19092Solution: Detect the version string that libvterm returns. Pass the number
19093 of colors in $COLORS.
19094Files: src/term.c, src/os_unix.c
19095
19096Patch 8.0.0749
19097Problem: Some unicode digraphs are hard to remember.
19098Solution: Add alternatives with a backtick. (Chris Harding, closes #1861)
19099Files: src/digraph.c
19100
19101Patch 8.0.0750
19102Problem: OpenPTY missing in non-GUI build.
19103Solution: Always include pty.c, add an #ifdef to skip over the contents.
19104Files: src/pty.c, src/Makefile
19105
19106Patch 8.0.0751 (after 8.0.0750)
19107Problem: OpenPTY missing with some combination of features. (Kazunobu
19108 Kuriyama)
19109Solution: Adjust #ifdef. Also include pty.pro when needed.
19110Files: src/pty.c, src/misc2.c, src/proto.h
19111
19112Patch 8.0.0752
19113Problem: Build fails on MS-Windows.
19114Solution: Change #ifdef for set_color_count().
19115Files: src/term.c
19116
19117Patch 8.0.0753
19118Problem: A job running in a terminal does not get notified of changes in
19119 the terminal size.
19120Solution: Use ioctl() and SIGWINCH to report the terminal size.
19121Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro
19122
19123Patch 8.0.0754
19124Problem: Terminal window does not support colors.
19125Solution: Lookup the color attribute.
19126Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro
19127
19128Patch 8.0.0755
19129Problem: Terminal window does not have colors in the GUI.
19130Solution: Lookup the GUI color.
19131Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro, src/term.c,
19132 src/proto/term.pro, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
19133 src/gui_x11.c, src/proto/gui_x11.pro, src/gui_mac.c,
19134 src/proto/gui_mac.pro, src/gui_photon.c, src/proto/gui_photon.pro,
19135 src/gui_w32.c, src/proto/gui_w32.pro,
19136
19137Patch 8.0.0756
19138Problem: Cannot build libvterm with MSVC.
19139Solution: Add an MSVC Makefile to libvterm. (Yasuhiro Matsumoto, closes
19140 #1865)
19141Files: src/INSTALLpc.txt, src/Make_mvc.mak, src/libvterm/Makefile.msc
19142
19143Patch 8.0.0757
19144Problem: Libvterm MSVC Makefile not included in the distribution.
19145Solution: Add the file to the list.
19146Files: Filelist
19147
19148Patch 8.0.0758
19149Problem: Possible crash when using a terminal window.
19150Solution: Check for NULL pointers. (Yasuhiro Matsumoto, closes #1864)
19151Files: src/terminal.c
19152
19153Patch 8.0.0759
19154Problem: MS-Windows: terminal does not adjust size to the Vim window size.
19155Solution: Add a call to winpty_set_size(). (Yasuhiro Matsumoto, closes #1863)
19156Files: src/terminal.c
19157
19158Patch 8.0.0760
19159Problem: Terminal window colors wrong with 'termguicolors'.
19160Solution: Add 'termguicolors' support.
19161Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro
19162
19163Patch 8.0.0761
19164Problem: Options of a buffer for a terminal window are not set properly.
19165Solution: Add "terminal" value for 'buftype'. Make 'buftype' and
19166 'bufhidden' not depend on the quickfix feature.
19167 Also set the buffer name and show "running" or "finished" in the
19168 window title.
19169Files: src/option.c, src/terminal.c, src/proto/terminal.pro,
19170 runtime/doc/options.txt, src/quickfix.c, src/proto/quickfix.pro,
19171 src/structs.h, src/buffer.c, src/ex_docmd.c, src/fileio.c,
19172 src/channel.c
19173
19174Patch 8.0.0762
19175Problem: ml_get error with :psearch in buffer without a name. (Dominique
19176 Pelle)
19177Solution: Use the buffer number instead of the file name. Check the cursor
19178 position.
19179Files: src/search.c, src/testdir/test_preview.vim, src/Makefile,
19180 src/testdir/Make_all.mak
19181
19182Patch 8.0.0763
19183Problem: Libvterm can be improved.
19184Solution: Various small improvements, more comments.
19185Files: src/libvterm/README, src/libvterm/include/vterm.h,
19186 src/libvterm/include/vterm_keycodes.h,
19187 src/libvterm/src/keyboard.c, src/libvterm/src/parser.c,
19188 src/libvterm/src/screen.c, src/libvterm/src/state.c
19189
19190Patch 8.0.0764
19191Problem: 'termkey' does not work yet.
19192Solution: Implement 'termkey'.
19193Files: src/terminal.c, src/option.c, src/proto/option.pro
19194
19195Patch 8.0.0765
19196Problem: Build fails with tiny features.
19197Solution: Adjust #ifdef. (John Marriott)
19198Files: src/option.c, src/option.h
19199
19200Patch 8.0.0766
19201Problem: Option test fails with +terminal feature.
19202Solution: Fix using the right option when checking the value.
19203Files: src/option.c
19204
19205Patch 8.0.0767
19206Problem: Build failure with Athena and Motif.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019207Solution: Move local variable declarations. (Kazunobu Kuriyama)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019208Files: src/gui_x11.c
19209
19210Patch 8.0.0768
19211Problem: Terminal window status shows "[Scratch]".
19212Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
19213 Store the terminal title that vterm sends and use it. Update the
19214 special buffer name. (closes #1869)
19215Files: src/terminal.c, src/proto/terminal.pro, src/buffer.c
19216
19217Patch 8.0.0769
19218Problem: Build problems with terminal on MS-Windows using MSVC.
19219Solution: Remove stdbool.h dependency. Only use ScreenLinesUC when it was
19220 allocated. Fix typos. (Ken Takata)
19221Files: src/libvterm/bin/vterm-ctrl.c, runtime/doc/terminal.txt,
19222 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
19223 src/libvterm/Makefile.msc, src/terminal.c
19224
19225Patch 8.0.0770
19226Problem: Compiler warning for missing field initializer.
19227Solution: Add two more values. (Yegappan Lakshmanan)
19228Files: src/libvterm/src/encoding.c
19229
19230Patch 8.0.0771
19231Problem: Cursor in a terminal window not always updated in the GUI.
19232Solution: Call gui_update_cursor(). (Yasuhiro Matsumoto, closes #1868)
19233Files: src/terminal.c
19234
19235Patch 8.0.0772
19236Problem: Other stdbool.h dependencies in libvterm.
19237Solution: Remove the dependency and use TRUE/FALSE/int. (Ken Takata)
19238Files: src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
19239 src/libvterm/src/pen.c, src/libvterm/t/harness.c,
19240 src/libvterm/bin/unterm.c
19241
19242Patch 8.0.0773
19243Problem: Mixing 32 and 64 bit libvterm builds fails.
19244Solution: Use OUTDIR. (Ken Takata)
19245Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/libvterm/Makefile.msc
19246
19247Patch 8.0.0774
19248Problem: Build failure without the multi-byte feature on HPUX.
19249Solution: Move #ifdefs. (John Marriott)
19250Files: src/term.c
19251
19252Patch 8.0.0775
19253Problem: In a terminal the cursor is updated too often.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019254Solution: Only flush when needed. (Yasuhiro Matsumoto). Remember whether the
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019255 cursor is visible. (closes #1873)
19256Files: src/terminal.c
19257
19258Patch 8.0.0776
19259Problem: Function prototypes missing without the quickfix feature. (Tony
19260 Mechelynck)
19261Solution: Move non-quickfix functions to buffer.c.
19262Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c,
19263 src/proto/quickfix.pro
19264
19265Patch 8.0.0777
19266Problem: Compiler warnings with 64 bit compiler.
19267Solution: Add type casts. (Mike Williams)
19268Files: src/libvterm/src/pen.c, src/libvterm/src/state.c, src/terminal.c
19269
19270Patch 8.0.0778
19271Problem: In a terminal the cursor may be hidden and screen updating lags
19272 behind. (Nazri Ramliy)
19273Solution: Switch the cursor on and flush output when needed. (Ozaki Kiichi)
19274Files: src/terminal.c
19275
19276Patch 8.0.0779
19277Problem: :term without an argument uses empty buffer name but runs the
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019278 shell.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019279Solution: Change the command to the shell earlier.
19280Files: src/terminal.c
19281
19282Patch 8.0.0780
19283Problem: Build failure on Travis.
19284Solution: Set distribution explicitly. Use Lua and Ruby dev. (Ken Takata,
19285 closes #1884)
19286Files: .travis.yml
19287
19288Patch 8.0.0781
19289Problem: MS-Windows: Memory leak when using :terminal.
19290Solution: Handle failures properly. (Ken Takata)
19291Files: src/terminal.c
19292
19293Patch 8.0.0782
19294Problem: Using freed memory in quickfix code. (Dominique Pelle)
19295Solution: Handle a help window differently. (Yegappan Lakshmanan)
19296Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c,
19297 src/testdir/test_quickfix.vim, src/ex_cmds.c, src/window.c
19298
19299Patch 8.0.0783
19300Problem: Job of terminal may be freed too early.
19301Solution: Increment job refcount. (Yasuhiro Matsumoto)
19302Files: src/terminal.c
19303
19304Patch 8.0.0784
19305Problem: Job of terminal may be garbage collected.
19306Solution: Set copyID on job in terminal. (Ozaki Kiichi)
19307Files: src/terminal.c, src/eval.c, src/proto/terminal.pro
19308
19309Patch 8.0.0785
19310Problem: Wildcards are not expanded for :terminal.
19311Solution: Add FILES to the command flags. (Yasuhiro Matsumoto, closes #1883)
19312 Also complete commands.
19313Files: src/ex_cmds.h, src/ex_docmd.c
19314
19315Patch 8.0.0786
19316Problem: Build failures on Travis.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019317Solution: Go back to precise temporarily. Disable coverage with clang.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019318Files: .travis.yml
19319
19320Patch 8.0.0787
19321Problem: Cannot send CTRL-W command to terminal job.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019322Solution: Make CTRL-W . a prefix for sending a key to the job.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019323Files: src/terminal.c, runtime/doc/terminal.txt, src/option.c
19324
19325Patch 8.0.0788
19326Problem: MS-Windows: cannot build with terminal feature.
19327Solution: Move set_ref_in_term(). (Ozaki Kiichi)
19328Files: src/terminal.c
19329
19330Patch 8.0.0789
19331Problem: When splitting a terminal window where the terminal follows the
19332 size of the window doesn't work.
19333Solution: Use the size of the smallest window. (Yasuhiro Matsumoto, closes
19334 #1885)
19335Files: src/terminal.c
19336
19337Patch 8.0.0790
19338Problem: MSVC compiler warning for strncpy in libvterm.
19339Solution: Add a define to stop the warnings. (Mike Williams)
19340Files: src/Make_mvc.mak
19341
19342Patch 8.0.0791
19343Problem: Terminal colors depend on the system.
19344Solution: Use the highlight color lookup tables.
19345Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c
19346
19347Patch 8.0.0792
19348Problem: Spell test leaves files behind.
19349Solution: Delete the files.
19350Files: src/testdir/test_spell.vim
19351
19352Patch 8.0.0793
19353Problem: Using wrong terminal name for terminal window.
19354Solution: When 'term' starts with "xterm" use it for $TERM in a terminal
19355 window.
19356Files: src/os_unix.c
19357
19358Patch 8.0.0794
19359Problem: The script to check translations fails if there is more than one
19360 NL in one line.
19361Solution: Count the number of NL characters. Make count() accept a string.
19362Files: src/po/check.vim, src/evalfunc.c, runtime/doc/eval.txt,
19363 src/testdir/test_functions.vim
19364
19365Patch 8.0.0795
19366Problem: Terminal feature does not build with older MSVC.
19367Solution: Do not use stdint.h.
19368Files: src/libvterm/include/vterm.h
19369
19370Patch 8.0.0796
19371Problem: No coverage on Travis with clang.
19372Solution: Use a specific coveralls version. (Ozaki Kiichi, closes #1888)
19373Files: .travis.yml
19374
19375Patch 8.0.0797
19376Problem: Finished job in terminal window is not handled.
19377Solution: Add the scrollback buffer. Use it to fill the buffer when the job
19378 has ended.
19379Files: src/terminal.c, src/screen.c, src/proto/terminal.pro,
19380 src/channel.c, src/os_unix.c, src/buffer.c
19381
19382Patch 8.0.0798
19383Problem: No highlighting in a terminal window with a finished job.
19384Solution: Highlight the text.
19385Files: src/terminal.c, src/proto/terminal.pro, src/screen.c, src/undo.c
19386
19387Patch 8.0.0799
19388Problem: Missing semicolon.
19389Solution: Add it.
19390Files: src/terminal.c
19391
19392Patch 8.0.0800
19393Problem: Terminal window scrollback contents is wrong.
19394Solution: Fix handling of multi-byte characters (Yasuhiro Matsumoto) Handle
19395 empty lines correctly. (closes #1891)
19396Files: src/terminal.c
19397
19398Patch 8.0.0801
19399Problem: The terminal window title sometimes still says "running" even
19400 though the job has finished.
19401Solution: Also consider the job finished when the channel has been closed.
19402Files: src/terminal.c
19403
19404Patch 8.0.0802
19405Problem: After a job exits the last line in the terminal window does not
19406 get color attributes.
19407Solution: Fix off-by-one error.
19408Files: src/terminal.c
19409
19410Patch 8.0.0803
19411Problem: Terminal window functions not yet implemented.
19412Solution: Implement several functions. Add a first test. (Yasuhiro
19413 Matsumoto, closes #1871)
19414Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c,
19415 src/proto/evalfunc.pro, src/proto/terminal.pro, src/terminal.c,
19416 src/testdir/Make_all.mak, src/testdir/test_terminal.vim
19417
19418Patch 8.0.0804
19419Problem: Running tests fails when stdin is /dev/null. (James McCoy)
19420Solution: Do not bail out from getting input if the --not-a-term argument
19421 was given. (closes #1460)
19422Files: src/eval.c, src/evalfunc.c
19423
19424Patch 8.0.0805
19425Problem: GUI test fails with gnome2.
19426Solution: Set $HOME to an existing directory.
19427Files: src/testdir/setup.vim, src/testdir/runtest.vim
19428
19429Patch 8.0.0806
19430Problem: Tests may try to create XfakeHOME twice.
19431Solution: Avoid loading setup.vim twice.
19432Files: src/testdir/setup.vim
19433
19434Patch 8.0.0807
19435Problem: Terminal window can't handle mouse buttons. (Hirohito Higashi)
19436Solution: Implement mouse buttons and many other keys. Ignore the ones that
19437 are not implemented.
19438Files: src/terminal.c
19439
19440Patch 8.0.0808
19441Problem: Cannot build with terminal feature and DEBUG defined. (Christian
19442 Brabandt)
19443Solution: Use DEBUG_LOG3().
19444Files: src/libvterm/src/pen.c
19445
19446Patch 8.0.0809
19447Problem: MS-Windows: tests hang.
19448Solution: Delete the XfakeHOME directory.
19449Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
19450
19451Patch 8.0.0810
19452Problem: MS-Windows: tests still hang.
19453Solution: Only create the XfakeHOME directory if it does not exist yet.
19454Files: src/testdir/setup.vim
19455
19456Patch 8.0.0811
19457Problem: MS-Windows: test_expand_dllpath fails.
19458Solution: Change backslashes to forward slashes
19459Files: src/testdir/test_expand_dllpath.vim
19460
19461Patch 8.0.0812
19462Problem: Terminal window colors shift when 'number' is set. (Nazri Ramliy)
19463Solution: Use vcol instead of col.
19464Files: src/screen.c
19465
19466Patch 8.0.0813
19467Problem: Cannot use Vim commands in a terminal window while the job is
19468 running.
19469Solution: Implement Terminal Normal mode.
19470Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/screen.c,
19471 src/normal.c, src/option.c, runtime/doc/terminal.txt
19472
19473Patch 8.0.0814 (after 8.0.0757)
19474Problem: File in Filelist does not exist.
19475Solution: Remove the line.
19476Files: Filelist
19477
19478Patch 8.0.0815
19479Problem: Terminal window not correctly updated when 'statusline' invokes
19480 ":sleep". (NIkolay Pavlov)
19481Solution: Clear got_int. Repeat redrawing when needed.
19482Files: src/terminal.c
19483
19484Patch 8.0.0816
19485Problem: Crash when using invalid buffer number.
19486Solution: Check for NULL buffer. (Yasuhiro Matsumoto, closes #1899)
19487Files: src/terminal.c, src/testdir/test_terminal.vim
19488
19489Patch 8.0.0817
19490Problem: Cannot get the line of a terminal window at the cursor.
19491Solution: Make the row argument optional. (Yasuhiro Matsumoto, closes #1898)
19492Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c
19493
19494Patch 8.0.0818
19495Problem: Cannot get the cursor position of a terminal.
19496Solution: Add term_getcursor().
19497Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c,
19498 src/proto/terminal.pro
19499
19500Patch 8.0.0819
19501Problem: After changing current window the cursor position in the terminal
19502 window is not updated.
19503Solution: Set w_wrow, w_wcol and w_valid.
19504Files: src/terminal.c
19505
19506Patch 8.0.0820
19507Problem: GUI: cursor in terminal window lags behind.
19508Solution: call gui_update_cursor() under different conditions. (Ozaki
19509 Kiichi, closes #1893)
19510Files: src/terminal.c
19511
19512Patch 8.0.0821
19513Problem: Cannot get the title and status of a terminal window.
19514Solution: Implement term_gettitle() and term_getstatus().
19515Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro,
19516 runtime/doc/eval.txt
19517
19518Patch 8.0.0822
19519Problem: Test_with_partial_callback is a tiny bit flaky.
19520Solution: Add it to the list of flaky tests.
19521Files: src/testdir/runtest.vim
19522
19523Patch 8.0.0823
19524Problem: Cannot paste text into a terminal window.
19525Solution: Make CTRL-W " work.
19526Files: src/terminal.c
19527
19528Patch 8.0.0824
19529Problem: In Terminal mode the cursor and screen gets redrawn when the job
19530 produces output.
19531Solution: Check for tl_terminal_mode. (partly by Yasuhiro Matsumoto, closes
19532 #1904)
19533Files: src/terminal.c
19534
19535Patch 8.0.0825
19536Problem: Not easy to see that a window is a terminal window.
19537Solution: Add StatusLineTerm highlighting.
19538Files: src/option.c, src/vim.h, src/screen.c, src/syntax.c
19539
19540Patch 8.0.0826
19541Problem: Cannot use text objects in Terminal mode.
19542Solution: Check for pending operator and Visual mode first. (Yasuhiro
19543 Matsumoto, closes #1906)
19544Files: src/normal.c
19545
19546Patch 8.0.0827
19547Problem: Coverity: could leak pty file descriptor, theoretically.
19548Solution: If channel is NULL, free the file descriptors.
19549Files: src/os_unix.c
19550
19551Patch 8.0.0828
19552Problem: Coverity: may dereference NULL pointer.
19553Solution: Bail out if calloc_state() returns NULL.
19554Files: src/regexp_nfa.c
19555
19556Patch 8.0.0829
19557Problem: A job running in a terminal window cannot easily communicate with
19558 the Vim it is running in.
19559Solution: Pass v:servername in an environment variable. (closes #1908)
19560Files: src/os_unix.c
19561
19562Patch 8.0.0830
19563Problem: Translating messages is not ideal.
19564Solution: Add a remark about obsolete messages. Use msgfmt in the check
19565 script. (Christian Brabandt)
19566Files: src/po/README.txt, src/po/check.vim
19567
19568Patch 8.0.0831 (after 8.0.0791)
19569Problem: With 8 colors the bold attribute is not set properly.
19570Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901)
19571Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c
19572
19573Patch 8.0.0832
19574Problem: Terminal function arguments are not consistent.
19575Solution: Use one-based instead of zero-based rows and cols. Use "." for
19576 the current row.
19577Files: src/terminal.c, runtime/doc/eval.txt
19578
19579Patch 8.0.0833
19580Problem: Terminal test fails.
19581Solution: Update the row argument to one based.
19582Files: src/testdir/test_terminal.vim
19583
19584Patch 8.0.0834
19585Problem: Can't build without the client-server feature.
19586Solution: Add #ifdef.
19587Files: src/os_unix.c
19588
19589Patch 8.0.0835
19590Problem: Translations check with msgfmt does not work.
19591Solution: Add a space before the file name.
19592Files: src/po/check.vim
19593
19594Patch 8.0.0836
19595Problem: When a terminal buffer is changed it can still be accidentally
19596 abandoned.
19597Solution: When making a change reset the 'buftype' option.
19598Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c
19599
19600Patch 8.0.0837
19601Problem: Signs can be drawn on top of console messages.
19602Solution: don't redraw at a prompt or when scrolled up. (Christian Brabandt,
19603 closes #1907)
19604Files: src/screen.c
19605
19606Patch 8.0.0838
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019607Problem: Buffer hangs around when terminal window is closed.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019608Solution: When the job has ended wipe out a terminal buffer when the window
19609 is closed.
19610Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
19611 src/testdir/test_terminal.vim
19612
19613Patch 8.0.0839
19614Problem: Cannot kill a job in a terminal with CTRL-C.
19615Solution: Set the controlling tty and send SIGINT. (closes #1910)
19616Files: src/os_unix.c, src/terminal.c, src/proto/os_unix.pro
19617
19618Patch 8.0.0840
19619Problem: MS-Windows: fopen() and open() prototypes do not match the ones in
19620 the system header file. Can't build without FEAT_MBYTE.
19621Solution: Add "const". Move macro to after including protoo.h.
19622Files: src/os_win32.c, src/proto/os_win32.pro, src/macros.h, src/vim.h
19623
19624Patch 8.0.0841
19625Problem: term_getline() may cause a crash.
19626Solution: Check that the row is valid. (Hirohito Higashi)
19627Files: src/terminal.c, src/testdir/test_terminal.vim
19628
19629Patch 8.0.0842
19630Problem: Using slave pty after closing it.
19631Solution: Do the ioctl() before dup'ing it.
19632Files: src/os_unix.c
19633
19634Patch 8.0.0843
19635Problem: MS-Windows: compiler warning for signed/unsigned.
19636Solution: Add type cast. (Yasuhiro Matsumoto, closes #1912)
19637Files: src/terminal.c
19638
19639Patch 8.0.0844
19640Problem: Wrong function prototype because of missing static.
19641Solution: Add "static".
19642Files: src/os_win32.c, src/proto/os_win32.pro
19643
19644Patch 8.0.0845
19645Problem: MS-Windows: missing semicolon in terminal code.
19646Solution: Add it. (Naruhiko Nishino, closes #1923)
19647Files: src/terminal.c
19648
19649Patch 8.0.0846
19650Problem: Cannot get the name of the pty of a job.
19651Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920)
19652 Add the term_gettty() function.
19653Files: runtime/doc/eval.txt, src/channel.c, src/os_unix.c, src/structs.h,
19654 src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
19655 src/testdir/test_terminal.vim
19656
19657Patch 8.0.0847
19658Problem: :argadd without argument can't handle space in file name. (Harm te
19659 Hennepe)
19660Solution: Escape the space. (Yasuhiro Matsumoto, closes #1917)
19661Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro,
19662 src/testdir/test_arglist.vim
19663
19664Patch 8.0.0848
19665Problem: Using multiple ch_log functions is clumsy.
19666Solution: Use variable arguments. (Ozaki Kiichi, closes #1919)
19667Files: src/channel.c, src/message.c, src/proto/channel.pro,
19668 src/terminal.c
19669
19670Patch 8.0.0849
19671Problem: Crash when job exit callback wipes the terminal.
19672Solution: Check for b_term to be NULL. (Yasuhiro Matsumoto, closes #1922)
19673 Implement options for term_start() to be able to test.
19674 Make term_wait() more reliable.
19675Files: src/terminal.c, src/testdir/test_terminal.vim, src/channel.c
19676
19677Patch 8.0.0850
19678Problem: MS-Windows: Depending on the console encoding, an error message
19679 that is given during startup may be broken.
19680Solution: Convert the message to the console codepage. (Yasuhiro Matsumoto,
19681 closes #1927)
19682Files: src/message.c
19683
19684Patch 8.0.0851
19685Problem: 'smartindent' is used even when 'indentexpr' is set.
19686Solution: Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi)
19687Files: src/misc1.c, src/testdir/test_smartindent.vim
19688
19689Patch 8.0.0852 (after 8.0.0850)
19690Problem: MS-Windows: possible crash when giving a message on startup.
19691Solution: Initialize length. (Yasuhiro Matsumoto, closes #1931)
19692Files: src/message.c
19693
19694Patch 8.0.0853
19695Problem: Crash when running terminal with unknown command.
19696Solution: Check "term" not to be NULL. (Yasuhiro Matsumoto, closes #1932)
19697Files: src/terminal.c
19698
19699Patch 8.0.0854
19700Problem: No redraw after terminal was closed.
19701Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes
19702 #1924) Add function to check for messages even when input is
19703 available.
19704Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro,
19705 src/os_win32.c, src/proto/os_win32.pro, src/os_mswin.c
19706
19707Patch 8.0.0855
19708Problem: MS-Windows: can't get tty name of terminal.
19709Solution: Use the winpty process number. (Yasuhiro Matsumoto, closes #1929)
19710Files: src/terminal.c, src/testdir/test_terminal.vim
19711
19712Patch 8.0.0856
19713Problem: MS-Windows: terminal job doesn't take options.
19714Solution: Call job_set_options(). (Yasuhiro Matsumoto)
19715Files: src/terminal.c
19716
19717Patch 8.0.0857
19718Problem: Terminal test fails on MS-Windows.
19719Solution: Sleep a fraction of a second.
19720Files: src/testdir/test_terminal.vim
19721
19722Patch 8.0.0858
19723Problem: Can exit while a terminal is still running a job.
19724Solution: Consider a buffer with a running job like a changed file.
19725Files: src/undo.c, src/terminal.c, src/option.h, src/buffer.c,
19726 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c,
19727 src/window.c, src/testdir/test_terminal.vim
19728
19729Patch 8.0.0859
19730Problem: NULL pointer access when term_free_vterm called twice.
19731Solution: Return when tl_vterm is NULL. (Yasuhiro Matsumoto, closes #1934)
19732Files: src/terminal.c
19733
19734Patch 8.0.0860
19735Problem: There may be side effects when a channel appends to a buffer that
19736 is not the current buffer.
19737Solution: Properly switch to another buffer before appending. (Yasuhiro
19738 Matsumoto, closes #1926, closes #1937)
19739Files: src/channel.c, src/buffer.c, src/proto/buffer.pro,
19740 src/if_py_both.h
19741
19742Patch 8.0.0861
19743Problem: Still many old style tests.
19744Solution: Convert several tests to new style. (Yegappan Lakshmanan)
19745Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
19746 src/testdir/main.aap, src/testdir/test104.in,
19747 src/testdir/test104.ok, src/testdir/test22.in,
19748 src/testdir/test22.ok, src/testdir/test77.in,
19749 src/testdir/test77.ok, src/testdir/test84.in,
19750 src/testdir/test84.ok, src/testdir/test9.in, src/testdir/test9.ok,
19751 src/testdir/test98.in, src/testdir/test98.ok,
19752 src/testdir/test_autocmd.vim, src/testdir/test_curswant.vim,
19753 src/testdir/test_file_size.vim, src/testdir/test_let.vim,
19754 src/testdir/test_lineending.vim, src/testdir/test_scrollbind.vim,
19755 src/Makefile
19756
19757Patch 8.0.0862 (after 8.0.0862)
19758Problem: File size test fails on MS-Windows.
19759Solution: Set fileformat after opening new buffer. Strip CR.
19760Files: src/testdir/test_file_size.vim
19761
19762Patch 8.0.0863
19763Problem: A remote command starting with CTRL-\ CTRL-N does not work in the
19764 terminal window. (Christian J. Robinson)
19765Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command.
19766Files: src/terminal.c, runtime/doc/terminal.txt
19767
19768Patch 8.0.0864
19769Problem: Cannot specify the name of a terminal.
19770Solution: Add the "term_name" option. (Yasuhiro Matsumoto, closes #1936)
19771Files: src/channel.c, src/structs.h, src/terminal.c, runtime/doc/eval.txt
19772
19773Patch 8.0.0865
19774Problem: Cannot build with channel but without terminal feature.
19775Solution: Add #ifdef
19776Files: src/channel.c
19777
19778Patch 8.0.0866
19779Problem: Solaris also doesn't have MIN and MAX.
19780Solution: Define MIN and MAX whenever they are not defined. (Ozaki Kiichi,
19781 closes #1939)
19782Files: src/terminal.c
19783
19784Patch 8.0.0867
19785Problem: When using a job or channel value as a dict value, when turning it
19786 into a string the quotes are missing.
19787Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto,
19788 closes #1930)
19789Files: src/list.c, src/eval.c, src/testdir/test_terminal.vim
19790
19791Patch 8.0.0868
19792Problem: Cannot specify the terminal size on the command line.
19793Solution: Use the address range for the terminal size. (Yasuhiro Matsumoto,
19794 closes #1941)
19795Files: src/terminal.c, src/testdir/test_terminal.vim
19796
19797Patch 8.0.0869
19798Problem: Job output is sometimes not displayed in a terminal.
19799Solution: Flush output before closing the channel.
19800Files: src/channel.c, src/terminal.c
19801
19802Patch 8.0.0870
19803Problem: Mouse escape codes sent to terminal unintentionally.
19804Solution: Fix libvterm to send mouse codes only when enabled.
19805Files: src/terminal.c, src/libvterm/src/mouse.c
19806
19807Patch 8.0.0871
19808Problem: The status line for a terminal window always has "[+]".
19809Solution: Do make the status line include "[+]" for a terminal window.
19810Files: src/screen.c
19811
19812Patch 8.0.0872
19813Problem: Using mouse scroll while a terminal window has focus and the mouse
19814 pointer is on another window does not work. Same for focus in a
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019815 non-terminal window and the mouse pointer is over a terminal
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019816 window.
19817Solution: Send the scroll action to the right window.
19818Files: src/terminal.c, src/normal.c, src/proto/terminal.pro
19819
19820Patch 8.0.0873
19821Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual
19822 mode.
19823Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.
19824Files: src/main.c, src/terminal.c, src/proto/terminal.pro
19825
19826Patch 8.0.0874 (after 8.0.0873)
19827Problem: Can't build with terminal feature.
19828Solution: Include change to term_use_loop(). (Dominique Pelle)
19829Files: src/normal.c
19830
19831Patch 8.0.0875
19832Problem: Crash with weird command sequence. (Dominique Pelle)
19833Solution: Use vim_snprintf() instead of STRCPY().
19834Files: src/misc1.c
19835
19836Patch 8.0.0876
19837Problem: MS-Windows: Backslashes and wildcards in backticks don't work.
19838Solution: Do not handle backslashes inside backticks in the wrong place.
19839 (Yasuhiro Matsumoto, closes #1942)
19840Files: src/os_mswin.c, src/os_win32.c
19841
19842Patch 8.0.0877
19843Problem: Using CTRL-\ CTRL-N in terminal is inconsistent.
19844Solution: Stay in Normal mode.
19845Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/normal.c,
19846 src/option.c
19847
19848Patch 8.0.0878
19849Problem: No completion for :mapclear.
19850Solution: Add completion (Nobuhiro Takasaki et al. closes #1943)
19851Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_docmd.c,
19852 src/ex_getln.c, src/proto/ex_docmd.pro,
19853 src/testdir/test_cmdline.vim, src/vim.h
19854
19855Patch 8.0.0879
19856Problem: Crash when shifting with huge number.
19857Solution: Check for overflow. (Dominique Pelle, closes #1945)
19858Files: src/ops.c, src/testdir/test_visual.vim
19859
19860Patch 8.0.0880
19861Problem: Travis uses an old Ubuntu version.
19862Solution: Switch from precise to trusty. (Ken Takata, closes #1897)
19863Files: .travis.yml, Filelist, src/testdir/if_ver-1.vim,
19864 src/testdir/if_ver-2.vim, src/testdir/lsan-suppress.txt
19865
19866Patch 8.0.0881
19867Problem: win32.mak no longer included in Windows SDK.
19868Solution: Do not include win32.mak. (Ken Takata)
19869Files: src/GvimExt/Makefile, src/Make_mvc.mak
19870
19871Patch 8.0.0882
19872Problem: term_scrape() and term_getline() require two arguments but it is
19873 not enforced.
19874Solution: Correct minimal number of arguments. (Hirohito Higashi) Update
19875 documentation. (Ken Takata)
19876Files: src/evalfunc.c, runtime/doc/eval.txt
19877
19878Patch 8.0.0883
19879Problem: Invalid memory access with nonsensical script.
19880Solution: Check "dstlen" being positive. (Dominique Pelle)
19881Files: src/misc1.c
19882
19883Patch 8.0.0884
19884Problem: Can't specify the wait time for term_wait().
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019885Solution: Add an optional second argument.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019886Files: src/evalfunc.c, src/terminal.c, runtime/doc/eval.txt
19887
19888Patch 8.0.0885
19889Problem: Terminal window scrollback is stored inefficiently.
19890Solution: Store the text in the Vim buffer.
19891Files: src/terminal.c, src/testdir/test_terminal.vim
19892
19893Patch 8.0.0886
19894Problem: Crash when using ":term ls".
19895Solution: Fix line number computation. Add a test for this.
19896Files: src/terminal.c, src/testdir/test_terminal.vim
19897
19898Patch 8.0.0887
19899Problem: Can create a logfile in the sandbox.
19900Solution: Disable ch_logfile() in the sandbox. (Yasuhiro Matsumoto)
19901Files: src/evalfunc.c
19902
19903Patch 8.0.0888
19904Problem: Compiler warnings with 64 bit build.
19905Solution: Add type cast of change the type. (Mike Williams)
19906Files: src/message.c, src/os_mswin.c, src/os_win32.c
19907
19908Patch 8.0.0889
19909Problem: Gcc gives warnings for uninitialized variables. (Tony Mechelynck)
19910Solution: Initialize variables even though they are not used.
19911Files: src/terminal.c
19912
19913Patch 8.0.0890
19914Problem: Still many old style tests.
19915Solution: Convert several tests to new style. (Yegappan Lakshmanan)
19916Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
19917 src/testdir/test103.in, src/testdir/test103.ok,
19918 src/testdir/test107.in, src/testdir/test107.ok,
19919 src/testdir/test51.in, src/testdir/test51.ok,
19920 src/testdir/test91.in, src/testdir/test91.ok,
19921 src/testdir/test_getvar.vim, src/testdir/test_highlight.vim,
19922 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
19923 src/Makefile
19924
19925Patch 8.0.0891
19926Problem: Uninitialized memory use with empty line in terminal.
19927Solution: Initialize growarray earlier. (Yasuhiro Matsumoto, closes #1949)
19928Files: src/terminal.c
19929
19930Patch 8.0.0892
19931Problem: When opening a terminal the pty size doesn't always match.
19932Solution: Update the pty size after opening the terminal. (Ken Takata)
19933Files: src/terminal.c
19934
19935Patch 8.0.0893
19936Problem: Cannot get the scroll count of a terminal window.
19937Solution: Add term_getscrolled().
19938Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
19939 runtime/doc/eval.txt, src/testdir/test_terminal.vim
19940
19941Patch 8.0.0894
19942Problem: There is no test for runtime filetype detection.
19943Solution: Test a list of filetypes from patterns.
19944Files: src/testdir/test_filetype.vim, runtime/filetype.vim
19945
19946Patch 8.0.0895 (after 8.0.0894)
19947Problem: Filetype test fails on MS-Windows.
19948Solution: Fix file names.
19949Files: src/testdir/test_filetype.vim
19950
19951Patch 8.0.0896
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019952Problem: Cannot automatically close a terminal window when the job ends.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019953Solution: Add the ++close argument to :term. Add the term_finish option to
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019954 term_start(). (Yasuhiro Matsumoto, closes #1950) Also add
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019955 ++open.
19956Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c,
19957 src/structs.h, src/terminal.c, src/testdir/test_terminal.vim
19958
19959Patch 8.0.0897 (after 8.0.0896)
19960Problem: Wrong error message for invalid term_finish value
19961Solution: Pass the right argument to emsg().
19962Files: src/channel.c
19963
19964Patch 8.0.0898
19965Problem: Can't use the alternate screen in a terminal window.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020019966Solution: Initialize the alternate screen. (Yasuhiro Matsumoto, closes
Bram Moolenaareb3dc872018-05-13 22:34:24 +020019967 #1957) Add term_getaltscreen().
19968Files: src/libvterm/include/vterm.h, src/terminal.c,
19969 src/proto/terminal.pro, src/evalfunc.c, runtime/doc/eval.txt
19970
19971Patch 8.0.0899
19972Problem: Function name mch_stop_job() is confusing.
19973Solution: Rename to mch_signal_job().
19974Files: src/channel.c, src/os_unix.c, src/proto/os_unix.pro,
19975 src/os_win32.c, src/proto/os_win32.pro, src/terminal.c
19976
19977Patch 8.0.0900
19978Problem: :tab options doesn't open a new tab page. (Aviany)
19979Solution: Support the :tab modifier. (closes #1960)
19980Files: src/ex_cmds2.c, runtime/optwin.vim
19981
19982Patch 8.0.0901
19983Problem: Asan suppress file missing from distribution.
19984Solution: Add the file.
19985Files: Filelist
19986
19987Patch 8.0.0902
19988Problem: Cannot specify directory or environment for a job.
19989Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro
19990 Matsumoto, closes #1160)
19991Files: runtime/doc/channel.txt, src/channel.c, src/terminal.c,
19992 src/os_unix.c, src/os_win32.c, src/structs.h,
19993 src/testdir/test_channel.vim, src/testdir/test_terminal.vim
19994
19995Patch 8.0.0903 (after 8.0.0902)
19996Problem: Early return from test function.
19997Solution: Remove the return.
19998Files: src/testdir/test_terminal.vim
19999
20000Patch 8.0.0904
20001Problem: Cannot set a location list from text.
20002Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan)
20003Files: runtime/doc/eval.txt, src/quickfix.c,
20004 src/testdir/test_quickfix.vim
20005
20006Patch 8.0.0905
20007Problem: MS-Windows: broken multi-byte characters in the console.
20008Solution: Restore all regions of the console buffer. (Ken Takata)
20009Files: src/os_win32.c
20010
20011Patch 8.0.0906
20012Problem: Don't recognize Couchbase files.
20013Solution: Add filetype detection. (Eugene Ciurana, closes #1951)
20014Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20015
20016Patch 8.0.0907
20017Problem: With cp932 font names might be misinterpreted.
20018Solution: Do not see "_" as a space when it is the second byte of a double
20019 byte character. (Ken Takata)
20020Files: src/os_win32.c
20021
20022Patch 8.0.0908
20023Problem: Cannot set terminal size with options.
20024Solution: Add "term_rows", "term_cols" and "vertical".
20025Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c,
20026 src/proto/channel.pro, src/structs.h, src/evalfunc.c,
20027 src/testdir/test_terminal.vim
20028
20029Patch 8.0.0909
20030Problem: Channel test fails.
20031Solution: Allow for "cwd" and "env" arguments.
20032Files: src/channel.c
20033
20034Patch 8.0.0910
20035Problem: Cannot create a terminal in the current window.
20036Solution: Add option "curwin" and ++curwin.
20037Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c,
20038 src/structs.h, src/ex_cmds.h, src/testdir/test_terminal.vim
20039
20040Patch 8.0.0911
20041Problem: Terminal test takes too long.
20042Solution: Instead of "sleep 1" use a Python program to briefly sleep.
20043Files: src/testdir/test_terminal.vim, src/testdir/test_short_sleep.py
20044
20045Patch 8.0.0912
20046Problem: Cannot run a job in a hidden terminal.
20047Solution: Add option "hidden" and ++hidden.
20048Files: src/terminal.c, src/structs.h, src/channel.c, src/fileio.c,
20049 runtime/doc/terminal.txt, src/testdir/test_terminal.vim
20050
20051Patch 8.0.0913
20052Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the
20053 command running in the shell.
20054Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the
20055 job. (partly by Yasuhiro Matsumoto, closes #1962)
20056Files: src/os_win32.c, src/gui_w32.c, src/terminal.c, src/globals.h
20057
20058Patch 8.0.0914
20059Problem: Highlight attributes are always combined.
20060Solution: Add the 'nocombine' value to replace attributes instead of
20061 combining them. (scauligi, closes #1963)
20062Files: runtime/doc/syntax.txt, src/syntax.c, src/vim.h
20063
20064Patch 8.0.0915
20065Problem: Wrong initialisation of global.
20066Solution: Use INIT().
20067Files: src/globals.h
20068
20069Patch 8.0.0916
20070Problem: Cannot specify properties of window for when opening a window for
20071 a finished terminal job.
20072Solution: Add "term_opencmd".
20073Files: src/channel.c, src/structs.h, src/terminal.c,
20074 runtime/doc/eval.txt, src/testdir/test_terminal.vim
20075
20076Patch 8.0.0917
20077Problem: MS-Windows:CTRL-C handling in terminal window is wrong
20078Solution: Pass CTRL-C as a key. Turn CTRL-BREAK into a key stroke. (Yasuhiro
20079 Matsumoto, closes #1965)
20080Files: src/os_win32.c, src/terminal.c
20081
20082Patch 8.0.0918
20083Problem: Cannot get terminal window cursor shape or attributes.
20084Solution: Support cursor shape, attributes and color.
20085Files: src/terminal.c, runtime/doc/eval.txt,
20086 src/libvterm/include/vterm.h, src/libvterm/src/state.c,
20087 src/libvterm/src/vterm.c, src/feature.h, src/ui.c,
20088 src/proto/ui.pro, src/term.c, src/proto/term.pro,
20089 src/option.c, src/term.h
20090
20091Patch 8.0.0919
20092Problem: Cursor color isn't set on startup.
20093Solution: Initialize showing_mode to invalid value.
20094Files: src/term.c
20095
20096Patch 8.0.0920
20097Problem: The cursor shape is wrong after switch back from an alternate
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020098 screen in a terminal window. (Marius Gedminas)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020099Solution: Change bitfield to unsigned. Set flag that cursor shape was set.
20100Files: src/terminal.c, src/libvterm/src/vterm_internal.h
20101
20102Patch 8.0.0921
20103Problem: Terminal window cursor shape not supported in the GUI.
20104Solution: Use the terminal window cursor shape in the GUI.
20105Files: src/terminal.c, src/proto/terminal.pro, src/gui.c, src/syntax.c,
20106 src/proto/syntax.pro
20107
20108Patch 8.0.0922
20109Problem: Quickfix list always added after current one.
20110Solution: Make it possible to add a quickfix list after the last one.
20111 (Yegappan Lakshmanan)
20112Files: runtime/doc/eval.txt, src/quickfix.c,
20113 src/testdir/test_quickfix.vim
20114
20115Patch 8.0.0923
20116Problem: Crash in GUI when terminal job exits. (Kazunobu Kuriyama)
20117Solution: reset in_terminal_loop when a terminal is freed.
20118Files: src/terminal.c, src/testdir/test_terminal.vim
20119
20120Patch 8.0.0924
20121Problem: Terminal window not updated after using term_sendkeys().
20122Solution: Call redraw_after_callback().
20123Files: src/terminal.c
20124
20125Patch 8.0.0925
20126Problem: MS-Windows GUI: channel I/O not handled right away.
20127Solution: Don't call process_message() unless a message is available.
20128 (Yasuhiro Matsumoto, closes #1969)
20129Files: src/gui_w32.c
20130
20131Patch 8.0.0926
20132Problem: When job in terminal window ends topline may be wrong.
20133Solution: When the job ends adjust topline so that the active part of the
20134 terminal is displayed.
20135Files: src/terminal.c
20136
20137Patch 8.0.0927
20138Problem: If a terminal job sends a blank title "running" is not shown.
20139Solution: When the title is blank make it empty.
20140Files: src/terminal.c
20141
20142Patch 8.0.0928
20143Problem: MS-Windows: passing arglist to job has escaping problems.
20144Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954)
20145Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
20146 src/channel.c, src/proto/channel.pro, src/terminal.c
20147
20148Patch 8.0.0929
20149Problem: :term without argument does not work.
20150Solution: Use shell for empty command. (Yasuhiro Matsumoto, closes #1970)
20151Files: src/terminal.c
20152
20153Patch 8.0.0930
20154Problem: Terminal buffers are stored in the viminfo file while they can't
20155 be useful.
20156Solution: Skip terminal buffers for file marks and buffer list
20157Files: src/buffer.c, src/mark.c
20158
20159Patch 8.0.0931
20160Problem: getwininfo() does not indicate a terminal window.
20161Solution: Add "terminal" to the dictionary.
20162Files: runtime/doc/eval.txt, src/evalfunc.c
20163
20164Patch 8.0.0932
20165Problem: Terminal may not use right characters for BS and Enter.
20166Solution: Get the characters from the tty.
20167Files: src/os_unix.c, src/proto/os_unix.pro, src/terminal.c
20168
20169Patch 8.0.0933
20170Problem: Terminal test tries to start GUI when it's not possible.
20171Solution: Check if the GUI can run. (James McCoy, closes #1971)
20172Files: src/testdir/shared.vim, src/testdir/test_terminal.vim,
20173 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim
20174
20175Patch 8.0.0934 (after 8.0.0932)
20176Problem: Change to struts.h missing in patch.
20177Solution: Include adding ttyinfo_T.
20178Files: src/structs.h
20179
20180Patch 8.0.0935
20181Problem: Cannot recognize a terminal buffer in :ls output.
20182Solution: Use R for a running job and F for a finished job.
20183Files: src/buffer.c
20184
20185Patch 8.0.0936
20186Problem: Mode() returns wrong value for a terminal window.
20187Solution: Return 't' when typed keys go to a job.
20188Files: src/evalfunc.c, src/testdir/test_terminal.vim
20189
20190Patch 8.0.0937
20191Problem: User highlight groups are not adjusted for StatusLineTerm.
20192Solution: Combine attributes like for StatusLineNC.
20193Files: src/syntax.c, src/globals.h, src/screen.c
20194
20195Patch 8.0.0938
20196Problem: Scrolling in terminal window is inefficient.
20197Solution: Use win_del_lines().
20198Files: src/terminal.c
20199
20200Patch 8.0.0939
20201Problem: Test_terminal_env is flaky. (James McCoy)
20202Solution: Use WaitFor() instead of term_wait().
20203Files: src/testdir/test_terminal.vim
20204
20205Patch 8.0.0940
20206Problem: Test_terminal_scrape_multibyte is flaky. (James McCoy)
20207Solution: Use WaitFor() instead of term_wait().
20208Files: src/testdir/test_terminal.vim
20209
20210Patch 8.0.0941
20211Problem: Existing color schemes don't work well with StatusLineTerm.
20212Solution: Don't use "reverse", use fg and bg colors. Also add
20213 StatusLineTermNC.
20214Files: src/syntax.c, src/vim.h, src/screen.c, src/globals.h, src/option.c
20215
20216Patch 8.0.0942
20217Problem: Using freed memory with ":terminal" if an autocommand changes
20218 'shell' when splitting the window. (Marius Gedminas)
20219Solution: Make a copy of 'shell'. (closes #1974)
20220Files: src/terminal.c
20221
20222Patch 8.0.0943
20223Problem: Test_terminal_scrape_multibyte fails if the codepage is not utf-8.
20224Solution: Start "cmd" with the utf-8 codepage. (micbou, closes #1975)
20225Files: src/testdir/test_terminal.vim
20226
20227Patch 8.0.0944
20228Problem: Test_profile is a little bit flaky.
20229Solution: Accept a match when self and total time are the same. (James
20230 McCoy, closes #1972)
20231Files: src/testdir/test_profile.vim
20232
20233Patch 8.0.0945
20234Problem: 64-bit compiler warnings.
20235Solution: Use "size_t" instead of "int". (Mike Williams)
20236Files: src/os_win32.c
20237
20238Patch 8.0.0946
20239Problem: Using PATH_MAX does not work well on some systems.
20240Solution: use MAXPATHL instead. (James McCoy, closes #1973)
20241Files: src/main.c
20242
20243Patch 8.0.0947
20244Problem: When in Insert mode and using CTRL-O CTRL-W CTRL-W to move to a
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020245 terminal window, get in a weird Insert mode.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020246Solution: Don't go to Insert mode in a terminal window. (closes #1977)
20247Files: src/normal.c
20248
20249Patch 8.0.0948
20250Problem: Crash if timer closes window while dragging status line.
20251Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes
20252 #1979)
20253Files: src/edit.c, src/evalfunc.c, src/gui.c, src/normal.c, src/ui.c
20254
20255Patch 8.0.0949
20256Problem: winpty.dll name is fixed.
20257Solution: Add the 'winptydll' option. Make the default name depend on
20258 whether it is a 32-bit or 64-bit build. (idea by Yasuhiro
20259 Matsumoto, closes #1978)
20260Files: src/option.c, src/option.h, src/terminal.c,
20261 runtime/doc/options.txt
20262
20263Patch 8.0.0950
20264Problem: MS-Windows: wrong #ifdef, compiler warnings for signed/unsigned.
20265Solution: Change variable type. Change TERMINAL to FEAT_TERMINAL.
20266Files: src/os_win32.c, src/option.h
20267
20268Patch 8.0.0951
20269Problem: Another wrong #ifdef.
20270Solution: Change TERMINAL to FEAT_TERMINAL. (closes #1981)
20271Files: src/option.c
20272
20273Patch 8.0.0952
20274Problem: MS-Windows: has('terminal') does not check existence of dll file.
20275Solution: Check if the winpty dll file can be loaded. (Ken Takata)
20276Files: src/evalfunc.c, src/proto/terminal.pro, src/terminal.c
20277
20278Patch 8.0.0953
20279Problem: Get "no write since last change" error in terminal window.
20280Solution: Use another message when closing a terminal window. Make ":quit!"
20281 also end the job.
20282Files: src/globals.h, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c,
20283 src/ex_cmds2.c, src/ex_docmd.c, src/quickfix.c, src/terminal.c
20284
20285Patch 8.0.0954
20286Problem: /proc/self/exe might be a relative path.
20287Solution: Make the path a full path. (James McCoy, closes #1983)
20288Files: src/main.c
20289
20290Patch 8.0.0955
20291Problem: Test_existent_file() fails on some file systems.
20292Solution: Run the test again with a sleep when the test fails without a
20293 sleep. (James McCoy, closes #1984)
20294Files: src/testdir/test_stat.vim
20295
20296Patch 8.0.0956
20297Problem: Scrolling in a terminal hwindow as flicker when the Normal
20298 background differs from the terminal window background.
20299Solution: Set the attribute to clear with.
20300Files: src/terminal.c, src/screen.c, src/proto/screen.pro, src/message.c,
20301 src/move.c
20302
20303Patch 8.0.0957
20304Problem: When term_sendkeys() sends many keys it may get stuck in writing
20305 to the job.
20306Solution: Make the write non-blocking, buffer keys to be sent.
20307Files: src/terminal.c, src/channel.c, src/proto/channel.pro,
20308 src/structs.h src/testdir/test_terminal.vim
20309
20310Patch 8.0.0958
20311Problem: The terminal test fails on MS-Windows when compiled with the
20312 terminal feature but the winpty DLL is missing.
20313Solution: Check if the terminal feature works. (Ken Takata)
20314Files: src/testdir/test_terminal.vim
20315
20316Patch 8.0.0959
20317Problem: Build failure on MS-Windows.
20318Solution: Use ioctlsocket() instead of fcntl().
20319Files: src/channel.c
20320
20321Patch 8.0.0960
20322Problem: Job in terminal does not get CTRL-C, we send a SIGINT instead.
20323Solution: Don't call may_send_sigint() on CTRL-C. Make CTRL-W CTRL-C end
20324 the job.
20325Files: src/terminal.c, runtime/doc/terminal.txt
20326
20327Patch 8.0.0961
20328Problem: The script to build the installer does not include winpty.
20329Solution: Add winpty32.dll and winpty-agent.exe like diff.exe
20330Files: nsis/gvim.nsi
20331
20332Patch 8.0.0962
20333Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim
20334 #6726)
20335Solution: When using a mark check that coladd is valid.
20336Files: src/normal.c, src/misc2.c, src/Makefile,
20337 src/testdir/test_virtualedit.vim, src/testdir/test_alot.vim
20338
20339Patch 8.0.0963
20340Problem: Terminal test fails on MacOS. (chdiza)
20341Solution: Wait for the shell to echo the characters. (closes #1991)
20342Files: src/testdir/test_terminal.vim
20343
20344Patch 8.0.0964
20345Problem: Channel write buffer does not work with poll().
20346Solution: Use the same mechanism as with select().
20347Files: src/channel.c
20348
20349Patch 8.0.0965
20350Problem: The cursor shape is not reset after it was changed in a terminal.
20351Solution: Request the original cursor shape and restore it. Add t_RS.
20352 Do not add t_SH for now, it does not work properly.
20353Files: src/term.c, src/term.h, src/option.c, src/terminal.c
20354
20355Patch 8.0.0966 (after 8.0.0965)
20356Problem: Build failure without terminal feature.
20357Solution: Move #endif.
20358Files: src/term.c
20359
20360Patch 8.0.0967
20361Problem: Using a terminal may cause the cursor to blink.
20362Solution: Do not set t_vs, since we cannot restore the old blink state.
20363Files: src/term.c
20364
20365Patch 8.0.0968
20366Problem: Crash when switching terminal modes. (Nikolai Pavlov)
20367Solution: Check that there are scrollback lines.
20368Files: src/terminal.c
20369
20370Patch 8.0.0969
20371Problem: Coverity warning for unused return value.
20372Solution: Add (void) to avoid the warning.
20373Files: src/channel.c
20374
20375Patch 8.0.0970
20376Problem: if there is no StatusLine highlighting and there is StatusLineNC
20377 or StatusLineTermNC highlighting then an invalid highlight id is
20378 passed to combine_stl_hlt(). (Coverity)
20379Solution: Check id_S to be -1 instead of zero.
20380Files: src/syntax.c
20381
20382Patch 8.0.0971
20383Problem: 'winptydll' missing from :options.
20384Solution: Add the entry.
20385Files: runtime/optwin.vim
20386
20387Patch 8.0.0972
20388Problem: Compiler warnings for unused variables. (Tony Mechelynck)
20389Solution: Add #ifdefs.
20390Files: src/term.c
20391
20392Patch 8.0.0973
20393Problem: initial info about blinking cursor is wrong
20394Solution: Invert the blink flag. Add t_VS to stop a blinking cursor.
20395Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c,
20396 src/terminal.c
20397
20398Patch 8.0.0974
20399Problem: Resetting a string option does not trigger OptionSet. (Rick Howe)
20400Solution: Set the origval.
20401Files: src/option.c, src/testdir/test_autocmd.vim
20402
20403Patch 8.0.0975
20404Problem: Using freed memory when setting 'backspace'.
20405Solution: When changing oldval also change origval.
20406Files: src/option.c
20407
20408Patch 8.0.0976
20409Problem: Cannot send lines to a terminal job.
20410Solution: Make [range]terminal send selected lines to the job.
20411 Use ++rows and ++cols for the terminal size.
20412Files: src/ex_cmds.h, src/terminal.c, src/os_unix.c,
20413 src/testdir/test_terminal.vim
20414
20415Patch 8.0.0977
20416Problem: Cannot send lines to a terminal job on MS-Windows.
20417Solution: Set jv_in_buf. Command doesn't get EOF yet though.
20418Files: src/terminal.c
20419
20420Patch 8.0.0978
20421Problem: Writing to terminal job is not tested.
20422Solution: Add a test.
20423Files: src/testdir/test_terminal.vim
20424
20425Patch 8.0.0979
20426Problem: Terminal noblock test fails on MS-Windows. (Christian Brabandt)
20427Solution: Ignore empty line below "done".
20428Files: src/testdir/test_terminal.vim
20429
20430Patch 8.0.0980
20431Problem: Coverity warning for failing to open /dev/null.
20432Solution: When /dev/null can't be opened exit the child.
20433Files: src/os_unix.c
20434
20435Patch 8.0.0981
20436Problem: Cursor in terminal window blinks by default, while in a real xterm
20437 it does not blink, unless the -bc argument is used.
20438Solution: Do not use a blinking cursor by default.
20439Files: src/terminal.c
20440
20441Patch 8.0.0982
20442Problem: When 'encoding' is set to a multi-byte encoding other than utf-8
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020443 the characters from their terminal are messed up.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020444Solution: Convert displayed text from utf-8 to 'encoding' for MS-Windows.
20445 (Yasuhiro Matsumoto, close #2000)
20446Files: src/terminal.c
20447
20448Patch 8.0.0983
20449Problem: Unnecessary check for NULL pointer.
20450Solution: Remove the NULL check in dialog_changed(), it already happens in
20451 dialog_msg(). (Ken Takata)
20452Files: src/ex_cmds2.c
20453
20454Patch 8.0.0984
20455Problem: Terminal blinking cursor not correct in the GUI.
20456Solution: Set blinkoff correctly. Also make the cursor blink on MS-Windows
20457 by default. (Ken Takata)
20458Files: src/terminal.c
20459
20460Patch 8.0.0985
20461Problem: Libvterm has its own idea of character width.
20462Solution: Use the Vim functions for character width and composing to avoid a
20463 mismatch. (idea by Yasuhiro Matsumoto)
20464Files: src/Makefile, src/libvterm/src/unicode.c, src/mbyte.c,
20465 src/proto/mbyte.pro, src/Make_cyg_ming.mak, src/Make_mvc.mak
20466
20467Patch 8.0.0986
20468Problem: Terminal feature always requires multi-byte feature.
20469Solution: Remove #ifdef FEAT_MBYTE, disable terminal without multi-byte.
20470Files: src/terminal.c, src/feature.h
20471
20472Patch 8.0.0987
20473Problem: terminal: second byte of double-byte char wrong
20474Solution: Set the second byte to NUL only for utf-8 and non-multibyte.
20475Files: src/terminal.c
20476
20477Patch 8.0.0988
20478Problem: Warning from Covscan about using NULL pointer.
20479Solution: Add extra check for NULL. (zdohnal)
20480Files: src/fileio.c, src/undo.c
20481
20482Patch 8.0.0989
20483Problem: ActiveTcl dll name has changed in 8.6.6.
20484Solution: Adjust the makefile. (Ken Takata)
20485Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak
20486
20487Patch 8.0.0990
20488Problem: When 'encoding' is a double-byte encoding, pasting a register into
20489 a terminal ends up with the wrong characters.
20490Solution: Convert from 'encoding' to utf-8. (Yasuhiro Matsumoto, closes
20491 #2007)
20492Files: src/terminal.c
20493
20494Patch 8.0.0991
20495Problem: Using wrong character conversion for DBCS.
20496Solution: Use utf_char2bytes instead of mb_char2bytes. (Yasuhiro Matsumoto,
20497 closes #2012)
20498Files: src/terminal.c
20499
20500Patch 8.0.0992
20501Problem: Terminal title is wrong when 'encoding' is DBCS.
20502Solution: Convert the title from DBCS to utf-8. (Yasuhiro Matsumoto, closes
20503 #2009)
20504Files: src/terminal.c
20505
20506Patch 8.0.0993
20507Problem: Sometimes an xterm sends an extra CTRL-X after the response for
20508 the background color. Related to t_RS.
20509Solution: Check for the CTRL-X after the terminating 0x7.
20510Files: src/term.c
20511
20512Patch 8.0.0994
20513Problem: MS-Windows: cursor in terminal blinks even though the blinking
20514 cursor was disabled on the system.
20515Solution: Use GetCaretBlinkTime(). (Ken Takata)
20516Files: src/terminal.c
20517
20518Patch 8.0.0995
20519Problem: Terminal tests fail on Mac.
20520Solution: Add workaround: sleep a moment in between sending keys.
20521Files: src/testdir/test_terminal.vim
20522
20523Patch 8.0.0996
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020524Problem: Mac: t_RS is echoed on the screen in Terminal.app. Even though
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020525 $TERM is set to "xterm-256colors" it cannot handle this xterm
20526 escape sequence.
20527Solution: Recognize Terminal.app from the termresponse and skip sending t_RS
20528 if it looks like Terminal.app.
20529Files: src/term.c
20530
20531Patch 8.0.0997 (after 8.0.0996)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020532Problem: Libvterm and Terminal.app not recognized from termresponse.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020533Solution: Adjust string compare.
20534Files: src/term.c
20535
20536Patch 8.0.0998
20537Problem: Strange error when using K while only spaces are selected.
20538 (Christian J. Robinson)
20539Solution: Check for blank argument.
20540Files: src/normal.c, src/testdir/test_help.vim
20541
20542Patch 8.0.0999
20543Problem: Indenting raw C++ strings is wrong.
20544Solution: Add special handling of raw strings. (Christian Brabandt)
20545Files: src/misc1.c, src/testdir/test_cindent.vim
20546
20547Patch 8.0.1000
20548Problem: Cannot open a terminal without running a job in it.
20549Solution: Make ":terminal NONE" open a terminal with a pty.
20550Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro,
20551 src/channel.c, src/proto/channel.pro, src/structs.h,
20552 src/testdir/test_terminal.c, src/misc2.c, src/gui_gtk_x11.c
20553
20554Patch 8.0.1001
20555Problem: Setting 'encoding' makes 'printheader' invalid.
20556Solution: Do not translate the default value of 'printheader'. (Yasuhiro
20557 Matsumoto, closes #2026)
20558Files: src/option.c
20559
20560Patch 8.0.1002
20561Problem: Unnecessarily updating screen after timer callback.
20562Solution: Check if calling the timer sets must_redraw.
20563Files: src/ex_cmds2.c, src/channel.c, src/screen.c, src/proto/screen.pro,
20564 src/terminal.c
20565
20566Patch 8.0.1003
20567Problem: 64 bit compiler warning
20568Solution: Add type cast. (Mike Williams)
20569Files: src/channel.c
20570
20571Patch 8.0.1004
20572Problem: Matchstrpos() without a match returns too many items.
20573Solution: Also remove the second item when the position is beyond the end of
20574 the string. (Hirohito Higashi) Use an enum for the type.
20575Files: src/evalfunc.c, src/testdir/test_match.vim
20576
20577Patch 8.0.1005
20578Problem: Terminal without job updates slowly in GUI.
20579Solution: Poll for input when a channel has the keep_open flag.
20580Files: src/channel.c, src/proto/channel.pro, src/gui_gtk_x11.c
20581
20582Patch 8.0.1006
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020583Problem: Cannot parse text with 'errorformat' without changing a quickfix
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020584 list.
20585Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
20586Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/quickfix.pro,
20587 src/quickfix.c, src/testdir/test_quickfix.vim
20588
20589Patch 8.0.1007
20590Problem: No test for filetype detection for scripts.
20591Solution: Add a first test file script filetype detection.
20592Files: src/testdir/test_filetype.vim, runtime/scripts.vim
20593
20594Patch 8.0.1008
20595Problem: Slow updating of terminal window in Motif.
20596Solution: Add a timeout to the wait-for-character loop.
20597Files: src/gui_x11.c
20598
20599Patch 8.0.1009
20600Problem: Xterm cursor blinking status may be inverted.
20601Solution: Use another request to get the blink status and compare with the
20602 cursor style report
20603Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c,
20604 src/terminal.c
20605
20606Patch 8.0.1010 (after 8.0.1009)
20607Problem: Build failure without termresponse feature.
20608Solution: Add #ifdef.
20609Files: src/term.c
20610
20611Patch 8.0.1011
20612Problem: Terminal test fails with Athena and Motif.
20613Solution: Ignore the error for the input context. (Kazunobu Kuriyama)
20614Files: src/testdir/test_terminal.vim
20615
20616Patch 8.0.1012
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020617Problem: MS-Windows: Problem with $HOME when it was set internally.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020618Solution: Only use the $HOME default internally. (Yasuhiro Matsumoto, closes
20619 #2013)
20620Files: src/misc1.c, src/testdir/Make_all.mak, src/Makefile,
20621 src/testdir/test_windows_home.vim
20622
20623Patch 8.0.1013
20624Problem: A terminal window with a running job behaves different from a
20625 window containing a changed buffer.
20626Solution: Do not set 'bufhidden' to "hide". Fix that a buffer where a
20627 terminal used to run is listed as "[Scratch]".
20628Files: src/terminal.c, runtime/doc/terminal.txt, src/buffer.c
20629
20630Patch 8.0.1014
20631Problem: Old compiler doesn't know uint32_t. Warning for using NULL instead
20632 of NUL.
20633Solution: Use UINT32_T. Use NUL instead of NULL.
20634Files: src/mbyte.c, src/proto/mbyte.pro, src/misc1.c
20635
20636Patch 8.0.1015 (after 8.0.1013)
20637Problem: Missing update to terminal test.
20638Solution: Add the changes to the test.
20639Files: src/testdir/test_terminal.vim
20640
20641Patch 8.0.1016
20642Problem: Gnome terminal echoes t_RC.
20643Solution: Detect Gnome terminal by the version string. Add v: variables for
20644 all the term responses.
20645Files: src/term.c, src/eval.c, src/vim.h, runtime/doc/eval.txt
20646
20647Patch 8.0.1017
20648Problem: Test for MS-Windows $HOME always passes.
20649Solution: Rename the test function. Make the test pass.
20650Files: src/testdir/test_windows_home.vim
20651
20652Patch 8.0.1018
20653Problem: Warnings from 64-bit compiler. (Christian Brabandt)
20654Solution: Add type casts.
20655Files: src/terminal.c
20656
20657Patch 8.0.1019
20658Problem: Pasting in virtual edit happens in the wrong place.
20659Solution: Do not adjust coladd when after the end of the line (closes #2015)
20660Files: src/testdir/test_virtualedit.vim, src/misc2.c
20661
20662Patch 8.0.1020
20663Problem: When a timer calls getchar(1) input is overwritten.
20664Solution: Increment tb_change_cnt in inchar(). (closes #1940)
20665Files: src/getchar.c
20666
20667Patch 8.0.1021
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020668Problem: Older Gnome terminal still echoes t_RC. (François Ingelrest)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020669Solution: Check for version > 3000 instead of 4000.
20670Files: src/term.c
20671
20672Patch 8.0.1022
20673Problem: Test 80 is old style.
20674Solution: Turn it into a new style test. (Yegappan Lakshmanan)
20675Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
20676 src/testdir/test80.in, src/testdir/test80.ok,
20677 src/testdir/test_substitute.vim
20678
20679Patch 8.0.1023
20680Problem: It is not easy to identify a quickfix list.
20681Solution: Add the "id" field. (Yegappan Lakshmanan)
20682Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c,
20683 src/testdir/test_quickfix.vim
20684
20685Patch 8.0.1024
20686Problem: Manual folds are lost when a session file has the same buffer in
20687 two windows. (Jeansen)
20688Solution: Use ":edit" only once. (Christian Brabandt, closes #1958)
20689Files: src/ex_docmd.c, src/testdir/test_mksession.vim
20690
20691Patch 8.0.1025
20692Problem: Stray copy command in test.
20693Solution: Remove the copy command.
20694Files: src/testdir/test_mksession.vim
20695
20696Patch 8.0.1026
20697Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020698Solution: Support over-the-spot. (Yukihiro Nakadaira, Ken Takata, closes
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020699 #1215)
20700Files: runtime/doc/mbyte.txt, runtime/doc/options.txt, src/edit.c,
20701 src/ex_getln.c, src/mbyte.c, src/misc1.c, src/option.c,
20702 src/option.h, src/screen.c, src/undo.c,
20703 src/testdir/gen_opt_test.vim
20704
20705Patch 8.0.1027
20706Problem: More terminals can't handle requesting cursor mode.
20707Solution: Recognize Putty. (Hirohito Higashi) Also include Xfce in the
20708 version check. (Dominique Pelle) Recognize Konsole.
20709Files: src/term.c
20710
20711Patch 8.0.1028
20712Problem: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set. (Yongwei
20713 Wu)
20714Solution: Use vim_getenv() but check it's returning the default "C:/".
20715Files: src/ex_cmds.c
20716
20717Patch 8.0.1029
20718Problem: Return value of getqflist() is inconsistent. (Lcd47)
20719Solution: Always return an "items" entry.
20720Files: src/quickfix.c, src/testdir/test_quickfix.vim
20721
20722Patch 8.0.1030
20723Problem: MS-Windows: wrong size computation in is_cygpty().
20724Solution: Compute the size properly. (Ken Takata)
20725Files: src/iscygpty.c, src/iscygpty.h
20726
20727Patch 8.0.1031
20728Problem: "text" argument for getqflist() is confusing. (Lcd47)
20729Solution: Use "lines" instead. (Yegappan Lakshmanan)
20730Files: runtime/doc/eval.txt, src/quickfix.c,
20731 src/testdir/test_quickfix.vim
20732
20733Patch 8.0.1032
20734Problem: "make tags" doesn't work well on MS-Windows.
20735Solution: Add or fix tags target. (Ken Takata)
20736Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
20737
20738Patch 8.0.1033
20739Problem: Detecting background color does not work in screen, even when it
20740 is working like an xterm.
20741Solution: Make "screen.xterm" use termcap entries like an xterm. (Lubomir
20742 Rintel, closes #2048) When termresponse version is huge also
20743 recognize as not being an xterm.
20744Files: src/os_unix.c, src/term.c
20745
20746Patch 8.0.1034
20747Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
20748Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto,
20749 closes #2043) Add the "eof_chars" option.
20750Files: src/channel.c, src/proto/terminal.pro, src/terminal.c,
20751 src/testdir/test_terminal.vim, src/structs.h
20752
20753Patch 8.0.1035
20754Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
20755Solution: Use CR instead of NL after every line. Make the EOF text work
20756 properly. Add the ++eof argument to :terminal.
20757Files: src/structs.h, src/channel.c, src/terminal.c,
20758 runtime/doc/terminal.txt, runtime/doc/eval.txt
20759
20760Patch 8.0.1036
20761Problem: ++eof argument for terminal only available on MS-Windows.
20762Solution: Also support ++eof on Unix. Add a test.
20763Files: src/channel.c, src/terminal.c, src/structs.h,
20764 src/testdir/test_terminal.vim
20765
20766Patch 8.0.1037
20767Problem: "icase" of 'diffopt' is not used for highlighting differences.
20768Solution: Also use "icase". (Rick Howe)
20769Files: src/diff.c, src/testdir/test_diffmode.vim
20770
20771Patch 8.0.1038
20772Problem: Strike-through text not supported.
20773Solution: Add support for the "strikethrough" attribute. (Christian
20774 Brabandt, Ken Takata)
20775Files: runtime/doc/eval.txt, runtime/doc/options.txt,
20776 runtime/doc/syntax.txt, runtime/doc/term.txt, src/evalfunc.c,
20777 src/gui.c, src/gui.h, src/gui_gtk_x11.c, src/gui_mac.c,
20778 src/gui_w32.c, src/gui_x11.c, src/option.c, src/screen.c,
20779 src/syntax.c, src/term.c, src/term.h, src/terminal.c, src/vim.h
20780
20781Patch 8.0.1039
20782Problem: Cannot change a line in a buffer other than the current one.
20783Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes #1953)
20784Files: src/evalfunc.c, runtime/doc/eval.txt, src/Makefile,
20785 src/testdir/test_bufline.vim, src/testdir/test_alot.vim
20786
20787
20788Patch 8.0.1040
20789Problem: Cannot use another error format in getqflist().
20790Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan)
20791Files: runtime/doc/eval.txt, src/quickfix.c,
20792 src/testdir/test_quickfix.vim
20793
20794Patch 8.0.1041
20795Problem: Bogus characters appear when indenting kicks in while doing a
20796 visual-block append.
20797Solution: Recompute when indenting is done. (Christian Brabandt)
20798Files: runtime/doc/visual.txt, src/charset.c, src/edit.c, src/misc1.c,
20799 src/ops.c, src/proto/charset.pro, src/proto/misc1.pro,
20800 src/screen.c, src/spell.c, src/testdir/test_cindent.vim
20801
20802Patch 8.0.1042 (after 8.0.1038)
20803Problem: Without the syntax feature highlighting doesn't work.
20804Solution: Always use unsigned short to store attributes.
20805Files: src/vim.h
20806
20807Patch 8.0.1043
20808Problem: Warning for uninitialized variable. (John Marriott)
20809Solution: Move code to check indent inside "if".
20810Files: src/ops.c
20811
20812Patch 8.0.1044
20813Problem: Warning for uninitialized variable. (John Marriott)
20814Solution: Initialize ind_pre.
20815Files: src/ops.c
20816
20817Patch 8.0.1045
20818Problem: Running tests may pollute shell history. (Manuel Ortega)
20819Solution: Make $HISTFILE empty.
20820Files: src/testdir/setup.vim
20821
20822Patch 8.0.1046
20823Problem: Code duplication in diff mode.
20824Solution: Use diff_equal_char() also in diff_cmp(). (Rick Howe)
20825Files: src/diff.c
20826
20827Patch 8.0.1047
20828Problem: Buffer overflow in Ruby.
20829Solution: Allocate one more byte. (Dominique Pelle)
20830Files: src/if_ruby.c
20831
20832Patch 8.0.1048
20833Problem: No test for what 8.0.1020 fixes.
20834Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes #2046)
20835Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_timers.vim,
20836 src/ui.c
20837
20838Patch 8.0.1049
20839Problem: Shell on Mac can't handle long text, making terminal test fail.
20840Solution: Only write 1000 characters instead of 5000.
20841Files: src/testdir/test_terminal.vim
20842
20843Patch 8.0.1050
20844Problem: Terminal window feature not included by default.
20845Solution: Include the terminal feature for the "huge" build.
20846Files: src/configure.ac, src/auto/configure
20847
20848Patch 8.0.1051
20849Problem: Cannot run terminal with spaces in argument.
20850Solution: Accept backslash to escape space and other characters. (closes
20851 #1999)
20852Files: src/os_unix.c, src/testdir/test_terminal.vim
20853
20854Patch 8.0.1052
20855Problem: term_start() does not allow in_io, out_io and err_io options.
20856Solution: Add JO_OUT_IO to get_job_options().
20857Files: src/terminal.c, src/testdir/test_terminal.vim
20858
20859Patch 8.0.1053
20860Problem: setline() does not work on startup. (Manuel Ortega)
20861Solution: Do not check for ml_mfp to be set for the current buffer.
20862 (Christian Brabandt)
20863Files: src/testdir/shared.vim, src/testdir/test_alot.vim,
20864 src/testdir/test_bufline.vim, src/testdir/test_timers.vim,
20865 src/evalfunc.c
20866
20867Patch 8.0.1054
20868Problem: Terminal test fails on MS-Windows.
20869Solution: Disable the redirection test for now. Improve scrape test to make
20870 it less flaky.
20871Files: src/testdir/test_terminal.vim
20872
20873Patch 8.0.1055
20874Problem: Bufline test hangs on MS-Windows.
20875Solution: Avoid message for writing file. Source shared.vim when running
20876 test individually.
20877Files: src/testdir/test_bufline.vim, src/testdir/test_timers.vim
20878
20879Patch 8.0.1056
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020880Problem: Cannot build with the diff feature but without the multi-byte
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020881 feature.
20882Solution: Remove #ifdefs. (John Marriott)
20883Files: src/diff.c
20884
20885Patch 8.0.1057
20886Problem: Terminal scrape test waits too long, it checks for one instead of
20887 three.
20888Solution: Check there are three characters. (micbou)
20889Files: src/testdir/test_terminal.vim
20890
20891Patch 8.0.1058
20892Problem: Terminal redirection test is flaky.
20893Solution: Wait for job to finish.
20894Files: src/testdir/test_terminal.vim
20895
20896Patch 8.0.1059
20897Problem: older Gnome terminal returns smaller version number. (antarestrue)
20898Solution: Lower version limit from 2800 to 2500. (#2032)
20899Files: src/term.c
20900
20901Patch 8.0.1060
Bram Moolenaar259f26a2018-05-15 22:25:40 +020020902Problem: When imstyle is zero, mapping <Left> breaks preediting.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020020903Solution: Pass though preediting key-events. (Yasuhiro Matsumoto, closes
20904 #2064, closes #2063)
20905Files: src/getchar.c, src/mbyte.c
20906
20907Patch 8.0.1061
20908Problem: Coverity: no check for NULL command.
20909Solution: Check for NULL list item.
20910Files: src/terminal.c
20911
20912Patch 8.0.1062
20913Problem: Coverity warnings in libvterm.
20914Solution: Add (void) to avoid warning for not checking return value.
20915 Add "break" before "case".
20916Files: src/libvterm/src/screen.c, src/libvterm/src/state.c
20917
20918Patch 8.0.1063
20919Problem: Coverity warns for NULL check and using variable pointer as an
20920 array.
20921Solution: Remove the NULL check. Make "argvar" an array.
20922Files: src/terminal.c
20923
20924Patch 8.0.1064
20925Problem: Coverity warns for leaking resource.
20926Solution: Free pty_master_fd on failure.
20927Files: src/os_unix.c
20928
20929Patch 8.0.1065
20930Problem: Not all macro examples are included in the self-installing
20931 executable. (lkintact)
20932Solution: Add the directories to the NSIS script. (closes #2065)
20933Files: nsis/gvim.nsi
20934
20935Patch 8.0.1066
20936Problem: Some terminals can't handle requesting cursor mode. (Steven
20937 Hartland)
20938Solution: Recognize vandyke SecureCRT. (closes #2008)
20939Files: src/term.c
20940
20941Patch 8.0.1067
20942Problem: Using try/catch in timer does not prevent it from being stopped.
20943Solution: Reset the exception context and use did_emsg instead of
20944 called_emsg.
20945Files: src/ex_cmds2.c, src/testdir/test_timers.vim, src/globals.h,
20946 src/message.c
20947
20948Patch 8.0.1068 (after 8.0.1066)
20949Problem: Vandyke SecureCRT terminal can't handle cursor mode request.
20950 (Steven Hartland)
20951Solution: Fix pointer computation. (closes #2008)
20952Files: src/term.c
20953
20954Patch 8.0.1069
20955Problem: Still get CTRL-X sometimes for t_RS request.
20956Solution: Also skip 0x18 after a key code response.
20957Files: src/term.c
20958
20959Patch 8.0.1070
20960Problem: Terminal test is flaky on Mac.
20961Solution: Add Test_terminal_noblock() to list of flaky tests.
20962Files: src/testdir/runtest.vim
20963
20964Patch 8.0.1071
20965Problem: $TERM names starting with "putty" and "cygwin" are likely to have
20966 a dark background, but are not recognized.
20967Solution: Only check the first few characters of $TERM to match "putty" or
20968 "cygwin". (Christian Brabandt)
20969Files: src/option.c
20970
20971Patch 8.0.1072
20972Problem: The :highlight command causes a redraw even when nothing changed.
20973Solution: Only set "need_highlight_changed" when an attribute changed.
20974Files: src/syntax.c
20975
20976Patch 8.0.1073
20977Problem: May get an endless loop if 'statusline' changes a highlight.
20978Solution: Do not let evaluating 'statusline' trigger a redraw.
20979Files: src/buffer.c
20980
20981Patch 8.0.1074
20982Problem: ":term NONE" does not work on MS-Windows.
20983Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro
20984 Matsumoto, closes #2058, closes #2045)
20985Files: runtime/doc/eval.txt,
20986 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
20987 src/channel.c, src/evalfunc.c, src/os_unix.c, src/structs.h,
20988 src/terminal.c, src/testdir/test_terminal.vim
20989
20990Patch 8.0.1075
20991Problem: MS-Windows: mouse does not work in terminal.
20992Solution: Force the winpty mouse on. (Yasuhiro Matsumoto, closes #2072)
20993Files: src/terminal.c
20994
20995Patch 8.0.1076
20996Problem: term_start() does not take callbacks. When using two terminals
20997 without a job only one is read from. A terminal without a window
20998 returns the wrong pty.
20999Solution: Support "callback", "out_cb" and "err_cb". Fix terminal without a
21000 window. Fix reading from multiple channels.
21001Files: src/terminal.c, src/proto/terminal.pro, src/channel.c,
21002
21003Patch 8.0.1077
21004Problem: No debugger making use of the terminal window.
21005Solution: Add the term debugger plugin. So far only displays the current
21006 line when stopped.
21007Files: Filelist, runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
21008
21009Patch 8.0.1078
21010Problem: Using freed memory with ":hi Normal".
21011Solution: Get "item" again after updating the table.
21012Files: src/syntax.c
21013
21014Patch 8.0.1079
21015Problem: Memory leak when remote_foreground() fails.
21016Solution: Free the error message.
21017Files: src/evalfunc.c, src/if_xcmdsrv.c
21018
21019Patch 8.0.1080
21020Problem: Memory leak for eof_chars terminal option and buffer name.
21021Solution: Free job options. Free the buffer name
21022Files: src/terminal.c
21023
21024Patch 8.0.1081
21025Problem: Memory leak for the channel write queue.
21026Solution: Free the write queue when clearing a channel.
21027Files: src/channel.c
21028
21029Patch 8.0.1082
21030Problem: Tests fail when run under valgrind.
21031Solution: Increase waiting times.
21032Files: src/testdir/test_clientserver.vim, src/testdir/test_terminal.vim
21033
21034Patch 8.0.1083
21035Problem: Leaking memory in input part of channel.
21036Solution: Clear the input part of channel. Free the entry. Move failing
21037 command test to a separate file to avoid bogus leak reports
21038 clouding tests that should not leak.
21039Files: src/channel.c, src/testdir/test_terminal.vim, src/Makefile,
21040 src/testdir/test_terminal_fail.vim, src/testdir/Make_all.mak
21041
21042Patch 8.0.1084
21043Problem: GTK build has compiler warnings. (Christian Brabandt)
21044Solution: Get screen size with a different function. (Ken Takata, Yasuhiro
21045 Matsumoto)
21046Files: src/mbyte.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
21047 src/gui_beval.c
21048
21049Patch 8.0.1085
21050Problem: The terminal debugger can't set breakpoints.
21051Solution: Add :Break and :Delete commands. Also commands for stepping
21052 through code.
21053Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21054 runtime/doc/terminal.txt
21055
21056Patch 8.0.1086 (after 8.0.1084)
21057Problem: Can't build with GTK 3.
21058Solution: Rename function argument. (Kazunobu Kuriyama)
21059Files: src/gui_gtk_x11.c
21060
21061Patch 8.0.1087
21062Problem: Test_terminal_cwd is flaky. MS-Windows: term_start() "cwd"
21063 argument does not work.
21064Solution: Wait for the condition to be true instead of using a sleep.
21065 Pass the directory to winpty.
21066Files: src/testdir/test_terminal.vim, src/terminal.c
21067
21068Patch 8.0.1088
21069Problem: Occasional memory use after free.
21070Solution: Use the highlight table directly, don't keep a pointer.
21071Files: src/syntax.c
21072
21073Patch 8.0.1089
21074Problem: Cannot get range count in user command.
21075Solution: Add <range> argument.
21076Files: src/ex_docmd.c, runtime/doc/map.txt
21077
21078Patch 8.0.1090
21079Problem: cannot get the text under the cursor like v:beval_text
21080Solution: Add <cexpr>.
21081Files: src/ex_docmd.c, src/testdir/test_normal.vim,
21082 runtime/doc/cmdline.txt
21083
21084Patch 8.0.1091 (after 8.0.1090)
21085Problem: Test for <cexpr> fails without +balloon_eval feature.
21086Solution: Remove #ifdefs.
21087Files: src/normal.c
21088
21089Patch 8.0.1092
21090Problem: Terminal debugger can't evaluate expressions.
21091Solution: Add :Evaluate and K. Various other improvements.
21092Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21093 runtime/doc/terminal.txt
21094
21095Patch 8.0.1093
21096Problem: Various small quickfix issues.
21097Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr().
21098 function. Add a couple more tests. Update documentation.
21099 (Yegappan Lakshmanan)
21100Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/evalfunc.c,
21101 src/proto/quickfix.pro, src/quickfix.c,
21102 src/testdir/test_quickfix.vim
21103
21104Patch 8.0.1094
21105Problem: Using ssh from Terminal.app runs into xterm incompatibility.
21106Solution: Also detect Terminal.app on non-Mac systems.
21107Files: src/term.c
21108
21109Patch 8.0.1095
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021110Problem: Terminal multibyte scrape test is flaky.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021111Solution: Add another condition to wait for.
21112Files: src/testdir/test_terminal.vim
21113
21114Patch 8.0.1096
21115Problem: Terminal window in Normal mode has wrong background.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021116Solution: Store the default background and use it for clearing until the
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021117 end of the line. Not for below the last line, since there is no
21118 text there.
21119Files: src/screen.c, src/terminal.c
21120
21121Patch 8.0.1097 (after 8.0.1096)
21122Problem: Background color wrong if job changes background color.
21123Solution: Get the background color from vterm.
21124Files: src/terminal.c, src/screen.c
21125
21126Patch 8.0.1098
21127Problem: Build failure if libvterm installed on the system. (Oleh
21128 Hushchenkov)
21129Solution: Change the CCCTERM argument order. (Ken Takata, closes #2080)
21130Files: src/Makefile
21131
21132Patch 8.0.1099
21133Problem: Warnings for GDK calls.
21134Solution: Use other calls for GTK 3 and fix a few problems. (Kazunobu
21135 Kuriyama)
21136Files: src/mbyte.c
21137
21138Patch 8.0.1100
21139Problem: Stuck in redraw loop when 'lazyredraw' is set.
21140Solution: Don't loop on update_screen() when not redrawing. (Yasuhiro
21141 Matsumoto, closes #2082)
21142Files: src/terminal.c, src/screen.c, src/proto/screen.pro
21143
21144Patch 8.0.1101
21145Problem: Channel write fails if writing to log fails.
21146Solution: Ignore return value of fwrite(). (Ozaki Kiichi, closes #2081)
21147Files: src/channel.c
21148
21149Patch 8.0.1102
21150Problem: Terminal window does not use Normal colors.
21151Solution: For the GUI and when 'termguicolors' is enabled, use the actual
21152 foreground and background colors for the terminal. (Yasuhiro
21153 Matsumoto, closes #2067)
21154 Use the "Terminal" highlight group if defined.
21155Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro
21156
21157Patch 8.0.1103 (after 8.0.1102)
21158Problem: Converting cterm color fails for grey ramp.
21159Solution: Use index instead of number.
21160Files: src/terminal.c
21161
21162Patch 8.0.1104
21163Problem: The qf_jump() function is too long.
21164Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
21165Files: src/quickfix.c
21166
21167Patch 8.0.1105
21168Problem: match() and matchend() are not tested.
21169Solution: Add tests. (Ozaki Kiichi, closes #2088)
21170Files: src/testdir/test_functions.vim, src/testdir/test_match.vim
21171
21172Patch 8.0.1106
21173Problem: Terminal colors on an MS-Windows console are not matching the
21174 normal colors.
21175Solution: Use the normal colors for the terminal. (Yasuhiro Matsumoto,
21176 closes #2087)
21177Files: src/terminal.c
21178
21179Patch 8.0.1107
21180Problem: Terminal debugger jumps to non-existing file.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021181Solution: Check that the file exists. Add an option to make the Vim width
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021182 wide. Fix removing highlight groups.
21183Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21184 runtime/doc/terminal.txt
21185
21186Patch 8.0.1108
21187Problem: Cannot specify mappings for the terminal window.
21188Solution: Add the :tmap command and associated code. (Jacob Askeland,
21189 closes #2073)
21190Files: runtime/doc/map.txt, runtime/doc/terminal.txt, src/ex_cmdidxs.h,
21191 src/ex_cmds.h, src/ex_docmd.c, src/getchar.c, src/gui.c,
21192 src/terminal.c, src/testdir/test_terminal.vim, src/vim.h,
21193 src/proto/terminal.pro, src/main.c, src/evalfunc.c
21194
21195Patch 8.0.1109
21196Problem: Timer causes error on exit from Ex mode. (xtal8)
21197Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt,
21198 closes #2079)
21199Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_cmds2.c,
21200 src/testdir/test_timers.vim
21201
21202Patch 8.0.1110
21203Problem: FORTIFY_SOURCE from Perl causes problems. (Scott Baker)
21204Solution: Filter out the flag. (Christian Brabandt, closes #2068)
21205Files: src/configure.ac, src/auto/configure
21206
21207Patch 8.0.1111
21208Problem: Syntax error in configure when using Perl.
21209Solution: Add missing quote
21210Files: src/configure.ac, src/auto/configure
21211
21212Patch 8.0.1112
21213Problem: Can't get size or current index from quickfix list.
21214Solution: Add "idx" and "size" options. (Yegappan Lakshmanan)
21215Files: runtime/doc/eval.txt, src/quickfix.c,
21216 src/testdir/test_quickfix.vim
21217
21218Patch 8.0.1113
21219Problem: Can go to Insert mode from Terminal-Normal mode.
21220Solution: Prevent :startinsert and "VA" to enter Insert mode. (Yasuhiro
21221 Matsumoto, closes #2092)
21222Files: src/normal.c
21223
21224Patch 8.0.1114
21225Problem: Default for 'iminsert' is annoying.
21226Solution: Make the default always zero. (Yasuhiro Matsumoto, closes #2071)
21227Files: src/option.c, runtime/doc/options.txt
21228
21229Patch 8.0.1115
21230Problem: Crash when using foldtextresult() recursively.
21231Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes #2098)
21232Files: src/evalfunc.c, src/testdir/test_fold.vim
21233
21234Patch 8.0.1116
21235Problem: Terminal test fails on MS-Windows.
21236Solution: Wait for the text to appear. (micbou, closes #2097)
21237Files: src/testdir/test_terminal.vim
21238
21239Patch 8.0.1117
21240Problem: Test_terminal_no_cmd hangs on MS-Windows with GUI. (Christian
21241 Brabandt)
21242Solution: Run the command with "start" and wait for the text to appear.
21243 (micbou, closes #2096)
21244Files: src/testdir/test_terminal.vim
21245
21246Patch 8.0.1118
21247Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
21248 enabled and only adds 7% to the binary size of the tiny build.
21249Solution: Graduate FEAT_WINDOWS.
21250Files: src/feature.h, src/window.c, src/vim.h, src/structs.h,
21251 src/globals.h, src/gui.h, src/if_py_both.h, src/option.h,
21252 src/term.h, src/buffer.c, src/charset.c, src/digraph.c,
21253 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
21254 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
21255 src/fold.c, src/getchar.c, src/gui.c, src/gui_athena.c,
21256 src/gui_beval.c, src/gui_gtk.c, src/gui_motif.c, src/gui_w32.c,
21257 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_python.c,
21258 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
21259 src/mark.c, src/memline.c, src/misc1.c, src/misc2.c, src/move.c,
21260 src/netbeans.c, src/normal.c, src/option.c, src/popupmnu.c,
21261 src/quickfix.c, src/screen.c, src/search.c, src/spell.c,
21262 src/syntax.c, src/tag.c, src/term.c, src/ui.c, src/version.c,
21263 src/workshop.c, src/if_perl.xs, src/testdir/test_normal.vim
21264
21265Patch 8.0.1119
21266Problem: Quitting a split terminal window kills the job. (Yasuhiro
21267 Matsumoto)
21268Solution: Only stop terminal job if it is the last window.
21269Files: src/buffer.c, src/testdir/test_terminal.vim
21270
21271Patch 8.0.1120 (after 8.0.1108)
21272Problem: :tm means :tmap instead of :tmenu. (Taro Muraoka)
21273Solution: Move the new entry below the old entry. (closes #2102)
21274Files: src/ex_cmds.h, runtime/doc/map.txt
21275
21276Patch 8.0.1121
21277Problem: Can uncheck executables in MS-Windows installer.
21278Solution: Make the choice read-only. (Ken Takata, closes #2106)
21279Files: nsis/gvim.nsi
21280
21281Patch 8.0.1122
21282Problem: vimtutor.bat doesn't work well with vim.bat.
21283Solution: Use "call vim". (Ken Takata, closes #2105)
21284Files: vimtutor.bat
21285
21286Patch 8.0.1123
21287Problem: Cannot define a toolbar for a window.
21288Solution: Add a window-local toolbar.
21289Files: src/syntax.c, src/proto/syntax.pro, src/structs.h, src/menu.c,
21290 src/proto/menu.pro, src/testdir/test_winbar.vim, src/Makefile,
21291 src/normal.c, src/testdir/Make_all.mak, src/if_perl.xs,
21292 src/eval.c, src/evalfunc.c, src/window.c, src/ui.c,
21293 src/terminal.c, src/screen.c,
21294 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
21295 runtime/doc/gui.txt, runtime/doc/terminal.txt
21296
21297Patch 8.0.1124
21298Problem: Use of MZSCHEME_VER is unclear.
21299Solution: Add a comment. (Ken Takata)
21300Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
21301
21302Patch 8.0.1125
21303Problem: Wrong window height when splitting window with window toolbar.
21304Solution: Add or subtract the window toolbar height.
21305Files: src/window.c
21306
21307Patch 8.0.1126
21308Problem: Endless resize when terminal showing in two buffers. (Hirohito
21309 Higashi)
21310Solution: Set a flag to prevent resizing the window.
21311Files: src/terminal.c
21312
21313Patch 8.0.1127
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021314Problem: Test_peek_and_get_char fails on 32 bit system. (Elimar
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021315 Riesebieter)
21316Solution: Avoid an integer overflow. (James McCoy, closes #2116)
21317Files: src/ex_cmds2.c
21318
21319Patch 8.0.1128
21320Problem: Old xterm sends CTRL-X in response to t_RS.
21321Solution: Only send t_RS for xterm 279 and later. Remove the workaround to
21322 ignore CTRL-X.
21323Files: src/term.c
21324
21325Patch 8.0.1129
21326Problem: Window toolbar missing a part of the patch.
21327Solution: Add change in vim.h.
21328Files: src/vim.h
21329
21330Patch 8.0.1130
21331Problem: The qf_jump() function is still too long.
21332Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
21333Files: src/quickfix.c
21334
21335Patch 8.0.1131
21336Problem: It is not easy to trigger an autocommand for new terminal window.
21337 (Marco Restelli)
21338Solution: Trigger BufWinEnter after setting 'buftype'.
21339Files: src/terminal.c, src/testdir/test_terminal.vim
21340
21341Patch 8.0.1132
21342Problem: #if condition is not portable.
21343Solution: Add defined(). (Zuloloxi, closes #2136)
21344Files: src/libvterm/src/vterm.c
21345
21346Patch 8.0.1133
21347Problem: Syntax timeout not used correctly.
21348Solution: Do not pass the timeout to syntax_start() but set it explicitly.
21349 (Yasuhiro Matsumoto, closes #2139)
21350Files: src/proto/syntax.pro, src/screen.c, src/syntax.c
21351
21352Patch 8.0.1134
21353Problem: Superfluous call to syn_get_final_id().
21354Solution: Remove it. (Ken Takata)
21355Files: src/syntax.c
21356
21357Patch 8.0.1135
21358Problem: W_WINCOL() is always the same.
21359Solution: Expand the macro.
21360Files: src/edit.c, src/ex_docmd.c, src/gui_gtk.c, src/gui_w32.c,
21361 src/netbeans.c, src/popupmnu.c, src/screen.c, src/term.c,
21362 src/terminal.c, src/ui.c, src/window.c, src/if_py_both.h,
21363 src/structs.h, src/vim.h
21364
21365Patch 8.0.1136
21366Problem: W_WIDTH() is always the same.
21367Solution: Expand the macro.
21368Files: src/charset.c, src/edit.c, src/evalfunc.c, src/ex_cmds.c,
21369 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_beval.c,
21370 src/gui_mac.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
21371 src/if_ruby.c, src/misc1.c, src/misc2.c, src/move.c, src/normal.c,
21372 src/popupmnu.c, src/quickfix.c, src/screen.c, src/search.c,
21373 src/structs.h, src/ui.c, src/vim.h, src/window.c
21374
21375Patch 8.0.1137 (after 8.0.1136)
21376Problem: Cannot build with Ruby.
21377Solution: Fix misplaced brace.
21378Files: src/if_ruby.c
21379
21380Patch 8.0.1138
21381Problem: Click in window toolbar starts Visual mode.
21382Solution: Add the MOUSE_WINBAR flag.
21383Files: src/ui.c, src/vim.h, src/normal.c
21384
21385Patch 8.0.1139
21386Problem: Using window toolbar changes state.
21387Solution: Always execute window toolbar actions in Normal mode.
21388Files: runtime/doc/gui.txt, src/structs.h, src/ex_docmd.c,
21389 src/proto/ex_docmd.pro, src/menu.c
21390
21391Patch 8.0.1140
21392Problem: Still old style tests.
21393Solution: Convert two tests to new style. (Yegappan Lakshmanan)
21394Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
21395 src/testdir/test56.in, src/testdir/test56.ok,
21396 src/testdir/test57.in, src/testdir/test57.ok,
21397 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim
21398
21399Patch 8.0.1141
21400Problem: MS-Windows build dependencies are incomplete.
21401Solution: Fix the dependencies. (Ken Takata)
21402Files: src/Make_cyg.mak, src/Make_cyg_ming.mak, src/Make_ming.mak,
21403 src/Make_mvc.mak
21404
21405Patch 8.0.1142
21406Problem: Window toolbar menu gets a tear-off item.
21407Solution: Recognize the window toolbar.
21408Files: src/menu.c
21409
21410Patch 8.0.1143
21411Problem: Macros always expand to the same thing.
21412Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
21413Files: src/vim.h, src/structs.h, src/gui.c, src/ex_getln.c, src/screen.c
21414
21415Patch 8.0.1144
21416Problem: Using wrong #ifdef for computing length.
21417Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021418 Matsumoto, closes #2153)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021419Files: src/quickfix.c
21420
21421Patch 8.0.1145
21422Problem: Warning when compiling with Perl.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021423Solution: Remove unused variable. (Ken Takata)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021424Files: src/if_perl.xs
21425
21426Patch 8.0.1146
21427Problem: Redraw when highlight is set with same names. (Ozaki Kiichi)
21428Solution: Only free and save a name when it changed. (closes #2120)
21429Files: src/syntax.c
21430
21431Patch 8.0.1147
21432Problem: Fail to build with tiny features. (Tony Mechelynck)
21433Solution: Move #ifdefs.
21434Files: src/syntax.c
21435
21436Patch 8.0.1148
21437Problem: "gN" doesn't work on last match with 'wrapscan' off. (fcpg)
21438Solution: Adjust for searching backward. (Christian Brabandt)
21439Files: src/search.c, src/testdir/test_gn.vim
21440
21441Patch 8.0.1149
21442Problem: libvterm colors differ from xterm.
21443Solution: Use the xterm colors for libvterm.
21444Files: src/terminal.c, src/libvterm/src/pen.c,
21445 src/testdir/xterm_ramp.vim, Filelist
21446
21447Patch 8.0.1150
21448Problem: MS-Windows GUI: dialog font size is incorrect.
21449Solution: Pass flag to indicate 'encoding' or active codepage. (Yasuhiro
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021450 Matsumoto, closes #2160)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021451Files: src/gui_w32.c
21452
21453Patch 8.0.1151
21454Problem: "vim -c startinsert!" doesn't append.
21455Solution: Correct line number on startup. (Christian Brabandt, closes #2117)
21456Files: src/ex_docmd.c, src/testdir/test_startup.vim
21457
21458Patch 8.0.1152
21459Problem: Encoding of error message wrong in Cygwin terminal.
21460Solution: Get locale from environment variables. (Ken Takata)
21461Files: src/main.c, src/mbyte.c, src/proto/mbyte.pro
21462
21463Patch 8.0.1153
21464Problem: No tests for diff_hlID() and diff_filler().
21465Solution: Add tests. (Dominique Pelle, closes #2156)
21466Files: src/testdir/test_diffmode.vim
21467
21468Patch 8.0.1154
21469Problem: 'indentkeys' does not work properly. (Gary Johnson)
21470Solution: Get the cursor line again. (Christian Brabandt, closes #2151)
21471Files: src/edit.c, src/testdir/test_edit.vim
21472
21473Patch 8.0.1155
21474Problem: Ruby command triggers a warning when RUBYOPT is set to "-w".
21475Solution: use "-e_=0" instead of "-e0". (Masataka Pocke Kuwabara, closes
21476 #2143)
21477Files: src/if_ruby.c
21478
21479Patch 8.0.1156
21480Problem: Removing one -W argument from Perl CFLAGS may cause trouble.
21481Solution: Remove all -W flags. (Christian Brabandt)
21482Files: src/configure.ac, src/auto/configure
21483
21484Patch 8.0.1157
21485Problem: Compiler warning on MS-Windows.
21486Solution: Add type cast. (Yasuhiro Matsomoto)
21487Files: src/main.c
21488
21489Patch 8.0.1158
21490Problem: Still old style tests.
21491Solution: Convert serveral tests to new style. (Yegappan Lakshmanan)
21492Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
21493 src/testdir/main.aap, src/testdir/test33.in,
21494 src/testdir/test33.ok, src/testdir/test41.in,
21495 src/testdir/test41.ok, src/testdir/test43.in,
21496 src/testdir/test43.ok, src/testdir/test53.in,
21497 src/testdir/test53.ok, src/testdir/test_file_size.vim,
21498 src/testdir/test_lispwords.vim, src/testdir/test_search.vim,
21499 src/testdir/test_textobjects.vim
21500
21501Patch 8.0.1159
21502Problem: Typo in #ifdef.
21503Solution: Change "PROT" to "PROTO". (Nobuhiro Takasaki, closes #2165)
21504Files: src/syntax.c
21505
21506Patch 8.0.1160
21507Problem: Getting tab-local variable fails after closing window.
21508Solution: set tp_firstwin and tp_lastwin. (Jason Franklin, closes #2170)
21509Files: src/window.c, src/evalfunc.c, src/testdir/test_getvar.vim
21510
21511Patch 8.0.1161
21512Problem: Popup menu drawing problem when resizing terminal.
21513Solution: Redraw after resizing also when a popup menu is visible. (Ozaki
21514 Kiichi, closes #2110)
21515Files: src/popupmnu.c, src/term.c, src/testdir/shared.vim,
21516 src/testdir/test_popup.vim
21517
21518Patch 8.0.1162
21519Problem: Shared script for tests cannot be included twice.
21520Solution: Include it where needed, it will "finish" if loaded again.
21521Files: src/testdir/test_alot.vim, src/testdir/test_bufline.vim,
21522 src/testdir/test_timers.vim
21523
21524Patch 8.0.1163
21525Problem: Popup test is flaky.
21526Solution: Add a WaitFor() and fix another.
21527Files: src/testdir/test_popup.vim
21528
21529Patch 8.0.1164
21530Problem: Changing StatusLine highlight while evaluating 'statusline' may
21531 not change the status line color.
21532Solution: When changing highlighting while redrawing don't cause another
21533 redraw. (suggested by Ozaki Kiichi, closes #2171, closes #2120)
21534Files: src/buffer.c, src/syntax.c
21535
21536Patch 8.0.1165
21537Problem: Popup test is still flaky.
21538Solution: Add a term_wait() call. (Ozaki Kiichi)
21539Files: src/testdir/test_popup.vim
21540
21541Patch 8.0.1166
21542Problem: :terminal doesn't work on Mac High Sierra.
21543Solution: Change #ifdef for OpenPTY(). (Ozaki Kiichi, Kazunobu Kuriyama,
21544 closes #2162)
21545Files: src/pty.c
21546
21547Patch 8.0.1167
21548Problem: Motif: typing in terminal window is slow.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021549Solution: Do not redraw the whole terminal window but only what was changed.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021550Files: src/terminal.c
21551
21552Patch 8.0.1168
21553Problem: wrong highlighting with combination of match and 'cursorline'.
21554Solution: Use "line_attr" when appropriate. (Ozaki Kiichi, closes #2111)
21555 But don't highlight more than one character.
21556Files: src/screen.c, src/testdir/test_highlight.vim,
21557 src/testdir/view_util.vim
21558
21559Patch 8.0.1169
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021560Problem: Highlighting one char too many with 'list' and 'cul'.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021561Solution: Check for 'list' being active. (Ozaki Kiichi, closes #2177)
21562Files: src/screen.c, src/testdir/test_highlight.vim
21563
21564Patch 8.0.1170
21565Problem: Using termdebug results in 100% CPU time. (tomleb)
21566Solution: Use polling instead of select().
21567Files: src/os_unix.c, src/channel.c, src/proto/channel.pro
21568
21569Patch 8.0.1171
21570Problem: Popup test is still a bit flaky.
21571Solution: Change term_wait() calls. (Ozaki Kiichi)
21572Files: src/testdir/test_popup.vim
21573
21574Patch 8.0.1172
21575Problem: When E734 is given option is still set.
21576Solution: Assign NULL to "s". (Christian Brabandt)
21577Files: src/eval.c, src/testdir/test_assign.vim
21578
21579Patch 8.0.1173
21580Problem: Terminal window is not redrawn after CTRL-L. (Marcin Szamotulski)
21581Solution: Redraw the whole terminal when w_redr_type is NOT_VALID.
21582Files: src/terminal.c
21583
21584Patch 8.0.1174
21585Problem: Mac Terminal.app has wrong color for white.
21586Solution: Use white from the color cube.
21587Files: src/globals.h, src/term.c, src/syntax.c
21588
21589Patch 8.0.1175 (after 8.0.1174)
21590Problem: Build failure without +termresponse.
21591Solution: Add #ifdef.
21592Files: src/syntax.c
21593
21594Patch 8.0.1176
21595Problem: Job_start() does not handle quote and backslash correctly.
21596Solution: Remove quotes, recognize and remove backslashes.
21597Files: src/testdir/test_channel.vim, src/os_unix.c
21598
21599Patch 8.0.1177
21600Problem: In a terminal window the popup menu is not cleared. (Gerry
21601 Agbobada)
21602Solution: Redraw when SOME_VALID is used instead of NOT_VALID. (closes
21603 #2194)
21604Files: src/terminal.c
21605
21606Patch 8.0.1178
21607Problem: Using old compiler on MS-Windows.
21608Solution: Switch default build on MS-Windows to use MSVC 2015. (Ken Takata)
21609Files: src/msvc2015.bat, src/INSTALLpc.txt, src/GvimExt/Makefile,
21610 src/Make_mvc.mak, src/tee/Make_mvc.mak, src/xxd/Make_mvc.mak
21611
21612Patch 8.0.1179
21613Problem: Test_popup_and_window_resize() does not always pass.
21614Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file.
21615 (Ozaki Kiichi, closes #2186)
21616Files: src/testdir/Makefile, src/testdir/shared.vim,
21617 src/testdir/test_popup.vim
21618
21619Patch 8.0.1180
21620Problem: MS-Windows testclean target deletes the color script.
21621Solution: Rename the script file.
21622Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim
21623
21624Patch 8.0.1181
21625Problem: Tests using Vim command fail on MS-Windows.
21626Solution: Do not add quotes around the Vim command.
21627Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak
21628
21629Patch 8.0.1182
21630Problem: Cannot see or change mzscheme dll name.
21631Solution: Add 'mzschemedll' and 'mzschemegcdll'.
21632Files: src/if_mzsch.c, src/option.h, src/option.c,
21633 runtime/doc/if_mzsch.txt
21634
21635Patch 8.0.1183
21636Problem: MS-Windows build instructions are outdated.
21637Solution: Update instructions for MSVC 2015. Update the build script.
21638Files: Filelist, Makefile, src/INSTALLpc.txt, src/bigvim.bat
21639
21640Patch 8.0.1184
21641Problem: The :marks command is not tested.
21642Solution: Add a test. (Dominique Pelle, closes #2197)
21643Files: src/testdir/test_marks.vim
21644
21645Patch 8.0.1185
21646Problem: Ruby library includes minor version number.
21647Solution: Only use the API version number. (Ben Boeckel, closes #2199)
21648Files: src/configure.ac, src/auto/configure
21649
21650Patch 8.0.1186
21651Problem: Still quite a few old style tests.
21652Solution: Convert old to new style tests. (Yegappan Lakshmanan)
21653 Avoid ringing the bell while running tests.
21654Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
21655 src/testdir/Make_vms.mms, src/testdir/main.aap,
21656 src/testdir/test31.in, src/testdir/test31.ok,
21657 src/testdir/test4.in, src/testdir/test4.ok, src/testdir/test5.in,
21658 src/testdir/test5.ok, src/testdir/test60.in,
21659 src/testdir/test60.ok, src/testdir/test60.vim,
21660 src/testdir/test7.in, src/testdir/test7.ok, src/testdir/test78.in,
21661 src/testdir/test78.ok, src/testdir/test_autocmd.vim,
21662 src/testdir/test_exists.vim, src/testdir/test_recover.vim,
21663 src/testdir/test_winbuf_close.vim, src/testdir/runtest.vim
21664
21665Patch 8.0.1187
21666Problem: Building with lua fails for OSX on Travis.
21667Solution: Separate brew-update and brew-install. (Ozaki Kiichi, closes #2203)
21668Files: .travis.yml
21669
21670Patch 8.0.1188
21671Problem: Autocmd test fails on MS-Windows.
21672Solution: Give the buffer a name and find the buffer to be wiped out by
21673 name.
21674Files: src/testdir/test_autocmd.vim
21675
21676Patch 8.0.1189
21677Problem: E172 is not actually useful, it's only on Unix anyway.
21678Solution: Remove the check and the error.
21679Files: src/ex_docmd.c, runtime/doc/message.txt
21680
21681Patch 8.0.1190
21682Problem: Vim becomes unusable after opening new window in BufWritePre
21683 event.
21684Solution: Call not_exiting(). (Martin Tournoij, closes #2205)
21685 Also for "2q" when a help window is open. Add a test.
21686Files: src/ex_docmd.c, src/testdir/test_writefile.vim
21687
21688Patch 8.0.1191
21689Problem: MS-Windows: missing 32 and 64 bit files in installer.
21690Solution: Include both 32 and 64 bit GvimExt and related dll files. Remove
21691 old Windows code from the installer. (Ken Takata, closes #2144)
21692Files: nsis/README.txt, nsis/gvim.nsi, src/GvimExt/gvimext.cpp,
21693 src/dosinst.c, src/dosinst.h, src/uninstal.c, Makefile
21694
21695Patch 8.0.1192
21696Problem: MS-Windows: terminal feature not enabled by default.
21697Solution: Enable it. (Ken Takata)
21698Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
21699
21700Patch 8.0.1193
21701Problem: Crash when wiping out a buffer after using getbufinfo().
21702 (Yegappan Lakshmanan)
21703Solution: Remove b:changedtick from the buffer variables.
21704Files: src/buffer.c, src/testdir/test_autocmd.vim
21705
21706Patch 8.0.1194
21707Problem: Actual fg and bg colors of terminal are unknown.
21708Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
21709Files: src/term.c, src/term.h, src/proto/term.pro, src/terminal.c,
21710 src/vim.h, src/eval.c, runtime/doc/eval.txt
21711
21712Patch 8.0.1195 (after 8.0.1194)
21713Problem: Can't build on MS-Windows.
21714Solution: Adjust #ifdef and add #ifdefs.
21715Files: src/term.c, src/terminal.c
21716
21717Patch 8.0.1196 (after 8.0.1194)
21718Problem: Crash when t_RF is not set. (Brian Pina)
21719Solution: Add t_RF to the list of terminal options. (Hirohito Higashi)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021720Files: src/option.c
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021721
21722Patch 8.0.1197
21723Problem: MS-Windows build instructions are not up to date.
21724Solution: Adjust the instructions. Fix the nsis script.
21725Files: Makefile, nsis/gvim.nsi
21726
21727Patch 8.0.1198
21728Problem: Older compilers don't know uint8_t.
21729Solution: Use char_u instead.
21730Files: src/term.c, src/proto/term.pro
21731
21732Patch 8.0.1199
21733Problem: When 'clipboard' is "autoselectplus" the star register is also
21734 set. (Gilles Moris)
21735Solution: Don't set the star register in this situation.
21736Files: src/ops.c
21737
21738Patch 8.0.1200
21739Problem: Tests switch the bell off twice.
21740Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
21741Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim,
21742 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim,
21743 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim,
21744 src/testdir/test_edit.vim, src/testdir/test_file_size.vim,
21745 src/testdir/test_gn.vim, src/testdir/test_normal.vim,
21746 src/testdir/test_packadd.vim, src/testdir/test_popup.vim,
21747 src/testdir/test_recover.vim, src/testdir/test_search.vim,
21748 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim,
21749 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim
21750
21751Patch 8.0.1201
21752Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded)
21753Solution: Don't use 'scrolloff' when an operator is pending.
21754Files: src/normal.c, runtime/doc/motion.txt
21755
21756Patch 8.0.1202
Bram Moolenaar259f26a2018-05-15 22:25:40 +020021757Problem: :wall gives an error for a terminal window. (Marius Gedminas)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020021758Solution: Don't try writing a buffer that can't be written. (Yasuhiro
21759 Matsumoto, closes #2190)
21760Files: src/ex_cmds.c, src/testdir/test_terminal.vim
21761
21762Patch 8.0.1203
21763Problem: Terminal window mistreats composing characters.
21764Solution: Count composing characters with the base character. (Ozaki Kiichi,
21765 closes #2195)
21766Files: src/mbyte.c, src/terminal.c, src/testdir/test_terminal.vim
21767
21768Patch 8.0.1204
21769Problem: A QuitPre autocommand may get the wrong file name.
21770Solution: Pass the buffer being closed to apply_autocmds(). (Rich Howe)
21771Files: src/ex_docmd.c, src/testdir/test_autocmd.vim
21772
21773Patch 8.0.1205
21774Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe)
21775Solution: Check the right window for changes.
21776Files: src/testdir/test_edit.vim, src/ex_docmd.c
21777
21778Patch 8.0.1206
21779Problem: No autocmd for entering or leaving the command line.
21780Solution: Add CmdlineEnter and CmdlineLeave.
21781Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c, src/vim.h,
21782 src/testdir/test_autocmd.vim
21783
21784Patch 8.0.1207
21785Problem: Profiling skips the first and last script line.
21786Solution: Check for BOM after setting script ID. (Lemonboy, closes #2103,
21787 closes #2112) Add a test. List the trailing script lines.
21788Files: src/testdir/test_profile.vim, src/ex_cmds2.c
21789
21790Patch 8.0.1208
21791Problem: 'statusline' drops empty group with highlight change.
21792Solution: Do not drop an empty group if it changes highlighting. (Marius
21793 Gedminas, closes #2228)
21794Files: src/buffer.c, src/testdir/test_statusline.vim
21795
21796Patch 8.0.1209
21797Problem: Still too many old style tests.
21798Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
21799 closes #2230)
21800Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
21801 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
21802 src/testdir/Makefile, src/testdir/Make_vms.mms,
21803 src/testdir/main.aap, src/testdir/test34.in,
21804 src/testdir/test34.ok, src/testdir/test54.in,
21805 src/testdir/test54.ok, src/testdir/test8.in, src/testdir/test8.ok,
21806 src/testdir/test_autocmd.vim, src/testdir/test_autoformat_join.in,
21807 src/testdir/test_autoformat_join.ok, src/testdir/test_join.vim,
21808 src/testdir/test_user_func.vim
21809
21810Patch 8.0.1210
21811Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when
21812 there is typeahead.
21813Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa,
21814 closes #2233)
21815Files: src/ex_getln.c, src/testdir/test_search.vim
21816
21817Patch 8.0.1211
21818Problem: Cannot reorder tab pages with drag & drop.
21819Solution: Support drag & drop for GTK and MS-Windows. (Ken Takata, Masamichi
21820 Abe)
21821Files: src/gui_gtk_x11.c, src/gui_w32.c
21822
21823Patch 8.0.1212
21824Problem: MS-Windows: tear-off menu does not work on 64 bit. (shaggyaxe)
21825Solution: Change how the menu handle is looked up. (Ken Takata, closes
21826 #1205)
21827Files: src/gui_w32.c
21828
21829Patch 8.0.1213
21830Problem: Setting 'mzschemedll' has no effect.
21831Solution: Move loading .vimrc to before call to mzscheme_main().
21832Files: src/main.c
21833
21834Patch 8.0.1214
21835Problem: Accessing freed memory when EXITFREE is set and there is more than
21836 one tab and window. (Dominique Pelle)
21837Solution: Free options later. Skip redraw when exiting.
21838Files: src/screen.c, src/misc2.c
21839
21840Patch 8.0.1215
21841Problem: Newer gcc warns for implicit fallthrough.
21842Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
21843Files: src/buffer.c, src/edit.c, src/eval.c, src/ex_docmd.c,
21844 src/ex_getln.c, src/main.c, src/message.c, src/normal.c,
21845 src/regexp.c, src/regexp_nfa.c, src/spell.c, src/window.c,
21846 src/if_perl.xs
21847
21848Patch 8.0.1216
21849Problem: Tabline is not always updated for :file command. (Norio Takagi)
21850Solution: Set redraw_tabline. (Hirohito Higashi)
21851Files: src/ex_cmds.c
21852
21853Patch 8.0.1217
21854Problem: Can't use remote eval to inspect vars in debug mode.
21855Solution: Don't discard the call stack in debug mode. (closes #2237, #2247)
21856Files: src/globals.h, src/ex_cmds2.c, src/main.c
21857
21858Patch 8.0.1218
21859Problem: Writing to freed memory in autocmd.
21860Solution: Make a copy of the tag line. (Dominique Pelle, closes #2245)
21861Files: src/tag.c, src/testdir/test_autocmd.vim
21862
21863Patch 8.0.1219
21864Problem: Terminal test is flaky.
21865Solution: Add test function to list of flaky tests.
21866Files: src/testdir/runtest.vim
21867
21868Patch 8.0.1220
21869Problem: Skipping empty statusline groups is not correct.
21870Solution: Also set group_end_userhl. (itchyny)
21871Files: src/buffer.c, src/testdir/test_statusline.vim
21872
21873Patch 8.0.1221
21874Problem: Still too many old style tests.
21875Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
21876 closes #2256)
21877Files: src/Makefile, src/testdir/Make_all.mak,
21878 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
21879 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
21880 src/testdir/main.aap, src/testdir/test19.in,
21881 src/testdir/test19.ok, src/testdir/test20.in,
21882 src/testdir/test20.ok, src/testdir/test25.in,
21883 src/testdir/test25.ok, src/testdir/test28.in,
21884 src/testdir/test28.ok, src/testdir/test32.in,
21885 src/testdir/test32.ok, src/testdir/test38.in,
21886 src/testdir/test38.ok, src/testdir/test66.in,
21887 src/testdir/test66.ok, src/testdir/test79.in,
21888 src/testdir/test79.ok, src/testdir/test_ins_complete.vim,
21889 src/testdir/test_source_utf8.vim, src/testdir/test_substitute.vim,
21890 src/testdir/test_tab.vim, src/testdir/test_tagjump.vim,
21891 src/testdir/test_undo.vim, src/testdir/test_visual.vim,
21892 src/testdir/test79.ok, src/testdir/test79.in,
21893 src/testdir/test28.in
21894
21895Patch 8.0.1222
21896Problem: Test functions interfere with each other.
21897Solution: Cleanup tab pages, windows and buffers. Reset option.
21898Files: src/testdir/runtest.vim, src/testdir/test_filetype.vim,
21899 src/testdir/test_tabpage.vim, src/testdir/test_lispwords.vim
21900
21901Patch 8.0.1223
21902Problem: Crash when using autocomplete and tab pages.
21903Solution: Check if the current tab changed. (Christian Brabandt, closes
21904 #2239)
21905Files: src/popupmnu.c, src/testdir/test_popup.vim, src/misc1.c,
21906
21907Patch 8.0.1224
21908Problem: Still interference between test functions.
21909Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a
21910 specific start context.
21911Files: src/testdir/runtest.vim, src/testdir/test_autocmd.vim,
21912 src/testdir/test_arglist.vim, src/testdir/test_bufwintabinfo.vim,
21913 src/testdir/test_command_count.vim, src/testdir/test_quickfix.vim,
21914 src/testdir/test_hardcopy.vim, src/testdir/test_ins_complete.vim,
21915 src/testdir/test_packadd.vim, src/testdir/test_signs.vim,
21916 src/testdir/test_autochdir.vim
21917
21918Patch 8.0.1225
21919Problem: No check for spell region being zero. (geeknik)
21920Solution: Check for zero. (closes #2252)
21921Files: src/spellfile.c, src/testdir/test_spell.vim
21922
21923Patch 8.0.1226
21924Problem: Edit and popup tests failing.
21925Solution: Make the tests pass.
21926Files: src/testdir/test_edit.vim, src/testdir/test_popup.vim
21927
21928Patch 8.0.1227
21929Problem: Undefined left shift in readfile(). (Brian 'geeknik' Carpenter)
21930Solution: Add cast to unsigned. (Dominique Pelle, closes #2253)
21931Files: src/fileio.c
21932
21933Patch 8.0.1228
21934Problem: Invalid memory access in GUI test.
21935Solution: Check that the row is not outside of the screen.
21936Files: src/screen.c
21937
21938Patch 8.0.1229
21939Problem: Condition in vim_str2nr() is always true. (Nikolai Pavlov)
21940Solution: Remove the condition. (Closes #2259)
21941Files: src/charset.c
21942
21943Patch 8.0.1230
21944Problem: CTRL-A in Visual mode uses character after selection. (Nikolai
21945 Pavlov)
21946Solution: Check the length before using a character.
21947Files: src/charset.c
21948
21949Patch 8.0.1231
21950Problem: Expanding file name drops dash. (stucki)
21951Solution: Use the right position. (Christian Brabandt, closes #2184)
21952Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
21953
21954Patch 8.0.1232
21955Problem: MS-Windows users are confused about default mappings.
21956Solution: Don't map keys in the console where they don't work. Add a choice
21957 in the installer to use MS-Windows key bindings or not. (Christian
21958 Brabandt, Ken Takata, closes #2093)
21959Files: Filelist, nsis/gvim.nsi, nsis/vimrc.ini, src/dosinst.c,
21960 runtime/mswin.vim
21961
21962Patch 8.0.1233
21963Problem: Typo in dos installer.
21964Solution: Remove comma.
21965Files: src/dosinst.c
21966
21967Patch 8.0.1234
21968Problem: MS-Windows: composing characters are not shown properly.
21969Solution: Pass base character and composing characters to the renderer at
21970 once. (Ken Takata, closes #2206)
21971Files: src/gui.c, src/gui_w32.c
21972
21973Patch 8.0.1235
21974Problem: Cannot disable the terminal feature in a huge build. (lindhobe)
21975Solution: Adjust the autoconf check. (Kazunobu Kuriyama, closes #2242)
21976Files: src/configure.ac, src/auto/configure, src/Makefile
21977
21978Patch 8.0.1236
21979Problem: Mac features are confusing.
21980Solution: Make feature names more consistent, add "osxdarwin". Rename
21981 feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
21982 Also includes a fix for when Ruby throws an exception inside
21983 :rubyfile.(ujihisa)
21984Files: runtime/doc/eval.txt, runtime/doc/os_mac.txt, src/auto/configure,
21985 src/config.h.in, src/configure.ac, src/digraph.c, src/edit.c,
21986 src/evalfunc.c, src/feature.h, src/fileio.c, src/getchar.c,
21987 src/globals.h, src/gui.c, src/gui_mac.c, src/if_python.c,
21988 src/if_python3.c, src/if_ruby.c, src/keymap.h, src/macros.h,
21989 src/main.c, src/mbyte.c, src/message.c, src/misc1.c, src/misc2.c,
21990 src/option.c, src/os_mac.h, src/os_macosx.m, src/os_unix.c,
21991 src/proto.h, src/pty.c, src/structs.h, src/term.c, src/termlib.c,
21992 src/ui.c, src/undo.c, src/version.c, src/vim.h, src/window.c
21993
21994Patch 8.0.1237
21995Problem: ":set scroll&" often gives an error.
21996Solution: Don't use a fixed default value, use half the window height. Add a
21997 test. (Ozaki Kiichi, closes #2104)
21998Files: src/Makefile, src/option.c, src/testdir/test_alot.vim,
21999 src/testdir/test_scroll_opt.vim
22000
22001Patch 8.0.1238
22002Problem: Incremental search only shows one match.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022003Solution: When 'incsearch' and 'hlsearch' are both set highlight all
22004 matches. (haya14busa, itchyny closes #2198)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022005Files: runtime/doc/options.txt, src/ex_getln.c, src/proto/search.pro,
22006 src/search.c, src/testdir/test_search.vim
22007
22008Patch 8.0.1239
22009Problem: Cannot use a lambda for the skip argument to searchpair().
22010Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454,
22011 closes #2265)
22012Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/evalfunc.pro,
22013 src/eval.c, src/proto/eval.pro, src/search.c,
22014 src/testdir/test_search.vim
22015
22016Patch 8.0.1240
22017Problem: MS-Windows: term_start() does not support environment.
22018Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes
22019 #2264)
22020Files: src/os_win32.c, src/proto/os_win32.pro, src/terminal.c,
22021 src/testdir/test_terminal.vim
22022
22023Patch 8.0.1241
22024Problem: Popup test is flaky. (James McCoy)
22025Solution: Increase the wait time. (Dominique Pelle)
22026Files: src/testdir/test_popup.vim
22027
22028Patch 8.0.1242
22029Problem: Function argument with only dash is seen as number zero. (Wang
22030 Shidong)
22031Solution: See a dash as a string. (Christian Brabandt)
22032Files: src/testdir/test_ins_complete.vim, src/Makefile, src/eval.c
22033
22034Patch 8.0.1243
22035Problem: No test for what 8.0.1227 fixes.
22036Solution: Add a test that triggers the problem. (Christian Brabandt)
22037Files: src/testdir/test_normal.vim, src/testdir/test_search.vim
22038
22039Patch 8.0.1244
22040Problem: Search test does not work correctly on MS-Windows.
22041Solution: Put text in a file instead of sending it to the terminal.
22042 (Christian Brabandt)
22043Files: src/testdir/test_search.vim
22044
22045Patch 8.0.1245
22046Problem: When WaitFor() has a wrong expression it just waits a second,
22047 which goes unnoticed. (James McCoy)
22048Solution: When WaitFor() times out throw an exception. Fix places where the
22049 expression was wrong.
22050Files: src/testdir/shared.vim, src/testdir/test_channel.vim,
22051 src/testdir/test_netbeans.vim, src/testdir/test_terminal.vim
22052
22053Patch 8.0.1246
22054Problem: Popup test has an arbitrary delay.
22055Solution: Wait for the ruler to show. (James McCoy)
22056Files: src/testdir/test_popup.vim
22057
22058Patch 8.0.1247
22059Problem: Not easy to find Debian build info.
22060Solution: Add a badge in the README file. (Dominique Pelle)
22061Files: README.md
22062
22063Patch 8.0.1248 (after 8.0.1247)
22064Problem: Stray + in README file.
22065Solution: Remove the +. Add a line break.
22066Files: README.md
22067
22068Patch 8.0.1249
22069Problem: No error when WaitFor() gets an invalid wrong expression.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022070Solution: Do not ignore errors in evaluation of the expression. Fix places
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022071 where the expression was wrong.
22072Files: src/testdir/shared.vim, src/testdir/test_netbeans.vim
22073
22074Patch 8.0.1250
22075Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill)
22076Solution: Redraw all windows. Start search at the end of the match. Improve
22077 how CTRL-G works with incremental search. Add tests. (Christian
22078 Brabandt, Hirohito Higashi, haya14busa, closes #2267)
22079Files: runtime/doc/options.txt, src/ex_getln.c,
22080 src/testdir/test_search.vim
22081
22082Patch 8.0.1251 (after 8.0.1249)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022083Problem: Invalid expression passed to WaitFor().
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022084Solution: Check if the variable exists.
22085Files: src/testdir/test_clientserver.vim
22086
22087Patch 8.0.1252
22088Problem: Incomplete translations makefile for MinGW/Cygwin.
22089Solution: Add missing source files. Make it work with msys2's bash. (Ken
22090 Takata)
22091Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak
22092
22093Patch 8.0.1253
22094Problem: Still too many old style tests.
22095Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22096 closes #2272)
22097Files: src/Makefile, src/testdir/Make_all.mak,
22098 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
22099 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
22100 src/testdir/main.aap, src/testdir/test12.in,
22101 src/testdir/test12.ok, src/testdir/test40.in,
22102 src/testdir/test40.ok, src/testdir/test45.in,
22103 src/testdir/test45.ok, src/testdir/test83.in,
22104 src/testdir/test83.ok, src/testdir/test_autocmd.vim,
22105 src/testdir/test_fold.vim, src/testdir/test_swap.vim,
22106 src/testdir/test_tagjump.vim
22107
22108Patch 8.0.1254
22109Problem: Undefined left shift in gethexchrs(). (geeknik)
22110Solution: Use unsigned long. (idea by Christian Brabandt, closes #2255)
22111Files: src/regexp.c, src/regexp_nfa.c
22112
22113
22114Patch 8.0.1255 (after 8.0.1248)
22115Problem: duplicate badge README file.
22116Solution: Remove one. (Dominique Pelle)
22117Files: README.md
22118
22119Patch 8.0.1256
22120Problem: Typo in configure variable vim_cv_tgent. (Matthieu Guillard)
22121Solution: Rename the variable. (closes #2281)
22122Files: src/configure.ac, src/auto/configure
22123
22124Patch 8.0.1257 (after 8.0.1254)
22125Problem: No test for fix of undefined behavior.
22126Solution: Add a test. (closes #2255)
22127Files: src/testdir/test_search.vim
22128
22129Patch 8.0.1258
22130Problem: 'ttymouse' is set to "sgr" even though it's not supported. (Gary
22131 Johnson)
22132Solution: Adjust #ifdef
22133Files: src/term.c
22134
22135Patch 8.0.1259
22136Problem: Search test can be flaky.
22137Solution: Use WaitFor() instead of a delay. Make it possible to pass a
22138 funcref to WaitFor() to avoid the need for global variables.
22139 (James McCoy, closes #2282)
22140Files: src/testdir/shared.vim, src/testdir/test_search.vim
22141
22142Patch 8.0.1260 (after 8.0.1259)
22143Problem: Using global variables for WaitFor().
22144Solution: Use a lambda function instead. Don't check a condition if
22145 WaitFor() already checked it.
22146Files: src/testdir/test_popup.vim, src/testdir/test_terminal.vim,
22147 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
22148 src/testdir/test_job_fails.vim, src/testdir/test_quotestar.vim
22149
22150Patch 8.0.1261
22151Problem: Program in terminal window gets NL instead of CR. (Lifepillar)
22152Solution: Check the tty setup more often. (closes #1998)
22153Files: src/terminal.c
22154
22155Patch 8.0.1262
22156Problem: Terminal redir test is flaky.
22157Solution: Add it to the list of flaky tests.
22158Files: src/testdir/runtest.vim
22159
22160Patch 8.0.1263
22161Problem: Others can read the swap file if a user is careless with his
22162 primary group.
22163Solution: If the group permission allows for reading but the world
22164 permissions doesn't, make sure the group is right.
22165Files: src/fileio.c, src/testdir/test_swap.vim, src/Makefile
22166
22167Patch 8.0.1264
22168Problem: Terminal debugger gets stuck in small window.
22169Solution: Add "-quiet" to the gdb command. (Christian Brabandt, closes #2154)
22170Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
22171
22172Patch 8.0.1265 (after 8.0.1263)
22173Problem: Swap test not skipped when there is one group.
22174Solution: Convert list to string for the message.
22175Files: src/testdir/test_swap.vim
22176
22177Patch 8.0.1266 (after 8.0.1263)
22178Problem: Test_swap_directory was accidentally commented out.
22179Solution: Uncomment the test.
22180Files: src/testdir/test_swap.vim
22181
22182Patch 8.0.1267 (after 8.0.1263)
22183Problem: Test_swap_group may leave file behind.
22184Solution: Add a try/finally.
22185Files: src/testdir/test_swap.vim, src/testdir/test_undo.vim
22186
22187Patch 8.0.1268
22188Problem: PC install instructions are incomplete.
22189Solution: Update the instructions. (Ken Takata)
22190Files: src/INSTALLpc.txt
22191
22192Patch 8.0.1269
22193Problem: Effect of autocommands on marks is not tested.
22194Solution: Add a couple of tests. (James McCoy, closes #2271)
22195Files: src/testdir/test_autocmd.vim
22196
22197Patch 8.0.1270
22198Problem: Mismatching file name with Filelist.
22199Solution: Rename color_ramp.vim to xterm_ramp.vim
22200Files: src/testdir/color_ramp.vim, src/testdir/xterm_ramp.vim
22201
22202Patch 8.0.1271
22203Problem: Still too many old style tests.
22204Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22205 closes #2290)
22206Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
22207 src/testdir/sautest/autoload/footest.vim, src/testdir/test55.in,
22208 src/testdir/test55.ok, src/testdir/test_changelist.in,
22209 src/testdir/test_changelist.ok, src/testdir/test_fold.vim,
22210 src/testdir/test_ins_complete.vim,
22211 src/testdir/test_insertcount.in, src/testdir/test_insertcount.ok,
22212 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
22213 src/testdir/test_search.vim, src/testdir/test_search_mbyte.in
22214
22215Patch 8.0.1272
22216Problem: Warnings for unused variables in tiny build.
22217Solution: Add #ifdef. (Dominique Pelle, closes #2288)
22218Files: src/term.c
22219
22220Patch 8.0.1273 (after 8.0.1271)
22221Problem: Old test file remaining.
22222Solution: Delete it.
22223Files: src/testdir/test_search_mbyte.ok
22224
22225Patch 8.0.1274
22226Problem: setbufline() fails when using folding.
22227Solution: Set "curwin" if needed. (Ozaki Kiichi, closes #2293)
22228Files: src/evalfunc.c, src/testdir/test_bufline.vim
22229
22230Patch 8.0.1275
22231Problem: CmdlineLeave autocmd prevents fold from opening. (Waivek)
22232Solution: Save and restore KeyTyped. (closes #2305)
22233Files: src/fileio.c
22234
22235Patch 8.0.1276
22236Problem: Typed key is lost when the terminal window is closed in exit
22237 callback. (Gabriel Barta)
22238Solution: When the current window changes bail out of the wait loop. (closes
22239 #2302)
22240Files: src/misc2.c, src/terminal.c
22241
22242Patch 8.0.1277
22243Problem: Terminal window CR-NL conversions may cause problems.
22244Solution: Avoid most conversions, only fetch the current backspace key value
22245 from the tty. (mostly by Ozaki Kiichi, closes #2278)
22246Files: src/terminal.c
22247
22248Patch 8.0.1278
22249Problem: GUI window always resizes when adding/removing a scrollbar,
22250 toolbar, etc.
22251Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and
22252 change the number of lines/columns instead. (Ychin, closes #703)
22253Files: runtime/doc/options.txt, src/gui.c, src/gui_gtk_x11.c,
22254 src/gui_w32.c, src/option.h
22255
22256Patch 8.0.1279
22257Problem: Initializing menus can be slow, especially when there are many
22258 keymaps, color schemes, etc.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022259Solution: Do the globbing for runtime files lazily. (Ken Takata)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022260Files: runtime/doc/gui.txt, runtime/menu.vim
22261
22262Patch 8.0.1280
22263Problem: Python None cannot be converted to a Vim type.
22264Solution: Convert it to v:none. (Ken Takata)
22265Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok,
22266 runtime/doc/if_pyth.txt
22267
22268Patch 8.0.1281
22269Problem: Loading file type detection slows down startup.
22270Solution: Move functions to an autoload script.
22271Files: runtime/filetype.vim, runtime/autoload/filetype.vim,
22272 runtime/scripts.vim
22273
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022274Patch 8.0.1282 (after 8.0.1281)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022275Problem: script-local variable defined in the wrong script
22276Solution: Move variable to autoload/filetype.vim.
22277Files: runtime/filetype.vim, runtime/autoload/filetype.vim
22278
22279Patch 8.0.1283
22280Problem: Test 86 fails under ASAN.
22281Solution: Fix that an item was added to a dictionary twice.
22282Files: src/if_py_both.h
22283
22284Patch 8.0.1284
22285Problem: Loading file type detection slows down startup.
22286Solution: Store the last pattern of an autocommand event to make appending
22287 quicker.
22288Files: src/fileio.c
22289
22290Patch 8.0.1285
22291Problem: Distributed autoload files may clash with user files. (Andy
22292 Wokula)
22293Solution: Use the "autoload/dist" directory.
22294Files: runtime/filetype.vim, runtime/autoload/filetype.vim,
22295 runtime/autoload/dist/ft.vim, runtime/scripts.vim, Filelist,
22296 src/Makefile, nsis/gvim.nsi
22297
22298Patch 8.0.1286
22299Problem: Occasional crash when using a channel. (Marek)
22300Solution: Decrement reference count later. (closes #2315)
22301Files: src/channel.c
22302
22303Patch 8.0.1287
22304Problem: The temp file used when updating the viminfo file may have the
22305 wrong permissions if setting the group fails.
22306Solution: Check if the group matches and reduce permissions if not.
22307Files: src/ex_cmds.c
22308
22309Patch 8.0.1288
22310Problem: GUI: cannot drag the statusline of a terminal window.
22311Solution: Handle the TERMINAL state. (Hirohito Higashi)
22312Files: src/gui.c
22313
22314Patch 8.0.1289
22315Problem: Mkview always includes the local directory.
22316Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes
22317 #2316)
22318Files: runtime/doc/options.txt, runtime/doc/starting.txt, src/ex_docmd.c,
22319 src/option.c
22320
22321Patch 8.0.1290
22322Problem: seq_cur of undotree() wrong after undo.
22323Solution: Get the actual sequence number instead of decrementing the current
22324 one. (Ozaki Kiichi, closes #2319)
22325Files: src/undo.c, src/testdir/test_undo.vim
22326
22327Patch 8.0.1291
22328Problem: C indent wrong when * immediately follows comment. (John Bowler)
22329Solution: Do not see "/*" after "*" as a comment start. (closes #2321)
22330Files: src/search.c, src/testdir/test3.in, src/testdir/test3.ok
22331
22332Patch 8.0.1292
22333Problem: Quick clicks in the WinBar start Visual mode.
22334Solution: Use a double click in the WinBar like a normal click.
22335Files: src/ui.c
22336
22337Patch 8.0.1293
22338Problem: Setting a breakpoint in the terminal debugger sometimes fails.
22339Solution: Interrupt the program if needed. Set the interface to async.
22340Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
22341 runtime/doc/terminal.txt
22342
22343Patch 8.0.1294
22344Problem: GUI: get stuck when splitting a terminal window.
22345Solution: Stop blinking when values become zero. (Hirohito Higashi)
22346Files: src/gui.c
22347
22348Patch 8.0.1295
22349Problem: Cannot automatically get a server name in a terminal.
22350Solution: Add the --enable-autoservername flag to configure. (Cimbali,
22351 closes #2317)
22352Files: runtime/doc/eval.txt, runtime/doc/various.txt, src/config.h.in,
22353 src/configure.ac, src/auto/configure, src/evalfunc.c,
22354 src/feature.h, src/main.c, src/version.c, src/Makefile
22355
22356Patch 8.0.1296 (after 8.0.1294)
22357Problem: Checking the same condition twice. (John Marriott)
22358Solution: Check blinkwait.
22359Files: src/gui.c
22360
22361Patch 8.0.1297
22362Problem: +autoservername does not show enabled on MS-Windows.
22363Solution: Always define the flag on MS-Windows. (Ken Takata)
22364Files: src/feature.h
22365
22366Patch 8.0.1298
22367Problem: Missing test file.
22368Solution: Add samples/test000. (Christian Brabandt)
22369Files: src/testdir/samples/test000, Filelist
22370
22371Patch 8.0.1299
22372Problem: Bracketed paste does not work well in terminal window.
22373Solution: Send translated string to job right away. (Ozaki Kiichi, closes
22374 #2341)
22375Files: src/terminal.c
22376
22377Patch 8.0.1300
22378Problem: File permissions may end up wrong when writing.
22379Solution: Use fchmod() instead of chmod() when possible. Don't truncate
22380 until we know we can change the file.
22381Files: src/os_unix.c, src/proto/os_unix.pro, src/configure.ac,
22382 src/auto/configure, src/config.h.in, src/fileio.c
22383
22384Patch 8.0.1301
22385Problem: Generated license file for NSIS has a modeline.
22386Solution: Adjust the pattern for sed. (Ken Takata)
22387Files: runtime/doc/Makefile
22388
22389Patch 8.0.1302
22390Problem: Still too many old style tests.
22391Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
22392 closes #2326)
22393Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
22394 src/testdir/Make_vms.mms, src/testdir/runtest.vim,
22395 src/testdir/test68.in, src/testdir/test68.ok,
22396 src/testdir/test73.in, src/testdir/test73.ok,
22397 src/testdir/test_close_count.in, src/testdir/test_close_count.ok,
22398 src/testdir/test_close_count.vim,
22399 src/testdir/test_erasebackword.in,
22400 src/testdir/test_erasebackword.ok,
22401 src/testdir/test_erasebackword.vim,
22402 src/testdir/test_find_complete.vim, src/testdir/test_fixeol.in,
22403 src/testdir/test_fixeol.ok, src/testdir/test_fixeol.vim,
22404 src/testdir/test_listchars.in, src/testdir/test_listchars.ok,
22405 src/testdir/test_listchars.vim, src/testdir/test_textformat.vim
22406
22407Patch 8.0.1303
22408Problem: 'ttymouse' is not set to "sgr" for Terminal.app and Iterm2.
22409Solution: Recognize Iterm2 by the termresponse.
22410Files: src/term.c
22411
22412Patch 8.0.1304
22413Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern.
22414Solution: Use the last search pattern. (Christian Brabandt, closes #2292)
22415Files: src/ex_getln.c, src/proto/search.pro, src/search.c,
22416 src/testdir/test_search.vim
22417
22418Patch 8.0.1305
22419Problem: Writefile() never calls fsync().
22420Solution: Follow the 'fsync' option with override to enable or disable.
22421Files: src/fileio.c, src/evalfunc.c, runtime/doc/eval.txt, src/globals.h,
22422 src/testdir/test_writefile.vim
22423
22424Patch 8.0.1306
22425Problem: ASAN error stack trace is not useful.
22426Solution: Add "asan_symbolize". (James McCoy, closes #2344)
22427Files: .travis.yml
22428
22429Patch 8.0.1307 (after 8.0.1300)
22430Problem: Compiler warning for ignoring return value of ftruncate(). (Tony
22431 Mechelynck)
22432Solution: Assign returned value to "ignore".
22433Files: src/fileio.c
22434
22435Patch 8.0.1308
22436Problem: The "Reading from stdin" message may be undesired and there is no
22437 easy way to skip it.
22438Solution: Don't show the message with --not-a-term was used.
22439Files: src/fileio.c
22440
22441Patch 8.0.1309
22442Problem: Cannot use 'balloonexpr' in a terminal.
22443Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
22444 terminal. Initial implementation for Unix with GUI.
22445Files: src/option.c, src/option.h, src/os_unix.c, src/proto/os_unix.pro,
22446 src/feature.h, src/misc2.c, src/keymap.h, src/edit.c,
22447 src/ex_getln.c, src/message.c, src/misc1.c, src/normal.c,
22448 src/terminal.c, src/getchar.c, src/ex_cmds2.c, src/gui_beval.c,
22449 src/proto/gui_beval.pro, src/evalfunc.c, src/popupmnu.c,
22450 src/proto/popupmnu.pro, src/version.c, src/globals.h, src/gui.c,
22451 runtime/doc/options.txt, src/term.c,
22452 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
22453
22454Patch 8.0.1310
22455Problem: Cproto generates errors because of missing type.
22456Solution: Define _Float128 when generating prototypes.
22457Files: src/vim.h
22458
22459Patch 8.0.1311
22460Problem: No test for strpart().
22461Solution: Add a test. (Dominique Pelle, closes #2347)
22462Files: src/testdir/test_functions.vim
22463
22464Patch 8.0.1312 (after 8.0.1309)
22465Problem: balloon_show() only works in terminal when compiled with the GUI.
22466Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
22467 specific file.
22468Files: src/feature.h, src/evalfunc.c, src/gui.c, src/gui_athena.c,
22469 src/gui_beval.c, src/proto/gui_beval.pro, src/beval.c,
22470 src/proto/beval.pro, src/gui_motif.c, src/gui_w32.c,
22471 src/gui_x11.c, src/integration.c, src/workshop.c, src/menu.c,
22472 src/netbeans.c, src/option.c, src/os_unix.c, src/os_win32.c,
22473 src/syntax.c, src/version.c, src/gui.h, src/gui_beval.h,
22474 src/vim.h, src/beval.h, src/option.h, src/ex_cmds2.c, src/ui.c,
22475 src/getchar.c, src/normal.c, src/popupmnu.c, src/globals.h,
22476 src/Makefile, src/Make_cyg_ming.mak, src/Make_mvc.mak,
22477 src/Make_vms.mms, Filelist
22478
22479Patch 8.0.1313 (after 8.0.1312)
22480Problem: Missing dependencies cause parallel make to fail.
22481Solution: Update dependencies.
22482Files: src/Makefile
22483
22484Patch 8.0.1314 (after 8.0.1312)
22485Problem: Build fails on Mac. (chdiza)
22486Solution: Add #ifdef around GUI fields.
22487Files: src/beval.h
22488
22489Patch 8.0.1315 (after 8.0.1312)
22490Problem: Build still fails on Mac. (chdiza)
22491Solution: Remove bogus typedef.
22492Files: src/os_macosx.m
22493
22494Patch 8.0.1316 (after 8.0.1312)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022495Problem: Build still fails on Mac. (chdiza)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022496Solution: Remove another bogus typedef.
22497Files: src/os_mac_conv.c
22498
22499Patch 8.0.1317
22500Problem: Accessing freed memory in term_wait(). (Dominique Pelle)
22501Solution: Check that the buffer still exists.
22502Files: src/terminal.c
22503
22504Patch 8.0.1318
22505Problem: Terminal balloon only shows one line.
22506Solution: Split into several lines in a clever way. Add balloon_split().
22507 Make balloon_show() accept a list in the terminal.
22508Files: src/popupmnu.c, src/proto/popupmnu.pro, src/evalfunc.c,
22509 src/beval.c, src/proto/beval.pro, src/testdir/test_popup.vim,
22510 runtime/doc/eval.txt,
22511 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
22512
22513Patch 8.0.1319
22514Problem: Can't build GUI on MS-Windows.
22515Solution: Don't define the balloon_split() function in a GUI-only build.
22516Files: src/evalfunc.c, runtime/doc/eval.txt
22517
22518Patch 8.0.1320
22519Problem: Popup test fails on GUI-only build.
22520Solution: Don't test balloon_split() when it's not available.
22521Files: src/testdir/test_popup.vim
22522
22523Patch 8.0.1321
22524Problem: Can't build huge version with Athena. (Mark Kelly)
22525Solution: Move including beval.h to before structs.h. Include beval.pro like
22526 other proto files.
22527Files: src/vim.h, src/beval.h, src/proto.h
22528
22529Patch 8.0.1322
22530Problem: Textformat test isn't run. (Yegappan Lakshmanan)
22531Solution: Add target to the list of tests.
22532Files: src/testdir/Make_all.mak
22533
22534Patch 8.0.1323
22535Problem: Mouse events in a terminal window may cause endless loop.
22536Solution: Adjust position computation. Don't stuff a mouse event when
22537 coming from normal_cmd().
22538Files: src/normal.c, src/terminal.c
22539
22540Patch 8.0.1324
22541Problem: Some xterm sends different mouse move codes.
22542Solution: Also accept 0x80 as a move event.
22543Files: src/term.c
22544
22545Patch 8.0.1325
22546Problem: More tests are not run.
22547Solution: Add targets to the list of tests. (Yegappan Lakshmanan)
22548Files: src/testdir/Make_all.mak
22549
22550Patch 8.0.1326
22551Problem: Largefile test fails on CI, glob test on MS-Windows.
22552Solution: Remove largefile test from list of all tests. Don't run
22553 Test_glob() on non-unix systems. More cleanup. (Yegappan
22554 Lakshmanan, closes #2354)
22555Files: src/testdir/Make_all.mak, src/testdir/test_escaped_glob.vim,
22556 src/testdir/test_plus_arg_edit.vim
22557
22558Patch 8.0.1327
22559Problem: New proto file missing from distribution.
22560Solution: Add it. (closes #2355)
22561Files: Filelist
22562
22563Patch 8.0.1328
22564Problem: Trouble when using ":term ++close" with autocmd. (Gabriel Barta)
22565Solution: Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf.
22566 (closes #2339)
22567Files: src/terminal.c, src/testdir/test_terminal.vim
22568
22569Patch 8.0.1329
22570Problem: When a flaky test fails it also often fails the second time.
22571Solution: Sleep a couple of seconds before the second try.
22572Files: src/testdir/runtest.vim
22573
22574Patch 8.0.1330
22575Problem: MS-Windows: job in terminal can't get back to Vim.
22576Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes
22577 #2360)
22578Files: runtime/doc/terminal.txt, src/os_win32.c, src/proto/os_win32.pro,
22579 src/terminal.c, src/testdir/test_terminal.vim
22580
22581Patch 8.0.1331
22582Problem: Possible crash when window can be zero lines high. (Joseph
22583 Dornisch)
22584Solution: Only set w_fraction if the window is at least two lines high.
22585Files: src/window.c
22586
22587Patch 8.0.1332
22588Problem: Highlighting in quickfix window could be better. (Axel Bender)
22589Solution: Use the qfSeparator highlight item. (Yegappan Lakshmanan)
22590Files: src/quickfix.c
22591
22592Patch 8.0.1333
22593Problem: Some tests are run twice.
22594Solution: Invoked most utf8 tests only from test_alot_utf8. (Yegappan
22595 Lakshmanan, closes #2369)
22596Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
22597 src/testdir/test_mksession_utf8.vim
22598
22599Patch 8.0.1334
22600Problem: Splitting a window with a WinBar damages window layout.
22601 (Lifepillar)
22602Solution: Take the winbar into account when computing the new window
22603 position. Add WINBAR_HEIGHT().
22604Files: src/vim.h, src/window.c
22605
22606Patch 8.0.1335
22607Problem: Writefile() using fsync() may give an error for a device.
22608 (Yasuhiro Matsumoto)
22609Solution: Ignore fsync() failing. (closes #2373)
22610Files: src/evalfunc.c
22611
22612Patch 8.0.1336
22613Problem: Cannot use imactivatefunc() unless compiled with +xim.
22614Solution: Allow using imactivatefunc() when not compiled with +xim.
22615 (Yasuhiro Matsumoto, closes #2349)
22616Files: runtime/doc/options.txt, runtime/doc/mbyte.txt, src/mbyte.c,
22617 src/option.c, src/option.h, src/structs.h,
22618 src/testdir/test_iminsert.vim, src/Makefile,
22619 src/testdir/Make_all.mak, src/vim.h
22620
22621Patch 8.0.1337 (after 8.0.1336)
22622Problem: Typo in #ifdef.
22623Solution: Fix the #if line.
22624Files: src/mbyte.c
22625
22626Patch 8.0.1338 (after 8.0.1337)
22627Problem: USE_IM_CONTROL is confusing and incomplete.
22628Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
22629Files: src/vim.h, src/edit.c, src/ex_getln.c, src/getchar.c, src/gui.c,
22630 src/gui_mac.c, src/gui_w32.c, src/mbyte.c, src/normal.c,
22631 src/option.c, src/ui.c, src/globals.h, src/option.h
22632
22633Patch 8.0.1339
22634Problem: No test for what 8.0.1335 fixes.
22635Solution: Add a test. (Yasuhiro Matsumoto, closes #2373)
22636Files: src/testdir/test_writefile.vim
22637
22638Patch 8.0.1340
22639Problem: MS-Windows: cannot build GUI without IME.
22640Solution: Define im_get_status() and im_set_active() when IME is not used.
22641Files: src/mbyte.c
22642
22643Patch 8.0.1341
22644Problem: 'imactivatefunc' test fails on MS-Windows.
22645Solution: Skip the text.
22646Files: src/testdir/test_iminsert.vim, runtime/doc/options.txt
22647
22648Patch 8.0.1342
22649Problem: Cannot build with Motif and multi-byte. (Mohamed Boughaba)
22650Solution: Use the right input method status flag. (closes #2374)
22651Files: src/mbyte.c
22652
22653Patch 8.0.1343
22654Problem: MS-Windows: does not show colored emojis.
22655Solution: Implement colored emojis. Improve drawing speed. Make 'taamode'
22656 work. (Taro Muraoka, Yasuhiro Matsumoto, Ken Takata, close #2375)
22657Files: appveyor.yml, runtime/doc/options.txt, src/gui_dwrite.cpp,
22658 src/gui_dwrite.h, src/gui_w32.c, src/proto/gui_w32.pro
22659
22660Patch 8.0.1344
22661Problem: Using 'imactivatefunc' in the GUI does not work.
22662Solution: Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI.
22663Files: runtime/doc/options.txt, src/mbyte.c,
22664 src/testdir/test_iminsert.vim
22665
22666Patch 8.0.1345
22667Problem: Race condition between stat() and open() for the viminfo temp
22668 file. (Simon Ruderich)
22669Solution: use open() with O_EXCL to atomically check if the file exists.
22670 Don't try using a temp file, renaming it will fail anyway.
22671Files: src/ex_cmds.c
22672
22673Patch 8.0.1346
22674Problem: Crash when passing 50 char string to balloon_split().
22675Solution: Fix off-by-one error.
22676Files: src/testdir/test_popup.vim, src/popupmnu.c
22677
22678Patch 8.0.1347
22679Problem: MS-Windows: build broken by misplaced curly.
22680Solution: Move curly after #endif.
22681Files: src/ex_cmds.c
22682
22683Patch 8.0.1348
22684Problem: Make testclean deletes script file on MS-Windows.
22685Solution: Rename file to avoid it starting with an "x".
22686Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim, Filelist
22687
22688Patch 8.0.1349
22689Problem: Options test fails when using Motif or GTK GUI.
22690Solution: Use "fixed" instead of "fixedsys" for Unix. Don't try "xxx" for
22691 guifonteset. Don't set 'termencoding' to anything but "utf-8" for
22692 GTK. Give an error if 'termencoding' can't be converted.
22693Files: src/testdir/gen_opt_test.vim, src/option.c
22694
22695Patch 8.0.1350
22696Problem: Cannot build with +eval and -multi_byte.
22697Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte
22698 feature when an input method feature is enabled.
22699Files: src/mbyte.c, src/feature.h
22700
22701Patch 8.0.1351
22702Problem: Warning for unused variables building with MinGW.
22703Solution: Change a few #ifdefs (suggested by John Marriott). Remove
22704 superfluous checks of FEAT_MBYTE.
22705Files: src/gui_w32.c
22706
22707Patch 8.0.1352
22708Problem: Dead URLs in the help go unnoticed.
22709Solution: Add a script to check URLs in the help files. (Christian Brabandt)
22710Files: runtime/doc/Makefile, runtime/doc/test_urls.vim, Filelist
22711
22712Patch 8.0.1353
22713Problem: QuickFixCmdPost is not used consistently.
22714Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre.
22715 (Yegappan Lakshmanan, closes #2377)
22716Files: src/quickfix.c, src/testdir/test_quickfix.vim
22717
22718Patch 8.0.1354
22719Problem: Shift-Insert doesn't always work in MS-Windows console.
22720Solution: Handle K_NUL differently. (Yasuhiro Matsumoto, closes #2381)
22721Files: src/os_win32.c
22722
22723Patch 8.0.1355 (after 8.0.1354)
22724Problem: Cursor keys don't work in MS-Windows console.
22725Solution: Revert the previous patch. Also delete dead code.
22726Files: src/os_win32.c
22727
22728Patch 8.0.1356
22729Problem: Using simalt in a GUIEnter autocommand inserts strange characters.
22730 (Chih-Long Chang)
22731Solution: Ignore K_NOP in Insert mode. (closes #2379)
22732Files: src/edit.c, src/ex_getln.c
22733
22734Patch 8.0.1357
22735Problem: Startup test fails on OpenBSD. (Edd Barrett)
22736Solution: Check for "BSD" instead of "FreeBSD" being defined. (James McCoy,
22737 closes #2376, closes #2378)
22738Files: src/vim.h
22739
22740Patch 8.0.1358
22741Problem: Undercurl is not used in the terminal. (Kovid Goyal)
22742Solution: Only fall back to underline when undercurl highlighting is not
22743 defined. (closes #1306)
22744Files: src/screen.c
22745
22746Patch 8.0.1359
22747Problem: Libvterm ANSI colors can not always be recognized from the RGB
22748 values. The default color is wrong when t_RB is empty.
22749Solution: Add the ANSI color index to VTermColor.
22750Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
22751 src/terminal.c
22752
22753Patch 8.0.1360
22754Problem: The Terminal highlighting doesn't work in a terminal. (Ozaki
22755 Kiichi)
22756Solution: Use the Terminal highlighting when the cterm index is zero.
22757Files: src/terminal.c
22758
22759Patch 8.0.1361
22760Problem: Some users don't want to diff with hidden buffers.
22761Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394)
22762Files: runtime/doc/options.txt, src/buffer.c, src/diff.c,
22763 src/proto/diff.pro, src/testdir/test_diffmode.vim
22764
22765Patch 8.0.1362
22766Problem: Terminal window colors wrong when using Terminal highlighting.
22767Solution: Set ansi_index when setting the default color. Also cache the
22768 color index for Terminal. (Ozaki Kiichi, closes #2393)
22769Files: src/libvterm/src/pen.c, src/proto/terminal.pro, src/syntax.c,
22770 src/terminal.c
22771
22772Patch 8.0.1363
22773Problem: Recovering does not work when swap file ends in .stz.
22774Solution: Check for all possible swap file names. (Elfling, closes #2395,
22775 closes #2396)
22776Files: src/memline.c
22777
22778Patch 8.0.1364
22779Problem: There is no easy way to get the window position.
22780Solution: Add win_screenpos().
22781Files: src/evalfunc.c, src/testdir/test_window_cmd.vim,
22782 runtime/doc/eval.txt
22783
22784Patch 8.0.1365
22785Problem: When one channel test fails others fail as well.
22786Solution: Stop the job after a failure. Also add a couple of tests to the
22787 list of flaky tests.
22788Files: src/testdir/test_channel.vim, src/testdir/runtest.vim
22789
22790Patch 8.0.1366
22791Problem: Balloon shows when cursor is in WinBar.
22792Solution: Don't show the balloon when row is negative.
22793Files: src/beval.c
22794
22795Patch 8.0.1367
22796Problem: terminal test hangs, executing abcde. (Stucki)
22797Solution: Rename abcde to abxde.
22798Files: src/testdir/test_terminal.vim
22799
22800Patch 8.0.1368
22801Problem: Cannot drag status line or vertical separator of new terminal
22802 window. (UncleBill)
22803Solution: Adjust mouse row and column computation. (Yasuhiro Matsumoto,
22804 closes #2410)
22805Files: src/terminal.c
22806
22807Patch 8.0.1369
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022808Problem: MS-Windows: drawing underline, curl and strikethrough is slow,
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022809 mFallbackDC not properly updated.
22810Solution: Several performance improvements. (Ken Takata, Taro Muraoka,
22811 Yasuhiro Matsumoto, closes #2401)
22812Files: runtime/doc/options.txt, src/gui_dwrite.cpp, src/gui_dwrite.h,
22813 src/gui_w32.c
22814
22815Patch 8.0.1370
22816Problem: Channel test for callback is flaky.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022817Solution: Add the test to the list of flaky tests.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022818Files: src/testdir/runtest.vim
22819
22820Patch 8.0.1371
22821Problem: Shift-Insert doesn't always work in MS-Windows console.
22822Solution: Handle K_NUL differently if the second character is more than one
22823 byte. (Yasuhiro Matsumoto, closes #2381)
22824Files: src/os_win32.c
22825
22826Patch 8.0.1372
22827Problem: Profile log may be truncated halfway a character.
22828Solution: Find the start of the character. (Ozaki Kiichi, closes #2385)
22829Files: src/ex_cmds2.c, src/testdir/test_profile.vim
22830
22831Patch 8.0.1373
Bram Moolenaar259f26a2018-05-15 22:25:40 +020022832Problem: No error when setting 'renderoptions' to an invalid value before
Bram Moolenaareb3dc872018-05-13 22:34:24 +020022833 starting the GUI.
22834Solution: Always check the value. (Ken Takata, closes #2413)
22835Files: src/gui_w32.c, src/option.c
22836
22837Patch 8.0.1374
22838Problem: CTRL-A does not work with an empty line. (Alex)
22839Solution: Decrement the end only once. (Hirohito Higashi, closes #2387)
22840Files: src/ops.c, src/testdir/test_increment.vim
22841
22842Patch 8.0.1375
22843Problem: Window size wrong after maximizing with WinBar. (Lifepillar)
22844Solution: Fix height computations. Redraw window when it is zero height but
22845 has a WinBar. (closes #2356)
22846Files: src/window.c, src/screen.c, src/vim.h
22847
22848Patch 8.0.1376
22849Problem: Cursor in terminal not always updated.
22850Solution: Call gui_mch_flush(). (Ken Takata)
22851Files: src/terminal.c
22852
22853Patch 8.0.1377
22854Problem: Cannot call a dict function in autoloaded dict.
22855Solution: Call get_lval() passing the read-only flag.
22856Files: src/userfunc.c, src/eval.c, src/testdir/sautest/autoload/foo.vim,
22857 src/testdir/sautest/autoload/globone.vim,
22858 src/testdir/sautest/autoload/globtwo.vim,
22859 src/testdir/test_escaped_glob.vim, src/Makefile,
22860 src/testdir/test_autoload.vim, src/Makefile,
22861 src/testdir/Make_all.mak
22862
22863Patch 8.0.1378
22864Problem: Autoload script sources itself when defining function.
22865Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
22866 Matsumoto, closes #2423)
22867Files: src/userfunc.c, src/testdir/test_autoload.vim,
22868 src/testdir/sautest/autoload/sourced.vim
22869
22870Patch 8.0.1379
22871Problem: Configure check for selinux does not check for header file.
22872Solution: Add an AC_CHECK_HEADER(). (Benny Siegert)
22873Files: src/configure.ac, src/auto/configure
22874
22875Patch 8.0.1380
22876Problem: When recovering a file with "vim -r swapfile" the hit-enter prompt
22877 is at the top of the window.
22878Solution: Invalidate the cursor position.
22879Files: src/term.c
22880
22881Patch 8.0.1381
22882Problem: ch_readraw() waits for NL if channel mode is NL.
22883Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto)
22884Files: src/channel.c, src/proto/channel.pro,
22885 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py
22886
22887Patch 8.0.1382
22888Problem: Get "no write since last change" message if a terminal is open.
22889 (Fritz mehner)
22890Solution: Don't consider a buffer changed if it's a terminal window.
22891Files: src/ex_cmds.c, src/undo.c, src/proto/undo.pro
22892
22893Patch 8.0.1383
22894Problem: Local additions in help skips some files. (joshklod)
22895Solution: Check the base file name length equals.
22896Files: src/ex_cmds.c, src/testdir/test_help.vim
22897
22898Patch 8.0.1384
22899Problem: Not enough quickfix help; confusing winid.
22900Solution: Add more examples in the help. When the quickfix window is not
22901 present, return zero for getqflist() with 'winid'. Add more tests
22902 for jumping to quickfix list entries. (Yegappan Lakshmanan, closes
22903 #2427)
22904Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c,
22905 src/testdir/test_quickfix.vim
22906
22907Patch 8.0.1385
22908Problem: Python 3.5 is getting old.
22909Solution: Make Python 3.6 the default. (Ken Takata, closes #2429)
22910Files: runtime/doc/if_pyth.txt, src/INSTALLpc.txt, src/Make_cyg_ming.mak,
22911 src/Make_mvc.mak, src/bigvim.bat
22912
22913Patch 8.0.1386
22914Problem: Cannot select modified buffers with getbufinfo().
22915Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes #2431)
22916Files: runtime/doc/eval.txt, src/evalfunc.c,
22917 src/testdir/test_bufwintabinfo.vim
22918
22919Patch 8.0.1387
22920Problem: Wordcount test is old style.
22921Solution: Change into a new style test. (Yegappan Lakshmanan, closes #2434)
22922Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak,
22923 src/testdir/Make_vms.mms, src/testdir/test_wordcount.in,
22924 src/testdir/test_wordcount.ok, src/testdir/test_wordcount.vim
22925
22926Patch 8.0.1388
22927Problem: Char not overwritten with ambiguous width char, if the ambiguous
22928 char is single width but we reserve double-width space.
22929Solution: First clear the screen cells. (Ozaki Kiichi, closes #2436)
22930Files: src/screen.c
22931
22932Patch 8.0.1389
22933Problem: getqflist() items are missing if not set, that makes it more
22934 difficult to handle the values.
22935Solution: When a value is not available return zero or another invalid
22936 value. (Yegappan Lakshmanan, closes #2430)
22937Files: runtime/doc/eval.txt, src/quickfix.c,
22938 src/testdir/test_quickfix.vim
22939
22940Patch 8.0.1390
22941Problem: DirectX scrolling can be slow, vertical positioning is off.
22942Solution: Make scroll slightly faster when using "scrlines:1". Fix y
22943 position of displayed text. Fix DirectX with non-utf8 encoding.
22944 (Ken Takata, closes #2440)
22945Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
22946 src/gui_dwrite.cpp, src/gui_w32.c
22947
22948Patch 8.0.1391
22949Problem: Encoding empty string to JSON sometimes gives "null".
22950Solution: Handle NULL string as empty string. (closes #2446)
22951Files: src/testdir/test_json.vim, src/json.c
22952
22953Patch 8.0.1392
22954Problem: Build fails with --with-features=huge --disable-channel.
22955Solution: Don't enable the terminal feature when the channel feature is
22956 missing. (Dominique Pelle, closes #2453)
22957Files: src/configure.ac, src/auto/configure
22958
22959Patch 8.0.1393
22960Problem: Too much highlighting with 'hlsearch' and 'incsearch' set.
22961Solution: Do not highlight matches when the pattern matches everything.
22962Files: src/ex_getln.c
22963
22964Patch 8.0.1394
22965Problem: Cannot intercept a yank command.
22966Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
22967 closes #2333)
22968Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/dict.c,
22969 src/eval.c, src/fileio.c, src/ops.c, src/proto/dict.pro,
22970 src/proto/eval.pro, src/proto/fileio.pro,
22971 src/testdir/test_autocmd.vim, src/vim.h
22972
22973Patch 8.0.1395
22974Problem: It is not easy to see if a colorscheme is well written.
22975Solution: Add a script that checks for common mistakes. (Christian Brabandt)
22976Files: runtime/colors/check_colors.vim, runtime/colors/README.txt
22977
22978Patch 8.0.1396
22979Problem: Memory leak when CTRL-G in search command line fails.
22980Solution: Move restore_last_search_pattern to after "if".
22981Files: src/ex_getln.c
22982
22983Patch 8.0.1397
22984Problem: Pattern with \& following nothing gives an error.
22985Solution: Emit an empty node when needed.
22986Files: src/regexp_nfa.c, src/testdir/test_search.vim
22987
22988Patch 8.0.1398
22989Problem: :packadd does not load packages from the "start" directory.
22990 (Alejandro Hernandez)
22991Solution: Make :packadd look in the "start" directory if those packages were
22992 not loaded on startup.
22993Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
22994
22995Patch 8.0.1399
22996Problem: Warnings and errors when building tiny version. (Tony Mechelynck)
22997Solution: Add #ifdefs.
22998Files: src/ex_getln.c, src/ops.c
22999
23000Patch 8.0.1400
23001Problem: Color scheme check script shows up as color scheme.
23002Solution: Move it to the "tools" subdirectory. (closes #2457)
23003Files: Filelist, runtime/colors/check_colors.vim,
23004 runtime/colors/tools/check_colors.vim, runtime/colors/README.txt
23005
23006Patch 8.0.1401
23007Problem: Cannot build with GTK but without XIM. (Guido)
23008Solution: Adjust #ifdef. (closes #2461)
23009Files: src/gui.c
23010
23011Patch 8.0.1402
23012Problem: Crash with nasty autocommand. (gy741, Dominique Pelle)
23013Solution: Check that the new current buffer isn't wiped out. (closes #2447)
23014Files: src/buffer.c, src/testdir/test_autocmd.vim
23015
23016Patch 8.0.1403
23017Problem: Using freed buffer in grep command. (gy741, Dominique Pelle)
23018Solution: Lock the dummy buffer to avoid autocommands wiping it out.
23019Files: src/quickfix.c, src/testdir/test_autocmd.vim
23020
23021Patch 8.0.1404
23022Problem: Invalid memory access on exit when autocommands wipe out a buffer.
23023 (gy741, Dominique Pelle)
23024Solution: Check if the buffer is still valid. (closes #2449)
23025Files: src/main.c
23026
23027Patch 8.0.1405
23028Problem: Duplicated code for getting a typed character. CursorHold is
23029 called too often in the GUI. (lilydjwg)
23030Solution: Refactor code to move code up from mch_inchar(). Don't fire
23031 CursorHold if feedkeys() was used. (closes #2451)
23032Files: src/gui.c, src/proto/gui.pro, src/main.c, src/ui.c,
23033 src/proto/ui.pro, src/os_unix.c
23034
23035Patch 8.0.1406
23036Problem: Difficult to track changes to a quickfix list.
23037Solution: Add a "changedtick" value. (Yegappan Lakshmanan, closes #2460)
23038Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c,
23039 src/testdir/test_quickfix.vim
23040
23041Patch 8.0.1407
23042Problem: GUI: CursorHold may trigger before 'updatetime' when using timers.
23043Solution: Check that 'updatetime' has passed.
23044Files: src/gui.c
23045
23046Patch 8.0.1408
23047Problem: Crash in setqflist().
23048Solution: Check for string to be NULL. (Dominique Pelle, closes #2464)
23049Files: src/quickfix.c, src/testdir/test_quickfix.vim
23050
23051Patch 8.0.1409
23052Problem: Buffer overflow in :tags command.
23053Solution: Use vim_snprintf(). (Dominique Pelle, closes #2471, closes #2475)
23054 Add a test.
23055Files: src/testdir/test_taglist.vim, src/tag.c
23056
23057Patch 8.0.1410
23058Problem: Hang when using count() with an empty string.
23059Solution: Return zero for an empty string. (Dominique Pelle, closes #2465)
23060Files: runtime/doc/eval.txt, src/evalfunc.c,
23061 src/testdir/test_functions.vim
23062
23063Patch 8.0.1411
23064Problem: Reading invalid memory with CTRL-W :.
23065Solution: Correct the command characters. (closes #2469)
23066Files: src/normal.c, src/testdir/test_window_cmd.vim, src/ops.c
23067
23068Patch 8.0.1412
23069Problem: Using free memory using setloclist(). (Dominique Pelle)
23070Solution: Mark location list context as still in use when needed. (Yegappan
23071 Lakshmanan, closes #2462)
23072Files: src/quickfix.c, src/testdir/test_quickfix.vim
23073
23074Patch 8.0.1413
23075Problem: Accessing freed memory in :cbuffer.
23076Solution: Get quickfix list after executing autocmds. (closes #2470)
23077Files: src/quickfix.c, src/testdir/test_autocmd.vim
23078
23079Patch 8.0.1414
23080Problem: Accessing freed memory in :lfile.
23081Solution: Get the current window after executing autocommands. (Yegappan
23082 Lakshmanan, closes #2473)
23083Files: src/quickfix.c, src/testdir/test_quickfix.vim
23084
23085Patch 8.0.1415
23086Problem: Warning for unused function without timers feature.
23087Solution: Add #ifdef. (John Marriott)
23088Files: src/gui.c
23089
23090Patch 8.0.1416
23091Problem: Crash when searching for a sentence.
23092Solution: Return NUL when getting character at MAXCOL. (closes #2468)
23093Files: src/misc1.c, src/misc2.c, src/testdir/test_search.vim,
23094 src/ex_docmd.c
23095
23096Patch 8.0.1417
23097Problem: Test doesn't search for a sentence. Still fails when searching for
23098 start of sentence. (Dominique Pelle)
23099Solution: Add paren. Check for MAXCOL in dec().
23100Files: src/testdir/test_search.vim, src/misc2.c
23101
23102Patch 8.0.1418
23103Problem: No test for expanding backticks.
23104Solution: Add a test. (Dominique Pelle, closes #2479)
23105Files: src/testdir/test_normal.vim
23106
23107Patch 8.0.1419
23108Problem: Cursor column is not updated after ]s. (Gary Johnson)
23109Solution: Set the curswant flag.
23110Files: src/testdir/test_spell.vim, src/normal.c, src/evalfunc.c
23111
23112Patch 8.0.1420
23113Problem: Accessing freed memory in vimgrep.
23114Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan,
23115 closes #2474)
23116Files: src/quickfix.c, src/testdir/test_autocmd.vim,
23117 src/testdir/test_quickfix.vim
23118
23119Patch 8.0.1421
23120Problem: Accessing invalid memory with overlong byte sequence.
23121Solution: Check for NUL character. (test by Dominique Pelle, closes #2485)
23122Files: src/misc2.c, src/testdir/test_functions.vim
23123
23124Patch 8.0.1422
23125Problem: No fallback to underline when undercurl is not set. (Ben Jackson)
23126Solution: Check for the value to be empty instead of NULL. (closes #2424)
23127Files: src/screen.c
23128
23129Patch 8.0.1423
23130Problem: Error in return not caught by try/catch.
23131Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes #2483)
23132Files: src/testdir/test_eval.in, src/testdir/test_eval_stuff.vim,
23133 src/Makefile, src/testdir/Make_all.mak, src/userfunc.c
23134
23135Patch 8.0.1424
23136Problem: The timer_pause test is flaky on Travis.
23137Solution: Accept a longer sleep time on Mac.
23138Files: src/testdir/test_timers.vim
23139
23140Patch 8.0.1425
23141Problem: execute() does not work in completion of user command. (thinca)
23142Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492)
23143Files: src/evalfunc.c, src/testdir/test_usercommands.vim
23144
23145Patch 8.0.1426
23146Problem: "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok)
23147Solution: Check for a URL and allow for extra characters. (closes #2493)
23148Files: src/window.c, src/testdir/test_gf.vim
23149
23150Patch 8.0.1427
23151Problem: The :leftabove modifier doesn't work for :copen.
23152Solution: Respect the split modifier. (Yegappan Lakshmanan, closes #2496)
23153Files: src/quickfix.c, src/testdir/test_quickfix.vim
23154
23155Patch 8.0.1428
23156Problem: Compiler warning on 64 bit MS-Windows system.
23157Solution: Change type from "int" to "size_t". (Mike Williams)
23158Files: src/ex_getln.c
23159
23160Patch 8.0.1429
23161Problem: Crash when calling term_start() with empty argument.
23162Solution: Check for invalid argument. (Yasuhiro Matsomoto, closes #2503)
23163 Fix memory leak.
23164Files: src/terminal.c, src/testdir/test_terminal.vim
23165
23166Patch 8.0.1430 (after 8.0.1429)
23167Problem: Crash when term_start() fails.
23168Solution: Initialize winpty_err.
23169Files: src/terminal.c
23170
23171Patch 8.0.1431
23172Problem: MS-Windows: vimtutor fails if %TMP% has special chars.
23173Solution: Add quotes. (Tamce, closes #2561)
23174Files: vimtutor.bat
23175
23176Patch 8.0.1432
23177Problem: After ":copen" can't get the window-ID of the quickfix window.
23178 (FalacerSelene)
23179Solution: Make it work without a quickfix list. Add a test. (Yegappan
23180 Lakshmanan, closes #2541)
23181Files: src/quickfix.c, src/testdir/test_quickfix.vim
23182
23183Patch 8.0.1433
23184Problem: Illegal memory access after undo. (Dominique Pelle)
23185Solution: Avoid the column becomes negative. (Christian Brabandt,
23186 closes #2533)
23187Files: src/mbyte.c, src/testdir/test_undo.vim
23188
23189Patch 8.0.1434
23190Problem: GTK: :promtfind does not put focus on text input. (Adam Novak)
23191Solution: When re-opening the dialog put focus on the text input. (Kazunobu
23192 Kuriyama, closes #2563)
23193Files: src/gui_gtk.c
23194
23195Patch 8.0.1435
23196Problem: Memory leak in test_arabic.
23197Solution: Free the from and to parts. (Christian Brabandt, closes #2569)
23198Files: src/buffer.c, src/digraph.c, src/proto/digraph.pro
23199
23200Patch 8.0.1436
23201Problem: Not enough information about what Python version may work.
23202Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and
23203 "python3_dynamic" values for has().
23204Files: src/evalfunc.c, runtime/doc/eval.txt
23205
23206Patch 8.0.1437
23207Problem: Pkg-config doesn't work with cross compiling.
23208Solution: Use AC_PATH_TOOL() instead of AC_PATH_PROG(). (James McCoy,
23209 closes #2513)
23210Files: src/configure.ac, src/auto/configure
23211
23212Patch 8.0.1438
23213Problem: Filetype detection test not updated for change.
23214Solution: Update the test.
23215Files: src/testdir/test_filetype.vim
23216
23217Patch 8.0.1439
23218Problem: If cscope fails a search Vim may hang.
23219Solution: Bail out when a search error is encountered. (Safouane Baroudi,
23220 closes #2598)
23221Files: src/if_cscope.c
23222
23223Patch 8.0.1440
23224Problem: Terminal window: some vterm responses are delayed.
23225Solution: After writing input. check if there is output to read. (Ozaki
23226 Kiichi, closes #2594)
23227Files: src/terminal.c, src/testdir/test_search.vim,
23228 src/testdir/test_terminal.vim
23229
23230Patch 8.0.1441
23231Problem: Using ":undo 0" leaves undo in wrong state.
23232Solution: Instead of searching for state 1 and go above, just use the start.
23233 (Ozaki Kiichi, closes #2595)
23234Files: src/undo.c, src/testdir/test_undo.vim
23235
23236Patch 8.0.1442 (after 8.0.1439)
23237Problem: Using pointer before it is set.
23238Solution: Search in whole buffer instead of next token.
23239Files: src/if_cscope.c
23240
23241Patch 8.0.1443 (after 8.0.1441)
23242Problem: Compiler complains about uninitialized variable. (Tony Mechelynck)
23243Solution: Assign a value to the variable.
23244Files: src/undo.c
23245
23246Patch 8.0.1444
23247Problem: Missing -D_FILE_OFFSET_BITS=64 may cause problems if a library is
23248 compiled with it.
23249Solution: Include -D_FILE_OFFSET_BITS if some CFLAGS has it. (James McCoy,
23250 closes #2600)
23251Files: src/configure.ac, src/auto/configure
23252
23253Patch 8.0.1445
23254Problem: Cannot act on edits in the command line.
23255Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603,
23256 closes #2524)
23257Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c,
23258 src/testdir/test_autocmd.vim, src/vim.h
23259
23260Patch 8.0.1446
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023261Problem: Accessing freed memory after window command in auto command.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023262 (gy741)
23263Solution: Adjust the pointer in the parent frame. (Christian Brabandt,
23264 closes #2467)
23265Files: src/window.c, src/testdir/test_window_cmd.vim
23266
23267Patch 8.0.1447
23268Problem: Still too many old style tests.
23269Solution: Turn a few tests into new style. (Yegappan Lakshmanan,
23270 closes #2509)
23271Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
23272 src/testdir/main.aap, src/testdir/test15.in,
23273 src/testdir/test15.ok, src/testdir/test36.in,
23274 src/testdir/test36.ok, src/testdir/test50.in,
23275 src/testdir/test50.ok, src/testdir/test_regex_char_classes.vim,
23276 src/testdir/test_shortpathname.vim,
23277 src/testdir/test_textformat.vim
23278
23279Patch 8.0.1448
23280Problem: Segmentation fault when Ruby throws an exception inside :rubyfile
23281 command.
23282Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa,
23283 closes #2147, greywolf, closes #2512, #2511)
23284Files: src/if_ruby.c, src/testdir/test_ruby.vim
23285
23286Patch 8.0.1449
23287Problem: Slow redrawing with DirectX.
23288Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
23289 updating the cursor. (Ken Takata, closes #2560)
23290Files: runtime/doc/options.txt, src/channel.c, src/edit.c, src/getchar.c,
23291 src/gui.c, src/gui_dwrite.cpp, src/gui_dwrite.h, src/gui_w32.c,
23292 src/macros.h, src/main.c, src/message.c, src/netbeans.c,
23293 src/proto/gui.pro, src/proto/term.pro, src/screen.c, src/search.c,
23294 src/term.c, src/ui.c
23295
23296Patch 8.0.1450
23297Problem: Endless loop when gui_mch_stop_blink() is called while blink_state
23298 is BLINK_OFF. (zdohnal)
23299Solution: Avoid calling gui_update_cursor() recursively.
23300Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro,
23301 src/gui_mac.c, src/proto/gui_mac.pro, src/gui_photon.c,
23302 src/proto/gui_photon.pro, src/gui_w32.c, src/proto/gui_w32.pro,
23303 src/gui_x11.c, src/proto/gui_x11.pro
23304
23305Patch 8.0.1451
23306Problem: It is difficult to set the python home directory properly for
23307 Python 2.7 and 3.5 since both use $PYTHONHOME.
23308Solution: Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki
23309 Sakamoto, closes #1266)
23310Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
23311 runtime/optwin.vim, src/if_python.c, src/if_python3.c,
23312 src/option.c, src/option.h
23313
23314Patch 8.0.1452
23315Problem: Terminal test fails on some systems. (jonathonf)
23316Solution: Use "cat" instead of Python to produce the input. Add a delay.
23317 (closes #2607)
23318Files: src/testdir/test_terminal.vim
23319
23320Patch 8.0.1453
23321Problem: Terminal test fails on some slow terminals.
23322Solution: Increase timeout to 10 seconds.
23323Files: src/testdir/test_terminal.vim
23324
23325Patch 8.0.1454
23326Problem: When in silent mode too much output is buffered.
23327Solution: Use line buffering instead of fully buffered. (Brian M. Carlson,
23328 closes #2537)
23329Files: src/main.c
23330
23331Patch 8.0.1455
23332Problem: If $SHELL contains a space then the default value of 'shell' is
23333 incorrect. (Matthew Horan)
23334Solution: Escape spaces in $SHELL. (Christian Brabandt, closes #459)
23335Files: src/option.c, runtime/doc/options.txt,
23336 src/testdir/test_startup.vim
23337
23338Patch 8.0.1456
23339Problem: Timer test on travis Mac is still flaky.
23340Solution: Increase time range a bit more.
23341Files: src/testdir/test_timers.vim
23342
23343Patch 8.0.1457
23344Problem: Clojure now supports a shebang line.
23345Solution: Detect clojure script from the shebang line. (David Burgin,
23346 closes #2570)
23347Files: runtime/scripts.vim
23348
23349Patch 8.0.1458
23350Problem: Filetype detection test does not check all scripts.
23351Solution: Add most scripts to the test
23352Files: src/testdir/test_filetype.vim
23353
23354Patch 8.0.1459
23355Problem: Cannot handle change of directory.
23356Solution: Add the DirChanged autocommand event. (Andy Massimino,
23357 closes #888) Avoid changing directory for 'autochdir' too often.
23358Files: runtime/doc/autocmd.txt, src/buffer.c, src/ex_docmd.c,
23359 src/fileio.c, src/main.c, src/vim.h, src/proto/misc2.pro,
23360 src/gui_mac.c, src/netbeans.c, src/os_win32.c,
23361 src/testdir/test_autocmd.vim
23362
23363Patch 8.0.1460 (after 8.0.1459)
23364Problem: Missing file in patch.
23365Solution: Add changes to missing file.
23366Files: src/misc2.c
23367
23368Patch 8.0.1461 (after 8.0.1459)
23369Problem: Missing another file in patch.
23370Solution: Add changes to missing file.
23371Files: src/ex_cmds.c
23372
23373Patch 8.0.1462 (after 8.0.1459)
23374Problem: Missing yet another file in patch.
23375Solution: Add changes to missing file.
23376Files: src/gui.c
23377
23378Patch 8.0.1463
23379Problem: Test fails without 'autochdir' option.
23380Solution: Skip test if 'autochdir' is not supported.
23381Files: src/testdir/test_autocmd.vim
23382
23383Patch 8.0.1464
23384Problem: Completing directory after :find does not add slash.
23385Solution: Adjust the flags for globpath(). (Genki Sky)
23386Files: src/misc1.c, src/testdir/test_find_complete.vim
23387
23388Patch 8.0.1465
23389Problem: Python2 and python3 detection not tested. (Matej Cepl)
23390Solution: Add test for detecting python2 and python3. Also detect a script
23391 using "js" as javascript.
23392Files: runtime/scripts.vim, src/testdir/test_filetype.vim
23393
23394Patch 8.0.1466
23395Problem: Older GTK versions don't have gtk_entry_get_text_length().
23396Solution: Add a function with #ifdefs to take care of GTK version
23397 differences. (Kazunobu Kuriyama, closes #2605)
23398Files: src/gui_gtk.c
23399
23400Patch 8.0.1467
23401Problem: Libvterm doesn't handle illegal byte sequence correctly.
23402Solution: After the invalid code check if there is space to store another
23403 character. Allocate one more character. (zhykzhykzhyk, closes
23404 #2614, closes #2613)
23405Files: src/libvterm/src/encoding.c, src/libvterm/src/state.c
23406
23407Patch 8.0.1468
23408Problem: Illegal memory access in del_bytes().
23409Solution: Check for negative byte count. (Christian Brabandt, closes #2466)
23410Files: src/message.c, src/misc1.c
23411
23412Patch 8.0.1469
23413Problem: When package path is a symlink adding it to 'runtimepath' happens
23414 at the end.
23415Solution: Do not resolve symlinks before locating the position in
23416 'runtimepath'. (Ozaki Kiichi, closes #2604)
23417Files: src/ex_cmds2.c, src/testdir/test_packadd.vim
23418
23419Patch 8.0.1470
23420Problem: Integer overflow when using regexp pattern. (geeknik)
23421Solution: Use a long instead of int. (Christian Brabandt, closes #2251)
23422Files: src/regexp_nfa.c
23423
23424Patch 8.0.1471 (after 8.0.1401)
23425Problem: On MS-Windows CursorIM highlighting no longer works.
23426Solution: Adjust #if statements. (Ken Takata)
23427Files: src/gui.c
23428
23429Patch 8.0.1472
23430Problem: MS-Windows: nsis installer is a bit slow.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023431Solution: Use ReserveFile for vimrc.ini. (Ken Takata, closes #2522)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023432Files: nsis/gvim.nsi
23433
23434Patch 8.0.1473
23435Problem: MS-Windows: D&D fails between 32 and 64 bit apps.
23436Solution: Add the /HIGHENTROPYVA:NO linker option. (Ken Takata, closes #2504)
23437Files: src/Make_mvc.mak
23438
23439Patch 8.0.1474
23440Problem: Visual C 2017 has multiple MSVCVER numbers.
23441Solution: Assume the 2017 version if MSVCVER >= 1910. (Leonardo Valeri
23442 Manera, closes #2619)
23443Files: src/Make_mvc.mak
23444
23445Patch 8.0.1475
23446Problem: Invalid memory access in read_redo(). (gy741)
23447Solution: Convert the replacement character back from a negative number to
23448 CR or NL. (hint by Dominique Pelle, closes #2616)
23449Files: src/testdir/test_undo.vim, src/normal.c, src/vim.h, src/ops.c
23450
23451Patch 8.0.1476
23452Problem: Screen isn't always updated right away.
23453Solution: Adjust #ifdef: Call out_flush() when not running the GUI.
23454Files: src/screen.c
23455
23456Patch 8.0.1477
23457Problem: Redraw flicker when moving the mouse outside of terminal window.
23458Solution: Instead of updating the cursor color and shape every time leaving
23459 and entering a terminal window, only update when different from
23460 the previously used cursor.
23461Files: src/terminal.c
23462
23463Patch 8.0.1478
23464Problem: Unnecessary condition for "len" being zero.
23465Solution: Remove the condition. (Dominique Pelle)
23466Files: src/regexp_nfa.c
23467
23468Patch 8.0.1479
23469Problem: Insert mode completion state is confusing.
23470Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
23471Files: src/edit.c, src/globals.h, src/proto/edit.pro, src/search.c,
23472 src/getchar.c
23473
23474Patch 8.0.1480 (after 8.0.1479)
23475Problem: Patch missing change.
23476Solution: Add missing change.
23477Files: src/evalfunc.c
23478
23479Patch 8.0.1481
23480Problem: Clearing a pointer takes two lines.
23481Solution: Add vim_clear() to free and clear the pointer.
23482Files: src/misc2.c, src/proto/misc2.pro, src/edit.c
23483
23484Patch 8.0.1482
23485Problem: Using feedkeys() does not work to test Insert mode completion.
23486 (Lifepillar)
23487Solution: Do not check for typed keys when executing :normal or feedkeys().
23488 Fix thesaurus completion not working when 'complete' is empty.
23489Files: src/edit.c, src/testdir/test_ins_complete.vim,
23490 src/testdir/test_popup.vim, src/testdir/test_edit.vim
23491
23492Patch 8.0.1483
23493Problem: Searchpair() might return an invalid value on timeout.
23494Solution: When the second search times out, do not accept a match from the
23495 first search. (Daniel Hahler, closes #2552)
23496Files: src/search.c
23497
23498Patch 8.0.1484
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023499Problem: Redundant conditions.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023500Solution: Remove them. (Dominique Pelle)
23501Files: src/terminal.c
23502
23503Patch 8.0.1485
23504Problem: Weird autocmd may cause arglist to be changed recursively.
23505Solution: Prevent recursively changing the argument list. (Christian
23506 Brabandt, closes #2472)
23507Files: src/ex_docmd.c, src/globals.h
23508
23509Patch 8.0.1486
23510Problem: Accessing invalid memory with "it". (Dominique Pelle)
23511Solution: Avoid going over the end of the line. (Christian Brabandt,
23512 closes #2532)
23513Files: src/search.c, src/testdir/test_textobjects.vim
23514
23515Patch 8.0.1487 (after 8.0.1486)
23516Problem: Test 14 fails.
23517Solution: Fix of-by-one error.
23518Files: src/search.c
23519
23520Patch 8.0.1488 (after 8.0.1218)
23521Problem: Emacs tags no longer work. (zdohnal)
23522Solution: Do not skip over end of line.
23523Files: src/tag.c, src/testdir/test_tagjump.vim
23524
23525Patch 8.0.1489
23526Problem: There is no easy way to get the global directory, esp. if some
23527 windows have a local directory.
23528Solution: Make getcwd(-1) return the global directory. (Andy Massimino,
23529 closes #2606)
23530Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_getcwd.vim
23531
23532Patch 8.0.1490
23533Problem: Number of spell regions is spread out through the code.
23534Solution: Define MAXREGIONS.
23535Files: src/spell.h, src/spellfile.c
23536
23537Patch 8.0.1491
23538Problem: The minimum width of the popup menu is hard coded.
23539Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
23540 closes #2314)
23541Files: runtime/doc/options.txt, src/option.c, src/option.h,
23542 src/popupmnu.c
23543
23544Patch 8.0.1492
23545Problem: Memory leak in balloon_split().
23546Solution: Free the balloon lines. Free the balloon when exiting.
23547Files: src/misc2.c, src/evalfunc.c
23548
23549Patch 8.0.1493
23550Problem: Completion items cannot be annotated.
23551Solution: Add a "user_data" entry to the completion item. (Ben Jackson,
23552 coses #2608, closes #2508)
23553Files: runtime/doc/insert.txt, src/edit.c, src/structs.h,
23554 src/testdir/test_ins_complete.vim
23555
23556Patch 8.0.1494
23557Problem: No autocmd triggered in Insert mode with visible popup menu.
23558Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
23559 closes #2372, closes #1691)
23560 Fix that the TextChanged autocommands are not always triggered
23561 when sourcing a script.
23562Files: runtime/doc/autocmd.txt, src/edit.c, src/globals.h, src/structs.h,
23563 src/fileio.c, src/proto/fileio.pro, src/vim.h, src/main.c,
23564 src/testdir/test_autocmd.vim
23565
23566Patch 8.0.1495
23567Problem: Having 'pumwidth' default to zero has no merit.
23568Solution: Make the default 15, as the actual default value.
23569Files: src/popupmnu.c, src/option.c
23570
23571Patch 8.0.1496
23572Problem: Clearing a pointer takes two lines.
23573Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
23574 closes #2629)
23575Files: src/buffer.c, src/channel.c, src/crypt.c, src/edit.c, src/eval.c,
23576 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
23577 src/ex_getln.c, src/fileio.c, src/gui_gtk_x11.c, src/gui_photon.c,
23578 src/gui_w32.c, src/gui_x11.c, src/hardcopy.c, src/if_cscope.c,
23579 src/macros.h, src/main.c, src/mark.c, src/mbyte.c, src/memfile.c,
23580 src/memline.c, src/menu.c, src/message.c, src/misc1.c,
23581 src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c,
23582 src/option.c, src/os_amiga.c, src/os_mac_conv.c, src/os_mswin.c,
23583 src/os_unix.c, src/os_win32.c, src/popupmnu.c,
23584 src/proto/misc2.pro, src/quickfix.c, src/regexp.c,
23585 src/regexp_nfa.c, src/screen.c, src/search.c, src/spell.c,
23586 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c,
23587 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c, src/window.c
23588
23589Patch 8.0.1497
23590Problem: Getting the jump list requires parsing the output of :jumps.
23591Solution: Add getjumplist(). (Yegappan Lakshmanan, closes #2609)
23592Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/Makefile,
23593 src/evalfunc.c, src/list.c, src/proto/list.pro,
23594 src/testdir/Make_all.mak, src/testdir/test_jumplist.vim
23595
23596Patch 8.0.1498 (after 8.0.1497)
23597Problem: Getjumplist() returns duplicate entries. (lacygoill)
23598Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
23599Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro,
23600 src/testdir/test_jumplist.vim
23601
23602Patch 8.0.1499
23603Problem: Out-of-memory situation not correctly handled. (Coverity)
23604Solution: Check for NULL value.
23605Files: src/terminal.c
23606
23607Patch 8.0.1500
23608Problem: Possible NULL pointer dereference. (Coverity)
23609Solution: Check for the pointer not being NULL.
23610Files: src/quickfix.c
23611
23612Patch 8.0.1501
23613Problem: Out-of-memory situation not correctly handled. (Coverity)
23614Solution: Check for NULL value.
23615Files: src/ops.c
23616
23617Patch 8.0.1502
23618Problem: In out-of-memory situation character is not restored. (Coverity)
23619Solution: Restore the character in all situations.
23620Files: src/ex_getln.c
23621
23622Patch 8.0.1503
23623Problem: Access memory beyond end of string. (Coverity)
23624Solution: Keep allocated memory in separate pointer. Avoid outputting the
23625 NUL character.
23626Files: src/hardcopy.c
23627
23628Patch 8.0.1504
23629Problem: Win32: the screen may be cleared on startup.
23630Solution: Only call shell_resized() when the size actually changed. (Ken
23631 Takata, closes #2527)
23632Files: src/os_win32.c
23633
23634Patch 8.0.1505
23635Problem: Debugger can't break on a condition. (Charles Campbell)
23636Solution: Add ":breakadd expr". (Christian Brabandt, closes #859)
23637Files: runtime/doc/repeat.txt, src/eval.c, src/evalfunc.c,
23638 src/userfunc.c, src/ex_cmds2.c, src/ex_docmd.c,
23639 src/proto/eval.pro, src/proto/ex_cmds2.pro, src/structs.h
23640
23641Patch 8.0.1506
23642Problem: New version of HP NonStop (Tandem) doesn't like the default header
23643 for setenv().
23644Solution: Put a #ifdef around the setenv() entry. (Joachim Schmitz)
23645Files: src/osdef2.h.in
23646
23647Patch 8.0.1507
23648Problem: Timer test is a bit flaky.
23649Solution: Add it to the list of flaky tests.
23650Files: src/testdir/runtest.vim
23651
23652Patch 8.0.1508
23653Problem: The :drop command is not always available.
23654Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639)
23655Files: runtime/doc/windows.txt, src/ex_cmds.c, src/ex_cmds2.c,
23656 src/ex_docmd.c, src/testdir/test_normal.vim,
23657 src/testdir/test_tabpage.vim
23658
23659Patch 8.0.1509 (after 8.0.1508)
23660Problem: Test for failing drag-n-drop command no longer fails.
23661Solution: Check for the "dnd" feature.
23662Files: src/testdir/test_normal.vim
23663
23664Patch 8.0.1510
23665Problem: Cannot test if a command causes a beep.
23666Solution: Add assert_beeps().
23667Files: runtime/doc/eval.txt, src/evalfunc.c, src/eval.c,
23668 src/proto/eval.pro, src/misc1.c, src/globals.h,
23669 src/testdir/test_normal.vim, src/testdir/test_assert.vim
23670
23671Patch 8.0.1511 (after 8.0.1505)
23672Problem: Some code for the debugger watch expression is clumsy.
23673Solution: Clean up the code.
23674Files: src/ex_cmds2.c, src/eval.c, src/proto/eval.pro
23675
23676Patch 8.0.1512
23677Problem: Warning for possibly using NULL pointer. (Coverity)
23678Solution: Skip using the pointer if it's NULL.
23679Files: src/ex_cmds.c
23680
23681Patch 8.0.1513
23682Problem: The jumplist is not always properly cleaned up.
23683Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan)
23684Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro
23685
23686Patch 8.0.1514
23687Problem: Getting the list of changes is not easy.
23688Solution: Add the getchangelist() function. (Yegappan Lakshmanan,
23689 closes #2634)
23690Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
23691 src/testdir/Make_all.mak, src/testdir/test_changelist.vim,
23692 src/Makefile
23693
23694Patch 8.0.1515
23695Problem: BufWinEnter event fired when opening hidden terminal.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023696Solution: Do not fire BufWinEnter when the terminal is hidden and does not
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023697 open a window. (Kenta Sato, closes #2636)
23698Files: src/terminal.c
23699
23700Patch 8.0.1516
23701Problem: Errors for job options are not very specific.
23702Solution: Add more specific error messages.
23703Files: src/channel.c, src/globals.h
23704
23705Patch 8.0.1517
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023706Problem: Invalid memory access with pattern using look-behind match.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023707 (Dominique Pelle)
23708Solution: Get a pointer to the right line.
23709Files: src/regexp.c
23710
23711Patch 8.0.1518
23712Problem: Error messages suppressed after ":silent! try". (Ben Reilly)
23713Solution: Restore emsg_silent before executing :try. (closes #2531)
23714Files: src/ex_docmd.c, src/testdir/test_eval_stuff.vim
23715
23716Patch 8.0.1519
23717Problem: Getchangelist() does not use argument as bufname().
23718Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #2641)
23719Files: src/evalfunc.c, src/testdir/test_changelist.vim
23720
23721Patch 8.0.1520
23722Problem: Cursor is in the wrong line when using a WinBar in a Terminal
23723 window.
23724Solution: Adjust the row number. (Christian Brabandt, closes #2362)
23725Files: src/screen.c, src/terminal.c
23726
23727Patch 8.0.1521
23728Problem: Shift-Tab does not work in a terminal window.
23729Solution: Recognize Shift-Tab key press. (Jsees Luehrs, closes #2644)
23730Files: src/terminal.c
23731
23732Patch 8.0.1522 (after 8.0.1491)
23733Problem: Popup menu is positioned in the wrong place. (Davit Samvelyan,
23734 Boris Staletic)
23735Solution: Correct computation of the column and the conditions for that.
23736 (Hirohito Higashi, closes #2640)
23737Files: src/popupmnu.c
23738
23739Patch 8.0.1523
23740Problem: Cannot write and read terminal screendumps.
23741Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
23742 Also add assert_equalfile().
23743Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c,
23744 src/normal.c, src/eval.c, src/proto/eval.pro,
23745 runtime/doc/eval.txt, src/testdir/test_assert.vim
23746
23747Patch 8.0.1524 (after 8.0.1523)
23748Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
23749Solution: Initialize variables.
23750Files: src/terminal.c
23751
23752Patch 8.0.1525
23753Problem: Using :wqa exits even if a job runs in a terminal window. (Jason
23754 Felice)
23755Solution: Check if a terminal has a running job. (closes #2654)
23756Files: src/ex_cmds2.c, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c,
23757 src/testdir/test_terminal.vim
23758
23759Patch 8.0.1526
23760Problem: No test using a screen dump yet.
23761Solution: Add a test for C syntax highlighting. Add helper functions.
23762Files: src/terminal.c, src/testdir/test_syntax.vim,
23763 src/testdir/shared.vim, src/testdir/screendump.vim,
23764 src/testdir/dumps/Test_syntax_c_01.dump, runtime/doc/terminal.txt,
23765 src/testdir/README.txt
23766
23767Patch 8.0.1527 (after 8.0.1526)
23768Problem: Screen dump test fails on MS-Windows.
23769Solution: Skip dump test on MS-Windows for now.
23770Files: src/testdir/test_syntax.vim
23771
23772Patch 8.0.1528
23773Problem: Dead code found.
23774Solution: Remove the useless lines. (CodeAi, closes #2656)
23775Files: src/screen.c, src/spell.c, src/syntax.c, src/window.c
23776
23777Patch 8.0.1529
23778Problem: Assert_equalfile() does not close file descriptors. (Coverity)
23779Solution: Close the file descriptors.
23780Files: src/eval.c
23781
23782Patch 8.0.1530
23783Problem: Dump test fails when using a shadow directory.
23784Solution: Add the directory to the list of symlinks to make (Elimar
23785 Riesebieter)
23786Files: src/Makefile
23787
23788Patch 8.0.1531
23789Problem: Cannot use 24 bit colors in MS-Windows console.
23790Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takata,
23791 fixes #1270, fixes #2060)
23792Files: runtime/doc/options.txt, src/misc1.c, src/option.c,
23793 src/evalfunc.c, src/os_win32.c, src/proto/os_win32.pro,
23794 src/feature.h, src/proto/term.pro, src/screen.c, src/syntax.c,
23795 src/term.c, src/testdir/gen_opt_test.vim, src/version.c
23796
23797Patch 8.0.1532
23798Problem: Compiler warnings without termguicolors feature.
23799Solution: Add #ifdef. (John Marriott) Cleanup the code a bit.
23800Files: src/term.c
23801
23802Patch 8.0.1533
23803Problem: Libterm doesn't support requesting fg and bg color.
23804Solution: Implement t_RF and t_RB.
23805Files: src/libvterm/src/vterm_internal.h, src/libvterm/src/state.c,
23806 src/libvterm/src/vterm.c
23807
23808Patch 8.0.1534
23809Problem: C syntax test fails when using gvim
23810Solution: Force running in a terminal. Check that 'background' is correct
23811 even when $COLORFGBG is set.
23812Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim
23813
23814Patch 8.0.1535 (after 8.0.1534)
23815Problem: C syntax test still fails when using gvim.
23816Solution: Clear Normal cterm highlighting instead of setting it.
23817Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim,
23818 src/testdir/dumps/Test_syntax_c_01.dump
23819
23820Patch 8.0.1536
23821Problem: Quotestar test is flaky when using the GUI.
23822Solution: Add check that the star register arrived at the server. Increase
23823 timeouts.
23824Files: src/testdir/test_quotestar.vim
23825
23826Patch 8.0.1537
23827Problem: Xxd does not skip NUL lines when using ebcdic.
23828Solution: Check for a NUL before converting a character for ebcdic. (Tim
23829 Sell, closes #2668)
23830Files: src/xxd/xxd.c
23831
23832Patch 8.0.1538
23833Problem: Popupmenu is too far left when completion is long. (Linwei)
23834Solution: Adjust column computations. (Hirohito Higashi, closes #2661)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023835Files: src/popupmnu.c
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023836
23837Patch 8.0.1539
23838Problem: No test for the popup menu positioning.
23839Solution: Add a screendump test for the popup menu.
23840Files: src/terminal.c, src/testdir/test_syntax.vim,
23841 src/testdir/screendump.vim,
23842 src/testdir/test_popup.vim,
23843 src/testdir/dumps/Test_popup_position_01.dump,
23844 src/testdir/dumps/Test_popup_position_02.dump,
23845 src/testdir/dumps/Test_popup_position_03.dump,
23846 runtime/doc/eval.txt
23847
23848Patch 8.0.1540
23849Problem: Popup menu positioning fails with longer string.
23850Solution: Only align with right side of window when width is less than
23851 'pumwidth' (closes #2661)
23852Files: src/popupmnu.c, src/testdir/screendump.vim,
23853 src/testdir/test_popup.vim,
23854 src/testdir/dumps/Test_popup_position_04.dump
23855
23856Patch 8.0.1541
23857Problem: synpat_T is taking too much memory.
23858Solution: Reorder members to reduce padding. (Dominique Pelle, closes #2671)
23859Files: src/syntax.c
23860
23861Patch 8.0.1542
23862Problem: Terminal screen dump does not include cursor position.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023863Solution: Mark the cursor position in the dump.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023864Files: src/terminal.c,
23865 src/testdir/dumps/Test_popup_position_01.dump,
23866 src/testdir/dumps/Test_popup_position_02.dump,
23867 src/testdir/dumps/Test_popup_position_03.dump,
23868 src/testdir/dumps/Test_popup_position_04.dump,
23869 src/testdir/dumps/Test_syntax_c_01.dump
23870
23871Patch 8.0.1543
23872Problem: With 'termguicolors' Normal color doesn't work correctly.
23873Solution: Set cterm_normal_bg_gui_color and cterm_normal_fg_color always.
23874 (Kazunobu Kuriyama, closes #981, closes #2332)
23875Files: src/syntax.c
23876
23877Patch 8.0.1544
23878Problem: When using 'termguicolors' SpellBad doesn't show.
23879Solution: When the GUI colors are not set fall back to the cterm colors.
23880Files: src/syntax.c, src/screen.c, src/gui.h, src/structs.h
23881
23882Patch 8.0.1545
23883Problem: Screen dumps not included in distribution.
23884Solution: Add dumps to the list of distributed files.
23885Files: Filelist
23886
23887Patch 8.0.1546
23888Problem: Using feedkeys() in a terminal window may trigger mappings.
23889 (Charles Sheridan)
23890Solution: Avoid triggering a mapping when peeking for a key.
23891Files: src/getchar.c, src/terminal.c
23892
23893Patch 8.0.1547
23894Problem: Undo in the options window makes it empty.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023895Solution: Set 'undolevels' while filling the buffer. (Yasuhiro Matsumoto,
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023896 closes #2645)
23897Files: runtime/optwin.vim
23898
23899Patch 8.0.1548
23900Problem: Screen dump test script not included in distribution.
23901Solution: Add the script to the list of distributed files.
23902Files: Filelist
23903
23904Patch 8.0.1549
23905Problem: Various small problems in test files.
23906Solution: Include small changes.
23907Files: src/testdir/test_channel.py, src/testdir/shared.vim,
23908 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim
23909
23910Patch 8.0.1550
23911Problem: Various small problems in source files.
23912Solution: Fix the problems.
23913Files: src/README.txt, src/beval.c, src/json_test.c, src/mbyte.c,
23914 src/libvterm/include/vterm_keycodes.h, src/Makefile,
23915 src/gui_gtk.c, src/if_xcmdsrv.c, src/pty.c, src/if_python.c,
23916 src/if_py_both.h, uninstal.txt, src/dosinst.c, src/iscygpty.c,
23917 src/vimrun.c, src/os_vms.c
23918
23919Patch 8.0.1551
23920Problem: On Mac 'maxmemtot' is set to a weird value.
23921Solution: For Mac use total memory and subtract system memory. For other
23922 systems accept both a 32 bit and 64 bit result. (Ozaki Kiichi,
23923 closes #2646)
23924Files: src/os_unix.c
23925
23926Patch 8.0.1552
23927Problem: May leak file descriptors when executing job.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023928Solution: Close more file descriptors. (Ozaki Kiichi, closes #2651)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023929Files: src/os_unix.c, src/testdir/test_channel.vim
23930
23931Patch 8.0.1553
23932Problem: Cannot see what digraph is used to insert a character.
23933Solution: Show the digraph with the "ga" command. (Christian Brabandt)
23934Files: runtime/doc/various.txt, src/digraph.c, src/ex_cmds.c,
23935 src/proto/digraph.pro, src/testdir/shared.vim,
23936 src/testdir/test_matchadd_conceal.vim,
23937 src/testdir/test_digraph.vim, src/testdir/test_ga.vim,
23938 src/testdir/test_arabic.vim
23939
23940Patch 8.0.1554
23941Problem: Custom plugins loaded with --clean.
23942Solution: Do not include the home directory in 'runtimepath'.
23943Files: src/option.c, src/main.c, src/proto/option.pro, src/structs.h,
23944 src/os_unix.h, src/os_amiga.h, src/os_dos.h, src/os_mac.h,
23945 runtime/doc/starting.txt
23946
23947Patch 8.0.1555
23948Problem: Build error for some combination of features.
23949Solution: Declare variable in more situations.
23950Files: src/main.c
23951
23952Patch 8.0.1556
23953Problem: May not parse the t_RS response correctly, resulting in wrong
23954 characters in the input stream.
23955Solution: When the t_RS response is partly received wait for more
23956 characters.
23957Files: src/term.c
23958
23959Patch 8.0.1557
23960Problem: printf() does not work with only one argument. (Daniel Hahler)
23961Solution: Allow using just the format. (Ken Takata, closes #2687)
23962Files: src/evalfunc.c, src/testdir/test_expr.vim
23963
23964Patch 8.0.1558
23965Problem: No right-click menu in a terminal.
23966Solution: Implement the right click menu for the terminal.
23967Files: src/popupmnu.c, src/proto/popupmnu.pro, src/normal.c, src/menu.c,
23968 src/proto/menu.pro, src/feature.h
23969
23970Patch 8.0.1559
23971Problem: Build failure without GUI.
23972Solution: Adjust #ifdef for get_fpos_of_mouse().
23973Files: src/ui.c
23974
23975Patch 8.0.1560
23976Problem: Build failure without GUI on MS-Windows.
23977Solution: Adjust #ifdef for vcol2col().
23978Files: src/ui.c
23979
23980Patch 8.0.1561
Bram Moolenaar259f26a2018-05-15 22:25:40 +020023981Problem: Crash with rust syntax highlighting. (Edd Barrett)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020023982Solution: Avoid going past the end of an empty line.
23983Files: src/syntax.c
23984
23985Patch 8.0.1562
23986Problem: The terminal debugger can't set a breakpoint with the mouse.
23987Solution: Add popup menu entries.
23988Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
23989 runtime/doc/terminal.txt
23990
23991Patch 8.0.1563
23992Problem: Timeout of getwinposx() can be too short. (lilydjwg)
23993Solution: Add getwinpos(). (closes #2689)
23994Files: src/evalfunc.c, src/term.c, src/proto/term.pro, runtime/doc/eval.txt
23995
23996Patch 8.0.1564
23997Problem: Too many #ifdefs.
23998Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
23999 increases code size of tiny Vim by only 40 Kbyte.
24000Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c,
24001 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
24002 src/fileio.c, src/getchar.c, src/globals.h, src/gui.c,
24003 src/if_cscope.c, src/if_xcmdsrv.c, src/main.c, src/mbyte.c,
24004 src/memline.c, src/menu.c, src/misc1.c, src/gui_mac.c,
24005 src/misc2.c, src/move.c, src/netbeans.c, src/normal.c, src/ops.c,
24006 src/option.c, src/option.h, src/feature.h, src/vim.h,
24007 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
24008 src/quickfix.c, src/screen.c, src/search.c, src/spell.c,
24009 src/structs.h, src/syntax.c, src/tag.c, src/term.c,
24010 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c,
24011 src/version.c, src/window.c
24012
24013Patch 8.0.1565
24014Problem: Can't build Mac version without GUI.
24015Solution: Adjust when IME_WITHOUT_XIM is defined.
24016Files: src/vim.h
24017
24018Patch 8.0.1566
24019Problem: Too many #ifdefs.
24020Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
24021Files: src/buffer.c, src/diff.c, src/edit.c, src/evalfunc.c,
24022 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/gui.c,
24023 src/main.c, src/move.c, src/normal.c, src/option.c, src/term.c,
24024 src/version.c, src/window.c, src/globals.h, src/macros.h,
24025 src/option.h, src/structs.h
24026
24027Patch 8.0.1567
24028Problem: Cannot build Win32 GUI without IME. (John Marriott)
24029Solution: Adjust when IME_WITHOUT_XIM and HAVE_INPUT_METHOD are defined and
24030 use it in a few more places.
24031Files: src/vim.h, src/gui.c
24032
24033Patch 8.0.1568
24034Problem: Can't build on older Mac, header file is missing.
24035Solution: Remove the header file. (Ozaki Kiichi, closes #2691)
24036Files: src/os_unix.c
24037
24038Patch 8.0.1569
24039Problem: Warning for uninitialized variable from gcc.
24040Solution: Initialize the variable.
24041Files: src/quickfix.c
24042
24043Patch 8.0.1570
24044Problem: Can't use :popup for a menu in the terminal. (Wei Zhang)
24045Solution: Make :popup work in the terminal. Also fix that entries were
24046 included that don't work in the current state.
24047Files: src/ex_docmd.c, src/popupmnu.c, src/proto/popupmnu.pro,
24048 src/menu.c, src/proto/menu.pro
24049
24050Patch 8.0.1571 (after 8.0.1571)
24051Problem: Can't build without GUI.
24052Solution: Adjust #ifdef for gui_find_menu().
24053Files: src/menu.c
24054
24055Patch 8.0.1572
24056Problem: Mac: getting memory size doesn't work everywhere.
24057Solution: Use MACOS_X instead of MACOS_X_DARWIN. (Kazunobu Kuriyama)
24058Files: src/os_unix.c
24059
24060Patch 8.0.1573
24061Problem: getwinpos(1) may cause response to be handled as command.
24062Solution: Handle any cursor position report once one was request. (partly by
24063 Hirohito Higashi)
24064Files: src/term.c
24065
24066Patch 8.0.1574
24067Problem: Show cursor in wrong place when using popup menu. (Wei Zhang)
24068Solution: Force updating the cursor position. Fix skipping over unused
24069 entries.
24070Files: src/screen.c, src/proto/screen.pro, src/popupmnu.c
24071
24072Patch 8.0.1575
24073Problem: Crash when using virtual replace.
24074Solution: Adjust orig_line_count. Add more tests. (Christian Brabandt)
24075Files: src/edit.c, src/testdir/test_visual.vim
24076
24077Patch 8.0.1576
24078Problem: Perl VIM::Buffers() does not find every buffer.
24079Solution: Also find unlisted buffer by number or name. (Chris Weyl,
24080 closes #2692)
24081Files: src/if_perl.xs
24082
24083Patch 8.0.1577
24084Problem: Virtual replace test fails on MS-Windows.
24085Solution: Make adding a termcap entry work for a builtin terminal.
24086 Restore terminal keys in a better way.
24087Files: src/term.c, src/testdir/test_visual.vim
24088
24089Patch 8.0.1578
24090Problem: No test for :popup in terminal.
24091Solution: Add a screen dump test.
24092Files: src/testdir/test_popup.vim,
24093 src/testdir/dumps/Test_popup_command_01.dump,
24094 src/testdir/dumps/Test_popup_command_02.dump,
24095 src/testdir/dumps/Test_popup_command_03.dump
24096
24097Patch 8.0.1579
24098Problem: Virtual replace test fails in GUI.
24099Solution: Don't save key options if they were not set.
24100Files: src/testdir/test_visual.vim
24101
24102Patch 8.0.1580
24103Problem: FEAT_CURSORBIND and FEAT_SCROLLBIND are unused.
24104Solution: Delete them.
24105Files: src/feature.h
24106
24107Patch 8.0.1581
24108Problem: Cannot build Win32 GUI without +eval.
24109Solution: Define HAVE_INPUT_METHOD without +eval. (Ken Takata)
24110Files: src/vim.h
24111
24112Patch 8.0.1582
24113Problem: In the MS-Windows console mouse movement is not used.
24114Solution: Pass mouse movement events when useful.
24115Files: src/os_win32.c, src/proto/os_win32.pro, src/feature.h
24116
24117Patch 8.0.1583
24118Problem: Using C99 comment.
24119Solution: Use old style comment. (Kazunobu Kuriyama)
24120Files: src/quickfix.c
24121
24122Patch 8.0.1584
24123Problem: Using C99 in Mac file gives compiler warning messages.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024124Solution: Add #pragmas to avoid the warnings. (Kazunobu Kuriyama)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024125Files: src/os_macosx.m
24126
24127Patch 8.0.1585
24128Problem: Enabling beval_term feature in Win32 GUI.
24129Solution: Only enable beval_term in Win32 console.
24130Files: src/feature.h
24131
24132Patch 8.0.1586
24133Problem: Imactivatefunc does not work on non-GUI Mac.
24134Solution: Fix logic in #ifdef.
24135Files: src/vim.h
24136
24137Patch 8.0.1587
24138Problem: inserting from the clipboard doesn't work literally
24139Solution: When pasting from the * or + register always assume literally.
24140Files: src/ops.c, src/proto/ops.pro, src/testdir/test_paste.vim
24141
24142Patch 8.0.1588
24143Problem: Popup menu hangs after typing CTRL-C.
24144Solution: Make CTRL-C exit the loop. (Ozaki Kiichi, closes #2697)
24145Files: src/popupmnu.c
24146
24147Patch 8.0.1589
24148Problem: Error for setting 'modifiable' when resetting it.
24149Solution: Check if 'modifiable' was actually set.
24150Files: src/option.c
24151
24152Patch 8.0.1590
24153Problem: Padding in list type wastes memory.
24154Solution: Reorder struct members to optimize padding. (Dominique Pelle,
24155 closes #2704)
24156Files: src/structs.h
24157
24158Patch 8.0.1591
24159Problem: MS-Windows: when reparsing the arguments 'wildignore' matters.
24160Solution: Save and reset 'wildignore'. (Yasuhiro Matsumoto, closes #2702)
24161Files: src/os_win32.c
24162
24163Patch 8.0.1592
24164Problem: Terminal windows in a session are not properly restored.
24165Solution: Add "terminal" in 'sessionoptions'. When possible restore the
24166 command running in a terminal.
24167Files: src/option.c, src/option.h, src/ex_docmd.c, src/terminal.c,
24168 src/proto/terminal.pro, src/evalfunc.c, src/structs.h,
24169 src/channel.c, src/testdir/test_terminal.vim,
24170 src/testdir/shared.vim, src/testdir/test_mksession.vim
24171
24172Patch 8.0.1593
24173Problem: :qall never exits with an active terminal window.
24174Solution: Add a way to kill a job in a terminal window.
24175Files: src/ex_cmds2.c, src/terminal.c, src/proto/terminal.pro,
24176 src/structs.h, src/channel.c, src/evalfunc.c,
24177 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
24178 runtime/doc/eval.txt
24179
24180Patch 8.0.1594
24181Problem: :confirm qall not tested with active terminal window.
24182Solution: Add a test.
24183Files: src/testdir/test_terminal.vim
24184
24185Patch 8.0.1595
24186Problem: No autocommand triggered before exiting.
24187Solution: Add the ExitPre autocommand event.
24188Files: src/ex_docmd.c, src/fileio.c, src/vim.h,
24189 src/testdir/test_exit.vim, src/Makefile, src/testdir/Make_all.mak,
24190 runtime/doc/autocmd.txt
24191
24192Patch 8.0.1596
24193Problem: No autocommand specifically for opening a terminal window.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024194Solution: Add TerminalOpen. (Yasuhiro Matsumoto, closes #2484)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024195Files: runtime/doc/autocmd.txt, src/fileio.c, src/terminal.c,
24196 src/testdir/test_terminal.vim, src/vim.h
24197
24198Patch 8.0.1597
24199Problem: Autocommand events are not sorted.
24200Solution: Sort the autocommand events.
24201Files: src/vim.h
24202
24203Patch 8.0.1598
24204Problem: Cannot select text in a terminal with the mouse.
24205Solution: When a job in a terminal is not consuming mouse events, use them
24206 for modeless selection. Also stop Insert mode when clicking in a
24207 terminal window.
24208Files: src/libvterm/include/vterm.h, src/libvterm/src/state.c,
24209 src/libvterm/src/vterm_internal.h, src/terminal.c,
24210 src/proto/terminal.pro, src/ui.c
24211
24212Patch 8.0.1599
24213Problem: No error message when gdb does not support the terminal debugger.
24214Solution: Check for the response to open the Machine Interface.
24215Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
24216
24217Patch 8.0.1600
24218Problem: Crash when setting t_Co to zero when 'termguicolors' is set.
24219Solution: Use IS_CTERM instead of checking the number of colors.
24220 (closes #2710)
24221Files: src/screen.c, src/testdir/test_highlight.vim
24222
24223Patch 8.0.1601
24224Problem: Highlight test fails on Win32.
24225Solution: Check for vtp and vcon support.
24226Files: src/evalfunc.c, src/testdir/test_highlight.vim
24227
24228Patch 8.0.1602
24229Problem: Crash in parsing JSON.
24230Solution: Fail when using array or dict as dict key. (Damien)
24231Files: src/json.c, src/testdir/test_json.vim
24232
24233Patch 8.0.1603
24234Problem: Cannot build with +terminal but without +menu.
24235Solution: Add #ifdef. (Damien)
24236Files: src/terminal.c
24237
24238Patch 8.0.1604
24239Problem: Paste test may fail if $DISPLAY is not set.
24240Solution: Add WorkingClipboard() and use it in the paste test.
24241Files: src/testdir/shared.vim, src/testdir/test_paste.vim
24242
24243Patch 8.0.1605
24244Problem: Terminal test is a bit flaky.
24245Solution: Check for the shell prompt. Use more lambda functions.
24246Files: src/testdir/test_terminal.vim
24247
24248Patch 8.0.1606
24249Problem: Singular/plural variants not translated.
24250Solution: Add NGETTEXT argument to xgettext. (Sergey Alyoshin)
24251Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
24252 src/po/Makefile
24253
24254Patch 8.0.1607
24255Problem: --clean loads user settings from .gvimrc.
24256Solution: Behave like "-U NONE" was used. (Ken Takata)
24257Files: src/main.c, runtime/doc/starting.txt
24258
24259Patch 8.0.1608
24260Problem: Win32: directx not enabled by default.
24261Solution: Change Makefile to enable directx by default. (Ken Takata)
24262Files: runtime/doc/various.txt, src/Make_cyg_ming.mak,
24263 src/Make_mvc.mak
24264
24265Patch 8.0.1609
24266Problem: Shell commands in the GUI use a dumb terminal.
24267Solution: Add the "!" flag to 'guioptions' to execute system commands in a
24268 special terminal window. Only for Unix now.
24269Files: src/os_unix.c, src/option.h, src/evalfunc.c, src/terminal.c,
24270 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro,
24271 src/vim.h, runtime/doc/options.txt
24272
24273Patch 8.0.1610 (after 8.0.1609)
24274Problem: Cannot build without GUI.
24275Solution: Add #ifdef.
24276Files: src/terminal.c
24277
24278Patch 8.0.1611
24279Problem: CTRL-W in system terminal does not go to job.
24280Solution: Do not use CTRL-W as a terminal command in a system terminal.
24281Files: src/terminal.c
24282
24283Patch 8.0.1612
24284Problem: Need to close terminal after shell stopped.
24285Solution: Make :terminal without argument close the window by default.
24286Files: src/terminal.c, src/testdir/test_terminal.vim,
24287 runtime/doc/terminal.txt
24288
24289Patch 8.0.1613
24290Problem: Warning for unused variable in tiny build. (Tony Mechelynck)
24291Solution: Move declaration to inner block.
24292Files: src/os_unix.c
24293
24294Patch 8.0.1614
24295Problem: "make tags" doesn't include libvterm.
24296Solution: Add the libvterm sources to the tags command.
24297Files: src/Makefile
24298
24299Patch 8.0.1615
24300Problem: term_dumpload() does not use the right colors.
24301Solution: Initialize colors when not using create_vterm().
24302Files: src/terminal.c
24303
24304Patch 8.0.1616
24305Problem: Win32: shell commands in the GUI open a new console.
24306Solution: Use a terminal window for interactive use when 'guioptions'
24307 contains "!".
24308Files: src/os_win32.c
24309
24310Patch 8.0.1617 (after 8.0.1616)
24311Problem: Win32: :shell command in the GUI crashes.
24312Solution: Handle the situation that "cmd" is NULL. (Yasuhiro Matsumoto,
24313 closes #2721)
24314Files: src/os_win32.c
24315
24316Patch 8.0.1618
24317Problem: Color Grey50, used for ToolbarLine, is missing in the compiled-in
24318 table.
24319Solution: Add the color to the list. (Kazunobu Kuriyama)
24320Files: src/term.c
24321
24322Patch 8.0.1619
24323Problem: Win32 GUI: crash when winpty is not installed and trying to use
24324 :shell in a terminal window.
24325Solution: Check for NULL return form term_start(). (Yasuhiro Matsumoto,
24326 closes #2727)
24327Files: src/os_win32.c
24328
24329Patch 8.0.1620
24330Problem: Reading spell file has no good EOF detection.
24331Solution: Check for EOF at every character read for a length field.
24332Files: src/misc2.c
24333
24334Patch 8.0.1621
24335Problem: Using invalid default value for highlight attribute.
24336Solution: Use zero instead of -1.
24337Files: src/syntax.c
24338
24339Patch 8.0.1622
24340Problem: Possible NULL pointer dereferencey. (Coverity)
24341Solution: Reverse the check for a NULL pointer.
24342Files: src/quickfix.c
24343
24344Patch 8.0.1623
24345Problem: Terminal kill tests are flaky.
24346Solution: Instead of running Vim in a terminal, run it as a normal command.
24347Files: src/testdir/test_terminal.vim
24348
24349Patch 8.0.1624
24350Problem: Options for term_dumpdiff() and term_dumpload() not implemented
24351 yet.
24352Solution: Implement the relevant options.
24353Files: src/terminal.c, runtime/doc/eval.txt
24354
24355Patch 8.0.1625
24356Problem: Test_quotestar is flaky when run in GTK GUI.
24357Solution: Do not call lose_selection when invoked from
24358 selection_clear_event().
24359Files: src/gui_gtk_x11.c
24360
24361Patch 8.0.1626
24362Problem: Compiler warning for possible loss of data.
24363Solution: Use size_t instead of int. (Christian Brabandt)
24364Files: src/terminal.c
24365
24366Patch 8.0.1627
24367Problem: Compiler warning for visibility attribute not supported on MinGW
24368 builds.
24369Solution: Don't add the attribute when we don't expect it to work.
24370 (Christian Brabandt)
24371Files: src/libvterm/src/vterm_internal.h
24372
24373Patch 8.0.1628
24374Problem: Channel log doesn't mention exiting.
24375Solution: Add a ch_log() call in getout().
24376Files: src/main.c
24377
24378Patch 8.0.1629
24379Problem: Mac: getpagesize() is deprecated.
24380Solution: Use sysconf() instead. (Ozaki Kiichi, closes #2741)
24381Files: src/os_unix.c
24382
24383Patch 8.0.1630
24384Problem: Trimming white space is not that easy.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024385Solution: Add the trim() function. (Bukn, Yasuhiro Matsumoto, closes #1280)
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024386Files: src/evalfunc.c, runtime/doc/eval.txt,
24387 src/testdir/test_functions.vim
24388
24389Patch 8.0.1631
24390Problem: Testing with Vim running in terminal is a bit flaky.
24391Solution: Delete any .swp file so that later tests don't fail.
24392Files: src/testdir/screendump.vim
24393
24394Patch 8.0.1632
24395Problem: In a terminal dump NUL and space considered are different,
24396 although they are displayed the same.
24397Solution: When encountering NUL handle it like space.
24398Files: src/terminal.c
24399
24400Patch 8.0.1633
24401Problem: A TextChanged autocmd triggers when it is defined after creating a
24402 buffer.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024403Solution: Set b_last_changedtick when opening a buffer. (Hirohito Higashi,
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024404 closes #2742)
24405Files: src/buffer.c, src/testdir/test_autocmd.vim
24406
24407Patch 8.0.1634
24408Problem: The ex_vimgrep() function is too long.
24409Solution: Split it in smaller functions. (Yegappan Lakshmanan)
24410Files: src/quickfix.c
24411
24412Patch 8.0.1635
24413Problem: Undefining _POSIX_THREADS causes problems with Python 3. (Micah
24414 Bucy, closes #2748)
24415Solution: Remove the lines.
24416Files: src/if_python3.c
24417
24418Patch 8.0.1636
24419Problem: No test for term_dumpload() and term_dumpdiff().
24420Solution: Add tests.
24421Files: src/testdir/test_terminal.vim
24422
24423Patch 8.0.1637
24424Problem: No test for term_dumpdiff() options argument.
24425Solution: Add a test.
24426Files: src/testdir/test_terminal.vim
24427
24428Patch 8.0.1638
24429Problem: Popup test fails depending on environment variable.
24430Solution: Reset $COLORFGBG when running Vim in a terminal. (closes #2693)
24431Files: src/testdir/screendump.vim
24432
24433Patch 8.0.1639
24434Problem: Libvterm code lags behind master.
24435Solution: Sync to head, solve merge problems.
24436Files: src/libvterm/README, src/libvterm/bin/unterm.c,
24437 src/libvterm/bin/vterm-ctrl.c, src/libvterm/bin/vterm-dump.c,
24438 src/libvterm/doc/URLs, src/libvterm/doc/seqs.txt,
24439 src/libvterm/include/vterm.h,
24440 src/libvterm/include/vterm_keycodes.h, src/libvterm/src/mouse.c,
24441 src/libvterm/src/parser.c, src/libvterm/src/pen.c,
24442 src/libvterm/src/screen.c, src/libvterm/src/state.c,
24443 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
24444 src/libvterm/t/10state_putglyph.test,
24445 src/libvterm/t/25state_input.test, src/libvterm/t/harness.c,
24446 src/libvterm/t/26state_query.test
24447
24448Patch 8.0.1640
24449Problem: Test_cwd() is flaky.
24450Solution: Add to list of flaky tests.
24451Files: src/testdir/runtest.vim
24452
24453Patch 8.0.1641
24454Problem: Job in terminal can't communicate with Vim.
24455Solution: Add the terminal API.
24456Files: src/terminal.c, src/buffer.c, src/testdir/test_terminal.vim,
24457 src/testdir/screendump.vim, runtime/doc/terminal.txt
24458
24459Patch 8.0.1642
24460Problem: Running Vim in terminal fails with two windows.
24461Solution: Pass the number of rows to RunVimInTerminal().
24462Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim
24463
24464Patch 8.0.1643
24465Problem: Terminal API tests fail.
24466Solution: Explicitly set 'title'.
24467Files: src/testdir/test_terminal.vim
24468
24469Patch 8.0.1644
24470Problem: Terminal API tests still fail.
24471Solution: Explicitly set 'title' in the terminal job. (Ozaki Kiichi,
24472 closes #2750)
24473Files: src/testdir/test_terminal.vim, src/testdir/screendump.vim
24474
24475Patch 8.0.1645
24476Problem: Test for terminal response to escape sequence fails for some
24477 people. (toothpik)
24478Solution: Run "cat" and let it echo the characters.
24479Files: src/testdir/test_terminal.vim
24480
24481Patch 8.0.1646
24482Problem: MS-Windows: executable contains unreferenced functions and data.
24483Solution: Add /opt:ref to the compiler command. (Ken Takata)
24484Files: src/Make_mvc.mak
24485
24486Patch 8.0.1647
24487Problem: Terminal API may call a function not meant to be called by this
24488 API.
24489Solution: Require the function to start with Tapi_.
24490Files: runtime/doc/terminal.txt, src/terminal.c,
24491 src/testdir/test_terminal.vim
24492
24493Patch 8.0.1648
24494Problem: Resource fork tool doesn't work on Python 3.
24495Solution: Use "print()" instead of "print". (Marius Gedminas)
24496Files: src/dehqx.py
24497
24498Patch 8.0.1649
24499Problem: No completion for argument list commands.
24500Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706)
24501Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_cmds2.c,
24502 src/ex_docmd.c, src/ex_getln.c, src/proto/ex_cmds2.pro,
24503 src/testdir/test_cmdline.vim, src/vim.h
24504
24505Patch 8.0.1650
24506Problem: Too many #ifdefs.
24507Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
24508Files: runtime/doc/various.txt, src/buffer.c, src/charset.c,
24509 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
24510 src/version.c, src/feature.h
24511
24512Patch 8.0.1651
24513Problem: Cannot filter :ls output for terminal buffers.
24514Solution: Add flags for terminal buffers. (Marcin Szamotulski, closes #2751)
24515Files: runtime/doc/windows.txt, src/buffer.c,
24516 src/testdir/test_terminal.vim
24517
24518Patch 8.0.1652
24519Problem: term_dumpwrite() does not output composing characters.
24520Solution: Use the cell index.
24521Files: src/terminal.c, src/testdir/test_terminal.vim
24522
24523Patch 8.0.1653
24524Problem: Screen dump is made too soon.
24525Solution: Wait until the ruler is displayed. (Ozaki Kiichi, closes #2755)
24526Files: src/testdir/dumps/Test_popup_command_01.dump,
24527 src/testdir/dumps/Test_popup_command_02.dump,
24528 src/testdir/screendump.vim, src/testdir/test_autocmd.vim,
24529 src/testdir/test_terminal.vim
24530
24531Patch 8.0.1654
24532Problem: Warnings for conversion of void to function pointer.
24533Solution: Use a temp variable that is a function pointer.
24534Files: src/if_python.c, src/if_python3.c
24535
24536Patch 8.0.1655
24537Problem: Outdated gdb message in terminal debugger unclear.
24538Solution: Specifically mention the required gdb version. Avoid getting
24539 stuck on pagination.
24540Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
24541
24542Patch 8.0.1656
24543Problem: No option to have xxd produce upper case variable names.
24544Solution: Add the -C argument. (Matt Panaro closes #2772)
24545Files: src/xxd/xxd.c
24546
24547Patch 8.0.1657
24548Problem: Crash when reading a channel.
24549Solution: Clear the write flag before writing. (idea by Shinya Ohyanagi,
24550 closes #2769).
24551Files: src/channel.c
24552
24553Patch 8.0.1658
24554Problem: Capitalize argument not available in long form.
24555Solution: Recognize -capitalize. Update man page.
24556Files: src/xxd/xxd.c, runtime/doc/xxd.1, runtime/doc/xxd.man
24557
24558Patch 8.0.1659
24559Problem: Scroll events not recognized for some xterm emulators.
24560Solution: Recognize mouse codes 0x40 and 0x41 as scroll events.
24561Files: src/term.c
24562
24563Patch 8.0.1660
24564Problem: The terminal API "drop" command doesn't support options.
24565Solution: Implement the options.
24566Files: src/terminal.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
24567 src/ex_cmds.h, src/eval.c, src/misc2.c, src/fileio.c,
24568 src/testdir/test_terminal.vim, runtime/doc/terminal.txt
24569
24570Patch 8.0.1661
24571Problem: Warnings from 64 bit compiler.
24572Solution: Add type casts. (Mike Williams)
24573Files: src/terminal.c
24574
24575Patch 8.0.1662
24576Problem: Showing dump diff doesn't mention both file names.
24577Solution: Add the file name in the separator line.
24578Files: src/terminal.c
24579
24580Patch 8.0.1663 (after 8.0.1660)
24581Problem: Cannot build without multi-byte feature.
24582Solution: Add #ifdef.
24583Files: src/ex_docmd.c
24584
24585Patch 8.0.1664
24586Problem: Test failure because of not allocating enough space.
24587Solution: Allocate more bytes.
24588Files: src/terminal.c
24589
24590Patch 8.0.1665
24591Problem: When running a terminal from the GUI 'term' is not useful.
24592Solution: Use $TERM in the GUI if it starts with "xterm". (closes #2776)
24593Files: src/os_unix.c, runtime/doc/terminal.txt
24594
24595Patch 8.0.1666
24596Problem: % argument in ch_log() causes trouble.
24597Solution: Use string as third argument in internal ch_log(). (Dominique
24598 Pelle, closes #2784)
24599Files: src/evalfunc.c, src/testdir/test_channel.vim
24600
24601Patch 8.0.1667
24602Problem: Terminal window tests are flaky.
24603Solution: Increase the waiting time for Vim to start.
24604Files: src/testdir/screendump.vim
24605
24606Patch 8.0.1668
24607Problem: Terminal debugger: can't re-open source code window.
24608Solution: Add the :Source command. Also create the window if needed when
24609 gdb stops at a source line.
24610Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
24611 runtime/doc/terminal.txt
24612
24613Patch 8.0.1669
24614Problem: :vimgrep may add entries to the wrong quickfix list.
24615Solution: Use the list identifier. (Yegappan Lakshmanan)
24616Files: src/quickfix.c, src/testdir/test_quickfix.vim
24617
24618Patch 8.0.1670
24619Problem: Terminal window tests are still a bit flaky.
24620Solution: Increase the waiting time for the buffer to be created.
24621Files: src/testdir/test_terminal.vim
24622
24623Patch 8.0.1671
24624Problem: Crash when passing non-dict argument as env to job_start().
24625Solution: Check for valid argument. (Ozaki Kiichi, closes #2765)
24626Files: src/channel.c, src/testdir/test_channel.vim
24627
24628Patch 8.0.1672
24629Problem: Error during completion causes command to be cancelled.
24630Solution: Reset did_emsg before waiting for another character. (Tom M.)
24631Files: src/ex_getln.c, src/testdir/test_cmdline.vim
24632
24633Patch 8.0.1673
24634Problem: Terminal window tests are still a bit flaky.
24635Solution: Increase the waiting time even more. (Elimar Riesebieter)
24636Files: src/testdir/test_terminal.vim
24637
24638Patch 8.0.1674
24639Problem: Libvterm can't handle a long OSC string that is split.
24640Solution: When an incomplete OSC string is received copy it to the parser
24641 buffer. Increase the size of the parser buffer to be able to
24642 handle longer strings.
24643Files: src/libvterm/src/parser.c, src/libvterm/src/vterm.c
24644
24645Patch 8.0.1675
24646Problem: Unused macro argument in libvterm. (Randall W. Morris)
24647Solution: Remove the argument.
24648Files: src/libvterm/src/parser.c
24649
24650Patch 8.0.1676
24651Problem: No compiler warning for wrong printf format.
24652Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique
24653 Pelle, closes #2789)
24654Files: src/channel.c, src/vim.h, src/proto/channel.pro
24655
24656Patch 8.0.1677
24657Problem: No compiler warning for wrong format in vim_snprintf().
24658Solution: Add printf attribute for gcc. Fix reported problems.
24659Files: src/vim.h, src/proto.h, src/eval.c, src/fileio.c, src/mbyte.c,
24660 src/ops.c, src/spellfile.c, src/undo.c, src/json.c
24661
24662Patch 8.0.1678
24663Problem: Errorformat "%r" implies "%>". (Jan Gosmann)
24664Solution: Jump to before setting fmt_ptr. (Yegappan Lakshmanan,
24665 closes #2785)
24666Files: src/quickfix.c, src/testdir/test_quickfix.vim
24667
24668Patch 8.0.1679
24669Problem: Compiler warning for printf format. (Chdiza)
24670Solution: Change type to "long long". (closes #2791)
24671Files: src/ops.c
24672
24673Patch 8.0.1680
24674Problem: Memory allocated by libvterm does not show up in profile.
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024675Solution: Pass allocator functions to vterm_new().
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024676Files: src/terminal.c
24677
24678Patch 8.0.1681
24679Problem: The format attribute fails with MinGW. (John Marriott)
24680Solution: Don't use the format attribute with MinGW.
24681Files: src/vim.h, src/proto.h, src/channel.c
24682
24683Patch 8.0.1682
24684Problem: Auto indenting breaks inserting a block.
24685Solution: Do not check for cursor movement if indent was changed. (Christian
24686 Brabandt, closes #2778)
24687Files: src/testdir/test_blockedit.vim, src/testdir/Make_all.mak,
24688 src/Makefile, src/ops.c
24689
24690Patch 8.0.1683
24691Problem: Python upgrade breaks Vim when defining PYTHON_HOME.
24692Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure. (Naoki
24693 Inada, closes #2787)
24694Files: src/configure.ac, src/auto/configure
24695
24696Patch 8.0.1684
24697Problem: ml_get errors when using terminal window for shell command.
24698 (Blay263)
24699Solution: Do not change the size of the current window.
24700Files: src/terminal.c
24701
24702Patch 8.0.1685
24703Problem: Can't set ANSI colors of a terminal window.
24704Solution: Add term_setansicolors(), term_getansicolors() and
24705 g:term_ansi_colors. (Andy Massimino, closes #2747)
24706Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c,
24707 src/evalfunc.c, src/proto/terminal.pro, src/structs.h,
24708 src/terminal.c, src/testdir/test_terminal.vim
24709
24710Patch 8.0.1686 (after 8.0.1683)
24711Problem: Python does not work when configuring with specific dir. (Rajdeep)
24712Solution: Do define PYTHON_HOME and PYTHON3_HOME in configure if the Python
24713 config dir was specified.
24714Files: src/configure.ac, src/auto/configure
24715
24716Patch 8.0.1687
24717Problem: 64 bit compiler warnings.
24718Solution: change type, add type cast. (Mike Williams)
24719Files: src/terminal.c
24720
24721Patch 8.0.1688
24722Problem: Some macros are used without a semicolon, causing auto-indent to be
24723 wrong.
24724Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729)
24725Files: src/buffer.c, src/dosinst.c, src/ex_cmds.c, src/gui_at_sb.c,
24726 src/macros.h, src/main.c, src/memline.c, src/option.c,
24727 src/os_vms.c, src/screen.c, src/window.c
24728
24729Patch 8.0.1689
24730Problem: No tests for xxd.
24731Solution: Add a test. (Christian Brabandt)
24732Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile,
24733 src/testdir/test_xxd.vim, src/testdir/runtest.vim
24734
24735Patch 8.0.1690
24736Problem: Not easy to run one test with gvim instead of vim.
24737Solution: Add VIMTESTTARGET in Makefile.
24738Files: src/Makefile
24739
24740Patch 8.0.1691
24741Problem: Xxd test sometimes fails.
24742Solution: Wipe out the XXDfile buffer.
24743Files: src/testdir/test_xxd.vim
24744
24745Patch 8.0.1692 (after 8.0.1686)
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024746Problem: Python may not work when using statically linked library.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024747Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure if the
24748 Python library is linked statically.
24749Files: src/configure.ac, src/auto/configure
24750
24751Patch 8.0.1693
24752Problem: Xxd is excluded from coverage statistics.
24753Solution: Don't skip the xxd directory. (Christian Brabandt)
24754Files: .travis.yml
24755
24756Patch 8.0.1694
24757Problem: Terminal API test is a bit flaky.
24758Solution: Wait longer for Vim to stop.
24759Files: src/testdir/screendump.vim
24760
24761Patch 8.0.1695
24762Problem: Xxd test not run on MS-Windows.
24763Solution: Use xxd.exe if it exists.
24764Files: src/testdir/test_xxd.vim
24765
24766Patch 8.0.1696
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024767Problem: Coverage statistics don't work.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024768Solution: Include the xxd directory. (Christian Brabandt)
24769Files: .travis.yml
24770
24771Patch 8.0.1697
24772Problem: Various tests are still a bit flaky.
24773Solution: Increase the default wait time to five seconds.
24774Files: src/testdir/shared.vim, src/testdir/screendump.vim,
24775 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
24776 src/testdir/test_quotestar.vim, src/testdir/test_terminal.vim
24777
24778Patch 8.0.1698
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024779Problem: Coverage statistics don't work on coveralls.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024780Solution: Use curly braces for $SRCDIR.
24781Files: .travis.yml
24782
24783Patch 8.0.1699
24784Problem: Leftover stuff for Python 1.4.
24785Solution: Remove outdated Python 1.4 stuff. (Naoki Inada, closes #2794)
24786Files: src/Makefile, src/config.aap.in, src/config.mk.in,
24787 src/configure.ac, src/auto/configure
24788
24789Patch 8.0.1700
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024790Problem: Coverage statistics still don't work on coveralls.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024791Solution: Exclude the xxd directory again.
24792Files: .travis.yml
24793
24794Patch 8.0.1701
24795Problem: Can disable COLOR_EMOJI with MSVC but not MinGW.
24796Solution: Add COLOR_EMOJI flag. Also add some empty lines for readability.
24797Files: src/Make_cyg_ming.mak
24798
24799Patch 8.0.1702
24800Problem: Leaking memory when autocommands make a quickfix list invalid.
24801Solution: Call FreeWild(). (Yegappan Lakshmanan)
24802Files: src/quickfix.c
24803
24804Patch 8.0.1703
24805Problem: In the tutor 'showcmd' is not set.
24806Solution: Set 'showcmd' in the vimtutor script. (Ken Takata, closes #2792)
24807Files: src/vimtutor
24808
24809Patch 8.0.1704
24810Problem: 'backupskip' default doesn't work for Mac.
24811Solution: Use "/private/tmp". (Rainer Müller, closes #2793)
24812Files: src/option.c, src/testdir/test_options.vim,
24813 runtime/doc/options.txt
24814
24815Patch 8.0.1705
24816Problem: When making a vertical split the mode message isn't always
24817 updated, "VISUAL" remains. (Alexei Averchenko)
24818Solution: Only reset clear_cmdline when filling all columns of the last
24819 screen line. (Tom M. closes #2611)
24820Files: src/screen.c, src/testdir/test_window_cmd.vim
24821
24822Patch 8.0.1706
Bram Moolenaar259f26a2018-05-15 22:25:40 +020024823Problem: Cannot send CTRL-\ to a terminal window.
Bram Moolenaareb3dc872018-05-13 22:34:24 +020024824Solution: Make CTRL-W CTRL-\ send CTRL-\ to a terminal window.
24825Files: src/terminal.c, runtime/doc/terminal.txt
24826
24827Patch 8.0.1707
24828Problem: When 'wfh' is set ":bel 10new" scrolls window. (Andrew Pyatkov)
24829Solution: Set the fraction before changing the window height. (closes #2798)
24830Files: src/window.c
24831
24832Patch 8.0.1708
24833Problem: Mkdir with 'p' flag fails on existing directory, which is
24834 different from the mkdir shell command.
24835Solution: Don't fail if the directory already exists. (James McCoy,
24836 closes #2775)
24837Files: src/evalfunc.c, src/testdir/test_eval_stuff.vim,
24838 runtime/doc/eval.txt
24839
24840Patch 8.0.1709
24841Problem: Some non-C89 code may slip through.
24842Solution: Enforce C89 in configure. Fix detected problems. (James McCoy,
24843 closes #2735)
24844Files: src/channel.c, src/configure.ac, src/auto/configure,
24845 src/gui_gtk_x11.c, src/if_python3.c
24846
24847Patch 8.0.1710
24848Problem: Building with Ruby fails.
24849Solution: Don't add -ansi when building with Ruby.
24850Files: src/configure.ac, src/auto/configure
24851
24852Patch 8.0.1711
24853Problem: Term_setsize() is not implemented yet.
24854Solution: Implement it.
24855Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro,
24856 src/testdir/test_terminal.vim, runtime/doc/eval.txt
24857
24858Patch 8.0.1712
24859Problem: Terminal scrollback is not limited.
24860Solution: Add the 'terminalscroll' option.
24861Files: src/terminal.c, src/option.h, src/option.c,
24862 runtime/doc/options.txt, runtime/doc/terminal.txt
24863
24864Patch 8.0.1713
24865Problem: Terminal debugger doesn't handle arguments.
24866Solution: Use <f-args> and pass all the arguments to gdb, e.g. the core file
24867 or process number. (suggested by Christian Brabandt) Disallow
24868 starting the debugger twice.
24869Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
24870 runtime/doc/terminal.txt
24871
24872Patch 8.0.1714
24873Problem: Term_setsize() does not give an error in a normal buffer.
24874Solution: Add an error message.
24875Files: src/terminal.c, src/testdir/test_terminal.vim
24876
24877Patch 8.0.1715
24878Problem: Terminal buffer can be 1 more than 'terminalscroll' lines.
24879Solution: Change > to >=.
24880Files: src/terminal.c
24881
24882Patch 8.0.1716
24883Problem: Test for term_setsize() does not give a good error message.
24884Solution: use assert_inrange().
24885Files: src/testdir/test_terminal.vim
24886
24887Patch 8.0.1717
24888Problem: C89 check causes too much trouble.
24889Solution: Remove enforcing C89 for now.
24890Files: src/configure.ac, src/auto/configure
24891
24892Patch 8.0.1718
24893Problem: Terminal scrollback test fails on MS-Windows.
24894Solution: Check for the last line of output anticipating there might be an
24895 empty line below it.
24896Files: src/testdir/test_terminal.vim
24897
24898Patch 8.0.1719
24899Problem: Cannot specify which Python executable configure should use.
24900Solution: Add --with-python-command and --with-python3-command.
24901Files: src/configure.ac, src/auto/configure
24902
24903Patch 8.0.1720
24904Problem: When a timer is running a terminal window may not close after a
24905 shell has exited.
24906Solution: Call job_status() more often.
24907Files: src/terminal.c
24908
24909Patch 8.0.1721
24910Problem: No test for using the 'termsize' option.
24911Solution: Add a test.
24912Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim
24913
24914Patch 8.0.1722
24915Problem: Cannot specify a minimal size for a terminal window.
24916Solution: Support the "rows*cols" format for 'winsize'.
24917Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c,
24918 runtime/doc/options.txt
24919
24920Patch 8.0.1723
24921Problem: Using one item array size declaration is misleading.
24922Solution: Instead of using "[1]" and actually using a larger array, use
24923 "[]". This is to verify that this C99 feature works for all
24924 compilers.
24925Files: src/structs.h, src/getchar.c
24926
24927Patch 8.0.1724
24928Problem: Declarations cannot be halfway a block.
24929Solution: Move one declaration to check if this works for all compilers.
24930Files: src/main.c
24931
24932Patch 8.0.1725
24933Problem: Terminal debugger doesn't handle command arguments.
24934Solution: Add the :TermdebugCommand command. Use a ! to execute right away.
24935 (Christian Brabandt)
24936Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
24937 runtime/doc/terminal.txt
24938
24939Patch 8.0.1726 (after 8.0.1724)
24940Problem: Older MSVC doesn't support declarations halfway a block.
24941Solution: Move the declaration back to the start of the block.
24942Files: src/main.c
24943
24944Patch 8.0.1727
24945Problem: qf_get_properties() function is too long.
24946Solution: Refactor the code. (Yegappan Lakshmanan, closes #2807)
24947Files: src/quickfix.c
24948
24949Patch 8.0.1728
24950Problem: Condition always false, useless code.
24951Solution: Remove the code. (Nikolai Pavlov, closes #2808)
24952Files: src/message.c
24953
24954Patch 8.0.1729
24955Problem: No comma after last enum item.
24956Solution: Add a few commas to check if this works for all compilers. Also
24957 add a few // comments.
24958Files: src/structs.h
24959
24960Patch 8.0.1730
24961Problem: No configure check for the used C99 features.
24962Solution: Add a compilation check. Tentatively document C99 features.
24963Files: src/configure.ac, src/auto/configure, runtime/doc/develop.txt
24964
24965Patch 8.0.1731
24966Problem: Characters deleted on completion. (Adrià Farrés)
24967Solution: Also check the last item for the ORIGINAL_TEXT flag. (Christian
24968 Brabandt, closes #1645)
24969Files: src/edit.c, src/testdir/test_popup.vim
24970
24971Patch 8.0.1732
24972Problem: Crash when terminal API call deletes the buffer.
24973Solution: Lock the buffer while calling a function. (closes #2813)
24974Files: src/buffer.c, src/terminal.c, src/testdir/test_terminal.vim,
24975 src/testdir/test_autocmd.vim
24976
24977Patch 8.0.1733
24978Problem: Incomplete testing for completion fix. (Lifepillar)
24979Solution: Add a test with CTRL-P.
24980Files: src/testdir/test_popup.vim
24981
24982Patch 8.0.1734
24983Problem: Package directory not added to 'rtp' if prefix matches.
24984Solution: Check the match is a full match. (Ozaki Kiichi, closes #2817)
24985 Also handle different ways of spelling a path.
24986Files: src/testdir/test_packadd.vim, src/ex_cmds2.c
24987
24988Patch 8.0.1735 (after 8.0.1723 and 8.0.1730)
24989Problem: Flexible array member feature not supported by HP-UX. (John
24990 Marriott)
24991Solution: Do not use the flexible array member feature of C99.
24992Files: src/configure.ac, src/auto/configure, src/structs.h,
24993 src/getchar.c, runtime/doc/develop.txt
24994
24995Patch 8.0.1736
24996Problem: Check for C99 features is incomplete.
24997Solution: Use AC_PROG_CC_C99 and when C99 isn't fully supported check the
24998 features we need. (James McCoy, closes #2820)
24999Files: src/configure.ac, src/auto/configure
25000
25001Patch 8.0.1737
25002Problem: fchown() used when it is not supported.
25003Solution: Add #ifdef.
25004Files: src/fileio.c
25005
25006Patch 8.0.1738
25007Problem: ":args" output is hard to read.
25008Solution: Make columns with the names if the output is more than one line.
25009Files: src/ex_cmds2.c, src/version.c, src/proto/version.pro,
25010 src/testdir/test_arglist.vim
25011
25012Patch 8.0.1739
25013Problem: MS-Windows with msys2 cannot build Ruby statically.
25014Solution: Define RUBY_VERSION. (Gray Wolf, closes #2826)
25015Files: src/Make_cyg_ming.mak
25016
25017Patch 8.0.1740
25018Problem: Warning for signed-unsigned incompatibility.
25019Solution: Change type from "char *" to "char_u *". (John Marriott)
25020Files: src/ex_cmds2.c
25021
25022Patch 8.0.1741
25023Problem: MS-Windows with msys2 cannot build Ruby statically.
25024Solution: Add RUBY_VERSION to CFLAGS later. (Gray Wolf, closes #2833)
25025Files: src/Make_cyg_ming.mak
25026
25027Patch 8.0.1742
25028Problem: Cannot get a list of all the jobs. Cannot get the command of
25029 the job.
25030Solution: When job_info() is called without an argument return a list of
25031 jobs. Otherwise, include the command that the job is running.
25032 (Yegappan Lakshmanan)
25033Files: runtime/doc/eval.txt, src/channel.c, src/evalfunc.c,
25034 src/proto/channel.pro, src/structs.h, src/testdir/test_channel.vim
25035
25036Patch 8.0.1743
25037Problem: Terminal window options are named inconsistently.
25038Solution: prefix terminal window options with "termwin". Keep the old names
25039 for now as an alias.
25040Files: src/option.c, src/option.h, src/structs.h, src/terminal.c,
25041 src/testdir/test_terminal.vim, src/testdir/gen_opt_test.vim,
25042 runtime/doc/options.txt, runtime/doc/quickref.txt,
25043 runtime/doc/terminal.txt, runtime/optwin.vim
25044
25045Patch 8.0.1744
25046Problem: On some systems /dev/stdout isn't writable.
25047Solution: Skip test if writing is not possible. (James McCoy, closes #2830)
25048Files: src/testdir/test_writefile.vim
25049
25050Patch 8.0.1745
25051Problem: Build failure on MS-Windows.
25052Solution: Build job arguments for MS-Windows. Fix allocating job twice.
25053Files: src/structs.h, src/channel.c, src/os_unix.c, src/misc2.c,
25054 src/terminal.c, src/proto/misc2.pro
25055
25056Patch 8.0.1746
25057Problem: MS-Windows: channel tests fail.
25058Solution: Make a copy of the command before splitting it.
25059Files: src/channel.c
25060
25061Patch 8.0.1747
25062Problem: MS-Windows: term_start() does not set job_info() cmd.
25063Solution: Share the code from job_start() to set jv_argv.
25064Files: src/testdir/test_terminal.vim, src/channel.c, src/misc2.c,
25065 src/proto/misc2.pro, src/terminal.c
25066
25067Patch 8.0.1748
25068Problem: CmdlineEnter command uses backslash instead of slash.
25069Solution: Don't treat the character as a file name. (closes #2837)
25070Files: src/fileio.c, src/testdir/test_autocmd.vim
25071
25072Patch 8.0.1749
25073Problem: VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails.
25074Solution: Do not wait indefinitely in RealWaitForChar(). (Neil Rieck)
25075 Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan
25076 Arpadffy)
25077Files: src/os_vms.c, src/vim.h
25078
25079Patch 8.0.1750
25080Problem: Crash when clearing location list in autocommand.
25081Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan)
25082Files: src/quickfix.c, src/testdir/test_quickfix.vim
25083
25084Patch 8.0.1751
25085Problem: #ifdef causes bad highlighting.
25086Solution: Move code around. (Ozaki Kiichi, closes #2731)
25087Files: src/ui.c
25088
25089Patch 8.0.1752
25090Problem: qf_set_properties() is to long.
25091Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan
25092 Lakshmanan, closes #2812)
25093Files: src/quickfix.c, src/testdir/test_quickfix.vim
25094
25095Patch 8.0.1753
25096Problem: Various warnings from a static analyser
25097Solution: Add type casts, remove unneeded conditions. (Christian Brabandt,
25098 closes #2770)
25099Files: src/evalfunc.c, src/ex_cmds2.c, src/fileio.c, src/getchar.c,
25100 src/normal.c, src/os_unix.c, src/search.c, src/term.c
25101
25102Patch 8.0.1754
25103Problem: ex_helpgrep() is too long.
25104Solution: Refactor the function. (Yegappan Lakshmanan, closes #2766)
25105Files: src/quickfix.c, src/testdir/test_quickfix.vim
25106
25107Patch 8.0.1755
25108Problem: MS-Windows GUI: high unicode char received as two utf-16 words.
25109Solution: Keep the first word until the second word is received. (Chris
25110 Morgan, closes #2800)
25111Files: src/gui_w32.c
25112
25113Patch 8.0.1756
25114Problem: GUI: after prompting for a number the mouse shape is sometimes
25115 wrong.
25116Solution: Call setmouse() after setting "State". (Hirohito Higashi,
25117 closes #2709)
25118Files: src/misc1.c
25119
25120Patch 8.0.1757
25121Problem: Unnecessary changes in libvterm.
25122Solution: Bring back // comments and trailing comma in enums.
25123Files: src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c,
25124 src/libvterm/bin/vterm-dump.c, src/libvterm/include/vterm.h,
25125 src/libvterm/include/vterm_keycodes.h,
25126 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
25127 src/libvterm/src/parser.c, src/libvterm/src/pen.c,
25128 src/libvterm/src/screen.c, src/libvterm/src/state.c,
25129 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h,
25130 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h
25131
25132Patch 8.0.1758
25133Problem: open_line() returns TRUE/FALSE for success/failure.
25134Solution: Return OK or FAIL.
25135Files: src/misc1.c, src/normal.c, src/edit.c
25136
25137Patch 8.0.1759
25138Problem: Memory leak from duplicate options. (Yegappan Lakshmanan)
25139Solution: Don't set the default value twice.
25140Files: src/option.c
25141
25142Patch 8.0.1760
25143Problem: Wrong number of arguments to vms_read().
25144Solution: Drop the first argument. (Ozaki Kiichi)
25145Files: src/ui.c
25146
25147Patch 8.0.1761
25148Problem: Job in terminal window with no output channel is killed.
25149Solution: Keep the job running when the input is a tty. (Ozaki Kiichi,
25150 closes #2734)
25151Files: src/channel.c, src/os_unix.c, src/testdir/test_channel.vim
25152
25153Patch 8.0.1762
25154Problem: Terminal debug logging is a bit complicated.
25155Solution: Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730)
25156Files: src/term.c
25157
25158Patch 8.0.1763
25159Problem: :argedit does not reuse an empty unnamed buffer.
25160Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian
25161 Brabandt, closes #2713)
25162Files: src/buffer.c, src/ex_cmds2.c, src/proto/buffer.pro,
25163 src/testdir/test_arglist.vim, src/testdir/test_command_count.vim
25164
25165Patch 8.0.1764
25166Problem: Lgtm considers tutor.es to be EcmaScript.
25167Solution: Add a config file for lgtm. (Bas van Schaik, closes #2844)
25168Files: .lgtm.yml, Filelist
25169
25170Patch 8.0.1765
25171Problem: CTRL-G j in Insert mode is incorrect when 'virtualedit' is set.
25172Solution: Take coladd into account. (Christian Brabandt, closes #2743)
25173Files: src/charset.c, src/testdir/test_virtualedit.vim
25174
25175Patch 8.0.1766 (after 8.0.1758)
25176Problem: Expanding abbreviation doesn't work. (Tooth Pik)
25177Solution: Return OK instead of FALSE and FAIL instead of TRUE. (Christian
25178 Brabandt)
25179Files: src/edit.c, src/testdir/test_mapping.vim
25180
25181Patch 8.0.1767
25182Problem: With 'incsearch' text may jump up and down. ()
25183Solution: Besides w_botline also save and restore w_empty_rows.
25184 (closes #2530)
25185Files: src/ex_getln.c, src/testdir/test_search.vim,
25186 src/testdir/dumps/Test_incsearch_scrolling_01.dump
25187
25188Patch 8.0.1768
25189Problem: SET_NO_HLSEARCH() used in a wrong way.
25190Solution: Make it a function. (suggested by Dominique Pelle,
25191 closes #2850)
25192Files: src/vim.h, src/ex_docmd.c, src/proto/ex_docmd.pro, src/search.c,
25193 src/ex_getln.c, src/option.c, src/screen.c, src/tag.c
25194
25195Patch 8.0.1769
25196Problem: Repeated saving and restoring viewstate for 'incsearch'.
25197Solution: Use a structure.
25198Files: src/ex_getln.c
25199
25200Patch 8.0.1770
25201Problem: Assert functions don't return anything.
25202Solution: Return non-zero when the assertion fails.
25203Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro,
25204 src/testdir/test_assert.vim, runtime/doc/eval.txt
25205
25206Patch 8.0.1771
25207Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy)
25208Solution: Add WaitForAssert(), which produces an assert error when it fails.
25209Files: src/testdir/shared.vim, src/testdir/test_terminal.vim,
25210 src/testdir/screendump.vim, src/testdir/test_autocmd.vim,
25211 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
25212 src/testdir/test_job_fails.vim
25213
25214Patch 8.0.1772
25215Problem: Quickfix: mixup of FALSE and FAIL, returning -1.
25216Solution: Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan)
25217Files: src/quickfix.c
25218
25219Patch 8.0.1773
25220Problem: Dialog messages are not translated.
25221Solution: Add N_() and _() where needed. (Sergey Alyoshin)
25222Files: src/diff.c, src/ex_cmds2.c, src/ex_docmd.c, src/message.c,
25223 src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
25224 src/po/Makefile, src/quickfix.c, src/vim.h
25225
25226Patch 8.0.1774
25227Problem: Reading very long lines can be slow.
25228Solution: Read up to 1 Mbyte at a time to avoid a lot of copying. Add a
25229 check for going over the column limit.
25230Files: src/fileio.c
25231
25232Patch 8.0.1775
25233Problem: MS-Windows: warning for unused variable.
25234Solution: Move declaration inside #ifdef. (Mike Williams)
25235Files: src/channel.c
25236
25237Patch 8.0.1776
25238Problem: In tests, when WaitFor() fails it doesn't say why.
25239Solution: Turn a few more WaitFor() into WaitForAssert().
25240Files: src/testdir/test_popup.vim, src/testdir/test_quotestar.vim,
25241 src/testdir/test_search.vim, src/testdir/test_terminal.vim,
25242 src/testdir/test_timers.vim
25243
25244Patch 8.0.1777
25245Problem: Cannot cleanup before loading another colorscheme.
25246Solution: Add the ColorSchemePre autocommand event.
25247Files: src/fileio.c, src/syntax.c, src/vim.h, src/testdir/test_gui.vim,
25248 runtime/colors/README.txt
25249
25250Patch 8.0.1778
25251Problem: Script to check translations does not always work.
25252Solution: Go to first line before searching for MIME.
25253Files: src/po/check.vim
25254
25255Patch 8.0.1779
25256Problem: Deleting in a block selection causes problems.
25257Solution: Check the length of the line before adding bd.textcol and
25258 bd.textlen. (Christian Brabandt, closes #2825)
25259Files: src/ops.c, src/testdir/test_blockedit.vim
25260
25261Patch 8.0.1780
25262Problem: Test fails because Vim in a terminal uses wrong 'encoding'.
25263Solution: Set encoding in the test where it matters. (James McCoy,
25264 closes #2847)
25265Files: src/testdir/test_terminal.vim
25266
25267Patch 8.0.1781
25268Problem: File names in quickfix window are not always shortened.
25269Solution: Shorten the file name when opening the quickfix window. (Yegappan
25270 Lakshmanan, closes #2851, closes #2846)
25271Files: src/testdir/test_quickfix.vim, src/fileio.c, src/proto/fileio.pro,
25272 src/quickfix.c
25273
25274Patch 8.0.1782
25275Problem: No simple way to label quickfix entries.
25276Solution: Add the "module" item, to be used instead of the file name for
25277 display purposes. (Martin Szamotulski, closes #1757)
25278Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/alloc.h,
25279 src/quickfix.c, src/testdir/test_quickfix.vim
25280
25281Patch 8.0.1783
25282Problem: Cannot use 256 colors in a MS-Windows console.
25283Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821)
25284Files: src/misc1.c, src/option.c, src/os_win32.c, src/proto/os_win32.pro,
25285 src/term.c, src/proto/term.pro, src/terminal.c
25286
25287Patch 8.0.1784 (after 8.0.1782)
25288Problem: Gvim test gets stuck in dialog.
25289Solution: Rename the file used.
25290Files: src/testdir/test_quickfix.vim
25291
25292Patch 8.0.1785 (after 8.0.1783)
25293Problem: Missing symbol in Win32 small build.
25294Solution: Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also
25295 fix unused function with #ifdef.
25296Files: src/term.c, src/os_win32.c
25297
25298Patch 8.0.1786
25299Problem: No test for 'termwinkey'.
25300Solution: Add a test. Make feedkeys() handle terminal_loop() returning
25301 before characters are consumed.
25302Files: src/testdir/test_terminal.vim, src/terminal.c, src/evalfunc.c,
25303 src/ex_docmd.c, src/getchar.c, src/keymap.h
25304
25305Patch 8.0.1787
25306Problem: Cannot insert the whole cursor line.
25307Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857)
25308Files: runtime/doc/cmdline.txt, src/ex_getln.c, src/ops.c,
25309 src/testdir/test_cmdline.vim
25310
25311Patch 8.0.1788
25312Problem: Tool to check a color scheme is not installed.
25313Solution: Update the install rule. (Christian Brabandt)
25314Files: src/Makefile
25315
25316Patch 8.0.1789
25317Problem: BufWinEnter does not work well for a terminal window.
25318Solution: Do not trigger BufWinEnter when opening a terminal window.
25319Files: src/terminal.c, runtime/doc/autocmd.txt,
25320 src/testdir/test_terminal.vim
25321
25322Patch 8.0.1790
25323Problem: 'winfixwidth' is not always respected by :close.
25324Solution: Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason
25325 Franklin)
25326Files: src/window.c, src/testdir/test_winbuf_close.vim
25327
25328Patch 8.0.1791
25329Problem: Using uint8_t does not work everywhere.
25330Solution: Use char_u instead.
25331Files: src/term.c, src/proto/term.pro, src/os_win32.c
25332
25333Patch 8.0.1792
25334Problem: MS-Windows users expect -? to work like --help.
25335Solution: Add -?. (Christian Brabandt, closes #2867)
25336Files: src/main.c
25337
25338Patch 8.0.1793
25339Problem: No test for "vim -g".
25340Solution: Add a test for "-g" and "-y".
25341Files: src/testdir/shared.vim, src/testdir/test_gui.vim
25342
25343Patch 8.0.1794
25344Problem: Duplicate term options after renaming.
25345Solution: Remove the old names 'termkey', 'termsize' and 'terminalscroll'.
25346Files: src/option.c, src/terminal.c, src/option.h,
25347 src/testdir/gen_opt_test.vim, src/testdir/screendump.vim
25348
25349Patch 8.0.1795
25350Problem: Lose contact with jobs when :gui forks.
25351Solution: Don't fork when there is a running job. Make log message for a
25352 died job clearer. Also close the terminal when stderr and stdout
25353 are the same FD.
25354Files: src/gui.h, src/gui.c, src/channel.c, src/proto/channel.pro,
25355 src/os_unix.c, src/terminal.c
25356
25357Patch 8.0.1796
25358Problem: GUI: click on tab fails when the focus is in a terminal window.
25359Solution: Handle K_TABLINE.
25360Files: src/terminal.c
25361
25362Patch 8.0.1797
25363Problem: Terminal window is redrawn too often and scrolling is repeated.
25364Solution: Don't scroll immediately but only when redrawing. Avoid redrawing
25365 the whole terminal window on every change.
25366Files: src/terminal.c, src/screen.c, src/proto/terminal.pro
25367
25368Patch 8.0.1798
25369Problem: MS-Windows: file considered read-only when another program has
25370 opened it.
25371Solution: Pass file sharing flag to CreateFile(). (Linwei, closes #2860)
25372Files: src/os_win32.c
25373
25374Patch 8.0.1799
25375Problem: No test for :registers command.
25376Solution: Add a test. (Dominique Pelle, closes #2880)
25377Files: src/testdir/test_registers.vim
25378
25379Patch 8.0.1800
25380Problem: X11: getting color is slow.
25381Solution: Avoid using sprintf() and XParseColor(), put the RGB values in
25382 XColor directly.
25383Files: src/gui_x11.c
25384
25385Patch 8.0.1801
25386Problem: MS-Windows: redirecting terminal output does not work.
25387Solution: Intercept the text written to the terminal and write it to the
25388 file.
25389Files: src/terminal.c, src/testdir/test_terminal.vim
25390
25391Patch 8.0.1802 (after 8.0.1802)
25392Problem: MS-Windows: terminal test fails.
25393Solution: Close redirected output file earlier.
25394Files: src/terminal.c
25395
25396Patch 8.0.1803
25397Problem: Warning for uninitialized variable. (Tony Mechelynck)
25398Solution: Initialize it.
25399Files: src/terminal.c
25400
25401Patch 8.0.1804
25402Problem: Using :normal in terminal window causes problems. (Dominique
25403 Pelle)
25404Solution: Don't call terminal_loop() for :normal. (closes #2886)
25405Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/evalfunc.c
25406
25407Patch 8.0.1805
25408Problem: qf_parse_line() is too long.
25409Solution: Split it in parts. Properly handle vim_realloc() failing.
25410 (Yegappan Lakshmanan, closes #2881)
25411Files: src/quickfix.c
25412
25413Patch 8.0.1806
25414Problem: InsertCharPre causes problems for autocomplete. (Lifepillar)
25415Solution: Check for InsertCharPre before calling vpeekc(). (Christian
25416 Brabandt, closes #2876)
25417Files: src/edit.c, src/testdir/test_popup.vim
25418
25419Patch 8.0.1807
25420Problem: Function to set terminal name is too long.
25421Solution: Refactor the function. Fix typo in test.
25422Files: src/term.c, src/testdir/test_options.vim
25423
25424Patch 8.0.1808 (after 8.0.1807)
25425Problem: Can't build without TGETENT.
25426Solution: Add #ifdef
25427Files: src/term.c
25428
25429Patch 8.0.1809
25430Problem: Various typos.
25431Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887)
25432Files: src/edit.c, src/normal.c, src/screen.c, src/proto/screen.pro,
25433 src/ui.c
25434
25435Patch 8.0.1810
25436Problem: Buffer of a terminal only updated in Terminal-Normal mode.
25437Solution: Copy the terminal window content to the buffer when in
25438 Terminal-Job mode.
25439Files: src/terminal.c, src/proto/terminal.pro, src/ex_cmds2.c,
25440 src/proto/ex_cmds2.pro
25441
25442Patch 8.0.1811
25443Problem: No test for winrestcmd().
25444Solution: Add a test. (Dominique Pelle, closes #2894)
25445Files: src/testdir/test_window_cmd.vim
25446
25447Patch 8.0.1812
25448Problem: The qf_jump_to_usable_window() function is too long.
25449Solution: Split it in parts. (Yegappan Lakshmanan, closes #2891)
25450Files: src/quickfix.c
25451
25452Patch 8.0.1813
25453Problem: Windows installer doesn't install terminal debugger.
25454Solution: Add the package to the list of files to install.
25455Files: nsis/gvim.nsi
25456
25457Patch 8.0.1814
25458Problem: Crash with terminal window and with 'lazyredraw' set. (Antoine)
25459Solution: Check the terminal still exists after update_screen().
25460Files: src/terminal.c
25461
25462Patch 8.0.1815 (after 8.0.1814)
25463Problem: Still a crash with terminal window and with 'lazyredraw' set.
25464 (Antoine)
25465Solution: Do not wipe out the buffer when updating the screen.
25466Files: src/terminal.c, src/proto/terminal.pro, src/screen.c,
25467 src/proto/screen.pro, src/ui.c
25468
25469Patch 8.0.1816
25470Problem: No test for setcmdpos().
25471Solution: Add a test. (Dominique Pelle, closes #2901)
25472Files: src/testdir/test_cmdline.vim
25473
25474Patch 8.0.1817
25475Problem: A timer may change v:count unexpectedly.
25476Solution: Save and restore v:count and similar variables when a timer
25477 callback is invoked. (closes #2897)
25478Files: src/eval.c, src/proto/eval.pro, src/ex_cmds2.c, src/structs.h,
25479 src/testdir/test_timers.vim
25480
25481Patch 8.0.1818 (after 8.0.1810)
25482Problem: Lines remove from wrong buffer when using terminal window.
25483Solution: Make sure to use tl_buffer.
25484Files: src/terminal.c
25485
25486Patch 8.0.1819
25487Problem: Swap file warning for a file in a non-existing directory, if there
25488 is another with the same file name. (Juergen Weigert)
25489Solution: When expanding the file name fails compare the file names.
25490Files: src/testdir/test_swap.vim, src/memline.c
25491
25492Patch 8.0.1820
25493Problem: Terminal window redirecting stdout does not show stderr. (Matéo
25494 Zanibelli)
25495Solution: When stdout is not connected to pty_master_fd then use it for
25496 stderr. (closes #2903)
25497Files: src/os_unix.c, src/testdir/test_terminal.vim
25498
25499Patch 8.0.1821
25500Problem: Cursor in terminal window moves when pressing CTRL-W. (Dominique
25501 Pelle)
25502Solution: Do not more the cursor or redraw when not in Terminal-Normal mode.
25503 (closes #2904)
25504Files: src/terminal.c
25505
25506Patch 8.0.1822
25507Problem: Make uninstall does not remove colors/tools.
25508Solution: Add a line to delete the tools directory. (Kazunobu Kuriyama)
25509Files: src/Makefile
25510
25511Patch 8.0.1823
25512Problem: Test for terminal stdout redirection is flaky.
25513Solution: Wait for the job to finish.
25514Files: src/testdir/test_terminal.vim
25515
25516Patch 8.0.1824
25517Problem: Coverity warns for variable that may be uninitialized.
25518Solution: Initialize the variable.
25519Files: src/terminal.c
25520
25521Patch 8.0.1825
25522Problem: Might use NULL pointer when out of memory. (Coverity)
25523Solution: Handle NULL pointer better.
25524Files: src/getchar.c
25525
25526Patch 8.0.1826
25527Problem: Configure uses old compiler flag.
25528Solution: Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)
25529Files: src/configure.ac, src/auto/configure
25530
25531Patch 8.0.1827
25532Problem: Compiler warning for signed/unsigned char pointers. (Cesar Romani)
25533Solution: Change the type of jv_argv.
25534Files: src/channel.c, src/structs.h
25535
Bram Moolenaar7c63fbc2018-05-17 13:15:23 +020025536Patch 8.0.1828
25537Problem: Get no clue why :gui does not fork.
25538Solution: Add a channel log message.
25539Files: src/channel.c
25540
25541Patch 8.0.1829
25542Problem: MS-Windows: script for vimdiff can't handle ! chars.
25543Solution: Escape the ! chars. (Hans Ginzel, closes #2896)
25544Files: src/dosinst.c
25545
25546Patch 8.0.1830
25547Problem: Switching to Terminal-Normal mode does not redraw. (Dominique
25548 Pelle)
25549Solution: Also redraw when not updating the snapshot. (closes #2904)
25550Files: src/terminal.c
25551
25552Patch 8.0.1831
25553Problem: Sometimes the quickfix title is incorrectly prefixed with ':'.
25554Solution: Prepend the colon in another way. (Yegappan Lakshmanan, closes
25555 #2905)
25556Files: src/evalfunc.c, src/quickfix.c, src/testdir/test_quickfix.vim
25557
25558Patch 8.0.1832
25559Problem: Cannot use :unlet for an environment variable.
25560Solution: Make it work. Use unsetenv() if available. (Yasuhiro Matsumoto,
25561 closes #2855)
25562Files: runtime/doc/eval.txt, src/config.h.in, src/configure.ac,
25563 src/auto/configure, src/eval.c, src/misc1.c, src/proto/misc1.pro,
25564 src/testdir/test_unlet.vim
25565
25566Patch 8.0.1833
25567Problem: X11: ":echo 3.14" gives E806.
25568Solution: set LC_NUMERIC to "C". (Dominique Pelle, closes #2368)
25569Files: src/gui_x11.c
25570
25571Patch 8.0.1834
25572Problem: GUI: find/replace dialog does not handle some chars properly.
25573Solution: Escape '?' when needed. Always escape backslash. (closes #2418,
25574 closes #2435)
25575Files: src/gui.c
25576
25577Patch 8.0.1835
25578Problem: Print document name does not support multi-byte.
25579Solution: Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478)
25580Files: src/os_mswin.c
25581
25582Patch 8.0.1836
25583Problem: Buffer-local window options may not be recent if the buffer is
25584 still open in another window.
25585Solution: Copy the options from the window instead of the outdated window
25586 options. (Bjorn Linse, closes #2336)
25587Files: src/buffer.c, src/testdir/test_options.vim
25588
25589Patch 8.0.1837
25590Problem: One character cmdline abbreviation not triggered after '<,'>.
25591Solution: Skip over the special range. (Christian Brabandt, closes #2320)
25592Files: src/ex_getln.c, src/testdir/test_mapping.vim
25593
25594Patch 8.0.1838
25595Problem: Cursor in wrong position when switching to Terminal-Normal mode.
25596 (Dominique Pelle)
25597Solution: Move to the end of the line if coladvance() fails. Do not take a
25598 snapshot a second time.
25599Files: src/terminal.c
25600
25601Patch 8.0.1839
25602Problem: Script to check .po file doesn't check for plural header.
25603Solution: Add a check that the plural header is present when needed.
25604Files: src/po/check.vim
25605
25606Patch 8.0.1840
25607Problem: getwinpos() is not tested.
25608Solution: Add a test. (Dominique Pelle, closes #2911)
25609Files: src/testdir/test_gui.vim
25610
25611Patch 8.0.1841
25612Problem: HP-UX does not have setenv().
25613Solution: Use vim_setenv(). (John Marriott)
25614Files: src/misc1.c
25615
25616Patch 8.0.1842
25617Problem: Popup menu inside terminal window isn't cleared.
25618Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian
25619 Brabandt, closes #2908)
25620Files: src/popupmnu.c
25621
25622Patch 8.0.1843
25623Problem: Entry for 'wrap' in options window is wrong. (John Little)
25624Solution: Make the change apply locally.
25625Files: runtime/optwin.vim
25626
25627Patch 8.0.1844
25628Problem: Superfluous quickfix code, missing examples.
25629Solution: Remove unneeded code. Add a few examples. Add a bit more
25630 testing. (Yegappan Lakshmanan, closes #2916)
25631Files: runtime/doc/quickfix.txt, src/quickfix.c,
25632 src/testdir/test_quickfix.vim
25633
25634Patch 8.0.1845
25635Problem: Various comment updates needed, missing white space.
25636Solution: Update comments, add white space.
25637Files: src/getchar.c, src/testdir/test_cscope.vim, src/gui_mac.c
25638
25639Patch 8.0.1846
25640Problem: Python interface is incompatible with lldb.
25641Solution: For OutputType set the base to be PyFile_Type. (Boxu Zhang)
25642 Partly disabled to avoid a crash.
25643Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
25644
25645Patch 8.0.1847
25646Problem: Some build options don't have an example.
25647Solution: Add a couple more examples and compiler flags.
25648Files: src/Makefile
25649
25650Patch 8.0.1848
25651Problem: 'termwinscroll' does not work properly. (Dominique Pelle)
25652Solution: Subtract removed scrollback from the scrollback count. Add a test
25653 for 'termwinscroll'. (closes #2909)
25654Files: src/terminal.c, src/testdir/test_terminal.vim
25655
25656Patch 8.0.1849
25657Problem: Compiler warning for unused arguments and missing prototype.
25658Solution: Add UNUSED. Add static.
25659Files: src/mbyte.c, src/if_ruby.c
25660
Bram Moolenaareb3dc872018-05-13 22:34:24 +020025661
Bram Moolenaar03413f42016-04-12 21:07:15 +020025662 vim:tw=78:ts=8:ft=help:norl: