Commit Graph

5569 Commits

Author SHA1 Message Date
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
Pavel Roskin
31ba6af202 Add:
Ctrl-q Ctrl-m in input dialog should enter \r, not a newline.
Interpret C literals in regular expressions entered by the user, e.g. \r
and \0x0D.
2003-02-20 21:07:24 +00:00
Pavel Roskin
1696ab2361 Add support for forthcoming gettext 0.12. 2003-02-20 19:48:03 +00:00
Pavel Roskin
07c9f8d8b5 Automake 1.7.3 is now used for snapshots. 2003-02-20 19:13:40 +00:00
Pavel Roskin
b4fda7049e * configure.in: Move list of all translations ...
* po/LINGUAS: ... here.
2003-02-20 18:35:32 +00:00
Andrew V. Samoilov
55ccd00c73 * direntry.c (vfs_s_dump): SunOS 5.8 warning fix. Reformat function. 2003-02-19 14:04:35 +00:00
Andrew V. Samoilov
cbe4a1adf4 * smbfs.c (smbfs_lseek): Backport from Samba 2.2.7 Suite.
(fake_server_stat): Warning fix for AIX.  Reformat function.
(fake_share_stat): Likewise.
(smbfs_mkdir): Likewise.
2003-02-19 12:56:03 +00:00
Andrew V. Samoilov
1a3f1416a8 * option.c (init_configure): Use OTHER_OPTIONS consistently.
By Mike Smithson <dooligan@intergate.ca>.
2003-02-19 10:50:24 +00:00
Andrew V. Samoilov
004ae18d9e * vfs.c (is_localized_month): New function for locale's
abbreviated month name as any 3 bytes long string without digits
and control characters.
(vfs_parse_filedate): Fallback to is_localized_month() if
is_month() and is_dos_date() fail and set date to Jan 1 1970.
(vfs_parse_ls_lga): Use is_localized_month().
2003-02-19 08:38:49 +00:00
Pavel Roskin
30aeb24388 * util.c (list_append_unique): Free removed links.
* utilunix.c (destroy_groups): Use g_tree_foreach() instead of
obsolete g_tree_traverse().
2003-02-19 00:42:04 +00:00
Pavel Roskin
cb1438913a * util.c (list_append_unique): Traverse the list backwards.
Otherwise the list was lost when the current link was removed.
2003-02-18 23:21:54 +00:00
Pavel Roskin
a2ef2fe88b * widget.c (history_get): Set the history to the last item.
Reported by Adam Byrtek <alpha@debian.org>
2003-02-18 21:43:46 +00:00
Pavel Roskin
fc0b31c73f More entries. Better descriptions. 2003-02-18 08:22:46 +00:00
Pavel Roskin
3cf9a2aabf * syntax/c.syntax: Highlight C++ comments in preprocessor
directives.
Reported by Oswald Buddenhagen <ossi@kde.org>
2003-02-18 08:03:13 +00:00
Pavel Roskin
9cf0d2c60f * main.c (do_panel_cd): Record directory history for the panel
that changes the directory, not for the current panel.
2003-02-18 06:43:04 +00:00
Pavel Roskin
35895e3c10 Done:
Remove duplicate history entries.
2003-02-18 06:30:27 +00:00
Pavel Roskin
bd19828876 * widget.c (history_get): Use list_append_unique() for backward
compatibility.
2003-02-18 06:29:43 +00:00
Pavel Roskin
f95d276250 * main.c (directory_history_list): Allow history command even
with just one entry - it's more intuitive.
2003-02-18 06:19:11 +00:00
Pavel Roskin
738e33006b * util.c (list_append_unique): New function - add text to GList
and remove duplicates.
* main.c (directory_history_add): Use list_append_unique().
* widget.c (push_history): Likewise.
2003-02-18 06:12:57 +00:00
Pavel Roskin
89e5cc319e * panel.h: Convert directory history to GList.
* widget.h: Convert input history to GList.
Adjust all dependencies.
2003-02-18 05:25:45 +00:00
Pavel Roskin
0109ef3666 Remove obsolete dependency on /sbin/chkconfig. 2003-02-16 06:26:35 +00:00
Pavel Roskin
7b7a054605 Fix some trivial translations. 2003-02-14 07:37:26 +00:00
Marco Ciampa
f3f47387a0 it.po converted in UTF-8, changed some upper/lower convention in a more 'italian' way & manual pages updated... 2003-02-13 18:56:56 +00:00
Pavel Roskin
3d26743be6 Remove copyright notices. 2003-02-12 23:48:53 +00:00
Pavel Roskin
7fd8d25bd8 Don't say that mc-4.6.0 will be released. 2003-02-12 19:23:43 +00:00
Pavel Roskin
200dce3828 Add:
Use separate colors for hotkeys in error dialogs.
2003-02-12 05:03:15 +00:00
Pavel Roskin
bb500647dd mcedit is an editor, not a viewer. 2003-02-11 21:46:19 +00:00
Pavel Roskin
fd051ca33e * cmd.c (edit_cmd_new): Call editor with NULL argiment, not with
an empty string.  nvi won't save the file if invoked with an
empty argument.
(execute_with_vfs_arg): Don't call vfs_file_is_local() on NULL.
Reported by Adam Byrtek <alpha@debian.org>
2003-02-11 19:11:36 +00:00
Pavel Roskin
881ee01385 Comment fixes. 2003-02-11 16:57:45 +00:00
Pavel Roskin
fc5b14503b Remove includes needed for my_system(), which is in utilunix.c. 2003-02-11 16:46:50 +00:00
Pavel Roskin
4ca9a308aa Add:
Allow calling directory hotlist from Copy, Move and Find File dialogs.
2003-02-11 00:39:53 +00:00
Pavel Roskin
34c12e65a5 Add improved navigation on VFS with non-empty command line. 2003-02-10 23:09:41 +00:00
Pavel Roskin
0631946e1d Add two history-related items for 4.6.1. 2003-02-10 21:47:41 +00:00