Karsten Hopp 9ecdde
To: vim_dev@googlegroups.com
Karsten Hopp 9ecdde
Subject: Patch 7.3.925
Karsten Hopp 9ecdde
Fcc: outbox
Karsten Hopp 9ecdde
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 9ecdde
Mime-Version: 1.0
Karsten Hopp 9ecdde
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 9ecdde
Content-Transfer-Encoding: 8bit
Karsten Hopp 9ecdde
------------
Karsten Hopp 9ecdde
Karsten Hopp 9ecdde
Patch 7.3.925
Karsten Hopp 9ecdde
Problem:    Typos in source files.
Karsten Hopp 9ecdde
Solution:   Fix the typos. (Ken Takata)
Karsten Hopp 9ecdde
Files:	    runtime/plugin/matchparen.vim, runtime/tools/vim_vs_net.cmd,
Karsten Hopp 9ecdde
	    src/GvimExt/gvimext.cpp, src/INSTALLvms.txt, src/Make_cyg.mak,
Karsten Hopp 9ecdde
	    src/Make_mvc.mak, src/Make_sas.mak, src/Make_vms.mms,
Karsten Hopp 9ecdde
	    src/Make_w16.mak, src/Makefile, src/VisVim/OleAut.cpp,
Karsten Hopp 9ecdde
	    src/VisVim/README_VisVim.txt, src/auto/configure, src/buffer.c,
Karsten Hopp 9ecdde
	    src/configure.in, src/diff.c, src/dosinst.c, src/edit.c,
Karsten Hopp 9ecdde
	    src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
Karsten Hopp 9ecdde
	    src/farsi.c, src/feature.h, src/fileio.c, src/glbl_ime.cpp,
Karsten Hopp 9ecdde
	    src/gui.c, src/gui_athena.c, src/gui_beval.c, src/gui_gtk_x11.c,
Karsten Hopp 9ecdde
	    src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w16.c,
Karsten Hopp 9ecdde
	    src/gui_w32.c, src/gui_w48.c, src/gui_xmebw.c, src/gui_xmebwp.h,
Karsten Hopp 9ecdde
	    src/hardcopy.c, src/if_cscope.c, src/if_mzsch.c, src/if_ole.cpp,
Karsten Hopp 9ecdde
	    src/if_perl.xs, src/if_py_both.h, src/if_python.c,
Karsten Hopp 9ecdde
	    src/if_python3.c, src/if_ruby.c, src/main.aap, src/mbyte.c,
Karsten Hopp 9ecdde
	    src/memfile.c, src/memline.c, src/misc1.c, src/misc2.c,
Karsten Hopp 9ecdde
	    src/nbdebug.c, src/normal.c, src/ops.c, src/os_amiga.c,
Karsten Hopp 9ecdde
	    src/os_mac.h, src/os_msdos.c, src/os_mswin.c, src/os_win16.h,
Karsten Hopp 9ecdde
	    src/os_win32.c, src/os_win32.h, src/quickfix.c, src/screen.c,
Karsten Hopp 9ecdde
	    src/search.c, src/spell.c, src/structs.h, src/syntax.c,
Karsten Hopp 9ecdde
	    src/window.c, vimtutor.com
Karsten Hopp 9ecdde
Karsten Hopp 9ecdde
Karsten Hopp 9ecdde
*** ../vim-7.3.924/runtime/plugin/matchparen.vim	2013-03-19 13:33:18.000000000 +0100
Karsten Hopp 9ecdde
--- runtime/plugin/matchparen.vim	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 5,11 ****
Karsten Hopp 9ecdde
  " Exit quickly when:
Karsten Hopp 9ecdde
  " - this plugin was already loaded (or disabled)
Karsten Hopp 9ecdde
  " - when 'compatible' is set
Karsten Hopp 9ecdde
! " - the "CursorMoved" autocmd event is not availble.
Karsten Hopp 9ecdde
  if exists("g:loaded_matchparen") || &cp || !exists("##CursorMoved")
Karsten Hopp 9ecdde
    finish
Karsten Hopp 9ecdde
  endif
Karsten Hopp 9ecdde
--- 5,11 ----
Karsten Hopp 9ecdde
  " Exit quickly when:
Karsten Hopp 9ecdde
  " - this plugin was already loaded (or disabled)
Karsten Hopp 9ecdde
  " - when 'compatible' is set
Karsten Hopp 9ecdde
! " - the "CursorMoved" autocmd event is not available.
Karsten Hopp 9ecdde
  if exists("g:loaded_matchparen") || &cp || !exists("##CursorMoved")
Karsten Hopp 9ecdde
    finish
Karsten Hopp 9ecdde
  endif
Karsten Hopp 9ecdde
*** ../vim-7.3.924/runtime/tools/vim_vs_net.cmd	2010-08-15 21:57:12.000000000 +0200
Karsten Hopp 9ecdde
--- runtime/tools/vim_vs_net.cmd	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 7,18 ****
Karsten Hopp 9ecdde
  @rem      Arguments - +$(CurLine) $(ItemPath)
Karsten Hopp 9ecdde
  @rem      Init Dir  - Empty
Karsten Hopp 9ecdde
  @rem
Karsten Hopp 9ecdde
! @rem Coutesy of Brian Sturk
Karsten Hopp 9ecdde
  @rem
Karsten Hopp 9ecdde
  @rem --remote-silent +%1 is a command +954, move ahead 954 lines
Karsten Hopp 9ecdde
  @rem --remote-silent %2 full path to file
Karsten Hopp 9ecdde
  @rem In Vim
Karsten Hopp 9ecdde
! @rem    :h --remote-silent for mor details
Karsten Hopp 9ecdde
  @rem
Karsten Hopp 9ecdde
  @rem --servername VS_NET
Karsten Hopp 9ecdde
  @rem This will create a new instance of vim called VS_NET.  So if you
Karsten Hopp 9ecdde
--- 7,18 ----
Karsten Hopp 9ecdde
  @rem      Arguments - +$(CurLine) $(ItemPath)
Karsten Hopp 9ecdde
  @rem      Init Dir  - Empty
Karsten Hopp 9ecdde
  @rem
Karsten Hopp 9ecdde
! @rem Courtesy of Brian Sturk
Karsten Hopp 9ecdde
  @rem
Karsten Hopp 9ecdde
  @rem --remote-silent +%1 is a command +954, move ahead 954 lines
Karsten Hopp 9ecdde
  @rem --remote-silent %2 full path to file
Karsten Hopp 9ecdde
  @rem In Vim
Karsten Hopp 9ecdde
! @rem    :h --remote-silent for more details
Karsten Hopp 9ecdde
  @rem
Karsten Hopp 9ecdde
  @rem --servername VS_NET
Karsten Hopp 9ecdde
  @rem This will create a new instance of vim called VS_NET.  So if you
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/GvimExt/gvimext.cpp	2011-08-10 16:31:18.000000000 +0200
Karsten Hopp 9ecdde
--- src/GvimExt/gvimext.cpp	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 527,533 ****
Karsten Hopp 9ecdde
  //
Karsten Hopp 9ecdde
  //  PARAMETERS:
Karsten Hopp 9ecdde
  //    pIDFolder - Specifies the parent folder
Karsten Hopp 9ecdde
! //    pDataObj  - Spefifies the set of items selected in that folder.
Karsten Hopp 9ecdde
  //    hRegKey   - Specifies the type of the focused item in the selection.
Karsten Hopp 9ecdde
  //
Karsten Hopp 9ecdde
  //  RETURN VALUE:
Karsten Hopp 9ecdde
--- 527,533 ----
Karsten Hopp 9ecdde
  //
Karsten Hopp 9ecdde
  //  PARAMETERS:
Karsten Hopp 9ecdde
  //    pIDFolder - Specifies the parent folder
Karsten Hopp 9ecdde
! //    pDataObj  - Specifies the set of items selected in that folder.
Karsten Hopp 9ecdde
  //    hRegKey   - Specifies the type of the focused item in the selection.
Karsten Hopp 9ecdde
  //
Karsten Hopp 9ecdde
  //  RETURN VALUE:
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/INSTALLvms.txt	2010-08-15 21:57:25.000000000 +0200
Karsten Hopp 9ecdde
--- src/INSTALLvms.txt	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 330,336 ****
Karsten Hopp 9ecdde
       Also VMS_JACKETS.EXE from OpenVMS Porting Library.
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
       Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm
Karsten Hopp 9ecdde
!      complier directives that is not compatible with "standard" VMS usage,
Karsten Hopp 9ecdde
       therefore other external features might fail as PERL, PYTHON and TCL
Karsten Hopp 9ecdde
       support.
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 330,336 ----
Karsten Hopp 9ecdde
       Also VMS_JACKETS.EXE from OpenVMS Porting Library.
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
       Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm
Karsten Hopp 9ecdde
!      compiler directives that is not compatible with "standard" VMS usage,
Karsten Hopp 9ecdde
       therefore other external features might fail as PERL, PYTHON and TCL
Karsten Hopp 9ecdde
       support.
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/Make_cyg.mak	2013-03-07 15:16:16.000000000 +0100
Karsten Hopp 9ecdde
--- src/Make_cyg.mak	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1,6 ****
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  # Makefile for VIM on Win32, using Cygnus gcc
Karsten Hopp 9ecdde
! # Last updated by Dan Sharp.  Last Change: 2013 Feb 17
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  # Also read INSTALLpc.txt!
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
--- 1,6 ----
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  # Makefile for VIM on Win32, using Cygnus gcc
Karsten Hopp 9ecdde
! # Last updated by Dan Sharp.  Last Change: 2013 Apr 22
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  # Also read INSTALLpc.txt!
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 48,54 ****
Karsten Hopp 9ecdde
  # USEDLL	no or yes: set to yes to use the Runtime library DLL (no)
Karsten Hopp 9ecdde
  #		For USEDLL=yes the cygwin1.dll is required to run Vim.
Karsten Hopp 9ecdde
  #		For "no" the mingw-gcc-g++ package or the mingw64-i686-gcc-g++
Karsten Hopp 9ecdde
! #		package is required to complie Vim.  Or set CC to gcc-3 and add
Karsten Hopp 9ecdde
  #		-L/lib/w32api to EXTRA_LIBS.
Karsten Hopp 9ecdde
  # POSTSCRIPT	no or yes: set to yes for PostScript printing (no)
Karsten Hopp 9ecdde
  # FEATURES	TINY, SMALL, NORMAL, BIG or HUGE (BIG)
Karsten Hopp 9ecdde
--- 48,54 ----
Karsten Hopp 9ecdde
  # USEDLL	no or yes: set to yes to use the Runtime library DLL (no)
Karsten Hopp 9ecdde
  #		For USEDLL=yes the cygwin1.dll is required to run Vim.
Karsten Hopp 9ecdde
  #		For "no" the mingw-gcc-g++ package or the mingw64-i686-gcc-g++
Karsten Hopp 9ecdde
! #		package is required to compile Vim.  Or set CC to gcc-3 and add
Karsten Hopp 9ecdde
  #		-L/lib/w32api to EXTRA_LIBS.
Karsten Hopp 9ecdde
  # POSTSCRIPT	no or yes: set to yes for PostScript printing (no)
Karsten Hopp 9ecdde
  # FEATURES	TINY, SMALL, NORMAL, BIG or HUGE (BIG)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/Make_mvc.mak	2013-02-26 14:56:24.000000000 +0100
Karsten Hopp 9ecdde
--- src/Make_mvc.mak	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 418,424 ****
Karsten Hopp 9ecdde
  !endif
Karsten Hopp 9ecdde
  !endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! # Abort bulding VIM if version of VC is unrecognised.
Karsten Hopp 9ecdde
  !ifndef MSVCVER
Karsten Hopp 9ecdde
  !message *** ERROR
Karsten Hopp 9ecdde
  !message Cannot determine Visual C version being used.  If you are using the
Karsten Hopp 9ecdde
--- 418,424 ----
Karsten Hopp 9ecdde
  !endif
Karsten Hopp 9ecdde
  !endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! # Abort building VIM if version of VC is unrecognised.
Karsten Hopp 9ecdde
  !ifndef MSVCVER
Karsten Hopp 9ecdde
  !message *** ERROR
Karsten Hopp 9ecdde
  !message Cannot determine Visual C version being used.  If you are using the
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/Make_sas.mak	2010-08-15 21:57:27.000000000 +0200
Karsten Hopp 9ecdde
--- src/Make_sas.mak	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 251,257 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # generate GlobalSymbolTable, which speeds up the compile time.
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
! # A preprocessing stage is used to work arounda bug in the GST generator, in
Karsten Hopp 9ecdde
  # that it does not handle nested makefiles properly in this stage.
Karsten Hopp 9ecdde
  # Ignore error message for not producing any code (105).
Karsten Hopp 9ecdde
  $(GST): scoptions vim.h keymap.h macros.h ascii.h term.h structs.h
Karsten Hopp 9ecdde
--- 251,257 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # generate GlobalSymbolTable, which speeds up the compile time.
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
! # A preprocessing stage is used to work around a bug in the GST generator, in
Karsten Hopp 9ecdde
  # that it does not handle nested makefiles properly in this stage.
Karsten Hopp 9ecdde
  # Ignore error message for not producing any code (105).
Karsten Hopp 9ecdde
  $(GST): scoptions vim.h keymap.h macros.h ascii.h term.h structs.h
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 283,289 ****
Karsten Hopp 9ecdde
  .c.pro:
Karsten Hopp 9ecdde
  	$(CC) $(CFLAGS) GPFILE=proto/$*.pro $(PROPT) $*.c
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! # dependancies
Karsten Hopp 9ecdde
  blowfish.o:		blowfish.c
Karsten Hopp 9ecdde
  proto/blowfish.pro:	blowfish.c
Karsten Hopp 9ecdde
  buffer.o:		buffer.c
Karsten Hopp 9ecdde
--- 283,289 ----
Karsten Hopp 9ecdde
  .c.pro:
Karsten Hopp 9ecdde
  	$(CC) $(CFLAGS) GPFILE=proto/$*.pro $(PROPT) $*.c
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! # dependencies
Karsten Hopp 9ecdde
  blowfish.o:		blowfish.c
Karsten Hopp 9ecdde
  proto/blowfish.pro:	blowfish.c
Karsten Hopp 9ecdde
  buffer.o:		buffer.c
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/Make_vms.mms	2010-08-15 21:57:32.000000000 +0200
Karsten Hopp 9ecdde
--- src/Make_vms.mms	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 34,40 ****
Karsten Hopp 9ecdde
  # SMALL  - Few features enabled, as basic as possible
Karsten Hopp 9ecdde
  # NORMAL - A default selection of features enabled
Karsten Hopp 9ecdde
  # BIG    - Many features enabled, as rich as possible. (default)
Karsten Hopp 9ecdde
! # HUGE   - All possible featues enabled.
Karsten Hopp 9ecdde
  # Please select one of these alternatives above.
Karsten Hopp 9ecdde
  MODEL = HUGE
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 34,40 ----
Karsten Hopp 9ecdde
  # SMALL  - Few features enabled, as basic as possible
Karsten Hopp 9ecdde
  # NORMAL - A default selection of features enabled
Karsten Hopp 9ecdde
  # BIG    - Many features enabled, as rich as possible. (default)
Karsten Hopp 9ecdde
! # HUGE   - All possible features enabled.
Karsten Hopp 9ecdde
  # Please select one of these alternatives above.
Karsten Hopp 9ecdde
  MODEL = HUGE
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 55,61 ****
Karsten Hopp 9ecdde
  # Comment out if you want the compiler version with :ver command.
Karsten Hopp 9ecdde
  # NOTE: This part can make some complications if you're using some
Karsten Hopp 9ecdde
  # predefined symbols/flags for your compiler. If does, just leave behind
Karsten Hopp 9ecdde
! # the comment varialbe CCVER.
Karsten Hopp 9ecdde
  CCVER = YES
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # Uncomment if want a debug version. Resulting executable is DVIM.EXE
Karsten Hopp 9ecdde
--- 55,61 ----
Karsten Hopp 9ecdde
  # Comment out if you want the compiler version with :ver command.
Karsten Hopp 9ecdde
  # NOTE: This part can make some complications if you're using some
Karsten Hopp 9ecdde
  # predefined symbols/flags for your compiler. If does, just leave behind
Karsten Hopp 9ecdde
! # the comment variable CCVER.
Karsten Hopp 9ecdde
  CCVER = YES
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # Uncomment if want a debug version. Resulting executable is DVIM.EXE
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/Make_w16.mak	2013-02-26 14:56:24.000000000 +0100
Karsten Hopp 9ecdde
--- src/Make_w16.mak	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 4,10 ****
Karsten Hopp 9ecdde
  # *************************************************************
Karsten Hopp 9ecdde
  # * WARNING!
Karsten Hopp 9ecdde
  # * This was originally produced by the IDE, but has since been
Karsten Hopp 9ecdde
! # * modifed to make it work properly. Adjust with care!
Karsten Hopp 9ecdde
  # * In particular, leave LinkerLocalOptsAtW16_gvim16dexe alone
Karsten Hopp 9ecdde
  # * unless you are a guru.
Karsten Hopp 9ecdde
  # *************************************************************
Karsten Hopp 9ecdde
--- 4,10 ----
Karsten Hopp 9ecdde
  # *************************************************************
Karsten Hopp 9ecdde
  # * WARNING!
Karsten Hopp 9ecdde
  # * This was originally produced by the IDE, but has since been
Karsten Hopp 9ecdde
! # * modified to make it work properly. Adjust with care!
Karsten Hopp 9ecdde
  # * In particular, leave LinkerLocalOptsAtW16_gvim16dexe alone
Karsten Hopp 9ecdde
  # * unless you are a guru.
Karsten Hopp 9ecdde
  # *************************************************************
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/Makefile	2013-02-26 14:56:24.000000000 +0100
Karsten Hopp 9ecdde
--- src/Makefile	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 200,206 ****
Karsten Hopp 9ecdde
  #Solaris 2.5 (sun4m)  cc (SC4.0)     +X11R6 +GUI (CDE)	4.6b (E) Andrew Large
Karsten Hopp 9ecdde
  #Solaris 2.5	      cc	     +X11 +GUI Athena	4.2  (9) Sonia Heimann
Karsten Hopp 9ecdde
  #Solaris 2.5	      gcc 2.5.6      +X11 Motif		5.0m (R) Ant. Colombo
Karsten Hopp 9ecdde
! #Solaris 2.6	      gcc 2.8.1      ncursus		5.3  (G) Larry W. Virden
Karsten Hopp 9ecdde
  #Solaris with -lthread					5.5  (W) K. Nagano
Karsten Hopp 9ecdde
  #Solaris	      gcc				     (b) Riccardo
Karsten Hopp 9ecdde
  #SunOS 4.1.x			     +X11 -GUI		5.1b (J) Bram Moolenaar
Karsten Hopp 9ecdde
--- 200,206 ----
Karsten Hopp 9ecdde
  #Solaris 2.5 (sun4m)  cc (SC4.0)     +X11R6 +GUI (CDE)	4.6b (E) Andrew Large
Karsten Hopp 9ecdde
  #Solaris 2.5	      cc	     +X11 +GUI Athena	4.2  (9) Sonia Heimann
Karsten Hopp 9ecdde
  #Solaris 2.5	      gcc 2.5.6      +X11 Motif		5.0m (R) Ant. Colombo
Karsten Hopp 9ecdde
! #Solaris 2.6	      gcc 2.8.1      ncurses		5.3  (G) Larry W. Virden
Karsten Hopp 9ecdde
  #Solaris with -lthread					5.5  (W) K. Nagano
