Commit Graph

14496 Commits

Author SHA1 Message Date
legends2k
2181cabe6b mc.ext: add Markdown binding.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-02-01 20:19:33 +03:00
Andrew Borodin
6f562116cc Ticket 3965: mc.ext: fix include/ sections order.
include/ sections should be placed at the end of bindings.
Thanks legends2k for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-02-01 20:19:27 +03:00
Andrew Borodin
3ac46bf2b1 Ticket #3966: file highlighting updates.
.go, .s: highlight as source;
.m4v: highlighting as media.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-02-01 19:55:40 +03:00
Andrew Borodin
9572fb0b78 Merge branch '3962_geeqie'
* 3962_geeqie:
  Ticket #3962: support Geeqie image viewer.
2019-01-26 16:33:56 +03:00
Andreas Mohr
01f1206186 Ticket #3962: support Geeqie image viewer.
Use Geeqie (a fork of GQview) as main image viewer, fallback to GQview.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-01-26 16:31:38 +03:00
Andrew Borodin
985e8f4971 Merge branch '3960_aix'
* 3960_aix:
  Ticket 3960: fix compilation fail on AIX 7.2.
2019-01-19 19:11:22 +03:00
Andrew Borodin
56320a3314 Ticket 3960: fix compilation fail on AIX 7.2.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-01-19 19:08:01 +03:00
Andrew Borodin
b52ff8c614 Merge branch '3948_network_connect_from_any_panel'
* 3948_network_connect_from_any_panel:
  Stamp path at panel destroy.
  (vfs_stamp_path): get rid of path conversion.
  (nice_cd): allow create network connection from any panel type.
  Ticket 3948: can't create network link from panel...
2019-01-13 12:37:45 +03:00
Andrew Borodin
f920c6cd37 Stamp path at panel destroy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-01-13 12:33:07 +03:00
Andrew Borodin
ba6845f2d6 (vfs_stamp_path): get rid of path conversion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-01-13 12:33:06 +03:00
Andrew Borodin
b4e0bf13c8 (nice_cd): allow create network connection from any panel type.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-01-13 12:33:06 +03:00
Andrew Borodin
96520f48c3 Ticket 3948: can't create network link from panel...
other than file list (tree, quick view, info).

Initial step: extend file panel creation API:
  * create an empty panel;
  * create panel with specified size.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-01-13 12:32:51 +03:00
