Pavel Roskin
75666df0fe
* edit.h [!HAVE_SLANG]: Enable syntax highlighting.
...
* editdraw.c [!HAVE_SLANG]: Respect attributes for color pairs
by using MY_COLOR_PAIR macro.
2002-07-14 21:43:53 +00:00
Pavel Roskin
b0dfc1b672
* slint.c: Move functions for allocating color pairs ...
...
* color.c: ... here. Implement ncurses equivalents. Rename
init_pair() to mc_init_pair() and keep tack of max_index with
ncurses. Adjust all dependencies.
2002-07-14 21:41:12 +00:00
Pavel Roskin
6ffc6bde22
* mem.h: Clean up obsolete definitions, incorporate into ...
...
* global.h: ... this.
* Makefile.am: Remove mem.h.
2002-07-14 19:34:17 +00:00
Pavel Roskin
a23618b2ef
* edit.h (struct key_word): Remove unused "bg" field, rename
...
"fg" to "color", since it keeps all color information.
* syntax.c (edit_get_syntax_color): Replace "fg" and "bg"
arguments with a single argument "color".
Adjust all dependencies.
2002-07-14 17:56:47 +00:00
Pavel Roskin
5f771b594e
* fish.c (open_archive_int): Set remote locale to C, otherwise
...
timestamps cannot be parsed in some locales.
2002-07-14 16:27:15 +00:00
Pavel Roskin
bb989f677a
* editdraw.c (edit_draw_this_line): Fix setting MOD_ABNORMAL
...
attribute.
(print_to_widget): Fix displaying non-printable characters with
ncurses. Set color for every character even if syntax
highlighting is not compiled - it's needed to reset color after
non-printable characters.
2002-07-14 07:49:24 +00:00
Pavel Roskin
a2f136fdc3
s/ommited/omitted/
2002-07-14 06:36:07 +00:00
Pavel Roskin
4655fbbb6b
* editdraw.c (edit_status): Use EDITOR_NORMAL_COLOR instead of
...
NORMAL_COLOR.
* syntax.c (edit_get_syntax_color) [!HAVE_SYNTAXH]: Likewise.
2002-07-14 06:17:02 +00:00
Pavel Roskin
0ce1cd7354
* Makefile.am (AM_CPPFLAGS): Remove REGEX_MALLOC, it's now in
...
configure.in.
2002-07-13 19:11:03 +00:00
Pavel Roskin
81db2df680
* acinclude.m4 (AC_EXT2_UNDEL): Add ext2fs libraries to MC_LIBS,
...
not to LIBS.
* configure.in: Fix breakage in ncurses headers check from the
previous commit. Simplify other instances of AC_CHECK_HEADERS.
Define REGEX_MALLOC here.
2002-07-13 19:09:10 +00:00
Pavel Roskin
4f4e0c2d2e
* tty.h: Use standard autoconf defines to determine which
...
ncurses header to include. Eliminate RENAMED_NCURSES.
2002-07-13 05:13:07 +00:00
Pavel Roskin
05364f344b
* acinclude.m4 (AC_NCURSES): Remove.
...
* configure.in: Use AC_CHECK_HEADERS to find ncurses headers and
AC_CHECK_LIB to check existance of ncurses library. Eliminate
variables force_ncurses and search_ncurses.
2002-07-13 05:10:41 +00:00
Pavel Roskin
da27ec10cd
* fish.c (file_store): Reduce input block size to 256 bytes,
...
otherwise dd gets partial blocks.
2002-07-13 01:10:24 +00:00
Pavel Roskin
00700a9ce2
* ftpfs.c (login_server) [HSC_PROXY]: Fix crash.
2002-07-13 00:22:49 +00:00
Pavel Roskin
afd132617d
* ftpfs.c (ftp_split_url): Implement looking up password in
...
.netrc for known user.
2002-07-12 23:41:43 +00:00
Pavel Roskin
e88191dd7c
* ftpfs.c (ftp_split_url): Don't expect lookup_netrc() to always
...
return a username.
(netrc_has_incorrect_mode): Don't free anything, it can result
in freeing some variables twice.
(find_machine): New function to find matching "machine" or
"default" token.
(lookup_netrc): Eliminate external loop - scan for login and
password, but don't fallback to another string in case of
trouble.
2002-07-12 23:20:03 +00:00
Pavel Roskin
14bac1dda4
* ftpfs.c: Introduce enum keyword_t to improve readability.
...
(netrc_next): Fix return value for unknown keywords.
(lookup_netrc): Remove special processing of "*netrc*".
2002-07-12 20:00:03 +00:00
Pavel Roskin
1accbb4789
* ftpfs.c (ftp_split_url): Move protection against pass being
...
NULL ...
(lookup_netrc): ... here.
2002-07-12 17:39:01 +00:00
Pavel Roskin
4f52b831df
* xdirentry.h: Eliminate use_proxy field.
...
* ftpfs.c (open_archive_int): Use SUP.proxy instead of
SUP.use_proxy.
(open_archive): Set SUP.proxy to ftpfs_proxy_host.
* ftpfs.h: Eliminate unused structures.
2002-07-12 00:05:11 +00:00
Pavel Roskin
6ddf5f78ed
* vfs.h: Rename URL_DEFAULTANON to URL_ALLOW_ANON.
...
* utilvfs.c (vfs_split_url): Return NULL as username if
URL_ALLOW_ANON is set and no username is found in the URL,
otherwise use current name.
* ftpfs.c (ftp_split_url): New function - split URL and look up
username and password if needed.
(login_server): Use ftp_split_url().
(archive_same): Likewise.
2002-07-11 23:08:30 +00:00
Pavel Roskin
129df509f9
* utilunix.c: Cast argument for GUINT_TO_POINTER to int to fix
...
warnings on Cygwin.
2002-07-10 23:27:36 +00:00
Pavel Roskin
073e17a8d0
* subshell.c: ioctl() doesn't set errno - don't use perror() to
...
report failures. Use fprintf() instead, ignore errors from
TIOCSWINSZ.
(resize_tty): New function - code common for resize_subshell()
and init_subshell_child().
2002-07-10 22:49:08 +00:00
Pavel Roskin
ccf2496792
Mention Tcl, .netrc support.
2002-07-10 21:59:12 +00:00
Pavel Roskin
cf5046a920
* configure.in: Remove --with-netrc, it is now default and can
...
be disabled at the runtime.
2002-07-10 21:31:53 +00:00
Pavel Roskin
2acfb89cd4
* tcputil.h: Move use_netrc declaration ...
...
* vfs.h: ... here.
* ftpfs.c: Implement .netrc support unconditionally.
(lookup_netrc): Make static.
* utilvfs.c: Initialize default_is_netrc.
From Thomas Zajic <zlatko@gmx.at>
2002-07-10 21:26:55 +00:00
Pavel Roskin
200356c074
* global.h: Include vfs.h.
...
* boxes.c (configure_vfs): Ask whether .netrc should be used.
From Thomas Zajic <zlatko@gmx.at>
2002-07-10 21:20:49 +00:00
Pavel Roskin
1b5fdb4a33
* syntax/tcl.syntax: New file.
...
* syntax/Syntax: Add tcl.syntax.
* syntax/Makefile.am: Likewise.
* syntax/java.syntax: Don't treat #define separately from other
preprocessor directives.
* syntax/slang.syntax: Likewise.
* syntax/swig.syntax: Likewise.
2002-07-10 19:56:11 +00:00
Pavel Roskin
6f3a7c8029
* direntry.c (vfs_s_open): Don't pass O_LINEAR to open() -
...
this flag is for VFS only, and causes side effects in Cygwin.
* extfs.c (extfs_open): Likewise.
* sfs.c (sfs_open): Likewise.
Reported by Pavel Tsekov <ptsekov@gmx.net>
2002-07-10 17:56:27 +00:00
Pavel Roskin
3f02ae47e8
* syntax/c.syntax: Don't treat #define separately from other
...
preprocessor directives.
2002-07-09 16:51:15 +00:00
Pavel Roskin
dc0e4bf58a
* syntax/perl.syntax: Highlight text after __END__ as a comment.
...
* syntax/po.syntax: Avoid gray color, which is hard to see.
2002-07-08 21:25:42 +00:00
Pavel Roskin
2854f6aebe
* syntax/dos.syntax: Add more commands.
2002-07-05 16:18:14 +00:00
Pavel Roskin
99a8519d81
Remove space in pattern for dos.syntax entry.
2002-07-05 03:58:35 +00:00
Pavel Roskin
c0c1450514
* AUTHORS: Add Andrew V. Samoilov <kai@cmail.ru>, alphabetically
...
sort authors.
2002-07-04 14:23:32 +00:00
Pavel Roskin
8e19aa8793
Updates from Andrew V. Samoilov <kai@cmail.ru>
2002-07-04 14:19:49 +00:00
Pavel Roskin
74288460f5
* file.c (do_transform_source): Cast the argument to functions
...
for character classification to unsigned int.
* main.c (handle_args): Likewise.
* util.c (size_trunc_sep): Likewise.
(skip_numbers): Likewise.
2002-07-03 19:47:40 +00:00
Pavel Roskin
e385a9c9ab
* ftpfs.c (setup_passive): Cast arguments to isdigit() to
...
unsigned char for compatibility with non-GNU libc.
* tar.c (from_oct): Likewise with isspace().
Reported by Roland Illig <1illig@informatik.uni-hamburg.de>
2002-07-03 19:09:03 +00:00
Pavel Roskin
0c0a5ae270
* subshell.c (sigchld_handler): Remove subshell_pty from the
...
channel list if the subshell has died.
2002-07-03 16:35:42 +00:00
Pavel Roskin
a83d080370
* mad.[ch] [__GNUC__] (mad_strconcat): Use macro varargs.
...
(mad_strdup_printf): Likewise.
(mad_strdup_vprintf): Likewise.
* main.c [HAVE_MAD] (main): Release this_dir and other_dir.
2002-07-03 15:58:54 +00:00
Pavel Roskin
6ecbdd05ab
* extfs.c (extfs_fill_names): Generate filename#vfsname/dir
...
instead of #vfsname/filename/dir. Use PATH_SEP_STR.
2002-07-03 15:54:01 +00:00
Pavel Roskin
694468d9bb
* sfs.c (sfs_free): Fix memory leak.
...
(sfs_init): Use PATH_SEP_STR.
2002-07-03 15:27:36 +00:00
Pavel Roskin
58e2509096
Update from Andrew V. Samoilov <kai@cmail.ru>
2002-07-03 15:23:49 +00:00
Pavel Roskin
3738d4cee0
* cpio.c (cpio_open_cpio_file): Fix type initialization.
...
From Andrew V. Samoilov <kai@cmail.ru>
2002-07-03 13:10:01 +00:00
Pavel Roskin
3e17883b11
Don't require the same prefix for Perl.
2002-07-03 07:20:19 +00:00
Pavel Roskin
0d53373c8c
Add Perl to requirements.
2002-07-03 07:13:19 +00:00
Pavel Roskin
c221899378
Document for CVS hackers.
2002-07-03 07:10:22 +00:00
Marcel Telka
2817a7c095
2002-07-03 Marcel Telka <marcel@telka.sk>
...
* sk.po: Fixed and updated Slovak translation.
2002-07-03 06:48:53 +00:00
Pavel Roskin
bbbb6eb183
* main.c (stop_dialogs): New function to stop all dialogs.
...
(quit_cmd_internal): Use stop_dialogs() instead of stopping
midnight_dlg only. This fixes exit from the shell invoked from
the internal viewer or editor.
2002-07-03 06:19:40 +00:00
Pavel Roskin
90ae932bf6
* cmd.c (view_other_cmd): Shut down extra select channels before
...
switching to the shell. Restore them afterwards, but not if
quit was requested. Skip more code on quit.
2002-07-03 05:56:49 +00:00
Pavel Roskin
23ef3d3a9d
* Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
...
extfs. Remove parts that are now handled by samba/Makefile.
* samba/Makefile.in: Add more empty targets for Automake
compatibility.
2002-07-02 23:10:15 +00:00
Pavel Roskin
2752379086
* util.c: Eliminate get_small_endian_long() and CHECK macro.
2002-07-02 21:25:49 +00:00