Commit graph

235 commits

Author SHA1 Message Date
Robert Bieber
42b065f04a Theme Editor: Made status label a permanent widget and made editor highlight line that causes parse error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26676 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 21:59:16 +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
0e44ce9bed Theme Editor: Changed anged error reporting method in parser, added error messages to status bar in editor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26672 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 20:29:46 +00:00
Jonathan Gordon
9f2bd9893b add the Vf and Vb colour tags to the theme editor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26652 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 10:45:15 +00:00
Robert Bieber
40e73255a9 Theme Editor: Made text editor scroll horizontally
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26651 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 08:05:52 +00:00
Robert Bieber
ffc1afc30d Theme Editor: Added font selection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26650 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 07:57:56 +00:00
Jonathan Gordon
9df2868a37 temporariliy use S for the timeout param because the parser doesnt handle decimals yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26647 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 06:52:53 +00:00
Robert Bieber
53b619c6e8 Theme Editor: Added a preferences dialog and allowed modification of the syntax highlighting and editor colors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26640 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 03:25:40 +00:00
Robert Bieber
fbfdaf5c79 Theme Editor: Implemented document load functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26639 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 01:08:25 +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
5619b4f6cf Theme Editor: Added code generation with tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26608 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 02:11:04 +00:00
Robert Bieber
bc9b353c3e Theme Editor: Altered the SkinDocument class' handling of tab titles and added a title to the confirm close dialog box, changed tab order in the EditorWindow class
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26607 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 01:51:23 +00:00
Robert Bieber
47181b8b9b Theme Editor: Got save/save-as functionality working and added Tango icons to the toolbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26593 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 19:47:49 +00:00
Robert Bieber
219f5db1dc Theme Editor: Basic save-as functionality working, but only invoked when a tab is closed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26568 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 08:40:27 +00:00
Robert Bieber
4051b34039 Theme Editor: Got document title change signal working, beginning work on save function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26567 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 08:22:30 +00:00
Robert Bieber
d41a681053 Theme Editor: Enabled tag closing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26566 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 07:38:29 +00:00
Robert Bieber
0af8860775 Theme Editor: Enabled persistent window and panel locations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26565 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 07:14:03 +00:00
Robert Bieber
e174a8ad8d Theme Editor: Began implementing tabbing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26541 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 07:57:19 +00:00
Robert Bieber
9616389377 Theme Editor: Fixed bugs with menu signals, rearranged UI some more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26540 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 06:59:25 +00:00
Robert Bieber
af07a53c98 Theme Editor: Added missing copyright headers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26526 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 20:53:42 +00:00
Robert Bieber
084ff072dc Theme Editor: Added a window icon and made menus alt-navigable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26525 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 20:51:17 +00:00
Robert Bieber
69dce7cc2d Theme Editor: Mocked up most of the UI, added View menu items for all dockable widgets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26520 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 20:05:55 +00:00
Robert Bieber
88160b6e27 Theme Editor: Refactored main window init code, moved parse tree into dock widget
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26519 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 18:42:36 +00:00
Robert Bieber
6feac4a315 Theme Editor: Added syntax highlighting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26506 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 07:38:59 +00:00
Robert Bieber
e5a3ec2baf Changed build subdirectory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26492 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 20:36:30 +00:00
Jonathan Gordon
e8a662432a clip int scanning to 15 digits to remove an unecessary malloc().
fix %xl tag


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26477 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 10:35:19 +00:00
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