Skip to content

Commit

Permalink
Merge branch 'master' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushub committed Jan 14, 2024
2 parents 2d2f241 + 94b8e31 commit b6127fb
Show file tree
Hide file tree
Showing 2,042 changed files with 10,537 additions and 108,608 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
os: [windows-latest]
# os: [windows-latest, ubuntu-latest]
framework: [netcoreapp2.1, netcoreapp3.1, net5.0, net452, net461]
framework: [netcoreapp3.1, net6.0, net462]
steps:
- name: Checkout source
uses: actions/checkout@v2
Expand All @@ -25,6 +25,11 @@ jobs:
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget }}
- name: Setup .NET 3.1 SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.x
include-prerelease: false
- name: Restore NuGet Packages
if: steps.cache.outputs.cache-hit != 'true'
run: |
Expand Down Expand Up @@ -58,6 +63,11 @@ jobs:
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-bench }}
- name: Setup .NET 3.1 SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.x
include-prerelease: false
- name: Restore NuGet Packages
if: steps.cache.outputs.cache-hit != 'true'
run: |
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,9 @@ MigrationBackup/
# JetBrains Rider
.idea/
*.sln.iml

# W3C Test Suites
Tests/W3CTestSuite/images
Tests/W3CTestSuite/png
Tests/W3CTestSuite/resources
Tests/W3CTestSuite/svg
602 changes: 0 additions & 602 deletions BuildProcessTemplates/DefaultTemplate.xaml

This file was deleted.

76 changes: 0 additions & 76 deletions BuildProcessTemplates/UpgradeTemplate.xaml

This file was deleted.

4 changes: 3 additions & 1 deletion Generators/AvailableElementsGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ static int ElementNameComparison(Element x, Element y)

// Group all properties by element type.
var elementProperties = items.SelectMany(x => x.Value.Properties).Distinct(new PropertyEqualityComparer());
var elementPropertiesDict = elementProperties.GroupBy(x => x.Symbol.ContainingType).ToDictionary(x => x.Key, y => y.ToList());
var elementPropertiesDict = elementProperties
.GroupBy(x => x.Symbol.ContainingType, SymbolEqualityComparer.Default)
.ToDictionary(x => x.Key, y => y.ToList(), SymbolEqualityComparer.Default);

// Generate SvgElement base class with Properties dictionary.

Expand Down
7 changes: 4 additions & 3 deletions Generators/Svg.Generators.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
Expand All @@ -7,11 +7,12 @@
<AnalysisLevel>latest</AnalysisLevel>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
</ItemGroup>

</Project>
Binary file removed Nuget/Svg.1.0.0.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.1.0.1.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.1.0.2.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.1.5.0.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.1.5.1.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.1.5.2.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.1.6.0.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.1.6.1.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.1.7.0.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.2.0.0.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.2.1.0.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.2.4.0-preview1.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.2.4.0.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.2.4.1.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.2.4.2.nupkg
Binary file not shown.
Binary file removed Nuget/Svg.2.4.3.nupkg
Binary file not shown.
34 changes: 0 additions & 34 deletions Nuget/Svg.nuspec

This file was deleted.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
![W3C SVG Logo](https://www.w3.org/Icons/SVG/svg-logo-v.png)
# SVG.NET[![NuGet version](https://badge.fury.io/nu/svg.svg)](https://badge.fury.io/nu/svg) [![Gitter](https://badges.gitter.im/vvvv/SVG.svg)](https://gitter.im/vvvv/SVG?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) ![Testsuite](https://github.com/svg-net/SVG/workflows/Testsuite/badge.svg?branch=master) ![DocBuild](https://github.com/svg-net/SVG/workflows/DocBuild/badge.svg?branch=master)

Public fork of the C# SVG rendering library on codeplex: https://svg.codeplex.com/
Public fork of the C# SVG rendering library on codeplex.

This started out as a minor modification to enable the writing of proper SVG strings. But now after almost two years we have so many fixes and improvements that we decided to share our current codebase to the public in order to improve it even further.

So please feel free to fork it and open pull requests for any fix, improvement or feature you add.
You may check the [contributing guide](https://github.com/svg-net/SVG/blob/master/CONTRIBUTING.md) for more information on how to do this.

For information on installation and usage of the library, and for release notes please check the [documentation pages](http://svg-net.github.io/SVG/).
For information on installation and usage of the library, and for release notes please check the [documentation pages](https://svg-net.github.io/SVG/).

## Projects using the library

* [vvvv](http://vvvv.org) a hybrid visual/textual live-programming environment for easy prototyping and development.
* [vvvv](https://vvvv.org) a hybrid visual/textual live-programming environment for easy prototyping and development.
* [Posh](https://github.com/vvvv/Posh) a windowing/interaction/drawing layer for C#/.NET desktop applications with their GUI in a browser.
* [Timeliner](https://github.com/vvvv/Timeliner) a Posh based timeline that can be controlled by and sends out its values via OSC.
* [Chordious](http://chordious.com) a fretboard diagram generator for fretted stringed instruments.
* [Chordious](https://chordious.com) a fretboard diagram generator for fretted stringed instruments.
* [HttpMaster](https://www.httpmaster.net) a Windows tool for HTTP testing and debugging.

If you want your project in this list, send me a pull request on this file or link + short description to tebjan (at) vvvv.org

Expand All @@ -26,5 +27,4 @@ This project has dependencies on other open-source projects. These projects are

|Project|Author|Sources|License|
|--------|-----|---|---------|
|Fizzler|Atif Aziz (@atifaziz)|[GitHub](https://github.com/atifaziz/Fizzler)|[LGPL](https://github.com/atifaziz/Fizzler/blob/master/COPYING.LESSER.txt)|
|ExCSS|Tyler Brinks (@tylerbrinks)|[GitHub](https://github.com/TylerBrinks/ExCSS)|[MIT](https://github.com/TylerBrinks/ExCSS/blob/master/license.txt)|
2 changes: 1 addition & 1 deletion Samples/Entities/Entities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net461;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
38 changes: 19 additions & 19 deletions Samples/XMLOutput/Program.cs → Samples/SVGBuilder/Program.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
using System;
using System.Windows.Forms;

namespace XMLOutputTester
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}
using System;
using System.Windows.Forms;

namespace SVGBuilder
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new SvgBuilder());
}
}
}
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XMLOutputTester")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("XMLOutputTester")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("97db38e0-08e8-45c0-a4e3-b497681dcc34")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SVGBuilder")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("SVGBuilder")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("97db38e0-08e8-45c0-a4e3-b497681dcc34")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Loading

0 comments on commit b6127fb

Please sign in to comment.