Andrew V. Samoilov
430cfca91c
More typo fixes
2004-10-06 17:33:37 +00:00
Andrew V. Samoilov
04c8d59e51
Fix typos
2004-10-06 17:16:09 +00:00
Andrew V. Samoilov
82f98b11d4
* util.c(strip_password): Add support for '@' in username.
2004-10-05 14:25:28 +00:00
Andrew V. Samoilov
d0aeb947b4
* utilvfs.c(vfs_split_url): Add support for '@' in username.
2004-10-05 14:23:20 +00:00
Andrew V. Samoilov
220cf56f19
Fix typos
2004-10-05 07:15:01 +00:00
Andrew V. Samoilov
919aa12d7d
* cons.saver.c: Partly rewritten cons.saver.c.
2004-10-05 07:14:09 +00:00
Andrew V. Samoilov
2d48b95137
* syntax/perl.syntax: Fix highlight the hashes.
...
* syntax/diff.syntax: highlight comments (lines begin with #),
and garbage in diff files.
2004-10-05 05:56:03 +00:00
Andrew V. Samoilov
650d04146e
* uk.po: Updated Ukrainian translation.
2004-09-29 10:55:36 +00:00
Andrew V. Samoilov
2ee7b81d94
* mc.qpg.in: New file. Description for QNX 6.x packager.
2004-09-28 11:48:57 +00:00
Andrew V. Samoilov
320caad2e1
* smbfs.c (smbfs_forget): Check smbfs_connections[i].cli
...
to avoid possible segmentation fault. Close
https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=8974
2004-09-28 09:30:53 +00:00
Andrew V. Samoilov
7d393abc2c
* util.c (convert_controls): Fix possible buffer overflow
...
for ".*^" strings.
2004-09-28 09:28:57 +00:00
Roland Illig
49117d0f31
* complete.c [__linux__ && !__USE_GNU]: Fix compilation on Red Hat 7.3
...
* util.c (convert_controls): Fix compilation.
2004-09-27 11:26:53 +00:00
Roland Illig
c47cd9de68
* util.h (convert_controls): Adjusted the comment to what the
...
function really does.
2004-09-26 18:36:54 +00:00
Roland Illig
f54aef1cfc
* pipethrough.c: #include <string.h> to compile on Solaris.
2004-09-26 11:50:39 +00:00
Roland Illig
7a505ea99d
* editcmd.c (edit_ext_cmd): Revoked my last change.
2004-09-26 11:42:17 +00:00
Roland Illig
7b6f1db773
* vfs.c (_vfs_get_class): Reverted my last patch because
...
Leonard reported it to make mc crash.
2004-09-26 11:06:38 +00:00
Andrew V. Samoilov
11c6534e70
* key.c (qansi_key_defines[]): Add support for qansi-m terminals.
...
Needed on QNX Neutrino. (correct_key_code): Likewise.
2004-09-26 00:58:47 +00:00
Andrew V. Samoilov
d329f3c414
* sldisplay.c (SLtt_goto_rc): Disable cursor movement optimizations
...
for qansi-m consoles. Needed on QNX Neutrino.
(SLtt_initialize): Init QANSI_Console variable.
2004-09-26 00:45:47 +00:00
Roland Illig
8d75409e60
* editcmd.c (edit_ext_cmd): Don't delete the current block if no
...
block has been selected. In that case, just insert the output.
2004-09-25 21:39:11 +00:00
Roland Illig
d0a8da7cef
* editcmd.c (edit_ext_cmd): Replaced the old version with a new
...
one that uses ../src/pipethrough. The new version feeds the
currently selected block (or an empty input) into the command
which reduces the chance of a deadlock when the command tried
to read from stdin. It also allows the user to insert the output
of a command that has exited with a nonzero result. Another
feature is that it does not use temporary files.
2004-09-25 21:34:36 +00:00
Roland Illig
8676605ad2
* pipethrough.c: Added pipethrough, a function to execute child
...
processes in a simple way.
* pipethrough.h: The interface for the function.
* pipethrough.3: The manpage (will be installed in maintainer-mode).
* Makefile.am: Added the files to SRCS.
2004-09-25 21:21:09 +00:00
Roland Illig
771f60dac1
* complete.c: Partly reverted my last patch. I had committed it
...
accidentally.
2004-09-25 21:08:29 +00:00
Roland Illig
2a2b478f67
* syntax.c (this_try_alloc_color_pair): Added const qualifiers.
...
* editcmd.c (snprintf_p): Likewise. (edit_replace_prompt):
Simplified the code.
2004-09-25 20:53:32 +00:00
Roland Illig
dc259a038c
* widget.c (label_callback): Reverted my last change. It crashed.
2004-09-25 20:49:15 +00:00
Roland Illig
1fb7d67048
* vfs.c (_vfs_get_class): Fixed segmentation fault introduced today.
2004-09-25 19:57:20 +00:00
Roland Illig
aad0e2151b
* autoconf.ac: #define _GNU_SOURCE to an empty value instead of 1,
...
which conflicted with src/regex.c.
2004-09-25 15:18:10 +00:00
Roland Illig
9f6a39e83f
* command.c (examine_cd): Likewise. Additionally used g_strdup to
...
not accidentally modify an environment variable.
* complete.c (command_completion_function): Likewise.
(filename_completion_function): Likewise. (try_complete): Likewise.
(variable_completion_function): Likewise.
2004-09-25 14:34:27 +00:00
Roland Illig
a3c3564d4d
* syntax.c (this_try_alloc_color_pair): Added const qualifiers.
2004-09-25 14:28:10 +00:00
Roland Illig
6f34e18e3e
* ftpfs.c (ftpfs_find_machine): Added const qualifier.
...
* mcserv.c (do_auth): Likewise.
* utilvfs.c (is_month): Likewise. (is_time): Likewise.
(is_week): Likewise.
* vfs.c (_vfs_get_class): Added const qualifier.
(vfs_prefix_to_class): Added a string length parameter to
reduce the use of g_strdup. (vfs_split): Changes due to the
new string length parameter.
2004-09-25 14:06:27 +00:00
Roland Illig
8b1e87523a
* boxes.c (display_unit): Added const qualifier.
...
* file.c (check_hardlinks): Likewise.
* find.c (find_do_view_edit): Likewise. (find_file): Likewise.
* global.h (home_dir): Likewise.
* main.c (get_parent_dir_name): Likewise. (init_xterm_support):
Likewise. (OS_Setup): Likewise.
* menu.c (create_menu): Likewise.
* mountlist.c (xatoi): Likewise. (read_filesystem_list): Likewise.
* poptconfig.c (poptReadDefaultConfig): Likewise.
* popthelp.c (showHelpIntro): Likewise.
* rxvt.c (look_for_rxvt_extensions): Likewise.
* slint.c (has_colors): Likewise.
* subshell.c (check_sid): Likewise.
* user.c (check_format_var): Likewise.
* widget.c (radio_callback): Likewise.
2004-09-25 13:46:23 +00:00
Roland Illig
f02ccb81a0
* view.c (display): Display "_\b_" correctly in both colors.
2004-09-25 02:00:25 +00:00
Roland Illig
bf256d7e04
* view.c (display): Recognize "+\bo" as a list item in nroff mode.
...
* view.c (hex_search): Added const qualifier.
2004-09-25 01:12:09 +00:00
Andrew V. Samoilov
c060826178
* direntry.c (vfs_s_free_entry): g_free handles NULL argument too,
...
no need for the comparison.
* extfs.c (extfs_free_archive): Likewise.
(extfs_open_archive): Likewise.
(extfs_read_archive): Likewise.
(extfs_remove_entry): Likewise.
(extfs_free_entry): Likewise.
* fish.c (fish_open_archive): Likewise.
(fish_archive_same): Likewise.
* ftpfs.c (ftpfs_split_url): Likewise.
* local.c (local_closedir): Likewise.
* mcserv.c (close_handle): Likewise.
* smbfs.c (smbfs_free_bucket): Likewise.
* tar.c (tar_read_header): Likewise.
* undelfs.c (undelfs_shutdown): Likewise.
* vfs.c (vfs_shut): Likewise.
2004-09-24 23:00:18 +00:00
Andrew V. Samoilov
12d24222db
* edit.c (edit_clean): g_free handles NULL argument too,
...
no need for the comparison.
(edit_move_backward_lots): Likewise.
* editcmd.c (edit_set_filename): Likewise.
(edit_replace_cmd): Likewise.
(edit_search_cmd): Likewise.
(edit_sort_cmd): Likewise.
(edit_mail_dialog): Likewise.
* syntax.c (syntax_g_free): Likewise.
(edit_read_syntax_rules): Likewise.
2004-09-24 22:37:00 +00:00
Andrew V. Samoilov
68a7c1dfab
* boxes.c (configure_vfs): g_free handles NULL argument too,
...
no need for the comparison.
* cmd.c (set_panel_filter_to): Likewise.
(do_link): Likewise.
(quick_cd_cmd): Likewise.
* color.c (done_colors): Likewise.
* dialog.c (destroy_dlg): Likewise.
* dir.c (alloc_dir_copy): Likewise.
* ext.c (flush_extension_file): Likewise.
* file.c (copy_file_file): Likewise.
(panel_operate): Likewise.
* hotlist.c (remove_group): Likewise.
(remove_from_hotlist): Likewise.
(done_hotlist): Likewise.
* main.c (main): Likewise.
* setup.c (panel_load_setup): Likewise.
* tree.c (tree_destroy): Likewise.
(show_tree): Likewise.
* user.c (user_menu_cmd): Likewise.
* utilunix.c (i_cache_add): Likewise.
(putenv): Likewise.
* view.c (view_done): Likewise.
(regexp_search): Likewise.
(normal_search): Likewise.
(change_viewer): Likewise.
* widget.c (label_set_text): Likewise.
(set_label_text): Likewise.
2004-09-24 22:22:35 +00:00
Roland Illig
2448006e86
* file.c (progress_update_one): Changed parameter type from int
...
to off_t.
Fixes http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124241
2004-09-24 18:14:49 +00:00
Roland Illig
2d0ef59071
* HACKING: added Redhat to the list of bug databases.
2004-09-24 17:05:41 +00:00
Roland Illig
c1a6f6dfd0
* HACKING: added pkgsrc-wip to the list of patch sources.
2004-09-24 16:55:00 +00:00
Roland Illig
3c09855c2d
* util.c (load_file_position): Fixed possible segmentation fault
...
when an $HOME/.mc/filepos did not contain a ';'.
2004-09-24 16:43:08 +00:00
Roland Illig
e9fcc04816
* vfs.c (mc_open): Corrected FIXME. Now the "mode" parameter is
...
only accessed when flags contains O_CREAT.
2004-09-24 16:03:24 +00:00
Roland Illig
d13910537a
* HACKING: Summarized the functions applicable to the NULL tip.
2004-09-24 15:53:58 +00:00
Roland Illig
844d55b627
* HACKING (Programming tips): added a tip concerning the NULL
...
pointer in varargs function calls.
2004-09-24 15:14:05 +00:00
Roland Illig
4bc786735e
* cpio.c: Replaced NULL with (char *) NULL. Likewise for 0, where
...
NULL was meant.
* direntry.c: Likewise.
* extfs.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
* mcfs.c: Likewise.
* tar.c: Likewise.
* undelfs.c: Likewise.
* vfs.c: Likewise.
2004-09-24 15:08:21 +00:00
Roland Illig
11842a375f
2004-09-24 Roland Illig <roland.illig@gmx.de>
...
* boxes.c: Replaced NULL with (char *) NULL. Likewise for 0, where
NULL was meant.
* cmd.c: Likewise.
* dialog.c: Likewise.
* ext.c: Likewise.
* file.c: Likewise.
* find.c: Likewise.
* hotlist.c: Likewise.
* learn.c: Likewise.
* main.c: Likewise.
* screen.c: Likewise.
* setup.c: Likewise.
* treestore.c: Likewise.
* user.c: Likewise.
* util.c: Likewise.
* utilunix.c: Likewise.
* view.c: Likewise.
* widget.c: Likewise.
* wtools.c: Likewise.
2004-09-24 15:05:28 +00:00
Roland Illig
9c65d36bdd
* edit.c: Replaced NULL with (char *) NULL. Likewise for 0, where
...
NULL was meant.
* editcmd.c: Likewise.
* editlock.c: Likewise.
* editwidget.c: Likewise.
* syntax.c: Likewise.
2004-09-24 14:57:57 +00:00
Roland Illig
df14f4860c
* HACKING (Programming tips): added a tip concerning the NULL
...
pointer in varargs function calls.
2004-09-24 14:19:21 +00:00
Roland Illig
ad1e412fa1
* slsignal.c (SLsystem): Replaced NULL with (char *) NULL in
...
call to execl.
From patches from the OpenBSD ports collection.
2004-09-24 14:06:04 +00:00
Roland Illig
e0f5d6e37f
* cons.handler.c (handle_console_linux): Replaced NULL with
...
(char *) NULL in call to execl.
* subshell.c (init_subshell_child): Likewise.
* utilunix.c (my_system): Likewise.
From patches from the OpenBSD ports collection.
2004-09-24 14:02:39 +00:00
Roland Illig
283441db92
* editdraw.c (status_string): Removed unused parameter.
...
(edit_status): Rewrote to allow longer filenames to be displayed
completely whenever possible.
2004-09-24 11:13:11 +00:00
Andrew V. Samoilov
17f58c5a1d
Add:
...
Files in the root of a tar that start with ./ (dot slash) are invisible
when entering the archive.
2004-09-23 19:32:28 +00:00