When reorganizing skins, two values in the sand256 skin got lost: the
header is boring black instead of interesting red, and the header in
viewer/editor is not highlighted.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2610_posix_fallocate:
Documentation updated for describe preallocate feature
Added configuration option 'preallocate_space' for toggle space preallocating behaviour.
Added implementation for files space preallocation
Ticket #2610: Use posix_fallocate() when copying files/moving to a new mount point
(vfs_s_close): vfs-specific data of file handler
vfs_file_handler_t::data is freed in vfs_s_subclass::fh_close method and
then can be used in vfs_s_subclass::file_store_one. Bug is related to
ftp and fish VFSes.
Added new vfs_s_subclass::fh_free_data method to free vfs-specific data
of file handler vfs_file_handler_t::data. Use it in ftp and vfs VFSes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2620_cleanup: (25 commits)
vfs_parse_ls_lga: The checks for timestamp is commented out.
Include config.h to all test's files
vfs_parse_ls_lga: Make tests output more verbose
Ticket #2627: Fixed several errors in manpages.
Fix build with --disable-charset option.
Added the 'c' hotkey for 'Compile and link current .c file' item of user menu.
Editor: reduce scope of some functions.
Editor: reduce scope of some functions.
Editor: reduce scope of some functions.
(get_paragraph): fix of pointer difference.
(load_keymap_from_section): minor optimization.
(load_keymap_from_section): remove unneeded keybind conversions.
Added percent sign to key names.
keymap files: unification of Fxx keys: move to lower case.
(mc_refresh): moved from lib/widget/wtools.[ch] to lib/widget/dialog-switch.[ch]
Man pages clean up
Remove CK_Help action handler in diffviewer
(size_trunc_len): fixed potential integer overflow if SI is used.
VFS small optimization
Remove extra screen update after show help.
...
The edit_insert_column_of_text() function is used only in
src/editor/editcmd.c file. Now it is static.
Removed unneeded forward declarations.
Moved static functions to static area in src/editor/editcmd.c
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Following fuctions are used in in src/editor/edit.c file only:
edit_print_string
edit_move_block_to_right
edit_move_block_to_left
They was moved from src/editor/editcmd.c into src/editor/edit.c
and made static.
insert_spaces_tab() is used in src/editor/edit.c. Not it is static. Also
some optimization was performed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Following fuctions are used in in src/editor/edit.c file only:
edit_get_byte_ptr
edit_get_buf_ptr
edit_get_prev_utf
Now they are static.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(vfs_class_data_find_by_handle, vfs_class_find_by_handle): move same
code to the separate function vfs_get_openfile().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
If first element is relative, the result path should be also relative
not absolute.
If first element is empty, the result path is relative.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Steps to reproduce:
* configure & compile mc with '--enable-charset' option;
* run mc
* go to dir with any of *.zip, *.rpm, *.deb, *.patch/diff files
* Change path encoding to any other by pressing ALT+e (selected encoding should be dfferent to system encoding)
* try to enter to archive
You'll se error message from extfs module.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>