Skip to content

Commit 7b5e27d

Browse files
committed
updated for version 7.3.1308
Problem: Typos in MS-Windows build settings and README. Solution: Minor changes to MS-Windows files.
1 parent 37c59fd commit 7b5e27d

File tree

9 files changed

+38
-54
lines changed

9 files changed

+38
-54
lines changed

runtime/autoload/zip.vim

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
" zip.vim: Handles browsing zipfiles
22
" AUTOLOAD PORTION
3-
" Date: Apr 17, 2013
4-
" Version: 26
3+
" Date: Jul 02, 2013
4+
" Version: 27
55
" Maintainer: Charles E Campbell <[email protected]>
66
" License: Vim License (see vim's :help license)
7-
" Copyright: Copyright (C) 2005-2012 Charles E. Campbell {{{1
7+
" Copyright: Copyright (C) 2005-2013 Charles E. Campbell {{{1
88
" Permission is hereby granted to use and distribute this code,
99
" with or without modifications, provided that this copyright
1010
" notice is copied with it. Like anything else that's free,
@@ -13,13 +13,14 @@
1313
" this plugin, you agree that in no event will the copyright
1414
" holder be liable for any damages resulting from the use
1515
" of this software.
16+
"redraw!|call DechoSep()|call inputsave()|call input("Press <cr> to continue")|call inputrestore()
1617

1718
" ---------------------------------------------------------------------
1819
" Load Once: {{{1
1920
if &cp || exists("g:loaded_zip")
2021
finish
2122
endif
22-
let g:loaded_zip= "v26"
23+
let g:loaded_zip= "v27"
2324
if v:version < 702
2425
echohl WarningMsg
2526
echo "***warning*** this version of zip needs vim 7.2"
@@ -28,6 +29,7 @@ if v:version < 702
2829
endif
2930
let s:keepcpo= &cpo
3031
set cpo&vim
32+
"DechoTabOn
3133

3234
let s:zipfile_escape = ' ?&;\'
3335
let s:ERROR = 2
@@ -60,6 +62,16 @@ endif
6062
" zip#Browse: {{{2
6163
fun! zip#Browse(zipfile)
6264
" call Dfunc("zip#Browse(zipfile<".a:zipfile.">)")
65+
" sanity check: insure that the zipfile has "PK" as its first two letters
66+
" (zipped files have a leading PK as a "magic cookie")
67+
if !filereadable(a:zipfile) || readfile(a:zipfile, "", 1)[0] !~ '^PK'
68+
exe "noautocmd e ".fnameescape(a:zipfile)
69+
" call Dret("zip#Browse : not a zipfile<".a:zipfile.">")
70+
return
71+
" else " Decho
72+
" call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - its a zip file")
73+
endif
74+
6375
let repkeep= &report
6476
set report=10
6577

@@ -197,6 +209,7 @@ fun! zip#Read(fname,mode)
197209
" exe "keepj sil! r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1)
198210
" but allows zipfile:... entries in quickfix lists
199211
let temp = tempname()
212+
" call Decho("using temp file<".temp.">")
200213
let fn = expand('%:p')
201214
exe "sil! !".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1).' > '.temp
202215
" 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)
208221
filetype detect
209222

210223
" cleanup
211-
keepj 0d
224+
" keepj 0d " used to be needed for the ...r! ... method
212225
set nomod
213226

214227
let &report= repkeep

runtime/doc/insert.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim version 7.3. Last change: 2013 Apr 12
1+
*insert.txt* For Vim version 7.3. Last change: 2013 Jul 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -136,6 +136,8 @@ CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R*
136136
too.
137137
When the result is a Float it's automatically
138138
converted to a String.
139+
When append() or setline() is invoked the undo
140+
sequence will be broken.
139141
See |registers| about registers. {not in Vi}
140142

141143
CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R*

