-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Major CodeQA - 20250119 #673
Conversation
+ Update Rust compiler for csharp_bindings to rustc 1.84.0 (9fc6b4312 2025-01-07) (Stable) + Remove dependency to MSVCRT library (Manual VC++ 2019/2022 Redist installation should no longer be needed) + Update libwebp libraries to: https://github.com/webmproject/libwebp/tree/f8f241071001e1a3807f34a26a03a742ea843458 + Favor size build + Recompile using MSVC 2022 (19.43.34618)
Fix MD5 instance not disposed after use
+ Fix some breaking changes due to moving parts on Microsoft.Xaml.Behaviors.WinUI.Managed
This reverts commit 5c6d361.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CollapseLauncher/Classes/GameManagement/GameVersion/BaseClass/GameVersionBase.cs
Outdated
Show resolved
Hide resolved
Force update submodules to the merge-base repo via bootstrap
+ Pack the libraries and extract it only if AOT compilation is used + Ensure to use Link Target Optimization (LTO) on linker + (Hopefully) Fix some missing symbols at MachineIndependent.lib
+ Downgrade the Windows SDK to 10.0.22621.0 while compiling static libs. This fixed inconsistency and "missing symbol" error at some libraries. + Change to compile all libraries to use /MT (libucrt.lib). This hopefully remove the dependency for the users to install Visual C++ Redist 2022. + Use full LTO for Rust library, csharp_bindings. + Prefer to use speed + inline optimization (/O2 + /Ob2 + /Ot + /Oi) instead of size (/O1 + /Ob1 + /Os)
Replacing the use of ``new DriveInfo().IsExist``. Instead, use ``Directory.Exists()`` as ``IsExist`` property actually uses the same ``Directory.Exists()`` under the code.
+ This allows some trick, like game conversion via Game Repair possible for ZZZ
WTF GitHub Desktop?
- [INTENTIONAL] Downgrade SDK BuildTools Its to match the SDK we actually use to build the app - Explicitly use .NET ILLink Task v9.0.1 Idk why the SDK is so ADAMANT on using v9.0.0
Halp, please make it the last
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Main Goal
This PR contains huge CodeQA and some code refactoring for some functionalities, which hopefully improve the maintainability of the codebase further.
What's changed?
Hash
extension for hashingFileStream
,string
,Span<T>
andFileInfo
with both synchronous and asynchronous version of the methods. The methods uses generic type of any member ofHashAlgorithm
(Such as:MD5
,SHA*
,HMACSHA*
, etc.) andNonCryptographicHashAlgorithm
(Such as:Crc32
,XxHash*
, etc.) to specify which kind of hash to be used.InternalAppJSONContext
members into its ownJsonContext
es.csharp_bindings
to rustc 1.84.0 (9fc6b4312 2025-01-07) (Stable)MSVCRT
library (Manual VC++ 2019/2022 Redist installation should no longer be needed) and fully utilizeUCRT
as its runtime library.csharp_bindings
to use full LTO.PR Status :
Templates
Changelog Prefixes