mc/src
Roland Illig 1a26500862 * view.c (struct WView): Removed the last_byte field, because it
got too complex maintaining it together with the new datasource
	framework. The function view_get_filesize() now takes its place.
	Corrected the type of the growing buffer to unsigned char. Added
	a field growbuf_finished to indicate when all data has been read.
	* view.c (view_move_cursor_to_eol): Renamed to
	view_hexview_move_to_eol().
	* view.c (view_get_filesize): Added.
	* view.c (view_get_filesize_with_exact): Added.
	* view.c (get_byte_indexed): get_byte with bounds checking.
	* view.c (view_growbuf_read_until): Closes the datasource after
	reading has finished.
	* view.c (view_percent): The percentage is only shown when its
	exact value can be computed.
	* view.c (view_status): The [grow] field has been removed from
	the status line. Instead, the filesize is reported as ">= n"
	bytes.
	* view.c (count_backspaces): Added a bounds check.
	* view.c (display): Using get_byte_indexed instead of get_byte.
	* view.c (move_forward2): Renamed to view_move_forward2 because
	of the equally-named function in src/help.c. Replaced the
	algorithm for the hexview mode by a much simpler version. Now
	we have 5 ?: operators less than before.
	* view.c (get_bottom_first): Added bounds checking.
	* view.c (move_right): Simplified the code.
	* view.c (goto_addr): Fixed an off-by-one error.
	* view.c (view_close_datasource): For the growing buffer cases,
	check if the datasource has already been closed before.
2005-04-13 21:09:00 +00:00
..
.cvsignore Add mc.hlp.?? 2002-03-12 16:26:53 +00:00
achown.c * achown.c (update_permissions): Partly revert recent changes 2005-03-17 22:03:31 +00:00
achown.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
background.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
background.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
boxes.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
boxes.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
ChangeLog * view.c (struct WView): Removed the last_byte field, because it 2005-04-13 21:09:00 +00:00
charsets.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
charsets.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
chmod.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
chmod.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
chown.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
chown.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
cmd.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
cmd.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
color.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
color.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
command.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
command.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
complete.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
complete.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
cons.handler.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
cons.saver.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
cons.saver.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
dialog.c * dialog.c: Marked unused parameters. Now dlg_broadcast_msg_to 2005-02-08 18:25:31 +00:00
dialog.h * dialog.h: Removed a comma at the end of an enumeration, because 2005-04-07 07:39:09 +00:00
dir.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
dir.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
eregex.h * eregex.h: Undefine __restrict_arr before redefining to avoid a 2002-12-11 05:33:39 +00:00
execute.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
execute.h * dialog.h: Moved and reformatted #definitions. 2005-02-08 06:57:14 +00:00
ext.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
ext.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
file.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
file.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
filegui.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
filegui.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
filenot.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
fileopctx.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
fileopctx.h * fileopctx.h (struct FileOpContext): Use off_t for offset. 2004-10-06 18:06:26 +00:00
find.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
find.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
findme.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
findme.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
fs.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
glibcompat.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
glibcompat.h * glibcompat.c: Add g_strlcat() declaration for glib 1.2.x 2005-02-11 23:38:26 +00:00
global.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
help.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
help.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
hotlist.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
hotlist.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
info.c * info.c (info_show_info): Casted st_mode to unsigned to avoid 2005-02-12 22:28:09 +00:00
info.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
key.c * keyxdef.c: Constify struct qnx_key_define_s typedef. 2005-03-25 09:38:24 +00:00
key.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
keyxdef.c * keyxdef.c: Constify struct qnx_key_define_s typedef. 2005-03-25 09:38:24 +00:00
layout.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
layout.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
learn.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
learn.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
listmode.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
listmode.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
main.c * Removed my own experiments. 2005-02-08 19:59:45 +00:00
main.h * main.c (maybe_cd): Removed unused parameter. 2005-02-08 20:09:36 +00:00
Makefile.am * x11conn.c: Separated X11 connection handling from key.c. Added 2005-03-10 09:44:36 +00:00
man2hlp.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
menu.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
menu.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
mfmt.c * charsets.c: Add disclaimer of warranty. 2002-08-27 05:27:11 +00:00
mountlist.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
mountlist.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
mouse.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
mouse.h * dialog.h: Moved and reformatted #definitions. 2005-02-08 06:57:14 +00:00
myslang.h * acinclude.m4 (MC_WITH_SLANG): Define HAVE_SYSTEM_SLANG after 2005-03-19 17:27:36 +00:00
OChangeLog s/ommited/omitted/ 2002-07-14 06:36:07 +00:00
option.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
option.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
panel.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
panelize.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
panelize.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
pipethrough.3 * pipethrough.3: Fixed use of mandoc macros according to a 2004-11-21 21:13:43 +00:00
pipethrough.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
pipethrough.h * pipethrough.c: Added pipethrough, a function to execute child 2004-09-25 21:21:09 +00:00
popt.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
popt.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
poptalloca.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
poptconfig.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
popthelp.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
poptint.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
poptparse.c * poptconfig.c (configLine): Cast the argument to functions for 2002-10-24 10:02:40 +00:00
profile.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
profile.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
regex.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
rxvt.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
screen.c * screen.c (chdir_other_panel): When used on a file entry, move 2005-03-29 04:47:16 +00:00
selcodepage.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
selcodepage.h Reformat. 2002-10-30 23:16:16 +00:00
setup.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
setup.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
slint.c * slint.c: Don't use private S-Lang functions if they are 2005-03-19 19:31:23 +00:00
subshell.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
subshell.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
textconf.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
textconf.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
tree.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
tree.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
treestore.c * treestore.c (str_common): Added a comment that str_common shall 2005-02-15 22:16:18 +00:00
treestore.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
tty.h * tty.h: Moved the function printwstr to slint.c, because the 2005-02-23 19:55:06 +00:00
unixcompat.h * unixcompat.h: Only include <sys/sysmacros.h> if we're on AIX, 2005-02-23 23:49:30 +00:00
user.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
user.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
util.c * util.h (str_unconst): Provide a replacement for the const_cast 2005-04-13 18:47:12 +00:00
util.h * util.h (str_unconst): Provide a replacement for the const_cast 2005-04-13 18:47:12 +00:00
utilunix.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
vfsdummy.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
view.c * view.c (struct WView): Removed the last_byte field, because it 2005-04-13 21:09:00 +00:00
view.h * dialog.h (widget_msg_t): Added WIDGET_RESIZED to inform widgets 2005-01-25 22:40:50 +00:00
widget.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
widget.h * Removed transition support macros. 2005-02-08 09:58:40 +00:00
win.c * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
win.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
wtools.c * cons.handler.c: Marked unused parameters. 2005-02-08 22:33:52 +00:00
wtools.h * *.h: Renamed multiple inclusion guards that started with a 2004-12-03 19:17:46 +00:00
x11conn.c * x11conn.c (x_io_error_handler): Close the X11 connection when 2005-04-06 18:04:43 +00:00
x11conn.h * x11conn.c: Separated X11 connection handling from key.c. Added 2005-03-10 09:44:36 +00:00