Commit Graph

266 Commits

Author SHA1 Message Date
026d848345
refactor saving and save on exit 2024-03-08 13:53:05 +01:00
84f6b56436
dirty frag on message updates (if still open) 2024-03-08 13:53:05 +01:00
6420074899
refactor message fuid -> fid
save alot of memory by using fid instead of fuid
2024-03-08 13:53:05 +01:00
d622b47598
reduce log spam 2024-03-08 13:53:04 +01:00
4ea21354a4
remove old code 2024-03-08 13:53:04 +01:00
ea81ca0299
forgot to throw update on read 2024-03-08 13:53:04 +01:00
9874d35874
dont sync messages we dont know enough about 2024-03-08 13:53:04 +01:00
437a790839
make adjacency loading work, extend range and use loops 2024-03-08 13:53:04 +01:00
fbd8abc8b5
replace old bad prev/next code with way better code 2024-03-08 13:53:04 +01:00
de15fa771f
smaller contact frag fixes 2024-03-08 13:53:03 +01:00
3d59609791
impl new acceleration structure for components, not exploited yet
disable funky load at first msg
2024-03-08 13:53:03 +01:00
99fdf93abd
forgot to check contact 2024-03-08 13:53:03 +01:00
16e6ad646d
rework cursers for cg, keep views between switching. will be refactored later 2024-03-08 13:53:03 +01:00
548f247a22
fix one inverted comparator 2024-03-08 13:53:03 +01:00
fa0875b6d3
stop ignoring mfs interval and sort after 2024-03-08 13:53:03 +01:00
aa1ad5a5df
make inital curser a range 2024-03-08 13:53:02 +01:00
1bd6515c6d
loading logic implemented but broken (very funky and sometimes even out of contact) 2024-03-08 13:53:02 +01:00
62698c4c77
load based on view cursers (untested and not used yet) 2024-03-08 13:53:02 +01:00
d70a684554
msg frag before and after helper 2024-03-08 13:53:02 +01:00
2fd53bf857
fix potential tsrange errors and deduplicate state 2024-03-08 13:53:02 +01:00
63d6ac21f6
make writing safe (by using a tmp file and moving to actual location) 2024-03-08 13:53:01 +01:00
1cefd97311
make empty contacts from ids on message load 2024-03-08 13:53:01 +01:00
394e67f4d7
change binary meta format and add zstd to metadata 2024-03-08 13:53:01 +01:00
99ebfeba43
switch to streaming compressor for data to drastically improve ratio.
would still benefit from a abstract file refactor
2024-03-08 13:53:01 +01:00
38f5894b7f
update fs readme a little 2024-03-08 13:53:01 +01:00
15031f27cc
save msg json zstd compressed (3x compression) 2024-03-08 13:53:01 +01:00
64de4271e2
simplify array cast a little 2024-03-08 13:53:00 +01:00
178d7aad4d
add zstd dep 2024-03-08 13:53:00 +01:00
cc97ac307a
comp refactor and make groups work 2024-03-08 13:53:00 +01:00
f2159a3698
move json around and disable files for now 2024-03-08 13:53:00 +01:00
40bf423673
reverse message write order 2024-03-08 13:53:00 +01:00
6f84f3b6ed
add dup check, would work for ngc if we saved tox group msg id yet 2024-03-08 13:53:00 +01:00
8eccd04e0a
fix dup on write 2024-03-08 13:52:59 +01:00
58ba22e7b1
basically working, but some dup glitch is still there 2024-03-08 13:52:59 +01:00
b02b2a35d9
scan laters 2024-03-08 13:52:59 +01:00
ead194c94a
fragment events + 256bit uuids 2024-03-08 13:52:59 +01:00
424b56767d
refactor message serializer to allow access to eg contacts 2024-03-08 13:52:59 +01:00
a71de39e69
further serializer refactoring 2024-03-08 13:52:59 +01:00
29c4ba8da8
improve deserialization and provide message comp deserl 2024-03-08 13:52:58 +01:00
a91aa6a10c
loading fragments mostly working (not notifying anyone yet) 2024-03-08 13:52:58 +01:00
e121a8cf36
add contact id to meta 2024-03-08 13:52:58 +01:00
9fc26df1b2
more comps 2024-03-08 13:52:58 +01:00
e00e1ea2ef
handle empty type 2024-03-08 13:52:58 +01:00
8e3d0b08cd
dump messages to data (some comps) 2024-03-08 13:52:58 +01:00
906479fe8f
message fragment meta is saved, but still empty data 2024-03-08 13:52:57 +01:00
8629e847ee
start with messages (no fragments get created yet) 2024-03-08 13:52:57 +01:00
230d54dd5d
refactoring, add to mainscreen 2024-03-08 13:52:57 +01:00
f585c078de
random ids 2024-03-08 13:52:57 +01:00
b35d969ee2
working prototpying code 2024-03-08 13:52:57 +01:00
6709dba0e7
remove old test 2024-03-08 12:29:48 +01:00