Commit Graph

191 Commits

Author SHA1 Message Date
darkfi
8c507f6f06 app/gfx: simplify and strengthen gfx engine. We now only buffer texture/buffer changes when screen is off, and when screen is switched on we just request a screen redraw. Additionally we now use the same time source which is the batch close time when merging batch changes. This theoretically should reduce screen tearing. We also keep track of dropped batches for debug and internal correctness checking, in general we have increased/tightened the internal logic. 2025-11-29 11:49:10 -03:00
darkfi
5c3b100b8e util/log: only show fields for span on enter and close 2025-11-14 19:07:45 -03:00
darkfi
810fa61e00 app: instrument entire draw tree 2025-11-14 18:31:02 -03:00
darkfi
33d8ad60ae app: tracing instrument a few fns and add spans to logging 2025-11-14 14:15:28 -03:00
darkfi
923b1ffb7c app: cargo update 2025-11-14 14:12:12 -03:00
darkfi
b41eba2b5d app: name all spawned threads 2025-11-13 12:22:51 -03:00
darkfi
2472d56531 app: improve send button click perf on android by making atomic as short lived as possible. 2025-11-13 00:27:00 -03:00
oars
52e3d4655b util/logger,util/cli,bin/app/logger: fix issues with file logging
- log not saved to file because NonBlocking guard was dropped early in util/cli
- colored ansi text used for file logging
2025-11-11 21:03:19 +03:00
oars
06ac488ccb bin/app: replace log with tracing
- replaced android-logger with android-tracing crate
- use tracing-appender to make file-rotate nonblocking
- add a couple of targets to muted_targets
2025-11-07 10:15:37 +03:00
darkfi
2917486b14 app: recreate the internal video queue when init() is called (window closed and reopened) 2025-11-02 10:28:03 +01:00
darkfi
06ae05d11f app: make tweaks to build and release workflow for win/mac 2025-11-01 15:18:01 +01:00
darkfi
1ed1dd35fc app: final bg vid tweaks for release. darken bg on actual chats with a subtle gradient, diff sizes for mobile and desktop. 2025-11-01 12:23:38 +01:00
darkfi
d14039b0ee app: update vid bg 2025-10-30 19:07:07 +01:00
darkfi
64b167e134 app: use upstream parley git repo, rework editor set_selection() 2025-10-30 09:04:21 +01:00
darkfi
6cf6d53714 app: always center background video 2025-10-29 09:57:17 +01:00
darkfi
f5037e7d0d app: use QOI files for video loading 2025-10-26 18:28:01 +01:00
darkfi
6c1941c49b app: make menu darker 2025-10-25 21:58:33 +02:00
darkfi
f28e18f349 app: fix warnings 2025-10-24 14:41:20 +02:00
darkfi
149c3c7757 app: hide keyboard when opening emoji selector 2025-10-24 14:17:57 +02:00
skoupidi
d0c49d24d0 chore: updated sled-overlay to new version 2025-10-24 12:58:55 +03:00
darkfi
aa8e53f500 app: raise outbound conns from 1 to 3 2025-10-23 16:47:29 +02:00
darkfi
677a2a2b08 app: fix broken android build due to fixing warnings in 6919ef8782 2025-10-23 11:09:20 +02:00
darkfi
e1ba7e251b app: fix Makefile to download video bg data 2025-10-23 11:01:24 +02:00
darkfi
5718248895 app/edit: move eval_rect() outside of redraw() so it can happen before behave.apply_cursor_scroll() when needed. 2025-10-23 10:52:22 +02:00
darkfi
6e120f5217 app: cargo update + switch parley to fork temporarily 2025-10-22 22:26:36 +02:00
darkfi
8f3242d29f app: minor bugfix edit with bottom border not respected 2025-10-22 15:26:23 +02:00
darkfi
d0875ec6bd app: reduce text latency by making text input and editbox resizing separate gfx ops 2025-10-20 13:51:05 +02:00
darkfi
b171a58212 app: fix chatview scrolling not updating correctly per update, by moving the atomic guard within the loop 2025-10-19 19:31:31 +02:00
darkfi
6919ef8782 app: fix warnings 2025-10-19 14:23:34 +02:00
darkfi
7fd6219ac0 app: update editor for latest parley version 2025-10-19 13:28:35 +02:00
darkfi
84d3a1c1fb app: bugfix edit select on android to have correct logic 2025-10-19 12:29:19 +02:00
darkfi
48be7e056c app: editor optimize selecting text and moving cursor on android. only update drawing on actual change 2025-10-17 18:06:27 +02:00
darkfi
e0c757546a app: android port new handle_select and scroll to android 2025-10-17 13:28:52 +02:00
darkfi
1af99477b1 app: begin edit scrolling port from mouse select to also for android touch 2025-10-11 12:48:01 +02:00
darkfi
6c2d3f63b9 app: fix panic in video when exiting before video is loaded 2025-10-01 17:17:48 +02:00
darkfi
a25698c2e6 app: remove content_height and scroll property from edit widget, make them internal values. make min/max_height only for the multiline edit. 2025-10-01 13:35:51 +02:00
darkfi
862288f4d0 app: enable proper scrolling while selecting text 2025-09-30 12:41:23 +02:00
darkfi
01a062e6f8 app: remove obsolete editbox, chatedit, and baseedit 2025-09-30 09:12:55 +02:00
darkfi
98a381e9e6 app: apply cursor scroll working for selections 2025-09-29 19:34:22 +04:00
darkfi
3c3a914337 app: edit widget fix phone select handle 2025-09-24 15:07:14 +04:00
darkfi
5e4c79f0d5 app: break long lines within word 2025-09-21 18:49:00 +04:00
darkfi
9ff8a28a73 app: cargo update 2025-09-21 18:41:31 +04:00
darkfi
fcd0ea3a35 app: finger scroll for single/multi working 2025-09-21 17:50:42 +04:00
darkfi
5cbd321700 app: scroll working for single/multi line edit 2025-09-21 13:10:46 +04:00
darkfi
eb3f109830 app: clone ChatEdit to BaseEdit, and introduce EditorBehaviour which is used to specialize for single and multi line cases 2025-09-20 10:54:27 +04:00
darkfi
af18f0e6bc app: only schedule updates on android due to liberal use of .try_lock() in miniquad causing random crashes 2025-08-30 12:50:54 +02:00
darkfi
045bf7a505 app: use video bg for main theme 2025-08-29 12:10:06 +02:00
darkfi
53e768e3fb app: auto-refresh gfx every 40 ms so vid plays 2025-08-28 21:20:46 +02:00
darkfi
1450bbb38e app: working streaming video load which preserves state on UI changes/updates 2025-08-28 14:12:10 +02:00
darkfi
38927314f8 app: video/anim preserve state between draw call updates so a screen resize wont restart animations 2025-08-28 11:53:05 +02:00