]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1308 v7.3.1308
authorBram Moolenaar <Bram@vim.org>
Thu, 4 Jul 2013 20:50:40 +0000 (22:50 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 4 Jul 2013 20:50:40 +0000 (22:50 +0200)
Problem:    Typos in MS-Windows build settings and README.
Solution:   Minor changes to MS-Windows files.

runtime/autoload/zip.vim
runtime/doc/insert.txt
runtime/doc/tags
runtime/doc/todo.txt
runtime/plugin/zipPlugin.vim
src/VisVim/README_VisVim.txt
src/msvc2008.bat
src/msvc2010.bat
src/version.c

index b7a5bffbf19724e9437577a42f14c97fe6c7b8b7..687500ebe39c99f2e7ea8e9ff0c527a31f7db944 100644 (file)
@@ -1,10 +1,10 @@
 " zip.vim: Handles browsing zipfiles
 "            AUTOLOAD PORTION
-" Date:                Apr 17, 2013
-" Version:     26
+" Date:                Jul 02, 2013
+" Version:     27
 " Maintainer:  Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
 " License:     Vim License  (see vim's :help license)
-" Copyright:    Copyright (C) 2005-2012 Charles E. Campbell {{{1
+" Copyright:    Copyright (C) 2005-2013 Charles E. Campbell {{{1
 "               Permission is hereby granted to use and distribute this code,
 "               with or without modifications, provided that this copyright
 "               notice is copied with it. Like anything else that's free,
 "               this plugin, you agree that in no event will the copyright
 "               holder be liable for any damages resulting from the use
 "               of this software.
+"redraw!|call DechoSep()|call inputsave()|call input("Press <cr> to continue")|call inputrestore()
 
 " ---------------------------------------------------------------------
 " Load Once: {{{1
 if &cp || exists("g:loaded_zip")
  finish
 endif
-let g:loaded_zip= "v26"
+let g:loaded_zip= "v27"
 if v:version < 702
  echohl WarningMsg
  echo "***warning*** this version of zip needs vim 7.2"
@@ -28,6 +29,7 @@ if v:version < 702
 endif
 let s:keepcpo= &cpo
 set cpo&vim
+"DechoTabOn
 
 let s:zipfile_escape = ' ?&;\'
 let s:ERROR          = 2
@@ -60,6 +62,16 @@ endif
 " zip#Browse: {{{2
 fun! zip#Browse(zipfile)
 "  call Dfunc("zip#Browse(zipfile<".a:zipfile.">)")
+  " sanity check: insure that the zipfile has "PK" as its first two letters
+  "               (zipped files have a leading PK as a "magic cookie")
+  if !filereadable(a:zipfile) || readfile(a:zipfile, "", 1)[0] !~ '^PK'
+   exe "noautocmd e ".fnameescape(a:zipfile)
+"   call Dret("zip#Browse : not a zipfile<".a:zipfile.">")
+   return
+"  else        " Decho
+"   call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - its a zip file")
+  endif
+
   let repkeep= &report
   set report=10
 
@@ -197,6 +209,7 @@ fun! zip#Read(fname,mode)
   "   exe "keepj sil! r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1)
   " but allows zipfile:... entries in quickfix lists
   let temp = tempname()
+"  call Decho("using temp file<".temp.">")
   let fn   = expand('%:p')
   exe "sil! !".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1).' > '.temp
 "  call Decho("exe sil! !".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1).' > '.temp)
@@ -208,7 +221,7 @@ fun! zip#Read(fname,mode)
   filetype detect
 
   " cleanup
-  keepj 0d
+  "  keepj 0d   " used to be needed for the ...r! ... method
   set nomod
 
   let &report= repkeep
