Karsten Hopp a45bf8
To: vim_dev@googlegroups.com
Karsten Hopp a45bf8
Subject: Patch 7.4.315
Karsten Hopp a45bf8
Fcc: outbox
Karsten Hopp a45bf8
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a45bf8
Mime-Version: 1.0
Karsten Hopp a45bf8
Content-Type: text/plain; charset=UTF-8
Karsten Hopp a45bf8
Content-Transfer-Encoding: 8bit
Karsten Hopp a45bf8
------------
Karsten Hopp a45bf8
Karsten Hopp a45bf8
Patch 7.4.315 (after 7.4.309)
Karsten Hopp a45bf8
Problem:    Fixes for computation of topline not tested.
Karsten Hopp a45bf8
Solution:   Add test. (Hirohito Higashi)
Karsten Hopp a45bf8
Files:	    src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
Karsten Hopp a45bf8
	    src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
Karsten Hopp a45bf8
	    src/testdir/Make_vms.mms, src/testdir/Makefile,
Karsten Hopp a45bf8
	    src/testdir/test107.in, src/testdir/test107.ok
Karsten Hopp a45bf8
Karsten Hopp a45bf8
Karsten Hopp a45bf8
*** ../vim-7.4.314/src/testdir/Make_amiga.mak	2014-04-29 12:15:22.852032651 +0200
Karsten Hopp a45bf8
--- src/testdir/Make_amiga.mak	2014-05-28 13:13:32.108062709 +0200
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 35,41 ****
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test97.out test98.out \
Karsten Hopp a45bf8
  		test99.out test100.out test101.out test102.out test103.out \
Karsten Hopp a45bf8
! 		test104.out test105.out test106.out \
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
--- 35,41 ----
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test97.out test98.out \
Karsten Hopp a45bf8
  		test99.out test100.out test101.out test102.out test103.out \
Karsten Hopp a45bf8
! 		test104.out test105.out test106.out test107.out \
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 161,166 ****
Karsten Hopp a45bf8
--- 161,167 ----
Karsten Hopp a45bf8
  test104.out: test104.in
Karsten Hopp a45bf8
  test105.out: test105.in
Karsten Hopp a45bf8
  test106.out: test106.in
Karsten Hopp a45bf8
+ test107.out: test107.in
Karsten Hopp a45bf8
  test_autoformat_join.out: test_autoformat_join.in
Karsten Hopp a45bf8
  test_eval.out: test_eval.in
Karsten Hopp a45bf8
  test_options.out: test_options.in
Karsten Hopp a45bf8
*** ../vim-7.4.314/src/testdir/Make_dos.mak	2014-04-29 12:15:22.852032651 +0200
Karsten Hopp a45bf8
--- src/testdir/Make_dos.mak	2014-05-28 13:13:44.344062816 +0200
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 34,40 ****
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp a45bf8
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp a45bf8
! 		test105.out test106.out \
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
--- 34,40 ----
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp a45bf8
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp a45bf8
! 		test105.out test106.out  test107.out\
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
*** ../vim-7.4.314/src/testdir/Make_ming.mak	2014-04-29 12:15:22.852032651 +0200
Karsten Hopp a45bf8
--- src/testdir/Make_ming.mak	2014-05-28 13:13:52.656062889 +0200
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 54,60 ****
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp a45bf8
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp a45bf8
! 		test105.out test106.out \
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
--- 54,60 ----
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp a45bf8
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp a45bf8
! 		test105.out test106.out test107.out \
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
*** ../vim-7.4.314/src/testdir/Make_os2.mak	2014-04-29 12:15:22.852032651 +0200
Karsten Hopp a45bf8
--- src/testdir/Make_os2.mak	2014-05-28 13:14:03.616062985 +0200
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 36,42 ****
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp a45bf8
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp a45bf8
! 		test105.out test106.out \
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
--- 36,42 ----
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test98.out test99.out \
Karsten Hopp a45bf8
  		test100.out test101.out test102.out test103.out test104.out \
