@jkoritzinsky jkoritzinsky released this Aug 24, 2018 · 8 commits to master since this release

Assets 2

This release fixes a variety of bugs due to bugs in or incompatibilities with SharpGenTools 1.0.0. The packages are available on NuGet.

Aug 13, 2018
Merge pull request #1063 from sharpdx/fix-sharpgen
Add missing D2D1 Result Codes.
May 31, 2018
Merge pull request #1025 from amerkoleci/xinput_fix
Correctly map XInput GamepadButtonFlags.

@xoofx xoofx released this May 30, 2017 · 144 commits to master since this release

Assets 2

This version is only a fix for publishing signed assemblies that were not part of 4.0.0 build.

For more information about 4.0.0, check directly the 4.0.0 release notes.

@xoofx xoofx released this May 29, 2017 · 152 commits to master since this release

Assets 2

Overview

This new release of SharpDX contains:

  • Several bug fixes, see the full list below
  • A migration of the build system to VS 2017
  • Added support for the .NET Core Platform (netcoreapp1.0, netstandard1.1, uap10)

This release is the dedicated work of external contributors, thanks a lot for their work!

The binaries are accessible on nuget.

Changelog since v3.1.1

Build

Comments

  • Add inherit on basic disposes and tostring (changes)
  • Fix include path in order to remove some warnings in visual studio (changes)
  • Fix path on compositor (changes)

Direct2D1

Direct3D11

Direct3D12

  • Add code comments and fix include path where relevant (changes)

Doc

  • Fix documentation comments on function reflection. Add comment for return parameter (changes)

General

  • Restored generate documentation (changes)

