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
Izzy
f397f9b0de
syntax: add missing PHP keywords ( closes MidnightCommander/mc#129 )
...
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@moneymeets.com>
2017-07-30 21:18:17 +02:00
Yuriy M. Kaminskiy
e081d55616
Ticket #3840 : (de)compression from menu broken due to bad quoting
...
If the file is not compressed and DECOMP is empty, it should be replaced
by *nothing*, not an empty argument. Broken in the following commit:
becc0d01d0
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-07-13 20:02:38 +02:00
Artem S. Tashkinov
75674446e4
Ticket #3834 : add ac3, aac, dts and m4a media extensions
...
Closes MidnightCommander/mc#128 :
* https://en.wikipedia.org/wiki/Advanced_Audio_Coding
* https://en.wikipedia.org/wiki/M4A (used extensively by Apple)
* https://en.wikipedia.org/wiki/Dolby_AC3
* https://en.wikipedia.org/wiki/DTS_(sound_system)
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-07-09 10:16:17 +02:00
Andrew Borodin
f3187c8930
Syntax.in: simplify some patterns.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-06-21 10:31:32 +03:00
Andrew Borodin
c8b99bb083
Ticket #3829 : Syntax.in: simplify case insensitive patterns.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-06-21 10:31:32 +03:00
Mike L
f603cd3e16
Ticket #3828 : syntax: Apache Hive query language
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2017-06-16 13:46:52 +02:00
Andrew Borodin
ff1510de1f
File panel: unification of terminology.
...
Use 'list(ing) format' instead of 'list(ing) type' and 'list(ing) mode'.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2017-04-24 16:16:27 +03:00