summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
AgeCommit message (Collapse)Author
2009-07-14FS#10080Nils Wallménius
* Move strncpy() from core to the pluginlib * Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins * Drop strncpy() from the codec api as no codec used it * Bump codec and plugin api versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Properly ifdef the pitchscreen settings as well (aka fix red Player build).Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21789 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Improvements to the pitch screen UI (FS#10359 by David Johnston)Alexander Levin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21781 a1c6a512-1295-4272-9138-f99709370657
2009-07-05FS#10406 - split the statusbar setting into one for each display, and allow ↵Jonathan Gordon
the bar to be at the top or bottom of the display git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21665 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 Merge the "Replaygain Off" option into the replaygain type; eliminate the ↵Alexander Levin
"On/Off" setting (FS#10356). All WPS tags should work as before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21414 a1c6a512-1295-4272-9138-f99709370657
2009-06-16Touchscreen targets: add calibration screen + rewrite calibration driver ↵Maurus Cuelenaere
(FS#10295) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21312 a1c6a512-1295-4272-9138-f99709370657
2009-06-12FS#8894 - Add time stretching feature to all SWCODEC targets - the current ↵Steve Bavin
algorithm is best for spoken word. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21258 a1c6a512-1295-4272-9138-f99709370657
2009-03-27Change "Prevent Skipping" to "Prevent track skipping" which is a more ↵Thomas Martitz
accurate name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20556 a1c6a512-1295-4272-9138-f99709370657
2009-03-27Document the prevent skipping option in the manual, plus a few fixes for ↵Thomas Martitz
skip length. Also, remove the underscore in the config.cfg setting name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20555 a1c6a512-1295-4272-9138-f99709370657
2009-03-27FS#10014 - Separate tracklocking out of skip length, skip length prevented ↵Thomas Martitz
to skip tracks. This is a seperate setting now. tracks can still change during normal playback (i.e. a song ends). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20553 a1c6a512-1295-4272-9138-f99709370657
2009-03-24Add a Touchscreen Mode setting to switch between 3x3 grid and absolute point ↵Rob Purchase
modes. Note that many screens have not yet been adjusted to absolute point mode, so use with caution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20520 a1c6a512-1295-4272-9138-f99709370657
2009-03-02Split HAVE_SCROLLWHEEL into HAVE_SCROLLWHEEL and HAVE_WHEEL_ACCELERATION, ↵Thomas Martitz
where the latter now activates the wheel acceleration code. HAVE_SCROLLWHEEL plainly indicates the existence of a scrollwheel, thus all ipods define it now (in addition to the ones and some sansas which did before). Same applies to the manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20177 a1c6a512-1295-4272-9138-f99709370657
2009-03-02Onda VX747:Maurus Cuelenaere
* Add speaker en-/disable driver * Add apps/ setting to en-/disable the speaker git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20174 a1c6a512-1295-4272-9138-f99709370657
2009-03-01Commit FS#8314. This adds strnat[case]cmp written by Martin Pool, which ↵Thomas Martitz
respects numbers within strings, and gives a more intuitive sorting. This also adds a setting, so that the sorting can be used in the file browser. The implementation is very generic, and can possibly be used in other places. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20155 a1c6a512-1295-4272-9138-f99709370657
2009-02-02continuation of last nights statusbar cleanup.Jonathan Gordon
accept FS#9858 and FS#9859 make the rec and fm screens force the statusbar the correct way now which doesnt need extra status variables git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19904 a1c6a512-1295-4272-9138-f99709370657
2009-01-26Commit FS#9724, which reworks the preprocessor defines related to backlight ↵Thomas Martitz
fading to a CONFIG_BACKLIGHT_FADING style. The apps/ code will only see which setting is supposed to be used, specific backlight fading handling is kept in firmware, slightly reword the manual text about software fading too with regards to the Gigabeat S git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19860 a1c6a512-1295-4272-9138-f99709370657
2009-01-03Fix some reds.Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19657 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Decouple the statusbar drawing from the rest of the screen drawing. it is ↵Jonathan Gordon
not drawn roughly 4x per second automatically. viewport_Set_defaults() will setup the given viewport with the correct "full screen" dimensions (so start at 0,0 if statusbars are disabled or 0,8 if they are enabled.) All screens should keep the statusbar enabled, but if you really want to ignore the user setting you can disbaled it with viewportmanager_set_statusbar(false). This commit also includes some menu/list viewport cleanups from kugel in FS#9603 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19622 a1c6a512-1295-4272-9138-f99709370657
2008-12-25Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes ↵Michael Giacomelli
Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
2008-12-17Changed some default settings for the 3.1 release:Björn Stenberg
Repeat: Off Backlight timeout: 15 seconds Replaygain: On Replaygain mode: Shuffle ("track" when shuffled, "album" otherwise) Warn when erasing dynamic playlist: On Backlight on button hold: Off Show path in browser: Current directory git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19467 a1c6a512-1295-4272-9138-f99709370657
2008-12-10add some missing ifdef HAVE_TAGCACHE checks spooted by funmanJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19379 a1c6a512-1295-4272-9138-f99709370657
2008-12-03Straighten out some powermanagement stuff. Give target complete control over ↵Michael Sevakis
how power inputs are sensed. Clean SIMULATOR stuff out of target files. Get rid of USB charging option on targets that don't support it or don't implement it yet. Menu string remains to avoid language incompatibility but should be removed on next cleanup for targets not using it (notice in english.lang). global_settings becomes incompatible for some builds and so plugin API version is incremented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19315 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Add hardware backlight fading on Gigabeat S with fade up and down options in ↵Michael Sevakis
LCD Settings. USE_BACKLIGHT_CUSTOM_FADING_BOOL is used to specify the setting type needed but leave the fading code itself implementation-defined. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19237 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Add software backlight fading for E100/H300/X5/D2, by Thomas Martitz and ↵Steve Bavin
others - see FS#6800 for credits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19221 a1c6a512-1295-4272-9138-f99709370657
2008-11-05FS#9525 - The list for the quickscreen items chooser turned out to not ↵Jonathan Gordon
really be usable so try this instead. Settings in the menus will now have a context menu where you can reset the setting and if its OK to put it on the quickscreen there will be options there to put it on it. Also, ban last.fm and cuesheet support settings from the QS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19013 a1c6a512-1295-4272-9138-f99709370657
2008-11-03- handle the custom option type in settings dumper (not very well though but ↵Jonathan Gordon
there isnt really a better option) - ban some settings from the quickscreen which need a reboot to change (dircache, database, max files/playlist size) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18997 a1c6a512-1295-4272-9138-f99709370657
2008-11-03Make local functions staticBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18995 a1c6a512-1295-4272-9138-f99709370657
2008-11-03FS#9515 - customisable quickscreen. Allows you to choose which setting you ↵Jonathan Gordon
want displayed on the quickscreen. Allows almost every available setting. (change the options in settings > general settings > quickscreen items) Not every setting will work perfectly, some might need aditional handling if the change doesnt take effect straight away (let us know which are problematic so they can be fixed) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18984 a1c6a512-1295-4272-9138-f99709370657
2008-11-03Add a setting type which is completly user-defined. This setting type cannot ↵Jonathan Gordon
be used by the regular menu macros (e.g MENUITEM_SETTING() macro) so if you are goign to use this type remember to implement the setting screen seperately (using option_select() if you can) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18983 a1c6a512-1295-4272-9138-f99709370657
2008-11-01Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do ↵Frank Gevaerts
that, it also introduces sd_*, nand_*, and mmc_*. This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18960 a1c6a512-1295-4272-9138-f99709370657
2008-10-26Add a simple plugin (apps/settings_dumper.rock) which dumps the valid values ↵Jonathan Gordon
of all the config settings to /settings_dumper.txt. If you notice any settings its not dumping please let me know. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18882 a1c6a512-1295-4272-9138-f99709370657
2008-10-23Just correct a typo in a comment.Mustapha Senhaji
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18869 a1c6a512-1295-4272-9138-f99709370657
2008-10-23Accept FS#9504 - make the FILENAME_SETTING() macro more user-proof, also ↵Jonathan Gordon
rename it to TEXT_SETTING git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18864 a1c6a512-1295-4272-9138-f99709370657
2008-10-08New recording setting to configure how mono recordings are made. Previously, ↵Peter D'Hoye
this was always L+R, which was kinda silly if your signal was on L only. This setting allows for L, R or L+R. SWCODEC only for now, to be added for HWCODEC (although that will only be L and L+R probably) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18745 a1c6a512-1295-4272-9138-f99709370657
2008-10-07add HAVE_DISK_STORAGE, and use that instead of HAVE_FLASH_STORAGE when ↵Frank Gevaerts
checking for an actual disk (i.e. related to spindown, skipping,...) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18735 a1c6a512-1295-4272-9138-f99709370657
2008-09-21more slight playlist resume cleanuping... dont bother saving the playlist ↵Jonathan Gordon
first index value. its reset to 0 before playlistcontrol is loaded anyway, and then reset to 0 after its finished so its completly useless in global_status. runtimes, resume info, etc will be reset again... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18561 a1c6a512-1295-4272-9138-f99709370657
2008-09-20FS#9408 - dont bother saving the random seed in global status. I'm 99.9% ↵Jonathan Gordon
sure this code was being ignored anyway. If this commit causes problems with restarting playback open a bug report (getting testers was difficult...) Settings which are stored in the nvram.bin file will be reset with this commit. this includes resume info, runtimes, "last screen" and a few others. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18555 a1c6a512-1295-4272-9138-f99709370657
2008-09-08Something horrible happened with binsize, so revert FS#8894 completely (for ↵Steve Bavin
now). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18449 a1c6a512-1295-4272-9138-f99709370657
2008-09-08Add timestretching from FS#8894, as written by Stephane Doyon based on work ↵Steve Bavin
by Nicolas Pitre. Shouldn't affect playback unless it's explicitly enabled, but let me know if it does. Currently has a dedicated setting, but maybe inclusion of the code will inspire someone to integrate this with the pitch screen... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18446 a1c6a512-1295-4272-9138-f99709370657
2008-09-03Fix default font names in the settings code (FS #9358 by Thomas Schott).Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18397 a1c6a512-1295-4272-9138-f99709370657
2008-08-18Skip length: restore the ability to skip by just a few secondsStéphane Doyon
(which was the point of that feature). See r18041. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18310 a1c6a512-1295-4272-9138-f99709370657
2008-08-10fix FS#9259 - the trigger screen changes a while ago broke the trigger type ↵Jonathan Gordon
setting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18232 a1c6a512-1295-4272-9138-f99709370657
2008-08-06First step of the recording screen redesign. The screen is split into a ↵Peter D'Hoye
fixed top part containing essential data and the peakmeters/triggerbar, and a bottom part that is in fact a list. The list contains the items that can be changed, and also some stuff that isn't important enough to be on the top part, like the filename. That filename is now shown completely. If the font is too big to have 6 lines on the display, sysfont is used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18202 a1c6a512-1295-4272-9138-f99709370657
2008-07-14Rename and rework the "Study Mode" menu into the "Skip Length" setting. ↵Thom Johansen
Update manual. Bump plugin API thanks to having changed global_settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18041 a1c6a512-1295-4272-9138-f99709370657
2008-06-29rename the "seek accel" setting because the old values mean something ↵Marcoen Hirschberg
different now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17878 a1c6a512-1295-4272-9138-f99709370657
2008-06-28this function is not used by scrollwheel targetsMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17851 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-06-28implement smooth seeking acceleration for audio playback and mpegplayerMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17843 a1c6a512-1295-4272-9138-f99709370657
2008-06-07fix some whitespaceJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17700 a1c6a512-1295-4272-9138-f99709370657
2008-05-29Gigabeat F/X:Michael Sevakis
Allow chaning of touchpad sensitivity in the System settings menu. Some units are dodgey at "Normal" senitivity and some at "High". "High" can make some units difficult to navigate and may even require a settings reset so try it and don't use "High" again if it doesn't work out :-). Defaults to "Normal" which behaves like older builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17656 a1c6a512-1295-4272-9138-f99709370657