<feed xmlns='http://www.w3.org/2005/Atom'>
<title>puzzles/tree234.c, branch rockbox</title>
<subtitle>My sgt-puzzles tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/'/>
<entry>
<title>Use C99 bool within source modules.</title>
<updated>2018-11-13T21:48:24+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2018-11-13T21:45:44+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=5f5b284c0bddbe67de14b2d2bfb596bc7ba1298a'/>
<id>5f5b284c0bddbe67de14b2d2bfb596bc7ba1298a</id>
<content type='text'>
This is the main bulk of this boolification work, but although it's
making the largest actual change, it should also be the least
disruptive to anyone interacting with this code base downstream of me,
because it doesn't modify any interface between modules: all the
inter-module APIs were updated one by one in the previous commits.
This just cleans up the code within each individual source file to use
bool in place of int where I think that makes things clearer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the main bulk of this boolification work, but although it's
making the largest actual change, it should also be the least
disruptive to anyone interacting with this code base downstream of me,
because it doesn't modify any interface between modules: all the
inter-module APIs were updated one by one in the previous commits.
This just cleans up the code within each individual source file to use
bool in place of int where I think that makes things clearer.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adopt C99 bool in the tree234 API.</title>
<updated>2018-11-13T21:48:24+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2018-11-13T21:41:45+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=33b55db48e9573c6c825e3a222ff968f6a0bd4f4'/>
<id>33b55db48e9573c6c825e3a222ff968f6a0bd4f4</id>
<content type='text'>
The only affected function here is splitpos234, which I don't think
these puzzles are even using at the moment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The only affected function here is splitpos234, which I don't think
these puzzles are even using at the moment.
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch from Ben Hutchings: explicitly initialise something which some</title>
<updated>2010-04-18T15:07:52+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2010-04-18T15:07:52+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=b7e0d854fe39016589fd73bfa2b98eb0e9a72228'/>
<id>b7e0d854fe39016589fd73bfa2b98eb0e9a72228</id>
<content type='text'>
gccs complained about.

[originally from svn r8923]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gccs complained about.

[originally from svn r8923]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a precautionary pair of initialisations to placate optimisers,</title>
<updated>2009-11-10T19:11:03+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2009-11-10T19:11:03+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=9c95ea261980860cf74bc583417981960f91648b'/>
<id>9c95ea261980860cf74bc583417981960f91648b</id>
<content type='text'>
and asserts to check that the preinitialised values are never
actually used.

[originally from svn r8745]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and asserts to check that the preinitialised values are never
actually used.

[originally from svn r8745]
</pre>
</div>
</content>
</entry>
<entry>
<title>Rather to my surprise given the amount of testing this code has had,</title>
<updated>2007-01-11T09:26:09+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2007-01-11T09:26:09+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=c06e371f55b97576421588d21d809c02c637584b'/>
<id>c06e371f55b97576421588d21d809c02c637584b</id>
<content type='text'>
Kevin Lyles spotted a tree234 bug! copytree234() segfaulted when
asked to copy a tree containing no elements, due to failing to allow
for the case that t-&gt;root might be NULL. Fixed, and added a
regression test.

[originally from svn r7092]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kevin Lyles spotted a tree234 bug! copytree234() segfaulted when
asked to copy a tree containing no elements, due to failing to allow
for the case that t-&gt;root might be NULL. Fixed, and added a
regression test.

[originally from svn r7092]
</pre>
</div>
</content>
</entry>
<entry>
<title>Yikes! I've only just noticed that this copy of tree234.c was still</title>
<updated>2005-10-12T17:57:40+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2005-10-12T17:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=2bef4dfb50ec69cff1bc0569b76a7eb10115f576'/>
<id>2bef4dfb50ec69cff1bc0569b76a7eb10115f576</id>
<content type='text'>
using unwrappered malloc/free, leaving plenty of openings for out-
of-memory segfaults. Switch to using Puzzles's memory management,
which I should have done right at the start but can only assume I
forgot about.

[originally from svn r6388]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
using unwrappered malloc/free, leaving plenty of openings for out-
of-memory segfaults. Switch to using Puzzles's memory management,
which I should have done right at the start but can only assume I
forgot about.

[originally from svn r6388]
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial checkin of a portable framework for writing small GUI puzzle</title>
<updated>2004-04-25T14:27:58+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2004-04-25T14:27:58+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/puzzles/commit/?id=96dbb537ee14f992459a8359a113a78414addf9d'/>
<id>96dbb537ee14f992459a8359a113a78414addf9d</id>
<content type='text'>
games.

[originally from svn r4138]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
games.

[originally from svn r4138]
</pre>
</div>
</content>
</entry>
</feed>
