Commit Graph

269 Commits

Author SHA1 Message Date
6177b38025
replace old bad prev/next code with way better code 2024-03-12 18:43:57 +01:00
adaa8c69ca
smaller contact frag fixes 2024-03-12 18:43:57 +01:00
896f0a0015
impl new acceleration structure for components, not exploited yet
disable funky load at first msg
2024-03-12 18:43:57 +01:00
bffced7d41
forgot to check contact 2024-03-12 18:43:57 +01:00
75ab0ef293
rework cursers for cg, keep views between switching. will be refactored later 2024-03-12 18:43:57 +01:00
8a72e8979a
fix one inverted comparator 2024-03-12 18:43:57 +01:00
7dd7535261
stop ignoring mfs interval and sort after 2024-03-12 18:43:56 +01:00
4b255995aa
make inital curser a range 2024-03-12 18:43:56 +01:00
90ab1ac739
loading logic implemented but broken (very funky and sometimes even out of contact) 2024-03-12 18:43:56 +01:00
8481db687a
load based on view cursers (untested and not used yet) 2024-03-12 18:43:56 +01:00
e90a29530f
msg frag before and after helper 2024-03-12 18:43:56 +01:00
e77b96020b
fix potential tsrange errors and deduplicate state 2024-03-12 18:43:56 +01:00
033e63a7b1
make writing safe (by using a tmp file and moving to actual location) 2024-03-12 18:43:55 +01:00
e32fd233f9
make empty contacts from ids on message load 2024-03-12 18:43:55 +01:00
9ae792f89f
change binary meta format and add zstd to metadata 2024-03-12 18:43:55 +01:00
2bb5d9ca39
switch to streaming compressor for data to drastically improve ratio.
would still benefit from a abstract file refactor
2024-03-12 18:43:55 +01:00
c288425f26
update fs readme a little 2024-03-12 18:43:55 +01:00
864fd9eab4
save msg json zstd compressed (3x compression) 2024-03-12 18:43:55 +01:00
e9aed5c2f8
simplify array cast a little 2024-03-12 18:43:54 +01:00
adf817ad2b
add zstd dep 2024-03-12 18:43:54 +01:00
edf559503c
comp refactor and make groups work 2024-03-12 18:43:54 +01:00
ffd0197348
move json around and disable files for now 2024-03-12 18:43:54 +01:00
61f452c335
reverse message write order 2024-03-12 18:43:54 +01:00
9af0b9e06e
add dup check, would work for ngc if we saved tox group msg id yet 2024-03-12 18:43:54 +01:00
40a177fdec
fix dup on write 2024-03-12 18:43:53 +01:00
bd4f281769
basically working, but some dup glitch is still there 2024-03-12 18:43:53 +01:00
188be9bb4c
scan laters 2024-03-12 18:43:53 +01:00
6c66c9f277
fragment events + 256bit uuids 2024-03-12 18:43:53 +01:00
d9e541f65e
refactor message serializer to allow access to eg contacts 2024-03-12 18:43:53 +01:00
765282b172
further serializer refactoring 2024-03-12 18:43:53 +01:00
0cbd203020
improve deserialization and provide message comp deserl 2024-03-12 18:43:52 +01:00
93406f64b0
loading fragments mostly working (not notifying anyone yet) 2024-03-12 18:43:52 +01:00
3a9a940b63
add contact id to meta 2024-03-12 18:43:52 +01:00
347f032c27
more comps 2024-03-12 18:43:52 +01:00
14c1188219
handle empty type 2024-03-12 18:43:52 +01:00
be2043e3a0
dump messages to data (some comps) 2024-03-12 18:43:51 +01:00
4ec614eaed
message fragment meta is saved, but still empty data 2024-03-12 18:43:51 +01:00
e0ca5cc790
start with messages (no fragments get created yet) 2024-03-12 18:43:51 +01:00
f506e7d670
refactoring, add to mainscreen 2024-03-12 18:43:51 +01:00
e19238fedf
random ids 2024-03-12 18:43:51 +01:00
9b17bfb2bf
working prototpying code 2024-03-12 18:43:51 +01:00
d5dede5a61
properly cleanup in main 2024-03-12 18:43:36 +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
c311bb5c95
update tox interface 2024-03-10 20:50:13 +01:00
887705969f
make texture streaming actually work 2024-03-09 16:26:35 +01:00