Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.

pull/242/head
Craig Donner 2016-02-10 14:48:59 -08:00
parent 955dfe991b
commit ee6978cb68
20 changed files with 60 additions and 60 deletions

View File

@ -165,9 +165,9 @@ public domain declarations aren't necessary recognized
in the USA and some other locations. For that reason, in the USA and some other locations. For that reason,
I recommend a declaration along these lines: I recommend a declaration along these lines:
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy // license: you are granted a perpetual, irrevocable license to copy, modify,
// and modify this file as you see fit. // publish, and distribute this file as you see fit.
I typically place this declaration at the end of the initial I typically place this declaration at the end of the initial
comment block of the file and just say 'public domain' comment block of the file and just say 'public domain'

View File

@ -95,9 +95,9 @@ public domain declarations aren't necessary recognized
in the USA and some other locations. For that reason, in the USA and some other locations. For that reason,
I recommend a declaration along these lines: I recommend a declaration along these lines:
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy // license: you are granted a perpetual, irrevocable license to copy, modify,
// and modify this file as you see fit. // publish, and distribute this file as you see fit.
I typically place this declaration at the end of the initial I typically place this declaration at the end of the initial
comment block of the file and just say 'public domain' comment block of the file and just say 'public domain'

6
stb.h
View File

@ -171,9 +171,9 @@ Parenthesized items have since been removed.
LICENSE LICENSE
This software is in the public domain. Where that dedication is not This software is dual-licensed to the public domain and under the following
recognized, you are granted a perpetual, irrevocable license to copy, license: you are granted a perpetual, irrevocable license to copy, modify,
distribute, and modify this file as you see fit. publish, and distribute this file as you see fit.
CREDITS CREDITS

View File

@ -32,9 +32,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
#ifndef STB_C_LEXER_DEFINITIONS #ifndef STB_C_LEXER_DEFINITIONS
// to change the default parsing rules, copy the following lines // to change the default parsing rules, copy the following lines

View File

@ -78,9 +78,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
#ifndef INCLUDE_STB_DIVIDE_H #ifndef INCLUDE_STB_DIVIDE_H

View File

@ -19,9 +19,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
#ifndef STB_INCLUDE_STB_DXT_H #ifndef STB_INCLUDE_STB_DXT_H
#define STB_INCLUDE_STB_DXT_H #define STB_INCLUDE_STB_DXT_H

View File

@ -67,9 +67,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
// //
// VERSION HISTORY // VERSION HISTORY
// //

View File

@ -3,9 +3,9 @@
== LICENSE ============================== == LICENSE ==============================
This software is in the public domain. Where that dedication is not This software is dual-licensed to the public domain and under the following
recognized, you are granted a perpetual, irrevocable license to copy, license: you are granted a perpetual, irrevocable license to copy, modify,
distribute, and modify this file as you see fit. publish, and distribute this file as you see fit.
== WHAT IT IS =========================== == WHAT IT IS ===========================

View File

@ -209,9 +209,9 @@
LICENSE LICENSE
This software is in the public domain. Where that dedication is not This software is dual-licensed to the public domain and under the following
recognized, you are granted a perpetual, irrevocable license to copy, license: you are granted a perpetual, irrevocable license to copy, modify,
distribute, and modify this file as you see fit. publish, and distribute this file as you see fit.
*/ */

View File

@ -160,9 +160,9 @@
LICENSE LICENSE
This software is in the public domain. Where that dedication is not This software is dual-licensed to the public domain and under the following
recognized, you are granted a perpetual, irrevocable license to copy, license: you are granted a perpetual, irrevocable license to copy, modify,
distribute, and modify this file as you see fit. publish, and distribute this file as you see fit.
TODO TODO
Don't decode all of the image data when only processing a partial tile Don't decode all of the image data when only processing a partial tile

View File

@ -105,9 +105,9 @@ CREDITS:
LICENSE LICENSE
This software is in the public domain. Where that dedication is not This software is dual-licensed to the public domain and under the following
recognized, you are granted a perpetual, irrevocable license to copy, license: you are granted a perpetual, irrevocable license to copy, modify,
distribute, and modify this file as you see fit. publish, and distribute this file as you see fit.
*/ */

View File

@ -1,9 +1,9 @@
// stb_leakcheck.h - v0.2 - quick & dirty malloc leak-checking - public domain // stb_leakcheck.h - v0.2 - quick & dirty malloc leak-checking - public domain
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
#ifdef STB_LEAKCHECK_IMPLEMENTATION #ifdef STB_LEAKCHECK_IMPLEMENTATION
#undef STB_LEAKCHECK_IMPLEMENTATION // don't implenment more than once #undef STB_LEAKCHECK_IMPLEMENTATION // don't implenment more than once

View File

@ -3,9 +3,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
// //
// //
// to create the implementation, // to create the implementation,

View File

@ -41,9 +41,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// //

View File

@ -17,9 +17,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
// //
// //
// DEPENDENCIES // DEPENDENCIES

View File

@ -316,9 +316,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.

View File

@ -68,9 +68,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
// //
// USAGE // USAGE
// //

View File

@ -9,9 +9,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
// //
// No warranty for any purpose is expressed or implied by the author (nor // No warranty for any purpose is expressed or implied by the author (nor
// by RAD Game Tools). Report bugs and send enhancements to the author. // by RAD Game Tools). Report bugs and send enhancements to the author.

View File

@ -215,9 +215,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
#ifndef INCLUDE_STB_VOXEL_RENDER_H #ifndef INCLUDE_STB_VOXEL_RENDER_H
#define INCLUDE_STB_VOXEL_RENDER_H #define INCLUDE_STB_VOXEL_RENDER_H

View File

@ -164,9 +164,9 @@
// //
// LICENSE // LICENSE
// //
// This software is in the public domain. Where that dedication is not // This software is dual-licensed to the public domain and under the following
// recognized, you are granted a perpetual, irrevocable license to copy, // license: you are granted a perpetual, irrevocable license to copy, modify,
// distribute, and modify this file as you see fit. // publish, and distribute this file as you see fit.
#ifndef STB_STRETCHY_BUFFER_H_INCLUDED #ifndef STB_STRETCHY_BUFFER_H_INCLUDED
#define STB_STRETCHY_BUFFER_H_INCLUDED #define STB_STRETCHY_BUFFER_H_INCLUDED