Skip to content

Commit

Permalink
ver3.8.9102 (#174)
Browse files Browse the repository at this point in the history
* ver3.8.9102

* Changelog 3.8.9102
  • Loading branch information
nkast authored Feb 5, 2023
1 parent 2d11526 commit 3872e92
Show file tree
Hide file tree
Showing 19 changed files with 94 additions and 43 deletions.
18 changes: 9 additions & 9 deletions BuildNuget.bat
Original file line number Diff line number Diff line change
@@ -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
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<T> .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
Expand Down
2 changes: 1 addition & 1 deletion Installers/default.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<property name="os" value="${operating-system::get-platform(environment::get-operating-system())}" />

<!-- The build version number we can get from the environment variable -->
<property name="buildNumber" value="3.8.9101.0"/>
<property name="buildNumber" value="3.8.9102.0"/>
<if test="${environment::variable-exists('BUILD_NUMBER')}">
<property name="buildNumber" value="${environment::get-variable('BUILD_NUMBER')}"/>
</if>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
4 changes: 2 additions & 2 deletions MonoGame.Framework/MonoGame.Framework.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<BaseOutputPath>..\Artifacts\MonoGame.Framework\Android</BaseOutputPath>
<AppendTargetFrameworkToOutputPath>True</AppendTargetFrameworkToOutputPath>

<Version>3.8.9101.0</Version>
<AssemblyVersion>3.8.9101.0</AssemblyVersion>
<Version>3.8.9102.0</Version>
<AssemblyVersion>3.8.9102.0</AssemblyVersion>

</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions MonoGame.Framework/MonoGame.Framework.DesktopGL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<BaseOutputPath>..\Artifacts\MonoGame.Framework\DesktopGL</BaseOutputPath>
<AppendTargetFrameworkToOutputPath>True</AppendTargetFrameworkToOutputPath>

<Version>3.8.9101.0</Version>
<AssemblyVersion>3.8.9101.0</AssemblyVersion>
<Version>3.8.9102.0</Version>
<AssemblyVersion>3.8.9102.0</AssemblyVersion>

</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions MonoGame.Framework/MonoGame.Framework.WindowsDX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<BaseOutputPath>..\Artifacts\MonoGame.Framework\WindowsDX</BaseOutputPath>
<AppendTargetFrameworkToOutputPath>True</AppendTargetFrameworkToOutputPath>

<Version>3.8.9101.0</Version>
<AssemblyVersion>3.8.9101.0</AssemblyVersion>
<Version>3.8.9102.0</Version>
<AssemblyVersion>3.8.9102.0</AssemblyVersion>

</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions MonoGame.Framework/MonoGame.Framework.WindowsUniversal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<PropertyGroup>
<BaseOutputPath>..\Artifacts\MonoGame.Framework\WindowsUniversal</BaseOutputPath>

<Version>3.8.9101.0</Version>
<AssemblyVersion>3.8.9101.0</AssemblyVersion>
<Version>3.8.9102.0</Version>
<AssemblyVersion>3.8.9102.0</AssemblyVersion>

</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions MonoGame.Framework/MonoGame.Framework.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<BaseOutputPath>..\Artifacts\MonoGame.Framework\iOS</BaseOutputPath>
<AppendTargetFrameworkToOutputPath>True</AppendTargetFrameworkToOutputPath>

<Version>3.8.9101.0</Version>
<AssemblyVersion>3.8.9101.0</AssemblyVersion>
<Version>3.8.9102.0</Version>
<AssemblyVersion>3.8.9102.0</AssemblyVersion>

</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions MonoGame.Framework/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
4 changes: 2 additions & 2 deletions MonoGame.Framework/XNA.Framework.Blazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

<DefineConstants>BLAZORGL;STBSHARP_INTERNAL</DefineConstants>

<Version>3.8.9101.0</Version>
<AssemblyVersion>3.8.9101.0</AssemblyVersion>
<Version>3.8.9102.0</Version>
<AssemblyVersion>3.8.9102.0</AssemblyVersion>

</PropertyGroup>

Expand Down
6 changes: 3 additions & 3 deletions MonoGame.Framework/XNA.Framework.Oculus.OvrDX11.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<BaseOutputPath>..\Artifacts\MonoGame.Framework\OculusOvrDX11</BaseOutputPath>
<AppendTargetFrameworkToOutputPath>True</AppendTargetFrameworkToOutputPath>

<Version>3.8.9101.1</Version>
<AssemblyVersion>3.8.9101.1</AssemblyVersion>
<Version>3.8.9102.0</Version>
<AssemblyVersion>3.8.9102.0</AssemblyVersion>

</PropertyGroup>

Expand Down Expand Up @@ -41,7 +41,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="MonoGame.Framework.WindowsDX.9000" Version="3.8.9101" />
<PackageReference Include="MonoGame.Framework.WindowsDX.9000" Version="3.8.9102" />
<PackageReference Include="nkast.LibOVR" Version="1.0.0" />
<PackageReference Include="SharpDX" Version="4.0.1" />
<PackageReference Include="SharpDX.DXGI" Version="4.0.1" />
Expand Down
4 changes: 2 additions & 2 deletions MonoGame.Framework/XNA.Framework.Ref.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<BaseOutputPath>..\Artifacts\Monogame.Framework\Ref</BaseOutputPath>
<AppendTargetFrameworkToOutputPath>True</AppendTargetFrameworkToOutputPath>

<Version>3.8.9101.0</Version>
<AssemblyVersion>3.8.9101.0</AssemblyVersion>
<Version>3.8.9102.0</Version>
<AssemblyVersion>3.8.9102.0</AssemblyVersion>

</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions MonoGame.Framework/Xna.Framework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<PropertyGroup>
<BaseOutputPath>..\Artifacts\Xna.Framework\</BaseOutputPath>

<Version>3.8.9101.0</Version>
<AssemblyVersion>3.8.9101.0</AssemblyVersion>
<Version>3.8.9102.0</Version>
<AssemblyVersion>3.8.9102.0</AssemblyVersion>

</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions NuGetPackages/nkast.Xna.Framework.Oculus.OvrDX11.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<language>en-US</language>
<dependencies>
<group targetFramework=".NETFramework4.0">
<dependency id="MonoGame.Framework.WindowsDX.9000" version="3.8.9101" />
<dependency id="MonoGame.Framework.WindowsDX.9000" version="3.8.9102" />
<dependency id="nkast.LibOVR" version="1.0.0" />
<dependency id="SharpDX" version="4.0.1" />
<dependency id="SharpDX.DXGI" version="4.0.1" />
<dependency id="SharpDX.Direct3D11" version="4.0.1" />
</group>
<group targetFramework="net6.0-windows7.0">
<dependency id="MonoGame.Framework.WindowsDX.9000" version="3.8.9101" />
<dependency id="MonoGame.Framework.WindowsDX.9000" version="3.8.9102" />
<dependency id="nkast.LibOVR" version="1.0.0" />
<dependency id="SharpDX" version="4.0.1" exclude="Build,Analyzers" />
<dependency id="SharpDX.DXGI" version="4.0.1" exclude="Build,Analyzers" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="nkast.Xna.Framework" Version="3.8.9101" />
<PackageReference Include="nkast.Xna.Framework.Blazor" Version="3.8.9101" />
<PackageReference Include="nkast.Xna.Framework" Version="3.8.9102" />
<PackageReference Include="nkast.Xna.Framework.Blazor" Version="3.8.9102" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.11" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.11" PrivateAssets="all" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
4 changes: 2 additions & 2 deletions Tools/MonoGame.Content.Builder/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
4 changes: 2 additions & 2 deletions Tools/MonoGame.Effect.Compiler/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

0 comments on commit 3872e92

Please sign in to comment.