Pavel Roskin
13a02ef978
* dlg.h: Use new types for dialog callbacks.
...
(dlg_cb_fn): Swap msg and parm arguments for consistency with
widget callbacks. Adjust all dependencies.
2003-09-07 21:24:01 +00:00
Pavel Roskin
1ec8dad250
* dlg.h: Remove WIDGET_USER. Define new types dlg_msg_t,
...
widget_msg_t and cb_ret_t.
2003-09-07 19:28:44 +00:00
Pavel Roskin
38265d418d
* edit.h: Get rid of WIDGET_COMMAND, update all dependencies.
2003-09-07 19:08:07 +00:00
Pavel Roskin
1e0850ab07
* dlg.c (find_widget_type): Take pointer to void to avoid casts
...
everywhere. Adjust all callers.
2003-09-07 07:16:12 +00:00
Pavel Roskin
39968fa7af
* main.c (midnight_callback): Fix for the last commit - repaint
...
the panel if the search mode is unset.
2003-09-07 06:15:44 +00:00
Pavel Roskin
9a7b4212c6
* dlg.h: Remove DLG_PRE_EVENT, it's unused now.
2003-09-07 06:03:51 +00:00
Pavel Roskin
485bbcef9b
* main.c (make_panels_dirty): Remove, it's unneded now.
...
(midnight_callback): Don't call make_panels_dirty(). Mark
current panel dirty if the search mode is unset. No need to set
attibutes before calling show_console_contents().
2003-09-07 05:58:55 +00:00
Pavel Roskin
2a60f651e3
* dlg.h: Convert send_idle_msg field to a publicly visible flag
...
DLG_WANT_IDLE.
* main.c (midnight_callback): Move auto_menu handling to the
handler for DLG_IDLE.
(do_nc): Request idle events.
2003-09-07 05:39:51 +00:00
Pavel Roskin
80f4f3f55d
* dlg.c: Fix a bug when DLG_HOTKEY_HANDLED would not be
...
delivered if the current widget already has focus.
2003-09-07 02:46:06 +00:00
Pavel Roskin
2355c67ada
* lib/mc.menu: Add entry for viewing manual pages.
2003-09-04 17:05:33 +00:00
Pavel Roskin
6349237830
* user.c (execute_menu_command): Implement %view macro.
2003-09-04 17:02:21 +00:00
Pavel Roskin
c68d1ab16a
Fix incorrect commit. Run proto.h through uniq, not "sort -u".
2003-09-04 16:14:52 +00:00
Pavel Roskin
0e77501e9c
* samba/include/charset.h: Remove declaration already present in
...
proto.h.
* samba/include/proto.h: Run through uniq.
2003-09-03 19:21:41 +00:00
Pavel Roskin
9190dcbfa8
* wtools.c (create_listbox_window): Don't repaint the dialog
...
before it's run.
2003-09-03 05:19:08 +00:00
Pavel Roskin
058e91c2f5
* learn.c: Don't track button hotkeys.
...
(learn_check_key): Consume all alphanumeric keys, regardless of
button hotkeys.
2003-09-03 04:37:35 +00:00
Pavel Roskin
f0eeffd583
Trivial simplification from Andrew V. Samoilov <sav@bcs.zp.ua>
2003-09-02 22:38:15 +00:00
Pavel Roskin
ac1fd1d878
Remove unused variable stdout_fd.
2003-09-02 22:36:58 +00:00
Pavel Roskin
198e0035e4
* listmode.c: Create all buttons in one place. Remove unneeded
...
low-level drawing.
(listmode_edit): Return NULL on cancel.
* main.c (listmode_cmd): Actually use the result of
listmode_edit().
2003-09-01 09:03:30 +00:00
Pavel Roskin
3632b705de
* listmode.c: Use callbacks for Add and Remove buttons. Don't
...
run dialog in the loop, it doesn't work this way.
2003-09-01 08:18:54 +00:00
Pavel Roskin
c757bbeda1
* widget.h: Define type bcback for button callbacks.
2003-09-01 08:16:08 +00:00
Pavel Roskin
f8e00e7b6a
* widget.c (listbox_new): Remove "action" argument. Listboxes
...
without callbacks default to closing the dialog. Adjust all
users. This fixes double click on completion listbox.
* widget.h: Use uppercase names for the return values of the
listbox callback.
2003-09-01 07:31:56 +00:00
Pavel Roskin
ab427784c8
* hotlist.c (update_path_name): Avoid using global variable.
...
(l_call): Likewise.
2003-09-01 07:00:09 +00:00
Pavel Roskin
bd4a76ebb3
* widget.h: Eliminate listbox_cback. Call listbox callback
...
whenever it's defined. Adjust all users.
2003-09-01 05:58:38 +00:00
Pavel Roskin
58545e65c2
* widget.h: Use exact type in the listbox callback. Adjust all
...
legitimate users, remove all unused callbacks.
2003-09-01 05:43:20 +00:00
Pavel Roskin
339bd16e5e
* boxes.c: Fix GUI code for some non-default configurations.
...
* listmode.c: Likewise.
2003-09-01 05:10:49 +00:00
Pavel Roskin
2b9b18150e
* widget.h (button_new): Remove unused extra argument. Adjust
...
all dependencies.
2003-09-01 02:07:02 +00:00
Pavel Roskin
c27ebffa28
* option.c (check_options): Remove tk field.
...
* widget.c: Comment fix to get rid of references to Tk.
* wtools.c (real_input_dialog_help): Rename tk_name to histname.
Remove names from non-input widgets.
2003-09-01 01:34:17 +00:00
Pavel Roskin
fab6e8a493
* widget.h: Completely get rid of tkname. Rename it to histname
...
for the input widget. Adjust all dependencies.
2003-09-01 00:18:37 +00:00
Pavel Roskin
10f65ac83d
* dlg.h (struct Widget): Remove tkname field.
...
(init_widget): Remove tkname argument.
* widget.h (listbox_new): Likewise.
Adjust all dependencies.
2003-08-31 23:29:49 +00:00
Pavel Roskin
78ddb598a6
Actually remove samba/include/dlinklist.h
2003-08-30 07:28:34 +00:00
Pavel Roskin
31ed57778b
* samba/tests/summary.c: Remove. The test is now included ...
...
* samba/configure.in: ... here.
* samba/tests/README: Remove, it's irrelevant.
* samba/architecture.doc: Likewise.
* samba/include/dlinklist.h: Remove, it's unused. Adjust
dependencies.
* samba/libsmb/namequery.c (name_status): Remove, it's unused.
* Makefile.am: Remove unused Samba files.
2003-08-30 07:14:54 +00:00
Pavel Roskin
a64b930445
* samba/tests/summary.c: Remove. The test is now included ...
...
* samba/configure.in: ... here.
* samba/tests/README: Remove, it's irrelevant.
* samba/architecture.doc: Likewise.
* samba/include/dlinklist.h: Remove, it's unused. Adjust
dependencies.
* samba/libsmb/namequery.c (): Remove, it's unused.
* Makefile.am: Remove unused Samba files.
2003-08-30 07:14:54 +00:00
Pavel Roskin
c037f013a3
* samba/include/smb.h: Remove unneeded includes.
...
* samba/include/ntdomain.h: Remove, it's unused.
* samba/include/rpc*.h: Likewise.
* samba/lib/util_unistr.c: Remove unused code.
* samba/include/proto.h: Regenerate.
* Makefile.am: Remove unused Samba headers.
2003-08-30 06:29:39 +00:00
Pavel Roskin
3bff4a829d
* samba/lib/system.c: Remove all unused code.
...
* samba/include/proto.h: Remove some unused prototypes.
* samba/include/includes.h: Don't include sys/capability.h,
it's not needed.
* samba/configure.in: Remove tests for capabilities and groups,
which are unused now. Also remove the trivial test.
* Makefile.am: Remove unused Samba tests.
2003-08-29 23:40:37 +00:00
Pavel Roskin
94e14aacfb
* direntry.c (vfs_s_dump): Commented out.
...
* extfs.c (s_readlink): Fix return value and possible buffer
overflow.
* mcfs.c (mcfs_readlink): Fix return value.
* mcserv.c (do_readlink): Fix possible off-by-one.
(commands): Make const array and remove needless comma.
2003-08-29 22:48:25 +00:00
Pavel Roskin
8b3b8147d7
* cmd.c (edit_symlink_cmd): Fix possible off-by-one after
...
readlink().
* file.c (make_symlink): Likewise.
* main.c (copy_readlink): Likewise.
* screen.c (display_mini_info): Likewise.
(chdir_to_readlink): Likewise.
* util.c (resolve_symlinks): Likewise.
2003-08-29 22:45:04 +00:00
Pavel Roskin
ef9371e3fa
* ftpfs.c (initconn): Use more portable initialization.
...
* xdirentry.h: Use safer definition of ERRNOR.
2003-08-29 22:32:21 +00:00
David Martin
d1a227c55b
Rewrite FTPfs and VFS options sections.
2003-08-19 10:13:11 +00:00
Pavel Roskin
807db8eda2
* lib/mc-wrapper.csh.in: Use "id" command to find the real user
...
id. $USER is not reliable.
* lib/mc-wrapper.sh.in: Likewise.
Reported by Figura Peter <peterf@autus.sk>
2003-08-18 16:44:22 +00:00
Pavel Roskin
d521073663
Add missing include.
2003-08-18 05:20:52 +00:00
Pavel Roskin
780609f437
* extfs/uzip.in: Fix error in parsing size of files over 9999999
...
bytes long.
2003-08-18 05:17:25 +00:00
Pavel Roskin
65b52a3c89
Add:
...
Alt-O should optionally show the current directory and move cursor down
(as in older versions). Old functionality on files (go to "..") is not
needed.
2003-08-18 04:58:23 +00:00
Pavel Roskin
ff6aed1002
* acinclude.m4 (MC_WITH_NCURSES): Fix ESCDELAY check on Solaris.
...
Make sure that linking succeeds.
2003-08-18 04:53:56 +00:00
Pavel Roskin
3f4d7934b3
* cmd.c (delete_cmd_local): New function. Remove file under the
...
cursor, regardless of marks.
* screen.c (panel_keymap): Bind it to F18.
2003-08-18 04:45:54 +00:00
Pavel Roskin
df6365e737
* file.c (panel_operate_generate_prompt): Remove source
...
calculation, it doesn't belong here.
(panel_operate): Change arguments: drop ask_user and thedefault,
introduce force_single. force_single changes default to the
current file and ignores selection. Adjust all dependencies.
2003-08-18 04:35:28 +00:00
Pavel Roskin
4dd13a09ba
* dir.h (file_entry): Rename "buf" to "st". Adjust all
...
dependencies.
2003-08-18 00:47:43 +00:00
Pavel Roskin
c90321d4b4
Fix address.
2003-08-15 15:30:58 +00:00
Pavel Roskin
d1a01edcf0
Actualize. Remove obsolete questions. Fix formatting.
2003-08-15 15:26:48 +00:00
Marco Ciampa
a0001c6d57
Updated italian translation.
2003-08-12 08:24:53 +00:00
David Martin
4267680e52
Update.
2003-08-11 15:21:04 +00:00