./textproc/syntax-highlighting, Syntax highlighting engine for structured text and code

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.114.0, Package name: syntax-highlighting-5.114.0, Maintainer: markd

This is a stand-alone implementation of the Kate syntax highlighting engine.
It's meant as a building block for text editors as well as for simple
highlighted text rendering (e.g. as HTML), supporting both integration with a
custom editor as well as a ready-to-use QSyntaxHighlighter sub-class.


Required to run:
[x11/qt5-qtbase]

Required to build:
[pkgtools/x11-links] [x11/xcb-proto] [x11/qt5-qttools] [devel/extra-cmake-modules] [x11/xorgproto]

Master sites: (Expand)

Filesize: 3351.891 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-06 11:46:35 by Mark Davies | Files touched by this commit (173) | Package updated
Log message:
*: update KDE Frameworks to 5.114.0

6 months of development
   2024-01-30 15:22:43 by Ryo ONODERA | Files touched by this commit (672)
Log message:
*: Recursive revbump from audio/pulseaudio-17.0
   2024-01-11 12:25:59 by Jonathan Perkin | Files touched by this commit (3)
Log message:
*: Remove BUILDLINK_DEPMETHOD.qt5-qttools=build.

This appears to just be cargo-culted around various packages.  Fixes indirect
library dependencies.
   2023-11-12 14:24:43 by Thomas Klausner | Files touched by this commit (2570)
Log message:
*: revebump for new brotli option for freetype2

Addresses PR 57693
   2023-11-08 14:21:43 by Thomas Klausner | Files touched by this commit (2377)
Log message:
*: recursive bump for icu 74.1
   2023-10-25 00:11:51 by Thomas Klausner | Files touched by this commit (2298)
Log message:
*: bump for openssl 3
   2023-10-15 02:58:05 by David H. Gutteridge | Files touched by this commit (1)
Log message:
syntax-highlighting: expects 64-bit atomic ops

We hit the usual issue, e.g., with i386:
definition.cpp:(.text+0x8c75): undefined reference to `__atomic_fetch_add_8'
   2023-07-29 04:33:15 by Mark Davies | Files touched by this commit (2) | Package updated
Log message:
syntax-highlighting: update to 5.108.0

5.99
  Bash,Zsh: add Dollar Prefix style for simple variable
  Zsh: disable spellcheck
  Zsh: fix Parameter Expansion style for )) in $((...)) and add missing
  parameter expansion flags
  Bash: fix Parameter Expansion style for )) in $((...))
  prefer Oklab to CIELAB for perceptual color difference in ansi256 mode
  PostgreSQL: Remove # as line comment
  Improve ASN.1 highlighting
  Ruby: add keywords used for refinements to the mixin methods list
  Python: add := operator, built-in functions and special methods
  Crystal Syntax Highlighting Definition: // operator, macros, keywords
  debianchangelog.xml: Set default filename
  bash.xml: The other (more correct) form of multiline comments
5.100
  Jira: improve highlighting
  Jira: fix Bold and Stroked Out highlight at start of line
  CMake: fix nested parentheses highlinthing
  systemd_unit: update to systemd v252
  Common List: optimize (~40% faster)
  Common Lisp: highlight numbers preceded by -
  Common Lisp: highlint 'symbol and #'symbol
  Common Lisp: add operators
  Common Lisp: add .el extension (emacs script)
  powershell.xml: Recognize variable substitutions in double quoted strings
  powershell.xml: Recognize single quoted strings
  debchangelog: add Forky
  debchangelog: add Lunar Lobster
  CMake: return() as Control Flow
  CMake: add Control Flow style for if, else, while, etc
  Fix name (for consistency with CartoCSS MML)
  Better highlighting for some GIS-related file formats
  VHDL: support of VHDL-2008
  Nix: fix decimal numbers format and some performance changes
  Alerts: add NO-BREAK SPACE (nbsp) as keyword deliminator
  Git Rebase: add missing commands
  Git Ignore: more highlight
  cmake.xml: New features for CMake 3.25
  Bash/Zsh: fix Parameter Expansion style for } in ${...}
  Zsh: add folding for group command
  Bash/Zsh: fix group command with coproc statement
  use a constant container with range-based for loop to avoid copies
  Ansi/HtmlHighlighter: prefer QTextStream::readLineInto() to
  QTextStream::readLine() to avoid allocation
  fix AnsiHighlighter::highlightData() with valid definition, but without
  any context
  increment version number after keywords change
  cpp.xml: add missing QStringTokenizer class for highlighting
  Add folding for maps, structs and lists in elixir
  Add opendocument "flat XML" file types
  Add do: to tests
  Undo unintended line formating
  Remove any reference to fn being a definition
  Adapt tests to new output
  Add folding to elixir code
5.101
  TOML: add number prefix, inf, nan and more datetime format ; fix multi-strings \ 
closing
  Python: add pyi extension (python interface)
  Javascript: remove previousDibling keyword (probably a typo for previousSibling)
  Add GPS Exchange Format (GPX) type
  CSS family: add properties, functions and fr unit ; remove FPWD and old proposed
  properties
  install a index.katesyntax when QRC_SYNTAX is OFF
  Make the Rust language mode use the cstyle indenter
  C23: missing wN length modifiers with d and i in printf_like
  CMake: remove duplicate <list> and <context>
  CMake: optimize by adding DetectIdentifier and DetectSpaces (~20% faster)
  CMake: replace some <WordDetect> with <keyword>
  Add syntax definition for CSV and TSV
  JSON: small optimization on number regex
  Go: improved support for literal numbers, add unicode escape characters and new
  predefined type
  Dynamic RegExpr has its own type (~2.2% faster)
  XML: replace a dynamic StringDetect with DetectIdentifier contextually equivalent
  XML: character < in an ENTITY is highlighted as an error
5.102
  Resolve conflict on .ex file extension
  Markdown: remove dynamic rules that are not needed
  Julia: merge hundreds of rules into a single regex ; fix adjoint operator ;
  includes ##Comments
  avoid temporary constructions of Definition in AbstractHighlighter::highlightLine
  GCode: numbers are optional with parameters
  cmake: Use ECMQmlModule for qtquick plugin
  update version and references
  Add MapCSS highlighting
  Add testcase to markdown file for Nim code blocks
  Markdown: Use nim highlighting in nim blocks
  Add testcase for "\\"
  Nim: Small syntax fixes
  Add new keywords: `get` and `set`
5.103
  Log: fix slow search regex ; add Critical section ; some improvement in Log File
  Cobol: add extensions ; add exec sql block ; picture clause more permissive
  Cobol: replace tab with 2 spaces
  Add Zig language
  Add Cabal syntax
  Add Log File syntax
  avoid copies of Theme and QString in functions that manipulate themes
  FormatPrivate now contains a definition name rather than a reference to a \ 
definition
  add noexcept
  Theme::m_data is now always initialized with a valid pointer
  optimize ThemeData::textStyleOverride
  Replace DefinitionRef in StateData with a definition id
  Add COBOL syntax
  Indexer: suggest more minimal=1 or other rule for RegExpr with lookhaed=1 and .*
  Indexer: check xml validity
  feat: Add new syntax for `Earthfile`
5.105
  Highlight the QML "required" keyword, added in Qt 5.15
5.106
  Backport theme changes to kf5
  Backport master hl file updates
  Add mimetype for markdown
5.108
  ensure all .json files are valid
  Highlight QML pragma keyword