Commit Graph

170 Commits

Author SHA1 Message Date
1ab99e0dc8
make adjacency loading work, extend range and use loops 2024-03-15 13:03:21 +01:00
5f2a911ead
replace old bad prev/next code with way better code 2024-03-15 13:03:21 +01:00
17b99ea04a
smaller contact frag fixes 2024-03-15 13:03:21 +01:00
179797dd61
impl new acceleration structure for components, not exploited yet
disable funky load at first msg
2024-03-15 13:03:21 +01:00
b8851c4b25
forgot to check contact 2024-03-15 13:03:20 +01:00
78a247b7b2
rework cursers for cg, keep views between switching. will be refactored later 2024-03-15 13:03:20 +01:00
8139392359
fix one inverted comparator 2024-03-15 13:03:20 +01:00
f069f0b441
stop ignoring mfs interval and sort after 2024-03-15 13:03:20 +01:00
f1742efd85
make inital curser a range 2024-03-15 13:03:20 +01:00
1344a4f7b2
loading logic implemented but broken (very funky and sometimes even out of contact) 2024-03-15 13:03:19 +01:00
0a16c4700c
load based on view cursers (untested and not used yet) 2024-03-15 13:03:19 +01:00
1c285b8fa9
msg frag before and after helper 2024-03-15 13:03:19 +01:00
b00b8be3c9
fix potential tsrange errors and deduplicate state 2024-03-15 13:03:19 +01:00
9e341f926d
make writing safe (by using a tmp file and moving to actual location) 2024-03-15 13:03:19 +01:00
b10181645a
make empty contacts from ids on message load 2024-03-15 13:03:19 +01:00
501ac639c6
change binary meta format and add zstd to metadata 2024-03-15 13:03:18 +01:00
57e339dad1
switch to streaming compressor for data to drastically improve ratio.
would still benefit from a abstract file refactor
2024-03-15 13:03:18 +01:00
ec88dee001
update fs readme a little 2024-03-15 13:03:18 +01:00
cccd003247
save msg json zstd compressed (3x compression) 2024-03-15 13:03:18 +01:00
68a2113f99
simplify array cast a little 2024-03-15 13:03:18 +01:00
9b4268f1c9
comp refactor and make groups work 2024-03-15 13:03:17 +01:00
a76b3d382e
move json around and disable files for now 2024-03-15 13:03:17 +01:00
82d94d4380
reverse message write order 2024-03-15 13:03:17 +01:00
dfcd6a3e9f
add dup check, would work for ngc if we saved tox group msg id yet 2024-03-15 13:03:17 +01:00
a74e8dade9
fix dup on write 2024-03-15 13:03:17 +01:00
ce22d1b04e
basically working, but some dup glitch is still there 2024-03-15 13:03:16 +01:00
0ddd1f8bfa
scan laters 2024-03-15 13:03:16 +01:00
320ae3d4a1
fragment events + 256bit uuids 2024-03-15 13:03:16 +01:00
95c5947cab
refactor message serializer to allow access to eg contacts 2024-03-15 13:03:16 +01:00
f6bfb1ae1f
further serializer refactoring 2024-03-15 13:03:16 +01:00
828d37c2cf
improve deserialization and provide message comp deserl 2024-03-15 13:03:16 +01:00
1097d7667a
loading fragments mostly working (not notifying anyone yet) 2024-03-15 13:03:15 +01:00
e3d1a3a905
add contact id to meta 2024-03-15 13:03:15 +01:00
d337544003
more comps 2024-03-15 13:03:15 +01:00
82473d9ceb
handle empty type 2024-03-15 13:03:15 +01:00
347d555c02
dump messages to data (some comps) 2024-03-15 13:03:15 +01:00
5c2fa93fb9
message fragment meta is saved, but still empty data 2024-03-15 13:03:15 +01:00
2ce3ff8230
start with messages (no fragments get created yet) 2024-03-15 13:03:14 +01:00
75e1857a3d
refactoring, add to mainscreen 2024-03-15 13:03:14 +01:00
3a0a84bb9c
random ids 2024-03-15 13:03:14 +01:00
c546005059
working prototpying code 2024-03-15 13:03:14 +01:00
bde0f2c7c3
imgui debug stuff 2024-03-15 13:02:49 +01:00
83bbac2cd1
proper cleanup procedure for main 2024-03-15 13:02:37 +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
887705969f
make texture streaming actually work 2024-03-09 16:26:35 +01:00
a3d193516c
add updating to textures 2024-03-08 22:04:58 +01:00