Slava Zanko
bbf1f4e857
Moved filemanager-related stuff to src/filemanager directory
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:32 +03:00
Andrew Borodin
fdb61594df
Cleanup of main.[ch].
...
All file panels related stuff was moved to midnight.[ch].
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Slava Zanko
b1bd2e2673
Removed hardcoded actions on ctrl-d and ctrl-h hotkeys. Now these hotkeys defined in keymap file.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Slava Zanko
0ef9273598
Changes for avoid compiler warnings
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Slava Zanko
08e9759283
Split file src/keybind.[ch] to lib/keybind.[ch] and src/keybind-defaults.[ch].
...
File src/cmddef.h now merged to lib/keybind.h
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:31 +03:00
Slava Zanko
62f3c368c9
Renamed keybind-related functions:
...
* lookup_action -> keybind_lookup_action
* lookup_keymap_shortcut -> keybind_lookup_keymap_shortcut
* lookup_keymap_command -> keybind_lookup_keymap_command
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Slava Zanko
045debaa8a
Moved charsets.[ch] from src to lib directory
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Slava Zanko
dc0a963304
Refactoring: removed unused variable
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +03:00
Andrew Borodin
139fdaa6bd
History optimization.
...
Don't create conversion handler for each history line while reading
and saving history.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:31 +03:00
Andrew Borodin
1ae9172d2a
Renamed mc_config_direct_set_string() to mc_config_set_string_raw()
...
... and avoid any string modification before save to ini.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
bbb6233049
Optimization of confguration library: delete extra checks
...
...and simplified codeset conversion in mc_config_get_string().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
3d92a0846a
Menu improvements.
...
menubar_set_visible(): new function to get rid of menubar_visible global variable
in widgtes library.
menu_set_name(): new function to avoid total recreation of main menu
after change panel layout.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
f70e06b37a
Optimization of str_msg_term_size().
...
Use single function to calculate of text lines and columns
because algorithm is the same for all encodings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
f24dd62dc2
Use str_msg_term_size() instead of msglen()
...
... because msglen() is not tolerant to multi-byte encodings.
Remove msglen() because it unused now.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
71364f88c3
Split lib/widget/widget.[ch] and lib/widget/wtools.[ch] files
...
...into small: one widget in one file.
Renamed most if WInput functions.
Minor optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
8d1708225c
Don't include lib/util.h via lib/global.h.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
7660a8ce66
lib/util.h: deleted unused defines.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
1685730d7c
OS-specific defines are moved from lib/util.h into lib/global.h.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
50c128a01f
is_exe() is inline now.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
d154b0f676
exist_file() is inline now.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Andrew Borodin
d543be11d9
Use g_file_get_contents() instead of load_file().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:30 +03:00
Slava Zanko
8b018db98f
Some WIDGET-related stuff moved to lib/widget directory
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:30 +03:00
Andrew Borodin
43ed65e3d9
Moved string-related routines from lib/util.[ch] into lib/strutil.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:29 +03:00
Andrew Borodin
593157d8cb
lib/util.[ch]: removed unused functions.
...
str_unconst(), trim(), cstrstr() and cstrcasestr() are unused and
removed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:51:29 +03:00
Slava Zanko
c57566af00
Avoid compiler warnings.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Matthieu Crapet
32a9d93978
VFS: Added 7zr executable detection in u7z
...
On many distributions by default only the reduced version of p7zip (7zr)
is installed (e.g. on Debian p7zip package provides 7zr executable and
p7zip-full package provides 7za executable).
This patch adds the detection of 7zr in case if 7za is not available.
2010-11-24 10:27:47 +03:00
Andrew Borodin
d169d13296
Use str_trunc() directly instead of name_trunc().
...
name_trunc(): removed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
53ad349a36
Moved time related stuff from lib/util.[ch] into lib/timefmt.[ch].
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
97aa4e99c9
Use g_strndup() directly instead of str_dup_range.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
8425e6fc71
Moved PATH_MAX definition from lib/util.h into lib/fs.h.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
9b43d71799
Set SLtt_Ignore_Beep in tty_init().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
9ec4d4c08b
Check variable before g_array_free() call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:47 +03:00
Andrew Borodin
79133154b0
Moved hooks from lib/util.[ch] to new files lib/hook.[ch]
...
... and renamed Hook to hook_t.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Andrew Borodin
34c1e1a38a
Removed unused enum.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Andrew Borodin
5e0c9c911d
Moved declaration of "easy_patterns" variable from lib/util.[ch] to src/setup.[ch].
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Andrew Borodin
1f4efb3a46
(mc_skin_ini_file_load): minor optimization.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Andrew Borodin
1192d34bd1
Clean up some empty lines.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:46 +03:00
Slava Zanko
ed566f8971
mc_fhl_init_from_standard_files(): fixed logic and file read order for config files
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:20 +03:00
Slava Zanko
feb733663f
Code indentation in lib directory
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:27:20 +03:00
Andrew Borodin
8ed0510df5
Optimization of mc_fhl_array_free().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:20 +03:00
Andrew Borodin
4892044e71
Remove extra check before mc_search free() call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:27:20 +03:00
Andrew Borodin
4c0ba932a8
Remove extra check before call mc_config_deinit()
...
...and minor cleanup of related code.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:26:27 +03:00
Andrew Borodin
5324bc63bf
(mc_fhl_read_ini_file): conditions cleanup.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:26:27 +03:00
Andrew Borodin
b8a6d0e27d
Grammar.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:26:27 +03:00
Andrew Borodin
eea82529d1
Ticket #2409 : prepare to the 4.7.5 release.
...
(mc_fhl_parse_get_extensions): fixed possible memory leak and minor
optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-24 10:26:27 +03:00
Andrew Borodin
3e7d76eb13
Ticket #2197 : added new color for status bar
...
...and added missed colors for button bar.
Updated EN and RU man pages.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-22 16:07:17 +03:00
Andrew Borodin
5468707bc6
Added comment for translators about "at sign" symbol.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-02 13:34:08 +03:00
Andrew Borodin
0908c8baea
Ticket #2404 : added forgotten shotrcuts of mcedit.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 21:31:24 +03:00
Andrew Borodin
54a9e72250
Some optimization of loops in translation functions.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 15:48:39 +02:00
Andrew Borodin
b6fd832a8a
Create strings with small preallocated sizes.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 15:48:39 +02:00
Andrew Borodin
69cebb9984
mc_search__cond_struct_new_regex_ci_str(): get rid of extra string duplication.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-01 15:48:38 +02:00
Andrew Borodin
5cac8caabe
Minor optimization of translation function arguments.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 15:48:38 +02:00
Slava Zanko
601047b6a1
Avoid extra-allocation of string while prepare to regexp-search.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-01 15:48:38 +02:00
Slava Zanko
8d59d66188
Removed mc_search_cond_t->len (used mc_search_cond_t->str->len instead).
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-01 15:48:38 +02:00
Slava Zanko
863f1ec174
Fixed bit operations in mc_search_regex__process_append_str()
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-01 15:48:38 +02:00
Slava Zanko
3934c6fb8e
Ticket #2396 (Find File "Whole words" search bug)
...
when searching in files for non english word with "Whole words" set "on" - then nothig will be found
try search word: "время" and also "time" in next example:
'time'
Время
'Time'
'время'
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 15:48:38 +02:00
Andrew Borodin
4aec2187e1
Ticket #1894 : sort order should not mix hidden files with others.
...
In case sensitive sort, the order of files and directories is following:
hidden dirs
dirs
hidden files
files
In case insensitive mode, directories are mixed and files are mixed too:
dirs (hidden and not are mixed)
files (hidden and not are mixed).
This commit defines the sort order independently of case sensitivity:
hidden dirs
dirs
hidden files
files
Files in UTF-8 locale require special handling: leading dot must not be
processed in g_utf8_casefold() funcion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 15:02:57 +03:00
Andrew Borodin
8f54b9b0b5
lib/lock.c: applied MC indentation policy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 13:54:39 +03:00
Andrew Borodin
533567c1a7
Expand tilde while locking and unlocking files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 13:54:39 +03:00
Ilia Maslakov
88dc2e93bd
replace print_vfs_message to printf
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-10-27 18:12:02 +04:00
Andrew Borodin
8be556abc5
Declarations of use_dash() and rotate_dash() were moved form lib/util.h to src/layout.h.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-27 18:10:50 +04:00
Ilia Maslakov
8b46518619
Apply code identation policy.
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-10-27 18:10:50 +04:00
Andrew Borodin
0a5f93eeb5
fish.c: some fixups.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-27 18:10:50 +04:00
Ilia Maslakov
3cef64306e
Split function fish_open_archive_int() to fish_open_archive_pipeopen() and fish_open_archive_talk().
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-10-27 18:10:50 +04:00
Ilia Maslakov
3ba4abac41
Ticket #2268 (FISH: hide panels before connecting)
...
FISH: now hide the panel before connecting.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-27 18:10:49 +04:00
Denys Vlasenko
12891835f4
Ticket #2327 : Can't put ? into a new name.
...
The bug is caused by extra "continue" statement in case '*'/case '?' branch.
As a result, \ is added to converted string, but following N is not.
Example: when one renames many files using "*" to "a*z", "a*z" gets converted to "a\z" instead of correct "a\1z"
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-10-27 13:48:32 +03:00
Andrew Borodin
185d5fc359
Install help files into /usr/share/mc/help instead of /usr/share/mc.
...
Optimisation of language-specific help file creating.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:59 +04:00
Andrew Borodin
280194ec15
Install hint files into /usr/share/mc/hints instead of /usr/share/mc.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:59 +04:00
Andrew Borodin
9636ca2583
Load locale-specific info (help and hints) from /usr/share/mc only.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:59 +04:00
Andrew Borodin
bfbac0c5d8
Reimplemened codepages storage using GPtrArray.
...
Added capability to load codepage list from /usr/share/mc/mc.charsets
and /etc/mc/mc.charsets and merge them then.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:53 +04:00
Andrew Borodin
245f465d6e
Install mc.charsets into /usr/share/mc instead of /etc/mc.
...
Renamed CHARSETS_INDEX macro to CHARSETS_LIST.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:15:37 +04:00
Egmont Koblinger
aa9cb6d320
Ticket #2170 : Color collisions
...
Midnight Commander's color/skin engine often reuses the same color definition for multiple elements on the UI.
This unnecessarily limits the possibilities when playing with colors.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-13 13:21:10 +03:00
Enrico Weigelt, metux IT service
fb05515d82
lib/vfs/mc-vfs/smbfs.c: fixed printf() arguments.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-11 11:00:29 +03:00
Andrew Borodin
9678ef3b02
Fixed type mismatches in formatted output arguments in VFS.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-11 11:00:29 +03:00
Slava Zanko
a8aa5cf678
Added definition MC_MAXFILENAMELEN for specify maximum file lenght.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-10-11 10:38:30 +03:00
Andrew Borodin
a09f5f372b
Some optimization and cleanup of color-related code in skin layer.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-06 12:15:55 +03:00
Andrew Borodin
4a175cbbe6
Some optimization and cleanup of color-related code in TTY layer.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-06 12:15:55 +03:00
Ilia Maslakov
3013a364b0
Merge commit 'origin/2287_persistent_bookmarks'
...
* commit 'origin/2287_persistent_bookmarks':
Fix in lib/logging.c for proper work on 64-bit platforms.
Change of bookmark drawing.
Fixed memory leak: destroy serialization bookmarks if file position is not saved.
Use GArray for bookmarks instead of raw array.
Minor optimization, type accuracy, includes fix.
Ticket #2287 (mcedit: persistent bookmarks)
2010-09-28 18:33:53 +04:00
Slava Zanko
b8836ec6c5
Fix in lib/logging.c for proper work on 64-bit platforms.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-09-28 14:12:32 +04:00
Andrew Borodin
ec8d6f0751
Get rid of some '#ifdef ENABLE_VFS' conditions.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-27 21:44:20 +04:00
Andrew Borodin
c36a810c09
Fix of file panel encoding change w/o VFS support.
...
Now --disable-vfs doesn't mean the total disabling of VFS.
With --disable-vfs option, the localfs module is built
to use the change of file panel encoding.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-27 21:43:43 +04:00
Andrew Borodin
48318f3e5d
Cleanup of includes in VFS sources.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-27 21:43:43 +04:00
Andrew Borodin
268c364292
Fix of VFS encoding parsing.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-27 21:35:11 +04:00
Andrew Borodin
5007553299
Remove only supported encodings from path.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-27 21:34:40 +04:00
Andrew Borodin
aff8e42d64
Created macro VFS_ENCODING_PREFIX for "#enc:" encoding prefix.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-27 21:33:16 +04:00
Andrew Borodin
c0384e0b6b
When cd to "..", remove encoding at the end of path.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-27 21:33:16 +04:00
Ilia Maslakov
ee80601316
Removed useless g_free() calls
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-09-27 14:33:24 +04:00
Ilia Maslakov
47b7e46b3f
Ticket #2347 (hardcoded fish scripts is outdate)
...
fixed: hardcoded fish scripts in lib/vfs/mc-vfs/fishdef.h
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-09-27 14:33:17 +04:00
Andrew Borodin
ed18e2d093
Use GArray for bookmarks instead of raw array.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-17 17:13:10 +04:00
Andrew Borodin
3af16693e2
Minor optimization, type accuracy, includes fix.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-17 17:13:09 +04:00
Filip Sefrna
a4651d8d2b
Ticket #2287 (mcedit: persistent bookmarks)
...
Save bookmarks of internal edit in filepos
Signed-off-by: Filip Sefrna <fsefrna@gmail.com>
Type accuracy.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-09-17 17:13:09 +04:00
Yury V. Zaytsev
e0d1d53cbf
Added myself to the authors list
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-15 13:49:03 +02:00
Yury V. Zaytsev
6586dcf78b
Fixed DATA connection initialization logic
...
Factored out error checking from ftpfs_initconn into
ftpfs_init_data_socket and fixed the logic of the initialization of DATA
connection. Now initialization of passive connection is retried if
needed after the failure to open the socket.
Got rid of goto statements and divided the code in two parts (passive &
active). Initial state is now properly restored after the function runs.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-15 13:49:02 +02:00
Yury V. Zaytsev
a27725d7a3
Refactored IPV4/IPV6 FTP connection setup code
...
Miscellaneous refactoring:
* Factored out the active IPV4/IPV6 FTP connection mode setup
routine in a separate function (ftpfs_setup_active) to make the
logic more clear.
* Factored out ftpfs_init_data_socket from ftpfs_initconn in order
to make it possible to fix the logic later on.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-15 13:49:02 +02:00
Yury V. Zaytsev
ada1848268
Fixed passive FTP connection logic
...
In current implementation few issues were fixed making passive
connection scheme more reliable:
* If it's IPV4, try PASV first, as some servers and ALGs get
confused by EPSV, and only then EPSV as a fallback
* When trying PASV or EPSV, actually try to connect to the provided
port and if the connection fails, still try the next method
* PASV and EPSV response parsing code was factored out in separate
routines for clarity
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-15 13:49:02 +02:00
Yury V. Zaytsev
a402ebc981
Ticket #121 : Fixed IPV4 FTP connection scheme
...
* Fixed endianness issue introduced by IPV6 patch, which prevented
active connections to be established via PORT mechanism.
FTP server always expects to see the port broken down into bytes
in network byte order, so the transformation to host byte order is
only needed when using EPRT.
* Some IPV4 FTP servers and FTP ALGs / NATs with connection tracking
become confused when you try to use EPSV or EPRT instead of PASV or
PORT respectively.
This commit changes current FTP connection scheme: if we deal with
an IPV4 host, instead of first trying to use EPRT, first try to
use PORT and only if it fails try EPRT as a fallback.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-09-15 13:49:02 +02:00
Andrew Borodin
490ab7618b
check_movement_keys() function is unused. Removed.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:25:59 +04:00
Andrew Borodin
2f62fadabb
Ticket #212 : implemented keybindings for WListbox widget.
...
Initial step: added description for A1 and C1 keys.
A1 and C1 keybindings are applied to WTree, WInput and WPanel widgets.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:20:27 +04:00
Oswald Buddenhagen
9c3b434197
Ticket #2273 : Restore signals even if fork() fails.
...
The -1 is not sent through WEXITSTATUS() in case of wait()
failing any more. I think that's the original intention.
2010-07-30 19:26:09 +04:00
Andrew Borodin
232ca56501
Ticket #123 : fixed types to avoid file size limitation in VFS layer.
...
Fixed modifiers and removed types recastin in envoronment
variables and messages forming.
Minor code cleanup.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-29 12:57:04 +04:00
Andrew Borodin
da8e14bcbb
Define ENABLE_VFS_NET in C code not in M4 one.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-24 09:27:27 +04:00
Andrew Borodin
11c00959f3
Fixup of conditions for networking VFS.
...
Clean up of code duplicate in configure.ac.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Slava Zanko
12446899f7
Changes for configure and build with samba:
...
* m4: AC_CONFIG_SUBDIRS() macros should be always called without relation to enable/disable samba support
* vfs/samba: configure.ac: renamed --with-configdir to --with-smb-configdir
* vfs/samba: configure.ac: renamed --with-codepagedir to --with-smb-codepagedir
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
9b89d60522
VFS: cleaned up smbfs.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
67d6ebfd16
VFS: fishfs can now be switched off
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
05516fbac8
VFS: ftpfs can now be switched off
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
bc1de7cd78
VFS: extfs can now be switched off
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
6f289617d2
VFS: sfs can now be switched off
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
f33f7a5031
VFS: tarfs can now be switched off
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
19390ab2d7
VFS: cpiofs can now be switched off
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Slava Zanko
f7ac8acd29
Type accuracy in undelfs vfs.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
5df06e7630
VFS: fixups of UNDELFS VFS switch on/off.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Andrew Borodin
7d765e4050
Cleanup of lib/vfs/mc-vfs/Makefile.am file.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Andrew Borodin
699ecb5e21
VFS: Type accuracy in netutil.[ch].
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Enrico Weigelt, metux IT service
bd8a2d4c79
VFS: Moved vfs_split_url() function from netutil.c into utilvfs.c.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00
Andrew Borodin
9df2f96e75
Some reorginizing of VFS private and public APIs.
...
Clean up of remained mcfs support.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:49 +04:00
Andrew Borodin
57281c6e0b
Added type for VFS class flags.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:49 +04:00
Ilia Maslakov
0795cc2bc9
Ticket #2267 (fish: resume download)
...
implemented resuming file downloads (reget) in FISH VFS
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-07-20 18:31:28 +00:00
Andrew Borodin
17d8107e8d
Ticket #171 : fixed remained plain int types in VFS.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-20 09:26:38 +04:00
Andrew Borodin
6a55c9320e
Ticket #2279 : mcserver is deprecated.
...
Removed mcserver and mcfs support.
Reasons:
(1) no longer builds
(2) no one is willing to support it
(3) possibly contains unfixed security holes
(4) makes no sense in view of the availability of FISH
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-17 18:36:54 +04:00
Andrew Borodin
298e83f40b
Added color for disabled widget.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-17 15:27:21 +04:00
Oswald Buddenhagen
69903712b9
Ticket #2274 : Adjust extfs script modes to installed permissions
...
Some extfs script modes in the repository differ from the ones they get
when installed. This is annoying for those, who hardlink files to the
installed location instead of copying, because git status will show
these files as modified.
Fixing permissions in the repository will resolve this issue.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-07-12 20:25:38 +02:00
Slava Zanko
c5dfdac5fc
Ticket #2123 : Fix to properly parse the replacement string
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-08 22:15:09 +03:00
Slava Zanko
5c95084e2f
Fixed bug with copy dir '\\\\' to anoter. Directoty whis this name was automatically renamed to '\\'
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-07 16:43:00 +03:00
Slava Zanko
3facc59837
use g_string_sized_new() instread of g_string_new() to avoid often reallocation action
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-07 14:12:45 +03:00
Slava Zanko
3aa6758f4f
identation of code
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-07 14:06:41 +03:00
Slava Zanko
973bbb70a2
Ticket #2123 : crash while copying into directory named "????"
...
1. create directory named "????" and enter into this directory
2. point at any file in other panel
3. press F5 and Enter
Segfault
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-07 14:06:41 +03:00
Slava Zanko
41adaf7493
Added missing files for making tarballs
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-07-05 22:40:58 +03:00
Andrew Borodin
8be8851b2a
Removed unused vfs_die() function from mcserv.c.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 21:35:18 +04:00
Andrew Borodin
e73bfb2486
Fixed some i18n stuff.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 21:35:18 +04:00
Andrew Borodin
63c290fef2
The major number of device wasn't initialized in parsing of 'list' command output.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 21:35:18 +04:00
Vit Rosin
76810bbf8b
Ticket #2039 : check returned value of g_path_get_basename().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 21:35:18 +04:00
Andrew Borodin
ec7b039588
Ticket #2243 : code cleanup before 4.7.3 release.
...
Removed unneeded breaks from switch operators.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 21:35:18 +04:00
Ilia Maslakov
ce0ac8e66d
Applied MC indentation policy.
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-07-05 16:49:01 +00:00
Yury V. Zaytsev
8c9ac5ec55
Updated protocol description in README.fish
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-07-05 15:36:14 +00:00
Ilia Maslakov
36d59acf97
Ticket #2242 (improved FISH)
...
fixed configure.ac
added lib/vfs/mc-vfs/fish/Makefile.am lib/vfs/mc-vfs/fishdef.h
moved lib/vfs/mc-vfs/fish/README.fish
fixed lib/vfs/mc-vfs/Makefile.am
added external scripts in lib/vfs/mc-vfs/fish/
* ls - get gile list
* mkdir - make directory
* rmdir - remove directory
* unlink - delete file
* chown - change owner/group of file
* chmod - change mode of file
* mv - move file
* ln - make symlink
* hardlink - make hardlink
* send - copy file to target host
* append - append file to target host (if exists)
* get - copy file from target host
* info - return resalts of scan remote host (have: perl, sed, awk, etc)
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
fish.c: optimization and code cleanup
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
optimization of FISH environment variables.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 15:35:42 +00:00
Oswald Buddenhagen
807ccb469c
Ticket #2249 : fix crash at startup
...
str_8bit_strdown() returned an incorrect value.
2010-06-30 10:15:46 +04:00
Andrew Borodin
b2ee413f03
Allow use file locking in various components of MC.
...
Renamed and moved src/editor/editloc.[ch] -> lib/lock.[ch].
Renamed lock handling functions.
Fixed library order in src/Makefile.am.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:22 +04:00
Andrew Borodin
936bb2e5f0
Added code names for parentheses, brackets and braces.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
0cb04aec3b
g_strncasecmp() function is deprecated.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-08 13:07:11 +04:00
Andrew Borodin
8b4124dfa5
g_strup() function is deprecated. g_ascii_strup() is used instead.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-08 13:07:11 +04:00
Andrew Borodin
3ddec0f89d
g_strcasecmp() function is deprecated.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-08 13:07:11 +04:00
Vit Rosin
77575277e2
g_strdown() function is deprecated.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-08 13:07:11 +04:00
Andrew Borodin
aa0d96bd8b
Ticket #1646 : removed leading and trailing spaces in i18n resources.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 21:42:46 +04:00
Andrew Borodin
7e5f4a01c0
i18n of search error messages.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-04 23:34:28 +04:00
Andrew Borodin
c48763fa9d
mc_util_write_backup_content(): fixed arguments in fwrite() call.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-04 23:33:48 +04:00
Andrew Borodin
df6bbf38eb
Ticket #2225 : code cleanup before 4.7.0.6 release.
...
Fixed indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-04 23:32:38 +04:00
Andrew Borodin
8657fd5f01
Ticket #2203 : VFS: use codepage list loaded from mc.charsets file.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-28 14:55:16 +04:00
Ilia Maslakov
a4e4378861
initial step to do mark in inpun fields
...
added selection with mouse
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Code cleanup: make visibility of some functions as static
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
fixed skins
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-27 22:26:59 +03:00
Ilia Maslakov
72bb075828
Ticket #2161 (del - clear input field)
...
new behavior: DEL - clear current field of dialog if text in the field is not modify and cursor not moved.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Code cleanups: avoid compiler warnings
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-27 22:26:59 +03:00
Andrew Borodin
2c7bc9c1c2
Ticket #2157 : fixed tty_fill_region() for ncurses-based TTY layer.
...
If filled region is larger than screen, NCurses doesn't fill it
unlike S-Lang. This patch fixes such behaviour: only visible part
of region is filled.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-19 21:25:50 +04:00
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