* 2055_cleanup_master:
Identation of some source files.
UNDELFS: code cleanup
avoid often memory alocation&release
x86_64: Cleanup of code for master
Cleanup: avoid warnings for mc-library on x86_64
Avoid double check some panel values before call of select_item().
Cleanup of code for master
Ticket #2055: Cleanup before 4.7.1 and 4.7.0.3 releases
Thanks Vit Rosin to found memory leak in _vfs_memleak() function.
This function was rewritten to fix two memory leaks.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2037_source_tree_changes:
doc/HACKING: some obsoleted info was removed.
News about version 4.6.2 and older were moved to doc/NEWS.OLD file.
Ticket #2037: minor changes in source tree.
Problem description:
1. Run mc as
mc /#ftp:user@server
2. If FTP server asks password, MC shows the password dialog window.
3. If type the first symbol in input line, MC crashes.
Bug cause:
MC asks ftp password before initialize of input line keybindings.
Solution:
Reimplemented MC startup sequence.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1443_one_dir_copy_progress:
Change param name from 'Layout.progressbar_always_left2right' to 'Layout.classic_progressbar'
Change progressbar dialog.
Added ability to show progressbars (when copy files) from right to left.
Added indication of total BPS and ETA for file operations.
Widget library: added new widget WHLine.
Show Count progress bar before copy/move of 1st file,Z not after.
copy_file_file(): create file copy buffer in stack instead of heap.
Type accuracy in file operation routines.
Reimplemented some gotos in panel_operate().
Ticket #1443: show average copying velocity/ETA for whole operation.
* Minimizing dialog;
* Optimizations of Copy/move progress dialog creation;
* Added enum for specify dialog type (for copy/move or for delete)
* Little optimization.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* Optimized functions calls (changed return type of all file_progress_show*() functions)
* Reworked for use global structure FileOpTotalContext
* Moved declarations of file_progress_show*() functions from fileopctx.h to filegui.h
* Code for calculate progressbar's variables was moved into function copy_file_file_display_progress()
* Progressbar for little files now shows always 100% (for visible effect)
* Added i18n string '< 1 sec'
* Rework of progress copy dialog
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Problem description:
Let's consider large directory (~4GB) with relatively small files:
each 1-2MB.
When I try to copy whole directory I would like to see average
copying velocity (and ETA) not only per-file (I just don't see
stats for small files), but for the whole progress.
This commit fixes the issue. Thanks Sergey <sergemp at mail dot ru>
for the initial patch.
Additionally, the minor type accuracy was provided.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>