From 57826a7ef1becc964c7be5f9e7eeb07469be5049 Mon Sep 17 00:00:00 2001 From: Talarubi Date: Tue, 24 Oct 2017 21:50:54 -0400 Subject: [PATCH] Update version and license Added LICENSE.txt and GPLv3.txt. Also updated libco documentation. After discussion with byuu, libco gets a more specific ISC license to match nall, ruby and hiro. higan, as clarified in LICENSE.txt, continues to be GPL version 3 only (no "or later" clause). --- doc/style.css | 8 ++++++++ doc/usage.html | 34 +++++++++++++++++++++++++--------- libco.h | 2 +- 3 files changed, 34 insertions(+), 10 deletions(-) diff --git a/doc/style.css b/doc/style.css index 5181afde..da4a56dd 100644 --- a/doc/style.css +++ b/doc/style.css @@ -3,6 +3,14 @@ body { color: #fff; } +a { + color: #aaf; +} + +a:visited { + color: #faf; +} + code { background: #444; } diff --git a/doc/usage.html b/doc/usage.html index 3f0d81cc..efb34ec8 100644 --- a/doc/usage.html +++ b/doc/usage.html @@ -6,17 +6,32 @@ License:

-libco is released to the public domain. +libco is released under the ISC license.
+
+Copyright © 2006-2017 byuu
+
+Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE.
Contact:

-At present, you may contact me at setsunakun0 at hotmail dot com.
+At present, you may contact me as byuu at +https://board.byuu.org.
I am interested in knowing of any projects that make use of this library, though this is only a courtesy.
Foreword:

-libco is a cross-platform, public domain implementation of +libco is a cross-platform, permissively licensed implementation of cooperative-multithreading; a feature that is sorely lacking from the ISO C/C++ standard.
The library is designed for maximum speed and portability, and @@ -35,12 +50,13 @@ platforms. Porting:

This document is included as a reference for porting libco. Please submit any ports you create to me, so that libco can become more useful. Please note that -since libco is public domain, you must submit your code as a work of the -public domain in order for it to be included in the official distribution. -Full credit will be given in the source code of the official release. Please -do not bother submitting code to me under any other license -- including GPL, -LGPL, BSD or CC -- I am not interested in creating a library with multiple -different licenses depending on which targets are used. +since libco is ISC, you must submit your code as a work of the public domain, +or under the same license, in order for it to be included in the official +distribution. Full credit will be given in the source code of the official +release. Please do not bother submitting code to me under any other +license—including GPL, LGPL, BSD or CC—I am not interested in +creating a library with multiple different licenses depending on which targets +are used.
Synopsis:

diff --git a/libco.h b/libco.h index 0ea47789..22a80f43 100644 --- a/libco.h +++ b/libco.h @@ -1,7 +1,7 @@ /* libco v18.01 (2017-01-22) author: byuu - license: public domain + license: ISC */ #ifndef LIBCO_H