Karsten Hopp 9ecdde
  #Solaris	      gcc				     (b) Riccardo
Karsten Hopp 9ecdde
  #SunOS 4.1.x			     +X11 -GUI		5.1b (J) Bram Moolenaar
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 231,238 ****
Karsten Hopp 9ecdde
  # (D)  Uncomment lines below for QNX
Karsten Hopp 9ecdde
  # (E)  You might want to use termlib instead of termcap, see below.
Karsten Hopp 9ecdde
  # (F)  See below for instructions.
Karsten Hopp 9ecdde
! # (G)  Using ncursus version 4.2 has reported to cause a crash.  Use the
Karsten Hopp 9ecdde
! #      Sun cursus library instead.
Karsten Hopp 9ecdde
  # (H)  See line for EXTRA_LIBS below.
Karsten Hopp 9ecdde
  # (I)  SINIX-N 5.42 and 5.43 need some EXTRA_LIBS.  Also for Reliant-Unix.
Karsten Hopp 9ecdde
  # (J)  If you get undefined symbols, see below for a solution.
Karsten Hopp 9ecdde
--- 231,238 ----
Karsten Hopp 9ecdde
  # (D)  Uncomment lines below for QNX
Karsten Hopp 9ecdde
  # (E)  You might want to use termlib instead of termcap, see below.
Karsten Hopp 9ecdde
  # (F)  See below for instructions.
Karsten Hopp 9ecdde
! # (G)  Using ncurses version 4.2 has reported to cause a crash.  Use the
Karsten Hopp 9ecdde
! #      Sun curses library instead.
Karsten Hopp 9ecdde
  # (H)  See line for EXTRA_LIBS below.
Karsten Hopp 9ecdde
  # (I)  SINIX-N 5.42 and 5.43 need some EXTRA_LIBS.  Also for Reliant-Unix.
Karsten Hopp 9ecdde
  # (J)  If you get undefined symbols, see below for a solution.
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 402,408 ****
Karsten Hopp 9ecdde
  # to the command line.	If you see strange flags during compilation, check in
Karsten Hopp 9ecdde
  # auto/config.mk where they come from.  If it's PERL_CFLAGS, try commenting
Karsten Hopp 9ecdde
  # the next line.
Karsten Hopp 9ecdde
! # When you get an error for a missing "perl.exp" file, try creating an emtpy
Karsten Hopp 9ecdde
  # one: "touch perl.exp".
Karsten Hopp 9ecdde
  # This requires at least "small" features, "tiny" doesn't work.
Karsten Hopp 9ecdde
  #CONF_OPT_PERL = --enable-perlinterp
Karsten Hopp 9ecdde
--- 402,408 ----
Karsten Hopp 9ecdde
  # to the command line.	If you see strange flags during compilation, check in
Karsten Hopp 9ecdde
  # auto/config.mk where they come from.  If it's PERL_CFLAGS, try commenting
Karsten Hopp 9ecdde
  # the next line.
Karsten Hopp 9ecdde
! # When you get an error for a missing "perl.exp" file, try creating an empty
Karsten Hopp 9ecdde
  # one: "touch perl.exp".
Karsten Hopp 9ecdde
  # This requires at least "small" features, "tiny" doesn't work.
Karsten Hopp 9ecdde
  #CONF_OPT_PERL = --enable-perlinterp
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 601,607 ****
Karsten Hopp 9ecdde
  # Might not work with GUI or Perl.
Karsten Hopp 9ecdde
  # For unknown reasons adding "-lc" fixes a linking problem with some versions
Karsten Hopp 9ecdde
  # of GCC.  That's probably a bug in the "-pg" implementation.
Karsten Hopp 9ecdde
! # After running Vim see the profile result with: gmon vim gmon.out | vim -
Karsten Hopp 9ecdde
  # Need to recompile everything after changing this: "make clean" "make".
Karsten Hopp 9ecdde
  #PROFILE_CFLAGS = -pg -g -DWE_ARE_PROFILING
Karsten Hopp 9ecdde
  #PROFILE_LIBS = -pg
Karsten Hopp 9ecdde
--- 601,607 ----
Karsten Hopp 9ecdde
  # Might not work with GUI or Perl.
Karsten Hopp 9ecdde
  # For unknown reasons adding "-lc" fixes a linking problem with some versions
Karsten Hopp 9ecdde
  # of GCC.  That's probably a bug in the "-pg" implementation.
Karsten Hopp 9ecdde
! # After running Vim see the profile result with: gprof vim gmon.out | vim -
Karsten Hopp 9ecdde
  # Need to recompile everything after changing this: "make clean" "make".
Karsten Hopp 9ecdde
  #PROFILE_CFLAGS = -pg -g -DWE_ARE_PROFILING
Karsten Hopp 9ecdde
  #PROFILE_LIBS = -pg
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1294,1300 ****
Karsten Hopp 9ecdde
  ### prototype headers are ignored due to -DPROTO, system
Karsten Hopp 9ecdde
  ### headers #include <...> are ignored if we use the -MM option, as
Karsten Hopp 9ecdde
  ### e.g. provided by gcc-cpp.
Karsten Hopp 9ecdde
! ### Include FEAT_GUI to get gependency on gui.h
Karsten Hopp 9ecdde
  ### Need to change "-I /<path>" to "-isystem /<path>" for GCC 3.x.
Karsten Hopp 9ecdde
  CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \
Karsten Hopp 9ecdde
  		`echo "$(DEPEND_CFLAGS)" $(DEPEND_CFLAGS_FILTER)`
Karsten Hopp 9ecdde
--- 1294,1300 ----
Karsten Hopp 9ecdde
  ### prototype headers are ignored due to -DPROTO, system
Karsten Hopp 9ecdde
  ### headers #include <...> are ignored if we use the -MM option, as
Karsten Hopp 9ecdde
  ### e.g. provided by gcc-cpp.
Karsten Hopp 9ecdde
! ### Include FEAT_GUI to get dependency on gui.h
Karsten Hopp 9ecdde
  ### Need to change "-I /<path>" to "-isystem /<path>" for GCC 3.x.
Karsten Hopp 9ecdde
  CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \
Karsten Hopp 9ecdde
  		`echo "$(DEPEND_CFLAGS)" $(DEPEND_CFLAGS_FILTER)`
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1717,1723 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # Link the target for normal use or debugging.
Karsten Hopp 9ecdde
! # A shell script is used to try linking without unneccesary libraries.
Karsten Hopp 9ecdde
  $(VIMTARGET): auto/config.mk objects $(OBJ) version.c version.h
Karsten Hopp 9ecdde
  	$(CCC) version.c -o objects/version.o
Karsten Hopp 9ecdde
  	@LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
Karsten Hopp 9ecdde
--- 1717,1723 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # Link the target for normal use or debugging.
Karsten Hopp 9ecdde
! # A shell script is used to try linking without unnecessary libraries.
Karsten Hopp 9ecdde
  $(VIMTARGET): auto/config.mk objects $(OBJ) version.c version.h
Karsten Hopp 9ecdde
  	$(CCC) version.c -o objects/version.o
Karsten Hopp 9ecdde
  	@LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1837,1844 ****
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  # This will produce a lot of garbage on your screen, including a few error
Karsten Hopp 9ecdde
  # messages.  Don't worry about that.
Karsten Hopp 9ecdde
! # If there is a real error, there will be a difference between "test.out" and
Karsten Hopp 9ecdde
! # a "test99.ok" file.
Karsten Hopp 9ecdde
  # If everything is alright, the final message will be "ALL DONE".  If not you
Karsten Hopp 9ecdde
  # get "TEST FAILURE".
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
--- 1837,1844 ----
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  # This will produce a lot of garbage on your screen, including a few error
Karsten Hopp 9ecdde
  # messages.  Don't worry about that.
Karsten Hopp 9ecdde
! # If there is a real error, there will be a difference between "testXX.out" and
Karsten Hopp 9ecdde
! # a "testXX.ok" file.
Karsten Hopp 9ecdde
  # If everything is alright, the final message will be "ALL DONE".  If not you
Karsten Hopp 9ecdde
  # get "TEST FAILURE".
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2779,2787 ****
Karsten Hopp 9ecdde
  	mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # po/Make_osx.pl says something about generating a Mac message file
Karsten Hopp 9ecdde
! # for Ukrananian.  Would somebody using Mac OS X in Ukranian
Karsten Hopp 9ecdde
  # *really* be upset that Carbon Vim was not localised in
Karsten Hopp 9ecdde
! # Ukranian?
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  #bundle-language: bundle-dir po/Make_osx.pl
Karsten Hopp 9ecdde
  #	cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
Karsten Hopp 9ecdde
--- 2779,2787 ----
Karsten Hopp 9ecdde
  	mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # po/Make_osx.pl says something about generating a Mac message file
Karsten Hopp 9ecdde
! # for Ukrainian.  Would somebody using Mac OS X in Ukrainian
Karsten Hopp 9ecdde
  # *really* be upset that Carbon Vim was not localised in
Karsten Hopp 9ecdde
! # Ukrainian?
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  #bundle-language: bundle-dir po/Make_osx.pl
Karsten Hopp 9ecdde
  #	cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/VisVim/OleAut.cpp	2010-08-15 21:57:27.000000000 +0200
Karsten Hopp 9ecdde
--- src/VisVim/OleAut.cpp	2013-05-06 04:04:07.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 654,660 ****
Karsten Hopp 9ecdde
  	}
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	char Buf[256];
Karsten Hopp 9ecdde
! 	sprintf (Buf, "An OLE error occured:\r\nCode = %s\r\nResult = %lx.",
Karsten Hopp 9ecdde
  		 (char*) ErrName, m_hResult);
Karsten Hopp 9ecdde
  	MessageBox (NULL, Buf, "OLE Error", MB_OK);
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
--- 654,660 ----
Karsten Hopp 9ecdde
  	}
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	char Buf[256];
Karsten Hopp 9ecdde
! 	sprintf (Buf, "An OLE error occurred:\r\nCode = %s\r\nResult = %lx.",
Karsten Hopp 9ecdde
  		 (char*) ErrName, m_hResult);
Karsten Hopp 9ecdde
  	MessageBox (NULL, Buf, "OLE Error", MB_OK);
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/VisVim/README_VisVim.txt	2010-08-15 21:57:27.000000000 +0200
Karsten Hopp 9ecdde
--- src/VisVim/README_VisVim.txt	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 17,28 ****
Karsten Hopp 9ecdde
  VisVim is based upon VisEmacs by Christopher Payne
Karsten Hopp 9ecdde
  (Copyright (C) Christopher Payne 1997).
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! Author: Heiko Erhardt <Heiko.Erhardt@munich.netsurf.de>
Karsten Hopp 9ecdde
  Based upon: VisEmacs by Christopher Payne <payneca@sagian.com>
Karsten Hopp 9ecdde
  Version: 1.0
Karsten Hopp 9ecdde
  Created: 23 Oct 1997
Karsten Hopp 9ecdde
  Date: 23 Oct 1997
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  VisVim is free software; you can redistribute it and/or modify
Karsten Hopp 9ecdde
  it under the terms of the GNU General Public License as published by
Karsten Hopp 9ecdde
  the Free Software Foundation; either version 2, or (at your option)
Karsten Hopp 9ecdde
--- 17,32 ----
Karsten Hopp 9ecdde
  VisVim is based upon VisEmacs by Christopher Payne
Karsten Hopp 9ecdde
  (Copyright (C) Christopher Payne 1997).
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! Author: Heiko Erhardt <heiko.erhardt@gmx.net>
Karsten Hopp 9ecdde
  Based upon: VisEmacs by Christopher Payne <payneca@sagian.com>
Karsten Hopp 9ecdde
  Version: 1.0
Karsten Hopp 9ecdde
  Created: 23 Oct 1997
Karsten Hopp 9ecdde
  Date: 23 Oct 1997
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
+ VisVim was originally GNU GPL licensed, as stated below.  On March 21 2012
Karsten Hopp 9ecdde
+ Heiko Erhardt declared this work to be relicensed under the Vim license, as
Karsten Hopp 9ecdde
+ stated in ../../runtime/doc/uganda.txt (or ":help uganda" in Vim).
Karsten Hopp 9ecdde
+ 
Karsten Hopp 9ecdde
  VisVim is free software; you can redistribute it and/or modify
Karsten Hopp 9ecdde
  it under the terms of the GNU General Public License as published by
Karsten Hopp 9ecdde
  the Free Software Foundation; either version 2, or (at your option)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 216,222 ****
Karsten Hopp 9ecdde
  		 2. Close Visual Studio.
Karsten Hopp 9ecdde
  		 3. Delete VisVim.dll or move it somewhere it can't be found.
Karsten Hopp 9ecdde
  		 4. Run Visual Studio.
Karsten Hopp 9ecdde
! 		 5. Tools -> Cursomize ->Add-ins and Macro-Files.
Karsten Hopp 9ecdde
  		 6. A message appears:
Karsten Hopp 9ecdde
  		    ".../VisVim.dll" "This add-in no longer exists.  It will
Karsten Hopp 9ecdde
  		    no longer be displayed."
Karsten Hopp 9ecdde
--- 220,226 ----
Karsten Hopp 9ecdde
  		 2. Close Visual Studio.
Karsten Hopp 9ecdde
  		 3. Delete VisVim.dll or move it somewhere it can't be found.
Karsten Hopp 9ecdde
  		 4. Run Visual Studio.
Karsten Hopp 9ecdde
! 		 5. Tools -> Customize ->Add-ins and Macro-Files.
Karsten Hopp 9ecdde
  		 6. A message appears:
Karsten Hopp 9ecdde
  		    ".../VisVim.dll" "This add-in no longer exists.  It will
Karsten Hopp 9ecdde
  		    no longer be displayed."
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 294,300 ****
Karsten Hopp 9ecdde
  P8  Execute :tag command in Vim for word under cursor in DevStudio
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  P7  Controlling the Visual Studio Debugger from inside Vim
Karsten Hopp 9ecdde
!     See message above. Also a 'Debug' highligh group and a
Karsten Hopp 9ecdde
      command to highlight a certain line would be necessary.
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  P6  Provide an option to open the current file in VisVim in
Karsten Hopp 9ecdde
--- 298,304 ----
Karsten Hopp 9ecdde
  P8  Execute :tag command in Vim for word under cursor in DevStudio
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  P7  Controlling the Visual Studio Debugger from inside Vim
Karsten Hopp 9ecdde
!     See message above. Also a 'Debug' highlight group and a
Karsten Hopp 9ecdde
      command to highlight a certain line would be necessary.
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  P6  Provide an option to open the current file in VisVim in
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 318,322 ****
Karsten Hopp 9ecdde
  Have fun!
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  Heiko Erhardt
Karsten Hopp 9ecdde
! Heiko.Erhardt@munich.netsurf.de
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 322,326 ----
Karsten Hopp 9ecdde
  Have fun!
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  Heiko Erhardt
Karsten Hopp 9ecdde
! heiko.erhardt@gmx.net
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/auto/configure	2013-05-04 04:40:06.000000000 +0200
Karsten Hopp 9ecdde
--- src/auto/configure	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 5831,5837 ****
Karsten Hopp 9ecdde
      /* If this program fails, then RTLD_GLOBAL is needed.
Karsten Hopp 9ecdde
       * RTLD_GLOBAL will be used and then it is not possible to
Karsten Hopp 9ecdde
       * have both python versions enabled in the same vim instance.
Karsten Hopp 9ecdde
!      * Only the first pyhton version used will be switched on.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      int no_rtl_global_needed_for(char *python_instsoname, char *prefix)
Karsten Hopp 9ecdde
--- 5831,5837 ----
Karsten Hopp 9ecdde
      /* If this program fails, then RTLD_GLOBAL is needed.
Karsten Hopp 9ecdde
       * RTLD_GLOBAL will be used and then it is not possible to
Karsten Hopp 9ecdde
       * have both python versions enabled in the same vim instance.
Karsten Hopp 9ecdde
!      * Only the first python version used will be switched on.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      int no_rtl_global_needed_for(char *python_instsoname, char *prefix)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 5897,5903 ****
Karsten Hopp 9ecdde
      /* If this program fails, then RTLD_GLOBAL is needed.
Karsten Hopp 9ecdde
       * RTLD_GLOBAL will be used and then it is not possible to
Karsten Hopp 9ecdde
       * have both python versions enabled in the same vim instance.
Karsten Hopp 9ecdde
!      * Only the first pyhton version used will be switched on.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      int no_rtl_global_needed_for(char *python_instsoname, wchar_t *prefix)
Karsten Hopp 9ecdde
--- 5897,5903 ----
Karsten Hopp 9ecdde
      /* If this program fails, then RTLD_GLOBAL is needed.
Karsten Hopp 9ecdde
       * RTLD_GLOBAL will be used and then it is not possible to
Karsten Hopp 9ecdde
       * have both python versions enabled in the same vim instance.
Karsten Hopp 9ecdde
!      * Only the first python version used will be switched on.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      int no_rtl_global_needed_for(char *python_instsoname, wchar_t *prefix)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 10593,10599 ****
Karsten Hopp 9ecdde
  _ACEOF
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
    if test "x$vim_cv_tty_mode" = "x" ; then
Karsten Hopp 9ecdde
!     as_fn_error "It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)" "$LINENO" 5
Karsten Hopp 9ecdde
    else
Karsten Hopp 9ecdde
      $as_echo "#define PTYMODE 0620" >>confdefs.h
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 10593,10599 ----
Karsten Hopp 9ecdde
  _ACEOF
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
    if test "x$vim_cv_tty_mode" = "x" ; then
Karsten Hopp 9ecdde
!     as_fn_error "It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (probably 0620)" "$LINENO" 5
Karsten Hopp 9ecdde
    else
Karsten Hopp 9ecdde
      $as_echo "#define PTYMODE 0620" >>confdefs.h
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/buffer.c	2013-04-24 16:52:28.000000000 +0200
Karsten Hopp 9ecdde
--- src/buffer.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2005,2011 ****
Karsten Hopp 9ecdde
  	 * "buf" if one exists */
Karsten Hopp 9ecdde
  	if (swb_flags & SWB_USEOPEN)
Karsten Hopp 9ecdde
  	    wp = buf_jump_open_win(buf);
Karsten Hopp 9ecdde
! 	/* If 'switchbuf' contians "usetab": jump to first window in any tab
Karsten Hopp 9ecdde
  	 * page containing "buf" if one exists */
Karsten Hopp 9ecdde
  	if (wp == NULL && (swb_flags & SWB_USETAB))
Karsten Hopp 9ecdde
  	    wp = buf_jump_open_tab(buf);
Karsten Hopp 9ecdde
--- 2005,2011 ----
Karsten Hopp 9ecdde
  	 * "buf" if one exists */
Karsten Hopp 9ecdde
  	if (swb_flags & SWB_USEOPEN)
Karsten Hopp 9ecdde
  	    wp = buf_jump_open_win(buf);
Karsten Hopp 9ecdde
! 	/* If 'switchbuf' contains "usetab": jump to first window in any tab
Karsten Hopp 9ecdde
  	 * page containing "buf" if one exists */
Karsten Hopp 9ecdde
  	if (wp == NULL && (swb_flags & SWB_USETAB))
Karsten Hopp 9ecdde
  	    wp = buf_jump_open_tab(buf);
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/configure.in	2013-05-04 04:40:06.000000000 +0200
Karsten Hopp 9ecdde
--- src/configure.in	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 306,312 ****
Karsten Hopp 9ecdde
  AC_SUBST(line_break)
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  if test "$cf_cv_ebcdic" = "yes"; then
Karsten Hopp 9ecdde
! dnl If we have EBCDIC we most likley have z/OS Unix, let's test it!
Karsten Hopp 9ecdde
  AC_MSG_CHECKING(for z/OS Unix)
