Commit Graph

6516 Commits

Author SHA1 Message Date
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
Roland Illig
2a9f3b6ce3 * util.c (cstrcasestr): Added a function to search for a
substring ignoring case.
	* util.h: Added cstrcasestr.
	* find.c: Added plaintext search mode.
2004-12-02 20:08:06 +00:00
Roland Illig
639e150164 * util.c (extension): Simplified the code. 2004-12-02 19:39:21 +00:00
Roland Illig
91a4d7e764 * view.c (struct WView): Renamed some variables to reflect the
actual use. (view_growbuf_read_until): Moved the growing buffer
	handling out of get_byte.
	* view.c: Cleaned up the code. Added error handling for the
	growing buffer case.
2004-12-02 17:13:39 +00:00
Andrew V. Samoilov
a6c81a0d7a Change my contacts 2004-12-02 16:53:50 +00:00
Andrew V. Samoilov
8700126200 Add wait 2004-12-02 10:47:14 +00:00
Andrew V. Samoilov
557dfdc7a1 * file.c (make_symlink): Constify r. 2004-12-02 10:46:21 +00:00
Andrew V. Samoilov
26e400227a * editcmd.c (edit_replace_prompt): Fix warning with 'unused' label_len. 2004-12-02 08:31:52 +00:00
Andrew V. Samoilov
3881b6e2b4 Use proper format string parameter for size in file dialogs.
Update for 4.6.1-pre2.
2004-12-02 08:26:55 +00:00
Andrew V. Samoilov
b5a5f9f5f1 * file.c (copy_dir_dir): Code cleanup (removal of unnecessary goto,
redundant comment, indentation).

* filegui.c (init_replace): Use off_t instead of int for file
sizes. Use proper format string parameter for size.
2004-12-02 06:25:57 +00:00
Andrew V. Samoilov
65f99d5493 * tar.c (tar_read_header): Skip over records containing
incremental tar specific info.
2004-12-01 08:43:25 +00:00
Roland Illig
badf915e39 * editcmd.c: Introduced a type edit_getbyte_fn to get rid of
the many function type casts.
2004-12-01 00:55:17 +00:00
Andrew V. Samoilov
d48d44dabd * widget.c (listbox_drawscroll): Fix declaration of `slow_terminal'.
(listbox_new): Likewise.
2004-11-30 05:54:36 +00:00
Andrew V. Samoilov
bc3b3e9d29 Add comment to last changelog entry 2004-11-30 04:37:09 +00:00
Andrew V. Samoilov
e7b96a4600 * fish.c(fish_file_store): Fix typo fix 2004-11-29 20:15:22 +00:00
Andrew V. Samoilov
d50dc18be0 * main.c (midnight_callback): Make the the keystrokes the invoke
select_cmd(), unselect_cmd() and reverse_selection_cmd () work
even if the command prompt is turned off.
2004-11-29 20:11:07 +00:00
Andrew V. Samoilov
0fdf2a6e6d * direntry.c (vfs_s_readlink): Correctly calculate link length. 2004-11-29 18:44:49 +00:00
Andrew V. Samoilov
a2bcbdb52c * fish.c (fish_file_store): Check write() more carefully.
(PREFIX): Fix memory leak.
        (fish_##name): Likewise.
        (fish_chown): Likewise.
2004-11-29 12:45:42 +00:00
Andrew V. Samoilov
0cd8f81bdc * Makefile.am: Use AM_CPPFLAGS for path to mc-slang includes.
* slmisc.c (SLang_Version): Declare const. Use SLANG_VERSION for version
        number.
        * include/slang.h (SLang_Version): Declare const.
2004-11-29 11:11:47 +00:00
Andrew V. Samoilov
5f926f02a6 * ext.c (regex_check_type): Optimize memory usage. 2004-11-26 15:47:31 +00:00
Andrew V. Samoilov
09180a901a * direntry.c (vfs_s_open): Fix memory leak.
(vfs_s_retrieve_file): Check write() return more carefully.
2004-11-26 12:00:36 +00:00
Andrew V. Samoilov
fd1fbef2dd * execute.c (shell_execute): Optimize memory usage. 2004-11-26 11:14:07 +00:00
Roland Illig
2a80bd15a2 * Makefile.am: Removed unused occurence of man_MANS. 2004-11-23 23:04:18 +00:00
Roland Illig
09fcf5903c * pipethrough.3: Fixed use of mandoc macros according to a
suggestion of Eric S. Raymond.
2004-11-21 21:13:43 +00:00
Andrew V. Samoilov
4ccc6e511c * help.c (help_event): Fix offset of event area for mouse click. 2004-11-19 21:04:04 +00:00
Roland Illig
2d3fef18e5 * Makefile.am: Excluded pipethough.3 from the distribution
as it is currently unused.
2004-11-19 14:17:19 +00:00
Andrew V. Samoilov
17ec1c5476 * user.c (execute_menu_command): Revert last changes. Execute
shell_execute() with flag EXECUTE_HIDE to prevent recording
        in ~/.bash_history.
        * execute.h: Add EXECUTE_HIDE flag. It's used to prefix the command
        with a space.
        * execute.c (shell_execute): Prefix the command with a space, if define
        EXECUTE_HIDE flag.
2004-11-18 17:47:55 +00:00
Andrew V. Samoilov
82f580f857 * syntax.c (get_args): Use in "args_size" argument instead of
in out "argc".  Return number of found entries.
        Adjust all callers.
2004-11-18 10:02:33 +00:00
Roland Illig
1eab2f63b7 * screen.c (do_search): Ignore the backspace key on empty
quick-search.

	From Egmont Koblinger <egmont * uhulinux hu>
2004-11-16 23:54:15 +00:00
Roland Illig
48690761d6 * extfs/patchfs.in: Allow extraction and deletion of patches
whose filenames start with "../" or "./".
2004-11-16 23:00:40 +00:00
Roland Illig
57708c91cc * user.c (execute_menu_command): Prefix the command with a space
to prevent recording in ~/.bash_history.
2004-11-16 22:41:00 +00:00
Andrew V. Samoilov
f22b5d749f * syntax.c (get_args): Use "argc" to check "args" size.
(edit_read_syntax_rules): Add new parameter "argc" (size of the
        "args" buffer) to prevent buffer overflow.
2004-11-16 19:46:46 +00:00
Andrew V. Samoilov
319cdb81bc * acinclude.m4: Fix compiling mc with system slang on FreeBSD. 2004-11-16 19:23:40 +00:00
Roland Illig
01867b4001 * TODO: Checked the remaining vfs/extfs shell scripts and
removed them from the TODO list. This was the last item
	in the section "Before 4.6.1", so I deleted the whole
	section.
2004-11-16 18:03:56 +00:00
Roland Illig
48f13535a1 * vfs.h: Changed types for mc_chmod, mc_chown, mc_mknod to mode_t,
uid_t, gid_t, and dev_t where appropriate.
2004-11-16 16:49:37 +00:00
Roland Illig
6bbbeb77b4 * vfs.c: Changed types for mc_chmod, mc_chown, mc_mknod to mode_t,
uid_t, gid_t, and dev_t where appropriate.

	Patch extended by Roland Illig.
2004-11-16 16:16:08 +00:00
Andrew V. Samoilov
1bb010e66e Revert last changes 2004-11-16 12:50:40 +00:00