Accented characters in bold (yellow) text are displayed incorrectly:
the letter, followed by a dot, then the letter once again, all in white.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Now history is not saved if it was not modified and content of input
line is equal to history top entry. Thanks Francesco Cosoleto
<cosoleto at gmail dot com> for the original patch.
Also fixed a regression introduced in cff5925598:
after CK_HistoryNext and CK_HistoryPrev actions in input line,
the input line content is not put to the top of history.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(hist_next): get rid of direct access to the next histroy item.
(history_show): remove redundant check.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2560_ac_obsolete_macros:
Get rid of obsolete form of AC_CHECK_TYPE macro.
Avoid of double check of nlink_t and socklen_t types.
Remove check of uintptr_t type
Ticket #2560: get rid of autoconf obsolete macros.
* 2294_viewer_search_offset:
(mcview_do_search): minor clean up, types accuracy and some algorithm optimization.
(mcview__get_nroff_real_len): immediately return 0 if viewer is not in nroff mode..
Ticket #2294: mcview: incorrect starting offset for 'search again'
When you press F7 in mcview to repeat the previous search, it starts again from the
file offset that is 3 bytes after the beginning of the current match. This introduces
weird and clearly buggy symptoms. Couple of examples:
If the file contains
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
and you search for a single x character, and you keep on pressing F7,
every third character gets highlighted.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 2361_url_path:
Fixed errors while connect to IPv6 hosts
custom_canonicalize_pathname(): Removed old-style path handling.
Deprecated parser now used just in Hotlist widget.
fixed relative symlink operations. Symlink now stay relative
Ticket #2361: VFS URI reimplementation
added actions for mark files in the panel by shift-left/shift-right
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* 2361_vfs_uri: (60 commits)
Fixed vfs_class->fill_names() functions (Fish, Ftpfs, Smbfs) for return URL-like paths
Fixed nice_cd() behavior with vfs-prefixed. added converter benween old-style and url-stype VFS prefixes
Code cleanup
vfs_path_get_by_index(): added check for valid element index
Fixed memory leaks in folowing functions:
Removed function vfs_s_get_path(); Function vfs_s_get_path_mangle() renamed to vfs_s_get_path()
Added function mc_build_filename() for processing URL-paths as well
fixed x_basename function for handle URL-like paths
added vfs_path_element_valid() function
Changes in man-files for describe new URL-like paths
change name of user bindings file to mc.ext
vfs_path_to_str() now return URL string instead of old representation
Added URL-like path parser
Reorder VFS parser to work with VFS parameters:
Handle path /some/path/#vfsprefix:/path as /some/path#vfsprefix:/path
Remove usage of vfs_path_t->raw_url_str from src/* files
Following prototypes of functions was changed in VFS-module API:
Added function vfs_path_url_split() for parse VFS parameters
Removed vfs_get_class() function
Following prototypes of functions was changed in VFS-module API:
...
* Removed vfs_path_element_t->raw_url_str;
* Changed some VFS prefixes (colon now used when need to split VFS prefix and VFS parameters);
* Removed vfs_translate_url() functions and related code;
* added converter of VFS parameters to string representation.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>