<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glib.git/tests/gobject, branch require-python34</title>
<subtitle>gitlab.gnome.org: GNOME/glib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/'/>
<entry>
<title>Deprecate g_type_class_add_private()</title>
<updated>2018-06-14T10:33:53+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2018-05-25T09:06:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=7e5db31d36532274c2b2428ef9bace796928785e'/>
<id>7e5db31d36532274c2b2428ef9bace796928785e</id>
<content type='text'>
It's been 4 years and 8 development cycles since we introduced
G_ADD_PRIVATE and offset-based private data access. It is now
time to finally deprecate the old mechanism.

Closes: #699
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's been 4 years and 8 development cycles since we introduced
G_ADD_PRIVATE and offset-based private data access. It is now
time to finally deprecate the old mechanism.

Closes: #699
</pre>
</div>
</content>
</entry>
<entry>
<title>Classify the tests</title>
<updated>2018-06-10T14:33:06+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2018-06-10T14:33:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=16d1a3d28ce02b5d83f913a563dfcbe7cbd6184e'/>
<id>16d1a3d28ce02b5d83f913a563dfcbe7cbd6184e</id>
<content type='text'>
Meson has the ability to classify tests according to "suites", a list of
tags. This is especially useful when we want to run specific sets of
tests — e.g. only GLib's tests — instead of the whole test suite. It
also allows us to classify special tests, like "slow" ones, so that we
can only run them when needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Meson has the ability to classify tests according to "suites", a list of
tags. This is especially useful when we want to run specific sets of
tests — e.g. only GLib's tests — instead of the whole test suite. It
also allows us to classify special tests, like "slow" ones, so that we
can only run them when needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove developer script not needed in git repository</title>
<updated>2018-06-05T02:27:22+00:00</updated>
<author>
<name>Xavier Claessens</name>
<email>xavier.claessens@collabora.com</email>
</author>
<published>2018-06-05T02:25:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=27ec1469ab1585030feafc0ffab9e552ee2969a7'/>
<id>27ec1469ab1585030feafc0ffab9e552ee2969a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove old tests not being built since 2012</title>
<updated>2018-06-05T02:18:02+00:00</updated>
<author>
<name>Xavier Claessens</name>
<email>xavier.claessens@collabora.com</email>
</author>
<published>2018-06-05T02:18:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=b04cf01934b5def7f787631dd8d35e950e46df2d'/>
<id>b04cf01934b5def7f787631dd8d35e950e46df2d</id>
<content type='text'>
Those tests are failing and are not built since commit d6a075b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Those tests are failing and are not built since commit d6a075b
</pre>
</div>
</content>
</entry>
<entry>
<title>gobject: Reimplement g_param_values_cmp() for GParamSpecVariant</title>
<updated>2018-05-04T17:17:59+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>withnall@endlessm.com</email>
</author>
<published>2018-05-04T09:13:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=cc4de801c9643b62c5566d4d9dc3439ca801a4e6'/>
<id>cc4de801c9643b62c5566d4d9dc3439ca801a4e6</id>
<content type='text'>
The existing implementation was completely incorrect (despite the fix in
commit 566e64a66) — it always compared GVariants by pointer, rather than
by value.

Reimplement it to compare them by value where possible, depending on
their type. The core of this implementation is g_variant_compare(). See
the documentation and tests for further details of the new sort order.

This adds documentation and tests.

Signed-off-by: Philip Withnall &lt;withnall@endlessm.com&gt;

https://bugzilla.gnome.org/show_bug.cgi?id=795735
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The existing implementation was completely incorrect (despite the fix in
commit 566e64a66) — it always compared GVariants by pointer, rather than
by value.

Reimplement it to compare them by value where possible, depending on
their type. The core of this implementation is g_variant_compare(). See
the documentation and tests for further details of the new sort order.

This adds documentation and tests.

Signed-off-by: Philip Withnall &lt;withnall@endlessm.com&gt;

https://bugzilla.gnome.org/show_bug.cgi?id=795735
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize variables before using them</title>
<updated>2018-03-28T10:49:59+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2018-03-27T15:41:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=94d4e8b2fb64a39104f4b65e7d62bdec0d2b5ce7'/>
<id>94d4e8b2fb64a39104f4b65e7d62bdec0d2b5ce7</id>
<content type='text'>
Avoid a compiler warning when using the average, minimum, and maximum
elapsed variables without initializing them.

https://bugzilla.gnome.org/show_bug.cgi?id=794732
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid a compiler warning when using the average, minimum, and maximum
elapsed variables without initializing them.

