1*8ba21522SJames CollinsFor ease of distribution, lesserphp is under a dual license. 2*8ba21522SJames CollinsYou are free to pick which one suits your needs. 3*8ba21522SJames Collins 4*8ba21522SJames Collins 5*8ba21522SJames Collins 6*8ba21522SJames Collins 7*8ba21522SJames CollinsMIT LICENSE 8*8ba21522SJames Collins 9*8ba21522SJames Collins 10*8ba21522SJames Collins 11*8ba21522SJames Collins 12*8ba21522SJames CollinsCopyright (c) 2013 - 2015 Leaf Corcoran, http://leafo.net/lessphp 13*8ba21522SJames CollinsCopyright (c) 2016 - Marcus Schwarz, https://www.maswaba.de 14*8ba21522SJames Collins 15*8ba21522SJames CollinsPermission is hereby granted, free of charge, to any person obtaining 16*8ba21522SJames Collinsa copy of this software and associated documentation files (the 17*8ba21522SJames Collins"Software"), to deal in the Software without restriction, including 18*8ba21522SJames Collinswithout limitation the rights to use, copy, modify, merge, publish, 19*8ba21522SJames Collinsdistribute, sublicense, and/or sell copies of the Software, and to 20*8ba21522SJames Collinspermit persons to whom the Software is furnished to do so, subject to 21*8ba21522SJames Collinsthe following conditions: 22*8ba21522SJames Collins 23*8ba21522SJames CollinsThe above copyright notice and this permission notice shall be 24*8ba21522SJames Collinsincluded in all copies or substantial portions of the Software. 25*8ba21522SJames Collins 26*8ba21522SJames CollinsTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 27*8ba21522SJames CollinsEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 28*8ba21522SJames CollinsMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 29*8ba21522SJames CollinsNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 30*8ba21522SJames CollinsLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 31*8ba21522SJames CollinsOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 32*8ba21522SJames CollinsWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 33*8ba21522SJames Collins 34*8ba21522SJames Collins 35*8ba21522SJames Collins 36*8ba21522SJames Collins 37*8ba21522SJames CollinsGPL VERSION 3 38*8ba21522SJames Collins 39*8ba21522SJames Collins 40*8ba21522SJames Collins 41*8ba21522SJames Collins 42*8ba21522SJames Collins GNU GENERAL PUBLIC LICENSE 43*8ba21522SJames Collins Version 3, 29 June 2007 44*8ba21522SJames Collins 45*8ba21522SJames Collins Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 46*8ba21522SJames Collins Everyone is permitted to copy and distribute verbatim copies 47*8ba21522SJames Collins of this license document, but changing it is not allowed. 48*8ba21522SJames Collins 49*8ba21522SJames Collins Preamble 50*8ba21522SJames Collins 51*8ba21522SJames Collins The GNU General Public License is a free, copyleft license for 52*8ba21522SJames Collinssoftware and other kinds of works. 53*8ba21522SJames Collins 54*8ba21522SJames Collins The licenses for most software and other practical works are designed 55*8ba21522SJames Collinsto take away your freedom to share and change the works. By contrast, 56*8ba21522SJames Collinsthe GNU General Public License is intended to guarantee your freedom to 57*8ba21522SJames Collinsshare and change all versions of a program--to make sure it remains free 58*8ba21522SJames Collinssoftware for all its users. We, the Free Software Foundation, use the 59*8ba21522SJames CollinsGNU General Public License for most of our software; it applies also to 60*8ba21522SJames Collinsany other work released this way by its authors. You can apply it to 61*8ba21522SJames Collinsyour programs, too. 62*8ba21522SJames Collins 63*8ba21522SJames Collins When we speak of free software, we are referring to freedom, not 64*8ba21522SJames Collinsprice. Our General Public Licenses are designed to make sure that you 65*8ba21522SJames Collinshave the freedom to distribute copies of free software (and charge for 66*8ba21522SJames Collinsthem if you wish), that you receive source code or can get it if you 67*8ba21522SJames Collinswant it, that you can change the software or use pieces of it in new 68*8ba21522SJames Collinsfree programs, and that you know you can do these things. 69*8ba21522SJames Collins 70*8ba21522SJames Collins To protect your rights, we need to prevent others from denying you 71*8ba21522SJames Collinsthese rights or asking you to surrender the rights. Therefore, you have 72*8ba21522SJames Collinscertain responsibilities if you distribute copies of the software, or if 73*8ba21522SJames Collinsyou modify it: responsibilities to respect the freedom of others. 74*8ba21522SJames Collins 75*8ba21522SJames Collins For example, if you distribute copies of such a program, whether 76*8ba21522SJames Collinsgratis or for a fee, you must pass on to the recipients the same 77*8ba21522SJames Collinsfreedoms that you received. You must make sure that they, too, receive 78*8ba21522SJames Collinsor can get the source code. And you must show them these terms so they 79*8ba21522SJames Collinsknow their rights. 80*8ba21522SJames Collins 81*8ba21522SJames Collins Developers that use the GNU GPL protect your rights with two steps: 82*8ba21522SJames Collins(1) assert copyright on the software, and (2) offer you this License 83*8ba21522SJames Collinsgiving you legal permission to copy, distribute and/or modify it. 84*8ba21522SJames Collins 85*8ba21522SJames Collins For the developers' and authors' protection, the GPL clearly explains 86*8ba21522SJames Collinsthat there is no warranty for this free software. For both users' and 87*8ba21522SJames Collinsauthors' sake, the GPL requires that modified versions be marked as 88*8ba21522SJames Collinschanged, so that their problems will not be attributed erroneously to 89*8ba21522SJames Collinsauthors of previous versions. 90*8ba21522SJames Collins 91*8ba21522SJames Collins Some devices are designed to deny users access to install or run 92*8ba21522SJames Collinsmodified versions of the software inside them, although the manufacturer 93*8ba21522SJames Collinscan do so. This is fundamentally incompatible with the aim of 94*8ba21522SJames Collinsprotecting users' freedom to change the software. The systematic 95*8ba21522SJames Collinspattern of such abuse occurs in the area of products for individuals to 96*8ba21522SJames Collinsuse, which is precisely where it is most unacceptable. Therefore, we 97*8ba21522SJames Collinshave designed this version of the GPL to prohibit the practice for those 98*8ba21522SJames Collinsproducts. If such problems arise substantially in other domains, we 99*8ba21522SJames Collinsstand ready to extend this provision to those domains in future versions 100*8ba21522SJames Collinsof the GPL, as needed to protect the freedom of users. 101*8ba21522SJames Collins 102*8ba21522SJames Collins Finally, every program is threatened constantly by software patents. 103*8ba21522SJames CollinsStates should not allow patents to restrict development and use of 104*8ba21522SJames Collinssoftware on general-purpose computers, but in those that do, we wish to 105*8ba21522SJames Collinsavoid the special danger that patents applied to a free program could 106*8ba21522SJames Collinsmake it effectively proprietary. To prevent this, the GPL assures that 107*8ba21522SJames Collinspatents cannot be used to render the program non-free. 108*8ba21522SJames Collins 109*8ba21522SJames Collins The precise terms and conditions for copying, distribution and 110*8ba21522SJames Collinsmodification follow. 111*8ba21522SJames Collins 112*8ba21522SJames Collins TERMS AND CONDITIONS 113*8ba21522SJames Collins 114*8ba21522SJames Collins 0. Definitions. 115*8ba21522SJames Collins 116*8ba21522SJames Collins "This License" refers to version 3 of the GNU General Public License. 117*8ba21522SJames Collins 118*8ba21522SJames Collins "Copyright" also means copyright-like laws that apply to other kinds of 119*8ba21522SJames Collinsworks, such as semiconductor masks. 120*8ba21522SJames Collins 121*8ba21522SJames Collins "The Program" refers to any copyrightable work licensed under this 122*8ba21522SJames CollinsLicense. Each licensee is addressed as "you". "Licensees" and 123*8ba21522SJames Collins"recipients" may be individuals or organizations. 124*8ba21522SJames Collins 125*8ba21522SJames Collins To "modify" a work means to copy from or adapt all or part of the work 126*8ba21522SJames Collinsin a fashion requiring copyright permission, other than the making of an 127*8ba21522SJames Collinsexact copy. The resulting work is called a "modified version" of the 128*8ba21522SJames Collinsearlier work or a work "based on" the earlier work. 129*8ba21522SJames Collins 130*8ba21522SJames Collins A "covered work" means either the unmodified Program or a work based 131*8ba21522SJames Collinson the Program. 132*8ba21522SJames Collins 133*8ba21522SJames Collins To "propagate" a work means to do anything with it that, without 134*8ba21522SJames Collinspermission, would make you directly or secondarily liable for 135*8ba21522SJames Collinsinfringement under applicable copyright law, except executing it on a 136*8ba21522SJames Collinscomputer or modifying a private copy. Propagation includes copying, 137*8ba21522SJames Collinsdistribution (with or without modification), making available to the 138*8ba21522SJames Collinspublic, and in some countries other activities as well. 139*8ba21522SJames Collins 140*8ba21522SJames Collins To "convey" a work means any kind of propagation that enables other 141*8ba21522SJames Collinsparties to make or receive copies. Mere interaction with a user through 142*8ba21522SJames Collinsa computer network, with no transfer of a copy, is not conveying. 143*8ba21522SJames Collins 144*8ba21522SJames Collins An interactive user interface displays "Appropriate Legal Notices" 145*8ba21522SJames Collinsto the extent that it includes a convenient and prominently visible 146*8ba21522SJames Collinsfeature that (1) displays an appropriate copyright notice, and (2) 147*8ba21522SJames Collinstells the user that there is no warranty for the work (except to the 148*8ba21522SJames Collinsextent that warranties are provided), that licensees may convey the 149*8ba21522SJames Collinswork under this License, and how to view a copy of this License. If 150*8ba21522SJames Collinsthe interface presents a list of user commands or options, such as a 151*8ba21522SJames Collinsmenu, a prominent item in the list meets this criterion. 152*8ba21522SJames Collins 153*8ba21522SJames Collins 1. Source Code. 154*8ba21522SJames Collins 155*8ba21522SJames Collins The "source code" for a work means the preferred form of the work 156*8ba21522SJames Collinsfor making modifications to it. "Object code" means any non-source 157*8ba21522SJames Collinsform of a work. 158*8ba21522SJames Collins 159*8ba21522SJames Collins A "Standard Interface" means an interface that either is an official 160*8ba21522SJames Collinsstandard defined by a recognized standards body, or, in the case of 161*8ba21522SJames Collinsinterfaces specified for a particular programming language, one that 162*8ba21522SJames Collinsis widely used among developers working in that language. 163*8ba21522SJames Collins 164*8ba21522SJames Collins The "System Libraries" of an executable work include anything, other 165*8ba21522SJames Collinsthan the work as a whole, that (a) is included in the normal form of 166*8ba21522SJames Collinspackaging a Major Component, but which is not part of that Major 167*8ba21522SJames CollinsComponent, and (b) serves only to enable use of the work with that 168*8ba21522SJames CollinsMajor Component, or to implement a Standard Interface for which an 169*8ba21522SJames Collinsimplementation is available to the public in source code form. A 170*8ba21522SJames Collins"Major Component", in this context, means a major essential component 171*8ba21522SJames Collins(kernel, window system, and so on) of the specific operating system 172*8ba21522SJames Collins(if any) on which the executable work runs, or a compiler used to 173*8ba21522SJames Collinsproduce the work, or an object code interpreter used to run it. 174*8ba21522SJames Collins 175*8ba21522SJames Collins The "Corresponding Source" for a work in object code form means all 176*8ba21522SJames Collinsthe source code needed to generate, install, and (for an executable 177*8ba21522SJames Collinswork) run the object code and to modify the work, including scripts to 178*8ba21522SJames Collinscontrol those activities. However, it does not include the work's 179*8ba21522SJames CollinsSystem Libraries, or general-purpose tools or generally available free 180*8ba21522SJames Collinsprograms which are used unmodified in performing those activities but 181*8ba21522SJames Collinswhich are not part of the work. For example, Corresponding Source 182*8ba21522SJames Collinsincludes interface definition files associated with source files for 183*8ba21522SJames Collinsthe work, and the source code for shared libraries and dynamically 184*8ba21522SJames Collinslinked subprograms that the work is specifically designed to require, 185*8ba21522SJames Collinssuch as by intimate data communication or control flow between those 186*8ba21522SJames Collinssubprograms and other parts of the work. 187*8ba21522SJames Collins 188*8ba21522SJames Collins The Corresponding Source need not include anything that users 189*8ba21522SJames Collinscan regenerate automatically from other parts of the Corresponding 190*8ba21522SJames CollinsSource. 191*8ba21522SJames Collins 192*8ba21522SJames Collins The Corresponding Source for a work in source code form is that 193*8ba21522SJames Collinssame work. 194*8ba21522SJames Collins 195*8ba21522SJames Collins 2. Basic Permissions. 196*8ba21522SJames Collins 197*8ba21522SJames Collins All rights granted under this License are granted for the term of 198*8ba21522SJames Collinscopyright on the Program, and are irrevocable provided the stated 199*8ba21522SJames Collinsconditions are met. This License explicitly affirms your unlimited 200*8ba21522SJames Collinspermission to run the unmodified Program. The output from running a 201*8ba21522SJames Collinscovered work is covered by this License only if the output, given its 202*8ba21522SJames Collinscontent, constitutes a covered work. This License acknowledges your 203*8ba21522SJames Collinsrights of fair use or other equivalent, as provided by copyright law. 204*8ba21522SJames Collins 205*8ba21522SJames Collins You may make, run and propagate covered works that you do not 206*8ba21522SJames Collinsconvey, without conditions so long as your license otherwise remains 207*8ba21522SJames Collinsin force. You may convey covered works to others for the sole purpose 208*8ba21522SJames Collinsof having them make modifications exclusively for you, or provide you 209*8ba21522SJames Collinswith facilities for running those works, provided that you comply with 210*8ba21522SJames Collinsthe terms of this License in conveying all material for which you do 211*8ba21522SJames Collinsnot control copyright. Those thus making or running the covered works 212*8ba21522SJames Collinsfor you must do so exclusively on your behalf, under your direction 213*8ba21522SJames Collinsand control, on terms that prohibit them from making any copies of 214*8ba21522SJames Collinsyour copyrighted material outside their relationship with you. 215*8ba21522SJames Collins 216*8ba21522SJames Collins Conveying under any other circumstances is permitted solely under 217*8ba21522SJames Collinsthe conditions stated below. Sublicensing is not allowed; section 10 218*8ba21522SJames Collinsmakes it unnecessary. 219*8ba21522SJames Collins 220*8ba21522SJames Collins 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 221*8ba21522SJames Collins 222*8ba21522SJames Collins No covered work shall be deemed part of an effective technological 223*8ba21522SJames Collinsmeasure under any applicable law fulfilling obligations under article 224*8ba21522SJames Collins11 of the WIPO copyright treaty adopted on 20 December 1996, or 225*8ba21522SJames Collinssimilar laws prohibiting or restricting circumvention of such 226*8ba21522SJames Collinsmeasures. 227*8ba21522SJames Collins 228*8ba21522SJames Collins When you convey a covered work, you waive any legal power to forbid 229*8ba21522SJames Collinscircumvention of technological measures to the extent such circumvention 230*8ba21522SJames Collinsis effected by exercising rights under this License with respect to 231*8ba21522SJames Collinsthe covered work, and you disclaim any intention to limit operation or 232*8ba21522SJames Collinsmodification of the work as a means of enforcing, against the work's 233*8ba21522SJames Collinsusers, your or third parties' legal rights to forbid circumvention of 234*8ba21522SJames Collinstechnological measures. 235*8ba21522SJames Collins 236*8ba21522SJames Collins 4. Conveying Verbatim Copies. 237*8ba21522SJames Collins 238*8ba21522SJames Collins You may convey verbatim copies of the Program's source code as you 239*8ba21522SJames Collinsreceive it, in any medium, provided that you conspicuously and 240*8ba21522SJames Collinsappropriately publish on each copy an appropriate copyright notice; 241*8ba21522SJames Collinskeep intact all notices stating that this License and any 242*8ba21522SJames Collinsnon-permissive terms added in accord with section 7 apply to the code; 243*8ba21522SJames Collinskeep intact all notices of the absence of any warranty; and give all 244*8ba21522SJames Collinsrecipients a copy of this License along with the Program. 245*8ba21522SJames Collins 246*8ba21522SJames Collins You may charge any price or no price for each copy that you convey, 247*8ba21522SJames Collinsand you may offer support or warranty protection for a fee. 248*8ba21522SJames Collins 249*8ba21522SJames Collins 5. Conveying Modified Source Versions. 250*8ba21522SJames Collins 251*8ba21522SJames Collins You may convey a work based on the Program, or the modifications to 252*8ba21522SJames Collinsproduce it from the Program, in the form of source code under the 253*8ba21522SJames Collinsterms of section 4, provided that you also meet all of these conditions: 254*8ba21522SJames Collins 255*8ba21522SJames Collins a) The work must carry prominent notices stating that you modified 256*8ba21522SJames Collins it, and giving a relevant date. 257*8ba21522SJames Collins 258*8ba21522SJames Collins b) The work must carry prominent notices stating that it is 259*8ba21522SJames Collins released under this License and any conditions added under section 260*8ba21522SJames Collins 7. This requirement modifies the requirement in section 4 to 261*8ba21522SJames Collins "keep intact all notices". 262*8ba21522SJames Collins 263*8ba21522SJames Collins c) You must license the entire work, as a whole, under this 264*8ba21522SJames Collins License to anyone who comes into possession of a copy. This 265*8ba21522SJames Collins License will therefore apply, along with any applicable section 7 266*8ba21522SJames Collins additional terms, to the whole of the work, and all its parts, 267*8ba21522SJames Collins regardless of how they are packaged. This License gives no 268*8ba21522SJames Collins permission to license the work in any other way, but it does not 269*8ba21522SJames Collins invalidate such permission if you have separately received it. 270*8ba21522SJames Collins 271*8ba21522SJames Collins d) If the work has interactive user interfaces, each must display 272*8ba21522SJames Collins Appropriate Legal Notices; however, if the Program has interactive 273*8ba21522SJames Collins interfaces that do not display Appropriate Legal Notices, your 274*8ba21522SJames Collins work need not make them do so. 275*8ba21522SJames Collins 276*8ba21522SJames Collins A compilation of a covered work with other separate and independent 277*8ba21522SJames Collinsworks, which are not by their nature extensions of the covered work, 278*8ba21522SJames Collinsand which are not combined with it such as to form a larger program, 279*8ba21522SJames Collinsin or on a volume of a storage or distribution medium, is called an 280*8ba21522SJames Collins"aggregate" if the compilation and its resulting copyright are not 281*8ba21522SJames Collinsused to limit the access or legal rights of the compilation's users 282*8ba21522SJames Collinsbeyond what the individual works permit. Inclusion of a covered work 283*8ba21522SJames Collinsin an aggregate does not cause this License to apply to the other 284*8ba21522SJames Collinsparts of the aggregate. 285*8ba21522SJames Collins 286*8ba21522SJames Collins 6. Conveying Non-Source Forms. 287*8ba21522SJames Collins 288*8ba21522SJames Collins You may convey a covered work in object code form under the terms 289*8ba21522SJames Collinsof sections 4 and 5, provided that you also convey the 290*8ba21522SJames Collinsmachine-readable Corresponding Source under the terms of this License, 291*8ba21522SJames Collinsin one of these ways: 292*8ba21522SJames Collins 293*8ba21522SJames Collins a) Convey the object code in, or embodied in, a physical product 294*8ba21522SJames Collins (including a physical distribution medium), accompanied by the 295*8ba21522SJames Collins Corresponding Source fixed on a durable physical medium 296*8ba21522SJames Collins customarily used for software interchange. 297*8ba21522SJames Collins 298*8ba21522SJames Collins b) Convey the object code in, or embodied in, a physical product 299*8ba21522SJames Collins (including a physical distribution medium), accompanied by a 300*8ba21522SJames Collins written offer, valid for at least three years and valid for as 301*8ba21522SJames Collins long as you offer spare parts or customer support for that product 302*8ba21522SJames Collins model, to give anyone who possesses the object code either (1) a 303*8ba21522SJames Collins copy of the Corresponding Source for all the software in the 304*8ba21522SJames Collins product that is covered by this License, on a durable physical 305*8ba21522SJames Collins medium customarily used for software interchange, for a price no 306*8ba21522SJames Collins more than your reasonable cost of physically performing this 307*8ba21522SJames Collins conveying of source, or (2) access to copy the 308*8ba21522SJames Collins Corresponding Source from a network server at no charge. 309*8ba21522SJames Collins 310*8ba21522SJames Collins c) Convey individual copies of the object code with a copy of the 311*8ba21522SJames Collins written offer to provide the Corresponding Source. This 312*8ba21522SJames Collins alternative is allowed only occasionally and noncommercially, and 313*8ba21522SJames Collins only if you received the object code with such an offer, in accord 314*8ba21522SJames Collins with subsection 6b. 315*8ba21522SJames Collins 316*8ba21522SJames Collins d) Convey the object code by offering access from a designated 317*8ba21522SJames Collins place (gratis or for a charge), and offer equivalent access to the 318*8ba21522SJames Collins Corresponding Source in the same way through the same place at no 319*8ba21522SJames Collins further charge. You need not require recipients to copy the 320*8ba21522SJames Collins Corresponding Source along with the object code. If the place to 321*8ba21522SJames Collins copy the object code is a network server, the Corresponding Source 322*8ba21522SJames Collins may be on a different server (operated by you or a third party) 323*8ba21522SJames Collins that supports equivalent copying facilities, provided you maintain 324*8ba21522SJames Collins clear directions next to the object code saying where to find the 325*8ba21522SJames Collins Corresponding Source. Regardless of what server hosts the 326*8ba21522SJames Collins Corresponding Source, you remain obligated to ensure that it is 327*8ba21522SJames Collins available for as long as needed to satisfy these requirements. 328*8ba21522SJames Collins 329*8ba21522SJames Collins e) Convey the object code using peer-to-peer transmission, provided 330*8ba21522SJames Collins you inform other peers where the object code and Corresponding 331*8ba21522SJames Collins Source of the work are being offered to the general public at no 332*8ba21522SJames Collins charge under subsection 6d. 333*8ba21522SJames Collins 334*8ba21522SJames Collins A separable portion of the object code, whose source code is excluded 335*8ba21522SJames Collinsfrom the Corresponding Source as a System Library, need not be 336*8ba21522SJames Collinsincluded in conveying the object code work. 337*8ba21522SJames Collins 338*8ba21522SJames Collins A "User Product" is either (1) a "consumer product", which means any 339*8ba21522SJames Collinstangible personal property which is normally used for personal, family, 340*8ba21522SJames Collinsor household purposes, or (2) anything designed or sold for incorporation 341*8ba21522SJames Collinsinto a dwelling. In determining whether a product is a consumer product, 342*8ba21522SJames Collinsdoubtful cases shall be resolved in favor of coverage. For a particular 343*8ba21522SJames Collinsproduct received by a particular user, "normally used" refers to a 344*8ba21522SJames Collinstypical or common use of that class of product, regardless of the status 345*8ba21522SJames Collinsof the particular user or of the way in which the particular user 346*8ba21522SJames Collinsactually uses, or expects or is expected to use, the product. A product 347*8ba21522SJames Collinsis a consumer product regardless of whether the product has substantial 348*8ba21522SJames Collinscommercial, industrial or non-consumer uses, unless such uses represent 349*8ba21522SJames Collinsthe only significant mode of use of the product. 350*8ba21522SJames Collins 351*8ba21522SJames Collins "Installation Information" for a User Product means any methods, 352*8ba21522SJames Collinsprocedures, authorization keys, or other information required to install 353*8ba21522SJames Collinsand execute modified versions of a covered work in that User Product from 354*8ba21522SJames Collinsa modified version of its Corresponding Source. The information must 355*8ba21522SJames Collinssuffice to ensure that the continued functioning of the modified object 356*8ba21522SJames Collinscode is in no case prevented or interfered with solely because 357*8ba21522SJames Collinsmodification has been made. 358*8ba21522SJames Collins 359*8ba21522SJames Collins If you convey an object code work under this section in, or with, or 360*8ba21522SJames Collinsspecifically for use in, a User Product, and the conveying occurs as 361*8ba21522SJames Collinspart of a transaction in which the right of possession and use of the 362*8ba21522SJames CollinsUser Product is transferred to the recipient in perpetuity or for a 363*8ba21522SJames Collinsfixed term (regardless of how the transaction is characterized), the 364*8ba21522SJames CollinsCorresponding Source conveyed under this section must be accompanied 365*8ba21522SJames Collinsby the Installation Information. But this requirement does not apply 366*8ba21522SJames Collinsif neither you nor any third party retains the ability to install 367*8ba21522SJames Collinsmodified object code on the User Product (for example, the work has 368*8ba21522SJames Collinsbeen installed in ROM). 369*8ba21522SJames Collins 370*8ba21522SJames Collins The requirement to provide Installation Information does not include a 371*8ba21522SJames Collinsrequirement to continue to provide support service, warranty, or updates 372*8ba21522SJames Collinsfor a work that has been modified or installed by the recipient, or for 373*8ba21522SJames Collinsthe User Product in which it has been modified or installed. Access to a 374*8ba21522SJames Collinsnetwork may be denied when the modification itself materially and 375*8ba21522SJames Collinsadversely affects the operation of the network or violates the rules and 376*8ba21522SJames Collinsprotocols for communication across the network. 377*8ba21522SJames Collins 378*8ba21522SJames Collins Corresponding Source conveyed, and Installation Information provided, 379*8ba21522SJames Collinsin accord with this section must be in a format that is publicly 380*8ba21522SJames Collinsdocumented (and with an implementation available to the public in 381*8ba21522SJames Collinssource code form), and must require no special password or key for 382*8ba21522SJames Collinsunpacking, reading or copying. 383*8ba21522SJames Collins 384*8ba21522SJames Collins 7. Additional Terms. 385*8ba21522SJames Collins 386*8ba21522SJames Collins "Additional permissions" are terms that supplement the terms of this 387*8ba21522SJames CollinsLicense by making exceptions from one or more of its conditions. 388*8ba21522SJames CollinsAdditional permissions that are applicable to the entire Program shall 389*8ba21522SJames Collinsbe treated as though they were included in this License, to the extent 390*8ba21522SJames Collinsthat they are valid under applicable law. If additional permissions 391*8ba21522SJames Collinsapply only to part of the Program, that part may be used separately 392*8ba21522SJames Collinsunder those permissions, but the entire Program remains governed by 393*8ba21522SJames Collinsthis License without regard to the additional permissions. 394*8ba21522SJames Collins 395*8ba21522SJames Collins When you convey a copy of a covered work, you may at your option 396*8ba21522SJames Collinsremove any additional permissions from that copy, or from any part of 397*8ba21522SJames Collinsit. (Additional permissions may be written to require their own 398*8ba21522SJames Collinsremoval in certain cases when you modify the work.) You may place 399*8ba21522SJames Collinsadditional permissions on material, added by you to a covered work, 400*8ba21522SJames Collinsfor which you have or can give appropriate copyright permission. 401*8ba21522SJames Collins 402*8ba21522SJames Collins Notwithstanding any other provision of this License, for material you 403*8ba21522SJames Collinsadd to a covered work, you may (if authorized by the copyright holders of 404*8ba21522SJames Collinsthat material) supplement the terms of this License with terms: 405*8ba21522SJames Collins 406*8ba21522SJames Collins a) Disclaiming warranty or limiting liability differently from the 407*8ba21522SJames Collins terms of sections 15 and 16 of this License; or 408*8ba21522SJames Collins 409*8ba21522SJames Collins b) Requiring preservation of specified reasonable legal notices or 410*8ba21522SJames Collins author attributions in that material or in the Appropriate Legal 411*8ba21522SJames Collins Notices displayed by works containing it; or 412*8ba21522SJames Collins 413*8ba21522SJames Collins c) Prohibiting misrepresentation of the origin of that material, or 414*8ba21522SJames Collins requiring that modified versions of such material be marked in 415*8ba21522SJames Collins reasonable ways as different from the original version; or 416*8ba21522SJames Collins 417*8ba21522SJames Collins d) Limiting the use for publicity purposes of names of licensors or 418*8ba21522SJames Collins authors of the material; or 419*8ba21522SJames Collins 420*8ba21522SJames Collins e) Declining to grant rights under trademark law for use of some 421*8ba21522SJames Collins trade names, trademarks, or service marks; or 422*8ba21522SJames Collins 423*8ba21522SJames Collins f) Requiring indemnification of licensors and authors of that 424*8ba21522SJames Collins material by anyone who conveys the material (or modified versions of 425*8ba21522SJames Collins it) with contractual assumptions of liability to the recipient, for 426*8ba21522SJames Collins any liability that these contractual assumptions directly impose on 427*8ba21522SJames Collins those licensors and authors. 428*8ba21522SJames Collins 429*8ba21522SJames Collins All other non-permissive additional terms are considered "further 430*8ba21522SJames Collinsrestrictions" within the meaning of section 10. If the Program as you 431*8ba21522SJames Collinsreceived it, or any part of it, contains a notice stating that it is 432*8ba21522SJames Collinsgoverned by this License along with a term that is a further 433*8ba21522SJames Collinsrestriction, you may remove that term. If a license document contains 434*8ba21522SJames Collinsa further restriction but permits relicensing or conveying under this 435*8ba21522SJames CollinsLicense, you may add to a covered work material governed by the terms 436*8ba21522SJames Collinsof that license document, provided that the further restriction does 437*8ba21522SJames Collinsnot survive such relicensing or conveying. 438*8ba21522SJames Collins 439*8ba21522SJames Collins If you add terms to a covered work in accord with this section, you 440*8ba21522SJames Collinsmust place, in the relevant source files, a statement of the 441*8ba21522SJames Collinsadditional terms that apply to those files, or a notice indicating 442*8ba21522SJames Collinswhere to find the applicable terms. 443*8ba21522SJames Collins 444*8ba21522SJames Collins Additional terms, permissive or non-permissive, may be stated in the 445*8ba21522SJames Collinsform of a separately written license, or stated as exceptions; 446*8ba21522SJames Collinsthe above requirements apply either way. 447*8ba21522SJames Collins 448*8ba21522SJames Collins 8. Termination. 449*8ba21522SJames Collins 450*8ba21522SJames Collins You may not propagate or modify a covered work except as expressly 451*8ba21522SJames Collinsprovided under this License. Any attempt otherwise to propagate or 452*8ba21522SJames Collinsmodify it is void, and will automatically terminate your rights under 453*8ba21522SJames Collinsthis License (including any patent licenses granted under the third 454*8ba21522SJames Collinsparagraph of section 11). 455*8ba21522SJames Collins 456*8ba21522SJames Collins However, if you cease all violation of this License, then your 457*8ba21522SJames Collinslicense from a particular copyright holder is reinstated (a) 458*8ba21522SJames Collinsprovisionally, unless and until the copyright holder explicitly and 459*8ba21522SJames Collinsfinally terminates your license, and (b) permanently, if the copyright 460*8ba21522SJames Collinsholder fails to notify you of the violation by some reasonable means 461*8ba21522SJames Collinsprior to 60 days after the cessation. 462*8ba21522SJames Collins 463*8ba21522SJames Collins Moreover, your license from a particular copyright holder is 464*8ba21522SJames Collinsreinstated permanently if the copyright holder notifies you of the 465*8ba21522SJames Collinsviolation by some reasonable means, this is the first time you have 466*8ba21522SJames Collinsreceived notice of violation of this License (for any work) from that 467*8ba21522SJames Collinscopyright holder, and you cure the violation prior to 30 days after 468*8ba21522SJames Collinsyour receipt of the notice. 469*8ba21522SJames Collins 470*8ba21522SJames Collins Termination of your rights under this section does not terminate the 471*8ba21522SJames Collinslicenses of parties who have received copies or rights from you under 472*8ba21522SJames Collinsthis License. If your rights have been terminated and not permanently 473*8ba21522SJames Collinsreinstated, you do not qualify to receive new licenses for the same 474*8ba21522SJames Collinsmaterial under section 10. 475*8ba21522SJames Collins 476*8ba21522SJames Collins 9. Acceptance Not Required for Having Copies. 477*8ba21522SJames Collins 478*8ba21522SJames Collins You are not required to accept this License in order to receive or 479*8ba21522SJames Collinsrun a copy of the Program. Ancillary propagation of a covered work 480*8ba21522SJames Collinsoccurring solely as a consequence of using peer-to-peer transmission 481*8ba21522SJames Collinsto receive a copy likewise does not require acceptance. However, 482*8ba21522SJames Collinsnothing other than this License grants you permission to propagate or 483*8ba21522SJames Collinsmodify any covered work. These actions infringe copyright if you do 484*8ba21522SJames Collinsnot accept this License. Therefore, by modifying or propagating a 485*8ba21522SJames Collinscovered work, you indicate your acceptance of this License to do so. 486*8ba21522SJames Collins 487*8ba21522SJames Collins 10. Automatic Licensing of Downstream Recipients. 488*8ba21522SJames Collins 489*8ba21522SJames Collins Each time you convey a covered work, the recipient automatically 490*8ba21522SJames Collinsreceives a license from the original licensors, to run, modify and 491*8ba21522SJames Collinspropagate that work, subject to this License. You are not responsible 492*8ba21522SJames Collinsfor enforcing compliance by third parties with this License. 493*8ba21522SJames Collins 494*8ba21522SJames Collins An "entity transaction" is a transaction transferring control of an 495*8ba21522SJames Collinsorganization, or substantially all assets of one, or subdividing an 496*8ba21522SJames Collinsorganization, or merging organizations. If propagation of a covered 497*8ba21522SJames Collinswork results from an entity transaction, each party to that 498*8ba21522SJames Collinstransaction who receives a copy of the work also receives whatever 499*8ba21522SJames Collinslicenses to the work the party's predecessor in interest had or could 500*8ba21522SJames Collinsgive under the previous paragraph, plus a right to possession of the 501*8ba21522SJames CollinsCorresponding Source of the work from the predecessor in interest, if 502*8ba21522SJames Collinsthe predecessor has it or can get it with reasonable efforts. 503*8ba21522SJames Collins 504*8ba21522SJames Collins You may not impose any further restrictions on the exercise of the 505*8ba21522SJames Collinsrights granted or affirmed under this License. For example, you may 506*8ba21522SJames Collinsnot impose a license fee, royalty, or other charge for exercise of 507*8ba21522SJames Collinsrights granted under this License, and you may not initiate litigation 508*8ba21522SJames Collins(including a cross-claim or counterclaim in a lawsuit) alleging that 509*8ba21522SJames Collinsany patent claim is infringed by making, using, selling, offering for 510*8ba21522SJames Collinssale, or importing the Program or any portion of it. 511*8ba21522SJames Collins 512*8ba21522SJames Collins 11. Patents. 513*8ba21522SJames Collins 514*8ba21522SJames Collins A "contributor" is a copyright holder who authorizes use under this 515*8ba21522SJames CollinsLicense of the Program or a work on which the Program is based. The 516*8ba21522SJames Collinswork thus licensed is called the contributor's "contributor version". 517*8ba21522SJames Collins 518*8ba21522SJames Collins A contributor's "essential patent claims" are all patent claims 519*8ba21522SJames Collinsowned or controlled by the contributor, whether already acquired or 520*8ba21522SJames Collinshereafter acquired, that would be infringed by some manner, permitted 521*8ba21522SJames Collinsby this License, of making, using, or selling its contributor version, 522*8ba21522SJames Collinsbut do not include claims that would be infringed only as a 523*8ba21522SJames Collinsconsequence of further modification of the contributor version. For 524*8ba21522SJames Collinspurposes of this definition, "control" includes the right to grant 525*8ba21522SJames Collinspatent sublicenses in a manner consistent with the requirements of 526*8ba21522SJames Collinsthis License. 527*8ba21522SJames Collins 528*8ba21522SJames Collins Each contributor grants you a non-exclusive, worldwide, royalty-free 529*8ba21522SJames Collinspatent license under the contributor's essential patent claims, to 530*8ba21522SJames Collinsmake, use, sell, offer for sale, import and otherwise run, modify and 531*8ba21522SJames Collinspropagate the contents of its contributor version. 532*8ba21522SJames Collins 533*8ba21522SJames Collins In the following three paragraphs, a "patent license" is any express 534*8ba21522SJames Collinsagreement or commitment, however denominated, not to enforce a patent 535*8ba21522SJames Collins(such as an express permission to practice a patent or covenant not to 536*8ba21522SJames Collinssue for patent infringement). To "grant" such a patent license to a 537*8ba21522SJames Collinsparty means to make such an agreement or commitment not to enforce a 538*8ba21522SJames Collinspatent against the party. 539*8ba21522SJames Collins 540*8ba21522SJames Collins If you convey a covered work, knowingly relying on a patent license, 541*8ba21522SJames Collinsand the Corresponding Source of the work is not available for anyone 542*8ba21522SJames Collinsto copy, free of charge and under the terms of this License, through a 543*8ba21522SJames Collinspublicly available network server or other readily accessible means, 544*8ba21522SJames Collinsthen you must either (1) cause the Corresponding Source to be so 545*8ba21522SJames Collinsavailable, or (2) arrange to deprive yourself of the benefit of the 546*8ba21522SJames Collinspatent license for this particular work, or (3) arrange, in a manner 547*8ba21522SJames Collinsconsistent with the requirements of this License, to extend the patent 548*8ba21522SJames Collinslicense to downstream recipients. "Knowingly relying" means you have 549*8ba21522SJames Collinsactual knowledge that, but for the patent license, your conveying the 550*8ba21522SJames Collinscovered work in a country, or your recipient's use of the covered work 551*8ba21522SJames Collinsin a country, would infringe one or more identifiable patents in that 552*8ba21522SJames Collinscountry that you have reason to believe are valid. 553*8ba21522SJames Collins 554*8ba21522SJames Collins If, pursuant to or in connection with a single transaction or 555*8ba21522SJames Collinsarrangement, you convey, or propagate by procuring conveyance of, a 556*8ba21522SJames Collinscovered work, and grant a patent license to some of the parties 557*8ba21522SJames Collinsreceiving the covered work authorizing them to use, propagate, modify 558*8ba21522SJames Collinsor convey a specific copy of the covered work, then the patent license 559*8ba21522SJames Collinsyou grant is automatically extended to all recipients of the covered 560*8ba21522SJames Collinswork and works based on it. 561*8ba21522SJames Collins 562*8ba21522SJames Collins A patent license is "discriminatory" if it does not include within 563*8ba21522SJames Collinsthe scope of its coverage, prohibits the exercise of, or is 564*8ba21522SJames Collinsconditioned on the non-exercise of one or more of the rights that are 565*8ba21522SJames Collinsspecifically granted under this License. You may not convey a covered 566*8ba21522SJames Collinswork if you are a party to an arrangement with a third party that is 567*8ba21522SJames Collinsin the business of distributing software, under which you make payment 568*8ba21522SJames Collinsto the third party based on the extent of your activity of conveying 569*8ba21522SJames Collinsthe work, and under which the third party grants, to any of the 570*8ba21522SJames Collinsparties who would receive the covered work from you, a discriminatory 571*8ba21522SJames Collinspatent license (a) in connection with copies of the covered work 572*8ba21522SJames Collinsconveyed by you (or copies made from those copies), or (b) primarily 573*8ba21522SJames Collinsfor and in connection with specific products or compilations that 574*8ba21522SJames Collinscontain the covered work, unless you entered into that arrangement, 575*8ba21522SJames Collinsor that patent license was granted, prior to 28 March 2007. 576*8ba21522SJames Collins 577*8ba21522SJames Collins Nothing in this License shall be construed as excluding or limiting 578*8ba21522SJames Collinsany implied license or other defenses to infringement that may 579*8ba21522SJames Collinsotherwise be available to you under applicable patent law. 580*8ba21522SJames Collins 581*8ba21522SJames Collins 12. No Surrender of Others' Freedom. 582*8ba21522SJames Collins 583*8ba21522SJames Collins If conditions are imposed on you (whether by court order, agreement or 584*8ba21522SJames Collinsotherwise) that contradict the conditions of this License, they do not 585*8ba21522SJames Collinsexcuse you from the conditions of this License. If you cannot convey a 586*8ba21522SJames Collinscovered work so as to satisfy simultaneously your obligations under this 587*8ba21522SJames CollinsLicense and any other pertinent obligations, then as a consequence you may 588*8ba21522SJames Collinsnot convey it at all. For example, if you agree to terms that obligate you 589*8ba21522SJames Collinsto collect a royalty for further conveying from those to whom you convey 590*8ba21522SJames Collinsthe Program, the only way you could satisfy both those terms and this 591*8ba21522SJames CollinsLicense would be to refrain entirely from conveying the Program. 592*8ba21522SJames Collins 593*8ba21522SJames Collins 13. Use with the GNU Affero General Public License. 594*8ba21522SJames Collins 595*8ba21522SJames Collins Notwithstanding any other provision of this License, you have 596*8ba21522SJames Collinspermission to link or combine any covered work with a work licensed 597*8ba21522SJames Collinsunder version 3 of the GNU Affero General Public License into a single 598*8ba21522SJames Collinscombined work, and to convey the resulting work. The terms of this 599*8ba21522SJames CollinsLicense will continue to apply to the part which is the covered work, 600*8ba21522SJames Collinsbut the special requirements of the GNU Affero General Public License, 601*8ba21522SJames Collinssection 13, concerning interaction through a network will apply to the 602*8ba21522SJames Collinscombination as such. 603*8ba21522SJames Collins 604*8ba21522SJames Collins 14. Revised Versions of this License. 605*8ba21522SJames Collins 606*8ba21522SJames Collins The Free Software Foundation may publish revised and/or new versions of 607*8ba21522SJames Collinsthe GNU General Public License from time to time. Such new versions will 608*8ba21522SJames Collinsbe similar in spirit to the present version, but may differ in detail to 609*8ba21522SJames Collinsaddress new problems or concerns. 610*8ba21522SJames Collins 611*8ba21522SJames Collins Each version is given a distinguishing version number. If the 612*8ba21522SJames CollinsProgram specifies that a certain numbered version of the GNU General 613*8ba21522SJames CollinsPublic License "or any later version" applies to it, you have the 614*8ba21522SJames Collinsoption of following the terms and conditions either of that numbered 615*8ba21522SJames Collinsversion or of any later version published by the Free Software 616*8ba21522SJames CollinsFoundation. If the Program does not specify a version number of the 617*8ba21522SJames CollinsGNU General Public License, you may choose any version ever published 618*8ba21522SJames Collinsby the Free Software Foundation. 619*8ba21522SJames Collins 620*8ba21522SJames Collins If the Program specifies that a proxy can decide which future 621*8ba21522SJames Collinsversions of the GNU General Public License can be used, that proxy's 622*8ba21522SJames Collinspublic statement of acceptance of a version permanently authorizes you 623*8ba21522SJames Collinsto choose that version for the Program. 624*8ba21522SJames Collins 625*8ba21522SJames Collins Later license versions may give you additional or different 626*8ba21522SJames Collinspermissions. However, no additional obligations are imposed on any 627*8ba21522SJames Collinsauthor or copyright holder as a result of your choosing to follow a 628*8ba21522SJames Collinslater version. 629*8ba21522SJames Collins 630*8ba21522SJames Collins 15. Disclaimer of Warranty. 631*8ba21522SJames Collins 632*8ba21522SJames Collins THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 633*8ba21522SJames CollinsAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 634*8ba21522SJames CollinsHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 635*8ba21522SJames CollinsOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 636*8ba21522SJames CollinsTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 637*8ba21522SJames CollinsPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 638*8ba21522SJames CollinsIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 639*8ba21522SJames CollinsALL NECESSARY SERVICING, REPAIR OR CORRECTION. 640*8ba21522SJames Collins 641*8ba21522SJames Collins 16. Limitation of Liability. 642*8ba21522SJames Collins 643*8ba21522SJames Collins IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 644*8ba21522SJames CollinsWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 645*8ba21522SJames CollinsTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 646*8ba21522SJames CollinsGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 647*8ba21522SJames CollinsUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 648*8ba21522SJames CollinsDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 649*8ba21522SJames CollinsPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 650*8ba21522SJames CollinsEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 651*8ba21522SJames CollinsSUCH DAMAGES. 652*8ba21522SJames Collins 653*8ba21522SJames Collins 17. Interpretation of Sections 15 and 16. 654*8ba21522SJames Collins 655*8ba21522SJames Collins If the disclaimer of warranty and limitation of liability provided 656*8ba21522SJames Collinsabove cannot be given local legal effect according to their terms, 657*8ba21522SJames Collinsreviewing courts shall apply local law that most closely approximates 658*8ba21522SJames Collinsan absolute waiver of all civil liability in connection with the 659*8ba21522SJames CollinsProgram, unless a warranty or assumption of liability accompanies a 660*8ba21522SJames Collinscopy of the Program in return for a fee. 661*8ba21522SJames Collins 662