* Non-empty directory check
* Non-empty directory check
* Display error when attempting to delete non-empty directory
* Clang
Delete white-space that the friggin editor added
* is_empty_directory
* is_empty_directory
* is_empty_directory
* Now need to check if it's a directory first
* C8 conversion
* C8 conversion
* C8 support
* C8 support
* C8 support
* C8 support
* Don't auto-convert GPS C8 files
* C8 support
* C8 support
* C8 support
* Remove hang workaround (different PR)
* Comment change
* Clang
* Clang
* Clang
* Merged change from PR #1287
* C8 support
* C8 support
* Improve bandwidth display
* Merged minor optimization from PR 1289
* Merge change from PR 1289
* Use complex types for C8/C16 conversion
* C8 support
* C8 support
* C8 support
* C8 support
* Roll back changes
* Roll back C8 changes
* C8 support
* C8 support
* C8 support
* C8 support
* C8 support
* Don't transmit samples past EOF
* Don't transmit samples past EOF
* Clang
* Clang attempt
* Clang attempt
* C8 support
* Clang
* FreqmanDB direct file
* Clear UI for short lists
* Final touches on freqlist UI.
* Support vertical alignment in NewButton
* New buttons in FreqMan
* Wiring up UI to filewrapper actions
* Work around empty file
* WIP expensive way
* Add default file handling to fileman
* Remove screenshot_reader and tests
* Read data in chunks
* Format
* Fix error text position
* PR feedback
---------
Co-authored-by: kallanreed <kallanreed@outlook.com>
* WIP file editing
* WIP file editing
* Add "on_pop" handler to navigation.
* WIP Editing
* WIP for draft
* Fix mock and unit tests, support +newline at end.
* Clean up Painter API and use string_view
* Fix optional rvalue functions
* Fix Result 'take' to be more standard
* FileWrapper stack buffer reads
* Grasping at straws
* Nit
* Move set_on_pop impl to cpp
* Workaround "Open" when file not dirty.
---------
Co-authored-by: kallanreed <kallanreed@outlook.com>
* WIP Move file_wrapper and make testable.
* More tests, get text_editor compiling
* Back to working
* Run formatter
---------
Co-authored-by: kallanreed <kallanreed@outlook.com>
* easier 'now', start adding text editor
* Adding scrolling to notepad
* Better scrolling
* Better scrolling, off-by-1 bugs
* MVP fit and finish
* Add tiny font and use in Notepad
* Font tweaking, tiny font cursor
* Fix warning
* Format changed files
* WIP No file limit
* WIP - adding CircularBuffer type
* WIP Caching
* add unit test for circular_buffer
* WIP still have a bug when moving cache forward
* Finish lazy line caching
---------
Co-authored-by: kallanreed <kallanreed@outlook.com>
Lots of re-plumbing to make this work, including a bunch of Unicode stuff now in the binary. Bloat City, I'm sure.
TODO: FatFs using unsigned (uint16_t) for UTF16 representation is kinda inconvenient. Lots of reinterpret_cast<>().
API is somewhat stolen from Rust std::fs::File. Static factories didn't work out so well, though. Move semantics made my head explode.
TODO: Still a lot of places where errors aren't handled, but it's an improvement...