Karsten Hopp 9ecdde
  case `uname` in
Karsten Hopp 9ecdde
      OS/390)	zOSUnix="yes";
Karsten Hopp 9ecdde
--- 306,312 ----
Karsten Hopp 9ecdde
  AC_SUBST(line_break)
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  if test "$cf_cv_ebcdic" = "yes"; then
Karsten Hopp 9ecdde
! dnl If we have EBCDIC we most likely have z/OS Unix, let's test it!
Karsten Hopp 9ecdde
  AC_MSG_CHECKING(for z/OS Unix)
Karsten Hopp 9ecdde
  case `uname` in
Karsten Hopp 9ecdde
      OS/390)	zOSUnix="yes";
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1228,1234 ****
Karsten Hopp 9ecdde
      /* If this program fails, then RTLD_GLOBAL is needed.
Karsten Hopp 9ecdde
       * RTLD_GLOBAL will be used and then it is not possible to
Karsten Hopp 9ecdde
       * have both python versions enabled in the same vim instance.
Karsten Hopp 9ecdde
!      * Only the first pyhton version used will be switched on.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      int no_rtl_global_needed_for(char *python_instsoname, char *prefix)
Karsten Hopp 9ecdde
--- 1228,1234 ----
Karsten Hopp 9ecdde
      /* If this program fails, then RTLD_GLOBAL is needed.
Karsten Hopp 9ecdde
       * RTLD_GLOBAL will be used and then it is not possible to
Karsten Hopp 9ecdde
       * have both python versions enabled in the same vim instance.
Karsten Hopp 9ecdde
!      * Only the first python version used will be switched on.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      int no_rtl_global_needed_for(char *python_instsoname, char *prefix)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1274,1280 ****
Karsten Hopp 9ecdde
      /* If this program fails, then RTLD_GLOBAL is needed.
Karsten Hopp 9ecdde
       * RTLD_GLOBAL will be used and then it is not possible to
Karsten Hopp 9ecdde
       * have both python versions enabled in the same vim instance.
Karsten Hopp 9ecdde
!      * Only the first pyhton version used will be switched on.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      int no_rtl_global_needed_for(char *python_instsoname, wchar_t *prefix)
Karsten Hopp 9ecdde
--- 1274,1280 ----
Karsten Hopp 9ecdde
      /* If this program fails, then RTLD_GLOBAL is needed.
Karsten Hopp 9ecdde
       * RTLD_GLOBAL will be used and then it is not possible to
Karsten Hopp 9ecdde
       * have both python versions enabled in the same vim instance.
Karsten Hopp 9ecdde
!      * Only the first python version used will be switched on.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      int no_rtl_global_needed_for(char *python_instsoname, wchar_t *prefix)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3002,3008 ****
Karsten Hopp 9ecdde
  if test "x$vim_cv_tty_group" != "xworld" ; then
Karsten Hopp 9ecdde
    AC_DEFINE_UNQUOTED(PTYGROUP,$vim_cv_tty_group)
Karsten Hopp 9ecdde
    if test "x$vim_cv_tty_mode" = "x" ; then
Karsten Hopp 9ecdde
!     AC_MSG_ERROR([It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)])
Karsten Hopp 9ecdde
    else
Karsten Hopp 9ecdde
      AC_DEFINE(PTYMODE, 0620)
Karsten Hopp 9ecdde
    fi
Karsten Hopp 9ecdde
--- 3002,3008 ----
Karsten Hopp 9ecdde
  if test "x$vim_cv_tty_group" != "xworld" ; then
Karsten Hopp 9ecdde
    AC_DEFINE_UNQUOTED(PTYGROUP,$vim_cv_tty_group)
Karsten Hopp 9ecdde
    if test "x$vim_cv_tty_mode" = "x" ; then
Karsten Hopp 9ecdde
!     AC_MSG_ERROR([It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (probably 0620)])
Karsten Hopp 9ecdde
    else
Karsten Hopp 9ecdde
      AC_DEFINE(PTYMODE, 0620)
Karsten Hopp 9ecdde
    fi
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/diff.c	2013-03-19 14:25:50.000000000 +0100
Karsten Hopp 9ecdde
--- src/diff.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1110,1116 ****
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Set options to show difs for the current window.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      void
Karsten Hopp 9ecdde
  ex_diffthis(eap)
Karsten Hopp 9ecdde
--- 1110,1116 ----
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Set options to show diffs for the current window.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      void
Karsten Hopp 9ecdde
  ex_diffthis(eap)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/dosinst.c	2013-02-13 14:36:39.000000000 +0100
Karsten Hopp 9ecdde
--- src/dosinst.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1609,1615 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * Only add the choice for the open-with menu entry when gvim.exe was found
Karsten Hopp 9ecdde
!  * and and regedit.exe exist.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      static void
Karsten Hopp 9ecdde
  init_openwith_choice(void)
Karsten Hopp 9ecdde
--- 1609,1615 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * Only add the choice for the open-with menu entry when gvim.exe was found
Karsten Hopp 9ecdde
!  * and regedit.exe exist.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      static void
Karsten Hopp 9ecdde
  init_openwith_choice(void)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/edit.c	2013-03-19 16:46:59.000000000 +0100
Karsten Hopp 9ecdde
--- src/edit.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1418,1424 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  normalchar:
Karsten Hopp 9ecdde
  	    /*
Karsten Hopp 9ecdde
! 	     * Insert a nomal character.
Karsten Hopp 9ecdde
  	     */
Karsten Hopp 9ecdde
  #ifdef FEAT_AUTOCMD
Karsten Hopp 9ecdde
  	    if (!p_paste)
Karsten Hopp 9ecdde
--- 1418,1424 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  normalchar:
Karsten Hopp 9ecdde
  	    /*
Karsten Hopp 9ecdde
! 	     * Insert a normal character.
Karsten Hopp 9ecdde
  	     */
Karsten Hopp 9ecdde
  #ifdef FEAT_AUTOCMD
Karsten Hopp 9ecdde
  	    if (!p_paste)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 7162,7168 ****
Karsten Hopp 9ecdde
  	    /*
Karsten Hopp 9ecdde
  	     * Count each sequence of folded lines as one logical line.
Karsten Hopp 9ecdde
  	     */
Karsten Hopp 9ecdde
! 	    /* go to the the start of the current fold */
Karsten Hopp 9ecdde
  	    (void)hasFolding(lnum, &lnum, NULL);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	    while (n--)
Karsten Hopp 9ecdde
--- 7162,7168 ----
Karsten Hopp 9ecdde
  	    /*
Karsten Hopp 9ecdde
  	     * Count each sequence of folded lines as one logical line.
Karsten Hopp 9ecdde
  	     */
Karsten Hopp 9ecdde
! 	    /* go to the start of the current fold */
Karsten Hopp 9ecdde
  	    (void)hasFolding(lnum, &lnum, NULL);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	    while (n--)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 7213,7219 ****
Karsten Hopp 9ecdde
  	(void)hasFolding(lnum, NULL, &lnum);
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  	/* This fails if the cursor is already in the last line or would move
Karsten Hopp 9ecdde
! 	 * beyound the last line and '-' is in 'cpoptions' */
Karsten Hopp 9ecdde
  	if (lnum >= curbuf->b_ml.ml_line_count
Karsten Hopp 9ecdde
  		|| (lnum + n > curbuf->b_ml.ml_line_count
Karsten Hopp 9ecdde
  		    && vim_strchr(p_cpo, CPO_MINUS) != NULL))
Karsten Hopp 9ecdde
--- 7213,7219 ----
Karsten Hopp 9ecdde
  	(void)hasFolding(lnum, NULL, &lnum);
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  	/* This fails if the cursor is already in the last line or would move
Karsten Hopp 9ecdde
! 	 * beyond the last line and '-' is in 'cpoptions' */
Karsten Hopp 9ecdde
  	if (lnum >= curbuf->b_ml.ml_line_count
Karsten Hopp 9ecdde
  		|| (lnum + n > curbuf->b_ml.ml_line_count
Karsten Hopp 9ecdde
  		    && vim_strchr(p_cpo, CPO_MINUS) != NULL))
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 7715,7721 ****
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * return TRUE if 'cinkeys' contains the key "keytyped",
Karsten Hopp 9ecdde
   * when == '*':	    Only if key is preceded with '*'	(indent before insert)
Karsten Hopp 9ecdde
!  * when == '!':	    Only if key is prededed with '!'	(don't insert)
Karsten Hopp 9ecdde
   * when == ' ':	    Only if key is not preceded with '*'(indent afterwards)
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * "keytyped" can have a few special values:
Karsten Hopp 9ecdde
--- 7715,7721 ----
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * return TRUE if 'cinkeys' contains the key "keytyped",
Karsten Hopp 9ecdde
   * when == '*':	    Only if key is preceded with '*'	(indent before insert)
Karsten Hopp 9ecdde
!  * when == '!':	    Only if key is preceded with '!'	(don't insert)
Karsten Hopp 9ecdde
   * when == ' ':	    Only if key is not preceded with '*'(indent afterwards)
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * "keytyped" can have a few special values:
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 8541,8547 ****
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * <Insert> key in Insert mode: toggle insert/remplace mode.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      static void
Karsten Hopp 9ecdde
  ins_insert(replaceState)
Karsten Hopp 9ecdde
--- 8541,8547 ----
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * <Insert> key in Insert mode: toggle insert/replace mode.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      static void
Karsten Hopp 9ecdde
  ins_insert(replaceState)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/eval.c	2013-05-06 03:52:44.000000000 +0200
Karsten Hopp 9ecdde
--- src/eval.c	2013-05-06 04:07:45.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 16669,16675 ****
Karsten Hopp 9ecdde
      tabpage_T	*save_curtab;
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
  #ifdef FEAT_WINDOWS
Karsten Hopp 9ecdde
!     /* Restore current tabpage and window, if still valid (autocomands can
Karsten Hopp 9ecdde
       * make them invalid). */
Karsten Hopp 9ecdde
      if (valid_tabpage(save_curtab))
Karsten Hopp 9ecdde
  	goto_tabpage_tp(save_curtab, TRUE);
Karsten Hopp 9ecdde
--- 16669,16675 ----
Karsten Hopp 9ecdde
      tabpage_T	*save_curtab;
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
  #ifdef FEAT_WINDOWS
Karsten Hopp 9ecdde
!     /* Restore current tabpage and window, if still valid (autocommands can
Karsten Hopp 9ecdde
       * make them invalid). */
Karsten Hopp 9ecdde
      if (valid_tabpage(save_curtab))
Karsten Hopp 9ecdde
  	goto_tabpage_tp(save_curtab, TRUE);
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/ex_cmds2.c	2013-03-19 16:46:59.000000000 +0100
Karsten Hopp 9ecdde
--- src/ex_cmds2.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2851,2857 ****
Karsten Hopp 9ecdde
  	EMSG(_(e_argreq));
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      else if (eap != NULL && eap->forceit)
Karsten Hopp 9ecdde
! 	/* ":source!": read Normal mdoe commands
Karsten Hopp 9ecdde
  	 * Need to execute the commands directly.  This is required at least
Karsten Hopp 9ecdde
  	 * for:
Karsten Hopp 9ecdde
  	 * - ":g" command busy
Karsten Hopp 9ecdde
--- 2851,2857 ----
Karsten Hopp 9ecdde
  	EMSG(_(e_argreq));
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      else if (eap != NULL && eap->forceit)
Karsten Hopp 9ecdde
! 	/* ":source!": read Normal mode commands
Karsten Hopp 9ecdde
  	 * Need to execute the commands directly.  This is required at least
Karsten Hopp 9ecdde
  	 * for:
Karsten Hopp 9ecdde
  	 * - ":g" command busy
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/ex_docmd.c	2013-03-19 14:25:50.000000000 +0100
Karsten Hopp 9ecdde
--- src/ex_docmd.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1093,1099 ****
Karsten Hopp 9ecdde
  		msg_didany = FALSE; /* no output yet */
Karsten Hopp 9ecdde
  		msg_start();
Karsten Hopp 9ecdde
  		msg_scroll = TRUE;  /* put messages below each other */
Karsten Hopp 9ecdde
! 		++no_wait_return;   /* dont wait for return until finished */
Karsten Hopp 9ecdde
  		++RedrawingDisabled;
Karsten Hopp 9ecdde
  		did_inc = TRUE;
Karsten Hopp 9ecdde
  	    }
Karsten Hopp 9ecdde
--- 1093,1099 ----
Karsten Hopp 9ecdde
  		msg_didany = FALSE; /* no output yet */
Karsten Hopp 9ecdde
  		msg_start();
Karsten Hopp 9ecdde
  		msg_scroll = TRUE;  /* put messages below each other */
Karsten Hopp 9ecdde
! 		++no_wait_return;   /* don't wait for return until finished */
Karsten Hopp 9ecdde
  		++RedrawingDisabled;
Karsten Hopp 9ecdde
  		did_inc = TRUE;
Karsten Hopp 9ecdde
  	    }
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1298,1304 ****
Karsten Hopp 9ecdde
  	    && !(did_emsg
Karsten Hopp 9ecdde
  #ifdef FEAT_EVAL
Karsten Hopp 9ecdde
  		/* Keep going when inside try/catch, so that the error can be
Karsten Hopp 9ecdde
! 		 * dealth with, except when it is a syntax error, it may cause
Karsten Hopp 9ecdde
  		 * the :endtry to be missed. */
Karsten Hopp 9ecdde
  		&& (cstack.cs_trylevel == 0 || did_emsg_syntax)
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
--- 1298,1304 ----
Karsten Hopp 9ecdde
  	    && !(did_emsg
Karsten Hopp 9ecdde
  #ifdef FEAT_EVAL
Karsten Hopp 9ecdde
  		/* Keep going when inside try/catch, so that the error can be
Karsten Hopp 9ecdde
! 		 * deal with, except when it is a syntax error, it may cause
Karsten Hopp 9ecdde
  		 * the :endtry to be missed. */
Karsten Hopp 9ecdde
  		&& (cstack.cs_trylevel == 0 || did_emsg_syntax)
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 10982,10988 ****
Karsten Hopp 9ecdde
  		*p = '/';
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* escapse special characters */
Karsten Hopp 9ecdde
      p = vim_strsave_fnameescape(sname, FALSE);
Karsten Hopp 9ecdde
      vim_free(sname);
Karsten Hopp 9ecdde
      if (p == NULL)
Karsten Hopp 9ecdde
--- 10982,10988 ----
Karsten Hopp 9ecdde
  		*p = '/';
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* escape special characters */
Karsten Hopp 9ecdde
      p = vim_strsave_fnameescape(sname, FALSE);
Karsten Hopp 9ecdde
      vim_free(sname);
Karsten Hopp 9ecdde
      if (p == NULL)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/ex_eval.c	2010-08-15 21:57:25.000000000 +0200
Karsten Hopp 9ecdde
--- src/ex_eval.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 44,50 ****
Karsten Hopp 9ecdde
   * executed.  Otherwise, errors and/or interrupts are converted into catchable
Karsten Hopp 9ecdde
   * exceptions (did_throw additionally set), which terminate the script only if
Karsten Hopp 9ecdde
   * not caught.  For user exceptions, only did_throw is set.  (Note: got_int can
Karsten Hopp 9ecdde
!  * be set asyncronously afterwards by a SIGINT, so did_throw && got_int is not
Karsten Hopp 9ecdde
   * a reliant test that the exception currently being thrown is an interrupt
Karsten Hopp 9ecdde
   * exception.  Similarly, did_emsg can be set afterwards on an error in an
Karsten Hopp 9ecdde
   * (unskipped) conditional command inside an inactive conditional, so did_throw
Karsten Hopp 9ecdde
--- 44,50 ----
Karsten Hopp 9ecdde
   * executed.  Otherwise, errors and/or interrupts are converted into catchable
Karsten Hopp 9ecdde
   * exceptions (did_throw additionally set), which terminate the script only if
Karsten Hopp 9ecdde
   * not caught.  For user exceptions, only did_throw is set.  (Note: got_int can
Karsten Hopp 9ecdde
!  * be set asynchronously afterwards by a SIGINT, so did_throw && got_int is not
Karsten Hopp 9ecdde
   * a reliant test that the exception currently being thrown is an interrupt
Karsten Hopp 9ecdde
   * exception.  Similarly, did_emsg can be set afterwards on an error in an
Karsten Hopp 9ecdde
   * (unskipped) conditional command inside an inactive conditional, so did_throw
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2091,2101 ****
Karsten Hopp 9ecdde
   * Values used for "searched_cond" are (CSF_WHILE | CSF_FOR) or CSF_TRY or 0,
Karsten Hopp 9ecdde
   * the latter meaning the innermost try conditional not in its finally clause.
Karsten Hopp 9ecdde
   * "inclusive" tells whether the conditional searched for should be made
Karsten Hopp 9ecdde
!  * inactive itself (a try conditional not in its finally claused possibly find
Karsten Hopp 9ecdde
   * before is always made inactive).  If "inclusive" is TRUE and
Karsten Hopp 9ecdde
   * "searched_cond" is CSF_TRY|CSF_SILENT, the saved former value of
Karsten Hopp 9ecdde
   * "emsg_silent", if reset when the try conditional finally reached was
Karsten Hopp 9ecdde
!  * entered, is restored (unsed by ex_endtry()).  This is normally done only
Karsten Hopp 9ecdde
   * when such a try conditional is left.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      int
Karsten Hopp 9ecdde
--- 2091,2101 ----
Karsten Hopp 9ecdde
   * Values used for "searched_cond" are (CSF_WHILE | CSF_FOR) or CSF_TRY or 0,
Karsten Hopp 9ecdde
   * the latter meaning the innermost try conditional not in its finally clause.
Karsten Hopp 9ecdde
   * "inclusive" tells whether the conditional searched for should be made
Karsten Hopp 9ecdde
!  * inactive itself (a try conditional not in its finally clause possibly find
Karsten Hopp 9ecdde
   * before is always made inactive).  If "inclusive" is TRUE and
Karsten Hopp 9ecdde
   * "searched_cond" is CSF_TRY|CSF_SILENT, the saved former value of
Karsten Hopp 9ecdde
   * "emsg_silent", if reset when the try conditional finally reached was
Karsten Hopp 9ecdde
!  * entered, is restored (used by ex_endtry()).  This is normally done only
Karsten Hopp 9ecdde
   * when such a try conditional is left.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      int
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/farsi.c	2012-07-16 17:26:18.000000000 +0200
Karsten Hopp 9ecdde
--- src/farsi.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1841,1847 ****
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Convert the Farsi VIM into Farsi 3342 standad.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      void
Karsten Hopp 9ecdde
  conv_to_pstd()
Karsten Hopp 9ecdde
--- 1841,1847 ----
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Convert the Farsi VIM into Farsi 3342 standard.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      void
Karsten Hopp 9ecdde
  conv_to_pstd()
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/feature.h	2013-04-15 15:40:08.000000000 +0200
Karsten Hopp 9ecdde
--- src/feature.h	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1007,1013 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * MODIFIED_BY		Name of who modified Vim.  Required when distributing
Karsten Hopp 9ecdde
!  *			a modifed version of Vim.
Karsten Hopp 9ecdde
   *			Also from the "--with-modified-by" configure argument.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
  /* #define MODIFIED_BY "John Doe" */
Karsten Hopp 9ecdde
--- 1007,1013 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * MODIFIED_BY		Name of who modified Vim.  Required when distributing
Karsten Hopp 9ecdde
!  *			a modified version of Vim.
Karsten Hopp 9ecdde
   *			Also from the "--with-modified-by" configure argument.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
  /* #define MODIFIED_BY "John Doe" */
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/fileio.c	2013-04-24 16:33:58.000000000 +0200
Karsten Hopp 9ecdde
--- src/fileio.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3279,3285 ****
Karsten Hopp 9ecdde
  	overwriting = FALSE;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      if (exiting)
Karsten Hopp 9ecdde
! 	settmode(TMODE_COOK);	    /* when exiting allow typahead now */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      ++no_wait_return;		    /* don't wait for return yet */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 3279,3285 ----
Karsten Hopp 9ecdde
  	overwriting = FALSE;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      if (exiting)
Karsten Hopp 9ecdde
! 	settmode(TMODE_COOK);	    /* when exiting allow typeahead now */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      ++no_wait_return;		    /* don't wait for return yet */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3303,3309 ****
Karsten Hopp 9ecdde
  	int		empty_memline = (buf->b_ml.ml_mfp == NULL);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/*
Karsten Hopp 9ecdde
! 	 * Apply PRE aucocommands.
Karsten Hopp 9ecdde
  	 * Set curbuf to the buffer to be written.
Karsten Hopp 9ecdde
  	 * Careful: The autocommands may call buf_write() recursively!
Karsten Hopp 9ecdde
  	 */
Karsten Hopp 9ecdde
--- 3303,3309 ----
Karsten Hopp 9ecdde
  	int		empty_memline = (buf->b_ml.ml_mfp == NULL);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/*
Karsten Hopp 9ecdde
! 	 * Apply PRE autocommands.
Karsten Hopp 9ecdde
  	 * Set curbuf to the buffer to be written.
Karsten Hopp 9ecdde
  	 * Careful: The autocommands may call buf_write() recursively!
Karsten Hopp 9ecdde
  	 */
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 8866,8872 ****
Karsten Hopp 9ecdde
      else
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	/* There is no window for "buf", use "aucmd_win".  To minimize the side
Karsten Hopp 9ecdde
! 	 * effects, insert it in a the current tab page.
Karsten Hopp 9ecdde
  	 * Anything related to a window (e.g., setting folds) may have
Karsten Hopp 9ecdde
  	 * unexpected results. */
Karsten Hopp 9ecdde
  	aco->use_aucmd_win = TRUE;
Karsten Hopp 9ecdde
--- 8866,8872 ----
Karsten Hopp 9ecdde
      else
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	/* There is no window for "buf", use "aucmd_win".  To minimize the side
Karsten Hopp 9ecdde
! 	 * effects, insert it in the current tab page.
Karsten Hopp 9ecdde
  	 * Anything related to a window (e.g., setting folds) may have
Karsten Hopp 9ecdde
  	 * unexpected results. */
Karsten Hopp 9ecdde
  	aco->use_aucmd_win = TRUE;
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/glbl_ime.cpp	2010-08-15 21:57:27.000000000 +0200
Karsten Hopp 9ecdde
--- src/glbl_ime.cpp	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 156,162 ****
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Set position of IME compotision window.
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * You have to call this before starting composition.  If once composition
Karsten Hopp 9ecdde
   * started, this can take no effect until that composition have finished.  So
Karsten Hopp 9ecdde
--- 156,162 ----
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Set position of IME composition window.
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * You have to call this before starting composition.  If once composition
Karsten Hopp 9ecdde
   * started, this can take no effect until that composition have finished.  So
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui.c	2013-04-03 21:11:33.000000000 +0200
Karsten Hopp 9ecdde
--- src/gui.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 826,832 ****
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Set the font.  "font_list" is a a comma separated list of font names.  The
Karsten Hopp 9ecdde
   * first font name that works is used.  If none is found, use the default
Karsten Hopp 9ecdde
   * font.
Karsten Hopp 9ecdde
   * If "fontset" is TRUE, the "font_list" is used as one name for the fontset.
Karsten Hopp 9ecdde
--- 826,832 ----
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Set the font.  "font_list" is a comma separated list of font names.  The
Karsten Hopp 9ecdde
   * first font name that works is used.  If none is found, use the default
Karsten Hopp 9ecdde
   * font.
Karsten Hopp 9ecdde
   * If "fontset" is TRUE, the "font_list" is used as one name for the fontset.
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2376,2382 ****
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	int	start;		/* index of bytes to be drawn */
Karsten Hopp 9ecdde
  	int	cells;		/* cellwidth of bytes to be drawn */
Karsten Hopp 9ecdde
! 	int	thislen;	/* length of bytes to be drawin */
Karsten Hopp 9ecdde
  	int	cn;		/* cellwidth of current char */
Karsten Hopp 9ecdde
  	int	i;		/* index of current char */
Karsten Hopp 9ecdde
  	int	c;		/* current char value */
Karsten Hopp 9ecdde
--- 2376,2382 ----
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	int	start;		/* index of bytes to be drawn */
Karsten Hopp 9ecdde
  	int	cells;		/* cellwidth of bytes to be drawn */
Karsten Hopp 9ecdde
! 	int	thislen;	/* length of bytes to be drawn */
Karsten Hopp 9ecdde
  	int	cn;		/* cellwidth of current char */
Karsten Hopp 9ecdde
  	int	i;		/* index of current char */
Karsten Hopp 9ecdde
  	int	c;		/* current char value */
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3886,3892 ****
Karsten Hopp 9ecdde
  	gui.dragged_sb = SBAR_NONE;
Karsten Hopp 9ecdde
  #ifdef FEAT_GUI_GTK
Karsten Hopp 9ecdde
  	/* Keep the "dragged_wp" value until after the scrolling, for when the
Karsten Hopp 9ecdde
! 	 * moust button is released.  GTK2 doesn't send the button-up event. */
Karsten Hopp 9ecdde
  	gui.dragged_wp = NULL;
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
--- 3886,3892 ----
Karsten Hopp 9ecdde
  	gui.dragged_sb = SBAR_NONE;
Karsten Hopp 9ecdde
  #ifdef FEAT_GUI_GTK
Karsten Hopp 9ecdde
  	/* Keep the "dragged_wp" value until after the scrolling, for when the
Karsten Hopp 9ecdde
! 	 * mouse button is released.  GTK2 doesn't send the button-up event. */
Karsten Hopp 9ecdde
  	gui.dragged_wp = NULL;
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_athena.c	2011-01-17 20:08:03.000000000 +0100
Karsten Hopp 9ecdde
--- src/gui_athena.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 519,525 ****
Karsten Hopp 9ecdde
  	    &color[TOP_SHADOW].pixel,
Karsten Hopp 9ecdde
  	    &color[HIGHLIGHT].pixel);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Setup the color subsititution table */
Karsten Hopp 9ecdde
      attrs.valuemask = XpmColorSymbols;
Karsten Hopp 9ecdde
      attrs.colorsymbols = color;
Karsten Hopp 9ecdde
      attrs.numsymbols = 5;
Karsten Hopp 9ecdde
--- 519,525 ----
Karsten Hopp 9ecdde
  	    &color[TOP_SHADOW].pixel,
Karsten Hopp 9ecdde
  	    &color[HIGHLIGHT].pixel);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Setup the color substitution table */
Karsten Hopp 9ecdde
      attrs.valuemask = XpmColorSymbols;
Karsten Hopp 9ecdde
      attrs.colorsymbols = color;
Karsten Hopp 9ecdde
      attrs.numsymbols = 5;
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_beval.c	2012-10-21 00:58:34.000000000 +0200
Karsten Hopp 9ecdde
--- src/gui_beval.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 726,732 ****
Karsten Hopp 9ecdde
      BalloonEval	*beval;
Karsten Hopp 9ecdde
      XEvent	*event;
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
!     Position	distance;	    /* a measure of how much the ponter moved */
Karsten Hopp 9ecdde
      Position	delta;		    /* used to compute distance */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      switch (event->type)
Karsten Hopp 9ecdde
--- 726,732 ----
Karsten Hopp 9ecdde
      BalloonEval	*beval;
Karsten Hopp 9ecdde
      XEvent	*event;
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
!     Position	distance;	    /* a measure of how much the pointer moved */
Karsten Hopp 9ecdde
      Position	delta;		    /* used to compute distance */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      switch (event->type)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_gtk_x11.c	2013-03-13 17:50:20.000000000 +0100
Karsten Hopp 9ecdde
--- src/gui_gtk_x11.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1257,1263 ****
Karsten Hopp 9ecdde
  	}
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Chop off any traiing NUL bytes.  OpenOffice sends these. */
Karsten Hopp 9ecdde
      while (len > 0 && text[len - 1] == NUL)
Karsten Hopp 9ecdde
  	--len;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 1257,1263 ----
Karsten Hopp 9ecdde
  	}
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Chop off any trailing NUL bytes.  OpenOffice sends these. */
Karsten Hopp 9ecdde
      while (len > 0 && text[len - 1] == NUL)
