Commit Graph

6828 Commits

Author SHA1 Message Date
Roland Illig
ad5dcc1909 Fixed an off-by-one error. Changed the interpreter to /usr/bin/env perl. 2005-05-24 09:25:38 +00:00
Roland Illig
d62c0470e3 * samba/param/loadparm.c: Fixed warnings reported by gcc-2.95. 2005-05-24 09:14:53 +00:00
Roland Illig
603d2f3dc5 * tree.c: Removed function casts and provided wrappers where
necessary.
2005-05-23 17:07:21 +00:00
Roland Illig
b4dd15e808 * screen.c: Removed function casts. 2005-05-23 16:44:24 +00:00
Roland Illig
a3e822b6ba * menu.c: Removed function casts. 2005-05-23 16:39:52 +00:00
Roland Illig
2a21804cc2 * main.h: Changed the type of quiet_quit_cmd() from int to void.
* main.c: Likewise. Removed function cast.
2005-05-23 16:37:01 +00:00
Roland Illig
c1a5413eef * info.c: Removed function casts. 2005-05-23 16:30:44 +00:00
Roland Illig
512aa8120d * help.c: Removed function casts. 2005-05-23 16:27:33 +00:00
Roland Illig
cbcdeeefbf * fileopctx.c: Removed unnecessary function casts. 2005-05-23 11:30:07 +00:00
Roland Illig
b8438197e1 * filegui.c: Removed unnecessary function casts. 2005-05-23 11:29:03 +00:00
Roland Illig
12641d520f * find.c: Removed a function cast by using the wrapper function
cstrstr().
2005-05-23 11:28:10 +00:00
Roland Illig
caaf0730b6 * util.h: Added const-preserving version of strstr().
* util.c: Likewise.
2005-05-23 11:21:26 +00:00
Roland Illig
de1e263746 * command.c: Removed casts on function pointer types. 2005-05-23 11:17:25 +00:00
Roland Illig
7758bb1b95 * editwidget.c: Removed casts on function pointer types. 2005-05-23 11:14:31 +00:00
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