Pavel Roskin
52caab36b8
* filegui.c: Eliminate x_set_dialog_title().
...
* hotlist.c: Likewise.
* help.c: Likewise.
(interactive_display): Default to node "[main]" if the given
node is empty.
2002-09-03 06:53:11 +00:00
Pavel Roskin
69a3777112
* dlg.c (create_dlg): Take title instead of unused name as the
...
8-th argument.
(x_set_dialog_title): Free old title. Mark this function
obsolete.
* achown.c: Use new create_dlg().
(do_enter_key): Provide titles for popups.
2002-09-02 19:24:23 +00:00
Pavel Roskin
67cfc5d84d
* dlg.c: Remove unused code, make functions static if possible.
2002-09-02 18:42:49 +00:00
Pavel Roskin
6f0c076c65
* chmod.c: Use common_dialog_repaint().
...
* chown.c: Likewise.
* layout.c: Likewise.
* option.c: Likewise.
2002-09-02 18:03:15 +00:00
Pavel Roskin
e000c69683
* wtools.c (common_dialog_callback): Fold into ...
...
* dlg.c (default_dlg_callback): ... this. Don't redraw dialogs
that don't have colors. Adjust all dependencies.
(std_callback): Elimitate.
2002-09-02 16:31:33 +00:00
Pavel Roskin
7e0d162f5e
* panelize.c (panelize_refresh): Eliminate in favor of
...
common_dialog_callback().
2002-09-02 08:22:50 +00:00
Pavel Roskin
0df513bcc2
* widget.c (history_callback): Eliminate in favor of
...
common_dialog_callback().
(show_hist): Set dialog title and flag DLG_COMPACT.
2002-09-02 08:01:35 +00:00
Pavel Roskin
43509ea980
* help.c (help_callback): Use common_dialog_callback().
...
(interactive_display): Set dialog title.
2002-09-02 07:48:01 +00:00
Pavel Roskin
1e2884e94d
* wtools.c (listbox_callback): Eliminate in favor of
...
common_dialog_callback().
2002-09-02 07:37:15 +00:00
Pavel Roskin
1f478c647a
* wtools.c (dialog_repaint): Eliminate, nobody should be using
...
non-standard colors. Adjust all dependencies.
(common_dialog_repaint): Fix return code.
(query_callback): Eliminate, use common_dialog_callback()
instead.
2002-09-02 07:31:19 +00:00
Pavel Roskin
812e80c85a
Add a comment saying where the code is broken and why.
2002-09-02 07:18:51 +00:00
Pavel Roskin
cec127c569
* listmode.c (listmode_refresh): Use common_dialog_repaint().
...
Eliminate all global variables. Reformat the whole file.
2002-09-02 06:06:49 +00:00
Pavel Roskin
946e09abc2
* boxes.c (init_disp_bits_box): Use common_dialog_callback().
...
Return the new dialog.
2002-09-02 05:32:14 +00:00
Pavel Roskin
9f5b82fe08
* boxes.c (display_callback): Use common_dialog_repaint().
...
(display_init): Avoid using two different translations.
2002-09-02 05:09:45 +00:00
Pavel Roskin
03e1f0638e
* help.c (interactive_display): Don't reuse the old value of
...
help_lines - LINES could have changed. Scale height better for
terminals with many lines - use 2/3 of the full screen.
2002-09-02 02:40:22 +00:00
Pavel Roskin
e1aee61843
* man2hlp.c: Move handling of .SH and NODE to a separate
...
function handle_node(). Don't output empty nodes except in the
table of contents.
2002-09-02 02:06:44 +00:00
Andrew V. Samoilov
64605f4785
* man2hlp.c (handle_command): Handle .SM and .SB.
2002-09-01 16:54:11 +00:00
Andrew V. Samoilov
cd9e02c125
* man2hlp.c (print_error): Print input filename.
...
(handle_command): Handle .P, .LP, .IP and .br.
Ignore comments and .TH (Title header).
Report about unsupported commands.
2002-09-01 10:45:35 +00:00
Andrew V. Samoilov
7d821e954e
* user.c (debug_out): Use "%s" as text argument.
2002-09-01 08:10:11 +00:00
Andrew V. Samoilov
ab44f618f9
* win.c (key_name_conv_tab): Fix initialization.
2002-09-01 07:42:54 +00:00
Andrew V. Samoilov
17a8ca0706
* ext.c (regex_command): Use "%s" as text argument.
2002-09-01 07:38:24 +00:00
Andrew V. Samoilov
dd3e9e07c6
* ext.c (regex_command): Use "ChangeLog" as text argument.
2002-09-01 07:38:24 +00:00
Pavel Roskin
74c4b19546
* help.c (show): Fix segfault on unterminated help files.
...
From David Martin <dmartina@excite.com>
2002-08-31 14:20:14 +00:00
Pavel Roskin
517e1cf8e7
* key.c (get_event): Reduce scope of select_set. Don't check
...
mouse_enabled all the time, instead break out of the loop if it
becomes 0.
2002-08-31 06:40:47 +00:00
Pavel Roskin
66f37c0af4
* main.c (do_nc): Make midnight_colors[] local to do_nc().
...
Initialize normal color - it's used by the tree.
* boxes.c (tree_box): Use standard dialog_colors.
* tree.c: Use NORMALC for normal entries.
2002-08-31 05:50:06 +00:00
Pavel Roskin
68f0b4b8b4
* view.c (view): Avoid passing an uninitialized color array to
...
create_dlg() - pass NULL instead.
2002-08-31 04:30:57 +00:00
Pavel Roskin
8eb26481c1
Missed "const" for query_colors in the last commit.
2002-08-31 00:31:14 +00:00
Pavel Roskin
180ec10d69
* color.c: Define global array alarm_colors for the colors used
...
in the dialogs that should be most visible (error messages,
request to delete or overwrite).
(load_dialog_colors): Initialize alarm_colors.
* filegui.c: Use alarm_colors.
* wtools.c: Likewise.
* dlg.c (create_dlg): Make the color_set array constant.
2002-08-31 00:29:48 +00:00
Pavel Roskin
485a8cbac1
* wtools.c (common_dialog_repaint): Use colors specific to the
...
current dialog, not fixed colors for "normal" dialogs.
* filegui.c (replace_callback): Eliminate, use
common_dialog_callback() instead.
2002-08-30 23:48:38 +00:00
Pavel Roskin
947a8c8c1b
* filegui.c (file_op_context_create_ui): Use
...
common_dialog_callback(). Set title to the operation name.
(op_win_callback): Remove, it's unused.
2002-08-30 23:32:59 +00:00
Pavel Roskin
f8996f5846
* view.c: Make static whatever possible.
...
* view.h: Remove internal view routines.
2002-08-27 19:10:54 +00:00
Andrew V. Samoilov
3f03b46b8d
* selcodepage.c (select_charset): Use snprintf instead of sprintf.
...
(do_select_codepage) [!HAVE_ICONV]: Remove.
2002-08-27 13:23:29 +00:00
Andrew V. Samoilov
6407a05869
* man2hlp.c (fopen_check): Fix buffer overflow on error
2002-08-27 10:39:09 +00:00
Pavel Roskin
d467cf4003
Update.
2002-08-27 07:25:27 +00:00
Pavel Roskin
9514de4ed7
* charsets.c: Add disclaimer of warranty.
...
* filenot.c: Likewise.
* fileopctx.c: Likewise.
* mfmt.c: Likewise.
* selcodepage.c: Likewise.
* text.c: Likewise.
* textconf.c: Likewise.
2002-08-27 05:27:11 +00:00
Pavel Roskin
3c57e07af3
* man2hlp.c (main): Factor error checks in fopen() and fclose(),
...
eliminate reuse of variables for different purposes, add more
comments. Correctly process "&" escape.
The last part is from David Martin <dmartina@excite.com>
2002-08-27 04:27:26 +00:00
Pavel Roskin
2adae11aa4
* main.c (init_xterm_support): Force xterm-style screen saving
...
and no mouse on "cygwin" terminal.
2002-08-26 15:26:38 +00:00
Pavel Roskin
488f4c3e44
* man2hlp.c: Change default from the English string for TOPICS,
...
to no heading.
2002-08-25 18:40:33 +00:00
Pavel Roskin
f9a0f1440a
* man2hlp.c (handle_command): Remove quotes from TOPIC.
2002-08-25 18:13:37 +00:00
Pavel Roskin
8ade32d7d9
* key.c (get_event): Check gpm_fd before using it in FD_SET. If
...
gpm_fd is -1 (gpm has died), disable mouse support.
2002-08-25 05:47:47 +00:00
Pavel Roskin
60f9328e8d
* key.c: Use the maximal file descriptor, not FD_SETSIZE in all
...
calls to select().
* subshell.c: Likewise.
2002-08-25 05:44:57 +00:00
Pavel Roskin
f5a762b7a8
* user.c (expand_format): Remove support for error file in the
...
editor.
* utilunix.c (close_error_pipe): Fix the condition when nothing
needs to be dislayed.
2002-08-24 17:25:27 +00:00
Pavel Roskin
3982497692
* dlg.c (x_set_dialog_title): Force uniform spacing.
...
From Andrew Borodin <borodin@zarya-k.ru>
2002-08-24 16:10:26 +00:00
Pavel Roskin
40136e5f74
* utilunix.c (check_error_pipe): Check error_pipe[0], not
...
stdout. From Pavel Tsekov <ptsekov@gmx.net>
2002-08-24 16:03:23 +00:00
Pavel Roskin
9066ce18c0
* achown.c (chown_refresh): Use common_dialog_repaint().
2002-08-24 06:11:54 +00:00
Pavel Roskin
27978d1b55
* dlg.h (struct Dlg_head): Separate user flags and internal
...
flags. Make "direction" a user flag. Adjust all dependencies.
* dlg.c (run_dlg): Return ret_value.
2002-08-24 04:51:09 +00:00
Pavel Roskin
45864c19ed
* text.c (default_edition_colors): Use more rxvt-friendly color
...
for dhotnormal.
2002-08-23 22:14:03 +00:00
Pavel Roskin
214358fb02
* configure.in: Make GLIB_LIBS a separate AC_SUBST'ed variable,
...
use only for the programs that need it (mc and mcserv).
2002-08-23 21:02:42 +00:00
Pavel Roskin
96087a4179
* Makefile.am: Remove definition of CONFDIR, it's not used.
2002-08-23 20:49:44 +00:00
Pavel Roskin
9feb2ffdf5
* layout.c (print_vfs_message): Set normal color, don't use
...
random current attributes.
2002-08-22 23:59:20 +00:00