Andrew Borodin
0f0dbc2b2e
(file_error): allow show query dialog w/o Rerty action.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Andrew Borodin
022f15d9f0
(check_hardlinks): refactoring:
...
* use is_in_linklist() to search the hard link in cache;
* reduce variable scopes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Andrew Borodin
c94cd7620d
(is_in_linklist): refactoring: return pointer to found link.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Andrew Borodin
7c9e3817ce
(check_hardlinks): make error message more verbose.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Andrew Borodin
7e5ee0e512
Ticket #3678 : handle hardlink creation errors.
...
Initial step: (check_hardlinks): refactopring:
* reorder and rename parameters;
* check number of hard links here;
* Do not fill struct with zero. Set up members explicitly instead.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-20 18:33:06 +03:00
Vitold S
49945f40c8
Ticket #3940 : add Meson syntax highlighting.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-15 14:33:20 +03:00
Andrew Borodin
1fec6e9854
Partially revert "VFS: (vfs_s_subclass): make the derived class from vfs_class."
...
This reverts commit 5d1284c4a6
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-09-10 12:47:12 +03:00
Andrew Borodin
c7206191bc
Revert "VFS: make VFS-specific super class as derived one from vfs_s_super."
...
This reverts commit ab033ad318
.
2018-09-10 12:47:12 +03:00
Andrew Borodin
c91e3d5edb
Revert "VFS: make VFS-specific file handler class the derived one from vfs_file_handler_t."
...
This reverts commit 2d58e4d624
.
2018-09-10 12:47:12 +03:00
Marco Ciampa
63a9750e5e
Updated Italian translation
2018-09-10 08:39:07 +02:00
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