Karsten Hopp 9ecdde
  	--len;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_mac.c	2012-11-20 17:18:56.000000000 +0100
Karsten Hopp 9ecdde
--- src/gui_mac.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 41,47 ****
Karsten Hopp 9ecdde
  #define USE_AEVENT		/* Enable AEVENT */
Karsten Hopp 9ecdde
  #undef USE_OFFSETED_WINDOW	/* Debugging feature: start Vim window OFFSETed */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /* Compile as CodeWarior External Editor */
Karsten Hopp 9ecdde
  #if defined(FEAT_CW_EDITOR) && !defined(USE_AEVENT)
Karsten Hopp 9ecdde
  # define USE_AEVENT /* Need Apple Event Support */
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
--- 41,47 ----
Karsten Hopp 9ecdde
  #define USE_AEVENT		/* Enable AEVENT */
Karsten Hopp 9ecdde
  #undef USE_OFFSETED_WINDOW	/* Debugging feature: start Vim window OFFSETed */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /* Compile as CodeWarrior External Editor */
Karsten Hopp 9ecdde
  #if defined(FEAT_CW_EDITOR) && !defined(USE_AEVENT)
Karsten Hopp 9ecdde
  # define USE_AEVENT /* Need Apple Event Support */
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1478,1484 ****
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   *  gui_mac_get_menu_item_index
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
!  *  Returns the index inside the menu wher
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      short /* Should we return MenuItemIndex? */
Karsten Hopp 9ecdde
  gui_mac_get_menu_item_index(vimmenu_T *pMenu)
Karsten Hopp 9ecdde
--- 1478,1484 ----
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   *  gui_mac_get_menu_item_index
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
!  *  Returns the index inside the menu where
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      short /* Should we return MenuItemIndex? */
Karsten Hopp 9ecdde
  gui_mac_get_menu_item_index(vimmenu_T *pMenu)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1693,1699 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      if (theControl != NUL)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
! 	/* We hit a scollbar */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	if (thePortion != kControlIndicatorPart)
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
--- 1693,1699 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      if (theControl != NUL)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
! 	/* We hit a scrollbar */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	if (thePortion != kControlIndicatorPart)
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2630,2636 ****
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	/* Handle the menu CntxMenuID, CntxMenuItem */
Karsten Hopp 9ecdde
  	/* The submenu can be handle directly by gui_mac_handle_menu */
Karsten Hopp 9ecdde
! 	/* But what about the current menu, is the meny changed by ContextualMenuSelect */
Karsten Hopp 9ecdde
  	gui_mac_handle_menu((CntxMenuID << 16) + CntxMenuItem);
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
      else if (CntxMenuID == kCMShowHelpSelected)
Karsten Hopp 9ecdde
--- 2630,2636 ----
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	/* Handle the menu CntxMenuID, CntxMenuItem */
Karsten Hopp 9ecdde
  	/* The submenu can be handle directly by gui_mac_handle_menu */
Karsten Hopp 9ecdde
! 	/* But what about the current menu, is the many changed by ContextualMenuSelect */
Karsten Hopp 9ecdde
  	gui_mac_handle_menu((CntxMenuID << 16) + CntxMenuItem);
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
      else if (CntxMenuID == kCMShowHelpSelected)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 5356,5362 ****
Karsten Hopp 9ecdde
      char_u *initdir,
Karsten Hopp 9ecdde
      char_u *filter)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
!     /* TODO: Add Ammon's safety checl (Dany) */
Karsten Hopp 9ecdde
      NavReplyRecord	reply;
Karsten Hopp 9ecdde
      char_u		*fname = NULL;
Karsten Hopp 9ecdde
      char_u		**fnames = NULL;
Karsten Hopp 9ecdde
--- 5356,5362 ----
Karsten Hopp 9ecdde
      char_u *initdir,
Karsten Hopp 9ecdde
      char_u *filter)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
!     /* TODO: Add Ammon's safety check (Dany) */
Karsten Hopp 9ecdde
      NavReplyRecord	reply;
Karsten Hopp 9ecdde
      char_u		*fname = NULL;
Karsten Hopp 9ecdde
      char_u		**fnames = NULL;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 5704,5710 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/* Resize the button to fit its name */
Karsten Hopp 9ecdde
  	width = StringWidth(name) + 2 * dfltButtonEdge;
Karsten Hopp 9ecdde
! 	/* Limite the size of any button to an acceptable value. */
Karsten Hopp 9ecdde
  	/* TODO: Should be based on the message width */
Karsten Hopp 9ecdde
  	if (width > maxButtonWidth)
Karsten Hopp 9ecdde
  	    width = maxButtonWidth;
Karsten Hopp 9ecdde
--- 5704,5710 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/* Resize the button to fit its name */
Karsten Hopp 9ecdde
  	width = StringWidth(name) + 2 * dfltButtonEdge;
Karsten Hopp 9ecdde
! 	/* Limit the size of any button to an acceptable value. */
Karsten Hopp 9ecdde
  	/* TODO: Should be based on the message width */
Karsten Hopp 9ecdde
  	if (width > maxButtonWidth)
Karsten Hopp 9ecdde
  	    width = maxButtonWidth;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 5887,5893 ****
Karsten Hopp 9ecdde
      /* Free the modal filterProc */
Karsten Hopp 9ecdde
      DisposeRoutineDescriptor(dialogUPP);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Get ride of th edialog (free memory) */
Karsten Hopp 9ecdde
      DisposeDialog(theDialog);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      return itemHit;
Karsten Hopp 9ecdde
--- 5887,5893 ----
Karsten Hopp 9ecdde
      /* Free the modal filterProc */
Karsten Hopp 9ecdde
      DisposeRoutineDescriptor(dialogUPP);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Get ride of the dialog (free memory) */
Karsten Hopp 9ecdde
      DisposeDialog(theDialog);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      return itemHit;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 5967,5975 ****
Karsten Hopp 9ecdde
  	/* New way */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/*
Karsten Hopp 9ecdde
! 	 * Get first devoice with one button.
Karsten Hopp 9ecdde
! 	 * This will probably be the standad mouse
Karsten Hopp 9ecdde
! 	 * startat head of cursor dev list
Karsten Hopp 9ecdde
  	 *
Karsten Hopp 9ecdde
  	 */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 5967,5975 ----
Karsten Hopp 9ecdde
  	/* New way */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/*
Karsten Hopp 9ecdde
! 	 * Get first device with one button.
Karsten Hopp 9ecdde
! 	 * This will probably be the standard mouse
Karsten Hopp 9ecdde
! 	 * start at head of cursor dev list
Karsten Hopp 9ecdde
  	 *
Karsten Hopp 9ecdde
  	 */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 6151,6157 ****
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Convert a FSSpec to a fuill path
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  char_u *FullPathFromFSSpec_save(FSSpec file)
Karsten Hopp 9ecdde
--- 6151,6157 ----
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Convert a FSSpec to a full path
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  char_u *FullPathFromFSSpec_save(FSSpec file)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 6215,6222 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef USE_UNIXFILENAME
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * The function used here are available in Carbon, but
Karsten Hopp 9ecdde
!      * do nothing une MacOS 8 and 9
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      if (error == fnfErr)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
--- 6215,6222 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef USE_UNIXFILENAME
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * The functions used here are available in Carbon, but do nothing on
Karsten Hopp 9ecdde
!      * MacOS 8 and 9.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      if (error == fnfErr)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 6544,6550 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  // when the tabline is hidden, vim doesn't call update_tabline(). When
Karsten Hopp 9ecdde
  // the tabline is shown again, show_tabline() is called before update_tabline(),
Karsten Hopp 9ecdde
! // and because of this, the tab labels and vims internal tabs are out of sync
Karsten Hopp 9ecdde
  // for a very short time. to prevent inconsistent state, we store the labels
Karsten Hopp 9ecdde
  // of the tabs, not pointers to the tabs (which are invalid for a short time).
Karsten Hopp 9ecdde
  static CFStringRef *tabLabels = NULL;
Karsten Hopp 9ecdde
--- 6544,6550 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  // when the tabline is hidden, vim doesn't call update_tabline(). When
Karsten Hopp 9ecdde
  // the tabline is shown again, show_tabline() is called before update_tabline(),
Karsten Hopp 9ecdde
! // and because of this, the tab labels and vim's internal tabs are out of sync
Karsten Hopp 9ecdde
  // for a very short time. to prevent inconsistent state, we store the labels
Karsten Hopp 9ecdde
  // of the tabs, not pointers to the tabs (which are invalid for a short time).
Karsten Hopp 9ecdde
  static CFStringRef *tabLabels = NULL;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 6578,6584 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      // assert(property == kTabsColumn); // why is this violated??
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     // changeValue is true if we have a modifieable list and data was changed.
Karsten Hopp 9ecdde
      // In our case, it's always false.
Karsten Hopp 9ecdde
      // (that is: if (changeValue) updateInternalData(); else return
Karsten Hopp 9ecdde
      // internalData();
Karsten Hopp 9ecdde
--- 6578,6584 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      // assert(property == kTabsColumn); // why is this violated??
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     // changeValue is true if we have a modifiable list and data was changed.
Karsten Hopp 9ecdde
      // In our case, it's always false.
Karsten Hopp 9ecdde
      // (that is: if (changeValue) updateInternalData(); else return
Karsten Hopp 9ecdde
      // internalData();
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_motif.c	2011-01-17 20:08:03.000000000 +0100
Karsten Hopp 9ecdde
--- src/gui_motif.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1344,1350 ****
Karsten Hopp 9ecdde
  	else
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
  	    /* Without shadows one can't sense whatever the button has been
Karsten Hopp 9ecdde
! 	     * pressed or not! However we wan't to save a bit of space...
Karsten Hopp 9ecdde
  	     * Need the highlightThickness to see the focus.
Karsten Hopp 9ecdde
  	     */
Karsten Hopp 9ecdde
  	    XtSetArg(args[n], XmNhighlightThickness, 1); n++;
Karsten Hopp 9ecdde
--- 1344,1350 ----
Karsten Hopp 9ecdde
  	else
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
  	    /* Without shadows one can't sense whatever the button has been
Karsten Hopp 9ecdde
! 	     * pressed or not! However we want to save a bit of space...
Karsten Hopp 9ecdde
  	     * Need the highlightThickness to see the focus.
Karsten Hopp 9ecdde
  	     */
Karsten Hopp 9ecdde
  	    XtSetArg(args[n], XmNhighlightThickness, 1); n++;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3205,3211 ****
Karsten Hopp 9ecdde
  # ifdef FEAT_FOOTER
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * The next toolbar enter/leave callbacks should really do balloon help.  But
Karsten Hopp 9ecdde
!  * I have to use footer help for backwards compatability.  Hopefully both will
Karsten Hopp 9ecdde
   * get implemented and the user will have a choice.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      static void
