./textproc/libhighlight, Converts source code to formatted text with syntax highlighting (shared library)

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


Branch: CURRENT, Version: 3.58, Package name: libhighlight-3.58, Maintainer: pkgsrc-users

Highlight converts source code to formatted text with syntax highlighting.
Supports 100+ programming languages and coloured output in HTML, XHTML, RTF,
TeX, LaTeX, XSL-FO and XML formats.


Required to run:
[lang/lua53]

Required to build:
[devel/boost-headers] [pkgtools/cwrappers]

Master sites:

SHA1: c7c051593b415725fbff5de42028d41b04b5ea6a
RMD160: 679448f782a93cd44f8d84bea81093d20a166103
Filesize: 1383.007 KB

Version history: (Expand)


CVS history: (Expand)


   2020-09-17 23:06:20 by Amitai Schleier | Files touched by this commit (4) | Package updated
Log message:
Update to 3.58. From the changelog:

- improved `--force` fallback argument handling
  (https://gitlab.com/saalen/highlight/-/issues/163)
- 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
  (https://gitlab.com/saalen/highlight/-/issues/164)
- fixed issues in bash.lang
  (https://gitlab.com/saalen/highlight/-/issues/161)
- fixed Bash heredoc highlighting in bash_functions.lua
  (https://gitlab.com/saalen/highlight/-/issues/156)
- CLI: `highlight --version -q` only prints the version number
- GUI: added theme contrast indicator
   2020-05-17 17:09:41 by Nia Alarie | Files touched by this commit (3) | Package updated
Log message:
highlight: Update to 3.57

12.05.2020

  - added support for Haml (https://gitlab.com/saalen/highlight/-/issues/140)
  - added support for Wren
  - added Lua function `OverrideParam`
  - fixed regression in xterm256 or truecolor output \ 
(https://gitlab.com/saalen/highlight/-/issues/152)
  - fixed `--list-scripts` with read-only language definitions \ 
(https://gitlab.com/saalen/highlight/-/issues/154)
  - improved several language definitions
  - Windows GUI: added dark mode
   2020-05-12 11:56:44 by Amitai Schleier | Files touched by this commit (5) | Package updated
Log message:
Update to 3.56. From the changelog:

- added support for Sequence Alignment Maps (SAM files)
- added empty-file mode to `--no-trailing-nl`
  (https://gitlab.com/saalen/highlight/issues/147)
- fixed issue with `--syntax-by-name` waiting for stdin
  (https://gitlab.com/saalen/highlight/-/issues/151)
- fixed issue with `--syntax` reading matching files in the current
  working directory
  (https://gitlab.com/saalen/highlight/-/issues/151)
- fixed string parsing in lisp.lang
  (https://gitlab.com/saalen/highlight/-/issues/150)
- fixed output of UTF-8 text in xterm256 or truecolor output
  (https://gitlab.com/saalen/highlight/-/issues/152)
- fixed regex in js.lang (thanks to Jens Schleusener)
- 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
  (https://gitlab.com/saalen/highlight/-/m … quests/125)
   2020-02-12 04:10:48 by Amitai Schleier | Files touched by this commit (2) | Package updated
Log message:
Update to 3.55. From the changelog:

- improved handling of empty files in xterm256 and truecolor output
  (https://gitlab.com/saalen/highlight/issues/147)
- added EncodingHint attributes to filetypes.conf and language definitions
  (https://gitlab.com/saalen/highlight/issues/141)
- CLI: allowed file paths as --theme and --syntax arguments
  (https://gitlab.com/saalen/highlight/issues/145)
- GUI: removed deprecated QTime API call
   2019-12-18 02:34:34 by Amitai Schleier | Files touched by this commit (6) | Package updated
Log message:
Update to 3.54 (during the freeze, for the bugfixes). From the changelog:

- fixed default colour output in BBCode
  (https://gitlab.com/saalen/highlight/issues/134)
- fixed corner case in sh.lang
- fixed syntax tests with UTF-8 input
  (https://gitlab.com/saalen/highlight/issues/123)
- 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 (thanks to
  Tristano Ajmone)
- CLI: fixed `--list-scripts` with `-d` or HIGHLIGHT_DATADIR env variable
  (https://gitlab.com/saalen/highlight/issues/139)
- GUI W32: replaced multibyte path trace window by startup hint if
  NtfsDisable8dot3NameCreation is set
- GUI: removed AsciiDoc instruction lines from the README popup window
   2019-11-04 22:43:49 by Roland Illig | Files touched by this commit (155)
Log message:
textproc: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   2019-08-28 16:38:43 by Amitai Schleier | Files touched by this commit (2)
Log message:
Extend patch to a new function, re-fixing the Illumos build.
   2019-08-13 03:48:50 by Amitai Schleier | Files touched by this commit (5) | Package updated
Log message:
Update to 3.53. From the changelog:

- fixed out-of-range exception with repeated `AddKeyword` calls
- added `KeywordFormatHints`, `Priority` and `Constraints` elements to
  syntax definitions
- added Lua function `AddPersistentState`
  (https://gitlab.com/saalen/highlight/issues/112)
- renamed md.lang to markdown.lang
- added Fish syntax definition (thanks to James Lee)
- makefile: added _FILE_OFFSET_BITS=64 flag
- CLI: added optional fallback syntax to `--force`
  (https://gitlab.com/saalen/highlight/issues/126)
- CLI: added option `--max-size`
  (https://gitlab.com/saalen/highlight/issues/127)
- GUI: added multibyte path trace window
- GUI: fixed superflouos creation of the same stylesheet file