Andrew Borodin
7f9fb38176
extfs: refactoring: use GSList to store archive list.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
2d58e4d624
VFS: make VFS-specific file handler class the derived one from vfs_file_handler_t.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
ab033ad318
VFS: make VFS-specific super class as derived one from vfs_s_super.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
5d1284c4a6
VFS: (vfs_s_subclass): make the derived class from vfs_class.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
86e9d85f21
(extfs_done): fix possible NULL dereference.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
b9ea1b2a21
Ticket #3915 : code clean up before 4.8.22 release.
...
(fish_chmod): fix argument type of "%o" format.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:42 +03:00
Andrew Borodin
3f8290e27e
Merge branch '3927_ibm_i'
...
* 3927_ibm_i:
(feed_subshell): on IBM i, read(1) can return 0 for a non-closed fd.
configure.ac: check of Perl, Pyhton and Ruby on IBM i.
Ticket #3927 : fix compilation failure on IBM i.
2018-09-09 18:59:09 +03:00
Jesse R. Gorzinski
4da6ea8db3
(feed_subshell): on IBM i, read(1) can return 0 for a non-closed fd.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 18:57:56 +03:00
Jesse R. Gorzinski
79e5cdad2f
configure.ac: check of Perl, Pyhton and Ruby on IBM i.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 18:57:56 +03:00
Jesse R. Gorzinski
a45337672b
Ticket #3927 : fix compilation failure on IBM i.
...
Don't use utimensat() on IBM i due to different timespec structures.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 18:57:56 +03:00
Andrew Borodin
202b80a2eb
Merge branch '3453_find_results_title'
...
* 3453_find_results_title:
Find file: show pattern and content in the results window title.
src/filemanager/find.c: refactoring: optimize variable usages.
Ticket #3453 : Find file: show pattern and content in the results dialog title.
2018-09-09 18:47:43 +03:00
Andrew Borodin
877b5a6add
Find file: show pattern and content in the results window title.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 18:45:03 +03:00
Andrew Borodin
22e83bad08
src/filemanager/find.c: refactoring: optimize variable usages.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-04 10:36:13 +03:00
Andrew Borodin
a38c7f19e9
Ticket #3453 : Find file: show pattern and content in the results dialog title.
...
Initial step:
* (dlg_set_title): new API.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-04 10:26:35 +03:00
Andrew Borodin
faa893b683
Merge branch '3924_find_file_remember_empty_content'
...
* 3924_find_file_remember_empty_content:
Ticket #3924 : Find file: remember state (empty or not) of Content field.
2018-09-04 10:21:09 +03:00
Andrew Borodin
953b7e9f23
Ticket #3924 : Find file: remember state (empty or not) of Content field.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-04 10:20:44 +03:00
Andrew Borodin
388dad9899
Merge branch '1983_btrfs_clone'
...
* 1983_btrfs_clone:
Check linux/fs.h file.
(vfs_clone_file): clarify errno in case of bad file descriptors.
Ticket #1983 : support BTRFS's file clone operation.
2018-09-03 09:45:41 +03:00
Andrew Borodin
2e5cd866f9
Check linux/fs.h file.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-03 09:44:42 +03:00
Andrew Borodin
23a2056a18
(vfs_clone_file): clarify errno in case of bad file descriptors.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-03 09:33:32 +03:00
gray_-_wolf
0493a5e90e
Ticket #1983 : support BTRFS's file clone operation.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-03 09:33:32 +03:00
Andrew Borodin
5f80acde87
Merge branch '3929_office_formats_ext'
...
* 3929_office_formats_ext:
mcext/doc: improve open of documents in MS Office formats.
Ticket #3929 : mc.ext: improve recognition of MS Office formats.
2018-08-28 10:49:10 +03:00
Andrew Borodin
5f04962685
mcext/doc: improve open of documents in MS Office formats.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-08-19 17:20:28 +03:00
Andrew Borodin
feab399109
Ticket #3929 : mc.ext: improve recognition of MS Office formats.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-08-19 17:00:55 +03:00
Andrew Borodin
4059d3ab6e
Merge branch '3930_apple_stat_members'
...
* 3930_apple_stat_members:
Ticket #3930 : clarify name of struct stat members for Apple compilation.
2018-08-19 11:39:08 +03:00
Samuel Bingner
d352220604
Ticket #3930 : clarify name of struct stat members for Apple compilation.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-08-19 11:37:20 +03:00
Andrew Borodin
5656ff5e84
Merge branch '3908_confirm_move_dir'
...
* 3908_confirm_move_dir:
Ticket: 3908: quiet single file overwrite.
2018-08-05 19:00:10 +03:00
Andrew Borodin
7ac669c654
Ticket: 3908: quiet single file overwrite.
...
If target file exists, MC overwrites that file without confirmation.
The bug has not been fixed comletely in
7d73ce1cbe
.
Yet another test case:
1. Create files:
mkdir -p test1/1 test2/1
echo "1" > test1/1/file
echo "2" > test2/1/file
2. Run `mc test1 test2`.
3. Select directory "1" and press F6.
Result: "file" file is overwritten w/o confirmation.
Expected result: since the "file" file exists the confirmation dialog
must be shown.
The problem is: confirmation dialog requires context UI which was not
created in case of single directory move/rename operation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-07-28 17:21:24 +03:00
Andrew Borodin
0bb1db9030
Merge branch '3926_view_doc'
...
* 3926_view_doc:
Ticket #3926 : clarify hadling of MS Word and Excel documents view.
2018-07-26 16:51:03 +03:00
Andrew Borodin
1d19729690
Ticket #3926 : clarify hadling of MS Word and Excel documents view.
...
Don't show error message for each not-installed program when view
documents in MS Word and Excel formats.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-07-21 18:06:38 +03:00
Andrew Borodin
6cdd3b7ad6
Merge branch '3923_escape_fileop_filename'
...
* 3923_escape_fileop_filename:
(operate_one_file): remove unescape of source and destination filenames.
Ticket #3923 : fix of file name escaping in file operations.
2018-07-15 20:50:15 +03:00
Andrew Borodin
f75430d68c
(operate_one_file): remove unescape of source and destination filenames.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-07-01 20:00:36 +03:00
Andrew Borodin
aea06fbc7a
Ticket #3923 : fix of file name escaping in file operations.
...
Revert "(operate_single_file): make src and dest file name unescaping"
This reverts commit ef5d346dd9
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-06-30 11:33:49 +03:00
Artem S. Tashkinov
0075f36b69
Ticket #3919 : use MPV as a fallback for mplayer -identify
...
mplayer is not currently actively developed and some people have long
switched to MPV - use it as a fallback for "mplayer -identify" command.
Also, give the user a hint about mplayer/mpv in case none of them is
installed.
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@moneymeets.com>
2018-06-12 21:16:27 +02:00
Terra
c9fb0c33e3
Ticket #3920 : php.syntax - highlight keyword 'null'
...
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@moneymeets.com>
2018-06-12 21:04:53 +02:00
Andrew Borodin
941ceb1bcd
Merge branch '3917_sftps_atime_mtime'
...
* 3917_sftps_atime_mtime:
Ticket #3917 : preserve atime/mtime over sftpfs.
2018-06-03 20:35:39 +03:00
moko
5f603638de
Ticket #3917 : preserve atime/mtime over sftpfs.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-06-03 14:54:01 +03:00
Jaroslav Škarvada
0ee04e1948
Ticket #3918 : mcedit.1: undocument a long time ago removed feature.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-06-03 14:24:10 +03:00
Marco Ciampa
3726db29a2
Updated Italian translation
2018-05-30 09:39:46 +02:00
Yury V. Zaytsev
e20376f3ed
Update doc/NEWS file
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 22:21:03 +02:00
Yury V. Zaytsev
73d9ee8c95
Update hints translations from Transifex
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 22:15:04 +02:00
Yury V. Zaytsev
37bf2fba8a
Update translations from Transifex
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 22:07:00 +02:00
Andrey Shcheglov
f161d19038
mc.ext: allow Java class files to be viewed even if JAD isn't on PATH
...
Closes MidnightCommander/mc#134 :
* `file -b` prints class file version, which `javap` doesn't by default
* `javap`'s stderr should be suppressed as it may print `_JAVA_OPTIONS`
if this variable is set
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 16:47:38 +02:00
Dan Dascalescu
2eb7ef9e04
filehighlight: add JavaScript module support ( closes MidnightCommander/mc#132 )
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 16:21:01 +02:00
Maxim Akristiniy
907ac30b49
mc.ext: add Excel xlsx file format ( closes MidnightCommander/mc#135 )
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 16:14:09 +02:00
Yury V. Zaytsev
b44bfee6bf
Ticket #3789 : remove faulty test in rpm helper to detect CONFLICTS tag
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 15:17:31 +02:00
Yury V. Zaytsev
b692136645
maint: fix test fixtures for extfs rpm helper (broken in 8d0c1c3
)
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 15:00:38 +02:00
Sergey Naumov
729f6eef9c
Ticket #3893 : fix markdown.syntax that doesn't work well for complex files
...
* Asterisk and underscore contexts don't play well with lists or
words containing underscores. And given that markdown files
could contain not only ASCII text, it is better to be conservative
in detecting contexts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-05-09 18:12:42 +03:00
Andrew Borodin
bfa94e280f
Merge branch '3914_usermenu_view'
...
* 3914_usermenu_view:
Ticket #3914 : %view not piping command output to internal viewer in user menu.
2018-05-09 18:03:40 +03:00
Andrew Borodin
8f7d44ef7f
Ticket #3914 : %view not piping command output to internal viewer in user menu.
...
Revert "(execute_menu_command): fix mcview_viewer() call."
This reverts commit 2043ef74a9
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-05-07 09:07:37 +03:00
Andrew Borodin
35d21b6ea2
Merge branch '3913_safe_overwrite'
...
* 3913_safe_overwrite:
Update po/*.po files.
Ticket #3913 : implement safe file overwrite.
2018-04-30 12:54:38 +03:00