Commit graph

26858 commits

Author SHA1 Message Date
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
Jonathan Gordon
a9d752b1bd *really* fix the last warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27817 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 15:31:04 +00:00
Jonathan Gordon
d23d7a1686 last warning and fix manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27816 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 15:27:46 +00:00
Jonathan Gordon
b9093f22dd fix warnings and errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27815 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 15:23:07 +00:00
Jonathan Gordon
dc3778a685 Rework the skin playlist viewer so it uses the same drawing code as everything else. This should mean that all text tags now work as expected. The 2nd code param is no longer needed so drop it (you can use conditionals and sublines and stuff in the one code param.
example: %Vp(1, %?it<%in -%it|%fn>) <- show the next tracks strating from the first next track and show info if it is avilable or the filename.
Basic cuesheet support here, and will load upcoming track tags from the database if you have load to ram enabled.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27814 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 15:17:59 +00:00
Jonathan Gordon
ff8d43ddad Change %xl/%xd to use proper labels instead of single letter labels. i.e %xl(playmode, playmode.bmp, 0, 0, 4) ... %xd(playmode, %mm). You can of course still use one letter labels if you really want. %xd(Aa) will only work with one letter labels.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27813 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 11:40:20 +00:00
Jonathan Gordon
863d239aa2 Change %xd to allow for a number to be used to specify the subimage. i.e %xd(Ac) can now we written as %xd(A, 3). subimage count start at 1 so a=1, b=2 etc.
Also adds the possibility to specify a set of params which a tag can have (i.e a tag or a integer)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27812 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 11:17:49 +00:00
Marianne Arnold
b75a414167 Manual - logo and pegbox button tables: simplify the code and add missing info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27811 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 10:48:27 +00:00
Marianne Arnold
7c1c5701cf Manual - wormlet.tex: remove 'opt'ing for different player pads inside a Recorder pad only block. Simplify and complete the other players' button table. Maybe the two tables could be merged... in another commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27810 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 10:43:34 +00:00
Marianne Arnold
c4bdf20197 Manual: some cosmetic changes in phrasing as well as code... fix typos and RAS syndrome, correct use of dap{} and {daps}.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27809 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 10:30:42 +00:00
Marianne Arnold
37bd35d667 Correct the ActionTreeWps in the Clips' keymap file (button combo for going to the WPS).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27808 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 10:01:18 +00:00
Mohamed Tarek
afe92f34cc Correct the check for the requested vs returned sizes in libasf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27807 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 09:49:09 +00:00
Marianne Arnold
56229d5866 The 128x96x2 cabbiev2.wps (Iaudio remote and M3) used more than one viewport but drew the progressbar in the default one where it wouldn't be updated with the new parser anymore. Put it into a viewport too and rearrange the rest of the code to the same order as displayed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27806 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 07:27:59 +00:00
Michael Giacomelli
f63570ace5 Add uppercase M4A file type to the mp4 parser. Technically Apple says to use lowercase, but various programs tolerate this, so we can too. Fixes FS#11536.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27805 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 01:09:46 +00:00
Marianne Arnold
f67dfd9a2b Fix manuals broken by r27787 - underscores have a meaning in tex and need to be escaped. Put the name into quotes like the .bmp above while at it. The way it is done now looks a bit silly but works, feel free to improve.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27804 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 21:36:44 +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
Thomas Martitz
e60de9e5bb Fix backdrops from sbs not being loaded correctly (caused by r27791).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27802 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 15:09:20 +00:00
Mohamed Tarek
0653c1c32b Update libwmavoice's README.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27801 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 13:28:40 +00:00
Mohamed Tarek
a861b49cce Fix a bug in the asf parser that led to dropping packets in WMA voice. WMA voice now outputs the correct number of samples/packets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27800 a1c6a512-1295-4272-9138-f99709370657
2010-08-13 13:06:56 +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
Michael Giacomelli
9ba67fb35e Missed some more debug statements in libasf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27797 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 23:52:07 +00:00
Michael Giacomelli
3e074a6410 Remove old debug line from wma.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27796 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 23:20:42 +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
Thomas Martitz
4bca51b5b7 Cabbiev2 480x800 port, very similar to the 320x480 one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27794 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 19:06:40 +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
Thomas Martitz
71610fbf62 Backdrop dir needs to go through get_user_file_path()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27791 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 17:32:59 +00:00
Thomas Martitz
ed033c0a2a Oops, committed before finishing the removal of "#include "memory.h""
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27790 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 14:01:28 +00:00
Thomas Martitz
87409a2619 Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 13:55:01 +00:00
Thomas Martitz
0e2286f226 Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this and a bit further cleanup in main gets rid of a warning when compiling for android.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27788 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 13:38:25 +00:00
Jonathan Gordon
70ebe46d74 New feature for the %xl (image load) tag. If you give it the filename __list_icons__ it will use the list icon strip instead of loading a different bmp.
example:
%xl(I, __list_icons__, 0, 0)
%xd(I, %Li)

^ display the list icon at position 0,0 in that viewport. (you can of course %xd(Ia) if you really wanted also.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27787 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 13:27:10 +00:00
Magnus Holmgren
6d7900e330 When using the tag argument in %%xd(): 1) clear the image first, so that images with transparency can be used; 2) allow things like battery level or volume, where a value is limited to the number of sub-images.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27786 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 10:01:46 +00:00
Magnus Holmgren
0b9215809a Update the manual regarding the bl tag change in r27784. Also fix a typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27785 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 09:50:29 +00:00
Magnus Holmgren
c6078fe2a8 Slightly change bl (battery level) when used in an enum: if the enum contained 10 items, bl would return 11 if the battery level was 100 percent (the enum would then display the last entry). Now bl returns a value within the given range. Themes may need to be updated to look as intended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27784 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 09:25:26 +00:00
Michael Sparmann
c65a8e0755 emBIOS backports part four: Add a lot of DEBUGF()s to the FTL code, and return proper error codes instead of panicing in a lot of error cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27783 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 08:49:54 +00:00
Michael Sparmann
b4d6d1e643 emBIOS backports part three: Make the NAND flash driver return more useful error codes if initialization fails.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27782 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 08:49:12 +00:00
Michael Sparmann
6b389305f6 emBIOS backports part two: Fix a stupid global variable *instantiation* in a header file, which might have caused all hell of trouble.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27781 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 08:46:52 +00:00
Michael Sparmann
524035b772 Fix red: Revert the const correctness part, which opened a can of worms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27780 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 08:43:18 +00:00
Michael Sparmann
f3834a4626 emBIOS backports part one: Fix an annoying race condition in the Synopsys OTG driver, and a bit of const correctness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27779 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 08:35:43 +00:00
Dominik Riebeling
ad4deec074 Update Brazilian Portuguese translation for Rockbox Utility
Author: Adilson Xavier
Flyspray: FS#11528

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27778 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 08:32:54 +00:00
Nils Wallménius
13d0eca71d libtremor: fix possible memoryleak when playing several ogg vorbis files in sequence, hopefully fixes FS#11533
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27776 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 07:50:29 +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
Michael Chicoine
209020ceb1 Do not return negative sleeptimer values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27774 a1c6a512-1295-4272-9138-f99709370657
2010-08-11 23:36:35 +00:00
Magnus Holmgren
113764d9c0 Fix FS#11175. playlist_peek() wasn't thread safe (due to a static filename buffer), so frequent calls from the main thread would cause the audio thread to buffer the wrong track.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27773 a1c6a512-1295-4272-9138-f99709370657
2010-08-11 19:01:50 +00:00
Nils Wallménius
de44ae7efc Mark some local variables with 'static'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27772 a1c6a512-1295-4272-9138-f99709370657
2010-08-11 09:11:43 +00:00
Nils Wallménius
64ebe5f0d4 Delete useless #ifndef #endif pair.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27771 a1c6a512-1295-4272-9138-f99709370657
2010-08-11 08:46:20 +00:00
Jonathan Gordon
2e0217774f try again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27770 a1c6a512-1295-4272-9138-f99709370657
2010-08-10 14:32:08 +00:00
Jonathan Gordon
dbf44a6a4d fid red/yellow... does database really need to compile all of misc.c?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27769 a1c6a512-1295-4272-9138-f99709370657
2010-08-10 14:26:53 +00:00
Jonathan Gordon
489962dc4e Fix FS#11526 - %Vf(<hex>) was acceptable on grey remotes with colour main
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27768 a1c6a512-1295-4272-9138-f99709370657
2010-08-10 14:15:03 +00:00