<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glib.git/gobject/tests/threadtests.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>g_usleep: round up the next millisecond on Windows. See #1371</title>
<updated>2018-05-27T07:23:25+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>reiter.christoph@gmail.com</email>
</author>
<published>2018-05-10T18:30:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=01c02ac08b682de622930b1278c9c14d0ffe6c49'/>
<id>01c02ac08b682de622930b1278c9c14d0ffe6c49</id>
<content type='text'>
The timer tests expect that a small value for sleep does not result in
no sleep at all. Round up to the next millisecond to bring it more in line
with other platforms.

This fixes the glib/timer tests.

This makes the 'threadtests' time out since that uses small usleeps a lot and
until now didn't wait at all, but now always waits a msec. Reduce the amount
of tests done on Windows to get the runtime down to something reasonable again.

https://bugzilla.gnome.org/show_bug.cgi?id=795569
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The timer tests expect that a small value for sleep does not result in
no sleep at all. Round up to the next millisecond to bring it more in line
with other platforms.

This fixes the glib/timer tests.

This makes the 'threadtests' time out since that uses small usleeps a lot and
until now didn't wait at all, but now always waits a msec. Reduce the amount
of tests done on Windows to get the runtime down to something reasonable again.

https://bugzilla.gnome.org/show_bug.cgi?id=795569
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop trailing semi-colon from G_DEFINE_ macro</title>
<updated>2017-04-10T09:38:31+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2014-10-17T10:54:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=f952fdf3fcb00946317ecb2672e9d2c99c74c7a3'/>
<id>f952fdf3fcb00946317ecb2672e9d2c99c74c7a3</id>
<content type='text'>
It's unnecessary, and only adds visual noise; we have been fairly
inconsistent in the past, but the semi-colon-less version clearly
dominates in the code base.

https://bugzilla.gnome.org/show_bug.cgi?id=669355
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's unnecessary, and only adds visual noise; we have been fairly
inconsistent in the past, but the semi-colon-less version clearly
dominates in the code base.

https://bugzilla.gnome.org/show_bug.cgi?id=669355
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: replace most g_print() with g_printerr()</title>
<updated>2015-05-11T19:24:56+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2015-05-11T16:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=45dae4b5063f9af7de8211ced95dd73cc770a86e'/>
<id>45dae4b5063f9af7de8211ced95dd73cc770a86e</id>
<content type='text'>
I searched all files that mention g_test_run, and replaced most
g_print() calls. This avoids interfering with TAP. Exceptions:

* gio/tests/network-monitor: a manual mode that is run by
  "./network-monitor --watch" is unaffected
* glib/gtester.c: not a test
* glib/gtestutils.c: not a test
* glib/tests/logging.c: specifically exercising g_print()
* glib/tests/markup-parse.c: a manual mode that is run by
  "./markup-parse --cdata-as-text" is unaffected
* glib/tests/testing.c: specifically exercising capture of stdout
  in subprocesses
* glib/tests/utils.c: captures a subprocess's stdout
* glib/tests/testglib.c: exercises an assertion failure in g_print()

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=725981
Reviewed-by: Colin Walters &lt;walters@verbum.org&gt;
Signed-off-by: Simon McVittie &lt;simon.mcvittie@collabora.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I searched all files that mention g_test_run, and replaced most
g_print() calls. This avoids interfering with TAP. Exceptions:

* gio/tests/network-monitor: a manual mode that is run by
  "./network-monitor --watch" is unaffected
* glib/gtester.c: not a test
* glib/gtestutils.c: not a test
* glib/tests/logging.c: specifically exercising g_print()
* glib/tests/markup-parse.c: a manual mode that is run by
  "./markup-parse --cdata-as-text" is unaffected
* glib/tests/testing.c: specifically exercising capture of stdout
  in subprocesses
* glib/tests/utils.c: captures a subprocess's stdout
* glib/tests/testglib.c: exercises an assertion failure in g_print()

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=725981
Reviewed-by: Colin Walters &lt;walters@verbum.org&gt;
Signed-off-by: Simon McVittie &lt;simon.mcvittie@collabora.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>threadtests: Fix leaks in tests</title>
<updated>2013-11-11T06:26:04+00:00</updated>
<author>
<name>Stef Walter</name>
<email>stefw@gnome.org</email>
</author>
<published>2013-11-07T21:57:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=5339950e2519933912fe5e3374caf721ad790220'/>
<id>5339950e2519933912fe5e3374caf721ad790220</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>gtype: disallow adding interfaces after the fact</title>
<updated>2013-01-04T20:20:04+00:00</updated>
<author>
<name>Ryan Lortie</name>
<email>desrt@desrt.ca</email>
</author>
<published>2012-11-05T16:07:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=c2055f22f4399a23d1c02a94f8b029212e37e162'/>
<id>c2055f22f4399a23d1c02a94f8b029212e37e162</id>
<content type='text'>
Add a check to prevent adding an interface to a class that has already
had its class_init done.

This is an incompatible change but it is suspected that there are not
many users of this functionality.  Two known exceptions are pygobject
(fixed in bug 686149) and our own testsuite (affected tests have been
temporarily disabled by this patch).

Once we confirm that nobody else is using this functionality we can
remove a rather large amount of code for dealing with this case.

