Yury V. Zaytsev
168ec3307a
Update translations from Transifex
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2023-01-05 21:49:24 +01:00
Yury V. Zaytsev
3b5b58fb75
maint: add auto-sync of pot & hints to transifex
2023-01-05 21:38:35 +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
b88d1b3790
maint: remove dead hint files
2023-01-02 21:56:28 +01:00
Yury V. Zaytsev
9d7a83aec6
maint: update address protocol and mailing list information
2023-01-02 21:43:20 +01:00
Yury V. Zaytsev
2447d422de
maint: update message catalog (change address protocol)
2023-01-02 21:37:00 +01:00
Andrew Borodin
5583c3d9c0
Merge branch '4420_sftp_network_vfs'
...
* 4420_sftp_network_vfs:
Ticket #4420 : fail to build with only SFTP network VFS enabled.
2022-12-30 08:09:28 +03:00
Andrew Borodin
b69168cfb5
Ticket #4420 : fail to build with only SFTP network VFS enabled.
...
* m4.include/mc-vfs.m4: use $enable_vfs_sftp to test functions
required for network VFSes. Define ENABLE_VFS_NET preprocessor
macro here...
* lib/vfs/vfs.h: ...not here.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-12-30 08:08:47 +03:00
Andrew Borodin
995b61db9e
Merge branch '4419_makefile_regex'
...
* 4419_makefile_regex:
Ticket #4419 : mc.ext.ini: clarify regex for makefiles.
2022-12-30 08:05:40 +03:00
Andrew Borodin
7230269ce4
Ticket #4419 : mc.ext.ini: clarify regex for makefiles.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-12-18 14:44:27 +03:00
Andrew Borodin
0ac611f15c
Merge branch '4320_syntax_location'
...
* 4320_syntax_location:
Ticket #4320 : syntax/Syntax: document location of syntax files.
2022-12-18 14:27:04 +03:00
Andrew Borodin
cea7d35209
Ticket #4320 : syntax/Syntax: document location of syntax files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-12-18 14:26:30 +03:00
Andrew Borodin
2df6771645
Merge branch '4413_user_syntax'
...
* 4413_user_syntax:
Ticket #4413 : mcedit: syntax definitions in user location don't work.
2022-12-18 14:20:58 +03:00
Andrew Borodin
3f882f50e0
Ticket #4413 : mcedit: syntax definitions in user location don't work.
...
Fix location of all user's syntax related stuff. Now it is the
~/.local/share/mc/syntax/ directory.
Don't use the system configuration directory (/etc/mc) as a storage
of syntax definitions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-12-18 14:20:36 +03:00
Andrew Borodin
f98cda9ff3
doc: add substitution for %pkglibexecdir% and %pkgdatadir% in man pages.
...
%prefix% isn't used anymore, remove it.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-12-03 13:05:15 +03:00
Andrew Borodin
ebb011a047
Merge branch '3121_empty_subshell_prompt'
...
* 3121_empty_subshell_prompt:
Ticket #3121 : empty subshell/command line prompt.
2022-12-03 13:04:56 +03:00
Andrew Borodin
1ac5c22517
Ticket #3121 : empty subshell/command line prompt.
...
If subshell is initializing more than 1 second - we have no subshell.
(feed_subshell): change timeout to 10 secons. I belive that is more than
enough time to run subshell.
Thanks Alexandr Zamaraev (aka Tonal) <tonal.promsoft@gmail.com> and
antonio_so <sozonnik@gmail.com> for finding out the cause of the
problem.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-11-26 14:21:55 +03:00
Alexander Fadeev
87bfef7317
Ticket #4412 : add TOML (Tom's Obvious Minimal Language) syntax highlighting.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-11-26 09:44:24 +03:00
Andrew Borodin
9507ceda20
Merge branch '3220_compare_panelized'
...
* 3220_compare_panelized:
Ticket #3220 : fix directory comparision in panelized panel.
2022-11-26 09:39:40 +03:00
Andrew Borodin
a72ede698e
Ticket #3220 : fix directory comparision in panelized panel.
...
Directory comparision expects only file names in both panels.
In panelized panel, files named can contain paths:
| boxes.c | 43220|| 1/boxes.c | 43220|
| boxes.h | 1429 || 1/boxes.h | 1429|
| | || boxes.c | 43220|
| | || boxes.h | 1429|
Even if boxes.c and 1/boxes.c files are the same, they are marked as
different because strings "boxes.c" and "1/boxes.c" are different.
The solution: for panelized panel, ignore path and use file name only
(like output of basename(3)) for comparision.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-11-14 20:59:05 +03:00
Andrew Borodin
3250536c15
Merge branch '4409_copy_continue'
...
* 4409_copy_continue:
Update po/*.po files.
Ticket 4409: continue copy after interrupt.
2022-10-23 20:25:09 +03:00
Andrew Borodin
4eac28b3b5
Update po/*.po files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-23 20:24:43 +03:00
Andrew Borodin
30f9309b8a
Ticket 4409: continue copy after interrupt.
...
(copy_file_file): add button "Continue copy" to query dialog "Incomplete
file was retrieved".
(file_ui_op_dlg_callback): callback for copy/move progess dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-15 21:14:35 +03:00
Andrew Borodin
38bd3ece9e
Merge branch '4357_cleanup'
...
* 4357_cleanup: (27 commits)
Update po/*.po files.
(mc_search__cond_struct_new_regex_ci_str): fix out of boundary access in string.
(mc_search__normal_translate_to_regex): modify string in-place.
(mc_search_prepare): fix coding style, reduce variable scope.
(mc_search__cond_struct_new): take GString.
(mc_search__tolower_case_str, mc_search__tolower_case_str): take GString.
(mc_search__cond_struct_new_regex_hex_add): take GString.
(mc_search__recode_str): return GString.
(mc_search_regex__process_append_str): free string at end of loop.
(mc_search__change_case_str): refactoring.
mc_search: refactoring.
mc_search: refactoring.
Revert "(extfs_open_archive): fix NULL dereferences."
filehighlight.ini: add TypeScript tsx files to sources.
filehighlight.ini: add Markdown mkd files to documents.
Ticket #4400 : fix --enable-configure-args description.
(fish_dir_load): move `ls -l` output parser to separate function.
FTP fixes.
Cosmetics: add spaces around slash in statistics messages.
Enlarge subshell PTY buffer.
...
2022-10-15 12:38:40 +03:00
Andrew Borodin
e57ad085b3
Update po/*.po files.
2022-10-15 12:37:48 +03:00
Andrew Borodin
f8c0a21904
(mc_search__cond_struct_new_regex_ci_str): fix out of boundary access in string.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
cc6af7a654
(mc_search__normal_translate_to_regex): modify string in-place.
...
Get rid of extra memory allocation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
761b7952cb
(mc_search_prepare): fix coding style, reduce variable scope.
2022-10-10 21:07:40 +03:00
Andrew Borodin
837ecc9aeb
(mc_search__cond_struct_new): take GString.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
955e88f0d0
(mc_search__tolower_case_str, mc_search__tolower_case_str): take GString.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
76835c05af
(mc_search__cond_struct_new_regex_hex_add): take GString.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
1da094ae4a
(mc_search__recode_str): return GString.
...
(mc_search__get_one_symbol): likewise.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
7a65d5200b
(mc_search_regex__process_append_str): free string at end of loop.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
32c2ec9a91
(mc_search__change_case_str): refactoring.
...
Rename variables.
Allocate destination buffer instead of string duplicate.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
e3421df1dd
mc_search: refactoring.
...
Bodies of mc_search__tolower_case_str() and mc_search__toupper_case_str()
are almost same excluding the case conversion function call:
mc_search__tolower_case_str() calls str_tolower() and
mc_search__toupper_case_str() calls str_toupper.
Move this common body to separate function and call case conversion
function via pointer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
47b116b773
mc_search: refactoring.
...
(mc_search_t): use GString to keep original search string. Join search string
and charset to structure.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
f778c86e4d
Revert "(extfs_open_archive): fix NULL dereferences."
...
This reverts commit 0df10f488b
.
g_strconcat() accepts NULL after non-NULL arguments.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
2d7616e3c6
filehighlight.ini: add TypeScript tsx files to sources.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
d60e3d5311
filehighlight.ini: add Markdown mkd files to documents.
2022-10-10 21:07:40 +03:00
Sergei Trofimovich
8318e3172d
Ticket #4400 : fix --enable-configure-args description.
...
Before the change the description said:
Handle all compiler warnings as errors
Looks like a leftover from --enable-werror copy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
116b6a616a
(fish_dir_load): move ls -l
output parser to separate function.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Ovsyannikov Sergey E
3e7424a95a
FTP fixes.
...
* (parse_ls_line): fix get of file GID.
* (ftpfs_parse_long_list_MLSD): likewise.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Ovsyannikov Sergey E
21c45e8a7a
Cosmetics: add spaces around slash in statistics messages.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
bb3ace13f1
Enlarge subshell PTY buffer.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
a7833b5b2e
(real_warn_same_file): truncate file names if required.
...
If file name is too long, message window is wider than screen.
Truncate file name to fit it in the screen.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
facf199f65
(fish_free_archive): check socket before close.
...
Find by Coverity.
Coverity id #313668 .
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andreas Mohr
1431d8b692
(ins_from_clip): fix maybe-uninitialized warning.
...
../../../lib/widget/input.c:573:8: error: 'event_data.ret' may be used uninitialized [-Werror=maybe-uninitialized]
573 | if (event_data.ret)
| ^
../../../lib/widget/input.c:566:35: note: 'event_data.ret' was declared here
566 | ev_clipboard_text_from_file_t event_data;
Found by gcc-11.
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2022-10-10 21:07:40 +03:00
Andrew Borodin
c441250beb
mcviewer: move.c: fix coding style.
2022-10-10 21:07:40 +03:00
Andrew Borodin
fba3d47408
mcviewer: internal.h: fix coding style.
2022-10-10 21:07:40 +03:00