<feed xmlns='http://www.w3.org/2005/Atom'>
<title>halibut/malloc.c, branch master</title>
<subtitle>My halibut tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/'/>
<entry>
<title>Revamp of the Halibut error handling mechanism.</title>
<updated>2012-08-29T18:13:11+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2012-08-29T18:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=1489dc15967970576d08f3f2b22c6e1c939bcbcf'/>
<id>1489dc15967970576d08f3f2b22c6e1c939bcbcf</id>
<content type='text'>
I'm not quite sure why I ever thought it was a good idea to have a
central variadic error() function taking an integer error code
followed by some list of arguments that depend on that code. It now
seems obvious to me that it's a much more sensible idea to have a
separate function per error, so that we can check at compile time that
the arguments to each error call are of the right number and type! So
I've done that instead.

A side effect is that the errors are no longer formatted into a
fixed-size buffer before going to stderr, so I can remove all the
%.200s precautions in the format strings.

[originally from svn r9639]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm not quite sure why I ever thought it was a good idea to have a
central variadic error() function taking an integer error code
followed by some list of arguments that depend on that code. It now
seems obvious to me that it's a much more sensible idea to have a
separate function per error, so that we can check at compile time that
the arguments to each error call are of the right number and type! So
I've done that instead.

A side effect is that the errors are no longer formatted into a
fixed-size buffer before going to stderr, so I can remove all the
%.200s precautions in the format strings.

[originally from svn r9639]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a "const" to the argument of dupstr() so that GCC doesn't complain when</title>
<updated>2007-02-04T23:39:47+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-02-04T23:39:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=a6137380cf2e8711c2ec7a522e746e894aaea473'/>
<id>a6137380cf2e8711c2ec7a522e746e894aaea473</id>
<content type='text'>
we pass it a constant string.

[originally from svn r7218]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we pass it a constant string.

[originally from svn r7218]
</pre>
</div>
</content>
</entry>
<entry>
<title>dup_word_list() does the right thing if passed NULL (on general principles)</title>
<updated>2004-08-06T00:31:35+00:00</updated>
<author>
<name>Jacob Nevins</name>
<email>jacobn@chiark.greenend.org.uk</email>
</author>
<published>2004-08-06T00:31:35+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=a4baf2e856ebac06b56b62f46cde5d88229f0974'/>
<id>a4baf2e856ebac06b56b62f46cde5d88229f0974</id>
<content type='text'>
[originally from svn r4410]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r4410]
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch the memory allocation macros from the Halibut ones</title>
<updated>2004-06-12T20:31:03+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2004-06-12T20:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=a5d800d080a9eb557082042216636ac872eac7ec'/>
<id>a5d800d080a9eb557082042216636ac872eac7ec</id>
<content type='text'>
(mknew/mknewa/resize) to the PuTTY ones (snew/snewn/sresize). snewn
and mknewa have their arguments opposite ways round; this may make
the change initially painful but in the long term will free me of a
nasty context switch every time I move between codebases. Also
sresize takes an explicit type operand which is used to cast the
return value from realloc, thus enforcing that it must be correct,
and arranging that if anyone tries to compile Halibut with a C++
compiler there should be a lot less pain.

[originally from svn r4276]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(mknew/mknewa/resize) to the PuTTY ones (snew/snewn/sresize). snewn
and mknewa have their arguments opposite ways round; this may make
the change initially painful but in the long term will free me of a
nasty context switch every time I move between codebases. Also
sresize takes an explicit type operand which is used to cast the
return value from realloc, thus enforcing that it must be correct,
and arranging that if anyone tries to compile Halibut with a C++
compiler there should be a lot less pain.

[originally from svn r4276]
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename Buttress to Halibut. I _think_ I've caught everything in this pass.</title>
<updated>2002-08-05T10:31:35+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2002-08-05T10:31:35+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=c478f3d9469c09773097eba89342c311ee70a319'/>
<id>c478f3d9469c09773097eba89342c311ee70a319</id>
<content type='text'>
[originally from svn r1800]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r1800]
</pre>
</div>
</content>
</entry>
<entry>
<title>This update should bring the Windows Help back end up to</title>
<updated>2001-12-04T21:12:40+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2001-12-04T21:12:40+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=5e3a21913b6a47e78d3e4edd4238d028b90827b7'/>
<id>5e3a21913b6a47e78d3e4edd4238d028b90827b7</id>
<content type='text'>
near-complete functionality. All that's missing now is indexing and
horizontal rules.

[originally from svn r1449]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
near-complete functionality. All that's missing now is indexing and
horizontal rules.

[originally from svn r1449]
</pre>
</div>
</content>
</entry>
<entry>
<title>Further development; mid-end index handling pretty much there!</title>
<updated>1999-10-18T18:03:37+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>1999-10-18T18:03:37+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=e44f985bd4f796d4c4b11eb3555436dbaa2d163b'/>
<id>e44f985bd4f796d4c4b11eb3555436dbaa2d163b</id>
<content type='text'>
[originally from svn r238]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r238]
</pre>
</div>
</content>
</entry>
<entry>
<title>Redo memory allocation to use mknew macro</title>
<updated>1999-09-02T12:35:02+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>1999-09-02T12:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=d3c026f08f629659b5efe23fe8bffd3cf9b845f6'/>
<id>d3c026f08f629659b5efe23fe8bffd3cf9b845f6</id>
<content type='text'>
[originally from svn r214]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r214]
</pre>
</div>
</content>
</entry>
<entry>
<title>More development; not nearly finished yet</title>
<updated>1999-08-09T10:02:07+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>1999-08-09T10:02:07+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=12a5351076409e50f10dfa8274da3768b364ff7f'/>
<id>12a5351076409e50f10dfa8274da3768b364ff7f</id>
<content type='text'>
[originally from svn r193]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r193]
</pre>
</div>
</content>
</entry>
<entry>
<title>Further development work. Parser nearly finished</title>
<updated>1999-07-31T18:44:53+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>1999-07-31T18:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=0d14833a9c76c51cc7417d8fd60bec9d92714b8e'/>
<id>0d14833a9c76c51cc7417d8fd60bec9d92714b8e</id>
<content type='text'>
[originally from svn r187]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r187]
</pre>
</div>
</content>
</entry>
</feed>
