From e497d771b141b4625d3e8c83b6ec2a12fe53a9fe Mon Sep 17 00:00:00 2001 From: joostverburg Date: Sat, 28 Oct 2006 19:45:02 +0000 Subject: [PATCH] * The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0 * Added license and copyright notice to every source file * The new COPYING file and license section in the Users Manual list the terms of all relevant licenses git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6 --- COPYING | 139 +++++ Docs/src/credits.but | 2 - Docs/src/license.but | 151 +++++- Examples/makensis.nsi | 4 +- Source/7zip/7zGuids.cpp | 17 + Source/7zip/7zip/Common/InBuffer.cpp | 17 +- Source/7zip/7zip/Common/InBuffer.h | 17 +- Source/7zip/7zip/Common/OutBuffer.cpp | 17 +- Source/7zip/7zip/Common/OutBuffer.h | 17 +- Source/7zip/7zip/Common/StreamUtils.cpp | 17 +- Source/7zip/7zip/Common/StreamUtils.h | 17 +- .../7zip/7zip/Compress/LZ/BinTree/BinTree.h | 17 +- .../7zip/7zip/Compress/LZ/BinTree/BinTree2.h | 17 +- .../7zip/7zip/Compress/LZ/BinTree/BinTree3.h | 17 +- .../7zip/7zip/Compress/LZ/BinTree/BinTree3Z.h | 17 +- .../7zip/Compress/LZ/BinTree/BinTree3ZMain.h | 17 +- .../7zip/7zip/Compress/LZ/BinTree/BinTree4.h | 17 +- .../7zip/7zip/Compress/LZ/BinTree/BinTree4b.h | 17 +- .../7zip/7zip/Compress/LZ/BinTree/BinTreeMF.h | 17 +- .../7zip/Compress/LZ/BinTree/BinTreeMFMain.h | 17 +- .../7zip/Compress/LZ/BinTree/BinTreeMain.h | 17 +- Source/7zip/7zip/Compress/LZ/IMatchFinder.h | 17 +- Source/7zip/7zip/Compress/LZ/LZInWindow.cpp | 17 +- Source/7zip/7zip/Compress/LZ/LZInWindow.h | 17 +- Source/7zip/7zip/Compress/LZ/LZOutWindow.cpp | 17 +- Source/7zip/7zip/Compress/LZ/LZOutWindow.h | 17 +- Source/7zip/7zip/Compress/LZMA/LZMA.h | 17 +- .../7zip/7zip/Compress/LZMA/LZMAEncoder.cpp | 17 +- Source/7zip/7zip/Compress/LZMA/LZMAEncoder.h | 17 +- .../7zip/Compress/RangeCoder/RangeCoder.h | 17 +- .../Compress/RangeCoder/RangeCoderBit.cpp | 17 +- .../7zip/Compress/RangeCoder/RangeCoderBit.h | 17 +- .../Compress/RangeCoder/RangeCoderBitTree.h | 17 +- .../7zip/Compress/RangeCoder/RangeCoderOpt.h | 17 +- Source/7zip/7zip/ICoder.h | 17 +- Source/7zip/7zip/IStream.h | 17 +- Source/7zip/Common/Alloc.cpp | 17 +- Source/7zip/Common/Alloc.h | 17 +- Source/7zip/Common/CRC.cpp | 17 +- Source/7zip/Common/CRC.h | 17 +- Source/7zip/Common/Defs.h | 17 +- Source/7zip/Common/MyCom.h | 17 +- Source/7zip/Common/MyGuidDef.h | 17 +- Source/7zip/Common/MyUnknown.h | 17 +- Source/7zip/Common/MyWindows.h | 17 +- Source/7zip/Common/StdAfx.h | 17 +- Source/7zip/Common/Types.h | 17 +- Source/7zip/LZMADecode.c | 21 +- Source/7zip/LZMADecode.h | 23 +- Source/7zip/copying.txt | 504 ------------------ Source/7zip/readme.txt | 32 -- Source/DialogTemplate.cpp | 34 +- Source/DialogTemplate.h | 34 +- Source/Platform.h | 16 + Source/Plugins.cpp | 16 + Source/Plugins.h | 16 + Source/ResourceEditor.cpp | 34 +- Source/ResourceEditor.h | 34 +- Source/ResourceVersionInfo.cpp | 18 +- Source/ResourceVersionInfo.h | 18 +- Source/ShConstants.cpp | 16 + Source/ShConstants.h | 16 +- Source/afxres.h | 16 + Source/build.cpp | 16 + Source/build.h | 16 + Source/bzip2/Readme.txt | 4 - Source/bzip2/blocksort.c | 15 + Source/bzip2/bzlib.c | 15 + Source/bzip2/bzlib.h | 18 +- Source/bzip2/compress.c | 15 + Source/bzip2/decompress.c | 15 + Source/bzip2/huffman.c | 15 + Source/cbzip2.h | 16 + Source/clzma.cpp | 16 + Source/clzma.h | 16 + Source/compressor.h | 16 + Source/crc32.c | 16 + Source/crc32.h | 16 + Source/czlib.h | 16 + Source/dirreader.cpp | 16 + Source/dirreader.h | 16 + Source/exehead/Main.c | 47 +- Source/exehead/Ui.c | 34 +- Source/exehead/afxres.h | 16 + Source/exehead/bgbg.c | 16 + Source/exehead/components.c | 16 + Source/exehead/components.h | 16 + Source/exehead/config.h | 16 + Source/exehead/exec.c | 16 + Source/exehead/exec.h | 16 + Source/exehead/fileform.c | 16 + Source/exehead/fileform.h | 16 + Source/exehead/lang.h | 16 + Source/exehead/state.h | 16 + Source/exehead/ui.h | 17 + Source/exehead/util.c | 16 + Source/exehead/util.h | 16 + Source/fileform.cpp | 16 + Source/fileform.h | 16 + Source/growbuf.cpp | 16 + Source/growbuf.h | 16 + Source/lang.cpp | 16 + Source/lang.h | 16 + Source/lineparse.cpp | 16 + Source/lineparse.h | 16 + Source/makenssi.cpp | 64 +-- Source/manifest.cpp | 16 + Source/manifest.h | 16 + Source/mmap.cpp | 16 + Source/mmap.h | 16 + Source/script.cpp | 16 + Source/strlist.cpp | 20 +- Source/strlist.h | 16 + Source/tokens.cpp | 16 + Source/tokens.h | 16 + Source/uservars.h | 16 +- Source/util.cpp | 16 + Source/util.h | 16 + Source/writer.cpp | 16 + Source/writer.h | 16 + Source/zlib/DEFLATE.H | 13 + Source/zlib/INFBLOCK.C | 13 + Source/zlib/ZCONF.H | 15 +- Source/zlib/ZLIB.H | 23 +- Source/zlib/ZUTIL.H | 15 +- Source/zlib/deflate.c | 13 + Source/zlib/trees.c | 13 + 127 files changed, 2159 insertions(+), 820 deletions(-) create mode 100644 COPYING delete mode 100644 Source/7zip/copying.txt delete mode 100644 Source/7zip/readme.txt delete mode 100644 Source/bzip2/Readme.txt diff --git a/COPYING b/COPYING new file mode 100644 index 00000000..e319a08f --- /dev/null +++ b/COPYING @@ -0,0 +1,139 @@ +COPYRIGHT +--------- + +Copyright (C) 1995-2006 Contributors + +More detailed copyright information can be found in the individual source code files. + +APPLICABLE LICENSES +------------------- + +* All NSIS source code, plug-ins, documentation, examples, header files and graphics, with the expection of the compression modules, are licensed under the zlib/libpng license. + +* The zlib compression module for NSIS is licensed under the zlib/libpng license. + +* The bzip2 compression module for NSIS is licensed under the bzip2 license. + +* The LZMA compression module for NSIS is licensed under the Common Public License version 1.0. + +ZLIB/LIBPNG LICENSE +------------------- + +This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + +BZIP2 LICENSE +------------- + +This program, "bzip2" and associated library "libbzip2", are copyright (C) 1996-2000 Julian R Seward. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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. + +Julian Seward, Cambridge, UK. + +jseward@acm.org + +COMMON PUBLIC LICENSE VERSION 1.0 +--------------------------------- + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + + a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + b) in the case of each subsequent Contributor: + + i) changes to the Program, and + + ii) additions to the Program; + + where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. + + b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + + c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. + + d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + + a) it complies with the terms and conditions of this Agreement; and + + b) its license agreement: + + i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; + + ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; + + iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and + + iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + + a) it must be made available under this Agreement; and + + b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. diff --git a/Docs/src/credits.but b/Docs/src/credits.but index 1be0b5d8..9657b7be 100644 --- a/Docs/src/credits.but +++ b/Docs/src/credits.but @@ -66,8 +66,6 @@ \b InstallOptions improvements -\H{contributors} Contributors - \e{nnop@newmail.ru} \e{Ryan Geiss} diff --git a/Docs/src/license.but b/Docs/src/license.but index e3fa338c..7a05d613 100644 --- a/Docs/src/license.but +++ b/Docs/src/license.but @@ -1,19 +1,134 @@ -\A{license} NSIS License +\A{license} License -\c Copyright (C) 1999-2006 Nullsoft, Inc. -\c -\c This software is provided 'as-is', without any express or implied -\c warranty. In no event will the authors be held liable for any damages -\c arising from the use of this software. -\c -\c Permission is granted to anyone to use this software for any purpose, -\c including commercial applications, and to alter it and redistribute it -\c freely, subject to the following restrictions: -\c -\c 1. The origin of this software must not be misrepresented; you must not -\c claim that you wrote the original software. If you use this software -\c in a product, an acknowledgment in the product documentation would be -\c appreciated but is not required. -\c 2. Altered source versions must be plainly marked as such, and must not be -\c misrepresented as being the original software. -\c 3. This notice may not be removed or altered from any source distribution. \ No newline at end of file +\H{copyright} Copyright + +Copyright (C) 1995-2006 Contributors + +More detailed copyright information can be found in the individual source code files. + +\H{licenses} Applicable licenses + +\b All NSIS source code, plug-ins, documentation, examples, header files and graphics, with expection of the compression modules, is licensed under the zlib/libpng license. + +\b The zlib compression module for NSIS is licensed under the zlib/libpng license. + +\b The bzip2 compression module for NSIS is licensed under the bzip2 license. + +\b The LZMA compression module for NSIS is licensed under the Common Public License version 1.0. + +\H{zlib-license} zlib/libpng license + +This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + +\H{zlib-license} bzip2 license + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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. + +Julian Seward, Cambridge, UK. + +jseward@acm.org + +\H{cpl-license} Common Public License version 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + + a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + b) in the case of each subsequent Contributor: + + i) changes to the Program, and + + ii) additions to the Program; + + where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. + + b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + + c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. + + d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + + a) it complies with the terms and conditions of this Agreement; and + + b) its license agreement: + + i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; + + ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; + + iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and + + iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + + a) it must be made available under this Agreement; and + + b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. diff --git a/Examples/makensis.nsi b/Examples/makensis.nsi index 007fac3c..91331eed 100644 --- a/Examples/makensis.nsi +++ b/Examples/makensis.nsi @@ -56,7 +56,7 @@ Caption "NSIS ${VERSION} Setup" !define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of NSIS (Nullsoft Scriptable Install System) ${VERSION}, the next generation of the Windows installer and uninstaller system that doesn't suck and isn't huge.\r\n\r\nNSIS 2 includes a new Modern User Interface, LZMA compression, support for multiple languages and an easy plug-in system.\r\n\r\n$_CLICK" !insertmacro MUI_PAGE_WELCOME -!insertmacro MUI_PAGE_LICENSE "..\license.txt" +!insertmacro MUI_PAGE_LICENSE "..\COPYING" !ifdef VER_MAJOR & VER_MINOR & VER_REVISION & VER_BUILD Page custom PageReinstall PageLeaveReinstall !endif @@ -108,7 +108,7 @@ Section "NSIS Core Files (required)" SecCore SetOverwrite on File ..\makensis.exe File ..\makensisw.exe - File ..\license.txt + File ..\COPYING File ..\NSIS.chm File ..\NSIS.exe diff --git a/Source/7zip/7zGuids.cpp b/Source/7zip/7zGuids.cpp index 56caa945..1ca1ac12 100644 --- a/Source/7zip/7zGuids.cpp +++ b/Source/7zip/7zGuids.cpp @@ -1,3 +1,20 @@ +/* + * 7zGuids.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + // DLLExports.cpp // #include "StdAfx.h" diff --git a/Source/7zip/7zip/Common/InBuffer.cpp b/Source/7zip/7zip/Common/InBuffer.cpp index 02f2adfa..e0dcb3df 100644 --- a/Source/7zip/7zip/Common/InBuffer.cpp +++ b/Source/7zip/7zip/Common/InBuffer.cpp @@ -1,4 +1,19 @@ -// InBuffer.cpp +/* + * InBuffer.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "StdAfx.h" diff --git a/Source/7zip/7zip/Common/InBuffer.h b/Source/7zip/7zip/Common/InBuffer.h index 057caa16..d1a35560 100644 --- a/Source/7zip/7zip/Common/InBuffer.h +++ b/Source/7zip/7zip/Common/InBuffer.h @@ -1,4 +1,19 @@ -// InBuffer.h +/* + * InBuffer.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __INBUFFER_H #define __INBUFFER_H diff --git a/Source/7zip/7zip/Common/OutBuffer.cpp b/Source/7zip/7zip/Common/OutBuffer.cpp index a73fa7c5..2803a6a4 100644 --- a/Source/7zip/7zip/Common/OutBuffer.cpp +++ b/Source/7zip/7zip/Common/OutBuffer.cpp @@ -1,4 +1,19 @@ -// OutByte.cpp +/* + * OutBuffer.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "StdAfx.h" diff --git a/Source/7zip/7zip/Common/OutBuffer.h b/Source/7zip/7zip/Common/OutBuffer.h index 0ce54e21..851ef097 100644 --- a/Source/7zip/7zip/Common/OutBuffer.h +++ b/Source/7zip/7zip/Common/OutBuffer.h @@ -1,4 +1,19 @@ -// OutBuffer.h +/* + * OutBuffer.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __OUTBUFFER_H #define __OUTBUFFER_H diff --git a/Source/7zip/7zip/Common/StreamUtils.cpp b/Source/7zip/7zip/Common/StreamUtils.cpp index a5d9ac0e..e072a67c 100644 --- a/Source/7zip/7zip/Common/StreamUtils.cpp +++ b/Source/7zip/7zip/Common/StreamUtils.cpp @@ -1,4 +1,19 @@ -// StreamUtils.cpp +/* + * StreamUtils.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "StdAfx.h" diff --git a/Source/7zip/7zip/Common/StreamUtils.h b/Source/7zip/7zip/Common/StreamUtils.h index 59f88733..76cc8b2b 100644 --- a/Source/7zip/7zip/Common/StreamUtils.h +++ b/Source/7zip/7zip/Common/StreamUtils.h @@ -1,4 +1,19 @@ -// StreamUtils.h +/* + * StreamUtils.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __STREAMUTILS_H #define __STREAMUTILS_H diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree.h index b3b3f13a..c672b6b9 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree.h @@ -1,4 +1,19 @@ -// BinTree.h +/* + * BinTree.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "../LZInWindow.h" #include "../IMatchFinder.h" diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree2.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree2.h index 74ca8d9d..0a7e5591 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree2.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree2.h @@ -1,4 +1,19 @@ -// BinTree2.h +/* + * BinTree2.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __BINTREE2_H #define __BINTREE2_H diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3.h index 76bd9ddd..9515b656 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3.h @@ -1,4 +1,19 @@ -// BinTree3.h +/* + * BinTree3.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __BINTREE3_H #define __BINTREE3_H diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3Z.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3Z.h index d2c092b4..97d01755 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3Z.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3Z.h @@ -1,4 +1,19 @@ -// BinTree3Z.h +/* + * BinTree3Z.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __BINTREE3Z_H #define __BINTREE3Z_H diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3ZMain.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3ZMain.h index 42f7db42..bb5425b9 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3ZMain.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree3ZMain.h @@ -1,4 +1,19 @@ -// BinTree3ZMain.h +/* + * BinTree3ZMain.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __BINTREE3ZMAIN__H #define __BINTREE3ZMAIN__H diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree4.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree4.h index 08e2d1ce..9339f1fd 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree4.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree4.h @@ -1,4 +1,19 @@ -// BinTree4.h +/* + * BinTree4.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __BINTREE4_H #define __BINTREE4_H diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree4b.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree4b.h index f2acb1aa..6dea0daf 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTree4b.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTree4b.h @@ -1,4 +1,19 @@ -// BinTree4b.h +/* + * BinTreeb.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __BINTREE4B__H #define __BINTREE4B__H diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMF.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMF.h index 8c1413ac..47e6099e 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMF.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMF.h @@ -1,4 +1,19 @@ -// BinTreeMF.h +/* + * BinTreeMF.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ // #ifndef __BINTREEMF_H // #define __BINTREEMF_H diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMFMain.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMFMain.h index 4e626eae..5b4d9790 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMFMain.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMFMain.h @@ -1,4 +1,19 @@ -// BinTreeMFMain.h +/* + * BinTreeMFMain.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ // #include "StdAfx.h" diff --git a/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMain.h b/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMain.h index 7a6f621a..486165c1 100644 --- a/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMain.h +++ b/Source/7zip/7zip/Compress/LZ/BinTree/BinTreeMain.h @@ -1,4 +1,19 @@ -// BinTreeMain.h +/* + * BinTreeMain.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "../../../../Common/Defs.h" #include "../../../../Common/CRC.h" diff --git a/Source/7zip/7zip/Compress/LZ/IMatchFinder.h b/Source/7zip/7zip/Compress/LZ/IMatchFinder.h index 528b7b1c..007b1e2c 100644 --- a/Source/7zip/7zip/Compress/LZ/IMatchFinder.h +++ b/Source/7zip/7zip/Compress/LZ/IMatchFinder.h @@ -1,4 +1,19 @@ -// MatchFinders/IMatchFinder.h +/* + * IMatchFinder.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __IMATCHFINDER_H #define __IMATCHFINDER_H diff --git a/Source/7zip/7zip/Compress/LZ/LZInWindow.cpp b/Source/7zip/7zip/Compress/LZ/LZInWindow.cpp index 0e65c425..0af3b01f 100644 --- a/Source/7zip/7zip/Compress/LZ/LZInWindow.cpp +++ b/Source/7zip/7zip/Compress/LZ/LZInWindow.cpp @@ -1,4 +1,19 @@ -// LZInWindow.cpp +/* + * LZInWindow.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "StdAfx.h" diff --git a/Source/7zip/7zip/Compress/LZ/LZInWindow.h b/Source/7zip/7zip/Compress/LZ/LZInWindow.h index 54f2cb7b..4d6c5fe5 100644 --- a/Source/7zip/7zip/Compress/LZ/LZInWindow.h +++ b/Source/7zip/7zip/Compress/LZ/LZInWindow.h @@ -1,4 +1,19 @@ -// LZInWindow.h +/* + * LZInWindow.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __LZ_IN_WINDOW_H #define __LZ_IN_WINDOW_H diff --git a/Source/7zip/7zip/Compress/LZ/LZOutWindow.cpp b/Source/7zip/7zip/Compress/LZ/LZOutWindow.cpp index e2d6aba1..cf056333 100644 --- a/Source/7zip/7zip/Compress/LZ/LZOutWindow.cpp +++ b/Source/7zip/7zip/Compress/LZ/LZOutWindow.cpp @@ -1,4 +1,19 @@ -// LZOutWindow.cpp +/* + * LZOutWindow.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "StdAfx.h" diff --git a/Source/7zip/7zip/Compress/LZ/LZOutWindow.h b/Source/7zip/7zip/Compress/LZ/LZOutWindow.h index 3c50c6e7..32648a05 100644 --- a/Source/7zip/7zip/Compress/LZ/LZOutWindow.h +++ b/Source/7zip/7zip/Compress/LZ/LZOutWindow.h @@ -1,4 +1,19 @@ -// LZOutWindow.h +/* + * LZOutWindow.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __LZ_OUT_WINDOW_H #define __LZ_OUT_WINDOW_H diff --git a/Source/7zip/7zip/Compress/LZMA/LZMA.h b/Source/7zip/7zip/Compress/LZMA/LZMA.h index 7bc4c438..dbab9747 100644 --- a/Source/7zip/7zip/Compress/LZMA/LZMA.h +++ b/Source/7zip/7zip/Compress/LZMA/LZMA.h @@ -1,4 +1,19 @@ -// LZMA.h +/* + * LZMA.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __LZMA_H #define __LZMA_H diff --git a/Source/7zip/7zip/Compress/LZMA/LZMAEncoder.cpp b/Source/7zip/7zip/Compress/LZMA/LZMAEncoder.cpp index 55c668e8..171ff7fb 100644 --- a/Source/7zip/7zip/Compress/LZMA/LZMAEncoder.cpp +++ b/Source/7zip/7zip/Compress/LZMA/LZMAEncoder.cpp @@ -1,4 +1,19 @@ -// LZMA/Encoder.cpp +/* + * LZMAEncoder.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "StdAfx.h" diff --git a/Source/7zip/7zip/Compress/LZMA/LZMAEncoder.h b/Source/7zip/7zip/Compress/LZMA/LZMAEncoder.h index f4c2c151..41c71188 100644 --- a/Source/7zip/7zip/Compress/LZMA/LZMAEncoder.h +++ b/Source/7zip/7zip/Compress/LZMA/LZMAEncoder.h @@ -1,4 +1,19 @@ -// LZMA/Encoder.h +/* + * LZMAEncoder.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __LZMA_ENCODER_H #define __LZMA_ENCODER_H diff --git a/Source/7zip/7zip/Compress/RangeCoder/RangeCoder.h b/Source/7zip/7zip/Compress/RangeCoder/RangeCoder.h index bbb2ba82..23735656 100644 --- a/Source/7zip/7zip/Compress/RangeCoder/RangeCoder.h +++ b/Source/7zip/7zip/Compress/RangeCoder/RangeCoder.h @@ -1,4 +1,19 @@ -// Compress/RangeCoder/RangeCoder.h +/* + * RangeCoder.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __COMPRESS_RANGECODER_H #define __COMPRESS_RANGECODER_H diff --git a/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBit.cpp b/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBit.cpp index 8e4c4d3a..dbf0f2fa 100644 --- a/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBit.cpp +++ b/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBit.cpp @@ -1,4 +1,19 @@ -// Compress/RangeCoder/RangeCoderBit.cpp +/* + * RangeCoderBit.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "StdAfx.h" diff --git a/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBit.h b/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBit.h index 624f887c..366abbce 100644 --- a/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBit.h +++ b/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBit.h @@ -1,4 +1,19 @@ -// Compress/RangeCoder/RangeCoderBit.h +/* + * RangeCoderBit.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __COMPRESS_RANGECODER_BIT_H #define __COMPRESS_RANGECODER_BIT_H diff --git a/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBitTree.h b/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBitTree.h index 4f0c78b4..126f6f0d 100644 --- a/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBitTree.h +++ b/Source/7zip/7zip/Compress/RangeCoder/RangeCoderBitTree.h @@ -1,4 +1,19 @@ -// Compress/RangeCoder/RangeCoderBitTree.h +/* + * RangeCoderBitTree.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __COMPRESS_RANGECODER_BIT_TREE_H #define __COMPRESS_RANGECODER_BIT_TREE_H diff --git a/Source/7zip/7zip/Compress/RangeCoder/RangeCoderOpt.h b/Source/7zip/7zip/Compress/RangeCoder/RangeCoderOpt.h index 668b9a5b..e3ec84ca 100644 --- a/Source/7zip/7zip/Compress/RangeCoder/RangeCoderOpt.h +++ b/Source/7zip/7zip/Compress/RangeCoder/RangeCoderOpt.h @@ -1,4 +1,19 @@ -// Compress/RangeCoder/RangeCoderOpt.h +/* + * RangeCoderOpt.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __COMPRESS_RANGECODER_OPT_H #define __COMPRESS_RANGECODER_OPT_H diff --git a/Source/7zip/7zip/ICoder.h b/Source/7zip/7zip/ICoder.h index d84575dc..7e90f2ce 100644 --- a/Source/7zip/7zip/ICoder.h +++ b/Source/7zip/7zip/ICoder.h @@ -1,4 +1,19 @@ -// ICoder.h +/* + * ICoder.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __ICODER_H #define __ICODER_H diff --git a/Source/7zip/7zip/IStream.h b/Source/7zip/7zip/IStream.h index bba21a31..3c6d56fa 100644 --- a/Source/7zip/7zip/IStream.h +++ b/Source/7zip/7zip/IStream.h @@ -1,4 +1,19 @@ -// IStream.h +/* + * IStream.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __ISTREAM_H #define __ISTREAM_H diff --git a/Source/7zip/Common/Alloc.cpp b/Source/7zip/Common/Alloc.cpp index e2b8c3d2..9ac1946b 100644 --- a/Source/7zip/Common/Alloc.cpp +++ b/Source/7zip/Common/Alloc.cpp @@ -1,4 +1,19 @@ -// Common/Alloc.cpp +/* + * Alloc.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "StdAfx.h" diff --git a/Source/7zip/Common/Alloc.h b/Source/7zip/Common/Alloc.h index d444f631..5916ef06 100644 --- a/Source/7zip/Common/Alloc.h +++ b/Source/7zip/Common/Alloc.h @@ -1,4 +1,19 @@ -// Common/Alloc.h +/* + * Alloc.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __COMMON_ALLOC_H #define __COMMON_ALLOC_H diff --git a/Source/7zip/Common/CRC.cpp b/Source/7zip/Common/CRC.cpp index 35e1a187..dad64326 100644 --- a/Source/7zip/Common/CRC.cpp +++ b/Source/7zip/Common/CRC.cpp @@ -1,4 +1,19 @@ -// Common/CRC.cpp +/* + * CRC.cpp + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "StdAfx.h" diff --git a/Source/7zip/Common/CRC.h b/Source/7zip/Common/CRC.h index 6b4f1b79..72cb518f 100644 --- a/Source/7zip/Common/CRC.h +++ b/Source/7zip/Common/CRC.h @@ -1,4 +1,19 @@ -// Common/CRC.h +/* + * CRC.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __COMMON_CRC_H #define __COMMON_CRC_H diff --git a/Source/7zip/Common/Defs.h b/Source/7zip/Common/Defs.h index dad3ae8f..dd55dbe6 100644 --- a/Source/7zip/Common/Defs.h +++ b/Source/7zip/Common/Defs.h @@ -1,4 +1,19 @@ -// Common/Defs.h +/* + * Defs.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __COMMON_DEFS_H #define __COMMON_DEFS_H diff --git a/Source/7zip/Common/MyCom.h b/Source/7zip/Common/MyCom.h index e9034930..c5e18dfd 100644 --- a/Source/7zip/Common/MyCom.h +++ b/Source/7zip/Common/MyCom.h @@ -1,4 +1,19 @@ -// MyCom.h +/* + * MyCom.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __MYCOM_H #define __MYCOM_H diff --git a/Source/7zip/Common/MyGuidDef.h b/Source/7zip/Common/MyGuidDef.h index 2c954f81..b01a444e 100644 --- a/Source/7zip/Common/MyGuidDef.h +++ b/Source/7zip/Common/MyGuidDef.h @@ -1,4 +1,19 @@ -// Common/MyGuidDef.h +/* + * MyGuidDef.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef GUID_DEFINED #define GUID_DEFINED diff --git a/Source/7zip/Common/MyUnknown.h b/Source/7zip/Common/MyUnknown.h index d28d8542..e45adb73 100644 --- a/Source/7zip/Common/MyUnknown.h +++ b/Source/7zip/Common/MyUnknown.h @@ -1,4 +1,19 @@ -// MyUnknown.h +/* + * MyUnknown.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __MYUNKNOWN_H #define __MYUNKNOWN_H diff --git a/Source/7zip/Common/MyWindows.h b/Source/7zip/Common/MyWindows.h index 6cb04308..b3977d2d 100644 --- a/Source/7zip/Common/MyWindows.h +++ b/Source/7zip/Common/MyWindows.h @@ -1,4 +1,19 @@ -// MyWindows.h +/* + * MyWindows.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __MYWINDOWS_H #define __MYWINDOWS_H diff --git a/Source/7zip/Common/StdAfx.h b/Source/7zip/Common/StdAfx.h index 38c17215..d83e5c0b 100644 --- a/Source/7zip/Common/StdAfx.h +++ b/Source/7zip/Common/StdAfx.h @@ -1,4 +1,19 @@ -// StdAfx.h +/* + * StdAfx.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __STDAFX_H #define __STDAFX_H diff --git a/Source/7zip/Common/Types.h b/Source/7zip/Common/Types.h index 41d785e9..4e28bf4f 100644 --- a/Source/7zip/Common/Types.h +++ b/Source/7zip/Common/Types.h @@ -1,4 +1,19 @@ -// Common/Types.h +/* + * Types.h + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __COMMON_TYPES_H #define __COMMON_TYPES_H diff --git a/Source/7zip/LZMADecode.c b/Source/7zip/LZMADecode.c index 2594c163..9d9e6017 100644 --- a/Source/7zip/LZMADecode.c +++ b/Source/7zip/LZMADecode.c @@ -1,10 +1,19 @@ /* -LzmaDecode.c -LZMA Decoder -LZMA SDK 4.01 Copyright (c) 1999-2004 Igor Pavlov (2004-02-15) - -Converted to a state machine by Amir Szekely -*/ + * LZMADecode.c + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include #include "LZMADecode.h" diff --git a/Source/7zip/LZMADecode.h b/Source/7zip/LZMADecode.h index aad361dc..19401636 100644 --- a/Source/7zip/LZMADecode.h +++ b/Source/7zip/LZMADecode.h @@ -1,10 +1,19 @@ -/* -LzmaDecode.h -LZMA Decoder interface -LZMA SDK 4.01 Copyright (c) 1999-2004 Igor Pavlov (2004-02-15) - -Converted to a state machine by Amir Szekely -*/ +/* + * LZMADecode.c + * + * This file is a part of LZMA compression module for NSIS. + * + * Original LZMA SDK Copyright (C) 1999-2006 Igor Pavlov + * Modifications Copyright (C) 2003-2006 Amir Szekely + * + * Licensed under the Common Public License version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef __LZMADECODE_H #define __LZMADECODE_H diff --git a/Source/7zip/copying.txt b/Source/7zip/copying.txt deleted file mode 100644 index 4c389012..00000000 --- a/Source/7zip/copying.txt +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/Source/7zip/readme.txt b/Source/7zip/readme.txt deleted file mode 100644 index a8a6344e..00000000 --- a/Source/7zip/readme.txt +++ /dev/null @@ -1,32 +0,0 @@ -Modified LZMA library for NSIS ------------------------------- - - Copyright (c) 1999-2003 Igor Pavlov - - All files in this folder and it's subfolders are - licensed under GNU LGPL. - Most of these files were copied from source code - of 7-Zip compression program: - - http://www.7-zip.org - - Some of the files were modified and are not an - exact replica of the original files. - - LZMA is default and general compression method of 7z format in 7-Zip. - The main features of LZMA method: - - High compression ratio - - High decompressing speed: about 10-20 MB/s on 2 GHz CPU - - Small memory requirements for decompressing - - Small code size for decompressing: about 5 KB - - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. diff --git a/Source/DialogTemplate.cpp b/Source/DialogTemplate.cpp index 43714a00..406a646d 100644 --- a/Source/DialogTemplate.cpp +++ b/Source/DialogTemplate.cpp @@ -1,24 +1,18 @@ /* - Copyright (C) 2002 Amir Szekely - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - - 3. This notice may not be removed or altered from any source distribution. -*/ + * DialogTemplate.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 2002 Amir Szekely + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "DialogTemplate.h" #include // for assert(3) diff --git a/Source/DialogTemplate.h b/Source/DialogTemplate.h index b490ef62..327ba2ae 100644 --- a/Source/DialogTemplate.h +++ b/Source/DialogTemplate.h @@ -1,24 +1,18 @@ /* - Copyright (C) 2002 Amir Szekely - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - - 3. This notice may not be removed or altered from any source distribution. -*/ + * DialogTemplate.h + * + * This file is a part of NSIS. + * + * Copyright (C) 2002 Amir Szekely + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #if !defined(AFX_DIALOGTEMPLATE_H__C5A973AF_0F56_4BEC_814A_79318E2EB4AC__INCLUDED_) #define AFX_DIALOGTEMPLATE_H__C5A973AF_0F56_4BEC_814A_79318E2EB4AC__INCLUDED_ diff --git a/Source/Platform.h b/Source/Platform.h index fd0327c9..afc8dae8 100644 --- a/Source/Platform.h +++ b/Source/Platform.h @@ -1,3 +1,19 @@ +/* + * Platform.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef ___PLATFORM__H___ #define ___PLATFORM__H___ diff --git a/Source/Plugins.cpp b/Source/Plugins.cpp index 4f5f1095..80bd5c10 100644 --- a/Source/Plugins.cpp +++ b/Source/Plugins.cpp @@ -1,3 +1,19 @@ +/* + * Plugins.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "exehead/config.h" #ifdef NSIS_CONFIG_PLUGIN_SUPPORT diff --git a/Source/Plugins.h b/Source/Plugins.h index 86542d82..e5f24233 100644 --- a/Source/Plugins.h +++ b/Source/Plugins.h @@ -1,3 +1,19 @@ +/* + * Plugins.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef __X18_PLUGINS_H #define __X18_PLUGINS_H diff --git a/Source/ResourceEditor.cpp b/Source/ResourceEditor.cpp index c4bb670b..597e495b 100644 --- a/Source/ResourceEditor.cpp +++ b/Source/ResourceEditor.cpp @@ -1,24 +1,18 @@ /* - Copyright (C) 2002-2006 Amir Szekely - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - - 3. This notice may not be removed or altered from any source distribution. -*/ + * ResourceEditor.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 2002-2006 Amir Szekely + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "ResourceEditor.h" #include "util.h" diff --git a/Source/ResourceEditor.h b/Source/ResourceEditor.h index 2f85d8f3..e5fc8aea 100644 --- a/Source/ResourceEditor.h +++ b/Source/ResourceEditor.h @@ -1,24 +1,18 @@ /* - Copyright (C) 2002-2006 Amir Szekely - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - - 3. This notice may not be removed or altered from any source distribution. -*/ + * ResourceEditor.h + * + * This file is a part of NSIS. + * + * Copyright (C) 2002-2006 Amir Szekely + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #if !defined(AFX_RESOURCEEDITOR_H__683BF710_E805_4093_975B_D5729186A89A__INCLUDED_) #define AFX_RESOURCEEDITOR_H__683BF710_E805_4093_975B_D5729186A89A__INCLUDED_ diff --git a/Source/ResourceVersionInfo.cpp b/Source/ResourceVersionInfo.cpp index d40b9743..e49c319a 100644 --- a/Source/ResourceVersionInfo.cpp +++ b/Source/ResourceVersionInfo.cpp @@ -1,6 +1,18 @@ -// ResourceVersionInfo.cpp: implementation of the CResourceVersionInfo class. -// -////////////////////////////////////////////////////////////////////// +/* + * ResourceVersionInfo.cpp: implementation of the CResourceVersionInfo class. + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "ResourceVersionInfo.h" diff --git a/Source/ResourceVersionInfo.h b/Source/ResourceVersionInfo.h index 6aeaa378..ce709c05 100644 --- a/Source/ResourceVersionInfo.h +++ b/Source/ResourceVersionInfo.h @@ -1,6 +1,18 @@ -// ResourceVersionInfo.h: interface for the CResourceVersionInfo class. -// -////////////////////////////////////////////////////////////////////// +/* + * ResourceVersionInfo.h: interface for the CResourceVersionInfo class. + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #if !defined(AFX_RESOURCEVERSIONINFO_H__80439ADA_49DA_4623_8DA9_1663FF356E76__INCLUDED_) #define AFX_RESOURCEVERSIONINFO_H__80439ADA_49DA_4623_8DA9_1663FF356E76__INCLUDED_ diff --git a/Source/ShConstants.cpp b/Source/ShConstants.cpp index 122b156f..1d4cbd84 100644 --- a/Source/ShConstants.cpp +++ b/Source/ShConstants.cpp @@ -1,3 +1,19 @@ +/* + * ShConstants.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "ShConstants.h" ConstantsStringList::ConstantsStringList() diff --git a/Source/ShConstants.h b/Source/ShConstants.h index 19732cb0..2b2f2f38 100644 --- a/Source/ShConstants.h +++ b/Source/ShConstants.h @@ -1,4 +1,18 @@ -// constants.h by Ramon 18 Nov 2003 +/* + * ShConstants.h + * + * This file is a part of NSIS. + * + * Copyright (C) 2003 Ramon + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef ___CONSTANTS___H_____ #define ___CONSTANTS___H_____ diff --git a/Source/afxres.h b/Source/afxres.h index f4a413f2..cb67f49f 100644 --- a/Source/afxres.h +++ b/Source/afxres.h @@ -1,3 +1,19 @@ +/* + * afxres.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #ifndef IDC_STATIC diff --git a/Source/build.cpp b/Source/build.cpp index 3335f7f3..126cf362 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -1,3 +1,19 @@ +/* + * build.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #include #include "exehead/config.h" diff --git a/Source/build.h b/Source/build.h index 5cbf8616..59b249b5 100644 --- a/Source/build.h +++ b/Source/build.h @@ -1,3 +1,19 @@ +/* + * build.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef _BUILD_H_ #define _BUILD_H_ diff --git a/Source/bzip2/Readme.txt b/Source/bzip2/Readme.txt deleted file mode 100644 index 660ac80c..00000000 --- a/Source/bzip2/Readme.txt +++ /dev/null @@ -1,4 +0,0 @@ -These files are bzip2 files, modified for NSIS. The files are under -a BSD-like license. - -bzip2 is copyright (C) 1996-2002 Julian R Seward. All rights reserved. \ No newline at end of file diff --git a/Source/bzip2/blocksort.c b/Source/bzip2/blocksort.c index 731c83ca..909aa59d 100644 --- a/Source/bzip2/blocksort.c +++ b/Source/bzip2/blocksort.c @@ -1,3 +1,18 @@ +/* + * This file is a part of the bzip2 compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.bzip.org/ + * + * This modification is not compatible with the original bzip2. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "bzlib.h" #if (defined(NSIS_COMPRESS_USE_BZIP2) && defined(NSIS_CONFIG_COMPRESSION_SUPPORT)) || !defined(EXEHEAD) diff --git a/Source/bzip2/bzlib.c b/Source/bzip2/bzlib.c index 8c2c5cad..7d7dfd4c 100644 --- a/Source/bzip2/bzlib.c +++ b/Source/bzip2/bzlib.c @@ -1,3 +1,18 @@ +/* + * This file is a part of the bzip2 compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.bzip.org/ + * + * This modification is not compatible with the original bzip2. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "bzlib.h" #if (defined(NSIS_COMPRESS_USE_BZIP2) && defined(NSIS_CONFIG_COMPRESSION_SUPPORT)) || !defined(EXEHEAD) diff --git a/Source/bzip2/bzlib.h b/Source/bzip2/bzlib.h index 302cdf6f..45fc4d66 100644 --- a/Source/bzip2/bzlib.h +++ b/Source/bzip2/bzlib.h @@ -1,13 +1,23 @@ +/* + * This file is a part of the bzip2 compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.bzip.org/ + * + * This modification is not compatible with the original bzip2. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ /*-------------------------------------------------------------*/ /*--- Public header file for the library. ---*/ /*--- bzlib.h ---*/ /*-------------------------------------------------------------*/ -// (this has been hacked to pieces by dave laundon and justin frankel, -// and others, to make it small for nsis. it is not compatible with -// bzip2 any longer. yay. ) - /*-- This file is a part of bzip2 and/or libbzip2, a program and library for lossless, block-sorting data compression. diff --git a/Source/bzip2/compress.c b/Source/bzip2/compress.c index 4453eba8..fb60f190 100644 --- a/Source/bzip2/compress.c +++ b/Source/bzip2/compress.c @@ -1,3 +1,18 @@ +/* + * This file is a part of the bzip2 compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.bzip.org/ + * + * This modification is not compatible with the original bzip2. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + /*-------------------------------------------------------------*/ /*--- Compression machinery (not incl block sorting) ---*/ /*--- compress.c ---*/ diff --git a/Source/bzip2/decompress.c b/Source/bzip2/decompress.c index 40b41704..3546eb1d 100644 --- a/Source/bzip2/decompress.c +++ b/Source/bzip2/decompress.c @@ -1,3 +1,18 @@ +/* + * This file is a part of the bzip2 compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.bzip.org/ + * + * This modification is not compatible with the original bzip2. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "bzlib.h" #if defined(NSIS_COMPRESS_USE_BZIP2) && defined(NSIS_CONFIG_COMPRESSION_SUPPORT) diff --git a/Source/bzip2/huffman.c b/Source/bzip2/huffman.c index a52dcee1..0f16229b 100644 --- a/Source/bzip2/huffman.c +++ b/Source/bzip2/huffman.c @@ -1,3 +1,18 @@ +/* + * This file is a part of the bzip2 compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.bzip.org/ + * + * This modification is not compatible with the original bzip2. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "bzlib.h" #if (defined(NSIS_COMPRESS_USE_BZIP2) && defined(NSIS_CONFIG_COMPRESSION_SUPPORT)) || !defined(EXEHEAD) diff --git a/Source/cbzip2.h b/Source/cbzip2.h index f908d9a7..4d4d913b 100644 --- a/Source/cbzip2.h +++ b/Source/cbzip2.h @@ -1,3 +1,19 @@ +/* + * cbzip2.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef __CBZIP2_H__ #define __CBZIP2_H__ diff --git a/Source/clzma.cpp b/Source/clzma.cpp index 6116150c..31fb68ae 100644 --- a/Source/clzma.cpp +++ b/Source/clzma.cpp @@ -1,3 +1,19 @@ +/* + * clzma.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include // for std::min #include "clzma.h" diff --git a/Source/clzma.h b/Source/clzma.h index 005c832c..00bade9e 100644 --- a/Source/clzma.h +++ b/Source/clzma.h @@ -1,3 +1,19 @@ +/* + * clzma.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef __CLZMA_H__ #define __CLZMA_H__ diff --git a/Source/compressor.h b/Source/compressor.h index e8a677f2..ae9d16e0 100644 --- a/Source/compressor.h +++ b/Source/compressor.h @@ -1,3 +1,19 @@ +/* + * compressor.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef __COMPRESSOR_H__ #define __COMPRESSOR_H__ diff --git a/Source/crc32.c b/Source/crc32.c index eed0c883..6fb3c9d0 100644 --- a/Source/crc32.c +++ b/Source/crc32.c @@ -1,3 +1,19 @@ +/* + * crc32.c + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #include "crc32.h" #include "exehead/config.h" diff --git a/Source/crc32.h b/Source/crc32.h index d40a132a..4860a009 100644 --- a/Source/crc32.h +++ b/Source/crc32.h @@ -1,3 +1,19 @@ +/* + * crc32.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #ifndef ___CRC32__H___ diff --git a/Source/czlib.h b/Source/czlib.h index 2b19db25..5959266c 100644 --- a/Source/czlib.h +++ b/Source/czlib.h @@ -1,3 +1,19 @@ +/* + * czlib.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef __CZLIB_H__ #define __CZLIB_H__ diff --git a/Source/dirreader.cpp b/Source/dirreader.cpp index 68640c22..17388710 100644 --- a/Source/dirreader.cpp +++ b/Source/dirreader.cpp @@ -1,3 +1,19 @@ +/* + * dirreader.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #include "dirreader.h" #include diff --git a/Source/dirreader.h b/Source/dirreader.h index a6bccd66..78a8d00b 100644 --- a/Source/dirreader.h +++ b/Source/dirreader.h @@ -1,3 +1,19 @@ +/* + * dirreader.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #include #include diff --git a/Source/exehead/Main.c b/Source/exehead/Main.c index 3e27a499..72a1e8f9 100644 --- a/Source/exehead/Main.c +++ b/Source/exehead/Main.c @@ -1,35 +1,18 @@ -/* - - Nullsoft Scriptable Install System (NSIS) - main.c - executable header main code - - Copyright (C) 1999-2006 Nullsoft, Inc. - - This license applies to everything in the NSIS package, except where otherwise noted. - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - This is the zlib/libpng license, which is approved by opensource.org. - - Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib). - Portions Copyright (C) 1996-2002 Julian R Seward (bzip2). - Portions Copyright (C) 1999-2003 Igor Pavlov (lzma). - -*/ +/* + * main.c: executable header main code + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "../Platform.h" #include diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 00b89dda..f948921b 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -1,24 +1,18 @@ /* -* Copyright (C) 1999-2006 Nullsoft, Inc. -* Portions Copyright (C) 2002 Jeff Doozan -* -* This software is provided 'as-is', without any express or implied warranty. -* In no event will the authors be held liable for any damages arising from the -* use of this software. -* -* Permission is granted to anyone to use this software for any purpose, including -* commercial applications, and to alter it and redistribute it freely, subject to -* the following restrictions: -* -* 1. The origin of this software must not be misrepresented; you must not claim that -* you wrote the original software. If you use this software in a product, an -* acknowledgment in the product documentation would be appreciated but is not required. -* -* 2. Altered source versions must be plainly marked as such, and must not be -* misrepresented as being the original software. -* -* 3. This notice may not be removed or altered from any source distribution. -*/ + * Ui.c + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft, Jeff Doozan and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include #include diff --git a/Source/exehead/afxres.h b/Source/exehead/afxres.h index 3b7a44cf..f16744e8 100644 --- a/Source/exehead/afxres.h +++ b/Source/exehead/afxres.h @@ -1,3 +1,19 @@ +/* + * afxres.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "../Platform.h" #ifndef IDC_STATIC diff --git a/Source/exehead/bgbg.c b/Source/exehead/bgbg.c index 96092127..bc872422 100644 --- a/Source/exehead/bgbg.c +++ b/Source/exehead/bgbg.c @@ -1,3 +1,19 @@ +/* + * bgbg.c + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "../Platform.h" #include "resource.h" #include "config.h" diff --git a/Source/exehead/components.c b/Source/exehead/components.c index ed2b02b1..dd0d77b4 100644 --- a/Source/exehead/components.c +++ b/Source/exehead/components.c @@ -1,3 +1,19 @@ +/* + * components.c + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "../Platform.h" #include "config.h" #include "ui.h" diff --git a/Source/exehead/components.h b/Source/exehead/components.h index 09003533..203bf2c0 100644 --- a/Source/exehead/components.h +++ b/Source/exehead/components.h @@ -1,3 +1,19 @@ +/* + * components.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef ___COMPONENTS_H___ #define ___COMPONENTS_H___ diff --git a/Source/exehead/config.h b/Source/exehead/config.h index bc17c2c6..3b63f7e4 100644 --- a/Source/exehead/config.h +++ b/Source/exehead/config.h @@ -1,3 +1,19 @@ +/* + * config.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef NSIS_CONFIG_H #define NSIS_CONFIG_H diff --git a/Source/exehead/exec.c b/Source/exehead/exec.c index 5885e017..4506d6c5 100644 --- a/Source/exehead/exec.c +++ b/Source/exehead/exec.c @@ -1,3 +1,19 @@ +/* + * exec.c + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "../Platform.h" #include #include diff --git a/Source/exehead/exec.h b/Source/exehead/exec.h index 9c18c9e3..9d445b5d 100644 --- a/Source/exehead/exec.h +++ b/Source/exehead/exec.h @@ -1,3 +1,19 @@ +/* + * exec.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef _EXEC_H_ #define _EXEC_H_ diff --git a/Source/exehead/fileform.c b/Source/exehead/fileform.c index fd833ffb..cb1ce824 100644 --- a/Source/exehead/fileform.c +++ b/Source/exehead/fileform.c @@ -1,3 +1,19 @@ +/* + * fileform.c + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "../Platform.h" #include "fileform.h" #include "util.h" diff --git a/Source/exehead/fileform.h b/Source/exehead/fileform.h index 97c13330..c5c3dd9d 100644 --- a/Source/exehead/fileform.h +++ b/Source/exehead/fileform.h @@ -1,3 +1,19 @@ +/* + * fileform.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "config.h" #include "../Platform.h" diff --git a/Source/exehead/lang.h b/Source/exehead/lang.h index c9b7e058..349731fa 100644 --- a/Source/exehead/lang.h +++ b/Source/exehead/lang.h @@ -1,3 +1,19 @@ +/* + * lang.c + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef _NSIS_LANG_H_ #define _NSIS_LANG_H_ diff --git a/Source/exehead/state.h b/Source/exehead/state.h index 35e54280..db80c182 100644 --- a/Source/exehead/state.h +++ b/Source/exehead/state.h @@ -1,3 +1,19 @@ +/* + * fileform.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "fileform.h" extern NSIS_STRING g_usrvars[1]; diff --git a/Source/exehead/ui.h b/Source/exehead/ui.h index fd8545f5..3c1ba18b 100644 --- a/Source/exehead/ui.h +++ b/Source/exehead/ui.h @@ -1,3 +1,20 @@ +/* + * ui.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + + #ifndef _UI_H_ #define _UI_H_ diff --git a/Source/exehead/util.c b/Source/exehead/util.c index 548c6f01..fa034e4e 100644 --- a/Source/exehead/util.c +++ b/Source/exehead/util.c @@ -1,3 +1,19 @@ +/* + * util.c + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "../Platform.h" #include #include "util.h" diff --git a/Source/exehead/util.h b/Source/exehead/util.h index ef0e91f0..8c0638ac 100644 --- a/Source/exehead/util.h +++ b/Source/exehead/util.h @@ -1,3 +1,19 @@ +/* + * util.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "../Platform.h" #include "config.h" #include diff --git a/Source/fileform.cpp b/Source/fileform.cpp index ef9f1fcc..21ab3aef 100644 --- a/Source/fileform.cpp +++ b/Source/fileform.cpp @@ -1,3 +1,19 @@ +/* + * fileform.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "fileform.h" #include "exehead/config.h" #include "Platform.h" diff --git a/Source/fileform.h b/Source/fileform.h index 9fc053e9..34275953 100644 --- a/Source/fileform.h +++ b/Source/fileform.h @@ -1,3 +1,19 @@ +/* + * fileform.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef ___MAKENSIS_FILEFORM_H___ #define ___MAKENSIS_FILEFORM_H___ diff --git a/Source/growbuf.cpp b/Source/growbuf.cpp index cc18444f..7c49eea0 100644 --- a/Source/growbuf.cpp +++ b/Source/growbuf.cpp @@ -1,3 +1,19 @@ +/* + * growbuf.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "growbuf.h" #include // for malloc/free diff --git a/Source/growbuf.h b/Source/growbuf.h index 795df6ad..ab35a166 100644 --- a/Source/growbuf.h +++ b/Source/growbuf.h @@ -1,3 +1,19 @@ +/* + * growbuf.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef __GROWBUF_H_ #define __GROWBUF_H_ diff --git a/Source/lang.cpp b/Source/lang.cpp index 7b483f83..7a1e4bc8 100644 --- a/Source/lang.cpp +++ b/Source/lang.cpp @@ -1,3 +1,19 @@ +/* + * lang.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #include #include diff --git a/Source/lang.h b/Source/lang.h index 0e222cca..fbcf53a5 100644 --- a/Source/lang.h +++ b/Source/lang.h @@ -1,3 +1,19 @@ +/* + * lang.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef ___NLF___H_____ #define ___NLF___H_____ diff --git a/Source/lineparse.cpp b/Source/lineparse.cpp index 9a735229..42c6f4cd 100644 --- a/Source/lineparse.cpp +++ b/Source/lineparse.cpp @@ -1,3 +1,19 @@ +/* + * lineparse.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "lineparse.h" #include "Platform.h" diff --git a/Source/lineparse.h b/Source/lineparse.h index c6f742ba..3e7c45ba 100644 --- a/Source/lineparse.h +++ b/Source/lineparse.h @@ -1,3 +1,19 @@ +/* + * lineparse.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef _LINEPARSE_H_ #define _LINEPARSE_H_ diff --git a/Source/makenssi.cpp b/Source/makenssi.cpp index a3cd729c..eb98ab1c 100644 --- a/Source/makenssi.cpp +++ b/Source/makenssi.cpp @@ -1,35 +1,18 @@ -/* - - Nullsoft Scriptable Install System (NSIS) - makensis.cpp - installer compiler code - - Copyright (C) 1999-2006 Nullsoft, Inc. - - This license applies to everything in the NSIS package, except where otherwise noted. - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - This is the zlib/libpng license, which is approved by opensource.org. - - Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib). - Portions Copyright (C) 1996-2002 Julian R Seward (bzip2). - Portions Copyright (C) 1999-2003 Igor Pavlov (lzma). - -*/ +/* + * makenssi.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #include "Platform.h" #include @@ -109,19 +92,15 @@ static void init_signals() static void print_logo() { - fprintf(g_output,"MakeNSIS %s - Copyright 1999-2006 Nullsoft, Inc.\n" - "\n" - "Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib).\n" - "Portions Copyright (C) 1996-2002 Julian R Seward (bzip2).\n" - "Portions Copyright (C) 1999-2003 Igor Pavlov (lzma).\n" - "\n" - "Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al.\n\n",NSIS_VERSION); + fprintf(g_output,"MakeNSIS %s - Copyright 1995-2006 Contributors\n" + "See the file COPYING for license details.\n" + "Credits can be found in the Users Manual.\n\n" fflush(g_output); } static void print_license() { - fprintf(g_output,"Copyright (C) 1999-2006 Nullsoft, Inc.\n\n" + fprintf(g_output,"Copyright (C) 1999-2006 Nullsoft and Contributors\n\n" "This license applies to everything in the NSIS package, except where otherwise\nnoted.\n\n" "This software is provided 'as-is', without any express or implied warranty.\n" "In no event will the authors be held liable for any damages arising from the\n" @@ -135,7 +114,10 @@ static void print_license() " appreciated but is not required.\n" " 2. Altered source versions must be plainly marked as such, and must not be\n" " misrepresented as being the original software.\n" - " 3. This notice may not be removed or altered from any source distribution.\n\n"); + " 3. This notice may not be removed or altered from any source distribution.\n\n" + "In addition to this license, different licenses apply to the included compression\n" + "modules. See the file COPYING for details.\n\n" + ); fflush(g_output); } diff --git a/Source/manifest.cpp b/Source/manifest.cpp index af8c2147..2b9d531b 100644 --- a/Source/manifest.cpp +++ b/Source/manifest.cpp @@ -1,3 +1,19 @@ +/* + * manifest.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #include "manifest.h" #include "version.h" diff --git a/Source/manifest.h b/Source/manifest.h index a859c536..adc832df 100644 --- a/Source/manifest.h +++ b/Source/manifest.h @@ -1,3 +1,19 @@ +/* + * manifest.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef ___MANIFEST_H___ #define ___MANIFEST_H___ diff --git a/Source/mmap.cpp b/Source/mmap.cpp index eee5b53f..e0fcb23c 100644 --- a/Source/mmap.cpp +++ b/Source/mmap.cpp @@ -1,3 +1,19 @@ +/* + * mmap.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "mmap.h" #include // for f* diff --git a/Source/mmap.h b/Source/mmap.h index 6b6f060f..eb91b856 100644 --- a/Source/mmap.h +++ b/Source/mmap.h @@ -1,3 +1,19 @@ +/* + * mmap.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef __MMAP_H_ #define __MMAP_H_ diff --git a/Source/script.cpp b/Source/script.cpp index 5be1ddee..85f1cab3 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -1,3 +1,19 @@ +/* + * script.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #include #include diff --git a/Source/strlist.cpp b/Source/strlist.cpp index 18c9f857..d2e00b3e 100644 --- a/Source/strlist.cpp +++ b/Source/strlist.cpp @@ -1,8 +1,20 @@ -#include "strlist.h" +/* + * strlist.cpp: Implementation of the StringList class. + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ -// ========== -// StringList -// ========== +#include "strlist.h" int StringList::add(const char *str, int case_sensitive) { diff --git a/Source/strlist.h b/Source/strlist.h index ef1511e7..acd1a3de 100644 --- a/Source/strlist.h +++ b/Source/strlist.h @@ -1,3 +1,19 @@ +/* + * strlist.h: Implementation of the StringList class. + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef _STRLIST_H_ #define _STRLIST_H_ diff --git a/Source/tokens.cpp b/Source/tokens.cpp index 919001c9..09099c91 100644 --- a/Source/tokens.cpp +++ b/Source/tokens.cpp @@ -1,3 +1,19 @@ +/* + * tokens.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #include #include diff --git a/Source/tokens.h b/Source/tokens.h index 701ad5d6..9f6e792e 100644 --- a/Source/tokens.h +++ b/Source/tokens.h @@ -1,3 +1,19 @@ +/* + * tokens.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef _TOKENS_H_ #define _TOKENS_H_ diff --git a/Source/uservars.h b/Source/uservars.h index 39252a2c..2a5c21e4 100644 --- a/Source/uservars.h +++ b/Source/uservars.h @@ -1,4 +1,18 @@ -// uservars.h by Ramon 10 Jun 2003 +/* + * uservars.h + * + * This file is a part of NSIS. + * + * Copyright (C) 2003 Ramon + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ #ifndef ___USERVARS___H_____ #define ___USERVARS___H_____ diff --git a/Source/util.cpp b/Source/util.cpp index c0a9bc66..439e10ed 100644 --- a/Source/util.cpp +++ b/Source/util.cpp @@ -1,3 +1,19 @@ +/* + * util.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "Platform.h" #include #include diff --git a/Source/util.h b/Source/util.h index cc92214a..a38a7126 100644 --- a/Source/util.h +++ b/Source/util.h @@ -1,3 +1,19 @@ +/* + * util.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef _UTIL_H_ #define _UTIL_H_ diff --git a/Source/writer.cpp b/Source/writer.cpp index 1ef240e9..041b368c 100644 --- a/Source/writer.cpp +++ b/Source/writer.cpp @@ -1,3 +1,19 @@ +/* + * writer.cpp + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "exehead/config.h" #include "writer.h" #include "growbuf.h" diff --git a/Source/writer.h b/Source/writer.h index f7caf8db..7cde8755 100644 --- a/Source/writer.h +++ b/Source/writer.h @@ -1,3 +1,19 @@ +/* + * writer.h + * + * This file is a part of NSIS. + * + * Copyright (C) 1999-2006 Nullsoft and Contributors + * + * Licensed under the zlib/libpng license (the "License"); + * you may not use this file except in compliance with the License. + * + * Licence details can be found in the file COPYING. + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #ifndef ___WRITER__H___ #define ___WRITER__H___ diff --git a/Source/zlib/DEFLATE.H b/Source/zlib/DEFLATE.H index 0323cf78..7a1a815e 100644 --- a/Source/zlib/DEFLATE.H +++ b/Source/zlib/DEFLATE.H @@ -1,3 +1,16 @@ +/* + * This file is a part of the zlib compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.zlib.net/ + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + /* deflate.h -- internal compression state * Copyright (C) 1995-1998 Jean-loup Gailly * For conditions of distribution and use, see copyright notice in zlib.h diff --git a/Source/zlib/INFBLOCK.C b/Source/zlib/INFBLOCK.C index 368e580d..bb3883f1 100644 --- a/Source/zlib/INFBLOCK.C +++ b/Source/zlib/INFBLOCK.C @@ -1,3 +1,16 @@ +/* + * This file is a part of the zlib compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.zlib.net/ + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + #include "../exehead/config.h" #ifdef NSIS_COMPRESS_USE_ZLIB diff --git a/Source/zlib/ZCONF.H b/Source/zlib/ZCONF.H index 3618fe39..4638e3e7 100644 --- a/Source/zlib/ZCONF.H +++ b/Source/zlib/ZCONF.H @@ -1,9 +1,22 @@ +/* + * This file is a part of the zlib compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.zlib.net/ + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + /* zconf.h -- configuration of the zlib compression library * Copyright (C) 1995-1998 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ -/* @(#) $Id$ */ +/* @(#) $Id: ZCONF.H,v 1.1.1.1 2002/08/02 10:01:35 kichik Exp $ */ #ifndef _ZCONF_H #define _ZCONF_H diff --git a/Source/zlib/ZLIB.H b/Source/zlib/ZLIB.H index 58ef510d..776d024d 100644 --- a/Source/zlib/ZLIB.H +++ b/Source/zlib/ZLIB.H @@ -1,16 +1,15 @@ /* - Note: this version of zlib has been hacked up quite a bit in order to reduce - the size of the EXE header and to remove what we didn't need. - For the complete real thing, go to: - - http://www.info-zip.org/pub/infozip/zlib/ - - Peace, - - -Justin -*/ - - + * This file is a part of the zlib compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.zlib.net/ + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ /* zlib.h -- interface of the 'zlib' general purpose compression library version 1.1.3, July 9th, 1998 diff --git a/Source/zlib/ZUTIL.H b/Source/zlib/ZUTIL.H index 0ccb70e1..c1c5aabf 100644 --- a/Source/zlib/ZUTIL.H +++ b/Source/zlib/ZUTIL.H @@ -1,3 +1,16 @@ +/* + * This file is a part of the zlib compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.zlib.net/ + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + /* zutil.h -- internal interface and configuration of the compression library * Copyright (C) 1995-1998 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h @@ -8,7 +21,7 @@ subject to change. Applications should only use zlib.h. */ -/* @(#) $Id: ZUTIL.H,v 1.2 2002/09/22 20:02:03 eccles Exp $ */ +/* @(#) $Id: ZUTIL.H,v 1.3 2004/03/29 20:21:00 kichik Exp $ */ #ifndef _Z_UTIL_H #define _Z_UTIL_H diff --git a/Source/zlib/deflate.c b/Source/zlib/deflate.c index 9a5464ca..e22d1200 100644 --- a/Source/zlib/deflate.c +++ b/Source/zlib/deflate.c @@ -1,3 +1,16 @@ +/* + * This file is a part of the zlib compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.zlib.net/ + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + /* deflate.c -- compress data using the deflation algorithm * Copyright (C) 1995-1998 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h diff --git a/Source/zlib/trees.c b/Source/zlib/trees.c index 22d2734e..5fd0d24b 100644 --- a/Source/zlib/trees.c +++ b/Source/zlib/trees.c @@ -1,3 +1,16 @@ +/* + * This file is a part of the zlib compression module for NSIS. + * + * Copyright and license information can be found below. + * Modifications Copyright (C) 1999-2006 Nullsoft and Contributors + * + * The original zlib source code is available at + * http://www.zlib.net/ + * + * This software is provided 'as-is', without any express or implied + * warranty. + */ + /* trees.c -- output deflated data using Huffman coding * Copyright (C) 1995-1998 Jean-loup Gailly * For conditions of distribution and use, see copyright notice in zlib.h