Yury V. Zaytsev
db074dd954
Merge branch '3609_keymap_symlink'
2016-05-01 11:20:17 +02:00
Andreas Mohr
284003e838
Ticket #3609 : install mc.keymap as a symlink to mc.default.keymap
...
Save space and fix rpmlint warning found by OBS Framework
(build.opensuse.org).
mc.x86_64: W: files-duplicate /etc/mc/mc.keymap /etc/mc/mc.default.keymap
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-05-01 11:20:07 +02:00
Yury V. Zaytsev
a56511ce1a
Merge branch '3610_fish_noexec'
2016-05-01 09:28:32 +02:00
Andreas Mohr
903773ceed
Ticket #3610 : remove executable bit from FISH helper scripts
...
Prevent them from getting accidentally run by users and fix rpmlint
warning found by OBS Framework (build.opensuse.org)
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/append
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/chmod
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/chown
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/fexists
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/get
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/hardlink
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/info
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/ln
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/ls
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/mkdir
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/mv
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/rmdir
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/send
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/unlink
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/utime
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-04-30 18:02:25 +02:00
Andrew Borodin
61bc352b62
Merge branch '1885_autopoint_without_cvs'
...
* 1885_autopoint_without_cvs:
Simplify `autogen.sh` by switching to `autoreconf`
Ticket #1885 : minimal gettext version is 0.18.1.
2016-04-28 09:25:58 +03:00
Andreas Mohr
b6cbac1017
Simplify autogen.sh
by switching to autoreconf
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-04-28 09:25:18 +03: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
23c00cf33f
Merge branch '2742_csh_as_tcsh_fix'
2016-04-25 21:44:15 +02:00
Yury V. Zaytsev
0430ec719b
Add csh
to the list of fallback shell options
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-04-25 21:44:01 +02:00
Yury V. Zaytsev
6dfbebf71e
Ticket #2742 : detect csh as tcsh by name
...
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@traveltainment.de>
2016-04-25 21:44:01 +02:00
Andrew Borodin
7b928e6b94
Merge branch '2193_copy_buffer_size'
...
* 2193_copy_buffer_size:
(copy_file_file): reduce variable scopes.
(copy_file_file): get rid of one goto.
(copy_file_file): rename variables.
(copy_file_file): define copy buffer size in depend on destination file system block size.
(io_blksize): add intermediate variable.
(ST_BLKSIZE): fix signed and unsigned comparision.
Ticket #2193 : use Coreutils way to define buffer size to copy file.
2016-04-25 13:29:26 +03:00
Andrew Borodin
cedcb28912
(copy_file_file): reduce variable scopes.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-25 13:15:12 +03:00
Andrew Borodin
f866d41746
(copy_file_file): get rid of one goto.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-25 13:15:12 +03:00
Andrew Borodin
abfadbb27f
(copy_file_file): rename variables.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-25 13:15:12 +03:00
Andrew Borodin
18f6b85005
(copy_file_file): define copy buffer size in depend on destination file system block size.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-25 13:15:12 +03:00
Andrew Borodin
9523401374
(io_blksize): add intermediate variable.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-25 13:15:12 +03:00
Andrew Borodin
ba526badf2
(ST_BLKSIZE): fix signed and unsigned comparision.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-25 13:15:12 +03:00
Andrew Borodin
e7c01c7781
Ticket #2193 : use Coreutils way to define buffer size to copy file.
...
m4.include/stat-size.m4, lib/stat-size.h: get these files from Gnulib.
src/filemanager/ioblksize.h: get this file from Coreutils.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-25 13:12:51 +03:00
Yury V. Zaytsev
5ba97897cf
Merge branch '3611_fish_ls_perl_fix'
2016-04-24 17:04:39 +02:00
Andreas Mohr
263012123c
Ticket #3611 : fix FISH ls helper (Perl)
...
In #3599 a Perl warning was introduced in fish_list_perl(), so
fish_list_perl() was skipped (return code 255) and fallback ls function
was used instead.
Additionally, all % chars must quoted because of g_strconcat() after
reading script file into a string.
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2016-04-21 21:37:35 +02:00
Andrew Borodin
9d0f6e584e
Merge branch '3598_wcast_qual'
...
* 3598_wcast_qual: (27 commits)
src/setup.c: cleanup -Wcast-qual warning.
src/clipboard.c: cleanup Wcast-qual warning.
src/viewer/search.c: cleanup some -Wcast-qual warning.
src/vfs/extfs.c: cleanup -Wcast-qual warnings.
src/filemanager/find.c: cleanup -Wcast-qual warning.
src/filemanager/file.c: cleanup -Wcast-qual warning.
src/filemanager/file.c: cleanup -Wcast-qual warning.
src/filemanager/panel.c: cleanup -Wcast-qual warning.
src/editor/syntax.c: cleanup -Wcast-qual warnings.
src/editor/editcmd.c: cleanup some -Wcast-qual warnings.
src/editor/choosesyntax.c: cleanup -Wcast-qual warning.
src/diffviewer/ydiff.c: cleanup -Wcast-qual warning.
(dview_get_utf): apply const qualifier to str argument.
lib/charsets.[ch]: clarify usage of const qualifier.
lib/widget/input_complete.c: cleanup -Wcast-qual warning.
lib/widget/input.c: cleanup -Wcast-qual warning.
lib/widget/dialog.c: cleanup -Wcast-qual warning.
lib/widget/buttonbar.c: cleanup -Wcast-qual warning.
lib/vfs/path.c: cleanup some -Wcast-qual warning.
lib/tty/tty-ncurses.c: cleanup -Wcast-qual warning.
...
2016-04-16 10:24:58 +03:00
Andreas Mohr
d033e17a23
src/setup.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
2016-04-16 10:23:45 +03:00
Andreas Mohr
9a48fb4b0c
src/clipboard.c: cleanup Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:45 +03:00
Andreas Mohr
311ef4c669
src/viewer/search.c: cleanup some -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:45 +03:00
Andreas Mohr
f9f08fbfd7
src/vfs/extfs.c: cleanup -Wcast-qual warnings.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:45 +03:00
Andreas Mohr
0fae3ded3e
src/filemanager/find.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:45 +03:00
Andrew Borodin
8fd2fd69d7
src/filemanager/file.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:45 +03:00
Andreas Mohr
e9730afef5
src/filemanager/file.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:45 +03:00
Andreas Mohr
6005a63cad
src/filemanager/panel.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:45 +03:00
Andreas Mohr
3e7695619f
src/editor/syntax.c: cleanup -Wcast-qual warnings.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:45 +03:00
Andreas Mohr
d640a34ada
src/editor/editcmd.c: cleanup some -Wcast-qual warnings.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:45 +03:00
Andreas Mohr
edff1cff6f
src/editor/choosesyntax.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
9cb22c41a6
src/diffviewer/ydiff.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
2016-04-16 10:23:44 +03:00
Andrew Borodin
0b46b4690f
(dview_get_utf): apply const qualifier to str argument.
2016-04-16 10:23:44 +03:00
Andrew Borodin
fde36f2d1a
lib/charsets.[ch]: clarify usage of const qualifier.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
ff9d37cb8f
lib/widget/input_complete.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andrew Borodin
ecfba8399c
lib/widget/input.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
68d7f53039
lib/widget/dialog.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
a5cd35d11e
lib/widget/buttonbar.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
3231160d99
lib/vfs/path.c: cleanup some -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
9dddb0c78f
lib/tty/tty-ncurses.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
983ada66b0
lib/tty/key.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andrew Borodin
41035995c8
lib/strutil/{strutil8bit.c,strutilutf8.c}: cleanup -Wcast-qual warning.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
c0b60e274e
lib/skin/ini-file.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
f3f927c19e
lib/search/regex.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:44 +03:00
Andreas Mohr
0535ddddcc
lib/search/lib.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:43 +03:00
Andreas Mohr
97e370e396
lib/mcconfig/paths.c: cleanup -Wcast-qual warning.
...
Signed-off-by: Andreas Mohr <and@gmx.li>
2016-04-16 10:23:43 +03:00
Andreas Mohr
16f229114a
Ticket #3598 : cleanup some -Wcast-qual compiler warnings.
...
Introduce CONST_WIDGET helper and use it.
Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-16 10:23:43 +03:00
Andrew Borodin
51d0783bf9
Merge branch '3571_high_level_mouse_api'
...
* 3571_high_level_mouse_api: (28 commits)
Rename mouse.was_drag to mouse.last_msg.
Drop old mouse API and use the new one.
Fix menu handling.
Optimize menu activation.
mcedit: rename MCEDIT_DRAG_NORMAL to MCEDIT_DRAG_NONE.
mcedit: use the new mouse API.
WEdit: get rid of mouse event pump.
WEdit: use the new mouse API.
Help: use the new mouse API.
Viewer: use the new mouse API.
Diff viewer: usethe new mouse API.
WTree: use the new mouse API.
(panel_mouse_callback): minor optimization.
WPanel: use the new mouse API.
WMenuBar: execute menu item after drag action.
WMenuBar: a few mouse handling fixes.
WMenuBar: use the new mouse API.
WRadio: use the new mouse API.
WInput: use the new mouse API.
WCheck: use the new mouse API.
...
2016-04-11 09:50:39 +03:00
Mooffie
438e841226
Rename mouse.was_drag to mouse.last_msg.
...
Get rid of the 'click' variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-04-01 15:29:55 +03:00