Commit Graph

7338 Commits

Author SHA1 Message Date
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
Roland Illig
0780979cbc Replaced the character comparison with string comparison, which
emphasizes the intention of the code. If the directory is either "." or
"./", the plain filename is chosen.
2006-02-04 00:00:47 +00:00
Roland Illig
2d6b472fb0 * find.c (find_do_view_edit): Only strip the leading "./" from a
directory name if the rest is not empty.
2006-02-03 23:17:45 +00:00
Roland Illig
3b1d56cb8a Replaced the printf format with __printf__. 2006-02-03 17:07:39 +00:00
Roland Illig
f7f06c0202 * util.h (str_unconst): This function is never needed to be
inlined.
2006-02-03 17:04:17 +00:00
Roland Illig
9b8eb2ad78 * find.c: After the "panelize" command, always select the first
file from the panel, not.
2006-02-03 16:59:52 +00:00
Roland Illig
1e97649438 The location of the Savannah CVS repository has changed. 2006-02-03 15:24:32 +00:00
Roland Illig
2390300034 * fish.c: Replaced the printf-like attribute with __printf__,
since GNU gettext defines a macro printf on some systems.
	* ftpfs.c: Likewise.
2006-02-03 14:45:44 +00:00
Roland Illig
ba9bd33681 * view.c: s/attrset/tty_setcolor/g 2006-02-03 14:42:36 +00:00
Roland Illig
bb683b54d1 * view.c: s/attrset/tty_setcolor/g 2006-02-03 14:33:19 +00:00
Roland Illig
36e8fec66c * widget.c: Added assertions to prevent bugs like the one from
view.c(view_labels) from hiding that long.
2006-02-03 14:28:54 +00:00
Pavel Tsekov
90bda57809 * src/view.c (view_labels): Use `buttonbar_clear_label' to make a
buttonbar button inactive.
2006-02-03 12:16:38 +00:00
Roland Illig
67f8cf661a * tty.h (tty_setcolor): Added.
* tty.c (tty_setcolor): Likewise.
2006-02-03 03:55:37 +00:00
Pavel Tsekov
5c1638523e * src/dir.c: (do_sort): Remove unused variable. 2006-02-02 22:10:58 +00:00
Leonard den Ottolander
2157716489 edit/edit.c (edit_execute_cmd): Reload syntax on toggle to on. 2006-02-02 19:45:49 +00:00