Commit Graph

5622 Commits

Author SHA1 Message Date
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
Pavel Roskin
10fb3f22f6 * extfs/audio.in: Further portability fixes. Use current date
for timestamps.
Partly from Andrew V. Samoilov <sav@bcs.zp.ua>
2003-08-08 22:07:16 +00:00
Pavel Roskin
0a0ac18aae * extfs/audio.in: Fix non-POSIX constructs.
From GoTaR <gotar@poczta.onet.pl>
2003-08-08 07:58:09 +00:00
Pavel Roskin
b60bc8223c Update from Andrew V. Samoilov <andrew@email.zp.ua> 2003-08-05 15:59:33 +00:00
Pavel Roskin
8c4a0aa3c0 * lib/cedit.menu: Avoid using "id -u", it doesn't work on
Solaris.  From Andrew V. Samoilov <andrew@email.zp.ua>
2003-08-02 23:01:51 +00:00
Pavel Roskin
5864284071 ftpfs defaults to anonymous login, not to user login name.
From Andrew V. Samoilov <andrew@email.zp.ua>
2003-08-02 22:45:09 +00:00
Pavel Roskin
ef2c07b7c8 * main.c: Rename PanelMenu to LeftMenu. Don't assume that
LeftMenu and RightMenu are identical.
From Pavel Tsekov <ptsekov@gmx.net>
2003-08-01 20:00:28 +00:00
Pavel Roskin
90b7cbf2ea Done:
Changing directory while in the editor shouldn't affect the path where
the editor saves its files.
2003-07-31 16:38:39 +00:00
Pavel Roskin
cf9acd036e * edit-widget.h: Resurrect "dir" field in WEdit to store
directory for relative filenames.

* edit.c (edit_clean): Release edit->dir.

* editcmd.c (edit_save_file): Use absolute filename.
Temporarily disable safe save and backups on remote VFS because
it doesn't work - again.
2003-07-31 16:38:07 +00:00
Pavel Roskin
81d396da33 Remove useless initialization. 2003-07-31 16:32:30 +00:00
Pavel Roskin
6867850154 Add:
Make the internal editor reentrant.  Add "edit menu file" to the editor
menu.
2003-07-31 16:27:44 +00:00
Pavel Roskin
c7456a4e5d Images on VFS - better description. 2003-07-28 18:34:35 +00:00
Pavel Roskin
efe37f49e7 Document --enable-charset 2003-07-28 18:28:50 +00:00
Pavel Roskin
e25db8514a * ftpfs.c (login_server): Undo last change. 2003-07-28 16:17:30 +00:00
Pavel Roskin
a1ce20517c * main.c: Make more variables static. 2003-07-28 16:11:44 +00:00
Pavel Roskin
58572c60da * edit.c (edit_execute_cmd): Enable user menu in mcedit. 2003-07-25 18:52:28 +00:00
Pavel Roskin
c0501a8ea4 Replace ",,," with "..." 2003-07-24 21:59:45 +00:00
Pavel Roskin
1f53b0d36b Add Lithuanian translation. 2003-07-24 21:53:38 +00:00
Pavel Roskin
7f5fbac2e2 Use own private directory for making RPM package. 2003-07-23 16:24:57 +00:00
Pavel Roskin
5efb620cb8 * ftpfs.c (login_server): Fix memory leak.
(linear_abort): Close dsock before reconnect().
(ftpfs_done): Release no_proxy list.
2003-07-23 16:19:33 +00:00
Pavel Roskin
6ec35d7ceb Try /usr/src/rpm before /usr/src/redhat 2003-07-23 06:41:31 +00:00
Pavel Roskin
ff9c544b88 * lib/mc.lib: Add more "end" and "home" sequences for xterm. 2003-07-23 05:48:55 +00:00
Pavel Roskin
d388773779 * key.c (xterm_key_defines): Add more sequences for xterm-179 by
Thomas E. Dickey.
2003-07-23 05:44:25 +00:00