|
Karsten Hopp |
f69b49 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
f69b49 |
Subject: Patch 7.3.1089
|
|
Karsten Hopp |
f69b49 |
Fcc: outbox
|
|
Karsten Hopp |
f69b49 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
f69b49 |
Mime-Version: 1.0
|
|
Karsten Hopp |
f69b49 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
f69b49 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
f69b49 |
------------
|
|
Karsten Hopp |
f69b49 |
|
|
Karsten Hopp |
f69b49 |
Patch 7.3.1089
|
|
Karsten Hopp |
f69b49 |
Problem: Tests 86 and 87 fail on MS-Windows. (Ken Takata)
|
|
Karsten Hopp |
f69b49 |
Solution: Fix platform-specific stuff. (ZyX)
|
|
Karsten Hopp |
f69b49 |
Files: src/testdir/test86.in, src/testdir/test86.ok,
|
|
Karsten Hopp |
f69b49 |
src/testdir/test87.in, src/testdir/test87.ok
|
|
Karsten Hopp |
f69b49 |
|
|
Karsten Hopp |
f69b49 |
|
|
Karsten Hopp |
f69b49 |
*** ../vim-7.3.1088/src/testdir/test86.in 2013-05-31 19:01:13.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
--- src/testdir/test86.in 2013-06-01 20:27:14.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
***************
|
|
Karsten Hopp |
f69b49 |
*** 435,440 ****
|
|
Karsten Hopp |
f69b49 |
--- 435,441 ----
|
|
Karsten Hopp |
f69b49 |
:py bopts1=vim.buffers[vim.bindeval("g:bufs")[2]].options
|
|
Karsten Hopp |
f69b49 |
:py bopts2=vim.buffers[vim.bindeval("g:bufs")[1]].options
|
|
Karsten Hopp |
f69b49 |
:py bopts3=vim.buffers[vim.bindeval("g:bufs")[0]].options
|
|
Karsten Hopp |
f69b49 |
+ :set path=.,..,,
|
|
Karsten Hopp |
f69b49 |
:let lst=[]
|
|
Karsten Hopp |
f69b49 |
:let lst+=[['paste', 1, 0, 1, 2, 1, 1, 0 ]]
|
|
Karsten Hopp |
f69b49 |
:let lst+=[['previewheight', 5, 1, 6, 'a', 0, 1, 0 ]]
|
|
Karsten Hopp |
f69b49 |
***************
|
|
Karsten Hopp |
f69b49 |
*** 530,542 ****
|
|
Karsten Hopp |
f69b49 |
b[0:0]=['baz']
|
|
Karsten Hopp |
f69b49 |
vim.command('call append("$", getbufline(%i, 1, "$"))' % b.number)
|
|
Karsten Hopp |
f69b49 |
# Test assigning to name property
|
|
Karsten Hopp |
f69b49 |
old_name = cb.name
|
|
Karsten Hopp |
f69b49 |
cb.name = 'foo'
|
|
Karsten Hopp |
f69b49 |
! cb.append(cb.name[-11:])
|
|
Karsten Hopp |
f69b49 |
b.name = 'bar'
|
|
Karsten Hopp |
f69b49 |
! cb.append(b.name[-11:])
|
|
Karsten Hopp |
f69b49 |
cb.name = old_name
|
|
Karsten Hopp |
f69b49 |
! cb.append(cb.name[-17:])
|
|
Karsten Hopp |
f69b49 |
# Test CheckBuffer
|
|
Karsten Hopp |
f69b49 |
for _b in vim.buffers:
|
|
Karsten Hopp |
f69b49 |
if _b is not cb:
|
|
Karsten Hopp |
f69b49 |
--- 531,544 ----
|
|
Karsten Hopp |
f69b49 |
b[0:0]=['baz']
|
|
Karsten Hopp |
f69b49 |
vim.command('call append("$", getbufline(%i, 1, "$"))' % b.number)
|
|
Karsten Hopp |
f69b49 |
# Test assigning to name property
|
|
Karsten Hopp |
f69b49 |
+ import os
|
|
Karsten Hopp |
f69b49 |
old_name = cb.name
|
|
Karsten Hopp |
f69b49 |
cb.name = 'foo'
|
|
Karsten Hopp |
f69b49 |
! cb.append(cb.name[-11:].replace(os.path.sep, '/'))
|
|
Karsten Hopp |
f69b49 |
b.name = 'bar'
|
|
Karsten Hopp |
f69b49 |
! cb.append(b.name[-11:].replace(os.path.sep, '/'))
|
|
Karsten Hopp |
f69b49 |
cb.name = old_name
|
|
Karsten Hopp |
f69b49 |
! cb.append(cb.name[-17:].replace(os.path.sep, '/'))
|
|
Karsten Hopp |
f69b49 |
# Test CheckBuffer
|
|
Karsten Hopp |
f69b49 |
for _b in vim.buffers:
|
|
Karsten Hopp |
f69b49 |
if _b is not cb:
|
|
Karsten Hopp |
f69b49 |
*** ../vim-7.3.1088/src/testdir/test86.ok 2013-05-31 19:01:13.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
--- src/testdir/test86.ok 2013-06-01 20:27:14.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
***************
|
|
Karsten Hopp |
f69b49 |
*** 310,316 ****
|
|
Karsten Hopp |
f69b49 |
W: 1:0 2:1 3:0 4:1
|
|
Karsten Hopp |
f69b49 |
B: 1:0 2:1 3:0 4:1
|
|
Karsten Hopp |
f69b49 |
>>> path
|
|
Karsten Hopp |
f69b49 |
! p/gopts1: '.,/usr/include,,'
|
|
Karsten Hopp |
f69b49 |
inv: 0! TypeError
|
|
Karsten Hopp |
f69b49 |
p/wopts1! KeyError
|
|
Karsten Hopp |
f69b49 |
inv: 0! KeyError
|
|
Karsten Hopp |
f69b49 |
--- 310,316 ----
|
|
Karsten Hopp |
f69b49 |
W: 1:0 2:1 3:0 4:1
|
|
Karsten Hopp |
f69b49 |
B: 1:0 2:1 3:0 4:1
|
|
Karsten Hopp |
f69b49 |
>>> path
|
|
Karsten Hopp |
f69b49 |
! p/gopts1: '.,..,,'
|
|
Karsten Hopp |
f69b49 |
inv: 0! TypeError
|
|
Karsten Hopp |
f69b49 |
p/wopts1! KeyError
|
|
Karsten Hopp |
f69b49 |
inv: 0! KeyError
|
|
Karsten Hopp |
f69b49 |
*** ../vim-7.3.1088/src/testdir/test87.in 2013-05-31 18:46:06.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
--- src/testdir/test87.in 2013-06-01 20:27:14.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
***************
|
|
Karsten Hopp |
f69b49 |
*** 404,409 ****
|
|
Karsten Hopp |
f69b49 |
--- 404,410 ----
|
|
Karsten Hopp |
f69b49 |
:py3 bopts1=vim.buffers[vim.bindeval("g:bufs")[2]].options
|
|
Karsten Hopp |
f69b49 |
:py3 bopts2=vim.buffers[vim.bindeval("g:bufs")[1]].options
|
|
Karsten Hopp |
f69b49 |
:py3 bopts3=vim.buffers[vim.bindeval("g:bufs")[0]].options
|
|
Karsten Hopp |
f69b49 |
+ :set path=.,..,,
|
|
Karsten Hopp |
f69b49 |
:let lst=[]
|
|
Karsten Hopp |
f69b49 |
:let lst+=[['paste', 1, 0, 1, 2, 1, 1, 0 ]]
|
|
Karsten Hopp |
f69b49 |
:let lst+=[['previewheight', 5, 1, 6, 'a', 0, 1, 0 ]]
|
|
Karsten Hopp |
f69b49 |
***************
|
|
Karsten Hopp |
f69b49 |
*** 499,511 ****
|
|
Karsten Hopp |
f69b49 |
b[0:0]=['baz']
|
|
Karsten Hopp |
f69b49 |
vim.command('call append("$", getbufline(%i, 1, "$"))' % b.number)
|
|
Karsten Hopp |
f69b49 |
# Test assigning to name property
|
|
Karsten Hopp |
f69b49 |
old_name = cb.name
|
|
Karsten Hopp |
f69b49 |
cb.name = 'foo'
|
|
Karsten Hopp |
f69b49 |
! cb.append(cb.name[-11:])
|
|
Karsten Hopp |
f69b49 |
b.name = 'bar'
|
|
Karsten Hopp |
f69b49 |
! cb.append(b.name[-11:])
|
|
Karsten Hopp |
f69b49 |
cb.name = old_name
|
|
Karsten Hopp |
f69b49 |
! cb.append(cb.name[-17:])
|
|
Karsten Hopp |
f69b49 |
# Test CheckBuffer
|
|
Karsten Hopp |
f69b49 |
for _b in vim.buffers:
|
|
Karsten Hopp |
f69b49 |
if _b is not cb:
|
|
Karsten Hopp |
f69b49 |
--- 500,513 ----
|
|
Karsten Hopp |
f69b49 |
b[0:0]=['baz']
|
|
Karsten Hopp |
f69b49 |
vim.command('call append("$", getbufline(%i, 1, "$"))' % b.number)
|
|
Karsten Hopp |
f69b49 |
# Test assigning to name property
|
|
Karsten Hopp |
f69b49 |
+ import os
|
|
Karsten Hopp |
f69b49 |
old_name = cb.name
|
|
Karsten Hopp |
f69b49 |
cb.name = 'foo'
|
|
Karsten Hopp |
f69b49 |
! cb.append(cb.name[-11:].replace(os.path.sep, '/'))
|
|
Karsten Hopp |
f69b49 |
b.name = 'bar'
|
|
Karsten Hopp |
f69b49 |
! cb.append(b.name[-11:].replace(os.path.sep, '/'))
|
|
Karsten Hopp |
f69b49 |
cb.name = old_name
|
|
Karsten Hopp |
f69b49 |
! cb.append(cb.name[-17:].replace(os.path.sep, '/'))
|
|
Karsten Hopp |
f69b49 |
# Test CheckBuffer
|
|
Karsten Hopp |
f69b49 |
for _b in vim.buffers:
|
|
Karsten Hopp |
f69b49 |
if _b is not cb:
|
|
Karsten Hopp |
f69b49 |
*** ../vim-7.3.1088/src/testdir/test87.ok 2013-05-31 18:46:06.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
--- src/testdir/test87.ok 2013-06-01 20:27:14.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
***************
|
|
Karsten Hopp |
f69b49 |
*** 299,305 ****
|
|
Karsten Hopp |
f69b49 |
W: 1:0 2:1 3:0 4:1
|
|
Karsten Hopp |
f69b49 |
B: 1:0 2:1 3:0 4:1
|
|
Karsten Hopp |
f69b49 |
>>> path
|
|
Karsten Hopp |
f69b49 |
! p/gopts1: b'.,/usr/include,,'
|
|
Karsten Hopp |
f69b49 |
inv: 0! TypeError
|
|
Karsten Hopp |
f69b49 |
p/wopts1! KeyError
|
|
Karsten Hopp |
f69b49 |
inv: 0! KeyError
|
|
Karsten Hopp |
f69b49 |
--- 299,305 ----
|
|
Karsten Hopp |
f69b49 |
W: 1:0 2:1 3:0 4:1
|
|
Karsten Hopp |
f69b49 |
B: 1:0 2:1 3:0 4:1
|
|
Karsten Hopp |
f69b49 |
>>> path
|
|
Karsten Hopp |
f69b49 |
! p/gopts1: b'.,..,,'
|
|
Karsten Hopp |
f69b49 |
inv: 0! TypeError
|
|
Karsten Hopp |
f69b49 |
p/wopts1! KeyError
|
|
Karsten Hopp |
f69b49 |
inv: 0! KeyError
|
|
Karsten Hopp |
f69b49 |
*** ../vim-7.3.1088/src/version.c 2013-06-01 19:54:39.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
--- src/version.c 2013-06-01 20:28:22.000000000 +0200
|
|
Karsten Hopp |
f69b49 |
***************
|
|
Karsten Hopp |
f69b49 |
*** 730,731 ****
|
|
Karsten Hopp |
f69b49 |
--- 730,733 ----
|
|
Karsten Hopp |
f69b49 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
f69b49 |
+ /**/
|
|
Karsten Hopp |
f69b49 |
+ 1089,
|
|
Karsten Hopp |
f69b49 |
/**/
|
|
Karsten Hopp |
f69b49 |
|
|
Karsten Hopp |
f69b49 |
--
|
|
Karsten Hopp |
f69b49 |
I wonder how much deeper the ocean would be without sponges.
|
|
Karsten Hopp |
f69b49 |
|
|
Karsten Hopp |
f69b49 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
f69b49 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
f69b49 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
f69b49 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|