Skip to content

Commit

Permalink
Introduced GPLv3 license, fixed remnants of old commands
Browse files Browse the repository at this point in the history
  • Loading branch information
thebookisclosed committed Sep 22, 2019
1 parent 0806eaa commit 47d3a1c
Show file tree
Hide file tree
Showing 12 changed files with 871 additions and 19 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

20 changes: 19 additions & 1 deletion ViVe/FeatureConfiguration.cs
@@ -1,4 +1,22 @@
using System;
/*
ViVe - Vibranium feature configuration library
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;

namespace Albacore.ViVe
{
Expand Down
20 changes: 19 additions & 1 deletion ViVe/FeatureConfigurationAction.cs
@@ -1,4 +1,22 @@
namespace Albacore.ViVe
/*
ViVe - Vibranium feature configuration library
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Albacore.ViVe
{
public enum FeatureConfigurationAction
{
Expand Down
20 changes: 19 additions & 1 deletion ViVe/FeatureConfigurationSection.cs
@@ -1,4 +1,22 @@
namespace Albacore.ViVe
/*
ViVe - Vibranium feature configuration library
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Albacore.ViVe
{
public enum FeatureConfigurationSection
{
Expand Down
20 changes: 19 additions & 1 deletion ViVe/FeatureEnabledState.cs
@@ -1,4 +1,22 @@
namespace Albacore.ViVe
/*
ViVe - Vibranium feature configuration library
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Albacore.ViVe
{
public enum FeatureEnabledState
{
Expand Down
20 changes: 19 additions & 1 deletion ViVe/FeatureUsageReport.cs
@@ -1,4 +1,22 @@
namespace Albacore.ViVe
/*
ViVe - Vibranium feature configuration library
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Albacore.ViVe
{
public class FeatureUsageReport
{
Expand Down
20 changes: 19 additions & 1 deletion ViVe/FeatureUsageSubscription.cs
@@ -1,4 +1,22 @@
namespace Albacore.ViVe
/*
ViVe - Vibranium feature configuration library
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

namespace Albacore.ViVe
{
public class FeatureUsageSubscription
{
Expand Down
20 changes: 19 additions & 1 deletion ViVe/NativeMethods.cs
@@ -1,4 +1,22 @@
using System;
/*
ViVe - Vibranium feature configuration library
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Runtime.InteropServices;

namespace Albacore.ViVe
Expand Down
20 changes: 19 additions & 1 deletion ViVe/RtlDataHelpers.cs
@@ -1,4 +1,22 @@
using System.Collections.Generic;
/*
ViVe - Vibranium feature configuration library
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System.Collections.Generic;
using System.IO;

namespace Albacore.ViVe
Expand Down
20 changes: 19 additions & 1 deletion ViVe/RtlFeatureManager.cs
@@ -1,4 +1,22 @@
using System;
/*
ViVe - Vibranium feature configuration library
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
Expand Down
32 changes: 24 additions & 8 deletions ViVeTool/Program.cs
@@ -1,8 +1,24 @@
using System;
/*
ViVeTool - Vibranium feature configuration tool
Copyright (C) 2019 @thebookisclosed
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Albacore.ViVe;

namespace Albacore.ViVeTool
Expand All @@ -11,7 +27,7 @@ class Program
{
static void Main(string[] args)
{
Console.WriteLine("ViVeTool v0.1 - Vibranium feature configuration tool\n");
Console.WriteLine("ViVeTool v0.1.1 - Vibranium feature configuration tool\n");
if (args.Length < 1)
{
PrintHelp();
Expand Down Expand Up @@ -104,13 +120,13 @@ static void ProcessArgs(string[] args)
ProcessSetConfig(args, FeatureConfigurationAction.Delete);
}
#endregion
#region AddConfig
#region AddSub
else if (args[0] == "addsub")
{
ProcessSetSubs(args, false);
}
#endregion
#region DelConfig
#region DelSub
else if (args[0] == "delsub")
{
ProcessSetSubs(args, true);
Expand Down Expand Up @@ -212,7 +228,7 @@ static void ProcessSetConfig(string[] args, FeatureConfigurationAction actionToU
{
string helpPrefix = actionToUse == FeatureConfigurationAction.Delete ? "del" : "add";
Console.WriteLine("Syntax: {0}config <runtime | boot> <numeric id> <enabled state>\n [enabled state options] [variant] [variant payload kind] [variant payload] [group]\n", helpPrefix);
Console.WriteLine("If an invalid section is specified, 'runtime' will be used\n\nEnabled state types: 0 = Default, 1 = Disabled, 2 = Enabled\n");
Console.WriteLine("Enabled state types: 0 = Default, 1 = Disabled, 2 = Enabled\n");
Console.WriteLine("Examples: {0}config runtime 123456 2\n {0}config runtime 456789 2 1 4 1 0 0", helpPrefix);
return;
}
Expand Down
4 changes: 2 additions & 2 deletions ViVeTool/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,5 @@
// 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("0.1.0.0")]
[assembly: AssemblyFileVersion("0.1.0.0")]
[assembly: AssemblyVersion("0.1.1.0")]
[assembly: AssemblyFileVersion("0.1.1.0")]

0 comments on commit 47d3a1c

Please sign in to comment.