Karsten Hopp 9ecdde
--- 3205,3211 ----
Karsten Hopp 9ecdde
  # ifdef FEAT_FOOTER
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * The next toolbar enter/leave callbacks should really do balloon help.  But
Karsten Hopp 9ecdde
!  * I have to use footer help for backwards compatibility.  Hopefully both will
Karsten Hopp 9ecdde
   * get implemented and the user will have a choice.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      static void
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_photon.c	2012-11-20 16:53:34.000000000 +0100
Karsten Hopp 9ecdde
--- src/gui_photon.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 61,67 ****
Karsten Hopp 9ecdde
  static PhPoint_t    gui_ph_raw_offset;
Karsten Hopp 9ecdde
  static PtWidget_t   *gui_ph_timer_cursor;   /* handle cursor blinking */
Karsten Hopp 9ecdde
  static PtWidget_t   *gui_ph_timer_timeout;  /* used in gui_mch_wait_for_chars */
Karsten Hopp 9ecdde
! static short	    is_timeout;		    /* Has the timeout occured? */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * This is set inside the mouse callback for a right mouse
Karsten Hopp 9ecdde
--- 61,67 ----
Karsten Hopp 9ecdde
  static PhPoint_t    gui_ph_raw_offset;
Karsten Hopp 9ecdde
  static PtWidget_t   *gui_ph_timer_cursor;   /* handle cursor blinking */
Karsten Hopp 9ecdde
  static PtWidget_t   *gui_ph_timer_timeout;  /* used in gui_mch_wait_for_chars */
Karsten Hopp 9ecdde
! static short	    is_timeout;		    /* Has the timeout occurred? */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * This is set inside the mouse callback for a right mouse
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1156,1162 ****
Karsten Hopp 9ecdde
      PtSetArg(&args[ n++ ], Pt_ARG_POS, &pos, 0);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef USE_PANEL_GROUP
Karsten Hopp 9ecdde
!     /* Put in a temprary place holder title */
Karsten Hopp 9ecdde
      PtSetArg(&args[ n++ ], Pt_ARG_PG_PANEL_TITLES, &empty_title, 1);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      gui.vimPanelGroup = PtCreateWidget(PtPanelGroup, gui.vimWindow, n, args);
Karsten Hopp 9ecdde
--- 1156,1162 ----
Karsten Hopp 9ecdde
      PtSetArg(&args[ n++ ], Pt_ARG_POS, &pos, 0);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef USE_PANEL_GROUP
Karsten Hopp 9ecdde
!     /* Put in a temporary place holder title */
Karsten Hopp 9ecdde
      PtSetArg(&args[ n++ ], Pt_ARG_PG_PANEL_TITLES, &empty_title, 1);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      gui.vimPanelGroup = PtCreateWidget(PtPanelGroup, gui.vimWindow, n, args);
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1527,1533 ****
Karsten Hopp 9ecdde
      /* There is one less separator than buttons, so bump up the button count */
Karsten Hopp 9ecdde
      button_count = 1;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Count string length and number of seperators */
Karsten Hopp 9ecdde
      for (str = buttons; *str; str++)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	len++;
Karsten Hopp 9ecdde
--- 1527,1533 ----
Karsten Hopp 9ecdde
      /* There is one less separator than buttons, so bump up the button count */
Karsten Hopp 9ecdde
      button_count = 1;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Count string length and number of separators */
Karsten Hopp 9ecdde
      for (str = buttons; *str; str++)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	len++;
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_w16.c	2012-11-20 16:53:34.000000000 +0100
Karsten Hopp 9ecdde
--- src/gui_w16.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 511,517 ****
Karsten Hopp 9ecdde
      workarea_rect.right = GetSystemMetrics(SM_CXSCREEN);
Karsten Hopp 9ecdde
      workarea_rect.bottom = GetSystemMetrics(SM_CYFULLSCREEN);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* get current posision of our window */
Karsten Hopp 9ecdde
      wndpl.length = sizeof(WINDOWPLACEMENT);
Karsten Hopp 9ecdde
      GetWindowPlacement(s_hwnd, &wndpl);
Karsten Hopp 9ecdde
      if (wndpl.showCmd == SW_SHOWNORMAL)
Karsten Hopp 9ecdde
--- 511,517 ----
Karsten Hopp 9ecdde
      workarea_rect.right = GetSystemMetrics(SM_CXSCREEN);
Karsten Hopp 9ecdde
      workarea_rect.bottom = GetSystemMetrics(SM_CYFULLSCREEN);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* get current position of our window */
Karsten Hopp 9ecdde
      wndpl.length = sizeof(WINDOWPLACEMENT);
Karsten Hopp 9ecdde
      GetWindowPlacement(s_hwnd, &wndpl);
Karsten Hopp 9ecdde
      if (wndpl.showCmd == SW_SHOWNORMAL)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1161,1167 ****
Karsten Hopp 9ecdde
  	return -1;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * make a copy of 'buttons' to fiddle with it.  complier grizzles because
Karsten Hopp 9ecdde
       * vim_strsave() doesn't take a const arg (why not?), so cast away the
Karsten Hopp 9ecdde
       * const.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
--- 1161,1167 ----
Karsten Hopp 9ecdde
  	return -1;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * make a copy of 'buttons' to fiddle with it.  compiler grizzles because
Karsten Hopp 9ecdde
       * vim_strsave() doesn't take a const arg (why not?), so cast away the
Karsten Hopp 9ecdde
       * const.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_w32.c	2013-03-19 14:48:25.000000000 +0100
Karsten Hopp 9ecdde
--- src/gui_w32.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1258,1264 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef FEAT_NETBEANS_INTG
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
! 	/* stolen from gui_x11.x */
Karsten Hopp 9ecdde
  	int arg;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	for (arg = 1; arg < *argc; arg++)
Karsten Hopp 9ecdde
--- 1258,1264 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef FEAT_NETBEANS_INTG
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
! 	/* stolen from gui_x11.c */
Karsten Hopp 9ecdde
  	int arg;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	for (arg = 1; arg < *argc; arg++)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1676,1682 ****
Karsten Hopp 9ecdde
       * used by the taskbar or appbars. */
Karsten Hopp 9ecdde
      get_work_area(&workarea_rect);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Get current posision of our window.  Note that the .left and .top are
Karsten Hopp 9ecdde
       * relative to the work area.  */
Karsten Hopp 9ecdde
      wndpl.length = sizeof(WINDOWPLACEMENT);
Karsten Hopp 9ecdde
      GetWindowPlacement(s_hwnd, &wndpl);
Karsten Hopp 9ecdde
--- 1676,1682 ----
Karsten Hopp 9ecdde
       * used by the taskbar or appbars. */
Karsten Hopp 9ecdde
      get_work_area(&workarea_rect);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Get current position of our window.  Note that the .left and .top are
Karsten Hopp 9ecdde
       * relative to the work area.  */
Karsten Hopp 9ecdde
      wndpl.length = sizeof(WINDOWPLACEMENT);
Karsten Hopp 9ecdde
      GetWindowPlacement(s_hwnd, &wndpl);
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3100,3106 ****
Karsten Hopp 9ecdde
  	return -1;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * make a copy of 'buttons' to fiddle with it.  complier grizzles because
Karsten Hopp 9ecdde
       * vim_strsave() doesn't take a const arg (why not?), so cast away the
Karsten Hopp 9ecdde
       * const.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
--- 3100,3106 ----
Karsten Hopp 9ecdde
  	return -1;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * make a copy of 'buttons' to fiddle with it.  compiler grizzles because
Karsten Hopp 9ecdde
       * vim_strsave() doesn't take a const arg (why not?), so cast away the
Karsten Hopp 9ecdde
       * const.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 4391,4397 ****
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      sign.hImage = NULL;
Karsten Hopp 9ecdde
!     ext = signfile + STRLEN(signfile) - 4; /* get extention */
Karsten Hopp 9ecdde
      if (ext > signfile)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	int do_load = 1;
Karsten Hopp 9ecdde
--- 4391,4397 ----
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      sign.hImage = NULL;
Karsten Hopp 9ecdde
!     ext = signfile + STRLEN(signfile) - 4; /* get extension */
Karsten Hopp 9ecdde
      if (ext > signfile)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	int do_load = 1;
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_w48.c	2013-03-19 14:48:25.000000000 +0100
Karsten Hopp 9ecdde
--- src/gui_w48.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1222,1228 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* When side scroll bar is unshown, the size of window will change.
Karsten Hopp 9ecdde
       * then, the text area move left or right. thus client rect should be
Karsten Hopp 9ecdde
!      * forcely redraw. (Yasuhiro Matsumoto) */
Karsten Hopp 9ecdde
      if (oldx != x || oldy != y)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	InvalidateRect(s_hwnd, NULL, FALSE);
Karsten Hopp 9ecdde
--- 1222,1228 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* When side scroll bar is unshown, the size of window will change.
Karsten Hopp 9ecdde
       * then, the text area move left or right. thus client rect should be
Karsten Hopp 9ecdde
!      * forcedly redrawn. (Yasuhiro Matsumoto) */
Karsten Hopp 9ecdde
      if (oldx != x || oldy != y)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	InvalidateRect(s_hwnd, NULL, FALSE);
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_xmebw.c	2012-06-29 13:19:23.000000000 +0200
Karsten Hopp 9ecdde
--- src/gui_xmebw.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 345,351 ****
Karsten Hopp 9ecdde
  	    &eb->primitive.top_shadow_color,
Karsten Hopp 9ecdde
  	    &eb->primitive.highlight_color);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Setup color subsititution table. */
Karsten Hopp 9ecdde
      color[0].pixel = eb->core.background_pixel;
Karsten Hopp 9ecdde
      color[1].pixel = eb->core.background_pixel;
Karsten Hopp 9ecdde
      color[2].pixel = eb->core.background_pixel;
Karsten Hopp 9ecdde
--- 345,351 ----
Karsten Hopp 9ecdde
  	    &eb->primitive.top_shadow_color,
Karsten Hopp 9ecdde
  	    &eb->primitive.highlight_color);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Setup color substitution table. */
Karsten Hopp 9ecdde
      color[0].pixel = eb->core.background_pixel;
Karsten Hopp 9ecdde
      color[1].pixel = eb->core.background_pixel;
Karsten Hopp 9ecdde
      color[2].pixel = eb->core.background_pixel;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 919,926 ****
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * Plase note that we manipulate the width only in case of push buttons not
Karsten Hopp 9ecdde
!      * used in the context of a menu pane.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      if (Lab_IsMenupane(newtb))
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
--- 919,926 ----
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * Please note that we manipulate the width only in case of push buttons
Karsten Hopp 9ecdde
!      * not used in the context of a menu pane.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      if (Lab_IsMenupane(newtb))
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1006,1012 ****
Karsten Hopp 9ecdde
  	XmString str;
Karsten Hopp 9ecdde
  	set_pixmap(eb);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 	/* FIXME: this is not the perfect way to deal with menues, which do not
Karsten Hopp 9ecdde
  	 * have any string set right now.  */
Karsten Hopp 9ecdde
  	str = XmStringCreateLocalized("");
Karsten Hopp 9ecdde
  	XtVaSetValues((Widget) eb, XmNlabelString, str, NULL);
Karsten Hopp 9ecdde
--- 1006,1012 ----
Karsten Hopp 9ecdde
  	XmString str;
Karsten Hopp 9ecdde
  	set_pixmap(eb);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 	/* FIXME: this is not the perfect way to deal with menus, which do not
Karsten Hopp 9ecdde
  	 * have any string set right now.  */
Karsten Hopp 9ecdde
  	str = XmStringCreateLocalized("");
Karsten Hopp 9ecdde
  	XtVaSetValues((Widget) eb, XmNlabelString, str, NULL);
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/gui_xmebwp.h	2010-08-15 21:57:27.000000000 +0200
Karsten Hopp 9ecdde
--- src/gui_xmebwp.h	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 26,32 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * EnahncedButton class structure.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
  typedef struct _XmEnhancedButtonClassPart
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
--- 26,32 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * EnhancedButton class structure.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
  typedef struct _XmEnhancedButtonClassPart
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 49,55 ****
Karsten Hopp 9ecdde
  extern XmEnhancedButtonClassRec xmEnhancedButtonClassRec;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * EnahncedButton instance record.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
  typedef struct _XmEnhancedButtonPart
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
--- 49,55 ----
Karsten Hopp 9ecdde
  extern XmEnhancedButtonClassRec xmEnhancedButtonClassRec;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * EnhancedButton instance record.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
  typedef struct _XmEnhancedButtonPart
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/hardcopy.c	2011-04-11 21:35:03.000000000 +0200
Karsten Hopp 9ecdde
--- src/hardcopy.c	2013-05-06 04:00:47.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2186,2192 ****
Karsten Hopp 9ecdde
      if (num_copies > 1)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	prt_write_string(" numcopies(");
Karsten Hopp 9ecdde
! 	/* Note: no space wanted so dont use prt_write_int() */
Karsten Hopp 9ecdde
  	sprintf((char *)prt_line_buffer, "%d", num_copies);
Karsten Hopp 9ecdde
  	prt_write_file(prt_line_buffer);
Karsten Hopp 9ecdde
  	prt_write_string(")");
Karsten Hopp 9ecdde
--- 2186,2192 ----
Karsten Hopp 9ecdde
      if (num_copies > 1)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	prt_write_string(" numcopies(");
Karsten Hopp 9ecdde
! 	/* Note: no space wanted so don't use prt_write_int() */
Karsten Hopp 9ecdde
  	sprintf((char *)prt_line_buffer, "%d", num_copies);
Karsten Hopp 9ecdde
  	prt_write_file(prt_line_buffer);
Karsten Hopp 9ecdde
  	prt_write_string(")");
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/if_cscope.c	2011-06-12 21:24:56.000000000 +0200
Karsten Hopp 9ecdde
--- src/if_cscope.c	2013-05-06 03:58:29.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1192,1200 ****
Karsten Hopp 9ecdde
      if (nummatches == NULL)
Karsten Hopp 9ecdde
  	return FALSE;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* send query to all open connections, then count the total number
Karsten Hopp 9ecdde
!      * of matches so we can alloc matchesp all in one swell foop
Karsten Hopp 9ecdde
!      */
Karsten Hopp 9ecdde
      for (i = 0; i < csinfo_size; i++)
Karsten Hopp 9ecdde
  	nummatches[i] = 0;
Karsten Hopp 9ecdde
      totmatches = 0;
Karsten Hopp 9ecdde
--- 1192,1199 ----
Karsten Hopp 9ecdde
      if (nummatches == NULL)
Karsten Hopp 9ecdde
  	return FALSE;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Send query to all open connections, then count the total number
Karsten Hopp 9ecdde
!      * of matches so we can alloc all in one swell foop. */
Karsten Hopp 9ecdde
      for (i = 0; i < csinfo_size; i++)
Karsten Hopp 9ecdde
  	nummatches[i] = 0;
Karsten Hopp 9ecdde
      totmatches = 0;
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/if_mzsch.c	2013-01-31 21:09:10.000000000 +0100
Karsten Hopp 9ecdde
--- src/if_mzsch.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3053,3059 ****
Karsten Hopp 9ecdde
  		status = FAIL;
Karsten Hopp 9ecdde
  	    else
