]> git.saurik.com Git - wxWidgets.git/blob - docs/licence.txt
Update for bitmap, image on scaling, transparancy,
[wxWidgets.git] / docs / licence.txt
1 wxWindows Licence
2 -----------------
3
4 Copyright (c) 1998 Julian Smart, Markus Holzem
5
6
7 Preamble
8 --------
9
10 This licence is intended to protect wxWindows, its developers,
11 and its users, so that the considerable investment it represents
12 is not abused.
13
14 Unlike the L-GPL licence, you as a user are not obliged to
15 distribute wxWindows source code with your products. However,
16 you are prevented from selling the code without permission from
17 the authors, or denying others the rights to use or distribute
18 wxWindows in the way intended.
19
20 The wxWindows Licence establishes the copyright for the code and
21 related material, and it gives you legal permission to copy,
22 distribute and/or modify the library. It also asserts that no
23 warranty is given by the authors for this or derived code.
24
25 Finally, the licence specifies that any patent involving
26 wxWindows, must be licenced for everyone's free use.
27
28 wxWindows Licence
29 -----------------
30
31 Terms and conditions for copying, distribution and modification
32
33 1. This Licence Agreement applies to any software library which
34 contains a notice placed by the copyright holder or other
35 authorized party saying it may be distributed under the terms of
36 this wxWindows Licence (also called "this Licence"). Each
37 licencee is addressed as "you".
38
39 A "library" means a collection of software functions and/or data
40 prepared so as to be conveniently linked with application
41 programs (which use some of those functions and data) to form
42 executables.
43
44 The "Library", below, refers to any such software library or
45 work which has been distributed under these terms. A "work
46 based on the Library" means either the Library or any derivative
47 work under copyright law: that is to say, a work containing the
48 Library or a portion of it, either verbatim or with
49 modifications and/or translated straightforwardly into another
50 language. (Hereinafter, translation is included without
51 limitation in the term "modification".)
52
53 "Source code" for a work means the preferred form of the work
54 for making modifications to it. For a library, complete source
55 code means all the source code for all modules it contains, plus
56 any associated interface definition files, plus the scripts used
57 to control compilation and installation of the library.
58
59 Activities other than copying, distribution and modification are
60 not covered by this Licence; they are outside its scope. The act
61 of running a program using the Library is not restricted, and
62 output from such a program is covered only if its contents
63 constitute a work based on the Library (independent of the use
64 of the Library in a tool for writing it). Whether that is true
65 depends on what the Library does and what the program that uses
66 the Library does.
67
68 2. You may copy and distribute verbatim copies of the Library's
69 complete source code as you receive it, in any medium, provided
70 that you conspicuously and appropriately publish on each copy an
71 appropriate copyright notice and disclaimer of warranty; keep
72 intact all the notices that refer to this Licence and to the
73 absence of any warranty; and distribute a copy of this Licence
74 along with the Library.
75
76 You may charge a fee for the physical act of transferring a
77 copy, and you may at your option offer warranty protection in
78 exchange for a fee.
79
80 3. You may modify your copy or copies of the Library or any
81 portion of it, thus forming a work based on the Library, and
82 copy and distribute such modifications or work under the terms
83 of Section 1 above, provided that you cause the files modified
84 to carry prominent notices stating that you changed the files
85 and the date of any change. With agreement from the authors of
86 wxWindows, you may charge for value added to the Library, for
87 example, a commercially supported version, or a port to a new
88 platform. It is expected that collaboration between such
89 commercial interests and the free wxWindows community will yield
90 benefits to both parties, since wxWindows represents a
91 substantial investment of time and effort. It is not in the
92 spirit of this agreement that commercial exploitation of
93 wxWindows should in any way detract from the free version.
94
95 4. You may copy and distribute the Library in object code or
96 derived library form under the terms of Sections 1 and 2 above
97 provided that you accompany it with the complete corresponding
98 machine-readable source code.
99
100 If distribution of object code is made by offering access to
101 copy from a designated place, then offering equivalent access to
102 copy the source code from the same place satisfies the
103 requirement to distribute the source code, even though third
104 parties are not compelled to copy the source along with the
105 object code.
106
107 5. You may not copy, modify, sublicence, link with, or
108 distribute the Library except as expressly provided under this
109 Licence. Any attempt otherwise to copy, modify, sublicence,
110 link with, or distribute the Library is void, and will
111 automatically terminate your rights under this Licence.
112 However, parties who have received copies, or rights, from you
113 under this Licence will not have their licences terminated so
114 long as such parties remain in full compliance.
115
116 6. You are not required to accept this Licence, since you have
117 not signed it. However, nothing else grants you permission to
118 modify or distribute the Library or its derivative works. These
119 actions are prohibited by law if you do not accept this Licence.
120 Therefore, by modifying or distributing the Library (or any work
121 based on the Library), you indicate your acceptance of this
122 Licence to do so, and all its terms and conditions for copying,
123 distributing or modifying the Library or works based on it.
124
125 7. Each time you redistribute the Library (or any work based on
126 the Library), the recipient automatically receives a licence
127 from the original licensor to copy, distribute, link with or
128 modify the Library subject to these terms and conditions. You
129 may not impose any further restrictions on the recipients'
130 exercise of the rights granted herein. You are not responsible
131 for enforcing compliance by third parties to this Licence.
132
133 8. If, as a consequence of a court judgment or allegation of
134 patent infringement or for any other reason (not limited to
135 patent issues), conditions are imposed on you (whether by court
136 order, agreement or otherwise) that contradict the conditions of
137 this Licence, they do not excuse you from the conditions of this
138 Licence. If you cannot distribute so as to satisfy
139 simultaneously your obligations under this Licence and any other
140 pertinent obligations, then as a consequence you may not
141 distribute the Library at all. For example, if a patent licence
142 would not permit royalty-free redistribution of the Library by
143 all those who receive copies directly or indirectly through you,
144 then the only way you could satisfy both it and this Licence
145 would be to refrain entirely from distribution of the Library.
146
147 If any portion of this section is held invalid or unenforceable
148 under any particular circumstance, the balance of the section is
149 intended to apply, and the section as a whole is intended to
150 apply in other circumstances.
151
152 It is not the purpose of this section to induce you to infringe
153 any patents or other property right claims or to contest
154 validity of any such claims; this section has the sole purpose
155 of protecting the integrity of the free software distribution
156 system which is implemented by public licence practices. Many
157 people have made generous contributions to the wide range of
158 software distributed through that system in reliance on
159 consistent application of that system; it is up to the
160 author/donor to decide if he or she is willing to distribute
161 software through any other system and a licencee cannot impose
162 that choice.
163
164 This section is intended to make thoroughly clear what is
165 believed to be a consequence of the rest of this Licence.
166
167 9. If the distribution and/or use of the Library is restricted
168 in certain countries either by patents or by copyrighted
169 interfaces, the original copyright holder who places the Library
170 under this Licence may add an explicit geographical distribution
171 limitation excluding those countries, so that distribution is
172 permitted only in or among countries not thus excluded. In such
173 case, this Licence incorporates the limitation as if written in
174 the body of this Licence.
175
176 10. The authors of wxWindows may publish revised and/or new
177 versions of the wxWindows Licence from time to time. Such new
178 versions will be similar in spirit to the present version, but
179 may differ in detail to address new problems or concerns.
180
181 Each version is given a distinguishing version number. If the
182 Library specifies a version number of this Licence which applies
183 to it and "any later version", you have the option of following
184 the terms and conditions either of that version or of any later
185 version published by the wxWindows authors. If the Library does
186 not specify a licence version number, you may choose any version
187 ever published by the wxWindows authors.
188
189 11. If you wish to incorporate parts of the Library into other
190 free programs whose distribution conditions are incompatible
191 with these, write to the program author to ask for permission.
192 For software which is copyrighted by the wxWindows authors,
193 write to the wxWindows authors. Our decision will be guided by
194 the two goals of preserving the free status of all derivatives
195 of our free software and of promoting the sharing and reuse of
196 software generally.
197
198 NO WARRANTY
199 -----------
200
201 12. BECAUSE THE LIBRARY IS LICENCED FREE OF CHARGE, THERE IS NO
202 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE
203 LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
204 HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT
205 WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
206 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
207 AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
208 QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE
209 LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
210 SERVICING, REPAIR OR CORRECTION.
211
212 13. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO
213 IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
214 MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE
215 LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
216 INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
217 INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS
218 OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
219 YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH
220 ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
221 ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
222
223 END OF TERMS AND CONDITIONS
224