Skip to content

Commit

Permalink
bump version, mark rendering package as obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
JensKrumsieck committed Nov 25, 2021
1 parent 7c257c2 commit 4e37f79
Show file tree
Hide file tree
Showing 27 changed files with 51 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PackageId>ChemSharp.Molecules.Blazor</PackageId>
<Description>Blazor Extension for ChemSharp.Molecules</Description>
<Authors>Jens Krumsieck</Authors>
<Version>1.0.10</Version>
<Version>1.0.11</Version>
<PackageProjectUrl>https://github.com/JensKrumsieck/ChemSharp</PackageProjectUrl>
<RepositoryUrl>https://github.com/JensKrumsieck/ChemSharp</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down
2 changes: 1 addition & 1 deletion ChemSharp.Molecules/ChemSharp.Molecules.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Authors>Jens Krumsieck</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<Version>1.0.10</Version>
<Version>1.0.11</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/JensKrumsieck/ChemSharp</PackageProjectUrl>
<RepositoryUrl>https://github.com/JensKrumsieck/ChemSharp</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion ChemSharp.Rendering/ChemSharp.Rendering.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PackageId>ChemSharp.Rendering</PackageId>
<PackageId>ChemSharp.Rendering - Deprecated</PackageId>
<Description>Chemsharp: Export to PovRay or SVG</Description>
<Authors>Jens Krumsieck</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0</TargetFrameworks>
Expand Down
1 change: 1 addition & 0 deletions ChemSharp.Rendering/Export/PovRayExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

