summaryrefslogtreecommitdiff
path: root/utils/themeeditor/skin_parser.c (follow)
Commit message (Collapse)AuthorAge
* Theme Editor: Moved source files into subdirectoriesRobert Bieber2010-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26876 a1c6a512-1295-4272-9138-f99709370657
* initialise the element->type value so TAG types dont accidently get VIEWPORT ↵Jonathan Gordon2010-06-13
| | | | | | if it element->type == 0 at alloc time git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26825 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Fixed bug in parser handling empty lines and made ↵Robert Bieber2010-06-11
| | | | | | ParseTreeModel handle the new VIEWPORT element properly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26792 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Modified parser to integrate the %V tag into the VIEWPORT ↵Robert Bieber2010-06-11
| | | | | | element, in the same style as CONDITIONAL git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26762 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Fixed issue with parsing conditionals in sublinesRobert Bieber2010-06-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26752 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Applied FS#11389, switched conditional elements to use tag ↵Robert Bieber2010-06-10
| | | | | | 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
* SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last ↵Jonathan Gordon2010-06-09
| | | | | | | | | | 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
* Theme Editor: Made parser recover memory on errorRobert Bieber2010-06-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26703 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Factored out code to skip over enum/arg lists while scanning ↵Robert Bieber2010-06-07
| | | | | | 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
* Theme Editor: Added a clear erros function to the parserRobert Bieber2010-06-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26673 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Fixed another conditional child-counting bugRobert Bieber2010-06-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26610 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Began working on open document functionality (still ↵Robert Bieber2010-06-06
| | | | | | 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
* Theme Editor: Fixed parsing and code generation for nested conditionalsRobert Bieber2010-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26467 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Fixed some more code generation bugsRobert Bieber2010-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26466 a1c6a512-1295-4272-9138-f99709370657
* Fixed another code generation bug with viewports and enabled negative ↵Robert Bieber2010-06-02
| | | | | | numbers in tag parameters git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26465 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Fixed bugs in code generation and viewport parsingRobert Bieber2010-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26464 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Removed the NEWLINE parse tree elementRobert Bieber2010-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26463 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Fixed a small bug with asterisk handling in tag parameter ↵Robert Bieber2010-06-02
| | | | | | argument codes and fixed bugs with handling escaped characters git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26460 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Altered the way the parser handles asterisks in the tag ↵Robert Bieber2010-06-02
| | | | | | argument specifiers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26459 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Put together a simple GUI to test going back and forth between ↵Robert Bieber2010-06-01
| | | | | | a tree view and a text edit box git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26455 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Made text and comments editable from a treeviewRobert Bieber2010-06-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26453 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Enabled editing tag parameters from a treeviewRobert Bieber2010-06-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26452 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Made the viewport tag a top-level child under VIEWPORT ↵Robert Bieber2010-06-01
| | | | | | elements in the parse tree git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26450 a1c6a512-1295-4272-9138-f99709370657
* Committing FS#11345 by JdGordon. Theme editor parser now includes full tag ↵Robert Bieber2010-06-01
| | | | | | information in the skin_element struct git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26448 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Made Viewport the top level parse tree element, along with a ↵Robert Bieber2010-06-01
| | | | | | bugfix to the tag parsing function git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26442 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Fixed parsing bug that allowed comments to form a new logical ↵Robert Bieber2010-05-30
| | | | | | line in a skin document git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26402 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Got code generation tentatively working along with a solid C++ ↵Robert Bieber2010-05-29
| | | | | | tree structure for WPS parse trees git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26367 a1c6a512-1295-4272-9138-f99709370657
* Theme Editor: Fixed a bug in the subline parser, added a LINE element to ↵Robert Bieber2010-05-27
| | | | | | contain logical lines, working on data model git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26337 a1c6a512-1295-4272-9138-f99709370657
* Fixed some memory leaks in the theme editorRobert Bieber2010-05-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26292 a1c6a512-1295-4272-9138-f99709370657
* Fixed some bugs in the theme editor, added the tags with parameters to the ↵Robert Bieber2010-05-25
| | | | | | tag table git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26288 a1c6a512-1295-4272-9138-f99709370657
* Adding the new WPS parser, code works but need to build the tag tableRobert Bieber2010-05-25
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26281 a1c6a512-1295-4272-9138-f99709370657