Andrew Borodin
34cbab7c2a
Implement cancel of chmod of many files.
...
What steps will reproduce the problem?
1. Selected many files (12000 in my case).
2. Ctrl+x c (chmod) - changed mode to desired one.
3. MC started to change file modes but failed, it shows error popup
"Cannot chmod ... Operation not permitted (1)" for every file and waits
for a keypress.
MC shows error for every file in a list (12000 times), there is no
chance to cancel the whole operation, only to press any key 12000 times
or to kill MC.
The solution: implement error message with follow buttons:
"Ignore" -- ignore current error;
"Ignore all" -- ignore current error, try chmod of other selected files,
and ignore all following errors;
"Retry" -- retry chmod operation;
"Cancel" -- cancel chmod operation immediately.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-12-10 09:10:22 +03:00
Andrew Borodin
fd44219178
Ticket #3850 : implement cancel of chmod/chown/achown of many files.
...
Initial step: sync of chmod, chown, achown source code:
some refactoring, renaming, reordering, type accuracy, #include clean up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-12-10 09:10:22 +03:00
Igor Shaula
3a5da75181
Ticket #3884 : mceditor: syntax: add rust.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-12-07 13:58:07 +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
Andrew Borodin
37dcdf65b3
Merge branch '3883_size_trunc_sep'
...
* 3883_size_trunc_sep:
Ticket #3883 : size_trunc_sep() breaks on multibyte locales.
2017-12-02 20:07:08 +03:00
Andrew Borodin
069306eb2e
Ticket #3883 : size_trunc_sep() breaks on multibyte locales.
...
The bug was introduced in b3867a6e15
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-12-02 14:41:35 +03:00
Andrew Borodin
917cd17281
Merge branch '3880_fail_ncurses_link'
...
* 3880_fail_ncurses_link:
Ticket #3880 : fail to link to ncurses built as two libraries: ncurses+tinfo.
2017-12-02 14:17:09 +03:00
Jeroen Roovers
bf771dc8a7
Ticket #3880 : fail to link to ncurses built as two libraries: ncurses+tinfo.
...
https://bugs.gentoo.org/527118
When ncurses library is built with --with-termlib option
the resulting installation contains two libraries:
/lib64/libncurses.so.6
/lib64/libncursesw.so.6
/lib64/libtinfo.so.6
/lib64/libtinfow.so.6
As a result mc build fails as:
$ ./configure --with-screen=ncurses
$ make
CCLD mc
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libinternal.a(tty-ncurses.o): undefined reference to symbol 'meta'
/lib64/libtinfow.so.6: error adding symbols: DSO missing from command line
Patch: https://gitweb.gentoo.org/repo/gentoo.git/tree/app-misc/mc/files/mc-4.8.13-tinfo.patch
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-12-02 11:48:16 +03:00
David Martin
26a2617256
Ticket #3879 : i18n of argument type names in --help blocks.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-12-02 11:24:46 +03:00
Yury V. Zaytsev
843b2b68ad
Update translations from Transifex
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-11-25 19:20:33 +01:00
Yury V. Zaytsev
92f190ee81
Update doc/NEWS file
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-11-18 19:40:31 +01:00
Yury V. Zaytsev
0f093e591f
Update hints translations from Transifex
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-11-18 19:37:06 +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
98c4bc3a08
Update po/mc.pot
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-11-18 19:09:00 +01:00
Yury V. Zaytsev
3bca8774ff
Update translations from Transifex
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-11-18 19:07:57 +01:00
Andrew Borodin
2f25f66b5d
Merge branch '3780_cleanup'
...
* 3780_cleanup: (26 commits)
src/vfs/extfs/helpers/README: fix path to user scripts.
(button_callback): clean up unneeded type casting.
Fix 2nd argument of gauge_show() call.
Sync with gnulib 3b1faeb2e29b62588709208f97d34c1787777dcb.
(do_link): minor optimization.
(do_link): fix coding style.
Syntax.in: simplify pattern for HiveQL.
(vfs_path_from_str_deprecated_parser, vfs_path_from_str_uri_parser): remove unused flags argument.
(vfs_path_from_str_uri_parser): fix detection of relative path.
(diff_two_paths): optimizate path comparision.
(diff_two_paths): minor optimization: exit loop ASAP.
(diff_two_paths): reduce variable scopes.
(message): Use "%s" to fix incorrect translation with printf pattern(s)
(parm_table[]): Make const to relocate 13624 bytes from .data to .text. (init_globals): fstring is enough for "%d.%d". (*): Remove nmbd code.
(_interpret_node_status): Remove dead code.
(buttonbar_call): fix possible NULL dereference.
(mcview_mouse_callback): fix typo.
(jobs_fill_listbox): cleanup pointer-compare warning.
(set_panel_filter_to): rename variable and use MC_PTR_FREE macro.
(set_panel_filter): fix coding style.
...
2017-11-17 16:03:39 +03:00
Andrew Borodin
d1e4655d05
src/vfs/extfs/helpers/README: fix path to user scripts.
2017-11-17 16:01:30 +03:00
Andrew Borodin
6310e07745
(button_callback): clean up unneeded type casting.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:30 +03:00
Andrew Borodin
1d2cbee320
Fix 2nd argument of gauge_show() call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:30 +03:00
Andrew Borodin
d5f4e631c3
Sync with gnulib 3b1faeb2e29b62588709208f97d34c1787777dcb.
...
* m4.include/ls-mntd-fs.m4: make sure $host and $host_os are defined
when used.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:30 +03:00
Andrew Borodin
3a3a6479d3
(do_link): minor optimization.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:30 +03:00
Andrew Borodin
55bafd40e5
(do_link): fix coding style.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:30 +03:00
Andrew Borodin
e1ee3a2465
Syntax.in: simplify pattern for HiveQL.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:30 +03:00
Andrew Borodin
3424622d5a
(vfs_path_from_str_deprecated_parser, vfs_path_from_str_uri_parser): remove unused flags argument.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:29 +03:00
Andrew Borodin
8715c41a47
(vfs_path_from_str_uri_parser): fix detection of relative path.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:29 +03:00
Andrew Borodin
cebede5e84
(diff_two_paths): optimizate path comparision.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:29 +03:00
Andrew Borodin
72056890a7
(diff_two_paths): minor optimization: exit loop ASAP.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:29 +03:00
Andrew Borodin
02effb2499
(diff_two_paths): reduce variable scopes.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:29 +03:00
Andrew V. Samoilov
1b47c88ff1
(message): Use "%s" to fix incorrect translation with printf pattern(s)
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2017-11-17 16:01:29 +03:00
Andrew V. Samoilov
23dec99195
(parm_table[]): Make const to relocate 13624 bytes from .data to .text.
...
(init_globals): fstring is enough for "%d.%d".
(*): Remove nmbd code.
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2017-11-17 16:01:29 +03:00
Andrew V. Samoilov
62eca8ebde
(_interpret_node_status): Remove dead code.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2017-11-17 16:01:29 +03:00
Andrew V. Samoilov
bf5abff937
(buttonbar_call): fix possible NULL dereference.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2017-11-17 16:01:29 +03:00
Andreas Mohr
d2cfb712b0
(mcview_mouse_callback): fix typo.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:29 +03:00
Andreas Mohr
20398ece6e
(jobs_fill_listbox): cleanup pointer-compare warning.
...
Found by GCC 7.1.0.
boxes.c:431:22: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
if (state_str[0] == '\0')
^~
boxes.c:431:9: note: did you mean to dereference the pointer?
if (state_str[0] == '\0')
^
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:29 +03:00
Andrew Borodin
a4518eed9e
(set_panel_filter_to): rename variable and use MC_PTR_FREE macro.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:23 +03:00
Andrew Borodin
8bf7e69134
(set_panel_filter): fix coding style.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 15:59:44 +03:00
Andrew Borodin
e185cb1e8c
(tar_open_archive): initialize variable.
...
../../../../src/vfs/tar/tar.c: In function 'tar_open_archive':
../../../../src/vfs/tar/tar.c:805:69: error: 'h_size' may be used uninitialized in this function [-Werror=uninitialized]
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 15:59:44 +03:00
Andrew Borodin
b5012c8e9d
(tar_read_header): move checksum to separate function.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 15:59:44 +03:00
Andrew Borodin
09ba994aa1
doc/TODO: clean up the already implemented stuff.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 15:59:44 +03:00
Andrew Borodin
42b3af0132
doc: move news of 4.7 series to separate file.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 15:59:44 +03:00
Andrew Borodin
49dc23e0f2
doc/keybind-migration.txt: remove.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 15:59:44 +03:00
Andrew Borodin
7772f00aab
Ticket #3780 : code clean up before 4.8.20 release.
...
Direct include <limits.h> for MB_LEN_MAX.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 15:59:44 +03:00
Sergey Naumov
aff3834dc3
Ticket #3868 : syntax: add Protocol Buffers and gRPC support.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-10-29 20:35:32 +03:00
Grzegorz Szymaszek
26ecb44e1d
Ticket #3864 : initial support of Markdown syntax highlighting.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-10-29 20:32:46 +03:00
Andrew Borodin
cde8e194aa
Merge branch '3869_netrc_password'
...
* 3869_netrc_password:
(ftpfs_correct_url_parameters): clean up always true condition.
Ticket #3869 : fix of retrieve password from .netrc.
2017-10-29 20:23:40 +03:00
Andrew Borodin
eb9b1407c8
(ftpfs_correct_url_parameters): clean up always true condition.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-10-29 20:23:04 +03:00
Cristian Rigamonti
3ab6ef7aa7
Ticket #3869 : fix of retrieve password from .netrc.
...
(ftpfs_correct_url_parameters): fix condition.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-10-29 20:23:04 +03:00
Andrew Borodin
0d17cf7914
Merge branch '3870_quick_complete_cd'
...
* 3870_quick_complete_cd:
Ticket #3870 : fix INPUT_COMPLETE_CD in quick widget.
2017-10-28 19:21:26 +03:00
Maksim Dzabraev
16b569986e
Ticket #3870 : fix INPUT_COMPLETE_CD in quick widget.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-10-28 19:18:23 +03:00