Commit Graph

2843 Commits

Author SHA1 Message Date
Pavel Roskin
6fe51516de * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.
This avoids creating long filenames in dirent.c when the "name"
field is used.
* extfs.c (vfs_extfs_ops): Likewise.
* fish.c (vfs_fish_ops): Likewise.
* ftpfs.c (vfs_ftpfs_ops): Likewise.
* local.c (vfs_local_ops): Likewise.
(vfs_nil_ops): Likewise.
* mcfs.c (vfs_mcfs_ops): Likewise.
* sfs.c (vfs_sfs_ops): Likewise.
* tar.c (vfs_tarfs_ops): Likewise.
* undelfs.c (vfs_undelfs_ops): Likewise.
2001-06-11 21:58:58 +00:00
Pavel Roskin
cc78b0ccdc * Makefile.MIN: Add "-mno-cygwin" to MC_MISC_CFLAGS.
* Makefile.PC: Use VERSION, not ../VERSION. Add a rule to
extract package version from ../configure.in.
* mc.rc: Include VERSION, not ../VERSION.
2001-06-11 15:39:57 +00:00
Pavel Roskin
1e6d15a98b * Sat Jun 09 2001 Pavel Roskin <proski@gnu.org>
- Use %{_prefix} and %{_mandir}. Specify --mandir to configure.
2001-06-11 12:19:10 +00:00
Andrew V. Samoilov
3f801e3e37 * selcodepage.c (do_select_codepage): Fix compilation. 2001-06-11 12:11:06 +00:00
Andrew V. Samoilov
17791c512b * dlg.[ch] (x_set_dialog_title): title constified.
(create_dlg): Use g_new0 instead of g_new.
2001-06-11 11:25:25 +00:00
Andrew V. Samoilov
aa8b92b547 * gmain.c (x_set_dialog_title): title constified.
(xtoolkit_create_dialog): Don't hardcode layout file location.
2001-06-11 11:17:23 +00:00
Pablo Saratxaga
d0ac0bff43 updated Azeri file 2001-06-10 16:46:21 +00:00
Marco Ciampa
455c85c136 Some corrections made at chown & chmod applets 2001-06-09 08:28:02 +00:00
Pavel Roskin
62d3aaeffc * ru.po: Update. 2001-06-09 07:52:16 +00:00
Pavel Roskin
e7c0ad7af1 Ignore *.cat, *.msg and *.pox. 2001-06-09 07:28:50 +00:00
Pavel Roskin
89efd201ca Give credit to Andrew V. Samoilov for the last patch. 2001-06-09 07:24:50 +00:00
Pavel Roskin
97b1ab977f * editcmd.c (catstrs): Use interactive_display() without
specifying the help file.
From Andrew V. Samoilov.
2001-06-09 07:24:04 +00:00
Pavel Roskin
58d8979490 * util.c (load_mc_home_file): New function. Load file from
mc_home, but try localized version of that file first.
* util.h: Declare load_mc_home_file().
* help.c (interactive_display): Use load_mc_home_file(). If the
first argument is NULL assume mc.hlp.
* dlg.c (dialog_handle_key): Use interactive_display() without
specifying the help file.
* tree.c (tree_copy): Likewise.
* cmd.c (help_cmd): Likewise.
(get_random_hint): Use load_mc_home_file().
2001-06-09 07:13:46 +00:00
Marco Ciampa
9193c81bd9 Codepage messages related translated & other stuff... 2001-06-08 14:28:46 +00:00
Andrew V. Samoilov
fbd1a3f367 * editcmd.c [HAVE_CHARSET]: Really include charset.h.
* editmenu.c (edit_wrap_cmd): Memory leaking fixed.
2001-06-08 07:22:28 +00:00
Pavel Roskin
2c5388d1ac * doc-gnome/C/gmc.sgml: Remove index - it's not used in the
GNOME documentation template.
* doc-gnome/C/mkhtml: Don't generate index.
* doc-gnome/C/Makefile.am: Don't distribute genindex.sgml.
2001-06-08 01:14:26 +00:00
Andrew V. Samoilov
46e9007ea3 * charsets.h: Define CHARSETS_INDEX without leading LIBDIR.
* charsets.c (translate_character): Warning fix.
(init_translation_table): Don't deal with printable.
This one is initialized by init_printable_table ().
(load_codepages_list): Use CHARSETS_INDEX.

