glyphpoch
624efb6427
Fix saturating overflow in ExtraData parsing
...
- Fix overflow in ExtraData by casting byte_len to usize before
multiplication. This was previously multiplying a u16 with
saturating_mul and would overflow when the extra data in string
tables reaches a certain size.
- Add test case for parsing large string table to verify correct
stream position after read.
2025-06-02 21:35:42 +01:00
2bad24dedd
fmt+clippy
2025-02-19 20:42:56 +01:00
cc83dced64
newer demo for codegen
2024-02-01 00:31:46 +01:00
07039da23d
switch to cargo-insta for snapshot testing
2023-12-21 23:02:41 +01:00
T
5ae18ba0be
Update test data to include ping
2023-07-03 00:21:15 +02:00
T
dd060754c9
Update tests to match new behavior
2023-06-24 00:04:19 +02:00
28de17a67c
strictly distinguish between server and demo ticks
2022-09-17 15:32:18 +02:00
fefda77884
serialize SendPropIndentifier as string to not run into js number rounding
2022-09-03 17:40:54 +02:00
b4af2a133e
minor cleanup
2022-08-26 19:26:24 +02:00
307a6cf953
gamestate improvements
2022-08-25 23:54:46 +02:00
fa449c3017
baseline improvements
2022-04-17 14:22:34 +02:00
2c1dc17e49
update expected data
2022-04-03 15:33:57 +02:00
c6a61751ae
fmt state
2022-04-03 15:29:54 +02:00
7aa795fcae
add list of props
2022-04-03 15:16:08 +02:00
606cac421b
Deserialize class from either str or int
2022-02-09 17:03:05 +01:00
57b207598f
more tests
2021-07-23 21:38:57 +02:00
dfd27b87ad
use correct test message
2021-07-23 18:51:18 +02:00
3055242fd9
fix tempentities for protocol version 23
2021-07-23 17:30:32 +02:00
582285116b
more message reencode tests
2021-07-22 22:28:28 +02:00
00596f946f
adjust tests
2021-07-22 14:58:43 +02:00
07d675a52d
gameeventlist reencode tests
2021-07-22 13:27:20 +02:00
875dc7120c
more string table tests
2021-07-21 18:50:36 +02:00
e53aa10d80
saytext2 improvements
2021-07-20 23:02:00 +02:00
67a4ca5744
rename data folder
2021-07-11 17:49:25 +02:00