]> git.mar77i.info Git - bigintmandel/commitdiff
add 2-clause BSD license
authormar77i <mar77i@protonmail.ch>
Wed, 8 May 2024 21:12:04 +0000 (23:12 +0200)
committermar77i <mar77i@protonmail.ch>
Wed, 8 May 2024 21:12:04 +0000 (23:12 +0200)
17 files changed:
.gitignore
CMakeLists.txt
LICENSE [new file with mode: 0644]
bigintmandelwidget.cpp
bigintmandelwidget.h
colors.h
main.cpp
mandel.cpp
mandel.h
mandellabel.cpp
mandellabel.h
menubar.cpp
menubar.h
settingswidget.cpp
settingswidget.h
uint64validator.cpp
uint64validator.h

index 95e83492e328c74a4419ceb94586bb6161f413b7..4e51c96f34df9987a25876428eff430c43fb41d7 100644 (file)
@@ -1,3 +1,8 @@
+
+# .gitignore
+#
+# This file is covered by the LICENSE file in the root of this project.
+#
 # This file is used to ignore files which are generated
 # ----------------------------------------------------------------------------
 
index 1c44864c79432a2d5731233aeead5934dd57a9a8..8558204b437bba8837d96cc3b0849d6276646c2c 100644 (file)
@@ -1,3 +1,8 @@
+
+# CMakeLists.txt
+#
+# This file is covered by the LICENSE file in the root of this project.
+
 cmake_minimum_required(VERSION 3.5)
 
 project(bigintmandel VERSION 0.1 LANGUAGES CXX)
@@ -32,6 +37,7 @@ if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
     qt_add_executable(bigintmandel
         MANUAL_FINALIZATION
         ${PROJECT_SOURCES}
+        LICENSE
     )
 # Define target properties for Android with Qt 6 as:
 #    set_property(TARGET bigintmandel APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..4e12a53
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+Copyright 2024 mar77i <mar77i at protonmail dot ch>
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
index 06d8b4f38921bceef862a6aa27898641aa4992fb..91a99f1f8b33643d24d4a76136caef5565d5f85a 100644 (file)
@@ -1,5 +1,9 @@
 
-// bigintmandelwidget.cpp
+/*
+ * bigintmandelwidget.cpp
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #include <QFileDialog>
 #include <QLayout>
index db2f2d637b494b5f89a1c6c93129aeffeebd8314..05cb151c7119d136244f0d3970778f082090b10a 100644 (file)
@@ -1,5 +1,9 @@
 
-// bigintmandelwidget.h
+/*
+ * bigintmandelwidget.h
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #ifndef BIGINTMANDELWIDGET_H
 #define BIGINTMANDELWIDGET_H
index c0e3a6f393517a55a8e1347b7f19a86972c3a0cd..44b9a85e4f70e73bdd469680bceeedb2fb83d89f 100644 (file)
--- a/colors.h
+++ b/colors.h
@@ -1,5 +1,9 @@
 
-// colors.h
+/*
+ * colors.h
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #ifndef COLORS_H
 #define COLORS_H
index af96d8dd841e2694127f899ed9abf3e29a752a15..3397ce0bdceb3f181f24f1206f70fe5a591118b5 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -1,5 +1,9 @@
 
-// main.cpp
+/*
+ * main.cpp
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #include <QApplication>
 
index 74a1a110a8a7bb4ffcadb7626b0550f5476fd0c5..b02c9da0c4359640601a550b9810cd95b99c377c 100644 (file)
@@ -1,5 +1,9 @@
 
-// mandel.cpp
+/*
+ * mandel.cpp
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #include <QFile>
 #include <QJsonArray>
index 3522cc6a72faaa9288ed953d408a58e288ed061d..e2b72c9291914c63bc72658f9c4df4372d8fef0d 100644 (file)
--- a/mandel.h
+++ b/mandel.h
@@ -1,5 +1,9 @@
 
-// mandel.h
+/*
+ * mandel.h
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #ifndef MANDEL_H
 #define MANDEL_H
index f7d600c7b1a7133dcc9d554bcc68cec125558bcf..cf77420951254257ca5a2a31d60522037739273e 100644 (file)
@@ -1,5 +1,9 @@
 
-// mandellabel.cpp
+/*
+ * mandellabel.cpp
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #include <QPainter>
 
index 39a8822c53a1ef4cc72c3befcc5397eef042e761..9a89abdcc9ba765b3b39928c849f7f021ca9422d 100644 (file)
@@ -1,5 +1,9 @@
 
-// mandellabel.h
+/*
+ * mandellabel.h
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #ifndef MANDELLABEL_H
 #define MANDELLABEL_H
index f43fd13baea8175d77a833bc27f3d6f3e9e22e6c..8139ba6b3964befe08a8bef55266570c78f959bc 100644 (file)
@@ -1,5 +1,9 @@
 
-// menubar.cpp
+/*
+ * menubar.cpp
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #include <QPushButton>
 #include <qwidget.h>
index e1377f6ef4d26f82993ee17b611a266f57a129a1..87714420af481c49da31ec96a8cde2aab60fa17e 100644 (file)
--- a/menubar.h
+++ b/menubar.h
@@ -1,5 +1,9 @@
 
-// menubar.h
+/*
+ * menubar.h
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #ifndef MENUBAR_H
 #define MENUBAR_H
index dce5e990d785dca06f81eb39d5fdef29ddf3ad49..9d0d4f2fe3179deddb7ee8368253918ea21b7471 100644 (file)
@@ -1,5 +1,9 @@
 
-// settingswidget.cpp
+/*
+ * settingswidget.cpp
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #include <gmpxx.h>
 #include <QPushButton>
index 450c12ce7b7c9ce5a6dfe85cb969e440b1c1eb0e..bf96d31bc94779cea6bcae8c713ba3741de5c8cf 100644 (file)
@@ -1,5 +1,9 @@
 
-// settingswidget.h
+/*
+ * settingswidget.h
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #ifndef SETTINGSWIDGET_H
 #define SETTINGSWIDGET_H
index 6b78d2c1502b71cdfc1aca20c84c980b3b5f3723..1b438a88200b93d157db91f08cb776cd8f79d1ba 100644 (file)
@@ -1,5 +1,9 @@
 
-// uint64validator.cpp
+/*
+ * uint64validator.cpp
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #include "uint64validator.h"
 
index 1e20666a6e0d9fe05c2549f21fa4279eb16bc745..9cda7d62ced5a0cb8d73e6a450a701fd17ccf8ac 100644 (file)
@@ -1,5 +1,9 @@
 
-// uint64validator.h
+/*
+ * uint64validator.h
+ *
+ * This file is covered by the LICENSE file in the root of this project.
+ */
 
 #ifndef UINT64VALIDATOR_H
 #define UINT64VALIDATOR_H