Commit Graph

1482 Commits

Author SHA1 Message Date
Andrew Borodin
7843203257 mc_ungetlocalcopy(): fixed wrong condition.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-16 11:24:50 +04:00
Andrew Borodin
6a306c18b2 old_esc_mode option can be setup now in 'Configure options' dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
2b167cbef0 Configuration dialogs reorganization.
Panel options are moved to new dialog.
Panel setup options are collected in a special structure.
Includes clean up.
Code indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:46:15 +04:00
Andrew Borodin
be622a9981 Refactoring of configuration handling.
Some functions were renamed. Code was reorganized.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:44:43 +04:00
Andrew Borodin
9db9fd766e Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 12:12:53 +04:00
Andrew Borodin
d2b23924dd Ticket #1911: use system realapth(3) function if available.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 12:08:43 +04:00
Slava Zanko
2a8a4131b2 Direct cleanup in master branch
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-05 21:52:27 +03:00
Slava Zanko
8f48bf2aec Fixed errors and warnings in compilation stage.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-05 16:24:14 +04:00
Andrew Borodin
873880edc2 vfs_timeout and use_netrc variables were moved to vfs.h file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin
9ac5d5207c Minor optimization of tty_draw_box() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Vit Rosin
2eb870c9c9 Ticket #2041: check return value of g_strdup_printf() in mc_log().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Vit Rosin
993d678ed9 Use EXIT_FAILURE symbolic name as return code.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin
9547a991cb Ticket #2119: some trivial corrections.
Trivial changes in util.h. Type cast in str_move function.

Thanks Vit Rosin for original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin
933aba001d Some optimizatioms in vfs.c.
Avoid some else branches. Type accuracy.

Thanks Vit Rosin for original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin
e70db42deb Grammar.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:13 +04:00
Andrew Borodin
4cea5be1ac Ticket #2097: clean up before 4.7.2 release.
Split assignments and conditions. Type accuracy. Minor optimization.

Thanks Vit Rosin for original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:23:51 +04:00
Slava Zanko
3a1e0966ae Final Indentation of all touched files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:21 +03:00
Enrico Weigelt, metux IT service
303833d590 Ticket #1897: Build breaks on ignored return values
Changes into lib directory

 * samba: handling result of system() call
 * rpc: handling write errors
 * ftpfs: ignoring result of fwrite() on logfile (make compiler happy ;-))
 * fish: proper handling of file io calls
 * ignoring result of fwrite() on logfile (make compiler happy ;-))
 * lib/util.c: handling fwrite() call errors in mc_util_write_backup_content()
 * lib/utilunix.c:
  * handling possible error on dup() in close_error_pipe()
  * handling possible error on getcwd() in mc_realpath()

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:20 +03:00
Yury V. Zaytsev
28eda66803 Ticket #1671: i18n_checktimelength may vary depending on the season
On some systems i18n_checktimelength may vary not only depending on the
locale but also on the current month. This patch introduces a cyclic
check that loops through all of the months to find out which one has the
longest name.

However, since this function is called on every pannel reload and now
makes 24 calls to str_term_width1 and strftime it makes sense to
introduce a cache for the resulting value.

Thanks to Sergey Fionov <fionov@gmail.com> for the initial patch.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-02 13:21:09 +02:00
Andrew Filonov
d9ebcebdc1 Another side of this bug, missed before
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-30 10:49:16 +03:00
Andrew Filonov
fc6cf6bf3f Ticket #2122: Y2k bug in uzip vfs
Newest version of unzip returns year of file with 4 digits.
But regexp in uzip checks only 2 digits.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-30 10:49:16 +03:00
Ilia Maslakov
329ef3846a Ticket #120 (View diff files)
added src/diffviewer/ydiff.[ch] into project tree
    added entry 'View diff files' into 'Command' menu
    added 'diffviewer' color pairs
    fixed Makefile and configure.am
    added new binding CmdDiffView into '[main]' section
    Big thanx to 'Daniel Borca <dborca@yahoo.com>' for ydiff

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

    Added diffviewer own library

Signed-off-by: Slava Zanko <slavazanko@gmail.com>

    Fixed CFLAGS for diffviewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>

    changed skins, added section
        [diffviewer]
            added=
            changedline=
            changednew=
            changed=
            removed=
            folder=
            error=

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

Reimplementation of hardcoded shortcuts to keybindings.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:15 +04:00
David Sterba
2a465cb8b5 Ticket #2149: patches adding a single line are not shown correctly by patchfs.
The problem:

$ cat < test.diff
--- a/foo
+++ b/foo
@@ -0,0 +1 @@
+bar

$ mcview test.diff#patchfs/a/foo.diff
--- a/foo
+++ b/foo

'+bar' line is not shown.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-25 10:07:49 +04:00
Andrew Borodin
b266527c5f Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-23 11:54:25 +04:00
Andrew Borodin
c0c744ba08 Ticket #1660: color keyword names unification.
Changed name of following color keywords:

menu -> menunormal
linestate -> editlinestate

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-22 16:09:52 +04:00
Artem S. Tashkinov
07de6670ed Ticket #2050: extfs/urar: disable user/system configuration for list and copyout operations.
My system wide .rarrc contains these switches

switches= -m5 -mdG -r -s -t -ol -tl

So whenever you list the contents of any archive or copy a file out of
it, RAR/UNRAR will traverse *all* sub directories (note -r, recursive
switch) in a current directory trying to find *all* archives with the
same name. So, the net result might be that unrar/rar will extract
the wrong file and spend a lot of time trying to find archives with
the same name.

That's why I strongly suggest disabling user/system configuration
for archive list and copyout operations (note the added -cfg switch).

I have contacted Eugene Roshal and he said that he won't disable -r switch
for extract and archive list operations, so, we can only fix this problem
on our side.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-22 10:18:46 +04:00
Artem S. Tashkinov
8bdd7bc764 Ticket #2049: extfs/urar doesn't correctly shows localized filenames in RAR archives.
There's no need to export LC_ALL.

Signee-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-20 16:56:41 +04:00
Andrew Borodin
7161567ea8 Ticket #1648: fixed frame corners for NCurses screen library.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-14 14:38:22 +04:00
Andrew Borodin
a708b5c514 Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 11:16:11 +04:00
Andrew Borodin
b0be11acd5 Merged tty_draw_double_box() function into tty_draw_box() one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
4e57b599cc Renamed frame symbol names.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
9a145a88ce Added capability to draw single or double lines.
Fixed tty_print_alt_char() to draw single or double vertical
or horizintal lines.
Added argument to tty_print_one_hline() and tty_print_one_vline()
functions to draw single or double lines.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
cc2f5670ec Created new function: tty_draw_double_box().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
be3b0119da Fixed tty_print_alt_char() function for NCurses.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Sergei E. Ovsyannikov
d8fb069e85 Ticket #1648: implemented single-line boxes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-06 10:30:58 +04:00
Andrew Borodin
58909eb708 Ticlet #1909: fix of extfs_read_archive() function.
Fixed bug introduced in ad9c1daad8 commit:
incorrect handling of "." and ".." directories within atchives.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-03 11:10:29 +04:00
Andrew Borodin
5b68413e62 Applied MC indentation policy.
Applied MC indentation policy to all files modified in this branch
with some simple manual modifications.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Vit Rosin
07a7f446b0 Ticket #2108: Fixed memory leak in fish_linear_start() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Slava Zanko
2dc590fe62 lib/util.c: Fixed memleak in load_mc_home_file() function
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-30 16:21:22 +04:00
Andrew Borodin
e94c1393e6 Fixed memory leak in mc_search__cond_struct_new_regex_accum_append().
Minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Andrew Borodin
3c88948c9d Fixed memory leak in mc_closedir().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin
f547d149ba Fixed memory leak in vfs_free_handle().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin
407d1f38f5 Fixed memory leak in vfs_s_getlocalcopy().
Thanks Vit Rosin for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Vit Rosin
c6a5837f6d Ticket #2069: fixed memory leaks.
Fixed memory leak in mc_config_read_file().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin
68d7a77210 Fixed of GSList item deallocation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-05 17:29:28 +03:00
Andrew Borodin
34d74f09b1 Ticket #1909: don't interpret trailing '+' as a plugin name.
If EXTFS plugin doesn't require a file, that file name must
be finished with '+': for example, rpms+. But trailing '+'
actually is not a part of plugin name, it is an plugin attrubute.
But in the current time trailing '+' must be used in VFS command:

cd #rpms+

instead of

cd #rpms

This commit simplifies the usage of some EXTFS plugins.

Also fixed VFS README.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-05 17:29:28 +03:00
Slava Zanko
7206d2cc6c Fixed wrong colors
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 14:22:31 +02:00
Slava Zanko
5354d59337 Identation of some source files.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 11:26:00 +02:00
Slava Zanko
cd8b350b6d UNDELFS: code cleanup
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 10:58:49 +02:00
Slava Zanko
bff2f7303b Cleanup: avoid warnings for mc-library on x86_64
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 10:58:49 +02:00
Slava Zanko
1b75ea27b6 Cleanup of code for master
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 10:58:49 +02:00
Andrew Borodin
2cf080d18f Ticket #2058: fixed memory leaks in _vfs_get_cwd() function.
Thanks Vit Rosin to found memory leak in _vfs_memleak() function.
This function was rewritten to fix two memory leaks.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 21:44:07 +03:00
Andrew Borodin
a78115ad8e Fixed variable declarations and added missing includes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 16:22:43 +00:00
Andrew Borodin
9b36242128 Ticket #1972: fixed broken monochrom support in NCurses-based MC.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 13:54:32 +00:00
Vit Rosin
3770047407 Ticket #2053: fixed memory leak in mc_symlink() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 12:08:01 +00:00
Slava Zanko
e1d1e9254d Change progressbar dialog.
* Minimizing dialog;
 * Optimizations of Copy/move progress dialog creation;
 * Added enum for specify dialog type (for copy/move or for delete)
 * Little optimization.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-02-24 10:40:11 +02:00
