Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-skylighting-core for
openSUSE:Factory checked in at 2021-10-15 23:03:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-skylighting-core (Old)
and /work/SRC/openSUSE:Factory/.ghc-skylighting-core.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-skylighting-core"
Fri Oct 15 23:03:27 2021 rev:25 rq:921710 version:0.12
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-skylighting-core/ghc-skylighting-core.changes
2021-08-25 20:58:13.049160461 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-skylighting-core.new.1890/ghc-skylighting-core.changes
2021-10-15 23:03:41.590085895 +0200
@@ -1,0 +2,41 @@
+Mon Sep 20 07:11:38 UTC 2021 - [email protected]
+
+- Update skylighting-core to version 0.12.
+ ## 0.12
+
+ * Properly handle include elements in keyword lists (#124).
+ A number of syntaxes (e.g. typescript, scala) include keyword
+ lists from other syntaxe,s and previously we weren't able to
+ handle this.
+
+ There are several pieces to this change. We need to store lists
+ where other Syntaxes can look them up, so we add an `sLists`
+ field to `Syntax` [API change], and modify the parser to fill this.
+ We change lists so that their values are not just a `Text`, but a
+ `ListItem` that can either be a textual value or an include directive,
+ specifying a `ListName` (syntax name and list name).
+
+ The `Keyword` constructor for `Matcher` now takes, instead of a
+ `WordSet`, Either a `ListName` or a `WordSet` (API change).
+
+ Skylighting.Parser now exports `resolveKeywords` (API change),
+ which modifies all `Keyword` matchers in a syntax so that Left
+ values with a `ListName` become Right values with resolved `WordSet`s.
+ The tokenizer applies this function automatically to the SyntaxMap
+ given in Config. But it is more efficient to do this conversion
+ just once, rather than every time `tokenize` is called. So we have
+ `loadSyntaxesFromDir` call it on the `SyntaxMap`. With this
+ optimization, there is not an appreciable performance cost to the
+ changes described above.
+
+ * Skylighting.Regex: Fix bug with regexes like `a{10}b` (#133).
+ This requires exactly 10 a's; previously we interpreted it as
+ "at least 10."
+
+ * skylighting-extract: take a directory as argument rather than files.
+ This allows us to use `loadSyntaxesFromDir`.
+
+ * Update xml syntax definitions from upstream:
+ julia, cmake, cpp, isocpp, markdown, python, toml.
+
+-------------------------------------------------------------------
Old:
----
skylighting-core-0.11.tar.gz
New:
----
skylighting-core-0.12.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-skylighting-core.spec ++++++
--- /var/tmp/diff_new_pack.zMelgY/_old 2021-10-15 23:03:42.090086252 +0200
+++ /var/tmp/diff_new_pack.zMelgY/_new 2021-10-15 23:03:42.094086255 +0200
@@ -19,7 +19,7 @@
%global pkg_name skylighting-core
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.11
+Version: 0.12
Release: 0
Summary: Syntax highlighting library
License: BSD-3-Clause
++++++ skylighting-core-0.11.tar.gz -> skylighting-core-0.12.tar.gz ++++++
++++ 2154 lines of diff (skipped)