When there's no mc-tmpdir and a user tries to start two mc sessions
simultaneously, sometimes (in one out of ten attempts on my machine) one
mc session emits the following error message:
Cannot create temporary directory /tmp/mc-lars: File exists (17)
Temporary files will be created in /tmp
Press any key to continue...
Steps to reproduce:
# rm /tmp/mc-$(whoami) -rf
# uxterm -e mc & uxterm -e mc
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1743_mcedit_file_size: (25 commits)
Refresh po/*.po files.
Indentation.
Add threshold for file size.
Drop limit of edited file size.
Add functions to transform string to unsigned integer:
Refactoring of functions that operate with editor buffer.
Refactoring: rename functions of getting BOL and EOFL:
Refactoring: move members from WEdit to edit_buffer_t and rename related functions:
(get_paragraph): refactoring.
A lot of type accuracies.
(edit_indent_width, edit_insert_indent): move to wordproc.c and make static.
Rename edit_buffer_t members.
Use GPtrArray to store editor buffers.
(edit_cursor_move): refactoring using editor buffer API.
New editor buffer API to delete character at cursor position.
New editor buffer API to insert character at cursor position.
(edit_buffer_write_file): refactoring: return number of written bytes.
(edit_buffer_write_file): new editor buffer API.
(edit_buffer_read_file): refactoring: return number of read bytes.
(edit_buffer_read_file): new editor buffer API.
...
Add "editor_filesize_threshold" ini option to ask open file if it size
is larger than specified threshold. Supported string value formats are:
"640000000", "64000K", "64M". Default value is 64M.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2163_rotating_dash:
(find_rotate_dash): invert the boolean argument
Ticket #2163: rotating dash is not removed when mc finishes reading the directory
...or when other long aperation is finished.
(rotate_dash): add argument to show/hide dash. Move dash to the corner
of the right/top panel from corner of the screen.
Thanks Egmont Koblinger for the original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3020_external_editor_segfault:
--with-edit: rename to --with-internal-edit.
Fix bug with segfault when we tried to create new file in an external editor (by pressing shift-F4)
Ticket #3020: segfault on creating new file in external editor
* 2990_cleanup:
Refresh po/*.po files.
Rename functions:
(dlg_overlap): rename to widget_overlapped()
(dlg_replace_widget): rename to widget_replace()
(dlg_widget_active): rename to widget_is_active()
(mcview_ok_to_quit): move to actions_cmd.c and make static.
(dlg_mouse_event): minor refactoring.
(dlg_default_callback): get rid of extra type cast.
WTree: fix double-click handling.
Code reorganization and fixes around the vfs_path_as_str() function
Ticket #3022: misc/mc.menu contains russian UTF-8 "Ó" instead of English "c".
(vfs_path_as_string): clarify return value.
Fix draw of tree mini-status.
Ticket #2071: a bit cleanup of getting profile name.
Ticket #2164: clarify cursor position in mcviewer.
Ticket# 2990: prepare to 4.8.9 release.