<feed xmlns='http://www.w3.org/2005/Atom'>
<title>halibut/bk_paper.c, branch master</title>
<subtitle>My halibut tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/'/>
<entry>
<title>Correct typo in initialisation in bk_paper.c.</title>
<updated>2017-05-14T07:44:15+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2017-05-14T07:28:30+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=72b1eb1cd3e6b07cdf93fb5f158cba21691b3052'/>
<id>72b1eb1cd3e6b07cdf93fb5f158cba21691b3052</id>
<content type='text'>
If you initialise a structure field for the first time with += rather
than =, that won't stop valgrind from saying it's uninitialised, and a
good job too!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If you initialise a structure field for the first time with += rather
than =, that won't stop valgrind from saying it's uninitialised, and a
good job too!
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing initialisations in the 'word' structure.</title>
<updated>2017-05-14T07:44:15+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2017-05-14T07:11:06+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=c00d1c3b6003dbbb72439de0ebdb4a93c8763f65'/>
<id>c00d1c3b6003dbbb72439de0ebdb4a93c8763f65</id>
<content type='text'>
The 'breaks' and 'aux' fields were filled in rather inconsistently at
various places where a word is created - especially the outlying ones
that manufacture pieces of document during internal processing of
contents, index, bibliography, cross-references etc rather than
directly from the input file. This has never led to any user-visible
behaviour change that I've noticed, but it made a lot of annoying
noise in the valgrind output, which got in my way last week when I was
trying to debug the CHM generation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'breaks' and 'aux' fields were filled in rather inconsistently at
various places where a word is created - especially the outlying ones
that manufacture pieces of document during internal processing of
contents, index, bibliography, cross-references etc rather than
directly from the input file. This has never led to any user-visible
behaviour change that I've noticed, but it made a lot of annoying
noise in the valgrind output, which got in my way last week when I was
trying to debug the CHM generation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add \s for 'strong' text, i.e. bold rather than italics. I've missed</title>
<updated>2013-03-10T16:58:01+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2013-03-10T16:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=dcf080aa0e011de37a154e9e8a97dd7546a4a1b1'/>
<id>dcf080aa0e011de37a154e9e8a97dd7546a4a1b1</id>
<content type='text'>
this a couple of times in Halibut markup recently (in particular, it's
handy to have a typographical distinction between 'this term is
emphasised because it's new' and 'this term is emphasised because I
want you to pay attention to it'), so here's an implementation,
basically parallel to \e.

One slight oddity is that strong text in headings will not be
distinguished in some output formats, since they already use bolded
text for their headings.

[originally from svn r9772]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this a couple of times in Halibut markup recently (in particular, it's
handy to have a typographical distinction between 'this term is
emphasised because it's new' and 'this term is emphasised because I
want you to pay attention to it'), so here's an implementation,
basically parallel to \e.

One slight oddity is that strong text in headings will not be
distinguished in some output formats, since they already use bolded
text for their headings.

[originally from svn r9772]
</pre>
</div>
</content>
</entry>
<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>Remove a bunch of unused variables spotted by Ubuntu 12.04's gcc.</title>
<updated>2012-05-03T17:43:21+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2012-05-03T17:43:21+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=689093cc870e60ab82a176c33613fa0aeaa0bf69'/>
<id>689093cc870e60ab82a176c33613fa0aeaa0bf69</id>
<content type='text'>
[originally from svn r9478]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r9478]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a --list-fonts option, since getting PostScript names out of TrueType</title>
<updated>2007-02-13T21:38:21+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-02-13T21:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=dae489a4529c014654b894d104faa9e5cfea0b04'/>
<id>dae489a4529c014654b894d104faa9e5cfea0b04</id>
<content type='text'>
fonts is difficult.

[originally from svn r7281]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fonts is difficult.

[originally from svn r7281]
</pre>
</div>
</content>
</entry>
<entry>
<title>Update the TODO list to match the current state of the world.</title>
<updated>2007-01-07T11:51:18+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-01-07T11:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=9cdf53b85c483f6e6f2ca87a54d563854640ae91'/>
<id>9cdf53b85c483f6e6f2ca87a54d563854640ae91</id>
<content type='text'>
[originally from svn r7070]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r7070]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a mechanism for disabling ligature substitution for an entire paragraph</title>
<updated>2007-01-07T11:48:58+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-01-07T11:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=2a37bd613db88aeb4f35373d88e38fea7f71b2a8'/>
<id>2a37bd613db88aeb4f35373d88e38fea7f71b2a8</id>
<content type='text'>
and apply it to code paragraphs.

[originally from svn r7069]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and apply it to code paragraphs.

[originally from svn r7069]
</pre>
</div>
</content>
</entry>
<entry>
<title>Our standard mapping for the first font should start at 0x20, not 0x21.</title>
<updated>2007-01-07T00:20:25+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-01-07T00:20:25+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=fc100d7c4c2202f70b9550f6c00ceb0a40ba7c09'/>
<id>fc100d7c4c2202f70b9550f6c00ceb0a40ba7c09</id>
<content type='text'>
[originally from svn r7067]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r7067]
</pre>
</div>
</content>
</entry>
<entry>
<title>Overhaul of glyph-name handling in the paper backends.  Before, we had</title>
<updated>2007-01-06T17:32:34+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-01-06T17:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=30ca2bdcde0675a2d52a9decf9dce73e57fdcee1'/>
<id>30ca2bdcde0675a2d52a9decf9dce73e57fdcee1</id>
<content type='text'>
a separate dense array of glyph names for each font, and referenced glyphs
by indicies into that array, which meant that the array had to be set
up before we could generate any indices.  Now we have an overall array of
glyph names, and use the same glyph indicies for all fonts.  Some arrays
have had to turn into tree234s as a result.

[originally from svn r7061]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a separate dense array of glyph names for each font, and referenced glyphs
by indicies into that array, which meant that the array had to be set
up before we could generate any indices.  Now we have an overall array of
glyph names, and use the same glyph indicies for all fonts.  Some arrays
have had to turn into tree234s as a result.

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