<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/firmware/font.c, branch master</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>fonts: Fix regression(s) caused by c23ce62.</title>
<updated>2014-01-26T13:01:48+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2014-01-26T12:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=37be80a1a5eefd862f7ee132083723cef03ceb3c'/>
<id>37be80a1a5eefd862f7ee132083723cef03ceb3c</id>
<content type='text'>
The builtin sysfont does not have an associated buflib_alloc_data
(because it's builtin right?). font_get_{width,bits} accessed a field of
it for all fonts which crashed on some systems but not on mine.
Solution: Move this field to struct font directly.

The cache size calculated was also busted.

Fixes FS#12944 and most likely FS#12938.

Change-Id: I32303c4335a12a6c421fdca34f7ece851aac12ca
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The builtin sysfont does not have an associated buflib_alloc_data
(because it's builtin right?). font_get_{width,bits} accessed a field of
it for all fonts which crashed on some systems but not on mine.
Solution: Move this field to struct font directly.

The cache size calculated was also busted.

Fixes FS#12944 and most likely FS#12938.

Change-Id: I32303c4335a12a6c421fdca34f7ece851aac12ca
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix red. Screw those last-minute changes :\</title>
<updated>2014-01-16T09:31:15+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2014-01-16T09:31:15+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=08d9b7fca5ad3bc814322f1d4f5f9fd416a3ed79'/>
<id>08d9b7fca5ad3bc814322f1d4f5f9fd416a3ed79</id>
<content type='text'>
Change-Id: I12666e98114e490a13023af7149fc37147d4e864
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I12666e98114e490a13023af7149fc37147d4e864
</pre>
</div>
</content>
</entry>
<entry>
<title>font: Fix crash due to uninitialized field.</title>
<updated>2014-01-16T09:21:18+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2014-01-16T09:18:16+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=01b28ea725a040bd02690ece0726779d5ef83d65'/>
<id>01b28ea725a040bd02690ece0726779d5ef83d65</id>
<content type='text'>
Change-Id: If2fafb15a9998eebb2936e819507758e003abe30
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If2fafb15a9998eebb2936e819507758e003abe30
</pre>
</div>
</content>
</entry>
<entry>
<title>fonts: Do not unload completely on USB.</title>
<updated>2014-01-15T22:37:39+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2014-01-15T12:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=c23ce62829d98c2dc78f1fd8a8810cefd0f10402'/>
<id>c23ce62829d98c2dc78f1fd8a8810cefd0f10402</id>
<content type='text'>
The font engine can now perform cache lookups even if the font file is
closed, if the font was disabled with the new font_disable_all() function.
It is highly probable that the lookup succeeds but in the cache-miss case
a blank, full-width glyph will be returned.

Change-Id: I3c97e747d2a0ba30c7b495c6118c9f029d265b56
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The font engine can now perform cache lookups even if the font file is
closed, if the font was disabled with the new font_disable_all() function.
It is highly probable that the lookup succeeds but in the cache-miss case
a blank, full-width glyph will be returned.

Change-Id: I3c97e747d2a0ba30c7b495c6118c9f029d265b56
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not include kernel.h in system.h.</title>
<updated>2014-01-05T18:35:23+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2014-01-05T00:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=281d1fadb34242347da379ddeba75d2195148b4c'/>
<id>281d1fadb34242347da379ddeba75d2195148b4c</id>
<content type='text'>
system.h doesn't need it on its own and this change makes it less
dependant on Rockbox internals.

Change-Id: I4e1e4108a52a7b599627a829204eb82b392fc6d6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
system.h doesn't need it on its own and this change makes it less
dependant on Rockbox internals.

Change-Id: I4e1e4108a52a7b599627a829204eb82b392fc6d6
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix checks on buflib allocated handles (0 is not a valid handle value)</title>
<updated>2012-06-10T15:15:47+00:00</updated>
<author>
<name>Bertrik Sikken</name>
<email>bertrik@sikken.nl</email>
</author>
<published>2012-06-10T15:15:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=d023bf0f5dedb67caf9229e3ddcbb5a9fea420ce'/>
<id>d023bf0f5dedb67caf9229e3ddcbb5a9fea420ce</id>
<content type='text'>
Change-Id: I8fdc5a59a5062f40a431cd49971390e21631b8ec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8fdc5a59a5062f40a431cd49971390e21631b8ec
</pre>
</div>
</content>
</entry>
<entry>
<title>Use buflib for the allocation of voice PCM resources.</title>
<updated>2012-05-02T21:22:28+00:00</updated>
<author>
<name>Michael Sevakis</name>
<email>jethead71@rockbox.org</email>
</author>
<published>2012-05-02T21:22:28+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=da6cebb6b0b17b4a75a2bd4f51b7cf70b5dafe40'/>
<id>da6cebb6b0b17b4a75a2bd4f51b7cf70b5dafe40</id>
<content type='text'>
Buffers are not allocated and thread is not created until the first
call where voice is required.

Adds a different callback (sync_callback) to buflib so that other
sorts of synchonization are possible, such as briefly locking-out the
PCM callback for a buffer move. It's sort of a messy addition but it
is needed so voice decoding won't have to be stopped when its buffer
is moved.

Change-Id: I4d4d8c35eed5dd15fb7ee7df9323af3d036e92b3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Buffers are not allocated and thread is not created until the first
call where voice is required.

Adds a different callback (sync_callback) to buflib so that other
sorts of synchonization are possible, such as briefly locking-out the
PCM callback for a buffer move. It's sort of a messy addition but it
is needed so voice decoding won't have to be stopped when its buffer
is moved.

Change-Id: I4d4d8c35eed5dd15fb7ee7df9323af3d036e92b3
</pre>
</div>
</content>
</entry>
<entry>
<title>Another round of making local functions static</title>
<updated>2011-12-20T20:35:28+00:00</updated>
<author>
<name>Bertrik Sikken</name>
<email>bertrik@sikken.nl</email>
</author>
<published>2011-12-20T20:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=cb972abc488fa4c06d16ba9ebeb030a0b8d45ed2'/>
<id>cb972abc488fa4c06d16ba9ebeb030a0b8d45ed2</id>
<content type='text'>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31384 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31384 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix FS#12423 : Rockbox access to /.rockbox/fonts after usb_enable(true). This fixes entry into USB mode on the Archos Recorder V2 and possibly also other targets using a USB to IDE bridge chip. Fred Bauer found this removes the need for a workaround in glyph_cache_save(). I'm including his patch which removes the workaround.</title>
<updated>2011-12-06T00:58:01+00:00</updated>
<author>
<name>Boris Gjenero</name>
<email>dreamlayers@rockbox.org</email>
</author>
<published>2011-12-06T00:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=694502a96576afb22af4de21dfb85002e8ab44fc'/>
<id>694502a96576afb22af4de21dfb85002e8ab44fc</id>
<content type='text'>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31155 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31155 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>Guard font functions against invalid font ids. These arguably should never be passed, but this prevents freezes. Fixes FS#12400</title>
<updated>2011-11-27T15:36:03+00:00</updated>
<author>
<name>Frank Gevaerts</name>
<email>frank@gevaerts.be</email>
</author>
<published>2011-11-27T15:36:03+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=6e664f49b1aa60edf2e328b0df4d7e67e594184c'/>
<id>6e664f49b1aa60edf2e328b0df4d7e67e594184c</id>
<content type='text'>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31075 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31075 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
</feed>
