* 2429_fileop_counters_overflow:
Adjust formatting output of source and destination file sizes
Unification of ctx and ctx->ui checks.
Removed unneeded checks.
Optimization of verbose operations with several files.
Use size_t instead of off_t for file counters during file operations.
Ticket #2429: overflow of file operation counters.
Check values of verbose and dialog type outside of
file_progress_show_count() and file_progress_show_total()
to avoid double checks of those options and extra function calls.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Including wrong separator ',' instead of ';' in /etc/mc/mc.keymap and /etc/mc/mc.keymap.default
(commit b1bd2e2673) causes that mcedit ignores not only ctrl-h and
1;1Cctrl-d keys but also ordinary delete and backspace! This makes mcedit mostly unusable.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 2409_prepare_to_4.7.5: (60 commits)
Include inttypes.h instead of stdint.h.
Modified output of --version key.
Moved filemanager-related stuff to src/filemanager directory
Init/deinit clean up
Cleanup of main.[ch].
Removed hardcoded actions on ctrl-d and ctrl-h hotkeys. Now these hotkeys defined in keymap file.
Changes for avoid compiler warnings
Split file src/keybind.[ch] to lib/keybind.[ch] and src/keybind-defaults.[ch].
Renamed keybind-related functions:
Moved charsets.[ch] from src to lib directory
Refactoring: removed unused variable
Removed file contrib/dist/mc.qpg.in
Removed unneded utility mcmfmt
History optimization.
Renamed mc_config_direct_set_string() to mc_config_set_string_raw()
Optimization of confguration library: delete extra checks
Menu improvements.
Optimization of str_msg_term_size().
Use str_msg_term_size() instead of msglen()
Split lib/widget/widget.[ch] and lib/widget/wtools.[ch] files
...
...to provide symmetrical usage of init/deinit functions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
All file panels related stuff was moved to midnight.[ch].
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
menubar_set_visible(): new function to get rid of menubar_visible global variable
in widgtes library.
menu_set_name(): new function to avoid total recreation of main menu
after change panel layout.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Use single function to calculate of text lines and columns
because algorithm is the same for all encodings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(dview_status): use str_term_trim() instaed of trim() to trim file name.
(dview_get_title): reimplemented using GString because str_term_trim()
returnes a pointer to internal static buffer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>