* 2990_cleanup:
Refresh po/*.po files.
Rename functions:
(dlg_overlap): rename to widget_overlapped()
(dlg_replace_widget): rename to widget_replace()
(dlg_widget_active): rename to widget_is_active()
(mcview_ok_to_quit): move to actions_cmd.c and make static.
(dlg_mouse_event): minor refactoring.
(dlg_default_callback): get rid of extra type cast.
WTree: fix double-click handling.
Code reorganization and fixes around the vfs_path_as_str() function
Ticket #3022: misc/mc.menu contains russian UTF-8 "Ó" instead of English "c".
(vfs_path_as_string): clarify return value.
Fix draw of tree mini-status.
Ticket #2071: a bit cleanup of getting profile name.
Ticket #2164: clarify cursor position in mcviewer.
Ticket# 2990: prepare to 4.8.9 release.
When viewing a file, the cursor's position is different in the slang
and ncurses builds.
With slang, the cursor is in the upper right corner, on the percent sign.
With ncurses, the cursor wraps around to the beginning of the next line,
that is, the top left corner of the actual file contents viewing area.
In this commit, cursor is moved to upper right corner unconditionally
after print of percentage value.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2923_sftp_aliases:
src/vfs/sftpfs/vfs_subclass.c: add missing includes.
Fix: sftp: password ask too often if hostname was bring from ~/.ssh/config file
Ticket #2923: broken aliases in SFTPFS.
modarin256: a moderate-dark-independent 256-color skin for Midnight Commander.
This skin is using colors independent from the default 16 terminal colors,
i.e., no matter how the 16 standard colors are configured, the appearance
of Midnight Commander will not be affected.
There are 4 variants of this skin:
modarin256
- default skin, no standard colors used.
modarin256-defbg
- like modarin256, but using the default background color for core, editor,
viewer, menu and popupmenu backgrounds, for use with (semi-)transparent
background colors.
modarin256root
modarin256root-defbg
- like the other two skins, but for the root user, with red colors used
instead of green colors for things like select/focus/statusbar etc.,
to keep reminding the user that mc is running as root.
Fallback skins for 16-color terminals (poor man's skins):
modarcon16
modarcon16-defbg
modarcon16root
modarcon16root-defbg
- like everything running in a 16-color terminal, these skins look ugly
and are no subsitute for the 256-color versions. As some terminals don't
support using dark gray as background color, i used a black background
and adjusted the remaining colors accordingly.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Current master (4.8.8-49-g6b64835) segfaults while entering into any extfs archive (zip, rar, etc).
Bad commit is 2640b21bb9.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
mc may not detect the gpm mouse under X11 on many x terminals when running together with tmux or screen.
On some cases it can even hang.
It's a small patch to the gpm maintainer to improve its checking.
Seems there is a need also to a small change on mc.
Now everything is working perfectly.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Revert "(size_trunc_len): support automatic maximum unit for specified size."
This reverts commit ef94b84eaf.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2990_cleanup: (32 commits)
Remove LC_ALL from info_size. INFO file generate without LC_ALL e.g. in current locale. Size must be computed with same locale, otherwise INFO file will be chopped of
mceditor: last_bracket: make member of WEdit.
Use "'" instead of "`" for messages and comments quoting.
Search callbacks should return mc_search_cbret_t not int.
Fix filename for msppt in ext.d/doc.sh: use $MC_EXT_FILENAME not %f.
Fix info for ogg files in sound.sh
Minor otimization of syntax highlightimg engine:
(compare_word_to_right): use correct upper boundary of scanned text.
option_whole_chars_search: unsed variable. Remove it and related code.
(edit_update_screen): fix of editor frame drawing.
src/editor/editcmd.c: remove unneeded include layout.h.
Fix documentation: use actual menu item names.
(edit_about): update year.
(vfs_get_encoding): optimization and enhancement:
(button_set_text): update value of WButton::hotpos.
Use tty_draw_box instead of draw_box() to draw frames.
(smbfs_fake_share_stat): don't access to free'd memory.
Remove vfs_path_to_str() function for avoid often memory allocations.
Use G_N_ELEMENTS macro to calculate of array size.
WEdit::labels is unused. Remove.
...