Mercurial > vim
annotate src/vim.rc @ 16700:46322a4e6028 v8.1.1352
patch 8.1.1352: undofile() reports wrong name
commit https://github.com/vim/vim/commit/e9ebc9a91cac357fd4888f4b71fdff7d97b41160
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 19 15:27:14 2019 +0200
patch 8.1.1352: undofile() reports wrong name
Problem: Undofile() reports wrong name. (Francisco Giordano)
Solution: Clean up the name before changing path separators. (closes https://github.com/vim/vim/issues/4392,
closes #4394)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 May 2019 15:30:08 +0200 |
parents | 7e733046db1d |
children | 50a16f2a54a8 |
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 | 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" | |
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 | 16 |
17 // | |
18 // Icons | |
19 // | |
20 IDR_VIM ICON "vim.ico" | |
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 | 23 IDR_VIM_ERROR ICON "vim_error.ico" |
24 IDR_VIM_ALERT ICON "vim_alert.ico" | |
25 IDR_VIM_INFO ICON "vim_info.ico" | |
26 IDR_VIM_QUESTION ICON "vim_quest.ico" | |
27 | |
28 // | |
29 // Bitmaps | |
30 // | |
31 IDB_TEAROFF BITMAP DISCARDABLE "tearoff.bmp" | |
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 | 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 | 36 // |
37 // WinXP theme support | |
38 // | |
39 #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID | |
40 # define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 | |
41 #endif | |
42 #ifndef RT_MANIFEST | |
43 # define RT_MANIFEST 24 | |
44 #endif | |
45 | |
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 | 48 |
49 // | |
50 // Type Library | |
51 // | |
52 #ifdef FEAT_OLE | |
1622 | 53 1 TYPELIB "vim.tlb" |
7 | 54 #endif |
55 | |
56 // | |
57 // Version | |
58 // | |
59 | |
60 VS_VERSION_INFO VERSIONINFO | |
61 FILEVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL | |
62 PRODUCTVERSION VIM_VERSION_MAJOR,VIM_VERSION_MINOR,VIM_VERSION_BUILD,VIM_VERSION_PATCHLEVEL | |
63 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK | |
64 | |
65 #if VIM_VERSION_PATCHLEVEL > 0 | |
66 #ifdef _DEBUG | |
67 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG | VS_FF_PATCHED | |
68 #else | |
69 FILEFLAGS VS_FF_PRERELEASE | VS_FF_PATCHED | |
70 #endif | |
71 #else | |
72 #ifdef _DEBUG | |
73 FILEFLAGS VS_FF_PRERELEASE | VS_FF_DEBUG | |
74 #else | |
75 FILEFLAGS VS_FF_PRERELEASE | |
76 #endif | |
77 #endif | |
78 | |
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 | 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 | 85 FILESUBTYPE 0x0L |
86 BEGIN | |
87 BLOCK "StringFileInfo" | |
88 BEGIN | |
89 // 0x0409 == U.S. English; 0x04E4 => Windows Multilingual | |
90 BLOCK "040904E4" | |
91 BEGIN | |
92 VALUE "CompanyName", "Vim Developers\0" | |
93 VALUE "FileDescription", "Vi Improved - A Text Editor\0" | |
94 VALUE "FileVersion", VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR "\0" | |
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 | 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 | 105 VALUE "ProductName", "Vim\0" |
106 VALUE "ProductVersion", VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR "\0" | |
107 END | |
108 END | |
109 BLOCK "VarFileInfo" | |
110 BEGIN | |
111 VALUE "Translation", 0x409, 0x4E4 | |
112 END | |
113 END | |
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 | 116 /* |
117 * Printing Status Dialog (should only be used when FEAT_PRINTER is defined) | |
118 */ | |
119 #define IDC_BOX1 400 | |
120 #define IDC_PRINTTEXT1 401 | |
121 #define IDC_PRINTTEXT2 402 | |
122 #define IDC_PROGRESS 403 | |
123 PRINTDLGBOX DIALOG 115, 63, 210, 80 | |
124 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | |
125 FONT 8, "Helv" | |
126 BEGIN | |
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 | 131 GROUPBOX "",IDC_BOX1,19,9,170,47 |
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 |