Andrew Borodin
b5a768200e
src/subshell/common.c: fix #ifdef.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 20:39:12 +03:00
Andrew Borodin
4d7531ec3e
Merge branch '3915_cleanup'
...
* 3915_cleanup: (25 commits)
Update po/*.po files.
(init_subshell): use openpty() to open master/slave devices for subshell.
m4.include: move Gnulib modules to their own subdirectory.
(vfs_preallocate): check mc_global.vfs.preallocate_space before call.
(filegui__check_attrs_on_fs): check copymove_persistent_attr before call.
(dlg_run_done): fix possible NULL dereference.
(dlg_init): fix possible NULL dereference.
doc: clarify description of system-wide confiduration files.
Clarify usage of FL_NONE value.
extfs: optimization: get rid of extra memory duplication.
(file_mask_dialog): don't return an empty string.
(file_mask_dialog): grammar.
(str_ptr_array_join): constify argument.
(extfs_get_path): use standard VFS flags.
(extfs_find_entry): use standard VFS flags.
extfs: constify some function arguments.
extfs: refactoring: rename structures...
extfs: refactoring: rename some structure members...
extfs: refactoring: struct inode: use struct stat instead of separate members.
extfs: refactoring: use GSList to store archive list.
...
2018-09-09 19:18:03 +03:00
Andrew Borodin
dd1c418677
Update po/*.po files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:17:18 +03:00
Andrew Borodin
a7ff88d24c
(init_subshell): use openpty() to open master/slave devices for subshell.
...
Thanks Jesse R. Gorzinski <jgorzins@us.ibm.com> for the original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
3909ef1bc5
m4.include: move Gnulib modules to their own subdirectory.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
88d6157323
(vfs_preallocate): check mc_global.vfs.preallocate_space before call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
357711da33
(filegui__check_attrs_on_fs): check copymove_persistent_attr before call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
669a8e3e17
(dlg_run_done): fix possible NULL dereference.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
b9194d8c8a
(dlg_init): fix possible NULL dereference.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
92419cf797
doc: clarify description of system-wide confiduration files.
2018-09-09 19:10:43 +03:00
Andrew Borodin
b684ce2565
Clarify usage of FL_NONE value.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
8cbb9cd1ac
extfs: optimization: get rid of extra memory duplication.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
32687c9c4e
(file_mask_dialog): don't return an empty string.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
0af1c270e2
(file_mask_dialog): grammar.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
eb507862ff
(str_ptr_array_join): constify argument.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
42469e2016
(extfs_get_path): use standard VFS flags.
2018-09-09 19:10:43 +03:00
Andrew Borodin
a91323f7ac
(extfs_find_entry): use standard VFS flags.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
01a00e7ce6
extfs: constify some function arguments.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
c29f068457
extfs: refactoring: rename structures...
...
to unify it with standard VFS ones.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
81945d32ce
extfs: refactoring: rename some structure members...
...
to unify it with standard VFS structures.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
Andrew Borodin
e86ba483c6
extfs: refactoring: struct inode: use struct stat instead of separate members.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-09 19:10:43 +03:00
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