• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisionfe4ebbec775a55ba5d9bec6070d8d87dc28138f9 (tree)
Time2008-07-24 23:24:48
Authorvimboss
Commitervimboss

Log Message

updated for version 7.2b-014

Change Summary

Incremental Difference

diff -r 0a908b65de1d -r fe4ebbec775a src/auto/configure
--- a/src/auto/configure Thu Jul 24 11:51:40 2008 +0000
+++ b/src/auto/configure Thu Jul 24 14:24:48 2008 +0000
@@ -5114,16 +5114,17 @@
51145114 $as_echo_n "(cached) " >&6
51155115 else
51165116
5117- tmp_mkf="/tmp/Makefile-conf$$"
5118- cat ${PYTHON_CONFDIR}/Makefile - <<'eof' >${tmp_mkf}
5117+ pwd=`pwd`
5118+ tmp_mkf="$pwd/config-PyMake$$"
5119+ cat -- "${PYTHON_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
51195120 __:
51205121 @echo "python_MODLIBS='$(MODLIBS)'"
51215122 @echo "python_LIBS='$(LIBS)'"
51225123 @echo "python_SYSLIBS='$(SYSLIBS)'"
51235124 @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
51245125 eof
5125- eval "`cd ${PYTHON_CONFDIR} && make -f ${tmp_mkf} __ | sed '/ directory /d'`"
5126- rm -f ${tmp_mkf}
5126+ eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
5127+ rm -f -- "${tmp_mkf}"
51275128 if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
51285129 "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
51295130 vi_cv_path_python_plibs="-framework Python"
diff -r 0a908b65de1d -r fe4ebbec775a src/configure.in
--- a/src/configure.in Thu Jul 24 11:51:40 2008 +0000
+++ b/src/configure.in Thu Jul 24 14:24:48 2008 +0000
@@ -678,8 +678,9 @@
678678 dnl see what the interpreter is built from
679679 AC_CACHE_VAL(vi_cv_path_python_plibs,
680680 [
681- tmp_mkf="/tmp/Makefile-conf$$"
682- cat ${PYTHON_CONFDIR}/Makefile - <<'eof' >${tmp_mkf}
681+ pwd=`pwd`
682+ tmp_mkf="$pwd/config-PyMake$$"
683+ cat -- "${PYTHON_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
683684 __:
684685 @echo "python_MODLIBS='$(MODLIBS)'"
685686 @echo "python_LIBS='$(LIBS)'"
@@ -687,8 +688,8 @@
687688 @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
688689 eof
689690 dnl -- delete the lines from make about Entering/Leaving directory
690- eval "`cd ${PYTHON_CONFDIR} && make -f ${tmp_mkf} __ | sed '/ directory /d'`"
691- rm -f ${tmp_mkf}
691+ eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
692+ rm -f -- "${tmp_mkf}"
692693 if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
693694 "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
694695 vi_cv_path_python_plibs="-framework Python"
diff -r 0a908b65de1d -r fe4ebbec775a src/if_perl.xs
--- a/src/if_perl.xs Thu Jul 24 11:51:40 2008 +0000
+++ b/src/if_perl.xs Thu Jul 24 14:24:48 2008 +0000
@@ -843,6 +843,12 @@
843843 }
844844 }
845845
846+#ifndef FEAT_WINDOWS
847+int win_valid(win_T *w) { return TRUE; }
848+int win_count() { return 1; }
849+win_T *win_find_nr(int n) { return curwin; }
850+#endif
851+
846852 XS(XS_VIM_Msg);
847853 XS(XS_VIM_SetOption);
848854 XS(XS_VIM_DoCommand);
diff -r 0a908b65de1d -r fe4ebbec775a src/if_python.c
--- a/src/if_python.c Thu Jul 24 11:51:40 2008 +0000
+++ b/src/if_python.c Thu Jul 24 14:24:48 2008 +0000
@@ -1120,6 +1120,7 @@
11201120 return result;
11211121 }
11221122
1123+#ifdef FEAT_EVAL
11231124 /*
11241125 * Function to translate a typval_T into a PyObject; this will recursively
11251126 * translate lists/dictionaries into their Python equivalents.
@@ -1162,7 +1163,7 @@
11621163 result = Py_BuildValue("s", buf);
11631164 PyDict_SetItemString(lookupDict, ptrBuf, result);
11641165 }
1165-#ifdef FEAT_FLOAT
1166+# ifdef FEAT_FLOAT
11661167 else if (our_tv->v_type == VAR_FLOAT)
11671168 {
11681169 char buf[NUMBUFLEN];
@@ -1171,7 +1172,7 @@
11711172 result = Py_BuildValue("s", buf);
11721173 PyDict_SetItemString(lookupDict, ptrBuf, result);
11731174 }
1174-#endif
1175+# endif
11751176 else if (our_tv->v_type == VAR_LIST)
11761177 {
11771178 list_T *list = our_tv->vval.v_list;
@@ -1224,6 +1225,7 @@
12241225
12251226 return result;
12261227 }
1228+#endif
12271229
12281230 /*ARGSUSED*/
12291231 static PyObject *
diff -r 0a908b65de1d -r fe4ebbec775a src/version.c
--- a/src/version.c Thu Jul 24 11:51:40 2008 +0000
+++ b/src/version.c Thu Jul 24 14:24:48 2008 +0000
@@ -677,6 +677,10 @@
677677 static int included_patches[] =
678678 { /* Add new patch number below this line */
679679 /**/
680+ 14,
681+/**/
682+ 13,
683+/**/
680684 12,
681685 /**/
682686 11,
Show on old repository browser