<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/apps/plugins/text_viewer/tv_preferences.c, branch master</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>FS#12273 - use buflib for font storage. thanks to the testers :)</title>
<updated>2011-09-24T13:19:34+00:00</updated>
<author>
<name>Jonathan Gordon</name>
<email>rockbox@jdgordon.info</email>
</author>
<published>2011-09-24T13:19:34+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=aa0f4a4bbe370032d8166628f456709be1330118'/>
<id>aa0f4a4bbe370032d8166628f456709be1330118</id>
<content type='text'>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30589 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@30589 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>Commit FS#11799 by Alexander Meshcheryakov. Improves the text viewer plugin to write to the disk less often, and correct several minor bugs.</title>
<updated>2010-12-14T21:33:45+00:00</updated>
<author>
<name>Michael Giacomelli</name>
<email>giac2000@hotmail.com</email>
</author>
<published>2010-12-14T21:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=990cbf302eb04f80174c50040492fa7db6fbad6d'/>
<id>990cbf302eb04f80174c50040492fa7db6fbad6d</id>
<content type='text'>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28833 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@28833 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>text viewer: some members of preferences change to bool. And simplify menu setting functions.</title>
<updated>2010-06-29T12:23:41+00:00</updated>
<author>
<name>Yoshihisa Uchida</name>
<email>uchida@rockbox.org</email>
</author>
<published>2010-06-29T12:23:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=470226dbbfc4ca0b61ca33620c06c695d7e55d57'/>
<id>470226dbbfc4ca0b61ca33620c06c695d7e55d57</id>
<content type='text'>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27174 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@27174 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>text_viewer: callback functions are changed to the function that returns int value.</title>
<updated>2010-06-29T11:05:36+00:00</updated>
<author>
<name>Yoshihisa Uchida</name>
<email>uchida@rockbox.org</email>
</author>
<published>2010-06-29T11:05:36+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=07d03729ff537eca8429cea27c1f2d15f04ec54f'/>
<id>07d03729ff537eca8429cea27c1f2d15f04ec54f</id>
<content type='text'>
And the text viewer quits when the problem occurs by callback functions.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27172 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And the text viewer quits when the problem occurs by callback functions.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27172 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>text viewer: display functions more changes.</title>
<updated>2010-06-27T11:36:37+00:00</updated>
<author>
<name>Yoshihisa Uchida</name>
<email>uchida@rockbox.org</email>
</author>
<published>2010-06-27T11:36:37+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=b5a26851e002d090e9c6ae93e29857ca3cd63fe5'/>
<id>b5a26851e002d090e9c6ae93e29857ca3cd63fe5</id>
<content type='text'>
- font functions move to tv_display.
- modify tv_init_display() and add tv_finalize_display().
- viewport functions are changed from global to static.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27154 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- font functions move to tv_display.
- modify tv_init_display() and add tv_finalize_display().
- viewport functions are changed from global to static.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27154 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>text viewer: some modify text viewer's layout and preferences.</title>
<updated>2010-06-26T12:17:01+00:00</updated>
<author>
<name>Yoshihisa Uchida</name>
<email>uchida@rockbox.org</email>
</author>
<published>2010-06-26T12:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=17383c2691bfb121388c539bebe8b32bb97e4e9b'/>
<id>17383c2691bfb121388c539bebe8b32bb97e4e9b</id>
<content type='text'>
- layout: hader, footer and horizontal_scrollbar add padding.
- add member 'statusbar' in tv_preferences.
- delete HD_SBAR/HD_BOTH/FT_SBAR/FT_BOTH.
- deletes the function to check header_mode/footer_mode.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27142 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- layout: hader, footer and horizontal_scrollbar add padding.
- add member 'statusbar' in tv_preferences.
- delete HD_SBAR/HD_BOTH/FT_SBAR/FT_BOTH.
- deletes the function to check header_mode/footer_mode.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27142 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>text viewer: reworks screen access logics and some bugs fix.</title>
<updated>2010-06-26T09:14:53+00:00</updated>
<author>
<name>Yoshihisa Uchida</name>
<email>uchida@rockbox.org</email>
</author>
<published>2010-06-26T09:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=ac622c6d673c708d48527db8a189401422a5d03c'/>
<id>ac622c6d673c708d48527db8a189401422a5d03c</id>
<content type='text'>
- screen access logics separte from tv_window. (new tv_display.[ch])
- using multi screen api.
- (bug fix) the head of the each line is not normally displayed when the alignment is RIGHT.
- (bug fix) unnecessary blank line is not displayed. (a part of FS#11400).
- (bug fix) the order by which callback functions were called was not correct. (FIFO-&gt;FILO)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27138 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- screen access logics separte from tv_window. (new tv_display.[ch])
- using multi screen api.
- (bug fix) the head of the each line is not normally displayed when the alignment is RIGHT.
- (bug fix) unnecessary blank line is not displayed. (a part of FS#11400).
- (bug fix) the order by which callback functions were called was not correct. (FIFO-&gt;FILO)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27138 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>text_viewer: rename preference values.</title>
<updated>2010-06-24T12:58:46+00:00</updated>
<author>
<name>Yoshihisa Uchida</name>
<email>uchida@rockbox.org</email>
</author>
<published>2010-06-24T12:58:46+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=7e37fa926d4a034bc7d156fe6a79d8cdc3a4e639'/>
<id>7e37fa926d4a034bc7d156fe6a79d8cdc3a4e639</id>
<content type='text'>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27106 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@27106 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>FS#11399 by me: fix r26998 for text_viewer</title>
<updated>2010-06-23T13:56:08+00:00</updated>
<author>
<name>Rafaël Carré</name>
<email>rafael.carre@gmail.com</email>
</author>
<published>2010-06-23T13:56:08+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=59fd2b24bd7ad8ff0c18f66ffbf83f7ceefa9d55'/>
<id>59fd2b24bd7ad8ff0c18f66ffbf83f7ceefa9d55</id>
<content type='text'>
Restore the old behaviour:

- preferences must be read-write for tv_preferences.c , read-only for
  all other modules -&gt; use pointer to const struct
- init functions must get the plugin buffer + its size as arguments for
  easily adding new functions -&gt; use pointer to buffer pointer and size
  to make allocation easier
- preferences meaning is private to each file and must not be known by
  tv_preferences.c -&gt; move tv_check_header_and_footer() back in
  tv_window.c; also avoid chaining 3 times the callbacks by calling
  tv_set_preferences() only once if more than one preference needs
  changing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27089 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restore the old behaviour:

- preferences must be read-write for tv_preferences.c , read-only for
  all other modules -&gt; use pointer to const struct
- init functions must get the plugin buffer + its size as arguments for
  easily adding new functions -&gt; use pointer to buffer pointer and size
  to make allocation easier
- preferences meaning is private to each file and must not be known by
  tv_preferences.c -&gt; move tv_check_header_and_footer() back in
  tv_window.c; also avoid chaining 3 times the callbacks by calling
  tv_set_preferences() only once if more than one preference needs
  changing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27089 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>text_viewer: cleanup &amp; bugfix</title>
<updated>2010-06-20T21:53:47+00:00</updated>
<author>
<name>Rafaël Carré</name>
<email>rafael.carre@gmail.com</email>
</author>
<published>2010-06-20T21:53:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=298316d19297eea82869b63235b535e5904fc0dd'/>
<id>298316d19297eea82869b63235b535e5904fc0dd</id>
<content type='text'>
cleanup:
    - don't use enum in struct / return values
    - don't use a getter for preferences but a global pointer
    - explicitely make enums start at 0
    - use static tables for header/footer settings
    - remove unneeded memset before strlcpy
    - use static buffer allocation, not dynamic
    - check header/footer preferences before using the callbacks
    - don't include font filename in archos player preferences (break
      file format)

bugfix:
    - statically allocate old preferences in tv_set_preferences()

Sometimes I can read a file on Clipv2, but it still aborts quite often
refs: FS#11399

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26998 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cleanup:
    - don't use enum in struct / return values
    - don't use a getter for preferences but a global pointer
    - explicitely make enums start at 0
    - use static tables for header/footer settings
    - remove unneeded memset before strlcpy
    - use static buffer allocation, not dynamic
    - check header/footer preferences before using the callbacks
    - don't include font filename in archos player preferences (break
      file format)

bugfix:
    - statically allocate old preferences in tv_set_preferences()

Sometimes I can read a file on Clipv2, but it still aborts quite often
refs: FS#11399

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26998 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
</feed>
