summaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2021-03-22debug_menu: revise how the ATA device bit is reportedJames Buren1-1/+1
According to the ATA specification this bit is used to indicate either an ATA device or a CF compatible card. We use it currently to indicate CF compatible status. So let's change the wording accordingly. Change-Id: Iee87197dee80e6225e4c62c40bceedfbc4e659c2
2021-03-22Add new audiohw capability: POWER_MODE_CAPAidan MacDonald6-0/+122
This allows the user to make use of the DAC's power-saving abilities. The two modes are "high performance" and "battery saver". This feature is supported by the AK4376 DAC in the upcoming FiiO M3K port. The setting is only a manual toggle right now, but in the future it could be hooked up to the battery level (via another setting) so it can be toggled automatically when the battery gets too low. Change-Id: I482af6e2f969fcbdeb3411bd3ff91f866b12d027
2021-03-22debug_menu: Fix compile error from previous commitJames Buren1-3/+3
Change-Id: If01ba31a34be3e277a98adb93861aa2a19d8829d
2021-03-22debug_menu: report on ATA device type bitsJames Buren1-0/+9
This reports the ATA device type bits in a human readable format so that users can easily identify what their ATA device is claiming to be. This is mainly useful for troubleshooting a possible source of compatibility issues with their DAP. As such this is mainly an aid to CF modders. Change-Id: I40f581fc0805a2753789452373cc6e179d8f3074
2021-03-20If backlight is off and keys are unlocked, power button wakes screen onlyDana Conrad1-0/+9
tested on erosq On devices with both a backlight and a softlock button, currently pressing the softlock button while the screen is off and the keypad is unlocked will wake the screen and also lock the keypad. Presumably, the user's intention is to use the device when they hit the softlock button in this state, so wake the screen without locking the keypad. Change-Id: Ib00e1c37142e5d3d9317775de5cf0dd67f3f2569
2021-03-18Shortcuts.c fix regression from last bugfixWilliam Wilgus1-1/+1
wiped out the lang id check which causes shortcuts menu to pop error message when browsing to folders shortcut menu uses the return to check for validity Change-Id: I30061f034f99ea66844e45ea842e52843ea6062b
2021-03-18shortcuts menu bugfix wps context plugin fallthroughWilliam Wilgus1-1/+2
if you ran a plugin from shortcut menu that originated from the WPS next time you pressed select in the wps it would attempt to run the wps context plugin Change-Id: Id72eb6a20522586efeb479aea0b1c50b53942346
2021-03-18Open Plugin cache plugin entry when possibleWilliam Wilgus4-48/+103
leave plugin entries in ram and try not to save them unless necessary doesn't use more space just a bit of careful ordering with the buffer Change-Id: I1973e9ad4655c2544f596b37cee35601a0cffa94
2021-03-17erosq: Move ACTION_TREE_WPS to list context for use in Files and DatabaseDana Conrad1-3/+1
The ACTION_TREE_WPS (held back button) was a part of the mainmenu context, moved to list context so it would work in Files and Database as well for consistency. Change-Id: I3749d7b4fd041db80e81c1a79d30c2c7bdd64829
2021-03-16Resume audio after user selects a new songChristian Soffke1-0/+1
Music currently doesn't begin playing after the user has selected a new song from a playlist or using the database/file browser, unless another item was already playing or the previous player state was "stopped" but not "paused". This results in an inconsistent user experience. The user's likely intention is to immediately listen to a song they select regardless of the previous player state. Change-Id: I574c3fe5c12fee544da0569182fc9573d307ac2f
2021-03-16Offer function to Clear List & Play Shuffled when playback is stoppedChristian Soffke2-16/+36
(as per multiple user requests) When playback is stopped, Rockbox will display an option to clear the current playlist and add selected tracks in random order, if Shuffled Adding options are enabled in Settings. Insert options will not be displayed anymore when playback is stopped to lessen confusion. Change-Id: I5e5819149027e63e5c6f30213e838c0d7e7de8d5
2021-03-16Restore playlist state as necessary before checking whether current playlist ↵Christian Soffke1-0/+4
has been modified Rockbox would previously not present a warning when you were about to replace a modified playlist after restarting the player, unless you first resumed playback. Change-Id: I9752228f84b105747e41ce6e1c8f95f0f9f14c10
2021-03-14Customizable Current Playlist SubmenuChristian Soffke5-55/+194
Options to add shuffled tracks and to queue tracks in the Current Playlist Submenu can now be hidden, or the latter can also be put into its own submenu. Users can customize this in Settings by going to "General Settings - Playlists -> Current Playlist" and choosing from "Show Shuffled Adding Options" (No / Yes) or "Show Queue Options" (No / Yes / In Submenu). Allows for the paring down of the set of choices to a minimum of the 4 more common ones for adding tracks to a dynamic playlist (coming from the current total of 11). Defaults have been set so that users have to actively modify their settings to notice any difference, which makes it unlikely that anybody's workflow would be negatively affected by this change. Change-Id: Ibe48fc4da2c79f54cd7272df8e1e3ba9955203e5
2021-03-14erosq: change keymap to fix back buttonDana Conrad1-2/+4
Back button's ACTION_TREE_WPS state in the mainmenu context causes a jump back to the main menu root from anywhere in the settings tree. Changing it to a held button fixes this. Also changed the ACTION_STD_CANCEL functionality of the back button in the standard context to be on release, just because I think it feels better to use. Also added myself to docs/CREDITS Change-Id: Ia5892f4d995431abe0616f00fd5cc8368dd750a2
2021-03-14Updated Italian Translation (Alessio Lenzi)Solomon Peachy1-4/+21
Change-Id: I7b98b1c6af99f2e43d9b4dc4dc46f63ed8b0192c
2021-03-14Update english-US "translation"Solomon Peachy1-0/+3
Change-Id: Ifecdc68911c7805e9744647cb1510a2a474afff6
2021-03-13erosq: Have tree context fall back to list context rather than mainmenu.Solomon Peachy1-15/+11
Allows 'back' to cancel vs always popping into wps, for example. Change-Id: Ia9f27f884c6076906ff023d666872c566c60aa37
2021-03-13Add soft-keylock to standard context on the x20/x3ii/erosq targetsSolomon Peachy3-0/+3
tap power to lock! Change-Id: I819c90757a9082eab485828727d76e5ed33a29ed
2021-03-11Use "Save" instead of "Save Current Playlist" in Playlist ViewerChristian Soffke1-2/+2
LANG_SAVE_DYNAMIC_PLAYLIST refers to dynamic playlists. A playlist being edited is only the "current playlist" in case of a dynamic playlist. When other playlists are edited, the current playlist is different from the edited/selected playlist. (A possible motivation for differentiating between the two here is because "Current Playlist" is already the title of a submenu in that same context menu where the name refers to the dynamic playlist and not to the selected playlist. "Save Current Playlist" is also used in the Playlist Catalogue's context menu for example, referring to the dynamic playlist.) Change-Id: If320b3c804bb98fccb2e945ae1a30ffc92673c7e
2021-03-11Fix "Create Playlist" option in context menu of "Playlist Catalogue"Christian Soffke1-2/+1
If the previously selected directory in the file browser was the playlist directory, creating a playlist with all files wouldn't work due to the fact that PLAYLIST_CATALOG_DEFAULT_DIR has an unexpected duplicate leading '/'. The initialize_catalog function makes sure to remove this from playlist_dir. Change-Id: I0f8300140fa23321d362d2a75dfaf82be0b4b12a
2021-03-11ImageViewer Fix jpeg decoderWilliam Wilgus1-7/+3
Image viewer compiles decoders as a plugin and removes CRT0 A resuklt static vars do not get initialized in decoders Change-Id: I72da326967c7b404b297897000f82852661a7ebb
2021-03-10xduoo_x3ii: Improvements in the meymappings!Solomon Peachy2-16/+16
* PREV/NEXT now swapped so they do what is expected in most contexts * List and setting context retains prior behavior * Enable the ADC that reads the headset remote and map the keys. * As ADC-based remote "events" arrive as press/release pairs, delay the button release. Change-Id: I22d4eac3bfe1573b50eca795cf377bdafdeb5336
2021-03-10Special-case the storage names for hibylinux-based hosted targetsSolomon Peachy2-1/+8
Change-Id: I66a4eebe244e9656f851d83aae0346af4367728f
2021-03-10Move "View" option for playlists up one levelChristian Soffke1-16/+15
The "View" option for playlists/.m3u files is currently part of the "Current Playlist" submenu even though it refers to the selected file/playlist and has nothing to do with the current playlist. It has been relocated to the context menu of the playlist file where it makes more sense and is easier to get to. Change-Id: I806ed46a7315293d7d20f29ed004cc8ab58cdcb7
2021-03-09Update english-US translation.Solomon Peachy1-4/+32
Change-Id: I9906b6a7033e49d56f480ae80188a7154d2f7560
2021-03-09UI: Rename "Play Next" to "Clear List & Play Next"Christian Soffke3-9/+37
The "Play Next" function replaces the current dynamic playlist, so it makes sense to convey that information to the user when displaying the option in a context menu. Change-Id: Ic6e03e4adbd811e28b5cfeba36b64c5e8a7db2f9
2021-03-09Shortcuts Menu -- remove debug statementsWilliam Wilgus1-2/+1
Change-Id: I4ad370088a6b1da188611ae335fcd7a7e3a57f90
2021-03-09Shortcuts Menu -- Update2William Wilgus2-2/+10
make shortcuts menu drop back into WPS on exit different icons for plugins and files versus folders Change-Id: I1b590c223b63a6b6598c33e767738daaea1c8ad0
2021-03-09Updated Italian translation (Alessio Lenzi)Solomon Peachy1-0/+68
Change-Id: I93acf9d934429dadbc397e53555ae5b16c349b07
2021-03-09FS#13263: Rockbox deletes wrong fileChristian Soffke1-1/+8
The WPS calls onplay() with a pointer to the path of the current track . We need to make a copy of the path so it isn't affected by track changes. Change-Id: I10a2a93da644932033e01ffbfd85cad20abb555d
2021-03-09Reset filetype colors when resetting theme colorsChristian Soffke1-1/+7
Even though filetype colors can't currently be changed by going to Settings->Theme Settings->Colors, a user likely wishes to still reset them when selecting 'Reset Colors' after a .colours file may have been applied by a theme. Change-Id: I4494c83a502666900f6d9d2cc3fb1825af5e45f6
2021-03-09Show 'Play Next' option when playback is stoppedChristian Soffke1-6/+23
1) The Insert functionality was changed in abebc6b to not delete unfinished dynamic playlists anymore. "Play Next" has now been added as an option when playback is stopped. The behavior of "Play Next" as such has not changed and it is now the consistent way to replace a current playlist in all playback modes. 2) The 'Insert' and 'Insert Shuffle' options will now only be displayed if there is a resumable dynamic playlist Change-Id: Ib5c5469b9e2c583ab06e0f47a922c24e5adf6b5f
2021-03-08Shortcuts Menu UpdateWilliam Wilgus3-1/+16
Change Browser shortcut to the plugin icon drop back into WPS on opx return allow same action to exit shortcut menu as entered -- might be problematic Change-Id: Id7013a514c8e8862ee1da44b033d10b7519e9127
2021-03-07ibasso: Fix the dx50/dx90 build (and usb_mode selection)Solomon Peachy4-10/+12
(The usb_mode selection setting was actually broken even though it had been previously compiling...) Change-Id: I0cac31d24c0ef684b934e40ab14f683cc4a31738
2021-03-07usb_mode: Missed a #define that led to some sim build failures.Solomon Peachy1-1/+1
Change-Id: Ie872c5684a200bf99ee7083bb35700a663ef9788
2021-03-07settings: Fix inconsistent #ifdefs wrapping the usb_mode stuffSolomon Peachy2-2/+2
It should be: #if defined(HAVE_USB_POWER) && !defined(USB_NONE) && !defined(SIMULATOR) Change-Id: I49355d56834de3893a9a244793b39f662c27f136
2021-03-07Shortcuts.c -- UpdateWilliam Wilgus7-22/+51
Fix returns from shortcuts -- should now run plugins Fix formatting of file names to remove path from browser shortcuts Change-Id: I46e337110d04b84bedcb0c2945d5dd29a1860847
2021-03-07OpenPlugins Allow opx shortcutsWilliam Wilgus2-13/+36
Allow opx shortcuts to be run through the shortcut menu Change-Id: I6597b9485dfb224766c442257c4d9c8ac02eece4
2021-03-07voice: Allow voice prompt volume to be configurableSolomon Peachy6-2/+33
It defaults to 100%, allow it to be dialed back Change-Id: If997fb7d3057472a7fac0be4ae7d1e8fce654c49
2021-03-07build: Make all other language files "depend" on english.langSolomon Peachy1-1/+1
If we update english.lang, we need to re-run genlang on the other language files so any changes are picked up. Change-Id: I7d296b3cc814871e881bdeac2784e64705bde10b
2021-03-06Open_plugins.c fix redWilliam Wilgus1-1/+1
rb->strncasecmp Change-Id: Icb1e6d0db42bd4708d581e80596604fb97578761
2021-03-06Open_Plugins Add FeaturesWilliam Wilgus1-12/+43
Added an entry 'Add' to the main screen to lessen confusion side note: its actually a shortcut back to this plugin with flag '-add' passed as a parameter Change-Id: Ifeb0a1e5be99764b1d25d5a3b0e00f1449ec3d78
2021-03-05Announce_status plugin bugfix use artist prior to albumartistWilliam Wilgus1-5/+16
give id3->artist higer precedence than id3->albumartist Change-Id: I7f57ea274211673c04bf23458735796b03031a15
2021-03-05announce_status trackchange bugfixWilliam Wilgus1-13/+10
!Properly remove callback! don't play voice prompt at startup if something is actively playing Change-Id: I237d09c1496bc2bed8433dcdaa1469f3d0f2cb10
2021-03-05English-US language had some issues that caused it to fail.Solomon Peachy1-44/+44
Change-Id: I29d27ccb3b972393b234a0ace3f22d4b6c223a20
2021-03-05OOM on Audio_Reset_BufferWilliam Wilgus1-0/+2
Allow the talk file to be unloaded Change-Id: I7633c213f1bf7135894aed43171ea683e2867954
2021-03-04Talk.c, playlist.c fix bugsWilliam Wilgus2-1/+4
fix bug in talk.c playlist.c only dump voice buffer if we are out of space Change-Id: I75705d755db4193a87e542d062dbdc96b153dbb6
2021-03-04Announce_status plugin make USB plug awareWilliam Wilgus1-3/+13
Announce_status was blocking USB from working it now quits on USB plug Change-Id: I0b7e5e9c1ef118582febd459e706c9b61cf7fe25
2021-03-04Talk Fix outright disable after first clipWilliam Wilgus1-1/+4
Oops Sorry bout that ;P Change-Id: I2618e2565a218dd5640351dfef3b7cc2a64617d4
2021-03-05Talk.c Guard against use after free / failure to load voicefileWilliam Wilgus1-3/+4
load_voicefile_data wasn't checked for success leading to a use after free situation get_clip now checks for valid index_handle before using it Change-Id: Id66dba6dbd6becfc9e0fe922fbc1d0adec1f0393