Re: [win32][patch] Update msvc2015.bat to support VC2015 x64 native compiler

2018-09-16 Fir de Conversatie Ken Takata
Hi, 2018/9/17 Mon 12:49:34 UTC+9 Ken Takata wrote: > Hi, > > I found a small mistake in src/msvc2015.bat. > > If the batch file is executed with the "x86_amd64" option, it enables the > x86 cross compiler targeting x64. This should work both on Express edition > and Community edition. > >

[win32][patch] Update msvc2015.bat to support VC2015 x64 native compiler

2018-09-16 Fir de Conversatie Ken Takata
Hi, I found a small mistake in src/msvc2015.bat. If the batch file is executed with the "x86_amd64" option, it enables the x86 cross compiler targeting x64. This should work both on Express edition and Community edition. VC2015 Community edition also has x64 native compiler, however, executing

Patch 8.1.0401

2018-09-16 Fir de Conversatie Bram Moolenaar
Patch 8.1.0401 Problem:Can't get swap name of another buffer. Solution: Add swapname(). (Ozaki Kiichi, closes #3441) Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_swap.vim *** ../vim-8.1.0400/runtime/doc/eval.txt2018-09-14 21:27:02.771741354 +0200 ---

Re: Patch 8.1.0400

2018-09-16 Fir de Conversatie Tony Mechelynck
On Sun, Sep 16, 2018 at 6:11 PM Bram Moolenaar wrote: > Q: How many legs does a giraffe have? > A: Eight: two in front, two behind, two on the left and two on the right Q.: Prove that horses have an odd number of legs. A.: Two in front, two at the rear, two on the left and two on the right, that

Re: New internal diff and FilterWritePre and FilterWritePost autocommand events

2018-09-16 Fir de Conversatie Bram Moolenaar
Rick Howe wrote: > > Using FilterWritePost was already a bit of a hack. Let's add an event > > specifically for diffs being updated. > > A 'diffupdate' specific new event would be a solution. > But we have to still check OptionSet as well for something like > 'diffthis' and 'set nodiff'. > Is

Patch 8.1.0400

2018-09-16 Fir de Conversatie Bram Moolenaar
Patch 8.1.0400 Problem:Using freed memory with :diffget. Solution: Skip ex_diffupdate() while updating diffs. (closes #3442) Files: src/diff.c *** ../vim-8.1.0399/src/diff.c 2018-09-16 15:47:45.629425398 +0200 --- src/diff.c 2018-09-16 18:05:01.223981230 +0200 *** ***

Patch 8.1.0399

2018-09-16 Fir de Conversatie Bram Moolenaar
Patch 8.1.0399 Problem:'hlsearch' highlight remains in other window after cancelling command. Solution: Redraw all windows. Also remove unnecessary delays. (closes #3437) Files: src/ex_getln.c, src/testdir/test_search.vim,

Re: New internal diff and FilterWritePre and FilterWritePost autocommand events

2018-09-16 Fir de Conversatie Rick Howe
> Using FilterWritePost was already a bit of a hack. Let's add an event > specifically for diffs being updated. A 'diffupdate' specific new event would be a solution. But we have to still check OptionSet as well for something like 'diffthis' and 'set nodiff'. Is it possible and reasonable to use

Patch 8.1.0398

2018-09-16 Fir de Conversatie Bram Moolenaar
Patch 8.1.0398 Problem:No test for -o and -O command line arguments. Solution: Add a test. (Dominique Pelle, closes #3438) Files: src/testdir/test_startup.vim *** ../vim-8.1.0397/src/testdir/test_startup.vim2018-02-03 15:11:32.0 +0100 ---

Patch 8.1.0397

2018-09-16 Fir de Conversatie Bram Moolenaar
Patch 8.1.0397 Problem:No event triggered after updating diffs. Solution: Add the DiffUpdated event. Files: src/vim.h, src/diff.c, src/fileio.c, src/testdir/test_diffmode.vim, runtime/doc/autocmd.txt *** ../vim-8.1.0396/src/vim.h 2018-09-13 17:26:31.091401618 +0200 ---

Re: New internal diff and FilterWritePre and FilterWritePost autocommand events

2018-09-16 Fir de Conversatie Bram Moolenaar
Rick Howe wrote: > 'diffupdate' does not cause any event on internal diff. > > My script checks FilterWritePost event and show how many lines are > 'DiffAdded', 'DiffChaneged' and 'DiffDeleted' in stausline on each diff mode > window. > It works fine for external diff. > > For internal diff,

Patch 8.1.0396

2018-09-16 Fir de Conversatie Bram Moolenaar
Patch 8.1.0396 Problem:Another compiler warning on 64-bit MS-Windows. Solution: Add type cast. (Mike Williams) Files: src/xdiff/xutils.c *** ../vim-8.1.0395/src/xdiff/xutils.c 2018-09-10 17:50:32.717306902 +0200 --- src/xdiff/xutils.c 2018-09-16 15:09:34.372976456 +0200

Patch 8.1.0395

2018-09-16 Fir de Conversatie Bram Moolenaar
Patch 8.1.0395 Problem:Compiler warning on 64-bit MS-Windows. Solution: Add type cast. (Mike Williams) Files: src/diff.c *** ../vim-8.1.0394/src/diff.c 2018-09-16 14:10:28.300323360 +0200 --- src/diff.c 2018-09-16 14:49:24.928809679 +0200 *** *** 712,718

Re: Fixed typos in txt files

2018-09-16 Fir de Conversatie Bram Moolenaar
Dominique wrote: > Attached patch fixes typos in *.txt files. Thanks! -- hundred-and-one symptoms of being an internet addict: 61. Your best friends know your e-mail address, but neither your phone number nor the address where you live. /// Bram Moolenaar -- b...@moolenaar.net --

Patch 8.1.0394

2018-09-16 Fir de Conversatie Bram Moolenaar
Patch 8.1.0394 Problem:Diffs are not always updated correctly. Solution: When using internal diff update for any changes properly. Files: src/structs.h, src/diff.c, src/proto/diff.pro, src/misc1.c, src/main.c *** ../vim-8.1.0393/src/structs.h 2018-09-13

Re: New internal diff and FilterWritePre and FilterWritePost autocommand events

2018-09-16 Fir de Conversatie Rick Howe
Hi, 'diffupdate' does not cause any event on internal diff. My script checks FilterWritePost event and show how many lines are 'DiffAdded', 'DiffChaneged' and 'DiffDeleted' in stausline on each diff mode window. It works fine for external diff. For internal diff, I can update it by checking