Commit Graph

144 Commits

Author SHA1 Message Date
Natsumi e58ed54448 Update SQLite & openvr 2024-12-05 07:49:23 +13:00
Natsumi 4d32d825af Cef 131.2.70 2024-11-26 18:02:26 +13:00
Natsumi 0870805222 Cef 130.1.90 2024-10-31 13:54:26 +13:00
Ethan Cordray 9496d2fe38 Request High Performance GPU (#959) 2024-10-28 19:35:56 +13:00
Usman Shafiq 4f34e2d18a Rework Startup Args (#946)
* Rework startup args

* Preserve previous startup args on re-launch

* Ignore subprocess when checking for duplicate processes

* Cleanup code

* Remove extra process list grabbing

* Use `IsUpgradePrefix` when using `RestartApplication`

* Change `ProxyServerPrefix` to `ProxyUrlPrefix`
2024-10-22 08:06:56 +13:00
Natsumi ee4e1ad3b1 Update .NET deps 2024-10-11 23:14:54 +13:00
Natsumi d16928f6de Update Cef 129.0.110 2024-10-09 18:24:47 +13:00
Natsumi 696f0a915c Update Cef 128.4.90 2024-09-28 02:45:45 +12:00
Natsumi bc565abdae Update Cef and npm packages 2024-08-28 13:55:49 +12:00
Natsumi cff4d83164 Repo cleanup (#879)
* Move build scipts

* Move library DLLs

* Remove DotSettings

* Update gitignore

* Remove Properties

* Clean up csproj

* Move warning suppression into code

* Remove App.config

---------

Co-authored-by: DubyaDude <ushafiq141@gmail.com>
2024-08-28 13:52:04 +12:00
Natsumi 3baf00af27 Small changes 2024-08-21 09:24:06 +12:00
Regalia 749153021f Set EnableWindowsTargeting to true (#858)
This permits .NET to download the Windows targeting packs, which enables VRCX development on Linux.

It's not recommended to build the Windows apps with Linux though, so actual release builds should likely stick with Windows CI/CD, as per Microsoft:
> This property is currently recommended to allow development on non-Windows platforms. But when the application is ready to be released, it should be built on Windows. When building on a non-Windows platform, the output may not be the same as when building on Windows. In particular, the executable is not marked as a Windows application (which means that it will always launch a console window) and won't have an icon embedded.

https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#enablewindowstargeting
2024-08-05 11:06:38 +12:00
Natsumi 749f5355e2 Update Cef to 126.2.180 2024-07-26 10:19:27 +12:00
Usman Shafiq 48ea06758e Upgrade nuget packages (#840) 2024-07-17 06:39:41 +12:00
Natsumi 179c6ffac2 Revert "Cef 126.2.70"
This reverts commit 8cb80c6b44.
2024-06-28 08:33:28 +12:00
Natsumi 8cb80c6b44 Cef 126.2.70 2024-06-27 08:48:56 +12:00
Natsumi fe12f615ba Update Cef 125.0.210, fix PerformanceCounter bugs 2024-06-15 20:46:43 +12:00
Natsumi 831e83061d Group blocking 2024-06-08 01:48:40 +12:00
Natsumi 1e6c8cdef6 chore(.NET): update to Cef 124.3.80 2024-05-23 21:16:16 +12:00
Natsumi 0b55d9cd33 chore(.NET): update to Cef 124.3.50 2024-05-14 22:05:31 +12:00
Natsumi 3622a48022 .net ResourceLanguages 2024-05-09 05:40:45 +12:00
Natsumi 9cf8b2b3ff chore(.NET): update to Cef 124.3.20 2024-05-08 03:10:44 +12:00
Natsumi de8a7cb98c chore(.NET): update to Cef 123.0.60 2024-04-18 01:50:08 +12:00
Usman Shafiq 271139b144 OVR Toolkit Notifications (#751)
* Added OVR Toolkit notification support

* Change order

* Self identify by user-agent.

* Fix comments
2024-03-21 10:40:23 +13:00
Natsumi 6646d1cce0 chore(.NET): update to Cef 122.1.120 2024-03-17 05:22:19 +13:00
Natsumi c3e99d0bdb chore(.NET): update to Cef 121.3.130 2024-02-28 08:43:02 +13:00
Natsumi 19abbd318b chore(.NET): update to Cef 121.3.70 2024-02-14 14:20:39 +13:00
Natsumi cb35e5e50f chore(.NET): update to Cef 120.2.70, openvr 2024-02-02 02:52:36 +13:00
Natsumi e48b31e85c chore(.NET): update to Cef 120.2.50 2024-01-17 07:34:55 +13:00
Natsumi cd2387aa32 Updates and fixes 2024-01-09 23:22:48 +13:00
Natsumi bc4c115612 chore(.NET): update to Cef 120.1.80 2023-12-24 08:19:34 +13:00
Natsumi 2febfab962 chore(.NET): update to Cef 119.4.30 2023-11-22 02:12:13 +13:00
Ethan Cordray 2e9db3153d NET 8 Upgrade (#687)
* Initial .NET8 Upgrade

* Initial GitHub Actions Cleanup

* Fix Desktop Notifications

* Fix throw warning

* Upgrade vunerable transative nuget packages

* Fix warnings with registry overflow

* Adjust async/await usage for configRepository

* Fix TTS voice name and app auto start

* Install .NET 8 with setup

I regret NSIS

* Remove no longer needed System/MS references (included in dotnet sdk)

* Surpress stackalloc in loop warning, that code scares me.

* Removed unused SharpDX packages

* Ignore WebClient warning, hopefully this project doesn't move past NET 8

* Fixed terrifying code

* GenerateAssemblyInfo

* Trimmed editor config to only silence warning.

* Fix open webpage

* Fix updater

---------

Co-authored-by: DubyaDude <ushafiq141@gmail.com>
Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2023-11-22 01:41:57 +13:00
Natsumi 2899ba98fe chore(.NET): update to Cef 119.1.20 2023-11-06 02:10:40 +13:00
Natsumi 48c485ad46 chore(.NET): update to Cef 117.2.40 2023-10-31 19:37:25 +13:00
Natsumi 53fd97264d Backup/restore VRC registry 2023-10-27 23:46:30 +13:00
Natsumi b3508119c2 Split AppApi 2023-10-27 23:46:27 +13:00
Natsumi 6cfadfa67f Folder cs files 2023-10-11 20:36:41 +13:00
Natsumi 9591b3000c VRCX overlay icon 2023-10-10 21:25:25 +13:00
Natsumi 437cce9b0c chore(.NET): update to Cef 117.2.20 2023-10-05 09:18:03 +13:00
Natsumi 2c1f7dbf13 Fixes and changes 2023-09-25 03:02:40 +13:00
Natsumi a2b06dbe23 chore(.NET): update to Cef 116.0.150 2023-09-03 09:30:22 +12:00
Teacup 0a0f166a2b feat: Add searching & fullscreen mode to screenshot viewer (#627)
* Optimized search screenshots by metadata

* feat: Screenshot metadata search bar

* fix: Reset search when selecting a file manually

* refactor: Re-do the whole search thing. Add number of results to dialog when searching

* fix: Add check & error for null metadata

* fix: Add sourceFile to error obj on return

* fix: Fix screenshot file dialog not sending path back to JS

* fix: Stop lfs parsing from dying if a value doesn't exist

* fix: Fix and optimize FileStream reading of metadata for searches

* fix: Reset search data and revert to normal when user clears out search box

* refactor: Remove/optimize some old screenshot helper stuff

- Use FileStream in ReadPNGResolution
- Limit the FindChunkIndex search range used when writing metadata
- Remove old ReadPNGDescription, just use filestream version now

* fix: Reset metadata search state if a file is added manually

* feat: Move viewer popover dialog to the fullscreen image viewer

* refactor: Change how parsing errors are handled... again

* refactor: Let the search carousel loop around

* fix: Re-do legacy parsing /wo JObject. Fix legacy instance ids/pos.

Also adds further docs to the legacy parsing for the various formats

* feat: Add persistent metadata cache for search

* Clean up

* fix: Fix viewer dying

sourceFile wasn't being included for vrcx pics

* refactor: Cache the state of files with no metadata

This is so we're not constantly re-processing these files with no metadata on every first search after a restart; These files won't magically gain metadata and this could cause a lot of hitching for someone that had potentially thousands of screenshots before using VRCX.

* Screenshot viewer loading

---------

Co-authored-by: Nekromateion <43814053+Nekromateion@users.noreply.github.com>
Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2023-09-03 09:02:09 +12:00
Natsumi 5fa4331639 chore: update DiscordRichPresence 2023-08-07 20:15:27 +12:00
Natsumi 52b95b16ab chore(.NET): update to Cef 114.2.120 2023-07-19 11:11:28 +12:00
pypy 61e30aeb7b Fix SQLite.Interop.dll 2023-06-30 23:10:23 +09:00
Natsumi d239a4cdec chore(.NET): update to Cef 114 2023-06-18 08:10:46 +12:00
Natsumi e1de8508c6 cleanup 2023-06-07 01:03:29 +12:00
Teacup 7d6ca28f86 feat: Add /getall, logging to .NET, fix manager not getting traveling world (#554)
* fix: Fix world-db not getting current world properly when traveling

* fix: Stop redundant and exception-prone funcResult definition

* Fix: fetching current location

* refactor: Move constructing responseData to its own functions

* Fix: ignore own string requests

* feat: Add NLog dependency, and add some logging to .NET, mostly worlddb

* fix: I missed a semicolon

* refactor: Add more debug logging, change log format, archive less

* feat: Add /getall endpoint

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2023-06-02 12:59:31 +12:00
Teacup 0101f3474f Add systems for local world persistence (#553)
* chore: Change vscode workspace settings to work with omnisharp

* refactor(.NET): Use connection string builder to init sqlite database

* docs(.NET): Add method documentation to most things that matter

* docs(.NET): Add more docs I forgot to commit apparently

* feat: Add PoC world database structure ^& http listener

* fix: Send a response if VRCX isn't initialized rather than hanging

* feat: Initialize world db schema on startup

* feat: Allow worlds to store data in db through logfile

* use existing current location for worldDB

* Add tooltips

* chore: Make it so vscode can format C# files without prettier

* refactor: Add sqlite-net to (eventually) replace sqlite impl

* refactor: Make use of sqlite-net for world database

* docs: Add todo for fixing some random exception

* refactor: Remove now-unused SQLiteWorld

* refactor: Fix DB init query and change table structure again

* refactor: Add WorldDataRequest, add attributes for camelcase json keys

* Support current user location from API in addition to gameLog

* Change current location check for worldDB

* feat: Take store requests in JSON, identify worlds by GUID on store.

* refactor: Remove unused worldId param from connection key generator

* docs: Add more documentation to the methods for the world database

* fix: Hey wait that's not a primary key

* feat: Add a 10MB data cap for worlds shared across all of their rows.

* fix: Don't calculate size of world date twice when inserting

* refactor: Discard the guid variable since we only check for validity

* docs: Add docs/comments for new data cap functionality

* feat: Implement /getbulk API endpoint

* fix: Correct WorldDB init query typo

* fix: Update data entries properly instead of using 'OR REPLACE'

* refactor: Move endpoint processing to separate methods

* refactor: Add another check for error 503, remove old code

* feat: Add debug capability to /vrcx/getbulk

* fix: Correct the usage of getUser in actuallyGetCurrentLocation

* feat: Add store errors, implement external reading, stop 404ing

* docs: Add docs for new world db funcs

* refactor: Change world db server listen port to 22500

* fix: Use getUser correctly, dumb dumb

* fix: This error set shouldn't be here

* feat: Future-proof api endpoints. Add /status endpoint

---------

Co-authored-by: Natsumi <cmcooper123@hotmail.com>
2023-06-01 10:34:50 +12:00