Compare commits

...

5 Commits

Author SHA1 Message Date
Kazuki Sakamoto 3d96d091a0 MacVim Snapshot 129
Binary targets macOS 10.8+

- Vim patch 8.0.0502
- MacVim.app/Contents/bin now has mvim and other scripts for command line

Script interfaces have compatibility with these versions

- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-03-22 18:55:02 -07:00
Kazuki Sakamoto 2cbb1c7769 Fix .travis.yml to mkdir $BINPATH 2017-03-22 12:38:14 -07:00
Kazuki Sakamoto 1caef11d9e Fix mvim script, change the path and add vim script
Fix #479, #480
2017-03-22 12:11:58 -07:00
Kazuki Sakamoto 096e1e7157 Merge remote-tracking branch 'vim/master' 2017-03-21 23:33:58 -07:00
Bram Moolenaar a37ffaa5e0 patch 8.0.0502: Coverity complains about possible NULL pointer
Problem:    Coverity complains about possible NULL pointer.
Solution:   Add an assert(), let's see if this works on all systems.
2017-03-21 21:58:00 +01:00
4 changed files with 8 additions and 4 deletions
+4 -3
View File
@@ -36,10 +36,11 @@ script:
- grep -q -- "-DDYNAMIC_PYTHON_DLL=\\\\\"$vi_cv_dll_name_python\\\\\"" src/auto/config.mk
- grep -q -- "-DDYNAMIC_PYTHON3_DLL=\\\\\"$vi_cv_dll_name_python3\\\\\"" src/auto/config.mk
- make -j$NPROC
- BINPATH=src/MacVim/build/Release/MacVim.app/Contents/MacOS
- sed -e 's/^# VIM_APP_DIR=.*/VIM_APP_DIR=`dirname "$0"`\/..\/..\/../' src/MacVim/mvim > $BINPATH/mvim
- BINPATH=src/MacVim/build/Release/MacVim.app/Contents/bin
- mkdir -p $BINPATH
- sed -e 's/^# VIM_APP_DIR=.*/if [ -L $0 ]; then VIM_APP_DIR=`dirname "$(readlink $0)"`\/..\/..\/..; else VIM_APP_DIR=`dirname "$0"`\/..\/..\/..; fi/' src/MacVim/mvim > $BINPATH/mvim
- chmod 755 $BINPATH/mvim
- (cd $BINPATH; for f in vimdiff view gvim gvimdiff gview mvimdiff mview; do ln -s mvim $f; done)
- (cd $BINPATH; for f in vim vimdiff view gvim gvimdiff gview mvimdiff mview; do ln -s mvim $f; done)
- rm -f result; $VIMCMD -g -f -c "redir>result" -c "lua print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- rm -f result; $VIMCMD -g -f -c "redir>result" -c "perl VIM::Msg(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
- rm -f result; $VIMCMD -g -f -c "redir>result" -c "py import sys; print(\"Test\")" -c "redir END" -c q; cat result; echo; grep -q -w Test result
+1 -1
View File
@@ -1255,7 +1255,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>128</string>
<string>129</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
+2
View File
@@ -779,6 +779,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
502,
/**/
501,
/**/
+1
View File
@@ -3811,6 +3811,7 @@ close_tabpage(tabpage_T *tab)
for (ptp = first_tabpage; ptp != NULL && ptp->tp_next != tab;
ptp = ptp->tp_next)
;
assert(ptp != NULL);
ptp->tp_next = tab->tp_next;
}