|
Karsten Hopp |
67b9f0 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
67b9f0 |
Subject: Patch 7.3.719
|
|
Karsten Hopp |
67b9f0 |
Fcc: outbox
|
|
Karsten Hopp |
67b9f0 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
67b9f0 |
Mime-Version: 1.0
|
|
Karsten Hopp |
67b9f0 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
67b9f0 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
67b9f0 |
------------
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
Patch 7.3.719
|
|
Karsten Hopp |
67b9f0 |
Problem: Cannot run new version of cproto, it fails on missing include
|
|
Karsten Hopp |
67b9f0 |
files.
|
|
Karsten Hopp |
67b9f0 |
Solution: Add lots of #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
Files: src/os_amiga.c, src/os_amiga.h, src/gui_w16.c, src/gui_w48.c,
|
|
Karsten Hopp |
67b9f0 |
src/gui_w32.c, src/vimio.h, src/os_msdos.c, src/os_msdos.h,
|
|
Karsten Hopp |
67b9f0 |
src/os_win16.h, src/os_win16.c, src/os_win32.h, src/os_win32.c,
|
|
Karsten Hopp |
67b9f0 |
src/os_mswin.c, src/gui_photon.c, src/os_unix.h, src/os_beos.c,
|
|
Karsten Hopp |
67b9f0 |
src/os_beos.h
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_amiga.c 2012-06-29 15:51:26.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_amiga.c 2012-11-20 15:47:31.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 22,27 ****
|
|
Karsten Hopp |
67b9f0 |
--- 22,30 ----
|
|
Karsten Hopp |
67b9f0 |
#undef TRUE /* will be redefined by exec/types.h */
|
|
Karsten Hopp |
67b9f0 |
#undef FALSE
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ /* cproto fails on missing include files, skip them */
|
|
Karsten Hopp |
67b9f0 |
+ #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
#ifndef LATTICE
|
|
Karsten Hopp |
67b9f0 |
# include <exec/types.h>
|
|
Karsten Hopp |
67b9f0 |
# include <exec/exec.h>
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 55,60 ****
|
|
Karsten Hopp |
67b9f0 |
--- 58,65 ----
|
|
Karsten Hopp |
67b9f0 |
# include <libraries/arp_pragmas.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #endif /* PROTO */
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* At this point TRUE and FALSE are defined as 1L and 0L, but we want 1 and 0.
|
|
Karsten Hopp |
67b9f0 |
*/
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 283,289 ****
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
}
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <workbench/startup.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* Check_win checks whether we have an interactive window.
|
|
Karsten Hopp |
67b9f0 |
--- 288,296 ----
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
}
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <workbench/startup.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* Check_win checks whether we have an interactive window.
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 1002,1008 ****
|
|
Karsten Hopp |
67b9f0 |
* Heavely modified by mool.
|
|
Karsten Hopp |
67b9f0 |
*/
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <devices/conunit.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* try to get the real window size
|
|
Karsten Hopp |
67b9f0 |
--- 1009,1017 ----
|
|
Karsten Hopp |
67b9f0 |
* Heavely modified by mool.
|
|
Karsten Hopp |
67b9f0 |
*/
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <devices/conunit.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* try to get the real window size
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 1129,1137 ****
|
|
Karsten Hopp |
67b9f0 |
* say 'oml lib:amiga.lib -r sendpacket.o'
|
|
Karsten Hopp |
67b9f0 |
*/
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/* #include <proto/exec.h> */
|
|
Karsten Hopp |
67b9f0 |
/* #include <proto/dos.h> */
|
|
Karsten Hopp |
67b9f0 |
! #include <exec/memory.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* Function - dos_packet written by Phil Lindsay, Carolyn Scheppner, and Andy
|
|
Karsten Hopp |
67b9f0 |
--- 1138,1148 ----
|
|
Karsten Hopp |
67b9f0 |
* say 'oml lib:amiga.lib -r sendpacket.o'
|
|
Karsten Hopp |
67b9f0 |
*/
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
/* #include <proto/exec.h> */
|
|
Karsten Hopp |
67b9f0 |
/* #include <proto/dos.h> */
|
|
Karsten Hopp |
67b9f0 |
! # include <exec/memory.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* Function - dos_packet written by Phil Lindsay, Carolyn Scheppner, and Andy
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_amiga.h 2010-08-15 21:57:25.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_amiga.h 2012-11-20 15:46:37.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 56,61 ****
|
|
Karsten Hopp |
67b9f0 |
--- 56,64 ----
|
|
Karsten Hopp |
67b9f0 |
# define TEMPNAMELEN 12
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
+ #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
#include <exec/types.h>
|
|
Karsten Hopp |
67b9f0 |
#include <libraries/dos.h>
|
|
Karsten Hopp |
67b9f0 |
#include <libraries/dosextens.h>
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 67,72 ****
|
|
Karsten Hopp |
67b9f0 |
--- 70,77 ----
|
|
Karsten Hopp |
67b9f0 |
# include <proto/intuition.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #endif /* PROTO */
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
#define FNAME_ILLEGAL ";*?`#%" /* illegal characters in a file name */
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 85,90 ****
|
|
Karsten Hopp |
67b9f0 |
--- 90,96 ----
|
|
Karsten Hopp |
67b9f0 |
# include <unistd.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* arpbase.h must be included before functions.h
|
|
Karsten Hopp |
67b9f0 |
*/
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 92,97 ****
|
|
Karsten Hopp |
67b9f0 |
--- 98,105 ----
|
|
Karsten Hopp |
67b9f0 |
# include <libraries/arpbase.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #endif /* PROTO */
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* This won't be needed if you have a version of Lattice 4.01 without broken
|
|
Karsten Hopp |
67b9f0 |
* break signal handling.
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/gui_w16.c 2012-02-04 22:01:44.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
--- src/gui_w16.c 2012-11-20 15:55:04.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 1521,1527 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if defined(FEAT_TOOLBAR) || defined(PROTO)
|
|
Karsten Hopp |
67b9f0 |
! #include "gui_w3~1.h"
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* Create the toolbar, initially unpopulated.
|
|
Karsten Hopp |
67b9f0 |
* (just like the menu, there are no defaults, it's all
|
|
Karsten Hopp |
67b9f0 |
--- 1521,1532 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if defined(FEAT_TOOLBAR) || defined(PROTO)
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include "gui_w3~1.h"
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* Create the toolbar, initially unpopulated.
|
|
Karsten Hopp |
67b9f0 |
* (just like the menu, there are no defaults, it's all
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/gui_w48.c 2012-01-20 20:54:15.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
--- src/gui_w48.c 2012-11-20 15:53:49.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 25,30 ****
|
|
Karsten Hopp |
67b9f0 |
--- 25,34 ----
|
|
Karsten Hopp |
67b9f0 |
#ifdef DEBUG
|
|
Karsten Hopp |
67b9f0 |
# include <tchar.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
+ /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
+ #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
#ifndef __MINGW32__
|
|
Karsten Hopp |
67b9f0 |
# include <shellapi.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 44,49 ****
|
|
Karsten Hopp |
67b9f0 |
--- 48,55 ----
|
|
Karsten Hopp |
67b9f0 |
# include "glbl_ime.h"
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #endif /* PROTO */
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
#ifdef FEAT_MENU
|
|
Karsten Hopp |
67b9f0 |
# define MENUHINTS /* show menu hints in command line */
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/gui_w32.c 2012-01-04 20:29:18.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
--- src/gui_w32.c 2012-11-20 15:56:31.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 198,208 ****
|
|
Karsten Hopp |
67b9f0 |
static UINT_PTR BevalTimerId = 0;
|
|
Karsten Hopp |
67b9f0 |
static DWORD LastActivity = 0;
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* excerpts from headers since this may not be presented
|
|
Karsten Hopp |
67b9f0 |
* in the extremely old compilers
|
|
Karsten Hopp |
67b9f0 |
*/
|
|
Karsten Hopp |
67b9f0 |
! #include <pshpack1.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
typedef struct _DllVersionInfo
|
|
Karsten Hopp |
67b9f0 |
{
|
|
Karsten Hopp |
67b9f0 |
--- 198,214 ----
|
|
Karsten Hopp |
67b9f0 |
static UINT_PTR BevalTimerId = 0;
|
|
Karsten Hopp |
67b9f0 |
static DWORD LastActivity = 0;
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
+ /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
+ #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* excerpts from headers since this may not be presented
|
|
Karsten Hopp |
67b9f0 |
* in the extremely old compilers
|
|
Karsten Hopp |
67b9f0 |
*/
|
|
Karsten Hopp |
67b9f0 |
! # include <pshpack1.h>
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
typedef struct _DllVersionInfo
|
|
Karsten Hopp |
67b9f0 |
{
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 213,219 ****
|
|
Karsten Hopp |
67b9f0 |
DWORD dwPlatformID;
|
|
Karsten Hopp |
67b9f0 |
} DLLVERSIONINFO;
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <poppack.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
typedef struct tagTOOLINFOA_NEW
|
|
Karsten Hopp |
67b9f0 |
{
|
|
Karsten Hopp |
67b9f0 |
--- 219,227 ----
|
|
Karsten Hopp |
67b9f0 |
DWORD dwPlatformID;
|
|
Karsten Hopp |
67b9f0 |
} DLLVERSIONINFO;
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <poppack.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
typedef struct tagTOOLINFOA_NEW
|
|
Karsten Hopp |
67b9f0 |
{
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/vimio.h 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/vimio.h 2012-11-20 15:57:19.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 13,16 ****
|
|
Karsten Hopp |
67b9f0 |
# define _CRT_NONSTDC_NO_DEPRECATE
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <io.h>
|
|
Karsten Hopp |
67b9f0 |
--- 13,19 ----
|
|
Karsten Hopp |
67b9f0 |
# define _CRT_NONSTDC_NO_DEPRECATE
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <io.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_msdos.c 2012-06-29 15:51:26.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_msdos.c 2012-11-20 15:59:18.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 23,29 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include "vim.h"
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <conio.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* MS-DOS only code, not used for Win16.
|
|
Karsten Hopp |
67b9f0 |
--- 23,32 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include "vim.h"
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <conio.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* MS-DOS only code, not used for Win16.
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 31,47 ****
|
|
Karsten Hopp |
67b9f0 |
#ifndef WIN16
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <bios.h>
|
|
Karsten Hopp |
67b9f0 |
! #ifdef DJGPP
|
|
Karsten Hopp |
67b9f0 |
! # include <dpmi.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <signal.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <sys/movedata.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <crt0.h>
|
|
Karsten Hopp |
67b9f0 |
! # ifdef FEAT_CLIPBOARD
|
|
Karsten Hopp |
67b9f0 |
! # include <sys/segments.h>
|
|
Karsten Hopp |
67b9f0 |
# endif
|
|
Karsten Hopp |
67b9f0 |
- #else
|
|
Karsten Hopp |
67b9f0 |
- # include <alloc.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if defined(DJGPP) || defined(PROTO)
|
|
Karsten Hopp |
67b9f0 |
--- 34,52 ----
|
|
Karsten Hopp |
67b9f0 |
#ifndef WIN16
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <bios.h>
|
|
Karsten Hopp |
67b9f0 |
! # ifdef DJGPP
|
|
Karsten Hopp |
67b9f0 |
! # include <dpmi.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <signal.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <sys/movedata.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <crt0.h>
|
|
Karsten Hopp |
67b9f0 |
! # ifdef FEAT_CLIPBOARD
|
|
Karsten Hopp |
67b9f0 |
! # include <sys/segments.h>
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
! # else
|
|
Karsten Hopp |
67b9f0 |
! # include <alloc.h>
|
|
Karsten Hopp |
67b9f0 |
# endif
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if defined(DJGPP) || defined(PROTO)
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 2130,2137 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#undef setlocale
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <go32.h>
|
|
Karsten Hopp |
67b9f0 |
! #include <inlines/ctype.ha>
|
|
Karsten Hopp |
67b9f0 |
#include <locale.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#define UPCASE (__dj_ISALNUM | __dj_ISALPHA | __dj_ISGRAPH | __dj_ISPRINT | __dj_ISUPPER)
|
|
Karsten Hopp |
67b9f0 |
--- 2135,2144 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#undef setlocale
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <go32.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <inlines/ctype.ha>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
#include <locale.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#define UPCASE (__dj_ISALNUM | __dj_ISALPHA | __dj_ISGRAPH | __dj_ISPRINT | __dj_ISUPPER)
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_msdos.h 2010-08-15 21:57:25.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_msdos.h 2012-11-20 15:57:48.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 53,61 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#define FNAME_ILLEGAL "\"*?><|" /* illegal characters in a file name */
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <dos.h>
|
|
Karsten Hopp |
67b9f0 |
! #include <dir.h>
|
|
Karsten Hopp |
67b9f0 |
! #include <time.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifdef DJGPP
|
|
Karsten Hopp |
67b9f0 |
# include <unistd.h>
|
|
Karsten Hopp |
67b9f0 |
--- 53,64 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#define FNAME_ILLEGAL "\"*?><|" /* illegal characters in a file name */
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <dos.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <dir.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <time.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifdef DJGPP
|
|
Karsten Hopp |
67b9f0 |
# include <unistd.h>
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_win16.h 2010-08-15 21:57:25.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_win16.h 2012-11-20 16:00:33.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 63,78 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include <stdlib.h>
|
|
Karsten Hopp |
67b9f0 |
#include <time.h>
|
|
Karsten Hopp |
67b9f0 |
- #include <dos.h>
|
|
Karsten Hopp |
67b9f0 |
- #include <dir.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef STRICT
|
|
Karsten Hopp |
67b9f0 |
! # define STRICT
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
! #ifndef COBJMACROS
|
|
Karsten Hopp |
67b9f0 |
! # define COBJMACROS /* For OLE: Enable "friendlier" access to objects */
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
! #include <windows.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* plenty of memory, use large buffers
|
|
Karsten Hopp |
67b9f0 |
--- 63,83 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include <stdlib.h>
|
|
Karsten Hopp |
67b9f0 |
#include <time.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <dos.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <dir.h>
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
! # ifndef STRICT
|
|
Karsten Hopp |
67b9f0 |
! # define STRICT
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
! # ifndef COBJMACROS
|
|
Karsten Hopp |
67b9f0 |
! # define COBJMACROS /* For OLE: Enable "friendlier" access to objects */
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
! # include <windows.h>
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
! #endif /* PROTO */
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* plenty of memory, use large buffers
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_win16.c 2012-06-29 15:51:26.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_win16.c 2012-11-20 16:01:50.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 22,37 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include "vim.h"
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <dos.h>
|
|
Karsten Hopp |
67b9f0 |
#include <string.h>
|
|
Karsten Hopp |
67b9f0 |
#include <sys/types.h>
|
|
Karsten Hopp |
67b9f0 |
#include <signal.h>
|
|
Karsten Hopp |
67b9f0 |
#include <limits.h>
|
|
Karsten Hopp |
67b9f0 |
- #include <process.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #undef chdir
|
|
Karsten Hopp |
67b9f0 |
! #include <direct.h>
|
|
Karsten Hopp |
67b9f0 |
! #include <shellapi.h> /* required for FindExecutable() */
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/* Record all output and all keyboard & mouse input */
|
|
Karsten Hopp |
67b9f0 |
--- 22,44 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include "vim.h"
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <dos.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
#include <string.h>
|
|
Karsten Hopp |
67b9f0 |
#include <sys/types.h>
|
|
Karsten Hopp |
67b9f0 |
#include <signal.h>
|
|
Karsten Hopp |
67b9f0 |
#include <limits.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <process.h>
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
! # undef chdir
|
|
Karsten Hopp |
67b9f0 |
! # include <direct.h>
|
|
Karsten Hopp |
67b9f0 |
! # include <shellapi.h> /* required for FindExecutable() */
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/* Record all output and all keyboard & mouse input */
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_win32.h 2012-10-21 21:38:42.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_win32.h 2012-11-20 16:09:59.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 12,18 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include "os_dos.h" /* common MS-DOS and Win32 stuff */
|
|
Karsten Hopp |
67b9f0 |
#ifndef __CYGWIN__
|
|
Karsten Hopp |
67b9f0 |
! #include <direct.h> /* for _mkdir() */
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/* Stop the VC2005 compiler from nagging. */
|
|
Karsten Hopp |
67b9f0 |
--- 12,21 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include "os_dos.h" /* common MS-DOS and Win32 stuff */
|
|
Karsten Hopp |
67b9f0 |
#ifndef __CYGWIN__
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! # ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <direct.h> /* for _mkdir() */
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/* Stop the VC2005 compiler from nagging. */
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 101,107 ****
|
|
Karsten Hopp |
67b9f0 |
#ifndef COBJMACROS
|
|
Karsten Hopp |
67b9f0 |
# define COBJMACROS /* For OLE: Enable "friendlier" access to objects */
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
! #include <windows.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* Win32 has plenty of memory, use large buffers
|
|
Karsten Hopp |
67b9f0 |
--- 104,112 ----
|
|
Karsten Hopp |
67b9f0 |
#ifndef COBJMACROS
|
|
Karsten Hopp |
67b9f0 |
# define COBJMACROS /* For OLE: Enable "friendlier" access to objects */
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <windows.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* Win32 has plenty of memory, use large buffers
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 194,199 ****
|
|
Karsten Hopp |
67b9f0 |
--- 199,206 ----
|
|
Karsten Hopp |
67b9f0 |
# define vim_mkdir(x, y) mch_mkdir(x)
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
/* Enable common dialogs input unicode from IME if posible. */
|
|
Karsten Hopp |
67b9f0 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
67b9f0 |
/* The variables are defined in os_win32.c. */
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 207,209 ****
|
|
Karsten Hopp |
67b9f0 |
--- 214,218 ----
|
|
Karsten Hopp |
67b9f0 |
# define pIsDialogMessage IsDialogMessage
|
|
Karsten Hopp |
67b9f0 |
# define pPeekMessage PeekMessage
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
+ #endif /* PROTO */
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_win32.c 2012-10-21 21:38:42.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_win32.c 2012-11-20 16:12:09.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 29,35 ****
|
|
Karsten Hopp |
67b9f0 |
#include <sys/types.h>
|
|
Karsten Hopp |
67b9f0 |
#include <signal.h>
|
|
Karsten Hopp |
67b9f0 |
#include <limits.h>
|
|
Karsten Hopp |
67b9f0 |
! #include <process.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#undef chdir
|
|
Karsten Hopp |
67b9f0 |
#ifdef __GNUC__
|
|
Karsten Hopp |
67b9f0 |
--- 29,39 ----
|
|
Karsten Hopp |
67b9f0 |
#include <sys/types.h>
|
|
Karsten Hopp |
67b9f0 |
#include <signal.h>
|
|
Karsten Hopp |
67b9f0 |
#include <limits.h>
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <process.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#undef chdir
|
|
Karsten Hopp |
67b9f0 |
#ifdef __GNUC__
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 40,47 ****
|
|
Karsten Hopp |
67b9f0 |
# include <direct.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #if defined(FEAT_TITLE) && !defined(FEAT_GUI_W32)
|
|
Karsten Hopp |
67b9f0 |
! # include <shellapi.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifdef __MINGW32__
|
|
Karsten Hopp |
67b9f0 |
--- 44,53 ----
|
|
Karsten Hopp |
67b9f0 |
# include <direct.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # if defined(FEAT_TITLE) && !defined(FEAT_GUI_W32)
|
|
Karsten Hopp |
67b9f0 |
! # include <shellapi.h>
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifdef __MINGW32__
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 125,130 ****
|
|
Karsten Hopp |
67b9f0 |
--- 131,137 ----
|
|
Karsten Hopp |
67b9f0 |
typedef int WORD;
|
|
Karsten Hopp |
67b9f0 |
typedef int WCHAR;
|
|
Karsten Hopp |
67b9f0 |
typedef void VOID;
|
|
Karsten Hopp |
67b9f0 |
+ typedef int BY_HANDLE_FILE_INFORMATION;
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifndef FEAT_GUI_W32
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 152,157 ****
|
|
Karsten Hopp |
67b9f0 |
--- 159,166 ----
|
|
Karsten Hopp |
67b9f0 |
# define wcsicmp(a, b) wcscmpi((a), (b))
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
/* Enable common dialogs input unicode from IME if posible. */
|
|
Karsten Hopp |
67b9f0 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
67b9f0 |
LRESULT (WINAPI *pDispatchMessage)(LPMSG) = DispatchMessage;
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 160,165 ****
|
|
Karsten Hopp |
67b9f0 |
--- 169,176 ----
|
|
Karsten Hopp |
67b9f0 |
BOOL (WINAPI *pPeekMessage)(LPMSG, HWND, UINT, UINT, UINT) = PeekMessage;
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #endif /* PROTO */
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
#ifndef FEAT_GUI_W32
|
|
Karsten Hopp |
67b9f0 |
/* Win32 Console handles for input and output */
|
|
Karsten Hopp |
67b9f0 |
static HANDLE g_hConIn = INVALID_HANDLE_VALUE;
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 453,459 ****
|
|
Karsten Hopp |
67b9f0 |
DWORD g_PlatformId;
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifdef HAVE_ACL
|
|
Karsten Hopp |
67b9f0 |
! # include <aclapi.h>
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* These are needed to dynamically load the ADVAPI DLL, which is not
|
|
Karsten Hopp |
67b9f0 |
* implemented under Windows 95 (and causes VIM to crash)
|
|
Karsten Hopp |
67b9f0 |
--- 464,473 ----
|
|
Karsten Hopp |
67b9f0 |
DWORD g_PlatformId;
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifdef HAVE_ACL
|
|
Karsten Hopp |
67b9f0 |
! # ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <aclapi.h>
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* These are needed to dynamically load the ADVAPI DLL, which is not
|
|
Karsten Hopp |
67b9f0 |
* implemented under Windows 95 (and causes VIM to crash)
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 1658,1665 ****
|
|
Karsten Hopp |
67b9f0 |
#endif /* FEAT_GUI_W32 */
|
|
Karsten Hopp |
67b9f0 |
}
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef __MINGW32__
|
|
Karsten Hopp |
67b9f0 |
! # include <shellapi.h> /* required for FindExecutable() */
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
--- 1672,1681 ----
|
|
Karsten Hopp |
67b9f0 |
#endif /* FEAT_GUI_W32 */
|
|
Karsten Hopp |
67b9f0 |
}
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # ifndef __MINGW32__
|
|
Karsten Hopp |
67b9f0 |
! # include <shellapi.h> /* required for FindExecutable() */
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_mswin.c 2011-11-30 13:42:40.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
--- src/os_mswin.c 2012-11-20 16:15:05.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 26,38 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifdef WIN16
|
|
Karsten Hopp |
67b9f0 |
# define SHORT_FNAME /* always 8.3 file name */
|
|
Karsten Hopp |
67b9f0 |
! # include <dos.h>
|
|
Karsten Hopp |
67b9f0 |
# include <string.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
#include <sys/types.h>
|
|
Karsten Hopp |
67b9f0 |
#include <signal.h>
|
|
Karsten Hopp |
67b9f0 |
#include <limits.h>
|
|
Karsten Hopp |
67b9f0 |
! #include <process.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#undef chdir
|
|
Karsten Hopp |
67b9f0 |
#ifdef __GNUC__
|
|
Karsten Hopp |
67b9f0 |
--- 26,43 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifdef WIN16
|
|
Karsten Hopp |
67b9f0 |
# define SHORT_FNAME /* always 8.3 file name */
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! # ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <dos.h>
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
# include <string.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
#include <sys/types.h>
|
|
Karsten Hopp |
67b9f0 |
#include <signal.h>
|
|
Karsten Hopp |
67b9f0 |
#include <limits.h>
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <process.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#undef chdir
|
|
Karsten Hopp |
67b9f0 |
#ifdef __GNUC__
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 43,62 ****
|
|
Karsten Hopp |
67b9f0 |
# include <direct.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #if defined(FEAT_TITLE) && !defined(FEAT_GUI_W32)
|
|
Karsten Hopp |
67b9f0 |
! # include <shellapi.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
! #if defined(FEAT_PRINTER) && !defined(FEAT_POSTSCRIPT)
|
|
Karsten Hopp |
67b9f0 |
! # include <dlgs.h>
|
|
Karsten Hopp |
67b9f0 |
! # ifdef WIN3264
|
|
Karsten Hopp |
67b9f0 |
! # include <winspool.h>
|
|
Karsten Hopp |
67b9f0 |
! # else
|
|
Karsten Hopp |
67b9f0 |
! # include <print.h>
|
|
Karsten Hopp |
67b9f0 |
# endif
|
|
Karsten Hopp |
67b9f0 |
! # include <commdlg.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#ifdef __MINGW32__
|
|
Karsten Hopp |
67b9f0 |
# ifndef FROM_LEFT_1ST_BUTTON_PRESSED
|
|
Karsten Hopp |
67b9f0 |
# define FROM_LEFT_1ST_BUTTON_PRESSED 0x0001
|
|
Karsten Hopp |
67b9f0 |
--- 48,70 ----
|
|
Karsten Hopp |
67b9f0 |
# include <direct.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # if defined(FEAT_TITLE) && !defined(FEAT_GUI_W32)
|
|
Karsten Hopp |
67b9f0 |
! # include <shellapi.h>
|
|
Karsten Hopp |
67b9f0 |
# endif
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
! # if defined(FEAT_PRINTER) && !defined(FEAT_POSTSCRIPT)
|
|
Karsten Hopp |
67b9f0 |
! # include <dlgs.h>
|
|
Karsten Hopp |
67b9f0 |
! # ifdef WIN3264
|
|
Karsten Hopp |
67b9f0 |
! # include <winspool.h>
|
|
Karsten Hopp |
67b9f0 |
! # else
|
|
Karsten Hopp |
67b9f0 |
! # include <print.h>
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
! # include <commdlg.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #endif /* PROTO */
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
#ifdef __MINGW32__
|
|
Karsten Hopp |
67b9f0 |
# ifndef FROM_LEFT_1ST_BUTTON_PRESSED
|
|
Karsten Hopp |
67b9f0 |
# define FROM_LEFT_1ST_BUTTON_PRESSED 0x0001
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 2410,2416 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if defined(FEAT_SHORTCUT) || defined(PROTO)
|
|
Karsten Hopp |
67b9f0 |
! # include <shlobj.h>
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* When "fname" is the name of a shortcut (*.lnk) resolve the file it points
|
|
Karsten Hopp |
67b9f0 |
--- 2418,2426 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if defined(FEAT_SHORTCUT) || defined(PROTO)
|
|
Karsten Hopp |
67b9f0 |
! # ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <shlobj.h>
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/*
|
|
Karsten Hopp |
67b9f0 |
* When "fname" is the name of a shortcut (*.lnk) resolve the file it points
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/gui_photon.c 2011-09-14 16:04:52.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/gui_photon.c 2012-11-20 16:16:11.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 13,20 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include "vim.h"
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifdef FEAT_TOOLBAR
|
|
Karsten Hopp |
67b9f0 |
! # include <photon/PxImage.h>
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if !defined(__QNX__)
|
|
Karsten Hopp |
67b9f0 |
--- 13,23 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include "vim.h"
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! /* cproto fails on missing include files */
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # ifdef FEAT_TOOLBAR
|
|
Karsten Hopp |
67b9f0 |
! # include <photon/PxImage.h>
|
|
Karsten Hopp |
67b9f0 |
! # endif
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if !defined(__QNX__)
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_unix.h 2011-02-25 15:17:14.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
--- src/os_unix.h 2012-11-20 16:51:06.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 198,203 ****
|
|
Karsten Hopp |
67b9f0 |
--- 198,206 ----
|
|
Karsten Hopp |
67b9f0 |
# define HAVE_TOTAL_MEM
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
+ #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
#ifdef VMS
|
|
Karsten Hopp |
67b9f0 |
# include <unixio.h>
|
|
Karsten Hopp |
67b9f0 |
# include <unixlib.h>
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 226,232 ****
|
|
Karsten Hopp |
67b9f0 |
--- 229,239 ----
|
|
Karsten Hopp |
67b9f0 |
# ifdef FEAT_GUI_GTK
|
|
Karsten Hopp |
67b9f0 |
# include "gui_gtk_vms.h"
|
|
Karsten Hopp |
67b9f0 |
# endif
|
|
Karsten Hopp |
67b9f0 |
+ #endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
+ #endif /* PROTO */
|
|
Karsten Hopp |
67b9f0 |
+
|
|
Karsten Hopp |
67b9f0 |
+ #ifdef VMS
|
|
Karsten Hopp |
67b9f0 |
typedef struct dsc$descriptor DESC;
|
|
Karsten Hopp |
67b9f0 |
#endif
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_beos.c 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_beos.c 2012-11-20 16:22:17.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 13,19 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include <float.h>
|
|
Karsten Hopp |
67b9f0 |
#include <termios.h>
|
|
Karsten Hopp |
67b9f0 |
! #include <kernel/OS.h>
|
|
Karsten Hopp |
67b9f0 |
#include "vim.h"
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if USE_THREAD_FOR_INPUT_WITH_TIMEOUT
|
|
Karsten Hopp |
67b9f0 |
--- 13,22 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#include <float.h>
|
|
Karsten Hopp |
67b9f0 |
#include <termios.h>
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <kernel/OS.h>
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
!
|
|
Karsten Hopp |
67b9f0 |
#include "vim.h"
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
#if USE_THREAD_FOR_INPUT_WITH_TIMEOUT
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/os_beos.h 2010-08-15 21:57:32.000000000 +0200
|
|
Karsten Hopp |
67b9f0 |
--- src/os_beos.h 2012-11-20 16:22:48.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 22,25 ****
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/* select emulation */
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #include <net/socket.h> /* for typedefs and #defines only */
|
|
Karsten Hopp |
67b9f0 |
--- 22,27 ----
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/* select emulation */
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
! #ifndef PROTO
|
|
Karsten Hopp |
67b9f0 |
! # include <net/socket.h> /* for typedefs and #defines only */
|
|
Karsten Hopp |
67b9f0 |
! #endif
|
|
Karsten Hopp |
67b9f0 |
*** ../vim-7.3.718/src/version.c 2012-11-20 12:16:54.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
--- src/version.c 2012-11-20 16:32:18.000000000 +0100
|
|
Karsten Hopp |
67b9f0 |
***************
|
|
Karsten Hopp |
67b9f0 |
*** 727,728 ****
|
|
Karsten Hopp |
67b9f0 |
--- 727,730 ----
|
|
Karsten Hopp |
67b9f0 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
67b9f0 |
+ /**/
|
|
Karsten Hopp |
67b9f0 |
+ 719,
|
|
Karsten Hopp |
67b9f0 |
/**/
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
--
|
|
Karsten Hopp |
67b9f0 |
George: "I just got a new set of golf clubs for my wife!"
|
|
Karsten Hopp |
67b9f0 |
John: "Great trade!"
|
|
Karsten Hopp |
67b9f0 |
|
|
Karsten Hopp |
67b9f0 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
67b9f0 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
67b9f0 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
67b9f0 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|