summaryrefslogtreecommitdiff
path: root/apps/filetypes.c
AgeCommit message (Collapse)Author
2008-05-21FS #8680. MOD codec by Rainer Sinsch.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17595 a1c6a512-1295-4272-9138-f99709370657
2008-05-12Const police raid.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17474 a1c6a512-1295-4272-9138-f99709370657
2008-04-28Moved atoi declaration to stdlib.h. Deleted atoi.hBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17280 a1c6a512-1295-4272-9138-f99709370657
2008-04-09Pass the buffer length to the list_get_name callback functions instead of ↵Nils Wallménius
using hardcoded MAX_PATH git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17049 a1c6a512-1295-4272-9138-f99709370657
2008-04-02Revert... stupid svn doesn't complain when passing -m twice :(Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
2008-04-02Make the measured LCD scanrates from the greylib known to the scanrate test ↵Jens Arnold
plugin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Revert accidental tree commit. /me needs a smaller enter key...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as ↵Jens Arnold
24 bit BMP instead of unnecessary 32 bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
2008-03-21Add a general-purpose parse_list function to parse a string containing a ↵Dave Chapman
delimited list of items and adapt the parse_image_load() function in the WPS parser to use it. This function will also be used to parse the upcoming WPS %V viewport tag, but I'm committing it separately as these changes are unrelated to the viewport implementation itself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16728 a1c6a512-1295-4272-9138-f99709370657
2008-03-08Revert accidental tree commit. Sorry for that.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16574 a1c6a512-1295-4272-9138-f99709370657
2008-03-08No need to have \n here. panicf() won't output it anyway.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16570 a1c6a512-1295-4272-9138-f99709370657
2008-02-23Small fixes for icon behaviour on the Player: Read viewer icon numbers from ↵Jens Arnold
viewers.config, and correct the icon selection in icons.c. Now viewer supported filetypes get the mirrored question mark icon instead of no icon at all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16389 a1c6a512-1295-4272-9138-f99709370657
2007-12-17remove the duplicated gui_list struct and only duplicate the members which ↵Jonathan Gordon
are actually different on each screen. should translate to a smaller bin and easier code (users shouldnt notice any difference) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15947 a1c6a512-1295-4272-9138-f99709370657
2007-10-21remove the seelection_size param from the info init call to hopefully ↵Jonathan Gordon
decrease the bin size a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15237 a1c6a512-1295-4272-9138-f99709370657
2007-10-21simplify the simpelist api slightly so not every struct member needs to be ↵Jonathan Gordon
init manually. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15236 a1c6a512-1295-4272-9138-f99709370657
2007-10-21convert the open with screen to use the simplelist apiJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15230 a1c6a512-1295-4272-9138-f99709370657
2007-09-17minor update to gui_synclist_do_button() which will hopefully simplify ↵Jonathan Gordon
things later. Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
2007-08-12Revert my filetypes commits from today. the nvram buffer is 44bytes of which ↵Jonathan Gordon
43 are currently being used. We need to figure out what to do about this. So in the mean time, set the MAX_FILETYPES to a huge value so we don't have to worry about this for a long while. This build shold be safe to use again. If you downloaded a build after r14286 make sure you grab a new one git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14291 a1c6a512-1295-4272-9138-f99709370657
2007-08-12Fix a problem with the nvram settings which meant adding new items to the ↵Jonathan Gordon
end needed the version bump (they dont anymore, but I'm bumping it now anyway to save some bug reports) Also operator precedence fixing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14290 a1c6a512-1295-4272-9138-f99709370657
2007-08-12Change the way the MAX_FILETYPES define works. It now allocates enough ↵Jonathan Gordon
filetype icons as it needed last boot + 8, this means we should never have to edit the define again. If you get the "filetypes array full" splash, do a clean reboot and it shuold go away. if it doesnt make sure you file a bug report and let us know you did reboot and it stayed there... it means that define does actually need increeasing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14287 a1c6a512-1295-4272-9138-f99709370657
2007-08-08increase filetypes array a bit, should now have some room for the future... ↵Peter D'Hoye
But that doesn't mean that if you add a filetype, you shouldn't check this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14248 a1c6a512-1295-4272-9138-f99709370657
2007-08-08Fix the open with menuJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14241 a1c6a512-1295-4272-9138-f99709370657
2007-08-07Fix the properties and shortucts plugins after accidently breaking them last ↵Jonathan Gordon
night. Also possibly make them load a bit faster. Make the open with screen nicer, and show all aviable viewers again (If people prefered it only showing useful viewers maybe we can make this a setting?) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14227 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Only show plugins which are actually associated with the file from the "open ↵Jonathan Gordon
with" menu. (plugins registered with * in the viewers.config are always shown) Shows everything if the file doesnt have a extension. Also fix the plugin name showing the whole path instead of just the name. Previous commit should have said "Delete your current /.rockbox/rocks folder because the plugins' config/extra files have moved and to save you hassles" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14215 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Accept FS#5464 - organise the rocks directory. Jonathan Gordon
If any plugins or "open with" optoins dont work please let me know... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14214 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Accept FS#6159 'Add voice to roughly 100 splash screens and yes-no menus' by ↵Nils Wallménius
Stephane Doyon with some minor tweaks by me. Rerun 'configure' and do a 'make clean' before rebuilding your voice files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14213 a1c6a512-1295-4272-9138-f99709370657
2007-08-05*** Lang v2 cleanup (FS#6574) ***Nils Wallménius
1) Introduces apps/features.txt that controls which strings are included for each target based on defines. 2) .lng and .voice files are now target specific and the format versions of both these file types have been bumped, which means that new voice files are needed. 3) Use the 'features' mechanism to exclude strings for targets that didn't use them. 4) Delete unused and deprecated and duplicated strings, sort strings in english.lang Some string IDs were changed so translations will be slightly worse than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
2007-07-05Increase filetypes array a bit more to give headroom...Peter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13800 a1c6a512-1295-4272-9138-f99709370657
2007-07-03Increase filetypes array to make room for our latest supported audioformatPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13777 a1c6a512-1295-4272-9138-f99709370657
2007-07-03Add .wmv and .asf as supported filetypes for the WMA codecDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13773 a1c6a512-1295-4272-9138-f99709370657
2007-06-19Clear the whole colour list on new .colours load, rather thanPaul Louden
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13675 a1c6a512-1295-4272-9138-f99709370657
2007-06-19Make user-visible spelling "colours" rather than "colors".Paul Louden
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13671 a1c6a512-1295-4272-9138-f99709370657
2007-06-18Added one more filetype. ??? in .colors lets you set the color for all Paul Louden
unknown filetypes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13669 a1c6a512-1295-4272-9138-f99709370657
2007-06-18Fix new bug caused by my last commit. Since there was no apparent binary Paul Louden
saving of the short, back to long since we need it signed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13668 a1c6a512-1295-4272-9138-f99709370657
2007-06-18Hopefully fix FS#7323. Store colors as fb_data.Paul Louden
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13667 a1c6a512-1295-4272-9138-f99709370657
2007-06-17Shrink binsize by using shorts instead of ints for colorsBrandon Low
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13660 a1c6a512-1295-4272-9138-f99709370657
2007-06-17Fix some bugs with the colors stuff. You can now specify folder color with ↵Brandon Low
the folder extension. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13659 a1c6a512-1295-4272-9138-f99709370657
2007-06-17Give color targets the ability to display each LCD line a different color ↵Brandon Low
and use this newfangled ability to provide themable colored file types. See the comments on read_color_theme_file and the sample.colors file provided for how to use this. .colors files go in themes directory for now. This separate line color function should be trivial to add to menus and wpss. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13656 a1c6a512-1295-4272-9138-f99709370657
2007-06-05Initial commit of Monkey's Audio (.ape/.mac) support. Note that Monkey's is ↵Dave Chapman
an extremely CPU-intensive codec, and that the decoding speed is directly related to the compression level (-c1000, -c2000, -c3000, -c4000 or -c5000) used when encoding the file. Current performance is: -c1000 to -c3000 are realtime on a Gigabeat, -c1000 is realtime on Coldfire targets (H100, H300 and Cowon), and nothing is realtime on PortalPlayer targets (iPods, H10, Sansa). Hopefully this can be improved. More information at FS #7256. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13562 a1c6a512-1295-4272-9138-f99709370657
2007-04-26Fix a .icons loading bug which caused the tango iconset to not load.Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13267 a1c6a512-1295-4272-9138-f99709370657
2007-04-22Fix FS#7056 - dont display garbage if the viewer icon set and the main ↵Jonathan Gordon
iconset have different icon heights git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13237 a1c6a512-1295-4272-9138-f99709370657
2007-04-18Move the inbuilt filetype info into filetypes.c and rename the defines. Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13201 a1c6a512-1295-4272-9138-f99709370657
2007-04-17Initialise the custom icons array correctly instead of just using the ? for ↵Jonathan Gordon
all filetypes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13194 a1c6a512-1295-4272-9138-f99709370657
2007-04-16make the folder icons play nice when you load a viewers theme (sorry, this ↵Jonathan Gordon
is it from me tonight... ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13184 a1c6a512-1295-4272-9138-f99709370657
2007-04-16* its name[rows][columns] you drongo!Jonathan Gordon
* make custom viewer icons work slightly better * minor nit-picks to keep crop happy * create a /.rockbox/themes/default_rockbox_icons.cfg to restore the default icons easily git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13183 a1c6a512-1295-4272-9138-f99709370657
2007-04-16Some gremlins got into my computer again and changed all my code!Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13181 a1c6a512-1295-4272-9138-f99709370657
2007-04-16woopsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13180 a1c6a512-1295-4272-9138-f99709370657
2007-04-16Fix the wavplay iconJonathan Gordon
Fix copy+paste mistake Fix typo in comment Fix crash when trying to run a bmp Reset the icons properly when loading a .icons file (hopefully will use the correct icon now) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13179 a1c6a512-1295-4272-9138-f99709370657
2007-04-16Customizable icons for all bitmap targets. (FS#7013)Jonathan Gordon
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
2007-03-29Fix icons for built-in types on charcell.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12961 a1c6a512-1295-4272-9138-f99709370657