From 7c7101ee4808b92905de1c214b1e53a3de995d34 Mon Sep 17 00:00:00 2001 From: Youmu Liu <105042599+Nitload-NSI@users.noreply.github.com> Date: Wed, 2 Sep 2026 18:15:03 +0800 Subject: [PATCH] switch root namespace name to NITLOAD --- .gitignore | 9 ++--- Directory.Build.props | 2 +- Directory.Build.targets | 8 ++--- StgSharp.nuspec => Nitload.nuspec | 12 +++---- StgSharp.sln => Nitload.sln | 16 ++++----- StgSharpDevelop.sln => NitloadDevelop.sln | 20 +++++------ ReadMe.md | 8 ++--- StgSharpDevelop.slnLaunch.user | 6 ---- .../HlsfAllocatorBench.cs | 6 ++-- .../Nitload.Benchmark.csproj} | 6 ++-- .../Program.cs | 2 +- .../SwissBenchmark.cs | 4 +-- .../Collections/BidirectionalDictionary.cs | 2 +- .../Collections/CapacityFixedBag.cs | 2 +- .../Collections/CapacityFixedList.cs | 2 +- .../Collections/CapacityFixedStack.cs | 2 +- .../ConcurrentCapacityFixedStack.cs | 2 +- .../Collections/ConcurrentFlexibleArray.cs | 2 +- .../Collections/IBidirectionalDictionary.cs | 2 +- .../Collections/LinearBag.cs | 2 +- .../Collections/ListSegment.cs | 2 +- .../Collections/RandomAccessibleStack.cs | 2 +- .../Collections/SwissTable.X86.cs | 2 +- .../Collections/SwissTable.cs | 2 +- .../Collections/UnmanagedArray.cs | 2 +- .../Collections/UnmanagedStack.cs | 2 +- .../Environment/Dialogue.cs | 4 +-- .../Environment/ErrorDefine.cs | 2 +- .../Environment/GlobalSetting.cs | 2 +- .../Environment/IStaticModule.cs | 2 +- .../Environment/Platform.cs | 8 ++--- .../Global.cs | 10 +++--- .../HighPerformance/IdMultiplexer.cs | 2 +- .../HighPerformance/Memory/BufferStack.cs | 29 +++++++-------- .../Memory/ConcurrentBufferStack.cs | 4 +-- .../HighPerformance/Memory/L4.CacheLine.cs | 4 +-- .../HighPerformance/Memory/L4.Debug.cs | 2 +- .../HighPerformance/Memory/L4.Evict.cs | 2 +- .../HighPerformance/Memory/L4.Exceptions.cs | 2 +- .../HighPerformance/Memory/L4.Predict.cs | 6 ++-- .../HighPerformance/Memory/L4.Predictor.cs | 2 +- .../HighPerformance/Memory/L4.Prefetch.cs | 2 +- .../HighPerformance/Memory/L4.Tlsf.cs | 4 +-- .../HighPerformance/Memory/L4.cs | 8 ++--- .../HighPerformance/Memory/Ptr64.cs | 2 +- .../Memory/SlabAllocationHandle.cs | 2 +- .../Memory/SlabAllocator.Chunked.cs | 4 +-- .../Memory/SlabAllocator.ChunkedConcurrent.cs | 4 +-- .../Memory/SlabAllocator.Fixed.cs | 8 ++--- .../SlabAllocator.SequencialConcurrent.cs | 4 +-- .../HighPerformance/Memory/SlabAllocator.cs | 4 +-- .../Memory/TwoLayerSegregatedFitAllocator.cs | 8 ++--- .../ProcessorAbstraction/IRegisterType.cs | 2 +- .../ProcessorAbstraction/LogicalCore.cs | 2 +- .../ProcessorAbstraction/M128.cs | 2 +- .../ProcessorAbstraction/M256.cs | 2 +- .../ProcessorAbstraction/M512.cs | 2 +- .../ProcessorAbstraction/M64.cs | 2 +- .../ProcessorAbstraction/Numa.cs | 4 +-- .../ProcessorAbstraction/NumaNode.cs | 2 +- .../Internal/DefaultLog.cs | 2 +- .../Internal/Native.cs | 4 +-- .../Internal/public.cs | 2 +- .../Nitload.Common.csproj} | 0 .../PipeLine/CrossFramePipelineNode.cs | 4 +-- .../PipeLine/IConvertableToPipelineNode.cs | 2 +- .../PipeLine/PipeLineRunner.cs | 4 +-- .../PipeLine/PipelineMarshal.cs | 2 +- .../PipeLine/PipelineNode.cs | 2 +- .../PipeLine/PipelineNodeLabel.cs | 2 +- .../PipeLine/PipelineNodePort.cs | 2 +- .../PipeLine/PipelineScheduler.cs | 2 +- .../PipeLine/PortArgs.cs | 2 +- .../PipeLine/SideNode.cs | 2 +- .../PublishProfiles/FolderProfile.pubxml | 0 .../State/ISimpleStateMachine.cs | 2 +- .../State/SimpleStateMachineNode.cs | 2 +- .../State/StateContext.cs | 2 +- .../Threading/AdaptiveBackoffStrategy.cs | 0 .../Threading/BufferExpansionLock.cs | 2 +- .../Threading/CancellableTask.cs | 2 +- .../Threading/SingleConsumerBell.cs | 2 +- .../Threading/ThreadHelper.cs | 4 +-- .../Threading/VariableCapacitySemaphore.cs | 2 +- .../Timing/StgSharpTime.cs | 8 ++--- .../Timing/TimeSequence.cs | 4 +-- .../Timing/TimeSourceProvider.cs | 6 ++-- .../Timing/TimeSpanProvider.Awaiting.cs | 4 +-- .../Timing/TimeSpanProvider.cs | 4 +-- .../CPUanimation.IImageProvider.cs.old | 2 +- .../.discard/CPUanimation.ImageHelper.cs.old | 2 +- .../.discard/Define.BufferObjectBase.cs.old | 6 ++-- .../.discard/GraphicInitializer.cs.old | 4 +-- .../.discard/Image.Native.cs.old | 4 +-- .../.discard/Image.cs.old | 4 +-- .../.discard/ImageInfo.cs.old | 4 +-- .../.discard/OpenGL.Buffer.AutoTexture.cs.old | 6 ++-- .../OpenGL.Buffer.GLBufferObjectBase.cs.old | 4 +-- ...OpenGL.Generated.GlCommandHistory.g.cs.old | 6 ++-- .../OpenGL.ShaderEdit.IglConvertable.cs.old | 4 +-- .../.discard/OpenGL.glApiManager.Const.cs.old | 2 +- .../.discard/OpenGL.glApiManager.cs.old | 8 ++--- .../OpenGL.glRenderObjectGenrator.cs.old | 2 +- ...penGL.glRenderStream.ThreadSecurity.cs.old | 2 +- .../.discard/OpenGL.glType.cs.old | 2 +- .../.discard/Pixels.cs.old | 2 +- .../.discard/README.md | 0 .../ShaderEdit.InternalShaderType.cs.old | 2 +- .../ShaderEdit.ShaderGenerator.cs.old | 8 ++--- .../.discard/ShaderEdit.ShaderStruct.cs.old | 6 ++-- .../.discard/TexturePipeline.cs.old | 4 +-- .../.discard/Vulkan.vkEnum.cs.old | 2 +- .../.discard/Vulkan.vkHandle.cs.old | 2 +- .../.discard/framework.cs.old | 2 +- .../.discard/gl.cs.old | 8 ++--- .../.discard/glfw.dtruct.cs.old | 6 ++-- .../Camera.cs | 4 +-- .../Environment/Monitor.cs | 2 +- .../FrameworkConstant.cs | 2 +- .../Global.cs | 2 +- .../Image.cs | 2 +- src/Nitload.Graphics/Nitload.Graphics.csproj | 12 +++++++ .../OpenGL/Api/OpenGLFunction.Diagnostics.cs | 2 +- .../OpenGL/Api/OpenGLFunction.Shader.cs | 2 +- .../OpenGL/Buffer/EBO.cs | 2 +- .../OpenGL/Buffer/FBO.cs | 2 +- .../OpenGL/Buffer/RBO.cs | 2 +- .../OpenGL/Buffer/TextureGL.cs | 2 +- .../OpenGL/Buffer/VAO.cs | 2 +- .../OpenGL/Buffer/VBO.cs | 2 +- .../OpenGL/Generated/GlEnums.g.cs | 4 +-- .../OpenGL/Generated/OpenGLFunction.Base.g.cs | 6 ++-- .../OpenGL/Generated/OpenGLFunction.v3_3.g.cs | 6 ++-- .../OpenGL/Generated/OpenGLFunction.v4_0.g.cs | 6 ++-- .../OpenGL/Generated/OpenGLFunction.v4_1.g.cs | 6 ++-- .../OpenGL/Generated/OpenGLFunction.v4_2.g.cs | 6 ++-- .../OpenGL/Generated/OpenGLFunction.v4_3.g.cs | 6 ++-- .../OpenGL/Generated/OpenGLFunction.v4_4.g.cs | 6 ++-- .../OpenGL/Generated/OpenGLFunction.v4_5.g.cs | 6 ++-- .../OpenGL/Generated/OpenGLFunction.v4_6.g.cs | 6 ++-- .../OpenGL/Generated/OpenglContext.g.cs | 4 +-- .../OpenGL/Generated/glContextShadow.g.cs | 4 +-- .../OpenGL/Generated/glconst.cs | 4 +-- .../OpenGL/Shader.cs | 2 +- .../OpenGL/glApiManager.Load.cs | 4 +-- .../OpenGL/glApiManager.cs | 4 +-- .../OpenGL/glAttachment.cs | 2 +- .../OpenGL/glException.cs | 2 +- .../OpenGL/glHandle.cs | 2 +- .../OpenGL/glRenderStream.cs | 10 +++--- .../OpenGL/glSync.cs | 2 +- .../PlainGeometryMesh.cs | 8 ++--- .../RenderStream.cs | 10 +++--- .../Rgba8.cs | 2 +- .../ViewSurface.cs | 2 +- .../glfw.cs | 4 +-- .../glfw.function.cs | 2 +- .../glfw.struct.cs | 2 +- .../.discard/CoordinationNaming.md | 0 .../.discard/MatrixCompute.Factorize.cs.old | 4 +-- .../.discard/MatrixCompute.Single.cs.old | 10 +++--- .../.discard/MatrixCompute.double.cs.old | 10 +++--- .../.discard/MatrixParallelHandle.cs.old | 6 ++-- .../.discard/MatrixParallelWrap.cs.old | 4 +-- .../AssemblyInfo.cs | 6 ++-- .../Coordination/CoordinationBase.cs | 4 +-- .../Coordination/PlainCoordinate.cs | 6 ++-- .../Coordination/SpaceCoordinate.cs | 6 ++-- .../Coordination/StreamLocalCoordinate.cs | 4 +-- .../Geometries/GemoryException.cs | 2 +- .../GeometryOperation/GeometryOperation.cs | 6 ++-- .../Geometries/GeometryScaler/Angle.cs | 2 +- .../Geometries/IGeometry.cs | 6 ++-- .../Geometries/IGeomtryBuffer.cs | 2 +- .../Geometries/IInstancing.cs | 6 ++-- .../Geometries/IInstancingBuffer.cs | 6 ++-- .../Geometries/PlainGeometry/Cordinate.cs | 4 +-- .../PlainGeometry/Define/GeometryOperation.cs | 6 ++-- .../PlainGeometry/Define/IPlainEntity.cs | 6 ++-- .../PlainGeometry/Define/ParticleOnPlain.cs | 8 ++--- .../PlainGeometry/Define/PlainGeometry.cs | 8 ++--- .../Define/PlainInstancingBuffer.cs | 8 ++--- .../Geometries/PlainGeometry/Parallelogram.cs | 6 ++-- .../Geometries/PlainGeometry/Plain.cs | 6 ++-- .../Geometries/PlainGeometry/Polygon4.cs | 6 ++-- .../Geometries/PlainGeometry/Polygon5.cs | 6 ++-- .../Geometries/PlainGeometry/Polygon6.cs | 8 ++--- .../Geometries/PlainGeometry/Rectangle.cs | 8 ++--- .../Geometries/PlainGeometry/Square.cs | 4 +-- .../Geometries/PlainGeometry/Triangle.cs | 6 ++-- .../Geometries/Point.cs | 4 +-- .../Geometries/SpaceGeometry/Class1.cs | 2 +- .../SpaceGeometry/TriangulatedSurface.cs | 8 ++--- .../Internal/ColumnSet2.cs | 2 +- .../Internal/ColumnSet3.cs | 6 ++-- .../Internal/ColumnSet4.cs | 6 ++-- .../Internal/IntrinsicContext.cs | 4 +-- .../Internal/MatrixKernel.cs | 2 +- .../Internal/MatrixPanel.cs | 6 ++-- .../Internal/SIMDID.cs | 2 +- .../Internal/ScalarPacket.cs | 4 +-- .../Internal/UnsafeCompute.cs | 4 +-- .../Nitload.Mathematics.csproj} | 4 +-- .../Numeric/Graphics/Cordination.cs | 2 +- .../Numeric/Graphics/GraphicVector.cs | 2 +- .../Numeric/Graphics/GraphicsMatrix.cs | 8 ++--- .../Numeric/Graphics/Vec2.cs | 2 +- .../Numeric/Graphics/Vec2_T.cs | 4 +-- .../Numeric/Graphics/Vec3.cs | 2 +- .../Numeric/Graphics/Vec3_T.cs | 4 +-- .../Numeric/Graphics/Vec4.cs | 2 +- .../Numeric/Graphics/Vec4_T.cs | 4 +-- .../Numeric/Graphics/Vector.GetLength.cs | 2 +- .../Numeric/Graphics/Vector.Normalize.cs | 2 +- .../Numeric/Graphics/Vector.Orthogonalize.cs | 2 +- .../Numeric/Linear/Exception.cs | 2 +- .../Numeric/Linear/IUnmanagedVector.cs | 2 +- .../Numeric/Linear/Matrix.Create.cs | 8 ++--- .../Numeric/Linear/Matrix.cs | 8 ++--- .../Numeric/Linear/MatrixCompute.Double.cs | 8 ++--- .../Numeric/Linear/MatrixCompute.Single.cs | 6 ++-- .../Numeric/Linear/MatrixCompute.cs | 12 +++---- .../Numeric/Linear/MatrixIndex.cs | 2 +- .../Numeric/Linear/MatrixMetadata.cs | 2 +- .../Numeric/Linear/MatrixStorage.cs | 8 ++--- .../Numeric/NumericalModule.cs | 4 +-- .../Numeric/Runtime/MatrixOperatorPolicy.cs | 2 +- .../Numeric/Runtime/MatrixParallel.Await.old | 2 +- .../Runtime/MatrixParallel.AwaitingQueue.old | 2 +- .../Numeric/Runtime/MatrixParallel.Numa.cs | 6 ++-- .../Numeric/Runtime/MatrixParallel.Publish.cs | 10 +++--- .../Numeric/Runtime/MatrixParallel.cs | 6 ++-- .../Numeric/Runtime/MatrixParallelQueue.cs | 6 ++-- .../Numeric/Runtime/MatrixParallelTask.cs | 6 ++-- .../Runtime/MatrixParallelThread.Fma.cs.old | 8 ++--- .../Runtime/MatrixParallelThread.Model.cs.old | 6 ++-- .../MatrixParallelThread.Sequential.cs | 2 +- .../Numeric/Runtime/MatrixParallelThread.cs | 10 +++--- .../Numeric/Runtime/MatrixParallelWrap.cs | 8 ++--- .../Numeric/Runtime/QueueFactory.cs | 2 +- src/Nitload.Model/Nitload.Model.csproj | 7 ++++ .../.clang-format | 0 .../.clangd | 0 .../CMakeLists.txt | 10 +++--- .../CMakePresets.json | 0 .../ExternalLibs.cmake | 0 .../Nitload.Native.vcxproj} | 4 +-- .../Nitload.Native.vcxproj.filters} | 0 .../README.md | 0 .../SIMDID.x86.md | 0 .../lib/CMakeLists.txt | 0 .../lib/glfw/CMakeLists.txt | 0 .../lib/glfw/glfw3.h | 0 .../lib/glfw/glfw3.lib | Bin .../lib/glfw/glfw3_mt.lib | Bin .../lib/glfw/glfw3dll.lib | Bin .../lib/glfw/glfw3native.h | 0 .../lib/stbi/CMakeLists.txt | 0 .../lib/stbi/stb_image.h | 0 .../naming.md | 0 .../sn-head/StgSharpNative.h | 2 +- .../sn-head/glfw_function.h | 0 .../sn-head/sn_internal.h | 0 .../sn-head/sn_intrinsic.context.base.h | 0 .../sn-head/sn_intrinsic.context.x86.h | 0 .../sn-head/sn_intrinsic.h | 0 .../sn-head/sn_intrinsic.matkernel.h | 0 .../sn-head/sn_intrinsic.std.h | 0 .../sn-head/sn_target.h | 0 .../sn-src/dllmain.c | 0 .../sn-src/load_glfw.c | 0 .../sn-src/load_intrinsic.x86.c | 0 .../sn-src/m.bufop.x86.c | 0 .../sn-src/m.solve.x86.c | 0 .../sn-src/m.transpose.x86.c | 0 .../sn-src/mk.fma.pack.c | 0 .../sn-src/mk.fma.x86.c | 0 .../sn-src/mk.p_scan.x86.c | 0 .../sn-src/s.factorial.x86.c | 0 .../sn-src/s.hash.x86.c | 0 .../sn-src/simdid.x86.c | 0 .../sn-src/simdid_compare.x86.c | 0 .../sn-src/sk.fma.x86.c | 0 .../sn-src/thread.linux.c | 0 .../sn-src/thread.windows.c | 0 .../sn-src/vector.c | 0 .../sn-src/vector_dot.c | 0 .../sn-template/sn_template.fma.x86.h | 0 .../.discard/RegexAnalyzer.IRGenerate.cs.old | 4 +-- .../.discard/RegexAnalyzer.IROptimize.cs.old | 4 +-- .../.discard/RegexAnalyzer.PrefixEmit.cs.old | 2 +- .../.discard/RegexIR.Abstraction.cs.old | 2 +- .../.discard/RegexIR.Prefix.cs.old | 2 +- .../.discard/RegexIR.cs.old | 2 +- .../.discard/RegexIRGenerator.cs.old | 4 +-- ...TextRegexSourceGen.GenClass.MultiIR.cs.old | 4 +-- .../TextRegexSourceGen.GenClass.Prefix.cs.old | 2 +- ...extRegexSourceGen.GenClass.SingleIR.cs.old | 4 +-- .../Abstraction/AbstractSyntaxTree.cs | 4 +-- .../Abstraction/CompileDepthState.cs | 2 +- .../Abstraction/CompileStack.cs | 4 +-- .../Abstraction/ISyntaxNode.cs | 4 +-- .../Abstraction/ISyntaxPayload.cs | 2 +- .../Abstraction/ITokenParser.cs | 2 +- .../Abstraction/ITokenReader.cs | 2 +- .../Abstraction/SequenceEmitter.cs | 4 +-- .../Abstraction/Token.cs | 2 +- .../COUNT_UNIT_GENERATION.md | 0 .../Global.cs | 0 .../GroupIndex.cs | 2 +- .../IR_RETIRED.md | 0 .../NGRA_pattern_file.md | 2 +- .../Nitload.RegularAnalysis.csproj} | 8 ++--- .../SourceGenerate.cs | 2 +- .../Text/RegexAnalyzer.ASTGenerate.cs | 4 +-- .../Text/RegexAnalyzer.ASTNodeOptimize.cs | 4 +-- .../Text/RegexAnalyzer.ASTOptimize.cs | 4 +-- .../Text/RegexAnalyzer.cs | 4 +-- .../Text/RegexAnanlyzer.ASTNodeOptimize.cs | 0 .../Text/RegexAstNode.AdditionalPayload.cs | 4 +-- .../Text/RegexAstNode.cs | 4 +-- .../Text/RegexElementLabel.cs | 2 +- .../Text/RegexTokenParser.cs | 4 +-- .../Text/RegexTokenReader.cs | 4 +-- .../Text/TextRegex.cs | 33 ++++++++---------- .../Text/TextRegexAttribute.cs | 2 +- .../Text/TextRegexSourceGen.Diagnostic.cs | 2 +- .../Text/TextRegexSourceGen.GenClass.cs | 4 +-- .../Text/TextRegexSourceGen.GenContext.cs | 6 ++-- .../Text/TextRegexSourceGen.GenFile.cs | 10 +++--- .../Text/TextRegexSourceGen.Source.cs | 4 +-- .../Text/TextRegexSourceGen.cs | 4 +-- .../regex_node_transaction.md | 0 .../Common/AbstractSyntaxTree.cs | 0 .../Common/CodeLineHelper.cs | 0 .../Common/CompileDepthState.cs | 0 .../Common/CompileStack.cs | 0 .../Common/IScriptSourceProvider.cs | 0 .../Common/IScriptTokenReader.cs | 0 .../Common/ISyntaxAnalyzer.cs | 0 .../Common/ISyntaxNode.cs | 0 .../Common/ITypeSource.cs | 0 .../Common/ScriptSourceTransmitter.cs | 0 .../Common/Token.cs | 0 .../Express/Builtin/ExpBuiltinType.cs | 0 .../Express/Builtin/ExpCollection.cs | 0 .../Express/Builtin/ExpCollectionInstance.cs | 0 .../Express/Builtin/ExpLogic.cs | 0 .../Express/CompileEnv/BuiltinType.cs | 0 .../Express/CompileEnv/DefaultSchema.cs | 0 .../Express/CompileEnv/ExpCompile.cs | 0 .../CompileEnv/ExpOperatorPrecedence.cs | 0 .../Express/CompileEnv/KeyWord.cs | 0 .../Express/Element/ExpConst.cs | 0 .../Express/Element/ExpEntity.cs | 0 .../Express/Element/ExpFunction.cs | 0 .../Express/Element/ExpProcedureSource.cs | 0 .../Express/Element/ExpRule.cs | 0 .../Express/Element/ExpType.cs | 0 .../ExpAstNode/ExpBinaryOperatorNode.cs | 0 .../ExpAstNode/ExpCollectionIndexNode.cs | 0 .../ExpAstNode/ExpElementInitializingNode.cs | 0 .../ExpAstNode/ExpElementMemberNameNode.cs | 0 .../Express/ExpAstNode/ExpEnumLiteralNode.cs | 0 .../ExpAstNode/ExpFunctionCallingNode.cs | 0 .../Express/ExpAstNode/ExpIfNode.cs | 0 .../ExpAstNode/ExpInstanceMemberNode.cs | 0 .../ExpAstNode/ExpInstanceReferenceNode.cs | 0 .../Express/ExpAstNode/ExpLiteralNode.cs | 0 .../Express/ExpAstNode/ExpMetaRefNode.cs | 0 .../ExpAstNode/ExpProcedureCallingNode.cs | 0 .../ExpAstNode/ExpProcedureControlNode.cs | 0 .../ExpAstNode/ExpRangeAndIndexNode.cs | 0 .../Express/ExpAstNode/ExpRepeatNode.cs | 0 .../Express/ExpAstNode/ExpSwitchNode.cs | 0 .../Express/ExpAstNode/ExpTupleNode.cs | 0 .../ExpAstNode/ExpUnaryOperatorNode.cs | 0 .../Express/ExpAstNode/_ExpNode.cs | 0 .../Express/ExpElementInstance.cs | 0 .../Express/ExpElmentSource.cs | 0 .../Express/ExpExceptions.cs | 0 .../Express/ExpNodeFlag.cs | 0 .../Express/ExpNodeTempEnumerator.cs | 0 .../Express/ExpPostProcessor.cs | 0 .../Express/ExpSchemaBase.cs | 0 .../Express/ExpSchemaSource.Compile.cs | 0 .../Express/ExpSchemaSource.cs | 0 .../Express/ExpSource.cs | 0 .../Express/ExpSyntaxAnalyzer.CaseOf.cs | 0 .../Express/ExpSyntaxAnalyzer.Common.cs | 0 .../Express/ExpSyntaxAnalyzer.DepthEnter.cs | 0 .../Express/ExpSyntaxAnalyzer.ErrorProcess.cs | 0 .../Express/ExpSyntaxAnalyzer.If.cs | 0 .../ExpSyntaxAnalyzer.OperatorParser.cs | 0 .../ExpSyntaxAnalyzer.RangeAndIndex.cs | 0 .../Express/ExpSyntaxAnalyzer.RepeatLoop.cs | 0 .../ExpSyntaxAnalyzer.ReverseAnalysing.cs | 0 .../Express/ExpSyntaxAnalyzer.cs | 0 .../Express/ExpTokenReader.cs | 0 .../Express/GeneratedExpSchema.cs | 0 .../Express/IExpConvertableFrom.cs | 0 .../Nitload.Script.csproj} | 2 +- .../DialogueView.cs | 0 .../Nitload.TerminalDialogue.csproj} | 0 .../PostOpration.cs | 0 .../Program.cs | 0 src/{StgSharp.Tools => Nitload.Tools}/c.txt | 0 src/{StgSharp.Tools => Nitload.Tools}/cs.txt | 0 .../gl_diff.cs | 0 .../.$basic-arch.drawio.bkp | 0 .../PanelStateChangeBindingAttribute.cs | 2 +- .../Attribute/PanelStateNodeAttribute.cs | 2 +- .../Framework/Service.Host.cs | 2 +- .../Service.LoadAccomplishmentEvent.cs | 2 +- .../Framework/Service.LoadCommand.cs | 2 +- .../Framework/State.AppState.cs | 2 +- .../Framework/State.FrontCommandHost.cs | 2 +- .../Framework/State.Host.cs | 2 +- .../Framework/State.PanelState.cs | 2 +- .../Framework/State.ServiceManager.cs | 2 +- .../Framework/View.CommandResult.cs | 2 +- .../Framework/View.ExecuteCommand.cs | 2 +- .../Framework/View.Host.cs | 2 +- .../Framework/View.StateChangeCommand.cs | 2 +- .../Framework/View.StateValueCommand.cs | 2 +- .../IncrementalGeneratorFramework.md | 0 ...PanelStateIncrementalGenerator.Analysis.cs | 2 +- ...lStateIncrementalGenerator.Architecture.md | 0 ...elStateIncrementalGenerator.Diagnostics.cs | 4 +-- .../PanelStateIncrementalGenerator.Emitter.cs | 4 +-- .../PanelStateIncrementalGenerator.Models.cs | 6 ++-- ...PanelStateIncrementalGenerator.Pipeline.cs | 2 +- ...ncrementalGenerator.StateChangeBindings.cs | 2 +- ...crementalGenerator.StateCommandHandlers.cs | 2 +- ...lStateIncrementalGenerator.StateSymbols.cs | 2 +- .../PanelStateIncrementalGenerator.cs | 2 +- .../Global.cs | 0 .../Nitload.UserInterface.csproj} | 8 ++--- .../Sample/PanelStateSample.cs | 2 +- .../VSS_Arch.md | 2 +- .../VSS_BaseTypes.mmd | 0 .../VSS_TypeFramework.md | 2 +- .../basic-arch.drawio | 0 src/README.md | 6 ++-- .../StgSharp.Graphics.csproj | 12 ------- src/StgSharp.Model/StgSharp.Model.csproj | 7 ---- test/STgSharpTest/StgSharpTest.csproj | 8 ++--- test/StgSharpDebug/MatrixTest.cs | 6 ++-- test/StgSharpDebug/Program.cs | 16 ++++----- .../RenderStream/Partical.cs.old | 16 ++++----- test/StgSharpDebug/SlabStressTest.cs | 4 +-- test/StgSharpDebug/StgSharpDebug.csproj | 12 +++---- test/StgSharpDebug/TestL4.cs.old | 4 +-- test/StgSharpDebug/TestL4Behaviour.cs.old | 4 +-- test/StgSharpDebug/TestL4Prefetch.cs.old | 4 +-- test/StgSharpDebug/TestRegexAnalyse.cs | 6 ++-- test/StgSharpDebug/TestRender.cs | 6 ++-- test/StgSharpDebug/TestSwiss.cs | 4 +-- test/StgSharpDebug/TlsfStressTest.cs | 6 ++-- test/StgSharpDebug/hlsf-test.cs | 6 ++-- .../Analysis/GlFunctionFamilyAnalyzer.cs | 0 .../Analysis/GlFunctionFamilyModel.cs | 0 .../Analysis/GlFunctionNameFactorizer.cs | 0 .../FunctionFamilyCli.cs | 0 .../GenerateCli.cs | 0 .../Generation/CSharpAbiTypePolicy.cs | 0 .../Generation/GeneratedFileSet.cs | 0 .../Generation/GlEnumProjector.cs | 0 .../Generation/GlEnumTypeMap.cs | 0 .../Generation/GlEquivalentTypeMapper.cs | 0 .../Generation/GlGenerationTarget.cs | 0 .../Generation/GlGetValueApiFilter.cs | 0 .../Generation/GlHandleApiFilter.cs | 0 .../GlManagedApiSuppressionFilter.cs | 0 .../Generation/GlOverloadApiFilter.cs | 0 .../Generation/IGlApiFilter.cs | 0 .../Generation/ManagedApiModel.cs | 0 .../Generation/ManagedApiPlanner.cs | 0 .../Generation/ManagedEnumModel.cs | 0 .../Generation/OpenGlGenerator.cs | 0 .../Naming/CSharpIdentifierPolicy.cs | 0 .../Naming/GlManagedApiNamePolicy.cs | 0 .../Nitload.GenerateGL.csproj} | 0 .../Program.cs | 0 .../README.md | 4 +-- .../Registry/DesktopGlCoreRegistryFilter.cs | 0 .../Registry/GlApiDefinition.cs | 0 .../Registry/GlCommandDefinition.cs | 0 .../Registry/GlEnumDefinition.cs | 0 .../Registry/GlRegistryElement.cs | 0 .../Registry/GlRegistryModel.cs | 0 .../Registry/GlRegistryProjection.cs | 0 .../Registry/GlRegistryReader.cs | 0 .../Registry/GlTypeDefinition.cs | 0 .../RegistryCli.cs | 0 .../TargetRegistryCli.cs | 0 .../Tree/XmlTreeDocument.cs | 0 .../Tree/XmlTreeReader.cs | 0 .../XmlCli.cs | 0 .../gl.h | 0 .../xml/README.md | 2 +- tools/README.md | 2 +- 502 files changed, 710 insertions(+), 721 deletions(-) rename StgSharp.nuspec => Nitload.nuspec (58%) rename StgSharp.sln => Nitload.sln (82%) rename StgSharpDevelop.sln => NitloadDevelop.sln (88%) delete mode 100644 StgSharpDevelop.slnLaunch.user rename src/{StgSharp.Benchmark => Nitload.Benchmark}/HlsfAllocatorBench.cs (97%) rename src/{StgSharp.Benchmark/StgSharp.Benchmark.csproj => Nitload.Benchmark/Nitload.Benchmark.csproj} (70%) rename src/{StgSharp.Benchmark => Nitload.Benchmark}/Program.cs (97%) rename src/{StgSharp.Benchmark => Nitload.Benchmark}/SwissBenchmark.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/BidirectionalDictionary.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/CapacityFixedBag.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Collections/CapacityFixedList.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/CapacityFixedStack.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/ConcurrentCapacityFixedStack.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/ConcurrentFlexibleArray.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Collections/IBidirectionalDictionary.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Collections/LinearBag.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/ListSegment.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Collections/RandomAccessibleStack.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/SwissTable.X86.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/SwissTable.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/UnmanagedArray.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Collections/UnmanagedStack.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Environment/Dialogue.cs (97%) rename src/{StgSharp.Common => Nitload.Common}/Environment/ErrorDefine.cs (97%) rename src/{StgSharp.Common => Nitload.Common}/Environment/GlobalSetting.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Environment/IStaticModule.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Environment/Platform.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Global.cs (60%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/IdMultiplexer.cs (91%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/BufferStack.cs (83%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/ConcurrentBufferStack.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/L4.CacheLine.cs (96%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/L4.Debug.cs (97%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/L4.Evict.cs (97%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/L4.Exceptions.cs (95%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/L4.Predict.cs (86%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/L4.Predictor.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/L4.Prefetch.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/L4.Tlsf.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/L4.cs (97%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/Ptr64.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/SlabAllocationHandle.cs (95%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/SlabAllocator.Chunked.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/SlabAllocator.ChunkedConcurrent.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/SlabAllocator.Fixed.cs (95%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/SlabAllocator.SequencialConcurrent.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/SlabAllocator.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/Memory/TwoLayerSegregatedFitAllocator.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/ProcessorAbstraction/IRegisterType.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/ProcessorAbstraction/LogicalCore.cs (94%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/ProcessorAbstraction/M128.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/ProcessorAbstraction/M256.cs (95%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/ProcessorAbstraction/M512.cs (95%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/ProcessorAbstraction/M64.cs (97%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/ProcessorAbstraction/Numa.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/HighPerformance/ProcessorAbstraction/NumaNode.cs (94%) rename src/{StgSharp.Common => Nitload.Common}/Internal/DefaultLog.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Internal/Native.cs (90%) rename src/{StgSharp.Common => Nitload.Common}/Internal/public.cs (96%) rename src/{StgSharp.Common/StgSharp.Common.csproj => Nitload.Common/Nitload.Common.csproj} (100%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/CrossFramePipelineNode.cs (97%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/IConvertableToPipelineNode.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/PipeLineRunner.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/PipelineMarshal.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/PipelineNode.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/PipelineNodeLabel.cs (97%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/PipelineNodePort.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/PipelineScheduler.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/PortArgs.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/PipeLine/SideNode.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Properties/PublishProfiles/FolderProfile.pubxml (100%) rename src/{StgSharp.Common => Nitload.Common}/State/ISimpleStateMachine.cs (97%) rename src/{StgSharp.Common => Nitload.Common}/State/SimpleStateMachineNode.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/State/StateContext.cs (94%) rename src/{StgSharp.Common => Nitload.Common}/Threading/AdaptiveBackoffStrategy.cs (100%) rename src/{StgSharp.Common => Nitload.Common}/Threading/BufferExpansionLock.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Threading/CancellableTask.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Threading/SingleConsumerBell.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Threading/ThreadHelper.cs (95%) rename src/{StgSharp.Common => Nitload.Common}/Threading/VariableCapacitySemaphore.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Timing/StgSharpTime.cs (96%) rename src/{StgSharp.Common => Nitload.Common}/Timing/TimeSequence.cs (99%) rename src/{StgSharp.Common => Nitload.Common}/Timing/TimeSourceProvider.cs (94%) rename src/{StgSharp.Common => Nitload.Common}/Timing/TimeSpanProvider.Awaiting.cs (98%) rename src/{StgSharp.Common => Nitload.Common}/Timing/TimeSpanProvider.cs (97%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/CPUanimation.IImageProvider.cs.old (93%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/CPUanimation.ImageHelper.cs.old (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/Define.BufferObjectBase.cs.old (95%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/GraphicInitializer.cs.old (95%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/Image.Native.cs.old (95%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/Image.cs.old (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/ImageInfo.cs.old (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/OpenGL.Buffer.AutoTexture.cs.old (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/OpenGL.Buffer.GLBufferObjectBase.cs.old (91%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/OpenGL.Generated.GlCommandHistory.g.cs.old (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/OpenGL.ShaderEdit.IglConvertable.cs.old (93%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/OpenGL.glApiManager.Const.cs.old (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/OpenGL.glApiManager.cs.old (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/OpenGL.glRenderObjectGenrator.cs.old (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/OpenGL.glRenderStream.ThreadSecurity.cs.old (95%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/OpenGL.glType.cs.old (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/Pixels.cs.old (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/README.md (100%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/ShaderEdit.InternalShaderType.cs.old (95%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/ShaderEdit.ShaderGenerator.cs.old (97%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/ShaderEdit.ShaderStruct.cs.old (96%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/TexturePipeline.cs.old (94%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/Vulkan.vkEnum.cs.old (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/Vulkan.vkHandle.cs.old (95%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/framework.cs.old (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/gl.cs.old (96%) rename src/{StgSharp.Graphics => Nitload.Graphics}/.discard/glfw.dtruct.cs.old (96%) rename src/{StgSharp.Graphics => Nitload.Graphics}/Camera.cs (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/Environment/Monitor.cs (97%) rename src/{StgSharp.Graphics => Nitload.Graphics}/FrameworkConstant.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/Global.cs (88%) rename src/{StgSharp.Graphics => Nitload.Graphics}/Image.cs (99%) create mode 100644 src/Nitload.Graphics/Nitload.Graphics.csproj rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Api/OpenGLFunction.Diagnostics.cs (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Api/OpenGLFunction.Shader.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Buffer/EBO.cs (93%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Buffer/FBO.cs (93%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Buffer/RBO.cs (93%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Buffer/TextureGL.cs (97%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Buffer/VAO.cs (93%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Buffer/VBO.cs (93%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/GlEnums.g.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenGLFunction.Base.g.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenGLFunction.v3_3.g.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenGLFunction.v4_0.g.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenGLFunction.v4_1.g.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenGLFunction.v4_2.g.cs (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenGLFunction.v4_3.g.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenGLFunction.v4_4.g.cs (98%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenGLFunction.v4_5.g.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenGLFunction.v4_6.g.cs (96%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/OpenglContext.g.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/glContextShadow.g.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Generated/glconst.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/Shader.cs (97%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/glApiManager.Load.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/glApiManager.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/glAttachment.cs (95%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/glException.cs (96%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/glHandle.cs (97%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/glRenderStream.cs (96%) rename src/{StgSharp.Graphics => Nitload.Graphics}/OpenGL/glSync.cs (92%) rename src/{StgSharp.Graphics => Nitload.Graphics}/PlainGeometryMesh.cs (93%) rename src/{StgSharp.Graphics => Nitload.Graphics}/RenderStream.cs (96%) rename src/{StgSharp.Graphics => Nitload.Graphics}/Rgba8.cs (96%) rename src/{StgSharp.Graphics => Nitload.Graphics}/ViewSurface.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/glfw.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/glfw.function.cs (99%) rename src/{StgSharp.Graphics => Nitload.Graphics}/glfw.struct.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/.discard/CoordinationNaming.md (100%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/.discard/MatrixCompute.Factorize.cs.old (99%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/.discard/MatrixCompute.Single.cs.old (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/.discard/MatrixCompute.double.cs.old (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/.discard/MatrixParallelHandle.cs.old (97%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/.discard/MatrixParallelWrap.cs.old (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/AssemblyInfo.cs (76%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/Coordination/CoordinationBase.cs (95%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/Coordination/PlainCoordinate.cs (92%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/Coordination/SpaceCoordinate.cs (86%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/Coordination/StreamLocalCoordinate.cs (89%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/GemoryException.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/GeometryOperation/GeometryOperation.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/GeometryScaler/Angle.cs (99%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/IGeometry.cs (88%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/IGeomtryBuffer.cs (93%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/IInstancing.cs (94%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/IInstancingBuffer.cs (87%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Cordinate.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Define/GeometryOperation.cs (84%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Define/IPlainEntity.cs (91%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Define/ParticleOnPlain.cs (91%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Define/PlainGeometry.cs (91%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Define/PlainInstancingBuffer.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Parallelogram.cs (94%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Plain.cs (95%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Polygon4.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Polygon5.cs (95%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Polygon6.cs (90%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Rectangle.cs (93%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Square.cs (92%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/PlainGeometry/Triangle.cs (95%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/Point.cs (93%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/SpaceGeometry/Class1.cs (89%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Geometries/SpaceGeometry/TriangulatedSurface.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Internal/ColumnSet2.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Internal/ColumnSet3.cs (95%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Internal/ColumnSet4.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Internal/IntrinsicContext.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Internal/MatrixKernel.cs (97%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Internal/MatrixPanel.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Internal/SIMDID.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Internal/ScalarPacket.cs (93%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Internal/UnsafeCompute.cs (94%) rename src/{StgSharp.Mathematics/StgSharp.Mathematics.csproj => Nitload.Mathematics/Nitload.Mathematics.csproj} (54%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Cordination.cs (87%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/GraphicVector.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/GraphicsMatrix.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Vec2.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Vec2_T.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Vec3.cs (99%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Vec3_T.cs (99%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Vec4.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Vec4_T.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Vector.GetLength.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Vector.Normalize.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Graphics/Vector.Orthogonalize.cs (97%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/Exception.cs (97%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/IUnmanagedVector.cs (94%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/Matrix.Create.cs (94%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/Matrix.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/MatrixCompute.Double.cs (67%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/MatrixCompute.Single.cs (91%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/MatrixCompute.cs (86%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/MatrixIndex.cs (97%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/MatrixMetadata.cs (99%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Linear/MatrixStorage.cs (87%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/NumericalModule.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixOperatorPolicy.cs (94%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallel.Await.old (99%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallel.AwaitingQueue.old (99%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallel.Numa.cs (90%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallel.Publish.cs (92%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallel.cs (98%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallelQueue.cs (93%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallelTask.cs (93%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallelThread.Fma.cs.old (97%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallelThread.Model.cs.old (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallelThread.Sequential.cs (90%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallelThread.cs (96%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/MatrixParallelWrap.cs (94%) rename src/{StgSharp.Mathematics => Nitload.Mathematics}/Numeric/Runtime/QueueFactory.cs (92%) create mode 100644 src/Nitload.Model/Nitload.Model.csproj rename src/{StgSharp.Native => Nitload.Native}/.clang-format (100%) rename src/{StgSharp.Native => Nitload.Native}/.clangd (100%) rename src/{StgSharp.Native => Nitload.Native}/CMakeLists.txt (92%) rename src/{StgSharp.Native => Nitload.Native}/CMakePresets.json (100%) rename src/{StgSharp.Native => Nitload.Native}/ExternalLibs.cmake (100%) rename src/{StgSharp.Native/StgSharp.Native.vcxproj => Nitload.Native/Nitload.Native.vcxproj} (99%) rename src/{StgSharp.Native/StgSharp.Native.vcxproj.filters => Nitload.Native/Nitload.Native.vcxproj.filters} (100%) rename src/{StgSharp.Native => Nitload.Native}/README.md (100%) rename src/{StgSharp.Native => Nitload.Native}/SIMDID.x86.md (100%) rename src/{StgSharp.Native => Nitload.Native}/lib/CMakeLists.txt (100%) rename src/{StgSharp.Native => Nitload.Native}/lib/glfw/CMakeLists.txt (100%) rename src/{StgSharp.Native => Nitload.Native}/lib/glfw/glfw3.h (100%) rename src/{StgSharp.Native => Nitload.Native}/lib/glfw/glfw3.lib (100%) rename src/{StgSharp.Native => Nitload.Native}/lib/glfw/glfw3_mt.lib (100%) rename src/{StgSharp.Native => Nitload.Native}/lib/glfw/glfw3dll.lib (100%) rename src/{StgSharp.Native => Nitload.Native}/lib/glfw/glfw3native.h (100%) rename src/{StgSharp.Native => Nitload.Native}/lib/stbi/CMakeLists.txt (100%) rename src/{StgSharp.Native => Nitload.Native}/lib/stbi/stb_image.h (100%) rename src/{StgSharp.Native => Nitload.Native}/naming.md (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-head/StgSharpNative.h (90%) rename src/{StgSharp.Native => Nitload.Native}/sn-head/glfw_function.h (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-head/sn_internal.h (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-head/sn_intrinsic.context.base.h (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-head/sn_intrinsic.context.x86.h (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-head/sn_intrinsic.h (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-head/sn_intrinsic.matkernel.h (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-head/sn_intrinsic.std.h (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-head/sn_target.h (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/dllmain.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/load_glfw.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/load_intrinsic.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/m.bufop.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/m.solve.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/m.transpose.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/mk.fma.pack.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/mk.fma.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/mk.p_scan.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/s.factorial.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/s.hash.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/simdid.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/simdid_compare.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/sk.fma.x86.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/thread.linux.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/thread.windows.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/vector.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-src/vector_dot.c (100%) rename src/{StgSharp.Native => Nitload.Native}/sn-template/sn_template.fma.x86.h (100%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/RegexAnalyzer.IRGenerate.cs.old (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/RegexAnalyzer.IROptimize.cs.old (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/RegexAnalyzer.PrefixEmit.cs.old (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/RegexIR.Abstraction.cs.old (97%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/RegexIR.Prefix.cs.old (98%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/RegexIR.cs.old (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/RegexIRGenerator.cs.old (97%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/TextRegexSourceGen.GenClass.MultiIR.cs.old (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/TextRegexSourceGen.GenClass.Prefix.cs.old (98%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/.discard/TextRegexSourceGen.GenClass.SingleIR.cs.old (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Abstraction/AbstractSyntaxTree.cs (98%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Abstraction/CompileDepthState.cs (96%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Abstraction/CompileStack.cs (98%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Abstraction/ISyntaxNode.cs (95%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Abstraction/ISyntaxPayload.cs (92%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Abstraction/ITokenParser.cs (94%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Abstraction/ITokenReader.cs (95%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Abstraction/SequenceEmitter.cs (98%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Abstraction/Token.cs (98%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/COUNT_UNIT_GENERATION.md (100%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Global.cs (100%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/GroupIndex.cs (94%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/IR_RETIRED.md (100%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/NGRA_pattern_file.md (99%) rename src/{StgSharp.RegularAnalysis/StgSharp.RegularAnalysis.csproj => Nitload.RegularAnalysis/Nitload.RegularAnalysis.csproj} (66%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/SourceGenerate.cs (92%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexAnalyzer.ASTGenerate.cs (98%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexAnalyzer.ASTNodeOptimize.cs (87%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexAnalyzer.ASTOptimize.cs (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexAnalyzer.cs (96%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexAnanlyzer.ASTNodeOptimize.cs (100%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexAstNode.AdditionalPayload.cs (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexAstNode.cs (98%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexElementLabel.cs (96%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexTokenParser.cs (96%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/RegexTokenReader.cs (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/TextRegex.cs (86%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/TextRegexAttribute.cs (93%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/TextRegexSourceGen.Diagnostic.cs (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/TextRegexSourceGen.GenClass.cs (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/TextRegexSourceGen.GenContext.cs (96%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/TextRegexSourceGen.GenFile.cs (93%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/TextRegexSourceGen.Source.cs (98%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/Text/TextRegexSourceGen.cs (99%) rename src/{StgSharp.RegularAnalysis => Nitload.RegularAnalysis}/regex_node_transaction.md (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/AbstractSyntaxTree.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/CodeLineHelper.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/CompileDepthState.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/CompileStack.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/IScriptSourceProvider.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/IScriptTokenReader.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/ISyntaxAnalyzer.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/ISyntaxNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/ITypeSource.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/ScriptSourceTransmitter.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Common/Token.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Builtin/ExpBuiltinType.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Builtin/ExpCollection.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Builtin/ExpCollectionInstance.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Builtin/ExpLogic.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/CompileEnv/BuiltinType.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/CompileEnv/DefaultSchema.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/CompileEnv/ExpCompile.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/CompileEnv/ExpOperatorPrecedence.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/CompileEnv/KeyWord.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Element/ExpConst.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Element/ExpEntity.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Element/ExpFunction.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Element/ExpProcedureSource.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Element/ExpRule.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/Element/ExpType.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpBinaryOperatorNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpCollectionIndexNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpElementInitializingNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpElementMemberNameNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpEnumLiteralNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpFunctionCallingNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpIfNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpInstanceMemberNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpInstanceReferenceNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpLiteralNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpMetaRefNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpProcedureCallingNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpProcedureControlNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpRangeAndIndexNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpRepeatNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpSwitchNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpTupleNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/ExpUnaryOperatorNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpAstNode/_ExpNode.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpElementInstance.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpElmentSource.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpExceptions.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpNodeFlag.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpNodeTempEnumerator.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpPostProcessor.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSchemaBase.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSchemaSource.Compile.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSchemaSource.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSource.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.CaseOf.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.Common.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.DepthEnter.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.ErrorProcess.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.If.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.OperatorParser.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.RangeAndIndex.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.RepeatLoop.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.ReverseAnalysing.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpSyntaxAnalyzer.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/ExpTokenReader.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/GeneratedExpSchema.cs (100%) rename src/{StgSharp.Script => Nitload.Script}/Express/IExpConvertableFrom.cs (100%) rename src/{StgSharp.Script/StgSharp.Script.csproj => Nitload.Script/Nitload.Script.csproj} (78%) rename src/{StgSharp.TerminalDialogue => Nitload.TerminalDialogue}/DialogueView.cs (100%) rename src/{StgSharp.TerminalDialogue/StgSharp.TerminalDialogue.csproj => Nitload.TerminalDialogue/Nitload.TerminalDialogue.csproj} (100%) rename src/{StgSharp.TerminalDialogue => Nitload.TerminalDialogue}/PostOpration.cs (100%) rename src/{StgSharp.TerminalDialogue => Nitload.TerminalDialogue}/Program.cs (100%) rename src/{StgSharp.Tools => Nitload.Tools}/c.txt (100%) rename src/{StgSharp.Tools => Nitload.Tools}/cs.txt (100%) rename src/{StgSharp.Tools => Nitload.Tools}/gl_diff.cs (100%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/.$basic-arch.drawio.bkp (100%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Attribute/PanelStateChangeBindingAttribute.cs (97%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Attribute/PanelStateNodeAttribute.cs (92%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/Service.Host.cs (97%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/Service.LoadAccomplishmentEvent.cs (94%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/Service.LoadCommand.cs (96%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/State.AppState.cs (96%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/State.FrontCommandHost.cs (97%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/State.Host.cs (98%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/State.PanelState.cs (95%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/State.ServiceManager.cs (97%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/View.CommandResult.cs (94%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/View.ExecuteCommand.cs (96%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/View.Host.cs (98%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/View.StateChangeCommand.cs (96%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Framework/View.StateValueCommand.cs (94%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/IncrementalGeneratorFramework.md (100%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.Analysis.cs (98%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.Architecture.md (100%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.Diagnostics.cs (76%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.Emitter.cs (96%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.Models.cs (91%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.Pipeline.cs (99%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.StateChangeBindings.cs (96%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.StateCommandHandlers.cs (98%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.StateSymbols.cs (96%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Generator/PanelStateIncrementalGenerator.cs (98%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Global.cs (100%) rename src/{StgSharp.UserInterface/StgSharp.UserInterface.csproj => Nitload.UserInterface/Nitload.UserInterface.csproj} (75%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/Sample/PanelStateSample.cs (98%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/VSS_Arch.md (98%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/VSS_BaseTypes.mmd (100%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/VSS_TypeFramework.md (98%) rename src/{StgSharp.UserInterface => Nitload.UserInterface}/basic-arch.drawio (100%) delete mode 100644 src/StgSharp.Graphics/StgSharp.Graphics.csproj delete mode 100644 src/StgSharp.Model/StgSharp.Model.csproj rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Analysis/GlFunctionFamilyAnalyzer.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Analysis/GlFunctionFamilyModel.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Analysis/GlFunctionNameFactorizer.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/FunctionFamilyCli.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/GenerateCli.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/CSharpAbiTypePolicy.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/GeneratedFileSet.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/GlEnumProjector.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/GlEnumTypeMap.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/GlEquivalentTypeMapper.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/GlGenerationTarget.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/GlGetValueApiFilter.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/GlHandleApiFilter.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/GlManagedApiSuppressionFilter.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/GlOverloadApiFilter.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/IGlApiFilter.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/ManagedApiModel.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/ManagedApiPlanner.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/ManagedEnumModel.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Generation/OpenGlGenerator.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Naming/CSharpIdentifierPolicy.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Naming/GlManagedApiNamePolicy.cs (100%) rename tools/{StgSharp.GenerateGL/StgSharp.GenerateGL.csproj => Nitload.GenerateGL/Nitload.GenerateGL.csproj} (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Program.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/README.md (97%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Registry/DesktopGlCoreRegistryFilter.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Registry/GlApiDefinition.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Registry/GlCommandDefinition.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Registry/GlEnumDefinition.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Registry/GlRegistryElement.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Registry/GlRegistryModel.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Registry/GlRegistryProjection.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Registry/GlRegistryReader.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Registry/GlTypeDefinition.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/RegistryCli.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/TargetRegistryCli.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Tree/XmlTreeDocument.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/Tree/XmlTreeReader.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/XmlCli.cs (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/gl.h (100%) rename tools/{StgSharp.GenerateGL => Nitload.GenerateGL}/xml/README.md (96%) diff --git a/.gitignore b/.gitignore index 623dbd24..b4fe3529 100644 --- a/.gitignore +++ b/.gitignore @@ -29,8 +29,9 @@ build.ninja BenchmarkDotNet.Artifacts/ # Khronos OpenGL Registry input is supplied locally; keep only its instructions. -/tools/StgSharp.GenerateGL/xml/* -!/tools/StgSharp.GenerateGL/xml/README.md +/tools/Nitload.GenerateGL/xml/* +!/tools/Nitload.GenerateGL/xml/README.md -/StgSharp.Native/lib/ -!/StgSharp.Native/lib/**/CMakeLists.txt +/src/Nitload.Native/lib/* +!/src/Nitload.Native/lib/**/ +!/src/Nitload.Native/lib/**/CMakeLists.txt diff --git a/Directory.Build.props b/Directory.Build.props index b337b473..d14269f3 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -51,7 +51,7 @@ $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'Directory.Build.props'))\ - StgSharp.Native + Nitload.Native diff --git a/Directory.Build.targets b/Directory.Build.targets index 29e3f05f..749f92a9 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -21,7 +21,7 @@ SkipUnchangedFiles="true" /> + Text="[Nitload] $(MSBuildProjectName) → $(ManagedBuildDir)" /> @@ -50,16 +50,16 @@ Condition="'@(_NativeLibFile)'!='' Or '@(_NativeSymFile)'!=''" /> - - + - StgSharp + Nitload 1.0.0 - StgSharp + Nitload Nitload false MIT @@ -15,8 +15,8 @@ OpenGL C# - - - + + + - \ No newline at end of file + diff --git a/StgSharp.sln b/Nitload.sln similarity index 82% rename from StgSharp.sln rename to Nitload.sln index bd32a497..52823d30 100644 --- a/StgSharp.sln +++ b/Nitload.sln @@ -3,27 +3,27 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 18 VisualStudioVersion = 18.3.11520.95 d18.3 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Common", "src\StgSharp.Common\StgSharp.Common.csproj", "{3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Common", "src\Nitload.Common\Nitload.Common.csproj", "{3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF}" ProjectSection(ProjectDependencies) = postProject {20CBFF26-6746-402E-992C-7B643E9423EB} = {20CBFF26-6746-402E-992C-7B643E9423EB} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StgSharp.Native", "src\StgSharp.Native\StgSharp.Native.vcxproj", "{20CBFF26-6746-402E-992C-7B643E9423EB}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Nitload.Native", "src\Nitload.Native\Nitload.Native.vcxproj", "{20CBFF26-6746-402E-992C-7B643E9423EB}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0961B2BE-415C-45EA-8607-5B83623B2EF7}" ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.TerminalDialogue", "src\StgSharp.TerminalDialogue\StgSharp.TerminalDialogue.csproj", "{10B5819F-2A62-41B6-980A-EB9E76A0E95C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.TerminalDialogue", "src\Nitload.TerminalDialogue\Nitload.TerminalDialogue.csproj", "{10B5819F-2A62-41B6-980A-EB9E76A0E95C}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Model", "src\StgSharp.Model\StgSharp.Model.csproj", "{D9538DE0-EE4C-4183-86D6-7DFC08A7BDFB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Model", "src\Nitload.Model\Nitload.Model.csproj", "{D9538DE0-EE4C-4183-86D6-7DFC08A7BDFB}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Mathematics", "src\StgSharp.Mathematics\StgSharp.Mathematics.csproj", "{9946599F-4D34-440F-840D-F9443D5AEFAA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Mathematics", "src\Nitload.Mathematics\Nitload.Mathematics.csproj", "{9946599F-4D34-440F-840D-F9443D5AEFAA}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.RegularAnalysis", "src\StgSharp.RegularAnalysis\StgSharp.RegularAnalysis.csproj", "{46339874-C6B8-4361-997E-2E30387E51F9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.RegularAnalysis", "src\Nitload.RegularAnalysis\Nitload.RegularAnalysis.csproj", "{46339874-C6B8-4361-997E-2E30387E51F9}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Graphics", "src\StgSharp.Graphics\StgSharp.Graphics.csproj", "{80CD3DDE-0642-451D-82DF-0DE422FC6E34}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Graphics", "src\Nitload.Graphics\Nitload.Graphics.csproj", "{80CD3DDE-0642-451D-82DF-0DE422FC6E34}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -98,4 +98,4 @@ Global GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {E13615C2-4C8D-4072-95A1-124440983818} EndGlobalSection -EndGlobal \ No newline at end of file +EndGlobal diff --git a/StgSharpDevelop.sln b/NitloadDevelop.sln similarity index 88% rename from StgSharpDevelop.sln rename to NitloadDevelop.sln index 372ad74b..148270f3 100644 --- a/StgSharpDevelop.sln +++ b/NitloadDevelop.sln @@ -9,32 +9,32 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharpDebug", "test\StgSh {20CBFF26-6746-402E-992C-7B643E9423EB} = {20CBFF26-6746-402E-992C-7B643E9423EB} {3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF} = {3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF} EndProjectSection +EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0961B2BE-415C-45EA-8607-5B83623B2EF7}" ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Common", "src\StgSharp.Common\StgSharp.Common.csproj", "{3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Common", "src\Nitload.Common\Nitload.Common.csproj", "{3EAF2EE6-FA9E-4F57-951F-7E6F8125DFBF}" ProjectSection(ProjectDependencies) = postProject {20CBFF26-6746-402E-992C-7B643E9423EB} = {20CBFF26-6746-402E-992C-7B643E9423EB} EndProjectSection EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Benchmark", "src\Nitload.Benchmark\Nitload.Benchmark.csproj", "{0D4D2A8F-2B5B-4F7D-8D63-4A9AF4B4C782}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Benchmark", "src\StgSharp.Benchmark\StgSharp.Benchmark.csproj", "{0D4D2A8F-2B5B-4F7D-8D63-4A9AF4B4C782}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Nitload.Native", "src\Nitload.Native\Nitload.Native.vcxproj", "{20CBFF26-6746-402E-992C-7B643E9423EB}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StgSharp.Native", "src\StgSharp.Native\StgSharp.Native.vcxproj", "{20CBFF26-6746-402E-992C-7B643E9423EB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.TerminalDialogue", "src\Nitload.TerminalDialogue\Nitload.TerminalDialogue.csproj", "{10B5819F-2A62-41B6-980A-EB9E76A0E95C}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.TerminalDialogue", "src\StgSharp.TerminalDialogue\StgSharp.TerminalDialogue.csproj", "{10B5819F-2A62-41B6-980A-EB9E76A0E95C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Model", "src\Nitload.Model\Nitload.Model.csproj", "{D9538DE0-EE4C-4183-86D6-7DFC08A7BDFB}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Model", "src\StgSharp.Model\StgSharp.Model.csproj", "{D9538DE0-EE4C-4183-86D6-7DFC08A7BDFB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Mathematics", "src\Nitload.Mathematics\Nitload.Mathematics.csproj", "{9946599F-4D34-440F-840D-F9443D5AEFAA}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Mathematics", "src\StgSharp.Mathematics\StgSharp.Mathematics.csproj", "{9946599F-4D34-440F-840D-F9443D5AEFAA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.RegularAnalysis", "src\Nitload.RegularAnalysis\Nitload.RegularAnalysis.csproj", "{46339874-C6B8-4361-997E-2E30387E51F9}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.RegularAnalysis", "src\StgSharp.RegularAnalysis\StgSharp.RegularAnalysis.csproj", "{46339874-C6B8-4361-997E-2E30387E51F9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nitload.Graphics", "src\Nitload.Graphics\Nitload.Graphics.csproj", "{80CD3DDE-0642-451D-82DF-0DE422FC6E34}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StgSharp.Graphics", "src\StgSharp.Graphics\StgSharp.Graphics.csproj", "{80CD3DDE-0642-451D-82DF-0DE422FC6E34}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StgSharp.UserInterface", "src\StgSharp.UserInterface\StgSharp.UserInterface.csproj", "{E5F7BEEE-D666-F614-7FF7-55C11C810254}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nitload.UserInterface", "src\Nitload.UserInterface\Nitload.UserInterface.csproj", "{E5F7BEEE-D666-F614-7FF7-55C11C810254}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/ReadMe.md b/ReadMe.md index 2df546a0..1e106800 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -147,7 +147,7 @@ StgSharp is currently in development and requires compilation from source. **NuG 2. **Build the native library (recommended toolchain)**: ```bash - cmake --preset clang-release -S src/StgSharp.Native + cmake --preset clang-release -S src/Nitload.Native cmake --build cmake_build/clang-release ``` @@ -156,7 +156,7 @@ StgSharp is currently in development and requires compilation from source. **NuG 3. **Build the managed projects**: ```bash - dotnet build StgSharp.sln + dotnet build Nitload.sln ``` Managed builds copy an existing native binary into their output directory. They do not invoke CMake automatically, so build `StgSharp.Native` first when native functionality is required. @@ -226,8 +226,8 @@ allocator.Free(handle); ### Technical Documentation - [TLSF Allocator](doc/InroductionToTLSF.md) - Arena layout, allocation behavior, and benchmark methodology -- [Native Library Build](src/StgSharp.Native/README.md) - Native build and source-layout notes -- [Native Library Naming](src/StgSharp.Native/naming.md) - Native library file naming conventions +- [Native Library Build](src/Nitload.Native/README.md) - Native build and source-layout notes +- [Native Library Naming](src/Nitload.Native/naming.md) - Native library file naming conventions ## Contributing diff --git a/StgSharpDevelop.slnLaunch.user b/StgSharpDevelop.slnLaunch.user deleted file mode 100644 index 089714f2..00000000 --- a/StgSharpDevelop.slnLaunch.user +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "Name": "新建配置文件", - "Projects": [] - } -] \ No newline at end of file diff --git a/src/StgSharp.Benchmark/HlsfAllocatorBench.cs b/src/Nitload.Benchmark/HlsfAllocatorBench.cs similarity index 97% rename from src/StgSharp.Benchmark/HlsfAllocatorBench.cs rename to src/Nitload.Benchmark/HlsfAllocatorBench.cs index fbc14e74..4d015e28 100644 --- a/src/StgSharp.Benchmark/HlsfAllocatorBench.cs +++ b/src/Nitload.Benchmark/HlsfAllocatorBench.cs @@ -6,14 +6,14 @@ // ----------------------------------------------------------------------------- using BenchmarkDotNet.Attributes; -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; using System.Collections.Generic; using System.Runtime.InteropServices; -using Tlsf = StgSharp.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; +using Tlsf = Nitload.Common.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; -namespace StgSharp.Benchmark +namespace Nitload.Benchmark { [MemoryDiagnoser] public class TlsfAllocatorBench diff --git a/src/StgSharp.Benchmark/StgSharp.Benchmark.csproj b/src/Nitload.Benchmark/Nitload.Benchmark.csproj similarity index 70% rename from src/StgSharp.Benchmark/StgSharp.Benchmark.csproj rename to src/Nitload.Benchmark/Nitload.Benchmark.csproj index 47e94ad8..64d3231d 100644 --- a/src/StgSharp.Benchmark/StgSharp.Benchmark.csproj +++ b/src/Nitload.Benchmark/Nitload.Benchmark.csproj @@ -10,12 +10,12 @@ - + - - + + diff --git a/src/StgSharp.Benchmark/Program.cs b/src/Nitload.Benchmark/Program.cs similarity index 97% rename from src/StgSharp.Benchmark/Program.cs rename to src/Nitload.Benchmark/Program.cs index 6765f83a..43c14f8e 100644 --- a/src/StgSharp.Benchmark/Program.cs +++ b/src/Nitload.Benchmark/Program.cs @@ -10,7 +10,7 @@ using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Loggers; using BenchmarkDotNet.Running; using BenchmarkDotNet.Toolchains.InProcess.Emit; -using StgSharp.Benchmark; +using Nitload.Benchmark; IConfig config = ManualConfig.Create(DefaultConfig.Instance) .AddLogger(ConsoleLogger.Default) diff --git a/src/StgSharp.Benchmark/SwissBenchmark.cs b/src/Nitload.Benchmark/SwissBenchmark.cs similarity index 99% rename from src/StgSharp.Benchmark/SwissBenchmark.cs rename to src/Nitload.Benchmark/SwissBenchmark.cs index 8d9a8b39..02596b8d 100644 --- a/src/StgSharp.Benchmark/SwissBenchmark.cs +++ b/src/Nitload.Benchmark/SwissBenchmark.cs @@ -6,12 +6,12 @@ // ----------------------------------------------------------------------------- using BenchmarkDotNet.Attributes; -using StgSharp.Collections; +using Nitload.Common.Collections; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; -namespace StgSharp.Benchmark +namespace Nitload.Benchmark { /// /// Benchmark comparing SwissTable against under diff --git a/src/StgSharp.Common/Collections/BidirectionalDictionary.cs b/src/Nitload.Common/Collections/BidirectionalDictionary.cs similarity index 99% rename from src/StgSharp.Common/Collections/BidirectionalDictionary.cs rename to src/Nitload.Common/Collections/BidirectionalDictionary.cs index 356d2e40..1c7a0945 100644 --- a/src/StgSharp.Common/Collections/BidirectionalDictionary.cs +++ b/src/Nitload.Common/Collections/BidirectionalDictionary.cs @@ -11,7 +11,7 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { public sealed class BidirectionalDictionary : IBidirectionalDictionary where TFirst : notnull diff --git a/src/StgSharp.Common/Collections/CapacityFixedBag.cs b/src/Nitload.Common/Collections/CapacityFixedBag.cs similarity index 98% rename from src/StgSharp.Common/Collections/CapacityFixedBag.cs rename to src/Nitload.Common/Collections/CapacityFixedBag.cs index 43ac6afc..84f454c3 100644 --- a/src/StgSharp.Common/Collections/CapacityFixedBag.cs +++ b/src/Nitload.Common/Collections/CapacityFixedBag.cs @@ -10,7 +10,7 @@ using System.Collections; using System.Collections.Generic; using System.Reflection; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { public sealed class CapacityFixedBag : IEnumerable { diff --git a/src/StgSharp.Common/Collections/CapacityFixedList.cs b/src/Nitload.Common/Collections/CapacityFixedList.cs similarity index 99% rename from src/StgSharp.Common/Collections/CapacityFixedList.cs rename to src/Nitload.Common/Collections/CapacityFixedList.cs index 6a940fbe..588afd03 100644 --- a/src/StgSharp.Common/Collections/CapacityFixedList.cs +++ b/src/Nitload.Common/Collections/CapacityFixedList.cs @@ -10,7 +10,7 @@ using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { public static class CapacityFixedListBuilder { diff --git a/src/StgSharp.Common/Collections/CapacityFixedStack.cs b/src/Nitload.Common/Collections/CapacityFixedStack.cs similarity index 99% rename from src/StgSharp.Common/Collections/CapacityFixedStack.cs rename to src/Nitload.Common/Collections/CapacityFixedStack.cs index a8021e53..14b8d02a 100644 --- a/src/StgSharp.Common/Collections/CapacityFixedStack.cs +++ b/src/Nitload.Common/Collections/CapacityFixedStack.cs @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Security.Cryptography; using System.Threading; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { [CollectionBuilder(typeof(CapacityFixedStackBuilder), nameof(CapacityFixedStackBuilder.Create))] public class CapacityFixedStack : IEnumerable diff --git a/src/StgSharp.Common/Collections/ConcurrentCapacityFixedStack.cs b/src/Nitload.Common/Collections/ConcurrentCapacityFixedStack.cs similarity index 99% rename from src/StgSharp.Common/Collections/ConcurrentCapacityFixedStack.cs rename to src/Nitload.Common/Collections/ConcurrentCapacityFixedStack.cs index ee25e051..f81fe176 100644 --- a/src/StgSharp.Common/Collections/ConcurrentCapacityFixedStack.cs +++ b/src/Nitload.Common/Collections/ConcurrentCapacityFixedStack.cs @@ -11,7 +11,7 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { /// /// Lock-free, fixed-capacity stack implemented on top of an array using atomic index diff --git a/src/StgSharp.Common/Collections/ConcurrentFlexibleArray.cs b/src/Nitload.Common/Collections/ConcurrentFlexibleArray.cs similarity index 98% rename from src/StgSharp.Common/Collections/ConcurrentFlexibleArray.cs rename to src/Nitload.Common/Collections/ConcurrentFlexibleArray.cs index 8ebe3179..809fdd51 100644 --- a/src/StgSharp.Common/Collections/ConcurrentFlexibleArray.cs +++ b/src/Nitload.Common/Collections/ConcurrentFlexibleArray.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { public class ConcurrentFlexibleArray( int capacity = 4 diff --git a/src/StgSharp.Common/Collections/IBidirectionalDictionary.cs b/src/Nitload.Common/Collections/IBidirectionalDictionary.cs similarity index 98% rename from src/StgSharp.Common/Collections/IBidirectionalDictionary.cs rename to src/Nitload.Common/Collections/IBidirectionalDictionary.cs index fa6d2a4f..d00d4c8d 100644 --- a/src/StgSharp.Common/Collections/IBidirectionalDictionary.cs +++ b/src/Nitload.Common/Collections/IBidirectionalDictionary.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { public interface IBidirectionalDictionary : IDictionary { diff --git a/src/StgSharp.Common/Collections/LinearBag.cs b/src/Nitload.Common/Collections/LinearBag.cs similarity index 99% rename from src/StgSharp.Common/Collections/LinearBag.cs rename to src/Nitload.Common/Collections/LinearBag.cs index 83e9cdbf..e311b2c6 100644 --- a/src/StgSharp.Common/Collections/LinearBag.cs +++ b/src/Nitload.Common/Collections/LinearBag.cs @@ -9,7 +9,7 @@ using System; using System.Collections.Generic; using System.Runtime.CompilerServices; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { public static class LinearBagBuilder { diff --git a/src/StgSharp.Common/Collections/ListSegment.cs b/src/Nitload.Common/Collections/ListSegment.cs similarity index 98% rename from src/StgSharp.Common/Collections/ListSegment.cs rename to src/Nitload.Common/Collections/ListSegment.cs index b3758985..cebeb75a 100644 --- a/src/StgSharp.Common/Collections/ListSegment.cs +++ b/src/Nitload.Common/Collections/ListSegment.cs @@ -14,7 +14,7 @@ using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { /// /// Part of a collection. This contains a direct reference to _origin collection, so all diff --git a/src/StgSharp.Common/Collections/RandomAccessibleStack.cs b/src/Nitload.Common/Collections/RandomAccessibleStack.cs similarity index 99% rename from src/StgSharp.Common/Collections/RandomAccessibleStack.cs rename to src/Nitload.Common/Collections/RandomAccessibleStack.cs index 2e338620..314e8b45 100644 --- a/src/StgSharp.Common/Collections/RandomAccessibleStack.cs +++ b/src/Nitload.Common/Collections/RandomAccessibleStack.cs @@ -9,7 +9,7 @@ using System; using System.Collections; using System.Collections.Generic; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { public class RandomAccessibleStack : IEnumerable { diff --git a/src/StgSharp.Common/Collections/SwissTable.X86.cs b/src/Nitload.Common/Collections/SwissTable.X86.cs similarity index 99% rename from src/StgSharp.Common/Collections/SwissTable.X86.cs rename to src/Nitload.Common/Collections/SwissTable.X86.cs index 4fc67a22..a2e01eac 100644 --- a/src/StgSharp.Common/Collections/SwissTable.X86.cs +++ b/src/Nitload.Common/Collections/SwissTable.X86.cs @@ -10,7 +10,7 @@ using System.Numerics; using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.X86; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { public partial class SwissTable { diff --git a/src/StgSharp.Common/Collections/SwissTable.cs b/src/Nitload.Common/Collections/SwissTable.cs similarity index 99% rename from src/StgSharp.Common/Collections/SwissTable.cs rename to src/Nitload.Common/Collections/SwissTable.cs index 5abedea8..67bbc0a1 100644 --- a/src/StgSharp.Common/Collections/SwissTable.cs +++ b/src/Nitload.Common/Collections/SwissTable.cs @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; using System.Runtime.Intrinsics.Arm; using System.Runtime.Intrinsics.X86; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { /// /// diff --git a/src/StgSharp.Common/Collections/UnmanagedArray.cs b/src/Nitload.Common/Collections/UnmanagedArray.cs similarity index 99% rename from src/StgSharp.Common/Collections/UnmanagedArray.cs rename to src/Nitload.Common/Collections/UnmanagedArray.cs index b96b4313..8d4eca8a 100644 --- a/src/StgSharp.Common/Collections/UnmanagedArray.cs +++ b/src/Nitload.Common/Collections/UnmanagedArray.cs @@ -12,7 +12,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { /// /// Zero-overhead view over a contiguous region of unmanaged memory. Does not own the memory — diff --git a/src/StgSharp.Common/Collections/UnmanagedStack.cs b/src/Nitload.Common/Collections/UnmanagedStack.cs similarity index 98% rename from src/StgSharp.Common/Collections/UnmanagedStack.cs rename to src/Nitload.Common/Collections/UnmanagedStack.cs index eb94681d..be5bc187 100644 --- a/src/StgSharp.Common/Collections/UnmanagedStack.cs +++ b/src/Nitload.Common/Collections/UnmanagedStack.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Collections +namespace Nitload.Common.Collections { public unsafe class UnmanagedStack( T* address, diff --git a/src/StgSharp.Common/Environment/Dialogue.cs b/src/Nitload.Common/Environment/Dialogue.cs similarity index 97% rename from src/StgSharp.Common/Environment/Dialogue.cs rename to src/Nitload.Common/Environment/Dialogue.cs index 9fe04505..45c19665 100644 --- a/src/StgSharp.Common/Environment/Dialogue.cs +++ b/src/Nitload.Common/Environment/Dialogue.cs @@ -16,7 +16,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading; -namespace StgSharp +namespace Nitload { public static class Dialogue { @@ -92,7 +92,7 @@ namespace StgSharp } string consoleRoute = Path.Combine( - path, @"StgSharp.TerminalDialogue", $@"StgSharp.TerminalDialogue{exeName}"); + path, @"Nitload.TerminalDialogue", $@"Nitload.TerminalDialogue{exeName}"); _dialogueProcessInfo = new ProcessStartInfo { diff --git a/src/StgSharp.Common/Environment/ErrorDefine.cs b/src/Nitload.Common/Environment/ErrorDefine.cs similarity index 97% rename from src/StgSharp.Common/Environment/ErrorDefine.cs rename to src/Nitload.Common/Environment/ErrorDefine.cs index 4944ea50..8a36f399 100644 --- a/src/StgSharp.Common/Environment/ErrorDefine.cs +++ b/src/Nitload.Common/Environment/ErrorDefine.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp +namespace Nitload { public class UniformEmptyReferenceException : Exception { diff --git a/src/StgSharp.Common/Environment/GlobalSetting.cs b/src/Nitload.Common/Environment/GlobalSetting.cs similarity index 99% rename from src/StgSharp.Common/Environment/GlobalSetting.cs rename to src/Nitload.Common/Environment/GlobalSetting.cs index 60c5ac13..d24c6995 100644 --- a/src/StgSharp.Common/Environment/GlobalSetting.cs +++ b/src/Nitload.Common/Environment/GlobalSetting.cs @@ -14,7 +14,7 @@ using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; -namespace StgSharp +namespace Nitload { public static unsafe partial class World { diff --git a/src/StgSharp.Common/Environment/IStaticModule.cs b/src/Nitload.Common/Environment/IStaticModule.cs similarity index 99% rename from src/StgSharp.Common/Environment/IStaticModule.cs rename to src/Nitload.Common/Environment/IStaticModule.cs index 7ebe9506..46b1aa3a 100644 --- a/src/StgSharp.Common/Environment/IStaticModule.cs +++ b/src/Nitload.Common/Environment/IStaticModule.cs @@ -9,7 +9,7 @@ using System; using System.Collections; using System.Collections.Generic; -namespace StgSharp +namespace Nitload { /// /// Represents a statically activated module that can be registered and initialized as part of diff --git a/src/StgSharp.Common/Environment/Platform.cs b/src/Nitload.Common/Environment/Platform.cs similarity index 98% rename from src/StgSharp.Common/Environment/Platform.cs rename to src/Nitload.Common/Environment/Platform.cs index d81677af..245dcbbe 100644 --- a/src/StgSharp.Common/Environment/Platform.cs +++ b/src/Nitload.Common/Environment/Platform.cs @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance; -using StgSharp.HighPerformance.ProcessorAbstraction; -using StgSharp.Timing; +using Nitload.Common.HighPerformance; +using Nitload.Common.HighPerformance.ProcessorAbstraction; +using Nitload.Common.Timing; using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp +namespace Nitload { internal enum GraphicAPI : byte { diff --git a/src/StgSharp.Common/Global.cs b/src/Nitload.Common/Global.cs similarity index 60% rename from src/StgSharp.Common/Global.cs rename to src/Nitload.Common/Global.cs index 5f75e5cf..be87319d 100644 --- a/src/StgSharp.Common/Global.cs +++ b/src/Nitload.Common/Global.cs @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -global using StgSharp.Internal; +global using Nitload.Common.Internal; global using System; global using System.Runtime.CompilerServices; global using System.Threading; -[assembly: InternalsVisibleTo("StgSharp.HighPerformance")] -[assembly: InternalsVisibleTo("StgSharp.RegularAnalysis")] -[assembly: InternalsVisibleTo("StgSharp.Graphics")] -[assembly: InternalsVisibleTo("StgSharp.Mathematics")] +[assembly: InternalsVisibleTo("Nitload.Common.HighPerformance")] +[assembly: InternalsVisibleTo("Nitload.RegularAnalysis")] +[assembly: InternalsVisibleTo("Nitload.Graphics")] +[assembly: InternalsVisibleTo("Nitload.Mathematics")] [assembly: InternalsVisibleTo("StgSharpDebug")] diff --git a/src/StgSharp.Common/HighPerformance/IdMultiplexer.cs b/src/Nitload.Common/HighPerformance/IdMultiplexer.cs similarity index 91% rename from src/StgSharp.Common/HighPerformance/IdMultiplexer.cs rename to src/Nitload.Common/HighPerformance/IdMultiplexer.cs index 3e13b671..e6384f7d 100644 --- a/src/StgSharp.Common/HighPerformance/IdMultiplexer.cs +++ b/src/Nitload.Common/HighPerformance/IdMultiplexer.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance +namespace Nitload.Common.HighPerformance { public class IdMultiplexer { } } diff --git a/src/StgSharp.Common/HighPerformance/Memory/BufferStack.cs b/src/Nitload.Common/HighPerformance/Memory/BufferStack.cs similarity index 83% rename from src/StgSharp.Common/HighPerformance/Memory/BufferStack.cs rename to src/Nitload.Common/HighPerformance/Memory/BufferStack.cs index 195c20d1..c1e96549 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/BufferStack.cs +++ b/src/Nitload.Common/HighPerformance/Memory/BufferStack.cs @@ -10,7 +10,7 @@ using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { [CollectionBuilder(typeof(BufferStackBuilder), nameof(BufferStackBuilder.Create))] public unsafe class BufferStack : IDisposable where T : unmanaged @@ -94,22 +94,19 @@ namespace StgSharp.HighPerformance.Memory } /// - /// Fills the stack in place via a caller-supplied callback, mirroring - /// CapacityFixedStack<T>.FillRange. + /// Fills the stack in place via a caller-supplied callback, mirroring + /// CapacityFixedStack<T>.FillRange . /// /// - /// Preferred over building a temporary span and handing it to - /// : - /// - /// The caller no longer needs a scratch buffer at all — the - /// callback writes straight into this stack's native storage, so there - /// is no stackalloc to size and no copy afterwards. - /// Span<T> does not implicitly convert to - /// ReadOnlySpan<T> in a way that participates in generic - /// type inference before C# 14, so Create(span) fails with - /// CS0411 on older compilers. Passing the element type through the - /// enclosing instance sidesteps inference entirely. - /// + /// Preferred over building a temporary span and handing it to : /// + /// The caller no longer needs a scratch buffer at all — the /// callback writes + /// straight into this stack's native storage, so there /// is no stackalloc to + /// size and no copy afterwards. /// Span<T> does not + /// implicitly convert to /// ReadOnlySpan<T> in a way that participates in + /// generic /// type inference before C# 14, so Create(span) fails with /// + /// CS0411 on older compilers. Passing the element type through the /// enclosing instance + /// sidesteps inference entirely. /// /// internal unsafe void FillRange( SpanAction filling, @@ -191,4 +188,4 @@ namespace StgSharp.HighPerformance.Memory } } -} \ No newline at end of file +} diff --git a/src/StgSharp.Common/HighPerformance/Memory/ConcurrentBufferStack.cs b/src/Nitload.Common/HighPerformance/Memory/ConcurrentBufferStack.cs similarity index 99% rename from src/StgSharp.Common/HighPerformance/Memory/ConcurrentBufferStack.cs rename to src/Nitload.Common/HighPerformance/Memory/ConcurrentBufferStack.cs index 61959a5c..cedc7e3b 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/ConcurrentBufferStack.cs +++ b/src/Nitload.Common/HighPerformance/Memory/ConcurrentBufferStack.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Threading; +using Nitload.Threading; using System; using System.Buffers; @@ -14,7 +14,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public static class BufferStackBuilder { diff --git a/src/StgSharp.Common/HighPerformance/Memory/L4.CacheLine.cs b/src/Nitload.Common/HighPerformance/Memory/L4.CacheLine.cs similarity index 96% rename from src/StgSharp.Common/HighPerformance/Memory/L4.CacheLine.cs rename to src/Nitload.Common/HighPerformance/Memory/L4.CacheLine.cs index c1591ad7..575bd318 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/L4.CacheLine.cs +++ b/src/Nitload.Common/HighPerformance/Memory/L4.CacheLine.cs @@ -5,10 +5,10 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.ProcessorAbstraction; +using Nitload.Common.HighPerformance.ProcessorAbstraction; using System.Runtime.InteropServices; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public partial class L4 { diff --git a/src/StgSharp.Common/HighPerformance/Memory/L4.Debug.cs b/src/Nitload.Common/HighPerformance/Memory/L4.Debug.cs similarity index 97% rename from src/StgSharp.Common/HighPerformance/Memory/L4.Debug.cs rename to src/Nitload.Common/HighPerformance/Memory/L4.Debug.cs index e3dd9817..53a40633 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/L4.Debug.cs +++ b/src/Nitload.Common/HighPerformance/Memory/L4.Debug.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { /**/ public partial class L4 diff --git a/src/StgSharp.Common/HighPerformance/Memory/L4.Evict.cs b/src/Nitload.Common/HighPerformance/Memory/L4.Evict.cs similarity index 97% rename from src/StgSharp.Common/HighPerformance/Memory/L4.Evict.cs rename to src/Nitload.Common/HighPerformance/Memory/L4.Evict.cs index decbe839..f53be977 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/L4.Evict.cs +++ b/src/Nitload.Common/HighPerformance/Memory/L4.Evict.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public partial class L4 { diff --git a/src/StgSharp.Common/HighPerformance/Memory/L4.Exceptions.cs b/src/Nitload.Common/HighPerformance/Memory/L4.Exceptions.cs similarity index 95% rename from src/StgSharp.Common/HighPerformance/Memory/L4.Exceptions.cs rename to src/Nitload.Common/HighPerformance/Memory/L4.Exceptions.cs index cff71175..de4efadb 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/L4.Exceptions.cs +++ b/src/Nitload.Common/HighPerformance/Memory/L4.Exceptions.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { #pragma warning disable CA1032 // Implement standard exception constructors diff --git a/src/StgSharp.Common/HighPerformance/Memory/L4.Predict.cs b/src/Nitload.Common/HighPerformance/Memory/L4.Predict.cs similarity index 86% rename from src/StgSharp.Common/HighPerformance/Memory/L4.Predict.cs rename to src/Nitload.Common/HighPerformance/Memory/L4.Predict.cs index 7aecfb7b..d30b411c 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/L4.Predict.cs +++ b/src/Nitload.Common/HighPerformance/Memory/L4.Predict.cs @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.HighPerformance.Memory; +using Nitload.Common.Collections; +using Nitload.Common.HighPerformance.Memory; using System; using System.Collections.Concurrent; using System.Collections.Generic; @@ -14,7 +14,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public partial class L4 { diff --git a/src/StgSharp.Common/HighPerformance/Memory/L4.Predictor.cs b/src/Nitload.Common/HighPerformance/Memory/L4.Predictor.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/Memory/L4.Predictor.cs rename to src/Nitload.Common/HighPerformance/Memory/L4.Predictor.cs index df0ec9d0..4344483c 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/L4.Predictor.cs +++ b/src/Nitload.Common/HighPerformance/Memory/L4.Predictor.cs @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { [Flags] public enum PredictResult diff --git a/src/StgSharp.Common/HighPerformance/Memory/L4.Prefetch.cs b/src/Nitload.Common/HighPerformance/Memory/L4.Prefetch.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/Memory/L4.Prefetch.cs rename to src/Nitload.Common/HighPerformance/Memory/L4.Prefetch.cs index 6b20ce78..73c7694e 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/L4.Prefetch.cs +++ b/src/Nitload.Common/HighPerformance/Memory/L4.Prefetch.cs @@ -8,7 +8,7 @@ using System.ComponentModel; using System.Numerics; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public unsafe partial class L4 { diff --git a/src/StgSharp.Common/HighPerformance/Memory/L4.Tlsf.cs b/src/Nitload.Common/HighPerformance/Memory/L4.Tlsf.cs similarity index 99% rename from src/StgSharp.Common/HighPerformance/Memory/L4.Tlsf.cs rename to src/Nitload.Common/HighPerformance/Memory/L4.Tlsf.cs index 240fda88..1b9a873a 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/L4.Tlsf.cs +++ b/src/Nitload.Common/HighPerformance/Memory/L4.Tlsf.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.ProcessorAbstraction; +using Nitload.Common.HighPerformance.ProcessorAbstraction; using System; using System.Collections.Generic; using System.Linq; @@ -14,7 +14,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public partial class L4 { diff --git a/src/StgSharp.Common/HighPerformance/Memory/L4.cs b/src/Nitload.Common/HighPerformance/Memory/L4.cs similarity index 97% rename from src/StgSharp.Common/HighPerformance/Memory/L4.cs rename to src/Nitload.Common/HighPerformance/Memory/L4.cs index 55eddf84..cd7e7a48 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/L4.cs +++ b/src/Nitload.Common/HighPerformance/Memory/L4.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.HighPerformance.Memory; -using StgSharp.HighPerformance.ProcessorAbstraction; +using Nitload.Common.Collections; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Common.HighPerformance.ProcessorAbstraction; using System.Data; using System.Runtime.InteropServices; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public sealed unsafe partial class L4 : IDisposable { diff --git a/src/StgSharp.Common/HighPerformance/Memory/Ptr64.cs b/src/Nitload.Common/HighPerformance/Memory/Ptr64.cs similarity index 99% rename from src/StgSharp.Common/HighPerformance/Memory/Ptr64.cs rename to src/Nitload.Common/HighPerformance/Memory/Ptr64.cs index 8a1e0426..824a8f5b 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/Ptr64.cs +++ b/src/Nitload.Common/HighPerformance/Memory/Ptr64.cs @@ -14,7 +14,7 @@ using System.Numerics; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { #pragma warning disable CA2225 diff --git a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocationHandle.cs b/src/Nitload.Common/HighPerformance/Memory/SlabAllocationHandle.cs similarity index 95% rename from src/StgSharp.Common/HighPerformance/Memory/SlabAllocationHandle.cs rename to src/Nitload.Common/HighPerformance/Memory/SlabAllocationHandle.cs index 6692085c..4b9dd598 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocationHandle.cs +++ b/src/Nitload.Common/HighPerformance/Memory/SlabAllocationHandle.cs @@ -8,7 +8,7 @@ using System; using System.Runtime.CompilerServices; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public unsafe struct SlabAllocationHandle : IDisposable where T : unmanaged { diff --git a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.Chunked.cs b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.Chunked.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.Chunked.cs rename to src/Nitload.Common/HighPerformance/Memory/SlabAllocator.Chunked.cs index 85cc6902..f580a91e 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.Chunked.cs +++ b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.Chunked.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Threading; +using Nitload.Threading; using System; using System.Collections.Generic; @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { internal sealed unsafe class ChunkedSlabAllocator : SlabAllocator where T : unmanaged { diff --git a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.ChunkedConcurrent.cs b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.ChunkedConcurrent.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.ChunkedConcurrent.cs rename to src/Nitload.Common/HighPerformance/Memory/SlabAllocator.ChunkedConcurrent.cs index 5c0b6f79..b67874f5 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.ChunkedConcurrent.cs +++ b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.ChunkedConcurrent.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Threading; +using Nitload.Threading; using System; using System.Collections.Generic; @@ -16,7 +16,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { internal sealed unsafe class ConcurrentChunkedSlabAllocator : SlabAllocator where T : unmanaged diff --git a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.Fixed.cs b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.Fixed.cs similarity index 95% rename from src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.Fixed.cs rename to src/Nitload.Common/HighPerformance/Memory/SlabAllocator.Fixed.cs index 0eb7a0c2..14a1354d 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.Fixed.cs +++ b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.Fixed.cs @@ -5,9 +5,9 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.HighPerformance.Memory; -using StgSharp.Threading; +using Nitload.Common.Collections; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Threading; using System; using System.Collections.Generic; using System.Linq; @@ -15,7 +15,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { internal unsafe class FixedSlabAllocator : SlabAllocator where T : unmanaged { diff --git a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.SequencialConcurrent.cs b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.SequencialConcurrent.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.SequencialConcurrent.cs rename to src/Nitload.Common/HighPerformance/Memory/SlabAllocator.SequencialConcurrent.cs index bfaa1488..7e2393ff 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.SequencialConcurrent.cs +++ b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.SequencialConcurrent.cs @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Threading; +using Nitload.Threading; using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public sealed unsafe class ConcurrentSequentialSlabAllocator : SlabAllocator where T : unmanaged diff --git a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.cs b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.cs rename to src/Nitload.Common/HighPerformance/Memory/SlabAllocator.cs index 12f8fc77..275feefd 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/SlabAllocator.cs +++ b/src/Nitload.Common/HighPerformance/Memory/SlabAllocator.cs @@ -5,10 +5,10 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public static class SlabAllocator { diff --git a/src/StgSharp.Common/HighPerformance/Memory/TwoLayerSegregatedFitAllocator.cs b/src/Nitload.Common/HighPerformance/Memory/TwoLayerSegregatedFitAllocator.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/Memory/TwoLayerSegregatedFitAllocator.cs rename to src/Nitload.Common/HighPerformance/Memory/TwoLayerSegregatedFitAllocator.cs index 459061ae..36a57614 100644 --- a/src/StgSharp.Common/HighPerformance/Memory/TwoLayerSegregatedFitAllocator.cs +++ b/src/Nitload.Common/HighPerformance/Memory/TwoLayerSegregatedFitAllocator.cs @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; -using StgSharp.HighPerformance.ProcessorAbstraction; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Common.HighPerformance.ProcessorAbstraction; using System; using System.Collections.Generic; using System.ComponentModel; @@ -18,9 +18,9 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Xml; -using static StgSharp.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; +using static Nitload.Common.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; -namespace StgSharp.HighPerformance.Memory +namespace Nitload.Common.HighPerformance.Memory { public unsafe class TwoLayerSegregatedFitAllocator : IDisposable { diff --git a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/IRegisterType.cs b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/IRegisterType.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/ProcessorAbstraction/IRegisterType.cs rename to src/Nitload.Common/HighPerformance/ProcessorAbstraction/IRegisterType.cs index f5afe124..a6089896 100644 --- a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/IRegisterType.cs +++ b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/IRegisterType.cs @@ -12,7 +12,7 @@ using System.Numerics; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.ProcessorAbstraction +namespace Nitload.Common.HighPerformance.ProcessorAbstraction { /// /// Abstraction for a wide SIMD register or equivalent packed numeric storage. Provides raw diff --git a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/LogicalCore.cs b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/LogicalCore.cs similarity index 94% rename from src/StgSharp.Common/HighPerformance/ProcessorAbstraction/LogicalCore.cs rename to src/Nitload.Common/HighPerformance/ProcessorAbstraction/LogicalCore.cs index 3c079026..b4ada2af 100644 --- a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/LogicalCore.cs +++ b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/LogicalCore.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.ProcessorAbstraction +namespace Nitload.Common.HighPerformance.ProcessorAbstraction { public readonly struct LogicalCore { diff --git a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M128.cs b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/M128.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M128.cs rename to src/Nitload.Common/HighPerformance/ProcessorAbstraction/M128.cs index 1119ceab..583630aa 100644 --- a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M128.cs +++ b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/M128.cs @@ -16,7 +16,7 @@ using System.Runtime.Intrinsics.X86; using System.Text; -namespace StgSharp.HighPerformance.ProcessorAbstraction +namespace Nitload.Common.HighPerformance.ProcessorAbstraction { [StructLayout(LayoutKind.Explicit, Pack = 16)] public unsafe struct M128 : IRegisterPresentation diff --git a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M256.cs b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/M256.cs similarity index 95% rename from src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M256.cs rename to src/Nitload.Common/HighPerformance/ProcessorAbstraction/M256.cs index cf75bdb4..672d8ecd 100644 --- a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M256.cs +++ b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/M256.cs @@ -15,7 +15,7 @@ using System.Runtime.Intrinsics; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.ProcessorAbstraction +namespace Nitload.Common.HighPerformance.ProcessorAbstraction { [StructLayout(LayoutKind.Explicit, Pack = 16)] public unsafe struct M256 : IRegisterPresentation diff --git a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M512.cs b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/M512.cs similarity index 95% rename from src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M512.cs rename to src/Nitload.Common/HighPerformance/ProcessorAbstraction/M512.cs index cfc4018d..315a35b0 100644 --- a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M512.cs +++ b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/M512.cs @@ -15,7 +15,7 @@ using System.Runtime.Intrinsics; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.ProcessorAbstraction +namespace Nitload.Common.HighPerformance.ProcessorAbstraction { [StructLayout(LayoutKind.Explicit, Size = 64, Pack = 64)] public unsafe struct M512 : IRegisterPresentation diff --git a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M64.cs b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/M64.cs similarity index 97% rename from src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M64.cs rename to src/Nitload.Common/HighPerformance/ProcessorAbstraction/M64.cs index 74f848a8..8b761d94 100644 --- a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/M64.cs +++ b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/M64.cs @@ -10,7 +10,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; -namespace StgSharp.HighPerformance.ProcessorAbstraction +namespace Nitload.Common.HighPerformance.ProcessorAbstraction { [StructLayout(LayoutKind.Explicit, Pack = 8)] public unsafe struct M64 : IRegisterPresentation diff --git a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/Numa.cs b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/Numa.cs similarity index 98% rename from src/StgSharp.Common/HighPerformance/ProcessorAbstraction/Numa.cs rename to src/Nitload.Common/HighPerformance/ProcessorAbstraction/Numa.cs index bbf5383f..633faced 100644 --- a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/Numa.cs +++ b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/Numa.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; using System.Collections.Generic; using System.Diagnostics.Contracts; @@ -14,7 +14,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.ProcessorAbstraction +namespace Nitload.Common.HighPerformance.ProcessorAbstraction { public static partial class Numa { diff --git a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/NumaNode.cs b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/NumaNode.cs similarity index 94% rename from src/StgSharp.Common/HighPerformance/ProcessorAbstraction/NumaNode.cs rename to src/Nitload.Common/HighPerformance/ProcessorAbstraction/NumaNode.cs index 0da0f35d..94d75b4b 100644 --- a/src/StgSharp.Common/HighPerformance/ProcessorAbstraction/NumaNode.cs +++ b/src/Nitload.Common/HighPerformance/ProcessorAbstraction/NumaNode.cs @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.HighPerformance.ProcessorAbstraction +namespace Nitload.Common.HighPerformance.ProcessorAbstraction { public class NumaNode { diff --git a/src/StgSharp.Common/Internal/DefaultLog.cs b/src/Nitload.Common/Internal/DefaultLog.cs similarity index 98% rename from src/StgSharp.Common/Internal/DefaultLog.cs rename to src/Nitload.Common/Internal/DefaultLog.cs index 6431bb09..ac7602be 100644 --- a/src/StgSharp.Common/Internal/DefaultLog.cs +++ b/src/Nitload.Common/Internal/DefaultLog.cs @@ -10,7 +10,7 @@ using System.IO; using System.Runtime.InteropServices; using System.Threading; -namespace StgSharp.Internal +namespace Nitload.Common.Internal { internal static unsafe partial class DefaultLog { diff --git a/src/StgSharp.Common/Internal/Native.cs b/src/Nitload.Common/Internal/Native.cs similarity index 90% rename from src/StgSharp.Common/Internal/Native.cs rename to src/Nitload.Common/Internal/Native.cs index 9a0fd956..9f050829 100644 --- a/src/StgSharp.Common/Internal/Native.cs +++ b/src/Nitload.Common/Internal/Native.cs @@ -11,13 +11,13 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Internal +namespace Nitload.Common.Internal { internal static unsafe partial class Native { internal const string LibName = - "StgSharp.Native"; + "Nitload.Native"; internal const string LogPath = "SS_error.log"; diff --git a/src/StgSharp.Common/Internal/public.cs b/src/Nitload.Common/Internal/public.cs similarity index 96% rename from src/StgSharp.Common/Internal/public.cs rename to src/Nitload.Common/Internal/public.cs index 9258ac6d..f01eff30 100644 --- a/src/StgSharp.Common/Internal/public.cs +++ b/src/Nitload.Common/Internal/public.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp +namespace Nitload { public enum LogType { diff --git a/src/StgSharp.Common/StgSharp.Common.csproj b/src/Nitload.Common/Nitload.Common.csproj similarity index 100% rename from src/StgSharp.Common/StgSharp.Common.csproj rename to src/Nitload.Common/Nitload.Common.csproj diff --git a/src/StgSharp.Common/PipeLine/CrossFramePipelineNode.cs b/src/Nitload.Common/PipeLine/CrossFramePipelineNode.cs similarity index 97% rename from src/StgSharp.Common/PipeLine/CrossFramePipelineNode.cs rename to src/Nitload.Common/PipeLine/CrossFramePipelineNode.cs index 3728630f..63ae591b 100644 --- a/src/StgSharp.Common/PipeLine/CrossFramePipelineNode.cs +++ b/src/Nitload.Common/PipeLine/CrossFramePipelineNode.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.PipeLine; +using Nitload.Common.PipeLine; using System; using System.Collections.Generic; @@ -13,7 +13,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { public class CrossFrameOperation : IConvertableToPipelineNode { diff --git a/src/StgSharp.Common/PipeLine/IConvertableToPipelineNode.cs b/src/Nitload.Common/PipeLine/IConvertableToPipelineNode.cs similarity index 98% rename from src/StgSharp.Common/PipeLine/IConvertableToPipelineNode.cs rename to src/Nitload.Common/PipeLine/IConvertableToPipelineNode.cs index 402fd3fb..6077f486 100644 --- a/src/StgSharp.Common/PipeLine/IConvertableToPipelineNode.cs +++ b/src/Nitload.Common/PipeLine/IConvertableToPipelineNode.cs @@ -10,7 +10,7 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { public delegate void PipelineNodeOperation( in Dictionary input, diff --git a/src/StgSharp.Common/PipeLine/PipeLineRunner.cs b/src/Nitload.Common/PipeLine/PipeLineRunner.cs similarity index 99% rename from src/StgSharp.Common/PipeLine/PipeLineRunner.cs rename to src/Nitload.Common/PipeLine/PipeLineRunner.cs index e56c66a4..56c17592 100644 --- a/src/StgSharp.Common/PipeLine/PipeLineRunner.cs +++ b/src/Nitload.Common/PipeLine/PipeLineRunner.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Threading; +using Nitload.Threading; using System; using System.Collections.Concurrent; @@ -18,7 +18,7 @@ using System.Threading; using System.Threading.Tasks; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { public static class PipeLineRunner { diff --git a/src/StgSharp.Common/PipeLine/PipelineMarshal.cs b/src/Nitload.Common/PipeLine/PipelineMarshal.cs similarity index 98% rename from src/StgSharp.Common/PipeLine/PipelineMarshal.cs rename to src/Nitload.Common/PipeLine/PipelineMarshal.cs index 90c056e7..f6b32994 100644 --- a/src/StgSharp.Common/PipeLine/PipelineMarshal.cs +++ b/src/Nitload.Common/PipeLine/PipelineMarshal.cs @@ -13,7 +13,7 @@ using System.Net.Http; using System.Text; using System.Threading.Tasks; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { public static class PipelineMarshal { diff --git a/src/StgSharp.Common/PipeLine/PipelineNode.cs b/src/Nitload.Common/PipeLine/PipelineNode.cs similarity index 99% rename from src/StgSharp.Common/PipeLine/PipelineNode.cs rename to src/Nitload.Common/PipeLine/PipelineNode.cs index ca36c5bc..9e29a534 100644 --- a/src/StgSharp.Common/PipeLine/PipelineNode.cs +++ b/src/Nitload.Common/PipeLine/PipelineNode.cs @@ -16,7 +16,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { /// /// diff --git a/src/StgSharp.Common/PipeLine/PipelineNodeLabel.cs b/src/Nitload.Common/PipeLine/PipelineNodeLabel.cs similarity index 97% rename from src/StgSharp.Common/PipeLine/PipelineNodeLabel.cs rename to src/Nitload.Common/PipeLine/PipelineNodeLabel.cs index 0de06888..5cba51b5 100644 --- a/src/StgSharp.Common/PipeLine/PipelineNodeLabel.cs +++ b/src/Nitload.Common/PipeLine/PipelineNodeLabel.cs @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { public abstract record class PipelineNodeLabel { diff --git a/src/StgSharp.Common/PipeLine/PipelineNodePort.cs b/src/Nitload.Common/PipeLine/PipelineNodePort.cs similarity index 99% rename from src/StgSharp.Common/PipeLine/PipelineNodePort.cs rename to src/Nitload.Common/PipeLine/PipelineNodePort.cs index 1d4f934d..fe745147 100644 --- a/src/StgSharp.Common/PipeLine/PipelineNodePort.cs +++ b/src/Nitload.Common/PipeLine/PipelineNodePort.cs @@ -13,7 +13,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { public class PipelineNodeInPort { diff --git a/src/StgSharp.Common/PipeLine/PipelineScheduler.cs b/src/Nitload.Common/PipeLine/PipelineScheduler.cs similarity index 99% rename from src/StgSharp.Common/PipeLine/PipelineScheduler.cs rename to src/Nitload.Common/PipeLine/PipelineScheduler.cs index dd4e0598..e9279194 100644 --- a/src/StgSharp.Common/PipeLine/PipelineScheduler.cs +++ b/src/Nitload.Common/PipeLine/PipelineScheduler.cs @@ -14,7 +14,7 @@ using System.Threading; using System.Xml; using System.Xml.Linq; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { /// /// A sets of complex logic designed for running in multi threads environment. Warning: do not diff --git a/src/StgSharp.Common/PipeLine/PortArgs.cs b/src/Nitload.Common/PipeLine/PortArgs.cs similarity index 98% rename from src/StgSharp.Common/PipeLine/PortArgs.cs rename to src/Nitload.Common/PipeLine/PortArgs.cs index 53903de2..edbce0fd 100644 --- a/src/StgSharp.Common/PipeLine/PortArgs.cs +++ b/src/Nitload.Common/PipeLine/PortArgs.cs @@ -15,7 +15,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { public class PipelineConnector { diff --git a/src/StgSharp.Common/PipeLine/SideNode.cs b/src/Nitload.Common/PipeLine/SideNode.cs similarity index 98% rename from src/StgSharp.Common/PipeLine/SideNode.cs rename to src/Nitload.Common/PipeLine/SideNode.cs index ea4d689a..d501b161 100644 --- a/src/StgSharp.Common/PipeLine/SideNode.cs +++ b/src/Nitload.Common/PipeLine/SideNode.cs @@ -14,7 +14,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.PipeLine +namespace Nitload.Common.PipeLine { internal sealed class BeginningNode : PipelineNode { diff --git a/src/StgSharp.Common/Properties/PublishProfiles/FolderProfile.pubxml b/src/Nitload.Common/Properties/PublishProfiles/FolderProfile.pubxml similarity index 100% rename from src/StgSharp.Common/Properties/PublishProfiles/FolderProfile.pubxml rename to src/Nitload.Common/Properties/PublishProfiles/FolderProfile.pubxml diff --git a/src/StgSharp.Common/State/ISimpleStateMachine.cs b/src/Nitload.Common/State/ISimpleStateMachine.cs similarity index 97% rename from src/StgSharp.Common/State/ISimpleStateMachine.cs rename to src/Nitload.Common/State/ISimpleStateMachine.cs index 19936791..717155b1 100644 --- a/src/StgSharp.Common/State/ISimpleStateMachine.cs +++ b/src/Nitload.Common/State/ISimpleStateMachine.cs @@ -12,7 +12,7 @@ using System.Numerics; using System.Text; using System.Threading.Tasks; -namespace StgSharp.State +namespace Nitload.State { public interface ISimpleStateMachine where TStateNode : SimpleStateMachineNode diff --git a/src/StgSharp.Common/State/SimpleStateMachineNode.cs b/src/Nitload.Common/State/SimpleStateMachineNode.cs similarity index 98% rename from src/StgSharp.Common/State/SimpleStateMachineNode.cs rename to src/Nitload.Common/State/SimpleStateMachineNode.cs index df4f38c3..235c628d 100644 --- a/src/StgSharp.Common/State/SimpleStateMachineNode.cs +++ b/src/Nitload.Common/State/SimpleStateMachineNode.cs @@ -13,7 +13,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.State +namespace Nitload.State { public abstract class SimpleStateMachineNode where TSelf : SimpleStateMachineNode diff --git a/src/StgSharp.Common/State/StateContext.cs b/src/Nitload.Common/State/StateContext.cs similarity index 94% rename from src/StgSharp.Common/State/StateContext.cs rename to src/Nitload.Common/State/StateContext.cs index 7b39d320..f9d9951d 100644 --- a/src/StgSharp.Common/State/StateContext.cs +++ b/src/Nitload.Common/State/StateContext.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.State +namespace Nitload.State { public abstract class StateContext { } } diff --git a/src/StgSharp.Common/Threading/AdaptiveBackoffStrategy.cs b/src/Nitload.Common/Threading/AdaptiveBackoffStrategy.cs similarity index 100% rename from src/StgSharp.Common/Threading/AdaptiveBackoffStrategy.cs rename to src/Nitload.Common/Threading/AdaptiveBackoffStrategy.cs diff --git a/src/StgSharp.Common/Threading/BufferExpansionLock.cs b/src/Nitload.Common/Threading/BufferExpansionLock.cs similarity index 98% rename from src/StgSharp.Common/Threading/BufferExpansionLock.cs rename to src/Nitload.Common/Threading/BufferExpansionLock.cs index b6589fe6..2e11ee6f 100644 --- a/src/StgSharp.Common/Threading/BufferExpansionLock.cs +++ b/src/Nitload.Common/Threading/BufferExpansionLock.cs @@ -13,7 +13,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Threading +namespace Nitload.Threading { /// /// Provide a lock for managing concurrent access to a buffer that can be expanded and use a diff --git a/src/StgSharp.Common/Threading/CancellableTask.cs b/src/Nitload.Common/Threading/CancellableTask.cs similarity index 99% rename from src/StgSharp.Common/Threading/CancellableTask.cs rename to src/Nitload.Common/Threading/CancellableTask.cs index 8e0377a0..c83b8b74 100644 --- a/src/StgSharp.Common/Threading/CancellableTask.cs +++ b/src/Nitload.Common/Threading/CancellableTask.cs @@ -13,7 +13,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Threading +namespace Nitload.Threading { public class CancellableTask : IDisposable { diff --git a/src/StgSharp.Common/Threading/SingleConsumerBell.cs b/src/Nitload.Common/Threading/SingleConsumerBell.cs similarity index 99% rename from src/StgSharp.Common/Threading/SingleConsumerBell.cs rename to src/Nitload.Common/Threading/SingleConsumerBell.cs index 6ef5cdf2..b16142ec 100644 --- a/src/StgSharp.Common/Threading/SingleConsumerBell.cs +++ b/src/Nitload.Common/Threading/SingleConsumerBell.cs @@ -8,7 +8,7 @@ using System; using System.Threading; -namespace StgSharp.Threading +namespace Nitload.Threading { /// /// A single-consumer bell/signal primitive. diff --git a/src/StgSharp.Common/Threading/ThreadHelper.cs b/src/Nitload.Common/Threading/ThreadHelper.cs similarity index 95% rename from src/StgSharp.Common/Threading/ThreadHelper.cs rename to src/Nitload.Common/Threading/ThreadHelper.cs index c1c1e5ea..c033c019 100644 --- a/src/StgSharp.Common/Threading/ThreadHelper.cs +++ b/src/Nitload.Common/Threading/ThreadHelper.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.ProcessorAbstraction; +using Nitload.Common.HighPerformance.ProcessorAbstraction; using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Threading; -namespace StgSharp.Threading +namespace Nitload.Threading { public static partial class ThreadHelper { diff --git a/src/StgSharp.Common/Threading/VariableCapacitySemaphore.cs b/src/Nitload.Common/Threading/VariableCapacitySemaphore.cs similarity index 99% rename from src/StgSharp.Common/Threading/VariableCapacitySemaphore.cs rename to src/Nitload.Common/Threading/VariableCapacitySemaphore.cs index 1000dd9a..b49c51c9 100644 --- a/src/StgSharp.Common/Threading/VariableCapacitySemaphore.cs +++ b/src/Nitload.Common/Threading/VariableCapacitySemaphore.cs @@ -9,7 +9,7 @@ using System; using System.Runtime.CompilerServices; using System.Threading; -namespace StgSharp.Threading +namespace Nitload.Threading { /// /// A counting semaphore with adjustable maximum capacity at runtime. Implemented using one or diff --git a/src/StgSharp.Common/Timing/StgSharpTime.cs b/src/Nitload.Common/Timing/StgSharpTime.cs similarity index 96% rename from src/StgSharp.Common/Timing/StgSharpTime.cs rename to src/Nitload.Common/Timing/StgSharpTime.cs index 7875ca0a..f4c8422e 100644 --- a/src/StgSharp.Common/Timing/StgSharpTime.cs +++ b/src/Nitload.Common/Timing/StgSharpTime.cs @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.HighPerformance.ProcessorAbstraction; -using StgSharp.Timing; +using Nitload.Common.Collections; +using Nitload.Common.HighPerformance.ProcessorAbstraction; +using Nitload.Common.Timing; using System; using System.Diagnostics; using System.Threading; -namespace StgSharp +namespace Nitload { public static partial class World { diff --git a/src/StgSharp.Common/Timing/TimeSequence.cs b/src/Nitload.Common/Timing/TimeSequence.cs similarity index 99% rename from src/StgSharp.Common/Timing/TimeSequence.cs rename to src/Nitload.Common/Timing/TimeSequence.cs index d46aafa0..4e88bdf4 100644 --- a/src/StgSharp.Common/Timing/TimeSequence.cs +++ b/src/Nitload.Common/Timing/TimeSequence.cs @@ -5,11 +5,11 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Timing; +using Nitload.Common.Timing; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Timing +namespace Nitload.Common.Timing { public abstract class TimeSequence { diff --git a/src/StgSharp.Common/Timing/TimeSourceProvider.cs b/src/Nitload.Common/Timing/TimeSourceProvider.cs similarity index 94% rename from src/StgSharp.Common/Timing/TimeSourceProvider.cs rename to src/Nitload.Common/Timing/TimeSourceProvider.cs index a0ba5b91..73bd5776 100644 --- a/src/StgSharp.Common/Timing/TimeSourceProvider.cs +++ b/src/Nitload.Common/Timing/TimeSourceProvider.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp; -using StgSharp.HighPerformance.ProcessorAbstraction; +using Nitload; +using Nitload.Common.HighPerformance.ProcessorAbstraction; using System; using System.Linq; using System.Threading; -namespace StgSharp.Timing +namespace Nitload.Common.Timing { public class TimeSourceStartupConfiguration( nuint bindedNumaNode = 0, diff --git a/src/StgSharp.Common/Timing/TimeSpanProvider.Awaiting.cs b/src/Nitload.Common/Timing/TimeSpanProvider.Awaiting.cs similarity index 98% rename from src/StgSharp.Common/Timing/TimeSpanProvider.Awaiting.cs rename to src/Nitload.Common/Timing/TimeSpanProvider.Awaiting.cs index 37d0731f..a53a3c56 100644 --- a/src/StgSharp.Common/Timing/TimeSpanProvider.Awaiting.cs +++ b/src/Nitload.Common/Timing/TimeSpanProvider.Awaiting.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; using System.Collections.Concurrent; @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Timing +namespace Nitload.Common.Timing { public partial class TimeSpanProvider { diff --git a/src/StgSharp.Common/Timing/TimeSpanProvider.cs b/src/Nitload.Common/Timing/TimeSpanProvider.cs similarity index 97% rename from src/StgSharp.Common/Timing/TimeSpanProvider.cs rename to src/Nitload.Common/Timing/TimeSpanProvider.cs index 1e796c10..bdc88fd1 100644 --- a/src/StgSharp.Common/Timing/TimeSpanProvider.cs +++ b/src/Nitload.Common/Timing/TimeSpanProvider.cs @@ -5,12 +5,12 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Timing; +using Nitload.Common.Timing; using System; using System.Runtime.CompilerServices; using System.Threading; -namespace StgSharp.Timing +namespace Nitload.Common.Timing { /// /// TimeSpanProvider: uses a bound TimeSequence and TimeSourceProviderBase to publish span diff --git a/src/StgSharp.Graphics/.discard/CPUanimation.IImageProvider.cs.old b/src/Nitload.Graphics/.discard/CPUanimation.IImageProvider.cs.old similarity index 93% rename from src/StgSharp.Graphics/.discard/CPUanimation.IImageProvider.cs.old rename to src/Nitload.Graphics/.discard/CPUanimation.IImageProvider.cs.old index 37c50539..84045f2f 100644 --- a/src/StgSharp.Graphics/.discard/CPUanimation.IImageProvider.cs.old +++ b/src/Nitload.Graphics/.discard/CPUanimation.IImageProvider.cs.old @@ -9,7 +9,7 @@ using System; using System.Collections.Generic; using System.Text; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public interface IImageProvider { diff --git a/src/StgSharp.Graphics/.discard/CPUanimation.ImageHelper.cs.old b/src/Nitload.Graphics/.discard/CPUanimation.ImageHelper.cs.old similarity index 98% rename from src/StgSharp.Graphics/.discard/CPUanimation.ImageHelper.cs.old rename to src/Nitload.Graphics/.discard/CPUanimation.ImageHelper.cs.old index 973d4fa9..55ac1d90 100644 --- a/src/StgSharp.Graphics/.discard/CPUanimation.ImageHelper.cs.old +++ b/src/Nitload.Graphics/.discard/CPUanimation.ImageHelper.cs.old @@ -10,7 +10,7 @@ using System.Collections.Generic; using System.ComponentModel; using System.Text; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public static class ImageHelper { diff --git a/src/StgSharp.Graphics/.discard/Define.BufferObjectBase.cs.old b/src/Nitload.Graphics/.discard/Define.BufferObjectBase.cs.old similarity index 95% rename from src/StgSharp.Graphics/.discard/Define.BufferObjectBase.cs.old rename to src/Nitload.Graphics/.discard/Define.BufferObjectBase.cs.old index 16271776..156098d6 100644 --- a/src/StgSharp.Graphics/.discard/Define.BufferObjectBase.cs.old +++ b/src/Nitload.Graphics/.discard/Define.BufferObjectBase.cs.old @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics; -using StgSharp.Graphics.OpenGL; +using Nitload.Graphics; +using Nitload.Graphics.OpenGL; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics +namespace Nitload.Graphics { /// /// Interface of all kinds OpenGL BufferHandle objects diff --git a/src/StgSharp.Graphics/.discard/GraphicInitializer.cs.old b/src/Nitload.Graphics/.discard/GraphicInitializer.cs.old similarity index 95% rename from src/StgSharp.Graphics/.discard/GraphicInitializer.cs.old rename to src/Nitload.Graphics/.discard/GraphicInitializer.cs.old index afa99c5e..6110417c 100644 --- a/src/StgSharp.Graphics/.discard/GraphicInitializer.cs.old +++ b/src/Nitload.Graphics/.discard/GraphicInitializer.cs.old @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp; +using Nitload; using System; using System.Collections.Generic; using System.Linq; @@ -13,7 +13,7 @@ using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public class GraphicModuel : IStaticModule { diff --git a/src/StgSharp.Graphics/.discard/Image.Native.cs.old b/src/Nitload.Graphics/.discard/Image.Native.cs.old similarity index 95% rename from src/StgSharp.Graphics/.discard/Image.Native.cs.old rename to src/Nitload.Graphics/.discard/Image.Native.cs.old index 183b0b08..46aa370f 100644 --- a/src/StgSharp.Graphics/.discard/Image.Native.cs.old +++ b/src/Nitload.Graphics/.discard/Image.Native.cs.old @@ -5,12 +5,12 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Internal; +using Nitload.Common.Internal; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Graphics +namespace Nitload.Graphics { internal static unsafe partial class GraphicFramework { diff --git a/src/StgSharp.Graphics/.discard/Image.cs.old b/src/Nitload.Graphics/.discard/Image.cs.old similarity index 98% rename from src/StgSharp.Graphics/.discard/Image.cs.old rename to src/Nitload.Graphics/.discard/Image.cs.old index 61ef26bd..be283ad4 100644 --- a/src/StgSharp.Graphics/.discard/Image.cs.old +++ b/src/Nitload.Graphics/.discard/Image.cs.old @@ -5,12 +5,12 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics.OpenGL; +using Nitload.Graphics.OpenGL; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public class Image : IImageProvider { diff --git a/src/StgSharp.Graphics/.discard/ImageInfo.cs.old b/src/Nitload.Graphics/.discard/ImageInfo.cs.old similarity index 98% rename from src/StgSharp.Graphics/.discard/ImageInfo.cs.old rename to src/Nitload.Graphics/.discard/ImageInfo.cs.old index 48651146..f2630c2a 100644 --- a/src/StgSharp.Graphics/.discard/ImageInfo.cs.old +++ b/src/Nitload.Graphics/.discard/ImageInfo.cs.old @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics.OpenGL; +using Nitload.Graphics.OpenGL; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; -namespace StgSharp.Graphics +namespace Nitload.Graphics { [UnmanagedFunctionPointer(CallingConvention.Cdecl, CharSet = CharSet.Ansi)] public delegate IntPtr ImageLoader( diff --git a/src/StgSharp.Graphics/.discard/OpenGL.Buffer.AutoTexture.cs.old b/src/Nitload.Graphics/.discard/OpenGL.Buffer.AutoTexture.cs.old similarity index 98% rename from src/StgSharp.Graphics/.discard/OpenGL.Buffer.AutoTexture.cs.old rename to src/Nitload.Graphics/.discard/OpenGL.Buffer.AutoTexture.cs.old index 600b4800..9aa8f788 100644 --- a/src/StgSharp.Graphics/.discard/OpenGL.Buffer.AutoTexture.cs.old +++ b/src/Nitload.Graphics/.discard/OpenGL.Buffer.AutoTexture.cs.old @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.Graphics; +using Nitload.Common.Collections; +using Nitload.Graphics; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; @@ -16,7 +16,7 @@ using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// /// A collection of a sets of OpenGL textures. The collection can automatically select one of diff --git a/src/StgSharp.Graphics/.discard/OpenGL.Buffer.GLBufferObjectBase.cs.old b/src/Nitload.Graphics/.discard/OpenGL.Buffer.GLBufferObjectBase.cs.old similarity index 91% rename from src/StgSharp.Graphics/.discard/OpenGL.Buffer.GLBufferObjectBase.cs.old rename to src/Nitload.Graphics/.discard/OpenGL.Buffer.GLBufferObjectBase.cs.old index fdcfd353..c495c573 100644 --- a/src/StgSharp.Graphics/.discard/OpenGL.Buffer.GLBufferObjectBase.cs.old +++ b/src/Nitload.Graphics/.discard/OpenGL.Buffer.GLBufferObjectBase.cs.old @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics.OpenGL; +using Nitload.Graphics.OpenGL; using System; using System.Collections.Generic; using System.Text; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public abstract class GlBufferObjectBase : BufferObjectBase { diff --git a/src/StgSharp.Graphics/.discard/OpenGL.Generated.GlCommandHistory.g.cs.old b/src/Nitload.Graphics/.discard/OpenGL.Generated.GlCommandHistory.g.cs.old similarity index 99% rename from src/StgSharp.Graphics/.discard/OpenGL.Generated.GlCommandHistory.g.cs.old rename to src/Nitload.Graphics/.discard/OpenGL.Generated.GlCommandHistory.g.cs.old index 40eb31cd..f5444b31 100644 --- a/src/StgSharp.Graphics/.discard/OpenGL.Generated.GlCommandHistory.g.cs.old +++ b/src/Nitload.Graphics/.discard/OpenGL.Generated.GlCommandHistory.g.cs.old @@ -1,12 +1,12 @@ -// -// Generated by StgSharp.GenerateGL on 2026-08-25 09:22:55Z +// +// Generated by Nitload.GenerateGL on 2026-08-25 09:22:55Z // Command availability history // using System; using System.Collections.Frozen; using System.Collections.Generic; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { internal enum CommandHistoryAction { Added, Removed } diff --git a/src/StgSharp.Graphics/.discard/OpenGL.ShaderEdit.IglConvertable.cs.old b/src/Nitload.Graphics/.discard/OpenGL.ShaderEdit.IglConvertable.cs.old similarity index 93% rename from src/StgSharp.Graphics/.discard/OpenGL.ShaderEdit.IglConvertable.cs.old rename to src/Nitload.Graphics/.discard/OpenGL.ShaderEdit.IglConvertable.cs.old index 9b062825..dd4c187d 100644 --- a/src/StgSharp.Graphics/.discard/OpenGL.ShaderEdit.IglConvertable.cs.old +++ b/src/Nitload.Graphics/.discard/OpenGL.ShaderEdit.IglConvertable.cs.old @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics.OpenGL; +using Nitload.Graphics.OpenGL; using System; using System.Collections.Generic; @@ -13,7 +13,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics.ShaderEdit +namespace Nitload.Graphics.ShaderEdit { public interface IglConvertable { diff --git a/src/StgSharp.Graphics/.discard/OpenGL.glApiManager.Const.cs.old b/src/Nitload.Graphics/.discard/OpenGL.glApiManager.Const.cs.old similarity index 99% rename from src/StgSharp.Graphics/.discard/OpenGL.glApiManager.Const.cs.old rename to src/Nitload.Graphics/.discard/OpenGL.glApiManager.Const.cs.old index 43eba299..555ce04a 100644 --- a/src/StgSharp.Graphics/.discard/OpenGL.glApiManager.Const.cs.old +++ b/src/Nitload.Graphics/.discard/OpenGL.glApiManager.Const.cs.old @@ -9,7 +9,7 @@ using System; using System.Collections.Generic; using System.Text; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public static partial class glManager { diff --git a/src/StgSharp.Graphics/.discard/OpenGL.glApiManager.cs.old b/src/Nitload.Graphics/.discard/OpenGL.glApiManager.cs.old similarity index 99% rename from src/StgSharp.Graphics/.discard/OpenGL.glApiManager.cs.old rename to src/Nitload.Graphics/.discard/OpenGL.glApiManager.cs.old index d9a9bf74..53a0f290 100644 --- a/src/StgSharp.Graphics/.discard/OpenGL.glApiManager.cs.old +++ b/src/Nitload.Graphics/.discard/OpenGL.glApiManager.cs.old @@ -5,9 +5,9 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Internal; -using StgSharp.Mathematics; -using StgSharp.Mathematics; +using Nitload.Common.Internal; +using Nitload.Mathematics; +using Nitload.Mathematics; using System; using System.Collections.Generic; using System.Linq; @@ -15,7 +15,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public static partial class glManager { diff --git a/src/StgSharp.Graphics/.discard/OpenGL.glRenderObjectGenrator.cs.old b/src/Nitload.Graphics/.discard/OpenGL.glRenderObjectGenrator.cs.old similarity index 98% rename from src/StgSharp.Graphics/.discard/OpenGL.glRenderObjectGenrator.cs.old rename to src/Nitload.Graphics/.discard/OpenGL.glRenderObjectGenrator.cs.old index 8039631e..07c2ce69 100644 --- a/src/StgSharp.Graphics/.discard/OpenGL.glRenderObjectGenrator.cs.old +++ b/src/Nitload.Graphics/.discard/OpenGL.glRenderObjectGenrator.cs.old @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public partial class glRender { diff --git a/src/StgSharp.Graphics/.discard/OpenGL.glRenderStream.ThreadSecurity.cs.old b/src/Nitload.Graphics/.discard/OpenGL.glRenderStream.ThreadSecurity.cs.old similarity index 95% rename from src/StgSharp.Graphics/.discard/OpenGL.glRenderStream.ThreadSecurity.cs.old rename to src/Nitload.Graphics/.discard/OpenGL.glRenderStream.ThreadSecurity.cs.old index 0ba884bf..15d32924 100644 --- a/src/StgSharp.Graphics/.discard/OpenGL.glRenderStream.ThreadSecurity.cs.old +++ b/src/Nitload.Graphics/.discard/OpenGL.glRenderStream.ThreadSecurity.cs.old @@ -13,7 +13,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public partial class glRender { diff --git a/src/StgSharp.Graphics/.discard/OpenGL.glType.cs.old b/src/Nitload.Graphics/.discard/OpenGL.glType.cs.old similarity index 98% rename from src/StgSharp.Graphics/.discard/OpenGL.glType.cs.old rename to src/Nitload.Graphics/.discard/OpenGL.glType.cs.old index 3c540569..b2085b83 100644 --- a/src/StgSharp.Graphics/.discard/OpenGL.glType.cs.old +++ b/src/Nitload.Graphics/.discard/OpenGL.glType.cs.old @@ -11,7 +11,7 @@ using System.Collections.ObjectModel; using System.Runtime.InteropServices; using System.Text; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { internal delegate void GLVULKANPROCNV(); diff --git a/src/StgSharp.Graphics/.discard/Pixels.cs.old b/src/Nitload.Graphics/.discard/Pixels.cs.old similarity index 98% rename from src/StgSharp.Graphics/.discard/Pixels.cs.old rename to src/Nitload.Graphics/.discard/Pixels.cs.old index 9b9c4edb..6f254e3e 100644 --- a/src/StgSharp.Graphics/.discard/Pixels.cs.old +++ b/src/Nitload.Graphics/.discard/Pixels.cs.old @@ -10,7 +10,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public interface IPixel { diff --git a/src/StgSharp.Graphics/.discard/README.md b/src/Nitload.Graphics/.discard/README.md similarity index 100% rename from src/StgSharp.Graphics/.discard/README.md rename to src/Nitload.Graphics/.discard/README.md diff --git a/src/StgSharp.Graphics/.discard/ShaderEdit.InternalShaderType.cs.old b/src/Nitload.Graphics/.discard/ShaderEdit.InternalShaderType.cs.old similarity index 95% rename from src/StgSharp.Graphics/.discard/ShaderEdit.InternalShaderType.cs.old rename to src/Nitload.Graphics/.discard/ShaderEdit.InternalShaderType.cs.old index cb7f3ee5..c116e9c0 100644 --- a/src/StgSharp.Graphics/.discard/ShaderEdit.InternalShaderType.cs.old +++ b/src/Nitload.Graphics/.discard/ShaderEdit.InternalShaderType.cs.old @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.Graphics.ShaderEdit +namespace Nitload.Graphics.ShaderEdit { // Temporary compatibility type for ShaderStruct. The new shader model will replace it. public enum InternalShaderType diff --git a/src/StgSharp.Graphics/.discard/ShaderEdit.ShaderGenerator.cs.old b/src/Nitload.Graphics/.discard/ShaderEdit.ShaderGenerator.cs.old similarity index 97% rename from src/StgSharp.Graphics/.discard/ShaderEdit.ShaderGenerator.cs.old rename to src/Nitload.Graphics/.discard/ShaderEdit.ShaderGenerator.cs.old index 6b0f18da..255884ca 100644 --- a/src/StgSharp.Graphics/.discard/ShaderEdit.ShaderGenerator.cs.old +++ b/src/Nitload.Graphics/.discard/ShaderEdit.ShaderGenerator.cs.old @@ -5,9 +5,9 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics; -using StgSharp.Graphics.OpenGL; -using StgSharp.Mathematics; +using Nitload.Graphics; +using Nitload.Graphics.OpenGL; +using Nitload.Mathematics; using System; using System.Collections.Generic; @@ -16,7 +16,7 @@ using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics.ShaderEdit +namespace Nitload.Graphics.ShaderEdit { public class ShaderGenerator { diff --git a/src/StgSharp.Graphics/.discard/ShaderEdit.ShaderStruct.cs.old b/src/Nitload.Graphics/.discard/ShaderEdit.ShaderStruct.cs.old similarity index 96% rename from src/StgSharp.Graphics/.discard/ShaderEdit.ShaderStruct.cs.old rename to src/Nitload.Graphics/.discard/ShaderEdit.ShaderStruct.cs.old index 6790134f..daaaa846 100644 --- a/src/StgSharp.Graphics/.discard/ShaderEdit.ShaderStruct.cs.old +++ b/src/Nitload.Graphics/.discard/ShaderEdit.ShaderStruct.cs.old @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics; -using StgSharp.Graphics.OpenGL; +using Nitload.Graphics; +using Nitload.Graphics.OpenGL; using System; using System.Collections.Generic; @@ -14,7 +14,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics.ShaderEdit +namespace Nitload.Graphics.ShaderEdit { public class ShaderStructMember { diff --git a/src/StgSharp.Graphics/.discard/TexturePipeline.cs.old b/src/Nitload.Graphics/.discard/TexturePipeline.cs.old similarity index 94% rename from src/StgSharp.Graphics/.discard/TexturePipeline.cs.old rename to src/Nitload.Graphics/.discard/TexturePipeline.cs.old index a49fab59..c5cf9094 100644 --- a/src/StgSharp.Graphics/.discard/TexturePipeline.cs.old +++ b/src/Nitload.Graphics/.discard/TexturePipeline.cs.old @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.PipeLine; +using Nitload.Common.PipeLine; using System; using System.Collections.Generic; @@ -13,7 +13,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public class TexturePipeline : IPipeLineConnectionPayload { diff --git a/src/StgSharp.Graphics/.discard/Vulkan.vkEnum.cs.old b/src/Nitload.Graphics/.discard/Vulkan.vkEnum.cs.old similarity index 98% rename from src/StgSharp.Graphics/.discard/Vulkan.vkEnum.cs.old rename to src/Nitload.Graphics/.discard/Vulkan.vkEnum.cs.old index c780eb4b..830ed4e4 100644 --- a/src/StgSharp.Graphics/.discard/Vulkan.vkEnum.cs.old +++ b/src/Nitload.Graphics/.discard/Vulkan.vkEnum.cs.old @@ -9,7 +9,7 @@ using System; using System.Collections.Generic; using System.Text; -namespace StgSharp.Graphics.Vulkan +namespace Nitload.Graphics.Vulkan { internal enum VkStructureType : uint { diff --git a/src/StgSharp.Graphics/.discard/Vulkan.vkHandle.cs.old b/src/Nitload.Graphics/.discard/Vulkan.vkHandle.cs.old similarity index 95% rename from src/StgSharp.Graphics/.discard/Vulkan.vkHandle.cs.old rename to src/Nitload.Graphics/.discard/Vulkan.vkHandle.cs.old index 46d6910b..538c79b2 100644 --- a/src/StgSharp.Graphics/.discard/Vulkan.vkHandle.cs.old +++ b/src/Nitload.Graphics/.discard/Vulkan.vkHandle.cs.old @@ -13,7 +13,7 @@ using System.Security; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics.Vulkan +namespace Nitload.Graphics.Vulkan { [StructLayout(LayoutKind.Explicit, Size = 8)] public struct vkHandle diff --git a/src/StgSharp.Graphics/.discard/framework.cs.old b/src/Nitload.Graphics/.discard/framework.cs.old similarity index 99% rename from src/StgSharp.Graphics/.discard/framework.cs.old rename to src/Nitload.Graphics/.discard/framework.cs.old index e2b59cf2..3c0ccbc4 100644 --- a/src/StgSharp.Graphics/.discard/framework.cs.old +++ b/src/Nitload.Graphics/.discard/framework.cs.old @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; // using Windows.Win32; #endif -namespace StgSharp.Graphics +namespace Nitload.Graphics { /// /// Function handler to load an opengl function by searching its _label. diff --git a/src/StgSharp.Graphics/.discard/gl.cs.old b/src/Nitload.Graphics/.discard/gl.cs.old similarity index 96% rename from src/StgSharp.Graphics/.discard/gl.cs.old rename to src/Nitload.Graphics/.discard/gl.cs.old index 922f9821..bfb12d9b 100644 --- a/src/StgSharp.Graphics/.discard/gl.cs.old +++ b/src/Nitload.Graphics/.discard/gl.cs.old @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics; -using StgSharp.Graphics.OpenGL; -using StgSharp.Internal; +using Nitload.Graphics; +using Nitload.Graphics.OpenGL; +using Nitload.Common.Internal; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Graphics +namespace Nitload.Graphics { internal static partial class GraphicFramework { diff --git a/src/StgSharp.Graphics/.discard/glfw.dtruct.cs.old b/src/Nitload.Graphics/.discard/glfw.dtruct.cs.old similarity index 96% rename from src/StgSharp.Graphics/.discard/glfw.dtruct.cs.old rename to src/Nitload.Graphics/.discard/glfw.dtruct.cs.old index f956dc09..2a62a322 100644 --- a/src/StgSharp.Graphics/.discard/glfw.dtruct.cs.old +++ b/src/Nitload.Graphics/.discard/glfw.dtruct.cs.old @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics; -using StgSharp.Graphics.OpenGL; +using Nitload.Graphics; +using Nitload.Graphics.OpenGL; using System; using System.Runtime.InteropServices; /**/ -namespace StgSharp.Internal +namespace Nitload.Common.Internal { [StructLayout(LayoutKind.Sequential)] public unsafe struct glfwContext { } diff --git a/src/StgSharp.Graphics/Camera.cs b/src/Nitload.Graphics/Camera.cs similarity index 98% rename from src/StgSharp.Graphics/Camera.cs rename to src/Nitload.Graphics/Camera.cs index 242d03a1..8af8bb60 100644 --- a/src/StgSharp.Graphics/Camera.cs +++ b/src/Nitload.Graphics/Camera.cs @@ -5,11 +5,11 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Numerics; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { public sealed class Camera { diff --git a/src/StgSharp.Graphics/Environment/Monitor.cs b/src/Nitload.Graphics/Environment/Monitor.cs similarity index 97% rename from src/StgSharp.Graphics/Environment/Monitor.cs rename to src/Nitload.Graphics/Environment/Monitor.cs index e4c1b361..984a6688 100644 --- a/src/StgSharp.Graphics/Environment/Monitor.cs +++ b/src/Nitload.Graphics/Environment/Monitor.cs @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public static class GraphicsEnvironment { diff --git a/src/StgSharp.Graphics/FrameworkConstant.cs b/src/Nitload.Graphics/FrameworkConstant.cs similarity index 99% rename from src/StgSharp.Graphics/FrameworkConstant.cs rename to src/Nitload.Graphics/FrameworkConstant.cs index b453ed3f..1b1992f8 100644 --- a/src/StgSharp.Graphics/FrameworkConstant.cs +++ b/src/Nitload.Graphics/FrameworkConstant.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public static class FrameworkConstant { diff --git a/src/StgSharp.Graphics/Global.cs b/src/Nitload.Graphics/Global.cs similarity index 88% rename from src/StgSharp.Graphics/Global.cs rename to src/Nitload.Graphics/Global.cs index 3224363c..6a83f5f0 100644 --- a/src/StgSharp.Graphics/Global.cs +++ b/src/Nitload.Graphics/Global.cs @@ -5,5 +5,5 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -global using StgSharp.Internal; +global using Nitload.Common.Internal; global using System; \ No newline at end of file diff --git a/src/StgSharp.Graphics/Image.cs b/src/Nitload.Graphics/Image.cs similarity index 99% rename from src/StgSharp.Graphics/Image.cs rename to src/Nitload.Graphics/Image.cs index 9251e66b..6e76600d 100644 --- a/src/StgSharp.Graphics/Image.cs +++ b/src/Nitload.Graphics/Image.cs @@ -8,7 +8,7 @@ using System; using System.Runtime.InteropServices; -namespace StgSharp.Graphics +namespace Nitload.Graphics { /// /// Owns a tightly packed, two-dimensional managed pixel buffer. diff --git a/src/Nitload.Graphics/Nitload.Graphics.csproj b/src/Nitload.Graphics/Nitload.Graphics.csproj new file mode 100644 index 00000000..ecd8855b --- /dev/null +++ b/src/Nitload.Graphics/Nitload.Graphics.csproj @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/StgSharp.Graphics/OpenGL/Api/OpenGLFunction.Diagnostics.cs b/src/Nitload.Graphics/OpenGL/Api/OpenGLFunction.Diagnostics.cs similarity index 98% rename from src/StgSharp.Graphics/OpenGL/Api/OpenGLFunction.Diagnostics.cs rename to src/Nitload.Graphics/OpenGL/Api/OpenGLFunction.Diagnostics.cs index f5d00c0f..176c09e6 100644 --- a/src/StgSharp.Graphics/OpenGL/Api/OpenGLFunction.Diagnostics.cs +++ b/src/Nitload.Graphics/OpenGL/Api/OpenGLFunction.Diagnostics.cs @@ -9,7 +9,7 @@ using System; using System.Diagnostics; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Api/OpenGLFunction.Shader.cs b/src/Nitload.Graphics/OpenGL/Api/OpenGLFunction.Shader.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Api/OpenGLFunction.Shader.cs rename to src/Nitload.Graphics/OpenGL/Api/OpenGLFunction.Shader.cs index 0542d427..410820ee 100644 --- a/src/StgSharp.Graphics/OpenGL/Api/OpenGLFunction.Shader.cs +++ b/src/Nitload.Graphics/OpenGL/Api/OpenGLFunction.Shader.cs @@ -9,7 +9,7 @@ using System; using System.Runtime.CompilerServices; using System.Text; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Buffer/EBO.cs b/src/Nitload.Graphics/OpenGL/Buffer/EBO.cs similarity index 93% rename from src/StgSharp.Graphics/OpenGL/Buffer/EBO.cs rename to src/Nitload.Graphics/OpenGL/Buffer/EBO.cs index 24f67dbe..e5cec88b 100644 --- a/src/StgSharp.Graphics/OpenGL/Buffer/EBO.cs +++ b/src/Nitload.Graphics/OpenGL/Buffer/EBO.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// A set of OpenGL element-buffer handles. public sealed record class ElementBuffer( diff --git a/src/StgSharp.Graphics/OpenGL/Buffer/FBO.cs b/src/Nitload.Graphics/OpenGL/Buffer/FBO.cs similarity index 93% rename from src/StgSharp.Graphics/OpenGL/Buffer/FBO.cs rename to src/Nitload.Graphics/OpenGL/Buffer/FBO.cs index 45173814..82355654 100644 --- a/src/StgSharp.Graphics/OpenGL/Buffer/FBO.cs +++ b/src/Nitload.Graphics/OpenGL/Buffer/FBO.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// A set of OpenGL framebuffer handles. public sealed record class FrameBuffer( diff --git a/src/StgSharp.Graphics/OpenGL/Buffer/RBO.cs b/src/Nitload.Graphics/OpenGL/Buffer/RBO.cs similarity index 93% rename from src/StgSharp.Graphics/OpenGL/Buffer/RBO.cs rename to src/Nitload.Graphics/OpenGL/Buffer/RBO.cs index f06fe4fe..82712b88 100644 --- a/src/StgSharp.Graphics/OpenGL/Buffer/RBO.cs +++ b/src/Nitload.Graphics/OpenGL/Buffer/RBO.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// A set of OpenGL renderbuffer handles. public sealed record class RenderBuffer( diff --git a/src/StgSharp.Graphics/OpenGL/Buffer/TextureGL.cs b/src/Nitload.Graphics/OpenGL/Buffer/TextureGL.cs similarity index 97% rename from src/StgSharp.Graphics/OpenGL/Buffer/TextureGL.cs rename to src/Nitload.Graphics/OpenGL/Buffer/TextureGL.cs index f5e15fa2..75f62bf2 100644 --- a/src/StgSharp.Graphics/OpenGL/Buffer/TextureGL.cs +++ b/src/Nitload.Graphics/OpenGL/Buffer/TextureGL.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// A set of OpenGL texture handles. public sealed record class TextureGL( diff --git a/src/StgSharp.Graphics/OpenGL/Buffer/VAO.cs b/src/Nitload.Graphics/OpenGL/Buffer/VAO.cs similarity index 93% rename from src/StgSharp.Graphics/OpenGL/Buffer/VAO.cs rename to src/Nitload.Graphics/OpenGL/Buffer/VAO.cs index cbbb3874..297d9a04 100644 --- a/src/StgSharp.Graphics/OpenGL/Buffer/VAO.cs +++ b/src/Nitload.Graphics/OpenGL/Buffer/VAO.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// A set of OpenGL vertex-array handles. public sealed record class VertexArray( diff --git a/src/StgSharp.Graphics/OpenGL/Buffer/VBO.cs b/src/Nitload.Graphics/OpenGL/Buffer/VBO.cs similarity index 93% rename from src/StgSharp.Graphics/OpenGL/Buffer/VBO.cs rename to src/Nitload.Graphics/OpenGL/Buffer/VBO.cs index f5e61419..26117906 100644 --- a/src/StgSharp.Graphics/OpenGL/Buffer/VBO.cs +++ b/src/Nitload.Graphics/OpenGL/Buffer/VBO.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// A set of OpenGL vertex-buffer handles. public sealed record class VertexBuffer( diff --git a/src/StgSharp.Graphics/OpenGL/Generated/GlEnums.g.cs b/src/Nitload.Graphics/OpenGL/Generated/GlEnums.g.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/GlEnums.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/GlEnums.g.cs index 5c05175c..557d0aea 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/GlEnums.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/GlEnums.g.cs @@ -6,11 +6,11 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Strongly typed desktop OpenGL enum groups. // -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// Native OpenGL group AtomicCounterBufferPName. public enum AtomicCounterBufferPName : uint diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.Base.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.Base.g.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.Base.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.Base.g.cs index 2842cb2d..292d8f00 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.Base.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.Base.g.cs @@ -6,16 +6,16 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL forwarding methods introduced through 3.2 and retained by the target core profile. // -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v3_3.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v3_3.g.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v3_3.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v3_3.g.cs index f7965deb..123111af 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v3_3.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v3_3.g.cs @@ -6,16 +6,16 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL 3.3 core-profile forwarding methods. // -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_0.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_0.g.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_0.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_0.g.cs index cefbd70d..5184e10b 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_0.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_0.g.cs @@ -6,16 +6,16 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL 4.0 core-profile forwarding methods. // -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_1.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_1.g.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_1.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_1.g.cs index f2e1475a..c033742a 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_1.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_1.g.cs @@ -6,16 +6,16 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL 4.1 core-profile forwarding methods. // -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_2.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_2.g.cs similarity index 98% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_2.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_2.g.cs index d4197866..8768841f 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_2.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_2.g.cs @@ -6,16 +6,16 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL 4.2 core-profile forwarding methods. // -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_3.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_3.g.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_3.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_3.g.cs index 9ff05565..a7c7ec47 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_3.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_3.g.cs @@ -6,16 +6,16 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL 4.3 core-profile forwarding methods. // -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_4.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_4.g.cs similarity index 98% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_4.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_4.g.cs index bde86c3b..76794268 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_4.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_4.g.cs @@ -6,16 +6,16 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL 4.4 core-profile forwarding methods. // -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_5.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_5.g.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_5.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_5.g.cs index 962edc55..34aa67c5 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_5.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_5.g.cs @@ -6,16 +6,16 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL 4.5 core-profile forwarding methods. // -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_6.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_6.g.cs similarity index 96% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_6.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_6.g.cs index acbf64de..f523e217 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenGLFunction.v4_6.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenGLFunction.v4_6.g.cs @@ -6,16 +6,16 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL 4.6 core-profile forwarding methods. // -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public unsafe partial class OpenGLFunction { diff --git a/src/StgSharp.Graphics/OpenGL/Generated/OpenglContext.g.cs b/src/Nitload.Graphics/OpenGL/Generated/OpenglContext.g.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/OpenglContext.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/OpenglContext.g.cs index 42d949fd..2ea08e40 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/OpenglContext.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/OpenglContext.g.cs @@ -6,11 +6,11 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL core function pointer table. // -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)] public unsafe partial struct OpenglContext diff --git a/src/StgSharp.Graphics/OpenGL/Generated/glContextShadow.g.cs b/src/Nitload.Graphics/OpenGL/Generated/glContextShadow.g.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/glContextShadow.g.cs rename to src/Nitload.Graphics/OpenGL/Generated/glContextShadow.g.cs index 7629bee9..38a06c8b 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/glContextShadow.g.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/glContextShadow.g.cs @@ -6,11 +6,11 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Native-address shadow of the OpenGL function pointer table. // -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)] internal struct glContextShadow diff --git a/src/StgSharp.Graphics/OpenGL/Generated/glconst.cs b/src/Nitload.Graphics/OpenGL/Generated/glconst.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/Generated/glconst.cs rename to src/Nitload.Graphics/OpenGL/Generated/glconst.cs index 3493daa6..c1ede055 100644 --- a/src/StgSharp.Graphics/OpenGL/Generated/glconst.cs +++ b/src/Nitload.Graphics/OpenGL/Generated/glconst.cs @@ -6,11 +6,11 @@ // ----------------------------------------------------------------------------- // -// Generated by StgSharp.GenerateGL. +// Generated by Nitload.GenerateGL. // Desktop OpenGL constants. // -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public static class glConst { diff --git a/src/StgSharp.Graphics/OpenGL/Shader.cs b/src/Nitload.Graphics/OpenGL/Shader.cs similarity index 97% rename from src/StgSharp.Graphics/OpenGL/Shader.cs rename to src/Nitload.Graphics/OpenGL/Shader.cs index ea36280f..01bf82fa 100644 --- a/src/StgSharp.Graphics/OpenGL/Shader.cs +++ b/src/Nitload.Graphics/OpenGL/Shader.cs @@ -7,7 +7,7 @@ using System; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// /// A set of OpenGL shader handles with their common stage type. diff --git a/src/StgSharp.Graphics/OpenGL/glApiManager.Load.cs b/src/Nitload.Graphics/OpenGL/glApiManager.Load.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/glApiManager.Load.cs rename to src/Nitload.Graphics/OpenGL/glApiManager.Load.cs index d6b7d4d8..3206ecf2 100644 --- a/src/StgSharp.Graphics/OpenGL/glApiManager.Load.cs +++ b/src/Nitload.Graphics/OpenGL/glApiManager.Load.cs @@ -5,11 +5,11 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; +using Nitload.Mathematics; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public static partial class glManager { diff --git a/src/StgSharp.Graphics/OpenGL/glApiManager.cs b/src/Nitload.Graphics/OpenGL/glApiManager.cs similarity index 99% rename from src/StgSharp.Graphics/OpenGL/glApiManager.cs rename to src/Nitload.Graphics/OpenGL/glApiManager.cs index 69840f58..8acee42e 100644 --- a/src/StgSharp.Graphics/OpenGL/glApiManager.cs +++ b/src/Nitload.Graphics/OpenGL/glApiManager.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Internal; +using Nitload.Common.Internal; using System; using System.Globalization; using System.Runtime.InteropServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { /// /// Compatibility loader retained until the context subsystem is replaced. diff --git a/src/StgSharp.Graphics/OpenGL/glAttachment.cs b/src/Nitload.Graphics/OpenGL/glAttachment.cs similarity index 95% rename from src/StgSharp.Graphics/OpenGL/glAttachment.cs rename to src/Nitload.Graphics/OpenGL/glAttachment.cs index 2716fffa..bb7ff61e 100644 --- a/src/StgSharp.Graphics/OpenGL/glAttachment.cs +++ b/src/Nitload.Graphics/OpenGL/glAttachment.cs @@ -8,7 +8,7 @@ using System; using System.Drawing; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { // rename types in style of glConst diff --git a/src/StgSharp.Graphics/OpenGL/glException.cs b/src/Nitload.Graphics/OpenGL/glException.cs similarity index 96% rename from src/StgSharp.Graphics/OpenGL/glException.cs rename to src/Nitload.Graphics/OpenGL/glException.cs index 335397ae..18f64d63 100644 --- a/src/StgSharp.Graphics/OpenGL/glException.cs +++ b/src/Nitload.Graphics/OpenGL/glException.cs @@ -7,7 +7,7 @@ using System; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public sealed class GlErrorOverflowException : Exception { diff --git a/src/StgSharp.Graphics/OpenGL/glHandle.cs b/src/Nitload.Graphics/OpenGL/glHandle.cs similarity index 97% rename from src/StgSharp.Graphics/OpenGL/glHandle.cs rename to src/Nitload.Graphics/OpenGL/glHandle.cs index dd77e32e..b18d5a78 100644 --- a/src/StgSharp.Graphics/OpenGL/glHandle.cs +++ b/src/Nitload.Graphics/OpenGL/glHandle.cs @@ -17,7 +17,7 @@ using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { [StructLayout(LayoutKind.Explicit, Size = 4)] public struct GlHandle diff --git a/src/StgSharp.Graphics/OpenGL/glRenderStream.cs b/src/Nitload.Graphics/OpenGL/glRenderStream.cs similarity index 96% rename from src/StgSharp.Graphics/OpenGL/glRenderStream.cs rename to src/Nitload.Graphics/OpenGL/glRenderStream.cs index eed2d185..c2ab1c90 100644 --- a/src/StgSharp.Graphics/OpenGL/glRenderStream.cs +++ b/src/Nitload.Graphics/OpenGL/glRenderStream.cs @@ -5,10 +5,10 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Threading; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Threading; using System; using System.Collections.Concurrent; @@ -21,7 +21,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { public abstract partial class glRender : RenderStream { diff --git a/src/StgSharp.Graphics/OpenGL/glSync.cs b/src/Nitload.Graphics/OpenGL/glSync.cs similarity index 92% rename from src/StgSharp.Graphics/OpenGL/glSync.cs rename to src/Nitload.Graphics/OpenGL/glSync.cs index 7357f962..48f87306 100644 --- a/src/StgSharp.Graphics/OpenGL/glSync.cs +++ b/src/Nitload.Graphics/OpenGL/glSync.cs @@ -8,7 +8,7 @@ using System; using System.Runtime.InteropServices; -namespace StgSharp.Graphics.OpenGL +namespace Nitload.Graphics.OpenGL { [StructLayout(LayoutKind.Sequential)] public struct glSync diff --git a/src/StgSharp.Graphics/PlainGeometryMesh.cs b/src/Nitload.Graphics/PlainGeometryMesh.cs similarity index 93% rename from src/StgSharp.Graphics/PlainGeometryMesh.cs rename to src/Nitload.Graphics/PlainGeometryMesh.cs index 1fcfebbb..c2ebf751 100644 --- a/src/StgSharp.Graphics/PlainGeometryMesh.cs +++ b/src/Nitload.Graphics/PlainGeometryMesh.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Geometries; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Geometries; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.InteropServices; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public class PlainGeometryMesh { diff --git a/src/StgSharp.Graphics/RenderStream.cs b/src/Nitload.Graphics/RenderStream.cs similarity index 96% rename from src/StgSharp.Graphics/RenderStream.cs rename to src/Nitload.Graphics/RenderStream.cs index 55942a8d..5aec9383 100644 --- a/src/StgSharp.Graphics/RenderStream.cs +++ b/src/Nitload.Graphics/RenderStream.cs @@ -5,10 +5,10 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Timing; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Common.Timing; using System; using System.Collections.Generic; @@ -20,7 +20,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public abstract class RenderStream { diff --git a/src/StgSharp.Graphics/Rgba8.cs b/src/Nitload.Graphics/Rgba8.cs similarity index 96% rename from src/StgSharp.Graphics/Rgba8.cs rename to src/Nitload.Graphics/Rgba8.cs index cad522cf..39f8fb02 100644 --- a/src/StgSharp.Graphics/Rgba8.cs +++ b/src/Nitload.Graphics/Rgba8.cs @@ -7,7 +7,7 @@ using System.Runtime.InteropServices; -namespace StgSharp.Graphics +namespace Nitload.Graphics { /// /// Four-channel, eight-bit-per-channel RGBA pixel storage. diff --git a/src/StgSharp.Graphics/ViewSurface.cs b/src/Nitload.Graphics/ViewSurface.cs similarity index 99% rename from src/StgSharp.Graphics/ViewSurface.cs rename to src/Nitload.Graphics/ViewSurface.cs index ef3fec01..38eb047f 100644 --- a/src/StgSharp.Graphics/ViewSurface.cs +++ b/src/Nitload.Graphics/ViewSurface.cs @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public class ViewSurface { diff --git a/src/StgSharp.Graphics/glfw.cs b/src/Nitload.Graphics/glfw.cs similarity index 99% rename from src/StgSharp.Graphics/glfw.cs rename to src/Nitload.Graphics/glfw.cs index a6a4dbd2..7f6d9051 100644 --- a/src/StgSharp.Graphics/glfw.cs +++ b/src/Nitload.Graphics/glfw.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Internal; +using Nitload.Common.Internal; using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; -namespace StgSharp.Graphics +namespace Nitload.Graphics { public class GraphicModule : IStaticModule { diff --git a/src/StgSharp.Graphics/glfw.function.cs b/src/Nitload.Graphics/glfw.function.cs similarity index 99% rename from src/StgSharp.Graphics/glfw.function.cs rename to src/Nitload.Graphics/glfw.function.cs index 50283218..0723d565 100644 --- a/src/StgSharp.Graphics/glfw.function.cs +++ b/src/Nitload.Graphics/glfw.function.cs @@ -9,7 +9,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Internal +namespace Nitload.Common.Internal { [StructLayout(LayoutKind.Sequential)] internal unsafe struct GLFWFunction diff --git a/src/StgSharp.Graphics/glfw.struct.cs b/src/Nitload.Graphics/glfw.struct.cs similarity index 96% rename from src/StgSharp.Graphics/glfw.struct.cs rename to src/Nitload.Graphics/glfw.struct.cs index a98d057e..1833e652 100644 --- a/src/StgSharp.Graphics/glfw.struct.cs +++ b/src/Nitload.Graphics/glfw.struct.cs @@ -7,7 +7,7 @@ using System.Runtime.InteropServices; -namespace StgSharp.Internal +namespace Nitload.Common.Internal { // GLFW owns these objects. The managed layer only passes opaque pointers to them. diff --git a/src/StgSharp.Mathematics/.discard/CoordinationNaming.md b/src/Nitload.Mathematics/.discard/CoordinationNaming.md similarity index 100% rename from src/StgSharp.Mathematics/.discard/CoordinationNaming.md rename to src/Nitload.Mathematics/.discard/CoordinationNaming.md diff --git a/src/StgSharp.Mathematics/.discard/MatrixCompute.Factorize.cs.old b/src/Nitload.Mathematics/.discard/MatrixCompute.Factorize.cs.old similarity index 99% rename from src/StgSharp.Mathematics/.discard/MatrixCompute.Factorize.cs.old rename to src/Nitload.Mathematics/.discard/MatrixCompute.Factorize.cs.old index f0e01188..dd63e8b2 100644 --- a/src/StgSharp.Mathematics/.discard/MatrixCompute.Factorize.cs.old +++ b/src/Nitload.Mathematics/.discard/MatrixCompute.Factorize.cs.old @@ -25,14 +25,14 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.Internal; +using Nitload.Common.Internal; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static partial class MatrixCompute { diff --git a/src/StgSharp.Mathematics/.discard/MatrixCompute.Single.cs.old b/src/Nitload.Mathematics/.discard/MatrixCompute.Single.cs.old similarity index 98% rename from src/StgSharp.Mathematics/.discard/MatrixCompute.Single.cs.old rename to src/Nitload.Mathematics/.discard/MatrixCompute.Single.cs.old index eec9ac42..94f2fe4c 100644 --- a/src/StgSharp.Mathematics/.discard/MatrixCompute.Single.cs.old +++ b/src/Nitload.Mathematics/.discard/MatrixCompute.Single.cs.old @@ -25,10 +25,10 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.Internal; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Internal; +using Nitload.Common.Collections; +using Nitload.Common.Internal; +using Nitload.Mathematics; +using Nitload.Mathematics.Internal; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; @@ -38,7 +38,7 @@ using System.Security.AccessControl; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static partial class MatrixCompute { diff --git a/src/StgSharp.Mathematics/.discard/MatrixCompute.double.cs.old b/src/Nitload.Mathematics/.discard/MatrixCompute.double.cs.old similarity index 98% rename from src/StgSharp.Mathematics/.discard/MatrixCompute.double.cs.old rename to src/Nitload.Mathematics/.discard/MatrixCompute.double.cs.old index 44399c92..0656d0a5 100644 --- a/src/StgSharp.Mathematics/.discard/MatrixCompute.double.cs.old +++ b/src/Nitload.Mathematics/.discard/MatrixCompute.double.cs.old @@ -25,18 +25,18 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.Internal; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Internal; +using Nitload.Common.Internal; +using Nitload.Mathematics; +using Nitload.Mathematics.Internal; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -using unsafe MkProc = delegate* unmanaged[Cdecl]; +using unsafe MkProc = delegate* unmanaged[Cdecl]; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public partial class MatrixCompute { diff --git a/src/StgSharp.Mathematics/.discard/MatrixParallelHandle.cs.old b/src/Nitload.Mathematics/.discard/MatrixParallelHandle.cs.old similarity index 97% rename from src/StgSharp.Mathematics/.discard/MatrixParallelHandle.cs.old rename to src/Nitload.Mathematics/.discard/MatrixParallelHandle.cs.old index 3ab1a077..f9bb6227 100644 --- a/src/StgSharp.Mathematics/.discard/MatrixParallelHandle.cs.old +++ b/src/Nitload.Mathematics/.discard/MatrixParallelHandle.cs.old @@ -1,4 +1,4 @@ -//----------------------------------------------------------------------- +//----------------------------------------------------------------------- // ----------------------------------------------------------------------- // file="MatrixParallelHandle" // Project: StgSharp @@ -25,7 +25,7 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.Collections; +using Nitload.Common.Collections; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; @@ -35,7 +35,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public class MatrixParallelHandle : IDisposable { diff --git a/src/StgSharp.Mathematics/.discard/MatrixParallelWrap.cs.old b/src/Nitload.Mathematics/.discard/MatrixParallelWrap.cs.old similarity index 98% rename from src/StgSharp.Mathematics/.discard/MatrixParallelWrap.cs.old rename to src/Nitload.Mathematics/.discard/MatrixParallelWrap.cs.old index 59d4efa0..4af180ab 100644 --- a/src/StgSharp.Mathematics/.discard/MatrixParallelWrap.cs.old +++ b/src/Nitload.Mathematics/.discard/MatrixParallelWrap.cs.old @@ -25,7 +25,7 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.HighPerformance; +using Nitload.Common.HighPerformance; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; @@ -35,7 +35,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public unsafe class MatrixParallelWrap { diff --git a/src/StgSharp.Mathematics/AssemblyInfo.cs b/src/Nitload.Mathematics/AssemblyInfo.cs similarity index 76% rename from src/StgSharp.Mathematics/AssemblyInfo.cs rename to src/Nitload.Mathematics/AssemblyInfo.cs index 1ff331e7..81f1a942 100644 --- a/src/StgSharp.Mathematics/AssemblyInfo.cs +++ b/src/Nitload.Mathematics/AssemblyInfo.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -global using StgSharp.Internal; -global using StgSharp.Mathematics.Internal; +global using Nitload.Common.Internal; +global using Nitload.Mathematics.Internal; global using System; global using System.Numerics; global using System.Threading; using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("StgSharp.Graphics")] +[assembly: InternalsVisibleTo("Nitload.Graphics")] [assembly: InternalsVisibleTo("StgSharpDebug")] diff --git a/src/StgSharp.Mathematics/Geometries/Coordination/CoordinationBase.cs b/src/Nitload.Mathematics/Geometries/Coordination/CoordinationBase.cs similarity index 95% rename from src/StgSharp.Mathematics/Geometries/Coordination/CoordinationBase.cs rename to src/Nitload.Mathematics/Geometries/Coordination/CoordinationBase.cs index e8f9e360..d27b144f 100644 --- a/src/StgSharp.Mathematics/Geometries/Coordination/CoordinationBase.cs +++ b/src/Nitload.Mathematics/Geometries/Coordination/CoordinationBase.cs @@ -5,11 +5,11 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System.Runtime.CompilerServices; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public abstract class CoordinationBase { diff --git a/src/StgSharp.Mathematics/Geometries/Coordination/PlainCoordinate.cs b/src/Nitload.Mathematics/Geometries/Coordination/PlainCoordinate.cs similarity index 92% rename from src/StgSharp.Mathematics/Geometries/Coordination/PlainCoordinate.cs rename to src/Nitload.Mathematics/Geometries/Coordination/PlainCoordinate.cs index 26cc950c..4ea55538 100644 --- a/src/StgSharp.Mathematics/Geometries/Coordination/PlainCoordinate.cs +++ b/src/Nitload.Mathematics/Geometries/Coordination/PlainCoordinate.cs @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections.Generic; using System.Net.Http.Headers; using System.Text; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public class PlainCoordinate : CoordinationBase { diff --git a/src/StgSharp.Mathematics/Geometries/Coordination/SpaceCoordinate.cs b/src/Nitload.Mathematics/Geometries/Coordination/SpaceCoordinate.cs similarity index 86% rename from src/StgSharp.Mathematics/Geometries/Coordination/SpaceCoordinate.cs rename to src/Nitload.Mathematics/Geometries/Coordination/SpaceCoordinate.cs index 73e800be..617a5d84 100644 --- a/src/StgSharp.Mathematics/Geometries/Coordination/SpaceCoordinate.cs +++ b/src/Nitload.Mathematics/Geometries/Coordination/SpaceCoordinate.cs @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections.Generic; using System.Text; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public class SpaceCoordinate : CoordinationBase { diff --git a/src/StgSharp.Mathematics/Geometries/Coordination/StreamLocalCoordinate.cs b/src/Nitload.Mathematics/Geometries/Coordination/StreamLocalCoordinate.cs similarity index 89% rename from src/StgSharp.Mathematics/Geometries/Coordination/StreamLocalCoordinate.cs rename to src/Nitload.Mathematics/Geometries/Coordination/StreamLocalCoordinate.cs index 08455e8c..daccfc3e 100644 --- a/src/StgSharp.Mathematics/Geometries/Coordination/StreamLocalCoordinate.cs +++ b/src/Nitload.Mathematics/Geometries/Coordination/StreamLocalCoordinate.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; +using Nitload.Mathematics; using System; using System.Collections.Generic; @@ -13,7 +13,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Geometries +namespace Nitload.Geometries { /* public class StreamLocalCoordinate : CoordinationBase diff --git a/src/StgSharp.Mathematics/Geometries/GemoryException.cs b/src/Nitload.Mathematics/Geometries/GemoryException.cs similarity index 98% rename from src/StgSharp.Mathematics/Geometries/GemoryException.cs rename to src/Nitload.Mathematics/Geometries/GemoryException.cs index 92ab6313..bc826fa9 100644 --- a/src/StgSharp.Mathematics/Geometries/GemoryException.cs +++ b/src/Nitload.Mathematics/Geometries/GemoryException.cs @@ -8,7 +8,7 @@ using System; using System.Runtime.Serialization; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public unsafe class ToUpperDimensionException : Exception { diff --git a/src/StgSharp.Mathematics/Geometries/GeometryOperation/GeometryOperation.cs b/src/Nitload.Mathematics/Geometries/GeometryOperation/GeometryOperation.cs similarity index 96% rename from src/StgSharp.Mathematics/Geometries/GeometryOperation/GeometryOperation.cs rename to src/Nitload.Mathematics/Geometries/GeometryOperation/GeometryOperation.cs index 449bdda2..78c5aef4 100644 --- a/src/StgSharp.Mathematics/Geometries/GeometryOperation/GeometryOperation.cs +++ b/src/Nitload.Mathematics/Geometries/GeometryOperation/GeometryOperation.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Timing; +using Nitload.Common.Timing; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Runtime.InteropServices; -namespace StgSharp.Geometries +namespace Nitload.Geometries { [UnmanagedFunctionPointer(CallingConvention.Cdecl)] public delegate Vec3 GeometryMotionDelegate( diff --git a/src/StgSharp.Mathematics/Geometries/GeometryScaler/Angle.cs b/src/Nitload.Mathematics/Geometries/GeometryScaler/Angle.cs similarity index 99% rename from src/StgSharp.Mathematics/Geometries/GeometryScaler/Angle.cs rename to src/Nitload.Mathematics/Geometries/GeometryScaler/Angle.cs index 62e8a9c3..07c58e1a 100644 --- a/src/StgSharp.Mathematics/Geometries/GeometryScaler/Angle.cs +++ b/src/Nitload.Mathematics/Geometries/GeometryScaler/Angle.cs @@ -12,7 +12,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics +namespace Nitload.Mathematics { public static partial class GeometryScaler { diff --git a/src/StgSharp.Mathematics/Geometries/IGeometry.cs b/src/Nitload.Mathematics/Geometries/IGeometry.cs similarity index 88% rename from src/StgSharp.Mathematics/Geometries/IGeometry.cs rename to src/Nitload.Mathematics/Geometries/IGeometry.cs index 4b49109d..6d6a3a0e 100644 --- a/src/StgSharp.Mathematics/Geometries/IGeometry.cs +++ b/src/Nitload.Mathematics/Geometries/IGeometry.cs @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections.Generic; @@ -15,7 +15,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public interface IGeometry { diff --git a/src/StgSharp.Mathematics/Geometries/IGeomtryBuffer.cs b/src/Nitload.Mathematics/Geometries/IGeomtryBuffer.cs similarity index 93% rename from src/StgSharp.Mathematics/Geometries/IGeomtryBuffer.cs rename to src/Nitload.Mathematics/Geometries/IGeomtryBuffer.cs index a757563f..69130058 100644 --- a/src/StgSharp.Mathematics/Geometries/IGeomtryBuffer.cs +++ b/src/Nitload.Mathematics/Geometries/IGeomtryBuffer.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public interface IGeomtryBuffer { } } diff --git a/src/StgSharp.Mathematics/Geometries/IInstancing.cs b/src/Nitload.Mathematics/Geometries/IInstancing.cs similarity index 94% rename from src/StgSharp.Mathematics/Geometries/IInstancing.cs rename to src/Nitload.Mathematics/Geometries/IInstancing.cs index 8772f3ec..969eb433 100644 --- a/src/StgSharp.Mathematics/Geometries/IInstancing.cs +++ b/src/Nitload.Mathematics/Geometries/IInstancing.cs @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections.Generic; @@ -16,7 +16,7 @@ using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public interface IInstancing { diff --git a/src/StgSharp.Mathematics/Geometries/IInstancingBuffer.cs b/src/Nitload.Mathematics/Geometries/IInstancingBuffer.cs similarity index 87% rename from src/StgSharp.Mathematics/Geometries/IInstancingBuffer.cs rename to src/Nitload.Mathematics/Geometries/IInstancingBuffer.cs index 91d4d1de..a9acd8bd 100644 --- a/src/StgSharp.Mathematics/Geometries/IInstancingBuffer.cs +++ b/src/Nitload.Mathematics/Geometries/IInstancingBuffer.cs @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections.Generic; using System.Text; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public interface IInstancingBuffer { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Cordinate.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Cordinate.cs similarity index 96% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Cordinate.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Cordinate.cs index 319476a0..a998d4b9 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Cordinate.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Cordinate.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; +using Nitload.Mathematics; using System; using System.Collections.Generic; @@ -15,7 +15,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Geometries +namespace Nitload.Geometries { [StructLayout(LayoutKind.Sequential)] public struct PartialPlainCoordinate diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/GeometryOperation.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/GeometryOperation.cs similarity index 84% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/GeometryOperation.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Define/GeometryOperation.cs index 843deb0a..e47408e3 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/GeometryOperation.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/GeometryOperation.cs @@ -5,12 +5,12 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System.Runtime.CompilerServices; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public static unsafe class GeometryOperation { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/IPlainEntity.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/IPlainEntity.cs similarity index 91% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/IPlainEntity.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Define/IPlainEntity.cs index 15d41a1b..8c2413a7 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/IPlainEntity.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/IPlainEntity.cs @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public interface IPlainEntity { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/ParticleOnPlain.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/ParticleOnPlain.cs similarity index 91% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/ParticleOnPlain.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Define/ParticleOnPlain.cs index a38fe457..39846088 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/ParticleOnPlain.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/ParticleOnPlain.cs @@ -5,9 +5,9 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections.Generic; using System.Linq; @@ -16,7 +16,7 @@ using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public class ParticleOnPlain : IInstancing, IPlainEntity { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/PlainGeometry.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/PlainGeometry.cs similarity index 91% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/PlainGeometry.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Define/PlainGeometry.cs index d5285cc2..80ae733f 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/PlainGeometry.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/PlainGeometry.cs @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.ComponentModel; -namespace StgSharp.Geometries +namespace Nitload.Geometries { /// /// Plain geometry only contains straight sides. diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/PlainInstancingBuffer.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/PlainInstancingBuffer.cs similarity index 96% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/PlainInstancingBuffer.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Define/PlainInstancingBuffer.cs index 19a68059..1cb50037 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Define/PlainInstancingBuffer.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Define/PlainInstancingBuffer.cs @@ -5,9 +5,9 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections; using System.Collections.Generic; @@ -22,7 +22,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public class PlainInstancingBuffer : IDisposable, IEnumerable, IInstancingBuffer where T : IInstancing diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Parallelogram.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Parallelogram.cs similarity index 94% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Parallelogram.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Parallelogram.cs index 3ea9c7a3..39dfa04d 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Parallelogram.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Parallelogram.cs @@ -5,12 +5,12 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public class Parallelogram : Polygon4 { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Plain.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Plain.cs similarity index 95% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Plain.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Plain.cs index 7982a840..6fea0cdd 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Plain.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Plain.cs @@ -5,12 +5,12 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System.Numerics; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public unsafe class Plain { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Polygon4.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Polygon4.cs similarity index 96% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Polygon4.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Polygon4.cs index 0bd97af5..7cf47076 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Polygon4.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Polygon4.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Numerics; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public class Polygon4 : PlainGeometry { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Polygon5.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Polygon5.cs similarity index 95% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Polygon5.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Polygon5.cs index 7427508c..ff63b7b7 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Polygon5.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Polygon5.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Numerics; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public unsafe class Polygon5 : PlainGeometry { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Polygon6.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Polygon6.cs similarity index 90% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Polygon6.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Polygon6.cs index 51360cea..a3a5ed3d 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Polygon6.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Polygon6.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Numerics; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public class Polygon6 : PlainGeometry { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Rectangle.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Rectangle.cs similarity index 93% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Rectangle.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Rectangle.cs index 127d1d57..05a75289 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Rectangle.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Rectangle.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Numerics; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public class Rectangle : Parallelogram { diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Square.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Square.cs similarity index 92% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Square.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Square.cs index 66f8cf78..c769f35e 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Square.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Square.cs @@ -5,11 +5,11 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; +using Nitload.Mathematics; using System.Numerics; -namespace StgSharp.Geometries +namespace Nitload.Geometries { /// /// A square diff --git a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Triangle.cs b/src/Nitload.Mathematics/Geometries/PlainGeometry/Triangle.cs similarity index 95% rename from src/StgSharp.Mathematics/Geometries/PlainGeometry/Triangle.cs rename to src/Nitload.Mathematics/Geometries/PlainGeometry/Triangle.cs index 926ebef0..e1debc89 100644 --- a/src/StgSharp.Mathematics/Geometries/PlainGeometry/Triangle.cs +++ b/src/Nitload.Mathematics/Geometries/PlainGeometry/Triangle.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Numerics; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public unsafe class Triangle : PlainGeometry { diff --git a/src/StgSharp.Mathematics/Geometries/Point.cs b/src/Nitload.Mathematics/Geometries/Point.cs similarity index 93% rename from src/StgSharp.Mathematics/Geometries/Point.cs rename to src/Nitload.Mathematics/Geometries/Point.cs index 82e3e2c5..a7098cec 100644 --- a/src/StgSharp.Mathematics/Geometries/Point.cs +++ b/src/Nitload.Mathematics/Geometries/Point.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections.Generic; @@ -13,7 +13,7 @@ using System.Numerics; using System.Runtime.InteropServices; using System.Text; -namespace StgSharp.Geometries +namespace Nitload.Geometries { [StructLayout(LayoutKind.Explicit, Size = 16)] public struct Point diff --git a/src/StgSharp.Mathematics/Geometries/SpaceGeometry/Class1.cs b/src/Nitload.Mathematics/Geometries/SpaceGeometry/Class1.cs similarity index 89% rename from src/StgSharp.Mathematics/Geometries/SpaceGeometry/Class1.cs rename to src/Nitload.Mathematics/Geometries/SpaceGeometry/Class1.cs index f9445dab..c6d5a34b 100644 --- a/src/StgSharp.Mathematics/Geometries/SpaceGeometry/Class1.cs +++ b/src/Nitload.Mathematics/Geometries/SpaceGeometry/Class1.cs @@ -9,7 +9,7 @@ using System; using System.Collections.Generic; using System.Text; -namespace StgSharp.Geometries.SpaceGeometry +namespace Nitload.Geometries.SpaceGeometry { internal class Class1 { } } diff --git a/src/StgSharp.Mathematics/Geometries/SpaceGeometry/TriangulatedSurface.cs b/src/Nitload.Mathematics/Geometries/SpaceGeometry/TriangulatedSurface.cs similarity index 96% rename from src/StgSharp.Mathematics/Geometries/SpaceGeometry/TriangulatedSurface.cs rename to src/Nitload.Mathematics/Geometries/SpaceGeometry/TriangulatedSurface.cs index 467eed51..64bfa0c7 100644 --- a/src/StgSharp.Mathematics/Geometries/SpaceGeometry/TriangulatedSurface.cs +++ b/src/Nitload.Mathematics/Geometries/SpaceGeometry/TriangulatedSurface.cs @@ -5,9 +5,9 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; +using Nitload.Mathematics; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; using System; using System.Collections.Generic; @@ -17,7 +17,7 @@ using System.Runtime.InteropServices; using System.Runtime.Intrinsics; using System.Text; -namespace StgSharp.Geometries +namespace Nitload.Geometries { public class TriangulatedSurface { diff --git a/src/StgSharp.Mathematics/Internal/ColumnSet2.cs b/src/Nitload.Mathematics/Internal/ColumnSet2.cs similarity index 98% rename from src/StgSharp.Mathematics/Internal/ColumnSet2.cs rename to src/Nitload.Mathematics/Internal/ColumnSet2.cs index ca2e086d..0e314d93 100644 --- a/src/StgSharp.Mathematics/Internal/ColumnSet2.cs +++ b/src/Nitload.Mathematics/Internal/ColumnSet2.cs @@ -11,7 +11,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; -namespace StgSharp.Mathematics.Internal +namespace Nitload.Mathematics.Internal { [StructLayout(LayoutKind.Explicit, Size = 12 * sizeof(float), Pack = 16)] internal struct ColumnSet2 : IEquatable diff --git a/src/StgSharp.Mathematics/Internal/ColumnSet3.cs b/src/Nitload.Mathematics/Internal/ColumnSet3.cs similarity index 95% rename from src/StgSharp.Mathematics/Internal/ColumnSet3.cs rename to src/Nitload.Mathematics/Internal/ColumnSet3.cs index df9e89a1..dc895aea 100644 --- a/src/StgSharp.Mathematics/Internal/ColumnSet3.cs +++ b/src/Nitload.Mathematics/Internal/ColumnSet3.cs @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Internal; +using Nitload.Mathematics; +using Nitload.Mathematics.Internal; using System; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Mathematics.Internal +namespace Nitload.Mathematics.Internal { [StructLayout(LayoutKind.Explicit, Size = 12 * sizeof(float), Pack = 16)] internal struct ColumnSet3 : IEquatable diff --git a/src/StgSharp.Mathematics/Internal/ColumnSet4.cs b/src/Nitload.Mathematics/Internal/ColumnSet4.cs similarity index 96% rename from src/StgSharp.Mathematics/Internal/ColumnSet4.cs rename to src/Nitload.Mathematics/Internal/ColumnSet4.cs index 0cdd770f..77bf7ae3 100644 --- a/src/StgSharp.Mathematics/Internal/ColumnSet4.cs +++ b/src/Nitload.Mathematics/Internal/ColumnSet4.cs @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp; -using StgSharp.Mathematics.Internal; +using Nitload; +using Nitload.Mathematics.Internal; using System; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Mathematics.Internal +namespace Nitload.Mathematics.Internal { [StructLayout(LayoutKind.Explicit, Size = 16 * sizeof(float))] internal struct ColumnSet4 : IEquatable diff --git a/src/StgSharp.Mathematics/Internal/IntrinsicContext.cs b/src/Nitload.Mathematics/Internal/IntrinsicContext.cs similarity index 98% rename from src/StgSharp.Mathematics/Internal/IntrinsicContext.cs rename to src/Nitload.Mathematics/Internal/IntrinsicContext.cs index 98e2ec44..7a366c67 100644 --- a/src/StgSharp.Mathematics/Internal/IntrinsicContext.cs +++ b/src/Nitload.Mathematics/Internal/IntrinsicContext.cs @@ -5,12 +5,12 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric.Runtime; +using Nitload.Mathematics.Numeric.Runtime; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Mathematics.Internal +namespace Nitload.Mathematics.Internal { internal enum MatrixIntrinsicHandle : int { diff --git a/src/StgSharp.Mathematics/Internal/MatrixKernel.cs b/src/Nitload.Mathematics/Internal/MatrixKernel.cs similarity index 97% rename from src/StgSharp.Mathematics/Internal/MatrixKernel.cs rename to src/Nitload.Mathematics/Internal/MatrixKernel.cs index 8c94f902..d50df3e6 100644 --- a/src/StgSharp.Mathematics/Internal/MatrixKernel.cs +++ b/src/Nitload.Mathematics/Internal/MatrixKernel.cs @@ -10,7 +10,7 @@ using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Mathematics +namespace Nitload.Mathematics { public unsafe struct MatrixKernel { diff --git a/src/StgSharp.Mathematics/Internal/MatrixPanel.cs b/src/Nitload.Mathematics/Internal/MatrixPanel.cs similarity index 98% rename from src/StgSharp.Mathematics/Internal/MatrixPanel.cs rename to src/Nitload.Mathematics/Internal/MatrixPanel.cs index 0a5b8a8e..9b903ce9 100644 --- a/src/StgSharp.Mathematics/Internal/MatrixPanel.cs +++ b/src/Nitload.Mathematics/Internal/MatrixPanel.cs @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Internal; -using StgSharp.Mathematics.Numeric; +using Nitload.Mathematics.Internal; +using Nitload.Mathematics.Numeric; using System; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public unsafe struct MatrixPanel { diff --git a/src/StgSharp.Mathematics/Internal/SIMDID.cs b/src/Nitload.Mathematics/Internal/SIMDID.cs similarity index 96% rename from src/StgSharp.Mathematics/Internal/SIMDID.cs rename to src/Nitload.Mathematics/Internal/SIMDID.cs index 8b58bb3a..4136fe0a 100644 --- a/src/StgSharp.Mathematics/Internal/SIMDID.cs +++ b/src/Nitload.Mathematics/Internal/SIMDID.cs @@ -13,7 +13,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Internal +namespace Nitload.Mathematics.Internal { [StructLayout(LayoutKind.Explicit)] internal unsafe struct SIMDID diff --git a/src/StgSharp.Mathematics/Internal/ScalarPacket.cs b/src/Nitload.Mathematics/Internal/ScalarPacket.cs similarity index 93% rename from src/StgSharp.Mathematics/Internal/ScalarPacket.cs rename to src/Nitload.Mathematics/Internal/ScalarPacket.cs index 65be666b..ce30fda6 100644 --- a/src/StgSharp.Mathematics/Internal/ScalarPacket.cs +++ b/src/Nitload.Mathematics/Internal/ScalarPacket.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.ProcessorAbstraction; +using Nitload.Common.HighPerformance.ProcessorAbstraction; using System; using System.Collections.Generic; using System.Linq; @@ -14,7 +14,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics +namespace Nitload.Mathematics { public unsafe struct ScalarPacket { diff --git a/src/StgSharp.Mathematics/Internal/UnsafeCompute.cs b/src/Nitload.Mathematics/Internal/UnsafeCompute.cs similarity index 94% rename from src/StgSharp.Mathematics/Internal/UnsafeCompute.cs rename to src/Nitload.Mathematics/Internal/UnsafeCompute.cs index a1190ba8..d92e57a5 100644 --- a/src/StgSharp.Mathematics/Internal/UnsafeCompute.cs +++ b/src/Nitload.Mathematics/Internal/UnsafeCompute.cs @@ -5,10 +5,10 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric; +using Nitload.Mathematics.Numeric; using System.Runtime.CompilerServices; -namespace StgSharp.Mathematics.Internal +namespace Nitload.Mathematics.Internal { public static class UnsafeCompute { diff --git a/src/StgSharp.Mathematics/StgSharp.Mathematics.csproj b/src/Nitload.Mathematics/Nitload.Mathematics.csproj similarity index 54% rename from src/StgSharp.Mathematics/StgSharp.Mathematics.csproj rename to src/Nitload.Mathematics/Nitload.Mathematics.csproj index 11c9a1ab..dace0d96 100644 --- a/src/StgSharp.Mathematics/StgSharp.Mathematics.csproj +++ b/src/Nitload.Mathematics/Nitload.Mathematics.csproj @@ -1,11 +1,11 @@ - + - + diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Cordination.cs b/src/Nitload.Mathematics/Numeric/Graphics/Cordination.cs similarity index 87% rename from src/StgSharp.Mathematics/Numeric/Graphics/Cordination.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Cordination.cs index 393faba9..6d4b7820 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Cordination.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Cordination.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { public enum CoordinatePlain { diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/GraphicVector.cs b/src/Nitload.Mathematics/Numeric/Graphics/GraphicVector.cs similarity index 96% rename from src/StgSharp.Mathematics/Numeric/Graphics/GraphicVector.cs rename to src/Nitload.Mathematics/Numeric/Graphics/GraphicVector.cs index 19cfe698..20a664dd 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/GraphicVector.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/GraphicVector.cs @@ -12,7 +12,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { internal static class GraphicVector { diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/GraphicsMatrix.cs b/src/Nitload.Mathematics/Numeric/Graphics/GraphicsMatrix.cs similarity index 98% rename from src/StgSharp.Mathematics/Numeric/Graphics/GraphicsMatrix.cs rename to src/Nitload.Mathematics/Numeric/Graphics/GraphicsMatrix.cs index 3fe27eb2..2054a690 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/GraphicsMatrix.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/GraphicsMatrix.cs @@ -5,9 +5,9 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Internal; -using StgSharp.Mathematics.Numeric; +using Nitload.Mathematics; +using Nitload.Mathematics.Internal; +using Nitload.Mathematics.Numeric; using System; using System.Collections; using System.Collections.Generic; @@ -16,7 +16,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics.X86; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { [StructLayout(LayoutKind.Explicit, Size = 16 * sizeof(float), Pack = 16)] public unsafe struct GraphicsMatrix : IEquatable diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Vec2.cs b/src/Nitload.Mathematics/Numeric/Graphics/Vec2.cs similarity index 98% rename from src/StgSharp.Mathematics/Numeric/Graphics/Vec2.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Vec2.cs index ac3f766c..e1d7e540 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Vec2.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Vec2.cs @@ -9,7 +9,7 @@ using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.Intrinsics; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { public static class Vec2 { diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Vec2_T.cs b/src/Nitload.Mathematics/Numeric/Graphics/Vec2_T.cs similarity index 98% rename from src/StgSharp.Mathematics/Numeric/Graphics/Vec2_T.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Vec2_T.cs index e5c99a06..148646b1 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Vec2_T.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Vec2_T.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric; +using Nitload.Mathematics.Numeric; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { /// /// A two dimension vector defined by two elements. Vec2 in World are default used as colum diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Vec3.cs b/src/Nitload.Mathematics/Numeric/Graphics/Vec3.cs similarity index 99% rename from src/StgSharp.Mathematics/Numeric/Graphics/Vec3.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Vec3.cs index 0fe65e06..8837fb93 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Vec3.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Vec3.cs @@ -10,7 +10,7 @@ using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.Intrinsics; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { public static class Vec3 { diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Vec3_T.cs b/src/Nitload.Mathematics/Numeric/Graphics/Vec3_T.cs similarity index 99% rename from src/StgSharp.Mathematics/Numeric/Graphics/Vec3_T.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Vec3_T.cs index 7e691da6..be430de6 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Vec3_T.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Vec3_T.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric; +using Nitload.Mathematics.Numeric; using System; using System.Collections; using System.Collections.Generic; @@ -14,7 +14,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { /// /// A tightly packed three-dimensional numeric vector. diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Vec4.cs b/src/Nitload.Mathematics/Numeric/Graphics/Vec4.cs similarity index 98% rename from src/StgSharp.Mathematics/Numeric/Graphics/Vec4.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Vec4.cs index 990815e0..85136c19 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Vec4.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Vec4.cs @@ -9,7 +9,7 @@ using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.Intrinsics; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { public static class Vec4 { diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Vec4_T.cs b/src/Nitload.Mathematics/Numeric/Graphics/Vec4_T.cs similarity index 98% rename from src/StgSharp.Mathematics/Numeric/Graphics/Vec4_T.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Vec4_T.cs index 3b07ac6a..35dd4893 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Vec4_T.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Vec4_T.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric; +using Nitload.Mathematics.Numeric; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { /// /// A four-dimensional numeric vector. diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Vector.GetLength.cs b/src/Nitload.Mathematics/Numeric/Graphics/Vector.GetLength.cs similarity index 98% rename from src/StgSharp.Mathematics/Numeric/Graphics/Vector.GetLength.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Vector.GetLength.cs index 55c6595d..5df5e089 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Vector.GetLength.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Vector.GetLength.cs @@ -7,7 +7,7 @@ using System.Runtime.CompilerServices; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { public static unsafe partial class Linear { diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Vector.Normalize.cs b/src/Nitload.Mathematics/Numeric/Graphics/Vector.Normalize.cs similarity index 98% rename from src/StgSharp.Mathematics/Numeric/Graphics/Vector.Normalize.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Vector.Normalize.cs index 85871b8f..91e004e0 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Vector.Normalize.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Vector.Normalize.cs @@ -8,7 +8,7 @@ using System.Numerics; using System.Runtime.CompilerServices; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { public static partial class Linear { diff --git a/src/StgSharp.Mathematics/Numeric/Graphics/Vector.Orthogonalize.cs b/src/Nitload.Mathematics/Numeric/Graphics/Vector.Orthogonalize.cs similarity index 97% rename from src/StgSharp.Mathematics/Numeric/Graphics/Vector.Orthogonalize.cs rename to src/Nitload.Mathematics/Numeric/Graphics/Vector.Orthogonalize.cs index f315dbbe..09049e61 100644 --- a/src/StgSharp.Mathematics/Numeric/Graphics/Vector.Orthogonalize.cs +++ b/src/Nitload.Mathematics/Numeric/Graphics/Vector.Orthogonalize.cs @@ -8,7 +8,7 @@ using System.Numerics; using System.Runtime.CompilerServices; -namespace StgSharp.Mathematics.Numeric.Graphics +namespace Nitload.Mathematics.Numeric.Graphics { public static partial class Linear { diff --git a/src/StgSharp.Mathematics/Numeric/Linear/Exception.cs b/src/Nitload.Mathematics/Numeric/Linear/Exception.cs similarity index 97% rename from src/StgSharp.Mathematics/Numeric/Linear/Exception.cs rename to src/Nitload.Mathematics/Numeric/Linear/Exception.cs index 7abf0a41..271f1905 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/Exception.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/Exception.cs @@ -12,7 +12,7 @@ using System.Numerics; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public class MatrixDimensionMismatchException : Exception where T : unmanaged, INumber { diff --git a/src/StgSharp.Mathematics/Numeric/Linear/IUnmanagedVector.cs b/src/Nitload.Mathematics/Numeric/Linear/IUnmanagedVector.cs similarity index 94% rename from src/StgSharp.Mathematics/Numeric/Linear/IUnmanagedVector.cs rename to src/Nitload.Mathematics/Numeric/Linear/IUnmanagedVector.cs index 6b0b9ec2..cff66b0e 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/IUnmanagedVector.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/IUnmanagedVector.cs @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public interface IUnmanagedVector where TSelf : unmanaged, IUnmanagedVector { diff --git a/src/StgSharp.Mathematics/Numeric/Linear/Matrix.Create.cs b/src/Nitload.Mathematics/Numeric/Linear/Matrix.Create.cs similarity index 94% rename from src/StgSharp.Mathematics/Numeric/Linear/Matrix.Create.cs rename to src/Nitload.Mathematics/Numeric/Linear/Matrix.Create.cs index a89c9562..43d957c4 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/Matrix.Create.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/Matrix.Create.cs @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; -using StgSharp.Mathematics; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Mathematics; using System; using System.Collections.Generic; using System.Linq; @@ -14,9 +14,9 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -using Tlsf = global::StgSharp.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; +using Tlsf = global::Nitload.Common.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public unsafe partial class Matrix { diff --git a/src/StgSharp.Mathematics/Numeric/Linear/Matrix.cs b/src/Nitload.Mathematics/Numeric/Linear/Matrix.cs similarity index 96% rename from src/StgSharp.Mathematics/Numeric/Linear/Matrix.cs rename to src/Nitload.Mathematics/Numeric/Linear/Matrix.cs index 88ac16c6..d72b8fca 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/Matrix.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/Matrix.cs @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric; using System; using System.Numerics; using System.Runtime.CompilerServices; -// using hlsfHandle = global::StgSharp.HighPerformance.Memory.HybridLayerSegregatedFitAllocationHandle; +// using hlsfHandle = global::Nitload.Common.HighPerformance.Memory.HybridLayerSegregatedFitAllocationHandle; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public unsafe partial class Matrix where T : unmanaged, INumber { diff --git a/src/StgSharp.Mathematics/Numeric/Linear/MatrixCompute.Double.cs b/src/Nitload.Mathematics/Numeric/Linear/MatrixCompute.Double.cs similarity index 67% rename from src/StgSharp.Mathematics/Numeric/Linear/MatrixCompute.Double.cs rename to src/Nitload.Mathematics/Numeric/Linear/MatrixCompute.Double.cs index b2346c08..a266c37f 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/MatrixCompute.Double.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/MatrixCompute.Double.cs @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; -using StgSharp.Mathematics.Numeric.Runtime; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Mathematics.Numeric.Runtime; using System; using System.Collections.Generic; using System.Linq; @@ -14,9 +14,9 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -using unsafe MkProc = delegate* unmanaged[Cdecl]; +using unsafe MkProc = delegate* unmanaged[Cdecl]; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static unsafe partial class MatrixCompute { } } diff --git a/src/StgSharp.Mathematics/Numeric/Linear/MatrixCompute.Single.cs b/src/Nitload.Mathematics/Numeric/Linear/MatrixCompute.Single.cs similarity index 91% rename from src/StgSharp.Mathematics/Numeric/Linear/MatrixCompute.Single.cs rename to src/Nitload.Mathematics/Numeric/Linear/MatrixCompute.Single.cs index 090dfb43..6fd13172 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/MatrixCompute.Single.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/MatrixCompute.Single.cs @@ -5,16 +5,16 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Numeric.Runtime; +using Nitload.Mathematics.Numeric.Runtime; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -using unsafe MkProc = delegate* unmanaged[Cdecl]; +using unsafe MkProc = delegate* unmanaged[Cdecl]; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static unsafe partial class MatrixCompute { diff --git a/src/StgSharp.Mathematics/Numeric/Linear/MatrixCompute.cs b/src/Nitload.Mathematics/Numeric/Linear/MatrixCompute.cs similarity index 86% rename from src/StgSharp.Mathematics/Numeric/Linear/MatrixCompute.cs rename to src/Nitload.Mathematics/Numeric/Linear/MatrixCompute.cs index d60ae98b..479de7dc 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/MatrixCompute.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/MatrixCompute.cs @@ -5,10 +5,10 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; -using StgSharp.Internal; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Runtime; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Common.Internal; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Runtime; using System; using System.Collections.Generic; using System.Linq; @@ -17,9 +17,9 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -using unsafe MkProc = delegate* unmanaged[Cdecl]; +using unsafe MkProc = delegate* unmanaged[Cdecl]; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static unsafe partial class MatrixCompute { diff --git a/src/StgSharp.Mathematics/Numeric/Linear/MatrixIndex.cs b/src/Nitload.Mathematics/Numeric/Linear/MatrixIndex.cs similarity index 97% rename from src/StgSharp.Mathematics/Numeric/Linear/MatrixIndex.cs rename to src/Nitload.Mathematics/Numeric/Linear/MatrixIndex.cs index 7ea87cb3..7b99bba7 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/MatrixIndex.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/MatrixIndex.cs @@ -9,7 +9,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { [StructLayout(LayoutKind.Sequential)] public readonly struct MatrixIndex diff --git a/src/StgSharp.Mathematics/Numeric/Linear/MatrixMetadata.cs b/src/Nitload.Mathematics/Numeric/Linear/MatrixMetadata.cs similarity index 99% rename from src/StgSharp.Mathematics/Numeric/Linear/MatrixMetadata.cs rename to src/Nitload.Mathematics/Numeric/Linear/MatrixMetadata.cs index ec3341f7..8921b0ce 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/MatrixMetadata.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/MatrixMetadata.cs @@ -9,7 +9,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public enum MatrixLayout { diff --git a/src/StgSharp.Mathematics/Numeric/Linear/MatrixStorage.cs b/src/Nitload.Mathematics/Numeric/Linear/MatrixStorage.cs similarity index 87% rename from src/StgSharp.Mathematics/Numeric/Linear/MatrixStorage.cs rename to src/Nitload.Mathematics/Numeric/Linear/MatrixStorage.cs index 592b1842..b519edfa 100644 --- a/src/StgSharp.Mathematics/Numeric/Linear/MatrixStorage.cs +++ b/src/Nitload.Mathematics/Numeric/Linear/MatrixStorage.cs @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; -using StgSharp.Mathematics; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Mathematics; using System; using System.Collections.Generic; using System.Linq; @@ -15,9 +15,9 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -using Tlsf = global::StgSharp.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; +using Tlsf = global::Nitload.Common.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public abstract class MatrixStorage : IDisposable where T : unmanaged, INumber { diff --git a/src/StgSharp.Mathematics/Numeric/NumericalModule.cs b/src/Nitload.Mathematics/Numeric/NumericalModule.cs similarity index 96% rename from src/StgSharp.Mathematics/Numeric/NumericalModule.cs rename to src/Nitload.Mathematics/Numeric/NumericalModule.cs index 898473be..56fa35d0 100644 --- a/src/StgSharp.Mathematics/Numeric/NumericalModule.cs +++ b/src/Nitload.Mathematics/Numeric/NumericalModule.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Mathematics.Internal; +using Nitload.Mathematics.Internal; using System; using System.Collections.Generic; using System.Linq; @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public class NumericalModule : IStaticModule { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixOperatorPolicy.cs b/src/Nitload.Mathematics/Numeric/Runtime/MatrixOperatorPolicy.cs similarity index 94% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixOperatorPolicy.cs rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixOperatorPolicy.cs index 03cc82cb..f547597b 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixOperatorPolicy.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixOperatorPolicy.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric.Runtime +namespace Nitload.Mathematics.Numeric.Runtime { internal enum MatrixCachePolicy : short { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.Await.old b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.Await.old similarity index 99% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.Await.old rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.Await.old index f3dbcc9b..179110ee 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.Await.old +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.Await.old @@ -34,7 +34,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static partial class MatrixParallel { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.AwaitingQueue.old b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.AwaitingQueue.old similarity index 99% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.AwaitingQueue.old rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.AwaitingQueue.old index e82be8a3..4fc87b84 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.AwaitingQueue.old +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.AwaitingQueue.old @@ -33,7 +33,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static partial class MatrixParallel { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.Numa.cs b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.Numa.cs similarity index 90% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.Numa.cs rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.Numa.cs index 23b8d760..a0e27f23 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.Numa.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.Numa.cs @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.HighPerformance.Memory; +using Nitload.Common.Collections; +using Nitload.Common.HighPerformance.Memory; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static unsafe partial class MatrixParallel { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.Publish.cs b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.Publish.cs similarity index 92% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.Publish.cs rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.Publish.cs index 4d772fba..39dea363 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.Publish.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.Publish.cs @@ -5,10 +5,10 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.HighPerformance.Memory; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Runtime; +using Nitload.Common.Collections; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Runtime; using System; using System.Collections.Generic; using System.ComponentModel; @@ -19,7 +19,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static partial class MatrixParallel { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.cs b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.cs similarity index 98% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.cs rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.cs index eefd3fd9..1181293d 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallel.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallel.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.HighPerformance.ProcessorAbstraction; +using Nitload.Common.Collections; +using Nitload.Common.HighPerformance.ProcessorAbstraction; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public static unsafe partial class MatrixParallel { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelQueue.cs b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelQueue.cs similarity index 93% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelQueue.cs rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelQueue.cs index dac2045a..ab12be5b 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelQueue.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelQueue.cs @@ -6,8 +6,8 @@ // ----------------------------------------------------------------------------- using Microsoft.VisualBasic.FileIO; -using StgSharp.HighPerformance.Memory; -using StgSharp.Mathematics.Numeric.Runtime; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Mathematics.Numeric.Runtime; using System; using System.Collections.Concurrent; using System.Collections.Generic; @@ -18,7 +18,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { internal unsafe class MatrixParallelQueue : IDisposable { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelTask.cs b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelTask.cs similarity index 93% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelTask.cs rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelTask.cs index f8894427..36fe649d 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelTask.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelTask.cs @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; -using StgSharp.HighPerformance.ProcessorAbstraction; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Common.HighPerformance.ProcessorAbstraction; using System; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.Mathematics.Numeric.Runtime +namespace Nitload.Mathematics.Numeric.Runtime { [StructLayout(LayoutKind.Sequential)] internal struct MatrixParallelSource diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.Fma.cs.old b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.Fma.cs.old similarity index 97% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.Fma.cs.old rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.Fma.cs.old index 8b01a9e6..04c1ec7a 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.Fma.cs.old +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.Fma.cs.old @@ -25,9 +25,9 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.Internal; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Internal; +using Nitload.Common.Internal; +using Nitload.Mathematics; +using Nitload.Mathematics.Internal; using System; using System.Collections.Generic; using System.Linq; @@ -35,7 +35,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public partial class MatrixParallelThread { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.Model.cs.old b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.Model.cs.old similarity index 96% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.Model.cs.old rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.Model.cs.old index 57ed2ac8..8f7f3d33 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.Model.cs.old +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.Model.cs.old @@ -25,12 +25,12 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.Mathematics; -using StgSharp.Mathematics.Internal; +using Nitload.Mathematics; +using Nitload.Mathematics.Internal; using System; using System.Runtime.CompilerServices; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public partial class MatrixParallelThread { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.Sequential.cs b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.Sequential.cs similarity index 90% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.Sequential.cs rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.Sequential.cs index 6def297b..746438d6 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.Sequential.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.Sequential.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric.Runtime +namespace Nitload.Mathematics.Numeric.Runtime { internal class MatrixParallelThread { } } diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.cs b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.cs similarity index 96% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.cs rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.cs index 8e93ff3f..ca36d505 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelThread.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelThread.cs @@ -5,17 +5,17 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.ProcessorAbstraction; -using StgSharp.Internal; -using StgSharp.Mathematics.Numeric.Runtime; -using StgSharp.Threading; +using Nitload.Common.HighPerformance.ProcessorAbstraction; +using Nitload.Common.Internal; +using Nitload.Mathematics.Numeric.Runtime; +using Nitload.Threading; using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { internal enum MatrixThreadState : int { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelWrap.cs b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelWrap.cs similarity index 94% rename from src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelWrap.cs rename to src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelWrap.cs index 9bf21880..50275b9b 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/MatrixParallelWrap.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/MatrixParallelWrap.cs @@ -5,9 +5,9 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.HighPerformance.Memory; -using StgSharp.Mathematics.Numeric.Runtime; +using Nitload.Common.Collections; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Mathematics.Numeric.Runtime; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; @@ -18,7 +18,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { public enum SleepMode : int { diff --git a/src/StgSharp.Mathematics/Numeric/Runtime/QueueFactory.cs b/src/Nitload.Mathematics/Numeric/Runtime/QueueFactory.cs similarity index 92% rename from src/StgSharp.Mathematics/Numeric/Runtime/QueueFactory.cs rename to src/Nitload.Mathematics/Numeric/Runtime/QueueFactory.cs index 01a975ff..26ef9393 100644 --- a/src/StgSharp.Mathematics/Numeric/Runtime/QueueFactory.cs +++ b/src/Nitload.Mathematics/Numeric/Runtime/QueueFactory.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.Mathematics.Numeric +namespace Nitload.Mathematics.Numeric { internal interface IMatrixQueueFactory { diff --git a/src/Nitload.Model/Nitload.Model.csproj b/src/Nitload.Model/Nitload.Model.csproj new file mode 100644 index 00000000..e895a2ce --- /dev/null +++ b/src/Nitload.Model/Nitload.Model.csproj @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/StgSharp.Native/.clang-format b/src/Nitload.Native/.clang-format similarity index 100% rename from src/StgSharp.Native/.clang-format rename to src/Nitload.Native/.clang-format diff --git a/src/StgSharp.Native/.clangd b/src/Nitload.Native/.clangd similarity index 100% rename from src/StgSharp.Native/.clangd rename to src/Nitload.Native/.clangd diff --git a/src/StgSharp.Native/CMakeLists.txt b/src/Nitload.Native/CMakeLists.txt similarity index 92% rename from src/StgSharp.Native/CMakeLists.txt rename to src/Nitload.Native/CMakeLists.txt index 075d16b9..4d0d2015 100644 --- a/src/StgSharp.Native/CMakeLists.txt +++ b/src/Nitload.Native/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(StgSharp.Native LANGUAGES C) +project(Nitload.Native LANGUAGES C) include(${CMAKE_CURRENT_LIST_DIR}/ExternalLibs.cmake OPTIONAL) @@ -33,7 +33,7 @@ if(NOT STGSHARP_NATIVE_SOURCES) message(FATAL_ERROR "No source files found under sn-src/.") endif() -# StgSharp.Native now lives under /src/StgSharp.Native, so walk up two +# Nitload.Native now lives under /src/Nitload.Native, so walk up two # levels (project dir -> src -> solution root) to reach the solution root. get_filename_component(STGSHARP_NATIVE_SRC_ROOT ${CMAKE_CURRENT_LIST_DIR} DIRECTORY) get_filename_component(STGSHARP_SOLUTION_ROOT ${STGSHARP_NATIVE_SRC_ROOT} DIRECTORY) @@ -133,6 +133,6 @@ target_compile_definitions(${PROJECT_NAME} set(STGSHARP_NATIVE_EXTERNAL_TARGET ${PROJECT_NAME}) add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/lib) -message(STATUS "StgSharp.Native target OS: ${SN_RESOLVED_OS_NAME} (${SN_RESOLVED_OS_DEFINE})") -message(STATUS "StgSharp.Native target ISA: ${SN_RESOLVED_ARCH_NAME} (${SN_RESOLVED_ARCH_DEFINE})") -message(STATUS "StgSharp.Native output dir: ${STGSHARP_BUILD_OUTPUT_DIR}") +message(STATUS "Nitload.Native target OS: ${SN_RESOLVED_OS_NAME} (${SN_RESOLVED_OS_DEFINE})") +message(STATUS "Nitload.Native target ISA: ${SN_RESOLVED_ARCH_NAME} (${SN_RESOLVED_ARCH_DEFINE})") +message(STATUS "Nitload.Native output dir: ${STGSHARP_BUILD_OUTPUT_DIR}") diff --git a/src/StgSharp.Native/CMakePresets.json b/src/Nitload.Native/CMakePresets.json similarity index 100% rename from src/StgSharp.Native/CMakePresets.json rename to src/Nitload.Native/CMakePresets.json diff --git a/src/StgSharp.Native/ExternalLibs.cmake b/src/Nitload.Native/ExternalLibs.cmake similarity index 100% rename from src/StgSharp.Native/ExternalLibs.cmake rename to src/Nitload.Native/ExternalLibs.cmake diff --git a/src/StgSharp.Native/StgSharp.Native.vcxproj b/src/Nitload.Native/Nitload.Native.vcxproj similarity index 99% rename from src/StgSharp.Native/StgSharp.Native.vcxproj rename to src/Nitload.Native/Nitload.Native.vcxproj index 15dc05ea..46973cd9 100644 --- a/src/StgSharp.Native/StgSharp.Native.vcxproj +++ b/src/Nitload.Native/Nitload.Native.vcxproj @@ -36,9 +36,9 @@ 17.0 Win32Proj {20cbff26-6746-402e-992c-7b643e9423eb} - StgSharpC + NitloadC 10.0 - StgSharp.Native + Nitload.Native diff --git a/src/StgSharp.Native/StgSharp.Native.vcxproj.filters b/src/Nitload.Native/Nitload.Native.vcxproj.filters similarity index 100% rename from src/StgSharp.Native/StgSharp.Native.vcxproj.filters rename to src/Nitload.Native/Nitload.Native.vcxproj.filters diff --git a/src/StgSharp.Native/README.md b/src/Nitload.Native/README.md similarity index 100% rename from src/StgSharp.Native/README.md rename to src/Nitload.Native/README.md diff --git a/src/StgSharp.Native/SIMDID.x86.md b/src/Nitload.Native/SIMDID.x86.md similarity index 100% rename from src/StgSharp.Native/SIMDID.x86.md rename to src/Nitload.Native/SIMDID.x86.md diff --git a/src/StgSharp.Native/lib/CMakeLists.txt b/src/Nitload.Native/lib/CMakeLists.txt similarity index 100% rename from src/StgSharp.Native/lib/CMakeLists.txt rename to src/Nitload.Native/lib/CMakeLists.txt diff --git a/src/StgSharp.Native/lib/glfw/CMakeLists.txt b/src/Nitload.Native/lib/glfw/CMakeLists.txt similarity index 100% rename from src/StgSharp.Native/lib/glfw/CMakeLists.txt rename to src/Nitload.Native/lib/glfw/CMakeLists.txt diff --git a/src/StgSharp.Native/lib/glfw/glfw3.h b/src/Nitload.Native/lib/glfw/glfw3.h similarity index 100% rename from src/StgSharp.Native/lib/glfw/glfw3.h rename to src/Nitload.Native/lib/glfw/glfw3.h diff --git a/src/StgSharp.Native/lib/glfw/glfw3.lib b/src/Nitload.Native/lib/glfw/glfw3.lib similarity index 100% rename from src/StgSharp.Native/lib/glfw/glfw3.lib rename to src/Nitload.Native/lib/glfw/glfw3.lib diff --git a/src/StgSharp.Native/lib/glfw/glfw3_mt.lib b/src/Nitload.Native/lib/glfw/glfw3_mt.lib similarity index 100% rename from src/StgSharp.Native/lib/glfw/glfw3_mt.lib rename to src/Nitload.Native/lib/glfw/glfw3_mt.lib diff --git a/src/StgSharp.Native/lib/glfw/glfw3dll.lib b/src/Nitload.Native/lib/glfw/glfw3dll.lib similarity index 100% rename from src/StgSharp.Native/lib/glfw/glfw3dll.lib rename to src/Nitload.Native/lib/glfw/glfw3dll.lib diff --git a/src/StgSharp.Native/lib/glfw/glfw3native.h b/src/Nitload.Native/lib/glfw/glfw3native.h similarity index 100% rename from src/StgSharp.Native/lib/glfw/glfw3native.h rename to src/Nitload.Native/lib/glfw/glfw3native.h diff --git a/src/StgSharp.Native/lib/stbi/CMakeLists.txt b/src/Nitload.Native/lib/stbi/CMakeLists.txt similarity index 100% rename from src/StgSharp.Native/lib/stbi/CMakeLists.txt rename to src/Nitload.Native/lib/stbi/CMakeLists.txt diff --git a/src/StgSharp.Native/lib/stbi/stb_image.h b/src/Nitload.Native/lib/stbi/stb_image.h similarity index 100% rename from src/StgSharp.Native/lib/stbi/stb_image.h rename to src/Nitload.Native/lib/stbi/stb_image.h diff --git a/src/StgSharp.Native/naming.md b/src/Nitload.Native/naming.md similarity index 100% rename from src/StgSharp.Native/naming.md rename to src/Nitload.Native/naming.md diff --git a/src/StgSharp.Native/sn-head/StgSharpNative.h b/src/Nitload.Native/sn-head/StgSharpNative.h similarity index 90% rename from src/StgSharp.Native/sn-head/StgSharpNative.h rename to src/Nitload.Native/sn-head/StgSharpNative.h index 098cc47b..6ec269dd 100644 --- a/src/StgSharp.Native/sn-head/StgSharpNative.h +++ b/src/Nitload.Native/sn-head/StgSharpNative.h @@ -2,7 +2,7 @@ #define SNative #ifdef __cplusplus -#error "This header is not meant to be included in C++ code. StgSharp.Native is a C library and should be used with C linkage." +#error "This header is not meant to be included in C++ code. Nitload.Native is a C library and should be used with C linkage." #endif #include "sn_internal.h" diff --git a/src/StgSharp.Native/sn-head/glfw_function.h b/src/Nitload.Native/sn-head/glfw_function.h similarity index 100% rename from src/StgSharp.Native/sn-head/glfw_function.h rename to src/Nitload.Native/sn-head/glfw_function.h diff --git a/src/StgSharp.Native/sn-head/sn_internal.h b/src/Nitload.Native/sn-head/sn_internal.h similarity index 100% rename from src/StgSharp.Native/sn-head/sn_internal.h rename to src/Nitload.Native/sn-head/sn_internal.h diff --git a/src/StgSharp.Native/sn-head/sn_intrinsic.context.base.h b/src/Nitload.Native/sn-head/sn_intrinsic.context.base.h similarity index 100% rename from src/StgSharp.Native/sn-head/sn_intrinsic.context.base.h rename to src/Nitload.Native/sn-head/sn_intrinsic.context.base.h diff --git a/src/StgSharp.Native/sn-head/sn_intrinsic.context.x86.h b/src/Nitload.Native/sn-head/sn_intrinsic.context.x86.h similarity index 100% rename from src/StgSharp.Native/sn-head/sn_intrinsic.context.x86.h rename to src/Nitload.Native/sn-head/sn_intrinsic.context.x86.h diff --git a/src/StgSharp.Native/sn-head/sn_intrinsic.h b/src/Nitload.Native/sn-head/sn_intrinsic.h similarity index 100% rename from src/StgSharp.Native/sn-head/sn_intrinsic.h rename to src/Nitload.Native/sn-head/sn_intrinsic.h diff --git a/src/StgSharp.Native/sn-head/sn_intrinsic.matkernel.h b/src/Nitload.Native/sn-head/sn_intrinsic.matkernel.h similarity index 100% rename from src/StgSharp.Native/sn-head/sn_intrinsic.matkernel.h rename to src/Nitload.Native/sn-head/sn_intrinsic.matkernel.h diff --git a/src/StgSharp.Native/sn-head/sn_intrinsic.std.h b/src/Nitload.Native/sn-head/sn_intrinsic.std.h similarity index 100% rename from src/StgSharp.Native/sn-head/sn_intrinsic.std.h rename to src/Nitload.Native/sn-head/sn_intrinsic.std.h diff --git a/src/StgSharp.Native/sn-head/sn_target.h b/src/Nitload.Native/sn-head/sn_target.h similarity index 100% rename from src/StgSharp.Native/sn-head/sn_target.h rename to src/Nitload.Native/sn-head/sn_target.h diff --git a/src/StgSharp.Native/sn-src/dllmain.c b/src/Nitload.Native/sn-src/dllmain.c similarity index 100% rename from src/StgSharp.Native/sn-src/dllmain.c rename to src/Nitload.Native/sn-src/dllmain.c diff --git a/src/StgSharp.Native/sn-src/load_glfw.c b/src/Nitload.Native/sn-src/load_glfw.c similarity index 100% rename from src/StgSharp.Native/sn-src/load_glfw.c rename to src/Nitload.Native/sn-src/load_glfw.c diff --git a/src/StgSharp.Native/sn-src/load_intrinsic.x86.c b/src/Nitload.Native/sn-src/load_intrinsic.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/load_intrinsic.x86.c rename to src/Nitload.Native/sn-src/load_intrinsic.x86.c diff --git a/src/StgSharp.Native/sn-src/m.bufop.x86.c b/src/Nitload.Native/sn-src/m.bufop.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/m.bufop.x86.c rename to src/Nitload.Native/sn-src/m.bufop.x86.c diff --git a/src/StgSharp.Native/sn-src/m.solve.x86.c b/src/Nitload.Native/sn-src/m.solve.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/m.solve.x86.c rename to src/Nitload.Native/sn-src/m.solve.x86.c diff --git a/src/StgSharp.Native/sn-src/m.transpose.x86.c b/src/Nitload.Native/sn-src/m.transpose.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/m.transpose.x86.c rename to src/Nitload.Native/sn-src/m.transpose.x86.c diff --git a/src/StgSharp.Native/sn-src/mk.fma.pack.c b/src/Nitload.Native/sn-src/mk.fma.pack.c similarity index 100% rename from src/StgSharp.Native/sn-src/mk.fma.pack.c rename to src/Nitload.Native/sn-src/mk.fma.pack.c diff --git a/src/StgSharp.Native/sn-src/mk.fma.x86.c b/src/Nitload.Native/sn-src/mk.fma.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/mk.fma.x86.c rename to src/Nitload.Native/sn-src/mk.fma.x86.c diff --git a/src/StgSharp.Native/sn-src/mk.p_scan.x86.c b/src/Nitload.Native/sn-src/mk.p_scan.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/mk.p_scan.x86.c rename to src/Nitload.Native/sn-src/mk.p_scan.x86.c diff --git a/src/StgSharp.Native/sn-src/s.factorial.x86.c b/src/Nitload.Native/sn-src/s.factorial.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/s.factorial.x86.c rename to src/Nitload.Native/sn-src/s.factorial.x86.c diff --git a/src/StgSharp.Native/sn-src/s.hash.x86.c b/src/Nitload.Native/sn-src/s.hash.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/s.hash.x86.c rename to src/Nitload.Native/sn-src/s.hash.x86.c diff --git a/src/StgSharp.Native/sn-src/simdid.x86.c b/src/Nitload.Native/sn-src/simdid.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/simdid.x86.c rename to src/Nitload.Native/sn-src/simdid.x86.c diff --git a/src/StgSharp.Native/sn-src/simdid_compare.x86.c b/src/Nitload.Native/sn-src/simdid_compare.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/simdid_compare.x86.c rename to src/Nitload.Native/sn-src/simdid_compare.x86.c diff --git a/src/StgSharp.Native/sn-src/sk.fma.x86.c b/src/Nitload.Native/sn-src/sk.fma.x86.c similarity index 100% rename from src/StgSharp.Native/sn-src/sk.fma.x86.c rename to src/Nitload.Native/sn-src/sk.fma.x86.c diff --git a/src/StgSharp.Native/sn-src/thread.linux.c b/src/Nitload.Native/sn-src/thread.linux.c similarity index 100% rename from src/StgSharp.Native/sn-src/thread.linux.c rename to src/Nitload.Native/sn-src/thread.linux.c diff --git a/src/StgSharp.Native/sn-src/thread.windows.c b/src/Nitload.Native/sn-src/thread.windows.c similarity index 100% rename from src/StgSharp.Native/sn-src/thread.windows.c rename to src/Nitload.Native/sn-src/thread.windows.c diff --git a/src/StgSharp.Native/sn-src/vector.c b/src/Nitload.Native/sn-src/vector.c similarity index 100% rename from src/StgSharp.Native/sn-src/vector.c rename to src/Nitload.Native/sn-src/vector.c diff --git a/src/StgSharp.Native/sn-src/vector_dot.c b/src/Nitload.Native/sn-src/vector_dot.c similarity index 100% rename from src/StgSharp.Native/sn-src/vector_dot.c rename to src/Nitload.Native/sn-src/vector_dot.c diff --git a/src/StgSharp.Native/sn-template/sn_template.fma.x86.h b/src/Nitload.Native/sn-template/sn_template.fma.x86.h similarity index 100% rename from src/StgSharp.Native/sn-template/sn_template.fma.x86.h rename to src/Nitload.Native/sn-template/sn_template.fma.x86.h diff --git a/src/StgSharp.RegularAnalysis/.discard/RegexAnalyzer.IRGenerate.cs.old b/src/Nitload.RegularAnalysis/.discard/RegexAnalyzer.IRGenerate.cs.old similarity index 99% rename from src/StgSharp.RegularAnalysis/.discard/RegexAnalyzer.IRGenerate.cs.old rename to src/Nitload.RegularAnalysis/.discard/RegexAnalyzer.IRGenerate.cs.old index 2f070337..96bf019b 100644 --- a/src/StgSharp.RegularAnalysis/.discard/RegexAnalyzer.IRGenerate.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/RegexAnalyzer.IRGenerate.cs.old @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.ComponentModel.Design; @@ -18,7 +18,7 @@ using System.Text; using System.Threading.Tasks; using System.Xml; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { public partial class RegexAnalyzer { diff --git a/src/StgSharp.RegularAnalysis/.discard/RegexAnalyzer.IROptimize.cs.old b/src/Nitload.RegularAnalysis/.discard/RegexAnalyzer.IROptimize.cs.old similarity index 99% rename from src/StgSharp.RegularAnalysis/.discard/RegexAnalyzer.IROptimize.cs.old rename to src/Nitload.RegularAnalysis/.discard/RegexAnalyzer.IROptimize.cs.old index 0be31c78..6b520b16 100644 --- a/src/StgSharp.RegularAnalysis/.discard/RegexAnalyzer.IROptimize.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/RegexAnalyzer.IROptimize.cs.old @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; +using Nitload.Common.Collections; using System; using System.Collections.Generic; using System.Linq; @@ -15,7 +15,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { public partial class RegexAnalyzer { diff --git a/src/StgSharp.RegularAnalysis/.discard/RegexAnalyzer.PrefixEmit.cs.old b/src/Nitload.RegularAnalysis/.discard/RegexAnalyzer.PrefixEmit.cs.old similarity index 99% rename from src/StgSharp.RegularAnalysis/.discard/RegexAnalyzer.PrefixEmit.cs.old rename to src/Nitload.RegularAnalysis/.discard/RegexAnalyzer.PrefixEmit.cs.old index 1b86b3e4..78854f11 100644 --- a/src/StgSharp.RegularAnalysis/.discard/RegexAnalyzer.PrefixEmit.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/RegexAnalyzer.PrefixEmit.cs.old @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { public static partial class RegexAnalyzer { diff --git a/src/StgSharp.RegularAnalysis/.discard/RegexIR.Abstraction.cs.old b/src/Nitload.RegularAnalysis/.discard/RegexIR.Abstraction.cs.old similarity index 97% rename from src/StgSharp.RegularAnalysis/.discard/RegexIR.Abstraction.cs.old rename to src/Nitload.RegularAnalysis/.discard/RegexIR.Abstraction.cs.old index 8c241832..667f7b0b 100644 --- a/src/StgSharp.RegularAnalysis/.discard/RegexIR.Abstraction.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/RegexIR.Abstraction.cs.old @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal interface IRegexComplex { diff --git a/src/StgSharp.RegularAnalysis/.discard/RegexIR.Prefix.cs.old b/src/Nitload.RegularAnalysis/.discard/RegexIR.Prefix.cs.old similarity index 98% rename from src/StgSharp.RegularAnalysis/.discard/RegexIR.Prefix.cs.old rename to src/Nitload.RegularAnalysis/.discard/RegexIR.Prefix.cs.old index 698d95a3..e50ee401 100644 --- a/src/StgSharp.RegularAnalysis/.discard/RegexIR.Prefix.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/RegexIR.Prefix.cs.old @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal enum RegexIRPrefixMask { diff --git a/src/StgSharp.RegularAnalysis/.discard/RegexIR.cs.old b/src/Nitload.RegularAnalysis/.discard/RegexIR.cs.old similarity index 99% rename from src/StgSharp.RegularAnalysis/.discard/RegexIR.cs.old rename to src/Nitload.RegularAnalysis/.discard/RegexIR.cs.old index a026fe2e..9bfa7129 100644 --- a/src/StgSharp.RegularAnalysis/.discard/RegexIR.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/RegexIR.cs.old @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal enum RegexIRCommand { diff --git a/src/StgSharp.RegularAnalysis/.discard/RegexIRGenerator.cs.old b/src/Nitload.RegularAnalysis/.discard/RegexIRGenerator.cs.old similarity index 97% rename from src/StgSharp.RegularAnalysis/.discard/RegexIRGenerator.cs.old rename to src/Nitload.RegularAnalysis/.discard/RegexIRGenerator.cs.old index 8c8b8257..60738f70 100644 --- a/src/StgSharp.RegularAnalysis/.discard/RegexIRGenerator.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/RegexIRGenerator.cs.old @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.Linq; @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal sealed class RegexIRGenerator { diff --git a/src/StgSharp.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.MultiIR.cs.old b/src/Nitload.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.MultiIR.cs.old similarity index 99% rename from src/StgSharp.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.MultiIR.cs.old rename to src/Nitload.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.MultiIR.cs.old index 0d8af8f5..51c0fd22 100644 --- a/src/StgSharp.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.MultiIR.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.MultiIR.cs.old @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.Runtime.Serialization.Formatters; using System.Threading; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal partial class TextRegexSourceGen { diff --git a/src/StgSharp.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.Prefix.cs.old b/src/Nitload.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.Prefix.cs.old similarity index 98% rename from src/StgSharp.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.Prefix.cs.old rename to src/Nitload.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.Prefix.cs.old index cddc2e2f..ce437775 100644 --- a/src/StgSharp.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.Prefix.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.Prefix.cs.old @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal partial class TextRegexSourceGen { diff --git a/src/StgSharp.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.SingleIR.cs.old b/src/Nitload.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.SingleIR.cs.old similarity index 99% rename from src/StgSharp.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.SingleIR.cs.old rename to src/Nitload.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.SingleIR.cs.old index 2ab7a9ef..2088c4dc 100644 --- a/src/StgSharp.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.SingleIR.cs.old +++ b/src/Nitload.RegularAnalysis/.discard/TextRegexSourceGen.GenClass.SingleIR.cs.old @@ -6,12 +6,12 @@ // ----------------------------------------------------------------------------- using Microsoft.CodeAnalysis.CSharp.Syntax; -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System.Diagnostics.Metrics; using System.Globalization; using System.Text.RegularExpressions; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal partial class TextRegexSourceGen { diff --git a/src/StgSharp.RegularAnalysis/Abstraction/AbstractSyntaxTree.cs b/src/Nitload.RegularAnalysis/Abstraction/AbstractSyntaxTree.cs similarity index 98% rename from src/StgSharp.RegularAnalysis/Abstraction/AbstractSyntaxTree.cs rename to src/Nitload.RegularAnalysis/Abstraction/AbstractSyntaxTree.cs index bcb76472..a3abbeef 100644 --- a/src/StgSharp.RegularAnalysis/Abstraction/AbstractSyntaxTree.cs +++ b/src/Nitload.RegularAnalysis/Abstraction/AbstractSyntaxTree.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; +using Nitload.Common.Collections; using System; using System.Collections; @@ -16,7 +16,7 @@ using System.Text; using System.Xml.Linq; using System.Xml.Schema; -namespace StgSharp.RegularAnalysis.Abstraction +namespace Nitload.RegularAnalysis.Abstraction { public sealed class AbstractSyntaxTree where TNode : ISyntaxNode where TType : unmanaged diff --git a/src/StgSharp.RegularAnalysis/Abstraction/CompileDepthState.cs b/src/Nitload.RegularAnalysis/Abstraction/CompileDepthState.cs similarity index 96% rename from src/StgSharp.RegularAnalysis/Abstraction/CompileDepthState.cs rename to src/Nitload.RegularAnalysis/Abstraction/CompileDepthState.cs index 7c5bc1bf..d247b2a7 100644 --- a/src/StgSharp.RegularAnalysis/Abstraction/CompileDepthState.cs +++ b/src/Nitload.RegularAnalysis/Abstraction/CompileDepthState.cs @@ -12,7 +12,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Abstraction +namespace Nitload.RegularAnalysis.Abstraction { public interface ICompileDepthState { diff --git a/src/StgSharp.RegularAnalysis/Abstraction/CompileStack.cs b/src/Nitload.RegularAnalysis/Abstraction/CompileStack.cs similarity index 98% rename from src/StgSharp.RegularAnalysis/Abstraction/CompileStack.cs rename to src/Nitload.RegularAnalysis/Abstraction/CompileStack.cs index 2d535986..dbd5038e 100644 --- a/src/StgSharp.RegularAnalysis/Abstraction/CompileStack.cs +++ b/src/Nitload.RegularAnalysis/Abstraction/CompileStack.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; +using Nitload.Common.Collections; using System; using System.Collections.Generic; @@ -15,7 +15,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Abstraction +namespace Nitload.RegularAnalysis.Abstraction { public partial class CompileStack where TNode : ISyntaxNode where TLabel : unmanaged diff --git a/src/StgSharp.RegularAnalysis/Abstraction/ISyntaxNode.cs b/src/Nitload.RegularAnalysis/Abstraction/ISyntaxNode.cs similarity index 95% rename from src/StgSharp.RegularAnalysis/Abstraction/ISyntaxNode.cs rename to src/Nitload.RegularAnalysis/Abstraction/ISyntaxNode.cs index 9e560d25..fd902c60 100644 --- a/src/StgSharp.RegularAnalysis/Abstraction/ISyntaxNode.cs +++ b/src/Nitload.RegularAnalysis/Abstraction/ISyntaxNode.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; +using Nitload.Common.Collections; using System; using System.Collections; @@ -14,7 +14,7 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Text; -namespace StgSharp.RegularAnalysis.Abstraction +namespace Nitload.RegularAnalysis.Abstraction { public interface ITrinitySyntaxNode : ISyntaxNode where TNode : ISyntaxNode diff --git a/src/StgSharp.RegularAnalysis/Abstraction/ISyntaxPayload.cs b/src/Nitload.RegularAnalysis/Abstraction/ISyntaxPayload.cs similarity index 92% rename from src/StgSharp.RegularAnalysis/Abstraction/ISyntaxPayload.cs rename to src/Nitload.RegularAnalysis/Abstraction/ISyntaxPayload.cs index ef74c10d..f66c3d3e 100644 --- a/src/StgSharp.RegularAnalysis/Abstraction/ISyntaxPayload.cs +++ b/src/Nitload.RegularAnalysis/Abstraction/ISyntaxPayload.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Abstraction +namespace Nitload.RegularAnalysis.Abstraction { public interface ISyntaxPayload where TLabel : unmanaged { diff --git a/src/StgSharp.RegularAnalysis/Abstraction/ITokenParser.cs b/src/Nitload.RegularAnalysis/Abstraction/ITokenParser.cs similarity index 94% rename from src/StgSharp.RegularAnalysis/Abstraction/ITokenParser.cs rename to src/Nitload.RegularAnalysis/Abstraction/ITokenParser.cs index 4ea67e2b..a203b9c1 100644 --- a/src/StgSharp.RegularAnalysis/Abstraction/ITokenParser.cs +++ b/src/Nitload.RegularAnalysis/Abstraction/ITokenParser.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Abstraction +namespace Nitload.RegularAnalysis.Abstraction { public abstract class TokenParser : ITokenReader where TIn : unmanaged where TOut : unmanaged diff --git a/src/StgSharp.RegularAnalysis/Abstraction/ITokenReader.cs b/src/Nitload.RegularAnalysis/Abstraction/ITokenReader.cs similarity index 95% rename from src/StgSharp.RegularAnalysis/Abstraction/ITokenReader.cs rename to src/Nitload.RegularAnalysis/Abstraction/ITokenReader.cs index 37eb0ee4..fbf1cb12 100644 --- a/src/StgSharp.RegularAnalysis/Abstraction/ITokenReader.cs +++ b/src/Nitload.RegularAnalysis/Abstraction/ITokenReader.cs @@ -7,7 +7,7 @@ using System; -namespace StgSharp.RegularAnalysis.Abstraction +namespace Nitload.RegularAnalysis.Abstraction { public static class TokenReader { diff --git a/src/StgSharp.RegularAnalysis/Abstraction/SequenceEmitter.cs b/src/Nitload.RegularAnalysis/Abstraction/SequenceEmitter.cs similarity index 98% rename from src/StgSharp.RegularAnalysis/Abstraction/SequenceEmitter.cs rename to src/Nitload.RegularAnalysis/Abstraction/SequenceEmitter.cs index ffce674e..fd300036 100644 --- a/src/StgSharp.RegularAnalysis/Abstraction/SequenceEmitter.cs +++ b/src/Nitload.RegularAnalysis/Abstraction/SequenceEmitter.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Text; +using Nitload.RegularAnalysis.Text; using System; using System.Collections; using System.Collections.Generic; @@ -16,7 +16,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Abstraction +namespace Nitload.RegularAnalysis.Abstraction { public static class SequenceEmitterExtensions { diff --git a/src/StgSharp.RegularAnalysis/Abstraction/Token.cs b/src/Nitload.RegularAnalysis/Abstraction/Token.cs similarity index 98% rename from src/StgSharp.RegularAnalysis/Abstraction/Token.cs rename to src/Nitload.RegularAnalysis/Abstraction/Token.cs index 0c17f3f9..a96cd570 100644 --- a/src/StgSharp.RegularAnalysis/Abstraction/Token.cs +++ b/src/Nitload.RegularAnalysis/Abstraction/Token.cs @@ -13,7 +13,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Abstraction +namespace Nitload.RegularAnalysis.Abstraction { public readonly struct Token where TLabel : unmanaged { diff --git a/src/StgSharp.RegularAnalysis/COUNT_UNIT_GENERATION.md b/src/Nitload.RegularAnalysis/COUNT_UNIT_GENERATION.md similarity index 100% rename from src/StgSharp.RegularAnalysis/COUNT_UNIT_GENERATION.md rename to src/Nitload.RegularAnalysis/COUNT_UNIT_GENERATION.md diff --git a/src/StgSharp.RegularAnalysis/Global.cs b/src/Nitload.RegularAnalysis/Global.cs similarity index 100% rename from src/StgSharp.RegularAnalysis/Global.cs rename to src/Nitload.RegularAnalysis/Global.cs diff --git a/src/StgSharp.RegularAnalysis/GroupIndex.cs b/src/Nitload.RegularAnalysis/GroupIndex.cs similarity index 94% rename from src/StgSharp.RegularAnalysis/GroupIndex.cs rename to src/Nitload.RegularAnalysis/GroupIndex.cs index 9cb01b36..1a2b83a5 100644 --- a/src/StgSharp.RegularAnalysis/GroupIndex.cs +++ b/src/Nitload.RegularAnalysis/GroupIndex.cs @@ -7,7 +7,7 @@ using System.Runtime.InteropServices; -namespace StgSharp.RegularAnalysis +namespace Nitload.RegularAnalysis { public record struct GroupIndex { diff --git a/src/StgSharp.RegularAnalysis/IR_RETIRED.md b/src/Nitload.RegularAnalysis/IR_RETIRED.md similarity index 100% rename from src/StgSharp.RegularAnalysis/IR_RETIRED.md rename to src/Nitload.RegularAnalysis/IR_RETIRED.md diff --git a/src/StgSharp.RegularAnalysis/NGRA_pattern_file.md b/src/Nitload.RegularAnalysis/NGRA_pattern_file.md similarity index 99% rename from src/StgSharp.RegularAnalysis/NGRA_pattern_file.md rename to src/Nitload.RegularAnalysis/NGRA_pattern_file.md index 7f658f0d..433cf3fe 100644 --- a/src/StgSharp.RegularAnalysis/NGRA_pattern_file.md +++ b/src/Nitload.RegularAnalysis/NGRA_pattern_file.md @@ -3,7 +3,7 @@ ## 1. 定位 **NGRA**,即 **Nitload Generalized Regulation Analysis**,是一个广义序列分析器框架。 -其实现位于StgSharp.RegularAnalysis项目/命名空间下 +其实现位于Nitload.RegularAnalysis项目/命名空间下 NGRA 的目标不是只处理字符串正则,而是处理任意“可分类线性序列”,例如: diff --git a/src/StgSharp.RegularAnalysis/StgSharp.RegularAnalysis.csproj b/src/Nitload.RegularAnalysis/Nitload.RegularAnalysis.csproj similarity index 66% rename from src/StgSharp.RegularAnalysis/StgSharp.RegularAnalysis.csproj rename to src/Nitload.RegularAnalysis/Nitload.RegularAnalysis.csproj index a6fafa1d..c410a7ce 100644 --- a/src/StgSharp.RegularAnalysis/StgSharp.RegularAnalysis.csproj +++ b/src/Nitload.RegularAnalysis/Nitload.RegularAnalysis.csproj @@ -1,4 +1,4 @@ - + true @@ -8,7 +8,7 @@ - + @@ -19,8 +19,8 @@ - - + + diff --git a/src/StgSharp.RegularAnalysis/SourceGenerate.cs b/src/Nitload.RegularAnalysis/SourceGenerate.cs similarity index 92% rename from src/StgSharp.RegularAnalysis/SourceGenerate.cs rename to src/Nitload.RegularAnalysis/SourceGenerate.cs index ab5cb48e..ce161355 100644 --- a/src/StgSharp.RegularAnalysis/SourceGenerate.cs +++ b/src/Nitload.RegularAnalysis/SourceGenerate.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis +namespace Nitload.RegularAnalysis { internal class SourceGenerate { } } diff --git a/src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.ASTGenerate.cs b/src/Nitload.RegularAnalysis/Text/RegexAnalyzer.ASTGenerate.cs similarity index 98% rename from src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.ASTGenerate.cs rename to src/Nitload.RegularAnalysis/Text/RegexAnalyzer.ASTGenerate.cs index 565faf69..f83f8887 100644 --- a/src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.ASTGenerate.cs +++ b/src/Nitload.RegularAnalysis/Text/RegexAnalyzer.ASTGenerate.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections; using System.Collections.Generic; @@ -13,7 +13,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { public static partial class RegexAnalyzer { diff --git a/src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.ASTNodeOptimize.cs b/src/Nitload.RegularAnalysis/Text/RegexAnalyzer.ASTNodeOptimize.cs similarity index 87% rename from src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.ASTNodeOptimize.cs rename to src/Nitload.RegularAnalysis/Text/RegexAnalyzer.ASTNodeOptimize.cs index 04d77000..5b15e6d6 100644 --- a/src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.ASTNodeOptimize.cs +++ b/src/Nitload.RegularAnalysis/Text/RegexAnalyzer.ASTNodeOptimize.cs @@ -5,10 +5,10 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { public static partial class RegexAnalyzer { diff --git a/src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.ASTOptimize.cs b/src/Nitload.RegularAnalysis/Text/RegexAnalyzer.ASTOptimize.cs similarity index 99% rename from src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.ASTOptimize.cs rename to src/Nitload.RegularAnalysis/Text/RegexAnalyzer.ASTOptimize.cs index a7a74d4b..6ccd3861 100644 --- a/src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.ASTOptimize.cs +++ b/src/Nitload.RegularAnalysis/Text/RegexAnalyzer.ASTOptimize.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.IO; @@ -17,7 +17,7 @@ using System.Text; using System.Threading.Tasks; using System.Xml.Linq; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { public static partial class RegexAnalyzer { diff --git a/src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.cs b/src/Nitload.RegularAnalysis/Text/RegexAnalyzer.cs similarity index 96% rename from src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.cs rename to src/Nitload.RegularAnalysis/Text/RegexAnalyzer.cs index 4f95a58f..ab4e0e3a 100644 --- a/src/StgSharp.RegularAnalysis/Text/RegexAnalyzer.cs +++ b/src/Nitload.RegularAnalysis/Text/RegexAnalyzer.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.Linq; @@ -16,7 +16,7 @@ using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { public record TextRegexSource { diff --git a/src/StgSharp.RegularAnalysis/Text/RegexAnanlyzer.ASTNodeOptimize.cs b/src/Nitload.RegularAnalysis/Text/RegexAnanlyzer.ASTNodeOptimize.cs similarity index 100% rename from src/StgSharp.RegularAnalysis/Text/RegexAnanlyzer.ASTNodeOptimize.cs rename to src/Nitload.RegularAnalysis/Text/RegexAnanlyzer.ASTNodeOptimize.cs diff --git a/src/StgSharp.RegularAnalysis/Text/RegexAstNode.AdditionalPayload.cs b/src/Nitload.RegularAnalysis/Text/RegexAstNode.AdditionalPayload.cs similarity index 99% rename from src/StgSharp.RegularAnalysis/Text/RegexAstNode.AdditionalPayload.cs rename to src/Nitload.RegularAnalysis/Text/RegexAstNode.AdditionalPayload.cs index 32ed26b4..5a3d7902 100644 --- a/src/StgSharp.RegularAnalysis/Text/RegexAstNode.AdditionalPayload.cs +++ b/src/Nitload.RegularAnalysis/Text/RegexAstNode.AdditionalPayload.cs @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.Globalization; using System.Text; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { public abstract record RegexAstPayload( string Source, diff --git a/src/StgSharp.RegularAnalysis/Text/RegexAstNode.cs b/src/Nitload.RegularAnalysis/Text/RegexAstNode.cs similarity index 98% rename from src/StgSharp.RegularAnalysis/Text/RegexAstNode.cs rename to src/Nitload.RegularAnalysis/Text/RegexAstNode.cs index 5ef20904..a953d59b 100644 --- a/src/StgSharp.RegularAnalysis/Text/RegexAstNode.cs +++ b/src/Nitload.RegularAnalysis/Text/RegexAstNode.cs @@ -5,10 +5,10 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System.Runtime.CompilerServices; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal class RegexAstNode : ISyntaxNode { diff --git a/src/StgSharp.RegularAnalysis/Text/RegexElementLabel.cs b/src/Nitload.RegularAnalysis/Text/RegexElementLabel.cs similarity index 96% rename from src/StgSharp.RegularAnalysis/Text/RegexElementLabel.cs rename to src/Nitload.RegularAnalysis/Text/RegexElementLabel.cs index 7a7769a9..3b4d0b90 100644 --- a/src/StgSharp.RegularAnalysis/Text/RegexElementLabel.cs +++ b/src/Nitload.RegularAnalysis/Text/RegexElementLabel.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { [Flags] public enum RegexElementLabel diff --git a/src/StgSharp.RegularAnalysis/Text/RegexTokenParser.cs b/src/Nitload.RegularAnalysis/Text/RegexTokenParser.cs similarity index 96% rename from src/StgSharp.RegularAnalysis/Text/RegexTokenParser.cs rename to src/Nitload.RegularAnalysis/Text/RegexTokenParser.cs index c7c1181b..92095179 100644 --- a/src/StgSharp.RegularAnalysis/Text/RegexTokenParser.cs +++ b/src/Nitload.RegularAnalysis/Text/RegexTokenParser.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.Diagnostics.Tracing; @@ -14,7 +14,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal class RegexTokenParser : TokenParser { diff --git a/src/StgSharp.RegularAnalysis/Text/RegexTokenReader.cs b/src/Nitload.RegularAnalysis/Text/RegexTokenReader.cs similarity index 99% rename from src/StgSharp.RegularAnalysis/Text/RegexTokenReader.cs rename to src/Nitload.RegularAnalysis/Text/RegexTokenReader.cs index 5c1887f0..929e1e49 100644 --- a/src/StgSharp.RegularAnalysis/Text/RegexTokenReader.cs +++ b/src/Nitload.RegularAnalysis/Text/RegexTokenReader.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.Globalization; @@ -15,7 +15,7 @@ using System.Security.Permissions; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal class RegexTokenReader : ITokenReader { diff --git a/src/StgSharp.RegularAnalysis/Text/TextRegex.cs b/src/Nitload.RegularAnalysis/Text/TextRegex.cs similarity index 86% rename from src/StgSharp.RegularAnalysis/Text/TextRegex.cs rename to src/Nitload.RegularAnalysis/Text/TextRegex.cs index bd693402..39cb5783 100644 --- a/src/StgSharp.RegularAnalysis/Text/TextRegex.cs +++ b/src/Nitload.RegularAnalysis/Text/TextRegex.cs @@ -14,7 +14,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { public abstract class TextRegex { @@ -85,17 +85,17 @@ namespace StgSharp.RegularAnalysis.Text /// . /// /// - /// /// This method operates on a single , and therefore /// on - /// a single UTF-16 code unit rather than on a complete Unicode scalar /// value. - /// /// /// Characters in the Unicode Basic Multilingual Plane are - /// classified /// normally. A supplementary-plane character is represented by a /// - /// surrogate pair and is therefore presented to this method as two /// separate surrogate - /// code units. Neither surrogate is independently /// treated as a word character. This - /// follows the char-based behavior of /// the corresponding .NET Regex helper. /// - /// /// For ASCII input, the Unicode-category lookup is avoided. In ASCII, /// the - /// accepted set is exactly: /// [A-Za-z0-9_] . /// /// This method + /// /// This method operates on a single , and therefore /// on a + /// single UTF-16 code unit rather than on a complete Unicode scalar /// value. /// + /// /// Characters in the Unicode Basic Multilingual Plane are classified + /// /// normally. A supplementary-plane character is represented by a /// surrogate pair + /// and is therefore presented to this method as two /// separate surrogate code units. + /// Neither surrogate is independently /// treated as a word character. This follows the + /// char-based behavior of /// the corresponding .NET Regex helper. /// /// + /// For ASCII input, the Unicode-category lookup is avoided. In ASCII, /// the accepted + /// set is exactly: /// [A-Za-z0-9_] . /// /// This method /// implements ordinary .NET \w semantics. It does /// not implement the ASCII- - /// oriented behavior enabled by /// RegexOptions.ECMAScript . /// + /// oriented behavior enabled by /// RegexOptions.ECMAScript . /// /// [MethodImpl(MethodImplOptions.AggressiveInlining)] protected internal static bool IsCharWord( @@ -157,12 +157,12 @@ namespace StgSharp.RegularAnalysis.Text Length = length; } + public bool Success => _encodedStart != 0; + public int Length { get; } public int Start => unchecked((int)(_encodedStart - 1u)); - public bool Success => _encodedStart != 0; - } public readonly ref struct MatchResult @@ -194,9 +194,7 @@ namespace StgSharp.RegularAnalysis.Text { ArgumentNullException.ThrowIfNull(name); - if (_namedGroups is null || - !_namedGroups.TryGetValue(name, out int index)) - { + if (_namedGroups is null || !_namedGroups.TryGetValue(name, out int index)) { throw new KeyNotFoundException($"The match result does not define a group named '{name}'."); } @@ -212,8 +210,7 @@ namespace StgSharp.RegularAnalysis.Text { ArgumentNullException.ThrowIfNull(name); - if (_namedGroups is not null && - _namedGroups.TryGetValue(name, out int index)) + if (_namedGroups is not null && _namedGroups.TryGetValue(name, out int index)) { CaptureRange range = _groupRanges![index]; if (range.Success) diff --git a/src/StgSharp.RegularAnalysis/Text/TextRegexAttribute.cs b/src/Nitload.RegularAnalysis/Text/TextRegexAttribute.cs similarity index 93% rename from src/StgSharp.RegularAnalysis/Text/TextRegexAttribute.cs rename to src/Nitload.RegularAnalysis/Text/TextRegexAttribute.cs index 26b1fe9d..fb1d474f 100644 --- a/src/StgSharp.RegularAnalysis/Text/TextRegexAttribute.cs +++ b/src/Nitload.RegularAnalysis/Text/TextRegexAttribute.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public sealed class TextRegexAttribute( diff --git a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.Diagnostic.cs b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.Diagnostic.cs similarity index 99% rename from src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.Diagnostic.cs rename to src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.Diagnostic.cs index 1e6905fc..4a2fc18f 100644 --- a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.Diagnostic.cs +++ b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.Diagnostic.cs @@ -12,7 +12,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal partial class TextRegexSourceGen { diff --git a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.GenClass.cs b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.GenClass.cs similarity index 99% rename from src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.GenClass.cs rename to src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.GenClass.cs index 046cab63..7248cf27 100644 --- a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.GenClass.cs +++ b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.GenClass.cs @@ -6,7 +6,7 @@ // ----------------------------------------------------------------------------- using Microsoft.CodeAnalysis.CSharp; -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Buffers; using System.Collections.Generic; @@ -17,7 +17,7 @@ using System.Reflection.Metadata.Ecma335; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal partial class TextRegexSourceGen { diff --git a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.GenContext.cs b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.GenContext.cs similarity index 96% rename from src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.GenContext.cs rename to src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.GenContext.cs index cba128af..5c594c7c 100644 --- a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.GenContext.cs +++ b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.GenContext.cs @@ -6,8 +6,8 @@ // ----------------------------------------------------------------------------- using Microsoft.CodeAnalysis.Text; -using StgSharp.PipeLine; -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.Common.PipeLine; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.Diagnostics.Contracts; @@ -15,7 +15,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal partial class TextRegexSourceGen { diff --git a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.GenFile.cs b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.GenFile.cs similarity index 93% rename from src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.GenFile.cs rename to src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.GenFile.cs index ac6de4c9..1eb88613 100644 --- a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.GenFile.cs +++ b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.GenFile.cs @@ -6,7 +6,7 @@ // ----------------------------------------------------------------------------- using Microsoft.CodeAnalysis; -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.Globalization; @@ -15,13 +15,13 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal partial class TextRegexSourceGen { public const string ROS_char = "global::System.ReadOnlySpan"; - public const string Text_Regex = "global::StgSharp.RegularAnalysis.Text.TextRegex"; + public const string Text_Regex = "global::Nitload.RegularAnalysis.Text.TextRegex"; private static readonly SymbolDisplayFormat TypeSourceFormat = SymbolDisplayFormat.FullyQualifiedFormat @@ -49,8 +49,8 @@ namespace StgSharp.RegularAnalysis.Text _ = file_name_sb.Append(CultureInfo.InvariantCulture, $"{gen_source.NamespaceName}."); _ = ce.AppendLine($@"// ") .AppendLine($@"#nullable enable") - .AppendLine($@"using StgSharp.RegularAnalysis.Text;") - .AppendLine($@"using StgSharp.RegularAnalysis.Abstraction;") + .AppendLine($@"using Nitload.RegularAnalysis.Text;") + .AppendLine($@"using Nitload.RegularAnalysis.Abstraction;") .AppendLine($@"using System;") .AppendLine($@"using System.Text;") .AppendLine($@"using System.Threading.Tasks;") diff --git a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.Source.cs b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.Source.cs similarity index 98% rename from src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.Source.cs rename to src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.Source.cs index 6b5329d3..6d2b835c 100644 --- a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.Source.cs +++ b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.Source.cs @@ -7,14 +7,14 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal partial class TextRegexSourceGen { diff --git a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.cs b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.cs similarity index 99% rename from src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.cs rename to src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.cs index 24c4e820..bfe9cc54 100644 --- a/src/StgSharp.RegularAnalysis/Text/TextRegexSourceGen.cs +++ b/src/Nitload.RegularAnalysis/Text/TextRegexSourceGen.cs @@ -8,11 +8,11 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; -using StgSharp.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Abstraction; using System.Collections.Generic; using System.Threading; -namespace StgSharp.RegularAnalysis.Text +namespace Nitload.RegularAnalysis.Text { internal partial class TextRegexSourceGen : IIncrementalGenerator { diff --git a/src/StgSharp.RegularAnalysis/regex_node_transaction.md b/src/Nitload.RegularAnalysis/regex_node_transaction.md similarity index 100% rename from src/StgSharp.RegularAnalysis/regex_node_transaction.md rename to src/Nitload.RegularAnalysis/regex_node_transaction.md diff --git a/src/StgSharp.Script/Common/AbstractSyntaxTree.cs b/src/Nitload.Script/Common/AbstractSyntaxTree.cs similarity index 100% rename from src/StgSharp.Script/Common/AbstractSyntaxTree.cs rename to src/Nitload.Script/Common/AbstractSyntaxTree.cs diff --git a/src/StgSharp.Script/Common/CodeLineHelper.cs b/src/Nitload.Script/Common/CodeLineHelper.cs similarity index 100% rename from src/StgSharp.Script/Common/CodeLineHelper.cs rename to src/Nitload.Script/Common/CodeLineHelper.cs diff --git a/src/StgSharp.Script/Common/CompileDepthState.cs b/src/Nitload.Script/Common/CompileDepthState.cs similarity index 100% rename from src/StgSharp.Script/Common/CompileDepthState.cs rename to src/Nitload.Script/Common/CompileDepthState.cs diff --git a/src/StgSharp.Script/Common/CompileStack.cs b/src/Nitload.Script/Common/CompileStack.cs similarity index 100% rename from src/StgSharp.Script/Common/CompileStack.cs rename to src/Nitload.Script/Common/CompileStack.cs diff --git a/src/StgSharp.Script/Common/IScriptSourceProvider.cs b/src/Nitload.Script/Common/IScriptSourceProvider.cs similarity index 100% rename from src/StgSharp.Script/Common/IScriptSourceProvider.cs rename to src/Nitload.Script/Common/IScriptSourceProvider.cs diff --git a/src/StgSharp.Script/Common/IScriptTokenReader.cs b/src/Nitload.Script/Common/IScriptTokenReader.cs similarity index 100% rename from src/StgSharp.Script/Common/IScriptTokenReader.cs rename to src/Nitload.Script/Common/IScriptTokenReader.cs diff --git a/src/StgSharp.Script/Common/ISyntaxAnalyzer.cs b/src/Nitload.Script/Common/ISyntaxAnalyzer.cs similarity index 100% rename from src/StgSharp.Script/Common/ISyntaxAnalyzer.cs rename to src/Nitload.Script/Common/ISyntaxAnalyzer.cs diff --git a/src/StgSharp.Script/Common/ISyntaxNode.cs b/src/Nitload.Script/Common/ISyntaxNode.cs similarity index 100% rename from src/StgSharp.Script/Common/ISyntaxNode.cs rename to src/Nitload.Script/Common/ISyntaxNode.cs diff --git a/src/StgSharp.Script/Common/ITypeSource.cs b/src/Nitload.Script/Common/ITypeSource.cs similarity index 100% rename from src/StgSharp.Script/Common/ITypeSource.cs rename to src/Nitload.Script/Common/ITypeSource.cs diff --git a/src/StgSharp.Script/Common/ScriptSourceTransmitter.cs b/src/Nitload.Script/Common/ScriptSourceTransmitter.cs similarity index 100% rename from src/StgSharp.Script/Common/ScriptSourceTransmitter.cs rename to src/Nitload.Script/Common/ScriptSourceTransmitter.cs diff --git a/src/StgSharp.Script/Common/Token.cs b/src/Nitload.Script/Common/Token.cs similarity index 100% rename from src/StgSharp.Script/Common/Token.cs rename to src/Nitload.Script/Common/Token.cs diff --git a/src/StgSharp.Script/Express/Builtin/ExpBuiltinType.cs b/src/Nitload.Script/Express/Builtin/ExpBuiltinType.cs similarity index 100% rename from src/StgSharp.Script/Express/Builtin/ExpBuiltinType.cs rename to src/Nitload.Script/Express/Builtin/ExpBuiltinType.cs diff --git a/src/StgSharp.Script/Express/Builtin/ExpCollection.cs b/src/Nitload.Script/Express/Builtin/ExpCollection.cs similarity index 100% rename from src/StgSharp.Script/Express/Builtin/ExpCollection.cs rename to src/Nitload.Script/Express/Builtin/ExpCollection.cs diff --git a/src/StgSharp.Script/Express/Builtin/ExpCollectionInstance.cs b/src/Nitload.Script/Express/Builtin/ExpCollectionInstance.cs similarity index 100% rename from src/StgSharp.Script/Express/Builtin/ExpCollectionInstance.cs rename to src/Nitload.Script/Express/Builtin/ExpCollectionInstance.cs diff --git a/src/StgSharp.Script/Express/Builtin/ExpLogic.cs b/src/Nitload.Script/Express/Builtin/ExpLogic.cs similarity index 100% rename from src/StgSharp.Script/Express/Builtin/ExpLogic.cs rename to src/Nitload.Script/Express/Builtin/ExpLogic.cs diff --git a/src/StgSharp.Script/Express/CompileEnv/BuiltinType.cs b/src/Nitload.Script/Express/CompileEnv/BuiltinType.cs similarity index 100% rename from src/StgSharp.Script/Express/CompileEnv/BuiltinType.cs rename to src/Nitload.Script/Express/CompileEnv/BuiltinType.cs diff --git a/src/StgSharp.Script/Express/CompileEnv/DefaultSchema.cs b/src/Nitload.Script/Express/CompileEnv/DefaultSchema.cs similarity index 100% rename from src/StgSharp.Script/Express/CompileEnv/DefaultSchema.cs rename to src/Nitload.Script/Express/CompileEnv/DefaultSchema.cs diff --git a/src/StgSharp.Script/Express/CompileEnv/ExpCompile.cs b/src/Nitload.Script/Express/CompileEnv/ExpCompile.cs similarity index 100% rename from src/StgSharp.Script/Express/CompileEnv/ExpCompile.cs rename to src/Nitload.Script/Express/CompileEnv/ExpCompile.cs diff --git a/src/StgSharp.Script/Express/CompileEnv/ExpOperatorPrecedence.cs b/src/Nitload.Script/Express/CompileEnv/ExpOperatorPrecedence.cs similarity index 100% rename from src/StgSharp.Script/Express/CompileEnv/ExpOperatorPrecedence.cs rename to src/Nitload.Script/Express/CompileEnv/ExpOperatorPrecedence.cs diff --git a/src/StgSharp.Script/Express/CompileEnv/KeyWord.cs b/src/Nitload.Script/Express/CompileEnv/KeyWord.cs similarity index 100% rename from src/StgSharp.Script/Express/CompileEnv/KeyWord.cs rename to src/Nitload.Script/Express/CompileEnv/KeyWord.cs diff --git a/src/StgSharp.Script/Express/Element/ExpConst.cs b/src/Nitload.Script/Express/Element/ExpConst.cs similarity index 100% rename from src/StgSharp.Script/Express/Element/ExpConst.cs rename to src/Nitload.Script/Express/Element/ExpConst.cs diff --git a/src/StgSharp.Script/Express/Element/ExpEntity.cs b/src/Nitload.Script/Express/Element/ExpEntity.cs similarity index 100% rename from src/StgSharp.Script/Express/Element/ExpEntity.cs rename to src/Nitload.Script/Express/Element/ExpEntity.cs diff --git a/src/StgSharp.Script/Express/Element/ExpFunction.cs b/src/Nitload.Script/Express/Element/ExpFunction.cs similarity index 100% rename from src/StgSharp.Script/Express/Element/ExpFunction.cs rename to src/Nitload.Script/Express/Element/ExpFunction.cs diff --git a/src/StgSharp.Script/Express/Element/ExpProcedureSource.cs b/src/Nitload.Script/Express/Element/ExpProcedureSource.cs similarity index 100% rename from src/StgSharp.Script/Express/Element/ExpProcedureSource.cs rename to src/Nitload.Script/Express/Element/ExpProcedureSource.cs diff --git a/src/StgSharp.Script/Express/Element/ExpRule.cs b/src/Nitload.Script/Express/Element/ExpRule.cs similarity index 100% rename from src/StgSharp.Script/Express/Element/ExpRule.cs rename to src/Nitload.Script/Express/Element/ExpRule.cs diff --git a/src/StgSharp.Script/Express/Element/ExpType.cs b/src/Nitload.Script/Express/Element/ExpType.cs similarity index 100% rename from src/StgSharp.Script/Express/Element/ExpType.cs rename to src/Nitload.Script/Express/Element/ExpType.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpBinaryOperatorNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpBinaryOperatorNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpBinaryOperatorNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpBinaryOperatorNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpCollectionIndexNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpCollectionIndexNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpCollectionIndexNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpCollectionIndexNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpElementInitializingNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpElementInitializingNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpElementInitializingNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpElementInitializingNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpElementMemberNameNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpElementMemberNameNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpElementMemberNameNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpElementMemberNameNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpEnumLiteralNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpEnumLiteralNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpEnumLiteralNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpEnumLiteralNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpFunctionCallingNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpFunctionCallingNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpFunctionCallingNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpFunctionCallingNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpIfNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpIfNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpIfNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpIfNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpInstanceMemberNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpInstanceMemberNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpInstanceMemberNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpInstanceMemberNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpInstanceReferenceNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpInstanceReferenceNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpInstanceReferenceNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpInstanceReferenceNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpLiteralNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpLiteralNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpLiteralNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpLiteralNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpMetaRefNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpMetaRefNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpMetaRefNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpMetaRefNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpProcedureCallingNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpProcedureCallingNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpProcedureCallingNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpProcedureCallingNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpProcedureControlNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpProcedureControlNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpProcedureControlNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpProcedureControlNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpRangeAndIndexNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpRangeAndIndexNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpRangeAndIndexNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpRangeAndIndexNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpRepeatNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpRepeatNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpRepeatNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpRepeatNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpSwitchNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpSwitchNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpSwitchNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpSwitchNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpTupleNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpTupleNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpTupleNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpTupleNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/ExpUnaryOperatorNode.cs b/src/Nitload.Script/Express/ExpAstNode/ExpUnaryOperatorNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/ExpUnaryOperatorNode.cs rename to src/Nitload.Script/Express/ExpAstNode/ExpUnaryOperatorNode.cs diff --git a/src/StgSharp.Script/Express/ExpAstNode/_ExpNode.cs b/src/Nitload.Script/Express/ExpAstNode/_ExpNode.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpAstNode/_ExpNode.cs rename to src/Nitload.Script/Express/ExpAstNode/_ExpNode.cs diff --git a/src/StgSharp.Script/Express/ExpElementInstance.cs b/src/Nitload.Script/Express/ExpElementInstance.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpElementInstance.cs rename to src/Nitload.Script/Express/ExpElementInstance.cs diff --git a/src/StgSharp.Script/Express/ExpElmentSource.cs b/src/Nitload.Script/Express/ExpElmentSource.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpElmentSource.cs rename to src/Nitload.Script/Express/ExpElmentSource.cs diff --git a/src/StgSharp.Script/Express/ExpExceptions.cs b/src/Nitload.Script/Express/ExpExceptions.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpExceptions.cs rename to src/Nitload.Script/Express/ExpExceptions.cs diff --git a/src/StgSharp.Script/Express/ExpNodeFlag.cs b/src/Nitload.Script/Express/ExpNodeFlag.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpNodeFlag.cs rename to src/Nitload.Script/Express/ExpNodeFlag.cs diff --git a/src/StgSharp.Script/Express/ExpNodeTempEnumerator.cs b/src/Nitload.Script/Express/ExpNodeTempEnumerator.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpNodeTempEnumerator.cs rename to src/Nitload.Script/Express/ExpNodeTempEnumerator.cs diff --git a/src/StgSharp.Script/Express/ExpPostProcessor.cs b/src/Nitload.Script/Express/ExpPostProcessor.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpPostProcessor.cs rename to src/Nitload.Script/Express/ExpPostProcessor.cs diff --git a/src/StgSharp.Script/Express/ExpSchemaBase.cs b/src/Nitload.Script/Express/ExpSchemaBase.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSchemaBase.cs rename to src/Nitload.Script/Express/ExpSchemaBase.cs diff --git a/src/StgSharp.Script/Express/ExpSchemaSource.Compile.cs b/src/Nitload.Script/Express/ExpSchemaSource.Compile.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSchemaSource.Compile.cs rename to src/Nitload.Script/Express/ExpSchemaSource.Compile.cs diff --git a/src/StgSharp.Script/Express/ExpSchemaSource.cs b/src/Nitload.Script/Express/ExpSchemaSource.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSchemaSource.cs rename to src/Nitload.Script/Express/ExpSchemaSource.cs diff --git a/src/StgSharp.Script/Express/ExpSource.cs b/src/Nitload.Script/Express/ExpSource.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSource.cs rename to src/Nitload.Script/Express/ExpSource.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.CaseOf.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.CaseOf.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.CaseOf.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.CaseOf.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.Common.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.Common.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.Common.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.Common.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.DepthEnter.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.DepthEnter.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.DepthEnter.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.DepthEnter.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.ErrorProcess.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.ErrorProcess.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.ErrorProcess.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.ErrorProcess.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.If.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.If.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.If.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.If.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.OperatorParser.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.OperatorParser.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.OperatorParser.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.OperatorParser.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.RangeAndIndex.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.RangeAndIndex.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.RangeAndIndex.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.RangeAndIndex.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.RepeatLoop.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.RepeatLoop.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.RepeatLoop.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.RepeatLoop.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.ReverseAnalysing.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.ReverseAnalysing.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.ReverseAnalysing.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.ReverseAnalysing.cs diff --git a/src/StgSharp.Script/Express/ExpSyntaxAnalyzer.cs b/src/Nitload.Script/Express/ExpSyntaxAnalyzer.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpSyntaxAnalyzer.cs rename to src/Nitload.Script/Express/ExpSyntaxAnalyzer.cs diff --git a/src/StgSharp.Script/Express/ExpTokenReader.cs b/src/Nitload.Script/Express/ExpTokenReader.cs similarity index 100% rename from src/StgSharp.Script/Express/ExpTokenReader.cs rename to src/Nitload.Script/Express/ExpTokenReader.cs diff --git a/src/StgSharp.Script/Express/GeneratedExpSchema.cs b/src/Nitload.Script/Express/GeneratedExpSchema.cs similarity index 100% rename from src/StgSharp.Script/Express/GeneratedExpSchema.cs rename to src/Nitload.Script/Express/GeneratedExpSchema.cs diff --git a/src/StgSharp.Script/Express/IExpConvertableFrom.cs b/src/Nitload.Script/Express/IExpConvertableFrom.cs similarity index 100% rename from src/StgSharp.Script/Express/IExpConvertableFrom.cs rename to src/Nitload.Script/Express/IExpConvertableFrom.cs diff --git a/src/StgSharp.Script/StgSharp.Script.csproj b/src/Nitload.Script/Nitload.Script.csproj similarity index 78% rename from src/StgSharp.Script/StgSharp.Script.csproj rename to src/Nitload.Script/Nitload.Script.csproj index 677dfff7..e45e2445 100644 --- a/src/StgSharp.Script/StgSharp.Script.csproj +++ b/src/Nitload.Script/Nitload.Script.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/StgSharp.TerminalDialogue/DialogueView.cs b/src/Nitload.TerminalDialogue/DialogueView.cs similarity index 100% rename from src/StgSharp.TerminalDialogue/DialogueView.cs rename to src/Nitload.TerminalDialogue/DialogueView.cs diff --git a/src/StgSharp.TerminalDialogue/StgSharp.TerminalDialogue.csproj b/src/Nitload.TerminalDialogue/Nitload.TerminalDialogue.csproj similarity index 100% rename from src/StgSharp.TerminalDialogue/StgSharp.TerminalDialogue.csproj rename to src/Nitload.TerminalDialogue/Nitload.TerminalDialogue.csproj diff --git a/src/StgSharp.TerminalDialogue/PostOpration.cs b/src/Nitload.TerminalDialogue/PostOpration.cs similarity index 100% rename from src/StgSharp.TerminalDialogue/PostOpration.cs rename to src/Nitload.TerminalDialogue/PostOpration.cs diff --git a/src/StgSharp.TerminalDialogue/Program.cs b/src/Nitload.TerminalDialogue/Program.cs similarity index 100% rename from src/StgSharp.TerminalDialogue/Program.cs rename to src/Nitload.TerminalDialogue/Program.cs diff --git a/src/StgSharp.Tools/c.txt b/src/Nitload.Tools/c.txt similarity index 100% rename from src/StgSharp.Tools/c.txt rename to src/Nitload.Tools/c.txt diff --git a/src/StgSharp.Tools/cs.txt b/src/Nitload.Tools/cs.txt similarity index 100% rename from src/StgSharp.Tools/cs.txt rename to src/Nitload.Tools/cs.txt diff --git a/src/StgSharp.Tools/gl_diff.cs b/src/Nitload.Tools/gl_diff.cs similarity index 100% rename from src/StgSharp.Tools/gl_diff.cs rename to src/Nitload.Tools/gl_diff.cs diff --git a/src/StgSharp.UserInterface/.$basic-arch.drawio.bkp b/src/Nitload.UserInterface/.$basic-arch.drawio.bkp similarity index 100% rename from src/StgSharp.UserInterface/.$basic-arch.drawio.bkp rename to src/Nitload.UserInterface/.$basic-arch.drawio.bkp diff --git a/src/StgSharp.UserInterface/Attribute/PanelStateChangeBindingAttribute.cs b/src/Nitload.UserInterface/Attribute/PanelStateChangeBindingAttribute.cs similarity index 97% rename from src/StgSharp.UserInterface/Attribute/PanelStateChangeBindingAttribute.cs rename to src/Nitload.UserInterface/Attribute/PanelStateChangeBindingAttribute.cs index 3de6db3e..67df7bf4 100644 --- a/src/StgSharp.UserInterface/Attribute/PanelStateChangeBindingAttribute.cs +++ b/src/Nitload.UserInterface/Attribute/PanelStateChangeBindingAttribute.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { [AttributeUsage(AttributeTargets.Method, Inherited = true)] public sealed class PanelStateChangeBindingAttribute( diff --git a/src/StgSharp.UserInterface/Attribute/PanelStateNodeAttribute.cs b/src/Nitload.UserInterface/Attribute/PanelStateNodeAttribute.cs similarity index 92% rename from src/StgSharp.UserInterface/Attribute/PanelStateNodeAttribute.cs rename to src/Nitload.UserInterface/Attribute/PanelStateNodeAttribute.cs index 64b58ab6..ef7fc80c 100644 --- a/src/StgSharp.UserInterface/Attribute/PanelStateNodeAttribute.cs +++ b/src/Nitload.UserInterface/Attribute/PanelStateNodeAttribute.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class PanelStateNodeAttribute : Attribute { } diff --git a/src/StgSharp.UserInterface/Framework/Service.Host.cs b/src/Nitload.UserInterface/Framework/Service.Host.cs similarity index 97% rename from src/StgSharp.UserInterface/Framework/Service.Host.cs rename to src/Nitload.UserInterface/Framework/Service.Host.cs index bee80a3b..b7232f8d 100644 --- a/src/StgSharp.UserInterface/Framework/Service.Host.cs +++ b/src/Nitload.UserInterface/Framework/Service.Host.cs @@ -9,7 +9,7 @@ using System; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract class ServiceHost { diff --git a/src/StgSharp.UserInterface/Framework/Service.LoadAccomplishmentEvent.cs b/src/Nitload.UserInterface/Framework/Service.LoadAccomplishmentEvent.cs similarity index 94% rename from src/StgSharp.UserInterface/Framework/Service.LoadAccomplishmentEvent.cs rename to src/Nitload.UserInterface/Framework/Service.LoadAccomplishmentEvent.cs index 5671bcdd..ac614560 100644 --- a/src/StgSharp.UserInterface/Framework/Service.LoadAccomplishmentEvent.cs +++ b/src/Nitload.UserInterface/Framework/Service.LoadAccomplishmentEvent.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public sealed record ServiceLoadAccomplishmentEvent { diff --git a/src/StgSharp.UserInterface/Framework/Service.LoadCommand.cs b/src/Nitload.UserInterface/Framework/Service.LoadCommand.cs similarity index 96% rename from src/StgSharp.UserInterface/Framework/Service.LoadCommand.cs rename to src/Nitload.UserInterface/Framework/Service.LoadCommand.cs index a21f6957..d8161040 100644 --- a/src/StgSharp.UserInterface/Framework/Service.LoadCommand.cs +++ b/src/Nitload.UserInterface/Framework/Service.LoadCommand.cs @@ -8,7 +8,7 @@ using System; using System.Collections.Generic; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract record ServiceLoadCommand { diff --git a/src/StgSharp.UserInterface/Framework/State.AppState.cs b/src/Nitload.UserInterface/Framework/State.AppState.cs similarity index 96% rename from src/StgSharp.UserInterface/Framework/State.AppState.cs rename to src/Nitload.UserInterface/Framework/State.AppState.cs index 996b9279..a2e7c9d8 100644 --- a/src/StgSharp.UserInterface/Framework/State.AppState.cs +++ b/src/Nitload.UserInterface/Framework/State.AppState.cs @@ -8,7 +8,7 @@ using System; using System.Collections.Generic; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract class AppState { diff --git a/src/StgSharp.UserInterface/Framework/State.FrontCommandHost.cs b/src/Nitload.UserInterface/Framework/State.FrontCommandHost.cs similarity index 97% rename from src/StgSharp.UserInterface/Framework/State.FrontCommandHost.cs rename to src/Nitload.UserInterface/Framework/State.FrontCommandHost.cs index d6f90cb9..639af999 100644 --- a/src/StgSharp.UserInterface/Framework/State.FrontCommandHost.cs +++ b/src/Nitload.UserInterface/Framework/State.FrontCommandHost.cs @@ -9,7 +9,7 @@ using System; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract class FrontCommandHost { diff --git a/src/StgSharp.UserInterface/Framework/State.Host.cs b/src/Nitload.UserInterface/Framework/State.Host.cs similarity index 98% rename from src/StgSharp.UserInterface/Framework/State.Host.cs rename to src/Nitload.UserInterface/Framework/State.Host.cs index 7ae671de..6aaeba5c 100644 --- a/src/StgSharp.UserInterface/Framework/State.Host.cs +++ b/src/Nitload.UserInterface/Framework/State.Host.cs @@ -9,7 +9,7 @@ using System; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract class StateHost { diff --git a/src/StgSharp.UserInterface/Framework/State.PanelState.cs b/src/Nitload.UserInterface/Framework/State.PanelState.cs similarity index 95% rename from src/StgSharp.UserInterface/Framework/State.PanelState.cs rename to src/Nitload.UserInterface/Framework/State.PanelState.cs index 19e7a170..aa8140ed 100644 --- a/src/StgSharp.UserInterface/Framework/State.PanelState.cs +++ b/src/Nitload.UserInterface/Framework/State.PanelState.cs @@ -8,7 +8,7 @@ using System; using System.Collections.Generic; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract class PanelState { diff --git a/src/StgSharp.UserInterface/Framework/State.ServiceManager.cs b/src/Nitload.UserInterface/Framework/State.ServiceManager.cs similarity index 97% rename from src/StgSharp.UserInterface/Framework/State.ServiceManager.cs rename to src/Nitload.UserInterface/Framework/State.ServiceManager.cs index 05c84807..a3773d32 100644 --- a/src/StgSharp.UserInterface/Framework/State.ServiceManager.cs +++ b/src/Nitload.UserInterface/Framework/State.ServiceManager.cs @@ -9,7 +9,7 @@ using System; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract class ServiceManager { diff --git a/src/StgSharp.UserInterface/Framework/View.CommandResult.cs b/src/Nitload.UserInterface/Framework/View.CommandResult.cs similarity index 94% rename from src/StgSharp.UserInterface/Framework/View.CommandResult.cs rename to src/Nitload.UserInterface/Framework/View.CommandResult.cs index a9c91bcc..28519c59 100644 --- a/src/StgSharp.UserInterface/Framework/View.CommandResult.cs +++ b/src/Nitload.UserInterface/Framework/View.CommandResult.cs @@ -7,7 +7,7 @@ using System; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public sealed record CommandResult { diff --git a/src/StgSharp.UserInterface/Framework/View.ExecuteCommand.cs b/src/Nitload.UserInterface/Framework/View.ExecuteCommand.cs similarity index 96% rename from src/StgSharp.UserInterface/Framework/View.ExecuteCommand.cs rename to src/Nitload.UserInterface/Framework/View.ExecuteCommand.cs index 0ebddfaa..06dab465 100644 --- a/src/StgSharp.UserInterface/Framework/View.ExecuteCommand.cs +++ b/src/Nitload.UserInterface/Framework/View.ExecuteCommand.cs @@ -8,7 +8,7 @@ using System; using System.Collections.Generic; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract record ExecuteCommand { diff --git a/src/StgSharp.UserInterface/Framework/View.Host.cs b/src/Nitload.UserInterface/Framework/View.Host.cs similarity index 98% rename from src/StgSharp.UserInterface/Framework/View.Host.cs rename to src/Nitload.UserInterface/Framework/View.Host.cs index 2121a03e..8777260a 100644 --- a/src/StgSharp.UserInterface/Framework/View.Host.cs +++ b/src/Nitload.UserInterface/Framework/View.Host.cs @@ -9,7 +9,7 @@ using System; using System.Threading; using System.Threading.Tasks; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract class ViewHost { diff --git a/src/StgSharp.UserInterface/Framework/View.StateChangeCommand.cs b/src/Nitload.UserInterface/Framework/View.StateChangeCommand.cs similarity index 96% rename from src/StgSharp.UserInterface/Framework/View.StateChangeCommand.cs rename to src/Nitload.UserInterface/Framework/View.StateChangeCommand.cs index a2702e58..0ef64aaa 100644 --- a/src/StgSharp.UserInterface/Framework/View.StateChangeCommand.cs +++ b/src/Nitload.UserInterface/Framework/View.StateChangeCommand.cs @@ -7,7 +7,7 @@ using System; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public abstract record StateChangeCommand { diff --git a/src/StgSharp.UserInterface/Framework/View.StateValueCommand.cs b/src/Nitload.UserInterface/Framework/View.StateValueCommand.cs similarity index 94% rename from src/StgSharp.UserInterface/Framework/View.StateValueCommand.cs rename to src/Nitload.UserInterface/Framework/View.StateValueCommand.cs index 0cf184f1..4f822116 100644 --- a/src/StgSharp.UserInterface/Framework/View.StateValueCommand.cs +++ b/src/Nitload.UserInterface/Framework/View.StateValueCommand.cs @@ -7,7 +7,7 @@ using System; -namespace StgSharp.UserInterface +namespace Nitload.UserInterface { public sealed record StateValueCommand : StateChangeCommand { diff --git a/src/StgSharp.UserInterface/Generator/IncrementalGeneratorFramework.md b/src/Nitload.UserInterface/Generator/IncrementalGeneratorFramework.md similarity index 100% rename from src/StgSharp.UserInterface/Generator/IncrementalGeneratorFramework.md rename to src/Nitload.UserInterface/Generator/IncrementalGeneratorFramework.md diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Analysis.cs b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Analysis.cs similarity index 98% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Analysis.cs rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Analysis.cs index 54ba5fd0..ddcc6cd6 100644 --- a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Analysis.cs +++ b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Analysis.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; -namespace StgSharp.UserInterface.Generator +namespace Nitload.UserInterface.Generator { internal static class PanelStateIncrementalGeneratorAnalysis { diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Architecture.md b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Architecture.md similarity index 100% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Architecture.md rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Architecture.md diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Diagnostics.cs b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Diagnostics.cs similarity index 76% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Diagnostics.cs rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Diagnostics.cs index 4067af9f..0caf5f79 100644 --- a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Diagnostics.cs +++ b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Diagnostics.cs @@ -5,12 +5,12 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -namespace StgSharp.UserInterface.Generator +namespace Nitload.UserInterface.Generator { internal static class PanelStateIncrementalGeneratorDiagnostics { - public const string Category = "StgSharp.UserInterface.Generator"; + public const string Category = "Nitload.UserInterface.Generator"; } } \ No newline at end of file diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Emitter.cs b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Emitter.cs similarity index 96% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Emitter.cs rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Emitter.cs index 7fd7c526..f59c2cde 100644 --- a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Emitter.cs +++ b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Emitter.cs @@ -10,7 +10,7 @@ using Microsoft.CodeAnalysis.Text; using System.Linq; using System.Text; -namespace StgSharp.UserInterface.Generator +namespace Nitload.UserInterface.Generator { internal static class PanelStateIncrementalGeneratorEmitter { @@ -28,7 +28,7 @@ namespace StgSharp.UserInterface.Generator _ = builder.AppendLine("// "); _ = builder.AppendLine("#nullable enable"); _ = builder.AppendLine(); - _ = builder.AppendLine("namespace StgSharp.UserInterface.Generator"); + _ = builder.AppendLine("namespace Nitload.UserInterface.Generator"); _ = builder.AppendLine("{"); _ = builder.AppendLine(" internal static class PanelStateIncrementalGeneratorManifest"); _ = builder.AppendLine(" {"); diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Models.cs b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Models.cs similarity index 91% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Models.cs rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Models.cs index 8e54f5a0..58cd7865 100644 --- a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Models.cs +++ b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Models.cs @@ -8,14 +8,14 @@ using Microsoft.CodeAnalysis; using System.Collections.Immutable; -namespace StgSharp.UserInterface.Generator +namespace Nitload.UserInterface.Generator { internal static class PanelStateIncrementalGeneratorKnownAttributes { - public const string PanelStateNodeAttribute = "StgSharp.UserInterface.PanelStateNodeAttribute"; + public const string PanelStateNodeAttribute = "Nitload.UserInterface.PanelStateNodeAttribute"; - public const string StateChangeBindingAttribute = "StgSharp.UserInterface.StateChangeBindingAttribute"; + public const string StateChangeBindingAttribute = "Nitload.UserInterface.StateChangeBindingAttribute"; public static bool IsKnown( string? metadataName diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Pipeline.cs b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Pipeline.cs similarity index 99% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Pipeline.cs rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Pipeline.cs index 43b5243b..a4045bd0 100644 --- a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.Pipeline.cs +++ b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.Pipeline.cs @@ -10,7 +10,7 @@ using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Collections.Immutable; using System.Threading; -namespace StgSharp.UserInterface.Generator +namespace Nitload.UserInterface.Generator { internal static class PanelStateIncrementalGeneratorPipeline { diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.StateChangeBindings.cs b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.StateChangeBindings.cs similarity index 96% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.StateChangeBindings.cs rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.StateChangeBindings.cs index 9601c776..130a94df 100644 --- a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.StateChangeBindings.cs +++ b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.StateChangeBindings.cs @@ -8,7 +8,7 @@ using System.Collections.Immutable; using System.Linq; -namespace StgSharp.UserInterface.Generator +namespace Nitload.UserInterface.Generator { internal static class PanelStateIncrementalGeneratorStateChangeBindings { diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.StateCommandHandlers.cs b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.StateCommandHandlers.cs similarity index 98% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.StateCommandHandlers.cs rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.StateCommandHandlers.cs index cc113867..6ea541da 100644 --- a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.StateCommandHandlers.cs +++ b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.StateCommandHandlers.cs @@ -9,7 +9,7 @@ using Microsoft.CodeAnalysis; using System.Collections.Generic; using System.Collections.Immutable; -namespace StgSharp.UserInterface.Generator +namespace Nitload.UserInterface.Generator { internal static class PanelStateIncrementalGeneratorStateCommandHandlers { diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.StateSymbols.cs b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.StateSymbols.cs similarity index 96% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.StateSymbols.cs rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.StateSymbols.cs index 418a4212..179a0d77 100644 --- a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.StateSymbols.cs +++ b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.StateSymbols.cs @@ -8,7 +8,7 @@ using System.Collections.Immutable; using System.Linq; -namespace StgSharp.UserInterface.Generator +namespace Nitload.UserInterface.Generator { internal static class PanelStateIncrementalGeneratorStateSymbols { diff --git a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.cs b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.cs similarity index 98% rename from src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.cs rename to src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.cs index 7f200baa..88ff6e7d 100644 --- a/src/StgSharp.UserInterface/Generator/PanelStateIncrementalGenerator.cs +++ b/src/Nitload.UserInterface/Generator/PanelStateIncrementalGenerator.cs @@ -8,7 +8,7 @@ using Microsoft.CodeAnalysis; using System.Collections.Immutable; -namespace StgSharp.UserInterface.Generator +namespace Nitload.UserInterface.Generator { [Generator(LanguageNames.CSharp)] public sealed class PanelStateIncrementalGenerator : IIncrementalGenerator diff --git a/src/StgSharp.UserInterface/Global.cs b/src/Nitload.UserInterface/Global.cs similarity index 100% rename from src/StgSharp.UserInterface/Global.cs rename to src/Nitload.UserInterface/Global.cs diff --git a/src/StgSharp.UserInterface/StgSharp.UserInterface.csproj b/src/Nitload.UserInterface/Nitload.UserInterface.csproj similarity index 75% rename from src/StgSharp.UserInterface/StgSharp.UserInterface.csproj rename to src/Nitload.UserInterface/Nitload.UserInterface.csproj index 7d6035ef..9a8ae804 100644 --- a/src/StgSharp.UserInterface/StgSharp.UserInterface.csproj +++ b/src/Nitload.UserInterface/Nitload.UserInterface.csproj @@ -1,4 +1,4 @@ - + true @@ -6,12 +6,12 @@ true true $(BaseIntermediateOutputPath)Generated - $(SourceRoot)StgSharp.Common\bin\$(Platform)\$(Configuration)\$(TargetFramework)\StgSharp.Common.dll - $(SourceRoot)StgSharp.Common\bin\$(Platform)\$(Configuration)\$(TargetFramework)\StgSharp.Common.pdb + $(SourceRoot)Nitload.Common\bin\$(Platform)\$(Configuration)\$(TargetFramework)\Nitload.Common.dll + $(SourceRoot)Nitload.Common\bin\$(Platform)\$(Configuration)\$(TargetFramework)\Nitload.Common.pdb - + diff --git a/src/StgSharp.UserInterface/Sample/PanelStateSample.cs b/src/Nitload.UserInterface/Sample/PanelStateSample.cs similarity index 98% rename from src/StgSharp.UserInterface/Sample/PanelStateSample.cs rename to src/Nitload.UserInterface/Sample/PanelStateSample.cs index f440b493..46f3cffc 100644 --- a/src/StgSharp.UserInterface/Sample/PanelStateSample.cs +++ b/src/Nitload.UserInterface/Sample/PanelStateSample.cs @@ -7,7 +7,7 @@ using System; -namespace StgSharp.UserInterface.Sample +namespace Nitload.UserInterface.Sample { public sealed class PanelStateSample : PanelState { diff --git a/src/StgSharp.UserInterface/VSS_Arch.md b/src/Nitload.UserInterface/VSS_Arch.md similarity index 98% rename from src/StgSharp.UserInterface/VSS_Arch.md rename to src/Nitload.UserInterface/VSS_Arch.md index 2757e692..ad4669a6 100644 --- a/src/StgSharp.UserInterface/VSS_Arch.md +++ b/src/Nitload.UserInterface/VSS_Arch.md @@ -156,7 +156,7 @@ State 层还包括: - `PanelState`,用于表示局部状态单元 -此外,observer 语义仍然存在,但在 `StgSharp.UserInterface` 中不再通过 `OnStateChanged` / `StateChangeObserver` 这类手写公共类型表达。 +此外,observer 语义仍然存在,但在 `Nitload.UserInterface` 中不再通过 `OnStateChanged` / `StateChangeObserver` 这类手写公共类型表达。 这里更准确的说法是:状态写入后的轻量 observer 逻辑,改为由源生成器围绕具体状态节点直接分布式织入。 diff --git a/src/StgSharp.UserInterface/VSS_BaseTypes.mmd b/src/Nitload.UserInterface/VSS_BaseTypes.mmd similarity index 100% rename from src/StgSharp.UserInterface/VSS_BaseTypes.mmd rename to src/Nitload.UserInterface/VSS_BaseTypes.mmd diff --git a/src/StgSharp.UserInterface/VSS_TypeFramework.md b/src/Nitload.UserInterface/VSS_TypeFramework.md similarity index 98% rename from src/StgSharp.UserInterface/VSS_TypeFramework.md rename to src/Nitload.UserInterface/VSS_TypeFramework.md index 4b69f9a0..b3cb1a99 100644 --- a/src/StgSharp.UserInterface/VSS_TypeFramework.md +++ b/src/Nitload.UserInterface/VSS_TypeFramework.md @@ -289,7 +289,7 @@ State 层是 VSS 的唯一状态与调度中枢。 当前版本仍然保留 observer 语义,但不再保留 `OnStateChanged` 与 `StateChangeObserver` 这两个手写的公开类型。 -在 `StgSharp.UserInterface` 中,状态写入后的前置校验、实际赋值与后置 observer 联动,统一改为由源生成器围绕具体状态节点分布式生成。 +在 `Nitload.UserInterface` 中,状态写入后的前置校验、实际赋值与后置 observer 联动,统一改为由源生成器围绕具体状态节点分布式生成。 在传统 MVVM 中,observer 往往同时承担: diff --git a/src/StgSharp.UserInterface/basic-arch.drawio b/src/Nitload.UserInterface/basic-arch.drawio similarity index 100% rename from src/StgSharp.UserInterface/basic-arch.drawio rename to src/Nitload.UserInterface/basic-arch.drawio diff --git a/src/README.md b/src/README.md index c6505c06..30cc5ca6 100644 --- a/src/README.md +++ b/src/README.md @@ -23,9 +23,9 @@ This directory contains the production source code, native runtime, supporting a Build the native library before running managed components that require it: ```powershell -cmake --preset clang-release -S src/StgSharp.Native +cmake --preset clang-release -S src/Nitload.Native cmake --build cmake_build/clang-release -dotnet build StgSharp.sln +dotnet build Nitload.sln ``` -Managed builds copy an existing native binary when one is available; they do not invoke CMake automatically. Generated OpenGL files under `StgSharp.Graphics/OpenGL/Generated` should be updated through the generator in `tools/StgSharp.GenerateGL`, not edited by hand. +Managed builds copy an existing native binary when one is available; they do not invoke CMake automatically. Generated OpenGL files under `Nitload.Graphics/OpenGL/Generated` should be updated through the generator in `tools/Nitload.GenerateGL`, not edited by hand. diff --git a/src/StgSharp.Graphics/StgSharp.Graphics.csproj b/src/StgSharp.Graphics/StgSharp.Graphics.csproj deleted file mode 100644 index 1bec9387..00000000 --- a/src/StgSharp.Graphics/StgSharp.Graphics.csproj +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/src/StgSharp.Model/StgSharp.Model.csproj b/src/StgSharp.Model/StgSharp.Model.csproj deleted file mode 100644 index d089af23..00000000 --- a/src/StgSharp.Model/StgSharp.Model.csproj +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/test/STgSharpTest/StgSharpTest.csproj b/test/STgSharpTest/StgSharpTest.csproj index b45f263a..b5e1bbd2 100644 --- a/test/STgSharpTest/StgSharpTest.csproj +++ b/test/STgSharpTest/StgSharpTest.csproj @@ -16,10 +16,10 @@ - - - - + + + + diff --git a/test/StgSharpDebug/MatrixTest.cs b/test/StgSharpDebug/MatrixTest.cs index 9f3c9582..3ab2ee53 100644 --- a/test/StgSharpDebug/MatrixTest.cs +++ b/test/StgSharpDebug/MatrixTest.cs @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; -using StgSharp.Mathematics.Numeric; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Mathematics.Numeric; using System; using System.Collections.Generic; using System.Linq; @@ -16,7 +16,7 @@ using System.Threading.Tasks; using T = float; -namespace StgSharp +namespace Nitload { internal static partial class Program { diff --git a/test/StgSharpDebug/Program.cs b/test/StgSharpDebug/Program.cs index 0576f3a4..0160e0e6 100644 --- a/test/StgSharpDebug/Program.cs +++ b/test/StgSharpDebug/Program.cs @@ -5,17 +5,17 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Graphics; -using StgSharp.HighPerformance.Memory; -using StgSharp.Internal; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric; -using StgSharp.Timing; -using StgSharp.Timing; +using Nitload.Graphics; +using Nitload.Common.HighPerformance.Memory; +using Nitload.Common.Internal; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric; +using Nitload.Common.Timing; +using Nitload.Common.Timing; using System; using System.Runtime.InteropServices; -namespace StgSharp +namespace Nitload { internal static partial class Program { diff --git a/test/StgSharpDebug/RenderStream/Partical.cs.old b/test/StgSharpDebug/RenderStream/Partical.cs.old index e20bef78..1d0d79db 100644 --- a/test/StgSharpDebug/RenderStream/Partical.cs.old +++ b/test/StgSharpDebug/RenderStream/Partical.cs.old @@ -5,13 +5,13 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Geometries; -using StgSharp.Graphics; -using StgSharp.Graphics.OpenGL; -using StgSharp.Mathematics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Mathematics.Numeric.Graphics; -using StgSharp.Timing; +using Nitload.Geometries; +using Nitload.Graphics; +using Nitload.Graphics.OpenGL; +using Nitload.Mathematics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Mathematics.Numeric.Graphics; +using Nitload.Common.Timing; using System; using System.Collections.Generic; @@ -20,7 +20,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp +namespace Nitload { public class ParticleRenderStream : glRender { diff --git a/test/StgSharpDebug/SlabStressTest.cs b/test/StgSharpDebug/SlabStressTest.cs index 0e83cd5f..85f5f0c9 100644 --- a/test/StgSharpDebug/SlabStressTest.cs +++ b/test/StgSharpDebug/SlabStressTest.cs @@ -5,11 +5,11 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; using System.Diagnostics; -namespace StgSharp +namespace Nitload { internal static class SlabStressTest { diff --git a/test/StgSharpDebug/StgSharpDebug.csproj b/test/StgSharpDebug/StgSharpDebug.csproj index 06366815..3cd98ede 100644 --- a/test/StgSharpDebug/StgSharpDebug.csproj +++ b/test/StgSharpDebug/StgSharpDebug.csproj @@ -1,4 +1,4 @@ - + Exe @@ -10,11 +10,11 @@ - - - - - + + + + + diff --git a/test/StgSharpDebug/TestL4.cs.old b/test/StgSharpDebug/TestL4.cs.old index 87c58d60..83d2e8b8 100644 --- a/test/StgSharpDebug/TestL4.cs.old +++ b/test/StgSharpDebug/TestL4.cs.old @@ -25,11 +25,11 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; using System.Runtime.CompilerServices; -namespace StgSharp +namespace Nitload { // ==================================================================== // SequentialPredictor diff --git a/test/StgSharpDebug/TestL4Behaviour.cs.old b/test/StgSharpDebug/TestL4Behaviour.cs.old index 450ac65c..69c7d939 100644 --- a/test/StgSharpDebug/TestL4Behaviour.cs.old +++ b/test/StgSharpDebug/TestL4Behaviour.cs.old @@ -25,12 +25,12 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; -namespace StgSharp +namespace Nitload { // ==================================================================== // TrackingPredictor diff --git a/test/StgSharpDebug/TestL4Prefetch.cs.old b/test/StgSharpDebug/TestL4Prefetch.cs.old index 2cf61621..493fd879 100644 --- a/test/StgSharpDebug/TestL4Prefetch.cs.old +++ b/test/StgSharpDebug/TestL4Prefetch.cs.old @@ -25,11 +25,11 @@ // // ----------------------------------------------------------------------- // ----------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; using System.Collections.Generic; -namespace StgSharp +namespace Nitload { // ==================================================================== // CountingPredictor diff --git a/test/StgSharpDebug/TestRegexAnalyse.cs b/test/StgSharpDebug/TestRegexAnalyse.cs index a40b6d1c..46fbbe9b 100644 --- a/test/StgSharpDebug/TestRegexAnalyse.cs +++ b/test/StgSharpDebug/TestRegexAnalyse.cs @@ -5,8 +5,8 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.RegularAnalysis.Abstraction; -using StgSharp.RegularAnalysis.Text; +using Nitload.RegularAnalysis.Abstraction; +using Nitload.RegularAnalysis.Text; using System; using System.Collections.Generic; using System.Linq; @@ -15,7 +15,7 @@ using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; -namespace StgSharp +namespace Nitload { public partial class TestRegexAnalyse { diff --git a/test/StgSharpDebug/TestRender.cs b/test/StgSharpDebug/TestRender.cs index 6b3c54d9..90337aec 100644 --- a/test/StgSharpDebug/TestRender.cs +++ b/test/StgSharpDebug/TestRender.cs @@ -5,15 +5,15 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; -using StgSharp.Graphics; +using Nitload.Common.Collections; +using Nitload.Graphics; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace StgSharp +namespace Nitload { internal static partial class Program { diff --git a/test/StgSharpDebug/TestSwiss.cs b/test/StgSharpDebug/TestSwiss.cs index 6cb088da..9b9fd7e2 100644 --- a/test/StgSharpDebug/TestSwiss.cs +++ b/test/StgSharpDebug/TestSwiss.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.Collections; +using Nitload.Common.Collections; using System; using System.Collections.Generic; using System.Linq; @@ -13,7 +13,7 @@ using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; -namespace StgSharp +namespace Nitload { internal static partial class Program { diff --git a/test/StgSharpDebug/TlsfStressTest.cs b/test/StgSharpDebug/TlsfStressTest.cs index 51438867..538c4ce3 100644 --- a/test/StgSharpDebug/TlsfStressTest.cs +++ b/test/StgSharpDebug/TlsfStressTest.cs @@ -5,14 +5,14 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; using System.Collections.Generic; using System.Diagnostics; -using Tlsf = StgSharp.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; +using Tlsf = Nitload.Common.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; -namespace StgSharp +namespace Nitload { internal static class TlsfStressTest { diff --git a/test/StgSharpDebug/hlsf-test.cs b/test/StgSharpDebug/hlsf-test.cs index ff41ac32..e173eb59 100644 --- a/test/StgSharpDebug/hlsf-test.cs +++ b/test/StgSharpDebug/hlsf-test.cs @@ -5,7 +5,7 @@ // SPDX-License-Identifier: MIT // ----------------------------------------------------------------------------- -using StgSharp.HighPerformance.Memory; +using Nitload.Common.HighPerformance.Memory; using System; using System.Collections.Generic; using System.Diagnostics; @@ -13,9 +13,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using Tlsf = StgSharp.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; +using Tlsf = Nitload.Common.HighPerformance.Memory.TwoLayerSegregatedFitAllocator; -namespace StgSharp +namespace Nitload { internal partial class Program { diff --git a/tools/StgSharp.GenerateGL/Analysis/GlFunctionFamilyAnalyzer.cs b/tools/Nitload.GenerateGL/Analysis/GlFunctionFamilyAnalyzer.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Analysis/GlFunctionFamilyAnalyzer.cs rename to tools/Nitload.GenerateGL/Analysis/GlFunctionFamilyAnalyzer.cs diff --git a/tools/StgSharp.GenerateGL/Analysis/GlFunctionFamilyModel.cs b/tools/Nitload.GenerateGL/Analysis/GlFunctionFamilyModel.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Analysis/GlFunctionFamilyModel.cs rename to tools/Nitload.GenerateGL/Analysis/GlFunctionFamilyModel.cs diff --git a/tools/StgSharp.GenerateGL/Analysis/GlFunctionNameFactorizer.cs b/tools/Nitload.GenerateGL/Analysis/GlFunctionNameFactorizer.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Analysis/GlFunctionNameFactorizer.cs rename to tools/Nitload.GenerateGL/Analysis/GlFunctionNameFactorizer.cs diff --git a/tools/StgSharp.GenerateGL/FunctionFamilyCli.cs b/tools/Nitload.GenerateGL/FunctionFamilyCli.cs similarity index 100% rename from tools/StgSharp.GenerateGL/FunctionFamilyCli.cs rename to tools/Nitload.GenerateGL/FunctionFamilyCli.cs diff --git a/tools/StgSharp.GenerateGL/GenerateCli.cs b/tools/Nitload.GenerateGL/GenerateCli.cs similarity index 100% rename from tools/StgSharp.GenerateGL/GenerateCli.cs rename to tools/Nitload.GenerateGL/GenerateCli.cs diff --git a/tools/StgSharp.GenerateGL/Generation/CSharpAbiTypePolicy.cs b/tools/Nitload.GenerateGL/Generation/CSharpAbiTypePolicy.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/CSharpAbiTypePolicy.cs rename to tools/Nitload.GenerateGL/Generation/CSharpAbiTypePolicy.cs diff --git a/tools/StgSharp.GenerateGL/Generation/GeneratedFileSet.cs b/tools/Nitload.GenerateGL/Generation/GeneratedFileSet.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/GeneratedFileSet.cs rename to tools/Nitload.GenerateGL/Generation/GeneratedFileSet.cs diff --git a/tools/StgSharp.GenerateGL/Generation/GlEnumProjector.cs b/tools/Nitload.GenerateGL/Generation/GlEnumProjector.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/GlEnumProjector.cs rename to tools/Nitload.GenerateGL/Generation/GlEnumProjector.cs diff --git a/tools/StgSharp.GenerateGL/Generation/GlEnumTypeMap.cs b/tools/Nitload.GenerateGL/Generation/GlEnumTypeMap.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/GlEnumTypeMap.cs rename to tools/Nitload.GenerateGL/Generation/GlEnumTypeMap.cs diff --git a/tools/StgSharp.GenerateGL/Generation/GlEquivalentTypeMapper.cs b/tools/Nitload.GenerateGL/Generation/GlEquivalentTypeMapper.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/GlEquivalentTypeMapper.cs rename to tools/Nitload.GenerateGL/Generation/GlEquivalentTypeMapper.cs diff --git a/tools/StgSharp.GenerateGL/Generation/GlGenerationTarget.cs b/tools/Nitload.GenerateGL/Generation/GlGenerationTarget.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/GlGenerationTarget.cs rename to tools/Nitload.GenerateGL/Generation/GlGenerationTarget.cs diff --git a/tools/StgSharp.GenerateGL/Generation/GlGetValueApiFilter.cs b/tools/Nitload.GenerateGL/Generation/GlGetValueApiFilter.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/GlGetValueApiFilter.cs rename to tools/Nitload.GenerateGL/Generation/GlGetValueApiFilter.cs diff --git a/tools/StgSharp.GenerateGL/Generation/GlHandleApiFilter.cs b/tools/Nitload.GenerateGL/Generation/GlHandleApiFilter.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/GlHandleApiFilter.cs rename to tools/Nitload.GenerateGL/Generation/GlHandleApiFilter.cs diff --git a/tools/StgSharp.GenerateGL/Generation/GlManagedApiSuppressionFilter.cs b/tools/Nitload.GenerateGL/Generation/GlManagedApiSuppressionFilter.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/GlManagedApiSuppressionFilter.cs rename to tools/Nitload.GenerateGL/Generation/GlManagedApiSuppressionFilter.cs diff --git a/tools/StgSharp.GenerateGL/Generation/GlOverloadApiFilter.cs b/tools/Nitload.GenerateGL/Generation/GlOverloadApiFilter.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/GlOverloadApiFilter.cs rename to tools/Nitload.GenerateGL/Generation/GlOverloadApiFilter.cs diff --git a/tools/StgSharp.GenerateGL/Generation/IGlApiFilter.cs b/tools/Nitload.GenerateGL/Generation/IGlApiFilter.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/IGlApiFilter.cs rename to tools/Nitload.GenerateGL/Generation/IGlApiFilter.cs diff --git a/tools/StgSharp.GenerateGL/Generation/ManagedApiModel.cs b/tools/Nitload.GenerateGL/Generation/ManagedApiModel.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/ManagedApiModel.cs rename to tools/Nitload.GenerateGL/Generation/ManagedApiModel.cs diff --git a/tools/StgSharp.GenerateGL/Generation/ManagedApiPlanner.cs b/tools/Nitload.GenerateGL/Generation/ManagedApiPlanner.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/ManagedApiPlanner.cs rename to tools/Nitload.GenerateGL/Generation/ManagedApiPlanner.cs diff --git a/tools/StgSharp.GenerateGL/Generation/ManagedEnumModel.cs b/tools/Nitload.GenerateGL/Generation/ManagedEnumModel.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/ManagedEnumModel.cs rename to tools/Nitload.GenerateGL/Generation/ManagedEnumModel.cs diff --git a/tools/StgSharp.GenerateGL/Generation/OpenGlGenerator.cs b/tools/Nitload.GenerateGL/Generation/OpenGlGenerator.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Generation/OpenGlGenerator.cs rename to tools/Nitload.GenerateGL/Generation/OpenGlGenerator.cs diff --git a/tools/StgSharp.GenerateGL/Naming/CSharpIdentifierPolicy.cs b/tools/Nitload.GenerateGL/Naming/CSharpIdentifierPolicy.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Naming/CSharpIdentifierPolicy.cs rename to tools/Nitload.GenerateGL/Naming/CSharpIdentifierPolicy.cs diff --git a/tools/StgSharp.GenerateGL/Naming/GlManagedApiNamePolicy.cs b/tools/Nitload.GenerateGL/Naming/GlManagedApiNamePolicy.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Naming/GlManagedApiNamePolicy.cs rename to tools/Nitload.GenerateGL/Naming/GlManagedApiNamePolicy.cs diff --git a/tools/StgSharp.GenerateGL/StgSharp.GenerateGL.csproj b/tools/Nitload.GenerateGL/Nitload.GenerateGL.csproj similarity index 100% rename from tools/StgSharp.GenerateGL/StgSharp.GenerateGL.csproj rename to tools/Nitload.GenerateGL/Nitload.GenerateGL.csproj diff --git a/tools/StgSharp.GenerateGL/Program.cs b/tools/Nitload.GenerateGL/Program.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Program.cs rename to tools/Nitload.GenerateGL/Program.cs diff --git a/tools/StgSharp.GenerateGL/README.md b/tools/Nitload.GenerateGL/README.md similarity index 97% rename from tools/StgSharp.GenerateGL/README.md rename to tools/Nitload.GenerateGL/README.md index 3d21a65b..9633f44d 100644 --- a/tools/StgSharp.GenerateGL/README.md +++ b/tools/Nitload.GenerateGL/README.md @@ -9,7 +9,7 @@ The current target is OpenGL 4.6 Core. The generator does not emit OpenGL ES or Start the interactive CLI: ```powershell -dotnet run --project tools/StgSharp.GenerateGL/StgSharp.GenerateGL.csproj +dotnet run --project tools/Nitload.GenerateGL/Nitload.GenerateGL.csproj ``` Common commands: @@ -29,7 +29,7 @@ preview OpenGLFunction.v4_1.g.cs Generate directly into an existing directory: ```powershell -dotnet run --project tools/StgSharp.GenerateGL/StgSharp.GenerateGL.csproj -- generate all src/StgSharp.Graphics/OpenGL/Generated +dotnet run --project tools/Nitload.GenerateGL/Nitload.GenerateGL.csproj -- generate all src/Nitload.Graphics/OpenGL/Generated ``` Generation targets are explicit: diff --git a/tools/StgSharp.GenerateGL/Registry/DesktopGlCoreRegistryFilter.cs b/tools/Nitload.GenerateGL/Registry/DesktopGlCoreRegistryFilter.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Registry/DesktopGlCoreRegistryFilter.cs rename to tools/Nitload.GenerateGL/Registry/DesktopGlCoreRegistryFilter.cs diff --git a/tools/StgSharp.GenerateGL/Registry/GlApiDefinition.cs b/tools/Nitload.GenerateGL/Registry/GlApiDefinition.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Registry/GlApiDefinition.cs rename to tools/Nitload.GenerateGL/Registry/GlApiDefinition.cs diff --git a/tools/StgSharp.GenerateGL/Registry/GlCommandDefinition.cs b/tools/Nitload.GenerateGL/Registry/GlCommandDefinition.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Registry/GlCommandDefinition.cs rename to tools/Nitload.GenerateGL/Registry/GlCommandDefinition.cs diff --git a/tools/StgSharp.GenerateGL/Registry/GlEnumDefinition.cs b/tools/Nitload.GenerateGL/Registry/GlEnumDefinition.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Registry/GlEnumDefinition.cs rename to tools/Nitload.GenerateGL/Registry/GlEnumDefinition.cs diff --git a/tools/StgSharp.GenerateGL/Registry/GlRegistryElement.cs b/tools/Nitload.GenerateGL/Registry/GlRegistryElement.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Registry/GlRegistryElement.cs rename to tools/Nitload.GenerateGL/Registry/GlRegistryElement.cs diff --git a/tools/StgSharp.GenerateGL/Registry/GlRegistryModel.cs b/tools/Nitload.GenerateGL/Registry/GlRegistryModel.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Registry/GlRegistryModel.cs rename to tools/Nitload.GenerateGL/Registry/GlRegistryModel.cs diff --git a/tools/StgSharp.GenerateGL/Registry/GlRegistryProjection.cs b/tools/Nitload.GenerateGL/Registry/GlRegistryProjection.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Registry/GlRegistryProjection.cs rename to tools/Nitload.GenerateGL/Registry/GlRegistryProjection.cs diff --git a/tools/StgSharp.GenerateGL/Registry/GlRegistryReader.cs b/tools/Nitload.GenerateGL/Registry/GlRegistryReader.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Registry/GlRegistryReader.cs rename to tools/Nitload.GenerateGL/Registry/GlRegistryReader.cs diff --git a/tools/StgSharp.GenerateGL/Registry/GlTypeDefinition.cs b/tools/Nitload.GenerateGL/Registry/GlTypeDefinition.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Registry/GlTypeDefinition.cs rename to tools/Nitload.GenerateGL/Registry/GlTypeDefinition.cs diff --git a/tools/StgSharp.GenerateGL/RegistryCli.cs b/tools/Nitload.GenerateGL/RegistryCli.cs similarity index 100% rename from tools/StgSharp.GenerateGL/RegistryCli.cs rename to tools/Nitload.GenerateGL/RegistryCli.cs diff --git a/tools/StgSharp.GenerateGL/TargetRegistryCli.cs b/tools/Nitload.GenerateGL/TargetRegistryCli.cs similarity index 100% rename from tools/StgSharp.GenerateGL/TargetRegistryCli.cs rename to tools/Nitload.GenerateGL/TargetRegistryCli.cs diff --git a/tools/StgSharp.GenerateGL/Tree/XmlTreeDocument.cs b/tools/Nitload.GenerateGL/Tree/XmlTreeDocument.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Tree/XmlTreeDocument.cs rename to tools/Nitload.GenerateGL/Tree/XmlTreeDocument.cs diff --git a/tools/StgSharp.GenerateGL/Tree/XmlTreeReader.cs b/tools/Nitload.GenerateGL/Tree/XmlTreeReader.cs similarity index 100% rename from tools/StgSharp.GenerateGL/Tree/XmlTreeReader.cs rename to tools/Nitload.GenerateGL/Tree/XmlTreeReader.cs diff --git a/tools/StgSharp.GenerateGL/XmlCli.cs b/tools/Nitload.GenerateGL/XmlCli.cs similarity index 100% rename from tools/StgSharp.GenerateGL/XmlCli.cs rename to tools/Nitload.GenerateGL/XmlCli.cs diff --git a/tools/StgSharp.GenerateGL/gl.h b/tools/Nitload.GenerateGL/gl.h similarity index 100% rename from tools/StgSharp.GenerateGL/gl.h rename to tools/Nitload.GenerateGL/gl.h diff --git a/tools/StgSharp.GenerateGL/xml/README.md b/tools/Nitload.GenerateGL/xml/README.md similarity index 96% rename from tools/StgSharp.GenerateGL/xml/README.md rename to tools/Nitload.GenerateGL/xml/README.md index c2931d7b..32166f51 100644 --- a/tools/StgSharp.GenerateGL/xml/README.md +++ b/tools/Nitload.GenerateGL/xml/README.md @@ -9,7 +9,7 @@ This directory intentionally does not track the third-party Khronos registry fil The generator currently requires this exact path: ```text -tools/StgSharp.GenerateGL/xml/gl.xml +tools/Nitload.GenerateGL/xml/gl.xml ``` Do not introduce an additional directory level such as `xml/xml/gl.xml`. Files such as `glx.xml`, `wgl.xml`, `registry.rnc`, and the upstream registry scripts may be copied alongside `gl.xml`, but the current desktop OpenGL generator only consumes `gl.xml`. diff --git a/tools/README.md b/tools/README.md index 8ebe8b3c..aa6a27ae 100644 --- a/tools/README.md +++ b/tools/README.md @@ -11,7 +11,7 @@ This directory contains repository-maintenance and source-generation programs. T `StgSharp.GenerateGL` has its own `README.md` with its pipeline, naming rules, and interactive commands. The common direct-generation command is: ```powershell -dotnet run --project tools/StgSharp.GenerateGL/StgSharp.GenerateGL.csproj -- generate all src/StgSharp.Graphics/OpenGL/Generated +dotnet run --project tools/Nitload.GenerateGL/Nitload.GenerateGL.csproj -- generate all src/Nitload.Graphics/OpenGL/Generated ``` Generated files begin with `// ` and should not be edited manually. Change the registry projection, analysis, naming, or generation code here and regenerate the destination instead.