<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glib.git/tests/gobject/paramspec-test.c, 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>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>tests/: LGPLv2+ -&gt; LGPLv2.1+</title>
<updated>2017-05-29T17:53:35+00:00</updated>
<author>
<name>Sébastien Wilmet</name>
<email>swilmet@gnome.org</email>
</author>
<published>2017-05-28T12:09:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=f6c44ec3e44557463721a54b7b6fe0264c6d2424'/>
<id>f6c44ec3e44557463721a54b7b6fe0264c6d2424</id>
<content type='text'>
gen-casefold-txt.pl and gen-casemap-txt.pl are licensed under GPLv2+, so
they are not touched by this commit.

A lot of *.c files in tests/ don't have a license header.

https://bugzilla.gnome.org/show_bug.cgi?id=776504
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gen-casefold-txt.pl and gen-casemap-txt.pl are licensed under GPLv2+, so
they are not touched by this commit.

A lot of *.c files in tests/ don't have a license header.

https://bugzilla.gnome.org/show_bug.cgi?id=776504
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated FSF's address</title>
<updated>2014-01-31T13:31:55+00:00</updated>
<author>
<name>Daniel Mustieles</name>
<email>daniel.mustieles@gmail.com</email>
</author>
<published>2014-01-23T11:58:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=078dbda148a81af1b3a76fbda72f089b963087f1'/>
<id>078dbda148a81af1b3a76fbda72f089b963087f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>paramspec-test: Fix leaks in tests</title>
<updated>2013-11-11T06:26:53+00:00</updated>
<author>
<name>Stef Walter</name>
<email>stefw@gnome.org</email>
</author>
<published>2013-11-10T14:56:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=1b9662046f4c98b8aa8aff63a0bbbfde3b6bf3f7'/>
<id>1b9662046f4c98b8aa8aff63a0bbbfde3b6bf3f7</id>
<content type='text'>
https://bugzilla.gnome.org/show_bug.cgi?id=711779
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.gnome.org/show_bug.cgi?id=711779
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove g_type_init() calls</title>
<updated>2012-10-16T13:39:24+00:00</updated>
<author>
<name>Ryan Lortie</name>
<email>desrt@desrt.ca</email>
</author>
<published>2012-10-15T16:00:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=1dc774a653e992e1153fbed16f90097fa8db467f'/>
<id>1dc774a653e992e1153fbed16f90097fa8db467f</id>
<content type='text'>
Very many testcases, some GLib tools (resource compiler, etc) and
GApplication were calling g_type_init().

Remove those uses, as they are no longer required.

https://bugzilla.gnome.org/show_bug.cgi?id=686161
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Very many testcases, some GLib tools (resource compiler, etc) and
GApplication were calling g_type_init().

Remove those uses, as they are no longer required.

https://bugzilla.gnome.org/show_bug.cgi?id=686161
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Use G_VALUE_INIT</title>
<updated>2011-10-02T16:22:57+00:00</updated>
<author>
<name>Javier Jardón</name>
<email>jjardon@gnome.org</email>
</author>
<published>2011-09-30T16:21:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=3659ca99f5ae2058b53a2fefe052926fe2e1858f'/>
<id>3659ca99f5ae2058b53a2fefe052926fe2e1858f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gvalue: Add explicitly signed g_value_get_schar() and g_value_set_schar()</title>
<updated>2011-09-23T00:05:38+00:00</updated>
<author>
<name>Colin Walters</name>
<email>walters@verbum.org</email>
</author>
<published>2011-09-22T20:08:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=f42fe6cdc056b77f74ff6e332389d444c50ae7dc'/>
<id>f42fe6cdc056b77f74ff6e332389d444c50ae7dc</id>
<content type='text'>
The documentation for G_TYPE_CHAR says:

"The type designated by G_TYPE_CHAR is unconditionally an 8-bit signed
 integer."

However the return value for g_value_get_char() was just "char" which
in C has an unspecified signedness; on e.g. x86 it's signed (which
matches the GType), but on e.g. PowerPC or ARM, it's not.

