Commit Graph

6552 Commits

Author SHA1 Message Date
Roland Illig
9558c7178f * src/info.c (info_show_info): Enabled display of the device number,
for the case that the column in the directory listing is too
	short. This had been disabled since 1994, for no obvious reason
	and without any comment.
	* src/screen.c (format_device_number): Added. Converts a device number
	into a bounded string.
	* screen.c (string_file_size): Support for larger device numbers
	(and for non-Linux systems).
	* vfs/cpio.c (cpio_read_crc_head): Fixed device number handling for
	non-Linux systems.
	* vfs/fish.c (fish_dir_load): Likewise.
	* vfs/utilvfs.c (vfs_parse_ls_lga): Likewise.
2005-01-27 23:32:13 +00:00
Roland Illig
7a60de0618 * unixcompat.h: Added makedev macro. 2005-01-27 23:02:24 +00:00
Roland Illig
7e498cbc2e * configure.ac: Add checks for C headers <sys/mkdev.h> and
<sys/sysmacros.h> to support major/minor arithmetics on
	device numbers.
2005-01-27 22:42:55 +00:00
Roland Illig
728951fd34 * unixcompat.h (major/minor): Added support for AIX. 2005-01-27 22:19:48 +00:00
Roland Illig
067e407cf7 * editdraw.c (edit_status): Fixed drawing bug with ncurses. 2005-01-27 22:14:58 +00:00
Roland Illig
ff3ca5ecb2 * tty.h (printwstr): If LEN is not positive, ignore the request. 2005-01-27 22:01:52 +00:00
Roland Illig
ff6e206b42 * tty.h (printwstr): Added a function to print a string
left-aligned in a bounded box.
2005-01-27 21:44:00 +00:00
Roland Illig
0e1609c2f9 * unixcompat.h: Provides macros and functions that are missing in
some Unix variants.
	* Makefile.am: Added unixcompat.h.
