pecan.license revision 6812
6812N/ACopyright (c) <2011>, Jonathan LaCour
6812N/AAll rights reserved.
6812N/A
6812N/ARedistribution and use in source and binary forms, with or without
6812N/Amodification, are permitted provided that the following conditions are met:
6812N/A * Redistributions of source code must retain the above copyright
6812N/A notice, this list of conditions and the following disclaimer.
6812N/A * Redistributions in binary form must reproduce the above copyright
6812N/A notice, this list of conditions and the following disclaimer in the
6812N/A documentation and/or other materials provided with the distribution.
6812N/A * Neither the name of the <organization> nor the
6812N/A names of its contributors may be used to endorse or promote products
6812N/A derived from this software without specific prior written permission.
6812N/A
6812N/ATHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
6812N/AANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
6812N/AWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
6812N/ADISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
6812N/ADIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
6812N/A(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
6812N/ALOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
6812N/AON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6812N/A(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
6812N/ASOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6812N/A
6812N/A============================================================
6812N/A
6812N/AThe MIT License (MIT)
6812N/A
6812N/ACopyright (c) <year> <copyright holders>
6812N/A
6812N/APermission is hereby granted, free of charge, to any person obtaining a copy
6812N/Aof this software and associated documentation files (the "Software"), to deal
6812N/Ain the Software without restriction, including without limitation the rights
6812N/Ato use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6812N/Acopies of the Software, and to permit persons to whom the Software is
6812N/Afurnished to do so, subject to the following conditions:
6812N/A
6812N/AThe above copyright notice and this permission notice shall be included in
6812N/Aall copies or substantial portions of the Software.
6812N/A
6812N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6812N/AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6812N/AFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6812N/AAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6812N/ALIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6812N/AOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
6812N/ATHE SOFTWARE.
6812N/A
6812N/A============================================================
6812N/A
6812N/A GNU GENERAL PUBLIC LICENSE
6812N/A Version 3, 29 June 2007
6812N/A
6812N/A Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
6812N/A Everyone is permitted to copy and distribute verbatim copies
6812N/A of this license document, but changing it is not allowed.
6812N/A
6812N/A Preamble
6812N/A
6812N/A The GNU General Public License is a free, copyleft license for
6812N/Asoftware and other kinds of works.
6812N/A
6812N/A The licenses for most software and other practical works are designed
6812N/Ato take away your freedom to share and change the works. By contrast,
6812N/Athe GNU General Public License is intended to guarantee your freedom to
6812N/Ashare and change all versions of a program--to make sure it remains free
6812N/Asoftware for all its users. We, the Free Software Foundation, use the
6812N/AGNU General Public License for most of our software; it applies also to
6812N/Aany other work released this way by its authors. You can apply it to
6812N/Ayour programs, too.
6812N/A
6812N/A When we speak of free software, we are referring to freedom, not
6812N/Aprice. Our General Public Licenses are designed to make sure that you
6812N/Ahave the freedom to distribute copies of free software (and charge for
6812N/Athem if you wish), that you receive source code or can get it if you
6812N/Awant it, that you can change the software or use pieces of it in new
6812N/Afree programs, and that you know you can do these things.
6812N/A
6812N/A To protect your rights, we need to prevent others from denying you
6812N/Athese rights or asking you to surrender the rights. Therefore, you have
6812N/Acertain responsibilities if you distribute copies of the software, or if
6812N/Ayou modify it: responsibilities to respect the freedom of others.
6812N/A
6812N/A For example, if you distribute copies of such a program, whether
6812N/Agratis or for a fee, you must pass on to the recipients the same
6812N/Afreedoms that you received. You must make sure that they, too, receive
6812N/Aor can get the source code. And you must show them these terms so they
6812N/Aknow their rights.
6812N/A
6812N/A Developers that use the GNU GPL protect your rights with two steps:
6812N/A(1) assert copyright on the software, and (2) offer you this License
6812N/Agiving you legal permission to copy, distribute and/or modify it.
6812N/A
6812N/A For the developers' and authors' protection, the GPL clearly explains
6812N/Athat there is no warranty for this free software. For both users' and
6812N/Aauthors' sake, the GPL requires that modified versions be marked as
6812N/Achanged, so that their problems will not be attributed erroneously to
6812N/Aauthors of previous versions.
6812N/A
6812N/A Some devices are designed to deny users access to install or run
6812N/Amodified versions of the software inside them, although the manufacturer
6812N/Acan do so. This is fundamentally incompatible with the aim of
6812N/Aprotecting users' freedom to change the software. The systematic
6812N/Apattern of such abuse occurs in the area of products for individuals to
6812N/Ause, which is precisely where it is most unacceptable. Therefore, we
6812N/Ahave designed this version of the GPL to prohibit the practice for those
6812N/Aproducts. If such problems arise substantially in other domains, we
6812N/Astand ready to extend this provision to those domains in future versions
6812N/Aof the GPL, as needed to protect the freedom of users.
6812N/A
6812N/A Finally, every program is threatened constantly by software patents.
6812N/AStates should not allow patents to restrict development and use of
6812N/Asoftware on general-purpose computers, but in those that do, we wish to
6812N/Aavoid the special danger that patents applied to a free program could
6812N/Amake it effectively proprietary. To prevent this, the GPL assures that
6812N/Apatents cannot be used to render the program non-free.
6812N/A
6812N/A The precise terms and conditions for copying, distribution and
6812N/Amodification follow.
6812N/A
6812N/A TERMS AND CONDITIONS
6812N/A
6812N/A 0. Definitions.
6812N/A
6812N/A "This License" refers to version 3 of the GNU General Public License.
6812N/A
6812N/A "Copyright" also means copyright-like laws that apply to other kinds of
6812N/Aworks, such as semiconductor masks.
6812N/A
6812N/A "The Program" refers to any copyrightable work licensed under this
6812N/ALicense. Each licensee is addressed as "you". "Licensees" and
6812N/A"recipients" may be individuals or organizations.
6812N/A
6812N/A To "modify" a work means to copy from or adapt all or part of the work
6812N/Ain a fashion requiring copyright permission, other than the making of an
6812N/Aexact copy. The resulting work is called a "modified version" of the
6812N/Aearlier work or a work "based on" the earlier work.
6812N/A
6812N/A A "covered work" means either the unmodified Program or a work based
6812N/Aon the Program.
6812N/A
6812N/A To "propagate" a work means to do anything with it that, without
6812N/Apermission, would make you directly or secondarily liable for
6812N/Ainfringement under applicable copyright law, except executing it on a
6812N/Acomputer or modifying a private copy. Propagation includes copying,
6812N/Adistribution (with or without modification), making available to the
6812N/Apublic, and in some countries other activities as well.
6812N/A
6812N/A To "convey" a work means any kind of propagation that enables other
6812N/Aparties to make or receive copies. Mere interaction with a user through
6812N/Aa computer network, with no transfer of a copy, is not conveying.
6812N/A
6812N/A An interactive user interface displays "Appropriate Legal Notices"
6812N/Ato the extent that it includes a convenient and prominently visible
6812N/Afeature that (1) displays an appropriate copyright notice, and (2)
6812N/Atells the user that there is no warranty for the work (except to the
6812N/Aextent that warranties are provided), that licensees may convey the
6812N/Awork under this License, and how to view a copy of this License. If
6812N/Athe interface presents a list of user commands or options, such as a
6812N/Amenu, a prominent item in the list meets this criterion.
6812N/A
6812N/A 1. Source Code.
6812N/A
6812N/A The "source code" for a work means the preferred form of the work
6812N/Afor making modifications to it. "Object code" means any non-source
6812N/Aform of a work.
6812N/A
6812N/A A "Standard Interface" means an interface that either is an official
6812N/Astandard defined by a recognized standards body, or, in the case of
6812N/Ainterfaces specified for a particular programming language, one that
6812N/Ais widely used among developers working in that language.
6812N/A
6812N/A The "System Libraries" of an executable work include anything, other
6812N/Athan the work as a whole, that (a) is included in the normal form of
6812N/Apackaging a Major Component, but which is not part of that Major
6812N/AComponent, and (b) serves only to enable use of the work with that
6812N/AMajor Component, or to implement a Standard Interface for which an
6812N/Aimplementation is available to the public in source code form. A
6812N/A"Major Component", in this context, means a major essential component
6812N/A(kernel, window system, and so on) of the specific operating system
6812N/A(if any) on which the executable work runs, or a compiler used to
6812N/Aproduce the work, or an object code interpreter used to run it.
6812N/A
6812N/A The "Corresponding Source" for a work in object code form means all
6812N/Athe source code needed to generate, install, and (for an executable
6812N/Awork) run the object code and to modify the work, including scripts to
6812N/Acontrol those activities. However, it does not include the work's
6812N/ASystem Libraries, or general-purpose tools or generally available free
6812N/Aprograms which are used unmodified in performing those activities but
6812N/Awhich are not part of the work. For example, Corresponding Source
6812N/Aincludes interface definition files associated with source files for
6812N/Athe work, and the source code for shared libraries and dynamically
6812N/Alinked subprograms that the work is specifically designed to require,
6812N/Asuch as by intimate data communication or control flow between those
6812N/Asubprograms and other parts of the work.
6812N/A
6812N/A The Corresponding Source need not include anything that users
6812N/Acan regenerate automatically from other parts of the Corresponding
6812N/ASource.
6812N/A
6812N/A The Corresponding Source for a work in source code form is that
6812N/Asame work.
6812N/A
6812N/A 2. Basic Permissions.
6812N/A
6812N/A All rights granted under this License are granted for the term of
6812N/Acopyright on the Program, and are irrevocable provided the stated
6812N/Aconditions are met. This License explicitly affirms your unlimited
6812N/Apermission to run the unmodified Program. The output from running a
6812N/Acovered work is covered by this License only if the output, given its
6812N/Acontent, constitutes a covered work. This License acknowledges your
6812N/Arights of fair use or other equivalent, as provided by copyright law.
6812N/A
6812N/A You may make, run and propagate covered works that you do not
6812N/Aconvey, without conditions so long as your license otherwise remains
6812N/Ain force. You may convey covered works to others for the sole purpose
6812N/Aof having them make modifications exclusively for you, or provide you
6812N/Awith facilities for running those works, provided that you comply with
6812N/Athe terms of this License in conveying all material for which you do
6812N/Anot control copyright. Those thus making or running the covered works
6812N/Afor you must do so exclusively on your behalf, under your direction
6812N/Aand control, on terms that prohibit them from making any copies of
6812N/Ayour copyrighted material outside their relationship with you.
6812N/A
6812N/A Conveying under any other circumstances is permitted solely under
6812N/Athe conditions stated below. Sublicensing is not allowed; section 10
6812N/Amakes it unnecessary.
6812N/A
6812N/A 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
6812N/A
6812N/A No covered work shall be deemed part of an effective technological
6812N/Ameasure under any applicable law fulfilling obligations under article
6812N/A11 of the WIPO copyright treaty adopted on 20 December 1996, or
6812N/Asimilar laws prohibiting or restricting circumvention of such
6812N/Ameasures.
6812N/A
6812N/A When you convey a covered work, you waive any legal power to forbid
6812N/Acircumvention of technological measures to the extent such circumvention
6812N/Ais effected by exercising rights under this License with respect to
6812N/Athe covered work, and you disclaim any intention to limit operation or
6812N/Amodification of the work as a means of enforcing, against the work's
6812N/Ausers, your or third parties' legal rights to forbid circumvention of
6812N/Atechnological measures.
6812N/A
6812N/A 4. Conveying Verbatim Copies.
6812N/A
6812N/A You may convey verbatim copies of the Program's source code as you
6812N/Areceive it, in any medium, provided that you conspicuously and
6812N/Aappropriately publish on each copy an appropriate copyright notice;
6812N/Akeep intact all notices stating that this License and any
6812N/Anon-permissive terms added in accord with section 7 apply to the code;
6812N/Akeep intact all notices of the absence of any warranty; and give all
6812N/Arecipients a copy of this License along with the Program.
6812N/A
6812N/A You may charge any price or no price for each copy that you convey,
6812N/Aand you may offer support or warranty protection for a fee.
6812N/A
6812N/A 5. Conveying Modified Source Versions.
6812N/A
6812N/A You may convey a work based on the Program, or the modifications to
6812N/Aproduce it from the Program, in the form of source code under the
6812N/Aterms of section 4, provided that you also meet all of these conditions:
6812N/A
6812N/A a) The work must carry prominent notices stating that you modified
6812N/A it, and giving a relevant date.
6812N/A
6812N/A b) The work must carry prominent notices stating that it is
6812N/A released under this License and any conditions added under section
6812N/A 7. This requirement modifies the requirement in section 4 to
6812N/A "keep intact all notices".
6812N/A
6812N/A c) You must license the entire work, as a whole, under this
6812N/A License to anyone who comes into possession of a copy. This
6812N/A License will therefore apply, along with any applicable section 7
6812N/A additional terms, to the whole of the work, and all its parts,
6812N/A regardless of how they are packaged. This License gives no
6812N/A permission to license the work in any other way, but it does not
6812N/A invalidate such permission if you have separately received it.
6812N/A
6812N/A d) If the work has interactive user interfaces, each must display
6812N/A Appropriate Legal Notices; however, if the Program has interactive
6812N/A interfaces that do not display Appropriate Legal Notices, your
6812N/A work need not make them do so.
6812N/A
6812N/A A compilation of a covered work with other separate and independent
6812N/Aworks, which are not by their nature extensions of the covered work,
6812N/Aand which are not combined with it such as to form a larger program,
6812N/Ain or on a volume of a storage or distribution medium, is called an
6812N/A"aggregate" if the compilation and its resulting copyright are not
6812N/Aused to limit the access or legal rights of the compilation's users
6812N/Abeyond what the individual works permit. Inclusion of a covered work
6812N/Ain an aggregate does not cause this License to apply to the other
6812N/Aparts of the aggregate.
6812N/A
6812N/A 6. Conveying Non-Source Forms.
6812N/A
6812N/A You may convey a covered work in object code form under the terms
6812N/Aof sections 4 and 5, provided that you also convey the
6812N/Amachine-readable Corresponding Source under the terms of this License,
6812N/Ain one of these ways:
6812N/A
6812N/A a) Convey the object code in, or embodied in, a physical product
6812N/A (including a physical distribution medium), accompanied by the
6812N/A Corresponding Source fixed on a durable physical medium
6812N/A customarily used for software interchange.
6812N/A
6812N/A b) Convey the object code in, or embodied in, a physical product
6812N/A (including a physical distribution medium), accompanied by a
6812N/A written offer, valid for at least three years and valid for as
6812N/A long as you offer spare parts or customer support for that product
6812N/A model, to give anyone who possesses the object code either (1) a
6812N/A copy of the Corresponding Source for all the software in the
6812N/A product that is covered by this License, on a durable physical
6812N/A medium customarily used for software interchange, for a price no
6812N/A more than your reasonable cost of physically performing this
6812N/A conveying of source, or (2) access to copy the
6812N/A Corresponding Source from a network server at no charge.
6812N/A
6812N/A c) Convey individual copies of the object code with a copy of the
6812N/A written offer to provide the Corresponding Source. This
6812N/A alternative is allowed only occasionally and noncommercially, and
6812N/A only if you received the object code with such an offer, in accord
6812N/A with subsection 6b.
6812N/A
6812N/A d) Convey the object code by offering access from a designated
6812N/A place (gratis or for a charge), and offer equivalent access to the
6812N/A Corresponding Source in the same way through the same place at no
6812N/A further charge. You need not require recipients to copy the
6812N/A Corresponding Source along with the object code. If the place to
6812N/A copy the object code is a network server, the Corresponding Source
6812N/A may be on a different server (operated by you or a third party)
6812N/A that supports equivalent copying facilities, provided you maintain
6812N/A clear directions next to the object code saying where to find the
6812N/A Corresponding Source. Regardless of what server hosts the
6812N/A Corresponding Source, you remain obligated to ensure that it is
6812N/A available for as long as needed to satisfy these requirements.
6812N/A
6812N/A e) Convey the object code using peer-to-peer transmission, provided
6812N/A you inform other peers where the object code and Corresponding
6812N/A Source of the work are being offered to the general public at no
6812N/A charge under subsection 6d.
6812N/A
6812N/A A separable portion of the object code, whose source code is excluded
6812N/Afrom the Corresponding Source as a System Library, need not be
6812N/Aincluded in conveying the object code work.
6812N/A
6812N/A A "User Product" is either (1) a "consumer product", which means any
6812N/Atangible personal property which is normally used for personal, family,
6812N/Aor household purposes, or (2) anything designed or sold for incorporation
6812N/Ainto a dwelling. In determining whether a product is a consumer product,
6812N/Adoubtful cases shall be resolved in favor of coverage. For a particular
6812N/Aproduct received by a particular user, "normally used" refers to a
6812N/Atypical or common use of that class of product, regardless of the status
6812N/Aof the particular user or of the way in which the particular user
6812N/Aactually uses, or expects or is expected to use, the product. A product
6812N/Ais a consumer product regardless of whether the product has substantial
6812N/Acommercial, industrial or non-consumer uses, unless such uses represent
6812N/Athe only significant mode of use of the product.
6812N/A
6812N/A "Installation Information" for a User Product means any methods,
6812N/Aprocedures, authorization keys, or other information required to install
6812N/Aand execute modified versions of a covered work in that User Product from
6812N/Aa modified version of its Corresponding Source. The information must
6812N/Asuffice to ensure that the continued functioning of the modified object
6812N/Acode is in no case prevented or interfered with solely because
6812N/Amodification has been made.
6812N/A
6812N/A If you convey an object code work under this section in, or with, or
6812N/Aspecifically for use in, a User Product, and the conveying occurs as
6812N/Apart of a transaction in which the right of possession and use of the
6812N/AUser Product is transferred to the recipient in perpetuity or for a
6812N/Afixed term (regardless of how the transaction is characterized), the
6812N/ACorresponding Source conveyed under this section must be accompanied
6812N/Aby the Installation Information. But this requirement does not apply
6812N/Aif neither you nor any third party retains the ability to install
6812N/Amodified object code on the User Product (for example, the work has
6812N/Abeen installed in ROM).
6812N/A
6812N/A The requirement to provide Installation Information does not include a
6812N/Arequirement to continue to provide support service, warranty, or updates
6812N/Afor a work that has been modified or installed by the recipient, or for
6812N/Athe User Product in which it has been modified or installed. Access to a
6812N/Anetwork may be denied when the modification itself materially and
6812N/Aadversely affects the operation of the network or violates the rules and
6812N/Aprotocols for communication across the network.
6812N/A
6812N/A Corresponding Source conveyed, and Installation Information provided,
6812N/Ain accord with this section must be in a format that is publicly
6812N/Adocumented (and with an implementation available to the public in
6812N/Asource code form), and must require no special password or key for
6812N/Aunpacking, reading or copying.
6812N/A
6812N/A 7. Additional Terms.
6812N/A
6812N/A "Additional permissions" are terms that supplement the terms of this
6812N/ALicense by making exceptions from one or more of its conditions.
6812N/AAdditional permissions that are applicable to the entire Program shall
6812N/Abe treated as though they were included in this License, to the extent
6812N/Athat they are valid under applicable law. If additional permissions
6812N/Aapply only to part of the Program, that part may be used separately
6812N/Aunder those permissions, but the entire Program remains governed by
6812N/Athis License without regard to the additional permissions.
6812N/A
6812N/A When you convey a copy of a covered work, you may at your option
6812N/Aremove any additional permissions from that copy, or from any part of
6812N/Ait. (Additional permissions may be written to require their own
6812N/Aremoval in certain cases when you modify the work.) You may place
6812N/Aadditional permissions on material, added by you to a covered work,
6812N/Afor which you have or can give appropriate copyright permission.
6812N/A
6812N/A Notwithstanding any other provision of this License, for material you
6812N/Aadd to a covered work, you may (if authorized by the copyright holders of
6812N/Athat material) supplement the terms of this License with terms:
6812N/A
6812N/A a) Disclaiming warranty or limiting liability differently from the
6812N/A terms of sections 15 and 16 of this License; or
6812N/A
6812N/A b) Requiring preservation of specified reasonable legal notices or
6812N/A author attributions in that material or in the Appropriate Legal
6812N/A Notices displayed by works containing it; or
6812N/A
6812N/A c) Prohibiting misrepresentation of the origin of that material, or
6812N/A requiring that modified versions of such material be marked in
6812N/A reasonable ways as different from the original version; or
6812N/A
6812N/A d) Limiting the use for publicity purposes of names of licensors or
6812N/A authors of the material; or
6812N/A
6812N/A e) Declining to grant rights under trademark law for use of some
6812N/A trade names, trademarks, or service marks; or
6812N/A
6812N/A f) Requiring indemnification of licensors and authors of that
6812N/A material by anyone who conveys the material (or modified versions of
6812N/A it) with contractual assumptions of liability to the recipient, for
6812N/A any liability that these contractual assumptions directly impose on
6812N/A those licensors and authors.
6812N/A
6812N/A All other non-permissive additional terms are considered "further
6812N/Arestrictions" within the meaning of section 10. If the Program as you
6812N/Areceived it, or any part of it, contains a notice stating that it is
6812N/Agoverned by this License along with a term that is a further
6812N/Arestriction, you may remove that term. If a license document contains
6812N/Aa further restriction but permits relicensing or conveying under this
6812N/ALicense, you may add to a covered work material governed by the terms
6812N/Aof that license document, provided that the further restriction does
6812N/Anot survive such relicensing or conveying.
6812N/A
6812N/A If you add terms to a covered work in accord with this section, you
6812N/Amust place, in the relevant source files, a statement of the
6812N/Aadditional terms that apply to those files, or a notice indicating
6812N/Awhere to find the applicable terms.
6812N/A
6812N/A Additional terms, permissive or non-permissive, may be stated in the
6812N/Aform of a separately written license, or stated as exceptions;
6812N/Athe above requirements apply either way.
6812N/A
6812N/A 8. Termination.
6812N/A
6812N/A You may not propagate or modify a covered work except as expressly
6812N/Aprovided under this License. Any attempt otherwise to propagate or
6812N/Amodify it is void, and will automatically terminate your rights under
6812N/Athis License (including any patent licenses granted under the third
6812N/Aparagraph of section 11).
6812N/A
6812N/A However, if you cease all violation of this License, then your
6812N/Alicense from a particular copyright holder is reinstated (a)
6812N/Aprovisionally, unless and until the copyright holder explicitly and
6812N/Afinally terminates your license, and (b) permanently, if the copyright
6812N/Aholder fails to notify you of the violation by some reasonable means
6812N/Aprior to 60 days after the cessation.
6812N/A
6812N/A Moreover, your license from a particular copyright holder is
6812N/Areinstated permanently if the copyright holder notifies you of the
6812N/Aviolation by some reasonable means, this is the first time you have
6812N/Areceived notice of violation of this License (for any work) from that
6812N/Acopyright holder, and you cure the violation prior to 30 days after
6812N/Ayour receipt of the notice.
6812N/A
6812N/A Termination of your rights under this section does not terminate the
6812N/Alicenses of parties who have received copies or rights from you under
6812N/Athis License. If your rights have been terminated and not permanently
6812N/Areinstated, you do not qualify to receive new licenses for the same
6812N/Amaterial under section 10.
6812N/A
6812N/A 9. Acceptance Not Required for Having Copies.
6812N/A
6812N/A You are not required to accept this License in order to receive or
6812N/Arun a copy of the Program. Ancillary propagation of a covered work
6812N/Aoccurring solely as a consequence of using peer-to-peer transmission
6812N/Ato receive a copy likewise does not require acceptance. However,
6812N/Anothing other than this License grants you permission to propagate or
6812N/Amodify any covered work. These actions infringe copyright if you do
6812N/Anot accept this License. Therefore, by modifying or propagating a
6812N/Acovered work, you indicate your acceptance of this License to do so.
6812N/A
6812N/A 10. Automatic Licensing of Downstream Recipients.
6812N/A
6812N/A Each time you convey a covered work, the recipient automatically
6812N/Areceives a license from the original licensors, to run, modify and
6812N/Apropagate that work, subject to this License. You are not responsible
6812N/Afor enforcing compliance by third parties with this License.
6812N/A
6812N/A An "entity transaction" is a transaction transferring control of an
6812N/Aorganization, or substantially all assets of one, or subdividing an
6812N/Aorganization, or merging organizations. If propagation of a covered
6812N/Awork results from an entity transaction, each party to that
6812N/Atransaction who receives a copy of the work also receives whatever
6812N/Alicenses to the work the party's predecessor in interest had or could
6812N/Agive under the previous paragraph, plus a right to possession of the
6812N/ACorresponding Source of the work from the predecessor in interest, if
6812N/Athe predecessor has it or can get it with reasonable efforts.
6812N/A
6812N/A You may not impose any further restrictions on the exercise of the
6812N/Arights granted or affirmed under this License. For example, you may
6812N/Anot impose a license fee, royalty, or other charge for exercise of
6812N/Arights granted under this License, and you may not initiate litigation
6812N/A(including a cross-claim or counterclaim in a lawsuit) alleging that
6812N/Aany patent claim is infringed by making, using, selling, offering for
6812N/Asale, or importing the Program or any portion of it.
6812N/A
6812N/A 11. Patents.
6812N/A
6812N/A A "contributor" is a copyright holder who authorizes use under this
6812N/ALicense of the Program or a work on which the Program is based. The
6812N/Awork thus licensed is called the contributor's "contributor version".
6812N/A
6812N/A A contributor's "essential patent claims" are all patent claims
6812N/Aowned or controlled by the contributor, whether already acquired or
6812N/Ahereafter acquired, that would be infringed by some manner, permitted
6812N/Aby this License, of making, using, or selling its contributor version,
6812N/Abut do not include claims that would be infringed only as a
6812N/Aconsequence of further modification of the contributor version. For
6812N/Apurposes of this definition, "control" includes the right to grant
6812N/Apatent sublicenses in a manner consistent with the requirements of
6812N/Athis License.
6812N/A
6812N/A Each contributor grants you a non-exclusive, worldwide, royalty-free
6812N/Apatent license under the contributor's essential patent claims, to
6812N/Amake, use, sell, offer for sale, import and otherwise run, modify and
6812N/Apropagate the contents of its contributor version.
6812N/A
6812N/A In the following three paragraphs, a "patent license" is any express
6812N/Aagreement or commitment, however denominated, not to enforce a patent
6812N/A(such as an express permission to practice a patent or covenant not to
6812N/Asue for patent infringement). To "grant" such a patent license to a
6812N/Aparty means to make such an agreement or commitment not to enforce a
6812N/Apatent against the party.
6812N/A
6812N/A If you convey a covered work, knowingly relying on a patent license,
6812N/Aand the Corresponding Source of the work is not available for anyone
6812N/Ato copy, free of charge and under the terms of this License, through a
6812N/Apublicly available network server or other readily accessible means,
6812N/Athen you must either (1) cause the Corresponding Source to be so
6812N/Aavailable, or (2) arrange to deprive yourself of the benefit of the
6812N/Apatent license for this particular work, or (3) arrange, in a manner
6812N/Aconsistent with the requirements of this License, to extend the patent
6812N/Alicense to downstream recipients. "Knowingly relying" means you have
6812N/Aactual knowledge that, but for the patent license, your conveying the
6812N/Acovered work in a country, or your recipient's use of the covered work
6812N/Ain a country, would infringe one or more identifiable patents in that
6812N/Acountry that you have reason to believe are valid.
6812N/A
6812N/A If, pursuant to or in connection with a single transaction or
6812N/Aarrangement, you convey, or propagate by procuring conveyance of, a
6812N/Acovered work, and grant a patent license to some of the parties
6812N/Areceiving the covered work authorizing them to use, propagate, modify
6812N/Aor convey a specific copy of the covered work, then the patent license
6812N/Ayou grant is automatically extended to all recipients of the covered
6812N/Awork and works based on it.
6812N/A
6812N/A A patent license is "discriminatory" if it does not include within
6812N/Athe scope of its coverage, prohibits the exercise of, or is
6812N/Aconditioned on the non-exercise of one or more of the rights that are
6812N/Aspecifically granted under this License. You may not convey a covered
6812N/Awork if you are a party to an arrangement with a third party that is
6812N/Ain the business of distributing software, under which you make payment
6812N/Ato the third party based on the extent of your activity of conveying
6812N/Athe work, and under which the third party grants, to any of the
6812N/Aparties who would receive the covered work from you, a discriminatory
6812N/Apatent license (a) in connection with copies of the covered work
6812N/Aconveyed by you (or copies made from those copies), or (b) primarily
6812N/Afor and in connection with specific products or compilations that
6812N/Acontain the covered work, unless you entered into that arrangement,
6812N/Aor that patent license was granted, prior to 28 March 2007.
6812N/A
6812N/A Nothing in this License shall be construed as excluding or limiting
6812N/Aany implied license or other defenses to infringement that may
6812N/Aotherwise be available to you under applicable patent law.
6812N/A
6812N/A 12. No Surrender of Others' Freedom.
6812N/A
6812N/A If conditions are imposed on you (whether by court order, agreement or
6812N/Aotherwise) that contradict the conditions of this License, they do not
6812N/Aexcuse you from the conditions of this License. If you cannot convey a
6812N/Acovered work so as to satisfy simultaneously your obligations under this
6812N/ALicense and any other pertinent obligations, then as a consequence you may
6812N/Anot convey it at all. For example, if you agree to terms that obligate you
6812N/Ato collect a royalty for further conveying from those to whom you convey
6812N/Athe Program, the only way you could satisfy both those terms and this
6812N/ALicense would be to refrain entirely from conveying the Program.
6812N/A
6812N/A 13. Use with the GNU Affero General Public License.
6812N/A
6812N/A Notwithstanding any other provision of this License, you have
6812N/Apermission to link or combine any covered work with a work licensed
6812N/Aunder version 3 of the GNU Affero General Public License into a single
6812N/Acombined work, and to convey the resulting work. The terms of this
6812N/ALicense will continue to apply to the part which is the covered work,
6812N/Abut the special requirements of the GNU Affero General Public License,
6812N/Asection 13, concerning interaction through a network will apply to the
6812N/Acombination as such.
6812N/A
6812N/A 14. Revised Versions of this License.
6812N/A
6812N/A The Free Software Foundation may publish revised and/or new versions of
6812N/Athe GNU General Public License from time to time. Such new versions will
6812N/Abe similar in spirit to the present version, but may differ in detail to
6812N/Aaddress new problems or concerns.
6812N/A
6812N/A Each version is given a distinguishing version number. If the
6812N/AProgram specifies that a certain numbered version of the GNU General
6812N/APublic License "or any later version" applies to it, you have the
6812N/Aoption of following the terms and conditions either of that numbered
6812N/Aversion or of any later version published by the Free Software
6812N/AFoundation. If the Program does not specify a version number of the
6812N/AGNU General Public License, you may choose any version ever published
6812N/Aby the Free Software Foundation.
6812N/A
6812N/A If the Program specifies that a proxy can decide which future
6812N/Aversions of the GNU General Public License can be used, that proxy's
6812N/Apublic statement of acceptance of a version permanently authorizes you
6812N/Ato choose that version for the Program.
6812N/A
6812N/A Later license versions may give you additional or different
6812N/Apermissions. However, no additional obligations are imposed on any
6812N/Aauthor or copyright holder as a result of your choosing to follow a
6812N/Alater version.
6812N/A
6812N/A 15. Disclaimer of Warranty.
6812N/A
6812N/A THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
6812N/AAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
6812N/AHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
6812N/AOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
6812N/ATHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6812N/APURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
6812N/AIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
6812N/AALL NECESSARY SERVICING, REPAIR OR CORRECTION.
6812N/A
6812N/A 16. Limitation of Liability.
6812N/A
6812N/A IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
6812N/AWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
6812N/ATHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
6812N/AGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
6812N/AUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
6812N/ADATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
6812N/APARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
6812N/AEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
6812N/ASUCH DAMAGES.
6812N/A
6812N/A 17. Interpretation of Sections 15 and 16.
6812N/A
6812N/A If the disclaimer of warranty and limitation of liability provided
6812N/Aabove cannot be given local legal effect according to their terms,
6812N/Areviewing courts shall apply local law that most closely approximates
6812N/Aan absolute waiver of all civil liability in connection with the
6812N/AProgram, unless a warranty or assumption of liability accompanies a
6812N/Acopy of the Program in return for a fee.
6812N/A
6812N/A END OF TERMS AND CONDITIONS
6812N/A
6812N/A How to Apply These Terms to Your New Programs
6812N/A
6812N/A If you develop a new program, and you want it to be of the greatest
6812N/Apossible use to the public, the best way to achieve this is to make it
6812N/Afree software which everyone can redistribute and change under these terms.
6812N/A
6812N/A To do so, attach the following notices to the program. It is safest
6812N/Ato attach them to the start of each source file to most effectively
6812N/Astate the exclusion of warranty; and each file should have at least
6812N/Athe "copyright" line and a pointer to where the full notice is found.
6812N/A
6812N/A <one line to give the program's name and a brief idea of what it does.>
6812N/A Copyright (C) <year> <name of author>
6812N/A
6812N/A This program is free software: you can redistribute it and/or modify
6812N/A it under the terms of the GNU General Public License as published by
6812N/A the Free Software Foundation, either version 3 of the License, or
6812N/A (at your option) any later version.
6812N/A
6812N/A This program is distributed in the hope that it will be useful,
6812N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
6812N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6812N/A GNU General Public License for more details.
6812N/A
6812N/A You should have received a copy of the GNU General Public License
6812N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
6812N/A
6812N/AAlso add information on how to contact you by electronic and paper mail.
6812N/A
6812N/A If the program does terminal interaction, make it output a short
6812N/Anotice like this when it starts in an interactive mode:
6812N/A
6812N/A <program> Copyright (C) <year> <name of author>
6812N/A This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
6812N/A This is free software, and you are welcome to redistribute it
6812N/A under certain conditions; type `show c' for details.
6812N/A
6812N/AThe hypothetical commands `show w' and `show c' should show the appropriate
6812N/Aparts of the General Public License. Of course, your program's commands
6812N/Amight be different; for a GUI interface, you would use an "about box".
6812N/A
6812N/A You should also get your employer (if you work as a programmer) or school,
6812N/Aif any, to sign a "copyright disclaimer" for the program, if necessary.
6812N/AFor more information on this, and how to apply and follow the GNU GPL, see
6812N/A<http://www.gnu.org/licenses/>.
6812N/A
6812N/A The GNU General Public License does not permit incorporating your program
6812N/Ainto proprietary programs. If your program is a subroutine library, you
6812N/Amay consider it more useful to permit linking proprietary applications with
6812N/Athe library. If this is what you want to do, use the GNU Lesser General
6812N/APublic License instead of this License. But first, please read
6812N/A<http://www.gnu.org/philosophy/why-not-lgpl.html>.
6812N/A
6812N/A============================================================
6812N/Apecan/middleware/static.py
6812N/A
6812N/A"""
6812N/AThis code is adapted from the Werkzeug project, under the BSD license.
6812N/A
6812N/A:copyright: (c) 2011 by the Werkzeug Team, see AUTHORS for more details.
6812N/A:license: BSD, see LICENSE for more details.
6812N/A"""
6812N/A
6812N/A============================================================
6812N/Apecan/middleware/resources/XRegExp.js
6812N/A
6812N/A// XRegExp 1.5.1
6812N/A// (c) 2007-2012 Steven Levithan
6812N/A// MIT License
6812N/A
6812N/A============================================================
6812N/Apecan/middleware/recursive.py
6812N/A
6812N/A# (c) 2005 Ian Bicking and contributors; written for Paste
6812N/A# Licensed under the MIT license:
6812N/A# http://www.opensource.org/licenses/mit-license.php
6812N/A============================================================
6812N/AThe following code all have identical license:
6812N/Apecan/middleware/resources/brush-python.js
6812N/Apecan/middleware/resources/theme.css
6812N/Apecan/middleware/resources/syntax.css
6812N/Apecan/middleware/resources/shCore.js
6812N/Apecan/middleware/debug.py
6812N/A
6812N/A/**
6812N/A * SyntaxHighlighter
6812N/A * http://alexgorbatchev.com/SyntaxHighlighter
6812N/A *
6812N/A * SyntaxHighlighter is donationware. If you are using it, please donate.
6812N/A * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
6812N/A *
6812N/A * @version
6812N/A * 3.0.83 (July 02 2010)
6812N/A *
6812N/A * @copyright
6812N/A * Copyright (C) 2004-2010 Alex Gorbatchev.
6812N/A *
6812N/A * @license
6812N/A * Dual licensed under the MIT and GPL licenses.
6812N/A */
6812N/A============================================================
6812N/A