Malachi

Results 89 issues of Malachi

As per https://github.com/catchorg/Catch2/issues/1659 we have some interesting options: * https://github.com/rollbear/trompeloeil * https://github.com/matepek/catch2-with-gmock * https://github.com/sinojelly/catch2-with-mockcpp One gets the impression trompeloeil is the best choice. It appears to have direct Catch2 integration

Occasionally `memset` is more convenient than `fill_n`. Add this in, and alias/wrap if std one exists. On ESP32 devices sometimes byte fills are faster than `fill_n` word fills

enhancement
good first issue

There are edge cases where `esp_timer` component is not available. Feature flagging `esp_clock` will let us still include estd/chrono.h in those circumstances

Works well enough, but code crusty and clumsy. In particular, call stack diagnostic is hellish. For example: ``` assert failed: estd::internal::single_allocator_base::handle_type estd::internal::single_allocator_base::reallocate(handle_type, estd::size_t) [wit Backtrace: 0x40375d35:0x3fca7aa0 0x4037c6cd:0x3fca7ac0 0x40384809:0x3fca7ae0 0x4200b37a:0x3fca7c00 0x4200b38a:0x3fca7c20...

refactor

During gl development it seems that ostringstream has a slightly longer than expected spinup time (sometimes as high as 160us). Not slow per se, just slower than expected. Along with...

enhancement
optimization

Implement https://en.cppreference.com/w/cpp/io/basic_ostringstream/str since we can comfortably return our own detail::basic_string IIRC Somewhat non-trivial in that a generic basic_ostream is applied here

enhancement

Add memcpy with "blessed" #ifdef std wrappers like fill_n etc. have

enhancement
good first issue

https://en.cppreference.com/w/cpp/header/valarray Consider also: * slice * obviously compile-time dimension specifiers * embr-flag #83 style options for aliasing, alignment

enhancement

Add ESP-IDF and RPI Pico targets to build Unity tests Consider using: 1. https://github.com/marketplace/actions/pico-build-action 2. https://github.com/espressif/esp-idf-ci-action Ideally targeting stable and beta ESP-IDF Also last I checked RPI Pico compiled well...

enhancement

It seems that `function_traits` falls down when template parameters are used. In particular, the decltype(&T::operator()) line errors out. Observed when creating `embr::gl` `blend_functor`

enhancement