Mercurial > vim
annotate src/vim.rc @ 9087:d4606ae170aa v7.4.1828
commit https://github.com/vim/vim/commit/e0f76d00979c972329f6c371463a20da61ccad65
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 9 20:38:53 2016 +0200
patch 7.4.1828
Problem: May try to access buffer that's already freed.
Solution: When freeing a buffer remove it from any channel.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 09 May 2016 20:45:08 +0200 |
parents | b5abda4e7c4b |
children | 4aead6a9b7a9 |
rev | line source |
---|---|
7 | 1 // vim:ts=8:sw=4:sts=4: |
2 // | |
3 // VIM - Vi IMproved by Bram Moolenaar | |
4 // | |
5 // Do ":help uganda" in Vim to read copying and usage conditions. | |
6 // Do ":help credits" in Vim to see a list of people who contributed. | |
7 | |
8 // vim.rc | |
9 // Icon and version information for the Win32 version of Vim | |
10 // Must be in DOS format <CR><NL>! | |
11 | |
39 | 12 #include <winver.h> |
7 | 13 #include "version.h" |
14 #include "gui_w32_rc.h" | |
714 | 15 // #if defined(__BORLANDC__) || defined(__CYGWIN32__) || defined(__MINGW32__) |
7 | 16 # include <winresrc.h> |
714 | 17 // #else |
18 // # include <winres.h> | |
19 // #endif | |
7 | 20 |
21 // | |
22 // Icons | |
23 // | |
24 IDR_VIM ICON "vim.ico" | |
25 | |
26 #ifdef FEAT_GUI_W32 | |
27 IDR_VIM_ERROR ICON "vim_error.ico" | |
28 IDR_VIM_ALERT ICON "vim_alert.ico" | |
29 IDR_VIM_INFO ICON "vim_info.ico" | |
30 IDR_VIM_QUESTION ICON "vim_quest.ico" | |
31 | |
32 // | |
33 // Bitmaps | |
34 // | |
35 IDB_TEAROFF BITMAP DISCARDABLE "tearoff.bmp" | |
36 IDR_TOOLBAR1 BITMAP DISCARDABLE "tools.bmp" | |
37 | |
38 // | |
39 // WinXP theme support | |
40 // | |
41 #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID | |
42 # define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 | |
43 #endif | |
44 #ifndef RT_MANIFEST | |
45 # define RT_MANIFEST 24 | |
46 #endif | |
47 | |
48 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gvim.exe.mnf" | |
49 #endif // FEAT_GUI_W32 | |
50 | |
51 // | |
52 // Type Library | |
53 // | |
54 #ifdef FEAT_OLE | |
1622 | 55 1 TYPELIB "vim.tlb" |
7 | 56 #endif |
57 | |
58 // | |
59 // Version | |
60 // | |
61 | |
62 VS_VERSION_INFO VERSIONINFO | |
63 FILEVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL | |
64 PRODUCTVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL | |
65 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK | |
66 | |
67 #if VIM_VERSION_PATCHLEVEL > 0 | |
68 #ifdef _DEBUG | |
69 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG | VS_FF_PATCHED | |
70 #else | |
71 FILEFLAGS VS_FF_PRERELEASE | VS_FF_PATCHED | |
72 #endif | |
73 #else | |
74 #ifdef _DEBUG | |
75 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG | |
76 #else | |
77 FILEFLAGS VS_FF_PRERELEASE | |
78 #endif | |
79 #endif | |
80 | |
81 FILEOS VOS__WINDOWS32 | |
82 FILETYPE VFT_APP | |
83 FILESUBTYPE 0x0L | |
84 BEGIN | |
85 BLOCK "StringFileInfo" | |
86 BEGIN | |
87 // 0x0409 == U.S. English; 0x04E4 => Windows Multilingual | |
88 BLOCK "040904E4" | |
89 BEGIN | |
90 VALUE "CompanyName", "Vim Developers\0" | |
91 VALUE "FileDescription", "Vi Improved - A Text Editor\0" | |
92 VALUE "FileVersion", VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR "\0" | |
93 VALUE "InternalName", "VIM\0" | |
5153
b5abda4e7c4b
updated for version 7.4a.003
Bram Moolenaar <bram@vim.org>
parents:
4932
diff
changeset
|
94 VALUE "LegalCopyright", "Copyright \251 1996\0" |
7 | 95 VALUE "LegalTrademarks", "Vim\0" |
96 VALUE "OriginalFilename", "VIM.EXE\0" | |
97 VALUE "ProductName", "Vim\0" | |
98 VALUE "ProductVersion", VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR "\0" | |
99 END | |
100 END | |
101 BLOCK "VarFileInfo" | |
102 BEGIN | |
103 VALUE "Translation", 0x409, 0x4E4 | |
104 END | |
105 END | |
106 | |
107 /* | |
108 * Printing Status Dialog (should only be used when FEAT_PRINTER is defined) | |
109 */ | |
110 #define IDC_BOX1 400 | |
111 #define IDC_PRINTTEXT1 401 | |
112 #define IDC_PRINTTEXT2 402 | |
113 #define IDC_PROGRESS 403 | |
114 PRINTDLGBOX DIALOG 115, 63, 210, 80 | |
115 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | |
116 FONT 8, "Helv" | |
117 BEGIN | |
118 DEFPUSHBUTTON "Cancel", IDCANCEL, 85, 60, 40, 14 | |
4932
1cf02fbe6281
updated for version 7.3.1211
Bram Moolenaar <bram@vim.org>
parents:
1622
diff
changeset
|
119 CTEXT "Printing",IDC_PRINTTEXT1,23,15,157,9 |
1cf02fbe6281
updated for version 7.3.1211
Bram Moolenaar <bram@vim.org>
parents:
1622
diff
changeset
|
120 CTEXT " ",IDC_PRINTTEXT2,23,25,157,9 |
1cf02fbe6281
updated for version 7.3.1211
Bram Moolenaar <bram@vim.org>
parents:
1622
diff
changeset
|
121 CTEXT "Initializing...",IDC_PROGRESS,24,38,157,9 |
7 | 122 GROUPBOX "",IDC_BOX1,19,9,170,47 |
123 END |