Commit Graph

7014 Commits

Author SHA1 Message Date
Leonard den Ottolander
565866175d NEWS: Fixed commit to the wrong branch. 2005-07-08 14:07:31 +00:00
Leonard den Ottolander
26e5b1d1c0 NEWS: Reorganized and updated post 4.6.0 entries. 2005-07-08 13:41:29 +00:00
Roland Illig
b8969ae3df * view.c (view_ccache_find): Replaced the linear search with a
binary search. This speeds up the viewer by a factor of 25 for
	large files (> 100 MB).
2005-07-07 22:34:31 +00:00
Roland Illig
ca15b965d6 Added to result-equivalent functions for view_ccache_find_linear_down().
All three work, but view_ccache_find_binary() is the fastest of all. So
the other ones will be removed in the next revision. This revision is
mainly for the records.
2005-07-07 22:30:56 +00:00
Roland Illig
0072aeb2e5 Provided multiple versions of view_ccache_find(), which can be selected by
defining C preprocessor symbols.
2005-07-07 21:46:01 +00:00
Roland Illig
bc446f0cee * dialog.h: Replaced object-like macros with implicit references
to an identifier ``h'' with function-like macros. Adjusted all
	users.
	* dialog.c: Likewise.
	* find.c: Likewise.
	* tree.c: Likewise.
	* widget.c: Likewise.
	* widget.c (widget_selectcolor): New function that selects a
	color among DLG_{HOT_,}{FOCUS,NORMAL}C.
2005-07-07 19:34:55 +00:00
Roland Illig
0c2b595997 * view.c (view_display_text): Fixed handling of tabulators. 2005-07-07 18:38:12 +00:00
Roland Illig
4fc6e727e7 Fixed the special handling of nroff character sequences at the beginning of
the screen. Removed the wrong comment. Only advance behind the backspace
character and display the rest of the nroff sequence.
2005-07-07 18:06:57 +00:00
Roland Illig
4d7a3f6779 * view.c (view_compute_areas, view_percent, view_display_status,
view_display_ruler): Fixed screen overflow bugs.
2005-07-07 17:49:01 +00:00
Roland Illig
bcf9978ee8 * view.c (view_update_bytes_per_line): Fixed integer overflow
bug.
2005-07-07 17:09:59 +00:00
Roland Illig
00fcae9141 * view.c: view_display_status() is called inside display(). 2005-07-07 17:03:25 +00:00
Roland Illig
c4d669162a * view.c (view_status): Renamed to view_display_status(). 2005-07-07 16:59:31 +00:00
Roland Illig
cecafaab0b * view.c (view_compute_areas): Fixed a bug noted by Pavel
Tsekov. The coordinates are now relative to the Widget, as they
	should be.
2005-07-07 16:48:55 +00:00
Roland Illig
338c32c400 Added an assertion to offset_rounddown to make sure that b != 0. 2005-07-06 22:35:17 +00:00
Roland Illig
5d9985751a Clean up #include's in all files. 2005-07-06 21:50:00 +00:00
Roland Illig
bf034f70e1 * edit.h: Added missing #include <stdio.h>. 2005-07-06 21:26:26 +00:00
Roland Illig
e3176f640e Use the correct coodinates for displaying the percentage in the status line. 2005-07-06 19:36:59 +00:00
Roland Illig
0785232a60 * view.c: Changed some variables from int to screen_dimen.
Instead of relying on each of the view_display_* functions to
	compute the correct coordinates they are managed using the new
	function view_compute_areas(). In the view_display_* functions,
	all calculations are done 0-based; before, the calculation had
	involved the relative position of the area. Removed "static"
	variables from view_status(). Simplified view_display_clean().
2005-07-06 19:12:25 +00:00
Roland Illig
4150000223 Removed the #include directive for "ecs.h", as this file is not yet in HEAD. 2005-07-06 15:38:43 +00:00
Leonard den Ottolander
133196d197 vfs/tar.c (tar_read_header): Properly handle non \0 terminated tar entries
with name of length NAMSIZ.
2005-07-06 14:15:54 +00:00
Leonard den Ottolander
674dac483d complete.c: Fix autocompletion for single possible path when "complete
show all" is set.
2005-07-06 11:16:08 +00:00
Roland Illig
bb14c4e1da * vfs.h, vfs-impl.h, vfs.c, local.h, local.c, sfs.c: Removed
support for mmap() and munmap() from the VFS. It is unused and
	cannot be applied to remote file systems.
