delphidabbler / codesnip

A code bank designed with Pascal in mind
https://delphidabbler.com/software/codesnip
Other
110 stars 33 forks source link

Rationalise and correct license information #108

Closed delphidabbler closed 1 year ago

delphidabbler commented 1 year ago

Move all information from the plethora of LICENSE files into Docs/License.html.

Update reference to jQuery source file name - license refers to wrong version.

delphidabbler commented 1 year ago

Summary of each LICENSE file

Root directory

Licensing of CodeSnip's source and image files is on a per file basis. There are two ways that license information can be found:

  1. By examining comments within source files. License information will be at or near the beginning of the file.

  2. By reading any LICENSE file that exists in the same directory as the files you are interested in, or if no such file exists, in a parent directory. The "nearest" LICENSE file takes precedence. A LICENSE file is used to provide license information for source files that have no (or unclear) embedded information and for images and other files that do not have human-readable content.

Docs directory

All files governed by MPL 2.0. Applies to all subdirectories.

Src directory

This file describes the licenses that apply to source code files in the Src directory and any sub-directories not listed below.

Most files contain a comment that provides license information.

Exceptions are:

Src/3rdParty directory

LVEx.pas

This file, and the accompanying resource file (LVEx.res), are freeware, copyright (c) 1999-2009 Vadim Crits. For details of the terms and conditions of use see Docs/License.html#tlistviewex.

All Other Files

All other files in the directory include licensing information in their comments.

Src/AutoGen directory

Auto-generated from other files and are governed by the licenses that pertain to those files.

For a list of such files see ReadMe.txt in this directory. The ReadMe.txt file itself has any copyright dedicated to the Public Domain.

Src/Help/Images directory

All image files are licensed under the Creative Commons Attribution Share Alike 3.0 License.

Src/Install/Assets directory

All files are MPL 2.0, but don't have boilerplate.

Src/Res/Img and Src/Res/Img/Egg directories

All image files licensed under the Creative Commons Attribution Share Alike 3.0 License.

Some images have been derived or copied from files covered by the following licenses, all of which permit relicensing under the Creative Commons Attribution Share Alike 3.0 License:

Src/Res/Img/Branding directory

All images are copyright (C) 2012-2023, Peter Johnson (gravatar.com/delphidabbler). The files may not be copied or modified and may not be used in the distribution of derived programs without explicit permission of the copyright holder.

This restriction does not apply to modifications of CodeSnip that are for personal use that are not distributed publicly.

Src/Res/Scripts/3rdParty directory

jquery.cycle.lite.js

Dual licensed under the MIT or GPL license. It is used here under the MIT license.

jquery-1.8.0.min.js

MIT license.

delphidabbler commented 1 year ago

Fixed at merge commit b2b83d3fcd432f6b18838cd585f3e1e647a7abab