Pavel Roskin
2383b3f7c1
* editcmd.c (canonicalize_pathname) [GTK]: Rename to ...
...
(edit_canonicalize_pathname): ... this to avoid namespace clash.
* edit.h [MIDNIGHT]: Include "src/cmd.h" and "src/user.h".
Remove declarations duplicating "src/user.h".
[GTK]: Include "src/dialog.h" and "src/util.h".
2001-06-15 23:43:21 +00:00
Pavel Roskin
7205d0210c
* background.c: Include "x.h".
...
* panelize.c: Likewise.
* treestore.c: Likewise.
* user.c: Likewise.
* util.c: Likewise.
* command.c: Reorder includes. Include "x.h".
* complete.c: Likewise.
* find.c: Likewise.
* user.h: Declare user_menu_cmd() inconditionally.
* i18n.h [GAVE_GNOME]: Remove code that is now in x.h.
2001-06-15 23:37:59 +00:00
Pavel Roskin
7ba1e1aa4c
* gdesktop-icon.c: Reorder includes - local after system.
...
* gdesktop-prefs.c: Likewise.
* gsession.c: Likewise.
* gdesktop-init.c: Likewise. Include "x.h".
* gdnd.c: Likewise.
* gprint.c: Likewise.
2001-06-15 23:28:07 +00:00
Pavel Roskin
5c02b56d65
* gcmd.c (get_nickname): Warning fix - label at the end of
...
`case' statement.
(gnome_external_panelize): Likewise.
* gdialogs.c (file_delete_query_recursive): Likewise.
2001-06-15 23:18:24 +00:00
Andrew V. Samoilov
442bf424d9
* vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
...
exclusive now.
(is_week): Unmade week static.
(is_month): Unmade month static.
(vfs_parse_ls_lga): Optimize memory usage.
2001-06-15 22:42:50 +00:00
Andrew V. Samoilov
269af251b8
* sfs.c: Remark about shell removed.
...
(sfs_init): Optimized.
2001-06-15 22:32:15 +00:00
Pavel Roskin
ed77566cf2
* editmenu.c (edit_wrap_cmd): Fix declaration.
...
(edit_about_cmd): Likewise.
* editwidget.c (get_key_state): Likewise.
2001-06-15 22:06:11 +00:00
Pavel Roskin
accec2e1c1
* Makefile.am: Remove src/param.h.
2001-06-15 07:51:24 +00:00
Pavel Roskin
5533651e6d
Update.
2001-06-15 07:39:15 +00:00
Pavel Roskin
e81a25e50f
* editcmd.c (edit_quit_cmd): Don't use strcmp on the result of
...
gtk_dialog_cauldron() since it's NULL if the dialog has been
closed without using buttons.
2001-06-15 07:35:59 +00:00
Pavel Roskin
683d7f0960
* gmain.c (beep): Remove.
2001-06-15 07:05:34 +00:00
Pavel Roskin
0bf95fdacc
* tty.h [HAVE_X]: Define beep() to gdk_beep().
2001-06-15 07:04:50 +00:00
Pavel Roskin
1506609352
* gdesktop.c (): Include gprefs.h to avoid a warning.
2001-06-15 06:50:31 +00:00
Pavel Roskin
814428bcc8
* gmount.c (setup_devices): Remove nfs_count - NFS directories
...
are not numbered.
2001-06-15 06:40:08 +00:00
Pavel Roskin
0a2a50de04
* edit.c (edit_execute_cmd): Put time format to a variable to
...
avoid gcc warning about Y2K issues with %c in strftime().
2001-06-15 06:21:35 +00:00
Pavel Roskin
a06415a371
* xtty.h: Remove, move contents ...
...
* tty.h: ... here.
[HAVE_X]: Define attrset(), mc_refresh(), enable_interrupt_key()
and disable_interrupt_key(). Don't declare mc_refresh().
* view.c: Use braces around widget_move() since it's empty in
the GNOME edition.
* xslint.c: Eliminate attrset() and mc_refresh().
* Makefile.in: Remove xtty.h.
2001-06-15 00:24:14 +00:00
Pavel Roskin
8c1534e4e6
* cons.handler.c (handle_console): Remove useless default.
...
* ext.c (regex_command): Initialize include_target_len.
* find.c [HAVE_GNOME]: Eliminate untyped declarations.
* fsusage.c: Remove untyped declaration of statfs().
[_AIX && _I386]: Rename statfs to aix_statfs and move
it before get_fs_usage(). Define statfs to aix_statfs.
2001-06-14 23:28:54 +00:00
Pavel Roskin
bec643d103
* achown.c: Eliminate untyped declarations.
...
* boxes.c: Likewise.
* cons.saver.c: Likewise.
* hotlist.c: Likewise.
* panelize.c: Likewise.
* rxvt.c: Likewise.
* main.c: Likewise. Make undeclared functions static.
* treestore.c: Make undeclared functions static.
* view.c: Likewise.
* widget.c: Likewise.
2001-06-14 22:33:00 +00:00
Pavel Roskin
b916d53577
* gmain.c (try_alloc_color_pair): Remove.
2001-06-14 21:32:10 +00:00
Pavel Roskin
c2c3918eb3
* main.h: Fix prototype of exec_shell.
...
* tree.c: Make all functions static when possible.
* tree.h: Changes for the above.
2001-06-14 21:21:25 +00:00
Pavel Roskin
6abe9e7249
* edit.c: Declare cmd_F* static. Comment out cmd_F9.
2001-06-14 21:07:58 +00:00
Pavel Roskin
5da3b42969
* ftpfs.c: Declare functions without declarations static. Don't
...
omit `void' in declarations.
* cpio.c: Likewise.
* direntry.c: Likewise.
* extfs.c: Likewise.
* mcfs.c: Likewise.
* tar.c: Likewise.
* vfs.c: Likewise.
* vfs.h: Likewise.
* mcserv.c: Likewise. Remove unused functions.
2001-06-14 20:08:27 +00:00
Pavel Roskin
b504500f49
* text.c [HAVE_X]: Remove useless #error.
...
* cons.saver.c: Indent #error to hide it from old compilers.
2001-06-14 15:59:52 +00:00
Pavel Roskin
c68f401c67
* src/param.h: Remove. Should use HAVE_SYS_PARAM_H everywhere
...
instead.
* key_nt.c: Use indented #error.
* key_os2.c: Use indented #error.
2001-06-14 15:55:24 +00:00
Pavel Roskin
b341c86ca4
* edit.c: Use indented #error for compatibility with old C
...
compilers.
2001-06-14 15:33:24 +00:00
Pavel Roskin
22a3755dc0
* util-alone.c: Use indented #error.
...
* vfs.h: Use indented #warning instead of hiding it from non-gcc
compilers.
2001-06-14 15:26:29 +00:00
Pavel Roskin
ff84fd632e
* screen.c (display_mini_info): Avoid nested i18n calls.
...
(parse_panel_size): Warning fix.
* user.c [HAVE_X]: Warning fix.
(check_format_var): Avoid nested i18n calls. Improve messages.
2001-06-13 22:12:04 +00:00
Pavel Roskin
b33943d789
* acinclude.m4 (AC_SHORT_D_NAME_LEN): Fix compiler warnings in
...
the test code.
* configure.in: Fix compiler warnings in the arguments to
AC_TRY_WARNINGS. Fix value of NEED_CRYPT_PROTOTYPE - add spaces
around `=' in the `test' command.
2001-06-13 21:33:44 +00:00
Pavel Roskin
c2f8f8d935
* screen.c (user_file_menu_cmd) [HAVE_X]: Disable.
...
(panel_callback) [HAVE_X]: Don't define labels, they are unused.
* user.c [HAVE_X]: Disable all user meny code.
2001-06-13 16:51:15 +00:00
Pavel Roskin
6d83120d2f
* edit.c (edit_execute_cmd) [GTK]: Disable user menu - it
...
doesn't work.
(user_menu) [GTK]: Disable.
* gtkedit.c (tb_items): Use complete words. Disable pull-down
menu.
2001-06-13 07:49:39 +00:00
Pavel Roskin
869afff53c
* color.c (color_table): Make static. Only use in text edition.
...
* xtty.h: Remove unused definitions.
2001-06-13 07:19:48 +00:00
Pavel Roskin
c603d50193
* slint.c (slang_init): Check screen dimensions and exit if they
...
are abnormal. This may happen due to a S-Lang bug when the TERM
is set to a value not listed in termcap or terminfo.
2001-06-13 06:53:08 +00:00
Pavel Roskin
624c3eb71d
* es.po: Update.
...
* es_ES.po: Likewise.
2001-06-12 19:03:13 +00:00
Pavel Roskin
212444523c
* boxes.c [HAVE_CHARSET]: Localize more strings. Lay out the
...
encoding dialog using the translated title length. Remove
useless preprocessor directives.
From David Martin <dmartina@excite.es>
2001-06-12 18:55:48 +00:00
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