The files in this repository are part of the wxlib C++20 library, and are released under a disjunctive MPL 1.1/GPL 2.0/LGPL 2.1 tri-license. Its use in any project expects the full acceptance of its licensing terms.
The source code is licensed under a disjunctive tri-license giving the user the choice of one of the three following sets of free software/open source licensing terms:
- Mozilla Public License, version 1.1 or later (MPL);
- GNU General Public License, version 2.0 or later (GPL);
- GNU Lesser General Public License, version 2.1 or later (LGPL), with linking exception to the FPC modified LGPL.
FPC modified LGPL is the Library GNU General Public License with the following modification:
As a special exception to the LGPL, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
This allows the use of the framework code in a wide variety of software projects, while still maintaining intellectual rights on library code.
In short:
- For GPL projects, use the GPL license - see http://www.gnu.org/licenses/gpl-2.0.html
- For LGPL projects, use the LGPL license - see http://www.gnu.org/licenses/lgpl-2.1.html
- For commercial projects, use the MPL License - see http://www.mozilla.org/MPL/MPL-1.1.html - which is the most permissive, or the FPC modified LGPL license, thanks to its linking exception - see http://wiki.freepascal.org/modified_LGPL
Note that the documentation of VTC framework is under GPL 3.0 license only.
There are countries that restrict the use, import, export of cryptographic software. Before keeping, using, or distributing the software, make sure that you comply to these restrictions. If (for any reason) you are unable to do so, you are not allowed to download, use, distribute the software.
If you are residing in a country that allows software patents you must verify that no part of the software is covered by a patent in your country. If (for any reason) you are unable to do so, you are not allowed to use or distribute the software.
In all cases, any modification made to this source code should be published by any means (e.g. a download link), even in case of MPL.
You do not have to pay any fee for using our MPL/GPL/LGPL libraries.
But please do not forget to put somewhere in your credit window or documentation, a link to https://github.com/wxinix/wxlib if you use any of the files published under this tri-license.
For instance, if you select the MPL license, here are the requirements:
- You accept the license terms with no restriction - see http://www.mozilla.org/MPL/2.0/FAQ.html for additional information;
- You have to publish any modified unit in a public web site (e.g. http://YourSoftwareCompany.com/MPL), with a description of applied modifications, and no removal of the original license header in source code;
- You make appear some notice available in the program (About box, documentation, online help), stating e.g. This software uses some third-party code of the wxlib C++ library (C) 2022 Wuping Xin and Original Authors of the Respective Projects - https://github.com/wxinix/wxlib - under Mozilla Public License 1.1; modified source code is available at http://SoftwareCompany.com/MPL