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
Roland Illig
205523301f
* dialog.h: Fixed a typo.
2005-01-09 16:15:24 +00:00
Andrew V. Samoilov
d339190071
* find.c (find_parameters): Use translated string.
2004-12-13 18:04:37 +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
3fff2ff3c9
* subshell.c (init_subshell_child): Does not g_strdup() constant string
...
in putenv() calls.
2004-12-08 13:07:53 +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
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
557dfdc7a1
* file.c (make_symlink): Constify r.
2004-12-02 10:46:21 +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
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
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
5f926f02a6
* ext.c (regex_check_type): Optimize memory usage.
2004-11-26 15:47:31 +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
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
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
Roland Illig
8d41d94d44
* file.c: Code cleanup (mostly indentation).
2004-11-15 23:32:02 +00:00
Andrew V. Samoilov
f7cacb883f
* user.c (expand_format): Return % with followed character if it
...
without special meaning.
2004-11-12 11:56:21 +00:00
Roland Illig
d3204db4e0
* popthelp.c (showHelpIntro): The basename of argv[0] starts after
...
the last slash in argv[0], not after the first.
2004-11-11 17:37:20 +00:00
Andrew V. Samoilov
8d4cf30242
* regex.c: Define HAVE_WCTYPE_H to 0 if not defined to fix compilation.
2004-11-11 10:02:18 +00:00
Roland Illig
830f64d719
* Makefile.am: Excluded pipethough.{c,h} from the distribution
...
as they are currently unused.
2004-11-10 17:42:42 +00:00
Andrew V. Samoilov
042017791e
If not defined macros HAVE_WCTYPE_H, define it for clean compilation.
2004-11-10 13:48:23 +00:00
Andrew V. Samoilov
852cdfb00b
* hotlist.c (unlink_entry): Add missed brackets.
...
(add_new_entry_cmd): Fix memory leaks and double free()s.
(add2hotlist_cmd): Eliminate static label_string.
2004-11-10 11:02:23 +00:00
Andrew V. Samoilov
dd2bc78a60
* hotlist.c (add_new_entry_cmd): Filter out a possible password
...
dialogs.
(add2hotlist_cmd): Likewise.
2004-11-09 19:08:10 +00:00
Andrew V. Samoilov
9bf6911b00
* util.c (strip_password): Fix bug - don't delete path from url.
2004-11-09 12:30:29 +00:00
Andrew V. Samoilov
a309faa45c
* filegui.c (file_mask_dialog): Fix memory leak.
2004-11-08 20:10:33 +00:00
Roland Illig
a5fefdbd71
* slint.c (slang_init): Allow upto 512 lines and cols if the
...
SLang library can handle it.
2004-11-07 12:48:48 +00:00
Roland Illig
d5da4d6b94
* key.c (use_8th_bit_as_meta): Use 8bit input as default.
...
From Vladimir Nadvornik <nadvornik * suse cz>
2004-11-07 12:37:24 +00:00
Andrew V. Samoilov
5ea26d084d
* dir.c (file_type_to_num): Added initial support for the Special Named
...
Files. They are displayed as block devices, but with '#' prefix in it's
names. Needed on QNX Neutrino.
* file.c (copy_file_file): Likewise.
* fs.h: Likewise.
* screen.c (string_file_type): Likewise.
(file_compute_color): Likewise.
* util.c (string_perm): Likewise.
* pipethrough.c: Added sys/select.h if found according to config.h.
2004-11-03 20:31:59 +00:00
Andrew V. Samoilov
358f13f13d
* screen.c (show_dir): A small fix to avoid a crash in show_dir() with
...
a panel of more than 200 columns.
2004-11-03 19:56:36 +00:00
Andrew V. Samoilov
611114d735
* file.c (make_symlink): Use g_strlcpy() instead of strcpy().
2004-11-03 19:49:24 +00:00
Andrew V. Samoilov
cee8133838
* subshell.c (do_subshell_chdir): Filter out a possible password from
...
warning dialog.
* command.c (do_cd_command): Likewise.
* screen.c (panel_callback): Likewise.
* util.c (path_trunc): Add function. path_trunc() is the same as
name_trunc(), but it deletes possible password from path for security
reasons.
* util.h: Add functions path_trunc().
* filegui.c (file_progress_show_target): Filter out a possible password
from dialog.
(file_progress_show_deleting): Likewise.
(file_mask_dialog): Likewise.
* file.c (move_file_file): Likewise.
(move_dir_dir): Likewise.
(file_error): Likewise.
(files_error): Likewise.
(real_query_recursive): Likewise.
* hotlist.c (add2hotlist): Typo fix.
2004-11-03 19:43:17 +00:00
Andrew V. Samoilov
42f676fd5f
* dialog.c (do_select_widget): Walk the whole widgets list looking
...
for a widget accepting the focus.
2004-11-02 11:49:56 +00:00
Roland Illig
612e8238c9
* utilunix.c (mc_tmpdir): Use putenv(3) instead of setenv(3) if
...
the latter is not available. Needed for Solaris.
2004-11-01 12:03:45 +00:00
Andrew V. Samoilov
28c1c01c53
* complete.c (completion_matches): Fix duplicate completion matches
...
if there are more than two matches available.
2004-10-28 19:39:46 +00:00
Andrew V. Samoilov
bcaf2b272b
* cmd.c (select_unselect_cmd): Collect repeated code from
...
(un)?select_cmd here. Fix rare off-by-one and memory leak if
empty pattern passed.
(select_cmd): Use select_unselect_cmd().
(unselect_cmd): Likewise.
2004-10-25 09:38:59 +00:00
Roland Illig
11f8d4e2ea
* utilunix.c (mc_tmpdir): Convert uid to unsigned long for
...
pathname of the temporary directory.
2004-10-23 12:55:35 +00:00
Roland Illig
3716da314b
* utilunix.c (mc_tmpdir): Convert uid to int for pathname
...
of the temporary directory.
From Pavel Tsekov <ptsekov gmx net>.
2004-10-23 07:18:48 +00:00