Slava Zanko
804ca8e7b0 Added indication of total BPS and ETA for file operations.
* Optimized functions calls (changed return type of all file_progress_show*() functions)
 * Reworked for use global structure FileOpTotalContext
 * Moved declarations of file_progress_show*() functions from fileopctx.h to filegui.h
 * Code for calculate progressbar's variables was moved into function copy_file_file_display_progress()
 * Progressbar for little files now shows always 100% (for visible effect)
 * Added i18n string '< 1 sec'
 * Rework of progress copy dialog

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 10:37:43 +02:00
Andrew Borodin
159f5fdff1 Type accuracy in file operation routines.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 10:37:42 +02:00
Andrew Borodin
492ccbe0ee Ticket #1999: changed color of inactive visible main menu.
Added 'menuinactive' skin item to draw incative visible
main menu.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-23 19:01:56 +03:00
Andrew Borodin
4451e07fab Ticket #2028: fixed memory leak in mc_search__hex_translate_to_regex() function.
Thanks Vit Rosin for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-23 14:35:43 +03:00
Slava Zanko
47cdfd6baf Use system function strverscmp() if exists.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-22 11:08:37 +02:00
Vladimir Brednikov
3c4221bc40 Ticket #1994: Sort files by version (like strverscmp(3) does)
Suppose we have 3 files with version in their names:
 * file-2.1.tgz
 * file-2.2.tgz
 * file-2.10.tgz

It is impossible to see them in natural order using standard facilities,
they will be sorted in alphabet order:
 * file-2.1.tgz
 * file-2.10.tgz
 * file-2.2.tgz

