summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-28Add native FiiO M3K to builds.pmSolomon Peachy
Note: It's marked as 'unusable' right now, so it won't show up on build.rockbox.org, nor will daily & voice files be created. Change-Id: I5ea133477a6b4c0296c46757d0375994ad812cc5
2021-03-28New port: FiiO M3K on bare metalAidan MacDonald
Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe
2021-03-27rk27xx: Take advantage of STORAGE_NEEDS_BOUNCE_BUFFERSolomon Peachy
(And get rid of its custom realignment code) Change-Id: Iff27d717b870d3db239310421776744ea6863373
2021-03-27Use STORAGE_NEEDS_BOUNCE_BUFFER instead of STORAGE_NEEDS_ALIGNSolomon Peachy
Enable its use in the jz47xx MIPS targets. (accidently committed g#3249 before making these changes) Change-Id: I1791946f632901f0c7a94b04b009671aa0d71717
2021-03-27xduoox3ii: Wrap the remote key detection in USE_REMOTESolomon Peachy
Makes it straightforward to disable for debugging or defective hardware Change-Id: Ie72786f6e9eabf396a05ef8a02e422c34c97691a
2021-03-27Have FAT filesystem respect storage buffer alignment on readsAidan MacDonald
This is just a minor cleanup of Solomon Peachy's code, and using per-filesystem buffers instead of a single static buffer. Tested and working on the FiiO M3K. Change-Id: I3c19e8cc24e2f8aa07668c9d1c6d63364815050a
2021-03-25ErosQ: Fix text entry keymapDana Conrad
Text entry keymap was almost completely backwards, and it was impossible to submit without adding one last character. Change-Id: I40a224fe20e228c5e4670dd6583318918c59c827
2021-03-25usb: implement macro for initializing USB stringsJames Buren
This uses the new unicode string literal feature that is available now to greatly simplify the initialization of these special string types. This makes them much more readable at a quick glance. Change-Id: Iad8b49aa763486608e3bb7e83fb8abfb48ce0a7b
2021-03-25rk27xx: Get rid of duplicate STORAGE_WANTS_ALIGNSolomon Peachy
Change-Id: I278d42858cc33da3710c8ca8f42d14c6d57509ca
2021-03-25build: Get rid of suplerflous '-Os' references in linker callsSolomon Peachy
We should be using global optimization flags, and -Os is already our default. Change-Id: Iaba511b2b4fa2ee0f1eb1ad28024be954f4c5f03
2021-03-25build: We don't need sh-specific flags in the pictureflow build.Solomon Peachy
Change-Id: I1e9ab4332cbeb5aabc01edf825eace6152347e0a
2021-03-25Revert "lcd framebuffer - Bugfix #2 ensure proper alignment"William Wilgus
This reverts commit 3a5c5edbf6cb3ac5e4b65fe036ca50b41fabaa89. Reason for revert:pulling in system.h breaks SDL :( Change-Id: Ied5e08de4770aa0da87c14b304480448db349423
2021-03-25lcd framebuffer - Bugfix #2 ensure proper alignmentWilliam Wilgus
-- apparenty 0x4 aligned doesn't work properly requires 0x8 alignment at least for the h10 20gb but enabled for all processors that define MEM_ALIGN_ATTR Change-Id: I11edaab183b91a6d158f1f439f173b9b699dc914
2021-03-24build: Don't overwrite autoconf.h unless it has actually changedSolomon Peachy
This way we only rebuild the world if something relevant changed. Change-Id: Ia7d104cadec185a3227acbf330bb3b359296f0fb
2021-03-24Revert "lcd framebuffer - Bugfix ensure proper alignment"William Wilgus
This reverts commit ffee661ab70e9622a05c9c2f24ecf474dad8f042. Reason for revert: <INSERT REASONING HERE> iAudio M5 `IRAM' overflowed by 48 bytes Change-Id: Id808a72c6eacabc562d53eac8acd36b45f678a97
2021-03-24lcd framebuffer - Bugfix ensure proper alignmentWilliam Wilgus
-- apparenty 0x4 aligned doesn't work properly requires 0x8 alignment at least for the h10 20gb but enabled for all arm processors assign the default framebuffer to the default_vp as well Change-Id: I0b76c30f2ddb5d6d2f7c6a132e4081aee58da17b
2021-03-23Add asynchronous I2C bus APIAidan MacDonald
The driver core is based off of the i.MX233 I2C implementation and should work on any platform. Change-Id: I3b9c15e12a689ef02a51c285be08d29d35e323dc
2021-03-23FS13279: Update Polish Translation (Adam Rak)Solomon Peachy
Change-Id: Ib05bc51e3fa082a20862929f318bfd2e50d0dd66
2021-03-23Update english-us "translation"Solomon Peachy
Change-Id: I757e6b96473f714497bab45d17e754b5e344a5c4
2021-03-23Fix FS#13278: error message when playing a song with Rockbox for the very ↵Christian Soffke
first time The function to check whether a playlist has been modified will now only try to resume a playlist, if the global resume index is not -1. This also means that replacing a finished (modified) playlist will not produce a warning anymore if Rockbox has been restarted in between. In that respect, the behavior is identical to what it was *before* 46085c897854. Change-Id: Ib95f89043274f1c72c75023d1506fc093aaf4cf9
2021-03-22FS13277: Updated Polish translation (Adam Rak)Solomon Peachy
Change-Id: Iae27b78c66ebd0d9d185efaeef9131b86505bf9f
2021-03-23Call powermgmt_init_target() before polling the batteryAidan MacDonald
In the old position of the call, the first battery reading would be made before initializing the target's power management code. If the target needs to initialize before giving a battery reading, then the first reading would be wrong and the power thread might inappropriately shut down based on a false zero reading. The new position avoids forcing special-case logic onto the target power management code. Change-Id: I483cfabe30c6881d80a1094fd526fa0065523d19
2021-03-23Add disable setting for all softlock notificationsDana Conrad
Tested on erosq Added ability to disable all softlock notifications. Setting is "Disable All Lock Notifications" under Advanced Key Lock Settings. Tested to make sure it doesn't interfere with backlight exemptions, keylock exemptions, or first press enables backlight only. When enabled, this overrules the existing Disable Notify setting, which only disables the reminders when a button is pressed while the device is already locked. Also changed phrases in the Advanced Key Lock settings menu to make it more obvious what the options do. Changed LANG_ACTION_PLAY, LANG_ACTION_SEEK, and LANG_ACTION_SKIP from "[button]" to "Exempt [button]". These language changes will also affect the Backlight Exemptions list, but the wording should be appropriate there as well. Added LANG_SOFTLOCK_DISABLE_ALL_NOTIFY and LANG_ACTION_VOLUME, changed LANG_VOLUME to LANG_ACTION_VOLUME in display_menu.c for consistency. Change-Id: I914fe154ba5d508a842165aea7c7755e4e6b9c57
2021-03-22Remove some HAVE_FUNCTIONAL_MODE bitsAidan MacDonald
This was dead code introduced by 0662793c, and got missed by 08ab3aea which should've removed it. Change-Id: I87d02eab11479133c66524e58efc504ff093dfbd
2021-03-22debug_menu: revise how the ATA device bit is reportedJames Buren
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 MacDonald
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 Buren
Change-Id: If01ba31a34be3e277a98adb93861aa2a19d8829d
2021-03-22debug_menu: report on ATA device type bitsJames Buren
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-22Increase id3v2 max item size on high mem targetsChristian Soffke
As per multiple user requests: https://forums.rockbox.org/index.php/topic,53319.msg The acceptable size for id3v2 fields currently maxes out at 240 bytes on targets with more than 2MB of memory. The comments field, especially for Podcasts, can sometimes contain significantly more characters than Rockbox allows. The limit for devices with more than 8MB of memory is increased to 500 bytes for individual fields, and to 1800 bytes for the buffer containing all fields. Change-Id: I4593372229158756f102f67bcc4a43e64f632d58
2021-03-20If backlight is off and keys are unlocked, power button wakes screen onlyDana Conrad
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 Wilgus
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 Wilgus
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 Wilgus
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-17xduoox3: In ROLO, allow the ADC to be shut down.Solomon Peachy
The hang we were seeing was due to IRAM wonkiness. that's fixed. Change-Id: Ie33a1110639fe51ad540e4e172e41f22f3bf875b
2021-03-17erosq: Move ACTION_TREE_WPS to list context for use in Files and DatabaseDana Conrad
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-17Manual: Mention/reference viewing playlists through the File BrowserChristian Soffke
Change-Id: Ia81cc15fea65af52fede0b417e62e8f3d7f6bdc3
2021-03-17Manual: update description of Current Playlist menu optionsChristian Soffke
- note that availability of options depends on player state - present options that only insert tracks separately from those that also remove tracks - add short intro for the latter. Change-Id: Ie99ef7dff77da0cb136c761da1c11f83936f86f5
2021-03-16Resume audio after user selects a new songChristian Soffke
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 Soffke
(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 Soffke
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-15FS13274: Bump max battery capacity for iPod Videos to 3000mAhSolomon Peachy
3rd party batteries can go this high for users that have performed SSD mods. Change-Id: Icb34ce08e5ea345bc0fdb555bd3fd8ea9cf9e0d9
2021-03-14Customizable Current Playlist SubmenuChristian Soffke
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 Conrad
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 Peachy
Change-Id: I7b98b1c6af99f2e43d9b4dc4dc46f63ed8b0192c
2021-03-14Update english-US "translation"Solomon Peachy
Change-Id: Ifecdc68911c7805e9744647cb1510a2a474afff6
2021-03-14sound: add sound_numdecimals() to round out the sound setting query APISolomon Peachy
A necessary prerequisite for fixing FS#13272 Change-Id: Ice288af39a4f08bea376f920d855932bdac69a52
2021-03-13erosq: Have tree context fall back to list context rather than mainmenu.Solomon Peachy
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 Peachy
tap power to lock! Change-Id: I819c90757a9082eab485828727d76e5ed33a29ed
2021-03-12Update manual (Working with Playlists)Christian Soffke
- Bring description of "Create Playlist" command up to date - Explain that entries added by Insert Shuffled aren't contiguous - Introduce Queue options in a short paragraph Change-Id: I1104449f72a78794368b6d8c4d0574bb645c93b2
2021-03-12ATA: Increase delay to power-off when device doesn't support ATA SLEEPSolomon Peachy
The storage subsystem aggressively issues SLEEPNOW events when idle and power off happened a fixed 2s later. This turns out to not be enough time for FC1307A (eg iFlash) adapters to flush outstanding writes. So, when we detect a lack of PM support, increase the poweroff delay to 5 seconds to compensate for not being able to issue the ATA SLEEP command. Hopefully this is enough time. If not, we will have to re-disable PM entirely when we detect these popular adapters. Thankfully that is now just an #ifdef away. Change-Id: I4112b9acb965973d81f70483bd9d595461c7301c