Jonathan Gordon
57ad6f9b03
change the %Cl tag to be cleaner. it it now %Cl(x, y, width, height [, xalign][, yalign])
...
d,i,s modifiers are no longer supported (were there for origional compatability) and +,- modifiers are not supported anymore either.
Legal values for xalign are: l,c,r (left, center, right)
Legal values for xalign are: t,c,b (top, center, bottom)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26475 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 09:51:03 +00:00
Jonathan Gordon
bbe6c5a5e2
we need to escape more chars now, so fix that. test skins with this update parse correctly with the themeditor :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26468 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 08:18:47 +00:00
Robert Bieber
496bcf39c7
Theme Editor: Fixed parsing and code generation for nested conditionals
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26467 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 07:48:48 +00:00
Robert Bieber
7f10b0336e
Theme Editor: Fixed some more code generation bugs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26466 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 07:04:33 +00:00
Robert Bieber
ea864be708
Fixed another code generation bug with viewports and enabled negative numbers in tag parameters
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26465 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 06:52:17 +00:00
Robert Bieber
e25c903bfe
Theme Editor: Fixed bugs in code generation and viewport parsing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26464 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 06:41:41 +00:00
Robert Bieber
4003f35dc7
Theme Editor: Removed the NEWLINE parse tree element
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26463 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 06:12:18 +00:00
Robert Bieber
f16adb045a
Theme Editor: Fixed code generation with escaped characters
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26462 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 05:55:41 +00:00
Robert Bieber
999990c234
Theme Editor: Fixed a small bug with asterisk handling in tag parameter argument codes and fixed bugs with handling escaped characters
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26460 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 05:45:34 +00:00
Robert Bieber
f02a2446d3
Theme Editor: Altered the way the parser handles asterisks in the tag argument specifiers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26459 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 05:27:37 +00:00
Robert Bieber
a9848ce3fe
Theme Editor: Put together a simple GUI to test going back and forth between a tree view and a text edit box
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26455 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 21:25:02 +00:00
Robert Bieber
279969618d
Theme Editor: Made text and comments editable from a treeview
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26453 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 20:19:51 +00:00
Robert Bieber
5943f4c5e2
Theme Editor: Enabled editing tag parameters from a treeview
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26452 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 19:55:20 +00:00
Robert Bieber
47cd8786ba
Theme Editor: Made the viewport tag a top-level child under VIEWPORT elements in the parse tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26450 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 18:31:58 +00:00
Robert Bieber
0a054b288b
Committing FS#11345 by JdGordon. Theme editor parser now includes full tag information in the skin_element struct
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26448 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 16:44:52 +00:00
Robert Bieber
d1659d69df
Theme Editor: Made Viewport the top level parse tree element, along with a bugfix to the tag parsing function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26442 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 07:11:23 +00:00
Robert Bieber
c5e14b5835
Theme Editor: Added extern C declarations to header files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26433 a1c6a512-1295-4272-9138-f99709370657
2010-05-31 17:39:58 +00:00
Rafaël Carré
5b4a9b5e35
Add a tool to compare the binsizes of plugins and codecs of 2 build dirs
...
Doesn't handle IRAM (yet)
Synopsys: ./cmp-plugins-size build1 build2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26428 a1c6a512-1295-4272-9138-f99709370657
2010-05-31 00:46:04 +00:00
Jonathan Gordon
68f4d91825
add support for the possible viewport colour tags (%Vf and %Vb). use -c to disable them
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26408 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 11:54:52 +00:00
Robert Bieber
48198822a7
Applied JdGordon's patch to add tokens to the Theme Editor tag table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26405 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 05:51:50 +00:00
Jonathan Gordon
8e078532c7
and woops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26404 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 02:32:44 +00:00
Jonathan Gordon
d24cc39c75
zip up the output after doing all the skins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26403 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 02:32:24 +00:00
Robert Bieber
f9f6f904a8
Theme Editor: Fixed parsing bug that allowed comments to form a new logical line in a skin document
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26402 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 01:56:50 +00:00
Robert Bieber
9f2e1b1e1a
Theme Editor: Got a barely functional treeview in place
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26401 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 01:47:35 +00:00
Robert Bieber
9843626b69
Themeditor: Got the ParseTreeNode class in good shape, preparing to start on ParseTreeModel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26400 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 01:20:05 +00:00
Jonathan Gordon
e8ec20476f
make the script zip the output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26373 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 14:00:55 +00:00
Jonathan Gordon
04130c2c7e
be smarter about %xd so it only eats 2 letters if that image has subimages
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26371 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 09:35:05 +00:00
Jonathan Gordon
8cd3f8452c
fix error when a comment is on the last line of the file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26370 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 09:09:45 +00:00
Robert Bieber
6980c1e998
Theme Editor: Got code generation tentatively working along with a solid C++ tree structure for WPS parse trees
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26367 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 00:04:04 +00:00
Jonathan Gordon
bdb6bf5535
Add the beggingings of a perl script to run the update over a whole theme zip file... someoene who knows perl please finish this :D
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26351 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 05:25:48 +00:00
Jonathan Gordon
71cec646e6
dead simple Makefile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26348 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 03:26:58 +00:00
Jonathan Gordon
9262a83e4f
fix %Xl tag... this shuold be useable now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26347 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 03:06:51 +00:00
Jonathan Gordon
20dcf0b523
%aX should have been %ax..
...
setup the skinupdater to allow options (currently only -m to set mono display because the viewport definition is different on mono).
still not completly working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26346 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 02:30:27 +00:00
Robert Bieber
8ea056db4b
Theme Editor: Fixed a bug in the subline parser, added a LINE element to contain logical lines, working on data model
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26337 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 19:57:15 +00:00
Jonathan Gordon
fc3335584b
handle # comments and fix some printfs which should be fprintf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26334 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 15:55:39 +00:00
Jonathan Gordon
4e0f7f6517
make it slightyl more useful.. read in a up to 10Kb file, dump to stdout or outfile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26333 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 15:47:32 +00:00
Jonathan Gordon
e7ef935448
first go at a general skin updater program. not very useful yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26332 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 15:35:22 +00:00
Jonathan Gordon
7b197352a2
fix rtc tag mistake
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26331 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 14:43:57 +00:00
Robert Bieber
565cd00963
Trying to implement QAbstractItemModel for parse trees, haven't got it working yet (current state will spawn an empty treeview window)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26318 a1c6a512-1295-4272-9138-f99709370657
2010-05-26 21:13:14 +00:00
Jonathan Gordon
eeef8f6c39
add all the known tags to the table. Nothing is done about target specific tags yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26297 a1c6a512-1295-4272-9138-f99709370657
2010-05-26 03:53:06 +00:00
Robert Bieber
a089fcc545
Added a README and a missing copyright header to the theme editor files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26293 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 22:39:07 +00:00
Robert Bieber
0769fc5182
Fixed some memory leaks in the theme editor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26292 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 22:24:08 +00:00
Robert Bieber
1937b1b1ae
Fixed some bugs in the theme editor, added the tags with parameters to the tag table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26288 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 17:22:39 +00:00
Robert Bieber
d5b24ddcc5
Adding the new WPS parser, code works but need to build the tag table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26281 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 15:19:52 +00:00
Rafaël Carré
ff6b0425e4
mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa AMS OF
...
The field we thought was representative of the model is not, it has
changed in the past for fuzev1 and fuzev2.
For example the value 0x23 is found in 2 old fuzev1 OF versions, and in
the c200v2 OF
The only reliable way to detect the model of a given OF is by using the
built-in list of md5sums.
Modify mkamsboot and rbutilqt to load the rockbox bootloader first, and
then check if the model in the bootloader corresponds to the model of
the known md5sum of the given OF.
That way we can continue to present the user with a list of known OF
versions in case the OF is unknown to mkamsboot
Also explicit the dependency of main.c on mkamsboot.h in case the
prototypes change
Correct the header's description not updated in r21648
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26248 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 10:06:52 +00:00
Dave Chapman
9de9b9dfbe
Take version number from SVN, or via VERSION variable in Makefile - i.e. use "make VERSION=v1.0" to build with that version number.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25774 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 09:54:14 +00:00
Dave Chapman
cdcca8775f
Add support for the Cowon S9, based on the information from http://iaudiophile.net/forums/showthread.php?t=36073
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25773 a1c6a512-1295-4272-9138-f99709370657
2010-05-02 09:42:51 +00:00
Bertrik Sikken
64349865cb
Wrong file name in time-sync utility makefile
...
Flyspray: FS #11212
Author: Rosso Maltese
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25691 a1c6a512-1295-4272-9138-f99709370657
2010-04-20 16:39:45 +00:00
Maurus Cuelenaere
371c330196
Add simple bootchart -> gnuplot shell script
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25493 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 19:58:51 +00:00
Rafaël Carré
e32f28b740
amsinfo: do not assume library blocks always have the same size
...
otg_functio is now correctly extracted of Clip+ firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25188 a1c6a512-1295-4272-9138-f99709370657
2010-03-14 23:35:01 +00:00