Re: Patch 8.1.0482
Hi Bram, 2018/10/19 Fri 6:46:44 UTC+9 Bram Moolenaar wrote: > Ken Takata wrote: > > You also included Michael's patch (only part of MinGW). > > Is it intentional? > > Sometimes I think it's not worth sending out a small change immediately, > and it gets picked up with the next change to the same file. Hmm, I don't think this is the case. Michael's patch has also MSVC part. Merging only MinGW part this time and another part at another time causes confusion. (I think that the makefile for unix also needs similar change for ctags, though.) Regards, Ken Takata -- -- 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 received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Patch 8.1.0487
On Fri, Oct 19, 2018 at 10:37 PM Bram Moolenaar wrote: > > > Patch 8.1.0487 > Problem:No menus specifically for the terminal window. > Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test. > Files: runtime/delmenu.vim, runtime/doc/autocmd.txt, runtime/doc/gui.txt, > runtime/doc/index.txt, runtime/doc/terminal.txt, > runtime/doc/usr_42.txt, runtime/menu.vim, src/ex_cmdidxs.h, > src/ex_cmds.h, src/ex_docmd.c, src/menu.c, src/proto/menu.pro, > src/popupmnu.c, src/structs.h, src/testdir/test_menu.vim I don't know why this patch got sent to the list as "Patch 8.1.04" but at least the patch number is correct in the message text. Best regards, Tony. -- -- 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 received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Patch 8.1.04
Patch 8.1.0487 Problem:No menus specifically for the terminal window. Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test. Files: runtime/delmenu.vim, runtime/doc/autocmd.txt, runtime/doc/gui.txt, runtime/doc/index.txt, runtime/doc/terminal.txt, runtime/doc/usr_42.txt, runtime/menu.vim, src/ex_cmdidxs.h, src/ex_cmds.h, src/ex_docmd.c, src/menu.c, src/proto/menu.pro, src/popupmnu.c, src/structs.h, src/testdir/test_menu.vim *** ../vim-8.1.0486/runtime/delmenu.vim 2010-05-15 13:03:31.0 +0200 --- runtime/delmenu.vim 2018-10-19 18:35:52.654453150 +0200 *** *** 5,10 --- 5,11 " Last Change:2001 May 27 aunmenu * + tlunmenu * silent! unlet did_install_default_menus silent! unlet did_install_syntax_menu *** ../vim-8.1.0486/runtime/doc/autocmd.txt 2018-09-16 15:47:45.629425398 +0200 --- runtime/doc/autocmd.txt 2018-10-19 18:35:52.654453150 +0200 *** *** 831,843 right mouse button). Useful for adjusting the menu for what is under the cursor or mouse pointer. ! The pattern is matched against a single ! character representing the mode: n Normal v Visual o Operator-pending i Insert c Command line *OptionSet* OptionSet After setting an option. The pattern is matched against the long option name. --- 835,848 right mouse button). Useful for adjusting the menu for what is under the cursor or mouse pointer. ! The pattern is matched against one or two ! characters representing the mode: n Normal v Visual o Operator-pending i Insert c Command line + tl Terminal *OptionSet* OptionSet After setting an option. The pattern is matched against the long option name. *** ../vim-8.1.0486/runtime/doc/gui.txt 2018-05-17 13:41:40.0 +0200 --- runtime/doc/gui.txt 2018-10-19 19:21:48.080078320 +0200 *** *** 547,561 5.2 Creating New Menus*creating-menus* ! *:me* *:menu* *:noreme* *:noremenu* ! *:am* *:amenu* *:an* *:anoremenu* ! *:nme* *:nmenu* *:nnoreme* *:nnoremenu* ! *:ome* *:omenu* *:onoreme* *:onoremenu* ! *:vme* *:vmenu* *:vnoreme* *:vnoremenu* ! *:xme* *:xmenu* *:xnoreme* *:xnoremenu* ! *:sme* *:smenu* *:snoreme* *:snoremenu* ! *:ime* *:imenu* *:inoreme* *:inoremenu* ! *:cme* *:cmenu* *:cnoreme* *:cnoremenu* *E330* *E327* *E331* *E336* *E333* *E328* *E329* *E337* *E792* To create a new menu item, use the ":menu" commands. They are mostly like --- 547,562 5.2 Creating New Menus*creating-menus* ! *:me* *:menu* *:noreme* *:noremenu* ! *:am* *:amenu* *:an* *:anoremenu* ! *:nme* *:nmenu* *:nnoreme* *:nnoremenu* ! *:ome* *:omenu* *:onoreme* *:onoremenu* ! *:vme* *:vmenu* *:vnoreme* *:vnoremenu* ! *:xme* *:xmenu* *:xnoreme* *:xnoremenu* ! *:sme* *:smenu* *:snoreme* *:snoremenu* ! *:ime* *:imenu* *:inoreme* *:inoremenu* ! *:cme* *:cmenu* *:cnoreme* *:cnoremenu* ! *:tlm* *:tlmenu* *:tln* *:tlnoremenu* *E330* *E327* *E331* *E336* *E333* *E328* *E329* *E337* *E792* To create a new menu item, use the ":menu" commands. They are mostly like *** *** 571,576 --- 572,581 "Big Changes", which is a sub-menu
Patch 8.1.0486
Patch 8.1.0486 (after 8.1.0485) Problem:Can't build in MS-Windows. Solution: Put mch_access() call inside #ifdef Files: src/channel.c *** ../vim-8.1.0485/src/channel.c 2018-10-19 16:53:36.732867808 +0200 --- src/channel.c 2018-10-19 17:34:14.806125758 +0200 *** *** 4917,4923 break; opt->jo_cwd = get_tv_string_buf_chk(item, opt->jo_cwd_buf); if (opt->jo_cwd == NULL || !mch_isdir(opt->jo_cwd) ! || mch_access((char *)opt->jo_cwd, X_OK) != 0) { EMSG2(_(e_invargval), "cwd"); return FAIL; --- 4917,4926 break; opt->jo_cwd = get_tv_string_buf_chk(item, opt->jo_cwd_buf); if (opt->jo_cwd == NULL || !mch_isdir(opt->jo_cwd) ! #ifndef WIN32 // Win32 directories don't have the concept of "executable" ! || mch_access((char *)opt->jo_cwd, X_OK) != 0 ! #endif ! ) { EMSG2(_(e_invargval), "cwd"); return FAIL; *** ../vim-8.1.0485/src/version.c 2018-10-19 16:53:36.732867808 +0200 --- src/version.c 2018-10-19 17:35:28.221467810 +0200 *** *** 794,795 --- 794,797 { /* Add new patch number below this line */ + /**/ + 486, /**/ -- hundred-and-one symptoms of being an internet addict: 242. You turn down a better-paying job because it doesn't come with a free e-mail account. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org/// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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 received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Patch 8.1.0485
Patch 8.1.0485 Problem:term_start() does not check if directory is accessible. Solution: Add mch_access() call. (Jason Franklin) Files: src/channel.c, src/testdir/test_terminal.vim *** ../vim-8.1.0484/src/channel.c 2018-09-13 15:33:39.601712271 +0200 --- src/channel.c 2018-10-19 16:52:39.981396959 +0200 *** *** 4916,4922 if (!(supported2 & JO2_CWD)) break; opt->jo_cwd = get_tv_string_buf_chk(item, opt->jo_cwd_buf); ! if (opt->jo_cwd == NULL || !mch_isdir(opt->jo_cwd)) { EMSG2(_(e_invargval), "cwd"); return FAIL; --- 4916,4923 if (!(supported2 & JO2_CWD)) break; opt->jo_cwd = get_tv_string_buf_chk(item, opt->jo_cwd_buf); ! if (opt->jo_cwd == NULL || !mch_isdir(opt->jo_cwd) ! || mch_access((char *)opt->jo_cwd, X_OK) != 0) { EMSG2(_(e_invargval), "cwd"); return FAIL; *** ../vim-8.1.0484/src/testdir/test_terminal.vim 2018-08-07 16:33:15.255728441 +0200 --- src/testdir/test_terminal.vim 2018-10-19 16:52:03.413741075 +0200 *** *** 478,483 --- 478,505 call delete('Xdir', 'rf') endfunc + func Test_terminal_cwd_failure() + " Case 1: Provided directory is not actually a directory. Attempt to make + " the file executable as well. + call writefile([], 'Xfile') + call setfperm('Xfile', 'rwx--') + call assert_fails("call term_start(, {'cwd': 'Xfile'})", 'E475:') + call delete('Xfile') + + " Case 2: Directory does not exist. + call assert_fails("call term_start(, {'cwd': 'Xdir'})", 'E475:') + + " Case 3: Directory exists but is not accessible. + call mkdir('Xdir', '', '0600') + " return early if the directory permissions could not be set properly + if getfperm('Xdir')[2] == 'x' + call delete('Xdir', 'rf') + return + endif + call assert_fails("call term_start(, {'cwd': 'Xdir'})", 'E475:') + call delete('Xdir', 'rf') + endfunc + func Test_terminal_servername() if !has('clientserver') return *** ../vim-8.1.0484/src/version.c 2018-10-19 16:26:39.964404727 +0200 --- src/version.c 2018-10-19 16:50:33.270601082 +0200 *** *** 794,795 --- 794,797 { /* Add new patch number below this line */ + /**/ + 485, /**/ -- hundred-and-one symptoms of being an internet addict: 241. You try to look for Net Search even when you're in File Manager. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org/// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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 received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Patch 8.1.0484
Patch 8.1.0484 Problem:Some file types are not recognized. Solution: Update the file type detection. Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.1.0483/runtime/filetype.vim2018-05-04 20:36:26.0 +0200 --- runtime/filetype.vim2018-10-11 16:27:56.551008731 +0200 *** *** 586,592 au BufNewFile,BufRead *.mas,*.master setf master " Forth ! au BufNewFile,BufRead *.fs,*.ft setf forth " Reva Forth au BufNewFile,BufRead *.frt setf reva --- 586,592 au BufNewFile,BufRead *.mas,*.master setf master " Forth ! au BufNewFile,BufRead *.fs,*.ft,*.fth setf forth " Reva Forth au BufNewFile,BufRead *.frt setf reva *** *** 1263,1271 " Pyrex au BufNewFile,BufRead *.pyx,*.pxd setf pyrex ! " Python, Python Shell Startup Files " Quixote (Python-based web framework) ! au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc,*.ptl setf python " Radiance au BufNewFile,BufRead *.rad,*.mat setf radiance --- 1263,1271 " Pyrex au BufNewFile,BufRead *.pyx,*.pxd setf pyrex ! " Python, Python Shell Startup and Python Stub Files " Quixote (Python-based web framework) ! au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc,*.ptl,*.pyi setf python " Radiance au BufNewFile,BufRead *.rad,*.mat setf radiance *** *** 1414,1421 " sed au BufNewFile,BufRead *.sed setf sed ! " Sieve (RFC 3028) ! au BufNewFile,BufRead *.siv setf sieve " Sendmail au BufNewFile,BufRead sendmail.cf setf sm --- 1414,1421 " sed au BufNewFile,BufRead *.sed setf sed ! " Sieve (RFC 3028, 5228) ! au BufNewFile,BufRead *.siv,*.sieve setf sieve " Sendmail au BufNewFile,BufRead sendmail.cf setf sm *** *** 1462,1468 " Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc. " Gentoo ebuilds and Arch Linux PKGBUILDs are actually bash scripts ! au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash[_-]profile*,.bash[_-]logout*,.bash[_-]aliases*,*.bash,*/{,.}bash[_-]completion{,.d,.sh}{,/*},*.ebuild,*.eclass,PKGBUILD* call dist#ft#SetFileTypeSH("bash") au BufNewFile,BufRead .kshrc*,*.ksh call dist#ft#SetFileTypeSH("ksh") au BufNewFile,BufRead */etc/profile,.profile*,*.sh,*.env call dist#ft#SetFileTypeSH(getline(1)) --- 1462,1468 " Shell scripts (sh, ksh, bash, bash2, csh); Allow .profile_foo etc. " Gentoo ebuilds and Arch Linux PKGBUILDs are actually bash scripts ! au BufNewFile,BufRead .bashrc*,bashrc,bash.bashrc,.bash[_-]profile*,.bash[_-]logout*,.bash[_-]aliases*,bash-fc[-.]*,*.bash,*/{,.}bash[_-]completion{,.d,.sh}{,/*},*.ebuild,*.eclass,PKGBUILD* call dist#ft#SetFileTypeSH("bash") au BufNewFile,BufRead .kshrc*,*.ksh call dist#ft#SetFileTypeSH("ksh") au BufNewFile,BufRead */etc/profile,.profile*,*.sh,*.env call dist#ft#SetFileTypeSH(getline(1)) *** *** 1766,1771 --- 1766,1774 " Webmacro au BufNewFile,BufRead *.wmsetf webmacro + " WebAssembly + au BufNewFile,BufRead *.wast,*.watsetf wast + " Wget config au BufNewFile,BufRead .wgetrc,wgetrc setf wget *** *** 1862,1867 --- 1865,1873 " ATI graphics driver configuration au BufNewFile,BufRead fglrxrc setf xml + " Web Services Description Language (WSDL) + au BufNewFile,BufRead *.wsdl setf xml + " XLIFF (XML Localisation Interchange File Format) is also XML au BufNewFile,BufRead *.xlf setf xml au BufNewFile,BufRead *.xliff setf xml *** ../vim-8.1.0483/src/testdir/test_filetype.vim 2018-02-03 22:32:17.0 +0100 --- src/testdir/test_filetype.vim 2018-10-19 16:26:23.556527490 +0200 *** *** 162,168 \ 'fetchmail': ['.fetchmailrc'], \ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'], \ 'focexec': ['file.fex', 'file.focexec'], ! \ 'forth': ['file.fs', 'file.ft'], \ 'fortran': ['file.f', 'file.for', 'file.fortran', 'file.fpp', 'file.ftn', 'file.f77', 'file.f90', 'file.f95', 'file.f03', 'file.f08'], \ 'framescript': ['file.fsl'], \ 'freebasic': ['file.fb', 'file.bi'], --- 162,168 \ 'fetchmail': ['.fetchmailrc'], \ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'], \ 'focexec': ['file.fex', 'file.focexec'], ! \ 'forth': ['file.fs', 'file.ft', 'file.fth'], \ 'fortran': ['file.f', 'file.for', 'file.fortran', 'file.fpp', 'file.ftn', 'file.f77', 'file.f90', 'file.f95', 'file.f03', 'file.f08'], \ 'framescript': ['file.fsl'], \ 'freebasic': ['file.fb', 'file.bi'], *** *** 350,356 \ 'protocols': ['/etc/protocols'], \ 'psf':
Re: [patch] Fix several documents
Hirohito Higashi wrote: > Oh, Patch is just attached. Thanks, included most of it. > *'compatible'* *'cp'* *'nocompatible'* *'nocp'* > 'compatible' 'cp'boolean (default on, off when a |vimrc| or |gvimrc| > - file is found, reset in |defaults.vim|) > + file is found, off in |defaults.vim|) > global > {not in Vi} Using "set" and "reset" is consistent with other remarks about defaults.vim. -- hundred-and-one symptoms of being an internet addict: 235. You start naming your kids Pascal, COBOL, Algol and Fortran. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org/// \\\help me help AIDS victims -- http://ICCF-Holland.org/// -- -- 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 received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.