https://bugzilla.gnome.org/show_bug.cgi?id=687659
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a check to prevent adding an interface to a class that has already
had its class_init done.

This is an incompatible change but it is suspected that there are not
many users of this functionality.  Two known exceptions are pygobject
(fixed in bug 686149) and our own testsuite (affected tests have been
temporarily disabled by this patch).

Once we confirm that nobody else is using this functionality we can
remove a rather large amount of code for dealing with this case.

https://bugzilla.gnome.org/show_bug.cgi?id=687659
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "gtype: disallow adding interfaces after the fact"</title>
<updated>2013-01-04T19:25:46+00:00</updated>
<author>
<name>Rico Tzschichholz</name>
<email>ricotz@t-online.de</email>
</author>
<published>2013-01-04T19:25:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=efa7b5f1e7d28e10d2c4413fc1626305f46706f5'/>
<id>efa7b5f1e7d28e10d2c4413fc1626305f46706f5</id>
<content type='text'>
This reverts commit d6a075b0d8dfe4e4a41f6624ad7032d2163d420c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit d6a075b0d8dfe4e4a41f6624ad7032d2163d420c.
</pre>
</div>
</content>
</entry>
<entry>
<title>gtype: disallow adding interfaces after the fact</title>
<updated>2012-12-18T20:37:07+00:00</updated>
<author>
<name>Ryan Lortie</name>
<email>desrt@desrt.ca</email>
</author>
<published>2012-11-05T16:07:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=5df1edaf70ad3abe45cb599de934b9531b7388a2'/>
<id>5df1edaf70ad3abe45cb599de934b9531b7388a2</id>
<content type='text'>
Add a check to prevent adding an interface to a class that has already
had its class_init done.

This is an incompatible change but it is suspected that there are not
many users of this functionality.  Two known exceptions are pygobject
(fixed in bug 686149) and our own testsuite (affected tests have been
temporarily disabled by this patch).

Once we confirm that nobody else is using this functionality we can
remove a rather large amount of code for dealing with this case.

https://bugzilla.gnome.org/show_bug.cgi?id=687659
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a check to prevent adding an interface to a class that has already
had its class_init done.

This is an incompatible change but it is suspected that there are not
many users of this functionality.  Two known exceptions are pygobject
(fixed in bug 686149) and our own testsuite (affected tests have been
temporarily disabled by this patch).

Once we confirm that nobody else is using this functionality we can
remove a rather large amount of code for dealing with this case.

https://bugzilla.gnome.org/show_bug.cgi?id=687659
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "gtype: disallow adding interfaces after the fact"</title>
<updated>2012-12-18T20:23:13+00:00</updated>
<author>
<name>Rico Tzschichholz</name>
<email>ricotz@t-online.de</email>
</author>
<published>2012-12-18T20:23:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=d1ab41c940aa357c4cd04dd3c66284de3a15e5c4'/>
<id>d1ab41c940aa357c4cd04dd3c66284de3a15e5c4</id>
<content type='text'>
This reverts commit d6a075b0d8dfe4e4a41f6624ad7032d2163d420c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit d6a075b0d8dfe4e4a41f6624ad7032d2163d420c.
</pre>
</div>
</content>
</entry>
<entry>
<title>gtype: disallow adding interfaces after the fact</title>
<updated>2012-11-05T18:20:28+00:00</updated>
<author>
<name>Ryan Lortie</name>
<email>desrt@desrt.ca</email>
</author>
<published>2012-11-05T16:07:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=d6a075b0d8dfe4e4a41f6624ad7032d2163d420c'/>
<id>d6a075b0d8dfe4e4a41f6624ad7032d2163d420c</id>
<content type='text'>
Add a check to prevent adding an interface to a class that has already
had its class_init done.

This is an incompatible change but it is suspected that there are not
many users of this functionality.  Two known exceptions are pygobject
(fixed in bug 686149) and our own testsuite (affected tests have been
temporarily disabled by this patch).

Once we confirm that nobody else is using this functionality we can
remove a rather large amount of code for dealing with this case.

https://bugzilla.gnome.org/show_bug.cgi?id=687659
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a check to prevent adding an interface to a class that has already
had its class_init done.

This is an incompatible change but it is suspected that there are not
many users of this functionality.  Two known exceptions are pygobject
(fixed in bug 686149) and our own testsuite (affected tests have been
temporarily disabled by this patch).

Once we confirm that nobody else is using this functionality we can
remove a rather large amount of code for dealing with this case.

https://bugzilla.gnome.org/show_bug.cgi?id=687659
</pre>
</div>
</content>
</entry>
<entry>
<title>Use (void) for no parameters, not ()</title>
<updated>2012-11-02T00:12:02+00:00</updated>
<author>
<name>Colin Walters</name>
<email>walters@verbum.org</email>
</author>
<published>2012-11-01T23:36:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=8e59d8602ca5921d78245f5d2b405b517a5e7cf9'/>
<id>8e59d8602ca5921d78245f5d2b405b517a5e7cf9</id>
<content type='text'>
This ensures we build with -Werror=missing-parameter-type.

https://bugzilla.gnome.org/show_bug.cgi?id=687385
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures we build with -Werror=missing-parameter-type.

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