Commit Graph

5551 Commits

Author SHA1 Message Date
Pavel Roskin
745c7e74fa Fix mismatching C format strings. 2003-03-04 16:50:47 +00:00
Sanlig Badral
e9c702cdc5 *** empty log message *** 2003-03-04 13:17:16 +00:00
Andrew V. Samoilov
8d6787cada Document -e option.
TODO: EXTernal File System untranslated.
2003-03-04 11:04:48 +00:00
Andrew V. Samoilov
7bf38b1ea8 Cleaned up and updated 2003-03-04 10:34:28 +00:00
David Martin
6a5213ff6f Update. Remove long authors list. 2003-03-04 10:25:36 +00:00
Andrew V. Samoilov
902cd4834b * syntax.c (edit_read_syntax_rules): Check for list of defines
is already initialized.
(edit_read_syntax_file): Process `include ...` before first
`file ...`, so color definitions can be stored separately.
2003-03-04 09:52:40 +00:00
Pavel Roskin
0503338aaf Fix from Adam Byrtek <alpha@debian.org> 2003-03-03 20:16:58 +00:00
Andrew V. Samoilov
599f3e8bfb * syntax.c (subst_defines): New function to substitute defines.
(this_try_alloc_color_pair): Move color substitution ...
(edit_read_syntax_rules): ... here.  Use subst_defines() to
substitute colors for contexts and keywords.  Allow multiword
defines.
2003-03-03 13:37:45 +00:00
Andrew V. Samoilov
c3cbaed289 Andrew V. Samoilov has moved. Add Wayne Roberts to contributors 2003-03-03 11:25:48 +00:00
Andrew V. Samoilov
0c03bd9dd3 * (edit_read_syntax_rules): Fix memory corruption if key is redefined 2003-03-03 08:55:11 +00:00
Pavel Roskin
6747ef213e * lib/mc.lib: Add xterm arrows both for application and normal
mode.  Normal mode can be accidentally enabled if one mc is run
from another and Ctrl-O is used to switch between them.
Add F11-F20 definitions for cons25 (FreeBSD console).
2003-03-03 08:05:49 +00:00
Pavel Roskin
b9081640b0 * profile.c (load): Fix reading keys immediately after comments. 2003-03-03 07:59:11 +00:00
Pavel Roskin
578343d41a Grammatical fix. Don't mention dbx, it may have a different command line. 2003-02-28 19:54:58 +00:00
Pavel Roskin
fafc7c6365 * syntax/cs.syntax: New file.
* syntax/Syntax: Add cs.syntax.
* syntax/Makefile.am: Likewise.
2003-02-27 21:15:44 +00:00
Pavel Roskin
de76b1b063 Remove list of authors. It's hard to keep this list up to date with the
AUTHORS file.
2003-02-27 20:56:00 +00:00
Pavel Roskin
d43e7aaafa Add all contributors.
Change wording to discourage private e-mails to the developers.
2003-02-27 20:53:35 +00:00
Pavel Roskin
1e5340ac27 Add:
Screen saving is now supported on FreeBSD console.
2003-02-27 20:36:15 +00:00
Marco Ciampa
a1f1afd8b1 A little stilistic change. 2003-02-27 13:07:47 +00:00
Marco Ciampa
cb24a269f7 Updated manual, added -e switch description. 2003-02-27 12:58:41 +00:00
Pavel Roskin
ff82223a35 Remove references to the archaic "linux" preprocessor definition.
Only __linux__ should be used.
2003-02-27 05:09:35 +00:00
Pavel Roskin
6b986e7547 Don't include main.h - it's not needed. 2003-02-27 05:01:40 +00:00
Pavel Roskin
e65f20852b * cons.handler.c: Put checks for rxvt extensions in one place.
Simplify FreeBSD code.
2003-02-27 04:57:58 +00:00
Pavel Roskin
1806aed543 Add COPYING. 2003-02-26 19:32:13 +00:00
Pavel Roskin
c8f5d1a7f5 * syntax/syntax.syntax: Highlight "define". 2003-02-26 19:31:07 +00:00
Pavel Roskin
c799424167 Fix for the previous patch to avoid freeing bogus pointers. 2003-02-26 19:25:13 +00:00
Andrew V. Samoilov
f0a33821e6 * syntax.c (edit_read_syntax_rules): Add args argument and it
use instead of own auto args array to share this area with ...
(edit_read_syntax_file): ... this.  Adjust for the above.
Use strncpy() instead of unsafe strcpy().
2003-02-26 19:15:27 +00:00
Pavel Roskin
a8a0f0c17a * cons.handler.c: Add implementation for FreeBSD 4.x and 5.x. 2003-02-26 19:14:52 +00:00
Andrew V. Samoilov
6a8a443ed2 * syntax.c (edit_read_syntax_rules): Add args argument and it
use instead of own auto args array to share this area with ...
(edit_read_syntax_file): ... this.  Adjust for the above.
Use strncpy() instead of unsafe strcpy().
2003-02-26 19:01:40 +00:00
Pavel Roskin
c6311c4ca5 * view.c (load_view_file): Make sure view->s.st_size is not
truncated when passed to g_malloc().
Reported by Philipp Thomas <pthomas@suse.de>
2003-02-26 18:06:27 +00:00
Pavel Roskin
6df9219f85 * extfs.c (extfs_open): Retain original filename as a suffix
for the temporary filename.
* vfs.c (mc_def_getlocalcopy): Likewise.
2003-02-26 17:43:18 +00:00
Andrew V. Samoilov
9ec797a024 * extfs/patchfs.in: rm and proper copyin support, more
functions to make code more clear.
2003-02-26 15:08:37 +00:00
Andrew V. Samoilov
4dc31f3e06 (this_try_alloc_color_pair): Set fg to f if fg is not NULL. Likewise for
fg and bg.
(edit_free_syntax_rules): Call destroy_defines() even if there is no rules.
2003-02-25 16:16:18 +00:00
Pavel Roskin
0158eaf0f3 * syntax.c (defines): New static variable for list of defines.
(mc_defines_destroy): New function to release memory of key
pair.
(destroy_defines): New function to destroy list of defines
completely.
(this_try_alloc_color_pair): Use strncpy() instead of unsafe
strcpy().  Use values from list of defines to substitute given
parameters.
(edit_read_syntax_rules): Initialize list of defines and process
new "define" keyword.  Use strncpy() instead of unsafe strcpy().
(edit_free_syntax_rules): Destroy list of defines.
2003-02-25 15:07:53 +00:00
Pavel Roskin
9c5a3c3b8d Document "mc -e" 2003-02-25 14:38:03 +00:00
Marco Ciampa
d7497b6b67 Just uno string left untraslated. 2003-02-23 14:01:28 +00:00
Marco Ciampa
d9de24cc48 Committed some stilistic changes to the italian manual pages. 2003-02-23 14:00:39 +00:00
Pavel Roskin
c13e3a213a * lib/mc.ext.in: Add entry for QNX Neutrino packages. 2003-02-23 05:52:05 +00:00
Pavel Roskin
f5d76afe37 * key.c (get_modifier): Add support for QNX Neutrino console. 2003-02-23 05:36:49 +00:00
Pavel Roskin
03c475c4b7 Add: libX11 is loaded dynamically using gmodule. 2003-02-23 05:25:57 +00:00
Pavel Roskin
66b2b1381c * key.c (init_key_x11): Don't try to use X11 if DISPLAY is not
set in the environment.
2003-02-23 05:23:04 +00:00
Pavel Roskin
92da7e9dc0 * key.c: Add support for dynamic loading of libX11. 2003-02-23 05:05:49 +00:00
Pavel Roskin
509020b6b5 * acinclude.m4 [AC_G_MODULE_SUPPORTED]: New macro.
* configure.in: Test for gmodule.  Don't link mc with libX11 if
gmodule is supported.
2003-02-23 04:38:24 +00:00
Pavel Roskin
ea299013c3 Remove debugging "echo". 2003-02-23 03:56:31 +00:00
Pavel Roskin
6536eb48f2 * configure.in: Add --with-glib12 option to confugure to force using glib 1.2.x. 2003-02-22 21:15:50 +00:00
Andrew V. Samoilov
ebc8d1690a * editmenu.c (OptMenuEmacs): Define as OptMenu.
(SearReplMenuEmacs): Define as SearReplMenu.
(EditMenuEmacs): Define as EditMenu.
2003-02-21 23:32:06 +00:00
Pavel Roskin
0f70a1c7ea * utilunix.c (destroy_groups): Revert last change, it doesn't
work with glib-1.2.x.
2003-02-21 16:32:32 +00:00
Andrew V. Samoilov
71b13d75c6 * doc/ru/mc.1.in (Extension File Edit): Translate include feature. 2003-02-21 14:54:18 +00:00
Andrew V. Samoilov
274b53e1c1 * doc/ru/mc.1.in (Layout): Translate 'Xterm window title' option. 2003-02-21 14:09:06 +00:00
Andrew V. Samoilov
148f864e4e Highlight "time" command. 2003-02-21 09:45:27 +00:00
Pavel Roskin
d667648fd5 Exclude from diff *.po and *.gmo files, but not the whole po directory. 2003-02-21 03:00:28 +00:00