Geth MoarVM: 823cd43ddd | (Samantha McVey)++ | 6 files
Add windows-1251 (Cyrillic) decode/encode. Fix bug in windows-1252

We now have support for windows-1251 decoding and encoding.
This also fixes a bug with windows-1252 (Latin) which would cause certain codepoints not to convert properly, for example the ™ mark and likely at least one other.
01:41
MoarVM: 3bae45b0e9 | (Samantha McVey)++ (committed using GitHub Web editor) | 6 files
Merge pull request #793 from samcv/windows-1251

Add windows-1251 (Cyrillic) decode/encode. Fix bug in windows-1252
samcv fun! i got to use function passing for the first time. will i tried it before but not yet on any serious projects 05:45
so i can combine the decoding functions for win-1251 and 1252 05:46
reduces the code size by 4KB 05:48
Geth MoarVM/sha1bin: 8d11da4a70 | (Stefan Seifert)++ | 8 files
sha1bin op for hashing binary buffers
06:03
MoarVM: b389521045 | (Samantha McVey)++ | 2 files
Refactor so code is not duped between windows-1251 & 1252

We pass the codetable and/or the cp_to_char() function for the respective encoding into a more general purpose function. May eventually be able to work the other 1-byte encodings into code similar to this.
07:33
MoarVM: 8a3bcd9a4d | (Samantha McVey)++ | 2 files
Throw on invalid windows-1251/1252 during encode and decode

Previously we could create and read invalid windows-1251 and windows-1252. Now we throw both on encode or on decode if encountering a codepoint with no mapping.
Geth MoarVM: 6da2afe5aa | (Samantha McVey)++ | src/strings/windows1252.c
Default to not throw on windows-1251/2 decode/encode errors

This is currently configurable with a #define. This reverts the changed functionality of the previous commit back to the old functionality.
Later we will make this configurable at runtime.
23:58