================================================================================ SOURCE CODE LICENSING ================================================================================ This document discusses and presents the relevant licenses governing the source code of CodeSnip available for download from DelphiDabbler.com. The download includes: + Original Source Code written by Peter Johnson. + Code auto-generated by compilers and other tools. + Some third party source code. + Source code of some DelphiDabbler libraries required by CodeSnip. + Various image files. The download does not include all the source code required to rebuild CodeSnip. Explicitly it doesn't include: + Source files from the Delphi VCL. + The Indy Internet Components. Original Source Code ================================================================================ Original source files are stored in the the following directories: + Src + Src\AutoGen + Src\Help + Src\Help\CSS + Src\Help\HTML + Src\Install + Src\InstallHelper + Src\InstallHelper\Res + Src\Res\HTML + Src\Res\Misc Any original source code file that is governed by a license has a comment to that effect in the source. The exception is that .dfm files are considered to be governed by the same license as their associated .pas file. Where files are auto-generated, and there are no copyright or license comments in the files, the licensing of the file depends on how it was generated. If the file was generated from another source file then the generated file is covered by the same license as the originating source file. Otherwise the file is placed in the public domain. Any other source code files that contain no copyright or license information are public domain. Many files are licensed under the Mozilla Public License (MPL) v1.1. New source code is being licensed under v2.0 of the MPL. Over time MPL v1.1 licensed code will be changed to MPL v2.0. Copies of versions 1.1 and 2.0 of the Mozilla Public License can be found in MPL-1.1.txt and MPL-2.0.txt respectively. Third Party Source Code ================================================================================ All third party and DelphiDabbler library code is stored in the "Src\3rdParty" directory. There are several such files: + GIFImage.pas See below for license information + LVEx.pas This code is copyright c) 1999-2009 Vadim Crits. No licensing conditions are specified. + PJMD5.pas This is a DelphiDabbler library. The MPL 1.1 / GPL 2.0 / LGPL 2.1 tri license applies. It derives from the RSA Data Security, Inc. MD5 Message-Digest Algorithm. See below for the MD5 copyright notice. + PJStreamWrapper.pas, PJSysInfo.pas, PJVersionInfo.pas, PJWdwState.pas These are DelphiDabbler libraries: the Mozilla Public License applies. + UEncrypt.pas Public domain. MD5 Copyright Statement -------------------------------------------------------------------------------- Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. These notices must be retained in any copies of any part of this documentation and/or software. GIFImage.pas -------------------------------------------------------------------------------- Changed 2009.10.14 TGIFImage for Delphi 2, 3, 4, 5 and C++ Builder 3, 4, and Delphi 6, Delphi 7, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010. It supports animated GIF files. It only works in VCL applications for Win32 platform. It doesn't work in .NET applications. WARNING: Use it at your own risk. I'm posting it with permission from the original author Anders Melander. Anders Melander's website can be found here: http://melander.dk/delphi/gifimage/ Please look at the comments in the pas file to see changes. You should also look at the GIF FAQ on the website and you should download and look at the gif demo applications. Regards, Finn Tolderlund Mail: finn@tolderlund.eu website: http://www.tolderlund.eu/delphi/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ License, Copyright and Disclaimer TGIFImage is Copyright (C) 1997-99 Anders Melander. All rights reserved. Please see copyright.txt for additional copyrights. [Note: copyright.txt was not included in the distribution]. Before proceeding with the installation and/or use of this software, carefully read the following terms and conditions of this license agreement and limited warranty (The License). By installing or using this software you indicate your acceptance of this License. If you do not accept or agree with these terms, you may not install or use this software! License ------- This software, including documentation, source code, object code and/or additional materials (TGIFImage) is owned by Anders Melander (the Author). This License does not provide you with title or ownership of TGIFImage, but only a right of limited use as outlined in this License agreement. The Author hereby grants you a non-exclusive, royalty free license to use TGIFImage as set forth below: * integrate TGIFImage with your Applications, subject to the redistribution terms below. * modify or adapt TGIFImage in whole or in part for the development of Applications based on TGIFImage. * use portions of the TGIFImage source code or TGIFImage Demo Programs in your own products. Redistribution rights --------------------- You are granted a non-exclusive, royalty-free right to reproduce and redistribute executable files created using TGIFImage (the Executable Code) in conjunction with software products that you develop and/or market (the Applications). Restrictions ------------ Without the expressed, written consent of the Author, you may NOT: * distribute modified versions of TGIFImage, in whole or in part. * rent or lease TGIFImage. * sell any portion of TGIFImage on its own, without integrating it into your Applications as Executable Code. * bundle TGIFImage with commercial development libraries. * charge for the value TGIFImage adds to your Applications. Limited warranty ---------------- There is no warranty or other guarantee of fitness for this software, it is provided solely "as is". Bug reports or fixes may be sent to the Author, who may or may not act on them as he desires. LZW license ----------- GIF (and thus TGIFImage) uses an adaption of the LZW compression algorithm for image compression. The LZW algorithm is patented by UNISYS. Unfortunately UNISYS requires royalty payment for all software that uses the LZW algorithm. To avoid the use of the LZW algorithm for writing GIFs, TGIFImage can write GIFs using a LZW compatible RLE compression method. See the TGIFImage.Compression property for more information. There are conflicting opinions on whether a LZW license is required to read GIFs. Some patent lawyers are of the opinion that the LZW patent does not cover LZW decoders, but others disagree. If this matters to you, you should contact your own lawyer. For information regarding UNISYS' view on the use of LZW in commercial software, please read the License Information on GIF and Other LZW-based Technologies. The UNISYS patent on the LZW algorithm may or may not apply to you depending on the laws of your country. Personally I have less than warm feelings for Unisys and their patent and I don't care if you have a license or not. The LZW patent expires in 2004. Credit of work -------------- If you redistribute TGIFImage in binary form (i.e. as a library or linked into an application), the accompanying documentation (e.g. readme file, help file or about-box) should state that This software is based, in part, on the work of Anders Melander or words to that effect. Image Files (.ico, .bmp, .gif, .png) ================================================================================ Various images are used in the program. They are stored in the "Src\Help\Images" and "Src\Res\Img" directories. Images are also embedded in forms by various VCL controls. Original images are not provided in the latter case. All images are either original or have been copied or adapted from various sources. With the exception of the following, all images are in the public domain and can be re-used without restriction: Exceptions ---------- + Res\Img\symbol-information.png and Res\Img\symbol-exclamation.png are adapted from the Vista Aero Pack 3 by VistaICO. See below for license terms and conditions. + The image list defined in FmMain.dfm contains original and modified images extracted from Mark James' Silk Icon set 1.3, and converted from .png to .bmp formats. The Silk Icon Set images are located at indexes 32, 33, 34 and 35 in the image list. File copies of these images are not provided. See below for license terms and condtions. + Res\Img\cancel.png is taken from the Led Icon Set from http://led24.de/iconset/ and Res\Img\cancel-glow.png is based on it. See below for license terms and conditions. + The "about" and "help" glyphs the FmMain.dfm image list were adapted from an image in the PixelBox icon collection. See below for the license. + Res\Img\tvr.jpg and Res\Img\pj.jpg are copyright (C) 2009, Peter Johnson. These images are made available under a Creative Commons Attribution- Noncommercial-No Derivative Works 2.0 license (See http://creativecommons.org/licenses/by-nc-nd/2.0/). You may share these images for non-commercial purposes. You may not modify the images. Any distribution of the images must contain a statement somewhere in the distribution's document that contains the above copyright statement and that refers to the correct Creative Commons license. + Res\Img\CodeSnip.ico is the program's icon. This file is copyright (C) 2009 Peter Johnson (www.delphidabbler.com). The file may not be altered in any way and may not be used in any other programs, included programs derived from the CodeSnip source code, unless explicit permission is given by the author. This means that if you modify CodeSnip and publish your changes then you must remove the icon or repace it with you own. Bill Miller's Code Snippets Demonstrator program (http://www.delphidabbler.com/software/cs-demo) uses the icon with permission. Vista Aero Pack 3 by VistaICO -------------------------------------------------------------------------------- VistaICO Aero Pack 3 from VistaICO.com "VistaICO Aero Pack 3" contains 135 beautiful icons (PNG & ICO format) and includes the icons from all other packs: VistaICO Aero Pack, VistaICO File Type Icons & VistaICO Toolbar Icons. IMPORTANT! - This pack is licensed under a Creative Commons Attribution 3.0 License. This means you may copy, distribute and adapt the work as long as you include a link back to VistaICO.com in your web site, software, project, etc. Here you can find few examples: http://www.vistaico.com/link_to_us.htm - To contact us regarding the link placement or other matters please check here: http://www.vistaico.com/contact.htm - The readme.txt and license.pdf files must accompany the pack at all times. Copyright (C) VistaICO.com Mark James' Silk Icon set 1.3 -------------------------------------------------------------------------------- Mark James http://www.famfamfam.com/lab/icons/silk/ This work is licensed under a Creative Commons Attribution 2.5 License. [ http://creativecommons.org/licenses/by/2.5/ ] This means you may use it for any purpose, and make any changes you like. All I ask is that you include a link back to this page in your credits. Are you using this icon set? Send me an email (including a link or picture if available) to mjames@gmail.com Any other questions about this icon set please contact mjames@gmail.com Led Icon Set -------------------------------------------------------------------------------- The icons are free for personal use and also free for commercial use, but we require linking to our web site. http://creativecommons.org/licenses/by-sa/3.0/ You are free to Share - to copy, distribute and transmit the work Under the following conditions: Attribution - You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). Attribute this work: What does "Attribute this work" mean? The page you came from contained embedded licensing metadata, including how the creator wishes to be attributed for re-use. You can use the HTML here to cite the work. Doing so will also include metadata on your page so that others can find the original work as well. Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. led24.de 31/05/2009 PixelBox icons -------------------------------------------------------------------------------- This work (Pixelbox icons, by Stan Khodjaev) is free of known copyright restrictions. It is made available under the terms of the Creative Commans Public Domain Mark 1.0 (see http://creativecommons.org/publicdomain/mark/1.0/). ================================================================================ $Rev$ $Date$ ================================================================================