Karsten Hopp 6ee44b
To: vim_dev@googlegroups.com
Karsten Hopp 6ee44b
Subject: Patch 7.4.907
Karsten Hopp 6ee44b
Fcc: outbox
Karsten Hopp 6ee44b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 6ee44b
Mime-Version: 1.0
Karsten Hopp 6ee44b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 6ee44b
Content-Transfer-Encoding: 8bit
Karsten Hopp 6ee44b
------------
Karsten Hopp 6ee44b
Karsten Hopp 6ee44b
Patch 7.4.907
Karsten Hopp 6ee44b
Problem:    Libraries for dynamically loading interfaces can only be defined
Karsten Hopp 6ee44b
            at compile time.
Karsten Hopp 6ee44b
Solution:   Add options to specify the dll names. (Kazuki Sakamoto,
Karsten Hopp 6ee44b
            closes #452)
Karsten Hopp 6ee44b
Files:      runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
Karsten Hopp 6ee44b
            runtime/doc/if_pyth.txt, runtime/doc/if_ruby.txt,
Karsten Hopp 6ee44b
            runtime/doc/options.txt, src/if_lua.c, src/if_perl.xs,
Karsten Hopp 6ee44b
            src/if_python.c, src/if_python3.c, src/if_ruby.c, src/option.c,
Karsten Hopp 6ee44b
            src/option.h
Karsten Hopp 6ee44b
Karsten Hopp 6ee44b
Karsten Hopp 6ee44b
*** ../vim-7.4.906/runtime/doc/if_lua.txt	2013-08-10 13:24:55.000000000 +0200
Karsten Hopp 6ee44b
--- runtime/doc/if_lua.txt	2015-11-02 15:10:05.518333171 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 14,19 ****
Karsten Hopp 6ee44b
--- 14,20 ----
Karsten Hopp 6ee44b
  6. Buffer userdata		|lua-buffer|
Karsten Hopp 6ee44b
  7. Window userdata		|lua-window|
Karsten Hopp 6ee44b
  8. The luaeval function		|lua-luaeval|
Karsten Hopp 6ee44b
+ 9. Dynamic loading		|lua-dynamic|
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  {Vi does not have any of these commands}
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 400,403 ****
Karsten Hopp 6ee44b
--- 401,423 ----
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  ==============================================================================
Karsten Hopp 6ee44b
+ 9. Dynamic loading				    *lua-dynamic*
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ On MS-Windows and Unix the Lua library can be loaded dynamically.  The
Karsten Hopp 6ee44b
+ |:version| output then includes |+lua/dyn|.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ This means that Vim will search for the Lua DLL or shared library file only
Karsten Hopp 6ee44b
+ when needed.  When you don't use the Lua interface you don't need it, thus
Karsten Hopp 6ee44b
+ you can use Vim without this file.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ On MS-Windows to use the Lua interface the Lua DLL must be in your search path.
Karsten Hopp 6ee44b
+ In a console window type "path" to see what directories are used.  The version
Karsten Hopp 6ee44b
+ of the DLL must match the Lua version Vim was compiled with.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ On Unix the 'luadll' option can be used to specify the Lua shared library file
Karsten Hopp 6ee44b
+ instead of DYNAMIC_LUA_DLL file what was specified at compile time.  The
Karsten Hopp 6ee44b
+ version of the shared library must match the Lua version Vim was compiled with.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ ==============================================================================
Karsten Hopp 6ee44b
   vim:tw=78:ts=8:noet:ft=help:norl:
Karsten Hopp 6ee44b
*** ../vim-7.4.906/runtime/doc/if_perl.txt	2013-08-10 13:24:55.000000000 +0200
Karsten Hopp 6ee44b
--- runtime/doc/if_perl.txt	2015-11-02 15:10:05.518333171 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 290,294 ****
Karsten Hopp 6ee44b
--- 290,302 ----
Karsten Hopp 6ee44b
  Currently the name is "perl512.dll".  That is for Perl 5.12.  To know for
Karsten Hopp 6ee44b
  sure edit "gvim.exe" and search for "perl\d*.dll\c".
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ Unix ~
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ The 'perldll' option can be used to specify the Perl shared library file
Karsten Hopp 6ee44b
+ instead of DYNAMIC_PERL_DLL file what was specified at compile time.  The
Karsten Hopp 6ee44b
+ version of the shared library must match the Perl version Vim was compiled
Karsten Hopp 6ee44b
+ with.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
  ==============================================================================
Karsten Hopp 6ee44b
   vim:tw=78:ts=8:ft=help:norl:
Karsten Hopp 6ee44b
*** ../vim-7.4.906/runtime/doc/if_pyth.txt	2013-08-10 13:24:55.000000000 +0200
Karsten Hopp 6ee44b
--- runtime/doc/if_pyth.txt	2015-11-02 15:10:05.518333171 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 28,34 ****
Karsten Hopp 6ee44b
  ==============================================================================
Karsten Hopp 6ee44b
  1. Commands						*python-commands*
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
! 					*:python* *:py* *E205* *E263* *E264*
Karsten Hopp 6ee44b
  :[range]py[thon] {stmt}
Karsten Hopp 6ee44b
  			Execute Python statement {stmt}.  A simple check if
Karsten Hopp 6ee44b
  			the `:python` command is working: >
Karsten Hopp 6ee44b
--- 28,34 ----
Karsten Hopp 6ee44b
  ==============================================================================
Karsten Hopp 6ee44b
  1. Commands						*python-commands*
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
! 					*:python* *:py* *E263* *E264* *E887*
Karsten Hopp 6ee44b
  :[range]py[thon] {stmt}
Karsten Hopp 6ee44b
  			Execute Python statement {stmt}.  A simple check if
Karsten Hopp 6ee44b
  			the `:python` command is working: >
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 679,698 ****
Karsten Hopp 6ee44b
  ==============================================================================
Karsten Hopp 6ee44b
  9. Dynamic loading					*python-dynamic*
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
! On MS-Windows the Python library can be loaded dynamically.  The |:version|
Karsten Hopp 6ee44b
! output then includes |+python/dyn|.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
! This means that Vim will search for the Python DLL file only when needed.
Karsten Hopp 6ee44b
! When you don't use the Python interface you don't need it, thus you can use
Karsten Hopp 6ee44b
! Vim without this DLL file.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
! To use the Python interface the Python DLL must be in your search path.  In a
Karsten Hopp 6ee44b
! console window type "path" to see what directories are used.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  The name of the DLL must match the Python version Vim was compiled with.
Karsten Hopp 6ee44b
  Currently the name is "python24.dll".  That is for Python 2.4.  To know for
Karsten Hopp 6ee44b
  sure edit "gvim.exe" and search for "python\d*.dll\c".
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  ==============================================================================
Karsten Hopp 6ee44b
  10. Python 3						*python3*
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
--- 679,704 ----
Karsten Hopp 6ee44b
  ==============================================================================
Karsten Hopp 6ee44b
  9. Dynamic loading					*python-dynamic*
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
! On MS-Windows and Unix the Python library can be loaded dynamically.  The
Karsten Hopp 6ee44b
! |:version| output then includes |+python/dyn| or |+python3/dyn|.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
! This means that Vim will search for the Python DLL or shared library file only
Karsten Hopp 6ee44b
! when needed.  When you don't use the Python interface you don't need it, thus
Karsten Hopp 6ee44b
! you can use Vim without this file.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
! On MS-Windows to use the Python interface the Python DLL must be in your search
Karsten Hopp 6ee44b
! path.  In a console window type "path" to see what directories are used.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  The name of the DLL must match the Python version Vim was compiled with.
Karsten Hopp 6ee44b
  Currently the name is "python24.dll".  That is for Python 2.4.  To know for
Karsten Hopp 6ee44b
  sure edit "gvim.exe" and search for "python\d*.dll\c".
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
+ On Unix the 'pythondll' or 'python3dll' option can be used to specify the
Karsten Hopp 6ee44b
+ Python shared library file instead of DYNAMIC_PYTHON_DLL or
Karsten Hopp 6ee44b
+ DYNAMIC_PYTHON3_DLL file what were specified at compile time.  The version of
Karsten Hopp 6ee44b
+ the shared library must match the Python 2.x or Python 3 version Vim was
Karsten Hopp 6ee44b
+ compiled with.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
  ==============================================================================
Karsten Hopp 6ee44b
  10. Python 3						*python3*
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
*** ../vim-7.4.906/runtime/doc/if_ruby.txt	2013-08-10 13:24:55.000000000 +0200
Karsten Hopp 6ee44b
--- runtime/doc/if_ruby.txt	2015-11-02 15:10:05.518333171 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 195,200 ****
Karsten Hopp 6ee44b
--- 199,206 ----
Karsten Hopp 6ee44b
  when needed.  When you don't use the Ruby interface you don't need it, thus
Karsten Hopp 6ee44b
  you can use Vim even though this library file is not on your system.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
+ MS-Windows ~
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
  You need to install the right version of Ruby for this to work.  You can find
Karsten Hopp 6ee44b
  the package to download from:
Karsten Hopp 6ee44b
  http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 212,216 ****
Karsten Hopp 6ee44b
--- 218,229 ----
Karsten Hopp 6ee44b
  You may also need to rename the include directory name to match the version,
Karsten Hopp 6ee44b
  strangely for Ruby 1.9.3 the directory is called 1.9.1.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
+ Unix ~
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ The 'rubydll' option can be used to specify the Ruby shared library file
Karsten Hopp 6ee44b
+ instead of DYNAMIC_RUBY_DLL file what was specified at compile time.  The
Karsten Hopp 6ee44b
+ version of the shared library must match the Ruby version Vim was compiled
Karsten Hopp 6ee44b
+ with.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
  ==============================================================================
Karsten Hopp 6ee44b
   vim:tw=78:ts=8:ft=help:norl:
Karsten Hopp 6ee44b
*** ../vim-7.4.906/runtime/doc/options.txt	2015-09-01 20:31:16.311776122 +0200
Karsten Hopp 6ee44b
--- runtime/doc/options.txt	2015-11-02 15:10:05.526333077 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 4831,4836 ****
Karsten Hopp 6ee44b
--- 4847,4863 ----
Karsten Hopp 6ee44b
  	Note that using the "-u NONE" and "--noplugin" command line arguments
Karsten Hopp 6ee44b
  	reset this option. |-u| |--noplugin|
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
+ 						*'luadll'*
Karsten Hopp 6ee44b
+ 'luadll' 		string	(default empty)
Karsten Hopp 6ee44b
+ 			global
Karsten Hopp 6ee44b
+ 			{not in Vi} {only for Unix}
Karsten Hopp 6ee44b
+ 			{only available when compiled with the |+lua/dyn|
Karsten Hopp 6ee44b
+ 			feature}
Karsten Hopp 6ee44b
+ 	Specifies the path of the Lua shared library instead of DYNAMIC_LUA_DLL
Karsten Hopp 6ee44b
+ 	what was specified at compile time.
Karsten Hopp 6ee44b
+ 	This option cannot be set from a |modeline| or in the |sandbox|, for
Karsten Hopp 6ee44b
+ 	security reasons.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
  						*'macatsui'* *'nomacatsui'*
Karsten Hopp 6ee44b
  'macatsui'		boolean	(default on)
Karsten Hopp 6ee44b
  			global
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 5532,5537 ****
Karsten Hopp 6ee44b
--- 5561,5577 ----
Karsten Hopp 6ee44b
  <	Replace the ';' with a ':' or whatever separator is used.  Note that
Karsten Hopp 6ee44b
  	this doesn't work when $INCL contains a comma or white space.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
+ 						*'perldll'*
Karsten Hopp 6ee44b
+ 'perldll' 		string	(default empty)
Karsten Hopp 6ee44b
+ 			global
Karsten Hopp 6ee44b
+ 			{not in Vi} {only for Unix}
Karsten Hopp 6ee44b
+ 			{only available when compiled with the |+perl/dyn|
Karsten Hopp 6ee44b
+ 			feature}
Karsten Hopp 6ee44b
+ 	Specifies the path of the Perl shared library instead of
Karsten Hopp 6ee44b
+ 	DYNAMIC_PERL_DLL what was specified at compile time.
Karsten Hopp 6ee44b
+ 	This option cannot be set from a |modeline| or in the |sandbox|, for
Karsten Hopp 6ee44b
+ 	security reasons.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
  			*'preserveindent'* *'pi'* *'nopreserveindent'* *'nopi'*
Karsten Hopp 6ee44b
  'preserveindent' 'pi'	boolean	(default off)
Karsten Hopp 6ee44b
  			local to buffer
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 5658,5663 ****
Karsten Hopp 6ee44b
--- 5698,5724 ----
Karsten Hopp 6ee44b
  	Insert mode completion.  When zero as much space as available is used.
Karsten Hopp 6ee44b
  	|ins-completion-menu|.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
+ 						*'python3dll'*
Karsten Hopp 6ee44b
+ 'python3dll' 		string	(default empty)
Karsten Hopp 6ee44b
+ 			global
Karsten Hopp 6ee44b
+ 			{not in Vi} {only for Unix}
Karsten Hopp 6ee44b
+ 			{only available when compiled with the |+python3/dyn|
Karsten Hopp 6ee44b
+ 			feature}
Karsten Hopp 6ee44b
+ 	Specifies the path of the Python 3 shared library instead of
Karsten Hopp 6ee44b
+ 	DYNAMIC_PYTHON3_DLL what was specified at compile time.
Karsten Hopp 6ee44b
+ 	This option cannot be set from a |modeline| or in the |sandbox|, for
Karsten Hopp 6ee44b
+ 	security reasons.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
+ 						*'pythondll'*
Karsten Hopp 6ee44b
+ 'pythondll' 		string	(default empty)
Karsten Hopp 6ee44b
+ 			global
Karsten Hopp 6ee44b
+ 			{not in Vi} {only for Unix}
Karsten Hopp 6ee44b
+ 			{only available when compiled with the |+python/dyn|
Karsten Hopp 6ee44b
+ 			feature}
Karsten Hopp 6ee44b
+ 	Specifies the path of the Python 2.x shared library instead of
Karsten Hopp 6ee44b
+ 	DYNAMIC_PYTHON_DLL what was specified at compile time.
Karsten Hopp 6ee44b
+ 	This option cannot be set from a |modeline| or in the |sandbox|, for
Karsten Hopp 6ee44b
+ 	security reasons.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  						*'quoteescape'* *'qe'*
Karsten Hopp 6ee44b
  'quoteescape' 'qe'	string	(default "\")
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 5876,5881 ****
Karsten Hopp 6ee44b
--- 5939,5955 ----
Karsten Hopp 6ee44b
  	This is useful for languages such as Hebrew, Arabic and Farsi.
Karsten Hopp 6ee44b
  	The 'rightleft' option must be set for 'rightleftcmd' to take effect.
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
+ 						*'rubydll'*
Karsten Hopp 6ee44b
+ 'rubydll' 		string	(default empty)
Karsten Hopp 6ee44b
+ 			global
Karsten Hopp 6ee44b
+ 			{not in Vi} {only for Unix}
Karsten Hopp 6ee44b
+ 			{only available when compiled with the |+ruby/dyn|
Karsten Hopp 6ee44b
+ 			feature}
Karsten Hopp 6ee44b
+ 	Specifies the path of the Ruby shared library instead of
Karsten Hopp 6ee44b
+ 	DYNAMIC_RUBY_DLL what was specified at compile time.
Karsten Hopp 6ee44b
+ 	This option cannot be set from a |modeline| or in the |sandbox|, for
Karsten Hopp 6ee44b
+ 	security reasons.
Karsten Hopp 6ee44b
+ 
Karsten Hopp 6ee44b
  					 *'ruler'* *'ru'* *'noruler'* *'noru'*
Karsten Hopp 6ee44b
  'ruler' 'ru'		boolean	(default off)
Karsten Hopp 6ee44b
  			global
Karsten Hopp 6ee44b
*** ../vim-7.4.906/src/if_lua.c	2015-07-21 17:53:11.577527989 +0200
Karsten Hopp 6ee44b
--- src/if_lua.c	2015-11-02 15:10:05.526333077 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 402,408 ****
Karsten Hopp 6ee44b
      int
Karsten Hopp 6ee44b
  lua_enabled(int verbose)
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
!     return lua_link_init(DYNAMIC_LUA_DLL, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  #endif /* DYNAMIC_LUA */
Karsten Hopp 6ee44b
--- 402,413 ----
Karsten Hopp 6ee44b
      int
Karsten Hopp 6ee44b
  lua_enabled(int verbose)
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
! #ifdef WIN3264
Karsten Hopp 6ee44b
!     char *dll = DYNAMIC_LUA_DLL;
Karsten Hopp 6ee44b
! #else
Karsten Hopp 6ee44b
!     char *dll = *p_luadll ? (char *)p_luadll : DYNAMIC_LUA_DLL;
Karsten Hopp 6ee44b
! #endif
Karsten Hopp 6ee44b
!     return lua_link_init(dll, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  #endif /* DYNAMIC_LUA */
Karsten Hopp 6ee44b
*** ../vim-7.4.906/src/if_perl.xs	2015-06-25 16:13:37.779750062 +0200
Karsten Hopp 6ee44b
--- src/if_perl.xs	2015-11-02 15:10:05.530333030 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 611,617 ****
Karsten Hopp 6ee44b
  perl_enabled(verbose)
Karsten Hopp 6ee44b
      int		verbose;
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
!     return perl_runtime_link_init(DYNAMIC_PERL_DLL, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  #endif /* DYNAMIC_PERL */
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
--- 611,622 ----
Karsten Hopp 6ee44b
  perl_enabled(verbose)
Karsten Hopp 6ee44b
      int		verbose;
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
! #if WIN3264
Karsten Hopp 6ee44b
!     char *dll = DYNAMIC_PERL_DLL;
Karsten Hopp 6ee44b
! #else
Karsten Hopp 6ee44b
!     char *dll = *p_perldll ? (char *)p_perldll : DYNAMIC_PERL_DLL;
Karsten Hopp 6ee44b
! #endif
Karsten Hopp 6ee44b
!     return perl_runtime_link_init(dll, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  #endif /* DYNAMIC_PERL */
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
*** ../vim-7.4.906/src/if_python.c	2015-02-03 12:55:11.140179551 +0100
Karsten Hopp 6ee44b
--- src/if_python.c	2015-11-02 15:10:05.530333030 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 732,738 ****
Karsten Hopp 6ee44b
      int
Karsten Hopp 6ee44b
  python_enabled(int verbose)
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
!     return python_runtime_link_init(DYNAMIC_PYTHON_DLL, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  /*
Karsten Hopp 6ee44b
--- 732,743 ----
Karsten Hopp 6ee44b
      int
Karsten Hopp 6ee44b
  python_enabled(int verbose)
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
! #ifdef WIN3264
Karsten Hopp 6ee44b
!     char *dll = DYNAMIC_PYTHON_DLL;
Karsten Hopp 6ee44b
! #else
Karsten Hopp 6ee44b
!     char *dll = *p_pydll ? (char *)p_pydll : DYNAMIC_PYTHON_DLL;
Karsten Hopp 6ee44b
! #endif
Karsten Hopp 6ee44b
!     return python_runtime_link_init(dll, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  /*
Karsten Hopp 6ee44b
*** ../vim-7.4.906/src/if_python3.c	2015-10-07 10:39:49.568914811 +0200
Karsten Hopp 6ee44b
--- src/if_python3.c	2015-11-02 15:10:05.530333030 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 686,692 ****
Karsten Hopp 6ee44b
      int
Karsten Hopp 6ee44b
  python3_enabled(int verbose)
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
!     return py3_runtime_link_init(DYNAMIC_PYTHON3_DLL, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  /* Load the standard Python exceptions - don't import the symbols from the
Karsten Hopp 6ee44b
--- 686,697 ----
Karsten Hopp 6ee44b
      int
Karsten Hopp 6ee44b
  python3_enabled(int verbose)
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
! #ifdef WIN3264
Karsten Hopp 6ee44b
!     char *dll = DYNAMIC_PYTHON3_DLL;
Karsten Hopp 6ee44b
! #else
Karsten Hopp 6ee44b
!     char *dll = *p_py3dll ? (char *)p_py3dll : DYNAMIC_PYTHON3_DLL;
Karsten Hopp 6ee44b
! #endif
Karsten Hopp 6ee44b
!     return py3_runtime_link_init(dll, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  /* Load the standard Python exceptions - don't import the symbols from the
Karsten Hopp 6ee44b
*** ../vim-7.4.906/src/if_ruby.c	2015-04-21 15:25:26.425488328 +0200
Karsten Hopp 6ee44b
--- src/if_ruby.c	2015-11-02 15:10:05.530333030 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 639,645 ****
Karsten Hopp 6ee44b
  ruby_enabled(verbose)
Karsten Hopp 6ee44b
      int		verbose;
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
!     return ruby_runtime_link_init(DYNAMIC_RUBY_DLL, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  #endif /* defined(DYNAMIC_RUBY) || defined(PROTO) */
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
--- 639,650 ----
Karsten Hopp 6ee44b
  ruby_enabled(verbose)
Karsten Hopp 6ee44b
      int		verbose;
Karsten Hopp 6ee44b
  {
Karsten Hopp 6ee44b
! #ifdef WIN3264
Karsten Hopp 6ee44b
!     char *dll = DYNAMIC_RUBY_DLL;
Karsten Hopp 6ee44b
! #else
Karsten Hopp 6ee44b
!     char *dll = *p_rubydll ? (char *)p_rubydll : DYNAMIC_RUBY_DLL;
Karsten Hopp 6ee44b
! #endif
Karsten Hopp 6ee44b
!     return ruby_runtime_link_init(dll, verbose) == OK;
Karsten Hopp 6ee44b
  }
Karsten Hopp 6ee44b
  #endif /* defined(DYNAMIC_RUBY) || defined(PROTO) */
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
*** ../vim-7.4.906/src/option.c	2015-09-15 17:30:35.909682046 +0200
Karsten Hopp 6ee44b
--- src/option.c	2015-11-02 15:10:05.534332982 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 1779,1784 ****
Karsten Hopp 6ee44b
--- 1779,1789 ----
Karsten Hopp 6ee44b
      {"loadplugins", "lpl",  P_BOOL|P_VI_DEF,
Karsten Hopp 6ee44b
  			    (char_u *)&p_lpl, PV_NONE,
Karsten Hopp 6ee44b
  			    {(char_u *)TRUE, (char_u *)0L} SCRIPTID_INIT},
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_LUA) && !defined(WIN3264)
Karsten Hopp 6ee44b
+     {"luadll",      NULL,   P_STRING|P_VI_DEF|P_SECURE,
Karsten Hopp 6ee44b
+ 			    (char_u *)&p_luadll, PV_NONE,
Karsten Hopp 6ee44b
+ 			    {(char_u *)"", (char_u *)0L} SCRIPTID_INIT},
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
  #ifdef FEAT_GUI_MAC
Karsten Hopp 6ee44b
      {"macatsui",    NULL,   P_BOOL|P_VI_DEF|P_RCLR,
Karsten Hopp 6ee44b
  			    (char_u *)&p_macatsui, PV_NONE,
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 2014,2019 ****
Karsten Hopp 6ee44b
--- 2019,2029 ----
Karsten Hopp 6ee44b
  # endif
Karsten Hopp 6ee44b
  #endif
Karsten Hopp 6ee44b
  				(char_u *)0L} SCRIPTID_INIT},
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_PERL) && !defined(WIN3264)
Karsten Hopp 6ee44b
+     {"perldll",     NULL,   P_STRING|P_VI_DEF|P_SECURE,
Karsten Hopp 6ee44b
+ 			    (char_u *)&p_perldll, PV_NONE,
Karsten Hopp 6ee44b
+ 			    {(char_u *)"", (char_u *)0L} SCRIPTID_INIT},
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
      {"preserveindent", "pi", P_BOOL|P_VI_DEF|P_VIM,
Karsten Hopp 6ee44b
  			    (char_u *)&p_pi, PV_PI,
Karsten Hopp 6ee44b
  			    {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT},
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 2119,2124 ****
Karsten Hopp 6ee44b
--- 2129,2144 ----
Karsten Hopp 6ee44b
  			    (char_u *)NULL, PV_NONE,
Karsten Hopp 6ee44b
  #endif
Karsten Hopp 6ee44b
  			    {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT},
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_PYTHON3) && !defined(WIN3264)
Karsten Hopp 6ee44b
+     {"python3dll",  NULL,   P_STRING|P_VI_DEF|P_SECURE,
Karsten Hopp 6ee44b
+ 			    (char_u *)&p_py3dll, PV_NONE,
Karsten Hopp 6ee44b
+ 			    {(char_u *)"", (char_u *)0L} SCRIPTID_INIT},
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_PYTHON) && !defined(WIN3264)
Karsten Hopp 6ee44b
+     {"pythondll",   NULL,   P_STRING|P_VI_DEF|P_SECURE,
Karsten Hopp 6ee44b
+ 			    (char_u *)&p_pydll, PV_NONE,
Karsten Hopp 6ee44b
+ 			    {(char_u *)"", (char_u *)0L} SCRIPTID_INIT},
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
      {"quoteescape", "qe",   P_STRING|P_ALLOCED|P_VI_DEF,
Karsten Hopp 6ee44b
  #ifdef FEAT_TEXTOBJ
Karsten Hopp 6ee44b
  			    (char_u *)&p_qe, PV_QE,
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 2192,2197 ****
Karsten Hopp 6ee44b
--- 2212,2222 ----
Karsten Hopp 6ee44b
  			    {(char_u *)NULL, (char_u *)0L}
Karsten Hopp 6ee44b
  #endif
Karsten Hopp 6ee44b
  			    SCRIPTID_INIT},
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_RUBY) && !defined(WIN3264)
Karsten Hopp 6ee44b
+     {"rubydll",     NULL,   P_STRING|P_VI_DEF|P_SECURE,
Karsten Hopp 6ee44b
+ 			    (char_u *)&p_rubydll, PV_NONE,
Karsten Hopp 6ee44b
+ 			    {(char_u *)"", (char_u *)0L} SCRIPTID_INIT},
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
      {"ruler",	    "ru",   P_BOOL|P_VI_DEF|P_VIM|P_RSTAT,
Karsten Hopp 6ee44b
  #ifdef FEAT_CMDL_INFO
Karsten Hopp 6ee44b
  			    (char_u *)&p_ru, PV_NONE,
Karsten Hopp 6ee44b
*** ../vim-7.4.906/src/option.h	2015-07-21 17:53:11.585527913 +0200
Karsten Hopp 6ee44b
--- src/option.h	2015-11-02 15:10:05.534332982 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 626,631 ****
Karsten Hopp 6ee44b
--- 626,634 ----
Karsten Hopp 6ee44b
  
Karsten Hopp 6ee44b
  EXTERN int	p_lz;		/* 'lazyredraw' */
Karsten Hopp 6ee44b
  EXTERN int	p_lpl;		/* 'loadplugins' */
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_LUA) && !defined(WIN3264)
Karsten Hopp 6ee44b
+ EXTERN char_u	*p_luadll;	/* 'luadll' */
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
  #ifdef FEAT_GUI_MAC
Karsten Hopp 6ee44b
  EXTERN int	p_macatsui;	/* 'macatsui' */
Karsten Hopp 6ee44b
  #endif
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 682,687 ****
Karsten Hopp 6ee44b
--- 685,699 ----
Karsten Hopp 6ee44b
  #ifdef FEAT_SEARCHPATH
Karsten Hopp 6ee44b
  EXTERN char_u	*p_cdpath;	/* 'cdpath' */
Karsten Hopp 6ee44b
  #endif
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_PERL) && !defined(WIN3264)
Karsten Hopp 6ee44b
+ EXTERN char_u	*p_perldll;	/* 'perldll' */
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_PYTHON3) && !defined(WIN3264)
Karsten Hopp 6ee44b
+ EXTERN char_u	*p_py3dll;	/* 'python3dll' */
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_PYTHON) && !defined(WIN3264)
Karsten Hopp 6ee44b
+ EXTERN char_u	*p_pydll;	/* 'pythondll' */
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
  #ifdef FEAT_RELTIME
