Re: [patch] misc1.c: in open_line remove retval comment

2018-04-24 Fir de Conversatie Jefferson Carpenter
On 4/22/2018 1:05 PM, Bram Moolenaar wrote: Jefferson Carpenter wrote: Default is actually FALSE- and it's easy to tell what the default is. Also, `retval` is canonically used as the return value throughout the codebase, so the comment is probably entirely unnecessary. Literally, yes. But F

Patch 8.0.1763

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1763 Problem::argedit does not reuse an empty unnamed buffer. Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian Brabandt, closes #2713) Files: src/buffer.c, src/ex_cmds2.c, src/proto/buffer.pro, src/testdir/test_arglist.vim, src

Patch 8.0.1762

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1762 Problem:Terminal debug logging is a bit complicated. Solution: Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730) Files: src/term.c *** ../vim-8.0.1761/src/term.c 2018-04-24 15:19:00.507068755 +0200 --- src/term.c 2018-04-24 21:36:42.993915142 +0200 ***

Patch 8.0.1761

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1761 Problem:Job in terminal window with no output channel is killed. Solution: Keep the job running when the input is a tty. (Ozaki Kiichi, closes #2734) Files: src/channel.c, src/os_unix.c, src/testdir/test_channel.vim *** ../vim-8.0.1760/src/channel.c 20

Patch 8.0.1760

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1760 Problem:Wrong number of arguments to vms_read(). Solution: Drop the first argument. (Ozaki Kiichi) Files: src/ui.c *** ../vim-8.0.1759/src/ui.c2018-04-24 13:29:47.717890672 +0200 --- src/ui.c2018-04-24 20:25:39.408854111 +0200 *** *** 1860,1866

Patch 8.0.1759

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1759 Problem:Memory leak from duplicate options. (Yegappan Lakshmanan) Solution: Don't set the default value twice. Files: src/option.c *** ../vim-8.0.1758/src/option.c2018-04-21 20:02:32.734539968 +0200 --- src/option.c2018-04-24 20:19:02.251695218 +0200 ***

Re: Patch 8.0.1742

2018-04-24 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > On Sat, Apr 21, 2018 at 10:49 AM, Bram Moolenaar wrote: > > > > Patch 8.0.1742 > > Problem:Cannot get a list of all the jobs. Cannot get the command of > > the job. > > Solution: When job_info() is called without an argument return a list of > > j

Re: Memory leak reported by valgrind in set_init_1()

2018-04-24 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > Running the latest Vim under valgrind reports the following memory leak: > > ==608== 2 bytes in 2 blocks are definitely lost in loss record 2 of 27 > ==608==at 0x4A06A2E: malloc (vg_replace_malloc.c:270) > ==608==by 0x4F2DAA: lalloc (misc2.c:976) > ==608==by 0x4F2C7

Patch 8.0.1758

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1758 Problem:open_line() returns TRUE/FALSE for success/failure. Solution: Return OK or FAIL. Files: src/misc1.c, src/normal.c, src/edit.c *** ../vim-8.0.1757/src/misc1.c 2018-04-24 17:41:52.077176530 +0200 --- src/misc1.c 2018-04-24 19:35:00.133346944 +0200 ***

Memory leak reported by valgrind in set_init_1()

2018-04-24 Fir de Conversatie Yegappan Lakshmanan
Hi, Running the latest Vim under valgrind reports the following memory leak: ==608== 2 bytes in 2 blocks are definitely lost in loss record 2 of 27 ==608==at 0x4A06A2E: malloc (vg_replace_malloc.c:270) ==608==by 0x4F2DAA: lalloc (misc2.c:976) ==608==by 0x4F2C76: alloc (misc2.c:874) ==

Patch 8.0.1757

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1757 Problem:Unnecessary changes in libvterm. Solution: Bring back // comments and trailing comma in enums. Files: src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c, src/libvterm/bin/vterm-dump.c, src/libvterm/include/vterm.h, src/libvterm/includ

Re: Patch 8.0.1742

2018-04-24 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, On Sat, Apr 21, 2018 at 10:49 AM, Bram Moolenaar wrote: > > Patch 8.0.1742 > Problem:Cannot get a list of all the jobs. Cannot get the command of > the job. > Solution: When job_info() is called without an argument return a list of > jobs. Otherwise, inclu

Patch 8.0.1756

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1756 Problem:GUI: after prompting for a number the mouse shape is sometimes wrong. Solution: Call setmouse() after setting "State". (Hirohito Higashi, closes #2709) Files: src/misc1.c *** ../vim-8.0.1755/src/misc1.c 2018-03-04 18:07:04.260592398 +0100

Patch 8.0.1755

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1755 Problem:MS-Windows GUI: high unicode char received as two utf-16 words. Solution: Keep the first word until the second word is received. (Chris Morgan, closes #2800) Files: src/gui_w32.c *** ../vim-8.0.1754/src/gui_w32.c 2018-02-10 18:45:21.060822215 +

Patch 8.0.1754

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1754 Problem:ex_helpgrep() is too long. Solution: Refactor the function. (Yegappan Lakshmanan, closes #2766) Files: src/quickfix.c, src/testdir/test_quickfix.vim *** ../vim-8.0.1753/src/quickfix.c 2018-04-24 13:54:56.157455279 +0200 --- src/quickfix.c 2018-04-24 15

Patch 8.0.1753

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1753 Problem:Various warnings from a static analyser Solution: Add type casts, remove unneeded conditions. (Christian Brabandt, closes #2770) Files: src/evalfunc.c, src/ex_cmds2.c, src/fileio.c, src/getchar.c, src/normal.c, src/os_unix.c, src/search.c,

Patch 8.0.1752

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1752 Problem:qf_set_properties() is to long. Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan Lakshmanan, closes #2812) Files: src/quickfix.c, src/testdir/test_quickfix.vim *** ../vim-8.0.1751/src/quickfix.c 2018-04-23 21:29:42.157966083 +02

Patch 8.0.1751

2018-04-24 Fir de Conversatie Bram Moolenaar
Patch 8.0.1751 Problem:#ifdef causes bad highlighting. Solution: Move code around. (Ozaki Kiichi, closes #2731) Files: src/ui.c *** ../vim-8.0.1750/src/ui.c2018-03-11 19:30:40.132142717 +0100 --- src/ui.c2018-04-24 13:28:58.658154507 +0200 *** *** 1854,1871

Vim website moving to OSDN - outage April 30

2018-04-24 Fir de Conversatie Bram Moolenaar
Hello Vimmers, We have given it enough time, and the decision is to move to OSDN. This will take place on April 30, during which time the website will be read-only until the move is done. Why OSDN? Well, SourceForge and OSDN are very similar. Both have given us support recently. What matters