Thomas Martitz
e28bfd1349
Rework how feature skin tags work (%cc currently) when used conditionally (i.e. to detect a feature).
...
If the feature is known to be unavailable at compile time or runtime detected, then let parsing skip over the true case. That enables parsing skins that properly put tags not available on a target within these tags. In the past the true case was parsed even if never could be true, which led to unexpected parsing failures.
Parsing %cc<%St|time format|[..]|> is now possible on target where that setting doesn't exist (the %St parser wold fail).
More of these tags are to be added, for example to indicate fm radio or recording capabilities.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23479 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 23:35:14 +00:00
Rafaël Carré
6cdb80d7df
Revert r23474 "new skin token: %cx - 24 hour time format enabled in the setting.. e.g %?cx<24 hour|12 hour>"
...
Committed accidentally with a svn/git desynch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23475 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 22:51:26 +00:00
Rafaël Carré
9cd15dad9d
new skin token: %cx - 24 hour time format enabled in the setting.. e.g %?cx<24 hour|12 hour>
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23474 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 22:48:46 +00:00
Jonathan Gordon
e702e5dbf8
revert that last checkin... something better is coming
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23473 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 21:45:01 +00:00
Jonathan Gordon
cb8527d073
new skin token: %cx - 24 hour time format enabled in the setting.. e.g %?cx<24 hour|12 hour>
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23472 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 21:35:35 +00:00
Jeffrey Goode
e8eefe98bf
Code cleanup in codec_thread, playback and pcmbuf; more elegant solution to leftover samples
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23471 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 19:39:23 +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
Teruaki Kawashima
30faf032ad
Show insert_last_shuffled item and queue_last_shuffled item when playlist file is selected.
...
break long lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23464 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 14:25:38 +00:00
Thomas Martitz
4f0e3ecda9
Fix red - statusbar_position() is a macro.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23462 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 13:36:57 +00:00
Thomas Martitz
6db726c147
Remove a wps function call from skin engine, hopefully the last one.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23461 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 13:36:52 +00:00
Thomas Martitz
dd33bdfe0d
Cleanup includes a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23459 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 13:08:57 +00:00
Jonathan Gordon
132256d1be
YELLOW ZOMBIES!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23457 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 02:56:37 +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
Jonathan Gordon
235d1ae795
Fix FS#10745 - %mv not working in sbs...
...
This fix is as good as we can do, but not perfect. Because the sbs is only updated when a button is pressed it will stay in the "volume changing" state probalby longer than expected.. which isnt terrible, but useful to remember.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23455 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 02:36:51 +00:00
Johannes Schwarz
2dbdfac86a
FS#10620 - fix a bug in bubbles on c200 thanks to Sascha Wilde
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23449 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 20:08:00 +00:00
Jeffrey Goode
5cbf4a5289
Fix yellow, again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23447 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 19:57:52 +00:00
Jeffrey Goode
03c5cb6503
Fix yellow, defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23446 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 19:49:58 +00:00
Jeffrey Goode
9a4420bf96
FS#10739: playback.c code split
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23444 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 19:17:36 +00:00
Thomas Martitz
28aef1f96a
Consolidate code duplication in WPS volume changing handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23436 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 14:55:13 +00:00
Thomas Martitz
0bd45b3622
Remove square brackets from the ID3 Viewer related language strings and generate them at runtime. This makes these lang strings actually usable for WPSes using the %Sx tag.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23434 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 12:40:20 +00:00
Teruaki Kawashima
a404e9ae24
Fix time display in time menu when time is not valid.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23421 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 14:34:13 +00:00
Teruaki Kawashima
0fb781ef41
Update Japanese translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23419 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 13:38:12 +00:00
Peter D'Hoye
d93d2fd40c
Revert the recording key functionality changes back to before r21034: Both play and rec start recording. Fixes the Archos recording usability issue. To Do: see which targets have usability issues left.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23414 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 23:07:26 +00:00
Rob Purchase
ff7931ebd4
Implement dbg_save_roms for TCC780x.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23408 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 20:12:28 +00:00
Maurus Cuelenaere
fecac647d8
Only expose pcmbuf_beep on SWCODEC targets (aka fix red).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23406 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 17:16:31 +00:00
Maurus Cuelenaere
5ca112b21e
Lua: return nil when function failed instead of returning nothing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23405 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 17:13:36 +00:00
Maurus Cuelenaere
8fb258856c
Expose pcmbuf_beep() to plugins (based on FS#10608 by Christophe Gragnic)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23404 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 16:52:12 +00:00
Maurus Cuelenaere
b1a7511990
Also expose functions having (s)size_t or off_t as argument/return type to Lua.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23403 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 16:52:09 +00:00
Nils Wallménius
67f616478a
Const correctness
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23402 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 15:09:09 +00:00
Robert Kukla
3fa2e88b3f
Fix FS#10734 - scoring in boomshine.lua is broken (r23391)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23399 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 11:15:14 +00:00
Kevin Ferrare
8d376d03be
Boomshine plugin : make speed and ball sizes adapt to the target screen size to get a constant gameplay
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23398 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 08:40:08 +00:00
Kevin Ferrare
19c3e77fa0
Boomshine plugin : port to Greyscale and B/W targets, and targets without touchscreen (currently using the virtual keyboard keymap)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23397 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 07:48:26 +00:00
Kevin Ferrare
c8f9f9cef8
Boomshine plugin : Better messages at the end of the game (fixes the nblevel+1 being displayed)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23394 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 04:18:29 +00:00
Jonathan Gordon
0aa035d73e
* code police on a macro which has no reason for being
...
* add the TOKEN_RTC_PRESENT value to the skin debugger listing
* Allow the width and height of a viewport to be negative values (so width -50 means extend to 50pixels inside from the right edge)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23393 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 03:27:13 +00:00
Kevin Ferrare
c4079e0b12
Fixed the Boomshine plugin not to crash when there are no more levels to play
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23392 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 02:21:47 +00:00
Maurus Cuelenaere
db8d79db7e
Remove unused #define and correct comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23391 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 23:31:45 +00:00
Maurus Cuelenaere
d789e41884
Add support for running Lua games/apps from the Plugins menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23390 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 23:31:42 +00:00
Maurus Cuelenaere
97881c1a62
Add Boomshine to the games category
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23389 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 23:05:11 +00:00
Maurus Cuelenaere
4d668c7ae1
Add new Lua touchscreen-only game: Boomshine
...
Flyspray: FS#10727
Author: myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23387 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 22:48:25 +00:00
Maurus Cuelenaere
21bca65d04
Add Lua support to plugins Makefile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23386 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 22:48:22 +00:00
Dave Hooper
494fd9673d
Committing FS#10717 by Tomasz Kowalyczyk: add PLAYLIST_INSERT_LAST_SHUFFLED (appends the inserted folder into shuffled order to end of playlist)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23385 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 22:27:38 +00:00
Maurus Cuelenaere
7b1d12e067
Touchscreen targets: fix software hold not locking touchscreen
...
Flyspray: FS#10733
Author: Yann Muller
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23384 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 21:36:24 +00:00
Maurus Cuelenaere
e415395c5b
The Onda VX777 has only one button, add it to the keymap.
...
Also fix a typo that erroneously enabled button_hold in button-target.h
Flyspray: FS#10732
Author: Yann Muller
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23383 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 21:16:45 +00:00
Nils Wallménius
ff197a4706
Use array for quickscreen item settings to simplify some logic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23380 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 20:41:34 +00:00
Jonathan Gordon
bee5900032
Allow the x and y pixel values of viewports to be a negative number..
...
%V|-50|0|-|..... will position that viewport 50 pixels from the right of the display at the top.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23378 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 06:44:37 +00:00
Dominik Wenger
04ebf48fe4
Initial touchscreen support for mini2440. Based on D2 touchscreen driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23370 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 20:25:40 +00:00
Teruaki Kawashima
478afc3d62
FS#10722: some improvements for gui/list.c
...
* Add function list_get_nb_lines and replace duplicated codes to calculate number of lines by it.
* Refine calculation of start_item in function gui_list_put_selection_on_screen.
- displays as many items as possible. hopefully fix FS#10054.
* Fix checking bounds in function gui_synclist_item_is_onscreen.
* Remove trailing spaces and fix indents.
Flyspray: FS#10722
Author: myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23367 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 13:18:54 +00:00
Dominik Wenger
90b576f55e
Many more drivers for mini2440. Now the main binary compiles and runs.
...
Flyspray: FS#10725
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23362 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 18:16:58 +00:00
Maurus Cuelenaere
8dbef6d8d0
Lua: add lib/helper.c wrappers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23360 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 17:07:56 +00:00
Jonathan Gordon
58c07fbfa8
FS#10724 - fix alignment issue in Codebuster by Clément Pit--Claudel
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23357 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 07:21:05 +00:00