commit jsonrpc-glib for openSUSE:Factory

2019-10-17 Thread root
Hello community,

here is the log from the commit of package jsonrpc-glib for openSUSE:Factory 
checked in at 2019-10-17 13:02:16

Comparing /work/SRC/openSUSE:Factory/jsonrpc-glib (Old)
 and  /work/SRC/openSUSE:Factory/.jsonrpc-glib.new.2352 (New)


Package is "jsonrpc-glib"

Thu Oct 17 13:02:16 2019 rev:9 rq:736586 version:3.34.0

Changes:

--- /work/SRC/openSUSE:Factory/jsonrpc-glib/jsonrpc-glib.changes
2019-07-08 15:02:51.450700800 +0200
+++ /work/SRC/openSUSE:Factory/.jsonrpc-glib.new.2352/jsonrpc-glib.changes  
2019-10-17 13:02:19.340844193 +0200
@@ -1,0 +2,15 @@
+Tue Sep 10 18:13:20 CDT 2019 - mgo...@suse.com
+
+- Update to version 3.34.0:
+  + No changes.
+
+---
+Thu Aug 15 11:38:36 CEST 2019 - bjorn@gmail.com
+
+- Update to version 3.33.3:
+  + Custom marshallers are now provided for all signals to improve
+the stack-unwinding capability from kernel tooling such as
+Linux `perf`.
+  + Various build system improvements.
+
+---

Old:

  jsonrpc-glib-3.32.0.tar.xz

New:

  jsonrpc-glib-3.34.0.tar.xz



Other differences:
--
++ jsonrpc-glib.spec ++
--- /var/tmp/diff_new_pack.QX8QIP/_old  2019-10-17 13:02:19.788843059 +0200
+++ /var/tmp/diff_new_pack.QX8QIP/_new  2019-10-17 13:02:19.788843059 +0200
@@ -18,16 +18,16 @@
 
 %define sover 1_0-1
 Name:   jsonrpc-glib
-Version:3.32.0
+Version:3.34.0
 Release:0
 Summary:Library to communicate with JSON-RPC based peers
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/GNOME
 URL:https://gitlab.gnome.org/GNOME/jsonrpc-glib
-Source0:
https://download.gnome.org/sources/jsonrpc-glib/3.32/%{name}-%{version}.tar.xz
+Source0:
https://download.gnome.org/sources/jsonrpc-glib/3.34/%{name}-%{version}.tar.xz
 
 BuildRequires:  gtk-doc
-BuildRequires:  meson >= 0.40.1
+BuildRequires:  meson >= 0.49.2
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(gio-2.0)
 BuildRequires:  pkgconfig(gio-unix-2.0)

++ jsonrpc-glib-3.32.0.tar.xz -> jsonrpc-glib-3.34.0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.32.0/NEWS new/jsonrpc-glib-3.34.0/NEWS
--- old/jsonrpc-glib-3.32.0/NEWS2019-03-13 08:15:09.0 +0100
+++ new/jsonrpc-glib-3.34.0/NEWS2019-09-10 02:47:58.0 +0200
@@ -1,4 +1,14 @@
 ==
+Version 3.33.3
+==
+
+Changes in this release:
+
+ • Custom marshallers are now provided for all signals to improve the
+   stack-unwinding capability from kernel tooling such as Linux `perf`.
+ • Various build system improvements.
+
+==
 Version 3.32.0
 ==
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.32.0/meson.build 
new/jsonrpc-glib-3.34.0/meson.build
--- old/jsonrpc-glib-3.32.0/meson.build 2019-03-13 08:15:09.0 +0100
+++ new/jsonrpc-glib-3.34.0/meson.build 2019-09-10 02:47:58.0 +0200
@@ -1,7 +1,7 @@
 project('jsonrpc-glib', 'c',
-  version: '3.32.0',
+  version: '3.33.3',
   license: 'LGPLv2.1+',
-meson_version: '>= 0.40.1',
+meson_version: '>= 0.49.2',
   default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 
'c_std=gnu11' ],
 )
 
@@ -26,6 +26,8 @@
 revision = jsonrpc_glib_interface_age
 libversion = '@0@.@1@.@2@'.format(soversion, current, revision)
 
+darwin_versions = [current + 1, '@0@.@1@'.format(current + 1, revision)]
+
 config_h = configuration_data()
 config_h.set_quoted('GETTEXT_PACKAGE', 'libjsonrpc_glib')
 config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), 
get_option('localedir')))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.32.0/src/jsonrpc-client.c 
new/jsonrpc-glib-3.34.0/src/jsonrpc-client.c
--- old/jsonrpc-glib-3.32.0/src/jsonrpc-client.c2019-03-13 
08:15:09.0 +0100
+++ new/jsonrpc-glib-3.34.0/src/jsonrpc-client.c2019-09-10 
02:47:58.0 +0200
@@ -58,6 +58,7 @@
 #include "jsonrpc-client.h"
 #include "jsonrpc-input-stream.h"
 #include "jsonrpc-input-stream-private.h"
