Commit Graph
778 Commits
Author SHA1 Message Date
jacqueline dadac304dd Add very basic usb msc ui 2024-03-21 11:51:48 +11:00
jacqueline 7305820aa9 Add doc for canPop 2024-03-21 10:52:23 +11:00
jacqueline 684ff50ef4 Add support for screens declaring that they can't be popped
Needed as prep for usb msc support; you really shouldn't leave the MSC
settings screen until you've disabled usb msc.
2024-03-21 10:50:23 +11:00
jacqueline 21ae6a9626 comment out dev unit hack
the nano code bug has received the hack, so now we don't need it
applying by default anymore
2024-03-21 09:15:44 +11:00
jacqueline 654dcb34d6 Support pinning decoded images to RAM 2024-03-20 18:23:33 +11:00
ailurux f29d31d01c Image recolouring for database indicator 2024-03-20 15:30:32 +11:00
ailurux 4293c48836 Fix bad merge 2024-03-20 14:08:11 +11:00
ailurux 51dfb5b3e3 Merge branch 'main' into themes 2024-03-20 13:42:03 +11:00
ailurux 170c23b832 Fairyfloss dark theme palette test 2024-03-20 11:47:58 +11:00
jacqueline a05d93a1e2 Start using the lock switch polarity bit in nvs 2024-03-20 11:43:33 +11:00
jacqueline 46e6743771 version bump, plus prep for lock switch hack 2024-03-20 11:15:33 +11:00
jacqueline 4cd3c187f9 Add exact display size to nvs, since it can vary 2024-03-20 11:08:35 +11:00
cooljqln edd5eecc14 Merge pull request 'fixes for my green-tab adafruit ST7735R' (#57) from NanoCodeBug/tangara-fw:adafruit-display-fix into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/57
2024-03-19 00:32:08 +00:00
Nano c423817334 fixes for my green-tab adafruit ST7735R 2024-03-17 20:16:31 -07:00
ailurux f1599c237c Better styling for settings pages + dropdown menus 2024-03-18 13:11:13 +11:00
jacqueline 1ea25ab9d3 Use a simpler method of determining charge status
idk why the smarter way of doing it doesn't work reliably, but im sick
of it
2024-03-14 14:40:36 +11:00
jacqueline c5c6506ebc Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-03-13 19:47:18 +11:00
jacqueline 2eb3fd53d7 Update the battery status when plugging/unplugging 2024-03-13 17:07:03 +11:00
ailurux 1133d46215 WIP Lua Theming- style classes 2024-03-10 13:20:17 +11:00
jacqueline 686ada3d46 Bring a modified luavgl stub file into our stubs 2024-03-08 14:01:27 +11:00
ailurux 20c2816a7b Remove the White Square 2024-03-07 17:52:39 +11:00
jacqueline 36a19182be Use luals-stubs as the source of truth for docs, instead of maintaining
separate docs stubs

Includes introducing a cool new script to turn lua-language-server's
json output into markdown documentation.
2024-03-07 17:22:06 +11:00
ailurux dc74bc1de9 Add other styles to lua theme 2024-03-07 15:46:42 +11:00
ailurux 312b70f9f6 WIP: Base styles are applied 2024-03-07 14:20:06 +11:00
ailurux a78614a580 WIP: Getting styles from lua 2024-03-07 12:12:32 +11:00
ailurux 490b067b76 Add luavgl_to_style method 2024-03-07 12:11:20 +11:00
jacqueline beb1f65495 Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw 2024-03-07 11:23:31 +11:00
jacqueline eba5adeb8c Show the now playing screen after being locked for a while 2024-03-07 11:16:56 +11:00
jacqueline ef72b25660 use prototype inheritance for lua screens, rather than functions
this gives us a way to give each screen nice little hooks, like
'onShown' and 'onHidden'. later we can use these hooks to disable
bindings for screens that aren't in-use.
2024-03-07 10:59:03 +11:00
jacqueline 1455288190 Restore the previous track position when booting 2024-03-06 13:59:33 +11:00
ailurux 6586819171 WIP Commit- Lua setters for volume, bluetooth todo 2024-03-01 19:08:54 +11:00
jacqueline 53c4ea7805 version bump 2024-02-29 16:30:48 +11:00
jacqueline b2f0e6d3a4 Clear the drain buffer also when seeking 2024-02-29 16:30:17 +11:00
ailurux aa87c13799 Merge pull request 'Add seeking support for all codecs' (#50) from seek-support into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/50
Reviewed-by: ailurux <ailurux@noreply.codeberg.org>
2024-02-29 05:23:33 +00:00
jacqueline 173b09b015 Clear the drain buffer when skipping between tracks 2024-02-29 15:47:21 +11:00
jacqueline e7e6c70fb3 Remove unused 'SeekTo' method on codecs 2024-02-29 12:23:49 +11:00
jacqueline 7d3ddac0ea Merge branch 'main' into seek-support 2024-02-29 12:10:44 +11:00
jacqueline d41f9f7033 Use drflac instead of miniflac
This one is fast as hell! Does seeking really good too. Thank u Doctor
Flac.
2024-02-29 12:08:12 +11:00
jacqueline 77145e56f4 basic working flac and mp3 seeking
flac impl is fairly slow as it doesn't use the seek tables; for some
reason miniflac seems to get *really* upset if you seek the stream.
2024-02-28 21:21:23 +11:00
cooljqln 9fca08f843 Merge pull request 'Add time.ticks to lua bridge' (#48) from lua-ticks into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/48
2024-02-28 00:18:16 +00:00
ailurux 5141c9f0bd Add time.ticks to lua bridge 2024-02-27 17:28:55 +11:00
jacqueline 26fc53b18b fix bad copypaste in docs 2024-02-27 13:25:49 +11:00
ailurux f54347794f WIP: Flac not working-- coming back to this later 2024-02-22 14:37:14 +11:00
jacqueline f9aec8b690 split the lua thread registry into its own files 2024-02-22 14:16:33 +11:00
jacqueline 4b2003c78a Make property bindings shared amongst all lua threads 2024-02-22 12:37:01 +11:00
jacqueline 2a25085503 version bump 2024-02-21 14:17:25 +11:00
jacqueline 28651fa7e1 Wait for the sink buffer to drain before stopping playback 2024-02-21 14:13:19 +11:00
jacqueline 29a246a733 Make the drain buffer very large, and move it into PSRAM
the i2s handler and streambuffer metadata are both still in iram for
good performance. otherwise, this seems to be enough to make gapless
playback work.
2024-02-21 14:12:23 +11:00
jacqueline 79be8a8e6e Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-02-20 11:56:24 +11:00
jacqueline 403bd4672c Update to latest libtags
Mostly for wav fixes
2024-02-20 09:29:58 +11:00