Commit Graph

7014 Commits

Author SHA1 Message Date
Roland Illig
1b92df58cf TODO: Fix all uses of casts on function pointer types. 2005-05-23 11:01:17 +00:00
Roland Illig
d223460184 * help.c: Fixed the use of check_movement_keys(). This had been
really ugly code, involving casts on incompatible functions.
2005-05-23 10:15:45 +00:00
Pavel Roskin
2f70d699ad * Makevars: Add --no-location to msgmerge arguments.
* update.pl: Likewise.
* update.sh: Likewise.
2005-05-23 03:08:43 +00:00
Pavel Roskin
6b494ddd63 * view.c: Better fix for the gcc 4.0.0 warnings. Fix callees
rather than callers.
2005-05-23 02:03:29 +00:00
Roland Illig
166e1d20de * win.h: Removed a const qualifier from the type movefn, as these
functions typically modify their object.
	* win.c: Likewise.
2005-05-21 10:51:15 +00:00
Roland Illig
9eadb2ada4 * view.c (view_labels): Simplified the code that decides whether
the user can switch to hexedit mode.
2005-05-21 10:34:16 +00:00
Roland Illig
0659621de4 Renamed edit_cursor to hex_cursor, as it is
used in hexview mode, too.
2005-05-21 10:23:57 +00:00
Roland Illig
48fd4667fd Changed some comments. 2005-05-21 10:21:35 +00:00
Roland Illig
4138e2d88b * view.c: Renamed dpy_text_start to dpy_topleft, as it does not
only apply to text mode. Renamed dpy_text_start_col to
	dpy_text_column.
2005-05-21 10:17:35 +00:00
Roland Illig
8aadbba7d3 * view.c: Fixed comment above toggle_hexedit_mode(). 2005-05-21 10:04:03 +00:00
Roland Illig
75691621a6 * view.c: Made the F2 key action much simpler---now it just
toggles between hexview and hexedit mode. Switching between text
	and hex mode can be done with <tab>, as before.
2005-05-21 10:02:09 +00:00
Pavel Roskin
9d44b75ad5 * find.c: Fix warnings reported by gcc 4.0.0.
* mountlist.c: Likewise.
* screen.c: Likewise.
* view.c: Likewise.
2005-05-21 03:26:36 +00:00
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