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
Pavel Roskin
14046e7f7f
Files used for maintenance.
2002-09-07 01:00:52 +00:00
Pavel Roskin
7d723361b2
* subshell.c (subshell_name_quote): Return NULL if we are out of
...
memory. Use "echo -e" with zsh (Debian bug #150996 ).
(do_subshell_chdir): Be prepared to get NULL from
subshell_name_quote().
2002-09-07 00:27:53 +00:00
Pavel Roskin
53982cb546
* profile.c: Remove unused code. Eliminate global variables.
...
(is_loaded): Rename to find_loaded(). return matching profile.
Adjust all dependencies.
2002-09-06 20:25:15 +00:00
Pavel Roskin
ca90bd204f
* fs.h: Only redefine S_IS* macros if they are undefined, and
...
then define them to 0. S_IF* constants should be avoided.
* util.c : Whenever possible, use standard POSIX macros to test
for the file type.
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2002-09-06 19:23:45 +00:00
Pavel Roskin
04c7da6358
* direntry.c [!USE_NETCODE]: Disable functions used in networked
...
filesystems only.
2002-09-06 01:34:12 +00:00
Pavel Roskin
ff8cf87949
* cmd.c (nice_cd): Fix conditions when this function is
...
compiled.
2002-09-06 01:30:50 +00:00
Pavel Roskin
3697034770
* vfs.c (vfs_init) [!USE_NETCODE]: Don't register fish.
2002-09-06 01:27:45 +00:00
Pavel Roskin
3b1339707a
* configure.in: Fix USE_VFS_NET conditional. Don't substitute
...
NETFILES - it's unused.
2002-09-06 01:19:02 +00:00
Pavel Roskin
3c7cc35025
* ftpfs.c: Check for existance of arpa/inet.h when using it.
...
* mcfs.c: Likewise.
* mcserv.c: Likewise.
* tcputil.c: Likewise.
* utilvfs.c: Likewise.
2002-09-06 01:02:25 +00:00
Pavel Roskin
35908dbd71
* configure.in: Check for arpa/inet.h.
2002-09-06 00:58:28 +00:00
Pavel Roskin
a36e7b7fad
* fs.h: Replace S_IFFIFO with S_IFIFO, which is the right name.
2002-09-06 00:52:35 +00:00
Pavel Roskin
5e9c0314a2
* fs.h: Correct S_IS* definitions to use S_IFMT. Add fallback
...
definitions for S_IFDOOR and S_ISDOOR.
* screen.c (string_file_type): Remove unnesessary ifdefs, fs.h
takes care of it.
(file_compute_color): Add support for Solaris doors.
* util.c (string_perm): Remove unnesessary ifdef.
2002-09-06 00:47:46 +00:00
Pavel Roskin
d520b9f76f
* man2hlp.c (handle_command): Make clear that unsupported
...
command is a warning, not an error. Avoid unsafe strcat().
2002-09-05 20:47:12 +00:00
Pavel Roskin
cac0accb55
* view.c (view_mode_callback): Eliminate, use the default
...
callback.
2002-09-05 19:16:18 +00:00
Pavel Roskin
56bbc6abf4
Fix stray dots.
2002-09-05 18:29:26 +00:00
Pavel Roskin
87da6b9f42
* main.c (load_hint): Don't hardcode copyright years. Use a
...
translated message.
2002-09-05 16:36:43 +00:00
Pavel Roskin
01e2780615
* main.c (midnight_callback): Avoid calling the default DLG_DRAW
...
handler. From David Martin <dmartina@excite.com>
2002-09-05 06:59:17 +00:00
Pavel Roskin
63a2d3dceb
Compile fix.
2002-09-05 06:55:50 +00:00
Pavel Roskin
e3d2468200
Update from David Martin <dmartina@excite.com>
2002-09-05 06:53:43 +00:00
Pavel Roskin
b248f6bb32
* help.c (help_handle_key): Sanity check for broken help files.
...
From David Martin <dmartina@excite.com>
2002-09-05 06:51:46 +00:00
Pavel Roskin
ed9d61551d
* mcfn_install: Remove. Also remove all references to it.
...
* INSTALL.FAST: Update information about ncurses.
From Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
2002-09-05 06:14:07 +00:00
Pavel Roskin
529cba289f
* acinclude.m4 (AC_USE_TERMCAP): Add -ltermcap to MCLIBS, not LIBS.
...
* configure.in: Eliminate MCCFLAGS, use CPPFLAGS instead. Add
"-L" options to LDFLAGS, not to LIBS or MCLIBS - this should fix
test for ncurses in non-standard directories.
2002-09-05 05:43:10 +00:00
Pavel Roskin
110af08b0b
* lib/mc.ext.in: Remove edit rules for compressed files that
...
were compressing even unchanged files - the editor itself can
handle compression better.
2002-09-04 19:01:13 +00:00
Pavel Roskin
b5265f8da5
* edit.c (edit_filters): Use gzip, not compress for *.Z files
...
for consistency with other parts of the code (viewer, mc.ext).
2002-09-04 18:57:14 +00:00
Andrew V. Samoilov
12d62c868d
Replace copy_strings() with g_strconcat()
2002-09-04 07:06:01 +00:00
Pavel Roskin
206fdf6f1d
* global.h: Eliminate xgetch, update all dependencies.
2002-09-03 22:23:27 +00:00
Pavel Roskin
a62567eed9
Update indent command line.
...
Document getch(), not xgetch().
2002-09-03 22:22:01 +00:00
Pavel Roskin
556f733f12
* boxes.c: Fix remaining old-style calls to create_dlg().
...
* complete.c: Likewise.
* main.c: Likewise.
* view.c: Likewise.
2002-09-03 20:19:22 +00:00
Pavel Roskin
67c6e3e64d
Minor formatting fix.
2002-09-03 20:11:03 +00:00
Pavel Roskin
97148e3e55
Reuse the same title "Find File". Reformat most ugly code.
2002-09-03 20:04:54 +00:00