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
Pavel Roskin
c3e1cd0a98
* dlg.h (struct Dlg_head): Eliminate "data" field, it duplicated
...
functionality of "title".
* wtools.c (query_callback): Use dialog_repaint().
(quick_callback): Use common_dialog_repaint().
2002-08-22 23:31:35 +00:00
Pavel Roskin
5a7226fc59
* learn.c (learn_callback): Use common_dialog_repaint().
...
* achown.c (chl_callback): Likewise.
2002-08-22 23:01:08 +00:00
Pavel Roskin
6810d3211e
* dialog.h: Cleanup unused functions.
...
* dialog.c: Cleanup unused headers.
2002-08-22 22:53:02 +00:00
Pavel Roskin
8aa61fffa3
* dlg.h (struct Dlg_head): Fold fields "raw" and "has_menubar"
...
into one field "flags". Adjust all dependencies. Add new flag
DLG_COMPACT.
* wtools.c (dialog_repaint): Draw frame without spaces if
DLG_COMPACT flag is set.
* complete.c (complete_engine): Set DLG_COMPACT.
(query_callback): Use common_dialog_repaint().
2002-08-22 15:34:25 +00:00
Andrew V. Samoilov
4cce966476
* textconf.c (features) [USE_VFS]: Add cpiofs.
...
[USE_VFS && USE_NETCODE]: Add fish.
2002-08-22 07:31:08 +00:00
Pavel Roskin
1d2d88c2b9
* keys.h: Remove, include ...
...
* myslang.h: ... here.
* Makefile.am: Remove keys.h.
2002-08-22 06:56:35 +00:00
Pavel Roskin
089a5523fd
* dlg.h: Remove unused fields in struct Dlg_head.
...
* dlg.c: Adjust for the above.
2002-08-22 05:15:47 +00:00
Pavel Roskin
9803d2ea90
* dlg.h: Remove unused fields in struct Widget.
...
* dlg.c: Adjust for the above.
* layout.c: Likewise.
2002-08-22 00:50:24 +00:00
Pavel Roskin
83b5c737aa
* cmd.c (info_cmd_no_menu): Toggle info screen.
...
(quick_cmd_no_menu): Toggle quick view.
2002-08-22 00:27:14 +00:00
Pavel Roskin
1f423be341
* help.c (interactive_display): Always show button bar.
2002-08-21 23:02:19 +00:00
Pavel Roskin
f871fca140
* widget.c (buttonbar_callback): Fix a bug that prevented the
...
last byte from being redrawn.
Reported by David Martin <dmartina@excite.com>
2002-08-21 22:52:29 +00:00
Pavel Roskin
564dc4264b
* layout.c (setup_panels): Make the button bar 0 lines high if
...
it's invisible, so that mouse click on the history button works
with invisible button bar.
2002-08-21 22:27:52 +00:00
Pavel Roskin
2f9416892a
* widget.c: Make more functions static.
2002-08-21 21:47:29 +00:00
Pavel Roskin
a29ebd7987
* ext.c: (regex_check_type): Further split. Restore caching
...
broken in the previous commit.
2002-08-21 19:22:32 +00:00
Pavel Roskin
fdebf03b34
* ext.c (regex_command): Separate checking for "type/" into ...
...
(regex_check_type): ... this.
2002-08-21 16:24:17 +00:00
Pavel Roskin
9e36fa257d
* global.h: Move include for rx.h and eregex.h here.
2002-08-21 07:20:39 +00:00
Pavel Roskin
e7482bec93
* learn.c (learn_button): Don't allow Tab to be learned.
2002-08-21 06:50:09 +00:00
Pavel Roskin
608d74abda
* menu.c (create_menu): Get help node as an argument.
...
* main.c: Use new create_menu() interface.
2002-08-20 21:30:06 +00:00
Pavel Roskin
fdd975af3a
Missing return after perror().
2002-08-20 16:14:48 +00:00
Pavel Roskin
f486423122
* man2hlp.c: Don't redirect stdout. Check result of ftell.
...
Drop support for invocation with 2 arguments.
2002-08-20 16:13:13 +00:00
Pavel Roskin
2af1e85990
* cons.handler.c (handle_console): Use _exit(), not exit() in
...
the child.
2002-08-20 00:04:49 +00:00
Pavel Roskin
2c8f2419e5
* main.c (handle_args): Set POPT_CONTEXT_NO_EXEC flag for
...
poptGetContext().
* popt.c: Call abort() in execCommand() - we should not execute
anything here.
2002-08-20 00:01:33 +00:00
Pavel Roskin
9860f07fc9
* util.h: Remove unused and dangerous flags for my_system():
...
EXECUTE_TEMPFILE, EXECUTE_SETUID and EXECUTE_WAIT.
* utilunix.c: Corresponding adjustments.
* ext.c: Don't use EXECUTE_TEMPFILE, it has no effect.
2002-08-19 23:41:21 +00:00
Pavel Roskin
d1e02fba0f
* subshell.c (synchronize): Workaround for Cygwin (should not be
...
needed for the next version) - remove SIGCHLD blocking from
old_mask.
2002-08-19 22:28:00 +00:00
Pavel Roskin
047a7f906e
* dlg.h: Remove all unused flags for create_dlg(). Adjust all
...
dependencies.
2002-08-19 06:22:32 +00:00
Pavel Roskin
342b4bbd0f
* cmd.c (fishlink_cmd): Implement user interface for FiSH.
...
* main.c: Add it to the menu.
2002-08-19 06:06:09 +00:00
Pavel Roskin
e29d69423a
* help.c (help_follow_link): Made static.
2002-08-19 05:00:58 +00:00
Pavel Roskin
11bd8d9c39
* subshell.c (synchronize): Discard all remaining data from
...
stdin to the subshell.
2002-08-19 02:06:01 +00:00
Pavel Roskin
105877896d
* subshell.c (exit_subshell) [AIX_TCSH_CODE_BELOW_IS_IT_FIXED]:
...
Remove. Nobody has fixed this code for years.
2002-08-19 01:54:34 +00:00
Pavel Roskin
6efa4a23f3
* main.h [USE_INTERNAL_EDIT]: Don't include declarations from
...
edit.h.
* setup.c [USE_INTERNAL_EDIT]: Include edit.h.
2002-08-19 01:43:40 +00:00
Pavel Roskin
96322324ea
* boxes.h: Remove user_format.
...
* boxes.c: Make more variables static, remove all extern
declarations.
* setup.c: Remove some extern declarations.
2002-08-19 01:01:20 +00:00
Pavel Roskin
1e6c5b17ce
* mountlist.h: Move some internals ...
...
* mountlist.c: ... here.
2002-08-19 00:07:08 +00:00