Commit Graph

244 Commits

Author SHA1 Message Date
Andrew Borodin
52108b53d4 Ticket #2934: highlight OGV files as media.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-23 14:25:36 +04:00
Andrew Borodin
5893280248 Ticket #2912: add psgi extension to Perl syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-08 16:55:14 +04:00
Leonid Krivoshein
0a42d171ad Ticket #2649: dlink.syntax: syntax highlighting for D-Link switches command set.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-05 16:07:22 +04:00
Ralesk
6d8b82b845 Ticket #2084: cmake.syntax: preliminary syntax file for CMakeLists.txt files.
It's nowhere near complete, but it's better than nothing.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-05 16:06:52 +04:00
Andrew Borodin
f068a4228c Ticket #2664: ogm extension was deprecated in favor of .ogv.
Conform to http://wiki.xiph.org/MIME_Types_and_File_Extensions, .ogm
extension was deprecated in favor of .ogv (with mimetype video/ogg).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-05 13:54:23 +04:00
Andrew Borodin
5e136a8981 mc.keymap.default, mc.keymap.emacs: comment out unassigned commands.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-08-30 13:18:11 +04:00
Slava Zanko
9da517a169 Fixed OGV file extention handle.
Currently OGV files handles as video.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-29 13:06:34 +03:00
Andrew Borodin
77105e3233 Ticket #2847: use unrar to view RAR archives if rar is unavailable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-08-20 21:09:19 +04:00
Andrew Borodin
4c66451f19 mc.keymap.emacs: fix of LinkSymbolicRelative keymap.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-31 14:30:49 +04:00
nafraf
d5fceb9310 Ticket #2542: assembler.syntax: x86 AMD64 registers highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-31 14:29:53 +04:00
Victor Homyakov
1d82709c48 Ticket #1869: properties.syntax colors are difficult to read.
Syntax file properties.syntax used very dark color for keys (cyan is
almost invisible on default MC background), and bright color for
delimiters (yellow), which made highlighted file difficult to read.

Change keys color to yellow.
Change delimeters color to bright cyan.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-31 14:27:54 +04:00
Egmont Koblinger
45d938c0e5 Ticket #2807: incomplete sand256 skin.
When using the sand256 skin, selected element is not highlighted in
pop-up menus.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-13 14:42:44 +04:00
Gergely Szasz
c0df27d288 Ticket #1437: install mceditor scripts as scripts not as data files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-04 18:12:58 +04:00
Osamu Aoki
9ad9059512 Ticket #2798: support of .cpio.xz files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:32:37 +04:00
Patrick Winnertz
37e492db57 Ticket #2797: added support of .gem (rubygems) files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:21:49 +04:00
Andrew Borodin
22785c8823 Ticket #2774: mc.ext: comment out the empty rule for texinfo.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-07 16:54:44 +04:00
Sergei Trofimovich
a29c6150b9 ebuild.syntax: added 'pushd' and 'popd' keywords
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-04-04 14:03:23 +04:00
Victor Homyakov
27bcf2ee98 Ticket #2748: wrong message in menu item "Delete tagged files if a copy exists in the other directory". 2012-03-19 13:34:34 +03:00
idispatch
bd6afefeee Ticket #2708: Added ActionScript file syntax highlighting
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-03-08 10:45:16 +03:00
S. Melnikov
9aadcfe970 Ticket #2105 (mcview backward search)
Until 4.7 '/' was forward and '?' backward search.
    In current releases both keys are bound to ViewSearch
    so one must manually choose Backwards option in the dialog.

(cherry picked from commit a3ddfd14ea)

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-02-05 10:56:32 +03:00
ctmp1
86dd1646f5 Ticket #2645: improve djvu support.
Open of djvu files with 'djv' extension.
View action for djvu with text layer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-14 10:36:20 +03:00
Nerijus Baliunas
3fd3f2befe Ticket #2702: improve video support.
Open .m4v and .ts files as video ones.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-14 10:34:56 +03:00
Artem S. Tashkinov
b6f3e56f9f Ticket #2703: Simplify mc.menu - remove LZMA|LZ and change p7 to 7z
* LZMA is now considered unsupported and outdated, let's get rid of it.
 * There's no p7 archiver format, let's change it to "7z".

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-01-13 11:58:49 +03:00
Slava Zanko
e0875b12c5 Added file types for MS Office files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-12 12:06:21 +03:00
Artem S. Tashkinov
9799869636 Ticket #2646: A few useful additions to filehighlight.ini
Added a few common file types to filehighlight.ini, namely
 * 7z, ace to archives
 * flac, ape, wma, wmv, 3gp to media

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-12 12:06:20 +03:00
Sergei Trofimovich
a4fbaf95ff syntax/lua: highlight '\\' escape (and similar) properly
The following example breaks highlighting to the end of file:
    local a = "\\"
    local b = 1
    ...

Added escape handling for simplest cases both for
single-quoted and double-quoted literals:
    '\\', '\n' (and similar), '\d', '\dd', '\ddd'

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2011-11-16 08:44:33 +03:00
Egmont Koblinger
14973a6b02 Ticket #2640: sand256 skin update
Seems that the previous patch was incomplete. Especially the "Delete file?" dialog
sucks because the colors of the Yes and No buttons are the same, it's only the mouse
cursor that shows which one is active.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-11-08 10:46:31 +03:00
SZABÓ Gergely
0865031bea Lex/Flex sources (extension .l) handled by yxx.syntax. Yacc/Bison syntax completed with all symbols. 2011-10-31 23:09:19 +03:00
Ilia Maslakov
48460f6ca1 changed mc.keymap 2011-10-27 15:59:24 +04:00
Egmont Koblinger
57de35ceb7 Ticket #2640: sand256 skin update.
When reorganizing skins, two values in the sand256 skin got lost: the
header is boring black instead of interesting red, and the header in
viewer/editor is not highlighted.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-10-23 10:45:53 +04:00
Egmont Koblinger
0ab3044665 Ticket #2641: URL inside the xoria256 skin definition file is obviously broken.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-10-23 10:38:35 +04:00
Slava Zanko
0138645541 Ticket 1551: Update GPL version from 2 to 3
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-10-18 14:08:34 +03:00
Andrew Borodin
16664f9bd0 Added the 'c' hotkey for 'Compile and link current .c file' item of user menu.
Menu item w/o hotey is not shown in menu.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-10-17 13:30:04 +03:00
Andrew Borodin
23427deac6 keymap files: unification of Fxx keys: move to lower case.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-10-17 13:30:04 +03:00
Andrew Borodin
d8277f2ed9 Ticket #2586: broken extended keybindings in editor.
ctrl-x shortcut is used in default keymap twice:
  * as shotrcut for WordRight action (see 0908c8baea);
  * as prefix for extended keybindings.

To fix the second issue, shortcut for editor.ExtendedKeyMap is
unassigned now because extended shortcuts are unused in editor in
default keymap.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-08-26 10:30:53 +04:00
Andrey Rahmatullin
607c6a21dc Ticket #2583: misc/mc.ext.in: added 3gp video.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-28 11:29:33 +04:00
Andrey Rahmatullin
c119682e43 Ticket #1689: mc.ext: use "include" for $EDITOR entries
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-17 16:40:13 +04:00
Ilia Maslakov
e8a0781934 Ticket #2467 (gitfs)
added new extfs plugin - gitfs
    used prefix [git] for identification as a #changesetfs

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-07-16 13:10:01 +00:00
Mikhail S. Pobolovets
2b10373e02 Ticket #2531: wrong rules precedence
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2011-07-14 12:04:07 +03:00
Mikhail S. Pobolovets
ee001dd96f Added new keyword to Ruby syntax
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2011-07-12 11:45:41 +03:00
Matthieu Crapet
c29e0eaa3d Ticket #2566: .mts file is handled as videofile.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-08 11:34:28 +04:00
Mihail Slobodyanuk
5fe72669f7 Ticket #2562: view torrent file using ctorrent.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-07-08 11:21:04 +04:00
Ilia Maslakov
125e4cb86b Ticket #2534 (mark files by shift-left/shift-right)
added actions for mark files in the panel by shift-left/shift-right

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-06-24 09:23:08 +00:00
Slava Zanko
bba132381e vfs_path_to_str() now return URL string instead of old representation
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-06-23 14:45:01 +03:00
Jan Engelhardt
d78cbcac15 Ticket #2524: added mc-4.6 skin.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-04-09 18:20:36 +04:00
Andrew Borodin
4519c85134 Fix of DLG_ACTION handling in interactive help.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-03-30 16:17:16 +04:00
Andrew Borodin
3e35200517 Fix of DLG_ACTION handling in diff viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-03-30 16:17:16 +04:00
Andrew Borodin
9ae7a28bf8 Fix of DLG_ACTION handling in viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-03-30 16:17:16 +04:00
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