Commit Graph

25 Commits

Author SHA1 Message Date
c602b7a039 rename lib to src 2022-05-25 09:42:42 +03:00
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
f4012c8694 constructing header 2022-03-18 18:22:35 +01:00
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
8a4bb62613 shr user and group offsets
by 3 bits, all of them.
2022-03-15 10:56:50 +02:00
3b2f135d5c refactor ShellReader, so it can be included 2022-03-10 19:20:25 +02:00
e17b2c9641 expose native shell sections 2022-03-05 06:08:01 +02:00
a4e3e08f5f packing shell sections 2022-03-03 18:05:46 +02:00
e1bdb6c529 more robust bdz for numbers + helpers 2022-03-03 11:32:12 +02:00
a526379fd8 cosmetic changes 2022-03-02 06:18:19 +02:00
f4c4dc535c remove redundant comment 2022-02-26 10:46:06 +02:00
f2434e3d3c working on iterator 2022-02-20 13:47:17 +02:00
e54c153dd8 style 2022-02-20 09:47:47 +02:00
988ab9f6d4 update padded user alignment 2022-02-20 09:10:25 +02:00
ae2d3d5443 generalize padding funcs 2022-02-19 21:23:33 +02:00
2fc925923f wip between-user padding 2022-02-19 18:20:50 +02:00
ca28332126 add unit tests for padding 2022-02-19 16:04:13 +02:00
623060dac3 remove unnecessary cast 2022-02-19 15:50:13 +02:00
fd1cab251d fix shell index offsets 2022-02-19 15:48:51 +02:00
13b75e8046 user packing 2022-02-19 11:35:29 +02:00
80ec63b6a4 fix casting functions, add some tests 2022-02-18 15:28:04 +02:00
44107bac51 adding simple header validation 2022-02-18 07:42:43 +02:00
8c8570e6d1 start with Header 2022-02-17 11:55:05 +02:00
00cf0e4a66 hashmap: use getOrPut 2022-02-17 11:11:16 +02:00
d9c8e69440 make Shell Writer work. 2022-02-17 10:54:39 +02:00