annotate src/vim.rc @ 17410:5f5c552c1acb

Added tag v8.1.1703 for changeset e24bbd061233d8d27ed38c10210b39d955f0a8e0
author Bram Moolenaar <Bram@vim.org>
date Tue, 16 Jul 2019 21:30:06 +0200
parents 7e733046db1d
children 50a16f2a54a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10042
4aead6a9b7a9 commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents: 5153
diff changeset
1 // vi:set ts=8 sts=4 sw=4 noet:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 // VIM - Vi IMproved by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 // Do ":help uganda" in Vim to read copying and usage conditions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 // Do ":help credits" in Vim to see a list of people who contributed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 // vim.rc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 // Icon and version information for the Win32 version of Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 // Must be in DOS format <CR><NL>!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
39
410fa1a31baf updated for version 7.0023
vimboss
parents: 7
diff changeset
12 #include <winver.h>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 #include "version.h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 #include "gui_w32_rc.h"
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 16451
diff changeset
15 #include <winresrc.h>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 // Icons
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 IDR_VIM ICON "vim.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
22 #if (defined(FEAT_GUI_MSWIN) && !defined(VIMDLL)) || defined(RCDLL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 IDR_VIM_ERROR ICON "vim_error.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 IDR_VIM_ALERT ICON "vim_alert.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 IDR_VIM_INFO ICON "vim_info.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 IDR_VIM_QUESTION ICON "vim_quest.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 // Bitmaps
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 IDB_TEAROFF BITMAP DISCARDABLE "tearoff.bmp"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 IDR_TOOLBAR1 BITMAP DISCARDABLE "tools.bmp"
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
33 #endif // FEAT_GUI_MSWIN
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
35 #ifndef RCDLL
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 // WinXP theme support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 # define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 #ifndef RT_MANIFEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 # define RT_MANIFEST 24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gvim.exe.mnf"
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
47 #endif // RCDLL
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 // Type Library
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 #ifdef FEAT_OLE
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 714
diff changeset
53 1 TYPELIB "vim.tlb"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 // Version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 VS_VERSION_INFO VERSIONINFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 FILEVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 PRODUCTVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 #if VIM_VERSION_PATCHLEVEL > 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 #ifdef _DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG | VS_FF_PATCHED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 FILEFLAGS VS_FF_PRERELEASE | VS_FF_PATCHED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 #ifdef _DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 FILEFLAGS VS_FF_PRERELEASE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 FILEOS VOS__WINDOWS32
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
80 #ifdef RCDLL
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
81 FILETYPE VFT_DLL
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
82 #else
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 FILETYPE VFT_APP
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
84 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 FILESUBTYPE 0x0L
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 BLOCK "StringFileInfo"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 // 0x0409 == U.S. English; 0x04E4 => Windows Multilingual
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 BLOCK "040904E4"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 VALUE "CompanyName", "Vim Developers\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 VALUE "FileDescription", "Vi Improved - A Text Editor\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 VALUE "FileVersion", VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR "\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 VALUE "InternalName", "VIM\0"
5153
b5abda4e7c4b updated for version 7.4a.003
Bram Moolenaar <bram@vim.org>
parents: 4932
diff changeset
96 VALUE "LegalCopyright", "Copyright \251 1996\0"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 VALUE "LegalTrademarks", "Vim\0"
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
98 #ifdef VIMDLLBASE
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
99 VALUE "OriginalFilename", VIMDLLBASE ".dll\0"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
100 #elif defined(FEAT_GUI_MSWIN)
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
101 VALUE "OriginalFilename", "gvim.exe\0"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
102 #else
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
103 VALUE "OriginalFilename", "vim.exe\0"
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
104 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 VALUE "ProductName", "Vim\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 VALUE "ProductVersion", VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR "\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 BLOCK "VarFileInfo"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 VALUE "Translation", 0x409, 0x4E4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
115 #if !defined(VIMDLL) || defined(RCDLL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 * Printing Status Dialog (should only be used when FEAT_PRINTER is defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 #define IDC_BOX1 400
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 #define IDC_PRINTTEXT1 401
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 #define IDC_PRINTTEXT2 402
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 #define IDC_PROGRESS 403
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 PRINTDLGBOX DIALOG 115, 63, 210, 80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 FONT 8, "Helv"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 DEFPUSHBUTTON "Cancel", IDCANCEL, 85, 60, 40, 14
4932
1cf02fbe6281 updated for version 7.3.1211
Bram Moolenaar <bram@vim.org>
parents: 1622
diff changeset
128 CTEXT "Printing",IDC_PRINTTEXT1,23,15,157,9
1cf02fbe6281 updated for version 7.3.1211
Bram Moolenaar <bram@vim.org>
parents: 1622
diff changeset
129 CTEXT " ",IDC_PRINTTEXT2,23,25,157,9
1cf02fbe6281 updated for version 7.3.1211
Bram Moolenaar <bram@vim.org>
parents: 1622
diff changeset
130 CTEXT "Initializing...",IDC_PROGRESS,24,38,157,9
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 GROUPBOX "",IDC_BOX1,19,9,170,47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 END
16451
7ae2396cef62 patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents: 15886
diff changeset
133 #endif