There was some attempts to fix this. I've picked up the patch by Roland Illig <roland illig gmx de>
(http://mail.gnome.org/archives/mc-devel/2004-July/msg00016.html) and adopted it for today's git snapshot.
It adds "version" option to the sort menu, which uses copy of strverscmp function from glibc.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-22 11:08:37 +02:00
Andrew Borodin
68ecccb453 Ticket #2018: strcpy() is used for overlaping strings.
memmove() is used for overlaping strings instead of strcpy().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-18 13:21:25 +00:00
Andrew Borodin
d5d1589665 Replaced hardcoded '/' symbols.
Symbolic names and GLib functions are used instead of
hardcoded '/' symbols.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
b7d5a5852c 2-level extfs plugin structure.
extfs vfs plugins are read from following places:
1. ~/.mc/extfs.d directory.
2. /usr/libexec/mc/extfs.d direcotry.

Priority of plugins installed in user home directory
is highest. If there are two plugins with same names
exist in user home and system directories, the plugin
from user home is used.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
ba1d909a7a extfs.ini file is replaced to extfs.d directory.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
2d43ad1bb4 Reimplemented work with plugin info.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
6e1c61da0e Optimization of symbolic link loop protection.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
5b96caa5f0 Optimization of extfs_get_path_from_entry() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
ad9c1daad8 Ticket #1909: easy plugable EXTFS VFS.
Reimplemented EXTFS VFS to be friendly to package-based
systems. Currently, MC requires to edit extfs.ini file
to add new plugin to MC VFS. After upgrade, all changes
to this files will be lost.

To solve that problem, MC configuration system should
support ".d" pattern.

Initial step: refactoring of current extfs code:
cleanup, type accuracy, indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Serhiy Storchaka
d45554ffad urar.in: fixed work with filenames begining with spaces.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 13:39:30 +02:00
Serhiy Storchaka
786e6f548e Ticket #2029: Error in supporting rar-archives
Contents of rar-archives with filenames contained / \d\d:\d\d / are not listed correctly.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 13:06:42 +02:00
Martin Petricek
7c3196b60e Ticket #1767: Custom/locale-based date format
Fixed showing of datetime format in various locales (such as Polish locale)

Added new options in config file:

[Misc]
    ...
    timeformat_recent=%d.%m.%y %H:%M
    timeformat_old=%d.%m.%y %H:%M
    ...

where
    timeformat_recent - for files with mtime between now
                         and "6 moths old" (like "Nov 2 00:56")
    timeformat_old    - for other files (like "Jun 23 2007")

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 12:31:47 +02:00
Max Khon
35e211123b Ticket #1017: added missing #include.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-11 12:23:59 +00:00
Andrew Borodin
56bf77ae57 Ticket #1926: Ctrl-\ key behaviour in NCurses-based MC.
Generally, Ctrl-\ is a default assignment to SIGQUIT signal.
S-Lang breaks this assignment. NCurses doesn't, therefore
MC just quits when user presses the Ctrl-\ key.

This commit emulates the S-Lang way in NCurses-based MC.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-06 13:21:25 +03:00
Slava Zanko
7ea4dfb4ca Ticket #1902: (reopened defect) Possible security risk in mcserv.c
Comment by Oswald Buddenhagen:
first, you decided to ignore my advice about not
obfuscating the code with nonsense-checks, and on top of that you
broke the string comparison (just see what happens when you try a user
named "ftpmaster").

This commit contain changes for respect this critic.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-05 17:36:19 +02:00
Andrew Borodin
1d16fd3a88 Small refactoring of history engine.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Pavel Vasilyev
b3ea5f8ceb Ticket #1902: Possible security risk in mcserv.c
Look at mcserv.c near 1019
The chroot() call's return value isn't handled - this may a security risk.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-04 11:12:56 +02:00
Serhiy Storchaka
6191ca0b1f Ticket #1921: Fix lslR VFS
The lslR VFS does not work with ls-lR files created in en_US.UTF-8 locale and with files and directories started with whitespaces.
Followed patch fixes both issues.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-02 22:25:54 +02:00
Slava Zanko
8d1eebc30e lib/mcconfig/common.c: fixed memory leak
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-02 21:56:01 +03:00
Andrew Borodin
6354f6b265 Fixed unused variables.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-02 21:45:21 +03:00
Andrew Borodin
7f50de4670 Added missed includes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-02 21:45:11 +03:00
Andrew Borodin
0bd03e07f5 Ticket #1990: code cleanup before 4.7.0.2 release.
Fixed warings: local variable shadows a global declaration.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-02-02 21:45:05 +03:00
Slava Zanko
f7c574b76e lib/Makefile.am: added lib/skin.h into distribution
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-02 18:01:18 +02:00
Vladimir Prodan
2d025b7ede Make b&w colors work as before
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-01 12:25:46 +02:00
Slava Zanko
f4c23b7081 Ticket #1972: Selections not visible on monochrome terminals
Reported-By: Dr. Stefan Thurner (TU-Chemnitz)

Since 4.7, on monochrome terminals (eg. xterm-mono) the
selections are not visible anymore (pre 4.7 inverted
the selected text).

Probably this has to do w/ the new skinning stuff.

Fix issue: added additional check for b&w terminal into skins engine.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-01 12:25:46 +02:00
Enrico Weigelt, metux IT service
d26be9da5f Ticket #262: remove obsolete own putenv() implementation.
Removed obsolete own putenv() implementation

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-30 18:31:24 +03:00
Enrico Weigelt, metux IT service
a295a9df47 Ticket #1925: Fixed conditional compile of mcserver 2010-01-27 21:56:46 +01:00
Rainer Tammer
476145a0f5 patches for AIX with ncurses support
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-27 10:04:38 +02:00
Slava Zanko
862652bd1b Move src/cons.saver into src/consaver/* subdir
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
545cb0a194 Changes for build after moving logging.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
2fa4d9b952 Move logging.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
e2f8a48ed8 Changes for build after moving strutils into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
e07ba16b3b Moved strecape.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
7c5212642e Changes for build after moving interface includes
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
25155c311a Move all interface includes from subdirs lib/*/*.h into lib/*.h
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
7815c9c7a8 Reorganization of usage external libs
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
cd4dbf3a09 Changes for build after moving strutil into lib
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
7fa24fbc9b Moved strutil-related stuff from src into lib/strutil/*
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
c764f3b84c Changes for build after moving util.[ch]
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
99abd3ab9a Moved src/util.[ch] into lib, also moved unixcompat.h and utilunix.c.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
dbaff2b6f6 Reorganization of sources. Part 2
* moved src/fileloc.h into lib/fileloc.h
 * moved src/timefmt.h into lib/timefmt.h
 * removed unneedded includes into src/util.c

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
93dbc46e9c Reorganization of sources. Part 1.
* moved src/global.h into lib/global.h
 * moved glibcompat.[ch] from ./src/ into ./lib/
 * moved fs.h from ./src/ into ./lib/

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
39d5b94cac Reorganized pathes to files in '#include' directives 2010-01-26 10:30:22 +02:00
Slava Zanko
ddb9ada2e8 Changes in sources matched with mass movement of $(srcdir)/src/*/ into $(srcdir)/lib/*/
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:22 +02:00
Slava Zanko
4f11e4b665 Massive moved some dirs from $(srcdir)/src into $(srcdir)/lib
Moved subdirs:
 * filehighlight
 * mcconfig
 * search
 * skin
 * tty

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:22 +02:00
Slava Zanko
52f6bed7d0 Moved dir $(srcdir)/vfs into $(srcdir)/lib/vfs/mc-vfs
Also, initial support of library directory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00
Mikhail S. Pobolovets
a55a505160 Move all stuff from lib to contrib
Also added template in contrib/distr for some distro-related files (spec, deb, ebuild, etc)
2009-05-08 15:12:48 +03:00
Slava Zanko
73159dbc32 Move all hints-files from lib to doc/hints 2009-05-08 13:23:42 +03:00
Slava Zanko
2ebdf91079 Merge branch 'm-utf-8'
* m-utf-8: (223 commits)
  Fix wildcard pattern in file select and file find dialogs
  Project builds with option --disable-charsets
  Deleted build-glib1.sh because glib1 don't work with utf-8
  fix building without --enable-charset
  Total replacement to mc_search stuff in all places
  Search engine: if found_len parameter NULL, then mc_search_run don't try to fill them
  src/view.c: Reworked search stuff to usage src/search
  refactoring: rename edit/editcmd_dialog.c:editcmd_dialog__get_search_types_list to
  Search engine: development of hex search complete
  Search engine: remove forgotten debug string and reindent file
  Search engine:
  configure.ac: if present glib-2.14 and higher, libpcre don't linked
  Search engine: now used regexp external engines:
  src/find.c: Fixed core dump if content search pattern no present
  edit/editcmd_dialogs.c: fixed state of search type between dialog window calls
  Find files: checkbox 'Regular expression' for content search now default unchecked
  Find files: changes for usage of new search engine:
  Fix copy of current/opposite path to command line: remove charset info from path
  src/Makefile.am: add some header files to Make-tracking
  Fixed editor menu reloading.
2009-05-07 13:01:01 +03:00
Mikhail S. Pobolovets
04a446b237 Merge branch '324_viewing_man_w_references' 2009-04-17 21:33:18 +03:00
Sergei Trofimovich
8f181d9e42 mc.ext: man: fixed cat as fallback for zsoelim
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-04-17 21:16:17 +03:00
Mikhail S. Pobolovets
b20cd38d0d * lib/mc.ext.in: fix: if zsoelim is absent use cat instead
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-16 23:33:49 +03:00
Mikhail S. Pobolovets
07584c35c7 Merge branch '190_srpm_support' 2009-04-16 22:31:48 +03:00
Mikhail S. Pobolovets
a83de0cc46 * lib/mc.ext.in:
Fixes a problem with viewing manual pages that
    references other pages.

    Original discussion at:
    https://bugzilla.novell.com/show_bug.cgi?id=489757

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 11:41:39 +03:00
Mikhail S. Pobolovets
f021c090f9 * lib/mc.ext.in:
Tar is missing a - as argument fix

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 10:57:43 +03:00
Mikhail S. Pobolovets
d178dffaec * lib/mc.ext.in:
Now mc also tries to use antiword if aviable

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 10:47:23 +03:00
Mikhail S. Pobolovets
0cb9da2bd6 * lib/mc.ext.in:
Now mc tries to search for a installed text-webbrowser and
    try to use them instead of only trying lynx.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 09:46:12 +03:00
Ilia Maslakov
3b5e2c052f Merge branch 'utf-8' into master
resolve conflicts:
	configure.ac
	src/complete.c
	src/file.c
	src/layout.c
	src/main.c
	src/menu.c
	src/screen.c
	src/util.c
	src/widget.c
	src/widget.h
2009-04-04 19:50:46 +00:00
Mikhail S. Pobolovets
551e9e5153 lib/mc.ext.in: Fixed: Wrong position of .glade 'open'
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-03-20 11:35:51 +02:00
Slava Zanko
37ccd9ccac Open .glade support in mc.ext
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-03-20 11:14:45 +02:00
Mikhail S. Pobolovets
5fd1537717 lib/mc.ext.in: command line options fix by adamw (#183)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-24 11:11:58 +02:00
Mikhail S. Pobolovets
70e800fc58 mandriva: Srpm support for extfs
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-21 13:28:40 +02:00
Mikhail S. Pobolovets
da3b76b8d7 Merge branch '176_lzma' 2009-02-21 12:23:50 +02:00
Enrico Weigelt, metux IT service
220f4f4caf manually merged mc-4.6 2009-02-05 07:25:47 +01:00
Enrico Weigelt, metux IT service
161dc235a6 lib/mc.sh.in: fixes for non-bash shells (fixing #196) 2009-02-04 22:39:27 +01:00
Enrico Weigelt, metux IT service
a5ba278729 merged in lzma patch from mandriva 2009-02-04 21:16:00 +01:00
Enrico Weigelt, metux IT service
e5cad3802b Merge commit 'origin/mc-4.6' 2009-02-04 00:44:39 +01:00
Enrico Weigelt, metux IT service
d4927f99ef Merge commit 'origin/201_historic_compressors' 2009-02-04 00:41:30 +01:00
Enrico Weigelt, metux IT service
dd6f2d7362 added patch by angel_il on #219 2009-02-03 19:10:58 +01:00
Mikhail S. Pobolovets
19716b790a Update for OpenOffice and StarOffice viewer.
odt2txt is now used.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-29 22:18:12 +02:00
Mikhail S. Pobolovets
8bc0e27a54 Update for OpenOffice and StarOffice viewer.
odt2txt is now used.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-29 21:00:35 +02:00
Slava Zanko
8fe8a1fc38 Add UTF-8 charset to list of charsets. 2009-01-26 12:20:41 +02:00
Slava Zanko
86fb0bfc03 patches by Rostislav Beneš: mc-27-hint
Convert all hint files to UTF-8.
2009-01-26 12:15:35 +02:00
Slava Zanko
753f65c242 patches by Rostislav Beneš: mc-27-hint
Convert all hint files to UTF-8.
2009-01-26 12:00:33 +02:00
Enrico Weigelt, metux IT service
173ca89fca merged jpelletier's patch for historic archive formats 2009-01-24 04:59:34 +01:00
Slava Zanko
9623a85506 lib/mc.ext.in: change filemask for recognize 7z-files
vfs/extfs/u7z:
  - change only LC_DATE global variable for correct work with arhive;
  - add sorting by filename in output of list files
2009-01-14 11:54:02 +02:00
Enrico Weigelt, metux IT service
315633ecce changed the HQ to http://www.midnight-commander.org/ 2009-01-11 21:37:27 +01:00
Patrick Winnertz
dcd57a34ef Removed .cvsignore files as we don't need them any longer 2009-01-05 16:58:44 +01:00
Slava Zanko
aad7c6c317 Added .svnignore files (same as .cvsignore) 2008-12-28 23:27:03 +02:00
Pavel Tsekov
7c190bc576 * lib/mc.ext.in: Play .flv files. 2007-11-02 14:20:27 +00:00
Pavel Tsekov
97c4582e9c * FAQ: Update MC's homepage url.
* README: Ditto.
* mc.qpg.in: Ditto.
* mc.spec.in: Ditto.
* doc/mc.1.in: Ditto.
* doc/mcedit.1.in: Ditto.
* doc/mcserv.8.in: Ditto.
* doc/mcview.1.in: Ditto.
* doc/es/mc.1.in: Ditto.
* doc/hu/mc.1.in: Ditto.
* doc/it/mc.1.in: Ditto.
* doc/pl/mc.1.in: Ditto.
* doc/ru/mc.1.in: Ditto.
* doc/sr/mc.1.in: Ditto.
* doc/sr/mcserv.8.in: Ditto.
* lib/mc.hint: Ditto.
* lib/mc.hint.cs: Ditto.
* lib/mc.hint.es: Ditto.
* lib/mc.hint.hu: Ditto.
* lib/mc.hint.it: Ditto.
* lib/mc.hint.nl: Ditto.
* lib/mc.hint.pl: Ditto.
* lib/mc.hint.ru: Ditto.
* lib/mc.hint.sr: Ditto.
* lib/mc.hint.uk: Ditto.
* lib/mc.hint.zh: Ditto.
2007-09-24 12:40:47 +00:00
Pavel Roskin
b3ae812c32 * mc.ext.in: Call xmms consistently. Never preserve the
existing queue (it was done for wav, but not for mp3 files).
Preserving the queue is not a good idea if mc is used to move
the files around.  Always redirect stdout and stderr to
/dev/null.
2006-12-28 03:57:01 +00:00
Leonard den Ottolander
e2959bb66a * mc.ext.in: ipkg package manager uses gzipped tars (.ipk). 2006-06-22 12:57:00 +00:00
Leonard den Ottolander
6b2b857e48 mc.ext.in: Loosen match for mailbox. 2006-06-05 10:24:35 +00:00
Leonard den Ottolander
b0b8d116ad * mc.ext.in: Open mailboxes using mailfs. 2006-05-28 12:40:21 +00:00
Pavel Tsekov
c826992e1e * lib/mc.ext.in: Improve output of the View command for debian packages. 2006-03-23 16:00:08 +00:00
Leonard den Ottolander
1624165a91 * lib/mc-wrapper.sh.in: Don't use "$()" construct as it is not
portable to f.e. SunOS. Use backticks instead.
2006-03-18 13:05:52 +00:00
Pavel Tsekov
239d8a64c2 * lib/mc.ext.in: Add support for Perl .pod files. 2006-03-15 16:28:27 +00:00
Leonard den Ottolander
118b31fa91 * lib/mc-wrapper.sh.in: Handle user names with spaces.
* lib/mc-wrapper.csh.in: Likewise.
2006-02-28 22:42:52 +00:00
Leonard den Ottolander
199cc08828 * lib/mc.ext.in: Open gimp in the background. 2006-02-19 12:04:03 +00:00
Pavel Tsekov
b3fa1f0a3e * src/cmd.c: When invoking external viewer, probe VIEWER environment
variable first, then PAGER, then fall back to "view".
* lib/mc.hint: Mention VIEWER environment variable.
* doc/mc.1.in: Document support for VIEWER environment variable.
2006-01-29 10:41:47 +00:00
Roland Illig
009400124c Added newline. :) 2005-09-06 09:20:29 +00:00
Roland Illig
42a100029b * mc.ext: nm(1) view is enabled for all ELF files, not just
files ending in .o.
2005-09-06 09:20:01 +00:00
Roland Illig
e0898803a1 * mc.menu: %d is already quoted, so it must not be written "%d". 2005-09-06 06:01:07 +00:00
Pavel Roskin
179aa43514 * lib/mc.ext.in: Restore support for opening 7-zip archives. 2005-07-20 21:28:50 +00:00
Pavel Roskin
680ccc7e56 * configure.ac: Add vfs/extfs/ualz to AC_CONFIG_FILES.
* lib/mc.ext.in: Add support for ALZip archives.
2005-07-20 19:07:18 +00:00
Leonard den Ottolander
b7552a4e40 lib/mc.ext.in: Match log files as plain text; match local man pages; add fixes
for gzipped man pages to plain and bzipped man pages.
2005-07-03 15:04:11 +00:00
Leonard den Ottolander
2704385e05 lib/mc.ext.in: Move matches for plain compressed files down. 2005-07-03 12:43:15 +00:00
Pavel Roskin
a52ce4e9ac * lib/mc.ext.in: Support opening for 7-Zip archives. 2005-06-22 02:23:50 +00:00
Roland Illig
bba40f1e93 * lib/mc.ext.in: Added ${PAGER} as fallback if neither lynx nor
links is installed.
2005-06-06 00:05:25 +00:00
Andrew V. Samoilov
966f5cb430 * lib/mc.ext.in: Added support for .7z archives. 2005-05-30 08:12:17 +00:00
Pavel Roskin
1f60f44145 Update postal address of Free Software Foundation. 2005-05-27 03:35:10 +00:00
Pavel Roskin
ef3e4ddcc9 * lib/mc.ext.in: Add OpenOffice.org 2 extensions, use o3totxt
to view OpenOffice.org documents.
2005-05-13 15:09:55 +00:00
Roland Illig
afce6c8106 * lib/mc.ext.in: Recognize either *.udeb or *.deb as Debian
packages. Fixes Savannah patch #3899.
2005-04-16 10:24:46 +00:00
Andrew V. Samoilov
89accff625 * lib/mc.ext.in: Add a few sound formats that "play" and "mikmod"
utility knows.
2004-10-28 06:19:23 +00:00
Andrew V. Samoilov
0112ed6d65 * lib/mc.ext.in: Use xmms for audio files in XWindows mode.
Add support for *.wma files. Add support for playlists.
2004-10-20 05:14:42 +00:00
Andrew V. Samoilov
b01dc1030f * lib/mc.lib: Add gnome, rxvt and xterm-new terminals. 2004-09-10 09:23:43 +00:00
Andrew V. Samoilov
9278084559 Security fix patch. Fix insecure temporary file and directory creations. (CAN-2004-0231) 2004-08-17 08:31:16 +00:00
Pavel Roskin
3738fbba68 * lib/mc.ext.in: Use gqview instead of ee for images. ee seems
to be is obsolete.  Suggested by Marcel Pol <mpol@gmx.net>
2004-04-02 07:22:18 +00:00
Pavel Roskin
970793d4e2 * lib/mc.ext.in: Recognize *.tb2 and *.tbz files. 2004-01-22 07:40:51 +00:00
Pavel Roskin
c5a633d8ab Update from Arpad Biro. 2004-01-19 17:22:06 +00:00
Pavel Roskin
6a9f6d29c4 Changes from Strahinya Radich. 2003-10-10 21:06:41 +00:00
Pavel Roskin
86d951b9c4 Remove references to obsolete xterm fixes. 2003-10-08 19:40:58 +00:00
Pavel Roskin
5670baccb4 Update some URLs. From Frederic L. W. Meunier <lists@pervalidus.tk> 2003-09-28 20:04:05 +00:00
Pavel Roskin
6a728cb3f9 * lib/*.ti: Remove, these files are obsolete.
* lib/tdiff: Likewise.
* lib/xterm.tcap: Likewise.
* lib/Makefile.am: Remove obsolete files.  Don't install
README.xterm and xterm.ad, there are partly obsolete and can
break things if used as is.
2003-09-23 06:11:19 +00:00
Pavel Roskin
887d889906 Fix typos.
Reported by GoTaR <gotar@poczta.onet.pl>
2003-09-23 05:54:27 +00:00
Pavel Roskin
c92b530b5f * lib/mc.hint.sr: Updated.
* lib/mc.menu.sr: New file - translated menu.
* lib/Makefile.am: Add mc.menu.sr.
* doc/sr/: New Serbian documentation.
* doc/Makefile.am: Add "sr" directory.
* configure.in: Add substitutions for new files.
2003-09-22 21:04:59 +00:00
Pavel Roskin
a3a8b91ced Add mc.hint.sr. 2003-09-12 02:53:44 +00:00
Pavel Roskin
58d1d9fe2b * lib/mc.hint.sr: New file - Serbian hints. 2003-09-11 21:22:44 +00:00
Pavel Roskin
294cf76b3b Unset EXT just in case. 2003-09-10 00:17:25 +00:00
Pavel Roskin
2355c67ada * lib/mc.menu: Add entry for viewing manual pages. 2003-09-04 17:05:33 +00:00
Pavel Roskin
807db8eda2 * lib/mc-wrapper.csh.in: Use "id" command to find the real user
id.  $USER is not reliable.
* lib/mc-wrapper.sh.in: Likewise.
Reported by Figura Peter <peterf@autus.sk>
2003-08-18 16:44:22 +00:00
Pavel Roskin
8c4a0aa3c0 * lib/cedit.menu: Avoid using "id -u", it doesn't work on
Solaris.  From Andrew V. Samoilov <andrew@email.zp.ua>
2003-08-02 23:01:51 +00:00
Pavel Roskin
ff9c544b88 * lib/mc.lib: Add more "end" and "home" sequences for xterm. 2003-07-23 05:48:55 +00:00
Pavel Roskin
c1d9304c3f * lib/mc.hint.cs: Typo fixes. 2003-06-29 23:18:23 +00:00
Pavel Roskin
e54ac85df6 * lib/mc.ext: Allow ZIP in all capitals in "file" output. 2003-06-23 17:00:57 +00:00
Pavel Roskin
f0e6a9d522 * lib/mc.ext.in: Don't run compressed logs from /var/log through
nroff.  Suggested by Alfie Costa <agcosta@gmx.net>
2003-06-06 23:40:05 +00:00
Pavel Roskin
31e038ded1 * configure.in: Add vfs/extfs/iso9660 to AC_CONFIG_FILES.
* lib/mc.ext.in: Add support for ISO images.
2003-04-29 16:05:12 +00:00
Pavel Roskin
6747ef213e * lib/mc.lib: Add xterm arrows both for application and normal
mode.  Normal mode can be accidentally enabled if one mc is run
from another and Ctrl-O is used to switch between them.
Add F11-F20 definitions for cons25 (FreeBSD console).
2003-03-03 08:05:49 +00:00
Pavel Roskin
c13e3a213a * lib/mc.ext.in: Add entry for QNX Neutrino packages. 2003-02-23 05:52:05 +00:00
Pavel Roskin
3d26743be6 Remove copyright notices. 2003-02-12 23:48:53 +00:00
Pavel Roskin
9180186101 * lib/mc.ext.in: Fix missing comma that affected viewing RPM packages. 2003-01-30 00:27:33 +00:00
Andrew V. Samoilov
86d8893548 shell desc does not allow wildcards.
* regex/\.(rpm/spm)$: Use --nosignature only if rpm supports this.
2003-01-28 06:58:18 +00:00
David Martin
e886207c20 Update Spanish messages and help. 2003-01-13 11:02:20 +00:00
Pavel Roskin
eaf4ca610d Remove old download location. 2002-12-27 14:31:57 +00:00
Pavel Roskin
201dbae818 * lib/mc.ext.in: Use --nosignature with rpm to avoid a message
in the viewer about unsigned packages.
2002-12-24 23:01:43 +00:00
Pavel Roskin
336183ab5d * lib/mc.ext.in: Play *.mov by mplayer. 2002-12-24 08:30:51 +00:00
Pavel Roskin
1ef9add08b Use lha, not lharc. 2002-12-14 04:41:19 +00:00
Pavel Roskin
b594ab56c4 Add support for lslR archives compressed by bzip2. 2002-12-12 08:33:00 +00:00
Pavel Roskin
63894e4080 * lib/mc.ext.in: Remove ftplist. Add patchfs. 2002-12-09 20:27:24 +00:00
Pavel Roskin
b246f3c7ea s/Could not/Cannot/ 2002-12-08 01:12:18 +00:00
Andrew V. Samoilov
9cd542a5d7 * lib/mc.menu: Don't use --repetitive-best option with bzip2 -
it is redundant in versions 0.9.5 and above.
2002-11-14 10:50:23 +00:00
Pavel Roskin
2797997f9c * lib/edit.indent.rc: Remove all options for indent and add a
comment explaining where those options should be.
2002-11-06 20:27:06 +00:00
Pavel Roskin
f218f0224e * lib/mc-wrapper.csh.in: Remove /bin/csh at the beginning - this
script is not meant to be executed by the kernel.  This also
eliminates dependency of the RPM package on csh.
* lib/mc-wrapper.sh.in: Remove /bin/sh at the beginning.
2002-11-05 18:46:10 +00:00
Marco Ciampa
21b5823b5d Reset changes made in Makefile.am for mistake. 2002-11-05 18:42:57 +00:00
Marco Ciampa
f203f0208e fixed creation mc-wrapper.csh & mc-wrapper.sh 2002-11-05 17:05:28 +00:00
Marco Ciampa
513941ad49 mc.sh & mc.csh creation fixed... 2002-11-05 16:53:16 +00:00
Pavel Roskin
4107d9a672 Remove mc-gnome.ext, add wrappers. 2002-11-01 21:03:01 +00:00
Pavel Roskin
2be7e8d4ea Remove argument passing, it's not needed for aliases. 2002-11-01 19:48:45 +00:00
Pavel Roskin
68ace346be Fix to pass "make distcheck". 2002-11-01 18:21:14 +00:00
Pavel Roskin
83cb1dd047 * configure.in: Don't substitute mc.sh and mc.csh - it's now
done ...
* lib/Makefile.am: ... here.  Add wrappers for mc to avoid
defining complex shell scripts in functions and aliases.
* lib/mc-wrapper.csh.in: New file - template for the script
that runs mc and changes directory in csh.
* lib/mc-wrapper.sh.in: New file - template for the script
that runs mc and changes directory in sh.
2002-11-01 18:10:20 +00:00
Pavel Roskin
d8c9fe58f1 * lib/mc.csh.in: Add quoting and check for missing file. 2002-10-31 16:55:57 +00:00
Pavel Roskin
a9ec61a020 Add some protection. 2002-10-31 14:45:25 +00:00
Pavel Roskin
cca4ac1b16 * lib/mc.csh.in: Update to use the new -P option. This script
has absolutely no protection against special symbols in
directory names and lacks TMPDIR support.
2002-10-31 06:30:53 +00:00
Pavel Roskin
9b75f6df97 Respect TMPDIR environment variable. 2002-10-31 05:36:54 +00:00
Pavel Roskin
f5bf601c7c * lib/mc.sh.in: Update to use the new -P option. 2002-10-31 05:26:54 +00:00
Pavel Roskin
38e3189d0a * lib/mc.ext.in: Rename TROFFASCII to MAN_FLAGS.
* configure.in: Likewise.  Add "-c" (disable ANSI color) to
MAN_FLAGS if supported.
2002-10-30 02:37:48 +00:00
Pavel Roskin
f5bc8ca14a * lib/mc.ext.in: Don't use links to view html - the "-dump"
option has been removed in the recent versions.
From David Martin <dmartina@excite.com>
2002-10-24 04:57:51 +00:00
Pavel Roskin
48dcdf714e Shorten the homepage hint.
From Peter Masiar <peter.masiar@yale.edu>
2002-10-23 19:20:13 +00:00
Pavel Roskin
df98f2a2dc Update the homepage address. 2002-10-23 05:22:17 +00:00
Pavel Roskin
af1c9c0775 Update from David Martin <dmartina@excite.com> 2002-10-14 13:24:24 +00:00
Pavel Roskin
bfec8a5fe7 * lib/mc.ext.in: Don't use "-dump" option with "links".
From David Martin <dmartina@excite.com>
2002-10-14 13:10:40 +00:00
Pavel Roskin
3e79378af6 * lib/mc.hint*: Remove all references to "-1" - hints file is no
substitute to unambigous GUI.
From Christian Laubscher <christian.laubscher@tiscalinet.ch>
2002-10-13 23:29:04 +00:00
Pavel Roskin
6f85fe6f90 * lib/mc.ext.in: Redirect stderr from "links" to suppress a
warning if it's not found.
2002-10-12 20:07:58 +00:00
Marco Ciampa
5683eb30cb in italian after a comma is an error to start with uppercase... 2002-09-22 13:55:28 +00:00
Pavel Roskin
748e028d05 * */Makefile.am: Replace mclibdir with pkgdatadir to use "share"
directory for architecture-independent files.
2002-09-21 23:49:52 +00:00
Pavel Roskin
0e0dc9d33a * lib/mc.menu: Don't call tarballs "releases". Don't
dereference symlinks.
2002-09-12 19:21:13 +00:00
Pavel Roskin
110af08b0b * lib/mc.ext.in: Remove edit rules for compressed files that
were compressing even unchanged files - the editor itself can
handle compression better.
2002-09-04 19:01:13 +00:00
Pavel Roskin
3fd891256c * lib/mc.ext.in: Add new OpenOffice.org formats. Always use
OpenOffice.org, not StarOffice.  Add more video formats.
2002-08-27 06:33:47 +00:00
Pavel Roskin
27b3644329 * lib/mc.ext.in: Use gzip instead of gunzip and compress. Avoid
unnecessary pipeline.  Redirect stderr from cpio, because it can
be non-empty even for successful operations.
2002-08-27 05:59:06 +00:00
Pavel Roskin
b54612721c * lib/mcserv.init: Update from Red Hat package.
* lib/mcserv.pamd: Likewise.
2002-08-26 03:46:17 +00:00
Pavel Roskin
15a6a98f18 * mc.sh.in: Only bash needs the mc() function to be exported. 2002-08-25 19:40:24 +00:00
Pavel Roskin
723739afc8 * lib/edit.indent.rc: Use tidy to format HTML.
From David Martin <dmartina@excite.com>
2002-08-24 18:09:45 +00:00
Pavel Roskin
d40f336c24 * lib/cedit.menu: Remove all references to the error file.
* lib/edit.indent.rc: Likewise.
* lib/edit.spell.rc: Likewise.
2002-08-24 17:39:07 +00:00
Pavel Roskin
9ff6874d9e * lib/mc.ext.in: Try links before lynx. Force full path when
invoking X11 browsers - it breaks VFS, but VFS support in mc.ext
is already broken if the program starts in background.  Add a
comment discouraging taking this code as example.
2002-08-19 02:27:19 +00:00
Pavel Roskin
ab104ea1f5 * lib/mc.menu: Remove all references to $MC_CONTROL_FILE, which
was unsafe by design and is no longer supported.  Use %t instead
of %u to preserve tags in case of failure.
2002-08-18 22:53:07 +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
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
369316e6f0 Purge comments that make no sence now (Drop, Title, user-defined commands). 2002-08-10 00:18:07 +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
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
Pavel Roskin
f68aab696c * lib/mc.lib: Add f11-f20 keys for Konsole. 2002-08-07 23:43:58 +00:00
Pavel Roskin
c819e0de4d * lib/mc.ext.in: Open *.doc and *.rtf files with abiword by
default. Open *.xls with gnumeric.  Use mplayer for most video
formats.
2002-07-28 21:04:36 +00:00
Pavel Roskin
e0a1975590 * lib/mc.ext.in: Remove handling of executables. They should
be handled internally for "pause after run" to work.
2002-07-16 05:16:45 +00:00
Pavel Roskin
23b183df45 * lib/mc.ext.in: Add support for *.rmi files - latest TiMidity++
can play them.
2002-04-21 04:09:02 +00:00
Pavel Roskin
8b5418771b * lib/mc.ext.in: Run "file" before "nm" to avoid an error
message "no symbol found" for unsupported architectures and
provide more useful information.
2002-02-26 23:59:55 +00:00
Andrew V. Samoilov
f04c521675 * lib/edit.indent.rc: Use "#! /bin/sh"
* lib/edit.spell.rc: Likewise.
* lib/mcserv.init: Likewise.
2002-02-21 14:18:46 +00:00
Andrew V. Samoilov
14f1557b8c * lib/cedit.menu: Eliminate bashisms.
Add missed `:' in AUTHOR evaluation.
Unset LANGUAGE and make LC_ALL empty.
Use "#! /path/to/program".
2002-02-21 14:15:28 +00:00
Pavel Roskin
a2ee840c65 * lib/mc.menu: Correct quoting.
Reported by Matthias Urban <murban@cs.uni-magdeburg.de>
2002-01-03 16:33:08 +00:00
Marco Ciampa
c8e31fc95a Changed Learn keys menu - corrected. 2001-12-17 16:02:33 +00:00
Pavel Roskin
bfb469435d * lib/mc.ext.in: Use "type" to recognize zip and lha archives. 2001-11-29 21:27:55 +00:00
Pavel Roskin
efe14b8bf1 * lib/mc.ext.in: When running X programs in background, do it
from subshell.  Otherwise some of them terminate when mc exits.
Reported by Christian Dysthe <christian@dysthe.net>
Remove some obsolete and gmc-specific entries.  Use StarOffice
to open files detected as "Microsoft Office Document".
2001-11-28 00:25:44 +00:00
Pavel Roskin
6e6eb3465e * lib/mc.lib: Support "Home" and "End" sequences in xterm from
XFree86 4.1.0.
2001-11-27 16:23:40 +00:00
Andrew V. Samoilov
07302c86a4 * lib/mc.menu (Extract compressed tar files to subdirectories): Use $i in case statement 2001-11-22 09:28:04 +00:00
Pavel Roskin
3fe616ace4 * lib/mc.ext.in: Add support for Netpbm files. 2001-10-30 08:08:04 +00:00
Andrew V. Samoilov
6c1fabe920 * mc.hint.ru: Fix typo. 2001-10-18 09:34:44 +00:00
Pavel Roskin
ddcec565ec * lib/mc.ext.in: Treat Makefile.PL as a Perl program, not as a
Makefile.  Don't allow any suffixes after "Makefile".
2001-10-16 07:30:33 +00:00
Pavel Roskin
fcebeec60c * lib/mc.ext.in: Add support for *.xcf files (native GIMP
format).
2001-10-12 06:32:58 +00:00
Pavel Roskin
f30f16c588 * lib/mc.menu: Use "case" instead of non-portable "egrep -q".
Fix compress<->bzip2 conversion and conversion of tagged
archives.
2001-10-06 08:54:05 +00:00
Pavel Roskin
23bdfba2a6 * lib/mc.ext.in: Use ogginfo to view *.ogg files.
Suggested by Marcel Pol <mpol@gmx.net>
2001-10-05 22:41:33 +00:00
Pavel Roskin
b3cd72c2df * lib/mc.ext.in: Use xmms to play *.mp3 under X. When viewing
*.mp3, use "verbose" option to mpg123.  Add support for *.ogg
and *.mid files.
2001-10-05 05:51:26 +00:00
Pavel Roskin
6f248850ea * lib/edit.spell.rc: Try aspell before resorting to ispell. 2001-09-20 01:13:29 +00:00
Pavel Roskin
33b09eee48 * configure.in: Update list of browsers. Don't fallback to
lynx since it cannot be run in background.
* lib/mc.ext.in: Redirect output of X11 browsers to /dev/null.
If no browser for X11 was found, use lynx.
2001-09-12 22:10:37 +00:00
Pavel Roskin
9b0385f063 * lib/ncurses.h: Remove.
* lib/Makefile.am: Remove ncurses.h.
2001-09-03 02:47:38 +00:00
Pavel Roskin
d0ae217d83 * lib/startup.links: Remove.
* lib/README.desktop: Likewise.
* lib/Makefile.am: Remove all references to DESKTOP_FILES.
2001-08-24 18:39:59 +00:00
Pavel Roskin
11bc824c4a * lib/edit.indent.rc: Create cooledit.error right away to
override its old contents.  Don't use ksh extentions.  Treat *.C
files as C++.  Recognize more C++ extensions.  Support java.
Update URL for "astyle".  Quote all arguments to protect spaces.
* lib/edit.spell.rc: Don't save terminal settings - mc does it
itself.  Quote all arguments to protect spaces.
2001-08-23 17:45:33 +00:00
Pavel Roskin
0482535bf5 * doc-gnome/C/figs/Makefile.am: Don't install GNOME-specific
files if GNOME frontend is disabled.
* idl/Makefile.am: Likewise.
* lib/Makefile.am: Likewise.
* new_icons/Makefile.am: Likewise.
2001-08-21 04:43:03 +00:00
Andras Timar
e04c443bb2 2001-08-19 Andras Timar <timar@gnome.hu>
* lib/Makefile.am: Added Hungarian hints
        * lib/mc.hint.hu: by Arpad Biro <biro_arpad@yahoo.com>
2001-08-19 18:36:26 +00:00
Pavel Roskin
18831a11b0 * lib/mc.lib: Add definition for "bs" for xterm and xterm-color. 2001-08-19 16:07:04 +00:00
Pavel Roskin
2e235dc19c * lib/mc.lib: Add "delete=\e[3~" for xterm and xterm-color -
it's sometimes missing from the databases.
2001-08-17 04:17:58 +00:00
Abel Cheung
1d900645b8 Rename file to circumvent $LANGUAGE problem: mc.hint.zh_TW.Big5 -> mc.hint.zh 2001-08-16 02:16:46 +00:00
Pavel Roskin
fdb4b5ca14 * lib/mc.lib: Add popular sequences for "home" and "end" in
"xterm" and "xterm-color" terminals.
2001-08-14 05:43:38 +00:00
Pavel Roskin
2742c4f9d4 * lib/mc.ext.in: Move ls-lR.gz before generic gzip support. 2001-08-14 03:27:12 +00:00
Pavel Roskin
50859eae37 * lib/Makefile.am: Remove space after backslash introduced in the
previous commit.
2001-08-03 03:15:03 +00:00
Abel Cheung
75295cb026 Added mc.hint.zh_TW.Big5 into lib/Makefile.am . 2001-08-02 23:09:50 +00:00
Abel Cheung
2b70821019 *.desktop: Added traditional Chinese translation.
mc.hint.zh_TW.Big5: New traditional Chinese translation for mc.hint
2001-08-02 22:56:40 +00:00
Pavel Roskin
52004b6b87 * lib/Makefile.am: Add mc.hint.nl. 2001-08-02 14:31:54 +00:00
Marco Ciampa
e34ea629e7 Shorted the longest entry. 2001-08-02 07:16:16 +00:00
Pavel Roskin
9377136375 * lib/mc.hint.nl: New file.
From Steef Boerrigter <sxmboer@sci.kun.nl>
* lib/Makefile.am: Add mc.hint.nl.
* lib/mc.hint: Remove ftp site.  Update copyright.
* lib/mc.hint.cs: Likewise.
* lib/mc.hint.es: Likewise.
* lib/mc.hint.it: Likewise.
* lib/mc.hint.pl: Likewise.
* lib/mc.hint.ru: Likewise.  Shorten some lines.
2001-08-01 16:56:26 +00:00
Pavel Roskin
36b103997c * lib/edit.spell.rc: New file. Invoke ispell on Ctrl-p in the editor.
* lib/Makefile.am: Add lib/edit.spell.rc.
2001-07-31 22:13:55 +00:00
Pavel Roskin
48101333b5 * lib/mc.ext.in: Fix opening info pages on VFS. Modernize
entries for compressed cpio archives.
2001-07-19 22:15:35 +00:00
Pavel Roskin
24e01579a8 * lib/mc.ext.in: Comment changes. Remove rules for programs -
they were only used in obsolete frontends.  Don't ever use %view
without commands - it's slower and loses user settings, e.g.
hex mode.  Put shared libraries before man pages and read.me
before .me macros so that they match correctly.  Use nm for
shared libraries.  Add rules for StarOffice and AbiWord.
2001-07-19 21:55:24 +00:00
Pavel Roskin
4ca052e8c7 * lib/mcserv.init: Fix exit status.
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=44601
2001-07-14 00:32:44 +00:00
Pavel Roskin
9696da138d * lib/mc.ext.in: Anchor all regexes in the type/ rules except
"executable", which should follow a space. Simplify rules for
images. Add shell/ rule for *.info files. Fix all incorrect
uses of the alternation operator.
Reported by Oskar Liljeblad and Michel Casabona.
2001-07-14 00:01:20 +00:00
Pavel Roskin
eafd93ed76 * lib/mc.ext.in: Use nm to view object files. 2001-07-06 22:02:36 +00:00
Miguel de Icaza
2bde471305 Add gnu.org to the desktop 2001-06-27 18:00:11 +00:00
Pavel Roskin
74ea91f34d * lib/Makefile.am: Make compatible with Automake 1.4 - remove
conditional variables from EXTRA_DIST.
2001-06-06 14:24:08 +00:00
Pavel Roskin
262a42afdb * lib/mc.charsets: Synchronize with the latest patch - remove
a comment.
2001-06-01 22:46:07 +00:00
Pavel Roskin
64b09e307a * lib/mc.charsets: New file. From Walery Studennikov.
* lib/Makefile.am: Distribute mc.charsets. Install it if
the charset support is enabled.
2001-05-31 01:17:21 +00:00
Pavel Roskin
d9713d6233 * lib/mc.ext.in: For MS Word documents try "catdoc", "word2x"
and "strings". Recognize "write" files and MS Word templates.
For MS Excel documents try "xls2csv" and "strings".
Escape spaces in the "type" directives.
From Nerijus Baliunas.
2001-05-29 20:40:59 +00:00
Pavel Roskin
cb5848496d * lib/mc.ext.in: Match both "mail" and "Mail", but only if they
are in the beginning of the "file" output.
2001-05-26 00:00:49 +00:00
Pavel Roskin
b50136248a * lib/mc.ext.in: Add associations for viewing RPM files. 2001-05-23 18:57:25 +00:00
Pavel Roskin
327797ea96 * INSTALL: Remove information about Tk and XView. Change the
mailing list addresses again.
* FAQ: Change the mailing list addresses again.
* MAINTAINERS: Likewise.
* README: Likewise.
* doc/mc.1.in: Likewise.
* gnome/gmc-window.c: Likewise.
* lib/README.xterm: Likewise.
* lib/mc.ext.in: Likewise.
* lib/mc.hint*: Likewise.
* lib/mc.hlp.hu: Likewise.
* po/*.po: Likewise.
* src/main.c: Likewise.
2001-05-18 16:28:22 +00:00
Pavel Roskin
5dbac5708e * FAQ: Change the mailing list addresses and the download
locations.
* INSTALL: Likewise.
* MAINTAINERS: Likewise.
* README: Likewise.
* doc/mc.1.in: Likewise.
* gnome/gmc-window.c: Likewise.
* lib/README.xterm: Likewise.
* lib/mc.ext.in: Likewise.
* lib/mc.hint*: Likewise.
* lib/mc.hlp.hu: Likewise.
* po/*.po: Likewise.
* src/main.c: Likewise.
2001-04-20 19:58:55 +00:00
Pavel Roskin
782012e481 * lib/mc.ext.in: Recognize files ending by .lslR' and .ls-lR'.
Suggested by Christian Gennerat.
2001-03-02 16:57:36 +00:00
Pavel Roskin
8c4c142ac8 * lib/Makefile.am: Adjusted. 2001-03-02 16:51:36 +00:00
Pavel Roskin
aa76abdadc * lib/mc.ext.in: Add support for "freeze" - old compression
program used mostly on QNX.
* lib/mc.ext.in.qnx.diff: Remove, it's obsolete.
2001-03-02 16:32:23 +00:00
Pavel Roskin
3845f3053c * lib/mc-gnome.ext.in: Remove, it's not used.
* configure.in: Remove lib/mc-gnome.ext.
* lib/Makefile.am: Likewise.
2001-02-26 21:28:59 +00:00
Pavel Roskin
8a5680bc94 * lib/Makefile.am: Distribute files listed in LOCALIZED_HELP. 2001-01-09 18:42:52 +00:00
Andras Timar
92bf5e249d 2001-01-08 Szabolcs Ban <shooby@gnome.hu>
* lib/mc.hlp.hu: Added Hungarian help file from
	  tothb1@freemail.hu, Janos.Zana@elfiz2.kee.hu,
	  maci@integrity.hu, mfh47@freemail.hu
	* lib/Makefile.am: Added LOCALIZED_HELP for further
	  mc.hlp l10ns
	* src/cmd.c, src/dlg.c, src/tree.c, src/view.c,
	  gtkedit/editcmd.c: I18n of mc.hlp
2001-01-08 18:21:33 +00:00
Tomasz Kłoczko
89498f5e64 added pl hint file (by arkadiusz Mikiewicz <misiek@pld.org.pl>). 2000-11-25 11:24:24 +00:00
Marco Ciampa
62641de3ee some fixes ... 2000-10-26 22:44:30 +00:00
Pavel Roskin
1b9938984b * lib/mc.ext.in: Removed references to icons. Source RPMs
grouped to one regex. Removed "Update" for source RPMs, added
"Rebuild" instead. Added "Check signature" for all RPMs.
Added a comment about pop-up menus in the text edition.
2000-10-09 15:00:29 +00:00
Jorge Godoy
c0100eb6e6 Updating pt_BR translations
* using allpo.pl please, any problem <ricardo@conectiva.com.br>
2000-10-06 20:49:08 +00:00
Pavel Machek
aafa830e57 Recognize .spm files 2000-10-05 13:03:00 +00:00
Pavel Roskin
3e4bac0140 * lib/mc.sh.in: Use "rm -f" to delete temporary files. Use
"export -f" to have mc() exported.
        * doc/mc.1.in: Changed description of the "-P" option to
        avoid inclusion of mc.sh and mc.csh into the manual.
        Corrected paths of mc.hlp, mc.no_proxy and ~/mc/Tree.
2000-09-30 16:54:01 +00:00
Pavel Roskin
5693a5b3c4 * lib/mc.sh.in: remove temporary file non-interactively
* doc/mc.1.in: updated example for mc.sh
2000-09-24 16:11:22 +00:00
Pavel Roskin
15535f33a2 * lib/mc.sh.in: Use $HOME instead of '~' because the tilde
is not expanded in all shells.
* doc/mc.sgml: Updated the example script to reflect the above
changes.
* doc/mc.in.1: Likewise.
2000-09-21 21:17:28 +00:00
Pavel Roskin
a676bdfc2b * lib/Makefile.am (LIBFILES_CONST): Added mc.hint.it from
Marco Ciampa
2000-09-19 18:35:47 +00:00
Marco Ciampa
b9e800ed77 First italian version of hint file. 2000-09-19 06:59:17 +00:00
Pavel Roskin
fe79f3e017 More files to ignore 2000-08-24 22:28:49 +00:00
Pavel Roskin
692e24750b * lib/Makefile.am: simplified, fixed "make dist" 2000-08-24 15:59:42 +00:00
Pavel Roskin
c6595786e2 * lib/Makefile.in: converted to ...
* lib/Makefile.am: ... this
2000-08-24 15:30:34 +00:00
Pavel Roskin
488967f0f0 * lib/tkmc.wmconfig: removed 2000-08-24 14:53:51 +00:00
Jonathan Blandford
0832d1f406 make in sync with reality 2000-08-23 23:15:34 +00:00
Pavel Roskin
5b11ed2900 Adjusted lists of distributed files
Fixed rules for rebuilding makefiles
2000-08-18 05:18:47 +00:00
Pavel Roskin
9ae68cd8bc * Makefile.in, */Makefile.in: Fail if $(RMF) fails - it may
indicate serious problems. Fixes for uninstall.
* doc/Makefile.in: Rebuild if it is out of date.
2000-08-15 16:56:33 +00:00
Pavel Roskin
948bf68c7b lib/cedit.menu: Added. This file has been missing 2000-08-15 16:21:27 +00:00
Pavel Roskin
dfcf9cbcad lib/Makefile.in: Install mc.sh and mc.csh in $(suppbindir) only 2000-08-15 15:23:41 +00:00
Pavel Roskin
bb1eb746aa Added mc.csh and mc.sh 2000-08-08 13:33:12 +00:00
Miguel de Icaza
de25393f02 Add missing file 2000-05-23 23:25:37 +00:00
Miguel de Icaza
b028900fdd 2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
       Add macro %e it is error file name
       Add macro %i it is cursor column indent of spaces, only for edit
       Add macro %y, it is syntax of current file in editor, only for edit
       Add condition y , it is syntax pattern of current file in edit
       Add macro %x it is extension of current file
       Add macro %m it is current menu filename

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
	Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
	edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
	(the message of David H. Martin <dmartina@usa.net>)

2000-05-05  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	* src/user.c:	Add condition (x filename) into mc.menu .
			for "Open next a free console" and like.

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	src/user.c: fix segfault in chunk_alloc of glibc, when into condition
	of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	* gtkedit/edit.c:
       Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
	* gtkedit/editmenu.c:        home: ~/.cedit.menu, local: .cedit.menu
	Marked block is access now from an user edit menu
	Access ~/.cedit/cooledit.block for insert to cursor place from
	user edit menu.
	Created system cedit.menu

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

    	* gtkedit/editdraw.c:
	Improved a status string of cool editor for best understand,
	and to add char,hex view.

2000-05-04 Richard Hestilow <hestgray@ionet.net>

	* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 01:18:27 +00:00
Pavel Machek
b0d9ff70fa 2000-05-05 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* lib/mc.ext.in: More changes by rebel@atrey: he forgot to begin
        comment lines with # in last release
2000-05-05 14:27:14 +00:00
Pavel Machek
6f3d6c89c0 Fixes to mc.ext.in 2000-05-03 09:56:51 +00:00
Pavel Machek
27ac13996e 2000-04-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* lib/mc.ext.in: Changes from
rebel@atrey.karlin.mff.cuni.cz. They
        look more consistent than original.
2000-04-26 09:54:04 +00:00
Norbert Warmuth
e37737c0c9 2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
with unexpected side effects (only when HSC_PROXY was
defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
where appropriate.

(dir_load): Do not hard code the directory cache timeout to 10
seconds. Instead use the setting from Options/Virtual VFS ...

* vfs/fish.c (file_store): honour changed semantics for return value
(on error -1 is expected).

* vfs/ftpfs.c (file_store): dito


* gtkedit/editcmd.c (edit_replace_prompt): fix incorrect
initialization of array of structure (gcc version 2.96 20000131
chokes on it).

* lib/mc.hint: C-y and not C-u can be used to insert text in input
lines (e. g. text which has been deleted with M-d).

* configure.in: Fix the extfs-configure-fragment-in-final-output bug

* src/main.c (parse_control_file): add missing right parentheses

* src/boxes.c: fix incorrect initialization of array of structure (gcc
version 2.96 20000131 chokes on it).
2000-02-23 07:43:14 +00:00
Miguel de Icaza
0a1238fe83 2000-01-03 Aaron Lehmann <aaronl@vitelus.com>
* gdesktop.c, gdnd.c, gaction.c, gicon.c,
	gnome-file-property-dialog.c, gpopup.c, gpopup2.c, gprefs.cgmain.h,
	setup.c: Add option of using GNOME "magic" routines to determine file
	types. This makes MC intelligently look at the data in the file to see
	what type of file it is, rather than looking at the filename extension.
	This slows down MC quite a bit, so it has been made an optional
	preference item. Type detection is expected to improve as mime-magic
	matures.
2000-01-23 22:25:26 +00:00
Miguel de Icaza
7a4cf0fcbb 2000-01-15 Federico Mena Quintero <federico@helixcode.com>
* lib/mc.menu (shell_patterns): Add a missing "esac".  Thanks to
	Martin Bialasinski <martin@internet-treff.uni-koeln.de> for
	providing a patch.
2000-01-16 02:39:13 +00:00
Sergey Panov
8c9d5e09b5 Makefile.in,mc.hint.ru: added hints in Russian from Evgeny Bulgakov <bgav@netvision.net.il> 1999-12-13 14:34:07 +00:00
Pavel Machek
06ff41e71b Added mc.hint.cs, czech file with hints. 1999-11-09 10:05:06 +00:00
Norbert Warmuth
10c8184839 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
* vfs/extfs/uzip.in: Better handling of zip-archives that contain files
which contain spaces.


1999-09-22  Norbert Warmuth  <nwarmuth@privat.circular.de>

* lib/mc.sh.in, mc.csh.in: renamed from mc.sh resp. mc.csh. Adapt
path to the mc binary according to @prefix@.

* lib/Makefile.in (srcdir): mc.sh and mc.csh are now created by
configure. Install mc.sh and mc.csh in $(suppbindir).

* doc/mc.1.in, mc.sgml: Updated the mc function definition for bash
and zsh. Suggest to source mc.sh or mc.csh instead of adding verbatim
copies of the included function definitions.

* mcfn_install.in: Comment out definitions of the mc functions. Source
mc.sh instead of adding an outdated mc function definition.

* configure.in: output mc.sh and mc.csh
1999-09-22 22:04:45 +00:00
Miguel de Icaza
4317569de1 1999-09-20 Federico Mena Quintero <federico@redhat.com>
* lib/startup.links: Changed the news link to Gnotices

1999-09-19  David Martin <dmartina@usa.net>

	* gtkedit/editcmd.c (edit_print_string): Use unsigned char so that
	8 bit chars from strftime get displayed when inserting date.

	* lib/mc.ext.in: Add entries for bzip2 compressed pages as used in
	Mandrake 6.0. The generic entry for bzip2 moved to the end of the
	file to avoid interferences. In this one I changed the extension check
	to a type check (as used for gzip) which might give problems in some
	systems.
1999-09-20 16:34:38 +00:00
Norbert Warmuth
d836e5a79a 1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
* src/user.c (check_patterns): char* is used instead of char [] in sizeof

* src/util.c (string_perm): prefix named pipes by 'p' and not by `s'


1999-09-19  David Martin <dmartina@usa.net>

* gtkedit/editcmd.c (edit_print_string): Use unsigned char so that
8 bit chars from strftime get displayed when inserting date.

* lib/mc.ext.in: Add entries for bzip2 compressed pages as used in
Mandrake 6.0. The generic entry for bzip2 moved to the end of the
file to avoid interferences. In this one I changed the extension check
to a type check (as used for gzip) which might give problems in some
systems.

* configure.in: Use -Tlatin1 to format man pages when available and
"view" 8 bit chars.


1999-09-19  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gtkedit/edit.h: Include files reordered in order to make it compile with
--with-debug

* gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width
dependent on lenght of translated strings to display.

* src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch]
to mad.[ch]

