Pavel Roskin
1ddcc8951c
* configure.in: Add check for iconv() and the necessary code
...
to support the charset selection patch.
2001-05-31 00:53:06 +00:00
Andrew V. Samoilov
daa8e84176
(key_pending) [!GTK]: Warning fix.
2001-05-31 00:43:04 +00:00
Pavel Roskin
cd8d6460bd
* editdraw.c (edit_render) [GTK]: Revert previous patch, it
...
broke compilation.
2001-05-31 00:06:22 +00:00
Andrew V. Samoilov
b5210e40f6
* editdraw.c (edit_status): Use strcpy (s, ) instead of
...
sprintf (s, "%s", ).
(set_color) [MIDNIGHT]: Became a macro.
(render_edit_text) [!defined(MIDNIGHT) && !defined(GTK)]: Warning fix.
(edit_render) [GTK]: Eliminate win variable.
2001-05-30 23:32:41 +00:00
Pavel Roskin
6c7bd41428
* editdraw.c (status_string): Use is_printable(). Declare
...
static. Eliminate intermediate buffer. Use memset() for filling.
Print byte as unsigned. Use C notation for hex numbers.
2001-05-30 17:18:28 +00:00
Pavel Roskin
c9b27ea6eb
* editdraw.c (status_string): Don't print non-printable chars.
...
Better formatting. Print "<EOF>" at the end of file instead of
-1. Use snprintf instead of sprintf.
2001-05-30 15:48:26 +00:00
Pavel Roskin
540cccc4d6
* layout.c (init_curses) [!HAVE_SLANG]: Set ESCDELAY to 0 if
...
possible to prevent ncurses from waiting after escape.
2001-05-30 15:05:07 +00:00
Pavel Roskin
2990245111
* configure.in: Add check for ESCDELAY variable in ncurses.
2001-05-30 15:01:12 +00:00
Andrew V. Samoilov
733c2dd05e
* syntax.c (open_include_file) [MIDNIGHT]: Don't hardcode location
...
of syntax file(s) with LIBDIR, use mc_home instead.
From Ludovic Drolez <ludovic.drolez@freealter.com>.
(syntax_text): Use perl.syntax to highlight perl modules (.pm).
2001-05-30 12:35:16 +00:00
Andrew V. Samoilov
f52cfa5607
2001-05-30 Ludovic Drolez <ludovic.drolez@freealter.com>
...
* sfs.c (sfs_init): Don't hardcode location of sfs.ini,
use mc_home to make mc relocatable.
2001-05-30 12:05:50 +00:00
Pavel Roskin
823c83aa9e
* Makefile.in: Don't use boxes.o.
2001-05-30 00:18:10 +00:00
Pavel Roskin
17724b4004
* cmd.c (quick_cd_cmd) [HAVE_GNOME]: Disable.
...
* main.c (sort_cmd) [HAVE_GNOME]: Likewise.
(ctl_x_map) [HAVE_GNOME]: Disable "Ctrl-x j" - background jobs.
2001-05-30 00:16:19 +00:00
Pavel Roskin
6b317d088e
* extraconf.h [!USE_VFS]: Undefine USE_NETCODE and
...
USE_EXT2FSLIB.
2001-05-29 23:43:05 +00:00
Pavel Roskin
4c7a7f7132
* gcmd.c (gnome_listing_cmd): Remove, it unused.
...
(gnome_compare_panels): Likewise.
2001-05-29 22:50:59 +00:00
Pavel Roskin
146730a630
* extraconf.h: Remove unused HAS_DIRECT_COLOR_ACCESS.
...
* pc/config.h: Likewise.
2001-05-29 22:12:00 +00:00
Pavel Roskin
6c24b699cd
* color.c (init_colors) [HAVE_SLANG]: Use "default" instead of
...
NULL as color names - this works even if COLORFGBG is unset.
Don't check HAS_DIRECT_COLOR_ACCESS - it's now meaningless.
2001-05-29 22:02:16 +00:00
Pavel Roskin
d9713d6233
* lib/mc.ext.in: For MS Word documents try "catdoc", "word2x"
...
and "strings". Recognize "write" files and MS Word templates.
For MS Excel documents try "xls2csv" and "strings".
Escape spaces in the "type" directives.
From Nerijus Baliunas.
2001-05-29 20:40:59 +00:00
Pavel Roskin
a0f3445a02
* color.h: Define DEFAULT_COLOR_INDEX and DEFAULT_COLOR in the
...
same way regardless of HAVE_SLANG.
* color.c (init_colors) [USE_NCURSES]: Initialize the default
color pair.
2001-05-29 17:02:28 +00:00
Kjartan Maraas
3067d6ae57
2001-05-29 Kjartan Maraas <kmaraas@gnome.org>
...
* no.po: Updated Norwegian translation.
2001-05-29 10:03:57 +00:00
Pavel Roskin
813a5b6d27
* Makefile.in: Don't use subshell.o.
2001-05-29 07:33:50 +00:00
Pavel Roskin
826a5594ac
* subshell.c (pty_open_master) [!HAVE_SCO && HAVE_GRANTPT]:
...
Don't try to close a file that wasn't opened.
2001-05-29 07:30:00 +00:00
Pavel Roskin
35e16ef9b0
* Make.common.in: Add -I$(top_srcdir) to XCPPFLAGS.
2001-05-29 06:14:50 +00:00
Pavel Roskin
b6b54a53b2
* Make.common.in: Remove hpath, it's unused.
2001-05-29 05:52:34 +00:00
Pavel Roskin
fdf8c736e5
* xslint.c: Remove slang_init() and FIXME in the comment.
...
* main.c (main) [!HAVE_SLANG]: Don't call slang_init().
2001-05-29 05:09:43 +00:00
Pavel Roskin
d888c7233e
* acconfig.h: Move constant parts ...
...
* extraconf.h: ... here.
[HAVE_X]: Disable subshell, s-lang and curses.
* Makefile.am: Add extraconf.h.
2001-05-29 05:04:58 +00:00
Pavel Roskin
8f851eea17
* acconfig.h: Remove some useless entries. Eliminate OLD_TOOLS
...
and SLANG_H_INSIDE_SLANG_DIR. Move some descriptions ...
* configure.in: ... here.
2001-05-29 03:00:02 +00:00
Pavel Roskin
32f83d4899
* myslang.h: Use HAVE_SLANG_SLANG_H instead of non-standard
...
SLANG_H_INSIDE_SLANG_DIR.
2001-05-29 01:34:27 +00:00
Pavel Roskin
c1d8bfc818
* xslint.c: Remove unused functions.
2001-05-28 20:16:12 +00:00
Pavel Roskin
c2d9b832e9
* color.c (init_colors) [HAVE_SLANG]: Use SLtt_set_color() to
...
associate the default colors with DEFAULT_COLOR_INDEX. The old
code would unset alternative charset without making S-Lang aware
of it.
Thanks to John E. Davis <davis@space.mit.edu>
* widget.c (update_input) [HAVE_SLANG]: Revert last change - it
is not needed now.
2001-05-28 19:38:47 +00:00
Andrew V. Samoilov
6eda540762
'* src/main.c: Correct some comments after #endif
...
(shell): Remove comment and #ifdef around shell variable.
(process_args) [HAVE_SUBSHELL_SUPPORT]: All related args enclosed
between one #ifdef ... #endif pair.
(process_args): smbfs_set_debug () takes a debug level as argument,
commented out.
* vfs/sfs.c (shell): Variable moved to ...
* vfs/util-alone.c (shell): ... here'
2001-05-28 14:19:34 +00:00
Pavel Roskin
af11550b22
* main.c (OS_Setup) [!HAVE_X]: Exit immediately if TERM
...
environment variable is unset or empty.
2001-05-27 15:33:46 +00:00
Pavel Roskin
926aa5ac6b
* fish.c: Redirect stderr of all commands to /dev/null.
2001-05-27 06:46:34 +00:00
Pavel Roskin
bfa6fb6d12
* configure.in: Remove unused HAVE_PORTABLE_TOKEN_PASTING.
...
* acconfig.h: Likewise.
* src/layout.c: Likewise.
2001-05-27 06:19:21 +00:00
Pavel Roskin
d2134469e8
* Make.common.in: Remove all percent rules.
...
* acinclude.m4 (AC_PROG_GNU_MAKE): Remove.
* configure.in: Remove AC_PROG_GNU_MAKE. Don't substitute
PCENTRULE. Remove AC_PROG_MAKE_SET - it's called by
AM_INIT_AUTOMAKE.
2001-05-27 05:53:50 +00:00
Pavel Roskin
b0593ec1e2
* Make.common.in: Remove obsolete dependency tracking system.
...
* configure.in: Likewise.
* edit/Makefile.in: Likewise.
* gnome/Makefile.in: Likewise.
* gtkedit/Makefile.in: Likewise.
* slang/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* vfs/Make-mc.in: Likewise.
* src/depend.awk: Remove.
2001-05-27 04:34:12 +00:00
Pavel Roskin
59d332e0d9
* gtkedit/syntax.c (syntax_text): Add support for Octave files.
...
* syntax/octave.syntax: New file. From Walery Studennikov.
* syntax/Makefile.am: Add octave.syntax.
2001-05-26 22:40:09 +00:00
Pavel Roskin
0152dda957
* configure.in: Fix incorrect test for stdin support in grep -
...
it would always fail when configuring in an empty directory.
Portability fixes - unset, backslashed space in here-documents.
Eliminate all instances of "changeqoute".
2001-05-26 21:30:08 +00:00
Pavel Roskin
f71979d546
* configure.in: Define SCO_FLAVOR based on $host_os, not on the
...
user choice.
* acconfig.h: Changes for the above.
* INSTALL: Don't document --with-sco - it's now defunct.
* INSTALL.FAST: Likewise.
2001-05-26 20:36:24 +00:00
Pavel Roskin
706fa671b0
* ru.po: Update. Fix all fuzzy translations.
2001-05-26 05:53:13 +00:00
Pavel Roskin
5e2ab7978a
* glayout.c (gnome_panel_layout_menu): Status bar messages for
...
"Sort By" and "Filter View" were incorrect.
2001-05-26 05:41:21 +00:00
Pavel Roskin
fe7780ab1d
* sfs.c (vfs_sfs_ops): Typo fix.
2001-05-26 05:11:17 +00:00
Pavel Roskin
2a6c911579
* cmd.c: Clean up useless preprocessor directives.
...
(symlink_cmd): Warning fix.
* dlg.c (dialog_handle_key) [HAVE_X]: Disable suspend on Ctrl-z.
* main.c (do_suspend_cmd) [HAVE_GNOME]: Remove.
(suspend_cmd) [HAVE_GNOME]: Likewise.
2001-05-26 02:00:52 +00:00
Pavel Roskin
b5a22403b0
* gmain.c: Add option not to show the root warning again.
...
From Ximian patches.
2001-05-26 00:59:45 +00:00
Pavel Roskin
cb5848496d
* lib/mc.ext.in: Match both "mail" and "Mail", but only if they
...
are in the beginning of the "file" output.
2001-05-26 00:00:49 +00:00
Pavel Roskin
1950f6c0af
* gmain.c: Include libgnomeui/gnome-window-icon.h if needed.
...
(gnome_check_super_user): Better warning for root. From Ximian.
(idle_destroy_panel): Remove.
2001-05-25 23:30:20 +00:00
Pavel Roskin
7795719eef
Change groups. Don't include locale directories. More config files.
2001-05-25 22:33:20 +00:00
Pavel Roskin
721c15ab10
* widget.c (update_input) [HAVE_SLANG]: Work around a bug in
...
SLang 1.x - set charset to alternative when printing spaces.
2001-05-25 01:49:18 +00:00
Christian Meyer
a60c84eff6
Updated de.po
2001-05-24 21:19:09 +00:00
Pavel Roskin
b50136248a
* lib/mc.ext.in: Add associations for viewing RPM files.
2001-05-23 18:57:25 +00:00
Jacob Berkman
b9d7ef9819
2001-05-23 jacob berkman <jacob@ximian.com>
...
* mc.keys.in.in: fix missing trailing @ in audio/x-xi entry
2001-05-23 18:03:21 +00:00