Hello community,

here is the log from the commit of package template-glib for openSUSE:Factory 
checked in at 2018-10-17 08:11:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/template-glib (Old)
 and      /work/SRC/openSUSE:Factory/.template-glib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "template-glib"

Wed Oct 17 08:11:50 2018 rev:6 rq:637361 version:3.30.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/template-glib/template-glib.changes      
2018-03-24 16:05:57.887861992 +0100
+++ /work/SRC/openSUSE:Factory/.template-glib.new/template-glib.changes 
2018-10-17 08:12:05.327110220 +0200
@@ -1,0 +2,8 @@
+Wed Sep 12 20:31:51 UTC 2018 - antoine.belv...@opensuse.org
+
+- Update to version 3.30.0:
+  + Documentation fixes.
+  + Check {{include}} for valid path.
+  + Various G-I fixes.
+
+-------------------------------------------------------------------

Old:
----
  template-glib-3.28.0.tar.xz

New:
----
  template-glib-3.30.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ template-glib.spec ++++++
--- /var/tmp/diff_new_pack.fckhGQ/_old  2018-10-17 08:12:06.867109535 +0200
+++ /var/tmp/diff_new_pack.fckhGQ/_new  2018-10-17 08:12:06.867109535 +0200
@@ -17,13 +17,13 @@
 
 
 Name:           template-glib
-Version:        3.28.0
+Version:        3.30.0
 Release:        0
 Summary:        Library for generating text based on a template and user 
defined state
 License:        LGPL-2.1-or-later
 Group:          Development/Libraries/GNOME
 Url:            https://git.gnome.org/browse/template-glib/
-Source0:        
http://download.gnome.org/sources/template-glib/3.28/%{name}-%{version}.tar.xz
+Source0:        
http://download.gnome.org/sources/template-glib/3.30/%{name}-%{version}.tar.xz
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  gtk-doc

++++++ template-glib-3.28.0.tar.xz -> template-glib-3.30.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/template-glib-3.28.0/NEWS 
new/template-glib-3.30.0/NEWS
--- old/template-glib-3.28.0/NEWS       2018-03-14 01:18:19.000000000 +0100
+++ new/template-glib-3.30.0/NEWS       2018-09-05 06:38:58.000000000 +0200
@@ -1,4 +1,14 @@
 ==============
+Version 3.30.0
+==============
+
+Changes in this release:
+
+ • Documentation fixes
+ • Check {{include}} for valid path
+ • Various G-I fixes
+
+==============
 Version 3.28.0
 ==============
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/template-glib-3.28.0/meson.build 
new/template-glib-3.30.0/meson.build
--- old/template-glib-3.28.0/meson.build        2018-03-14 01:18:19.000000000 
+0100
+++ new/template-glib-3.30.0/meson.build        2018-09-05 06:38:58.000000000 
+0200
@@ -1,5 +1,5 @@
 project('template-glib', 'c',
-          version: '3.28.0',
+          version: '3.30.0',
           license: 'LGPLv2.1+',
     meson_version: '>= 0.40.1',
   default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 
'c_std=gnu11' ],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/template-glib-3.28.0/po/LINGUAS 
new/template-glib-3.30.0/po/LINGUAS
--- old/template-glib-3.28.0/po/LINGUAS 2018-03-14 01:18:19.000000000 +0100
+++ new/template-glib-3.30.0/po/LINGUAS 2018-09-05 06:38:58.000000000 +0200
@@ -10,6 +10,7 @@
 pl
 pt
 pt_BR
