Commit Graph

6802 Commits

Author SHA1 Message Date
Pavel Roskin
8b6a126125 * extfs.c: Fix warnings reported by gcc 4.0.0. 2005-05-21 03:24:50 +00:00
Pavel Roskin
cd702593f6 * editwidget.c (edit_file): Move menu initialization ...
* editmenu.c (edit_init_menu): ... here.  Allocate menu
dynamically.
(edit_done_menu): Take Wmenu argument rather than Menu.  Free
menu.
(edit_reload_menu): New function, reload the menu.
(edit_options_dialog): Reload the menu if key emulation has
changed.
2005-05-20 21:19:40 +00:00
Pavel Roskin
9260860bbf * dialog.c (dlg_select_widget): Remove first argument, it's
redundant.  Adjust all callers.
(dlg_replace_widget): Likewise.
2005-05-20 20:22:06 +00:00
Pavel Roskin
b5b70bce10 * edit.h: Eliminate global EditMenuBar. Fix all dependencies. 2005-05-20 19:46:47 +00:00
Pavel Roskin
7511729690 * edit.h: Eliminate edit_message_dialog macro - it's used
inconsistently.  Fix all callers to use query_dialog().
2005-05-20 19:27:45 +00:00
Pavel Roskin
d7773a07e0 Fix redirection to stderr.
Thanks to Roland Illig <roland.illig@gmx.de>
2005-05-20 14:29:24 +00:00
Roland Illig
7e211ffccc Added a script to strip file lines from po files. 2005-05-19 11:21:02 +00:00
Roland Illig
345d85309a Added a README file. 2005-05-19 11:16:57 +00:00
Roland Illig
552447750f Updated German translation. 2005-05-19 11:12:53 +00:00
Roland Illig
deda7ecc93 Added really ugly shell quoting. But it works even for multiline values. 2005-05-18 23:39:47 +00:00
Roland Illig
50751f784c Added the possibility to set configuration variables via the command line. 2005-05-18 23:04:25 +00:00
Roland Illig
2e7fa0fa37 * configure.ac: Removed the extra definition of
HAVE_C_TYPE_SOCKLEN_T, which is unused.
2005-05-17 17:06:14 +00:00
Roland Illig
6cabb46ac9 Added an example configuration file for mc-test. 2005-05-15 11:33:37 +00:00
Roland Illig
7b17421a43 * syntax/makefile.syntax: Added useful comments before the
contexts.
2005-05-15 00:09:15 +00:00
Roland Illig
cf4c046bf9 * syntax/makefile.syntax: Highlight $$ (a literal $) in
brightcyan. This way $${var} is not highlighted as if it were a
	Makefile variables.
2005-05-15 00:02:06 +00:00
Roland Illig
455b0d006e * syntax/diff.syntax: Lines starting with a <tab> character are
displayed like lines starting with a <space>. This is for the
	cvs diff -T option.
