Dominik Riebeling
4756a77b47
Support resolving of DLLs when running on Windows.
...
Resolve the DLLs required by the built executable and try to add the required
DLL files that are not recognized as system libraries to the resulting zip /
NSIS installer. This means that it's now possible to easily build both Theme
Editor and Rockbox Utility as dynamically linked binary without the risk of
missing required DLLs in the package. The major advantage of this is that
it's not necessary anymore to have a statically built Qt installation for
building releases. The drawback is that the created binaries will rely on
additional DLL files, so it's no longer a single-run binary.
Binary release of Rockbox Utility should still be statically build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27945 a1c6a512-1295-4272-9138-f99709370657
2010-08-30 17:51:53 +00:00
Robert Bieber
b413169b2e
Theme Editor: Changed playlist rendering to match new syntax
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27819 a1c6a512-1295-4272-9138-f99709370657
2010-08-15 02:04:06 +00:00
Robert Bieber
18a6f42f26
Theme Editor: Editor font/color settings are now applied to config documents
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27818 a1c6a512-1295-4272-9138-f99709370657
2010-08-15 01:50:27 +00:00
Robert Bieber
dfc109ac65
Theme Editor: Added warning messages for missing resources
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27803 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 19:14:54 +00:00
Robert Bieber
6dd974a7a3
Theme Editor: Enabled __list_icons__ special file name for %xl tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27799 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 06:04:32 +00:00
Robert Bieber
b477463d9c
Theme Editor: Altered implementation of %ax tag so that viewport now simply mirrors itself across the screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27798 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 02:05:38 +00:00
Robert Bieber
1ee2cddf1a
Theme Editor: Implemented some basic viewport/text mirroring with the %ax tag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27795 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 23:05:53 +00:00
Robert Bieber
f4c06f3434
Theme Editor: RTC tags will now display nothing if RTC is not available on device
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27793 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 18:47:05 +00:00
Robert Bieber
f055ceeac6
Theme Editor: Fixed a bug that prevented ID3 info tags from working correctly in conditionals
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27792 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 18:40:35 +00:00
Robert Bieber
5602342613
Theme Editor: Added a warning console to the renderer, but haven't made any rendering classes use it yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27775 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 05:30:31 +00:00
Robert Bieber
d1a392a0e9
Theme Editor: Co Used a more efficient/less error-prone system for rendering SBS documents underneath WPS documents
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27765 a1c6a512-1295-4272-9138-f99709370657
2010-08-09 19:37:23 +00:00
Dominik Riebeling
77b682571f
deploy.py: Figure installer filename from NSIS script.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27764 a1c6a512-1295-4272-9138-f99709370657
2010-08-09 17:44:03 +00:00
Dominik Riebeling
93c81dcd26
Support running NSIS from deployment script.
...
This requires a few workarounds since NSIS expects files in the source
folder but the build scripts run out-of-tree. Only added for Theme
Editor for now, since Rockbox Utility doesn't have a NSIS script yet
(and an installer for Rockbox Utility might not be that useful).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27759 a1c6a512-1295-4272-9138-f99709370657
2010-08-08 20:56:58 +00:00
Dominik Riebeling
f1184f963a
Add NSIS installer script. Expects to find a static build of the Theme Editor.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27745 a1c6a512-1295-4272-9138-f99709370657
2010-08-07 21:21:50 +00:00
Robert Bieber
df1ff115f5
Theme Editor: Added coordinate display when moving mouse around preview window
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27738 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 20:53:50 +00:00
Robert Bieber
76d1377d04
Theme Editor: Restricted resizing/moving of graphical elements to integer coordinates
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27737 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 20:06:56 +00:00
Robert Bieber
87d2590bab
Theme Editor: Made default viewport non-interactive in skin preview. Selecting and resizing the default viewport was causing lockups and segfaults
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27736 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 08:01:07 +00:00
Robert Bieber
92882f2a25
Theme Editor: Made progress bar display correctly when resized, fixed some segfaults caused by editing SBS elements from a WPS document and then turning SBS rendering off
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27735 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 07:53:19 +00:00
Robert Bieber
d505bc0119
Theme Editor: Made SBS elements in WPS documents non-interactive, which makes it a little more difficult to crash the editor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27734 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 05:34:01 +00:00
Robert Bieber
10b9e3b024
Theme Editor: Implemented resizing in RBMovable subclasses. Implementation is still somewhat crash-prone, but mostly works at this point
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27729 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 22:31:46 +00:00
Robert Bieber
c5025c7c78
Theme Editor: Made progress bars fully movable/savable from the preview panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27726 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 19:05:36 +00:00
Robert Bieber
f657e49103
Theme Editor: Fixed bug that crashed conditionals nested in sublines, began work on making progress bars implement RBMovable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27714 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 08:49:34 +00:00
Robert Bieber
265ee156f2
Theme Editor: Implemented saveGeometry() in RBAlbumArt
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27713 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 08:03:32 +00:00
Robert Bieber
2ea1a34f98
Theme Editor: Stopped bug that caused segfault if SBS element was moved from within a WPS preview
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27712 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 07:38:02 +00:00
Robert Bieber
bfc20975b0
Theme Editor: Fixed image positioning bug, implemented saveGeometry() in RBImage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27711 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 07:28:01 +00:00
Robert Bieber
0b2174098d
Theme Editor: Fixed ParseTreeModel's paramChanged function to emit the correct dataChanged range
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27709 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:35:04 +00:00
Robert Bieber
5d4b8e0b3f
Theme Editor: Removed empty lines after comments in generated code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27708 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 06:25:53 +00:00
Robert Bieber
054a85fdca
Theme Editor: Added code generate/undo functionality to SkinViewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27704 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 00:43:33 +00:00
Robert Bieber
c216100f84
Theme Editor: Overhauled main window toolbar
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27697 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:56:00 +00:00
Robert Bieber
bcf51beee7
Theme Editor: Replaced zoom icons with modified Tango icons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27696 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:37:28 +00:00
Robert Bieber
d57d702e42
Theme Editor: Switched playback icons to tango icons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27695 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 17:28:29 +00:00
Robert Bieber
49865b23f6
Theme Editor: Began implementing code generation for movable viewports
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27691 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 09:16:52 +00:00
Jonathan Gordon
2db08d4153
remove old test code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27690 a1c6a512-1295-4272-9138-f99709370657
2010-08-04 07:42:23 +00:00
Robert Bieber
83c60a1012
Theme Editor: Created the RBMovable abstract class for screen elements that can be moved around, began implementing it and making images, viewports, and album art children of it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27685 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 22:29:26 +00:00
Robert Bieber
a83adc7d6d
Theme Editor: Removed markup comments from CodeEditor files (it was originally a Nokia example, so it was marked up with comments for their documentation), implemented the beginnings of drag and drop editing. Viewports are now movable, but don't invoke code generation yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27675 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 08:42:30 +00:00
Robert Bieber
dad9810fe5
Theme Editor: Implemented Sx tag in renderer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27674 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 05:47:59 +00:00
Robert Bieber
436ed78b6f
Theme Editor: SkinDocument class now checks file extension when loading a document and sets the cs device setting accordingly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27673 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 22:32:37 +00:00
Robert Bieber
7cd57a9671
Theme Editor: Added a default label to switch block in devicestate.cpp to be safe
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27672 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 22:26:55 +00:00
Robert Bieber
c8824640f2
Theme Editor: Fixed rendering of %ca tag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27671 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 22:23:39 +00:00
Rafaël Carré
a19fa2dafc
themeeditor: fix build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27661 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 19:00:33 +00:00
Rafaël Carré
3bc8fd0824
cmp-plugins-size: continue if a map file is absent/corrupted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27654 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 15:09:51 +00:00
Robert Bieber
d73c81f912
Theme Editor: Modified buildtargetdb.php to read targets list from tools/builds.pm using includetargets.pl
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27630 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 20:47:25 +00:00
Robert Bieber
66f8c73dcd
Theme Editor: Filled out the tagdb file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27629 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 19:16:43 +00:00
Robert Bieber
ba41fa537a
Theme Editor: Made auto-complete functional and enabled it by default. Added a small subset of the available tags to the tagdb file, filling it out is todo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27625 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 08:38:38 +00:00
Robert Bieber
f8dd370ff8
Theme Editor: Began implementing syntax highlighting. What I've accomplished so far isn't particularly useful for anything other than testing, so at the moment it will only function if activated in the preferences dialog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27624 a1c6a512-1295-4272-9138-f99709370657
2010-07-30 01:26:10 +00:00
Jonathan Gordon
2d31d77a8b
FS#11470 - new skin code, finally svn uses the new parser from the theme editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27613 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 12:37:48 +00:00
Robert Bieber
89c1a88dc8
Theme Editor: Recent documents/projects that no longer exist are now cleared from the menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27611 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 07:38:01 +00:00
Robert Bieber
5106d938c6
Theme Editor: Project Exporter will not check for internal settings keys as files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27610 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 07:17:12 +00:00
Robert Bieber
b22077cd60
Theme Editor: Renderer now correctly handles special case with only one branch in a conditional
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27609 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 06:41:33 +00:00
Robert Bieber
85040111fe
ThemTheme Editor: Enabled sbs rendering underneath fms documents
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27608 a1c6a512-1295-4272-9138-f99709370657
2010-07-29 06:10:28 +00:00
Dominik Riebeling
85f84060c4
Correct OS X post-build bundle copying.
...
Make copying files to the bundle work when building other applications than
Rockbox Utility by replacing a hardcoded workaround.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27606 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 21:05:16 +00:00
Dominik Riebeling
ce1d2bf7b1
Update theme editor app name for OS X bundle.
...
The OS X bundle Info.plist needs to hold the filename of the executable for the
application bundle to work correctly. Update it according to the recent name
change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27605 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 20:56:20 +00:00
Dominik Riebeling
05e5fbf5e2
Add deployment script for Theme Editor.
...
Also move scripts to utils folder, in preparation of merging rbutil and
utils folders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27600 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 18:46:20 +00:00
Robert Bieber
1c372492ad
Theme Editor: Modified themeeditor.pro to call svnversion when qmake executes and include the revision in the version number, if building in debug mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27590 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 06:50:52 +00:00
Robert Bieber
dbeb1ee072
Theme Editor: Added ditor: Added a version number to the project file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27581 a1c6a512-1295-4272-9138-f99709370657
2010-07-26 21:37:26 +00:00
Robert Bieber
d530f0bbe5
Theme Editor: Changed binary name to rbthemeeditor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27580 a1c6a512-1295-4272-9138-f99709370657
2010-07-26 21:18:47 +00:00
Robert Bieber
d92f8174a1
Theme Editor: Added targetdb download to preferences dialog, fixed Cancel button on FontDownloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27565 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 21:59:35 +00:00
Robert Bieber
e1e51f9994
Theme Editor: Added recent docs/projects menus. Modified buildtargetdb.php to add a do-not-modify warning to the top of its output, and generated a new targetdb file with the warning in place
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27564 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 21:16:37 +00:00
Dominik Riebeling
62f661829b
Theme Editor: fix building on Windows.
...
The imported qtfindreplacedialog assumes getting compiled as library.
Including the files directly causes problems on Windows because of its
__declspec() handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27559 a1c6a512-1295-4272-9138-f99709370657
2010-07-25 18:06:41 +00:00
Robert Bieber
7a1a72a527
Theme Editor: Added resource check to project export
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27543 a1c6a512-1295-4272-9138-f99709370657
2010-07-24 22:41:45 +00:00
Robert Bieber
8556ad81bd
Theme Editor: Implemented zip file project export
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27537 a1c6a512-1295-4272-9138-f99709370657
2010-07-24 08:10:44 +00:00
Robert Bieber
5297db9904
Theme Editor: Added interface for project export, exporting files to zip is still todo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27534 a1c6a512-1295-4272-9138-f99709370657
2010-07-23 21:15:15 +00:00
Robert Bieber
e6fd3d0318
Theme Editor: Switched back to Lorenzo Bettini's find/replace dialog (with some modifications) as he changed the license to LGPL v2.1
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27528 a1c6a512-1295-4272-9138-f99709370657
2010-07-23 07:31:53 +00:00
Robert Bieber
b21b771420
Theme Editor: Filled out the targets table in buildtargetdb.php and generated a new targetdb with it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27527 a1c6a512-1295-4272-9138-f99709370657
2010-07-23 06:20:21 +00:00
Robert Bieber
81ba38e4a1
Theme Editor: Wrote buildtargetdb.php to automatically generate a targetdb file from the target config files in /firmware/export/config. All that remains is to fill out the names of the targets and run the script to build the db
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27516 a1c6a512-1295-4272-9138-f99709370657
2010-07-22 08:22:20 +00:00
Robert Bieber
2a2df2857b
Theme Editor: Changed default directories for fonts and targetdb, font downloader will now make download directory if it doesn't exist
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27515 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 21:18:17 +00:00
Robert Bieber
d03929b0c9
Theme Editor: Added file filters with capitalized extensions for WPS, SBS, etc. files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27514 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 20:08:51 +00:00
Robert Bieber
6e238f731f
Theme Editor: Added support for upper-case wps file extensions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27513 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 19:36:30 +00:00
Dominik Riebeling
e86940c28b
Support cross-compiling Theme Editor.
...
Adjust project file with some quirks to make cross-compiling a Windows
binary for the Theme Editor work. Only tested on Fedora 13, so might not
work on other distributions without further modifications.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27512 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 19:35:20 +00:00
Robert Bieber
7c52284b29
Theme Editor: Implemented download and decompression of font pack in the preferences dialog. Dialog will also allow the user to set a directory for a custom target database, but the update button doesn't work yet. Also fixed the file filters for open file/open project actions and resized the preferences dialog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27509 a1c6a512-1295-4272-9138-f99709370657
2010-07-21 07:45:29 +00:00
Michael Giacomelli
92fdebb1f2
Add parse_testcodec.pl, a script for parsing and comparing test_codec.c logs and formatting them for the wiki. Written by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27499 a1c6a512-1295-4272-9138-f99709370657
2010-07-19 21:53:12 +00:00
Robert Bieber
3c4fb8abe4
Theme Editor: Added column number to parser error messages
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27477 a1c6a512-1295-4272-9138-f99709370657
2010-07-18 00:59:02 +00:00
Robert Bieber
eb52a45a0c
Theme Editor: If a pr project specifies a valid #target value, its settings are now loaded into the device configuration panel when the theme is loaded
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27476 a1c6a512-1295-4272-9138-f99709370657
2010-07-18 00:39:40 +00:00
Robert Bieber
4a46996922
Theme Editor: Integrated target db with project creation code. Now changing the target option in the New Project dialog will change the available options for wps documents, and the target id is stored in the new config file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27451 a1c6a512-1295-4272-9138-f99709370657
2010-07-17 00:35:54 +00:00
Robert Bieber
025147effb
Theme Editor: Added target database, now populates combo box in new project dialog but otherwise not used yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27450 a1c6a512-1295-4272-9138-f99709370657
2010-07-16 20:47:23 +00:00
Robert Bieber
c272144867
Theme Editor: Added New Project feature
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27439 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 21:39:09 +00:00
Robert Bieber
3a354dd64f
Theme Editor: Corrected last commit. Touch areas should have been made relative, not absolute
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27436 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 19:04:01 +00:00
Robert Bieber
209e30854e
Theme Editor: Made toutouch area coordinates absolute rather than relative
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27435 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 18:58:58 +00:00
Robert Bieber
15488a00ea
Theme Editor: Committed FS#11477 to add a DECIMAL parameter type in the parser and adapt the Theme Editor to accomodate the change by Johnathan Gordon. Fixed bug in the parser caused by the patch (error was thrown on zero value) and adapted tag rendering for new format
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27426 a1c6a512-1295-4272-9138-f99709370657
2010-07-15 06:24:11 +00:00
Robert Bieber
4b457d688b
Theme Editor: Added optional plaintext editing for config files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27415 a1c6a512-1295-4272-9138-f99709370657
2010-07-14 07:38:09 +00:00
Robert Bieber
b76b6448a2
Theme Editor: Added Close Project feature
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27412 a1c6a512-1295-4272-9138-f99709370657
2010-07-14 05:06:42 +00:00
Robert Bieber
64af2b3a16
Theme Editor: Made %pv tag display bar and select from conditional branches correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27398 a1c6a512-1295-4272-9138-f99709370657
2010-07-12 06:07:50 +00:00
Robert Bieber
bae1836337
Theme Editor: Implemented some touch area click events
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27397 a1c6a512-1295-4272-9138-f99709370657
2010-07-12 05:33:14 +00:00
Robert Bieber
f65ed0d3bc
Theme Editor: Added support for larger fonts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27379 a1c6a512-1295-4272-9138-f99709370657
2010-07-11 05:12:11 +00:00
Robert Bieber
364af4f574
Theme Editor: Fixed rendering behavior of default viewport. Now when other viewports are present in the skin, only _text_ from the default viewport is not rendered
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27378 a1c6a512-1295-4272-9138-f99709370657
2010-07-11 04:36:05 +00:00
Robert Bieber
1423874007
Theme Editor: Added RBTouchArea class. Touch areas on a theme can now be displayed, but they're not clickable yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27369 a1c6a512-1295-4272-9138-f99709370657
2010-07-10 06:43:50 +00:00
Robert Bieber
b99066440f
Theme Editor: Implemented timer panel functionality, added missing seconds field to device control panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27354 a1c6a512-1295-4272-9138-f99709370657
2010-07-09 02:11:34 +00:00
Robert Bieber
73a3747bc1
Theme Editor: Built a ui for the timer panel, not functional yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27353 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 21:53:27 +00:00
Robert Bieber
91a0e8a4c2
Theme Editor: Simplified clock tab in device control panel, now one set of values controls all the cX tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27351 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 19:44:30 +00:00
Robert Bieber
cd98d01926
Theme Editor: Implemented the song time (pS, pE, px, pc, etc.) in the device configuration panel, all depending on one value for current time in song and one value for length of song
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27347 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 08:14:04 +00:00
Robert Bieber
6358d41f31
Theme Editor: Began working on special cases for device option panel. Implemented path info for current and next file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27346 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 06:54:08 +00:00
Robert Bieber
eb93e3b3d2
Theme Editor: Removed papause from line scrolling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27345 a1c6a512-1295-4272-9138-f99709370657
2010-07-08 05:30:00 +00:00
Robert Bieber
13e97cd5f5
Theme Editor: Implemented line scrolling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27344 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 22:25:42 +00:00
Robert Bieber
de9ba10aab
Theme Editor: Made auto-expand/highlight of parse tree optional (through preferences dialog), added Simulation Time variable to device config panel, subline alternation is now dependent on that rather than time in song
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27342 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 20:56:16 +00:00
Robert Bieber
6d609e009f
Theme Editor: Implemented caching for rendered text, added profiling info to debug build, added a 500msec delay when rendering after code changes to prevent editor from hanging on large themes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27332 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 09:33:47 +00:00
Robert Bieber
6f06793f58
Theme Editor: Fixed rendering bug that caused text in sublines not to appear, implemented a global font cache
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27331 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 08:41:36 +00:00
Robert Bieber
88145656fb
Theme Editor: Delaying rendering of text lines until newline reached
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27330 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 07:49:00 +00:00
Robert Bieber
e03d373957
Theme Editor: WorkingWorking on speeding up the renderer, replaced for-loops with faster method call
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27329 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 07:38:38 +00:00
Robert Bieber
3214e3710a
Theme Editor: Made all lines of text render as a single graphic, viewport size limits now enforced on text width
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27327 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 06:50:30 +00:00
Robert Bieber
ce5ee193d4
Theme Editor: Moved volume options in device configuration panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27326 a1c6a512-1295-4272-9138-f99709370657
2010-07-07 06:17:02 +00:00
Dominik Riebeling
86d8a53a2b
Add Theme Editor application icon for Windows
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27325 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 22:05:03 +00:00
Dominik Riebeling
b4443ef167
Add Info.plist and application icon to Theme Editor on OS X.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27324 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 21:46:53 +00:00
Dominik Riebeling
e464128c54
Rework libskin_parser Makefile for OS X support.
...
- add similar trickery that is used for the libraries used by Rockbox Utility
to allow building as universal binary.
- don't overwrite CC, we need to set this from outside for building OS X 10.4
compatible binaries.
- extend Theme Editor project file to build 10.4 compatible binaries on OS X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27323 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 21:08:16 +00:00
Robert Bieber
eccc2bd009
Theme Editor: Added font directory option in preferences dialog, renderer will now search that directory for fonts if they're not found in the project directory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27322 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 20:23:27 +00:00
Robert Bieber
120f3e1c10
Theme Editor: Default theme font is now correctly loaded
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27321 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 19:32:12 +00:00
Robert Bieber
39e252019f
Theme Editor: Rockbox FNT files now supported. Theme editor will currently load fonts from the current project directory, or use the built-in font if they're not present
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27318 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 19:19:11 +00:00
Robert Bieber
6a04479d63
Theme Editor: Began working on font loading. Font header info is now read and spewed out onto the debug console
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27301 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 22:15:17 +00:00
Robert Bieber
8a23b8eb1e
Theme Editor: Added the built-in font to the project resources
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27300 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 20:58:06 +00:00
Robert Bieber
27debea5a0
Theme Editor: Fixed redundant directory separator bug in addresourcedir script
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27299 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 20:42:08 +00:00
Robert Bieber
ac58d02cee
Theme Editor: Added a small PHP script to auto-generate a qrc entry for a directory with aliases for each file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27298 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 20:38:04 +00:00
Robert Bieber
68756cca43
Theme Editor: Enabled conditional display of ID3/file info with checkbox on the device panel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27296 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 19:12:52 +00:00
Robert Bieber
71b561e3df
Theme Editor: Fixed bug that caused WPS skins without SBS parents not to render their backdrops correctly. Added support for RTL-dependant text alignment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27295 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 19:02:40 +00:00
Jonathan Gordon
dc34785b18
s/SUBLINES/LINE_ALTERNATOR/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27271 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 02:04:14 +00:00
Robert Bieber
2a7fc15448
Theme Editor: WPS documents rendered within SBS documents can now set backdrops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27269 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 01:47:04 +00:00
Robert Bieber
32ff4e93bd
Theme Editor: Implemented a flags column in the tag table, removed the \n flag at the end of the param list and replaced it with a NOBREAK flag to prevent the renderer from inserting a line break at the end of the line. Modified the theme editor's renderer to accomodate this flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27268 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 01:39:57 +00:00
Robert Bieber
d4e7ab7a93
Theme Editor: Switched device configuration panel to a QFormLayout
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27267 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 23:48:10 +00:00
Robert Bieber
e472c3975e
Theme Editor: Fixed cd code generation bug: Tags whose paramlists end in \n will now have a newline inserted after them
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27266 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 23:31:08 +00:00
Robert Bieber
2f68e5be59
Theme Editor: SBS will now render underneath WPS, if both are present in project
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27265 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 22:57:42 +00:00
Robert Bieber
8219cfe988
Theme Editor: Status bar no longer drawn by default
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27263 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 21:56:29 +00:00
Robert Bieber
5aa684f058
Theme Editor: Implemented replace and replace all in find/replace dialog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27254 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 08:23:20 +00:00
Robert Bieber
a8bb62e6e2
Theme Editor: Made irrelevant menu items disabled at startup, made wrap-around search work in the find/replace dialog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27253 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 06:53:06 +00:00
Robert Bieber
fb09d6354c
Theme Editor: Removed some old debug code in skindocument.cpp, began implementing a new find/replace dialog, due to licensing issues
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27252 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 06:08:59 +00:00
Robert Bieber
4429fb02b7
Theme Editor: Removed some old hash code that caused viewer not to update due to hash collisions. Made Vf and Vb tags attached to viewport definition eat newline at end of line'
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27238 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 08:05:03 +00:00
Robert Bieber
9d6851688e
Theme Editor: Fixed random outlining in default viewport, working on getting the viewer to refresh on re-render
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27235 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 05:58:06 +00:00
Robert Bieber
14caf67642
Theme Editor: Switched the last two parameters of the Vp tag back to their original orientation, made the playlist display the first half with ID3 info, the second half without, as if the list were mid-way through loading
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27234 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 05:17:57 +00:00
Robert Bieber
e763eb73b8
Theme Editor: Switched the order of the last two arguments to %Vp in rendering
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27233 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 04:47:32 +00:00
Robert Bieber
f58174f7cc
Theme Editor: Renderer will not insert a newline at the end of a line if it's the same line in the wps file as the viewport declaration, to avoid forcing the first line of text down past where it belongs if Vf and Vb are used. The parser should be modified to make this unnecessary, when a consensus can be reached on how to do it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27230 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 00:27:47 +00:00
Robert Bieber
9742704070
Theme Editor: Altered tag table entry for %pb to make image optional, implemented progress bar rendering in theme editor
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27229 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 00:20:36 +00:00
Robert Bieber
26a2f810f1
Theme Editor: Fixed line numbering bug in parser. Implemented playlist display in renderer: playlist will use info for next track for all tracks other than the current track
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27227 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 21:49:55 +00:00
Robert Bieber
a54bfaa69e
Theme Editor: Renderer now adds a newline after EVERY logical line in the parse tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27222 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 20:30:19 +00:00
Robert Bieber
f09370058f
Theme Editor: Fixed album art positioning bug, removed unneeded debug code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27207 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 02:49:44 +00:00
Robert Bieber
c215d97b4d
Theme Editor: Made blank lines render newlines in the output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27206 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 02:29:58 +00:00
Robert Bieber
8cd51a70c5
Theme Editor: Implemented negative x/y/w/h values in viewport declarations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27205 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 02:07:41 +00:00
Robert Bieber
82618e82e6
Theme Editor: Fixed segfaulting conditional bug
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27204 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 01:45:24 +00:00
Robert Bieber
35150b6dcb
Theme Editor: Implemented status bar enable/disable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27200 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 21:28:11 +00:00
Robert Bieber
8114979e8e
Theme Editor: Added album art display
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27199 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 19:35:00 +00:00
Robert Bieber
d2ed594246
Theme Editor: Implemented text alignment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27191 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 07:00:05 +00:00
Robert Bieber
1fbea62797
Theme Editor: Fixed conditional viewport display
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27185 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 21:09:29 +00:00
Robert Bieber
9d6b5d6317
Theme Editor: Stopped conditionals and sublines from triggering newlines and made combo boxes in config panel return text if not used in a conditional
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27184 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 20:39:45 +00:00
Bertrik Sikken
5565a28c7d
Remove some redundant #include's
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27183 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 20:13:22 +00:00
Robert Bieber
3ecef7d801
Theme Editor: Implemented subline rendering, including conditional subline times
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27182 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 19:59:33 +00:00
Robert Bieber
3313ab8bb1
Theme Editor: Implemented conditional rendering, most conditionals should work correctly now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27169 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 07:15:41 +00:00
Robert Bieber
449a895372
Theme Editor: Beginning to work on conditional rendering, just made fix to line following code to speed up horizontal scrolling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27168 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 06:14:36 +00:00
Robert Bieber
aa13a5377c
Theme Editor: Rearranged and separated tag execution and rendering code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27167 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 05:23:22 +00:00
Robert Bieber
be70fd89be
Theme Editor: Added an edit menu with a find/replace function (copied from an LGPL library)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27137 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 07:59:23 +00:00
Robert Bieber
5300c7014d
Theme Editor: Added Show Viewports option to device configuration panel, implemented simple rendering of info tags from device configuration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27136 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 05:51:07 +00:00
Robert Bieber
c32728c91c
Theme Editor: Began integrating device configuration panel with renderer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27135 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 05:18:21 +00:00
Robert Bieber
33595878aa
Theme Editor: Added a reset zoom button, made icons for all the zoom buttons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27129 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 06:56:15 +00:00
Robert Bieber
0db8bc4664
Theme Editor: Made the device configuration menu dockable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27128 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 05:49:16 +00:00
Robert Bieber
273b9d6050
Theme Editor: Fixed some compiler warnings and a segfault. Got some basic text rendering working (only with plaintext elements, no font support yet) as well as Viewport background color support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27126 a1c6a512-1295-4272-9138-f99709370657
2010-06-25 05:14:13 +00:00