Motiejus Jakštys
8d6e8aa4bd
upgrade to multi-for syntax
2023-02-24 15:18:33 +02:00
Motiejus Jakštys
0ecd6172fc
stage2
2023-02-08 16:13:03 +02:00
Motiejus Jakštys
2cdc2ae6c6
prefix test cases with context
2022-07-12 12:59:50 +03:00
Motiejus Jakštys
c602b7a039
rename lib to src
2022-05-25 09:42:42 +03:00
Motiejus Jakštys
a8b45911aa
weekend changes
...
- move main.zig to it's own package, create lib/
- rename AllSections to DB, remove intermediate tuples
- iovec does not allocate
- remove error{Overflow} from almost everywhere
2022-03-23 12:01:13 +02:00
Motiejus Jakštys
f4012c8694
constructing header
2022-03-18 18:22:35 +01:00
Motiejus Jakštys
4e36d7850e
rewrite shells
...
- Shell is up to 256 bytes long.
- Store up to 255 shells in the Shells area.
- Remove padding from the User struct.
2022-03-17 17:07:33 +01:00
Motiejus Jakštys
8a4bb62613
shr user and group offsets
...
by 3 bits, all of them.
2022-03-15 10:56:50 +02:00
Motiejus Jakštys
3b2f135d5c
refactor ShellReader, so it can be included
2022-03-10 19:20:25 +02:00
Motiejus Jakštys
e17b2c9641
expose native shell sections
2022-03-05 06:08:01 +02:00
Motiejus Jakštys
a4e3e08f5f
packing shell sections
2022-03-03 18:05:46 +02:00
Motiejus Jakštys
e1bdb6c529
more robust bdz for numbers + helpers
2022-03-03 11:32:12 +02:00
Motiejus Jakštys
a526379fd8
cosmetic changes
2022-03-02 06:18:19 +02:00
Motiejus Jakštys
f4c4dc535c
remove redundant comment
2022-02-26 10:46:06 +02:00
Motiejus Jakštys
f2434e3d3c
working on iterator
2022-02-20 13:47:17 +02:00
Motiejus Jakštys
e54c153dd8
style
2022-02-20 09:47:47 +02:00
Motiejus Jakštys
988ab9f6d4
update padded user alignment
2022-02-20 09:10:25 +02:00
Motiejus Jakštys
ae2d3d5443
generalize padding funcs
2022-02-19 21:23:33 +02:00
Motiejus Jakštys
2fc925923f
wip between-user padding
2022-02-19 18:20:50 +02:00
Motiejus Jakštys
ca28332126
add unit tests for padding
2022-02-19 16:04:13 +02:00
Motiejus Jakštys
623060dac3
remove unnecessary cast
2022-02-19 15:50:13 +02:00
Motiejus Jakštys
fd1cab251d
fix shell index offsets
2022-02-19 15:48:51 +02:00
Motiejus Jakštys
13b75e8046
user packing
2022-02-19 11:35:29 +02:00
Motiejus Jakštys
80ec63b6a4
fix casting functions, add some tests
2022-02-18 15:28:04 +02:00
Motiejus Jakštys
44107bac51
adding simple header validation
2022-02-18 07:42:43 +02:00
Motiejus Jakštys
8c8570e6d1
start with Header
2022-02-17 11:55:05 +02:00
Motiejus Jakštys
00cf0e4a66
hashmap: use getOrPut
2022-02-17 11:11:16 +02:00
Motiejus Jakštys
d9c8e69440
make Shell Writer work.
2022-02-17 10:54:39 +02:00