Nils Wallménius
3200d04d75
Make the formatter functions used by the settings return a pointer to avoid 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-08-20 16:47:44 +00:00
Mohamed Tarek
320bd1adb8
Fix a bug spotted by Maurus Cuelenaere; rockbox crashed on viewing the 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-27 11:36:26 +00:00
Mohamed Tarek
e184ef1027
Adding support for rm playback. Only cook codec is supported for now and no seeking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21695 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 22:40:45 +00:00
Dave Chapman
25d4f4bb7a
Add .oga as a valid file extension for Ogg vorbis files. Even though Xiph 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-10-30 01:17:26 +00:00
Nils Wallménius
01729e7a18
FS#9281 Rename of splash functions.
...
* 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-08-15 08:27:39 +00:00
Dominik Wenger
25bb37bb68
commit asap codec. plays .sap files. At the moment it only plays the default song. So subSongs are ignored.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18121 a1c6a512-1295-4272-9138-f99709370657
2008-07-26 15:16:10 +00:00
Bertrik Sikken
9569de0fe1
Remove unnecessary #include
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18088 a1c6a512-1295-4272-9138-f99709370657
2008-07-18 21:37:08 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
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-06-28 18:10:04 +00:00
Nils Wallménius
11a667b6ca
FS#9033 by Alexander Levin, also a couple of minor typo fixes by me and making the inbuilt_filetypes array static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17625 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 20:56:19 +00:00
Dominik Riebeling
1659a1a031
Don't do the same check twice. Thanks to fml on IRC for noting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17624 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 20:03:56 +00:00
Thom Johansen
c0f7eb9f9d
FS #8680 . MOD codec by Rainer Sinsch.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17595 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 11:19:58 +00:00
Steve Bavin
ad95df2cab
Const police raid.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17474 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 17:52:50 +00:00
Bertrik Sikken
2843469876
Moved atoi declaration to stdlib.h. Deleted atoi.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17280 a1c6a512-1295-4272-9138-f99709370657
2008-04-28 16:18:04 +00:00
Nils Wallménius
6848961aa5
Pass the buffer length to the list_get_name callback functions instead of using hardcoded MAX_PATH
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17049 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 15:25:17 +00:00
Jens Arnold
02580851ad
Revert... stupid svn doesn't complain when passing -m twice :(
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:45:23 +00:00
Jens Arnold
01a106dbfa
Make the measured LCD scanrates from the greylib known to the scanrate test plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:42:21 +00:00
Jens Arnold
1f4bcc86da
Revert accidental tree commit. /me needs a smaller enter key...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:57:23 +00:00
Jens Arnold
9a7978aeab
Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as 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-25 19:43:08 +00:00
Dave Chapman
e92d2c51ed
Add a general-purpose parse_list function to parse a string containing a 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-21 13:41:35 +00:00
Jens Arnold
8c6920e343
Revert accidental tree commit. Sorry for that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16574 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:50:55 +00:00
Jens Arnold
d1ed7c37b1
No need to have \n here. panicf() won't output it anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16570 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 23:34:43 +00:00
Jens Arnold
bc357da2ae
Small fixes for icon behaviour on the Player: Read viewer icon numbers from 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
2008-02-23 13:12:08 +00:00
Jonathan Gordon
f5ec3e49e0
remove the duplicated gui_list struct and only duplicate the members which 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-12-17 02:37:21 +00:00
Jonathan Gordon
616971c71e
remove the seelection_size param from the info init call to hopefully decrease the bin size a bit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15237 a1c6a512-1295-4272-9138-f99709370657
2007-10-21 06:42:52 +00:00
Jonathan Gordon
5eac0108f9
simplify the simpelist api slightly so not every struct member needs to be init manually.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15236 a1c6a512-1295-4272-9138-f99709370657
2007-10-21 01:27:17 +00:00
Jonathan Gordon
5ca8abfff0
convert the open with screen to use the simplelist api
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15230 a1c6a512-1295-4272-9138-f99709370657
2007-10-21 00:11:47 +00:00
Jonathan Gordon
cf1cef5f57
minor update to gui_synclist_do_button() which will hopefully simplify 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-09-17 10:08:50 +00:00
Jonathan Gordon
07a7d47cc1
Revert my filetypes commits from today. the nvram buffer is 44bytes of which 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-12 09:53:41 +00:00
Jonathan Gordon
7cb80a2a70
Fix a problem with the nvram settings which meant adding new items to the 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-12 07:22:38 +00:00
Jonathan Gordon
eff14cceec
Change the way the MAX_FILETYPES define works. It now allocates enough 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-12 02:10:45 +00:00
Peter D'Hoye
f3498db0d4
increase filetypes array a bit, should now have some room for the future... 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-08 22:31:42 +00:00
Jonathan Gordon
ecae04a9f2
Fix the open with menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14241 a1c6a512-1295-4272-9138-f99709370657
2007-08-08 10:02:00 +00:00
Jonathan Gordon
73160322fe
Fix the properties and shortucts plugins after accidently breaking them last 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-07 07:55:18 +00:00
Jonathan Gordon
7fe32b9a27
Only show plugins which are actually associated with the file from the "open 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-06 13:58:16 +00:00
Jonathan Gordon
fda7d720c0
Accept FS#5464 - organise the rocks directory.
...
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-06 13:42:52 +00:00
Nils Wallménius
5b76936a44
Accept FS#6159 'Add voice to roughly 100 splash screens and yes-no menus' by 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-06 13:08:36 +00:00
Nils Wallménius
b311367481
*** Lang v2 cleanup (FS#6574) ***
...
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-08-05 19:19:39 +00:00
Peter D'Hoye
96e8a1b08d
Increase filetypes array a bit more to give headroom...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13800 a1c6a512-1295-4272-9138-f99709370657
2007-07-05 20:02:09 +00:00
Peter D'Hoye
98d4e09094
Increase filetypes array to make room for our latest supported audioformat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13777 a1c6a512-1295-4272-9138-f99709370657
2007-07-03 17:45:54 +00:00
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