- This change is very far reaching into the internals. For this reason a version bump is required.

- These is a very high chance of new bugs or repeats of old bugs. Be watchful!
- Removed periodic timeout for overlay ticking
- Removed 60hz timeout for reading websocket
- Removed 1hz timeout for text overlay
- Removed 1hz timeout for notification overlay
- Added a one-call timeout for each overlay which happens a configurable time after render to remove it excess data
- Changed flat bool needsrender to a function call set_needs_render
- Where needed, this schedules an idle callback to rerender, cutting down on multiple renders in extremely short time
- Ripped out do_read from connector
- Piped the websocket socket into GLib, allowing it to call back when new data is readable
- Implemented reconnect logic in GLib
- Shortened connect timeout as localhost should be rather quick
This commit is contained in:
Trigg 2024-02-13 23:24:48 +00:00
parent 667ad02a4c
commit 8cd376d311
7 changed files with 147 additions and 139 deletions

View file

@ -9,7 +9,7 @@ setup(
name='discover-overlay',
author='trigg',
author_email='',
version='0.6.10',
version='0.7.0',
description='Voice chat overlay',
long_description=readme(),
long_description_content_type='text/markdown',