Recommended update for highlight
Announcement ID: | SUSE-RU-2021:0518-1 |
---|---|
Rating: | moderate |
References: | |
Affected Products: |
|
An update that has one fix can now be installed.
Description:
This update for highlight fixes the following issues:
Update from version 3.42 to 3.59:
- HTML output: Added
white-space: pre-wrap
to pre tag CSS. - Updated mark_lines.lua plug-in accept a line range as input parameter and output xterm256 terminal sequences.
- Improved Ruby code folding of the outhtml_codefold plug-in.
- Updated astyle lib to rev 672.
- Added support for reStructured Text.
- Added support for Rego (openpolicyagent.org).
- Added
outhtml_copy_clipboard.lua
plugin. - CLI: Adapted default xterm256/truecolor theme to terminal background colour.
- CLI: Adapted ANSI line numbers to terminal background colour.
- CLI: Fixed segfault if the user home directory cannot be determined.
- GUI: Initial font set to Monospace.
- GUI: Replaced highlight.xpm by highlight.png icon.
- Add hicolor-icon-themes as build requirement: Required since move of highlight-gui icon.
- Improved
--force
fallback argument handling. - Added C++ attribute syntax support.
- Added Lua fuction
StoreValue
to set and retrieve information across Lua states. - Added
extras/eclipse-themes/eclipse_color_themes.py
script to retrieve themes from eclipsecolorthemes.org. - Added support for Web Assembly Text.
- Updated mark_lines.lua to output 16m terminal sequences
- Fixed issues in bash.lang.
- Fixed Bash heredoc highlighting in bash_functions.lua
- CLI:
highlight --version -q
only prints the version number. - GUI: Added theme contrast indicator.
- Added support for Haml.
- Added support for Wren.
- Added Lua function
OverrideParam
. - Fixed regression in xterm256 or truecolor output
- Fixed
--list-scripts
with read-only language definitions - Improved several language definitions.
- Added support for Sequence Alignment Maps (SAM files).
- Added empty-file mode to --no-trailing-nl
- Fixed issue with --syntax-by-name waiting for stdin
- Fixed issue with --syntax reading matching files in the current working directory
- Fixed string parsing in lisp.lang
- Fixed output of UTF-8 text in xterm256 or truecolor output
- Fixed regex in js.lang.
- Fixed calculation of testcase markers with UTF-8 input.
- Allowed number literals with underscores in Java, Scala, D, Julia, C#, Perl and Ada definitions.
- Added Nord theme.
- Improved handling of empty files in xterm256 and truecolor output
- Added EncodingHint attributes to filetypes.conf and language definitions
- CLI: Allowed file paths as --theme and --syntax argument
- GUI: Removed deprecated QTime API call.
- Fixed default colour output in BBCode
- Fixed corner case in sh.lang.
- Fixed syntax tests with UTF-8 input
- Added support for Bash in outhtml_codefold.lua plug-in.
- Added ballerina.lang.
- Added block strings to java.lang.
- Added author hints in themes and language definitions.
- Added C++20 reserved words in c.lang.
- Added editorconfig file and validated all files accordingly.
- CLI: Fixed --list-scripts with -d or HIGHLIGHT_DATADIR env variable
- GUI: Removed AsciiDoc instruction lines from the README popup window.
- Use lang_package macro for highlight-gui-lang declaration.
- Fixed out-of-range exception with repeated AddKeyword calls.
- Added KeywordFormatHints, Priority and Constraints elements to syntax definitions.
- Added Lua function AddPersistentState
- Renamed md.lang to markdown.lang.
- Added Fish syntax definition.
- Makefile: added _FILE_OFFSET_BITS=64 flag.
- CLI: added optional fallback syntax to --force
- CLI: added option --max-size
- GUI: added multibyte path trace window.
- GUI: fixed superfluous creation of the same stylesheet file.
- Fix build instability (bsc#1142155).
- Added negation
~
to test state indicators - Added support for Hugo.
- Added 5 duotone themes.
- CLI: fixed segfault with
--force
- GUI: limited font selection to monospace fonts
- SVG output: Added
white-space: pre
in styles. - HTML output: Replaced
'
by'
- HTML output: Fixed index file format (missing close tags).
- CLI: Moved syntax recognition functions to DataDir class.
- CLI: Added regular expressions and default false values to --verbose output.
- CLI: Fixed
--list-cat
without--list-scripts
- CLI: Added optional argument to
--base16
- CLI: Added default base16 themes
- CLI: Added
--isolate
option - Added lineno, column parameters to OnStateChange hook.
- Added support for Crystal.
- Added support for Slim.
- Fixed several typos in documentaion and manpages.
- CLI: Added
--syntax-by-name
option. - CLI: Removed deprecated
--list-langs
and--list-themes
options. - GUI: Added terminal sequence output options
- Added support for Meson, Solidity, TOML and Terraform.
- Improved Perl and Yaml highlighting.
- Added Categories field to all config files.
- CLI: added category info in --list-scripts output.
- CLI: added --list-cat option
- CLI: added optional topic parameter to --help.
- GUI: added theme category selection.
- GUI: display categories of selected syntax or theme.
- Fixed --list-scripts abortion with Fedora default compile options
- Fixed a problem with syntax test indicators reporting wrong states after comments.
- Improved Verilog syntax.
- Improved quoted string highlighting for Perl and Ruby.
- Detection of pkg-config's Lua version in src/makefile.
- Fixed xterm256 and truecolor whitespace output #2
- Fixed LaTeX, TeX, SVG and ODT whitespace output (regression of version 3.45).
- Added darkplus theme.
- Converted ChangeLog to AsciiDoc.
- Allowed state test indicators to match both whitespace (ws) and the enclosing state (others).
- CLI: Default output changed to xterm256 or truecolor if run in a terminal with color support and only a single file is outputted.
- GUI: Added checkbox in the clipboard tab to output selected lines only.
- Fixed xterm256 and truecolor whitespace output
- Converted manuals to AsciiDoc.
- Added DocumentHeader and DocumentFooter plug-in hooks.
- Added RemoveKeyword Lua function for syntax definitions.
- Added syntax test indicators (see README_TESTCASES).
- Added support for ISO and R10 variants of Modula2.
- Fixed R identifiers.
- Fixed ALAN IF identifiers.
- Fixed issue with Bash string interpolation.
- Added Swift keywords and types.
- Added Gradle extension mapping.
- Fixed Ruby string interpolation
- Added support for ALAN IF.
- Added 107 Base16 themes.
- Updated Rust and Java reserved words lists.
- Revised documentation.
- Moved extras/css-themes into extras/themes-resources.
- Added extras/themes-resources/base16.
- GUI: added Base16 theme selection checkbox.
- CLI: added --base16 option to enable the new themes.
- CLI: accept - as argument to read from stdin
- Make the build of gui subpackage conditional (built by default).
- Updated astyle code to release 3.1 (Rev. 655).
- Added webkit reformatting style.
- Improved several language definitions.
- Fixed Matlab string recognition
- Fixed Autohotkey escape sequence recognition.
- Added excel.lang
- Improved Qt pro file
- CLI: Added --reformat-option
- CLI: Added --line-range
- GUI: Added Bulgarian translation.
Patch Instructions:
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
-
SUSE Linux Enterprise Workstation Extension 15 SP2
zypper in -t patch SUSE-SLE-Product-WE-15-SP2-2021-518=1
Package List:
-
SUSE Linux Enterprise Workstation Extension 15 SP2 (x86_64)
- highlight-debugsource-3.59-3.4.1
- highlight-3.59-3.4.1
- highlight-debuginfo-3.59-3.4.1