* 2876_cleanup:
Update EN and RU man pages: add missing options.
fixed doxygen documentation
fixed doxygen.cfg, excluded directory /tests/ from doxygen path's
removed obsolete params from edit_push_undo_action/edit_push_redo_action
Ticket #2861: additional error handling in edit_save_block().
(str_utf8_normalize): ret rid of extra memory allocation.
Use g_strndup() instead of g_strdup()
(get_absolute_name): missing finish NULL in vfs_path_append_vpath_new() call.
(edit_do_undo): cleanup of labeled statement usage.
Fix mouse event handling in menu that overlaps buttonbar.
mcdiffview: code cleanup and cosmetics.
Reorder checks in configure.ac.
Cleanup of screen library detection m4 code.
Refactoring of many conditions.
(edit_do_search): refactoring of search loop condition.
Avoid double checks of bookmarks in editor.
Ticket #2876: code cleanup before 4.8.6 release.
If edit->column_highlight is on and the disk is so full that the editor
is unable even to write the magic (r <= 0), then subsequent if (len)
check might fail, since the value of len is undefined.
The solution is to initialize len with a non-zero value, so that the
function properly returns an error value in all cases (adding an
explicit return 0; is also possible, but then one must take care of
closing file descriptors, which is less convenient).
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
* 2874_tilde_directory:
Allow create directory with name '~' (tilda).
Reimplement support of use ~ as home directory in hotlist.
Ticket #2874: enter on directory named '~' goes to the home one.
If mcedit is configured to use "Safe save" I'm unable to save changes to existing file.
Same problem is for editor_option_save_mode=2 (backup mode)
Saving to new file works.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* F3/F4 on 'del' and 0-length files works, however it is impossible to change 'del'
files (cached content can be confusing)
* Koala files and other with non-ASCII characters are supported (implemented directory
reading routine in pure python - for now only D64 format is supported)
* Added workaround for filenames with space at the beginning (however, as it was stressed
before, it is more generic issue than this script. Maybe it is good idea to use pcre
instead of iterating and splitting?)
* minor bugfixes and code cleanup
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Due to date formatting, uc1541 extfs plugin is unusable, even tough the date formatting,
which is the one cause of the problem is coherent with the attached documentation (MM-DD-YYYY hh:mm).
Another problem with uc1541 script is connected rather with legal characters used in filename
rather than with script itself - in PET ASCII it is perfectly fine to use slash "/" character
in filenames, and as a side effect all files containing slash inside d64 image are represented
as directories on MC.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Added feature for the mcdiff for the bidirectional merge.
With F15 mcdiffviewer merge left panel to right panel direction.
original patch by Gergely Szasz <szaszg@hu.inter.net>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
added bind "MergeOther" into mc.keymap.default, mc.keymap.emacs.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Steps to reproduce:
* run mc
* change encoding one of panels to any different from system encoding
* try to copy any file to panel with changed encoding
Expected result: files should be copied.
Actual result: error box here.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
...in case of rename and delete directories.
Steps to reproduce the problem:
* Choose "file listing" mode for one panel and "directory tree" mode for the other.
* Perform all operations on the "file listing" panel.
* Create a new directory -> tree view will update correctly.
* Perform an operation, which changes this directory like rename/delete.
* Deleted directory will still show up on the "directory tree" view.
Renamed directory will show up with the new name, but the old name will also stay there.
Minor cleanup: remove extra parenthesis.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1977_mcedit_type_accuracy:
Avoid compiler errors about comparsion signed and unsigned variables
(is_aligned_on_a_tab): return gboolean instead of int. Minor optimization.
Use off_t instead of long for all variables related to position in file:
Use long for line numbers and columns.
(edit_find_word_start): return gboolean instead of int.
(edit_save_cmd): return gboolean instead of int.
(edit_copy_to_X_buf_cmd): return gboolean instead of int.
(edit_save_block): return gboolean instead of int.
(editcmd_dialog_raw_key_query): take gboolean instead of boolean.
(edit_mark_cmd): take gboolean instead of int.
WEdit::caches_valid: change int to gboolean.
(is_in_indent): refactoring, return gboolean instead of int.
Ticket #1977: type accuracy of WEdit members and mceditor functions.