From 98a479da5eb784ce8bd95f5311c055384bcc2e86 Mon Sep 17 00:00:00 2001 From: Skorinn <42702903+Skorinn@users.noreply.github.com> Date: Thu, 3 Sep 2026 12:00:37 -0500 Subject: [PATCH 1/3] Release under the MIT licence The source files each claimed to be confidential and proprietary, which is not what this is meant to be. - Added the MIT licence text as LICENSE. - Replaced the proprietary notice in all 41 source and documentation files with the copyright line and a pointer to the licence, keeping attribution. - Updated the header template in the coding guidelines so files written from now on carry the same notice. - Updated the copyright recorded in both assemblies, which is what shows in the file properties of the built binaries. - Reworked the licence section of the README. TruRNGpro/rng.h is left alone. It is third-party and its author states in the file that it carries no copyright and no warranty, so it is not this project's to relicense. The README says so, correcting what it previously said about the licensing being unestablished. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_0153VVkWg7DQmdaNLcvtY37w --- CODING_GUIDELINES.md | 4 ++-- DeviceUpdateThread.cs | 4 ++-- GeneratorForm.Designer.cs | 4 ++-- GeneratorForm.cs | 4 ++-- HistogramChart.cs | 4 ++-- LICENSE | 21 +++++++++++++++++++ Program.cs | 4 ++-- Properties/AssemblyInfo.cs | 2 +- README.md | 11 +++++++--- RNGChart.cs | 4 ++-- RNGDevice.cs | 4 ++-- RNGDeviceTimer.cs | 4 ++-- RNGSessionData.cs | 4 ++-- RNGSessionDataFile.cs | 4 ++-- RNGSessionTimer.cs | 4 ++-- RNGXMLReader.cs | 4 ++-- RNGXMLWriter.cs | 4 ++-- .../CODING_GUIDELINES_TESTS.md | 4 ++-- .../DeviceUpdateThread.Test.cs | 4 ++-- .../GeneratorForm.Test.cs | 4 ++-- .../HistogramChart.Test.cs | 4 ++-- .../Properties/AssemblyInfo.cs | 2 +- RandomNumberGenerator.Test/RNGChart.Test.cs | 4 ++-- RandomNumberGenerator.Test/RNGDevice.Test.cs | 4 ++-- .../RNGDeviceTimer.Test.cs | 4 ++-- .../RNGSessionData.Test.cs | 4 ++-- .../RNGSessionDataFile.Test.cs | 4 ++-- .../RNGSessionTimer.Test.cs | 4 ++-- .../RNGXMLReader.Test.cs | 4 ++-- .../RNGXMLWriter.Test.cs | 4 ++-- .../StatisticalAnalysis.Test.cs | 4 ++-- .../TargetValues.Test.cs | 4 ++-- .../XMLDataPoint.Test.cs | 4 ++-- StatisticalAnalysis.cs | 4 ++-- TargetValues.cs | 4 ++-- TruRNGpro/CODING_GUIDELINES_CPP.md | 4 ++-- TruRNGpro/RNGInterface.h | 4 ++-- TruRNGpro/RNGSimulator.h | 4 ++-- TruRNGpro/TruRNGpro.h | 4 ++-- TruRNGpro/TruRNGproMain.cpp | 4 ++-- TruRNGpro/framework.h | 4 ++-- TruRNGpro/pch.cpp | 4 ++-- TruRNGpro/pch.h | 4 ++-- XMLConstants.cs | 4 ++-- XMLDataPoint.cs | 4 ++-- 45 files changed, 113 insertions(+), 87 deletions(-) create mode 100644 LICENSE diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md index 9b4c90e..14fe435 100644 --- a/CODING_GUIDELINES.md +++ b/CODING_GUIDELINES.md @@ -13,8 +13,8 @@ All source files must include a standardized header: // File Name: [FileName].cs // Description: [Brief description of the file's purpose] // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/DeviceUpdateThread.cs b/DeviceUpdateThread.cs index 48d119d..ec15b47 100644 --- a/DeviceUpdateThread.cs +++ b/DeviceUpdateThread.cs @@ -2,8 +2,8 @@ // File Name: DeviceUpdateThread.cs // Description: Thread for asynchronously updating the device list // -// Copyright (C) 2023 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2023 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/GeneratorForm.Designer.cs b/GeneratorForm.Designer.cs index 0ad8531..5a9852f 100644 --- a/GeneratorForm.Designer.cs +++ b/GeneratorForm.Designer.cs @@ -2,8 +2,8 @@ // File Name: GeneratorForm.Designer.cs // Description: Auto-generated code for the Random Number Generator GUI // -// Copyright (C) 2022-2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2022-2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/GeneratorForm.cs b/GeneratorForm.cs index d1004fa..9d7567c 100644 --- a/GeneratorForm.cs +++ b/GeneratorForm.cs @@ -2,8 +2,8 @@ // File Name: GeneratorForm.cs // Description: Implementation of the Random Number Generator GUI // -// Copyright (C) 2022-2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2022-2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/HistogramChart.cs b/HistogramChart.cs index de68bd0..85fcda3 100644 --- a/HistogramChart.cs +++ b/HistogramChart.cs @@ -2,8 +2,8 @@ // File Name: HistogramChart.cs // Description: Histogram chart component for displaying random number generator data distribution // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..91a4813 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022-2026 Mike Pullen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Program.cs b/Program.cs index 7e365e9..fe39afb 100644 --- a/Program.cs +++ b/Program.cs @@ -2,8 +2,8 @@ // File Name: Program.cs // Description: Primary class for the Random Number Generator program // -// Copyright (C) 2022 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2022 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 6cb007b..33e9b79 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -9,7 +9,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Random Number Generator")] -[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyCopyright("Copyright (c) 2022-2026 Mike Pullen. MIT License.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/README.md b/README.md index 7e2b6f1..d10ae18 100644 --- a/README.md +++ b/README.md @@ -145,8 +145,13 @@ The coding standards are written down and are followed throughout: - `Externals/CommonControls.dll` and `Externals/DeviceInterfaces.dll`, committed binaries with no source in this repository - `TruRNGpro/rng.h`, a third-party header that wraps the serial port setup and reads for the device. Its - licensing has not been established, which is worth settling before the code is distributed. + author states in the file that it carries no copyright and no warranty, so it is treated as being in the + public domain rather than under this project's licence. It is not a formal dedication such as CC0, which + is worth bearing in mind if the licensing of the whole ever has to be stated precisely. -## Copyright +## Licence -Copyright (C) Mike Pullen. All rights reserved. The source files are marked confidential and proprietary. +[MIT](LICENSE). Copyright (c) 2022-2026 Mike Pullen. + +You may use, modify and redistribute this, including commercially, provided the copyright notice and the +permission notice are kept. It comes with no warranty. diff --git a/RNGChart.cs b/RNGChart.cs index 8906b5a..585659a 100644 --- a/RNGChart.cs +++ b/RNGChart.cs @@ -2,8 +2,8 @@ // File Name: RNGChart.cs // Description: Random Number Generator result chart class // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RNGDevice.cs b/RNGDevice.cs index 20e290a..e6afa33 100644 --- a/RNGDevice.cs +++ b/RNGDevice.cs @@ -2,8 +2,8 @@ // File Name: RNGDevice.cs // Description: Implementation of the RNG device class // -// Copyright (C) 2023-2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2023-2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RNGDeviceTimer.cs b/RNGDeviceTimer.cs index 9e03b52..85965eb 100644 --- a/RNGDeviceTimer.cs +++ b/RNGDeviceTimer.cs @@ -2,8 +2,8 @@ // File Name: RNGDeviceTimer.cs // Description: Implementation of the timer for reading from the device // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RNGSessionData.cs b/RNGSessionData.cs index 9fa287c..3c7d69e 100644 --- a/RNGSessionData.cs +++ b/RNGSessionData.cs @@ -2,8 +2,8 @@ // File Name: RNGSessionData.cs // Description: Representation of the data from a Random Number Generator session // -// Copyright (C) 2023-2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2023-2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RNGSessionDataFile.cs b/RNGSessionDataFile.cs index 7f29e25..15c5857 100644 --- a/RNGSessionDataFile.cs +++ b/RNGSessionDataFile.cs @@ -2,8 +2,8 @@ // File Name: RNGSessionDataFile.cs // Description: Interface to a Random Number Generator file // -// Copyright (C) 2023-2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2023-2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RNGSessionTimer.cs b/RNGSessionTimer.cs index 32cf1eb..ae11f80 100644 --- a/RNGSessionTimer.cs +++ b/RNGSessionTimer.cs @@ -2,8 +2,8 @@ // File Name: RNGSessionTimer.cs // Description: Timer for tracking the elapsed time of a Random Number Generator session // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RNGXMLReader.cs b/RNGXMLReader.cs index 2c49531..372c1c8 100644 --- a/RNGXMLReader.cs +++ b/RNGXMLReader.cs @@ -2,8 +2,8 @@ // File Name: RNGXMLReader.cs // Description: Handles reading RNG data from an XML file // -// Copyright (C) 2023-2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2023-2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RNGXMLWriter.cs b/RNGXMLWriter.cs index 78ddddc..f402a42 100644 --- a/RNGXMLWriter.cs +++ b/RNGXMLWriter.cs @@ -2,8 +2,8 @@ // File Name: RNGXMLWriter.cs // Description: Handles writing the RNG data to an XML file // -// Copyright (C) 2023-2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2023-2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/CODING_GUIDELINES_TESTS.md b/RandomNumberGenerator.Test/CODING_GUIDELINES_TESTS.md index 5160e7b..cfdcca0 100644 --- a/RandomNumberGenerator.Test/CODING_GUIDELINES_TESTS.md +++ b/RandomNumberGenerator.Test/CODING_GUIDELINES_TESTS.md @@ -29,8 +29,8 @@ All test files must include the standardized header: // File Name: [ClassName].Test.cs // Description: Unit tests for the [ClassName] class // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/DeviceUpdateThread.Test.cs b/RandomNumberGenerator.Test/DeviceUpdateThread.Test.cs index 8c07347..d72bb6d 100644 --- a/RandomNumberGenerator.Test/DeviceUpdateThread.Test.cs +++ b/RandomNumberGenerator.Test/DeviceUpdateThread.Test.cs @@ -2,8 +2,8 @@ // File Name: DeviceUpdateThread.Test.cs // Description: Unit tests for the DeviceUpdateThread class // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/GeneratorForm.Test.cs b/RandomNumberGenerator.Test/GeneratorForm.Test.cs index b686ca2..3bfdc51 100644 --- a/RandomNumberGenerator.Test/GeneratorForm.Test.cs +++ b/RandomNumberGenerator.Test/GeneratorForm.Test.cs @@ -2,8 +2,8 @@ // File Name: GeneratorForm.Test.cs // Description: Unit tests for the GeneratorForm class // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/HistogramChart.Test.cs b/RandomNumberGenerator.Test/HistogramChart.Test.cs index c5f05c0..3f382f8 100644 --- a/RandomNumberGenerator.Test/HistogramChart.Test.cs +++ b/RandomNumberGenerator.Test/HistogramChart.Test.cs @@ -2,8 +2,8 @@ // File Name: HistogramChart.Test.cs // Description: Unit tests for the HistogramChart class // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/Properties/AssemblyInfo.cs b/RandomNumberGenerator.Test/Properties/AssemblyInfo.cs index 05afe9d..dde904a 100644 --- a/RandomNumberGenerator.Test/Properties/AssemblyInfo.cs +++ b/RandomNumberGenerator.Test/Properties/AssemblyInfo.cs @@ -6,7 +6,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Random Number Generator.Test")] -[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyCopyright("Copyright (c) 2022-2026 Mike Pullen. MIT License.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/RandomNumberGenerator.Test/RNGChart.Test.cs b/RandomNumberGenerator.Test/RNGChart.Test.cs index f13e3a2..af5873f 100644 --- a/RandomNumberGenerator.Test/RNGChart.Test.cs +++ b/RandomNumberGenerator.Test/RNGChart.Test.cs @@ -2,8 +2,8 @@ // File Name: RNGChart.Test.cs // Description: Unit tests for the RNGChart class // -// Copyright (C) 2026 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2026 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/RNGDevice.Test.cs b/RandomNumberGenerator.Test/RNGDevice.Test.cs index 27c9cb0..16639ee 100644 --- a/RandomNumberGenerator.Test/RNGDevice.Test.cs +++ b/RandomNumberGenerator.Test/RNGDevice.Test.cs @@ -2,8 +2,8 @@ // File Name: RNGDevice.Test.cs // Description: Unit tests for the RNGDevice class // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/RNGDeviceTimer.Test.cs b/RandomNumberGenerator.Test/RNGDeviceTimer.Test.cs index f7a3c87..14b2c92 100644 --- a/RandomNumberGenerator.Test/RNGDeviceTimer.Test.cs +++ b/RandomNumberGenerator.Test/RNGDeviceTimer.Test.cs @@ -2,8 +2,8 @@ // File Name: RNGDeviceTimer.Test.cs // Description: Unit tests for the RNGDeviceTimer class // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/RNGSessionData.Test.cs b/RandomNumberGenerator.Test/RNGSessionData.Test.cs index 5d3e571..e01c966 100644 --- a/RandomNumberGenerator.Test/RNGSessionData.Test.cs +++ b/RandomNumberGenerator.Test/RNGSessionData.Test.cs @@ -2,8 +2,8 @@ // File Name: RNGSessionData.Test.cs // Description: Unit tests for the RNGSessionData class // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/RNGSessionDataFile.Test.cs b/RandomNumberGenerator.Test/RNGSessionDataFile.Test.cs index 6fbb182..ecea36f 100644 --- a/RandomNumberGenerator.Test/RNGSessionDataFile.Test.cs +++ b/RandomNumberGenerator.Test/RNGSessionDataFile.Test.cs @@ -2,8 +2,8 @@ // File Name: RNGSessionDataFile.Test.cs // Description: Unit tests for the RNGSessionDataFile class // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/RNGSessionTimer.Test.cs b/RandomNumberGenerator.Test/RNGSessionTimer.Test.cs index 37d69f5..7654ef4 100644 --- a/RandomNumberGenerator.Test/RNGSessionTimer.Test.cs +++ b/RandomNumberGenerator.Test/RNGSessionTimer.Test.cs @@ -2,8 +2,8 @@ // File Name: RNGSessionTimer.Test.cs // Description: Unit tests for the RNGSessionTimer class // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/RNGXMLReader.Test.cs b/RandomNumberGenerator.Test/RNGXMLReader.Test.cs index 25752ff..3f1f3ff 100644 --- a/RandomNumberGenerator.Test/RNGXMLReader.Test.cs +++ b/RandomNumberGenerator.Test/RNGXMLReader.Test.cs @@ -2,8 +2,8 @@ // File Name: RNGXMLReader.Test.cs // Description: Unit tests for the RNGXMLReader class // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/RNGXMLWriter.Test.cs b/RandomNumberGenerator.Test/RNGXMLWriter.Test.cs index 5d12b2b..351da43 100644 --- a/RandomNumberGenerator.Test/RNGXMLWriter.Test.cs +++ b/RandomNumberGenerator.Test/RNGXMLWriter.Test.cs @@ -2,8 +2,8 @@ // File Name: RNGSessionDataFile.Test.cs // Description: Unit tests for the RNGXMLWriter class // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/StatisticalAnalysis.Test.cs b/RandomNumberGenerator.Test/StatisticalAnalysis.Test.cs index 107a1a0..3128be9 100644 --- a/RandomNumberGenerator.Test/StatisticalAnalysis.Test.cs +++ b/RandomNumberGenerator.Test/StatisticalAnalysis.Test.cs @@ -2,8 +2,8 @@ // File Name: StatisticalAnalysis.Test.cs // Description: Unit tests for the StatisticalAnalysis class // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/TargetValues.Test.cs b/RandomNumberGenerator.Test/TargetValues.Test.cs index bea12dd..dddf298 100644 --- a/RandomNumberGenerator.Test/TargetValues.Test.cs +++ b/RandomNumberGenerator.Test/TargetValues.Test.cs @@ -2,8 +2,8 @@ // File Name: TargetValues.Test.cs // Description: Unit tests for the TargetValues class // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/RandomNumberGenerator.Test/XMLDataPoint.Test.cs b/RandomNumberGenerator.Test/XMLDataPoint.Test.cs index b5fad90..389fc4c 100644 --- a/RandomNumberGenerator.Test/XMLDataPoint.Test.cs +++ b/RandomNumberGenerator.Test/XMLDataPoint.Test.cs @@ -2,8 +2,8 @@ // File Name: XMLDataPoint.Test.cs // Description: Unit tests for the XMLDataPoint class // -// Copyright (C) 2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/StatisticalAnalysis.cs b/StatisticalAnalysis.cs index c2e9443..3b9c31a 100644 --- a/StatisticalAnalysis.cs +++ b/StatisticalAnalysis.cs @@ -2,8 +2,8 @@ // File Name: StatisticalAnalysis.cs // Description: Provides the statistical analysis for the results // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/TargetValues.cs b/TargetValues.cs index 54ece69..bd45c89 100644 --- a/TargetValues.cs +++ b/TargetValues.cs @@ -2,8 +2,8 @@ // File Name: TargetValues.cs // Description: Implementation of the target value options // -// Copyright (C) 2023 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2023 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/TruRNGpro/CODING_GUIDELINES_CPP.md b/TruRNGpro/CODING_GUIDELINES_CPP.md index 174d60d..468ed46 100644 --- a/TruRNGpro/CODING_GUIDELINES_CPP.md +++ b/TruRNGpro/CODING_GUIDELINES_CPP.md @@ -25,8 +25,8 @@ All C++ source files must include a standardized header: //* File Name: [FileName].h/.cpp //* Description: [Brief description of the file's purpose] //* -//* Copyright (C) 2025 Mike Pullen. All Rights Reserved. -//* Confidential and Proprietary +//* Copyright (c) 2025 Mike Pullen +//* Licensed under the MIT License. See LICENSE in the repository root. //* //* Revision History: //===================================================================================================================== diff --git a/TruRNGpro/RNGInterface.h b/TruRNGpro/RNGInterface.h index 5a7b52f..cec7411 100644 --- a/TruRNGpro/RNGInterface.h +++ b/TruRNGpro/RNGInterface.h @@ -2,8 +2,8 @@ //* File Name: RNGInterface.h //* Description: Interface to random number generator peripherals //* -//* Copyright (C) 2023 Mike Pullen. All Rights Reserved. -//* Confidential and Proprietary +//* Copyright (c) 2023 Mike Pullen +//* Licensed under the MIT License. See LICENSE in the repository root. //* //* Revision History: //===================================================================================================================== diff --git a/TruRNGpro/RNGSimulator.h b/TruRNGpro/RNGSimulator.h index 6930cef..1b465e6 100644 --- a/TruRNGpro/RNGSimulator.h +++ b/TruRNGpro/RNGSimulator.h @@ -2,8 +2,8 @@ //* File Name: RNGSimulator.h //* Description: Simulator for the RNGSimulator device //* -//* Copyright (C) 2022 Mike Pullen. All Rights Reserved. -//* Confidential and Proprietary +//* Copyright (c) 2022 Mike Pullen +//* Licensed under the MIT License. See LICENSE in the repository root. //* //* Revision History: //===================================================================================================================== diff --git a/TruRNGpro/TruRNGpro.h b/TruRNGpro/TruRNGpro.h index 7c6e9a1..5d4608e 100644 --- a/TruRNGpro/TruRNGpro.h +++ b/TruRNGpro/TruRNGpro.h @@ -2,8 +2,8 @@ //* File Name: TruRNGpro.h //* Description: Interface to the TruRNGPro device //* -//* Copyright (C) 2022 Mike Pullen. All Rights Reserved. -//* Confidential and Proprietary +//* Copyright (c) 2022 Mike Pullen +//* Licensed under the MIT License. See LICENSE in the repository root. //* //* Revision History: //===================================================================================================================== diff --git a/TruRNGpro/TruRNGproMain.cpp b/TruRNGpro/TruRNGproMain.cpp index 2f59a10..4c5fd07 100644 --- a/TruRNGpro/TruRNGproMain.cpp +++ b/TruRNGpro/TruRNGproMain.cpp @@ -2,8 +2,8 @@ // File Name: dllmain.cpp // Description: Entry point and exported functions // -// Copyright (C) 2022-2023 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2022-2023 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //===================================================================================================================== diff --git a/TruRNGpro/framework.h b/TruRNGpro/framework.h index 48f9aae..e1f0220 100644 --- a/TruRNGpro/framework.h +++ b/TruRNGpro/framework.h @@ -2,8 +2,8 @@ //* File Name: framework.h //* Description: Includes that set the target framework //* -//* Copyright (C) 2022 Mike Pullen. All Rights Reserved. -//* Confidential and Proprietary +//* Copyright (c) 2022 Mike Pullen +//* Licensed under the MIT License. See LICENSE in the repository root. //* //* Revision History: //===================================================================================================================== diff --git a/TruRNGpro/pch.cpp b/TruRNGpro/pch.cpp index 18655e0..dc71506 100644 --- a/TruRNGpro/pch.cpp +++ b/TruRNGpro/pch.cpp @@ -2,8 +2,8 @@ //* File Name: pch.cpp //* Description: Source for building the precompiled header file //* -//* Copyright (C) 2022 Mike Pullen. All Rights Reserved. -//* Confidential and Proprietary +//* Copyright (c) 2022 Mike Pullen +//* Licensed under the MIT License. See LICENSE in the repository root. //* //* Revision History: //===================================================================================================================== diff --git a/TruRNGpro/pch.h b/TruRNGpro/pch.h index 5fde518..9af805f 100644 --- a/TruRNGpro/pch.h +++ b/TruRNGpro/pch.h @@ -6,8 +6,8 @@ //* However, files listed here are ALL re-compiled if any one of them is updated between builds. //* Do not add files here that you will be updating frequently as this negates the performance advantage. //* -//* Copyright (C) 2022 Mike Pullen. All Rights Reserved. -//* Confidential and Proprietary +//* Copyright (c) 2022 Mike Pullen +//* Licensed under the MIT License. See LICENSE in the repository root. //* //* Revision History: //===================================================================================================================== diff --git a/XMLConstants.cs b/XMLConstants.cs index 5add6bd..6cf5c2e 100644 --- a/XMLConstants.cs +++ b/XMLConstants.cs @@ -2,8 +2,8 @@ // File Name: XMLConstants.cs // Description: Shared constants for XML element and attribute names used by RNG XML classes // -// Copyright (C) 2025 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2025 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== diff --git a/XMLDataPoint.cs b/XMLDataPoint.cs index bec60a4..ba3f57f 100644 --- a/XMLDataPoint.cs +++ b/XMLDataPoint.cs @@ -2,8 +2,8 @@ // File Name: XMLDataPoint.cs // Description: Represents a data point in the XML file structure // -// Copyright (C) 2023-2024 Mike Pullen. All Rights Reserved. -// Confidential and Proprietary +// Copyright (c) 2023-2024 Mike Pullen +// Licensed under the MIT License. See LICENSE in the repository root. // // Revision History: //==================================================================================================================== From a1f1b792f0b9b63ce48fb527ceac11f399f4cf14 Mon Sep 17 00:00:00 2001 From: Skorinn <42702903+Skorinn@users.noreply.github.com> Date: Thu, 3 Sep 2026 13:53:34 -0500 Subject: [PATCH 2/3] Correct two file headers that named the wrong file RNGXMLWriter.Test.cs named RNGSessionDataFile.Test.cs and TruRNGproMain.cpp named dllmain.cpp, both left over from the files they were copied or renamed from. Every header in the repository was checked against the name of the file holding it, and these were the only two that disagreed. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_0153VVkWg7DQmdaNLcvtY37w --- RandomNumberGenerator.Test/RNGXMLWriter.Test.cs | 2 +- TruRNGpro/TruRNGproMain.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RandomNumberGenerator.Test/RNGXMLWriter.Test.cs b/RandomNumberGenerator.Test/RNGXMLWriter.Test.cs index 351da43..2960b1e 100644 --- a/RandomNumberGenerator.Test/RNGXMLWriter.Test.cs +++ b/RandomNumberGenerator.Test/RNGXMLWriter.Test.cs @@ -1,5 +1,5 @@ //********************************************************************************************************************* -// File Name: RNGSessionDataFile.Test.cs +// File Name: RNGXMLWriter.Test.cs // Description: Unit tests for the RNGXMLWriter class // // Copyright (c) 2024 Mike Pullen diff --git a/TruRNGpro/TruRNGproMain.cpp b/TruRNGpro/TruRNGproMain.cpp index 4c5fd07..80d7f9a 100644 --- a/TruRNGpro/TruRNGproMain.cpp +++ b/TruRNGpro/TruRNGproMain.cpp @@ -1,5 +1,5 @@ //********************************************************************************************************************* -// File Name: dllmain.cpp +// File Name: TruRNGproMain.cpp // Description: Entry point and exported functions // // Copyright (c) 2022-2023 Mike Pullen From 048ef9822774a35575286128c6b0a53fe5ba8a92 Mon Sep 17 00:00:00 2001 From: Skorinn <42702903+Skorinn@users.noreply.github.com> Date: Fri, 4 Sep 2026 07:09:22 -0500 Subject: [PATCH 3/3] Stop claiming a legal status for the third-party header The README said rng.h is treated as being in the public domain. Its author disclaimed copyright informally rather than making a formal dedication such as CC0, and reading a legal status into that is more than the wording supports. It now quotes what the file says, states the one thing that is certain, that the header is not covered by this project's licence, and leaves settling it with the author to whoever needs the licensing stated precisely. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_0153VVkWg7DQmdaNLcvtY37w --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d10ae18..00409f4 100644 --- a/README.md +++ b/README.md @@ -144,10 +144,11 @@ The coding standards are written down and are followed throughout: - [Moq](https://github.com/devlooped/moq) and MSTest, for the tests - `Externals/CommonControls.dll` and `Externals/DeviceInterfaces.dll`, committed binaries with no source in this repository -- `TruRNGpro/rng.h`, a third-party header that wraps the serial port setup and reads for the device. Its - author states in the file that it carries no copyright and no warranty, so it is treated as being in the - public domain rather than under this project's licence. It is not a formal dedication such as CC0, which - is worth bearing in mind if the licensing of the whole ever has to be stated precisely. +- `TruRNGpro/rng.h`, a third-party header that wraps the serial port setup and reads for the device. It is + not covered by this project's licence. Its author states in the file that it carries "No copyright, no + warranties", which is a disclaimer rather than a formal grant such as CC0, so no particular legal status + is claimed for it here. That is worth settling with the author if the licensing of the whole ever has to + be stated precisely. ## Licence