1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/lib
William Wilgus 7100090f99 Remove NVRAM infavor of a separate cfg file
remove nvram and use the existing settings framework for it

add a crc check to the user_settings data to see if we need to save
the user setting file or if we can just save the status file (resume.cfg)

move volume to the system_status struct so we don't write the whole settings file
over volume changes

allow user to still export volume with save sound settings

allow the user to also export pitch and speed

name the file .resume.cfg

Rename all the SYSTEM_STATUS save file variables to TLAs to save space and
discourage tinkering

Cleanup DEBUG_AVAIL_SETTINGS output

when saving user_settings it calls status_save as well this cause the resume
file to be written twice. instead remove the callback for status_save
when setting_save is called

remove header text when saving .resume.cfg

convert status_save() to status_save(bool force)
add SYSTEM_STATUS_UPDATE_TICKS

for ATA device set this to 5 minutes
since we arlready wait for the disk to be up before saving
we don't want to miss our window

for all other every 15 minutes

that way if the battery is too low by the time shutdown comes around you
don't lose much progress

Change-Id: I27214ffd6e5d5494ee5ca83b14f04a41ba426ad7
2025-01-21 00:04:32 -05:00
..
action_helper.c rb_info plugin and button,action+context name helper 2021-11-22 21:39:45 -05:00
action_helper.h Add custom action mapping to core 2022-02-23 08:47:12 -05:00
action_helper.pl Add custom action mapping to core 2022-02-23 08:47:12 -05:00
arg_helper.c plugin argparse update to add userdata to callback 2024-07-26 00:56:13 -04:00
arg_helper.h plugin argparse update to add userdata to callback 2024-07-26 00:56:13 -04:00
bmp_smooth_scale.c Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00
button_helper.c rb_info plugin and button,action+context name helper 2021-11-22 21:39:45 -05:00
button_helper.h Add custom action mapping to core 2022-02-23 08:47:12 -05:00
button_helper.pl Add custom action mapping to core 2022-02-23 08:47:12 -05:00
checkbox.c Remove a bunch of build conditions inside .c files 2010-08-25 19:14:02 +00:00
checkbox.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
configfile.c [BugFix] pitch screen load config fd wasn't closed 2025-01-18 11:47:12 -05:00
configfile.h [Fix Yellow] pitch_screen and configfile 2025-01-17 23:09:18 -05:00
display_text.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
display_text.h
feature_wrappers.h
gcc-support.c Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets" 2012-10-24 14:05:39 +02:00
grey.h LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
grey_coldfire.S
grey_core.c Nuke the never-functional iriver ifp-7xx port 2021-04-26 07:42:58 -04:00
grey_draw.c [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
grey_parm.c LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
grey_scroll.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
helper.c plugins HAVE_BACKLIGHT helper remove ifdefs in favor of dummy functions 2022-11-23 23:00:29 -05:00
helper.h Fix Red lib/helper.h 2022-11-23 23:55:45 -05:00
highscore.c plugins: Xobox: Fix highscore table on 2bit grayscale displays 2022-12-29 11:26:57 +01:00
highscore.h plugin: implement highscore_show for player and use it in rockblox. 2010-02-22 13:45:24 +00:00
icon_helper.c Plugin Api add core bitmaps 2021-08-26 12:55:34 +00:00
icon_helper.h Plugin Api add core bitmaps 2021-08-26 12:55:34 +00:00
jhash.c Fix compile warnings (set-but-not-used) on big endian targets 2020-10-13 13:37:23 -04:00
jhash.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
jpeg_mem.h
kbd_helper.c Small fixes to kbd_create_layout 2021-07-20 21:30:55 +01:00
kbd_helper.h Small fixes to kbd_create_layout 2021-07-20 21:30:55 +01:00
keymaps.h hitiet ma8/ma9: add in keymaps for all plugins 2025-01-07 14:22:53 -05:00
md5.c
md5.h
mul_id3.c plugins: properties: delay UI viewport update 2024-07-30 16:05:29 -04:00
mul_id3.h plugins: extract redundant functionality from stats/properties 2024-07-28 20:18:41 +02:00
mylcd.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
osd.c Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00
osd.h [2/4] get rid of HAVE_LCD_CHARCELLS 2020-07-24 21:20:13 +00:00
overlay.c plugins: Simplify plugin/codec API versioning 2023-03-21 16:23:54 -04:00
overlay.h Fix red, hopefully. 2020-10-09 13:04:38 +00:00
picture.c
picture.h
playback_control.c Remove NVRAM infavor of a separate cfg file 2025-01-21 00:04:32 -05:00
playback_control.h plugins/lib: remove out-dated comments about plugin api. 2010-02-25 12:14:36 +00:00
pluginlib_actions.c hitiet ma8/ma9: add in keymaps for all plugins 2025-01-07 14:22:53 -05:00
pluginlib_actions.h S#10387 - Rework pluginlib actions 2010-05-20 17:41:28 +00:00
pluginlib_albumart.c
pluginlib_bmp.c Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00
pluginlib_bmp.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
pluginlib_exit.h Fix building simulator plugins on Cygwin. A DLL stub containing atexit is linked to the plugins, so give our version a prefix. 2010-08-26 15:44:32 +00:00
pluginlib_jpeg_idct_arm.S
pluginlib_jpeg_load.c Hopefully all green now 2011-02-09 20:51:11 +00:00
pluginlib_jpeg_mem.c
pluginlib_resize.c
pluginlib_touchscreen.c lcd-common: Remove support for custom line heights from viewport. 2014-01-07 14:13:48 +01:00
pluginlib_touchscreen.h pluginlib_touchscreen: Rework API to offer wait-for-button APIs. 2012-01-27 09:15:05 +01:00
printcell_helper.c [Bugfix] plugins printcell_helper crash on NULL pointer 2025-01-13 00:45:09 -05:00
printcell_helper.h [Feature, Plugin] lastfm_scrobbler_viewer 2023-04-16 23:50:24 -04:00
profile_plugin.c
profile_plugin.h
read_image.c
read_image.h
rgb_hsv.c
rgb_hsv.h
sha1.c Fix endianness handling for sha1 (used by the otp plugin) 2016-06-28 13:33:50 +02:00
sha1.h One-Time Password client (HOTP and TOTP) 2016-06-05 14:25:09 -04:00
simple_viewer.c plugins: simple viewer: prevent audio dropouts when scrolling 2024-11-24 23:55:40 +01:00
simple_viewer.h add simple text viewer to pluginlib and use this for dict to show description. 2010-06-08 11:07:36 +00:00
SOURCES plugins: Remove id3 lib 2024-12-15 23:50:24 +01:00
stdio_compat.c fix red once more 2017-12-24 17:43:30 -05:00
stdio_compat.h Silence warning in stdio_compat.h 2019-07-19 23:51:07 -04:00
strncpy.c Fix dangerous casts 2017-02-04 17:24:47 +01:00
wrappers.h Fix red in 7f265ee 2023-01-14 19:40:29 +01:00
xlcd.h LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
xlcd_core.c LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
xlcd_draw.c Whitespace cleanup on fb_viewport Rewrite 2020-10-26 12:38:22 -04:00
xlcd_scroll.c Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00