Commit Graph

14620 Commits

Author SHA1 Message Date
Andrew Borodin 91688ab76e Ticket #4052: reimplement SIGWINCH handling.
Bump minimum GLib requirenment to 2.30.0.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-08 19:35:36 +03:00
Andrew Borodin 8c243309cc Merge branch '4056_mcedit_subshell'
* 4056_mcedit_subshell:
  Ticket #5056: avoid subshell warning for mcedit run from mc.
2020-02-08 19:27:16 +03:00
Andrew Borodin c867b9d40e Ticket #5056: avoid subshell warning for mcedit run from mc.
Don't show message "GNU Midnight Commander is already running on this
terminal. Subshell support will be disabled." if standalone
mcedit/mcview/mcdiffview is run from mc. Show this message only in case
of mc run from another mc, as was before commit
41abcbf706 (ticket #3380).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-08 19:26:49 +03:00
Andrew Borodin 647c431b27 Merge branch '3722_double_click_on_empty'
* 3722_double_click_on_empty:
  Ticket #3722: file manager: clarify double click behaviour.
2020-02-02 19:20:51 +03:00
Andrew Borodin 21d993facd Ticket #3722: file manager: clarify double click behaviour.
Don't execute (or enter to) last file on double click on empty area.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-02 19:17:49 +03:00
Andrew Borodin f30d0e34c0 Merge branch '4055_deb_empty_content'
* 4055_deb_empty_content:
  (extfs_read_archive): simplify conditions.
  (extfs_read_archive): remove extra type cast.
  (extfs_find_entry_int): fix stale symlinks.
  Ticket #4055: broken browsing of .deb packages.
2020-01-25 18:53:41 +03:00
Andrew Borodin 988fb262ae (extfs_read_archive): simplify conditions.
(a || !b) && b == (a && b) || (!b && b) == (a && b) || 0 == a && b

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-01-25 10:43:12 +03:00
Andrew Borodin 298d0bc129 (extfs_read_archive): remove extra type cast.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-01-25 10:38:11 +03:00
Andrew Borodin ac8d22fa24 (extfs_find_entry_int): fix stale symlinks.
Partially revert e1a1990055.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-01-25 10:35:06 +03:00
Andrew Borodin 3c3cb733c9 Ticket #4055: broken browsing of .deb packages.
src/vfs/extfs/helpers/deb.in: remove leading ./ from paths.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-01-25 09:20:22 +03:00
Andrew Borodin 23b906a4aa Merge branch '4053_glib_2_63_3'
* 4053_glib_2_63_3:
  Ticket #4053: fix FTBFS with glib2 >= 2.63.3.
2020-01-24 21:25:05 +03:00
Andrew Borodin b75ee9169e Ticket #4053: fix FTBFS with glib2 >= 2.63.3.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-01-24 21:23:24 +03:00
Andrew Borodin c8046dc845 Merge branch '4052_o_cloexec'
* 4052_o_cloexec:
  Ticket #4052: fix FTBFS on OSes w/o O_CLOEXEC.
2020-01-22 10:46:13 +03:00
Andrew Borodin 28ca5cb128 Ticket #4052: fix FTBFS on OSes w/o O_CLOEXEC.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-01-22 10:44:19 +03:00
Yury V. Zaytsev f0d8bed947 Update translations from Transifex
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2020-01-19 01:48:22 +04:00
Marco Ciampa ba28de595d Updated Italian translation 2020-01-06 12:55:05 +01:00
Yury V. Zaytsev 06bf088bc1 Update doc/NEWS file
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2020-01-01 23:47:22 +04:00
Yury V. Zaytsev 0a806f93f2 Update hints translations from Transifex
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2020-01-01 23:39:31 +04:00
Yury V. Zaytsev 7cd550cc7d Update translations from Transifex
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2020-01-01 23:01:28 +04:00
Mikhail Fursov 1639542801 julia256: a new dark skin with calm colors and good contrast.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-23 18:14:01 +03:00
lijah Zarezky 9ede2fa80b (load_layout): fix load of boolean options.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-21 15:25:33 +03:00
Andrew Borodin fc989f9e53 Merge branch '3997_cleanup'
* 3997_cleanup: (27 commits)
  Update po/*.po files.
  (button_set_text): do nothing if new and current texts are equal.
  (check_set_text): new WCheck API.
  (hotkey_draw): minor optimization.
  (hotkey_get_text): new hotkey API.
  (hotkey_equal): new hotkey API.
  Rename hotkey API:
  Refactor of how_console_contents() calls.
  doc/INSTALL: fix build requirements.
  Drop legacy options.
  Ticket #4039: split integer and boolean layout options.
  Ticket #4038: remove unused hotlist option expanded_view_of_groups.
  Use g_clear_slist() and g_clear_list().
  lib/widget/menu.c: constify some function arguments.
  Ticket #4030: misc/ext.d/web.sh.in: view html: fallback to cat...
  (overwrite_query_dialog): fix comment.
  misc: install mc.charsets into $pkgdatadir again.
  (dlg_redraw): rename to dlg_draw.
  (widget_redraw): rename to widget_draw.
  (widget_move): rename to widget_gotoyx.
  ...
2019-12-15 20:01:23 +03:00
Andrew Borodin feb83565f7 Update po/*.po files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:51:58 +03:00
Andrew Borodin d034500fd6 (button_set_text): do nothing if new and current texts are equal.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin b031b44823 (check_set_text): new WCheck API.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin 432af88b06 (hotkey_draw): minor optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin 53314c58b5 (hotkey_get_text): new hotkey API.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin 851d2022a9 (hotkey_equal): new hotkey API.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin 32a4b1ac85 Rename hotkey API:
* parse_hotkey to hotkey_new;
  * release_hotkey to hotkey_free.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin d8a7a87747 Refactor of how_console_contents() calls.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin cedf62cc0d doc/INSTALL: fix build requirements.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin b108728e8a Drop legacy options.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin b2141c0ff0 Ticket #4039: split integer and boolean layout options.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin a3fa3ba54c Ticket #4038: remove unused hotlist option expanded_view_of_groups.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 13:02:31 +03:00
Andrew Borodin 57c303eeaf Use g_clear_slist() and g_clear_list().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin f85c1c898e lib/widget/menu.c: constify some function arguments.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin 65bbf9f8e6 Ticket #4030: misc/ext.d/web.sh.in: view html: fallback to cat...
if none of browsers are installed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin fb1b66be87 (overwrite_query_dialog): fix comment.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin c4264c58ae misc: install mc.charsets into $pkgdatadir again.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin 65e12d1a9f (dlg_redraw): rename to dlg_draw.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin 60fe701b76 (widget_redraw): rename to widget_draw.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin 35f14be028 (widget_move): rename to widget_gotoyx.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin baca4ba045 Widget and WDialog API changes:
* (widget_destroy): new API to destroy widget.
  * (del_widget): don't destroy widget after remove it from dialog.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin 9506db9148 doc/man/mc.1.in: restore previous simple description of -s/--slow option.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin 29af9de3c9 doc: man page: rename section USAGE to SYNOPSIS.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
tikhonov d369b2e193 mc-wrapper: use `whoami` instead of `id | sed ...`.
If AD authorization is used, then the "id" command works for a very long
time (since it unloads all groups in the domain), it seems to me that it
is more correct to use the "whoami" command.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin d8a3fe93f2 doc/man/mc.1.in: clarify formatting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin 359ad1c73d doc/man: fix library names.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin cabfecfec4 Ticket #3997: code cleanup before 4.8.24 release.
Russian man page fixups.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Grzegorz Szymaszek abb7df9f26 Ticket #4041: mcedit: update Debian sources.list syntax highlighting.
Add support for many URI specifications (like tor+https) and options
(like arch).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-08 10:12:26 +03:00