Commit Graph

3195 Commits

Author SHA1 Message Date
Pavel Roskin 5c7d2296ca * extfs.h (struct entry): Remove unused `has_changed' field.
It's only written but never read.
(struct inode): Likewise.
* extfs.c: All dependencies changed.
(extfs_open): Mark file as changed if it's open for writing.
2001-08-07 22:47:02 +00:00
Pavel Roskin f3e22063e1 * extfs/uzip: Update to version 1.4.0.
* extfs/README.uzip: Likewise.
2001-08-07 20:02:05 +00:00
Pavel Roskin ad3d69dfbb * gnome-open-dialog.c (get_presorted_from): Don't use PATH_MAX. 2001-08-07 18:51:58 +00:00
Pavel Roskin 4a678ed729 * doc/mc.1.in (Internal File Viewer): Document Ctrl-O and F17. 2001-08-07 17:08:09 +00:00
Pavel Roskin 2da73069b9 * view.c: Warning fixes. Include "cmd.h". Rename help_cmd()
to view_help_cmd().
(view_handle_key) [HAVE_X]: Disable '!' and Ctrl-O.
2001-08-07 16:53:55 +00:00
Pavel Roskin 5c428dc7a3 * main.c (do_execute): Don't show prompt if the command is empty
and the subshell is not running.
* view.c (view_handle_key): Add support for Ctrl-O in the viewer.
Suggested by Walery Studennikov <despair@sama.ru>
2001-08-07 16:32:22 +00:00
Pavel Roskin 554d6cacad * doc/mc.1.in: Fix all broken links. 2001-08-07 14:26:02 +00:00
Andrew V. Samoilov 7131de12c8 ;) 2001-08-07 10:27:21 +00:00
Pavel Roskin 6a74a5d7e0 * INSTALL: Numerous changes. Declare old curses obsolete.
Partly from "Frederic L. W. Meunier" <0@pervalidus.net>
2001-08-07 03:44:22 +00:00
Pavel Roskin 8bf9dbfd84 * doc/mc.1.in (Menu Bar): Add link to the "Options Menu". 2001-08-06 22:29:30 +00:00
Pavel Roskin d05bfe1f01 * boxes.c (display_init): Associate correct help topic.
(sort_box): Likewise.
(set_panel_filter): Likewise.
* option.c (init_configure): Likewise.
* menu.c (menubar_handle_key): Show help dependent on the active
menu.
2001-08-06 22:22:04 +00:00
Andrew V. Samoilov 1e23c4fb68 * ftpfs.c (ftpfs_fill_names): New function.
(vfs_ftpfs_ops): Use ftpfs_fill_names insted of vfs_s_fill_names.
2001-08-06 15:39:08 +00:00
Andrew V. Samoilov 0ec69ba605 * samba/lib/charcnv.c (unix2dos_format): Fix possible buffer overflow.
(dos2unix_format): Likewise.
2001-08-06 15:37:28 +00:00
Andrew V. Samoilov 2e4e496c36 * smbfs.c: Eliminate smbfs_get_free_bucket_init. convert_path
gives malloced filename, so this memory must be released after use.

(reconnect): Fix segmentation fault.
(smbfs_loadddir): Don't g_strdup path.
(smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init and
smbfs_connections initialisation.
(smbfs_open_link): Likewise. Release host after get_master_browser.
(get_stat_info): Fix unneeded g_strdup/g_free calls.
(smbfs_mkdir): Release path after use.
(smbfs_mkdir): Likewise.
(smbfs_open): Fix memory leak.
(smbfs_unlink): Likewise. Fix error message.
(smbfs_rename): Fix memory leaks.
(smbfs_stat): Fix url parsing.
2001-08-06 15:36:33 +00:00
Andrew V. Samoilov 12a291afdd ;) 2001-08-06 15:35:22 +00:00
Andrew V. Samoilov 7b568914ec * view.c (block_search): Return the position where the block was
found as declared in comment.
(hex_search): Don't increase pos, block_search returns now right
position.
2001-08-06 15:33:38 +00:00
Andrew V. Samoilov 22861f9737 * mad.c (mad_strdup): Return NULL if NULL is passed. 2001-08-06 15:32:34 +00:00
Andrew V. Samoilov bc9de7931f * editcmd.c (edit_replace_prompt): Fix menu location calculation. 2001-08-06 15:27:47 +00:00
Pavel Roskin 2280df42a4 Set epoch. 2001-08-05 05:31:47 +00:00
Pavel Roskin a819801617 * gicon.c (get_default_icon): Don't call is_exe for symlinks. 2001-08-04 00:33:27 +00:00
Andrew V. Samoilov cd34ee8d1f * mad.[ch] (mad_check): Declare file parameter const.
(mad_alloc): Likewise. Don't truncate it.
(mad_abort): Declare message and file parameters const.
2001-08-03 10:33:54 +00:00
Andrew V. Samoilov 4725ec12bb ;) 2001-08-03 10:20:22 +00:00
Andrew V. Samoilov 3002c837ab * smbfs.c (new_dir_entry): New function with repeated code from
browsing_helper, loaddir_helper and server_browsing_helper.
(browsing_helper): Use new_dir_entry.
(loaddir_helper): Likewise.
(server_browsing_helper): Likewise.

(cached_lstat_info): Eliminated.
(smbfs_readdir): Make dirent_dest static const.
Eliminate cached_lstat_info.
(smbfs_open_link): Make user parameter const. Fix memory leak.
(fake_server_stat): Make path parameter const. Symplify.
(smbfs_fstat): Set my_errno to EFAULT before return.
2001-08-03 10:19:45 +00:00
Andrew V. Samoilov 480dc4765f * xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
* ftpfs.h (struct connection): Remove result_pending field.
2001-08-03 10:15:17 +00:00
Andrew V. Samoilov 1c07145e0f * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow. 2001-08-03 10:14:18 +00:00
Andrew V. Samoilov c908fc4562 * utilvfs.c, vfs.h (vfs_split_url): Make path parameter const. 2001-08-03 10:12:18 +00:00
Pavel Roskin b201fe6077 * file.c: Warning fix. Include global.h before other local
includes.
* filegui.c: Likewise.
(fmd_init_i18n) [!ENABLE_NLS]: Completely disable.
* i18n.h [!ENABLE_NLS]: Warning fix.
* learn.c (init_learn): Move do_refresh() call immediately
before cleate_dlg().  Warning fix.
2001-08-03 04:47:52 +00:00
Pavel Roskin 50859eae37 * lib/Makefile.am: Remove space after backslash introduced in the
previous commit.
2001-08-03 03:15:03 +00:00
Abel Cheung 75295cb026 Added mc.hint.zh_TW.Big5 into lib/Makefile.am . 2001-08-02 23:09:50 +00:00
Abel Cheung 2b70821019 *.desktop: Added traditional Chinese translation.
mc.hint.zh_TW.Big5: New traditional Chinese translation for mc.hint
2001-08-02 22:56:40 +00:00
Pavel Roskin 52004b6b87 * lib/Makefile.am: Add mc.hint.nl. 2001-08-02 14:31:54 +00:00
Marco Ciampa 8a97057631 Defuzzied one entry 2001-08-02 07:16:56 +00:00
Marco Ciampa e34ea629e7 Shorted the longest entry. 2001-08-02 07:16:16 +00:00
Stanislav Brabec 6e08d65467 czech translation update 2001-08-01 23:36:10 +00:00
Abel Cheung edc9c98e3c Fix it.po . 2001-08-01 22:13:09 +00:00
Pavel Roskin 3b3357e070 * editcmd.c (edit_save_file): Temporarily disable safe save
and backups on remote VFS because it doesn't work.  Use
mc_mkstemps() instead of tempnam().
2001-08-01 21:54:59 +00:00
Pavel Roskin 9377136375 * lib/mc.hint.nl: New file.
From Steef Boerrigter <sxmboer@sci.kun.nl>
* lib/Makefile.am: Add mc.hint.nl.
* lib/mc.hint: Remove ftp site.  Update copyright.
* lib/mc.hint.cs: Likewise.
* lib/mc.hint.es: Likewise.
* lib/mc.hint.it: Likewise.
* lib/mc.hint.pl: Likewise.
* lib/mc.hint.ru: Likewise.  Shorten some lines.
2001-08-01 16:56:26 +00:00
Pavel Roskin 7e625c9153 * edit/Makefile.in: Allow running "make install" before "make all".
* gtkedit/Makefile.in: Likewise.
2001-08-01 16:17:52 +00:00
Pavel Roskin c1d46903d7 * Make-mc.in: Make it possible to run "make install" before
"make all".  Use more Automake-compatible target names.
2001-08-01 16:15:22 +00:00
Andrew V. Samoilov ae7fd2fcd2 (search_dir_entry): Make text parameter const.
(smbfs_get_host_and_username): Make macro.
(my_forget): Fix compilation.
2001-08-01 12:24:35 +00:00
Marco Ciampa cb7d5d5598 *** empty log message *** 2001-08-01 12:05:49 +00:00
Andrew V. Samoilov 0db7865c82 * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
(do_connect): Symplify.
(get_stat_info): Symplify. Eliminate another fake_stat.
(smbfs_chdir): Release remote_dir after use.
(smbfs_stat): Likewise. Fix another 2 memory leaks.
(smbfs_mkdir): Release remote_file after use.
(smbfs_rmdir): Likewise.
(smbfs_open): Likewise. Indentation fixes.
(smbfs_unlink): Likewise.
(smbfs_rename): Release rb and ra after use.
2001-08-01 10:40:15 +00:00
Pavel Roskin 36b103997c * lib/edit.spell.rc: New file. Invoke ispell on Ctrl-p in the editor.
* lib/Makefile.am: Add lib/edit.spell.rc.
2001-07-31 22:13:55 +00:00
Pavel Roskin 543d606b49 Add Makefile.in.in. 2001-07-31 21:29:19 +00:00
Pavel Roskin 4d661c0bfc Add ABOUT-NLS. 2001-07-31 21:28:05 +00:00
Pavel Roskin 7dcd162d79 Remove. We now longer ignore any files. 2001-07-31 21:26:43 +00:00
Pavel Roskin 72b756d41b Remove mime-type capplet.
It is now in the "control-center" module, directory capplets/mime-type
2001-07-31 21:25:19 +00:00
Pavel Roskin ced1d864e8 Add *.cache. 2001-07-31 18:27:52 +00:00
Pavel Roskin 32a5e277ed Add intl. 2001-07-31 18:27:19 +00:00
Pavel Roskin 9e10ade308 Add *.cache, gettext.m4. 2001-07-31 18:26:54 +00:00