Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #55

Merged
merged 34 commits into from
Dec 30, 2023
Merged

Dev #55

merged 34 commits into from
Dec 30, 2023

Conversation

sammyfreg
Copy link
Owner

Moving Dev to Master for next release

sammyfreg and others added 30 commits August 20, 2022 12:20
Fix multiple Context Hook callback added to Imgui context, after a reconnect.
This could conflict with other imgui application in same folder, and the Server doesn't really need any Imgui settings saved
-Invalid GPU resource release on Com Thread
-TextureId cast error
-Unneeded Windows specific include
Default is unused. Prevents having 2 running NetImgui Servers listening on same port.
Seems like the 'force listen' isn't  needed on Windows/Linux, but can still toggle it on if needed.
-Small changes done to inputs
Possible error for platorm using top bit in 64bits in VirtualAddress space
updated msbuild setup
Update to dotnet installed (needed for sharpmake)
* First Prototype for Custom Texture

Work not completed, but give an overview of the feature direction

* Custom Texture Sample update

Working on a CustomTexture basic example, for reference

* Finalizing Custom Texture handling and sample

-Moved custom texture code to new file
-Added sample to showcase usage
-Removed console command for safety

* Replace Server texture list with hashmap

-Faster lookup when handling many textures
-Fixed relasing HAL texture objects when client disconnect
Signed-off-by: Kostiantyn Chernenok <[email protected]>
-Server and Client now are monitor DPI aware. User can adjust how much text scaling should occurs to compensate for small text on high resolution screens
-Was unable to save config when file was set to 'readonly'. This situation could happen when file is submitted to a source control. Now create a second _user config file, if default one is readonly
-Fixed crash when closing Server application. Tied to Server Listening thread with socket never timeout and unable to exit
- NetImgui Server application now support monitor DPI awareness
    - By default, use FontGlobalScale to draw text in bigger font size
    - If user provide a callback when initiating a connection, will use this callback to request a font update with bigger font sizes
    - This callback allows for sharper text renderer at desired size
- Added support for 'Shared Config' client
    - Enabling this option in the client config, will make this client available no matter where the NetImgui Server Application is launched from
    - This is achieved by saving in the user OS shared config folder (instead of working directory)
    - Also detect if the config file is readonly and create a second one that's writable if this happen
    - This is to handle people checkin in the netimgui.cfg in a source control and leaving it readonly, we want user to still be able to add clients
    - Can be useful distribute default settings to users, then they can add their own clients/settings
- In compatibility test files, stop downloading Imgui versions when already there
- Fixed a clang compilation warning
- Added copy/paste of text accross Server/Client
- Fixed a keys reception issue cause letter drop when quickly typed.
- Instead of scaling up rendering, create new font texture with DPI aware characters. Gives sharper results
- Updated sample code to handle DPI
- Fixed some texture update issue on server
@sammyfreg sammyfreg merged commit e4217aa into master Dec 30, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants