Commit Graph

335 Commits

Author SHA1 Message Date
8b17ed195f
more testing and file2 zstd now passes tests with varying frame sizes
and 1.5gig files
2024-04-12 13:42:03 +02:00
def7fc1959
add file2 impl for zstd (lightly tested and not integrated yet) 2024-04-12 13:42:02 +02:00
318be9cd62
throw update 2024-04-12 13:42:02 +02:00
2772c8ee69
reduce excessive message frag saving (queue dedup + waiting 10sec)
prepare for frag updates
2024-04-12 13:42:02 +02:00
eac2927379
try to tame log spam 2024-04-12 13:42:02 +02:00
77a0ae6acd
fix accel structure being wrong and mark empty frags and dont count them 2024-04-12 13:42:02 +02:00
7879a0927b
combat memory leaks with smart pointers 2024-04-12 13:42:02 +02:00
88ea3e177d
refactor saving and save on exit 2024-04-12 13:42:01 +02:00
bc22451524
dirty frag on message updates (if still open) 2024-04-12 13:42:01 +02:00
7b8e93eec3
refactor message fuid -> fid
save alot of memory by using fid instead of fuid
2024-04-12 13:42:01 +02:00
71be5c3c6e
reduce log spam 2024-04-12 13:42:01 +02:00
2b8cee6a29
remove old code 2024-04-12 13:42:01 +02:00
5bf4640d61
forgot to throw update on read 2024-04-12 13:42:01 +02:00
0e0e81720b
dont sync messages we dont know enough about 2024-04-12 13:42:00 +02:00
592a4cb9cf
make adjacency loading work, extend range and use loops 2024-04-12 13:42:00 +02:00
93f60bd073
replace old bad prev/next code with way better code 2024-04-12 13:42:00 +02:00
6a6de77ae9
smaller contact frag fixes 2024-04-12 13:42:00 +02:00
89f065a610
impl new acceleration structure for components, not exploited yet
disable funky load at first msg
2024-04-12 13:42:00 +02:00
52e95ca654
forgot to check contact 2024-04-12 13:41:59 +02:00
eaa316a2aa
rework cursers for cg, keep views between switching. will be refactored later 2024-04-12 13:41:59 +02:00
bdf4e60f2f
fix one inverted comparator 2024-04-12 13:41:59 +02:00
2e3c779bec
stop ignoring mfs interval and sort after 2024-04-12 13:41:59 +02:00
461a4f1aa7
make inital curser a range 2024-04-12 13:41:59 +02:00
78488daa9b
loading logic implemented but broken (very funky and sometimes even out of contact) 2024-04-12 13:41:59 +02:00
22f2c8f514
load based on view cursers (untested and not used yet) 2024-04-12 13:41:58 +02:00
e442191aad
msg frag before and after helper 2024-04-12 13:41:58 +02:00
795ab2d4e1
fix potential tsrange errors and deduplicate state 2024-04-12 13:41:58 +02:00
0896038dd6
make writing safe (by using a tmp file and moving to actual location) 2024-04-12 13:41:58 +02:00
67c6f9adb0
make empty contacts from ids on message load 2024-04-12 13:41:58 +02:00
6aac44cda9
change binary meta format and add zstd to metadata 2024-04-12 13:41:58 +02:00
4fb2b51b7d
switch to streaming compressor for data to drastically improve ratio.
would still benefit from a abstract file refactor
2024-04-12 13:41:57 +02:00
182d844e32
update fs readme a little 2024-04-12 13:41:57 +02:00
6f511016bc
save msg json zstd compressed (3x compression) 2024-04-12 13:41:57 +02:00
fb885b5c21
simplify array cast a little 2024-04-12 13:41:57 +02:00
d21dbb43e2
comp refactor and make groups work 2024-04-12 13:41:57 +02:00
7ac62274f4
move json around and disable files for now 2024-04-12 13:41:56 +02:00
4ec87337c8
reverse message write order 2024-04-12 13:41:56 +02:00
20f7c6d011
add dup check, would work for ngc if we saved tox group msg id yet 2024-04-12 13:41:56 +02:00
24dc5a03f3
fix dup on write 2024-04-12 13:41:56 +02:00
3d0863ff9a
basically working, but some dup glitch is still there 2024-04-12 13:41:56 +02:00
97aedca844
scan laters 2024-04-12 13:41:56 +02:00
2e7d5538d1
fragment events + 256bit uuids 2024-04-12 13:41:55 +02:00
1bfd04680e
refactor message serializer to allow access to eg contacts 2024-04-12 13:41:55 +02:00
73d1d65142
further serializer refactoring 2024-04-12 13:41:55 +02:00
f6e55851cc
improve deserialization and provide message comp deserl 2024-04-12 13:41:55 +02:00
0b0245d844
loading fragments mostly working (not notifying anyone yet) 2024-04-12 13:41:55 +02:00
d278391528
add contact id to meta 2024-04-12 13:41:55 +02:00
aa7a5d6013
more comps 2024-04-12 13:41:54 +02:00
84987216cb
handle empty type 2024-04-12 13:41:54 +02:00
58e9fd5514
dump messages to data (some comps) 2024-04-12 13:41:54 +02:00
3d41eedf48
message fragment meta is saved, but still empty data 2024-04-12 13:41:54 +02:00
2bc30ffcdc
start with messages (no fragments get created yet) 2024-04-12 13:41:54 +02:00
e67d7d37b5
refactoring, add to mainscreen 2024-04-12 13:41:54 +02:00
98ab974515
random ids 2024-04-12 13:41:53 +02:00
267f8dffc1
working prototpying code 2024-04-12 13:41:53 +02:00
78c7ef5b46
fix main screen destruction order,
so plugins can cleanup before their facilities get destroyed
2024-04-06 11:59:05 +02: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
a8d8613f2c
adopt to new toxcore master 2024-03-08 10:50:58 +01:00
459ccf7d6b
print sdl render 2024-03-06 01:02:59 +01:00
db54afd180
full on qoi 2024-03-06 01:02:59 +01:00
d0761bf60e
revert crop by default (did not work as intended) 2024-02-29 19:15:33 +01:00
0aeafec019
fix month starting at 0 2024-02-15 15:34:44 +01:00
9a0df4f577
date change 2024-02-15 15:29:01 +01:00
61714836bb
typos 2024-02-12 14:13:57 +01:00
cff0c100ec
add fragment store draft doc 2024-02-11 19:01:48 +01:00
ff5dbaffc0
fix some file selector glitches 2024-02-08 18:11:51 +01:00
b56d581e4b
fix normal feeling sluggish 2024-02-05 16:15:10 +01:00
aa661aaaa7
default to normal fps mode again 2024-02-05 16:10:30 +01:00
cc3f430bab
rework tc and move tcs out of cg into main screen, rework render pp
now respecting animation timing
2024-02-05 16:06:12 +01:00
139db5b03b
faster texture cache loading in low fps modes 2024-02-05 12:50:36 +01:00
f716ad9dd1
limit max main loop sleep 2024-02-03 20:49:52 +01:00
671772a20e
min fps for inactive reduced now 1fps 2024-02-03 19:07:14 +01:00
b0173f6d68
tox iterate interval pow(1.6)
fix faux offline inbetween timer
crop by default
2024-02-03 15:00:32 +01:00
3da5872df8
fix tffom and have it actually functioning 2024-02-03 01:05:50 +01:00
3deb6e8469
fix using bool for timestamps (oops) 2024-02-02 20:55:20 +01:00
0c674e0137
add tox friend faux offline message (still wonky) + small file copy error handling 2024-02-02 20:26:50 +01:00
7948d820c3
fix filepaths on windows 2024-01-30 15:16:01 +01:00
5aac3422aa
allow "copy file" which sets the text/uri-list with the file path 2024-01-30 11:58:01 +01:00
2647c85323
add imgui stylign window + change how texture filters are applied 2024-01-21 20:20:32 +01:00
93140231c6
theme according to system 2024-01-21 14:28:56 +01:00
e76e56e025
larger font hack + linear texture filter for images 2024-01-21 13:58:22 +01:00
b1062e701e
make primary selection pasting work
it is also bugged, as SDL misses large parts of selection sources (terminals etc) but browers work
2024-01-20 18:06:58 +01:00
865dfa994f
make invisible images not render 2024-01-18 23:44:38 +01:00
25be42e308
correct imgui version and add vid 2024-01-18 18:36:29 +01:00
c6a0df409d
interface versions 2024-01-18 00:32:11 +01:00
a15a9af2b3
adopt code to new imgui and new sdl 2024-01-17 22:39:51 +01:00
18ca88a0d4
asan in flake 2024-01-14 21:48:41 +01:00
565aa4b7eb
update deps and adopt 2024-01-14 18:50:23 +01:00
b117da5ccf
add compute powersave extreme 2024-01-13 18:38:12 +01:00
78b0e9a77f
more small fixes 2024-01-12 19:04:50 +01:00
7fa6aa7ac2
forgot to update plugin 2024-01-12 18:51:29 +01:00
20b4cdc5f1
sync and delivery (and unused read) states and other smaller refactors 2024-01-12 16:45:52 +01:00
7c576dd4d0
make fade less noticable 2024-01-10 14:17:29 +01:00
f6cda522ca
correct message order 2024-01-09 22:38:13 +01:00
f637c7c942
make fade respect fps 2024-01-09 16:30:27 +01:00
afb886ea7c
default to reduced fps 2024-01-09 15:57:20 +01:00
74129cabef
fix url open with unsanitized strings 2024-01-09 02:26:50 +01:00
be8ceb861c
1 sec cooldown for reduced fps mode 2024-01-07 22:20:40 +01:00
e8234f2a4a
properly seperate tick and render 2024-01-07 16:33:08 +01:00
a0ba0b39d8
add fps reduced mode 2024-01-06 18:23:06 +01:00
845967cf12
more main loop fiddling 2024-01-06 16:45:08 +01:00
92b58cbfa9
faster wakeup 2024-01-06 15:13:45 +01:00
5a0651eaf0
wip low fps mode for hidden states and powersave modes.
dont use yet, as all compute is still done in the render method
2024-01-06 14:38:21 +01:00
14fcaf1d7e
why is windows so bad 2024-01-05 16:32:37 +01:00
5a0252d8d0
start screen refactor 2024-01-05 14:47:08 +01:00
9c0ffd38ce
last update fixes 2023-12-27 12:49:52 +01:00
7495a50723
add hack to copy the ngc chat id 2023-12-13 14:02:31 +01:00
1cdde5170b
update subs 2023-12-12 16:52:52 +01:00
4248d1d9ab
disable annoying debug message 2023-11-28 13:19:00 +01:00
fd9d14d00c
tox private impl + dht caps histo 2023-11-13 16:23:49 +01:00
4e4f62dd20
provide ToxPrivateI 2023-11-13 15:14:30 +01:00
780a67a40d
update for toxcore changes 2023-11-13 13:25:41 +01:00
e7db39d20a
small debuggabilty improvements (scouting for an avatar bug) 2023-10-21 18:07:06 +02:00
869edb8d84
add hacky tox add by id + use ips instead of dns names for bsnodes and relays 2023-10-20 21:40:45 +02:00
dce42b866a
hack in extra decimal for progressbars 2023-10-20 02:39:13 +02:00
da19b0ac31
basic settings ui for cats 2023-10-19 23:52:11 +02:00
bc090bdaa8
make main window injectable + start settings window 2023-10-19 17:21:45 +02:00
2a5937652e
add file dropping support 2023-10-18 14:24:46 +02:00
b9d4f594ce
fix missing include 2023-10-14 16:25:01 +02:00
c79068c561
add tox avatar handling + prio png for paste + other fixes and updates 2023-10-14 15:59:32 +02:00
e7095a1849
forgot to close popup (oops) 2023-10-12 01:10:38 +02:00
3f78e17888
small refactor for pasting img + allow specifying mime type on paste 2023-10-11 21:57:36 +02:00
8725bafbdb
hide pw in memory 2023-10-10 18:17:27 +02:00
c24dc45e93
hack in compressor types for sip + a bunch of refactoring and fixes 2023-10-09 21:17:00 +02:00
62b00a4bd6
add stb png and jpg encoders, untested 2023-10-06 13:16:45 +02:00
f1f67fe1ba
extract webp image encoder 2023-10-06 02:01:31 +02:00
621327bf55
rework the crop buttons 2023-10-05 23:44:18 +02:00
b479db4989
color anim + fix crop w/h sanitization + hack to determine if png 2023-10-05 18:26:35 +02:00
8633c5eafd
crop lr works too 2023-10-05 16:24:51 +02:00
440489f228
sanitize crop 2023-10-05 14:54:42 +02:00
bb824a9fb7
cropping ui partly done (upper left cropper works) 2023-10-05 14:23:39 +02:00
c98dd8a584
try to fix funky timing hanging animation loops 2023-10-04 22:49:33 +02:00
e12d7b1458
add compress to sip (hack webp only) + crop code but not in ui 2023-10-04 20:17:53 +02:00
ca6853e2c0
missing include 2023-10-04 02:19:03 +02:00
fc90106d83
openurl file + starting with sending image file and pasting 2023-10-04 02:11:06 +02:00
5c4c397f6c
update plug and add chat debugging 2023-10-02 17:03:00 +02:00
da774e10e8
update to entt 3.12.2 2023-10-02 15:40:32 +02:00
4afe39dacc
unread message status + fade in ui 2023-09-29 18:15:18 +02:00
0b46b891c2
add simple quote message context menu 2023-09-01 21:13:36 +02:00
d131b5a02f
add hacky way to load encrypted tox saves 2023-08-28 15:33:36 +02:00
9d9a486537
limit fps to 60 and disable imgui demo window 2023-08-28 14:06:27 +02:00
610ed10011
scope plugin paths 2023-08-20 12:50:58 +02:00
4edab11616
update deps and dont try to load files >50mib as images 2023-08-19 21:42:47 +02:00
bd9bbf67d4
small fixes 2023-08-11 12:18:50 +02:00
5bfc429450
small ui refactor + forwarding files 2023-08-06 16:07:50 +02:00
7a7b55bebf
make tox save file selectable (hacky) 2023-08-03 15:03:12 +02:00
c9672bf352
add debug start screen ui + can load plugins 2023-08-03 13:05:19 +02:00
5547ff6d2b
also scen media on message creation 2023-08-02 20:58:16 +02:00
5ecec26731
image inlining working 2023-08-02 19:24:51 +02:00
01fddd19cd
message texture cache + message image loader (no inline images yet) 2023-08-02 16:36:34 +02:00
e362af8271
cleanup texures on cache destruction 2023-08-02 15:37:37 +02:00
2dba4f8fbb
add webp support 2023-08-02 15:06:19 +02:00
a144459e8d
add stb image loader (avatar png support) 2023-08-01 20:17:38 +02:00
95b77cb696
add avatar texture handling 2023-08-01 18:25:56 +02:00
2e28ad7bb9
fix missing include 2023-08-01 14:28:28 +02:00
75f78f8c7f
load tox identicons 2023-08-01 13:21:16 +02:00
ef59386e5c
start texture cache for contacts (avatars) 2023-07-31 20:47:22 +02:00
c0b57c30bd
add sdl bmp image loader 2023-07-30 16:00:55 +02:00
42b3866753
start thinking about pasting files 2023-07-30 15:10:26 +02:00
3aaa1b0350
try satisfy macintosh 2023-07-29 22:30:36 +02:00
823a4ae189
missing include 2023-07-29 21:51:24 +02:00
40cd04f9dd
fix cross platform file paths to string 2023-07-29 21:25:25 +02:00
6a979d31a0
fix missing includes 2023-07-29 20:58:29 +02:00
56f7db9ae6
msg sorting 2023-07-29 20:51:32 +02:00
d5e2dd2e1f
add auto dirty (save toxfile) + minor stuff 2023-07-29 20:39:31 +02:00
93e5bb867b
invites 2023-07-29 20:07:59 +02:00
4cd295065b
add chat gui, probably works 2023-07-28 18:03:45 +02:00
5a9aacc603
add file selector with sorting 2023-07-27 19:34:47 +02:00
082c4febdf
more setup 2023-07-26 20:09:57 +02:00
a848a01527
add tox client and more setup 2023-07-26 12:55:50 +02:00
3a1c15f313
screen concept 2023-07-26 12:24:18 +02:00
e92c7cbfa0
add exe icon 2023-07-26 02:02:06 +02:00
07765b4ad7
wire up imgui 2023-07-26 01:11:17 +02:00
a0122d38f2
minimal sdl app 2023-07-25 23:59:35 +02:00
e4d2987c54
add sdl 2023-07-25 22:47:22 +02:00
efa781e9ba
empty main 2023-07-25 14:56:22 +02:00
41d0fc02c3
should compile 2023-07-25 14:35:57 +02:00