Commit Graph

6673 Commits

Author SHA1 Message Date
Roland Illig a3a1e26210 * util.h (str_unconst): Provide a replacement for the const_cast
macro from global.h.
	* util.c (str_unconst): Likewise.
2005-04-13 18:47:12 +00:00
Roland Illig d34c405387 * configure.ac: Add -DNDEBUG to CPPFLAGS if the maintainer mode
is not enabled.
2005-04-13 18:39:15 +00:00
Pavel Roskin b7bf48f281 Update from Vaidrius Petrauskas <vaidrius@delfi.lt> 2005-04-12 00:19:58 +00:00
Roland Illig 1de14a2502 Fixed a typo (nice_value => mc_nice_value). 2005-04-09 09:11:49 +00:00
Roland Illig 293d35daf0 * view.c: Removed mmap(2) support. Now regular files are
accessed using mc_read(). Added a framework for datasources.
	Introduced assertions. Removed some variables (e.g. view->data)
	that were used for many things simultaneously.
2005-04-07 11:23:53 +00:00
Roland Illig 5185abce21 * dialog.h: Removed a comma at the end of an enumeration, because
ANSI does not permit it.
2005-04-07 07:39:09 +00:00
Roland Illig e64958776a * x11conn.c (x_io_error_handler): Close the X11 connection when
a protocol error occurs. Otherwise the X11 connection is held
	open, which may keep ssh from closing the connection.
2005-04-06 18:04:43 +00:00
Pavel Roskin c5a443ca87 Move all development from /usr/src to $HOME/src.
Use lsb-rpm to make an LSB compatible package.
Force included S-Lang to avoid dependency problems.
2005-03-31 17:53:07 +00:00
Pavel Roskin c1c8fb19f4 Comment out build dependencies - they are too distribution specific. 2005-03-31 17:48:12 +00:00
Andrew V. Samoilov 4cc677124a * extfs/uarj.in (mcarjfs_copyout): Use the regular extract command,
instead of redirecting all the output of the print (p) command.
2005-03-31 05:28:15 +00:00
Andrew V. Samoilov 28c940b71e Typo fix. 2005-03-29 15:22:33 +00:00
Andrew V. Samoilov cef3ce222a * samba/param/loadparm.c: Remove init_locals(), lp_smb_passwd_file(),
lp_passwd_program(), lp_passwd_chat(), lp_unix_password_sync(),
lp_max_open_files(), lp_shmem_size(), lp_lpqcachetime(),
lp_syslog(), lp_driverlocation().
(file_lists): Commented out.
(add_to_file_list): Comment out and make a do nothing macro.
2005-03-29 15:20:51 +00:00
Pavel Roskin fc6e8e67f2 * cpio.c (cpio_find_head): Fix for logical error that can cause
crash on broken cpio archives.
2005-03-29 05:24:26 +00:00
Pavel Roskin 6a821c30cf Update from Vaidrius Petrauskas <vaidrius@delfi.lt> 2005-03-29 04:50:07 +00:00
Pavel Roskin 417ca2ab1f * screen.c (chdir_other_panel): When used on a file entry, move
selection on the inactive panel to select the entry for the
current directory on the active panel.
2005-03-29 04:47:16 +00:00
Andrew V. Samoilov 1bee4012b1 * keyxdef.c: Constify struct qnx_key_define_s typedef.
* key.c (get_modifier): Fixed dynamic loading of the Photon library for
        shift keys, only current version of libph used now.
        (qansi_key_defines): Swapped Gray '-' and '+' codes definitions, due to
        fixed bugs in the QNX6's console driver.
2005-03-25 09:38:24 +00:00
Andrew V. Samoilov a75d81b3c2 * util.c (load_file_position): Fix mcedit position save bug. Read a
number after ';'.
2005-03-23 05:29:06 +00:00
Pavel Roskin 504faf19d4 * key.c (init_key): Load xterm_key_defines for terminals with
names starting with "rxvt".
2005-03-21 20:27:55 +00:00
Pavel Roskin bda4ef1f88 Add mc.qpg 2005-03-19 23:23:48 +00:00
Pavel Roskin a4cf54d41c * acinclude.m4 (MC_WITH_SLANG): Partly restore original order of
checks and add a comment with a warning.
From Pavel S. Shirshov <me@pavelsh.pp.ru>
2005-03-19 21:53:24 +00:00
Pavel Roskin 21cc7b340f * slint.c: Don't use private S-Lang functions if they are
unavailable.
2005-03-19 19:31:23 +00:00
Pavel Roskin d89c5eb128 * acinclude.m4 (MC_WITH_SLANG): Reorder checks. Move termcap
checks ...
(MC_SLANG_TERMCAP): ... here.
(MC_SLANG_PRIVATE): Check if private functions are available.
It's not the case on Debian unstable.
2005-03-19 19:16:35 +00:00
Andrew V. Samoilov a1781bc719 * sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR,
not Is_Fg_BGR.
2005-03-19 18:15:17 +00:00
Andrew V. Samoilov c14b24ebe9 * syntax/idl.syntax: Add syntax file for the CORBA idl.
From Ian Zagorskih <ianzag@megasignal.com>
        * syntax/lua.syntax: Add syntax file for the LUA programming language.
        From Mike Gorchak  <mike@malva.ua>
        * syntax/Syntax: Add syntax file for CORBA idl and lua.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-19 17:46:14 +00:00
Andrew V. Samoilov 7b01ca4626 * syntax/idl.syntax: Add syntax file for the CORBA idl.
* syntax/lua.syntax: Add syntax file for the LUA programming language.
        * syntax/Syntax: Add syntax file for CORBA idl and lua.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-19 17:41:32 +00:00
