Rockbox

Tasklist

FS#2788 - new wps-file-loader

Attached to Project: Rockbox
Opened by Stephan Wezel (thewolfwillcome) - Saturday, 26 November 2005, 16:16 GMT
Last edited by Magnus Holmgren (learman) - Wednesday, 07 December 2005, 20:53 GMT
Task Type Patches
Category
Status Closed
Assigned To Magnus Holmgren (learman)
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

This patch replaces the current wps-file loader with a
new one.
The new loader reads the file line by line and
following wps-tags and comment-lines(#) are directly
handled:
%we, %wd, %x, %xl

if a line is a comment-line or one of has these tags
this line doesn't gets into the format-buffer.

Due this the used space for bitmaped-wpses in the
format-buffer can be reducesd ca. by half.
This task depends upon

Closed by  Magnus Holmgren (learman)
Wednesday, 07 December 2005, 20:53 GMT
Reason for closing:  Accepted
Comment by Stephan Wezel (thewolfwillcome) - Saturday, 26 November 2005, 16:26 GMT

i have forgotten to say, when using this patch then the tags
%we and %wd must be on a seperate line
Comment by Stephan Wezel (thewolfwillcome) - Monday, 05 December 2005, 18:34 GMT

a bit simplyfied and updated to the latest cvs
Comment by Stephan Wezel (thewolfwillcome) - Tuesday, 06 December 2005, 22:02 GMT

updated to the latest cvs-changes.
now it ignores the UTF-8 BOM(Byte Order Mark) if exist.
Comment by Stephan Wezel (thewolfwillcome) - Wednesday, 07 December 2005, 17:41 GMT

now it compiles cleanly
Comment by Magnus Holmgren (learman) - Wednesday, 07 December 2005, 20:53 GMT

Accepted, with minor changes. Thanks!

Loading...