(panel_view_mode_t): move from panel.h to layout.h.
(panel_update_cols): move from layout.[ch] to panel.[ch]
Fixed related includes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Added a few common file types to filehighlight.ini, namely
* 7z, ace to archives
* flac, ape, wma, wmv, 3gp to media
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
The bug only occurs with subshell enabled.
When resizing the window while in the viewer, the subshell resizes
itself and hence prints its prompt again. This is captured and processed
by mc.
src/filemanager/layout.c:setup_panels() is executed and recalculates
properties of the panel, but for some reason this time mc_prompt does
contain all the invisible characters, they are not stripped off, hence
size calculation goes wrong.
Thanks Egmont Koblinger for the detailed description of the problem and
the idea of fix.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Initial state: forced suspend the previous screen when new screen has
been created. Forced resume the current screen when the previous screen
has been closed. Don't redraw suspended screens, just set sinch_pending
flag. Screen will be redrawn immediately after resume.
This commit allow ret rid of setup_panels() call if screen is resized
and filemanager is not active screen at that time.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2636_configs_placement:
Show error and don't start if config directory is a regular file
Fixed migration rules
Added unit test for mc_config_get_full_path() function
Updated MAN-pages for describe new paths to configs
Ticket #2675: man pages fixes.
Fixed comment about location of mc.keymap file.
fixup! Ticket #2636: The various MC config placements.
Added function mc_config_get_full_path() for search user's config files by short names.
Some config files moved to more appropriate places.
Changed source code for respect '--enable-homedir' configure option.
Ticket #2636: The various MC config placements.
Ticket #1730 (troubles in mcviewer with utf8)
Fixed troubles in mcviewer with drawing utf8 chars.
It happens in the middle of an utf8 char (on every 4096 bytes),
leading to a valid char treated as unprintable.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
The ancient way of reporting mouse coordinates only supports coordinates
up to 231, so if your terminal is wider (or taller, but that's unlikely),
you cannot use your mouse in the rightmost columns.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 275_panelization_fixes:
Minor optimization in file list creation.
Show the relative filename path in the panel
Changed type of the WPanel::is_panelized member from int to gboolean.
Fixes segfault after switch panel mode
Ticket #275: panelization fixes.