Pavel Roskin
dc9869db9e
* screen.c (Xtry_to_select): Make static, rename to
...
do_try_to_select().
2002-11-11 04:07:40 +00:00
Pavel Roskin
5d8071ceb4
* screen.c (chdir_other_panel): Change behavior of Alt-O -
...
change the other panel to the current directory, put it to the
listing mode if needed. Based on a patch from PLD Linux
Distribution.
2002-11-11 00:44:27 +00:00
Pavel Roskin
85f55fe291
* panel.h: Use spaces, not commas, in the format - they are more
...
readable and easier to document.
* screen.c (panel_format): Likewise.
(mini_status_format): Likewise.
2002-10-30 00:56:08 +00:00
Pavel Roskin
bec34c88b5
* screen.c (mini_info_separator): Revert last patch. The bug is
...
in Red Hat 8.0 S-Lang.
2002-10-24 23:30:32 +00:00
Pavel Roskin
d6b2ae879a
* screen.c (mini_info_separator): The separator was one
...
character too long.
(show_dir): Remove obsolete linux_unicode hack.
2002-10-24 22:53:01 +00:00
Pavel Roskin
d3f0a2f61b
Remove spaces around "Error" and "Warning" together with their translations.
...
Also remove spaces from "Quit" and "Search", but leave alone the
translations, that already have them without spaces.
2002-10-21 04:13:49 +00:00
Pavel Roskin
c011f62dea
* color.c: Rename stalledlink to stalelink. Make the same
...
change elsewhere.
2002-10-13 22:23:17 +00:00
Pavel Roskin
7aec774638
* ext.c (get_file_type_local): Return -1 for fatal errors.
...
(get_file_type_pipe): Likewise.
(regex_command): Likewise. Adjust all callers.
From Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
2002-09-29 19:26:15 +00:00
Pavel Roskin
b181f4519f
* main.h: Remove all references to icons.
...
* panel.h: Likewise. Adjust all dependencies.
2002-09-27 00:47:29 +00:00
Pavel Roskin
bd4b18731e
s/suplied/supplied/
...
s/duplicit/duplicate/
2002-09-27 00:17:10 +00:00
Pavel Roskin
c20e6f66c1
* screen.c (string_file_nuid): Fix a warning with uClibc.
...
(string_file_ngid): Likewise.
2002-09-24 23:00:01 +00:00
Pavel Roskin
ac608302f8
* screen.c (panel_event): Implement support for mouse wheel.
2002-09-24 05:16:19 +00:00
Pavel Roskin
ec1b1f9614
Globally replace OS2_NT and _OS_NT with WIN32_NATIVE.
2002-09-10 22:04:11 +00:00
Pavel Roskin
1314fc2a07
* screen.c (show_dir): Don't call trim() with negative length.
...
* util.c (trim): Better handle short length. Make sure that the
destination is always 0-terminated.
2002-09-10 19:58:33 +00:00
Andrew V. Samoilov
aec8a76263
* screen.c (string_file_name): Fix possible off-by-one
...
buffer overflow.
(string_file_size): Avoid unsafe strcpy().
(string_file_size_brief): Likewise. Eliminate buffer array.
2002-09-09 07:28:38 +00:00
Pavel Roskin
6d8e2e73e1
* color.c: Move hascolors variable into init_colors(). Adjust
...
all dependencies.
2002-09-08 17:30:52 +00:00
Pavel Roskin
5e9c0314a2
* fs.h: Correct S_IS* definitions to use S_IFMT. Add fallback
...
definitions for S_IFDOOR and S_ISDOOR.
* screen.c (string_file_type): Remove unnesessary ifdefs, fs.h
takes care of it.
(file_compute_color): Add support for Solaris doors.
* util.c (string_perm): Remove unnesessary ifdef.
2002-09-06 00:47:46 +00:00
Pavel Roskin
b9421d6927
* panel.h (struct format_e): Make string_fn return const char *.
...
Adjust all dependencies.
* screen.c (string_file_mtime): Return empty string for "..".
(string_file_atime): Likewise.
(string_file_ctime): Likewise.
2002-08-18 22:01:51 +00:00
Pavel Roskin
58da40fa6a
* screen.c (string_file_name): Replace non-printable characters
...
with question marks.
2002-08-15 16:52:51 +00:00
Pavel Roskin
c46d1f590b
* ext.c (exec_extension): Eliminate unused argument.
...
(regex_command): Remove support for user actions. Return int.
Adjust all dependencies.
2002-08-10 00:37:55 +00:00
Pavel Roskin
bb4451f170
* ext.c (exec_extension): Make static. Remove support for Drop,
...
Title and Icon actions. Adjust all dependencies.
2002-08-10 00:14:01 +00:00
Pavel Roskin
bda707e46b
* setup.c: Eliminate all PORT* macros.
...
* screen.c: Likewise.
2002-07-30 00:12:53 +00:00
Pavel Roskin
1c1493cbe5
* cmd.c (copymove_cmd_with_default): Remove, it's unused.
...
(copy_cmd_local): New function, copy within panel.
(ren_cmd_local): New function, rename within panel.
* cmd.h: Adjust to match.
* screen.c (panel_keymap): Associate F15 with copy_cmd_local and
F16 with ren_cmd_local.
2002-07-26 19:30:13 +00:00
Pavel Roskin
8f4ca50c58
* screen.c (panel_callback): Revert last change, it has bad side
...
effects on the subshell.
2002-07-20 08:32:53 +00:00
Pavel Roskin
6bdeafba4d
* dlg.c: Eliminate all useless x_* functions.
...
* dlg.h: Likewise.
* panel.h: Likewise.
* textconf.h: Likewise.
* view.c: Likewise.
* view.h: Likewise.
* widget.c: Likewise.
* main.c: Remove panel_update_marks(). Move try_to_select() ...
* screen.c: ... here. Eliminate x_* functions.
* main.h: Remove panel_update_marks().
2002-07-19 22:16:24 +00:00
Pavel Roskin
f61bfaf8f5
* screen.c (panel_callback): Only change directory on
...
WIDGET_FOCUS if current_panel changes.
2002-07-19 20:22:07 +00:00
Pavel Roskin
29633b4eb5
* screen.c (do_enter_on_file_entry): Process associations before
...
trying to execute the file.
2002-06-27 21:25:03 +00:00
Pavel Roskin
9a67ad6ebf
* screen.c (format_file): Add a new parameter (size of the
...
output buffer) to prevent buffer overflow on very wide
terminals.
From Thomas Dickey <dickey@herndon4.his.com>
2002-02-06 05:14:16 +00:00
Pavel Roskin
3ecaa166e8
* screen.c: Don't try to paint anything if width is 0 or less.
...
Reported by Pawel Sakowski <pawel@sakowski.eu.org>
2002-01-22 23:37:41 +00:00
Pavel Roskin
34fe9abd28
* screen.c: Make functions static whenever possible. Remove
...
unused functions.
* panel.h: Remove corresponding declarations.
2002-01-22 23:16:21 +00:00
Pavel Roskin
93fd1572a5
* main.c: Include "drive.h", not <drive.h>, do it after panel.h.
...
Use _OS_NT as the condition for including drive.h.
* screen.c: Use _OS_NT as the condition for including drive.h.
2002-01-22 00:30:51 +00:00
Pavel Roskin
3e8ada15be
* screen.c (string_file_size): Translate "UP--DIR".
...
(string_file_size_brief): Translate "SUB-DIR" and "SYMLINK".
2002-01-20 20:14:15 +00:00
Pavel Roskin
894ed9dcc6
* screen.c (string_file_size): Don't display size of ".." - it
...
may take too much time to calculate it on VFS. Show "UP--DIR"
instead.
(string_file_size_brief): Remove ".." handling - it's now done
in string_file_size(). Show "SUB-DIR" for links to directories,
"SYMLINK" for other links.
2002-01-20 19:52:11 +00:00
Andrew V. Samoilov
21c015b2f8
* util.c (string_perm) [S_IFDOOR]: Support Solaris doors.
...
screen.c (string_file_type) [S_IFDOOR]: Likewise.
2002-01-09 10:54:13 +00:00
Pavel Roskin
fa89635b51
Fully eliminate all references to HAVE_X and HAVE_GNOME.
2001-11-14 23:20:37 +00:00
Pavel Roskin
04392aad1d
* screen.c (panel_format_modified): Use more portable cast.
2001-10-01 04:31:49 +00:00
Pavel Roskin
f2e38b2c3a
* textconf.h: Get rid of all PORT_HAS_*. Adjust all users.
...
Continued eliminating GNOME code.
2001-09-16 01:10:09 +00:00
Pavel Roskin
a8ef641beb
* x.h: Remove. Adjust all users. Make sure that global.h is
...
included instead. Don't include sys/param.h unconditionally -
rely on global.h taking care of it.
* Makefile.in: Remove x.h.
2001-09-03 05:07:40 +00:00
Timur Bakeyev
043e782496
2001-08-31 23:14:21 Timur Bakeyev <mc@bat.ru>
...
* utilunix.c: init_groups(), destroy_groups(), get_user_permissions()
rewritten to use GTree structure and functions. Add new static helper
functions mc_gid_compare() and mc_gid_destroy().
* util.h: Removed deprecated structure user_in_groups.
* screen.c: Fixed typo in format report error string.
2001-08-31 23:14:21 Timur Bakeyev <mc@bat.ru>
* utilunix.c: get_user_rights() renamed into get_user_permissions().
delete_groups() renamed into destroy_groups().
* util.h: Likewise.
* screen.c: Likewise.
* main.c: Likewise.
2001-09-01 13:47:34 +00:00
Pavel Roskin
1ef25591d2
* util.c (size_trunc_len): Add units parameter. Change all
...
callers.
2001-08-30 16:41:08 +00:00
Pavel Roskin
1daee3ab8f
* screen.c [HAVE_X]: Disable unused code.
2001-08-19 17:33:26 +00:00
Pavel Roskin
689c3fb9ac
Replace "Can't" with "Cannot" everywhere.
2001-08-14 00:55:34 +00:00
Pavel Roskin
069eaca778
* screen.c (panel_keymap) [HAVE_X]: Disable Alt-H - it's not
...
implemented properly for GNOME.
* main.c (directory_history_list) [HAVE_X]: Disable.
2001-07-15 03:50:23 +00:00
Pavel Roskin
a5281c3ee4
* util.c (size_trunc_len): New function - print file size to
...
a buffer of limited length.
* util.h: Declare size_trunc_len().
* screen.c (string_file_size): Use size_trunc_len().
2001-06-28 04:17:28 +00:00
Pavel Roskin
c83fdc336c
* key.c (ctrl_pressed): Don't limit functionality to Linux.
...
* screen.c (prev_page_key): Don't require console_flag to be set
to use ctrl_pressed(), only require that HAVE_X is undefined.
(next_page_key): Likewise.
* widget.c (key_left): Don't limit functionality to Linux.
(key_right): Likewise.
2001-06-26 03:20:22 +00:00
Pavel Roskin
e470f1d208
* main.c [HAVE_X]: Disable change_panel(),
...
copy_current_readlink() and copy_other_readlink().
Don't do anything with cmdline and command_prompt.
* screen.c [HAVE_X]: Disable panel_event(), chdir_other_panel()
and chdir_to_readlink(). Adjust all callers.
(panel_key) [HAVE_X]: Don't use command_prompt - always
start search on alphanumeric keys.
* setup.c [HAVE_X]: Disable save_layout(), load_layout(), struct
layout. Adjust all dependencies.
2001-06-19 00:43:56 +00:00
Pavel Roskin
ff84fd632e
* screen.c (display_mini_info): Avoid nested i18n calls.
...
(parse_panel_size): Warning fix.
* user.c [HAVE_X]: Warning fix.
(check_format_var): Avoid nested i18n calls. Improve messages.
2001-06-13 22:12:04 +00:00
Pavel Roskin
c2f8f8d935
* screen.c (user_file_menu_cmd) [HAVE_X]: Disable.
...
(panel_callback) [HAVE_X]: Don't define labels, they are unused.
* user.c [HAVE_X]: Disable all user meny code.
2001-06-13 16:51:15 +00:00
Pavel Roskin
5f8add985b
* TODO: Remove Tk-related entries.
...
* boxes.c [HAVE_TK]: Remove. Don't need INPUT_INDEX anymore.
* screen.c [HAVE_TK]: Remove.
(panel_event): Made static.
* chmod.c [HAVE_TK]: Remove.
* cmd.c [HAVE_TK]: Likewise.
* help.c [HAVE_TK]: Likewise.
* hotlist.c [HAVE_TK]: Likewise.
* info.c [HAVE_TK]: Likewise.
* view.c [HAVE_TK]: Likewise.
* view.h [HAVE_TK]: Likewise.
* widget.c [HAVE_TK]: Likewise.
* wtools.c [HAVE_TK]: Likewise.
2001-05-18 17:44:02 +00:00
Pavel Roskin
a036aa0207
* screen.c (adjust_top_file): Enable only if it's used, i.e.
...
when PORT_HAS_PAINT_FRAME in undefined.
* wtools.c (listbox_refresh): Disable for HAVE_X, define to
an empty macro instead.
(listbox_callback): Call listbox_refresh() regardless of HAVE_X.
(create_listbox_window): Likewise.
2001-05-14 21:35:56 +00:00