Re: Updating runtime files without version control

2016-01-24 Fir de Conversatie JohnBeckett
Ken Takata wrote: > Maybe, adding a link to http://ftp.vim.org/pub/vim/patches/7.4/README On a page dedicated to discussing installing Vim, that link would be useful. However it is of no use for someone wanting to install Vim. Anyone wanting an old version will know what they have to do. Your

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie Marius Gedminas
On Sat, Jan 23, 2016 at 07:46:42PM +0100, Bram Moolenaar wrote: > > Patch 7.4.1154 > Problem:No support for JSON. > Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, > v:null and v:none. Why do we need both v:null and v:none? These seem to be unfriendly

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie LCD 47
On 23 January 2016, Bram Moolenaar wrote: > > Lcd wrote: > > > On 23 January 2016, Bram Moolenaar wrote: > > > > > > Patch 7.4.1154 > > > Problem:No support for JSON. > > > Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, >

Re: RFC: Additions to the argv() and argc() functions

2016-01-24 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, Jan 24, 2016 at 1:09 PM, Bram Moolenaar wrote: > > Yegappan Lakshmanan wrote: > >> The attached patch implements the below described changes to the >> argc() and argv() functions, updates the documentation and >> adds new tests. >> >> - Yegappan >> >> On Wed, Jan

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2016-01-25 0:26 GMT+03:00 LCD 47 : > On 24 January 2016, Bram Moolenaar wrote: > > > > Lcd wrote: > > > > > [...] > > > > > > > One more thing: adjusting the result of jsondecode() to > contain > > > > > > > only "standard" values involves deep

[patch] fix netbeans compile on windows

2016-01-24 Fir de Conversatie Charles Cooper
After 7.4.1169 and others, as of 7.4.1174, compile on windows has netbeans.c(298) : warning C4013: 'channel_init_winsock' undefined; assuming extern returning int problem is in proto/gui_win32.pro void netbeans_init_winsock(void) should be void channel_init_winsock(void) diff attached

Re: Updating runtime files without version control

2016-01-24 Fir de Conversatie JohnBeckett
An alternative would be to use brief text like the following. We can put information on the wiki page which would be rewritten. In the following "more information" would be a link to http://vim.wikia.com/wiki/Where_to_download_Vim ---start--- Nightly Vim Windows build snapshots (more

Re: Patch 7.4.1162

2016-01-24 Fir de Conversatie Ken Takata
Hi, 2016/1/24 Sun 21:59:38 UTC+9 Bram Moolenaar wrote: > Patch 7.4.1162 > Problem:Missing error number in MzScheme. (Dominique Pelle) > Solution: Add a proper error number. > Files: src/if_mzsch.c I think the help should be updated too: --- a/runtime/doc/if_mzsch.txt +++

Re: Link failure in Huge but not in Tiny

2016-01-24 Fir de Conversatie Bram Moolenaar
Tony wrote: > 7.4.1153: unaffected > 7.4.1158: affected > 7.4.1161: affected > > link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly. > gcc -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E > -Wl,-rpath,/usr/lib/perl5/5.18.2/x86_64-linux-thread-multi/CORE >

Patch 7.4.1163

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1163 Problem:Expressions "0 + v:true" and "'' . v:true" cause an error. Solution: Return something sensible when using a special variable as a number or as a string. (suggested by Damien) Files: src/eval.c, src/testdir/test_viml.vim ***

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie Bram Moolenaar
Lcd wrote: > > > On 23 January 2016, Bram Moolenaar wrote: > > > > > > > > Patch 7.4.1154 > > > > Problem:No support for JSON. > > > > Solution: Add jsonencode() and jsondecode(). Also add v:false, > > > > v:true, > > > > v:null and v:none. > > > [...] >

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie Bram Moolenaar
Marius Gedminas wrote: > On Sat, Jan 23, 2016 at 07:46:42PM +0100, Bram Moolenaar wrote: > > > > Patch 7.4.1154 > > Problem:No support for JSON. > > Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, > > v:null and v:none. > > Why do we need both v:null

Re: [patch] Fix test_json on Japanese Windows

