From 27b6920e47e21f421b1525be977b4325a11f17a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Mon, 19 Jan 2026 00:29:20 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A9=E3=82=A4=E3=82=BB=E3=83=B3=E3=82=B9?= =?UTF-8?q?=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE.md | 34 ++++++++++++++++++++++++++++++++++ control.c | 36 ++++++++++++++++++++++++++++++++++++ control.h | 36 ++++++++++++++++++++++++++++++++++++ include/LICENSE.md | 21 +++++++++++++++++++++ include/suwaui.h | 23 +++++++++++++++++++++++ main.c | 36 ++++++++++++++++++++++++++++++++++++ 6 files changed, 186 insertions(+) create mode 100644 include/LICENSE.md diff --git a/LICENSE.md b/LICENSE.md index e69de29..4d3ad40 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -0,0 +1,34 @@ +# 076 License + +Copyright (c) 2026 テクニカル諏訪子 + +Permission is hereby granted to any person obtaining a copy of the software +UnixCalc (the "Software") to use, modify, merge, copy, publish, distribute, +sublicense, and/or sell copies of the Software, subject to the following conditions: + + 1. **Origin Attribution**: + - You must not misrepresent the origin of the Software; you must not claim + you created the original Software. + - If the Software is used in a product, you must either: + a. Provide clear attribution in the product's documentation, user interface, + or other visible areas, **OR** + b. Pay the original developers a fee they specify in writing. + 2. **Usage Restriction**: + - The Software, or any derivative works, dependencies, or libraries + incorporating it, must not be used for censorship or to suppress freedom of + speech, expression, or creativity. Prohibited uses include, but are not + limited to: + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, + ideas, or objective reality. + - Tools or systems designed to restrict access to information or + artistic works. + 3. **Notice Preservation**: + - This license and the above copyright notice must remain intact in all copies + of the source code. + +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/control.c b/control.c index a9d3ca1..9466b59 100644 --- a/control.c +++ b/control.c @@ -1,3 +1,39 @@ +/************************************************************************************** +# 076 License + +Copyright (c) 2026 テクニカル諏訪子 + +Permission is hereby granted to any person obtaining a copy of the software +UnixCalc (the "Software") to use, modify, merge, copy, publish, distribute, +sublicense, and/or sell copies of the Software, subject to the following conditions: + + 1. **Origin Attribution**: + - You must not misrepresent the origin of the Software; you must not claim + you created the original Software. + - If the Software is used in a product, you must either: + a. Provide clear attribution in the product's documentation, user interface, + or other visible areas, **OR** + b. Pay the original developers a fee they specify in writing. + 2. **Usage Restriction**: + - The Software, or any derivative works, dependencies, or libraries + incorporating it, must not be used for censorship or to suppress freedom of + speech, expression, or creativity. Prohibited uses include, but are not + limited to: + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, + ideas, or objective reality. + - Tools or systems designed to restrict access to information or + artistic works. + 3. **Notice Preservation**: + - This license and the above copyright notice must remain intact in all copies + of the source code. + +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. +**************************************************************************************/ #include #include #include diff --git a/control.h b/control.h index 4d37b1b..8dabbfd 100644 --- a/control.h +++ b/control.h @@ -1,3 +1,39 @@ +/************************************************************************************** +# 076 License + +Copyright (c) 2026 テクニカル諏訪子 + +Permission is hereby granted to any person obtaining a copy of the software +UnixCalc (the "Software") to use, modify, merge, copy, publish, distribute, +sublicense, and/or sell copies of the Software, subject to the following conditions: + + 1. **Origin Attribution**: + - You must not misrepresent the origin of the Software; you must not claim + you created the original Software. + - If the Software is used in a product, you must either: + a. Provide clear attribution in the product's documentation, user interface, + or other visible areas, **OR** + b. Pay the original developers a fee they specify in writing. + 2. **Usage Restriction**: + - The Software, or any derivative works, dependencies, or libraries + incorporating it, must not be used for censorship or to suppress freedom of + speech, expression, or creativity. Prohibited uses include, but are not + limited to: + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, + ideas, or objective reality. + - Tools or systems designed to restrict access to information or + artistic works. + 3. **Notice Preservation**: + - This license and the above copyright notice must remain intact in all copies + of the source code. + +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. +**************************************************************************************/ #pragma once #include diff --git a/include/LICENSE.md b/include/LICENSE.md new file mode 100644 index 0000000..984ab38 --- /dev/null +++ b/include/LICENSE.md @@ -0,0 +1,21 @@ +# 076 Free License + +Copyright (c) 2026 テクニカル諏訪子 + +Permission is hereby granted to any person obtaining a copy of the software +SuwaUI (the "Software") to use, modify, merge, copy, publish, distribute, +sublicense, and/or sell copies of the Software, subject to the following conditions: + + 1. **Origin Attribution**: + - You must not misrepresent the origin of the Software; you must not claim + you created the original Software. + 2. **Notice Preservation**: + - This license and the above copyright notice must remain intact in all copies + of the source code. + +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/include/suwaui.h b/include/suwaui.h index 53785d2..c8cc5da 100644 --- a/include/suwaui.h +++ b/include/suwaui.h @@ -1,3 +1,26 @@ +/************************************************************************************** +# 076 Free License + +Copyright (c) 2026 テクニカル諏訪子 + +Permission is hereby granted to any person obtaining a copy of the software +SuwaUI (the "Software") to use, modify, merge, copy, publish, distribute, +sublicense, and/or sell copies of the Software, subject to the following conditions: + + 1. **Origin Attribution**: + - You must not misrepresent the origin of the Software; you must not claim + you created the original Software. + 2. **Notice Preservation**: + - This license and the above copyright notice must remain intact in all copies + of the source code. + +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. +**************************************************************************************/ #pragma once #include diff --git a/main.c b/main.c index 440be97..f12daf9 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,39 @@ +/************************************************************************************** +# 076 License + +Copyright (c) 2026 テクニカル諏訪子 + +Permission is hereby granted to any person obtaining a copy of the software +UnixCalc (the "Software") to use, modify, merge, copy, publish, distribute, +sublicense, and/or sell copies of the Software, subject to the following conditions: + + 1. **Origin Attribution**: + - You must not misrepresent the origin of the Software; you must not claim + you created the original Software. + - If the Software is used in a product, you must either: + a. Provide clear attribution in the product's documentation, user interface, + or other visible areas, **OR** + b. Pay the original developers a fee they specify in writing. + 2. **Usage Restriction**: + - The Software, or any derivative works, dependencies, or libraries + incorporating it, must not be used for censorship or to suppress freedom of + speech, expression, or creativity. Prohibited uses include, but are not + limited to: + - Censorship of so-called "hate speech", visuals, non-mainstream opinions, + ideas, or objective reality. + - Tools or systems designed to restrict access to information or + artistic works. + 3. **Notice Preservation**: + - This license and the above copyright notice must remain intact in all copies + of the source code. + +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. +**************************************************************************************/ #include #include