Pavel Roskin
2ba50c0365
* fsusage.c: Use HAVE_INFOMOUNT.
...
* mountlist.c: Likewise. Fix condition when mount_list is
declared.
(fstype_to_string): Rename mount_list to mlist to avoid
confusion with the file-scoped static variable.
2001-06-22 16:53:34 +00:00
Pavel Roskin
e193fccf96
* acinclude.m4 (AC_GET_FS_INFO): Warn only once that the list of
...
mounted filesystems cannot be read. Don't define NO_INFOMOUNT.
Define HAVE_INFOMOUNT_LIST if a any suitable function has been
found.
* extraconf.h: Define HAVE_INFOMOUNT and HAVE_INFOMOUNT_QNX.
2001-06-22 16:47:39 +00:00
Pavel Roskin
6ba78b2f80
s/HAVE_PARAM_H/HAVE_SYS_PARAM_H/
2001-06-22 15:56:59 +00:00
Pavel Roskin
c27d9c8cc5
* cmd.c [HAVE_X]: Disable more code. Reorder includes.
2001-06-22 15:40:12 +00:00
Pavel Roskin
b3339f9281
* main.c: Remove MenuBarEmpty. From Andrew V. Samoilov.
2001-06-20 17:15:41 +00:00
Pavel Roskin
1636c8ef6b
* wtools.c [HAVE_X]: Disable quick dialog routines.
2001-06-20 17:12:47 +00:00
Pavel Roskin
6ccb2a0131
* setup.c (save_setup) [HAVE_X]: Don't save the [Dirs] section.
...
(load_setup) [HAVE_X]: Don't load the [Dirs] section.
* main.c [HAVE_X]: Disable other_dir and boot_current_is_left.
Adjust all users.
2001-06-20 15:08:18 +00:00
Pavel Roskin
8040aeec39
* background.h: Correct condition when WITH_BACKGROUND is
...
defined.
* fsusage.c: Rearrange the includes. Define HAVE_QNX_MOUNT
for old QNX and use it instead of __QNX__.
* mountlist.c: Likewise.
* keyxdef.c: Define HAVE_QNX_KEYS for old QNX and use it instead
of __QNX__.
2001-06-19 19:57:58 +00:00
Pavel Roskin
d8ec86292f
* local.c (local_telldir): Warn and abort if telldir() is not
...
available.
(local_seekdir): Warn and abort if seekdir() is not available.
2001-06-19 19:36:54 +00:00
Pavel Roskin
a714cef98e
* configure.in: Check for telldir and seekdir. Join adjacent
...
calls to AC_CHECK_FUNCS.
2001-06-19 19:26:29 +00:00
Pavel Roskin
93125ecb19
* gtree.c: Remove.
...
* gtree.h: Likewise.
* gmenu.h: Likewise.
* Makefile.in: Changes for the above.
(OOBJS): Remove command.o.
* glayout.c: Remove command_prompt - it's unused.
* gmain.c (non_corba_create_panels): Don't create cmdline.
2001-06-19 00:54:51 +00:00
Pavel Roskin
e470f1d208
* main.c [HAVE_X]: Disable change_panel(),
...
copy_current_readlink() and copy_other_readlink().
Don't do anything with cmdline and command_prompt.
* screen.c [HAVE_X]: Disable panel_event(), chdir_other_panel()
and chdir_to_readlink(). Adjust all callers.
(panel_key) [HAVE_X]: Don't use command_prompt - always
start search on alphanumeric keys.
* setup.c [HAVE_X]: Disable save_layout(), load_layout(), struct
layout. Adjust all dependencies.
2001-06-19 00:43:56 +00:00
Pavel Roskin
4b3c6a0893
* Makefile.in (OOBJS): Remove fsusage.o and mountlist.o.
...
* gmain.h: Remove dead declaration of x_show_info().
2001-06-18 22:26:45 +00:00
Pavel Roskin
521a886013
* utilunix.c (init_my_statfs): Move this ...
...
* util.c (my_statfs): ... and this ...
* mountlist.c: ... here.
* util.h: Move mountlist-related declarations ...
* mountlist.h: ... here.
* info.c: Include mountlist.h.
2001-06-18 22:24:04 +00:00
Pavel Roskin
f76a2c4576
* tcputil.c (sig_pipe): Use the same declaration with one int
...
argument - it's used everywhere else and it fixes a warning on
systems unlisted in the ifdef, e.g. OpenBSD.
2001-06-18 20:35:44 +00:00
Pavel Roskin
4bd227b376
Fix typo. Fix formatting in several places.
2001-06-18 15:16:54 +00:00
Marco Ciampa
efcacad143
De-fuzzyed some msgs...
2001-06-17 14:26:24 +00:00
Dirk-Jan C. Binnema
fadd435b28
- fixed error, fuzzies and untranslated strings
2001-06-17 11:59:41 +00:00
Pavel Roskin
5717c2c03b
Typo fix in the last entry. Tabified.
2001-06-17 04:36:29 +00:00
Pavel Roskin
05f1de349d
* hotlist.c (init_movelist): Don't assume English word ordering
...
in the title.
2001-06-17 04:33:33 +00:00
Pavel Roskin
92e696864e
* Makefile.am: Change the order of SUBDIRS to fully compile text
...
edition before compiling anything for GNOME.
* mc.spec.in: Don't use brace expansion to avoid implicit
build-time dependency on bash.
2001-06-17 03:10:23 +00:00
Andrew V. Samoilov
3e44ffbf4c
uk.po: 3 typos fixed
2001-06-16 08:25:20 +00:00
Andrew V. Samoilov
44dd616cce
* wtools.c (message): Possible buffer overflow fixed.
...
(query_callback) [HAVE_X]: Disable more code.
(listbox_refresh) [!HAVE_X]: Became a macro.
* hotlist.c (init_i18n_stuff): Mark cancel_but for translation.
* tree.c (tree_copy, tree_move): Possible memory leaking fixed.
(tree_keymap): Constified.
2001-06-16 07:46:42 +00:00
Andrew V. Samoilov
abc861e48f
* tree.c (tree_copy, tree_move): Possible memory leaking fixed.
...
(tree_keymap): Constified.
2001-06-16 07:40:03 +00:00
Andrew V. Samoilov
c45f39a7e4
* wtools.c (message): Possibly buffer overflow fixed.
...
(query_callback) [HAVE_X]: Disable more code.
(listbox_refresh) [!HAVE_X]: Became a macro.
2001-06-16 06:17:28 +00:00
Andrew V. Samoilov
df436f8163
* hotlist.c (init_i18n_stuff): Mark cancel_but for translation.
2001-06-16 06:11:28 +00:00
Pavel Roskin
0f70501480
* gtkflist.c: Include <gtkflist.c> for abs().
2001-06-16 00:12:53 +00:00
Pavel Roskin
b4669a6baa
* panelize.c: Define DIR_H_INCLUDE_HANDLE_DIRENT earlier, since
...
the GNOME edition includes dir.h from other headers.
2001-06-16 00:09:00 +00:00
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