Update Russian and Ukrainian translations.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #3297: don't lose file in case of preallocate space fail.

Don't remove the destination file if it was retrieved incompletely
but it was already exist and appended during copy/move operation.

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

* 3297_preallocate_move_lose_data:
  Ticket #3297: don't lose file in case of preallocate space fail.
Ticket #3265: code cleanup before 4.8.14 release.

Use MC_PTR_FREE again.

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

...and related modifications.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Add semicolon to the table of key code names.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mcview_get_byte): fix value returned in case of error.

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

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
mcviewer: clarify support of UTF-8 codeset.

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

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mcview_dimen_min): remove. Use min() macro instead.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Sync with gnulib 3ea43e02541ece750ffc6cd1dfe34195421b4ef3.

mountlist: use /proc/self/mountinfo when available

Use libmount to propagate device IDs provided by Linux in
/proc/self/mountinfo.  This will give more accurate output when using df
in chroot'ed environments as the device IDs are not determined by stat()
which may be inaccurate within the chroot.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Sync with gnulib 2768ceb7994506e2cfba88be3b6bd13ef5440a90.

mountlist: don't use libmount to decide on dummy/remote.

Don't use the libmount routines to determine whether a file system is
dummy or remote, as they're not currently compatible. For example the
remoteness is determined on file system type (for which the list seems
incomplete), rather than simply checking for a ':' in the device name.
Also libmount currently determines that 'tmpfs' is a dummy file system
even though it has associated storage.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mcview_offset_doz): use more.
Recognize "Java archive data (JAR)" as zip archive.

The 'file' utility determine the file type differently:

till file-5.16 - Java Jar file data (zip)
since file-5.17 - Java archive data (JAR)

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ticket #3277: Info panel can't obtain file system statistics on Solaris.

(read_file_system_list): initialize variable.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
mceditor: reimplement syntax name list using GPtrArray.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_read_syntax_rules): fix pointer tests.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_read_syntax_rules): minor refactoring of keyword first chars collect.

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