Skip to content

Commit fbb426b

Browse files
committed
vim74-kaoriya-win64-20130811
1 parent ff2b0d5 commit fbb426b

File tree

11 files changed

+190
-166
lines changed

11 files changed

+190
-166
lines changed

CHANGES_kaoriya.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
=== 20130811�̕ύX�_ ===
2+
3+
* �x�[�X�R�[�h��7.4�ɍX�V���܂���
4+
* runtime/doc/tags���X�V����悤�ɂ��܂��� (by tyru)
5+
* contrib�X�V
6+
* vimdoc-ja��(2013-08-07 df38df1)�ɍX�V���܂���
7+
* vimproc��(2013-08-02 3f4946a)�ɍX�V���܂���
8+
* LuaJIT��(2013-08-03 f5fba48)�ɍX�V���܂���
9+
10+
=== 20130729�̕ύX�_ ===
11+
12+
* �x�[�X�R�[�h��7.4b�ɍX�V���܂���
13+
* �R���p�C�����Ɏg�p����Ruby��2.0.0-p247�ɃA�b�v�f�[�g���܂���
14+
* KaoriYa�p�b�`�̕ύX�_
15+
* UNIX����LuaJIT�T�|�[�g�̃p�b�`��lj�
16+
* CUI�ł�imaf/imsf���p�A�����p�b�`��lj�
17+
* UIMFEP�p�b�`�̖�����(imaf/imsf�Ŏ����ł��邽��)
18+
* luajit������lua���W���[���𓯍����܂���
19+
* contrib�X�V
20+
* vimdoc-ja��(2013-07-11 4aaa428)�ɍX�V���܂���
21+
* vimproc��(2013-07-27 c0c5027)�ɍX�V���܂���
22+
* LuaJIT��(2013-07-24 96d5478)�ɍX�V���܂���
23+
124
=== 20130706�̕ύX�_ ===
225

326
* �x�[�X�R�[�h��7.3.1314�ɍX�V���܂���

README_kaoriya.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Vim version 7.3 ���艮�� �����}�j���A��
1+
Vim version 7.4 ���艮�� �����}�j���A��
22

3-
Version: 1.7.3
3+
Version: 1.7.5
44
Author: MURAOKA Taro
55
Since: 23-Aug-1999
6-
Last Change: 17-Jun-2013.
6+
Last Change: 10-Aug-2013.
77

88
�T�v
99
Vim��vi�N���[���ɕ��ނ����e�L�X�g�G�f�B�^�ł��B
@@ -20,12 +20,12 @@
2020
����̂ŁA�𓀂��ăV�X�e�����̍D���ȏꏊ�ɔz�u���Ă��������B
2121

2222
32bit��
23-
�z�z�t�@�C��: vim73-kaoriya-win32-YYYYMMDD.zip
24-
Vim�v���O�����t�H���_: vim73-kaoriya-win32.zip
23+
�z�z�t�@�C��: vim74-kaoriya-win32-YYYYMMDD.zip
24+
Vim�v���O�����t�H���_: vim74-kaoriya-win32.zip
2525

2626
64bit��
27-
�z�z�t�@�C��: vim73-kaoriya-win64-YYYYMMDD.zip
28-
Vim�v���O�����t�H���_: vim73-kaoriya-win64
27+
�z�z�t�@�C��: vim74-kaoriya-win64-YYYYMMDD.zip
28+
Vim�v���O�����t�H���_: vim74-kaoriya-win64
2929

3030
��L��YYYYMMDD�ɂ̓����[�X�̔N����������܂��B
3131

plugins/vimdoc-ja/doc/starting.jax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ Note: .vimrcファイルを作成するときにはオプション 'compatible'
12471247
は使われない)。
12481248

12491249
":mkview" の出力は次の項目を含んでいる:
1250-
1. ウィンドウで使用している引数リストの復元する。グローバルな引数リスト使って
1250+
1. ウィンドウで使用している引数リストを復元する。グローバルな引数リストを使って
12511251
いるときにはそれが使用される。
12521252
引数リストのインデックスも復元される。
12531253
2. ウィンドウで編集していたファイルを開く。編集していたファイルがなければ、空

plugins/vimdoc-ja/doc/vim-ja.UTF-8.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Note: "+" と "\-c" は合わせて 10 個まで指定できます。
145145
これは \-c "source {file}" と同じ動作です。
146146
{file} の先頭が '\-' の場合は使えません。
147147
{file} が省略された場合は、"Session.vim" が使われます (ただし \-S が最後の引
148-
数だった場合の)。
148+
数だった場合のみ)。
149149
.TP
150150
\-\-cmd {command}
151151
"\-c" と同じですが、vimrc を処理する前にコマンドが実行されます。

plugins/vimdoc-ja/doc/vimdiff-ja.UTF-8.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Vim についての詳細は vim(1) を参照してください。
2929
.br
3030
'foldmethod' オプションは "diff" に設定され、変更されていない行は折り畳まれ
3131
ます。
32-
折り畳みの確認と開閉が簡単にできるように、'foldcolumn'は 2 に設定されます。
32+
折り畳みの確認と開閉が簡単にできるように、'foldcolumn' は 2 に設定されます。
3333
.SH オプション
3434
行を並べて表示するために、"\-O" 引数を使ったときのように、ウィンドウは垂直分
3535
割されます。

plugins/vimproc/autoload/vimproc.vim

Lines changed: 52 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" FILE: vimproc.vim
33
" AUTHOR: Shougo Matsushita <[email protected]> (Modified)
44
" Yukihiro Nakadaira <yukihiro.nakadaira at gmail.com> (Original)
5-
" Last Modified: 25 Jun 2013.
5+
" Last Modified: 02 Aug 2013.
66
" License: MIT license {{{
77
" Permission is hereby granted, free of charge, to any person obtaining
88
" a copy of this software and associated documentation files (the
@@ -205,7 +205,7 @@ function! vimproc#get_command_name(command, ...) "{{{
205205
return files
206206
endif
207207

208-
let file = get(files, 0, '')
208+
let file = get(files, cnt-1, '')
209209

210210
if file == ''
211211
throw printf(
@@ -781,12 +781,12 @@ function! vimproc#write(filename, string, ...) "{{{
781781
endfunction"}}}
782782

783783
function! vimproc#readdir(dirname) "{{{
784-
let dirname = substitute(substitute(
785-
\ vimproc#util#expand(a:dirname),
786-
\ '\\', '/', 'g'), '/$', '', '')
784+
let dirname = vimproc#util#expand(a:dirname)
787785
if dirname == ''
788786
let dirname = getcwd()
789787
endif
788+
let dirname = substitute(dirname, '.\zs/$', '', '')
789+
let dirname = substitute(dirname, '//', '/', 'g')
790790

791791
if !isdirectory(dirname)
792792
return []
@@ -801,11 +801,12 @@ function! vimproc#readdir(dirname) "{{{
801801
return []
802802
endtry
803803

804-
call map(files, 'vimproc#util#iconv(
804+
call map(filter(files, 'v:val !~ "/\\.\\.\\?$"'), 'vimproc#util#iconv(
805805
\ v:val, vimproc#util#termencoding(), &encoding)')
806806
if vimproc#util#is_windows()
807807
call map(files, 'vimproc#util#substitute_path_separator(v:val)')
808808
endif
809+
call map(files, "substitute(v:val, '/\\./', '/', 'g')")
809810

810811
return files
811812
endfunction"}}}
@@ -906,22 +907,13 @@ function! s:read_lines(...) dict "{{{
906907

907908
let lines = split(res, '\r\?\n', 1)
908909

909-
if self.eof
910-
let self.buffer = ''
911-
return lines
912-
else
913-
let self.buffer = empty(lines)? '' : lines[-1]
914-
let lines = lines[ : -2]
915-
endif
916-
917-
let self.eof = (self.buffer != '') ? 0 : self.__eof
918-
return lines
910+
let self.buffer = get(lines, -1, 0)
911+
return lines[ : -2]
919912
endfunction"}}}
920913
function! s:read_line(...) dict "{{{
921914
let lines = call(self.read_lines, a:000, self)
922915
let self.buffer = join(lines[1:], "\n") . self.buffer
923-
let self.eof = (self.buffer != '') ? 0 : self.__eof
924-
916+
let self.eof = (self.buffer != '') ? (self.__eof && self.buffer == '') : self.__eof
925917
return get(lines, 0, '')
926918
endfunction"}}}
927919

@@ -1117,51 +1109,55 @@ let s:read_timeout = 100
11171109
let s:write_timeout = 100
11181110
let s:bg_processes = {}
11191111

1120-
function! s:split(str, sep)
1121-
let [result, pos] = [[], 0]
1122-
while 1
1123-
let tmp = stridx(a:str, a:sep, pos)
1124-
if tmp == -1
1125-
call add(result, strpart(a:str, pos))
1126-
break
1127-
endif
1128-
call add(result, strpart(a:str, pos, tmp - pos))
1129-
let pos = tmp + 1
1130-
endwhile
1131-
1132-
return result
1133-
endfunction
1134-
1135-
function! s:split_lua(str, sep)
1136-
let result = []
1137-
lua << EOF
1138-
do
1139-
local pos = 1
1140-
local result = vim.eval('result')
1141-
local str = vim.eval('a:str')
1142-
local sep = vim.eval('a:sep')
1143-
local tmp = string.find(str, sep, pos, true)
1144-
1145-
while tmp ~= nil do
1146-
result:add(string.sub(str, pos, tmp-1))
1147-
pos = tmp + 1
1148-
tmp = string.find(str, sep, pos, true)
1112+
if vimproc#util#has_lua()
1113+
function! s:split(str, sep)
1114+
let result = []
1115+
lua << EOF
1116+
do
1117+
local result = vim.eval('result')
1118+
local str = vim.eval('a:str')
1119+
local sep = vim.eval('a:sep')
1120+
local last
1121+
1122+
if string.find(str, sep, 1, true) == nil then
1123+
result:add(str)
1124+
else
1125+
for part, pos in string.gmatch(str,
1126+
'(.-)' .. sep .. '()') do
1127+
result:add(part)
1128+
last = pos
1129+
end
1130+
1131+
result:add(string.sub(str, last))
1132+
end
11491133
end
1150-
1151-
result:add(string.sub(str, pos))
1152-
end
11531134
EOF
11541135

1155-
return result
1156-
endfunction
1136+
return result
1137+
endfunction
1138+
else
1139+
function! s:split(str, sep)
1140+
let [result, pos] = [[], 0]
1141+
while 1
1142+
let tmp = stridx(a:str, a:sep, pos)
1143+
if tmp == -1
1144+
call add(result, strpart(a:str, pos))
1145+
break
1146+
endif
1147+
call add(result, strpart(a:str, pos, tmp - pos))
1148+
let pos = tmp + 1
1149+
endwhile
1150+
1151+
return result
1152+
endfunction
1153+
endif
11571154

11581155
function! s:libcall(func, args) "{{{
11591156
" End Of Value
11601157
let EOV = "\xFF"
11611158
let args = empty(a:args) ? '' : (join(reverse(copy(a:args)), EOV) . EOV)
11621159
let stack_buf = libcall(g:vimproc#dll_path, a:func, args)
1163-
let result = vimproc#util#has_lua() ?
1164-
\ s:split_lua(stack_buf, EOV) : s:split(stack_buf, EOV)
1160+
let result = s:split(stack_buf, EOV)
11651161
if !empty(result) && result[-1] != ''
11661162
if stack_buf[len(stack_buf) - 1] ==# EOV
11671163
" Note: If &encoding equals "cp932" and output ends multibyte first byte,
@@ -1230,7 +1226,8 @@ function! s:vp_file_write(hd, timeout) dict
12301226
endfunction
12311227

12321228
function! s:quote_arg(arg)
1233-
return a:arg =~ '[ "]' ? '"' . substitute(a:arg, '"', '\\"', 'g') . '"' : a:arg
1229+
return (a:arg == '' || a:arg =~ '[ "]') ?
1230+
\ '"' . substitute(a:arg, '"', '\\"', 'g') . '"' : a:arg
12341231
endfunction
12351232

12361233
function! s:vp_pipe_open(npipe, hstdin, hstdout, hstderr, argv) "{{{

plugins/vimproc/autoload/vimproc/parser.vim

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"=============================================================================
22
" FILE: parser.vim
33
" AUTHOR: Shougo Matsushita <[email protected]>
4-
" Last Modified: 23 Mar 2013.
4+
" Last Modified: 21 Jul 2013.
55
" License: MIT license {{{
66
" Permission is hereby granted, free of charge, to any person obtaining
77
" a copy of this software and associated documentation files (the
@@ -582,21 +582,26 @@ function! s:parse_equal(script) "{{{
582582

583583
let i = 0
584584
let max = len(a:script)
585-
while i < max - 1
585+
while i < max
586586
if a:script[i] == ' ' && a:script[i+1] == '='
587587
" Expand filename.
588588
let prog = matchstr(a:script, '^=\zs[^[:blank:]]*', i+1)
589589
if prog == ''
590590
let [script, i] = s:skip_else(script, a:script, i)
591591
else
592-
let filename = vimproc#get_command_path(prog)
592+
let filename = vimproc#get_command_name(prog)
593593
if filename == ''
594594
throw printf('Error: File "%s" is not found.', prog)
595595
else
596596
let script .= filename
597597
endif
598598

599-
let i += matchend(a:script, '^=[^[:blank:]]*', i+1)
599+
" Consume `a:script` until an end of `prog`.
600+
"
601+
" e.g.
602+
" 'echo =ls hoge' -> 'echo =ls hoge'
603+
" ^ ^
604+
let i += strlen(a:script[i] . a:script[i+1] . prog)
600605
endif
601606
else
602607
let [script, i] = s:skip_else(script, a:script, i)
@@ -626,7 +631,7 @@ function! s:parse_variables(script) "{{{
626631
let script .= b:vimshell.system_variables[variable_name]
627632
elseif script_head =~ '^$\h'
628633
let script .= vimproc#util#substitute_path_separator(
629-
\ eval(variable_name))
634+
\ eval('$' . variable_name))
630635
endif
631636
else
632637
let script .= vimproc#util#substitute_path_separator(
@@ -740,7 +745,7 @@ function! s:parse_double_quote(script, i) "{{{
740745
\ 'n' : "\<LF>", 'e' : "\<Esc>",
741746
\ '\' : '\', '?' : '?',
742747
\ '"' : '"', "'" : "'",
743-
\ '`' : '`',
748+
\ '`' : '`', '$' : '$',
744749
\}
745750
let arg = ''
746751
let i = a:i + 1

plugins/vimproc/autoload/vimproc/util.vim

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"=============================================================================
22
" FILE: util.vim
3-
" Last Modified: 09 Jun 2013.
3+
" Last Modified: 20 Jul 2013.
44
" License: MIT license {{{
55
" Permission is hereby granted, free of charge, to any person obtaining
66
" a copy of this software and associated documentation files (the
@@ -61,8 +61,11 @@ function! vimproc#util#stderrencoding() "{{{
6161
\ g:stderrencoding : vimproc#util#termencoding()
6262
endfunction"}}}
6363
function! vimproc#util#expand(path) "{{{
64-
return expand(escape(a:path,
65-
\ vimproc#util#is_windows() ? '*?"={}' : '*?"={}[]'), 1)
64+
return vimproc#util#substitute_path_separator(
65+
\ (a:path =~ '^\~') ? substitute(a:path, '^\~', expand('~'), '') :
66+
\ (a:path =~ '^\$\h\w*') ? substitute(a:path,
67+
\ '^\$\h\w*', '\=eval(submatch(0))', '') :
68+
\ a:path)
6669
endfunction"}}}
6770
function! vimproc#util#is_windows() "{{{
6871
return s:is_windows
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)