From 5833fda4aa91ff65452741a638bf672037916d2fb9c02dc5fad55b23d9905d25 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 5 Dec 2023 09:08:39 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-skylighting revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-skylighting?expand=0&rev=98 --- ghc-skylighting.changes | 31 +++++++++++++++++++++++++++++++ ghc-skylighting.spec | 2 +- skylighting-0.14.1.tar.gz | 3 +++ skylighting-0.14.tar.gz | 3 --- 4 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 skylighting-0.14.1.tar.gz delete mode 100644 skylighting-0.14.tar.gz diff --git a/ghc-skylighting.changes b/ghc-skylighting.changes index 835d1be..7834c5a 100644 --- a/ghc-skylighting.changes +++ b/ghc-skylighting.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Mon Dec 4 16:40:31 UTC 2023 - Peter Simons + +- Update skylighting to version 0.14.1. + ## 0.14.1 + + * Update syntax definitions for julia, actionscript, bash, cpp, css, + djangotemplate, dosbat, groovy, html, ini, isocpp, java, javadoc, json, + jsp, latex, makefile, mustache, php, powershell, rest, rhtml, + sass, scala, scss, toml, xml, raku (with patch). + + * Many improvements to regular expression compilation: + + - Properly recognize unicode characters. + - Handle `\Q..\E` literal sequences. + - Handle group modifiers like `(?i:etc.)`. (The only one + we actually pay attention to is `i`.) + - Allow unicode category escapes outside of character classes. + - Support one-letter unicode category escapes like `\p{L}`. + These are found in some of the newer syntax definitions. + + * Improve regex matching: + + - Fix `wordDetect` to work around an issue in the new html.xml. + - Refactor and fix `atWordBoundary`: remove redundant checks, and + fix behavior (`/x\b/` was behaving like `/\bx\b/`) (Côme ALLART). + - Fix bug in `lastCharOffset` (Côme ALLART). + + * Style: Allow colors to be specified in ARGB format (#178). + We currently just ignore the A part, but at least we don't fail. + ------------------------------------------------------------------- Sun Aug 27 00:41:04 UTC 2023 - Peter Simons diff --git a/ghc-skylighting.spec b/ghc-skylighting.spec index c75ffd3..a7f063f 100644 --- a/ghc-skylighting.spec +++ b/ghc-skylighting.spec @@ -19,7 +19,7 @@ %global pkg_name skylighting %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.14 +Version: 0.14.1 Release: 0 Summary: Syntax highlighting library License: GPL-2.0-or-later diff --git a/skylighting-0.14.1.tar.gz b/skylighting-0.14.1.tar.gz new file mode 100644 index 0000000..3763ed0 --- /dev/null +++ b/skylighting-0.14.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a0ad5d7d7ff517a5c5b696de4482ae383b24cc00580447514a1c27a3834d1bb +size 1407885 diff --git a/skylighting-0.14.tar.gz b/skylighting-0.14.tar.gz deleted file mode 100644 index e6a48c3..0000000 --- a/skylighting-0.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffa6cd93a645d259cf9b04e5751ffcb7c045a8452ef3c4e2512365126fae7ca7 -size 1393626