* selcodepage.c (do_select_codepage): Messages marked for i18n.
* setup.c (load_setup): Eliminate errbuf. Fix error message.
2001-06-07 22:36:45 +00:00
Pavel Roskin
e7f81bb092 * setup.c (load_setup): Call init_printable_table() and
init_translation_table() regardless of other failures.
2001-06-07 20:47:36 +00:00
Pavel Roskin
d3b2663c2e * charsets.c (get_codepage_index): Warning fix.
(init_printable_table): New function.
* charsets.h: Declare init_printable_table().
* setup.c (load_setup): Uncomment init_printable_table().
2001-06-07 20:04:03 +00:00
Pavel Roskin
c4c5f40a87 * cons.saver.c: Make all functions except main() static.
* mfmt.c (omain): Remove, it's unused.
2001-06-07 19:28:03 +00:00
Pavel Roskin
f76fdaf75a * update.pl: When using `--maintain' only scan ordinary files. 2001-06-07 16:13:29 +00:00
Pavel Roskin
49d8cd7f50 * sfs.c (sfs_init): Change some warning messages to simplify
their translation.
2001-06-07 05:08:52 +00:00
Pavel Roskin
306136eb20 * ru.po: Update.
* POTFILES.in: Add src/charsets.c, src/selcodepage.c and
src/setup.c.
2001-06-07 05:06:55 +00:00
Pavel Roskin
2ff3d69aa3 * Makefile.in: Don't use terms.o.
* glayout.c: Remove unused global variables. Set command_prompt
to 0.
2001-06-06 22:01:53 +00:00
Pavel Roskin
4d15e658d7 * main.c (done_mc) [HAVE_X]: Don't use xterm_flag.
(midnight_callback) [HAVE_X]: Don't handle any keys except
Ctrl-x sequences.
Remove useless preprocessor conditionals.
* win.c [HAVE_X]: Disable unused functions.
2001-06-06 21:41:44 +00:00
Pavel Roskin
aa8c484f31 * shared_ftp_fish.c: Remove.
* Make-mc.in: Remove shared_ftp_fish.c.
* Makefile.am: Likewise.
2001-06-06 19:07:21 +00:00
Pavel Roskin
4acc96c9c7 * POTFILES.in: Remove vfs/shared_ftp_fish.c. 2001-06-06 19:06:17 +00:00
Pavel Roskin
9a26b9ba2f * gprefs.c [!USE_VFS]: Disable VFS code to allow compilation. 2001-06-06 16:38:03 +00:00
Pavel Roskin
bcfea1e371 * file.c: Add comments after every endif.
[HAVE_GNOME] [!WITH_BACKGROUND]: Fix compilation.
2001-06-06 16:32:31 +00:00
Pavel Roskin
c90efec4ed * gmc-client.c (main): Warning fix. 2001-06-06 15:04:33 +00:00
Pavel Roskin
74ea91f34d * lib/Makefile.am: Make compatible with Automake 1.4 - remove
conditional variables from EXTRA_DIST.
2001-06-06 14:24:08 +00:00
Andrew V. Samoilov
d1ebd015ce * boxes.c (sel_charset_button): Eliminate C++ comment.
(new_display_codepage): Made static.
(display_bits_box): Use "%s" for plain string in message.
2001-06-06 13:46:24 +00:00
Andrew V. Samoilov
71ad50aeca * main.c [HAVE_CHARSET]: Remove source_codepage and display_codepage.
They are declared in selcodepage.c.
* setup.c [USE_VFS]: Remove declarations for variables which are
declared in vfs/ftpfs.c.
(load_setup) [HAVE_CHARSET]: init_printable_table commented
out to enable compilation. Error strings tagged for translation.
(init_setup): Optimized.
2001-06-06 11:52:32 +00:00
Pavel Roskin
998bbab143 * edit/edit_key_translator.c [HAVE_CHARSET]: Add charset
conversion support.
From Walery Studennikov <hqsoftware@mail.ru>.
2001-06-05 23:04:38 +00:00
Pavel Roskin
c645d780c7 * edit.c [HAVE_CHARSET]: Include charsets.h and selcodepage.h.
* editcmd.c [HAVE_CHARSET]: Add charset conversion support.
* editdraw.c [HAVE_CHARSET]: Likewise.
From Walery Studennikov <hqsoftware@mail.ru>.
2001-06-05 23:02:08 +00:00
Pavel Roskin
cd1fd56223 * boxes.c [HAVE_CHARSET]: New charset selection dialog.
* main.c [HAVE_CHARSET]: Don't use eight_bit_clean and
full_eight_bits. Use source_codepage and display_codepage to
deduce the terminal 8-bitness.
* main.h [HAVE_CHARSET]: Change to match main.c.
* setup.c [HAVE_CHARSET]: Implement saving and loading charset
settings.
* util.c (is_printable) [HAVE_CHARSET]: Use charset settings.
* view.c [HAVE_CHARSET]: Implement charset support.
From Walery Studennikov <hqsoftware@mail.ru>.
2001-06-05 22:49:15 +00:00
Pavel Roskin
d34b0fde60 * selcodepage.c (do_select_codepage): New function.
* selcodepage.h: Declare it.
From Walery Studennikov <hqsoftware@mail.ru>.
2001-06-05 22:28:11 +00:00
Pavel Roskin
0e46f60810 * mfmt.c (omain): Warning fix. 2001-06-05 22:21:42 +00:00
Marco Ciampa
8f2b254483 my homework was late :-) 2001-06-05 22:08:38 +00:00
Pavel Roskin
72db8e927d * key.c [HAVE_TEXTMODE_X11_SUPPORT]: Rename `display' to
`x11_display' and `w' to `x11_window'. Make them static.
(init_textmode_x11_support): Include into init_key().
(done_textmode_x11_support): Include into done_key().
(k_dispose): Make static.
(s_dispose): Likewise.
* key.h: Remove init_textmode_x11_support() and
done_textmode_x11_support().
* main.c: Don't call init_textmode_x11_support() and
done_textmode_x11_support().
2001-06-05 22:08:31 +00:00
Pavel Roskin
7b340a2af9 * achown.c: Make global variables static if possible. Remove now
useless preprocessor directives, since this file is now used in
the text edition only.
* boxes.c: Remove useless ifdefs.
[USE_VFS]: Don't undef USE_NETCODE - it's done in extraconf.h.
* cmd.c [USE_VFS]: Don't undef USE_NETCODE.
* chmod.c: Remove useless ifdefs.
* filegui.c: Likewise.
* hotlist.c: Likewise.
* info.c: Likewise.
* layout.c: Likewise.
* listmode.c: Likewise.
* option.c: Likewise.
* subshell.c: Likewise.
* help.c: Remove useless ifdefs. Make global variables static if
possible.
* key.c: Likewise.
* learn.c: Likewise.
2001-06-05 16:41:44 +00:00
Pavel Roskin
adb76aab8f * extraconf.h [HAVE_X]: Undefine HAVE_TEXTMODE_X11_SUPPORT. 2001-06-05 15:27:48 +00:00
Andrew V. Samoilov
2c2744b763 * charsets.c (load_codepages_list): Lines in mc.charset beginning
with a # are comments. Use "default character_set_name" in mc.charset
to set default codepage for your system.
(xstrncpy): Eliminate.
2001-06-05 01:00:26 +00:00
Pavel Roskin
28da0eda1f * gmcd.c (gnome_filter_cmd): Set default regex filter to "^.*$".
Don't translate it.
(set_cursor_busy): Warning fix.
2001-06-04 21:12:11 +00:00
Pavel Roskin
4018a4bb6d * cmd.c (edit_symlink_cmd) [!HAVE_GNOME]: Warn if the current
selection is not a symbolic link.
2001-06-04 20:57:37 +00:00
Marius Andreiana
e514211bb1 2001-06-03 Marius Andreiana <mandreiana@yahoo.com>
* ro.po: updated
2001-06-03 13:00:11 +00:00
Pavel Roskin
cacd759dde * Makefile.in: Don't use hotlist.o. Remove annoying message. 2001-06-02 06:55:45 +00:00
Pavel Roskin
47754df0c4 * cmd.c (free_vfs_now) [HAVE_GNOME]: Eliminate.
(reselect_vfs) [HAVE_GNOME]: Likewise.
* main.c (ctl_x_map) [HAVE_GNOME]: Disable add2hotlist_cmd.
(done_mc) [HAVE_X]: Don't call save_hotlist().
* setup.c (save_setup) [HAVE_X]: Likewise.
(done_setup) [HAVE_X]: Don't call done_hotlist().
2001-06-02 06:52:28 +00:00
Pavel Roskin
c6f85d7969 * vfs.c (vfs_canon): s/canonize/canonicalize/. 2001-06-02 06:36:00 +00:00
Pavel Roskin
d2724e215a * gmain.c (x_init_dlg): Warning fix for buggy Gtk that doesn't
always cast the argument to GTK_OBJECT.
2001-06-02 02:10:47 +00:00