From 3872e9205e4dc55946e844787308fe53c78b48a5 Mon Sep 17 00:00:00 2001 From: Nikos Kastellanos Date: Sun, 5 Feb 2023 08:43:54 +0200 Subject: [PATCH] ver3.8.9102 (#174) * ver3.8.9102 * Changelog 3.8.9102 --- BuildNuget.bat | 18 +++---- CHANGELOG.md | 51 +++++++++++++++++++ Installers/default.build | 2 +- .../Properties/AssemblyInfo.cs | 4 +- .../MonoGame.Framework.Android.csproj | 4 +- .../MonoGame.Framework.DesktopGL.csproj | 4 +- .../MonoGame.Framework.WindowsDX.csproj | 4 +- ...MonoGame.Framework.WindowsUniversal.csproj | 4 +- .../MonoGame.Framework.iOS.csproj | 4 +- MonoGame.Framework/Properties/AssemblyInfo.cs | 4 +- .../XNA.Framework.Blazor.csproj | 4 +- .../XNA.Framework.Oculus.OvrDX11.csproj | 6 +-- MonoGame.Framework/XNA.Framework.Ref.csproj | 4 +- MonoGame.Framework/Xna.Framework.csproj | 4 +- .../nkast.Xna.Framework.Oculus.OvrDX11.nuspec | 4 +- .../BlazorGL/BlazorGLApplication.csproj | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- 19 files changed, 94 insertions(+), 43 deletions(-) diff --git a/BuildNuget.bat b/BuildNuget.bat index ab6cfb55606..3695054523f 100644 --- a/BuildNuget.bat +++ b/BuildNuget.bat @@ -1,17 +1,17 @@ -"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/nkast.Xna.Framework.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9101.0 -Properties Configuration=Release -"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.WindowsDX.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9101.0 -Properties Configuration=Release -"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.DesktopGL.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9101.0 -Properties Configuration=Release -"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Android.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9101.0 -Properties Configuration=Release -"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.iOS.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9101.0 -Properties Configuration=Release -"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.WindowsUniversal.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9101.0 -Properties Configuration=Release +"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/nkast.Xna.Framework.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9102.0 -Properties Configuration=Release +"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.WindowsDX.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9102.0 -Properties Configuration=Release +"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.DesktopGL.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9102.0 -Properties Configuration=Release +"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Android.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9102.0 -Properties Configuration=Release +"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.iOS.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9102.0 -Properties Configuration=Release +"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.WindowsUniversal.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9102.0 -Properties Configuration=Release dotnet pack XNA.Framework.Blazor.sln --output NuGetPackages\Output\ /t:Build /p:Configuration=Release dotnet pack MonoGame.Framework\Xna.Framework.Ref.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release dotnet pack MonoGame.Framework\XNA.Framework.Oculus.OvrDX11.csproj --output NuGetPackages\Output\ /t:Build /p:Configuration=Release -"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Portable.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9101.0 -Properties Configuration=Release -"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Content.Pipeline.Portable.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9101.0 -Properties Configuration=Release +"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Portable.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9102.0 -Properties Configuration=Release +"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Content.Pipeline.Portable.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9102.0 -Properties Configuration=Release -"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Cardboard.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9101.0 -Properties Configuration=Release +"C:\Program Files (x86)\NuGet3\nuget.exe" pack NuGetPackages/MonoGame.Framework.Cardboard.nuspec -OutputDirectory NuGetPackages\Output\ -BasePath . -Version 3.8.9102.0 -Properties Configuration=Release @pause diff --git a/CHANGELOG.md b/CHANGELOG.md index fc32fdf7f1f..68e5c502225 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,56 @@ # Changelog +## 3.8.9102 Release - February 5, 2023 + +### Fixed + - bugfix: Android gameloop will now pause while app is in the background. + - bugfix: FontDescriptionProcessor glyph cropping. + - bugfix: FontDescriptionProcessor glyph whitespaces width. + - bugfix: GlyphPacker failed when FontDescription imports a single character. + - bugfix: [MGCB] processorParam flag changed to 'm'. Fix conflict with processor flag 'p'. + - bugfix: [MGCB] remove multiple flags support. Fix conflict with all non-flag parameters. + - bugfix: [DesktopGL] Game initialization. + +### Performance + - [GL] Single ShaderProgramCache lookup. + - [GL] Use _blendFactorDirty & _blendStateDirty to skip checks. + - Parallel PixelBitmapContent .ctor() and GetPixelData(). + - Multithread content pipeline builder. + +### Changed + - GraphicsAdapter is no longer IDisposable (XNA API compatibility). + - MonoGameAndroidGameView renamed to AndroidSurfaceView + - base ContentTypeWriter.ShouldCompressContent(...) returns true. + - Include type name in the error message for failed resolved Types in content pipeline. + - Report duplicate importers/processors without faling/halting the build. + - [OpenGL/GLES] resources are released immediately when the object is collected/Disposed. + - Song in DesktopGL is re-implemented as DynamicSoundEffectInstance. + - Include FontDescription.DefaultCharacter in the imported Glyphs instead of throwing an error (XNA API compatibility). + - SpriteFont template updated with DefaultCharacter '�'. + - Reverted WinForms editor replaces eto. + - Calling EffectPass.Apply() will always apply the EffectPass that it was called on (XNA API compatibility). +Changing the CurrentTechnique in Effect.OnApply() in no longer allowed and will throw an InvalidOperationException. + - MonoGamePlatform enum BLAZOR renamed to BlazorGL. + - [BlazorGL] workaround for .net7 Unmarshalled interop bug. + +### Added + - The following Classes/Methods are now visible in all platforms. +SetRenderTarget(RenderTarget2D renderTarget, int arraySlice) +SetRenderTarget(RenderTarget3D renderTarget, int arraySlice) + - Restored SpriteFont.Characters property (XNA API compatibility). + - [MGCB] Parameter 'singleThread' (-s) to turn of Multithread build. + - fx macros __DEBUG__, __DIRECTX__, __OPENGL__, __MOJOSHADER__. + - DrawableGameComponent and GameComponent VS2022 template. + - BlazorGL VS2022 template. + +### Removed + - IWindowInfo + - AndroidGameActivity.RenderOnUIThread + - Song.Position + - Protected methods PlatformOnSongRepeat(), PlatformPlay(), PlatformResume() in MediaPlayer. + - GlyphCollection.CopyTo() + - Stadia platform. + ## 3.8.9101 Release - October 9, 2022 ### Fixed diff --git a/Installers/default.build b/Installers/default.build index 4a90b8a56da..c418d4cec4a 100644 --- a/Installers/default.build +++ b/Installers/default.build @@ -4,7 +4,7 @@ - + diff --git a/MonoGame.Framework.Content.Pipeline/Properties/AssemblyInfo.cs b/MonoGame.Framework.Content.Pipeline/Properties/AssemblyInfo.cs index 380aea87a39..3f5970e2a55 100644 --- a/MonoGame.Framework.Content.Pipeline/Properties/AssemblyInfo.cs +++ b/MonoGame.Framework.Content.Pipeline/Properties/AssemblyInfo.cs @@ -34,5 +34,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.8.9101.0")] -[assembly: AssemblyFileVersion("3.8.9101.0")] +[assembly: AssemblyVersion("3.8.9102.0")] +[assembly: AssemblyFileVersion("3.8.9102.0")] diff --git a/MonoGame.Framework/MonoGame.Framework.Android.csproj b/MonoGame.Framework/MonoGame.Framework.Android.csproj index d37324045d9..097c7d39dd4 100644 --- a/MonoGame.Framework/MonoGame.Framework.Android.csproj +++ b/MonoGame.Framework/MonoGame.Framework.Android.csproj @@ -5,8 +5,8 @@ ..\Artifacts\MonoGame.Framework\Android True - 3.8.9101.0 - 3.8.9101.0 + 3.8.9102.0 + 3.8.9102.0 diff --git a/MonoGame.Framework/MonoGame.Framework.DesktopGL.csproj b/MonoGame.Framework/MonoGame.Framework.DesktopGL.csproj index 57e7659026b..7fe38491fc9 100644 --- a/MonoGame.Framework/MonoGame.Framework.DesktopGL.csproj +++ b/MonoGame.Framework/MonoGame.Framework.DesktopGL.csproj @@ -5,8 +5,8 @@ ..\Artifacts\MonoGame.Framework\DesktopGL True - 3.8.9101.0 - 3.8.9101.0 + 3.8.9102.0 + 3.8.9102.0 diff --git a/MonoGame.Framework/MonoGame.Framework.WindowsDX.csproj b/MonoGame.Framework/MonoGame.Framework.WindowsDX.csproj index 4decebf69dc..4fae22c5b61 100644 --- a/MonoGame.Framework/MonoGame.Framework.WindowsDX.csproj +++ b/MonoGame.Framework/MonoGame.Framework.WindowsDX.csproj @@ -5,8 +5,8 @@ ..\Artifacts\MonoGame.Framework\WindowsDX True - 3.8.9101.0 - 3.8.9101.0 + 3.8.9102.0 + 3.8.9102.0 diff --git a/MonoGame.Framework/MonoGame.Framework.WindowsUniversal.csproj b/MonoGame.Framework/MonoGame.Framework.WindowsUniversal.csproj index 81ac6f91e4c..84bcbeb8845 100644 --- a/MonoGame.Framework/MonoGame.Framework.WindowsUniversal.csproj +++ b/MonoGame.Framework/MonoGame.Framework.WindowsUniversal.csproj @@ -4,8 +4,8 @@ ..\Artifacts\MonoGame.Framework\WindowsUniversal - 3.8.9101.0 - 3.8.9101.0 + 3.8.9102.0 + 3.8.9102.0 diff --git a/MonoGame.Framework/MonoGame.Framework.iOS.csproj b/MonoGame.Framework/MonoGame.Framework.iOS.csproj index d9d0385722c..cb6cf5b8ad5 100644 --- a/MonoGame.Framework/MonoGame.Framework.iOS.csproj +++ b/MonoGame.Framework/MonoGame.Framework.iOS.csproj @@ -5,8 +5,8 @@ ..\Artifacts\MonoGame.Framework\iOS True - 3.8.9101.0 - 3.8.9101.0 + 3.8.9102.0 + 3.8.9102.0 diff --git a/MonoGame.Framework/Properties/AssemblyInfo.cs b/MonoGame.Framework/Properties/AssemblyInfo.cs index f5a20e48886..6cfd250623e 100644 --- a/MonoGame.Framework/Properties/AssemblyInfo.cs +++ b/MonoGame.Framework/Properties/AssemblyInfo.cs @@ -38,5 +38,5 @@ // Version information for the assembly which is automatically // set by our automated build process. -[assembly: AssemblyVersion("3.8.9101.0")] -[assembly: AssemblyFileVersion("3.8.9101.0")] +[assembly: AssemblyVersion("3.8.9102.0")] +[assembly: AssemblyFileVersion("3.8.9102.0")] diff --git a/MonoGame.Framework/XNA.Framework.Blazor.csproj b/MonoGame.Framework/XNA.Framework.Blazor.csproj index 47a4617158a..4740e51725e 100644 --- a/MonoGame.Framework/XNA.Framework.Blazor.csproj +++ b/MonoGame.Framework/XNA.Framework.Blazor.csproj @@ -6,8 +6,8 @@ BLAZORGL;STBSHARP_INTERNAL - 3.8.9101.0 - 3.8.9101.0 + 3.8.9102.0 + 3.8.9102.0 diff --git a/MonoGame.Framework/XNA.Framework.Oculus.OvrDX11.csproj b/MonoGame.Framework/XNA.Framework.Oculus.OvrDX11.csproj index 84acbf4bd39..74b5a6a842b 100644 --- a/MonoGame.Framework/XNA.Framework.Oculus.OvrDX11.csproj +++ b/MonoGame.Framework/XNA.Framework.Oculus.OvrDX11.csproj @@ -5,8 +5,8 @@ ..\Artifacts\MonoGame.Framework\OculusOvrDX11 True - 3.8.9101.1 - 3.8.9101.1 + 3.8.9102.0 + 3.8.9102.0 @@ -41,7 +41,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/MonoGame.Framework/XNA.Framework.Ref.csproj b/MonoGame.Framework/XNA.Framework.Ref.csproj index a3dca95e8f7..1717f654a5b 100644 --- a/MonoGame.Framework/XNA.Framework.Ref.csproj +++ b/MonoGame.Framework/XNA.Framework.Ref.csproj @@ -5,8 +5,8 @@ ..\Artifacts\Monogame.Framework\Ref True - 3.8.9101.0 - 3.8.9101.0 + 3.8.9102.0 + 3.8.9102.0 diff --git a/MonoGame.Framework/Xna.Framework.csproj b/MonoGame.Framework/Xna.Framework.csproj index caeea4f26bc..d7778750f52 100644 --- a/MonoGame.Framework/Xna.Framework.csproj +++ b/MonoGame.Framework/Xna.Framework.csproj @@ -4,8 +4,8 @@ ..\Artifacts\Xna.Framework\ - 3.8.9101.0 - 3.8.9101.0 + 3.8.9102.0 + 3.8.9102.0 diff --git a/NuGetPackages/nkast.Xna.Framework.Oculus.OvrDX11.nuspec b/NuGetPackages/nkast.Xna.Framework.Oculus.OvrDX11.nuspec index ef53fc8c324..a4a1da10024 100644 --- a/NuGetPackages/nkast.Xna.Framework.Oculus.OvrDX11.nuspec +++ b/NuGetPackages/nkast.Xna.Framework.Oculus.OvrDX11.nuspec @@ -17,14 +17,14 @@ en-US - + - + diff --git a/Templates/VisualStudio2022/ProjectTemplates/BlazorGL/BlazorGLApplication.csproj b/Templates/VisualStudio2022/ProjectTemplates/BlazorGL/BlazorGLApplication.csproj index 43837ae5e20..9ae9d60b7cc 100644 --- a/Templates/VisualStudio2022/ProjectTemplates/BlazorGL/BlazorGLApplication.csproj +++ b/Templates/VisualStudio2022/ProjectTemplates/BlazorGL/BlazorGLApplication.csproj @@ -28,8 +28,8 @@ - - + + diff --git a/Tools/Content.Pipeline.Editor.WinForms/Properties/AssemblyInfo.cs b/Tools/Content.Pipeline.Editor.WinForms/Properties/AssemblyInfo.cs index 49abf3b2198..34814410d22 100644 --- a/Tools/Content.Pipeline.Editor.WinForms/Properties/AssemblyInfo.cs +++ b/Tools/Content.Pipeline.Editor.WinForms/Properties/AssemblyInfo.cs @@ -36,5 +36,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.8.9101.0")] -[assembly: AssemblyFileVersion("3.8.9101.0")] +[assembly: AssemblyVersion("3.8.9102.0")] +[assembly: AssemblyFileVersion("3.8.9102.0")] diff --git a/Tools/MonoGame.Content.Builder/Properties/AssemblyInfo.cs b/Tools/MonoGame.Content.Builder/Properties/AssemblyInfo.cs index dc269c37ab2..b4fb2570c36 100644 --- a/Tools/MonoGame.Content.Builder/Properties/AssemblyInfo.cs +++ b/Tools/MonoGame.Content.Builder/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.8.9101.0")] -[assembly: AssemblyFileVersion("3.8.9101.0")] +[assembly: AssemblyVersion("3.8.9102.0")] +[assembly: AssemblyFileVersion("3.8.9102.0")] diff --git a/Tools/MonoGame.Effect.Compiler/Properties/AssemblyInfo.cs b/Tools/MonoGame.Effect.Compiler/Properties/AssemblyInfo.cs index 6816079ac33..410d1c1a950 100644 --- a/Tools/MonoGame.Effect.Compiler/Properties/AssemblyInfo.cs +++ b/Tools/MonoGame.Effect.Compiler/Properties/AssemblyInfo.cs @@ -36,5 +36,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.8.9101.0")] -[assembly: AssemblyFileVersion("3.8.9101.0")] +[assembly: AssemblyVersion("3.8.9102.0")] +[assembly: AssemblyFileVersion("3.8.9102.0")]