Commit Graph

271 Commits

Author SHA1 Message Date
2bbaa80c22
forgot to throw update on read 2024-03-12 18:10:22 +01:00
22079bf37b
dont sync messages we dont know enough about 2024-03-12 18:10:22 +01:00
c43428367b
make adjacency loading work, extend range and use loops 2024-03-12 18:10:22 +01:00
13a46a45e0
replace old bad prev/next code with way better code 2024-03-12 18:10:22 +01:00
5c7d017946
smaller contact frag fixes 2024-03-12 18:10:22 +01:00
5b9876ffa5
impl new acceleration structure for components, not exploited yet
disable funky load at first msg
2024-03-12 18:10:22 +01:00
57c387ace0
forgot to check contact 2024-03-12 18:10:21 +01:00
37580b630b
rework cursers for cg, keep views between switching. will be refactored later 2024-03-12 18:10:21 +01:00
bca6d9c07a
fix one inverted comparator 2024-03-12 18:10:21 +01:00
c3169ddfe7
stop ignoring mfs interval and sort after 2024-03-12 18:10:21 +01:00
02687a37d5
make inital curser a range 2024-03-12 18:10:21 +01:00
b3c749ecac
loading logic implemented but broken (very funky and sometimes even out of contact) 2024-03-12 18:10:21 +01:00
a79db21434
load based on view cursers (untested and not used yet) 2024-03-12 18:10:20 +01:00
e864ccba5d
msg frag before and after helper 2024-03-12 18:10:20 +01:00
30eccb9bd9
fix potential tsrange errors and deduplicate state 2024-03-12 18:10:20 +01:00
708019fc51
make writing safe (by using a tmp file and moving to actual location) 2024-03-12 18:10:20 +01:00
d3e12bb6c1
make empty contacts from ids on message load 2024-03-12 18:10:20 +01:00
7dd4893a54
change binary meta format and add zstd to metadata 2024-03-12 18:10:20 +01:00
b64d0891d4
switch to streaming compressor for data to drastically improve ratio.
would still benefit from a abstract file refactor
2024-03-12 18:10:19 +01:00
cd9407955e
update fs readme a little 2024-03-12 18:10:19 +01:00
5fa24f8426
save msg json zstd compressed (3x compression) 2024-03-12 18:10:19 +01:00
6ce985b4a6
simplify array cast a little 2024-03-12 18:10:19 +01:00
2038e86f14
add zstd dep 2024-03-12 18:10:19 +01:00
e2f61fd446
comp refactor and make groups work 2024-03-12 18:10:19 +01:00
0f0a184bd4
move json around and disable files for now 2024-03-12 18:10:18 +01:00
6e110da68e
reverse message write order 2024-03-12 18:10:18 +01:00
e894de5cf4
add dup check, would work for ngc if we saved tox group msg id yet 2024-03-12 18:10:18 +01:00
9bdfa2af30
fix dup on write 2024-03-12 18:10:18 +01:00
dc16c6e3e2
basically working, but some dup glitch is still there 2024-03-12 18:10:18 +01:00
ae3fd5b782
scan laters 2024-03-12 18:10:18 +01:00
28b7b4e564
fragment events + 256bit uuids 2024-03-12 18:10:17 +01:00
6af60f9328
refactor message serializer to allow access to eg contacts 2024-03-12 18:10:17 +01:00
3258731bb1
further serializer refactoring 2024-03-12 18:10:17 +01:00
cc2a5f10ca
improve deserialization and provide message comp deserl 2024-03-12 18:10:17 +01:00
265849064a
loading fragments mostly working (not notifying anyone yet) 2024-03-12 18:10:17 +01:00
6573b221ce
add contact id to meta 2024-03-12 18:10:16 +01:00
e3ba66f712
more comps 2024-03-12 18:10:16 +01:00
9c04ce0e02
handle empty type 2024-03-12 18:10:16 +01:00
d08fe13813
dump messages to data (some comps) 2024-03-12 18:10:16 +01:00
36ba052e79
message fragment meta is saved, but still empty data 2024-03-12 18:10:16 +01:00
f2c4096f25
start with messages (no fragments get created yet) 2024-03-12 18:10:16 +01:00
b167263697
refactoring, add to mainscreen 2024-03-12 18:10:15 +01:00
095ef76958
random ids 2024-03-12 18:10:15 +01:00
aa678c1985
working prototpying code 2024-03-12 18:10:15 +01:00
719400068a
cache the localtime result in the message
localtime uses global state AND spams allocations like cazy
2024-03-12 18:09:42 +01:00
aaf8c6adc1
save cooldown for tox profile (10sec after last) and save on exit 2024-03-12 18:09:21 +01:00
dc081ae2aa
fix webp mem leak 2024-03-11 20:46:28 +01:00
3cf3097094
toxcore update + private interface update 2024-03-11 11:46:18 +01:00
e801626232
Merge commit 'a5093c4aa36d66049b6b5ca94e3b17412e77391b' 2024-03-11 11:34:13 +01:00
a5093c4aa3 Squashed 'external/toxcore/c-toxcore/' changes from b03b571272..3e05824b80
3e05824b80 refactor: Rename `out` parameters to `out_$something`.
0199c0f17f cleanup: apply the same scheme to types
aebbfabe26 cleanup: event length naming inconsistencies
2457125aa8 cleanup: align group send err enum order

git-subtree-dir: external/toxcore/c-toxcore
git-subtree-split: 3e05824b80eb9bee33e8254cba0780d84c522182
2024-03-11 11:34:13 +01:00