runtime/doc/tags

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4292,6 +4292,7 @@ E877 pattern.txt /*E877*
42924292
E878 pattern.txt /*E878*
42934293
E879 syntax.txt /*E879*
42944294
E88 windows.txt /*E88*
4295+
E880 if_pyth.txt /*E880*
42954296
E89 message.txt /*E89*
42964297
E90 message.txt /*E90*
42974298
E91 options.txt /*E91*

runtime/doc/todo.txt

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.3. Last change: 2013 Jun 29
1+
*todo.txt* For Vim version 7.3. Last change: 2013 Jul 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -34,46 +34,8 @@ not be repeated below, unless there is extra information.
3434
*known-bugs*
3535
-------------------- Known bugs and current work -----------------------
3636

37-
--- Python interface ---
38-
39-
Breaks the tests
40-
Problem: Python SystemExit exception is not handled properly.
41-
Solution: Catch the exception and give an error. (Yasuhiro Matsumoto)
42-
Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c,
43-
src/if_python3.c
44-
4537
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
4638

47-
--- bug fixes ---
48-
49-
9. Patch to fix "gn" on single character matches. (Christian Brabandt, 2013
50-
Jun 2)
51-
52-
8. Patch for cscope connection (Narendran, 2013 Jun 10)
53-
54-
7. 'cursorline' is drawn incorrectly in diff mode. Patch by Christian Brabandt,
55-
2012 Apr 2.
56-
57-
6. When someone does a silly thing such as setting rows and columns to 65535,
58-
handle the out-of-memory and set them to sane values? (jimmywang, 2013 May 17)
59-
60-
5. InsertEnter doesn't prevent the cursor from moving when it goes to another
61-
line.
62-
63-
4. ":diffoff" does not restore options from before starting diff mode.
64-
Patch by Christian Brabandt, 2013 May 26.
65-
66-
3. Can't use multi-byte fill character in custom status line.
67-
Patch by Christian Wellenbrock, 2013 Jun 2. Update Jun 3 (second one).
68-
69-
2. Patch to fix glob() and globpath() with escaped special characters.
70-
(Adnan Zafar, 2013 Jun 2, tests Jun 3)
71-
72-
1. Bug in findfile() directory matching. (Markus Braun Ben Fritz, 2013 Jun 20)
73-
Patch by Christian Brabandt (2013 Jun 22)
74-
75-
---- Fixes to be included before 7.4 above, less important stuff below ----
76-
7739
Patch to make has() check for Vim version and patch at the same time.
7840
(Marc Weber, 2013 Jun 7)
7941

@@ -267,8 +229,6 @@ URXVT:
267229
- Use urxvt mouse support also in xterm. Explanations:
268230
http://www.midnight-commander.org/ticket/2662
269231

270-
MS-Windows: test 17 fails. Analysis by Michael Soyka, 2012 Nov 5.
271-
272232
Patch to add tests for if_xcmdsrv.c., Jul 8, need some more work. (Brian Burns)
273233
New tests Jul 13. Update Jul 17. Discussion Jul 18.
274234

runtime/plugin/zipPlugin.vim

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
" zipPlugin.vim: Handles browsing zipfiles
22
" PLUGIN PORTION
3-
" Date: Nov 15, 2012
3+
" Date: Jun 07, 2013
44
" Maintainer: Charles E Campbell <[email protected]>
55
" License: Vim License (see vim's :help license)
6-
" Copyright: Copyright (C) 2005-2012 Charles E. Campbell {{{1
6+
" Copyright: Copyright (C) 2005-2013 Charles E. Campbell {{{1
77
" Permission is hereby granted to use and distribute this code,
88
" with or without modifications, provided that this copyright
99
" notice is copied with it. Like anything else that's free,
@@ -20,10 +20,16 @@
2020
if &cp || exists("g:loaded_zipPlugin")
2121
finish
2222
endif
23-
let g:loaded_zipPlugin = "v26"
23+
let g:loaded_zipPlugin = "v27"
2424
let s:keepcpo = &cpo
2525
set cpo&vim
2626

27+
" ---------------------------------------------------------------------
28+
" Options: {{{1
29+
if !exists("g:zipPlugin_ext")
30+
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'
31+
endif
32+
2733
" ---------------------------------------------------------------------
2834
" Public Interface: {{{1
2935
augroup zip
@@ -40,7 +46,7 @@ augroup zip
4046
au FileWriteCmd zipfile:*/* call zip#Write(expand("<amatch>"))
4147
endif
4248

43-
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>"))
49+
exe "au BufReadCmd ".g:zipPlugin_ext.' call zip#Browse(expand("<amatch>"))'
4450
augroup END
4551

4652
" ---------------------------------------------------------------------

src/VisVim/README_VisVim.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ No new features, just some fine tuning:
282282
occasionally still seems to happen, but it's more stable now).
283283
(Vince Negri)
284284
- Added support for the new CTRL-\ CTRL-N command of Vim 5.4a.
285-
This prevents Vim from beeping when a VisVim command is executed an Vim is
285+
This prevents Vim from beeping when a VisVim command is executed and Vim is
286286
not in insert mode.
287287

288288

src/msvc2008.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ rem aka Microsoft Visual Studio 9.0.
44
rem See INSTALLpc.txt for information.
55
@echo on
66

7-
call "%VS90COMNTOOLS%%vsvars32.bat"
7+
call "%VS90COMNTOOLS%vsvars32.bat"

src/msvc2010.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ rem aka Microsoft Visual Studio 10.0.
44
rem See INSTALLpc.txt for information.
55
@echo on
66

7-
call "%VS100COMNTOOLS%%vsvars32.bat"
7+
call "%VS100COMNTOOLS%vsvars32.bat"

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,8 @@ static char *(features[]) =
728728

729729
static int included_patches[] =
730730
{ /* Add new patch number below this line */
731+
/**/
732+
1308,
731733
/**/
732734
1307,
733735
/**/

0 commit comments

Comments
 (0)