Commit Graph

596 Commits

Author SHA1 Message Date
Andrew Borodin 50de02cfe4 Unification of keybinding names.
Most of keybind names are changed to unify that names.
Details see in doc/keybind-migration.txt file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-03-20 19:26:08 +03:00
Andrew Borodin 68a8745f6d Ticket #2511: simplification and unification of keybinding names.
Added doc/keybind-migration.txt file to describe new keybinding names
used in mc.keymap.* files in 4.8.x series.
Cosmetics: reordering of keymap section declarations to provide identical
order totally in the source tree.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-03-20 19:26:08 +03:00
Ilia Maslakov c7638e1a75 replaced #interactive to #silent into misc/macros.d/*
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-03-17 16:17:03 +00:00
Ilia Maslakov bc3c848ab1 Added two macro examples:
* macro.6.sh - execute selected block
    * macro.7.sh - delete trailing whitespaces

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-03-07 14:06:38 +03:00
Ilia Maslakov 04d54931d0 added examples
added rules for misc/macros.d/*. in the process of installation, example scripts will be copied into share/mc/examples/macros.d

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-03-03 20:48:31 +00:00
Ilia Maslakov 83177cfc16 added a new action "Record and Repeat commands", added menu entry (Record/Repeat actions) for this.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

some fixes

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

and one more fix

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-03-03 20:45:07 +00:00
Lee Bigelow 15458a0ff5 Ticket #1791: a nice dark skin created by Lee Bigelow (update)
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2011-02-20 23:57:20 +01:00
Slava Zanko 2712ec2ca8 Changes for respect new 'HARDLINK' highlight type.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-02-18 15:20:34 +02:00
Ilia Maslakov afed48a44a Ticket #2499 (action to the mark current word)
added action CK_Mark_Word to the mark current word
    changed double-click the mouse handler of the editor

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-02-17 21:38:06 +00:00
Andrew Borodin b8b0abd579 Ticket #2485: added -C key to nm in View action for static libs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-02-05 16:54:56 +02:00
Slava Zanko 5b167ccc9e fail back to standard skin if 256-colors skin used on non256 colors terminal
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-24 15:46:10 +02:00
Slava Zanko 71e70a017f renamed cedit.menu to mcedit.menu
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-20 17:44:04 +02:00
Slava Zanko 4e02246c6f skin xoria256.ini: changed version requirements
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-13 11:28:36 +02:00
Alexander Glyzov 331a7c1711 Added 'Xoria256' skin.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-01-12 14:29:44 +02:00
Andrew Borodin 90de8381e4 Added dark skin to the list of skins.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-01-11 14:25:49 +03:00
Ilia Maslakov 728596871e added cedit.menu entry "Sort selection"
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-01-06 20:07:59 +00:00
Ilia Maslakov 842e27763b added 2 new user menu entries - "Upper case", "Lower case".
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-01-06 16:51:07 +00:00
Ilia Maslakov 6832b8e7e9 binded EditRedo on alt-r
added entry Redo into editor menu

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-30 21:23:43 +00:00
Andrew Borodin da2c82e8d3 Ticket #2170: color of panel header cannot be set in the command line
...using --colors option.

Grammar in default skin description.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-29 13:58:28 +03:00
Egmont Koblinger 6582b89c63 Added skin for demonstrate how to use 256 colors in mc
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-12-29 12:04:56 +02:00
nmk 5ec76f0af3 Ticket #1800: minor enhancement and fix for mc.ext
...for .so libraries and ELF objects.

.so libraries have the higher priority of extansion handling over ELF
objects.
Added -C -D options to nm utility for .so libraries.
Added -C option to nm utility for ELF objects.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-14 16:25:33 +03:00
Ilia Maslakov 8def8ec662 Ticket #2427 (cython syntax highlighting)
added rules for cython syntax highlighting

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-04 14:58:14 +00:00
Ilia Maslakov 5267c9dcc3 added new skin 'dark'
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-04 11:45:03 +00:00
Ilia Maslakov f153e1ad29 renamed:
* PanelCtrlNextPage into PanelGotoChildDir
    * PanelCtrlPrevPage into PanelGotoParentDir

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-04 09:06:06 +00:00
Ilia Maslakov 2690d2d9f5 Ticket #2375 (do cd .. if command line is empty)
New keybinding "PanelSmartJumpUp" for the jump to the parent directory if command line is empty. Not defined by default.
    This binding maybe used for bind 'Backspace' as hotkey for 'cd ..' (only if command line is empty).

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-12-04 09:05:07 +00:00
Andrew Borodin 680b9a8220 Ticket #2432: backspace key doesn't work in input lines.
Also added default bindings for C-d and C-h keys in editor and input
lines.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-02 11:30:34 +03:00
Andrew Borodin 380d9bd885 Ticket #2171: colors for popup menu:
... for menu items, selected menu item and for menu title.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-12-02 09:55:59 +03:00
Slava Zanko 55b4590664 Ticket #2432: delete and backspace key behaviour broken in master
Including wrong separator ',' instead of ';' in /etc/mc/mc.keymap and /etc/mc/mc.keymap.default
(commit b1bd2e2673) causes that mcedit ignores not only ctrl-h and
1;1Cctrl-d keys but also ordinary delete and backspace! This makes mcedit mostly unusable.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-26 14:31:05 +02: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 fcc98371d6 Removed unneded utility mcmfmt
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:51:31 +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
Ilia Maslakov 8d25877d9b updated mc.keymap.default, mc.keymap.emacs, added new action - 'InputXCut'
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-11-05 13:26:18 +00: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 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
Andrew Borodin fed3d099c3 Install mc.lib into /usr/share/mc instead of /etc/mc.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:15:37 +04:00
Andrew Borodin 51f28528f6 Ticket #1424: install some files into /usr/share/mc instead of /etc/mc.
RPMLint shows the following warnings:
mc.i586: W: conffile-without-noreplace-flag /etc/mc/Syntax
mc.i586: W: conffile-without-noreplace-flag /etc/mc/mc.lib
mc.i586: W: conffile-without-noreplace-flag /etc/mc/mc.charsets

First step: install Syntax into /usr/share/mc instead of /etc/mc.
This also fixes the impossibility of editing of system-wide Syntax file
in mcedit under root (menu Options->Syntax file->System Wide).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:15:37 +04:00
Slava Zanko f53ed400fb Merge branch '2170_separate_colors'
* 2170_separate_colors:
  Newly added colorpair names now described in man-page
  Ticket #2170: Color collisions
2010-10-13 13:23:25 +03: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
Slava Zanko 1d922f3c75 Ticket #2177: mcdiff shortcut
Changed keymap for CmdDiffView command from 'ctrl-y' to 'ctrl-d'

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-10-12 13:09:48 +03:00
Mikhail S. Pobolovets dbf74727ca Ruby syntax fix
* added highlight for ruby symbols

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-09-13 09:54:14 +03:00
Mikhail S. Pobolovets d9ac6384b5 Ruby syntax update
* fixed include? keyword
    * fixed $ in the end of regexps

Valid highlighting of regexps can't be done with syntaxcolor.
Ruby uses '/' to divide numbers and for defining regexps.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-09-12 20:57:40 +03:00
Mikhail S. Pobolovets 9cd7a04b54 CSS syntax update
* fixed some bugs
    * removed duplicates
    * added some new keywords

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-09-12 20:26:43 +03:00
Andrew Borodin 67e61510b4 Added bindings for vertical scrolling of interactive help.
check_movement_keys() function is not used now in interactive help.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:25:59 +04:00
Andrew Borodin b470fb81ce check_movement_keys() function is not used now in viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:25:59 +04:00
Andrew Borodin 6b4914b46e Ticket #212: replacement of hardcoded keys in viewer and interactive help.
Added new viewer keybindings instaed of hardcoded keys:
 - for move to top and bottom of file;
 - for horizontal scroll by 10 columns.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:25:58 +04:00
Andrew Borodin 44d07b20ab Implementation of keybindings for WListbox.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-09-01 15:20:28 +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
Andres Farfan 18322a0121 fixed skin - darkfar.ini
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-07-18 07:57:03 +00: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
Andrew Borodin 21e7453c94 Ticket #1523: added capability to forced run the internal editor.
Added CmdEditForceInternal binding in [main] section
to forced run the internal editor of MC.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-07 13:23:58 +04:00
Nerijus Baliunas 0dcd79ada2 Case insensitivity of ISO extension for mc.ext.in
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-07-05 21:35:18 +04:00
Andrew Borodin eeb93d2d61 Removed [panel:xmap] section from keybinding -- it is not implemented.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-05 21:35:18 +04:00
Sergei Trofimovich 4abeb610fd misc/syntax/ebuild.syntax: added EGIT_PROJECT to list of known words
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2010-06-26 17:44:58 +03:00
Igor Zubkov bbe8e8d40e Ticket #1446: Added highlighting for HTTPS URLs.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-06-25 00:05:06 +02:00
Andrew Borodin 56bbdeb15f Support of multiple editors and viewers.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Ilia Maslakov 7f109a6e56 set default keys for Input* actions
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-27 22:27:00 +03: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
Andrew Borodin 6d5c2628fe Ticket #2042: added a capability to create relative symlinks.
The original patch was posted by Anton Monroe <akm at meer dot net>
to mc-devel@gnome.org mailing list:
http://mail.gnome.org/archives/mc-devel/2006-April/msg00020.html

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-22 12:08:18 +04:00
Andrew Borodin 4ef4a5e032 Ticket #320: menu and configuration dialogs reorganization.
'Left'/'Right' menu was reorganized.
'File listing' menu item was added to fast switch file panel
to file listing mode.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-14 18:44:42 +04:00
Ilia Maslakov 718fdc8acc Ticket #2021 (MarkFileDown/MarkFileUp)
Added a new panel action 'PanelMarkFileDown'/'PanelMarkFileUp' for mark files and move cursor to the down or up after mark.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-05-14 18:18:37 +04:00
Andrew Borodin 296b8e6d79 Ticket #2025: changed URL for bug reports.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-08 18:15:59 +04:00
Ilia Maslakov 823387a793 Removed hardcoded hotkeys in dialog.c Replaced keymap's initialization from main.c into setup.c
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

Collect keybind-related variables in src/keybind.[ch] files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-07 15:02:11 +04:00
Tomasz Pala 7dc6d62d4a Ticket #2179: gotar.ini update
Update the skin after the advent of mcdiff.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-06 15:13:35 +02:00
Yury V. Zaytsev 4ce950c225 Ticket #2127: updated file extension for "sh"
Removed spurious bash_userstuff from the regexp.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-05 16:24:14 +04:00
Slava Zanko 1eba5407ab Some fixies of ini.syntax (added default color)
also, misc/syntax/Makefile.am changed for install ini.syntax into system

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 16:43:12 +02:00
Karsten Hilbert 1243fc6fd7 Ticket #2126: DOS style INI files syntax
I am attaching a proposed syntax highlighting definition for
- gasp - DOS style INI files.

I'd love to set the

    option

part in

    option = value

to some other color, too, but didn't find the proper syntax
for that.

Karsten

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-04 16:43:12 +02:00
Ilia Maslakov 93247568d0 added diff options dialog
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-27 12:16:04 +04:00
Ilia Maslakov e5dc79a441 added merge mechanism
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-27 12:15:41 +04:00
Andrew Borodin f356d83972 Fixes of button bar handling.
Implemented handling of mouse actions in button bar.
Fixed vertical size of Diff Viewer widget.
DiffHelp action was added. F1 button was assigned for it.
Fixed some key bindings.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:33 +04:00
Ilia Maslakov d60be3ca56 initial step to multiple encodings support and select codeset.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-26 11:44:32 +04: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
Michelle Konzack b3315acf55 Ticket #2127: updated file extension for "sh"
I find it realy annoying, if I put something in my BaSH configs and have
NO syntax hilighting so I have changed the line in Syntax which now
coloriser my BaSH configs nicely...

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-04-25 14:45:44 +02: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
Andrew Borodin 4e57b599cc Renamed frame symbol names.
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
Mikhail S. Pobolovets 6f6ea1bc88 Normalized formating for syntax files
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-04-04 19:24:13 +03:00
Mikhail S. Pobolovets 5112cdc727 Asm syntax: redundant rules removed and some missed registers added
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-04-04 16:36:49 +03:00
Mikhail S. Pobolovets ae517852b0 Merge branch 'master' of ssh://styx@midnight-commander.org:22/git/mc 2010-04-04 13:46:58 +03:00
Andrew Borodin c8dae6fd8f Added extensions_case keyword in filehighlight.syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 10:18:45 +04:00
Mikhail S. Pobolovets 68bb7c20e3 Merge branch 'master' of ssh://styx@midnight-commander.org:22/git/mc 2010-03-27 21:19:19 +02:00
Thomas Jarosch 7e427c2cfa Ticket #2114: Don't treat files ending with a dot as gzip.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-19 10:18:56 +03:00
Mikhail S. Pobolovets e8ef170590 Merge branch 'master' of ssh://styx@midnight-commander.org:22/git/mc 2010-03-14 11:17:48 +02:00
Mikhail S. Pobolovets a99dc516e6 Small update: two new keywords for cabal syntax 2010-03-09 16:25:21 +02:00
Mikhail S. Pobolovets 8c0cfebbc1 Syntax files normalization
* tabs are replaced with spaces
    * trailing spaces are removed
2010-03-05 20:37:48 +02:00
Mikhail S. Pobolovets 33b7a382ea Syntax files for case insensitive languages has been updated
* 'caseinsensitive' option is on
    * redunt rules are removed

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-05 18:07:07 +02:00
Mikhail S. Pobolovets c330f876cf Ticket #2060: Cabal syntax update
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 19:27:22 +02:00
Mikhail S. Pobolovets 9537ff6fe0 Ticket #1770: added switch 'caseinsensitive' for syntax highlighting
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 18:42:58 +02:00
Andrew Borodin 4e44d4f7ce Ticket #1791: a nice dark skin created by Lee Bigelow.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-03 13:54:18 +00:00
Andrew Borodin 14b61d876c Ticket #2037: minor changes in source tree.
mc.charsets was moved from contrib/ to misc/.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 16:36:05 +00: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 83205ba97e Fixed extracting of archive content.
The command "Extract the contents of a compressed tar file"
fails if file name contains spaces.
Fixed duplcated pattern.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-20 17:30:53 +03:00
Andrew Borodin fda1fba5ef Ticket #1967: removed extra unneeded quotes in user menu.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-20 17:30:53 +03:00
Serhiy Storchaka 633dd8153b Ticket #1995: Indicating sort order
In "featured" skin sorting order from up to down indicated by arrow «↑» (up),
and vica verse reversed order from down to up indicated by arrow «↓» (down).
This is contrintuitive and contradicts to behavior of other programs
(file managers, mail clients, etc).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-09 12:30:05 +02:00
Benny Pedersen 110977b161 Ticket #2010: Missing \s in Syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-07 14:12:23 +03:00
Andrew Borodin 8a97f22f30 Revert "Ticket #1987: added Cobol syntax highlighting."
This reverts commit a8d75fce1e.

The Cobol syntax description in misc/syntax/Syntax file
breaks highlighting of other syntaxes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-05 12:05:27 +00:00
Franz Wuerl a8d75fce1e Ticket #1987: added Cobol syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 14:35:55 +00:00
Slava Zanko 2b653ecf33 Ticket #1991: toggle panels view
Added keybinding for switch panels view (horizontally/vertically).

Default value for keybind is
[main]
CmdTogglePanelsView = alt-comma

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-04 11:29:16 +02:00
Andrew Borodin a77e64732c Ticket #1967: shell variables quoting in user menu.
Thanks to pavlinux for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-01 13:55:10 +00:00
Andrew Borodin e53f22a4c0 Syntax highlighting: added .HPP extension to the list of C/C++ sources.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-26 16:39:30 +00:00
Slava Zanko 630efbd59a Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00
Ilia Maslakov 1da2c4113f Ticket #1559 (Search results highlighting in mcedit is too subtle)
changed default color pair for 'editbold' for more sensible.

    original issue:
    "It's a bit tricky to *search results of a search* in mcedit when default blue background is set.
    Default colour for search results highlighting should be probably changed to something more sensible;
    to my mind orange or red would be OK."

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-21 16:15:49 +03:00
Ilia Maslakov 3d184b4be6 Ticket #1945 (new editor action - select all/mark all)
add new editor action - 'Mark all', allow select all text in the current file.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-20 13:08:37 +03:00
Ilia Maslakov c3755f0c50 added keybind CK_Toggle_Show_Margin for toggle show right margin (with empty default key)
added new color pair for right margin (editrightmargin) into skins

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-06 14:31:40 +03:00
Ilia Maslakov 5203d6739d Ticket #1514 (show right margin)
* added new color pair EDITOR_RIGHT_MARGIN_COLOR
    * show right margin. Used EDITOR_RIGHT_MARGIN_COLOR color for drawing text beyond rigth edge.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-06 14:26:01 +03:00
Enrico Weigelt, metux IT service bcbdf6235e Ticket #1693: viewing .lyx with lyxcat, opening with lyx.
Signed-off-by: Enrico Weigelt, metux IT service <weigelt@metux.de>
2010-01-02 16:53:01 +03:00
Ilia Maslakov b03b234085 Ticket #1724 (mismatched hotkeys)
fixed mismatched hotkeys EditBeginRecordMacro, EditEndRecordMacro

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-25 15:10:23 +03:00
Ilia Maslakov 8c2e8c9702 Ticket #1724 (mismatched hotkeys)
fixed mismatched hotkeys EditBeginningOfText, EditEndOfText
    EditBeginPage, EditEndPage (mc.keymap.default, mc.keymap.emacs)

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-15 14:54:52 +03:00
Tomasz Pala 2e97cf7fb7 Ticket #1659: Darker color style
Some fixies for skin.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-27 09:45:01 +02:00
Andrew Borodin d53630b800 Drop srpm VFS at all. rpm VFS is used instead.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-23 10:16:28 +02:00
Andrew Borodin eea8470a2d Added shortcuts to move to begin and end of text in editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:52 +03:00
Andrew Borodin 5e68b69020 Many shortcuts were fixed.
Ticket #1764:
  * fxed shortcuts for select/unselect/reverse selection
of file group;
  * removed 'C-x C-c' default shortcut for Quit command.

Also fixed some emacs-like keybindings for editor and viewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin eb2e4b0e17 Unified some commands that differ in its behaviour when called via menu or shortcuts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin ccabd60ffc Implemented keybindings for Help window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin e85f6b23e3 Added Viewer commands and shortcuts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin 6b71dc9f12 Added missed shortcuts for ButtonBar commands.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin da33e767e9 Type accuracy and code clean up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin efdb645468 Implemeted keybindings for Tree widget
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin 3f19a0eeb9 Ticket #1710: newlines are lost when pasting multiline text in editor.
When pasting multiline text with shift+mouse newline characters
are lost. Pasted text is not shown before any key is pressed.

Middle-mouse pasting in mc requires shift being pressed to keep mc
from interpreting the button press itself, so it is passing on to
xterm/gpm. That has the nice side effect that the pasted enter
characters are automatically shift-enter, which was simply interpreted
as newline-without-autoindent. However, the keybinding for shift-enter
have been lost in the course of #212 - it simply does nothing,
and consequently text is pasted without newlines.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-13 12:03:33 +03:00
Slava Zanko 313e42d24d Revert "misc/mc.ext.in: added 3gp video"
This reverts commit 2f901ef642.

Patch is dirty. Added into repo misc/mc.ext - this is autogenerated
file and no need to store into repo.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-10 11:48:30 +02:00
Andrey Rahmatullin d740efceba misc/mc.ext.in: added mkv video 2009-11-09 12:16:13 +01:00
Andrey Rahmatullin 2f901ef642 misc/mc.ext.in: added 3gp video 2009-11-09 12:14:11 +01:00
Andrey Rahmatullin cf113f9215 misc/mc.ext.in: Adds exif(1) output when viewing jpeg files. 2009-11-09 12:11:32 +01:00
Andrey Rahmatullin 5d87893ffe misc/mc.ext.in: Opening .chm with kchmviewer with fallback to xchm 2009-11-09 12:09:59 +01:00
Andrey Rahmatullin c2542a9400 misc/mc.ext.in: Viewing .mo with msgunfmt 2009-11-09 12:03:04 +01:00
Martin Petricek 172cf43d27 Add misc/mc.ext (which is generated from misc/mc.ext.in) to .gitignore 2009-11-08 21:48:24 +01:00
Ilia Maslakov e634800048 Ticket #1793 (mc aborts then press ctrl-c)
fixed bindings for 'CmdQuietQuit'

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-05 11:36:52 +00:00
Andrew Borodin 61f7d72af6 Added shortcuts for CmdInfo (C-x i) and CmdQuickView (C-x q) commands.
There is a difference between CmdInfo and CmdMenuInfo commands:
  * CmdImfo is assigned with C-x i shortcut and changes the mode
    of inactive panel with flip-flop effect.
  * CmdMenuInfo is assigned with panel according with menu: Left
    or Right. There is no flip-flop effect of this command. This command
    must be present in keymap file to show the assigned shortcut in menu.

The above-written is appropriate for CmdQuickView and CmdMenuQuickView commands.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-30 20:36:48 +02:00
Slava Zanko 12ed4d0b45 Ticket #1753: panel: bad mounpoint is no longer 'red' highlighted
Restored behavior with stale mountpoint (now handled as stale link).

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-29 16:48:51 +02:00
Ilia Maslakov 478328812f Ticket #244
add shared clipboard support

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

    Fixed memory leaks. Type accuracy. Optimization.

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

    * fixed ctrl-g handler
    * change action names from InputKillSave to InputXStore and InputPaste to InputXPaste
    * update mc.keymap.default mc.keymap.emacs

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-29 12:18:18 +00:00
Ilia Maslakov 359c9406d1 Ticket #1489 (indent block)
added bindings for shift block 'EditShiftBlockLeft', 'EditShiftBlockRight'
    EditShiftBlockLeft, EditShiftBlockRight - force move block without option_persistent_selections checking

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-29 07:58:30 +00:00
Ilia Maslakov 91c7dbb71c Ticket #1724 (forgotten hotkeys)
* fixed binding in mc.keymap.default and mc.keymap.emacs
    for CmdCopyCurrentTagged, CmdCopyOtherTagged,
    CmdCopyCurrentPathname, CmdCopyOtherPathname
    * fixed typo

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-29 06:23:51 +00:00
Slava Zanko 742eae18d2 Ticket #1703: SKIN: Make own colorpairs for buttonbar widget
Now buttonbar have own colorpairs:

[buttonbar]
    hotkey=red;black
    button=yellow;cyan

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-28 17:50:46 +02:00
Ilia Maslakov ca79091215 added skin 'Dark FAR' darkfar.ini
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-28 08:28:54 +00:00
Tomasz Pala 6d5cccc623 Ticket #1659: Darker color style (gotar.ini)
This is raw commit into master.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-27 22:45:34 +02:00
Ilia Maslakov d449c5f383 Ticket #1724 (fix for mc.keymap)
* fixed keybind for 'ViewMoveToBol', 'ViewMoveToEol'
    'EditScrollUpHighlight', 'EditScrollDownHighlight'
    * fixed hardcoded bindings into keybind.c
2009-10-26 21:29:39 +00:00
Andrew Borodin 7e33c12685 Show actual shortcuts in editor menu.
Key emulation in editor was removed. Default key emulation
is stored in misc/mc.keymap.default file. Emacs key emulation
is stored in misc/mc.keymap.emacs.
Editor options dialog was redesigned.
Shortcut parser was fixed.
Fixes after rebase to recent master.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:32 +03:00
Andrew Borodin 729d4f08a9 Implemented default actual shortcuts for main menu.
Some functions and commands are renamed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:31 +03:00
Andrew Borodin b3b332083c Use commands instead of callbacks to execute menu items.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:31 +03:00
Ilia Maslakov cb5836c2e0 Ticket #1667: Hardcoded colours
Problem:
BOOK_MARK_COLOR and BOOK_MARK_FOUND_COLOR are hardcoded
in edit/edit-widget.h and so cannot be changed via skin.

Solution:
Now these colors will configure via skin-file. Like:

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-24 16:42:04 +03:00
Slava Zanko 9f038952b0 Ticket #1618: menu.sr installed in wrong place
Bugreport:

When doing "make install" with default paths, "mc.menu" gets istalled into
{prefix}/etc/mc, but "mc.menu.sr" get installed into {prefix}/share/mc

Fix issue: Now mc.menu.sr will copyed into same place as mc.menu

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-21 10:36:27 +03:00
Andrey Rahmatullin 0daf01d7c2 Ticket #1690: mc.ext entry for .djvu
Opening .djvu with djview

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-20 02:01:34 +03:00
Slava Zanko 8fe4dc26c2 Cosmetic changes of panel interfase (relative to history list):
* Panel widget: History list button  changed  from v to [^]
 * Change drawing of history control elements for panel. Now if panel is active, show in reverse color just panel path.
 * Add reaction on mouse click on [] chars at top of panel
 * Added call of repaint_screen() function for correctly show panels content after click by mouse on 'hidden files' indicator.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:30 +03:00
Slava Zanko d11de35343 Ticket #1716: Adding fully featured skin
As David Martin proposed, this skin support all newest features
May be used as modern skin, but with some restrictions (must be UTF-8 system codepage)

Also, changed src/screen.c for demonstrate skin features :)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:16 +03:00
Ilia Maslakov 4cd93228d4 Ticket #1683
add command EditToggleSyntax for toggle syntax highlight

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-10 15:50:58 +00:00
Denis Briand 91378afbfb Ticket #1630: add ico files support
This is a trivial patch to add *.ico files support into mc.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 13:34:20 +03:00
Yuri Fil c5fd4aef8e Ticket #1681: extfs for .cab
Added ability for work with Microsoft CAB archives.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 13:14:24 +03:00
Andrey Rahmatullin 4c5edb4647 Ticket #1679: Fails to view .tar file with a colon in name
Fixed incorrent handle of .tar files with a colon in name

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 11:10:54 +03:00
Slava Zanko 71642b9bdb Ticket #1620: File hightlighting based on extension is case sensitive.
Added parameter extensions_case.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 10:42:25 +03:00
Ilia Maslakov e5abe33fc6 Ticket #1669 (autoindent not working)
* remove unused code;
    * autoindent fixed, mcedit distinguishes CK_Enter and CK_Return commands, but terminal not.

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-06 13:56:17 +00:00
Slava Zanko 08e6e1caf4 Added indicators for current sort type and sort direction.
Added parameters into skin-files for showing sort indicator.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:55 +03:00
Slava Zanko 9fa3347fc1 Added keymaps for some sort types.
* PanelSortOrderByName
 * PanelSortOrderByExt
 * PanelSortOrderBySize
 * PanelSortOrderByMTime

Also added 'PanelReverseSort' keymap.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Slava Zanko 7896ea84f6 Added handlers for panel sort keybind actions.
* PanelSelectSortOrder - show 'Sort order' dialog
 * PanelToggleSortOrderPrev - toggle next sort type (or reverse sort order)
 * PanelToggleSortOrderNext - toggle previous sort type (or cancel reverse)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Stan. S. Krupoderov 35ededec26 Ticket #1390: Key binding ctrl+t and marking files
mc.keymap: remap select charset to M-e, and C-t to mark file
    editmenu.c, main.c: change menu items to be consistent

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-10-05 16:02:04 +04:00
Slava Zanko d033eb6ea0 Ticket #1655: Unable to call 'direct' viewer (by shift+f3) key.
Test case:
Try to press shift+F3.
 * Old behavior: call viewer in raw mode.
 * New behavior: do nothing.

Fix issue:
For 'PanelViewSimple' event changed hotkey from 'shift-F3' to 'F13'

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-03 00:45:04 +03:00
Ilia Maslakov e68cc4b0b0 Ticket #212
add keybind for SelectCodepage into [editor] section

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-01 07:39:08 +00:00
Ilia Maslakov 53b0f8546d Ticket #212
fixed completion in command line
    add: EditToggleTabTWS,EditFindDefinition, EditLoadPrevFile, EditLoadNextFile actions into bindings list
    add string bindings for f21..f24

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-30 12:04:17 +00:00
Ilia Maslakov 87102cc7e8 fix: main.c keys handler
add more keys into mc.keymap
    fix: CK_SingleDirsizeCmd event
    add default keys (alt-'.', alt-'+') mc.keymap

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

    Added alt-shift-h hotkey
    Add some documentation about keymap file.
    Replace some symbols into names '.' to 'dot', '?' to question, etc.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:40 +00:00
Ilia Maslakov 19bb1938f3 add alt+arrows action and descriptions into mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:39 +00:00
Ilia Maslakov c893dcf1dd fix: movement in Lynx navigation mode
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:39 +00:00
Slava Zanko 4b48da136d Add some default hotkeys
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:37 +00:00
Slava Zanko d1856a2268 Add some forgotten hotkeys.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:37 +00:00
Slava Zanko 3f95f87f5e Rename Widget* events into Input* events.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:36 +00:00
Slava Zanko df59561ab0 Show hotkeys as 'alt-s' instread of 'alt s'.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov dbdc3254c1 add more commands into mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov 592ddbf39e refactoring editor keybindings
add more keys into mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov 5a397a6b9a * add new commands into cmddef.h
* add user keybind in widgets
    * add widget keybindings

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:34 +00:00
Ilia Maslakov 71b1a8bf99 Ticket #212 (User defined hotkeys)
created structs:
    struct name_key_map_t
    struct key_config_t
    global_key_map_t
    add lookup_action
    replace editor key map struct to global_key_map_t
    add main_map screen_map
    replace command CK_* to src/cmddef.h
    add mc.keymap
    fix misc/Makefile.am
    add x_keymap
    add more commands

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:32 +00:00
Slava Zanko 21d339c5be misc/skins/Makefile.am: Add skin files into EXTRA_DIST list.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-22 16:27:39 +03:00
Andrew Borodin 3f4b0ee311 Fixed menu colors for BW mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-22 16:27:38 +03:00
Slava Zanko bf55805409 Added Russian and English docs for skins.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:57:35 +03:00
Slava Zanko bdfc9adf39 Continue development of skins
* Remove highlight of hidden filenames.
 * Fixed colors with ncurses screen library
 * Fix lines drawing with ncurses screen library.
 * Fix drawing of lines in slang with non-utf codepages.

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

 * Code cleanup.
 * Code cleanup, refactoring and optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-18 11:56:12 +03:00
Slava Zanko 2216332c0c continue develop of skins.
* Compile with option --with-screen=ncurses
 * Added default init of colors (if color description is null)
 * Renamed some color pairs. All static color pairs now cached.
 * Fix cursor show in panel over selected files in b&w color scheme.
 * Fix editor highlight
 * Handle old-style colors definitions.
 * Fix showing box lines in onebyte codepages.
 * Fix segfault with:
 * mc -C 'menu=blue,white:'
 * Fix reading of color backgrounds from old-style color definition strings.

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

 * Fixed typos.
 * Added ACS_PLUS char and related stuff.
 * Changed order of colors.

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

 * Fixed pseudo-graphics drawing for S-Lang library and 8-bit locale.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-18 11:54:20 +03:00
Slava Zanko d0457bbe9f Add hardcoded skins.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:49:44 +03:00
Slava Zanko 981fe001d1 Base support of skins.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:49:44 +03:00
Stan. S. Krupoderov edddd5f5d3 Ticket #1596: hidden file higlighing
remove highlight for hidden, extend templates for higlight by ext

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-14 22:47:13 +04:00
Slava Zanko edab903a19 Ticket #1597: panel: restore red hilight for broken symlinks
Fix for restore highlighting of stale links.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-14 12:48:50 +03:00
karesmakro f3663e0792 Ticket #1592: gzup error in mc.menu
mc.menu: fix command name

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-09 15:57:31 +04:00
Slava Zanko 4afc04eedc Ticket #418: File coloring
Added support of filenames highlighting in panels.

Now rules of highlighting described into external file filehighlight.ini
Number of highlight rules is unlimited (in opposite to X-Stranger patch).

Highlight will made by:
 * file type (directory, regular, symlink, special device etc.)
 * extensions of filenames (ends of filenames)
 * regular expressions

Big thanks to X-Stranger <x@linux.by> for idea
and to Alexey Kaminsky <alexeykaminsky@gmail.com> for testing.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-03 13:12:17 +03:00
Patrick Winnertz c080a3e2a5 Add a xterm-256color entry to mc.lib
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-19 19:38:44 +02:00
Andrew Borodin 9f1bb1e7ca Ticket #1547: convert SR user menu to UTF-8.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-19 15:00:41 +04:00
Sergei Trofimovich b56f55fc83 (Ticket #1476) Revert * lib/mc.ext.in: Tar is missing a - as argument fix
This reverts commit f021c090f9.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-07 21:45:26 +03:00
Stan. S. Krupoderov 87f3cd1cda Ticket #1452: handle .tbz2 extension
mc.ext.in: support for tbz2, patch from ijabbott
2009-08-06 15:43:45 +04:00
Denis Kostousov 394e909070 Ticket #1433: Working with lzma-based archives has been added.
Signed-off-by: Denis Kostousov <denis.kostousov@gmail.com>
2009-08-04 09:57:50 +03:00
Mikhail S. Pobolovets b384faef82 Handling of XIPH multimedia formats
Ticket: #328
mc.ext update in respect to the handling of XIPH multimedia formats
.ogg, oga, .ogv, etc.

http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions

Update provided by jemm

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-06-10 12:04:35 +03:00
Slava Zanko 43c99a14da Add definitions of Shift+F3 and Shift+F4 keys into misc/mc.lib file
On some terminals (such as gnome-terminal and xterm)  Shift+F[x] keys doesn't work. This patch will fix it.
Also, made some cleanups in 'xterm-color' section.
2009-06-01 17:53:48 +03:00
Slava Zanko 7238c35889 Fix invalid declarations of ESC-sequenses in mc.lib file 2009-06-01 11:07:21 +03:00
Slava Zanko a462a4b3ee Fixed saved panel state and fixed reading key definitions from config-file
misc/mc.lib: added escaping of all backslashes
src/mcconfig/common.c: removed forgotten debug code
src/setup.c: fixed non-saving of panels state
2009-06-01 11:06:03 +03:00
Slava Zanko 1aad5105cb misc/mc.lib: changes in hotkeys definitions.
Now multiple definitions separate by ';' sign for one hotkey
2009-06-01 11:01:16 +03:00
Slava Zanko 0a1b6bfbb2 Reworked "Special dirs"->"list" parameter handle code
misc/mc.lib: changed ',' to ';'
src/treestore.c: use mc_config_get_string_list() function instread of strtok() function
2009-06-01 10:55:35 +03:00
Slava Zanko acc64ecd68 Fixed saved panel state and fixed reading key definitions from config-file
misc/mc.lib: added escaping of all backslashes
src/mcconfig/common.c: removed forgotten debug code
src/setup.c: fixed non-saving of panels state
2009-06-01 10:55:35 +03:00
Slava Zanko 5edb3a645e misc/mc.lib: changes in hotkeys definitions.
Now multiple definitions separate by ';' sign for one hotkey
2009-06-01 10:55:07 +03:00
Mikhail S. Pobolovets 9e325ad1b0 * lib/mc.ext.in: Enhancement to open and view .deba and .debd
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-05-27 10:35:10 +03:00
Slava Zanko 0c17219b2a Move global config files from pkg_datadir to sysconfdir
* Also fixed 'make dist' command
 * changed contrib/dist/redhat/mc.spec.in for builds with new dir
2009-05-21 01:01:10 +03:00
xgizzmo 24ca27fe30 Added XZ compression support. Signed-off-by: xgizzmo <xgizzmo@slackbuilds.org>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-05-13 11:35:22 +03:00
Slava Zanko f49ce170f0 Move some files from contrib into misc directory
Also fix error with make install action
2009-05-08 16:56:02 +03:00