Commit Graph

5296 Commits

Author SHA1 Message Date
Pavel Roskin
56d650bbf1 * Makefile.am: Consolidate mcserv libraries into MCSERVLIBS. 2002-11-17 01:00:42 +00:00
Pavel Roskin
fc66f7adb3 * acinclude.m4 (MC_MCSERVER_CHECKS): Don't limit PAM check to
Linux.  Use AC_SEARCH_LIBS to find crypt().  Consolidate mcserv
libraries into MCSERVLIBS.
2002-11-17 00:54:59 +00:00
Pavel Roskin
ac96da0a1d * configure.in: Move all mcserv related checks ...
* acinclude.m4 (MC_MCSERVER_CHECKS): ... here.
2002-11-16 22:56:50 +00:00
Pavel Roskin
7b4387975b * main.c (main): Don't call subshell_get_console_attributes() if
the subshell is disabled from the command line.
2002-11-15 21:41:57 +00:00
Pavel Roskin
f75a648b3f Autoconf 2.56 released - use it. 2002-11-15 17:51:09 +00:00
Pavel Roskin
0c38cb416a with_glib2 is gone, remove it. 2002-11-15 17:39:07 +00:00
Pavel Roskin
aa1573f046 * configure.in: Fully enable glib2. Update the documentation. 2002-11-15 17:37:53 +00:00
Pavel Roskin
27899bfa2c * mcserv.c: Include getopt.h, don't redefine optarg. 2002-11-15 17:07:06 +00:00
Pavel Roskin
a1d4cb2a89 Minor warning fix. 2002-11-15 17:06:46 +00:00
Pavel Roskin
21bfde8acf Minor warning fixes. 2002-11-15 17:02:44 +00:00
Pavel Roskin
dd621c3f36 Warning fixes. 2002-11-15 07:49:39 +00:00
Pavel Roskin
8bc3193273 Specify CFLAGS. 2002-11-15 07:01:32 +00:00
Pavel Roskin
8a3bce3a54 Fix warning with -Wundef. 2002-11-15 06:55:08 +00:00
Pavel Roskin
5cb2ef30f3 Fix duplicate declarations. 2002-11-15 06:38:55 +00:00
Pavel Roskin
dc724cdb6e * names.c: Only leave actually used functions. 2002-11-15 06:19:34 +00:00
Pavel Roskin
6b2d184d9e * ftpfs.c (ftpfs_open_socket): Use INADDR_NONE, not -1. 2002-11-15 05:41:27 +00:00
Pavel Roskin
f3afd054e9 Add:
Restore shadow password support in mcserv.
get_byte() in view.c produces warnings in Valgrind.
2002-11-15 05:29:53 +00:00
Pavel Roskin
f8267eb2a0 * myslang.h: Define getyx() macro.
* layout.c (print_vfs_message): Preserve cursor position.
2002-11-15 01:35:12 +00:00
Pavel Roskin
bb71be884a Fix "edit" entries in the "Command" menu. 2002-11-14 23:00:50 +00:00
Pavel Roskin
9e1f47ddb7 Remove disabled entries - they give a bad example of
using pseudo-English (a.k.a. Engrish) in the menu.
2002-11-14 22:51:37 +00:00
Pavel Roskin
d508d0ef0c * view.h: Make struct WView opaque, move non-interface parts ...
* view.c: ... here.
* layout.c: Use struct WView, not typedef WView.
2002-11-14 21:18:28 +00:00
Pavel Roskin
c9194603a4 * cmd.c: Clean up includes, don't rely on edit.h. 2002-11-14 19:56:02 +00:00
Pavel Roskin
7969f851bb * edit.h: Decentralize includes. 2002-11-14 19:38:26 +00:00
Pavel Roskin
996886fcfd Update includes. 2002-11-14 17:08:56 +00:00
Andrew V. Samoilov
3fbf9adabe * samba/param/loadparm.c: Remove PASSWD_PROGRAM, SMB_PASSWD_FILE
and DEFAULT_PASSWD_CHAT support.
* samba/Makefile.in: Likewsise. Remove PRIVATEDIR, PASSWD_FLAGS,
CODEPAGELIST and SCRIPTS variables and yodldocs target.
* samba/configure.in: Remove --with-privatedir.
2002-11-14 12:32:41 +00:00
Andrew V. Samoilov
9cd542a5d7 * lib/mc.menu: Don't use --repetitive-best option with bzip2 -
it is redundant in versions 0.9.5 and above.
2002-11-14 10:50:23 +00:00
Pavel Roskin
68fdcd473a Include wtools.h - needed because message() has been moved there. 2002-11-14 07:26:32 +00:00
Pavel Roskin
5aeb6c2422 * dialog.c (struct Refresh): Make opaque.
* dialog.h: Move all stuff unrelated to dialog.c ...
* wtools.h: ... here.  Adjust all users.
2002-11-14 07:25:18 +00:00
Pavel Roskin
e5ca7e2124 * dialog.c (refresh_list): Make static.
* dialog.h: Add typedef refresh_fn.
2002-11-14 06:41:04 +00:00
Pavel Roskin
d4ddbe5148 * cmd.c (menu_edit_cmd): Make static, provide separate functions
without arguments to access it.
* menu.h: Make callfn function without arguments - we are not
using any arguments now.
2002-11-14 06:30:16 +00:00
Pavel Roskin
389ed511de * editmenu.c (edit_user_menu_cmd): Move to ../src/cmd.c. 2002-11-14 06:25:46 +00:00
Pavel Roskin
c6e56452ea * exit.c (edit_delete_line): Don't remove and restore the
preceding newline.  Don't treat binary zero as newline.
From Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
2002-11-14 05:17:56 +00:00
Pavel Roskin
895c9468c3 * man2hlp.c (persistent_fread): Return error for len <= 0.
(persistent_fwrite): Likewise.
(main): Check the result of the second ftell().
2002-11-13 17:38:33 +00:00
Pavel Roskin
4af124c573 Include edit.h. 2002-11-13 09:30:57 +00:00
Pavel Roskin
e1dc782744 * cmd.h: Fully exclude WPanel from public interfaces of cmd.c.
* cmd.c: All commands operate on current panels.
(get_a_panel): Remove.
* screen.c: Change to use new functions.
2002-11-13 09:27:42 +00:00
Pavel Roskin
85075934f1 * main.h: Don't check if panel.h was included. Use forward
declaration of WPanel, change prototypes to use struct WPanel.
(midnight_callback): Make static.
2002-11-13 08:32:49 +00:00
Pavel Roskin
1b017c668f * cmd.c (do_view_cmd): Don't take WPanel argument - always use
the current panel.
(view_cmd): Likewise.
(view_file_cmd): Likewise.
(view_simple_cmd): Likewise.
(filtered_view_cmd): Likewise.
(filtered_view_cmd_cpanel): Remove.
(view_panel_cmd): Likewise.
2002-11-13 08:21:45 +00:00
Andrew V. Samoilov
8ce50e28d7 Remove SMBLOGFILE, NMBLOGFILE and MANDIR 2002-11-13 07:25:46 +00:00
Pavel Roskin
e741be7a5d * *.c: Fix all global functions without declarations - declare,
make static or remove.
2002-11-13 04:32:00 +00:00
Pavel Roskin
b3ae19dd7d * chmod.c (init_chmod): Make static.
* help.c (quit_cmd): Rename to help_quit_cmd().
(show): Rename to help_show().
* main.c (quit_cmd): Make static.  Return void, not int.
(sort_cmd): Make static.
2002-11-13 04:01:04 +00:00
Pavel Roskin
70ec6bbd26 Remove fish_which(). 2002-11-13 04:00:28 +00:00
Pavel Roskin
15f131afc9 * fish.c (fish_which): Make static. 2002-11-13 03:54:24 +00:00
Pavel Roskin
66f451aac7 * dlg.c (send_message_to): Remove, use send_message() instead.
(send_message): Make inline, remove Dlg_head argument.  Change
all callers.
2002-11-13 02:56:40 +00:00
Pavel Roskin
bc70c8cc1e * dlg.h: Remove Dlg_head argument from callback_fn - it's
excessive and can be trivially derived from the widget.
(default_proc): Remove Dlg_head argument.  Change all callers.
2002-11-13 02:27:35 +00:00
Pavel Roskin
31f491b01e * dlg.h: Remove Dlg_head argument from callback_fn - it's
excessive and can be trivially derived from the widget.
(default_proc): Remove Dlg_head argument.  Change all callers.
* widget.c (listbox_draw): Remove Dlg_head argument.
2002-11-13 02:27:00 +00:00
Pavel Roskin
47ab84d950 * syntax.c (syntax_change_callback): Remove, it's unused.
(edit_set_syntax_change_callback): Likewise.
2002-11-13 02:13:37 +00:00
Pavel Roskin
2b9d151923 * edit.c (edit_execute_cmd): Fool gcc to prevent Y2K warning. 2002-11-13 02:05:01 +00:00
Pavel Roskin
e3bc0b2b86 * dlg.h: Define dlg_cb_fn - dialog callback function. Improve
typedefs for callbacks and use them everywhere.  Clean up some
unused defines.
* dlg.c: Adjust declarations for match.
2002-11-13 01:30:37 +00:00
Pavel Roskin
11913b36a2 * wtools.h: Eliminate the_widget filed in QuickWidget.
* wtools.c (quick_callback): Allocate widget table dynamically.
2002-11-13 00:20:15 +00:00
Pavel Roskin
0106eebda6 * editwidget.c (edit_adjust_size): Use find_buttonbar(). 2002-11-12 23:35:25 +00:00