* src/option.c: Include files reordered in order to make it compile with
--with-debug

* src/mad.c (mad_init): New function. Initialize debug FILE pointer to
stderr (moved to a function because not on every system stderr is
a constant).
(mad_set_debug): added const qualifier

* src/main.c (main): call mad_init

* po/*.po: s/defination/definition/

* gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir
!= $srcdir.

* vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.

* vfs/mcserv.c: removed definition of mad_strconcat which is also
in mad.c.
1999-09-19 23:09:07 +00:00
Norbert Warmuth
d393e2e098 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
* lib/mc.sh: create temporary files in ~/.mc/tmp in order to avoid
symlink attacks (mcfn_install and the man page still needs to be
updated).

* src/main.c (print_mc_usage): Print the bug reporting address.
(main): Put prompt in a new line at termination.

* vfs/shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
have been written one slot past the supplied character array).

* vfs/ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
strange symlinks (ls -la doesn't reveal where the symlink points to
and ls -lLa doesn't resolve the symlink either)

Added protection against recursive symbolic links.
1999-08-30 06:01:37 +00:00
Elliot Lee
0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +00:00
Norbert Warmuth
10347c3633 Forgot to add this. 1999-08-17 04:30:46 +00:00
Norbert Warmuth
6fae3e0425 1999-08-15 David Martin <dmartina@usa.net>
* gtkedit/edit.c: Print localized date with strftime()

* src/boxes.c: (symlink_dialog): Move dialog misaligned elements

* vfs/vfs.c (vfs_print_stats): Translate vfs stats

* vfs/shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation

* vfs/fish.c: Translate messages

* src/boxes.c: (symlink_dialog): Move dialog misaligned elements

* src/cmd.c (get_random_hint): Look for localized hint files

* lib/mc.hint.es: NEW FILE. Hints in Spanish flavour.


1999-08-15  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/cmd.c (guess_message_value): New function. Determine locale used
for messages

(get_random_hint): use guess_message_value

* lib/Makefile.in: added mc.hint.es to LIBFILES_CONST
1999-08-16 05:31:23 +00:00
Miguel de Icaza
fab9402302 ChangeLog sync 1999-07-06 00:00:51 +00:00
Miguel de Icaza
2972bb0c03 Define /#smb as a slow device too 1999-07-04 00:55:16 +00:00
Miguel de Icaza
939e87a9d7 Update the README.desktop file-mig 1999-06-03 18:31:05 +00:00
Miguel de Icaza
4573e571b5 Update the README.desktop file-mig 1999-06-03 18:08:19 +00:00
Timur Bakeyev
188d414612 Fri Mar 26 19:16:38 1999 Timur Bakeyev <mc@bat.ru>
* */Makefie.*: fixed several missed conversions from libdir to
	mclibdir. (Should be automake'd, really)
1999-03-26 16:18:41 +00:00
Timur Bakeyev
bc6eb17fa3 *** empty log message *** 1999-03-21 23:26:42 +00:00
Miguel de Icaza
9207af342d COOL CODE! OH MAN! I AM GOOD!
Ok, so this time I got the stuff to auto-load desktop startup links.
This means you can ship stuff to pre-configure the desktop of the
users now.

We support program-based setup and url-links.

Details on the lib/README.desktop file
1999-03-20 18:08:52 +00:00
Miguel de Icaza
2372ecab74 Create the confdir before using it 1999-02-28 20:02:15 +00:00
Miguel de Icaza
f4ddffd7a3 Prepare for 4.5.19 1999-02-25 04:26:39 +00:00
Miguel de Icaza
ad80925039 Add a global file to list directories that are slow (afs, etc)
Fixes for SuSE compilation.
1999-02-25 04:21:30 +00:00
Norbert Warmuth
d1126049bb Tue Feb 9 20:52:19 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* README.QNX: Deleted documention about mc.menu.qnx.diff.

* lib/mc.menu.qnx.diff: Deleted, it has been merged with mc.menu.

* lib/Makefile.in: Deleted mc.menu.qnx.diff from DISTLIB

Tue Feb  9 20:32:39 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* lib/mc.menu: Removed GNU tar'isms (option z). Removed option -o
from tar calls when extracting (according to my man page this option
is only useful when creating archieves).

Tue Feb  9 20:28:15 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* lib/mc.menu: Applied patch from root	<root@golia.dntis.ro> which
adds support for tar.bz2 and merges the support for freeze-compressed
tar files (tar.F) from mc.menu.qnx.diff.
1999-02-09 20:29:56 +00:00
Timur Bakeyev
a7f1b90f06 Add Open method for *.info files. 1999-01-25 21:29:13 +00:00
Miguel de Icaza
10b2a16291 Add trpm 1999-01-19 21:50:10 +00:00
Miguel de Icaza
cb78daaa9b Use gnome-moz-remote 1998-12-16 05:18:55 +00:00
Miguel de Icaza
07d28f67ca More stuff :-) 1998-12-16 03:44:31 +00:00
Miguel de Icaza
8fb1821455 Warning fixes + compile fixes -mig 1998-12-15 19:53:55 +00:00
Miguel de Icaza
5da0c8f06f Removed unused information -mig 1998-12-14 03:50:55 +00:00
Norbert Warmuth
92688cca24 Sun Dec 13 15:26:19 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* Makefile.in (target installdirs): create $(DESTDIR)$(idldir)

