mc always expects to see cpio payload inside rpm packages. However, it
is also possible for rpm packages to contain tar payload (ustar, to be
more precise).
rpm2cpio works correctly for such files (but it produces tar archives,
not cpio ones).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Following cases from command line are possible:
* 'mc' (no arguments):
active panel uses current directory
passive panel uses "other_dir" from panels.ini
* 'mc dir1 dir2' (two arguments):
active panel uses dir1
right panel uses dir2
* 'mc dir1' (single argument):
active panel uses dir1
passive panel uses "other_dir" from panels.ini
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Switching between vertical and horizontal layouts doesn't properly
activate or deactivate the < and > widget buttons in the layout dialog
according to the setting of the mode being switched to.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
As we use 'AC_CONFIG_SUBDIRS' macro for samba sources option checking is
disabled for us.
Before the patch:
$ ./configure --with-i-have-misspelled-editor-for-edit
...
# no warnings
The patch enables warnings back only for top-level ./configure:
$ ./configure --with-i-have-misspelled-editor-for-edit
...
configure: WARNING: unrecognized options: --with-i-have-misspelled-editor-for-edit
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit does some rpm extfs facelift and adds dependency version
output; since this shifts the semantics from "name" to "name and maybe
a version", the generated virtual file has been renamed either (REQUIRES
instead of REQUIRENAME, more in a line with PROVIDES).
It is esteemed that nothing worse than a passing surprise for some users
would happen while improving the overall usefulness.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Alt+Shift+Left_arrow and Alt+Shift+Right_arrow directly influence the
divider position, but the < and > layout dialog buttons have the
reverse effect, which is unintuitive behavior. Reverse the direction of
< and > influence so that clicking left moves the divider left, and
clicking right moves the divider right.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Update the panel split display while adjusting the layout dialog,
because the user should not be expected to know what number of columns
or rows is reasonable without being able to see the effects. Cancel
reverts previous settings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3035_cleanup:
(hline_callback): fix of MSG_INIT and MSG_RESIZE messages handling.
src/filemanager/find.c: type accuracy.
(menubar_new): add 3rd 'visible' argument.
rpm extfs: fix rpm file name in status message.
Ticket #3035: prepare to 4.8.10 release.
Following cases from command line are possible:
* 'mc' (no arguments):
active panel uses current directory
passive panel uses "other_dir" from ini
* 'mc dir1 dir2' (two arguments):
left panel uses dir1
right panel uses dir2
* 'mc dir1' (single argument):
active panel uses current directory
passive panel uses dir1
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
...in 'Directory hotlist' and 'Active VFS directories' windows.
Previously, the 'Right' key was used for:
1) move to the selected directory in the 'Directory hotlist' window;
2) enter into the selected group in the 'Directory hotlist' window;
3) move to the selected VFS in the 'Active VFS directories' window.
1) and 2) cases look as inconsistent bevavior because only two these
dialogs are closed after 'Right' key pressing.
Now 'Right' key is used only for 2) case and ignored in 1) and 2) cases.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 3035_cleanup: (29 commits)
Indentation.
doc/NEWS: cosmetics.
Typo fixes.
Fix panel recoding
(edit_status_window): type accuracy in status displaying.
(edit_get_save_file_as): remove extra code block.
(symlink_dialog): indentation cosmetics.
(panel_change_encoding): use vfs_path_as_str().
Fix for opening some jar files
Clarify midnight_dlg size in MSG_RESIZE handling.
Ticket #3043: broken NCurses detection.
Adjust progress window for file delete operation.
(move_dir_dir): get rid of extra memory allocation.
(copy_dir_dir): get rid of extra memory allocation.
(erase_dir_iff_empty): get rid of extra directory name conversion.
(recursive_erase): ret rid of extra path conversion.
(my_mkdir): don't call mc_mkdir() twice in case of failure.
(my_mkdir_rec): ret rid of double directory name conversion.
(erase_dir_iff_empty): optimization.
Add DIR_IS_DOT and DIR_IS_DOTDOT macros
...