summaryrefslogtreecommitdiff
path: root/apps/filetypes.c
AgeCommit message (Collapse)Author
2010-06-21close the viewers.config file fdJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27014 a1c6a512-1295-4272-9138-f99709370657
2010-05-13add True Audio (TTA) codecYoshihisa Uchida
decoding speed iPod video ~153% But in some players, the decoding speed is not enough. (e.g., H180 52.4% (thanks amiconn), H300 55.09% (thanks n1s)) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25994 a1c6a512-1295-4272-9138-f99709370657
2010-05-12fix: the problem to which new filetypes cannot be registered.Yoshihisa Uchida
64 types can be registered more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25969 a1c6a512-1295-4272-9138-f99709370657
2010-05-12FS#10853 - Skin support in the radio screen! Check CustomWPS for the new tagsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25964 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Add wave64(.w64) codec (FS#11022)Yoshihisa Uchida
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24959 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Add vox (Dialogic telephony formats) codec add. (FS#11021)Yoshihisa Uchida
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24956 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Add Sun Audio codec. (FS#10433)Yoshihisa Uchida
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24955 a1c6a512-1295-4272-9138-f99709370657
2010-02-24add SMAF codec (.mmf extension)(FS#10432)Yoshihisa Uchida
This codec supports only wave data (ADPCM and PCM). It does not support MIDI, picture, and movie. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24878 a1c6a512-1295-4272-9138-f99709370657
2010-02-18FS#10535: bmp viewer plugin.Teruaki Kawashima
* changed bmp.c so that it loads bitmap larger than LCD correctly. * removed bmp entry form inbuilt_filetypes in filetypes.c so that bmp files will be opened with bmp viewer when selected in browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24754 a1c6a512-1295-4272-9138-f99709370657
2010-02-16Initial support for ATRAC3 streams in wav containers. Mohamed Tarek
Current state : - Playback and seeking are possible. - We now support ATRAC3 in any of its possible containers (wav/at3, oma/aa3, and rm/ra). TODO : - Fix joint-stereo decoding for ATRAC3 - the decoder currently produces lots of glitches. - Rename atrac3_oma.c since it works for both oma and wav containers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24689 a1c6a512-1295-4272-9138-f99709370657
2010-02-12Add support for Sony OMA file format. Currently only supports ATRAC3 ↵Mohamed Tarek
(without DRM), and seeks. Tested on sansa e200. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24615 a1c6a512-1295-4272-9138-f99709370657
2010-02-06Enable 12 other 8bit Atari file formats which the asap codec already ↵Dominik Wenger
supports. No metadata available for them. New formats: .cmc / .cm3 / .cmr / .cms / .dmc / .dlt / .mpd / .mpt / .rmt / .tmc / .tm8 /.tm2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24529 a1c6a512-1295-4272-9138-f99709370657
2010-01-31Several filetypes were added (more or less) recently so the array became ↵Jens Arnold
full on HWCODEC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24412 a1c6a512-1295-4272-9138-f99709370657
2009-12-16Fix FS#10289 - screens showing a list need to check the show_icons setting ↵Jonathan Gordon
before setting the callback. the List will now always draw icons if a callback is set (like its always done for voice) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24022 a1c6a512-1295-4272-9138-f99709370657
2009-10-28Remove unused #define and correct comment.Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23391 a1c6a512-1295-4272-9138-f99709370657
2009-10-28Add support for running Lua games/apps from the Plugins menuMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23390 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Initial custom statusbar commit.Thomas Martitz
The custom statusbar can be used as a WPS for the main UI, using .(r)sbs files. It's using the skin engine and knows all tags the WPS also knows. The default folder for .sbs is the wps folder to reuse images used in the WPS. As it can be shown in the WPS also, it's useful to move shared parts to the custom statusbar in order to save skin buffer space. There are a few restrictions/TODOs: *) Peak meter doesn't redraw nicely(not frequent enough), as very frequent updates would slow the UI down as hell (some targets fight with it in the WPS already: FS#10686) *) No touchregion support as the statusbar doesn't have any action handling (it won't fail to parse though). *) Drawing stuff into the default VP is forbidden (loading images in it is not). You *need* to use viewports for the displaying stuff (parsing fails if no viewport is used). *) Themes that don't use a custom ui viewport can be fixed up using the new %Vi tag to avoid nasty redraw effectts (you must not draw into it as well, it's used to fix up the ui viewport). %Vi describes the viewport that the lists can use without getting in the way of the statusbar. Otherwise, it behaves like the classic statusbar, it can be configured in the theme settings, and can be turned off in the wps using %wd. Note to translaters: When translating LANG_STATUSBAR_CUSTOM, please consider using the same translation as for LANG_CHANNEL_CUSTOM if it's compatible. They could be combined later then. Flyspray: FS#10566 Author: myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23258 a1c6a512-1295-4272-9138-f99709370657
2009-10-10Add crypt_firmware plugin for Nano2G - this uses the hardware crypto unit to ↵Dave Chapman
encrypt (or decrypt) a firmware image for writing to a Nano 2G's firmware partition with ipodpatcher (patch for ipodpatcher is at FS#10609). Also introduce BOOTFILE_EXT2 define for an alternative firmware file extension and add .ipodx for the Nano 2G (.ipod is for unencrypted images, similar to older ipods, and .ipodx is for encrypted images and include the 2KB hash block and modelname 'nn2x'). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23068 a1c6a512-1295-4272-9138-f99709370657
2009-08-20Make the formatter functions used by the settings return a pointer to avoid ↵Nils Wallménius
usless copying of lang strings, this brought with it a long chain of const correctness and a few random cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22440 a1c6a512-1295-4272-9138-f99709370657
2009-07-27Fix a bug spotted by Maurus Cuelenaere; rockbox crashed on viewing the ↵Mohamed Tarek
porperties of files with unsupported extensions due to the null ext list in raac. Also add support for audio-only rmvb files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22065 a1c6a512-1295-4272-9138-f99709370657
2009-07-06Adding support for rm playback. Only cook codec is supported for now and no ↵Mohamed Tarek
seeking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21695 a1c6a512-1295-4272-9138-f99709370657
2008-10-30Add .oga as a valid file extension for Ogg vorbis files. Even though Xiph ↵Dave Chapman
recommend against using .oga for vorbis (for compatibility reasons), they say that it may be used, and some applications (e.g. Gnome Media) are doing so. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18932 a1c6a512-1295-4272-9138-f99709370657
2008-08-15FS#9281 Rename of splash functions.Nils Wallménius
* Remove gui_splash() * Rename gui_syncsplash() to splashf() and remove its voice capabilities. * Rename the internal splash() to splash_internal() and introduce an externally visible splash() that handles simple splashing without printf functionality e.g. splash(HZ, ID2P(LANG_FOO)); or splash(HZ, "foo"); if a LANG_* id is passed it will be voiced. * Adjust all places that called gui_syncsplash() to use the correct variant from above. * Export both new functions to plugins and adjust places calling rb->splash() to use the correct variant so that we now have naming consistency between the core and plugins. * Fix one latent bug that would cause my sim to crash with the above changes and correct P2STR and P2ID macros, thanks to pondlife. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18282 a1c6a512-1295-4272-9138-f99709370657
2008-07-26commit asap codec. plays .sap files. At the moment it only plays the default ↵Dominik Wenger
song. So subSongs are ignored. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18121 a1c6a512-1295-4272-9138-f99709370657
2008-07-18Remove unnecessary #includeBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18088 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-05-24FS#9033 by Alexander Levin, also a couple of minor typo fixes by me and ↵Nils Wallménius
making the inbuilt_filetypes array static git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17625 a1c6a512-1295-4272-9138-f99709370657
2008-05-24Don't do the same check twice. Thanks to fml on IRC for noting.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17624 a1c6a512-1295-4272-9138-f99709370657
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