https://bugzilla.gnome.org/show_bug.cgi?id=794732
</pre>
</div>
</content>
</entry>
<entry>
<title>gobject: fix typecasts via g_object_ref</title>
<updated>2017-12-04T11:42:58+00:00</updated>
<author>
<name>Christian Hergert</name>
<email>chergert@redhat.com</email>
</author>
<published>2017-11-22T08:00:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=f44472e7157e7a09876b241a629da8597eee33b5'/>
<id>f44472e7157e7a09876b241a629da8597eee33b5</id>
<content type='text'>
Now that g_object_ref() propagates the parameter type to the
return value, we need to cast to ensure the result is warning
free.

https://bugzilla.gnome.org/show_bug.cgi?id=790697
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that g_object_ref() propagates the parameter type to the
return value, we need to cast to ensure the result is warning
free.

https://bugzilla.gnome.org/show_bug.cgi?id=790697
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Drop --enable-rebuilds configure option</title>
<updated>2017-11-17T15:11:47+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>withnall@endlessm.com</email>
</author>
<published>2017-11-17T13:51:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=f2c093f6571645d80b2d37bb193e991092ee9737'/>
<id>f2c093f6571645d80b2d37bb193e991092ee9737</id>
<content type='text'>
It is outdated and no longer effectively used. It was originally in
place to prevent rebuilding generated files (from a tarball) if the
right build tools (awk, Perl, indent) were not available. However, we no
longer use indent, we have hard-required awk for a while, and the only
places the @REBUILD@ substitution was still used were for
glib-genmarshal, which has recently been rewritten in Python (so no
longer depends on whether Perl is available).

Drop the whole lot.

Signed-off-by: Philip Withnall &lt;withnall@endlessm.com&gt;

https://bugzilla.gnome.org/show_bug.cgi?id=694723
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is outdated and no longer effectively used. It was originally in
place to prevent rebuilding generated files (from a tarball) if the
right build tools (awk, Perl, indent) were not available. However, we no
longer use indent, we have hard-required awk for a while, and the only
places the @REBUILD@ substitution was still used were for
glib-genmarshal, which has recently been rewritten in Python (so no
longer depends on whether Perl is available).

Drop the whole lot.

Signed-off-by: Philip Withnall &lt;withnall@endlessm.com&gt;

https://bugzilla.gnome.org/show_bug.cgi?id=694723
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Re-wire the testgobject test program to the build system</title>
<updated>2017-11-17T12:27:10+00:00</updated>
<author>
<name>Emanuele Aina</name>
<email>emanuele.aina@collabora.com</email>
</author>
<published>2013-06-13T09:30:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=e73831d808da70df274bf7107c3290df509859b7'/>
<id>e73831d808da70df274bf7107c3290df509859b7</id>
<content type='text'>
After the build system rework in commit f9eb9e testgobject fell through
the cracks and was not built since then.

Re-enable it, even if it is currently failing due to commit 31fde56.

(Tweaked by Philip Withnall to add meson.build support.)

https://bugzilla.gnome.org/show_bug.cgi?id=701156
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the build system rework in commit f9eb9e testgobject fell through
the cracks and was not built since then.

Re-enable it, even if it is currently failing due to commit 31fde56.

(Tweaked by Philip Withnall to add meson.build support.)

https://bugzilla.gnome.org/show_bug.cgi?id=701156
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Don't assume that private data follows the instance data</title>
<updated>2017-11-17T12:26:23+00:00</updated>
<author>
<name>Emanuele Aina</name>
<email>emanuele.aina@collabora.com</email>
</author>
<published>2013-05-28T20:45:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=edcabe1a4e55b3b541c2e0afcece3ba175b67dba'/>
<id>edcabe1a4e55b3b541c2e0afcece3ba175b67dba</id>
<content type='text'>
Commit 31fde56 changed the way the private data is laid out in memory by
putting it *before* the instance data to keep the offsets fixed
regardless of the number of many subclasses.

This means that the invariant testgobject was verifying is no longer
true and the failing tests can be safely dropped.

https://bugzilla.gnome.org/show_bug.cgi?id=701156
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 31fde56 changed the way the private data is laid out in memory by
putting it *before* the instance data to keep the offsets fixed
regardless of the number of many subclasses.

This means that the invariant testgobject was verifying is no longer
true and the failing tests can be safely dropped.

https://bugzilla.gnome.org/show_bug.cgi?id=701156
</pre>
</div>
</content>
</entry>
</feed>
