Commit Graph
1114 Commits
Author SHA1 Message Date
jacqueline b3b512f10e Don't start readahead until parsing the stream's header is finished
...but also disable readahead for now anyway, since it's unstable
2023-11-20 11:04:20 +11:00
jacqueline d36f314a57 ignore generated lua docs 2023-11-15 20:35:36 +11:00
jacqueline fa57d8ed34 fix incorrect docstring 2023-11-15 20:35:02 +11:00
jacqueline 51d1cee3d7 Set up ldoc and lua-language-server, write some module stubs 2023-11-15 10:22:01 +11:00
jacqueline 0cae95a71e lua statusbar styling tweaks 2023-11-14 14:25:42 +11:00
jacqueline 71ed09a6f7 Add two-way databinding for lua, and flesh out the lua statusbar 2023-11-14 13:20:04 +11:00
jacqueline 8a0a167adb Convert the main menu screen to lua lol 2023-11-12 19:14:09 +11:00
jacqueline 8471046a95 one weird trick to reduce boot time 2023-11-10 14:18:05 +11:00
jacqueline 270bce7212 Fix display off on boot with new lock switch direction 2023-11-10 14:17:32 +11:00
jacqueline 0419def89b Change lock switch direction to match r7 standby 2023-11-10 08:19:27 +11:00
ailurux d42de6b122 Fixed extra null bytes at the end of collations 2023-11-09 16:31:20 +11:00
jacqueline c1db38ba42 Increase the size of the system fsm QueueSet
I added the samd to it but forgot to increase the set size.
2023-11-08 16:59:02 +11:00
jacqueline 0e661409b1 Fix missing licenses
Includes removing unused shared_string

This helps with #6, but there's still more work to do
2023-11-07 16:58:08 +11:00
Robin Howard 91d16b3ff5 haptics: don't wait when initialising the driver. 2023-11-07 16:31:55 +11:00
Robin Howard 067132d097 adds scrollbar fixup comment. 2023-11-07 16:31:55 +11:00
Robin Howard 606e4d89ec haptics: adds a "haptic_effect" console command
... which can take multiple optional arguments for ranges of effects
and/or a motor library.
2023-11-07 16:31:55 +11:00
Robin Howard 7318f53fd8 haptics: buzz on boot, and when changing focus of items. 2023-11-07 16:31:55 +11:00
Robin Howard 135185f12b haptics: adds a wrapper for the DRV2605L haptic motor driver
... with facilities to trigger effects via the system fsm.
2023-11-07 16:31:55 +11:00
jacqueline 3abf599c4f Improve memory usage of mad codec
- fix leaks
 - ensure the synth data is always in internal ram
2023-11-07 15:57:56 +11:00
jacqueline b463ceaef4 use std::list instead of std::deque for events
std::deque loves to allocate 512 bytes in internal memory just for fun
2023-11-07 14:53:47 +11:00
jacqueline 2b19e57034 Ensure the GPIO ISR is in IRAM
The shared interrupt is flagged as IRAM-capable, so this handler should
be too.
2023-11-07 14:46:32 +11:00
jacqueline 19f0675b44 Make readahead a bit more robust for codecs with different io speeds 2023-11-07 13:38:18 +11:00
jacqueline 9dc8f5646c Make foxenflac a little less memory hungry
We should really just use the xiph library :/
2023-11-07 13:37:58 +11:00
jacqueline 9b52fad86e Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2023-11-07 10:40:18 +11:00
jacqueline 75a8f836d5 Wait for background readahead to finish before deleting its buffer 2023-11-07 10:39:43 +11:00
jacqueline 1f031f565a Rename the db background task to be more generic 2023-11-07 10:37:12 +11:00
jacqueline 499d5a942f Add a wrapper codec source that does readahead 2023-11-07 10:32:07 +11:00
cooljqln e2022fb0fc Merge pull request 'Bump to latest 5.1 changes since 5.1.1 release.' (#11) from rh/bump-esp-idf into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/11
2023-11-06 21:33:10 +00:00
jacqueline d36fe9be6b Use atomics for new file notification instead of a semaphore 2023-11-07 08:30:26 +11:00
Robin Howard 4ec1cccf4d Bump to latest 5.1 changes since 5.1.1 release. 2023-11-06 17:22:47 +11:00
jacqueline 05ce360c99 Flag off a few unused features 2023-11-06 17:11:52 +11:00
jacqueline f9f8e141c2 Fix weird strncpy usage 2023-11-06 17:11:42 +11:00
jacqueline 8309e67a86 Read in larger chunks from SD at a time
This helps a little with the stuttering. Some kind of readahead is
probably the ideal tho.
2023-11-06 17:10:52 +11:00
jacqueline c6f2b52331 Improve bt scanning responsiveness 2023-11-06 08:19:28 +11:00
jacqueline 2dd72320dd Don't try to treat whe whole LC_COLLATE as one big string
it would be a bad idea
2023-10-31 14:54:30 +11:00
jacqueline 2ef022a2f9 Remove loading spinner for 'Coming up'
it's really slow!
2023-10-31 14:28:41 +11:00
jacqueline 81855a78f4 Revert "Improve representation of track numbers in indexes"
This reverts commit a3da259a37.
2023-10-31 10:33:42 +11:00
jacqueline a3da259a37 Improve representation of track numbers in indexes 2023-10-31 09:45:29 +11:00
jacqueline 4cc5fa4c9c Store the current collator in the database 2023-10-31 09:01:34 +11:00
jacqueline b58c081508 add locale-aware colation to db indexes 2023-10-30 15:52:26 +11:00
Robin Howard 18d90051c9 Annotates the kTag with maybe_unused; they're only used for logging. 2023-10-28 13:25:50 +11:00
jacqueline 6ef0fa2b1b improve on clangd setup instructions 2023-10-28 09:23:12 +11:00
jacqueline 4e0aaa825b Free up some IRAM 2023-10-26 16:56:22 +11:00
Robin Howard 2e4a3a0c20 Updates "Contributing" with a come-back-later-please notice. 2023-10-26 14:41:57 +11:00
jacqueline 97d63c5553 Add a target that yells at you if your sdkconfig is out of date 2023-10-26 12:50:02 +11:00
jacqueline 2086ab09b8 Implement incremental updates of database indexes
This makes rescanning the library *so* much faster. Yay!
2023-10-24 16:29:46 +11:00
jacqueline 4f8c127da9 Use an mutable struct + const instead of an immutable class 2023-10-24 12:50:03 +11:00
jacqueline 5b5b792467 Skip old tracks when scanning the sd card 2023-10-24 11:50:06 +11:00
jacqueline ddf0128496 Do not deafen people 2023-10-21 10:48:32 +11:00
jacqueline a8b866aafe Don't crash if the current track source encounters a record with no id
This *shouldn't* normally happen, but it's not worth crashing over.
2023-10-20 12:44:52 +11:00