Karsten Hopp 9ecdde
  	    {
Karsten Hopp 9ecdde
! 		/* add the value in advance to allow handling of self-referencial
Karsten Hopp 9ecdde
  		 * data structures */
Karsten Hopp 9ecdde
  		typval_T    *visited_tv = (typval_T *)alloc(sizeof(typval_T));
Karsten Hopp 9ecdde
  		copy_tv(tv, visited_tv);
Karsten Hopp 9ecdde
--- 3053,3059 ----
Karsten Hopp 9ecdde
  		status = FAIL;
Karsten Hopp 9ecdde
  	    else
Karsten Hopp 9ecdde
  	    {
Karsten Hopp 9ecdde
! 		/* add the value in advance to allow handling of self-referential
Karsten Hopp 9ecdde
  		 * data structures */
Karsten Hopp 9ecdde
  		typval_T    *visited_tv = (typval_T *)alloc(sizeof(typval_T));
Karsten Hopp 9ecdde
  		copy_tv(tv, visited_tv);
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3088,3094 ****
Karsten Hopp 9ecdde
  			if (status == FAIL)
Karsten Hopp 9ecdde
  			    break;
Karsten Hopp 9ecdde
  		    }
Karsten Hopp 9ecdde
! 		    /* impoper list not terminated with null
Karsten Hopp 9ecdde
  		     * need to handle the last element */
Karsten Hopp 9ecdde
  		    if (status == OK && !SCHEME_NULLP(curr))
Karsten Hopp 9ecdde
  		    {
Karsten Hopp 9ecdde
--- 3088,3094 ----
Karsten Hopp 9ecdde
  			if (status == FAIL)
Karsten Hopp 9ecdde
  			    break;
Karsten Hopp 9ecdde
  		    }
Karsten Hopp 9ecdde
! 		    /* improper list not terminated with null
Karsten Hopp 9ecdde
  		     * need to handle the last element */
Karsten Hopp 9ecdde
  		    if (status == OK && !SCHEME_NULLP(curr))
Karsten Hopp 9ecdde
  		    {
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3136,3142 ****
Karsten Hopp 9ecdde
  	    {
Karsten Hopp 9ecdde
  		if (((Scheme_Hash_Table *) obj)->vals[i] != NULL)
Karsten Hopp 9ecdde
  		{
Karsten Hopp 9ecdde
! 		    /* generate item for `diplay'ed Scheme key */
Karsten Hopp 9ecdde
  		    dictitem_T  *item = dictitem_alloc((char_u *)string_to_line(
Karsten Hopp 9ecdde
  				((Scheme_Hash_Table *) obj)->keys[i]));
Karsten Hopp 9ecdde
  		    /* convert Scheme val to Vim and add it to the dict */
Karsten Hopp 9ecdde
--- 3136,3142 ----
Karsten Hopp 9ecdde
  	    {
Karsten Hopp 9ecdde
  		if (((Scheme_Hash_Table *) obj)->vals[i] != NULL)
Karsten Hopp 9ecdde
  		{
Karsten Hopp 9ecdde
! 		    /* generate item for `display'ed Scheme key */
Karsten Hopp 9ecdde
  		    dictitem_T  *item = dictitem_alloc((char_u *)string_to_line(
Karsten Hopp 9ecdde
  				((Scheme_Hash_Table *) obj)->keys[i]));
Karsten Hopp 9ecdde
  		    /* convert Scheme val to Vim and add it to the dict */
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/if_ole.cpp	2010-08-15 21:57:32.000000000 +0200
Karsten Hopp 9ecdde
--- src/if_ole.cpp	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 645,651 ****
Karsten Hopp 9ecdde
      CoTaskMemFree(wGUID);
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! // Delete a key and all of its descendents
Karsten Hopp 9ecdde
  static void RecursiveDeleteKey(HKEY hKeyParent, const char *child)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      // Open the child
Karsten Hopp 9ecdde
--- 645,651 ----
Karsten Hopp 9ecdde
      CoTaskMemFree(wGUID);
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! // Delete a key and all of its descendants
Karsten Hopp 9ecdde
  static void RecursiveDeleteKey(HKEY hKeyParent, const char *child)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      // Open the child
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 655,661 ****
Karsten Hopp 9ecdde
      if (result != ERROR_SUCCESS)
Karsten Hopp 9ecdde
  	return;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     // Enumerate all of the decendents of this child
Karsten Hopp 9ecdde
      FILETIME time;
Karsten Hopp 9ecdde
      char buffer[1024];
Karsten Hopp 9ecdde
      DWORD size = 1024;
Karsten Hopp 9ecdde
--- 655,661 ----
Karsten Hopp 9ecdde
      if (result != ERROR_SUCCESS)
Karsten Hopp 9ecdde
  	return;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     // Enumerate all of the descendants of this child
Karsten Hopp 9ecdde
      FILETIME time;
Karsten Hopp 9ecdde
      char buffer[1024];
Karsten Hopp 9ecdde
      DWORD size = 1024;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 663,669 ****
Karsten Hopp 9ecdde
      while (RegEnumKeyEx(hKeyChild, 0, buffer, &size, NULL,
Karsten Hopp 9ecdde
  			NULL, NULL, &time) == S_OK)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
! 	// Delete the decendents of this child
Karsten Hopp 9ecdde
  	RecursiveDeleteKey(hKeyChild, buffer);
Karsten Hopp 9ecdde
  	size = 256;
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
--- 663,669 ----
Karsten Hopp 9ecdde
      while (RegEnumKeyEx(hKeyChild, 0, buffer, &size, NULL,
Karsten Hopp 9ecdde
  			NULL, NULL, &time) == S_OK)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
! 	// Delete the descendants of this child
Karsten Hopp 9ecdde
  	RecursiveDeleteKey(hKeyChild, buffer);
Karsten Hopp 9ecdde
  	size = 256;
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/if_perl.xs	2013-03-19 14:25:50.000000000 +0100
Karsten Hopp 9ecdde
--- src/if_perl.xs	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 657,663 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * perl_win_free
Karsten Hopp 9ecdde
!  *	Remove all refences to the window to be destroyed
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      void
Karsten Hopp 9ecdde
  perl_win_free(wp)
Karsten Hopp 9ecdde
--- 657,663 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * perl_win_free
Karsten Hopp 9ecdde
!  *	Remove all references to the window to be destroyed
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      void
Karsten Hopp 9ecdde
  perl_win_free(wp)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/if_py_both.h	2013-05-06 03:52:44.000000000 +0200
Karsten Hopp 9ecdde
--- src/if_py_both.h	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2160,2166 ****
Karsten Hopp 9ecdde
      static int
Karsten Hopp 9ecdde
  SetBufferLine(buf_T *buf, PyInt n, PyObject *line, PyInt *len_change)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
!     /* First of all, we check the thpe of the supplied Python object.
Karsten Hopp 9ecdde
       * There are three cases:
Karsten Hopp 9ecdde
       *	  1. NULL, or None - this is a deletion.
Karsten Hopp 9ecdde
       *	  2. A string	   - this is a replacement.
Karsten Hopp 9ecdde
--- 2160,2166 ----
Karsten Hopp 9ecdde
      static int
Karsten Hopp 9ecdde
  SetBufferLine(buf_T *buf, PyInt n, PyObject *line, PyInt *len_change)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
!     /* First of all, we check the type of the supplied Python object.
Karsten Hopp 9ecdde
       * There are three cases:
Karsten Hopp 9ecdde
       *	  1. NULL, or None - this is a deletion.
Karsten Hopp 9ecdde
       *	  2. A string	   - this is a replacement.
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2251,2257 ****
Karsten Hopp 9ecdde
      static int
Karsten Hopp 9ecdde
  SetBufferLineList(buf_T *buf, PyInt lo, PyInt hi, PyObject *list, PyInt *len_change)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
!     /* First of all, we check the thpe of the supplied Python object.
Karsten Hopp 9ecdde
       * There are three cases:
Karsten Hopp 9ecdde
       *	  1. NULL, or None - this is a deletion.
Karsten Hopp 9ecdde
       *	  2. A list	   - this is a replacement.
Karsten Hopp 9ecdde
--- 2251,2257 ----
Karsten Hopp 9ecdde
      static int
Karsten Hopp 9ecdde
  SetBufferLineList(buf_T *buf, PyInt lo, PyInt hi, PyObject *list, PyInt *len_change)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
!     /* First of all, we check the type of the supplied Python object.
Karsten Hopp 9ecdde
       * There are three cases:
Karsten Hopp 9ecdde
       *	  1. NULL, or None - this is a deletion.
Karsten Hopp 9ecdde
       *	  2. A list	   - this is a replacement.
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2428,2434 ****
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /* Insert a number of lines into the specified buffer after the specifed line.
Karsten Hopp 9ecdde
   * The line number is in Vim format (1-based). The lines to be inserted are
Karsten Hopp 9ecdde
   * given as a Python list of string objects or as a single string. The lines
Karsten Hopp 9ecdde
   * to be added are checked for validity and correct format. Errors are
Karsten Hopp 9ecdde
--- 2428,2434 ----
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /* Insert a number of lines into the specified buffer after the specified line.
Karsten Hopp 9ecdde
   * The line number is in Vim format (1-based). The lines to be inserted are
Karsten Hopp 9ecdde
   * given as a Python list of string objects or as a single string. The lines
Karsten Hopp 9ecdde
   * to be added are checked for validity and correct format. Errors are
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2819,2825 ****
Karsten Hopp 9ecdde
  	return NULL;
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Ckeck for keyboard interrupt */
Karsten Hopp 9ecdde
      if (VimErrorCheck())
Karsten Hopp 9ecdde
  	return NULL;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 2819,2825 ----
Karsten Hopp 9ecdde
  	return NULL;
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Check for keyboard interrupt */
Karsten Hopp 9ecdde
      if (VimErrorCheck())
Karsten Hopp 9ecdde
  	return NULL;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/if_python.c	2013-05-06 03:52:44.000000000 +0200
Karsten Hopp 9ecdde
--- src/if_python.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 773,779 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/* Remove the element from sys.path that was added because of our
Karsten Hopp 9ecdde
  	 * argv[0] value in PythonMod_Init().  Previously we used an empty
Karsten Hopp 9ecdde
! 	 * string, but dependinding on the OS we then get an empty entry or
Karsten Hopp 9ecdde
  	 * the current directory in sys.path. */
Karsten Hopp 9ecdde
  	PyRun_SimpleString("import sys; sys.path = filter(lambda x: x != '/must>not&exist', sys.path)");
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 773,779 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/* Remove the element from sys.path that was added because of our
Karsten Hopp 9ecdde
  	 * argv[0] value in PythonMod_Init().  Previously we used an empty
Karsten Hopp 9ecdde
! 	 * string, but depending on the OS we then get an empty entry or
Karsten Hopp 9ecdde
  	 * the current directory in sys.path. */
Karsten Hopp 9ecdde
  	PyRun_SimpleString("import sys; sys.path = filter(lambda x: x != '/must>not&exist', sys.path)");
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/if_python3.c	2013-05-06 03:52:44.000000000 +0200
Karsten Hopp 9ecdde
--- src/if_python3.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 766,772 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/* Remove the element from sys.path that was added because of our
Karsten Hopp 9ecdde
  	 * argv[0] value in Py3Init_vim().  Previously we used an empty
Karsten Hopp 9ecdde
! 	 * string, but dependinding on the OS we then get an empty entry or
Karsten Hopp 9ecdde
  	 * the current directory in sys.path.
Karsten Hopp 9ecdde
  	 * Only after vim has been imported, the element does exist in
Karsten Hopp 9ecdde
  	 * sys.path.
Karsten Hopp 9ecdde
--- 766,772 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/* Remove the element from sys.path that was added because of our
Karsten Hopp 9ecdde
  	 * argv[0] value in Py3Init_vim().  Previously we used an empty
Karsten Hopp 9ecdde
! 	 * string, but depending on the OS we then get an empty entry or
Karsten Hopp 9ecdde
  	 * the current directory in sys.path.
Karsten Hopp 9ecdde
  	 * Only after vim has been imported, the element does exist in
Karsten Hopp 9ecdde
  	 * sys.path.
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/if_ruby.c	2013-04-14 16:18:52.000000000 +0200
Karsten Hopp 9ecdde
--- src/if_ruby.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 113,119 ****
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Backward compatiblity for Ruby 1.8 and earlier.
Karsten Hopp 9ecdde
   * Ruby 1.9 does not provide STR2CSTR, instead StringValuePtr is provided.
Karsten Hopp 9ecdde
   * Ruby 1.9 does not provide RXXX(s)->len and RXXX(s)->ptr, instead
Karsten Hopp 9ecdde
   * RXXX_LEN(s) and RXXX_PTR(s) are provided.
Karsten Hopp 9ecdde
--- 113,119 ----
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * Backward compatibility for Ruby 1.8 and earlier.
Karsten Hopp 9ecdde
   * Ruby 1.9 does not provide STR2CSTR, instead StringValuePtr is provided.
Karsten Hopp 9ecdde
   * Ruby 1.9 does not provide RXXX(s)->len and RXXX(s)->ptr, instead
Karsten Hopp 9ecdde
   * RXXX_LEN(s) and RXXX_PTR(s) are provided.
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1333,1339 ****
Karsten Hopp 9ecdde
      rb_global_variable(&objtbl);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* The Vim module used to be called "VIM", but "Vim" is better.  Make an
Karsten Hopp 9ecdde
!      * alias "VIM" for backwards compatiblity. */
Karsten Hopp 9ecdde
      mVIM = rb_define_module("Vim");
Karsten Hopp 9ecdde
      rb_define_const(rb_cObject, "VIM", mVIM);
Karsten Hopp 9ecdde
      rb_define_const(mVIM, "VERSION_MAJOR", INT2NUM(VIM_VERSION_MAJOR));
Karsten Hopp 9ecdde
--- 1333,1339 ----
Karsten Hopp 9ecdde
      rb_global_variable(&objtbl);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* The Vim module used to be called "VIM", but "Vim" is better.  Make an
Karsten Hopp 9ecdde
!      * alias "VIM" for backwards compatibility. */
Karsten Hopp 9ecdde
      mVIM = rb_define_module("Vim");
Karsten Hopp 9ecdde
      rb_define_const(rb_cObject, "VIM", mVIM);
Karsten Hopp 9ecdde
      rb_define_const(mVIM, "VERSION_MAJOR", INT2NUM(VIM_VERSION_MAJOR));
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/main.aap	2010-08-15 21:57:28.000000000 +0200
Karsten Hopp 9ecdde
--- src/main.aap	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1213,1221 ****
Karsten Hopp 9ecdde
      :move gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # po/Make_osx.pl says something about generating a Mac message file
Karsten Hopp 9ecdde
! # for Ukrananian.  Would somebody using Mac OS X in Ukranian
Karsten Hopp 9ecdde
  # *really* be upset that Carbon Vim was not localised in
Karsten Hopp 9ecdde
! # Ukranian?
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  #bundle-language: bundle-dir po/Make_osx.pl
Karsten Hopp 9ecdde
  #	cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
Karsten Hopp 9ecdde
--- 1213,1221 ----
Karsten Hopp 9ecdde
      :move gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  # po/Make_osx.pl says something about generating a Mac message file
Karsten Hopp 9ecdde
! # for Ukrainian.  Would somebody using Mac OS X in Ukrainian
Karsten Hopp 9ecdde
  # *really* be upset that Carbon Vim was not localised in
Karsten Hopp 9ecdde
! # Ukrainian?
Karsten Hopp 9ecdde
  #
Karsten Hopp 9ecdde
  #bundle-language: bundle-dir po/Make_osx.pl
Karsten Hopp 9ecdde
  #	cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/mbyte.c	2013-02-26 14:56:24.000000000 +0100
Karsten Hopp 9ecdde
--- src/mbyte.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 903,909 ****
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      switch (enc_dbcs)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
! 	/* please add classfy routine for your language in here */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	case DBCS_JPNU:	/* ? */
Karsten Hopp 9ecdde
  	case DBCS_JPN:
Karsten Hopp 9ecdde
--- 903,909 ----
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      switch (enc_dbcs)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
! 	/* please add classify routine for your language in here */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	case DBCS_JPNU:	/* ? */
Karsten Hopp 9ecdde
  	case DBCS_JPN:
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1003,1009 ****
Karsten Hopp 9ecdde
  		 * 26 : Box Drawings
Karsten Hopp 9ecdde
  		 * 27 : Unit Symbols
Karsten Hopp 9ecdde
  		 * 28 : Circled/Parenthesized Letter
Karsten Hopp 9ecdde
! 		 * 29 : Hirigana/Katakana
Karsten Hopp 9ecdde
  		 * 30 : Cyrillic Letter
Karsten Hopp 9ecdde
  		 */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 1003,1009 ----
Karsten Hopp 9ecdde
  		 * 26 : Box Drawings
Karsten Hopp 9ecdde
  		 * 27 : Unit Symbols
Karsten Hopp 9ecdde
  		 * 28 : Circled/Parenthesized Letter
Karsten Hopp 9ecdde
! 		 * 29 : Hiragana/Katakana
Karsten Hopp 9ecdde
  		 * 30 : Cyrillic Letter
Karsten Hopp 9ecdde
  		 */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1054,1060 ****
Karsten Hopp 9ecdde
  			    return 28;
Karsten Hopp 9ecdde
  		    case 0xAA:
Karsten Hopp 9ecdde
  		    case 0xAB:
Karsten Hopp 9ecdde
! 			/* Hirigana/Katakana */
Karsten Hopp 9ecdde
  			return 29;
Karsten Hopp 9ecdde
  		    case 0xAC:
Karsten Hopp 9ecdde
  			/* Cyrillic Letter */
Karsten Hopp 9ecdde
--- 1054,1060 ----
Karsten Hopp 9ecdde
  			    return 28;
Karsten Hopp 9ecdde
  		    case 0xAA:
Karsten Hopp 9ecdde
  		    case 0xAB:
Karsten Hopp 9ecdde
! 			/* Hiragana/Katakana */
Karsten Hopp 9ecdde
  			return 29;
Karsten Hopp 9ecdde
  		    case 0xAC:
Karsten Hopp 9ecdde
  			/* Cyrillic Letter */
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 4599,4605 ****
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* The thing which setting "preedit_start_col" to MAXCOL means that
Karsten Hopp 9ecdde
!      * "preedit_start_col" will be set forcely when calling
Karsten Hopp 9ecdde
       * preedit_changed_cb() next time.
Karsten Hopp 9ecdde
       * "preedit_start_col" should not reset with MAXCOL on this part. Vim
Karsten Hopp 9ecdde
       * is simulating the preediting by using add_to_input_str(). when
Karsten Hopp 9ecdde
--- 4599,4605 ----
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* The thing which setting "preedit_start_col" to MAXCOL means that
Karsten Hopp 9ecdde
!      * "preedit_start_col" will be set forcedly when calling
Karsten Hopp 9ecdde
       * preedit_changed_cb() next time.
Karsten Hopp 9ecdde
       * "preedit_start_col" should not reset with MAXCOL on this part. Vim
Karsten Hopp 9ecdde
       * is simulating the preediting by using add_to_input_str(). when
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/memfile.c	2011-05-10 16:41:13.000000000 +0200
Karsten Hopp 9ecdde
--- src/memfile.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 628,634 ****
Karsten Hopp 9ecdde
  	 * sync from the system itself).
Karsten Hopp 9ecdde
  	 */
Karsten Hopp 9ecdde
  #  if defined(__EMX__)
Karsten Hopp 9ecdde
!    error "Dont use fsync with EMX! Read emxdoc.doc or emxfix01.doc for info."
Karsten Hopp 9ecdde
  #  endif
Karsten Hopp 9ecdde
  	if (STRCMP(p_sws, "fsync") == 0)
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
--- 628,634 ----
Karsten Hopp 9ecdde
  	 * sync from the system itself).
Karsten Hopp 9ecdde
  	 */
Karsten Hopp 9ecdde
  #  if defined(__EMX__)
Karsten Hopp 9ecdde
!    error "Don't use fsync with EMX! Read emxdoc.doc or emxfix01.doc for info."
Karsten Hopp 9ecdde
  #  endif
Karsten Hopp 9ecdde
  	if (STRCMP(p_sws, "fsync") == 0)
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1075,1081 ****
Karsten Hopp 9ecdde
  	if (nr > mfp->mf_infile_count)		/* beyond end of file */
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
  	    nr = mfp->mf_infile_count;
Karsten Hopp 9ecdde
! 	    hp2 = mf_find_hash(mfp, nr);	/* NULL catched below */
Karsten Hopp 9ecdde
  	}
Karsten Hopp 9ecdde
  	else
Karsten Hopp 9ecdde
  	    hp2 = hp;
Karsten Hopp 9ecdde
--- 1075,1081 ----
Karsten Hopp 9ecdde
  	if (nr > mfp->mf_infile_count)		/* beyond end of file */
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
  	    nr = mfp->mf_infile_count;
Karsten Hopp 9ecdde
! 	    hp2 = mf_find_hash(mfp, nr);	/* NULL caught below */
Karsten Hopp 9ecdde
  	}
Karsten Hopp 9ecdde
  	else
Karsten Hopp 9ecdde
  	    hp2 = hp;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1184,1190 ****
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	new_bnum = freep->bh_bnum;
Karsten Hopp 9ecdde
  	/*
Karsten Hopp 9ecdde
! 	 * If the page count of the free block was larger, recude it.
Karsten Hopp 9ecdde
  	 * If the page count matches, remove the block from the free list
Karsten Hopp 9ecdde
  	 */
Karsten Hopp 9ecdde
  	if (freep->bh_page_count > page_count)
Karsten Hopp 9ecdde
--- 1184,1190 ----
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	new_bnum = freep->bh_bnum;
Karsten Hopp 9ecdde
  	/*
Karsten Hopp 9ecdde
! 	 * If the page count of the free block was larger, reduce it.
Karsten Hopp 9ecdde
  	 * If the page count matches, remove the block from the free list
Karsten Hopp 9ecdde
  	 */
Karsten Hopp 9ecdde
  	if (freep->bh_page_count > page_count)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1309,1315 ****
Karsten Hopp 9ecdde
      mf_set_ffname(mfp);
Karsten Hopp 9ecdde
  #if defined(MSDOS) || defined(MSWIN)
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * A ":!cd e:xxx" may change the directory without us knowning, use the
Karsten Hopp 9ecdde
       * full pathname always.  Careful: This frees fname!
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      mf_fullname(mfp);
Karsten Hopp 9ecdde
--- 1309,1315 ----
Karsten Hopp 9ecdde
      mf_set_ffname(mfp);
Karsten Hopp 9ecdde
  #if defined(MSDOS) || defined(MSWIN)
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * A ":!cd e:xxx" may change the directory without us knowing, use the
Karsten Hopp 9ecdde
       * full pathname always.  Careful: This frees fname!
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      mf_fullname(mfp);
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/memline.c	2012-10-03 18:24:55.000000000 +0200
Karsten Hopp 9ecdde
--- src/memline.c	2013-05-06 04:01:02.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3141,3147 ****
Karsten Hopp 9ecdde
  	   )
Karsten Hopp 9ecdde
  	    set_keep_msg((char_u *)_(no_lines_msg), 0);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 	/* FEAT_BYTEOFF already handled in there, dont worry 'bout it below */
Karsten Hopp 9ecdde
  	i = ml_replace((linenr_T)1, (char_u *)"", TRUE);
Karsten Hopp 9ecdde
  	buf->b_ml.ml_flags |= ML_EMPTY;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 3141,3147 ----
Karsten Hopp 9ecdde
  	   )
Karsten Hopp 9ecdde
  	    set_keep_msg((char_u *)_(no_lines_msg), 0);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 	/* FEAT_BYTEOFF already handled in there, don't worry 'bout it below */
Karsten Hopp 9ecdde
  	i = ml_replace((linenr_T)1, (char_u *)"", TRUE);
Karsten Hopp 9ecdde
  	buf->b_ml.ml_flags |= ML_EMPTY;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/misc1.c	2013-05-04 03:40:22.000000000 +0200