We can't break the old API, so we need to suck it up and add new API.
Port most internal users, but keep some tests of the old API too.

https://bugzilla.gnome.org/show_bug.cgi?id=659870
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The documentation for G_TYPE_CHAR says:

"The type designated by G_TYPE_CHAR is unconditionally an 8-bit signed
 integer."

However the return value for g_value_get_char() was just "char" which
in C has an unspecified signedness; on e.g. x86 it's signed (which
matches the GType), but on e.g. PowerPC or ARM, it's not.

We can't break the old API, so we need to suck it up and add new API.
Port most internal users, but keep some tests of the old API too.

https://bugzilla.gnome.org/show_bug.cgi?id=659870
</pre>
</div>
</content>
</entry>
<entry>
<title>Add fundamental type and pspec for GVariant</title>
<updated>2010-06-17T19:00:54+00:00</updated>
<author>
<name>Christian Persch</name>
<email>chpe@gnome.org</email>
</author>
<published>2010-06-17T16:03:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=4708b8ecc3f00e49aa98cb5989b5474a3257906c'/>
<id>4708b8ecc3f00e49aa98cb5989b5474a3257906c</id>
<content type='text'>
Make G_TYPE_VARIANT a fundamental type instead of boxed, and add
g_variant_{set,get,dup}_variant.

Add GParamSpecVariant.

Bug #610863.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make G_TYPE_VARIANT a fundamental type instead of boxed, and add
g_variant_{set,get,dup}_variant.

Add GParamSpecVariant.

Bug #610863.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the g_test_add macro work with gcc 4.3</title>
<updated>2008-02-11T18:28:42+00:00</updated>
<author>
<name>Matthias Clasen</name>
<email>mclasen@redhat.com</email>
</author>
<published>2008-02-11T18:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=f5542c90e3ee184dc9936ec4d816da14d2a2660d'/>
<id>f5542c90e3ee184dc9936ec4d816da14d2a2660d</id>
<content type='text'>
2008-02-10  Matthias Clasen &lt;mclasen@redhat.com&gt;

        * glib/gtestutils.h: Make the g_test_add macro work with
        gcc 4.3

        * tests/gobject/paramspec-test.c: Adapt to recent changes in
        GParamGType initialization.


svn path=/trunk/; revision=6500
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2008-02-10  Matthias Clasen &lt;mclasen@redhat.com&gt;

        * glib/gtestutils.h: Make the g_test_add macro work with
        gcc 4.3

        * tests/gobject/paramspec-test.c: Adapt to recent changes in
        GParamGType initialization.


svn path=/trunk/; revision=6500
</pre>
</div>
</content>
</entry>
<entry>
<title>don't free or modify static strings, dup them when needed and clear the</title>
<updated>2007-04-24T13:36:58+00:00</updated>
<author>
<name>Michael Natterer</name>
<email>mitch@imendio.com</email>
</author>
<published>2007-04-24T13:36:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=325bd373d4d730d96aee740daed4bc2b70b8ea07'/>
<id>325bd373d4d730d96aee740daed4bc2b70b8ea07</id>
<content type='text'>
2007-04-24  Michael Natterer  &lt;mitch@imendio.com&gt;

	* gobject/gparamspecs.c (param_string_validate): don't free or
	modify static strings, dup them when needed and clear the
	G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.

	* tests/gobject/paramspec-test.c: test all GParamSpecString
	validations with static and allocated strings.


svn path=/trunk/; revision=5454
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2007-04-24  Michael Natterer  &lt;mitch@imendio.com&gt;

	* gobject/gparamspecs.c (param_string_validate): don't free or
	modify static strings, dup them when needed and clear the
	G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.

	* tests/gobject/paramspec-test.c: test all GParamSpecString
	validations with static and allocated strings.


svn path=/trunk/; revision=5454
</pre>
</div>
</content>
</entry>
</feed>
