Pavel Tsekov
339a66dc2f
* src/screen.c (show_dir): Remove unneeded code.
2007-08-24 09:13:47 +00:00
Pavel Tsekov
bc146822b0
* src/dir.h (sort_type): Remove function declaration.
...
(sort_links): Likewise.
(sort_nuid): Likewise.
(sort_ngid): Likewise.
(sort_owner): Likewise.
(sort_group): Likewise.
* src/dir.c (sort_type): Remove function definition.
(sort_links): Likewise.
(sort_nuid): Likewise.
(sort_ngid): Likewise.
(sort_owner): Likewise.
(sort_group): Likewise.
(sort_orders): Reflect the changes above.
* src/screen.c (formats): Remove references to sort_type(), sort_links(),
sort_nuid(), sort_ngid(), sort_owner() and sort_group().
2007-01-13 22:38:48 +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 Roskin
dd8b442df5
* global.h [!ENABLE_NLS]: Provide replacement for ngettext.
...
* screen.c (display_mini_info): Cast panel->total to unsigned
long before passing it to ngettext() to avoid warnings.
2005-11-11 03:32:39 +00:00
Pavel Roskin
0f46bb2632
* screen.c (display_mini_info): Use ngettext().
2005-10-03 23:37:51 +00:00
Roland Illig
03759c8f34
* main.h: Added const qualifier to the global prompt variable.
...
* main.c: Likewise.
2005-09-05 02:10:48 +00:00
Roland Illig
99f3df1591
* screen.c (string_file_name): Increased the buffer size to
...
MC_MAXPATHLEN + 1 bytes to avoid filename truncation.
2005-08-18 04:40:45 +00:00
Roland Illig
08a40c8d17
* screen.c (use_display_format): Removed unused variable.
2005-08-15 22:40:58 +00:00
Pavel Roskin
1f60f44145
Update postal address of Free Software Foundation.
2005-05-27 03:35:10 +00:00
Roland Illig
b4dd15e808
* screen.c: Removed function casts.
2005-05-23 16:44:24 +00:00
Pavel Roskin
9d44b75ad5
* find.c: Fix warnings reported by gcc 4.0.0.
...
* mountlist.c: Likewise.
* screen.c: Likewise.
* view.c: Likewise.
2005-05-21 03:26:36 +00:00
Pavel Roskin
a6dd81352b
* screen.c (try_to_select): Don't call display_mini_info(), it
...
will be called later because select_item sets panel->dirty.
This fixes the mini status appearing first after Ctrl-O.
2005-05-03 15:16:57 +00:00
Pavel Roskin
417ca2ab1f
* screen.c (chdir_other_panel): When used on a file entry, move
...
selection on the inactive panel to select the entry for the
current directory on the active panel.
2005-03-29 04:47:16 +00:00
Pavel Roskin
9bdae2ff7c
* screen.c (chdir_other_panel): Prevent changing current
...
directory. Remove incorrect comment.
2005-03-17 22:40:11 +00:00
Miguel de Icaza
6b14153361
2005-02-26 Miguel de Icaza <miguel@novell.com>
...
* screen.c (chdir_other_panel): Restored original functionality.
(sync_other_panel): This is now bound to the key Alt-i, and is the
functionality that was lost.
2005-02-26 16:39:31 +00:00
Roland Illig
476927920b
* screen.c: Changed the return type of ilog10 to unsigned int
...
and adjusted some variables in format_device_number.
2005-02-23 19:37:43 +00:00
Roland Illig
0a545794da
* screen.c: Reverted my changes from 2005-02-08 (except the
...
maybe_cd calls) to not confuse the upcoming UTF-8 patches.
2005-02-12 05:14:54 +00:00
Roland Illig
256cce9bb5
* screen.c (string_file_name): Fixed the displaying of long file
...
names. The bug had been introduced by me on 2005-02-08.
* screen.c (string_file_nlinks): Likewise.
2005-02-11 19:43:30 +00:00
Roland Illig
f8a7930a1a
* screen.c: Marked unused parameters. Updated use of maybe_cd.
2005-02-08 20:12:30 +00:00
Roland Illig
c6a72952ac
* screen.c (string_file_*): Don't use static buffers.
...
* screen.c (format_file): Provide a buffer for the string_file_*
functions.
2005-02-08 12:28:17 +00:00
Roland Illig
0d08e8308f
* Renamed define_label to buttonbar_set_label.
...
* Renamed define_label_data to buttonbar_set_label_data.
* Renamed redraw_labels to buttonbar_redraw.
2005-02-08 09:53:51 +00:00
Roland Illig
fc85bdba7e
* *.c: Reordered header inclusion.
2005-02-08 09:04:03 +00:00
Roland Illig
9558c7178f
* src/info.c (info_show_info): Enabled display of the device number,
...
for the case that the column in the directory listing is too
short. This had been disabled since 1994, for no obvious reason
and without any comment.
* src/screen.c (format_device_number): Added. Converts a device number
into a bounded string.
* screen.c (string_file_size): Support for larger device numbers
(and for non-Linux systems).
* vfs/cpio.c (cpio_read_crc_head): Fixed device number handling for
non-Linux systems.
* vfs/fish.c (fish_dir_load): Likewise.
* vfs/utilvfs.c (vfs_parse_ls_lga): Likewise.
2005-01-27 23:32:13 +00:00
Roland Illig
1eab2f63b7
* screen.c (do_search): Ignore the backspace key on empty
...
quick-search.
From Egmont Koblinger <egmont * uhulinux hu>
2004-11-16 23:54:15 +00:00
Andrew V. Samoilov
5ea26d084d
* dir.c (file_type_to_num): Added initial support for the Special Named
...
Files. They are displayed as block devices, but with '#' prefix in it's
names. Needed on QNX Neutrino.
* file.c (copy_file_file): Likewise.
* fs.h: Likewise.
* screen.c (string_file_type): Likewise.
(file_compute_color): Likewise.
* util.c (string_perm): Likewise.
* pipethrough.c: Added sys/select.h if found according to config.h.
2004-11-03 20:31:59 +00:00
Andrew V. Samoilov
358f13f13d
* screen.c (show_dir): A small fix to avoid a crash in show_dir() with
...
a panel of more than 200 columns.
2004-11-03 19:56:36 +00:00
Andrew V. Samoilov
cee8133838
* subshell.c (do_subshell_chdir): Filter out a possible password from
...
warning dialog.
* command.c (do_cd_command): Likewise.
* screen.c (panel_callback): Likewise.
* util.c (path_trunc): Add function. path_trunc() is the same as
name_trunc(), but it deletes possible password from path for security
reasons.
* util.h: Add functions path_trunc().
* filegui.c (file_progress_show_target): Filter out a possible password
from dialog.
(file_progress_show_deleting): Likewise.
(file_mask_dialog): Likewise.
* file.c (move_file_file): Likewise.
(move_dir_dir): Likewise.
(file_error): Likewise.
(files_error): Likewise.
(real_query_recursive): Likewise.
* hotlist.c (add2hotlist): Typo fix.
2004-11-03 19:43:17 +00:00
Roland Illig
11842a375f
2004-09-24 Roland Illig <roland.illig@gmx.de>
...
* boxes.c: Replaced NULL with (char *) NULL. Likewise for 0, where
NULL was meant.
* cmd.c: Likewise.
* dialog.c: Likewise.
* ext.c: Likewise.
* file.c: Likewise.
* find.c: Likewise.
* hotlist.c: Likewise.
* learn.c: Likewise.
* main.c: Likewise.
* screen.c: Likewise.
* setup.c: Likewise.
* treestore.c: Likewise.
* user.c: Likewise.
* util.c: Likewise.
* utilunix.c: Likewise.
* view.c: Likewise.
* widget.c: Likewise.
* wtools.c: Likewise.
2004-09-24 15:05:28 +00:00
Andrew V. Samoilov
facaac9889
* color.c (mc_init_pair): Use cast to avoid warning.
...
* screen.c (display_mini_info): Likewise.
* slint.c (do_define_key): Likewise.
* tree.c (tree_show_mini_info): Likewise. (show_tree):Likewise.
* view.c (view_status): Likewise.
2004-08-31 23:34:18 +00:00
Roland Illig
03913065b4
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 23:27:40 +00:00
Roland Illig
4baefa09c2
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 17:15:23 +00:00
Roland Illig
8458240147
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 16:42:40 +00:00
Andrew V. Samoilov
03976121d9
* screen.c (paint_frame): Fix possible buffer overflow.
2004-08-18 19:55:47 +00:00
Roland Illig
9dfb30636e
Compacted and commented the code in do_try_to_select.
2004-08-16 18:30:34 +00:00
Roland Illig
6bd6aa7b50
Made output of the st_mode system independent.
2004-08-16 04:56:19 +00:00
Roland Illig
a91c5b9ad2
Created a new type (panel_key_map) and wrote some wrapper functions where the parameters didn't match. Adjusted the type of some variables.
2004-08-16 04:24:04 +00:00
Pavel Roskin
1d6ab07a10
* screen.c (display_mini_info): Correctly fill the space after
...
"<readlink failed>".
2004-01-22 08:25:23 +00:00
Pavel Roskin
04b4194371
* dialog.h (dlg_widget_active): New function - check if the
...
widget is active.
* boxes.c (display_callback): Use it.
* layout.c (swap_panels): Likewise.
* screen.c (do_panel_event): Likewise.
2003-11-27 00:46:39 +00:00
Pavel Roskin
0ba019a90b
* configure.in: Use AC_CHECK_MEMBERS to check fields of struct
...
stat. Adjust all dependencies.
2003-10-29 17:36:16 +00:00
Pavel Roskin
24384e9a89
* panel.h: Fix duplication between cpanel and current_panel in
...
favor of current_panel. Ditto opanel and other_panel.
2003-10-26 06:45:59 +00:00
Pavel Roskin
7a5015a5d1
* screen.c (user_file_menu_cmd): Move ...
...
* cmd.c: ... here.
* cmd.h: Remove unused declarations.
2003-10-24 18:57:43 +00:00
Pavel Roskin
52844a3092
* vfs.h: Rename commands for mc_ctl() and mc_setctl() to make it
...
clear which function they are used with.
* vfs.c (mc_ctl): Change last argument to (void*).
(mc_set): Likewise.
Adjust all dependencies.
2003-10-16 16:12:19 +00:00
Pavel Roskin
0c75cd31a5
* screen.c (do_enter_on_file_entry): Remove annoying message "no
...
action taken". Simplify logic. Confirmation affects VFS too.
2003-10-13 00:50:11 +00:00
Pavel Roskin
9941a0bb6a
* dlg.h: Remove "first" field for dialogs and DLG_HAS_MENUBAR.
...
* dlg.c (dlg_mouse_event): Remove menubar hack.
* screen.c (do_panel_event): Redirect mouse events on the upper
frame to the menubar if it's invisible.
(panel_event): Don't repaint the panel after redirected events.
2003-09-13 05:23:53 +00:00
Pavel Roskin
312972109a
* screen.c (panel_event): Make sure that the panel is repainted
...
after the event is processed.
2003-09-13 00:22:59 +00:00
Pavel Roskin
c0b34498dd
* dlg.h: Merge Widget_Item into Widget. Massive adjustment.
2003-09-12 23:38:42 +00:00
Pavel Roskin
9ddc1c9cbc
* screen.c (paint_dir): Don't make panel clean here.
...
(panel_update_contents): Do it here.
(panel_callback): Repaint the panel on focus.
(select_item): Don't paint anything here.
2003-09-11 00:01:16 +00:00
Pavel Roskin
e355e25b56
* dlg.h: Use cb_ret_t and widget_msg_t in widget callbacks.
...
Massive adjustment for the above.
2003-09-10 22:48:54 +00:00
Pavel Roskin
24737eb1c1
* dlg.h: Remove restroy callback. Widgets should use
...
WIDGET_DESTROY. Adjust all dependencies.
2003-09-10 18:21:40 +00:00
Pavel Roskin
f462c5a77d
* layout.c (layout_change): Make static.
...
* screen.c (paint_panel): Likewise.
* cmd.c (dirsizes_cmd): Use dirty flag.
* tree.c (chdir_sel): Don't call paint_panel().
2003-09-10 06:15:53 +00:00