namespace ChemSharp.Rendering.Export
{
[Obsolete("Package will be removed soon")]
public class PovRayExporter : IExporter
{
public Camera Cam { get; set; }
Expand Down
1 change: 1 addition & 0 deletions ChemSharp.Rendering/Export/SvgExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace ChemSharp.Rendering.Export
/// <summary>
/// Exports Molecule to Svg
/// </summary>
[Obsolete("Package will be removed soon")]
public class SvgExporter : IExporter
{
public double Width { get; set; }
Expand Down
2 changes: 2 additions & 0 deletions ChemSharp.Rendering/Extensions/ConvertUtil.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using ChemSharp.Molecules;
using ChemSharp.Rendering.Svg;
using System;
using System.Drawing;
using System.Numerics;

namespace ChemSharp.Rendering.Extensions
{
[Obsolete("Package will be removed soon")]
public static class ConvertUtil
{
/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions ChemSharp.Rendering/Extensions/PovSdlExtension.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using ChemSharp.Rendering.Primitives;
using System;
using System.Globalization;
using System.Numerics;
using System.Text;

namespace ChemSharp.Rendering.Extensions
{
[Obsolete("Package will be removed soon")]
public static class PovSdlExtension
{
public static string ToPovString<T>(this T input) where T : struct
Expand Down
4 changes: 3 additions & 1 deletion ChemSharp.Rendering/Primitives/Camera.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System.Numerics;
using System;
using System.Numerics;

namespace ChemSharp.Rendering.Primitives
{
[Obsolete("Package will be removed soon")]
public class Camera
{
public Vector3 Location { get; set; } = Vector3.Zero;
Expand Down
4 changes: 3 additions & 1 deletion ChemSharp.Rendering/Primitives/Cylinder.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System.Numerics;
using System;
using System.Numerics;

namespace ChemSharp.Rendering.Primitives
{
[Obsolete("Package will be removed soon")]
public class Cylinder
{
public Vector3 Start { get; set; } = Vector3.Zero;
Expand Down
4 changes: 3 additions & 1 deletion ChemSharp.Rendering/Primitives/Light.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System.Numerics;
using System;
using System.Numerics;

namespace ChemSharp.Rendering.Primitives
{
[Obsolete("Package will be removed soon")]
public class Light
{
public Vector3 Location { get; set; } = Vector3.Zero;
Expand Down
5 changes: 4 additions & 1 deletion ChemSharp.Rendering/Primitives/SVG/ISvgCoordinateObject.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
namespace ChemSharp.Rendering.Primitives.SVG
using System;

namespace ChemSharp.Rendering.Primitives.SVG
{
[Obsolete("Package will be removed soon")]
public interface ISvgCoordinateObject
{
public double X { get; set; }
Expand Down
5 changes: 4 additions & 1 deletion ChemSharp.Rendering/Primitives/SVG/ISvgItem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace ChemSharp.Rendering.Primitives.Svg
using System;

namespace ChemSharp.Rendering.Primitives.Svg
{
[Obsolete("Package will be removed soon")]
public interface ISvgItem { }
}
2 changes: 2 additions & 0 deletions ChemSharp.Rendering/Primitives/SVG/SvgCircle.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using ChemSharp.Rendering.Primitives.SVG;
using System;
using System.Xml.Serialization;

namespace ChemSharp.Rendering.Primitives.Svg
{
[Obsolete("Package will be removed soon")]
[XmlRoot("circle")]
public class SvgCircle : SvgColoredItem, ISvgItem, ISvgCoordinateObject
{
Expand Down
4 changes: 3 additions & 1 deletion ChemSharp.Rendering/Primitives/SVG/SvgColoredItem.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using System.Drawing;
using System;
using System.Drawing;
using System.Xml.Serialization;

namespace ChemSharp.Rendering.Primitives.Svg
{
[Obsolete("Package will be removed soon")]
public abstract class SvgColoredItem : SvgTransformableItem
{
[XmlAttribute("stroke")]
Expand Down
1 change: 1 addition & 0 deletions ChemSharp.Rendering/Primitives/SVG/SvgPath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace ChemSharp.Rendering.Primitives.Svg
{
[Obsolete("Package will be removed soon")]
[XmlRoot("path")]
public class SvgPath : SvgColoredItem, ISvgItem
{
Expand Down
2 changes: 2 additions & 0 deletions ChemSharp.Rendering/Primitives/SVG/SvgPathPart.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
using ChemSharp.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;

namespace ChemSharp.Rendering.Primitives.Svg
{
[Obsolete("Package will be removed soon")]
public enum SvgPartType
{
MoveTo = 'M',
Expand Down
1 change: 1 addition & 0 deletions ChemSharp.Rendering/Primitives/SVG/SvgRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace ChemSharp.Rendering.Primitives.Svg
{
[Obsolete("Package will be removed soon")]
[XmlRoot("svg", Namespace = "http://www.w3.org/2000/svg")]
public class SvgRoot
{
Expand Down
1 change: 1 addition & 0 deletions ChemSharp.Rendering/Primitives/SVG/SvgText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace ChemSharp.Rendering.Primitives.Svg
{
[Obsolete("Package will be removed soon")]
[XmlRoot("text")]
public class SvgText : SvgColoredItem, ISvgItem, ISvgCoordinateObject
{
Expand Down
4 changes: 3 additions & 1 deletion ChemSharp.Rendering/Primitives/SVG/SvgTransformableItem.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using System.Xml.Serialization;
using System;
using System.Xml.Serialization;

namespace ChemSharp.Rendering.Primitives.Svg
{
/// <summary>
/// TODO Transform handling!
/// </summary>
[Obsolete("Package will be removed soon")]
public abstract class SvgTransformableItem
{
[XmlAttribute("transform")]
Expand Down
4 changes: 3 additions & 1 deletion ChemSharp.Rendering/Primitives/Sphere.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System.Numerics;
using System;
using System.Numerics;

namespace ChemSharp.Rendering.Primitives
{
[Obsolete("Package will be removed soon")]
public class Sphere
{
public Vector3 Location { get; set; } = Vector3.Zero;
Expand Down
2 changes: 2 additions & 0 deletions ChemSharp.Rendering/Svg/SvgAtom.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using ChemSharp.Molecules;
using ChemSharp.Rendering.Primitives.Svg;
using System;

namespace ChemSharp.Rendering.Svg
{
[Obsolete("Package will be removed soon")]
public class SvgAtom
{
public readonly Atom Atom;
Expand Down
2 changes: 2 additions & 0 deletions ChemSharp.Rendering/Svg/SvgBond.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@

#if NETSTANDARD2_0
using ChemSharp.Mathematics;
using System;
#endif

namespace ChemSharp.Rendering.Svg
{
[Obsolete("Package will be removed soon")]
public class SvgBond
{
public readonly Bond Bond;
Expand Down
2 changes: 1 addition & 1 deletion ChemSharp.Rendering/Svg/SvgMolecule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
using System.Collections.Generic;
using System.Linq;


[Obsolete("Package will be removed soon")]
namespace ChemSharp.Rendering.Svg
{
public class SvgMolecule : IExportable
Expand Down
2 changes: 1 addition & 1 deletion ChemSharp.Spectroscopy/ChemSharp.Spectroscopy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Authors>Jens Krumsieck</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<Version>1.0.10</Version>
<Version>1.0.11</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/JensKrumsieck/ChemSharp</PackageProjectUrl>
<RepositoryUrl>https://github.com/JensKrumsieck/ChemSharp</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion ChemSharp.UnitConversion/ChemSharp.UnitConversion.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Authors>Jens Krumsieck</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<Version>1.0.10</Version>
<Version>1.0.11</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/JensKrumsieck/ChemSharp</PackageProjectUrl>
<RepositoryUrl>https://github.com/JensKrumsieck/ChemSharp</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion ChemSharp/ChemSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Authors>Jens Krumsieck</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<Version>1.0.10</Version>
<Version>1.0.11</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/JensKrumsieck/ChemSharp</PackageProjectUrl>
<RepositoryUrl>https://github.com/JensKrumsieck/ChemSharp</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion Generators/ChemSharp.Generator/ChemSharp.Generator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Description>Generates MathF</Description>
<Authors>Jens Krumsieck</Authors>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.0.10</Version>
<Version>1.0.11</Version>
<Langversion>preview</Langversion>
<IncludeBuildOutput>false</IncludeBuildOutput>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
Expand Down

0 comments on commit 4e37f79

Please sign in to comment.