* lib/Makefile.in (target install): install $(LIBFILES_OUT) from the
builddir
1998-12-13 14:23:37 +00:00
Miguel de Icaza
b950fa1a36 Small Makefile fix here 1998-12-04 00:55:33 +00:00
Miguel de Icaza
4d53e710d3 1998-12-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* ext.h: GNOME edition uses a different set of .ext files.

	* lib/mc-gnome.ext.in: New file with GNOME-specific bindings.
1998-12-04 00:48:50 +00:00
Pavel Machek
4706638b22 Big merge: fish now uses proper caching, small fixes almost
everywhere. I hope I did not break it too much.
1998-11-21 19:36:01 +00:00
Pavel Roskin
2837b5dc6a *.jar and *.JAR treated like *.zip and *.ZIP 1998-10-22 19:33:22 +00:00
Pavel Roskin
b57154f455 URL corrected 1998-09-18 18:25:30 +00:00
The Rasterman
12b563f15e <raster@redhat.com>
Added entry for mp3 files for mc to recognise.
1998-08-19 17:28:55 +00:00
Pavel Roskin
27aea9c0d6 "make uninstall" is now handled properly in lib subdirectory 1998-06-26 08:37:16 +00:00
Pavel Machek
4cfe9e4d99 Bringed hints up-to-date. Removed refernce to mtools since I do not
know if mtools currently work (and they definitely do not work as
advertised). Changed Alt-t into M-t to be consistent with rest of
file.
1998-06-03 13:15:41 +00:00
Norbert Warmuth
5c693c75be Sun May 31 22:02:33 1998 Norbert Warmuth <k3190@fh-sw.de>
* po/it.po: deleted additional "\n" in one msgstr


