Commit Graph

6885 Commits

Author SHA1 Message Date
Roland Illig
a2511b792c * dirent.c (split_dir_name): Don't assign a string literal to a
char *. Use '\0' instead of 0 when operating on characters.
2005-05-24 12:09:22 +00:00
Roland Illig
0fea1df332 * widget.h: Fixed prototype of input_callback(). 2005-05-24 11:50:12 +00:00
Roland Illig
87759863e3 * widget.c: Fixed all but one casts on function pointers. 2005-05-24 11:48:23 +00:00
Roland Illig
3eeea2b824 * python.syntax: Added chunk from Savannah bug #7872. This
changes the color for """long strings""" from brown to green and
	adds embedded highlighting for escape sequences.
2005-05-24 09:50:47 +00:00
Roland Illig
f9604266b2 * syntax/ChangeLog: The syntax directory has got its own
ChangeLog.
2005-05-24 09:39:29 +00:00
Roland Illig
f9f0051c39 * Syntax: Extended the patterns for #! interpreters to match
almost everything that looks like the interpreter.
2005-05-24 09:38:27 +00:00
Roland Illig
a3d00ca079 Added empty ChangeLog file. 2005-05-24 09:36:40 +00:00
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