Robert Bieber
1b613f583d
Theme Editor: Modified parser to integrate the %V tag into the VIEWPORT element, in the same style as CONDITIONAL
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26762 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 08:03:32 +00:00
Robert Bieber
4b77e82d67
Theme Editor: Fixed issue with parsing conditionals in sublines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26752 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 21:22:16 +00:00
Robert Bieber
64321adf43
Theme Editor: Applied FS#11389, switched conditional elements to use tag fields along with children, instead of holding the tag as the first child
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26751 a1c6a512-1295-4272-9138-f99709370657
2010-06-10 21:02:44 +00:00
Jonathan Gordon
9ac4b44610
SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last param instead of the first. skin updater, skins and manual all updated.
...
NEW PARSER: add an 'N' param type which will accept any number of strings, will cause very big problems if this isnt the last param for a tag.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26727 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 16:15:01 +00:00
Robert Bieber
6c9b0358b0
Theme Editor: Made parser recover memory on error
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26703 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 19:34:27 +00:00
Robert Bieber
06ea93da82
Theme Editor: Factored out code to skip over enum/arg lists while scanning for children counts, and fixed all of the parsing bugs caused by innacurate children counts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26679 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 23:49:06 +00:00
Robert Bieber
594d734143
Theme Editor: Added a clear erros function to the parser
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26673 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 21:09:13 +00:00
Robert Bieber
b807cb0808
Theme Editor: Fixed another conditional child-counting bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26610 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 03:45:18 +00:00
Robert Bieber
f3491e97d0
Theme Editor: Began working on open document functionality (still incomplete), fixed a nested conditional parsing bug in the parser, and fixed segfault-on-codegen-from-empty-tree bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26609 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 03:35:40 +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
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
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
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
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
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