osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-skylighting-core revision:13, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-skylighting-core?expand=0&rev=43
This commit is contained in:
Peter Simons 2020-10-20 09:15:46 +00:00 committed by Git OBS Bridge
parent 8757fb95c4
commit c0c1562db6
4 changed files with 80 additions and 5 deletions

View File

@ -1,3 +1,79 @@
-------------------------------------------------------------------
Tue Oct 13 07:05:05 UTC 2020 - psimons@suse.com
- Update skylighting-core to version 0.10.0.2.
## 0.10.0.2
* Improve DetectIdentifier to ensure that identifiers can't
include non-ASCII characters.
## 0.10.0.1
* Fix identifier detection in non-ASCII context (#110).
## 0.10
* Add instructions for submitting patches upstream to KDE (#106).
* Synced syntax definitions from KDE repo. Note that fortran
has split into two: `fortran-fixed` and `fortran-free`.
* Add test to ensure that all regexes in rules compile.
* Regex: allow unescaped `}`.
* Regex: allow empty regexes and groups.
* Regex: support lazy and possessive quantifiers (#109).
* Regex: support recursive regexes `(?R)` (#108).
* Hide invisible line numbers from keyboard focus (#107, d10n).
This fixes tabbing through elements on a page.
* Remove some obsolete patches for xml definitions.
## 0.9
* 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` and `testRegex`,
as well as the constructors underlying the new `Regex` type.
* Remove some obsolete xml definition patches.
* Fix escaped % in dynamic regex.
-------------------------------------------------------------------
Wed Aug 19 06:55:08 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>

View File

@ -19,7 +19,7 @@
%global pkg_name skylighting-core
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.8.5
Version: 0.10.0.2
Release: 0
Summary: Syntax highlighting library
License: BSD-3-Clause
@ -40,7 +40,6 @@ BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-hxt-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-regex-pcre-builtin-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-safe-devel
BuildRequires: ghc-text-devel

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c177d70723d9d6e3ebc21da2a45c35546f14a007daa6edfff136f8a7edded1d
size 704872

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7a54765d3c735f6abd31bdb4ae80677cbcf16a0f9cca90846e11286dec1ecab
size 675746