Commit Graph

7352 Commits

Author SHA1 Message Date
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
Pavel Tsekov 3652302618 * src/widget.c (buttonbar_set_label): Fix `comparison of distinct pointer types
lacks a cast' gcc warning.
2006-02-06 15:42:30 +00:00
Pavel Tsekov d39462622b * hotlist.c (hotlist_has_dot_dot): Define new global variable.
(add_dotdot_to_list): Define new function.
(HotListType): Add HL_TYPE_DOTDOT.
(update_path_name): Handle HL_TYPE_DOTDOT entries the same way as
HL_TYPE_ENTRY entries.
(fill_listbox): Likewise.
(hotlist_button_callback): Go up one level when enter is pressed on
an entry of type HL_TYPE_DOTDOT.
(add2hotlist): Always attach a HL_TYPE_DOTDOT to each new HL_TYPE_GROUP
entry.
Make sure that the HL_TYPE_DOTDOT entry is the first one in the list.
(remove_from_hotlist): Do not remove HL_TYPE_DOTDOT entries.
(hot_save_group): Do nothing for HL_TYPE_DOTDOT entries.
2006-02-05 19:30:53 +00:00
Pavel Tsekov ca2078a6ad * src/key.c (xterm_key_defines): Add sequences for iTerm. 2006-02-05 15:27:49 +00:00
Pavel Tsekov bc4620da08 * po/lt.po: Updated Lithuanian translation. 2006-02-05 14:35:04 +00:00
Pavel Tsekov 115ef55682 * vfs/ftpfs.c (ftpfs_open_socket): Let the user interrupt ftpfs in
hostname lookup / connection state.
2006-02-05 11:18:12 +00:00
Roland Illig c29b321563 * edit.h: Removed the leading PATH_SEP_STR from EDIT_DIR, as the
latter is not an absolute directory.
	* edit.c: Adjusted the users of EDIT_DIR.
	* editcmd.c: Likewise.
	* syntax.c: Likewise.
	* src/user.c: Likewise.
2006-02-04 14:41:41 +00:00
Roland Illig 249e1c43e7 * main.c (init_xterm_support): Eterm can handle mouse events, too. 2006-02-04 12:29:30 +00:00
Roland Illig 0983e2d256 Fixed a typo. 2006-02-04 11:14:04 +00:00
Roland Illig eddbf0e2e1 * Makefile.am: ecs-test needs $(MCLIBS). 2006-02-04 11:13:30 +00:00
Roland Illig 350c958f5e * cmd.c (mkdir_cmd): Fixed a memory leak. Instead of the
absolute path of the created directory, the input is passed to
	update_panels().
2006-02-04 11:12:28 +00:00
Roland Illig f84cc04e70 * find.c: Added make_fullname() to avoid code duplication. 2006-02-04 11:03:35 +00:00