Andrew Borodin
fcc8639169
(handle_path): change parameters type from int* to gboolean*.
...
(do_find): change variable type and reduce scope.
(do_external_panelize): change variable type.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
ea0fcc0fb8
(handle_dirent): change parameters type from int* to gboolean*.
...
(dir_list_load): change variable type and reduce scope.
(dir_list_reload): likewise.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
13597ebd67
lib/tty/tty-internal.h: fix typo.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
eb2943aed2
(tty_init): remove stuff that SLang_init_tty() already done.
2019-09-01 19:41:12 +03:00
Andrew Borodin
f22353ed3d
(tty_init): clarify screen size limitation.
...
S_Lang: pre2.3.3-8 (55f58798c267d76a1b93d0d916027b71a10ac1ee): removed
static buffers dependent upon SLTT_MAX_SCREEN_ROWS/COLS in favor of
dynamically allocated arrays.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
3b39cee81f
src/filemanager/layout.c: fix coding style.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
07d2f11712
(save_panel_dir): minor refactoring.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
97bc63d7ac
File manager: refactoring of MSG_RESIZE handling.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
6e4ea30fc3
diffviewer: refactoring of MSG_RESIZE handling.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
2ddd6b41a0
mcviewer: refactoring of MSG_RESIZE handling.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
5ca0dbab01
mcedit: refactoring of MSG_RESIZE handling.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
297391fd60
(dlg_adjust_position): rename to widget_adjust_position and make public.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
f6c4ae2f31
(setup_panels): refactoring: optimization
...
..,and change order of widget origin/size calculation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
2b55c54efc
Menubar is always on top line of screen.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
9c0c2b77af
Document alternate_plus_minus option.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
35d2590893
(create_file_manager): clarufy value of hint transparency.
2019-09-01 19:41:12 +03:00
Andrew Borodin
247af01a8e
(toggle_panels): join with view_other_cmd and rename to toggle_subshell.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
02f49a8f6d
src/subshell/proxyfunc.c: fix up includes.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
29110e5681
Move history operation routines from lib/widget/history.c to lib/mcconfig/history.c.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
0efb799db3
lib/mcconfig: fix coding style; apply source file template.
...
Unconstify some function arguments.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
500e49b50a
(fish_set_env): remove uneeded function call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
596a6edc56
src/filemanager/cmd.c: fix coding style.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:06 +03:00
Andrew Borodin
d76cf51d54
src/filemanager/boxes.[ch]: unify some function names.
2019-09-01 19:34:45 +03:00
Andrew Borodin
d615e4b9b7
src/filemanager/find.c: test verbose flag before call of find_rotate_dash().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:34:45 +03:00
Andrew Borodin
40f82f2732
src/filemanager/find.c: fix coding style.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:34:45 +03:00
Andrew Borodin
617fd4d9ff
Ticket #3997 : code clean up before 4.8.24 release.
...
* doc/NEWS: cosmetics.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:34:45 +03:00
Andrew Borodin
af65483e97
Merge branch '117_sigwinch'
...
* 117_sigwinch:
Ticket #117 : refactoring of SIGWINCH hangling.
2019-09-01 19:25:27 +03:00
Andrew Borodin
37ffc02422
Ticket #117 : refactoring of SIGWINCH hangling.
...
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>
2019-09-01 19:22:21 +03:00
jetpilot
19cc61cf04
Ticket #4010 : inprove YAML syntax highlighting.
...
Add inlined data block highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-31 19:34:39 +03:00
Werner Lemberg
077947008d
Ticket #4009 : mc.menu: handle symbolic links to compressed archives.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-25 18:57:21 +03:00
Andrew Borodin
7888bec967
Merge branch '4006_menu_enter_down'
...
* 4006_menu_enter_down:
Ticket #4006 : remove Enter from Down menu key binding.
2019-08-25 18:39:45 +03:00
Andrew Borodin
f52a6549d4
Ticket #4006 : remove Enter from Down menu key binding.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-23 12:44:06 +03:00
Marc Ihm
e79391a0f8
Ticket #4005 : add yabasic syntax highlighting.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-17 10:14:44 +03:00
Andrew Borodin
c281e7c6ed
Merge branch '4000_extfs_remove_nested_archives'
...
* 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...
2019-08-10 10:05:01 +03:00
Andrew Borodin
ade0e70eb4
Remove archives from temporary directory after VFS timeout or at mc exit.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 10:04:04 +03:00
Andrew Borodin
e1a1990055
Remove check of "." and ".." directories.
...
Output of "list" command must not contain them.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 10:02:08 +03:00
Andrew Borodin
85bf9bec23
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>
2019-08-10 10:02:08 +03:00
Andrew Borodin
c853a4fbf2
Merge branch '2733_edit_view_history'
...
* 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)
2019-08-10 09:48:11 +03:00
Andrew Borodin
fede9fb4f9
Editor and viewer history: support CK_Delete,
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 09:45:27 +03:00
Andrew Borodin
c4668b56f7
history: refactoring.
...
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>
2019-08-10 09:45:27 +03:00
Andrew Borodin
883e7b17b5
(listbox_get_length): new WListbox API.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 09:45:27 +03:00
Andrew Borodin
2ed7abc3fe
mceditor: support file history.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 09:45:27 +03:00
Andrew Borodin
f0c9e50f80
mcviewer: support file history.
2019-08-10 09:45:27 +03:00
Andrew Borodin
0f02d49b0d
(history_show): port to WListbox keybindings.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 09:45:27 +03:00
Andrew Borodin
a4e36d079d
WListbox: add Edit, View and Enter keynindings.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 09:45:27 +03:00
Andrew Borodin
b81e4aac55
(history_show): rename variable.
...
(history_dlg_data): rename member.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 09:45:27 +03:00
Andrew Borodin
644d72fed2
(history_show): constify argument.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 09:45:27 +03:00
Andrew Borodin
2fce07a7e1
(listbox_set_list): change argument type.
2019-08-10 09:45:27 +03:00
Andrew Borodin
00f1229af3
Refactoring of show file history in the file manager.
2019-08-10 09:45:27 +03:00
Ilia Maslakov
87428aa8ea
added new keybindings (F3, F4) in history list.
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2019-08-10 09:45:27 +03:00