Commit Graph

7388 Commits

Author SHA1 Message Date
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
Leonard den Ottolander
8d439c2f88 * choosesyntax.c: GPL v2 only. 2006-03-21 22:22:03 +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
9801c06027 * acinclude.m4 (AC_GET_FS_INFO): Replace old fileutils code to get
mount and file system information with m4_includes of the corresponding
	GNU coreutils-5.94 files (ls-mntd-fs.m4 (#20) and fsusage.m4 (#16)).

	* m4/fsusage.m4, m4/ls-mntd-fs.m4: Create.
2006-03-18 13:17:50 +00:00
Leonard den Ottolander
1624165a91 * lib/mc-wrapper.sh.in: Don't use "$()" construct as it is not
portable to f.e. SunOS. Use backticks instead.
2006-03-18 13:05:52 +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
Pavel Tsekov
2a7a8fa19d * edit/edit-widget.h (struct WEdit): Add new field.
* edit/editcmd.c (edit_save_file): Prompt whether to detach a hardlinked
file if in "Quick save" mode.
Return -1 to indicated that the user requested to cancel the operation.
(edit_save_as_cmd): Adjust the code to handle the new return value of
edit_save_file().
(edit_save_cmd): Likewise.
2006-03-17 15:41:21 +00:00
Pavel Tsekov
1ab4a2b41c * edit/editcmd.c (edit_save_as_cmd): If saving of the file fails
remove only the _save_ lock.
2006-03-17 10:24:50 +00:00
Pavel Tsekov
239d8a64c2 * lib/mc.ext.in: Add support for Perl .pod files. 2006-03-15 16:28:27 +00:00
Pavel Tsekov
03e7a434b4 * edit/editlock.c: Fix for savannah bug #13673.
(lock_build_symlink_name): New function.
(edit_lock_file): Use lock_build_symlink_name().
(edit_unlock_file): Likewise.
2006-03-15 16:08:28 +00:00
Pavel Tsekov
fcc6f9bbea * edit/editcmd.c (edit_new_cmd): Remove redundant call to
`edit_unlock_file()'.
(edit_ok_to_exit): Likewise.
2006-03-15 13:20:24 +00:00
Marco Ciampa
e1f95084a8 Updated italian translation 2006-03-09 23:55:54 +00:00
Pavel Tsekov
049ed167b6 * vfs/ftpfs.c (ftpfs_dir_load): When retrieving the directory listing by
using the LIST command _only_ and the output of the command is empty, retry
the operation by sending a CWD command followed by a LIST command.
2006-03-08 14:54:11 +00:00