Commit Graph

7103 Commits

Author SHA1 Message Date
Roland Illig
37ffcf9ae7 * ext.c: Fixed a typo which has been noted by Arpad Biro. 2005-07-22 07:27:01 +00:00
Pavel Roskin
2fd33802b3 * Makefile.am: Add usermap.h to the sources. 2005-07-21 21:01:51 +00:00
Roland Illig
e1181e08d6 * hu.po: Updated Hungary translation for -pre5. 2005-07-21 17:43:09 +00:00
Pavel Roskin
179aa43514 * lib/mc.ext.in: Restore support for opening 7-zip archives. 2005-07-20 21:28:50 +00:00
Roland Illig
1c8c676c76 * key.c: When the command line option -x is given, enable
additional key sequences that are typical for xterms.
	* main.c: First parse command line arguments, then initialize
	key sequences.
2005-07-20 20:29:08 +00:00
Pavel Roskin
680ccc7e56 * configure.ac: Add vfs/extfs/ualz to AC_CONFIG_FILES.
* lib/mc.ext.in: Add support for ALZip archives.
2005-07-20 19:07:18 +00:00
Pavel Roskin
a24baacdf8 * extfs/ualz.in: New file - support for ALZip archives.
* extfs/Makefile.am: Add ualz.
* extfs/extfs.ini: Likewise.
2005-07-20 19:03:53 +00:00
Roland Illig
43eab2720a * Makevars: Added gettext_ui() to the list of translation
functions.
	* de.po: Updated German translation.
2005-07-20 15:55:00 +00:00
Roland Illig
867bcf5ebd * Makevars: Added gettext_ui() to the list of translation
functions.
	* de.po: Updated German translation.
2005-07-20 15:41:27 +00:00
Roland Illig
3abff48000 * util.c: Added gettext_ui(), which translates a string and
strips everything before the first '|' character. This function
	is used to translate special elements of the user interface,
	like ButtonBar labels.
	* util.h: Likewise.
	* view.c: Using the new gettext_ui() function.
2005-07-20 15:39:47 +00:00
Roland Illig
48ff22779a ISO C90 headers may be included unconditionally. 2005-07-20 13:14:30 +00:00
Roland Illig
073907ec5f * usermap.c: Allow user-defined keyboard bindings for mcedit.
* usermap.h: Likewise.
	* Makefile.am: Likewise.
	* editcmd.c: Define new editor commands which had been coded
	inline before.
	This change also affects some other files.
	* edit-widget.h: Invented a new type edit_key_map_type instead of
	using long for.
	* editkeys.c: Using that type.
2005-07-20 11:56:30 +00:00
Roland Illig
c9ab4e7566 Brackets and braces have a special meaning when used in syntax definition
files.
2005-07-20 11:14:15 +00:00
Roland Illig
77b5978cf1 Removed unused macros mc_mmap and mc_munmap. 2005-07-18 13:21:50 +00:00
Roland Illig
87ab858ab0 Removed unused <mman.h>. 2005-07-18 13:20:39 +00:00
Roland Illig
590d5c7ed9 Wrote a small rationale for using "global.h". 2005-07-18 11:33:36 +00:00
Roland Illig
e34ffeeb36 Fixed a typo noted by Jindrich Novy. 2005-07-18 10:03:26 +00:00
Roland Illig
fb221cb8b0 * editkeys.c: When typing literal characters after C-q, allow
the alphabetic characters to input ASCII control characters.
2005-07-18 09:32:19 +00:00
Roland Illig
6d3226c4e7 * util.c: Added ascii_alpha_to_cntrl(), which converts 'x' to
^X. Useful for entering control characters literally.
	* util.h: Likewise.
	* widget.c: Use that function after C-q.
2005-07-18 09:31:37 +00:00
Roland Illig
ace71736b8 * view.c: The viewer can remember the last file position and
restore it, like the editor. This fixes Savannah bug #13734.
	* view.h: Likewise.
	* setup.c: Likewise.
2005-07-18 08:47:45 +00:00
Roland Illig
ecfbe13fa3 AC_CHECK_TYPES([mode_t off_t pid_t socklen_t uid_t nlink_t],,, 2005-07-14 06:31:29 +00:00
Roland Illig
de5d9b1d40 * view.c: Always call display() before close_error_pipe() to make
sure the screen looks nice.
	http://mail.gnome.org/archives/mc-devel/2005-July/msg00194.html
2005-07-13 21:30:28 +00:00
Roland Illig
ea48e88eea * ada95.syntax: Sorted keywords alphabetically. 2005-07-13 03:34:15 +00:00
Roland Illig
822143b61b Sorted some keywords alphabetically. Removed "sub" context, as it has had
no effect.
2005-07-13 03:29:47 +00:00
Roland Illig
c2ad6b1cd9 * perl.syntax: Added a keyword to detect subroutine prototypes.
Sorted some keywords alphabetically. Added the "warning" pragma.
2005-07-13 03:19:32 +00:00
Roland Illig
3383c003fd * perl.syntax: #! lines are marked as contexts instead of
keywords.
	* sh.syntax: Likewise.
2005-07-12 18:30:54 +00:00
Roland Illig
fae0cabfc6 * view.c (view_hexedit_save_changes): Use the VFS file functions
instead of the native ones. This makes it possible to edit
	remote files using the hex editor.
2005-07-12 07:22:49 +00:00
Roland Illig
c61ea2f1c4 Removed leading underscores from variable names. 2005-07-12 07:01:47 +00:00
Roland Illig
8d475c4c35 * view.c: Added some paragraph comments. Changed some literal
expressions (e.g. 0 => '\0', 0 => NULL). Fixed indentation.
2005-07-12 06:04:38 +00:00
Leonard den Ottolander
36887bcf4a po/ChangeLog: Forgot entry for last po/nl.po update. 2005-07-11 20:53:39 +00:00
Leonard den Ottolander
5ebdb61345 po/nl.po: Translate to ISO-8859-1, we can't use UTF-8 on unpatched systems.
Translation, hotkey and alignment improvements.
2005-07-11 20:51:10 +00:00
Roland Illig
9f62ed703a Changed three one-line comments to one multi-line comment. 2005-07-11 08:17:38 +00:00
Roland Illig
5d5afede78 (view_display_ruler): Reduced code size by declaring a string literal as
"static". (view_display_hex): Added a FIXME concerning screen overflow.
2005-07-11 08:14:44 +00:00
Roland Illig
8bbf0d25fe * view.c (view_update_bytes_per_line): Use a local variable to
do the computation. Update view->bytes_per_line only once, after
	all computations have finished.
2005-07-11 07:39:04 +00:00
Roland Illig
35b218fc69 (view_move_down): Brought to cursor-normal-form. 2005-07-11 07:26:31 +00:00
Leonard den Ottolander
afca7c4ecb nl.po: Add missing translations, fix fuzzy strings, other improvements. 2005-07-10 12:33:29 +00:00
Leonard den Ottolander
8383793469 configure.ac: Rename AS_HELP_STRING to AC_HELP_STRING (fix undefined macro). 2005-07-10 10:45:28 +00:00
Leonard den Ottolander
2998f55697 lt.po: Fix typo (&). 2005-07-10 08:55:07 +00:00
Leonard den Ottolander
1bf69bc163 info.c (info_show_info): Properly calculate the length of the line drawn
by hline().
2005-07-10 08:46:54 +00:00
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