Commit graph

51 commits

Author SHA1 Message Date
Dave Chapman
48304ce6d9 Add .wmv and .asf as supported filetypes for the WMA codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13773 a1c6a512-1295-4272-9138-f99709370657
2007-07-03 13:16:49 +00:00
Paul Louden
b6ede2189a Clear the whole colour list on new .colours load, rather than
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13675 a1c6a512-1295-4272-9138-f99709370657
2007-06-19 20:08:16 +00:00
Paul Louden
f8b5913ae7 Make user-visible spelling "colours" rather than "colors".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13671 a1c6a512-1295-4272-9138-f99709370657
2007-06-19 04:21:06 +00:00
Paul Louden
5b25a6e2df Added one more filetype. ??? in .colors lets you set the color for all
unknown filetypes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13669 a1c6a512-1295-4272-9138-f99709370657
2007-06-18 22:41:39 +00:00
Paul Louden
f2061599d4 Fix new bug caused by my last commit. Since there was no apparent binary
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-18 22:07:38 +00:00
Paul Louden
4cb1072cce Hopefully fix FS#7323. Store colors as fb_data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13667 a1c6a512-1295-4272-9138-f99709370657
2007-06-18 18:43:11 +00:00
Brandon Low
2d0cb077c3 Shrink binsize by using shorts instead of ints for colors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13660 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 23:12:39 +00:00
Brandon Low
f8682a032e Fix some bugs with the colors stuff. You can now specify folder color with the folder extension.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13659 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 23:10:01 +00:00
Brandon Low
74cbb0a1b2 Give color targets the ability to display each LCD line a different color 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-17 21:16:34 +00:00
Dave Chapman
520274219a Initial commit of Monkey's Audio (.ape/.mac) support. Note that Monkey's is 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-06-05 16:58:29 +00:00
Jonathan Gordon
5b5d1018d0 Fix a .icons loading bug which caused the tango iconset to not load.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13267 a1c6a512-1295-4272-9138-f99709370657
2007-04-26 05:30:46 +00:00
Jonathan Gordon
9d3694ced6 Fix FS#7056 - dont display garbage if the viewer icon set and the main iconset have different icon heights
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13237 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 08:50:24 +00:00
Jonathan Gordon
36a2e30872 Move the inbuilt filetype info into filetypes.c and rename the defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13201 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 13:03:01 +00:00
Jonathan Gordon
27643c6538 Initialise the custom icons array correctly instead of just using the ? for all filetypes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13194 a1c6a512-1295-4272-9138-f99709370657
2007-04-17 09:17:23 +00:00
Jonathan Gordon
fd951ab8d0 make the folder icons play nice when you load a viewers theme (sorry, this is it from me tonight... )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13184 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 14:52:47 +00:00
Jonathan Gordon
a9c1df4001 * its name[rows][columns] you drongo!
* 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-16 14:33:29 +00:00
Jonathan Gordon
4a16739bdd Some gremlins got into my computer again and changed all my code!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13181 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 12:26:49 +00:00
Jonathan Gordon
3124134a08 woops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13180 a1c6a512-1295-4272-9138-f99709370657
2007-04-16 11:10:41 +00:00
Jonathan Gordon
ccaf24a29c Fix the wavplay icon
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-16 11:01:41 +00:00
Jonathan Gordon
6a5cc0bd25 Customizable icons for all bitmap targets. (FS#7013)
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-04-16 09:14:36 +00:00
Jens Arnold
f267e04a69 Fix icons for built-in types on charcell.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12961 a1c6a512-1295-4272-9138-f99709370657
2007-03-29 17:35:25 +00:00
Jonathan Gordon
21165a3f3d Recode filetypes.c to remove its need for a static string buffer.
Functional changes:
- filetypes.c handles the open with menu now instead of onplay.c
- automatic plugin registration no longer works (did anyone know about you could do this?)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12959 a1c6a512-1295-4272-9138-f99709370657
2007-03-29 06:16:00 +00:00
Jens Arnold
4d6374c923 Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Jens Arnold
314f3b58f1 More static'ing, and a few fixes resulting from that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 22:22:21 +00:00
Peter D'Hoye
0f02e4f7a0 File and (recursive) directories properties in the file browser context menu. Uses dircache if possible (plugin api expanded). Is actually implemented as plugin. Small parts taken from earlier work by Will Robertson.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11630 a1c6a512-1295-4272-9138-f99709370657
2006-11-30 22:29:48 +00:00
Jens Arnold
b0b333f95e Upped the number of allowed filetypes for archos to get rid of the 'filetypes array' full' error msg. filetypes.c really needs fixing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9424 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 11:58:25 +00:00
Jens Arnold
0c09f3ee88 WAV playback as a plugin, for archos recorders and Ondios. Plays 16-bit WAV files with all common sample frequencies, both mono and stereo. Meant as a preview for later PCM playback integration, and for doing experiments with the MAS PCM codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9273 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 23:00:24 +00:00
Linus Nielsen Feltzing
25efd331e8 Patch #4791 by Jonathan Gordon - Remove duplicates from the Open-with menu, and allow regular rocks to be loaded as viewers. Also allow all file types in the Open-with menu, not only the registered ones.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9025 a1c6a512-1295-4272-9138-f99709370657
2006-03-13 07:33:30 +00:00
Daniel Stenberg
f981ea93fb kill gcc4 warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +00:00
Kevin Ferrare
e991beed6d replaced all the splash calls by gui_sync_splash, added some missing remote key in the playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 15:12:15 +00:00
Kevin Ferrare
f7c97522a8 Fixed the icon for unknown file types on the archos Player, and the bug when removing the last file on the screen in filetree, added some code for playlists integration with multi-screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7800 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 01:17:57 +00:00
Henrik Backe
5a8f6bae94 Fixed broken "open with" in onplay menu.
A problem with duplicate entries still exists in "open with" which
I think is best solved by removing the scan_plugins() function in filetypes.c,
but I don't want to remove it without a discussing it first.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7603 a1c6a512-1295-4272-9138-f99709370657
2005-10-09 13:37:35 +00:00
Daniel Stenberg
af48260399 Modified the viewers.config syntax slightly. The name field should now include
path of the plugin/viewer on target, but exclude the exension. Now the Sudoku
plugin acts as a normal plugin and a viewer at the same time.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7582 a1c6a512-1295-4272-9138-f99709370657
2005-10-05 08:02:10 +00:00
Jens Arnold
ac50839423 Optimised new file association handling. Fixed NULL pointer accesses. Const policed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7459 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 16:50:51 +00:00
Henrik Backe
b2473d58ab Fixed associate problem with file extensions (.info files matched .nfo extension)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7456 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 15:05:35 +00:00
Jens Arnold
d6c054575b Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Jens Arnold
6c00e38665 Icon code cleanup, optimisation & policeing. Removed unused icons. Applied uniform icon naming scheme.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7396 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 00:09:42 +00:00
Dave Chapman
775923e363 Add .a52 and .mpc to supported list of audio files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6669 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 12:37:36 +00:00
Dave Chapman
3ac03bfc80 We need to increase MAX_EXTTYPES for software codecs - but maybe we should use a different #if test (the same test is made in tree.c)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6599 a1c6a512-1295-4272-9138-f99709370657
2005-06-07 19:41:40 +00:00
Henrik Backe
ea98c14cd0 Remove double entries in the "open with" menu.
Memory management is also improved, no redundant saving
of plugins and extensions. Entries without extension and/or
icon in viewers.config is also supported.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6166 a1c6a512-1295-4272-9138-f99709370657
2005-03-07 20:40:36 +00:00
Thom Johansen
6a33dd761e Undo previous commit. Apparently, this is not wanted behaviour.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6158 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 18:26:34 +00:00
Thom Johansen
7144e38b5f "Open With" menu duplicate entry bug fixed.
Only plugins that match the target file extensions are now listed.
Patch by Patr3ck.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6157 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 18:13:16 +00:00
Linus Nielsen Feltzing
a17ee5f282 Increased the file type string buffer size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6134 a1c6a512-1295-4272-9138-f99709370657
2005-03-04 12:31:56 +00:00
Jean-Philippe Bernardy
0f6b3796d6 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5863 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 10:56:54 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Jens Arnold
839067b7b3 More const policeing step 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4980 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 23:34:44 +00:00
Jens Arnold
638dd6786a Const'ed the logo, the bitmaps and the credits (optimization for running from ROM)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
2004-07-19 21:46:37 +00:00
Linus Nielsen Feltzing
ae9b319ec5 Open with... now reloads the dir if the viewer returns PLUGIN_USB_CONNECTED
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4871 a1c6a512-1295-4272-9138-f99709370657
2004-07-13 13:57:14 +00:00
Hardeep Sidhu
853ee1c0f3 Fixed bug in .rock extension check when scanning plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4709 a1c6a512-1295-4272-9138-f99709370657
2004-05-27 01:43:23 +00:00
Björn Stenberg
40a94710ee Fixed build errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4679 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 20:28:33 +00:00