Commit Graph

6636 Commits

Author SHA1 Message Date
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
Roland Illig
a580664255 * Removed transition support macros. 2005-02-08 09:58:40 +00:00
Roland Illig
0d08e8308f * Renamed define_label to buttonbar_set_label.
* Renamed define_label_data to buttonbar_set_label_data.
	* Renamed redraw_labels to buttonbar_redraw.
2005-02-08 09:53:51 +00:00
Roland Illig
e501886d58 * editdraw.c: Renamed redraw_labels to buttonbar_redraw.
* editwidget.c: Likewise. Renamed define_label_data to
	buttonbar_set_label_data.
2005-02-08 09:50:16 +00:00
Roland Illig
77391f3981 * widget.h: Renamed define_label to buttonbar_set_label. Renamed
define_label_data to buttonbar_set_label_data. Renamed
	redraw_labels to buttonbar_redraw. Provided compatibility macros
	to enable a smooth transition between the old and the new names.
	* widget.c: Likewise.
2005-02-08 09:40:52 +00:00
Roland Illig
68249252cb * template.c: Updated header inclusion section. 2005-02-08 09:06:51 +00:00
Roland Illig
8dea136109 * How to include header files properly. 2005-02-08 09:05:14 +00:00
Roland Illig
fc85bdba7e * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
Andrew V. Samoilov
28fed14a03 * ext.c (regex_command): Eliminate g_string_*(). 2005-02-08 07:31:11 +00:00
Roland Illig
10451e0109 * dialog.h: Moved and reformatted #definitions.
* execute.h: Likewise.
	* mouse.h: Likewise.
2005-02-08 06:57:14 +00:00
Roland Illig
db5eec4964 * edit.h: Reformatted #definitions. 2005-02-08 06:48:54 +00:00
Roland Illig
d8e27971ae * widget.h: Moved constants to the appropriate places (just
before the variable they will be used with).
	* widget.c: HISTORY_FILE_NAME was not needed in widget.h,
	so it has been made private to this file.
2005-02-08 06:28:34 +00:00
Roland Illig
ab442fdeee * cpio.c: Added some FIXMEs about data representation. 2005-02-08 05:53:13 +00:00