From df6a6f4a6d60ba1a36a408e5a9784e11665b2c360504ebf5880fef90ba25e70b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 4 Sep 2020 15:04:15 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-skylighting-core revision:17, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-skylighting-core?expand=0&rev=41 --- _constraints | 14 ------- ghc-skylighting-core.changes | 75 ----------------------------------- ghc-skylighting-core.spec | 6 +-- skylighting-core-0.8.3.tar.gz | 3 ++ skylighting-core-0.8.5.tar.gz | 3 -- 5 files changed, 6 insertions(+), 95 deletions(-) delete mode 100644 _constraints create mode 100644 skylighting-core-0.8.3.tar.gz delete mode 100644 skylighting-core-0.8.5.tar.gz diff --git a/_constraints b/_constraints deleted file mode 100644 index b5b0790..0000000 --- a/_constraints +++ /dev/null @@ -1,14 +0,0 @@ - - - - ppc64 - ppc64le - - - - 6 - - - - - diff --git a/ghc-skylighting-core.changes b/ghc-skylighting-core.changes index dd7681c..3d09a41 100644 --- a/ghc-skylighting-core.changes +++ b/ghc-skylighting-core.changes @@ -1,78 +1,3 @@ -------------------------------------------------------------------- -Wed Aug 19 06:55:08 UTC 2020 - Michel Normand - -- Add _constraints with 6GB min disk space for ppc64/ppc64le - -------------------------------------------------------------------- -Tue Aug 18 10:46:03 UTC 2020 - Peter Simons - -- Replace %setup -q with the more modern %autosetup macro. - -------------------------------------------------------------------- -Sun Jun 21 02:00:49 UTC 2020 - psimons@suse.com - -- Update skylighting-core to version 0.8.5. - ## 0.8.5 - - * Respect 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. - -------------------------------------------------------------------- -Tue Jun 9 09:10:54 UTC 2020 - psimons@suse.com - -- Update skylighting-core to version 0.8.4. - ## 0.8.4 - - * 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. - -------------------------------------------------------------------- -Wed May 6 06:54:11 UTC 2020 - psimons@suse.com - -- Update skylighting-core to version 0.8.3.4. - Upstream has edited the change log file since the last release in - a non-trivial way, i.e. they did more than just add a new entry - at the top. You can review the file at: - http://hackage.haskell.org/package/skylighting-core-0.8.3.4/src/changelog.md - -------------------------------------------------------------------- -Sat Jan 25 10:23:01 UTC 2020 - psimons@suse.com - -- Update skylighting-core to version 0.8.3.2. - ## 0.8.3.2 -- 2020-01-21 - - * 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. - - ## 0.8.3.1 -- 2020-01-21 - - * Escape `<` 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. - ------------------------------------------------------------------- Wed Nov 27 03:00:51 UTC 2019 - psimons@suse.com diff --git a/ghc-skylighting-core.spec b/ghc-skylighting-core.spec index b0ad333..c7aa2b8 100644 --- a/ghc-skylighting-core.spec +++ b/ghc-skylighting-core.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-skylighting-core # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name skylighting-core %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.5 +Version: 0.8.3 Release: 0 Summary: Syntax highlighting library License: BSD-3-Clause @@ -79,7 +79,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%autosetup -n %{pkg_name}-%{version} +%setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build diff --git a/skylighting-core-0.8.3.tar.gz b/skylighting-core-0.8.3.tar.gz new file mode 100644 index 0000000..671e511 --- /dev/null +++ b/skylighting-core-0.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e39c32b44694527a9dd5e2a94a70a6c21db252b26d06782e1ea3540e92b0881e +size 657953 diff --git a/skylighting-core-0.8.5.tar.gz b/skylighting-core-0.8.5.tar.gz deleted file mode 100644 index 1fbb772..0000000 --- a/skylighting-core-0.8.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7a54765d3c735f6abd31bdb4ae80677cbcf16a0f9cca90846e11286dec1ecab -size 675746 From 8757fb95c4ff35e2020abfd827b2c54cc40973f20c2427c348b851f67d2ff918 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 4 Sep 2020 15:11:37 +0000 Subject: [PATCH 2/3] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-skylighting-core revision:12, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-skylighting-core?expand=0&rev=42 --- _constraints | 14 +++++++ ghc-skylighting-core.changes | 75 +++++++++++++++++++++++++++++++++++ ghc-skylighting-core.spec | 6 +-- skylighting-core-0.8.3.tar.gz | 3 -- skylighting-core-0.8.5.tar.gz | 3 ++ 5 files changed, 95 insertions(+), 6 deletions(-) create mode 100644 _constraints delete mode 100644 skylighting-core-0.8.3.tar.gz create mode 100644 skylighting-core-0.8.5.tar.gz diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..b5b0790 --- /dev/null +++ b/_constraints @@ -0,0 +1,14 @@ + + + + ppc64 + ppc64le + + + + 6 + + + + + diff --git a/ghc-skylighting-core.changes b/ghc-skylighting-core.changes index 3d09a41..dd7681c 100644 --- a/ghc-skylighting-core.changes +++ b/ghc-skylighting-core.changes @@ -1,3 +1,78 @@ +------------------------------------------------------------------- +Wed Aug 19 06:55:08 UTC 2020 - Michel Normand + +- Add _constraints with 6GB min disk space for ppc64/ppc64le + +------------------------------------------------------------------- +Tue Aug 18 10:46:03 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Sun Jun 21 02:00:49 UTC 2020 - psimons@suse.com + +- Update skylighting-core to version 0.8.5. + ## 0.8.5 + + * Respect 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. + +------------------------------------------------------------------- +Tue Jun 9 09:10:54 UTC 2020 - psimons@suse.com + +- Update skylighting-core to version 0.8.4. + ## 0.8.4 + + * 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. + +------------------------------------------------------------------- +Wed May 6 06:54:11 UTC 2020 - psimons@suse.com + +- Update skylighting-core to version 0.8.3.4. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/skylighting-core-0.8.3.4/src/changelog.md + +------------------------------------------------------------------- +Sat Jan 25 10:23:01 UTC 2020 - psimons@suse.com + +- Update skylighting-core to version 0.8.3.2. + ## 0.8.3.2 -- 2020-01-21 + + * 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. + + ## 0.8.3.1 -- 2020-01-21 + + * Escape `<` 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. + ------------------------------------------------------------------- Wed Nov 27 03:00:51 UTC 2019 - psimons@suse.com diff --git a/ghc-skylighting-core.spec b/ghc-skylighting-core.spec index c7aa2b8..b0ad333 100644 --- a/ghc-skylighting-core.spec +++ b/ghc-skylighting-core.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-skylighting-core # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name skylighting-core %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.3 +Version: 0.8.5 Release: 0 Summary: Syntax highlighting library License: BSD-3-Clause @@ -79,7 +79,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build diff --git a/skylighting-core-0.8.3.tar.gz b/skylighting-core-0.8.3.tar.gz deleted file mode 100644 index 671e511..0000000 --- a/skylighting-core-0.8.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e39c32b44694527a9dd5e2a94a70a6c21db252b26d06782e1ea3540e92b0881e -size 657953 diff --git a/skylighting-core-0.8.5.tar.gz b/skylighting-core-0.8.5.tar.gz new file mode 100644 index 0000000..1fbb772 --- /dev/null +++ b/skylighting-core-0.8.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7a54765d3c735f6abd31bdb4ae80677cbcf16a0f9cca90846e11286dec1ecab +size 675746 From c0c1562db676ce9e6d0651e251dfefac5f07b9fee9b39f282f8b49a22283d846 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 20 Oct 2020 09:15:46 +0000 Subject: [PATCH 3/3] 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 --- ghc-skylighting-core.changes | 76 ++++++++++++++++++++++++++++++++ ghc-skylighting-core.spec | 3 +- skylighting-core-0.10.0.2.tar.gz | 3 ++ skylighting-core-0.8.5.tar.gz | 3 -- 4 files changed, 80 insertions(+), 5 deletions(-) create mode 100644 skylighting-core-0.10.0.2.tar.gz delete mode 100644 skylighting-core-0.8.5.tar.gz diff --git a/ghc-skylighting-core.changes b/ghc-skylighting-core.changes index dd7681c..776fc25 100644 --- a/ghc-skylighting-core.changes +++ b/ghc-skylighting-core.changes @@ -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 diff --git a/ghc-skylighting-core.spec b/ghc-skylighting-core.spec index b0ad333..5b389cc 100644 --- a/ghc-skylighting-core.spec +++ b/ghc-skylighting-core.spec @@ -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 diff --git a/skylighting-core-0.10.0.2.tar.gz b/skylighting-core-0.10.0.2.tar.gz new file mode 100644 index 0000000..089442d --- /dev/null +++ b/skylighting-core-0.10.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c177d70723d9d6e3ebc21da2a45c35546f14a007daa6edfff136f8a7edded1d +size 704872 diff --git a/skylighting-core-0.8.5.tar.gz b/skylighting-core-0.8.5.tar.gz deleted file mode 100644 index 1fbb772..0000000 --- a/skylighting-core-0.8.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7a54765d3c735f6abd31bdb4ae80677cbcf16a0f9cca90846e11286dec1ecab -size 675746