Karsten Hopp a45bf8
! 		test105.out test106.out test107.out \
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
*** ../vim-7.4.314/src/testdir/Make_vms.mms	2014-04-29 12:15:22.852032651 +0200
Karsten Hopp a45bf8
--- src/testdir/Make_vms.mms	2014-05-28 13:14:09.724063038 +0200
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 4,10 ****
Karsten Hopp a45bf8
  # Authors:	Zoltan Arpadffy, <arpadffy@polarhome.com>
Karsten Hopp a45bf8
  #		Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
Karsten Hopp a45bf8
  #
Karsten Hopp a45bf8
! # Last change:  2014 Mar 12
Karsten Hopp a45bf8
  #
Karsten Hopp a45bf8
  # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
Karsten Hopp a45bf8
  # Edit the lines in the Configuration section below to select.
Karsten Hopp a45bf8
--- 4,10 ----
Karsten Hopp a45bf8
  # Authors:	Zoltan Arpadffy, <arpadffy@polarhome.com>
Karsten Hopp a45bf8
  #		Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
Karsten Hopp a45bf8
  #
Karsten Hopp a45bf8
! # Last change:  2014 May 28
Karsten Hopp a45bf8
  #
Karsten Hopp a45bf8
  # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
Karsten Hopp a45bf8
  # Edit the lines in the Configuration section below to select.
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 95,101 ****
Karsten Hopp a45bf8
  	 test90.out test91.out test92.out test93.out test94.out \
Karsten Hopp a45bf8
  	 test95.out test96.out test98.out test99.out \
Karsten Hopp a45bf8
  	 test100.out test101.out test103.out test104.out \
Karsten Hopp a45bf8
! 	 test105.out test106.out \
Karsten Hopp a45bf8
  	 test_autoformat_join.out \
Karsten Hopp a45bf8
  	 test_eval.out \
Karsten Hopp a45bf8
  	 test_options.out
Karsten Hopp a45bf8
--- 95,101 ----
Karsten Hopp a45bf8
  	 test90.out test91.out test92.out test93.out test94.out \
Karsten Hopp a45bf8
  	 test95.out test96.out test98.out test99.out \
Karsten Hopp a45bf8
  	 test100.out test101.out test103.out test104.out \
Karsten Hopp a45bf8
! 	 test105.out test106.out test107.out \
Karsten Hopp a45bf8
  	 test_autoformat_join.out \
Karsten Hopp a45bf8
  	 test_eval.out \
Karsten Hopp a45bf8
  	 test_options.out
Karsten Hopp a45bf8
*** ../vim-7.4.314/src/testdir/Makefile	2014-05-22 13:12:25.650592983 +0200
Karsten Hopp a45bf8
--- src/testdir/Makefile	2014-05-28 13:14:28.688063204 +0200
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 32,38 ****
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test97.out test98.out \
Karsten Hopp a45bf8
  		test99.out test100.out test101.out test102.out test103.out \
Karsten Hopp a45bf8
! 		test104.out test105.out test106.out \
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
--- 32,38 ----
Karsten Hopp a45bf8
  		test89.out test90.out test91.out test92.out test93.out \
Karsten Hopp a45bf8
  		test94.out test95.out test96.out test97.out test98.out \
Karsten Hopp a45bf8
  		test99.out test100.out test101.out test102.out test103.out \
Karsten Hopp a45bf8
! 		test104.out test105.out test106.out test107.out \
Karsten Hopp a45bf8
  		test_autoformat_join.out \
Karsten Hopp a45bf8
  		test_eval.out \
Karsten Hopp a45bf8
  		test_options.out
