mc/src
Andrew Borodin 5047d4d114 Calculate pauses in file operations.
Calculate BPS and ETA, taking into account pauses due to query
dialog boxes.

  * (file_op_context_t): new 'pauses' member.
  * (file_error): pass file operation context to calculate pause.
  * (real_warn_same_file): likewise.
  * (real_do_file_error): likewise.
  * (real_query_recursive): calculate pause.
  * (overwrite_query_dialog): likewise.
  * (file_progress_show_total): use ctx->pauses to show time of
    operation.
  * (calc_copy_file_progress): calculate use ctx->pauses to calculate ETA.
  * (warn_same_file):
  * (check_same_file):
  * (check_hardlinks):
  * (make_symlink):
  * (do_file_error):
  * (files_error):
  * (try_remove_file):
  * (move_file_file):
  * (try_erase_dir):
  * (do_move_dir_dir):
  * (copy_file_file):
  * (copy_dir_dir):
  * (panel_operate):
  * (tree_move): related changes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2024-11-13 19:38:01 +03:00
..
consaver Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
diffviewer Ticket #4600: fix segfault on panel filter. 2024-10-19 11:38:31 +03:00
editor Ticket #4584: re-implement mocking via weak symbols instead of symbol duplication 2024-10-19 08:56:40 +02:00
filemanager Calculate pauses in file operations. 2024-11-13 19:38:01 +03:00
man2hlp Update copyright years. 2024-01-01 09:46:17 +03:00
subshell Ticket #4599: add support for bash PROMPT_COMMAND being an array 2024-11-01 19:26:04 +01:00
vfs posix: use tail -1, not tail -n 1, prefer gsed for Solaris compat 2024-10-26 18:22:53 +02:00
viewer Ticket #4600: fix segfault on panel filter. 2024-10-19 11:38:31 +03:00
.gitignore Fix .gitignore 2019-09-01 20:13:27 +03:00
args.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
args.h mceditor: refactoring. 2024-04-07 16:06:16 +03:00
background.c Move content of src/filemanager/fileopctx.[ch] to src/filemanager/filegui.[ch]. 2024-11-05 18:19:28 +03:00
background.h Move content of src/filemanager/fileopctx.[ch] to src/filemanager/filegui.[ch]. 2024-11-05 18:19:28 +03:00
clipboard.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
clipboard.h Use events for operate with clipboard (copy/paste to external clipboard, save/load to file) 2011-03-21 23:55:52 +02:00
cons.handler.c Ticket #4584: re-implement mocking via weak symbols instead of symbol duplication 2024-10-19 08:56:40 +02:00
events_init.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
events_init.h Use argument names in function declarations. 2021-06-20 15:14:56 +03:00
execute.c Ticket #4584: re-implement mocking via weak symbols instead of symbol duplication 2024-10-19 08:56:40 +02:00
execute.h Merge lib/utilunix.h into lib/util.h. 2024-04-07 16:38:11 +03:00
file_history.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
file_history.h Refactoring of show file history in the file manager. 2019-08-10 09:45:27 +03:00
help.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
help.h Fix various typos in the source code (closes MidnightCommander/mc#177). 2023-01-28 21:38:05 +03:00
history.h Add macros for select/unselect histories. 2022-04-10 17:43:44 +03:00
keymap.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
keymap.h Refactoring of keymap load/save. 2021-03-14 19:48:59 +03:00
learn.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
learn.h Code indentation in src directory 2010-11-24 10:27:47 +03:00
main.c Ticket #4584: re-implement mocking via weak symbols instead of symbol duplication 2024-10-19 08:56:40 +02:00
Makefile.am buildsys: fix build on macOS with libssh2 present via homebrew 2024-06-02 12:49:13 +03:00
selcodepage.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
selcodepage.h Cleanup of main.[ch]. 2010-11-24 10:51:31 +03:00
setup.c (setup__is_cfg_group_must_panel_config): fix coding style. 2024-10-05 15:07:14 +03:00
setup.h Fix various typos in the source code (closes MidnightCommander/mc#177). 2023-01-28 21:38:05 +03:00
textconf.c (show_version): add output of uintmax_t size. 2024-10-05 15:07:14 +03:00
textconf.h Added --configure-options for easy update & reconfigure existing mc. 2011-03-29 12:37:55 +03:00
usermenu.c Ticket #4600: fix segfault on panel filter. 2024-10-19 11:38:31 +03:00
usermenu.h (user_file_menu_cmd): move to src/usermenu.h and make inline. 2024-10-05 15:05:58 +03:00
util.c (file_op_total_context_t): remove. All members were moved to file_op_context_t. 2024-11-05 18:19:28 +03:00
util.h (check_for_default): minor optimization and change return value. 2012-04-22 11:25:11 +03:00