Karsten Hopp 9ecdde
--- src/misc1.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1654,1660 ****
Karsten Hopp 9ecdde
  	    if (vim_iswhite(string[0]))
Karsten Hopp 9ecdde
  	    {
Karsten Hopp 9ecdde
  		if (i == 0 || !vim_iswhite(line[i - 1]))
Karsten Hopp 9ecdde
! 		    continue;  /* missing shite space */
Karsten Hopp 9ecdde
  		while (vim_iswhite(string[0]))
Karsten Hopp 9ecdde
  		    ++string;
Karsten Hopp 9ecdde
  	    }
Karsten Hopp 9ecdde
--- 1654,1660 ----
Karsten Hopp 9ecdde
  	    if (vim_iswhite(string[0]))
Karsten Hopp 9ecdde
  	    {
Karsten Hopp 9ecdde
  		if (i == 0 || !vim_iswhite(line[i - 1]))
Karsten Hopp 9ecdde
! 		    continue;  /* missing white space */
Karsten Hopp 9ecdde
  		while (vim_iswhite(string[0]))
Karsten Hopp 9ecdde
  		    ++string;
Karsten Hopp 9ecdde
  	    }
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/misc2.c	2013-04-12 14:42:35.000000000 +0200
Karsten Hopp 9ecdde
--- src/misc2.c	2013-05-06 03:59:29.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2907,2913 ****
Karsten Hopp 9ecdde
      int	modifiers = *modp;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef MACOS
Karsten Hopp 9ecdde
!     /* Command-key really special, No fancynest */
Karsten Hopp 9ecdde
      if (!(modifiers & MOD_MASK_CMD))
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
      if ((modifiers & MOD_MASK_SHIFT) && ASCII_ISALPHA(key))
Karsten Hopp 9ecdde
--- 2907,2913 ----
Karsten Hopp 9ecdde
      int	modifiers = *modp;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef MACOS
Karsten Hopp 9ecdde
!     /* Command-key really special, no fancynest */
Karsten Hopp 9ecdde
      if (!(modifiers & MOD_MASK_CMD))
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
      if ((modifiers & MOD_MASK_SHIFT) && ASCII_ISALPHA(key))
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2934,2940 ****
Karsten Hopp 9ecdde
  	    key = K_ZERO;
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  #ifdef MACOS
Karsten Hopp 9ecdde
!     /* Command-key really special, No fancynest */
Karsten Hopp 9ecdde
      if (!(modifiers & MOD_MASK_CMD))
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
      if ((modifiers & MOD_MASK_ALT) && key < 0x80
Karsten Hopp 9ecdde
--- 2934,2940 ----
Karsten Hopp 9ecdde
  	    key = K_ZERO;
Karsten Hopp 9ecdde
      }
Karsten Hopp 9ecdde
  #ifdef MACOS
Karsten Hopp 9ecdde
!     /* Command-key really special, no fancynest */
Karsten Hopp 9ecdde
      if (!(modifiers & MOD_MASK_CMD))
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
      if ((modifiers & MOD_MASK_ALT) && key < 0x80
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/nbdebug.c	2010-08-15 21:57:29.000000000 +0200
Karsten Hopp 9ecdde
--- src/nbdebug.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 17,23 ****
Karsten Hopp 9ecdde
   * debugging startup problems because gvim will be started automatically from
Karsten Hopp 9ecdde
   * netbeans and cannot be run directly from a debugger. The only way to debug
Karsten Hopp 9ecdde
   * a gvim started by netbeans is by attaching a debugger to it. Without this
Karsten Hopp 9ecdde
!  * tool all starup code will have completed before you can get the pid and
Karsten Hopp 9ecdde
   * attach.
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * The second tool is a log tool.
Karsten Hopp 9ecdde
--- 17,23 ----
Karsten Hopp 9ecdde
   * debugging startup problems because gvim will be started automatically from
Karsten Hopp 9ecdde
   * netbeans and cannot be run directly from a debugger. The only way to debug
Karsten Hopp 9ecdde
   * a gvim started by netbeans is by attaching a debugger to it. Without this
Karsten Hopp 9ecdde
!  * tool all startup code will have completed before you can get the pid and
Karsten Hopp 9ecdde
   * attach.
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * The second tool is a log tool.
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/normal.c	2013-04-24 18:34:40.000000000 +0200
Karsten Hopp 9ecdde
--- src/normal.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2513,2519 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifndef FEAT_VISUAL
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * ALT is only used for starging/extending Visual mode.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      if ((mod_mask & MOD_MASK_ALT))
Karsten Hopp 9ecdde
  	return FALSE;
Karsten Hopp 9ecdde
--- 2513,2519 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifndef FEAT_VISUAL
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
!      * ALT is only used for starting/extending Visual mode.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      if ((mod_mask & MOD_MASK_ALT))
Karsten Hopp 9ecdde
  	return FALSE;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 5084,5090 ****
Karsten Hopp 9ecdde
  		}
Karsten Hopp 9ecdde
  		break;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 		/* "zE": erease all folds */
Karsten Hopp 9ecdde
      case 'E':	if (foldmethodIsManual(curwin))
Karsten Hopp 9ecdde
  		{
Karsten Hopp 9ecdde
  		    clearFolding(curwin);
Karsten Hopp 9ecdde
--- 5084,5090 ----
Karsten Hopp 9ecdde
  		}
Karsten Hopp 9ecdde
  		break;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 		/* "zE": erase all folds */
Karsten Hopp 9ecdde
      case 'E':	if (foldmethodIsManual(curwin))
