From 7ae60963d7b1ef8d16cdc098eb4a8cb4faffff2ae063066e4d0ee9ce06fbb4b5 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 13 Sep 2022 07:35:24 +0000 Subject: [PATCH 1/2] Accepting request 1002665 from GNOME:Next GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already) OBS-URL: https://build.opensuse.org/request/show/1002665 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtksourceview5?expand=0&rev=9 --- gtksourceview-5.4.2.tar.xz | 3 --- gtksourceview-5.5.1.tar.xz | 3 +++ gtksourceview5.changes | 42 ++++++++++++++++++++++++++++++++++++++ gtksourceview5.spec | 8 ++++---- 4 files changed, 49 insertions(+), 7 deletions(-) delete mode 100644 gtksourceview-5.4.2.tar.xz create mode 100644 gtksourceview-5.5.1.tar.xz diff --git a/gtksourceview-5.4.2.tar.xz b/gtksourceview-5.4.2.tar.xz deleted file mode 100644 index e6b40fc..0000000 --- a/gtksourceview-5.4.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad140e07eb841910de483c092bd4885abd29baadd6e95fa22d93ed2df0b79de7 -size 1261496 diff --git a/gtksourceview-5.5.1.tar.xz b/gtksourceview-5.5.1.tar.xz new file mode 100644 index 0000000..dd9d5f5 --- /dev/null +++ b/gtksourceview-5.5.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ae58ccd15f071e45f88185f5a9b020560a0b1a950f99cab7dc5e8cd14c40d19 +size 1268504 diff --git a/gtksourceview5.changes b/gtksourceview5.changes index 0d59569..2f6386b 100644 --- a/gtksourceview5.changes +++ b/gtksourceview5.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Thu Aug 11 16:04:19 UTC 2022 - Dominique Leuenberger + +- Update to version 5.5.1: + + Many fixes to GtkSourceSnippet parsing and expaction. + + Various test-suite fixes. + + The snippet completion provider now avoids inflating snippet + objects until they are inserted. + + Input-method integration improvements for custom indenters. + + Performance improvements to GtkSourceBuffer. + + Performance improvements when translating improperly encoded + documents to fallback hexadecimal characters. + + Disable GtkSourceBuffer::cursor-moved signal while loading + buffers with GtkSourceFileLoader. + + Adwaita.xml styling fixes for def:error. + + More profiling integration with sysprof. + + Updated languages: lean, latex, chdr, cpphdr. + + Updated translations. + +------------------------------------------------------------------- +Mon Jul 18 07:49:37 UTC 2022 - Bjørn Lie + +- Update to version 5.5.0: + + Build fixes for deprecated meson features and MSVC + improvements. + + Fixes for hover assistant placement and display. + + A number of improvements to Vim emulation. + + The overview map can now avoid redrawing in a number of + scenarios. + + The completion popover can now avoid repositioning in a number + of scenarios. + + The completion popover now hides before resetting grid content. + + Language specifications can now provide a suggested suffix or + name for new files. GNOME Text Editor has examples for using + this new opt-in metadata. + + Various fixes display of snippet assistants. + + New languages: twig.lang. + + Updated translations. +- Add explicit pkgconfig(libpcre2-8) BuildRequires as meson checks + for it, already pulled in by other dependencies. +- Use ldconfig_scriptlets macro for post(un) handling. + ------------------------------------------------------------------- Mon Jun 13 11:26:32 UTC 2022 - Dominique Leuenberger diff --git a/gtksourceview5.spec b/gtksourceview5.spec index 6dd5e83..e8be0fe 100644 --- a/gtksourceview5.spec +++ b/gtksourceview5.spec @@ -18,13 +18,13 @@ %define _name gtksourceview Name: gtksourceview5 -Version: 5.4.2 +Version: 5.5.1 Release: 0 Summary: GTK+ Source Editing Widget License: LGPL-2.1-or-later Group: System/GUI/GNOME URL: https://wiki.gnome.org/Projects/GtkSourceView -Source0: https://download.gnome.org/sources/gtksourceview/5.4/%{_name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gtksourceview/5.5/%{_name}-%{version}.tar.xz Source1: changes.lang BuildRequires: gobject-introspection-devel >= 1.70 @@ -37,6 +37,7 @@ BuildRequires: pkgconfig(fribidi) BuildRequires: pkgconfig(gio-2.0) >= 2.70 BuildRequires: pkgconfig(glib-2.0) >= 2.70 BuildRequires: pkgconfig(gtk4) >= 4.4 +BuildRequires: pkgconfig(libpcre2-8) BuildRequires: pkgconfig(libxml-2.0) >= 2.6 %description @@ -103,8 +104,7 @@ features typical of a source editor. # Install language definition for *.changes files: install -m 644 %{S:1} %{buildroot}%{_datadir}/gtksourceview-5/language-specs/ -%post -n libgtksourceview-5-0 -p /sbin/ldconfig -%postun -n libgtksourceview-5-0 -p /sbin/ldconfig +%ldconfig_scriptlets -n libgtksourceview-5-0 %files -n libgtksourceview-5-0 %license COPYING From 29aeaa17beedb6216b1b8702d4ccdb4ad7f7b38efdc321eac19dbb2b1332f487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 19 Sep 2022 16:24:46 +0000 Subject: [PATCH 2/2] Accepting request 1004665 from GNOME:Next - Update to version 5.6.0: + Updated languages: awk.lang, lean.lang + Updated style schemes: Adwaita.xml, Adwaita-dark.xml, solarized-light.xml, solarized-dark.xml, cobalt.xml. + A bug with input grabs has been fixed when using GtkSourceHover to create interactive tooltips in a stack or notebook. + highlight-current-line is only rendered when the toplevel is active. + Merging of snippet bundles handles tooltips now. + The snippet manager now delays snippet parsing until needed. + Completion of snippets is now lazier resulting in less memory and CPU usage. + Informative tooltips for snippets are now more aggressively dismissed. + Scrolling now dismisses interactive hover tooltips. + Use of Escape now dismisses the completion list and forwards the event to the GtkSourceView, improving integration of Vim emulation. + Snippet filtering correctness has been improved when adding/removing characters from the filter text. + Assistants such as the completion list defer repositioning to the next frame tick which improves some situations with widgetry not having an allocation when snapshotted. + A new GtkSourceCompletion::provider-model-changed signal has been added which allows observation of providers by external tooling. This can be used to implement features like "top matches" from various completion providers. + Testsuite improvements. + GtkSourceView now uses GSignalGroup and GBindingGroup from GLib, and therefore bumps our GLib dependency as it would be necessary with updated GTK releases anyway. + GtkSourceHoverDisplay now specifies a CSS element name for use by applications in styling. + GtkSourceCompletion now uses PANGO_UNDERLINE_SINGLE_LINE and PANGO_WEIGHT_BOLD Pango attributes for highlighting fuzzy matches. This improves visibility when used with certain character sets. + Splicing of Pango attributes has been improved for completion which ensures the merging does not result in missing attributes. + Some methods have been marked as virtual for Vala. + Updated translations. - Add optional pkgconfig(fontconfig) and pkgconfig(pangoft2) BuildRequires: build fonconfig support. OBS-URL: https://build.opensuse.org/request/show/1004665 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtksourceview5?expand=0&rev=10 --- gtksourceview-5.5.1.tar.xz | 3 --- gtksourceview-5.6.0.tar.xz | 3 +++ gtksourceview5.changes | 48 ++++++++++++++++++++++++++++++++++++++ gtksourceview5.spec | 16 +++++++------ 4 files changed, 60 insertions(+), 10 deletions(-) delete mode 100644 gtksourceview-5.5.1.tar.xz create mode 100644 gtksourceview-5.6.0.tar.xz diff --git a/gtksourceview-5.5.1.tar.xz b/gtksourceview-5.5.1.tar.xz deleted file mode 100644 index dd9d5f5..0000000 --- a/gtksourceview-5.5.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4ae58ccd15f071e45f88185f5a9b020560a0b1a950f99cab7dc5e8cd14c40d19 -size 1268504 diff --git a/gtksourceview-5.6.0.tar.xz b/gtksourceview-5.6.0.tar.xz new file mode 100644 index 0000000..a3cc6c1 --- /dev/null +++ b/gtksourceview-5.6.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ca3df1d2af61bde3608d0d3f233e4a41f958e2ae59b9fc209c3df6102e8afdd +size 1266084 diff --git a/gtksourceview5.changes b/gtksourceview5.changes index 2f6386b..0b3f189 100644 --- a/gtksourceview5.changes +++ b/gtksourceview5.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Sun Sep 18 10:38:39 UTC 2022 - Bjørn Lie + +- Update to version 5.6.0: + + Updated languages: awk.lang, lean.lang + + Updated style schemes: Adwaita.xml, Adwaita-dark.xml, + solarized-light.xml, solarized-dark.xml, cobalt.xml. + + A bug with input grabs has been fixed when using GtkSourceHover + to create interactive tooltips in a stack or notebook. + + highlight-current-line is only rendered when the toplevel is + active. + + Merging of snippet bundles handles tooltips now. + + The snippet manager now delays snippet parsing until needed. + + Completion of snippets is now lazier resulting in less memory + and CPU usage. + + Informative tooltips for snippets are now more aggressively + dismissed. + + Scrolling now dismisses interactive hover tooltips. + + Use of Escape now dismisses the completion list and forwards + the event to the GtkSourceView, improving integration of Vim + emulation. + + Snippet filtering correctness has been improved when + adding/removing characters from the filter text. + + Assistants such as the completion list defer repositioning to + the next frame tick which improves some situations with + widgetry not having an allocation when snapshotted. + + A new GtkSourceCompletion::provider-model-changed signal has + been added which allows observation of providers by external + tooling. This can be used to implement features like + "top matches" from various completion providers. + + Testsuite improvements. + + GtkSourceView now uses GSignalGroup and GBindingGroup from + GLib, and therefore bumps our GLib dependency as it would be + necessary with updated GTK releases anyway. + + GtkSourceHoverDisplay now specifies a CSS element name for use + by applications in styling. + + GtkSourceCompletion now uses PANGO_UNDERLINE_SINGLE_LINE and + PANGO_WEIGHT_BOLD Pango attributes for highlighting fuzzy + matches. This improves visibility when used with certain + character sets. + + Splicing of Pango attributes has been improved for completion + which ensures the merging does not result in missing + attributes. + + Some methods have been marked as virtual for Vala. + + Updated translations. +- Add optional pkgconfig(fontconfig) and pkgconfig(pangoft2) + BuildRequires: build fonconfig support. + ------------------------------------------------------------------- Thu Aug 11 16:04:19 UTC 2022 - Dominique Leuenberger diff --git a/gtksourceview5.spec b/gtksourceview5.spec index e8be0fe..4d5eb08 100644 --- a/gtksourceview5.spec +++ b/gtksourceview5.spec @@ -18,13 +18,13 @@ %define _name gtksourceview Name: gtksourceview5 -Version: 5.5.1 +Version: 5.6.0 Release: 0 Summary: GTK+ Source Editing Widget License: LGPL-2.1-or-later Group: System/GUI/GNOME URL: https://wiki.gnome.org/Projects/GtkSourceView -Source0: https://download.gnome.org/sources/gtksourceview/5.5/%{_name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gtksourceview/5.6/%{_name}-%{version}.tar.xz Source1: changes.lang BuildRequires: gobject-introspection-devel >= 1.70 @@ -33,12 +33,14 @@ BuildRequires: pkgconfig BuildRequires: python3-gi-docgen BuildRequires: vala BuildRequires: valgrind -BuildRequires: pkgconfig(fribidi) -BuildRequires: pkgconfig(gio-2.0) >= 2.70 -BuildRequires: pkgconfig(glib-2.0) >= 2.70 -BuildRequires: pkgconfig(gtk4) >= 4.4 -BuildRequires: pkgconfig(libpcre2-8) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(fribidi) >= 0.19.7 +BuildRequires: pkgconfig(gio-2.0) >= 2.72 +BuildRequires: pkgconfig(glib-2.0) >= 2.72 +BuildRequires: pkgconfig(gtk4) >= 4.6 +BuildRequires: pkgconfig(libpcre2-8) >= 10.21 BuildRequires: pkgconfig(libxml-2.0) >= 2.6 +BuildRequires: pkgconfig(pangoft2) %description GtkSourceView is a text widget that extends GtkTextView, the standard