Embedding the configure time options into the executable can lead to
non-reproducible builds, since configure options often have embedded
paths. Add a configure time option to control if the configure args are
embedded so this can be disabled.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3997_cleanup:
Do not include <sys/select> globally via "lib/global.h".
(mc_symlink): test vpath2 before use.
lib/vfs/interface.c: fix coding style.
(display_bits_box): use tty_display_8bit().
(panel_options_box): don't apply integer value to boolean variable.
(edit_files): fix shadow of variable declaration.
mcviewer: clarify of HAVE_CHARSET usage.
Replace [] in AS_HELP_STRING.
(setup_panels): fix origin and size of panels.
(vfs_stamp_compare): fix NULL dereference.
(ftpfs_dir_load): minor refactoring.
Make VFS faster a bit.
(vfs_s_normalize_filename_leading_spaces): minor refactoring.
(history_show): fix order of history items.
urar extfs: don't start path with ./ in file list.
Ticket #3997: code clean up before 4.8.24 release.
Each VSF entry is added to VFS using vfs_s_insert_entry() via
g_list_append(). For long lists, a lot of walking through entire list
is performed. To get rid that, change type of vfs_s_inode::subdir from
GList to GQueue.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Fix regression introduced in 37ffc02422.
(tty_got_winch): don't read FIFO, just check whether it os empty or not.
It can be called many times without lost of info about SIGWINCH raises.
(tty_flush_winch): read from FIFO to make it empty.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Bundled libintl did not support linking to internal static
libraries (libmc in our case): directly specified static
libraries are not pulled by libtool and are not usable for
dynamic libraries as PIC-related flags are not passed for
compilation.
This renders bundled libintl library unusable.
The change drops libintl bundling support and always relies
on external libintl (or falls back to disabled NLS).
On a related note gettext-0.20 drops support for bundling
or libintl and this change will ease migration to newer version.
The change is tested on x86_64-gentoo-linux-musl: mc builds
and links all tests successfully. A few tests fail for lack
of NLS support.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
[temp]: part (partial files, e.g. used by many download managers)
[archive]: apk (android packages), deb (debian packages)
[media]: ts (MPEG-TS streams)
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
In the menu bar, click on the space character immediately before the
"File" label.
Actual: The "Left" menu opens.
Expected: The "File" menu should open, since when clicking on "File",
this space character on its left is also highlighted.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3997_cleanup: (35 commits)
tests: add .gitignore
Fix .gitignore
Update po/*.po files.
tests: editcmd__edit_complete_word_cmd.c: override mc_refresh()
(dir_list_reload): refactoring.
(dir_list_load): get rid of goto.
Refactoring of directory read visualization.
Add dir_list callback to visualize of directory reading.
(dir_list_load): show error message outside of this function.
(handle_path): change parameters type from int* to gboolean*.
(handle_dirent): change parameters type from int* to gboolean*.
lib/tty/tty-internal.h: fix typo.
(tty_init): remove stuff that SLang_init_tty() already done.
(tty_init): clarify screen size limitation.
src/filemanager/layout.c: fix coding style.
(save_panel_dir): minor refactoring.
File manager: refactoring of MSG_RESIZE handling.
diffviewer: refactoring of MSG_RESIZE handling.
mcviewer: refactoring of MSG_RESIZE handling.
mcedit: refactoring of MSG_RESIZE handling.
...
Don't wanna accidentially add autogenerated files to the git repo,
so ignore them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
autogen.sh generates a bunch of files aren't .gitignore'd yet.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
...after refactoring of SIGWINCH handling
(37ffc02422).
Replacing variable with pipe cause a timeout in original tty_got_winch()
in this test and test fails. Use an empty replacement of mc_refresh().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Use dir_list callback to show rotaing dash.
Now src/filenamager/dir.c does not depend on the Widget subsystem.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>