00:06 Geth joined 00:08 Geth joined 00:10 Geth joined 00:42 ZofBot joined, buggable joined 01:00 lizmat joined
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
01:57 lizmat joined 02:58 ilbot3 joined, Kaiepi joined
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.
07:49 domidumont joined 07:55 domidumont joined 09:11 zakharyas joined 09:13 zakharyas joined 09:35 Kaiepi joined 10:52 AlexDaniel joined 10:56 zakharyas joined 10:58 zakharyas joined 11:04 zakharyas joined 11:09 zakharyas joined 11:40 AlexDaniel joined 12:07 AlexDaniel joined 12:33 AlexDaniel joined 12:51 AlexDaniel joined 12:57 brrt joined 13:25 AlexDaniel joined 13:45 zakharyas joined 14:03 zakharyas joined 14:17 zakharyas joined 14:46 Kaiepi joined 14:59 zakharyas joined 15:08 evalable6 joined 15:24 hoelzro joined 16:47 AlexDaniel joined 16:51 zakharyas joined 17:00 squashable6 joined 17:24 Kaiepi joined 17:27 brrt joined 18:35 evalable6 joined 20:03 zakharyas joined 20:08 zakharyas joined 20:26 mtj_ joined 20:53 zakharyas joined 21:25 Kaiepi joined 21:50 committable6 joined 21:59 colomon joined 23:57 MasterDuke joined
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