Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CODING_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions DeviceUpdateThread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions GeneratorForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions GeneratorForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions HistogramChart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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("")]

Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,15 @@ 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
licensing has not been established, which is worth settling before the code is distributed.
- `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.

## 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.
4 changes: 2 additions & 2 deletions RNGChart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RNGDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RNGDeviceTimer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RNGSessionData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RNGSessionDataFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RNGSessionTimer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RNGXMLReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RNGXMLWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/CODING_GUIDELINES_TESTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/DeviceUpdateThread.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/GeneratorForm.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/HistogramChart.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
2 changes: 1 addition & 1 deletion RandomNumberGenerator.Test/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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("")]

Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/RNGChart.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/RNGDevice.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/RNGDeviceTimer.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/RNGSessionData.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/RNGSessionDataFile.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/RNGSessionTimer.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/RNGXMLReader.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
6 changes: 3 additions & 3 deletions RandomNumberGenerator.Test/RNGXMLWriter.Test.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//*********************************************************************************************************************
// File Name: RNGSessionDataFile.Test.cs
// File Name: RNGXMLWriter.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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/StatisticalAnalysis.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/TargetValues.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions RandomNumberGenerator.Test/XMLDataPoint.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions StatisticalAnalysis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//====================================================================================================================
Expand Down
Loading