Hello community,
here is the log from the commit of package perl-Glib-Object-Introspection for
openSUSE:Factory checked in at 2015-02-27 11:09:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Glib-Object-Introspection (Old)
and /work/SRC/openSUSE:Factory/.perl-Glib-Object-Introspection.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Glib-Object-Introspection"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.changes
2015-01-29 09:56:54.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Glib-Object-Introspection.new/perl-Glib-Object-Introspection.changes
2015-02-27 11:09:45.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Feb 26 11:07:01 UTC 2015 - [email protected]
+
+- Update to 0.028:
+ * Harmonize the format of type names in error messages.
+ * Add a FIXME about a corner case of GInitiallyUnowned handling.
+
+-------------------------------------------------------------------
Old:
----
Glib-Object-Introspection-0.027.tar.gz
New:
----
Glib-Object-Introspection-0.028.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Glib-Object-Introspection.spec ++++++
--- /var/tmp/diff_new_pack.4Qx4wY/_old 2015-02-27 11:09:46.000000000 +0100
+++ /var/tmp/diff_new_pack.4Qx4wY/_new 2015-02-27 11:09:46.000000000 +0100
@@ -18,7 +18,7 @@
%define cpan_name Glib-Object-Introspection
Name: perl-Glib-Object-Introspection
-Version: 0.027
+Version: 0.028
Release: 0
Summary: GObject Introspection bindings for Perl
License: LGPL-2.1+
++++++ Glib-Object-Introspection-0.027.tar.gz ->
Glib-Object-Introspection-0.028.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Glib-Object-Introspection-0.027/GObjectIntrospection.xs
new/Glib-Object-Introspection-0.028/GObjectIntrospection.xs
--- old/Glib-Object-Introspection-0.027/GObjectIntrospection.xs 2014-09-29
22:26:17.000000000 +0200
+++ new/Glib-Object-Introspection-0.028/GObjectIntrospection.xs 2015-02-24
06:23:59.000000000 +0100
@@ -397,7 +397,7 @@
info_type = g_base_info_get_type (info);
name = g_base_info_get_name (info);
- dwarn ("setting up %s.%s\n", namespace, name);
+ dwarn ("setting up %s::%s\n", namespace, name);
if (info_type == GI_INFO_TYPE_CONSTANT) {
av_push (constants, newSVpv (name, 0));
@@ -448,7 +448,7 @@
type = get_gtype ((GIRegisteredTypeInfo *) info);
if (!type) {
- ccroak ("Could not find GType for type %s::%s",
+ ccroak ("Could not find GType for type %s%s",
namespace, name);
}
if (type == G_TYPE_NONE) {
@@ -543,7 +543,7 @@
reg_info = g_irepository_find_by_name (repository, reg_basename,
reg_name);
reg_type = reg_info ? get_gtype (reg_info) : 0;
if (!reg_type)
- ccroak ("Could not lookup GType for type %s.%s",
+ ccroak ("Could not lookup GType for type %s%s",
reg_basename, reg_name);
/* The GType in question (e.g., GdkRectangle) hasn't been loaded yet,
@@ -759,7 +759,7 @@
GType gtype;
gpointer klass;
CODE:
- dwarn ("_install_overrides: %s.%s for %s\n",
+ dwarn ("_install_overrides: %s%s for %s\n",
basename, object_name, target_package);
repository = g_irepository_get_default ();
info = g_irepository_find_by_name (repository, basename, object_name);
@@ -856,7 +856,7 @@
gint field_offset;
gpointer func_pointer;
PPCODE:
- dwarn ("_invoke_fallback_vfunc: %s.%s, target = %s\n",
+ dwarn ("_invoke_fallback_vfunc: %s::%s, target = %s\n",
vfunc_package, vfunc_name, target_package);
gtype = gperl_object_type_from_package (target_package);
klass = g_type_class_peek (gtype);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Glib-Object-Introspection-0.027/META.json
new/Glib-Object-Introspection-0.028/META.json
--- old/Glib-Object-Introspection-0.027/META.json 2015-01-28
00:46:51.000000000 +0100
+++ new/Glib-Object-Introspection-0.028/META.json 2015-02-26
07:59:14.000000000 +0100
@@ -4,7 +4,7 @@
"Glib::Object::Introspection Team <gtk-perl-list at gnome dot org>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter
version 2.143240",
+ "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter
version 2.143240",
"license" : [
"lgpl_2_1"
],
@@ -66,5 +66,5 @@
"x_IRC" : "irc://irc.gimp.org/#gtk-perl",
"x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list"
},
- "version" : "0.027"
+ "version" : "0.028"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Glib-Object-Introspection-0.027/META.yml
new/Glib-Object-Introspection-0.028/META.yml
--- old/Glib-Object-Introspection-0.027/META.yml 2015-01-28
00:46:51.000000000 +0100
+++ new/Glib-Object-Introspection-0.028/META.yml 2015-02-26
07:59:14.000000000 +0100
@@ -10,7 +10,7 @@
ExtUtils::PkgConfig: '1'
Glib: '1.28'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version
2.143240'
+generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version
2.143240'
license: lgpl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -36,4 +36,4 @@
homepage: http://gtk2-perl.sourceforge.net
license: http://www.gnu.org/licenses/lgpl-2.1.html
repository: git://git.gnome.org/perl-Glib-Object-Introspection
-version: '0.027'
+version: '0.028'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Glib-Object-Introspection-0.027/NEWS
new/Glib-Object-Introspection-0.028/NEWS
--- old/Glib-Object-Introspection-0.027/NEWS 2015-01-28 00:42:30.000000000
+0100
+++ new/Glib-Object-Introspection-0.028/NEWS 2015-02-26 07:58:23.000000000
+0100
@@ -1,3 +1,9 @@
+Overview of changes in Glib::Object::Introspection 0.028
+========================================================
+
+* Harmonize the format of type names in error messages
+* Add a FIXME about a corner case of GInitiallyUnowned handling
+
Overview of changes in Glib::Object::Introspection 0.027
========================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Glib-Object-Introspection-0.027/gperl-i11n-invoke-c.c
new/Glib-Object-Introspection-0.028/gperl-i11n-invoke-c.c
--- old/Glib-Object-Introspection-0.027/gperl-i11n-invoke-c.c 2015-01-13
07:29:07.000000000 +0100
+++ new/Glib-Object-Introspection-0.028/gperl-i11n-invoke-c.c 2015-02-24
06:23:59.000000000 +0100
@@ -438,7 +438,24 @@
/* We need to undo the special handling that GInitiallyUnowned
* descendants receive from gobject-introspection: values of this type
- * are always marked transfer=none, even for constructors. */
+ * are always marked transfer=none, even for constructors.
+ *
+ * FIXME: This is not correct for GtkWindow and its descendants, as
+ * gtk+ keeps an internal reference to each window. Hence,
+ * constructors like gtk_window_new return a non-floating object and do
+ * not pass ownership of a reference on to us. But the sink func
+ * currently registered for GInitiallyUnowned (sink_initially_unowned
+ * in GObject.xs in Glib) is actually inadvertently conforming to this
+ * requirement. It runs ref_sink+unref regardless of whether the
+ * object is floating or not. So, in the non-floating window case, it
+ * does nothing, resulting in an extra reference taken, despite the
+ * request to transfer ownership.
+ *
+ * If we ever encounter a constructor of a GInitiallyUnowned descendant
+ * that returns a non-floating object and passes ownership of a
+ * reference on to us, or a constructor of a GInitiallyUnowned
+ * descendant that returns a floating object but passes no reference on
+ * to us, then we need to revisit this. */
if (iinfo->is_constructor &&
g_type_info_get_tag (iinfo->base.return_type_info) ==
GI_TYPE_TAG_INTERFACE)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Glib-Object-Introspection-0.027/lib/Glib/Object/Introspection.pm
new/Glib-Object-Introspection-0.028/lib/Glib/Object/Introspection.pm
--- old/Glib-Object-Introspection-0.027/lib/Glib/Object/Introspection.pm
2015-01-28 00:45:05.000000000 +0100
+++ new/Glib-Object-Introspection-0.028/lib/Glib/Object/Introspection.pm
2015-02-26 07:58:47.000000000 +0100
@@ -19,7 +19,7 @@
use warnings;
use Glib;
-our $VERSION = '0.027';
+our $VERSION = '0.028';
use Carp;
$Carp::Internal{(__PACKAGE__)}++;
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]