Commit Graph

564 Commits

Author SHA1 Message Date
Andrew Borodin
4ae6cdb774 Ticket #4167: use mediainfo to view info about various media files.
Thanks korrado <anyhow2@mail.ru> for the issue.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-02-19 16:57:01 +03:00
Andrew Borodin
887bd8fe86 Ticket #4167: clarify e-books support.
mc.ext: add fb2 support.
ext.f/doc.sh.in: change key name for e-books.

Thanks korrado <anyhow2@mail.ru> for the issue.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-02-19 16:53:11 +03:00
Witold Baryluk
b01fea54a7 Ticket #4140: update python.syntax.
Add nonlocal, async, await keywoards.

nonlocal: added in Python 3.0 in 2006:

https://docs.python.org/3.0/whatsnew/3.0.html
https://www.python.org/dev/peps/pep-3104/
https://docs.python.org/3/reference/simple_stmts.html#the-nonlocal-statement

async, await: added in Python 3.5 in 2015:

https://docs.python.org/3.5/whatsnew/3.5.html#what-s-new-in-python-3-5
https://www.python.org/downloads/release/python-350/
https://www.python.org/dev/peps/pep-0492/
https://docs.python.org/3/reference/compound_stmts.html#async-def
https://docs.python.org/3/reference/compound_stmts.html#the-async-for-statement
https://docs.python.org/3/reference/compound_stmts.html#the-async-with-statement
https://docs.python.org/3/reference/expressions.html#await-expression
https://docs.python.org/3/glossary.html#term-coroutine
https://docs.python.org/3/library/asyncio-task.html
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-02-19 16:26:46 +03:00
Marek Černocký
c8649068d3 Ticket #4194: add .c++ and .h++ extensions for highlight.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-02-18 16:52:21 +03:00
Andrew Borodin
7881ed2fda Ticket #4180: fix handling of zip archives.
After 8857423e4e due to
using "file -z", zip archves w/o ".zip" file name extension
(i.e. "ff_ext.xpi", a Firefox extension) aren't handled
as zip archives.

misc/mc.ext.in: fix regular expression for zip format.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-01-23 21:10:04 +03:00
Andrew Borodin
1869dffd14 Ticket #4103: code cleanup before 4.8.26 release.
Initial step: rename keymap sections:
  main -> filemanager
  main:xmap -> filemanager:xmap

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-12-31 16:26:46 +03:00
Marco Ciampa
18a300e64f Fixed reference to Yabasic sintax file 2020-12-28 11:58:15 +01:00
Milan Voves
e6315c1c75 Swift syntax
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-12-24 16:34:43 +03:00
Dmitry Solomennikov
f815e3593f Ticket #4158: make modarcon16 skin consistent with whitespaces.
Whitespaces (i.e. tabs and trailing spaces) are not consistent with
other parts of skin, they're bright on blue. Makes them green on black
background.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-12-20 17:55:09 +03:00
Andrew Borodin
662754c6f8 Filehighlight fodg, fodp, fods, fodt, odg as documents.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-12-20 17:48:49 +03:00
RALOVICH, Kristof
9db7573de9 Ticket #4157: add support for OpenDocument flax xml formats.
Support fodt, fods, fodp, fodg files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-12-20 17:44:54 +03:00
Sergei Trofimovich
bad1523378 Ticket #4149: add 'alacritty', 'tmux', 'tmux-256color' as xterm aliases
'alacritty', 'tmux' and 'tmux-256color' all implement Shift+F<N> keys
in an xterm-compatible way. Without this change Shift+F<N> are handled
as F<N-2> key presses.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-12-13 20:18:48 +03:00
Ilia Maslakov
954e83191c Ticket #4130: add PAK archive support for extfs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-11-08 17:36:36 +03:00
Vadim Kalinnikov
942c5549c9 Ticket #4100: extfs vfs: support of WIM archive (image).
wimtools (https://wimlib.net/) are required.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-10-29 16:58:36 +03:00
Oswald Buddenhagen
8857423e4e Ticket #4128: improve handling of compressed content in mc.ext.
call 'file' with -z switch to enable getting the type of compressed files,
and use that capability extensively.

the /logs?/ hacks in ext.d/text.sh need to remain for the time being, as
file -z doesn't handle .lz4 files as encapsulated content.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-10-12 08:36:09 +03:00
Oswald Buddenhagen
f2cbaf19e5 Relax mc.ext matching rules for makefiles.
match the special cases first, and match makefiles irrespective of
extension. that is useful, as hand-written make-based build systems
often use qualifying suffixes, like .unix.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-10-10 15:56:05 +03:00
Oswald Buddenhagen
335c4eeec6 Replace xmms with audacious in ext.d/shound.sh.
xmms hasn't been maintained for ages. audacious is a maintained fork of
it.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-10-10 15:55:56 +03:00
Oswald Buddenhagen
31e7a7e963 Ticket #4127: several improvements to mc.ext and syntax highlighting.
add plenty of missing 'which' commands in ext.d.

the construct 'if <command>' to check the presence of a command would
work in some cases (though inefficiently), but it others it was just
bogus. in every case it was inconsistent and confusing.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-10-10 15:55:42 +03:00
Andrew Borodin
e1c892a49f Ticket #4107: bind ctrl-i to the ChangePanel action.
After ef5f1fa3eb ctrl-i stopped working
on some terminals including native Linux console.

To fix this, add default binging ctrl-i shortcut to ChangePanel action.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-08-15 11:45:46 +03:00
Andrew Borodin
8b4386df83 Ticket #4120: draw shadows for dialog boxes and menus.
Thanks Aleš Janda <ales.janda@kyblsoft.cz> for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-08-02 16:13:26 +03:00
Purdea Andrei
1f4b5ae396 Ticket #4098: syntax highlighting: support .ino files.
Add the .ino extension to the list of extensions recognized by the c++
syntax highlighter.

.ino is used by the Arduino IDE, and a number of other IDEs, and it's effectively
the same thing as a c++ source file, but with some added magic, such as auto-generated
function prototypes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-21 19:58:56 +03:00
Artem S. Tashkinov
9bb351508a Ticket #4045: clean up in video.sh handler.
RealPlayer is a proprietary application which can't be installed in most
distros and has long been abandoned.

gtv hasn't been developed since 2003.

xanim barely plays anything.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 20:45:28 +03:00
Vadim Kalinnikov
40fe047be0 Ticket #4086: improve archive support.
Support more binaries to view archive content:
  * lha: jlha, lhasa
  * arj: 7za
  * cab: 7za
  * zip; 7z
  * zipx: 7za
  * iso: 7za

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 20:31:45 +03:00
Andrew Borodin
9311136158 Ticket #4054: broken syntax highlighting for shell scripts.
Revert "Ticket #3981: sh.syntax: allow for indented 'function' highlighting."

This reverts commit 91d6d55baf.

The syntax highlighting of shell scripts in mcedit misbehaves around
matches of "function blabla()" inside literal quotes. It applies syntax
highlighting as if it was function definition in normal conditions (out
of literal quotes), breaking the colouring of whatever follows.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 20:13:37 +03:00
Andrey Brozhko
91e4d8150f Ticket #4088: mcedit: add Kotlin syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 20:06:04 +03:00
Purdea Andrei
f32614ae7f verilog syntax: clarify that also refers to systemverilog,
...and make sure it also takes .sv files as well.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:44:02 +03:00
Purdea Andrei
06f2c6093e verilog syntax: added some missing operators
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:42:10 +03:00
Purdea Andrei
281ba2a35e verilog syntax: reorganized and added missing compiler directives
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:42:02 +03:00
Purdea Andrei
81122ffcae verilog syntax: reorganized and added missing system tasks and system functions
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:41:50 +03:00
Purdea Andrei
32878bdd3d verilog syntax: added IEEE1800-2009 and 2012 missing keywords
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:41:19 +03:00
Purdea Andrei
6351c4bc49 verilog syntax: added IEEE1800-2005 missing keywords
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:41:12 +03:00
Purdea Andrei
0cdb39d76f verilog syntax: added IEEE1364-2005 missing keywords
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:40:56 +03:00
Purdea Andrei
b0927b0627 verilog syntax: added IEEE1364-2001 missing keywords
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:40:47 +03:00
Purdea Andrei
91fdf29635 verilog syntax: added missing ieee1364-1995 keywords
...and moved ieee1364-2001 keyword in separate section.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:40:25 +03:00
Purdea Andrei
2df64d7b9c Ticket #4087: verilog syntax: removing keyboards attribute, endattribute, strength
Keywords attribute, endattribute, strength are not a reserved keywords in any
verilog standard. I can find a few references to these saying that they
were reserved keywords in OVI LRM version 2.0 (a version of verilog
before it was standardized), but this LRM is not available. The OVI LRM
version 1.0 didn't include these keywords, and none of the IEEE standards
include these keywords. I also tried the syntax highlighter of two
commercial tools, and they don't show attribute/endattribute as keywords.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-06-06 19:38:46 +03:00
Andrew Borodin
5add59c8a0 Highlight *.cpio as archives.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-05-17 18:48:19 +03:00
Andrew Borodin
2532d62666 verilog.syntax: make preprocessor keywords sorted. 2020-05-17 18:48:18 +03:00
Andrew Borodin
946e8d4888 Ticket #212: implement keybindings for radiobuttons.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-05-17 18:48:18 +03:00
Andrew Borodin
e14d44c839 Ticket #3847: chattr command implementattion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-05-05 19:06:18 +03:00
alexbodn@gmail.com
61691ea3e8 Ticket #1987: mcedit: add Cobol syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-05-04 08:34:05 +03:00
Elijah Zarezky
ca7b13d658 Improvement of RPM spec syntax highlighting.
Add %dnl macro introduced in RPM-4.15.0.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-05-01 17:35:47 +03:00
Sergei Trofimovich
afb09f7cd7 Ticket #4070: misc/Makefile.am: install mc.lib only once.
Before the change mc.lib was installed twice due to being
in two _DATA variables:

dist_pkgdata_DATA = \
        mc.lib

pkgdata_DATA = \
        $(dist_pkgdata_DATA) \
        $(PKGDATA_OUT)

This causes occasional install failures when two parallel
`/usr/bin/install` calls race in installing the file:

$ make -j20 DESTDIR=/var/tmp/portage/app-misc/mc-4.8.24/image install
...
 /usr/lib/portage/python3.6/ebuild-helpers/xattr/install \
    -c -m 644 mc.lib '/var/tmp/portage/app-misc/mc-4.8.24/image/usr/share/mc'
 /usr/lib/portage/python3.6/ebuild-helpers/xattr/install \
    -c -m 644 mc.lib mc.charsets '/var/tmp/portage/app-misc/mc-4.8.24/image/usr/share/mc'
...
 /usr/bin/install: cannot create regular file
   '/var/tmp/portage/app-misc/mc-4.8.24/image/usr/share/mc/mc.lib': File exists

After the change mc.lib is present only in dist_pkgdata_DATA.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-03-07 09:58:55 +03:00
Andrew Borodin
f30b0d35d5 Skins: unify panel-related item names.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-29 19:10:17 +03:00
Andrew Borodin
dcd3a7e39e Skins: move items from [widget-common] section to [widget-panel] one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-29 19:10:17 +03:00
Vladislav Zavjalov
cc9b5faf08 Ticket #4062: mceditor: expand shebang regexp for tcl.syntax.
Add shebangs with wish É tclsh.

Original bugreport is https://bugzilla.altlinux.org/37545.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-15 18:24:32 +03:00
Marcel Pol
2720085877 Ticket #4061: add support for opus audio.
The following patch adds support for opus audio files.

The executable opusinfo is part of opus-tools package.
Xmms and play are able to play opus files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-11 21:12:44 +03:00
Grzegorz Szymaszek
aa2904eebc Ticket # 4060: escape backslashes in PHP single quote string.
In PHP strings delimited with single quotes, there are two characters
that can be escaped: \ and '. For example, the PHP string 'a\'b\\c\d'
could be printed as ‘a'b\c\d’.

Escaping quotes was already possible with the PHP syntax file. This
commit adds support for escaping backslashes. It fixes mcedit’s syntax
highlighting on PHP strings that end with \\ (like 'aaa\\').

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-02-08 19:45:59 +03:00
Mikhail Fursov
1639542801 julia256: a new dark skin with calm colors and good contrast.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-23 18:14:01 +03:00
Andrew Borodin
65bbf9f8e6 Ticket #4030: misc/ext.d/web.sh.in: view html: fallback to cat...
if none of browsers are installed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Andrew Borodin
c4264c58ae misc: install mc.charsets into $pkgdatadir again.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-15 12:53:20 +03:00
Grzegorz Szymaszek
abb7df9f26 Ticket #4041: mcedit: update Debian sources.list syntax highlighting.
Add support for many URI specifications (like tor+https) and options
(like arch).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-12-08 10:12:26 +03:00
Stanislav Brabec
96cf569e96 Ticket #4037: add new scriptlets to spec.syntax.
Add scriptlets %pretrans, %posttrans and %verifyscript to the RPM spec file syntax.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-11-30 18:19:04 +03:00
Vadim Illarionov
37fcb210f2 Ticket #4022: misc/syntax/Syntax.in: add .desktop file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-11-04 11:42:47 +03:00
Andrew Borodin
37f8927bfc misc/syntax/Syntax.in: join ini-base files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-11-04 11:36:55 +03:00
Grzegorz Szymaszek
36bcaef0cf Ticket #4018: add "https://" to Debian sources.list syntax.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-21 19:38:55 +03:00
Andrew Borodin
3c95e6d64c Ticket #4015: add new extensions for file highliht.
[temp]: part (partial files, e.g. used by many download managers)
[archive]: apk (android packages), deb (debian packages)
[media]: ts (MPEG-TS streams)

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-14 11:34:08 +03:00
Enrico Weigelt, metux IT consult
d2f86e698e Fix .gitignore
autogen.sh generates a bunch of files aren't .gitignore'd yet.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 20:13:27 +03:00
jetpilot
19cc61cf04 Ticket #4010: inprove YAML syntax highlighting.
Add inlined data block highlighting.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-31 19:34:39 +03:00
Werner Lemberg
077947008d Ticket #4009: mc.menu: handle symbolic links to compressed archives.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-25 18:57:21 +03:00
Marc Ihm
e79391a0f8 Ticket #4005: add yabasic syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-17 10:14:44 +03:00
Andrew Borodin
2ed7abc3fe mceditor: support file history.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 09:45:27 +03:00
Andrew Borodin
f0c9e50f80 mcviewer: support file history. 2019-08-10 09:45:27 +03:00
Andrew Borodin
a4e36d079d WListbox: add Edit, View and Enter keynindings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-10 09:45:27 +03:00
Ilia Maslakov
3e7b2c49dc Ticket #2733 (a simple list of recently edited files)
Based on patch by Filip Sefrna <fsefrna@gmail.com>
    added action 'EditorHistory' for call history dialog.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2019-08-10 09:45:27 +03:00
Andrew Borodin
76a5f70f5b Ticket #3992: improve support of Windows 1251 encoding on Solaris.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-07-13 08:58:27 +03:00
cheese
4135eb6460 Ticket #3991: update RPM spec syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-10 21:18:21 +03:00
Ilia Maslakov
f5f78ea658 Ticket #212: implement keybinding for menu.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-06-09 12:06:10 +03:00
Lars Wendler
ee08fa9f56 Ticket #3988: mcedit: syntax: add many missing ebuild syntax variables and commands.
- Group commands coming from eclasses
- Add common Makefile variables

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-05-18 17:26:20 +03:00
Andrew Borodin
7ddd4e9bb4 Ticket #3452: mcviewer: implement temporary change of search direction.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 20:47:51 +03:00
TerraTech
91d6d55baf Ticket #3981: sh.syntax: allow for indented 'function' highlighting.
This will allow for the following:

  if want_foo; then
      function foobar() {
          echo "foo"
      }
  else
      function foobar() {
          echo "bar"
      }
  fi
  foobar

Signed-off-by: TerraTech <1118433+TerraTech@users.noreply.github.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-04-27 19:17:54 +03:00
Vadim Illarionov
61e390dfc7 Use ini.syntax for systemd cofiguration files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-03-11 11:40:53 +03:00
Vadim Illarionov
359129b524 Ticket #3975: expand syntax highlighting rules.
Expand file name regexp for sh.syntax.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-03-11 11:37:41 +03:00
simwin
7c5d4d337f Ticket #3973: add featured-plus skin.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-03-08 17:05:20 +03:00
Sergii Pylypenko
deceefab74 mcedit: fixed syntax highlighting bug in .c and .cxx syntax scripts
To reproduce, open this .c file in mcedit (remove backslashes):

/* this preprocessor macro is not colorized,
   when there is whitespace before '#' and the next line is not empty */
\  #if not_colorized
int code;

/* this preprocessor macro is colorized properly, the next line is empty */
\  #if colorized

int code2;

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-02-09 10:40:43 +03:00
legends2k
2181cabe6b mc.ext: add Markdown binding.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-02-01 20:19:33 +03:00
Andrew Borodin
6f562116cc Ticket 3965: mc.ext: fix include/ sections order.
include/ sections should be placed at the end of bindings.
Thanks legends2k for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-02-01 20:19:27 +03:00
Andrew Borodin
3ac46bf2b1 Ticket #3966: file highlighting updates.
.go, .s: highlight as source;
.m4v: highlighting as media.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-02-01 19:55:40 +03:00
Andreas Mohr
01f1206186 Ticket #3962: support Geeqie image viewer.
Use Geeqie (a fork of GQview) as main image viewer, fallback to GQview.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-01-26 16:31:38 +03:00
Andrew Borodin
5a2730ae8c misc/syntax/Syntax.in: simplify regex for PO and CUDA syntaxes. 2018-11-24 14:40:42 +03:00
Andrew Borodin
5ca9943cf3 misc/syntax/Syntax.in: fix regex for Meson syntax.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Anatoly Kitaykin
1182dbdd93 misc/ext.d/doc.sh.in: fix program name.
Reported: https://bugzilla.altlinux.org/show_bug.cgi?id=35506.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-11-24 14:40:42 +03:00
Vitold S
49945f40c8 Ticket #3940: add Meson syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-10-15 14:33:20 +03:00
Andrew Borodin
5f04962685 mcext/doc: improve open of documents in MS Office formats.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-08-19 17:20:28 +03:00
Andrew Borodin
feab399109 Ticket #3929: mc.ext: improve recognition of MS Office formats.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-08-19 17:00:55 +03:00
Andrew Borodin
1d19729690 Ticket #3926: clarify hadling of MS Word and Excel documents view.
Don't show error message for each not-installed program when view
documents in MS Word and Excel formats.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-07-21 18:06:38 +03:00
Artem S. Tashkinov
0075f36b69 Ticket #3919: use MPV as a fallback for mplayer -identify
mplayer is not currently actively developed and some people have long
switched to MPV - use it as a fallback for "mplayer -identify" command.

Also, give the user a hint about mplayer/mpv in case none of them is
installed.

Signed-off-by: Yury V. Zaytsev <yury.zaytsev@moneymeets.com>
2018-06-12 21:16:27 +02:00
Terra
c9fb0c33e3 Ticket #3920: php.syntax - highlight keyword 'null'
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@moneymeets.com>
2018-06-12 21:04:53 +02:00
Andrey Shcheglov
f161d19038 mc.ext: allow Java class files to be viewed even if JAD isn't on PATH
Closes MidnightCommander/mc#134:

  * `file -b` prints class file version, which `javap` doesn't by default
  * `javap`'s stderr should be suppressed as it may print `_JAVA_OPTIONS`
     if this variable is set

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 16:47:38 +02:00
Dan Dascalescu
2eb7ef9e04 filehighlight: add JavaScript module support (closes MidnightCommander/mc#132)
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 16:21:01 +02:00
Maxim Akristiniy
907ac30b49 mc.ext: add Excel xlsx file format (closes MidnightCommander/mc#135)
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 16:14:09 +02:00
Sergey Naumov
729f6eef9c Ticket #3893: fix markdown.syntax that doesn't work well for complex files
* Asterisk and underscore contexts don't play well with lists or
  words containing underscores. And given that markdown files
  could contain not only ASCII text, it is better to be conservative
  in detecting contexts.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-05-09 18:12:42 +03:00
Adam Borowski
5eb9bd605e Ticket #3906: ZSTD support.
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-03-19 15:00:23 +03:00
Andrew Borodin
566992da32 Ticket #1620: change file highlighting defaults.
Now file highlighting by extension is case insensitive by
default.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-18 12:05:05 +03:00
Yury V. Zaytsev
a778825d0e Ticket #3890: syntax - add mjs extension to JavaScript pattern
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-12-23 20:09:17 +01:00
Andrew Borodin
4fcc19b581 Syntax.in: fix pattern for Ruby program. 2017-12-18 11:01:35 +03:00
Igor Shaula
3a5da75181 Ticket #3884: mceditor: syntax: add rust.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-12-07 13:58:07 +03:00
Andrew Borodin
e1ee3a2465 Syntax.in: simplify pattern for HiveQL.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-11-17 16:01:30 +03:00
Sergey Naumov
aff3834dc3 Ticket #3868: syntax: add Protocol Buffers and gRPC support.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-10-29 20:35:32 +03:00
Grzegorz Szymaszek
26ecb44e1d Ticket #3864: initial support of Markdown syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-10-29 20:32:46 +03:00
Izzy
1046f489f1 syntax: add missing SQL keywords (closes MidnightCommander/mc#129)
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@moneymeets.com>
2017-07-30 21:20:00 +02:00