contrib/Makefile.am: mc.sh and friends should depend on config.status.
In this case contrib/*.?sh are recreated after each rerun of configure.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Major rewrite of mcview's parts responsible for rendering and scrolling the contents:
* no more partial lines at the top and failure to scroll when Up or Down
is pressed;
* better handling of CJK characters;
* handle combining accents;
* improved nroff support;
* more conventional scrolling behavior at the end of the file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3339_mcedit_paste_to_clipboard:
Clarify description of clipboard_store and clipboard_paste options.
Clarify flags and mode to open clipboard file.
Ticket #3339: fix pasting from clipboard.
When clipboard_paste option was set but clipboard utility was not
installed, nothing was pasted and clipboard file became empty.
Solution: reimplement pasting way using mc_pipe_t instead of my_system().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3265_cleanup: (26 commits)
Update po/*.po files.
Ticket #3333: fix g_error_new_valist().
lib/glibcompat.h: add missing include of stdarg.h.
src/filemanager/boxes.c: move static functions to the matched section.
(sel_skin_button): simplify.
(format_file): remove unused arguments.
mceditor: syntax: reimplement context list using GPtrArray.
mceditor: syntax: remove syntax_keyword_t::first member.
mceditor: syntax: reimplement keyword list using GPtrArray.
(edit_read_syntax_rules): minor refactoring of keyword first chars collect.
(edit_read_syntax_rules): fix pointer tests.
mceditor: reimplement syntax name list using GPtrArray.
Ticket #3277: Info panel can't obtain file system statistics on Solaris.
Recognize "Java archive data (JAR)" as zip archive.
(mcview_offset_doz): use more.
Sync with gnulib 2768ceb7994506e2cfba88be3b6bd13ef5440a90.
Sync with gnulib 3ea43e02541ece750ffc6cd1dfe34195421b4ef3.
(mcview_dimen_min): remove. Use min() macro instead.
(mcview_get_byte_string): minor optimization.
mcviewer: clarify support of UTF-8 codeset.
...
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>
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>
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>
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>
* 3247_status_msg_update_rate:
(status_msg_init): repaint screen forced to remove previous finished dialog.
Reduce update rate in the "Directory scanning" dialog.
status_msg_t: reimplement delay usage.
(mc_time_elapsed): add new function to detect elapsed time intervals.
Ticket #3247: refactoring of status_msg engine.
As a result, directory scannig is faster than before.
The author of idea and initial patch is Egmont Koblinger.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>