Commit Graph

274 Commits

Author SHA1 Message Date
eaac9eb09c
refactor saving and save on exit 2024-03-11 20:49:31 +01:00
70b4ccb053
dirty frag on message updates (if still open) 2024-03-11 20:49:31 +01:00
f6f163314f
refactor message fuid -> fid
save alot of memory by using fid instead of fuid
2024-03-11 20:49:31 +01:00
f99e211800
reduce log spam 2024-03-11 20:49:31 +01:00
7fcbb7a619
remove old code 2024-03-11 20:49:31 +01:00
2ccb74a138
forgot to throw update on read 2024-03-11 20:49:31 +01:00
7291d1f3c5
dont sync messages we dont know enough about 2024-03-11 20:49:30 +01:00
7df3545680
make adjacency loading work, extend range and use loops 2024-03-11 20:49:30 +01:00
a7e896d471
replace old bad prev/next code with way better code 2024-03-11 20:49:30 +01:00
3a0bac0375
smaller contact frag fixes 2024-03-11 20:49:30 +01:00
8ecc05bffc
impl new acceleration structure for components, not exploited yet
disable funky load at first msg
2024-03-11 20:49:30 +01:00
d3417eb65b
forgot to check contact 2024-03-11 20:49:30 +01:00
b750fe778f
rework cursers for cg, keep views between switching. will be refactored later 2024-03-11 20:49:29 +01:00
7747ceb8e3
fix one inverted comparator 2024-03-11 20:49:29 +01:00
31ef7c4261
stop ignoring mfs interval and sort after 2024-03-11 20:49:29 +01:00
67ede8efad
make inital curser a range 2024-03-11 20:49:29 +01:00
249f481ef3
loading logic implemented but broken (very funky and sometimes even out of contact) 2024-03-11 20:49:29 +01:00
769be68c5e
load based on view cursers (untested and not used yet) 2024-03-11 20:49:28 +01:00
d0a5603fbc
msg frag before and after helper 2024-03-11 20:49:28 +01:00
ce7e81bead
fix potential tsrange errors and deduplicate state 2024-03-11 20:49:28 +01:00
b83df5060c
make writing safe (by using a tmp file and moving to actual location) 2024-03-11 20:49:28 +01:00
bd3d74d8b2
make empty contacts from ids on message load 2024-03-11 20:49:28 +01:00
9f130f8344
change binary meta format and add zstd to metadata 2024-03-11 20:49:28 +01:00
f9b8af9187
switch to streaming compressor for data to drastically improve ratio.
would still benefit from a abstract file refactor
2024-03-11 20:49:27 +01:00
199d31459e
update fs readme a little 2024-03-11 20:49:27 +01:00
0829d22387
save msg json zstd compressed (3x compression) 2024-03-11 20:49:27 +01:00
a4622381d2
simplify array cast a little 2024-03-11 20:49:27 +01:00
b6cda3f849
add zstd dep 2024-03-11 20:49:27 +01:00
59d4caf5b7
comp refactor and make groups work 2024-03-11 20:49:27 +01:00
4c7cf65a38
move json around and disable files for now 2024-03-11 20:49:26 +01:00
24bf1096aa
reverse message write order 2024-03-11 20:49:26 +01:00
cab859d9e3
add dup check, would work for ngc if we saved tox group msg id yet 2024-03-11 20:49:26 +01:00
fc7a8eb556
fix dup on write 2024-03-11 20:49:26 +01:00
3b470e383c
basically working, but some dup glitch is still there 2024-03-11 20:49:26 +01:00
0d691de2c0
scan laters 2024-03-11 20:49:26 +01:00
528c005f0a
fragment events + 256bit uuids 2024-03-11 20:49:25 +01:00
cdd6a0e2e6
refactor message serializer to allow access to eg contacts 2024-03-11 20:49:25 +01:00
3212c9a2d1
further serializer refactoring 2024-03-11 20:49:25 +01:00
238d89a9b6
improve deserialization and provide message comp deserl 2024-03-11 20:49:25 +01:00
251d854f70
loading fragments mostly working (not notifying anyone yet) 2024-03-11 20:49:25 +01:00
7f4f27caca
add contact id to meta 2024-03-11 20:49:24 +01:00
d16970dff1
more comps 2024-03-11 20:49:24 +01:00
754d91afff
handle empty type 2024-03-11 20:49:24 +01:00
0e0c742ec3
dump messages to data (some comps) 2024-03-11 20:49:24 +01:00
1f91aa8487
message fragment meta is saved, but still empty data 2024-03-11 20:49:24 +01:00
d334efd8ef
start with messages (no fragments get created yet) 2024-03-11 20:49:24 +01:00
6439d82852
refactoring, add to mainscreen 2024-03-11 20:49:23 +01:00
ead7aadad6
random ids 2024-03-11 20:49:23 +01:00
300386ca53
working prototpying code 2024-03-11 20:49:23 +01:00
dc081ae2aa
fix webp mem leak 2024-03-11 20:46:28 +01:00