annotate COPYING @ 56:c7bcc0ec2267

* replaced Grp and Text classes by the TextImpl and GrpImpl ones * splitted scn2k.h into smaller header files * moved some definitions from scn2k_*.cc to the header files * moved opcode implementation to scn2k_*impl.cc
author thib
date Thu, 30 Apr 2009 19:05:09 +0000
parents f1fbe5b37a1e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
1 License (except system/visarc.cc, system/file.cc, system/file.h,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
2 system/system_config.cc, system/system_config.h,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
3 music2/wavfile.cc, scn2k/scn2kdump.cc and music2/wavefile.h):
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
4
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
5 Redistribution and use in source and binary forms, with or without
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
6 modification, are permitted provided that the following conditions
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
7 are met:
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
8 1. Redistributions of source code must retain the above copyright
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
9 notice, this list of conditions and the following disclaimer.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
10 2. Redistributions in binary form must reproduce the above copyright
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
11 notice, this list of conditions and the following disclaimer in the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
12 documentation and/or other materials provided with the distribution.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
13 3. The name of the author may not be used to endorse or promote products
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
14 derived from this software without specific prior written permission.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
15
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
16 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
17 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
18 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
19 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
20 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
21 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
22 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
23 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
24 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
25 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
26
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
27
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
28 License (for system/visarc.cc, system/file.cc, system/file.h,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
29 system/system_config.cc, system/system_config.h,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
30 music2/wavfile.cc, scn2k/scn2kdump.cc, and music2/wavefile.h):
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
31
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
32 GNU GENERAL PUBLIC LICENSE
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
33 Version 2, June 1991
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
34
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
35 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
36 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
37 Everyone is permitted to copy and distribute verbatim copies
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
38 of this license document, but changing it is not allowed.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
39
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
40 Preamble
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
41
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
42 The licenses for most software are designed to take away your
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
43 freedom to share and change it. By contrast, the GNU General Public
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
44 License is intended to guarantee your freedom to share and change free
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
45 software--to make sure the software is free for all its users. This
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
46 General Public License applies to most of the Free Software
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
47 Foundation's software and to any other program whose authors commit to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
48 using it. (Some other Free Software Foundation software is covered by
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
49 the GNU Lesser General Public License instead.) You can apply it to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
50 your programs, too.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
51
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
52 When we speak of free software, we are referring to freedom, not
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
53 price. Our General Public Licenses are designed to make sure that you
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
54 have the freedom to distribute copies of free software (and charge for
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
55 this service if you wish), that you receive source code or can get it
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
56 if you want it, that you can change the software or use pieces of it
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
57 in new free programs; and that you know you can do these things.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
58
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
59 To protect your rights, we need to make restrictions that forbid
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
60 anyone to deny you these rights or to ask you to surrender the rights.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
61 These restrictions translate to certain responsibilities for you if you
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
62 distribute copies of the software, or if you modify it.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
63
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
64 For example, if you distribute copies of such a program, whether
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
65 gratis or for a fee, you must give the recipients all the rights that
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
66 you have. You must make sure that they, too, receive or can get the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
67 source code. And you must show them these terms so they know their
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
68 rights.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
69
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
70 We protect your rights with two steps: (1) copyright the software, and
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
71 (2) offer you this license which gives you legal permission to copy,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
72 distribute and/or modify the software.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
73
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
74 Also, for each author's protection and ours, we want to make certain
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
75 that everyone understands that there is no warranty for this free
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
76 software. If the software is modified by someone else and passed on, we
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
77 want its recipients to know that what they have is not the original, so
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
78 that any problems introduced by others will not reflect on the original
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
79 authors' reputations.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
80
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
81 Finally, any free program is threatened constantly by software
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
82 patents. We wish to avoid the danger that redistributors of a free
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
83 program will individually obtain patent licenses, in effect making the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
84 program proprietary. To prevent this, we have made it clear that any
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
85 patent must be licensed for everyone's free use or not licensed at all.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
86
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
87 The precise terms and conditions for copying, distribution and
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
88 modification follow.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
89
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
90 GNU GENERAL PUBLIC LICENSE
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
91 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
92
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
93 0. This License applies to any program or other work which contains
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
94 a notice placed by the copyright holder saying it may be distributed
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
95 under the terms of this General Public License. The "Program", below,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
96 refers to any such program or work, and a "work based on the Program"
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
97 means either the Program or any derivative work under copyright law:
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
98 that is to say, a work containing the Program or a portion of it,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
99 either verbatim or with modifications and/or translated into another
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
100 language. (Hereinafter, translation is included without limitation in
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
101 the term "modification".) Each licensee is addressed as "you".
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
102
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
103 Activities other than copying, distribution and modification are not
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
104 covered by this License; they are outside its scope. The act of
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
105 running the Program is not restricted, and the output from the Program
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
106 is covered only if its contents constitute a work based on the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
107 Program (independent of having been made by running the Program).
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
108 Whether that is true depends on what the Program does.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
109
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
110 1. You may copy and distribute verbatim copies of the Program's
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
111 source code as you receive it, in any medium, provided that you
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
112 conspicuously and appropriately publish on each copy an appropriate
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
113 copyright notice and disclaimer of warranty; keep intact all the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
114 notices that refer to this License and to the absence of any warranty;
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
115 and give any other recipients of the Program a copy of this License
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
116 along with the Program.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
117
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
118 You may charge a fee for the physical act of transferring a copy, and
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
119 you may at your option offer warranty protection in exchange for a fee.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
120
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
121 2. You may modify your copy or copies of the Program or any portion
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
122 of it, thus forming a work based on the Program, and copy and
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
123 distribute such modifications or work under the terms of Section 1
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
124 above, provided that you also meet all of these conditions:
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
125
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
126 a) You must cause the modified files to carry prominent notices
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
127 stating that you changed the files and the date of any change.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
128
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
129 b) You must cause any work that you distribute or publish, that in
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
130 whole or in part contains or is derived from the Program or any
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
131 part thereof, to be licensed as a whole at no charge to all third
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
132 parties under the terms of this License.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
133
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
134 c) If the modified program normally reads commands interactively
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
135 when run, you must cause it, when started running for such
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
136 interactive use in the most ordinary way, to print or display an
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
137 announcement including an appropriate copyright notice and a
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
138 notice that there is no warranty (or else, saying that you provide
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
139 a warranty) and that users may redistribute the program under
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
140 these conditions, and telling the user how to view a copy of this
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
141 License. (Exception: if the Program itself is interactive but
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
142 does not normally print such an announcement, your work based on
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
143 the Program is not required to print an announcement.)
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
144
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
145 These requirements apply to the modified work as a whole. If
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
146 identifiable sections of that work are not derived from the Program,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
147 and can be reasonably considered independent and separate works in
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
148 themselves, then this License, and its terms, do not apply to those
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
149 sections when you distribute them as separate works. But when you
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
150 distribute the same sections as part of a whole which is a work based
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
151 on the Program, the distribution of the whole must be on the terms of
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
152 this License, whose permissions for other licensees extend to the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
153 entire whole, and thus to each and every part regardless of who wrote it.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
154
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
155 Thus, it is not the intent of this section to claim rights or contest
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
156 your rights to work written entirely by you; rather, the intent is to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
157 exercise the right to control the distribution of derivative or
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
158 collective works based on the Program.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
159
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
160 In addition, mere aggregation of another work not based on the Program
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
161 with the Program (or with a work based on the Program) on a volume of
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
162 a storage or distribution medium does not bring the other work under
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
163 the scope of this License.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
164
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
165 3. You may copy and distribute the Program (or a work based on it,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
166 under Section 2) in object code or executable form under the terms of
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
167 Sections 1 and 2 above provided that you also do one of the following:
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
168
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
169 a) Accompany it with the complete corresponding machine-readable
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
170 source code, which must be distributed under the terms of Sections
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
171 1 and 2 above on a medium customarily used for software interchange; or,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
172
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
173 b) Accompany it with a written offer, valid for at least three
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
174 years, to give any third party, for a charge no more than your
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
175 cost of physically performing source distribution, a complete
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
176 machine-readable copy of the corresponding source code, to be
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
177 distributed under the terms of Sections 1 and 2 above on a medium
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
178 customarily used for software interchange; or,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
179
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
180 c) Accompany it with the information you received as to the offer
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
181 to distribute corresponding source code. (This alternative is
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
182 allowed only for noncommercial distribution and only if you
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
183 received the program in object code or executable form with such
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
184 an offer, in accord with Subsection b above.)
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
185
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
186 The source code for a work means the preferred form of the work for
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
187 making modifications to it. For an executable work, complete source
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
188 code means all the source code for all modules it contains, plus any
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
189 associated interface definition files, plus the scripts used to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
190 control compilation and installation of the executable. However, as a
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
191 special exception, the source code distributed need not include
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
192 anything that is normally distributed (in either source or binary
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
193 form) with the major components (compiler, kernel, and so on) of the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
194 operating system on which the executable runs, unless that component
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
195 itself accompanies the executable.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
196
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
197 If distribution of executable or object code is made by offering
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
198 access to copy from a designated place, then offering equivalent
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
199 access to copy the source code from the same place counts as
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
200 distribution of the source code, even though third parties are not
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
201 compelled to copy the source along with the object code.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
202
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
203 4. You may not copy, modify, sublicense, or distribute the Program
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
204 except as expressly provided under this License. Any attempt
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
205 otherwise to copy, modify, sublicense or distribute the Program is
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
206 void, and will automatically terminate your rights under this License.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
207 However, parties who have received copies, or rights, from you under
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
208 this License will not have their licenses terminated so long as such
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
209 parties remain in full compliance.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
210
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
211 5. You are not required to accept this License, since you have not
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
212 signed it. However, nothing else grants you permission to modify or
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
213 distribute the Program or its derivative works. These actions are
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
214 prohibited by law if you do not accept this License. Therefore, by
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
215 modifying or distributing the Program (or any work based on the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
216 Program), you indicate your acceptance of this License to do so, and
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
217 all its terms and conditions for copying, distributing or modifying
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
218 the Program or works based on it.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
219
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
220 6. Each time you redistribute the Program (or any work based on the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
221 Program), the recipient automatically receives a license from the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
222 original licensor to copy, distribute or modify the Program subject to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
223 these terms and conditions. You may not impose any further
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
224 restrictions on the recipients' exercise of the rights granted herein.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
225 You are not responsible for enforcing compliance by third parties to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
226 this License.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
227
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
228 7. If, as a consequence of a court judgment or allegation of patent
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
229 infringement or for any other reason (not limited to patent issues),
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
230 conditions are imposed on you (whether by court order, agreement or
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
231 otherwise) that contradict the conditions of this License, they do not
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
232 excuse you from the conditions of this License. If you cannot
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
233 distribute so as to satisfy simultaneously your obligations under this
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
234 License and any other pertinent obligations, then as a consequence you
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
235 may not distribute the Program at all. For example, if a patent
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
236 license would not permit royalty-free redistribution of the Program by
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
237 all those who receive copies directly or indirectly through you, then
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
238 the only way you could satisfy both it and this License would be to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
239 refrain entirely from distribution of the Program.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
240
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
241 If any portion of this section is held invalid or unenforceable under
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
242 any particular circumstance, the balance of the section is intended to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
243 apply and the section as a whole is intended to apply in other
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
244 circumstances.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
245
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
246 It is not the purpose of this section to induce you to infringe any
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
247 patents or other property right claims or to contest validity of any
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
248 such claims; this section has the sole purpose of protecting the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
249 integrity of the free software distribution system, which is
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
250 implemented by public license practices. Many people have made
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
251 generous contributions to the wide range of software distributed
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
252 through that system in reliance on consistent application of that
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
253 system; it is up to the author/donor to decide if he or she is willing
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
254 to distribute software through any other system and a licensee cannot
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
255 impose that choice.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
256
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
257 This section is intended to make thoroughly clear what is believed to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
258 be a consequence of the rest of this License.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
259
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
260 8. If the distribution and/or use of the Program is restricted in
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
261 certain countries either by patents or by copyrighted interfaces, the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
262 original copyright holder who places the Program under this License
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
263 may add an explicit geographical distribution limitation excluding
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
264 those countries, so that distribution is permitted only in or among
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
265 countries not thus excluded. In such case, this License incorporates
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
266 the limitation as if written in the body of this License.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
267
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
268 9. The Free Software Foundation may publish revised and/or new versions
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
269 of the General Public License from time to time. Such new versions will
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
270 be similar in spirit to the present version, but may differ in detail to
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
271 address new problems or concerns.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
272
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
273 Each version is given a distinguishing version number. If the Program
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
274 specifies a version number of this License which applies to it and "any
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
275 later version", you have the option of following the terms and conditions
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
276 either of that version or of any later version published by the Free
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
277 Software Foundation. If the Program does not specify a version number of
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
278 this License, you may choose any version ever published by the Free Software
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
279 Foundation.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
280
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
281 10. If you wish to incorporate parts of the Program into other free
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
282 programs whose distribution conditions are different, write to the author
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
283 to ask for permission. For software which is copyrighted by the Free
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
284 Software Foundation, write to the Free Software Foundation; we sometimes
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
285 make exceptions for this. Our decision will be guided by the two goals
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
286 of preserving the free status of all derivatives of our free software and
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
287 of promoting the sharing and reuse of software generally.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
288
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
289 NO WARRANTY
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
290
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
291 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
292 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
293 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
294 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
295 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
296 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
297 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
298 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
299 REPAIR OR CORRECTION.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
300
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
301 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
302 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
303 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
304 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
305 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
306 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
307 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
308 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
309 POSSIBILITY OF SUCH DAMAGES.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
310
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
311 END OF TERMS AND CONDITIONS
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
312
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
313 How to Apply These Terms to Your New Programs
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
314
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
315 If you develop a new program, and you want it to be of the greatest
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
316 possible use to the public, the best way to achieve this is to make it
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
317 free software which everyone can redistribute and change under these terms.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
318
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
319 To do so, attach the following notices to the program. It is safest
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
320 to attach them to the start of each source file to most effectively
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
321 convey the exclusion of warranty; and each file should have at least
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
322 the "copyright" line and a pointer to where the full notice is found.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
323
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
324 <one line to give the program's name and a brief idea of what it does.>
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
325 Copyright (C) <year> <name of author>
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
326
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
327 This program is free software; you can redistribute it and/or modify
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
328 it under the terms of the GNU General Public License as published by
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
329 the Free Software Foundation; either version 2 of the License, or
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
330 (at your option) any later version.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
331
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
332 This program is distributed in the hope that it will be useful,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
333 but WITHOUT ANY WARRANTY; without even the implied warranty of
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
334 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
335 GNU General Public License for more details.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
336
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
337 You should have received a copy of the GNU General Public License along
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
338 with this program; if not, write to the Free Software Foundation, Inc.,
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
339 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
340
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
341 Also add information on how to contact you by electronic and paper mail.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
342
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
343 If the program is interactive, make it output a short notice like this
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
344 when it starts in an interactive mode:
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
345
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
346 Gnomovision version 69, Copyright (C) year name of author
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
347 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
348 This is free software, and you are welcome to redistribute it
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
349 under certain conditions; type `show c' for details.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
350
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
351 The hypothetical commands `show w' and `show c' should show the appropriate
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
352 parts of the General Public License. Of course, the commands you use may
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
353 be called something other than `show w' and `show c'; they could even be
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
354 mouse-clicks or menu items--whatever suits your program.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
355
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
356 You should also get your employer (if you work as a programmer) or your
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
357 school, if any, to sign a "copyright disclaimer" for the program, if
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
358 necessary. Here is a sample; alter the names:
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
359
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
360 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
361 `Gnomovision' (which makes passes at compilers) written by James Hacker.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
362
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
363 <signature of Ty Coon>, 1 April 1989
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
364 Ty Coon, President of Vice
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
365
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
366 This General Public License does not permit incorporating your program into
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
367 proprietary programs. If your program is a subroutine library, you may
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
368 consider it more useful to permit linking proprietary applications with the
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
369 library. If this is what you want to do, use the GNU Lesser General
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
370 Public License instead of this License.
f1fbe5b37a1e * Added license headers/informations
thib
parents:
diff changeset
371