2016-01-24 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > test_json.vim fails on Japanese Windows: > > From test_alot.vim: > Caught exception: Vim(let):E114: Missing quote: "s=EF=BE=82=EF=BD=A2c=EF= > =BE=84=EF=BD=B4g=EF=BE=91=E3=83=BB @ C:/work/vim-msvc/src/testdir/test_json= > .vim, line 15 > TEST FAILURE > > The following

Re: Patch 7.4.1162

2016-01-24 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2016/1/24 Sun 21:59:38 UTC+9 Bram Moolenaar wrote: > > Patch 7.4.1162 > > Problem:Missing error number in MzScheme. (Dominique Pelle) > > Solution: Add a proper error number. > > Files: src/if_mzsch.c > > I think the help should be updated too: > > ---

Patch 7.4.1164

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1164 Problem:No tests for comparing special variables. Error in jsondecode() not reported. test_json does not work Japanse system. Solution: Set scriptencoding. (Ken Takata) Add a few more tests. Add error. Files: src/json.c, src/testdir/test_viml.vim,

Re: Patch 7.4.1133

2016-01-24 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: > Hi Ken, > > 2016-1-24(Sun) 14:52:21 UTC+9 Ken Takata: > [...] > > If we assume C89, we can also assume that we can use stdarg.h, I think. > > How about removing '#ifdef HAVE_STDARG_H' checks? > > I think so. > > For example, > I think vim_vsnprintf() will be shapely.

Patch 7.4.1165

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1165 Problem:When defining DYNAMIC_ICONV_DLL in the makefile, the build fails. Solution: Add #ifdef's. (Taro Muraoka) Try the newer version first. Files: src/mbyte.c, src/os_win32.c *** ../vim-7.4.1164/src/mbyte.c 2015-12-12 16:23:24.587346534 +0100 --- src/mbyte.c

Re: Patch 7.4.1133

2016-01-24 Fir de Conversatie h_east
Hi Ken, 2016-1-24(Sun) 14:52:21 UTC+9 Ken Takata: [...] > If we assume C89, we can also assume that we can use stdarg.h, I think. > How about removing '#ifdef HAVE_STDARG_H' checks? I think so. For example, I think vim_vsnprintf() will be shapely. Thanks for your suggestion. -- Best regards,

Re: [bug] Error number "Exxx" should be replaced by proper error number in src/if_mzsch.c

