This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11435 - Use the new skin parser in rockbox!
Attached to Project:
Rockbox
Opened by Jonathan Gordon (jdgordon) - Thursday, 24 June 2010, 11:59 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Sunday, 11 July 2010, 08:45 GMT+2
Opened by Jonathan Gordon (jdgordon) - Thursday, 24 June 2010, 11:59 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Sunday, 11 July 2010, 08:45 GMT+2
|
DetailsThis patch changes the core to use the new skin parser..
You should not see any difference... let me know if you do |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Sunday, 11 July 2010, 08:45 GMT+2
Reason for closing: Out of Date
Sunday, 11 July 2010, 08:45 GMT+2
Reason for closing: Out of Date
I originally wanted to replace the entire engine in one hit but that turned out to be way too huge of a task.
This patch converts te tree to the array, the next step is to replace all the parse_X functions with ones which directly use the preparsed args, then slowly replace the displayer to work with the tree.
Vertical spacing is not correct. All lines are one line higher than svn. It seems to be caused by the "#Now Playing" comment line. With the comment line removed, it displays correctly.
edit: updated again to hopefully make %ax work
New Issues:
Using: Wide Cabbie theme on e200v2 (http://themes.rockbox.org/download.php?themeid=1)
1. Some viewports do not display. These vps do not have any %Vf() or %Vb(). Adding, at a minimum, %Vf(CCCCCC) to the vp definition corrects the problem. It looks like vps with images only do not have a problem, only vps that display text info.
2. When album art is available, this theme has a display line which consists of two viewports. The first vp has fixed text "Next:" and the second vp scrolls "Artist - Title". The second vp definition uses "-" for the width. This causes the second the second vp to be 2 pixels higher than defined and overwrite the first vp. Replacing the "-" with the remaining screen width corrects this problem.
I am attaching screendumps of the incorrect and correct wps displays and a diff of the original wps file and the updated wps file.
e200v2 - r27106 with newparser.2.diff and newplaylistviewer.0.diff and using Wide Cabbie theme
When playback starts the last song in a playlist, either through normal playback or by skipping or fast forwarding to the last song, I get panics or lockups:
Undefined instruction
at 3082673C (or 30826760, 30826F30)
comment and viewport handling is a bit wierd so I'm going to try this from another angle....