+#include "jsonrpc-marshalers.h"
 #include "jsonrpc-output-stream.h"
 
 typedef struct
@@ -504,11 +505,8 @@
   G_SIGNAL_RUN_LAST,
   G_STRUCT_OFFSET (JsonrpcClientClass, failed),
   NULL, NULL,
-  g_cclosure_marshal_VOID__VOID,
+  NULL,
   G_TYPE_NONE, 0);
-  g_signal_set_va_marshaller (signals [FAILED],
-  

commit jsonrpc-glib for openSUSE:Factory

2019-07-08 Thread root
Hello community,

here is the log from the commit of package jsonrpc-glib for openSUSE:Factory 
checked in at 2019-07-08 15:02:50

Comparing /work/SRC/openSUSE:Factory/jsonrpc-glib (Old)
 and  /work/SRC/openSUSE:Factory/.jsonrpc-glib.new.4615 (New)


Package is "jsonrpc-glib"

Mon Jul  8 15:02:50 2019 rev:8 rq:713236 version:3.32.0

Changes:

--- /work/SRC/openSUSE:Factory/jsonrpc-glib/jsonrpc-glib.changes
2019-04-01 12:30:40.889751595 +0200
+++ /work/SRC/openSUSE:Factory/.jsonrpc-glib.new.4615/jsonrpc-glib.changes  
2019-07-08 15:02:51.450700800 +0200
@@ -1,0 +2,8 @@
+Wed Jul  3 11:25:06 UTC 2019 - Dominique Leuenberger 
+
+- Rename typelib-1_0-Jsonrpc-1.0 to typelib-1_0-Jsonrpc-1_0: adhere
+  to packaging guideline for typelib libraries. Obsolete the old
+  name (no need to Provide, as packages are supposed to Require
+  typelib(Jsonrpc-1.0). This symbol remains unchanged.
+
+---



Other differences:
--
++ jsonrpc-glib.spec ++
--- /var/tmp/diff_new_pack.6rxSo1/_old  2019-07-08 15:02:52.022701664 +0200
+++ /var/tmp/diff_new_pack.6rxSo1/_new  2019-07-08 15:02:52.026701671 +0200
@@ -54,11 +54,13 @@
 
 This package contains the Jsonrpc-GLib shared library.
 
-%package -n typelib-1_0-Jsonrpc-1.0
+%package -n typelib-1_0-Jsonrpc-1_0
 Summary:JSON-RPC based peers lib -- Introspection bindings
+# typelib-1_0-Jsonrpc-1.0 has been renamed to typelib-1_0-Jsonrpc-1_0 to match 
packaging guideline
 Group:  System/Libraries
+Obsoletes:  typelib-1_0-Jsonrpc-1.0 <= %{version}
 
-%description -n typelib-1_0-Jsonrpc-1.0
+%description -n typelib-1_0-Jsonrpc-1_0
 This is a library to communicate with JSON-RPC based peers in
 either a synchronous or an asynchronous fashion. It also allows
 communicating using the GVariant serialization format instead
@@ -70,7 +72,7 @@
 Summary:Development environment for jsonrpc-glib
 Group:  Development/Languages/C and C++
 Requires:   libjsonrpc-glib-%{sover} = %{version}
-Requires:   typelib-1_0-Jsonrpc-1.0 = %{version}
+Requires:   typelib-1_0-Jsonrpc-1_0 = %{version}
 
 %description devel
 This is a library to communicate with JSON-RPC based peers in
@@ -105,7 +107,7 @@
 %doc NEWS
 %{_libdir}/libjsonrpc-glib-1.0.so.*
 
-%files -n typelib-1_0-Jsonrpc-1.0
+%files -n typelib-1_0-Jsonrpc-1_0
 %{_libdir}/girepository-1.0/Jsonrpc-1.0.typelib
 
 %files devel




commit jsonrpc-glib for openSUSE:Factory

2019-04-01 Thread root
Hello community,

here is the log from the commit of package jsonrpc-glib for openSUSE:Factory 
checked in at 2019-04-01 12:30:38

Comparing /work/SRC/openSUSE:Factory/jsonrpc-glib (Old)
 and  /work/SRC/openSUSE:Factory/.jsonrpc-glib.new.25356 (New)


Package is "jsonrpc-glib"

Mon Apr  1 12:30:38 2019 rev:7 rq:689300 version:3.32.0

Changes:

--- /work/SRC/openSUSE:Factory/jsonrpc-glib/jsonrpc-glib.changes
2018-10-17 08:24:54.638689273 +0200
+++ /work/SRC/openSUSE:Factory/.jsonrpc-glib.new.25356/jsonrpc-glib.changes 
2019-04-01 12:30:40.889751595 +0200
@@ -1,0 +2,12 @@
+Wed Mar 13 08:35:29 UTC 2019 - Bjørn Lie 
+
+- Update to version 3.32.0:
+  + No changes in this release.
+
+---
+Tue Feb 19 22:34:04 UTC 2019 - bjorn@gmail.com
+
+- Update to version 3.31.91:
+  + Improve cross-compilation support.
+
+---

Old:

  jsonrpc-glib-3.30.1.tar.xz

New:

  jsonrpc-glib-3.32.0.tar.xz



Other differences:
--
++ jsonrpc-glib.spec ++
--- /var/tmp/diff_new_pack.OVq7ae/_old  2019-04-01 12:30:41.317751728 +0200
+++ /var/tmp/diff_new_pack.OVq7ae/_new  2019-04-01 12:30:41.321751729 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package jsonrpc-glib
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -18,13 +18,14 @@
 
 %define sover 1_0-1
 Name:   jsonrpc-glib
-Version:3.30.1
+Version:3.32.0
 Release:0
 Summary:Library to communicate with JSON-RPC based peers
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/GNOME
 URL:https://gitlab.gnome.org/GNOME/jsonrpc-glib
-Source0:
https://download.gnome.org/sources/jsonrpc-glib/3.30/%{name}-%{version}.tar.xz
+Source0:
https://download.gnome.org/sources/jsonrpc-glib/3.32/%{name}-%{version}.tar.xz
+
 BuildRequires:  gtk-doc
 BuildRequires:  meson >= 0.40.1
 BuildRequires:  pkgconfig

++ jsonrpc-glib-3.30.1.tar.xz -> jsonrpc-glib-3.32.0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.30.1/NEWS new/jsonrpc-glib-3.32.0/NEWS
--- old/jsonrpc-glib-3.30.1/NEWS2018-10-10 20:57:40.0 +0200
+++ new/jsonrpc-glib-3.32.0/NEWS2019-03-13 08:15:09.0 +0100
@@ -1,4 +1,18 @@
 ==
+Version 3.32.0
+==
+
+No changes in this release
+
+===
+Version 3.31.91
+===
+
+Changes in this release:
+
+ • Improve cross-compilation support.
+
+==
 Version 3.30.1
 ==
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.30.1/meson.build 
new/jsonrpc-glib-3.32.0/meson.build
--- old/jsonrpc-glib-3.30.1/meson.build 2018-10-10 20:57:40.0 +0200
+++ new/jsonrpc-glib-3.32.0/meson.build 2019-03-13 08:15:09.0 +0100
@@ -1,5 +1,5 @@
 project('jsonrpc-glib', 'c',
-  version: '3.30.1',
+  version: '3.32.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/jsonrpc-glib-3.30.1/src/meson.build 
new/jsonrpc-glib-3.32.0/src/meson.build
--- old/jsonrpc-glib-3.30.1/src/meson.build 2018-10-10 20:57:40.0 
+0200
+++ new/jsonrpc-glib-3.32.0/src/meson.build 2019-03-13 08:15:09.0 
+0100
@@ -79,7 +79,10 @@
 install: true,
 install_dir_gir: girdir,
 install_dir_typelib: typelibdir,
- extra_args: [ '--c-include=jsonrpc-glib.h' ],
+ extra_args: [
+ '--c-include=jsonrpc-glib.h',
+ '-DJSONRPC_GLIB_COMPILATION',
+ ],
   )
 
   if get_option('with_vapi')




commit jsonrpc-glib for openSUSE:Factory

2018-10-17 Thread root
Hello community,

here is the log from the commit of package jsonrpc-glib for openSUSE:Factory 
checked in at 2018-10-17 08:23:08

Comparing /work/SRC/openSUSE:Factory/jsonrpc-glib (Old)
 and  /work/SRC/openSUSE:Factory/.jsonrpc-glib.new (New)


Package is "jsonrpc-glib"

Wed Oct 17 08:23:08 2018 rev:6 rq:641255 version:3.30.1

Changes:

--- /work/SRC/openSUSE:Factory/jsonrpc-glib/jsonrpc-glib.changes
2018-06-22 13:28:34.793738834 +0200
+++ /work/SRC/openSUSE:Factory/.jsonrpc-glib.new/jsonrpc-glib.changes   
2018-10-17 08:24:54.638689273 +0200
@@ -1,0 +2,44 @@
+Thu Oct 11 08:50:53 UTC 2018 - bjorn@gmail.com
+
+- Update to version 3.30.1:
+  + When --buildtype=release is used, assertion checks are disabled
+and -Bsymbolic is used.
+
+---
+Wed Sep 12 20:35:10 UTC 2018 - antoine.belv...@opensuse.org
+
+- Update to version 3.30.0:
+  + No change, only bump version.
+
+---
+Fri Aug 17 01:16:44 UTC 2018 - luc1...@linuxmail.org
+
+- Update to version 3.29.91:
+  + Fix of double-free in generated vala bindings.
+  + Floating reference fixes for some gvariants.
+  + Use g_bytes_new_take() to simplify memory tracking.
+  + Some variants are now unwrapped to simplify usage by consumers.
+  + Unit tests now disable SIGPIPE.
+  + test-client was removed as it was dead code.
+
+---
+Tue Jul 24 12:52:09 UTC 2018 - bjorn@gmail.com
+
+- Update to version 3.29.4:
+  + More lenient testing for transient errors.
+  + Increased compiler warnings when building on GCC.
+  + Vala vapi generation improvements.
+
+---
+Thu Jun 21 02:27:25 UTC 2018 - luc1...@linuxmail.org
+
+- Update to version 3.29.3:
+  + Various introspection fixes.
+  + Add JsonrpcServer::client-closed.
+  + Emit JsonrpcClient::failed upon panic.
+  + Helpers for strv message building and parsing.
+  + Support for boxing/unboxing a{sv} variants.
+  + A new variant for calling a remote method and get message id.
+  + Fixes for an invalid type propagation.
+
+---

Old:

  jsonrpc-glib-3.28.1.tar.xz

New:

  jsonrpc-glib-3.30.1.tar.xz



Other differences:
--
++ jsonrpc-glib.spec ++
--- /var/tmp/diff_new_pack.0mQank/_old  2018-10-17 08:24:55.094688909 +0200
+++ /var/tmp/diff_new_pack.0mQank/_new  2018-10-17 08:24:55.094688909 +0200
@@ -12,20 +12,19 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define sover 1_0-1
 Name:   jsonrpc-glib
-Version:3.28.1
+Version:3.30.1
 Release:0
 Summary:Library to communicate with JSON-RPC based peers
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/GNOME
 URL:https://gitlab.gnome.org/GNOME/jsonrpc-glib
-Source: 
http://download.gnome.org/sources/jsonrpc-glib/3.28/%{name}-%{version}.tar.xz
-
+Source0:
https://download.gnome.org/sources/jsonrpc-glib/3.30/%{name}-%{version}.tar.xz
 BuildRequires:  gtk-doc
 BuildRequires:  meson >= 0.40.1
 BuildRequires:  pkgconfig

++ jsonrpc-glib-3.28.1.tar.xz -> jsonrpc-glib-3.30.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.28.1/NEWS new/jsonrpc-glib-3.30.1/NEWS
--- old/jsonrpc-glib-3.28.1/NEWS2018-06-19 05:04:45.0 +0200
+++ new/jsonrpc-glib-3.30.1/NEWS2018-10-10 20:57:40.0 +0200
@@ -1,11 +1,56 @@
 ==
-Version 3.28.1
+Version 3.30.1
 ==
 
- • Fixes for invalid type propagation
- • Fixes for gobject introspection
- • Improved busy tracking in streams
- • Ensure JsonrpcClient::failed is emitted in panic
+Changes in this release:
+
+ • When --buildtype=release is used, assertion checks are disabled
+   and -Bsymbolic is used.
+
+==
+Version 3.30.0
+==
+
+No changes in this release since our beta 3.29.91.
+
+===
+Version 3.29.91
+===
+
+Changes in this release:
+
+ • Fix of double-free in generated vala bindings
+ • Floating reference fixes for some gvariants
+ • Use g_bytes_new_take() to simplify memory tracking
+ • Some variants are now unwrapped to simplify usage by consumers.
+ • Unit tests now disable SIGPIPE
+ • test-client was removed as it was dead code
+
+==
+Version 3.29.4
+==
+
+Changes in 

commit jsonrpc-glib for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package jsonrpc-glib for openSUSE:Factory 
checked in at 2018-06-22 13:28:33

Comparing /work/SRC/openSUSE:Factory/jsonrpc-glib (Old)
 and  /work/SRC/openSUSE:Factory/.jsonrpc-glib.new (New)


Package is "jsonrpc-glib"

Fri Jun 22 13:28:33 2018 rev:5 rq:617887 version:3.28.1

Changes:

--- /work/SRC/openSUSE:Factory/jsonrpc-glib/jsonrpc-glib.changes
2018-03-14 19:33:11.781650709 +0100
+++ /work/SRC/openSUSE:Factory/.jsonrpc-glib.new/jsonrpc-glib.changes   
2018-06-22 13:28:34.793738834 +0200
@@ -1,0 +2,9 @@
+Tue Jun 19 16:50:05 UTC 2018 - bjorn@gmail.com
+
+- Update to version 3.28.1:
+  + Fixes for invalid type propagation.
+  + Fixes for gobject introspection.
+  + Improved busy tracking in streams.
+  + Ensure JsonrpcClient::failed is emitted in panic.
+
+---

Old:

  jsonrpc-glib-3.28.0.tar.xz

New:

  jsonrpc-glib-3.28.1.tar.xz



Other differences:
--
++ jsonrpc-glib.spec ++
--- /var/tmp/diff_new_pack.xub54Y/_old  2018-06-22 13:28:35.361717842 +0200
+++ /var/tmp/diff_new_pack.xub54Y/_new  2018-06-22 13:28:35.365717694 +0200
@@ -18,13 +18,14 @@
 
 %define sover 1_0-1
 Name:   jsonrpc-glib
-Version:3.28.0
+Version:3.28.1
 Release:0
 Summary:Library to communicate with JSON-RPC based peers
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/GNOME
 URL:https://gitlab.gnome.org/GNOME/jsonrpc-glib
 Source: 
http://download.gnome.org/sources/jsonrpc-glib/3.28/%{name}-%{version}.tar.xz
+
 BuildRequires:  gtk-doc
 BuildRequires:  meson >= 0.40.1
 BuildRequires:  pkgconfig

++ jsonrpc-glib-3.28.0.tar.xz -> jsonrpc-glib-3.28.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.28.0/NEWS new/jsonrpc-glib-3.28.1/NEWS
--- old/jsonrpc-glib-3.28.0/NEWS2018-03-14 01:07:21.0 +0100
+++ new/jsonrpc-glib-3.28.1/NEWS2018-06-19 05:04:45.0 +0200
@@ -1,4 +1,13 @@
 ==
+Version 3.28.1
+==
+
+ • Fixes for invalid type propagation
+ • Fixes for gobject introspection
+ • Improved busy tracking in streams
+ • Ensure JsonrpcClient::failed is emitted in panic
+
+==
 Version 3.28.0
 ==
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.28.0/meson.build 
new/jsonrpc-glib-3.28.1/meson.build
--- old/jsonrpc-glib-3.28.0/meson.build 2018-03-14 01:07:21.0 +0100
+++ new/jsonrpc-glib-3.28.1/meson.build 2018-06-19 05:04:45.0 +0200
@@ -1,5 +1,5 @@
 project('jsonrpc-glib', 'c',
-  version: '3.28.0',
+  version: '3.28.1',
   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/jsonrpc-glib-3.28.0/src/jsonrpc-client.c 
new/jsonrpc-glib-3.28.1/src/jsonrpc-client.c
--- old/jsonrpc-glib-3.28.0/src/jsonrpc-client.c2018-03-14 
01:07:21.0 +0100
+++ new/jsonrpc-glib-3.28.1/src/jsonrpc-client.c2018-06-19 
05:04:45.0 +0200
@@ -128,6 +128,12 @@
   guint failed : 1;
 
   /*
+   * Only set once we've emitted the ::failed signal (so we only do that
+   * a single time).
+   */
+  guint emitted_failed : 1;
+
+  /*
* If we should try to use gvariant encoding when communicating with
* our peer. This is helpful to be able to lower parser and memory
* overhead.
@@ -266,6 +272,22 @@
   priv->invocations = g_hash_table_new_full (NULL, NULL, NULL, g_object_unref);
 }
 
+static gboolean
+emit_failed_from_main (JsonrpcClient *self)
+{
+  JsonrpcClientPrivate *priv = jsonrpc_client_get_instance_private (self);
+
+  g_assert (JSONRPC_IS_CLIENT (self));
+
+  if (!priv->emitted_failed)
+{
+  priv->emitted_failed = TRUE;
+  g_signal_emit (self, signals [FAILED], 0);
+}
+
+  return G_SOURCE_REMOVE;
+}
+
 /*
  * jsonrpc_client_panic:
  *
@@ -297,6 +319,16 @@
*/
   g_clear_object (>input_stream);
   g_clear_object (>output_stream);
+
+  /*
+   * Queue a "failed" signal from a main loop callback so that we don't
+   * get the client into weird stuff from signal callbacks here.
+   */
+  if (!priv->emitted_failed)
+g_idle_add_full (G_MAXINT,
+ (GSourceFunc)emit_failed_from_main,
+ g_object_ref (self),
+ g_object_unref);
 }
 
 /*
@@ -847,7 +879,7 @@
  * @method: the name of the method to call
  * @params: (transfer none) (nullable): A #GVariant of parameters or 

commit jsonrpc-glib for openSUSE:Factory

2018-03-14 Thread root
Hello community,

here is the log from the commit of package jsonrpc-glib for openSUSE:Factory 
checked in at 2018-03-14 19:33:04

Comparing /work/SRC/openSUSE:Factory/jsonrpc-glib (Old)
 and  /work/SRC/openSUSE:Factory/.jsonrpc-glib.new (New)


Package is "jsonrpc-glib"

Wed Mar 14 19:33:04 2018 rev:4 rq:586730 version:3.28.0

Changes:

--- /work/SRC/openSUSE:Factory/jsonrpc-glib/jsonrpc-glib.changes
2017-10-06 11:01:48.772201282 +0200
+++ /work/SRC/openSUSE:Factory/.jsonrpc-glib.new/jsonrpc-glib.changes   
2018-03-14 19:33:11.781650709 +0100
@@ -1,0 +2,69 @@
+Wed Mar 14 04:26:58 UTC 2018 - luc1...@linuxmail.org
+
+- Update to version 3.28.0:
+  + No visible changes.
+- Update URL tag to https://gitlab.gnome.org/GNOME/jsonrpc-glib:
+  the closest thing to a web page currently.
+
+---
+Wed Feb 28 16:33:47 UTC 2018 - dims...@opensuse.org
+
+- Modernize spec-file by calling spec-cleaner
+
+---
+Wed Feb 21 16:22:38 UTC 2018 - dims...@opensuse.org
+
+- Update to version 3.27.91:
+  + Add JsonrpcServer::client-accepted signal.
+  + Improvements to dispatching of errors when panic'ing the
+connection.
+  + Message parsing is more liberal in what it accepts as input.
+  + Default ABI visibility was set to hidden, making our ABI macros
+useful.
+- Update license tag to SPDX-3.0 format: LGPL-2.1-or-later.
+
+---
+Mon Feb  5 12:10:46 UTC 2018 - dims...@opensuse.org
+
+- Update to version 3.27.90:
+  + More documentation and GObject Introspection additions.
+  + Fixes for documentation and taking of floating references from
+GVariant params.
+  + The soname has been bumped since we altered the correctness of
+GVariant params. C-based programs mostly just need to be
+recompiled. Other bindings-based consumers should have their
+bindings regenerated if necessary.
+  + When panic'ing a connection (such as from a broken pipe) we now
+defer error propagation back to the main loop to avoid some
+re-entrancy complexity for applications.
+- Bump sover to 1_0-1 and rename the library packages to
+  libjsonrpc-glib-1_0-1, following upstreams change.
+
+---
+Fri Jan 12 03:16:19 UTC 2018 - luc1...@linuxmail.org
+
+- Update to version 3.27.4:
+  + The JSONRPC_MESSAGE_NEW_ARRAY() macro was added to allow for
+creating GVariant messages that are an array.
+  + A number of conformance tests were added.
+  + JsonrpcClient allows for detailed signals (G_SIGNAL_DETAILED)
+for notification and handle-call signals.
+  + JsonrpcServer gained new functionality to enumerate the number
+of connected clients.
+  + JsonrpcClient tries to hold on to an additional reference when
+panic is called.
+  + Message parsing can now support NULL strings using maybe types
+when encoding and decoding messages.
+- Update package descriptions making it shorter and more assertive.
+- Add gio-unix-2.0 and glib-2.0 pkgconfig modules BuildRequires:
+  They were being pulled with gio-2.0 pkgconfig module and used
+  already as all of them live in glib2-devel package.
+
+---
+Thu Oct 19 11:28:06 UTC 2017 - dims...@opensuse.org
+
+- Update to version 3.27.1:
+  + jsonrpc-glib now uses versioning macros similar to GLib or Gtk
+instead of a custom linker script for ABI exports.
+
+---
@@ -35,0 +105,2 @@
+
+

Old:

  jsonrpc-glib-3.26.1.tar.xz

New:

  jsonrpc-glib-3.28.0.tar.xz



Other differences:
--
++ jsonrpc-glib.spec ++
--- /var/tmp/diff_new_pack.bzLS1I/_old  2018-03-14 19:33:13.173601274 +0100
+++ /var/tmp/diff_new_pack.bzLS1I/_new  2018-03-14 19:33:13.205600138 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package jsonrpc-glib
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,42 +16,42 @@
 #
 
 
-%define sover 1_0-0
+%define sover 1_0-1
 Name:   jsonrpc-glib
-Version:3.26.1
+Version:3.28.0
 Release:0
 Summary:Library to communicate with JSON-RPC based peers
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Development/Libraries/GNOME
-Url:https://git.gnome.org/browse/jsonrpc-glib/
-Source: 

commit jsonrpc-glib for openSUSE:Factory

2017-10-06 Thread root
Hello community,

here is the log from the commit of package jsonrpc-glib for openSUSE:Factory 
checked in at 2017-10-06 11:01:32

Comparing /work/SRC/openSUSE:Factory/jsonrpc-glib (Old)
 and  /work/SRC/openSUSE:Factory/.jsonrpc-glib.new (New)


Package is "jsonrpc-glib"

Fri Oct  6 11:01:32 2017 rev:3 rq:531695 version:3.26.1

Changes:

--- /work/SRC/openSUSE:Factory/jsonrpc-glib/jsonrpc-glib.changes
2017-09-13 21:53:29.486713494 +0200
+++ /work/SRC/openSUSE:Factory/.jsonrpc-glib.new/jsonrpc-glib.changes   
2017-10-06 11:01:48.772201282 +0200
@@ -1,0 +2,14 @@
+Thu Oct  5 01:41:06 UTC 2017 - luc1...@linuxmail.org
+
+- Update to version 3.26.1:
+  + Require -std=gnu11 in project config. We always required this,
+but previously we were relying on the default GCC flags to do
+so.
+  + Fix improper use of va_list on non-Intel architectures.
+  + JsonrpcOutputStream now properly checks for pending operations
+before flushing, so that an error is not incorrectly
+synthesized.
+  + Improved error propagation from data streams.
+  + Correctness fixes for stress tests.
+
+---

Old:

  jsonrpc-glib-3.26.0.tar.xz

New:

  jsonrpc-glib-3.26.1.tar.xz



Other differences:
--
++ jsonrpc-glib.spec ++
--- /var/tmp/diff_new_pack.96cJvm/_old  2017-10-06 11:01:49.256128104 +0200
+++ /var/tmp/diff_new_pack.96cJvm/_new  2017-10-06 11:01:49.260127500 +0200
@@ -18,7 +18,7 @@
 
 %define sover 1_0-0
 Name:   jsonrpc-glib
-Version:3.26.0
+Version:3.26.1
 Release:0
 Summary:Library to communicate with JSON-RPC based peers
 License:LGPL-2.1+

++ jsonrpc-glib-3.26.0.tar.xz -> jsonrpc-glib-3.26.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.26.0/NEWS new/jsonrpc-glib-3.26.1/NEWS
--- old/jsonrpc-glib-3.26.0/NEWS2017-09-11 23:36:47.0 +0200
+++ new/jsonrpc-glib-3.26.1/NEWS2017-10-03 22:20:30.0 +0200
@@ -1,4 +1,18 @@
 ==
+Version 3.26.1
+==
+
+Changes in this release:
+
+ • Require -std=gnu11 in project config. We always required this, but
+   previously we were relying on the default GCC flags to do so.
+ • Fix improper use of va_list on non-Intel architectures.
+ • JsonrpcOutputStream now properly checks for pending operations before
+   flushing, so that an error is not incorrectly synthesized.
+ • Improved error propagation from data streams.
+ • Correctness fixes for stress tests.
+
+==
 Version 3.26.0
 ==
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.26.0/meson.build 
new/jsonrpc-glib-3.26.1/meson.build
--- old/jsonrpc-glib-3.26.0/meson.build 2017-09-11 23:36:47.0 +0200
+++ new/jsonrpc-glib-3.26.1/meson.build 2017-10-03 22:20:30.0 +0200
@@ -1,8 +1,8 @@
 project('jsonrpc-glib', 'c',
-  version: '3.26.0',
+  version: '3.26.1',
   license: 'LGPLv2.1+',
 meson_version: '>= 0.40.1',
-  default_options: [ 'warning_level=1', 'buildtype=debugoptimized' ],
+  default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 
'c_std=gnu11' ],
 )
 
 version_arr = meson.project_version().split('.')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.26.0/src/jsonrpc-client.c 
new/jsonrpc-glib-3.26.1/src/jsonrpc-client.c
--- old/jsonrpc-glib-3.26.0/src/jsonrpc-client.c2017-09-11 
23:36:47.0 +0200
+++ new/jsonrpc-glib-3.26.1/src/jsonrpc-client.c2017-10-03 
22:20:30.0 +0200
@@ -1138,7 +1138,7 @@
 {
   JsonrpcClientPrivate *priv = jsonrpc_client_get_instance_private (self);
   g_autoptr(GHashTable) invocations = NULL;
-  g_autoptr(GError) close_error = NULL;
+  gboolean ret;
 
   g_return_val_if_fail (JSONRPC_IS_CLIENT (self), FALSE);
   g_return_val_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable), FALSE);
@@ -1151,8 +1151,10 @@
   if (!g_cancellable_is_cancelled (priv->read_loop_cancellable))
 g_cancellable_cancel (priv->read_loop_cancellable);
 
-  if (!g_io_stream_close (priv->io_stream, cancellable, _error))
-g_warning ("%s", close_error->message);
+  /* This can fail from "pending operations", but we will always cancel
+   * our tasks. But we should let the caller know either way.
+   */
+  ret = g_io_stream_close (priv->io_stream, cancellable, error);
 
   /*
* Closing the input stream will fail, so just rely on the callback
@@ -1177,7 +1179,7 @@
 g_task_return_error (task, g_error_copy (local_error));
 }
 
-  return TRUE;
+  return ret;
 }
 
 /**
diff -urN 

commit jsonrpc-glib for openSUSE:Factory

2017-09-13 Thread root
Hello community,

here is the log from the commit of package jsonrpc-glib for openSUSE:Factory 
checked in at 2017-09-13 21:53:28

Comparing /work/SRC/openSUSE:Factory/jsonrpc-glib (Old)
 and  /work/SRC/openSUSE:Factory/.jsonrpc-glib.new (New)


Package is "jsonrpc-glib"

Wed Sep 13 21:53:28 2017 rev:2 rq:523541 version:3.26.0

Changes:

--- /work/SRC/openSUSE:Factory/jsonrpc-glib/jsonrpc-glib.changes
2017-08-30 16:22:13.841697571 +0200
+++ /work/SRC/openSUSE:Factory/.jsonrpc-glib.new/jsonrpc-glib.changes   
2017-09-13 21:53:29.486713494 +0200
@@ -1,0 +2,17 @@
+Tue Sep 12 00:24:11 UTC 2017 - zai...@opensuse.org
+
+- Update to version 3.26.0:
+  + Run test suite as part of build tooling.
+- Enable gtk-doc BuildRequires, build documentation.
+- Add enable_profiling=false, enable_gtk_doc=true and
+  enable_tests=false to meson, ensure we build the features we
+  want.
+
+---
+Thu Sep  7 08:28:47 UTC 2017 - dims...@opensuse.org
+
+- Update to version 3.25.92:
+  + Check for version-script support from linker.
+  + Fix impossible comparison in JsonrpcInputStream.
+
+---

Old:

  jsonrpc-glib-3.25.3.tar.xz

New:

  jsonrpc-glib-3.26.0.tar.xz



Other differences:
--
++ jsonrpc-glib.spec ++
--- /var/tmp/diff_new_pack.SKXmfX/_old  2017-09-13 21:53:31.174476032 +0200
+++ /var/tmp/diff_new_pack.SKXmfX/_new  2017-09-13 21:53:31.178475469 +0200
@@ -18,15 +18,14 @@
 
 %define sover 1_0-0
 Name:   jsonrpc-glib
-Version:3.25.3
+Version:3.26.0
 Release:0
 Summary:Library to communicate with JSON-RPC based peers
 License:LGPL-2.1+
 Group:  Development/Libraries/GNOME
 Url:https://git.gnome.org/browse/jsonrpc-glib/
-Source: 
http://download.gnome.org/sources/%{name}/3.25/%{name}-%{version}.tar.xz
-# Disabled due to meson issues
-#BuildRequires:  gtk-doc
+Source: 
http://download.gnome.org/sources/jsonrpc-glib/3.26/%{name}-%{version}.tar.xz
+BuildRequires:  gtk-doc
 BuildRequires:  meson >= 0.38.1
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(gio-2.0)
@@ -80,10 +79,12 @@
 %autosetup
 
 %build
-#  -Denable_gtk_doc=true \ ## Disabled due to meson issues
 %{meson} \
+   -Denable_profiling=false \
-Dwith_introspection=true \
-Dwith_vapi=true \
+   -Denable_gtk_doc=true \
+   -Denable_tests=false \
%{nil}
 %{meson_build}
 
@@ -102,6 +103,7 @@
 
 %files devel
 %doc AUTHORS CONTRIBUTING.md NEWS README.md
+%doc %{_datadir}/gtk-doc/html/jsonrpc-glib/
 %dir %{_includedir}/jsonrpc-glib-1.0
 %{_includedir}/jsonrpc-glib-1.0/jsonrpc-*.h
 %{_libdir}/libjsonrpc_glib-1.0.so

++ jsonrpc-glib-3.25.3.tar.xz -> jsonrpc-glib-3.26.0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.25.3/NEWS new/jsonrpc-glib-3.26.0/NEWS
--- old/jsonrpc-glib-3.25.3/NEWS2017-06-19 05:15:04.0 +0200
+++ new/jsonrpc-glib-3.26.0/NEWS2017-09-11 23:36:47.0 +0200
@@ -1,4 +1,21 @@
 ==
+Version 3.26.0
+==
+
+Changes in this release:
+
+ • Run test suite as part of build tooling
+
+===
+Version 3.25.92
+===
+
+Changes in this release:
+
+ • Check for version-script support from linker
+ • Fix impossible comparison in JsonrpcInputStream
+
+==
 Version 3.25.3
 ==
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpc-glib-3.25.3/meson.build 
new/jsonrpc-glib-3.26.0/meson.build
--- old/jsonrpc-glib-3.25.3/meson.build 2017-06-19 05:15:04.0 +0200
+++ new/jsonrpc-glib-3.26.0/meson.build 2017-09-11 23:36:47.0 +0200
@@ -1,7 +1,7 @@
 project('jsonrpc-glib', 'c',
-  version: '3.25.3',
+  version: '3.26.0',
   license: 'LGPLv2.1+',
-meson_version: '>= 0.38.1',
+meson_version: '>= 0.40.1',
   default_options: [ 'warning_level=1', 'buildtype=debugoptimized' ],
 )
 
@@ -82,6 +82,12 @@
   language: 'c'
 )
 
+# Check if we can use version scripts for ABI exports
+ld_supports_version_script = cc.links('''
+  int main (void) { return 0; }
+''', args: '-Wl,--version-script,' + join_paths(meson.source_root(), 
'src/jsonrpc-glib.map'))
+message('Linker supports --version-script: 
@0@'.format(ld_supports_version_script))
+
 # Setup various paths that subdirectory meson.build files need
 package_subdir = get_option('package_subdir')
 girdir = join_paths(get_option('datadir'), package_subdir, 'gir-1.0')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore'