[gtksourceview] Release GtkSourceView 5.0



commit 1443ab336e093d88a184ee97c23e13d64b0ed369
Author: Christian Hergert <chergert redhat com>
Date:   Fri Mar 19 16:52:21 2021 -0700

    Release GtkSourceView 5.0

 NEWS        | 31 +++++++++++++++++++++++++++++++
 meson.build |  7 ++++---
 2 files changed, 35 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index b4adcaac..7c939ee2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,34 @@
+News in 5.0.0, 2021-03-19
+-------------------------
+
+GtkSourceView 5.0 is the first stable release of GtkSourceView targeting the
+GTK 4 toolkit. It is the culmination of about a year of development.
+
+Numerous new features were added that are not available in the 4.8 series of
+GtkSourceView.
+
+Notably:
+
+ * A new GListModel-based completion engine with a refresh on autocompletion
+   interface styling which was upstreamed from GNOME Builder.
+ * Syntax languages are now implemented using PCRE2 instead of GRegex which
+   also allowed for enabling the PCRE2 JIT for faster syntax highlighting.
+ * GtkSourceView can now integrate with Sysprof to generate performance
+   information. This may be helpful to application developers to help optimize
+   application rendering on GTK 4.
+ * Many internal components have become native GtkWidgets.
+ * A new code-snippet engine with an XML-based language have been added which
+   were upstreamed from GNOME Builder.
+ * Support for interactive tooltips using GtkSourceHover which was upstreamed
+   from GNOME Builder.
+ * You can now write custom indenters using GtkSourceIndenter which was
+   upstreamed from GNOME Builder.
+ * The overview map now bundles a custom "BuilderBlocks" font which was
+   upstreamed from GNOME Builder.
+ * Undo management is now part of GTK 4.
+ * Translation updates.
+
+
 News in 4.99.0, 2021-02-12
 --------------------------
 
diff --git a/meson.build b/meson.build
index 6eb5fe7d..0cb4bf8c 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('gtksourceview', 'c',
-          version: '4.99.0',
+          version: '5.0.0',
           license: 'LGPL-2.1-or-later',
     meson_version: '>= 0.53.0',
   default_options: [ 'c_std=gnu99',
@@ -68,7 +68,7 @@ build_gtk_doc = get_option('gtk_doc')
 cc = meson.get_compiler('c')
 
 glib_req_version = '2.66'
-gtk_req_version = '3.99'
+gtk_req_version = '4.1'
 
 libm_dep = cc.find_library('m', required: false)
 
@@ -202,7 +202,8 @@ else
     '-Werror=empty-body',
     '-Werror=implicit',
     '-Werror=implicit-function-declaration',
-    '-Werror=incompatible-pointer-types',
+    # disabled due to glib volatile issues
+    # '-Werror=incompatible-pointer-types',
     '-Werror=init-self',
     '-Werror=int-conversion',
     '-Werror=int-to-pointer-cast',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]