Re: Patch 8.0.1722

2018-04-16 Fir de Conversatie Bram Moolenaar
Christian Robinson wrote: > Just for your information, the version number is not updating on the > www.vim.org main page. Yep, something is failing on SourceForge. It works on vim8.org (OSDN). So maybe we should switch over... -- hundred-and-one symptoms of being an internet addict: 191. You

Re: Is ANSI C support still needed?

2018-04-16 Fir de Conversatie Mike Williams
Hiya On 16/04/2018 01:34, James McCoy wrote: On Sun, Apr 15, 2018 at 02:32:14PM +0200, Dominique Pellé wrote: Bram Moolenaar wrote: Hello Vimmers, For a long time Vim code was made to be compiled with ANSI C (also known as C89 and ISO C90). This means it can also be compiled on very old sy

Re: Is ANSI C support still needed?

2018-04-16 Fir de Conversatie Christian Brabandt
On Mo, 16 Apr 2018, Mike Williams wrote: > My experience with a transition period moving to Visual Studio 2015 from > earlier versions is that the biggest issue is allowing variable declarations > to be declared anywhere within a block - it is very easy to do. If anyone > is still using older ve

Patch 8.0.1723

2018-04-16 Fir de Conversatie Bram Moolenaar
Patch 8.0.1723 Problem:Using one item array size declaration is misleading. Solution: Instead of using "[1]" and actually using a larger array, use "[]". This is to verify that this C99 feature works for all compilers. Files: src/structs.h, src/getchar.c *** .

Re: Is ANSI C support still needed?

2018-04-16 Fir de Conversatie Bram Moolenaar
Mike Williams wrote: > On 16/04/2018 01:34, James McCoy wrote: > > On Sun, Apr 15, 2018 at 02:32:14PM +0200, Dominique Pellé wrote: > >> Bram Moolenaar wrote: > >> > >>> Hello Vimmers, > >>> > >>> For a long time Vim code was made to be compiled with ANSI C (also known > >>> as C89 and ISO C90).

Re: Patch 8.0.1723

2018-04-16 Fir de Conversatie Bram Moolenaar
I wrote: > Patch 8.0.1723 > Problem:Using one item array size declaration is misleading. > Solution: Instead of using "[1]" and actually using a larger array, use > "[]". This is to verify that this C99 feature works for all > compilers. > Files: src/structs.h,

Patch 8.0.1724

2018-04-16 Fir de Conversatie Bram Moolenaar
Patch 8.0.1724 Problem:Declarations cannot be halfway a block. Solution: Move one declaration to check if this works for all compilers. Files: src/main.c *** ../vim-8.0.1723/src/main.c 2018-04-10 18:47:16.093527046 +0200 --- src/main.c 2018-04-16 15:38:30.429374793 +0200 ***

Re: Patch 8.0.1723

2018-04-16 Fir de Conversatie Tony Mechelynck
FWIW I don't see any compiler messages (neither in Huge nor in Tiny) but I'm on Linux and it's MSVC support which is problematic. Let's see if we get errors or warnings on Windows. Best regards, Tony. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply

Re: [patch] some fixes for termdebug

2018-04-16 Fir de Conversatie Bram Moolenaar
Christian wrote: > > > Still when the current session is finished and a new session is run > > > using `:Termdebug vim` it errors out with E174, because the commands are > > > already defined. > > > > I don't see that. There was an error for one command, it was missing in > > the list of the

Re: Is ANSI C support still needed?

2018-04-16 Fir de Conversatie Mike Williams
Hi On 16/04/2018 14:16, Bram Moolenaar wrote: Mike Williams wrote: On 16/04/2018 01:34, James McCoy wrote: On Sun, Apr 15, 2018 at 02:32:14PM +0200, Dominique Pellé wrote: Bram Moolenaar wrote: Hello Vimmers, For a long time Vim code was made to be compiled with ANSI C (also known as C8

Patch 8.0.1725

2018-04-16 Fir de Conversatie Bram Moolenaar
Patch 8.0.1725 Problem:Terminal debugger doesn't handle command arguments. Solution: Add the :TermdebugCommand command. Use a ! to execute right away. (Christian Brabandt) Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, runtime/doc/terminal.txt **

Re: Patch 8.0.1723

2018-04-16 Fir de Conversatie Mike Williams
Hi On 16/04/2018 14:16, Bram Moolenaar wrote: I wrote: Patch 8.0.1723 Problem:Using one item array size declaration is misleading. Solution: Instead of using "[1]" and actually using a larger array, use "[]". This is to verify that this C99 feature works for all

Re: [patch] some fixes for termdebug

2018-04-16 Fir de Conversatie Christian Brabandt
On Mo, 16 Apr 2018, Bram Moolenaar wrote: > Thanks. I had to fix a few problems, but I like the idea of using ! to > execute. Thanks for including. I have usually been using the old way to debug using gdb --args ./vim --clean -c to start and debug right away. Now I can move on to using the t

Re: Is ANSI C support still needed?

2018-04-16 Fir de Conversatie Bram Moolenaar
Mike Williams wrote: > On 16/04/2018 14:16, Bram Moolenaar wrote: > > > > Mike Williams wrote: > > > >> On 16/04/2018 01:34, James McCoy wrote: > >>> On Sun, Apr 15, 2018 at 02:32:14PM +0200, Dominique Pellé wrote: > Bram Moolenaar wrote: > > > Hello Vimmers, > > > > For

Patch 8.0.1726

2018-04-16 Fir de Conversatie Bram Moolenaar
Patch 8.0.1726 (after 8.0.1724) Problem:Older MSVC doesn't support declarations halfway a block. Solution: Move the declaration back to the start of the block. Files: src/main.c *** ../vim-8.0.1725/src/main.c 2018-04-16 15:40:46.800498011 +0200 --- src/main.c 2018-04-16 17:05:53.903

Patch 8.0.1727

2018-04-16 Fir de Conversatie Bram Moolenaar
Patch 8.0.1727 Problem:qf_get_properties() function is too long. Solution: Refactor the code. (Yegappan Lakshmanan, closes #2807) Files: src/quickfix.c *** ../vim-8.0.1726/src/quickfix.c 2018-04-12 20:35:01.106692254 +0200 --- src/quickfix.c 2018-04-16 18:03:07.284370363 +02

Making :write transactional.

2018-04-16 Fir de Conversatie Eric Lee
Hi, I have created a transactional library, and I am trying to make the vim :write command transactional. The idea here is that, instead of writing to the .swp file, vim directly applies updates to the relevant file. (I'm only guessing that this is how vim works when the noswpfile setting is en