Skip to content

Commit acfd8dc

Browse files
committed
Switch project license to AGPLv3 and test visibility
Replaces the project's license from GNU GPL v3 to the GNU Affero General Public License v3: updated LICENSE (full AGPL text) and updated license headers across source files. Adds InternalsVisibleTo("ThreadPilot.Core.Tests") (plus using System.Runtime.CompilerServices) in AssemblyInfo to allow test access to internal types. Also introduces Services/TaskSafety.cs and two new test files under Tests/ThreadPilot.Core.Tests to cover task safety. These changes apply the AGPLv3 terms and enable internal API access for unit tests.
1 parent e3b6d1b commit acfd8dc

127 files changed

Lines changed: 1536 additions & 1154 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

App.xaml.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System;

AssemblyInfo.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,21 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System.Windows;
18+
using System.Runtime.CompilerServices;
19+
20+
[assembly: InternalsVisibleTo("ThreadPilot.Core.Tests")]
1821

1922
[assembly:ThemeInfo(
2023
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located

Converters/BoolToColorConverter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System;

Converters/BoolToFontWeightConverter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System;

Converters/BoolToStringConverter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System;

Converters/BoolToVisibilityConverter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System;

Converters/BytesToStringConverter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System;

Converters/CpuTopologyConverters.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System;

Converters/InverseBooleanConverter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System;

Converters/ItemIndexConverter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2025 Prime Build
44
*
55
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
6+
* it under the terms of the GNU Affero General Public License as published by
77
* the Free Software Foundation, version 3 only.
88
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
12+
* GNU Affero General Public License for more details.
1313
*
14-
* You should have received a copy of the GNU General Public License
14+
* You should have received a copy of the GNU Affero General Public License
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
using System;

0 commit comments

Comments
 (0)