diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-08-09 17:55:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-08-09 17:55:22 +0000 |
commit | ed39e1d53cc4916c2390aea635cd8419497c1460 (patch) | |
tree | 55d468c93579ad2607d56eade9fd6b685cd00c44 /src | |
parent | a6404a4e100ebe2081bd2678166604f402330143 (diff) | |
download | vim-git-ed39e1d53cc4916c2390aea635cd8419497c1460.tar.gz |
Diffstat (limited to 'src')
-rw-r--r-- | src/GvimExt/GvimExt.reg | 4 | ||||
-rw-r--r-- | src/INSTALLx.txt | 2 | ||||
-rw-r--r-- | src/Makefile | 2 | ||||
-rw-r--r-- | src/gui_mac.c | 1 | ||||
-rw-r--r-- | src/gvim.exe.mnf | 12 | ||||
-rw-r--r-- | src/mark.c | 3 | ||||
-rw-r--r-- | src/os_mswin.c | 9 | ||||
-rw-r--r-- | src/syntax.c | 2 | ||||
-rw-r--r-- | src/version.c | 6 | ||||
-rw-r--r-- | src/version.h | 18 | ||||
-rw-r--r-- | src/vim.def | 2 | ||||
-rw-r--r-- | src/vim.h | 8 | ||||
-rw-r--r-- | src/vim16.def | 2 |
13 files changed, 47 insertions, 24 deletions
diff --git a/src/GvimExt/GvimExt.reg b/src/GvimExt/GvimExt.reg index c63c0314b..383628420 100644 --- a/src/GvimExt/GvimExt.reg +++ b/src/GvimExt/GvimExt.reg @@ -15,6 +15,6 @@ REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Vim\Gvim] "path"="gvim.exe" -[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.2c] - "DisplayName"="Vim 7.2c: Edit with Vim popup menu entry" +[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.2] + "DisplayName"="Vim 7.2: Edit with Vim popup menu entry" "UninstallString"="uninstal.exe" diff --git a/src/INSTALLx.txt b/src/INSTALLx.txt index 0ba6a776e..b3e9122b1 100644 --- a/src/INSTALLx.txt +++ b/src/INSTALLx.txt @@ -1,3 +1,5 @@ +INSTALLx.txt - cross-compiling Vim on Unix + Content: 1. Introduction 2. Necessary arguments for "configure" diff --git a/src/Makefile b/src/Makefile index 7fe76900d..e27a6ce0b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -901,7 +901,7 @@ MAN1DIR = /man1 ### Vim version (adjusted by a script) VIMMAJOR = 7 -VIMMINOR = 2c +VIMMINOR = 2 ### Location of Vim files (should not need to be changed, and {{{1 ### some things might not work when they are changed!) diff --git a/src/gui_mac.c b/src/gui_mac.c index 77cd5cad2..d54c11005 100644 --- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -62,6 +62,7 @@ SInt32 gMacSystemVersion; static int im_is_active = FALSE; #if 0 + /* TODO: Implement me! */ static int im_start_row = 0; static int im_start_col = 0; #endif diff --git a/src/gvim.exe.mnf b/src/gvim.exe.mnf index 6b2424ed8..21f1c2e90 100644 --- a/src/gvim.exe.mnf +++ b/src/gvim.exe.mnf @@ -2,7 +2,7 @@ <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity processorArchitecture="*" - version="7.1.0.0" + version="7.2.0.0" type="win32" name="Vim" /> @@ -19,4 +19,14 @@ /> </dependentAssembly> </dependency> + <!-- Vista security requirements --> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> + <security> + <requestedPrivileges> + <requestedExecutionLevel + level="asInvoker" + uiAccess="false"/> + </requestedPrivileges> + </security> + </trustInfo> </assembly> diff --git a/src/mark.c b/src/mark.c index 742896986..2adf098f5 100644 --- a/src/mark.c +++ b/src/mark.c @@ -907,7 +907,10 @@ ex_jumps(eap) msg_putchar('\n'); if (got_int) + { + vim_free(name); break; + } sprintf((char *)IObuff, "%c %2d %5ld %4d ", i == curwin->w_jumplistidx ? '>' : ' ', i > curwin->w_jumplistidx ? i - curwin->w_jumplistidx diff --git a/src/os_mswin.c b/src/os_mswin.c index 28f2f086c..b2eee923c 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -1728,8 +1728,15 @@ swap_me(COLORREF colorref) return colorref; } +/* Attempt to make this work for old and new compilers */ +#if _MSC_VER < 1300 +# define PDP_RETVAL BOOL +#else +# define PDP_RETVAL INT_PTR +#endif + /*ARGSUSED*/ - static BOOL CALLBACK + static PDP_RETVAL CALLBACK PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { #ifdef FEAT_GETTEXT diff --git a/src/syntax.c b/src/syntax.c index 5ec86c749..4b4b0bba8 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -2619,7 +2619,9 @@ check_keepend() break; maxpos.lnum = 0; + maxpos.col = 0; maxpos_h.lnum = 0; + maxpos_h.col = 0; for ( ; i < current_state.ga_len; ++i) { sip = &CUR_STATE(i); diff --git a/src/version.c b/src/version.c index 61adb887b..21d7b143c 100644 --- a/src/version.c +++ b/src/version.c @@ -677,12 +677,6 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ - 3, -/**/ - 2, -/**/ - 1, -/**/ 0 }; diff --git a/src/version.h b/src/version.h index d01abe081..d4f1344b9 100644 --- a/src/version.h +++ b/src/version.h @@ -19,13 +19,13 @@ #define VIM_VERSION_MINOR_STR "2" #define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR) -#define VIM_VERSION_BUILD 268 -#define VIM_VERSION_BUILD_BCD 0x10c -#define VIM_VERSION_BUILD_STR "268" +#define VIM_VERSION_BUILD 269 +#define VIM_VERSION_BUILD_BCD 0x10d +#define VIM_VERSION_BUILD_STR "269" #define VIM_VERSION_PATCHLEVEL 0 #define VIM_VERSION_PATCHLEVEL_STR "0" /* Used by MacOS port should be one of: development, alpha, beta, final */ -#define VIM_VERSION_RELEASE beta +#define VIM_VERSION_RELEASE final /* * VIM_VERSION_NODOT is used for the runtime directory name. @@ -33,8 +33,8 @@ * VIM_VERSION_MEDIUM is used for the startup-screen. * VIM_VERSION_LONG is used for the ":version" command and "Vim -h". */ -#define VIM_VERSION_NODOT "vim72c" -#define VIM_VERSION_SHORT "7.2c" -#define VIM_VERSION_MEDIUM "7.2c BETA" -#define VIM_VERSION_LONG "VIM - Vi IMproved 7.2c BETA (2008 Aug 6)" -#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.2c BETA (2008 Aug 6, compiled " +#define VIM_VERSION_NODOT "vim72" +#define VIM_VERSION_SHORT "7.2" +#define VIM_VERSION_MEDIUM "7.2" +#define VIM_VERSION_LONG "VIM - Vi IMproved 7.2 (2008 Aug 9)" +#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.2 (2008 Aug 9, compiled " diff --git a/src/vim.def b/src/vim.def index f44552f68..577569b78 100644 --- a/src/vim.def +++ b/src/vim.def @@ -1,4 +1,4 @@ CODE PRELOAD EXECUTEONLY DATA MULTIPLE SHARED -DESCRIPTION 'Vim 7.2c' +DESCRIPTION 'Vim 7.2' HEAPSIZE 0,0 @@ -177,6 +177,9 @@ # ifdef FEAT_X11 # undef FEAT_X11 # endif +# ifdef FEAT_GUI_X11 +# undef FEAT_GUI_X11 +# endif # ifdef FEAT_XCLIPBOARD # undef FEAT_XCLIPBOARD # endif @@ -2014,8 +2017,9 @@ typedef int VimClipboard; /* This is required for the prototypes. */ # ifdef instr # undef instr # endif - /* bool causes trouble on MACOS but is required on a few other systems */ -# if defined(bool) && defined(MACOS) + /* bool may cause trouble on MACOS but is required on a few other systems + * and for Perl */ +# if defined(bool) && defined(MACOS) && !defined(FEAT_PERL) # undef bool # endif diff --git a/src/vim16.def b/src/vim16.def index db12144e0..7b4155141 100644 --- a/src/vim16.def +++ b/src/vim16.def @@ -1,5 +1,5 @@ CODE PRELOAD EXECUTEONLY DATA MULTIPLE SHARED -DESCRIPTION 'Vim 7.2c' +DESCRIPTION 'Vim 7.2' STACKSIZE 16000 HEAPSIZE 10000 |