Commit Graph

2672 Commits

Author SHA1 Message Date
Andrew V. Samoilov
0477cda1c3 * Make-mc.in (mostlyclean): Remove $(VFSSOOBJS).
(clean): Remove *.so.

* smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h,
../src/tty.h and ../src/global.h.

(password, username): Made static.
(is_error): Commented out.
(loaddir_helper): Don't ignore hidden files, style fixes.
(browsing_helper): typestr declared as char *, fstrcpy replaced by =.

(do_connect): Call cli_shutdown () and authinfo_remove () if
cli_session_setup () fails. It is not good idea to remember
wrong username/password.

(smbfs_free_dir): Nested between #ifdef SMBFS_FREE_DIR ... #endif.
(smbfs_readdir): #ifdef SMBFS_FREE_DIR used instead of C comment.
2001-05-22 13:18:18 +00:00
Marco Ciampa
7066edb5dc Corrected some authors email addresses. 2001-05-22 12:21:14 +00:00
Pavel Roskin
3bc8677b96 * doc-gnome/C/mkhtml: Use jade directly, not jw. Support DSL and
JADEFLAGS environment variables. Report progress. Clean up on
failure.
2001-05-22 07:56:04 +00:00
Pavel Roskin
1430a963ec Add HTML.index 2001-05-22 07:53:33 +00:00
Pavel Roskin
112b99950e * sfs.c (redirect): Don't free the filename after failed
mc_mkstemps() - it's not needed anymore.
2001-05-22 07:11:32 +00:00
Pavel Roskin
a13c1d1928 * ext.c (exec_extension): Use g_free() on the result of
mc_mkstemps(). Don't free it if mc_mkstemps() fails - it's not
needed anymore.
* user.c (execute_menu_command): Likewise.
* util.c (mc_mkstemps): Return NULL in the filename in the case
of failure. Remove support for NULL as the first argument.
From Andrew V. Samoilov.
2001-05-22 07:10:43 +00:00
Pablo Saratxaga
f46e633753 updated Catalan file 2001-05-22 04:06:44 +00:00
Pablo Saratxaga
288174848d fixed multibyte 2001-05-21 17:13:17 +00:00
Pavel Roskin
5598eefcd7 * doc-gnome/C/Makefile.am: Allow "make install" without *.html 2001-05-21 16:39:14 +00:00
Pavel Roskin
bea09b932d * src/ext.c (exec_extension): Use mc_mkstemps().
* src/user.c (execute_menu_command): Use mc_mkstemps().
* src/util.c (mc_mkstemps): New function - safely create and
open temporary file. Return the handle and the name.
* src/util.h: Declarations for init_tmpdir() and mc_mkstemps().
Define TMPDIR_DEFAULT and SCRIPT_SUFFIX.
* vfs/direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
temporary file to reserve its name on the filesystem.
(vfs_s_retrieve_file): Use mc_mkstemps().
(g_tempnam): Remove.
* vfs/extfs.c (extfs_open): Use mc_mkstemps().
* vfs/sfs.c (redirect): Likewise.
* vfs/shared_ftp_fish.c (_get_file_entry): Likewise.
(retrieve_file): Likewise.
* vfs/vfs.c (mc_def_getlocalcopy): Likewise.
* vfs/xdirentry.h: Remove declaration of g_tempnam().
2001-05-21 16:21:07 +00:00
Pavel Roskin
f501a07de8 Funny typo - s/adopt/adapt/. 2001-05-21 15:57:53 +00:00
Pavel Roskin
6aaa644446 * doc-gnome/C/mkhtml: Print a big warning if the script fails.
* doc-gnome/C/Makefile.am: Ignore exit status of mkhtml.
2001-05-21 15:53:43 +00:00
Pavel Roskin
bb89abd7b4 Don't require stylesheets, since HTML files are now in the tarball. 2001-05-20 07:44:07 +00:00
Pavel Roskin
9a39356390 * doc-gnome/C/Makefile.am: Distribute mkhtml and genindex.sgml.
Create figs/*.eps if needed. Simplify rules for gmc.dvi and
gmc.rtf - DocBook 4.1 doesn't try to write to $(srcdir).
* doc-gnome/C/figs/Makefile.am: Add support for converting from
PNG to EPS.
2001-05-20 06:43:07 +00:00
Pavel Roskin
83d9f3bdcb Add *.eps. 2001-05-20 06:33:26 +00:00
Pavel Roskin
e7ae37e0bf Add gmc.pdf. 2001-05-20 06:32:38 +00:00
Pavel Roskin
5eb1e5b0f7 * gmount.c: Fix warning "extra token after endif". 2001-05-20 06:17:24 +00:00
Pavel Roskin
5f284d60a2 * Makefile.am (EXTRA_DIST): Remove create_vcs.
* doc/FILES: Likewise. Typo fix.
2001-05-20 06:11:10 +00:00
Pavel Roskin
95e120871d Add genindex.sgml. 2001-05-20 05:08:08 +00:00
Pavel Roskin
d00dc1fdf8 * doc-gnome/C/mkhtml: New file. Create HTML files from gmc.sgml.
* doc-gnome/C/Makefile.am: Don't handle *.css - there are none
with DocBook 4.1. Never use `cp' without `-f'. Use mkhtml.
2001-05-20 05:05:07 +00:00
Pavel Roskin
f29a6f8253 * doc-gnome/C/gmc.sgml: Use DTD DocBook V4.1. Fix duplicate
index entry "Moving files".
2001-05-20 03:51:27 +00:00
Pavel Roskin
133919b119 * configure.in: Use src/main.c in AC_INIT. 2001-05-19 04:20:33 +00:00
Pavel Roskin
ba950320db * create_vcs: Remove. 2001-05-19 00:26:46 +00:00
Pavel Roskin
8841b6cc5f * editcmd.c (edit_replace_prompt): Warning fix. 2001-05-18 19:25:23 +00:00
Pavel Roskin
8a025d6efa * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
with NULL to suppress compiler warning.
2001-05-18 19:04:42 +00:00
Pavel Roskin
38a1e6499c * INSTALL: Update download locations for MC, rxvt, gpm, ncurses.
Add download location for glib.
* mc.spec.in: Likewise.
* doc/LSM: Likewise.
* doc/mc.1.in: Likewise.
* doc/mcedit.1.in: Likewise.
* src/ext.c: Don't mention download location for MC.
2001-05-18 18:44:51 +00:00
Pavel Roskin
5f8add985b * TODO: Remove Tk-related entries.
* boxes.c [HAVE_TK]: Remove. Don't need INPUT_INDEX anymore.
* screen.c [HAVE_TK]: Remove.
(panel_event): Made static.
* chmod.c [HAVE_TK]: Remove.
* cmd.c [HAVE_TK]: Likewise.
* help.c [HAVE_TK]: Likewise.
* hotlist.c [HAVE_TK]: Likewise.
* info.c [HAVE_TK]: Likewise.
* view.c [HAVE_TK]: Likewise.
* view.h [HAVE_TK]: Likewise.
* widget.c [HAVE_TK]: Likewise.
* wtools.c [HAVE_TK]: Likewise.
2001-05-18 17:44:02 +00:00
Pavel Roskin
944d5416c0 * TODO: Remove XView-related entries.
* menu.h [HAVE_XVIEW]: Remove all XView-related code.
2001-05-18 16:58:03 +00:00
Pavel Roskin
6749447c8e * FAQ: Update status of Tk, XView. and GNOME editions. Update
homepage of gpm.
2001-05-18 16:52:26 +00:00
Pavel Roskin
327797ea96 * INSTALL: Remove information about Tk and XView. Change the
mailing list addresses again.
* FAQ: Change the mailing list addresses again.
* MAINTAINERS: Likewise.
* README: Likewise.
* doc/mc.1.in: Likewise.
* gnome/gmc-window.c: Likewise.
* lib/README.xterm: Likewise.
* lib/mc.ext.in: Likewise.
* lib/mc.hint*: Likewise.
* lib/mc.hlp.hu: Likewise.
* po/*.po: Likewise.
* src/main.c: Likewise.
2001-05-18 16:28:22 +00:00
Andraz Tori
2c4a83e3ce Updated Slovenian translation 2001-05-17 23:56:04 +00:00
Pavel Roskin
85e2dac3be * subshell.c (pty_open_master) [HAVE_SCO]: Fix ambigous `else'.
[!HAVE_SCO && !HAVE_GRANTPT]: Likewise.
2001-05-17 16:53:35 +00:00
Pavel Roskin
d21f09608b * subshell.c: Define _GNU_SOURCE to enable prototypes for
allocating pseudo-terminals on GNU systems.
2001-05-17 00:47:51 +00:00
Pavel Roskin
7f448a4c2e * subshell.c (init_subshell_child): New function to initialize
child process and run subshell. Code moved from ...
(init_subshell): ... here.
2001-05-17 00:40:18 +00:00
Pavel Roskin
2d11201264 * subshell.c (init_subshell): Don't close pty_slave if is wasn't
open. Initialize it with -1.
2001-05-17 00:13:19 +00:00
Pavel Roskin
de9c31f3c6 * POTFILES.in: Remove gnome/gprop.c. 2001-05-15 01:20:51 +00:00
Pavel Roskin
d56cd43d22 * gcache.c: Remove.
* gcache.h: Likewise.
* gcliplabel.c: Likewise.
* gcliplabel.h: Likewise.
* ghelp.c: Likewise.
* ginfo.c: Likewise.
* gpageprop.c: Likewise.
* gpageprop.h: Likewise.
* gprop.c: Likewise.
* gprop.h: Likewise.
* Makefile.in: Adjust for the above.
* glayout.c: Don't include the above headers.
* gpopup2.c: Likewise.
* gscreen.c: Likewise.
2001-05-15 01:18:22 +00:00
Pavel Roskin
cc8fa6552a * main.c [HAVE_GNOME]: Disable more code.
* cmd.c [HAVE_GNOME]: Likewise.
2001-05-15 00:53:48 +00:00
Pavel Roskin
b0a82c83b5 * gcorba.c: Add "const" when needed to match FileManager.idl. 2001-05-15 00:03:21 +00:00
Pavel Roskin
da80aef5a8 * ftpfs.c: Warning fixes. 2001-05-14 23:34:43 +00:00
Pavel Roskin
02cd7bff21 * utilvfs.h: Include background.h.
* cpio.c: Include utilvfs.h.
2001-05-14 23:30:21 +00:00
Pavel Roskin
bc5e0cd228 * background.h: Omit definitions that require FileOpContext if
fileopctx.h has not been included yet.
2001-05-14 23:28:29 +00:00
Pavel Roskin
9ad5b2ac54 * gtools.c (message): Use g_vsnprintf(). Make the "text"
argument constant.
2001-05-14 23:06:43 +00:00
Pavel Roskin
f6403d9972 * background.c (real_message_2s): Declare arguments "const" when
possible.
(real_message_3s): Likewise.
* wtools.c (message): Likewise.
* background.h: Change declarations to match.
* dialog.h: Likewise.
2001-05-14 22:50:28 +00:00
Pavel Roskin
532c80d929 * complete.c [HAVE_GNOME]: Likewise.
* main.c [HAVE_GNOME]: Likewise.
2001-05-14 22:17:06 +00:00
Pavel Roskin
1bb43b9c1a * boxes.c [HAVE_GNOME]: Disable unused code.
* find.c [HAVE_GNOME]: Likewise.
2001-05-14 21:57:10 +00:00
Pavel Roskin
a036aa0207 * screen.c (adjust_top_file): Enable only if it's used, i.e.
when PORT_HAS_PAINT_FRAME in undefined.
* wtools.c (listbox_refresh): Disable for HAVE_X, define to
an empty macro instead.
(listbox_callback): Call listbox_refresh() regardless of HAVE_X.
(create_listbox_window): Likewise.
2001-05-14 21:35:56 +00:00
Pavel Roskin
21d3c2b138 * fsusage.c: Include stdlib.h for abort().
* tree.c (tree_mkdir_cmd): Disable tree_mkdir_cmd() since it's
not used.
* widget.c: Declare x_radio_toggle() with arguments.
2001-05-14 21:18:58 +00:00
Pavel Roskin
814ee01b63 * util.h: Remove declarations of some functions defined in
background.c.
2001-05-14 21:08:45 +00:00
Pavel Machek
c4bc884645 add possibility to build libvfs.so 2001-05-14 20:38:30 +00:00