New keybinding "PanelSmartJumpUp" for the jump to the parent directory if command line is empty. Not defined by default.
This binding maybe used for bind 'Backspace' as hotkey for 'cd ..' (only if command line is empty).
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
lib/vfs/mc-vfs/samba/configure can't set the value of SAMBA_CFLAGS
in lib/vfs/mc-vfs/Makefile.am.
The solution: to avoid configuration code duplication, use environment
variables SMBCONFIGDIR and SMBCODEPAGEDIR to set up values of configdir
and codepagedir variables in lib/vfs/mc-vfs/samba/Makefile because
samba configure is child process of main configure.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
The %j modifier used to show file size produces segmentation fault
on some platforms. PRIuMAX macro cannot be used within i18b'd strings.
Solution: use %llu modifier with typecasting to unsigned long long.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2409_gmodule_cflags:
Extended list of GCC warning flags.
maint/version.sh: removed bashizms.
Fix of uintmax_t variables output.
Avoid compiler warnings.
Cast mode_t to unsigned int for formatted output.
Include stdio.h for fprintf().
Fixed declaration of mouse callback type
Quote value of MAN_DATE.
Ticket #2409: fix of GModule detection and usage.
Use PRIuMAX and PRIXMAX instead of ju and jX modifiers respectively
for formatted output of uintmax_t variables.
If PRIXMAX is not defined (i.e. in Solaris9), use PRIxMAX instead.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Don't mix GLib and GModule compiler and linker options.
Use gmodule-no-export if present to avoid use -Wl,--export-dynamic
option with some linkers. If gmodule-no-export is not available,
use generic gmodule.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Panel state is saved in ~/.mc/panels.ini:
1) when "Save setup" command is invoked;
or
2) when MC is quited and "Auto save panels setup" option is set.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 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>