Pavel Roskin
5d6b103e96
* vfs/extfs/ftplist.in: Remove support for running commands, it
...
makes no sence.
2002-08-18 22:40:36 +00:00
Pavel Roskin
0d89dec899
* main.c: Remove extremely unsafe and poorly designed support
...
for /tmp/mc.$PID.control file.
* util.c (my_putenv): Remove, it's unused now.
2002-08-18 22:31:49 +00:00
Pavel Roskin
b9421d6927
* panel.h (struct format_e): Make string_fn return const char *.
...
Adjust all dependencies.
* screen.c (string_file_mtime): Return empty string for "..".
(string_file_atime): Likewise.
(string_file_ctime): Likewise.
2002-08-18 22:01:51 +00:00
Pavel Roskin
05e708a791
* view.c (display): Use enum for boldflag values. Fix cursor
...
highlighting for the ASCII part of the hex editor.
2002-08-18 20:18:04 +00:00
Pavel Roskin
69f67049fa
* layout.c (init_curses) [!HAVE_SLANG]: Add support for
...
stickchars - fill acs_map[] with ASCII approximations.
* main.c [!HAVE_SLANG]: Enable --stickchars (-a) for ncurses.
2002-08-18 16:34:29 +00:00
Pavel Roskin
f843cac110
Remove mc.global.
2002-08-17 01:17:14 +00:00
Pavel Roskin
785ff75d4f
* lib/mc.global: Remove, it duplicates the role of mc.lib.
...
* lib/mc.lib: Add contents of mc.global.
* lib/Makefile.am: Remove all references to mc.global.
2002-08-17 01:16:02 +00:00
Pavel Roskin
d7f635e142
* setup.c: New variable global_profile_name to hold full name of
...
mc.lib.
(load_setup): Calculate global_profile_name.
(done_setup): Free global_profile_name.
(load_key_defs): Use global_profile_name.
* treestore.c (should_skip_directory): Likewise.
2002-08-17 01:11:21 +00:00
Pavel Roskin
0ab6c80efd
* syntax/sh.syntax: Fix highlighting of "<<-EOF".
...
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2002-08-16 22:28:13 +00:00
Pavel Roskin
0707cb5278
* man2hlp.c: Implement persistent fread and fwrite to make sure
...
that all output is read and written.
2002-08-16 16:48:27 +00:00
Andrew V. Samoilov
7b867c0d5c
* user.c (expand_format): Cast the argument to functions
...
for character classification to unsigned int.
(execute_menu_command): Likewise.
2002-08-16 14:56:13 +00:00
Andrew V. Samoilov
4fa385b62e
* clientgen.c (fix_char_ptr): Commented out
2002-08-16 11:00:48 +00:00
Andrew V. Samoilov
64cb753187
* syntax/sh.syntax: Highlight alias, bg, eval, exec, export, fg,
...
set, umask and unset like other builtin commands.
2002-08-16 09:17:11 +00:00
Andrew V. Samoilov
fe2fdc4057
* help.c (show): Cast *paint_start to unsigned char to display
...
Cyryllic with ncurses.
[HAS_ACS_AS_PCCHARS] (acs2pc_table): Make const.
2002-08-16 09:07:20 +00:00
Andrew V. Samoilov
f289243ff2
* help.c (show): Cast *paint_start to unsigned char to display
...
Cyryllic with ncurses.
[HAS_ACS_AS_PCCHARS] (acs2pc_table): Make const.
2002-08-16 08:55:07 +00:00
Andrew V. Samoilov
9903101a05
Remove obsoleted location lines ("# file:line")
2002-08-16 08:39:31 +00:00
Pavel Roskin
479ccc534f
* treestore.c (tree_store_remove_entry): Don't use ts.check_name
...
and don't check it.
2002-08-16 00:05:29 +00:00
Pavel Roskin
cafbb72684
* treestore.c: Remove unused code, reformat.
...
* treestore.h: Remove unused declarations.
2002-08-15 23:31:23 +00:00
Pavel Roskin
b1dbe77c5b
* vfs.c (mc_def_getlocalcopy): Preserve existing extension.
2002-08-15 22:30:05 +00:00
Pavel Roskin
7f923cc9c0
* direntry.c (vfs_s_getlocalcopy): Fix potentially dangerous
...
strcpy().
2002-08-15 21:31:54 +00:00
Pavel Roskin
5a52a8bc85
* configure.in: Remove check for SIGTSTP, it's not needed for
...
the subshell support.
2002-08-15 21:23:33 +00:00
Pavel Roskin
0dbf2d1caf
* acinclude.m4 (AC_SHORT_D_NAME_LEN): Remove, this test is now
...
done at runtime.
* configure.in: Don't use AC_SHORT_D_NAME_LEN.
2002-08-15 21:19:52 +00:00
Pavel Roskin
cf8ab0de99
* extfs.c (s_readdir): Simplify.
...
* direntry.c (vfs_s_readdir): Use vfs_dirent.
* mcfs.c (mcfs_readdir): Likewise.
* smbfs.c (smbfs_readdir): Likewise.
* undelfs.c (undelfs_readdir): Use vfs_dirent and
compute_namelen().
2002-08-15 21:15:17 +00:00
Pavel Roskin
37f335b8c0
* vfs.h: Introduce union vfs_dirent to ensure that we have
...
enough space for the filename.
* extfs.c (s_readdir): Use vfs_dirent. Avoid strcpy().
2002-08-15 20:29:34 +00:00
Pavel Roskin
8b8d7de7ca
* direntry.c (vfs_s_readdir): Use compute_namelen().
...
* extfs.c (s_readdir): Likewise.
* mcfs.c (mcfs_readdir): Likewise.
* smbfs.c (smbfs_readdir): Likewise.
2002-08-15 19:38:17 +00:00
Pavel Roskin
8d173014e9
* fs.h (compute_namelen): New inline function to take care of
...
the d_namlen field if and only if it's needed.
2002-08-15 19:35:53 +00:00
Pavel Roskin
58da40fa6a
* screen.c (string_file_name): Replace non-printable characters
...
with question marks.
2002-08-15 16:52:51 +00:00
Pavel Roskin
f0dbdeb72e
* subshell.c (read_subshell_prompt): Remove argument "how", it's
...
never set to VISIBLY. Adjust all dependencies. Eliminate hack
with "clear_now" - it causes invalid memory access and hides the
real problem.
* util.c (strip_ctrl_codes): Fix possible invalid memory access
if the escape sequence ends unexpectedly.
2002-08-15 06:53:44 +00:00
Pavel Roskin
786c75b683
* dir.c (do_load_dir): Fix leaking of file descriptors - always
...
call mc_closedir() before return.
2002-08-15 02:02:49 +00:00
Pavel Roskin
66c5184faa
Revert undocumented change in the declaration of decompress_extension().
2002-08-15 01:45:06 +00:00
Pavel Roskin
6d2f235053
* main.c (do_execute) [!HAVE_SUBSHELL_SUPPORT]: Compile fix.
2002-08-15 01:36:09 +00:00
Pavel Roskin
11a66b3ffd
* vfs.h [!USE_VFS]: Declare mc_setctl as static inline function
...
to fix warnings.
2002-08-15 01:33:11 +00:00
Andrew V. Samoilov
7d54de2474
* doc/ru/mc.1.in: Remove reference to README.edit.
...
* doc/mc.1.in: Likewise.
* doc/hu/mc.hlp.hu: Likewise. Remove /var/tmp/mc-4.5.46-buildroot
everywhere.
2002-08-14 17:08:26 +00:00
Andrew V. Samoilov
b6a6aa0759
* doc/ru/xnc.hlp: Don't highlight spaces before link names.
2002-08-14 16:47:54 +00:00
Andrew V. Samoilov
4c25b24536
* util.c (reverse_string): Speed up.
2002-08-14 16:33:50 +00:00
Pavel Roskin
36f199cc10
* doc/mc.1.in: Consistently use "native" ftp syntax.
...
* doc/ru/mc.1.in: Likewise.
* doc/es/mc.1.in: Update from David Martin <dmartina@excite.com>
* doc/es/xnc.hlp: Likewise.
2002-08-14 16:09:06 +00:00
Pavel Roskin
7ea7ec49ab
* view.c (display): Use only declared color pairs to fix hex
...
editor appearance with ncurses. Eliminate some useless defines.
2002-08-14 07:41:01 +00:00
Pavel Roskin
62a7a04fe5
* lib/mc.hlp.hu: Move ...
...
* doc/hu/mc.hlp.hu: ... here. Make all necessary adjustments.
2002-08-14 06:18:48 +00:00
Pavel Roskin
c04d1ef570
Add mc.hlp.
2002-08-13 20:24:22 +00:00
Andrew V. Samoilov
d515c5d265
Highlight alias, exec & export. Higlight shift as other builtin commands
2002-08-13 18:54:49 +00:00
Pavel Roskin
d0b31c1c81
* key.c (delete_select_channel): Avoid using freed memory.
2002-08-10 04:37:13 +00:00
Pavel Roskin
c46d1f590b
* ext.c (exec_extension): Eliminate unused argument.
...
(regex_command): Remove support for user actions. Return int.
Adjust all dependencies.
2002-08-10 00:37:55 +00:00
Pavel Roskin
369316e6f0
Purge comments that make no sence now (Drop, Title, user-defined commands).
2002-08-10 00:18:07 +00:00
Pavel Roskin
bb4451f170
* ext.c (exec_extension): Make static. Remove support for Drop,
...
Title and Icon actions. Adjust all dependencies.
2002-08-10 00:14:01 +00:00
Pavel Roskin
b7cdfa9c93
* main.c (sigchld_handler_no_subshell) [linux]: SIGTSTP is
...
always defined on Linux.
* subshell.c (sigchld_handler): No need to use SIGTSTP
explicitly when we really care about SIGCONT.
2002-08-09 23:36:06 +00:00
Pavel Roskin
5a6b3d6b61
* lib/mc.ext.in: Remove all unrecognized actions (e.g. Extract)
...
and entries that are obsolete or make no sence.
2002-08-09 23:19:53 +00:00
Pavel Roskin
ceeb8c3c97
* doc/xnc.hlp: Add translatable titles for topics "QueryBox" and
...
"How to use help".
2002-08-09 22:38:38 +00:00
Pavel Roskin
5c498191e6
* doc/Makefile.am: Don't distribute help file. Generate it in
...
the build directory.
* doc/es/Makefile.am: Likewise.
* doc/ru/Makefile.am: Likewise.
2002-08-09 22:25:37 +00:00
Pavel Roskin
a1aabfff50
* ncurses.patch: Remove, it's obsolete.
...
* Makefile.am: Remove ncurses.patch.
2002-08-09 22:00:27 +00:00
Pavel Roskin
56368fe9f2
* lib/xnc.hlp: Move ...
...
* doc/xnc.hlp: ... here.
* doc/Makefile.am: Necessary adjustments.
* lib/Makefile.am: Likewise.
* src/Makefile.am: Likewise.
2002-08-09 21:55:20 +00:00