Commit Graph

14628 Commits

Author SHA1 Message Date
Andrew Borodin
109b6ed80b Merge branch '4064_garbage_in_history'
* 4064_garbage_in_history:
  Ticket #4064: fix garbage in history.
2020-02-22 09:33:30 +03:00
Andrew Borodin
ac184ebafe Ticket #4064: fix garbage in history.
(do_show_hist): apply new input history and current postition to avoid
use-after-free after call of history_show().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-21 18:24:59 +03:00
Vladislav Zavjalov
cc9b5faf08 Ticket #4062: mceditor: expand shebang regexp for tcl.syntax.
Add shebangs with wish É tclsh.

Original bugreport is https://bugzilla.altlinux.org/37545.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-15 18:24:32 +03:00
Marcel Pol
2720085877 Ticket #4061: add support for opus audio.
The following patch adds support for opus audio files.

The executable opusinfo is part of opus-tools package.
Xmms and play are able to play opus files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-11 21:12:44 +03:00
Grzegorz Szymaszek
aa2904eebc Ticket # 4060: escape backslashes in PHP single quote string.
In PHP strings delimited with single quotes, there are two characters
that can be escaped: \ and '. For example, the PHP string 'a\'b\\c\d'
could be printed as ‘a'b\c\d’.

Escaping quotes was already possible with the PHP syntax file. This
commit adds support for escaping backslashes. It fixes mcedit’s syntax
highlighting on PHP strings that end with \\ (like 'aaa\\').

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-08 19:45:59 +03:00
Andrew Borodin
a5c9fa1394 Merge branch '4052_sigwinch'
* 4052_sigwinch:
  Close sigwinch_pipe at shutdown.
  (tty_create_winch_pipe): use GLib APIs to create pipe
  Ticket #4052: reimplement SIGWINCH handling.
2020-02-08 19:36:43 +03:00
Andrew Borodin
9a57984974 Close sigwinch_pipe at shutdown.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-08 19:35:36 +03:00
Andrew Borodin
b5dae72e1e (tty_create_winch_pipe): use GLib APIs to create pipe
...to get rid of OS-specific features and limitations.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-08 19:35:36 +03:00
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