Commit Graph

4329 Commits

Author SHA1 Message Date
Pavel Roskin
05af9f14c7 * main.c: Fully remove obsolete "-m" option. 2002-09-13 06:42:03 +00:00
Pavel Roskin
99a5d433f0 * configure.in: Simplify processing of without-edit. Replace
several variables with use_edit.
* acinclude.m4: Remove AC_WITH_EDIT.
2002-09-13 06:39:06 +00:00
Pavel Roskin
8578a75476 * acinclude.m4: Replace smbfs and SAMBAFILES variables with
use_smbfs.
* configure.in: Likewise.
* INSTALL: Document --with-samba.
2002-09-13 06:21:54 +00:00
Pavel Roskin
f17e11bc9f * configure.in: Roll --enable-mcserv-install into ...
* acinclude.m4: ... --with-mcfs.  Adjust makefiles.
* INSTALL: Document --with-mcfs.
2002-09-13 06:01:41 +00:00
Pavel Roskin
11861f090b * configure.in: Don't check if crypt() prototype is needed to
avoid warnings - the whole code is not worth avoiding one
legitimate warning.
* acinclude.m4: Remove AC_TRY_WARNINGS.
2002-09-12 22:27:52 +00:00
Pavel Roskin
30cc264176 * mcserv.c: Declare crypt if crypt.h is missing and we are not
using PAM.
2002-09-12 22:24:09 +00:00
Pavel Roskin
a6d9b40969 Comment fixes. 2002-09-12 21:55:47 +00:00
Pavel Roskin
70b9c3783b * configure.in: ALL_LINGUAS should be defined unconditionally. 2002-09-12 21:40:50 +00:00
Pavel Roskin
bc77fff113 * acinclude.m4: Clarify some help texts, add defaults in square
brackets, use more consistent spacing.
* configure.in: Likewise.
2002-09-12 21:03:04 +00:00
Pavel Roskin
0e0dc9d33a * lib/mc.menu: Don't call tarballs "releases". Don't
dereference symlinks.
2002-09-12 19:21:13 +00:00
Marco Ciampa
5e962ffbf0 small typo 2002-09-12 18:22:38 +00:00
Marco Ciampa
2c3effed0c *** empty log message *** 2002-09-12 18:17:24 +00:00
Andrew V. Samoilov
c772e84710 * loadparm.c (lp_smbrun): Removed 2002-09-12 14:28:21 +00:00
Marco Ciampa
d12aa32304 *** empty log message *** 2002-09-12 11:21:48 +00:00
Marco Ciampa
6a823fa8b5 *** empty log message *** 2002-09-12 07:12:33 +00:00
Andrew V. Samoilov
14c3f90d2f * smbfs.c (statfile_helper): Merge with loaddir_helper().
(get_remote_stat): Use loaddir_helper().  Care about
single_entry instead of eliminated statfile_helper().
2002-09-12 06:25:21 +00:00
Marco Ciampa
39fb489652 added debug smbfs message 2002-09-12 06:23:01 +00:00
Andrew V. Samoilov
8e1af10110 * samba/libsmb/clientgen.c (cli_NetServerEnum): Add void*
parameter to (*fn)() and void *state parameter.
(cli_list): Likewise.
(cli_RNetShareEnum): Likewise.  Return int.
* samba/include/proto.h: Adjust declarations.
* smbfs.c: Adjust all helpers and dependencies.
From Samba patchsets.
2002-09-11 16:43:41 +00:00
Pavel Roskin
8c0051403a mc now creates its own temporary directory, separate for each user. 2002-09-11 15:52:10 +00:00
Andrew V. Samoilov
1f06c11cc6 * smbfs.c (statfile_helper): Remove write permissions if file
has readonly attribute.  Add execute permissions for directory.
Reformat whole function.
2002-09-11 15:35:55 +00:00
Andrew V. Samoilov
996dd893b5 * smbfs.c (loaddir_helper): Remove write permissions if file
has readonly attribute.  Add execute permissions for directory.
Reformat whole function.
(server_browsing_helper): Add execute permissions.  Reformat.
(browsing_helper): Likewise.
2002-09-11 12:53:58 +00:00
Andrew V. Samoilov
9bf81e18d7 One more message 2002-09-11 11:48:48 +00:00
Marco Ciampa
9bc585d912 advancing in the translation... 2002-09-11 11:25:27 +00:00
Andrew V. Samoilov
b7cae0c6e2 * main.c [WITH_SMBFS]: Include ../vfs/smbfs.h.
(argument_table) [WITH_SMBFS]: Add -D, --debuglevel option for
smbfs debug level.
(process_args) [WITH_SMBFS]: Handle new -D option.
(print_mc_usage) [WITH_SMBFS]: Describe -D, --debuglevel option.
2002-09-11 10:05:24 +00:00
Pavel Roskin
30aed7cfc5 Update. 2002-09-11 08:13:23 +00:00
Marco Ciampa
7e311aba9e 3 fuzzy updated... 2002-09-11 05:50:26 +00:00
Pavel Roskin
547567ae47 * subshell.c: Move tcsh_fifo to the file scope. Use mc_tmpdir()
to calculate tcsh_fifo.
2002-09-11 05:23:18 +00:00
Pavel Roskin
485b40ac2a * utilunix.c (mc_tmpdir): New function that returns temporary
directory for mc.
* util.c (mc_mkstemps): Use mc_tmpdir().
* main.c (main): Call mc_tmpdir().
2002-09-11 04:58:24 +00:00
Pavel Roskin
83d0b9a9d6 Global replacement for two quasi-english strings from vfs/smbfs.c. 2002-09-11 04:06:25 +00:00
Pavel Roskin
ec1b1f9614 Globally replace OS2_NT and _OS_NT with WIN32_NATIVE. 2002-09-10 22:04:11 +00:00
Pavel Roskin
9c04fa4313 * vfs.h: Remove BROKEN_PATHS, it's unused. 2002-09-10 21:51:12 +00:00
Pavel Roskin
8568fc50d9 * Make-alone.am: Get rid of all standalone code, it has been
unmaintained for years.
2002-09-10 21:48:49 +00:00
Pavel Roskin
08440f7e8d * util.c (trim): Handle short strings even better - don't use
dots unless necessary.
2002-09-10 21:39:07 +00:00
Pavel Roskin
9af6bedb04 * main.c (load_prompt): Don't shorten the prompt if COLS is 8 or
less.
2002-09-10 21:18:11 +00:00
Pavel Roskin
1314fc2a07 * screen.c (show_dir): Don't call trim() with negative length.
* util.c (trim): Better handle short length.  Make sure that the
destination is always 0-terminated.
2002-09-10 19:58:33 +00:00
Marco Ciampa
d6575d196a *** empty log message *** 2002-09-10 11:47:55 +00:00
Marco Ciampa
b05f081397 trimming 2002-09-10 07:54:22 +00:00
Marco Ciampa
9006f0d30e *** empty log message *** 2002-09-09 15:36:20 +00:00
Marco Ciampa
177d043827 advancing to complete the translation: file commands... 2002-09-09 11:51:15 +00:00
Andrew V. Samoilov
aec8a76263 * screen.c (string_file_name): Fix possible off-by-one
buffer overflow.
(string_file_size): Avoid unsafe strcpy().
(string_file_size_brief): Likewise.  Eliminate buffer array.
2002-09-09 07:28:38 +00:00
Marco Ciampa
0d1ef44182 Corrected a misdeleted row that created a crash on f1-f1 key pressing... 2002-09-08 21:25:20 +00:00
Pavel Roskin
6d8e2e73e1 * color.c: Move hascolors variable into init_colors(). Adjust
all dependencies.
2002-09-08 17:30:52 +00:00
Marco Ciampa
407198b50e *** empty log message *** 2002-09-08 17:15:58 +00:00
Pavel Roskin
a480b09b7c * myslang.h: Remove definition of initscr(), it's unused. 2002-09-08 16:49:41 +00:00
Pavel Roskin
ef9a43a7a3 * tty.h [!HAVE_SLANG]: Remove all slang_* definitions.
* main.c (main) [!HAVE_SLANG]: Don't call slang_shutdown().
* myslang.h: Remove slang_done_screen(), it's unused.
2002-09-08 16:22:54 +00:00
Pavel Roskin
5d2757fb8d * key.c (get_event): Check gpm_fd only if gpm is actually used.
* layout.c (done_screen): Move disable_mouse() call ...
* main.c (done_mc): ... here.
2002-09-08 15:50:02 +00:00
Pavel Roskin
d2c8d076f9 * view.c (init_growing_view): Avoid reporting the same error
twice.  Reported by Moritz Barsnick <moritz@barsnick.net>
2002-09-08 15:22:28 +00:00
Pavel Roskin
15098a5cd1 * configure.in: Eliminate --with-terminfo option, which was
essentially equivalent to --with-included-slang and didn't force
anything.
* acinclude.m4 (AC_USE_TERMINFO): Remove.
* INSTALL: Adjust to match.
* FAQ: Likewise.
2002-09-07 07:52:23 +00:00
Pavel Roskin
9deca156f0 * textconf.c: Don't use SLANG_TERMINFO, which is unused anywhere
else.  Assume that terminfo is used if USE_TERMCAP is undefined.
2002-09-07 07:36:59 +00:00
Pavel Roskin
4071f3da86 Short explanation of the purpose of this directory. 2002-09-07 01:02:57 +00:00