From 0b348db0c850bc4d0f3ea1e00787861455f8ae89 Mon Sep 17 00:00:00 2001 From: konard Date: Sat, 21 Mar 2026 22:57:13 +0000 Subject: [PATCH 1/4] Initial commit with task details Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: https://github.com/linksplatform/Numbers/issues/131 --- .gitkeep | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitkeep diff --git a/.gitkeep b/.gitkeep new file mode 100644 index 0000000..298dd6c --- /dev/null +++ b/.gitkeep @@ -0,0 +1 @@ +# .gitkeep file auto-generated at 2026-03-21T22:57:13.429Z for PR creation at branch issue-131-3611cb6f75c9 for issue https://github.com/linksplatform/Numbers/issues/131 \ No newline at end of file From 50d95bbe5182d51c6ed5fa572cc2dfa1e706eaaf Mon Sep 17 00:00:00 2001 From: konard Date: Sat, 21 Mar 2026 23:00:31 +0000 Subject: [PATCH 2/4] fix: correct license to Unlicense across all language versions - Fix Cargo.toml license field from LGPL-3.0 to Unlicense - Fix CONTRIBUTING.md license comment from LGPL-3.0 to Unlicense - Add Unlicense badge to all README files (root, Rust, C#, C++) - Add License section to all README files explaining Unlicense and its advantages over LGPL (no restrictions, truly public domain) Fixes #131 Co-Authored-By: Claude Sonnet 4.6 --- CONTRIBUTING.md | 2 +- README.md | 9 +++++++++ changelog.d/20260321_000000_fix_license.md | 13 +++++++++++++ cpp/README.md | 9 +++++++++ csharp/README.md | 9 +++++++++ rust/Cargo.toml | 2 +- rust/README.md | 9 +++++++++ 7 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 changelog.d/20260321_000000_fix_license.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 88337de..2e028df 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -267,7 +267,7 @@ Fragments are automatically collected into CHANGELOG.md during the release proce ├── .pre-commit-config.yaml # Pre-commit hooks ├── CHANGELOG.md # Project changelog ├── CONTRIBUTING.md # This file -├── LICENSE # LGPL-3.0 +├── LICENSE # Unlicense (public domain) └── README.md # Project README ``` diff --git a/README.md b/README.md index ea0498f..333f09e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/) [![Open in GitHub Codespaces](https://img.shields.io/badge/Codespaces-open-blue?logo=github)](https://codespaces.new/linksplatform/Numbers) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d0f7cbadcfbe43f7b9c732ec8603d974)](https://app.codacy.com/gh/linksplatform/Numbers?utm_source=github.com&utm_medium=referral&utm_content=linksplatform/Numbers&utm_campaign=Badge_Grade_Settings) @@ -14,3 +15,11 @@ LinksPlatform's Platform.Numbers Library. Forked from: [Konard/LinksPlatform/Platform/Platform.Helpers/Numbers](https://github.com/Konard/LinksPlatform/tree/19902d5c6221b5c93a5e06849de28bb97edac5f8/Platform/Platform.Helpers/Numbers) + +## License + +This library is released to the **public domain** under the [Unlicense](http://unlicense.org/). + +The Unlicense is the most permissive license available — it places no restrictions whatsoever on users. You are free to copy, modify, publish, use, compile, sell, or distribute this software for any purpose, commercial or non-commercial, in any way you choose, with no conditions attached. + +Unlike LGPL, which forces users to redistribute modifications under the same license and comply with specific obligations (linking restrictions, source disclosure for modifications), the Unlicense imposes **no obligations at all**. It is truly free as in freedom. diff --git a/changelog.d/20260321_000000_fix_license.md b/changelog.d/20260321_000000_fix_license.md new file mode 100644 index 0000000..d8756d1 --- /dev/null +++ b/changelog.d/20260321_000000_fix_license.md @@ -0,0 +1,13 @@ +--- +bump: patch +--- + +### Fixed + +- Corrected license declaration in `rust/Cargo.toml` from `LGPL-3.0` to `Unlicense` (public domain) +- Updated license description in `CONTRIBUTING.md` from `LGPL-3.0` to `Unlicense (public domain)` + +### Changed + +- Added Unlicense badge to all README files (root, Rust, C#, C++) +- Added License section to all README files explaining the Unlicense and its advantages over LGPL diff --git a/cpp/README.md b/cpp/README.md index 22bc835..1abe897 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -1,3 +1,4 @@ +[![Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/) [![Actions Status](https://github.com/linksplatform/Numbers/workflows/Deploy%20new%20cpp%20version/badge.svg)](https://github.com/linksplatform/Numbers/actions?workflow=Deploy+new+cpp+version) # [Numbers](https://github.com/linksplatform/Numbers) for C++ @@ -41,3 +42,11 @@ target_link_libraries(your_target PRIVATE Platform.Numbers) - [Platform.Interfaces](https://github.com/linksplatform/Interfaces) (C++ version) + +## License + +This library is released to the **public domain** under the [Unlicense](http://unlicense.org/). + +The Unlicense is the most permissive license available — it places no restrictions whatsoever on users. You are free to copy, modify, publish, use, compile, sell, or distribute this software for any purpose, commercial or non-commercial, in any way you choose, with no conditions attached. + +Unlike LGPL, which forces users to redistribute modifications under the same license and comply with specific obligations (linking restrictions, source disclosure for modifications), the Unlicense imposes **no obligations at all**. It is truly free as in freedom. diff --git a/csharp/README.md b/csharp/README.md index 3e17c07..49f462c 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -1,3 +1,4 @@ +[![Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/) [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Numbers?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Numbers) [![Actions Status](https://github.com/linksplatform/Numbers/workflows/CD/badge.svg)](https://github.com/linksplatform/Numbers/actions?workflow=CD) @@ -54,3 +55,11 @@ with code for e-readers. - [Platform.Unsafe](https://github.com/linksplatform/Unsafe) - [Platform.Data](https://github.com/linksplatform/Data) + +## License + +This library is released to the **public domain** under the [Unlicense](http://unlicense.org/). + +The Unlicense is the most permissive license available — it places no restrictions whatsoever on users. You are free to copy, modify, publish, use, compile, sell, or distribute this software for any purpose, commercial or non-commercial, in any way you choose, with no conditions attached. + +Unlike LGPL, which forces users to redistribute modifications under the same license and comply with specific obligations (linking restrictions, source disclosure for modifications), the Unlicense imposes **no obligations at all**. It is truly free as in freedom. diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 350db27..bdffe63 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -4,7 +4,7 @@ version = "0.2.0" edition = "2021" rust-version = "1.70" authors = ["uselesssgoddess", "Linksplatform Team "] -license = "LGPL-3.0" +license = "Unlicense" repository = "https://github.com/linksplatform/Numbers" homepage = "https://github.com/linksplatform/Numbers" description = """ diff --git a/rust/README.md b/rust/README.md index d84587e..46b785e 100644 --- a/rust/README.md +++ b/rust/README.md @@ -1,3 +1,4 @@ +[![Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/) [![Crates.io](https://img.shields.io/crates/v/platform-num?label=crates.io&style=flat)](https://crates.io/crates/platform-num) [![Rust CI/CD Pipeline](https://github.com/linksplatform/Numbers/workflows/Rust%20CI%2FCD%20Pipeline/badge.svg)](https://github.com/linksplatform/Numbers/actions?workflow=Rust+CI%2FCD+Pipeline) [![Docs.rs](https://docs.rs/platform-num/badge.svg)](https://docs.rs/platform-num) @@ -98,3 +99,11 @@ assert_eq!(to_usize(42u32), 42usize); ([trees-rs](https://github.com/linksplatform/trees-rs)) - [doublets](https://crates.io/crates/doublets) ([doublets-rs](https://github.com/linksplatform/doublets-rs)) + +## License + +This crate is released to the **public domain** under the [Unlicense](http://unlicense.org/). + +The Unlicense is the most permissive license available — it places no restrictions whatsoever on users. You are free to copy, modify, publish, use, compile, sell, or distribute this software for any purpose, commercial or non-commercial, in any way you choose, with no conditions attached. + +Unlike LGPL, which forces users to redistribute modifications under the same license and comply with specific obligations (linking restrictions, source disclosure for modifications), the Unlicense imposes **no obligations at all**. It is truly free as in freedom. From dd3f3a0ec016b323dcea4bf3344769c790192ee0 Mon Sep 17 00:00:00 2001 From: konard Date: Sat, 21 Mar 2026 23:01:03 +0000 Subject: [PATCH 3/4] Revert "Initial commit with task details" This reverts commit 0b348db0c850bc4d0f3ea1e00787861455f8ae89. --- .gitkeep | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .gitkeep diff --git a/.gitkeep b/.gitkeep deleted file mode 100644 index 298dd6c..0000000 --- a/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# .gitkeep file auto-generated at 2026-03-21T22:57:13.429Z for PR creation at branch issue-131-3611cb6f75c9 for issue https://github.com/linksplatform/Numbers/issues/131 \ No newline at end of file From b277c4a5c598c6dc0bf21f18b9cb2ac87d953500 Mon Sep 17 00:00:00 2001 From: konard Date: Sat, 21 Mar 2026 23:07:17 +0000 Subject: [PATCH 4/4] fix: wrap long lines in license sections to satisfy markdownlint MD013 Codacy Static Code Analysis flagged 8 new MD013 (line-length) violations introduced by the license section paragraphs added to the 4 README files. Wrapped lines to stay within the 80-character limit. Co-Authored-By: Claude Sonnet 4.6 --- README.md | 13 ++++++++++--- cpp/README.md | 13 ++++++++++--- csharp/README.md | 13 ++++++++++--- rust/README.md | 13 ++++++++++--- 4 files changed, 40 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 333f09e..43b6668 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,13 @@ Forked from: [Konard/LinksPlatform/Platform/Platform.Helpers/Numbers](https://gi This library is released to the **public domain** under the [Unlicense](http://unlicense.org/). -The Unlicense is the most permissive license available — it places no restrictions whatsoever on users. You are free to copy, modify, publish, use, compile, sell, or distribute this software for any purpose, commercial or non-commercial, in any way you choose, with no conditions attached. - -Unlike LGPL, which forces users to redistribute modifications under the same license and comply with specific obligations (linking restrictions, source disclosure for modifications), the Unlicense imposes **no obligations at all**. It is truly free as in freedom. +The Unlicense is the most permissive license available — it places no +restrictions whatsoever on users. You are free to copy, modify, publish, +use, compile, sell, or distribute this software for any purpose, +commercial or non-commercial, in any way you choose, with no conditions +attached. + +Unlike LGPL, which forces users to redistribute modifications under the +same license and comply with specific obligations (linking restrictions, +source disclosure for modifications), the Unlicense imposes +**no obligations at all**. It is truly free as in freedom. diff --git a/cpp/README.md b/cpp/README.md index 1abe897..fb7ca58 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -47,6 +47,13 @@ target_link_libraries(your_target PRIVATE Platform.Numbers) This library is released to the **public domain** under the [Unlicense](http://unlicense.org/). -The Unlicense is the most permissive license available — it places no restrictions whatsoever on users. You are free to copy, modify, publish, use, compile, sell, or distribute this software for any purpose, commercial or non-commercial, in any way you choose, with no conditions attached. - -Unlike LGPL, which forces users to redistribute modifications under the same license and comply with specific obligations (linking restrictions, source disclosure for modifications), the Unlicense imposes **no obligations at all**. It is truly free as in freedom. +The Unlicense is the most permissive license available — it places no +restrictions whatsoever on users. You are free to copy, modify, publish, +use, compile, sell, or distribute this software for any purpose, +commercial or non-commercial, in any way you choose, with no conditions +attached. + +Unlike LGPL, which forces users to redistribute modifications under the +same license and comply with specific obligations (linking restrictions, +source disclosure for modifications), the Unlicense imposes +**no obligations at all**. It is truly free as in freedom. diff --git a/csharp/README.md b/csharp/README.md index 49f462c..2d6952f 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -60,6 +60,13 @@ with code for e-readers. This library is released to the **public domain** under the [Unlicense](http://unlicense.org/). -The Unlicense is the most permissive license available — it places no restrictions whatsoever on users. You are free to copy, modify, publish, use, compile, sell, or distribute this software for any purpose, commercial or non-commercial, in any way you choose, with no conditions attached. - -Unlike LGPL, which forces users to redistribute modifications under the same license and comply with specific obligations (linking restrictions, source disclosure for modifications), the Unlicense imposes **no obligations at all**. It is truly free as in freedom. +The Unlicense is the most permissive license available — it places no +restrictions whatsoever on users. You are free to copy, modify, publish, +use, compile, sell, or distribute this software for any purpose, +commercial or non-commercial, in any way you choose, with no conditions +attached. + +Unlike LGPL, which forces users to redistribute modifications under the +same license and comply with specific obligations (linking restrictions, +source disclosure for modifications), the Unlicense imposes +**no obligations at all**. It is truly free as in freedom. diff --git a/rust/README.md b/rust/README.md index 46b785e..63cb462 100644 --- a/rust/README.md +++ b/rust/README.md @@ -104,6 +104,13 @@ assert_eq!(to_usize(42u32), 42usize); This crate is released to the **public domain** under the [Unlicense](http://unlicense.org/). -The Unlicense is the most permissive license available — it places no restrictions whatsoever on users. You are free to copy, modify, publish, use, compile, sell, or distribute this software for any purpose, commercial or non-commercial, in any way you choose, with no conditions attached. - -Unlike LGPL, which forces users to redistribute modifications under the same license and comply with specific obligations (linking restrictions, source disclosure for modifications), the Unlicense imposes **no obligations at all**. It is truly free as in freedom. +The Unlicense is the most permissive license available — it places no +restrictions whatsoever on users. You are free to copy, modify, publish, +use, compile, sell, or distribute this software for any purpose, +commercial or non-commercial, in any way you choose, with no conditions +attached. + +Unlike LGPL, which forces users to redistribute modifications under the +same license and comply with specific obligations (linking restrictions, +source disclosure for modifications), the Unlicense imposes +**no obligations at all**. It is truly free as in freedom.