Skip to content

Commit

Permalink
Change license to GNU Affero General Public License
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes committed Dec 15, 2023
1 parent 1570565 commit 811779e
Show file tree
Hide file tree
Showing 80 changed files with 1,794 additions and 86 deletions.
661 changes: 661 additions & 0 deletions COPYING

Large diffs are not rendered by default.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,28 @@
[![Github All Releases](https://img.shields.io/github/downloads/wieslawsoltes/SvgToXaml/total.svg)](https://github.com/wieslawsoltes/SvgToXaml)
[![Github Releases](https://img.shields.io/github/downloads/wieslawsoltes/SvgToXaml/latest/total.svg)](https://github.com/wieslawsoltes/SvgToXaml)

Svg to xaml conveter.
Svg to Xaml converter.

![image](https://user-images.githubusercontent.com/2297442/130685251-185cc489-8724-408b-8965-955f9bc77177.png)

## License

SvgToXaml is licensed under the [MIT license](LICENSE).
SvgToXaml is licensed under the [GNU Affero General Public License](COPYING).

```
SvgToXaml A Svg to Xaml converter.
Copyright (C) 2023 Wiesław Šoltés
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
```
2 changes: 1 addition & 1 deletion SvgToXaml.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{038CD179-37B9-4AD8-B94E-D077723F45D7}"
ProjectSection(SolutionItems) = preProject
LICENSE = LICENSE
README.md = README.md
COPYING = COPYING
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0A02A9B3-8AF1-4AAD-93B8-2E18438C9A3F}"
Expand Down
2 changes: 1 addition & 1 deletion build/Avalonia.Controls.Skia.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Controls.Skia" Version="11.0.0.3" />
<PackageReference Include="Avalonia.Controls.Skia" Version="11.0.0.4" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.Desktop.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" Version="11.0.4" />
<PackageReference Include="Avalonia.Desktop" Version="11.0.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.Diagnostics.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Diagnostics" Version="11.0.4" />
<PackageReference Include="Avalonia.Diagnostics" Version="11.0.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.Markup.Xaml.Loader.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.0.4" />
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="11.0.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.Skia.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Skia" Version="11.0.4" />
<PackageReference Include="Avalonia.Skia" Version="11.0.6" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions build/Avalonia.Themes.Fluent.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.4" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.4" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.6" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.Web.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia.Browser" Version="11.0.4" />
<PackageReference Include="Avalonia.Browser" Version="11.0.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Avalonia.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.0.4" />
<PackageReference Include="Avalonia" Version="11.0.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion build/Base.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VersionPrefix>11.0.4</VersionPrefix>
<VersionPrefix>11.0.6</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>Wiesław Šoltés</Authors>
<Company>Wiesław Šoltés</Company>
Expand Down
2 changes: 1 addition & 1 deletion build/Svg.Skia.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="Svg.Skia" Version="1.0.0.3" />
<PackageReference Include="Svg.Skia" Version="1.0.0.4" />
</ItemGroup>
</Project>
17 changes: 17 additions & 0 deletions src/SvgToXaml.Base/App.axaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!--
SvgToXaml A Svg to Xaml converter.
Copyright (C) 2023 Wiesław Šoltés
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:SvgToXaml"
Expand Down
17 changes: 17 additions & 0 deletions src/SvgToXaml.Base/App.axaml.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SvgToXaml A Svg to Xaml converter.
* Copyright (C) 2023 Wiesław Šoltés
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
using System.IO;
using System.Linq;
using System.Text.Json;
Expand Down
19 changes: 18 additions & 1 deletion src/SvgToXaml.Base/Icons.axaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui"
<!--
SvgToXaml A Svg to Xaml converter.
Copyright (C) 2023 Wiesław Šoltés
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<ResourceDictionary xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

<StreamGeometry x:Key="DarkTheme">M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm0-2V4a8 8 0 1 1 0 16Z</StreamGeometry>
Expand Down
2 changes: 1 addition & 1 deletion src/SvgToXaml.Base/SvgToXaml.Base.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PropertyGroup>
<Description>An Svg to Xaml conveter.</Description>
<PackageId>SvgToXaml.Base</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
<PackageTags>svg;xaml;axaml;avalonia;avaloniaui;convert;converter;vector graphics;rendering;2d;graphics;geometry;shapes;skiasharp;skia</PackageTags>
</PropertyGroup>

Expand Down
17 changes: 17 additions & 0 deletions src/SvgToXaml.Base/ViewLocator.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SvgToXaml A Svg to Xaml converter.
* Copyright (C) 2023 Wiesław Šoltés
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
Expand Down
19 changes: 18 additions & 1 deletion src/SvgToXaml.Base/ViewModels/FileItemViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
using System;
/*
* SvgToXaml A Svg to Xaml converter.
* Copyright (C) 2023 Wiesław Šoltés
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
using System;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using System.Windows.Input;
Expand Down
19 changes: 18 additions & 1 deletion src/SvgToXaml.Base/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
using System;
/*
* SvgToXaml A Svg to Xaml converter.
* Copyright (C) 2023 Wiesław Šoltés
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
Expand Down
19 changes: 18 additions & 1 deletion src/SvgToXaml.Base/ViewModels/ProjectViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
using System.Collections.ObjectModel;
/*
* SvgToXaml A Svg to Xaml converter.
* Copyright (C) 2023 Wiesław Šoltés
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
using System.Collections.ObjectModel;
using System.Text.Json.Serialization;
using Svg.Model;

Expand Down
19 changes: 18 additions & 1 deletion src/SvgToXaml.Base/ViewModels/SettingsViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
using System.Text.Json.Serialization;
/*
* SvgToXaml A Svg to Xaml converter.
* Copyright (C) 2023 Wiesław Šoltés
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
using System.Text.Json.Serialization;

namespace SvgToXaml.ViewModels;

Expand Down
17 changes: 17 additions & 0 deletions src/SvgToXaml.Base/ViewModels/StorageService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SvgToXaml A Svg to Xaml converter.
* Copyright (C) 2023 Wiesław Šoltés
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
Expand Down
17 changes: 17 additions & 0 deletions src/SvgToXaml.Base/ViewModels/SvgViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SvgToXaml A Svg to Xaml converter.
* Copyright (C) 2023 Wiesław Šoltés
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
using System.IO;
using Svg.Model;
using ShimSkiaSharp;
Expand Down
19 changes: 18 additions & 1 deletion src/SvgToXaml.Base/ViewModels/ViewModelBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
using CommunityToolkit.Mvvm.ComponentModel;
/*
* SvgToXaml A Svg to Xaml converter.
* Copyright (C) 2023 Wiesław Šoltés
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
using CommunityToolkit.Mvvm.ComponentModel;

namespace SvgToXaml.ViewModels;

Expand Down
Loading

0 comments on commit 811779e

Please sign in to comment.