Commit Graph

218 Commits

Author SHA1 Message Date
Slava Zanko
9623a85506 lib/mc.ext.in: change filemask for recognize 7z-files
vfs/extfs/u7z:
  - change only LC_DATE global variable for correct work with arhive;
  - add sorting by filename in output of list files
2009-01-14 11:54:02 +02:00
Enrico Weigelt, metux IT service
7770bc7899 fixed some bashisms in vfs/extfs/* 2009-01-12 20:58:50 +01:00
Patrick Winnertz
dcd57a34ef Removed .cvsignore files as we don't need them any longer 2009-01-05 16:58:44 +01:00
Slava Zanko
aad7c6c317 Added .svnignore files (same as .cvsignore) 2008-12-28 23:27:03 +02:00
Leonard den Ottolander
16bf1ca415 * extfs/rpm: Recognize CONFLICTS.
* extfs/trpm: Likewise.
2006-11-01 10:30:26 +00:00
Leonard den Ottolander
7564bbd7d4 * extfs/rpm: Restore legacy RPM tags for backward compatibility.
* extfs/trpm: Likewise.
2006-08-01 21:03:18 +00:00
Pavel Tsekov
c2721465d7 * vfs/extfs/urar.in (mcrarfs_copyout): Do not query password
when extracting password protected entries.
2006-07-25 20:42:58 +00:00
Pavel Tsekov
e7d571c9d6 * vfs/extfs/audio.in (audiofs_copyout): Quote the track name.
* vfs/extfs/bpp (mcbppfs_list): Quote the package file name.
* vfs/extfs/uzoo.in (mklink): Quote MC_TMPDIR.
2006-07-25 20:22:59 +00:00
Pavel Tsekov
ec98ac4cf7 * vfs/extfs/iso9660.in (test_iso): Use `locale charmap' to retrieve
the current character set. If that fails fallback to using
the LC_CTYPE field of `locale' output.
When invoking `isoinfo' to test whether it supports a given character
set tell it to use /dev/null as the cdrom device so that it will bail
out immediatly instead of accessing a real drive.
2006-07-19 11:19:52 +00:00
Pavel Tsekov
3c713dfe18 * vfs/extfs/deb.in (mcdebfs_list): Do not skip over directory entries.
Set the locale to C when executing dpkg-deb.
2006-07-18 14:49:48 +00:00
Pavel Tsekov
46ca52176b * vfs/extfs/rpm: Remove support for obsoleted RPM tags.
* vfs/extfs/trpm: Likewise.
2006-07-13 14:23:08 +00:00
Leonard den Ottolander
e494043f82 * extfs/mailfs.in (parse_date): Output 3 date fields not 4. Range to
output time not year is slightly larger than the range used by
	file_date() in util.c. Prefer using Date::Parse over Date::Manip as the
	former is faster. Fix fallback for "light version".
	(process_header): Match header field names case insensitively.
	(mailfs_list): Improve match for header start.
	(mailfs_copyout): Likewise.
2006-05-28 12:35:57 +00:00
Andrew V. Samoilov
9395167ddd * extfs/uzip.in (print_file): Use %8s instead of %8d
printf() pattern to print really big "realsize"
2006-05-06 08:31:53 +00:00
Leonard den Ottolander
25002a0274 * extfs/deb.in (mcdebfs_list): Output three date fields, not four. 2006-03-19 17:41:11 +00:00
Leonard den Ottolander
7d7ea8c067 * extfs/deb.in: Patrik Rak is mentioned in the header, no need to
specify his code blocks in the comments.
2006-03-19 17:15:55 +00:00
Leonard den Ottolander
866d39e32c * extfs/uar.in (mcarfs_list): Parse date reported by ar back to three
fields as vfs_parse_filedate() only expects three date fields now.
2006-03-18 12:56:50 +00:00
Roland Illig
4972324b16 * extfs/iso9660.in: Ignore error messages from locale(1), as it
does not exist on OpenBSD. Reported by q# on mc-devel.
2005-09-26 15:07:00 +00:00
Pavel Roskin
3b40737834 * extfs/urar.in: Remove month translation and year windowing -
they are better handled by mc.  Use more robust date format.
Set locale to C.
2005-07-25 21:51:51 +00:00
Pavel Roskin
271a56e3f8 * extfs/uzip.in: Preserve seconds. Avoid month translation - it
only slows down processing.
2005-07-25 20:24:01 +00:00
Pavel Roskin
23c29ab03a * extfs/ualz.in: Fix compatibility with unalz 0.51. 2005-07-25 16:19:53 +00:00
Pavel Roskin
a0c56a1a7d * extfs/ualz.in: Anticipate eventual posixification of the date
format.
2005-07-22 21:54:00 +00:00
Pavel Roskin
a24baacdf8 * extfs/ualz.in: New file - support for ALZip archives.
* extfs/Makefile.am: Add ualz.
* extfs/extfs.ini: Likewise.
2005-07-20 19:03:53 +00:00
Pavel Roskin
33ded3d61b * extfs/u7z: New file - support for 7zip archives.
* extfs/Makefile.am: Add u7z.
* extfs/extfs.ini: Likewise.
2005-06-22 02:21:43 +00:00
Andrew V. Samoilov
4cc677124a * extfs/uarj.in (mcarjfs_copyout): Use the regular extract command,
instead of redirecting all the output of the print (p) command.
2005-03-31 05:28:15 +00:00
Roland Illig
9a020da9c6 * extfs/uzip.in: Widened the regular expression for infozip to
also detect non-Unix file listings.

	Patch provided by Jindrich Makovicka <makovick * kmlinux.fjfi.cvut.cz>
2005-02-09 21:46:28 +00:00
Roland Illig
135d787620 * extfs/urar.in: Fixed some quoting issues.
Original patch by Leonard den Ottolander.
2005-01-09 16:12:39 +00:00
Andrew V. Samoilov
278ae44436 * extfs.c (extfs_generate_entry): Initialize inode->last_in_subdir.
(extfs_read_archive): Likewise. Remove unneeded test.
        Fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286990

        * extfs/ulha.in (mc_lha_fs_list): Use $NF instead of $10 as filename
        for permission intention.
        Fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286990
2004-12-27 12:12:31 +00:00
Roland Illig
001a6c1b90 * extfs/uzip.in: Fix handling of archive member pathnames starting
with "./".
2004-12-10 00:08:31 +00:00
Roland Illig
48690761d6 * extfs/patchfs.in: Allow extraction and deletion of patches
whose filenames start with "../" or "./".
2004-11-16 23:00:40 +00:00
Roland Illig
de3bc90f37 * audio.in (audiofs_list): Fixed quoting issue.
(audiofs_copyout): Likewise.
	* uar.in (mcarfs_copyin): Likewise.
	* uha.in (mchafs_copyout): Likewise.
	* ulha.in (mc_lha_fs_run): Likewise.
2004-11-10 16:08:00 +00:00
Andrew V. Samoilov
7febc1e97c * extfs/iso9660.in (mcisofs_list): Fix regular expression for stripping
of file name. Use autotools macro for awk instead full path.

        * ChangeLog: Replace my old e-mail with my new e-mail
2004-10-29 09:14:38 +00:00
Andrew V. Samoilov
b40bb2cb58 * extfs/iso9660.in (mcisofs_list): Fix stripping of file name in awk code. 2004-10-28 12:40:47 +00:00
Andrew V. Samoilov
f3ca051033 * extfs/trpm: Put -- before "$1" to stop argument parsing. 2004-10-27 14:44:31 +00:00
Andrew V. Samoilov
c1f1ce5028 * extfs/trpm: Fix quoting issues. 2004-10-27 14:03:43 +00:00
Andrew V. Samoilov
c3cd3df138 * extfs/iso9660.in: Fix quoting issues. 2004-10-27 13:01:14 +00:00
Roland Illig
036d995eea * extfs/hp48.in: Correct quoting from last patch. Avoid a
subshell when none is needed.
2004-10-18 10:16:26 +00:00
Roland Illig
3b6db492a3 * extfs/audio.in: Fix even more quoting issues.
* extfs/hp48.in: Likewise.

	Patch from q# <eth0 o2 pl>.
2004-10-18 02:20:09 +00:00
Roland Illig
e85a083b79 * extfs/uar.in: Improve filename quoting. Add error messages. 2004-10-17 22:09:18 +00:00
Roland Illig
00371ea1a9 * extfs/audio.in: Fix quoting issues.
From Leonard den Ottolander.
2004-10-17 19:42:20 +00:00
Roland Illig
61b4642af4 * extfs/hp48.in: Fix quoting issues.
From Leonard den Ottolander.
2004-10-17 19:33:55 +00:00
Andrew V. Samoilov
c9f834b501 * vfs.c (vfs_cmp_handle): Fixing warnings on on 64-bit
platforms.
        (vfs_op):Likewise.
        (vfs_info):Likewise.
        (vfs_free_handle):Likewise.
        * extfs/rpm (mcrpmfs_run): Quote parameters to calls
        to system/open that spawn a shell.
        * direntry.c (vfs_s_find_entry_tree): Make "size"
        size_t.
2004-09-03 21:23:05 +00:00
Andrew V. Samoilov
64b5b8b9ee uzip.in (mczipfs_list): Add support for negative
compression ratio in archive listing.
2004-09-02 00:16:33 +00:00
Andrew V. Samoilov
7680fd6884 * extfs/rpm: Modified workaround for spaces and single quotes
in the path name. For mcrpmfs_copyout too.
2004-08-26 18:59:26 +00:00
Andrew V. Samoilov
201c30624e * vfs/extfs/a.in: Quote parameters to calls to system/open that spawn a shell.
* vfs/extfs/apt.in: Likewise.
* vfs/extfs/debd.in: Likewise.
* vfs/extfs/dpkg.in: Likewise.
* vfs/extfs/deba.in: Clean up earlier fixes to quotation of parameters.
* vfs/extfs/deb.in: Likewise.
2004-08-24 19:51:41 +00:00
Andrew V. Samoilov
76a8893a53 * extfs/urar.in: Fix non-POSIX constructs. 2004-08-22 22:47:15 +00:00
Andrew V. Samoilov
dbedd885e6 * extfs/rpm: Modified workaround for spaces and single quotes in the path name. 2004-08-22 22:38:49 +00:00
Andrew V. Samoilov
8a410cf065 * extfs/rpm: Don't show cpio contents in main rpm view.
Also avoids copying files from main view instead of from
inside CONTENTS.cpio. The former is painfully slow as the whole
file is rpm2cpio'd on each copy.
2004-08-22 21:43:18 +00:00
Roland Illig
a37fdaca96 * extfs/deb.in (mcdebfs_list): Separated the use of quoted and unquoted variables. (mcdebfs_copyout): likewise. (mcdebfs_run): likewise. From Leonard den Ottolander <leonard@den.ottolander.nl> 2004-08-19 17:37:01 +00:00
Roland Illig
2c4ca680bb * extfs/deba.in (list): Separated the use of quoted and unquoted variables. (copyout): likewise. (run): likewise. From Leonard den Ottolander <leonard@den.ottolander.nl> 2004-08-19 17:32:31 +00:00
Roland Illig
060898b092 * extfs/deba.in (bt): deleted. (ft): deleted. (fm): deleted. (ls): deleted. (list): correctly quoted shell command arguments. (copyout): likewise. (run): likewise. From Leonard den Ottolander <leonard@den.ottolander.nl> 2004-08-19 15:53:13 +00:00