Andrew Borodin
c1b604fa16
src/vfs/local/local.c: fix coding style.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
651c3539b6
VFS: trivial optimization
...
* (vfs_s_opendir): test if path is invalid or not ASAP.
* (vfs_s_readlink): likewise.
* (vfs_s_open): likewise.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
9df841478b
VFS: move flush member from vfs_s_subclass to vfs_class.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
45bd20ab0b
VFS: move logfile member from vfs_s_subclass to vfs_class.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
94c0b79f37
VFS: change vfs_class::nothingisopen members
...
Do not free VFS before nested one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
5b0f177e62
vfs_class::nothingisopen: return gboolean instead of int.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
01a1a01d4e
Rename VFS module initialization functions.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
3d6d6bd9a6
lib/vfs/gc.c: yet another fixups
...
* (vfs_expire): refactor.
* Fix typos.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
7548679271
VFS: invalidate file descriptors after close.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
7d80e8a175
Always use vfs_s_subclass as base class for VFS modules.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
210ccc2f65
(vfs_path_from_str_uri_parser): get rid of extra type cast.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
70eba8c2d9
Ticket #3955 : code cleanup before 4.8.23 release.
...
(update_one_panel_widget): clarify call of mc_setctl().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 17:43:00 +03:00
Andrew Borodin
0cf2ded646
Merge branch '3971_sighandler_t'
...
* 3971_sighandler_t:
Ticket #3971 : clarify sighandler_t usage in non-GNU OSes.
2019-06-15 09:40:45 +03:00
Andrew Borodin
4f06ba9346
Ticket #3971 : clarify sighandler_t usage in non-GNU OSes.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-15 09:38:53 +03:00
cheese
4135eb6460
Ticket #3991 : update RPM spec syntax highlighting.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-10 21:18:21 +03:00
Andrew Borodin
934a2d9314
Merge branch '212_menu_keybind'
...
* 212_menu_keybind:
Menubar: support Home and End actions for Menubar.
Menu: implement drop/execute menu by hotkey.
Ticket #212 : implement keybinding for menu.
2019-06-09 12:07:01 +03:00
Andrew Borodin
ff7d1728e2
Menubar: support Home and End actions for Menubar.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-09 12:06:10 +03:00
Ilia Maslakov
4e5488d5b2
Menu: implement drop/execute menu by hotkey.
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-09 12:06:10 +03:00
Ilia Maslakov
f5f78ea658
Ticket #212 : implement keybinding for menu.
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-09 12:06:10 +03:00
Andrew Borodin
71c0f7640d
Merge branch '3990_hardlink_error_garbage'
...
* 3990_hardlink_error_garbage:
Ticket #3990 : (real_do_file_error): fix number of buttons in the dialog window.
2019-06-02 12:33:32 +03:00
Andrew Borodin
936ba9618d
Ticket #3990 : (real_do_file_error): fix number of buttons in the dialog window.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-05-29 09:28:42 +03:00
Lars Wendler
ee08fa9f56
Ticket #3988 : mcedit: syntax: add many missing ebuild syntax variables and commands.
...
- Group commands coming from eclasses
- Add common Makefile variables
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-05-18 17:26:20 +03:00
Marco Ciampa
8548682198
Updated Italian translation
2019-05-14 08:45:45 +02:00
Andrew Borodin
5cde979390
Merge branch '3452_mcview_search_opposite'
...
* 3452_mcview_search_opposite:
Ticket #3452 : mcviewer: implement temporary change of search direction.
2019-05-09 15:47:40 +03:00
Andrew Borodin
7ddd4e9bb4
Ticket #3452 : mcviewer: implement temporary change of search direction.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 20:47:51 +03:00
Andrew Borodin
e1d11906b3
Merge branch '3955_cleanup'
...
* 3955_cleanup: (43 commits)
Update po/*.po files.
(mcview_execute_cmd): regroup actions.
lib/tty/key.c: fix coding style.
(setup_mc): clarify call of add_select_channel().
lib/tty/key.c: (SelectList): rename to select_t and refactor using GSList.
src/editor/edit.c: cleanup unused include.
(ftpfs_get_proxy_host_and_port): ret rid of host name duplcation.
(ftpfs_open_socket): fix memory leak in case of proxy usage
src/vfs/ftpfs/ftpfs.c: fix coding style.
src/vfs/ftpfs/ftpfs.c: use gboolean instead of int where reasonable.
(tar_read_header): refactor loop. Get rid of goto.
tar.c: move header decoding to separate function.
tar.c: lots of renaming to be close with the GNU tar source code.
extfs: change some function arguments.
extfs: refactoring: use standard VFS structures.
extfs: refactoring of open and read archive.
(extfs_find_entry_int): minor optimization.
VFS: make vfs_file_handler related macros more readable.
VFS: derive VFS-specific file handler class from vfs_file_handler_t.
VFS: make vfs_super related macros more readable.
...
2019-04-27 20:40:41 +03:00
Andrew Borodin
f12a2ee4d5
Update po/*.po files.
2019-04-27 19:56:59 +03:00
Andrew Borodin
2c44ec24c9
(mcview_execute_cmd): regroup actions.
2019-04-27 19:31:20 +03:00
Andrew Borodin
8724c80b7a
lib/tty/key.c: fix coding style.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:31:20 +03:00
Andrew Borodin
94eff3e2fd
(setup_mc): clarify call of add_select_channel().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
c6f269a2c3
lib/tty/key.c: (SelectList): rename to select_t and refactor using GSList.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
870c1db722
src/editor/edit.c: cleanup unused include.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
987b4e3234
(ftpfs_get_proxy_host_and_port): ret rid of host name duplcation.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
a16db591e3
(ftpfs_open_socket): fix memory leak in case of proxy usage
...
...and remove pointless check.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
f19a10c657
src/vfs/ftpfs/ftpfs.c: fix coding style.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
6bbb2d9ded
src/vfs/ftpfs/ftpfs.c: use gboolean instead of int where reasonable.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
e6fc6c81fa
(tar_read_header): refactor loop. Get rid of goto.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
745c3536fe
tar.c: move header decoding to separate function.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
075ad1e047
tar.c: lots of renaming to be close with the GNU tar source code.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
8e6bd77b6e
extfs: change some function arguments.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
0c66d9cef6
extfs: refactoring: use standard VFS structures.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
58d2f1be35
extfs: refactoring of open and read archive.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
445b427d37
(extfs_find_entry_int): minor optimization.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:25 +03:00
Andrew Borodin
533cbbd971
VFS: make vfs_file_handler related macros more readable.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:24 +03:00
Andrew Borodin
6d21416672
VFS: derive VFS-specific file handler class from vfs_file_handler_t.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:24 +03:00
Andrew Borodin
86401f30dc
VFS: make vfs_super related macros more readable.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:24 +03:00
Andrew Borodin
3e08cc7226
VFS: derive VFS-specific super class from vfs_s_super.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:24 +03:00
Andrew Borodin
d51f1f4963
VFS: refactor VFS unit initialization.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:24 +03:00
Andrew Borodin
672ba46c8b
VFS: make vfs_class and vfs_s_subclass related macros more readable.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:24 +03:00
Andrew Borodin
0fbd98fece
Join vfs_class_flags_t and vfs_subclass_flags_t.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:29:24 +03:00