annotate src/vim.rc @ 6807:399216850e36 v7.4.725

patch 7.4.725 Problem: ":call setreg('"', [])" reports an internal error. Solution: Make the register empty. (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Mon, 04 May 2015 20:19:21 +0200
parents b5abda4e7c4b
children 4aead6a9b7a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 // vim:ts=8:sw=4:sts=4:
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"
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 90
diff changeset
15 // #if defined(__BORLANDC__) || defined(__CYGWIN32__) || defined(__MINGW32__)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 # include <winresrc.h>
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 90
diff changeset
17 // #else
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 90
diff changeset
18 // # include <winres.h>
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 90
diff changeset
19 // #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 // Icons
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 IDR_VIM ICON "vim.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 #ifdef FEAT_GUI_W32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 IDR_VIM_ERROR ICON "vim_error.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 IDR_VIM_ALERT ICON "vim_alert.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 IDR_VIM_INFO ICON "vim_info.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 IDR_VIM_QUESTION ICON "vim_quest.ico"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 // Bitmaps
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 IDB_TEAROFF BITMAP DISCARDABLE "tearoff.bmp"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 IDR_TOOLBAR1 BITMAP DISCARDABLE "tools.bmp"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 // WinXP theme support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 # define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 #ifndef RT_MANIFEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 # define RT_MANIFEST 24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gvim.exe.mnf"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 #endif // FEAT_GUI_W32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 // Type Library
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 #ifdef FEAT_OLE
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 714
diff changeset
55 1 TYPELIB "vim.tlb"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 // Version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 //
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 VS_VERSION_INFO VERSIONINFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 FILEVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 PRODUCTVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 #if VIM_VERSION_PATCHLEVEL > 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 #ifdef _DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG | VS_FF_PATCHED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 FILEFLAGS VS_FF_PRERELEASE | VS_FF_PATCHED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 #ifdef _DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 FILEFLAGS VS_FF_PRERELEASE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 FILEOS VOS__WINDOWS32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 FILETYPE VFT_APP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 FILESUBTYPE 0x0L
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 BLOCK "StringFileInfo"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 // 0x0409 == U.S. English; 0x04E4 => Windows Multilingual
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 BLOCK "040904E4"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 VALUE "CompanyName", "Vim Developers\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 VALUE "FileDescription", "Vi Improved - A Text Editor\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 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
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 VALUE "LegalTrademarks", "Vim\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 VALUE "OriginalFilename", "VIM.EXE\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 VALUE "ProductName", "Vim\0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 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
99 END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 BLOCK "VarFileInfo"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 VALUE "Translation", 0x409, 0x4E4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 * Printing Status Dialog (should only be used when FEAT_PRINTER is defined)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 #define IDC_BOX1 400
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 #define IDC_PRINTTEXT1 401
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 #define IDC_PRINTTEXT2 402
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 #define IDC_PROGRESS 403
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 PRINTDLGBOX DIALOG 115, 63, 210, 80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 FONT 8, "Helv"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 GROUPBOX "",IDC_BOX1,19,9,170,47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 END