Commit Graph

7551 Commits

Author SHA1 Message Date
Pavel Tsekov
861c850cfd * syntax/spec.syntax: Properly recognize case-insensitive tags. 2006-07-14 08:46:58 +00:00
Pavel Tsekov
9acf68c307 * syntax/spec.syntax: Display obsoleted rpm tags in white. 2006-07-13 14:32:58 +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
Pavel Tsekov
e599536b2c * acinclude.m4 (AC_GET_FS_INFO): Check the return value of getmntinfo()
properly.
2006-06-30 07:44:18 +00:00
Leonard den Ottolander
e2959bb66a * mc.ext.in: ipkg package manager uses gzipped tars (.ipk). 2006-06-22 12:57:00 +00:00
Leonard den Ottolander
09a3e8c853 * c.syntax: Add colouring of labels. 2006-06-22 12:49:24 +00:00
Leonard den Ottolander
10dff51b4c * spec.syntax: Small readability fix. 2006-06-21 15:22:55 +00:00
Pavel Tsekov
7785aa544e * src/mountlist.c (fstype_to_string): Update the code to match its
coreutils counterpart.
Guard the use of MOUNT_UFS and MOUNT_NFS with appropriate
ifdefs as the rest of the code does.
2006-06-17 18:27:40 +00:00
Pavel Tsekov
9e1dd4594d * m4/fstypename.m4: New file.
* acinclude.m4 (AC_GET_FS_INFO): Add a check to determine whether
getmntinfo() takes struct statvfs instead of struct statfs as its
first argument. Define MOUNTED_GETMNTINFO_STATVFS if it does.
Add a check to determine whether struct statvfs has a field named
f_fstypename.
Use gl_FSTYPENAME tp determine whether struct statfs has a field
named f_fstypename.
* src/mountlist.c (HAVE_F_FSTYPENAME): Define when getmntinfo() is
used and the struct which it fills has a field named f_fstypename.
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use
MOUNTED_GETMNTINFO_STATVFS to determine the type of the first
argument to getmntinfo().
2006-06-17 15:39:07 +00:00
Pavel Tsekov
6625412758 * edit/wordproc.c (next_word_start): A word is preceded by a whitespace -
the latest changes missed that fact. Restore the original behaviour.
2006-06-16 20:01:29 +00:00
Pavel Tsekov
13884c4908 * src/wordproc.c (word_start): Add new argument. Pass extra argument
to next_word_start().
(next_word_start):  Add new argument to denote the maximum number of
characters to process.
(format_this): Reflect the changes above.
2006-06-16 19:34:49 +00:00
Leonard den Ottolander
7115ed2243 * src/dir.c (sort_orders): Substitute duplicate hotkey 'C' in sort
order dialog.
	* po/*.po: Update changed string in sort order dialog.
2006-06-11 10:50:00 +00:00
Pavel Tsekov
5f21c0fa37 * src/mountlist.c: Revert last commit. 2006-06-07 12:11:38 +00:00
Pavel Tsekov
e9996b613b * configure.ac: Revert last commit. 2006-06-07 12:00:10 +00:00
Leonard den Ottolander
6b2b857e48 mc.ext.in: Loosen match for mailbox. 2006-06-05 10:24:35 +00:00
Pavel Tsekov
48f8e1dd69 * src/widget.c (disable_update): Remove redundant static variable.
(handle_char): Reflect the changes above.
2006-05-29 11:58:42 +00:00
Roland Illig
5ecd3047c7 Documented the change to m4/lst-mntd-fs.m4. 2006-05-29 08:16:51 +00:00
Roland Illig
e701d4f935 Updated to serial #21. 2006-05-29 08:15:34 +00:00
Roland Illig
6381ab8bd9 Fixed the variable quoting like in the upstream version:
http://cvs.savannah.gnu.org/viewcvs/coreutils/m4/ls-mntd-fs.m4?root=coreutils&r1=1.32&r2=1.33
2006-05-29 08:12:52 +00:00
Roland Illig
8fb920d6f0 Reverted the previous (needless) change. 2006-05-29 08:12:02 +00:00
Leonard den Ottolander
b0b8d116ad * mc.ext.in: Open mailboxes using mailfs. 2006-05-28 12:40:21 +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
Pavel Tsekov
5297c50278 * src/file.c (move_file_file): Do not collect progress information
when moving via copy/erase - copy_file_file() does that already.
Collect progress information when moving via rename ().
2006-05-23 09:35:06 +00:00
Pavel Tsekov
b535c4b08b * src/tty.c (tty_tgetstr) [HAVE_SLANG]: str_unconst() the argument
passed to SLtt_tgetstr().
2006-05-23 07:38:59 +00:00
Pavel Tsekov
d2f0a2a5a7 * src/file.c (move_dir_dir): Remove Win32 specific code. 2006-05-23 07:22:36 +00:00
Roland Illig
d647096f53 Fixed detection of the filesystem information on NetBSD 3.0. 2006-05-21 10:06:39 +00:00
Roland Illig
c5bd116ba2 Fixed unquoted shell variables. 2006-05-21 09:54:11 +00:00
Pavel Tsekov
fe251e620a * src/tty.h [USE_NCURSES]: Pull in term.h if WANT_TERM_H is defined.
(tty_tgetstr): Declare new function.
* src/tty.c [USE_NCURSES]: Request the inclusion of term.h.
(tty_tgetstr): Define new function
* src/main.c (init_xterm_support): Use tty_tgetstr().
2006-05-15 13:26:18 +00:00
Pavel Tsekov
d1b8ea7e7a * src/user.c: Do not include subshell.h . 2006-05-10 12:14:28 +00:00
Pavel Tsekov
19b2b16ca5 * src/subshell.c (resize_subshell): Do not try to resize the subshell tty
if the subshell is not running.
2006-05-08 14:38:36 +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
Andrew V. Samoilov
1921894119 * extfs/uzip.in (print_file): Use %8s instead of %8d
printf() pattern to print really big "realsize"
2006-05-06 03:52:34 +00:00
Pavel Tsekov
afe0fce14e * edit/choosesyntax.c (pstrcmp): Fix the function declaration. 2006-05-04 12:33:57 +00:00
Leonard den Ottolander
fb713d4a14 * lt.po: Small fixes. 2006-04-20 21:13:05 +00:00
Pavel Tsekov
40ef73306f * acinclude.m4 (AC_GET_FS_INFO): Make it work again - the last commit broke
it.
* m4/onceonly.m4: New file.
2006-04-18 13:03:11 +00:00
Pavel Tsekov
148efdda35 * vfs/tar.c: Minor cleanup. 2006-04-18 07:27:21 +00:00
Pavel Tsekov
17696f8d13 * vfs/tar.c (PREFIX_SIZE): New macro definition.
(union unused): New union which describes better the trailing bytes
of the tar record header.
(union record): Do not assume that all tar archives follow the GNU
tar archive format.
(tar_open_archive_int): Initialize the variable holding the type fo the
archive format.
(tar_read_header): Try to determine the archive format using the
`magic' field of the tar record header. Use the `linkflag' field
as a fallback.
Add support for pathnames of upto 256 characters as stored in ustar
archives.
Do not access GNU specific fields of the tar record header if the
archive is not a GNU one.
(tar_fill_stat): Pass pointer to vfs_s_super instead of pointer ot
vfs_class as the first argument.
Do not access GNU specific fields of the tar record header if the
archive is not a GNU one.
2006-04-17 13:42:21 +00:00
Pavel Tsekov
488ac0c5f9 * vfs/tar.c (OLDGNU_MAGIC): New macro definition.
(TMAGIC): Set to the ustar format magic. It was erronously set to the gnu
format magic value.
(tar_fill_stat): Try to use the `uname' and `gname' fields if operating on
either ustar or gnu archive.
2006-04-14 13:28:09 +00:00
Leonard den Ottolander
b1069b32eb * doc/mc.1.in: Function key documentation update. 2006-04-13 16:06:50 +00:00
Leonard den Ottolander
85e87b2cdf * cons.handler.c (handle_console_linux): Remove redundant close() calls
before _exit().
2006-04-13 16:00:23 +00:00
Pavel Tsekov
44becc0a7d * vfs/sfs.c (sfs_uptodate): Eliminate - it is a noop.
Remove all references to `sfs_uptodate'.
2006-04-04 09:26:13 +00:00
Leonard den Ottolander
d5a17b01f8 * syntax.c (edit_read_syntax_rules): Zero edit->rules on allocation to
avoid crash after attempting to load a non existent syntax file.
2006-04-03 21:22:09 +00:00
Pavel Tsekov
294e05e70e * vfs/fish.c (fish_file_store): Do not create the target file before
determining which method (`head' or `dd') to use.
Do not use `head' to transfer data when resuming a file transfer - it is
not reliable enough.
2006-03-31 14:29:37 +00:00
Pavel Tsekov
407497fd43 * vfs/fish.c (fish_file_store): Improve the upload speed by using the
`head' utility when possible. Fallback to a new improved `dd' method
if `head' is not availaible or just stupid.
2006-03-30 14:39:33 +00:00
Pavel Tsekov
52a724a2c8 * vfs/direntry.c (vfs_s_inode_from_path): Revert last change. 2006-03-30 13:04:50 +00:00
Pavel Tsekov
d4c2af2154 * src/file.c (copy_file_file): When a hardlink is created successfully
report success (FILE_CONT) to the caller. Fixes debian bug #301537.
2006-03-29 11:38:25 +00:00
Pavel Tsekov
c826992e1e * lib/mc.ext.in: Improve output of the View command for debian packages. 2006-03-23 16:00:08 +00:00
Pavel Tsekov
c585dcb01a * vfs/extfs.c (extfs_done): Free all live archives.
Fixes savannah bug #13953.
(extfs_free_entries): Comment out - it is unused.
(extfs_free_archive): Use extfs_free_entry () instead of
extfs_free_entries ().
(extfs_free): Reflect the changes above.
Simplify.
2006-03-23 15:00:50 +00:00
Pavel Tsekov
06b721a44c * vfs/direntry.c (vfs_s_inode_from_path): Do not give up if a given path
does not exist in the directory cache. In such scenario use the underlying
vfs to determine whether the path exists or not.
2006-03-23 12:36:10 +00:00
Leonard den Ottolander
76cf84bb69 * choosesyntax.c: Sort syntax list. 2006-03-21 22:23:37 +00:00