Mercurial > vim
annotate src/version.h @ 35112:51e50414b5ee default tip
translation(sr): update Serbian menu
Commit: https://github.com/vim/vim/commit/5bf7446ba2b2eab36685176379a642472891ff88
Author: Oleg Zadorozhnyi <lesorubshayan@gmail.com>
Date: Thu May 2 22:16:10 2024 +0200
translation(sr): update Serbian menu
closes: https://github.com/vim/vim/issues/14669
closes: https://github.com/vim/vim/issues/10722
Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 May 2024 22:30:03 +0200 |
parents | c2499556f2fe |
children |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
5294
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 | |
9 /* | |
10 * Define the version number, name, etc. | |
11 * The patchlevel is in included_patches[], in version.c. | |
12 */ | |
13 | |
18888
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
14 // Trick to turn a number into a string. |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
15 #define VIM_TOSTR_(a) #a |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
16 #define VIM_TOSTR(a) VIM_TOSTR_(a) |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
17 |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
18 // Values that change for a new release. |
29314 | 19 #define VIM_VERSION_MAJOR 9 |
34057
4635e43f2c6f
patch 9.1.0000: Vim 9.1 release
Christian Brabandt <cb@256bit.org>
parents:
29314
diff
changeset
|
20 #define VIM_VERSION_MINOR 1 |
4635e43f2c6f
patch 9.1.0000: Vim 9.1 release
Christian Brabandt <cb@256bit.org>
parents:
29314
diff
changeset
|
21 #define VIM_VERSION_BUILD 285 |
4635e43f2c6f
patch 9.1.0000: Vim 9.1 release
Christian Brabandt <cb@256bit.org>
parents:
29314
diff
changeset
|
22 #define VIM_VERSION_BUILD_BCD 0x11d |
4635e43f2c6f
patch 9.1.0000: Vim 9.1 release
Christian Brabandt <cb@256bit.org>
parents:
29314
diff
changeset
|
23 #define VIM_VERSION_DATE_ONLY "2024 Jan 02" |
18888
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
24 |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
25 // Values based on the above |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
26 #define VIM_VERSION_MAJOR_STR VIM_TOSTR(VIM_VERSION_MAJOR) |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
27 #define VIM_VERSION_MINOR_STR VIM_TOSTR(VIM_VERSION_MINOR) |
7 | 28 #define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR) |
29 | |
18888
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
30 #define VIM_VERSION_BUILD_STR VIM_TOSTR(VIM_VERSION_BUILD) |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
31 #ifndef VIM_VERSION_PATCHLEVEL |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
32 # define VIM_VERSION_PATCHLEVEL 0 |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
33 #endif |
35034
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
34 |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
35 // Patchlevel with leading zeros |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
36 // For compatibility with the installer from "vim-win32-installer" and WinGet. |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
37 // For details see https://github.com/vim/vim-win32-installer/pull/277 |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
38 // and https://github.com/vim/vim-win32-installer/pull/285 |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
39 #if VIM_VERSION_PATCHLEVEL < 10 |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
40 #define LEADZERO(x) 000 ## x |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
41 #elif VIM_VERSION_PATCHLEVEL < 100 |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
42 #define LEADZERO(x) 00 ## x |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
43 #elif VIM_VERSION_PATCHLEVEL < 1000 |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
44 #define LEADZERO(x) 0 ## x |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
45 #else |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
46 #define LEADZERO(x) x |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
47 #endif |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
48 |
c2499556f2fe
patch 9.1.0368: MS-Windows: Hard to define the Vim Patchlevel with leading zeroes
Christian Brabandt <cb@256bit.org>
parents:
34057
diff
changeset
|
49 #define VIM_VERSION_PATCHLEVEL_STR VIM_TOSTR(LEADZERO(VIM_VERSION_PATCHLEVEL)) |
18888
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
50 // Used by MacOS port; should be one of: development, alpha, beta, final |
5294 | 51 #define VIM_VERSION_RELEASE final |
7 | 52 |
53 /* | |
54 * VIM_VERSION_NODOT is used for the runtime directory name. | |
55 * VIM_VERSION_SHORT is copied into the swap file (max. length is 6 chars). | |
56 * VIM_VERSION_MEDIUM is used for the startup-screen. | |
57 * VIM_VERSION_LONG is used for the ":version" command and "Vim -h". | |
58 */ | |
18888
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
59 #define VIM_VERSION_NODOT "vim" VIM_VERSION_MAJOR_STR VIM_VERSION_MINOR_STR |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
60 #define VIM_VERSION_SHORT VIM_VERSION_MAJOR_STR "." VIM_VERSION_MINOR_STR |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
61 #define VIM_VERSION_MEDIUM VIM_VERSION_SHORT |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
62 #define VIM_VERSION_LONG_ONLY "VIM - Vi IMproved " VIM_VERSION_MEDIUM |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
63 #define VIM_VERSION_LONG_HEAD VIM_VERSION_LONG_ONLY " (" VIM_VERSION_DATE_ONLY |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
64 #define VIM_VERSION_LONG VIM_VERSION_LONG_HEAD ")" |
75e1ff65588e
patch 8.2.0005: duplication in version info
Bram Moolenaar <Bram@vim.org>
parents:
18879
diff
changeset
|
65 #define VIM_VERSION_LONG_DATE VIM_VERSION_LONG_HEAD ", compiled " |