2005-07-05 21:01:57 +00:00
Roland Illig
148f56adcd * textconf.c: mc --version prints the size of commonly used data
types.
2005-07-05 20:57:38 +00:00
Roland Illig
db1e5ef53c Added an "inline" specifier to str_unconst_inlined. 2005-07-05 20:50:02 +00:00
Roland Illig
a041ed48a9 Removed unused local variable. 2005-07-05 20:31:18 +00:00
Roland Illig
d5ec027964 * configure.ac: Removed detection of the umode_t type. All
references to it have been replaced with mode_t.
2005-07-05 20:15:41 +00:00
Roland Illig
a1db50305e * chmod.c: Changed all references to umode_t into mode_t. 2005-07-05 20:14:15 +00:00
Roland Illig
9f55376746 * view.c (view_load): Don't try to use fcntl() with VFS file
handles. That cannot work.
2005-07-05 19:19:17 +00:00
Roland Illig
a5b6014c88 * java.syntax: Cleaned up the header comment. Sorted keywords
alphabetically.
2005-07-05 18:26:45 +00:00
Roland Illig
ce11065fde * html.syntax: Attribute values may also be delimited by single
quotes.
2005-07-05 18:25:31 +00:00
Roland Illig
93402cd8e3 Added a header comment and removed trailing empty lines. 2005-07-05 18:24:04 +00:00
Roland Illig
e3b7168498 * achown.c: Changed all references to umode_t into mode_t.
* file.c: Likewise.
2005-07-05 18:18:36 +00:00
Leonard den Ottolander
e51d774b10 po/lt.po: Changed spacing in two messages. 2005-07-04 23:25:32 +00:00
Roland Illig
e62ae836a3 Automatically run "make check" after a successful "make build". 2005-07-04 10:09:48 +00:00
Pavel Roskin
bfeb86150d Add isc-posix.m4 2005-07-04 06:33:51 +00:00
Pavel Roskin
30d67e4bdb makefile.syntax: Add all special targets of GNU make. 2005-07-04 06:33:02 +00:00
Roland Illig
2a57a2e1e3 * xdirentry.h: Added missing #include directives. 2005-07-03 22:55:55 +00:00
Roland Illig
2e316d011d Modified the template according to the multi-file project section on
http://www.gnu.org/licenses/gpl-howto.html .
2005-07-03 22:47:35 +00:00
Roland Illig
ffeffd1ced * Makevars: Rewrote the MSGMERGE flags selection so that the
--no-location can be overridden more easily.
2005-07-03 21:34:43 +00:00
Roland Illig
5c4334665e * hu.po: Updated hungarian translation, provided by Arpad Biro
at 2005-01-23 on mc-devel.
2005-07-03 20:45:01 +00:00
Roland Illig
461e5ba69b * *.po: Removed line numbers. 2005-07-03 20:42:51 +00:00
Roland Illig
5e9b496c69 * c.syntax: The bit-wise and, or, xor, not operators are
formatted in brightmagenta to make them distinguishable from the
	boolean operators. (This also affects the address-of operator.)
2005-07-03 20:09:29 +00:00
Roland Illig
96223eace4 Replaced 8 space characters with one tab for indentation. 2005-07-03 15:31:55 +00:00
Leonard den Ottolander
b7552a4e40 lib/mc.ext.in: Match log files as plain text; match local man pages; add fixes
for gzipped man pages to plain and bzipped man pages.
2005-07-03 15:04:11 +00:00
Roland Illig
aac7b35bfc The value of b is unused in view_set_byte(). 2005-07-03 14:01:25 +00:00
Leonard den Ottolander
ba85d5b50b NEWS: Sync entries with MC_4_6_1_PRE. 2005-07-03 13:50:35 +00:00
Leonard den Ottolander
2704385e05 lib/mc.ext.in: Move matches for plain compressed files down. 2005-07-03 12:43:15 +00:00
Roland Illig
2aae4390da * acinclude.m4 (MC_WITH_VFS): Don't link with libnsl
unnecessarily.
	* configure.ac: Simplified detection of the necessary libraries
	for socket() and gethostbyname().

	Patch provided by Tomasz Kloczko at 2005-06-15 on mc-devel.
2005-07-03 11:50:30 +00:00
Roland Illig
fb43472e27 * perl.syntax: The inside of qw(...) gets green. 2005-07-03 11:47:07 +00:00
Roland Illig
a75e3a5d5a TODO: 64 bit support. 2005-07-03 11:40:47 +00:00