2005-01-25 22:54:41 +00:00
Roland Illig
ccc1b17f7d * dialog.h (widget_msg_t): Added WIDGET_RESIZED to inform widgets
that they had been resized.
	* dialog.c (widget_set_size): Send a WIDGET_RESIZED message after
	setting the size.
	* layout.c (panel_do_cols): Don't explicitly update the
	bytes_per_line of a hexview WView.
	* view.h (view_update_bytes_per_line): Removed from the interface
	to WView.
	* view.c (view_update_bytes_per_line): Declared as `static'.
	* view.c (view_callback): Call update_bytes_per_line when the
	WView is initialized and whenever a WIDGET_RESIZED message is
	received.
2005-01-25 22:40:50 +00:00
Andrew V. Samoilov
fe0cc18988 * samba/Makefile.in: Remove BINDIR and SBINDIR.
* samba/param/loadparm.c: Comment out some more unused code.
2005-01-25 09:12:17 +00:00
Andrew V. Samoilov
82a3bf3d81 * samba/param/loadparm.c (print_parameter): Remove.
(is_default): Remove.
(dump_globals): Remove.
(dump_a_service): Remove.
(lp_dump): Remove.
(lp_dump_one): Remove.
(lp_remove_service): Remove.
(lp_copy_service): Remove.
2005-01-25 08:13:07 +00:00
Roland Illig
c1e388d724 * systems.txt: A list of system configurations that we have access
to for testing the Midnight Commander.
2005-01-21 11:26:24 +00:00
Andrew V. Samoilov
a1502a0a5f Remove genrand.c and util_unistr.c. 2005-01-20 16:48:36 +00:00
Andrew V. Samoilov
981d02ba5f * Makefile.am (SAMBA_DIST): Remove lib/genrand.c and lib/util_unistr.c.
* samba/Makefile.in (SAMBAFILES): Remove lib/genrand.o and
lib/util_unistr.o.
2005-01-20 16:44:27 +00:00
Andrew V. Samoilov
1ed4f8c110 * samba/libsmb/clientgen.c (cli_oem_change_password): Removed.
* samba/libsmb/smbencrypt.c (make_oem_passwd_hash): Removed.
* samba/lib/util_sock.c (reset_globals_after_fork): Removed.
2005-01-20 16:32:23 +00:00
Andrew V. Samoilov
d83d988c73 * samba/lib/util_file.c: Comment out all but fgets_slash(). 2005-01-20 16:17:34 +00:00
Andrew V. Samoilov
eaca209b7c * util_file.c: Comment out all but fgets_slash(). 2005-01-20 15:06:29 +00:00
Andrew V. Samoilov
4ea1aba1e0 * samba/lib/util.c (remote_machine, local_machine): Make static const
char * instead of fstring.
2005-01-20 11:23:07 +00:00
Andrew V. Samoilov
43414d8182 * samba/lib/util.c: Comment out some more unused functions.
(global_myworkgroup): Remove unused variable.
(def_finfo): Make const.
(remote_proto, remote_arch): Make const char * instead of
fstring.
* samba/libsmb/clientgen.c (interpret_long_filename): Fix
def_finfo declaration.
2005-01-20 08:57:22 +00:00
Andrew V. Samoilov
f4cb47b95d * ftpfs.c (ftpfs_file_store): Make sure we write() all read() data.
Check fstat() return value.
2005-01-19 09:17:38 +00:00
Andrew V. Samoilov
0464629b20 * main.c (_do_panel_cd): Delete leading spaces from URL
before vfs_translate_url() call.
2005-01-19 06:14:44 +00:00
Andrew V. Samoilov
50a2118525 * subshell.c (subshell_name_quote): Eliminate sprintf(d, "%c", ...).
(do_subshell_chdir): Eliminate strlcpy() and optimize.
2005-01-14 10:00:29 +00:00
Andrew V. Samoilov
d332606fd5 * subshell.c (do_subshell_chdir): Use mc_realpath() to fix tcsh's
problem with symlink.
        * utilunix.c: Add function mc_realpath(). Is the BSD version of
        realpath(3).
        * util.h: Add mc_realpath() declaration.
2005-01-13 19:37:46 +00:00
Andrew V. Samoilov
33e157631c * acinclude.m4: Fix '--with-screen' configure option. 2005-01-11 09:16:52 +00:00
Roland Illig
205523301f * dialog.h: Fixed a typo. 2005-01-09 16:15:24 +00:00
Roland Illig
135d787620 * extfs/urar.in: Fixed some quoting issues.
Original patch by Leonard den Ottolander.
2005-01-09 16:12:39 +00:00
Andrew V. Samoilov
1605a544c6 * autogen.sh: Fix workaround for automake 1.5. 2004-12-30 06:33:18 +00:00
Andrew V. Samoilov
1735921c14 * extfs.c (struct inode): Remove unused linkflag field.
(extfs_internal_stat): Eliminate "inode" variable.
        (extfs_fstat): Likewise.
        (extfs_unlink): Fix memory leak if extfs_get_path_mangle() fails.
2004-12-29 07:32:41 +00:00
David Martin
be3728903b Updated Spanish translation. 2004-12-29 00:12:52 +00:00
Andrew V. Samoilov
d94ff42371 * syntax/spec.syntax: Set whole on spec macro option keywords. 2004-12-28 13:22:27 +00:00
Andrew V. Samoilov
b20f6b2dea * fish.c (fish_linear_abort): Fix bug with FISH vfs. It freezes MC on
transfer abort.
2004-12-28 12:25:24 +00:00
Andrew V. Samoilov
278ae44436 * extfs.c (extfs_generate_entry): Initialize inode->last_in_subdir.
(extfs_read_archive): Likewise. Remove unneeded test.
        Fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286990

        * extfs/ulha.in (mc_lha_fs_list): Use $NF instead of $10 as filename
        for permission intention.
        Fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286990
2004-12-27 12:12:31 +00:00
Andrew V. Samoilov
d339190071 * find.c (find_parameters): Use translated string. 2004-12-13 18:04:37 +00:00
Andrew V. Samoilov
7e75c2d423 * acinclude.m4: Fix "make distcheck".
* NEWS: Update.
2004-12-13 17:56:27 +00:00
Andrew V. Samoilov
c3b5df605c * command.c (enter): Speed up and simplify. 2004-12-10 07:29:57 +00:00
Andrew V. Samoilov
d7355ea381 Typo fixes 2004-12-10 07:27:20 +00:00
Andrew V. Samoilov
9ce7ab3b9b * autogen.sh: Comment workaround for Automake 1.5. It's not working
for Automake 1.9.
2004-12-10 06:24:35 +00:00
Roland Illig
001a6c1b90 * extfs/uzip.in: Fix handling of archive member pathnames starting
with "./".
2004-12-10 00:08:31 +00:00
Andrew V. Samoilov
3fff2ff3c9 * subshell.c (init_subshell_child): Does not g_strdup() constant string
in putenv() calls.
2004-12-08 13:07:53 +00:00
Marco Ciampa
87635b05f3 Updated italian translation 2004-12-07 16:28:34 +00:00
Andrew V. Samoilov
e69c7db958 Fix typos 2004-12-07 08:55:33 +00:00
Roland Illig
a0aef5042d * ext.c: Fixed FIXME by passing around a reference to a VFS. 2004-12-06 23:27:23 +00:00
Roland Illig
88812bee22 * syntax/Makefile.am: Don't install syntax highlighting files if
the internal editor is disabled.
2004-12-06 23:14:43 +00:00
Roland Illig
006f11ea63 * TODO (Before 4.6.2): Allow pathnames starting with spaces
in vfs/extfs.
2004-12-04 09:28:20 +00:00
Roland Illig
137ea291fe * view.c: Removed unused macro. 2004-12-03 19:19:19 +00:00
Roland Illig
e792cffb8d * *.h: Renamed multiple inclusion guards that started with a
double underscore. Added #includes for dependent files.
	* popt.c: Likewise.
	* popthelp.c: Likewise.
	* tree.c: Moved a macro from tree.h to here, as it is useless
	outside tree.c.
2004-12-03 19:17:46 +00:00
Roland Illig
6f03d9bbd9 * edit.h: Renamed multiple inclusion guards that started with a
double underscore. Added #includes for dependent files.
	* editcmddef.h: Likewise.
	* editlock.h: Likewise.
	* edit-widget.h: Likewise.
2004-12-03 17:09:27 +00:00
Andrew V. Samoilov
be067bb92e * configure.ac: Bump version to 4.6.1a 2004-12-03 05:45:21 +00:00
Roland Illig
521be0ef82 * editcmd.c (edit_replace_cmd): Separated input and output arguments.
* editcmd.c (edit_replace_dialog): Code cleanup.
2004-12-02 21:02:07 +00:00
Roland Illig
1438faeaca * view.c (view_handle_editkey): Code cleanup.
* view.c (view_percent): Likewise.
2004-12-02 20:36:31 +00:00