Karsten Hopp 6ee44b
  EXTERN long	p_rdt;		/* 'redrawtime' */
Karsten Hopp 6ee44b
  #endif
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 701,706 ****
Karsten Hopp 6ee44b
--- 713,721 ----
Karsten Hopp 6ee44b
  EXTERN int	p_ari;		/* 'allowrevins' */
Karsten Hopp 6ee44b
  EXTERN int	p_ri;		/* 'revins' */
Karsten Hopp 6ee44b
  #endif
Karsten Hopp 6ee44b
+ #if defined(DYNAMIC_RUBY) && !defined(WIN3264)
Karsten Hopp 6ee44b
+ EXTERN char_u	*p_rubydll;	/* 'rubydll' */
Karsten Hopp 6ee44b
+ #endif
Karsten Hopp 6ee44b
  #ifdef FEAT_CMDL_INFO
Karsten Hopp 6ee44b
  EXTERN int	p_ru;		/* 'ruler' */
Karsten Hopp 6ee44b
  #endif
Karsten Hopp 6ee44b
*** ../vim-7.4.906/src/version.c	2015-11-02 14:45:12.135936003 +0100
Karsten Hopp 6ee44b
--- src/version.c	2015-11-02 15:21:12.886459329 +0100
Karsten Hopp 6ee44b
***************
Karsten Hopp 6ee44b
*** 743,744 ****
Karsten Hopp 6ee44b
--- 743,746 ----
Karsten Hopp 6ee44b
  {   /* Add new patch number below this line */
Karsten Hopp 6ee44b
+ /**/
Karsten Hopp 6ee44b
+     907,
Karsten Hopp 6ee44b
  /**/
Karsten Hopp 6ee44b
Karsten Hopp 6ee44b
-- 
Karsten Hopp 6ee44b
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 6ee44b
82. AT&T names you Customer of the Month for the third consecutive time.
Karsten Hopp 6ee44b
Karsten Hopp 6ee44b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 6ee44b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 6ee44b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 6ee44b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///