Pavel Roskin 0074c885f2 * acinclude.m4 (MC_WITH_SLANG): Define HAVE_SYSTEM_SLANG after
all fallbacks so it shows whether we are using system S-Lang.
* configure.ac: Remove USE_INCLUDED_SLANG, since it's now fully
dependent on HAVE_SLANG and HAVE_SYSTEM_SLANG.
* src/myslang.h: Likewise.
2005-03-19 17:27:36 +00:00
Andrew V. Samoilov bfc10386c3 * syntax/assembler.syntax: Add syntax file for the x86 assembler.
* syntax/povray.syntax: Add syntax file for the POVRay.
        * syntax/Syntax: Add syntax file for x86 assembler and POVRay.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-19 14:59:39 +00:00
Andrew V. Samoilov eadb04b532 * syntax/assembler.syntax: Add syntax file for the x86 assembler.
* syntax/povray.syntax: Add syntax file for the POVRay.
        * syntax/Syntax: Add syntax file for x86 assembler and POVRay.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-18 10:26:35 +00:00
Pavel Roskin 9bdae2ff7c * screen.c (chdir_other_panel): Prevent changing current
directory.  Remove incorrect comment.
2005-03-17 22:40:11 +00:00
Pavel Roskin bf653ed2a1 * achown.c (update_permissions): Partly revert recent changes
because they cause infinite recusion.
2005-03-17 22:03:31 +00:00
Pavel Roskin b2999839e8 * editcmd.c (edit_replace_cmd): Restore correct behavior of
Shift-F4.
2005-03-17 21:18:23 +00:00
Roland Illig 14cf1c7673 * syntax/diff.syntax: Changed default color from gray, which was
quite unreadable, to a bright yellow.

	Patch by Leonard den Ottolander.
2005-03-14 00:12:27 +00:00
Roland Illig d7c54f1fe3 * autogen.sh: Made the gettext version check more portable. The
actual sed command is unchanged.
2005-03-10 09:59:27 +00:00
Roland Illig 1af65894cc Fixed X11 connection problems. 2005-03-10 09:57:37 +00:00
Roland Illig 13a63f21c9 * x11conn.c: Separated X11 connection handling from key.c. Added
error handling for X11 errors and connection errors.
	* x11conn.h: The interface for x11conn.h.
	* key.c: Now using the x11conn code.
	* Makefile.am: Added x11conn.{h,c}.
2005-03-10 09:44:36 +00:00
Roland Illig 8a4f10f52f Added glib-1.2 testcase. 2005-02-27 22:08:21 +00:00
Miguel de Icaza 6b14153361 2005-02-26 Miguel de Icaza <miguel@novell.com>
* screen.c (chdir_other_panel): Restored original functionality.

	(sync_other_panel): This is now bound to the key Alt-i, and is the
	functionality that was lost.
2005-02-26 16:39:31 +00:00
Miguel de Icaza 49d8769122 Update manual 2005-02-26 16:38:59 +00:00
Roland Illig f0f4721309 * unixcompat.h: Only include <sys/sysmacros.h> if we're on AIX,
as Solaris defines the macros twice---once in <sys/mkdev.h>,
	and once in <sys/sysmacros.h>.
2005-02-23 23:49:30 +00:00
Roland Illig 303cf1ff16 Removed backslashes in the test_* functions. Now we are using global
variables instead of "child-process-private" variables. The Solaris
/bin/sh did not accept the backslashed version.
2005-02-23 20:05:14 +00:00
Roland Illig a89e9cce8b * tty.h: Moved the function printwstr to slint.c, because the
SunPro compiler does not eliminate unused inline functions.
	* slint.c: printwstr has been moved to here.
2005-02-23 19:55:06 +00:00
Roland Illig 476927920b * screen.c: Changed the return type of ilog10 to unsigned int
and adjusted some variables in format_device_number.
2005-02-23 19:37:43 +00:00
Roland Illig 64afc0126c Don't run the configure script when do_configure is set to "auto" and the
Makefile does already exist.
2005-02-23 17:27:25 +00:00
Roland Illig ebcd6129c6 * fish.c: Declared one more parameter as unused. 2005-02-22 18:38:58 +00:00
Roland Illig d7e7ec48dd * *.c: Declared unused variables with (void) to avoid the gcc
warnings.
	* extfs.c (extfs_get_path_mangle, extfs_get_path): Removed unused
	parameter.
	* ftpfs.c (ftpfs_netrc_bad_mode): Likewise.
	* vfs.c (mc_def_getlocalcopy): Likewise.
2005-02-22 18:35:22 +00:00
Roland Illig c2d0ec2f5f * mc-test: Added a configuration variable to select the tests
which are run.
2005-02-22 17:02:34 +00:00
Roland Illig ecc08f6c60 * edit.h: Removed unnecessary #include directives ...
* *.c: ... and added them here.
2005-02-22 17:00:36 +00:00
Roland Illig d62267c199 * mc-test: When executing the "." command, always generate a
config file name containing a slash, as otherwise the config
	file would be searched in the $PATH.
2005-02-22 03:54:01 +00:00
Roland Illig da66509191 * unixcompat.h: Added missing parenthesis to the minor() macro. 2005-02-22 03:47:01 +00:00
Roland Illig 54cccec688 * utilvfs.h: Removed unneeded #includes.
* *.c: Added the #includes that have been removed from utilvfs.h.
	* tcputil.c: Just removed the unneeded #include "utilvfs.h".
2005-02-19 16:36:38 +00:00