Andrew Borodin
fea3a86faf
maint/utils/update-years.sh: replaced unportable 'sed -i' command.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-12-31 19:28:44 +03:00
Andrew Borodin
2ce0b25cfd
maint/utils/update-years.sh: add src/man2hlp/man2hlp.in.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-12-31 19:28:44 +03:00
Yury V. Zaytsev
7f7ae6e04d
Make Travis builds fail if tests fail
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2023-08-13 20:39:36 +02:00
Evgeny Grin
68e6d960f8
Replaced unportable 'inplace' sed command
...
'-i' sed option is not portable, not specified by POSIX and does not
work on same platforms.
Replaced with simple and obvious workarounds.
Closes MidnightCommander/mc#184 .
Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-05-20 19:57:23 +03:00
Evgeny Grin
f45d02ba2a
Use configure detected or user specified sed in build system
...
Sometimes system default sed is not the best option.
With this modification user may easily override sed used by build system
without editing any file.
Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-05-20 19:56:53 +03:00
Andrew Borodin
7257f794d2
Update template for .c files.
...
Add section for forward declarations of local functions. This section is
located before file scope variables because functions can be used in
strucutres (see find.c for example):
/*** forward declarations (file scope functions) *************************************************/
/* button callbacks */
static int start_stop (WButton * button, int action);
static int find_do_view_file (WButton * button, int action);
static int find_do_edit_file (WButton * button, int action);
/*** file scope variables ************************************************************************/
static struct
{
...
bcback_fn callback;
} fbuts[] =
{
...
{ B_STOP, NORMAL_BUTTON, N_("S&uspend"), 0, 0, NULL, start_stop },
...
{ B_VIEW, NORMAL_BUTTON, N_("&View - F3"), 0, 0, NULL, find_do_view_file },
{ B_VIEW, NORMAL_BUTTON, N_("&Edit - F4"), 0, 0, NULL, find_do_edit_file }
};
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-03-19 20:34:24 +03:00
Kian-Meng Ang
5001232704
Fix various typos in the source code ( closes MidnightCommander/mc#177 ).
...
Found via `codespell -S
po,doc,./misc/syntax,./src/vfs/extfs/helpers/README.it -L
parm,rouge,sav,ect,vie,te,dum,clen,wee,dynamc,childs,ths,fo,nin,unx,nd,iif,iterm,ser,makrs,wil`
Co-authored-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Kian-Meng Ang <kianmeng@cpan.org>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2023-01-28 21:38:05 +03:00
Yury V. Zaytsev
a7dcbbbdf7
maint: specify translations explicitly when pulling hints from transifex
2023-01-05 22:02:36 +01:00
Yury V. Zaytsev
e6ee031fc0
maint: allow pushing hints pot to transifex without pulling translations first
2023-01-05 21:36:43 +01:00
Yury V. Zaytsev
6da4346c4e
maint: rewrite translation management scripts
2023-01-03 22:53:48 +01:00
Yury V. Zaytsev
9d7a83aec6
maint: update address protocol and mailing list information
2023-01-02 21:43:20 +01:00
Andrew Borodin
67542c64b2
Add script to update copyright years.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-03-13 13:17:24 +03:00
Andrew Borodin
89d8fa4ac1
Ticket #1 : remove SMB suport.
...
The mc's built-in samba library which is used to access data across
smb links is taken from an old samba version.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-09-26 10:03:49 +03:00
Andrew Borodin
791acb4611
Ticket #4249 : Autoreconf is failing with tarball prepared by make dist.
...
version.sh: move from maint/utils to the root of the source tree
and make it a part of distributable tarball.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-05-26 21:56:27 +03:00
Andrew Borodin
30480df7c9
Rename version.h to mc-version.h.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-04-11 16:58:31 +03:00
Andreas Mohr
1409eddde3
Ticket #3603 : configure.ac: proper AC_INIT and AM_INIT_AUTOMAKE usage.
...
Fix deprecate warning
configure.ac:13: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:13: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
Support of m4_esyscmd_s() since autoconf-2.64 (release 2009-07-26).
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-03-28 19:37:58 +03:00
Yury V. Zaytsev
d5bd2d87d7
main: bump gnu global version to 6.5.7 (used to build source index)
2017-12-03 09:30:12 +01:00
Yury V. Zaytsev
38de86b7ce
maint: shorten travis build logs by discarding global build output
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-12-02 23:18:39 +01:00
Yury V. Zaytsev
9d8c780934
maint: fix hint file processing
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-11-18 19:36:20 +01:00
Yury V. Zaytsev
940fab955c
maint: shorten commit hash if git describe
fails
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-12-25 10:06:23 +04:00
Yury V. Zaytsev
d1766655d3
maint: try to build & run as much tests as possible with -k
make option
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-11-13 11:47:23 +01:00
Andrew Borodin
406765f044
Ticket #1885 : minimal gettext version is 0.18.1.
...
Since 0.18.1, the 'autopoint' program uses the 'git' program instead of
'cvs' one by default.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-28 09:25:18 +03:00
Yury V. Zaytsev
4d5c1b2ad8
maint: simplify dist extension stripping in Travis build script
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-03-05 12:22:27 +01:00
Yury V. Zaytsev
b84ac2c17b
maint: add --enable-aspell
to Travis build script
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-03-04 17:40:35 +01:00
Yury V. Zaytsev
87e81c91c1
maint: add --without-internal-edit
and --without-diff-viewer
to Travis build script
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-03-04 17:39:32 +01:00
Yury V. Zaytsev
b6c1c2fdba
maint: run make dist
on Travis, use tarball to do build tests
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-03-04 17:21:41 +01:00
Yury V. Zaytsev
2ed989827f
maint: minor improvements to source index by mooffie
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-02-21 20:21:57 +01:00
Yury V. Zaytsev
47a86b3362
maint: add indexed source generation to Travis deployment script
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-02-19 21:10:32 +01:00
Yury V. Zaytsev
dbb5269100
maint: add Travis CI deployment script
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-02-19 21:10:32 +01:00
Yury V. Zaytsev
ae197c7584
maint: add encrypted deploy key for Travis CI
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-02-18 21:32:07 +01:00
Andrew Borodin
f8bdfcc21c
Get ru.po from Transifex.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-11-10 21:49:25 +03:00
Yury V. Zaytsev
11645aadb9
maint: temporarily disable dying upon test failures
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-10-18 17:49:06 +02:00
Yury V. Zaytsev
652e97303d
maint: import build script for continuous integration
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-10-18 17:49:06 +02:00
Yury V. Zaytsev
5075494e42
maint: import a tool to check source code indentation style
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-10-18 17:49:06 +02:00
Slava Zanko
99ffdd5d1b
Fixed address of Transifex server
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-04-01 14:30:00 +03:00
Andrew Borodin
e5203cb023
Fix name of FSF in all *.c files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-28 13:33:17 +04:00
Slava Zanko
af99dafd77
Fix for running TR-utilities under source root
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-11-29 17:00:46 +03:00
Slava Zanko
b75bf0cf11
Fix TX-address for getting hint-files
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-11-29 16:48:31 +03:00
Slava Zanko
3feb3f26d6
Improve developer's docs by adding info about new make targets:
...
cppcheck and indent.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-11-25 13:47:39 +04:00
Slava Zanko
68edfcb47b
sync-transifex: fix pathes for calculating MC source root
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-07-10 12:50:42 +03:00
Slava Zanko
57116bca6e
Update the 'release procedure' file.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:14 +03:00
Slava Zanko
1c6d859629
Reorder files in maint/ subdirectory.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:14 +03:00
Slava Zanko
88d7c9b91b
Move an utility for found the include duplicates to maint/find-dup-includes subdirectory.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:14 +03:00
Slava Zanko
a2c9c0309a
Remove unneded utilities from maint/ directory.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:14 +03:00
Slava Zanko
ce2f642093
Add maint/sync-transifex/README.txt file
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:13 +03:00
Slava Zanko
650517bba1
Add syncronization of po-files with Transifex.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:13 +03:00
Slava Zanko
97097d1667
Move all templates from maint to maint/templates
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:13 +03:00
Slava Zanko
b0876fb044
Ticket #2990 : Prepare for release mc-4.8.9
...
Change maint/doctest utility to run under maint directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:13 +03:00
Slava Zanko
389b55ae6f
Add the hint-files synchronization with Transifex.
...
For upload English hint-file to transifex, type:
cd doc/hints/po && make to-transifex
For download translation from Transifex type:
cd doc/hints/po && make from-transifex && \
git add ../l10n/mc.hints.* && \
git commit -s -m 'Update hints files from Transifex'
WARNING! For the functionality you should have installed 'tx' and 'po4a'
utilities. These utilities isn't required for compile and install mc
(you may install these utilities only if you want to interact with Transifex).
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-04-02 11:24:16 +03:00
Slava Zanko
0138645541
Ticket 1551: Update GPL version from 2 to 3
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-10-18 14:08:34 +03:00