Sun May 31 10:23:01 1998  Norbert Warmuth  <k3190@fh-sw.de>

* key.c (define_sequence): If a sequence clashes the last
definition made will be used. This makes it possible to override
wrong definitions in terminfo/termcap database with learn keys (or
the appropriate entries in mc.lib and ~/.mc/ini).

* widget.c (show_hist): Don't display the listbox partly
off screen (the left panel's history started in column - 2).

* keyxdef.c: include tty.h instead of myslang.h as suggested by
Tamasi Gyorgy <gt_cosy@usa.net>


Fri May 29 15:41:19 1998  Alexander V. Lukyanov <lav@yars.free.net>

* widget.c (update_input): this patch allows entering 8-bit
characters in input fields without screwing attributes. (the
same old sign extension...)


Wed May 27 22:23:48 1998  Ed Cogburn <ecogburn@greene.xtn.net>

* lib/xterm.ti: The 'xterm-color' definition needs 'sgr0'. The tic
program from ncurses 4.2 doesn't like the xterm.ti file that comes
with mc.


Wed May 27 15:29:01 1998  Alexander V. Lukyanov <lav@yars.free.net>

* key.c (get_key_code): characters with high bit set were input
as 0x80 char when use_8th_bit_as_meta was set
1998-05-31 20:27:44 +00:00
Miguel de Icaza
7a7f7a3d85 Integration of Pavel Machek's vfs code split and vfs syntax change.
The VFS code can now be used by other applications (if you compile the
libvfs.a target and link against this).

Syntax has changes internally from the url-like syntax to a new syntax
that does not have ambiguities.  A default conversor for the new syntax
will be provided in the future, also dealing with the user ~/.mc/ext files
is currently in a non-optimal state.

Keep an eye on this mailing list.

Miguel.
1998-05-26 00:53:24 +00:00
Miguel de Icaza
a416ee4f7b Cool changes:
1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gwidget.c (x_create_input): Disable the use of the GNOME entries
	for now, as they are very slow.  We need to figure out what is
	wrong with this.

	With this change, dialog boxes close quickly instead of taking
	ages to close.

	* gscreen.c, gdesktop.c (file_popup_add_context, file_popup):
	Share the context menu code in gdesktop.c and gscreen.c.  The
	desktop pop up menus now include all of the stuff that would have
	appeared in the Panel.

	* gdesktop.c (desktop_icon_remove): Remove the file associated
	with this desktop entry if it is on the ~/desktop directory.
1998-05-23 00:55:03 +00:00
Miguel de Icaza
3a3c99ed4c Pass1 of the QNX port of mc from Tamasi Gyorgy 1998-05-20 02:12:06 +00:00
Norbert Warmuth
55563b21b4 Mon May 18 22:24:09 1998 Norbert Warmuth <k3190@fh-sw.de>
* lib/mc.ini.in: s/reges/regex/
1998-05-19 09:01:00 +00:00
Miguel de Icaza
824b7198ea Icon View mode for GNOME/mc:
1. My icons suck.
	2. Keyboard handling is not finished.
	3. Save current-mode, load current-mode is not
	   implemented yet.
	4. Listing mode is not working, as I have hardcoded
	   the icon view for now.
	5. Will finish this tomorrow.  Not much is missing.
	6. No, this is not the final implementation.
	7. Yes, later I will put some scheme for using
	   more icons as discussed in the ethernal "Re: Icons"
	   thread.

Miguel.

1998-05-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gscreen.c (panel_icon_list_realized): Add drag and drop support
	to the icon list view;

1998-05-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gscreen.c (panel_fill_panel_icons): New function:  Fill up the
	icon list.
	(x_create_panel): Change in the approach:  we create both of the
	widget views at creation time and we now carefully show every
	component.  I attach everything to the table, but not necesarly
	show it.
1998-05-08 02:25:00 +00:00
Miguel de Icaza
8b64154d5a beautify -mig 1998-05-05 00:39:13 +00:00
Miguel de Icaza
abc71483f9 LinuxConf enhanced init script, Thanks to mkj 1998-05-05 00:25:51 +00:00
Miguel de Icaza
4b25dff319 Use --root for ee 1998-05-04 23:26:27 +00:00
Miguel de Icaza
307bcd3f71 Lar's fix to xterm.ti 1998-05-03 19:25:17 +00:00
Miguel de Icaza
c02bca1dac All mighthy sync! -mig 1998-04-22 06:01:38 +00:00
Miguel de Icaza
76523ad6a5 File command reports JPEG as 'JPEG image', add this to mc.ext.in 1998-04-17 21:40:30 +00:00
Miguel de Icaza
506094f44a 1 line fix-mig 1998-04-15 22:38:36 +00:00
Miguel de Icaza
ee7dc74ff8 manual pages regexp updated 1998-03-23 18:09:46 +00:00
Miguel de Icaza
84013cb8d5 Wed Mar 18 20:35:45 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_create_launch_entry): Support for the "Drop"
	target in mc.ext now.

	* Add support for dragging the icons on the desktop.

	(desktop_icon_make_draggable): new function.
	(drop_from_event): simplify.
	(my_create_transparent_text_window): Get the motion notify event.
	(drops_from_event): create a vector based on thge drop event.
	(drop_cb): splitted, call url_drop for regular drops, otherwise it
	is a icon drop.
	(artificial_drag_start): new routine, used now by gscreen.c and
	gdesktop.c
	(drop_on_directory): Check result value of operation.
	(desktop_icon_set_position): sane interface.
	(stop_desktop): Flush all of our state to disk.
1998-03-19 02:57:01 +00:00
Miguel de Icaza
5b49482824 Added contributed enhanced CPIO support + dialog box fixes for gnome -mig 1998-03-14 22:36:06 +00:00
Miguel de Icaza
177bbf7262 .cvsignores for the Midnight Commander 1998-03-07 20:34:15 +00:00
Miguel de Icaza
eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00