Commit Graph

7613 Commits

Author SHA1 Message Date
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
Pavel Tsekov
ab02769f31 * vfs/ftpfs.c (ftpfs_dir_load): Remove redundant call to
`ftpfs_translate_path'.
2006-03-06 15:27:45 +00:00
Pavel Tsekov
dc50393a8f * src/mouse.h (Mouse_Type): Add new enumerated values to describe
the xterm mouse reporting modes offered by various xterm-like
terminals.
* src/mouse.c: Adjust the code to reflect the changes above.
Send the proper terminal control codes when xterm normal mouse
tracking is requested.
* src/main.c (init_xterm_support): Try to fine-tune the mouse tracking
mode based on the terminal type.
2006-03-06 09:28:14 +00:00
Leonard den Ottolander
118b31fa91 * lib/mc-wrapper.sh.in: Handle user names with spaces.
* lib/mc-wrapper.csh.in: Likewise.
2006-02-28 22:42:52 +00:00
Pavel Tsekov
049352e884 * src/widget.h (struct WRadio): Remove unused field
`upper_letter_is_hotkey'.
(radio_new): Remove the last argument from the function
declaration - it is unused.
* src/widget.c (radio_new): Remove the last argument from the
function declaration - it is unused.
* src/boxes.c: Adjust all callers to reflect the changes above.
* src/layout.c: Likewise.
* src/listmode.c: Likewise.
* src/option.c: Likewise.
* src/wtools.c: Likewise.
2006-02-28 16:15:21 +00:00
Pavel Tsekov
5d8f17a9c2 * src/boxes.c (configure_vfs) [!USE_NETCODE]: Fix off-by-one error. 2006-02-28 12:12:53 +00:00
Pavel Tsekov
389df305eb * src/subshell.c (synchronize): Do not discard user input if the panels are
off.
2006-02-24 19:43:48 +00:00
Pavel Roskin
28157ca499 * Makefile.am: Add fish.h. 2006-02-23 16:00:13 +00:00
Pavel Tsekov
264697b010 * vfs/fish.h: New file.
* vfs/fish.c (fish_directory_timeout): Define new global variable.
(FISH_DIRECTORY_TIMEOUT): Eliminate - this macro is not used
anywhere.
(fish_dir_load): Use `fish_directory_timeout' to calculate the
expiration time of a newly created directory entries.
* src/setup.c [USE_NETCODE]: Include fish.h .
(int_options) [USE_NETCODE]: Add support for user configurable
expiration timeout of FISH directory cache entries.
* doc/mc.1.in: Document `fish_directory_timeout'.
2006-02-23 15:32:18 +00:00
Pavel Tsekov
c9f1b97869 * vfs/ftpfs.c (ftpfs_dir_uptodate): Remove.
(init_ftpfs): Adjust the code to reflect the removal of
`ftpfs_dir_uptodate'.
* vfs/fish.c (fish_dir_uptodate): Remove.
(init_fish): Adjust the code to reflect the removal of
`fish_dir_uptodate'.
* vfs/direntry.c (vfs_s_dir_uptodate): New function.
(vfs_s_init_class): Initialize the `dir_uptodate' field of
vfs_s_subclass.
2006-02-23 10:46:29 +00:00
Pavel Tsekov
979282dc40 * src/cons.saver.c [HAVE_CONFIG_H]: Include config.h . 2006-02-21 14:02:11 +00:00
Pavel Tsekov
71268714c0 * slang/slmisc.c: Import SLmake_string() and SLmake_nstring(). 2006-02-20 09:20:09 +00:00
Leonard den Ottolander
199cc08828 * lib/mc.ext.in: Open gimp in the background. 2006-02-19 12:04:03 +00:00
Roland Illig
d34f25e165 Typo fix in lt.po. 2006-02-18 16:59:32 +00:00
Roland Illig
e30f526352 Little typo fix by Nerijus Baliunas. 2006-02-18 16:58:11 +00:00
David Martin
25b3b37415 * doc/es/mc.1.in: Cleanup. Fix key naming. 2006-02-18 13:37:42 +00:00
Pavel Tsekov
18e595058f * vfs/ftpfs.c (ftpfs_dir_load): Do not return error on empty directory
listings if the ftp server indicates, that the LIST command completed
successfully.
2006-02-17 14:37:29 +00:00
Leonard den Ottolander
56ba3ed4b3 * slcommon.c, sldisplay.c, slerr.c, slgetkey.c, slmisc.c, slsignal.c,
slsmg.c, slstring.c, sltermin.c, slutty.c, include/_slang.h,
	include/slang.h: Patch to slang-2.0.6 leaving local patches intact.
2006-02-15 15:10:55 +00:00
David Martin
1c32268bf9 * es.po: Updated Spanish translation. 2006-02-14 09:42:45 +00:00
David Martin
f1480a4282 * es.po: Updated Spanish translation. 2006-02-14 09:34:03 +00:00
David Martin
68e68c79fc Fix l18n macro N_() to _(). 2006-02-14 09:15:16 +00:00
Roland Illig
663f821891 * edit.c (user_menu): There is no need to prefix the filename
with PATH_SEP when calling concat_dir_and_file().
2006-02-10 12:29:36 +00:00
Roland Illig
a5377970a3 Changed "creation time" to "status change time". 2006-02-10 11:05:24 +00:00
Pavel Tsekov
ac27ef7c32 * src/wtools.c (quick_dialog_skip): Do not set lines' and cols' members
of the newly created dialog explicitly - create_dlg() does this.
2006-02-09 14:08:38 +00:00
Leonard den Ottolander
0b52f0032f syntax/php.syntax: Added magic constants. 2006-02-08 14:03:26 +00:00
Pavel Tsekov
84ba7897bb * src/screen.c (panel_callback): Reset the `dirty' flag after the panel has
been repainted on focus.
2006-02-08 10:10:37 +00:00