Changelog History
Page 3
-
v0.9 Changes
Use a pure Haskell regex implementation (in unexported module Text.Regex.KDE) instead of pcre. The implementation is not as efficient as pcre, but it seems good enough for this application, and it is desirable to avoid depending on a C library. (Available Haskell libraries weren't up to the task, because they don't do back-references, captures, lookahead/behind.) Some benchmarks (old/new): haskell (4.6/7.9) java (13.4/23.3) c (2.8/3.7) rhtml (4.7/6.1) lua (10.6/13.2) javascript (4.2/6.6). Though this is a significant slowdown, the tradeoff seems worth it to have a pure Haskell implementation.
Removed old
system-pcre
flag.More efficient treatment of dynamic regexes. We put something in the Regex itself to represent the
%1
, and modify it later. This allows us to cache dynamic regexes in a way we couldn't before.Add support for TOML (#105, Shiming Wang), GraphQL, and Nim syntax (#102, Daniel Pozo Escalona).
Update xml definitions for actionscript, bash, boo, c, cmake, elm, erlang, glsl, isocpp, java, lua, m4, mediawiki, perl, powershell, scala, tcsh, xul, zsh.
Fix fallthrough behavior (don't always consume a token).
Fix word boundary detection.
Remove RegexException. (API change)
Skylighting.Regex now exports
isWordChar
andtestRegex
, as well as the constructors underlying the newRegex
type.Remove some obsolete xml definition patches.
Fix escaped % in dynamic regex.
-
v0.8.5 Changes
June 19, 2020Respect dynamic flag on StringDetect elements (#99, Albert Krewinkel).
Increase test timeout to avoid failures with qemu-emulated environments, such as qemu and riscv64 in Ubuntu builders (William Grant).
Fix attribute for opening double quote in sql-postgresql.xml (Benjamin Wuethrich).
Update syntax descriptions for javascript, bash, coffee, javascript-react, javascript, latex, sql-postgresql, typescript.
-
v0.8.4 Changes
May 09, 2020- HTML output: use aria-hidden="true" on empty a elements unless numberLines is specified (in which case the element is still empty but will have content added by CSS). This is to avoid excess noise when the code blocks are read by screen readers. See jgm/pandoc#6352.
-
v0.8.3 Changes
November 26, 2019Update XML syntax definitions for c, cmake, coffee, cpp, css, diff, djangotemplate, elixir, elm, glsl, haskell, html, isocpp, javascript-react, javascript, json, jsp, julia, latex, lua, markdown, matlab, mediawiki, modelines, mustache, perl, php, powershell, qml, rest, rust, typescript, vhdl.
Fix highlighting errors with non-ASCII characters in JSON (#90). This error was due to an optimization that made some incorrect assumptions.
-
v0.8.3.4 Changes
April 01, 2020Update syntax descriptions for: cmake agda c coffee doxygenlua html isocpp latex lua makefile markdown metafont mustache nasm python rust sql-postgresql typescript vhdl xml yacc yaml.
Fix invalid CSS: in some cases, the library produced
code span.
with no class for the NormalTok style (Michał Miszczyszyn). Now it produces a rule forcode span
.
-
v0.8.3.3 Changes
- Agda keywords updated to 2.6.0 (Andreas Abel).
-
v0.8.3.2 Changes
January 21, 2020- This fixes a packaging error in 0.8.3.1, which didn't include the results of the bootsrap step and hence didn't update the syntax modules.
-
v0.8.3.1 Changes
January 21, 2020Escape
<
and>
in latex to avoid ligatures (#91).Fix and extend Idris keywords (Denis Buzdalov).
Update XML syntax definitions for javascript-react, qml, typescript, javascript, cmake, cofee, latex, perl, python, rest.
Fixed bug with context shifts using
##
syntax for foreign context. Previously we only handled these in IncludeRules, but starting with the current batches of xml files they can occur elsewhere too.
-
v0.8.2 Changes
July 14, 2019- Change matchRegex so it gives "no match" on a regex error instead of raising an exception. This seems to be how Kate works. Fixes an error on long integer literals (#81).
-
v0.8.2.3 Changes
October 03, 2019Tests: ensure we read test files as UTF-8.
Fix compiler warnings around Monoid imports.
Add MonadFail constraint (allowing compilation with ghc 8.8.x).
Add cabal.project and move CI from Travis to GitHub Actions.