/* * This work is Copyright (c) by Greg A. Woods * * Years of publication: * * This work is licensed under the Creative Commons * Attribution-ShareAlike 4.0 International License. * * To view a copy of this license, visit: * * http://creativecommons.org/licenses/by-sa/4.0/ * * or send a letter to: * * Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. * * This is a near-public-domain equivalent copyright license. The * primary intent of this license is to retain author ownership of * originals and derivatives, as well as moral rights for the author. * * The remainder of this license can be considered to be the terms of * attribution for the Creative Commons BY-SA license. * * TERMS: * * Redistribution of this software in both source and binary forms, with * or without modification, alone or as part of a collective work or as * a component in a new work, is permitted provided that all of the * following conditions are met: * * 1. Re-distributions of this software in its original source code * form, either alone or as part of a collective work, must retain * this entire copyright notice, and the following disclaimer, * without alteration, in each file that contains any part of this * software. * * 2. Re-distributions of this software in any binary form (or indeed in * any translation into any other language from the original source * code, either human or computer), either alone or as a part of a * collective work, or as a component in a new work, must reproduce * this entire copyright notice, and the following disclaimer, * without alteration, in either the documentation (as text files in * electronic media, or in printed matter), and/or any original * header files from this software as per the previous term, and/or * other materials provided as part of the distribution. * * 3. Other software including this software, or any derivative of this * software, as a component must grant this license in full for those * parts of the work which are made up of this software. I.e. anyone * granted license to the new work may extract this software * (including any derivative form of this software) from that work * and use this software under this license regardless of what * restrictions the license for the new work may impose or the rights * it may grant. * * 4. All collective works including this software or any derivative, * and all new works including this software or any derivative as a * component, must also include the following acknowledgement, either * alone or as part of this entire copyright license, in any printed * documentation accompanying a physical distribution (if there is * printed documentation), and in a plain text file separate from the * archive files (but perhaps along with other similar * acknowledgements) on any electronic, magnetic, optical, or other * data storage medium: * * This product includes software developed by Greg A. Woods. * * 5. The name of the author may NOT be used to endorse or promote * products derived from this software without specific prior written * permission. The use of the author's name strictly to meet the * requirements of the previous terms is not to be considered * promotion or endorsement under this term. * * 6. Altered versions (derivative works) must be plainly marked as * such, and must not be misrepresented as being the original * software. This copyright notice, and the following disclaimer, * must not be removed from any derivative work and must not be * changed in any way. * * All other rights are reserved. * * DISCLAIMER: * * THIS SOFTWARE IS PROVIDED BY GREG A. WOODS ``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 AUTHOR 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. */