Ticket #3225: first Backspace/Delete ignored after mouse click in an input widget.

Initial commit: WInput: refactoring of text marking.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(input_event): fix handling of first mouse click.
Merge branch '3225_input_bs_del_after_mouse_click'

* 3225_input_bs_del_after_mouse_click:
  (input_event): fix handling of first mouse click.
  Ticket #3225: first Backspace/Delete ignored after mouse click in an input widget.
Ticket #3237: fish subshell pwd passing is broken.

Use $PWD variable instead of of calling pwd (which can be a function)
since it is read-only and not manipulated.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Merge branch '3237_fish_pwd'

* 3237_fish_pwd:
  Ticket #3237: fish subshell pwd passing is broken.
Ticket #3189: code cleanup before X.X.XX release.

Rename: src/vfs/sftpfs/config_parcer.c -> src/vfs/sftpfs/config_parser.c

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(panel_operate_generate_prompt): ret rid of extra argument.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(sftpfs_open_socket): remove useless condition.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Don't use 'register' keyword.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Add declaration of g_error_new_valist().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Massive use of MC_PTR_FREE macro.

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

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #3239: fix incorrect enconding name for manual pages.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #3240: fix recognition of UnRAR version.

Add -cfg- option to the command used to detect UnRAR version. This
option prevents UnRAR from reading configuration from .rarrc file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #3242: mcviewer: remove an unused variables and needless loops.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #3244: add viewbold and viewselected missing from some skins.

Change "black" and "white" to "rgb000" and "rgb555" when it's rendered
in bold, because the legacy 16 colors change their actual color in
addition to going bold in most of the terminals which is undesired.
Second, there was some unintended difference between the two gray skins
in the file type colors.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #3258: fix incorrect percentage in mcview hex mode.

The percent in the upper right corner normally corresponds to the
cursor. Except when the bottom of the file is displayed, then it's
100%.

If the file is taller than the window, you can walk downwards to its
end and the percent is always correct. Then walk back a screenful and
it stays at 100%, and suddenly jumps back by a lot when the file starts
scrolling.

If the file is shorter than the window, it's always at 100%.

mcview_calc_percent() is supposed to calculate the percentage at offset
p, yet it executes a special branch when "dpy_end == filesize".

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