ライセンスの追加
This commit is contained in:
34
LICENSE.md
34
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.
|
||||||
|
|||||||
36
control.c
36
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 <X11/keysym.h>
|
#include <X11/keysym.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|||||||
36
control.h
36
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
|
#pragma once
|
||||||
|
|
||||||
#include <suwaui.h>
|
#include <suwaui.h>
|
||||||
|
|||||||
21
include/LICENSE.md
Normal file
21
include/LICENSE.md
Normal file
@@ -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.
|
||||||
@@ -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
|
#pragma once
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
|||||||
36
main.c
36
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 <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user