Use pipe to collect consecutive raised SIGWINCH events.
Then handle multiple events at a time treating them
as a single one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 4000_extfs_remove_nested_archives:
Remove archives from temporary directory after VFS timeout or at mc exit.
Remove check of "." and ".." directories.
Ticket #4000: extfs: nested archives are not removed...
...from temporary directory.
Initial step: don't insert "." and ".." to file/directory tree while
reading archive.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2733_edit_view_history:
Editor and viewer history: support CK_Delete,
history: refactoring.
(listbox_get_length): new WListbox API.
mceditor: support file history.
mcviewer: support file history.
(history_show): port to WListbox keybindings.
WListbox: add Edit, View and Enter keynindings.
(history_show): rename variable.
(history_show): constify argument.
(listbox_set_list): change argument type.
Refactoring of show file history in the file manager.
added new keybindings (F3, F4) in history list.
Ticket #2733 (a simple list of recently edited files)
Prepare to support CK_Delete in editor and viewer history.
The filepos file contains file positions and bookmarks. We must keep
them.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Based on patch by Filip Sefrna <fsefrna@gmail.com>
added action 'EditorHistory' for call history dialog.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
If SSH server does not support cleartext tunneled password
authentication and only 'keyboard interactive' authentication
instead, then we need to use different authentication
function along with a interactive callback.
Signed-off-by: Adam Majer <amajer@suse.de>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Variation 1:
Steps to reproduce:
* create empty .iso file (touch foo.iso)
* run 'mc' and press enter on empty .iso
Expected result: some error about invalid file format (sililar to what
F3 view would yield).
Actual result: mc elters a file as if it would be empty valid file.
Variation 2:
Steps to reproduce:
* pick valid .iso file
* deinstall all helper tools that handle .sio (isoinfo, xorriso, etc.)
* run 'mc' and press enter on empty .iso
Expected result: some error about invalid file format (sililar to what
F3 view would yield)
Actual result: mc enters a file as if it would be empty valid file
Variation 2 is especially confusing for users as it does not hint them
that they should install a tool to get it working. They just observe
silently broken behaviour.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
...to fix the warning:
sfs.c:281:10: warning: declaration of 'sfs_info' shadows a global declaration [-Wshadow]
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3955_cleanup:
Update po/*.po files.
src/vfs/extfs/helpers/Makefile.am: clarify condition.
VFS: move src/vfs/extfs/helpers/sfs.ini to src/vfs/sfs.
src/vfs/sfs/sfs.c: refactor flags and options.
(sfs_init): refactor loop.
(sfs_vfmake): use gboolean instead of int for boolean variable was_percent.
src/vfs/sfs/sfs.c: fix coding style.
src/vfs/local/local.c: fix coding style.
VFS: trivial optimization
VFS: move flush member from vfs_s_subclass to vfs_class.
VFS: move logfile member from vfs_s_subclass to vfs_class.
VFS: change vfs_class::nothingisopen members
vfs_class::nothingisopen: return gboolean instead of int.
Rename VFS module initialization functions.
lib/vfs/gc.c: yet another fixups
VFS: invalidate file descriptors after close.
Always use vfs_s_subclass as base class for VFS modules.
(vfs_path_from_str_uri_parser): get rid of extra type cast.
Ticket #3955: code cleanup before 4.8.23 release.