Revision: 2203
Author: josh.petrie
Date: Thu Jun 7 20:44:58 2012
Log: SlimDXv2 experimental branch from GitHub, for posterity.
http://code.google.com/p/slimdx/source/detail?r=2203
Added:
/branches/v2-experimental
/branches/v2-experimental/Build.bat
/branches/v2-experimental/Build.msbuild
/branches/v2-experimental/Dependencies
/branches/v2-experimental/Dependencies/Cecil
/branches/v2-experimental/Dependencies/Cecil/License.txt
/branches/v2-experimental/Dependencies/Cecil/Mono.Cecil.dll
/branches/v2-experimental/Dependencies/Cecil/Mono.Cecil.pdb
/branches/v2-experimental/Dependencies/Clang
/branches/v2-experimental/Dependencies/Clang/Clang.dll
/branches/v2-experimental/Dependencies/Clang/Clang.pdb
/branches/v2-experimental/Dependencies/Clang/libclang.dll
/branches/v2-experimental/Dependencies/GOLD
/branches/v2-experimental/Dependencies/GOLD/GoldParser.chm
/branches/v2-experimental/Dependencies/GOLD/GoldParser.dll
/branches/v2-experimental/Dependencies/GOLD/license.txt
/branches/v2-experimental/Dependencies/Json.NET
/branches/v2-experimental/Dependencies/Json.NET/Newtonsoft.Json.dll
/branches/v2-experimental/Dependencies/Json.NET/Newtonsoft.Json.pdb
/branches/v2-experimental/Dependencies/Json.NET/Newtonsoft.Json.xml
/branches/v2-experimental/Dependencies/Json.NET/license.txt
/branches/v2-experimental/Dependencies/SlimBuffer
/branches/v2-experimental/Dependencies/SlimBuffer/SlimBuffer.dll
/branches/v2-experimental/Dependencies/SlimBuffer/SlimBuffer.pdb
/branches/v2-experimental/Dependencies/SlimMath
/branches/v2-experimental/Dependencies/SlimMath/SlimMath.dll
/branches/v2-experimental/Dependencies/SlimMath/SlimMath.pdb
/branches/v2-experimental/Dependencies/Wave
/branches/v2-experimental/Dependencies/Wave/license.txt
/branches/v2-experimental/Dependencies/Wave/wave.exe
/branches/v2-experimental/License.txt
/branches/v2-experimental/README.markdown
/branches/v2-experimental/SlimDX.sln
/branches/v2-experimental/Source
/branches/v2-experimental/Source/Products
/branches/v2-experimental/Source/Products/SlimDX
/branches/v2-experimental/Source/Products/SlimDX/Color3.cs
/branches/v2-experimental/Source/Products/SlimDX/Color4.cs
/branches/v2-experimental/Source/Products/SlimDX/ComObject.cs
/branches/v2-experimental/Source/Products/SlimDX/ComObjectFactory.cs
/branches/v2-experimental/Source/Products/SlimDX/Extentions
/branches/v2-experimental/Source/Products/SlimDX/Extentions/ByteBufferExtensions.cs
/branches/v2-experimental/Source/Products/SlimDX/Properties
/branches/v2-experimental/Source/Products/SlimDX/Properties/AssemblyInfo.cs
/branches/v2-experimental/Source/Products/SlimDX/ReferenceTracker.cs
/branches/v2-experimental/Source/Products/SlimDX/RenderLoop.cs
/branches/v2-experimental/Source/Products/SlimDX/Result.cs
/branches/v2-experimental/Source/Products/SlimDX/SlimDX.csproj
/branches/v2-experimental/Source/Products/SlimDX/SlimDX.json
/branches/v2-experimental/Source/Products/SlimDX.DXGI
/branches/v2-experimental/Source/Products/SlimDX.DXGI/DXGI.cs
/branches/v2-experimental/Source/Products/SlimDX.DXGI/DXGI.json
/branches/v2-experimental/Source/Products/SlimDX.DXGI/DXGI.xml
/branches/v2-experimental/Source/Products/SlimDX.DXGI/Extensions
/branches/v2-experimental/Source/Products/SlimDX.DXGI/Extensions/SwapChain.cs
/branches/v2-experimental/Source/Products/SlimDX.DXGI/Properties
/branches/v2-experimental/Source/Products/SlimDX.DXGI/Properties/AssemblyInfo.cs
/branches/v2-experimental/Source/Products/SlimDX.DXGI/SlimDX.DXGI.csproj
/branches/v2-experimental/Source/Products/SlimDX.Direct3D11
/branches/v2-experimental/Source/Products/SlimDX.Direct3D11/Direct3D11.cs
/branches/v2-experimental/Source/Products/SlimDX.Direct3D11/Direct3D11.json
/branches/v2-experimental/Source/Products/SlimDX.Direct3D11/Direct3D11.xml
/branches/v2-experimental/Source/Products/SlimDX.Direct3D11/Properties
/branches/v2-experimental/Source/Products/SlimDX.Direct3D11/Properties/AssemblyInfo.cs
/branches/v2-experimental/Source/Products/SlimDX.Direct3D11/SlimDX.Direct3D11.csproj
/branches/v2-experimental/Source/Products/SlimDX.ShaderCompiler
/branches/v2-experimental/Source/Products/SlimDX.ShaderCompiler/Properties
/branches/v2-experimental/Source/Products/SlimDX.ShaderCompiler/Properties/AssemblyInfo.cs
/branches/v2-experimental/Source/Products/SlimDX.ShaderCompiler/ShaderCompiler.cs
/branches/v2-experimental/Source/Products/SlimDX.ShaderCompiler/ShaderCompiler.json
/branches/v2-experimental/Source/Products/SlimDX.ShaderCompiler/ShaderCompiler.model
/branches/v2-experimental/Source/Products/SlimDX.ShaderCompiler/ShaderCompiler.xml
/branches/v2-experimental/Source/Products/SlimDX.ShaderCompiler/SlimDX.ShaderCompiler.csproj
/branches/v2-experimental/Source/Samples
/branches/v2-experimental/Source/Samples/MiniTri11
/branches/v2-experimental/Source/Samples/MiniTri11/MiniTri11.csproj
/branches/v2-experimental/Source/Samples/MiniTri11/MiniTri11.fx
/branches/v2-experimental/Source/Samples/MiniTri11/Program.cs
/branches/v2-experimental/Source/Samples/MiniTri11/Properties
/branches/v2-experimental/Source/Samples/MiniTri11/Properties/AssemblyInfo.cs
/branches/v2-experimental/Source/SharedAssemblyInfo.cs
/branches/v2-experimental/Source/Tools
/branches/v2-experimental/Source/Tools/Api
/branches/v2-experimental/Source/Tools/Api/Api
/branches/v2-experimental/Source/Tools/Api/Api/Api.csproj
/branches/v2-experimental/Source/Tools/Api/Api/ApiModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/EnumerationModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/EnumerationValueModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/FunctionModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/InterfaceModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/MethodModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/ModelJson.cs
/branches/v2-experimental/Source/Tools/Api/Api/ModelReader.cs
/branches/v2-experimental/Source/Tools/Api/Api/ModelWriter.cs
/branches/v2-experimental/Source/Tools/Api/Api/ModelXml.cs
/branches/v2-experimental/Source/Tools/Api/Api/ParameterModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/ParameterModelFlags.cs
/branches/v2-experimental/Source/Tools/Api/Api/Properties
/branches/v2-experimental/Source/Tools/Api/Api/Properties/AssemblyInfo.cs
/branches/v2-experimental/Source/Tools/Api/Api/StructureMemberModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/StructureModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/TranslationModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/TypeModel.cs
/branches/v2-experimental/Source/Tools/Api/Api/VariableModel.cs
/branches/v2-experimental/Source/Tools/Api/Api.csproj
/branches/v2-experimental/Source/Tools/Api/ApiModel.cs
/branches/v2-experimental/Source/Tools/Api/EnumerationModel.cs
/branches/v2-experimental/Source/Tools/Api/EnumerationValueModel.cs
/branches/v2-experimental/Source/Tools/Api/FunctionModel.cs
/branches/v2-experimental/Source/Tools/Api/InterfaceModel.cs
/branches/v2-experimental/Source/Tools/Api/MethodModel.cs
/branches/v2-experimental/Source/Tools/Api/ModelJson.cs
/branches/v2-experimental/Source/Tools/Api/ModelReader.cs
/branches/v2-experimental/Source/Tools/Api/ModelWriter.cs
/branches/v2-experimental/Source/Tools/Api/ModelXml.cs
/branches/v2-experimental/Source/Tools/Api/ParameterModel.cs
/branches/v2-experimental/Source/Tools/Api/ParameterModelFlags.cs
/branches/v2-experimental/Source/Tools/Api/Properties
/branches/v2-experimental/Source/Tools/Api/Properties/AssemblyInfo.cs
/branches/v2-experimental/Source/Tools/Api/StructureMemberModel.cs
/branches/v2-experimental/Source/Tools/Api/StructureModel.cs
/branches/v2-experimental/Source/Tools/Api/TranslationModel.cs
/branches/v2-experimental/Source/Tools/Api/TypeModel.cs
/branches/v2-experimental/Source/Tools/Api/VariableModel.cs
/branches/v2-experimental/Source/Tools/Combiner
/branches/v2-experimental/Source/Tools/Combiner/Combiner.csproj
/branches/v2-experimental/Source/Tools/Combiner/Program.cs
/branches/v2-experimental/Source/Tools/Combiner/Properties
/branches/v2-experimental/Source/Tools/Combiner/Properties/AssemblyInfo.cs
/branches/v2-experimental/Source/Tools/Generator
/branches/v2-experimental/Source/Tools/Generator/Composition
/branches/v2-experimental/Source/Tools/Generator/Composition/CompositingEngine.cs
/branches/v2-experimental/Source/Tools/Generator/Composition/CompositionFlags.cs
/branches/v2-experimental/Source/Tools/Generator/Configuration.cs
/branches/v2-experimental/Source/Tools/Generator/Formatter
/branches/v2-experimental/Source/Tools/Generator/Formatter/ArrayFormatter.cs
/branches/v2-experimental/Source/Tools/Generator/Formatter/DirectFormatter.cs
/branches/v2-experimental/Source/Tools/Generator/Formatter/EnumerationFormatter.cs
/branches/v2-experimental/Source/Tools/Generator/Formatter/Formatter.cs
/branches/v2-experimental/Source/Tools/Generator/Formatter/IndirectFormatter.cs
/branches/v2-experimental/Source/Tools/Generator/Formatter/InterfaceFormatter.cs
/branches/v2-experimental/Source/Tools/Generator/Formatter/StringFormatter.cs
/branches/v2-experimental/Source/Tools/Generator/Formatter/StructureFormatter.cs
/branches/v2-experimental/Source/Tools/Generator/Generator.csproj
/branches/v2-experimental/Source/Tools/Generator/MarshalBehavior.cs
/branches/v2-experimental/Source/Tools/Generator/MarshallingService.cs
/branches/v2-experimental/Source/Tools/Generator/Parsing
/branches/v2-experimental/Source/Tools/Generator/Parsing/HeaderParser.cs
/branches/v2-experimental/Source/Tools/Generator/Parsing/IParseNode.cs
/branches/v2-experimental/Source/Tools/Generator/Parsing/NonTerminal.cs
/branches/v2-experimental/Source/Tools/Generator/Parsing/Preprocessor.cs
/branches/v2-experimental/Source/Tools/Generator/Parsing/Terminal.cs
/branches/v2-experimental/Source/Tools/Generator/Program.cs
/branches/v2-experimental/Source/Tools/Generator/Properties
/branches/v2-experimental/Source/Tools/Generator/Properties/AssemblyInfo.cs
/branches/v2-experimental/Source/Tools/Generator/TemplateCallbacks.cs
/branches/v2-experimental/Source/Tools/Generator/TemplateEngine.cs
/branches/v2-experimental/Source/Tools/Generator/Templates
/branches/v2-experimental/Source/Tools/Generator/Templates/Functions
/branches/v2-experimental/Source/Tools/Generator/Templates/Functions/Function.txt
/branches/v2-experimental/Source/Tools/Generator/Templates/Functions/FunctionBind.txt
/branches/v2-experimental/Source/Tools/Generator/Templates/Functions/InterfaceMethod.txt
/branches/v2-experimental/Source/Tools/Generator/Templates/Types
/branches/v2-experimental/Source/Tools/Generator/Templates/Types/Api.txt
/branches/v2-experimental/Source/Tools/Generator/Templates/Types/Enumeration.txt
/branches/v2-experimental/Source/Tools/Generator/Templates/Types/EnumerationValue.txt
/branches/v2-experimental/Source/Tools/Generator/Templates/Types/Interface.txt
/branches/v2-experimental/Source/Tools/Generator/Templates/Types/Structure.txt
/branches/v2-experimental/Source/Tools/Generator/Templates/Types/StructureMember.txt
/branches/v2-experimental/Source/Tools/Generator/Trampoline
/branches/v2-experimental/Source/Tools/Generator/Trampoline/Trampoline.cs
/branches/v2-experimental/Source/Tools/Generator/Trampoline/TrampolineAssemblyBuilder.cs
/branches/v2-experimental/Source/Tools/Generator/Trampoline/TrampolineParameter.cs
/branches/v2-experimental/Source/Tools/Generator/Trampoline/TrampolineParameterOptions.cs
/branches/v2-experimental/Source/Tools/Generator/header_grammar.cgt
/branches/v2-experimental/Source/Tools/Generator/header_grammar.grm
/branches/v2-experimental/Source/Tools/Parser
/branches/v2-experimental/Source/Tools/Parser/Parser.csproj
/branches/v2-experimental/Source/Tools/Parser/Program.cs
/branches/v2-experimental/Source/Tools/Parser/Properties
/branches/v2-experimental/Source/Tools/Parser/Properties/AssemblyInfo.cs
=======================================
--- /dev/null
+++ /branches/v2-experimental/Build.bat Thu Jun 7 20:44:58 2012
@@ -0,0 +1,4 @@
+@echo off
+call "%VS100COMNTOOLS%/vsvars32.bat"
+msbuild "%~dp0\Build.msbuild"
+pause
=======================================
--- /dev/null
+++ /branches/v2-experimental/Build.msbuild Thu Jun 7 20:44:58 2012
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
+ <Target Name="Build">
+ <MSBuild Projects="SlimDX.sln"
Properties="Configuration=Release;Platform=Any CPU"/>
+ <CreateItem
Include="Source\Products\**\bin\Release\*.dll;Source\Products\**\bin\Release\*.pdb">
+ <Output TaskParameter="Include" ItemName="Artifacts" />
+ </CreateItem>
+ <MakeDir Directories="Artifact"/>
+ <Copy DestinationFolder="Artifact" SourceFiles="@(Artifacts)"/>
+ </Target>
+</Project>
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Cecil/License.txt Thu Jun 7
20:44:58 2012
@@ -0,0 +1,20 @@
+Copyright (c) 2008 - 2011 Jb Evain
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Cecil/Mono.Cecil.dll Thu Jun 7
20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Cecil/Mono.Cecil.pdb Thu Jun 7
20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Clang/Clang.dll Thu Jun 7
20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Clang/Clang.pdb Thu Jun 7
20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Clang/libclang.dll Thu Jun 7
20:44:58 2012
File is too large to display a diff.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/GOLD/GoldParser.chm Thu Jun 7
20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/GOLD/GoldParser.dll Thu Jun 7
20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/GOLD/license.txt Thu Jun 7
20:44:58 2012
@@ -0,0 +1,22 @@
+ The GOLD Parser Freeware License Agreement
+ ==========================================
+
+This software is provided 'as-is', without any expressed or implied
warranty.
+In no event will the authors be held liable for any damages arising from
the
+use of this software.
+
+Permission is granted to anyone to use this software for any purpose. If
you
+use this software in a product, an acknowledgment in the product
documentation
+would be deeply appreciated but is not required.
+
+In the case of the GOLD Parser Engine source code, permission is granted to
+anyone to alter it and redistribute it freely, subject to the following
+restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software.
+
+ 2. Altered source versions must be plainly marked as such, and must not
+ be misrepresented as being the original software.
+
+ 3. This notice may not be removed or altered from any source
distribution
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Json.NET/Newtonsoft.Json.dll Thu
Jun 7 20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Json.NET/Newtonsoft.Json.pdb Thu
Jun 7 20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Json.NET/Newtonsoft.Json.xml Thu
Jun 7 20:44:58 2012
@@ -0,0 +1,6671 @@
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>Newtonsoft.Json</name>
+ </assembly>
+ <members>
+ <member name="T:Newtonsoft.Json.Bson.BsonReader">
+ <summary>
+ Represents a reader that provides fast, non-cached,
forward-only access to serialized Json data.
+ </summary>
+ </member>
+ <member name="T:Newtonsoft.Json.JsonReader">
+ <summary>
+ Represents a reader that provides fast, non-cached,
forward-only access to serialized Json data.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.#ctor">
+ <summary>
+ Initializes a new instance of the <see
cref="T:Newtonsoft.Json.JsonReader"/> class with the specified <see
cref="T:System.IO.TextReader"/>.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.Read">
+ <summary>
+ Reads the next JSON token from the stream.
+ </summary>
+ <returns>true if the next token was read successfully; false
if there are no more tokens to read.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.ReadAsBytes">
+ <summary>
+ Reads the next JSON token from the stream as a <see
cref="T:Byte[]"/>.
+ </summary>
+ <returns>A <see cref="T:Byte[]"/> or a null reference if the
next JSON token is null.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.ReadAsDecimal">
+ <summary>
+ Reads the next JSON token from the stream as a <see
cref="T:System.Nullable`1"/>.
+ </summary>
+ <returns>A <see cref="T:System.Nullable`1"/>.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.ReadAsDateTimeOffset">
+ <summary>
+ Reads the next JSON token from the stream as a <see
cref="T:System.Nullable`1"/>.
+ </summary>
+ <returns>A <see cref="T:System.Nullable`1"/>.</returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.Skip">
+ <summary>
+ Skips the children of the current token.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonReader.SetToken(Newtonsoft.Json.JsonToken)">
+ <summary>
+ Sets the current token.
+ </summary>
+ <param name="newToken">The new token.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonReader.SetToken(Newtonsoft.Json.JsonToken,System.Object)">
+ <summary>
+ Sets the current token and value.
+ </summary>
+ <param name="newToken">The new token.</param>
+ <param name="value">The value.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.SetStateBasedOnCurrent">
+ <summary>
+ Sets the state based on current token type.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonReader.System#IDisposable#Dispose">
+ <summary>
+ Performs application-defined tasks associated with freeing,
releasing, or resetting unmanaged resources.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonReader.Dispose(System.Boolean)">
+ <summary>
+ Releases unmanaged and - optionally - managed resources
+ </summary>
+ <param name="disposing"><c>true</c> to release both managed
and unmanaged resources; <c>false</c> to release only unmanaged
resources.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonReader.Close">
+ <summary>
+ Changes the <see cref="T:Newtonsoft.Json.JsonReader.State"/>
to Closed.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.CurrentState">
+ <summary>
+ Gets the current reader state.
+ </summary>
+ <value>The current reader state.</value>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.QuoteChar">
+ <summary>
+ Gets the quotation mark character used to enclose the value of
a string.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.TokenType">
+ <summary>
+ Gets the type of the current Json token.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.Value">
+ <summary>
+ Gets the text value of the current Json token.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.ValueType">
+ <summary>
+ Gets The Common Language Runtime (CLR) type for the current
Json token.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonReader.Depth">
+ <summary>
+ Gets the depth of the current token in the JSON document.
+ </summary>
+ <value>The depth of the current token in the JSON
document.</value>
+ </member>
+ <member name="T:Newtonsoft.Json.JsonReader.State">
+ <summary>
+ Specifies the state of the reader.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.Start">
+ <summary>
+ The Read method has not been called.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.Complete">
+ <summary>
+ The end of the file has been reached successfully.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.Property">
+ <summary>
+ Reader is at a property.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.ObjectStart">
+ <summary>
+ Reader is at the start of an object.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.Object">
+ <summary>
+ Reader is in an object.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.ArrayStart">
+ <summary>
+ Reader is at the start of an array.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.Array">
+ <summary>
+ Reader is in an array.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.Closed">
+ <summary>
+ The Close method has been called.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.PostValue">
+ <summary>
+ Reader has just read a value.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.ConstructorStart">
+ <summary>
+ Reader is at the start of a constructor.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.Constructor">
+ <summary>
+ Reader in a constructor.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.Error">
+ <summary>
+ An error occurred that prevents the read operation from
continuing.
+ </summary>
+ </member>
+ <member name="F:Newtonsoft.Json.JsonReader.State.Finished">
+ <summary>
+ The end of the file has been reached successfully.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonReader.#ctor(System.IO.Stream)">
+ <summary>
+ Initializes a new instance of the <see
cref="T:Newtonsoft.Json.Bson.BsonReader"/> class.
+ </summary>
+ <param name="stream">The stream.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonReader.#ctor(System.IO.Stream,System.Boolean,System.DateTimeKind)">
+ <summary>
+ Initializes a new instance of the <see
cref="T:Newtonsoft.Json.Bson.BsonReader"/> class.
+ </summary>
+ <param name="stream">The stream.</param>
+ <param name="readRootValueAsArray">if set to <c>true</c> the
root object will be read as a JSON array.</param>
+ <param name="dateTimeKindHandling">The <see
cref="T:System.DateTimeKind"/> used when reading <see
cref="T:System.DateTime"/> values from BSON.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.Bson.BsonReader.ReadAsBytes">
+ <summary>
+ Reads the next JSON token from the stream as a <see
cref="T:Byte[]"/>.
+ </summary>
+ <returns>
+ A <see cref="T:Byte[]"/> or a null reference if the next JSON
token is null.
+ </returns>
+ </member>
+ <member name="M:Newtonsoft.Json.Bson.BsonReader.ReadAsDecimal">
+ <summary>
+ Reads the next JSON token from the stream as a <see
cref="T:System.Nullable`1"/>.
+ </summary>
+ <returns>A <see cref="T:System.Nullable`1"/>.</returns>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonReader.ReadAsDateTimeOffset">
+ <summary>
+ Reads the next JSON token from the stream as a <see
cref="T:System.Nullable`1"/>.
+ </summary>
+ <returns>
+ A <see cref="T:System.Nullable`1"/>.
+ </returns>
+ </member>
+ <member name="M:Newtonsoft.Json.Bson.BsonReader.Read">
+ <summary>
+ Reads the next JSON token from the stream.
+ </summary>
+ <returns>
+ true if the next token was read successfully; false if there
are no more tokens to read.
+ </returns>
+ </member>
+ <member
name="P:Newtonsoft.Json.Bson.BsonReader.JsonNet35BinaryCompatibility">
+ <summary>
+ Gets or sets a value indicating whether binary data reading
should compatible with incorrect Json.NET 3.5 written binary.
+ </summary>
+ <value>
+ <c>true</c> if binary data reading will be compatible with
incorrect Json.NET 3.5 written binary; otherwise, <c>false</c>.
+ </value>
+ </member>
+ <member
name="P:Newtonsoft.Json.Bson.BsonReader.ReadRootValueAsArray">
+ <summary>
+ Gets or sets a value indicating whether the root object will
be read as a JSON array.
+ </summary>
+ <value>
+ <c>true</c> if the root object will be read as a JSON array;
otherwise, <c>false</c>.
+ </value>
+ </member>
+ <member
name="P:Newtonsoft.Json.Bson.BsonReader.DateTimeKindHandling">
+ <summary>
+ Gets or sets the <see cref="T:System.DateTimeKind"/> used when
reading <see cref="T:System.DateTime"/> values from BSON.
+ </summary>
+ <value>The <see cref="T:System.DateTimeKind"/> used when
reading <see cref="T:System.DateTime"/> values from BSON.</value>
+ </member>
+ <member name="T:Newtonsoft.Json.Bson.BsonWriter">
+ <summary>
+ Represents a writer that provides a fast, non-cached,
forward-only way of generating Json data.
+ </summary>
+ </member>
+ <member name="T:Newtonsoft.Json.JsonWriter">
+ <summary>
+ Represents a writer that provides a fast, non-cached,
forward-only way of generating Json data.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.#ctor">
+ <summary>
+ Creates an instance of the <c>JsonWriter</c> class.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.Flush">
+ <summary>
+ Flushes whatever is in the buffer to the underlying streams
and also flushes the underlying stream.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.Close">
+ <summary>
+ Closes this stream and the underlying stream.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteStartObject">
+ <summary>
+ Writes the beginning of a Json object.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteEndObject">
+ <summary>
+ Writes the end of a Json object.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteStartArray">
+ <summary>
+ Writes the beginning of a Json array.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteEndArray">
+ <summary>
+ Writes the end of an array.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteStartConstructor(System.String)">
+ <summary>
+ Writes the start of a constructor with the given name.
+ </summary>
+ <param name="name">The name of the constructor.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteEndConstructor">
+ <summary>
+ Writes the end constructor.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WritePropertyName(System.String)">
+ <summary>
+ Writes the property name of a name/value pair on a Json object.
+ </summary>
+ <param name="name">The name of the property.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteEnd">
+ <summary>
+ Writes the end of the current Json object or array.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteToken(Newtonsoft.Json.JsonReader)">
+ <summary>
+ Writes the current <see cref="T:Newtonsoft.Json.JsonReader"/>
token.
+ </summary>
+ <param name="reader">The <see
cref="T:Newtonsoft.Json.JsonReader"/> to read the token from.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteEnd(Newtonsoft.Json.JsonToken)">
+ <summary>
+ Writes the specified end token.
+ </summary>
+ <param name="token">The end token to write.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteIndent">
+ <summary>
+ Writes indent characters.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteValueDelimiter">
+ <summary>
+ Writes the JSON value delimiter.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteIndentSpace">
+ <summary>
+ Writes an indent space.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteNull">
+ <summary>
+ Writes a null value.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonWriter.WriteUndefined">
+ <summary>
+ Writes an undefined value.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteRaw(System.String)">
+ <summary>
+ Writes raw JSON without changing the writer's state.
+ </summary>
+ <param name="json">The raw JSON to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteRawValue(System.String)">
+ <summary>
+ Writes raw JSON where a value is expected and updates the
writer's state.
+ </summary>
+ <param name="json">The raw JSON to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.String)">
+ <summary>
+ Writes a <see cref="T:System.String"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.String"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Int32)">
+ <summary>
+ Writes a <see cref="T:System.Int32"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Int32"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.UInt32)">
+ <summary>
+ Writes a <see cref="T:System.UInt32"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.UInt32"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Int64)">
+ <summary>
+ Writes a <see cref="T:System.Int64"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Int64"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.UInt64)">
+ <summary>
+ Writes a <see cref="T:System.UInt64"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.UInt64"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Single)">
+ <summary>
+ Writes a <see cref="T:System.Single"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Single"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Double)">
+ <summary>
+ Writes a <see cref="T:System.Double"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Double"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Boolean)">
+ <summary>
+ Writes a <see cref="T:System.Boolean"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Boolean"/> value
to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Int16)">
+ <summary>
+ Writes a <see cref="T:System.Int16"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Int16"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.UInt16)">
+ <summary>
+ Writes a <see cref="T:System.UInt16"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.UInt16"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Char)">
+ <summary>
+ Writes a <see cref="T:System.Char"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Char"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Byte)">
+ <summary>
+ Writes a <see cref="T:System.Byte"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Byte"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.SByte)">
+ <summary>
+ Writes a <see cref="T:System.SByte"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.SByte"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Decimal)">
+ <summary>
+ Writes a <see cref="T:System.Decimal"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Decimal"/> value
to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.DateTime)">
+ <summary>
+ Writes a <see cref="T:System.DateTime"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.DateTime"/> value
to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.DateTimeOffset)">
+ <summary>
+ Writes a <see cref="T:System.DateTimeOffset"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.DateTimeOffset"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Int32})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.UInt32})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Int64})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.UInt64})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Single})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Double})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Boolean})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Int16})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.UInt16})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Char})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Byte})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.SByte})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.Decimal})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.DateTime})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Nullable{System.DateTimeOffset})">
+ <summary>
+ Writes a <see cref="T:System.Nullable`1"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Nullable`1"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Byte[])">
+ <summary>
+ Writes a <see cref="T:Byte[]"/> value.
+ </summary>
+ <param name="value">The <see cref="T:Byte[]"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteValue(System.Object)">
+ <summary>
+ Writes a <see cref="T:System.Object"/> value.
+ An error will raised if the value cannot be written as a
single JSON token.
+ </summary>
+ <param name="value">The <see cref="T:System.Object"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteComment(System.String)">
+ <summary>
+ Writes out a comment <code>/*...*/</code> containing the
specified text.
+ </summary>
+ <param name="text">Text to place inside the comment.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonWriter.WriteWhitespace(System.String)">
+ <summary>
+ Writes out the given white space.
+ </summary>
+ <param name="ws">The string of white space characters.</param>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonWriter.Top">
+ <summary>
+ Gets the top.
+ </summary>
+ <value>The top.</value>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonWriter.WriteState">
+ <summary>
+ Gets the state of the writer.
+ </summary>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonWriter.Formatting">
+ <summary>
+ Indicates how the output is formatted.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.#ctor(System.IO.Stream)">
+ <summary>
+ Initializes a new instance of the <see
cref="T:Newtonsoft.Json.Bson.BsonWriter"/> class.
+ </summary>
+ <param name="stream">The stream.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.Bson.BsonWriter.Flush">
+ <summary>
+ Flushes whatever is in the buffer to the underlying streams
and also flushes the underlying stream.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteEnd(Newtonsoft.Json.JsonToken)">
+ <summary>
+ Writes the end.
+ </summary>
+ <param name="token">The token.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteComment(System.String)">
+ <summary>
+ Writes out a comment <code>/*...*/</code> containing the
specified text.
+ </summary>
+ <param name="text">Text to place inside the comment.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteStartConstructor(System.String)">
+ <summary>
+ Writes the start of a constructor with the given name.
+ </summary>
+ <param name="name">The name of the constructor.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteRaw(System.String)">
+ <summary>
+ Writes raw JSON.
+ </summary>
+ <param name="json">The raw JSON to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteRawValue(System.String)">
+ <summary>
+ Writes raw JSON where a value is expected and updates the
writer's state.
+ </summary>
+ <param name="json">The raw JSON to write.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.Bson.BsonWriter.WriteStartArray">
+ <summary>
+ Writes the beginning of a Json array.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.Bson.BsonWriter.WriteStartObject">
+ <summary>
+ Writes the beginning of a Json object.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WritePropertyName(System.String)">
+ <summary>
+ Writes the property name of a name/value pair on a Json object.
+ </summary>
+ <param name="name">The name of the property.</param>
+ </member>
+ <member name="M:Newtonsoft.Json.Bson.BsonWriter.WriteNull">
+ <summary>
+ Writes a null value.
+ </summary>
+ </member>
+ <member name="M:Newtonsoft.Json.Bson.BsonWriter.WriteUndefined">
+ <summary>
+ Writes an undefined value.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.String)">
+ <summary>
+ Writes a <see cref="T:System.String"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.String"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Int32)">
+ <summary>
+ Writes a <see cref="T:System.Int32"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Int32"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.UInt32)">
+ <summary>
+ Writes a <see cref="T:System.UInt32"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.UInt32"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Int64)">
+ <summary>
+ Writes a <see cref="T:System.Int64"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Int64"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.UInt64)">
+ <summary>
+ Writes a <see cref="T:System.UInt64"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.UInt64"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Single)">
+ <summary>
+ Writes a <see cref="T:System.Single"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Single"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Double)">
+ <summary>
+ Writes a <see cref="T:System.Double"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Double"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Boolean)">
+ <summary>
+ Writes a <see cref="T:System.Boolean"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Boolean"/> value
to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Int16)">
+ <summary>
+ Writes a <see cref="T:System.Int16"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Int16"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.UInt16)">
+ <summary>
+ Writes a <see cref="T:System.UInt16"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.UInt16"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Char)">
+ <summary>
+ Writes a <see cref="T:System.Char"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Char"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Byte)">
+ <summary>
+ Writes a <see cref="T:System.Byte"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Byte"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.SByte)">
+ <summary>
+ Writes a <see cref="T:System.SByte"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.SByte"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Decimal)">
+ <summary>
+ Writes a <see cref="T:System.Decimal"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.Decimal"/> value
to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.DateTime)">
+ <summary>
+ Writes a <see cref="T:System.DateTime"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.DateTime"/> value
to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.DateTimeOffset)">
+ <summary>
+ Writes a <see cref="T:System.DateTimeOffset"/> value.
+ </summary>
+ <param name="value">The <see cref="T:System.DateTimeOffset"/>
value to write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteValue(System.Byte[])">
+ <summary>
+ Writes a <see cref="T:Byte[]"/> value.
+ </summary>
+ <param name="value">The <see cref="T:Byte[]"/> value to
write.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteObjectId(System.Byte[])">
+ <summary>
+ Writes a <see cref="T:Byte[]"/> value that represents a BSON
object id.
+ </summary>
+ <param name="value"></param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonWriter.WriteRegex(System.String,System.String)">
+ <summary>
+ Writes a BSON regex.
+ </summary>
+ <param name="pattern">The regex pattern.</param>
+ <param name="options">The regex options.</param>
+ </member>
+ <member
name="P:Newtonsoft.Json.Bson.BsonWriter.DateTimeKindHandling">
+ <summary>
+ Gets or sets the <see cref="T:System.DateTimeKind"/> used when
writing <see cref="T:System.DateTime"/> values to BSON.
+ When set to <see cref="F:System.DateTimeKind.Unspecified"/> no
conversion will occur.
+ </summary>
+ <value>The <see cref="T:System.DateTimeKind"/> used when
writing <see cref="T:System.DateTime"/> values to BSON.</value>
+ </member>
+ <member name="T:Newtonsoft.Json.Bson.BsonObjectId">
+ <summary>
+ Represents a BSON Oid (object id).
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.Bson.BsonObjectId.#ctor(System.Byte[])">
+ <summary>
+ Initializes a new instance of the <see
cref="T:Newtonsoft.Json.Bson.BsonObjectId"/> class.
+ </summary>
+ <param name="value">The Oid value.</param>
+ </member>
+ <member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
+ <summary>
+ Gets or sets the value of the Oid.
+ </summary>
+ <value>The value of the Oid.</value>
+ </member>
+ <member name="T:Newtonsoft.Json.Converters.BinaryConverter">
+ <summary>
+ Converts a binary value to and from a base 64 string value.
+ </summary>
+ </member>
+ <member name="T:Newtonsoft.Json.JsonConverter">
+ <summary>
+ Converts an object to and from JSON.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Writes the JSON representation of the object.
+ </summary>
+ <param name="writer">The <see
cref="T:Newtonsoft.Json.JsonWriter"/> to write to.</param>
+ <param name="value">The value.</param>
+ <param name="serializer">The calling serializer.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonConverter.ReadJson(Newtonsoft.Json.JsonReader,System.Type,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Reads the JSON representation of the object.
+ </summary>
+ <param name="reader">The <see
cref="T:Newtonsoft.Json.JsonReader"/> to read from.</param>
+ <param name="objectType">Type of the object.</param>
+ <param name="existingValue">The existing value of object being
read.</param>
+ <param name="serializer">The calling serializer.</param>
+ <returns>The object value.</returns>
+ </member>
+ <member
name="M:Newtonsoft.Json.JsonConverter.CanConvert(System.Type)">
+ <summary>
+ Determines whether this instance can convert the specified
object type.
+ </summary>
+ <param name="objectType">Type of the object.</param>
+ <returns>
+ <c>true</c> if this instance can convert the specified object
type; otherwise, <c>false</c>.
+ </returns>
+ </member>
+ <member name="M:Newtonsoft.Json.JsonConverter.GetSchema">
+ <summary>
+ Gets the <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/> of
the JSON produced by the JsonConverter.
+ </summary>
+ <returns>The <see cref="T:Newtonsoft.Json.Schema.JsonSchema"/>
of the JSON produced by the JsonConverter.</returns>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonConverter.CanRead">
+ <summary>
+ Gets a value indicating whether this <see
cref="T:Newtonsoft.Json.JsonConverter"/> can read JSON.
+ </summary>
+ <value><c>true</c> if this <see
cref="T:Newtonsoft.Json.JsonConverter"/> can read JSON; otherwise,
<c>false</c>.</value>
+ </member>
+ <member name="P:Newtonsoft.Json.JsonConverter.CanWrite">
+ <summary>
+ Gets a value indicating whether this <see
cref="T:Newtonsoft.Json.JsonConverter"/> can write JSON.
+ </summary>
+ <value><c>true</c> if this <see
cref="T:Newtonsoft.Json.JsonConverter"/> can write JSON; otherwise,
<c>false</c>.</value>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.BinaryConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Writes the JSON representation of the object.
+ </summary>
+ <param name="writer">The <see
cref="T:Newtonsoft.Json.JsonWriter"/> to write to.</param>
+ <param name="value">The value.</param>
+ <param name="serializer">The calling serializer.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.BinaryConverter.ReadJson(Newtonsoft.Json.JsonReader,System.Type,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Reads the JSON representation of the object.
+ </summary>
+ <param name="reader">The <see
cref="T:Newtonsoft.Json.JsonReader"/> to read from.</param>
+ <param name="objectType">Type of the object.</param>
+ <param name="existingValue">The existing value of object being
read.</param>
+ <param name="serializer">The calling serializer.</param>
+ <returns>The object value.</returns>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.BinaryConverter.CanConvert(System.Type)">
+ <summary>
+ Determines whether this instance can convert the specified
object type.
+ </summary>
+ <param name="objectType">Type of the object.</param>
+ <returns>
+ <c>true</c> if this instance can convert the specified object
type; otherwise, <c>false</c>.
+ </returns>
+ </member>
+ <member name="T:Newtonsoft.Json.Converters.DataSetConverter">
+ <summary>
+ Converts a <see cref="T:System.Data.DataSet"/> to and from
JSON.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.DataSetConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Writes the JSON representation of the object.
+ </summary>
+ <param name="writer">The <see
cref="T:Newtonsoft.Json.JsonWriter"/> to write to.</param>
+ <param name="value">The value.</param>
+ <param name="serializer">The calling serializer.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.DataSetConverter.ReadJson(Newtonsoft.Json.JsonReader,System.Type,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Reads the JSON representation of the object.
+ </summary>
+ <param name="reader">The <see
cref="T:Newtonsoft.Json.JsonReader"/> to read from.</param>
+ <param name="objectType">Type of the object.</param>
+ <param name="existingValue">The existing value of object being
read.</param>
+ <param name="serializer">The calling serializer.</param>
+ <returns>The object value.</returns>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.DataSetConverter.CanConvert(System.Type)">
+ <summary>
+ Determines whether this instance can convert the specified
value type.
+ </summary>
+ <param name="valueType">Type of the value.</param>
+ <returns>
+ <c>true</c> if this instance can convert the specified value
type; otherwise, <c>false</c>.
+ </returns>
+ </member>
+ <member name="T:Newtonsoft.Json.Converters.DataTableConverter">
+ <summary>
+ Converts a <see cref="T:System.Data.DataTable"/> to and from
JSON.
+ </summary>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.DataTableConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Writes the JSON representation of the object.
+ </summary>
+ <param name="writer">The <see
cref="T:Newtonsoft.Json.JsonWriter"/> to write to.</param>
+ <param name="value">The value.</param>
+ <param name="serializer">The calling serializer.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.DataTableConverter.ReadJson(Newtonsoft.Json.JsonReader,System.Type,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Reads the JSON representation of the object.
+ </summary>
+ <param name="reader">The <see
cref="T:Newtonsoft.Json.JsonReader"/> to read from.</param>
+ <param name="objectType">Type of the object.</param>
+ <param name="existingValue">The existing value of object being
read.</param>
+ <param name="serializer">The calling serializer.</param>
+ <returns>The object value.</returns>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.DataTableConverter.CanConvert(System.Type)">
+ <summary>
+ Determines whether this instance can convert the specified
value type.
+ </summary>
+ <param name="valueType">Type of the value.</param>
+ <returns>
+ <c>true</c> if this instance can convert the specified value
type; otherwise, <c>false</c>.
+ </returns>
+ </member>
+ <member
name="T:Newtonsoft.Json.Converters.CustomCreationConverter`1">
+ <summary>
+ Create a custom object
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.CustomCreationConverter`1.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Writes the JSON representation of the object.
+ </summary>
+ <param name="writer">The <see
cref="T:Newtonsoft.Json.JsonWriter"/> to write to.</param>
+ <param name="value">The value.</param>
+ <param name="serializer">The calling serializer.</param>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.CustomCreationConverter`1.ReadJson(Newtonsoft.Json.JsonReader,System.Type,System.Object,Newtonsoft.Json.JsonSerializer)">
+ <summary>
+ Reads the JSON representation of the object.
+ </summary>
+ <param name="reader">The <see
cref="T:Newtonsoft.Json.JsonReader"/> to read from.</param>
+ <param name="objectType">Type of the object.</param>
+ <param name="existingValue">The existing value of object being
read.</param>
+ <param name="serializer">The calling serializer.</param>
+ <returns>The object value.</returns>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.CustomCreationConverter`1.Create(System.Type)">
+ <summary>
+ Creates an object which will then be populated by the
serializer.
+ </summary>
+ <param name="objectType">Type of the object.</param>
+ <returns></returns>
+ </member>
+ <member
name="M:Newtonsoft.Json.Converters.CustomCreationConverter`1.CanConvert(System.Type)">
+ <summary>
+ Determines whether this instance can convert the specified
object type.
+ </summary>
+ <param name="objectType">Type of the object.</param>
+ <returns>
+ <c>true</c> if this instance can convert the specified object
type; otherwise, <c>false</c>.
+ </returns>
+ </member>
+ <member
name="P:Newtonsoft.Json.Converters.CustomCreationConverter`1.CanWrite">
+ <summary>
+ Gets a value indicating whether this <see
cref="T:Newtonsoft.Json.JsonConverter"/> can write JSON.
+ </summary>
+ <value>
+ <c>true</c> if this <see
cref="T:Newtonsoft.Json.JsonConverter"/> can write JSON; otherwise,
<c>false</c>.
+ </value>
+ </member>
+ <member name="T:Newtonsoft.Json.Converters.DateTimeConverterBase">
+ <summary>
+ Provides a base class for converting a <see
cref="T:System.DateTime"/> to and from JSON.
***The diff for this file has been truncated for email.***
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Json.NET/license.txt Thu Jun 7
20:44:58 2012
@@ -0,0 +1,9 @@
+Json.NET -
http://www.codeplex.com/json/
+
+Copyright (c) 2007 James Newton-King
+
+Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/SlimBuffer/SlimBuffer.dll Thu
Jun 7 20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/SlimBuffer/SlimBuffer.pdb Thu
Jun 7 20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/SlimMath/SlimMath.dll Thu Jun 7
20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/SlimMath/SlimMath.pdb Thu Jun 7
20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Wave/license.txt Thu Jun 7
20:44:58 2012
@@ -0,0 +1,23 @@
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
=======================================
--- /dev/null
+++ /branches/v2-experimental/Dependencies/Wave/wave.exe Thu Jun 7
20:44:58 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/v2-experimental/License.txt Thu Jun 7 20:44:58 2012
@@ -0,0 +1,19 @@
+Copyright (c) 2007-2011 SlimDX Group
+
+Permission is hereby granted, free of charge, to any person obtaining a
copy
+of this software and associated documentation files (the "Software"), to
deal
+in the Software without restriction, including without limitation the
rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
=======================================
--- /dev/null
+++ /branches/v2-experimental/README.markdown Thu Jun 7 20:44:58 2012
@@ -0,0 +1,8 @@
+SlimDX
+======
+
+SlimDX is a free open source framework that enables developers to easily
build DirectX applications using .NET technologies such as C#,
VB.NET, and
IronPython. It is designed to be an efficient, simple, and lean wrapper
that fully encompasses all of Microsoft's gaming and multimedia
technologies and exposes them to managed code. All of the code is under the
MIT/X11 license, and all content is under the Creative Commons
Attribution-Share Alike license.
+
+Please note that while SlimDX is similar to Managed DirectX, it is NOT
intended to be the same API. More information, as well as documentation and
other support, can be found at our homepage at
http://slimdx.org.
+
+This GitHub repository hosts V2 of SlimDX, which is a work in progress.
You can find the stable main branch at our old [Google Code
site](
http://code.google.com/p/slimdx/).
=======================================
--- /dev/null
+++ /branches/v2-experimental/SlimDX.sln Thu Jun 7 20:44:58 2012
@@ -0,0 +1,97 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}")
= "Tools", "Tools", "{92CBFD32-5276-43E9-8F79-ABD3B1E00A88}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}")
= "Products", "Products", "{0587FB5C-8B44-4552-AC1E-99EFBB33A263}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "Generator", "Source\Tools\Generator\Generator.csproj", "{9523BE04-7228-413E-993D-7D741A685B4F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "SlimDX.DXGI", "Source\Products\SlimDX.DXGI\SlimDX.DXGI.csproj", "{E3444A70-DF09-4610-9393-B5D7467DF705}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9523BE04-7228-413E-993D-7D741A685B4F} =
{9523BE04-7228-413E-993D-7D741A685B4F}
+ {8EC3344B-1F8C-4056-8414-E12FFA7BCF0A} =
{8EC3344B-1F8C-4056-8414-E12FFA7BCF0A}
+ EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "SlimDX", "Source\Products\SlimDX\SlimDX.csproj", "{A774A428-009F-4E4D-ABF2-F7E181DAA2E3}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}")
= "Samples", "Samples", "{8A99494E-F059-4CFE-BF85-A68D639715D2}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "MiniTri11", "Source\Samples\MiniTri11\MiniTri11.csproj", "{661DD63B-5F92-440A-8AEE-6C85F2C18574}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "SlimDX.Direct3D11", "Source\Products\SlimDX.Direct3D11\SlimDX.Direct3D11.csproj", "{7D81E4D9-3C71-42A5-B4D4-2F80CEFF3187}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9523BE04-7228-413E-993D-7D741A685B4F} =
{9523BE04-7228-413E-993D-7D741A685B4F}
+ {8EC3344B-1F8C-4056-8414-E12FFA7BCF0A} =
{8EC3344B-1F8C-4056-8414-E12FFA7BCF0A}
+ EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "SlimDX.ShaderCompiler", "Source\Products\SlimDX.ShaderCompiler\SlimDX.ShaderCompiler.csproj", "{823E594A-F381-4EB3-8318-77BC2656EDD3}"
+ ProjectSection(ProjectDependencies) = postProject
+ {9523BE04-7228-413E-993D-7D741A685B4F} =
{9523BE04-7228-413E-993D-7D741A685B4F}
+ {8EC3344B-1F8C-4056-8414-E12FFA7BCF0A} =
{8EC3344B-1F8C-4056-8414-E12FFA7BCF0A}
+ EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "Combiner", "Source\Tools\Combiner\Combiner.csproj", "{8EC3344B-1F8C-4056-8414-E12FFA7BCF0A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "Api", "Source\Tools\Api\Api\Api.csproj", "{92885355-2502-466E-B2E7-805CC25E9426}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "Parser", "Source\Tools\Parser\Parser.csproj", "{50ABF134-C4FE-4BB9-8C1F-6CE9D8DAB1D6}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {9523BE04-7228-413E-993D-7D741A685B4F}.Debug|Any CPU.ActiveCfg = Debug|
Any CPU
+ {9523BE04-7228-413E-993D-7D741A685B4F}.Debug|Any CPU.Build.0 = Debug|Any
CPU
+ {9523BE04-7228-413E-993D-7D741A685B4F}.Release|Any CPU.ActiveCfg =
Release|Any CPU
+ {9523BE04-7228-413E-993D-7D741A685B4F}.Release|Any CPU.Build.0 = Release|
Any CPU
+ {E3444A70-DF09-4610-9393-B5D7467DF705}.Debug|Any CPU.ActiveCfg = Debug|
Any CPU
+ {E3444A70-DF09-4610-9393-B5D7467DF705}.Debug|Any CPU.Build.0 = Debug|Any
CPU
+ {E3444A70-DF09-4610-9393-B5D7467DF705}.Release|Any CPU.ActiveCfg =
Release|Any CPU
+ {E3444A70-DF09-4610-9393-B5D7467DF705}.Release|Any CPU.Build.0 = Release|
Any CPU
+ {A774A428-009F-4E4D-ABF2-F7E181DAA2E3}.Debug|Any CPU.ActiveCfg = Debug|
Any CPU
+ {A774A428-009F-4E4D-ABF2-F7E181DAA2E3}.Debug|Any CPU.Build.0 = Debug|Any
CPU
+ {A774A428-009F-4E4D-ABF2-F7E181DAA2E3}.Release|Any CPU.ActiveCfg =
Release|Any CPU
+ {A774A428-009F-4E4D-ABF2-F7E181DAA2E3}.Release|Any CPU.Build.0 = Release|
Any CPU
+ {661DD63B-5F92-440A-8AEE-6C85F2C18574}.Debug|Any CPU.ActiveCfg = Debug|
Any CPU
+ {661DD63B-5F92-440A-8AEE-6C85F2C18574}.Debug|Any CPU.Build.0 = Debug|Any
CPU
+ {661DD63B-5F92-440A-8AEE-6C85F2C18574}.Release|Any CPU.ActiveCfg =
Release|Any CPU
+ {661DD63B-5F92-440A-8AEE-6C85F2C18574}.Release|Any CPU.Build.0 = Release|
Any CPU
+ {7D81E4D9-3C71-42A5-B4D4-2F80CEFF3187}.Debug|Any CPU.ActiveCfg = Debug|
Any CPU
+ {7D81E4D9-3C71-42A5-B4D4-2F80CEFF3187}.Debug|Any CPU.Build.0 = Debug|Any
CPU
+ {7D81E4D9-3C71-42A5-B4D4-2F80CEFF3187}.Release|Any CPU.ActiveCfg =
Release|Any CPU
+ {7D81E4D9-3C71-42A5-B4D4-2F80CEFF3187}.Release|Any CPU.Build.0 = Release|
Any CPU
+ {823E594A-F381-4EB3-8318-77BC2656EDD3}.Debug|Any CPU.ActiveCfg = Debug|
Any CPU
+ {823E594A-F381-4EB3-8318-77BC2656EDD3}.Debug|Any CPU.Build.0 = Debug|Any
CPU
+ {823E594A-F381-4EB3-8318-77BC2656EDD3}.Release|Any CPU.ActiveCfg =
Release|Any CPU
+ {823E594A-F381-4EB3-8318-77BC2656EDD3}.Release|Any CPU.Build.0 = Release|
Any CPU
+ {8EC3344B-1F8C-4056-8414-E12FFA7BCF0A}.Debug|Any CPU.ActiveCfg = Debug|
Any CPU
+ {8EC3344B-1F8C-4056-8414-E12FFA7BCF0A}.Debug|Any CPU.Build.0 = Debug|Any
CPU
+ {8EC3344B-1F8C-4056-8414-E12FFA7BCF0A}.Release|Any CPU.ActiveCfg =
Release|Any CPU
+ {8EC3344B-1F8C-4056-8414-E12FFA7BCF0A}.Release|Any CPU.Build.0 = Release|
Any CPU
+ {92885355-2502-466E-B2E7-805CC25E9426}.Debug|Any CPU.ActiveCfg = Debug|
Any CPU
+ {92885355-2502-466E-B2E7-805CC25E9426}.Debug|Any CPU.Build.0 = Debug|Any
CPU
+ {92885355-2502-466E-B2E7-805CC25E9426}.Release|Any CPU.ActiveCfg =
Release|Any CPU
+ {92885355-2502-466E-B2E7-805CC25E9426}.Release|Any CPU.Build.0 = Release|
Any CPU
+ {50ABF134-C4FE-4BB9-8C1F-6CE9D8DAB1D6}.Debug|Any CPU.ActiveCfg = Debug|
Any CPU
+ {50ABF134-C4FE-4BB9-8C1F-6CE9D8DAB1D6}.Debug|Any CPU.Build.0 = Debug|Any
CPU
+ {50ABF134-C4FE-4BB9-8C1F-6CE9D8DAB1D6}.Release|Any CPU.ActiveCfg =
Release|Any CPU
+ {50ABF134-C4FE-4BB9-8C1F-6CE9D8DAB1D6}.Release|Any CPU.Build.0 = Release|
Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {9523BE04-7228-413E-993D-7D741A685B4F} =
{92CBFD32-5276-43E9-8F79-ABD3B1E00A88}
+ {8EC3344B-1F8C-4056-8414-E12FFA7BCF0A} =
{92CBFD32-5276-43E9-8F79-ABD3B1E00A88}
+ {92885355-2502-466E-B2E7-805CC25E9426} =
{92CBFD32-5276-43E9-8F79-ABD3B1E00A88}
+ {50ABF134-C4FE-4BB9-8C1F-6CE9D8DAB1D6} =
{92CBFD32-5276-43E9-8F79-ABD3B1E00A88}
+ {E3444A70-DF09-4610-9393-B5D7467DF705} =
{0587FB5C-8B44-4552-AC1E-99EFBB33A263}
+ {A774A428-009F-4E4D-ABF2-F7E181DAA2E3} =
{0587FB5C-8B44-4552-AC1E-99EFBB33A263}
+ {7D81E4D9-3C71-42A5-B4D4-2F80CEFF3187} =
{0587FB5C-8B44-4552-AC1E-99EFBB33A263}
+ {823E594A-F381-4EB3-8318-77BC2656EDD3} =
{0587FB5C-8B44-4552-AC1E-99EFBB33A263}
+ {661DD63B-5F92-440A-8AEE-6C85F2C18574} =
{8A99494E-F059-4CFE-BF85-A68D639715D2}
+ EndGlobalSection
+EndGlobal
=======================================
--- /dev/null
+++ /branches/v2-experimental/Source/Products/SlimDX/Color3.cs Thu Jun 7
20:44:58 2012
@@ -0,0 +1,26 @@
+// Copyright (c) 2007-2011 SlimDX Group
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+
+namespace SlimDX
+{
+ public class Color3
+ {
+ }
+}
=======================================
--- /dev/null
+++ /branches/v2-experimental/Source/Products/SlimDX/Color4.cs Thu Jun 7
20:44:58 2012
@@ -0,0 +1,33 @@
+// Copyright (c) 2007-2011 SlimDX Group
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+
+using System.Runtime.InteropServices;
+
+namespace SlimDX
+{
+ [StructLayout(LayoutKind.Sequential)]
+ public struct Color4
+ {
+ public float R;
+ public float G;
+ public float B;
+ public float A;
+ }
+}
=======================================
--- /dev/null
+++ /branches/v2-experimental/Source/Products/SlimDX/ComObject.cs Thu Jun
7 20:44:58 2012
@@ -0,0 +1,97 @@
+// Copyright (c) 2007-2011 SlimDX Group
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+namespace SlimDX
+{
+ /// <summary>
+ /// A COM object.
+ /// </summary>
+ public abstract class ComObject
+ {
+ #region Interface
+
+ protected ComObject(IntPtr nativePointer)
+ {
+ NativePointer = nativePointer;
+
+ if (ReferenceTracker.TrackReferences)
+ ReferenceTracker.Constructed(NativePointer, GetType());
+ }
+
+ public IntPtr NativePointer
+ {
+ get;
+ private set;
+ }
+
+ /// <summary>
+ /// Attempts to retrieve a reference to an interface of an object.
+ /// </summary>
+ /// <typeparam name="T">The interface to retrieve.</typeparam>
+ /// <returns>
+ /// A reference to an interface, if the requested interface is
supported by the object. Otherwise null.
+ /// </returns>
+ public T QueryInterface<T>() where T : ComObject
+ {
+ IntPtr resultingNativeInterface;
+ var guid = typeof(T).GUID;
+
+ var resultCode = Marshal.QueryInterface(NativePointer, ref
guid, out resultingNativeInterface);
+ if (resultCode != 0)
+ return null;
+
+ var constructor =
typeof(T).GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic |
BindingFlags.Public, null, new[] { typeof(IntPtr) }, null);
+ if (constructor == null)
+ {
+ return null;
+ }
+
+ return (T)constructor.Invoke(new object[] {
resultingNativeInterface });
+ }
+
+ /// <summary>
+ /// Increments the reference count for an object.
+ /// </summary>
+ public int AddReference()
+ {
+ if (ReferenceTracker.TrackReferences)
+ ReferenceTracker.ReferenceIncremented(NativePointer,
GetType());
+
+ return Marshal.AddRef(NativePointer);
+ }
+
+ /// <summary>
+ /// Decrements the reference count for an object.
+ /// </summary>
+ public int ReleaseReference()
+ {
+ if (ReferenceTracker.TrackReferences)
+ ReferenceTracker.ReferenceDecremented(NativePointer,
GetType());
+
+ return Marshal.Release(NativePointer);
+ }
+
+ #endregion
+ }
+}
=======================================
--- /dev/null
+++ /branches/v2-experimental/Source/Products/SlimDX/ComObjectFactory.cs
Thu Jun 7 20:44:58 2012
@@ -0,0 +1,97 @@
+// Copyright (c) 2007-2011 SlimDX Group
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+
+using System;
+using System.Runtime.InteropServices;
+using System.Reflection;
+using System.Collections.Generic;
+
+namespace SlimDX
+{
+ //TODO: This should be replaced by a Reflection.Emit based fast factory
+ // This method should be used by end-users to construct SlimDX
objects from a native pointer
+ // obtained through something other than SlimDX and SHOULD NOT
MODIFY THE REFERENCE COUNT OF THE NATIVE POINTER. (it can also be used
internally)
+ // Should the count need to be adjusted, the calling code should
AddReference().
+ public static class ObjectFactory
+ {
+ #region Interface
+
+ static public T Create<T>(IntPtr nativePointer) where T : ComObject
+ {
+ if (nativePointer == IntPtr.Zero)
+ throw new ArgumentNullException("nativePointer");
+
+ var constructor = typeof(T).GetConstructor(BindingFlags.Instance |
BindingFlags.NonPublic | BindingFlags.Public, null, new[] { typeof(IntPtr)
}, null);
+ if (constructor == null)
+ return null;
+
+ return (T)constructor.Invoke(new object[] { nativePointer });
+ }
+
+ static public ComObject Create(IntPtr nativePointer, Guid interfaceGuid)
+ {
+ if (nativePointer == IntPtr.Zero)
+ throw new ArgumentNullException("nativePointer");
+
+ //TODO: this is likely too slow in practice. should restrict this
search to assemblies
+ // known to have slimdx types in them. or do some other
optimization. do not forget to
+ // account for manual delay- load of the slimdx assemblies (i.e.,
we can't use a static
+ // ctor in this type since the d3d11 assembly may not be loaded
the first time we call this function).
+ Type targetType;
+ if (!interfaceGuids.TryGetValue(interfaceGuid, out targetType))
+ {
+ foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
+ {
+ foreach (var type in assembly.GetTypes())
+ {
+ if (type.IsSubclassOf(typeof(ComObject)))
+ {
+ foreach (var attribute in type.GetCustomAttributes(false))
+ {
+ var guid = attribute as GuidAttribute;
+ if (guid != null)
+ {
+ var guidAttributeValue = new Guid(guid.Value);
+ if (guidAttributeValue == interfaceGuid)
+ targetType = type;
+
+ interfaceGuids[guidAttributeValue] = type;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ var constructor = targetType.GetConstructor(BindingFlags.Instance |
BindingFlags.NonPublic | BindingFlags.Public, null, new[] { typeof(IntPtr)
}, null);
+ if (constructor == null)
+ return null;
+
+ return (ComObject)constructor.Invoke(new object[] { nativePointer });
+ }
+
+ #endregion
+ #region Implementation
+
+ static Dictionary<Guid, Type> interfaceGuids = new Dictionary<Guid,
Type>();
+
+ #endregion
+ }
+}
=======================================
--- /dev/null
+++
/branches/v2-experimental/Source/Products/SlimDX/Extentions/ByteBufferExtensions.cs
Thu Jun 7 20:44:58 2012
@@ -0,0 +1,41 @@
+// Copyright (c) 2007-2011 SlimDX Group
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+
+using System;
+using SlimBuffer;
+using SlimMath;
+
+namespace SlimDX
+{
+ /// <summary>
+ /// Provides extension methods for <see cref="SlimBuffer.ByteBuffer"/>.
+ /// </summary>
+ public static class ByteBufferExtensions
+ {
+ public static void Write(this ByteBuffer buffer, int offsetInBytes,
Vector4 value)
+ {
+ var floats = value.ToArray();
+ var bytes = new byte[floats.Length * sizeof(float)];
+ Buffer.BlockCopy(floats, 0, bytes, 0, bytes.Length);
+
+ buffer.Write(offsetInBytes, bytes, 0, bytes.Length);
+ }
+ }
+}
=======================================
--- /dev/null
+++
/branches/v2-experimental/Source/Products/SlimDX/Properties/AssemblyInfo.cs
Thu Jun 7 20:44:58 2012
@@ -0,0 +1,25 @@
+// Copyright (c) 2007-2011 SlimDX Group
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("SlimDX Core Assembly")]
+[assembly: Guid("93829d68-6233-46bd-9e8c-aaca77f874b4")]
=======================================
--- /dev/null
+++ /branches/v2-experimental/Source/Products/SlimDX/ReferenceTracker.cs
Thu Jun 7 20:44:58 2012
@@ -0,0 +1,130 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading;
+
+namespace SlimDX
+{
+ /// <summary>
+ ///
+ /// </summary>
+ public static class ReferenceTracker
+ {
+ public struct TrackingInformation
+ {
+ public IntPtr NativePointer { get; set; }
+ public Type Type { get; set; }
+ public int ReferenceCount { get; set; }
+
+ public override string ToString()
+ {
+ return string.Format("Reference: [Native Pointer: {0},
Type: {1}, Reference Count: {2}]", NativePointer, Type, ReferenceCount);
+ }
+ }
+
+ private class TrackerKey
+ {
+ public IntPtr NativePointer;
+ public Type Type;
+
+ public override bool Equals(object obj)
+ {
+ if (ReferenceEquals(null, obj))
+ {
+ return false;
+ }
+ if (ReferenceEquals(this, obj))
+ {
+ return true;
+ }
+ if (obj.GetType() != typeof(TrackerKey))
+ {
+ return false;
+ }
+ return Equals((TrackerKey)obj);
+ }
+
+ public bool Equals(TrackerKey other)
+ {
+ if (ReferenceEquals(null, other))
+ {
+ return false;
+ }
+ if (ReferenceEquals(this, other))
+ {
+ return true;
+ }
+ return other.NativePointer.Equals(NativePointer) &&
Equals(other.Type, Type);
+ }
+
+ public override int GetHashCode()
+ {
+ unchecked
+ {
+ return (NativePointer.GetHashCode() * 397) ^ (Type !=
null ? Type.GetHashCode() : 0);
+ }
+ }
+ }
+
+ /// <summary>
+ /// When set will register references with the tracker, allowing
for extended debugging of unreleased references.
+ /// </summary>
+ public static bool TrackReferences { get; set; }
+
+ private static readonly Dictionary<TrackerKey, int> References =
new Dictionary<TrackerKey, int>();
+
+ internal static void Constructed(IntPtr nativePointer, Type
comObjectType)
+ {
+ lock (References)
+ {
+ var trackerKey = new TrackerKey { NativePointer =
nativePointer, Type = comObjectType };
+
+ if (!References.ContainsKey(trackerKey))
+ {
+ References.Add(trackerKey, 0);
+ }
+
+ ReferenceIncremented(nativePointer, comObjectType);
+ }
+ }
+
+ internal static void ReferenceIncremented(IntPtr nativePointer,
Type comObjectType)
+ {
+ lock (References)
+ {
+ var trackerKey = new TrackerKey { NativePointer =
nativePointer, Type = comObjectType };
+
+ if (!References.ContainsKey(trackerKey))
+ throw new
InvalidOperationException(string.Format("Attempted reference increment on
dead object: {{NativePointer: {0}, Type: {1}}", nativePointer,
comObjectType));
+
+ ++References[trackerKey];
+ }
+ }
+
+ internal static void ReferenceDecremented(IntPtr nativePointer,
Type comObjectType)
+ {
+ lock (References)
+ {
+ var trackerKey = new TrackerKey { NativePointer =
nativePointer, Type = comObjectType };
+
+ if (!References.ContainsKey(trackerKey))
+ throw new
InvalidOperationException(string.Format("Attempted reference decrement on
dead or non-existant object: {{NativePointer: {0}, Type: {1}}",
nativePointer, comObjectType));
+
+ var result = --References[trackerKey];
+ if (result == 0)
+ References.Remove(trackerKey);
+ }
+ }
+
+ /// <summary>
+ /// When reference tracking is enabled a list of current
references and their reference count is returned.
+ /// </summary>
+ /// <returns>An enumerable of all current registered references if
reference tracking is enabled, otherwise an empty enumerable.</returns>
+ public static IEnumerable<TrackingInformation>
GetCurrentReferences()
+ {
+ var trackingInfo = new List<TrackingInformation>(from ti in
References select new TrackingInformation {NativePointer =
ti.Key.NativePointer, Type = ti.Key.Type, ReferenceCount = ti.Value});
+ return trackingInfo;
+ }
+ }
+}
=======================================
--- /dev/null
+++ /branches/v2-experimental/Source/Products/SlimDX/RenderLoop.cs Thu Jun
7 20:44:58 2012
@@ -0,0 +1,70 @@
+// Copyright (c) 2007-2011 SlimDX Group
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+
+using System;
+using System.Drawing;
+using System.Runtime.InteropServices;
+using System.Security;
+using System.Windows.Forms;
+
+namespace SlimDX
+{
+ public class RenderLoop
+ {
+ #region Interface
+
+ public void Run(Form form, Action callback)
+ {
+ this.callback = callback;
+ Application.Idle += HandleApplicationIdle;
+ Application.Run(form);
+ Application.Idle -= HandleApplicationIdle;
+ }
+
+ #endregion
+ #region Implementation
+
+ [SuppressUnmanagedCodeSecurity]
+ [DllImport("user32.dll", CharSet = CharSet.Auto)]
+ public static extern bool PeekMessage(out Message message, IntPtr
window, uint filterMinimum, uint filterMaximum, uint flags);
+
+ [StructLayout(LayoutKind.Sequential)]
+ public struct Message
+ {
+ public IntPtr WindowHandle;
+ public IntPtr MessageCode;
+ public IntPtr WParam;
+ public IntPtr LParam;
+ public uint Time;
+ public Point Point;
+ }
+
+ Action callback;
+
+ void HandleApplicationIdle(object sender, EventArgs e)
+ {
+ Message message;
+ while (!PeekMessage(out message, IntPtr.Zero, 0, 0, 0))
+ callback();
+ }
+
+ #endregion
+ }
+}
=======================================
--- /dev/null
+++ /branches/v2-experimental/Source/Products/SlimDX/Result.cs Thu Jun 7
20:44:58 2012
@@ -0,0 +1,28 @@
+// Copyright (c) 2007-2011 SlimDX Group
+//
+// Permission is hereby granted, free of charge, to any person obtaining a
copy
+// of this software and associated documentation files (the "Software"),
to deal
+// in the Software without restriction, including without limitation the
rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included
in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN
+// THE SOFTWARE.
+
+namespace SlimDX
+{
+ public class Result
+ {
+ public Result(int result) {
+ }
+ }
+}
=======================================
--- /dev/null
+++ /branches/v2-experimental/Source/Products/SlimDX/SlimDX.csproj Thu Jun
7 20:44:58 2012
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.30703</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{A774A428-009F-4E4D-ABF2-F7E181DAA2E3}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>SlimDX</RootNamespace>
+ <AssemblyName>SlimDX</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|
AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|
AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="SlimBuffer">
+ <HintPath>..\..\..\Dependencies\SlimBuffer\SlimBuffer.dll</HintPath>
+ </Reference>
+ <Reference Include="SlimMath">
+ <HintPath>..\..\..\Dependencies\SlimMath\SlimMath.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Windows.Forms" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\..\SharedAssemblyInfo.cs">
+ <Link>Properties\SharedAssemblyInfo.cs</Link>
+ </Compile>
+ <Compile Include="Color3.cs" />
+ <Compile Include="Color4.cs" />
+ <Compile Include="ComObject.cs" />
+ <Compile Include="ComObjectFactory.cs" />
+ <Compile Include="Extentions\ByteBufferExtensions.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="ReferenceTracker.cs" />
+ <Compile Include="RenderLoop.cs" />
+ <Compile Include="Result.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="SlimDX.json">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </None>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
=======================================
--- /dev/null
+++ /branches/v2-experimental/Source/Products/SlimDX/SlimDX.json Thu Jun 7
20:44:58 2012
@@ -0,0 +1,38 @@
+{
+ "name": "SlimDX",
+
+ "translations": [
+ { "key": "int", "target": "System.Int32" },
+ { "key": "INT", "target": "System.Int32" },
+ { "key": "UINT", "target": "System.Int32" },
+ { "key": "UINT8", "target": "System.Byte" },
+ { "key": "DWORD", "target": "System.Int32" },
+ { "key": "SIZE_T", "target": "System.Int32" },
+ { "key": "UINT64", "target": "System.UInt64" },
+ { "key": "WCHAR", "target": "System.Char" },
+ { "key": "BOOL", "target": "System.Boolean" },
+ { "key": "BYTE", "target": "System.Byte" },
+ { "key": "HWND", "target": "System.IntPtr" },
+ { "key": "HMODULE", "target": "System.IntPtr" },
+ { "key": "HMONITOR", "target": "System.IntPtr" },
+ { "key": "HDC", "target": "System.IntPtr" },
+ { "key": "HANDLE", "target": "System.IntPtr" },
+ { "key": "float", "target": "System.Single" },
+ { "key": "FLOAT", "target": "System.Single" },
+ { "key": "LARGE_INTEGER", "target": "System.Int64" },
+ { "key": "LUID", "target": "System.Int64" },
+ { "key": "GUID", "target": "System.Guid" },
+ { "key": "IID", "target": "System.Guid" },
+ { "key": "REFIID", "target": "System.Guid" },
+
+ { "key": "LPCSTR", "target": "System.String" },
+ { "key": "LPVOID", "target": "System.IntPtr" },
+ { "key": "LPCVOID", "target": "System.IntPtr" },
+
+ { "key": "HRESULT", "name": "System.Int32", "target": "System.Int32" },
+
{ "key": "IUnknown", "name": "SlimDX.ComObject", "target": "SlimDX.ComObject,
SlimDX", "marshal": ["wrapped"] },
+
{ "key": "RECT", "name": "System.Drawing.Rectangle", "target": "System.Drawing.Rectangle,
System.Drawing, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" },
+
+ { "key": "Color4", "name": "SlimDX.Color4", "target": "SlimDX.Color4,
SlimDX" }
+ ]
+}
=======================================
***Additional files exist in this changeset.***