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

Release 2.11.2.0 #591

Merged
merged 136 commits into from
Dec 6, 2024
Merged

Release 2.11.2.0 #591

merged 136 commits into from
Dec 6, 2024

Conversation

SadPencil
Copy link
Member

No description provided.

Rans4ckeR and others added 30 commits October 5, 2024 01:34
Co-Authored-By: 舰队的偶像-岛风酱! <[email protected]>
* Add migration notice about XNAUI and TSCv6 change

* Update Docs/Migration.md

Co-authored-by: Kerbiter <[email protected]>
* Build cleanup, Large address aware

* Update UseAppHost usage

* Update packages

* Update workflow

* Fix some warnings
…ges for game modes that have different internal and UI name
…g from going beyond the border (#388)

* Make locale-aware time fully displayed in TopBar

Based on the suggestion by Rans4ckeR:
  #366 (review)

* Use "lblTime.FontIndex" for "lblTime"
Displaying the result in the client message box makes i18n easier.

Changed the message content of latency test result as per the suggestion:
  #348 (comment)

Co-authored-by: Sad Pencil <[email protected]>

Co-authored-by: Sad Pencil <[email protected]>
…d Alert 1 and Tiberian Dawn maps, with non-isometric cells (#396)

* Implement support for parsing and displaying starting positions of Red Alert 1 and Tiberian Dawn maps, with non-isometric cells

* Fix math

* Fix incorrect type as result from calculation

* Fix size display for non-isometric cells
* net7.0

* Limit Release warnings

* Update OSVersion usage

* Update build and README

* Update Process.Start() handling

* Update build and docs

* Update build

* Support XNA 32bit debugging in VS

* Detect MonoGame DX & GL startup failures on Windows

* Fix build

* Update README

* Update README

* Build cleanup

* x86 build update

* Update README.md

* Update main client library hash calculation

* GenerateOnlineId cross-platform

* Update Discord & json libraries

* Error Handling

* Add beta libraries

* Update packages

* Update packages

* Address review comments
* First pass at disabling ready checking for spectators

* Add INI flag to GameOptions.ini to control spectator ready checking

`DisableSpectatorReadyChecking=yes` in [General] would make the client not account for spectator ready statuses.

* Implement advanced status indication for game lobbies

Uses the new `XNAIndicator` control from custom XNAUI version. WARNING: This commit makes the client not backwards compatible with old configs and textures!

In order for it to work you need to:
- add `IndicatorAlphaRate` to general section of `DTACnCNetClient.ini` if you want custom `AlphaRate` for those;
- add indicator textures for 8 total states: https://imgur.com/a/HbQybbx
- change `PlayerReadyBox[X/Y]` tags to `PlayerStatusIndicator[X/Y]` in corresponding `GameOptions.ini` sections.

* Quickfix for new XNAUI change

* Fix in game state not having a tooltip

* Update XNAUI with fixed version

* Add localization support

Co-authored-by: Sad Pencil <[email protected]>

* Remove unnecessary brackets

* Add migration documentation

Co-authored-by: Sad Pencil <[email protected]>
other projects
Starkku and others added 29 commits October 5, 2024 02:48
* Normalize to space indentation

* Add Chinese language codes example
* Fix crash on null PlayerExtraOptionsPanel

* Follow codestyle
* Fix crash on unknown LAN games

* Fix incorrect culture in game identifier comparison
* Fix crash on empty map

* Apply code style changes

Co-authored-by: Kerbiter <[email protected]>

---------

Co-authored-by: Kerbiter <[email protected]>
* Ignore case when selecting default translation code

* Apply code style changes

Co-authored-by: Kerbiter <[email protected]>

* Revert "Apply code style changes"

This reverts commit c4c1393.

---------

Co-authored-by: Kerbiter <[email protected]>
* Reduce default timeout to 10 seconds

* Don't remove the proxy setting when downloading a map

* Specify map download and upload timeouts as 100 seconds
* Unhardcode string from 1810e44 commit

* Fix text and add new lines

Co-authored-by: Metadorius <[email protected]>

* Fix \n

Co-authored-by: Metadorius <[email protected]>

---------

Co-authored-by: Metadorius <[email protected]>
* Replace **note** with [!NOTE]

* Replace notes and warnings in Translation.md

* Replace `**Note**` to `[!NOTE]` in `INISystem.md`

* Add info about `XNAControl`, `XNAPanel`, `XNAExtraPanel`

* Add info about `XNAButton`, `XNALinkButton`, `XNALabel`

Co-authored-by: Vodrix <[email protected]>

* Add info about absent classes

* Add example for comma separated floats

Co-authored-by: Metadorius <[email protected]>

Co-authored-by: Kerbiter <[email protected]>

* Test Phobos INI documentation style

Co-authored-by: Metadorius <[email protected]>

* Update docs style to Phobos-like

* Replace `color string` to `color`

Co-authored-by: Metadorius <[email protected]>

* Update Docs/INISystem.md

Co-authored-by: Kerbiter <[email protected]>

* Add \n from request

Co-authored-by: Metadorius <[email protected]>

* Update keys default values

* Update default colors

* Update Docs/INISystem.md

---------

Co-authored-by: Vodrix <[email protected]>
Co-authored-by: Kerbiter <[email protected]>
Co-authored-by: Metadorius <[email protected]>
* Add integer scaling feature

Upgrade XNAUI to 2.3.22

* Enable resizable window only if integer scaling is on

* Add special scaling rules for FHD cases

* Revise a comment line

* Add a comment line

* Reduce DPI awareness claim for GL builds

* Add checkbox to enable/disable integer scaling

* Remove unused code

* Add tooltip for the integer scaling checkbox

---------

Co-authored-by: MahBoiDeveloper <[email protected]>
Co-authored-by: Kerbiter <[email protected]>
* Add ParseControlIniAttribute

* Add info to the `INISystem.md`

* Fix spacing

---------

Co-authored-by: MahBoiDeveloper <[email protected]>
* Update DTA config

* Enable `ModMode` in `ClientDefinitions.ini`

* Remove MIX folder

* Update TSC main menu to the latest commit

* Disable `Ranked Match` and `Map Editor` buttons in main menu

* Remove maps
* Add XML documentation for PlayerInfo.Verified

* Set PlayerInfo.Verified regardless of hash consistency

* Rename to PlayerInfo.HashReceived

* Code style changes
* Refactor calculating file hashes

* Trim text files when calculating the hash

* Remove unnecessary using

* Make fileNamesToCheck readonly

* Revert "Make fileNamesToCheck readonly"

This reverts commit da925b0.

* In favor of FileHashCalculator.CalculateSHA1ForFile
* Update GameLobbyBase.cs

When playerCount = 1, will get all maps, not only maps with maxplayers = 2

* Update GameLobbyBase.cs

Add a line break after }
* Add notice for non-release builds

* Show non-release notice in CnCNet lobby

* Improved non-release build detection

* Specify IncludeSourceRevisionInInformationalVersion

* Add ThisAssembly.Git

* Show Git branch and commit id as the non-release version string

* Update the version string for non-release builds

* Update the warning message

* Localize develop build title

* Add ShowDevelopmentBuildWarnings option

* Update Directory.Build.targets

* Add `ShowDevelopmentBuildWarnings` key into `Settings` section

* Update GameClass.cs

Co-authored-by: Kerbiter <[email protected]>

* Update Directory.Build.targets

* Remove ThisAssembly.Git package

* Replace assembly version with GitVersionInformation

* Increase Patch version even for develop branch

since we are not following SemVer right now

* Use GitVersionInformation.AssemblySemVer

* Empty commit to workaround a GitHub bug

* non-release build -> development build

---------

Co-authored-by: MahBoiDeveloper <[email protected]>
Co-authored-by: Kerbiter <[email protected]>
* Replace `File.Copy` to `CreateSymbolicLink` for `KeepChanges` file option

* Update config for test (revert commit latter)

* Add check for OS platform and rename link method

* Add handling exception if hard link isn't established

* Add .NET 4.8 Linux method to create link

* Move link logic to `ImmutableLink` and `Link`

* Refactor link creation functions

* Fix `source` and `destination` arguments for `CreateHardLink` and `CreateSymbolicLink`

* Rename link operation to AlwaysOverwrite_Link

* Fix careless CreateSymlinkFromSource call

* Correct link and symlink definitions

* Update config

* Turn off readonly property when deleting

* Revert making the source file readonly

* Remove if in switch-case statement

* Localize exception messages

* Revert "Remove if in switch-case statement"

This reverts commit a89f6a3.

* Load libc from "libc.so.6"

* Mark link methods as static

* Enforce coding style

* Prefer Marshal.ThrowExceptionForHR()

* Remove symlink codes

since the implementation requires a workaround for legacy Windows. Compared with the one in .NET 6 runtime, our implementation is not robust enough.

* Update libc importing to align with dotnet/msbuild

* Throw a specific exception

* Rename `AlwaysOverwrite_Link` to `LinkAsReadOnly` and update `KeepChanges`

Co-authored-by: Metadorius <[email protected]>

* Move `CreateHardLinkFromSource` to `FileHelper`

Co-authored-by: Metadorius <[email protected]>

* Enable fallback by default

* Improve translation game files with new linking method

* Use new linking method to link `ddraw.dll`

* Fix typo

* Split long line

* Add information to the documentation

* Rename `LinkAsReadOnly` to `AlwaysOverwrite_LinkAsReadOnly`

* Update docs

Co-authored-by: Metadorius <[email protected]>

* Improve text

Co-authored-by: SadPencil <[email protected]>

* Rename LinkAsReadOnly for built-in config

* Code style changes

* Rename FileOperationOptions to the singular form

* Remove unnecessary usings

* options -> option

* Explicitly make FileOperationOption.AlwaysOverwrite as default

* Set readonly property for linked translation files in target path

* Update docs to recommend editing source files for translation

* Update Translation.md

---------

Co-authored-by: SadPencil <[email protected]>
Co-authored-by: Metadorius <[email protected]>
Co-authored-by: SadPencil <[email protected]>
@SadPencil SadPencil merged commit 14cd841 into master Dec 6, 2024
7 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.