home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.838 < prev    next >
Encoding:
Internet Message Format  |  2013-04-19  |  10.8 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.838
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: application/octet-stream
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.838 (after 7.3.830)
  11. Problem:    Insufficient testing for mksession.
  12. Solution:   Add tests. (mostly by Roland Eggner)
  13. Files:        src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
  14.         src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
  15.         src/testdir/Make_vms.mms, src/testdir/Makefile,
  16.         src/testdir/test92.in, src/testdir/test92.ok,
  17.         src/testdir/test93.in, src/testdir/test93.ok,
  18.         src/ex_docmd.c
  19.  
  20.  
  21. *** ../vim-7.3.837/src/testdir/Make_amiga.mak    2013-02-20 21:11:14.000000000 +0100
  22. --- src/testdir/Make_amiga.mak    2013-02-26 15:30:10.000000000 +0100
  23. ***************
  24. *** 32,38 ****
  25.           test71.out test72.out test73.out test74.out test75.out \
  26.           test76.out test77.out test78.out test79.out test80.out \
  27.           test81.out test82.out test83.out test84.out test88.out \
  28. !         test89.out test90.out test91.out
  29.   
  30.   .SUFFIXES: .in .out
  31.   
  32. --- 32,38 ----
  33.           test71.out test72.out test73.out test74.out test75.out \
  34.           test76.out test77.out test78.out test79.out test80.out \
  35.           test81.out test82.out test83.out test84.out test88.out \
  36. !         test89.out test90.out test91.out test92.out test93.out
  37.   
  38.   .SUFFIXES: .in .out
  39.   
  40. ***************
  41. *** 140,142 ****
  42. --- 140,144 ----
  43.   test89.out: test89.in
  44.   test90.out: test90.in
  45.   test91.out: test91.in
  46. + test92.out: test92.in
  47. + test93.out: test93.in
  48. *** ../vim-7.3.837/src/testdir/Make_dos.mak    2013-02-20 21:11:14.000000000 +0100
  49. --- src/testdir/Make_dos.mak    2013-02-26 15:30:10.000000000 +0100
  50. ***************
  51. *** 31,37 ****
  52.           test74.out test75.out test76.out test77.out test78.out \
  53.           test79.out test80.out test81.out test82.out test83.out \
  54.           test84.out test85.out test86.out test87.out test88.out \
  55. !         test89.out test90.out test91.out
  56.   
  57.   SCRIPTS32 =    test50.out test70.out
  58.   
  59. --- 31,37 ----
  60.           test74.out test75.out test76.out test77.out test78.out \
  61.           test79.out test80.out test81.out test82.out test83.out \
  62.           test84.out test85.out test86.out test87.out test88.out \
  63. !         test89.out test90.out test91.out test92.out test93.out
  64.   
  65.   SCRIPTS32 =    test50.out test70.out
  66.   
  67. *** ../vim-7.3.837/src/testdir/Make_ming.mak    2013-02-20 21:11:14.000000000 +0100
  68. --- src/testdir/Make_ming.mak    2013-02-26 15:30:10.000000000 +0100
  69. ***************
  70. *** 51,57 ****
  71.           test74.out test75.out test76.out test77.out test78.out \
  72.           test79.out test80.out test81.out test82.out test83.out \
  73.           test84.out test85.out test86.out test87.out test88.out \
  74. !         test89.out test90.out test91.out
  75.   
  76.   SCRIPTS32 =    test50.out test70.out
  77.   
  78. --- 51,57 ----
  79.           test74.out test75.out test76.out test77.out test78.out \
  80.           test79.out test80.out test81.out test82.out test83.out \
  81.           test84.out test85.out test86.out test87.out test88.out \
  82. !         test89.out test90.out test91.out test92.out test93.out
  83.   
  84.   SCRIPTS32 =    test50.out test70.out
  85.   
  86. *** ../vim-7.3.837/src/testdir/Make_os2.mak    2013-02-20 21:11:14.000000000 +0100
  87. --- src/testdir/Make_os2.mak    2013-02-26 15:30:10.000000000 +0100
  88. ***************
  89. *** 32,38 ****
  90.           test71.out test72.out test73.out test74.out test75.out \
  91.           test76.out test77.out test78.out test79.out test80.out \
  92.           test81.out test82.out test83.out test84.out test88.out \
  93. !         test89.out test90.out test91.out
  94.   
  95.   .SUFFIXES: .in .out
  96.   
  97. --- 32,38 ----
  98.           test71.out test72.out test73.out test74.out test75.out \
  99.           test76.out test77.out test78.out test79.out test80.out \
  100.           test81.out test82.out test83.out test84.out test88.out \
  101. !         test89.out test90.out test91.out test92.out test93.out
  102.   
  103.   .SUFFIXES: .in .out
  104.   
  105. *** ../vim-7.3.837/src/testdir/Make_vms.mms    2013-02-20 21:11:14.000000000 +0100
  106. --- src/testdir/Make_vms.mms    2013-02-26 15:30:10.000000000 +0100
  107. ***************
  108. *** 4,10 ****
  109.   # Authors:    Zoltan Arpadffy, <arpadffy@polarhome.com>
  110.   #        Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
  111.   #
  112. ! # Last change:  2013 Feb 20
  113.   #
  114.   # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
  115.   # Edit the lines in the Configuration section below to select.
  116. --- 4,10 ----
  117.   # Authors:    Zoltan Arpadffy, <arpadffy@polarhome.com>
  118.   #        Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
  119.   #
  120. ! # Last change:  2013-02-21
  121.   #
  122.   # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
  123.   # Edit the lines in the Configuration section below to select.
  124. ***************
  125. *** 77,83 ****
  126.        test71.out test72.out test74.out test75.out test76.out \
  127.        test77.out test78.out test79.out test80.out test81.out \
  128.        test82.out test83.out test84.out test88.out test89.out \
  129. !      test90.out test91.out
  130.   
  131.   # Known problems:
  132.   # Test 30: a problem around mac format - unknown reason
  133. --- 77,83 ----
  134.        test71.out test72.out test74.out test75.out test76.out \
  135.        test77.out test78.out test79.out test80.out test81.out \
  136.        test82.out test83.out test84.out test88.out test89.out \
  137. !      test90.out test91.out test92.out test93.out
  138.   
  139.   # Known problems:
  140.   # Test 30: a problem around mac format - unknown reason
  141. *** ../vim-7.3.837/src/testdir/Makefile    2013-02-20 21:11:14.000000000 +0100
  142. --- src/testdir/Makefile    2013-02-26 15:30:10.000000000 +0100
  143. ***************
  144. *** 28,34 ****
  145.           test74.out test75.out test76.out test77.out test78.out \
  146.           test79.out test80.out test81.out test82.out test83.out \
  147.           test84.out test85.out test86.out test87.out test88.out \
  148. !         test89.out test90.out test91.out
  149.   
  150.   SCRIPTS_GUI = test16.out
  151.   
  152. --- 28,34 ----
  153.           test74.out test75.out test76.out test77.out test78.out \
  154.           test79.out test80.out test81.out test82.out test83.out \
  155.           test84.out test85.out test86.out test87.out test88.out \
  156. !         test89.out test90.out test91.out test92.out test93.out
  157.   
  158.   SCRIPTS_GUI = test16.out
  159.   
  160. *** ../vim-7.3.837/src/testdir/test92.in    2013-02-26 17:20:44.000000000 +0100
  161. --- src/testdir/test92.in    2013-02-26 16:27:55.000000000 +0100
  162. ***************
  163. *** 0 ****
  164. --- 1,48 ----
  165. + vim: set ft=vim fenc=utf-8:
  166. + Tests if :mksession saves cursor columns correctly in presence of tab and 
  167. + multibyte characters when fileencoding=utf-8.
  168. + STARTTEST
  169. + :so mbyte.vim
  170. + :if !has('mksession')
  171. + :  e! test.ok
  172. + :  wq! test.out
  173. + :endif
  174. + :set sessionoptions=buffers splitbelow fileencoding=utf-8
  175. + /^start:
  176. + :vsplit
  177. + j16|:split
  178. + j16|:split
  179. + j16|:split
  180. + j8|:split
  181. + j8|:split
  182. + j16|:split
  183. + j16|:split
  184. + j16|:wincmd l
  185. + /^start:
  186. + :set nowrap
  187. + j16|3zl:split
  188. + j016|3zl:split
  189. + j016|3zl:split
  190. + j08|3zl:split
  191. + j08|3zl:split
  192. + j016|3zl:split
  193. + j016|3zl:split
  194. + j016|3zl:split
  195. + :mksession! test.out
  196. + :new test.out
  197. + :v/\(^ *normal! 0\|^ *exe 'normal!\)/d
  198. + :w
  199. + :qa!
  200. + ENDTEST
  201. + start:
  202. + no multibyte chAracter
  203. +     one leaDing tab
  204. +     four leadinG spaces
  205. + two        consecutive tabs
  206. + two    tabs    in one line
  207. + one ΓǪ multibyteCharacter
  208. + a ΓÇ£bΓÇ¥ two multiByte characters
  209. + ΓÇ£cΓÇ¥1Γé¼ three mulTibyte characters
  210. *** ../vim-7.3.837/src/testdir/test92.ok    2013-02-26 17:20:44.000000000 +0100
  211. --- src/testdir/test92.ok    2013-02-26 17:13:48.000000000 +0100
  212. ***************
  213. *** 0 ****
  214. --- 1,26 ----
  215. + normal! 016|
  216. + normal! 016|
  217. + normal! 016|
  218. + normal! 08|
  219. + normal! 08|
  220. + normal! 016|
  221. + normal! 016|
  222. + normal! 016|
  223. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  224. +   normal! 016|
  225. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  226. +   normal! 016|
  227. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  228. +   normal! 016|
  229. +   exe 'normal! ' . s:c . '|zs' . 8 . '|'
  230. +   normal! 08|
  231. +   exe 'normal! ' . s:c . '|zs' . 8 . '|'
  232. +   normal! 08|
  233. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  234. +   normal! 016|
  235. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  236. +   normal! 016|
  237. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  238. +   normal! 016|
  239. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  240. +   normal! 016|
  241. *** ../vim-7.3.837/src/testdir/test93.in    2013-02-26 17:20:44.000000000 +0100
  242. --- src/testdir/test93.in    2013-02-26 17:13:01.000000000 +0100
  243. ***************
  244. *** 0 ****
  245. --- 1,48 ----
  246. + vim: set ft=vim fenc=latin1:
  247. + Tests if :mksession saves cursor columns correctly in presence of tab and 
  248. + multibyte characters when fileencoding=latin1.
  249. + STARTTEST
  250. + :so mbyte.vim
  251. + :if !has('mksession')
  252. + :  e! test.ok
  253. + :  wq! test.out
  254. + :endif
  255. + :set sessionoptions=buffers splitbelow fileencoding=latin1
  256. + /^start:
  257. + :vsplit
  258. + j16|:split
  259. + j16|:split
  260. + j16|:split
  261. + j8|:split
  262. + j8|:split
  263. + j16|:split
  264. + j16|:split
  265. + j16|:wincmd l
  266. + /^start:
  267. + :set nowrap
  268. + j16|3zl:split
  269. + j016|3zl:split
  270. + j016|3zl:split
  271. + j08|3zl:split
  272. + j08|3zl:split
  273. + j016|3zl:split
  274. + j016|3zl:split
  275. + j016|3zl:split
  276. + :mksession! test.out
  277. + :new test.out
  278. + :v/\(^ *normal! 0\|^ *exe 'normal!\)/d
  279. + :w
  280. + :qa!
  281. + ENDTEST
  282. + start:
  283. + no multibyte chAracter
  284. +     one leaDing tab
  285. +     four leadinG spaces
  286. + two        consecutive tabs
  287. + two    tabs    in one line
  288. + one Σ multibyteCharacter
  289. + aΣ ─  two multiByte characters
  290. + AΣ÷ⁿ  three mulTibyte characters
  291. *** ../vim-7.3.837/src/testdir/test93.ok    2013-02-26 17:20:44.000000000 +0100
  292. --- src/testdir/test93.ok    2013-02-26 17:14:02.000000000 +0100
  293. ***************
  294. *** 0 ****
  295. --- 1,26 ----
  296. + normal! 016|
  297. + normal! 016|
  298. + normal! 016|
  299. + normal! 08|
  300. + normal! 08|
  301. + normal! 016|
  302. + normal! 016|
  303. + normal! 016|
  304. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  305. +   normal! 016|
  306. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  307. +   normal! 016|
  308. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  309. +   normal! 016|
  310. +   exe 'normal! ' . s:c . '|zs' . 8 . '|'
  311. +   normal! 08|
  312. +   exe 'normal! ' . s:c . '|zs' . 8 . '|'
  313. +   normal! 08|
  314. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  315. +   normal! 016|
  316. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  317. +   normal! 016|
  318. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  319. +   normal! 016|
  320. +   exe 'normal! ' . s:c . '|zs' . 16 . '|'
  321. +   normal! 016|
  322. *** ../vim-7.3.837/src/ex_docmd.c    2013-02-20 19:26:24.000000000 +0100
  323. --- src/ex_docmd.c    2013-02-26 16:14:07.000000000 +0100
  324. ***************
  325. *** 10839,10845 ****
  326.                   (long)wp->w_virtcol + 1) < 0
  327.               || put_eol(fd) == FAIL
  328.               || put_line(fd, "else") == FAIL
  329. !             || fprintf(fd, "  normal! %d|", wp->w_virtcol + 1) < 0
  330.               || put_eol(fd) == FAIL
  331.               || put_line(fd, "endif") == FAIL)
  332.               return FAIL;
  333. --- 10839,10845 ----
  334.                   (long)wp->w_virtcol + 1) < 0
  335.               || put_eol(fd) == FAIL
  336.               || put_line(fd, "else") == FAIL
  337. !             || fprintf(fd, "  normal! 0%d|", wp->w_virtcol + 1) < 0
  338.               || put_eol(fd) == FAIL
  339.               || put_line(fd, "endif") == FAIL)
  340.               return FAIL;
  341. *** ../vim-7.3.837/src/version.c    2013-02-26 15:27:20.000000000 +0100
  342. --- src/version.c    2013-02-26 15:31:06.000000000 +0100
  343. ***************
  344. *** 730,731 ****
  345. --- 730,733 ----
  346.   {   /* Add new patch number below this line */
  347. + /**/
  348. +     838,
  349.   /**/
  350.  
  351. -- 
  352. It doesn't really matter what you are able to do if you don't do it.
  353.                 (Bram Moolenaar)
  354.  
  355.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  356. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  357. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  358.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  359.