Ticket #3051: prepare to 4.8.11 release.

Ticket #3052: fix man page "macro `\' not defined" warnings.

man --warnings doc/man/mc.1 >/dev/null

reported the following warning:

3114: warning: macro `\' not defined".

and indeed man page didn't look correct at the line starting with "Apply
escaping".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #3053: src/filemanager/filegui.c: fix preprocessor condition.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(vfs_path_tokens_count): refactoring: get rid of extra memory allocation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_load_macro_cmd): minor refactoring: replace while() by for().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mc_skin_colors_old_configure_one): cosmetics.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(vfs_path_tokens_get): minor refactoring: replace while() by for().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(lookup_key): minor refactoring: replace while() by for().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(load_panelize): replace while() by for() and fix potential memory leak.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
mcedit: file loading speed up.

Apply direct line counting during file reading.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mc_search__run_regex): optimization

...for case where there is no MC_SEARCH_CB_INVALID or MC_SEARCH_CB_SKIP
return codes (for search from file manager), so we can copy line
at regex buffer all at once.

Thanks Sergey Naumov <sknaumov@gmail.com> for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mc_search__cond_struct_new_regex_hex_add): refactoring to get rid of extra memory allocation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mc_search__conditions_free): use g_ptr_array_foreach().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mc_search__cond_struct_new_regex_accum_append): minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mc_search_regex__process_append_str): minor optimization and cosmetics.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(do_panelize_cd): minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(add2panelize_cmd): minor optimization and type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(widget_init): init pos_flags member to WPOS_KEEP_DEFAULT.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_ok_to_exit): get rid of file name string duplication.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Typo.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(do_compute_dir_count): display directory name only.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>