diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-05-02 22:08:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-05-02 22:08:30 +0000 |
commit | d68071d8da46caf46581ae55aaca241e2dbf62c3 (patch) | |
tree | aa3ff9a9d640cad7c56bc626b1dd1e53af084d67 /runtime | |
parent | c9b4b05b3544b434730eb218e848a1a441d5ffb2 (diff) |
updated for version 7.0g01
Diffstat (limited to 'runtime')
29 files changed, 393 insertions, 170 deletions
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim index 98f6c8b107..a2f7efc023 100644 --- a/runtime/autoload/netrw.vim +++ b/runtime/autoload/netrw.vim @@ -1,7 +1,7 @@ " netrw.vim: Handles file transfer and remote directory listing across a network " AUTOLOAD PORTION -" Date: Apr 28, 2006 -" Version: 95 +" Date: May 02, 2006 +" Version: 98 " Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz> " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim " Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1 @@ -23,7 +23,7 @@ if &cp || exists("g:loaded_netrw") finish endif -let g:loaded_netrw = "v95" +let g:loaded_netrw = "v98" if v:version < 700 echohl WarningMsg | echo "***netrw*** you need vim version 7.0 or later for version ".g:loaded_netrw." of netrw" | echohl None finish @@ -328,7 +328,7 @@ fun! netrw#NetRead(mode,...) if !isdirectory(substitute(tmpfile,'[^/]\+$','','e')) echohl Error | echo "***netrw*** your <".substitute(tmpfile,'[^/]\+$','','e')."> directory is missing!" | echohl None call inputsave()|call input("Press <cr> to continue")|call inputrestore() -" call Dret("NetRead") +" call Dret("NetRead :1 getcwd<".getcwd().">") return endif " call Decho("tmpfile<".tmpfile.">") @@ -380,7 +380,7 @@ fun! netrw#NetRead(mode,...) echohl Error | echo "***netrw*** Unbalanced string in filename '". wholechoice ."'" | echohl None call inputsave()|call input("Press <cr> to continue")|call inputrestore() endif -" call Dret("NetRead") +" call Dret("NetRead :2 getcwd<".getcwd().">") return endif let choice= a:{ichoice} @@ -398,7 +398,9 @@ fun! netrw#NetRead(mode,...) let choice = substitute(choice,'\\','/','ge') " call Decho("fixing up windows url to <".choice."> tmpfile<".tmpfile) - exe 'cd ' . fnamemodify(tmpfile,':h') + if !g:netrw_keepdir + exe 'lcd ' . fnamemodify(tmpfile,':h') + endif let tmpfile = fnamemodify(tmpfile,':t') endif @@ -410,7 +412,7 @@ fun! netrw#NetRead(mode,...) if choice =~ "^.*[\/]$" " call Decho("yes, choice matches '^.*[\/]$'") keepjumps call s:NetBrowse(choice) -" call Dret("NetRead") +" call Dret("NetRead :3 getcwd<".getcwd().">") return endif @@ -432,7 +434,7 @@ fun! netrw#NetRead(mode,...) " rcp: NetRead Method #1 {{{3 if b:netrw_method == 1 " read with rcp " call Decho("read via rcp (method #1)") - " ER: noting done with g:netrw_uid yet? + " ER: nothing done with g:netrw_uid yet? " ER: on Win2K" rcp machine[.user]:file tmpfile " ER: if machine contains '.' adding .user is required (use $USERNAME) " ER: the tmpfile is full path: rcp sees C:\... as host C @@ -566,7 +568,7 @@ fun! netrw#NetRead(mode,...) echohl Error | echo "***netrw*** neither wget nor fetch command is available" | echohl None call inputsave()|call input("Press <cr> to continue")|call inputrestore() endif -" call Dret("NetRead") +" call Dret("NetRead :4 getcwd<".getcwd().">") return endif @@ -701,7 +703,7 @@ fun! netrw#NetRead(mode,...) endif call s:NetOptionRestore() -" call Dret("NetRead") +" call Dret("NetRead :5 getcwd<".getcwd().">") endfun " ------------------------------------------------------------------------ @@ -894,8 +896,9 @@ fun! netrw#NetWrite(...) range " fix up windows urls if has("win32") || has("win95") || has("win64") || has("win16") let choice= substitute(choice,'\\','/','ge') - "ER: see NetRead() - exe 'cd ' . fnamemodify(tmpfile,':h') + if !g:netrw_keepdir + exe 'lcd ' . fnamemodify(tmpfile,':h') + endif let tmpfile = fnamemodify(tmpfile,':t') endif @@ -1212,6 +1215,7 @@ fun! s:NetBrowse(dirname) elseif g:netrw_sort_by =~ "^s" let listcmd= listcmd."S" endif + " optionally sort in reverse if g:netrw_sort_direction =~ "^r" && listcmd == "dir" let listcmd= listcmd."r" @@ -2464,15 +2468,21 @@ fun! netrw#NetObtain(...) " NetrwStatusLine support - for obtaining support call s:SetupNetrwStatusLine('%f %h%m%r%=%9*Obtaining '.fname) -" call Decho("method=".w:netrw_method) if exists("w:netrw_method") && w:netrw_method =~ '[235]' +" call Decho("method=".w:netrw_method) if executable("ftp") +" call Decho("ftp is executable, method=".w:netrw_method) let curdir = expand("%") let path = substitute(curdir,'ftp://[^/]\+/','','e') let curline= line(".") let endline= line("$")+1 set ma keepjumps $ +" call Decho("getcwd<".getcwd().">") +" call Decho("curdir<".curdir.">") +" call Decho("path<".path.">") +" call Decho("curline=".curline) +" call Decho("endline=".endline) "......................................... if w:netrw_method == 2 @@ -2484,6 +2494,8 @@ fun! netrw#NetObtain(...) endif put ='get '.fname " call Decho("ftp: get ".fname) + put ='quit' +" call Decho("ftp: quit") if exists("g:netrw_port") && g:netrw_port != "" " call Decho("exe ".g:netrw_silentxfer.endline.",$!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port) exe g:netrw_silentxfer.endline.",$!".g:netrw_ftp_cmd." -i ".g:netrw_machine." ".g:netrw_port @@ -2537,6 +2549,7 @@ fun! netrw#NetObtain(...) exe "keepjumps ".curline setlocal noma nomod else +" call Decho("ftp not executable") if !exists("g:netrw_quiet") echohl Error | echo "***netrw*** this system doesn't support ftp" | echohl None call inputsave()|call input("Press <cr> to continue")|call inputrestore() @@ -2556,6 +2569,7 @@ fun! netrw#NetObtain(...) "......................................... else " scp: Method#4 +" call Decho("using scp") let curdir = expand("%") let path = substitute(curdir,'scp://[^/]\+/','','e') " call Decho("path<".path.">") @@ -2788,7 +2802,7 @@ fun! netrw#DirBrowse(dirname) endif call s:NetOptionSave() - if w:acdkeep + if exists("w:acdkeep") && w:acdkeep exe 'cd '.escape(a:dirname,s:netrw_cd_escape) " call Decho("cd ".escape(a:dirname,s:netrw_cd_escape)) " call Decho("getcwd<".getcwd().">") @@ -3486,7 +3500,7 @@ fun! s:LocalPreview(path) range " call Dfunc("LocalPreview(path<".a:path.">)") if has("quickfix") if !isdirectory(a:path) - exe "pedit ".a:path + exe "pedit ".escape(a:path,g:netrw_fname_escape) elseif !exists("g:netrw_quiet") echohl WarningMsg | echo "***netrw*** sorry, cannot preview a directory such as <".a:path.">" | echohl None call inputsave()|call input("Press <cr> to continue")|call inputrestore() @@ -4033,7 +4047,9 @@ fun! s:NetOptionSave() endif " Get Temporary Filename - let w:acdkeep = &acd + if exists("&acd") + let w:acdkeep = &acd + endif let w:aikeep = &ai let w:fokeep = &fo let w:cikeep = &ci @@ -4043,6 +4059,9 @@ fun! s:NetOptionSave() let w:cpokeep = &cpo let w:hidkeep = &hidden let w:magickeep = &magic + if !g:netrw_keepdir + let w:dirkeep = getcwd() + endif let w:gdkeep = &gd let w:repkeep = &report let w:spellkeep = &spell @@ -4050,7 +4069,11 @@ fun! s:NetOptionSave() setlocal cino = setlocal com = setlocal cpo -=aA - setlocal noacd nocin noai noci magic nospell fo=nroql2 nohid + if exists("&acd") + setlocal noacd nocin noai noci magic nospell fo=nroql2 nohid + else + setlocal nocin noai noci magic nospell fo=nroql2 nohid + endif setlocal tw =0 setlocal report=10000 if has("win32") && !has("win95") @@ -4072,13 +4095,16 @@ fun! s:NetOptionRestore() endif unlet w:netoptionsave - if exists("w:acdkeep") |let &acd = w:acdkeep |unlet w:acdkeep |endif + if exists("&acd") + if exists("w:acdkeep") |let &acd = w:acdkeep |unlet w:acdkeep |endif + endif if exists("w:aikeep") |let &ai = w:aikeep |unlet w:aikeep |endif if exists("w:cikeep") |let &ci = w:cikeep |unlet w:cikeep |endif if exists("w:cinkeep") |let &cin = w:cinkeep |unlet w:cinkeep |endif if exists("w:cinokeep") |let &cino = w:cinokeep |unlet w:cinokeep |endif if exists("w:comkeep") |let &com = w:comkeep |unlet w:comkeep |endif if exists("w:cpokeep") |let &cpo = w:cpokeep |unlet w:cpokeep |endif + if exists("w:dirkeep") |exe "lcd ".w:dirkeep |unlet w:dirkeep |endif if exists("w:fokeep") |let &fo = w:fokeep |unlet w:fokeep |endif if exists("w:gdkeep") |let &gd = w:gdkeep |unlet w:gdkeep |endif if exists("w:hidkeep") |let &hidden = w:hidkeep |unlet w:hidkeep |endif diff --git a/runtime/autoload/netrwFileHandlers.vim b/runtime/autoload/netrwFileHandlers.vim index cd6de66c58..895cd99d35 100644 --- a/runtime/autoload/netrwFileHandlers.vim +++ b/runtime/autoload/netrwFileHandlers.vim @@ -1,7 +1,7 @@ " netrwFileHandlers: contains various extension-based file handlers for " netrw's browsers' x command ("eXecute launcher") " Author: Charles E. Campbell, Jr. -" Date: Mar 22, 2006 +" Date: May 01, 2006 " Version: 8 " Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1 " Permission is hereby granted to use and distribute this code, @@ -25,7 +25,7 @@ set cpo&vim let g:loaded_netrwFileHandlers= "v8" " --------------------------------------------------------------------- -" netrwFileHandlers#Invoke: {{{2 +" netrwFileHandlers#Invoke: {{{1 fun! netrwFileHandlers#Invoke(exten,fname) " call Dfunc("netrwFileHandlers#Invoke(exten<".a:exten."> fname<".a:fname.">)") diff --git a/runtime/autoload/tar.vim b/runtime/autoload/tar.vim index 2fc7ef6274..9004f39359 100644 --- a/runtime/autoload/tar.vim +++ b/runtime/autoload/tar.vim @@ -1,7 +1,7 @@ " tar.vim: Handles browsing tarfiles " AUTOLOAD PORTION -" Date: Mar 27, 2006 -" Version: 7 +" Date: May 02, 2006 +" Version: 9 " Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz> " License: Vim License (see vim's :help license) " @@ -24,7 +24,7 @@ set cpo&vim if exists("g:loaded_tar") finish endif -let g:loaded_tar= "v7" +let g:loaded_tar= "v9" "call Decho("loading autoload/tar.vim") " --------------------------------------------------------------------- @@ -97,6 +97,7 @@ fun! tar#Browse(tarfile) " assuming cygwin let tarfile=substitute(system("cygpath -u ".tarfile),'\n$','','e') endif + let curlast= line("$") if tarfile =~# '\.\(gz\|tgz\)$' " call Decho("exe silent r! gzip -d -c '".tarfile."'| tar -".g:tar_browseoptions." - ") exe "silent r! gzip -d -c '".tarfile."'| tar -".g:tar_browseoptions." - " @@ -108,8 +109,27 @@ fun! tar#Browse(tarfile) exe "silent r! ".g:tar_cmd." -".g:tar_browseoptions." '".tarfile."'" endif if v:shell_error != 0 - echohl Error | echo '***error*** (tar#Browse) while browsing; check your g:tar_browseoptions<".g:tar_browseoptions.">" -" call Dret("tar#Browse : w:tarfile<".w:tarfile.">") + echohl WarningMsg | echo "***warning*** (tar#Browse) please check your g:tar_browseoptions<".g:tar_browseoptions.">" + call inputsave()|call input("Press <cr> to continue")|call inputrestore() +" call Dret("tar#Browse : a:tarfile<".a:tarfile.">") + silent %d + let eikeep= &ei + set ei=BufReadCmd,FileReadCmd + exe "r ".a:tarfile + let &ei= eikeep + 1d + return + endif + if line("$") == curlast || ( line("$") == (curlast + 1) && getline("$") =~? '\c\%(warning\|error\|inappropriate\|unrecognized\)') + echohl WarningMsg | echo "***warning*** (tar#Browse) ".a:tarfile." doesn't appear to be a tar file" | echohl None + call inputsave()|call input("Press <cr> to continue")|call inputrestore() + silent %d + let eikeep= &ei + set ei=BufReadCmd,FileReadCmd + exe "r ".a:tarfile + let &ei= eikeep + 1d +" call Dret("tar#Browse : a:tarfile<".a:tarfile.">") return endif @@ -147,12 +167,6 @@ fun! s:TarBrowseSelect() new wincmd _ let s:tblfile_{winnr()}= curfile -" if has("unix") -"" call Decho("exe e tarfile:".tarfile.':'.fname) -" exe "e tarfile:".tarfile.':'.fname -" elseif has("win32") -" call tar#Read("tarfile:".tarfile.':'.fname,1) -" endif call tar#Read("tarfile:".tarfile.':'.fname,1) filetype detect diff --git a/runtime/autoload/vimball.vim b/runtime/autoload/vimball.vim index e8042b5437..088a32b7db 100644 --- a/runtime/autoload/vimball.vim +++ b/runtime/autoload/vimball.vim @@ -1,7 +1,7 @@ " vimball : construct a file containing both paths and files " Author: Charles E. Campbell, Jr. -" Date: Apr 27, 2006 -" Version: 11 +" Date: May 01, 2006 +" Version: 13 " GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim " Copyright: (c) 2004-2006 by Charles E. Campbell, Jr. " The VIM LICENSE applies to Vimball.vim, and Vimball.txt @@ -15,7 +15,7 @@ if &cp || exists("g:loaded_vimball") finish endif let s:keepcpo = &cpo -let g:loaded_vimball = "v11" +let g:loaded_vimball = "v13" set cpo&vim " ===================================================================== @@ -351,14 +351,20 @@ fun! s:SaveSettings() " call Dfunc("SaveSettings()") let s:makeep = getpos("'a") let s:regakeep= @a - let s:acdkeep = &acd + if exists("&acd") + let s:acdkeep = &acd + endif let s:eikeep = &ei let s:fenkeep = &fen let s:hidkeep = &hidden let s:ickeep = &ic let s:repkeep = &report let s:vekeep = &ve - set ei=all ve=all noacd nofen noic report=999 nohid + if exists("&acd") + set ei=all ve=all noacd nofen noic report=999 nohid + else + set ei=all ve=all nofen noic report=999 nohid + endif " call Dret("SaveSettings") endfun @@ -367,7 +373,9 @@ endfun fun! s:RestoreSettings() " call Dfunc("RestoreSettings()") let @a = s:regakeep - let &acd = s:acdkeep + if exists("&acd") + let &acd = s:acdkeep + endif let &ei = s:eikeep let &fen = s:fenkeep let &hidden = s:hidkeep @@ -379,7 +387,11 @@ fun! s:RestoreSettings() " call Decho("restore mark-a: makeep=".string(makeep)) call setpos("'a",s:makeep) endif - unlet s:regakeep s:acdkeep s:eikeep s:fenkeep s:hidkeep s:ickeep s:repkeep s:vekeep s:makeep + if exists("&acd") + unlet s:regakeep s:acdkeep s:eikeep s:fenkeep s:hidkeep s:ickeep s:repkeep s:vekeep s:makeep + else + unlet s:regakeep s:eikeep s:fenkeep s:hidkeep s:ickeep s:repkeep s:vekeep s:makeep + endif " call Dret("RestoreSettings") endfun diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index c71a4dc3d3..e0ae9b8b7c 100644 --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -1,7 +1,7 @@ " zip.vim: Handles browsing zipfiles " AUTOLOAD PORTION -" Date: Apr 10, 2006 -" Version: 8 +" Date: May 01, 2006 +" Version: 9 " Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz> " License: Vim License (see vim's :help license) " Copyright: Copyright (C) 2005 Charles E. Campbell, Jr. {{{1 @@ -22,7 +22,7 @@ if exists("g:loaded_zip") finish endif -let g:loaded_zip = "v8" +let g:loaded_zip = "v9" let s:zipfile_escape = ' ?&;\' " ---------------- @@ -77,6 +77,18 @@ fun! zip#Browse(zipfile) " call Decho("exe silent r! unzip -l '".a:zipfile."'") exe "silent r! unzip -l '".a:zipfile."'" + if v:shell_error != 0 + echohl WarningMsg | echo "***warning*** (zip#Browse) ".a:zipfile." is not a zip file" | echohl None + call inputsave()|call input("Press <cr> to continue")|call inputrestore() + silent %d + let eikeep= &ei + set ei=BufReadCmd,FileReadCmd + exe "r ".a:zipfile + let &ei= eikeep + 1d +" call Dret("zip#Browse") + return + endif " call Decho("line 6: ".getline(6)) let namecol= stridx(getline(6),'Name') + 1 " call Decho("namecol=".namecol) @@ -127,8 +139,8 @@ fun! s:ZipBrowseSelect() new wincmd _ let s:zipfile_{winnr()}= curfile -" call Decho("exe e zipfile:".escape(zipfile,s:zipfile_escape).':'.escape(fname,s:zipfile_escape)) - exe "e zipfile:".escape(zipfile,s:zipfile_escape).':'.escape(fname,s:zipfile_escape) +" call Decho("exe e zipfile:".escape(zipfile,s:zipfile_escape).'::'.escape(fname,s:zipfile_escape)) + exe "e zipfile:".escape(zipfile,s:zipfile_escape).'::'.escape(fname,s:zipfile_escape) filetype detect let &report= repkeep @@ -142,9 +154,15 @@ fun! zip#Read(fname,mode) let repkeep= &report set report=10 - let zipfile = substitute(a:fname,'zipfile:\(.\{-}\):[^\\].*$','\1','') - let fname = substitute(a:fname,'zipfile:.\{-}:\([^\\].*\)$','\1','') -" call Decho("zipfile<".zipfile."> fname<".fname.">") + if has("unix") + let zipfile = substitute(a:fname,'zipfile:\(.\{-}\)::[^\\].*$','\1','') + let fname = substitute(a:fname,'zipfile:.\{-}::\([^\\].*\)$','\1','') + else + let zipfile = substitute(a:fname,'^.\{-}zipfile:\(.\{-}\)::[^\\].*$','\1','') + let fname = substitute(a:fname,'^.\{-}zipfile:.\{-}::\([^\\].*\)$','\1','') + endif +" call Decho("zipfile<".zipfile.">") +" call Decho("fname <".fname.">") " call Decho("exe r! unzip -p '".zipfile."' '".fname."'") exe "silent r! unzip -p '".zipfile."' '".fname."'" @@ -209,8 +227,15 @@ fun! zip#Write(fname) cd _ZIPVIM_ " call Decho("current directory now: ".getcwd()) - let zipfile = substitute(a:fname,'zipfile:\(.\{-}\):.*$','\1','') - let fname = substitute(a:fname,'zipfile:.\{-}:\(.*\)$','\1','') + if has("unix") + let zipfile = substitute(a:fname,'zipfile:\(.\{-}\)::[^\\].*$','\1','') + let fname = substitute(a:fname,'zipfile:.\{-}::\([^\\].*\)$','\1','') + else + let zipfile = substitute(a:fname,'^.\{-}zipfile:\(.\{-}\)::[^\\].*$','\1','') + let fname = substitute(a:fname,'^.\{-}zipfile:.\{-}::\([^\\].*\)$','\1','') + endif +" call Decho("zipfile<".zipfile.">") +" call Decho("fname <".fname.">") if fname =~ '/' let dirpath = substitute(fname,'/[^/]\+$','','e') diff --git a/runtime/doc/debug.txt b/runtime/doc/debug.txt index 815c6dcc8f..f93837136e 100644 --- a/runtime/doc/debug.txt +++ b/runtime/doc/debug.txt @@ -1,4 +1,4 @@ -*debug.txt* For Vim version 7.0g. Last change: 2006 Apr 30 +*debug.txt* For Vim version 7.0g. Last change: 2006 May 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -47,9 +47,9 @@ some steps to provide a useful bug report. GENERIC ~ You must obtain the debugger symbols (PDB) file for your executable: gvim.pdb -for gvim.exe, or vim.pdb for vim.exe. It should be available from the same -place that you obtained the executable. Be sure to use the PDB that matches -the EXE (same date). +for gvim.exe, or vim.pdb for vim.exe. The PDB should be available from the +same place that you obtained the executable. Be sure to use the PDB that +matches the EXE (same date). If you built the executable yourself with the Microsoft Visual C++ compiler, then the PDB was built with the EXE. @@ -65,10 +65,11 @@ a Vim executable compiled with the Borland compiler; gdb (see above |debug-gcc|) for the Cygwin and MinGW compilers. -Debugging Vim crashes with Visual Studio 2005/Visual C++ 2005 Express ~ + *debug-vs2005* +2.2 Debugging Vim crashes with Visual Studio 2005/Visual C++ 2005 Express ~ First launch vim.exe or gvim.exe and then launch Visual Studio. (If you don't -have Visual Studio, follow the instructions in src/INSTALLpc.txt to obtain a +have Visual Studio, follow the instructions at |get-ms-debuggers| to obtain a free copy of Visual C++ 2005 Express Edition.) On the Tools menu, click Attach to Process. Choose the Vim process. @@ -94,18 +95,57 @@ at ":help bug-reports". Paste the call stack into the bug report. If you have a non-free version of Visual Studio, you can save a minidump via the Debug menu and send it with the bug report. A minidump is a small file (<100KB), which contains information about the state of your process. +Visual C++ 2005 Express Edition cannot save minidumps and it cannot be +installed as a just-in-time debugger. Use WinDbg, |debug-windbg|, if you +need to save minidumps or you want a just-in-time (postmortem) debugger. + *debug-windbg* +2.3 Debugging Vim crashes with WinDbg ~ -Debugging Vim with Debugging Tools ~ +See |get-ms-debuggers| to obtain a copy of WinDbg. -You can download the Microsoft Visual C++ Toolkit from - http://msdn.microsoft.com/visualc/vctoolkit2003/ -This contains the command-line tools, but not the Visual Studio IDE. +As with the Visual Studio IDE, you can attach WinDbg to a running Vim process. +You can also have your system automatically invoke WinDbg as a postmortem +debugger. To set WinDbg as your postmortem debugger, run "windbg -I". -The Debugging Tools for Windows can be downloaded from +To attach WinDbg to a running Vim process, launch WinDbg. On the File menu, +choose Attach to a Process. Select the Vim process and click OK. + +At this point, choose Symbol File Path on the File menu, and add the folder +containing your Vim PDB to the sympath. If you have Vim source available, +use Source File Path on the File menu. You can now open source files in WinDbg +and set breakpoints, if you like. Reproduce your crash. WinDbg should open the +source file at the point of the crash. Using the View menu, you can examine +the call stack, local variables, watch windows, and so on. + +If WinDbg is your postmortem debugger, you do not need to attach WinDbg to +your Vim process. Simply reproduce the crash and WinDbg will launch +automatically. As above, set the Symbol File Path and the Source File Path. + +To save a minidump, type the following at the WinDbg command line: > + .dump vim.dmp +< + *debug-minidump* +2.4 Opening a Minidump ~ + +If you have a minidump file, you can open it in Visual Studio or in WinDbg. + +In Visual Studio 2005: on the File menu, choose Open, then Project/Solution. +Navigate to the .dmp file and open it. Now press F5 to invoke the debugger. +Follow the instructions in |debug-vs2005| to set the Symbol File Path. + +In WinDbg: choose Open Crash Dump on the File menu. Follow the instructions in +|debug-windbg| to set the Symbol File Path. + + *get-ms-debuggers* +2.5 Obtaining Microsoft Debugging Tools ~ + +The Debugging Tools for Windows (including WinDbg) can be downloaded from http://www.microsoft.com/whdc/devtools/debugging/default.mspx This includes the WinDbg debugger. +Visual C++ 2005 Express Edition can be downloaded for free from: + http://msdn.microsoft.com/vstudio/express/visualC/default.aspx ========================================================================= vim:tw=78:ts=8:ft=help:norl: diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 8c3612f4b7..4ba9cae540 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0g. Last change: 2006 Apr 30 +*eval.txt* For Vim version 7.0g. Last change: 2006 May 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5178,6 +5178,7 @@ profile Compiled with |:profile| support. python Compiled with Python interface. qnx QNX version of Vim. quickfix Compiled with |quickfix| support. +reltime Compiled with |reltime()| support. rightleft Compiled with 'rightleft' support. ruby Compiled with Ruby interface |ruby|. scrollbind Compiled with 'scrollbind' support. diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index fc55e6b5a3..8257838d16 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 7.0g. Last change: 2006 Apr 30 +*insert.txt* For Vim version 7.0g. Last change: 2006 May 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1109,7 +1109,7 @@ Vim can display the matches in a simplistic popup menu. The menu is used when: - The 'completeopt' option contains "menu" or "menuone". - The terminal supports at least 8 colors. -- There are at least two matches. One of "menuone" is used. +- There are at least two matches. One if "menuone" is used. The 'pumheight' option can be used to set a maximum height. The default is to use all space available. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index af5278f1b3..271ae8784c 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.0g. Last change: 2006 Apr 30 +*options.txt* For Vim version 7.0g. Last change: 2006 May 02 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3342,8 +3342,8 @@ A jump table for the options with a short description can be found at |Q_op|. 'e' Add tab pages when indicated with 'showtabline'. 'guitablabel' can be used to change the text in the labels. When 'e' is missing a non-GUI tab pages line may be used. - The GUI tabs are only supported on some systens, currently - only for GTK. + The GUI tabs are only supported on some systems, currently + GTK, Motif and MS-Windows. 'f' Foreground: Don't use fork() to detach the GUI from the shell where it was started. Use this for programs that wait for the @@ -3412,8 +3412,8 @@ A jump table for the options with a short description can be found at |Q_op|. {only available when compiled with GUI enabled and with the +windows feature} When nonempty describes the text to use in a label of the GUI tab - pages line. When empty Vim will use a default label. See - |setting-guitablabel| for more info. + pages line. When empty and when the result is empty Vim will use a + default label. See |setting-guitablabel| for more info. The format of this option is like that of 'statusline'. 'guitabtooltip' is used for the tooltip, see below. @@ -3432,8 +3432,6 @@ A jump table for the options with a short description can be found at |Q_op|. pages line. When empty Vim will use a default tooltip. This option is otherwise just like 'guitablabel' above. - The tooltip only works for some systems. - *'helpfile'* *'hf'* 'helpfile' 'hf' string (default (MSDOS) "$VIMRUNTIME\doc\help.txt" diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt index ec855f0b53..03e332b061 100644 --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -1,6 +1,6 @@ -*pi_netrw.txt* For Vim version 7.0g. Last change: 2006 Apr 30 +*pi_netrw.txt* For Vim version 7.0g. Last change: 2006 May 02 - VIM REFERENCE MANUAL by Charles E. Campbell, Jr. + NETRW REFERENCE MANUAL by Charles E. Campbell, Jr. *dav* *http* *network* *rcp* *scp* @@ -458,7 +458,7 @@ see |netrw-urls|). effectively remove the user-id and password by using "" strings. -:NetrwSettings This command is desribed in |netrw-settings| -- used to +:NetrwSettings This command is desribed in |netrw-settings| -- used to display netrw settings and change netrw behavior. @@ -672,7 +672,7 @@ MAPS *netrw-maps* QUICK REFERENCE COMMANDS TABLE *netrw-browse-cmds* > - ------- ----------- + ------- ----------- Command Explanation ------- ----------- < <F1> Causes Netrw to issue help @@ -1473,6 +1473,13 @@ which is loaded automatically at startup (assuming :set nocp). ============================================================================== 11. History *netrw-history* {{{1 + v98: May 02, 2006 * the "p" key didn't work properly when the browsing + directory name had spaces in it. + v97: May 01, 2006 * exists("&acd") now used to determine if + the 'acd' option exists + * "obtain" now works again under Windows + v96: * bugfix - the |'acd'| option is not always defined but is + now bypassed only when it is v95: * bugfix - Hiding mode worked correctly (don't show any file matching any of the g:netrw_hide patterns), but but showing mode was showing only those files that didn't diff --git a/runtime/doc/pi_tar.txt b/runtime/doc/pi_tar.txt index 0738d07785..44630d4ead 100644 --- a/runtime/doc/pi_tar.txt +++ b/runtime/doc/pi_tar.txt @@ -1,4 +1,4 @@ -*pi_tar.txt* For Vim version 7.0g. Last change: 2006 Apr 30 +*pi_tar.txt* For Vim version 7.0g. Last change: 2006 May 02 +====================+ | Tar File Interface | @@ -36,12 +36,15 @@ Copyright: The GPL (gnu public license) applies to *tar-copyright* *g:tar_browseoptions* "Ptf" used to get a list of contents *g:tar_readoptions* "OPxf" used to extract a file from a tarball *g:tar_cmd* "tar" the name of the tar program - *g:tar_writeoptions* "uf" used to update/replace a file + *g:tar_writeoptions* "uf" used to update/replace a file ============================================================================== 4. History *tar-history* + v9 May 02, 2006 * improved detection of masquerading as tar file + v8 May 02, 2006 * allows editing of files that merely masquerade as tar + f |