summaryrefslogtreecommitdiff
path: root/apps
AgeCommit message (Collapse)Author
2021-10-02Yes/No Screen Keymap: add fallbacks to targets lacking themDana Conrad
With the addition of ignoring unknown actions to the yes/no screen, several (mostly older) targets won't have keys defined to cancel out of the yes/no screen. Adding fallbacks to standard context to correct this. Targets: Shanling Q1 - changed, untested (doesn't appear sim has buttons mapped) Sansa Connect - changed, untested (can't figure out sim keys) HM60x - changed, untested (sim won't build) HM801 - changed, untested (sim won't build) ihifi - changed, untested (sim won't build) MA - changed, untested (sim won't build) M3 - changed, tested on sim X5 - changed, tested on sim MPIO HD300 - changed, sim tested MPIO HD200 - changed, sim tested (remote not tested) Vibe 500 - changed, sim tested Change-Id: Ib5290ada8e12bb845d3840e481e8533515b42e95
2021-09-30Add ability to dump cpu boost log to disk, include thread namesWilliam Wilgus
0.) B 0 /rockbox/apps/main.c:405 1.) B 1 /rockbox/firmware/kernel/thread.c thread[dircache]:1508 2.) B 2 /rockbox/apps/tagcache.c:4772 3.) U 3 /rockbox/apps/tagcache.c:4793 add logic to show count after log rolls over clean-up Change-Id: Ibda0a56e5d8d89aa8b7649f4f9fa64eb1ff0e08f
2021-09-29voice_thread.c ensure cpu gets re-boosted after Q_VOICE_STOP eventWilliam Wilgus
when the voice system is doing queued voice clips you can get a voice_stop event which cancels the cpu boost but the quiet count was not reset to 0 next clip may play unboosted causing stuttering just boost unconditionally on Q_PLAY it'll unboost after timeout if unneeded Change-Id: Ib39df5d9f8a9e41299147a885048cf1361180dd6
2021-09-29Revert "Playlist Viewer: Add file properties to playlist entry menu."James Smith
This reverts commit 67716c6b46a7780bff6b80408b3452c01bfbfdc4. Reason for revert: Only partially working on bare-metal ports, so revert this for now. Change-Id: I5cea7d2b6466a43aaff4c3eb90ab5d7aee736a5b
2021-09-29Revert "Fix the build for 67716c6b."James Smith
This reverts commit 483563a1b2cd5d463557580498d75a693dd79077. Reason for revert: Only partially works. Change-Id: I28e412bf4eeb515cf72845f27d5772746cebc5e5
2021-09-28voice: Allow voiced date format to be overriddenSolomon Peachy
This adds LANG_VOICED_DATE_FORMAT, a format string with these tokens: Y 4-digit year A Month name m numeric month d numeric day of month The default (english) is '23 January 2013' In comparison, english-us is 'January 23 2013' Change-Id: I055a3287c104260dec63bba58d36fdae9df1ed16
2021-09-28talk: Add support for languages that swap the tens position in numbersSolomon Peachy
For example, English would say "231" as "two hundred thirty one" but many other languages would say "two hundred one and thirty" So, if VOICE_NUMERIC_TENS_SWAP_SEPARATOR is not an empty string, swap the tens and ones position and use that string ("and" in the above example) as the voiced separator. Change-Id: I69f8064d44b3995827327cabae6ad352bf257d04
2021-09-28Revert "voice_thread.c ensure cpu gets re-boosted after Q_VOICE_STOP event"William Wilgus
This reverts commit 4695f80230f0d3e3eb03a4d9aade5253e2d51862. Reason for revert: Something else is unboosting the thread this is a red herring Change-Id: I0e71e0065b13129bbf59d45416c15799c446dcad
2021-09-27voice_thread.c ensure cpu gets re-boosted after Q_VOICE_STOP eventWilliam Wilgus
reset quiet counter after Q_VOICE_STOP when the voice system is doing un-queued voice clips you can get a voice_stop event which cancels the cpu boost but the quiet count was not reset next clip will play unboosted causing stuttering Change-Id: Icaada443e2399bf146e30bebee599db5b379063a
2021-09-19Fix the build for 67716c6b.James D. Smith
Change-Id: I3917f64313345cf39d6105a0c0bc2f2a4617be8a
2021-09-19Make USB Charging default value configurable per deviceDana Conrad
A reasonable default assumption for a user would be that they can plug their device into a USB AC adapter and it will charge with as much current as it reasonably can. With the previous default, an AC adapter will only do 100mA, basically a trickle charge. Make this configurable default per-device, so as not to break old devices without testing. Define TARGET_USB_CHARGING_DEFAULT to USB_CHARGING_FORCE to use the new default. Tested on both erosQ Native and M3K. Change-Id: I77265d356a41d67357ebc6e9f7e0c25a37b74931
2021-09-19Dir cache: Fix resume of relative path playlists.James D. Smith
Slightly modified from original patch by Fabrice Bellard. Change-Id: I9ae04fa460f0f1b9c616e6f99505d4c5d4358f68
2021-09-19Playlist Viewer: Add file properties to playlist entry menu.James D. Smith
Change-Id: I8fb0da7d117e4a011345bae7f6137ab3253fea4f
2021-09-19FS13255: Partial update of Hungarian Translation (Gergely Békési)Solomon Peachy
(plus a lot of patch rebaseing by myself) Change-Id: I184638147daceb5b60838763bc3d12a2959b337f
2021-09-17Pictureflow: Update for tag_virt_canonicalartist.James D. Smith
Change-Id: Ie9fc906b6f863347174b383b01514961b307c4f1
2021-09-17Database: Merge 'Album Artist' entry with 'Artist' entry.James D. Smith
-Link 'Artist' entry to canonicalartist field. -Convert all possible users of artist field to canonicalartist. -Tweak 'Same as current -> Artist' menu to also include albumartist field matches. Change-Id: I52e87cc0bd6ca50f1645447819ca55669df37354
2021-09-17Database: Fix tag_albumartist; new tag_virt_canonicalartist.James D. Smith
Change-Id: I1d887f8a9d6690b8286407d2502432b0497cfeb9
2021-09-17FS#13304: Updated Dutch translation (Issa Beganović)Solomon Peachy
Change-Id: I8daaac6feea07eb114259b1e39338979e8a630fa
2021-09-17FS#13309: Updated Polish Translation (Adam Rak)Solomon Peachy
Change-Id: Ie808def000b00514b2929a2aaef6082fc7daa9be
2021-09-17Synchronize english-us "translation"Solomon Peachy
Change-Id: I6cdedbced816bce223b9f7579d5fcd0af091f81a
2021-09-16File properties plugin: Add bitrate.James D. Smith
Change-Id: I6160c50685ce1615ef295a472f25cb608b2e6feb
2021-09-16File properties plugin: Add frequency.James D. Smith
Change-Id: I27453b39b5e4a6b4f97eff27a36c8ef2772ec092
2021-09-16File properties plugin: Add disc number.James D. Smith
Change-Id: I98c9ccdffdaae8c5c9117212365ae82b9bf2147c
2021-09-15File properties plugin: Add track.James D. Smith
Change-Id: Id8707dc28bf3a9c029066bb55ff584662b2cee6b
2021-09-15File properties plugin: Add year.James D. Smith
Change-Id: I160507a67354c775ca9695c7e71303fe16beb6db
2021-09-15File properties plugin: Add composer.James D. Smith
Change-Id: I7123ad21af15483594b9d247b89f7712c3a1a6f0
2021-09-15File properties plugin: Add comment.James D. Smith
Change-Id: If6b7650f858134098c3628f6e144e8c8d2a242ef
2021-09-15File properties plugin: Add genre.James D. Smith
Change-Id: Ib28e542c51f6e037a31e6d14763ce2abaca248b9
2021-09-15File properties plugin: Add album artist.James D. Smith
Change-Id: I150e11ba309953959d374898a63d4250a90651bb
2021-09-05Fiio M3K: Fix Yes/No KeymapDana Conrad
The yes/no keymap does not fall back to the Standard keymapping, so keys other than Back and Power do not cancel, though the prompt says "any other key". Adding fallback to standard context as well as explicit Left, Right, Vol+ and Vol- as they're not present in the standard context. Tested on physical m3k Change-Id: I06409bad8dcde6586e1bf773309ef0ce464cc060
2021-08-31lib/argparse fix redWilliam Wilgus
Change-Id: I7bbac6de6319bf86189f079b7330d650ea95de3c
2021-08-31lib/argparse scale decimals to int for return to userWilliam Wilgus
scales the fractional portion of the parsed number by ARGPARSE_FRAC_DEC_MULTIPLIER Example ARGPARSE_FRAC_DEC_MULTIPLIER = 10 000 meaning .0009 returns 9 , 9 / 10000 = .0009 .009 returns 90 .099 returns 990 .09 returns 900 .9 returns 9000 .9999 returns 9999 Change-Id: I38573dbc1877760b0d52df8686a6647894d76196
2021-08-31iPod: Fix Yes/No KeymapDana Conrad
Add fallback to CONTEXT_STD and add explicit Play button cancel - Play button is not present in standard context, so it won't do anything if unknown actions are ignored. tested on ipod simulator Change-Id: Ic259fa97b6195ebbc66fcfae31265cc7aeefa421
2021-08-29bugfix: redraw yes/no screen after a full skin updateAidan MacDonald
This fixes a bug reported on IRC: 1. Set 'bookmark on stop' to 'ask' 2. Play a track from the file browser 3. Stop playback, yes/no screen briefly flashes then disappears. The screen still handles input correctly but the prompt will not be displayed on the LCD. Long story short, get_action() can cause the skin engine to do a full redraw which cleared the screen and erased the prompt. There is a special event, GUI_EVENT_NEED_UI_UPDATE, which the list code uses to avoid precisely this problem. Hooking up a handler for this event and redrawing the yes/no prompt fixes the bug. Change-Id: If3c26655540c13b488b3a11bd46e1d60d4111469
2021-08-28Remove long-deprecated old style EQ settingsAidan MacDonald
These were deprecated by 1eb17dc9f4 back in 2013 just prior to the 3.13 release. We've had 3.14 and 3.15 since then and I guess nobody will complain if we finally remove them (fingers crossed...) Also fix a line which got missed when converting hardcoded numbers to EQ_NUM_BANDS in that commit. Change-Id: I79dd71f1f2810bf19bc135999868fafc5fee6e04
2021-08-27plugin lib/arg_helper parse 'command line' argsWilliam Wilgus
add a helper function to allow plugins to parse the parameter string passed into plugins support included for bool, char, string and numbers+decimals Change-Id: I39f35c8bd3c21b83097a538c19f46d362c468fa4
2021-08-26quickscreen: fix EQ enable not working in quickscreenAidan MacDonald
The EQ enabled setting needs to call into the DSP core when it's changed but this was only hooked into the EQ menu. The quickscreen uses option_select_next_val() so those DSP hooks were not getting called because the setting did not have any callback defined. It seems this bug was introduced by 362f7a3220 removing the blanket call to settings_apply(). Other settings might be affected too. Change-Id: Idcce5809c525fa619e6bdf1be50c98a5df103fec
2021-08-26Plugin Api add core bitmaps Fix YellowWilliam Wilgus
Change-Id: I4cded8733f8ae4d26b013a944ee5e884ed1363d9
2021-08-26Plugin Api add core bitmapsWilliam Wilgus
share all the core icons with plugins these are all small mono icons like usb plug icon or play, fast forward, rewind icons --include the icon_helper function Change-Id: I385028815a4dd368515f491a9e19dee3d500252d
2021-08-25Shanling Q1: minor update to keymapAidan MacDonald
- Enable repeat for prev/next keys - Provide a way to access the context menu using buttons - Update the manual Change-Id: I53a7474cc64f915851175aea0695229c581fd8a6
2021-08-22touchscreen: fix smooth scrolling in listsAidan MacDonald
This fixes those annoying jumps that happen when you hit the end of a list while scrolling. Change-Id: I2e41111f9415dce1692b52a2600e7ce77c8f0291
2021-08-22touchscreen: handle scrollbar properly when UI viewport is usedAidan MacDonald
Change-Id: I3b55233f4d50f5b8ae38f9f337ebdee6f93ad44e
2021-08-22filetypes: handle missing or empty viewers.configAidan MacDonald
We want to load builtin filetypes and other config files even if there is a problem loading viewers.config. A lot of menus expect the builtin types to be there and don't work if they're missing. Change-Id: Ie39c8b9ef184fe0d638bacbe18e5f2d22900bd81
2021-08-19peakmeter: re-enable on hosted platformsUlrich Hecht
Has been disabled since HW codec support was dropped, but works fine. Tested on Surfans F20. Change-Id: I97f06a009048e8135ca21118467c491e7077fa4f
2021-08-18lib/helper add talk_val()William Wilgus
talk_value_decimal() replaced talk_value() Change-Id: Ibb7c738d6f3b399fab2e771d8ab85967e3af96d1
2021-08-19plugins trade talk_value for talk_value_decimalWilliam Wilgus
talk_value is just talk_value_decimal with 0 decimals lets add the extended function instead static inline int talk_val(long n, int unit, bool enqueue) { #define NODECIMALS 0 return rb->talk_value_decimal(n, unit, NODECIMALS, enqueue); } Change-Id: Iaba3d2f95785f2e1855e294ccf099a977bb6cb20
2021-08-17misc.c strip_extension() cleanupWilliam Wilgus
optimize + add some error checking of inputO Change-Id: I88c476f5fa66847adc0b361df1a0dd4818dbfdc6
2021-08-15Drop HAVE_RTC_RAMAidan MacDonald
Only Archos players ever used this feature and it isn't implemented on any current targets. Change-Id: I39c8455480a3fe33cd25b667e8d4d6ff3a092d3e
2021-08-15icon.c bug fix handle read errorsWilliam Wilgus
read errors are negative buf_sz was a unsignbed int Change-Id: I45ba67e09ce54ff09411248340ba2c9c62c57583
2021-08-14apps/open_plugins cast menu id to (void*)William Wilgus
Change-Id: I14ece34e5ad0ffe00bbb4f7de37b1dadad3b92b4