]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.315 v7.4.315
authorBram Moolenaar <Bram@vim.org>
Thu, 29 May 2014 09:47:40 +0000 (11:47 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 29 May 2014 09:47:40 +0000 (11:47 +0200)
Problem:    Fixes for computation of topline not tested.
Solution:   Add test. (Hirohito Higashi)

src/testdir/Make_amiga.mak
src/testdir/Make_dos.mak
src/testdir/Make_ming.mak
src/testdir/Make_os2.mak
src/testdir/Make_vms.mms
src/testdir/Makefile
src/testdir/test107.in [new file with mode: 0644]
src/testdir/test107.ok [new file with mode: 0644]
src/version.c

index c8a529e6cbcf9b239aa0eb3cb4e257eeed434ed8..7d7e19a78708499a295ce4d6e993233ce822f983 100644 (file)
@@ -35,7 +35,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
                test89.out test90.out test91.out test92.out test93.out \
                test94.out test95.out test96.out test97.out test98.out \
                test99.out test100.out test101.out test102.out test103.out \
-               test104.out test105.out test106.out \
+               test104.out test105.out test106.out test107.out \
                test_autoformat_join.out \
                test_eval.out \
                test_options.out
@@ -161,6 +161,7 @@ test103.out: test103.in
 test104.out: test104.in
 test105.out: test105.in
 test106.out: test106.in
+test107.out: test107.in
 test_autoformat_join.out: test_autoformat_join.in
 test_eval.out: test_eval.in
 test_options.out: test_options.in
index 4efaeb45d6c1dbb2037a093deb59433f0ca185b5..83a8ff5670ba41db6874dc775c010e400cd2eb13 100644 (file)
@@ -34,7 +34,7 @@ SCRIPTS =     test3.out test4.out test5.out test6.out test7.out \
                test89.out test90.out test91.out test92.out test93.out \
                test94.out test95.out test96.out test98.out test99.out \
                test100.out test101.out test102.out test103.out test104.out \
-               test105.out test106.out \
+               test105.out test106.out  test107.out\
                test_autoformat_join.out \
                test_eval.out \
                test_options.out
index f589f208464b2709db0f7d992c49ed70f44c1dc6..b6293c0f9655d9ab9aadf6a5493bc4d9b665a3f2 100644 (file)
@@ -54,7 +54,7 @@ SCRIPTS =     test3.out test4.out test5.out test6.out test7.out \
                test89.out test90.out test91.out test92.out test93.out \
                test94.out test95.out test96.out test98.out test99.out \
                test100.out test101.out test102.out test103.out test104.out \
-               test105.out test106.out \
+               test105.out test106.out test107.out \
                test_autoformat_join.out \
                test_eval.out \
                test_options.out
index 4406f7d93111fb0e85e1060964e4632c9056daa1..59c77399cc6559bbd542a40bf2067933c0e36e6c 100644 (file)
@@ -36,7 +36,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
                test89.out test90.out test91.out test92.out test93.out \
                test94.out test95.out test96.out test98.out test99.out \
                test100.out test101.out test102.out test103.out test104.out \
-               test105.out test106.out \
+               test105.out test106.out test107.out \
                test_autoformat_join.out \
                test_eval.out \
                test_options.out
index af839e8622417f0eae2dbde095a8cd8f3dcbf6ba..6cc122ff5d41603776d0eb3f2fff96e76229b744 100644 (file)
@@ -4,7 +4,7 @@
 # Authors:     Zoltan Arpadffy, <arpadffy@polarhome.com>
 #              Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
 #
-# Last change:  2014 Mar 12
+# Last change:  2014 May 28
 #
 # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
 # Edit the lines in the Configuration section below to select.
@@ -95,7 +95,7 @@ SCRIPT = test1.out  test2.out  test3.out  test4.out  test5.out  \
         test90.out test91.out test92.out test93.out test94.out \
         test95.out test96.out test98.out test99.out \
         test100.out test101.out test103.out test104.out \
-        test105.out test106.out \
+        test105.out test106.out test107.out \
         test_autoformat_join.out \
         test_eval.out \
         test_options.out
index 8ae35b918bca067e573ca66d6531d4e0ddfbdb3f..c0db6d927513e6c1b1ad9c35a7e91e133d2e4234 100644 (file)
@@ -32,7 +32,7 @@ SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \
                test89.out test90.out test91.out test92.out test93.out \
                test94.out test95.out test96.out test97.out test98.out \
                test99.out test100.out test101.out test102.out test103.out \
-               test104.out test105.out test106.out \
+               test104.out test105.out test106.out test107.out \
                test_autoformat_join.out \
                test_eval.out \
                test_options.out
diff --git a/src/testdir/test107.in b/src/testdir/test107.in
new file mode 100644 (file)
index 0000000..9143380
--- /dev/null
@@ -0,0 +1,38 @@
+Tests for adjusting window and contents     vim: set ft=vim :
+
+STARTTEST
+:so small.vim
+:new
+:call setline(1, range(1,256))
+:let r=[]
+:func! GetScreenStr(row)
+:   let str = ""
+:   for c in range(1,3)
+:       let str .= nr2char(screenchar(a:row, c))
+:   endfor
+:   return str
+:endfunc
+:
+:exe ":norm! \<C-W>t\<C-W>=1Gzt\<C-W>w\<C-W>+"
+:let s3=GetScreenStr(1)
+:wincmd p
+:call add(r, [line("w0"), s3])
+:
+:exe ":norm! \<C-W>t\<C-W>=50Gzt\<C-W>w\<C-W>+"
+:let s3=GetScreenStr(1)
+:wincmd p
+:call add(r, [line("w0"), s3])
+:
+:exe ":norm! \<C-W>t\<C-W>=59Gzt\<C-W>w\<C-W>+"
+:let s3=GetScreenStr(1)
+::wincmd p
+:call add(r, [line("w0"), s3])
+:
+:bwipeout!
+:$put=r
+:call garbagecollect(1)
+:"
+:/^start:/,$wq! test.out
+ENDTEST
+
+start:
diff --git a/src/testdir/test107.ok b/src/testdir/test107.ok
new file mode 100644 (file)
index 0000000..3e0eda1
--- /dev/null
@@ -0,0 +1,4 @@
+start:
+[1, '1  ']
+[50, '50 ']
+[59, '59 ']
index 0ebf14d65d3fed1ce5bcf97eb8dc26fa5ec6cf18..28a4136d3021dba489fddf4d4c9087fc2b7e3408 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    315,
 /**/
     314,
 /**/