Karsten Hopp 9ecdde
  		{
Karsten Hopp 9ecdde
  		    clearFolding(curwin);
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 7465,7471 ****
Karsten Hopp 9ecdde
      static char_u trans[] = "YyDdCcxdXdAAIIrr";
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* Uppercase means linewise, except in block mode, then "D" deletes till
Karsten Hopp 9ecdde
!      * the end of the line, and "C" replaces til EOL */
Karsten Hopp 9ecdde
      if (isupper(cap->cmdchar))
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	if (VIsual_mode != Ctrl_V)
Karsten Hopp 9ecdde
--- 7465,7471 ----
Karsten Hopp 9ecdde
      static char_u trans[] = "YyDdCcxdXdAAIIrr";
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* Uppercase means linewise, except in block mode, then "D" deletes till
Karsten Hopp 9ecdde
!      * the end of the line, and "C" replaces till EOL */
Karsten Hopp 9ecdde
      if (isupper(cap->cmdchar))
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
  	if (VIsual_mode != Ctrl_V)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 8804,8810 ****
Karsten Hopp 9ecdde
  		 * at first, but it's really more what we mean when we say
Karsten Hopp 9ecdde
  		 * 'cw'.
Karsten Hopp 9ecdde
  		 * Another strangeness: When standing on the end of a word
Karsten Hopp 9ecdde
! 		 * "ce" will change until the end of the next wordt, but "cw"
Karsten Hopp 9ecdde
  		 * will change only one character! This is done by setting
Karsten Hopp 9ecdde
  		 * flag.
Karsten Hopp 9ecdde
  		 */
Karsten Hopp 9ecdde
--- 8804,8810 ----
Karsten Hopp 9ecdde
  		 * at first, but it's really more what we mean when we say
Karsten Hopp 9ecdde
  		 * 'cw'.
Karsten Hopp 9ecdde
  		 * Another strangeness: When standing on the end of a word
Karsten Hopp 9ecdde
! 		 * "ce" will change until the end of the next word, but "cw"
Karsten Hopp 9ecdde
  		 * will change only one character! This is done by setting
Karsten Hopp 9ecdde
  		 * flag.
Karsten Hopp 9ecdde
  		 */
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 9150,9156 ****
Karsten Hopp 9ecdde
  		{
Karsten Hopp 9ecdde
  		    int save_State = State;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 		    /* Pretent Insert mode here to allow the cursor on the
Karsten Hopp 9ecdde
  		     * character past the end of the line */
Karsten Hopp 9ecdde
  		    State = INSERT;
Karsten Hopp 9ecdde
  		    coladvance((colnr_T)MAXCOL);
Karsten Hopp 9ecdde
--- 9150,9156 ----
Karsten Hopp 9ecdde
  		{
Karsten Hopp 9ecdde
  		    int save_State = State;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 		    /* Pretend Insert mode here to allow the cursor on the
Karsten Hopp 9ecdde
  		     * character past the end of the line */
Karsten Hopp 9ecdde
  		    State = INSERT;
Karsten Hopp 9ecdde
  		    coladvance((colnr_T)MAXCOL);
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 9189,9195 ****
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
  	    int save_State = State;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 	    /* Pretent Insert mode here to allow the cursor on the
Karsten Hopp 9ecdde
  	     * character past the end of the line */
Karsten Hopp 9ecdde
  	    State = INSERT;
Karsten Hopp 9ecdde
  	    coladvance(getviscol());
Karsten Hopp 9ecdde
--- 9189,9195 ----
Karsten Hopp 9ecdde
  	{
Karsten Hopp 9ecdde
  	    int save_State = State;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 	    /* Pretend Insert mode here to allow the cursor on the
Karsten Hopp 9ecdde
  	     * character past the end of the line */
Karsten Hopp 9ecdde
  	    State = INSERT;
Karsten Hopp 9ecdde
  	    coladvance(getviscol());
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/ops.c	2013-03-13 17:50:20.000000000 +0100
Karsten Hopp 9ecdde
--- src/ops.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 398,404 ****
Karsten Hopp 9ecdde
  #ifdef FEAT_RIGHTLEFT
Karsten Hopp 9ecdde
      int			old_p_ri = p_ri;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     p_ri = 0;			/* don't want revins in ident */
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      State = INSERT;		/* don't want REPLACE for State */
Karsten Hopp 9ecdde
--- 398,404 ----
Karsten Hopp 9ecdde
  #ifdef FEAT_RIGHTLEFT
Karsten Hopp 9ecdde
      int			old_p_ri = p_ri;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     p_ri = 0;			/* don't want revins in indent */
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      State = INSERT;		/* don't want REPLACE for State */
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/os_amiga.c	2012-11-20 16:53:34.000000000 +0100
Karsten Hopp 9ecdde
--- src/os_amiga.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 118,124 ****
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * mch_inchar(): low level input funcion.
Karsten Hopp 9ecdde
   * Get a characters from the keyboard.
Karsten Hopp 9ecdde
   * If time == 0 do not wait for characters.
Karsten Hopp 9ecdde
   * If time == n wait a short time for characters.
Karsten Hopp 9ecdde
--- 118,124 ----
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * mch_inchar(): low level input function.
Karsten Hopp 9ecdde
   * Get a characters from the keyboard.
Karsten Hopp 9ecdde
   * If time == 0 do not wait for characters.
Karsten Hopp 9ecdde
   * If time == n wait a short time for characters.
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/os_mac.h	2010-08-15 21:57:32.000000000 +0200
Karsten Hopp 9ecdde
--- src/os_mac.h	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 45,51 ****
Karsten Hopp 9ecdde
  /* Get stat.h or something similar. Comment: How come some OS get in in vim.h */
Karsten Hopp 9ecdde
  # include <sys/stat.h>
Karsten Hopp 9ecdde
  /* && defined(HAVE_CURSE) */
Karsten Hopp 9ecdde
! /* The curses.h from MacOS X provides by default some BACKWARD compatibilty
Karsten Hopp 9ecdde
   * definition which can cause us problem later on. So we undefine a few of them. */
Karsten Hopp 9ecdde
  # include <curses.h>
Karsten Hopp 9ecdde
  # undef reg
Karsten Hopp 9ecdde
--- 45,51 ----
Karsten Hopp 9ecdde
  /* Get stat.h or something similar. Comment: How come some OS get in in vim.h */
Karsten Hopp 9ecdde
  # include <sys/stat.h>
Karsten Hopp 9ecdde
  /* && defined(HAVE_CURSE) */
Karsten Hopp 9ecdde
! /* The curses.h from MacOS X provides by default some BACKWARD compatibility
Karsten Hopp 9ecdde
   * definition which can cause us problem later on. So we undefine a few of them. */
Karsten Hopp 9ecdde
  # include <curses.h>
Karsten Hopp 9ecdde
  # undef reg
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/os_msdos.c	2012-11-20 16:53:34.000000000 +0100
Karsten Hopp 9ecdde
--- src/os_msdos.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 702,708 ****
Karsten Hopp 9ecdde
   * If Vim should work over the serial line after a 'ctty com1' we must use
Karsten Hopp 9ecdde
   * kbhit() and getch(). (jw)
Karsten Hopp 9ecdde
   * Usually kbhit() is not used, because then CTRL-C and CTRL-P
Karsten Hopp 9ecdde
!  * will be catched by DOS (mool).
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * return TRUE if a character is available, FALSE otherwise
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
--- 702,708 ----
Karsten Hopp 9ecdde
   * If Vim should work over the serial line after a 'ctty com1' we must use
Karsten Hopp 9ecdde
   * kbhit() and getch(). (jw)
Karsten Hopp 9ecdde
   * Usually kbhit() is not used, because then CTRL-C and CTRL-P
Karsten Hopp 9ecdde
!  * will be caught by DOS (mool).
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * return TRUE if a character is available, FALSE otherwise
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 971,977 ****
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * mch_inchar(): low level input funcion.
Karsten Hopp 9ecdde
   * Get a characters from the keyboard.
Karsten Hopp 9ecdde
   * If time == 0 do not wait for characters.
Karsten Hopp 9ecdde
   * If time == n wait a short time for characters.
Karsten Hopp 9ecdde
--- 971,977 ----
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
!  * mch_inchar(): low level input function.
Karsten Hopp 9ecdde
   * Get a characters from the keyboard.
Karsten Hopp 9ecdde
   * If time == 0 do not wait for characters.
Karsten Hopp 9ecdde
   * If time == n wait a short time for characters.
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 993,999 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
       * if we got a ctrl-C when we were busy, there will be a "^C" somewhere
Karsten Hopp 9ecdde
!      * on the sceen, so we need to redisplay it.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      if (delayed_redraw)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
--- 993,999 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /*
Karsten Hopp 9ecdde
       * if we got a ctrl-C when we were busy, there will be a "^C" somewhere
Karsten Hopp 9ecdde
!      * on the screen, so we need to redisplay it.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      if (delayed_redraw)
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1745,1751 ****
Karsten Hopp 9ecdde
  mch_setmouse(int on)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      mouse_active = on;
Karsten Hopp 9ecdde
!     mouse_hidden = TRUE;	/* dont show it until moved */
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 1745,1751 ----
Karsten Hopp 9ecdde
  mch_setmouse(int on)
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      mouse_active = on;
Karsten Hopp 9ecdde
!     mouse_hidden = TRUE;	/* don't show it until moved */
Karsten Hopp 9ecdde
  }
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2438,2444 ****
Karsten Hopp 9ecdde
      long    start_time;
Karsten Hopp 9ecdde
      int	    tick_count;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* int 02xf, AX = 0x1701 attempts to open the Windows clipboard.  Upon
Karsten Hopp 9ecdde
       * return from the interrupt, if AX is non-zero, the clipboard was
Karsten Hopp 9ecdde
       * successfully opened.  If AX is zero, the clipboard could not be opened
Karsten Hopp 9ecdde
       * because it is currently in use by another process.
Karsten Hopp 9ecdde
--- 2438,2444 ----
Karsten Hopp 9ecdde
      long    start_time;
Karsten Hopp 9ecdde
      int	    tick_count;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* int 0x2f, AX = 0x1701 attempts to open the Windows clipboard.  Upon
Karsten Hopp 9ecdde
       * return from the interrupt, if AX is non-zero, the clipboard was
Karsten Hopp 9ecdde
       * successfully opened.  If AX is zero, the clipboard could not be opened
Karsten Hopp 9ecdde
       * because it is currently in use by another process.
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2533,2539 ****
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      __dpmi_regs  dpmi_regs;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* int 02xf, AX = 0x1702 attempts to empty the Windows clipboard.  Upon
Karsten Hopp 9ecdde
       * return from the interrupt, if AX == 0, the clipboard could not be
Karsten Hopp 9ecdde
       * emptied (for some reason).
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
--- 2533,2539 ----
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      __dpmi_regs  dpmi_regs;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* int 0x2f, AX = 0x1702 attempts to empty the Windows clipboard.  Upon
Karsten Hopp 9ecdde
       * return from the interrupt, if AX == 0, the clipboard could not be
Karsten Hopp 9ecdde
       * emptied (for some reason).
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2616,2622 ****
Karsten Hopp 9ecdde
      case CF_TEXT:		    /* Windows text */
Karsten Hopp 9ecdde
      case CF_OEMTEXT:		    /* DOS (OEM) text */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 	/* int 02xf, AX = 0x1704 returns the number of bytes of data currently
Karsten Hopp 9ecdde
  	 * on the Windows clipboard, for the specified format.  Upon return
Karsten Hopp 9ecdde
  	 * from the interrupt, DX:AX = the number of bytes, rounded up to the
Karsten Hopp 9ecdde
  	 * nearest multiple of 32.
Karsten Hopp 9ecdde
--- 2616,2622 ----
Karsten Hopp 9ecdde
      case CF_TEXT:		    /* Windows text */
Karsten Hopp 9ecdde
      case CF_OEMTEXT:		    /* DOS (OEM) text */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! 	/* int 0x2f, AX = 0x1704 returns the number of bytes of data currently
Karsten Hopp 9ecdde
  	 * on the Windows clipboard, for the specified format.  Upon return
Karsten Hopp 9ecdde
  	 * from the interrupt, DX:AX = the number of bytes, rounded up to the
Karsten Hopp 9ecdde
  	 * nearest multiple of 32.
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2820,2826 ****
Karsten Hopp 9ecdde
  	clip_data_size);		/* how many bytes to copy */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* Send data from the DOS transfer buffer to the Windows clipboard.
Karsten Hopp 9ecdde
!      * int 02xf, AX = 0x1703 sends SI:CX bytes of data from the buffer
Karsten Hopp 9ecdde
       * at ES:BX, to the clipboard.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      dpmi_regs.x.ax = 0x1703;			/* send clipboard data */
Karsten Hopp 9ecdde
--- 2820,2826 ----
Karsten Hopp 9ecdde
  	clip_data_size);		/* how many bytes to copy */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      /* Send data from the DOS transfer buffer to the Windows clipboard.
Karsten Hopp 9ecdde
!      * int 0x2f, AX = 0x1703 sends SI:CX bytes of data from the buffer
Karsten Hopp 9ecdde
       * at ES:BX, to the clipboard.
Karsten Hopp 9ecdde
       */
Karsten Hopp 9ecdde
      dpmi_regs.x.ax = 0x1703;			/* send clipboard data */
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/os_mswin.c	2013-03-19 14:48:25.000000000 +0100
Karsten Hopp 9ecdde
--- src/os_mswin.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1794,1800 ****
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * So we create a hidden window, and arrange to destroy it on exit.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
! HWND message_window = 0;	    /* window that's handling messsages */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #define VIM_CLASSNAME      "VIM_MESSAGES"
Karsten Hopp 9ecdde
  #define VIM_CLASSNAME_LEN  (sizeof(VIM_CLASSNAME) - 1)
Karsten Hopp 9ecdde
--- 1794,1800 ----
Karsten Hopp 9ecdde
   *
Karsten Hopp 9ecdde
   * So we create a hidden window, and arrange to destroy it on exit.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
! HWND message_window = 0;	    /* window that's handling messages */
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #define VIM_CLASSNAME      "VIM_MESSAGES"
Karsten Hopp 9ecdde
  #define VIM_CLASSNAME_LEN  (sizeof(VIM_CLASSNAME) - 1)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1857,1863 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  static int save_reply(HWND server, char_u *reply, int expr);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /*s
Karsten Hopp 9ecdde
   * The window procedure for the hidden message window.
Karsten Hopp 9ecdde
   * It handles callback messages and notifications from servers.
Karsten Hopp 9ecdde
   * In order to process these messages, it is necessary to run a
Karsten Hopp 9ecdde
--- 1857,1863 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  static int save_reply(HWND server, char_u *reply, int expr);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /*
Karsten Hopp 9ecdde
   * The window procedure for the hidden message window.
Karsten Hopp 9ecdde
   * It handles callback messages and notifications from servers.
Karsten Hopp 9ecdde
   * In order to process these messages, it is necessary to run a
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 2603,2609 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      ReleaseDC(hwnd, hdc);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* If we couldn't find a useable font, return failure */
Karsten Hopp 9ecdde
      if (n == 1)
Karsten Hopp 9ecdde
  	return FAIL;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 2603,2609 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
      ReleaseDC(hwnd, hdc);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* If we couldn't find a usable font, return failure */
Karsten Hopp 9ecdde
      if (n == 1)
Karsten Hopp 9ecdde
  	return FAIL;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/os_win16.h	2012-11-20 16:53:34.000000000 +0100
Karsten Hopp 9ecdde
--- src/os_win16.h	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 50,56 ****
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /* toupper() is not really broken, but it's very slow.	Probably because of
Karsten Hopp 9ecdde
!  * using unicde characters on Windows NT */
Karsten Hopp 9ecdde
  #define BROKEN_TOUPPER
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #define FNAME_ILLEGAL "\"*?><|" /* illegal characters in a file name */
Karsten Hopp 9ecdde
--- 50,56 ----
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /* toupper() is not really broken, but it's very slow.	Probably because of
Karsten Hopp 9ecdde
!  * using unicode characters on Windows NT */
Karsten Hopp 9ecdde
  #define BROKEN_TOUPPER
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #define FNAME_ILLEGAL "\"*?><|" /* illegal characters in a file name */
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/os_win32.c	2013-03-19 14:48:25.000000000 +0100
Karsten Hopp 9ecdde
--- src/os_win32.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 161,167 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifndef PROTO
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /* Enable common dialogs input unicode from IME if posible. */
Karsten Hopp 9ecdde
  #ifdef FEAT_MBYTE
Karsten Hopp 9ecdde
  LRESULT (WINAPI *pDispatchMessage)(CONST MSG *) = DispatchMessage;
Karsten Hopp 9ecdde
  BOOL (WINAPI *pGetMessage)(LPMSG, HWND, UINT, UINT) = GetMessage;
Karsten Hopp 9ecdde
--- 161,167 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifndef PROTO
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /* Enable common dialogs input unicode from IME if possible. */
Karsten Hopp 9ecdde
  #ifdef FEAT_MBYTE
Karsten Hopp 9ecdde
  LRESULT (WINAPI *pDispatchMessage)(CONST MSG *) = DispatchMessage;
Karsten Hopp 9ecdde
  BOOL (WINAPI *pGetMessage)(LPMSG, HWND, UINT, UINT) = GetMessage;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1032,1038 ****
Karsten Hopp 9ecdde
  	    DWORD dwLR = (pmer->dwButtonState & LEFT_RIGHT);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	    /* if either left or right button only is pressed, see if the
Karsten Hopp 9ecdde
! 	     * the next mouse event has both of them pressed */
Karsten Hopp 9ecdde
  	    if (dwLR == LEFT || dwLR == RIGHT)
Karsten Hopp 9ecdde
  	    {
Karsten Hopp 9ecdde
  		for (;;)
Karsten Hopp 9ecdde
--- 1032,1038 ----
Karsten Hopp 9ecdde
  	    DWORD dwLR = (pmer->dwButtonState & LEFT_RIGHT);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	    /* if either left or right button only is pressed, see if the
Karsten Hopp 9ecdde
! 	     * next mouse event has both of them pressed */
Karsten Hopp 9ecdde
  	    if (dwLR == LEFT || dwLR == RIGHT)
Karsten Hopp 9ecdde
  	    {
Karsten Hopp 9ecdde
  		for (;;)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/os_win32.h	2013-03-19 14:48:25.000000000 +0100
Karsten Hopp 9ecdde
--- src/os_win32.h	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 201,207 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifndef PROTO
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /* Enable common dialogs input unicode from IME if posible. */
Karsten Hopp 9ecdde
  #ifdef FEAT_MBYTE
Karsten Hopp 9ecdde
      /* The variables are defined in os_win32.c. */
Karsten Hopp 9ecdde
  extern LRESULT (WINAPI *pDispatchMessage)(CONST MSG *);
Karsten Hopp 9ecdde
--- 201,207 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifndef PROTO
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
! /* Enable common dialogs input unicode from IME if possible. */
Karsten Hopp 9ecdde
  #ifdef FEAT_MBYTE
Karsten Hopp 9ecdde
      /* The variables are defined in os_win32.c. */
Karsten Hopp 9ecdde
  extern LRESULT (WINAPI *pDispatchMessage)(CONST MSG *);
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/quickfix.c	2013-03-07 16:32:49.000000000 +0100
Karsten Hopp 9ecdde
--- src/quickfix.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3235,3241 ****
Karsten Hopp 9ecdde
      mch_dirname(dirname_start, MAXPATHL);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef FEAT_AUTOCMD
Karsten Hopp 9ecdde
!      /* Remeber the value of qf_start, so that we can check for autocommands
Karsten Hopp 9ecdde
        * changing the current quickfix list. */
Karsten Hopp 9ecdde
      cur_qf_start = qi->qf_lists[qi->qf_curlist].qf_start;
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
--- 3235,3241 ----
Karsten Hopp 9ecdde
      mch_dirname(dirname_start, MAXPATHL);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  #ifdef FEAT_AUTOCMD
Karsten Hopp 9ecdde
!      /* Remember the value of qf_start, so that we can check for autocommands
Karsten Hopp 9ecdde
        * changing the current quickfix list. */
Karsten Hopp 9ecdde
      cur_qf_start = qi->qf_lists[qi->qf_curlist].qf_start;
Karsten Hopp 9ecdde
  #endif
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/screen.c	2013-02-13 12:15:59.000000000 +0100
Karsten Hopp 9ecdde
--- src/screen.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 4044,4050 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  		/* If a double-width char doesn't fit at the left side display
Karsten Hopp 9ecdde
  		 * a '<' in the first column.  Don't do this for unprintable
Karsten Hopp 9ecdde
! 		 * charactes. */
Karsten Hopp 9ecdde
  		if (n_skip > 0 && mb_l > 1 && n_extra == 0)
Karsten Hopp 9ecdde
  		{
Karsten Hopp 9ecdde
  		    n_extra = 1;
Karsten Hopp 9ecdde
--- 4044,4050 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  		/* If a double-width char doesn't fit at the left side display
Karsten Hopp 9ecdde
  		 * a '<' in the first column.  Don't do this for unprintable
Karsten Hopp 9ecdde
! 		 * characters. */
Karsten Hopp 9ecdde
  		if (n_skip > 0 && mb_l > 1 && n_extra == 0)
Karsten Hopp 9ecdde
  		{
Karsten Hopp 9ecdde
  		    n_extra = 1;
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/search.c	2013-04-03 21:14:25.000000000 +0200
Karsten Hopp 9ecdde
--- src/search.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 73,79 ****
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      char_u	    *pat;	/* the pattern (in allocated memory) or NULL */
Karsten Hopp 9ecdde
      int		    magic;	/* magicness of the pattern */
Karsten Hopp 9ecdde
!     int		    no_scs;	/* no smarcase for this pattern */
Karsten Hopp 9ecdde
      struct soffset  off;
Karsten Hopp 9ecdde
  };
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
--- 73,79 ----
Karsten Hopp 9ecdde
  {
Karsten Hopp 9ecdde
      char_u	    *pat;	/* the pattern (in allocated memory) or NULL */
Karsten Hopp 9ecdde
      int		    magic;	/* magicness of the pattern */
Karsten Hopp 9ecdde
!     int		    no_scs;	/* no smartcase for this pattern */
Karsten Hopp 9ecdde
      struct soffset  off;
Karsten Hopp 9ecdde
  };
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3546,3552 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * Find block under the cursor, cursor at end.
Karsten Hopp 9ecdde
!  * "what" and "other" are two matching parenthesis/paren/etc.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      int
Karsten Hopp 9ecdde
  current_block(oap, count, include, what, other)
Karsten Hopp 9ecdde
--- 3546,3552 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * Find block under the cursor, cursor at end.
Karsten Hopp 9ecdde
!  * "what" and "other" are two matching parenthesis/brace/etc.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      int
Karsten Hopp 9ecdde
  current_block(oap, count, include, what, other)
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/spell.c	2012-06-29 12:57:03.000000000 +0200
Karsten Hopp 9ecdde
--- src/spell.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 4228,4234 ****
Karsten Hopp 9ecdde
      ga_init2(&ga, sizeof(langp_T), 2);
Karsten Hopp 9ecdde
      clear_midword(wp);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Make a copy of 'spellang', the SpellFileMissing autocommands may change
Karsten Hopp 9ecdde
       * it under our fingers. */
Karsten Hopp 9ecdde
      spl_copy = vim_strsave(wp->w_s->b_p_spl);
Karsten Hopp 9ecdde
      if (spl_copy == NULL)
Karsten Hopp 9ecdde
--- 4228,4234 ----
Karsten Hopp 9ecdde
      ga_init2(&ga, sizeof(langp_T), 2);
Karsten Hopp 9ecdde
      clear_midword(wp);
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* Make a copy of 'spelllang', the SpellFileMissing autocommands may change
Karsten Hopp 9ecdde
       * it under our fingers. */
Karsten Hopp 9ecdde
      spl_copy = vim_strsave(wp->w_s->b_p_spl);
Karsten Hopp 9ecdde
      if (spl_copy == NULL)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 7645,7651 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/* Compress both trees.  Either they both have many nodes, which makes
Karsten Hopp 9ecdde
  	 * compression useful, or one of them is small, which means
Karsten Hopp 9ecdde
! 	 * compression goes fast.  But when filling the souldfold word tree
Karsten Hopp 9ecdde
  	 * there is no keep-case tree. */
Karsten Hopp 9ecdde
  	wordtree_compress(spin, spin->si_foldroot);
Karsten Hopp 9ecdde
  	if (affixID >= 0)
Karsten Hopp 9ecdde
--- 7645,7651 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  	/* Compress both trees.  Either they both have many nodes, which makes
Karsten Hopp 9ecdde
  	 * compression useful, or one of them is small, which means
Karsten Hopp 9ecdde
! 	 * compression goes fast.  But when filling the soundfold word tree
Karsten Hopp 9ecdde
  	 * there is no keep-case tree. */
Karsten Hopp 9ecdde
  	wordtree_compress(spin, spin->si_foldroot);
Karsten Hopp 9ecdde
  	if (affixID >= 0)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 8671,8677 ****
Karsten Hopp 9ecdde
      unsigned	words_done = 0;
Karsten Hopp 9ecdde
      int		wordcount[MAXWLEN];
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* We use si_foldroot for the souldfolded trie. */
Karsten Hopp 9ecdde
      spin->si_foldroot = wordtree_alloc(spin);
Karsten Hopp 9ecdde
      if (spin->si_foldroot == NULL)
Karsten Hopp 9ecdde
  	return FAIL;
Karsten Hopp 9ecdde
--- 8671,8677 ----
Karsten Hopp 9ecdde
      unsigned	words_done = 0;
Karsten Hopp 9ecdde
      int		wordcount[MAXWLEN];
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* We use si_foldroot for the soundfolded trie. */
Karsten Hopp 9ecdde
      spin->si_foldroot = wordtree_alloc(spin);
Karsten Hopp 9ecdde
      if (spin->si_foldroot == NULL)
Karsten Hopp 9ecdde
  	return FAIL;
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 13019,13025 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * Combine the list of suggestions in su->su_ga and su->su_sga.
Karsten Hopp 9ecdde
!  * They are intwined.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      static void
Karsten Hopp 9ecdde
  score_combine(su)
Karsten Hopp 9ecdde
--- 13019,13025 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * Combine the list of suggestions in su->su_ga and su->su_sga.
Karsten Hopp 9ecdde
!  * They are entwined.
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
      static void
Karsten Hopp 9ecdde
  score_combine(su)
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 13457,13463 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  		/* Add a small penalty for changing the first letter from
Karsten Hopp 9ecdde
  		 * lower to upper case.  Helps for "tath" -> "Kath", which is
Karsten Hopp 9ecdde
! 		 * less common thatn "tath" -> "path".  Don't do it when the
Karsten Hopp 9ecdde
  		 * letter is the same, that has already been counted. */
Karsten Hopp 9ecdde
  		gc = PTR2CHAR(p);
Karsten Hopp 9ecdde
  		if (SPELL_ISUPPER(gc))
Karsten Hopp 9ecdde
--- 13457,13463 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  		/* Add a small penalty for changing the first letter from
Karsten Hopp 9ecdde
  		 * lower to upper case.  Helps for "tath" -> "Kath", which is
Karsten Hopp 9ecdde
! 		 * less common than "tath" -> "path".  Don't do it when the
Karsten Hopp 9ecdde
  		 * letter is the same, that has already been counted. */
Karsten Hopp 9ecdde
  		gc = PTR2CHAR(p);
Karsten Hopp 9ecdde
  		if (SPELL_ISUPPER(gc))
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/structs.h	2013-04-15 12:27:30.000000000 +0200
Karsten Hopp 9ecdde
--- src/structs.h	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 1215,1221 ****
Karsten Hopp 9ecdde
  #ifdef FEAT_SYN_HL
Karsten Hopp 9ecdde
      hashtab_T	b_keywtab;		/* syntax keywords hash table */
Karsten Hopp 9ecdde
      hashtab_T	b_keywtab_ic;		/* idem, ignore case */
Karsten Hopp 9ecdde
!     int		b_syn_error;		/* TRUE when error occured in HL */
Karsten Hopp 9ecdde
      int		b_syn_ic;		/* ignore case for :syn cmds */
Karsten Hopp 9ecdde
      int		b_syn_spell;		/* SYNSPL_ values */
Karsten Hopp 9ecdde
      garray_T	b_syn_patterns;		/* table for syntax patterns */
Karsten Hopp 9ecdde
--- 1215,1221 ----
Karsten Hopp 9ecdde
  #ifdef FEAT_SYN_HL
Karsten Hopp 9ecdde
      hashtab_T	b_keywtab;		/* syntax keywords hash table */
Karsten Hopp 9ecdde
      hashtab_T	b_keywtab_ic;		/* idem, ignore case */
Karsten Hopp 9ecdde
!     int		b_syn_error;		/* TRUE when error occurred in HL */
Karsten Hopp 9ecdde
      int		b_syn_ic;		/* ignore case for :syn cmds */
Karsten Hopp 9ecdde
      int		b_syn_spell;		/* SYNSPL_ values */
Karsten Hopp 9ecdde
      garray_T	b_syn_patterns;		/* table for syntax patterns */
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/syntax.c	2013-05-04 03:42:30.000000000 +0200
Karsten Hopp 9ecdde
--- src/syntax.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 6069,6075 ****
Karsten Hopp 9ecdde
      static int	depth = 0;
Karsten Hopp 9ecdde
      int		r;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* If spp has a "containedin" list and "cur_si" is in it, return TRUE. */
Karsten Hopp 9ecdde
      if (cur_si != NULL && ssp->cont_in_list != NULL
Karsten Hopp 9ecdde
  					    && !(cur_si->si_flags & HL_MATCH))
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
--- 6069,6075 ----
Karsten Hopp 9ecdde
      static int	depth = 0;
Karsten Hopp 9ecdde
      int		r;
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
!     /* If ssp has a "containedin" list and "cur_si" is in it, return TRUE. */
Karsten Hopp 9ecdde
      if (cur_si != NULL && ssp->cont_in_list != NULL
Karsten Hopp 9ecdde
  					    && !(cur_si->si_flags & HL_MATCH))
Karsten Hopp 9ecdde
      {
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/window.c	2013-04-15 15:55:15.000000000 +0200
Karsten Hopp 9ecdde
--- src/window.c	2013-05-06 04:06:04.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 3687,3693 ****
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * Prepare for leaving the current tab page.
Karsten Hopp 9ecdde
!  * When autocomands change "curtab" we don't leave the tab page and return
Karsten Hopp 9ecdde
   * FAIL.
Karsten Hopp 9ecdde
   * Careful: When OK is returned need to get a new tab page very very soon!
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
--- 3687,3693 ----
Karsten Hopp 9ecdde
  
Karsten Hopp 9ecdde
  /*
Karsten Hopp 9ecdde
   * Prepare for leaving the current tab page.
Karsten Hopp 9ecdde
!  * When autocommands change "curtab" we don't leave the tab page and return
Karsten Hopp 9ecdde
   * FAIL.
Karsten Hopp 9ecdde
   * Careful: When OK is returned need to get a new tab page very very soon!
Karsten Hopp 9ecdde
   */
Karsten Hopp 9ecdde
*** ../vim-7.3.924/vimtutor.com	2010-08-15 21:57:32.000000000 +0200
Karsten Hopp 9ecdde
--- vimtutor.com	2013-05-06 04:04:07.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 30,36 ****
Karsten Hopp 9ecdde
  $ !
Karsten Hopp 9ecdde
  $	if f$search ("vim:vim.exe") .eqs. ""
Karsten Hopp 9ecdde
  $	then
Karsten Hopp 9ecdde
! $	    write sys$error "Error - Can't run tutoral. VIM not found."
Karsten Hopp 9ecdde
  $	    exit
Karsten Hopp 9ecdde
  $	endif
Karsten Hopp 9ecdde
  $ !
Karsten Hopp 9ecdde
--- 30,36 ----
Karsten Hopp 9ecdde
  $ !
Karsten Hopp 9ecdde
  $	if f$search ("vim:vim.exe") .eqs. ""
Karsten Hopp 9ecdde
  $	then
Karsten Hopp 9ecdde
! $	    write sys$error "Error - Can't run tutorial. VIM not found."
Karsten Hopp 9ecdde
  $	    exit
Karsten Hopp 9ecdde
  $	endif
Karsten Hopp 9ecdde
  $ !
Karsten Hopp 9ecdde
*** ../vim-7.3.924/src/version.c	2013-05-06 03:52:44.000000000 +0200
Karsten Hopp 9ecdde
--- src/version.c	2013-05-06 04:03:10.000000000 +0200
Karsten Hopp 9ecdde
***************
Karsten Hopp 9ecdde
*** 730,731 ****
Karsten Hopp 9ecdde
--- 730,733 ----
Karsten Hopp 9ecdde
  {   /* Add new patch number below this line */
Karsten Hopp 9ecdde
+ /**/
Karsten Hopp 9ecdde
+     925,
Karsten Hopp 9ecdde
  /**/
Karsten Hopp 9ecdde
Karsten Hopp 9ecdde
-- 
Karsten Hopp 9ecdde
    A KNIGHT rides into shot and hacks him to the ground.  He rides off.
Karsten Hopp 9ecdde
    We stay for a moment on the glade.  A MIDDLE-AGED LADY in a C. & A.
Karsten Hopp 9ecdde
    twin-set emerges from the trees and looks in horror at the body of her
Karsten Hopp 9ecdde
    HUSBAND.
Karsten Hopp 9ecdde
MRS HISTORIAN: FRANK!
Karsten Hopp 9ecdde
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 9ecdde
Karsten Hopp 9ecdde
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 9ecdde
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 9ecdde
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 9ecdde
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///