index fc0edb3790ff6506d02d2b4a4009505c6077b7cb..b7d32ca93518e4f4e6c41a0ca0db16e0a0b9bccc 100644 (file)
@@ -1,4 +1,4 @@
-*insert.txt*    For Vim version 7.3.  Last change: 2013 Apr 12
+*insert.txt*    For Vim version 7.3.  Last change: 2013 Jul 04
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -136,6 +136,8 @@ CTRL-R {0-9a-z"%#*+:.-=}                                    *i_CTRL-R*
                                too.
                                When the result is a Float it's automatically
                                converted to a String.
+                               When append() or setline() is invoked the undo
+                               sequence will be broken.
                See |registers| about registers.  {not in Vi}
 
 CTRL-R CTRL-R {0-9a-z"%#*+/:.-=}                       *i_CTRL-R_CTRL-R*
index 16def1b8ef76d40b8b5dd8ea12aa3407231bd2f4..19c93165fc42334cb7bf0e923032395fbf523a70 100644 (file)
@@ -4292,6 +4292,7 @@ E877      pattern.txt     /*E877*
 E878   pattern.txt     /*E878*
 E879   syntax.txt      /*E879*
 E88    windows.txt     /*E88*
+E880   if_pyth.txt     /*E880*
 E89    message.txt     /*E89*
 E90    message.txt     /*E90*
 E91    options.txt     /*E91*
index e7df05cf9989e15735e11480a285277dbe7ac4db..895238722d8f123ea68bb3e3d6164619aa257f0b 100644 (file)
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.3.  Last change: 2013 Jun 29
+*todo.txt*      For Vim version 7.3.  Last change: 2013 Jul 04
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -34,46 +34,8 @@ not be repeated below, unless there is extra information.
                                                        *known-bugs*
 -------------------- Known bugs and current work -----------------------
 
---- Python interface ---
-
-    Breaks the tests
-Problem:    Python SystemExit exception is not handled properly.
-Solution:   Catch the exception and give an error. (Yasuhiro Matsumoto)
-Files:     runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
-           src/if_python3.c
-
 Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
 
---- bug fixes ---
-
-9. Patch to fix "gn" on single character matches. (Christian Brabandt, 2013
-Jun 2)
-
-8. Patch for cscope connection (Narendran, 2013 Jun 10)
-
-7. 'cursorline' is drawn incorrectly in diff mode. Patch by Christian Brabandt,
-2012 Apr 2.
-
-6. When someone does a silly thing such as setting rows and columns to 65535,
-handle the out-of-memory and set them to sane values? (jimmywang, 2013 May 17)
-
-5. InsertEnter doesn't prevent the cursor from moving when it goes to another
-line.
-
-4. ":diffoff" does not restore options from before starting diff mode.
-Patch by Christian Brabandt, 2013 May 26.
-
-3. Can't use multi-byte fill character in custom status line.
-Patch by Christian Wellenbrock, 2013 Jun 2.  Update Jun 3 (second one).
-
-2. Patch to fix glob() and globpath() with escaped special characters.
-(Adnan Zafar, 2013 Jun 2, tests Jun 3)
-
-1. Bug in findfile() directory matching. (Markus Braun Ben Fritz, 2013 Jun 20)
-Patch by Christian Brabandt (2013 Jun 22)
-
----- Fixes to be included before 7.4 above, less important stuff below ----
-
 Patch to make has() check for Vim version and patch at the same time.
 (Marc Weber, 2013 Jun 7)
 
@@ -267,8 +229,6 @@ URXVT:
 - Use urxvt mouse support also in xterm.  Explanations:
   http://www.midnight-commander.org/ticket/2662
 
-MS-Windows: test 17 fails.  Analysis by Michael Soyka, 2012 Nov 5.
-
 Patch to add tests for if_xcmdsrv.c., Jul 8, need some more work. (Brian Burns)
 New tests Jul 13.   Update Jul 17.  Discussion Jul 18.
 
index c86230cc53d86f22799bb11e71d5e8ee2c54f2df..e9bd0dc4bdd997e32ba63211b2224585ba3aba45 100644 (file)
@@ -1,9 +1,9 @@
 " zipPlugin.vim: Handles browsing zipfiles
 "            PLUGIN PORTION
-" Date:                        Nov 15, 2012
+" Date:                        Jun 07, 2013
 " Maintainer:  Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
 " License:             Vim License  (see vim's :help license)
-" Copyright:    Copyright (C) 2005-2012 Charles E. Campbell {{{1
+" Copyright:    Copyright (C) 2005-2013 Charles E. Campbell {{{1
 "               Permission is hereby granted to use and distribute this code,
 "               with or without modifications, provided that this copyright
 "               notice is copied with it. Like anything else that's free,
 if &cp || exists("g:loaded_zipPlugin")
  finish
 endif
-let g:loaded_zipPlugin = "v26"
+let g:loaded_zipPlugin = "v27"
 let s:keepcpo          = &cpo
 set cpo&vim
 
+" ---------------------------------------------------------------------
+" Options: {{{1
+if !exists("g:zipPlugin_ext")
+ let g:zipPlugin_ext= '*.zip,*.jar,*.xpi,*.ja,*.war,*.ear,*.celzip,*.oxt,*.kmz,*.wsz,*.xap,*.docx,*.docm,*.dotx,*.dotm,*.potx,*.potm,*.ppsx,*.ppsm,*.pptx,*.pptm,*.ppam,*.sldx,*.thmx,*.xlam,*.xlsx,*.xlsm,*.xlsb,*.xltx,*.xltm,*.xlam,*.crtx,*.vdw,*.glox,*.gcsx,*.gqsx'
+endif
+
 " ---------------------------------------------------------------------
 " Public Interface: {{{1
 augroup zip
@@ -40,7 +46,7 @@ augroup zip
   au FileWriteCmd zipfile:*/*  call zip#Write(expand("<amatch>"))
  endif
 
- au BufReadCmd   *.zip,*.jar,*.xpi,*.ja,*.war,*.ear,*.celzip,*.oxt,*.kmz,*.wsz,*.xap,*.docx,*.docm,*.dotx,*.dotm,*.potx,*.potm,*.ppsx,*.ppsm,*.pptx,*.pptm,*.ppam,*.sldx,*.thmx,*.xlam,*.xlsx,*.xlsm,*.xlsb,*.xltx,*.xltm,*.xlam,*.crtx,*.vdw,*.glox,*.gcsx,*.gqsx             call zip#Browse(expand("<amatch>"))
+ exe "au BufReadCmd ".g:zipPlugin_ext.' call zip#Browse(expand("<amatch>"))'
 augroup END
 
 " ---------------------------------------------------------------------
index fbe4b8b61aef130acdf2c817d115c42f7c4bba67..25b0fbd05ec24abb9d8ee410fa773a3ac2a6f73b 100644 (file)
@@ -282,7 +282,7 @@ No new features, just some fine tuning:
   occasionally still seems to happen, but it's more stable now).
   (Vince Negri)
 - Added support for the new CTRL-\ CTRL-N command of Vim 5.4a.
-  This prevents Vim from beeping when a VisVim command is executed an Vim is
+  This prevents Vim from beeping when a VisVim command is executed and Vim is
   not in insert mode.
 
 
index 1fc1fbf76a38f2aefcde5210d4e6d32e7382e7cc..c1cd76a7238bb9458d02cee6160a51aeea438f4c 100644 (file)
@@ -4,4 +4,4 @@ rem   aka Microsoft Visual Studio 9.0.
 rem See INSTALLpc.txt for information.
 @echo on
 
-call "%VS90COMNTOOLS%%vsvars32.bat"
+call "%VS90COMNTOOLS%vsvars32.bat"
index d9fc6c07617b210dc64283e57b011475bd072a9f..5c258e9a5e5442801590df9521745a6970d0ea96 100644 (file)
@@ -4,4 +4,4 @@ rem   aka Microsoft Visual Studio 10.0.
 rem See INSTALLpc.txt for information.
 @echo on
 
-call "%VS100COMNTOOLS%%vsvars32.bat"
+call "%VS100COMNTOOLS%vsvars32.bat"
index 1219092b5bb20e975a4c9089bbd0e5d380d68c08..5a200ae8fb3ca868606e569311db5761fe8cf79c 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1308,
 /**/
     1307,
 /**/