Commit Graph

6648 Commits

Author SHA1 Message Date
Pavel Roskin
0074c885f2 * acinclude.m4 (MC_WITH_SLANG): Define HAVE_SYSTEM_SLANG after
all fallbacks so it shows whether we are using system S-Lang.
* configure.ac: Remove USE_INCLUDED_SLANG, since it's now fully
dependent on HAVE_SLANG and HAVE_SYSTEM_SLANG.
* src/myslang.h: Likewise.
2005-03-19 17:27:36 +00:00
Andrew V. Samoilov
bfc10386c3 * syntax/assembler.syntax: Add syntax file for the x86 assembler.
* syntax/povray.syntax: Add syntax file for the POVRay.
        * syntax/Syntax: Add syntax file for x86 assembler and POVRay.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-19 14:59:39 +00:00
Andrew V. Samoilov
eadb04b532 * syntax/assembler.syntax: Add syntax file for the x86 assembler.
* syntax/povray.syntax: Add syntax file for the POVRay.
        * syntax/Syntax: Add syntax file for x86 assembler and POVRay.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-18 10:26:35 +00:00
Pavel Roskin
9bdae2ff7c * screen.c (chdir_other_panel): Prevent changing current
directory.  Remove incorrect comment.
2005-03-17 22:40:11 +00:00
Pavel Roskin
bf653ed2a1 * achown.c (update_permissions): Partly revert recent changes
because they cause infinite recusion.
2005-03-17 22:03:31 +00:00
Pavel Roskin
b2999839e8 * editcmd.c (edit_replace_cmd): Restore correct behavior of
Shift-F4.
2005-03-17 21:18:23 +00:00
Roland Illig
14cf1c7673 * syntax/diff.syntax: Changed default color from gray, which was
quite unreadable, to a bright yellow.

	Patch by Leonard den Ottolander.
2005-03-14 00:12:27 +00:00
Roland Illig
d7c54f1fe3 * autogen.sh: Made the gettext version check more portable. The
actual sed command is unchanged.
2005-03-10 09:59:27 +00:00
Roland Illig
1af65894cc Fixed X11 connection problems. 2005-03-10 09:57:37 +00:00
Roland Illig
13a63f21c9 * x11conn.c: Separated X11 connection handling from key.c. Added
error handling for X11 errors and connection errors.
	* x11conn.h: The interface for x11conn.h.
	* key.c: Now using the x11conn code.
	* Makefile.am: Added x11conn.{h,c}.
2005-03-10 09:44:36 +00:00
Roland Illig
8a4f10f52f Added glib-1.2 testcase. 2005-02-27 22:08:21 +00:00
Miguel de Icaza
6b14153361 2005-02-26 Miguel de Icaza <miguel@novell.com>
* screen.c (chdir_other_panel): Restored original functionality.

	(sync_other_panel): This is now bound to the key Alt-i, and is the
	functionality that was lost.
2005-02-26 16:39:31 +00:00
Miguel de Icaza
49d8769122 Update manual 2005-02-26 16:38:59 +00:00
Roland Illig
f0f4721309 * unixcompat.h: Only include <sys/sysmacros.h> if we're on AIX,
as Solaris defines the macros twice---once in <sys/mkdev.h>,
	and once in <sys/sysmacros.h>.
2005-02-23 23:49:30 +00:00
Roland Illig
303cf1ff16 Removed backslashes in the test_* functions. Now we are using global
variables instead of "child-process-private" variables. The Solaris
/bin/sh did not accept the backslashed version.
2005-02-23 20:05:14 +00:00
Roland Illig
a89e9cce8b * tty.h: Moved the function printwstr to slint.c, because the
SunPro compiler does not eliminate unused inline functions.
	* slint.c: printwstr has been moved to here.
2005-02-23 19:55:06 +00:00
Roland Illig
476927920b * screen.c: Changed the return type of ilog10 to unsigned int
and adjusted some variables in format_device_number.
2005-02-23 19:37:43 +00:00
Roland Illig
64afc0126c Don't run the configure script when do_configure is set to "auto" and the
Makefile does already exist.
2005-02-23 17:27:25 +00:00
Roland Illig
ebcd6129c6 * fish.c: Declared one more parameter as unused. 2005-02-22 18:38:58 +00:00
Roland Illig
d7e7ec48dd * *.c: Declared unused variables with (void) to avoid the gcc
warnings.
	* extfs.c (extfs_get_path_mangle, extfs_get_path): Removed unused
	parameter.
	* ftpfs.c (ftpfs_netrc_bad_mode): Likewise.
	* vfs.c (mc_def_getlocalcopy): Likewise.
