Liam Murphy
Liam Murphy
Resolves #100 Removes `background_color`, `set_background_color`, and `clear_frame`, and properly handles the filling of the chromatic layer when rendering in black and white. Looking back at #100, I'm not entirely clear...
For some reason, all of the color displays seem to be using their background color as the color to set the chromatic layer to when rendering in black-and-white. This means...
There's a note in `WaveshareDisplay::draw_helper`: https://github.com/caemor/epd-waveshare/blob/f49b6e98f52f4bd5dbde35bea7c18379f8bb4416/src/graphics.rs#L72-L73 `min_const_generics` was stabilised in rust 1.51, so this could probably be resolved if that's an acceptable MSRV; what's it referring to? Is it the...
`TriDisplay` was added in #76, but only `epd2in13bc` was updated to use it. None of the other colored displays use it, except for `epd1in83b` which was added afterwards and used...
The current algorithm within `ToWebAssemblyValue` to convert from JS values to floats looks like this: > If type is [f64](https://webassembly.github.io/spec/core/syntax/types.html#syntax-numtype), > > Let f64 be ? [ToNumber](https://tc39.github.io/ecma262/#sec-tonumber)(v). > > Return...
**Description** - Shims `RTCDataChannel.binaryType: 'blob'` in Chrome (which doesn't support it) - Makes 'blob' the default value for `RTCDataChannel.binaryType` in Chrome and Safari, as the spec states it should be....
I've added `#[inline]` to a bunch of small functions. This about doubled my project's framerate, specifically due to `Vector` math. Also, the crate was failing to compile due to `#[deprecated]`...
Updates JS integer lowering to match the component model explainer (assuming that WebAssembly/component-model#52 is merged). The main differences are that out-of-range numbers now wrap instead of throwing, and that non-integers...
Updates the representation of flags in JS to match the component model explainer. Previously, flags were represented as bitfields in JS. This PR changes them to be represented as objects...
I've cleaned up some idiosyncrasies of how `wit-bindgen` represents types, and also some other things surrounding that. The main thing that I've changed in this PR is to distinguish between...