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