* src/filemanager/mountlist.c [STAT_STATVFS && (__linux__ && (__GLIBC__||__UCLIBC__))]:
Undefine STAT_STATFS2_FRSIZE to exclude code not used in this case.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Avoid needless check on GNU/Linux.
* m4.include/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Omit STAT_STATFS3_OSF1 check
on GNU/Linux systems, since it can't possibly work.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
fs usage: fix block size returned on older Linux 2.6.
* src/filemanager/mountlist.c: Fall back to (struct statfs).f_frsize
which is available since Linux 2.6.
* m4.include/fsusage.m4 (STAT_STATFS2_FRSIZE): Always define
when the member is available so it can be used as a fallback.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Sync with gnulib c25bdbae48977a527dff69150f59fb0746d31b51:
fs usage: check for GNU/Linux statvfs problem dynamically.
* src/filemanager/mountlist.c [STAT_STATVFS && __linux__ && (__GLIBC__||__UCLIBC__)]:
Define STAT_STATFS2_BSIZE too, since in this case the code now
checks dynamically whether statvfs is reliable, falling back on
Linux-style statfs otherwise.
(statvfs_works): New function, for dynamically testing statvfs.
(get_fs_usage) [STAT_STATVFS]: Use it.
* src/filemanager/filegui.c (filegui__check_attrs_on_fs): apply the same
statvfs_works function.
* m4.include/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Remove static check for
statvfs on GNU/Linux hosts, since it's now done dynamically.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2897_mc_ext_updates:
Ticket #1686: use 'see' utility for vieweing images
Ticket #1686: use 'see' utility as default pdf viewer when found
Ticket #1686: use dvicat if dvi2tty not found
Ticket #2723: use libreoffice instead of ooffice, if found.
Ticket #2739: add support of PAR archives.
Ticket #2739: add support of epub format.
Ticket #2739: add support of comic books.
Ticket #2767: mc.ext: add support of ape, aac and wvm4a formats.
Ticket #2895: add support of SVG images.
Ticket #2890: make a choice between archivers for 7z.
Ticket #2890: make a choice between archivers for arj.
Ticket #2891: add support of .war archives.
Ticket #2892: mc.ext: expand support of file extentions for source files
Ticket #2894: add support of Gnumeric's spreadsheets.
Ticket #2897: a lot of updates of mc.ext and ext.d.
* Added support of .asm file extention
* Added support of .hh file extention
* All file extentions for source files now case insentetive.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 2888_cleanup:
Ticket #2871: remove the empty contrib/dist/debian/
Update Spanish man page.
Fix i18n of file operation dialog titles.
Add info about ext.d directory to output of 'mc -F' command.
Ticket #2888: cleanups in master branch.
Fix of exec_prefix expansion and usage.
Some distros use autoconf site scripts resourced via $CONFIG_SITE
environment varaible. That scripts are defined variable libexecdir
as
libexecdir='${exec_prefix}/lib'
In this case, EXTHELPERSDIR variable is generated wrongly, because
the 'exec_prefix' variable isn't expanded.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2876_cleanup:
Update EN and RU man pages: add missing options.
fixed doxygen documentation
fixed doxygen.cfg, excluded directory /tests/ from doxygen path's
removed obsolete params from edit_push_undo_action/edit_push_redo_action
Ticket #2861: additional error handling in edit_save_block().
(str_utf8_normalize): ret rid of extra memory allocation.
Use g_strndup() instead of g_strdup()
(get_absolute_name): missing finish NULL in vfs_path_append_vpath_new() call.
(edit_do_undo): cleanup of labeled statement usage.
Fix mouse event handling in menu that overlaps buttonbar.
mcdiffview: code cleanup and cosmetics.
Reorder checks in configure.ac.
Cleanup of screen library detection m4 code.
Refactoring of many conditions.
(edit_do_search): refactoring of search loop condition.
Avoid double checks of bookmarks in editor.
Ticket #2876: code cleanup before 4.8.6 release.