summaryrefslogtreecommitdiff
path: root/apps
AgeCommit message (Collapse)Author
2020-10-26statusbar: Respect 'numdecimals' when displaying the volume settingSolomon Peachy
eg with numdecimals=1, a value of "-300" actually means "-30.0" So divide it down appropriately, and only display the whole integer portion. Change-Id: I62927d2e64b224f3c11640b9bb9e84d60dbde34b
2020-10-26iriver_flash: correctly calculate when to stop erasing the bootloaderJames Buren
It was originally hard-coded at 0x200 which is 512 sectors. This only works for the H100 and H120. The larger ROM of the H300 is 1024 sectors in size. In either case the bootloader starts 16 sectors before the end of the ROM so rely on this fact to correctly calculate where to stop the bootloader erasure. Change-Id: Iec4112ebf24379f80a7bf1363035e005c434907e
2020-10-26h300: enable support for iriver_flashJames Buren
This also modifies the configuration file to include macros defined in the H100 / H120 implementation. Change-Id: Iae845889c98661ec548c04fc57e733dcc346c0f1
2020-10-26h300: expose the firmware functions in the plugin APIJames Buren
Change-Id: Ieff0aa0a4134e347b2ee690d60b25fdac5958a6b
2020-10-25iriver_flash: add support for SST39VF3201 ROM chipsJames Buren
These are used in the iRiver H300 series. Change-Id: Iafbd165bdfd71b691698156d3fd91243c50b3b61
2020-10-23fire: exit out of the plugin with both PLA_EXIT and PLA_CANCELSolomon Peachy
Change-Id: I553fc5d02b7ee7004d791ba40cbd655f98c88f19
2020-10-23Hosted targets Fix timer cycle calculation overflowWilliam Wilgus
at 1 GHZ the intermediate calculation for cycles overflows 32 bits this makes timer fail even with sensible values solution divide both sides by 100 Change-Id: I18a4054c2d06fb72531d5496bba562f71b03984f
2020-10-23Convert FFT plugin to using PLA keymapingsSolomon Peachy
Based on an old patch (g#188) by Jean-Louis Biasini Change-Id: I698b8990b7cd57a28353e86cfc35788aa42455d2
2020-10-19nwza860: fix simulator buildAmaury Pouly
Change-Id: Ie05e91241398e45890f98ced9c0116a98475437e
2020-10-13Silence warnings that happen on newer GCCsSolomon Peachy
(code is presumably correct) Change-Id: I3ee11b6a10dc87eb6f6178d6182397f0c7f686d5
2020-10-13fix more yellowSolomon Peachy
Change-Id: I74bad58707d05ea167169d4315c05eb0cd1c8b7b
2020-10-13Fix more warnings.Solomon Peachy
Change-Id: Ib3a9fc622a46b1fc72e94dcbc6d29d2e430cd81b
2020-10-13Fix compile warnings (set-but-not-used) on big endian targetsSolomon Peachy
Change-Id: Ia433122d6c0af68a47d2f4a531a0787a9d3d9f72
2020-10-12quickscreen: Get rid of a vestigal remnant of the Archos code.Solomon Peachy
Change-Id: I1dd7e82edfdbcc3a79aa5deaa604ac1623aa16d4
2020-10-12Add support for new bootloaders for iRiver h1x0 seriesJames Buren
This resolves a long-standing issue with ATA errors in certain situations, mostly in CF card modified units. Change-Id: Iec23fa6de117a6c9657320432ed585170e95a4eb
2020-10-11hosted: sanitize handling of HOME_DIRSolomon Peachy
* HOME_DIR is now either "/" or special "<HOME>" * target-specific "home dir path" is defined solely by PIVOT_ROOT * PIVOT_ROOT path is now defined in toplevel config files * Make Samsung YP-R0/R1 and SONY_NWZ use PIVOT_ROOT too * Do not prepend PIVOT_ROOT path if the path already has it! * Do not play these games for __PCTOOL__ builds Change-Id: I3d51ad902a5f9cafe45ba15ba654f30f1ec6113a
2020-10-11Fix red introduced from keymap typosSolomon Peachy
Change-Id: Ia2094eab6fe48b8fa1b313c7548e5e02d630327f
2020-10-11New port: AIGO EROS Q / EROS KSolomon Peachy
The Q and K have a slightly different case, but the hardware under the shell is completely identical. These models are rebadged versions: * Hifiwalker H2 (== Q) * AGPTek H3 (== K) * Surfans F20 (== K) Other notes: * Significant improvements in the shared Hiby-platform launcher/loader * SD card can theoretically be hot-swapped now * Support external USB mass storage! * Some consolidation of Hiby-platform targets * Some consolidation of plugin keymaps Todo/known issues: * Keymaps need to be gone over properly * Convert to HAVE_SCROLLWHEEL? Change-Id: I5a8a4f22c38a5b69392ca7c0a8ad8c4e07d9523c
2020-10-11hosted: Add ROLO support for hosted targetsSolomon Peachy
Change-Id: I2d46a63ee8225a9d9d77dd80a06c418af78c260c
2020-10-09puzzles: improve frontend documentationFranklin Wei
What it says on the tin. Change-Id: Idf8f520e0c8c1fab98d292f4ad94e5231578f9ce
2020-10-09Fix the FILTER_ROLL_OFF build; got a test inverted.Solomon Peachy
Change-Id: I8d4ade8b59022f5e8275bec96d98f806e7e09c37
2020-10-09New port: FiiO M3KSolomon Peachy
Most credit goes to: Roman Skylarov Additional integration and refactoring by myself. *** COMPLETELY UNTESTED *** Change-Id: Ia64c36d92e0214c6b15f7a868df286f8113ea27b
2020-10-09codecs: Add support for the 'VTX' ZX Spectrum chiptunes format.Solomon Peachy
This codec requires floating point. Original author: Peter Sovietov Ported to Rockbox: Roman Skylarov Further integration and bugfixes: Solomon Peachy Change-Id: I781ecd3592dfcdbbc694063334350342534f1d6c
2020-10-09plugins: Enable overlay features for all targetsSolomon Peachy
Change-Id: I8dfbdf903c1fb82541382709a50e411f1bcdaa5d
2020-10-09Fix red, hopefully.Solomon Peachy
Change-Id: I4ee6b9793260ac7dec9d72f27bfe242cd4adbf38
2020-10-09Clean up some of the plugin SOURCESSolomon Peachy
Change-Id: Ib68a275c85550acb52306c7af1c3b9ab683362f0
2020-10-08Undo the hacks that allowed targets without LEFT/RIGHT (UP/DN) to build.Solomon Peachy
Replaced them with warnings until they are fixed *PROPERLY* Change-Id: I4425200e60f8b5224262a54f105b974cec471d22
2020-10-08get rid of ACTION_F3 (leftover from Archos days)Solomon Peachy
Change-Id: I8f602299bbc8caf6c8189361dbd41af31f19c1b3
2020-10-06Fix DEBUG buildsMoshe Piekarski
Change-Id: Ie3b4caebf448444b7400541e44d11d40961781cb
2020-10-05FS13241: Get rid of the hacky hold switch emulation on the X3ii & X20Solomon Peachy
It doesn't work properly and interferes with the power button in the keymap. Rework WPS keymap a bit to make single-tap power emulate lock. Change-Id: I9d9b9b4adcea3764e6e427f484e051c9bab9d13b
2020-10-05agptekrocker: Rework WPS keymap a bit; replace direct pitchscreen access ↵Solomon Peachy
with browse Change-Id: If5cb1e1fae6ed74397cd7f56cd54c14224a4bab0
2020-10-05lua add better memory statsWilliam Wilgus
lua gives you a memory used number that only reflects the current allocations if fact it doesn't even give you a way to get the amount of ram free rb.mem_stats() seeks to fill this gap by marking the memory allocated for lua with a sentinel value which can later be checked to get a high water mark of the ram used by lua and a pretty good idea of how much ram is available Also includes an example script usage: used, allocd, free = rb.mem_stats() Change-Id: Ia282869f989848324d7d88c7df4827fdbce4fb4e
2020-10-04lua misc tweaks and cleanupWilliam Wilgus
checks button_status in rockev strpbrk_n custom implementation allows setting max search len in source string add some branch prediction where appropriate fix formatting in splash_scroller script Change-Id: Id5d8e9d83f4b3e361ccb67b403af8f9a8a31b8f0
2020-10-03lua Add scrollable stack traceback WIPWilliam Wilgus
lua currently splashes a stack traceback on error for deep tracebacks and especially on devices with smaller screens this leaves out a lot of vital information in the past I have resorted to splitting the traceback string or even saving the return to a file This patch provides a scrollable buffer with rudimentary text reflow to allow you to read the whole traceback string Upon traceback if you press nothing the screen will display for 5 seconds If you press OK or CANCEL it will quit immediately PREV/NEXT scrolls the list on button press timeout is disabled lua now provides rb.splash_scroller(timeout, str) example script provided too Change-Id: Idbc8ce0c514196f0fae48c43aeaea8b60d6da1a5
2020-10-01Fix warnings and errors introduced in b030bf5Solomon Peachy
Change-Id: I23966b6a79c0d2cbab2e01c649c1b991f460d8ad
2020-10-01xduoox3ii/x20: Proper lineout detection and volume mangling.Solomon Peachy
hotplugging hp and lineout works, without blowing out eardrums. Change-Id: I2df5c7a618bb2d1d77d416548d45dff9cfc619db
2020-10-01fix some of the red introduced in e43726dSolomon Peachy
Change-Id: Id1abb0dd11f8a8e79a80fc54e58a5a22706a03ad
2020-10-01hosted pcm-alsa improvementsSolomon Peachy
* xduoo x3ii/x20: Better line out support * less granular volume settings (too many steps before) * Better handling of swiching sample rates * Log actual sample rate in debug menu Most credit goes to Roman Stolyarov Additional integration [re]work by myself Change-Id: I63af3740678cf2ed3170f61534e1029c81826bb6
2020-10-01scrobbler: Fix logfile location on most hosted targets.Solomon Peachy
Change-Id: Ie07fdbd8e99b5c492b87bb5c6a7f916e28143943
2020-09-30Add 192 and 176KHz to mikmod and test_sampr pluginsSolomon Peachy
Change-Id: I34e835ae0ae39da1ce50153eee86c14747705c4e
2020-09-30audio: Add support for 192 and 176KHz playbackSolomon Peachy
* SAMPR_CAPS_ALL -> SAMPR_CAPS_ALL_48/96/192 * All targets claiming SAMPR_CAPS_ALL now get appropriate subset * No need to explicitly define HAVE_PLAY_FREQ * Rates that are a multiple of 44 or 48KHz can be used for playback Inspired by a patch by Roman Stolyarov, but substantially rewritten by myself. Change-Id: Iaca7363521b1cb9921e047ba1004d3cbe9c9c23e
2020-10-01lua: fix ipod builds broken by 127862cSolomon Peachy
Change-Id: Ibef7de6b4e87568206ede66c399093b66b827b69
2020-09-30lua: Include $TARGET when preprocessing the headers for the button helperSolomon Peachy
Change-Id: I3ab98b52991949adb1db2f13ea99ed24d827e575
2020-09-30xduoox3: Fix an error in a commentSolomon Peachy
Change-Id: Ic4994a7215d95f24c5d599cad762b2d0b6a03921
2020-09-30lua rockevents reduce context switching for action and buttonsWilliam Wilgus
check if any buttons are waiting in the queue before triggering the event thread for action & button events makes button events quicker and also spend less time interrupting lua both wins Change-Id: I38346c084afdd99e4608f40b52053ee39730fb40
2020-09-28xduoo: x3ii and x20 have filter_roll_off supportSolomon Peachy
Change-Id: I4891c7c9197f7aecd82b20d1e1c106d80ddba732
2020-09-27lua playback exampleWilliam Wilgus
cool little lua based audio player creates dynamic playlist of 10 mp3s found on device if no music loaded I had to limit the depth of search to 3 levels due to the recursive nature of the current dirbrowser functions this could be rectified with a bit more code fixed a bug in print.lua that kept scrolling text even after screen clear Change-Id: Ifd285332df41a409ecaeb1ea447ad15537b5d04c
2020-09-25lua -- add sort by name, size, date to filebrowse includeWilliam Wilgus
I had previously added the fuctionality to luadir but I didn't update the examples also breaks out the file_browser function to be a bit more accessible Change-Id: I14067256b9d76a757f732840cbee1cf84d775b1b
2020-09-20InvalidVoice prompt Fix red for devices w/o physical hold buttonsWilliam Wilgus
left in there from debugging Change-Id: I6b9b7cb92848d2a7a72f6b1d688e61dc81c7c27b
2020-09-20Add Invalid Voice Announcement to the voice system FS#13216William Wilgus
When a voice file is invalid or fails to load the voice system splash a message 'Invalid Voice' Now we supply a single voice file (currently only english is used) the support for other languages is in but I haven't set it up to look for anything but InvalidVoice_english.talk Also adds a one time kill voice thread function ie. it doesn't allow re-init after killing the voice thread & queue Change-Id: I7b43f340c3cc65c65110190f0e0075b31218a7ac