Commit graph

39 commits

Author SHA1 Message Date
Frank Gevaerts
f1fd60288f checkwps: properly zero the wps struct to avoid interesting issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28308 a1c6a512-1295-4272-9138-f99709370657
2010-10-18 21:46:51 +00:00
Jonathan Gordon
1e0a01063d make -vvv display the parse tree in checkwps. Fix a potential bug in the parser where recursive tags (the playlist viewier) would share params with its parant which meant bad things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27677 a1c6a512-1295-4272-9138-f99709370657
2010-08-03 12:14:50 +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
Jonathan Gordon
36778730e6 make checkwps accept .rfms files as remote skins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26082 a1c6a512-1295-4272-9138-f99709370657
2010-05-16 11:37:56 +00:00
Jonathan Gordon
1bd072c92d FS#10853 - Skin support in the radio screen! Check CustomWPS for the new tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25964 a1c6a512-1295-4272-9138-f99709370657
2010-05-12 10:38:00 +00:00
Thomas Martitz
69f8e8d277 Move read_line() further down so that it can be used in checkwps and remove checkwps' copy if it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25793 a1c6a512-1295-4272-9138-f99709370657
2010-05-03 15:12:19 +00:00
Jonathan Gordon
0acb38b61c some minor changes to checkwps, shouldn't change anything
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24874 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 05:58:16 +00:00
Frank Gevaerts
afa04b12d9 Make checkwps compile again for the player. If we had proper multifont on charcell this would never have happened
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24735 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 23:08:25 +00:00
Frank Gevaerts
07a5bf967a Initialuse user font table for checkwps. This is normally done from the settings code, which isn't run in this case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24734 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 22:59:34 +00:00
Jonathan Gordon
1c2aa35371 FS#10984 - multifont! 2 major additions:
1) seperate UI font for the remote and main displays
2) allow individual skins to load additional fonts for use in the skin (Uo to 7 extra in this first version) see CustomWPS for info on how to load a font in the skins.

Code should always use FONT_UI+screen_number to get the correct user font


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24644 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 06:26:16 +00:00
Jonathan Gordon
349bf08ed1 fix reds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24367 a1c6a512-1295-4272-9138-f99709370657
2010-01-29 08:13:40 +00:00
Jonathan Gordon
0677405ab1 fix red... lets branch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24341 a1c6a512-1295-4272-9138-f99709370657
2010-01-27 07:15:55 +00:00
Maurus Cuelenaere
c28752b1af CheckWPS: set screen to SCREEN_MAIN when not a r{sb,wp}s.
This fixes the potential bug of mislabeling an {sb,wp}s as remote while it's not.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23668 a1c6a512-1295-4272-9138-f99709370657
2009-11-19 22:14:21 +00:00
Dominik Wenger
d236af05a0 make checkwps able to check .rsbs files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23667 a1c6a512-1295-4272-9138-f99709370657
2009-11-19 21:23:25 +00:00
Thomas Martitz
9f82def977 Forgot to remove wps_data.remove_wps in checkwps too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23514 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 07:28:12 +00:00
Thomas Martitz
6750d65f79 Reorder a bit in viewport.c so that we don't need stubs for checkwps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23511 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 06:56:04 +00:00
Jonathan Gordon
de45edbdb1 Fix checkwps. Reimplement viewport_set_fullscreen() and viewport_set_defaults() to always return the "full display". This doesn't change anything about the skin so is fine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23510 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 05:40:10 +00:00
Thomas Martitz
3216d32a05 Move find_viewport() and find_image() to skin_parser.c where the reset of the linked-list handling sits. That enables removing duplicated code from checkwps. Also remove a few stubs in favor having the restart playback mechanism on albumart change #ifdef __PCTOOL__
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23465 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 15:48:31 +00:00
Jonathan Gordon
ea094b163d haloween night is when red monsters are vanquished right? or is that green monsters?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23456 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 02:47:38 +00:00
Frank Gevaerts
4cc1b1f833 wps_screen is still needed for the HAVE_REMOTE_LCD case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23292 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 17:15:12 +00:00
Frank Gevaerts
dae2b97240 compile checkwps with -Wall, to avoid accidentally breaking it again when a function prototype changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23291 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 17:07:06 +00:00
Michael Chicoine
128b84c582 fix checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23290 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 16:22:38 +00:00
Thomas Martitz
d7757eb75c Fix Player, checkwps and database tools
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23215 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:34:54 +00:00
Thomas Martitz
c0f1c49178 Get rid of some of the code duplication from checkwps, it still duplicates a lot though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22695 a1c6a512-1295-4272-9138-f99709370657
2009-09-13 13:40:58 +00:00
Frank Gevaerts
c8020748bb Fix checkwps compilation for the Player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22680 a1c6a512-1295-4272-9138-f99709370657
2009-09-11 17:58:17 +00:00
Jonathan Gordon
4b4e5e9265 fix checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22619 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 06:24:13 +00:00
Maurus Cuelenaere
0119ebb044 Don't add #ifdef's without looking them up...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22455 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 19:33:27 +00:00
Maurus Cuelenaere
a40c87be47 Checkwps: give wps_screen an initial value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22454 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 19:31:37 +00:00
Maurus Cuelenaere
8741cd4ebd Fix building checkwps on targets without a remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22453 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 19:16:07 +00:00
Maurus Cuelenaere
d0d1c8321a Fix checkwps for remote screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22452 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 19:12:03 +00:00
Maurus Cuelenaere
876db6c2fc Fix/hack checkwps + add Onda VX747/VX777 targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22451 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 18:15:20 +00:00
Frank Gevaerts
e1d80522cf Newer glibc has letoh16 and friends, so use them if available
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20128 a1c6a512-1295-4272-9138-f99709370657
2009-02-27 19:07:38 +00:00
Maurus Cuelenaere
36c71a60ca Get checkwps working again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19880 a1c6a512-1295-4272-9138-f99709370657
2009-01-29 20:49:43 +00:00
Maurus Cuelenaere
7da2df4b4b Commit FS#9012 thanks to Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18153 a1c6a512-1295-4272-9138-f99709370657
2008-07-30 15:49:53 +00:00
Jonathan Gordon
b02ad2bb26 fix checkwps again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17958 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 14:32:34 +00:00
Jonathan Gordon
d035f255c9 get checkwps building again (FS#9150) - still doesnt compile on d2 and mr500 though
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17957 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 13:23:28 +00:00
Steve Bavin
d03d4f36f3 These should be const too, I believe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17476 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 18:28:28 +00:00
Dave Chapman
78d29f535f Major cleanup of checkwps - fix all warnings and add a script to build versions for all supported targets (plus some unsupported ones). You now need to run the version of checkwps that matches the device your WPS is for.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16831 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 23:35:34 +00:00
Dave Chapman
3d88eddb83 Move checkwps to its own subdir in preparation for compiling target-specific versions. Also remove a DEBUGF that should not have been left in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16827 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 20:19:39 +00:00
Renamed from tools/checkwps.c (Browse further)