2005-02-22 18:35:22 +00:00
Roland Illig
c2d0ec2f5f * mc-test: Added a configuration variable to select the tests
which are run.
2005-02-22 17:02:34 +00:00
Roland Illig
ecc08f6c60 * edit.h: Removed unnecessary #include directives ...
* *.c: ... and added them here.
2005-02-22 17:00:36 +00:00
Roland Illig
d62267c199 * mc-test: When executing the "." command, always generate a
config file name containing a slash, as otherwise the config
	file would be searched in the $PATH.
2005-02-22 03:54:01 +00:00
Roland Illig
da66509191 * unixcompat.h: Added missing parenthesis to the minor() macro. 2005-02-22 03:47:01 +00:00
Roland Illig
54cccec688 * utilvfs.h: Removed unneeded #includes.
* *.c: Added the #includes that have been removed from utilvfs.h.
	* tcputil.c: Just removed the unneeded #include "utilvfs.h".
2005-02-19 16:36:38 +00:00
Roland Illig
9997fa69f8 * *.h: Renamed the multiple inclusion guards. 2005-02-18 21:15:37 +00:00
Roland Illig
6f4c5ac110 Added MAKE=${mc_make} to the configure arguments. 2005-02-18 19:26:11 +00:00
Roland Illig
2f08bc1c8f Added my own testsuite for the Midnight Commander. Unlike the existing
one, it does not need to have a clean working directory. Instead, it
fetches the source code from a CVS repository, autoconfigures it and
builds various versions of the Midnight Commander.
2005-02-17 22:47:08 +00:00
Roland Illig
ffc41c1faa * treestore.c (str_common): Added a comment that str_common shall
not be called with two equal strings.
2005-02-15 22:16:18 +00:00
Andrew V. Samoilov
b75b3a042a amba/lib/util_str.c: Comment out strhasupper(), strhaslower(),
toktocliplist(), strncpyn(), strhex_to_str(), all_string_sub(),
        strnorm(), strisnormal()  and split_at_last_component().
        * samba/lib/time.c: Comment out http_timestring().
        * samba/lib/util.c: Comment out Protocol, trans_num, case_sensitive,
        case_preserve, use_mangled_map, short_case_preserve, case_mangle,
        my_netbios_names.
        Make sam_logon_in_ssb and case_default const.
        (samlogon_user): Make char* instead of pstring.
        * samba/libsmb/clientgen.c: Comment out cli_api_pipe(),
        cli_NetWkstaUserLogon(), cli_tdis(), cli_nt_create(), cli_ulogoff(),
        cli_lock(), cli_unlock(), cli_message_start(), cli_message_text()
        and cli_message_end().
        * samba/libsmb/namequery.c (global_in_nmbd): Make const.
        (find_master_ip): Comment out.
        * samba/libsmb/nmblib.c: Comment out matching_bits(), sort_ip,
        name_query_comp() and sort_query_replies().
2005-02-15 13:19:35 +00:00
Andrew V. Samoilov
999e265b23 * samba/lib/util_str.c: Comment out strhasupper(), strhaslower(),
toktocliplist(), strncpyn(), strhex_to_str(), all_string_sub()
        and split_at_last_component().
        * samba/lib/time.c: Comment out http_timestring().
        * samba/lib/util.c: Comment out Protocol, trans_num, case_sensitive,
        case_preserve, use_mangled_map, short_case_preserve, case_mangle,
        my_netbios_names.
        Make sam_logon_in_ssb and case_default const.
        (samlogon_user): Make char* instead of pstring.
        * samba/libsmb/clientgen.c: Comment out cli_api_pipe(),
        cli_NetWkstaUserLogon(), cli_tdis(), cli_nt_create(), cli_ulogoff(),
        cli_lock(), cli_unlock(), cli_message_start(), cli_message_text()
        and cli_message_end().
        * samba/libsmb/namequery.c (global_in_nmbd): Make const.
        (find_master_ip): Comment out.
        * samba/libsmb/nmblib.c: Comment out matching_bits(), sort_ip,
        name_query_comp() and sort_query_replies().