Yury V. Zaytsev
4b46e61947 Update doc/NEWS file
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-12-29 18:41:02 +03:00
Yury V. Zaytsev
e40afb2dc0 Update hints translations from Transifex
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-12-29 18:35:24 +03:00
Yury V. Zaytsev
936e4cfec1 Update translations from Transifex
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-12-28 22:56:07 +03:00
Andrew Borodin
91a428db5c Merge branch '3915_cleanup'
* 3915_cleanup: (24 commits)
  Update po/*.po files.
  src/filemanager/panelize.c: fix coding style.
  Sync with gnulib 844f63f9576ebb74fde62e5017bf838c69db22c4.
  Sync with gnulib 1ff0e9684bb83a8277ffe22ac125ce7e90f6702b.
  Sync with gnulib e96dcbcbc5142bd04c6c2e9e4595d9bea910fb3b.
  Sync with gnulib 23671eec22f5221a2dff50942f24c41bcf9caeaf.
  Sync with gnulib 8ae091f7c8cd35cc7dff82c544d04da6fd095e11.
  Sync with gnulib 4d4877e6c2123c4862c321f3eab28a55bf886216.
  Sync with gnulib cbc85bb67fc628349e0351b835efc9e91cd0482f.
  Sync with gnulib be9e66b37c948df517ee905b4a9689a50946409c.
  (make_symlink): rename variable.
  (do_move_dir_dir): rename variables.
  (copy_dir_dir): rename variables.
  misc/syntax/Syntax.in: simplify regex for PO and CUDA syntaxes.
  misc/syntax/Syntax.in: fix regex for Meson syntax.
  dir_list: fix memory leak when list is free'd.
  Sync with gnulib f7a6286e04209da1bc7b1820002b6a5c32638369.
  Sync with gnulib d1327df1f1c9bae26571e6699800c8d1c4712afb.
  Sync with gnulib fa3e2ad20d10d648cc74a5d320ce531a80ff7b1f.
  Sync with gnulib 74c29c68bba3fe7c2f02eb3fc9f7ef196cec1bc6.
  ...
2018-11-24 18:13:49 +03:00
Andrew Borodin
455a8d0f25 Update po/*.po files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 18:13:28 +03:00
Andrew Borodin
177c64cd2f src/filemanager/panelize.c: fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
9c6a8e6c24 Sync with gnulib 844f63f9576ebb74fde62e5017bf838c69db22c4.
* m4.include/gnulib/ls-mntd-fs.m4: Require Autoconf >= 2.60. Update
comments.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
03e69e1f36 Sync with gnulib 1ff0e9684bb83a8277ffe22ac125ce7e90f6702b.
mountlist: Remove support for Cray with UNICOS 9.

* m4.include/gnulib/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't
  define MOUNTED_LISTMNTENT.
* src/filemanager/mountlist.c: Remove MOUNTED_LISTMNTENT case.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
93f790dc7c Sync with gnulib e96dcbcbc5142bd04c6c2e9e4595d9bea910fb3b.
* m4.include/gnulib/fsusage.m4: (gl_FILE_SYSTEM_USAGE): Don't define
  STAT_STATFS2_FS_DATA.
* m4.include/gnulib/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't
  define MOUNTED_GETMNT.
* src/filemanager/filegui.c: remove Ultrix related includes.
* src/filemanager/mountlist.c: Remove STAT_STATFS2_FS_DATA case.
  Remove MOUNTED_GETMNT case.
* lib/tty/tty-internal.h: remove Ultrix-related define.
* src/vfs/smbfs/helpers/include/includes.h: Likewize
* doc/FAQ: Update OS list.
* doc/INSTALL: Likewize.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
654b58d2b5 Sync with gnulib 23671eec22f5221a2dff50942f24c41bcf9caeaf.
fsusage, mountlist: Remove support for Dynix/ptx.

* m4.include/gnulib/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Update comments.
* m4.include/gnulib/ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Don't test for
  libseq.
  (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't test for MNTTABNAME.
* lib/stat-size.h: Don't mention the Sequent bug.
* src/filemanager/mountlist.c: Don't test for MNTTABNAME. Remove
  _SEQUENT_ case

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
0f3d0ea511 Sync with gnulib 8ae091f7c8cd35cc7dff82c544d04da6fd095e11.
Remove support for AIX 3.

* m4.include/gnulib/fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Update comments.
* src/filemanager/mountlist.c: Likewise.
* doc/FAQ: Update OS list.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
792d25a48b Sync with gnulib 4d4877e6c2123c4862c321f3eab28a55bf886216.
Remove support for AIX PS/2.

* m4.include/gnulib/fsusage.m4: (gl_PREREQ_FSUSAGE_EXTRA): Don't check
  for dustat.h.
* lib/unixcompat.h: Remove code for AIX PS/2.
* lib/stat-size.h (ST_NBLOCKSIZE): Likewise.
* lib/vfs/vfs.c: Likewise.
* src/filemanager/mountlist.c: Likewise.
* src/vfs/smbfs/helpers/include/includes.h: Likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
610bf3a9d9 Sync with gnulib cbc85bb67fc628349e0351b835efc9e91cd0482f.
fsusage, mountlist: Remove support for DolphinOS (an SVR3 variant).

* m4.include/gnulib/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Update comments.
* src/filemanager/mountlist.c: Remove MOUNTED_GETMNTTBL case.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
00d3b8a468 Sync with gnulib be9e66b37c948df517ee905b4a9689a50946409c.
mountlist: Remove support for SVR2.

* src/filemanager/mountlist.c: Remove MOUNTED_FREAD case.
* m4.include/gnulib/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't
  define MOUNTED_FREAD.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
f992628ae5 (make_symlink): rename variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
392df60bc1 (do_move_dir_dir): rename variables.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
2fdc186123 (copy_dir_dir): rename variables.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
5a2730ae8c misc/syntax/Syntax.in: simplify regex for PO and CUDA syntaxes. 2018-11-24 14:40:42 +03:00
Andrew Borodin
5ca9943cf3 misc/syntax/Syntax.in: fix regex for Meson syntax.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
db716c3c7a dir_list: fix memory leak when list is free'd.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
25a9aa1d45 Sync with gnulib f7a6286e04209da1bc7b1820002b6a5c32638369.
mountlist: Improve support for Solaris in 64-bit mode.

* m4.include/gnulib/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): On
  Solaris 8 or newer, define MOUNTED_GETEXTMNTENT instead of
  MOUNTED_GETMNTENT2.
* src/filemanager/mountlist.c: Add code for MOUNTED_GETEXTMNTENT case.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
6d593567d1 Sync with gnulib d1327df1f1c9bae26571e6699800c8d1c4712afb.
mountlist: Add support for Minix.

* m4.include/gnulib/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't
  use AC_CHECK_FUNCS to check for 'getmntinfo'.
* src/filemanager/mountlist.c: Update comments.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
5cf5a034ae Sync with gnulib fa3e2ad20d10d648cc74a5d320ce531a80ff7b1f.
Make better use of Autoconf.

* m4.include/gnulib/fsusage.m4: Use AC_CACHE_CHECK where possible.
  Modernize indentation.
* m4.include/gnulib/ls-mntd-fs.m4: Likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
849bfb26f8 Sync with gnulib 74c29c68bba3fe7c2f02eb3fc9f7ef196cec1bc6.
mountlist: Modernize platform lists.

* m4.include/gnulib/ls-mntd-fs.m4: Clarify which MOUNTED_* symbol
  applies to which platforms, deemphasizing the obsolete ones.
* src/filemanager/filegui.c: Likewise.
* src/filemanager/mountlist.c: Likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Anatoly Kitaykin
1182dbdd93 misc/ext.d/doc.sh.in: fix program name.
Reported: https://bugzilla.altlinux.org/show_bug.cgi?id=35506.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
3b8ee664f2 src/background.c: clean up and fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
6d79aa7d5d (destroy_task_and_return_fd): rename to destroy_task.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
08136039b6 Ticket #3915: code clean up before 4.8.22 release.
(destroy_task_and_return_fd): fix access after free.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Andrew Borodin
791148ed66 Merge branch '3943_crash_ctrl_o'
* 3943_crash_ctrl_o:
  Ticket #3943: fix crash when switching from subshell.
2018-11-03 20:52:15 +03:00
Andrew Borodin
071dbd9076 Ticket #3943: fix crash when switching from subshell.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-03 20:49:48 +03:00
Andrew Borodin
1a9206ac0e doc/hints/l10n/mc.hint.*: fix formating.
Spaces are escaped, but MC doesn't support escaping them here.
Fix C-\ shotrcut.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-03 09:10:14 +03:00
Krzysztof Bociurko
d824401a7b doc/hints/l10n/mc.hint.be: fix formating.
Spaces are escaped, but MC doesn't support escaping them here.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-03 09:08:31 +03:00
Krzysztof Bociurko
01aa4012d8 doc/hints/l10n/mc.hint.pl: fix formating.
Spaces are escaped, but MC doesn't support escaping them here.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-31 10:04:30 +03:00
Andrew Borodin
92514fb884 Merge branch '3944_fish_prompt'
* 3944_fish_prompt:
  Ticket 3944: support user-defined prompt in the fish subshell.
2018-10-21 19:55:05 +03:00
Andrzej Pronobis
c5aaeda39c Ticket 3944: support user-defined prompt in the fish subshell.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-21 19:53:21 +03:00
Andrew Borodin
5bb73ee1c8 Merge branch '3937_sftp_auth_crash'
* 3937_sftp_auth_crash:
  Ticket #3937: fix crash when trying some sftp connections.
2018-10-20 18:53:00 +03:00
Andrew Borodin
5dacf75cef Ticket #3937: fix crash when trying some sftp connections.
(sftpfs_recognize_auth_types): fix dereference of NULL returned by
libssh2_userauth_list().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:51:40 +03:00
Andrew Borodin
edb89d55b8 Merge branch '3678_hardlink_error'
* 3678_hardlink_error:
  Update po/*.po files.
  Handle hard link creation error.
  (file_error): allow show query dialog w/o Rerty action.
  (check_hardlinks): refactoring:
  (is_in_linklist): refactoring: return pointer to found link.
  (check_hardlinks): make error message more verbose.
  Ticket #3678: handle hardlink creation errors.
2018-10-20 18:42:54 +03:00