From: <sri...@us...> - 2006-01-20 16:35:29
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5854 Modified Files: main.vim Added Files: version.vim Log Message: Bug: Trying to internationalize Tex_GetErrorList() broke code because when there are no errors, we get "\nE42: No Errors". Therefore needed to match 'E42: '. Matching '^E42: ' does not work. New: moved Tex_Version() into a new file called version.vim so that we do not get fake commits on main.vim. It was getting hard to figure out whether a change in main.vim corresponded to changed code or just a version increment. --- NEW FILE: version.vim --- " Tex_Version: returns a string which gives the current version number of latex-suite " Description: " Each time a bug fix/addition is done in any source file in latex-suite, " not just this file, the number below has to be incremented by the author. " This will ensure that there is a single 'global' version number for all of " latex-suite. " " If a change is done in the doc/ directory, i.e an addition/change in the " documentation, then this number should NOT be incremented. " " Latex-suite will follow a 3-tier system of versioning just as Vim. A " version number will be of the form: " " X.Y.ZZ " " 'X' will only be incremented for a major over-haul or feature addition. " 'Y' will be incremented for significant changes which do not qualify " as major. " 'ZZ' will be incremented for bug-fixes and very trivial additions such " as adding an option etc. Once ZZ reaches 50, then Y will be " incremented and ZZ will be reset to 01. Each time we have a " version number of the form X.Y.01, then we'll make a release on " vim.sf.net and also create a cvs tag at that point. We'll try to " "stabilize" that version by releasing a few pre-releases and then " keep that as a stable point. function! Tex_Version() return "Latex-Suite: version 1.8.06" endfunction com! -nargs=0 TVersion echo Tex_Version() Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.91 retrieving revision 1.92 diff -C2 -d -r1.91 -r1.92 *** main.vim 10 Jan 2006 01:59:11 -0000 1.91 --- main.vim 20 Jan 2006 16:35:20 -0000 1.92 *************** *** 571,575 **** let @a = _a ! if errlist =~ '^E42: ' let errlist = '' endif --- 571,575 ---- let @a = _a ! if errlist =~ 'E42: ' let errlist = '' endif *************** *** 612,647 **** return substitute(a:path, '[^\\]\(\\\\\)*\zs ', '\\ ', 'g') endfunction " }}} - " Tex_Version: returns a string which gives the current version number of latex-suite {{{ - " Description: - " Each time a bug fix/addition is done in any source file in latex-suite, - " not just this file, the number below has to be incremented by the author. - " This will ensure that there is a single 'global' version number for all of - " latex-suite. - " - " If a change is done in the doc/ directory, i.e an addition/change in the - " documentation, then this number should NOT be incremented. - " - " Latex-suite will follow a 3-tier system of versioning just as Vim. A - " version number will be of the form: - " - " X.Y.ZZ - " - " 'X' will only be incremented for a major over-haul or feature addition. - " 'Y' will be incremented for significant changes which do not qualify - " as major. - " 'ZZ' will be incremented for bug-fixes and very trivial additions such - " as adding an option etc. Once ZZ reaches 50, then Y will be - " incremented and ZZ will be reset to 01. Each time we have a - " version number of the form X.Y.01, then we'll make a release on - " vim.sf.net and also create a cvs tag at that point. We'll try to - " "stabilize" that version by releasing a few pre-releases and then - " keep that as a stable point. - function! Tex_Version() - return "Latex-Suite: version 1.8.05" - endfunction - - com! -nargs=0 TVersion echo Tex_Version() - - " }}} " ============================================================================== --- 612,615 ---- *************** *** 825,828 **** --- 793,797 ---- exe 'source '.s:path.'/texviewer.vim' + exe 'source '.s:path.'/version.vim' " ============================================================================== |