Karsten Hopp a45bf8
*** ../vim-7.4.314/src/testdir/test107.in	2014-05-29 11:46:48.728773486 +0200
Karsten Hopp a45bf8
--- src/testdir/test107.in	2014-05-29 11:40:20.096770084 +0200
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 0 ****
Karsten Hopp a45bf8
--- 1,38 ----
Karsten Hopp a45bf8
+ Tests for adjusting window and contents     vim: set ft=vim :
Karsten Hopp a45bf8
+ 
Karsten Hopp a45bf8
+ STARTTEST
Karsten Hopp a45bf8
+ :so small.vim
Karsten Hopp a45bf8
+ :new
Karsten Hopp a45bf8
+ :call setline(1, range(1,256))
Karsten Hopp a45bf8
+ :let r=[]
Karsten Hopp a45bf8
+ :func! GetScreenStr(row)
Karsten Hopp a45bf8
+ :   let str = ""
Karsten Hopp a45bf8
+ :   for c in range(1,3)
Karsten Hopp a45bf8
+ :       let str .= nr2char(screenchar(a:row, c))
Karsten Hopp a45bf8
+ :   endfor
Karsten Hopp a45bf8
+ :   return str
Karsten Hopp a45bf8
+ :endfunc
Karsten Hopp a45bf8
+ :
Karsten Hopp a45bf8
+ :exe ":norm! \<C-W>t\<C-W>=1Gzt\<C-W>w\<C-W>+"
Karsten Hopp a45bf8
+ :let s3=GetScreenStr(1)
Karsten Hopp a45bf8
+ :wincmd p
Karsten Hopp a45bf8
+ :call add(r, [line("w0"), s3])
Karsten Hopp a45bf8
+ :
Karsten Hopp a45bf8
+ :exe ":norm! \<C-W>t\<C-W>=50Gzt\<C-W>w\<C-W>+"
Karsten Hopp a45bf8
+ :let s3=GetScreenStr(1)
Karsten Hopp a45bf8
+ :wincmd p
Karsten Hopp a45bf8
+ :call add(r, [line("w0"), s3])
Karsten Hopp a45bf8
+ :
Karsten Hopp a45bf8
+ :exe ":norm! \<C-W>t\<C-W>=59Gzt\<C-W>w\<C-W>+"
Karsten Hopp a45bf8
+ :let s3=GetScreenStr(1)
Karsten Hopp a45bf8
+ ::wincmd p
Karsten Hopp a45bf8
+ :call add(r, [line("w0"), s3])
Karsten Hopp a45bf8
+ :
Karsten Hopp a45bf8
+ :bwipeout!
Karsten Hopp a45bf8
+ :$put=r
Karsten Hopp a45bf8
+ :call garbagecollect(1)
Karsten Hopp a45bf8
+ :"
Karsten Hopp a45bf8
+ :/^start:/,$wq! test.out
Karsten Hopp a45bf8
+ ENDTEST
Karsten Hopp a45bf8
+ 
Karsten Hopp a45bf8
+ start:
Karsten Hopp a45bf8
*** ../vim-7.4.314/src/testdir/test107.ok	2014-05-29 11:46:48.736773486 +0200
Karsten Hopp a45bf8
--- src/testdir/test107.ok	2014-05-29 11:40:20.096770084 +0200
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 0 ****
Karsten Hopp a45bf8
--- 1,4 ----
Karsten Hopp a45bf8
+ start:
Karsten Hopp a45bf8
+ [1, '1  ']
Karsten Hopp a45bf8
+ [50, '50 ']
Karsten Hopp a45bf8
+ [59, '59 ']
Karsten Hopp a45bf8
*** ../vim-7.4.314/src/version.c	2014-05-28 21:40:47.092329130 +0200
Karsten Hopp a45bf8
--- src/version.c	2014-05-29 11:41:47.640770850 +0200
Karsten Hopp a45bf8
***************
Karsten Hopp a45bf8
*** 736,737 ****
Karsten Hopp a45bf8
--- 736,739 ----
Karsten Hopp a45bf8
  {   /* Add new patch number below this line */
Karsten Hopp a45bf8
+ /**/
Karsten Hopp a45bf8
+     315,
Karsten Hopp a45bf8
  /**/
Karsten Hopp a45bf8
Karsten Hopp a45bf8
-- 
Karsten Hopp a45bf8
hundred-and-one symptoms of being an internet addict:
Karsten Hopp a45bf8
229. You spend so much time thinking what to add on this list.
Karsten Hopp a45bf8
Karsten Hopp a45bf8
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a45bf8
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a45bf8
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp a45bf8
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///