Misc

  • Add desktop check and documentation to CapturePhotoConfirmation. (changes)
  • Add inherit for Size2F ToString (changes)
  • Add missing TypeExtensions file (changes)
  • Add Rebuild target to SharpDXGen (changes)
  • Add support for net40 target (issue #877) (changes)
  • Added build output for .NET Core apps and UWP apps for the core SharpDX library. Refactored some of the common properties into MSBuild .props and .targets files. (changes)
  • Added convenience mappings for capture sink methods that SharpGen didn't generate. (changes)
  • Added documentation for wrappers. (changes)
  • Added IFormattable to FourCC to provide customised string representation when building Media Foundation GUIDs. (changes)
  • Added mappings for IMFCaptureEngine and related APIs. (changes)
  • Added public Initialize method onto CaptureEngine. (changes)
  • Added shadows and vtables for callback interfaces. (changes)
  • Added useful constructors for the CaptureEngineClassFactory and the CaptureEngine. (changes)
  • Added vswhere executable to repo. (changes)
  • Changed all references to GCC Xml outside of the CastXml class to refer to CastXml. References in CastXml.cs stay because we are using the GCC-XML compatible output format. (changes)
  • Changed base package to use new project system. Currently builds on .net45 and netstandard1.1 (changes)
  • Changed SharpDX.Tests assembly to make tests discoverable in VS. (changes)
  • Changed solution structure and SharpDX.build file to set up a build structure that generates NuGet packages in the Bin folder. (changes)
  • Cleaned up project style and removed now-unused .nuspec file (package info is in the .csproj and .props files) (changes)
  • Cleaned up SharpGen code gen for the different app types. Still a little glitchy, but is better than before (doesn't overwrite itself). (changes)
  • Converted build script to a cmd file. (changes)
  • Converted D3D10 to the new project system. (changes)
  • Converted DirectComposition to the new project system. (changes)
  • Converted SharpDX.Desktop to the new project system. (changes)
  • CoreCLR support: replaced HandleRef by IntPtr in Pinvoke routines as HandleRef is not present in CoreCLR/CoreFX. (changes)
  • Enabled binding APIs up to Windows 10 Redstone 1 (Anniversary Edition). Now bindings for all APIs available as of 3/16/2017 will be generated. (changes)
  • Fix appveyor.yml (changes)
  • Fix code comments for color, and add alpha description (changes)
  • Fix sharpdx.DirectComposition project metadata. (changes)
  • Fixed appveyor artifact path. (changes)
  • Fixed artifact path for NuGet Packages (changes)
  • Fixed Assembly mapping file checker to correctly detect changes and generate for the correct app type. (changes)
  • fixed help text BoundingBox -> BoundingSphere (changes)
  • Fixed paths in build script (changes)
  • Fixed PtrToStringAnsi and PtrToStringUni to correctly return null-terminating string instead of always returning string with maxLength chars (changes)
  • fixed readme.md (changes)
  • Freeing allocated string in DebugName setter (changes)
  • Fully populate derived structs (changes)
  • Got CastXML working to process the headers. Only a few glitches here and there that need to be fixed. (changes)
  • Improved CapturePhotoConfirmation mapping. (changes)
  • Making progress on getting sharpgen's detection of not needed work (only gen when needed) working correctly again. (changes)
  • Matrix3x2.Multiply now behaves like other Matrix.Multiply functions (changes)
  • Moved AssemblyInfo into the .props file. (changes)
  • Moved UWP support targets into SharpDX.targets (changes)
  • Moved XAudio2 to the new project system. (changes)
  • Moved XInput over to the new project system. (changes)
  • Ported over DirectInput to new project system. (changes)
  • Ported SharpDX.Mathematics over to the new project system. (changes)
  • Ported SharpDX.RawInput over to the new project system (net45 only because of WinForms dependency). (changes)
  • Provide mapping to IDWriteFontFallback::MapCharacters method (changes)
  • Re added conditional code signing. (changes)
  • RectangleF.Contains now includes right and lower border (changes)
  • Refactored code to use vswhere to find any compatible VS2017 or newer installation for the VC toolset location. (changes)
  • Refactored running SharpGen into a seperate MSBuild project because there were issues with the MSBuild glob includes finding the files if they were newly created before. (changes)
  • Remove parameter mapping. (changes)
  • Remove Windows 10 SDK requirement from the SharpGen batch script (this requirement is enforced with the Mapping files) (changes)
  • Removed dead code in SharpGen. (changes)
  • Removed GCCXML from the repo (changes)
  • Removed unused (outdated) build scripts. (changes)
  • Update DirectSound to the new project system. (changes)
  • update maping on window 10 SDK 15063 (changes)
  • update mapping for NTDDI_WIN10_RS2 (changes)
  • Update README to include requirements to build this branch (for when this is merged into master) (changes)
  • Update to new Reflection API that works equally well under both the .NET Framework and CoreCLR. (changes)
  • Updated appveyor.yml (changes)
  • Updated capture attributes to more accurate types. (changes)
  • Updated D3D11.Effects to the new project system. (changes)
  • Updated Direct2D1 project to new project system. (changes)
  • Updated Direct3D11 to the new project system. (changes)
  • Updated Direct3D12 to the new project system. Removed some unneeded props from a previous build change. (changes)
  • Updated Direct3D9 to use the new project system. Added in an MSBuild property to allow projects to opt out of SharpGen (i.e. when their code is not being generated). (changes)
  • Updated DirectManipulation to the new project system (changes)
  • Updated DXGI project to new project system. (changes)
  • Updated enumeration mapping. (changes)
  • Updated mappings to fix an issue in API partitioning that showed up with the new (multi-gen) code gen process. (changes)
  • Updated MediaFoundation to the new project system. (changes)
  • Updated project files to not refer to $(SolutionDir) so that dotnet restore would work. Added dotnet restore to the build script. (changes)
  • Updated props file to make packages pre-release. Made base version 4.0.0 because of breaking backward compatibility. (changes)
  • Updated SharpDX.Animation and SharpDX.D3DCompiler to new project system (incl nuget package generation) (changes)
  • Updated SharpDX.Animation to use the new project system. (changes)
  • Updated SharpGen to generate different app configurations based on a command line flag. Modify targets and project files to utilize this flag and optimally build the code with the different APIs in a single build. (changes)
  • Updated variant.cs for issue #787 (changes)

SharpDX.Direct3D12

  • Add constructor overload on StaticSamplerDescription, to take a SamplerStateDescription as input. (changes)
  • Add overloads for SetDescriptorHeaps and SetVertexBuffers in GraphicsCommandList (changes)

SharpGen

  • "bases" Attribute is optional (changes)
  • "extern" attribute now only indicates an explicit extern storage qualifier. Use "inline" as it is equivalent for SharpDX, for now (changes)
  • Add CastXML binaries (CastXML/CastXML@c6cf62a) (changes)
  • Add fundamental type "bool" (changes)
  • Anonymous declarations have empty names in CastXML (changes)
  • Array types don't have "size" attribute anymore. "max" contains the correct dimension. (changes)
  • Clang lists attributes in reverse order (GCC too?). Also, writable/readable are pre-conditions (changes)
  • Correctly handle literals in Guids (changes)
  • Execute CastXML instead of gccxml (changes)
  • Fix path for include, to remove warnings as file was not found (changes)
  • Handle format of C++ floating point literals (changes)
  • In CastXML, init attributes contain expressions. Cast to correct type if necessary (changes)
  • Use "annotate" instead of "gccxml" attribute (changes)
Oct 27, 2016
Bump version to 3.1.1

@xoofx xoofx released this Oct 19, 2016 · 298 commits to master since this release

Assets 2

Changelog between 3.0.2 and 3.1.0 version

Build

  • Add info for building on VS 2015 to readme.md (changes)
  • Add info for building on VS 2015 Update 3 (changes)
  • Update MSDNDoc.zip (changes)
  • Update solution version to VS2015 (changes)

Desktop

  • add lost CodeComments.xml file (changes)
  • fix OnMonitorChanged (changes)

Direct2D

  • update mapping for Direct2D (changes)
  • update mapping for DirectWrite (changes)

Direct3D10

Direct3D11

  • add support Device4 (changes)
  • Improve support Direct3D 11.3 (changes)
  • remove nameof operator (changes)
  • rename RaterizerState.cs => RasterizerState.cs. (changes)
  • Fix for null reference exception in DeviceContext.RasterizerStage (changes)

Direct3D12

  • Simplify marshaling for PR #773 (issue #667) (changes)
  • Disable code generation for ID3D12RootSignatureDeserializer and RootSignatureDescription. Rely on manual marshaling instead. (changes)

DirectManipulation

  • change assembly description (changes)

DXGI

  • add mapping DXGI_OVERLAY_SUPPORT_FLAG (changes)
  • fix mapping for StoreApp (changes)
  • FormatHelper public static method's convert to extensons (changes)
  • Improve to DXGI 1.5 (changes)

General

Mathematics

  • fix bug in Collision.ClosestPointPointTriangle() (changes)

MediaFoundation

  • Revert "remove" to keep around mapping.xml for MediaFoundation/DirectX (changes)
  • changes to add support for the SharpDX.MediaFoundation/DirectX code (changes)

DirectComposition

  • Add missing method to create Target from Device (changes)

Misc

  • Add .editorconfig file. (changes)
  • Fix bug in #785 in DataStream (changes)
  • fix initialization of local blockAlign with default values. (changes)
  • Fix issue with signing assemblies from PR. Remove SharpDXSign config from SharpDX.build and setup this from AppVeyor (changes)
  • Fix the missing arguments and broken test (changes)
  • Fix: Memory leak for D3D11 device when CreateWithSwapChain is used (changes)
  • Fixed #744 DeviceContext1.ClearView()'s 'color' parameter is of type 'float' when it should be a 'RawColor4'. (changes)
  • fixup locations of DirectX support inside SharpDX.MediaFoundation (changes)
  • GraphicsCommandList improvements and add better BeginEvent and SetMarker methods. (changes)
  • Improve Equals Size2, SizeF (changes)
  • Leak Device (changes)
  • Mapping improvements for ID3D11On12Device and Direct3D12 ResourceStates. (changes)
  • Modification of ReadFromSubresource API / ReadFromSubresourceの修正 (changes)
  • move to correct location (changes)
  • Moved the re-added DirectX source code, and the generated under 2.6.3 files into a Desktop only conditional, along with references to SharpDX.Mathematics and SharpDX.Direct3D9 (changes)
  • Output a markdown file for the git log (changes)
  • RawInputEventArgs (and thus also HidInputEventArgs, KeyboardInputEventArgs, and MouseInputEventArgs) now has a WindowHandle property that can be used to retrieve the handle of the window that received the raw input event. (changes)
  • remove (changes)
  • Replaced perspective view matrix calculation (changes)
  • ReSharper settings upgrade (changes)
  • SwapChain.Present and SwapChain1.Present now return their result codes so that the application can check whether the window is occluded. This should resolve #746. (changes)
  • The SharpDX commit b9f7519 causes the .NET Native compiler to crash. (changes)
  • Update CustomDevice.cs (changes)
  • Update MouseState.cs (changes)
  • Validate blockAlign can be cast to short (changes)

Samples

SharpGen

  • StringToHGlobalUni is not necessary since it is already the same layout as .NET strings, use "fixed" instead (changes)

@xoofx xoofx released this Mar 11, 2016 · 383 commits to master since this release

Assets 3

Maintenance release fixing an issue with XAudio2

Jan 17, 2016
[Build] Fix nuget for SharpDX.Animation

@xoofx xoofx released this Dec 25, 2015 · 419 commits to master since this release

Assets 3

SharpDX 3.0.0

This is the final release for the 3.0.0 version bringing some major new features and changes:

  • Add support for Direct3D12 to get the best of your graphics card (only compatible with Windows 10 10586)
  • Thanks to the work from the diet branch, SharpDX main assembly is a bit more lightweight.
  • We have simplified the distribution and packaging by supporting only 2 platforms and .NET versions:
    • Desktop with .NET 4.5
    • StoreApp with PCL .NET 4.5 valid for Windows 8.1+ and Windows Phone 8.1+ development
  • All Mathematics (Vector3, Vector4...) have been moved to a dedicated assembly. The reason behind this change is to put SharpDX on a diet, where higher level API (like Xenko, MonoGame...) are no longer forced to include this API. In order to support this, all SharpDX assemblies are now using interop types (RawVector3, RawVector4 from SharpDX.Mathematics.Interop namespace)
  • A new assembly SharpDX.Desktop that contains RenderForm, RenderLoop previously in SharpDX assembly
  • XInput and XAudio are now providing a backward compatible interface between the various versions. For Desktop, it means that the runtime will try to detect the correct versions for XInput (9.10, 1.3, 1.4) or XAudio (2.7 or 2.8). For Store Apps, the latest one will be used.

Assemblies are both available from a zip and from NuGet.
Note that distribution from NuGet should be now more stable and usable than previous versions due to the diet work.

We have also clean-up the API:

  • The DirectX June 2010 SDK is no longer supported. For example, methods like DX11 are no longer supported (e.g. Texture.FromFile...)
  • Direct3D10 API has been removed
  • The Toolkit is no longer supported and distributed
  • Direct3D9, DirectSound, DirectInput, RawInput have been frozen so that the code generated from SharpGen codegen from C++ is no longer running. It means that these APIs will no longer receive major changes and should be considered as deprecated.

Projects that are still requiring to use .NET 2.0 or .NET 4.0, or API like Direct3D10 will have to continue using SharpDX 2.6.3.

Building from the sources

In order to compile SharpDX from the sources, It requires to install the Windows SDK for Windows 10

How to use the samples

The samples are now part of a submodule of the SharpDX repository. In order to use the sample, you can download the SharpDX zip binaries and unzip the Bin directory so that it is at the same level than the Samples directory:

  • Bin\DesktopApp\SharpDX.dll...etc.
  • Samples\Desktop\...... etc.

Some scripts will be added later to simplify the setup of the samples.

Best,
xoofx