2016-01-24 Fir de Conversatie Bram Moolenaar
Dominique Pellé wrote: > File src/if_mzsch.c contains this error message > introduced by recent patch 7.4.1104: > > 1291 if (load_base_module_failed || startup_mzscheme()) > 1292 { > 1293 EMSG(_("Exxx: Sorry, this command is disabled, the MzScheme's > racket/base module could not be

Patch 7.4.1162

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1162 Problem:Missing error number in MzScheme. (Dominique Pelle) Solution: Add a proper error number. Files: src/if_mzsch.c *** ../vim-7.4.1161/src/if_mzsch.c 2016-01-23 19:45:48.622931332 +0100 --- src/if_mzsch.c 2016-01-24 13:55:40.075039794 +0100

Re: Patch 7.4.1133

2016-01-24 Fir de Conversatie h_east
Hi Bram and list! 2016-1-23(Sat) 2:33:18 UTC+9 Bram Moolenaar: > Hirohito Higashi wrote: > > > Hi Bram! > > > > 2016-1-22(Fri) 4:24:57 UTC+9 Bram Moolenaar: > > > Hirohito Higashi wrote: > > > > > > > 2016-1-21(Thu) 6:48:27 UTC+9 Bram Moolenaar: > > > > > Hirohito Higashi wrote: > > > > > > >

Re: Updating runtime files without version control

2016-01-24 Fir de Conversatie Olaf Dabrunz
On 24-Jan-16, JohnBeckett wrote: > An alternative would be to use brief text like the following. We can put > information on the wiki page which would be rewritten. > > In the following "more information" would be a link to > http://vim.wikia.com/wiki/Where_to_download_Vim > > ---start--- > >

Re: Patch 7.4.1133

2016-01-24 Fir de Conversatie h_east
p.s. This script requires Exuberant Ctags 5.8 -- Best regards, Hirohito Higashi (a.k.a h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie Bram Moolenaar
Lcd wrote: > [...] > > > Actually, since you added two more values for type(), it would > > > make sense to make Bool and Null standard types, Vim citizens with > > > full rights. But some careful consideration would be needed for the > > > interaction with the other types, so that they can

Re: Link failure in Huge but not in Tiny

2016-01-24 Fir de Conversatie Tony Mechelynck
On Sun, Jan 24, 2016 at 5:31 PM, Tony Mechelynck wrote: > On Sun, Jan 24, 2016 at 2:22 PM, Bram Moolenaar wrote: >> >> Tony wrote: >> >>> 7.4.1153: unaffected >>> 7.4.1158: affected >>> 7.4.1161: affected >>> >>> link.sh: $LINK_AS_NEEDED set to

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie Bram Moolenaar
Lcd wrote: > > > > [...] > > > > > > Actually, since you added two more values for type(), it > > > > > > would make sense to make Bool and Null standard types, Vim > > > > > > citizens with full rights. But some careful consideration > > > > > > would be needed for the interaction with the

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2016-01-24 17:05 GMT+03:00 Bram Moolenaar : > > Marius Gedminas wrote: > > > On Sat, Jan 23, 2016 at 07:46:42PM +0100, Bram Moolenaar wrote: > > > > > > Patch 7.4.1154 > > > Problem:No support for JSON. > > > Solution: Add jsonencode() and jsondecode(). Also add

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie LCD 47
On 24 January 2016, Bram Moolenaar wrote: > > Lcd wrote: [...] > > Actually, since you added two more values for type(), it would > > make sense to make Bool and Null standard types, Vim citizens with > > full rights. But some careful consideration would be needed for the

Patch 7.4.1167

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1167 Problem:No tests for "is" and "isnot" with the new variables. Solution: Add tests. Files: src/testdir/test_viml.vim *** ../vim-7.4.1166/src/testdir/test_viml.vim 2016-01-24 15:05:27.455868305 +0100 --- src/testdir/test_viml.vim 2016-01-24 17:19:23.936838484 +0100

Re: Link failure in Huge but not in Tiny

2016-01-24 Fir de Conversatie Tony Mechelynck
On Sun, Jan 24, 2016 at 2:22 PM, Bram Moolenaar wrote: > > Tony wrote: > >> 7.4.1153: unaffected >> 7.4.1158: affected >> 7.4.1161: affected >> >> link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly. >> gcc -L. -fstack-protector -rdynamic -Wl,-export-dynamic

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie LCD 47
On 24 January 2016, Bram Moolenaar wrote: > > Lcd wrote: > [...] > > > > One more thing: adjusting the result of jsondecode() to contain > > > > only "standard" values involves deep traversal, which is not > > > > trivial. Actually, it's pretty hard to get right. > > >

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie LCD 47
On 24 January 2016, LCD 47 wrote: > On 24 January 2016, Bram Moolenaar wrote: > > > > Lcd wrote: > [...] > > > Actually, since you added two more values for type(), it would > > > make sense to make Bool and Null standard types, Vim citizens with > > >

Patch 7.4.1168

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1168 Problem:This doesn't give the right result: eval(string(v:true)). (Nikolay Pavlov) Solution: Make the string "v:true" instead of "true". Files: src/eval.c, src/testdir/test_viml.vim *** ../vim-7.4.1167/src/eval.c 2016-01-24 14:22:06.282648939 +0100 ---

Patch 7.4.1170

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1170 (after 7.4.1169) Problem:Missing changes in src/Makefile, Filelist. Solution: Add the missing changes. Files: Filelist, src/Makefile *** ../vim-7.4.1169/Filelist2016-01-23 19:45:48.626931291 +0100 --- Filelist2016-01-24 20:38:29.960715750 +0100 ***

Patch 7.4.1171

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1171 Problem:Makefile dependencies are outdated. Solution: Run "make depend". Add GTK resource dependencies. Files: src/Makefile *** ../vim-7.4.1170/src/Makefile2016-01-24 20:41:46.518665697 +0100 --- src/Makefile2016-01-24 20:51:48.892379678 +0100

Re: [vim] Trying to dump deeply nested list with jsonencode() crashes (#588)

2016-01-24 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2016-01-24 19:53 GMT+03:00 Bram Moolenaar : > > Nikolai Pavlov wrote: > > > Consider the following code: > > > > vim -u NONE --cmd 'let l=[]' --cmd 'call map(range(1024*1024), > "extend(g:, {\"l\": [g:l]})")' --cmd 'echo jsonencode(l)' > > > > This crashes with stack

Patch 7.4.1169

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1169 Problem:The socket I/O is intertwined with the netbeans code. Solution: Start refactoring the netbeans communication to split off the socket I/O. Add the +channel feature. Files: src/channel.c, src/netbeans.c, src/proto/channel.pro,

Re: RFC: Additions to the argv() and argc() functions

2016-01-24 Fir de Conversatie Yegappan Lakshmanan
Hi all, The attached patch implements the below described changes to the argc() and argv() functions, updates the documentation and adds new tests. - Yegappan On Wed, Jan 20, 2016 at 12:45 PM, Yegappan Lakshmanan wrote: > Hi all, > > A Vim window can use either the global

Patch 7.4.1173

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1173 (after 7.4.1168) Problem:No test for new behavior of v:true et al. Solution: Add a test. Files: src/testdir/test_viml.vim *** ../vim-7.4.1172/src/testdir/test_viml.vim 2016-01-24 17:54:19.031096454 +0100 --- src/testdir/test_viml.vim 2016-01-24 21:48:03.493107115

Re: RFC: Additions to the argv() and argc() functions

2016-01-24 Fir de Conversatie Bram Moolenaar
Yegappan Lakshmanan wrote: > The attached patch implements the below described changes to the > argc() and argv() functions, updates the documentation and > adds new tests. > > - Yegappan > > On Wed, Jan 20, 2016 at 12:45 PM, Yegappan Lakshmanan > wrote: > > Hi all, > > >

Patch 7.4.1174

2016-01-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.1174 Problem:Netbeans contains dead code insde #ifndef INIT_SOCKETS. Solution: Remove the dead code. Files: src/netbeans.c *** ../vim-7.4.1173/src/netbeans.c 2016-01-24 20:36:18.854082474 +0100 --- src/netbeans.c 2016-01-24 22:14:35.800374527 +0100 ***

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie LCD 47
On 24 January 2016, Bram Moolenaar wrote: > > Lcd wrote: > > > [...] > > > > > > One more thing: adjusting the result of jsondecode() to contain > > > > > > only "standard" values involves deep traversal, which is not > > > > > > trivial. Actually, it's pretty hard to

Re: Patch 7.4.1154

2016-01-24 Fir de Conversatie Bram Moolenaar
Lcd wrote: > [...] > > > > > One more thing: adjusting the result of jsondecode() to contain > > > > > only "standard" values involves deep traversal, which is not > > > > > trivial. Actually, it's pretty hard to get right. > > > > > > > > Example? > > > > > > Anything nested would do:

Re: Patch 7.4.1169

2016-01-24 Fir de Conversatie Christian J. Robinson
After this patch I can't build: Make_cyg_ming.mak:696: *** extraneous 'endif'. Stop. As near as I can tell, that line can just be deleted and it works fine. Patch attached. - Christian On Sun, Jan 24, 2016 at 12:36 PM, Bram Moolenaar wrote: > > Patch 7.4.1169 >

Re: type of number/float in vim script

2016-01-24 Fir de Conversatie Ken Takata
Hi, 2016/1/22 Fri 21:00:16 UTC+9 Ken Takata wrote: > Hi, > > 2016/1/21 Thu 21:48:44 UTC+9 Ken Takata wrote: > > Hi mattn and all, > > > > I think that supporting 64-bit Number (even on 32-bit systems) is very > > useful. > > One of the best examples is getfsize() as mattn said. 32-bit Number