Ticket #2957: broken autocompletion in mcedit

...if system and file charsets are different.

Initial step: refactoring: do actual completion word substitution
outside of editcmd_dialog_completion_show().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #2968: mcviewer: broken Raw/Parse and Format/UnformatRaw/Parse and Format/Unformat

...after CK_FileNext/CK_FilePrev.

Initial commit: refactoring of mcview_t typedef.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_complete_word_cmd): make correct charset conversion

...before insert autocompletion result.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Add tests for coverage the bug.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Add test_autocomplete_single() test

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
(edit_complete_word_cmd): don't get bytes directly from editor buffer.

(edit_get_match_keyword_cmd): likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(editcmd_dialog_completion_show): adjust dialog position.

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

* 2957_mcedit_broken_autocompletion:
  (editcmd_dialog_completion_show): adjust dialog position.
  (edit_complete_word_cmd): don't get bytes directly from editor buffer.
  Add test_autocomplete_single() test
  Add tests for coverage the bug.
  (edit_complete_word_cmd): make correct charset conversion
  Ticket #2957: broken autocompletion in mcedit
Indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(exec_extension_view): refactoring: remove temporary file in exec_extension().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #2980: Add missing doc/hints french translation

Hints was split by paragraph (by double new line symbol instead of single newline symbol)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Add the hint-files synchronization with Transifex.

For upload English hint-file to transifex, type:
cd doc/hints/po && make to-transifex

For download translation from Transifex type:
cd doc/hints/po && make from-transifex && \
    git add ../l10n/mc.hints.* && \
    git commit -s -m 'Update hints files from Transifex'

WARNING! For the functionality you should have installed 'tx' and 'po4a'
utilities. These utilities isn't required for compile and install mc
(you may install these utilities only if you want to interact with Transifex).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Merge branch '2980_doc_hints'

* 2980_doc_hints:
  Add the hint-files synchronization with Transifex.
  Ticket #2980: Add missing doc/hints french translation
Updated translations from Transifex

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Updated doc/NEWS file

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
(exec_extension): rename variable.
(regex_command_for): new function to use regex_command in already created viewer/editor

...and related changes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Fix mode switch after CK_FileNext/CK_FilePrev.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Update Spanish help and man.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #2991: fix redraw of WLabel after text change.

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