Commit Graph

6769 Commits

Author SHA1 Message Date
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
Roland Illig
2dbdf6d200 * unixcompat.h: Emit warnings for the fallback case of the
major/minor/makedev macros.
2005-02-07 22:59:51 +00:00
Roland Illig
b4b0f1dbfc * view.c: Reordered #include files. 2005-02-07 22:31:30 +00:00
Roland Illig
3e7e53b1af * view.c: Changed type of view->blocks from int to size_t.
* view.c: Removed unused parameters from local functions.
2005-02-07 22:09:44 +00:00
Roland Illig
e5e3a8f87d * editcmd.c: Fixed whitespacing issues.
* editdraw.c: Likewise.
	* syntax.c: Likewise.
2005-02-07 20:32:17 +00:00
Roland Illig
15342acba1 * edit.c: Fixed some whitespacing issues. 2005-02-07 20:28:13 +00:00
Roland Illig
2a281ad18d * *.c: Removed unused parameters for static functions. Marked
unused parameters for global functions. Removed redundant
	comments.
2005-02-07 20:08:01 +00:00
Roland Illig
9004ac497f * po/ChangeLog: Applied trim_changelog.
* slang/ChangeLog: Likewise.
	* vfs/ChangeLog: Likewise.
2005-02-07 07:40:46 +00:00
Roland Illig
51156030fb * ChangeLog: Applied trim_changelog. 2005-02-07 07:33:47 +00:00
Roland Illig
05d2881a71 * *.c: Removed trailing whitespace. 2005-02-07 07:31:19 +00:00
Roland Illig
6916fd28a2 * NEWS: Added the changes between mc-4.6.1-pre3 and now. 2005-02-07 07:05:17 +00:00
Roland Illig
e8e0035587 * edit.h: Removed catstrs, as it is only used in editcmd.c.
* editcmd.c (catstrs): Changed declaration to be static.
2005-02-07 06:34:08 +00:00
Roland Illig
b49ac634f5 * editwidget.c: Don't use catstrs anymore. 2005-02-07 06:31:04 +00:00
Roland Illig
13737b1de1 * edit.c (user_menu): Don't use catstrs anymore. 2005-02-07 06:18:13 +00:00
Roland Illig
259485542a * syntax.c: Don't use catstrs anymore. 2005-02-07 06:11:15 +00:00
Roland Illig
64eed6e12b * edit.h (catstrs): Changed the return type to "const char *".
* editcmd.c (catstrs): Likewise.
	* edit.c (user_menu): Added const qualifiers.
	* editcmd.c: Likewise.
	* syntax.c: Likewise.
2005-02-07 06:02:59 +00:00
Roland Illig
a8de548480 Added a template for new C files. 2005-02-07 00:06:16 +00:00
Roland Illig
7733f432a4 * ext.c: Improved message formatting. 2005-02-07 00:01:15 +00:00