2005-02-14 13:14:01 +00:00
Roland Illig
42d2ab10be * info.c (info_show_info): Casted st_mode to unsigned to avoid
compiler warning on Solaris 9 (st_mode is unsigned long there).
2005-02-12 22:28:09 +00:00
Roland Illig
7d1b02caad * unixcompat.h: Typo (show => shown). 2005-02-12 22:16:25 +00:00
Roland Illig
5d55e9b92f * vfs.c (vfs_translate_url): Add support for smb://, sh://,
ssh:// and mc:// filesystem requests. Introduced separate table
	for vfs aliases.
	* util.c (strip_password): Modifications to take the aliases into
	account while eliminating passwords.

	The original patch was extended by Roland Illig.
2005-02-12 14:30:48 +00:00
Roland Illig
0a545794da * screen.c: Reverted my changes from 2005-02-08 (except the
maybe_cd calls) to not confuse the upcoming UTF-8 patches.
2005-02-12 05:14:54 +00:00
Andrew V. Samoilov
9ca4fc2bc0 * samba/lib/netmask.c [HAVE_NETMASK_AIX && HAVE_UNISTD_H]: Include
<unistd.h> to fix gcc 3.3 warnings about undeclared close().
2005-02-11 23:39:58 +00:00
Andrew V. Samoilov
663792b91a * glibcompat.c: Add g_strlcat() declaration for glib 1.2.x 2005-02-11 23:38:26 +00:00
Andrew V. Samoilov
7bcc312f97 Due to problems in the VFS, files are not written back after being edited
over VFS with an external editor.
2005-02-11 20:25:42 +00:00
Roland Illig
256cce9bb5 * screen.c (string_file_name): Fixed the displaying of long file
names. The bug had been introduced by me on 2005-02-08.
	* screen.c (string_file_nlinks): Likewise.
2005-02-11 19:43:30 +00:00
Roland Illig
dbd6062273 * include/slang.h: Define __unix__ if __NetBSD__ is defined. 2005-02-10 13:29:51 +00:00
Roland Illig
9a020da9c6 * extfs/uzip.in: Widened the regular expression for infozip to
also detect non-Unix file listings.

	Patch provided by Jindrich Makovicka <makovick * kmlinux.fjfi.cvut.cz>
2005-02-09 21:46:28 +00:00
Roland Illig
d23e3fae53 * template.c: #include <config.h> unconditionally. 2005-02-09 19:46:32 +00:00
Roland Illig
6407873f69 * cons.handler.c: Marked unused parameters.
* dir.c: Likewise.
	* find.c: Likewise.
	* help.c: Likewise.
	* layout.c: Likewise.
	* mountlist.c: Likewise.
	* popt.c: Likewise.
	* poptconfig.c: Likewise.
	* popthelp.c: Likewise.
	* regex.c: Likewise.
	* subshell.c: Likewise.
	* tree.c: Likewise.
	* util.c: Likewise.
	* utilunix.c: Likewise.
	* widget.c: Likewise.
	* wtools.c: Likewise.
2005-02-08 22:33:52 +00:00
Roland Illig
f8a7930a1a * screen.c: Marked unused parameters. Updated use of maybe_cd. 2005-02-08 20:12:30 +00:00
Roland Illig
5356ac60d5 * main.c (maybe_cd): Removed unused parameter.
* main.h: Likewise.
2005-02-08 20:09:36 +00:00
Roland Illig
f9d9f92370 * Removed my own experiments. 2005-02-08 19:59:45 +00:00
Roland Illig
d2ee0985fc * dialog.c: Marked unused parameters. Now dlg_broadcast_msg_to
does what the comment above it says.
2005-02-08 18:25:31 +00:00
Roland Illig
5dbdfb07ba * editcmd.c: Explicitly declared unused variables to make gcc
quiet.
2005-02-08 17:14:34 +00:00
Roland Illig
c6a72952ac * screen.c (string_file_*): Don't use static buffers.
* screen.c (format_file): Provide a buffer for the string_file_*
	functions.
2005-02-08 12:28:17 +00:00
Roland Illig
f629c91ded * util.h: Added macro str_cmp to allow syntactically nice string
comparison.
2005-02-08 10:46:01 +00:00