2005-05-14 11:30:54 +00:00
Roland Illig
aa262c3482 * ftpfs.c: Using HAVE_SOCKLEN_T instead of HAVE_C_TYPE_SOCKLEN_T. 2005-05-13 20:32:09 +00:00
Pavel Roskin
0e2177c8cd * configure.ac: Require Autoconf 2.53 or newer.
* m4/Makefile.am: Remove isc-posix.m4, it's obsolete.
* m4/isc-posix.m4: Remove.
2005-05-13 15:27:21 +00:00
Pavel Roskin
ef3e4ddcc9 * lib/mc.ext.in: Add OpenOffice.org 2 extensions, use o3totxt
to view OpenOffice.org documents.
2005-05-13 15:09:55 +00:00
Pavel Roskin
4f09f45404 * acinclude.m4: Remove MC_ARG_ENABLE_DEVELOPER_MODE.
* configure.ac: Replace MC_ARG_ENABLE_DEVELOPER_MODE with a
simpler and more user-friendly piece of code.
2005-05-11 21:56:57 +00:00
Roland Illig
10c2c57663 * charsets.c (translate_character): Fixed checking of the return
value of iconv().
2005-05-11 21:50:36 +00:00
Pavel Roskin
77aa6b59ce This file in not used or referenced anywhere. 2005-05-11 21:49:46 +00:00
Pavel Roskin
6c1b5a014c Spelling fixes. 2005-05-11 21:49:12 +00:00
Pavel Roskin
0ef41beb95 * samba/lib/util_sock.c: Fix gcc 4.0 warnings. 2005-05-11 20:03:41 +00:00
Pavel Roskin
b3bc70e73a * samba/lib/debug.c (dbghdr): Constify arguments file and func. 2005-05-11 19:54:59 +00:00
Pavel Roskin
efcd09ed48 Fix rpmbuild command line. 2005-05-11 02:46:36 +00:00
Pavel Roskin
694ed84007 Don't assume that rpmbuild has necessary permissions for the user - use
our own directory.  Don't assume i386 architecture.
2005-05-11 01:55:50 +00:00
Pavel Roskin
c90d263d2c * .c: Sanitize all calls to functions from ctype.h. Fix gcc 4.0
warnings.
2005-05-11 01:16:58 +00:00
Pavel Roskin
92fec3431c * utilvfs.c: Fix gcc 4.0 warnings. 2005-05-10 23:21:42 +00:00
Pavel Roskin
071f70d0e9 * edit-widget.h: Revert signedness fixes. We need unsigned char
for character classification.
* editcmd.c: Likewise.  Use casts to suppress warnings instead.
Thanks to Roland Illig <roland.illig@gmx.de>
2005-05-10 23:04:32 +00:00
Pavel Roskin
e56462d992 New file to look for duplicate includes. 2005-05-10 21:46:36 +00:00
Pavel Roskin
2d72a3f7b9 Clarify licensing statement. 2005-05-10 21:44:44 +00:00
Pavel Roskin
446c06ea0c * file.c: Remove unneeded WANT_WIDGETS.
* layout.c: Likewise.
* setup.c: Likewise.
* view.c: Likewise.
2005-05-10 21:38:40 +00:00
Pavel Roskin
21ea3f6740 * *.c: Remove duplicate includes. 2005-05-10 20:57:11 +00:00
Pavel Roskin
79386c0add * samba/include/includes.h: Don't include grp.h twice. 2005-05-10 20:46:40 +00:00
Roland Illig
3bcac235f5 * find.c (find_parameters): Moved around and reordered dialog
items to make their meaning clearer.
2005-05-10 19:30:22 +00:00
Pavel Roskin
0c198ddc7b Revert overriding RPM target. It can lead to broken packages.
linux32 wrapper should be used instead.
2005-05-10 17:57:02 +00:00
Pavel Roskin
762ca4381b Check diff error code.
Exclude "pc" from comparison - it has a binary file.
Specify rpm target - useful when run on x86_64 in chroot.
Move MCVERSION to a more prominent place.
2005-05-10 17:46:25 +00:00
Pavel Roskin
4adb9bfe13 * edit-widget.h: Use char instead of unsigned char to fix
warnings from gcc 4.0.
* editcmd.c: Likewise.
2005-05-03 23:40:15 +00:00
Pavel Roskin
d78556d3c5 * edit.h: Use D_ERROR for edit_error_dialog, D_NORMAL for query
dialogs.  Remove unused edit_query_dialog4.
2005-05-03 23:26:51 +00:00
Pavel Roskin
a6dd81352b * screen.c (try_to_select): Don't call display_mini_info(), it
will be called later because select_item sets panel->dirty.
This fixes the mini status appearing first after Ctrl-O.
2005-05-03 15:16:57 +00:00
Roland Illig
419025e926 * syntax/c.syntax: Added missing punctuation characters. 2005-05-01 14:21:02 +00:00
Pavel Roskin
bf7853c225 * syntax/Syntax: Don't highlight csh scripts. Allow using
"/usr/bin/env" instead of the full path.
2005-04-28 19:44:49 +00:00
Pavel Roskin
2836321b37 trimmed by trim_changelog 2005-04-28 19:42:30 +00:00
Leonard den Ottolander
8994b8bbec Added casts on 2 parameters to g_snprintf. 2005-04-27 21:02:59 +00:00
Leonard den Ottolander
2a6e12765a Added pchel and leonardjo as contributors. 2005-04-27 20:55:01 +00:00
Roland Illig
70f77a1945 * view.c: Changed use of view->text_wrap_mode to reflect its
type, being gboolean. That is, only use boolean operators and
	TRUE/FALSE for assignment. Bug reported by Jindrich Makovicka.
2005-04-27 18:39:21 +00:00
Roland Illig
413ed3236e * global.h: Define NDEBUG (used by assert() depending on
MC_ENABLE_DEBUGGING_CODE).
2005-04-26 19:42:37 +00:00
Roland Illig
957f3d180d * acinclude.m4: Renamed AS_HELP_STRING to AC_HELP_STRING for
compatibility with autoconf-2.57.
2005-04-26 17:29:58 +00:00
Roland Illig
2404c633d0 struct view_coord coord;
coord.vc_line = line;
    view_ccache_complete (view, &coord, CCACHE_OFFSET);
    return coord.offset;
2005-04-26 15:06:38 +00:00