+ro
 sl
 sr
 sv
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/template-glib-3.28.0/po/ro.po 
new/template-glib-3.30.0/po/ro.po
--- old/template-glib-3.28.0/po/ro.po   1970-01-01 01:00:00.000000000 +0100
+++ new/template-glib-3.30.0/po/ro.po   2018-09-05 06:38:58.000000000 +0200
@@ -0,0 +1,39 @@
+# Romanian translation for template-glib.
+# Copyright (C) 2018 template-glib's COPYRIGHT HOLDER
+# This file is distributed under the same license as the template-glib package.
+# Floren <>, 2018.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: template-glib master\n"
+"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/template-glib/issues\n";
+"POT-Creation-Date: 2018-03-14 00:15+0000\n"
+"PO-Revision-Date: 2018-04-05 17:54+0300\n"
+"Language-Team: Romanian <gnomero-l...@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 
20)) ? 1 : 2);;\n"
+"Last-Translator: Florentina Mușat <florentina.musat...@gmail.com>\n"
+"X-Generator: Poedit 2.0.6\n"
+
+#: src/tmpl-parser.c:199
+#, c-format
+msgid "%s() may only be called once"
+msgstr "%s() poate fi apelată doar o dată"
+
+#: src/tmpl-parser.c:211
+#, c-format
+msgid "Parser does not contain an input stream"
+msgstr "Programul de parsare nu conține un flux de intrare"
+
+#: src/tmpl-template.c:454
+#, c-format
+msgid "Must parse template before expanding"
+msgstr "Trebuie parsat șablonul înainte de extindere"
+
+#: src/tmpl-template-locator.c:117
+#, c-format
+msgid "Failed to locate template “%s”"
+msgstr "Nu s-a putut localiza șablonul „%s”"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/template-glib-3.28.0/src/tmpl-lexer.c 
new/template-glib-3.30.0/src/tmpl-lexer.c
--- old/template-glib-3.28.0/src/tmpl-lexer.c   2018-03-14 01:18:19.000000000 
+0100
+++ new/template-glib-3.30.0/src/tmpl-lexer.c   2018-09-05 06:38:58.000000000 
+0200
@@ -143,7 +143,15 @@
           GInputStream *input;
 
           g_assert (self->circular != NULL);
-          g_assert (path != NULL);
+
+          if (path == NULL)
+            {
+              local_error = g_error_new (TMPL_ERROR,
+                                         TMPL_ERROR_NOT_A_VALUE,
+                                         "Expected template path, got null");
+              g_clear_pointer (token, tmpl_token_free);
+              TMPL_GOTO (finish);
+            }
 
           if (g_hash_table_contains (self->circular, path))
             {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/template-glib-3.28.0/src/tmpl-symbol.c 
new/template-glib-3.30.0/src/tmpl-symbol.c
--- old/template-glib-3.28.0/src/tmpl-symbol.c  2018-03-14 01:18:19.000000000 
+0100
+++ new/template-glib-3.30.0/src/tmpl-symbol.c  2018-09-05 06:38:58.000000000 
+0200
@@ -104,7 +104,7 @@
  * tmpl_symbol_assign_expr: (skip)
  * @self: A #TmplSymbol.
  * @expr: (nullable): An expression to assign, or %NULL.
- * params: (element-type utf8): A #GPtrArray of strings.
+ * @args: (element-type utf8): A #GPtrArray of strings.
  *
  * Sets the symbol as a %TMPL_SYMBOL_EXPR with the given ordered and
  * named parameters.
@@ -112,7 +112,7 @@
 void
 tmpl_symbol_assign_expr (TmplSymbol *self,
                          TmplExpr   *expr,
-                         GPtrArray  *params)
+                         GPtrArray  *args)
 {
   g_return_if_fail (self != NULL);
 
@@ -123,8 +123,8 @@
   if (expr != NULL)
     self->u.expr.expr = tmpl_expr_ref (expr);
 
-  if (params != NULL)
-    self->u.expr.params = g_ptr_array_ref (params);
+  if (args != NULL)
+    self->u.expr.params = g_ptr_array_ref (args);
 }
 
 TmplSymbolType
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/template-glib-3.28.0/src/tmpl-template-locator.c 
new/template-glib-3.30.0/src/tmpl-template-locator.c
--- old/template-glib-3.28.0/src/tmpl-template-locator.c        2018-03-14 
01:18:19.000000000 +0100
+++ new/template-glib-3.30.0/src/tmpl-template-locator.c        2018-09-05 
06:38:58.000000000 +0200
@@ -123,8 +123,24 @@
 }
 
 static void
+tmpl_template_locator_finalize (GObject *object)
+{
+  TmplTemplateLocator *self = (TmplTemplateLocator *)object;
+  TmplTemplateLocatorPrivate *priv = 
tmpl_template_locator_get_instance_private (self);
+
+  g_queue_free_full (priv->search_path, g_free);
+  priv->search_path = NULL;
+
+  G_OBJECT_CLASS (tmpl_template_locator_parent_class)->finalize (object);
+}
+
+static void
 tmpl_template_locator_class_init (TmplTemplateLocatorClass *klass)
 {
+  GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+  object_class->finalize = tmpl_template_locator_finalize;
+
   klass->locate = tmpl_template_locator_real_locate;
 }
 


Reply via email to