Commit Graph

4249 Commits

Author SHA1 Message Date
Pavel Roskin facfea1d40 * wtools.c: Remove Chooser, its unused. 2002-09-03 19:57:13 +00:00
Pavel Roskin 31e34e93b8 * editcmd.c: Recheck and fix all calls to create_dlg().
* editwidget.c: Likewise.
2002-09-03 19:37:40 +00:00
Pavel Roskin dce476e552 * dlg.c: Fix the case when the dialog has no title. 2002-09-03 19:19:23 +00:00
Pavel Roskin 0d7af2cdba * acinclude.m4: Remove Termnet support, it's too old and obscure
to be supported properly.
2002-09-03 17:58:26 +00:00
Pavel Roskin 2b41a2e4e2 One translatable message less. 2002-09-03 17:46:15 +00:00
Pavel Roskin 8355430596 * vfs.c (vfs_get_password): Use INPUT_PASSWORD to request a
password reliably.
2002-09-03 17:38:30 +00:00
Pavel Roskin 77791e773f * wtools.c (real_input_dialog_help): Use a more reliable way
to indicate password input.
2002-09-03 17:36:27 +00:00
Pavel Roskin f098afae04 * boxes.c (display_widgets) [!HAVE_CHARSET]: Fix initialization.
(vfs_smb_get_authinfo): Reuse another translated string.
2002-09-03 17:30:16 +00:00
Pavel Roskin 09df85b9b7 Reuse other translated strings. 2002-09-03 16:55:05 +00:00
Pavel Roskin d9c6403250 * wtools.h (QuickDialog): Eliminate the "class" field - it's not
used and it can clash with C++ code.  Adjust all dependencies.
2002-09-03 08:00:02 +00:00
Pavel Roskin 6c2eb32b70 * dlg.c (x_set_dialog_title): Completely eliminate. Adjust all
dependencies.
2002-09-03 07:42:36 +00:00
Pavel Roskin 00baa9f8fe * help.c (interactive_display): Fallback to node "[main]" if the
requested node cannot be found.
2002-09-03 07:22:23 +00:00
Pavel Roskin afae5939cd * help.c (help_index_cmd): Eliminate unneeded search for
"[Help]", which always fails.  Fix crash if "[Contents]" cannot
be found.  Reuse more generic error message.
2002-09-03 07:15:01 +00:00
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 2d93d274b5 * editcmd.c (edit_raw_key_query): Eliminate
x_set_dialog_title().
2002-09-02 19:53:36 +00:00
Pavel Roskin 82d2844bb0 * chmod.c: Eliminate x_set_dialog_title().
* drive.c: Likewise.
2002-09-02 19:29:33 +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
Andrew V. Samoilov 47f1a6a51b * smbfs.c (smbfs_close): Return -1 if cli->outbuf is NULL and
set my_errno to EINVAL - temporary fix.  Reformat function.
2002-09-02 10:54:22 +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 be3212ccf7 Remove empty nodes. 2002-09-02 02:10:37 +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
Pavel Roskin b7589ca9b2 Work around stray dot problem. 2002-09-02 00:54:29 +00:00
Pavel Roskin 9a5bacf175 * editcmd.c (edit_block_process_cmd): Restore third argument
(but make it /dev/null) for compatibility with old scripts.
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2002-09-01 23:20:37 +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 b88d5933a8 Use .\"NODE instead of ./"NODE 2002-09-01 10:58:24 +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 9363d3f2cc Updated 2002-09-01 09:23:05 +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
Andrew V. Samoilov 019c16b047 * samba/param/loadparm.c: Add global_scope variable.
(parm_table): Add netbios scope parameter.
* samba/lib/util.c: Remove scope variable.  Use global_scope instead.
* samba/libsmb/nmblib.c (make_nmb_name): Remove scope parameter and
use global_scope instead.
* samba/libsmb/namequery.c: Adjust make_nmb_name() calls.
* samba/include/proto.h: Adjust make_nmb_name() declaration.

From samba 2.0.7 patchset.

* samba/param/loadparm.c (lp_adduser_script): Commented out.
(lp_deluser_script): Likewise.
(lp_add_printer): Likewise.
(lp_add_one_printer): Likewise.
* samba/lib/util.c (reduce_name): Likewise.
(transfer_file): Likewise.

* smbfs.c (smbfs_do_connect): Adjust make_nmb_name() calls.
2002-09-01 06:51:24 +00:00
Andrew V. Samoilov cd9cb5c78f * doc/pl/mc.1.in: Remove trailing whitespace(s).
Fix cooledit file locations and replace tabs with spaces into .nf.
2002-08-31 17:51:40 +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
Andrew V. Samoilov 581cd941f9 Updated 2002-08-31 10:31:41 +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 d02a8d6473 * editwidget.c (edit): Avoid passing an uninitialized color
array to create_dlg() - pass NULL instead.
2002-08-31 04:33:40 +00:00